vendor.js 778 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],{
  2. /***/ 1:
  3. /*!*********************************************************!*\
  4. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  5. \*********************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(exports, "__esModule", {
  10. value: true
  11. });
  12. exports.default = void 0;
  13. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet', '__webpack_require_UNI_MP_PLUGIN__'];
  14. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  15. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  16. return this;
  17. }();
  18. var key = ['w', 'x'].join('');
  19. var oldWx = target[key];
  20. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  21. function isWxKey(key) {
  22. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  23. return false;
  24. }
  25. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  26. }
  27. function initWx() {
  28. var newWx = {};
  29. for (var _key in oldWx) {
  30. if (isWxKey(_key)) {
  31. // TODO wrapper function
  32. newWx[_key] = oldWx[_key];
  33. }
  34. }
  35. return newWx;
  36. }
  37. target[key] = initWx();
  38. var _default = target[key];
  39. exports.default = _default;
  40. /***/ }),
  41. /***/ 10:
  42. /*!****************************************************************!*\
  43. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  44. \****************************************************************/
  45. /*! no static exports found */
  46. /***/ (function(module, exports) {
  47. function _nonIterableRest() {
  48. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  49. }
  50. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  51. /***/ }),
  52. /***/ 11:
  53. /*!***************************************************************!*\
  54. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  55. \***************************************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  59. function _defineProperty(obj, key, value) {
  60. key = toPropertyKey(key);
  61. if (key in obj) {
  62. Object.defineProperty(obj, key, {
  63. value: value,
  64. enumerable: true,
  65. configurable: true,
  66. writable: true
  67. });
  68. } else {
  69. obj[key] = value;
  70. }
  71. return obj;
  72. }
  73. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  74. /***/ }),
  75. /***/ 12:
  76. /*!**************************************************************!*\
  77. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  78. \**************************************************************/
  79. /*! no static exports found */
  80. /***/ (function(module, exports, __webpack_require__) {
  81. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  82. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  83. function _toPropertyKey(arg) {
  84. var key = toPrimitive(arg, "string");
  85. return _typeof(key) === "symbol" ? key : String(key);
  86. }
  87. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  88. /***/ }),
  89. /***/ 13:
  90. /*!*******************************************************!*\
  91. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  92. \*******************************************************/
  93. /*! no static exports found */
  94. /***/ (function(module, exports) {
  95. function _typeof(obj) {
  96. "@babel/helpers - typeof";
  97. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  98. return typeof obj;
  99. } : function (obj) {
  100. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  101. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  102. }
  103. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  104. /***/ }),
  105. /***/ 14:
  106. /*!************************************************************!*\
  107. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  108. \************************************************************/
  109. /*! no static exports found */
  110. /***/ (function(module, exports, __webpack_require__) {
  111. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  112. function _toPrimitive(input, hint) {
  113. if (_typeof(input) !== "object" || input === null) return input;
  114. var prim = input[Symbol.toPrimitive];
  115. if (prim !== undefined) {
  116. var res = prim.call(input, hint || "default");
  117. if (_typeof(res) !== "object") return res;
  118. throw new TypeError("@@toPrimitive must return a primitive value.");
  119. }
  120. return (hint === "string" ? String : Number)(input);
  121. }
  122. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  123. /***/ }),
  124. /***/ 15:
  125. /*!**********************************************************!*\
  126. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  127. \**********************************************************/
  128. /*! no static exports found */
  129. /***/ (function(module, exports, __webpack_require__) {
  130. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  131. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  132. function _construct(Parent, args, Class) {
  133. if (isNativeReflectConstruct()) {
  134. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  135. } else {
  136. module.exports = _construct = function _construct(Parent, args, Class) {
  137. var a = [null];
  138. a.push.apply(a, args);
  139. var Constructor = Function.bind.apply(Parent, a);
  140. var instance = new Constructor();
  141. if (Class) setPrototypeOf(instance, Class.prototype);
  142. return instance;
  143. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  144. }
  145. return _construct.apply(null, arguments);
  146. }
  147. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  148. /***/ }),
  149. /***/ 16:
  150. /*!***************************************************************!*\
  151. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  152. \***************************************************************/
  153. /*! no static exports found */
  154. /***/ (function(module, exports) {
  155. function _setPrototypeOf(o, p) {
  156. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  157. o.__proto__ = p;
  158. return o;
  159. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  160. return _setPrototypeOf(o, p);
  161. }
  162. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  163. /***/ }),
  164. /***/ 17:
  165. /*!*************************************************************************!*\
  166. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  167. \*************************************************************************/
  168. /*! no static exports found */
  169. /***/ (function(module, exports) {
  170. function _isNativeReflectConstruct() {
  171. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  172. if (Reflect.construct.sham) return false;
  173. if (typeof Proxy === "function") return true;
  174. try {
  175. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  176. return true;
  177. } catch (e) {
  178. return false;
  179. }
  180. }
  181. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  182. /***/ }),
  183. /***/ 18:
  184. /*!******************************************************************!*\
  185. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  186. \******************************************************************/
  187. /*! no static exports found */
  188. /***/ (function(module, exports, __webpack_require__) {
  189. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  190. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  191. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  192. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  193. function _toConsumableArray(arr) {
  194. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  195. }
  196. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  197. /***/ }),
  198. /***/ 19:
  199. /*!******************************************************************!*\
  200. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  201. \******************************************************************/
  202. /*! no static exports found */
  203. /***/ (function(module, exports, __webpack_require__) {
  204. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  205. function _arrayWithoutHoles(arr) {
  206. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  207. }
  208. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  209. /***/ }),
  210. /***/ 2:
  211. /*!************************************************************!*\
  212. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  213. \************************************************************/
  214. /*! no static exports found */
  215. /***/ (function(module, exports, __webpack_require__) {
  216. "use strict";
  217. /* WEBPACK VAR INJECTION */(function(wx, global) {
  218. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  219. Object.defineProperty(exports, "__esModule", {
  220. value: true
  221. });
  222. exports.createApp = createApp;
  223. exports.createComponent = createComponent;
  224. exports.createPage = createPage;
  225. exports.createPlugin = createPlugin;
  226. exports.createSubpackageApp = createSubpackageApp;
  227. exports.default = void 0;
  228. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  229. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  230. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  231. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  232. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  233. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  234. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  235. 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; }
  236. 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; }
  237. var realAtob;
  238. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  239. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  240. if (typeof atob !== 'function') {
  241. realAtob = function realAtob(str) {
  242. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  243. if (!b64re.test(str)) {
  244. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  245. }
  246. // Adding the padding if missing, for semplicity
  247. str += '=='.slice(2 - (str.length & 3));
  248. var bitmap;
  249. var result = '';
  250. var r1;
  251. var r2;
  252. var i = 0;
  253. for (; i < str.length;) {
  254. 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++)));
  255. 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);
  256. }
  257. return result;
  258. };
  259. } else {
  260. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  261. realAtob = atob;
  262. }
  263. function b64DecodeUnicode(str) {
  264. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  265. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  266. }).join(''));
  267. }
  268. function getCurrentUserInfo() {
  269. var token = wx.getStorageSync('uni_id_token') || '';
  270. var tokenArr = token.split('.');
  271. if (!token || tokenArr.length !== 3) {
  272. return {
  273. uid: null,
  274. role: [],
  275. permission: [],
  276. tokenExpired: 0
  277. };
  278. }
  279. var userInfo;
  280. try {
  281. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  282. } catch (error) {
  283. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  284. }
  285. userInfo.tokenExpired = userInfo.exp * 1000;
  286. delete userInfo.exp;
  287. delete userInfo.iat;
  288. return userInfo;
  289. }
  290. function uniIdMixin(Vue) {
  291. Vue.prototype.uniIDHasRole = function (roleId) {
  292. var _getCurrentUserInfo = getCurrentUserInfo(),
  293. role = _getCurrentUserInfo.role;
  294. return role.indexOf(roleId) > -1;
  295. };
  296. Vue.prototype.uniIDHasPermission = function (permissionId) {
  297. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  298. permission = _getCurrentUserInfo2.permission;
  299. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  300. };
  301. Vue.prototype.uniIDTokenValid = function () {
  302. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  303. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  304. return tokenExpired > Date.now();
  305. };
  306. }
  307. var _toString = Object.prototype.toString;
  308. var hasOwnProperty = Object.prototype.hasOwnProperty;
  309. function isFn(fn) {
  310. return typeof fn === 'function';
  311. }
  312. function isStr(str) {
  313. return typeof str === 'string';
  314. }
  315. function isObject(obj) {
  316. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  317. }
  318. function isPlainObject(obj) {
  319. return _toString.call(obj) === '[object Object]';
  320. }
  321. function hasOwn(obj, key) {
  322. return hasOwnProperty.call(obj, key);
  323. }
  324. function noop() {}
  325. /**
  326. * Create a cached version of a pure function.
  327. */
  328. function cached(fn) {
  329. var cache = Object.create(null);
  330. return function cachedFn(str) {
  331. var hit = cache[str];
  332. return hit || (cache[str] = fn(str));
  333. };
  334. }
  335. /**
  336. * Camelize a hyphen-delimited string.
  337. */
  338. var camelizeRE = /-(\w)/g;
  339. var camelize = cached(function (str) {
  340. return str.replace(camelizeRE, function (_, c) {
  341. return c ? c.toUpperCase() : '';
  342. });
  343. });
  344. function sortObject(obj) {
  345. var sortObj = {};
  346. if (isPlainObject(obj)) {
  347. Object.keys(obj).sort().forEach(function (key) {
  348. sortObj[key] = obj[key];
  349. });
  350. }
  351. return !Object.keys(sortObj) ? obj : sortObj;
  352. }
  353. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  354. var globalInterceptors = {};
  355. var scopedInterceptors = {};
  356. function mergeHook(parentVal, childVal) {
  357. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  358. return res ? dedupeHooks(res) : res;
  359. }
  360. function dedupeHooks(hooks) {
  361. var res = [];
  362. for (var i = 0; i < hooks.length; i++) {
  363. if (res.indexOf(hooks[i]) === -1) {
  364. res.push(hooks[i]);
  365. }
  366. }
  367. return res;
  368. }
  369. function removeHook(hooks, hook) {
  370. var index = hooks.indexOf(hook);
  371. if (index !== -1) {
  372. hooks.splice(index, 1);
  373. }
  374. }
  375. function mergeInterceptorHook(interceptor, option) {
  376. Object.keys(option).forEach(function (hook) {
  377. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  378. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  379. }
  380. });
  381. }
  382. function removeInterceptorHook(interceptor, option) {
  383. if (!interceptor || !option) {
  384. return;
  385. }
  386. Object.keys(option).forEach(function (hook) {
  387. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  388. removeHook(interceptor[hook], option[hook]);
  389. }
  390. });
  391. }
  392. function addInterceptor(method, option) {
  393. if (typeof method === 'string' && isPlainObject(option)) {
  394. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  395. } else if (isPlainObject(method)) {
  396. mergeInterceptorHook(globalInterceptors, method);
  397. }
  398. }
  399. function removeInterceptor(method, option) {
  400. if (typeof method === 'string') {
  401. if (isPlainObject(option)) {
  402. removeInterceptorHook(scopedInterceptors[method], option);
  403. } else {
  404. delete scopedInterceptors[method];
  405. }
  406. } else if (isPlainObject(method)) {
  407. removeInterceptorHook(globalInterceptors, method);
  408. }
  409. }
  410. function wrapperHook(hook, params) {
  411. return function (data) {
  412. return hook(data, params) || data;
  413. };
  414. }
  415. function isPromise(obj) {
  416. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  417. }
  418. function queue(hooks, data, params) {
  419. var promise = false;
  420. for (var i = 0; i < hooks.length; i++) {
  421. var hook = hooks[i];
  422. if (promise) {
  423. promise = Promise.resolve(wrapperHook(hook, params));
  424. } else {
  425. var res = hook(data, params);
  426. if (isPromise(res)) {
  427. promise = Promise.resolve(res);
  428. }
  429. if (res === false) {
  430. return {
  431. then: function then() {}
  432. };
  433. }
  434. }
  435. }
  436. return promise || {
  437. then: function then(callback) {
  438. return callback(data);
  439. }
  440. };
  441. }
  442. function wrapperOptions(interceptor) {
  443. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  444. ['success', 'fail', 'complete'].forEach(function (name) {
  445. if (Array.isArray(interceptor[name])) {
  446. var oldCallback = options[name];
  447. options[name] = function callbackInterceptor(res) {
  448. queue(interceptor[name], res, options).then(function (res) {
  449. /* eslint-disable no-mixed-operators */
  450. return isFn(oldCallback) && oldCallback(res) || res;
  451. });
  452. };
  453. }
  454. });
  455. return options;
  456. }
  457. function wrapperReturnValue(method, returnValue) {
  458. var returnValueHooks = [];
  459. if (Array.isArray(globalInterceptors.returnValue)) {
  460. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  461. }
  462. var interceptor = scopedInterceptors[method];
  463. if (interceptor && Array.isArray(interceptor.returnValue)) {
  464. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  465. }
  466. returnValueHooks.forEach(function (hook) {
  467. returnValue = hook(returnValue) || returnValue;
  468. });
  469. return returnValue;
  470. }
  471. function getApiInterceptorHooks(method) {
  472. var interceptor = Object.create(null);
  473. Object.keys(globalInterceptors).forEach(function (hook) {
  474. if (hook !== 'returnValue') {
  475. interceptor[hook] = globalInterceptors[hook].slice();
  476. }
  477. });
  478. var scopedInterceptor = scopedInterceptors[method];
  479. if (scopedInterceptor) {
  480. Object.keys(scopedInterceptor).forEach(function (hook) {
  481. if (hook !== 'returnValue') {
  482. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  483. }
  484. });
  485. }
  486. return interceptor;
  487. }
  488. function invokeApi(method, api, options) {
  489. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  490. params[_key - 3] = arguments[_key];
  491. }
  492. var interceptor = getApiInterceptorHooks(method);
  493. if (interceptor && Object.keys(interceptor).length) {
  494. if (Array.isArray(interceptor.invoke)) {
  495. var res = queue(interceptor.invoke, options);
  496. return res.then(function (options) {
  497. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  498. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  499. });
  500. } else {
  501. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  502. }
  503. }
  504. return api.apply(void 0, [options].concat(params));
  505. }
  506. var promiseInterceptor = {
  507. returnValue: function returnValue(res) {
  508. if (!isPromise(res)) {
  509. return res;
  510. }
  511. return new Promise(function (resolve, reject) {
  512. res.then(function (res) {
  513. if (res[0]) {
  514. reject(res[0]);
  515. } else {
  516. resolve(res[1]);
  517. }
  518. });
  519. });
  520. }
  521. };
  522. 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/;
  523. var CONTEXT_API_RE = /^create|Manager$/;
  524. // Context例外情况
  525. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  526. // 同步例外情况
  527. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  528. var CALLBACK_API_RE = /^on|^off/;
  529. function isContextApi(name) {
  530. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  531. }
  532. function isSyncApi(name) {
  533. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  534. }
  535. function isCallbackApi(name) {
  536. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  537. }
  538. function handlePromise(promise) {
  539. return promise.then(function (data) {
  540. return [null, data];
  541. }).catch(function (err) {
  542. return [err];
  543. });
  544. }
  545. function shouldPromise(name) {
  546. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  547. return false;
  548. }
  549. return true;
  550. }
  551. /* eslint-disable no-extend-native */
  552. if (!Promise.prototype.finally) {
  553. Promise.prototype.finally = function (callback) {
  554. var promise = this.constructor;
  555. return this.then(function (value) {
  556. return promise.resolve(callback()).then(function () {
  557. return value;
  558. });
  559. }, function (reason) {
  560. return promise.resolve(callback()).then(function () {
  561. throw reason;
  562. });
  563. });
  564. };
  565. }
  566. function promisify(name, api) {
  567. if (!shouldPromise(name) || !isFn(api)) {
  568. return api;
  569. }
  570. return function promiseApi() {
  571. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  572. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  573. params[_key2 - 1] = arguments[_key2];
  574. }
  575. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  576. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  577. }
  578. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  579. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  580. success: resolve,
  581. fail: reject
  582. })].concat(params));
  583. })));
  584. };
  585. }
  586. var EPS = 1e-4;
  587. var BASE_DEVICE_WIDTH = 750;
  588. var isIOS = false;
  589. var deviceWidth = 0;
  590. var deviceDPR = 0;
  591. function checkDeviceWidth() {
  592. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  593. platform = _wx$getSystemInfoSync.platform,
  594. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  595. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  596. deviceWidth = windowWidth;
  597. deviceDPR = pixelRatio;
  598. isIOS = platform === 'ios';
  599. }
  600. function upx2px(number, newDeviceWidth) {
  601. if (deviceWidth === 0) {
  602. checkDeviceWidth();
  603. }
  604. number = Number(number);
  605. if (number === 0) {
  606. return 0;
  607. }
  608. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  609. if (result < 0) {
  610. result = -result;
  611. }
  612. result = Math.floor(result + EPS);
  613. if (result === 0) {
  614. if (deviceDPR === 1 || !isIOS) {
  615. result = 1;
  616. } else {
  617. result = 0.5;
  618. }
  619. }
  620. return number < 0 ? -result : result;
  621. }
  622. var LOCALE_ZH_HANS = 'zh-Hans';
  623. var LOCALE_ZH_HANT = 'zh-Hant';
  624. var LOCALE_EN = 'en';
  625. var LOCALE_FR = 'fr';
  626. var LOCALE_ES = 'es';
  627. var messages = {};
  628. var locale;
  629. {
  630. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  631. }
  632. function initI18nMessages() {
  633. if (!isEnableLocale()) {
  634. return;
  635. }
  636. var localeKeys = Object.keys(__uniConfig.locales);
  637. if (localeKeys.length) {
  638. localeKeys.forEach(function (locale) {
  639. var curMessages = messages[locale];
  640. var userMessages = __uniConfig.locales[locale];
  641. if (curMessages) {
  642. Object.assign(curMessages, userMessages);
  643. } else {
  644. messages[locale] = userMessages;
  645. }
  646. });
  647. }
  648. }
  649. initI18nMessages();
  650. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  651. var t = i18n.t;
  652. var i18nMixin = i18n.mixin = {
  653. beforeCreate: function beforeCreate() {
  654. var _this = this;
  655. var unwatch = i18n.i18n.watchLocale(function () {
  656. _this.$forceUpdate();
  657. });
  658. this.$once('hook:beforeDestroy', function () {
  659. unwatch();
  660. });
  661. },
  662. methods: {
  663. $$t: function $$t(key, values) {
  664. return t(key, values);
  665. }
  666. }
  667. };
  668. var setLocale = i18n.setLocale;
  669. var getLocale = i18n.getLocale;
  670. function initAppLocale(Vue, appVm, locale) {
  671. var state = Vue.observable({
  672. locale: locale || i18n.getLocale()
  673. });
  674. var localeWatchers = [];
  675. appVm.$watchLocale = function (fn) {
  676. localeWatchers.push(fn);
  677. };
  678. Object.defineProperty(appVm, '$locale', {
  679. get: function get() {
  680. return state.locale;
  681. },
  682. set: function set(v) {
  683. state.locale = v;
  684. localeWatchers.forEach(function (watch) {
  685. return watch(v);
  686. });
  687. }
  688. });
  689. }
  690. function isEnableLocale() {
  691. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  692. }
  693. function include(str, parts) {
  694. return !!parts.find(function (part) {
  695. return str.indexOf(part) !== -1;
  696. });
  697. }
  698. function startsWith(str, parts) {
  699. return parts.find(function (part) {
  700. return str.indexOf(part) === 0;
  701. });
  702. }
  703. function normalizeLocale(locale, messages) {
  704. if (!locale) {
  705. return;
  706. }
  707. locale = locale.trim().replace(/_/g, '-');
  708. if (messages && messages[locale]) {
  709. return locale;
  710. }
  711. locale = locale.toLowerCase();
  712. if (locale === 'chinese') {
  713. // 支付宝
  714. return LOCALE_ZH_HANS;
  715. }
  716. if (locale.indexOf('zh') === 0) {
  717. if (locale.indexOf('-hans') > -1) {
  718. return LOCALE_ZH_HANS;
  719. }
  720. if (locale.indexOf('-hant') > -1) {
  721. return LOCALE_ZH_HANT;
  722. }
  723. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  724. return LOCALE_ZH_HANT;
  725. }
  726. return LOCALE_ZH_HANS;
  727. }
  728. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  729. if (lang) {
  730. return lang;
  731. }
  732. }
  733. // export function initI18n() {
  734. // const localeKeys = Object.keys(__uniConfig.locales || {})
  735. // if (localeKeys.length) {
  736. // localeKeys.forEach((locale) =>
  737. // i18n.add(locale, __uniConfig.locales[locale])
  738. // )
  739. // }
  740. // }
  741. function getLocale$1() {
  742. // 优先使用 $locale
  743. if (isFn(getApp)) {
  744. var app = getApp({
  745. allowDefault: true
  746. });
  747. if (app && app.$vm) {
  748. return app.$vm.$locale;
  749. }
  750. }
  751. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  752. }
  753. function setLocale$1(locale) {
  754. var app = isFn(getApp) ? getApp() : false;
  755. if (!app) {
  756. return false;
  757. }
  758. var oldLocale = app.$vm.$locale;
  759. if (oldLocale !== locale) {
  760. app.$vm.$locale = locale;
  761. onLocaleChangeCallbacks.forEach(function (fn) {
  762. return fn({
  763. locale: locale
  764. });
  765. });
  766. return true;
  767. }
  768. return false;
  769. }
  770. var onLocaleChangeCallbacks = [];
  771. function onLocaleChange(fn) {
  772. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  773. onLocaleChangeCallbacks.push(fn);
  774. }
  775. }
  776. if (typeof global !== 'undefined') {
  777. global.getLocale = getLocale$1;
  778. }
  779. var interceptors = {
  780. promiseInterceptor: promiseInterceptor
  781. };
  782. var baseApi = /*#__PURE__*/Object.freeze({
  783. __proto__: null,
  784. upx2px: upx2px,
  785. getLocale: getLocale$1,
  786. setLocale: setLocale$1,
  787. onLocaleChange: onLocaleChange,
  788. addInterceptor: addInterceptor,
  789. removeInterceptor: removeInterceptor,
  790. interceptors: interceptors
  791. });
  792. function findExistsPageIndex(url) {
  793. var pages = getCurrentPages();
  794. var len = pages.length;
  795. while (len--) {
  796. var page = pages[len];
  797. if (page.$page && page.$page.fullPath === url) {
  798. return len;
  799. }
  800. }
  801. return -1;
  802. }
  803. var redirectTo = {
  804. name: function name(fromArgs) {
  805. if (fromArgs.exists === 'back' && fromArgs.delta) {
  806. return 'navigateBack';
  807. }
  808. return 'redirectTo';
  809. },
  810. args: function args(fromArgs) {
  811. if (fromArgs.exists === 'back' && fromArgs.url) {
  812. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  813. if (existsPageIndex !== -1) {
  814. var delta = getCurrentPages().length - 1 - existsPageIndex;
  815. if (delta > 0) {
  816. fromArgs.delta = delta;
  817. }
  818. }
  819. }
  820. }
  821. };
  822. var previewImage = {
  823. args: function args(fromArgs) {
  824. var currentIndex = parseInt(fromArgs.current);
  825. if (isNaN(currentIndex)) {
  826. return;
  827. }
  828. var urls = fromArgs.urls;
  829. if (!Array.isArray(urls)) {
  830. return;
  831. }
  832. var len = urls.length;
  833. if (!len) {
  834. return;
  835. }
  836. if (currentIndex < 0) {
  837. currentIndex = 0;
  838. } else if (currentIndex >= len) {
  839. currentIndex = len - 1;
  840. }
  841. if (currentIndex > 0) {
  842. fromArgs.current = urls[currentIndex];
  843. fromArgs.urls = urls.filter(function (item, index) {
  844. return index < currentIndex ? item !== urls[currentIndex] : true;
  845. });
  846. } else {
  847. fromArgs.current = urls[0];
  848. }
  849. return {
  850. indicator: false,
  851. loop: false
  852. };
  853. }
  854. };
  855. var UUID_KEY = '__DC_STAT_UUID';
  856. var deviceId;
  857. function useDeviceId(result) {
  858. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  859. if (!deviceId) {
  860. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  861. wx.setStorage({
  862. key: UUID_KEY,
  863. data: deviceId
  864. });
  865. }
  866. result.deviceId = deviceId;
  867. }
  868. function addSafeAreaInsets(result) {
  869. if (result.safeArea) {
  870. var safeArea = result.safeArea;
  871. result.safeAreaInsets = {
  872. top: safeArea.top,
  873. left: safeArea.left,
  874. right: result.windowWidth - safeArea.right,
  875. bottom: result.screenHeight - safeArea.bottom
  876. };
  877. }
  878. }
  879. function populateParameters(result) {
  880. var _result$brand = result.brand,
  881. brand = _result$brand === void 0 ? '' : _result$brand,
  882. _result$model = result.model,
  883. model = _result$model === void 0 ? '' : _result$model,
  884. _result$system = result.system,
  885. system = _result$system === void 0 ? '' : _result$system,
  886. _result$language = result.language,
  887. language = _result$language === void 0 ? '' : _result$language,
  888. theme = result.theme,
  889. version = result.version,
  890. platform = result.platform,
  891. fontSizeSetting = result.fontSizeSetting,
  892. SDKVersion = result.SDKVersion,
  893. pixelRatio = result.pixelRatio,
  894. deviceOrientation = result.deviceOrientation;
  895. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  896. var extraParam = {};
  897. // osName osVersion
  898. var osName = '';
  899. var osVersion = '';
  900. {
  901. osName = system.split(' ')[0] || '';
  902. osVersion = system.split(' ')[1] || '';
  903. }
  904. var hostVersion = version;
  905. // deviceType
  906. var deviceType = getGetDeviceType(result, model);
  907. // deviceModel
  908. var deviceBrand = getDeviceBrand(brand);
  909. // hostName
  910. var _hostName = getHostName(result);
  911. // deviceOrientation
  912. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  913. // devicePixelRatio
  914. var _devicePixelRatio = pixelRatio;
  915. // SDKVersion
  916. var _SDKVersion = SDKVersion;
  917. // hostLanguage
  918. var hostLanguage = language.replace(/_/g, '-');
  919. // wx.getAccountInfoSync
  920. var parameters = {
  921. appId: "__UNI__5FB7046",
  922. appName: "贞达市政工程",
  923. appVersion: "1.0.0",
  924. appVersionCode: "100",
  925. appLanguage: getAppLanguage(hostLanguage),
  926. uniCompileVersion: "3.8.12",
  927. uniRuntimeVersion: "3.8.12",
  928. uniPlatform: undefined || "mp-weixin",
  929. deviceBrand: deviceBrand,
  930. deviceModel: model,
  931. deviceType: deviceType,
  932. devicePixelRatio: _devicePixelRatio,
  933. deviceOrientation: _deviceOrientation,
  934. osName: osName.toLocaleLowerCase(),
  935. osVersion: osVersion,
  936. hostTheme: theme,
  937. hostVersion: hostVersion,
  938. hostLanguage: hostLanguage,
  939. hostName: _hostName,
  940. hostSDKVersion: _SDKVersion,
  941. hostFontSizeSetting: fontSizeSetting,
  942. windowTop: 0,
  943. windowBottom: 0,
  944. // TODO
  945. osLanguage: undefined,
  946. osTheme: undefined,
  947. ua: undefined,
  948. hostPackageName: undefined,
  949. browserName: undefined,
  950. browserVersion: undefined
  951. };
  952. Object.assign(result, parameters, extraParam);
  953. }
  954. function getGetDeviceType(result, model) {
  955. var deviceType = result.deviceType || 'phone';
  956. {
  957. var deviceTypeMaps = {
  958. ipad: 'pad',
  959. windows: 'pc',
  960. mac: 'pc'
  961. };
  962. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  963. var _model = model.toLocaleLowerCase();
  964. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  965. var _m = deviceTypeMapsKeys[index];
  966. if (_model.indexOf(_m) !== -1) {
  967. deviceType = deviceTypeMaps[_m];
  968. break;
  969. }
  970. }
  971. }
  972. return deviceType;
  973. }
  974. function getDeviceBrand(brand) {
  975. var deviceBrand = brand;
  976. if (deviceBrand) {
  977. deviceBrand = brand.toLocaleLowerCase();
  978. }
  979. return deviceBrand;
  980. }
  981. function getAppLanguage(defaultLanguage) {
  982. return getLocale$1 ? getLocale$1() : defaultLanguage;
  983. }
  984. function getHostName(result) {
  985. var _platform = 'WeChat';
  986. var _hostName = result.hostName || _platform; // mp-jd
  987. {
  988. if (result.environment) {
  989. _hostName = result.environment;
  990. } else if (result.host && result.host.env) {
  991. _hostName = result.host.env;
  992. }
  993. }
  994. return _hostName;
  995. }
  996. var getSystemInfo = {
  997. returnValue: function returnValue(result) {
  998. useDeviceId(result);
  999. addSafeAreaInsets(result);
  1000. populateParameters(result);
  1001. }
  1002. };
  1003. var showActionSheet = {
  1004. args: function args(fromArgs) {
  1005. if ((0, _typeof2.default)(fromArgs) === 'object') {
  1006. fromArgs.alertText = fromArgs.title;
  1007. }
  1008. }
  1009. };
  1010. var getAppBaseInfo = {
  1011. returnValue: function returnValue(result) {
  1012. var _result = result,
  1013. version = _result.version,
  1014. language = _result.language,
  1015. SDKVersion = _result.SDKVersion,
  1016. theme = _result.theme;
  1017. var _hostName = getHostName(result);
  1018. var hostLanguage = language.replace('_', '-');
  1019. result = sortObject(Object.assign(result, {
  1020. appId: "__UNI__5FB7046",
  1021. appName: "贞达市政工程",
  1022. appVersion: "1.0.0",
  1023. appVersionCode: "100",
  1024. appLanguage: getAppLanguage(hostLanguage),
  1025. hostVersion: version,
  1026. hostLanguage: hostLanguage,
  1027. hostName: _hostName,
  1028. hostSDKVersion: SDKVersion,
  1029. hostTheme: theme
  1030. }));
  1031. }
  1032. };
  1033. var getDeviceInfo = {
  1034. returnValue: function returnValue(result) {
  1035. var _result2 = result,
  1036. brand = _result2.brand,
  1037. model = _result2.model;
  1038. var deviceType = getGetDeviceType(result, model);
  1039. var deviceBrand = getDeviceBrand(brand);
  1040. useDeviceId(result);
  1041. result = sortObject(Object.assign(result, {
  1042. deviceType: deviceType,
  1043. deviceBrand: deviceBrand,
  1044. deviceModel: model
  1045. }));
  1046. }
  1047. };
  1048. var getWindowInfo = {
  1049. returnValue: function returnValue(result) {
  1050. addSafeAreaInsets(result);
  1051. result = sortObject(Object.assign(result, {
  1052. windowTop: 0,
  1053. windowBottom: 0
  1054. }));
  1055. }
  1056. };
  1057. var getAppAuthorizeSetting = {
  1058. returnValue: function returnValue(result) {
  1059. var locationReducedAccuracy = result.locationReducedAccuracy;
  1060. result.locationAccuracy = 'unsupported';
  1061. if (locationReducedAccuracy === true) {
  1062. result.locationAccuracy = 'reduced';
  1063. } else if (locationReducedAccuracy === false) {
  1064. result.locationAccuracy = 'full';
  1065. }
  1066. }
  1067. };
  1068. // import navigateTo from 'uni-helpers/navigate-to'
  1069. var compressImage = {
  1070. args: function args(fromArgs) {
  1071. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  1072. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  1073. fromArgs.compressHeight = fromArgs.compressedHeight;
  1074. }
  1075. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  1076. fromArgs.compressWidth = fromArgs.compressedWidth;
  1077. }
  1078. }
  1079. };
  1080. var protocols = {
  1081. redirectTo: redirectTo,
  1082. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  1083. previewImage: previewImage,
  1084. getSystemInfo: getSystemInfo,
  1085. getSystemInfoSync: getSystemInfo,
  1086. showActionSheet: showActionSheet,
  1087. getAppBaseInfo: getAppBaseInfo,
  1088. getDeviceInfo: getDeviceInfo,
  1089. getWindowInfo: getWindowInfo,
  1090. getAppAuthorizeSetting: getAppAuthorizeSetting,
  1091. compressImage: compressImage
  1092. };
  1093. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  1094. var canIUses = [];
  1095. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  1096. function processCallback(methodName, method, returnValue) {
  1097. return function (res) {
  1098. return method(processReturnValue(methodName, res, returnValue));
  1099. };
  1100. }
  1101. function processArgs(methodName, fromArgs) {
  1102. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  1103. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  1104. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  1105. if (isPlainObject(fromArgs)) {
  1106. // 一般 api 的参数解析
  1107. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  1108. if (isFn(argsOption)) {
  1109. argsOption = argsOption(fromArgs, toArgs) || {};
  1110. }
  1111. for (var key in fromArgs) {
  1112. if (hasOwn(argsOption, key)) {
  1113. var keyOption = argsOption[key];
  1114. if (isFn(keyOption)) {
  1115. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  1116. }
  1117. if (!keyOption) {
  1118. // 不支持的参数
  1119. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  1120. } else if (isStr(keyOption)) {
  1121. // 重写参数 key
  1122. toArgs[keyOption] = fromArgs[key];
  1123. } else if (isPlainObject(keyOption)) {
  1124. // {name:newName,value:value}可重新指定参数 key:value
  1125. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  1126. }
  1127. } else if (CALLBACKS.indexOf(key) !== -1) {
  1128. if (isFn(fromArgs[key])) {
  1129. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  1130. }
  1131. } else {
  1132. if (!keepFromArgs) {
  1133. toArgs[key] = fromArgs[key];
  1134. }
  1135. }
  1136. }
  1137. return toArgs;
  1138. } else if (isFn(fromArgs)) {
  1139. fromArgs = processCallback(methodName, fromArgs, returnValue);
  1140. }
  1141. return fromArgs;
  1142. }
  1143. function processReturnValue(methodName, res, returnValue) {
  1144. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  1145. if (isFn(protocols.returnValue)) {
  1146. // 处理通用 returnValue
  1147. res = protocols.returnValue(methodName, res);
  1148. }
  1149. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  1150. }
  1151. function wrapper(methodName, method) {
  1152. if (hasOwn(protocols, methodName)) {
  1153. var protocol = protocols[methodName];
  1154. if (!protocol) {
  1155. // 暂不支持的 api
  1156. return function () {
  1157. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  1158. };
  1159. }
  1160. return function (arg1, arg2) {
  1161. // 目前 api 最多两个参数
  1162. var options = protocol;
  1163. if (isFn(protocol)) {
  1164. options = protocol(arg1);
  1165. }
  1166. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  1167. var args = [arg1];
  1168. if (typeof arg2 !== 'undefined') {
  1169. args.push(arg2);
  1170. }
  1171. if (isFn(options.name)) {
  1172. methodName = options.name(arg1);
  1173. } else if (isStr(options.name)) {
  1174. methodName = options.name;
  1175. }
  1176. var returnValue = wx[methodName].apply(wx, args);
  1177. if (isSyncApi(methodName)) {
  1178. // 同步 api
  1179. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1180. }
  1181. return returnValue;
  1182. };
  1183. }
  1184. return method;
  1185. }
  1186. var todoApis = Object.create(null);
  1187. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1188. function createTodoApi(name) {
  1189. return function todoApi(_ref) {
  1190. var fail = _ref.fail,
  1191. complete = _ref.complete;
  1192. var res = {
  1193. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1194. };
  1195. isFn(fail) && fail(res);
  1196. isFn(complete) && complete(res);
  1197. };
  1198. }
  1199. TODOS.forEach(function (name) {
  1200. todoApis[name] = createTodoApi(name);
  1201. });
  1202. var providers = {
  1203. oauth: ['weixin'],
  1204. share: ['weixin'],
  1205. payment: ['wxpay'],
  1206. push: ['weixin']
  1207. };
  1208. function getProvider(_ref2) {
  1209. var service = _ref2.service,
  1210. success = _ref2.success,
  1211. fail = _ref2.fail,
  1212. complete = _ref2.complete;
  1213. var res = false;
  1214. if (providers[service]) {
  1215. res = {
  1216. errMsg: 'getProvider:ok',
  1217. service: service,
  1218. provider: providers[service]
  1219. };
  1220. isFn(success) && success(res);
  1221. } else {
  1222. res = {
  1223. errMsg: 'getProvider:fail service not found'
  1224. };
  1225. isFn(fail) && fail(res);
  1226. }
  1227. isFn(complete) && complete(res);
  1228. }
  1229. var extraApi = /*#__PURE__*/Object.freeze({
  1230. __proto__: null,
  1231. getProvider: getProvider
  1232. });
  1233. var getEmitter = function () {
  1234. var Emitter;
  1235. return function getUniEmitter() {
  1236. if (!Emitter) {
  1237. Emitter = new _vue.default();
  1238. }
  1239. return Emitter;
  1240. };
  1241. }();
  1242. function apply(ctx, method, args) {
  1243. return ctx[method].apply(ctx, args);
  1244. }
  1245. function $on() {
  1246. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1247. }
  1248. function $off() {
  1249. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1250. }
  1251. function $once() {
  1252. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1253. }
  1254. function $emit() {
  1255. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1256. }
  1257. var eventApi = /*#__PURE__*/Object.freeze({
  1258. __proto__: null,
  1259. $on: $on,
  1260. $off: $off,
  1261. $once: $once,
  1262. $emit: $emit
  1263. });
  1264. /**
  1265. * 框架内 try-catch
  1266. */
  1267. /**
  1268. * 开发者 try-catch
  1269. */
  1270. function tryCatch(fn) {
  1271. return function () {
  1272. try {
  1273. return fn.apply(fn, arguments);
  1274. } catch (e) {
  1275. // TODO
  1276. console.error(e);
  1277. }
  1278. };
  1279. }
  1280. function getApiCallbacks(params) {
  1281. var apiCallbacks = {};
  1282. for (var name in params) {
  1283. var param = params[name];
  1284. if (isFn(param)) {
  1285. apiCallbacks[name] = tryCatch(param);
  1286. delete params[name];
  1287. }
  1288. }
  1289. return apiCallbacks;
  1290. }
  1291. var cid;
  1292. var cidErrMsg;
  1293. var enabled;
  1294. function normalizePushMessage(message) {
  1295. try {
  1296. return JSON.parse(message);
  1297. } catch (e) {}
  1298. return message;
  1299. }
  1300. function invokePushCallback(args) {
  1301. if (args.type === 'enabled') {
  1302. enabled = true;
  1303. } else if (args.type === 'clientId') {
  1304. cid = args.cid;
  1305. cidErrMsg = args.errMsg;
  1306. invokeGetPushCidCallbacks(cid, args.errMsg);
  1307. } else if (args.type === 'pushMsg') {
  1308. var message = {
  1309. type: 'receive',
  1310. data: normalizePushMessage(args.message)
  1311. };
  1312. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1313. var callback = onPushMessageCallbacks[i];
  1314. callback(message);
  1315. // 该消息已被阻止
  1316. if (message.stopped) {
  1317. break;
  1318. }
  1319. }
  1320. } else if (args.type === 'click') {
  1321. onPushMessageCallbacks.forEach(function (callback) {
  1322. callback({
  1323. type: 'click',
  1324. data: normalizePushMessage(args.message)
  1325. });
  1326. });
  1327. }
  1328. }
  1329. var getPushCidCallbacks = [];
  1330. function invokeGetPushCidCallbacks(cid, errMsg) {
  1331. getPushCidCallbacks.forEach(function (callback) {
  1332. callback(cid, errMsg);
  1333. });
  1334. getPushCidCallbacks.length = 0;
  1335. }
  1336. function getPushClientId(args) {
  1337. if (!isPlainObject(args)) {
  1338. args = {};
  1339. }
  1340. var _getApiCallbacks = getApiCallbacks(args),
  1341. success = _getApiCallbacks.success,
  1342. fail = _getApiCallbacks.fail,
  1343. complete = _getApiCallbacks.complete;
  1344. var hasSuccess = isFn(success);
  1345. var hasFail = isFn(fail);
  1346. var hasComplete = isFn(complete);
  1347. Promise.resolve().then(function () {
  1348. if (typeof enabled === 'undefined') {
  1349. enabled = false;
  1350. cid = '';
  1351. cidErrMsg = 'uniPush is not enabled';
  1352. }
  1353. getPushCidCallbacks.push(function (cid, errMsg) {
  1354. var res;
  1355. if (cid) {
  1356. res = {
  1357. errMsg: 'getPushClientId:ok',
  1358. cid: cid
  1359. };
  1360. hasSuccess && success(res);
  1361. } else {
  1362. res = {
  1363. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1364. };
  1365. hasFail && fail(res);
  1366. }
  1367. hasComplete && complete(res);
  1368. });
  1369. if (typeof cid !== 'undefined') {
  1370. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1371. }
  1372. });
  1373. }
  1374. var onPushMessageCallbacks = [];
  1375. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1376. var onPushMessage = function onPushMessage(fn) {
  1377. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1378. onPushMessageCallbacks.push(fn);
  1379. }
  1380. };
  1381. var offPushMessage = function offPushMessage(fn) {
  1382. if (!fn) {
  1383. onPushMessageCallbacks.length = 0;
  1384. } else {
  1385. var index = onPushMessageCallbacks.indexOf(fn);
  1386. if (index > -1) {
  1387. onPushMessageCallbacks.splice(index, 1);
  1388. }
  1389. }
  1390. };
  1391. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1392. if (!baseInfo) {
  1393. baseInfo = wx.getSystemInfoSync();
  1394. }
  1395. var host = baseInfo ? baseInfo.host : null;
  1396. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1397. var api = /*#__PURE__*/Object.freeze({
  1398. __proto__: null,
  1399. shareVideoMessage: shareVideoMessage,
  1400. getPushClientId: getPushClientId,
  1401. onPushMessage: onPushMessage,
  1402. offPushMessage: offPushMessage,
  1403. invokePushCallback: invokePushCallback
  1404. });
  1405. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1406. function findVmByVueId(vm, vuePid) {
  1407. var $children = vm.$children;
  1408. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1409. for (var i = $children.length - 1; i >= 0; i--) {
  1410. var childVm = $children[i];
  1411. if (childVm.$scope._$vueId === vuePid) {
  1412. return childVm;
  1413. }
  1414. }
  1415. // 反向递归查找
  1416. var parentVm;
  1417. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1418. parentVm = findVmByVueId($children[_i], vuePid);
  1419. if (parentVm) {
  1420. return parentVm;
  1421. }
  1422. }
  1423. }
  1424. function initBehavior(options) {
  1425. return Behavior(options);
  1426. }
  1427. function isPage() {
  1428. return !!this.route;
  1429. }
  1430. function initRelation(detail) {
  1431. this.triggerEvent('__l', detail);
  1432. }
  1433. function selectAllComponents(mpInstance, selector, $refs) {
  1434. var components = mpInstance.selectAllComponents(selector) || [];
  1435. components.forEach(function (component) {
  1436. var ref = component.dataset.ref;
  1437. $refs[ref] = component.$vm || toSkip(component);
  1438. {
  1439. if (component.dataset.vueGeneric === 'scoped') {
  1440. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1441. selectAllComponents(scopedComponent, selector, $refs);
  1442. });
  1443. }
  1444. }
  1445. });
  1446. }
  1447. function syncRefs(refs, newRefs) {
  1448. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1449. var newKeys = Object.keys(newRefs);
  1450. newKeys.forEach(function (key) {
  1451. var oldValue = refs[key];
  1452. var newValue = newRefs[key];
  1453. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1454. return oldValue.includes(value);
  1455. })) {
  1456. return;
  1457. }
  1458. refs[key] = newValue;
  1459. oldKeys.delete(key);
  1460. });
  1461. oldKeys.forEach(function (key) {
  1462. delete refs[key];
  1463. });
  1464. return refs;
  1465. }
  1466. function initRefs(vm) {
  1467. var mpInstance = vm.$scope;
  1468. var refs = {};
  1469. Object.defineProperty(vm, '$refs', {
  1470. get: function get() {
  1471. var $refs = {};
  1472. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1473. // TODO 暂不考虑 for 中的 scoped
  1474. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1475. forComponents.forEach(function (component) {
  1476. var ref = component.dataset.ref;
  1477. if (!$refs[ref]) {
  1478. $refs[ref] = [];
  1479. }
  1480. $refs[ref].push(component.$vm || toSkip(component));
  1481. });
  1482. return syncRefs(refs, $refs);
  1483. }
  1484. });
  1485. }
  1486. function handleLink(event) {
  1487. var _ref3 = event.detail || event.value,
  1488. vuePid = _ref3.vuePid,
  1489. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1490. var parentVm;
  1491. if (vuePid) {
  1492. parentVm = findVmByVueId(this.$vm, vuePid);
  1493. }
  1494. if (!parentVm) {
  1495. parentVm = this.$vm;
  1496. }
  1497. vueOptions.parent = parentVm;
  1498. }
  1499. function markMPComponent(component) {
  1500. // 在 Vue 中标记为小程序组件
  1501. var IS_MP = '__v_isMPComponent';
  1502. Object.defineProperty(component, IS_MP, {
  1503. configurable: true,
  1504. enumerable: false,
  1505. value: true
  1506. });
  1507. return component;
  1508. }
  1509. function toSkip(obj) {
  1510. var OB = '__ob__';
  1511. var SKIP = '__v_skip';
  1512. if (isObject(obj) && Object.isExtensible(obj)) {
  1513. // 避免被 @vue/composition-api 观测
  1514. Object.defineProperty(obj, OB, {
  1515. configurable: true,
  1516. enumerable: false,
  1517. value: (0, _defineProperty2.default)({}, SKIP, true)
  1518. });
  1519. }
  1520. return obj;
  1521. }
  1522. var WORKLET_RE = /_(.*)_worklet_factory_/;
  1523. function initWorkletMethods(mpMethods, vueMethods) {
  1524. if (vueMethods) {
  1525. Object.keys(vueMethods).forEach(function (name) {
  1526. var matches = name.match(WORKLET_RE);
  1527. if (matches) {
  1528. var workletName = matches[1];
  1529. mpMethods[name] = vueMethods[name];
  1530. mpMethods[workletName] = vueMethods[workletName];
  1531. }
  1532. });
  1533. }
  1534. }
  1535. var MPPage = Page;
  1536. var MPComponent = Component;
  1537. var customizeRE = /:/g;
  1538. var customize = cached(function (str) {
  1539. return camelize(str.replace(customizeRE, '-'));
  1540. });
  1541. function initTriggerEvent(mpInstance) {
  1542. var oldTriggerEvent = mpInstance.triggerEvent;
  1543. var newTriggerEvent = function newTriggerEvent(event) {
  1544. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1545. args[_key3 - 1] = arguments[_key3];
  1546. }
  1547. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1548. if (this.$vm || this.dataset && this.dataset.comType) {
  1549. event = customize(event);
  1550. } else {
  1551. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1552. var newEvent = customize(event);
  1553. if (newEvent !== event) {
  1554. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1555. }
  1556. }
  1557. return oldTriggerEvent.apply(this, [event].concat(args));
  1558. };
  1559. try {
  1560. // 京东小程序 triggerEvent 为只读
  1561. mpInstance.triggerEvent = newTriggerEvent;
  1562. } catch (error) {
  1563. mpInstance._triggerEvent = newTriggerEvent;
  1564. }
  1565. }
  1566. function initHook(name, options, isComponent) {
  1567. var oldHook = options[name];
  1568. options[name] = function () {
  1569. markMPComponent(this);
  1570. initTriggerEvent(this);
  1571. if (oldHook) {
  1572. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1573. args[_key4] = arguments[_key4];
  1574. }
  1575. return oldHook.apply(this, args);
  1576. }
  1577. };
  1578. }
  1579. if (!MPPage.__$wrappered) {
  1580. MPPage.__$wrappered = true;
  1581. Page = function Page() {
  1582. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1583. initHook('onLoad', options);
  1584. return MPPage(options);
  1585. };
  1586. Page.after = MPPage.after;
  1587. Component = function Component() {
  1588. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1589. initHook('created', options);
  1590. return MPComponent(options);
  1591. };
  1592. }
  1593. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1594. function initMocks(vm, mocks) {
  1595. var mpInstance = vm.$mp[vm.mpType];
  1596. mocks.forEach(function (mock) {
  1597. if (hasOwn(mpInstance, mock)) {
  1598. vm[mock] = mpInstance[mock];
  1599. }
  1600. });
  1601. }
  1602. function hasHook(hook, vueOptions) {
  1603. if (!vueOptions) {
  1604. return true;
  1605. }
  1606. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1607. return true;
  1608. }
  1609. vueOptions = vueOptions.default || vueOptions;
  1610. if (isFn(vueOptions)) {
  1611. if (isFn(vueOptions.extendOptions[hook])) {
  1612. return true;
  1613. }
  1614. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1615. return true;
  1616. }
  1617. return false;
  1618. }
  1619. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1620. return true;
  1621. }
  1622. var mixins = vueOptions.mixins;
  1623. if (Array.isArray(mixins)) {
  1624. return !!mixins.find(function (mixin) {
  1625. return hasHook(hook, mixin);
  1626. });
  1627. }
  1628. }
  1629. function initHooks(mpOptions, hooks, vueOptions) {
  1630. hooks.forEach(function (hook) {
  1631. if (hasHook(hook, vueOptions)) {
  1632. mpOptions[hook] = function (args) {
  1633. return this.$vm && this.$vm.__call_hook(hook, args);
  1634. };
  1635. }
  1636. });
  1637. }
  1638. function initUnknownHooks(mpOptions, vueOptions) {
  1639. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1640. findHooks(vueOptions).forEach(function (hook) {
  1641. return initHook$1(mpOptions, hook, excludes);
  1642. });
  1643. }
  1644. function findHooks(vueOptions) {
  1645. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1646. if (vueOptions) {
  1647. Object.keys(vueOptions).forEach(function (name) {
  1648. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1649. hooks.push(name);
  1650. }
  1651. });
  1652. }
  1653. return hooks;
  1654. }
  1655. function initHook$1(mpOptions, hook, excludes) {
  1656. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1657. mpOptions[hook] = function (args) {
  1658. return this.$vm && this.$vm.__call_hook(hook, args);
  1659. };
  1660. }
  1661. }
  1662. function initVueComponent(Vue, vueOptions) {
  1663. vueOptions = vueOptions.default || vueOptions;
  1664. var VueComponent;
  1665. if (isFn(vueOptions)) {
  1666. VueComponent = vueOptions;
  1667. } else {
  1668. VueComponent = Vue.extend(vueOptions);
  1669. }
  1670. vueOptions = VueComponent.options;
  1671. return [VueComponent, vueOptions];
  1672. }
  1673. function initSlots(vm, vueSlots) {
  1674. if (Array.isArray(vueSlots) && vueSlots.length) {
  1675. var $slots = Object.create(null);
  1676. vueSlots.forEach(function (slotName) {
  1677. $slots[slotName] = true;
  1678. });
  1679. vm.$scopedSlots = vm.$slots = $slots;
  1680. }
  1681. }
  1682. function initVueIds(vueIds, mpInstance) {
  1683. vueIds = (vueIds || '').split(',');
  1684. var len = vueIds.length;
  1685. if (len === 1) {
  1686. mpInstance._$vueId = vueIds[0];
  1687. } else if (len === 2) {
  1688. mpInstance._$vueId = vueIds[0];
  1689. mpInstance._$vuePid = vueIds[1];
  1690. }
  1691. }
  1692. function initData(vueOptions, context) {
  1693. var data = vueOptions.data || {};
  1694. var methods = vueOptions.methods || {};
  1695. if (typeof data === 'function') {
  1696. try {
  1697. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1698. } catch (e) {
  1699. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1700. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1701. }
  1702. }
  1703. } else {
  1704. try {
  1705. // 对 data 格式化
  1706. data = JSON.parse(JSON.stringify(data));
  1707. } catch (e) {}
  1708. }
  1709. if (!isPlainObject(data)) {
  1710. data = {};
  1711. }
  1712. Object.keys(methods).forEach(function (methodName) {
  1713. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1714. data[methodName] = methods[methodName];
  1715. }
  1716. });
  1717. return data;
  1718. }
  1719. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1720. function createObserver(name) {
  1721. return function observer(newVal, oldVal) {
  1722. if (this.$vm) {
  1723. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1724. }
  1725. };
  1726. }
  1727. function initBehaviors(vueOptions, initBehavior) {
  1728. var vueBehaviors = vueOptions.behaviors;
  1729. var vueExtends = vueOptions.extends;
  1730. var vueMixins = vueOptions.mixins;
  1731. var vueProps = vueOptions.props;
  1732. if (!vueProps) {
  1733. vueOptions.props = vueProps = [];
  1734. }
  1735. var behaviors = [];
  1736. if (Array.isArray(vueBehaviors)) {
  1737. vueBehaviors.forEach(function (behavior) {
  1738. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1739. if (behavior === 'uni://form-field') {
  1740. if (Array.isArray(vueProps)) {
  1741. vueProps.push('name');
  1742. vueProps.push('value');
  1743. } else {
  1744. vueProps.name = {
  1745. type: String,
  1746. default: ''
  1747. };
  1748. vueProps.value = {
  1749. type: [String, Number, Boolean, Array, Object, Date],
  1750. default: ''
  1751. };
  1752. }
  1753. }
  1754. });
  1755. }
  1756. if (isPlainObject(vueExtends) && vueExtends.props) {
  1757. behaviors.push(initBehavior({
  1758. properties: initProperties(vueExtends.props, true)
  1759. }));
  1760. }
  1761. if (Array.isArray(vueMixins)) {
  1762. vueMixins.forEach(function (vueMixin) {
  1763. if (isPlainObject(vueMixin) && vueMixin.props) {
  1764. behaviors.push(initBehavior({
  1765. properties: initProperties(vueMixin.props, true)
  1766. }));
  1767. }
  1768. });
  1769. }
  1770. return behaviors;
  1771. }
  1772. function parsePropType(key, type, defaultValue, file) {
  1773. // [String]=>String
  1774. if (Array.isArray(type) && type.length === 1) {
  1775. return type[0];
  1776. }
  1777. return type;
  1778. }
  1779. function initProperties(props) {
  1780. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1781. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1782. var options = arguments.length > 3 ? arguments[3] : undefined;
  1783. var properties = {};
  1784. if (!isBehavior) {
  1785. properties.vueId = {
  1786. type: String,
  1787. value: ''
  1788. };
  1789. {
  1790. if (options.virtualHost) {
  1791. properties.virtualHostStyle = {
  1792. type: null,
  1793. value: ''
  1794. };
  1795. properties.virtualHostClass = {
  1796. type: null,
  1797. value: ''
  1798. };
  1799. }
  1800. }
  1801. // scopedSlotsCompiler auto
  1802. properties.scopedSlotsCompiler = {
  1803. type: String,
  1804. value: ''
  1805. };
  1806. properties.vueSlots = {
  1807. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1808. type: null,
  1809. value: [],
  1810. observer: function observer(newVal, oldVal) {
  1811. var $slots = Object.create(null);
  1812. newVal.forEach(function (slotName) {
  1813. $slots[slotName] = true;
  1814. });
  1815. this.setData({
  1816. $slots: $slots
  1817. });
  1818. }
  1819. };
  1820. }
  1821. if (Array.isArray(props)) {
  1822. // ['title']
  1823. props.forEach(function (key) {
  1824. properties[key] = {
  1825. type: null,
  1826. observer: createObserver(key)
  1827. };
  1828. });
  1829. } else if (isPlainObject(props)) {
  1830. // {title:{type:String,default:''},content:String}
  1831. Object.keys(props).forEach(function (key) {
  1832. var opts = props[key];
  1833. if (isPlainObject(opts)) {
  1834. // title:{type:String,default:''}
  1835. var value = opts.default;
  1836. if (isFn(value)) {
  1837. value = value();
  1838. }
  1839. opts.type = parsePropType(key, opts.type);
  1840. properties[key] = {
  1841. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1842. value: value,
  1843. observer: createObserver(key)
  1844. };
  1845. } else {
  1846. // content:String
  1847. var type = parsePropType(key, opts);
  1848. properties[key] = {
  1849. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1850. observer: createObserver(key)
  1851. };
  1852. }
  1853. });
  1854. }
  1855. return properties;
  1856. }
  1857. function wrapper$1(event) {
  1858. // TODO 又得兼容 mpvue 的 mp 对象
  1859. try {
  1860. event.mp = JSON.parse(JSON.stringify(event));
  1861. } catch (e) {}
  1862. event.stopPropagation = noop;
  1863. event.preventDefault = noop;
  1864. event.target = event.target || {};
  1865. if (!hasOwn(event, 'detail')) {
  1866. event.detail = {};
  1867. }
  1868. if (hasOwn(event, 'markerId')) {
  1869. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1870. event.detail.markerId = event.markerId;
  1871. }
  1872. if (isPlainObject(event.detail)) {
  1873. event.target = Object.assign({}, event.target, event.detail);
  1874. }
  1875. return event;
  1876. }
  1877. function getExtraValue(vm, dataPathsArray) {
  1878. var context = vm;
  1879. dataPathsArray.forEach(function (dataPathArray) {
  1880. var dataPath = dataPathArray[0];
  1881. var value = dataPathArray[2];
  1882. if (dataPath || typeof value !== 'undefined') {
  1883. // ['','',index,'disable']
  1884. var propPath = dataPathArray[1];
  1885. var valuePath = dataPathArray[3];
  1886. var vFor;
  1887. if (Number.isInteger(dataPath)) {
  1888. vFor = dataPath;
  1889. } else if (!dataPath) {
  1890. vFor = context;
  1891. } else if (typeof dataPath === 'string' && dataPath) {
  1892. if (dataPath.indexOf('#s#') === 0) {
  1893. vFor = dataPath.substr(3);
  1894. } else {
  1895. vFor = vm.__get_value(dataPath, context);
  1896. }
  1897. }
  1898. if (Number.isInteger(vFor)) {
  1899. context = value;
  1900. } else if (!propPath) {
  1901. context = vFor[value];
  1902. } else {
  1903. if (Array.isArray(vFor)) {
  1904. context = vFor.find(function (vForItem) {
  1905. return vm.__get_value(propPath, vForItem) === value;
  1906. });
  1907. } else if (isPlainObject(vFor)) {
  1908. context = Object.keys(vFor).find(function (vForKey) {
  1909. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1910. });
  1911. } else {
  1912. console.error('v-for 暂不支持循环数据:', vFor);
  1913. }
  1914. }
  1915. if (valuePath) {
  1916. context = vm.__get_value(valuePath, context);
  1917. }
  1918. }
  1919. });
  1920. return context;
  1921. }
  1922. function processEventExtra(vm, extra, event, __args__) {
  1923. var extraObj = {};
  1924. if (Array.isArray(extra) && extra.length) {
  1925. /**
  1926. *[
  1927. * ['data.items', 'data.id', item.data.id],
  1928. * ['metas', 'id', meta.id]
  1929. *],
  1930. *[
  1931. * ['data.items', 'data.id', item.data.id],
  1932. * ['metas', 'id', meta.id]
  1933. *],
  1934. *'test'
  1935. */
  1936. extra.forEach(function (dataPath, index) {
  1937. if (typeof dataPath === 'string') {
  1938. if (!dataPath) {
  1939. // model,prop.sync
  1940. extraObj['$' + index] = vm;
  1941. } else {
  1942. if (dataPath === '$event') {
  1943. // $event
  1944. extraObj['$' + index] = event;
  1945. } else if (dataPath === 'arguments') {
  1946. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1947. } else if (dataPath.indexOf('$event.') === 0) {
  1948. // $event.target.value
  1949. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1950. } else {
  1951. extraObj['$' + index] = vm.__get_value(dataPath);
  1952. }
  1953. }
  1954. } else {
  1955. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1956. }
  1957. });
  1958. }
  1959. return extraObj;
  1960. }
  1961. function getObjByArray(arr) {
  1962. var obj = {};
  1963. for (var i = 1; i < arr.length; i++) {
  1964. var element = arr[i];
  1965. obj[element[0]] = element[1];
  1966. }
  1967. return obj;
  1968. }
  1969. function processEventArgs(vm, event) {
  1970. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1971. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1972. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1973. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1974. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1975. // fixed 用户直接触发 mpInstance.triggerEvent
  1976. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1977. if (isCustom) {
  1978. // 自定义事件
  1979. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1980. if (!args.length) {
  1981. // 无参数,直接传入 event 或 detail 数组
  1982. if (isCustomMPEvent) {
  1983. return [event];
  1984. }
  1985. return __args__;
  1986. }
  1987. }
  1988. var extraObj = processEventExtra(vm, extra, event, __args__);
  1989. var ret = [];
  1990. args.forEach(function (arg) {
  1991. if (arg === '$event') {
  1992. if (methodName === '__set_model' && !isCustom) {
  1993. // input v-model value
  1994. ret.push(event.target.value);
  1995. } else {
  1996. if (isCustom && !isCustomMPEvent) {
  1997. ret.push(__args__[0]);
  1998. } else {
  1999. // wxcomponent 组件或内置组件
  2000. ret.push(event);
  2001. }
  2002. }
  2003. } else {
  2004. if (Array.isArray(arg) && arg[0] === 'o') {
  2005. ret.push(getObjByArray(arg));
  2006. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  2007. ret.push(extraObj[arg]);
  2008. } else {
  2009. ret.push(arg);
  2010. }
  2011. }
  2012. });
  2013. return ret;
  2014. }
  2015. var ONCE = '~';
  2016. var CUSTOM = '^';
  2017. function isMatchEventType(eventType, optType) {
  2018. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  2019. }
  2020. function getContextVm(vm) {
  2021. var $parent = vm.$parent;
  2022. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  2023. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  2024. $parent = $parent.$parent;
  2025. }
  2026. return $parent && $parent.$parent;
  2027. }
  2028. function handleEvent(event) {
  2029. var _this2 = this;
  2030. event = wrapper$1(event);
  2031. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  2032. var dataset = (event.currentTarget || event.target).dataset;
  2033. if (!dataset) {
  2034. return console.warn('事件信息不存在');
  2035. }
  2036. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  2037. if (!eventOpts) {
  2038. return console.warn('事件信息不存在');
  2039. }
  2040. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  2041. var eventType = event.type;
  2042. var ret = [];
  2043. eventOpts.forEach(function (eventOpt) {
  2044. var type = eventOpt[0];
  2045. var eventsArray = eventOpt[1];
  2046. var isCustom = type.charAt(0) === CUSTOM;
  2047. type = isCustom ? type.slice(1) : type;
  2048. var isOnce = type.charAt(0) === ONCE;
  2049. type = isOnce ? type.slice(1) : type;
  2050. if (eventsArray && isMatchEventType(eventType, type)) {
  2051. eventsArray.forEach(function (eventArray) {
  2052. var methodName = eventArray[0];
  2053. if (methodName) {
  2054. var handlerCtx = _this2.$vm;
  2055. if (handlerCtx.$options.generic) {
  2056. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  2057. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  2058. }
  2059. if (methodName === '$emit') {
  2060. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  2061. return;
  2062. }
  2063. var handler = handlerCtx[methodName];
  2064. if (!isFn(handler)) {
  2065. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  2066. var path = _this2.route || _this2.is;
  2067. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  2068. }
  2069. if (isOnce) {
  2070. if (handler.once) {
  2071. return;
  2072. }
  2073. handler.once = true;
  2074. }
  2075. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  2076. params = Array.isArray(params) ? params : [];
  2077. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  2078. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  2079. // eslint-disable-next-line no-sparse-arrays
  2080. params = params.concat([,,,,,,,,,, event]);
  2081. }
  2082. ret.push(handler.apply(handlerCtx, params));
  2083. }
  2084. });
  2085. }
  2086. });
  2087. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  2088. return ret[0];
  2089. }
  2090. }
  2091. var eventChannels = {};
  2092. function getEventChannel(id) {
  2093. var eventChannel = eventChannels[id];
  2094. delete eventChannels[id];
  2095. return eventChannel;
  2096. }
  2097. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  2098. function initEventChannel() {
  2099. _vue.default.prototype.getOpenerEventChannel = function () {
  2100. // 微信小程序使用自身getOpenerEventChannel
  2101. {
  2102. return this.$scope.getOpenerEventChannel();
  2103. }
  2104. };
  2105. var callHook = _vue.default.prototype.__call_hook;
  2106. _vue.default.prototype.__call_hook = function (hook, args) {
  2107. if (hook === 'onLoad' && args && args.__id__) {
  2108. this.__eventChannel__ = getEventChannel(args.__id__);
  2109. delete args.__id__;
  2110. }
  2111. return callHook.call(this, hook, args);
  2112. };
  2113. }
  2114. function initScopedSlotsParams() {
  2115. var center = {};
  2116. var parents = {};
  2117. function currentId(fn) {
  2118. var vueIds = this.$options.propsData.vueId;
  2119. if (vueIds) {
  2120. var vueId = vueIds.split(',')[0];
  2121. fn(vueId);
  2122. }
  2123. }
  2124. _vue.default.prototype.$hasSSP = function (vueId) {
  2125. var slot = center[vueId];
  2126. if (!slot) {
  2127. parents[vueId] = this;
  2128. this.$on('hook:destroyed', function () {
  2129. delete parents[vueId];
  2130. });
  2131. }
  2132. return slot;
  2133. };
  2134. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  2135. var slot = center[vueId];
  2136. if (slot) {
  2137. var params = slot[name] || [];
  2138. if (needAll) {
  2139. return params;
  2140. }
  2141. return params[0];
  2142. }
  2143. };
  2144. _vue.default.prototype.$setSSP = function (name, value) {
  2145. var index = 0;
  2146. currentId.call(this, function (vueId) {
  2147. var slot = center[vueId];
  2148. var params = slot[name] = slot[name] || [];
  2149. params.push(value);
  2150. index = params.length - 1;
  2151. });
  2152. return index;
  2153. };
  2154. _vue.default.prototype.$initSSP = function () {
  2155. currentId.call(this, function (vueId) {
  2156. center[vueId] = {};
  2157. });
  2158. };
  2159. _vue.default.prototype.$callSSP = function () {
  2160. currentId.call(this, function (vueId) {
  2161. if (parents[vueId]) {
  2162. parents[vueId].$forceUpdate();
  2163. }
  2164. });
  2165. };
  2166. _vue.default.mixin({
  2167. destroyed: function destroyed() {
  2168. var propsData = this.$options.propsData;
  2169. var vueId = propsData && propsData.vueId;
  2170. if (vueId) {
  2171. delete center[vueId];
  2172. delete parents[vueId];
  2173. }
  2174. }
  2175. });
  2176. }
  2177. function parseBaseApp(vm, _ref4) {
  2178. var mocks = _ref4.mocks,
  2179. initRefs = _ref4.initRefs;
  2180. initEventChannel();
  2181. {
  2182. initScopedSlotsParams();
  2183. }
  2184. if (vm.$options.store) {
  2185. _vue.default.prototype.$store = vm.$options.store;
  2186. }
  2187. uniIdMixin(_vue.default);
  2188. _vue.default.prototype.mpHost = "mp-weixin";
  2189. _vue.default.mixin({
  2190. beforeCreate: function beforeCreate() {
  2191. if (!this.$options.mpType) {
  2192. return;
  2193. }
  2194. this.mpType = this.$options.mpType;
  2195. this.$mp = (0, _defineProperty2.default)({
  2196. data: {}
  2197. }, this.mpType, this.$options.mpInstance);
  2198. this.$scope = this.$options.mpInstance;
  2199. delete this.$options.mpType;
  2200. delete this.$options.mpInstance;
  2201. if (this.mpType === 'page' && typeof getApp === 'function') {
  2202. // hack vue-i18n
  2203. var app = getApp();
  2204. if (app.$vm && app.$vm.$i18n) {
  2205. this._i18n = app.$vm.$i18n;
  2206. }
  2207. }
  2208. if (this.mpType !== 'app') {
  2209. initRefs(this);
  2210. initMocks(this, mocks);
  2211. }
  2212. }
  2213. });
  2214. var appOptions = {
  2215. onLaunch: function onLaunch(args) {
  2216. if (this.$vm) {
  2217. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2218. return;
  2219. }
  2220. {
  2221. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2222. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2223. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2224. }
  2225. }
  2226. this.$vm = vm;
  2227. this.$vm.$mp = {
  2228. app: this
  2229. };
  2230. this.$vm.$scope = this;
  2231. // vm 上也挂载 globalData
  2232. this.$vm.globalData = this.globalData;
  2233. this.$vm._isMounted = true;
  2234. this.$vm.__call_hook('mounted', args);
  2235. this.$vm.__call_hook('onLaunch', args);
  2236. }
  2237. };
  2238. // 兼容旧版本 globalData
  2239. appOptions.globalData = vm.$options.globalData || {};
  2240. // 将 methods 中的方法挂在 getApp() 中
  2241. var methods = vm.$options.methods;
  2242. if (methods) {
  2243. Object.keys(methods).forEach(function (name) {
  2244. appOptions[name] = methods[name];
  2245. });
  2246. }
  2247. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2248. initHooks(appOptions, hooks);
  2249. initUnknownHooks(appOptions, vm.$options);
  2250. return appOptions;
  2251. }
  2252. function parseApp(vm) {
  2253. return parseBaseApp(vm, {
  2254. mocks: mocks,
  2255. initRefs: initRefs
  2256. });
  2257. }
  2258. function createApp(vm) {
  2259. App(parseApp(vm));
  2260. return vm;
  2261. }
  2262. var encodeReserveRE = /[!'()*]/g;
  2263. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2264. return '%' + c.charCodeAt(0).toString(16);
  2265. };
  2266. var commaRE = /%2C/g;
  2267. // fixed encodeURIComponent which is more conformant to RFC3986:
  2268. // - escapes [!'()*]
  2269. // - preserve commas
  2270. var encode = function encode(str) {
  2271. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2272. };
  2273. function stringifyQuery(obj) {
  2274. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2275. var res = obj ? Object.keys(obj).map(function (key) {
  2276. var val = obj[key];
  2277. if (val === undefined) {
  2278. return '';
  2279. }
  2280. if (val === null) {
  2281. return encodeStr(key);
  2282. }
  2283. if (Array.isArray(val)) {
  2284. var result = [];
  2285. val.forEach(function (val2) {
  2286. if (val2 === undefined) {
  2287. return;
  2288. }
  2289. if (val2 === null) {
  2290. result.push(encodeStr(key));
  2291. } else {
  2292. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2293. }
  2294. });
  2295. return result.join('&');
  2296. }
  2297. return encodeStr(key) + '=' + encodeStr(val);
  2298. }).filter(function (x) {
  2299. return x.length > 0;
  2300. }).join('&') : null;
  2301. return res ? "?".concat(res) : '';
  2302. }
  2303. function parseBaseComponent(vueComponentOptions) {
  2304. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2305. isPage = _ref5.isPage,
  2306. initRelation = _ref5.initRelation;
  2307. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2308. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2309. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2310. VueComponent = _initVueComponent2[0],
  2311. vueOptions = _initVueComponent2[1];
  2312. var options = _objectSpread({
  2313. multipleSlots: true,
  2314. // styleIsolation: 'apply-shared',
  2315. addGlobalClass: true
  2316. }, vueOptions.options || {});
  2317. {
  2318. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2319. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2320. Object.assign(options, vueOptions['mp-weixin'].options);
  2321. }
  2322. }
  2323. var componentOptions = {
  2324. options: options,
  2325. data: initData(vueOptions, _vue.default.prototype),
  2326. behaviors: initBehaviors(vueOptions, initBehavior),
  2327. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2328. lifetimes: {
  2329. attached: function attached() {
  2330. var properties = this.properties;
  2331. var options = {
  2332. mpType: isPage.call(this) ? 'page' : 'component',
  2333. mpInstance: this,
  2334. propsData: properties
  2335. };
  2336. initVueIds(properties.vueId, this);
  2337. // 处理父子关系
  2338. initRelation.call(this, {
  2339. vuePid: this._$vuePid,
  2340. vueOptions: options
  2341. });
  2342. // 初始化 vue 实例
  2343. this.$vm = new VueComponent(options);
  2344. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2345. initSlots(this.$vm, properties.vueSlots);
  2346. // 触发首次 setData
  2347. this.$vm.$mount();
  2348. },
  2349. ready: function ready() {
  2350. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2351. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2352. if (this.$vm) {
  2353. this.$vm._isMounted = true;
  2354. this.$vm.__call_hook('mounted');
  2355. this.$vm.__call_hook('onReady');
  2356. }
  2357. },
  2358. detached: function detached() {
  2359. this.$vm && this.$vm.$destroy();
  2360. }
  2361. },
  2362. pageLifetimes: {
  2363. show: function show(args) {
  2364. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2365. },
  2366. hide: function hide() {
  2367. this.$vm && this.$vm.__call_hook('onPageHide');
  2368. },
  2369. resize: function resize(size) {
  2370. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2371. }
  2372. },
  2373. methods: {
  2374. __l: handleLink,
  2375. __e: handleEvent
  2376. }
  2377. };
  2378. // externalClasses
  2379. if (vueOptions.externalClasses) {
  2380. componentOptions.externalClasses = vueOptions.externalClasses;
  2381. }
  2382. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2383. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2384. componentOptions.methods[callMethod] = function (args) {
  2385. return this.$vm[callMethod](args);
  2386. };
  2387. });
  2388. }
  2389. if (needVueOptions) {
  2390. return [componentOptions, vueOptions, VueComponent];
  2391. }
  2392. if (isPage) {
  2393. return componentOptions;
  2394. }
  2395. return [componentOptions, VueComponent];
  2396. }
  2397. function parseComponent(vueComponentOptions, needVueOptions) {
  2398. return parseBaseComponent(vueComponentOptions, {
  2399. isPage: isPage,
  2400. initRelation: initRelation
  2401. }, needVueOptions);
  2402. }
  2403. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2404. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2405. function parseBasePage(vuePageOptions) {
  2406. var _parseComponent = parseComponent(vuePageOptions, true),
  2407. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2408. pageOptions = _parseComponent2[0],
  2409. vueOptions = _parseComponent2[1];
  2410. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2411. pageOptions.methods.onLoad = function (query) {
  2412. this.options = query;
  2413. var copyQuery = Object.assign({}, query);
  2414. delete copyQuery.__id__;
  2415. this.$page = {
  2416. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2417. };
  2418. this.$vm.$mp.query = query; // 兼容 mpvue
  2419. this.$vm.__call_hook('onLoad', query);
  2420. };
  2421. {
  2422. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2423. }
  2424. {
  2425. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  2426. }
  2427. return pageOptions;
  2428. }
  2429. function parsePage(vuePageOptions) {
  2430. return parseBasePage(vuePageOptions);
  2431. }
  2432. function createPage(vuePageOptions) {
  2433. {
  2434. return Component(parsePage(vuePageOptions));
  2435. }
  2436. }
  2437. function createComponent(vueOptions) {
  2438. {
  2439. return Component(parseComponent(vueOptions));
  2440. }
  2441. }
  2442. function createSubpackageApp(vm) {
  2443. var appOptions = parseApp(vm);
  2444. var app = getApp({
  2445. allowDefault: true
  2446. });
  2447. vm.$scope = app;
  2448. var globalData = app.globalData;
  2449. if (globalData) {
  2450. Object.keys(appOptions.globalData).forEach(function (name) {
  2451. if (!hasOwn(globalData, name)) {
  2452. globalData[name] = appOptions.globalData[name];
  2453. }
  2454. });
  2455. }
  2456. Object.keys(appOptions).forEach(function (name) {
  2457. if (!hasOwn(app, name)) {
  2458. app[name] = appOptions[name];
  2459. }
  2460. });
  2461. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2462. wx.onAppShow(function () {
  2463. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2464. args[_key5] = arguments[_key5];
  2465. }
  2466. vm.__call_hook('onShow', args);
  2467. });
  2468. }
  2469. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2470. wx.onAppHide(function () {
  2471. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2472. args[_key6] = arguments[_key6];
  2473. }
  2474. vm.__call_hook('onHide', args);
  2475. });
  2476. }
  2477. if (isFn(appOptions.onLaunch)) {
  2478. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2479. vm.__call_hook('onLaunch', args);
  2480. }
  2481. return vm;
  2482. }
  2483. function createPlugin(vm) {
  2484. var appOptions = parseApp(vm);
  2485. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2486. wx.onAppShow(function () {
  2487. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2488. args[_key7] = arguments[_key7];
  2489. }
  2490. vm.__call_hook('onShow', args);
  2491. });
  2492. }
  2493. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2494. wx.onAppHide(function () {
  2495. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2496. args[_key8] = arguments[_key8];
  2497. }
  2498. vm.__call_hook('onHide', args);
  2499. });
  2500. }
  2501. if (isFn(appOptions.onLaunch)) {
  2502. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2503. vm.__call_hook('onLaunch', args);
  2504. }
  2505. return vm;
  2506. }
  2507. todos.forEach(function (todoApi) {
  2508. protocols[todoApi] = false;
  2509. });
  2510. canIUses.forEach(function (canIUseApi) {
  2511. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2512. if (!wx.canIUse(apiName)) {
  2513. protocols[canIUseApi] = false;
  2514. }
  2515. });
  2516. var uni = {};
  2517. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2518. uni = new Proxy({}, {
  2519. get: function get(target, name) {
  2520. if (hasOwn(target, name)) {
  2521. return target[name];
  2522. }
  2523. if (baseApi[name]) {
  2524. return baseApi[name];
  2525. }
  2526. if (api[name]) {
  2527. return promisify(name, api[name]);
  2528. }
  2529. {
  2530. if (extraApi[name]) {
  2531. return promisify(name, extraApi[name]);
  2532. }
  2533. if (todoApis[name]) {
  2534. return promisify(name, todoApis[name]);
  2535. }
  2536. }
  2537. if (eventApi[name]) {
  2538. return eventApi[name];
  2539. }
  2540. return promisify(name, wrapper(name, wx[name]));
  2541. },
  2542. set: function set(target, name, value) {
  2543. target[name] = value;
  2544. return true;
  2545. }
  2546. });
  2547. } else {
  2548. Object.keys(baseApi).forEach(function (name) {
  2549. uni[name] = baseApi[name];
  2550. });
  2551. {
  2552. Object.keys(todoApis).forEach(function (name) {
  2553. uni[name] = promisify(name, todoApis[name]);
  2554. });
  2555. Object.keys(extraApi).forEach(function (name) {
  2556. uni[name] = promisify(name, extraApi[name]);
  2557. });
  2558. }
  2559. Object.keys(eventApi).forEach(function (name) {
  2560. uni[name] = eventApi[name];
  2561. });
  2562. Object.keys(api).forEach(function (name) {
  2563. uni[name] = promisify(name, api[name]);
  2564. });
  2565. Object.keys(wx).forEach(function (name) {
  2566. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2567. uni[name] = promisify(name, wrapper(name, wx[name]));
  2568. }
  2569. });
  2570. }
  2571. wx.createApp = createApp;
  2572. wx.createPage = createPage;
  2573. wx.createComponent = createComponent;
  2574. wx.createSubpackageApp = createSubpackageApp;
  2575. wx.createPlugin = createPlugin;
  2576. var uni$1 = uni;
  2577. var _default = uni$1;
  2578. exports.default = _default;
  2579. /* 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)))
  2580. /***/ }),
  2581. /***/ 20:
  2582. /*!****************************************************************!*\
  2583. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2584. \****************************************************************/
  2585. /*! no static exports found */
  2586. /***/ (function(module, exports) {
  2587. function _iterableToArray(iter) {
  2588. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2589. }
  2590. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2591. /***/ }),
  2592. /***/ 21:
  2593. /*!******************************************************************!*\
  2594. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2595. \******************************************************************/
  2596. /*! no static exports found */
  2597. /***/ (function(module, exports) {
  2598. function _nonIterableSpread() {
  2599. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2600. }
  2601. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2602. /***/ }),
  2603. /***/ 22:
  2604. /*!*************************************************************!*\
  2605. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2606. \*************************************************************/
  2607. /*! no static exports found */
  2608. /***/ (function(module, exports, __webpack_require__) {
  2609. "use strict";
  2610. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2611. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2612. Object.defineProperty(exports, "__esModule", {
  2613. value: true
  2614. });
  2615. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2616. exports.compileI18nJsonStr = compileI18nJsonStr;
  2617. exports.hasI18nJson = hasI18nJson;
  2618. exports.initVueI18n = initVueI18n;
  2619. exports.isI18nStr = isI18nStr;
  2620. exports.isString = void 0;
  2621. exports.normalizeLocale = normalizeLocale;
  2622. exports.parseI18nJson = parseI18nJson;
  2623. exports.resolveLocale = resolveLocale;
  2624. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2625. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2626. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2627. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2628. var isObject = function isObject(val) {
  2629. return val !== null && (0, _typeof2.default)(val) === 'object';
  2630. };
  2631. var defaultDelimiters = ['{', '}'];
  2632. var BaseFormatter = /*#__PURE__*/function () {
  2633. function BaseFormatter() {
  2634. (0, _classCallCheck2.default)(this, BaseFormatter);
  2635. this._caches = Object.create(null);
  2636. }
  2637. (0, _createClass2.default)(BaseFormatter, [{
  2638. key: "interpolate",
  2639. value: function interpolate(message, values) {
  2640. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2641. if (!values) {
  2642. return [message];
  2643. }
  2644. var tokens = this._caches[message];
  2645. if (!tokens) {
  2646. tokens = parse(message, delimiters);
  2647. this._caches[message] = tokens;
  2648. }
  2649. return compile(tokens, values);
  2650. }
  2651. }]);
  2652. return BaseFormatter;
  2653. }();
  2654. exports.Formatter = BaseFormatter;
  2655. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2656. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2657. function parse(format, _ref) {
  2658. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2659. startDelimiter = _ref2[0],
  2660. endDelimiter = _ref2[1];
  2661. var tokens = [];
  2662. var position = 0;
  2663. var text = '';
  2664. while (position < format.length) {
  2665. var char = format[position++];
  2666. if (char === startDelimiter) {
  2667. if (text) {
  2668. tokens.push({
  2669. type: 'text',
  2670. value: text
  2671. });
  2672. }
  2673. text = '';
  2674. var sub = '';
  2675. char = format[position++];
  2676. while (char !== undefined && char !== endDelimiter) {
  2677. sub += char;
  2678. char = format[position++];
  2679. }
  2680. var isClosed = char === endDelimiter;
  2681. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2682. tokens.push({
  2683. value: sub,
  2684. type: type
  2685. });
  2686. }
  2687. // else if (char === '%') {
  2688. // // when found rails i18n syntax, skip text capture
  2689. // if (format[position] !== '{') {
  2690. // text += char
  2691. // }
  2692. // }
  2693. else {
  2694. text += char;
  2695. }
  2696. }
  2697. text && tokens.push({
  2698. type: 'text',
  2699. value: text
  2700. });
  2701. return tokens;
  2702. }
  2703. function compile(tokens, values) {
  2704. var compiled = [];
  2705. var index = 0;
  2706. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2707. if (mode === 'unknown') {
  2708. return compiled;
  2709. }
  2710. while (index < tokens.length) {
  2711. var token = tokens[index];
  2712. switch (token.type) {
  2713. case 'text':
  2714. compiled.push(token.value);
  2715. break;
  2716. case 'list':
  2717. compiled.push(values[parseInt(token.value, 10)]);
  2718. break;
  2719. case 'named':
  2720. if (mode === 'named') {
  2721. compiled.push(values[token.value]);
  2722. } else {
  2723. if (true) {
  2724. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2725. }
  2726. }
  2727. break;
  2728. case 'unknown':
  2729. if (true) {
  2730. console.warn("Detect 'unknown' type of token!");
  2731. }
  2732. break;
  2733. }
  2734. index++;
  2735. }
  2736. return compiled;
  2737. }
  2738. var LOCALE_ZH_HANS = 'zh-Hans';
  2739. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2740. var LOCALE_ZH_HANT = 'zh-Hant';
  2741. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2742. var LOCALE_EN = 'en';
  2743. exports.LOCALE_EN = LOCALE_EN;
  2744. var LOCALE_FR = 'fr';
  2745. exports.LOCALE_FR = LOCALE_FR;
  2746. var LOCALE_ES = 'es';
  2747. exports.LOCALE_ES = LOCALE_ES;
  2748. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2749. var hasOwn = function hasOwn(val, key) {
  2750. return hasOwnProperty.call(val, key);
  2751. };
  2752. var defaultFormatter = new BaseFormatter();
  2753. function include(str, parts) {
  2754. return !!parts.find(function (part) {
  2755. return str.indexOf(part) !== -1;
  2756. });
  2757. }
  2758. function startsWith(str, parts) {
  2759. return parts.find(function (part) {
  2760. return str.indexOf(part) === 0;
  2761. });
  2762. }
  2763. function normalizeLocale(locale, messages) {
  2764. if (!locale) {
  2765. return;
  2766. }
  2767. locale = locale.trim().replace(/_/g, '-');
  2768. if (messages && messages[locale]) {
  2769. return locale;
  2770. }
  2771. locale = locale.toLowerCase();
  2772. if (locale === 'chinese') {
  2773. // 支付宝
  2774. return LOCALE_ZH_HANS;
  2775. }
  2776. if (locale.indexOf('zh') === 0) {
  2777. if (locale.indexOf('-hans') > -1) {
  2778. return LOCALE_ZH_HANS;
  2779. }
  2780. if (locale.indexOf('-hant') > -1) {
  2781. return LOCALE_ZH_HANT;
  2782. }
  2783. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2784. return LOCALE_ZH_HANT;
  2785. }
  2786. return LOCALE_ZH_HANS;
  2787. }
  2788. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  2789. if (messages && Object.keys(messages).length > 0) {
  2790. locales = Object.keys(messages);
  2791. }
  2792. var lang = startsWith(locale, locales);
  2793. if (lang) {
  2794. return lang;
  2795. }
  2796. }
  2797. var I18n = /*#__PURE__*/function () {
  2798. function I18n(_ref3) {
  2799. var locale = _ref3.locale,
  2800. fallbackLocale = _ref3.fallbackLocale,
  2801. messages = _ref3.messages,
  2802. watcher = _ref3.watcher,
  2803. formater = _ref3.formater;
  2804. (0, _classCallCheck2.default)(this, I18n);
  2805. this.locale = LOCALE_EN;
  2806. this.fallbackLocale = LOCALE_EN;
  2807. this.message = {};
  2808. this.messages = {};
  2809. this.watchers = [];
  2810. if (fallbackLocale) {
  2811. this.fallbackLocale = fallbackLocale;
  2812. }
  2813. this.formater = formater || defaultFormatter;
  2814. this.messages = messages || {};
  2815. this.setLocale(locale || LOCALE_EN);
  2816. if (watcher) {
  2817. this.watchLocale(watcher);
  2818. }
  2819. }
  2820. (0, _createClass2.default)(I18n, [{
  2821. key: "setLocale",
  2822. value: function setLocale(locale) {
  2823. var _this = this;
  2824. var oldLocale = this.locale;
  2825. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2826. if (!this.messages[this.locale]) {
  2827. // 可能初始化时不存在
  2828. this.messages[this.locale] = {};
  2829. }
  2830. this.message = this.messages[this.locale];
  2831. // 仅发生变化时,通知
  2832. if (oldLocale !== this.locale) {
  2833. this.watchers.forEach(function (watcher) {
  2834. watcher(_this.locale, oldLocale);
  2835. });
  2836. }
  2837. }
  2838. }, {
  2839. key: "getLocale",
  2840. value: function getLocale() {
  2841. return this.locale;
  2842. }
  2843. }, {
  2844. key: "watchLocale",
  2845. value: function watchLocale(fn) {
  2846. var _this2 = this;
  2847. var index = this.watchers.push(fn) - 1;
  2848. return function () {
  2849. _this2.watchers.splice(index, 1);
  2850. };
  2851. }
  2852. }, {
  2853. key: "add",
  2854. value: function add(locale, message) {
  2855. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2856. var curMessages = this.messages[locale];
  2857. if (curMessages) {
  2858. if (override) {
  2859. Object.assign(curMessages, message);
  2860. } else {
  2861. Object.keys(message).forEach(function (key) {
  2862. if (!hasOwn(curMessages, key)) {
  2863. curMessages[key] = message[key];
  2864. }
  2865. });
  2866. }
  2867. } else {
  2868. this.messages[locale] = message;
  2869. }
  2870. }
  2871. }, {
  2872. key: "f",
  2873. value: function f(message, values, delimiters) {
  2874. return this.formater.interpolate(message, values, delimiters).join('');
  2875. }
  2876. }, {
  2877. key: "t",
  2878. value: function t(key, locale, values) {
  2879. var message = this.message;
  2880. if (typeof locale === 'string') {
  2881. locale = normalizeLocale(locale, this.messages);
  2882. locale && (message = this.messages[locale]);
  2883. } else {
  2884. values = locale;
  2885. }
  2886. if (!hasOwn(message, key)) {
  2887. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  2888. return key;
  2889. }
  2890. return this.formater.interpolate(message[key], values).join('');
  2891. }
  2892. }]);
  2893. return I18n;
  2894. }();
  2895. exports.I18n = I18n;
  2896. function watchAppLocale(appVm, i18n) {
  2897. // 需要保证 watch 的触发在组件渲染之前
  2898. if (appVm.$watchLocale) {
  2899. // vue2
  2900. appVm.$watchLocale(function (newLocale) {
  2901. i18n.setLocale(newLocale);
  2902. });
  2903. } else {
  2904. appVm.$watch(function () {
  2905. return appVm.$locale;
  2906. }, function (newLocale) {
  2907. i18n.setLocale(newLocale);
  2908. });
  2909. }
  2910. }
  2911. function getDefaultLocale() {
  2912. if (typeof uni !== 'undefined' && uni.getLocale) {
  2913. return uni.getLocale();
  2914. }
  2915. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  2916. if (typeof global !== 'undefined' && global.getLocale) {
  2917. return global.getLocale();
  2918. }
  2919. return LOCALE_EN;
  2920. }
  2921. function initVueI18n(locale) {
  2922. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  2923. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  2924. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  2925. // 兼容旧版本入参
  2926. if (typeof locale !== 'string') {
  2927. var _ref4 = [messages, locale];
  2928. locale = _ref4[0];
  2929. messages = _ref4[1];
  2930. }
  2931. if (typeof locale !== 'string') {
  2932. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  2933. locale = getDefaultLocale();
  2934. }
  2935. if (typeof fallbackLocale !== 'string') {
  2936. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  2937. }
  2938. var i18n = new I18n({
  2939. locale: locale,
  2940. fallbackLocale: fallbackLocale,
  2941. messages: messages,
  2942. watcher: watcher
  2943. });
  2944. var _t = function t(key, values) {
  2945. if (typeof getApp !== 'function') {
  2946. // app view
  2947. /* eslint-disable no-func-assign */
  2948. _t = function t(key, values) {
  2949. return i18n.t(key, values);
  2950. };
  2951. } else {
  2952. var isWatchedAppLocale = false;
  2953. _t = function t(key, values) {
  2954. var appVm = getApp().$vm;
  2955. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  2956. // options: {
  2957. // type: Array,
  2958. // default () {
  2959. // return [{
  2960. // icon: 'shop',
  2961. // text: t("uni-goods-nav.options.shop"),
  2962. // }, {
  2963. // icon: 'cart',
  2964. // text: t("uni-goods-nav.options.cart")
  2965. // }]
  2966. // }
  2967. // },
  2968. if (appVm) {
  2969. // 触发响应式
  2970. appVm.$locale;
  2971. if (!isWatchedAppLocale) {
  2972. isWatchedAppLocale = true;
  2973. watchAppLocale(appVm, i18n);
  2974. }
  2975. }
  2976. return i18n.t(key, values);
  2977. };
  2978. }
  2979. return _t(key, values);
  2980. };
  2981. return {
  2982. i18n: i18n,
  2983. f: function f(message, values, delimiters) {
  2984. return i18n.f(message, values, delimiters);
  2985. },
  2986. t: function t(key, values) {
  2987. return _t(key, values);
  2988. },
  2989. add: function add(locale, message) {
  2990. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2991. return i18n.add(locale, message, override);
  2992. },
  2993. watch: function watch(fn) {
  2994. return i18n.watchLocale(fn);
  2995. },
  2996. getLocale: function getLocale() {
  2997. return i18n.getLocale();
  2998. },
  2999. setLocale: function setLocale(newLocale) {
  3000. return i18n.setLocale(newLocale);
  3001. }
  3002. };
  3003. }
  3004. var isString = function isString(val) {
  3005. return typeof val === 'string';
  3006. };
  3007. exports.isString = isString;
  3008. var formater;
  3009. function hasI18nJson(jsonObj, delimiters) {
  3010. if (!formater) {
  3011. formater = new BaseFormatter();
  3012. }
  3013. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3014. var value = jsonObj[key];
  3015. if (isString(value)) {
  3016. if (isI18nStr(value, delimiters)) {
  3017. return true;
  3018. }
  3019. } else {
  3020. return hasI18nJson(value, delimiters);
  3021. }
  3022. });
  3023. }
  3024. function parseI18nJson(jsonObj, values, delimiters) {
  3025. if (!formater) {
  3026. formater = new BaseFormatter();
  3027. }
  3028. walkJsonObj(jsonObj, function (jsonObj, key) {
  3029. var value = jsonObj[key];
  3030. if (isString(value)) {
  3031. if (isI18nStr(value, delimiters)) {
  3032. jsonObj[key] = compileStr(value, values, delimiters);
  3033. }
  3034. } else {
  3035. parseI18nJson(value, values, delimiters);
  3036. }
  3037. });
  3038. return jsonObj;
  3039. }
  3040. function compileI18nJsonStr(jsonStr, _ref5) {
  3041. var locale = _ref5.locale,
  3042. locales = _ref5.locales,
  3043. delimiters = _ref5.delimiters;
  3044. if (!isI18nStr(jsonStr, delimiters)) {
  3045. return jsonStr;
  3046. }
  3047. if (!formater) {
  3048. formater = new BaseFormatter();
  3049. }
  3050. var localeValues = [];
  3051. Object.keys(locales).forEach(function (name) {
  3052. if (name !== locale) {
  3053. localeValues.push({
  3054. locale: name,
  3055. values: locales[name]
  3056. });
  3057. }
  3058. });
  3059. localeValues.unshift({
  3060. locale: locale,
  3061. values: locales[locale]
  3062. });
  3063. try {
  3064. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3065. } catch (e) {}
  3066. return jsonStr;
  3067. }
  3068. function isI18nStr(value, delimiters) {
  3069. return value.indexOf(delimiters[0]) > -1;
  3070. }
  3071. function compileStr(value, values, delimiters) {
  3072. return formater.interpolate(value, values, delimiters).join('');
  3073. }
  3074. function compileValue(jsonObj, key, localeValues, delimiters) {
  3075. var value = jsonObj[key];
  3076. if (isString(value)) {
  3077. // 存在国际化
  3078. if (isI18nStr(value, delimiters)) {
  3079. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3080. if (localeValues.length > 1) {
  3081. // 格式化国际化语言
  3082. var valueLocales = jsonObj[key + 'Locales'] = {};
  3083. localeValues.forEach(function (localValue) {
  3084. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3085. });
  3086. }
  3087. }
  3088. } else {
  3089. compileJsonObj(value, localeValues, delimiters);
  3090. }
  3091. }
  3092. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3093. walkJsonObj(jsonObj, function (jsonObj, key) {
  3094. compileValue(jsonObj, key, localeValues, delimiters);
  3095. });
  3096. return jsonObj;
  3097. }
  3098. function walkJsonObj(jsonObj, walk) {
  3099. if (Array.isArray(jsonObj)) {
  3100. for (var i = 0; i < jsonObj.length; i++) {
  3101. if (walk(jsonObj, i)) {
  3102. return true;
  3103. }
  3104. }
  3105. } else if (isObject(jsonObj)) {
  3106. for (var key in jsonObj) {
  3107. if (walk(jsonObj, key)) {
  3108. return true;
  3109. }
  3110. }
  3111. }
  3112. return false;
  3113. }
  3114. function resolveLocale(locales) {
  3115. return function (locale) {
  3116. if (!locale) {
  3117. return locale;
  3118. }
  3119. locale = normalizeLocale(locale) || locale;
  3120. return resolveLocaleChain(locale).find(function (locale) {
  3121. return locales.indexOf(locale) > -1;
  3122. });
  3123. };
  3124. }
  3125. function resolveLocaleChain(locale) {
  3126. var chain = [];
  3127. var tokens = locale.split('-');
  3128. while (tokens.length) {
  3129. chain.push(tokens.join('-'));
  3130. tokens.pop();
  3131. }
  3132. return chain;
  3133. }
  3134. /* 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)))
  3135. /***/ }),
  3136. /***/ 23:
  3137. /*!***************************************************************!*\
  3138. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3139. \***************************************************************/
  3140. /*! no static exports found */
  3141. /***/ (function(module, exports) {
  3142. function _classCallCheck(instance, Constructor) {
  3143. if (!(instance instanceof Constructor)) {
  3144. throw new TypeError("Cannot call a class as a function");
  3145. }
  3146. }
  3147. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3148. /***/ }),
  3149. /***/ 24:
  3150. /*!************************************************************!*\
  3151. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3152. \************************************************************/
  3153. /*! no static exports found */
  3154. /***/ (function(module, exports, __webpack_require__) {
  3155. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3156. function _defineProperties(target, props) {
  3157. for (var i = 0; i < props.length; i++) {
  3158. var descriptor = props[i];
  3159. descriptor.enumerable = descriptor.enumerable || false;
  3160. descriptor.configurable = true;
  3161. if ("value" in descriptor) descriptor.writable = true;
  3162. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3163. }
  3164. }
  3165. function _createClass(Constructor, protoProps, staticProps) {
  3166. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3167. if (staticProps) _defineProperties(Constructor, staticProps);
  3168. Object.defineProperty(Constructor, "prototype", {
  3169. writable: false
  3170. });
  3171. return Constructor;
  3172. }
  3173. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3174. /***/ }),
  3175. /***/ 25:
  3176. /*!******************************************************************************************!*\
  3177. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3178. \******************************************************************************************/
  3179. /*! exports provided: default */
  3180. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3181. "use strict";
  3182. __webpack_require__.r(__webpack_exports__);
  3183. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3184. * Vue.js v2.6.11
  3185. * (c) 2014-2023 Evan You
  3186. * Released under the MIT License.
  3187. */
  3188. /* */
  3189. var emptyObject = Object.freeze({});
  3190. // These helpers produce better VM code in JS engines due to their
  3191. // explicitness and function inlining.
  3192. function isUndef (v) {
  3193. return v === undefined || v === null
  3194. }
  3195. function isDef (v) {
  3196. return v !== undefined && v !== null
  3197. }
  3198. function isTrue (v) {
  3199. return v === true
  3200. }
  3201. function isFalse (v) {
  3202. return v === false
  3203. }
  3204. /**
  3205. * Check if value is primitive.
  3206. */
  3207. function isPrimitive (value) {
  3208. return (
  3209. typeof value === 'string' ||
  3210. typeof value === 'number' ||
  3211. // $flow-disable-line
  3212. typeof value === 'symbol' ||
  3213. typeof value === 'boolean'
  3214. )
  3215. }
  3216. /**
  3217. * Quick object check - this is primarily used to tell
  3218. * Objects from primitive values when we know the value
  3219. * is a JSON-compliant type.
  3220. */
  3221. function isObject (obj) {
  3222. return obj !== null && typeof obj === 'object'
  3223. }
  3224. /**
  3225. * Get the raw type string of a value, e.g., [object Object].
  3226. */
  3227. var _toString = Object.prototype.toString;
  3228. function toRawType (value) {
  3229. return _toString.call(value).slice(8, -1)
  3230. }
  3231. /**
  3232. * Strict object type check. Only returns true
  3233. * for plain JavaScript objects.
  3234. */
  3235. function isPlainObject (obj) {
  3236. return _toString.call(obj) === '[object Object]'
  3237. }
  3238. function isRegExp (v) {
  3239. return _toString.call(v) === '[object RegExp]'
  3240. }
  3241. /**
  3242. * Check if val is a valid array index.
  3243. */
  3244. function isValidArrayIndex (val) {
  3245. var n = parseFloat(String(val));
  3246. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3247. }
  3248. function isPromise (val) {
  3249. return (
  3250. isDef(val) &&
  3251. typeof val.then === 'function' &&
  3252. typeof val.catch === 'function'
  3253. )
  3254. }
  3255. /**
  3256. * Convert a value to a string that is actually rendered.
  3257. */
  3258. function toString (val) {
  3259. return val == null
  3260. ? ''
  3261. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3262. ? JSON.stringify(val, null, 2)
  3263. : String(val)
  3264. }
  3265. /**
  3266. * Convert an input value to a number for persistence.
  3267. * If the conversion fails, return original string.
  3268. */
  3269. function toNumber (val) {
  3270. var n = parseFloat(val);
  3271. return isNaN(n) ? val : n
  3272. }
  3273. /**
  3274. * Make a map and return a function for checking if a key
  3275. * is in that map.
  3276. */
  3277. function makeMap (
  3278. str,
  3279. expectsLowerCase
  3280. ) {
  3281. var map = Object.create(null);
  3282. var list = str.split(',');
  3283. for (var i = 0; i < list.length; i++) {
  3284. map[list[i]] = true;
  3285. }
  3286. return expectsLowerCase
  3287. ? function (val) { return map[val.toLowerCase()]; }
  3288. : function (val) { return map[val]; }
  3289. }
  3290. /**
  3291. * Check if a tag is a built-in tag.
  3292. */
  3293. var isBuiltInTag = makeMap('slot,component', true);
  3294. /**
  3295. * Check if an attribute is a reserved attribute.
  3296. */
  3297. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3298. /**
  3299. * Remove an item from an array.
  3300. */
  3301. function remove (arr, item) {
  3302. if (arr.length) {
  3303. var index = arr.indexOf(item);
  3304. if (index > -1) {
  3305. return arr.splice(index, 1)
  3306. }
  3307. }
  3308. }
  3309. /**
  3310. * Check whether an object has the property.
  3311. */
  3312. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3313. function hasOwn (obj, key) {
  3314. return hasOwnProperty.call(obj, key)
  3315. }
  3316. /**
  3317. * Create a cached version of a pure function.
  3318. */
  3319. function cached (fn) {
  3320. var cache = Object.create(null);
  3321. return (function cachedFn (str) {
  3322. var hit = cache[str];
  3323. return hit || (cache[str] = fn(str))
  3324. })
  3325. }
  3326. /**
  3327. * Camelize a hyphen-delimited string.
  3328. */
  3329. var camelizeRE = /-(\w)/g;
  3330. var camelize = cached(function (str) {
  3331. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3332. });
  3333. /**
  3334. * Capitalize a string.
  3335. */
  3336. var capitalize = cached(function (str) {
  3337. return str.charAt(0).toUpperCase() + str.slice(1)
  3338. });
  3339. /**
  3340. * Hyphenate a camelCase string.
  3341. */
  3342. var hyphenateRE = /\B([A-Z])/g;
  3343. var hyphenate = cached(function (str) {
  3344. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3345. });
  3346. /**
  3347. * Simple bind polyfill for environments that do not support it,
  3348. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3349. * since native bind is now performant enough in most browsers.
  3350. * But removing it would mean breaking code that was able to run in
  3351. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3352. */
  3353. /* istanbul ignore next */
  3354. function polyfillBind (fn, ctx) {
  3355. function boundFn (a) {
  3356. var l = arguments.length;
  3357. return l
  3358. ? l > 1
  3359. ? fn.apply(ctx, arguments)
  3360. : fn.call(ctx, a)
  3361. : fn.call(ctx)
  3362. }
  3363. boundFn._length = fn.length;
  3364. return boundFn
  3365. }
  3366. function nativeBind (fn, ctx) {
  3367. return fn.bind(ctx)
  3368. }
  3369. var bind = Function.prototype.bind
  3370. ? nativeBind
  3371. : polyfillBind;
  3372. /**
  3373. * Convert an Array-like object to a real Array.
  3374. */
  3375. function toArray (list, start) {
  3376. start = start || 0;
  3377. var i = list.length - start;
  3378. var ret = new Array(i);
  3379. while (i--) {
  3380. ret[i] = list[i + start];
  3381. }
  3382. return ret
  3383. }
  3384. /**
  3385. * Mix properties into target object.
  3386. */
  3387. function extend (to, _from) {
  3388. for (var key in _from) {
  3389. to[key] = _from[key];
  3390. }
  3391. return to
  3392. }
  3393. /**
  3394. * Merge an Array of Objects into a single Object.
  3395. */
  3396. function toObject (arr) {
  3397. var res = {};
  3398. for (var i = 0; i < arr.length; i++) {
  3399. if (arr[i]) {
  3400. extend(res, arr[i]);
  3401. }
  3402. }
  3403. return res
  3404. }
  3405. /* eslint-disable no-unused-vars */
  3406. /**
  3407. * Perform no operation.
  3408. * Stubbing args to make Flow happy without leaving useless transpiled code
  3409. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3410. */
  3411. function noop (a, b, c) {}
  3412. /**
  3413. * Always return false.
  3414. */
  3415. var no = function (a, b, c) { return false; };
  3416. /* eslint-enable no-unused-vars */
  3417. /**
  3418. * Return the same value.
  3419. */
  3420. var identity = function (_) { return _; };
  3421. /**
  3422. * Check if two values are loosely equal - that is,
  3423. * if they are plain objects, do they have the same shape?
  3424. */
  3425. function looseEqual (a, b) {
  3426. if (a === b) { return true }
  3427. var isObjectA = isObject(a);
  3428. var isObjectB = isObject(b);
  3429. if (isObjectA && isObjectB) {
  3430. try {
  3431. var isArrayA = Array.isArray(a);
  3432. var isArrayB = Array.isArray(b);
  3433. if (isArrayA && isArrayB) {
  3434. return a.length === b.length && a.every(function (e, i) {
  3435. return looseEqual(e, b[i])
  3436. })
  3437. } else if (a instanceof Date && b instanceof Date) {
  3438. return a.getTime() === b.getTime()
  3439. } else if (!isArrayA && !isArrayB) {
  3440. var keysA = Object.keys(a);
  3441. var keysB = Object.keys(b);
  3442. return keysA.length === keysB.length && keysA.every(function (key) {
  3443. return looseEqual(a[key], b[key])
  3444. })
  3445. } else {
  3446. /* istanbul ignore next */
  3447. return false
  3448. }
  3449. } catch (e) {
  3450. /* istanbul ignore next */
  3451. return false
  3452. }
  3453. } else if (!isObjectA && !isObjectB) {
  3454. return String(a) === String(b)
  3455. } else {
  3456. return false
  3457. }
  3458. }
  3459. /**
  3460. * Return the first index at which a loosely equal value can be
  3461. * found in the array (if value is a plain object, the array must
  3462. * contain an object of the same shape), or -1 if it is not present.
  3463. */
  3464. function looseIndexOf (arr, val) {
  3465. for (var i = 0; i < arr.length; i++) {
  3466. if (looseEqual(arr[i], val)) { return i }
  3467. }
  3468. return -1
  3469. }
  3470. /**
  3471. * Ensure a function is called only once.
  3472. */
  3473. function once (fn) {
  3474. var called = false;
  3475. return function () {
  3476. if (!called) {
  3477. called = true;
  3478. fn.apply(this, arguments);
  3479. }
  3480. }
  3481. }
  3482. var ASSET_TYPES = [
  3483. 'component',
  3484. 'directive',
  3485. 'filter'
  3486. ];
  3487. var LIFECYCLE_HOOKS = [
  3488. 'beforeCreate',
  3489. 'created',
  3490. 'beforeMount',
  3491. 'mounted',
  3492. 'beforeUpdate',
  3493. 'updated',
  3494. 'beforeDestroy',
  3495. 'destroyed',
  3496. 'activated',
  3497. 'deactivated',
  3498. 'errorCaptured',
  3499. 'serverPrefetch'
  3500. ];
  3501. /* */
  3502. var config = ({
  3503. /**
  3504. * Option merge strategies (used in core/util/options)
  3505. */
  3506. // $flow-disable-line
  3507. optionMergeStrategies: Object.create(null),
  3508. /**
  3509. * Whether to suppress warnings.
  3510. */
  3511. silent: false,
  3512. /**
  3513. * Show production mode tip message on boot?
  3514. */
  3515. productionTip: "development" !== 'production',
  3516. /**
  3517. * Whether to enable devtools
  3518. */
  3519. devtools: "development" !== 'production',
  3520. /**
  3521. * Whether to record perf
  3522. */
  3523. performance: false,
  3524. /**
  3525. * Error handler for watcher errors
  3526. */
  3527. errorHandler: null,
  3528. /**
  3529. * Warn handler for watcher warns
  3530. */
  3531. warnHandler: null,
  3532. /**
  3533. * Ignore certain custom elements
  3534. */
  3535. ignoredElements: [],
  3536. /**
  3537. * Custom user key aliases for v-on
  3538. */
  3539. // $flow-disable-line
  3540. keyCodes: Object.create(null),
  3541. /**
  3542. * Check if a tag is reserved so that it cannot be registered as a
  3543. * component. This is platform-dependent and may be overwritten.
  3544. */
  3545. isReservedTag: no,
  3546. /**
  3547. * Check if an attribute is reserved so that it cannot be used as a component
  3548. * prop. This is platform-dependent and may be overwritten.
  3549. */
  3550. isReservedAttr: no,
  3551. /**
  3552. * Check if a tag is an unknown element.
  3553. * Platform-dependent.
  3554. */
  3555. isUnknownElement: no,
  3556. /**
  3557. * Get the namespace of an element
  3558. */
  3559. getTagNamespace: noop,
  3560. /**
  3561. * Parse the real tag name for the specific platform.
  3562. */
  3563. parsePlatformTagName: identity,
  3564. /**
  3565. * Check if an attribute must be bound using property, e.g. value
  3566. * Platform-dependent.
  3567. */
  3568. mustUseProp: no,
  3569. /**
  3570. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3571. * This will significantly reduce performance if set to false.
  3572. */
  3573. async: true,
  3574. /**
  3575. * Exposed for legacy reasons
  3576. */
  3577. _lifecycleHooks: LIFECYCLE_HOOKS
  3578. });
  3579. /* */
  3580. /**
  3581. * unicode letters used for parsing html tags, component names and property paths.
  3582. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3583. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3584. */
  3585. 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/;
  3586. /**
  3587. * Check if a string starts with $ or _
  3588. */
  3589. function isReserved (str) {
  3590. var c = (str + '').charCodeAt(0);
  3591. return c === 0x24 || c === 0x5F
  3592. }
  3593. /**
  3594. * Define a property.
  3595. */
  3596. function def (obj, key, val, enumerable) {
  3597. Object.defineProperty(obj, key, {
  3598. value: val,
  3599. enumerable: !!enumerable,
  3600. writable: true,
  3601. configurable: true
  3602. });
  3603. }
  3604. /**
  3605. * Parse simple path.
  3606. */
  3607. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3608. function parsePath (path) {
  3609. if (bailRE.test(path)) {
  3610. return
  3611. }
  3612. var segments = path.split('.');
  3613. return function (obj) {
  3614. for (var i = 0; i < segments.length; i++) {
  3615. if (!obj) { return }
  3616. obj = obj[segments[i]];
  3617. }
  3618. return obj
  3619. }
  3620. }
  3621. /* */
  3622. // can we use __proto__?
  3623. var hasProto = '__proto__' in {};
  3624. // Browser environment sniffing
  3625. var inBrowser = typeof window !== 'undefined';
  3626. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3627. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3628. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3629. var isIE = UA && /msie|trident/.test(UA);
  3630. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3631. var isEdge = UA && UA.indexOf('edge/') > 0;
  3632. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3633. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3634. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3635. var isPhantomJS = UA && /phantomjs/.test(UA);
  3636. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3637. // Firefox has a "watch" function on Object.prototype...
  3638. var nativeWatch = ({}).watch;
  3639. if (inBrowser) {
  3640. try {
  3641. var opts = {};
  3642. Object.defineProperty(opts, 'passive', ({
  3643. get: function get () {
  3644. }
  3645. })); // https://github.com/facebook/flow/issues/285
  3646. window.addEventListener('test-passive', null, opts);
  3647. } catch (e) {}
  3648. }
  3649. // this needs to be lazy-evaled because vue may be required before
  3650. // vue-server-renderer can set VUE_ENV
  3651. var _isServer;
  3652. var isServerRendering = function () {
  3653. if (_isServer === undefined) {
  3654. /* istanbul ignore if */
  3655. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3656. // detect presence of vue-server-renderer and avoid
  3657. // Webpack shimming the process
  3658. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3659. } else {
  3660. _isServer = false;
  3661. }
  3662. }
  3663. return _isServer
  3664. };
  3665. // detect devtools
  3666. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3667. /* istanbul ignore next */
  3668. function isNative (Ctor) {
  3669. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3670. }
  3671. var hasSymbol =
  3672. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3673. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3674. var _Set;
  3675. /* istanbul ignore if */ // $flow-disable-line
  3676. if (typeof Set !== 'undefined' && isNative(Set)) {
  3677. // use native Set when available.
  3678. _Set = Set;
  3679. } else {
  3680. // a non-standard Set polyfill that only works with primitive keys.
  3681. _Set = /*@__PURE__*/(function () {
  3682. function Set () {
  3683. this.set = Object.create(null);
  3684. }
  3685. Set.prototype.has = function has (key) {
  3686. return this.set[key] === true
  3687. };
  3688. Set.prototype.add = function add (key) {
  3689. this.set[key] = true;
  3690. };
  3691. Set.prototype.clear = function clear () {
  3692. this.set = Object.create(null);
  3693. };
  3694. return Set;
  3695. }());
  3696. }
  3697. /* */
  3698. var warn = noop;
  3699. var tip = noop;
  3700. var generateComponentTrace = (noop); // work around flow check
  3701. var formatComponentName = (noop);
  3702. if (true) {
  3703. var hasConsole = typeof console !== 'undefined';
  3704. var classifyRE = /(?:^|[-_])(\w)/g;
  3705. var classify = function (str) { return str
  3706. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3707. .replace(/[-_]/g, ''); };
  3708. warn = function (msg, vm) {
  3709. var trace = vm ? generateComponentTrace(vm) : '';
  3710. if (config.warnHandler) {
  3711. config.warnHandler.call(null, msg, vm, trace);
  3712. } else if (hasConsole && (!config.silent)) {
  3713. console.error(("[Vue warn]: " + msg + trace));
  3714. }
  3715. };
  3716. tip = function (msg, vm) {
  3717. if (hasConsole && (!config.silent)) {
  3718. console.warn("[Vue tip]: " + msg + (
  3719. vm ? generateComponentTrace(vm) : ''
  3720. ));
  3721. }
  3722. };
  3723. formatComponentName = function (vm, includeFile) {
  3724. if (vm.$root === vm) {
  3725. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3726. return ('') + vm.$options.__file
  3727. }
  3728. return '<Root>'
  3729. }
  3730. var options = typeof vm === 'function' && vm.cid != null
  3731. ? vm.options
  3732. : vm._isVue
  3733. ? vm.$options || vm.constructor.options
  3734. : vm;
  3735. var name = options.name || options._componentTag;
  3736. var file = options.__file;
  3737. if (!name && file) {
  3738. var match = file.match(/([^/\\]+)\.vue$/);
  3739. name = match && match[1];
  3740. }
  3741. return (
  3742. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3743. (file && includeFile !== false ? (" at " + file) : '')
  3744. )
  3745. };
  3746. var repeat = function (str, n) {
  3747. var res = '';
  3748. while (n) {
  3749. if (n % 2 === 1) { res += str; }
  3750. if (n > 1) { str += str; }
  3751. n >>= 1;
  3752. }
  3753. return res
  3754. };
  3755. generateComponentTrace = function (vm) {
  3756. if (vm._isVue && vm.$parent) {
  3757. var tree = [];
  3758. var currentRecursiveSequence = 0;
  3759. while (vm && vm.$options.name !== 'PageBody') {
  3760. if (tree.length > 0) {
  3761. var last = tree[tree.length - 1];
  3762. if (last.constructor === vm.constructor) {
  3763. currentRecursiveSequence++;
  3764. vm = vm.$parent;
  3765. continue
  3766. } else if (currentRecursiveSequence > 0) {
  3767. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3768. currentRecursiveSequence = 0;
  3769. }
  3770. }
  3771. !vm.$options.isReserved && tree.push(vm);
  3772. vm = vm.$parent;
  3773. }
  3774. return '\n\nfound in\n\n' + tree
  3775. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3776. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3777. : formatComponentName(vm))); })
  3778. .join('\n')
  3779. } else {
  3780. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3781. }
  3782. };
  3783. }
  3784. /* */
  3785. var uid = 0;
  3786. /**
  3787. * A dep is an observable that can have multiple
  3788. * directives subscribing to it.
  3789. */
  3790. var Dep = function Dep () {
  3791. this.id = uid++;
  3792. this.subs = [];
  3793. };
  3794. Dep.prototype.addSub = function addSub (sub) {
  3795. this.subs.push(sub);
  3796. };
  3797. Dep.prototype.removeSub = function removeSub (sub) {
  3798. remove(this.subs, sub);
  3799. };
  3800. Dep.prototype.depend = function depend () {
  3801. if (Dep.SharedObject.target) {
  3802. Dep.SharedObject.target.addDep(this);
  3803. }
  3804. };
  3805. Dep.prototype.notify = function notify () {
  3806. // stabilize the subscriber list first
  3807. var subs = this.subs.slice();
  3808. if ( true && !config.async) {
  3809. // subs aren't sorted in scheduler if not running async
  3810. // we need to sort them now to make sure they fire in correct
  3811. // order
  3812. subs.sort(function (a, b) { return a.id - b.id; });
  3813. }
  3814. for (var i = 0, l = subs.length; i < l; i++) {
  3815. subs[i].update();
  3816. }
  3817. };
  3818. // The current target watcher being evaluated.
  3819. // This is globally unique because only one watcher
  3820. // can be evaluated at a time.
  3821. // fixed by xxxxxx (nvue shared vuex)
  3822. /* eslint-disable no-undef */
  3823. Dep.SharedObject = {};
  3824. Dep.SharedObject.target = null;
  3825. Dep.SharedObject.targetStack = [];
  3826. function pushTarget (target) {
  3827. Dep.SharedObject.targetStack.push(target);
  3828. Dep.SharedObject.target = target;
  3829. Dep.target = target;
  3830. }
  3831. function popTarget () {
  3832. Dep.SharedObject.targetStack.pop();
  3833. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3834. Dep.target = Dep.SharedObject.target;
  3835. }
  3836. /* */
  3837. var VNode = function VNode (
  3838. tag,
  3839. data,
  3840. children,
  3841. text,
  3842. elm,
  3843. context,
  3844. componentOptions,
  3845. asyncFactory
  3846. ) {
  3847. this.tag = tag;
  3848. this.data = data;
  3849. this.children = children;
  3850. this.text = text;
  3851. this.elm = elm;
  3852. this.ns = undefined;
  3853. this.context = context;
  3854. this.fnContext = undefined;
  3855. this.fnOptions = undefined;
  3856. this.fnScopeId = undefined;
  3857. this.key = data && data.key;
  3858. this.componentOptions = componentOptions;
  3859. this.componentInstance = undefined;
  3860. this.parent = undefined;
  3861. this.raw = false;
  3862. this.isStatic = false;
  3863. this.isRootInsert = true;
  3864. this.isComment = false;
  3865. this.isCloned = false;
  3866. this.isOnce = false;
  3867. this.asyncFactory = asyncFactory;
  3868. this.asyncMeta = undefined;
  3869. this.isAsyncPlaceholder = false;
  3870. };
  3871. var prototypeAccessors = { child: { configurable: true } };
  3872. // DEPRECATED: alias for componentInstance for backwards compat.
  3873. /* istanbul ignore next */
  3874. prototypeAccessors.child.get = function () {
  3875. return this.componentInstance
  3876. };
  3877. Object.defineProperties( VNode.prototype, prototypeAccessors );
  3878. var createEmptyVNode = function (text) {
  3879. if ( text === void 0 ) text = '';
  3880. var node = new VNode();
  3881. node.text = text;
  3882. node.isComment = true;
  3883. return node
  3884. };
  3885. function createTextVNode (val) {
  3886. return new VNode(undefined, undefined, undefined, String(val))
  3887. }
  3888. // optimized shallow clone
  3889. // used for static nodes and slot nodes because they may be reused across
  3890. // multiple renders, cloning them avoids errors when DOM manipulations rely
  3891. // on their elm reference.
  3892. function cloneVNode (vnode) {
  3893. var cloned = new VNode(
  3894. vnode.tag,
  3895. vnode.data,
  3896. // #7975
  3897. // clone children array to avoid mutating original in case of cloning
  3898. // a child.
  3899. vnode.children && vnode.children.slice(),
  3900. vnode.text,
  3901. vnode.elm,
  3902. vnode.context,
  3903. vnode.componentOptions,
  3904. vnode.asyncFactory
  3905. );
  3906. cloned.ns = vnode.ns;
  3907. cloned.isStatic = vnode.isStatic;
  3908. cloned.key = vnode.key;
  3909. cloned.isComment = vnode.isComment;
  3910. cloned.fnContext = vnode.fnContext;
  3911. cloned.fnOptions = vnode.fnOptions;
  3912. cloned.fnScopeId = vnode.fnScopeId;
  3913. cloned.asyncMeta = vnode.asyncMeta;
  3914. cloned.isCloned = true;
  3915. return cloned
  3916. }
  3917. /*
  3918. * not type checking this file because flow doesn't play well with
  3919. * dynamically accessing methods on Array prototype
  3920. */
  3921. var arrayProto = Array.prototype;
  3922. var arrayMethods = Object.create(arrayProto);
  3923. var methodsToPatch = [
  3924. 'push',
  3925. 'pop',
  3926. 'shift',
  3927. 'unshift',
  3928. 'splice',
  3929. 'sort',
  3930. 'reverse'
  3931. ];
  3932. /**
  3933. * Intercept mutating methods and emit events
  3934. */
  3935. methodsToPatch.forEach(function (method) {
  3936. // cache original method
  3937. var original = arrayProto[method];
  3938. def(arrayMethods, method, function mutator () {
  3939. var args = [], len = arguments.length;
  3940. while ( len-- ) args[ len ] = arguments[ len ];
  3941. var result = original.apply(this, args);
  3942. var ob = this.__ob__;
  3943. var inserted;
  3944. switch (method) {
  3945. case 'push':
  3946. case 'unshift':
  3947. inserted = args;
  3948. break
  3949. case 'splice':
  3950. inserted = args.slice(2);
  3951. break
  3952. }
  3953. if (inserted) { ob.observeArray(inserted); }
  3954. // notify change
  3955. ob.dep.notify();
  3956. return result
  3957. });
  3958. });
  3959. /* */
  3960. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  3961. /**
  3962. * In some cases we may want to disable observation inside a component's
  3963. * update computation.
  3964. */
  3965. var shouldObserve = true;
  3966. function toggleObserving (value) {
  3967. shouldObserve = value;
  3968. }
  3969. /**
  3970. * Observer class that is attached to each observed
  3971. * object. Once attached, the observer converts the target
  3972. * object's property keys into getter/setters that
  3973. * collect dependencies and dispatch updates.
  3974. */
  3975. var Observer = function Observer (value) {
  3976. this.value = value;
  3977. this.dep = new Dep();
  3978. this.vmCount = 0;
  3979. def(value, '__ob__', this);
  3980. if (Array.isArray(value)) {
  3981. if (hasProto) {
  3982. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  3983. if(value.push !== value.__proto__.push){
  3984. copyAugment(value, arrayMethods, arrayKeys);
  3985. } else {
  3986. protoAugment(value, arrayMethods);
  3987. }
  3988. }
  3989. } else {
  3990. copyAugment(value, arrayMethods, arrayKeys);
  3991. }
  3992. this.observeArray(value);
  3993. } else {
  3994. this.walk(value);
  3995. }
  3996. };
  3997. /**
  3998. * Walk through all properties and convert them into
  3999. * getter/setters. This method should only be called when
  4000. * value type is Object.
  4001. */
  4002. Observer.prototype.walk = function walk (obj) {
  4003. var keys = Object.keys(obj);
  4004. for (var i = 0; i < keys.length; i++) {
  4005. defineReactive$$1(obj, keys[i]);
  4006. }
  4007. };
  4008. /**
  4009. * Observe a list of Array items.
  4010. */
  4011. Observer.prototype.observeArray = function observeArray (items) {
  4012. for (var i = 0, l = items.length; i < l; i++) {
  4013. observe(items[i]);
  4014. }
  4015. };
  4016. // helpers
  4017. /**
  4018. * Augment a target Object or Array by intercepting
  4019. * the prototype chain using __proto__
  4020. */
  4021. function protoAugment (target, src) {
  4022. /* eslint-disable no-proto */
  4023. target.__proto__ = src;
  4024. /* eslint-enable no-proto */
  4025. }
  4026. /**
  4027. * Augment a target Object or Array by defining
  4028. * hidden properties.
  4029. */
  4030. /* istanbul ignore next */
  4031. function copyAugment (target, src, keys) {
  4032. for (var i = 0, l = keys.length; i < l; i++) {
  4033. var key = keys[i];
  4034. def(target, key, src[key]);
  4035. }
  4036. }
  4037. /**
  4038. * Attempt to create an observer instance for a value,
  4039. * returns the new observer if successfully observed,
  4040. * or the existing observer if the value already has one.
  4041. */
  4042. function observe (value, asRootData) {
  4043. if (!isObject(value) || value instanceof VNode) {
  4044. return
  4045. }
  4046. var ob;
  4047. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4048. ob = value.__ob__;
  4049. } else if (
  4050. shouldObserve &&
  4051. !isServerRendering() &&
  4052. (Array.isArray(value) || isPlainObject(value)) &&
  4053. Object.isExtensible(value) &&
  4054. !value._isVue &&
  4055. !value.__v_isMPComponent
  4056. ) {
  4057. ob = new Observer(value);
  4058. }
  4059. if (asRootData && ob) {
  4060. ob.vmCount++;
  4061. }
  4062. return ob
  4063. }
  4064. /**
  4065. * Define a reactive property on an Object.
  4066. */
  4067. function defineReactive$$1 (
  4068. obj,
  4069. key,
  4070. val,
  4071. customSetter,
  4072. shallow
  4073. ) {
  4074. var dep = new Dep();
  4075. var property = Object.getOwnPropertyDescriptor(obj, key);
  4076. if (property && property.configurable === false) {
  4077. return
  4078. }
  4079. // cater for pre-defined getter/setters
  4080. var getter = property && property.get;
  4081. var setter = property && property.set;
  4082. if ((!getter || setter) && arguments.length === 2) {
  4083. val = obj[key];
  4084. }
  4085. var childOb = !shallow && observe(val);
  4086. Object.defineProperty(obj, key, {
  4087. enumerable: true,
  4088. configurable: true,
  4089. get: function reactiveGetter () {
  4090. var value = getter ? getter.call(obj) : val;
  4091. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4092. dep.depend();
  4093. if (childOb) {
  4094. childOb.dep.depend();
  4095. if (Array.isArray(value)) {
  4096. dependArray(value);
  4097. }
  4098. }
  4099. }
  4100. return value
  4101. },
  4102. set: function reactiveSetter (newVal) {
  4103. var value = getter ? getter.call(obj) : val;
  4104. /* eslint-disable no-self-compare */
  4105. if (newVal === value || (newVal !== newVal && value !== value)) {
  4106. return
  4107. }
  4108. /* eslint-enable no-self-compare */
  4109. if ( true && customSetter) {
  4110. customSetter();
  4111. }
  4112. // #7981: for accessor properties without setter
  4113. if (getter && !setter) { return }
  4114. if (setter) {
  4115. setter.call(obj, newVal);
  4116. } else {
  4117. val = newVal;
  4118. }
  4119. childOb = !shallow && observe(newVal);
  4120. dep.notify();
  4121. }
  4122. });
  4123. }
  4124. /**
  4125. * Set a property on an object. Adds the new property and
  4126. * triggers change notification if the property doesn't
  4127. * already exist.
  4128. */
  4129. function set (target, key, val) {
  4130. if ( true &&
  4131. (isUndef(target) || isPrimitive(target))
  4132. ) {
  4133. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4134. }
  4135. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4136. target.length = Math.max(target.length, key);
  4137. target.splice(key, 1, val);
  4138. return val
  4139. }
  4140. if (key in target && !(key in Object.prototype)) {
  4141. target[key] = val;
  4142. return val
  4143. }
  4144. var ob = (target).__ob__;
  4145. if (target._isVue || (ob && ob.vmCount)) {
  4146. true && warn(
  4147. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4148. 'at runtime - declare it upfront in the data option.'
  4149. );
  4150. return val
  4151. }
  4152. if (!ob) {
  4153. target[key] = val;
  4154. return val
  4155. }
  4156. defineReactive$$1(ob.value, key, val);
  4157. ob.dep.notify();
  4158. return val
  4159. }
  4160. /**
  4161. * Delete a property and trigger change if necessary.
  4162. */
  4163. function del (target, key) {
  4164. if ( true &&
  4165. (isUndef(target) || isPrimitive(target))
  4166. ) {
  4167. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4168. }
  4169. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4170. target.splice(key, 1);
  4171. return
  4172. }
  4173. var ob = (target).__ob__;
  4174. if (target._isVue || (ob && ob.vmCount)) {
  4175. true && warn(
  4176. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4177. '- just set it to null.'
  4178. );
  4179. return
  4180. }
  4181. if (!hasOwn(target, key)) {
  4182. return
  4183. }
  4184. delete target[key];
  4185. if (!ob) {
  4186. return
  4187. }
  4188. ob.dep.notify();
  4189. }
  4190. /**
  4191. * Collect dependencies on array elements when the array is touched, since
  4192. * we cannot intercept array element access like property getters.
  4193. */
  4194. function dependArray (value) {
  4195. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4196. e = value[i];
  4197. e && e.__ob__ && e.__ob__.dep.depend();
  4198. if (Array.isArray(e)) {
  4199. dependArray(e);
  4200. }
  4201. }
  4202. }
  4203. /* */
  4204. /**
  4205. * Option overwriting strategies are functions that handle
  4206. * how to merge a parent option value and a child option
  4207. * value into the final value.
  4208. */
  4209. var strats = config.optionMergeStrategies;
  4210. /**
  4211. * Options with restrictions
  4212. */
  4213. if (true) {
  4214. strats.el = strats.propsData = function (parent, child, vm, key) {
  4215. if (!vm) {
  4216. warn(
  4217. "option \"" + key + "\" can only be used during instance " +
  4218. 'creation with the `new` keyword.'
  4219. );
  4220. }
  4221. return defaultStrat(parent, child)
  4222. };
  4223. }
  4224. /**
  4225. * Helper that recursively merges two data objects together.
  4226. */
  4227. function mergeData (to, from) {
  4228. if (!from) { return to }
  4229. var key, toVal, fromVal;
  4230. var keys = hasSymbol
  4231. ? Reflect.ownKeys(from)
  4232. : Object.keys(from);
  4233. for (var i = 0; i < keys.length; i++) {
  4234. key = keys[i];
  4235. // in case the object is already observed...
  4236. if (key === '__ob__') { continue }
  4237. toVal = to[key];
  4238. fromVal = from[key];
  4239. if (!hasOwn(to, key)) {
  4240. set(to, key, fromVal);
  4241. } else if (
  4242. toVal !== fromVal &&
  4243. isPlainObject(toVal) &&
  4244. isPlainObject(fromVal)
  4245. ) {
  4246. mergeData(toVal, fromVal);
  4247. }
  4248. }
  4249. return to
  4250. }
  4251. /**
  4252. * Data
  4253. */
  4254. function mergeDataOrFn (
  4255. parentVal,
  4256. childVal,
  4257. vm
  4258. ) {
  4259. if (!vm) {
  4260. // in a Vue.extend merge, both should be functions
  4261. if (!childVal) {
  4262. return parentVal
  4263. }
  4264. if (!parentVal) {
  4265. return childVal
  4266. }
  4267. // when parentVal & childVal are both present,
  4268. // we need to return a function that returns the
  4269. // merged result of both functions... no need to
  4270. // check if parentVal is a function here because
  4271. // it has to be a function to pass previous merges.
  4272. return function mergedDataFn () {
  4273. return mergeData(
  4274. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4275. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4276. )
  4277. }
  4278. } else {
  4279. return function mergedInstanceDataFn () {
  4280. // instance merge
  4281. var instanceData = typeof childVal === 'function'
  4282. ? childVal.call(vm, vm)
  4283. : childVal;
  4284. var defaultData = typeof parentVal === 'function'
  4285. ? parentVal.call(vm, vm)
  4286. : parentVal;
  4287. if (instanceData) {
  4288. return mergeData(instanceData, defaultData)
  4289. } else {
  4290. return defaultData
  4291. }
  4292. }
  4293. }
  4294. }
  4295. strats.data = function (
  4296. parentVal,
  4297. childVal,
  4298. vm
  4299. ) {
  4300. if (!vm) {
  4301. if (childVal && typeof childVal !== 'function') {
  4302. true && warn(
  4303. 'The "data" option should be a function ' +
  4304. 'that returns a per-instance value in component ' +
  4305. 'definitions.',
  4306. vm
  4307. );
  4308. return parentVal
  4309. }
  4310. return mergeDataOrFn(parentVal, childVal)
  4311. }
  4312. return mergeDataOrFn(parentVal, childVal, vm)
  4313. };
  4314. /**
  4315. * Hooks and props are merged as arrays.
  4316. */
  4317. function mergeHook (
  4318. parentVal,
  4319. childVal
  4320. ) {
  4321. var res = childVal
  4322. ? parentVal
  4323. ? parentVal.concat(childVal)
  4324. : Array.isArray(childVal)
  4325. ? childVal
  4326. : [childVal]
  4327. : parentVal;
  4328. return res
  4329. ? dedupeHooks(res)
  4330. : res
  4331. }
  4332. function dedupeHooks (hooks) {
  4333. var res = [];
  4334. for (var i = 0; i < hooks.length; i++) {
  4335. if (res.indexOf(hooks[i]) === -1) {
  4336. res.push(hooks[i]);
  4337. }
  4338. }
  4339. return res
  4340. }
  4341. LIFECYCLE_HOOKS.forEach(function (hook) {
  4342. strats[hook] = mergeHook;
  4343. });
  4344. /**
  4345. * Assets
  4346. *
  4347. * When a vm is present (instance creation), we need to do
  4348. * a three-way merge between constructor options, instance
  4349. * options and parent options.
  4350. */
  4351. function mergeAssets (
  4352. parentVal,
  4353. childVal,
  4354. vm,
  4355. key
  4356. ) {
  4357. var res = Object.create(parentVal || null);
  4358. if (childVal) {
  4359. true && assertObjectType(key, childVal, vm);
  4360. return extend(res, childVal)
  4361. } else {
  4362. return res
  4363. }
  4364. }
  4365. ASSET_TYPES.forEach(function (type) {
  4366. strats[type + 's'] = mergeAssets;
  4367. });
  4368. /**
  4369. * Watchers.
  4370. *
  4371. * Watchers hashes should not overwrite one
  4372. * another, so we merge them as arrays.
  4373. */
  4374. strats.watch = function (
  4375. parentVal,
  4376. childVal,
  4377. vm,
  4378. key
  4379. ) {
  4380. // work around Firefox's Object.prototype.watch...
  4381. if (parentVal === nativeWatch) { parentVal = undefined; }
  4382. if (childVal === nativeWatch) { childVal = undefined; }
  4383. /* istanbul ignore if */
  4384. if (!childVal) { return Object.create(parentVal || null) }
  4385. if (true) {
  4386. assertObjectType(key, childVal, vm);
  4387. }
  4388. if (!parentVal) { return childVal }
  4389. var ret = {};
  4390. extend(ret, parentVal);
  4391. for (var key$1 in childVal) {
  4392. var parent = ret[key$1];
  4393. var child = childVal[key$1];
  4394. if (parent && !Array.isArray(parent)) {
  4395. parent = [parent];
  4396. }
  4397. ret[key$1] = parent
  4398. ? parent.concat(child)
  4399. : Array.isArray(child) ? child : [child];
  4400. }
  4401. return ret
  4402. };
  4403. /**
  4404. * Other object hashes.
  4405. */
  4406. strats.props =
  4407. strats.methods =
  4408. strats.inject =
  4409. strats.computed = function (
  4410. parentVal,
  4411. childVal,
  4412. vm,
  4413. key
  4414. ) {
  4415. if (childVal && "development" !== 'production') {
  4416. assertObjectType(key, childVal, vm);
  4417. }
  4418. if (!parentVal) { return childVal }
  4419. var ret = Object.create(null);
  4420. extend(ret, parentVal);
  4421. if (childVal) { extend(ret, childVal); }
  4422. return ret
  4423. };
  4424. strats.provide = mergeDataOrFn;
  4425. /**
  4426. * Default strategy.
  4427. */
  4428. var defaultStrat = function (parentVal, childVal) {
  4429. return childVal === undefined
  4430. ? parentVal
  4431. : childVal
  4432. };
  4433. /**
  4434. * Validate component names
  4435. */
  4436. function checkComponents (options) {
  4437. for (var key in options.components) {
  4438. validateComponentName(key);
  4439. }
  4440. }
  4441. function validateComponentName (name) {
  4442. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4443. warn(
  4444. 'Invalid component name: "' + name + '". Component names ' +
  4445. 'should conform to valid custom element name in html5 specification.'
  4446. );
  4447. }
  4448. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4449. warn(
  4450. 'Do not use built-in or reserved HTML elements as component ' +
  4451. 'id: ' + name
  4452. );
  4453. }
  4454. }
  4455. /**
  4456. * Ensure all props option syntax are normalized into the
  4457. * Object-based format.
  4458. */
  4459. function normalizeProps (options, vm) {
  4460. var props = options.props;
  4461. if (!props) { return }
  4462. var res = {};
  4463. var i, val, name;
  4464. if (Array.isArray(props)) {
  4465. i = props.length;
  4466. while (i--) {
  4467. val = props[i];
  4468. if (typeof val === 'string') {
  4469. name = camelize(val);
  4470. res[name] = { type: null };
  4471. } else if (true) {
  4472. warn('props must be strings when using array syntax.');
  4473. }
  4474. }
  4475. } else if (isPlainObject(props)) {
  4476. for (var key in props) {
  4477. val = props[key];
  4478. name = camelize(key);
  4479. res[name] = isPlainObject(val)
  4480. ? val
  4481. : { type: val };
  4482. }
  4483. } else if (true) {
  4484. warn(
  4485. "Invalid value for option \"props\": expected an Array or an Object, " +
  4486. "but got " + (toRawType(props)) + ".",
  4487. vm
  4488. );
  4489. }
  4490. options.props = res;
  4491. }
  4492. /**
  4493. * Normalize all injections into Object-based format
  4494. */
  4495. function normalizeInject (options, vm) {
  4496. var inject = options.inject;
  4497. if (!inject) { return }
  4498. var normalized = options.inject = {};
  4499. if (Array.isArray(inject)) {
  4500. for (var i = 0; i < inject.length; i++) {
  4501. normalized[inject[i]] = { from: inject[i] };
  4502. }
  4503. } else if (isPlainObject(inject)) {
  4504. for (var key in inject) {
  4505. var val = inject[key];
  4506. normalized[key] = isPlainObject(val)
  4507. ? extend({ from: key }, val)
  4508. : { from: val };
  4509. }
  4510. } else if (true) {
  4511. warn(
  4512. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4513. "but got " + (toRawType(inject)) + ".",
  4514. vm
  4515. );
  4516. }
  4517. }
  4518. /**
  4519. * Normalize raw function directives into object format.
  4520. */
  4521. function normalizeDirectives (options) {
  4522. var dirs = options.directives;
  4523. if (dirs) {
  4524. for (var key in dirs) {
  4525. var def$$1 = dirs[key];
  4526. if (typeof def$$1 === 'function') {
  4527. dirs[key] = { bind: def$$1, update: def$$1 };
  4528. }
  4529. }
  4530. }
  4531. }
  4532. function assertObjectType (name, value, vm) {
  4533. if (!isPlainObject(value)) {
  4534. warn(
  4535. "Invalid value for option \"" + name + "\": expected an Object, " +
  4536. "but got " + (toRawType(value)) + ".",
  4537. vm
  4538. );
  4539. }
  4540. }
  4541. /**
  4542. * Merge two option objects into a new one.
  4543. * Core utility used in both instantiation and inheritance.
  4544. */
  4545. function mergeOptions (
  4546. parent,
  4547. child,
  4548. vm
  4549. ) {
  4550. if (true) {
  4551. checkComponents(child);
  4552. }
  4553. if (typeof child === 'function') {
  4554. child = child.options;
  4555. }
  4556. normalizeProps(child, vm);
  4557. normalizeInject(child, vm);
  4558. normalizeDirectives(child);
  4559. // Apply extends and mixins on the child options,
  4560. // but only if it is a raw options object that isn't
  4561. // the result of another mergeOptions call.
  4562. // Only merged options has the _base property.
  4563. if (!child._base) {
  4564. if (child.extends) {
  4565. parent = mergeOptions(parent, child.extends, vm);
  4566. }
  4567. if (child.mixins) {
  4568. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4569. parent = mergeOptions(parent, child.mixins[i], vm);
  4570. }
  4571. }
  4572. }
  4573. var options = {};
  4574. var key;
  4575. for (key in parent) {
  4576. mergeField(key);
  4577. }
  4578. for (key in child) {
  4579. if (!hasOwn(parent, key)) {
  4580. mergeField(key);
  4581. }
  4582. }
  4583. function mergeField (key) {
  4584. var strat = strats[key] || defaultStrat;
  4585. options[key] = strat(parent[key], child[key], vm, key);
  4586. }
  4587. return options
  4588. }
  4589. /**
  4590. * Resolve an asset.
  4591. * This function is used because child instances need access
  4592. * to assets defined in its ancestor chain.
  4593. */
  4594. function resolveAsset (
  4595. options,
  4596. type,
  4597. id,
  4598. warnMissing
  4599. ) {
  4600. /* istanbul ignore if */
  4601. if (typeof id !== 'string') {
  4602. return
  4603. }
  4604. var assets = options[type];
  4605. // check local registration variations first
  4606. if (hasOwn(assets, id)) { return assets[id] }
  4607. var camelizedId = camelize(id);
  4608. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4609. var PascalCaseId = capitalize(camelizedId);
  4610. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4611. // fallback to prototype chain
  4612. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4613. if ( true && warnMissing && !res) {
  4614. warn(
  4615. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4616. options
  4617. );
  4618. }
  4619. return res
  4620. }
  4621. /* */
  4622. function validateProp (
  4623. key,
  4624. propOptions,
  4625. propsData,
  4626. vm
  4627. ) {
  4628. var prop = propOptions[key];
  4629. var absent = !hasOwn(propsData, key);
  4630. var value = propsData[key];
  4631. // boolean casting
  4632. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4633. if (booleanIndex > -1) {
  4634. if (absent && !hasOwn(prop, 'default')) {
  4635. value = false;
  4636. } else if (value === '' || value === hyphenate(key)) {
  4637. // only cast empty string / same name to boolean if
  4638. // boolean has higher priority
  4639. var stringIndex = getTypeIndex(String, prop.type);
  4640. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4641. value = true;
  4642. }
  4643. }
  4644. }
  4645. // check default value
  4646. if (value === undefined) {
  4647. value = getPropDefaultValue(vm, prop, key);
  4648. // since the default value is a fresh copy,
  4649. // make sure to observe it.
  4650. var prevShouldObserve = shouldObserve;
  4651. toggleObserving(true);
  4652. observe(value);
  4653. toggleObserving(prevShouldObserve);
  4654. }
  4655. if (
  4656. true
  4657. ) {
  4658. assertProp(prop, key, value, vm, absent);
  4659. }
  4660. return value
  4661. }
  4662. /**
  4663. * Get the default value of a prop.
  4664. */
  4665. function getPropDefaultValue (vm, prop, key) {
  4666. // no default, return undefined
  4667. if (!hasOwn(prop, 'default')) {
  4668. return undefined
  4669. }
  4670. var def = prop.default;
  4671. // warn against non-factory defaults for Object & Array
  4672. if ( true && isObject(def)) {
  4673. warn(
  4674. 'Invalid default value for prop "' + key + '": ' +
  4675. 'Props with type Object/Array must use a factory function ' +
  4676. 'to return the default value.',
  4677. vm
  4678. );
  4679. }
  4680. // the raw prop value was also undefined from previous render,
  4681. // return previous default value to avoid unnecessary watcher trigger
  4682. if (vm && vm.$options.propsData &&
  4683. vm.$options.propsData[key] === undefined &&
  4684. vm._props[key] !== undefined
  4685. ) {
  4686. return vm._props[key]
  4687. }
  4688. // call factory function for non-Function types
  4689. // a value is Function if its prototype is function even across different execution context
  4690. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4691. ? def.call(vm)
  4692. : def
  4693. }
  4694. /**
  4695. * Assert whether a prop is valid.
  4696. */
  4697. function assertProp (
  4698. prop,
  4699. name,
  4700. value,
  4701. vm,
  4702. absent
  4703. ) {
  4704. if (prop.required && absent) {
  4705. warn(
  4706. 'Missing required prop: "' + name + '"',
  4707. vm
  4708. );
  4709. return
  4710. }
  4711. if (value == null && !prop.required) {
  4712. return
  4713. }
  4714. var type = prop.type;
  4715. var valid = !type || type === true;
  4716. var expectedTypes = [];
  4717. if (type) {
  4718. if (!Array.isArray(type)) {
  4719. type = [type];
  4720. }
  4721. for (var i = 0; i < type.length && !valid; i++) {
  4722. var assertedType = assertType(value, type[i]);
  4723. expectedTypes.push(assertedType.expectedType || '');
  4724. valid = assertedType.valid;
  4725. }
  4726. }
  4727. if (!valid) {
  4728. warn(
  4729. getInvalidTypeMessage(name, value, expectedTypes),
  4730. vm
  4731. );
  4732. return
  4733. }
  4734. var validator = prop.validator;
  4735. if (validator) {
  4736. if (!validator(value)) {
  4737. warn(
  4738. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4739. vm
  4740. );
  4741. }
  4742. }
  4743. }
  4744. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4745. function assertType (value, type) {
  4746. var valid;
  4747. var expectedType = getType(type);
  4748. if (simpleCheckRE.test(expectedType)) {
  4749. var t = typeof value;
  4750. valid = t === expectedType.toLowerCase();
  4751. // for primitive wrapper objects
  4752. if (!valid && t === 'object') {
  4753. valid = value instanceof type;
  4754. }
  4755. } else if (expectedType === 'Object') {
  4756. valid = isPlainObject(value);
  4757. } else if (expectedType === 'Array') {
  4758. valid = Array.isArray(value);
  4759. } else {
  4760. valid = value instanceof type;
  4761. }
  4762. return {
  4763. valid: valid,
  4764. expectedType: expectedType
  4765. }
  4766. }
  4767. /**
  4768. * Use function string name to check built-in types,
  4769. * because a simple equality check will fail when running
  4770. * across different vms / iframes.
  4771. */
  4772. function getType (fn) {
  4773. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4774. return match ? match[1] : ''
  4775. }
  4776. function isSameType (a, b) {
  4777. return getType(a) === getType(b)
  4778. }
  4779. function getTypeIndex (type, expectedTypes) {
  4780. if (!Array.isArray(expectedTypes)) {
  4781. return isSameType(expectedTypes, type) ? 0 : -1
  4782. }
  4783. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4784. if (isSameType(expectedTypes[i], type)) {
  4785. return i
  4786. }
  4787. }
  4788. return -1
  4789. }
  4790. function getInvalidTypeMessage (name, value, expectedTypes) {
  4791. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4792. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4793. var expectedType = expectedTypes[0];
  4794. var receivedType = toRawType(value);
  4795. var expectedValue = styleValue(value, expectedType);
  4796. var receivedValue = styleValue(value, receivedType);
  4797. // check if we need to specify expected value
  4798. if (expectedTypes.length === 1 &&
  4799. isExplicable(expectedType) &&
  4800. !isBoolean(expectedType, receivedType)) {
  4801. message += " with value " + expectedValue;
  4802. }
  4803. message += ", got " + receivedType + " ";
  4804. // check if we need to specify received value
  4805. if (isExplicable(receivedType)) {
  4806. message += "with value " + receivedValue + ".";
  4807. }
  4808. return message
  4809. }
  4810. function styleValue (value, type) {
  4811. if (type === 'String') {
  4812. return ("\"" + value + "\"")
  4813. } else if (type === 'Number') {
  4814. return ("" + (Number(value)))
  4815. } else {
  4816. return ("" + value)
  4817. }
  4818. }
  4819. function isExplicable (value) {
  4820. var explicitTypes = ['string', 'number', 'boolean'];
  4821. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4822. }
  4823. function isBoolean () {
  4824. var args = [], len = arguments.length;
  4825. while ( len-- ) args[ len ] = arguments[ len ];
  4826. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4827. }
  4828. /* */
  4829. function handleError (err, vm, info) {
  4830. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4831. // See: https://github.com/vuejs/vuex/issues/1505
  4832. pushTarget();
  4833. try {
  4834. if (vm) {
  4835. var cur = vm;
  4836. while ((cur = cur.$parent)) {
  4837. var hooks = cur.$options.errorCaptured;
  4838. if (hooks) {
  4839. for (var i = 0; i < hooks.length; i++) {
  4840. try {
  4841. var capture = hooks[i].call(cur, err, vm, info) === false;
  4842. if (capture) { return }
  4843. } catch (e) {
  4844. globalHandleError(e, cur, 'errorCaptured hook');
  4845. }
  4846. }
  4847. }
  4848. }
  4849. }
  4850. globalHandleError(err, vm, info);
  4851. } finally {
  4852. popTarget();
  4853. }
  4854. }
  4855. function invokeWithErrorHandling (
  4856. handler,
  4857. context,
  4858. args,
  4859. vm,
  4860. info
  4861. ) {
  4862. var res;
  4863. try {
  4864. res = args ? handler.apply(context, args) : handler.call(context);
  4865. if (res && !res._isVue && isPromise(res) && !res._handled) {
  4866. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  4867. // issue #9511
  4868. // avoid catch triggering multiple times when nested calls
  4869. res._handled = true;
  4870. }
  4871. } catch (e) {
  4872. handleError(e, vm, info);
  4873. }
  4874. return res
  4875. }
  4876. function globalHandleError (err, vm, info) {
  4877. if (config.errorHandler) {
  4878. try {
  4879. return config.errorHandler.call(null, err, vm, info)
  4880. } catch (e) {
  4881. // if the user intentionally throws the original error in the handler,
  4882. // do not log it twice
  4883. if (e !== err) {
  4884. logError(e, null, 'config.errorHandler');
  4885. }
  4886. }
  4887. }
  4888. logError(err, vm, info);
  4889. }
  4890. function logError (err, vm, info) {
  4891. if (true) {
  4892. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  4893. }
  4894. /* istanbul ignore else */
  4895. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  4896. console.error(err);
  4897. } else {
  4898. throw err
  4899. }
  4900. }
  4901. /* */
  4902. var callbacks = [];
  4903. var pending = false;
  4904. function flushCallbacks () {
  4905. pending = false;
  4906. var copies = callbacks.slice(0);
  4907. callbacks.length = 0;
  4908. for (var i = 0; i < copies.length; i++) {
  4909. copies[i]();
  4910. }
  4911. }
  4912. // Here we have async deferring wrappers using microtasks.
  4913. // In 2.5 we used (macro) tasks (in combination with microtasks).
  4914. // However, it has subtle problems when state is changed right before repaint
  4915. // (e.g. #6813, out-in transitions).
  4916. // Also, using (macro) tasks in event handler would cause some weird behaviors
  4917. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  4918. // So we now use microtasks everywhere, again.
  4919. // A major drawback of this tradeoff is that there are some scenarios
  4920. // where microtasks have too high a priority and fire in between supposedly
  4921. // sequential events (e.g. #4521, #6690, which have workarounds)
  4922. // or even between bubbling of the same event (#6566).
  4923. var timerFunc;
  4924. // The nextTick behavior leverages the microtask queue, which can be accessed
  4925. // via either native Promise.then or MutationObserver.
  4926. // MutationObserver has wider support, however it is seriously bugged in
  4927. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  4928. // completely stops working after triggering a few times... so, if native
  4929. // Promise is available, we will use it:
  4930. /* istanbul ignore next, $flow-disable-line */
  4931. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  4932. var p = Promise.resolve();
  4933. timerFunc = function () {
  4934. p.then(flushCallbacks);
  4935. // In problematic UIWebViews, Promise.then doesn't completely break, but
  4936. // it can get stuck in a weird state where callbacks are pushed into the
  4937. // microtask queue but the queue isn't being flushed, until the browser
  4938. // needs to do some other work, e.g. handle a timer. Therefore we can
  4939. // "force" the microtask queue to be flushed by adding an empty timer.
  4940. if (isIOS) { setTimeout(noop); }
  4941. };
  4942. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  4943. isNative(MutationObserver) ||
  4944. // PhantomJS and iOS 7.x
  4945. MutationObserver.toString() === '[object MutationObserverConstructor]'
  4946. )) {
  4947. // Use MutationObserver where native Promise is not available,
  4948. // e.g. PhantomJS, iOS7, Android 4.4
  4949. // (#6466 MutationObserver is unreliable in IE11)
  4950. var counter = 1;
  4951. var observer = new MutationObserver(flushCallbacks);
  4952. var textNode = document.createTextNode(String(counter));
  4953. observer.observe(textNode, {
  4954. characterData: true
  4955. });
  4956. timerFunc = function () {
  4957. counter = (counter + 1) % 2;
  4958. textNode.data = String(counter);
  4959. };
  4960. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  4961. // Fallback to setImmediate.
  4962. // Technically it leverages the (macro) task queue,
  4963. // but it is still a better choice than setTimeout.
  4964. timerFunc = function () {
  4965. setImmediate(flushCallbacks);
  4966. };
  4967. } else {
  4968. // Fallback to setTimeout.
  4969. timerFunc = function () {
  4970. setTimeout(flushCallbacks, 0);
  4971. };
  4972. }
  4973. function nextTick (cb, ctx) {
  4974. var _resolve;
  4975. callbacks.push(function () {
  4976. if (cb) {
  4977. try {
  4978. cb.call(ctx);
  4979. } catch (e) {
  4980. handleError(e, ctx, 'nextTick');
  4981. }
  4982. } else if (_resolve) {
  4983. _resolve(ctx);
  4984. }
  4985. });
  4986. if (!pending) {
  4987. pending = true;
  4988. timerFunc();
  4989. }
  4990. // $flow-disable-line
  4991. if (!cb && typeof Promise !== 'undefined') {
  4992. return new Promise(function (resolve) {
  4993. _resolve = resolve;
  4994. })
  4995. }
  4996. }
  4997. /* */
  4998. /* not type checking this file because flow doesn't play well with Proxy */
  4999. var initProxy;
  5000. if (true) {
  5001. var allowedGlobals = makeMap(
  5002. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5003. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5004. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5005. 'require' // for Webpack/Browserify
  5006. );
  5007. var warnNonPresent = function (target, key) {
  5008. warn(
  5009. "Property or method \"" + key + "\" is not defined on the instance but " +
  5010. 'referenced during render. Make sure that this property is reactive, ' +
  5011. 'either in the data option, or for class-based components, by ' +
  5012. 'initializing the property. ' +
  5013. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5014. target
  5015. );
  5016. };
  5017. var warnReservedPrefix = function (target, key) {
  5018. warn(
  5019. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5020. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5021. 'prevent conflicts with Vue internals. ' +
  5022. 'See: https://vuejs.org/v2/api/#data',
  5023. target
  5024. );
  5025. };
  5026. var hasProxy =
  5027. typeof Proxy !== 'undefined' && isNative(Proxy);
  5028. if (hasProxy) {
  5029. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5030. config.keyCodes = new Proxy(config.keyCodes, {
  5031. set: function set (target, key, value) {
  5032. if (isBuiltInModifier(key)) {
  5033. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5034. return false
  5035. } else {
  5036. target[key] = value;
  5037. return true
  5038. }
  5039. }
  5040. });
  5041. }
  5042. var hasHandler = {
  5043. has: function has (target, key) {
  5044. var has = key in target;
  5045. var isAllowed = allowedGlobals(key) ||
  5046. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5047. if (!has && !isAllowed) {
  5048. if (key in target.$data) { warnReservedPrefix(target, key); }
  5049. else { warnNonPresent(target, key); }
  5050. }
  5051. return has || !isAllowed
  5052. }
  5053. };
  5054. var getHandler = {
  5055. get: function get (target, key) {
  5056. if (typeof key === 'string' && !(key in target)) {
  5057. if (key in target.$data) { warnReservedPrefix(target, key); }
  5058. else { warnNonPresent(target, key); }
  5059. }
  5060. return target[key]
  5061. }
  5062. };
  5063. initProxy = function initProxy (vm) {
  5064. if (hasProxy) {
  5065. // determine which proxy handler to use
  5066. var options = vm.$options;
  5067. var handlers = options.render && options.render._withStripped
  5068. ? getHandler
  5069. : hasHandler;
  5070. vm._renderProxy = new Proxy(vm, handlers);
  5071. } else {
  5072. vm._renderProxy = vm;
  5073. }
  5074. };
  5075. }
  5076. /* */
  5077. var seenObjects = new _Set();
  5078. /**
  5079. * Recursively traverse an object to evoke all converted
  5080. * getters, so that every nested property inside the object
  5081. * is collected as a "deep" dependency.
  5082. */
  5083. function traverse (val) {
  5084. _traverse(val, seenObjects);
  5085. seenObjects.clear();
  5086. }
  5087. function _traverse (val, seen) {
  5088. var i, keys;
  5089. var isA = Array.isArray(val);
  5090. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5091. return
  5092. }
  5093. if (val.__ob__) {
  5094. var depId = val.__ob__.dep.id;
  5095. if (seen.has(depId)) {
  5096. return
  5097. }
  5098. seen.add(depId);
  5099. }
  5100. if (isA) {
  5101. i = val.length;
  5102. while (i--) { _traverse(val[i], seen); }
  5103. } else {
  5104. keys = Object.keys(val);
  5105. i = keys.length;
  5106. while (i--) { _traverse(val[keys[i]], seen); }
  5107. }
  5108. }
  5109. var mark;
  5110. var measure;
  5111. if (true) {
  5112. var perf = inBrowser && window.performance;
  5113. /* istanbul ignore if */
  5114. if (
  5115. perf &&
  5116. perf.mark &&
  5117. perf.measure &&
  5118. perf.clearMarks &&
  5119. perf.clearMeasures
  5120. ) {
  5121. mark = function (tag) { return perf.mark(tag); };
  5122. measure = function (name, startTag, endTag) {
  5123. perf.measure(name, startTag, endTag);
  5124. perf.clearMarks(startTag);
  5125. perf.clearMarks(endTag);
  5126. // perf.clearMeasures(name)
  5127. };
  5128. }
  5129. }
  5130. /* */
  5131. var normalizeEvent = cached(function (name) {
  5132. var passive = name.charAt(0) === '&';
  5133. name = passive ? name.slice(1) : name;
  5134. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5135. name = once$$1 ? name.slice(1) : name;
  5136. var capture = name.charAt(0) === '!';
  5137. name = capture ? name.slice(1) : name;
  5138. return {
  5139. name: name,
  5140. once: once$$1,
  5141. capture: capture,
  5142. passive: passive
  5143. }
  5144. });
  5145. function createFnInvoker (fns, vm) {
  5146. function invoker () {
  5147. var arguments$1 = arguments;
  5148. var fns = invoker.fns;
  5149. if (Array.isArray(fns)) {
  5150. var cloned = fns.slice();
  5151. for (var i = 0; i < cloned.length; i++) {
  5152. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5153. }
  5154. } else {
  5155. // return handler return value for single handlers
  5156. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5157. }
  5158. }
  5159. invoker.fns = fns;
  5160. return invoker
  5161. }
  5162. function updateListeners (
  5163. on,
  5164. oldOn,
  5165. add,
  5166. remove$$1,
  5167. createOnceHandler,
  5168. vm
  5169. ) {
  5170. var name, def$$1, cur, old, event;
  5171. for (name in on) {
  5172. def$$1 = cur = on[name];
  5173. old = oldOn[name];
  5174. event = normalizeEvent(name);
  5175. if (isUndef(cur)) {
  5176. true && warn(
  5177. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5178. vm
  5179. );
  5180. } else if (isUndef(old)) {
  5181. if (isUndef(cur.fns)) {
  5182. cur = on[name] = createFnInvoker(cur, vm);
  5183. }
  5184. if (isTrue(event.once)) {
  5185. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5186. }
  5187. add(event.name, cur, event.capture, event.passive, event.params);
  5188. } else if (cur !== old) {
  5189. old.fns = cur;
  5190. on[name] = old;
  5191. }
  5192. }
  5193. for (name in oldOn) {
  5194. if (isUndef(on[name])) {
  5195. event = normalizeEvent(name);
  5196. remove$$1(event.name, oldOn[name], event.capture);
  5197. }
  5198. }
  5199. }
  5200. /* */
  5201. /* */
  5202. // fixed by xxxxxx (mp properties)
  5203. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5204. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5205. if (isUndef(propOptions)) {
  5206. return res
  5207. }
  5208. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5209. var attrs = data.attrs;
  5210. var props = data.props;
  5211. if (isDef(attrs) || isDef(props)) {
  5212. for (var key in propOptions) {
  5213. var altKey = hyphenate(key);
  5214. var result = checkProp(res, props, key, altKey, true) ||
  5215. checkProp(res, attrs, key, altKey, false);
  5216. // externalClass
  5217. if (
  5218. result &&
  5219. res[key] &&
  5220. externalClasses.indexOf(altKey) !== -1 &&
  5221. context[camelize(res[key])]
  5222. ) {
  5223. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5224. res[key] = context[camelize(res[key])];
  5225. }
  5226. }
  5227. }
  5228. return res
  5229. }
  5230. function extractPropsFromVNodeData (
  5231. data,
  5232. Ctor,
  5233. tag,
  5234. context// fixed by xxxxxx
  5235. ) {
  5236. // we are only extracting raw values here.
  5237. // validation and default values are handled in the child
  5238. // component itself.
  5239. var propOptions = Ctor.options.props;
  5240. if (isUndef(propOptions)) {
  5241. // fixed by xxxxxx
  5242. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5243. }
  5244. var res = {};
  5245. var attrs = data.attrs;
  5246. var props = data.props;
  5247. if (isDef(attrs) || isDef(props)) {
  5248. for (var key in propOptions) {
  5249. var altKey = hyphenate(key);
  5250. if (true) {
  5251. var keyInLowerCase = key.toLowerCase();
  5252. if (
  5253. key !== keyInLowerCase &&
  5254. attrs && hasOwn(attrs, keyInLowerCase)
  5255. ) {
  5256. tip(
  5257. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5258. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5259. " \"" + key + "\". " +
  5260. "Note that HTML attributes are case-insensitive and camelCased " +
  5261. "props need to use their kebab-case equivalents when using in-DOM " +
  5262. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5263. );
  5264. }
  5265. }
  5266. checkProp(res, props, key, altKey, true) ||
  5267. checkProp(res, attrs, key, altKey, false);
  5268. }
  5269. }
  5270. // fixed by xxxxxx
  5271. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5272. }
  5273. function checkProp (
  5274. res,
  5275. hash,
  5276. key,
  5277. altKey,
  5278. preserve
  5279. ) {
  5280. if (isDef(hash)) {
  5281. if (hasOwn(hash, key)) {
  5282. res[key] = hash[key];
  5283. if (!preserve) {
  5284. delete hash[key];
  5285. }
  5286. return true
  5287. } else if (hasOwn(hash, altKey)) {
  5288. res[key] = hash[altKey];
  5289. if (!preserve) {
  5290. delete hash[altKey];
  5291. }
  5292. return true
  5293. }
  5294. }
  5295. return false
  5296. }
  5297. /* */
  5298. // The template compiler attempts to minimize the need for normalization by
  5299. // statically analyzing the template at compile time.
  5300. //
  5301. // For plain HTML markup, normalization can be completely skipped because the
  5302. // generated render function is guaranteed to return Array<VNode>. There are
  5303. // two cases where extra normalization is needed:
  5304. // 1. When the children contains components - because a functional component
  5305. // may return an Array instead of a single root. In this case, just a simple
  5306. // normalization is needed - if any child is an Array, we flatten the whole
  5307. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5308. // because functional components already normalize their own children.
  5309. function simpleNormalizeChildren (children) {
  5310. for (var i = 0; i < children.length; i++) {
  5311. if (Array.isArray(children[i])) {
  5312. return Array.prototype.concat.apply([], children)
  5313. }
  5314. }
  5315. return children
  5316. }
  5317. // 2. When the children contains constructs that always generated nested Arrays,
  5318. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5319. // with hand-written render functions / JSX. In such cases a full normalization
  5320. // is needed to cater to all possible types of children values.
  5321. function normalizeChildren (children) {
  5322. return isPrimitive(children)
  5323. ? [createTextVNode(children)]
  5324. : Array.isArray(children)
  5325. ? normalizeArrayChildren(children)
  5326. : undefined
  5327. }
  5328. function isTextNode (node) {
  5329. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5330. }
  5331. function normalizeArrayChildren (children, nestedIndex) {
  5332. var res = [];
  5333. var i, c, lastIndex, last;
  5334. for (i = 0; i < children.length; i++) {
  5335. c = children[i];
  5336. if (isUndef(c) || typeof c === 'boolean') { continue }
  5337. lastIndex = res.length - 1;
  5338. last = res[lastIndex];
  5339. // nested
  5340. if (Array.isArray(c)) {
  5341. if (c.length > 0) {
  5342. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5343. // merge adjacent text nodes
  5344. if (isTextNode(c[0]) && isTextNode(last)) {
  5345. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5346. c.shift();
  5347. }
  5348. res.push.apply(res, c);
  5349. }
  5350. } else if (isPrimitive(c)) {
  5351. if (isTextNode(last)) {
  5352. // merge adjacent text nodes
  5353. // this is necessary for SSR hydration because text nodes are
  5354. // essentially merged when rendered to HTML strings
  5355. res[lastIndex] = createTextVNode(last.text + c);
  5356. } else if (c !== '') {
  5357. // convert primitive to vnode
  5358. res.push(createTextVNode(c));
  5359. }
  5360. } else {
  5361. if (isTextNode(c) && isTextNode(last)) {
  5362. // merge adjacent text nodes
  5363. res[lastIndex] = createTextVNode(last.text + c.text);
  5364. } else {
  5365. // default key for nested array children (likely generated by v-for)
  5366. if (isTrue(children._isVList) &&
  5367. isDef(c.tag) &&
  5368. isUndef(c.key) &&
  5369. isDef(nestedIndex)) {
  5370. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5371. }
  5372. res.push(c);
  5373. }
  5374. }
  5375. }
  5376. return res
  5377. }
  5378. /* */
  5379. function initProvide (vm) {
  5380. var provide = vm.$options.provide;
  5381. if (provide) {
  5382. vm._provided = typeof provide === 'function'
  5383. ? provide.call(vm)
  5384. : provide;
  5385. }
  5386. }
  5387. function initInjections (vm) {
  5388. var result = resolveInject(vm.$options.inject, vm);
  5389. if (result) {
  5390. toggleObserving(false);
  5391. Object.keys(result).forEach(function (key) {
  5392. /* istanbul ignore else */
  5393. if (true) {
  5394. defineReactive$$1(vm, key, result[key], function () {
  5395. warn(
  5396. "Avoid mutating an injected value directly since the changes will be " +
  5397. "overwritten whenever the provided component re-renders. " +
  5398. "injection being mutated: \"" + key + "\"",
  5399. vm
  5400. );
  5401. });
  5402. } else {}
  5403. });
  5404. toggleObserving(true);
  5405. }
  5406. }
  5407. function resolveInject (inject, vm) {
  5408. if (inject) {
  5409. // inject is :any because flow is not smart enough to figure out cached
  5410. var result = Object.create(null);
  5411. var keys = hasSymbol
  5412. ? Reflect.ownKeys(inject)
  5413. : Object.keys(inject);
  5414. for (var i = 0; i < keys.length; i++) {
  5415. var key = keys[i];
  5416. // #6574 in case the inject object is observed...
  5417. if (key === '__ob__') { continue }
  5418. var provideKey = inject[key].from;
  5419. var source = vm;
  5420. while (source) {
  5421. if (source._provided && hasOwn(source._provided, provideKey)) {
  5422. result[key] = source._provided[provideKey];
  5423. break
  5424. }
  5425. source = source.$parent;
  5426. }
  5427. if (!source) {
  5428. if ('default' in inject[key]) {
  5429. var provideDefault = inject[key].default;
  5430. result[key] = typeof provideDefault === 'function'
  5431. ? provideDefault.call(vm)
  5432. : provideDefault;
  5433. } else if (true) {
  5434. warn(("Injection \"" + key + "\" not found"), vm);
  5435. }
  5436. }
  5437. }
  5438. return result
  5439. }
  5440. }
  5441. /* */
  5442. /**
  5443. * Runtime helper for resolving raw children VNodes into a slot object.
  5444. */
  5445. function resolveSlots (
  5446. children,
  5447. context
  5448. ) {
  5449. if (!children || !children.length) {
  5450. return {}
  5451. }
  5452. var slots = {};
  5453. for (var i = 0, l = children.length; i < l; i++) {
  5454. var child = children[i];
  5455. var data = child.data;
  5456. // remove slot attribute if the node is resolved as a Vue slot node
  5457. if (data && data.attrs && data.attrs.slot) {
  5458. delete data.attrs.slot;
  5459. }
  5460. // named slots should only be respected if the vnode was rendered in the
  5461. // same context.
  5462. if ((child.context === context || child.fnContext === context) &&
  5463. data && data.slot != null
  5464. ) {
  5465. var name = data.slot;
  5466. var slot = (slots[name] || (slots[name] = []));
  5467. if (child.tag === 'template') {
  5468. slot.push.apply(slot, child.children || []);
  5469. } else {
  5470. slot.push(child);
  5471. }
  5472. } else {
  5473. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5474. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5475. (slots['page'] || (slots['page'] = [])).push(child);
  5476. }else{
  5477. (slots.default || (slots.default = [])).push(child);
  5478. }
  5479. }
  5480. }
  5481. // ignore slots that contains only whitespace
  5482. for (var name$1 in slots) {
  5483. if (slots[name$1].every(isWhitespace)) {
  5484. delete slots[name$1];
  5485. }
  5486. }
  5487. return slots
  5488. }
  5489. function isWhitespace (node) {
  5490. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5491. }
  5492. /* */
  5493. function normalizeScopedSlots (
  5494. slots,
  5495. normalSlots,
  5496. prevSlots
  5497. ) {
  5498. var res;
  5499. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5500. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5501. var key = slots && slots.$key;
  5502. if (!slots) {
  5503. res = {};
  5504. } else if (slots._normalized) {
  5505. // fast path 1: child component re-render only, parent did not change
  5506. return slots._normalized
  5507. } else if (
  5508. isStable &&
  5509. prevSlots &&
  5510. prevSlots !== emptyObject &&
  5511. key === prevSlots.$key &&
  5512. !hasNormalSlots &&
  5513. !prevSlots.$hasNormal
  5514. ) {
  5515. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5516. // only need to normalize once
  5517. return prevSlots
  5518. } else {
  5519. res = {};
  5520. for (var key$1 in slots) {
  5521. if (slots[key$1] && key$1[0] !== '$') {
  5522. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5523. }
  5524. }
  5525. }
  5526. // expose normal slots on scopedSlots
  5527. for (var key$2 in normalSlots) {
  5528. if (!(key$2 in res)) {
  5529. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5530. }
  5531. }
  5532. // avoriaz seems to mock a non-extensible $scopedSlots object
  5533. // and when that is passed down this would cause an error
  5534. if (slots && Object.isExtensible(slots)) {
  5535. (slots)._normalized = res;
  5536. }
  5537. def(res, '$stable', isStable);
  5538. def(res, '$key', key);
  5539. def(res, '$hasNormal', hasNormalSlots);
  5540. return res
  5541. }
  5542. function normalizeScopedSlot(normalSlots, key, fn) {
  5543. var normalized = function () {
  5544. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5545. res = res && typeof res === 'object' && !Array.isArray(res)
  5546. ? [res] // single vnode
  5547. : normalizeChildren(res);
  5548. return res && (
  5549. res.length === 0 ||
  5550. (res.length === 1 && res[0].isComment) // #9658
  5551. ) ? undefined
  5552. : res
  5553. };
  5554. // this is a slot using the new v-slot syntax without scope. although it is
  5555. // compiled as a scoped slot, render fn users would expect it to be present
  5556. // on this.$slots because the usage is semantically a normal slot.
  5557. if (fn.proxy) {
  5558. Object.defineProperty(normalSlots, key, {
  5559. get: normalized,
  5560. enumerable: true,
  5561. configurable: true
  5562. });
  5563. }
  5564. return normalized
  5565. }
  5566. function proxyNormalSlot(slots, key) {
  5567. return function () { return slots[key]; }
  5568. }
  5569. /* */
  5570. /**
  5571. * Runtime helper for rendering v-for lists.
  5572. */
  5573. function renderList (
  5574. val,
  5575. render
  5576. ) {
  5577. var ret, i, l, keys, key;
  5578. if (Array.isArray(val) || typeof val === 'string') {
  5579. ret = new Array(val.length);
  5580. for (i = 0, l = val.length; i < l; i++) {
  5581. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5582. }
  5583. } else if (typeof val === 'number') {
  5584. ret = new Array(val);
  5585. for (i = 0; i < val; i++) {
  5586. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5587. }
  5588. } else if (isObject(val)) {
  5589. if (hasSymbol && val[Symbol.iterator]) {
  5590. ret = [];
  5591. var iterator = val[Symbol.iterator]();
  5592. var result = iterator.next();
  5593. while (!result.done) {
  5594. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5595. result = iterator.next();
  5596. }
  5597. } else {
  5598. keys = Object.keys(val);
  5599. ret = new Array(keys.length);
  5600. for (i = 0, l = keys.length; i < l; i++) {
  5601. key = keys[i];
  5602. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5603. }
  5604. }
  5605. }
  5606. if (!isDef(ret)) {
  5607. ret = [];
  5608. }
  5609. (ret)._isVList = true;
  5610. return ret
  5611. }
  5612. /* */
  5613. /**
  5614. * Runtime helper for rendering <slot>
  5615. */
  5616. function renderSlot (
  5617. name,
  5618. fallback,
  5619. props,
  5620. bindObject
  5621. ) {
  5622. var scopedSlotFn = this.$scopedSlots[name];
  5623. var nodes;
  5624. if (scopedSlotFn) { // scoped slot
  5625. props = props || {};
  5626. if (bindObject) {
  5627. if ( true && !isObject(bindObject)) {
  5628. warn(
  5629. 'slot v-bind without argument expects an Object',
  5630. this
  5631. );
  5632. }
  5633. props = extend(extend({}, bindObject), props);
  5634. }
  5635. // fixed by xxxxxx app-plus scopedSlot
  5636. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5637. } else {
  5638. nodes = this.$slots[name] || fallback;
  5639. }
  5640. var target = props && props.slot;
  5641. if (target) {
  5642. return this.$createElement('template', { slot: target }, nodes)
  5643. } else {
  5644. return nodes
  5645. }
  5646. }
  5647. /* */
  5648. /**
  5649. * Runtime helper for resolving filters
  5650. */
  5651. function resolveFilter (id) {
  5652. return resolveAsset(this.$options, 'filters', id, true) || identity
  5653. }
  5654. /* */
  5655. function isKeyNotMatch (expect, actual) {
  5656. if (Array.isArray(expect)) {
  5657. return expect.indexOf(actual) === -1
  5658. } else {
  5659. return expect !== actual
  5660. }
  5661. }
  5662. /**
  5663. * Runtime helper for checking keyCodes from config.
  5664. * exposed as Vue.prototype._k
  5665. * passing in eventKeyName as last argument separately for backwards compat
  5666. */
  5667. function checkKeyCodes (
  5668. eventKeyCode,
  5669. key,
  5670. builtInKeyCode,
  5671. eventKeyName,
  5672. builtInKeyName
  5673. ) {
  5674. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5675. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5676. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5677. } else if (mappedKeyCode) {
  5678. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5679. } else if (eventKeyName) {
  5680. return hyphenate(eventKeyName) !== key
  5681. }
  5682. }
  5683. /* */
  5684. /**
  5685. * Runtime helper for merging v-bind="object" into a VNode's data.
  5686. */
  5687. function bindObjectProps (
  5688. data,
  5689. tag,
  5690. value,
  5691. asProp,
  5692. isSync
  5693. ) {
  5694. if (value) {
  5695. if (!isObject(value)) {
  5696. true && warn(
  5697. 'v-bind without argument expects an Object or Array value',
  5698. this
  5699. );
  5700. } else {
  5701. if (Array.isArray(value)) {
  5702. value = toObject(value);
  5703. }
  5704. var hash;
  5705. var loop = function ( key ) {
  5706. if (
  5707. key === 'class' ||
  5708. key === 'style' ||
  5709. isReservedAttribute(key)
  5710. ) {
  5711. hash = data;
  5712. } else {
  5713. var type = data.attrs && data.attrs.type;
  5714. hash = asProp || config.mustUseProp(tag, type, key)
  5715. ? data.domProps || (data.domProps = {})
  5716. : data.attrs || (data.attrs = {});
  5717. }
  5718. var camelizedKey = camelize(key);
  5719. var hyphenatedKey = hyphenate(key);
  5720. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5721. hash[key] = value[key];
  5722. if (isSync) {
  5723. var on = data.on || (data.on = {});
  5724. on[("update:" + key)] = function ($event) {
  5725. value[key] = $event;
  5726. };
  5727. }
  5728. }
  5729. };
  5730. for (var key in value) loop( key );
  5731. }
  5732. }
  5733. return data
  5734. }
  5735. /* */
  5736. /**
  5737. * Runtime helper for rendering static trees.
  5738. */
  5739. function renderStatic (
  5740. index,
  5741. isInFor
  5742. ) {
  5743. var cached = this._staticTrees || (this._staticTrees = []);
  5744. var tree = cached[index];
  5745. // if has already-rendered static tree and not inside v-for,
  5746. // we can reuse the same tree.
  5747. if (tree && !isInFor) {
  5748. return tree
  5749. }
  5750. // otherwise, render a fresh tree.
  5751. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5752. this._renderProxy,
  5753. null,
  5754. this // for render fns generated for functional component templates
  5755. );
  5756. markStatic(tree, ("__static__" + index), false);
  5757. return tree
  5758. }
  5759. /**
  5760. * Runtime helper for v-once.
  5761. * Effectively it means marking the node as static with a unique key.
  5762. */
  5763. function markOnce (
  5764. tree,
  5765. index,
  5766. key
  5767. ) {
  5768. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5769. return tree
  5770. }
  5771. function markStatic (
  5772. tree,
  5773. key,
  5774. isOnce
  5775. ) {
  5776. if (Array.isArray(tree)) {
  5777. for (var i = 0; i < tree.length; i++) {
  5778. if (tree[i] && typeof tree[i] !== 'string') {
  5779. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5780. }
  5781. }
  5782. } else {
  5783. markStaticNode(tree, key, isOnce);
  5784. }
  5785. }
  5786. function markStaticNode (node, key, isOnce) {
  5787. node.isStatic = true;
  5788. node.key = key;
  5789. node.isOnce = isOnce;
  5790. }
  5791. /* */
  5792. function bindObjectListeners (data, value) {
  5793. if (value) {
  5794. if (!isPlainObject(value)) {
  5795. true && warn(
  5796. 'v-on without argument expects an Object value',
  5797. this
  5798. );
  5799. } else {
  5800. var on = data.on = data.on ? extend({}, data.on) : {};
  5801. for (var key in value) {
  5802. var existing = on[key];
  5803. var ours = value[key];
  5804. on[key] = existing ? [].concat(existing, ours) : ours;
  5805. }
  5806. }
  5807. }
  5808. return data
  5809. }
  5810. /* */
  5811. function resolveScopedSlots (
  5812. fns, // see flow/vnode
  5813. res,
  5814. // the following are added in 2.6
  5815. hasDynamicKeys,
  5816. contentHashKey
  5817. ) {
  5818. res = res || { $stable: !hasDynamicKeys };
  5819. for (var i = 0; i < fns.length; i++) {
  5820. var slot = fns[i];
  5821. if (Array.isArray(slot)) {
  5822. resolveScopedSlots(slot, res, hasDynamicKeys);
  5823. } else if (slot) {
  5824. // marker for reverse proxying v-slot without scope on this.$slots
  5825. if (slot.proxy) {
  5826. slot.fn.proxy = true;
  5827. }
  5828. res[slot.key] = slot.fn;
  5829. }
  5830. }
  5831. if (contentHashKey) {
  5832. (res).$key = contentHashKey;
  5833. }
  5834. return res
  5835. }
  5836. /* */
  5837. function bindDynamicKeys (baseObj, values) {
  5838. for (var i = 0; i < values.length; i += 2) {
  5839. var key = values[i];
  5840. if (typeof key === 'string' && key) {
  5841. baseObj[values[i]] = values[i + 1];
  5842. } else if ( true && key !== '' && key !== null) {
  5843. // null is a special value for explicitly removing a binding
  5844. warn(
  5845. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5846. this
  5847. );
  5848. }
  5849. }
  5850. return baseObj
  5851. }
  5852. // helper to dynamically append modifier runtime markers to event names.
  5853. // ensure only append when value is already string, otherwise it will be cast
  5854. // to string and cause the type check to miss.
  5855. function prependModifier (value, symbol) {
  5856. return typeof value === 'string' ? symbol + value : value
  5857. }
  5858. /* */
  5859. function installRenderHelpers (target) {
  5860. target._o = markOnce;
  5861. target._n = toNumber;
  5862. target._s = toString;
  5863. target._l = renderList;
  5864. target._t = renderSlot;
  5865. target._q = looseEqual;
  5866. target._i = looseIndexOf;
  5867. target._m = renderStatic;
  5868. target._f = resolveFilter;
  5869. target._k = checkKeyCodes;
  5870. target._b = bindObjectProps;
  5871. target._v = createTextVNode;
  5872. target._e = createEmptyVNode;
  5873. target._u = resolveScopedSlots;
  5874. target._g = bindObjectListeners;
  5875. target._d = bindDynamicKeys;
  5876. target._p = prependModifier;
  5877. }
  5878. /* */
  5879. function FunctionalRenderContext (
  5880. data,
  5881. props,
  5882. children,
  5883. parent,
  5884. Ctor
  5885. ) {
  5886. var this$1 = this;
  5887. var options = Ctor.options;
  5888. // ensure the createElement function in functional components
  5889. // gets a unique context - this is necessary for correct named slot check
  5890. var contextVm;
  5891. if (hasOwn(parent, '_uid')) {
  5892. contextVm = Object.create(parent);
  5893. // $flow-disable-line
  5894. contextVm._original = parent;
  5895. } else {
  5896. // the context vm passed in is a functional context as well.
  5897. // in this case we want to make sure we are able to get a hold to the
  5898. // real context instance.
  5899. contextVm = parent;
  5900. // $flow-disable-line
  5901. parent = parent._original;
  5902. }
  5903. var isCompiled = isTrue(options._compiled);
  5904. var needNormalization = !isCompiled;
  5905. this.data = data;
  5906. this.props = props;
  5907. this.children = children;
  5908. this.parent = parent;
  5909. this.listeners = data.on || emptyObject;
  5910. this.injections = resolveInject(options.inject, parent);
  5911. this.slots = function () {
  5912. if (!this$1.$slots) {
  5913. normalizeScopedSlots(
  5914. data.scopedSlots,
  5915. this$1.$slots = resolveSlots(children, parent)
  5916. );
  5917. }
  5918. return this$1.$slots
  5919. };
  5920. Object.defineProperty(this, 'scopedSlots', ({
  5921. enumerable: true,
  5922. get: function get () {
  5923. return normalizeScopedSlots(data.scopedSlots, this.slots())
  5924. }
  5925. }));
  5926. // support for compiled functional template
  5927. if (isCompiled) {
  5928. // exposing $options for renderStatic()
  5929. this.$options = options;
  5930. // pre-resolve slots for renderSlot()
  5931. this.$slots = this.slots();
  5932. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  5933. }
  5934. if (options._scopeId) {
  5935. this._c = function (a, b, c, d) {
  5936. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  5937. if (vnode && !Array.isArray(vnode)) {
  5938. vnode.fnScopeId = options._scopeId;
  5939. vnode.fnContext = parent;
  5940. }
  5941. return vnode
  5942. };
  5943. } else {
  5944. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  5945. }
  5946. }
  5947. installRenderHelpers(FunctionalRenderContext.prototype);
  5948. function createFunctionalComponent (
  5949. Ctor,
  5950. propsData,
  5951. data,
  5952. contextVm,
  5953. children
  5954. ) {
  5955. var options = Ctor.options;
  5956. var props = {};
  5957. var propOptions = options.props;
  5958. if (isDef(propOptions)) {
  5959. for (var key in propOptions) {
  5960. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  5961. }
  5962. } else {
  5963. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  5964. if (isDef(data.props)) { mergeProps(props, data.props); }
  5965. }
  5966. var renderContext = new FunctionalRenderContext(
  5967. data,
  5968. props,
  5969. children,
  5970. contextVm,
  5971. Ctor
  5972. );
  5973. var vnode = options.render.call(null, renderContext._c, renderContext);
  5974. if (vnode instanceof VNode) {
  5975. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  5976. } else if (Array.isArray(vnode)) {
  5977. var vnodes = normalizeChildren(vnode) || [];
  5978. var res = new Array(vnodes.length);
  5979. for (var i = 0; i < vnodes.length; i++) {
  5980. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  5981. }
  5982. return res
  5983. }
  5984. }
  5985. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  5986. // #7817 clone node before setting fnContext, otherwise if the node is reused
  5987. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  5988. // that should not be matched to match.
  5989. var clone = cloneVNode(vnode);
  5990. clone.fnContext = contextVm;
  5991. clone.fnOptions = options;
  5992. if (true) {
  5993. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  5994. }
  5995. if (data.slot) {
  5996. (clone.data || (clone.data = {})).slot = data.slot;
  5997. }
  5998. return clone
  5999. }
  6000. function mergeProps (to, from) {
  6001. for (var key in from) {
  6002. to[camelize(key)] = from[key];
  6003. }
  6004. }
  6005. /* */
  6006. /* */
  6007. /* */
  6008. /* */
  6009. // inline hooks to be invoked on component VNodes during patch
  6010. var componentVNodeHooks = {
  6011. init: function init (vnode, hydrating) {
  6012. if (
  6013. vnode.componentInstance &&
  6014. !vnode.componentInstance._isDestroyed &&
  6015. vnode.data.keepAlive
  6016. ) {
  6017. // kept-alive components, treat as a patch
  6018. var mountedNode = vnode; // work around flow
  6019. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6020. } else {
  6021. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6022. vnode,
  6023. activeInstance
  6024. );
  6025. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6026. }
  6027. },
  6028. prepatch: function prepatch (oldVnode, vnode) {
  6029. var options = vnode.componentOptions;
  6030. var child = vnode.componentInstance = oldVnode.componentInstance;
  6031. updateChildComponent(
  6032. child,
  6033. options.propsData, // updated props
  6034. options.listeners, // updated listeners
  6035. vnode, // new parent vnode
  6036. options.children // new children
  6037. );
  6038. },
  6039. insert: function insert (vnode) {
  6040. var context = vnode.context;
  6041. var componentInstance = vnode.componentInstance;
  6042. if (!componentInstance._isMounted) {
  6043. callHook(componentInstance, 'onServiceCreated');
  6044. callHook(componentInstance, 'onServiceAttached');
  6045. componentInstance._isMounted = true;
  6046. callHook(componentInstance, 'mounted');
  6047. }
  6048. if (vnode.data.keepAlive) {
  6049. if (context._isMounted) {
  6050. // vue-router#1212
  6051. // During updates, a kept-alive component's child components may
  6052. // change, so directly walking the tree here may call activated hooks
  6053. // on incorrect children. Instead we push them into a queue which will
  6054. // be processed after the whole patch process ended.
  6055. queueActivatedComponent(componentInstance);
  6056. } else {
  6057. activateChildComponent(componentInstance, true /* direct */);
  6058. }
  6059. }
  6060. },
  6061. destroy: function destroy (vnode) {
  6062. var componentInstance = vnode.componentInstance;
  6063. if (!componentInstance._isDestroyed) {
  6064. if (!vnode.data.keepAlive) {
  6065. componentInstance.$destroy();
  6066. } else {
  6067. deactivateChildComponent(componentInstance, true /* direct */);
  6068. }
  6069. }
  6070. }
  6071. };
  6072. var hooksToMerge = Object.keys(componentVNodeHooks);
  6073. function createComponent (
  6074. Ctor,
  6075. data,
  6076. context,
  6077. children,
  6078. tag
  6079. ) {
  6080. if (isUndef(Ctor)) {
  6081. return
  6082. }
  6083. var baseCtor = context.$options._base;
  6084. // plain options object: turn it into a constructor
  6085. if (isObject(Ctor)) {
  6086. Ctor = baseCtor.extend(Ctor);
  6087. }
  6088. // if at this stage it's not a constructor or an async component factory,
  6089. // reject.
  6090. if (typeof Ctor !== 'function') {
  6091. if (true) {
  6092. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6093. }
  6094. return
  6095. }
  6096. // async component
  6097. var asyncFactory;
  6098. if (isUndef(Ctor.cid)) {
  6099. asyncFactory = Ctor;
  6100. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6101. if (Ctor === undefined) {
  6102. // return a placeholder node for async component, which is rendered
  6103. // as a comment node but preserves all the raw information for the node.
  6104. // the information will be used for async server-rendering and hydration.
  6105. return createAsyncPlaceholder(
  6106. asyncFactory,
  6107. data,
  6108. context,
  6109. children,
  6110. tag
  6111. )
  6112. }
  6113. }
  6114. data = data || {};
  6115. // resolve constructor options in case global mixins are applied after
  6116. // component constructor creation
  6117. resolveConstructorOptions(Ctor);
  6118. // transform component v-model data into props & events
  6119. if (isDef(data.model)) {
  6120. transformModel(Ctor.options, data);
  6121. }
  6122. // extract props
  6123. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6124. // functional component
  6125. if (isTrue(Ctor.options.functional)) {
  6126. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6127. }
  6128. // extract listeners, since these needs to be treated as
  6129. // child component listeners instead of DOM listeners
  6130. var listeners = data.on;
  6131. // replace with listeners with .native modifier
  6132. // so it gets processed during parent component patch.
  6133. data.on = data.nativeOn;
  6134. if (isTrue(Ctor.options.abstract)) {
  6135. // abstract components do not keep anything
  6136. // other than props & listeners & slot
  6137. // work around flow
  6138. var slot = data.slot;
  6139. data = {};
  6140. if (slot) {
  6141. data.slot = slot;
  6142. }
  6143. }
  6144. // install component management hooks onto the placeholder node
  6145. installComponentHooks(data);
  6146. // return a placeholder vnode
  6147. var name = Ctor.options.name || tag;
  6148. var vnode = new VNode(
  6149. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6150. data, undefined, undefined, undefined, context,
  6151. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6152. asyncFactory
  6153. );
  6154. return vnode
  6155. }
  6156. function createComponentInstanceForVnode (
  6157. vnode, // we know it's MountedComponentVNode but flow doesn't
  6158. parent // activeInstance in lifecycle state
  6159. ) {
  6160. var options = {
  6161. _isComponent: true,
  6162. _parentVnode: vnode,
  6163. parent: parent
  6164. };
  6165. // check inline-template render functions
  6166. var inlineTemplate = vnode.data.inlineTemplate;
  6167. if (isDef(inlineTemplate)) {
  6168. options.render = inlineTemplate.render;
  6169. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6170. }
  6171. return new vnode.componentOptions.Ctor(options)
  6172. }
  6173. function installComponentHooks (data) {
  6174. var hooks = data.hook || (data.hook = {});
  6175. for (var i = 0; i < hooksToMerge.length; i++) {
  6176. var key = hooksToMerge[i];
  6177. var existing = hooks[key];
  6178. var toMerge = componentVNodeHooks[key];
  6179. if (existing !== toMerge && !(existing && existing._merged)) {
  6180. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6181. }
  6182. }
  6183. }
  6184. function mergeHook$1 (f1, f2) {
  6185. var merged = function (a, b) {
  6186. // flow complains about extra args which is why we use any
  6187. f1(a, b);
  6188. f2(a, b);
  6189. };
  6190. merged._merged = true;
  6191. return merged
  6192. }
  6193. // transform component v-model info (value and callback) into
  6194. // prop and event handler respectively.
  6195. function transformModel (options, data) {
  6196. var prop = (options.model && options.model.prop) || 'value';
  6197. var event = (options.model && options.model.event) || 'input'
  6198. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6199. var on = data.on || (data.on = {});
  6200. var existing = on[event];
  6201. var callback = data.model.callback;
  6202. if (isDef(existing)) {
  6203. if (
  6204. Array.isArray(existing)
  6205. ? existing.indexOf(callback) === -1
  6206. : existing !== callback
  6207. ) {
  6208. on[event] = [callback].concat(existing);
  6209. }
  6210. } else {
  6211. on[event] = callback;
  6212. }
  6213. }
  6214. /* */
  6215. var SIMPLE_NORMALIZE = 1;
  6216. var ALWAYS_NORMALIZE = 2;
  6217. // wrapper function for providing a more flexible interface
  6218. // without getting yelled at by flow
  6219. function createElement (
  6220. context,
  6221. tag,
  6222. data,
  6223. children,
  6224. normalizationType,
  6225. alwaysNormalize
  6226. ) {
  6227. if (Array.isArray(data) || isPrimitive(data)) {
  6228. normalizationType = children;
  6229. children = data;
  6230. data = undefined;
  6231. }
  6232. if (isTrue(alwaysNormalize)) {
  6233. normalizationType = ALWAYS_NORMALIZE;
  6234. }
  6235. return _createElement(context, tag, data, children, normalizationType)
  6236. }
  6237. function _createElement (
  6238. context,
  6239. tag,
  6240. data,
  6241. children,
  6242. normalizationType
  6243. ) {
  6244. if (isDef(data) && isDef((data).__ob__)) {
  6245. true && warn(
  6246. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6247. 'Always create fresh vnode data objects in each render!',
  6248. context
  6249. );
  6250. return createEmptyVNode()
  6251. }
  6252. // object syntax in v-bind
  6253. if (isDef(data) && isDef(data.is)) {
  6254. tag = data.is;
  6255. }
  6256. if (!tag) {
  6257. // in case of component :is set to falsy value
  6258. return createEmptyVNode()
  6259. }
  6260. // warn against non-primitive key
  6261. if ( true &&
  6262. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6263. ) {
  6264. {
  6265. warn(
  6266. 'Avoid using non-primitive value as key, ' +
  6267. 'use string/number value instead.',
  6268. context
  6269. );
  6270. }
  6271. }
  6272. // support single function children as default scoped slot
  6273. if (Array.isArray(children) &&
  6274. typeof children[0] === 'function'
  6275. ) {
  6276. data = data || {};
  6277. data.scopedSlots = { default: children[0] };
  6278. children.length = 0;
  6279. }
  6280. if (normalizationType === ALWAYS_NORMALIZE) {
  6281. children = normalizeChildren(children);
  6282. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6283. children = simpleNormalizeChildren(children);
  6284. }
  6285. var vnode, ns;
  6286. if (typeof tag === 'string') {
  6287. var Ctor;
  6288. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6289. if (config.isReservedTag(tag)) {
  6290. // platform built-in elements
  6291. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6292. warn(
  6293. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6294. context
  6295. );
  6296. }
  6297. vnode = new VNode(
  6298. config.parsePlatformTagName(tag), data, children,
  6299. undefined, undefined, context
  6300. );
  6301. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6302. // component
  6303. vnode = createComponent(Ctor, data, context, children, tag);
  6304. } else {
  6305. // unknown or unlisted namespaced elements
  6306. // check at runtime because it may get assigned a namespace when its
  6307. // parent normalizes children
  6308. vnode = new VNode(
  6309. tag, data, children,
  6310. undefined, undefined, context
  6311. );
  6312. }
  6313. } else {
  6314. // direct component options / constructor
  6315. vnode = createComponent(tag, data, context, children);
  6316. }
  6317. if (Array.isArray(vnode)) {
  6318. return vnode
  6319. } else if (isDef(vnode)) {
  6320. if (isDef(ns)) { applyNS(vnode, ns); }
  6321. if (isDef(data)) { registerDeepBindings(data); }
  6322. return vnode
  6323. } else {
  6324. return createEmptyVNode()
  6325. }
  6326. }
  6327. function applyNS (vnode, ns, force) {
  6328. vnode.ns = ns;
  6329. if (vnode.tag === 'foreignObject') {
  6330. // use default namespace inside foreignObject
  6331. ns = undefined;
  6332. force = true;
  6333. }
  6334. if (isDef(vnode.children)) {
  6335. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6336. var child = vnode.children[i];
  6337. if (isDef(child.tag) && (
  6338. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6339. applyNS(child, ns, force);
  6340. }
  6341. }
  6342. }
  6343. }
  6344. // ref #5318
  6345. // necessary to ensure parent re-render when deep bindings like :style and
  6346. // :class are used on slot nodes
  6347. function registerDeepBindings (data) {
  6348. if (isObject(data.style)) {
  6349. traverse(data.style);
  6350. }
  6351. if (isObject(data.class)) {
  6352. traverse(data.class);
  6353. }
  6354. }
  6355. /* */
  6356. function initRender (vm) {
  6357. vm._vnode = null; // the root of the child tree
  6358. vm._staticTrees = null; // v-once cached trees
  6359. var options = vm.$options;
  6360. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6361. var renderContext = parentVnode && parentVnode.context;
  6362. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6363. vm.$scopedSlots = emptyObject;
  6364. // bind the createElement fn to this instance
  6365. // so that we get proper render context inside it.
  6366. // args order: tag, data, children, normalizationType, alwaysNormalize
  6367. // internal version is used by render functions compiled from templates
  6368. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6369. // normalization is always applied for the public version, used in
  6370. // user-written render functions.
  6371. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6372. // $attrs & $listeners are exposed for easier HOC creation.
  6373. // they need to be reactive so that HOCs using them are always updated
  6374. var parentData = parentVnode && parentVnode.data;
  6375. /* istanbul ignore else */
  6376. if (true) {
  6377. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6378. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6379. }, true);
  6380. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6381. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6382. }, true);
  6383. } else {}
  6384. }
  6385. var currentRenderingInstance = null;
  6386. function renderMixin (Vue) {
  6387. // install runtime convenience helpers
  6388. installRenderHelpers(Vue.prototype);
  6389. Vue.prototype.$nextTick = function (fn) {
  6390. return nextTick(fn, this)
  6391. };
  6392. Vue.prototype._render = function () {
  6393. var vm = this;
  6394. var ref = vm.$options;
  6395. var render = ref.render;
  6396. var _parentVnode = ref._parentVnode;
  6397. if (_parentVnode) {
  6398. vm.$scopedSlots = normalizeScopedSlots(
  6399. _parentVnode.data.scopedSlots,
  6400. vm.$slots,
  6401. vm.$scopedSlots
  6402. );
  6403. }
  6404. // set parent vnode. this allows render functions to have access
  6405. // to the data on the placeholder node.
  6406. vm.$vnode = _parentVnode;
  6407. // render self
  6408. var vnode;
  6409. try {
  6410. // There's no need to maintain a stack because all render fns are called
  6411. // separately from one another. Nested component's render fns are called
  6412. // when parent component is patched.
  6413. currentRenderingInstance = vm;
  6414. vnode = render.call(vm._renderProxy, vm.$createElement);
  6415. } catch (e) {
  6416. handleError(e, vm, "render");
  6417. // return error render result,
  6418. // or previous vnode to prevent render error causing blank component
  6419. /* istanbul ignore else */
  6420. if ( true && vm.$options.renderError) {
  6421. try {
  6422. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6423. } catch (e) {
  6424. handleError(e, vm, "renderError");
  6425. vnode = vm._vnode;
  6426. }
  6427. } else {
  6428. vnode = vm._vnode;
  6429. }
  6430. } finally {
  6431. currentRenderingInstance = null;
  6432. }
  6433. // if the returned array contains only a single node, allow it
  6434. if (Array.isArray(vnode) && vnode.length === 1) {
  6435. vnode = vnode[0];
  6436. }
  6437. // return empty vnode in case the render function errored out
  6438. if (!(vnode instanceof VNode)) {
  6439. if ( true && Array.isArray(vnode)) {
  6440. warn(
  6441. 'Multiple root nodes returned from render function. Render function ' +
  6442. 'should return a single root node.',
  6443. vm
  6444. );
  6445. }
  6446. vnode = createEmptyVNode();
  6447. }
  6448. // set parent
  6449. vnode.parent = _parentVnode;
  6450. return vnode
  6451. };
  6452. }
  6453. /* */
  6454. function ensureCtor (comp, base) {
  6455. if (
  6456. comp.__esModule ||
  6457. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6458. ) {
  6459. comp = comp.default;
  6460. }
  6461. return isObject(comp)
  6462. ? base.extend(comp)
  6463. : comp
  6464. }
  6465. function createAsyncPlaceholder (
  6466. factory,
  6467. data,
  6468. context,
  6469. children,
  6470. tag
  6471. ) {
  6472. var node = createEmptyVNode();
  6473. node.asyncFactory = factory;
  6474. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6475. return node
  6476. }
  6477. function resolveAsyncComponent (
  6478. factory,
  6479. baseCtor
  6480. ) {
  6481. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6482. return factory.errorComp
  6483. }
  6484. if (isDef(factory.resolved)) {
  6485. return factory.resolved
  6486. }
  6487. var owner = currentRenderingInstance;
  6488. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6489. // already pending
  6490. factory.owners.push(owner);
  6491. }
  6492. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6493. return factory.loadingComp
  6494. }
  6495. if (owner && !isDef(factory.owners)) {
  6496. var owners = factory.owners = [owner];
  6497. var sync = true;
  6498. var timerLoading = null;
  6499. var timerTimeout = null
  6500. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6501. var forceRender = function (renderCompleted) {
  6502. for (var i = 0, l = owners.length; i < l; i++) {
  6503. (owners[i]).$forceUpdate();
  6504. }
  6505. if (renderCompleted) {
  6506. owners.length = 0;
  6507. if (timerLoading !== null) {
  6508. clearTimeout(timerLoading);
  6509. timerLoading = null;
  6510. }
  6511. if (timerTimeout !== null) {
  6512. clearTimeout(timerTimeout);
  6513. timerTimeout = null;
  6514. }
  6515. }
  6516. };
  6517. var resolve = once(function (res) {
  6518. // cache resolved
  6519. factory.resolved = ensureCtor(res, baseCtor);
  6520. // invoke callbacks only if this is not a synchronous resolve
  6521. // (async resolves are shimmed as synchronous during SSR)
  6522. if (!sync) {
  6523. forceRender(true);
  6524. } else {
  6525. owners.length = 0;
  6526. }
  6527. });
  6528. var reject = once(function (reason) {
  6529. true && warn(
  6530. "Failed to resolve async component: " + (String(factory)) +
  6531. (reason ? ("\nReason: " + reason) : '')
  6532. );
  6533. if (isDef(factory.errorComp)) {
  6534. factory.error = true;
  6535. forceRender(true);
  6536. }
  6537. });
  6538. var res = factory(resolve, reject);
  6539. if (isObject(res)) {
  6540. if (isPromise(res)) {
  6541. // () => Promise
  6542. if (isUndef(factory.resolved)) {
  6543. res.then(resolve, reject);
  6544. }
  6545. } else if (isPromise(res.component)) {
  6546. res.component.then(resolve, reject);
  6547. if (isDef(res.error)) {
  6548. factory.errorComp = ensureCtor(res.error, baseCtor);
  6549. }
  6550. if (isDef(res.loading)) {
  6551. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6552. if (res.delay === 0) {
  6553. factory.loading = true;
  6554. } else {
  6555. timerLoading = setTimeout(function () {
  6556. timerLoading = null;
  6557. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6558. factory.loading = true;
  6559. forceRender(false);
  6560. }
  6561. }, res.delay || 200);
  6562. }
  6563. }
  6564. if (isDef(res.timeout)) {
  6565. timerTimeout = setTimeout(function () {
  6566. timerTimeout = null;
  6567. if (isUndef(factory.resolved)) {
  6568. reject(
  6569. true
  6570. ? ("timeout (" + (res.timeout) + "ms)")
  6571. : undefined
  6572. );
  6573. }
  6574. }, res.timeout);
  6575. }
  6576. }
  6577. }
  6578. sync = false;
  6579. // return in case resolved synchronously
  6580. return factory.loading
  6581. ? factory.loadingComp
  6582. : factory.resolved
  6583. }
  6584. }
  6585. /* */
  6586. function isAsyncPlaceholder (node) {
  6587. return node.isComment && node.asyncFactory
  6588. }
  6589. /* */
  6590. function getFirstComponentChild (children) {
  6591. if (Array.isArray(children)) {
  6592. for (var i = 0; i < children.length; i++) {
  6593. var c = children[i];
  6594. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6595. return c
  6596. }
  6597. }
  6598. }
  6599. }
  6600. /* */
  6601. /* */
  6602. function initEvents (vm) {
  6603. vm._events = Object.create(null);
  6604. vm._hasHookEvent = false;
  6605. // init parent attached events
  6606. var listeners = vm.$options._parentListeners;
  6607. if (listeners) {
  6608. updateComponentListeners(vm, listeners);
  6609. }
  6610. }
  6611. var target;
  6612. function add (event, fn) {
  6613. target.$on(event, fn);
  6614. }
  6615. function remove$1 (event, fn) {
  6616. target.$off(event, fn);
  6617. }
  6618. function createOnceHandler (event, fn) {
  6619. var _target = target;
  6620. return function onceHandler () {
  6621. var res = fn.apply(null, arguments);
  6622. if (res !== null) {
  6623. _target.$off(event, onceHandler);
  6624. }
  6625. }
  6626. }
  6627. function updateComponentListeners (
  6628. vm,
  6629. listeners,
  6630. oldListeners
  6631. ) {
  6632. target = vm;
  6633. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6634. target = undefined;
  6635. }
  6636. function eventsMixin (Vue) {
  6637. var hookRE = /^hook:/;
  6638. Vue.prototype.$on = function (event, fn) {
  6639. var vm = this;
  6640. if (Array.isArray(event)) {
  6641. for (var i = 0, l = event.length; i < l; i++) {
  6642. vm.$on(event[i], fn);
  6643. }
  6644. } else {
  6645. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6646. // optimize hook:event cost by using a boolean flag marked at registration
  6647. // instead of a hash lookup
  6648. if (hookRE.test(event)) {
  6649. vm._hasHookEvent = true;
  6650. }
  6651. }
  6652. return vm
  6653. };
  6654. Vue.prototype.$once = function (event, fn) {
  6655. var vm = this;
  6656. function on () {
  6657. vm.$off(event, on);
  6658. fn.apply(vm, arguments);
  6659. }
  6660. on.fn = fn;
  6661. vm.$on(event, on);
  6662. return vm
  6663. };
  6664. Vue.prototype.$off = function (event, fn) {
  6665. var vm = this;
  6666. // all
  6667. if (!arguments.length) {
  6668. vm._events = Object.create(null);
  6669. return vm
  6670. }
  6671. // array of events
  6672. if (Array.isArray(event)) {
  6673. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6674. vm.$off(event[i$1], fn);
  6675. }
  6676. return vm
  6677. }
  6678. // specific event
  6679. var cbs = vm._events[event];
  6680. if (!cbs) {
  6681. return vm
  6682. }
  6683. if (!fn) {
  6684. vm._events[event] = null;
  6685. return vm
  6686. }
  6687. // specific handler
  6688. var cb;
  6689. var i = cbs.length;
  6690. while (i--) {
  6691. cb = cbs[i];
  6692. if (cb === fn || cb.fn === fn) {
  6693. cbs.splice(i, 1);
  6694. break
  6695. }
  6696. }
  6697. return vm
  6698. };
  6699. Vue.prototype.$emit = function (event) {
  6700. var vm = this;
  6701. if (true) {
  6702. var lowerCaseEvent = event.toLowerCase();
  6703. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6704. tip(
  6705. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6706. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6707. "Note that HTML attributes are case-insensitive and you cannot use " +
  6708. "v-on to listen to camelCase events when using in-DOM templates. " +
  6709. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6710. );
  6711. }
  6712. }
  6713. var cbs = vm._events[event];
  6714. if (cbs) {
  6715. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6716. var args = toArray(arguments, 1);
  6717. var info = "event handler for \"" + event + "\"";
  6718. for (var i = 0, l = cbs.length; i < l; i++) {
  6719. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6720. }
  6721. }
  6722. return vm
  6723. };
  6724. }
  6725. /* */
  6726. var activeInstance = null;
  6727. var isUpdatingChildComponent = false;
  6728. function setActiveInstance(vm) {
  6729. var prevActiveInstance = activeInstance;
  6730. activeInstance = vm;
  6731. return function () {
  6732. activeInstance = prevActiveInstance;
  6733. }
  6734. }
  6735. function initLifecycle (vm) {
  6736. var options = vm.$options;
  6737. // locate first non-abstract parent
  6738. var parent = options.parent;
  6739. if (parent && !options.abstract) {
  6740. while (parent.$options.abstract && parent.$parent) {
  6741. parent = parent.$parent;
  6742. }
  6743. parent.$children.push(vm);
  6744. }
  6745. vm.$parent = parent;
  6746. vm.$root = parent ? parent.$root : vm;
  6747. vm.$children = [];
  6748. vm.$refs = {};
  6749. vm._watcher = null;
  6750. vm._inactive = null;
  6751. vm._directInactive = false;
  6752. vm._isMounted = false;
  6753. vm._isDestroyed = false;
  6754. vm._isBeingDestroyed = false;
  6755. }
  6756. function lifecycleMixin (Vue) {
  6757. Vue.prototype._update = function (vnode, hydrating) {
  6758. var vm = this;
  6759. var prevEl = vm.$el;
  6760. var prevVnode = vm._vnode;
  6761. var restoreActiveInstance = setActiveInstance(vm);
  6762. vm._vnode = vnode;
  6763. // Vue.prototype.__patch__ is injected in entry points
  6764. // based on the rendering backend used.
  6765. if (!prevVnode) {
  6766. // initial render
  6767. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6768. } else {
  6769. // updates
  6770. vm.$el = vm.__patch__(prevVnode, vnode);
  6771. }
  6772. restoreActiveInstance();
  6773. // update __vue__ reference
  6774. if (prevEl) {
  6775. prevEl.__vue__ = null;
  6776. }
  6777. if (vm.$el) {
  6778. vm.$el.__vue__ = vm;
  6779. }
  6780. // if parent is an HOC, update its $el as well
  6781. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6782. vm.$parent.$el = vm.$el;
  6783. }
  6784. // updated hook is called by the scheduler to ensure that children are
  6785. // updated in a parent's updated hook.
  6786. };
  6787. Vue.prototype.$forceUpdate = function () {
  6788. var vm = this;
  6789. if (vm._watcher) {
  6790. vm._watcher.update();
  6791. }
  6792. };
  6793. Vue.prototype.$destroy = function () {
  6794. var vm = this;
  6795. if (vm._isBeingDestroyed) {
  6796. return
  6797. }
  6798. callHook(vm, 'beforeDestroy');
  6799. vm._isBeingDestroyed = true;
  6800. // remove self from parent
  6801. var parent = vm.$parent;
  6802. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6803. remove(parent.$children, vm);
  6804. }
  6805. // teardown watchers
  6806. if (vm._watcher) {
  6807. vm._watcher.teardown();
  6808. }
  6809. var i = vm._watchers.length;
  6810. while (i--) {
  6811. vm._watchers[i].teardown();
  6812. }
  6813. // remove reference from data ob
  6814. // frozen object may not have observer.
  6815. if (vm._data.__ob__) {
  6816. vm._data.__ob__.vmCount--;
  6817. }
  6818. // call the last hook...
  6819. vm._isDestroyed = true;
  6820. // invoke destroy hooks on current rendered tree
  6821. vm.__patch__(vm._vnode, null);
  6822. // fire destroyed hook
  6823. callHook(vm, 'destroyed');
  6824. // turn off all instance listeners.
  6825. vm.$off();
  6826. // remove __vue__ reference
  6827. if (vm.$el) {
  6828. vm.$el.__vue__ = null;
  6829. }
  6830. // release circular reference (#6759)
  6831. if (vm.$vnode) {
  6832. vm.$vnode.parent = null;
  6833. }
  6834. };
  6835. }
  6836. function updateChildComponent (
  6837. vm,
  6838. propsData,
  6839. listeners,
  6840. parentVnode,
  6841. renderChildren
  6842. ) {
  6843. if (true) {
  6844. isUpdatingChildComponent = true;
  6845. }
  6846. // determine whether component has slot children
  6847. // we need to do this before overwriting $options._renderChildren.
  6848. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6849. // dynamic slot names). Static scoped slots compiled from template has the
  6850. // "$stable" marker.
  6851. var newScopedSlots = parentVnode.data.scopedSlots;
  6852. var oldScopedSlots = vm.$scopedSlots;
  6853. var hasDynamicScopedSlot = !!(
  6854. (newScopedSlots && !newScopedSlots.$stable) ||
  6855. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6856. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6857. );
  6858. // Any static slot children from the parent may have changed during parent's
  6859. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6860. // update is necessary to ensure correctness.
  6861. var needsForceUpdate = !!(
  6862. renderChildren || // has new static slots
  6863. vm.$options._renderChildren || // has old static slots
  6864. hasDynamicScopedSlot
  6865. );
  6866. vm.$options._parentVnode = parentVnode;
  6867. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  6868. if (vm._vnode) { // update child tree's parent
  6869. vm._vnode.parent = parentVnode;
  6870. }
  6871. vm.$options._renderChildren = renderChildren;
  6872. // update $attrs and $listeners hash
  6873. // these are also reactive so they may trigger child update if the child
  6874. // used them during render
  6875. vm.$attrs = parentVnode.data.attrs || emptyObject;
  6876. vm.$listeners = listeners || emptyObject;
  6877. // update props
  6878. if (propsData && vm.$options.props) {
  6879. toggleObserving(false);
  6880. var props = vm._props;
  6881. var propKeys = vm.$options._propKeys || [];
  6882. for (var i = 0; i < propKeys.length; i++) {
  6883. var key = propKeys[i];
  6884. var propOptions = vm.$options.props; // wtf flow?
  6885. props[key] = validateProp(key, propOptions, propsData, vm);
  6886. }
  6887. toggleObserving(true);
  6888. // keep a copy of raw propsData
  6889. vm.$options.propsData = propsData;
  6890. }
  6891. // fixed by xxxxxx update properties(mp runtime)
  6892. vm._$updateProperties && vm._$updateProperties(vm);
  6893. // update listeners
  6894. listeners = listeners || emptyObject;
  6895. var oldListeners = vm.$options._parentListeners;
  6896. vm.$options._parentListeners = listeners;
  6897. updateComponentListeners(vm, listeners, oldListeners);
  6898. // resolve slots + force update if has children
  6899. if (needsForceUpdate) {
  6900. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  6901. vm.$forceUpdate();
  6902. }
  6903. if (true) {
  6904. isUpdatingChildComponent = false;
  6905. }
  6906. }
  6907. function isInInactiveTree (vm) {
  6908. while (vm && (vm = vm.$parent)) {
  6909. if (vm._inactive) { return true }
  6910. }
  6911. return false
  6912. }
  6913. function activateChildComponent (vm, direct) {
  6914. if (direct) {
  6915. vm._directInactive = false;
  6916. if (isInInactiveTree(vm)) {
  6917. return
  6918. }
  6919. } else if (vm._directInactive) {
  6920. return
  6921. }
  6922. if (vm._inactive || vm._inactive === null) {
  6923. vm._inactive = false;
  6924. for (var i = 0; i < vm.$children.length; i++) {
  6925. activateChildComponent(vm.$children[i]);
  6926. }
  6927. callHook(vm, 'activated');
  6928. }
  6929. }
  6930. function deactivateChildComponent (vm, direct) {
  6931. if (direct) {
  6932. vm._directInactive = true;
  6933. if (isInInactiveTree(vm)) {
  6934. return
  6935. }
  6936. }
  6937. if (!vm._inactive) {
  6938. vm._inactive = true;
  6939. for (var i = 0; i < vm.$children.length; i++) {
  6940. deactivateChildComponent(vm.$children[i]);
  6941. }
  6942. callHook(vm, 'deactivated');
  6943. }
  6944. }
  6945. function callHook (vm, hook) {
  6946. // #7573 disable dep collection when invoking lifecycle hooks
  6947. pushTarget();
  6948. var handlers = vm.$options[hook];
  6949. var info = hook + " hook";
  6950. if (handlers) {
  6951. for (var i = 0, j = handlers.length; i < j; i++) {
  6952. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  6953. }
  6954. }
  6955. if (vm._hasHookEvent) {
  6956. vm.$emit('hook:' + hook);
  6957. }
  6958. popTarget();
  6959. }
  6960. /* */
  6961. var MAX_UPDATE_COUNT = 100;
  6962. var queue = [];
  6963. var activatedChildren = [];
  6964. var has = {};
  6965. var circular = {};
  6966. var waiting = false;
  6967. var flushing = false;
  6968. var index = 0;
  6969. /**
  6970. * Reset the scheduler's state.
  6971. */
  6972. function resetSchedulerState () {
  6973. index = queue.length = activatedChildren.length = 0;
  6974. has = {};
  6975. if (true) {
  6976. circular = {};
  6977. }
  6978. waiting = flushing = false;
  6979. }
  6980. // Async edge case #6566 requires saving the timestamp when event listeners are
  6981. // attached. However, calling performance.now() has a perf overhead especially
  6982. // if the page has thousands of event listeners. Instead, we take a timestamp
  6983. // every time the scheduler flushes and use that for all event listeners
  6984. // attached during that flush.
  6985. var currentFlushTimestamp = 0;
  6986. // Async edge case fix requires storing an event listener's attach timestamp.
  6987. var getNow = Date.now;
  6988. // Determine what event timestamp the browser is using. Annoyingly, the
  6989. // timestamp can either be hi-res (relative to page load) or low-res
  6990. // (relative to UNIX epoch), so in order to compare time we have to use the
  6991. // same timestamp type when saving the flush timestamp.
  6992. // All IE versions use low-res event timestamps, and have problematic clock
  6993. // implementations (#9632)
  6994. if (inBrowser && !isIE) {
  6995. var performance = window.performance;
  6996. if (
  6997. performance &&
  6998. typeof performance.now === 'function' &&
  6999. getNow() > document.createEvent('Event').timeStamp
  7000. ) {
  7001. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7002. // smaller than it, it means the event is using a hi-res timestamp,
  7003. // and we need to use the hi-res version for event listener timestamps as
  7004. // well.
  7005. getNow = function () { return performance.now(); };
  7006. }
  7007. }
  7008. /**
  7009. * Flush both queues and run the watchers.
  7010. */
  7011. function flushSchedulerQueue () {
  7012. currentFlushTimestamp = getNow();
  7013. flushing = true;
  7014. var watcher, id;
  7015. // Sort queue before flush.
  7016. // This ensures that:
  7017. // 1. Components are updated from parent to child. (because parent is always
  7018. // created before the child)
  7019. // 2. A component's user watchers are run before its render watcher (because
  7020. // user watchers are created before the render watcher)
  7021. // 3. If a component is destroyed during a parent component's watcher run,
  7022. // its watchers can be skipped.
  7023. queue.sort(function (a, b) { return a.id - b.id; });
  7024. // do not cache length because more watchers might be pushed
  7025. // as we run existing watchers
  7026. for (index = 0; index < queue.length; index++) {
  7027. watcher = queue[index];
  7028. if (watcher.before) {
  7029. watcher.before();
  7030. }
  7031. id = watcher.id;
  7032. has[id] = null;
  7033. watcher.run();
  7034. // in dev build, check and stop circular updates.
  7035. if ( true && has[id] != null) {
  7036. circular[id] = (circular[id] || 0) + 1;
  7037. if (circular[id] > MAX_UPDATE_COUNT) {
  7038. warn(
  7039. 'You may have an infinite update loop ' + (
  7040. watcher.user
  7041. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7042. : "in a component render function."
  7043. ),
  7044. watcher.vm
  7045. );
  7046. break
  7047. }
  7048. }
  7049. }
  7050. // keep copies of post queues before resetting state
  7051. var activatedQueue = activatedChildren.slice();
  7052. var updatedQueue = queue.slice();
  7053. resetSchedulerState();
  7054. // call component updated and activated hooks
  7055. callActivatedHooks(activatedQueue);
  7056. callUpdatedHooks(updatedQueue);
  7057. // devtool hook
  7058. /* istanbul ignore if */
  7059. if (devtools && config.devtools) {
  7060. devtools.emit('flush');
  7061. }
  7062. }
  7063. function callUpdatedHooks (queue) {
  7064. var i = queue.length;
  7065. while (i--) {
  7066. var watcher = queue[i];
  7067. var vm = watcher.vm;
  7068. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7069. callHook(vm, 'updated');
  7070. }
  7071. }
  7072. }
  7073. /**
  7074. * Queue a kept-alive component that was activated during patch.
  7075. * The queue will be processed after the entire tree has been patched.
  7076. */
  7077. function queueActivatedComponent (vm) {
  7078. // setting _inactive to false here so that a render function can
  7079. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7080. vm._inactive = false;
  7081. activatedChildren.push(vm);
  7082. }
  7083. function callActivatedHooks (queue) {
  7084. for (var i = 0; i < queue.length; i++) {
  7085. queue[i]._inactive = true;
  7086. activateChildComponent(queue[i], true /* true */);
  7087. }
  7088. }
  7089. /**
  7090. * Push a watcher into the watcher queue.
  7091. * Jobs with duplicate IDs will be skipped unless it's
  7092. * pushed when the queue is being flushed.
  7093. */
  7094. function queueWatcher (watcher) {
  7095. var id = watcher.id;
  7096. if (has[id] == null) {
  7097. has[id] = true;
  7098. if (!flushing) {
  7099. queue.push(watcher);
  7100. } else {
  7101. // if already flushing, splice the watcher based on its id
  7102. // if already past its id, it will be run next immediately.
  7103. var i = queue.length - 1;
  7104. while (i > index && queue[i].id > watcher.id) {
  7105. i--;
  7106. }
  7107. queue.splice(i + 1, 0, watcher);
  7108. }
  7109. // queue the flush
  7110. if (!waiting) {
  7111. waiting = true;
  7112. if ( true && !config.async) {
  7113. flushSchedulerQueue();
  7114. return
  7115. }
  7116. nextTick(flushSchedulerQueue);
  7117. }
  7118. }
  7119. }
  7120. /* */
  7121. var uid$2 = 0;
  7122. /**
  7123. * A watcher parses an expression, collects dependencies,
  7124. * and fires callback when the expression value changes.
  7125. * This is used for both the $watch() api and directives.
  7126. */
  7127. var Watcher = function Watcher (
  7128. vm,
  7129. expOrFn,
  7130. cb,
  7131. options,
  7132. isRenderWatcher
  7133. ) {
  7134. this.vm = vm;
  7135. if (isRenderWatcher) {
  7136. vm._watcher = this;
  7137. }
  7138. vm._watchers.push(this);
  7139. // options
  7140. if (options) {
  7141. this.deep = !!options.deep;
  7142. this.user = !!options.user;
  7143. this.lazy = !!options.lazy;
  7144. this.sync = !!options.sync;
  7145. this.before = options.before;
  7146. } else {
  7147. this.deep = this.user = this.lazy = this.sync = false;
  7148. }
  7149. this.cb = cb;
  7150. this.id = ++uid$2; // uid for batching
  7151. this.active = true;
  7152. this.dirty = this.lazy; // for lazy watchers
  7153. this.deps = [];
  7154. this.newDeps = [];
  7155. this.depIds = new _Set();
  7156. this.newDepIds = new _Set();
  7157. this.expression = true
  7158. ? expOrFn.toString()
  7159. : undefined;
  7160. // parse expression for getter
  7161. if (typeof expOrFn === 'function') {
  7162. this.getter = expOrFn;
  7163. } else {
  7164. this.getter = parsePath(expOrFn);
  7165. if (!this.getter) {
  7166. this.getter = noop;
  7167. true && warn(
  7168. "Failed watching path: \"" + expOrFn + "\" " +
  7169. 'Watcher only accepts simple dot-delimited paths. ' +
  7170. 'For full control, use a function instead.',
  7171. vm
  7172. );
  7173. }
  7174. }
  7175. this.value = this.lazy
  7176. ? undefined
  7177. : this.get();
  7178. };
  7179. /**
  7180. * Evaluate the getter, and re-collect dependencies.
  7181. */
  7182. Watcher.prototype.get = function get () {
  7183. pushTarget(this);
  7184. var value;
  7185. var vm = this.vm;
  7186. try {
  7187. value = this.getter.call(vm, vm);
  7188. } catch (e) {
  7189. if (this.user) {
  7190. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7191. } else {
  7192. throw e
  7193. }
  7194. } finally {
  7195. // "touch" every property so they are all tracked as
  7196. // dependencies for deep watching
  7197. if (this.deep) {
  7198. traverse(value);
  7199. }
  7200. popTarget();
  7201. this.cleanupDeps();
  7202. }
  7203. return value
  7204. };
  7205. /**
  7206. * Add a dependency to this directive.
  7207. */
  7208. Watcher.prototype.addDep = function addDep (dep) {
  7209. var id = dep.id;
  7210. if (!this.newDepIds.has(id)) {
  7211. this.newDepIds.add(id);
  7212. this.newDeps.push(dep);
  7213. if (!this.depIds.has(id)) {
  7214. dep.addSub(this);
  7215. }
  7216. }
  7217. };
  7218. /**
  7219. * Clean up for dependency collection.
  7220. */
  7221. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7222. var i = this.deps.length;
  7223. while (i--) {
  7224. var dep = this.deps[i];
  7225. if (!this.newDepIds.has(dep.id)) {
  7226. dep.removeSub(this);
  7227. }
  7228. }
  7229. var tmp = this.depIds;
  7230. this.depIds = this.newDepIds;
  7231. this.newDepIds = tmp;
  7232. this.newDepIds.clear();
  7233. tmp = this.deps;
  7234. this.deps = this.newDeps;
  7235. this.newDeps = tmp;
  7236. this.newDeps.length = 0;
  7237. };
  7238. /**
  7239. * Subscriber interface.
  7240. * Will be called when a dependency changes.
  7241. */
  7242. Watcher.prototype.update = function update () {
  7243. /* istanbul ignore else */
  7244. if (this.lazy) {
  7245. this.dirty = true;
  7246. } else if (this.sync) {
  7247. this.run();
  7248. } else {
  7249. queueWatcher(this);
  7250. }
  7251. };
  7252. /**
  7253. * Scheduler job interface.
  7254. * Will be called by the scheduler.
  7255. */
  7256. Watcher.prototype.run = function run () {
  7257. if (this.active) {
  7258. var value = this.get();
  7259. if (
  7260. value !== this.value ||
  7261. // Deep watchers and watchers on Object/Arrays should fire even
  7262. // when the value is the same, because the value may
  7263. // have mutated.
  7264. isObject(value) ||
  7265. this.deep
  7266. ) {
  7267. // set new value
  7268. var oldValue = this.value;
  7269. this.value = value;
  7270. if (this.user) {
  7271. try {
  7272. this.cb.call(this.vm, value, oldValue);
  7273. } catch (e) {
  7274. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7275. }
  7276. } else {
  7277. this.cb.call(this.vm, value, oldValue);
  7278. }
  7279. }
  7280. }
  7281. };
  7282. /**
  7283. * Evaluate the value of the watcher.
  7284. * This only gets called for lazy watchers.
  7285. */
  7286. Watcher.prototype.evaluate = function evaluate () {
  7287. this.value = this.get();
  7288. this.dirty = false;
  7289. };
  7290. /**
  7291. * Depend on all deps collected by this watcher.
  7292. */
  7293. Watcher.prototype.depend = function depend () {
  7294. var i = this.deps.length;
  7295. while (i--) {
  7296. this.deps[i].depend();
  7297. }
  7298. };
  7299. /**
  7300. * Remove self from all dependencies' subscriber list.
  7301. */
  7302. Watcher.prototype.teardown = function teardown () {
  7303. if (this.active) {
  7304. // remove self from vm's watcher list
  7305. // this is a somewhat expensive operation so we skip it
  7306. // if the vm is being destroyed.
  7307. if (!this.vm._isBeingDestroyed) {
  7308. remove(this.vm._watchers, this);
  7309. }
  7310. var i = this.deps.length;
  7311. while (i--) {
  7312. this.deps[i].removeSub(this);
  7313. }
  7314. this.active = false;
  7315. }
  7316. };
  7317. /* */
  7318. var sharedPropertyDefinition = {
  7319. enumerable: true,
  7320. configurable: true,
  7321. get: noop,
  7322. set: noop
  7323. };
  7324. function proxy (target, sourceKey, key) {
  7325. sharedPropertyDefinition.get = function proxyGetter () {
  7326. return this[sourceKey][key]
  7327. };
  7328. sharedPropertyDefinition.set = function proxySetter (val) {
  7329. this[sourceKey][key] = val;
  7330. };
  7331. Object.defineProperty(target, key, sharedPropertyDefinition);
  7332. }
  7333. function initState (vm) {
  7334. vm._watchers = [];
  7335. var opts = vm.$options;
  7336. if (opts.props) { initProps(vm, opts.props); }
  7337. if (opts.methods) { initMethods(vm, opts.methods); }
  7338. if (opts.data) {
  7339. initData(vm);
  7340. } else {
  7341. observe(vm._data = {}, true /* asRootData */);
  7342. }
  7343. if (opts.computed) { initComputed(vm, opts.computed); }
  7344. if (opts.watch && opts.watch !== nativeWatch) {
  7345. initWatch(vm, opts.watch);
  7346. }
  7347. }
  7348. function initProps (vm, propsOptions) {
  7349. var propsData = vm.$options.propsData || {};
  7350. var props = vm._props = {};
  7351. // cache prop keys so that future props updates can iterate using Array
  7352. // instead of dynamic object key enumeration.
  7353. var keys = vm.$options._propKeys = [];
  7354. var isRoot = !vm.$parent;
  7355. // root instance props should be converted
  7356. if (!isRoot) {
  7357. toggleObserving(false);
  7358. }
  7359. var loop = function ( key ) {
  7360. keys.push(key);
  7361. var value = validateProp(key, propsOptions, propsData, vm);
  7362. /* istanbul ignore else */
  7363. if (true) {
  7364. var hyphenatedKey = hyphenate(key);
  7365. if (isReservedAttribute(hyphenatedKey) ||
  7366. config.isReservedAttr(hyphenatedKey)) {
  7367. warn(
  7368. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7369. vm
  7370. );
  7371. }
  7372. defineReactive$$1(props, key, value, function () {
  7373. if (!isRoot && !isUpdatingChildComponent) {
  7374. {
  7375. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7376. return
  7377. }
  7378. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7379. if(
  7380. key === 'value' &&
  7381. Array.isArray(vm.$options.behaviors) &&
  7382. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7383. ){
  7384. return
  7385. }
  7386. if(vm._getFormData){
  7387. return
  7388. }
  7389. var $parent = vm.$parent;
  7390. while($parent){
  7391. if($parent.__next_tick_pending){
  7392. return
  7393. }
  7394. $parent = $parent.$parent;
  7395. }
  7396. }
  7397. warn(
  7398. "Avoid mutating a prop directly since the value will be " +
  7399. "overwritten whenever the parent component re-renders. " +
  7400. "Instead, use a data or computed property based on the prop's " +
  7401. "value. Prop being mutated: \"" + key + "\"",
  7402. vm
  7403. );
  7404. }
  7405. });
  7406. } else {}
  7407. // static props are already proxied on the component's prototype
  7408. // during Vue.extend(). We only need to proxy props defined at
  7409. // instantiation here.
  7410. if (!(key in vm)) {
  7411. proxy(vm, "_props", key);
  7412. }
  7413. };
  7414. for (var key in propsOptions) loop( key );
  7415. toggleObserving(true);
  7416. }
  7417. function initData (vm) {
  7418. var data = vm.$options.data;
  7419. data = vm._data = typeof data === 'function'
  7420. ? getData(data, vm)
  7421. : data || {};
  7422. if (!isPlainObject(data)) {
  7423. data = {};
  7424. true && warn(
  7425. 'data functions should return an object:\n' +
  7426. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7427. vm
  7428. );
  7429. }
  7430. // proxy data on instance
  7431. var keys = Object.keys(data);
  7432. var props = vm.$options.props;
  7433. var methods = vm.$options.methods;
  7434. var i = keys.length;
  7435. while (i--) {
  7436. var key = keys[i];
  7437. if (true) {
  7438. if (methods && hasOwn(methods, key)) {
  7439. warn(
  7440. ("Method \"" + key + "\" has already been defined as a data property."),
  7441. vm
  7442. );
  7443. }
  7444. }
  7445. if (props && hasOwn(props, key)) {
  7446. true && warn(
  7447. "The data property \"" + key + "\" is already declared as a prop. " +
  7448. "Use prop default value instead.",
  7449. vm
  7450. );
  7451. } else if (!isReserved(key)) {
  7452. proxy(vm, "_data", key);
  7453. }
  7454. }
  7455. // observe data
  7456. observe(data, true /* asRootData */);
  7457. }
  7458. function getData (data, vm) {
  7459. // #7573 disable dep collection when invoking data getters
  7460. pushTarget();
  7461. try {
  7462. return data.call(vm, vm)
  7463. } catch (e) {
  7464. handleError(e, vm, "data()");
  7465. return {}
  7466. } finally {
  7467. popTarget();
  7468. }
  7469. }
  7470. var computedWatcherOptions = { lazy: true };
  7471. function initComputed (vm, computed) {
  7472. // $flow-disable-line
  7473. var watchers = vm._computedWatchers = Object.create(null);
  7474. // computed properties are just getters during SSR
  7475. var isSSR = isServerRendering();
  7476. for (var key in computed) {
  7477. var userDef = computed[key];
  7478. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7479. if ( true && getter == null) {
  7480. warn(
  7481. ("Getter is missing for computed property \"" + key + "\"."),
  7482. vm
  7483. );
  7484. }
  7485. if (!isSSR) {
  7486. // create internal watcher for the computed property.
  7487. watchers[key] = new Watcher(
  7488. vm,
  7489. getter || noop,
  7490. noop,
  7491. computedWatcherOptions
  7492. );
  7493. }
  7494. // component-defined computed properties are already defined on the
  7495. // component prototype. We only need to define computed properties defined
  7496. // at instantiation here.
  7497. if (!(key in vm)) {
  7498. defineComputed(vm, key, userDef);
  7499. } else if (true) {
  7500. if (key in vm.$data) {
  7501. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7502. } else if (vm.$options.props && key in vm.$options.props) {
  7503. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7504. }
  7505. }
  7506. }
  7507. }
  7508. function defineComputed (
  7509. target,
  7510. key,
  7511. userDef
  7512. ) {
  7513. var shouldCache = !isServerRendering();
  7514. if (typeof userDef === 'function') {
  7515. sharedPropertyDefinition.get = shouldCache
  7516. ? createComputedGetter(key)
  7517. : createGetterInvoker(userDef);
  7518. sharedPropertyDefinition.set = noop;
  7519. } else {
  7520. sharedPropertyDefinition.get = userDef.get
  7521. ? shouldCache && userDef.cache !== false
  7522. ? createComputedGetter(key)
  7523. : createGetterInvoker(userDef.get)
  7524. : noop;
  7525. sharedPropertyDefinition.set = userDef.set || noop;
  7526. }
  7527. if ( true &&
  7528. sharedPropertyDefinition.set === noop) {
  7529. sharedPropertyDefinition.set = function () {
  7530. warn(
  7531. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7532. this
  7533. );
  7534. };
  7535. }
  7536. Object.defineProperty(target, key, sharedPropertyDefinition);
  7537. }
  7538. function createComputedGetter (key) {
  7539. return function computedGetter () {
  7540. var watcher = this._computedWatchers && this._computedWatchers[key];
  7541. if (watcher) {
  7542. if (watcher.dirty) {
  7543. watcher.evaluate();
  7544. }
  7545. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7546. watcher.depend();
  7547. }
  7548. return watcher.value
  7549. }
  7550. }
  7551. }
  7552. function createGetterInvoker(fn) {
  7553. return function computedGetter () {
  7554. return fn.call(this, this)
  7555. }
  7556. }
  7557. function initMethods (vm, methods) {
  7558. var props = vm.$options.props;
  7559. for (var key in methods) {
  7560. if (true) {
  7561. if (typeof methods[key] !== 'function') {
  7562. warn(
  7563. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7564. "Did you reference the function correctly?",
  7565. vm
  7566. );
  7567. }
  7568. if (props && hasOwn(props, key)) {
  7569. warn(
  7570. ("Method \"" + key + "\" has already been defined as a prop."),
  7571. vm
  7572. );
  7573. }
  7574. if ((key in vm) && isReserved(key)) {
  7575. warn(
  7576. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7577. "Avoid defining component methods that start with _ or $."
  7578. );
  7579. }
  7580. }
  7581. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7582. }
  7583. }
  7584. function initWatch (vm, watch) {
  7585. for (var key in watch) {
  7586. var handler = watch[key];
  7587. if (Array.isArray(handler)) {
  7588. for (var i = 0; i < handler.length; i++) {
  7589. createWatcher(vm, key, handler[i]);
  7590. }
  7591. } else {
  7592. createWatcher(vm, key, handler);
  7593. }
  7594. }
  7595. }
  7596. function createWatcher (
  7597. vm,
  7598. expOrFn,
  7599. handler,
  7600. options
  7601. ) {
  7602. if (isPlainObject(handler)) {
  7603. options = handler;
  7604. handler = handler.handler;
  7605. }
  7606. if (typeof handler === 'string') {
  7607. handler = vm[handler];
  7608. }
  7609. return vm.$watch(expOrFn, handler, options)
  7610. }
  7611. function stateMixin (Vue) {
  7612. // flow somehow has problems with directly declared definition object
  7613. // when using Object.defineProperty, so we have to procedurally build up
  7614. // the object here.
  7615. var dataDef = {};
  7616. dataDef.get = function () { return this._data };
  7617. var propsDef = {};
  7618. propsDef.get = function () { return this._props };
  7619. if (true) {
  7620. dataDef.set = function () {
  7621. warn(
  7622. 'Avoid replacing instance root $data. ' +
  7623. 'Use nested data properties instead.',
  7624. this
  7625. );
  7626. };
  7627. propsDef.set = function () {
  7628. warn("$props is readonly.", this);
  7629. };
  7630. }
  7631. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7632. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7633. Vue.prototype.$set = set;
  7634. Vue.prototype.$delete = del;
  7635. Vue.prototype.$watch = function (
  7636. expOrFn,
  7637. cb,
  7638. options
  7639. ) {
  7640. var vm = this;
  7641. if (isPlainObject(cb)) {
  7642. return createWatcher(vm, expOrFn, cb, options)
  7643. }
  7644. options = options || {};
  7645. options.user = true;
  7646. var watcher = new Watcher(vm, expOrFn, cb, options);
  7647. if (options.immediate) {
  7648. try {
  7649. cb.call(vm, watcher.value);
  7650. } catch (error) {
  7651. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7652. }
  7653. }
  7654. return function unwatchFn () {
  7655. watcher.teardown();
  7656. }
  7657. };
  7658. }
  7659. /* */
  7660. var uid$3 = 0;
  7661. function initMixin (Vue) {
  7662. Vue.prototype._init = function (options) {
  7663. var vm = this;
  7664. // a uid
  7665. vm._uid = uid$3++;
  7666. var startTag, endTag;
  7667. /* istanbul ignore if */
  7668. if ( true && config.performance && mark) {
  7669. startTag = "vue-perf-start:" + (vm._uid);
  7670. endTag = "vue-perf-end:" + (vm._uid);
  7671. mark(startTag);
  7672. }
  7673. // a flag to avoid this being observed
  7674. vm._isVue = true;
  7675. // merge options
  7676. if (options && options._isComponent) {
  7677. // optimize internal component instantiation
  7678. // since dynamic options merging is pretty slow, and none of the
  7679. // internal component options needs special treatment.
  7680. initInternalComponent(vm, options);
  7681. } else {
  7682. vm.$options = mergeOptions(
  7683. resolveConstructorOptions(vm.constructor),
  7684. options || {},
  7685. vm
  7686. );
  7687. }
  7688. /* istanbul ignore else */
  7689. if (true) {
  7690. initProxy(vm);
  7691. } else {}
  7692. // expose real self
  7693. vm._self = vm;
  7694. initLifecycle(vm);
  7695. initEvents(vm);
  7696. initRender(vm);
  7697. callHook(vm, 'beforeCreate');
  7698. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7699. initState(vm);
  7700. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7701. !vm._$fallback && callHook(vm, 'created');
  7702. /* istanbul ignore if */
  7703. if ( true && config.performance && mark) {
  7704. vm._name = formatComponentName(vm, false);
  7705. mark(endTag);
  7706. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7707. }
  7708. if (vm.$options.el) {
  7709. vm.$mount(vm.$options.el);
  7710. }
  7711. };
  7712. }
  7713. function initInternalComponent (vm, options) {
  7714. var opts = vm.$options = Object.create(vm.constructor.options);
  7715. // doing this because it's faster than dynamic enumeration.
  7716. var parentVnode = options._parentVnode;
  7717. opts.parent = options.parent;
  7718. opts._parentVnode = parentVnode;
  7719. var vnodeComponentOptions = parentVnode.componentOptions;
  7720. opts.propsData = vnodeComponentOptions.propsData;
  7721. opts._parentListeners = vnodeComponentOptions.listeners;
  7722. opts._renderChildren = vnodeComponentOptions.children;
  7723. opts._componentTag = vnodeComponentOptions.tag;
  7724. if (options.render) {
  7725. opts.render = options.render;
  7726. opts.staticRenderFns = options.staticRenderFns;
  7727. }
  7728. }
  7729. function resolveConstructorOptions (Ctor) {
  7730. var options = Ctor.options;
  7731. if (Ctor.super) {
  7732. var superOptions = resolveConstructorOptions(Ctor.super);
  7733. var cachedSuperOptions = Ctor.superOptions;
  7734. if (superOptions !== cachedSuperOptions) {
  7735. // super option changed,
  7736. // need to resolve new options.
  7737. Ctor.superOptions = superOptions;
  7738. // check if there are any late-modified/attached options (#4976)
  7739. var modifiedOptions = resolveModifiedOptions(Ctor);
  7740. // update base extend options
  7741. if (modifiedOptions) {
  7742. extend(Ctor.extendOptions, modifiedOptions);
  7743. }
  7744. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7745. if (options.name) {
  7746. options.components[options.name] = Ctor;
  7747. }
  7748. }
  7749. }
  7750. return options
  7751. }
  7752. function resolveModifiedOptions (Ctor) {
  7753. var modified;
  7754. var latest = Ctor.options;
  7755. var sealed = Ctor.sealedOptions;
  7756. for (var key in latest) {
  7757. if (latest[key] !== sealed[key]) {
  7758. if (!modified) { modified = {}; }
  7759. modified[key] = latest[key];
  7760. }
  7761. }
  7762. return modified
  7763. }
  7764. function Vue (options) {
  7765. if ( true &&
  7766. !(this instanceof Vue)
  7767. ) {
  7768. warn('Vue is a constructor and should be called with the `new` keyword');
  7769. }
  7770. this._init(options);
  7771. }
  7772. initMixin(Vue);
  7773. stateMixin(Vue);
  7774. eventsMixin(Vue);
  7775. lifecycleMixin(Vue);
  7776. renderMixin(Vue);
  7777. /* */
  7778. function initUse (Vue) {
  7779. Vue.use = function (plugin) {
  7780. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7781. if (installedPlugins.indexOf(plugin) > -1) {
  7782. return this
  7783. }
  7784. // additional parameters
  7785. var args = toArray(arguments, 1);
  7786. args.unshift(this);
  7787. if (typeof plugin.install === 'function') {
  7788. plugin.install.apply(plugin, args);
  7789. } else if (typeof plugin === 'function') {
  7790. plugin.apply(null, args);
  7791. }
  7792. installedPlugins.push(plugin);
  7793. return this
  7794. };
  7795. }
  7796. /* */
  7797. function initMixin$1 (Vue) {
  7798. Vue.mixin = function (mixin) {
  7799. this.options = mergeOptions(this.options, mixin);
  7800. return this
  7801. };
  7802. }
  7803. /* */
  7804. function initExtend (Vue) {
  7805. /**
  7806. * Each instance constructor, including Vue, has a unique
  7807. * cid. This enables us to create wrapped "child
  7808. * constructors" for prototypal inheritance and cache them.
  7809. */
  7810. Vue.cid = 0;
  7811. var cid = 1;
  7812. /**
  7813. * Class inheritance
  7814. */
  7815. Vue.extend = function (extendOptions) {
  7816. extendOptions = extendOptions || {};
  7817. var Super = this;
  7818. var SuperId = Super.cid;
  7819. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7820. if (cachedCtors[SuperId]) {
  7821. return cachedCtors[SuperId]
  7822. }
  7823. var name = extendOptions.name || Super.options.name;
  7824. if ( true && name) {
  7825. validateComponentName(name);
  7826. }
  7827. var Sub = function VueComponent (options) {
  7828. this._init(options);
  7829. };
  7830. Sub.prototype = Object.create(Super.prototype);
  7831. Sub.prototype.constructor = Sub;
  7832. Sub.cid = cid++;
  7833. Sub.options = mergeOptions(
  7834. Super.options,
  7835. extendOptions
  7836. );
  7837. Sub['super'] = Super;
  7838. // For props and computed properties, we define the proxy getters on
  7839. // the Vue instances at extension time, on the extended prototype. This
  7840. // avoids Object.defineProperty calls for each instance created.
  7841. if (Sub.options.props) {
  7842. initProps$1(Sub);
  7843. }
  7844. if (Sub.options.computed) {
  7845. initComputed$1(Sub);
  7846. }
  7847. // allow further extension/mixin/plugin usage
  7848. Sub.extend = Super.extend;
  7849. Sub.mixin = Super.mixin;
  7850. Sub.use = Super.use;
  7851. // create asset registers, so extended classes
  7852. // can have their private assets too.
  7853. ASSET_TYPES.forEach(function (type) {
  7854. Sub[type] = Super[type];
  7855. });
  7856. // enable recursive self-lookup
  7857. if (name) {
  7858. Sub.options.components[name] = Sub;
  7859. }
  7860. // keep a reference to the super options at extension time.
  7861. // later at instantiation we can check if Super's options have
  7862. // been updated.
  7863. Sub.superOptions = Super.options;
  7864. Sub.extendOptions = extendOptions;
  7865. Sub.sealedOptions = extend({}, Sub.options);
  7866. // cache constructor
  7867. cachedCtors[SuperId] = Sub;
  7868. return Sub
  7869. };
  7870. }
  7871. function initProps$1 (Comp) {
  7872. var props = Comp.options.props;
  7873. for (var key in props) {
  7874. proxy(Comp.prototype, "_props", key);
  7875. }
  7876. }
  7877. function initComputed$1 (Comp) {
  7878. var computed = Comp.options.computed;
  7879. for (var key in computed) {
  7880. defineComputed(Comp.prototype, key, computed[key]);
  7881. }
  7882. }
  7883. /* */
  7884. function initAssetRegisters (Vue) {
  7885. /**
  7886. * Create asset registration methods.
  7887. */
  7888. ASSET_TYPES.forEach(function (type) {
  7889. Vue[type] = function (
  7890. id,
  7891. definition
  7892. ) {
  7893. if (!definition) {
  7894. return this.options[type + 's'][id]
  7895. } else {
  7896. /* istanbul ignore if */
  7897. if ( true && type === 'component') {
  7898. validateComponentName(id);
  7899. }
  7900. if (type === 'component' && isPlainObject(definition)) {
  7901. definition.name = definition.name || id;
  7902. definition = this.options._base.extend(definition);
  7903. }
  7904. if (type === 'directive' && typeof definition === 'function') {
  7905. definition = { bind: definition, update: definition };
  7906. }
  7907. this.options[type + 's'][id] = definition;
  7908. return definition
  7909. }
  7910. };
  7911. });
  7912. }
  7913. /* */
  7914. function getComponentName (opts) {
  7915. return opts && (opts.Ctor.options.name || opts.tag)
  7916. }
  7917. function matches (pattern, name) {
  7918. if (Array.isArray(pattern)) {
  7919. return pattern.indexOf(name) > -1
  7920. } else if (typeof pattern === 'string') {
  7921. return pattern.split(',').indexOf(name) > -1
  7922. } else if (isRegExp(pattern)) {
  7923. return pattern.test(name)
  7924. }
  7925. /* istanbul ignore next */
  7926. return false
  7927. }
  7928. function pruneCache (keepAliveInstance, filter) {
  7929. var cache = keepAliveInstance.cache;
  7930. var keys = keepAliveInstance.keys;
  7931. var _vnode = keepAliveInstance._vnode;
  7932. for (var key in cache) {
  7933. var cachedNode = cache[key];
  7934. if (cachedNode) {
  7935. var name = getComponentName(cachedNode.componentOptions);
  7936. if (name && !filter(name)) {
  7937. pruneCacheEntry(cache, key, keys, _vnode);
  7938. }
  7939. }
  7940. }
  7941. }
  7942. function pruneCacheEntry (
  7943. cache,
  7944. key,
  7945. keys,
  7946. current
  7947. ) {
  7948. var cached$$1 = cache[key];
  7949. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  7950. cached$$1.componentInstance.$destroy();
  7951. }
  7952. cache[key] = null;
  7953. remove(keys, key);
  7954. }
  7955. var patternTypes = [String, RegExp, Array];
  7956. var KeepAlive = {
  7957. name: 'keep-alive',
  7958. abstract: true,
  7959. props: {
  7960. include: patternTypes,
  7961. exclude: patternTypes,
  7962. max: [String, Number]
  7963. },
  7964. created: function created () {
  7965. this.cache = Object.create(null);
  7966. this.keys = [];
  7967. },
  7968. destroyed: function destroyed () {
  7969. for (var key in this.cache) {
  7970. pruneCacheEntry(this.cache, key, this.keys);
  7971. }
  7972. },
  7973. mounted: function mounted () {
  7974. var this$1 = this;
  7975. this.$watch('include', function (val) {
  7976. pruneCache(this$1, function (name) { return matches(val, name); });
  7977. });
  7978. this.$watch('exclude', function (val) {
  7979. pruneCache(this$1, function (name) { return !matches(val, name); });
  7980. });
  7981. },
  7982. render: function render () {
  7983. var slot = this.$slots.default;
  7984. var vnode = getFirstComponentChild(slot);
  7985. var componentOptions = vnode && vnode.componentOptions;
  7986. if (componentOptions) {
  7987. // check pattern
  7988. var name = getComponentName(componentOptions);
  7989. var ref = this;
  7990. var include = ref.include;
  7991. var exclude = ref.exclude;
  7992. if (
  7993. // not included
  7994. (include && (!name || !matches(include, name))) ||
  7995. // excluded
  7996. (exclude && name && matches(exclude, name))
  7997. ) {
  7998. return vnode
  7999. }
  8000. var ref$1 = this;
  8001. var cache = ref$1.cache;
  8002. var keys = ref$1.keys;
  8003. var key = vnode.key == null
  8004. // same constructor may get registered as different local components
  8005. // so cid alone is not enough (#3269)
  8006. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8007. : vnode.key;
  8008. if (cache[key]) {
  8009. vnode.componentInstance = cache[key].componentInstance;
  8010. // make current key freshest
  8011. remove(keys, key);
  8012. keys.push(key);
  8013. } else {
  8014. cache[key] = vnode;
  8015. keys.push(key);
  8016. // prune oldest entry
  8017. if (this.max && keys.length > parseInt(this.max)) {
  8018. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8019. }
  8020. }
  8021. vnode.data.keepAlive = true;
  8022. }
  8023. return vnode || (slot && slot[0])
  8024. }
  8025. };
  8026. var builtInComponents = {
  8027. KeepAlive: KeepAlive
  8028. };
  8029. /* */
  8030. function initGlobalAPI (Vue) {
  8031. // config
  8032. var configDef = {};
  8033. configDef.get = function () { return config; };
  8034. if (true) {
  8035. configDef.set = function () {
  8036. warn(
  8037. 'Do not replace the Vue.config object, set individual fields instead.'
  8038. );
  8039. };
  8040. }
  8041. Object.defineProperty(Vue, 'config', configDef);
  8042. // exposed util methods.
  8043. // NOTE: these are not considered part of the public API - avoid relying on
  8044. // them unless you are aware of the risk.
  8045. Vue.util = {
  8046. warn: warn,
  8047. extend: extend,
  8048. mergeOptions: mergeOptions,
  8049. defineReactive: defineReactive$$1
  8050. };
  8051. Vue.set = set;
  8052. Vue.delete = del;
  8053. Vue.nextTick = nextTick;
  8054. // 2.6 explicit observable API
  8055. Vue.observable = function (obj) {
  8056. observe(obj);
  8057. return obj
  8058. };
  8059. Vue.options = Object.create(null);
  8060. ASSET_TYPES.forEach(function (type) {
  8061. Vue.options[type + 's'] = Object.create(null);
  8062. });
  8063. // this is used to identify the "base" constructor to extend all plain-object
  8064. // components with in Weex's multi-instance scenarios.
  8065. Vue.options._base = Vue;
  8066. extend(Vue.options.components, builtInComponents);
  8067. initUse(Vue);
  8068. initMixin$1(Vue);
  8069. initExtend(Vue);
  8070. initAssetRegisters(Vue);
  8071. }
  8072. initGlobalAPI(Vue);
  8073. Object.defineProperty(Vue.prototype, '$isServer', {
  8074. get: isServerRendering
  8075. });
  8076. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8077. get: function get () {
  8078. /* istanbul ignore next */
  8079. return this.$vnode && this.$vnode.ssrContext
  8080. }
  8081. });
  8082. // expose FunctionalRenderContext for ssr runtime helper installation
  8083. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8084. value: FunctionalRenderContext
  8085. });
  8086. Vue.version = '2.6.11';
  8087. /**
  8088. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8089. */
  8090. var ARRAYTYPE = '[object Array]';
  8091. var OBJECTTYPE = '[object Object]';
  8092. var NULLTYPE = '[object Null]';
  8093. var UNDEFINEDTYPE = '[object Undefined]';
  8094. // const FUNCTIONTYPE = '[object Function]'
  8095. function diff(current, pre) {
  8096. var result = {};
  8097. syncKeys(current, pre);
  8098. _diff(current, pre, '', result);
  8099. return result
  8100. }
  8101. function syncKeys(current, pre) {
  8102. if (current === pre) { return }
  8103. var rootCurrentType = type(current);
  8104. var rootPreType = type(pre);
  8105. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8106. if(Object.keys(current).length >= Object.keys(pre).length){
  8107. for (var key in pre) {
  8108. var currentValue = current[key];
  8109. if (currentValue === undefined) {
  8110. current[key] = null;
  8111. } else {
  8112. syncKeys(currentValue, pre[key]);
  8113. }
  8114. }
  8115. }
  8116. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8117. if (current.length >= pre.length) {
  8118. pre.forEach(function (item, index) {
  8119. syncKeys(current[index], item);
  8120. });
  8121. }
  8122. }
  8123. }
  8124. function nullOrUndefined(currentType, preType) {
  8125. if(
  8126. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8127. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8128. ) {
  8129. return false
  8130. }
  8131. return true
  8132. }
  8133. function _diff(current, pre, path, result) {
  8134. if (current === pre) { return }
  8135. var rootCurrentType = type(current);
  8136. var rootPreType = type(pre);
  8137. if (rootCurrentType == OBJECTTYPE) {
  8138. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8139. setResult(result, path, current);
  8140. } else {
  8141. var loop = function ( key ) {
  8142. var currentValue = current[key];
  8143. var preValue = pre[key];
  8144. var currentType = type(currentValue);
  8145. var preType = type(preValue);
  8146. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8147. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8148. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8149. }
  8150. } else if (currentType == ARRAYTYPE) {
  8151. if (preType != ARRAYTYPE) {
  8152. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8153. } else {
  8154. if (currentValue.length < preValue.length) {
  8155. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8156. } else {
  8157. currentValue.forEach(function (item, index) {
  8158. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8159. });
  8160. }
  8161. }
  8162. } else if (currentType == OBJECTTYPE) {
  8163. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8164. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8165. } else {
  8166. for (var subKey in currentValue) {
  8167. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8168. }
  8169. }
  8170. }
  8171. };
  8172. for (var key in current) loop( key );
  8173. }
  8174. } else if (rootCurrentType == ARRAYTYPE) {
  8175. if (rootPreType != ARRAYTYPE) {
  8176. setResult(result, path, current);
  8177. } else {
  8178. if (current.length < pre.length) {
  8179. setResult(result, path, current);
  8180. } else {
  8181. current.forEach(function (item, index) {
  8182. _diff(item, pre[index], path + '[' + index + ']', result);
  8183. });
  8184. }
  8185. }
  8186. } else {
  8187. setResult(result, path, current);
  8188. }
  8189. }
  8190. function setResult(result, k, v) {
  8191. // if (type(v) != FUNCTIONTYPE) {
  8192. result[k] = v;
  8193. // }
  8194. }
  8195. function type(obj) {
  8196. return Object.prototype.toString.call(obj)
  8197. }
  8198. /* */
  8199. function flushCallbacks$1(vm) {
  8200. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8201. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8202. var mpInstance = vm.$scope;
  8203. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8204. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8205. }
  8206. var copies = vm.__next_tick_callbacks.slice(0);
  8207. vm.__next_tick_callbacks.length = 0;
  8208. for (var i = 0; i < copies.length; i++) {
  8209. copies[i]();
  8210. }
  8211. }
  8212. }
  8213. function hasRenderWatcher(vm) {
  8214. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8215. }
  8216. function nextTick$1(vm, cb) {
  8217. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8218. //2.nextTick 之前存在 render watcher
  8219. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8220. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8221. var mpInstance = vm.$scope;
  8222. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8223. ']:nextVueTick');
  8224. }
  8225. return nextTick(cb, vm)
  8226. }else{
  8227. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8228. var mpInstance$1 = vm.$scope;
  8229. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8230. ']:nextMPTick');
  8231. }
  8232. }
  8233. var _resolve;
  8234. if (!vm.__next_tick_callbacks) {
  8235. vm.__next_tick_callbacks = [];
  8236. }
  8237. vm.__next_tick_callbacks.push(function () {
  8238. if (cb) {
  8239. try {
  8240. cb.call(vm);
  8241. } catch (e) {
  8242. handleError(e, vm, 'nextTick');
  8243. }
  8244. } else if (_resolve) {
  8245. _resolve(vm);
  8246. }
  8247. });
  8248. // $flow-disable-line
  8249. if (!cb && typeof Promise !== 'undefined') {
  8250. return new Promise(function (resolve) {
  8251. _resolve = resolve;
  8252. })
  8253. }
  8254. }
  8255. /* */
  8256. function clearInstance(key, value) {
  8257. // 简易去除 Vue 和小程序组件实例
  8258. if (value) {
  8259. if (value._isVue || value.__v_isMPComponent) {
  8260. return {}
  8261. }
  8262. }
  8263. return value
  8264. }
  8265. function cloneWithData(vm) {
  8266. // 确保当前 vm 所有数据被同步
  8267. var ret = Object.create(null);
  8268. var dataKeys = [].concat(
  8269. Object.keys(vm._data || {}),
  8270. Object.keys(vm._computedWatchers || {}));
  8271. dataKeys.reduce(function(ret, key) {
  8272. ret[key] = vm[key];
  8273. return ret
  8274. }, ret);
  8275. // vue-composition-api
  8276. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8277. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8278. if (rawBindings) {
  8279. Object.keys(rawBindings).forEach(function (key) {
  8280. ret[key] = vm[key];
  8281. });
  8282. }
  8283. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8284. Object.assign(ret, vm.$mp.data || {});
  8285. if (
  8286. Array.isArray(vm.$options.behaviors) &&
  8287. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8288. ) { //form-field
  8289. ret['name'] = vm.name;
  8290. ret['value'] = vm.value;
  8291. }
  8292. return JSON.parse(JSON.stringify(ret, clearInstance))
  8293. }
  8294. var patch = function(oldVnode, vnode) {
  8295. var this$1 = this;
  8296. if (vnode === null) { //destroy
  8297. return
  8298. }
  8299. if (this.mpType === 'page' || this.mpType === 'component') {
  8300. var mpInstance = this.$scope;
  8301. var data = Object.create(null);
  8302. try {
  8303. data = cloneWithData(this);
  8304. } catch (err) {
  8305. console.error(err);
  8306. }
  8307. data.__webviewId__ = mpInstance.data.__webviewId__;
  8308. var mpData = Object.create(null);
  8309. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8310. mpData[key] = mpInstance.data[key];
  8311. });
  8312. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8313. if (Object.keys(diffData).length) {
  8314. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8315. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8316. ']差量更新',
  8317. JSON.stringify(diffData));
  8318. }
  8319. this.__next_tick_pending = true;
  8320. mpInstance.setData(diffData, function () {
  8321. this$1.__next_tick_pending = false;
  8322. flushCallbacks$1(this$1);
  8323. });
  8324. } else {
  8325. flushCallbacks$1(this);
  8326. }
  8327. }
  8328. };
  8329. /* */
  8330. function createEmptyRender() {
  8331. }
  8332. function mountComponent$1(
  8333. vm,
  8334. el,
  8335. hydrating
  8336. ) {
  8337. if (!vm.mpType) {//main.js 中的 new Vue
  8338. return vm
  8339. }
  8340. if (vm.mpType === 'app') {
  8341. vm.$options.render = createEmptyRender;
  8342. }
  8343. if (!vm.$options.render) {
  8344. vm.$options.render = createEmptyRender;
  8345. if (true) {
  8346. /* istanbul ignore if */
  8347. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8348. vm.$options.el || el) {
  8349. warn(
  8350. 'You are using the runtime-only build of Vue where the template ' +
  8351. 'compiler is not available. Either pre-compile the templates into ' +
  8352. 'render functions, or use the compiler-included build.',
  8353. vm
  8354. );
  8355. } else {
  8356. warn(
  8357. 'Failed to mount component: template or render function not defined.',
  8358. vm
  8359. );
  8360. }
  8361. }
  8362. }
  8363. !vm._$fallback && callHook(vm, 'beforeMount');
  8364. var updateComponent = function () {
  8365. vm._update(vm._render(), hydrating);
  8366. };
  8367. // we set this to vm._watcher inside the watcher's constructor
  8368. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8369. // component's mounted hook), which relies on vm._watcher being already defined
  8370. new Watcher(vm, updateComponent, noop, {
  8371. before: function before() {
  8372. if (vm._isMounted && !vm._isDestroyed) {
  8373. callHook(vm, 'beforeUpdate');
  8374. }
  8375. }
  8376. }, true /* isRenderWatcher */);
  8377. hydrating = false;
  8378. return vm
  8379. }
  8380. /* */
  8381. function renderClass (
  8382. staticClass,
  8383. dynamicClass
  8384. ) {
  8385. if (isDef(staticClass) || isDef(dynamicClass)) {
  8386. return concat(staticClass, stringifyClass(dynamicClass))
  8387. }
  8388. /* istanbul ignore next */
  8389. return ''
  8390. }
  8391. function concat (a, b) {
  8392. return a ? b ? (a + ' ' + b) : a : (b || '')
  8393. }
  8394. function stringifyClass (value) {
  8395. if (Array.isArray(value)) {
  8396. return stringifyArray(value)
  8397. }
  8398. if (isObject(value)) {
  8399. return stringifyObject(value)
  8400. }
  8401. if (typeof value === 'string') {
  8402. return value
  8403. }
  8404. /* istanbul ignore next */
  8405. return ''
  8406. }
  8407. function stringifyArray (value) {
  8408. var res = '';
  8409. var stringified;
  8410. for (var i = 0, l = value.length; i < l; i++) {
  8411. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8412. if (res) { res += ' '; }
  8413. res += stringified;
  8414. }
  8415. }
  8416. return res
  8417. }
  8418. function stringifyObject (value) {
  8419. var res = '';
  8420. for (var key in value) {
  8421. if (value[key]) {
  8422. if (res) { res += ' '; }
  8423. res += key;
  8424. }
  8425. }
  8426. return res
  8427. }
  8428. /* */
  8429. var parseStyleText = cached(function (cssText) {
  8430. var res = {};
  8431. var listDelimiter = /;(?![^(]*\))/g;
  8432. var propertyDelimiter = /:(.+)/;
  8433. cssText.split(listDelimiter).forEach(function (item) {
  8434. if (item) {
  8435. var tmp = item.split(propertyDelimiter);
  8436. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8437. }
  8438. });
  8439. return res
  8440. });
  8441. // normalize possible array / string values into Object
  8442. function normalizeStyleBinding (bindingStyle) {
  8443. if (Array.isArray(bindingStyle)) {
  8444. return toObject(bindingStyle)
  8445. }
  8446. if (typeof bindingStyle === 'string') {
  8447. return parseStyleText(bindingStyle)
  8448. }
  8449. return bindingStyle
  8450. }
  8451. /* */
  8452. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8453. function getTarget(obj, path) {
  8454. var parts = path.split('.');
  8455. var key = parts[0];
  8456. if (key.indexOf('__$n') === 0) { //number index
  8457. key = parseInt(key.replace('__$n', ''));
  8458. }
  8459. if (parts.length === 1) {
  8460. return obj[key]
  8461. }
  8462. return getTarget(obj[key], parts.slice(1).join('.'))
  8463. }
  8464. function internalMixin(Vue) {
  8465. Vue.config.errorHandler = function(err, vm, info) {
  8466. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8467. console.error(err);
  8468. /* eslint-disable no-undef */
  8469. var app = typeof getApp === 'function' && getApp();
  8470. if (app && app.onError) {
  8471. app.onError(err);
  8472. }
  8473. };
  8474. var oldEmit = Vue.prototype.$emit;
  8475. Vue.prototype.$emit = function(event) {
  8476. if (this.$scope && event) {
  8477. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8478. if (triggerEvent) {
  8479. try {
  8480. triggerEvent.call(this.$scope, event, {
  8481. __args__: toArray(arguments, 1)
  8482. });
  8483. } catch (error) {
  8484. }
  8485. }
  8486. }
  8487. return oldEmit.apply(this, arguments)
  8488. };
  8489. Vue.prototype.$nextTick = function(fn) {
  8490. return nextTick$1(this, fn)
  8491. };
  8492. MP_METHODS.forEach(function (method) {
  8493. Vue.prototype[method] = function(args) {
  8494. if (this.$scope && this.$scope[method]) {
  8495. return this.$scope[method](args)
  8496. }
  8497. // mp-alipay
  8498. if (typeof my === 'undefined') {
  8499. return
  8500. }
  8501. if (method === 'createSelectorQuery') {
  8502. /* eslint-disable no-undef */
  8503. return my.createSelectorQuery(args)
  8504. } else if (method === 'createIntersectionObserver') {
  8505. /* eslint-disable no-undef */
  8506. return my.createIntersectionObserver(args)
  8507. }
  8508. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8509. };
  8510. });
  8511. Vue.prototype.__init_provide = initProvide;
  8512. Vue.prototype.__init_injections = initInjections;
  8513. Vue.prototype.__call_hook = function(hook, args) {
  8514. var vm = this;
  8515. // #7573 disable dep collection when invoking lifecycle hooks
  8516. pushTarget();
  8517. var handlers = vm.$options[hook];
  8518. var info = hook + " hook";
  8519. var ret;
  8520. if (handlers) {
  8521. for (var i = 0, j = handlers.length; i < j; i++) {
  8522. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8523. }
  8524. }
  8525. if (vm._hasHookEvent) {
  8526. vm.$emit('hook:' + hook, args);
  8527. }
  8528. popTarget();
  8529. return ret
  8530. };
  8531. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8532. if (Array.isArray(modifiers)) {
  8533. if (modifiers.indexOf('trim') !== -1) {
  8534. value = value.trim();
  8535. }
  8536. if (modifiers.indexOf('number') !== -1) {
  8537. value = this._n(value);
  8538. }
  8539. }
  8540. if (!target) {
  8541. target = this;
  8542. }
  8543. // 解决动态属性添加
  8544. Vue.set(target, key, value);
  8545. };
  8546. Vue.prototype.__set_sync = function(target, key, value) {
  8547. if (!target) {
  8548. target = this;
  8549. }
  8550. // 解决动态属性添加
  8551. Vue.set(target, key, value);
  8552. };
  8553. Vue.prototype.__get_orig = function(item) {
  8554. if (isPlainObject(item)) {
  8555. return item['$orig'] || item
  8556. }
  8557. return item
  8558. };
  8559. Vue.prototype.__get_value = function(dataPath, target) {
  8560. return getTarget(target || this, dataPath)
  8561. };
  8562. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8563. return renderClass(staticClass, dynamicClass)
  8564. };
  8565. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8566. if (!dynamicStyle && !staticStyle) {
  8567. return ''
  8568. }
  8569. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8570. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8571. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8572. };
  8573. Vue.prototype.__map = function(val, iteratee) {
  8574. //TODO 暂不考虑 string
  8575. var ret, i, l, keys, key;
  8576. if (Array.isArray(val)) {
  8577. ret = new Array(val.length);
  8578. for (i = 0, l = val.length; i < l; i++) {
  8579. ret[i] = iteratee(val[i], i);
  8580. }
  8581. return ret
  8582. } else if (isObject(val)) {
  8583. keys = Object.keys(val);
  8584. ret = Object.create(null);
  8585. for (i = 0, l = keys.length; i < l; i++) {
  8586. key = keys[i];
  8587. ret[key] = iteratee(val[key], key, i);
  8588. }
  8589. return ret
  8590. } else if (typeof val === 'number') {
  8591. ret = new Array(val);
  8592. for (i = 0, l = val; i < l; i++) {
  8593. // 第一个参数暂时仍和小程序一致
  8594. ret[i] = iteratee(i, i);
  8595. }
  8596. return ret
  8597. }
  8598. return []
  8599. };
  8600. }
  8601. /* */
  8602. var LIFECYCLE_HOOKS$1 = [
  8603. //App
  8604. 'onLaunch',
  8605. 'onShow',
  8606. 'onHide',
  8607. 'onUniNViewMessage',
  8608. 'onPageNotFound',
  8609. 'onThemeChange',
  8610. 'onError',
  8611. 'onUnhandledRejection',
  8612. //Page
  8613. 'onInit',
  8614. 'onLoad',
  8615. // 'onShow',
  8616. 'onReady',
  8617. // 'onHide',
  8618. 'onUnload',
  8619. 'onPullDownRefresh',
  8620. 'onReachBottom',
  8621. 'onTabItemTap',
  8622. 'onAddToFavorites',
  8623. 'onShareTimeline',
  8624. 'onShareAppMessage',
  8625. 'onResize',
  8626. 'onPageScroll',
  8627. 'onNavigationBarButtonTap',
  8628. 'onBackPress',
  8629. 'onNavigationBarSearchInputChanged',
  8630. 'onNavigationBarSearchInputConfirmed',
  8631. 'onNavigationBarSearchInputClicked',
  8632. 'onUploadDouyinVideo',
  8633. 'onNFCReadMessage',
  8634. //Component
  8635. // 'onReady', // 兼容旧版本,应该移除该事件
  8636. 'onPageShow',
  8637. 'onPageHide',
  8638. 'onPageResize'
  8639. ];
  8640. function lifecycleMixin$1(Vue) {
  8641. //fixed vue-class-component
  8642. var oldExtend = Vue.extend;
  8643. Vue.extend = function(extendOptions) {
  8644. extendOptions = extendOptions || {};
  8645. var methods = extendOptions.methods;
  8646. if (methods) {
  8647. Object.keys(methods).forEach(function (methodName) {
  8648. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8649. extendOptions[methodName] = methods[methodName];
  8650. delete methods[methodName];
  8651. }
  8652. });
  8653. }
  8654. return oldExtend.call(this, extendOptions)
  8655. };
  8656. var strategies = Vue.config.optionMergeStrategies;
  8657. var mergeHook = strategies.created;
  8658. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8659. strategies[hook] = mergeHook;
  8660. });
  8661. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8662. }
  8663. /* */
  8664. // install platform patch function
  8665. Vue.prototype.__patch__ = patch;
  8666. // public mount method
  8667. Vue.prototype.$mount = function(
  8668. el ,
  8669. hydrating
  8670. ) {
  8671. return mountComponent$1(this, el, hydrating)
  8672. };
  8673. lifecycleMixin$1(Vue);
  8674. internalMixin(Vue);
  8675. /* */
  8676. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8677. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8678. /***/ }),
  8679. /***/ 26:
  8680. /*!*********************************************!*\
  8681. !*** E:/Desktop/zd_wechatApp(1)/pages.json ***!
  8682. \*********************************************/
  8683. /*! no static exports found */
  8684. /***/ (function(module, exports) {
  8685. /***/ }),
  8686. /***/ 294:
  8687. /*!****************************************************************!*\
  8688. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/emitter.js ***!
  8689. \****************************************************************/
  8690. /*! no static exports found */
  8691. /***/ (function(module, exports, __webpack_require__) {
  8692. "use strict";
  8693. Object.defineProperty(exports, "__esModule", {
  8694. value: true
  8695. });
  8696. exports.default = void 0;
  8697. /**
  8698. * 递归使用 call 方式this指向
  8699. * @param componentName // 需要找的组件的名称
  8700. * @param eventName // 事件名称
  8701. * @param params // 需要传递的参数
  8702. */
  8703. function _broadcast(componentName, eventName, params) {
  8704. // 循环子节点找到名称一样的子节点 否则 递归 当前子节点
  8705. this.$children.map(function (child) {
  8706. if (componentName === child.$options.name) {
  8707. child.$emit.apply(child, [eventName].concat(params));
  8708. } else {
  8709. _broadcast.apply(child, [componentName, eventName].concat(params));
  8710. }
  8711. });
  8712. }
  8713. var _default = {
  8714. methods: {
  8715. /**
  8716. * 派发 (向上查找) (一个)
  8717. * @param componentName // 需要找的组件的名称
  8718. * @param eventName // 事件名称
  8719. * @param params // 需要传递的参数
  8720. */
  8721. dispatch: function dispatch(componentName, eventName, params) {
  8722. var parent = this.$parent || this.$root; //$parent 找到最近的父节点 $root 根节点
  8723. var name = parent.$options.name; // 获取当前组件实例的name
  8724. // 如果当前有节点 && 当前没名称 且 当前名称等于需要传进来的名称的时候就去查找当前的节点
  8725. // 循环出当前名称的一样的组件实例
  8726. while (parent && (!name || name !== componentName)) {
  8727. parent = parent.$parent;
  8728. if (parent) {
  8729. name = parent.$options.name;
  8730. }
  8731. }
  8732. // 有节点表示当前找到了name一样的实例
  8733. if (parent) {
  8734. parent.$emit.apply(parent, [eventName].concat(params));
  8735. }
  8736. },
  8737. /**
  8738. * 广播 (向下查找) (广播多个)
  8739. * @param componentName // 需要找的组件的名称
  8740. * @param eventName // 事件名称
  8741. * @param params // 需要传递的参数
  8742. */
  8743. broadcast: function broadcast(componentName, eventName, params) {
  8744. _broadcast.call(this, componentName, eventName, params);
  8745. }
  8746. }
  8747. };
  8748. exports.default = _default;
  8749. /***/ }),
  8750. /***/ 3:
  8751. /*!***********************************!*\
  8752. !*** (webpack)/buildin/global.js ***!
  8753. \***********************************/
  8754. /*! no static exports found */
  8755. /***/ (function(module, exports) {
  8756. var g;
  8757. // This works in non-strict mode
  8758. g = (function() {
  8759. return this;
  8760. })();
  8761. try {
  8762. // This works if eval is allowed (see CSP)
  8763. g = g || new Function("return this")();
  8764. } catch (e) {
  8765. // This works if the window reference is available
  8766. if (typeof window === "object") g = window;
  8767. }
  8768. // g can still be undefined, but nothing to do about it...
  8769. // We return undefined, instead of nothing here, so it's
  8770. // easier to handle this case. if(!global) { ...}
  8771. module.exports = g;
  8772. /***/ }),
  8773. /***/ 32:
  8774. /*!**********************************************************************************************************!*\
  8775. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  8776. \**********************************************************************************************************/
  8777. /*! exports provided: default */
  8778. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8779. "use strict";
  8780. __webpack_require__.r(__webpack_exports__);
  8781. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  8782. /* globals __VUE_SSR_CONTEXT__ */
  8783. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  8784. // This module is a runtime utility for cleaner component module output and will
  8785. // be included in the final webpack user bundle.
  8786. function normalizeComponent (
  8787. scriptExports,
  8788. render,
  8789. staticRenderFns,
  8790. functionalTemplate,
  8791. injectStyles,
  8792. scopeId,
  8793. moduleIdentifier, /* server only */
  8794. shadowMode, /* vue-cli only */
  8795. components, // fixed by xxxxxx auto components
  8796. renderjs // fixed by xxxxxx renderjs
  8797. ) {
  8798. // Vue.extend constructor export interop
  8799. var options = typeof scriptExports === 'function'
  8800. ? scriptExports.options
  8801. : scriptExports
  8802. // fixed by xxxxxx auto components
  8803. if (components) {
  8804. if (!options.components) {
  8805. options.components = {}
  8806. }
  8807. var hasOwn = Object.prototype.hasOwnProperty
  8808. for (var name in components) {
  8809. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  8810. options.components[name] = components[name]
  8811. }
  8812. }
  8813. }
  8814. // fixed by xxxxxx renderjs
  8815. if (renderjs) {
  8816. if(typeof renderjs.beforeCreate === 'function'){
  8817. renderjs.beforeCreate = [renderjs.beforeCreate]
  8818. }
  8819. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  8820. this[renderjs.__module] = this
  8821. });
  8822. (options.mixins || (options.mixins = [])).push(renderjs)
  8823. }
  8824. // render functions
  8825. if (render) {
  8826. options.render = render
  8827. options.staticRenderFns = staticRenderFns
  8828. options._compiled = true
  8829. }
  8830. // functional template
  8831. if (functionalTemplate) {
  8832. options.functional = true
  8833. }
  8834. // scopedId
  8835. if (scopeId) {
  8836. options._scopeId = 'data-v-' + scopeId
  8837. }
  8838. var hook
  8839. if (moduleIdentifier) { // server build
  8840. hook = function (context) {
  8841. // 2.3 injection
  8842. context =
  8843. context || // cached call
  8844. (this.$vnode && this.$vnode.ssrContext) || // stateful
  8845. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  8846. // 2.2 with runInNewContext: true
  8847. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  8848. context = __VUE_SSR_CONTEXT__
  8849. }
  8850. // inject component styles
  8851. if (injectStyles) {
  8852. injectStyles.call(this, context)
  8853. }
  8854. // register component module identifier for async chunk inferrence
  8855. if (context && context._registeredComponents) {
  8856. context._registeredComponents.add(moduleIdentifier)
  8857. }
  8858. }
  8859. // used by ssr in case component is cached and beforeCreate
  8860. // never gets called
  8861. options._ssrRegister = hook
  8862. } else if (injectStyles) {
  8863. hook = shadowMode
  8864. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  8865. : injectStyles
  8866. }
  8867. if (hook) {
  8868. if (options.functional) {
  8869. // for template-only hot-reload because in that case the render fn doesn't
  8870. // go through the normalizer
  8871. options._injectStyles = hook
  8872. // register for functioal component in vue file
  8873. var originalRender = options.render
  8874. options.render = function renderWithStyleInjection (h, context) {
  8875. hook.call(context)
  8876. return originalRender(h, context)
  8877. }
  8878. } else {
  8879. // inject component registration as beforeCreate hook
  8880. var existing = options.beforeCreate
  8881. options.beforeCreate = existing
  8882. ? [].concat(existing, hook)
  8883. : [hook]
  8884. }
  8885. }
  8886. return {
  8887. exports: scriptExports,
  8888. options: options
  8889. }
  8890. }
  8891. /***/ }),
  8892. /***/ 323:
  8893. /*!************************************************************************!*\
  8894. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/async-validator.js ***!
  8895. \************************************************************************/
  8896. /*! no static exports found */
  8897. /***/ (function(module, exports, __webpack_require__) {
  8898. "use strict";
  8899. /* WEBPACK VAR INJECTION */(function(process) {
  8900. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8901. Object.defineProperty(exports, "__esModule", {
  8902. value: true
  8903. });
  8904. exports.default = void 0;
  8905. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8906. function _extends() {
  8907. _extends = Object.assign || function (target) {
  8908. for (var i = 1; i < arguments.length; i++) {
  8909. var source = arguments[i];
  8910. for (var key in source) {
  8911. if (Object.prototype.hasOwnProperty.call(source, key)) {
  8912. target[key] = source[key];
  8913. }
  8914. }
  8915. }
  8916. return target;
  8917. };
  8918. return _extends.apply(this, arguments);
  8919. }
  8920. /* eslint no-console:0 */
  8921. var formatRegExp = /%[sdj%]/g;
  8922. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  8923. if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"贞达市政工程","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  8924. warning = function warning(type, errors) {
  8925. if (typeof console !== 'undefined' && console.warn) {
  8926. if (errors.every(function (e) {
  8927. return typeof e === 'string';
  8928. })) {
  8929. console.warn(type, errors);
  8930. }
  8931. }
  8932. };
  8933. }
  8934. function convertFieldsError(errors) {
  8935. if (!errors || !errors.length) return null;
  8936. var fields = {};
  8937. errors.forEach(function (error) {
  8938. var field = error.field;
  8939. fields[field] = fields[field] || [];
  8940. fields[field].push(error);
  8941. });
  8942. return fields;
  8943. }
  8944. function format() {
  8945. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  8946. args[_key] = arguments[_key];
  8947. }
  8948. var i = 1;
  8949. var f = args[0];
  8950. var len = args.length;
  8951. if (typeof f === 'function') {
  8952. return f.apply(null, args.slice(1));
  8953. }
  8954. if (typeof f === 'string') {
  8955. var str = String(f).replace(formatRegExp, function (x) {
  8956. if (x === '%%') {
  8957. return '%';
  8958. }
  8959. if (i >= len) {
  8960. return x;
  8961. }
  8962. switch (x) {
  8963. case '%s':
  8964. return String(args[i++]);
  8965. case '%d':
  8966. return Number(args[i++]);
  8967. case '%j':
  8968. try {
  8969. return JSON.stringify(args[i++]);
  8970. } catch (_) {
  8971. return '[Circular]';
  8972. }
  8973. break;
  8974. default:
  8975. return x;
  8976. }
  8977. });
  8978. for (var arg = args[i]; i < len; arg = args[++i]) {
  8979. str += " " + arg;
  8980. }
  8981. return str;
  8982. }
  8983. return f;
  8984. }
  8985. function isNativeStringType(type) {
  8986. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  8987. }
  8988. function isEmptyValue(value, type) {
  8989. if (value === undefined || value === null) {
  8990. return true;
  8991. }
  8992. if (type === 'array' && Array.isArray(value) && !value.length) {
  8993. return true;
  8994. }
  8995. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  8996. return true;
  8997. }
  8998. return false;
  8999. }
  9000. function asyncParallelArray(arr, func, callback) {
  9001. var results = [];
  9002. var total = 0;
  9003. var arrLength = arr.length;
  9004. function count(errors) {
  9005. results.push.apply(results, errors);
  9006. total++;
  9007. if (total === arrLength) {
  9008. callback(results);
  9009. }
  9010. }
  9011. arr.forEach(function (a) {
  9012. func(a, count);
  9013. });
  9014. }
  9015. function asyncSerialArray(arr, func, callback) {
  9016. var index = 0;
  9017. var arrLength = arr.length;
  9018. function next(errors) {
  9019. if (errors && errors.length) {
  9020. callback(errors);
  9021. return;
  9022. }
  9023. var original = index;
  9024. index = index + 1;
  9025. if (original < arrLength) {
  9026. func(arr[original], next);
  9027. } else {
  9028. callback([]);
  9029. }
  9030. }
  9031. next([]);
  9032. }
  9033. function flattenObjArr(objArr) {
  9034. var ret = [];
  9035. Object.keys(objArr).forEach(function (k) {
  9036. ret.push.apply(ret, objArr[k]);
  9037. });
  9038. return ret;
  9039. }
  9040. function asyncMap(objArr, option, func, callback) {
  9041. if (option.first) {
  9042. var _pending = new Promise(function (resolve, reject) {
  9043. var next = function next(errors) {
  9044. callback(errors);
  9045. return errors.length ? reject({
  9046. errors: errors,
  9047. fields: convertFieldsError(errors)
  9048. }) : resolve();
  9049. };
  9050. var flattenArr = flattenObjArr(objArr);
  9051. asyncSerialArray(flattenArr, func, next);
  9052. });
  9053. _pending["catch"](function (e) {
  9054. return e;
  9055. });
  9056. return _pending;
  9057. }
  9058. var firstFields = option.firstFields || [];
  9059. if (firstFields === true) {
  9060. firstFields = Object.keys(objArr);
  9061. }
  9062. var objArrKeys = Object.keys(objArr);
  9063. var objArrLength = objArrKeys.length;
  9064. var total = 0;
  9065. var results = [];
  9066. var pending = new Promise(function (resolve, reject) {
  9067. var next = function next(errors) {
  9068. results.push.apply(results, errors);
  9069. total++;
  9070. if (total === objArrLength) {
  9071. callback(results);
  9072. return results.length ? reject({
  9073. errors: results,
  9074. fields: convertFieldsError(results)
  9075. }) : resolve();
  9076. }
  9077. };
  9078. if (!objArrKeys.length) {
  9079. callback(results);
  9080. resolve();
  9081. }
  9082. objArrKeys.forEach(function (key) {
  9083. var arr = objArr[key];
  9084. if (firstFields.indexOf(key) !== -1) {
  9085. asyncSerialArray(arr, func, next);
  9086. } else {
  9087. asyncParallelArray(arr, func, next);
  9088. }
  9089. });
  9090. });
  9091. pending["catch"](function (e) {
  9092. return e;
  9093. });
  9094. return pending;
  9095. }
  9096. function complementError(rule) {
  9097. return function (oe) {
  9098. if (oe && oe.message) {
  9099. oe.field = oe.field || rule.fullField;
  9100. return oe;
  9101. }
  9102. return {
  9103. message: typeof oe === 'function' ? oe() : oe,
  9104. field: oe.field || rule.fullField
  9105. };
  9106. };
  9107. }
  9108. function deepMerge(target, source) {
  9109. if (source) {
  9110. for (var s in source) {
  9111. if (source.hasOwnProperty(s)) {
  9112. var value = source[s];
  9113. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  9114. target[s] = _extends({}, target[s], {}, value);
  9115. } else {
  9116. target[s] = value;
  9117. }
  9118. }
  9119. }
  9120. }
  9121. return target;
  9122. }
  9123. /**
  9124. * Rule for validating required fields.
  9125. *
  9126. * @param rule The validation rule.
  9127. * @param value The value of the field on the source object.
  9128. * @param source The source object being validated.
  9129. * @param errors An array of errors that this rule may add
  9130. * validation errors to.
  9131. * @param options The validation options.
  9132. * @param options.messages The validation messages.
  9133. */
  9134. function required(rule, value, source, errors, options, type) {
  9135. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  9136. errors.push(format(options.messages.required, rule.fullField));
  9137. }
  9138. }
  9139. /**
  9140. * Rule for validating whitespace.
  9141. *
  9142. * @param rule The validation rule.
  9143. * @param value The value of the field on the source object.
  9144. * @param source The source object being validated.
  9145. * @param errors An array of errors that this rule may add
  9146. * validation errors to.
  9147. * @param options The validation options.
  9148. * @param options.messages The validation messages.
  9149. */
  9150. function whitespace(rule, value, source, errors, options) {
  9151. if (/^\s+$/.test(value) || value === '') {
  9152. errors.push(format(options.messages.whitespace, rule.fullField));
  9153. }
  9154. }
  9155. /* eslint max-len:0 */
  9156. var pattern = {
  9157. // http://emailregex.com/
  9158. email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
  9159. 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'),
  9160. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  9161. };
  9162. var types = {
  9163. integer: function integer(value) {
  9164. return types.number(value) && parseInt(value, 10) === value;
  9165. },
  9166. "float": function float(value) {
  9167. return types.number(value) && !types.integer(value);
  9168. },
  9169. array: function array(value) {
  9170. return Array.isArray(value);
  9171. },
  9172. regexp: function regexp(value) {
  9173. if (value instanceof RegExp) {
  9174. return true;
  9175. }
  9176. try {
  9177. return !!new RegExp(value);
  9178. } catch (e) {
  9179. return false;
  9180. }
  9181. },
  9182. date: function date(value) {
  9183. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  9184. },
  9185. number: function number(value) {
  9186. if (isNaN(value)) {
  9187. return false;
  9188. }
  9189. // 修改源码,将字符串数值先转为数值
  9190. return typeof +value === 'number';
  9191. },
  9192. object: function object(value) {
  9193. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  9194. },
  9195. method: function method(value) {
  9196. return typeof value === 'function';
  9197. },
  9198. email: function email(value) {
  9199. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  9200. },
  9201. url: function url(value) {
  9202. return typeof value === 'string' && !!value.match(pattern.url);
  9203. },
  9204. hex: function hex(value) {
  9205. return typeof value === 'string' && !!value.match(pattern.hex);
  9206. }
  9207. };
  9208. /**
  9209. * Rule for validating the type of a value.
  9210. *
  9211. * @param rule The validation rule.
  9212. * @param value The value of the field on the source object.
  9213. * @param source The source object being validated.
  9214. * @param errors An array of errors that this rule may add
  9215. * validation errors to.
  9216. * @param options The validation options.
  9217. * @param options.messages The validation messages.
  9218. */
  9219. function type(rule, value, source, errors, options) {
  9220. if (rule.required && value === undefined) {
  9221. required(rule, value, source, errors, options);
  9222. return;
  9223. }
  9224. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  9225. var ruleType = rule.type;
  9226. if (custom.indexOf(ruleType) > -1) {
  9227. if (!types[ruleType](value)) {
  9228. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  9229. } // straight typeof check
  9230. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  9231. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  9232. }
  9233. }
  9234. /**
  9235. * Rule for validating minimum and maximum allowed values.
  9236. *
  9237. * @param rule The validation rule.
  9238. * @param value The value of the field on the source object.
  9239. * @param source The source object being validated.
  9240. * @param errors An array of errors that this rule may add
  9241. * validation errors to.
  9242. * @param options The validation options.
  9243. * @param options.messages The validation messages.
  9244. */
  9245. function range(rule, value, source, errors, options) {
  9246. var len = typeof rule.len === 'number';
  9247. var min = typeof rule.min === 'number';
  9248. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  9249. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  9250. var val = value;
  9251. var key = null;
  9252. var num = typeof value === 'number';
  9253. var str = typeof value === 'string';
  9254. var arr = Array.isArray(value);
  9255. if (num) {
  9256. key = 'number';
  9257. } else if (str) {
  9258. key = 'string';
  9259. } else if (arr) {
  9260. key = 'array';
  9261. } // if the value is not of a supported type for range validation
  9262. // the validation rule rule should use the
  9263. // type property to also test for a particular type
  9264. if (!key) {
  9265. return false;
  9266. }
  9267. if (arr) {
  9268. val = value.length;
  9269. }
  9270. if (str) {
  9271. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".length !== 3
  9272. val = value.replace(spRegexp, '_').length;
  9273. }
  9274. if (len) {
  9275. if (val !== rule.len) {
  9276. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  9277. }
  9278. } else if (min && !max && val < rule.min) {
  9279. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  9280. } else if (max && !min && val > rule.max) {
  9281. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  9282. } else if (min && max && (val < rule.min || val > rule.max)) {
  9283. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  9284. }
  9285. }
  9286. var ENUM = 'enum';
  9287. /**
  9288. * Rule for validating a value exists in an enumerable list.
  9289. *
  9290. * @param rule The validation rule.
  9291. * @param value The value of the field on the source object.
  9292. * @param source The source object being validated.
  9293. * @param errors An array of errors that this rule may add
  9294. * validation errors to.
  9295. * @param options The validation options.
  9296. * @param options.messages The validation messages.
  9297. */
  9298. function enumerable(rule, value, source, errors, options) {
  9299. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  9300. if (rule[ENUM].indexOf(value) === -1) {
  9301. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  9302. }
  9303. }
  9304. /**
  9305. * Rule for validating a regular expression pattern.
  9306. *
  9307. * @param rule The validation rule.
  9308. * @param value The value of the field on the source object.
  9309. * @param source The source object being validated.
  9310. * @param errors An array of errors that this rule may add
  9311. * validation errors to.
  9312. * @param options The validation options.
  9313. * @param options.messages The validation messages.
  9314. */
  9315. function pattern$1(rule, value, source, errors, options) {
  9316. if (rule.pattern) {
  9317. if (rule.pattern instanceof RegExp) {
  9318. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  9319. // flag is accidentally set to `true`, which in a validation scenario
  9320. // is not necessary and the result might be misleading
  9321. rule.pattern.lastIndex = 0;
  9322. if (!rule.pattern.test(value)) {
  9323. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  9324. }
  9325. } else if (typeof rule.pattern === 'string') {
  9326. var _pattern = new RegExp(rule.pattern);
  9327. if (!_pattern.test(value)) {
  9328. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  9329. }
  9330. }
  9331. }
  9332. }
  9333. var rules = {
  9334. required: required,
  9335. whitespace: whitespace,
  9336. type: type,
  9337. range: range,
  9338. "enum": enumerable,
  9339. pattern: pattern$1
  9340. };
  9341. /**
  9342. * Performs validation for string types.
  9343. *
  9344. * @param rule The validation rule.
  9345. * @param value The value of the field on the source object.
  9346. * @param callback The callback function.
  9347. * @param source The source object being validated.
  9348. * @param options The validation options.
  9349. * @param options.messages The validation messages.
  9350. */
  9351. function string(rule, value, callback, source, options) {
  9352. var errors = [];
  9353. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9354. if (validate) {
  9355. if (isEmptyValue(value, 'string') && !rule.required) {
  9356. return callback();
  9357. }
  9358. rules.required(rule, value, source, errors, options, 'string');
  9359. if (!isEmptyValue(value, 'string')) {
  9360. rules.type(rule, value, source, errors, options);
  9361. rules.range(rule, value, source, errors, options);
  9362. rules.pattern(rule, value, source, errors, options);
  9363. if (rule.whitespace === true) {
  9364. rules.whitespace(rule, value, source, errors, options);
  9365. }
  9366. }
  9367. }
  9368. callback(errors);
  9369. }
  9370. /**
  9371. * Validates a function.
  9372. *
  9373. * @param rule The validation rule.
  9374. * @param value The value of the field on the source object.
  9375. * @param callback The callback function.
  9376. * @param source The source object being validated.
  9377. * @param options The validation options.
  9378. * @param options.messages The validation messages.
  9379. */
  9380. function method(rule, value, callback, source, options) {
  9381. var errors = [];
  9382. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9383. if (validate) {
  9384. if (isEmptyValue(value) && !rule.required) {
  9385. return callback();
  9386. }
  9387. rules.required(rule, value, source, errors, options);
  9388. if (value !== undefined) {
  9389. rules.type(rule, value, source, errors, options);
  9390. }
  9391. }
  9392. callback(errors);
  9393. }
  9394. /**
  9395. * Validates a number.
  9396. *
  9397. * @param rule The validation rule.
  9398. * @param value The value of the field on the source object.
  9399. * @param callback The callback function.
  9400. * @param source The source object being validated.
  9401. * @param options The validation options.
  9402. * @param options.messages The validation messages.
  9403. */
  9404. function number(rule, value, callback, source, options) {
  9405. var errors = [];
  9406. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9407. if (validate) {
  9408. if (value === '') {
  9409. value = undefined;
  9410. }
  9411. if (isEmptyValue(value) && !rule.required) {
  9412. return callback();
  9413. }
  9414. rules.required(rule, value, source, errors, options);
  9415. if (value !== undefined) {
  9416. rules.type(rule, value, source, errors, options);
  9417. rules.range(rule, value, source, errors, options);
  9418. }
  9419. }
  9420. callback(errors);
  9421. }
  9422. /**
  9423. * Validates a boolean.
  9424. *
  9425. * @param rule The validation rule.
  9426. * @param value The value of the field on the source object.
  9427. * @param callback The callback function.
  9428. * @param source The source object being validated.
  9429. * @param options The validation options.
  9430. * @param options.messages The validation messages.
  9431. */
  9432. function _boolean(rule, value, callback, source, options) {
  9433. var errors = [];
  9434. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9435. if (validate) {
  9436. if (isEmptyValue(value) && !rule.required) {
  9437. return callback();
  9438. }
  9439. rules.required(rule, value, source, errors, options);
  9440. if (value !== undefined) {
  9441. rules.type(rule, value, source, errors, options);
  9442. }
  9443. }
  9444. callback(errors);
  9445. }
  9446. /**
  9447. * Validates the regular expression type.
  9448. *
  9449. * @param rule The validation rule.
  9450. * @param value The value of the field on the source object.
  9451. * @param callback The callback function.
  9452. * @param source The source object being validated.
  9453. * @param options The validation options.
  9454. * @param options.messages The validation messages.
  9455. */
  9456. function regexp(rule, value, callback, source, options) {
  9457. var errors = [];
  9458. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9459. if (validate) {
  9460. if (isEmptyValue(value) && !rule.required) {
  9461. return callback();
  9462. }
  9463. rules.required(rule, value, source, errors, options);
  9464. if (!isEmptyValue(value)) {
  9465. rules.type(rule, value, source, errors, options);
  9466. }
  9467. }
  9468. callback(errors);
  9469. }
  9470. /**
  9471. * Validates a number is an integer.
  9472. *
  9473. * @param rule The validation rule.
  9474. * @param value The value of the field on the source object.
  9475. * @param callback The callback function.
  9476. * @param source The source object being validated.
  9477. * @param options The validation options.
  9478. * @param options.messages The validation messages.
  9479. */
  9480. function integer(rule, value, callback, source, options) {
  9481. var errors = [];
  9482. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9483. if (validate) {
  9484. if (isEmptyValue(value) && !rule.required) {
  9485. return callback();
  9486. }
  9487. rules.required(rule, value, source, errors, options);
  9488. if (value !== undefined) {
  9489. rules.type(rule, value, source, errors, options);
  9490. rules.range(rule, value, source, errors, options);
  9491. }
  9492. }
  9493. callback(errors);
  9494. }
  9495. /**
  9496. * Validates a number is a floating point number.
  9497. *
  9498. * @param rule The validation rule.
  9499. * @param value The value of the field on the source object.
  9500. * @param callback The callback function.
  9501. * @param source The source object being validated.
  9502. * @param options The validation options.
  9503. * @param options.messages The validation messages.
  9504. */
  9505. function floatFn(rule, value, callback, source, options) {
  9506. var errors = [];
  9507. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9508. if (validate) {
  9509. if (isEmptyValue(value) && !rule.required) {
  9510. return callback();
  9511. }
  9512. rules.required(rule, value, source, errors, options);
  9513. if (value !== undefined) {
  9514. rules.type(rule, value, source, errors, options);
  9515. rules.range(rule, value, source, errors, options);
  9516. }
  9517. }
  9518. callback(errors);
  9519. }
  9520. /**
  9521. * Validates an array.
  9522. *
  9523. * @param rule The validation rule.
  9524. * @param value The value of the field on the source object.
  9525. * @param callback The callback function.
  9526. * @param source The source object being validated.
  9527. * @param options The validation options.
  9528. * @param options.messages The validation messages.
  9529. */
  9530. function array(rule, value, callback, source, options) {
  9531. var errors = [];
  9532. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9533. if (validate) {
  9534. if (isEmptyValue(value, 'array') && !rule.required) {
  9535. return callback();
  9536. }
  9537. rules.required(rule, value, source, errors, options, 'array');
  9538. if (!isEmptyValue(value, 'array')) {
  9539. rules.type(rule, value, source, errors, options);
  9540. rules.range(rule, value, source, errors, options);
  9541. }
  9542. }
  9543. callback(errors);
  9544. }
  9545. /**
  9546. * Validates an object.
  9547. *
  9548. * @param rule The validation rule.
  9549. * @param value The value of the field on the source object.
  9550. * @param callback The callback function.
  9551. * @param source The source object being validated.
  9552. * @param options The validation options.
  9553. * @param options.messages The validation messages.
  9554. */
  9555. function object(rule, value, callback, source, options) {
  9556. var errors = [];
  9557. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9558. if (validate) {
  9559. if (isEmptyValue(value) && !rule.required) {
  9560. return callback();
  9561. }
  9562. rules.required(rule, value, source, errors, options);
  9563. if (value !== undefined) {
  9564. rules.type(rule, value, source, errors, options);
  9565. }
  9566. }
  9567. callback(errors);
  9568. }
  9569. var ENUM$1 = 'enum';
  9570. /**
  9571. * Validates an enumerable list.
  9572. *
  9573. * @param rule The validation rule.
  9574. * @param value The value of the field on the source object.
  9575. * @param callback The callback function.
  9576. * @param source The source object being validated.
  9577. * @param options The validation options.
  9578. * @param options.messages The validation messages.
  9579. */
  9580. function enumerable$1(rule, value, callback, source, options) {
  9581. var errors = [];
  9582. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9583. if (validate) {
  9584. if (isEmptyValue(value) && !rule.required) {
  9585. return callback();
  9586. }
  9587. rules.required(rule, value, source, errors, options);
  9588. if (value !== undefined) {
  9589. rules[ENUM$1](rule, value, source, errors, options);
  9590. }
  9591. }
  9592. callback(errors);
  9593. }
  9594. /**
  9595. * Validates a regular expression pattern.
  9596. *
  9597. * Performs validation when a rule only contains
  9598. * a pattern property but is not declared as a string type.
  9599. *
  9600. * @param rule The validation rule.
  9601. * @param value The value of the field on the source object.
  9602. * @param callback The callback function.
  9603. * @param source The source object being validated.
  9604. * @param options The validation options.
  9605. * @param options.messages The validation messages.
  9606. */
  9607. function pattern$2(rule, value, callback, source, options) {
  9608. var errors = [];
  9609. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9610. if (validate) {
  9611. if (isEmptyValue(value, 'string') && !rule.required) {
  9612. return callback();
  9613. }
  9614. rules.required(rule, value, source, errors, options);
  9615. if (!isEmptyValue(value, 'string')) {
  9616. rules.pattern(rule, value, source, errors, options);
  9617. }
  9618. }
  9619. callback(errors);
  9620. }
  9621. function date(rule, value, callback, source, options) {
  9622. var errors = [];
  9623. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9624. if (validate) {
  9625. if (isEmptyValue(value) && !rule.required) {
  9626. return callback();
  9627. }
  9628. rules.required(rule, value, source, errors, options);
  9629. if (!isEmptyValue(value)) {
  9630. var dateObject;
  9631. if (typeof value === 'number') {
  9632. dateObject = new Date(value);
  9633. } else {
  9634. dateObject = value;
  9635. }
  9636. rules.type(rule, dateObject, source, errors, options);
  9637. if (dateObject) {
  9638. rules.range(rule, dateObject.getTime(), source, errors, options);
  9639. }
  9640. }
  9641. }
  9642. callback(errors);
  9643. }
  9644. function required$1(rule, value, callback, source, options) {
  9645. var errors = [];
  9646. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  9647. rules.required(rule, value, source, errors, options, type);
  9648. callback(errors);
  9649. }
  9650. function type$1(rule, value, callback, source, options) {
  9651. var ruleType = rule.type;
  9652. var errors = [];
  9653. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9654. if (validate) {
  9655. if (isEmptyValue(value, ruleType) && !rule.required) {
  9656. return callback();
  9657. }
  9658. rules.required(rule, value, source, errors, options, ruleType);
  9659. if (!isEmptyValue(value, ruleType)) {
  9660. rules.type(rule, value, source, errors, options);
  9661. }
  9662. }
  9663. callback(errors);
  9664. }
  9665. /**
  9666. * Performs validation for any type.
  9667. *
  9668. * @param rule The validation rule.
  9669. * @param value The value of the field on the source object.
  9670. * @param callback The callback function.
  9671. * @param source The source object being validated.
  9672. * @param options The validation options.
  9673. * @param options.messages The validation messages.
  9674. */
  9675. function any(rule, value, callback, source, options) {
  9676. var errors = [];
  9677. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  9678. if (validate) {
  9679. if (isEmptyValue(value) && !rule.required) {
  9680. return callback();
  9681. }
  9682. rules.required(rule, value, source, errors, options);
  9683. }
  9684. callback(errors);
  9685. }
  9686. var validators = {
  9687. string: string,
  9688. method: method,
  9689. number: number,
  9690. "boolean": _boolean,
  9691. regexp: regexp,
  9692. integer: integer,
  9693. "float": floatFn,
  9694. array: array,
  9695. object: object,
  9696. "enum": enumerable$1,
  9697. pattern: pattern$2,
  9698. date: date,
  9699. url: type$1,
  9700. hex: type$1,
  9701. email: type$1,
  9702. required: required$1,
  9703. any: any
  9704. };
  9705. function newMessages() {
  9706. return {
  9707. "default": 'Validation error on field %s',
  9708. required: '%s is required',
  9709. "enum": '%s must be one of %s',
  9710. whitespace: '%s cannot be empty',
  9711. date: {
  9712. format: '%s date %s is invalid for format %s',
  9713. parse: '%s date could not be parsed, %s is invalid ',
  9714. invalid: '%s date %s is invalid'
  9715. },
  9716. types: {
  9717. string: '%s is not a %s',
  9718. method: '%s is not a %s (function)',
  9719. array: '%s is not an %s',
  9720. object: '%s is not an %s',
  9721. number: '%s is not a %s',
  9722. date: '%s is not a %s',
  9723. "boolean": '%s is not a %s',
  9724. integer: '%s is not an %s',
  9725. "float": '%s is not a %s',
  9726. regexp: '%s is not a valid %s',
  9727. email: '%s is not a valid %s',
  9728. url: '%s is not a valid %s',
  9729. hex: '%s is not a valid %s'
  9730. },
  9731. string: {
  9732. len: '%s must be exactly %s characters',
  9733. min: '%s must be at least %s characters',
  9734. max: '%s cannot be longer than %s characters',
  9735. range: '%s must be between %s and %s characters'
  9736. },
  9737. number: {
  9738. len: '%s must equal %s',
  9739. min: '%s cannot be less than %s',
  9740. max: '%s cannot be greater than %s',
  9741. range: '%s must be between %s and %s'
  9742. },
  9743. array: {
  9744. len: '%s must be exactly %s in length',
  9745. min: '%s cannot be less than %s in length',
  9746. max: '%s cannot be greater than %s in length',
  9747. range: '%s must be between %s and %s in length'
  9748. },
  9749. pattern: {
  9750. mismatch: '%s value %s does not match pattern %s'
  9751. },
  9752. clone: function clone() {
  9753. var cloned = JSON.parse(JSON.stringify(this));
  9754. cloned.clone = this.clone;
  9755. return cloned;
  9756. }
  9757. };
  9758. }
  9759. var messages = newMessages();
  9760. /**
  9761. * Encapsulates a validation schema.
  9762. *
  9763. * @param descriptor An object declaring validation rules
  9764. * for this schema.
  9765. */
  9766. function Schema(descriptor) {
  9767. this.rules = null;
  9768. this._messages = messages;
  9769. this.define(descriptor);
  9770. }
  9771. Schema.prototype = {
  9772. messages: function messages(_messages) {
  9773. if (_messages) {
  9774. this._messages = deepMerge(newMessages(), _messages);
  9775. }
  9776. return this._messages;
  9777. },
  9778. define: function define(rules) {
  9779. if (!rules) {
  9780. throw new Error('Cannot configure a schema with no rules');
  9781. }
  9782. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  9783. throw new Error('Rules must be an object');
  9784. }
  9785. this.rules = {};
  9786. var z;
  9787. var item;
  9788. for (z in rules) {
  9789. if (rules.hasOwnProperty(z)) {
  9790. item = rules[z];
  9791. this.rules[z] = Array.isArray(item) ? item : [item];
  9792. }
  9793. }
  9794. },
  9795. validate: function validate(source_, o, oc) {
  9796. var _this = this;
  9797. if (o === void 0) {
  9798. o = {};
  9799. }
  9800. if (oc === void 0) {
  9801. oc = function oc() {};
  9802. }
  9803. var source = source_;
  9804. var options = o;
  9805. var callback = oc;
  9806. if (typeof options === 'function') {
  9807. callback = options;
  9808. options = {};
  9809. }
  9810. if (!this.rules || Object.keys(this.rules).length === 0) {
  9811. if (callback) {
  9812. callback();
  9813. }
  9814. return Promise.resolve();
  9815. }
  9816. function complete(results) {
  9817. var i;
  9818. var errors = [];
  9819. var fields = {};
  9820. function add(e) {
  9821. if (Array.isArray(e)) {
  9822. var _errors;
  9823. errors = (_errors = errors).concat.apply(_errors, e);
  9824. } else {
  9825. errors.push(e);
  9826. }
  9827. }
  9828. for (i = 0; i < results.length; i++) {
  9829. add(results[i]);
  9830. }
  9831. if (!errors.length) {
  9832. errors = null;
  9833. fields = null;
  9834. } else {
  9835. fields = convertFieldsError(errors);
  9836. }
  9837. callback(errors, fields);
  9838. }
  9839. if (options.messages) {
  9840. var messages$1 = this.messages();
  9841. if (messages$1 === messages) {
  9842. messages$1 = newMessages();
  9843. }
  9844. deepMerge(messages$1, options.messages);
  9845. options.messages = messages$1;
  9846. } else {
  9847. options.messages = this.messages();
  9848. }
  9849. var arr;
  9850. var value;
  9851. var series = {};
  9852. var keys = options.keys || Object.keys(this.rules);
  9853. keys.forEach(function (z) {
  9854. arr = _this.rules[z];
  9855. value = source[z];
  9856. arr.forEach(function (r) {
  9857. var rule = r;
  9858. if (typeof rule.transform === 'function') {
  9859. if (source === source_) {
  9860. source = _extends({}, source);
  9861. }
  9862. value = source[z] = rule.transform(value);
  9863. }
  9864. if (typeof rule === 'function') {
  9865. rule = {
  9866. validator: rule
  9867. };
  9868. } else {
  9869. rule = _extends({}, rule);
  9870. }
  9871. rule.validator = _this.getValidationMethod(rule);
  9872. rule.field = z;
  9873. rule.fullField = rule.fullField || z;
  9874. rule.type = _this.getType(rule);
  9875. if (!rule.validator) {
  9876. return;
  9877. }
  9878. series[z] = series[z] || [];
  9879. series[z].push({
  9880. rule: rule,
  9881. value: value,
  9882. source: source,
  9883. field: z
  9884. });
  9885. });
  9886. });
  9887. var errorFields = {};
  9888. return asyncMap(series, options, function (data, doIt) {
  9889. var rule = data.rule;
  9890. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  9891. deep = deep && (rule.required || !rule.required && data.value);
  9892. rule.field = data.field;
  9893. function addFullfield(key, schema) {
  9894. return _extends({}, schema, {
  9895. fullField: rule.fullField + "." + key
  9896. });
  9897. }
  9898. function cb(e) {
  9899. if (e === void 0) {
  9900. e = [];
  9901. }
  9902. var errors = e;
  9903. if (!Array.isArray(errors)) {
  9904. errors = [errors];
  9905. }
  9906. if (!options.suppressWarning && errors.length) {
  9907. Schema.warning('async-validator:', errors);
  9908. }
  9909. if (errors.length && rule.message) {
  9910. errors = [].concat(rule.message);
  9911. }
  9912. errors = errors.map(complementError(rule));
  9913. if (options.first && errors.length) {
  9914. errorFields[rule.field] = 1;
  9915. return doIt(errors);
  9916. }
  9917. if (!deep) {
  9918. doIt(errors);
  9919. } else {
  9920. // if rule is required but the target object
  9921. // does not exist fail at the rule level and don't
  9922. // go deeper
  9923. if (rule.required && !data.value) {
  9924. if (rule.message) {
  9925. errors = [].concat(rule.message).map(complementError(rule));
  9926. } else if (options.error) {
  9927. errors = [options.error(rule, format(options.messages.required, rule.field))];
  9928. } else {
  9929. errors = [];
  9930. }
  9931. return doIt(errors);
  9932. }
  9933. var fieldsSchema = {};
  9934. if (rule.defaultField) {
  9935. for (var k in data.value) {
  9936. if (data.value.hasOwnProperty(k)) {
  9937. fieldsSchema[k] = rule.defaultField;
  9938. }
  9939. }
  9940. }
  9941. fieldsSchema = _extends({}, fieldsSchema, {}, data.rule.fields);
  9942. for (var f in fieldsSchema) {
  9943. if (fieldsSchema.hasOwnProperty(f)) {
  9944. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  9945. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  9946. }
  9947. }
  9948. var schema = new Schema(fieldsSchema);
  9949. schema.messages(options.messages);
  9950. if (data.rule.options) {
  9951. data.rule.options.messages = options.messages;
  9952. data.rule.options.error = options.error;
  9953. }
  9954. schema.validate(data.value, data.rule.options || options, function (errs) {
  9955. var finalErrors = [];
  9956. if (errors && errors.length) {
  9957. finalErrors.push.apply(finalErrors, errors);
  9958. }
  9959. if (errs && errs.length) {
  9960. finalErrors.push.apply(finalErrors, errs);
  9961. }
  9962. doIt(finalErrors.length ? finalErrors : null);
  9963. });
  9964. }
  9965. }
  9966. var res;
  9967. if (rule.asyncValidator) {
  9968. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  9969. } else if (rule.validator) {
  9970. res = rule.validator(rule, data.value, cb, data.source, options);
  9971. if (res === true) {
  9972. cb();
  9973. } else if (res === false) {
  9974. cb(rule.message || rule.field + " fails");
  9975. } else if (res instanceof Array) {
  9976. cb(res);
  9977. } else if (res instanceof Error) {
  9978. cb(res.message);
  9979. }
  9980. }
  9981. if (res && res.then) {
  9982. res.then(function () {
  9983. return cb();
  9984. }, function (e) {
  9985. return cb(e);
  9986. });
  9987. }
  9988. }, function (results) {
  9989. complete(results);
  9990. });
  9991. },
  9992. getType: function getType(rule) {
  9993. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  9994. rule.type = 'pattern';
  9995. }
  9996. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  9997. throw new Error(format('Unknown rule type %s', rule.type));
  9998. }
  9999. return rule.type || 'string';
  10000. },
  10001. getValidationMethod: function getValidationMethod(rule) {
  10002. if (typeof rule.validator === 'function') {
  10003. return rule.validator;
  10004. }
  10005. var keys = Object.keys(rule);
  10006. var messageIndex = keys.indexOf('message');
  10007. if (messageIndex !== -1) {
  10008. keys.splice(messageIndex, 1);
  10009. }
  10010. if (keys.length === 1 && keys[0] === 'required') {
  10011. return validators.required;
  10012. }
  10013. return validators[this.getType(rule)] || false;
  10014. }
  10015. };
  10016. Schema.register = function register(type, validator) {
  10017. if (typeof validator !== 'function') {
  10018. throw new Error('Cannot register a validator by type, validator is not a function');
  10019. }
  10020. validators[type] = validator;
  10021. };
  10022. Schema.warning = warning;
  10023. Schema.messages = messages;
  10024. var _default = Schema;
  10025. exports.default = _default;
  10026. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 324)))
  10027. /***/ }),
  10028. /***/ 324:
  10029. /*!********************************************************!*\
  10030. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  10031. \********************************************************/
  10032. /*! no static exports found */
  10033. /***/ (function(module, exports, __webpack_require__) {
  10034. exports.nextTick = function nextTick(fn) {
  10035. var args = Array.prototype.slice.call(arguments);
  10036. args.shift();
  10037. setTimeout(function () {
  10038. fn.apply(null, args);
  10039. }, 0);
  10040. };
  10041. exports.platform = exports.arch =
  10042. exports.execPath = exports.title = 'browser';
  10043. exports.pid = 1;
  10044. exports.browser = true;
  10045. exports.env = {};
  10046. exports.argv = [];
  10047. exports.binding = function (name) {
  10048. throw new Error('No such module. (Possibly not yet loaded)')
  10049. };
  10050. (function () {
  10051. var cwd = '/';
  10052. var path;
  10053. exports.cwd = function () { return cwd };
  10054. exports.chdir = function (dir) {
  10055. if (!path) path = __webpack_require__(/*! path */ 325);
  10056. cwd = path.resolve(dir, cwd);
  10057. };
  10058. })();
  10059. exports.exit = exports.kill =
  10060. exports.umask = exports.dlopen =
  10061. exports.uptime = exports.memoryUsage =
  10062. exports.uvCounters = function() {};
  10063. exports.features = {};
  10064. /***/ }),
  10065. /***/ 325:
  10066. /*!***********************************************!*\
  10067. !*** ./node_modules/path-browserify/index.js ***!
  10068. \***********************************************/
  10069. /*! no static exports found */
  10070. /***/ (function(module, exports, __webpack_require__) {
  10071. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  10072. // backported and transplited with Babel, with backwards-compat fixes
  10073. // Copyright Joyent, Inc. and other Node contributors.
  10074. //
  10075. // Permission is hereby granted, free of charge, to any person obtaining a
  10076. // copy of this software and associated documentation files (the
  10077. // "Software"), to deal in the Software without restriction, including
  10078. // without limitation the rights to use, copy, modify, merge, publish,
  10079. // distribute, sublicense, and/or sell copies of the Software, and to permit
  10080. // persons to whom the Software is furnished to do so, subject to the
  10081. // following conditions:
  10082. //
  10083. // The above copyright notice and this permission notice shall be included
  10084. // in all copies or substantial portions of the Software.
  10085. //
  10086. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  10087. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  10088. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  10089. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  10090. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  10091. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  10092. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  10093. // resolves . and .. elements in a path array with directory names there
  10094. // must be no slashes, empty elements, or device names (c:\) in the array
  10095. // (so also no leading and trailing slashes - it does not distinguish
  10096. // relative and absolute paths)
  10097. function normalizeArray(parts, allowAboveRoot) {
  10098. // if the path tries to go above the root, `up` ends up > 0
  10099. var up = 0;
  10100. for (var i = parts.length - 1; i >= 0; i--) {
  10101. var last = parts[i];
  10102. if (last === '.') {
  10103. parts.splice(i, 1);
  10104. } else if (last === '..') {
  10105. parts.splice(i, 1);
  10106. up++;
  10107. } else if (up) {
  10108. parts.splice(i, 1);
  10109. up--;
  10110. }
  10111. }
  10112. // if the path is allowed to go above the root, restore leading ..s
  10113. if (allowAboveRoot) {
  10114. for (; up--; up) {
  10115. parts.unshift('..');
  10116. }
  10117. }
  10118. return parts;
  10119. }
  10120. // path.resolve([from ...], to)
  10121. // posix version
  10122. exports.resolve = function() {
  10123. var resolvedPath = '',
  10124. resolvedAbsolute = false;
  10125. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  10126. var path = (i >= 0) ? arguments[i] : process.cwd();
  10127. // Skip empty and invalid entries
  10128. if (typeof path !== 'string') {
  10129. throw new TypeError('Arguments to path.resolve must be strings');
  10130. } else if (!path) {
  10131. continue;
  10132. }
  10133. resolvedPath = path + '/' + resolvedPath;
  10134. resolvedAbsolute = path.charAt(0) === '/';
  10135. }
  10136. // At this point the path should be resolved to a full absolute path, but
  10137. // handle relative paths to be safe (might happen when process.cwd() fails)
  10138. // Normalize the path
  10139. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  10140. return !!p;
  10141. }), !resolvedAbsolute).join('/');
  10142. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  10143. };
  10144. // path.normalize(path)
  10145. // posix version
  10146. exports.normalize = function(path) {
  10147. var isAbsolute = exports.isAbsolute(path),
  10148. trailingSlash = substr(path, -1) === '/';
  10149. // Normalize the path
  10150. path = normalizeArray(filter(path.split('/'), function(p) {
  10151. return !!p;
  10152. }), !isAbsolute).join('/');
  10153. if (!path && !isAbsolute) {
  10154. path = '.';
  10155. }
  10156. if (path && trailingSlash) {
  10157. path += '/';
  10158. }
  10159. return (isAbsolute ? '/' : '') + path;
  10160. };
  10161. // posix version
  10162. exports.isAbsolute = function(path) {
  10163. return path.charAt(0) === '/';
  10164. };
  10165. // posix version
  10166. exports.join = function() {
  10167. var paths = Array.prototype.slice.call(arguments, 0);
  10168. return exports.normalize(filter(paths, function(p, index) {
  10169. if (typeof p !== 'string') {
  10170. throw new TypeError('Arguments to path.join must be strings');
  10171. }
  10172. return p;
  10173. }).join('/'));
  10174. };
  10175. // path.relative(from, to)
  10176. // posix version
  10177. exports.relative = function(from, to) {
  10178. from = exports.resolve(from).substr(1);
  10179. to = exports.resolve(to).substr(1);
  10180. function trim(arr) {
  10181. var start = 0;
  10182. for (; start < arr.length; start++) {
  10183. if (arr[start] !== '') break;
  10184. }
  10185. var end = arr.length - 1;
  10186. for (; end >= 0; end--) {
  10187. if (arr[end] !== '') break;
  10188. }
  10189. if (start > end) return [];
  10190. return arr.slice(start, end - start + 1);
  10191. }
  10192. var fromParts = trim(from.split('/'));
  10193. var toParts = trim(to.split('/'));
  10194. var length = Math.min(fromParts.length, toParts.length);
  10195. var samePartsLength = length;
  10196. for (var i = 0; i < length; i++) {
  10197. if (fromParts[i] !== toParts[i]) {
  10198. samePartsLength = i;
  10199. break;
  10200. }
  10201. }
  10202. var outputParts = [];
  10203. for (var i = samePartsLength; i < fromParts.length; i++) {
  10204. outputParts.push('..');
  10205. }
  10206. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  10207. return outputParts.join('/');
  10208. };
  10209. exports.sep = '/';
  10210. exports.delimiter = ':';
  10211. exports.dirname = function (path) {
  10212. if (typeof path !== 'string') path = path + '';
  10213. if (path.length === 0) return '.';
  10214. var code = path.charCodeAt(0);
  10215. var hasRoot = code === 47 /*/*/;
  10216. var end = -1;
  10217. var matchedSlash = true;
  10218. for (var i = path.length - 1; i >= 1; --i) {
  10219. code = path.charCodeAt(i);
  10220. if (code === 47 /*/*/) {
  10221. if (!matchedSlash) {
  10222. end = i;
  10223. break;
  10224. }
  10225. } else {
  10226. // We saw the first non-path separator
  10227. matchedSlash = false;
  10228. }
  10229. }
  10230. if (end === -1) return hasRoot ? '/' : '.';
  10231. if (hasRoot && end === 1) {
  10232. // return '//';
  10233. // Backwards-compat fix:
  10234. return '/';
  10235. }
  10236. return path.slice(0, end);
  10237. };
  10238. function basename(path) {
  10239. if (typeof path !== 'string') path = path + '';
  10240. var start = 0;
  10241. var end = -1;
  10242. var matchedSlash = true;
  10243. var i;
  10244. for (i = path.length - 1; i >= 0; --i) {
  10245. if (path.charCodeAt(i) === 47 /*/*/) {
  10246. // If we reached a path separator that was not part of a set of path
  10247. // separators at the end of the string, stop now
  10248. if (!matchedSlash) {
  10249. start = i + 1;
  10250. break;
  10251. }
  10252. } else if (end === -1) {
  10253. // We saw the first non-path separator, mark this as the end of our
  10254. // path component
  10255. matchedSlash = false;
  10256. end = i + 1;
  10257. }
  10258. }
  10259. if (end === -1) return '';
  10260. return path.slice(start, end);
  10261. }
  10262. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  10263. // in new Node.js versions, so only basename() above is backported here
  10264. exports.basename = function (path, ext) {
  10265. var f = basename(path);
  10266. if (ext && f.substr(-1 * ext.length) === ext) {
  10267. f = f.substr(0, f.length - ext.length);
  10268. }
  10269. return f;
  10270. };
  10271. exports.extname = function (path) {
  10272. if (typeof path !== 'string') path = path + '';
  10273. var startDot = -1;
  10274. var startPart = 0;
  10275. var end = -1;
  10276. var matchedSlash = true;
  10277. // Track the state of characters (if any) we see before our first dot and
  10278. // after any path separator we find
  10279. var preDotState = 0;
  10280. for (var i = path.length - 1; i >= 0; --i) {
  10281. var code = path.charCodeAt(i);
  10282. if (code === 47 /*/*/) {
  10283. // If we reached a path separator that was not part of a set of path
  10284. // separators at the end of the string, stop now
  10285. if (!matchedSlash) {
  10286. startPart = i + 1;
  10287. break;
  10288. }
  10289. continue;
  10290. }
  10291. if (end === -1) {
  10292. // We saw the first non-path separator, mark this as the end of our
  10293. // extension
  10294. matchedSlash = false;
  10295. end = i + 1;
  10296. }
  10297. if (code === 46 /*.*/) {
  10298. // If this is our first dot, mark it as the start of our extension
  10299. if (startDot === -1)
  10300. startDot = i;
  10301. else if (preDotState !== 1)
  10302. preDotState = 1;
  10303. } else if (startDot !== -1) {
  10304. // We saw a non-dot and non-path separator before our dot, so we should
  10305. // have a good chance at having a non-empty extension
  10306. preDotState = -1;
  10307. }
  10308. }
  10309. if (startDot === -1 || end === -1 ||
  10310. // We saw a non-dot character immediately before the dot
  10311. preDotState === 0 ||
  10312. // The (right-most) trimmed path component is exactly '..'
  10313. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  10314. return '';
  10315. }
  10316. return path.slice(startDot, end);
  10317. };
  10318. function filter (xs, f) {
  10319. if (xs.filter) return xs.filter(f);
  10320. var res = [];
  10321. for (var i = 0; i < xs.length; i++) {
  10322. if (f(xs[i], i, xs)) res.push(xs[i]);
  10323. }
  10324. return res;
  10325. }
  10326. // String.prototype.substr - negative index don't work in IE8
  10327. var substr = 'ab'.substr(-1) === 'b'
  10328. ? function (str, start, len) { return str.substr(start, len) }
  10329. : function (str, start, len) {
  10330. if (start < 0) start = str.length + start;
  10331. return str.substr(start, len);
  10332. }
  10333. ;
  10334. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 324)))
  10335. /***/ }),
  10336. /***/ 33:
  10337. /*!***********************************************!*\
  10338. !*** E:/Desktop/zd_wechatApp(1)/api/index.js ***!
  10339. \***********************************************/
  10340. /*! no static exports found */
  10341. /***/ (function(module, exports, __webpack_require__) {
  10342. "use strict";
  10343. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10344. Object.defineProperty(exports, "__esModule", {
  10345. value: true
  10346. });
  10347. exports.default = void 0;
  10348. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10349. var _common = _interopRequireDefault(__webpack_require__(/*! ./common.js */ 34));
  10350. var _login = _interopRequireDefault(__webpack_require__(/*! ./login.js */ 35));
  10351. 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; }
  10352. 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; }
  10353. var service = _objectSpread(_objectSpread({}, _common.default), _login.default);
  10354. var _default = service;
  10355. exports.default = _default;
  10356. /***/ }),
  10357. /***/ 34:
  10358. /*!************************************************!*\
  10359. !*** E:/Desktop/zd_wechatApp(1)/api/common.js ***!
  10360. \************************************************/
  10361. /*! no static exports found */
  10362. /***/ (function(module, exports, __webpack_require__) {
  10363. "use strict";
  10364. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10365. Object.defineProperty(exports, "__esModule", {
  10366. value: true
  10367. });
  10368. exports.default = void 0;
  10369. var _request = _interopRequireDefault(__webpack_require__(/*! ../common/request.js */ 36));
  10370. var _default = {
  10371. //选择行政区
  10372. getDistrict: function getDistrict(data) {
  10373. return _request.default.requestFn("/system/dict/data/type/district", data);
  10374. },
  10375. // //选择小区
  10376. // getArea(data) {
  10377. // return utils.requestEn(`/mobile/area/getArea`, data)
  10378. // },
  10379. //选择单元
  10380. getUnit: function getUnit(data) {
  10381. return _request.default.requestEn("/mobile/unit/getUnit", data);
  10382. },
  10383. //选择楼宇
  10384. getBuilding: function getBuilding(data) {
  10385. return _request.default.requestEn("/mobile/building/getBuilding", data);
  10386. },
  10387. //选择房屋(门牌)
  10388. getHouse: function getHouse(data) {
  10389. return _request.default.requestEn("/mobile/house/getHouse", data);
  10390. },
  10391. //公告列表
  10392. getNoticeList: function getNoticeList(data) {
  10393. return _request.default.requestEn("/mobile/notice/getNotice", data);
  10394. },
  10395. //关于我们
  10396. getAboutUs: function getAboutUs(data) {
  10397. return _request.default.requestEn("/mobile/aboutUs/getOne", data);
  10398. },
  10399. //服务说明
  10400. getExplain: function getExplain(data) {
  10401. return _request.default.requestEn("/mobile/explain/getOne", data);
  10402. },
  10403. //上门类型
  10404. getDic: function getDic(data) {
  10405. return _request.default.requestEn("/mobile/order/getDic", data);
  10406. },
  10407. //管子类别
  10408. getPipeType: function getPipeType(data) {
  10409. return _request.default.requestEn("/mobile/pipeType/getPipeType", data);
  10410. },
  10411. //管子长度
  10412. getPipeLength: function getPipeLength(data) {
  10413. return _request.default.requestEn("/mobile/pipeLength/getPipeLength", data);
  10414. },
  10415. //历史施工
  10416. getListAll: function getListAll(data) {
  10417. return _request.default.requestFn("/mobile/order/getListAll", data);
  10418. },
  10419. //历史施工(查看详情页)
  10420. getOrderPhoto: function getOrderPhoto(data) {
  10421. return _request.default.requestEn("/mobile/orderPhoto/getPhoto", data);
  10422. },
  10423. //提交数据
  10424. submitOrder: function submitOrder(data) {
  10425. return _request.default.requestFn("/mobile/order", data, 'POST');
  10426. },
  10427. //工程列表
  10428. getEngineList: function getEngineList(data) {
  10429. return _request.default.requestEn("/mobile/otherEngine/getList", data);
  10430. },
  10431. //查看非市政项目
  10432. getEngineDetail: function getEngineDetail(data) {
  10433. return _request.default.requestEn("/mobile/otherEngine/getById", data);
  10434. },
  10435. //查看非市政项目页 确认上传照片
  10436. updateEnginePhoto: function updateEnginePhoto(data) {
  10437. return _request.default.requestFn("/mobile/otherEngine", data, 'PUT');
  10438. },
  10439. //门牌验证
  10440. // getOrderForStatus(data){
  10441. // return utils.requestEn(`/mobile/order/getOrderForStatus`, data)
  10442. // },
  10443. //首页轮播图
  10444. getLunBo: function getLunBo(data) {
  10445. return _request.default.requestEn("/mobile/rotation/list", data);
  10446. },
  10447. //获取项目类型
  10448. getProjectType: function getProjectType(data) {
  10449. return _request.default.requestEn("/mobile/order/getDic", data);
  10450. },
  10451. //获取项目列表
  10452. getProjectList: function getProjectList(data) {
  10453. return _request.default.requestEn("/mobile/otherEngine/getList", data);
  10454. },
  10455. //自闭阀类型
  10456. getProject: function getProject(data) {
  10457. return _request.default.requestEn("/mobile/valve/getValveType", data);
  10458. },
  10459. //上传照片
  10460. getImage: function getImage(data) {
  10461. return _request.default.requestFn("/obs", data, 'POST');
  10462. },
  10463. //获取用户名
  10464. getUserName: function getUserName(data) {
  10465. return _request.default.requestFn("/mobile/user/getName", data);
  10466. },
  10467. //工程列表
  10468. getList: function getList(data) {
  10469. return _request.default.requestEn("/mobile/order/getList", data);
  10470. },
  10471. //小区合格率
  10472. getExamineArea: function getExamineArea(data) {
  10473. return _request.default.requestEn("/mobile/area/getExamineArea", data);
  10474. },
  10475. //列表
  10476. getOtherList: function getOtherList(data) {
  10477. return _request.default.requestEn("/mobile/order/getOtherList", data);
  10478. },
  10479. //职工合格率
  10480. getExamineWorker: function getExamineWorker(data) {
  10481. return _request.default.requestEn("/mobile/area/getExamineWorker", data);
  10482. },
  10483. //小区服务统计
  10484. getExamineServe: function getExamineServe(data) {
  10485. return _request.default.requestEn("/mobile/area/getExamineServe", data);
  10486. },
  10487. //管材类别统计
  10488. getExaminePipeType: function getExaminePipeType(data) {
  10489. return _request.default.requestEn("/mobile/area/getExaminePipeType", data);
  10490. },
  10491. //管材长度统计
  10492. getExaminePipeLength: function getExaminePipeLength(data) {
  10493. return _request.default.requestEn("/mobile/area/getExaminePipeLength", data);
  10494. },
  10495. //自闭阀类别统计
  10496. getExamineValveType: function getExamineValveType(data) {
  10497. return _request.default.requestEn("/mobile/area/getExamineValveType", data);
  10498. },
  10499. //小区汇总统计
  10500. getAreaSum: function getAreaSum(data) {
  10501. return _request.default.requestEn("/mobile/area/getAreaSum", data);
  10502. },
  10503. //获取职工
  10504. // getWorker(data) {
  10505. // return utils.requestEn(`/mobile/area/getWorker`, data)
  10506. // },
  10507. getById: function getById(data) {
  10508. return _request.default.requestEn("/mobile/order/getById", data);
  10509. },
  10510. getOrderList: function getOrderList(data) {
  10511. return _request.default.requestEn("/mobile/order/getList", data);
  10512. },
  10513. //修改
  10514. getUpdateOrder: function getUpdateOrder(data) {
  10515. return _request.default.requestFn("/mobile/order", data, 'PUT');
  10516. },
  10517. //选择门牌(安检,工程管理页)
  10518. getAllHouse: function getAllHouse(data) {
  10519. return _request.default.requestEn("/mobile/house/getAllHouse", data);
  10520. },
  10521. //选择门牌(安检,工程管理页)
  10522. getDictInfo: function getDictInfo(data) {
  10523. return _request.default.requestEn("/mobile/sysInfo/dict", data);
  10524. },
  10525. //选择门牌(安检,工程管理页)
  10526. getUnitList: function getUnitList(data) {
  10527. return _request.default.requestEn("/mobile/unit/getUnit", data);
  10528. },
  10529. getBuildingList: function getBuildingList(data) {
  10530. return _request.default.requestEn("/mobile/building/getBuilding", data);
  10531. },
  10532. getArea: function getArea(data) {
  10533. return _request.default.requestEn("/mobile/area/getArea", data);
  10534. },
  10535. getDictInfoList: function getDictInfoList(data) {
  10536. return _request.default.requestEn("/mobile/sysInfo/dictlist", data, 'POST');
  10537. },
  10538. setregulatorBox: function setregulatorBox(data) {
  10539. return _request.default.requestEn("/mobile/regulatorBox", data, 'POST');
  10540. },
  10541. updateregulatorBox: function updateregulatorBox(data) {
  10542. return _request.default.requestEn("/mobile/regulatorBox", data, 'PUT');
  10543. },
  10544. setwarningPile: function setwarningPile(data) {
  10545. return _request.default.requestEn("/mobile/warningPile", data, 'Put');
  10546. },
  10547. getwarningPileList: function getwarningPileList(data) {
  10548. return _request.default.requestEn("/mobile/warningPile/getList", data);
  10549. },
  10550. getwarningPileInfo: function getwarningPileInfo(data) {
  10551. return _request.default.requestEn("/mobile/warningPile/".concat(data));
  10552. },
  10553. setcourtyardNetworkManagement: function setcourtyardNetworkManagement(data) {
  10554. return _request.default.requestEn("/mobile/courtyardNetworkManagement", data, 'POST');
  10555. },
  10556. updatecourtyardNetworkManagement: function updatecourtyardNetworkManagement(data) {
  10557. return _request.default.requestEn("/mobile/courtyardNetworkManagement", data, 'PUT');
  10558. },
  10559. setemergencyRepair: function setemergencyRepair(data) {
  10560. return _request.default.requestEn("/mobile/emergencyRepair", data, 'POST');
  10561. },
  10562. updateemergencyRepair: function updateemergencyRepair(data) {
  10563. return _request.default.requestEn("/mobile/emergencyRepair", data, 'PUT');
  10564. },
  10565. getOne: function getOne() {
  10566. return _request.default.requestEn("/mobile/explain/getOne");
  10567. },
  10568. getWorker: function getWorker(data) {
  10569. return _request.default.requestEn("/mobile/user/getWorker", data);
  10570. },
  10571. getSearch: function getSearch(data) {
  10572. return _request.default.requestEn("/mobile/sysInfo/search", data, 'POST');
  10573. },
  10574. //庭院网管控制器
  10575. getcourtyardNetworkManagement: function getcourtyardNetworkManagement(data) {
  10576. return _request.default.requestEn("/mobile/courtyardNetworkManagement/".concat(data));
  10577. },
  10578. saveroadSectionInspection: function saveroadSectionInspection(data) {
  10579. return _request.default.requestEn("/mobile/roadSectionInspection", data, 'POST');
  10580. },
  10581. updateroadSectionInspection: function updateroadSectionInspection(data) {
  10582. return _request.default.requestEn("/mobile/roadSectionInspection", data, 'PUT');
  10583. },
  10584. getroadSectionInspection: function getroadSectionInspection(data) {
  10585. return _request.default.requestEn("/mobile/roadSectionInspection/".concat(data));
  10586. },
  10587. getroadSectionInspectionList: function getroadSectionInspectionList(data) {
  10588. return _request.default.requestEn("/mobile/roadSectionInspection/list", data);
  10589. },
  10590. //抢险维修控制器
  10591. getemergencyRepair: function getemergencyRepair(data) {
  10592. return _request.default.requestEn("/mobile/emergencyRepair/".concat(data));
  10593. },
  10594. //调压箱管理控制器
  10595. getregulatorBox2: function getregulatorBox2(data) {
  10596. return _request.default.requestEn("/mobile/regulatorBox/".concat(data));
  10597. },
  10598. //警示桩控制器
  10599. getwarningPile: function getwarningPile(data) {
  10600. return _request.default.requestEn("/mobile/warningPile/".concat(data));
  10601. },
  10602. patrolRecord: function patrolRecord(data) {
  10603. return _request.default.requestEn("/mobile/patrolRecord", data, 'POST');
  10604. },
  10605. //警示桩控制器
  10606. getpatrolRecord: function getpatrolRecord(data) {
  10607. return _request.default.requestEn("/mobile/patrolRecord/".concat(data));
  10608. },
  10609. getAdministrativeOffice: function getAdministrativeOffice(data) {
  10610. return _request.default.requestEn("/mobile/regulatorBox/getAdministrativeOffice", data);
  10611. },
  10612. getregulatorBoxList: function getregulatorBoxList(data) {
  10613. return _request.default.requestLo("/mobile/pressureRegulatingBox/list", data);
  10614. },
  10615. getpressureRegulatingBox: function getpressureRegulatingBox(data) {
  10616. return _request.default.requestEn("/mobile/pressureRegulatingBox/".concat(data));
  10617. },
  10618. getvalveWellPositionlist: function getvalveWellPositionlist(data) {
  10619. return _request.default.requestEn("/mobile/valveWellPosition/list", data);
  10620. },
  10621. setvalveWellPosition: function setvalveWellPosition(data) {
  10622. return _request.default.requestEn("/mobile/valveWellInspection", data, 'POST');
  10623. },
  10624. updatevalveWellPosition: function updatevalveWellPosition(data) {
  10625. return _request.default.requestEn("/mobile/valveWellInspection", data, 'PUT');
  10626. },
  10627. getvalveWellPositionId: function getvalveWellPositionId(data) {
  10628. return _request.default.requestEn("/mobile/valveWellPosition/".concat(data));
  10629. },
  10630. getvalveWellPosition: function getvalveWellPosition(data) {
  10631. return _request.default.requestEn("/mobile/valveWellInspection/".concat(data));
  10632. },
  10633. getvalveWellPositionList: function getvalveWellPositionList(data) {
  10634. return _request.default.requestEn("/mobile/valveWellInspection/list", data);
  10635. },
  10636. getFileList: function getFileList(data) {
  10637. return _request.default.requestEn("/mobile/cad/getAllFileByPostId/".concat(data));
  10638. },
  10639. savetransmissionStation: function savetransmissionStation(data) {
  10640. return _request.default.requestEn("/mobile/transmissionStation/", data, 'POST');
  10641. },
  10642. updatetransmissionStation: function updatetransmissionStation(data) {
  10643. return _request.default.requestEn("/mobile/transmissionStation/", data, 'PUT');
  10644. },
  10645. gettransmissionStation: function gettransmissionStation(data) {
  10646. return _request.default.requestEn("/mobile/transmissionStation/".concat(data));
  10647. },
  10648. gettransmissionStationList: function gettransmissionStationList(data) {
  10649. return _request.default.requestLo("/mobile/transmissionStation/list");
  10650. },
  10651. patrolTeam: function patrolTeam(data) {
  10652. return _request.default.requestEn("/mobile/patrolTeam", data, 'POST');
  10653. },
  10654. updatepatrolTeam: function updatepatrolTeam(data) {
  10655. return _request.default.requestEn("/mobile/patrolTeam", data, 'PUT');
  10656. },
  10657. getpatrolTeam: function getpatrolTeam(data) {
  10658. return _request.default.requestEn("/mobile/patrolTeam/".concat(data));
  10659. },
  10660. getpatrolTeamList: function getpatrolTeamList(data) {
  10661. return _request.default.requestLo("/mobile/patrolTeam/list", data);
  10662. },
  10663. setregulatingBoxMaintenance: function setregulatingBoxMaintenance(data) {
  10664. return _request.default.requestEn("/mobile/regulatingBoxMaintenance", data, 'POST');
  10665. },
  10666. updateregulatingBoxMaintenance: function updateregulatingBoxMaintenance(data) {
  10667. return _request.default.requestEn("/mobile/regulatingBoxMaintenance", data, 'PUT');
  10668. },
  10669. getregulatingBoxMaintenance: function getregulatingBoxMaintenance(data) {
  10670. return _request.default.requestEn("/mobile/regulatingBoxMaintenance/".concat(data));
  10671. },
  10672. getregulatingBoxMaintenanceList: function getregulatingBoxMaintenanceList(data) {
  10673. return _request.default.requestLo("/mobile/regulatingBoxMaintenance/list", data);
  10674. },
  10675. setpipelineGasUser: function setpipelineGasUser(data) {
  10676. return _request.default.requestEn("/mobile/pipelineGasUser", data, 'POST');
  10677. },
  10678. updatepipelineGasUser: function updatepipelineGasUser(data) {
  10679. return _request.default.requestEn("/mobile/pipelineGasUser", data, 'PUT');
  10680. },
  10681. getpipelineGasUser: function getpipelineGasUser(data) {
  10682. return _request.default.requestEn("/mobile/pipelineGasUser/".concat(data));
  10683. },
  10684. getpipelineGasUserList: function getpipelineGasUserList(data) {
  10685. return _request.default.requestLo("/mobile/pipelineGasUser/list", data);
  10686. }
  10687. };
  10688. exports.default = _default;
  10689. /***/ }),
  10690. /***/ 35:
  10691. /*!***********************************************!*\
  10692. !*** E:/Desktop/zd_wechatApp(1)/api/login.js ***!
  10693. \***********************************************/
  10694. /*! no static exports found */
  10695. /***/ (function(module, exports, __webpack_require__) {
  10696. "use strict";
  10697. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10698. Object.defineProperty(exports, "__esModule", {
  10699. value: true
  10700. });
  10701. exports.default = void 0;
  10702. var _request = _interopRequireDefault(__webpack_require__(/*! ../common/request.js */ 36));
  10703. var _default = {
  10704. // 登录
  10705. login: function login(data) {
  10706. return _request.default.requestEn('/mobile/user', data, 'POST');
  10707. }
  10708. };
  10709. exports.default = _default;
  10710. /***/ }),
  10711. /***/ 36:
  10712. /*!****************************************************!*\
  10713. !*** E:/Desktop/zd_wechatApp(1)/common/request.js ***!
  10714. \****************************************************/
  10715. /*! no static exports found */
  10716. /***/ (function(module, exports, __webpack_require__) {
  10717. "use strict";
  10718. /* WEBPACK VAR INJECTION */(function(uni) {
  10719. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10720. Object.defineProperty(exports, "__esModule", {
  10721. value: true
  10722. });
  10723. exports.default = void 0;
  10724. var _http = _interopRequireDefault(__webpack_require__(/*! ./http.js */ 37));
  10725. var _default = {
  10726. // 请求方法
  10727. requestEn: function requestEn(url) {
  10728. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10729. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10730. return new Promise(function (resolve, reject) {
  10731. // console.log(http.webUrl + url +'---'+ uni.getStorageSync('token'))
  10732. uni.request({
  10733. url: _http.default.webUrl + url,
  10734. method: methods ? methods : 'GET',
  10735. data: data,
  10736. success: function success(res) {
  10737. if (res.data.code === 200) {
  10738. resolve(res.data.data === undefined ? null : res.data.data);
  10739. } else if (res.data.code === 403 || res.data.code === 401) {
  10740. uni.showToast({
  10741. title: 'Token超时,请重新登录',
  10742. icon: 'none'
  10743. });
  10744. if (uni.getStorageSync('token')) {
  10745. uni.removeStorage({
  10746. key: 'token',
  10747. success: function success() {
  10748. uni.navigateTo({
  10749. url: '/pages/login/login'
  10750. });
  10751. }
  10752. });
  10753. } else {
  10754. uni.navigateTo({
  10755. url: '/pages/login/login'
  10756. });
  10757. }
  10758. } else {
  10759. uni.showToast({
  10760. title: res.data.msg ? res.data.msg : '系统异常',
  10761. icon: 'none'
  10762. });
  10763. }
  10764. },
  10765. fail: function fail() {
  10766. uni.showToast({
  10767. title: '网络异常',
  10768. icon: 'none'
  10769. });
  10770. }
  10771. });
  10772. });
  10773. },
  10774. // 请求方法
  10775. requestFn: function requestFn(url) {
  10776. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10777. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10778. return new Promise(function (resolve, reject) {
  10779. console.log(_http.default.webUrl + url + '---' + uni.getStorageSync('token'));
  10780. uni.request({
  10781. url: _http.default.webUrl + url,
  10782. method: methods ? methods : 'GET',
  10783. data: data,
  10784. header: {
  10785. "MAuthorization": "wxBearer ".concat(uni.getStorageSync('token') ? uni.getStorageSync('token') : ''),
  10786. "userType": 'MOdBILE'
  10787. },
  10788. success: function success(res) {
  10789. console.log(res);
  10790. if (res.data.code === 200) {
  10791. resolve(res.data.data === undefined ? null : res.data.data);
  10792. } else if (res.data.code === 403 || res.data.code === 401) {
  10793. uni.showToast({
  10794. title: 'Token超时,请重新登录',
  10795. icon: 'none'
  10796. });
  10797. if (uni.getStorageSync('token')) {
  10798. uni.removeStorage({
  10799. key: 'token',
  10800. success: function success() {
  10801. uni.navigateTo({
  10802. url: '/pages/login/login'
  10803. });
  10804. }
  10805. });
  10806. } else {
  10807. uni.navigateTo({
  10808. url: '/pages/login/login'
  10809. });
  10810. }
  10811. } else {
  10812. uni.showToast({
  10813. title: res.data.msg ? res.data.msg : '系统异常',
  10814. icon: 'none'
  10815. });
  10816. }
  10817. },
  10818. fail: function fail() {
  10819. uni.showToast({
  10820. title: '网络异常',
  10821. icon: 'none'
  10822. });
  10823. }
  10824. });
  10825. });
  10826. },
  10827. requestLo: function requestLo(url) {
  10828. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10829. var methods = arguments.length > 2 ? arguments[2] : undefined;
  10830. return new Promise(function (resolve, reject) {
  10831. console.log(_http.default.webUrl + url);
  10832. uni.request({
  10833. url: _http.default.webUrl + url,
  10834. method: methods ? methods : 'GET',
  10835. data: data,
  10836. header: {
  10837. "userType": 'MOBILE'
  10838. },
  10839. success: function success(res) {
  10840. console.log(res);
  10841. if (res.data.code === 200) {
  10842. resolve(res.data === undefined ? null : res.data);
  10843. } else if (res.data.code === 403) {
  10844. uni.showToast({
  10845. title: res.data.msg ? res.data.msg : 'Token超时,请重新登录',
  10846. icon: 'none'
  10847. });
  10848. if (uni.getStorageSync('token')) {
  10849. uni.removeStorage({
  10850. key: 'token',
  10851. success: function success() {
  10852. uni.navigateTo({
  10853. url: '/pages/login/login'
  10854. });
  10855. }
  10856. });
  10857. } else {
  10858. uni.navigateTo({
  10859. url: '/pages/login/login'
  10860. });
  10861. }
  10862. } else {
  10863. uni.showToast({
  10864. title: res.data.msg ? res.data.msg : '系统异常',
  10865. icon: 'none'
  10866. });
  10867. }
  10868. },
  10869. fail: function fail() {
  10870. uni.showToast({
  10871. title: '网络异常',
  10872. icon: 'none'
  10873. });
  10874. }
  10875. });
  10876. });
  10877. }
  10878. };
  10879. exports.default = _default;
  10880. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10881. /***/ }),
  10882. /***/ 37:
  10883. /*!*************************************************!*\
  10884. !*** E:/Desktop/zd_wechatApp(1)/common/http.js ***!
  10885. \*************************************************/
  10886. /*! no static exports found */
  10887. /***/ (function(module, exports, __webpack_require__) {
  10888. "use strict";
  10889. Object.defineProperty(exports, "__esModule", {
  10890. value: true
  10891. });
  10892. exports.default = void 0;
  10893. // 配置信息
  10894. var _default = {
  10895. // webUrl: 'http://127.0.0.1:8080',
  10896. // webUrl: 'https://www.cczdsz.cn/prod-api/',
  10897. // webUrl: 'http://124.221.101.24:8082',
  10898. webUrl: 'http://192.168.4.11:8080'
  10899. };
  10900. exports.default = _default;
  10901. /***/ }),
  10902. /***/ 38:
  10903. /*!**************************************************!*\
  10904. !*** E:/Desktop/zd_wechatApp(1)/common/utils.js ***!
  10905. \**************************************************/
  10906. /*! no static exports found */
  10907. /***/ (function(module, exports, __webpack_require__) {
  10908. "use strict";
  10909. /* WEBPACK VAR INJECTION */(function(uni) {
  10910. Object.defineProperty(exports, "__esModule", {
  10911. value: true
  10912. });
  10913. exports.default = void 0;
  10914. var _default = {
  10915. // 页面提示信息函数
  10916. showPrompt: function showPrompt(msg) {
  10917. uni.showToast({
  10918. title: msg,
  10919. icon: 'none',
  10920. mask: true
  10921. });
  10922. },
  10923. // APP名称
  10924. appName: function appName() {
  10925. return "贞达市政工程";
  10926. },
  10927. formatRichText: function formatRichText(html) {
  10928. var newContent = html.replace(/<img[^>]*>/gi, function (match, capture) {
  10929. match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '');
  10930. match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
  10931. match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
  10932. return match;
  10933. });
  10934. newContent = newContent.replace(/style="[^"]+"/gi, function (match, capture) {
  10935. match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
  10936. return match;
  10937. });
  10938. newContent = newContent.replace(/<br[^>]*\/>/gi, '');
  10939. newContent = newContent.replace(/\<img/gi, '<img style="max-width:100%;height:auto;display:block;margin-top:0;margin-bottom:0;"');
  10940. return newContent;
  10941. },
  10942. getHeight: function getHeight(e) {
  10943. console.log(e);
  10944. },
  10945. changeTwoDecimal_f: function changeTwoDecimal_f(x) {
  10946. var f_x = parseFloat(x);
  10947. if (isNaN(f_x)) {
  10948. return 0;
  10949. }
  10950. var f_x = Math.round(x * 100) / 100;
  10951. var s_x = f_x.toString();
  10952. var pos_decimal = s_x.indexOf('.');
  10953. if (pos_decimal < 0) {
  10954. pos_decimal = s_x.length;
  10955. s_x += '.';
  10956. }
  10957. while (s_x.length <= pos_decimal + 2) {
  10958. s_x += '0';
  10959. }
  10960. return s_x;
  10961. },
  10962. // token过期
  10963. tokenOverdue: function tokenOverdue() {
  10964. uni.setStorage({
  10965. key: "jumpUrl",
  10966. data: ''
  10967. });
  10968. uni.setStorage({
  10969. key: "jumpType",
  10970. data: ''
  10971. });
  10972. uni.navigateTo({
  10973. url: "/pages/login/login"
  10974. });
  10975. },
  10976. checkLoginTo: function checkLoginTo(url, type) {
  10977. console.log(type);
  10978. var status = uni.getStorageSync('token');
  10979. console.log(status);
  10980. if (status) {
  10981. uni.navigateTo({
  10982. url: url
  10983. });
  10984. } else {
  10985. uni.showModal({
  10986. title: '',
  10987. content: '您未登录,是否登录?',
  10988. success: function success(res) {
  10989. if (res.confirm) {
  10990. uni.setStorage({
  10991. key: "jumpUrl",
  10992. data: url
  10993. });
  10994. uni.setStorage({
  10995. key: "jumpType",
  10996. data: type
  10997. });
  10998. uni.navigateTo({
  10999. url: "/pages/login/login"
  11000. });
  11001. }
  11002. }
  11003. });
  11004. }
  11005. },
  11006. // 拨打电话
  11007. toCall: function toCall(tel) {
  11008. if (!tel) {
  11009. this.showPrompt('暂无商家电话');
  11010. return;
  11011. }
  11012. uni.makePhoneCall({
  11013. phoneNumber: tel
  11014. });
  11015. },
  11016. toBack: function toBack() {
  11017. uni.navigateBack({
  11018. delta: 1
  11019. });
  11020. },
  11021. // 图片预览
  11022. previewImage: function previewImage(url) {
  11023. var urlList = [];
  11024. if (typeof url == 'string') {
  11025. urlList.push(url);
  11026. } else {
  11027. urlList = url;
  11028. }
  11029. uni.previewImage({
  11030. urls: urlList
  11031. });
  11032. },
  11033. // 登录成功后的跳转
  11034. loginSuccess: function loginSuccess() {
  11035. var type = uni.getStorageSync('jumpType');
  11036. // console.log(type)
  11037. if (type) {
  11038. var url = uni.getStorageSync('jumpUrl');
  11039. // console.log(url)
  11040. if (!url) {
  11041. uni.navigateBack({
  11042. delta: 1
  11043. });
  11044. return;
  11045. }
  11046. if (type == 'page') {
  11047. uni.redirectTo({
  11048. url: url
  11049. });
  11050. } else {
  11051. uni.switchTab({
  11052. url: url,
  11053. fail: function fail(error) {
  11054. console.log(error);
  11055. }
  11056. });
  11057. }
  11058. } else {
  11059. // uni.switchTab({
  11060. // url: "/pages/index/index"
  11061. // })
  11062. uni.navigateBack({
  11063. delta: 1
  11064. });
  11065. }
  11066. },
  11067. parseNumber: function parseNumber(num) {
  11068. return num < 10 ? "0" + num : num;
  11069. },
  11070. // 时间格式化基类
  11071. dateFormat: function dateFormat(date, formatStr) {
  11072. var dateObj = {},
  11073. rStr = /\{([^}]+)\}/,
  11074. mons = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'];
  11075. dateObj["Y"] = date.getFullYear();
  11076. dateObj["M"] = date.getMonth() + 1;
  11077. dateObj["MM"] = this.parseNumber(dateObj["M"]);
  11078. dateObj["Mon"] = mons[dateObj['M'] - 1];
  11079. dateObj["D"] = date.getDate();
  11080. dateObj["DD"] = this.parseNumber(dateObj["D"]);
  11081. dateObj["h"] = date.getHours();
  11082. dateObj["hh"] = this.parseNumber(dateObj["h"]);
  11083. // dateObj["t"] = dateObj["h"] > 12 ? dateObj["h"] - 12 : dateObj["h"];
  11084. dateObj["t"] = dateObj["h"];
  11085. dateObj["tt"] = this.parseNumber(dateObj["t"]);
  11086. // dateObj["A"] = dateObj["h"] > 12 ? '下午' : '上午';
  11087. dateObj["i"] = date.getMinutes();
  11088. dateObj["ii"] = this.parseNumber(dateObj["i"]);
  11089. dateObj["s"] = date.getSeconds();
  11090. dateObj["ss"] = this.parseNumber(dateObj["s"]);
  11091. while (rStr.test(formatStr)) {
  11092. formatStr = formatStr.replace(rStr, dateObj[RegExp.$1]);
  11093. }
  11094. return formatStr;
  11095. },
  11096. // 时间格式 年月日时分秒
  11097. gettime: function gettime(shorttime, type) {
  11098. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  11099. var now = new Date().getTime();
  11100. var cha = (now - parseInt(shorttime)) / 1000;
  11101. // type: 格式化类型 1为年月日时分秒 2为年月日时分 3为年月日
  11102. if (type == 1) {
  11103. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD} {t}:{ii}:{ss}");
  11104. } else if (type == 2) {
  11105. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD} {t}:{ii}");
  11106. } else if (type == 3) {
  11107. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD}");
  11108. }
  11109. },
  11110. // 时间格式 年月日
  11111. getDate: function getDate(shorttime) {
  11112. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  11113. var now = new Date().getTime();
  11114. var cha = (now - parseInt(shorttime)) / 1000;
  11115. return this.dateFormat(new Date(shorttime), "{Y}-{MM}-{DD}");
  11116. },
  11117. // 时间格式 月日
  11118. getDateMd: function getDateMd(shorttime) {
  11119. shorttime = shorttime.toString().length < 13 ? shorttime * 1000 : shorttime;
  11120. var now = new Date().getTime();
  11121. var cha = (now - parseInt(shorttime)) / 1000;
  11122. return this.dateFormat(new Date(shorttime), "{MM}-{DD}");
  11123. },
  11124. getSevenDate: function getSevenDate(num) {
  11125. var date1 = new Date();
  11126. //今天时间
  11127. var time1 = (date1.getMonth() + 1 < 10 ? '0' + (date1.getMonth() + 1).toString() : date1.getMonth() + 1) + "-" + (date1.getDate() < 10 ? '0' + date1.getDate().toString() : date1.getDate());
  11128. var date2 = new Date(date1);
  11129. date2.setDate(date1.getDate() + num);
  11130. //num是正数表示之后的时间,num负数表示之前的时间,0表示今天
  11131. var time2 = date2.getMonth() + 1 + "-" + date2.getDate();
  11132. return this.getdiffdate(time1, time2, num);
  11133. },
  11134. //获取两日期之间日期列表函数
  11135. getdiffdate: function getdiffdate(stime, etime, num) {
  11136. //初始化日期列表,数组
  11137. var diffdate = new Array();
  11138. var i = 0;
  11139. //开始日期小于等于结束日期,并循环
  11140. while (i <= num - 1) {
  11141. diffdate.push({
  11142. dateStr: stime,
  11143. weekStr: this.getWeek(new Date().getFullYear().toString() + "-" + stime)
  11144. });
  11145. //获取开始日期时间戳
  11146. var stime_ts = new Date(stime).getTime();
  11147. // console.log('当前日期:'+stime +'当前时间戳:'+stime_ts)
  11148. //增加一天时间戳后的日期
  11149. var next_date = stime_ts + 24 * 60 * 60 * 1000;
  11150. //拼接年月日,这里的月份会返回(0-11),所以要+1
  11151. var next_dates_y = new Date(next_date).getFullYear() + '-';
  11152. var next_dates_m = new Date(next_date).getMonth() + 1 < 10 ? '0' + (new Date(next_date).getMonth() + 1) + '-' : new Date(next_date).getMonth() + 1 + '-';
  11153. var next_dates_d = new Date(next_date).getDate() < 10 ? '0' + new Date(next_date).getDate() : new Date(next_date).getDate();
  11154. stime = next_dates_m + next_dates_d;
  11155. // 增加数组key
  11156. i++;
  11157. }
  11158. return diffdate;
  11159. },
  11160. // 根据日期转换星期
  11161. getWeek: function getWeek(dateString) {
  11162. var dateArray = dateString.split("-");
  11163. var date = new Date(dateArray[0], parseInt(dateArray[1] - 1), dateArray[2]);
  11164. return "周" + "日一二三四五六".charAt(date.getDay());
  11165. },
  11166. // 获取当前位置
  11167. getNowAddress: function getNowAddress() {
  11168. console.log(222);
  11169. return new Promise(function (resolve, reject) {
  11170. var mapkey = '';
  11171. mapkey = 'c827c04d1d74d8589ec826fce02a135a';
  11172. console.log(mapkey);
  11173. var amapPlugin = new amap.AMapWX({
  11174. key: mapkey
  11175. });
  11176. amapPlugin.getRegeo({
  11177. success: function success(res) {
  11178. resolve(res[0]);
  11179. },
  11180. fail: function fail(error) {
  11181. console.log(error);
  11182. uni.showToast({
  11183. mask: true,
  11184. icon: "none",
  11185. title: error
  11186. });
  11187. }
  11188. });
  11189. });
  11190. }
  11191. };
  11192. exports.default = _default;
  11193. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  11194. /***/ }),
  11195. /***/ 389:
  11196. /*!***********************************************************************************!*\
  11197. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
  11198. \***********************************************************************************/
  11199. /*! no static exports found */
  11200. /***/ (function(module, exports, __webpack_require__) {
  11201. /* WEBPACK VAR INJECTION */(function(uni) {/**
  11202. * html 解析器
  11203. * @tutorial https://github.com/jin-yufeng/Parser
  11204. * @version 20201029
  11205. * @author JinYufeng
  11206. * @listens MIT
  11207. */
  11208. var cfg = __webpack_require__(/*! ./config.js */ 390),
  11209. blankChar = cfg.blankChar,
  11210. CssHandler = __webpack_require__(/*! ./CssHandler.js */ 391),
  11211. windowWidth = uni.getSystemInfoSync().windowWidth;
  11212. var emoji;
  11213. function MpHtmlParser(data) {
  11214. var _this = this;
  11215. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  11216. this.attrs = {};
  11217. this.CssHandler = new CssHandler(options.tagStyle, windowWidth);
  11218. this.data = data;
  11219. this.domain = options.domain;
  11220. this.DOM = [];
  11221. this.i = this.start = this.audioNum = this.imgNum = this.videoNum = 0;
  11222. options.prot = (this.domain || '').includes('://') ? this.domain.split('://')[0] : 'http';
  11223. this.options = options;
  11224. this.state = this.Text;
  11225. this.STACK = [];
  11226. // 工具函数
  11227. this.bubble = function () {
  11228. for (var i = _this.STACK.length, item; item = _this.STACK[--i];) {
  11229. if (cfg.richOnlyTags[item.name]) return false;
  11230. item.c = 1;
  11231. }
  11232. return true;
  11233. };
  11234. this.decode = function (val, amp) {
  11235. var i = -1,
  11236. j,
  11237. en;
  11238. while (1) {
  11239. if ((i = val.indexOf('&', i + 1)) == -1) break;
  11240. if ((j = val.indexOf(';', i + 2)) == -1) break;
  11241. if (val[i + 1] == '#') {
  11242. en = parseInt((val[i + 2] == 'x' ? '0' : '') + val.substring(i + 2, j));
  11243. if (!isNaN(en)) val = val.substr(0, i) + String.fromCharCode(en) + val.substr(j + 1);
  11244. } else {
  11245. en = val.substring(i + 1, j);
  11246. if (cfg.entities[en] || en == amp) val = val.substr(0, i) + (cfg.entities[en] || '&') + val.substr(j + 1);
  11247. }
  11248. }
  11249. return val;
  11250. };
  11251. this.getUrl = function (url) {
  11252. if (url[0] == '/') {
  11253. if (url[1] == '/') url = _this.options.prot + ':' + url;else if (_this.domain) url = _this.domain + url;
  11254. } else if (_this.domain && url.indexOf('data:') != 0 && !url.includes('://')) url = _this.domain + '/' + url;
  11255. return url;
  11256. };
  11257. this.isClose = function () {
  11258. return _this.data[_this.i] == '>' || _this.data[_this.i] == '/' && _this.data[_this.i + 1] == '>';
  11259. };
  11260. this.section = function () {
  11261. return _this.data.substring(_this.start, _this.i);
  11262. };
  11263. this.parent = function () {
  11264. return _this.STACK[_this.STACK.length - 1];
  11265. };
  11266. this.siblings = function () {
  11267. return _this.STACK.length ? _this.parent().children : _this.DOM;
  11268. };
  11269. }
  11270. MpHtmlParser.prototype.parse = function () {
  11271. if (emoji) this.data = emoji.parseEmoji(this.data);
  11272. for (var c; c = this.data[this.i]; this.i++) {
  11273. this.state(c);
  11274. }
  11275. if (this.state == this.Text) this.setText();
  11276. while (this.STACK.length) {
  11277. this.popNode(this.STACK.pop());
  11278. }
  11279. return this.DOM;
  11280. };
  11281. // 设置属性
  11282. MpHtmlParser.prototype.setAttr = function () {
  11283. var name = this.attrName.toLowerCase(),
  11284. val = this.attrVal;
  11285. if (cfg.boolAttrs[name]) this.attrs[name] = 'T';else if (val) {
  11286. if (name == 'src' || name == 'data-src' && !this.attrs.src) this.attrs.src = this.getUrl(this.decode(val, 'amp'));else if (name == 'href' || name == 'style') this.attrs[name] = this.decode(val, 'amp');else if (name.substr(0, 5) != 'data-') this.attrs[name] = val;
  11287. }
  11288. this.attrVal = '';
  11289. while (blankChar[this.data[this.i]]) {
  11290. this.i++;
  11291. }
  11292. if (this.isClose()) this.setNode();else {
  11293. this.start = this.i;
  11294. this.state = this.AttrName;
  11295. }
  11296. };
  11297. // 设置文本节点
  11298. MpHtmlParser.prototype.setText = function () {
  11299. var back,
  11300. text = this.section();
  11301. if (!text) return;
  11302. text = cfg.onText && cfg.onText(text, function () {
  11303. return back = true;
  11304. }) || text;
  11305. if (back) {
  11306. this.data = this.data.substr(0, this.start) + text + this.data.substr(this.i);
  11307. var j = this.start + text.length;
  11308. for (this.i = this.start; this.i < j; this.i++) {
  11309. this.state(this.data[this.i]);
  11310. }
  11311. return;
  11312. }
  11313. if (!this.pre) {
  11314. // 合并空白符
  11315. var flag,
  11316. tmp = [];
  11317. for (var i = text.length, c; c = text[--i];) {
  11318. if (!blankChar[c]) {
  11319. tmp.unshift(c);
  11320. if (!flag) flag = 1;
  11321. } else {
  11322. if (tmp[0] != ' ') tmp.unshift(' ');
  11323. if (c == '\n' && flag == void 0) flag = 0;
  11324. }
  11325. }
  11326. if (flag == 0) return;
  11327. text = tmp.join('');
  11328. }
  11329. this.siblings().push({
  11330. type: 'text',
  11331. text: this.decode(text)
  11332. });
  11333. };
  11334. // 设置元素节点
  11335. MpHtmlParser.prototype.setNode = function () {
  11336. var node = {
  11337. name: this.tagName.toLowerCase(),
  11338. attrs: this.attrs
  11339. },
  11340. close = cfg.selfClosingTags[node.name];
  11341. if (this.options.nodes.length) node.type = 'node';
  11342. this.attrs = {};
  11343. if (!cfg.ignoreTags[node.name]) {
  11344. // 处理属性
  11345. var attrs = node.attrs,
  11346. style = this.CssHandler.match(node.name, attrs, node) + (attrs.style || ''),
  11347. styleObj = {};
  11348. if (attrs.id) {
  11349. if (this.options.compress & 1) attrs.id = void 0;else if (this.options.useAnchor) this.bubble();
  11350. }
  11351. if (this.options.compress & 2 && attrs.class) attrs.class = void 0;
  11352. switch (node.name) {
  11353. case 'a':
  11354. case 'ad':
  11355. this.bubble();
  11356. break;
  11357. case 'font':
  11358. if (attrs.color) {
  11359. styleObj['color'] = attrs.color;
  11360. attrs.color = void 0;
  11361. }
  11362. if (attrs.face) {
  11363. styleObj['font-family'] = attrs.face;
  11364. attrs.face = void 0;
  11365. }
  11366. if (attrs.size) {
  11367. var size = parseInt(attrs.size);
  11368. if (size < 1) size = 1;else if (size > 7) size = 7;
  11369. var map = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'];
  11370. styleObj['font-size'] = map[size - 1];
  11371. attrs.size = void 0;
  11372. }
  11373. break;
  11374. case 'embed':
  11375. var src = node.attrs.src || '',
  11376. type = node.attrs.type || '';
  11377. if (type.includes('video') || src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8')) node.name = 'video';else if (type.includes('audio') || src.includes('.m4a') || src.includes('.wav') || src.includes('.mp3') || src.includes('.aac')) node.name = 'audio';else break;
  11378. if (node.attrs.autostart) node.attrs.autoplay = 'T';
  11379. node.attrs.controls = 'T';
  11380. case 'video':
  11381. case 'audio':
  11382. if (!attrs.id) attrs.id = node.name + ++this["".concat(node.name, "Num")];else this["".concat(node.name, "Num")]++;
  11383. if (node.name == 'video') {
  11384. if (this.videoNum > 3) node.lazyLoad = 1;
  11385. if (attrs.width) {
  11386. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  11387. attrs.width = void 0;
  11388. }
  11389. if (attrs.height) {
  11390. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  11391. attrs.height = void 0;
  11392. }
  11393. }
  11394. if (!attrs.controls && !attrs.autoplay) attrs.controls = 'T';
  11395. attrs.source = [];
  11396. if (attrs.src) {
  11397. attrs.source.push(attrs.src);
  11398. attrs.src = void 0;
  11399. }
  11400. this.bubble();
  11401. break;
  11402. case 'td':
  11403. case 'th':
  11404. if (attrs.colspan || attrs.rowspan) for (var k = this.STACK.length, item; item = this.STACK[--k];) {
  11405. if (item.name == 'table') {
  11406. item.flag = 1;
  11407. break;
  11408. }
  11409. }
  11410. }
  11411. if (attrs.align) {
  11412. if (node.name == 'table') {
  11413. if (attrs.align == 'center') styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';else styleObj['float'] = attrs.align;
  11414. } else styleObj['text-align'] = attrs.align;
  11415. attrs.align = void 0;
  11416. }
  11417. // 压缩 style
  11418. var styles = style.split(';');
  11419. style = '';
  11420. for (var i = 0, len = styles.length; i < len; i++) {
  11421. var info = styles[i].split(':');
  11422. if (info.length < 2) continue;
  11423. var _key = info[0].trim().toLowerCase(),
  11424. _value = info.slice(1).join(':').trim();
  11425. if (_value[0] == '-' || _value.includes('safe')) style += ";".concat(_key, ":").concat(_value);else if (!styleObj[_key] || _value.includes('import') || !styleObj[_key].includes('import')) styleObj[_key] = _value;
  11426. }
  11427. if (node.name == 'img') {
  11428. if (attrs.src && !attrs.ignore) {
  11429. if (this.bubble()) attrs.i = (this.imgNum++).toString();else attrs.ignore = 'T';
  11430. }
  11431. if (attrs.ignore) {
  11432. style += ';-webkit-touch-callout:none';
  11433. styleObj['max-width'] = '100%';
  11434. }
  11435. var width;
  11436. if (styleObj.width) width = styleObj.width;else if (attrs.width) width = attrs.width.includes('%') ? attrs.width : parseFloat(attrs.width) + 'px';
  11437. if (width) {
  11438. styleObj.width = width;
  11439. attrs.width = '100%';
  11440. if (parseInt(width) > windowWidth) {
  11441. styleObj.height = '';
  11442. if (attrs.height) attrs.height = void 0;
  11443. }
  11444. }
  11445. if (styleObj.height) {
  11446. attrs.height = styleObj.height;
  11447. styleObj.height = '';
  11448. } else if (attrs.height && !attrs.height.includes('%')) attrs.height = parseFloat(attrs.height) + 'px';
  11449. }
  11450. for (var key in styleObj) {
  11451. var value = styleObj[key];
  11452. if (!value) continue;
  11453. if (key.includes('flex') || key == 'order' || key == 'self-align') node.c = 1;
  11454. // 填充链接
  11455. if (value.includes('url')) {
  11456. var j = value.indexOf('(');
  11457. if (j++ != -1) {
  11458. while (value[j] == '"' || value[j] == "'" || blankChar[value[j]]) {
  11459. j++;
  11460. }
  11461. value = value.substr(0, j) + this.getUrl(value.substr(j));
  11462. }
  11463. }
  11464. // 转换 rpx
  11465. else if (value.includes('rpx')) value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  11466. return parseFloat($) * windowWidth / 750 + 'px';
  11467. });else if (key == 'white-space' && value.includes('pre') && !close) this.pre = node.pre = true;
  11468. style += ";".concat(key, ":").concat(value);
  11469. }
  11470. style = style.substr(1);
  11471. if (style) attrs.style = style;
  11472. if (!close) {
  11473. node.children = [];
  11474. if (node.name == 'pre' && cfg.highlight) {
  11475. this.remove(node);
  11476. this.pre = node.pre = true;
  11477. }
  11478. this.siblings().push(node);
  11479. this.STACK.push(node);
  11480. } else if (!cfg.filter || cfg.filter(node, this) != false) this.siblings().push(node);
  11481. } else {
  11482. if (!close) this.remove(node);else if (node.name == 'source') {
  11483. var parent = this.parent();
  11484. if (parent && (parent.name == 'video' || parent.name == 'audio') && node.attrs.src) parent.attrs.source.push(node.attrs.src);
  11485. } else if (node.name == 'base' && !this.domain) this.domain = node.attrs.href;
  11486. }
  11487. if (this.data[this.i] == '/') this.i++;
  11488. this.start = this.i + 1;
  11489. this.state = this.Text;
  11490. };
  11491. // 移除标签
  11492. MpHtmlParser.prototype.remove = function (node) {
  11493. var _this2 = this;
  11494. var name = node.name,
  11495. j = this.i;
  11496. // 处理 svg
  11497. var handleSvg = function handleSvg() {
  11498. var src = _this2.data.substring(j, _this2.i + 1);
  11499. node.attrs.xmlns = 'http://www.w3.org/2000/svg';
  11500. for (var key in node.attrs) {
  11501. if (key == 'viewbox') src = " viewBox=\"".concat(node.attrs.viewbox, "\"") + src;else if (key != 'style') src = " ".concat(key, "=\"").concat(node.attrs[key], "\"") + src;
  11502. }
  11503. src = '<svg' + src;
  11504. var parent = _this2.parent();
  11505. if (node.attrs.width == '100%' && parent && (parent.attrs.style || '').includes('inline')) parent.attrs.style = 'width:300px;max-width:100%;' + parent.attrs.style;
  11506. _this2.siblings().push({
  11507. name: 'img',
  11508. attrs: {
  11509. src: 'data:image/svg+xml;utf8,' + src.replace(/#/g, '%23'),
  11510. style: node.attrs.style,
  11511. ignore: 'T'
  11512. }
  11513. });
  11514. };
  11515. if (node.name == 'svg' && this.data[j] == '/') return handleSvg(this.i++);
  11516. while (1) {
  11517. if ((this.i = this.data.indexOf('</', this.i + 1)) == -1) {
  11518. if (name == 'pre' || name == 'svg') this.i = j;else this.i = this.data.length;
  11519. return;
  11520. }
  11521. this.start = this.i += 2;
  11522. while (!blankChar[this.data[this.i]] && !this.isClose()) {
  11523. this.i++;
  11524. }
  11525. if (this.section().toLowerCase() == name) {
  11526. // 代码块高亮
  11527. if (name == 'pre') {
  11528. this.data = this.data.substr(0, j + 1) + cfg.highlight(this.data.substring(j + 1, this.i - 5), node.attrs) + this.data.substr(this.i - 5);
  11529. return this.i = j;
  11530. } else if (name == 'style') this.CssHandler.getStyle(this.data.substring(j + 1, this.i - 7));else if (name == 'title') this.DOM.title = this.data.substring(j + 1, this.i - 7);
  11531. if ((this.i = this.data.indexOf('>', this.i)) == -1) this.i = this.data.length;
  11532. if (name == 'svg') handleSvg();
  11533. return;
  11534. }
  11535. }
  11536. };
  11537. // 节点出栈处理
  11538. MpHtmlParser.prototype.popNode = function (node) {
  11539. // 空白符处理
  11540. if (node.pre) {
  11541. node.pre = this.pre = void 0;
  11542. for (var i = this.STACK.length; i--;) {
  11543. if (this.STACK[i].pre) this.pre = true;
  11544. }
  11545. }
  11546. var siblings = this.siblings(),
  11547. len = siblings.length,
  11548. childs = node.children;
  11549. if (node.name == 'head' || cfg.filter && cfg.filter(node, this) == false) return siblings.pop();
  11550. var attrs = node.attrs;
  11551. // 替换一些标签名
  11552. if (cfg.blockTags[node.name]) node.name = 'div';else if (!cfg.trustTags[node.name]) node.name = 'span';
  11553. // 处理列表
  11554. if (node.c && (node.name == 'ul' || node.name == 'ol')) {
  11555. if ((node.attrs.style || '').includes('list-style:none')) {
  11556. for (var _i = 0, child; child = childs[_i++];) {
  11557. if (child.name == 'li') child.name = 'div';
  11558. }
  11559. } else if (node.name == 'ul') {
  11560. var floor = 1;
  11561. for (var _i2 = this.STACK.length; _i2--;) {
  11562. if (this.STACK[_i2].name == 'ul') floor++;
  11563. }
  11564. if (floor != 1) for (var _i3 = childs.length; _i3--;) {
  11565. childs[_i3].floor = floor;
  11566. }
  11567. } else {
  11568. for (var _i4 = 0, num = 1, _child; _child = childs[_i4++];) {
  11569. if (_child.name == 'li') {
  11570. _child.type = 'ol';
  11571. _child.num = function (num, type) {
  11572. if (type == 'a') return String.fromCharCode(97 + (num - 1) % 26);
  11573. if (type == 'A') return String.fromCharCode(65 + (num - 1) % 26);
  11574. if (type == 'i' || type == 'I') {
  11575. num = (num - 1) % 99 + 1;
  11576. var one = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'],
  11577. ten = ['X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'],
  11578. res = (ten[Math.floor(num / 10) - 1] || '') + (one[num % 10 - 1] || '');
  11579. if (type == 'i') return res.toLowerCase();
  11580. return res;
  11581. }
  11582. return num;
  11583. }(num++, attrs.type) + '.';
  11584. }
  11585. }
  11586. }
  11587. }
  11588. // 处理表格
  11589. if (node.name == 'table') {
  11590. var padding = parseFloat(attrs.cellpadding),
  11591. spacing = parseFloat(attrs.cellspacing),
  11592. border = parseFloat(attrs.border);
  11593. if (node.c) {
  11594. if (isNaN(padding)) padding = 2;
  11595. if (isNaN(spacing)) spacing = 2;
  11596. }
  11597. if (border) attrs.style = "border:".concat(border, "px solid gray;").concat(attrs.style || '');
  11598. if (node.flag && node.c) {
  11599. // 有 colspan 或 rowspan 且含有链接的表格转为 grid 布局实现
  11600. attrs.style = "".concat(attrs.style || '', ";").concat(spacing ? ";grid-gap:".concat(spacing, "px") : ';border-left:0;border-top:0');
  11601. var row = 1,
  11602. col = 1,
  11603. colNum,
  11604. trs = [],
  11605. children = [],
  11606. map = {};
  11607. (function f(ns) {
  11608. for (var i = 0; i < ns.length; i++) {
  11609. if (ns[i].name == 'tr') trs.push(ns[i]);else f(ns[i].children || []);
  11610. }
  11611. })(node.children);
  11612. for (var _i5 = 0; _i5 < trs.length; _i5++) {
  11613. for (var j = 0, td; td = trs[_i5].children[j]; j++) {
  11614. if (td.name == 'td' || td.name == 'th') {
  11615. while (map[row + '.' + col]) {
  11616. col++;
  11617. }
  11618. var cell = {
  11619. name: 'div',
  11620. c: 1,
  11621. attrs: {
  11622. style: (td.attrs.style || '') + (border ? ";border:".concat(border, "px solid gray") + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ";padding:".concat(padding, "px") : '')
  11623. },
  11624. children: td.children
  11625. };
  11626. if (td.attrs.colspan) {
  11627. cell.attrs.style += ';grid-column-start:' + col + ';grid-column-end:' + (col + parseInt(td.attrs.colspan));
  11628. if (!td.attrs.rowspan) cell.attrs.style += ';grid-row-start:' + row + ';grid-row-end:' + (row + 1);
  11629. col += parseInt(td.attrs.colspan) - 1;
  11630. }
  11631. if (td.attrs.rowspan) {
  11632. cell.attrs.style += ';grid-row-start:' + row + ';grid-row-end:' + (row + parseInt(td.attrs.rowspan));
  11633. if (!td.attrs.colspan) cell.attrs.style += ';grid-column-start:' + col + ';grid-column-end:' + (col + 1);
  11634. for (var k = 1; k < td.attrs.rowspan; k++) {
  11635. map[row + k + '.' + col] = 1;
  11636. }
  11637. }
  11638. children.push(cell);
  11639. col++;
  11640. }
  11641. }
  11642. if (!colNum) {
  11643. colNum = col - 1;
  11644. attrs.style += ";grid-template-columns:repeat(".concat(colNum, ",auto)");
  11645. }
  11646. col = 1;
  11647. row++;
  11648. }
  11649. node.children = children;
  11650. } else {
  11651. attrs.style = "border-spacing:".concat(spacing, "px;").concat(attrs.style || '');
  11652. if (border || padding) (function f(ns) {
  11653. for (var i = 0, n; n = ns[i]; i++) {
  11654. if (n.name == 'th' || n.name == 'td') {
  11655. if (border) n.attrs.style = "border:".concat(border, "px solid gray;").concat(n.attrs.style || '');
  11656. if (padding) n.attrs.style = "padding:".concat(padding, "px;").concat(n.attrs.style || '');
  11657. } else f(n.children || []);
  11658. }
  11659. })(childs);
  11660. }
  11661. if (this.options.autoscroll) {
  11662. var table = Object.assign({}, node);
  11663. node.name = 'div';
  11664. node.attrs = {
  11665. style: 'overflow:scroll'
  11666. };
  11667. node.children = [table];
  11668. }
  11669. }
  11670. this.CssHandler.pop && this.CssHandler.pop(node);
  11671. // 自动压缩
  11672. if (node.name == 'div' && !Object.keys(attrs).length && childs.length == 1 && childs[0].name == 'div') siblings[len - 1] = childs[0];
  11673. };
  11674. // 状态机
  11675. MpHtmlParser.prototype.Text = function (c) {
  11676. if (c == '<') {
  11677. var next = this.data[this.i + 1],
  11678. isLetter = function isLetter(c) {
  11679. return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
  11680. };
  11681. if (isLetter(next)) {
  11682. this.setText();
  11683. this.start = this.i + 1;
  11684. this.state = this.TagName;
  11685. } else if (next == '/') {
  11686. this.setText();
  11687. if (isLetter(this.data[++this.i + 1])) {
  11688. this.start = this.i + 1;
  11689. this.state = this.EndTag;
  11690. } else this.Comment();
  11691. } else if (next == '!' || next == '?') {
  11692. this.setText();
  11693. this.Comment();
  11694. }
  11695. }
  11696. };
  11697. MpHtmlParser.prototype.Comment = function () {
  11698. var key;
  11699. if (this.data.substring(this.i + 2, this.i + 4) == '--') key = '-->';else if (this.data.substring(this.i + 2, this.i + 9) == '[CDATA[') key = ']]>';else key = '>';
  11700. if ((this.i = this.data.indexOf(key, this.i + 2)) == -1) this.i = this.data.length;else this.i += key.length - 1;
  11701. this.start = this.i + 1;
  11702. this.state = this.Text;
  11703. };
  11704. MpHtmlParser.prototype.TagName = function (c) {
  11705. if (blankChar[c]) {
  11706. this.tagName = this.section();
  11707. while (blankChar[this.data[this.i]]) {
  11708. this.i++;
  11709. }
  11710. if (this.isClose()) this.setNode();else {
  11711. this.start = this.i;
  11712. this.state = this.AttrName;
  11713. }
  11714. } else if (this.isClose()) {
  11715. this.tagName = this.section();
  11716. this.setNode();
  11717. }
  11718. };
  11719. MpHtmlParser.prototype.AttrName = function (c) {
  11720. if (c == '=' || blankChar[c] || this.isClose()) {
  11721. this.attrName = this.section();
  11722. if (blankChar[c]) while (blankChar[this.data[++this.i]]) {
  11723. ;
  11724. }
  11725. if (this.data[this.i] == '=') {
  11726. while (blankChar[this.data[++this.i]]) {
  11727. ;
  11728. }
  11729. this.start = this.i--;
  11730. this.state = this.AttrValue;
  11731. } else this.setAttr();
  11732. }
  11733. };
  11734. MpHtmlParser.prototype.AttrValue = function (c) {
  11735. if (c == '"' || c == "'") {
  11736. this.start++;
  11737. if ((this.i = this.data.indexOf(c, this.i + 1)) == -1) return this.i = this.data.length;
  11738. this.attrVal = this.section();
  11739. this.i++;
  11740. } else {
  11741. for (; !blankChar[this.data[this.i]] && !this.isClose(); this.i++) {
  11742. ;
  11743. }
  11744. this.attrVal = this.section();
  11745. }
  11746. this.setAttr();
  11747. };
  11748. MpHtmlParser.prototype.EndTag = function (c) {
  11749. if (blankChar[c] || c == '>' || c == '/') {
  11750. var name = this.section().toLowerCase();
  11751. for (var i = this.STACK.length; i--;) {
  11752. if (this.STACK[i].name == name) break;
  11753. }
  11754. if (i != -1) {
  11755. var node;
  11756. while ((node = this.STACK.pop()).name != name) {
  11757. this.popNode(node);
  11758. }
  11759. this.popNode(node);
  11760. } else if (name == 'p' || name == 'br') this.siblings().push({
  11761. name: name,
  11762. attrs: {}
  11763. });
  11764. this.i = this.data.indexOf('>', this.i);
  11765. this.start = this.i + 1;
  11766. if (this.i == -1) this.i = this.data.length;else this.state = this.Text;
  11767. }
  11768. };
  11769. module.exports = MpHtmlParser;
  11770. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  11771. /***/ }),
  11772. /***/ 39:
  11773. /*!*******************************************************!*\
  11774. !*** E:/Desktop/zd_wechatApp(1)/common/lodash.min.js ***!
  11775. \*******************************************************/
  11776. /*! no static exports found */
  11777. /***/ (function(module, exports, __webpack_require__) {
  11778. /* WEBPACK VAR INJECTION */(function(global, module) {var __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  11779. /**
  11780. * @license
  11781. * Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
  11782. */
  11783. ;
  11784. (function () {
  11785. function n(n, t, r) {
  11786. switch (r.length) {
  11787. case 0:
  11788. return n.call(t);
  11789. case 1:
  11790. return n.call(t, r[0]);
  11791. case 2:
  11792. return n.call(t, r[0], r[1]);
  11793. case 3:
  11794. return n.call(t, r[0], r[1], r[2]);
  11795. }
  11796. return n.apply(t, r);
  11797. }
  11798. function t(n, t, r, e) {
  11799. for (var u = -1, i = null == n ? 0 : n.length; ++u < i;) {
  11800. var o = n[u];
  11801. t(e, o, r(o), n);
  11802. }
  11803. return e;
  11804. }
  11805. function r(n, t) {
  11806. for (var r = -1, e = null == n ? 0 : n.length; ++r < e && false !== t(n[r], r, n);) {
  11807. ;
  11808. }
  11809. return n;
  11810. }
  11811. function e(n, t) {
  11812. for (var r = null == n ? 0 : n.length; r-- && false !== t(n[r], r, n);) {
  11813. ;
  11814. }
  11815. return n;
  11816. }
  11817. function u(n, t) {
  11818. for (var r = -1, e = null == n ? 0 : n.length; ++r < e;) {
  11819. if (!t(n[r], r, n)) return false;
  11820. }
  11821. return true;
  11822. }
  11823. function i(n, t) {
  11824. for (var r = -1, e = null == n ? 0 : n.length, u = 0, i = []; ++r < e;) {
  11825. var o = n[r];
  11826. t(o, r, n) && (i[u++] = o);
  11827. }
  11828. return i;
  11829. }
  11830. function o(n, t) {
  11831. return !(null == n || !n.length) && -1 < v(n, t, 0);
  11832. }
  11833. function f(n, t, r) {
  11834. for (var e = -1, u = null == n ? 0 : n.length; ++e < u;) {
  11835. if (r(t, n[e])) return true;
  11836. }
  11837. return false;
  11838. }
  11839. function c(n, t) {
  11840. for (var r = -1, e = null == n ? 0 : n.length, u = Array(e); ++r < e;) {
  11841. u[r] = t(n[r], r, n);
  11842. }
  11843. return u;
  11844. }
  11845. function a(n, t) {
  11846. for (var r = -1, e = t.length, u = n.length; ++r < e;) {
  11847. n[u + r] = t[r];
  11848. }
  11849. return n;
  11850. }
  11851. function l(n, t, r, e) {
  11852. var u = -1,
  11853. i = null == n ? 0 : n.length;
  11854. for (e && i && (r = n[++u]); ++u < i;) {
  11855. r = t(r, n[u], u, n);
  11856. }
  11857. return r;
  11858. }
  11859. function s(n, t, r, e) {
  11860. var u = null == n ? 0 : n.length;
  11861. for (e && u && (r = n[--u]); u--;) {
  11862. r = t(r, n[u], u, n);
  11863. }
  11864. return r;
  11865. }
  11866. function h(n, t) {
  11867. for (var r = -1, e = null == n ? 0 : n.length; ++r < e;) {
  11868. if (t(n[r], r, n)) return true;
  11869. }
  11870. return false;
  11871. }
  11872. function p(n, t, r) {
  11873. var e;
  11874. return r(n, function (n, r, u) {
  11875. if (t(n, r, u)) return e = r, false;
  11876. }), e;
  11877. }
  11878. function _(n, t, r, e) {
  11879. var u = n.length;
  11880. for (r += e ? 1 : -1; e ? r-- : ++r < u;) {
  11881. if (t(n[r], r, n)) return r;
  11882. }
  11883. return -1;
  11884. }
  11885. function v(n, t, r) {
  11886. if (t === t) n: {
  11887. --r;
  11888. for (var e = n.length; ++r < e;) {
  11889. if (n[r] === t) {
  11890. n = r;
  11891. break n;
  11892. }
  11893. }
  11894. n = -1;
  11895. } else n = _(n, d, r);
  11896. return n;
  11897. }
  11898. function g(n, t, r, e) {
  11899. --r;
  11900. for (var u = n.length; ++r < u;) {
  11901. if (e(n[r], t)) return r;
  11902. }
  11903. return -1;
  11904. }
  11905. function d(n) {
  11906. return n !== n;
  11907. }
  11908. function y(n, t) {
  11909. var r = null == n ? 0 : n.length;
  11910. return r ? m(n, t) / r : F;
  11911. }
  11912. function b(n) {
  11913. return function (t) {
  11914. return null == t ? T : t[n];
  11915. };
  11916. }
  11917. function x(n) {
  11918. return function (t) {
  11919. return null == n ? T : n[t];
  11920. };
  11921. }
  11922. function j(n, t, r, e, u) {
  11923. return u(n, function (n, u, i) {
  11924. r = e ? (e = false, n) : t(r, n, u, i);
  11925. }), r;
  11926. }
  11927. function w(n, t) {
  11928. var r = n.length;
  11929. for (n.sort(t); r--;) {
  11930. n[r] = n[r].c;
  11931. }
  11932. return n;
  11933. }
  11934. function m(n, t) {
  11935. for (var r, e = -1, u = n.length; ++e < u;) {
  11936. var i = t(n[e]);
  11937. i !== T && (r = r === T ? i : r + i);
  11938. }
  11939. return r;
  11940. }
  11941. function A(n, t) {
  11942. for (var r = -1, e = Array(n); ++r < n;) {
  11943. e[r] = t(r);
  11944. }
  11945. return e;
  11946. }
  11947. function E(n, t) {
  11948. return c(t, function (t) {
  11949. return [t, n[t]];
  11950. });
  11951. }
  11952. function k(n) {
  11953. return function (t) {
  11954. return n(t);
  11955. };
  11956. }
  11957. function S(n, t) {
  11958. return c(t, function (t) {
  11959. return n[t];
  11960. });
  11961. }
  11962. function O(n, t) {
  11963. return n.has(t);
  11964. }
  11965. function I(n, t) {
  11966. for (var r = -1, e = n.length; ++r < e && -1 < v(t, n[r], 0);) {
  11967. ;
  11968. }
  11969. return r;
  11970. }
  11971. function R(n, t) {
  11972. for (var r = n.length; r-- && -1 < v(t, n[r], 0);) {
  11973. ;
  11974. }
  11975. return r;
  11976. }
  11977. function z(n) {
  11978. return "\\" + Un[n];
  11979. }
  11980. function W(n) {
  11981. var t = -1,
  11982. r = Array(n.size);
  11983. return n.forEach(function (n, e) {
  11984. r[++t] = [e, n];
  11985. }), r;
  11986. }
  11987. function B(n, t) {
  11988. return function (r) {
  11989. return n(t(r));
  11990. };
  11991. }
  11992. function L(n, t) {
  11993. for (var r = -1, e = n.length, u = 0, i = []; ++r < e;) {
  11994. var o = n[r];
  11995. o !== t && "__lodash_placeholder__" !== o || (n[r] = "__lodash_placeholder__", i[u++] = r);
  11996. }
  11997. return i;
  11998. }
  11999. function U(n) {
  12000. var t = -1,
  12001. r = Array(n.size);
  12002. return n.forEach(function (n) {
  12003. r[++t] = n;
  12004. }), r;
  12005. }
  12006. function C(n) {
  12007. var t = -1,
  12008. r = Array(n.size);
  12009. return n.forEach(function (n) {
  12010. r[++t] = [n, n];
  12011. }), r;
  12012. }
  12013. function D(n) {
  12014. if (Rn.test(n)) {
  12015. for (var t = On.lastIndex = 0; On.test(n);) {
  12016. ++t;
  12017. }
  12018. n = t;
  12019. } else n = Qn(n);
  12020. return n;
  12021. }
  12022. function M(n) {
  12023. return Rn.test(n) ? n.match(On) || [] : n.split("");
  12024. }
  12025. var T,
  12026. $ = 1 / 0,
  12027. F = NaN,
  12028. N = [["ary", 128], ["bind", 1], ["bindKey", 2], ["curry", 8], ["curryRight", 16], ["flip", 512], ["partial", 32], ["partialRight", 64], ["rearg", 256]],
  12029. P = /\b__p\+='';/g,
  12030. Z = /\b(__p\+=)''\+/g,
  12031. q = /(__e\(.*?\)|\b__t\))\+'';/g,
  12032. V = /&(?:amp|lt|gt|quot|#39);/g,
  12033. K = /[&<>"']/g,
  12034. G = RegExp(V.source),
  12035. H = RegExp(K.source),
  12036. J = /<%-([\s\S]+?)%>/g,
  12037. Y = /<%([\s\S]+?)%>/g,
  12038. Q = /<%=([\s\S]+?)%>/g,
  12039. X = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  12040. nn = /^\w*$/,
  12041. tn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
  12042. rn = /[\\^$.*+?()[\]{}|]/g,
  12043. en = RegExp(rn.source),
  12044. un = /^\s+|\s+$/g,
  12045. on = /^\s+/,
  12046. fn = /\s+$/,
  12047. cn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
  12048. an = /\{\n\/\* \[wrapped with (.+)\] \*/,
  12049. ln = /,? & /,
  12050. sn = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
  12051. hn = /\\(\\)?/g,
  12052. pn = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
  12053. _n = /\w*$/,
  12054. vn = /^[-+]0x[0-9a-f]+$/i,
  12055. gn = /^0b[01]+$/i,
  12056. dn = /^\[object .+?Constructor\]$/,
  12057. yn = /^0o[0-7]+$/i,
  12058. bn = /^(?:0|[1-9]\d*)$/,
  12059. xn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
  12060. jn = /($^)/,
  12061. wn = /['\n\r\u2028\u2029\\]/g,
  12062. mn = "[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",
  12063. An = "(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])" + mn,
  12064. En = "(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])",
  12065. kn = RegExp("['\u2019]", "g"),
  12066. Sn = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g"),
  12067. On = RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|" + En + mn, "g"),
  12068. In = RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+", An].join("|"), "g"),
  12069. Rn = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),
  12070. zn = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
  12071. Wn = "Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),
  12072. Bn = {};
  12073. Bn["[object Float32Array]"] = Bn["[object Float64Array]"] = Bn["[object Int8Array]"] = Bn["[object Int16Array]"] = Bn["[object Int32Array]"] = Bn["[object Uint8Array]"] = Bn["[object Uint8ClampedArray]"] = Bn["[object Uint16Array]"] = Bn["[object Uint32Array]"] = true, Bn["[object Arguments]"] = Bn["[object Array]"] = Bn["[object ArrayBuffer]"] = Bn["[object Boolean]"] = Bn["[object DataView]"] = Bn["[object Date]"] = Bn["[object Error]"] = Bn["[object Function]"] = Bn["[object Map]"] = Bn["[object Number]"] = Bn["[object Object]"] = Bn["[object RegExp]"] = Bn["[object Set]"] = Bn["[object String]"] = Bn["[object WeakMap]"] = false;
  12074. var Ln = {};
  12075. Ln["[object Arguments]"] = Ln["[object Array]"] = Ln["[object ArrayBuffer]"] = Ln["[object DataView]"] = Ln["[object Boolean]"] = Ln["[object Date]"] = Ln["[object Float32Array]"] = Ln["[object Float64Array]"] = Ln["[object Int8Array]"] = Ln["[object Int16Array]"] = Ln["[object Int32Array]"] = Ln["[object Map]"] = Ln["[object Number]"] = Ln["[object Object]"] = Ln["[object RegExp]"] = Ln["[object Set]"] = Ln["[object String]"] = Ln["[object Symbol]"] = Ln["[object Uint8Array]"] = Ln["[object Uint8ClampedArray]"] = Ln["[object Uint16Array]"] = Ln["[object Uint32Array]"] = true, Ln["[object Error]"] = Ln["[object Function]"] = Ln["[object WeakMap]"] = false;
  12076. var Un = {
  12077. "\\": "\\",
  12078. "'": "'",
  12079. "\n": "n",
  12080. "\r": "r",
  12081. "\u2028": "u2028",
  12082. "\u2029": "u2029"
  12083. },
  12084. Cn = parseFloat,
  12085. Dn = parseInt,
  12086. Mn = (typeof global === "undefined" ? "undefined" : _typeof(global)) == "object" && global && global.Object === Object && global,
  12087. Tn = (typeof self === "undefined" ? "undefined" : _typeof(self)) == "object" && self && self.Object === Object && self,
  12088. $n = Mn || Tn || Function("return this")(),
  12089. Fn = ( false ? undefined : _typeof(exports)) == "object" && exports && !exports.nodeType && exports,
  12090. Nn = Fn && ( false ? undefined : _typeof(module)) == "object" && module && !module.nodeType && module,
  12091. Pn = Nn && Nn.exports === Fn,
  12092. Zn = Pn && Mn.process,
  12093. qn = function () {
  12094. try {
  12095. var n = Nn && Nn.f && Nn.f("util").types;
  12096. return n ? n : Zn && Zn.binding && Zn.binding("util");
  12097. } catch (n) {}
  12098. }(),
  12099. Vn = qn && qn.isArrayBuffer,
  12100. Kn = qn && qn.isDate,
  12101. Gn = qn && qn.isMap,
  12102. Hn = qn && qn.isRegExp,
  12103. Jn = qn && qn.isSet,
  12104. Yn = qn && qn.isTypedArray,
  12105. Qn = b("length"),
  12106. Xn = x({
  12107. "\xc0": "A",
  12108. "\xc1": "A",
  12109. "\xc2": "A",
  12110. "\xc3": "A",
  12111. "\xc4": "A",
  12112. "\xc5": "A",
  12113. "\xe0": "a",
  12114. "\xe1": "a",
  12115. "\xe2": "a",
  12116. "\xe3": "a",
  12117. "\xe4": "a",
  12118. "\xe5": "a",
  12119. "\xc7": "C",
  12120. "\xe7": "c",
  12121. "\xd0": "D",
  12122. "\xf0": "d",
  12123. "\xc8": "E",
  12124. "\xc9": "E",
  12125. "\xca": "E",
  12126. "\xcb": "E",
  12127. "\xe8": "e",
  12128. "\xe9": "e",
  12129. "\xea": "e",
  12130. "\xeb": "e",
  12131. "\xcc": "I",
  12132. "\xcd": "I",
  12133. "\xce": "I",
  12134. "\xcf": "I",
  12135. "\xec": "i",
  12136. "\xed": "i",
  12137. "\xee": "i",
  12138. "\xef": "i",
  12139. "\xd1": "N",
  12140. "\xf1": "n",
  12141. "\xd2": "O",
  12142. "\xd3": "O",
  12143. "\xd4": "O",
  12144. "\xd5": "O",
  12145. "\xd6": "O",
  12146. "\xd8": "O",
  12147. "\xf2": "o",
  12148. "\xf3": "o",
  12149. "\xf4": "o",
  12150. "\xf5": "o",
  12151. "\xf6": "o",
  12152. "\xf8": "o",
  12153. "\xd9": "U",
  12154. "\xda": "U",
  12155. "\xdb": "U",
  12156. "\xdc": "U",
  12157. "\xf9": "u",
  12158. "\xfa": "u",
  12159. "\xfb": "u",
  12160. "\xfc": "u",
  12161. "\xdd": "Y",
  12162. "\xfd": "y",
  12163. "\xff": "y",
  12164. "\xc6": "Ae",
  12165. "\xe6": "ae",
  12166. "\xde": "Th",
  12167. "\xfe": "th",
  12168. "\xdf": "ss",
  12169. "\u0100": "A",
  12170. "\u0102": "A",
  12171. "\u0104": "A",
  12172. "\u0101": "a",
  12173. "\u0103": "a",
  12174. "\u0105": "a",
  12175. "\u0106": "C",
  12176. "\u0108": "C",
  12177. "\u010A": "C",
  12178. "\u010C": "C",
  12179. "\u0107": "c",
  12180. "\u0109": "c",
  12181. "\u010B": "c",
  12182. "\u010D": "c",
  12183. "\u010E": "D",
  12184. "\u0110": "D",
  12185. "\u010F": "d",
  12186. "\u0111": "d",
  12187. "\u0112": "E",
  12188. "\u0114": "E",
  12189. "\u0116": "E",
  12190. "\u0118": "E",
  12191. "\u011A": "E",
  12192. "\u0113": "e",
  12193. "\u0115": "e",
  12194. "\u0117": "e",
  12195. "\u0119": "e",
  12196. "\u011B": "e",
  12197. "\u011C": "G",
  12198. "\u011E": "G",
  12199. "\u0120": "G",
  12200. "\u0122": "G",
  12201. "\u011D": "g",
  12202. "\u011F": "g",
  12203. "\u0121": "g",
  12204. "\u0123": "g",
  12205. "\u0124": "H",
  12206. "\u0126": "H",
  12207. "\u0125": "h",
  12208. "\u0127": "h",
  12209. "\u0128": "I",
  12210. "\u012A": "I",
  12211. "\u012C": "I",
  12212. "\u012E": "I",
  12213. "\u0130": "I",
  12214. "\u0129": "i",
  12215. "\u012B": "i",
  12216. "\u012D": "i",
  12217. "\u012F": "i",
  12218. "\u0131": "i",
  12219. "\u0134": "J",
  12220. "\u0135": "j",
  12221. "\u0136": "K",
  12222. "\u0137": "k",
  12223. "\u0138": "k",
  12224. "\u0139": "L",
  12225. "\u013B": "L",
  12226. "\u013D": "L",
  12227. "\u013F": "L",
  12228. "\u0141": "L",
  12229. "\u013A": "l",
  12230. "\u013C": "l",
  12231. "\u013E": "l",
  12232. "\u0140": "l",
  12233. "\u0142": "l",
  12234. "\u0143": "N",
  12235. "\u0145": "N",
  12236. "\u0147": "N",
  12237. "\u014A": "N",
  12238. "\u0144": "n",
  12239. "\u0146": "n",
  12240. "\u0148": "n",
  12241. "\u014B": "n",
  12242. "\u014C": "O",
  12243. "\u014E": "O",
  12244. "\u0150": "O",
  12245. "\u014D": "o",
  12246. "\u014F": "o",
  12247. "\u0151": "o",
  12248. "\u0154": "R",
  12249. "\u0156": "R",
  12250. "\u0158": "R",
  12251. "\u0155": "r",
  12252. "\u0157": "r",
  12253. "\u0159": "r",
  12254. "\u015A": "S",
  12255. "\u015C": "S",
  12256. "\u015E": "S",
  12257. "\u0160": "S",
  12258. "\u015B": "s",
  12259. "\u015D": "s",
  12260. "\u015F": "s",
  12261. "\u0161": "s",
  12262. "\u0162": "T",
  12263. "\u0164": "T",
  12264. "\u0166": "T",
  12265. "\u0163": "t",
  12266. "\u0165": "t",
  12267. "\u0167": "t",
  12268. "\u0168": "U",
  12269. "\u016A": "U",
  12270. "\u016C": "U",
  12271. "\u016E": "U",
  12272. "\u0170": "U",
  12273. "\u0172": "U",
  12274. "\u0169": "u",
  12275. "\u016B": "u",
  12276. "\u016D": "u",
  12277. "\u016F": "u",
  12278. "\u0171": "u",
  12279. "\u0173": "u",
  12280. "\u0174": "W",
  12281. "\u0175": "w",
  12282. "\u0176": "Y",
  12283. "\u0177": "y",
  12284. "\u0178": "Y",
  12285. "\u0179": "Z",
  12286. "\u017B": "Z",
  12287. "\u017D": "Z",
  12288. "\u017A": "z",
  12289. "\u017C": "z",
  12290. "\u017E": "z",
  12291. "\u0132": "IJ",
  12292. "\u0133": "ij",
  12293. "\u0152": "Oe",
  12294. "\u0153": "oe",
  12295. "\u0149": "'n",
  12296. "\u017F": "s"
  12297. }),
  12298. nt = x({
  12299. "&": "&amp;",
  12300. "<": "&lt;",
  12301. ">": "&gt;",
  12302. '"': "&quot;",
  12303. "'": "&#39;"
  12304. }),
  12305. tt = x({
  12306. "&amp;": "&",
  12307. "&lt;": "<",
  12308. "&gt;": ">",
  12309. "&quot;": '"',
  12310. "&#39;": "'"
  12311. }),
  12312. rt = function x(mn) {
  12313. function An(n) {
  12314. if (du(n) && !of(n) && !(n instanceof Un)) {
  12315. if (n instanceof On) return n;
  12316. if (ii.call(n, "__wrapped__")) return $e(n);
  12317. }
  12318. return new On(n);
  12319. }
  12320. function En() {}
  12321. function On(n, t) {
  12322. this.__wrapped__ = n, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = T;
  12323. }
  12324. function Un(n) {
  12325. this.__wrapped__ = n, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = false, this.__iteratees__ = [], this.__takeCount__ = 4294967295, this.__views__ = [];
  12326. }
  12327. function Mn(n) {
  12328. var t = -1,
  12329. r = null == n ? 0 : n.length;
  12330. for (this.clear(); ++t < r;) {
  12331. var e = n[t];
  12332. this.set(e[0], e[1]);
  12333. }
  12334. }
  12335. function Tn(n) {
  12336. var t = -1,
  12337. r = null == n ? 0 : n.length;
  12338. for (this.clear(); ++t < r;) {
  12339. var e = n[t];
  12340. this.set(e[0], e[1]);
  12341. }
  12342. }
  12343. function Fn(n) {
  12344. var t = -1,
  12345. r = null == n ? 0 : n.length;
  12346. for (this.clear(); ++t < r;) {
  12347. var e = n[t];
  12348. this.set(e[0], e[1]);
  12349. }
  12350. }
  12351. function Nn(n) {
  12352. var t = -1,
  12353. r = null == n ? 0 : n.length;
  12354. for (this.__data__ = new Fn(); ++t < r;) {
  12355. this.add(n[t]);
  12356. }
  12357. }
  12358. function Zn(n) {
  12359. this.size = (this.__data__ = new Tn(n)).size;
  12360. }
  12361. function qn(n, t) {
  12362. var r,
  12363. e = of(n),
  12364. u = !e && uf(n),
  12365. i = !e && !u && cf(n),
  12366. o = !e && !u && !i && pf(n),
  12367. u = (e = e || u || i || o) ? A(n.length, Xu) : [],
  12368. f = u.length;
  12369. for (r in n) {
  12370. !t && !ii.call(n, r) || e && ("length" == r || i && ("offset" == r || "parent" == r) || o && ("buffer" == r || "byteLength" == r || "byteOffset" == r) || Se(r, f)) || u.push(r);
  12371. }
  12372. return u;
  12373. }
  12374. function Qn(n) {
  12375. var t = n.length;
  12376. return t ? n[ir(0, t - 1)] : T;
  12377. }
  12378. function et(n, t) {
  12379. return Ce(Ur(n), pt(t, 0, n.length));
  12380. }
  12381. function ut(n) {
  12382. return Ce(Ur(n));
  12383. }
  12384. function it(n, t, r) {
  12385. (r === T || au(n[t], r)) && (r !== T || t in n) || st(n, t, r);
  12386. }
  12387. function ot(n, t, r) {
  12388. var e = n[t];
  12389. ii.call(n, t) && au(e, r) && (r !== T || t in n) || st(n, t, r);
  12390. }
  12391. function ft(n, t) {
  12392. for (var r = n.length; r--;) {
  12393. if (au(n[r][0], t)) return r;
  12394. }
  12395. return -1;
  12396. }
  12397. function ct(n, t, r, e) {
  12398. return eo(n, function (n, u, i) {
  12399. t(e, n, r(n), i);
  12400. }), e;
  12401. }
  12402. function at(n, t) {
  12403. return n && Cr(t, zu(t), n);
  12404. }
  12405. function lt(n, t) {
  12406. return n && Cr(t, Wu(t), n);
  12407. }
  12408. function st(n, t, r) {
  12409. "__proto__" == t && mi ? mi(n, t, {
  12410. configurable: true,
  12411. enumerable: true,
  12412. value: r,
  12413. writable: true
  12414. }) : n[t] = r;
  12415. }
  12416. function ht(n, t) {
  12417. for (var r = -1, e = t.length, u = Vu(e), i = null == n; ++r < e;) {
  12418. u[r] = i ? T : Iu(n, t[r]);
  12419. }
  12420. return u;
  12421. }
  12422. function pt(n, t, r) {
  12423. return n === n && (r !== T && (n = n <= r ? n : r), t !== T && (n = n >= t ? n : t)), n;
  12424. }
  12425. function _t(n, t, e, u, i, o) {
  12426. var f,
  12427. c = 1 & t,
  12428. a = 2 & t,
  12429. l = 4 & t;
  12430. if (e && (f = i ? e(n, u, i, o) : e(n)), f !== T) return f;
  12431. if (!gu(n)) return n;
  12432. if (u = of(n)) {
  12433. if (f = me(n), !c) return Ur(n, f);
  12434. } else {
  12435. var s = _o(n),
  12436. h = "[object Function]" == s || "[object GeneratorFunction]" == s;
  12437. if (cf(n)) return Ir(n, c);
  12438. if ("[object Object]" == s || "[object Arguments]" == s || h && !i) {
  12439. if (f = a || h ? {} : Ae(n), !c) return a ? Mr(n, lt(f, n)) : Dr(n, at(f, n));
  12440. } else {
  12441. if (!Ln[s]) return i ? n : {};
  12442. f = Ee(n, s, c);
  12443. }
  12444. }
  12445. if (o || (o = new Zn()), i = o.get(n)) return i;
  12446. if (o.set(n, f), hf(n)) return n.forEach(function (r) {
  12447. f.add(_t(r, t, e, r, n, o));
  12448. }), f;
  12449. if (lf(n)) return n.forEach(function (r, u) {
  12450. f.set(u, _t(r, t, e, u, n, o));
  12451. }), f;
  12452. var a = l ? a ? ve : _e : a ? Wu : zu,
  12453. p = u ? T : a(n);
  12454. return r(p || n, function (r, u) {
  12455. p && (u = r, r = n[u]), ot(f, u, _t(r, t, e, u, n, o));
  12456. }), f;
  12457. }
  12458. function vt(n) {
  12459. var t = zu(n);
  12460. return function (r) {
  12461. return gt(r, n, t);
  12462. };
  12463. }
  12464. function gt(n, t, r) {
  12465. var e = r.length;
  12466. if (null == n) return !e;
  12467. for (n = Yu(n); e--;) {
  12468. var u = r[e],
  12469. i = t[u],
  12470. o = n[u];
  12471. if (o === T && !(u in n) || !i(o)) return false;
  12472. }
  12473. return true;
  12474. }
  12475. function dt(n, t, r) {
  12476. if (typeof n != "function") throw new ni("Expected a function");
  12477. return yo(function () {
  12478. n.apply(T, r);
  12479. }, t);
  12480. }
  12481. function yt(n, t, r, e) {
  12482. var u = -1,
  12483. i = o,
  12484. a = true,
  12485. l = n.length,
  12486. s = [],
  12487. h = t.length;
  12488. if (!l) return s;
  12489. r && (t = c(t, k(r))), e ? (i = f, a = false) : 200 <= t.length && (i = O, a = false, t = new Nn(t));
  12490. n: for (; ++u < l;) {
  12491. var p = n[u],
  12492. _ = null == r ? p : r(p),
  12493. p = e || 0 !== p ? p : 0;
  12494. if (a && _ === _) {
  12495. for (var v = h; v--;) {
  12496. if (t[v] === _) continue n;
  12497. }
  12498. s.push(p);
  12499. } else i(t, _, e) || s.push(p);
  12500. }
  12501. return s;
  12502. }
  12503. function bt(n, t) {
  12504. var r = true;
  12505. return eo(n, function (n, e, u) {
  12506. return r = !!t(n, e, u);
  12507. }), r;
  12508. }
  12509. function xt(n, t, r) {
  12510. for (var e = -1, u = n.length; ++e < u;) {
  12511. var i = n[e],
  12512. o = t(i);
  12513. if (null != o && (f === T ? o === o && !ju(o) : r(o, f))) var f = o,
  12514. c = i;
  12515. }
  12516. return c;
  12517. }
  12518. function jt(n, t) {
  12519. var r = [];
  12520. return eo(n, function (n, e, u) {
  12521. t(n, e, u) && r.push(n);
  12522. }), r;
  12523. }
  12524. function wt(n, t, r, e, u) {
  12525. var i = -1,
  12526. o = n.length;
  12527. for (r || (r = ke), u || (u = []); ++i < o;) {
  12528. var f = n[i];
  12529. 0 < t && r(f) ? 1 < t ? wt(f, t - 1, r, e, u) : a(u, f) : e || (u[u.length] = f);
  12530. }
  12531. return u;
  12532. }
  12533. function mt(n, t) {
  12534. return n && io(n, t, zu);
  12535. }
  12536. function At(n, t) {
  12537. return n && oo(n, t, zu);
  12538. }
  12539. function Et(n, t) {
  12540. return i(t, function (t) {
  12541. return pu(n[t]);
  12542. });
  12543. }
  12544. function kt(n, t) {
  12545. t = Sr(t, n);
  12546. for (var r = 0, e = t.length; null != n && r < e;) {
  12547. n = n[De(t[r++])];
  12548. }
  12549. return r && r == e ? n : T;
  12550. }
  12551. function St(n, t, r) {
  12552. return t = t(n), of(n) ? t : a(t, r(n));
  12553. }
  12554. function Ot(n) {
  12555. if (null == n) n = n === T ? "[object Undefined]" : "[object Null]";else if (wi && wi in Yu(n)) {
  12556. var t = ii.call(n, wi),
  12557. r = n[wi];
  12558. try {
  12559. n[wi] = T;
  12560. var e = true;
  12561. } catch (n) {}
  12562. var u = ci.call(n);
  12563. e && (t ? n[wi] = r : delete n[wi]), n = u;
  12564. } else n = ci.call(n);
  12565. return n;
  12566. }
  12567. function It(n, t) {
  12568. return n > t;
  12569. }
  12570. function Rt(n, t) {
  12571. return null != n && ii.call(n, t);
  12572. }
  12573. function zt(n, t) {
  12574. return null != n && t in Yu(n);
  12575. }
  12576. function Wt(n, t, r) {
  12577. for (var e = r ? f : o, u = n[0].length, i = n.length, a = i, l = Vu(i), s = 1 / 0, h = []; a--;) {
  12578. var p = n[a];
  12579. a && t && (p = c(p, k(t))), s = Ui(p.length, s), l[a] = !r && (t || 120 <= u && 120 <= p.length) ? new Nn(a && p) : T;
  12580. }
  12581. var p = n[0],
  12582. _ = -1,
  12583. v = l[0];
  12584. n: for (; ++_ < u && h.length < s;) {
  12585. var g = p[_],
  12586. d = t ? t(g) : g,
  12587. g = r || 0 !== g ? g : 0;
  12588. if (v ? !O(v, d) : !e(h, d, r)) {
  12589. for (a = i; --a;) {
  12590. var y = l[a];
  12591. if (y ? !O(y, d) : !e(n[a], d, r)) continue n;
  12592. }
  12593. v && v.push(d), h.push(g);
  12594. }
  12595. }
  12596. return h;
  12597. }
  12598. function Bt(n, t, r) {
  12599. var e = {};
  12600. return mt(n, function (n, u, i) {
  12601. t(e, r(n), u, i);
  12602. }), e;
  12603. }
  12604. function Lt(t, r, e) {
  12605. return r = Sr(r, t), t = 2 > r.length ? t : kt(t, hr(r, 0, -1)), r = null == t ? t : t[De(qe(r))], null == r ? T : n(r, t, e);
  12606. }
  12607. function Ut(n) {
  12608. return du(n) && "[object Arguments]" == Ot(n);
  12609. }
  12610. function Ct(n) {
  12611. return du(n) && "[object ArrayBuffer]" == Ot(n);
  12612. }
  12613. function Dt(n) {
  12614. return du(n) && "[object Date]" == Ot(n);
  12615. }
  12616. function Mt(n, t, r, e, u) {
  12617. if (n === t) t = true;else if (null == n || null == t || !du(n) && !du(t)) t = n !== n && t !== t;else n: {
  12618. var i = of(n),
  12619. o = of(t),
  12620. f = i ? "[object Array]" : _o(n),
  12621. c = o ? "[object Array]" : _o(t),
  12622. f = "[object Arguments]" == f ? "[object Object]" : f,
  12623. c = "[object Arguments]" == c ? "[object Object]" : c,
  12624. a = "[object Object]" == f,
  12625. o = "[object Object]" == c;
  12626. if ((c = f == c) && cf(n)) {
  12627. if (!cf(t)) {
  12628. t = false;
  12629. break n;
  12630. }
  12631. i = true, a = false;
  12632. }
  12633. if (c && !a) u || (u = new Zn()), t = i || pf(n) ? se(n, t, r, e, Mt, u) : he(n, t, f, r, e, Mt, u);else {
  12634. if (!(1 & r) && (i = a && ii.call(n, "__wrapped__"), f = o && ii.call(t, "__wrapped__"), i || f)) {
  12635. n = i ? n.value() : n, t = f ? t.value() : t, u || (u = new Zn()), t = Mt(n, t, r, e, u);
  12636. break n;
  12637. }
  12638. if (c) {
  12639. t: if (u || (u = new Zn()), i = 1 & r, f = _e(n), o = f.length, c = _e(t).length, o == c || i) {
  12640. for (a = o; a--;) {
  12641. var l = f[a];
  12642. if (!(i ? l in t : ii.call(t, l))) {
  12643. t = false;
  12644. break t;
  12645. }
  12646. }
  12647. if ((c = u.get(n)) && u.get(t)) t = c == t;else {
  12648. c = true, u.set(n, t), u.set(t, n);
  12649. for (var s = i; ++a < o;) {
  12650. var l = f[a],
  12651. h = n[l],
  12652. p = t[l];
  12653. if (e) var _ = i ? e(p, h, l, t, n, u) : e(h, p, l, n, t, u);
  12654. if (_ === T ? h !== p && !Mt(h, p, r, e, u) : !_) {
  12655. c = false;
  12656. break;
  12657. }
  12658. s || (s = "constructor" == l);
  12659. }
  12660. c && !s && (r = n.constructor, e = t.constructor, r != e && "constructor" in n && "constructor" in t && !(typeof r == "function" && r instanceof r && typeof e == "function" && e instanceof e) && (c = false)), u.delete(n), u.delete(t), t = c;
  12661. }
  12662. } else t = false;
  12663. } else t = false;
  12664. }
  12665. }
  12666. return t;
  12667. }
  12668. function Tt(n) {
  12669. return du(n) && "[object Map]" == _o(n);
  12670. }
  12671. function $t(n, t, r, e) {
  12672. var u = r.length,
  12673. i = u,
  12674. o = !e;
  12675. if (null == n) return !i;
  12676. for (n = Yu(n); u--;) {
  12677. var f = r[u];
  12678. if (o && f[2] ? f[1] !== n[f[0]] : !(f[0] in n)) return false;
  12679. }
  12680. for (; ++u < i;) {
  12681. var f = r[u],
  12682. c = f[0],
  12683. a = n[c],
  12684. l = f[1];
  12685. if (o && f[2]) {
  12686. if (a === T && !(c in n)) return false;
  12687. } else {
  12688. if (f = new Zn(), e) var s = e(a, l, c, n, t, f);
  12689. if (s === T ? !Mt(l, a, 3, e, f) : !s) return false;
  12690. }
  12691. }
  12692. return true;
  12693. }
  12694. function Ft(n) {
  12695. return !(!gu(n) || fi && fi in n) && (pu(n) ? si : dn).test(Me(n));
  12696. }
  12697. function Nt(n) {
  12698. return du(n) && "[object RegExp]" == Ot(n);
  12699. }
  12700. function Pt(n) {
  12701. return du(n) && "[object Set]" == _o(n);
  12702. }
  12703. function Zt(n) {
  12704. return du(n) && vu(n.length) && !!Bn[Ot(n)];
  12705. }
  12706. function qt(n) {
  12707. return typeof n == "function" ? n : null == n ? Tu : _typeof(n) == "object" ? of(n) ? Jt(n[0], n[1]) : Ht(n) : Pu(n);
  12708. }
  12709. function Vt(n) {
  12710. if (!ze(n)) return Bi(n);
  12711. var t,
  12712. r = [];
  12713. for (t in Yu(n)) {
  12714. ii.call(n, t) && "constructor" != t && r.push(t);
  12715. }
  12716. return r;
  12717. }
  12718. function Kt(n, t) {
  12719. return n < t;
  12720. }
  12721. function Gt(n, t) {
  12722. var r = -1,
  12723. e = lu(n) ? Vu(n.length) : [];
  12724. return eo(n, function (n, u, i) {
  12725. e[++r] = t(n, u, i);
  12726. }), e;
  12727. }
  12728. function Ht(n) {
  12729. var t = xe(n);
  12730. return 1 == t.length && t[0][2] ? We(t[0][0], t[0][1]) : function (r) {
  12731. return r === n || $t(r, n, t);
  12732. };
  12733. }
  12734. function Jt(n, t) {
  12735. return Ie(n) && t === t && !gu(t) ? We(De(n), t) : function (r) {
  12736. var e = Iu(r, n);
  12737. return e === T && e === t ? Ru(r, n) : Mt(t, e, 3);
  12738. };
  12739. }
  12740. function Yt(n, t, r, e, u) {
  12741. n !== t && io(t, function (i, o) {
  12742. if (gu(i)) {
  12743. u || (u = new Zn());
  12744. var f = u,
  12745. c = "__proto__" == o ? T : n[o],
  12746. a = "__proto__" == o ? T : t[o],
  12747. l = f.get(a);
  12748. if (l) it(n, o, l);else {
  12749. var l = e ? e(c, a, o + "", n, t, f) : T,
  12750. s = l === T;
  12751. if (s) {
  12752. var h = of(a),
  12753. p = !h && cf(a),
  12754. _ = !h && !p && pf(a),
  12755. l = a;
  12756. h || p || _ ? of(c) ? l = c : su(c) ? l = Ur(c) : p ? (s = false, l = Ir(a, true)) : _ ? (s = false, l = zr(a, true)) : l = [] : bu(a) || uf(a) ? (l = c, uf(c) ? l = Su(c) : (!gu(c) || r && pu(c)) && (l = Ae(a))) : s = false;
  12757. }
  12758. s && (f.set(a, l), Yt(l, a, r, e, f), f.delete(a)), it(n, o, l);
  12759. }
  12760. } else f = e ? e("__proto__" == o ? T : n[o], i, o + "", n, t, u) : T, f === T && (f = i), it(n, o, f);
  12761. }, Wu);
  12762. }
  12763. function Qt(n, t) {
  12764. var r = n.length;
  12765. if (r) return t += 0 > t ? r : 0, Se(t, r) ? n[t] : T;
  12766. }
  12767. function Xt(n, t, r) {
  12768. var e = -1;
  12769. return t = c(t.length ? t : [Tu], k(ye())), n = Gt(n, function (n) {
  12770. return {
  12771. a: c(t, function (t) {
  12772. return t(n);
  12773. }),
  12774. b: ++e,
  12775. c: n
  12776. };
  12777. }), w(n, function (n, t) {
  12778. var e;
  12779. n: {
  12780. e = -1;
  12781. for (var u = n.a, i = t.a, o = u.length, f = r.length; ++e < o;) {
  12782. var c = Wr(u[e], i[e]);
  12783. if (c) {
  12784. e = e >= f ? c : c * ("desc" == r[e] ? -1 : 1);
  12785. break n;
  12786. }
  12787. }
  12788. e = n.b - t.b;
  12789. }
  12790. return e;
  12791. });
  12792. }
  12793. function nr(n, t) {
  12794. return tr(n, t, function (t, r) {
  12795. return Ru(n, r);
  12796. });
  12797. }
  12798. function tr(n, t, r) {
  12799. for (var e = -1, u = t.length, i = {}; ++e < u;) {
  12800. var o = t[e],
  12801. f = kt(n, o);
  12802. r(f, o) && lr(i, Sr(o, n), f);
  12803. }
  12804. return i;
  12805. }
  12806. function rr(n) {
  12807. return function (t) {
  12808. return kt(t, n);
  12809. };
  12810. }
  12811. function er(n, t, r, e) {
  12812. var u = e ? g : v,
  12813. i = -1,
  12814. o = t.length,
  12815. f = n;
  12816. for (n === t && (t = Ur(t)), r && (f = c(n, k(r))); ++i < o;) {
  12817. for (var a = 0, l = t[i], l = r ? r(l) : l; -1 < (a = u(f, l, a, e));) {
  12818. f !== n && bi.call(f, a, 1), bi.call(n, a, 1);
  12819. }
  12820. }
  12821. return n;
  12822. }
  12823. function ur(n, t) {
  12824. for (var r = n ? t.length : 0, e = r - 1; r--;) {
  12825. var u = t[r];
  12826. if (r == e || u !== i) {
  12827. var i = u;
  12828. Se(u) ? bi.call(n, u, 1) : xr(n, u);
  12829. }
  12830. }
  12831. }
  12832. function ir(n, t) {
  12833. return n + Oi(Mi() * (t - n + 1));
  12834. }
  12835. function or(n, t) {
  12836. var r = "";
  12837. if (!n || 1 > t || 9007199254740991 < t) return r;
  12838. do {
  12839. t % 2 && (r += n), (t = Oi(t / 2)) && (n += n);
  12840. } while (t);
  12841. return r;
  12842. }
  12843. function fr(n, t) {
  12844. return bo(Be(n, t, Tu), n + "");
  12845. }
  12846. function cr(n) {
  12847. return Qn(Lu(n));
  12848. }
  12849. function ar(n, t) {
  12850. var r = Lu(n);
  12851. return Ce(r, pt(t, 0, r.length));
  12852. }
  12853. function lr(n, t, r, e) {
  12854. if (!gu(n)) return n;
  12855. t = Sr(t, n);
  12856. for (var u = -1, i = t.length, o = i - 1, f = n; null != f && ++u < i;) {
  12857. var c = De(t[u]),
  12858. a = r;
  12859. if (u != o) {
  12860. var l = f[c],
  12861. a = e ? e(l, c, f) : T;
  12862. a === T && (a = gu(l) ? l : Se(t[u + 1]) ? [] : {});
  12863. }
  12864. ot(f, c, a), f = f[c];
  12865. }
  12866. return n;
  12867. }
  12868. function sr(n) {
  12869. return Ce(Lu(n));
  12870. }
  12871. function hr(n, t, r) {
  12872. var e = -1,
  12873. u = n.length;
  12874. for (0 > t && (t = -t > u ? 0 : u + t), r = r > u ? u : r, 0 > r && (r += u), u = t > r ? 0 : r - t >>> 0, t >>>= 0, r = Vu(u); ++e < u;) {
  12875. r[e] = n[e + t];
  12876. }
  12877. return r;
  12878. }
  12879. function pr(n, t) {
  12880. var r;
  12881. return eo(n, function (n, e, u) {
  12882. return r = t(n, e, u), !r;
  12883. }), !!r;
  12884. }
  12885. function _r(n, t, r) {
  12886. var e = 0,
  12887. u = null == n ? e : n.length;
  12888. if (typeof t == "number" && t === t && 2147483647 >= u) {
  12889. for (; e < u;) {
  12890. var i = e + u >>> 1,
  12891. o = n[i];
  12892. null !== o && !ju(o) && (r ? o <= t : o < t) ? e = i + 1 : u = i;
  12893. }
  12894. return u;
  12895. }
  12896. return vr(n, t, Tu, r);
  12897. }
  12898. function vr(n, t, r, e) {
  12899. t = r(t);
  12900. for (var u = 0, i = null == n ? 0 : n.length, o = t !== t, f = null === t, c = ju(t), a = t === T; u < i;) {
  12901. var l = Oi((u + i) / 2),
  12902. s = r(n[l]),
  12903. h = s !== T,
  12904. p = null === s,
  12905. _ = s === s,
  12906. v = ju(s);
  12907. (o ? e || _ : a ? _ && (e || h) : f ? _ && h && (e || !p) : c ? _ && h && !p && (e || !v) : p || v ? 0 : e ? s <= t : s < t) ? u = l + 1 : i = l;
  12908. }
  12909. return Ui(i, 4294967294);
  12910. }
  12911. function gr(n, t) {
  12912. for (var r = -1, e = n.length, u = 0, i = []; ++r < e;) {
  12913. var o = n[r],
  12914. f = t ? t(o) : o;
  12915. if (!r || !au(f, c)) {
  12916. var c = f;
  12917. i[u++] = 0 === o ? 0 : o;
  12918. }
  12919. }
  12920. return i;
  12921. }
  12922. function dr(n) {
  12923. return typeof n == "number" ? n : ju(n) ? F : +n;
  12924. }
  12925. function yr(n) {
  12926. if (typeof n == "string") return n;
  12927. if (of(n)) return c(n, yr) + "";
  12928. if (ju(n)) return to ? to.call(n) : "";
  12929. var t = n + "";
  12930. return "0" == t && 1 / n == -$ ? "-0" : t;
  12931. }
  12932. function br(n, t, r) {
  12933. var e = -1,
  12934. u = o,
  12935. i = n.length,
  12936. c = true,
  12937. a = [],
  12938. l = a;
  12939. if (r) c = false, u = f;else if (200 <= i) {
  12940. if (u = t ? null : lo(n)) return U(u);
  12941. c = false, u = O, l = new Nn();
  12942. } else l = t ? [] : a;
  12943. n: for (; ++e < i;) {
  12944. var s = n[e],
  12945. h = t ? t(s) : s,
  12946. s = r || 0 !== s ? s : 0;
  12947. if (c && h === h) {
  12948. for (var p = l.length; p--;) {
  12949. if (l[p] === h) continue n;
  12950. }
  12951. t && l.push(h), a.push(s);
  12952. } else u(l, h, r) || (l !== a && l.push(h), a.push(s));
  12953. }
  12954. return a;
  12955. }
  12956. function xr(n, t) {
  12957. return t = Sr(t, n), n = 2 > t.length ? n : kt(n, hr(t, 0, -1)), null == n || delete n[De(qe(t))];
  12958. }
  12959. function jr(n, t, r, e) {
  12960. for (var u = n.length, i = e ? u : -1; (e ? i-- : ++i < u) && t(n[i], i, n);) {
  12961. ;
  12962. }
  12963. return r ? hr(n, e ? 0 : i, e ? i + 1 : u) : hr(n, e ? i + 1 : 0, e ? u : i);
  12964. }
  12965. function wr(n, t) {
  12966. var r = n;
  12967. return r instanceof Un && (r = r.value()), l(t, function (n, t) {
  12968. return t.func.apply(t.thisArg, a([n], t.args));
  12969. }, r);
  12970. }
  12971. function mr(n, t, r) {
  12972. var e = n.length;
  12973. if (2 > e) return e ? br(n[0]) : [];
  12974. for (var u = -1, i = Vu(e); ++u < e;) {
  12975. for (var o = n[u], f = -1; ++f < e;) {
  12976. f != u && (i[u] = yt(i[u] || o, n[f], t, r));
  12977. }
  12978. }
  12979. return br(wt(i, 1), t, r);
  12980. }
  12981. function Ar(n, t, r) {
  12982. for (var e = -1, u = n.length, i = t.length, o = {}; ++e < u;) {
  12983. r(o, n[e], e < i ? t[e] : T);
  12984. }
  12985. return o;
  12986. }
  12987. function Er(n) {
  12988. return su(n) ? n : [];
  12989. }
  12990. function kr(n) {
  12991. return typeof n == "function" ? n : Tu;
  12992. }
  12993. function Sr(n, t) {
  12994. return of(n) ? n : Ie(n, t) ? [n] : xo(Ou(n));
  12995. }
  12996. function Or(n, t, r) {
  12997. var e = n.length;
  12998. return r = r === T ? e : r, !t && r >= e ? n : hr(n, t, r);
  12999. }
  13000. function Ir(n, t) {
  13001. if (t) return n.slice();
  13002. var r = n.length,
  13003. r = vi ? vi(r) : new n.constructor(r);
  13004. return n.copy(r), r;
  13005. }
  13006. function Rr(n) {
  13007. var t = new n.constructor(n.byteLength);
  13008. return new _i(t).set(new _i(n)), t;
  13009. }
  13010. function zr(n, t) {
  13011. return new n.constructor(t ? Rr(n.buffer) : n.buffer, n.byteOffset, n.length);
  13012. }
  13013. function Wr(n, t) {
  13014. if (n !== t) {
  13015. var r = n !== T,
  13016. e = null === n,
  13017. u = n === n,
  13018. i = ju(n),
  13019. o = t !== T,
  13020. f = null === t,
  13021. c = t === t,
  13022. a = ju(t);
  13023. if (!f && !a && !i && n > t || i && o && c && !f && !a || e && o && c || !r && c || !u) return 1;
  13024. if (!e && !i && !a && n < t || a && r && u && !e && !i || f && r && u || !o && u || !c) return -1;
  13025. }
  13026. return 0;
  13027. }
  13028. function Br(n, t, r, e) {
  13029. var u = -1,
  13030. i = n.length,
  13031. o = r.length,
  13032. f = -1,
  13033. c = t.length,
  13034. a = Li(i - o, 0),
  13035. l = Vu(c + a);
  13036. for (e = !e; ++f < c;) {
  13037. l[f] = t[f];
  13038. }
  13039. for (; ++u < o;) {
  13040. (e || u < i) && (l[r[u]] = n[u]);
  13041. }
  13042. for (; a--;) {
  13043. l[f++] = n[u++];
  13044. }
  13045. return l;
  13046. }
  13047. function Lr(n, t, r, e) {
  13048. var u = -1,
  13049. i = n.length,
  13050. o = -1,
  13051. f = r.length,
  13052. c = -1,
  13053. a = t.length,
  13054. l = Li(i - f, 0),
  13055. s = Vu(l + a);
  13056. for (e = !e; ++u < l;) {
  13057. s[u] = n[u];
  13058. }
  13059. for (l = u; ++c < a;) {
  13060. s[l + c] = t[c];
  13061. }
  13062. for (; ++o < f;) {
  13063. (e || u < i) && (s[l + r[o]] = n[u++]);
  13064. }
  13065. return s;
  13066. }
  13067. function Ur(n, t) {
  13068. var r = -1,
  13069. e = n.length;
  13070. for (t || (t = Vu(e)); ++r < e;) {
  13071. t[r] = n[r];
  13072. }
  13073. return t;
  13074. }
  13075. function Cr(n, t, r, e) {
  13076. var u = !r;
  13077. r || (r = {});
  13078. for (var i = -1, o = t.length; ++i < o;) {
  13079. var f = t[i],
  13080. c = e ? e(r[f], n[f], f, r, n) : T;
  13081. c === T && (c = n[f]), u ? st(r, f, c) : ot(r, f, c);
  13082. }
  13083. return r;
  13084. }
  13085. function Dr(n, t) {
  13086. return Cr(n, ho(n), t);
  13087. }
  13088. function Mr(n, t) {
  13089. return Cr(n, po(n), t);
  13090. }
  13091. function Tr(n, r) {
  13092. return function (e, u) {
  13093. var i = of(e) ? t : ct,
  13094. o = r ? r() : {};
  13095. return i(e, n, ye(u, 2), o);
  13096. };
  13097. }
  13098. function $r(n) {
  13099. return fr(function (t, r) {
  13100. var e = -1,
  13101. u = r.length,
  13102. i = 1 < u ? r[u - 1] : T,
  13103. o = 2 < u ? r[2] : T,
  13104. i = 3 < n.length && typeof i == "function" ? (u--, i) : T;
  13105. for (o && Oe(r[0], r[1], o) && (i = 3 > u ? T : i, u = 1), t = Yu(t); ++e < u;) {
  13106. (o = r[e]) && n(t, o, e, i);
  13107. }
  13108. return t;
  13109. });
  13110. }
  13111. function Fr(n, t) {
  13112. return function (r, e) {
  13113. if (null == r) return r;
  13114. if (!lu(r)) return n(r, e);
  13115. for (var u = r.length, i = t ? u : -1, o = Yu(r); (t ? i-- : ++i < u) && false !== e(o[i], i, o);) {
  13116. ;
  13117. }
  13118. return r;
  13119. };
  13120. }
  13121. function Nr(n) {
  13122. return function (t, r, e) {
  13123. var u = -1,
  13124. i = Yu(t);
  13125. e = e(t);
  13126. for (var o = e.length; o--;) {
  13127. var f = e[n ? o : ++u];
  13128. if (false === r(i[f], f, i)) break;
  13129. }
  13130. return t;
  13131. };
  13132. }
  13133. function Pr(n, t, r) {
  13134. function e() {
  13135. return (this && this !== $n && this instanceof e ? i : n).apply(u ? r : this, arguments);
  13136. }
  13137. var u = 1 & t,
  13138. i = Vr(n);
  13139. return e;
  13140. }
  13141. function Zr(n) {
  13142. return function (t) {
  13143. t = Ou(t);
  13144. var r = Rn.test(t) ? M(t) : T,
  13145. e = r ? r[0] : t.charAt(0);
  13146. return t = r ? Or(r, 1).join("") : t.slice(1), e[n]() + t;
  13147. };
  13148. }
  13149. function qr(n) {
  13150. return function (t) {
  13151. return l(Du(Cu(t).replace(kn, "")), n, "");
  13152. };
  13153. }
  13154. function Vr(n) {
  13155. return function () {
  13156. var t = arguments;
  13157. switch (t.length) {
  13158. case 0:
  13159. return new n();
  13160. case 1:
  13161. return new n(t[0]);
  13162. case 2:
  13163. return new n(t[0], t[1]);
  13164. case 3:
  13165. return new n(t[0], t[1], t[2]);
  13166. case 4:
  13167. return new n(t[0], t[1], t[2], t[3]);
  13168. case 5:
  13169. return new n(t[0], t[1], t[2], t[3], t[4]);
  13170. case 6:
  13171. return new n(t[0], t[1], t[2], t[3], t[4], t[5]);
  13172. case 7:
  13173. return new n(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
  13174. }
  13175. var r = ro(n.prototype),
  13176. t = n.apply(r, t);
  13177. return gu(t) ? t : r;
  13178. };
  13179. }
  13180. function Kr(t, r, e) {
  13181. function u() {
  13182. for (var o = arguments.length, f = Vu(o), c = o, a = de(u); c--;) {
  13183. f[c] = arguments[c];
  13184. }
  13185. return c = 3 > o && f[0] !== a && f[o - 1] !== a ? [] : L(f, a), o -= c.length, o < e ? ue(t, r, Jr, u.placeholder, T, f, c, T, T, e - o) : n(this && this !== $n && this instanceof u ? i : t, this, f);
  13186. }
  13187. var i = Vr(t);
  13188. return u;
  13189. }
  13190. function Gr(n) {
  13191. return function (t, r, e) {
  13192. var u = Yu(t);
  13193. if (!lu(t)) {
  13194. var i = ye(r, 3);
  13195. t = zu(t), r = function r(n) {
  13196. return i(u[n], n, u);
  13197. };
  13198. }
  13199. return r = n(t, r, e), -1 < r ? u[i ? t[r] : r] : T;
  13200. };
  13201. }
  13202. function Hr(n) {
  13203. return pe(function (t) {
  13204. var r = t.length,
  13205. e = r,
  13206. u = On.prototype.thru;
  13207. for (n && t.reverse(); e--;) {
  13208. var i = t[e];
  13209. if (typeof i != "function") throw new ni("Expected a function");
  13210. if (u && !o && "wrapper" == ge(i)) var o = new On([], true);
  13211. }
  13212. for (e = o ? e : r; ++e < r;) {
  13213. var i = t[e],
  13214. u = ge(i),
  13215. f = "wrapper" == u ? so(i) : T,
  13216. o = f && Re(f[0]) && 424 == f[1] && !f[4].length && 1 == f[9] ? o[ge(f[0])].apply(o, f[3]) : 1 == i.length && Re(i) ? o[u]() : o.thru(i);
  13217. }
  13218. return function () {
  13219. var n = arguments,
  13220. e = n[0];
  13221. if (o && 1 == n.length && of(e)) return o.plant(e).value();
  13222. for (var u = 0, n = r ? t[u].apply(this, n) : e; ++u < r;) {
  13223. n = t[u].call(this, n);
  13224. }
  13225. return n;
  13226. };
  13227. });
  13228. }
  13229. function Jr(n, t, r, e, u, i, o, f, c, a) {
  13230. function l() {
  13231. for (var d = arguments.length, y = Vu(d), b = d; b--;) {
  13232. y[b] = arguments[b];
  13233. }
  13234. if (_) {
  13235. var x,
  13236. j = de(l),
  13237. b = y.length;
  13238. for (x = 0; b--;) {
  13239. y[b] === j && ++x;
  13240. }
  13241. }
  13242. if (e && (y = Br(y, e, u, _)), i && (y = Lr(y, i, o, _)), d -= x, _ && d < a) return j = L(y, j), ue(n, t, Jr, l.placeholder, r, y, j, f, c, a - d);
  13243. if (j = h ? r : this, b = p ? j[n] : n, d = y.length, f) {
  13244. x = y.length;
  13245. for (var w = Ui(f.length, x), m = Ur(y); w--;) {
  13246. var A = f[w];
  13247. y[w] = Se(A, x) ? m[A] : T;
  13248. }
  13249. } else v && 1 < d && y.reverse();
  13250. return s && c < d && (y.length = c), this && this !== $n && this instanceof l && (b = g || Vr(b)), b.apply(j, y);
  13251. }
  13252. var s = 128 & t,
  13253. h = 1 & t,
  13254. p = 2 & t,
  13255. _ = 24 & t,
  13256. v = 512 & t,
  13257. g = p ? T : Vr(n);
  13258. return l;
  13259. }
  13260. function Yr(n, t) {
  13261. return function (r, e) {
  13262. return Bt(r, n, t(e));
  13263. };
  13264. }
  13265. function Qr(n, t) {
  13266. return function (r, e) {
  13267. var u;
  13268. if (r === T && e === T) return t;
  13269. if (r !== T && (u = r), e !== T) {
  13270. if (u === T) return e;
  13271. typeof r == "string" || typeof e == "string" ? (r = yr(r), e = yr(e)) : (r = dr(r), e = dr(e)), u = n(r, e);
  13272. }
  13273. return u;
  13274. };
  13275. }
  13276. function Xr(t) {
  13277. return pe(function (r) {
  13278. return r = c(r, k(ye())), fr(function (e) {
  13279. var u = this;
  13280. return t(r, function (t) {
  13281. return n(t, u, e);
  13282. });
  13283. });
  13284. });
  13285. }
  13286. function ne(n, t) {
  13287. t = t === T ? " " : yr(t);
  13288. var r = t.length;
  13289. return 2 > r ? r ? or(t, n) : t : (r = or(t, Si(n / D(t))), Rn.test(t) ? Or(M(r), 0, n).join("") : r.slice(0, n));
  13290. }
  13291. function te(t, r, e, u) {
  13292. function i() {
  13293. for (var r = -1, c = arguments.length, a = -1, l = u.length, s = Vu(l + c), h = this && this !== $n && this instanceof i ? f : t; ++a < l;) {
  13294. s[a] = u[a];
  13295. }
  13296. for (; c--;) {
  13297. s[a++] = arguments[++r];
  13298. }
  13299. return n(h, o ? e : this, s);
  13300. }
  13301. var o = 1 & r,
  13302. f = Vr(t);
  13303. return i;
  13304. }
  13305. function re(n) {
  13306. return function (t, r, e) {
  13307. e && typeof e != "number" && Oe(t, r, e) && (r = e = T), t = mu(t), r === T ? (r = t, t = 0) : r = mu(r), e = e === T ? t < r ? 1 : -1 : mu(e);
  13308. var u = -1;
  13309. r = Li(Si((r - t) / (e || 1)), 0);
  13310. for (var i = Vu(r); r--;) {
  13311. i[n ? r : ++u] = t, t += e;
  13312. }
  13313. return i;
  13314. };
  13315. }
  13316. function ee(n) {
  13317. return function (t, r) {
  13318. return typeof t == "string" && typeof r == "string" || (t = ku(t), r = ku(r)), n(t, r);
  13319. };
  13320. }
  13321. function ue(n, t, r, e, u, i, o, f, c, a) {
  13322. var l = 8 & t,
  13323. s = l ? o : T;
  13324. o = l ? T : o;
  13325. var h = l ? i : T;
  13326. return i = l ? T : i, t = (t | (l ? 32 : 64)) & ~(l ? 64 : 32), 4 & t || (t &= -4), u = [n, t, u, h, s, i, o, f, c, a], r = r.apply(T, u), Re(n) && go(r, u), r.placeholder = e, Le(r, n, t);
  13327. }
  13328. function ie(n) {
  13329. var t = Ju[n];
  13330. return function (n, r) {
  13331. if (n = ku(n), r = null == r ? 0 : Ui(Au(r), 292)) {
  13332. var e = (Ou(n) + "e").split("e"),
  13333. e = t(e[0] + "e" + (+e[1] + r)),
  13334. e = (Ou(e) + "e").split("e");
  13335. return +(e[0] + "e" + (+e[1] - r));
  13336. }
  13337. return t(n);
  13338. };
  13339. }
  13340. function oe(n) {
  13341. return function (t) {
  13342. var r = _o(t);
  13343. return "[object Map]" == r ? W(t) : "[object Set]" == r ? C(t) : E(t, n(t));
  13344. };
  13345. }
  13346. function fe(n, t, r, e, u, i, o, f) {
  13347. var c = 2 & t;
  13348. if (!c && typeof n != "function") throw new ni("Expected a function");
  13349. var a = e ? e.length : 0;
  13350. if (a || (t &= -97, e = u = T), o = o === T ? o : Li(Au(o), 0), f = f === T ? f : Au(f), a -= u ? u.length : 0, 64 & t) {
  13351. var l = e,
  13352. s = u;
  13353. e = u = T;
  13354. }
  13355. var h = c ? T : so(n);
  13356. return i = [n, t, r, e, u, l, s, i, o, f], h && (r = i[1], n = h[1], t = r | n, e = 128 == n && 8 == r || 128 == n && 256 == r && i[7].length <= h[8] || 384 == n && h[7].length <= h[8] && 8 == r, 131 > t || e) && (1 & n && (i[2] = h[2], t |= 1 & r ? 0 : 4), (r = h[3]) && (e = i[3], i[3] = e ? Br(e, r, h[4]) : r, i[4] = e ? L(i[3], "__lodash_placeholder__") : h[4]), (r = h[5]) && (e = i[5], i[5] = e ? Lr(e, r, h[6]) : r, i[6] = e ? L(i[5], "__lodash_placeholder__") : h[6]), (r = h[7]) && (i[7] = r), 128 & n && (i[8] = null == i[8] ? h[8] : Ui(i[8], h[8])), null == i[9] && (i[9] = h[9]), i[0] = h[0], i[1] = t), n = i[0], t = i[1], r = i[2], e = i[3], u = i[4], f = i[9] = i[9] === T ? c ? 0 : n.length : Li(i[9] - a, 0), !f && 24 & t && (t &= -25), Le((h ? fo : go)(t && 1 != t ? 8 == t || 16 == t ? Kr(n, t, f) : 32 != t && 33 != t || u.length ? Jr.apply(T, i) : te(n, t, r, e) : Pr(n, t, r), i), n, t);
  13357. }
  13358. function ce(n, t, r, e) {
  13359. return n === T || au(n, ri[r]) && !ii.call(e, r) ? t : n;
  13360. }
  13361. function ae(n, t, r, e, u, i) {
  13362. return gu(n) && gu(t) && (i.set(t, n), Yt(n, t, T, ae, i), i.delete(t)), n;
  13363. }
  13364. function le(n) {
  13365. return bu(n) ? T : n;
  13366. }
  13367. function se(n, t, r, e, u, i) {
  13368. var o = 1 & r,
  13369. f = n.length,
  13370. c = t.length;
  13371. if (f != c && !(o && c > f)) return false;
  13372. if ((c = i.get(n)) && i.get(t)) return c == t;
  13373. var c = -1,
  13374. a = true,
  13375. l = 2 & r ? new Nn() : T;
  13376. for (i.set(n, t), i.set(t, n); ++c < f;) {
  13377. var s = n[c],
  13378. p = t[c];
  13379. if (e) var _ = o ? e(p, s, c, t, n, i) : e(s, p, c, n, t, i);
  13380. if (_ !== T) {
  13381. if (_) continue;
  13382. a = false;
  13383. break;
  13384. }
  13385. if (l) {
  13386. if (!h(t, function (n, t) {
  13387. if (!O(l, t) && (s === n || u(s, n, r, e, i))) return l.push(t);
  13388. })) {
  13389. a = false;
  13390. break;
  13391. }
  13392. } else if (s !== p && !u(s, p, r, e, i)) {
  13393. a = false;
  13394. break;
  13395. }
  13396. }
  13397. return i.delete(n), i.delete(t), a;
  13398. }
  13399. function he(n, t, r, e, u, i, o) {
  13400. switch (r) {
  13401. case "[object DataView]":
  13402. if (n.byteLength != t.byteLength || n.byteOffset != t.byteOffset) break;
  13403. n = n.buffer, t = t.buffer;
  13404. case "[object ArrayBuffer]":
  13405. if (n.byteLength != t.byteLength || !i(new _i(n), new _i(t))) break;
  13406. return true;
  13407. case "[object Boolean]":
  13408. case "[object Date]":
  13409. case "[object Number]":
  13410. return au(+n, +t);
  13411. case "[object Error]":
  13412. return n.name == t.name && n.message == t.message;
  13413. case "[object RegExp]":
  13414. case "[object String]":
  13415. return n == t + "";
  13416. case "[object Map]":
  13417. var f = W;
  13418. case "[object Set]":
  13419. if (f || (f = U), n.size != t.size && !(1 & e)) break;
  13420. return (r = o.get(n)) ? r == t : (e |= 2, o.set(n, t), t = se(f(n), f(t), e, u, i, o), o.delete(n), t);
  13421. case "[object Symbol]":
  13422. if (no) return no.call(n) == no.call(t);
  13423. }
  13424. return false;
  13425. }
  13426. function pe(n) {
  13427. return bo(Be(n, T, Pe), n + "");
  13428. }
  13429. function _e(n) {
  13430. return St(n, zu, ho);
  13431. }
  13432. function ve(n) {
  13433. return St(n, Wu, po);
  13434. }
  13435. function ge(n) {
  13436. for (var t = n.name + "", r = Ki[t], e = ii.call(Ki, t) ? r.length : 0; e--;) {
  13437. var u = r[e],
  13438. i = u.func;
  13439. if (null == i || i == n) return u.name;
  13440. }
  13441. return t;
  13442. }
  13443. function de(n) {
  13444. return (ii.call(An, "placeholder") ? An : n).placeholder;
  13445. }
  13446. function ye() {
  13447. var n = An.iteratee || $u,
  13448. n = n === $u ? qt : n;
  13449. return arguments.length ? n(arguments[0], arguments[1]) : n;
  13450. }
  13451. function be(n, t) {
  13452. var r = n.__data__,
  13453. e = _typeof(t);
  13454. return ("string" == e || "number" == e || "symbol" == e || "boolean" == e ? "__proto__" !== t : null === t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
  13455. }
  13456. function xe(n) {
  13457. for (var t = zu(n), r = t.length; r--;) {
  13458. var e = t[r],
  13459. u = n[e];
  13460. t[r] = [e, u, u === u && !gu(u)];
  13461. }
  13462. return t;
  13463. }
  13464. function je(n, t) {
  13465. var r = null == n ? T : n[t];
  13466. return Ft(r) ? r : T;
  13467. }
  13468. function we(n, t, r) {
  13469. t = Sr(t, n);
  13470. for (var e = -1, u = t.length, i = false; ++e < u;) {
  13471. var o = De(t[e]);
  13472. if (!(i = null != n && r(n, o))) break;
  13473. n = n[o];
  13474. }
  13475. return i || ++e != u ? i : (u = null == n ? 0 : n.length, !!u && vu(u) && Se(o, u) && (of(n) || uf(n)));
  13476. }
  13477. function me(n) {
  13478. var t = n.length,
  13479. r = new n.constructor(t);
  13480. return t && "string" == typeof n[0] && ii.call(n, "index") && (r.index = n.index, r.input = n.input), r;
  13481. }
  13482. function Ae(n) {
  13483. return typeof n.constructor != "function" || ze(n) ? {} : ro(gi(n));
  13484. }
  13485. function Ee(n, t, r) {
  13486. var e = n.constructor;
  13487. switch (t) {
  13488. case "[object ArrayBuffer]":
  13489. return Rr(n);
  13490. case "[object Boolean]":
  13491. case "[object Date]":
  13492. return new e(+n);
  13493. case "[object DataView]":
  13494. return t = r ? Rr(n.buffer) : n.buffer, new n.constructor(t, n.byteOffset, n.byteLength);
  13495. case "[object Float32Array]":
  13496. case "[object Float64Array]":
  13497. case "[object Int8Array]":
  13498. case "[object Int16Array]":
  13499. case "[object Int32Array]":
  13500. case "[object Uint8Array]":
  13501. case "[object Uint8ClampedArray]":
  13502. case "[object Uint16Array]":
  13503. case "[object Uint32Array]":
  13504. return zr(n, r);
  13505. case "[object Map]":
  13506. return new e();
  13507. case "[object Number]":
  13508. case "[object String]":
  13509. return new e(n);
  13510. case "[object RegExp]":
  13511. return t = new n.constructor(n.source, _n.exec(n)), t.lastIndex = n.lastIndex, t;
  13512. case "[object Set]":
  13513. return new e();
  13514. case "[object Symbol]":
  13515. return no ? Yu(no.call(n)) : {};
  13516. }
  13517. }
  13518. function ke(n) {
  13519. return of(n) || uf(n) || !!(xi && n && n[xi]);
  13520. }
  13521. function Se(n, t) {
  13522. var r = _typeof(n);
  13523. return t = null == t ? 9007199254740991 : t, !!t && ("number" == r || "symbol" != r && bn.test(n)) && -1 < n && 0 == n % 1 && n < t;
  13524. }
  13525. function Oe(n, t, r) {
  13526. if (!gu(r)) return false;
  13527. var e = _typeof(t);
  13528. return !!("number" == e ? lu(r) && Se(t, r.length) : "string" == e && t in r) && au(r[t], n);
  13529. }
  13530. function Ie(n, t) {
  13531. if (of(n)) return false;
  13532. var r = _typeof(n);
  13533. return !("number" != r && "symbol" != r && "boolean" != r && null != n && !ju(n)) || nn.test(n) || !X.test(n) || null != t && n in Yu(t);
  13534. }
  13535. function Re(n) {
  13536. var t = ge(n),
  13537. r = An[t];
  13538. return typeof r == "function" && t in Un.prototype && (n === r || (t = so(r), !!t && n === t[0]));
  13539. }
  13540. function ze(n) {
  13541. var t = n && n.constructor;
  13542. return n === (typeof t == "function" && t.prototype || ri);
  13543. }
  13544. function We(n, t) {
  13545. return function (r) {
  13546. return null != r && r[n] === t && (t !== T || n in Yu(r));
  13547. };
  13548. }
  13549. function Be(t, r, e) {
  13550. return r = Li(r === T ? t.length - 1 : r, 0), function () {
  13551. for (var u = arguments, i = -1, o = Li(u.length - r, 0), f = Vu(o); ++i < o;) {
  13552. f[i] = u[r + i];
  13553. }
  13554. for (i = -1, o = Vu(r + 1); ++i < r;) {
  13555. o[i] = u[i];
  13556. }
  13557. return o[r] = e(f), n(t, this, o);
  13558. };
  13559. }
  13560. function Le(n, t, r) {
  13561. var e = t + "";
  13562. t = bo;
  13563. var u,
  13564. i = Te;
  13565. return u = (u = e.match(an)) ? u[1].split(ln) : [], r = i(u, r), (i = r.length) && (u = i - 1, r[u] = (1 < i ? "& " : "") + r[u], r = r.join(2 < i ? ", " : " "), e = e.replace(cn, "{\n/* [wrapped with " + r + "] */\n")), t(n, e);
  13566. }
  13567. function Ue(n) {
  13568. var t = 0,
  13569. r = 0;
  13570. return function () {
  13571. var e = Ci(),
  13572. u = 16 - (e - r);
  13573. if (r = e, 0 < u) {
  13574. if (800 <= ++t) return arguments[0];
  13575. } else t = 0;
  13576. return n.apply(T, arguments);
  13577. };
  13578. }
  13579. function Ce(n, t) {
  13580. var r = -1,
  13581. e = n.length,
  13582. u = e - 1;
  13583. for (t = t === T ? e : t; ++r < t;) {
  13584. var e = ir(r, u),
  13585. i = n[e];
  13586. n[e] = n[r], n[r] = i;
  13587. }
  13588. return n.length = t, n;
  13589. }
  13590. function De(n) {
  13591. if (typeof n == "string" || ju(n)) return n;
  13592. var t = n + "";
  13593. return "0" == t && 1 / n == -$ ? "-0" : t;
  13594. }
  13595. function Me(n) {
  13596. if (null != n) {
  13597. try {
  13598. return ui.call(n);
  13599. } catch (n) {}
  13600. return n + "";
  13601. }
  13602. return "";
  13603. }
  13604. function Te(n, t) {
  13605. return r(N, function (r) {
  13606. var e = "_." + r[0];
  13607. t & r[1] && !o(n, e) && n.push(e);
  13608. }), n.sort();
  13609. }
  13610. function $e(n) {
  13611. if (n instanceof Un) return n.clone();
  13612. var t = new On(n.__wrapped__, n.__chain__);
  13613. return t.__actions__ = Ur(n.__actions__), t.__index__ = n.__index__, t.__values__ = n.__values__, t;
  13614. }
  13615. function Fe(n, t, r) {
  13616. var e = null == n ? 0 : n.length;
  13617. return e ? (r = null == r ? 0 : Au(r), 0 > r && (r = Li(e + r, 0)), _(n, ye(t, 3), r)) : -1;
  13618. }
  13619. function Ne(n, t, r) {
  13620. var e = null == n ? 0 : n.length;
  13621. if (!e) return -1;
  13622. var u = e - 1;
  13623. return r !== T && (u = Au(r), u = 0 > r ? Li(e + u, 0) : Ui(u, e - 1)), _(n, ye(t, 3), u, true);
  13624. }
  13625. function Pe(n) {
  13626. return (null == n ? 0 : n.length) ? wt(n, 1) : [];
  13627. }
  13628. function Ze(n) {
  13629. return n && n.length ? n[0] : T;
  13630. }
  13631. function qe(n) {
  13632. var t = null == n ? 0 : n.length;
  13633. return t ? n[t - 1] : T;
  13634. }
  13635. function Ve(n, t) {
  13636. return n && n.length && t && t.length ? er(n, t) : n;
  13637. }
  13638. function Ke(n) {
  13639. return null == n ? n : Ti.call(n);
  13640. }
  13641. function Ge(n) {
  13642. if (!n || !n.length) return [];
  13643. var t = 0;
  13644. return n = i(n, function (n) {
  13645. if (su(n)) return t = Li(n.length, t), true;
  13646. }), A(t, function (t) {
  13647. return c(n, b(t));
  13648. });
  13649. }
  13650. function He(t, r) {
  13651. if (!t || !t.length) return [];
  13652. var e = Ge(t);
  13653. return null == r ? e : c(e, function (t) {
  13654. return n(r, T, t);
  13655. });
  13656. }
  13657. function Je(n) {
  13658. return n = An(n), n.__chain__ = true, n;
  13659. }
  13660. function Ye(n, t) {
  13661. return t(n);
  13662. }
  13663. function Qe() {
  13664. return this;
  13665. }
  13666. function Xe(n, t) {
  13667. return (of(n) ? r : eo)(n, ye(t, 3));
  13668. }
  13669. function nu(n, t) {
  13670. return (of(n) ? e : uo)(n, ye(t, 3));
  13671. }
  13672. function tu(n, t) {
  13673. return (of(n) ? c : Gt)(n, ye(t, 3));
  13674. }
  13675. function ru(n, t, r) {
  13676. return t = r ? T : t, t = n && null == t ? n.length : t, fe(n, 128, T, T, T, T, t);
  13677. }
  13678. function eu(n, t) {
  13679. var r;
  13680. if (typeof t != "function") throw new ni("Expected a function");
  13681. return n = Au(n), function () {
  13682. return 0 < --n && (r = t.apply(this, arguments)), 1 >= n && (t = T), r;
  13683. };
  13684. }
  13685. function uu(n, t, r) {
  13686. return t = r ? T : t, n = fe(n, 8, T, T, T, T, T, t), n.placeholder = uu.placeholder, n;
  13687. }
  13688. function iu(n, t, r) {
  13689. return t = r ? T : t, n = fe(n, 16, T, T, T, T, T, t), n.placeholder = iu.placeholder, n;
  13690. }
  13691. function ou(n, t, r) {
  13692. function e(t) {
  13693. var r = c,
  13694. e = a;
  13695. return c = a = T, _ = t, s = n.apply(e, r);
  13696. }
  13697. function u(n) {
  13698. var r = n - p;
  13699. return n -= _, p === T || r >= t || 0 > r || g && n >= l;
  13700. }
  13701. function i() {
  13702. var n = Ko();
  13703. if (u(n)) return o(n);
  13704. var r,
  13705. e = yo;
  13706. r = n - _, n = t - (n - p), r = g ? Ui(n, l - r) : n, h = e(i, r);
  13707. }
  13708. function o(n) {
  13709. return h = T, d && c ? e(n) : (c = a = T, s);
  13710. }
  13711. function f() {
  13712. var n = Ko(),
  13713. r = u(n);
  13714. if (c = arguments, a = this, p = n, r) {
  13715. if (h === T) return _ = n = p, h = yo(i, t), v ? e(n) : s;
  13716. if (g) return h = yo(i, t), e(p);
  13717. }
  13718. return h === T && (h = yo(i, t)), s;
  13719. }
  13720. var c,
  13721. a,
  13722. l,
  13723. s,
  13724. h,
  13725. p,
  13726. _ = 0,
  13727. v = false,
  13728. g = false,
  13729. d = true;
  13730. if (typeof n != "function") throw new ni("Expected a function");
  13731. return t = ku(t) || 0, gu(r) && (v = !!r.leading, l = (g = "maxWait" in r) ? Li(ku(r.maxWait) || 0, t) : l, d = "trailing" in r ? !!r.trailing : d), f.cancel = function () {
  13732. h !== T && ao(h), _ = 0, c = p = a = h = T;
  13733. }, f.flush = function () {
  13734. return h === T ? s : o(Ko());
  13735. }, f;
  13736. }
  13737. function fu(n, t) {
  13738. function r() {
  13739. var e = arguments,
  13740. u = t ? t.apply(this, e) : e[0],
  13741. i = r.cache;
  13742. return i.has(u) ? i.get(u) : (e = n.apply(this, e), r.cache = i.set(u, e) || i, e);
  13743. }
  13744. if (typeof n != "function" || null != t && typeof t != "function") throw new ni("Expected a function");
  13745. return r.cache = new (fu.Cache || Fn)(), r;
  13746. }
  13747. function cu(n) {
  13748. if (typeof n != "function") throw new ni("Expected a function");
  13749. return function () {
  13750. var t = arguments;
  13751. switch (t.length) {
  13752. case 0:
  13753. return !n.call(this);
  13754. case 1:
  13755. return !n.call(this, t[0]);
  13756. case 2:
  13757. return !n.call(this, t[0], t[1]);
  13758. case 3:
  13759. return !n.call(this, t[0], t[1], t[2]);
  13760. }
  13761. return !n.apply(this, t);
  13762. };
  13763. }
  13764. function au(n, t) {
  13765. return n === t || n !== n && t !== t;
  13766. }
  13767. function lu(n) {
  13768. return null != n && vu(n.length) && !pu(n);
  13769. }
  13770. function su(n) {
  13771. return du(n) && lu(n);
  13772. }
  13773. function hu(n) {
  13774. if (!du(n)) return false;
  13775. var t = Ot(n);
  13776. return "[object Error]" == t || "[object DOMException]" == t || typeof n.message == "string" && typeof n.name == "string" && !bu(n);
  13777. }
  13778. function pu(n) {
  13779. return !!gu(n) && (n = Ot(n), "[object Function]" == n || "[object GeneratorFunction]" == n || "[object AsyncFunction]" == n || "[object Proxy]" == n);
  13780. }
  13781. function _u(n) {
  13782. return typeof n == "number" && n == Au(n);
  13783. }
  13784. function vu(n) {
  13785. return typeof n == "number" && -1 < n && 0 == n % 1 && 9007199254740991 >= n;
  13786. }
  13787. function gu(n) {
  13788. var t = _typeof(n);
  13789. return null != n && ("object" == t || "function" == t);
  13790. }
  13791. function du(n) {
  13792. return null != n && _typeof(n) == "object";
  13793. }
  13794. function yu(n) {
  13795. return typeof n == "number" || du(n) && "[object Number]" == Ot(n);
  13796. }
  13797. function bu(n) {
  13798. return !(!du(n) || "[object Object]" != Ot(n)) && (n = gi(n), null === n || (n = ii.call(n, "constructor") && n.constructor, typeof n == "function" && n instanceof n && ui.call(n) == ai));
  13799. }
  13800. function xu(n) {
  13801. return typeof n == "string" || !of(n) && du(n) && "[object String]" == Ot(n);
  13802. }
  13803. function ju(n) {
  13804. return _typeof(n) == "symbol" || du(n) && "[object Symbol]" == Ot(n);
  13805. }
  13806. function wu(n) {
  13807. if (!n) return [];
  13808. if (lu(n)) return xu(n) ? M(n) : Ur(n);
  13809. if (ji && n[ji]) {
  13810. n = n[ji]();
  13811. for (var t, r = []; !(t = n.next()).done;) {
  13812. r.push(t.value);
  13813. }
  13814. return r;
  13815. }
  13816. return t = _o(n), ("[object Map]" == t ? W : "[object Set]" == t ? U : Lu)(n);
  13817. }
  13818. function mu(n) {
  13819. return n ? (n = ku(n), n === $ || n === -$ ? 1.7976931348623157e308 * (0 > n ? -1 : 1) : n === n ? n : 0) : 0 === n ? n : 0;
  13820. }
  13821. function Au(n) {
  13822. n = mu(n);
  13823. var t = n % 1;
  13824. return n === n ? t ? n - t : n : 0;
  13825. }
  13826. function Eu(n) {
  13827. return n ? pt(Au(n), 0, 4294967295) : 0;
  13828. }
  13829. function ku(n) {
  13830. if (typeof n == "number") return n;
  13831. if (ju(n)) return F;
  13832. if (gu(n) && (n = typeof n.valueOf == "function" ? n.valueOf() : n, n = gu(n) ? n + "" : n), typeof n != "string") return 0 === n ? n : +n;
  13833. n = n.replace(un, "");
  13834. var t = gn.test(n);
  13835. return t || yn.test(n) ? Dn(n.slice(2), t ? 2 : 8) : vn.test(n) ? F : +n;
  13836. }
  13837. function Su(n) {
  13838. return Cr(n, Wu(n));
  13839. }
  13840. function Ou(n) {
  13841. return null == n ? "" : yr(n);
  13842. }
  13843. function Iu(n, t, r) {
  13844. return n = null == n ? T : kt(n, t), n === T ? r : n;
  13845. }
  13846. function Ru(n, t) {
  13847. return null != n && we(n, t, zt);
  13848. }
  13849. function zu(n) {
  13850. return lu(n) ? qn(n) : Vt(n);
  13851. }
  13852. function Wu(n) {
  13853. if (lu(n)) n = qn(n, true);else if (gu(n)) {
  13854. var t,
  13855. r = ze(n),
  13856. e = [];
  13857. for (t in n) {
  13858. ("constructor" != t || !r && ii.call(n, t)) && e.push(t);
  13859. }
  13860. n = e;
  13861. } else {
  13862. if (t = [], null != n) for (r in Yu(n)) {
  13863. t.push(r);
  13864. }
  13865. n = t;
  13866. }
  13867. return n;
  13868. }
  13869. function Bu(n, t) {
  13870. if (null == n) return {};
  13871. var r = c(ve(n), function (n) {
  13872. return [n];
  13873. });
  13874. return t = ye(t), tr(n, r, function (n, r) {
  13875. return t(n, r[0]);
  13876. });
  13877. }
  13878. function Lu(n) {
  13879. return null == n ? [] : S(n, zu(n));
  13880. }
  13881. function Uu(n) {
  13882. return Tf(Ou(n).toLowerCase());
  13883. }
  13884. function Cu(n) {
  13885. return (n = Ou(n)) && n.replace(xn, Xn).replace(Sn, "");
  13886. }
  13887. function Du(n, t, r) {
  13888. return n = Ou(n), t = r ? T : t, t === T ? zn.test(n) ? n.match(In) || [] : n.match(sn) || [] : n.match(t) || [];
  13889. }
  13890. function Mu(n) {
  13891. return function () {
  13892. return n;
  13893. };
  13894. }
  13895. function Tu(n) {
  13896. return n;
  13897. }
  13898. function $u(n) {
  13899. return qt(typeof n == "function" ? n : _t(n, 1));
  13900. }
  13901. function Fu(n, t, e) {
  13902. var u = zu(t),
  13903. i = Et(t, u);
  13904. null != e || gu(t) && (i.length || !u.length) || (e = t, t = n, n = this, i = Et(t, zu(t)));
  13905. var o = !(gu(e) && "chain" in e && !e.chain),
  13906. f = pu(n);
  13907. return r(i, function (r) {
  13908. var e = t[r];
  13909. n[r] = e, f && (n.prototype[r] = function () {
  13910. var t = this.__chain__;
  13911. if (o || t) {
  13912. var r = n(this.__wrapped__);
  13913. return (r.__actions__ = Ur(this.__actions__)).push({
  13914. func: e,
  13915. args: arguments,
  13916. thisArg: n
  13917. }), r.__chain__ = t, r;
  13918. }
  13919. return e.apply(n, a([this.value()], arguments));
  13920. });
  13921. }), n;
  13922. }
  13923. function Nu() {}
  13924. function Pu(n) {
  13925. return Ie(n) ? b(De(n)) : rr(n);
  13926. }
  13927. function Zu() {
  13928. return [];
  13929. }
  13930. function qu() {
  13931. return false;
  13932. }
  13933. mn = null == mn ? $n : rt.defaults($n.Object(), mn, rt.pick($n, Wn));
  13934. var Vu = mn.Array,
  13935. Ku = mn.Date,
  13936. Gu = mn.Error,
  13937. Hu = mn.Function,
  13938. Ju = mn.Math,
  13939. Yu = mn.Object,
  13940. Qu = mn.RegExp,
  13941. Xu = mn.String,
  13942. ni = mn.TypeError,
  13943. ti = Vu.prototype,
  13944. ri = Yu.prototype,
  13945. ei = mn["__core-js_shared__"],
  13946. ui = Hu.prototype.toString,
  13947. ii = ri.hasOwnProperty,
  13948. oi = 0,
  13949. fi = function () {
  13950. var n = /[^.]+$/.exec(ei && ei.keys && ei.keys.IE_PROTO || "");
  13951. return n ? "Symbol(src)_1." + n : "";
  13952. }(),
  13953. ci = ri.toString,
  13954. ai = ui.call(Yu),
  13955. li = $n._,
  13956. si = Qu("^" + ui.call(ii).replace(rn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
  13957. hi = Pn ? mn.Buffer : T,
  13958. pi = mn.Symbol,
  13959. _i = mn.Uint8Array,
  13960. vi = hi ? hi.g : T,
  13961. gi = B(Yu.getPrototypeOf, Yu),
  13962. di = Yu.create,
  13963. yi = ri.propertyIsEnumerable,
  13964. bi = ti.splice,
  13965. xi = pi ? pi.isConcatSpreadable : T,
  13966. ji = pi ? pi.iterator : T,
  13967. wi = pi ? pi.toStringTag : T,
  13968. mi = function () {
  13969. try {
  13970. var n = je(Yu, "defineProperty");
  13971. return n({}, "", {}), n;
  13972. } catch (n) {}
  13973. }(),
  13974. Ai = mn.clearTimeout !== $n.clearTimeout && mn.clearTimeout,
  13975. Ei = Ku && Ku.now !== $n.Date.now && Ku.now,
  13976. ki = mn.setTimeout !== $n.setTimeout && mn.setTimeout,
  13977. Si = Ju.ceil,
  13978. Oi = Ju.floor,
  13979. Ii = Yu.getOwnPropertySymbols,
  13980. Ri = hi ? hi.isBuffer : T,
  13981. zi = mn.isFinite,
  13982. Wi = ti.join,
  13983. Bi = B(Yu.keys, Yu),
  13984. Li = Ju.max,
  13985. Ui = Ju.min,
  13986. Ci = Ku.now,
  13987. Di = mn.parseInt,
  13988. Mi = Ju.random,
  13989. Ti = ti.reverse,
  13990. $i = je(mn, "DataView"),
  13991. Fi = je(mn, "Map"),
  13992. Ni = je(mn, "Promise"),
  13993. Pi = je(mn, "Set"),
  13994. Zi = je(mn, "WeakMap"),
  13995. qi = je(Yu, "create"),
  13996. Vi = Zi && new Zi(),
  13997. Ki = {},
  13998. Gi = Me($i),
  13999. Hi = Me(Fi),
  14000. Ji = Me(Ni),
  14001. Yi = Me(Pi),
  14002. Qi = Me(Zi),
  14003. Xi = pi ? pi.prototype : T,
  14004. no = Xi ? Xi.valueOf : T,
  14005. to = Xi ? Xi.toString : T,
  14006. ro = function () {
  14007. function n() {}
  14008. return function (t) {
  14009. return gu(t) ? di ? di(t) : (n.prototype = t, t = new n(), n.prototype = T, t) : {};
  14010. };
  14011. }();
  14012. An.templateSettings = {
  14013. escape: J,
  14014. evaluate: Y,
  14015. interpolate: Q,
  14016. variable: "",
  14017. imports: {
  14018. _: An
  14019. }
  14020. }, An.prototype = En.prototype, An.prototype.constructor = An, On.prototype = ro(En.prototype), On.prototype.constructor = On, Un.prototype = ro(En.prototype), Un.prototype.constructor = Un, Mn.prototype.clear = function () {
  14021. this.__data__ = qi ? qi(null) : {}, this.size = 0;
  14022. }, Mn.prototype.delete = function (n) {
  14023. return n = this.has(n) && delete this.__data__[n], this.size -= n ? 1 : 0, n;
  14024. }, Mn.prototype.get = function (n) {
  14025. var t = this.__data__;
  14026. return qi ? (n = t[n], "__lodash_hash_undefined__" === n ? T : n) : ii.call(t, n) ? t[n] : T;
  14027. }, Mn.prototype.has = function (n) {
  14028. var t = this.__data__;
  14029. return qi ? t[n] !== T : ii.call(t, n);
  14030. }, Mn.prototype.set = function (n, t) {
  14031. var r = this.__data__;
  14032. return this.size += this.has(n) ? 0 : 1, r[n] = qi && t === T ? "__lodash_hash_undefined__" : t, this;
  14033. }, Tn.prototype.clear = function () {
  14034. this.__data__ = [], this.size = 0;
  14035. }, Tn.prototype.delete = function (n) {
  14036. var t = this.__data__;
  14037. return n = ft(t, n), !(0 > n) && (n == t.length - 1 ? t.pop() : bi.call(t, n, 1), --this.size, true);
  14038. }, Tn.prototype.get = function (n) {
  14039. var t = this.__data__;
  14040. return n = ft(t, n), 0 > n ? T : t[n][1];
  14041. }, Tn.prototype.has = function (n) {
  14042. return -1 < ft(this.__data__, n);
  14043. }, Tn.prototype.set = function (n, t) {
  14044. var r = this.__data__,
  14045. e = ft(r, n);
  14046. return 0 > e ? (++this.size, r.push([n, t])) : r[e][1] = t, this;
  14047. }, Fn.prototype.clear = function () {
  14048. this.size = 0, this.__data__ = {
  14049. hash: new Mn(),
  14050. map: new (Fi || Tn)(),
  14051. string: new Mn()
  14052. };
  14053. }, Fn.prototype.delete = function (n) {
  14054. return n = be(this, n).delete(n), this.size -= n ? 1 : 0, n;
  14055. }, Fn.prototype.get = function (n) {
  14056. return be(this, n).get(n);
  14057. }, Fn.prototype.has = function (n) {
  14058. return be(this, n).has(n);
  14059. }, Fn.prototype.set = function (n, t) {
  14060. var r = be(this, n),
  14061. e = r.size;
  14062. return r.set(n, t), this.size += r.size == e ? 0 : 1, this;
  14063. }, Nn.prototype.add = Nn.prototype.push = function (n) {
  14064. return this.__data__.set(n, "__lodash_hash_undefined__"), this;
  14065. }, Nn.prototype.has = function (n) {
  14066. return this.__data__.has(n);
  14067. }, Zn.prototype.clear = function () {
  14068. this.__data__ = new Tn(), this.size = 0;
  14069. }, Zn.prototype.delete = function (n) {
  14070. var t = this.__data__;
  14071. return n = t.delete(n), this.size = t.size, n;
  14072. }, Zn.prototype.get = function (n) {
  14073. return this.__data__.get(n);
  14074. }, Zn.prototype.has = function (n) {
  14075. return this.__data__.has(n);
  14076. }, Zn.prototype.set = function (n, t) {
  14077. var r = this.__data__;
  14078. if (r instanceof Tn) {
  14079. var e = r.__data__;
  14080. if (!Fi || 199 > e.length) return e.push([n, t]), this.size = ++r.size, this;
  14081. r = this.__data__ = new Fn(e);
  14082. }
  14083. return r.set(n, t), this.size = r.size, this;
  14084. };
  14085. var eo = Fr(mt),
  14086. uo = Fr(At, true),
  14087. io = Nr(),
  14088. oo = Nr(true),
  14089. fo = Vi ? function (n, t) {
  14090. return Vi.set(n, t), n;
  14091. } : Tu,
  14092. co = mi ? function (n, t) {
  14093. return mi(n, "toString", {
  14094. configurable: true,
  14095. enumerable: false,
  14096. value: Mu(t),
  14097. writable: true
  14098. });
  14099. } : Tu,
  14100. ao = Ai || function (n) {
  14101. return $n.clearTimeout(n);
  14102. },
  14103. lo = Pi && 1 / U(new Pi([, -0]))[1] == $ ? function (n) {
  14104. return new Pi(n);
  14105. } : Nu,
  14106. so = Vi ? function (n) {
  14107. return Vi.get(n);
  14108. } : Nu,
  14109. ho = Ii ? function (n) {
  14110. return null == n ? [] : (n = Yu(n), i(Ii(n), function (t) {
  14111. return yi.call(n, t);
  14112. }));
  14113. } : Zu,
  14114. po = Ii ? function (n) {
  14115. for (var t = []; n;) {
  14116. a(t, ho(n)), n = gi(n);
  14117. }
  14118. return t;
  14119. } : Zu,
  14120. _o = Ot;
  14121. ($i && "[object DataView]" != _o(new $i(new ArrayBuffer(1))) || Fi && "[object Map]" != _o(new Fi()) || Ni && "[object Promise]" != _o(Ni.resolve()) || Pi && "[object Set]" != _o(new Pi()) || Zi && "[object WeakMap]" != _o(new Zi())) && (_o = function _o(n) {
  14122. var t = Ot(n);
  14123. if (n = (n = "[object Object]" == t ? n.constructor : T) ? Me(n) : "") switch (n) {
  14124. case Gi:
  14125. return "[object DataView]";
  14126. case Hi:
  14127. return "[object Map]";
  14128. case Ji:
  14129. return "[object Promise]";
  14130. case Yi:
  14131. return "[object Set]";
  14132. case Qi:
  14133. return "[object WeakMap]";
  14134. }
  14135. return t;
  14136. });
  14137. var vo = ei ? pu : qu,
  14138. go = Ue(fo),
  14139. yo = ki || function (n, t) {
  14140. return $n.setTimeout(n, t);
  14141. },
  14142. bo = Ue(co),
  14143. xo = function (n) {
  14144. n = fu(n, function (n) {
  14145. return 500 === t.size && t.clear(), n;
  14146. });
  14147. var t = n.cache;
  14148. return n;
  14149. }(function (n) {
  14150. var t = [];
  14151. return 46 === n.charCodeAt(0) && t.push(""), n.replace(tn, function (n, r, e, u) {
  14152. t.push(e ? u.replace(hn, "$1") : r || n);
  14153. }), t;
  14154. }),
  14155. jo = fr(function (n, t) {
  14156. return su(n) ? yt(n, wt(t, 1, su, true)) : [];
  14157. }),
  14158. wo = fr(function (n, t) {
  14159. var r = qe(t);
  14160. return su(r) && (r = T), su(n) ? yt(n, wt(t, 1, su, true), ye(r, 2)) : [];
  14161. }),
  14162. mo = fr(function (n, t) {
  14163. var r = qe(t);
  14164. return su(r) && (r = T), su(n) ? yt(n, wt(t, 1, su, true), T, r) : [];
  14165. }),
  14166. Ao = fr(function (n) {
  14167. var t = c(n, Er);
  14168. return t.length && t[0] === n[0] ? Wt(t) : [];
  14169. }),
  14170. Eo = fr(function (n) {
  14171. var t = qe(n),
  14172. r = c(n, Er);
  14173. return t === qe(r) ? t = T : r.pop(), r.length && r[0] === n[0] ? Wt(r, ye(t, 2)) : [];
  14174. }),
  14175. ko = fr(function (n) {
  14176. var t = qe(n),
  14177. r = c(n, Er);
  14178. return (t = typeof t == "function" ? t : T) && r.pop(), r.length && r[0] === n[0] ? Wt(r, T, t) : [];
  14179. }),
  14180. So = fr(Ve),
  14181. Oo = pe(function (n, t) {
  14182. var r = null == n ? 0 : n.length,
  14183. e = ht(n, t);
  14184. return ur(n, c(t, function (n) {
  14185. return Se(n, r) ? +n : n;
  14186. }).sort(Wr)), e;
  14187. }),
  14188. Io = fr(function (n) {
  14189. return br(wt(n, 1, su, true));
  14190. }),
  14191. Ro = fr(function (n) {
  14192. var t = qe(n);
  14193. return su(t) && (t = T), br(wt(n, 1, su, true), ye(t, 2));
  14194. }),
  14195. zo = fr(function (n) {
  14196. var t = qe(n),
  14197. t = typeof t == "function" ? t : T;
  14198. return br(wt(n, 1, su, true), T, t);
  14199. }),
  14200. Wo = fr(function (n, t) {
  14201. return su(n) ? yt(n, t) : [];
  14202. }),
  14203. Bo = fr(function (n) {
  14204. return mr(i(n, su));
  14205. }),
  14206. Lo = fr(function (n) {
  14207. var t = qe(n);
  14208. return su(t) && (t = T), mr(i(n, su), ye(t, 2));
  14209. }),
  14210. Uo = fr(function (n) {
  14211. var t = qe(n),
  14212. t = typeof t == "function" ? t : T;
  14213. return mr(i(n, su), T, t);
  14214. }),
  14215. Co = fr(Ge),
  14216. Do = fr(function (n) {
  14217. var t = n.length,
  14218. t = 1 < t ? n[t - 1] : T,
  14219. t = typeof t == "function" ? (n.pop(), t) : T;
  14220. return He(n, t);
  14221. }),
  14222. Mo = pe(function (n) {
  14223. function t(t) {
  14224. return ht(t, n);
  14225. }
  14226. var r = n.length,
  14227. e = r ? n[0] : 0,
  14228. u = this.__wrapped__;
  14229. return !(1 < r || this.__actions__.length) && u instanceof Un && Se(e) ? (u = u.slice(e, +e + (r ? 1 : 0)), u.__actions__.push({
  14230. func: Ye,
  14231. args: [t],
  14232. thisArg: T
  14233. }), new On(u, this.__chain__).thru(function (n) {
  14234. return r && !n.length && n.push(T), n;
  14235. })) : this.thru(t);
  14236. }),
  14237. To = Tr(function (n, t, r) {
  14238. ii.call(n, r) ? ++n[r] : st(n, r, 1);
  14239. }),
  14240. $o = Gr(Fe),
  14241. Fo = Gr(Ne),
  14242. No = Tr(function (n, t, r) {
  14243. ii.call(n, r) ? n[r].push(t) : st(n, r, [t]);
  14244. }),
  14245. Po = fr(function (t, r, e) {
  14246. var u = -1,
  14247. i = typeof r == "function",
  14248. o = lu(t) ? Vu(t.length) : [];
  14249. return eo(t, function (t) {
  14250. o[++u] = i ? n(r, t, e) : Lt(t, r, e);
  14251. }), o;
  14252. }),
  14253. Zo = Tr(function (n, t, r) {
  14254. st(n, r, t);
  14255. }),
  14256. qo = Tr(function (n, t, r) {
  14257. n[r ? 0 : 1].push(t);
  14258. }, function () {
  14259. return [[], []];
  14260. }),
  14261. Vo = fr(function (n, t) {
  14262. if (null == n) return [];
  14263. var r = t.length;
  14264. return 1 < r && Oe(n, t[0], t[1]) ? t = [] : 2 < r && Oe(t[0], t[1], t[2]) && (t = [t[0]]), Xt(n, wt(t, 1), []);
  14265. }),
  14266. Ko = Ei || function () {
  14267. return $n.Date.now();
  14268. },
  14269. Go = fr(function (n, t, r) {
  14270. var e = 1;
  14271. if (r.length) var u = L(r, de(Go)),
  14272. e = 32 | e;
  14273. return fe(n, e, t, r, u);
  14274. }),
  14275. Ho = fr(function (n, t, r) {
  14276. var e = 3;
  14277. if (r.length) var u = L(r, de(Ho)),
  14278. e = 32 | e;
  14279. return fe(t, e, n, r, u);
  14280. }),
  14281. Jo = fr(function (n, t) {
  14282. return dt(n, 1, t);
  14283. }),
  14284. Yo = fr(function (n, t, r) {
  14285. return dt(n, ku(t) || 0, r);
  14286. });
  14287. fu.Cache = Fn;
  14288. var Qo = fr(function (t, r) {
  14289. r = 1 == r.length && of(r[0]) ? c(r[0], k(ye())) : c(wt(r, 1), k(ye()));
  14290. var e = r.length;
  14291. return fr(function (u) {
  14292. for (var i = -1, o = Ui(u.length, e); ++i < o;) {
  14293. u[i] = r[i].call(this, u[i]);
  14294. }
  14295. return n(t, this, u);
  14296. });
  14297. }),
  14298. Xo = fr(function (n, t) {
  14299. return fe(n, 32, T, t, L(t, de(Xo)));
  14300. }),
  14301. nf = fr(function (n, t) {
  14302. return fe(n, 64, T, t, L(t, de(nf)));
  14303. }),
  14304. tf = pe(function (n, t) {
  14305. return fe(n, 256, T, T, T, t);
  14306. }),
  14307. rf = ee(It),
  14308. ef = ee(function (n, t) {
  14309. return n >= t;
  14310. }),
  14311. uf = Ut(function () {
  14312. return arguments;
  14313. }()) ? Ut : function (n) {
  14314. return du(n) && ii.call(n, "callee") && !yi.call(n, "callee");
  14315. },
  14316. of = Vu.isArray,
  14317. ff = Vn ? k(Vn) : Ct,
  14318. cf = Ri || qu,
  14319. af = Kn ? k(Kn) : Dt,
  14320. lf = Gn ? k(Gn) : Tt,
  14321. sf = Hn ? k(Hn) : Nt,
  14322. hf = Jn ? k(Jn) : Pt,
  14323. pf = Yn ? k(Yn) : Zt,
  14324. _f = ee(Kt),
  14325. vf = ee(function (n, t) {
  14326. return n <= t;
  14327. }),
  14328. gf = $r(function (n, t) {
  14329. if (ze(t) || lu(t)) Cr(t, zu(t), n);else for (var r in t) {
  14330. ii.call(t, r) && ot(n, r, t[r]);
  14331. }
  14332. }),
  14333. df = $r(function (n, t) {
  14334. Cr(t, Wu(t), n);
  14335. }),
  14336. yf = $r(function (n, t, r, e) {
  14337. Cr(t, Wu(t), n, e);
  14338. }),
  14339. bf = $r(function (n, t, r, e) {
  14340. Cr(t, zu(t), n, e);
  14341. }),
  14342. xf = pe(ht),
  14343. jf = fr(function (n, t) {
  14344. n = Yu(n);
  14345. var r = -1,
  14346. e = t.length,
  14347. u = 2 < e ? t[2] : T;
  14348. for (u && Oe(t[0], t[1], u) && (e = 1); ++r < e;) {
  14349. for (var u = t[r], i = Wu(u), o = -1, f = i.length; ++o < f;) {
  14350. var c = i[o],
  14351. a = n[c];
  14352. (a === T || au(a, ri[c]) && !ii.call(n, c)) && (n[c] = u[c]);
  14353. }
  14354. }
  14355. return n;
  14356. }),
  14357. wf = fr(function (t) {
  14358. return t.push(T, ae), n(Sf, T, t);
  14359. }),
  14360. mf = Yr(function (n, t, r) {
  14361. null != t && typeof t.toString != "function" && (t = ci.call(t)), n[t] = r;
  14362. }, Mu(Tu)),
  14363. Af = Yr(function (n, t, r) {
  14364. null != t && typeof t.toString != "function" && (t = ci.call(t)), ii.call(n, t) ? n[t].push(r) : n[t] = [r];
  14365. }, ye),
  14366. Ef = fr(Lt),
  14367. kf = $r(function (n, t, r) {
  14368. Yt(n, t, r);
  14369. }),
  14370. Sf = $r(function (n, t, r, e) {
  14371. Yt(n, t, r, e);
  14372. }),
  14373. Of = pe(function (n, t) {
  14374. var r = {};
  14375. if (null == n) return r;
  14376. var e = false;
  14377. t = c(t, function (t) {
  14378. return t = Sr(t, n), e || (e = 1 < t.length), t;
  14379. }), Cr(n, ve(n), r), e && (r = _t(r, 7, le));
  14380. for (var u = t.length; u--;) {
  14381. xr(r, t[u]);
  14382. }
  14383. return r;
  14384. }),
  14385. If = pe(function (n, t) {
  14386. return null == n ? {} : nr(n, t);
  14387. }),
  14388. Rf = oe(zu),
  14389. zf = oe(Wu),
  14390. Wf = qr(function (n, t, r) {
  14391. return t = t.toLowerCase(), n + (r ? Uu(t) : t);
  14392. }),
  14393. Bf = qr(function (n, t, r) {
  14394. return n + (r ? "-" : "") + t.toLowerCase();
  14395. }),
  14396. Lf = qr(function (n, t, r) {
  14397. return n + (r ? " " : "") + t.toLowerCase();
  14398. }),
  14399. Uf = Zr("toLowerCase"),
  14400. Cf = qr(function (n, t, r) {
  14401. return n + (r ? "_" : "") + t.toLowerCase();
  14402. }),
  14403. Df = qr(function (n, t, r) {
  14404. return n + (r ? " " : "") + Tf(t);
  14405. }),
  14406. Mf = qr(function (n, t, r) {
  14407. return n + (r ? " " : "") + t.toUpperCase();
  14408. }),
  14409. Tf = Zr("toUpperCase"),
  14410. $f = fr(function (t, r) {
  14411. try {
  14412. return n(t, T, r);
  14413. } catch (n) {
  14414. return hu(n) ? n : new Gu(n);
  14415. }
  14416. }),
  14417. Ff = pe(function (n, t) {
  14418. return r(t, function (t) {
  14419. t = De(t), st(n, t, Go(n[t], n));
  14420. }), n;
  14421. }),
  14422. Nf = Hr(),
  14423. Pf = Hr(true),
  14424. Zf = fr(function (n, t) {
  14425. return function (r) {
  14426. return Lt(r, n, t);
  14427. };
  14428. }),
  14429. qf = fr(function (n, t) {
  14430. return function (r) {
  14431. return Lt(n, r, t);
  14432. };
  14433. }),
  14434. Vf = Xr(c),
  14435. Kf = Xr(u),
  14436. Gf = Xr(h),
  14437. Hf = re(),
  14438. Jf = re(true),
  14439. Yf = Qr(function (n, t) {
  14440. return n + t;
  14441. }, 0),
  14442. Qf = ie("ceil"),
  14443. Xf = Qr(function (n, t) {
  14444. return n / t;
  14445. }, 1),
  14446. nc = ie("floor"),
  14447. tc = Qr(function (n, t) {
  14448. return n * t;
  14449. }, 1),
  14450. rc = ie("round"),
  14451. ec = Qr(function (n, t) {
  14452. return n - t;
  14453. }, 0);
  14454. return An.after = function (n, t) {
  14455. if (typeof t != "function") throw new ni("Expected a function");
  14456. return n = Au(n), function () {
  14457. if (1 > --n) return t.apply(this, arguments);
  14458. };
  14459. }, An.ary = ru, An.assign = gf, An.assignIn = df, An.assignInWith = yf, An.assignWith = bf, An.at = xf, An.before = eu, An.bind = Go, An.bindAll = Ff, An.bindKey = Ho, An.castArray = function () {
  14460. if (!arguments.length) return [];
  14461. var n = arguments[0];
  14462. return of(n) ? n : [n];
  14463. }, An.chain = Je, An.chunk = function (n, t, r) {
  14464. if (t = (r ? Oe(n, t, r) : t === T) ? 1 : Li(Au(t), 0), r = null == n ? 0 : n.length, !r || 1 > t) return [];
  14465. for (var e = 0, u = 0, i = Vu(Si(r / t)); e < r;) {
  14466. i[u++] = hr(n, e, e += t);
  14467. }
  14468. return i;
  14469. }, An.compact = function (n) {
  14470. for (var t = -1, r = null == n ? 0 : n.length, e = 0, u = []; ++t < r;) {
  14471. var i = n[t];
  14472. i && (u[e++] = i);
  14473. }
  14474. return u;
  14475. }, An.concat = function () {
  14476. var n = arguments.length;
  14477. if (!n) return [];
  14478. for (var t = Vu(n - 1), r = arguments[0]; n--;) {
  14479. t[n - 1] = arguments[n];
  14480. }
  14481. return a(of(r) ? Ur(r) : [r], wt(t, 1));
  14482. }, An.cond = function (t) {
  14483. var r = null == t ? 0 : t.length,
  14484. e = ye();
  14485. return t = r ? c(t, function (n) {
  14486. if ("function" != typeof n[1]) throw new ni("Expected a function");
  14487. return [e(n[0]), n[1]];
  14488. }) : [], fr(function (e) {
  14489. for (var u = -1; ++u < r;) {
  14490. var i = t[u];
  14491. if (n(i[0], this, e)) return n(i[1], this, e);
  14492. }
  14493. });
  14494. }, An.conforms = function (n) {
  14495. return vt(_t(n, 1));
  14496. }, An.constant = Mu, An.countBy = To, An.create = function (n, t) {
  14497. var r = ro(n);
  14498. return null == t ? r : at(r, t);
  14499. }, An.curry = uu, An.curryRight = iu, An.debounce = ou, An.defaults = jf, An.defaultsDeep = wf, An.defer = Jo, An.delay = Yo, An.difference = jo, An.differenceBy = wo, An.differenceWith = mo, An.drop = function (n, t, r) {
  14500. var e = null == n ? 0 : n.length;
  14501. return e ? (t = r || t === T ? 1 : Au(t), hr(n, 0 > t ? 0 : t, e)) : [];
  14502. }, An.dropRight = function (n, t, r) {
  14503. var e = null == n ? 0 : n.length;
  14504. return e ? (t = r || t === T ? 1 : Au(t), t = e - t, hr(n, 0, 0 > t ? 0 : t)) : [];
  14505. }, An.dropRightWhile = function (n, t) {
  14506. return n && n.length ? jr(n, ye(t, 3), true, true) : [];
  14507. }, An.dropWhile = function (n, t) {
  14508. return n && n.length ? jr(n, ye(t, 3), true) : [];
  14509. }, An.fill = function (n, t, r, e) {
  14510. var u = null == n ? 0 : n.length;
  14511. if (!u) return [];
  14512. for (r && typeof r != "number" && Oe(n, t, r) && (r = 0, e = u), u = n.length, r = Au(r), 0 > r && (r = -r > u ? 0 : u + r), e = e === T || e > u ? u : Au(e), 0 > e && (e += u), e = r > e ? 0 : Eu(e); r < e;) {
  14513. n[r++] = t;
  14514. }
  14515. return n;
  14516. }, An.filter = function (n, t) {
  14517. return (of(n) ? i : jt)(n, ye(t, 3));
  14518. }, An.flatMap = function (n, t) {
  14519. return wt(tu(n, t), 1);
  14520. }, An.flatMapDeep = function (n, t) {
  14521. return wt(tu(n, t), $);
  14522. }, An.flatMapDepth = function (n, t, r) {
  14523. return r = r === T ? 1 : Au(r), wt(tu(n, t), r);
  14524. }, An.flatten = Pe, An.flattenDeep = function (n) {
  14525. return (null == n ? 0 : n.length) ? wt(n, $) : [];
  14526. }, An.flattenDepth = function (n, t) {
  14527. return null != n && n.length ? (t = t === T ? 1 : Au(t), wt(n, t)) : [];
  14528. }, An.flip = function (n) {
  14529. return fe(n, 512);
  14530. }, An.flow = Nf, An.flowRight = Pf, An.fromPairs = function (n) {
  14531. for (var t = -1, r = null == n ? 0 : n.length, e = {}; ++t < r;) {
  14532. var u = n[t];
  14533. e[u[0]] = u[1];
  14534. }
  14535. return e;
  14536. }, An.functions = function (n) {
  14537. return null == n ? [] : Et(n, zu(n));
  14538. }, An.functionsIn = function (n) {
  14539. return null == n ? [] : Et(n, Wu(n));
  14540. }, An.groupBy = No, An.initial = function (n) {
  14541. return (null == n ? 0 : n.length) ? hr(n, 0, -1) : [];
  14542. }, An.intersection = Ao, An.intersectionBy = Eo, An.intersectionWith = ko, An.invert = mf, An.invertBy = Af, An.invokeMap = Po, An.iteratee = $u, An.keyBy = Zo, An.keys = zu, An.keysIn = Wu, An.map = tu, An.mapKeys = function (n, t) {
  14543. var r = {};
  14544. return t = ye(t, 3), mt(n, function (n, e, u) {
  14545. st(r, t(n, e, u), n);
  14546. }), r;
  14547. }, An.mapValues = function (n, t) {
  14548. var r = {};
  14549. return t = ye(t, 3), mt(n, function (n, e, u) {
  14550. st(r, e, t(n, e, u));
  14551. }), r;
  14552. }, An.matches = function (n) {
  14553. return Ht(_t(n, 1));
  14554. }, An.matchesProperty = function (n, t) {
  14555. return Jt(n, _t(t, 1));
  14556. }, An.memoize = fu, An.merge = kf, An.mergeWith = Sf, An.method = Zf, An.methodOf = qf, An.mixin = Fu, An.negate = cu, An.nthArg = function (n) {
  14557. return n = Au(n), fr(function (t) {
  14558. return Qt(t, n);
  14559. });
  14560. }, An.omit = Of, An.omitBy = function (n, t) {
  14561. return Bu(n, cu(ye(t)));
  14562. }, An.once = function (n) {
  14563. return eu(2, n);
  14564. }, An.orderBy = function (n, t, r, e) {
  14565. return null == n ? [] : (of(t) || (t = null == t ? [] : [t]), r = e ? T : r, of(r) || (r = null == r ? [] : [r]), Xt(n, t, r));
  14566. }, An.over = Vf, An.overArgs = Qo, An.overEvery = Kf, An.overSome = Gf, An.partial = Xo, An.partialRight = nf, An.partition = qo, An.pick = If, An.pickBy = Bu, An.property = Pu, An.propertyOf = function (n) {
  14567. return function (t) {
  14568. return null == n ? T : kt(n, t);
  14569. };
  14570. }, An.pull = So, An.pullAll = Ve, An.pullAllBy = function (n, t, r) {
  14571. return n && n.length && t && t.length ? er(n, t, ye(r, 2)) : n;
  14572. }, An.pullAllWith = function (n, t, r) {
  14573. return n && n.length && t && t.length ? er(n, t, T, r) : n;
  14574. }, An.pullAt = Oo, An.range = Hf, An.rangeRight = Jf, An.rearg = tf, An.reject = function (n, t) {
  14575. return (of(n) ? i : jt)(n, cu(ye(t, 3)));
  14576. }, An.remove = function (n, t) {
  14577. var r = [];
  14578. if (!n || !n.length) return r;
  14579. var e = -1,
  14580. u = [],
  14581. i = n.length;
  14582. for (t = ye(t, 3); ++e < i;) {
  14583. var o = n[e];
  14584. t(o, e, n) && (r.push(o), u.push(e));
  14585. }
  14586. return ur(n, u), r;
  14587. }, An.rest = function (n, t) {
  14588. if (typeof n != "function") throw new ni("Expected a function");
  14589. return t = t === T ? t : Au(t), fr(n, t);
  14590. }, An.reverse = Ke, An.sampleSize = function (n, t, r) {
  14591. return t = (r ? Oe(n, t, r) : t === T) ? 1 : Au(t), (of(n) ? et : ar)(n, t);
  14592. }, An.set = function (n, t, r) {
  14593. return null == n ? n : lr(n, t, r);
  14594. }, An.setWith = function (n, t, r, e) {
  14595. return e = typeof e == "function" ? e : T, null == n ? n : lr(n, t, r, e);
  14596. }, An.shuffle = function (n) {
  14597. return (of(n) ? ut : sr)(n);
  14598. }, An.slice = function (n, t, r) {
  14599. var e = null == n ? 0 : n.length;
  14600. return e ? (r && typeof r != "number" && Oe(n, t, r) ? (t = 0, r = e) : (t = null == t ? 0 : Au(t), r = r === T ? e : Au(r)), hr(n, t, r)) : [];
  14601. }, An.sortBy = Vo, An.sortedUniq = function (n) {
  14602. return n && n.length ? gr(n) : [];
  14603. }, An.sortedUniqBy = function (n, t) {
  14604. return n && n.length ? gr(n, ye(t, 2)) : [];
  14605. }, An.split = function (n, t, r) {
  14606. return r && typeof r != "number" && Oe(n, t, r) && (t = r = T), r = r === T ? 4294967295 : r >>> 0, r ? (n = Ou(n)) && (typeof t == "string" || null != t && !sf(t)) && (t = yr(t), !t && Rn.test(n)) ? Or(M(n), 0, r) : n.split(t, r) : [];
  14607. }, An.spread = function (t, r) {
  14608. if (typeof t != "function") throw new ni("Expected a function");
  14609. return r = null == r ? 0 : Li(Au(r), 0), fr(function (e) {
  14610. var u = e[r];
  14611. return e = Or(e, 0, r), u && a(e, u), n(t, this, e);
  14612. });
  14613. }, An.tail = function (n) {
  14614. var t = null == n ? 0 : n.length;
  14615. return t ? hr(n, 1, t) : [];
  14616. }, An.take = function (n, t, r) {
  14617. return n && n.length ? (t = r || t === T ? 1 : Au(t), hr(n, 0, 0 > t ? 0 : t)) : [];
  14618. }, An.takeRight = function (n, t, r) {
  14619. var e = null == n ? 0 : n.length;
  14620. return e ? (t = r || t === T ? 1 : Au(t), t = e - t, hr(n, 0 > t ? 0 : t, e)) : [];
  14621. }, An.takeRightWhile = function (n, t) {
  14622. return n && n.length ? jr(n, ye(t, 3), false, true) : [];
  14623. }, An.takeWhile = function (n, t) {
  14624. return n && n.length ? jr(n, ye(t, 3)) : [];
  14625. }, An.tap = function (n, t) {
  14626. return t(n), n;
  14627. }, An.throttle = function (n, t, r) {
  14628. var e = true,
  14629. u = true;
  14630. if (typeof n != "function") throw new ni("Expected a function");
  14631. return gu(r) && (e = "leading" in r ? !!r.leading : e, u = "trailing" in r ? !!r.trailing : u), ou(n, t, {
  14632. leading: e,
  14633. maxWait: t,
  14634. trailing: u
  14635. });
  14636. }, An.thru = Ye, An.toArray = wu, An.toPairs = Rf, An.toPairsIn = zf, An.toPath = function (n) {
  14637. return of(n) ? c(n, De) : ju(n) ? [n] : Ur(xo(Ou(n)));
  14638. }, An.toPlainObject = Su, An.transform = function (n, t, e) {
  14639. var u = of(n),
  14640. i = u || cf(n) || pf(n);
  14641. if (t = ye(t, 4), null == e) {
  14642. var o = n && n.constructor;
  14643. e = i ? u ? new o() : [] : gu(n) && pu(o) ? ro(gi(n)) : {};
  14644. }
  14645. return (i ? r : mt)(n, function (n, r, u) {
  14646. return t(e, n, r, u);
  14647. }), e;
  14648. }, An.unary = function (n) {
  14649. return ru(n, 1);
  14650. }, An.union = Io, An.unionBy = Ro, An.unionWith = zo, An.uniq = function (n) {
  14651. return n && n.length ? br(n) : [];
  14652. }, An.uniqBy = function (n, t) {
  14653. return n && n.length ? br(n, ye(t, 2)) : [];
  14654. }, An.uniqWith = function (n, t) {
  14655. return t = typeof t == "function" ? t : T, n && n.length ? br(n, T, t) : [];
  14656. }, An.unset = function (n, t) {
  14657. return null == n || xr(n, t);
  14658. }, An.unzip = Ge, An.unzipWith = He, An.update = function (n, t, r) {
  14659. return null == n ? n : lr(n, t, kr(r)(kt(n, t)), void 0);
  14660. }, An.updateWith = function (n, t, r, e) {
  14661. return e = typeof e == "function" ? e : T, null != n && (n = lr(n, t, kr(r)(kt(n, t)), e)), n;
  14662. }, An.values = Lu, An.valuesIn = function (n) {
  14663. return null == n ? [] : S(n, Wu(n));
  14664. }, An.without = Wo, An.words = Du, An.wrap = function (n, t) {
  14665. return Xo(kr(t), n);
  14666. }, An.xor = Bo, An.xorBy = Lo, An.xorWith = Uo, An.zip = Co, An.zipObject = function (n, t) {
  14667. return Ar(n || [], t || [], ot);
  14668. }, An.zipObjectDeep = function (n, t) {
  14669. return Ar(n || [], t || [], lr);
  14670. }, An.zipWith = Do, An.entries = Rf, An.entriesIn = zf, An.extend = df, An.extendWith = yf, Fu(An, An), An.add = Yf, An.attempt = $f, An.camelCase = Wf, An.capitalize = Uu, An.ceil = Qf, An.clamp = function (n, t, r) {
  14671. return r === T && (r = t, t = T), r !== T && (r = ku(r), r = r === r ? r : 0), t !== T && (t = ku(t), t = t === t ? t : 0), pt(ku(n), t, r);
  14672. }, An.clone = function (n) {
  14673. return _t(n, 4);
  14674. }, An.cloneDeep = function (n) {
  14675. return _t(n, 5);
  14676. }, An.cloneDeepWith = function (n, t) {
  14677. return t = typeof t == "function" ? t : T, _t(n, 5, t);
  14678. }, An.cloneWith = function (n, t) {
  14679. return t = typeof t == "function" ? t : T, _t(n, 4, t);
  14680. }, An.conformsTo = function (n, t) {
  14681. return null == t || gt(n, t, zu(t));
  14682. }, An.deburr = Cu, An.defaultTo = function (n, t) {
  14683. return null == n || n !== n ? t : n;
  14684. }, An.divide = Xf, An.endsWith = function (n, t, r) {
  14685. n = Ou(n), t = yr(t);
  14686. var e = n.length,
  14687. e = r = r === T ? e : pt(Au(r), 0, e);
  14688. return r -= t.length, 0 <= r && n.slice(r, e) == t;
  14689. }, An.eq = au, An.escape = function (n) {
  14690. return (n = Ou(n)) && H.test(n) ? n.replace(K, nt) : n;
  14691. }, An.escapeRegExp = function (n) {
  14692. return (n = Ou(n)) && en.test(n) ? n.replace(rn, "\\$&") : n;
  14693. }, An.every = function (n, t, r) {
  14694. var e = of(n) ? u : bt;
  14695. return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));
  14696. }, An.find = $o, An.findIndex = Fe, An.findKey = function (n, t) {
  14697. return p(n, ye(t, 3), mt);
  14698. }, An.findLast = Fo, An.findLastIndex = Ne, An.findLastKey = function (n, t) {
  14699. return p(n, ye(t, 3), At);
  14700. }, An.floor = nc, An.forEach = Xe, An.forEachRight = nu, An.forIn = function (n, t) {
  14701. return null == n ? n : io(n, ye(t, 3), Wu);
  14702. }, An.forInRight = function (n, t) {
  14703. return null == n ? n : oo(n, ye(t, 3), Wu);
  14704. }, An.forOwn = function (n, t) {
  14705. return n && mt(n, ye(t, 3));
  14706. }, An.forOwnRight = function (n, t) {
  14707. return n && At(n, ye(t, 3));
  14708. }, An.get = Iu, An.gt = rf, An.gte = ef, An.has = function (n, t) {
  14709. return null != n && we(n, t, Rt);
  14710. }, An.hasIn = Ru, An.head = Ze, An.identity = Tu, An.includes = function (n, t, r, e) {
  14711. return n = lu(n) ? n : Lu(n), r = r && !e ? Au(r) : 0, e = n.length, 0 > r && (r = Li(e + r, 0)), xu(n) ? r <= e && -1 < n.indexOf(t, r) : !!e && -1 < v(n, t, r);
  14712. }, An.indexOf = function (n, t, r) {
  14713. var e = null == n ? 0 : n.length;
  14714. return e ? (r = null == r ? 0 : Au(r), 0 > r && (r = Li(e + r, 0)), v(n, t, r)) : -1;
  14715. }, An.inRange = function (n, t, r) {
  14716. return t = mu(t), r === T ? (r = t, t = 0) : r = mu(r), n = ku(n), n >= Ui(t, r) && n < Li(t, r);
  14717. }, An.invoke = Ef, An.isArguments = uf, An.isArray = of, An.isArrayBuffer = ff, An.isArrayLike = lu, An.isArrayLikeObject = su, An.isBoolean = function (n) {
  14718. return true === n || false === n || du(n) && "[object Boolean]" == Ot(n);
  14719. }, An.isBuffer = cf, An.isDate = af, An.isElement = function (n) {
  14720. return du(n) && 1 === n.nodeType && !bu(n);
  14721. }, An.isEmpty = function (n) {
  14722. if (null == n) return true;
  14723. if (lu(n) && (of(n) || typeof n == "string" || typeof n.splice == "function" || cf(n) || pf(n) || uf(n))) return !n.length;
  14724. var t = _o(n);
  14725. if ("[object Map]" == t || "[object Set]" == t) return !n.size;
  14726. if (ze(n)) return !Vt(n).length;
  14727. for (var r in n) {
  14728. if (ii.call(n, r)) return false;
  14729. }
  14730. return true;
  14731. }, An.isEqual = function (n, t) {
  14732. return Mt(n, t);
  14733. }, An.isEqualWith = function (n, t, r) {
  14734. var e = (r = typeof r == "function" ? r : T) ? r(n, t) : T;
  14735. return e === T ? Mt(n, t, T, r) : !!e;
  14736. }, An.isError = hu, An.isFinite = function (n) {
  14737. return typeof n == "number" && zi(n);
  14738. }, An.isFunction = pu, An.isInteger = _u, An.isLength = vu, An.isMap = lf, An.isMatch = function (n, t) {
  14739. return n === t || $t(n, t, xe(t));
  14740. }, An.isMatchWith = function (n, t, r) {
  14741. return r = typeof r == "function" ? r : T, $t(n, t, xe(t), r);
  14742. }, An.isNaN = function (n) {
  14743. return yu(n) && n != +n;
  14744. }, An.isNative = function (n) {
  14745. if (vo(n)) throw new Gu("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
  14746. return Ft(n);
  14747. }, An.isNil = function (n) {
  14748. return null == n;
  14749. }, An.isNull = function (n) {
  14750. return null === n;
  14751. }, An.isNumber = yu, An.isObject = gu, An.isObjectLike = du, An.isPlainObject = bu, An.isRegExp = sf, An.isSafeInteger = function (n) {
  14752. return _u(n) && -9007199254740991 <= n && 9007199254740991 >= n;
  14753. }, An.isSet = hf, An.isString = xu, An.isSymbol = ju, An.isTypedArray = pf, An.isUndefined = function (n) {
  14754. return n === T;
  14755. }, An.isWeakMap = function (n) {
  14756. return du(n) && "[object WeakMap]" == _o(n);
  14757. }, An.isWeakSet = function (n) {
  14758. return du(n) && "[object WeakSet]" == Ot(n);
  14759. }, An.join = function (n, t) {
  14760. return null == n ? "" : Wi.call(n, t);
  14761. }, An.kebabCase = Bf, An.last = qe, An.lastIndexOf = function (n, t, r) {
  14762. var e = null == n ? 0 : n.length;
  14763. if (!e) return -1;
  14764. var u = e;
  14765. if (r !== T && (u = Au(r), u = 0 > u ? Li(e + u, 0) : Ui(u, e - 1)), t === t) {
  14766. for (r = u + 1; r-- && n[r] !== t;) {
  14767. ;
  14768. }
  14769. n = r;
  14770. } else n = _(n, d, u, true);
  14771. return n;
  14772. }, An.lowerCase = Lf, An.lowerFirst = Uf, An.lt = _f, An.lte = vf, An.max = function (n) {
  14773. return n && n.length ? xt(n, Tu, It) : T;
  14774. }, An.maxBy = function (n, t) {
  14775. return n && n.length ? xt(n, ye(t, 2), It) : T;
  14776. }, An.mean = function (n) {
  14777. return y(n, Tu);
  14778. }, An.meanBy = function (n, t) {
  14779. return y(n, ye(t, 2));
  14780. }, An.min = function (n) {
  14781. return n && n.length ? xt(n, Tu, Kt) : T;
  14782. }, An.minBy = function (n, t) {
  14783. return n && n.length ? xt(n, ye(t, 2), Kt) : T;
  14784. }, An.stubArray = Zu, An.stubFalse = qu, An.stubObject = function () {
  14785. return {};
  14786. }, An.stubString = function () {
  14787. return "";
  14788. }, An.stubTrue = function () {
  14789. return true;
  14790. }, An.multiply = tc, An.nth = function (n, t) {
  14791. return n && n.length ? Qt(n, Au(t)) : T;
  14792. }, An.noConflict = function () {
  14793. return $n._ === this && ($n._ = li), this;
  14794. }, An.noop = Nu, An.now = Ko, An.pad = function (n, t, r) {
  14795. n = Ou(n);
  14796. var e = (t = Au(t)) ? D(n) : 0;
  14797. return !t || e >= t ? n : (t = (t - e) / 2, ne(Oi(t), r) + n + ne(Si(t), r));
  14798. }, An.padEnd = function (n, t, r) {
  14799. n = Ou(n);
  14800. var e = (t = Au(t)) ? D(n) : 0;
  14801. return t && e < t ? n + ne(t - e, r) : n;
  14802. }, An.padStart = function (n, t, r) {
  14803. n = Ou(n);
  14804. var e = (t = Au(t)) ? D(n) : 0;
  14805. return t && e < t ? ne(t - e, r) + n : n;
  14806. }, An.parseInt = function (n, t, r) {
  14807. return r || null == t ? t = 0 : t && (t = +t), Di(Ou(n).replace(on, ""), t || 0);
  14808. }, An.random = function (n, t, r) {
  14809. if (r && typeof r != "boolean" && Oe(n, t, r) && (t = r = T), r === T && (typeof t == "boolean" ? (r = t, t = T) : typeof n == "boolean" && (r = n, n = T)), n === T && t === T ? (n = 0, t = 1) : (n = mu(n), t === T ? (t = n, n = 0) : t = mu(t)), n > t) {
  14810. var e = n;
  14811. n = t, t = e;
  14812. }
  14813. return r || n % 1 || t % 1 ? (r = Mi(), Ui(n + r * (t - n + Cn("1e-" + ((r + "").length - 1))), t)) : ir(n, t);
  14814. }, An.reduce = function (n, t, r) {
  14815. var e = of(n) ? l : j,
  14816. u = 3 > arguments.length;
  14817. return e(n, ye(t, 4), r, u, eo);
  14818. }, An.reduceRight = function (n, t, r) {
  14819. var e = of(n) ? s : j,
  14820. u = 3 > arguments.length;
  14821. return e(n, ye(t, 4), r, u, uo);
  14822. }, An.repeat = function (n, t, r) {
  14823. return t = (r ? Oe(n, t, r) : t === T) ? 1 : Au(t), or(Ou(n), t);
  14824. }, An.replace = function () {
  14825. var n = arguments,
  14826. t = Ou(n[0]);
  14827. return 3 > n.length ? t : t.replace(n[1], n[2]);
  14828. }, An.result = function (n, t, r) {
  14829. t = Sr(t, n);
  14830. var e = -1,
  14831. u = t.length;
  14832. for (u || (u = 1, n = T); ++e < u;) {
  14833. var i = null == n ? T : n[De(t[e])];
  14834. i === T && (e = u, i = r), n = pu(i) ? i.call(n) : i;
  14835. }
  14836. return n;
  14837. }, An.round = rc, An.runInContext = x, An.sample = function (n) {
  14838. return (of(n) ? Qn : cr)(n);
  14839. }, An.size = function (n) {
  14840. if (null == n) return 0;
  14841. if (lu(n)) return xu(n) ? D(n) : n.length;
  14842. var t = _o(n);
  14843. return "[object Map]" == t || "[object Set]" == t ? n.size : Vt(n).length;
  14844. }, An.snakeCase = Cf, An.some = function (n, t, r) {
  14845. var e = of(n) ? h : pr;
  14846. return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));
  14847. }, An.sortedIndex = function (n, t) {
  14848. return _r(n, t);
  14849. }, An.sortedIndexBy = function (n, t, r) {
  14850. return vr(n, t, ye(r, 2));
  14851. }, An.sortedIndexOf = function (n, t) {
  14852. var r = null == n ? 0 : n.length;
  14853. if (r) {
  14854. var e = _r(n, t);
  14855. if (e < r && au(n[e], t)) return e;
  14856. }
  14857. return -1;
  14858. }, An.sortedLastIndex = function (n, t) {
  14859. return _r(n, t, true);
  14860. }, An.sortedLastIndexBy = function (n, t, r) {
  14861. return vr(n, t, ye(r, 2), true);
  14862. }, An.sortedLastIndexOf = function (n, t) {
  14863. if (null == n ? 0 : n.length) {
  14864. var r = _r(n, t, true) - 1;
  14865. if (au(n[r], t)) return r;
  14866. }
  14867. return -1;
  14868. }, An.startCase = Df, An.startsWith = function (n, t, r) {
  14869. return n = Ou(n), r = null == r ? 0 : pt(Au(r), 0, n.length), t = yr(t), n.slice(r, r + t.length) == t;
  14870. }, An.subtract = ec, An.sum = function (n) {
  14871. return n && n.length ? m(n, Tu) : 0;
  14872. }, An.sumBy = function (n, t) {
  14873. return n && n.length ? m(n, ye(t, 2)) : 0;
  14874. }, An.template = function (n, t, r) {
  14875. var e = An.templateSettings;
  14876. r && Oe(n, t, r) && (t = T), n = Ou(n), t = yf({}, t, e, ce), r = yf({}, t.imports, e.imports, ce);
  14877. var u,
  14878. i,
  14879. o = zu(r),
  14880. f = S(r, o),
  14881. c = 0;
  14882. r = t.interpolate || jn;
  14883. var a = "__p+='";
  14884. r = Qu((t.escape || jn).source + "|" + r.source + "|" + (r === Q ? pn : jn).source + "|" + (t.evaluate || jn).source + "|$", "g");
  14885. var l = "sourceURL" in t ? "//# sourceURL=" + t.sourceURL + "\n" : "";
  14886. if (n.replace(r, function (t, r, e, o, f, l) {
  14887. return e || (e = o), a += n.slice(c, l).replace(wn, z), r && (u = true, a += "'+__e(" + r + ")+'"), f && (i = true, a += "';" + f + ";\n__p+='"), e && (a += "'+((__t=(" + e + "))==null?'':__t)+'"), c = l + t.length, t;
  14888. }), a += "';", (t = t.variable) || (a = "with(obj){" + a + "}"), a = (i ? a.replace(P, "") : a).replace(Z, "$1").replace(q, "$1;"), a = "function(" + (t || "obj") + "){" + (t ? "" : "obj||(obj={});") + "var __t,__p=''" + (u ? ",__e=_.escape" : "") + (i ? ",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}" : ";") + a + "return __p}", t = $f(function () {
  14889. return Hu(o, l + "return " + a).apply(T, f);
  14890. }), t.source = a, hu(t)) throw t;
  14891. return t;
  14892. }, An.times = function (n, t) {
  14893. if (n = Au(n), 1 > n || 9007199254740991 < n) return [];
  14894. var r = 4294967295,
  14895. e = Ui(n, 4294967295);
  14896. for (t = ye(t), n -= 4294967295, e = A(e, t); ++r < n;) {
  14897. t(r);
  14898. }
  14899. return e;
  14900. }, An.toFinite = mu, An.toInteger = Au, An.toLength = Eu, An.toLower = function (n) {
  14901. return Ou(n).toLowerCase();
  14902. }, An.toNumber = ku, An.toSafeInteger = function (n) {
  14903. return n ? pt(Au(n), -9007199254740991, 9007199254740991) : 0 === n ? n : 0;
  14904. }, An.toString = Ou, An.toUpper = function (n) {
  14905. return Ou(n).toUpperCase();
  14906. }, An.trim = function (n, t, r) {
  14907. return (n = Ou(n)) && (r || t === T) ? n.replace(un, "") : n && (t = yr(t)) ? (n = M(n), r = M(t), t = I(n, r), r = R(n, r) + 1, Or(n, t, r).join("")) : n;
  14908. }, An.trimEnd = function (n, t, r) {
  14909. return (n = Ou(n)) && (r || t === T) ? n.replace(fn, "") : n && (t = yr(t)) ? (n = M(n), t = R(n, M(t)) + 1, Or(n, 0, t).join("")) : n;
  14910. }, An.trimStart = function (n, t, r) {
  14911. return (n = Ou(n)) && (r || t === T) ? n.replace(on, "") : n && (t = yr(t)) ? (n = M(n), t = I(n, M(t)), Or(n, t).join("")) : n;
  14912. }, An.truncate = function (n, t) {
  14913. var r = 30,
  14914. e = "...";
  14915. if (gu(t)) var u = "separator" in t ? t.separator : u,
  14916. r = "length" in t ? Au(t.length) : r,
  14917. e = "omission" in t ? yr(t.omission) : e;
  14918. n = Ou(n);
  14919. var i = n.length;
  14920. if (Rn.test(n)) var o = M(n),
  14921. i = o.length;
  14922. if (r >= i) return n;
  14923. if (i = r - D(e), 1 > i) return e;
  14924. if (r = o ? Or(o, 0, i).join("") : n.slice(0, i), u === T) return r + e;
  14925. if (o && (i += r.length - i), sf(u)) {
  14926. if (n.slice(i).search(u)) {
  14927. var f = r;
  14928. for (u.global || (u = Qu(u.source, Ou(_n.exec(u)) + "g")), u.lastIndex = 0; o = u.exec(f);) {
  14929. var c = o.index;
  14930. }
  14931. r = r.slice(0, c === T ? i : c);
  14932. }
  14933. } else n.indexOf(yr(u), i) != i && (u = r.lastIndexOf(u), -1 < u && (r = r.slice(0, u)));
  14934. return r + e;
  14935. }, An.unescape = function (n) {
  14936. return (n = Ou(n)) && G.test(n) ? n.replace(V, tt) : n;
  14937. }, An.uniqueId = function (n) {
  14938. var t = ++oi;
  14939. return Ou(n) + t;
  14940. }, An.upperCase = Mf, An.upperFirst = Tf, An.each = Xe, An.eachRight = nu, An.first = Ze, Fu(An, function () {
  14941. var n = {};
  14942. return mt(An, function (t, r) {
  14943. ii.call(An.prototype, r) || (n[r] = t);
  14944. }), n;
  14945. }(), {
  14946. chain: false
  14947. }), An.VERSION = "4.17.10", r("bind bindKey curry curryRight partial partialRight".split(" "), function (n) {
  14948. An[n].placeholder = An;
  14949. }), r(["drop", "take"], function (n, t) {
  14950. Un.prototype[n] = function (r) {
  14951. r = r === T ? 1 : Li(Au(r), 0);
  14952. var e = this.__filtered__ && !t ? new Un(this) : this.clone();
  14953. return e.__filtered__ ? e.__takeCount__ = Ui(r, e.__takeCount__) : e.__views__.push({
  14954. size: Ui(r, 4294967295),
  14955. type: n + (0 > e.__dir__ ? "Right" : "")
  14956. }), e;
  14957. }, Un.prototype[n + "Right"] = function (t) {
  14958. return this.reverse()[n](t).reverse();
  14959. };
  14960. }), r(["filter", "map", "takeWhile"], function (n, t) {
  14961. var r = t + 1,
  14962. e = 1 == r || 3 == r;
  14963. Un.prototype[n] = function (n) {
  14964. var t = this.clone();
  14965. return t.__iteratees__.push({
  14966. iteratee: ye(n, 3),
  14967. type: r
  14968. }), t.__filtered__ = t.__filtered__ || e, t;
  14969. };
  14970. }), r(["head", "last"], function (n, t) {
  14971. var r = "take" + (t ? "Right" : "");
  14972. Un.prototype[n] = function () {
  14973. return this[r](1).value()[0];
  14974. };
  14975. }), r(["initial", "tail"], function (n, t) {
  14976. var r = "drop" + (t ? "" : "Right");
  14977. Un.prototype[n] = function () {
  14978. return this.__filtered__ ? new Un(this) : this[r](1);
  14979. };
  14980. }), Un.prototype.compact = function () {
  14981. return this.filter(Tu);
  14982. }, Un.prototype.find = function (n) {
  14983. return this.filter(n).head();
  14984. }, Un.prototype.findLast = function (n) {
  14985. return this.reverse().find(n);
  14986. }, Un.prototype.invokeMap = fr(function (n, t) {
  14987. return typeof n == "function" ? new Un(this) : this.map(function (r) {
  14988. return Lt(r, n, t);
  14989. });
  14990. }), Un.prototype.reject = function (n) {
  14991. return this.filter(cu(ye(n)));
  14992. }, Un.prototype.slice = function (n, t) {
  14993. n = Au(n);
  14994. var r = this;
  14995. return r.__filtered__ && (0 < n || 0 > t) ? new Un(r) : (0 > n ? r = r.takeRight(-n) : n && (r = r.drop(n)), t !== T && (t = Au(t), r = 0 > t ? r.dropRight(-t) : r.take(t - n)), r);
  14996. }, Un.prototype.takeRightWhile = function (n) {
  14997. return this.reverse().takeWhile(n).reverse();
  14998. }, Un.prototype.toArray = function () {
  14999. return this.take(4294967295);
  15000. }, mt(Un.prototype, function (n, t) {
  15001. var r = /^(?:filter|find|map|reject)|While$/.test(t),
  15002. e = /^(?:head|last)$/.test(t),
  15003. u = An[e ? "take" + ("last" == t ? "Right" : "") : t],
  15004. i = e || /^find/.test(t);
  15005. u && (An.prototype[t] = function () {
  15006. function t(n) {
  15007. return n = u.apply(An, a([n], f)), e && h ? n[0] : n;
  15008. }
  15009. var o = this.__wrapped__,
  15010. f = e ? [1] : arguments,
  15011. c = o instanceof Un,
  15012. l = f[0],
  15013. s = c || of(o);
  15014. s && r && typeof l == "function" && 1 != l.length && (c = s = false);
  15015. var h = this.__chain__,
  15016. p = !!this.__actions__.length,
  15017. l = i && !h,
  15018. c = c && !p;
  15019. return !i && s ? (o = c ? o : new Un(this), o = n.apply(o, f), o.__actions__.push({
  15020. func: Ye,
  15021. args: [t],
  15022. thisArg: T
  15023. }), new On(o, h)) : l && c ? n.apply(this, f) : (o = this.thru(t), l ? e ? o.value()[0] : o.value() : o);
  15024. });
  15025. }), r("pop push shift sort splice unshift".split(" "), function (n) {
  15026. var t = ti[n],
  15027. r = /^(?:push|sort|unshift)$/.test(n) ? "tap" : "thru",
  15028. e = /^(?:pop|shift)$/.test(n);
  15029. An.prototype[n] = function () {
  15030. var n = arguments;
  15031. if (e && !this.__chain__) {
  15032. var u = this.value();
  15033. return t.apply(of(u) ? u : [], n);
  15034. }
  15035. return this[r](function (r) {
  15036. return t.apply(of(r) ? r : [], n);
  15037. });
  15038. };
  15039. }), mt(Un.prototype, function (n, t) {
  15040. var r = An[t];
  15041. if (r) {
  15042. var e = r.name + "";
  15043. (Ki[e] || (Ki[e] = [])).push({
  15044. name: t,
  15045. func: r
  15046. });
  15047. }
  15048. }), Ki[Jr(T, 2).name] = [{
  15049. name: "wrapper",
  15050. func: T
  15051. }], Un.prototype.clone = function () {
  15052. var n = new Un(this.__wrapped__);
  15053. return n.__actions__ = Ur(this.__actions__), n.__dir__ = this.__dir__, n.__filtered__ = this.__filtered__, n.__iteratees__ = Ur(this.__iteratees__), n.__takeCount__ = this.__takeCount__, n.__views__ = Ur(this.__views__), n;
  15054. }, Un.prototype.reverse = function () {
  15055. if (this.__filtered__) {
  15056. var n = new Un(this);
  15057. n.__dir__ = -1, n.__filtered__ = true;
  15058. } else n = this.clone(), n.__dir__ *= -1;
  15059. return n;
  15060. }, Un.prototype.value = function () {
  15061. var n,
  15062. t = this.__wrapped__.value(),
  15063. r = this.__dir__,
  15064. e = of(t),
  15065. u = 0 > r,
  15066. i = e ? t.length : 0;
  15067. n = i;
  15068. for (var o = this.__views__, f = 0, c = -1, a = o.length; ++c < a;) {
  15069. var l = o[c],
  15070. s = l.size;
  15071. switch (l.type) {
  15072. case "drop":
  15073. f += s;
  15074. break;
  15075. case "dropRight":
  15076. n -= s;
  15077. break;
  15078. case "take":
  15079. n = Ui(n, f + s);
  15080. break;
  15081. case "takeRight":
  15082. f = Li(f, n - s);
  15083. }
  15084. }
  15085. if (n = {
  15086. start: f,
  15087. end: n
  15088. }, o = n.start, f = n.end, n = f - o, o = u ? f : o - 1, f = this.__iteratees__, c = f.length, a = 0, l = Ui(n, this.__takeCount__), !e || !u && i == n && l == n) return wr(t, this.__actions__);
  15089. e = [];
  15090. n: for (; n-- && a < l;) {
  15091. for (o += r, u = -1, i = t[o]; ++u < c;) {
  15092. var h = f[u],
  15093. s = h.type,
  15094. h = (0, h.iteratee)(i);
  15095. if (2 == s) i = h;else if (!h) {
  15096. if (1 == s) continue n;
  15097. break n;
  15098. }
  15099. }
  15100. e[a++] = i;
  15101. }
  15102. return e;
  15103. }, An.prototype.at = Mo, An.prototype.chain = function () {
  15104. return Je(this);
  15105. }, An.prototype.commit = function () {
  15106. return new On(this.value(), this.__chain__);
  15107. }, An.prototype.next = function () {
  15108. this.__values__ === T && (this.__values__ = wu(this.value()));
  15109. var n = this.__index__ >= this.__values__.length;
  15110. return {
  15111. done: n,
  15112. value: n ? T : this.__values__[this.__index__++]
  15113. };
  15114. }, An.prototype.plant = function (n) {
  15115. for (var t, r = this; r instanceof En;) {
  15116. var e = $e(r);
  15117. e.__index__ = 0, e.__values__ = T, t ? u.__wrapped__ = e : t = e;
  15118. var u = e,
  15119. r = r.__wrapped__;
  15120. }
  15121. return u.__wrapped__ = n, t;
  15122. }, An.prototype.reverse = function () {
  15123. var n = this.__wrapped__;
  15124. return n instanceof Un ? (this.__actions__.length && (n = new Un(this)), n = n.reverse(), n.__actions__.push({
  15125. func: Ye,
  15126. args: [Ke],
  15127. thisArg: T
  15128. }), new On(n, this.__chain__)) : this.thru(Ke);
  15129. }, An.prototype.toJSON = An.prototype.valueOf = An.prototype.value = function () {
  15130. return wr(this.__wrapped__, this.__actions__);
  15131. }, An.prototype.first = An.prototype.head, ji && (An.prototype[ji] = Qe), An;
  15132. }();
  15133. true && _typeof(__webpack_require__(/*! !webpack amd options */ 41)) == "object" && __webpack_require__(/*! !webpack amd options */ 41) ? ($n._ = rt, !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
  15134. return rt;
  15135. }).call(exports, __webpack_require__, exports, module),
  15136. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))) : Nn ? ((Nn.exports = rt)._ = rt, Fn._ = rt) : $n._ = rt;
  15137. }).call(this);
  15138. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! (webpack)/buildin/global.js */ 3), __webpack_require__(/*! (webpack)/buildin/module.js */ 40)(module)))
  15139. /***/ }),
  15140. /***/ 390:
  15141. /*!*****************************************************************************!*\
  15142. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/config.js ***!
  15143. \*****************************************************************************/
  15144. /*! no static exports found */
  15145. /***/ (function(module, exports, __webpack_require__) {
  15146. /* WEBPACK VAR INJECTION */(function(wx) {/* 配置文件 */
  15147. var cfg = {
  15148. // 出错占位图
  15149. errorImg: null,
  15150. // 过滤器函数
  15151. filter: null,
  15152. // 代码高亮函数
  15153. highlight: null,
  15154. // 文本处理函数
  15155. onText: null,
  15156. // 实体编码列表
  15157. entities: {
  15158. quot: '"',
  15159. apos: "'",
  15160. semi: ';',
  15161. nbsp: '\xA0',
  15162. ensp: "\u2002",
  15163. emsp: "\u2003",
  15164. ndash: '–',
  15165. mdash: '—',
  15166. middot: '·',
  15167. lsquo: '‘',
  15168. rsquo: '’',
  15169. ldquo: '“',
  15170. rdquo: '”',
  15171. bull: '•',
  15172. hellip: '…'
  15173. },
  15174. blankChar: makeMap(' ,\xA0,\t,\r,\n,\f'),
  15175. boolAttrs: makeMap('allowfullscreen,autoplay,autostart,controls,ignore,loop,muted'),
  15176. // 块级标签,将被转为 div
  15177. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  15178. // 将被移除的标签
  15179. ignoreTags: makeMap('area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr'),
  15180. // 只能被 rich-text 显示的标签
  15181. richOnlyTags: makeMap('a,colgroup,fieldset,legend'),
  15182. // 自闭合的标签
  15183. selfClosingTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  15184. // 信任的标签
  15185. trustTags: makeMap('a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'),
  15186. // 默认的标签样式
  15187. userAgentStyles: {
  15188. address: 'font-style:italic',
  15189. big: 'display:inline;font-size:1.2em',
  15190. blockquote: 'background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px',
  15191. caption: 'display:table-caption;text-align:center',
  15192. center: 'text-align:center',
  15193. cite: 'font-style:italic',
  15194. dd: 'margin-left:40px',
  15195. mark: 'background-color:yellow',
  15196. pre: 'font-family:monospace;white-space:pre;overflow:scroll',
  15197. s: 'text-decoration:line-through',
  15198. small: 'display:inline;font-size:0.8em',
  15199. u: 'text-decoration:underline'
  15200. }
  15201. };
  15202. function makeMap(str) {
  15203. var map = Object.create(null),
  15204. list = str.split(',');
  15205. for (var i = list.length; i--;) {
  15206. map[list[i]] = true;
  15207. }
  15208. return map;
  15209. }
  15210. if (wx.canIUse('editor')) {
  15211. cfg.blockTags.pre = void 0;
  15212. cfg.ignoreTags.rp = true;
  15213. Object.assign(cfg.richOnlyTags, makeMap('bdi,bdo,caption,rt,ruby'));
  15214. Object.assign(cfg.trustTags, makeMap('bdi,bdo,caption,pre,rt,ruby'));
  15215. }
  15216. module.exports = cfg;
  15217. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  15218. /***/ }),
  15219. /***/ 391:
  15220. /*!*********************************************************************************!*\
  15221. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/components/u-parse/libs/CssHandler.js ***!
  15222. \*********************************************************************************/
  15223. /*! no static exports found */
  15224. /***/ (function(module, exports, __webpack_require__) {
  15225. var cfg = __webpack_require__(/*! ./config.js */ 390),
  15226. isLetter = function isLetter(c) {
  15227. return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
  15228. };
  15229. function CssHandler(tagStyle) {
  15230. var styles = Object.assign(Object.create(null), cfg.userAgentStyles);
  15231. for (var item in tagStyle) {
  15232. styles[item] = (styles[item] ? styles[item] + ';' : '') + tagStyle[item];
  15233. }
  15234. this.styles = styles;
  15235. }
  15236. CssHandler.prototype.getStyle = function (data) {
  15237. this.styles = new parser(data, this.styles).parse();
  15238. };
  15239. CssHandler.prototype.match = function (name, attrs) {
  15240. var tmp,
  15241. matched = (tmp = this.styles[name]) ? tmp + ';' : '';
  15242. if (attrs.class) {
  15243. var items = attrs.class.split(' ');
  15244. for (var i = 0, item; item = items[i]; i++) {
  15245. if (tmp = this.styles['.' + item]) matched += tmp + ';';
  15246. }
  15247. }
  15248. if (tmp = this.styles['#' + attrs.id]) matched += tmp + ';';
  15249. return matched;
  15250. };
  15251. module.exports = CssHandler;
  15252. function parser(data, init) {
  15253. this.data = data;
  15254. this.floor = 0;
  15255. this.i = 0;
  15256. this.list = [];
  15257. this.res = init;
  15258. this.state = this.Space;
  15259. }
  15260. parser.prototype.parse = function () {
  15261. for (var c; c = this.data[this.i]; this.i++) {
  15262. this.state(c);
  15263. }
  15264. return this.res;
  15265. };
  15266. parser.prototype.section = function () {
  15267. return this.data.substring(this.start, this.i);
  15268. };
  15269. // 状态机
  15270. parser.prototype.Space = function (c) {
  15271. if (c == '.' || c == '#' || isLetter(c)) {
  15272. this.start = this.i;
  15273. this.state = this.Name;
  15274. } else if (c == '/' && this.data[this.i + 1] == '*') this.Comment();else if (!cfg.blankChar[c] && c != ';') this.state = this.Ignore;
  15275. };
  15276. parser.prototype.Comment = function () {
  15277. this.i = this.data.indexOf('*/', this.i) + 1;
  15278. if (!this.i) this.i = this.data.length;
  15279. this.state = this.Space;
  15280. };
  15281. parser.prototype.Ignore = function (c) {
  15282. if (c == '{') this.floor++;else if (c == '}' && ! --this.floor) {
  15283. this.list = [];
  15284. this.state = this.Space;
  15285. }
  15286. };
  15287. parser.prototype.Name = function (c) {
  15288. if (cfg.blankChar[c]) {
  15289. this.list.push(this.section());
  15290. this.state = this.NameSpace;
  15291. } else if (c == '{') {
  15292. this.list.push(this.section());
  15293. this.Content();
  15294. } else if (c == ',') {
  15295. this.list.push(this.section());
  15296. this.Comma();
  15297. } else if (!isLetter(c) && (c < '0' || c > '9') && c != '-' && c != '_') this.state = this.Ignore;
  15298. };
  15299. parser.prototype.NameSpace = function (c) {
  15300. if (c == '{') this.Content();else if (c == ',') this.Comma();else if (!cfg.blankChar[c]) this.state = this.Ignore;
  15301. };
  15302. parser.prototype.Comma = function () {
  15303. while (cfg.blankChar[this.data[++this.i]]) {
  15304. ;
  15305. }
  15306. if (this.data[this.i] == '{') this.Content();else {
  15307. this.start = this.i--;
  15308. this.state = this.Name;
  15309. }
  15310. };
  15311. parser.prototype.Content = function () {
  15312. this.start = ++this.i;
  15313. if ((this.i = this.data.indexOf('}', this.i)) == -1) this.i = this.data.length;
  15314. var content = this.section();
  15315. for (var i = 0, item; item = this.list[i++];) {
  15316. if (this.res[item]) this.res[item] += ';' + content;else this.res[item] = content;
  15317. }
  15318. this.list = [];
  15319. this.state = this.Space;
  15320. };
  15321. /***/ }),
  15322. /***/ 399:
  15323. /*!***************************************************************!*\
  15324. !*** E:/Desktop/zd_wechatApp(1)/components/mp-html/parser.js ***!
  15325. \***************************************************************/
  15326. /*! no static exports found */
  15327. /***/ (function(module, exports, __webpack_require__) {
  15328. "use strict";
  15329. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  15330. Object.defineProperty(exports, "__esModule", {
  15331. value: true
  15332. });
  15333. exports.default = void 0;
  15334. /**
  15335. * @fileoverview html 解析器
  15336. */
  15337. // 配置
  15338. var config = {
  15339. // 信任的标签(保持标签名不变)
  15340. trustTags: makeMap('a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'),
  15341. // 块级标签(转为 div,其他的非信任标签转为 span)
  15342. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  15343. // 要移除的标签
  15344. ignoreTags: makeMap('area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr'),
  15345. // 自闭合的标签
  15346. voidTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  15347. // html 实体
  15348. entities: {
  15349. lt: '<',
  15350. gt: '>',
  15351. quot: '"',
  15352. apos: "'",
  15353. ensp: "\u2002",
  15354. emsp: "\u2003",
  15355. nbsp: '\xA0',
  15356. semi: ';',
  15357. ndash: '–',
  15358. mdash: '—',
  15359. middot: '·',
  15360. lsquo: '‘',
  15361. rsquo: '’',
  15362. ldquo: '“',
  15363. rdquo: '”',
  15364. bull: '•',
  15365. hellip: '…',
  15366. larr: '←',
  15367. uarr: '↑',
  15368. rarr: '→',
  15369. darr: '↓'
  15370. },
  15371. // 默认的标签样式
  15372. tagStyle: {
  15373. address: 'font-style:italic',
  15374. big: 'display:inline;font-size:1.2em',
  15375. caption: 'display:table-caption;text-align:center',
  15376. center: 'text-align:center',
  15377. cite: 'font-style:italic',
  15378. dd: 'margin-left:40px',
  15379. mark: 'background-color:yellow',
  15380. pre: 'font-family:monospace;white-space:pre',
  15381. s: 'text-decoration:line-through',
  15382. small: 'display:inline;font-size:0.8em',
  15383. strike: 'text-decoration:line-through',
  15384. u: 'text-decoration:underline'
  15385. },
  15386. // svg 大小写对照表
  15387. svgDict: {
  15388. animatetransform: 'animateTransform',
  15389. lineargradient: 'linearGradient',
  15390. viewbox: 'viewBox',
  15391. attributename: 'attributeName',
  15392. repeatcount: 'repeatCount',
  15393. repeatdur: 'repeatDur'
  15394. }
  15395. };
  15396. var tagSelector = {};
  15397. var _uni$getSystemInfoSyn = uni.getSystemInfoSync(),
  15398. windowWidth = _uni$getSystemInfoSyn.windowWidth,
  15399. system = _uni$getSystemInfoSyn.system;
  15400. var blankChar = makeMap(' ,\r,\n,\t,\f');
  15401. var idIndex = 0;
  15402. /**
  15403. * @description 创建 map
  15404. * @param {String} str 逗号分隔
  15405. */
  15406. function makeMap(str) {
  15407. var map = Object.create(null);
  15408. var list = str.split(',');
  15409. for (var i = list.length; i--;) {
  15410. map[list[i]] = true;
  15411. }
  15412. return map;
  15413. }
  15414. /**
  15415. * @description 解码 html 实体
  15416. * @param {String} str 要解码的字符串
  15417. * @param {Boolean} amp 要不要解码 &amp;
  15418. * @returns {String} 解码后的字符串
  15419. */
  15420. function decodeEntity(str, amp) {
  15421. var i = str.indexOf('&');
  15422. while (i !== -1) {
  15423. var j = str.indexOf(';', i + 3);
  15424. var code = void 0;
  15425. if (j === -1) break;
  15426. if (str[i + 1] === '#') {
  15427. // &#123; 形式的实体
  15428. code = parseInt((str[i + 2] === 'x' ? '0' : '') + str.substring(i + 2, j));
  15429. if (!isNaN(code)) {
  15430. str = str.substr(0, i) + String.fromCharCode(code) + str.substr(j + 1);
  15431. }
  15432. } else {
  15433. // &nbsp; 形式的实体
  15434. code = str.substring(i + 1, j);
  15435. if (config.entities[code] || code === 'amp' && amp) {
  15436. str = str.substr(0, i) + (config.entities[code] || '&') + str.substr(j + 1);
  15437. }
  15438. }
  15439. i = str.indexOf('&', i + 1);
  15440. }
  15441. return str;
  15442. }
  15443. /**
  15444. * @description 合并多个块级标签,加快长内容渲染
  15445. * @param {Array} nodes 要合并的标签数组
  15446. */
  15447. function mergeNodes(nodes) {
  15448. var i = nodes.length - 1;
  15449. for (var j = i; j >= -1; j--) {
  15450. if (j === -1 || nodes[j].c || !nodes[j].name || nodes[j].name !== 'div' && nodes[j].name !== 'p' && nodes[j].name[0] !== 'h' || (nodes[j].attrs.style || '').includes('inline')) {
  15451. if (i - j >= 5) {
  15452. nodes.splice(j + 1, i - j, {
  15453. name: 'div',
  15454. attrs: {},
  15455. children: nodes.slice(j + 1, i + 1)
  15456. });
  15457. }
  15458. i = j - 1;
  15459. }
  15460. }
  15461. }
  15462. /**
  15463. * @description html 解析器
  15464. * @param {Object} vm 组件实例
  15465. */
  15466. function Parser(vm) {
  15467. this.options = vm || {};
  15468. this.tagStyle = Object.assign({}, config.tagStyle, this.options.tagStyle);
  15469. this.imgList = vm.imgList || [];
  15470. this.imgList._unloadimgs = 0;
  15471. this.plugins = vm.plugins || [];
  15472. this.attrs = Object.create(null);
  15473. this.stack = [];
  15474. this.nodes = [];
  15475. this.pre = (this.options.containerStyle || '').includes('white-space') && this.options.containerStyle.includes('pre') ? 2 : 0;
  15476. }
  15477. /**
  15478. * @description 执行解析
  15479. * @param {String} content 要解析的文本
  15480. */
  15481. Parser.prototype.parse = function (content) {
  15482. // 插件处理
  15483. for (var i = this.plugins.length; i--;) {
  15484. if (this.plugins[i].onUpdate) {
  15485. content = this.plugins[i].onUpdate(content, config) || content;
  15486. }
  15487. }
  15488. new Lexer(this).parse(content);
  15489. // 出栈未闭合的标签
  15490. while (this.stack.length) {
  15491. this.popNode();
  15492. }
  15493. if (this.nodes.length > 50) {
  15494. mergeNodes(this.nodes);
  15495. }
  15496. return this.nodes;
  15497. };
  15498. /**
  15499. * @description 将标签暴露出来(不被 rich-text 包含)
  15500. */
  15501. Parser.prototype.expose = function () {
  15502. for (var i = this.stack.length; i--;) {
  15503. var item = this.stack[i];
  15504. if (item.c || item.name === 'a' || item.name === 'video' || item.name === 'audio') return;
  15505. item.c = 1;
  15506. }
  15507. };
  15508. /**
  15509. * @description 处理插件
  15510. * @param {Object} node 要处理的标签
  15511. * @returns {Boolean} 是否要移除此标签
  15512. */
  15513. Parser.prototype.hook = function (node) {
  15514. for (var i = this.plugins.length; i--;) {
  15515. if (this.plugins[i].onParse && this.plugins[i].onParse(node, this) === false) {
  15516. return false;
  15517. }
  15518. }
  15519. return true;
  15520. };
  15521. /**
  15522. * @description 将链接拼接上主域名
  15523. * @param {String} url 需要拼接的链接
  15524. * @returns {String} 拼接后的链接
  15525. */
  15526. Parser.prototype.getUrl = function (url) {
  15527. var domain = this.options.domain;
  15528. if (url[0] === '/') {
  15529. if (url[1] === '/') {
  15530. // // 开头的补充协议名
  15531. url = (domain ? domain.split('://')[0] : 'http') + ':' + url;
  15532. } else if (domain) {
  15533. // 否则补充整个域名
  15534. url = domain + url;
  15535. }
  15536. } else if (!url.includes('data:') && !url.includes('://')) {
  15537. if (domain) {
  15538. url = domain + '/' + url;
  15539. }
  15540. }
  15541. return url;
  15542. };
  15543. /**
  15544. * @description 解析样式表
  15545. * @param {Object} node 标签
  15546. * @returns {Object}
  15547. */
  15548. Parser.prototype.parseStyle = function (node) {
  15549. var attrs = node.attrs;
  15550. var list = (this.tagStyle[node.name] || '').split(';').concat((attrs.style || '').split(';'));
  15551. var styleObj = {};
  15552. var tmp = '';
  15553. if (attrs.id && !this.xml) {
  15554. // 暴露锚点
  15555. if (this.options.useAnchor) {
  15556. this.expose();
  15557. } else if (node.name !== 'img' && node.name !== 'a' && node.name !== 'video' && node.name !== 'audio') {
  15558. attrs.id = undefined;
  15559. }
  15560. }
  15561. // 转换 width 和 height 属性
  15562. if (attrs.width) {
  15563. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  15564. attrs.width = undefined;
  15565. }
  15566. if (attrs.height) {
  15567. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  15568. attrs.height = undefined;
  15569. }
  15570. for (var i = 0, len = list.length; i < len; i++) {
  15571. var info = list[i].split(':');
  15572. if (info.length < 2) continue;
  15573. var key = info.shift().trim().toLowerCase();
  15574. var value = info.join(':').trim();
  15575. if (value[0] === '-' && value.lastIndexOf('-') > 0 || value.includes('safe')) {
  15576. // 兼容性的 css 不压缩
  15577. tmp += ";".concat(key, ":").concat(value);
  15578. } else if (!styleObj[key] || value.includes('import') || !styleObj[key].includes('import')) {
  15579. // 重复的样式进行覆盖
  15580. if (value.includes('url')) {
  15581. // 填充链接
  15582. var j = value.indexOf('(') + 1;
  15583. if (j) {
  15584. while (value[j] === '"' || value[j] === "'" || blankChar[value[j]]) {
  15585. j++;
  15586. }
  15587. value = value.substr(0, j) + this.getUrl(value.substr(j));
  15588. }
  15589. } else if (value.includes('rpx')) {
  15590. // 转换 rpx(rich-text 内部不支持 rpx)
  15591. value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  15592. return parseFloat($) * windowWidth / 750 + 'px';
  15593. });
  15594. }
  15595. styleObj[key] = value;
  15596. }
  15597. }
  15598. node.attrs.style = tmp;
  15599. return styleObj;
  15600. };
  15601. /**
  15602. * @description 解析到标签名
  15603. * @param {String} name 标签名
  15604. * @private
  15605. */
  15606. Parser.prototype.onTagName = function (name) {
  15607. this.tagName = this.xml ? name : name.toLowerCase();
  15608. if (this.tagName === 'svg') {
  15609. this.xml = (this.xml || 0) + 1; // svg 标签内大小写敏感
  15610. config.ignoreTags.style = undefined; // svg 标签内 style 可用
  15611. }
  15612. };
  15613. /**
  15614. * @description 解析到属性名
  15615. * @param {String} name 属性名
  15616. * @private
  15617. */
  15618. Parser.prototype.onAttrName = function (name) {
  15619. name = this.xml ? name : name.toLowerCase();
  15620. if (name.substr(0, 5) === 'data-') {
  15621. if (name === 'data-src' && !this.attrs.src) {
  15622. // data-src 自动转为 src
  15623. this.attrName = 'src';
  15624. } else if (this.tagName === 'img' || this.tagName === 'a') {
  15625. // a 和 img 标签保留 data- 的属性,可以在 imgtap 和 linktap 事件中使用
  15626. this.attrName = name;
  15627. } else {
  15628. // 剩余的移除以减小大小
  15629. this.attrName = undefined;
  15630. }
  15631. } else {
  15632. this.attrName = name;
  15633. this.attrs[name] = 'T'; // boolean 型属性缺省设置
  15634. }
  15635. };
  15636. /**
  15637. * @description 解析到属性值
  15638. * @param {String} val 属性值
  15639. * @private
  15640. */
  15641. Parser.prototype.onAttrVal = function (val) {
  15642. var name = this.attrName || '';
  15643. if (name === 'style' || name === 'href') {
  15644. // 部分属性进行实体解码
  15645. this.attrs[name] = decodeEntity(val, true);
  15646. } else if (name.includes('src')) {
  15647. // 拼接主域名
  15648. this.attrs[name] = this.getUrl(decodeEntity(val, true));
  15649. } else if (name) {
  15650. this.attrs[name] = val;
  15651. }
  15652. };
  15653. /**
  15654. * @description 解析到标签开始
  15655. * @param {Boolean} selfClose 是否有自闭合标识 />
  15656. * @private
  15657. */
  15658. Parser.prototype.onOpenTag = function (selfClose) {
  15659. // 拼装 node
  15660. var node = Object.create(null);
  15661. node.name = this.tagName;
  15662. node.attrs = this.attrs;
  15663. // 避免因为自动 diff 使得 type 被设置为 null 导致部分内容不显示
  15664. if (this.options.nodes.length) {
  15665. node.type = 'node';
  15666. }
  15667. this.attrs = Object.create(null);
  15668. var attrs = node.attrs;
  15669. var parent = this.stack[this.stack.length - 1];
  15670. var siblings = parent ? parent.children : this.nodes;
  15671. var close = this.xml ? selfClose : config.voidTags[node.name];
  15672. // 替换标签名选择器
  15673. if (tagSelector[node.name]) {
  15674. attrs.class = tagSelector[node.name] + (attrs.class ? ' ' + attrs.class : '');
  15675. }
  15676. // 转换 embed 标签
  15677. if (node.name === 'embed') {
  15678. var src = attrs.src || '';
  15679. // 按照后缀名和 type 将 embed 转为 video 或 audio
  15680. if (src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8') || (attrs.type || '').includes('video')) {
  15681. node.name = 'video';
  15682. } else if (src.includes('.mp3') || src.includes('.wav') || src.includes('.aac') || src.includes('.m4a') || (attrs.type || '').includes('audio')) {
  15683. node.name = 'audio';
  15684. }
  15685. if (attrs.autostart) {
  15686. attrs.autoplay = 'T';
  15687. }
  15688. attrs.controls = 'T';
  15689. }
  15690. // 处理音视频
  15691. if (node.name === 'video' || node.name === 'audio') {
  15692. // 设置 id 以便获取 context
  15693. if (node.name === 'video' && !attrs.id) {
  15694. attrs.id = 'v' + idIndex++;
  15695. }
  15696. // 没有设置 controls 也没有设置 autoplay 的自动设置 controls
  15697. if (!attrs.controls && !attrs.autoplay) {
  15698. attrs.controls = 'T';
  15699. }
  15700. // 用数组存储所有可用的 source
  15701. node.src = [];
  15702. if (attrs.src) {
  15703. node.src.push(attrs.src);
  15704. attrs.src = undefined;
  15705. }
  15706. this.expose();
  15707. }
  15708. // 处理自闭合标签
  15709. if (close) {
  15710. if (!this.hook(node) || config.ignoreTags[node.name]) {
  15711. // 通过 base 标签设置主域名
  15712. if (node.name === 'base' && !this.options.domain) {
  15713. this.options.domain = attrs.href;
  15714. } else if (node.name === 'source' && parent && (parent.name === 'video' || parent.name === 'audio') && attrs.src) {
  15715. // 设置 source 标签(仅父节点为 video 或 audio 时有效)
  15716. parent.src.push(attrs.src);
  15717. }
  15718. return;
  15719. }
  15720. // 解析 style
  15721. var styleObj = this.parseStyle(node);
  15722. // 处理图片
  15723. if (node.name === 'img') {
  15724. if (attrs.src) {
  15725. // 标记 webp
  15726. if (attrs.src.includes('webp')) {
  15727. node.webp = 'T';
  15728. }
  15729. // data url 图片如果没有设置 original-src 默认为不可预览的小图片
  15730. if (attrs.src.includes('data:') && !attrs['original-src']) {
  15731. attrs.ignore = 'T';
  15732. }
  15733. if (!attrs.ignore || node.webp || attrs.src.includes('cloud://')) {
  15734. for (var i = this.stack.length; i--;) {
  15735. var item = this.stack[i];
  15736. if (item.name === 'a') {
  15737. node.a = item.attrs;
  15738. }
  15739. if (item.name === 'table' && !node.webp && !attrs.src.includes('cloud://')) {
  15740. if (!styleObj.display || styleObj.display.includes('inline')) {
  15741. node.t = 'inline-block';
  15742. } else {
  15743. node.t = styleObj.display;
  15744. }
  15745. styleObj.display = undefined;
  15746. }
  15747. var style = item.attrs.style || '';
  15748. if (style.includes('flex:') && !style.includes('flex:0') && !style.includes('flex: 0') && (!styleObj.width || parseInt(styleObj.width) > 100)) {
  15749. styleObj.width = '100% !important';
  15750. styleObj.height = '';
  15751. for (var j = i + 1; j < this.stack.length; j++) {
  15752. this.stack[j].attrs.style = (this.stack[j].attrs.style || '').replace('inline-', '');
  15753. }
  15754. } else if (style.includes('flex') && styleObj.width === '100%') {
  15755. for (var _j = i + 1; _j < this.stack.length; _j++) {
  15756. var _style = this.stack[_j].attrs.style || '';
  15757. if (!_style.includes(';width') && !_style.includes(' width') && _style.indexOf('width') !== 0) {
  15758. styleObj.width = '';
  15759. break;
  15760. }
  15761. }
  15762. } else if (style.includes('inline-block')) {
  15763. if (styleObj.width && styleObj.width[styleObj.width.length - 1] === '%') {
  15764. item.attrs.style += ';max-width:' + styleObj.width;
  15765. styleObj.width = '';
  15766. } else {
  15767. item.attrs.style += ';max-width:100%';
  15768. }
  15769. }
  15770. item.c = 1;
  15771. }
  15772. attrs.i = this.imgList.length.toString();
  15773. var _src = attrs['original-src'] || attrs.src;
  15774. if (this.imgList.includes(_src)) {
  15775. // 如果有重复的链接则对域名进行随机大小写变换避免预览时错位
  15776. var _i = _src.indexOf('://');
  15777. if (_i !== -1) {
  15778. _i += 3;
  15779. var newSrc = _src.substr(0, _i);
  15780. for (; _i < _src.length; _i++) {
  15781. if (_src[_i] === '/') break;
  15782. newSrc += Math.random() > 0.5 ? _src[_i].toUpperCase() : _src[_i];
  15783. }
  15784. newSrc += _src.substr(_i);
  15785. _src = newSrc;
  15786. }
  15787. }
  15788. this.imgList.push(_src);
  15789. if (!node.t) {
  15790. this.imgList._unloadimgs += 1;
  15791. }
  15792. }
  15793. }
  15794. if (styleObj.display === 'inline') {
  15795. styleObj.display = '';
  15796. }
  15797. if (attrs.ignore) {
  15798. styleObj['max-width'] = styleObj['max-width'] || '100%';
  15799. attrs.style += ';-webkit-touch-callout:none';
  15800. }
  15801. // 设置的宽度超出屏幕,为避免变形,高度转为自动
  15802. if (parseInt(styleObj.width) > windowWidth) {
  15803. styleObj.height = undefined;
  15804. }
  15805. // 记录是否设置了宽高
  15806. if (!isNaN(parseInt(styleObj.width))) {
  15807. node.w = 'T';
  15808. }
  15809. if (!isNaN(parseInt(styleObj.height)) && (!styleObj.height.includes('%') || parent && (parent.attrs.style || '').includes('height'))) {
  15810. node.h = 'T';
  15811. }
  15812. } else if (node.name === 'svg') {
  15813. siblings.push(node);
  15814. this.stack.push(node);
  15815. this.popNode();
  15816. return;
  15817. }
  15818. for (var key in styleObj) {
  15819. if (styleObj[key]) {
  15820. attrs.style += ";".concat(key, ":").concat(styleObj[key].replace(' !important', ''));
  15821. }
  15822. }
  15823. attrs.style = attrs.style.substr(1) || undefined;
  15824. } else {
  15825. if ((node.name === 'pre' || (attrs.style || '').includes('white-space') && attrs.style.includes('pre')) && this.pre !== 2) {
  15826. this.pre = node.pre = 1;
  15827. }
  15828. node.children = [];
  15829. this.stack.push(node);
  15830. }
  15831. // 加入节点树
  15832. siblings.push(node);
  15833. };
  15834. /**
  15835. * @description 解析到标签结束
  15836. * @param {String} name 标签名
  15837. * @private
  15838. */
  15839. Parser.prototype.onCloseTag = function (name) {
  15840. // 依次出栈到匹配为止
  15841. name = this.xml ? name : name.toLowerCase();
  15842. var i;
  15843. for (i = this.stack.length; i--;) {
  15844. if (this.stack[i].name === name) break;
  15845. }
  15846. if (i !== -1) {
  15847. while (this.stack.length > i) {
  15848. this.popNode();
  15849. }
  15850. } else if (name === 'p' || name === 'br') {
  15851. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  15852. siblings.push({
  15853. name: name,
  15854. attrs: {
  15855. class: tagSelector[name] || '',
  15856. style: this.tagStyle[name] || ''
  15857. }
  15858. });
  15859. }
  15860. };
  15861. /**
  15862. * @description 处理标签出栈
  15863. * @private
  15864. */
  15865. Parser.prototype.popNode = function () {
  15866. var node = this.stack.pop();
  15867. var attrs = node.attrs;
  15868. var children = node.children;
  15869. var parent = this.stack[this.stack.length - 1];
  15870. var siblings = parent ? parent.children : this.nodes;
  15871. if (!this.hook(node) || config.ignoreTags[node.name]) {
  15872. // 获取标题
  15873. if (node.name === 'title' && children.length && children[0].type === 'text' && this.options.setTitle) {
  15874. uni.setNavigationBarTitle({
  15875. title: children[0].text
  15876. });
  15877. }
  15878. siblings.pop();
  15879. return;
  15880. }
  15881. if (node.pre && this.pre !== 2) {
  15882. // 是否合并空白符标识
  15883. this.pre = node.pre = undefined;
  15884. for (var i = this.stack.length; i--;) {
  15885. if (this.stack[i].pre) {
  15886. this.pre = 1;
  15887. }
  15888. }
  15889. }
  15890. var styleObj = {};
  15891. // 转换 svg
  15892. if (node.name === 'svg') {
  15893. if (this.xml > 1) {
  15894. // 多层 svg 嵌套
  15895. this.xml--;
  15896. return;
  15897. }
  15898. var src = '';
  15899. var style = attrs.style;
  15900. attrs.style = '';
  15901. attrs.xmlns = 'http://www.w3.org/2000/svg';
  15902. (function traversal(node) {
  15903. if (node.type === 'text') {
  15904. src += node.text;
  15905. return;
  15906. }
  15907. var name = config.svgDict[node.name] || node.name;
  15908. src += '<' + name;
  15909. for (var item in node.attrs) {
  15910. var val = node.attrs[item];
  15911. if (val) {
  15912. src += " ".concat(config.svgDict[item] || item, "=\"").concat(val, "\"");
  15913. }
  15914. }
  15915. if (!node.children) {
  15916. src += '/>';
  15917. } else {
  15918. src += '>';
  15919. for (var _i2 = 0; _i2 < node.children.length; _i2++) {
  15920. traversal(node.children[_i2]);
  15921. }
  15922. src += '</' + name + '>';
  15923. }
  15924. })(node);
  15925. node.name = 'img';
  15926. node.attrs = {
  15927. src: 'data:image/svg+xml;utf8,' + src.replace(/#/g, '%23'),
  15928. style: style,
  15929. ignore: 'T'
  15930. };
  15931. node.children = undefined;
  15932. this.xml = false;
  15933. config.ignoreTags.style = true;
  15934. return;
  15935. }
  15936. // 转换 align 属性
  15937. if (attrs.align) {
  15938. if (node.name === 'table') {
  15939. if (attrs.align === 'center') {
  15940. styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';
  15941. } else {
  15942. styleObj.float = attrs.align;
  15943. }
  15944. } else {
  15945. styleObj['text-align'] = attrs.align;
  15946. }
  15947. attrs.align = undefined;
  15948. }
  15949. // 转换 dir 属性
  15950. if (attrs.dir) {
  15951. styleObj.direction = attrs.dir;
  15952. attrs.dir = undefined;
  15953. }
  15954. // 转换 font 标签的属性
  15955. if (node.name === 'font') {
  15956. if (attrs.color) {
  15957. styleObj.color = attrs.color;
  15958. attrs.color = undefined;
  15959. }
  15960. if (attrs.face) {
  15961. styleObj['font-family'] = attrs.face;
  15962. attrs.face = undefined;
  15963. }
  15964. if (attrs.size) {
  15965. var size = parseInt(attrs.size);
  15966. if (!isNaN(size)) {
  15967. if (size < 1) {
  15968. size = 1;
  15969. } else if (size > 7) {
  15970. size = 7;
  15971. }
  15972. styleObj['font-size'] = ['x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', 'xxx-large'][size - 1];
  15973. }
  15974. attrs.size = undefined;
  15975. }
  15976. }
  15977. // 一些编辑器的自带 class
  15978. if ((attrs.class || '').includes('align-center')) {
  15979. styleObj['text-align'] = 'center';
  15980. }
  15981. Object.assign(styleObj, this.parseStyle(node));
  15982. if (node.name !== 'table' && parseInt(styleObj.width) > windowWidth) {
  15983. styleObj['max-width'] = '100%';
  15984. styleObj['box-sizing'] = 'border-box';
  15985. }
  15986. if (config.blockTags[node.name]) {
  15987. node.name = 'div';
  15988. } else if (!config.trustTags[node.name] && !this.xml) {
  15989. // 未知标签转为 span,避免无法显示
  15990. node.name = 'span';
  15991. }
  15992. if (node.name === 'a' || node.name === 'ad') {
  15993. this.expose();
  15994. } else if (node.name === 'video') {
  15995. if ((styleObj.height || '').includes('auto')) {
  15996. styleObj.height = undefined;
  15997. }
  15998. } else if ((node.name === 'ul' || node.name === 'ol') && node.c) {
  15999. // 列表处理
  16000. var types = {
  16001. a: 'lower-alpha',
  16002. A: 'upper-alpha',
  16003. i: 'lower-roman',
  16004. I: 'upper-roman'
  16005. };
  16006. if (types[attrs.type]) {
  16007. attrs.style += ';list-style-type:' + types[attrs.type];
  16008. attrs.type = undefined;
  16009. }
  16010. for (var _i3 = children.length; _i3--;) {
  16011. if (children[_i3].name === 'li') {
  16012. children[_i3].c = 1;
  16013. }
  16014. }
  16015. } else if (node.name === 'table') {
  16016. // 表格处理
  16017. // cellpadding、cellspacing、border 这几个常用表格属性需要通过转换实现
  16018. var padding = parseFloat(attrs.cellpadding);
  16019. var spacing = parseFloat(attrs.cellspacing);
  16020. var border = parseFloat(attrs.border);
  16021. var bordercolor = styleObj['border-color'];
  16022. var borderstyle = styleObj['border-style'];
  16023. if (node.c) {
  16024. // padding 和 spacing 默认 2
  16025. if (isNaN(padding)) {
  16026. padding = 2;
  16027. }
  16028. if (isNaN(spacing)) {
  16029. spacing = 2;
  16030. }
  16031. }
  16032. if (border) {
  16033. attrs.style += ";border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray');
  16034. }
  16035. if (node.flag && node.c) {
  16036. // 有 colspan 或 rowspan 且含有链接的表格通过 grid 布局实现
  16037. styleObj.display = 'grid';
  16038. if (spacing) {
  16039. styleObj['grid-gap'] = spacing + 'px';
  16040. styleObj.padding = spacing + 'px';
  16041. } else if (border) {
  16042. // 无间隔的情况下避免边框重叠
  16043. attrs.style += ';border-left:0;border-top:0';
  16044. }
  16045. var width = []; // 表格的列宽
  16046. var trList = []; // tr 列表
  16047. var cells = []; // 保存新的单元格
  16048. var map = {}; // 被合并单元格占用的格子
  16049. (function traversal(nodes) {
  16050. for (var _i4 = 0; _i4 < nodes.length; _i4++) {
  16051. if (nodes[_i4].name === 'tr') {
  16052. trList.push(nodes[_i4]);
  16053. } else {
  16054. traversal(nodes[_i4].children || []);
  16055. }
  16056. }
  16057. })(children);
  16058. for (var row = 1; row <= trList.length; row++) {
  16059. var col = 1;
  16060. for (var j = 0; j < trList[row - 1].children.length; j++) {
  16061. var td = trList[row - 1].children[j];
  16062. if (td.name === 'td' || td.name === 'th') {
  16063. // 这个格子被上面的单元格占用,则列号++
  16064. while (map[row + '.' + col]) {
  16065. col++;
  16066. }
  16067. var _style2 = td.attrs.style || '';
  16068. var start = _style2.indexOf('width') ? _style2.indexOf(';width') : 0;
  16069. // 提取出 td 的宽度
  16070. if (start !== -1) {
  16071. var end = _style2.indexOf(';', start + 6);
  16072. if (end === -1) {
  16073. end = _style2.length;
  16074. }
  16075. if (!td.attrs.colspan) {
  16076. width[col] = _style2.substring(start ? start + 7 : 6, end);
  16077. }
  16078. _style2 = _style2.substr(0, start) + _style2.substr(end);
  16079. }
  16080. // 设置竖直对齐
  16081. _style2 += ';display:flex';
  16082. start = _style2.indexOf('vertical-align');
  16083. if (start !== -1) {
  16084. var val = _style2.substr(start + 15, 10);
  16085. if (val.includes('middle')) {
  16086. _style2 += ';align-items:center';
  16087. } else if (val.includes('bottom')) {
  16088. _style2 += ';align-items:flex-end';
  16089. }
  16090. } else {
  16091. _style2 += ';align-items:center';
  16092. }
  16093. // 设置水平对齐
  16094. start = _style2.indexOf('text-align');
  16095. if (start !== -1) {
  16096. var _val = _style2.substr(start + 11, 10);
  16097. if (_val.includes('center')) {
  16098. _style2 += ';justify-content: center';
  16099. } else if (_val.includes('right')) {
  16100. _style2 += ';justify-content: right';
  16101. }
  16102. }
  16103. _style2 = (border ? ";border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray') + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ";padding:".concat(padding, "px") : '') + ';' + _style2;
  16104. // 处理列合并
  16105. if (td.attrs.colspan) {
  16106. _style2 += ";grid-column-start:".concat(col, ";grid-column-end:").concat(col + parseInt(td.attrs.colspan));
  16107. if (!td.attrs.rowspan) {
  16108. _style2 += ";grid-row-start:".concat(row, ";grid-row-end:").concat(row + 1);
  16109. }
  16110. col += parseInt(td.attrs.colspan) - 1;
  16111. }
  16112. // 处理行合并
  16113. if (td.attrs.rowspan) {
  16114. _style2 += ";grid-row-start:".concat(row, ";grid-row-end:").concat(row + parseInt(td.attrs.rowspan));
  16115. if (!td.attrs.colspan) {
  16116. _style2 += ";grid-column-start:".concat(col, ";grid-column-end:").concat(col + 1);
  16117. }
  16118. // 记录下方单元格被占用
  16119. for (var rowspan = 1; rowspan < td.attrs.rowspan; rowspan++) {
  16120. for (var colspan = 0; colspan < (td.attrs.colspan || 1); colspan++) {
  16121. map[row + rowspan + '.' + (col - colspan)] = 1;
  16122. }
  16123. }
  16124. }
  16125. if (_style2) {
  16126. td.attrs.style = _style2;
  16127. }
  16128. cells.push(td);
  16129. col++;
  16130. }
  16131. }
  16132. if (row === 1) {
  16133. var temp = '';
  16134. for (var _i5 = 1; _i5 < col; _i5++) {
  16135. temp += (width[_i5] ? width[_i5] : 'auto') + ' ';
  16136. }
  16137. styleObj['grid-template-columns'] = temp;
  16138. }
  16139. }
  16140. node.children = cells;
  16141. } else {
  16142. // 没有使用合并单元格的表格通过 table 布局实现
  16143. if (node.c) {
  16144. styleObj.display = 'table';
  16145. }
  16146. if (!isNaN(spacing)) {
  16147. styleObj['border-spacing'] = spacing + 'px';
  16148. }
  16149. if (border || padding) {
  16150. // 遍历
  16151. (function traversal(nodes) {
  16152. for (var _i6 = 0; _i6 < nodes.length; _i6++) {
  16153. var _td = nodes[_i6];
  16154. if (_td.name === 'th' || _td.name === 'td') {
  16155. if (border) {
  16156. _td.attrs.style = "border:".concat(border, "px ").concat(borderstyle || 'solid', " ").concat(bordercolor || 'gray', ";").concat(_td.attrs.style || '');
  16157. }
  16158. if (padding) {
  16159. _td.attrs.style = "padding:".concat(padding, "px;").concat(_td.attrs.style || '');
  16160. }
  16161. } else if (_td.children) {
  16162. traversal(_td.children);
  16163. }
  16164. }
  16165. })(children);
  16166. }
  16167. }
  16168. // 给表格添加一个单独的横向滚动层
  16169. if (this.options.scrollTable && !(attrs.style || '').includes('inline')) {
  16170. var table = Object.assign({}, node);
  16171. node.name = 'div';
  16172. node.attrs = {
  16173. style: 'overflow:auto'
  16174. };
  16175. node.children = [table];
  16176. attrs = table.attrs;
  16177. }
  16178. } else if ((node.name === 'td' || node.name === 'th') && (attrs.colspan || attrs.rowspan)) {
  16179. for (var _i7 = this.stack.length; _i7--;) {
  16180. if (this.stack[_i7].name === 'table') {
  16181. this.stack[_i7].flag = 1; // 指示含有合并单元格
  16182. break;
  16183. }
  16184. }
  16185. } else if (node.name === 'ruby') {
  16186. // 转换 ruby
  16187. node.name = 'span';
  16188. for (var _i8 = 0; _i8 < children.length - 1; _i8++) {
  16189. if (children[_i8].type === 'text' && children[_i8 + 1].name === 'rt') {
  16190. children[_i8] = {
  16191. name: 'div',
  16192. attrs: {
  16193. style: 'display:inline-block;text-align:center'
  16194. },
  16195. children: [{
  16196. name: 'div',
  16197. attrs: {
  16198. style: 'font-size:50%;' + (children[_i8 + 1].attrs.style || '')
  16199. },
  16200. children: children[_i8 + 1].children
  16201. }, children[_i8]]
  16202. };
  16203. children.splice(_i8 + 1, 1);
  16204. }
  16205. }
  16206. } else if (node.c) {
  16207. (function traversal(node) {
  16208. node.c = 2;
  16209. for (var _i9 = node.children.length; _i9--;) {
  16210. var child = node.children[_i9];
  16211. if (!child.c || child.name === 'table') {
  16212. node.c = 1;
  16213. }
  16214. }
  16215. })(node);
  16216. }
  16217. if ((styleObj.display || '').includes('flex') && !node.c) {
  16218. for (var _i10 = children.length; _i10--;) {
  16219. var item = children[_i10];
  16220. if (item.f) {
  16221. item.attrs.style = (item.attrs.style || '') + item.f;
  16222. item.f = undefined;
  16223. }
  16224. }
  16225. }
  16226. // flex 布局时部分样式需要提取到 rich-text 外层
  16227. var flex = parent && ((parent.attrs.style || '').includes('flex') || (parent.attrs.style || '').includes('grid'))
  16228. // 检查基础库版本 virtualHost 是否可用
  16229. && !(node.c && wx.getNFCAdapter); // eslint-disable-line
  16230. if (flex) {
  16231. node.f = ';max-width:100%';
  16232. }
  16233. if (children.length >= 50 && node.c && !(styleObj.display || '').includes('flex')) {
  16234. mergeNodes(children);
  16235. }
  16236. for (var key in styleObj) {
  16237. if (styleObj[key]) {
  16238. var _val2 = ";".concat(key, ":").concat(styleObj[key].replace(' !important', ''));
  16239. if (flex && (key.includes('flex') && key !== 'flex-direction' || key === 'align-self' || key.includes('grid') || styleObj[key][0] === '-' || key.includes('width') && _val2.includes('%'))) {
  16240. node.f += _val2;
  16241. if (key === 'width') {
  16242. attrs.style += ';width:100%';
  16243. }
  16244. } else {
  16245. attrs.style += _val2;
  16246. }
  16247. }
  16248. }
  16249. attrs.style = attrs.style.substr(1) || undefined;
  16250. };
  16251. /**
  16252. * @description 解析到文本
  16253. * @param {String} text 文本内容
  16254. */
  16255. Parser.prototype.onText = function (text) {
  16256. if (!this.pre) {
  16257. // 合并空白符
  16258. var trim = '';
  16259. var flag;
  16260. for (var i = 0, len = text.length; i < len; i++) {
  16261. if (!blankChar[text[i]]) {
  16262. trim += text[i];
  16263. } else {
  16264. if (trim[trim.length - 1] !== ' ') {
  16265. trim += ' ';
  16266. }
  16267. if (text[i] === '\n' && !flag) {
  16268. flag = true;
  16269. }
  16270. }
  16271. }
  16272. // 去除含有换行符的空串
  16273. if (trim === ' ') {
  16274. if (flag) return;
  16275. }
  16276. text = trim;
  16277. }
  16278. var node = Object.create(null);
  16279. node.type = 'text';
  16280. node.text = decodeEntity(text);
  16281. if (this.hook(node)) {
  16282. if (this.options.selectable === 'force' && system.includes('iOS') && !uni.canIUse('rich-text.user-select')) {
  16283. this.expose();
  16284. }
  16285. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  16286. siblings.push(node);
  16287. }
  16288. };
  16289. /**
  16290. * @description html 词法分析器
  16291. * @param {Object} handler 高层处理器
  16292. */
  16293. function Lexer(handler) {
  16294. this.handler = handler;
  16295. }
  16296. /**
  16297. * @description 执行解析
  16298. * @param {String} content 要解析的文本
  16299. */
  16300. Lexer.prototype.parse = function (content) {
  16301. this.content = content || '';
  16302. this.i = 0; // 标记解析位置
  16303. this.start = 0; // 标记一个单词的开始位置
  16304. this.state = this.text; // 当前状态
  16305. for (var len = this.content.length; this.i !== -1 && this.i < len;) {
  16306. this.state();
  16307. }
  16308. };
  16309. /**
  16310. * @description 检查标签是否闭合
  16311. * @param {String} method 如果闭合要进行的操作
  16312. * @returns {Boolean} 是否闭合
  16313. * @private
  16314. */
  16315. Lexer.prototype.checkClose = function (method) {
  16316. var selfClose = this.content[this.i] === '/';
  16317. if (this.content[this.i] === '>' || selfClose && this.content[this.i + 1] === '>') {
  16318. if (method) {
  16319. this.handler[method](this.content.substring(this.start, this.i));
  16320. }
  16321. this.i += selfClose ? 2 : 1;
  16322. this.start = this.i;
  16323. this.handler.onOpenTag(selfClose);
  16324. if (this.handler.tagName === 'script') {
  16325. this.i = this.content.indexOf('</', this.i);
  16326. if (this.i !== -1) {
  16327. this.i += 2;
  16328. this.start = this.i;
  16329. }
  16330. this.state = this.endTag;
  16331. } else {
  16332. this.state = this.text;
  16333. }
  16334. return true;
  16335. }
  16336. return false;
  16337. };
  16338. /**
  16339. * @description 文本状态
  16340. * @private
  16341. */
  16342. Lexer.prototype.text = function () {
  16343. this.i = this.content.indexOf('<', this.i); // 查找最近的标签
  16344. if (this.i === -1) {
  16345. // 没有标签了
  16346. if (this.start < this.content.length) {
  16347. this.handler.onText(this.content.substring(this.start, this.content.length));
  16348. }
  16349. return;
  16350. }
  16351. var c = this.content[this.i + 1];
  16352. if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') {
  16353. // 标签开头
  16354. if (this.start !== this.i) {
  16355. this.handler.onText(this.content.substring(this.start, this.i));
  16356. }
  16357. this.start = ++this.i;
  16358. this.state = this.tagName;
  16359. } else if (c === '/' || c === '!' || c === '?') {
  16360. if (this.start !== this.i) {
  16361. this.handler.onText(this.content.substring(this.start, this.i));
  16362. }
  16363. var next = this.content[this.i + 2];
  16364. if (c === '/' && (next >= 'a' && next <= 'z' || next >= 'A' && next <= 'Z')) {
  16365. // 标签结尾
  16366. this.i += 2;
  16367. this.start = this.i;
  16368. this.state = this.endTag;
  16369. return;
  16370. }
  16371. // 处理注释
  16372. var end = '-->';
  16373. if (c !== '!' || this.content[this.i + 2] !== '-' || this.content[this.i + 3] !== '-') {
  16374. end = '>';
  16375. }
  16376. this.i = this.content.indexOf(end, this.i);
  16377. if (this.i !== -1) {
  16378. this.i += end.length;
  16379. this.start = this.i;
  16380. }
  16381. } else {
  16382. this.i++;
  16383. }
  16384. };
  16385. /**
  16386. * @description 标签名状态
  16387. * @private
  16388. */
  16389. Lexer.prototype.tagName = function () {
  16390. if (blankChar[this.content[this.i]]) {
  16391. // 解析到标签名
  16392. this.handler.onTagName(this.content.substring(this.start, this.i));
  16393. while (blankChar[this.content[++this.i]]) {
  16394. ;
  16395. }
  16396. if (this.i < this.content.length && !this.checkClose()) {
  16397. this.start = this.i;
  16398. this.state = this.attrName;
  16399. }
  16400. } else if (!this.checkClose('onTagName')) {
  16401. this.i++;
  16402. }
  16403. };
  16404. /**
  16405. * @description 属性名状态
  16406. * @private
  16407. */
  16408. Lexer.prototype.attrName = function () {
  16409. var c = this.content[this.i];
  16410. if (blankChar[c] || c === '=') {
  16411. // 解析到属性名
  16412. this.handler.onAttrName(this.content.substring(this.start, this.i));
  16413. var needVal = c === '=';
  16414. var len = this.content.length;
  16415. while (++this.i < len) {
  16416. c = this.content[this.i];
  16417. if (!blankChar[c]) {
  16418. if (this.checkClose()) return;
  16419. if (needVal) {
  16420. // 等号后遇到第一个非空字符
  16421. this.start = this.i;
  16422. this.state = this.attrVal;
  16423. return;
  16424. }
  16425. if (this.content[this.i] === '=') {
  16426. needVal = true;
  16427. } else {
  16428. this.start = this.i;
  16429. this.state = this.attrName;
  16430. return;
  16431. }
  16432. }
  16433. }
  16434. } else if (!this.checkClose('onAttrName')) {
  16435. this.i++;
  16436. }
  16437. };
  16438. /**
  16439. * @description 属性值状态
  16440. * @private
  16441. */
  16442. Lexer.prototype.attrVal = function () {
  16443. var c = this.content[this.i];
  16444. var len = this.content.length;
  16445. if (c === '"' || c === "'") {
  16446. // 有冒号的属性
  16447. this.start = ++this.i;
  16448. this.i = this.content.indexOf(c, this.i);
  16449. if (this.i === -1) return;
  16450. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  16451. } else {
  16452. // 没有冒号的属性
  16453. for (; this.i < len; this.i++) {
  16454. if (blankChar[this.content[this.i]]) {
  16455. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  16456. break;
  16457. } else if (this.checkClose('onAttrVal')) return;
  16458. }
  16459. }
  16460. while (blankChar[this.content[++this.i]]) {
  16461. ;
  16462. }
  16463. if (this.i < len && !this.checkClose()) {
  16464. this.start = this.i;
  16465. this.state = this.attrName;
  16466. }
  16467. };
  16468. /**
  16469. * @description 结束标签状态
  16470. * @returns {String} 结束的标签名
  16471. * @private
  16472. */
  16473. Lexer.prototype.endTag = function () {
  16474. var c = this.content[this.i];
  16475. if (blankChar[c] || c === '>' || c === '/') {
  16476. this.handler.onCloseTag(this.content.substring(this.start, this.i));
  16477. if (c !== '>') {
  16478. this.i = this.content.indexOf('>', this.i);
  16479. if (this.i === -1) return;
  16480. }
  16481. this.start = ++this.i;
  16482. this.state = this.text;
  16483. } else {
  16484. this.i++;
  16485. }
  16486. };
  16487. var _default = Parser;
  16488. exports.default = _default;
  16489. /* WEBPACK VAR INJECTION */}.call(this, __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"]))
  16490. /***/ }),
  16491. /***/ 4:
  16492. /*!**********************************************************************!*\
  16493. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  16494. \**********************************************************************/
  16495. /*! no static exports found */
  16496. /***/ (function(module, exports) {
  16497. function _interopRequireDefault(obj) {
  16498. return obj && obj.__esModule ? obj : {
  16499. "default": obj
  16500. };
  16501. }
  16502. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16503. /***/ }),
  16504. /***/ 40:
  16505. /*!***********************************!*\
  16506. !*** (webpack)/buildin/module.js ***!
  16507. \***********************************/
  16508. /*! no static exports found */
  16509. /***/ (function(module, exports) {
  16510. module.exports = function(module) {
  16511. if (!module.webpackPolyfill) {
  16512. module.deprecate = function() {};
  16513. module.paths = [];
  16514. // module.parent = undefined by default
  16515. if (!module.children) module.children = [];
  16516. Object.defineProperty(module, "loaded", {
  16517. enumerable: true,
  16518. get: function() {
  16519. return module.l;
  16520. }
  16521. });
  16522. Object.defineProperty(module, "id", {
  16523. enumerable: true,
  16524. get: function() {
  16525. return module.i;
  16526. }
  16527. });
  16528. module.webpackPolyfill = 1;
  16529. }
  16530. return module;
  16531. };
  16532. /***/ }),
  16533. /***/ 41:
  16534. /*!****************************************!*\
  16535. !*** (webpack)/buildin/amd-options.js ***!
  16536. \****************************************/
  16537. /*! no static exports found */
  16538. /***/ (function(module, exports) {
  16539. /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */
  16540. module.exports = __webpack_amd_options__;
  16541. /* WEBPACK VAR INJECTION */}.call(this, {}))
  16542. /***/ }),
  16543. /***/ 42:
  16544. /*!****************************************************!*\
  16545. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/index.js ***!
  16546. \****************************************************/
  16547. /*! no static exports found */
  16548. /***/ (function(module, exports, __webpack_require__) {
  16549. "use strict";
  16550. /* WEBPACK VAR INJECTION */(function(uni) {
  16551. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  16552. Object.defineProperty(exports, "__esModule", {
  16553. value: true
  16554. });
  16555. exports.default = void 0;
  16556. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 43));
  16557. var _request = _interopRequireDefault(__webpack_require__(/*! ./libs/request */ 44));
  16558. var _queryParams = _interopRequireDefault(__webpack_require__(/*! ./libs/function/queryParams.js */ 48));
  16559. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/function/route.js */ 49));
  16560. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFormat.js */ 53));
  16561. var _timeFrom = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFrom.js */ 54));
  16562. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 55));
  16563. var _guid = _interopRequireDefault(__webpack_require__(/*! ./libs/function/guid.js */ 56));
  16564. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/function/color.js */ 57));
  16565. var _type2icon = _interopRequireDefault(__webpack_require__(/*! ./libs/function/type2icon.js */ 58));
  16566. var _randomArray = _interopRequireDefault(__webpack_require__(/*! ./libs/function/randomArray.js */ 59));
  16567. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepClone.js */ 46));
  16568. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepMerge.js */ 45));
  16569. var _addUnit = _interopRequireDefault(__webpack_require__(/*! ./libs/function/addUnit.js */ 60));
  16570. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 47));
  16571. var _random = _interopRequireDefault(__webpack_require__(/*! ./libs/function/random.js */ 61));
  16572. var _trim = _interopRequireDefault(__webpack_require__(/*! ./libs/function/trim.js */ 62));
  16573. var _toast = _interopRequireDefault(__webpack_require__(/*! ./libs/function/toast.js */ 63));
  16574. var _getParent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/getParent.js */ 64));
  16575. var _$parent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/$parent.js */ 65));
  16576. var _sys = __webpack_require__(/*! ./libs/function/sys.js */ 66);
  16577. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 67));
  16578. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 68));
  16579. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 69));
  16580. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 70));
  16581. // 引入全局mixin
  16582. // 引入关于是否mixin集成小程序分享的配置
  16583. // import wxshare from './libs/mixin/mpShare.js'
  16584. // 全局挂载引入http相关请求拦截插件
  16585. function wranning(str) {
  16586. // 开发环境进行信息输出,主要是一些报错信息
  16587. // 这个环境的来由是在程序编写时候,点击hx编辑器运行调试代码的时候,详见:
  16588. // https://uniapp.dcloud.io/frame?id=%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%92%8c%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83
  16589. if (true) {
  16590. console.warn(str);
  16591. }
  16592. }
  16593. // 尝试判断在根目录的/store中是否有$u.mixin.js,此文件uView默认为需要挂在到全局的vuex的state变量
  16594. // HX2.6.11版本,放到try中,控制台依然会警告,暂时不用此方式,
  16595. // let vuexStore = {};
  16596. // try {
  16597. // vuexStore = require("@/store/$u.mixin.js");
  16598. // } catch (e) {
  16599. // //TODO handle the exception
  16600. // }
  16601. // post类型对象参数转为get类型url参数
  16602. var $u = {
  16603. queryParams: _queryParams.default,
  16604. route: _route.default,
  16605. timeFormat: _timeFormat.default,
  16606. date: _timeFormat.default,
  16607. // 另名date
  16608. timeFrom: _timeFrom.default,
  16609. colorGradient: _colorGradient.default.colorGradient,
  16610. colorToRgba: _colorGradient.default.colorToRgba,
  16611. guid: _guid.default,
  16612. color: _color.default,
  16613. sys: _sys.sys,
  16614. os: _sys.os,
  16615. type2icon: _type2icon.default,
  16616. randomArray: _randomArray.default,
  16617. wranning: wranning,
  16618. get: _request.default.get,
  16619. post: _request.default.post,
  16620. put: _request.default.put,
  16621. 'delete': _request.default.delete,
  16622. hexToRgb: _colorGradient.default.hexToRgb,
  16623. rgbToHex: _colorGradient.default.rgbToHex,
  16624. test: _test.default,
  16625. random: _random.default,
  16626. deepClone: _deepClone.default,
  16627. deepMerge: _deepMerge.default,
  16628. getParent: _getParent.default,
  16629. $parent: _$parent.default,
  16630. addUnit: _addUnit.default,
  16631. trim: _trim.default,
  16632. type: ['primary', 'success', 'error', 'warning', 'info'],
  16633. http: _request.default,
  16634. toast: _toast.default,
  16635. config: _config.default,
  16636. // uView配置信息相关,比如版本号
  16637. zIndex: _zIndex.default,
  16638. debounce: _debounce.default,
  16639. throttle: _throttle.default
  16640. };
  16641. // $u挂载到uni对象上
  16642. uni.$u = $u;
  16643. var install = function install(Vue) {
  16644. Vue.mixin(_mixin.default);
  16645. if (Vue.prototype.openShare) {
  16646. Vue.mixin(mpShare);
  16647. }
  16648. // Vue.mixin(vuexStore);
  16649. // 时间格式化,同时两个名称,date和timeFormat
  16650. Vue.filter('timeFormat', function (timestamp, format) {
  16651. return (0, _timeFormat.default)(timestamp, format);
  16652. });
  16653. Vue.filter('date', function (timestamp, format) {
  16654. return (0, _timeFormat.default)(timestamp, format);
  16655. });
  16656. // 将多久以前的方法,注入到全局过滤器
  16657. Vue.filter('timeFrom', function (timestamp, format) {
  16658. return (0, _timeFrom.default)(timestamp, format);
  16659. });
  16660. Vue.prototype.$u = $u;
  16661. };
  16662. var _default = {
  16663. install: install
  16664. };
  16665. exports.default = _default;
  16666. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  16667. /***/ }),
  16668. /***/ 421:
  16669. /*!*****************************************************************!*\
  16670. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/province.js ***!
  16671. \*****************************************************************/
  16672. /*! no static exports found */
  16673. /***/ (function(module, exports, __webpack_require__) {
  16674. "use strict";
  16675. Object.defineProperty(exports, "__esModule", {
  16676. value: true
  16677. });
  16678. exports.default = void 0;
  16679. var provinceData = [{
  16680. "label": "北京市",
  16681. "value": "11"
  16682. }, {
  16683. "label": "天津市",
  16684. "value": "12"
  16685. }, {
  16686. "label": "河北省",
  16687. "value": "13"
  16688. }, {
  16689. "label": "山西省",
  16690. "value": "14"
  16691. }, {
  16692. "label": "内蒙古自治区",
  16693. "value": "15"
  16694. }, {
  16695. "label": "辽宁省",
  16696. "value": "21"
  16697. }, {
  16698. "label": "吉林省",
  16699. "value": "22"
  16700. }, {
  16701. "label": "黑龙江省",
  16702. "value": "23"
  16703. }, {
  16704. "label": "上海市",
  16705. "value": "31"
  16706. }, {
  16707. "label": "江苏省",
  16708. "value": "32"
  16709. }, {
  16710. "label": "浙江省",
  16711. "value": "33"
  16712. }, {
  16713. "label": "安徽省",
  16714. "value": "34"
  16715. }, {
  16716. "label": "福建省",
  16717. "value": "35"
  16718. }, {
  16719. "label": "江西省",
  16720. "value": "36"
  16721. }, {
  16722. "label": "山东省",
  16723. "value": "37"
  16724. }, {
  16725. "label": "河南省",
  16726. "value": "41"
  16727. }, {
  16728. "label": "湖北省",
  16729. "value": "42"
  16730. }, {
  16731. "label": "湖南省",
  16732. "value": "43"
  16733. }, {
  16734. "label": "广东省",
  16735. "value": "44"
  16736. }, {
  16737. "label": "广西壮族自治区",
  16738. "value": "45"
  16739. }, {
  16740. "label": "海南省",
  16741. "value": "46"
  16742. }, {
  16743. "label": "重庆市",
  16744. "value": "50"
  16745. }, {
  16746. "label": "四川省",
  16747. "value": "51"
  16748. }, {
  16749. "label": "贵州省",
  16750. "value": "52"
  16751. }, {
  16752. "label": "云南省",
  16753. "value": "53"
  16754. }, {
  16755. "label": "西藏自治区",
  16756. "value": "54"
  16757. }, {
  16758. "label": "陕西省",
  16759. "value": "61"
  16760. }, {
  16761. "label": "甘肃省",
  16762. "value": "62"
  16763. }, {
  16764. "label": "青海省",
  16765. "value": "63"
  16766. }, {
  16767. "label": "宁夏回族自治区",
  16768. "value": "64"
  16769. }, {
  16770. "label": "新疆维吾尔自治区",
  16771. "value": "65"
  16772. }, {
  16773. "label": "台湾",
  16774. "value": "66"
  16775. }, {
  16776. "label": "香港",
  16777. "value": "67"
  16778. }, {
  16779. "label": "澳门",
  16780. "value": "68"
  16781. }];
  16782. var _default = provinceData;
  16783. exports.default = _default;
  16784. /***/ }),
  16785. /***/ 422:
  16786. /*!*************************************************************!*\
  16787. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/city.js ***!
  16788. \*************************************************************/
  16789. /*! no static exports found */
  16790. /***/ (function(module, exports, __webpack_require__) {
  16791. "use strict";
  16792. Object.defineProperty(exports, "__esModule", {
  16793. value: true
  16794. });
  16795. exports.default = void 0;
  16796. var cityData = [[{
  16797. "label": "市辖区",
  16798. "value": "1101"
  16799. }], [{
  16800. "label": "市辖区",
  16801. "value": "1201"
  16802. }], [{
  16803. "label": "石家庄市",
  16804. "value": "1301"
  16805. }, {
  16806. "label": "唐山市",
  16807. "value": "1302"
  16808. }, {
  16809. "label": "秦皇岛市",
  16810. "value": "1303"
  16811. }, {
  16812. "label": "邯郸市",
  16813. "value": "1304"
  16814. }, {
  16815. "label": "邢台市",
  16816. "value": "1305"
  16817. }, {
  16818. "label": "保定市",
  16819. "value": "1306"
  16820. }, {
  16821. "label": "张家口市",
  16822. "value": "1307"
  16823. }, {
  16824. "label": "承德市",
  16825. "value": "1308"
  16826. }, {
  16827. "label": "沧州市",
  16828. "value": "1309"
  16829. }, {
  16830. "label": "廊坊市",
  16831. "value": "1310"
  16832. }, {
  16833. "label": "衡水市",
  16834. "value": "1311"
  16835. }], [{
  16836. "label": "太原市",
  16837. "value": "1401"
  16838. }, {
  16839. "label": "大同市",
  16840. "value": "1402"
  16841. }, {
  16842. "label": "阳泉市",
  16843. "value": "1403"
  16844. }, {
  16845. "label": "长治市",
  16846. "value": "1404"
  16847. }, {
  16848. "label": "晋城市",
  16849. "value": "1405"
  16850. }, {
  16851. "label": "朔州市",
  16852. "value": "1406"
  16853. }, {
  16854. "label": "晋中市",
  16855. "value": "1407"
  16856. }, {
  16857. "label": "运城市",
  16858. "value": "1408"
  16859. }, {
  16860. "label": "忻州市",
  16861. "value": "1409"
  16862. }, {
  16863. "label": "临汾市",
  16864. "value": "1410"
  16865. }, {
  16866. "label": "吕梁市",
  16867. "value": "1411"
  16868. }], [{
  16869. "label": "呼和浩特市",
  16870. "value": "1501"
  16871. }, {
  16872. "label": "包头市",
  16873. "value": "1502"
  16874. }, {
  16875. "label": "乌海市",
  16876. "value": "1503"
  16877. }, {
  16878. "label": "赤峰市",
  16879. "value": "1504"
  16880. }, {
  16881. "label": "通辽市",
  16882. "value": "1505"
  16883. }, {
  16884. "label": "鄂尔多斯市",
  16885. "value": "1506"
  16886. }, {
  16887. "label": "呼伦贝尔市",
  16888. "value": "1507"
  16889. }, {
  16890. "label": "巴彦淖尔市",
  16891. "value": "1508"
  16892. }, {
  16893. "label": "乌兰察布市",
  16894. "value": "1509"
  16895. }, {
  16896. "label": "兴安盟",
  16897. "value": "1522"
  16898. }, {
  16899. "label": "锡林郭勒盟",
  16900. "value": "1525"
  16901. }, {
  16902. "label": "阿拉善盟",
  16903. "value": "1529"
  16904. }], [{
  16905. "label": "沈阳市",
  16906. "value": "2101"
  16907. }, {
  16908. "label": "大连市",
  16909. "value": "2102"
  16910. }, {
  16911. "label": "鞍山市",
  16912. "value": "2103"
  16913. }, {
  16914. "label": "抚顺市",
  16915. "value": "2104"
  16916. }, {
  16917. "label": "本溪市",
  16918. "value": "2105"
  16919. }, {
  16920. "label": "丹东市",
  16921. "value": "2106"
  16922. }, {
  16923. "label": "锦州市",
  16924. "value": "2107"
  16925. }, {
  16926. "label": "营口市",
  16927. "value": "2108"
  16928. }, {
  16929. "label": "阜新市",
  16930. "value": "2109"
  16931. }, {
  16932. "label": "辽阳市",
  16933. "value": "2110"
  16934. }, {
  16935. "label": "盘锦市",
  16936. "value": "2111"
  16937. }, {
  16938. "label": "铁岭市",
  16939. "value": "2112"
  16940. }, {
  16941. "label": "朝阳市",
  16942. "value": "2113"
  16943. }, {
  16944. "label": "葫芦岛市",
  16945. "value": "2114"
  16946. }], [{
  16947. "label": "长春市",
  16948. "value": "2201"
  16949. }, {
  16950. "label": "吉林市",
  16951. "value": "2202"
  16952. }, {
  16953. "label": "四平市",
  16954. "value": "2203"
  16955. }, {
  16956. "label": "辽源市",
  16957. "value": "2204"
  16958. }, {
  16959. "label": "通化市",
  16960. "value": "2205"
  16961. }, {
  16962. "label": "白山市",
  16963. "value": "2206"
  16964. }, {
  16965. "label": "松原市",
  16966. "value": "2207"
  16967. }, {
  16968. "label": "白城市",
  16969. "value": "2208"
  16970. }, {
  16971. "label": "延边朝鲜族自治州",
  16972. "value": "2224"
  16973. }], [{
  16974. "label": "哈尔滨市",
  16975. "value": "2301"
  16976. }, {
  16977. "label": "齐齐哈尔市",
  16978. "value": "2302"
  16979. }, {
  16980. "label": "鸡西市",
  16981. "value": "2303"
  16982. }, {
  16983. "label": "鹤岗市",
  16984. "value": "2304"
  16985. }, {
  16986. "label": "双鸭山市",
  16987. "value": "2305"
  16988. }, {
  16989. "label": "大庆市",
  16990. "value": "2306"
  16991. }, {
  16992. "label": "伊春市",
  16993. "value": "2307"
  16994. }, {
  16995. "label": "佳木斯市",
  16996. "value": "2308"
  16997. }, {
  16998. "label": "七台河市",
  16999. "value": "2309"
  17000. }, {
  17001. "label": "牡丹江市",
  17002. "value": "2310"
  17003. }, {
  17004. "label": "黑河市",
  17005. "value": "2311"
  17006. }, {
  17007. "label": "绥化市",
  17008. "value": "2312"
  17009. }, {
  17010. "label": "大兴安岭地区",
  17011. "value": "2327"
  17012. }], [{
  17013. "label": "市辖区",
  17014. "value": "3101"
  17015. }], [{
  17016. "label": "南京市",
  17017. "value": "3201"
  17018. }, {
  17019. "label": "无锡市",
  17020. "value": "3202"
  17021. }, {
  17022. "label": "徐州市",
  17023. "value": "3203"
  17024. }, {
  17025. "label": "常州市",
  17026. "value": "3204"
  17027. }, {
  17028. "label": "苏州市",
  17029. "value": "3205"
  17030. }, {
  17031. "label": "南通市",
  17032. "value": "3206"
  17033. }, {
  17034. "label": "连云港市",
  17035. "value": "3207"
  17036. }, {
  17037. "label": "淮安市",
  17038. "value": "3208"
  17039. }, {
  17040. "label": "盐城市",
  17041. "value": "3209"
  17042. }, {
  17043. "label": "扬州市",
  17044. "value": "3210"
  17045. }, {
  17046. "label": "镇江市",
  17047. "value": "3211"
  17048. }, {
  17049. "label": "泰州市",
  17050. "value": "3212"
  17051. }, {
  17052. "label": "宿迁市",
  17053. "value": "3213"
  17054. }], [{
  17055. "label": "杭州市",
  17056. "value": "3301"
  17057. }, {
  17058. "label": "宁波市",
  17059. "value": "3302"
  17060. }, {
  17061. "label": "温州市",
  17062. "value": "3303"
  17063. }, {
  17064. "label": "嘉兴市",
  17065. "value": "3304"
  17066. }, {
  17067. "label": "湖州市",
  17068. "value": "3305"
  17069. }, {
  17070. "label": "绍兴市",
  17071. "value": "3306"
  17072. }, {
  17073. "label": "金华市",
  17074. "value": "3307"
  17075. }, {
  17076. "label": "衢州市",
  17077. "value": "3308"
  17078. }, {
  17079. "label": "舟山市",
  17080. "value": "3309"
  17081. }, {
  17082. "label": "台州市",
  17083. "value": "3310"
  17084. }, {
  17085. "label": "丽水市",
  17086. "value": "3311"
  17087. }], [{
  17088. "label": "合肥市",
  17089. "value": "3401"
  17090. }, {
  17091. "label": "芜湖市",
  17092. "value": "3402"
  17093. }, {
  17094. "label": "蚌埠市",
  17095. "value": "3403"
  17096. }, {
  17097. "label": "淮南市",
  17098. "value": "3404"
  17099. }, {
  17100. "label": "马鞍山市",
  17101. "value": "3405"
  17102. }, {
  17103. "label": "淮北市",
  17104. "value": "3406"
  17105. }, {
  17106. "label": "铜陵市",
  17107. "value": "3407"
  17108. }, {
  17109. "label": "安庆市",
  17110. "value": "3408"
  17111. }, {
  17112. "label": "黄山市",
  17113. "value": "3410"
  17114. }, {
  17115. "label": "滁州市",
  17116. "value": "3411"
  17117. }, {
  17118. "label": "阜阳市",
  17119. "value": "3412"
  17120. }, {
  17121. "label": "宿州市",
  17122. "value": "3413"
  17123. }, {
  17124. "label": "六安市",
  17125. "value": "3415"
  17126. }, {
  17127. "label": "亳州市",
  17128. "value": "3416"
  17129. }, {
  17130. "label": "池州市",
  17131. "value": "3417"
  17132. }, {
  17133. "label": "宣城市",
  17134. "value": "3418"
  17135. }], [{
  17136. "label": "福州市",
  17137. "value": "3501"
  17138. }, {
  17139. "label": "厦门市",
  17140. "value": "3502"
  17141. }, {
  17142. "label": "莆田市",
  17143. "value": "3503"
  17144. }, {
  17145. "label": "三明市",
  17146. "value": "3504"
  17147. }, {
  17148. "label": "泉州市",
  17149. "value": "3505"
  17150. }, {
  17151. "label": "漳州市",
  17152. "value": "3506"
  17153. }, {
  17154. "label": "南平市",
  17155. "value": "3507"
  17156. }, {
  17157. "label": "龙岩市",
  17158. "value": "3508"
  17159. }, {
  17160. "label": "宁德市",
  17161. "value": "3509"
  17162. }], [{
  17163. "label": "南昌市",
  17164. "value": "3601"
  17165. }, {
  17166. "label": "景德镇市",
  17167. "value": "3602"
  17168. }, {
  17169. "label": "萍乡市",
  17170. "value": "3603"
  17171. }, {
  17172. "label": "九江市",
  17173. "value": "3604"
  17174. }, {
  17175. "label": "新余市",
  17176. "value": "3605"
  17177. }, {
  17178. "label": "鹰潭市",
  17179. "value": "3606"
  17180. }, {
  17181. "label": "赣州市",
  17182. "value": "3607"
  17183. }, {
  17184. "label": "吉安市",
  17185. "value": "3608"
  17186. }, {
  17187. "label": "宜春市",
  17188. "value": "3609"
  17189. }, {
  17190. "label": "抚州市",
  17191. "value": "3610"
  17192. }, {
  17193. "label": "上饶市",
  17194. "value": "3611"
  17195. }], [{
  17196. "label": "济南市",
  17197. "value": "3701"
  17198. }, {
  17199. "label": "青岛市",
  17200. "value": "3702"
  17201. }, {
  17202. "label": "淄博市",
  17203. "value": "3703"
  17204. }, {
  17205. "label": "枣庄市",
  17206. "value": "3704"
  17207. }, {
  17208. "label": "东营市",
  17209. "value": "3705"
  17210. }, {
  17211. "label": "烟台市",
  17212. "value": "3706"
  17213. }, {
  17214. "label": "潍坊市",
  17215. "value": "3707"
  17216. }, {
  17217. "label": "济宁市",
  17218. "value": "3708"
  17219. }, {
  17220. "label": "泰安市",
  17221. "value": "3709"
  17222. }, {
  17223. "label": "威海市",
  17224. "value": "3710"
  17225. }, {
  17226. "label": "日照市",
  17227. "value": "3711"
  17228. }, {
  17229. "label": "莱芜市",
  17230. "value": "3712"
  17231. }, {
  17232. "label": "临沂市",
  17233. "value": "3713"
  17234. }, {
  17235. "label": "德州市",
  17236. "value": "3714"
  17237. }, {
  17238. "label": "聊城市",
  17239. "value": "3715"
  17240. }, {
  17241. "label": "滨州市",
  17242. "value": "3716"
  17243. }, {
  17244. "label": "菏泽市",
  17245. "value": "3717"
  17246. }], [{
  17247. "label": "郑州市",
  17248. "value": "4101"
  17249. }, {
  17250. "label": "开封市",
  17251. "value": "4102"
  17252. }, {
  17253. "label": "洛阳市",
  17254. "value": "4103"
  17255. }, {
  17256. "label": "平顶山市",
  17257. "value": "4104"
  17258. }, {
  17259. "label": "安阳市",
  17260. "value": "4105"
  17261. }, {
  17262. "label": "鹤壁市",
  17263. "value": "4106"
  17264. }, {
  17265. "label": "新乡市",
  17266. "value": "4107"
  17267. }, {
  17268. "label": "焦作市",
  17269. "value": "4108"
  17270. }, {
  17271. "label": "濮阳市",
  17272. "value": "4109"
  17273. }, {
  17274. "label": "许昌市",
  17275. "value": "4110"
  17276. }, {
  17277. "label": "漯河市",
  17278. "value": "4111"
  17279. }, {
  17280. "label": "三门峡市",
  17281. "value": "4112"
  17282. }, {
  17283. "label": "南阳市",
  17284. "value": "4113"
  17285. }, {
  17286. "label": "商丘市",
  17287. "value": "4114"
  17288. }, {
  17289. "label": "信阳市",
  17290. "value": "4115"
  17291. }, {
  17292. "label": "周口市",
  17293. "value": "4116"
  17294. }, {
  17295. "label": "驻马店市",
  17296. "value": "4117"
  17297. }, {
  17298. "label": "省直辖县级行政区划",
  17299. "value": "4190"
  17300. }], [{
  17301. "label": "武汉市",
  17302. "value": "4201"
  17303. }, {
  17304. "label": "黄石市",
  17305. "value": "4202"
  17306. }, {
  17307. "label": "十堰市",
  17308. "value": "4203"
  17309. }, {
  17310. "label": "宜昌市",
  17311. "value": "4205"
  17312. }, {
  17313. "label": "襄阳市",
  17314. "value": "4206"
  17315. }, {
  17316. "label": "鄂州市",
  17317. "value": "4207"
  17318. }, {
  17319. "label": "荆门市",
  17320. "value": "4208"
  17321. }, {
  17322. "label": "孝感市",
  17323. "value": "4209"
  17324. }, {
  17325. "label": "荆州市",
  17326. "value": "4210"
  17327. }, {
  17328. "label": "黄冈市",
  17329. "value": "4211"
  17330. }, {
  17331. "label": "咸宁市",
  17332. "value": "4212"
  17333. }, {
  17334. "label": "随州市",
  17335. "value": "4213"
  17336. }, {
  17337. "label": "恩施土家族苗族自治州",
  17338. "value": "4228"
  17339. }, {
  17340. "label": "省直辖县级行政区划",
  17341. "value": "4290"
  17342. }], [{
  17343. "label": "长沙市",
  17344. "value": "4301"
  17345. }, {
  17346. "label": "株洲市",
  17347. "value": "4302"
  17348. }, {
  17349. "label": "湘潭市",
  17350. "value": "4303"
  17351. }, {
  17352. "label": "衡阳市",
  17353. "value": "4304"
  17354. }, {
  17355. "label": "邵阳市",
  17356. "value": "4305"
  17357. }, {
  17358. "label": "岳阳市",
  17359. "value": "4306"
  17360. }, {
  17361. "label": "常德市",
  17362. "value": "4307"
  17363. }, {
  17364. "label": "张家界市",
  17365. "value": "4308"
  17366. }, {
  17367. "label": "益阳市",
  17368. "value": "4309"
  17369. }, {
  17370. "label": "郴州市",
  17371. "value": "4310"
  17372. }, {
  17373. "label": "永州市",
  17374. "value": "4311"
  17375. }, {
  17376. "label": "怀化市",
  17377. "value": "4312"
  17378. }, {
  17379. "label": "娄底市",
  17380. "value": "4313"
  17381. }, {
  17382. "label": "湘西土家族苗族自治州",
  17383. "value": "4331"
  17384. }], [{
  17385. "label": "广州市",
  17386. "value": "4401"
  17387. }, {
  17388. "label": "韶关市",
  17389. "value": "4402"
  17390. }, {
  17391. "label": "深圳市",
  17392. "value": "4403"
  17393. }, {
  17394. "label": "珠海市",
  17395. "value": "4404"
  17396. }, {
  17397. "label": "汕头市",
  17398. "value": "4405"
  17399. }, {
  17400. "label": "佛山市",
  17401. "value": "4406"
  17402. }, {
  17403. "label": "江门市",
  17404. "value": "4407"
  17405. }, {
  17406. "label": "湛江市",
  17407. "value": "4408"
  17408. }, {
  17409. "label": "茂名市",
  17410. "value": "4409"
  17411. }, {
  17412. "label": "肇庆市",
  17413. "value": "4412"
  17414. }, {
  17415. "label": "惠州市",
  17416. "value": "4413"
  17417. }, {
  17418. "label": "梅州市",
  17419. "value": "4414"
  17420. }, {
  17421. "label": "汕尾市",
  17422. "value": "4415"
  17423. }, {
  17424. "label": "河源市",
  17425. "value": "4416"
  17426. }, {
  17427. "label": "阳江市",
  17428. "value": "4417"
  17429. }, {
  17430. "label": "清远市",
  17431. "value": "4418"
  17432. }, {
  17433. "label": "东莞市",
  17434. "value": "4419"
  17435. }, {
  17436. "label": "中山市",
  17437. "value": "4420"
  17438. }, {
  17439. "label": "潮州市",
  17440. "value": "4451"
  17441. }, {
  17442. "label": "揭阳市",
  17443. "value": "4452"
  17444. }, {
  17445. "label": "云浮市",
  17446. "value": "4453"
  17447. }], [{
  17448. "label": "南宁市",
  17449. "value": "4501"
  17450. }, {
  17451. "label": "柳州市",
  17452. "value": "4502"
  17453. }, {
  17454. "label": "桂林市",
  17455. "value": "4503"
  17456. }, {
  17457. "label": "梧州市",
  17458. "value": "4504"
  17459. }, {
  17460. "label": "北海市",
  17461. "value": "4505"
  17462. }, {
  17463. "label": "防城港市",
  17464. "value": "4506"
  17465. }, {
  17466. "label": "钦州市",
  17467. "value": "4507"
  17468. }, {
  17469. "label": "贵港市",
  17470. "value": "4508"
  17471. }, {
  17472. "label": "玉林市",
  17473. "value": "4509"
  17474. }, {
  17475. "label": "百色市",
  17476. "value": "4510"
  17477. }, {
  17478. "label": "贺州市",
  17479. "value": "4511"
  17480. }, {
  17481. "label": "河池市",
  17482. "value": "4512"
  17483. }, {
  17484. "label": "来宾市",
  17485. "value": "4513"
  17486. }, {
  17487. "label": "崇左市",
  17488. "value": "4514"
  17489. }], [{
  17490. "label": "海口市",
  17491. "value": "4601"
  17492. }, {
  17493. "label": "三亚市",
  17494. "value": "4602"
  17495. }, {
  17496. "label": "三沙市",
  17497. "value": "4603"
  17498. }, {
  17499. "label": "儋州市",
  17500. "value": "4604"
  17501. }, {
  17502. "label": "省直辖县级行政区划",
  17503. "value": "4690"
  17504. }], [{
  17505. "label": "市辖区",
  17506. "value": "5001"
  17507. }, {
  17508. "label": "县",
  17509. "value": "5002"
  17510. }], [{
  17511. "label": "成都市",
  17512. "value": "5101"
  17513. }, {
  17514. "label": "自贡市",
  17515. "value": "5103"
  17516. }, {
  17517. "label": "攀枝花市",
  17518. "value": "5104"
  17519. }, {
  17520. "label": "泸州市",
  17521. "value": "5105"
  17522. }, {
  17523. "label": "德阳市",
  17524. "value": "5106"
  17525. }, {
  17526. "label": "绵阳市",
  17527. "value": "5107"
  17528. }, {
  17529. "label": "广元市",
  17530. "value": "5108"
  17531. }, {
  17532. "label": "遂宁市",
  17533. "value": "5109"
  17534. }, {
  17535. "label": "内江市",
  17536. "value": "5110"
  17537. }, {
  17538. "label": "乐山市",
  17539. "value": "5111"
  17540. }, {
  17541. "label": "南充市",
  17542. "value": "5113"
  17543. }, {
  17544. "label": "眉山市",
  17545. "value": "5114"
  17546. }, {
  17547. "label": "宜宾市",
  17548. "value": "5115"
  17549. }, {
  17550. "label": "广安市",
  17551. "value": "5116"
  17552. }, {
  17553. "label": "达州市",
  17554. "value": "5117"
  17555. }, {
  17556. "label": "雅安市",
  17557. "value": "5118"
  17558. }, {
  17559. "label": "巴中市",
  17560. "value": "5119"
  17561. }, {
  17562. "label": "资阳市",
  17563. "value": "5120"
  17564. }, {
  17565. "label": "阿坝藏族羌族自治州",
  17566. "value": "5132"
  17567. }, {
  17568. "label": "甘孜藏族自治州",
  17569. "value": "5133"
  17570. }, {
  17571. "label": "凉山彝族自治州",
  17572. "value": "5134"
  17573. }], [{
  17574. "label": "贵阳市",
  17575. "value": "5201"
  17576. }, {
  17577. "label": "六盘水市",
  17578. "value": "5202"
  17579. }, {
  17580. "label": "遵义市",
  17581. "value": "5203"
  17582. }, {
  17583. "label": "安顺市",
  17584. "value": "5204"
  17585. }, {
  17586. "label": "毕节市",
  17587. "value": "5205"
  17588. }, {
  17589. "label": "铜仁市",
  17590. "value": "5206"
  17591. }, {
  17592. "label": "黔西南布依族苗族自治州",
  17593. "value": "5223"
  17594. }, {
  17595. "label": "黔东南苗族侗族自治州",
  17596. "value": "5226"
  17597. }, {
  17598. "label": "黔南布依族苗族自治州",
  17599. "value": "5227"
  17600. }], [{
  17601. "label": "昆明市",
  17602. "value": "5301"
  17603. }, {
  17604. "label": "曲靖市",
  17605. "value": "5303"
  17606. }, {
  17607. "label": "玉溪市",
  17608. "value": "5304"
  17609. }, {
  17610. "label": "保山市",
  17611. "value": "5305"
  17612. }, {
  17613. "label": "昭通市",
  17614. "value": "5306"
  17615. }, {
  17616. "label": "丽江市",
  17617. "value": "5307"
  17618. }, {
  17619. "label": "普洱市",
  17620. "value": "5308"
  17621. }, {
  17622. "label": "临沧市",
  17623. "value": "5309"
  17624. }, {
  17625. "label": "楚雄彝族自治州",
  17626. "value": "5323"
  17627. }, {
  17628. "label": "红河哈尼族彝族自治州",
  17629. "value": "5325"
  17630. }, {
  17631. "label": "文山壮族苗族自治州",
  17632. "value": "5326"
  17633. }, {
  17634. "label": "西双版纳傣族自治州",
  17635. "value": "5328"
  17636. }, {
  17637. "label": "大理白族自治州",
  17638. "value": "5329"
  17639. }, {
  17640. "label": "德宏傣族景颇族自治州",
  17641. "value": "5331"
  17642. }, {
  17643. "label": "怒江傈僳族自治州",
  17644. "value": "5333"
  17645. }, {
  17646. "label": "迪庆藏族自治州",
  17647. "value": "5334"
  17648. }], [{
  17649. "label": "拉萨市",
  17650. "value": "5401"
  17651. }, {
  17652. "label": "日喀则市",
  17653. "value": "5402"
  17654. }, {
  17655. "label": "昌都市",
  17656. "value": "5403"
  17657. }, {
  17658. "label": "林芝市",
  17659. "value": "5404"
  17660. }, {
  17661. "label": "山南市",
  17662. "value": "5405"
  17663. }, {
  17664. "label": "那曲地区",
  17665. "value": "5424"
  17666. }, {
  17667. "label": "阿里地区",
  17668. "value": "5425"
  17669. }], [{
  17670. "label": "西安市",
  17671. "value": "6101"
  17672. }, {
  17673. "label": "铜川市",
  17674. "value": "6102"
  17675. }, {
  17676. "label": "宝鸡市",
  17677. "value": "6103"
  17678. }, {
  17679. "label": "咸阳市",
  17680. "value": "6104"
  17681. }, {
  17682. "label": "渭南市",
  17683. "value": "6105"
  17684. }, {
  17685. "label": "延安市",
  17686. "value": "6106"
  17687. }, {
  17688. "label": "汉中市",
  17689. "value": "6107"
  17690. }, {
  17691. "label": "榆林市",
  17692. "value": "6108"
  17693. }, {
  17694. "label": "安康市",
  17695. "value": "6109"
  17696. }, {
  17697. "label": "商洛市",
  17698. "value": "6110"
  17699. }], [{
  17700. "label": "兰州市",
  17701. "value": "6201"
  17702. }, {
  17703. "label": "嘉峪关市",
  17704. "value": "6202"
  17705. }, {
  17706. "label": "金昌市",
  17707. "value": "6203"
  17708. }, {
  17709. "label": "白银市",
  17710. "value": "6204"
  17711. }, {
  17712. "label": "天水市",
  17713. "value": "6205"
  17714. }, {
  17715. "label": "武威市",
  17716. "value": "6206"
  17717. }, {
  17718. "label": "张掖市",
  17719. "value": "6207"
  17720. }, {
  17721. "label": "平凉市",
  17722. "value": "6208"
  17723. }, {
  17724. "label": "酒泉市",
  17725. "value": "6209"
  17726. }, {
  17727. "label": "庆阳市",
  17728. "value": "6210"
  17729. }, {
  17730. "label": "定西市",
  17731. "value": "6211"
  17732. }, {
  17733. "label": "陇南市",
  17734. "value": "6212"
  17735. }, {
  17736. "label": "临夏回族自治州",
  17737. "value": "6229"
  17738. }, {
  17739. "label": "甘南藏族自治州",
  17740. "value": "6230"
  17741. }], [{
  17742. "label": "西宁市",
  17743. "value": "6301"
  17744. }, {
  17745. "label": "海东市",
  17746. "value": "6302"
  17747. }, {
  17748. "label": "海北藏族自治州",
  17749. "value": "6322"
  17750. }, {
  17751. "label": "黄南藏族自治州",
  17752. "value": "6323"
  17753. }, {
  17754. "label": "海南藏族自治州",
  17755. "value": "6325"
  17756. }, {
  17757. "label": "果洛藏族自治州",
  17758. "value": "6326"
  17759. }, {
  17760. "label": "玉树藏族自治州",
  17761. "value": "6327"
  17762. }, {
  17763. "label": "海西蒙古族藏族自治州",
  17764. "value": "6328"
  17765. }], [{
  17766. "label": "银川市",
  17767. "value": "6401"
  17768. }, {
  17769. "label": "石嘴山市",
  17770. "value": "6402"
  17771. }, {
  17772. "label": "吴忠市",
  17773. "value": "6403"
  17774. }, {
  17775. "label": "固原市",
  17776. "value": "6404"
  17777. }, {
  17778. "label": "中卫市",
  17779. "value": "6405"
  17780. }], [{
  17781. "label": "乌鲁木齐市",
  17782. "value": "6501"
  17783. }, {
  17784. "label": "克拉玛依市",
  17785. "value": "6502"
  17786. }, {
  17787. "label": "吐鲁番市",
  17788. "value": "6504"
  17789. }, {
  17790. "label": "哈密市",
  17791. "value": "6505"
  17792. }, {
  17793. "label": "昌吉回族自治州",
  17794. "value": "6523"
  17795. }, {
  17796. "label": "博尔塔拉蒙古自治州",
  17797. "value": "6527"
  17798. }, {
  17799. "label": "巴音郭楞蒙古自治州",
  17800. "value": "6528"
  17801. }, {
  17802. "label": "阿克苏地区",
  17803. "value": "6529"
  17804. }, {
  17805. "label": "克孜勒苏柯尔克孜自治州",
  17806. "value": "6530"
  17807. }, {
  17808. "label": "喀什地区",
  17809. "value": "6531"
  17810. }, {
  17811. "label": "和田地区",
  17812. "value": "6532"
  17813. }, {
  17814. "label": "伊犁哈萨克自治州",
  17815. "value": "6540"
  17816. }, {
  17817. "label": "塔城地区",
  17818. "value": "6542"
  17819. }, {
  17820. "label": "阿勒泰地区",
  17821. "value": "6543"
  17822. }, {
  17823. "label": "自治区直辖县级行政区划",
  17824. "value": "6590"
  17825. }], [{
  17826. "label": "台北",
  17827. "value": "6601"
  17828. }, {
  17829. "label": "高雄",
  17830. "value": "6602"
  17831. }, {
  17832. "label": "基隆",
  17833. "value": "6603"
  17834. }, {
  17835. "label": "台中",
  17836. "value": "6604"
  17837. }, {
  17838. "label": "台南",
  17839. "value": "6605"
  17840. }, {
  17841. "label": "新竹",
  17842. "value": "6606"
  17843. }, {
  17844. "label": "嘉义",
  17845. "value": "6607"
  17846. }, {
  17847. "label": "宜兰",
  17848. "value": "6608"
  17849. }, {
  17850. "label": "桃园",
  17851. "value": "6609"
  17852. }, {
  17853. "label": "苗栗",
  17854. "value": "6610"
  17855. }, {
  17856. "label": "彰化",
  17857. "value": "6611"
  17858. }, {
  17859. "label": "南投",
  17860. "value": "6612"
  17861. }, {
  17862. "label": "云林",
  17863. "value": "6613"
  17864. }, {
  17865. "label": "屏东",
  17866. "value": "6614"
  17867. }, {
  17868. "label": "台东",
  17869. "value": "6615"
  17870. }, {
  17871. "label": "花莲",
  17872. "value": "6616"
  17873. }, {
  17874. "label": "澎湖",
  17875. "value": "6617"
  17876. }], [{
  17877. "label": "香港岛",
  17878. "value": "6701"
  17879. }, {
  17880. "label": "九龙",
  17881. "value": "6702"
  17882. }, {
  17883. "label": "新界",
  17884. "value": "6703"
  17885. }], [{
  17886. "label": "澳门半岛",
  17887. "value": "6801"
  17888. }, {
  17889. "label": "氹仔岛",
  17890. "value": "6802"
  17891. }, {
  17892. "label": "路环岛",
  17893. "value": "6803"
  17894. }, {
  17895. "label": "路氹城",
  17896. "value": "6804"
  17897. }]];
  17898. var _default = cityData;
  17899. exports.default = _default;
  17900. /***/ }),
  17901. /***/ 423:
  17902. /*!*************************************************************!*\
  17903. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/util/area.js ***!
  17904. \*************************************************************/
  17905. /*! no static exports found */
  17906. /***/ (function(module, exports, __webpack_require__) {
  17907. "use strict";
  17908. Object.defineProperty(exports, "__esModule", {
  17909. value: true
  17910. });
  17911. exports.default = void 0;
  17912. var areaData = [[[{
  17913. "label": "东城区",
  17914. "value": "110101"
  17915. }, {
  17916. "label": "西城区",
  17917. "value": "110102"
  17918. }, {
  17919. "label": "朝阳区",
  17920. "value": "110105"
  17921. }, {
  17922. "label": "丰台区",
  17923. "value": "110106"
  17924. }, {
  17925. "label": "石景山区",
  17926. "value": "110107"
  17927. }, {
  17928. "label": "海淀区",
  17929. "value": "110108"
  17930. }, {
  17931. "label": "门头沟区",
  17932. "value": "110109"
  17933. }, {
  17934. "label": "房山区",
  17935. "value": "110111"
  17936. }, {
  17937. "label": "通州区",
  17938. "value": "110112"
  17939. }, {
  17940. "label": "顺义区",
  17941. "value": "110113"
  17942. }, {
  17943. "label": "昌平区",
  17944. "value": "110114"
  17945. }, {
  17946. "label": "大兴区",
  17947. "value": "110115"
  17948. }, {
  17949. "label": "怀柔区",
  17950. "value": "110116"
  17951. }, {
  17952. "label": "平谷区",
  17953. "value": "110117"
  17954. }, {
  17955. "label": "密云区",
  17956. "value": "110118"
  17957. }, {
  17958. "label": "延庆区",
  17959. "value": "110119"
  17960. }]], [[{
  17961. "label": "和平区",
  17962. "value": "120101"
  17963. }, {
  17964. "label": "河东区",
  17965. "value": "120102"
  17966. }, {
  17967. "label": "河西区",
  17968. "value": "120103"
  17969. }, {
  17970. "label": "南开区",
  17971. "value": "120104"
  17972. }, {
  17973. "label": "河北区",
  17974. "value": "120105"
  17975. }, {
  17976. "label": "红桥区",
  17977. "value": "120106"
  17978. }, {
  17979. "label": "东丽区",
  17980. "value": "120110"
  17981. }, {
  17982. "label": "西青区",
  17983. "value": "120111"
  17984. }, {
  17985. "label": "津南区",
  17986. "value": "120112"
  17987. }, {
  17988. "label": "北辰区",
  17989. "value": "120113"
  17990. }, {
  17991. "label": "武清区",
  17992. "value": "120114"
  17993. }, {
  17994. "label": "宝坻区",
  17995. "value": "120115"
  17996. }, {
  17997. "label": "滨海新区",
  17998. "value": "120116"
  17999. }, {
  18000. "label": "宁河区",
  18001. "value": "120117"
  18002. }, {
  18003. "label": "静海区",
  18004. "value": "120118"
  18005. }, {
  18006. "label": "蓟州区",
  18007. "value": "120119"
  18008. }]], [[{
  18009. "label": "长安区",
  18010. "value": "130102"
  18011. }, {
  18012. "label": "桥西区",
  18013. "value": "130104"
  18014. }, {
  18015. "label": "新华区",
  18016. "value": "130105"
  18017. }, {
  18018. "label": "井陉矿区",
  18019. "value": "130107"
  18020. }, {
  18021. "label": "裕华区",
  18022. "value": "130108"
  18023. }, {
  18024. "label": "藁城区",
  18025. "value": "130109"
  18026. }, {
  18027. "label": "鹿泉区",
  18028. "value": "130110"
  18029. }, {
  18030. "label": "栾城区",
  18031. "value": "130111"
  18032. }, {
  18033. "label": "井陉县",
  18034. "value": "130121"
  18035. }, {
  18036. "label": "正定县",
  18037. "value": "130123"
  18038. }, {
  18039. "label": "行唐县",
  18040. "value": "130125"
  18041. }, {
  18042. "label": "灵寿县",
  18043. "value": "130126"
  18044. }, {
  18045. "label": "高邑县",
  18046. "value": "130127"
  18047. }, {
  18048. "label": "深泽县",
  18049. "value": "130128"
  18050. }, {
  18051. "label": "赞皇县",
  18052. "value": "130129"
  18053. }, {
  18054. "label": "无极县",
  18055. "value": "130130"
  18056. }, {
  18057. "label": "平山县",
  18058. "value": "130131"
  18059. }, {
  18060. "label": "元氏县",
  18061. "value": "130132"
  18062. }, {
  18063. "label": "赵县",
  18064. "value": "130133"
  18065. }, {
  18066. "label": "石家庄高新技术产业开发区",
  18067. "value": "130171"
  18068. }, {
  18069. "label": "石家庄循环化工园区",
  18070. "value": "130172"
  18071. }, {
  18072. "label": "辛集市",
  18073. "value": "130181"
  18074. }, {
  18075. "label": "晋州市",
  18076. "value": "130183"
  18077. }, {
  18078. "label": "新乐市",
  18079. "value": "130184"
  18080. }], [{
  18081. "label": "路南区",
  18082. "value": "130202"
  18083. }, {
  18084. "label": "路北区",
  18085. "value": "130203"
  18086. }, {
  18087. "label": "古冶区",
  18088. "value": "130204"
  18089. }, {
  18090. "label": "开平区",
  18091. "value": "130205"
  18092. }, {
  18093. "label": "丰南区",
  18094. "value": "130207"
  18095. }, {
  18096. "label": "丰润区",
  18097. "value": "130208"
  18098. }, {
  18099. "label": "曹妃甸区",
  18100. "value": "130209"
  18101. }, {
  18102. "label": "滦县",
  18103. "value": "130223"
  18104. }, {
  18105. "label": "滦南县",
  18106. "value": "130224"
  18107. }, {
  18108. "label": "乐亭县",
  18109. "value": "130225"
  18110. }, {
  18111. "label": "迁西县",
  18112. "value": "130227"
  18113. }, {
  18114. "label": "玉田县",
  18115. "value": "130229"
  18116. }, {
  18117. "label": "唐山市芦台经济技术开发区",
  18118. "value": "130271"
  18119. }, {
  18120. "label": "唐山市汉沽管理区",
  18121. "value": "130272"
  18122. }, {
  18123. "label": "唐山高新技术产业开发区",
  18124. "value": "130273"
  18125. }, {
  18126. "label": "河北唐山海港经济开发区",
  18127. "value": "130274"
  18128. }, {
  18129. "label": "遵化市",
  18130. "value": "130281"
  18131. }, {
  18132. "label": "迁安市",
  18133. "value": "130283"
  18134. }], [{
  18135. "label": "海港区",
  18136. "value": "130302"
  18137. }, {
  18138. "label": "山海关区",
  18139. "value": "130303"
  18140. }, {
  18141. "label": "北戴河区",
  18142. "value": "130304"
  18143. }, {
  18144. "label": "抚宁区",
  18145. "value": "130306"
  18146. }, {
  18147. "label": "青龙满族自治县",
  18148. "value": "130321"
  18149. }, {
  18150. "label": "昌黎县",
  18151. "value": "130322"
  18152. }, {
  18153. "label": "卢龙县",
  18154. "value": "130324"
  18155. }, {
  18156. "label": "秦皇岛市经济技术开发区",
  18157. "value": "130371"
  18158. }, {
  18159. "label": "北戴河新区",
  18160. "value": "130372"
  18161. }], [{
  18162. "label": "邯山区",
  18163. "value": "130402"
  18164. }, {
  18165. "label": "丛台区",
  18166. "value": "130403"
  18167. }, {
  18168. "label": "复兴区",
  18169. "value": "130404"
  18170. }, {
  18171. "label": "峰峰矿区",
  18172. "value": "130406"
  18173. }, {
  18174. "label": "肥乡区",
  18175. "value": "130407"
  18176. }, {
  18177. "label": "永年区",
  18178. "value": "130408"
  18179. }, {
  18180. "label": "临漳县",
  18181. "value": "130423"
  18182. }, {
  18183. "label": "成安县",
  18184. "value": "130424"
  18185. }, {
  18186. "label": "大名县",
  18187. "value": "130425"
  18188. }, {
  18189. "label": "涉县",
  18190. "value": "130426"
  18191. }, {
  18192. "label": "磁县",
  18193. "value": "130427"
  18194. }, {
  18195. "label": "邱县",
  18196. "value": "130430"
  18197. }, {
  18198. "label": "鸡泽县",
  18199. "value": "130431"
  18200. }, {
  18201. "label": "广平县",
  18202. "value": "130432"
  18203. }, {
  18204. "label": "馆陶县",
  18205. "value": "130433"
  18206. }, {
  18207. "label": "魏县",
  18208. "value": "130434"
  18209. }, {
  18210. "label": "曲周县",
  18211. "value": "130435"
  18212. }, {
  18213. "label": "邯郸经济技术开发区",
  18214. "value": "130471"
  18215. }, {
  18216. "label": "邯郸冀南新区",
  18217. "value": "130473"
  18218. }, {
  18219. "label": "武安市",
  18220. "value": "130481"
  18221. }], [{
  18222. "label": "桥东区",
  18223. "value": "130502"
  18224. }, {
  18225. "label": "桥西区",
  18226. "value": "130503"
  18227. }, {
  18228. "label": "邢台县",
  18229. "value": "130521"
  18230. }, {
  18231. "label": "临城县",
  18232. "value": "130522"
  18233. }, {
  18234. "label": "内丘县",
  18235. "value": "130523"
  18236. }, {
  18237. "label": "柏乡县",
  18238. "value": "130524"
  18239. }, {
  18240. "label": "隆尧县",
  18241. "value": "130525"
  18242. }, {
  18243. "label": "任县",
  18244. "value": "130526"
  18245. }, {
  18246. "label": "南和县",
  18247. "value": "130527"
  18248. }, {
  18249. "label": "宁晋县",
  18250. "value": "130528"
  18251. }, {
  18252. "label": "巨鹿县",
  18253. "value": "130529"
  18254. }, {
  18255. "label": "新河县",
  18256. "value": "130530"
  18257. }, {
  18258. "label": "广宗县",
  18259. "value": "130531"
  18260. }, {
  18261. "label": "平乡县",
  18262. "value": "130532"
  18263. }, {
  18264. "label": "威县",
  18265. "value": "130533"
  18266. }, {
  18267. "label": "清河县",
  18268. "value": "130534"
  18269. }, {
  18270. "label": "临西县",
  18271. "value": "130535"
  18272. }, {
  18273. "label": "河北邢台经济开发区",
  18274. "value": "130571"
  18275. }, {
  18276. "label": "南宫市",
  18277. "value": "130581"
  18278. }, {
  18279. "label": "沙河市",
  18280. "value": "130582"
  18281. }], [{
  18282. "label": "竞秀区",
  18283. "value": "130602"
  18284. }, {
  18285. "label": "莲池区",
  18286. "value": "130606"
  18287. }, {
  18288. "label": "满城区",
  18289. "value": "130607"
  18290. }, {
  18291. "label": "清苑区",
  18292. "value": "130608"
  18293. }, {
  18294. "label": "徐水区",
  18295. "value": "130609"
  18296. }, {
  18297. "label": "涞水县",
  18298. "value": "130623"
  18299. }, {
  18300. "label": "阜平县",
  18301. "value": "130624"
  18302. }, {
  18303. "label": "定兴县",
  18304. "value": "130626"
  18305. }, {
  18306. "label": "唐县",
  18307. "value": "130627"
  18308. }, {
  18309. "label": "高阳县",
  18310. "value": "130628"
  18311. }, {
  18312. "label": "容城县",
  18313. "value": "130629"
  18314. }, {
  18315. "label": "涞源县",
  18316. "value": "130630"
  18317. }, {
  18318. "label": "望都县",
  18319. "value": "130631"
  18320. }, {
  18321. "label": "安新县",
  18322. "value": "130632"
  18323. }, {
  18324. "label": "易县",
  18325. "value": "130633"
  18326. }, {
  18327. "label": "曲阳县",
  18328. "value": "130634"
  18329. }, {
  18330. "label": "蠡县",
  18331. "value": "130635"
  18332. }, {
  18333. "label": "顺平县",
  18334. "value": "130636"
  18335. }, {
  18336. "label": "博野县",
  18337. "value": "130637"
  18338. }, {
  18339. "label": "雄县",
  18340. "value": "130638"
  18341. }, {
  18342. "label": "保定高新技术产业开发区",
  18343. "value": "130671"
  18344. }, {
  18345. "label": "保定白沟新城",
  18346. "value": "130672"
  18347. }, {
  18348. "label": "涿州市",
  18349. "value": "130681"
  18350. }, {
  18351. "label": "定州市",
  18352. "value": "130682"
  18353. }, {
  18354. "label": "安国市",
  18355. "value": "130683"
  18356. }, {
  18357. "label": "高碑店市",
  18358. "value": "130684"
  18359. }], [{
  18360. "label": "桥东区",
  18361. "value": "130702"
  18362. }, {
  18363. "label": "桥西区",
  18364. "value": "130703"
  18365. }, {
  18366. "label": "宣化区",
  18367. "value": "130705"
  18368. }, {
  18369. "label": "下花园区",
  18370. "value": "130706"
  18371. }, {
  18372. "label": "万全区",
  18373. "value": "130708"
  18374. }, {
  18375. "label": "崇礼区",
  18376. "value": "130709"
  18377. }, {
  18378. "label": "张北县",
  18379. "value": "130722"
  18380. }, {
  18381. "label": "康保县",
  18382. "value": "130723"
  18383. }, {
  18384. "label": "沽源县",
  18385. "value": "130724"
  18386. }, {
  18387. "label": "尚义县",
  18388. "value": "130725"
  18389. }, {
  18390. "label": "蔚县",
  18391. "value": "130726"
  18392. }, {
  18393. "label": "阳原县",
  18394. "value": "130727"
  18395. }, {
  18396. "label": "怀安县",
  18397. "value": "130728"
  18398. }, {
  18399. "label": "怀来县",
  18400. "value": "130730"
  18401. }, {
  18402. "label": "涿鹿县",
  18403. "value": "130731"
  18404. }, {
  18405. "label": "赤城县",
  18406. "value": "130732"
  18407. }, {
  18408. "label": "张家口市高新技术产业开发区",
  18409. "value": "130771"
  18410. }, {
  18411. "label": "张家口市察北管理区",
  18412. "value": "130772"
  18413. }, {
  18414. "label": "张家口市塞北管理区",
  18415. "value": "130773"
  18416. }], [{
  18417. "label": "双桥区",
  18418. "value": "130802"
  18419. }, {
  18420. "label": "双滦区",
  18421. "value": "130803"
  18422. }, {
  18423. "label": "鹰手营子矿区",
  18424. "value": "130804"
  18425. }, {
  18426. "label": "承德县",
  18427. "value": "130821"
  18428. }, {
  18429. "label": "兴隆县",
  18430. "value": "130822"
  18431. }, {
  18432. "label": "滦平县",
  18433. "value": "130824"
  18434. }, {
  18435. "label": "隆化县",
  18436. "value": "130825"
  18437. }, {
  18438. "label": "丰宁满族自治县",
  18439. "value": "130826"
  18440. }, {
  18441. "label": "宽城满族自治县",
  18442. "value": "130827"
  18443. }, {
  18444. "label": "围场满族蒙古族自治县",
  18445. "value": "130828"
  18446. }, {
  18447. "label": "承德高新技术产业开发区",
  18448. "value": "130871"
  18449. }, {
  18450. "label": "平泉市",
  18451. "value": "130881"
  18452. }], [{
  18453. "label": "新华区",
  18454. "value": "130902"
  18455. }, {
  18456. "label": "运河区",
  18457. "value": "130903"
  18458. }, {
  18459. "label": "沧县",
  18460. "value": "130921"
  18461. }, {
  18462. "label": "青县",
  18463. "value": "130922"
  18464. }, {
  18465. "label": "东光县",
  18466. "value": "130923"
  18467. }, {
  18468. "label": "海兴县",
  18469. "value": "130924"
  18470. }, {
  18471. "label": "盐山县",
  18472. "value": "130925"
  18473. }, {
  18474. "label": "肃宁县",
  18475. "value": "130926"
  18476. }, {
  18477. "label": "南皮县",
  18478. "value": "130927"
  18479. }, {
  18480. "label": "吴桥县",
  18481. "value": "130928"
  18482. }, {
  18483. "label": "献县",
  18484. "value": "130929"
  18485. }, {
  18486. "label": "孟村回族自治县",
  18487. "value": "130930"
  18488. }, {
  18489. "label": "河北沧州经济开发区",
  18490. "value": "130971"
  18491. }, {
  18492. "label": "沧州高新技术产业开发区",
  18493. "value": "130972"
  18494. }, {
  18495. "label": "沧州渤海新区",
  18496. "value": "130973"
  18497. }, {
  18498. "label": "泊头市",
  18499. "value": "130981"
  18500. }, {
  18501. "label": "任丘市",
  18502. "value": "130982"
  18503. }, {
  18504. "label": "黄骅市",
  18505. "value": "130983"
  18506. }, {
  18507. "label": "河间市",
  18508. "value": "130984"
  18509. }], [{
  18510. "label": "安次区",
  18511. "value": "131002"
  18512. }, {
  18513. "label": "广阳区",
  18514. "value": "131003"
  18515. }, {
  18516. "label": "固安县",
  18517. "value": "131022"
  18518. }, {
  18519. "label": "永清县",
  18520. "value": "131023"
  18521. }, {
  18522. "label": "香河县",
  18523. "value": "131024"
  18524. }, {
  18525. "label": "大城县",
  18526. "value": "131025"
  18527. }, {
  18528. "label": "文安县",
  18529. "value": "131026"
  18530. }, {
  18531. "label": "大厂回族自治县",
  18532. "value": "131028"
  18533. }, {
  18534. "label": "廊坊经济技术开发区",
  18535. "value": "131071"
  18536. }, {
  18537. "label": "霸州市",
  18538. "value": "131081"
  18539. }, {
  18540. "label": "三河市",
  18541. "value": "131082"
  18542. }], [{
  18543. "label": "桃城区",
  18544. "value": "131102"
  18545. }, {
  18546. "label": "冀州区",
  18547. "value": "131103"
  18548. }, {
  18549. "label": "枣强县",
  18550. "value": "131121"
  18551. }, {
  18552. "label": "武邑县",
  18553. "value": "131122"
  18554. }, {
  18555. "label": "武强县",
  18556. "value": "131123"
  18557. }, {
  18558. "label": "饶阳县",
  18559. "value": "131124"
  18560. }, {
  18561. "label": "安平县",
  18562. "value": "131125"
  18563. }, {
  18564. "label": "故城县",
  18565. "value": "131126"
  18566. }, {
  18567. "label": "景县",
  18568. "value": "131127"
  18569. }, {
  18570. "label": "阜城县",
  18571. "value": "131128"
  18572. }, {
  18573. "label": "河北衡水经济开发区",
  18574. "value": "131171"
  18575. }, {
  18576. "label": "衡水滨湖新区",
  18577. "value": "131172"
  18578. }, {
  18579. "label": "深州市",
  18580. "value": "131182"
  18581. }]], [[{
  18582. "label": "小店区",
  18583. "value": "140105"
  18584. }, {
  18585. "label": "迎泽区",
  18586. "value": "140106"
  18587. }, {
  18588. "label": "杏花岭区",
  18589. "value": "140107"
  18590. }, {
  18591. "label": "尖草坪区",
  18592. "value": "140108"
  18593. }, {
  18594. "label": "万柏林区",
  18595. "value": "140109"
  18596. }, {
  18597. "label": "晋源区",
  18598. "value": "140110"
  18599. }, {
  18600. "label": "清徐县",
  18601. "value": "140121"
  18602. }, {
  18603. "label": "阳曲县",
  18604. "value": "140122"
  18605. }, {
  18606. "label": "娄烦县",
  18607. "value": "140123"
  18608. }, {
  18609. "label": "山西转型综合改革示范区",
  18610. "value": "140171"
  18611. }, {
  18612. "label": "古交市",
  18613. "value": "140181"
  18614. }], [{
  18615. "label": "城区",
  18616. "value": "140202"
  18617. }, {
  18618. "label": "矿区",
  18619. "value": "140203"
  18620. }, {
  18621. "label": "南郊区",
  18622. "value": "140211"
  18623. }, {
  18624. "label": "新荣区",
  18625. "value": "140212"
  18626. }, {
  18627. "label": "阳高县",
  18628. "value": "140221"
  18629. }, {
  18630. "label": "天镇县",
  18631. "value": "140222"
  18632. }, {
  18633. "label": "广灵县",
  18634. "value": "140223"
  18635. }, {
  18636. "label": "灵丘县",
  18637. "value": "140224"
  18638. }, {
  18639. "label": "浑源县",
  18640. "value": "140225"
  18641. }, {
  18642. "label": "左云县",
  18643. "value": "140226"
  18644. }, {
  18645. "label": "大同县",
  18646. "value": "140227"
  18647. }, {
  18648. "label": "山西大同经济开发区",
  18649. "value": "140271"
  18650. }], [{
  18651. "label": "城区",
  18652. "value": "140302"
  18653. }, {
  18654. "label": "矿区",
  18655. "value": "140303"
  18656. }, {
  18657. "label": "郊区",
  18658. "value": "140311"
  18659. }, {
  18660. "label": "平定县",
  18661. "value": "140321"
  18662. }, {
  18663. "label": "盂县",
  18664. "value": "140322"
  18665. }, {
  18666. "label": "山西阳泉经济开发区",
  18667. "value": "140371"
  18668. }], [{
  18669. "label": "城区",
  18670. "value": "140402"
  18671. }, {
  18672. "label": "郊区",
  18673. "value": "140411"
  18674. }, {
  18675. "label": "长治县",
  18676. "value": "140421"
  18677. }, {
  18678. "label": "襄垣县",
  18679. "value": "140423"
  18680. }, {
  18681. "label": "屯留县",
  18682. "value": "140424"
  18683. }, {
  18684. "label": "平顺县",
  18685. "value": "140425"
  18686. }, {
  18687. "label": "黎城县",
  18688. "value": "140426"
  18689. }, {
  18690. "label": "壶关县",
  18691. "value": "140427"
  18692. }, {
  18693. "label": "长子县",
  18694. "value": "140428"
  18695. }, {
  18696. "label": "武乡县",
  18697. "value": "140429"
  18698. }, {
  18699. "label": "沁县",
  18700. "value": "140430"
  18701. }, {
  18702. "label": "沁源县",
  18703. "value": "140431"
  18704. }, {
  18705. "label": "山西长治高新技术产业园区",
  18706. "value": "140471"
  18707. }, {
  18708. "label": "潞城市",
  18709. "value": "140481"
  18710. }], [{
  18711. "label": "城区",
  18712. "value": "140502"
  18713. }, {
  18714. "label": "沁水县",
  18715. "value": "140521"
  18716. }, {
  18717. "label": "阳城县",
  18718. "value": "140522"
  18719. }, {
  18720. "label": "陵川县",
  18721. "value": "140524"
  18722. }, {
  18723. "label": "泽州县",
  18724. "value": "140525"
  18725. }, {
  18726. "label": "高平市",
  18727. "value": "140581"
  18728. }], [{
  18729. "label": "朔城区",
  18730. "value": "140602"
  18731. }, {
  18732. "label": "平鲁区",
  18733. "value": "140603"
  18734. }, {
  18735. "label": "山阴县",
  18736. "value": "140621"
  18737. }, {
  18738. "label": "应县",
  18739. "value": "140622"
  18740. }, {
  18741. "label": "右玉县",
  18742. "value": "140623"
  18743. }, {
  18744. "label": "怀仁县",
  18745. "value": "140624"
  18746. }, {
  18747. "label": "山西朔州经济开发区",
  18748. "value": "140671"
  18749. }], [{
  18750. "label": "榆次区",
  18751. "value": "140702"
  18752. }, {
  18753. "label": "榆社县",
  18754. "value": "140721"
  18755. }, {
  18756. "label": "左权县",
  18757. "value": "140722"
  18758. }, {
  18759. "label": "和顺县",
  18760. "value": "140723"
  18761. }, {
  18762. "label": "昔阳县",
  18763. "value": "140724"
  18764. }, {
  18765. "label": "寿阳县",
  18766. "value": "140725"
  18767. }, {
  18768. "label": "太谷县",
  18769. "value": "140726"
  18770. }, {
  18771. "label": "祁县",
  18772. "value": "140727"
  18773. }, {
  18774. "label": "平遥县",
  18775. "value": "140728"
  18776. }, {
  18777. "label": "灵石县",
  18778. "value": "140729"
  18779. }, {
  18780. "label": "介休市",
  18781. "value": "140781"
  18782. }], [{
  18783. "label": "盐湖区",
  18784. "value": "140802"
  18785. }, {
  18786. "label": "临猗县",
  18787. "value": "140821"
  18788. }, {
  18789. "label": "万荣县",
  18790. "value": "140822"
  18791. }, {
  18792. "label": "闻喜县",
  18793. "value": "140823"
  18794. }, {
  18795. "label": "稷山县",
  18796. "value": "140824"
  18797. }, {
  18798. "label": "新绛县",
  18799. "value": "140825"
  18800. }, {
  18801. "label": "绛县",
  18802. "value": "140826"
  18803. }, {
  18804. "label": "垣曲县",
  18805. "value": "140827"
  18806. }, {
  18807. "label": "夏县",
  18808. "value": "140828"
  18809. }, {
  18810. "label": "平陆县",
  18811. "value": "140829"
  18812. }, {
  18813. "label": "芮城县",
  18814. "value": "140830"
  18815. }, {
  18816. "label": "永济市",
  18817. "value": "140881"
  18818. }, {
  18819. "label": "河津市",
  18820. "value": "140882"
  18821. }], [{
  18822. "label": "忻府区",
  18823. "value": "140902"
  18824. }, {
  18825. "label": "定襄县",
  18826. "value": "140921"
  18827. }, {
  18828. "label": "五台县",
  18829. "value": "140922"
  18830. }, {
  18831. "label": "代县",
  18832. "value": "140923"
  18833. }, {
  18834. "label": "繁峙县",
  18835. "value": "140924"
  18836. }, {
  18837. "label": "宁武县",
  18838. "value": "140925"
  18839. }, {
  18840. "label": "静乐县",
  18841. "value": "140926"
  18842. }, {
  18843. "label": "神池县",
  18844. "value": "140927"
  18845. }, {
  18846. "label": "五寨县",
  18847. "value": "140928"
  18848. }, {
  18849. "label": "岢岚县",
  18850. "value": "140929"
  18851. }, {
  18852. "label": "河曲县",
  18853. "value": "140930"
  18854. }, {
  18855. "label": "保德县",
  18856. "value": "140931"
  18857. }, {
  18858. "label": "偏关县",
  18859. "value": "140932"
  18860. }, {
  18861. "label": "五台山风景名胜区",
  18862. "value": "140971"
  18863. }, {
  18864. "label": "原平市",
  18865. "value": "140981"
  18866. }], [{
  18867. "label": "尧都区",
  18868. "value": "141002"
  18869. }, {
  18870. "label": "曲沃县",
  18871. "value": "141021"
  18872. }, {
  18873. "label": "翼城县",
  18874. "value": "141022"
  18875. }, {
  18876. "label": "襄汾县",
  18877. "value": "141023"
  18878. }, {
  18879. "label": "洪洞县",
  18880. "value": "141024"
  18881. }, {
  18882. "label": "古县",
  18883. "value": "141025"
  18884. }, {
  18885. "label": "安泽县",
  18886. "value": "141026"
  18887. }, {
  18888. "label": "浮山县",
  18889. "value": "141027"
  18890. }, {
  18891. "label": "吉县",
  18892. "value": "141028"
  18893. }, {
  18894. "label": "乡宁县",
  18895. "value": "141029"
  18896. }, {
  18897. "label": "大宁县",
  18898. "value": "141030"
  18899. }, {
  18900. "label": "隰县",
  18901. "value": "141031"
  18902. }, {
  18903. "label": "永和县",
  18904. "value": "141032"
  18905. }, {
  18906. "label": "蒲县",
  18907. "value": "141033"
  18908. }, {
  18909. "label": "汾西县",
  18910. "value": "141034"
  18911. }, {
  18912. "label": "侯马市",
  18913. "value": "141081"
  18914. }, {
  18915. "label": "霍州市",
  18916. "value": "141082"
  18917. }], [{
  18918. "label": "离石区",
  18919. "value": "141102"
  18920. }, {
  18921. "label": "文水县",
  18922. "value": "141121"
  18923. }, {
  18924. "label": "交城县",
  18925. "value": "141122"
  18926. }, {
  18927. "label": "兴县",
  18928. "value": "141123"
  18929. }, {
  18930. "label": "临县",
  18931. "value": "141124"
  18932. }, {
  18933. "label": "柳林县",
  18934. "value": "141125"
  18935. }, {
  18936. "label": "石楼县",
  18937. "value": "141126"
  18938. }, {
  18939. "label": "岚县",
  18940. "value": "141127"
  18941. }, {
  18942. "label": "方山县",
  18943. "value": "141128"
  18944. }, {
  18945. "label": "中阳县",
  18946. "value": "141129"
  18947. }, {
  18948. "label": "交口县",
  18949. "value": "141130"
  18950. }, {
  18951. "label": "孝义市",
  18952. "value": "141181"
  18953. }, {
  18954. "label": "汾阳市",
  18955. "value": "141182"
  18956. }]], [[{
  18957. "label": "新城区",
  18958. "value": "150102"
  18959. }, {
  18960. "label": "回民区",
  18961. "value": "150103"
  18962. }, {
  18963. "label": "玉泉区",
  18964. "value": "150104"
  18965. }, {
  18966. "label": "赛罕区",
  18967. "value": "150105"
  18968. }, {
  18969. "label": "土默特左旗",
  18970. "value": "150121"
  18971. }, {
  18972. "label": "托克托县",
  18973. "value": "150122"
  18974. }, {
  18975. "label": "和林格尔县",
  18976. "value": "150123"
  18977. }, {
  18978. "label": "清水河县",
  18979. "value": "150124"
  18980. }, {
  18981. "label": "武川县",
  18982. "value": "150125"
  18983. }, {
  18984. "label": "呼和浩特金海工业园区",
  18985. "value": "150171"
  18986. }, {
  18987. "label": "呼和浩特经济技术开发区",
  18988. "value": "150172"
  18989. }], [{
  18990. "label": "东河区",
  18991. "value": "150202"
  18992. }, {
  18993. "label": "昆都仑区",
  18994. "value": "150203"
  18995. }, {
  18996. "label": "青山区",
  18997. "value": "150204"
  18998. }, {
  18999. "label": "石拐区",
  19000. "value": "150205"
  19001. }, {
  19002. "label": "白云鄂博矿区",
  19003. "value": "150206"
  19004. }, {
  19005. "label": "九原区",
  19006. "value": "150207"
  19007. }, {
  19008. "label": "土默特右旗",
  19009. "value": "150221"
  19010. }, {
  19011. "label": "固阳县",
  19012. "value": "150222"
  19013. }, {
  19014. "label": "达尔罕茂明安联合旗",
  19015. "value": "150223"
  19016. }, {
  19017. "label": "包头稀土高新技术产业开发区",
  19018. "value": "150271"
  19019. }], [{
  19020. "label": "海勃湾区",
  19021. "value": "150302"
  19022. }, {
  19023. "label": "海南区",
  19024. "value": "150303"
  19025. }, {
  19026. "label": "乌达区",
  19027. "value": "150304"
  19028. }], [{
  19029. "label": "红山区",
  19030. "value": "150402"
  19031. }, {
  19032. "label": "元宝山区",
  19033. "value": "150403"
  19034. }, {
  19035. "label": "松山区",
  19036. "value": "150404"
  19037. }, {
  19038. "label": "阿鲁科尔沁旗",
  19039. "value": "150421"
  19040. }, {
  19041. "label": "巴林左旗",
  19042. "value": "150422"
  19043. }, {
  19044. "label": "巴林右旗",
  19045. "value": "150423"
  19046. }, {
  19047. "label": "林西县",
  19048. "value": "150424"
  19049. }, {
  19050. "label": "克什克腾旗",
  19051. "value": "150425"
  19052. }, {
  19053. "label": "翁牛特旗",
  19054. "value": "150426"
  19055. }, {
  19056. "label": "喀喇沁旗",
  19057. "value": "150428"
  19058. }, {
  19059. "label": "宁城县",
  19060. "value": "150429"
  19061. }, {
  19062. "label": "敖汉旗",
  19063. "value": "150430"
  19064. }], [{
  19065. "label": "科尔沁区",
  19066. "value": "150502"
  19067. }, {
  19068. "label": "科尔沁左翼中旗",
  19069. "value": "150521"
  19070. }, {
  19071. "label": "科尔沁左翼后旗",
  19072. "value": "150522"
  19073. }, {
  19074. "label": "开鲁县",
  19075. "value": "150523"
  19076. }, {
  19077. "label": "库伦旗",
  19078. "value": "150524"
  19079. }, {
  19080. "label": "奈曼旗",
  19081. "value": "150525"
  19082. }, {
  19083. "label": "扎鲁特旗",
  19084. "value": "150526"
  19085. }, {
  19086. "label": "通辽经济技术开发区",
  19087. "value": "150571"
  19088. }, {
  19089. "label": "霍林郭勒市",
  19090. "value": "150581"
  19091. }], [{
  19092. "label": "东胜区",
  19093. "value": "150602"
  19094. }, {
  19095. "label": "康巴什区",
  19096. "value": "150603"
  19097. }, {
  19098. "label": "达拉特旗",
  19099. "value": "150621"
  19100. }, {
  19101. "label": "准格尔旗",
  19102. "value": "150622"
  19103. }, {
  19104. "label": "鄂托克前旗",
  19105. "value": "150623"
  19106. }, {
  19107. "label": "鄂托克旗",
  19108. "value": "150624"
  19109. }, {
  19110. "label": "杭锦旗",
  19111. "value": "150625"
  19112. }, {
  19113. "label": "乌审旗",
  19114. "value": "150626"
  19115. }, {
  19116. "label": "伊金霍洛旗",
  19117. "value": "150627"
  19118. }], [{
  19119. "label": "海拉尔区",
  19120. "value": "150702"
  19121. }, {
  19122. "label": "扎赉诺尔区",
  19123. "value": "150703"
  19124. }, {
  19125. "label": "阿荣旗",
  19126. "value": "150721"
  19127. }, {
  19128. "label": "莫力达瓦达斡尔族自治旗",
  19129. "value": "150722"
  19130. }, {
  19131. "label": "鄂伦春自治旗",
  19132. "value": "150723"
  19133. }, {
  19134. "label": "鄂温克族自治旗",
  19135. "value": "150724"
  19136. }, {
  19137. "label": "陈巴尔虎旗",
  19138. "value": "150725"
  19139. }, {
  19140. "label": "新巴尔虎左旗",
  19141. "value": "150726"
  19142. }, {
  19143. "label": "新巴尔虎右旗",
  19144. "value": "150727"
  19145. }, {
  19146. "label": "满洲里市",
  19147. "value": "150781"
  19148. }, {
  19149. "label": "牙克石市",
  19150. "value": "150782"
  19151. }, {
  19152. "label": "扎兰屯市",
  19153. "value": "150783"
  19154. }, {
  19155. "label": "额尔古纳市",
  19156. "value": "150784"
  19157. }, {
  19158. "label": "根河市",
  19159. "value": "150785"
  19160. }], [{
  19161. "label": "临河区",
  19162. "value": "150802"
  19163. }, {
  19164. "label": "五原县",
  19165. "value": "150821"
  19166. }, {
  19167. "label": "磴口县",
  19168. "value": "150822"
  19169. }, {
  19170. "label": "乌拉特前旗",
  19171. "value": "150823"
  19172. }, {
  19173. "label": "乌拉特中旗",
  19174. "value": "150824"
  19175. }, {
  19176. "label": "乌拉特后旗",
  19177. "value": "150825"
  19178. }, {
  19179. "label": "杭锦后旗",
  19180. "value": "150826"
  19181. }], [{
  19182. "label": "集宁区",
  19183. "value": "150902"
  19184. }, {
  19185. "label": "卓资县",
  19186. "value": "150921"
  19187. }, {
  19188. "label": "化德县",
  19189. "value": "150922"
  19190. }, {
  19191. "label": "商都县",
  19192. "value": "150923"
  19193. }, {
  19194. "label": "兴和县",
  19195. "value": "150924"
  19196. }, {
  19197. "label": "凉城县",
  19198. "value": "150925"
  19199. }, {
  19200. "label": "察哈尔右翼前旗",
  19201. "value": "150926"
  19202. }, {
  19203. "label": "察哈尔右翼中旗",
  19204. "value": "150927"
  19205. }, {
  19206. "label": "察哈尔右翼后旗",
  19207. "value": "150928"
  19208. }, {
  19209. "label": "四子王旗",
  19210. "value": "150929"
  19211. }, {
  19212. "label": "丰镇市",
  19213. "value": "150981"
  19214. }], [{
  19215. "label": "乌兰浩特市",
  19216. "value": "152201"
  19217. }, {
  19218. "label": "阿尔山市",
  19219. "value": "152202"
  19220. }, {
  19221. "label": "科尔沁右翼前旗",
  19222. "value": "152221"
  19223. }, {
  19224. "label": "科尔沁右翼中旗",
  19225. "value": "152222"
  19226. }, {
  19227. "label": "扎赉特旗",
  19228. "value": "152223"
  19229. }, {
  19230. "label": "突泉县",
  19231. "value": "152224"
  19232. }], [{
  19233. "label": "二连浩特市",
  19234. "value": "152501"
  19235. }, {
  19236. "label": "锡林浩特市",
  19237. "value": "152502"
  19238. }, {
  19239. "label": "阿巴嘎旗",
  19240. "value": "152522"
  19241. }, {
  19242. "label": "苏尼特左旗",
  19243. "value": "152523"
  19244. }, {
  19245. "label": "苏尼特右旗",
  19246. "value": "152524"
  19247. }, {
  19248. "label": "东乌珠穆沁旗",
  19249. "value": "152525"
  19250. }, {
  19251. "label": "西乌珠穆沁旗",
  19252. "value": "152526"
  19253. }, {
  19254. "label": "太仆寺旗",
  19255. "value": "152527"
  19256. }, {
  19257. "label": "镶黄旗",
  19258. "value": "152528"
  19259. }, {
  19260. "label": "正镶白旗",
  19261. "value": "152529"
  19262. }, {
  19263. "label": "正蓝旗",
  19264. "value": "152530"
  19265. }, {
  19266. "label": "多伦县",
  19267. "value": "152531"
  19268. }, {
  19269. "label": "乌拉盖管委会",
  19270. "value": "152571"
  19271. }], [{
  19272. "label": "阿拉善左旗",
  19273. "value": "152921"
  19274. }, {
  19275. "label": "阿拉善右旗",
  19276. "value": "152922"
  19277. }, {
  19278. "label": "额济纳旗",
  19279. "value": "152923"
  19280. }, {
  19281. "label": "内蒙古阿拉善经济开发区",
  19282. "value": "152971"
  19283. }]], [[{
  19284. "label": "和平区",
  19285. "value": "210102"
  19286. }, {
  19287. "label": "沈河区",
  19288. "value": "210103"
  19289. }, {
  19290. "label": "大东区",
  19291. "value": "210104"
  19292. }, {
  19293. "label": "皇姑区",
  19294. "value": "210105"
  19295. }, {
  19296. "label": "铁西区",
  19297. "value": "210106"
  19298. }, {
  19299. "label": "苏家屯区",
  19300. "value": "210111"
  19301. }, {
  19302. "label": "浑南区",
  19303. "value": "210112"
  19304. }, {
  19305. "label": "沈北新区",
  19306. "value": "210113"
  19307. }, {
  19308. "label": "于洪区",
  19309. "value": "210114"
  19310. }, {
  19311. "label": "辽中区",
  19312. "value": "210115"
  19313. }, {
  19314. "label": "康平县",
  19315. "value": "210123"
  19316. }, {
  19317. "label": "法库县",
  19318. "value": "210124"
  19319. }, {
  19320. "label": "新民市",
  19321. "value": "210181"
  19322. }], [{
  19323. "label": "中山区",
  19324. "value": "210202"
  19325. }, {
  19326. "label": "西岗区",
  19327. "value": "210203"
  19328. }, {
  19329. "label": "沙河口区",
  19330. "value": "210204"
  19331. }, {
  19332. "label": "甘井子区",
  19333. "value": "210211"
  19334. }, {
  19335. "label": "旅顺口区",
  19336. "value": "210212"
  19337. }, {
  19338. "label": "金州区",
  19339. "value": "210213"
  19340. }, {
  19341. "label": "普兰店区",
  19342. "value": "210214"
  19343. }, {
  19344. "label": "长海县",
  19345. "value": "210224"
  19346. }, {
  19347. "label": "瓦房店市",
  19348. "value": "210281"
  19349. }, {
  19350. "label": "庄河市",
  19351. "value": "210283"
  19352. }], [{
  19353. "label": "铁东区",
  19354. "value": "210302"
  19355. }, {
  19356. "label": "铁西区",
  19357. "value": "210303"
  19358. }, {
  19359. "label": "立山区",
  19360. "value": "210304"
  19361. }, {
  19362. "label": "千山区",
  19363. "value": "210311"
  19364. }, {
  19365. "label": "台安县",
  19366. "value": "210321"
  19367. }, {
  19368. "label": "岫岩满族自治县",
  19369. "value": "210323"
  19370. }, {
  19371. "label": "海城市",
  19372. "value": "210381"
  19373. }], [{
  19374. "label": "新抚区",
  19375. "value": "210402"
  19376. }, {
  19377. "label": "东洲区",
  19378. "value": "210403"
  19379. }, {
  19380. "label": "望花区",
  19381. "value": "210404"
  19382. }, {
  19383. "label": "顺城区",
  19384. "value": "210411"
  19385. }, {
  19386. "label": "抚顺县",
  19387. "value": "210421"
  19388. }, {
  19389. "label": "新宾满族自治县",
  19390. "value": "210422"
  19391. }, {
  19392. "label": "清原满族自治县",
  19393. "value": "210423"
  19394. }], [{
  19395. "label": "平山区",
  19396. "value": "210502"
  19397. }, {
  19398. "label": "溪湖区",
  19399. "value": "210503"
  19400. }, {
  19401. "label": "明山区",
  19402. "value": "210504"
  19403. }, {
  19404. "label": "南芬区",
  19405. "value": "210505"
  19406. }, {
  19407. "label": "本溪满族自治县",
  19408. "value": "210521"
  19409. }, {
  19410. "label": "桓仁满族自治县",
  19411. "value": "210522"
  19412. }], [{
  19413. "label": "元宝区",
  19414. "value": "210602"
  19415. }, {
  19416. "label": "振兴区",
  19417. "value": "210603"
  19418. }, {
  19419. "label": "振安区",
  19420. "value": "210604"
  19421. }, {
  19422. "label": "宽甸满族自治县",
  19423. "value": "210624"
  19424. }, {
  19425. "label": "东港市",
  19426. "value": "210681"
  19427. }, {
  19428. "label": "凤城市",
  19429. "value": "210682"
  19430. }], [{
  19431. "label": "古塔区",
  19432. "value": "210702"
  19433. }, {
  19434. "label": "凌河区",
  19435. "value": "210703"
  19436. }, {
  19437. "label": "太和区",
  19438. "value": "210711"
  19439. }, {
  19440. "label": "黑山县",
  19441. "value": "210726"
  19442. }, {
  19443. "label": "义县",
  19444. "value": "210727"
  19445. }, {
  19446. "label": "凌海市",
  19447. "value": "210781"
  19448. }, {
  19449. "label": "北镇市",
  19450. "value": "210782"
  19451. }], [{
  19452. "label": "站前区",
  19453. "value": "210802"
  19454. }, {
  19455. "label": "西市区",
  19456. "value": "210803"
  19457. }, {
  19458. "label": "鲅鱼圈区",
  19459. "value": "210804"
  19460. }, {
  19461. "label": "老边区",
  19462. "value": "210811"
  19463. }, {
  19464. "label": "盖州市",
  19465. "value": "210881"
  19466. }, {
  19467. "label": "大石桥市",
  19468. "value": "210882"
  19469. }], [{
  19470. "label": "海州区",
  19471. "value": "210902"
  19472. }, {
  19473. "label": "新邱区",
  19474. "value": "210903"
  19475. }, {
  19476. "label": "太平区",
  19477. "value": "210904"
  19478. }, {
  19479. "label": "清河门区",
  19480. "value": "210905"
  19481. }, {
  19482. "label": "细河区",
  19483. "value": "210911"
  19484. }, {
  19485. "label": "阜新蒙古族自治县",
  19486. "value": "210921"
  19487. }, {
  19488. "label": "彰武县",
  19489. "value": "210922"
  19490. }], [{
  19491. "label": "白塔区",
  19492. "value": "211002"
  19493. }, {
  19494. "label": "文圣区",
  19495. "value": "211003"
  19496. }, {
  19497. "label": "宏伟区",
  19498. "value": "211004"
  19499. }, {
  19500. "label": "弓长岭区",
  19501. "value": "211005"
  19502. }, {
  19503. "label": "太子河区",
  19504. "value": "211011"
  19505. }, {
  19506. "label": "辽阳县",
  19507. "value": "211021"
  19508. }, {
  19509. "label": "灯塔市",
  19510. "value": "211081"
  19511. }], [{
  19512. "label": "双台子区",
  19513. "value": "211102"
  19514. }, {
  19515. "label": "兴隆台区",
  19516. "value": "211103"
  19517. }, {
  19518. "label": "大洼区",
  19519. "value": "211104"
  19520. }, {
  19521. "label": "盘山县",
  19522. "value": "211122"
  19523. }], [{
  19524. "label": "银州区",
  19525. "value": "211202"
  19526. }, {
  19527. "label": "清河区",
  19528. "value": "211204"
  19529. }, {
  19530. "label": "铁岭县",
  19531. "value": "211221"
  19532. }, {
  19533. "label": "西丰县",
  19534. "value": "211223"
  19535. }, {
  19536. "label": "昌图县",
  19537. "value": "211224"
  19538. }, {
  19539. "label": "调兵山市",
  19540. "value": "211281"
  19541. }, {
  19542. "label": "开原市",
  19543. "value": "211282"
  19544. }], [{
  19545. "label": "双塔区",
  19546. "value": "211302"
  19547. }, {
  19548. "label": "龙城区",
  19549. "value": "211303"
  19550. }, {
  19551. "label": "朝阳县",
  19552. "value": "211321"
  19553. }, {
  19554. "label": "建平县",
  19555. "value": "211322"
  19556. }, {
  19557. "label": "喀喇沁左翼蒙古族自治县",
  19558. "value": "211324"
  19559. }, {
  19560. "label": "北票市",
  19561. "value": "211381"
  19562. }, {
  19563. "label": "凌源市",
  19564. "value": "211382"
  19565. }], [{
  19566. "label": "连山区",
  19567. "value": "211402"
  19568. }, {
  19569. "label": "龙港区",
  19570. "value": "211403"
  19571. }, {
  19572. "label": "南票区",
  19573. "value": "211404"
  19574. }, {
  19575. "label": "绥中县",
  19576. "value": "211421"
  19577. }, {
  19578. "label": "建昌县",
  19579. "value": "211422"
  19580. }, {
  19581. "label": "兴城市",
  19582. "value": "211481"
  19583. }]], [[{
  19584. "label": "南关区",
  19585. "value": "220102"
  19586. }, {
  19587. "label": "宽城区",
  19588. "value": "220103"
  19589. }, {
  19590. "label": "朝阳区",
  19591. "value": "220104"
  19592. }, {
  19593. "label": "二道区",
  19594. "value": "220105"
  19595. }, {
  19596. "label": "绿园区",
  19597. "value": "220106"
  19598. }, {
  19599. "label": "双阳区",
  19600. "value": "220112"
  19601. }, {
  19602. "label": "九台区",
  19603. "value": "220113"
  19604. }, {
  19605. "label": "农安县",
  19606. "value": "220122"
  19607. }, {
  19608. "label": "长春经济技术开发区",
  19609. "value": "220171"
  19610. }, {
  19611. "label": "长春净月高新技术产业开发区",
  19612. "value": "220172"
  19613. }, {
  19614. "label": "长春高新技术产业开发区",
  19615. "value": "220173"
  19616. }, {
  19617. "label": "长春汽车经济技术开发区",
  19618. "value": "220174"
  19619. }, {
  19620. "label": "榆树市",
  19621. "value": "220182"
  19622. }, {
  19623. "label": "德惠市",
  19624. "value": "220183"
  19625. }], [{
  19626. "label": "昌邑区",
  19627. "value": "220202"
  19628. }, {
  19629. "label": "龙潭区",
  19630. "value": "220203"
  19631. }, {
  19632. "label": "船营区",
  19633. "value": "220204"
  19634. }, {
  19635. "label": "丰满区",
  19636. "value": "220211"
  19637. }, {
  19638. "label": "永吉县",
  19639. "value": "220221"
  19640. }, {
  19641. "label": "吉林经济开发区",
  19642. "value": "220271"
  19643. }, {
  19644. "label": "吉林高新技术产业开发区",
  19645. "value": "220272"
  19646. }, {
  19647. "label": "吉林中国新加坡食品区",
  19648. "value": "220273"
  19649. }, {
  19650. "label": "蛟河市",
  19651. "value": "220281"
  19652. }, {
  19653. "label": "桦甸市",
  19654. "value": "220282"
  19655. }, {
  19656. "label": "舒兰市",
  19657. "value": "220283"
  19658. }, {
  19659. "label": "磐石市",
  19660. "value": "220284"
  19661. }], [{
  19662. "label": "铁西区",
  19663. "value": "220302"
  19664. }, {
  19665. "label": "铁东区",
  19666. "value": "220303"
  19667. }, {
  19668. "label": "梨树县",
  19669. "value": "220322"
  19670. }, {
  19671. "label": "伊通满族自治县",
  19672. "value": "220323"
  19673. }, {
  19674. "label": "公主岭市",
  19675. "value": "220381"
  19676. }, {
  19677. "label": "双辽市",
  19678. "value": "220382"
  19679. }], [{
  19680. "label": "龙山区",
  19681. "value": "220402"
  19682. }, {
  19683. "label": "西安区",
  19684. "value": "220403"
  19685. }, {
  19686. "label": "东丰县",
  19687. "value": "220421"
  19688. }, {
  19689. "label": "东辽县",
  19690. "value": "220422"
  19691. }], [{
  19692. "label": "东昌区",
  19693. "value": "220502"
  19694. }, {
  19695. "label": "二道江区",
  19696. "value": "220503"
  19697. }, {
  19698. "label": "通化县",
  19699. "value": "220521"
  19700. }, {
  19701. "label": "辉南县",
  19702. "value": "220523"
  19703. }, {
  19704. "label": "柳河县",
  19705. "value": "220524"
  19706. }, {
  19707. "label": "梅河口市",
  19708. "value": "220581"
  19709. }, {
  19710. "label": "集安市",
  19711. "value": "220582"
  19712. }], [{
  19713. "label": "浑江区",
  19714. "value": "220602"
  19715. }, {
  19716. "label": "江源区",
  19717. "value": "220605"
  19718. }, {
  19719. "label": "抚松县",
  19720. "value": "220621"
  19721. }, {
  19722. "label": "靖宇县",
  19723. "value": "220622"
  19724. }, {
  19725. "label": "长白朝鲜族自治县",
  19726. "value": "220623"
  19727. }, {
  19728. "label": "临江市",
  19729. "value": "220681"
  19730. }], [{
  19731. "label": "宁江区",
  19732. "value": "220702"
  19733. }, {
  19734. "label": "前郭尔罗斯蒙古族自治县",
  19735. "value": "220721"
  19736. }, {
  19737. "label": "长岭县",
  19738. "value": "220722"
  19739. }, {
  19740. "label": "乾安县",
  19741. "value": "220723"
  19742. }, {
  19743. "label": "吉林松原经济开发区",
  19744. "value": "220771"
  19745. }, {
  19746. "label": "扶余市",
  19747. "value": "220781"
  19748. }], [{
  19749. "label": "洮北区",
  19750. "value": "220802"
  19751. }, {
  19752. "label": "镇赉县",
  19753. "value": "220821"
  19754. }, {
  19755. "label": "通榆县",
  19756. "value": "220822"
  19757. }, {
  19758. "label": "吉林白城经济开发区",
  19759. "value": "220871"
  19760. }, {
  19761. "label": "洮南市",
  19762. "value": "220881"
  19763. }, {
  19764. "label": "大安市",
  19765. "value": "220882"
  19766. }], [{
  19767. "label": "延吉市",
  19768. "value": "222401"
  19769. }, {
  19770. "label": "图们市",
  19771. "value": "222402"
  19772. }, {
  19773. "label": "敦化市",
  19774. "value": "222403"
  19775. }, {
  19776. "label": "珲春市",
  19777. "value": "222404"
  19778. }, {
  19779. "label": "龙井市",
  19780. "value": "222405"
  19781. }, {
  19782. "label": "和龙市",
  19783. "value": "222406"
  19784. }, {
  19785. "label": "汪清县",
  19786. "value": "222424"
  19787. }, {
  19788. "label": "安图县",
  19789. "value": "222426"
  19790. }]], [[{
  19791. "label": "道里区",
  19792. "value": "230102"
  19793. }, {
  19794. "label": "南岗区",
  19795. "value": "230103"
  19796. }, {
  19797. "label": "道外区",
  19798. "value": "230104"
  19799. }, {
  19800. "label": "平房区",
  19801. "value": "230108"
  19802. }, {
  19803. "label": "松北区",
  19804. "value": "230109"
  19805. }, {
  19806. "label": "香坊区",
  19807. "value": "230110"
  19808. }, {
  19809. "label": "呼兰区",
  19810. "value": "230111"
  19811. }, {
  19812. "label": "阿城区",
  19813. "value": "230112"
  19814. }, {
  19815. "label": "双城区",
  19816. "value": "230113"
  19817. }, {
  19818. "label": "依兰县",
  19819. "value": "230123"
  19820. }, {
  19821. "label": "方正县",
  19822. "value": "230124"
  19823. }, {
  19824. "label": "宾县",
  19825. "value": "230125"
  19826. }, {
  19827. "label": "巴彦县",
  19828. "value": "230126"
  19829. }, {
  19830. "label": "木兰县",
  19831. "value": "230127"
  19832. }, {
  19833. "label": "通河县",
  19834. "value": "230128"
  19835. }, {
  19836. "label": "延寿县",
  19837. "value": "230129"
  19838. }, {
  19839. "label": "尚志市",
  19840. "value": "230183"
  19841. }, {
  19842. "label": "五常市",
  19843. "value": "230184"
  19844. }], [{
  19845. "label": "龙沙区",
  19846. "value": "230202"
  19847. }, {
  19848. "label": "建华区",
  19849. "value": "230203"
  19850. }, {
  19851. "label": "铁锋区",
  19852. "value": "230204"
  19853. }, {
  19854. "label": "昂昂溪区",
  19855. "value": "230205"
  19856. }, {
  19857. "label": "富拉尔基区",
  19858. "value": "230206"
  19859. }, {
  19860. "label": "碾子山区",
  19861. "value": "230207"
  19862. }, {
  19863. "label": "梅里斯达斡尔族区",
  19864. "value": "230208"
  19865. }, {
  19866. "label": "龙江县",
  19867. "value": "230221"
  19868. }, {
  19869. "label": "依安县",
  19870. "value": "230223"
  19871. }, {
  19872. "label": "泰来县",
  19873. "value": "230224"
  19874. }, {
  19875. "label": "甘南县",
  19876. "value": "230225"
  19877. }, {
  19878. "label": "富裕县",
  19879. "value": "230227"
  19880. }, {
  19881. "label": "克山县",
  19882. "value": "230229"
  19883. }, {
  19884. "label": "克东县",
  19885. "value": "230230"
  19886. }, {
  19887. "label": "拜泉县",
  19888. "value": "230231"
  19889. }, {
  19890. "label": "讷河市",
  19891. "value": "230281"
  19892. }], [{
  19893. "label": "鸡冠区",
  19894. "value": "230302"
  19895. }, {
  19896. "label": "恒山区",
  19897. "value": "230303"
  19898. }, {
  19899. "label": "滴道区",
  19900. "value": "230304"
  19901. }, {
  19902. "label": "梨树区",
  19903. "value": "230305"
  19904. }, {
  19905. "label": "城子河区",
  19906. "value": "230306"
  19907. }, {
  19908. "label": "麻山区",
  19909. "value": "230307"
  19910. }, {
  19911. "label": "鸡东县",
  19912. "value": "230321"
  19913. }, {
  19914. "label": "虎林市",
  19915. "value": "230381"
  19916. }, {
  19917. "label": "密山市",
  19918. "value": "230382"
  19919. }], [{
  19920. "label": "向阳区",
  19921. "value": "230402"
  19922. }, {
  19923. "label": "工农区",
  19924. "value": "230403"
  19925. }, {
  19926. "label": "南山区",
  19927. "value": "230404"
  19928. }, {
  19929. "label": "兴安区",
  19930. "value": "230405"
  19931. }, {
  19932. "label": "东山区",
  19933. "value": "230406"
  19934. }, {
  19935. "label": "兴山区",
  19936. "value": "230407"
  19937. }, {
  19938. "label": "萝北县",
  19939. "value": "230421"
  19940. }, {
  19941. "label": "绥滨县",
  19942. "value": "230422"
  19943. }], [{
  19944. "label": "尖山区",
  19945. "value": "230502"
  19946. }, {
  19947. "label": "岭东区",
  19948. "value": "230503"
  19949. }, {
  19950. "label": "四方台区",
  19951. "value": "230505"
  19952. }, {
  19953. "label": "宝山区",
  19954. "value": "230506"
  19955. }, {
  19956. "label": "集贤县",
  19957. "value": "230521"
  19958. }, {
  19959. "label": "友谊县",
  19960. "value": "230522"
  19961. }, {
  19962. "label": "宝清县",
  19963. "value": "230523"
  19964. }, {
  19965. "label": "饶河县",
  19966. "value": "230524"
  19967. }], [{
  19968. "label": "萨尔图区",
  19969. "value": "230602"
  19970. }, {
  19971. "label": "龙凤区",
  19972. "value": "230603"
  19973. }, {
  19974. "label": "让胡路区",
  19975. "value": "230604"
  19976. }, {
  19977. "label": "红岗区",
  19978. "value": "230605"
  19979. }, {
  19980. "label": "大同区",
  19981. "value": "230606"
  19982. }, {
  19983. "label": "肇州县",
  19984. "value": "230621"
  19985. }, {
  19986. "label": "肇源县",
  19987. "value": "230622"
  19988. }, {
  19989. "label": "林甸县",
  19990. "value": "230623"
  19991. }, {
  19992. "label": "杜尔伯特蒙古族自治县",
  19993. "value": "230624"
  19994. }, {
  19995. "label": "大庆高新技术产业开发区",
  19996. "value": "230671"
  19997. }], [{
  19998. "label": "伊春区",
  19999. "value": "230702"
  20000. }, {
  20001. "label": "南岔区",
  20002. "value": "230703"
  20003. }, {
  20004. "label": "友好区",
  20005. "value": "230704"
  20006. }, {
  20007. "label": "西林区",
  20008. "value": "230705"
  20009. }, {
  20010. "label": "翠峦区",
  20011. "value": "230706"
  20012. }, {
  20013. "label": "新青区",
  20014. "value": "230707"
  20015. }, {
  20016. "label": "美溪区",
  20017. "value": "230708"
  20018. }, {
  20019. "label": "金山屯区",
  20020. "value": "230709"
  20021. }, {
  20022. "label": "五营区",
  20023. "value": "230710"
  20024. }, {
  20025. "label": "乌马河区",
  20026. "value": "230711"
  20027. }, {
  20028. "label": "汤旺河区",
  20029. "value": "230712"
  20030. }, {
  20031. "label": "带岭区",
  20032. "value": "230713"
  20033. }, {
  20034. "label": "乌伊岭区",
  20035. "value": "230714"
  20036. }, {
  20037. "label": "红星区",
  20038. "value": "230715"
  20039. }, {
  20040. "label": "上甘岭区",
  20041. "value": "230716"
  20042. }, {
  20043. "label": "嘉荫县",
  20044. "value": "230722"
  20045. }, {
  20046. "label": "铁力市",
  20047. "value": "230781"
  20048. }], [{
  20049. "label": "向阳区",
  20050. "value": "230803"
  20051. }, {
  20052. "label": "前进区",
  20053. "value": "230804"
  20054. }, {
  20055. "label": "东风区",
  20056. "value": "230805"
  20057. }, {
  20058. "label": "郊区",
  20059. "value": "230811"
  20060. }, {
  20061. "label": "桦南县",
  20062. "value": "230822"
  20063. }, {
  20064. "label": "桦川县",
  20065. "value": "230826"
  20066. }, {
  20067. "label": "汤原县",
  20068. "value": "230828"
  20069. }, {
  20070. "label": "同江市",
  20071. "value": "230881"
  20072. }, {
  20073. "label": "富锦市",
  20074. "value": "230882"
  20075. }, {
  20076. "label": "抚远市",
  20077. "value": "230883"
  20078. }], [{
  20079. "label": "新兴区",
  20080. "value": "230902"
  20081. }, {
  20082. "label": "桃山区",
  20083. "value": "230903"
  20084. }, {
  20085. "label": "茄子河区",
  20086. "value": "230904"
  20087. }, {
  20088. "label": "勃利县",
  20089. "value": "230921"
  20090. }], [{
  20091. "label": "东安区",
  20092. "value": "231002"
  20093. }, {
  20094. "label": "阳明区",
  20095. "value": "231003"
  20096. }, {
  20097. "label": "爱民区",
  20098. "value": "231004"
  20099. }, {
  20100. "label": "西安区",
  20101. "value": "231005"
  20102. }, {
  20103. "label": "林口县",
  20104. "value": "231025"
  20105. }, {
  20106. "label": "牡丹江经济技术开发区",
  20107. "value": "231071"
  20108. }, {
  20109. "label": "绥芬河市",
  20110. "value": "231081"
  20111. }, {
  20112. "label": "海林市",
  20113. "value": "231083"
  20114. }, {
  20115. "label": "宁安市",
  20116. "value": "231084"
  20117. }, {
  20118. "label": "穆棱市",
  20119. "value": "231085"
  20120. }, {
  20121. "label": "东宁市",
  20122. "value": "231086"
  20123. }], [{
  20124. "label": "爱辉区",
  20125. "value": "231102"
  20126. }, {
  20127. "label": "嫩江县",
  20128. "value": "231121"
  20129. }, {
  20130. "label": "逊克县",
  20131. "value": "231123"
  20132. }, {
  20133. "label": "孙吴县",
  20134. "value": "231124"
  20135. }, {
  20136. "label": "北安市",
  20137. "value": "231181"
  20138. }, {
  20139. "label": "五大连池市",
  20140. "value": "231182"
  20141. }], [{
  20142. "label": "北林区",
  20143. "value": "231202"
  20144. }, {
  20145. "label": "望奎县",
  20146. "value": "231221"
  20147. }, {
  20148. "label": "兰西县",
  20149. "value": "231222"
  20150. }, {
  20151. "label": "青冈县",
  20152. "value": "231223"
  20153. }, {
  20154. "label": "庆安县",
  20155. "value": "231224"
  20156. }, {
  20157. "label": "明水县",
  20158. "value": "231225"
  20159. }, {
  20160. "label": "绥棱县",
  20161. "value": "231226"
  20162. }, {
  20163. "label": "安达市",
  20164. "value": "231281"
  20165. }, {
  20166. "label": "肇东市",
  20167. "value": "231282"
  20168. }, {
  20169. "label": "海伦市",
  20170. "value": "231283"
  20171. }], [{
  20172. "label": "加格达奇区",
  20173. "value": "232701"
  20174. }, {
  20175. "label": "松岭区",
  20176. "value": "232702"
  20177. }, {
  20178. "label": "新林区",
  20179. "value": "232703"
  20180. }, {
  20181. "label": "呼中区",
  20182. "value": "232704"
  20183. }, {
  20184. "label": "呼玛县",
  20185. "value": "232721"
  20186. }, {
  20187. "label": "塔河县",
  20188. "value": "232722"
  20189. }, {
  20190. "label": "漠河县",
  20191. "value": "232723"
  20192. }]], [[{
  20193. "label": "黄浦区",
  20194. "value": "310101"
  20195. }, {
  20196. "label": "徐汇区",
  20197. "value": "310104"
  20198. }, {
  20199. "label": "长宁区",
  20200. "value": "310105"
  20201. }, {
  20202. "label": "静安区",
  20203. "value": "310106"
  20204. }, {
  20205. "label": "普陀区",
  20206. "value": "310107"
  20207. }, {
  20208. "label": "虹口区",
  20209. "value": "310109"
  20210. }, {
  20211. "label": "杨浦区",
  20212. "value": "310110"
  20213. }, {
  20214. "label": "闵行区",
  20215. "value": "310112"
  20216. }, {
  20217. "label": "宝山区",
  20218. "value": "310113"
  20219. }, {
  20220. "label": "嘉定区",
  20221. "value": "310114"
  20222. }, {
  20223. "label": "浦东新区",
  20224. "value": "310115"
  20225. }, {
  20226. "label": "金山区",
  20227. "value": "310116"
  20228. }, {
  20229. "label": "松江区",
  20230. "value": "310117"
  20231. }, {
  20232. "label": "青浦区",
  20233. "value": "310118"
  20234. }, {
  20235. "label": "奉贤区",
  20236. "value": "310120"
  20237. }, {
  20238. "label": "崇明区",
  20239. "value": "310151"
  20240. }]], [[{
  20241. "label": "玄武区",
  20242. "value": "320102"
  20243. }, {
  20244. "label": "秦淮区",
  20245. "value": "320104"
  20246. }, {
  20247. "label": "建邺区",
  20248. "value": "320105"
  20249. }, {
  20250. "label": "鼓楼区",
  20251. "value": "320106"
  20252. }, {
  20253. "label": "浦口区",
  20254. "value": "320111"
  20255. }, {
  20256. "label": "栖霞区",
  20257. "value": "320113"
  20258. }, {
  20259. "label": "雨花台区",
  20260. "value": "320114"
  20261. }, {
  20262. "label": "江宁区",
  20263. "value": "320115"
  20264. }, {
  20265. "label": "六合区",
  20266. "value": "320116"
  20267. }, {
  20268. "label": "溧水区",
  20269. "value": "320117"
  20270. }, {
  20271. "label": "高淳区",
  20272. "value": "320118"
  20273. }], [{
  20274. "label": "锡山区",
  20275. "value": "320205"
  20276. }, {
  20277. "label": "惠山区",
  20278. "value": "320206"
  20279. }, {
  20280. "label": "滨湖区",
  20281. "value": "320211"
  20282. }, {
  20283. "label": "梁溪区",
  20284. "value": "320213"
  20285. }, {
  20286. "label": "新吴区",
  20287. "value": "320214"
  20288. }, {
  20289. "label": "江阴市",
  20290. "value": "320281"
  20291. }, {
  20292. "label": "宜兴市",
  20293. "value": "320282"
  20294. }], [{
  20295. "label": "鼓楼区",
  20296. "value": "320302"
  20297. }, {
  20298. "label": "云龙区",
  20299. "value": "320303"
  20300. }, {
  20301. "label": "贾汪区",
  20302. "value": "320305"
  20303. }, {
  20304. "label": "泉山区",
  20305. "value": "320311"
  20306. }, {
  20307. "label": "铜山区",
  20308. "value": "320312"
  20309. }, {
  20310. "label": "丰县",
  20311. "value": "320321"
  20312. }, {
  20313. "label": "沛县",
  20314. "value": "320322"
  20315. }, {
  20316. "label": "睢宁县",
  20317. "value": "320324"
  20318. }, {
  20319. "label": "徐州经济技术开发区",
  20320. "value": "320371"
  20321. }, {
  20322. "label": "新沂市",
  20323. "value": "320381"
  20324. }, {
  20325. "label": "邳州市",
  20326. "value": "320382"
  20327. }], [{
  20328. "label": "天宁区",
  20329. "value": "320402"
  20330. }, {
  20331. "label": "钟楼区",
  20332. "value": "320404"
  20333. }, {
  20334. "label": "新北区",
  20335. "value": "320411"
  20336. }, {
  20337. "label": "武进区",
  20338. "value": "320412"
  20339. }, {
  20340. "label": "金坛区",
  20341. "value": "320413"
  20342. }, {
  20343. "label": "溧阳市",
  20344. "value": "320481"
  20345. }], [{
  20346. "label": "虎丘区",
  20347. "value": "320505"
  20348. }, {
  20349. "label": "吴中区",
  20350. "value": "320506"
  20351. }, {
  20352. "label": "相城区",
  20353. "value": "320507"
  20354. }, {
  20355. "label": "姑苏区",
  20356. "value": "320508"
  20357. }, {
  20358. "label": "吴江区",
  20359. "value": "320509"
  20360. }, {
  20361. "label": "苏州工业园区",
  20362. "value": "320571"
  20363. }, {
  20364. "label": "常熟市",
  20365. "value": "320581"
  20366. }, {
  20367. "label": "张家港市",
  20368. "value": "320582"
  20369. }, {
  20370. "label": "昆山市",
  20371. "value": "320583"
  20372. }, {
  20373. "label": "太仓市",
  20374. "value": "320585"
  20375. }], [{
  20376. "label": "崇川区",
  20377. "value": "320602"
  20378. }, {
  20379. "label": "港闸区",
  20380. "value": "320611"
  20381. }, {
  20382. "label": "通州区",
  20383. "value": "320612"
  20384. }, {
  20385. "label": "海安县",
  20386. "value": "320621"
  20387. }, {
  20388. "label": "如东县",
  20389. "value": "320623"
  20390. }, {
  20391. "label": "南通经济技术开发区",
  20392. "value": "320671"
  20393. }, {
  20394. "label": "启东市",
  20395. "value": "320681"
  20396. }, {
  20397. "label": "如皋市",
  20398. "value": "320682"
  20399. }, {
  20400. "label": "海门市",
  20401. "value": "320684"
  20402. }], [{
  20403. "label": "连云区",
  20404. "value": "320703"
  20405. }, {
  20406. "label": "海州区",
  20407. "value": "320706"
  20408. }, {
  20409. "label": "赣榆区",
  20410. "value": "320707"
  20411. }, {
  20412. "label": "东海县",
  20413. "value": "320722"
  20414. }, {
  20415. "label": "灌云县",
  20416. "value": "320723"
  20417. }, {
  20418. "label": "灌南县",
  20419. "value": "320724"
  20420. }, {
  20421. "label": "连云港经济技术开发区",
  20422. "value": "320771"
  20423. }, {
  20424. "label": "连云港高新技术产业开发区",
  20425. "value": "320772"
  20426. }], [{
  20427. "label": "淮安区",
  20428. "value": "320803"
  20429. }, {
  20430. "label": "淮阴区",
  20431. "value": "320804"
  20432. }, {
  20433. "label": "清江浦区",
  20434. "value": "320812"
  20435. }, {
  20436. "label": "洪泽区",
  20437. "value": "320813"
  20438. }, {
  20439. "label": "涟水县",
  20440. "value": "320826"
  20441. }, {
  20442. "label": "盱眙县",
  20443. "value": "320830"
  20444. }, {
  20445. "label": "金湖县",
  20446. "value": "320831"
  20447. }, {
  20448. "label": "淮安经济技术开发区",
  20449. "value": "320871"
  20450. }], [{
  20451. "label": "亭湖区",
  20452. "value": "320902"
  20453. }, {
  20454. "label": "盐都区",
  20455. "value": "320903"
  20456. }, {
  20457. "label": "大丰区",
  20458. "value": "320904"
  20459. }, {
  20460. "label": "响水县",
  20461. "value": "320921"
  20462. }, {
  20463. "label": "滨海县",
  20464. "value": "320922"
  20465. }, {
  20466. "label": "阜宁县",
  20467. "value": "320923"
  20468. }, {
  20469. "label": "射阳县",
  20470. "value": "320924"
  20471. }, {
  20472. "label": "建湖县",
  20473. "value": "320925"
  20474. }, {
  20475. "label": "盐城经济技术开发区",
  20476. "value": "320971"
  20477. }, {
  20478. "label": "东台市",
  20479. "value": "320981"
  20480. }], [{
  20481. "label": "广陵区",
  20482. "value": "321002"
  20483. }, {
  20484. "label": "邗江区",
  20485. "value": "321003"
  20486. }, {
  20487. "label": "江都区",
  20488. "value": "321012"
  20489. }, {
  20490. "label": "宝应县",
  20491. "value": "321023"
  20492. }, {
  20493. "label": "扬州经济技术开发区",
  20494. "value": "321071"
  20495. }, {
  20496. "label": "仪征市",
  20497. "value": "321081"
  20498. }, {
  20499. "label": "高邮市",
  20500. "value": "321084"
  20501. }], [{
  20502. "label": "京口区",
  20503. "value": "321102"
  20504. }, {
  20505. "label": "润州区",
  20506. "value": "321111"
  20507. }, {
  20508. "label": "丹徒区",
  20509. "value": "321112"
  20510. }, {
  20511. "label": "镇江新区",
  20512. "value": "321171"
  20513. }, {
  20514. "label": "丹阳市",
  20515. "value": "321181"
  20516. }, {
  20517. "label": "扬中市",
  20518. "value": "321182"
  20519. }, {
  20520. "label": "句容市",
  20521. "value": "321183"
  20522. }], [{
  20523. "label": "海陵区",
  20524. "value": "321202"
  20525. }, {
  20526. "label": "高港区",
  20527. "value": "321203"
  20528. }, {
  20529. "label": "姜堰区",
  20530. "value": "321204"
  20531. }, {
  20532. "label": "泰州医药高新技术产业开发区",
  20533. "value": "321271"
  20534. }, {
  20535. "label": "兴化市",
  20536. "value": "321281"
  20537. }, {
  20538. "label": "靖江市",
  20539. "value": "321282"
  20540. }, {
  20541. "label": "泰兴市",
  20542. "value": "321283"
  20543. }], [{
  20544. "label": "宿城区",
  20545. "value": "321302"
  20546. }, {
  20547. "label": "宿豫区",
  20548. "value": "321311"
  20549. }, {
  20550. "label": "沭阳县",
  20551. "value": "321322"
  20552. }, {
  20553. "label": "泗阳县",
  20554. "value": "321323"
  20555. }, {
  20556. "label": "泗洪县",
  20557. "value": "321324"
  20558. }, {
  20559. "label": "宿迁经济技术开发区",
  20560. "value": "321371"
  20561. }]], [[{
  20562. "label": "上城区",
  20563. "value": "330102"
  20564. }, {
  20565. "label": "下城区",
  20566. "value": "330103"
  20567. }, {
  20568. "label": "江干区",
  20569. "value": "330104"
  20570. }, {
  20571. "label": "拱墅区",
  20572. "value": "330105"
  20573. }, {
  20574. "label": "西湖区",
  20575. "value": "330106"
  20576. }, {
  20577. "label": "滨江区",
  20578. "value": "330108"
  20579. }, {
  20580. "label": "萧山区",
  20581. "value": "330109"
  20582. }, {
  20583. "label": "余杭区",
  20584. "value": "330110"
  20585. }, {
  20586. "label": "富阳区",
  20587. "value": "330111"
  20588. }, {
  20589. "label": "临安区",
  20590. "value": "330112"
  20591. }, {
  20592. "label": "桐庐县",
  20593. "value": "330122"
  20594. }, {
  20595. "label": "淳安县",
  20596. "value": "330127"
  20597. }, {
  20598. "label": "建德市",
  20599. "value": "330182"
  20600. }], [{
  20601. "label": "海曙区",
  20602. "value": "330203"
  20603. }, {
  20604. "label": "江北区",
  20605. "value": "330205"
  20606. }, {
  20607. "label": "北仑区",
  20608. "value": "330206"
  20609. }, {
  20610. "label": "镇海区",
  20611. "value": "330211"
  20612. }, {
  20613. "label": "鄞州区",
  20614. "value": "330212"
  20615. }, {
  20616. "label": "奉化区",
  20617. "value": "330213"
  20618. }, {
  20619. "label": "象山县",
  20620. "value": "330225"
  20621. }, {
  20622. "label": "宁海县",
  20623. "value": "330226"
  20624. }, {
  20625. "label": "余姚市",
  20626. "value": "330281"
  20627. }, {
  20628. "label": "慈溪市",
  20629. "value": "330282"
  20630. }], [{
  20631. "label": "鹿城区",
  20632. "value": "330302"
  20633. }, {
  20634. "label": "龙湾区",
  20635. "value": "330303"
  20636. }, {
  20637. "label": "瓯海区",
  20638. "value": "330304"
  20639. }, {
  20640. "label": "洞头区",
  20641. "value": "330305"
  20642. }, {
  20643. "label": "永嘉县",
  20644. "value": "330324"
  20645. }, {
  20646. "label": "平阳县",
  20647. "value": "330326"
  20648. }, {
  20649. "label": "苍南县",
  20650. "value": "330327"
  20651. }, {
  20652. "label": "文成县",
  20653. "value": "330328"
  20654. }, {
  20655. "label": "泰顺县",
  20656. "value": "330329"
  20657. }, {
  20658. "label": "温州经济技术开发区",
  20659. "value": "330371"
  20660. }, {
  20661. "label": "瑞安市",
  20662. "value": "330381"
  20663. }, {
  20664. "label": "乐清市",
  20665. "value": "330382"
  20666. }], [{
  20667. "label": "南湖区",
  20668. "value": "330402"
  20669. }, {
  20670. "label": "秀洲区",
  20671. "value": "330411"
  20672. }, {
  20673. "label": "嘉善县",
  20674. "value": "330421"
  20675. }, {
  20676. "label": "海盐县",
  20677. "value": "330424"
  20678. }, {
  20679. "label": "海宁市",
  20680. "value": "330481"
  20681. }, {
  20682. "label": "平湖市",
  20683. "value": "330482"
  20684. }, {
  20685. "label": "桐乡市",
  20686. "value": "330483"
  20687. }], [{
  20688. "label": "吴兴区",
  20689. "value": "330502"
  20690. }, {
  20691. "label": "南浔区",
  20692. "value": "330503"
  20693. }, {
  20694. "label": "德清县",
  20695. "value": "330521"
  20696. }, {
  20697. "label": "长兴县",
  20698. "value": "330522"
  20699. }, {
  20700. "label": "安吉县",
  20701. "value": "330523"
  20702. }], [{
  20703. "label": "越城区",
  20704. "value": "330602"
  20705. }, {
  20706. "label": "柯桥区",
  20707. "value": "330603"
  20708. }, {
  20709. "label": "上虞区",
  20710. "value": "330604"
  20711. }, {
  20712. "label": "新昌县",
  20713. "value": "330624"
  20714. }, {
  20715. "label": "诸暨市",
  20716. "value": "330681"
  20717. }, {
  20718. "label": "嵊州市",
  20719. "value": "330683"
  20720. }], [{
  20721. "label": "婺城区",
  20722. "value": "330702"
  20723. }, {
  20724. "label": "金东区",
  20725. "value": "330703"
  20726. }, {
  20727. "label": "武义县",
  20728. "value": "330723"
  20729. }, {
  20730. "label": "浦江县",
  20731. "value": "330726"
  20732. }, {
  20733. "label": "磐安县",
  20734. "value": "330727"
  20735. }, {
  20736. "label": "兰溪市",
  20737. "value": "330781"
  20738. }, {
  20739. "label": "义乌市",
  20740. "value": "330782"
  20741. }, {
  20742. "label": "东阳市",
  20743. "value": "330783"
  20744. }, {
  20745. "label": "永康市",
  20746. "value": "330784"
  20747. }], [{
  20748. "label": "柯城区",
  20749. "value": "330802"
  20750. }, {
  20751. "label": "衢江区",
  20752. "value": "330803"
  20753. }, {
  20754. "label": "常山县",
  20755. "value": "330822"
  20756. }, {
  20757. "label": "开化县",
  20758. "value": "330824"
  20759. }, {
  20760. "label": "龙游县",
  20761. "value": "330825"
  20762. }, {
  20763. "label": "江山市",
  20764. "value": "330881"
  20765. }], [{
  20766. "label": "定海区",
  20767. "value": "330902"
  20768. }, {
  20769. "label": "普陀区",
  20770. "value": "330903"
  20771. }, {
  20772. "label": "岱山县",
  20773. "value": "330921"
  20774. }, {
  20775. "label": "嵊泗县",
  20776. "value": "330922"
  20777. }], [{
  20778. "label": "椒江区",
  20779. "value": "331002"
  20780. }, {
  20781. "label": "黄岩区",
  20782. "value": "331003"
  20783. }, {
  20784. "label": "路桥区",
  20785. "value": "331004"
  20786. }, {
  20787. "label": "三门县",
  20788. "value": "331022"
  20789. }, {
  20790. "label": "天台县",
  20791. "value": "331023"
  20792. }, {
  20793. "label": "仙居县",
  20794. "value": "331024"
  20795. }, {
  20796. "label": "温岭市",
  20797. "value": "331081"
  20798. }, {
  20799. "label": "临海市",
  20800. "value": "331082"
  20801. }, {
  20802. "label": "玉环市",
  20803. "value": "331083"
  20804. }], [{
  20805. "label": "莲都区",
  20806. "value": "331102"
  20807. }, {
  20808. "label": "青田县",
  20809. "value": "331121"
  20810. }, {
  20811. "label": "缙云县",
  20812. "value": "331122"
  20813. }, {
  20814. "label": "遂昌县",
  20815. "value": "331123"
  20816. }, {
  20817. "label": "松阳县",
  20818. "value": "331124"
  20819. }, {
  20820. "label": "云和县",
  20821. "value": "331125"
  20822. }, {
  20823. "label": "庆元县",
  20824. "value": "331126"
  20825. }, {
  20826. "label": "景宁畲族自治县",
  20827. "value": "331127"
  20828. }, {
  20829. "label": "龙泉市",
  20830. "value": "331181"
  20831. }]], [[{
  20832. "label": "瑶海区",
  20833. "value": "340102"
  20834. }, {
  20835. "label": "庐阳区",
  20836. "value": "340103"
  20837. }, {
  20838. "label": "蜀山区",
  20839. "value": "340104"
  20840. }, {
  20841. "label": "包河区",
  20842. "value": "340111"
  20843. }, {
  20844. "label": "长丰县",
  20845. "value": "340121"
  20846. }, {
  20847. "label": "肥东县",
  20848. "value": "340122"
  20849. }, {
  20850. "label": "肥西县",
  20851. "value": "340123"
  20852. }, {
  20853. "label": "庐江县",
  20854. "value": "340124"
  20855. }, {
  20856. "label": "合肥高新技术产业开发区",
  20857. "value": "340171"
  20858. }, {
  20859. "label": "合肥经济技术开发区",
  20860. "value": "340172"
  20861. }, {
  20862. "label": "合肥新站高新技术产业开发区",
  20863. "value": "340173"
  20864. }, {
  20865. "label": "巢湖市",
  20866. "value": "340181"
  20867. }], [{
  20868. "label": "镜湖区",
  20869. "value": "340202"
  20870. }, {
  20871. "label": "弋江区",
  20872. "value": "340203"
  20873. }, {
  20874. "label": "鸠江区",
  20875. "value": "340207"
  20876. }, {
  20877. "label": "三山区",
  20878. "value": "340208"
  20879. }, {
  20880. "label": "芜湖县",
  20881. "value": "340221"
  20882. }, {
  20883. "label": "繁昌县",
  20884. "value": "340222"
  20885. }, {
  20886. "label": "南陵县",
  20887. "value": "340223"
  20888. }, {
  20889. "label": "无为县",
  20890. "value": "340225"
  20891. }, {
  20892. "label": "芜湖经济技术开发区",
  20893. "value": "340271"
  20894. }, {
  20895. "label": "安徽芜湖长江大桥经济开发区",
  20896. "value": "340272"
  20897. }], [{
  20898. "label": "龙子湖区",
  20899. "value": "340302"
  20900. }, {
  20901. "label": "蚌山区",
  20902. "value": "340303"
  20903. }, {
  20904. "label": "禹会区",
  20905. "value": "340304"
  20906. }, {
  20907. "label": "淮上区",
  20908. "value": "340311"
  20909. }, {
  20910. "label": "怀远县",
  20911. "value": "340321"
  20912. }, {
  20913. "label": "五河县",
  20914. "value": "340322"
  20915. }, {
  20916. "label": "固镇县",
  20917. "value": "340323"
  20918. }, {
  20919. "label": "蚌埠市高新技术开发区",
  20920. "value": "340371"
  20921. }, {
  20922. "label": "蚌埠市经济开发区",
  20923. "value": "340372"
  20924. }], [{
  20925. "label": "大通区",
  20926. "value": "340402"
  20927. }, {
  20928. "label": "田家庵区",
  20929. "value": "340403"
  20930. }, {
  20931. "label": "谢家集区",
  20932. "value": "340404"
  20933. }, {
  20934. "label": "八公山区",
  20935. "value": "340405"
  20936. }, {
  20937. "label": "潘集区",
  20938. "value": "340406"
  20939. }, {
  20940. "label": "凤台县",
  20941. "value": "340421"
  20942. }, {
  20943. "label": "寿县",
  20944. "value": "340422"
  20945. }], [{
  20946. "label": "花山区",
  20947. "value": "340503"
  20948. }, {
  20949. "label": "雨山区",
  20950. "value": "340504"
  20951. }, {
  20952. "label": "博望区",
  20953. "value": "340506"
  20954. }, {
  20955. "label": "当涂县",
  20956. "value": "340521"
  20957. }, {
  20958. "label": "含山县",
  20959. "value": "340522"
  20960. }, {
  20961. "label": "和县",
  20962. "value": "340523"
  20963. }], [{
  20964. "label": "杜集区",
  20965. "value": "340602"
  20966. }, {
  20967. "label": "相山区",
  20968. "value": "340603"
  20969. }, {
  20970. "label": "烈山区",
  20971. "value": "340604"
  20972. }, {
  20973. "label": "濉溪县",
  20974. "value": "340621"
  20975. }], [{
  20976. "label": "铜官区",
  20977. "value": "340705"
  20978. }, {
  20979. "label": "义安区",
  20980. "value": "340706"
  20981. }, {
  20982. "label": "郊区",
  20983. "value": "340711"
  20984. }, {
  20985. "label": "枞阳县",
  20986. "value": "340722"
  20987. }], [{
  20988. "label": "迎江区",
  20989. "value": "340802"
  20990. }, {
  20991. "label": "大观区",
  20992. "value": "340803"
  20993. }, {
  20994. "label": "宜秀区",
  20995. "value": "340811"
  20996. }, {
  20997. "label": "怀宁县",
  20998. "value": "340822"
  20999. }, {
  21000. "label": "潜山县",
  21001. "value": "340824"
  21002. }, {
  21003. "label": "太湖县",
  21004. "value": "340825"
  21005. }, {
  21006. "label": "宿松县",
  21007. "value": "340826"
  21008. }, {
  21009. "label": "望江县",
  21010. "value": "340827"
  21011. }, {
  21012. "label": "岳西县",
  21013. "value": "340828"
  21014. }, {
  21015. "label": "安徽安庆经济开发区",
  21016. "value": "340871"
  21017. }, {
  21018. "label": "桐城市",
  21019. "value": "340881"
  21020. }], [{
  21021. "label": "屯溪区",
  21022. "value": "341002"
  21023. }, {
  21024. "label": "黄山区",
  21025. "value": "341003"
  21026. }, {
  21027. "label": "徽州区",
  21028. "value": "341004"
  21029. }, {
  21030. "label": "歙县",
  21031. "value": "341021"
  21032. }, {
  21033. "label": "休宁县",
  21034. "value": "341022"
  21035. }, {
  21036. "label": "黟县",
  21037. "value": "341023"
  21038. }, {
  21039. "label": "祁门县",
  21040. "value": "341024"
  21041. }], [{
  21042. "label": "琅琊区",
  21043. "value": "341102"
  21044. }, {
  21045. "label": "南谯区",
  21046. "value": "341103"
  21047. }, {
  21048. "label": "来安县",
  21049. "value": "341122"
  21050. }, {
  21051. "label": "全椒县",
  21052. "value": "341124"
  21053. }, {
  21054. "label": "定远县",
  21055. "value": "341125"
  21056. }, {
  21057. "label": "凤阳县",
  21058. "value": "341126"
  21059. }, {
  21060. "label": "苏滁现代产业园",
  21061. "value": "341171"
  21062. }, {
  21063. "label": "滁州经济技术开发区",
  21064. "value": "341172"
  21065. }, {
  21066. "label": "天长市",
  21067. "value": "341181"
  21068. }, {
  21069. "label": "明光市",
  21070. "value": "341182"
  21071. }], [{
  21072. "label": "颍州区",
  21073. "value": "341202"
  21074. }, {
  21075. "label": "颍东区",
  21076. "value": "341203"
  21077. }, {
  21078. "label": "颍泉区",
  21079. "value": "341204"
  21080. }, {
  21081. "label": "临泉县",
  21082. "value": "341221"
  21083. }, {
  21084. "label": "太和县",
  21085. "value": "341222"
  21086. }, {
  21087. "label": "阜南县",
  21088. "value": "341225"
  21089. }, {
  21090. "label": "颍上县",
  21091. "value": "341226"
  21092. }, {
  21093. "label": "阜阳合肥现代产业园区",
  21094. "value": "341271"
  21095. }, {
  21096. "label": "阜阳经济技术开发区",
  21097. "value": "341272"
  21098. }, {
  21099. "label": "界首市",
  21100. "value": "341282"
  21101. }], [{
  21102. "label": "埇桥区",
  21103. "value": "341302"
  21104. }, {
  21105. "label": "砀山县",
  21106. "value": "341321"
  21107. }, {
  21108. "label": "萧县",
  21109. "value": "341322"
  21110. }, {
  21111. "label": "灵璧县",
  21112. "value": "341323"
  21113. }, {
  21114. "label": "泗县",
  21115. "value": "341324"
  21116. }, {
  21117. "label": "宿州马鞍山现代产业园区",
  21118. "value": "341371"
  21119. }, {
  21120. "label": "宿州经济技术开发区",
  21121. "value": "341372"
  21122. }], [{
  21123. "label": "金安区",
  21124. "value": "341502"
  21125. }, {
  21126. "label": "裕安区",
  21127. "value": "341503"
  21128. }, {
  21129. "label": "叶集区",
  21130. "value": "341504"
  21131. }, {
  21132. "label": "霍邱县",
  21133. "value": "341522"
  21134. }, {
  21135. "label": "舒城县",
  21136. "value": "341523"
  21137. }, {
  21138. "label": "金寨县",
  21139. "value": "341524"
  21140. }, {
  21141. "label": "霍山县",
  21142. "value": "341525"
  21143. }], [{
  21144. "label": "谯城区",
  21145. "value": "341602"
  21146. }, {
  21147. "label": "涡阳县",
  21148. "value": "341621"
  21149. }, {
  21150. "label": "蒙城县",
  21151. "value": "341622"
  21152. }, {
  21153. "label": "利辛县",
  21154. "value": "341623"
  21155. }], [{
  21156. "label": "贵池区",
  21157. "value": "341702"
  21158. }, {
  21159. "label": "东至县",
  21160. "value": "341721"
  21161. }, {
  21162. "label": "石台县",
  21163. "value": "341722"
  21164. }, {
  21165. "label": "青阳县",
  21166. "value": "341723"
  21167. }], [{
  21168. "label": "宣州区",
  21169. "value": "341802"
  21170. }, {
  21171. "label": "郎溪县",
  21172. "value": "341821"
  21173. }, {
  21174. "label": "广德县",
  21175. "value": "341822"
  21176. }, {
  21177. "label": "泾县",
  21178. "value": "341823"
  21179. }, {
  21180. "label": "绩溪县",
  21181. "value": "341824"
  21182. }, {
  21183. "label": "旌德县",
  21184. "value": "341825"
  21185. }, {
  21186. "label": "宣城市经济开发区",
  21187. "value": "341871"
  21188. }, {
  21189. "label": "宁国市",
  21190. "value": "341881"
  21191. }]], [[{
  21192. "label": "鼓楼区",
  21193. "value": "350102"
  21194. }, {
  21195. "label": "台江区",
  21196. "value": "350103"
  21197. }, {
  21198. "label": "仓山区",
  21199. "value": "350104"
  21200. }, {
  21201. "label": "马尾区",
  21202. "value": "350105"
  21203. }, {
  21204. "label": "晋安区",
  21205. "value": "350111"
  21206. }, {
  21207. "label": "闽侯县",
  21208. "value": "350121"
  21209. }, {
  21210. "label": "连江县",
  21211. "value": "350122"
  21212. }, {
  21213. "label": "罗源县",
  21214. "value": "350123"
  21215. }, {
  21216. "label": "闽清县",
  21217. "value": "350124"
  21218. }, {
  21219. "label": "永泰县",
  21220. "value": "350125"
  21221. }, {
  21222. "label": "平潭县",
  21223. "value": "350128"
  21224. }, {
  21225. "label": "福清市",
  21226. "value": "350181"
  21227. }, {
  21228. "label": "长乐市",
  21229. "value": "350182"
  21230. }], [{
  21231. "label": "思明区",
  21232. "value": "350203"
  21233. }, {
  21234. "label": "海沧区",
  21235. "value": "350205"
  21236. }, {
  21237. "label": "湖里区",
  21238. "value": "350206"
  21239. }, {
  21240. "label": "集美区",
  21241. "value": "350211"
  21242. }, {
  21243. "label": "同安区",
  21244. "value": "350212"
  21245. }, {
  21246. "label": "翔安区",
  21247. "value": "350213"
  21248. }], [{
  21249. "label": "城厢区",
  21250. "value": "350302"
  21251. }, {
  21252. "label": "涵江区",
  21253. "value": "350303"
  21254. }, {
  21255. "label": "荔城区",
  21256. "value": "350304"
  21257. }, {
  21258. "label": "秀屿区",
  21259. "value": "350305"
  21260. }, {
  21261. "label": "仙游县",
  21262. "value": "350322"
  21263. }], [{
  21264. "label": "梅列区",
  21265. "value": "350402"
  21266. }, {
  21267. "label": "三元区",
  21268. "value": "350403"
  21269. }, {
  21270. "label": "明溪县",
  21271. "value": "350421"
  21272. }, {
  21273. "label": "清流县",
  21274. "value": "350423"
  21275. }, {
  21276. "label": "宁化县",
  21277. "value": "350424"
  21278. }, {
  21279. "label": "大田县",
  21280. "value": "350425"
  21281. }, {
  21282. "label": "尤溪县",
  21283. "value": "350426"
  21284. }, {
  21285. "label": "沙县",
  21286. "value": "350427"
  21287. }, {
  21288. "label": "将乐县",
  21289. "value": "350428"
  21290. }, {
  21291. "label": "泰宁县",
  21292. "value": "350429"
  21293. }, {
  21294. "label": "建宁县",
  21295. "value": "350430"
  21296. }, {
  21297. "label": "永安市",
  21298. "value": "350481"
  21299. }], [{
  21300. "label": "鲤城区",
  21301. "value": "350502"
  21302. }, {
  21303. "label": "丰泽区",
  21304. "value": "350503"
  21305. }, {
  21306. "label": "洛江区",
  21307. "value": "350504"
  21308. }, {
  21309. "label": "泉港区",
  21310. "value": "350505"
  21311. }, {
  21312. "label": "惠安县",
  21313. "value": "350521"
  21314. }, {
  21315. "label": "安溪县",
  21316. "value": "350524"
  21317. }, {
  21318. "label": "永春县",
  21319. "value": "350525"
  21320. }, {
  21321. "label": "德化县",
  21322. "value": "350526"
  21323. }, {
  21324. "label": "金门县",
  21325. "value": "350527"
  21326. }, {
  21327. "label": "石狮市",
  21328. "value": "350581"
  21329. }, {
  21330. "label": "晋江市",
  21331. "value": "350582"
  21332. }, {
  21333. "label": "南安市",
  21334. "value": "350583"
  21335. }], [{
  21336. "label": "芗城区",
  21337. "value": "350602"
  21338. }, {
  21339. "label": "龙文区",
  21340. "value": "350603"
  21341. }, {
  21342. "label": "云霄县",
  21343. "value": "350622"
  21344. }, {
  21345. "label": "漳浦县",
  21346. "value": "350623"
  21347. }, {
  21348. "label": "诏安县",
  21349. "value": "350624"
  21350. }, {
  21351. "label": "长泰县",
  21352. "value": "350625"
  21353. }, {
  21354. "label": "东山县",
  21355. "value": "350626"
  21356. }, {
  21357. "label": "南靖县",
  21358. "value": "350627"
  21359. }, {
  21360. "label": "平和县",
  21361. "value": "350628"
  21362. }, {
  21363. "label": "华安县",
  21364. "value": "350629"
  21365. }, {
  21366. "label": "龙海市",
  21367. "value": "350681"
  21368. }], [{
  21369. "label": "延平区",
  21370. "value": "350702"
  21371. }, {
  21372. "label": "建阳区",
  21373. "value": "350703"
  21374. }, {
  21375. "label": "顺昌县",
  21376. "value": "350721"
  21377. }, {
  21378. "label": "浦城县",
  21379. "value": "350722"
  21380. }, {
  21381. "label": "光泽县",
  21382. "value": "350723"
  21383. }, {
  21384. "label": "松溪县",
  21385. "value": "350724"
  21386. }, {
  21387. "label": "政和县",
  21388. "value": "350725"
  21389. }, {
  21390. "label": "邵武市",
  21391. "value": "350781"
  21392. }, {
  21393. "label": "武夷山市",
  21394. "value": "350782"
  21395. }, {
  21396. "label": "建瓯市",
  21397. "value": "350783"
  21398. }], [{
  21399. "label": "新罗区",
  21400. "value": "350802"
  21401. }, {
  21402. "label": "永定区",
  21403. "value": "350803"
  21404. }, {
  21405. "label": "长汀县",
  21406. "value": "350821"
  21407. }, {
  21408. "label": "上杭县",
  21409. "value": "350823"
  21410. }, {
  21411. "label": "武平县",
  21412. "value": "350824"
  21413. }, {
  21414. "label": "连城县",
  21415. "value": "350825"
  21416. }, {
  21417. "label": "漳平市",
  21418. "value": "350881"
  21419. }], [{
  21420. "label": "蕉城区",
  21421. "value": "350902"
  21422. }, {
  21423. "label": "霞浦县",
  21424. "value": "350921"
  21425. }, {
  21426. "label": "古田县",
  21427. "value": "350922"
  21428. }, {
  21429. "label": "屏南县",
  21430. "value": "350923"
  21431. }, {
  21432. "label": "寿宁县",
  21433. "value": "350924"
  21434. }, {
  21435. "label": "周宁县",
  21436. "value": "350925"
  21437. }, {
  21438. "label": "柘荣县",
  21439. "value": "350926"
  21440. }, {
  21441. "label": "福安市",
  21442. "value": "350981"
  21443. }, {
  21444. "label": "福鼎市",
  21445. "value": "350982"
  21446. }]], [[{
  21447. "label": "东湖区",
  21448. "value": "360102"
  21449. }, {
  21450. "label": "西湖区",
  21451. "value": "360103"
  21452. }, {
  21453. "label": "青云谱区",
  21454. "value": "360104"
  21455. }, {
  21456. "label": "湾里区",
  21457. "value": "360105"
  21458. }, {
  21459. "label": "青山湖区",
  21460. "value": "360111"
  21461. }, {
  21462. "label": "新建区",
  21463. "value": "360112"
  21464. }, {
  21465. "label": "南昌县",
  21466. "value": "360121"
  21467. }, {
  21468. "label": "安义县",
  21469. "value": "360123"
  21470. }, {
  21471. "label": "进贤县",
  21472. "value": "360124"
  21473. }], [{
  21474. "label": "昌江区",
  21475. "value": "360202"
  21476. }, {
  21477. "label": "珠山区",
  21478. "value": "360203"
  21479. }, {
  21480. "label": "浮梁县",
  21481. "value": "360222"
  21482. }, {
  21483. "label": "乐平市",
  21484. "value": "360281"
  21485. }], [{
  21486. "label": "安源区",
  21487. "value": "360302"
  21488. }, {
  21489. "label": "湘东区",
  21490. "value": "360313"
  21491. }, {
  21492. "label": "莲花县",
  21493. "value": "360321"
  21494. }, {
  21495. "label": "上栗县",
  21496. "value": "360322"
  21497. }, {
  21498. "label": "芦溪县",
  21499. "value": "360323"
  21500. }], [{
  21501. "label": "濂溪区",
  21502. "value": "360402"
  21503. }, {
  21504. "label": "浔阳区",
  21505. "value": "360403"
  21506. }, {
  21507. "label": "柴桑区",
  21508. "value": "360404"
  21509. }, {
  21510. "label": "武宁县",
  21511. "value": "360423"
  21512. }, {
  21513. "label": "修水县",
  21514. "value": "360424"
  21515. }, {
  21516. "label": "永修县",
  21517. "value": "360425"
  21518. }, {
  21519. "label": "德安县",
  21520. "value": "360426"
  21521. }, {
  21522. "label": "都昌县",
  21523. "value": "360428"
  21524. }, {
  21525. "label": "湖口县",
  21526. "value": "360429"
  21527. }, {
  21528. "label": "彭泽县",
  21529. "value": "360430"
  21530. }, {
  21531. "label": "瑞昌市",
  21532. "value": "360481"
  21533. }, {
  21534. "label": "共青城市",
  21535. "value": "360482"
  21536. }, {
  21537. "label": "庐山市",
  21538. "value": "360483"
  21539. }], [{
  21540. "label": "渝水区",
  21541. "value": "360502"
  21542. }, {
  21543. "label": "分宜县",
  21544. "value": "360521"
  21545. }], [{
  21546. "label": "月湖区",
  21547. "value": "360602"
  21548. }, {
  21549. "label": "余江县",
  21550. "value": "360622"
  21551. }, {
  21552. "label": "贵溪市",
  21553. "value": "360681"
  21554. }], [{
  21555. "label": "章贡区",
  21556. "value": "360702"
  21557. }, {
  21558. "label": "南康区",
  21559. "value": "360703"
  21560. }, {
  21561. "label": "赣县区",
  21562. "value": "360704"
  21563. }, {
  21564. "label": "信丰县",
  21565. "value": "360722"
  21566. }, {
  21567. "label": "大余县",
  21568. "value": "360723"
  21569. }, {
  21570. "label": "上犹县",
  21571. "value": "360724"
  21572. }, {
  21573. "label": "崇义县",
  21574. "value": "360725"
  21575. }, {
  21576. "label": "安远县",
  21577. "value": "360726"
  21578. }, {
  21579. "label": "龙南县",
  21580. "value": "360727"
  21581. }, {
  21582. "label": "定南县",
  21583. "value": "360728"
  21584. }, {
  21585. "label": "全南县",
  21586. "value": "360729"
  21587. }, {
  21588. "label": "宁都县",
  21589. "value": "360730"
  21590. }, {
  21591. "label": "于都县",
  21592. "value": "360731"
  21593. }, {
  21594. "label": "兴国县",
  21595. "value": "360732"
  21596. }, {
  21597. "label": "会昌县",
  21598. "value": "360733"
  21599. }, {
  21600. "label": "寻乌县",
  21601. "value": "360734"
  21602. }, {
  21603. "label": "石城县",
  21604. "value": "360735"
  21605. }, {
  21606. "label": "瑞金市",
  21607. "value": "360781"
  21608. }], [{
  21609. "label": "吉州区",
  21610. "value": "360802"
  21611. }, {
  21612. "label": "青原区",
  21613. "value": "360803"
  21614. }, {
  21615. "label": "吉安县",
  21616. "value": "360821"
  21617. }, {
  21618. "label": "吉水县",
  21619. "value": "360822"
  21620. }, {
  21621. "label": "峡江县",
  21622. "value": "360823"
  21623. }, {
  21624. "label": "新干县",
  21625. "value": "360824"
  21626. }, {
  21627. "label": "永丰县",
  21628. "value": "360825"
  21629. }, {
  21630. "label": "泰和县",
  21631. "value": "360826"
  21632. }, {
  21633. "label": "遂川县",
  21634. "value": "360827"
  21635. }, {
  21636. "label": "万安县",
  21637. "value": "360828"
  21638. }, {
  21639. "label": "安福县",
  21640. "value": "360829"
  21641. }, {
  21642. "label": "永新县",
  21643. "value": "360830"
  21644. }, {
  21645. "label": "井冈山市",
  21646. "value": "360881"
  21647. }], [{
  21648. "label": "袁州区",
  21649. "value": "360902"
  21650. }, {
  21651. "label": "奉新县",
  21652. "value": "360921"
  21653. }, {
  21654. "label": "万载县",
  21655. "value": "360922"
  21656. }, {
  21657. "label": "上高县",
  21658. "value": "360923"
  21659. }, {
  21660. "label": "宜丰县",
  21661. "value": "360924"
  21662. }, {
  21663. "label": "靖安县",
  21664. "value": "360925"
  21665. }, {
  21666. "label": "铜鼓县",
  21667. "value": "360926"
  21668. }, {
  21669. "label": "丰城市",
  21670. "value": "360981"
  21671. }, {
  21672. "label": "樟树市",
  21673. "value": "360982"
  21674. }, {
  21675. "label": "高安市",
  21676. "value": "360983"
  21677. }], [{
  21678. "label": "临川区",
  21679. "value": "361002"
  21680. }, {
  21681. "label": "东乡区",
  21682. "value": "361003"
  21683. }, {
  21684. "label": "南城县",
  21685. "value": "361021"
  21686. }, {
  21687. "label": "黎川县",
  21688. "value": "361022"
  21689. }, {
  21690. "label": "南丰县",
  21691. "value": "361023"
  21692. }, {
  21693. "label": "崇仁县",
  21694. "value": "361024"
  21695. }, {
  21696. "label": "乐安县",
  21697. "value": "361025"
  21698. }, {
  21699. "label": "宜黄县",
  21700. "value": "361026"
  21701. }, {
  21702. "label": "金溪县",
  21703. "value": "361027"
  21704. }, {
  21705. "label": "资溪县",
  21706. "value": "361028"
  21707. }, {
  21708. "label": "广昌县",
  21709. "value": "361030"
  21710. }], [{
  21711. "label": "信州区",
  21712. "value": "361102"
  21713. }, {
  21714. "label": "广丰区",
  21715. "value": "361103"
  21716. }, {
  21717. "label": "上饶县",
  21718. "value": "361121"
  21719. }, {
  21720. "label": "玉山县",
  21721. "value": "361123"
  21722. }, {
  21723. "label": "铅山县",
  21724. "value": "361124"
  21725. }, {
  21726. "label": "横峰县",
  21727. "value": "361125"
  21728. }, {
  21729. "label": "弋阳县",
  21730. "value": "361126"
  21731. }, {
  21732. "label": "余干县",
  21733. "value": "361127"
  21734. }, {
  21735. "label": "鄱阳县",
  21736. "value": "361128"
  21737. }, {
  21738. "label": "万年县",
  21739. "value": "361129"
  21740. }, {
  21741. "label": "婺源县",
  21742. "value": "361130"
  21743. }, {
  21744. "label": "德兴市",
  21745. "value": "361181"
  21746. }]], [[{
  21747. "label": "历下区",
  21748. "value": "370102"
  21749. }, {
  21750. "label": "市中区",
  21751. "value": "370103"
  21752. }, {
  21753. "label": "槐荫区",
  21754. "value": "370104"
  21755. }, {
  21756. "label": "天桥区",
  21757. "value": "370105"
  21758. }, {
  21759. "label": "历城区",
  21760. "value": "370112"
  21761. }, {
  21762. "label": "长清区",
  21763. "value": "370113"
  21764. }, {
  21765. "label": "章丘区",
  21766. "value": "370114"
  21767. }, {
  21768. "label": "平阴县",
  21769. "value": "370124"
  21770. }, {
  21771. "label": "济阳县",
  21772. "value": "370125"
  21773. }, {
  21774. "label": "商河县",
  21775. "value": "370126"
  21776. }, {
  21777. "label": "济南高新技术产业开发区",
  21778. "value": "370171"
  21779. }], [{
  21780. "label": "市南区",
  21781. "value": "370202"
  21782. }, {
  21783. "label": "市北区",
  21784. "value": "370203"
  21785. }, {
  21786. "label": "黄岛区",
  21787. "value": "370211"
  21788. }, {
  21789. "label": "崂山区",
  21790. "value": "370212"
  21791. }, {
  21792. "label": "李沧区",
  21793. "value": "370213"
  21794. }, {
  21795. "label": "城阳区",
  21796. "value": "370214"
  21797. }, {
  21798. "label": "即墨区",
  21799. "value": "370215"
  21800. }, {
  21801. "label": "青岛高新技术产业开发区",
  21802. "value": "370271"
  21803. }, {
  21804. "label": "胶州市",
  21805. "value": "370281"
  21806. }, {
  21807. "label": "平度市",
  21808. "value": "370283"
  21809. }, {
  21810. "label": "莱西市",
  21811. "value": "370285"
  21812. }], [{
  21813. "label": "淄川区",
  21814. "value": "370302"
  21815. }, {
  21816. "label": "张店区",
  21817. "value": "370303"
  21818. }, {
  21819. "label": "博山区",
  21820. "value": "370304"
  21821. }, {
  21822. "label": "临淄区",
  21823. "value": "370305"
  21824. }, {
  21825. "label": "周村区",
  21826. "value": "370306"
  21827. }, {
  21828. "label": "桓台县",
  21829. "value": "370321"
  21830. }, {
  21831. "label": "高青县",
  21832. "value": "370322"
  21833. }, {
  21834. "label": "沂源县",
  21835. "value": "370323"
  21836. }], [{
  21837. "label": "市中区",
  21838. "value": "370402"
  21839. }, {
  21840. "label": "薛城区",
  21841. "value": "370403"
  21842. }, {
  21843. "label": "峄城区",
  21844. "value": "370404"
  21845. }, {
  21846. "label": "台儿庄区",
  21847. "value": "370405"
  21848. }, {
  21849. "label": "山亭区",
  21850. "value": "370406"
  21851. }, {
  21852. "label": "滕州市",
  21853. "value": "370481"
  21854. }], [{
  21855. "label": "东营区",
  21856. "value": "370502"
  21857. }, {
  21858. "label": "河口区",
  21859. "value": "370503"
  21860. }, {
  21861. "label": "垦利区",
  21862. "value": "370505"
  21863. }, {
  21864. "label": "利津县",
  21865. "value": "370522"
  21866. }, {
  21867. "label": "广饶县",
  21868. "value": "370523"
  21869. }, {
  21870. "label": "东营经济技术开发区",
  21871. "value": "370571"
  21872. }, {
  21873. "label": "东营港经济开发区",
  21874. "value": "370572"
  21875. }], [{
  21876. "label": "芝罘区",
  21877. "value": "370602"
  21878. }, {
  21879. "label": "福山区",
  21880. "value": "370611"
  21881. }, {
  21882. "label": "牟平区",
  21883. "value": "370612"
  21884. }, {
  21885. "label": "莱山区",
  21886. "value": "370613"
  21887. }, {
  21888. "label": "长岛县",
  21889. "value": "370634"
  21890. }, {
  21891. "label": "烟台高新技术产业开发区",
  21892. "value": "370671"
  21893. }, {
  21894. "label": "烟台经济技术开发区",
  21895. "value": "370672"
  21896. }, {
  21897. "label": "龙口市",
  21898. "value": "370681"
  21899. }, {
  21900. "label": "莱阳市",
  21901. "value": "370682"
  21902. }, {
  21903. "label": "莱州市",
  21904. "value": "370683"
  21905. }, {
  21906. "label": "蓬莱市",
  21907. "value": "370684"
  21908. }, {
  21909. "label": "招远市",
  21910. "value": "370685"
  21911. }, {
  21912. "label": "栖霞市",
  21913. "value": "370686"
  21914. }, {
  21915. "label": "海阳市",
  21916. "value": "370687"
  21917. }], [{
  21918. "label": "潍城区",
  21919. "value": "370702"
  21920. }, {
  21921. "label": "寒亭区",
  21922. "value": "370703"
  21923. }, {
  21924. "label": "坊子区",
  21925. "value": "370704"
  21926. }, {
  21927. "label": "奎文区",
  21928. "value": "370705"
  21929. }, {
  21930. "label": "临朐县",
  21931. "value": "370724"
  21932. }, {
  21933. "label": "昌乐县",
  21934. "value": "370725"
  21935. }, {
  21936. "label": "潍坊滨海经济技术开发区",
  21937. "value": "370772"
  21938. }, {
  21939. "label": "青州市",
  21940. "value": "370781"
  21941. }, {
  21942. "label": "诸城市",
  21943. "value": "370782"
  21944. }, {
  21945. "label": "寿光市",
  21946. "value": "370783"
  21947. }, {
  21948. "label": "安丘市",
  21949. "value": "370784"
  21950. }, {
  21951. "label": "高密市",
  21952. "value": "370785"
  21953. }, {
  21954. "label": "昌邑市",
  21955. "value": "370786"
  21956. }], [{
  21957. "label": "任城区",
  21958. "value": "370811"
  21959. }, {
  21960. "label": "兖州区",
  21961. "value": "370812"
  21962. }, {
  21963. "label": "微山县",
  21964. "value": "370826"
  21965. }, {
  21966. "label": "鱼台县",
  21967. "value": "370827"
  21968. }, {
  21969. "label": "金乡县",
  21970. "value": "370828"
  21971. }, {
  21972. "label": "嘉祥县",
  21973. "value": "370829"
  21974. }, {
  21975. "label": "汶上县",
  21976. "value": "370830"
  21977. }, {
  21978. "label": "泗水县",
  21979. "value": "370831"
  21980. }, {
  21981. "label": "梁山县",
  21982. "value": "370832"
  21983. }, {
  21984. "label": "济宁高新技术产业开发区",
  21985. "value": "370871"
  21986. }, {
  21987. "label": "曲阜市",
  21988. "value": "370881"
  21989. }, {
  21990. "label": "邹城市",
  21991. "value": "370883"
  21992. }], [{
  21993. "label": "泰山区",
  21994. "value": "370902"
  21995. }, {
  21996. "label": "岱岳区",
  21997. "value": "370911"
  21998. }, {
  21999. "label": "宁阳县",
  22000. "value": "370921"
  22001. }, {
  22002. "label": "东平县",
  22003. "value": "370923"
  22004. }, {
  22005. "label": "新泰市",
  22006. "value": "370982"
  22007. }, {
  22008. "label": "肥城市",
  22009. "value": "370983"
  22010. }], [{
  22011. "label": "环翠区",
  22012. "value": "371002"
  22013. }, {
  22014. "label": "文登区",
  22015. "value": "371003"
  22016. }, {
  22017. "label": "威海火炬高技术产业开发区",
  22018. "value": "371071"
  22019. }, {
  22020. "label": "威海经济技术开发区",
  22021. "value": "371072"
  22022. }, {
  22023. "label": "威海临港经济技术开发区",
  22024. "value": "371073"
  22025. }, {
  22026. "label": "荣成市",
  22027. "value": "371082"
  22028. }, {
  22029. "label": "乳山市",
  22030. "value": "371083"
  22031. }], [{
  22032. "label": "东港区",
  22033. "value": "371102"
  22034. }, {
  22035. "label": "岚山区",
  22036. "value": "371103"
  22037. }, {
  22038. "label": "五莲县",
  22039. "value": "371121"
  22040. }, {
  22041. "label": "莒县",
  22042. "value": "371122"
  22043. }, {
  22044. "label": "日照经济技术开发区",
  22045. "value": "371171"
  22046. }, {
  22047. "label": "日照国际海洋城",
  22048. "value": "371172"
  22049. }], [{
  22050. "label": "莱城区",
  22051. "value": "371202"
  22052. }, {
  22053. "label": "钢城区",
  22054. "value": "371203"
  22055. }], [{
  22056. "label": "兰山区",
  22057. "value": "371302"
  22058. }, {
  22059. "label": "罗庄区",
  22060. "value": "371311"
  22061. }, {
  22062. "label": "河东区",
  22063. "value": "371312"
  22064. }, {
  22065. "label": "沂南县",
  22066. "value": "371321"
  22067. }, {
  22068. "label": "郯城县",
  22069. "value": "371322"
  22070. }, {
  22071. "label": "沂水县",
  22072. "value": "371323"
  22073. }, {
  22074. "label": "兰陵县",
  22075. "value": "371324"
  22076. }, {
  22077. "label": "费县",
  22078. "value": "371325"
  22079. }, {
  22080. "label": "平邑县",
  22081. "value": "371326"
  22082. }, {
  22083. "label": "莒南县",
  22084. "value": "371327"
  22085. }, {
  22086. "label": "蒙阴县",
  22087. "value": "371328"
  22088. }, {
  22089. "label": "临沭县",
  22090. "value": "371329"
  22091. }, {
  22092. "label": "临沂高新技术产业开发区",
  22093. "value": "371371"
  22094. }, {
  22095. "label": "临沂经济技术开发区",
  22096. "value": "371372"
  22097. }, {
  22098. "label": "临沂临港经济开发区",
  22099. "value": "371373"
  22100. }], [{
  22101. "label": "德城区",
  22102. "value": "371402"
  22103. }, {
  22104. "label": "陵城区",
  22105. "value": "371403"
  22106. }, {
  22107. "label": "宁津县",
  22108. "value": "371422"
  22109. }, {
  22110. "label": "庆云县",
  22111. "value": "371423"
  22112. }, {
  22113. "label": "临邑县",
  22114. "value": "371424"
  22115. }, {
  22116. "label": "齐河县",
  22117. "value": "371425"
  22118. }, {
  22119. "label": "平原县",
  22120. "value": "371426"
  22121. }, {
  22122. "label": "夏津县",
  22123. "value": "371427"
  22124. }, {
  22125. "label": "武城县",
  22126. "value": "371428"
  22127. }, {
  22128. "label": "德州经济技术开发区",
  22129. "value": "371471"
  22130. }, {
  22131. "label": "德州运河经济开发区",
  22132. "value": "371472"
  22133. }, {
  22134. "label": "乐陵市",
  22135. "value": "371481"
  22136. }, {
  22137. "label": "禹城市",
  22138. "value": "371482"
  22139. }], [{
  22140. "label": "东昌府区",
  22141. "value": "371502"
  22142. }, {
  22143. "label": "阳谷县",
  22144. "value": "371521"
  22145. }, {
  22146. "label": "莘县",
  22147. "value": "371522"
  22148. }, {
  22149. "label": "茌平县",
  22150. "value": "371523"
  22151. }, {
  22152. "label": "东阿县",
  22153. "value": "371524"
  22154. }, {
  22155. "label": "冠县",
  22156. "value": "371525"
  22157. }, {
  22158. "label": "高唐县",
  22159. "value": "371526"
  22160. }, {
  22161. "label": "临清市",
  22162. "value": "371581"
  22163. }], [{
  22164. "label": "滨城区",
  22165. "value": "371602"
  22166. }, {
  22167. "label": "沾化区",
  22168. "value": "371603"
  22169. }, {
  22170. "label": "惠民县",
  22171. "value": "371621"
  22172. }, {
  22173. "label": "阳信县",
  22174. "value": "371622"
  22175. }, {
  22176. "label": "无棣县",
  22177. "value": "371623"
  22178. }, {
  22179. "label": "博兴县",
  22180. "value": "371625"
  22181. }, {
  22182. "label": "邹平县",
  22183. "value": "371626"
  22184. }], [{
  22185. "label": "牡丹区",
  22186. "value": "371702"
  22187. }, {
  22188. "label": "定陶区",
  22189. "value": "371703"
  22190. }, {
  22191. "label": "曹县",
  22192. "value": "371721"
  22193. }, {
  22194. "label": "单县",
  22195. "value": "371722"
  22196. }, {
  22197. "label": "成武县",
  22198. "value": "371723"
  22199. }, {
  22200. "label": "巨野县",
  22201. "value": "371724"
  22202. }, {
  22203. "label": "郓城县",
  22204. "value": "371725"
  22205. }, {
  22206. "label": "鄄城县",
  22207. "value": "371726"
  22208. }, {
  22209. "label": "东明县",
  22210. "value": "371728"
  22211. }, {
  22212. "label": "菏泽经济技术开发区",
  22213. "value": "371771"
  22214. }, {
  22215. "label": "菏泽高新技术开发区",
  22216. "value": "371772"
  22217. }]], [[{
  22218. "label": "中原区",
  22219. "value": "410102"
  22220. }, {
  22221. "label": "二七区",
  22222. "value": "410103"
  22223. }, {
  22224. "label": "管城回族区",
  22225. "value": "410104"
  22226. }, {
  22227. "label": "金水区",
  22228. "value": "410105"
  22229. }, {
  22230. "label": "上街区",
  22231. "value": "410106"
  22232. }, {
  22233. "label": "惠济区",
  22234. "value": "410108"
  22235. }, {
  22236. "label": "中牟县",
  22237. "value": "410122"
  22238. }, {
  22239. "label": "郑州经济技术开发区",
  22240. "value": "410171"
  22241. }, {
  22242. "label": "郑州高新技术产业开发区",
  22243. "value": "410172"
  22244. }, {
  22245. "label": "郑州航空港经济综合实验区",
  22246. "value": "410173"
  22247. }, {
  22248. "label": "巩义市",
  22249. "value": "410181"
  22250. }, {
  22251. "label": "荥阳市",
  22252. "value": "410182"
  22253. }, {
  22254. "label": "新密市",
  22255. "value": "410183"
  22256. }, {
  22257. "label": "新郑市",
  22258. "value": "410184"
  22259. }, {
  22260. "label": "登封市",
  22261. "value": "410185"
  22262. }], [{
  22263. "label": "龙亭区",
  22264. "value": "410202"
  22265. }, {
  22266. "label": "顺河回族区",
  22267. "value": "410203"
  22268. }, {
  22269. "label": "鼓楼区",
  22270. "value": "410204"
  22271. }, {
  22272. "label": "禹王台区",
  22273. "value": "410205"
  22274. }, {
  22275. "label": "祥符区",
  22276. "value": "410212"
  22277. }, {
  22278. "label": "杞县",
  22279. "value": "410221"
  22280. }, {
  22281. "label": "通许县",
  22282. "value": "410222"
  22283. }, {
  22284. "label": "尉氏县",
  22285. "value": "410223"
  22286. }, {
  22287. "label": "兰考县",
  22288. "value": "410225"
  22289. }], [{
  22290. "label": "老城区",
  22291. "value": "410302"
  22292. }, {
  22293. "label": "西工区",
  22294. "value": "410303"
  22295. }, {
  22296. "label": "瀍河回族区",
  22297. "value": "410304"
  22298. }, {
  22299. "label": "涧西区",
  22300. "value": "410305"
  22301. }, {
  22302. "label": "吉利区",
  22303. "value": "410306"
  22304. }, {
  22305. "label": "洛龙区",
  22306. "value": "410311"
  22307. }, {
  22308. "label": "孟津县",
  22309. "value": "410322"
  22310. }, {
  22311. "label": "新安县",
  22312. "value": "410323"
  22313. }, {
  22314. "label": "栾川县",
  22315. "value": "410324"
  22316. }, {
  22317. "label": "嵩县",
  22318. "value": "410325"
  22319. }, {
  22320. "label": "汝阳县",
  22321. "value": "410326"
  22322. }, {
  22323. "label": "宜阳县",
  22324. "value": "410327"
  22325. }, {
  22326. "label": "洛宁县",
  22327. "value": "410328"
  22328. }, {
  22329. "label": "伊川县",
  22330. "value": "410329"
  22331. }, {
  22332. "label": "洛阳高新技术产业开发区",
  22333. "value": "410371"
  22334. }, {
  22335. "label": "偃师市",
  22336. "value": "410381"
  22337. }], [{
  22338. "label": "新华区",
  22339. "value": "410402"
  22340. }, {
  22341. "label": "卫东区",
  22342. "value": "410403"
  22343. }, {
  22344. "label": "石龙区",
  22345. "value": "410404"
  22346. }, {
  22347. "label": "湛河区",
  22348. "value": "410411"
  22349. }, {
  22350. "label": "宝丰县",
  22351. "value": "410421"
  22352. }, {
  22353. "label": "叶县",
  22354. "value": "410422"
  22355. }, {
  22356. "label": "鲁山县",
  22357. "value": "410423"
  22358. }, {
  22359. "label": "郏县",
  22360. "value": "410425"
  22361. }, {
  22362. "label": "平顶山高新技术产业开发区",
  22363. "value": "410471"
  22364. }, {
  22365. "label": "平顶山市新城区",
  22366. "value": "410472"
  22367. }, {
  22368. "label": "舞钢市",
  22369. "value": "410481"
  22370. }, {
  22371. "label": "汝州市",
  22372. "value": "410482"
  22373. }], [{
  22374. "label": "文峰区",
  22375. "value": "410502"
  22376. }, {
  22377. "label": "北关区",
  22378. "value": "410503"
  22379. }, {
  22380. "label": "殷都区",
  22381. "value": "410505"
  22382. }, {
  22383. "label": "龙安区",
  22384. "value": "410506"
  22385. }, {
  22386. "label": "安阳县",
  22387. "value": "410522"
  22388. }, {
  22389. "label": "汤阴县",
  22390. "value": "410523"
  22391. }, {
  22392. "label": "滑县",
  22393. "value": "410526"
  22394. }, {
  22395. "label": "内黄县",
  22396. "value": "410527"
  22397. }, {
  22398. "label": "安阳高新技术产业开发区",
  22399. "value": "410571"
  22400. }, {
  22401. "label": "林州市",
  22402. "value": "410581"
  22403. }], [{
  22404. "label": "鹤山区",
  22405. "value": "410602"
  22406. }, {
  22407. "label": "山城区",
  22408. "value": "410603"
  22409. }, {
  22410. "label": "淇滨区",
  22411. "value": "410611"
  22412. }, {
  22413. "label": "浚县",
  22414. "value": "410621"
  22415. }, {
  22416. "label": "淇县",
  22417. "value": "410622"
  22418. }, {
  22419. "label": "鹤壁经济技术开发区",
  22420. "value": "410671"
  22421. }], [{
  22422. "label": "红旗区",
  22423. "value": "410702"
  22424. }, {
  22425. "label": "卫滨区",
  22426. "value": "410703"
  22427. }, {
  22428. "label": "凤泉区",
  22429. "value": "410704"
  22430. }, {
  22431. "label": "牧野区",
  22432. "value": "410711"
  22433. }, {
  22434. "label": "新乡县",
  22435. "value": "410721"
  22436. }, {
  22437. "label": "获嘉县",
  22438. "value": "410724"
  22439. }, {
  22440. "label": "原阳县",
  22441. "value": "410725"
  22442. }, {
  22443. "label": "延津县",
  22444. "value": "410726"
  22445. }, {
  22446. "label": "封丘县",
  22447. "value": "410727"
  22448. }, {
  22449. "label": "长垣县",
  22450. "value": "410728"
  22451. }, {
  22452. "label": "新乡高新技术产业开发区",
  22453. "value": "410771"
  22454. }, {
  22455. "label": "新乡经济技术开发区",
  22456. "value": "410772"
  22457. }, {
  22458. "label": "新乡市平原城乡一体化示范区",
  22459. "value": "410773"
  22460. }, {
  22461. "label": "卫辉市",
  22462. "value": "410781"
  22463. }, {
  22464. "label": "辉县市",
  22465. "value": "410782"
  22466. }], [{
  22467. "label": "解放区",
  22468. "value": "410802"
  22469. }, {
  22470. "label": "中站区",
  22471. "value": "410803"
  22472. }, {
  22473. "label": "马村区",
  22474. "value": "410804"
  22475. }, {
  22476. "label": "山阳区",
  22477. "value": "410811"
  22478. }, {
  22479. "label": "修武县",
  22480. "value": "410821"
  22481. }, {
  22482. "label": "博爱县",
  22483. "value": "410822"
  22484. }, {
  22485. "label": "武陟县",
  22486. "value": "410823"
  22487. }, {
  22488. "label": "温县",
  22489. "value": "410825"
  22490. }, {
  22491. "label": "焦作城乡一体化示范区",
  22492. "value": "410871"
  22493. }, {
  22494. "label": "沁阳市",
  22495. "value": "410882"
  22496. }, {
  22497. "label": "孟州市",
  22498. "value": "410883"
  22499. }], [{
  22500. "label": "华龙区",
  22501. "value": "410902"
  22502. }, {
  22503. "label": "清丰县",
  22504. "value": "410922"
  22505. }, {
  22506. "label": "南乐县",
  22507. "value": "410923"
  22508. }, {
  22509. "label": "范县",
  22510. "value": "410926"
  22511. }, {
  22512. "label": "台前县",
  22513. "value": "410927"
  22514. }, {
  22515. "label": "濮阳县",
  22516. "value": "410928"
  22517. }, {
  22518. "label": "河南濮阳工业园区",
  22519. "value": "410971"
  22520. }, {
  22521. "label": "濮阳经济技术开发区",
  22522. "value": "410972"
  22523. }], [{
  22524. "label": "魏都区",
  22525. "value": "411002"
  22526. }, {
  22527. "label": "建安区",
  22528. "value": "411003"
  22529. }, {
  22530. "label": "鄢陵县",
  22531. "value": "411024"
  22532. }, {
  22533. "label": "襄城县",
  22534. "value": "411025"
  22535. }, {
  22536. "label": "许昌经济技术开发区",
  22537. "value": "411071"
  22538. }, {
  22539. "label": "禹州市",
  22540. "value": "411081"
  22541. }, {
  22542. "label": "长葛市",
  22543. "value": "411082"
  22544. }], [{
  22545. "label": "源汇区",
  22546. "value": "411102"
  22547. }, {
  22548. "label": "郾城区",
  22549. "value": "411103"
  22550. }, {
  22551. "label": "召陵区",
  22552. "value": "411104"
  22553. }, {
  22554. "label": "舞阳县",
  22555. "value": "411121"
  22556. }, {
  22557. "label": "临颍县",
  22558. "value": "411122"
  22559. }, {
  22560. "label": "漯河经济技术开发区",
  22561. "value": "411171"
  22562. }], [{
  22563. "label": "湖滨区",
  22564. "value": "411202"
  22565. }, {
  22566. "label": "陕州区",
  22567. "value": "411203"
  22568. }, {
  22569. "label": "渑池县",
  22570. "value": "411221"
  22571. }, {
  22572. "label": "卢氏县",
  22573. "value": "411224"
  22574. }, {
  22575. "label": "河南三门峡经济开发区",
  22576. "value": "411271"
  22577. }, {
  22578. "label": "义马市",
  22579. "value": "411281"
  22580. }, {
  22581. "label": "灵宝市",
  22582. "value": "411282"
  22583. }], [{
  22584. "label": "宛城区",
  22585. "value": "411302"
  22586. }, {
  22587. "label": "卧龙区",
  22588. "value": "411303"
  22589. }, {
  22590. "label": "南召县",
  22591. "value": "411321"
  22592. }, {
  22593. "label": "方城县",
  22594. "value": "411322"
  22595. }, {
  22596. "label": "西峡县",
  22597. "value": "411323"
  22598. }, {
  22599. "label": "镇平县",
  22600. "value": "411324"
  22601. }, {
  22602. "label": "内乡县",
  22603. "value": "411325"
  22604. }, {
  22605. "label": "淅川县",
  22606. "value": "411326"
  22607. }, {
  22608. "label": "社旗县",
  22609. "value": "411327"
  22610. }, {
  22611. "label": "唐河县",
  22612. "value": "411328"
  22613. }, {
  22614. "label": "新野县",
  22615. "value": "411329"
  22616. }, {
  22617. "label": "桐柏县",
  22618. "value": "411330"
  22619. }, {
  22620. "label": "南阳高新技术产业开发区",
  22621. "value": "411371"
  22622. }, {
  22623. "label": "南阳市城乡一体化示范区",
  22624. "value": "411372"
  22625. }, {
  22626. "label": "邓州市",
  22627. "value": "411381"
  22628. }], [{
  22629. "label": "梁园区",
  22630. "value": "411402"
  22631. }, {
  22632. "label": "睢阳区",
  22633. "value": "411403"
  22634. }, {
  22635. "label": "民权县",
  22636. "value": "411421"
  22637. }, {
  22638. "label": "睢县",
  22639. "value": "411422"
  22640. }, {
  22641. "label": "宁陵县",
  22642. "value": "411423"
  22643. }, {
  22644. "label": "柘城县",
  22645. "value": "411424"
  22646. }, {
  22647. "label": "虞城县",
  22648. "value": "411425"
  22649. }, {
  22650. "label": "夏邑县",
  22651. "value": "411426"
  22652. }, {
  22653. "label": "豫东综合物流产业聚集区",
  22654. "value": "411471"
  22655. }, {
  22656. "label": "河南商丘经济开发区",
  22657. "value": "411472"
  22658. }, {
  22659. "label": "永城市",
  22660. "value": "411481"
  22661. }], [{
  22662. "label": "浉河区",
  22663. "value": "411502"
  22664. }, {
  22665. "label": "平桥区",
  22666. "value": "411503"
  22667. }, {
  22668. "label": "罗山县",
  22669. "value": "411521"
  22670. }, {
  22671. "label": "光山县",
  22672. "value": "411522"
  22673. }, {
  22674. "label": "新县",
  22675. "value": "411523"
  22676. }, {
  22677. "label": "商城县",
  22678. "value": "411524"
  22679. }, {
  22680. "label": "固始县",
  22681. "value": "411525"
  22682. }, {
  22683. "label": "潢川县",
  22684. "value": "411526"
  22685. }, {
  22686. "label": "淮滨县",
  22687. "value": "411527"
  22688. }, {
  22689. "label": "息县",
  22690. "value": "411528"
  22691. }, {
  22692. "label": "信阳高新技术产业开发区",
  22693. "value": "411571"
  22694. }], [{
  22695. "label": "川汇区",
  22696. "value": "411602"
  22697. }, {
  22698. "label": "扶沟县",
  22699. "value": "411621"
  22700. }, {
  22701. "label": "西华县",
  22702. "value": "411622"
  22703. }, {
  22704. "label": "商水县",
  22705. "value": "411623"
  22706. }, {
  22707. "label": "沈丘县",
  22708. "value": "411624"
  22709. }, {
  22710. "label": "郸城县",
  22711. "value": "411625"
  22712. }, {
  22713. "label": "淮阳县",
  22714. "value": "411626"
  22715. }, {
  22716. "label": "太康县",
  22717. "value": "411627"
  22718. }, {
  22719. "label": "鹿邑县",
  22720. "value": "411628"
  22721. }, {
  22722. "label": "河南周口经济开发区",
  22723. "value": "411671"
  22724. }, {
  22725. "label": "项城市",
  22726. "value": "411681"
  22727. }], [{
  22728. "label": "驿城区",
  22729. "value": "411702"
  22730. }, {
  22731. "label": "西平县",
  22732. "value": "411721"
  22733. }, {
  22734. "label": "上蔡县",
  22735. "value": "411722"
  22736. }, {
  22737. "label": "平舆县",
  22738. "value": "411723"
  22739. }, {
  22740. "label": "正阳县",
  22741. "value": "411724"
  22742. }, {
  22743. "label": "确山县",
  22744. "value": "411725"
  22745. }, {
  22746. "label": "泌阳县",
  22747. "value": "411726"
  22748. }, {
  22749. "label": "汝南县",
  22750. "value": "411727"
  22751. }, {
  22752. "label": "遂平县",
  22753. "value": "411728"
  22754. }, {
  22755. "label": "新蔡县",
  22756. "value": "411729"
  22757. }, {
  22758. "label": "河南驻马店经济开发区",
  22759. "value": "411771"
  22760. }], [{
  22761. "label": "济源市",
  22762. "value": "419001"
  22763. }]], [[{
  22764. "label": "江岸区",
  22765. "value": "420102"
  22766. }, {
  22767. "label": "江汉区",
  22768. "value": "420103"
  22769. }, {
  22770. "label": "硚口区",
  22771. "value": "420104"
  22772. }, {
  22773. "label": "汉阳区",
  22774. "value": "420105"
  22775. }, {
  22776. "label": "武昌区",
  22777. "value": "420106"
  22778. }, {
  22779. "label": "青山区",
  22780. "value": "420107"
  22781. }, {
  22782. "label": "洪山区",
  22783. "value": "420111"
  22784. }, {
  22785. "label": "东西湖区",
  22786. "value": "420112"
  22787. }, {
  22788. "label": "汉南区",
  22789. "value": "420113"
  22790. }, {
  22791. "label": "蔡甸区",
  22792. "value": "420114"
  22793. }, {
  22794. "label": "江夏区",
  22795. "value": "420115"
  22796. }, {
  22797. "label": "黄陂区",
  22798. "value": "420116"
  22799. }, {
  22800. "label": "新洲区",
  22801. "value": "420117"
  22802. }], [{
  22803. "label": "黄石港区",
  22804. "value": "420202"
  22805. }, {
  22806. "label": "西塞山区",
  22807. "value": "420203"
  22808. }, {
  22809. "label": "下陆区",
  22810. "value": "420204"
  22811. }, {
  22812. "label": "铁山区",
  22813. "value": "420205"
  22814. }, {
  22815. "label": "阳新县",
  22816. "value": "420222"
  22817. }, {
  22818. "label": "大冶市",
  22819. "value": "420281"
  22820. }], [{
  22821. "label": "茅箭区",
  22822. "value": "420302"
  22823. }, {
  22824. "label": "张湾区",
  22825. "value": "420303"
  22826. }, {
  22827. "label": "郧阳区",
  22828. "value": "420304"
  22829. }, {
  22830. "label": "郧西县",
  22831. "value": "420322"
  22832. }, {
  22833. "label": "竹山县",
  22834. "value": "420323"
  22835. }, {
  22836. "label": "竹溪县",
  22837. "value": "420324"
  22838. }, {
  22839. "label": "房县",
  22840. "value": "420325"
  22841. }, {
  22842. "label": "丹江口市",
  22843. "value": "420381"
  22844. }], [{
  22845. "label": "西陵区",
  22846. "value": "420502"
  22847. }, {
  22848. "label": "伍家岗区",
  22849. "value": "420503"
  22850. }, {
  22851. "label": "点军区",
  22852. "value": "420504"
  22853. }, {
  22854. "label": "猇亭区",
  22855. "value": "420505"
  22856. }, {
  22857. "label": "夷陵区",
  22858. "value": "420506"
  22859. }, {
  22860. "label": "远安县",
  22861. "value": "420525"
  22862. }, {
  22863. "label": "兴山县",
  22864. "value": "420526"
  22865. }, {
  22866. "label": "秭归县",
  22867. "value": "420527"
  22868. }, {
  22869. "label": "长阳土家族自治县",
  22870. "value": "420528"
  22871. }, {
  22872. "label": "五峰土家族自治县",
  22873. "value": "420529"
  22874. }, {
  22875. "label": "宜都市",
  22876. "value": "420581"
  22877. }, {
  22878. "label": "当阳市",
  22879. "value": "420582"
  22880. }, {
  22881. "label": "枝江市",
  22882. "value": "420583"
  22883. }], [{
  22884. "label": "襄城区",
  22885. "value": "420602"
  22886. }, {
  22887. "label": "樊城区",
  22888. "value": "420606"
  22889. }, {
  22890. "label": "襄州区",
  22891. "value": "420607"
  22892. }, {
  22893. "label": "南漳县",
  22894. "value": "420624"
  22895. }, {
  22896. "label": "谷城县",
  22897. "value": "420625"
  22898. }, {
  22899. "label": "保康县",
  22900. "value": "420626"
  22901. }, {
  22902. "label": "老河口市",
  22903. "value": "420682"
  22904. }, {
  22905. "label": "枣阳市",
  22906. "value": "420683"
  22907. }, {
  22908. "label": "宜城市",
  22909. "value": "420684"
  22910. }], [{
  22911. "label": "梁子湖区",
  22912. "value": "420702"
  22913. }, {
  22914. "label": "华容区",
  22915. "value": "420703"
  22916. }, {
  22917. "label": "鄂城区",
  22918. "value": "420704"
  22919. }], [{
  22920. "label": "东宝区",
  22921. "value": "420802"
  22922. }, {
  22923. "label": "掇刀区",
  22924. "value": "420804"
  22925. }, {
  22926. "label": "京山县",
  22927. "value": "420821"
  22928. }, {
  22929. "label": "沙洋县",
  22930. "value": "420822"
  22931. }, {
  22932. "label": "钟祥市",
  22933. "value": "420881"
  22934. }], [{
  22935. "label": "孝南区",
  22936. "value": "420902"
  22937. }, {
  22938. "label": "孝昌县",
  22939. "value": "420921"
  22940. }, {
  22941. "label": "大悟县",
  22942. "value": "420922"
  22943. }, {
  22944. "label": "云梦县",
  22945. "value": "420923"
  22946. }, {
  22947. "label": "应城市",
  22948. "value": "420981"
  22949. }, {
  22950. "label": "安陆市",
  22951. "value": "420982"
  22952. }, {
  22953. "label": "汉川市",
  22954. "value": "420984"
  22955. }], [{
  22956. "label": "沙市区",
  22957. "value": "421002"
  22958. }, {
  22959. "label": "荆州区",
  22960. "value": "421003"
  22961. }, {
  22962. "label": "公安县",
  22963. "value": "421022"
  22964. }, {
  22965. "label": "监利县",
  22966. "value": "421023"
  22967. }, {
  22968. "label": "江陵县",
  22969. "value": "421024"
  22970. }, {
  22971. "label": "荆州经济技术开发区",
  22972. "value": "421071"
  22973. }, {
  22974. "label": "石首市",
  22975. "value": "421081"
  22976. }, {
  22977. "label": "洪湖市",
  22978. "value": "421083"
  22979. }, {
  22980. "label": "松滋市",
  22981. "value": "421087"
  22982. }], [{
  22983. "label": "黄州区",
  22984. "value": "421102"
  22985. }, {
  22986. "label": "团风县",
  22987. "value": "421121"
  22988. }, {
  22989. "label": "红安县",
  22990. "value": "421122"
  22991. }, {
  22992. "label": "罗田县",
  22993. "value": "421123"
  22994. }, {
  22995. "label": "英山县",
  22996. "value": "421124"
  22997. }, {
  22998. "label": "浠水县",
  22999. "value": "421125"
  23000. }, {
  23001. "label": "蕲春县",
  23002. "value": "421126"
  23003. }, {
  23004. "label": "黄梅县",
  23005. "value": "421127"
  23006. }, {
  23007. "label": "龙感湖管理区",
  23008. "value": "421171"
  23009. }, {
  23010. "label": "麻城市",
  23011. "value": "421181"
  23012. }, {
  23013. "label": "武穴市",
  23014. "value": "421182"
  23015. }], [{
  23016. "label": "咸安区",
  23017. "value": "421202"
  23018. }, {
  23019. "label": "嘉鱼县",
  23020. "value": "421221"
  23021. }, {
  23022. "label": "通城县",
  23023. "value": "421222"
  23024. }, {
  23025. "label": "崇阳县",
  23026. "value": "421223"
  23027. }, {
  23028. "label": "通山县",
  23029. "value": "421224"
  23030. }, {
  23031. "label": "赤壁市",
  23032. "value": "421281"
  23033. }], [{
  23034. "label": "曾都区",
  23035. "value": "421303"
  23036. }, {
  23037. "label": "随县",
  23038. "value": "421321"
  23039. }, {
  23040. "label": "广水市",
  23041. "value": "421381"
  23042. }], [{
  23043. "label": "恩施市",
  23044. "value": "422801"
  23045. }, {
  23046. "label": "利川市",
  23047. "value": "422802"
  23048. }, {
  23049. "label": "建始县",
  23050. "value": "422822"
  23051. }, {
  23052. "label": "巴东县",
  23053. "value": "422823"
  23054. }, {
  23055. "label": "宣恩县",
  23056. "value": "422825"
  23057. }, {
  23058. "label": "咸丰县",
  23059. "value": "422826"
  23060. }, {
  23061. "label": "来凤县",
  23062. "value": "422827"
  23063. }, {
  23064. "label": "鹤峰县",
  23065. "value": "422828"
  23066. }], [{
  23067. "label": "仙桃市",
  23068. "value": "429004"
  23069. }, {
  23070. "label": "潜江市",
  23071. "value": "429005"
  23072. }, {
  23073. "label": "天门市",
  23074. "value": "429006"
  23075. }, {
  23076. "label": "神农架林区",
  23077. "value": "429021"
  23078. }]], [[{
  23079. "label": "芙蓉区",
  23080. "value": "430102"
  23081. }, {
  23082. "label": "天心区",
  23083. "value": "430103"
  23084. }, {
  23085. "label": "岳麓区",
  23086. "value": "430104"
  23087. }, {
  23088. "label": "开福区",
  23089. "value": "430105"
  23090. }, {
  23091. "label": "雨花区",
  23092. "value": "430111"
  23093. }, {
  23094. "label": "望城区",
  23095. "value": "430112"
  23096. }, {
  23097. "label": "长沙县",
  23098. "value": "430121"
  23099. }, {
  23100. "label": "浏阳市",
  23101. "value": "430181"
  23102. }, {
  23103. "label": "宁乡市",
  23104. "value": "430182"
  23105. }], [{
  23106. "label": "荷塘区",
  23107. "value": "430202"
  23108. }, {
  23109. "label": "芦淞区",
  23110. "value": "430203"
  23111. }, {
  23112. "label": "石峰区",
  23113. "value": "430204"
  23114. }, {
  23115. "label": "天元区",
  23116. "value": "430211"
  23117. }, {
  23118. "label": "株洲县",
  23119. "value": "430221"
  23120. }, {
  23121. "label": "攸县",
  23122. "value": "430223"
  23123. }, {
  23124. "label": "茶陵县",
  23125. "value": "430224"
  23126. }, {
  23127. "label": "炎陵县",
  23128. "value": "430225"
  23129. }, {
  23130. "label": "云龙示范区",
  23131. "value": "430271"
  23132. }, {
  23133. "label": "醴陵市",
  23134. "value": "430281"
  23135. }], [{
  23136. "label": "雨湖区",
  23137. "value": "430302"
  23138. }, {
  23139. "label": "岳塘区",
  23140. "value": "430304"
  23141. }, {
  23142. "label": "湘潭县",
  23143. "value": "430321"
  23144. }, {
  23145. "label": "湖南湘潭高新技术产业园区",
  23146. "value": "430371"
  23147. }, {
  23148. "label": "湘潭昭山示范区",
  23149. "value": "430372"
  23150. }, {
  23151. "label": "湘潭九华示范区",
  23152. "value": "430373"
  23153. }, {
  23154. "label": "湘乡市",
  23155. "value": "430381"
  23156. }, {
  23157. "label": "韶山市",
  23158. "value": "430382"
  23159. }], [{
  23160. "label": "珠晖区",
  23161. "value": "430405"
  23162. }, {
  23163. "label": "雁峰区",
  23164. "value": "430406"
  23165. }, {
  23166. "label": "石鼓区",
  23167. "value": "430407"
  23168. }, {
  23169. "label": "蒸湘区",
  23170. "value": "430408"
  23171. }, {
  23172. "label": "南岳区",
  23173. "value": "430412"
  23174. }, {
  23175. "label": "衡阳县",
  23176. "value": "430421"
  23177. }, {
  23178. "label": "衡南县",
  23179. "value": "430422"
  23180. }, {
  23181. "label": "衡山县",
  23182. "value": "430423"
  23183. }, {
  23184. "label": "衡东县",
  23185. "value": "430424"
  23186. }, {
  23187. "label": "祁东县",
  23188. "value": "430426"
  23189. }, {
  23190. "label": "衡阳综合保税区",
  23191. "value": "430471"
  23192. }, {
  23193. "label": "湖南衡阳高新技术产业园区",
  23194. "value": "430472"
  23195. }, {
  23196. "label": "湖南衡阳松木经济开发区",
  23197. "value": "430473"
  23198. }, {
  23199. "label": "耒阳市",
  23200. "value": "430481"
  23201. }, {
  23202. "label": "常宁市",
  23203. "value": "430482"
  23204. }], [{
  23205. "label": "双清区",
  23206. "value": "430502"
  23207. }, {
  23208. "label": "大祥区",
  23209. "value": "430503"
  23210. }, {
  23211. "label": "北塔区",
  23212. "value": "430511"
  23213. }, {
  23214. "label": "邵东县",
  23215. "value": "430521"
  23216. }, {
  23217. "label": "新邵县",
  23218. "value": "430522"
  23219. }, {
  23220. "label": "邵阳县",
  23221. "value": "430523"
  23222. }, {
  23223. "label": "隆回县",
  23224. "value": "430524"
  23225. }, {
  23226. "label": "洞口县",
  23227. "value": "430525"
  23228. }, {
  23229. "label": "绥宁县",
  23230. "value": "430527"
  23231. }, {
  23232. "label": "新宁县",
  23233. "value": "430528"
  23234. }, {
  23235. "label": "城步苗族自治县",
  23236. "value": "430529"
  23237. }, {
  23238. "label": "武冈市",
  23239. "value": "430581"
  23240. }], [{
  23241. "label": "岳阳楼区",
  23242. "value": "430602"
  23243. }, {
  23244. "label": "云溪区",
  23245. "value": "430603"
  23246. }, {
  23247. "label": "君山区",
  23248. "value": "430611"
  23249. }, {
  23250. "label": "岳阳县",
  23251. "value": "430621"
  23252. }, {
  23253. "label": "华容县",
  23254. "value": "430623"
  23255. }, {
  23256. "label": "湘阴县",
  23257. "value": "430624"
  23258. }, {
  23259. "label": "平江县",
  23260. "value": "430626"
  23261. }, {
  23262. "label": "岳阳市屈原管理区",
  23263. "value": "430671"
  23264. }, {
  23265. "label": "汨罗市",
  23266. "value": "430681"
  23267. }, {
  23268. "label": "临湘市",
  23269. "value": "430682"
  23270. }], [{
  23271. "label": "武陵区",
  23272. "value": "430702"
  23273. }, {
  23274. "label": "鼎城区",
  23275. "value": "430703"
  23276. }, {
  23277. "label": "安乡县",
  23278. "value": "430721"
  23279. }, {
  23280. "label": "汉寿县",
  23281. "value": "430722"
  23282. }, {
  23283. "label": "澧县",
  23284. "value": "430723"
  23285. }, {
  23286. "label": "临澧县",
  23287. "value": "430724"
  23288. }, {
  23289. "label": "桃源县",
  23290. "value": "430725"
  23291. }, {
  23292. "label": "石门县",
  23293. "value": "430726"
  23294. }, {
  23295. "label": "常德市西洞庭管理区",
  23296. "value": "430771"
  23297. }, {
  23298. "label": "津市市",
  23299. "value": "430781"
  23300. }], [{
  23301. "label": "永定区",
  23302. "value": "430802"
  23303. }, {
  23304. "label": "武陵源区",
  23305. "value": "430811"
  23306. }, {
  23307. "label": "慈利县",
  23308. "value": "430821"
  23309. }, {
  23310. "label": "桑植县",
  23311. "value": "430822"
  23312. }], [{
  23313. "label": "资阳区",
  23314. "value": "430902"
  23315. }, {
  23316. "label": "赫山区",
  23317. "value": "430903"
  23318. }, {
  23319. "label": "南县",
  23320. "value": "430921"
  23321. }, {
  23322. "label": "桃江县",
  23323. "value": "430922"
  23324. }, {
  23325. "label": "安化县",
  23326. "value": "430923"
  23327. }, {
  23328. "label": "益阳市大通湖管理区",
  23329. "value": "430971"
  23330. }, {
  23331. "label": "湖南益阳高新技术产业园区",
  23332. "value": "430972"
  23333. }, {
  23334. "label": "沅江市",
  23335. "value": "430981"
  23336. }], [{
  23337. "label": "北湖区",
  23338. "value": "431002"
  23339. }, {
  23340. "label": "苏仙区",
  23341. "value": "431003"
  23342. }, {
  23343. "label": "桂阳县",
  23344. "value": "431021"
  23345. }, {
  23346. "label": "宜章县",
  23347. "value": "431022"
  23348. }, {
  23349. "label": "永兴县",
  23350. "value": "431023"
  23351. }, {
  23352. "label": "嘉禾县",
  23353. "value": "431024"
  23354. }, {
  23355. "label": "临武县",
  23356. "value": "431025"
  23357. }, {
  23358. "label": "汝城县",
  23359. "value": "431026"
  23360. }, {
  23361. "label": "桂东县",
  23362. "value": "431027"
  23363. }, {
  23364. "label": "安仁县",
  23365. "value": "431028"
  23366. }, {
  23367. "label": "资兴市",
  23368. "value": "431081"
  23369. }], [{
  23370. "label": "零陵区",
  23371. "value": "431102"
  23372. }, {
  23373. "label": "冷水滩区",
  23374. "value": "431103"
  23375. }, {
  23376. "label": "祁阳县",
  23377. "value": "431121"
  23378. }, {
  23379. "label": "东安县",
  23380. "value": "431122"
  23381. }, {
  23382. "label": "双牌县",
  23383. "value": "431123"
  23384. }, {
  23385. "label": "道县",
  23386. "value": "431124"
  23387. }, {
  23388. "label": "江永县",
  23389. "value": "431125"
  23390. }, {
  23391. "label": "宁远县",
  23392. "value": "431126"
  23393. }, {
  23394. "label": "蓝山县",
  23395. "value": "431127"
  23396. }, {
  23397. "label": "新田县",
  23398. "value": "431128"
  23399. }, {
  23400. "label": "江华瑶族自治县",
  23401. "value": "431129"
  23402. }, {
  23403. "label": "永州经济技术开发区",
  23404. "value": "431171"
  23405. }, {
  23406. "label": "永州市金洞管理区",
  23407. "value": "431172"
  23408. }, {
  23409. "label": "永州市回龙圩管理区",
  23410. "value": "431173"
  23411. }], [{
  23412. "label": "鹤城区",
  23413. "value": "431202"
  23414. }, {
  23415. "label": "中方县",
  23416. "value": "431221"
  23417. }, {
  23418. "label": "沅陵县",
  23419. "value": "431222"
  23420. }, {
  23421. "label": "辰溪县",
  23422. "value": "431223"
  23423. }, {
  23424. "label": "溆浦县",
  23425. "value": "431224"
  23426. }, {
  23427. "label": "会同县",
  23428. "value": "431225"
  23429. }, {
  23430. "label": "麻阳苗族自治县",
  23431. "value": "431226"
  23432. }, {
  23433. "label": "新晃侗族自治县",
  23434. "value": "431227"
  23435. }, {
  23436. "label": "芷江侗族自治县",
  23437. "value": "431228"
  23438. }, {
  23439. "label": "靖州苗族侗族自治县",
  23440. "value": "431229"
  23441. }, {
  23442. "label": "通道侗族自治县",
  23443. "value": "431230"
  23444. }, {
  23445. "label": "怀化市洪江管理区",
  23446. "value": "431271"
  23447. }, {
  23448. "label": "洪江市",
  23449. "value": "431281"
  23450. }], [{
  23451. "label": "娄星区",
  23452. "value": "431302"
  23453. }, {
  23454. "label": "双峰县",
  23455. "value": "431321"
  23456. }, {
  23457. "label": "新化县",
  23458. "value": "431322"
  23459. }, {
  23460. "label": "冷水江市",
  23461. "value": "431381"
  23462. }, {
  23463. "label": "涟源市",
  23464. "value": "431382"
  23465. }], [{
  23466. "label": "吉首市",
  23467. "value": "433101"
  23468. }, {
  23469. "label": "泸溪县",
  23470. "value": "433122"
  23471. }, {
  23472. "label": "凤凰县",
  23473. "value": "433123"
  23474. }, {
  23475. "label": "花垣县",
  23476. "value": "433124"
  23477. }, {
  23478. "label": "保靖县",
  23479. "value": "433125"
  23480. }, {
  23481. "label": "古丈县",
  23482. "value": "433126"
  23483. }, {
  23484. "label": "永顺县",
  23485. "value": "433127"
  23486. }, {
  23487. "label": "龙山县",
  23488. "value": "433130"
  23489. }, {
  23490. "label": "湖南吉首经济开发区",
  23491. "value": "433172"
  23492. }, {
  23493. "label": "湖南永顺经济开发区",
  23494. "value": "433173"
  23495. }]], [[{
  23496. "label": "荔湾区",
  23497. "value": "440103"
  23498. }, {
  23499. "label": "越秀区",
  23500. "value": "440104"
  23501. }, {
  23502. "label": "海珠区",
  23503. "value": "440105"
  23504. }, {
  23505. "label": "天河区",
  23506. "value": "440106"
  23507. }, {
  23508. "label": "白云区",
  23509. "value": "440111"
  23510. }, {
  23511. "label": "黄埔区",
  23512. "value": "440112"
  23513. }, {
  23514. "label": "番禺区",
  23515. "value": "440113"
  23516. }, {
  23517. "label": "花都区",
  23518. "value": "440114"
  23519. }, {
  23520. "label": "南沙区",
  23521. "value": "440115"
  23522. }, {
  23523. "label": "从化区",
  23524. "value": "440117"
  23525. }, {
  23526. "label": "增城区",
  23527. "value": "440118"
  23528. }], [{
  23529. "label": "武江区",
  23530. "value": "440203"
  23531. }, {
  23532. "label": "浈江区",
  23533. "value": "440204"
  23534. }, {
  23535. "label": "曲江区",
  23536. "value": "440205"
  23537. }, {
  23538. "label": "始兴县",
  23539. "value": "440222"
  23540. }, {
  23541. "label": "仁化县",
  23542. "value": "440224"
  23543. }, {
  23544. "label": "翁源县",
  23545. "value": "440229"
  23546. }, {
  23547. "label": "乳源瑶族自治县",
  23548. "value": "440232"
  23549. }, {
  23550. "label": "新丰县",
  23551. "value": "440233"
  23552. }, {
  23553. "label": "乐昌市",
  23554. "value": "440281"
  23555. }, {
  23556. "label": "南雄市",
  23557. "value": "440282"
  23558. }], [{
  23559. "label": "罗湖区",
  23560. "value": "440303"
  23561. }, {
  23562. "label": "福田区",
  23563. "value": "440304"
  23564. }, {
  23565. "label": "南山区",
  23566. "value": "440305"
  23567. }, {
  23568. "label": "宝安区",
  23569. "value": "440306"
  23570. }, {
  23571. "label": "龙岗区",
  23572. "value": "440307"
  23573. }, {
  23574. "label": "盐田区",
  23575. "value": "440308"
  23576. }, {
  23577. "label": "龙华区",
  23578. "value": "440309"
  23579. }, {
  23580. "label": "坪山区",
  23581. "value": "440310"
  23582. }], [{
  23583. "label": "香洲区",
  23584. "value": "440402"
  23585. }, {
  23586. "label": "斗门区",
  23587. "value": "440403"
  23588. }, {
  23589. "label": "金湾区",
  23590. "value": "440404"
  23591. }], [{
  23592. "label": "龙湖区",
  23593. "value": "440507"
  23594. }, {
  23595. "label": "金平区",
  23596. "value": "440511"
  23597. }, {
  23598. "label": "濠江区",
  23599. "value": "440512"
  23600. }, {
  23601. "label": "潮阳区",
  23602. "value": "440513"
  23603. }, {
  23604. "label": "潮南区",
  23605. "value": "440514"
  23606. }, {
  23607. "label": "澄海区",
  23608. "value": "440515"
  23609. }, {
  23610. "label": "南澳县",
  23611. "value": "440523"
  23612. }], [{
  23613. "label": "禅城区",
  23614. "value": "440604"
  23615. }, {
  23616. "label": "南海区",
  23617. "value": "440605"
  23618. }, {
  23619. "label": "顺德区",
  23620. "value": "440606"
  23621. }, {
  23622. "label": "三水区",
  23623. "value": "440607"
  23624. }, {
  23625. "label": "高明区",
  23626. "value": "440608"
  23627. }], [{
  23628. "label": "蓬江区",
  23629. "value": "440703"
  23630. }, {
  23631. "label": "江海区",
  23632. "value": "440704"
  23633. }, {
  23634. "label": "新会区",
  23635. "value": "440705"
  23636. }, {
  23637. "label": "台山市",
  23638. "value": "440781"
  23639. }, {
  23640. "label": "开平市",
  23641. "value": "440783"
  23642. }, {
  23643. "label": "鹤山市",
  23644. "value": "440784"
  23645. }, {
  23646. "label": "恩平市",
  23647. "value": "440785"
  23648. }], [{
  23649. "label": "赤坎区",
  23650. "value": "440802"
  23651. }, {
  23652. "label": "霞山区",
  23653. "value": "440803"
  23654. }, {
  23655. "label": "坡头区",
  23656. "value": "440804"
  23657. }, {
  23658. "label": "麻章区",
  23659. "value": "440811"
  23660. }, {
  23661. "label": "遂溪县",
  23662. "value": "440823"
  23663. }, {
  23664. "label": "徐闻县",
  23665. "value": "440825"
  23666. }, {
  23667. "label": "廉江市",
  23668. "value": "440881"
  23669. }, {
  23670. "label": "雷州市",
  23671. "value": "440882"
  23672. }, {
  23673. "label": "吴川市",
  23674. "value": "440883"
  23675. }], [{
  23676. "label": "茂南区",
  23677. "value": "440902"
  23678. }, {
  23679. "label": "电白区",
  23680. "value": "440904"
  23681. }, {
  23682. "label": "高州市",
  23683. "value": "440981"
  23684. }, {
  23685. "label": "化州市",
  23686. "value": "440982"
  23687. }, {
  23688. "label": "信宜市",
  23689. "value": "440983"
  23690. }], [{
  23691. "label": "端州区",
  23692. "value": "441202"
  23693. }, {
  23694. "label": "鼎湖区",
  23695. "value": "441203"
  23696. }, {
  23697. "label": "高要区",
  23698. "value": "441204"
  23699. }, {
  23700. "label": "广宁县",
  23701. "value": "441223"
  23702. }, {
  23703. "label": "怀集县",
  23704. "value": "441224"
  23705. }, {
  23706. "label": "封开县",
  23707. "value": "441225"
  23708. }, {
  23709. "label": "德庆县",
  23710. "value": "441226"
  23711. }, {
  23712. "label": "四会市",
  23713. "value": "441284"
  23714. }], [{
  23715. "label": "惠城区",
  23716. "value": "441302"
  23717. }, {
  23718. "label": "惠阳区",
  23719. "value": "441303"
  23720. }, {
  23721. "label": "博罗县",
  23722. "value": "441322"
  23723. }, {
  23724. "label": "惠东县",
  23725. "value": "441323"
  23726. }, {
  23727. "label": "龙门县",
  23728. "value": "441324"
  23729. }], [{
  23730. "label": "梅江区",
  23731. "value": "441402"
  23732. }, {
  23733. "label": "梅县区",
  23734. "value": "441403"
  23735. }, {
  23736. "label": "大埔县",
  23737. "value": "441422"
  23738. }, {
  23739. "label": "丰顺县",
  23740. "value": "441423"
  23741. }, {
  23742. "label": "五华县",
  23743. "value": "441424"
  23744. }, {
  23745. "label": "平远县",
  23746. "value": "441426"
  23747. }, {
  23748. "label": "蕉岭县",
  23749. "value": "441427"
  23750. }, {
  23751. "label": "兴宁市",
  23752. "value": "441481"
  23753. }], [{
  23754. "label": "城区",
  23755. "value": "441502"
  23756. }, {
  23757. "label": "海丰县",
  23758. "value": "441521"
  23759. }, {
  23760. "label": "陆河县",
  23761. "value": "441523"
  23762. }, {
  23763. "label": "陆丰市",
  23764. "value": "441581"
  23765. }], [{
  23766. "label": "源城区",
  23767. "value": "441602"
  23768. }, {
  23769. "label": "紫金县",
  23770. "value": "441621"
  23771. }, {
  23772. "label": "龙川县",
  23773. "value": "441622"
  23774. }, {
  23775. "label": "连平县",
  23776. "value": "441623"
  23777. }, {
  23778. "label": "和平县",
  23779. "value": "441624"
  23780. }, {
  23781. "label": "东源县",
  23782. "value": "441625"
  23783. }], [{
  23784. "label": "江城区",
  23785. "value": "441702"
  23786. }, {
  23787. "label": "阳东区",
  23788. "value": "441704"
  23789. }, {
  23790. "label": "阳西县",
  23791. "value": "441721"
  23792. }, {
  23793. "label": "阳春市",
  23794. "value": "441781"
  23795. }], [{
  23796. "label": "清城区",
  23797. "value": "441802"
  23798. }, {
  23799. "label": "清新区",
  23800. "value": "441803"
  23801. }, {
  23802. "label": "佛冈县",
  23803. "value": "441821"
  23804. }, {
  23805. "label": "阳山县",
  23806. "value": "441823"
  23807. }, {
  23808. "label": "连山壮族瑶族自治县",
  23809. "value": "441825"
  23810. }, {
  23811. "label": "连南瑶族自治县",
  23812. "value": "441826"
  23813. }, {
  23814. "label": "英德市",
  23815. "value": "441881"
  23816. }, {
  23817. "label": "连州市",
  23818. "value": "441882"
  23819. }], [{
  23820. "label": "东莞市",
  23821. "value": "441900"
  23822. }], [{
  23823. "label": "中山市",
  23824. "value": "442000"
  23825. }], [{
  23826. "label": "湘桥区",
  23827. "value": "445102"
  23828. }, {
  23829. "label": "潮安区",
  23830. "value": "445103"
  23831. }, {
  23832. "label": "饶平县",
  23833. "value": "445122"
  23834. }], [{
  23835. "label": "榕城区",
  23836. "value": "445202"
  23837. }, {
  23838. "label": "揭东区",
  23839. "value": "445203"
  23840. }, {
  23841. "label": "揭西县",
  23842. "value": "445222"
  23843. }, {
  23844. "label": "惠来县",
  23845. "value": "445224"
  23846. }, {
  23847. "label": "普宁市",
  23848. "value": "445281"
  23849. }], [{
  23850. "label": "云城区",
  23851. "value": "445302"
  23852. }, {
  23853. "label": "云安区",
  23854. "value": "445303"
  23855. }, {
  23856. "label": "新兴县",
  23857. "value": "445321"
  23858. }, {
  23859. "label": "郁南县",
  23860. "value": "445322"
  23861. }, {
  23862. "label": "罗定市",
  23863. "value": "445381"
  23864. }]], [[{
  23865. "label": "兴宁区",
  23866. "value": "450102"
  23867. }, {
  23868. "label": "青秀区",
  23869. "value": "450103"
  23870. }, {
  23871. "label": "江南区",
  23872. "value": "450105"
  23873. }, {
  23874. "label": "西乡塘区",
  23875. "value": "450107"
  23876. }, {
  23877. "label": "良庆区",
  23878. "value": "450108"
  23879. }, {
  23880. "label": "邕宁区",
  23881. "value": "450109"
  23882. }, {
  23883. "label": "武鸣区",
  23884. "value": "450110"
  23885. }, {
  23886. "label": "隆安县",
  23887. "value": "450123"
  23888. }, {
  23889. "label": "马山县",
  23890. "value": "450124"
  23891. }, {
  23892. "label": "上林县",
  23893. "value": "450125"
  23894. }, {
  23895. "label": "宾阳县",
  23896. "value": "450126"
  23897. }, {
  23898. "label": "横县",
  23899. "value": "450127"
  23900. }], [{
  23901. "label": "城中区",
  23902. "value": "450202"
  23903. }, {
  23904. "label": "鱼峰区",
  23905. "value": "450203"
  23906. }, {
  23907. "label": "柳南区",
  23908. "value": "450204"
  23909. }, {
  23910. "label": "柳北区",
  23911. "value": "450205"
  23912. }, {
  23913. "label": "柳江区",
  23914. "value": "450206"
  23915. }, {
  23916. "label": "柳城县",
  23917. "value": "450222"
  23918. }, {
  23919. "label": "鹿寨县",
  23920. "value": "450223"
  23921. }, {
  23922. "label": "融安县",
  23923. "value": "450224"
  23924. }, {
  23925. "label": "融水苗族自治县",
  23926. "value": "450225"
  23927. }, {
  23928. "label": "三江侗族自治县",
  23929. "value": "450226"
  23930. }], [{
  23931. "label": "秀峰区",
  23932. "value": "450302"
  23933. }, {
  23934. "label": "叠彩区",
  23935. "value": "450303"
  23936. }, {
  23937. "label": "象山区",
  23938. "value": "450304"
  23939. }, {
  23940. "label": "七星区",
  23941. "value": "450305"
  23942. }, {
  23943. "label": "雁山区",
  23944. "value": "450311"
  23945. }, {
  23946. "label": "临桂区",
  23947. "value": "450312"
  23948. }, {
  23949. "label": "阳朔县",
  23950. "value": "450321"
  23951. }, {
  23952. "label": "灵川县",
  23953. "value": "450323"
  23954. }, {
  23955. "label": "全州县",
  23956. "value": "450324"
  23957. }, {
  23958. "label": "兴安县",
  23959. "value": "450325"
  23960. }, {
  23961. "label": "永福县",
  23962. "value": "450326"
  23963. }, {
  23964. "label": "灌阳县",
  23965. "value": "450327"
  23966. }, {
  23967. "label": "龙胜各族自治县",
  23968. "value": "450328"
  23969. }, {
  23970. "label": "资源县",
  23971. "value": "450329"
  23972. }, {
  23973. "label": "平乐县",
  23974. "value": "450330"
  23975. }, {
  23976. "label": "荔浦县",
  23977. "value": "450331"
  23978. }, {
  23979. "label": "恭城瑶族自治县",
  23980. "value": "450332"
  23981. }], [{
  23982. "label": "万秀区",
  23983. "value": "450403"
  23984. }, {
  23985. "label": "长洲区",
  23986. "value": "450405"
  23987. }, {
  23988. "label": "龙圩区",
  23989. "value": "450406"
  23990. }, {
  23991. "label": "苍梧县",
  23992. "value": "450421"
  23993. }, {
  23994. "label": "藤县",
  23995. "value": "450422"
  23996. }, {
  23997. "label": "蒙山县",
  23998. "value": "450423"
  23999. }, {
  24000. "label": "岑溪市",
  24001. "value": "450481"
  24002. }], [{
  24003. "label": "海城区",
  24004. "value": "450502"
  24005. }, {
  24006. "label": "银海区",
  24007. "value": "450503"
  24008. }, {
  24009. "label": "铁山港区",
  24010. "value": "450512"
  24011. }, {
  24012. "label": "合浦县",
  24013. "value": "450521"
  24014. }], [{
  24015. "label": "港口区",
  24016. "value": "450602"
  24017. }, {
  24018. "label": "防城区",
  24019. "value": "450603"
  24020. }, {
  24021. "label": "上思县",
  24022. "value": "450621"
  24023. }, {
  24024. "label": "东兴市",
  24025. "value": "450681"
  24026. }], [{
  24027. "label": "钦南区",
  24028. "value": "450702"
  24029. }, {
  24030. "label": "钦北区",
  24031. "value": "450703"
  24032. }, {
  24033. "label": "灵山县",
  24034. "value": "450721"
  24035. }, {
  24036. "label": "浦北县",
  24037. "value": "450722"
  24038. }], [{
  24039. "label": "港北区",
  24040. "value": "450802"
  24041. }, {
  24042. "label": "港南区",
  24043. "value": "450803"
  24044. }, {
  24045. "label": "覃塘区",
  24046. "value": "450804"
  24047. }, {
  24048. "label": "平南县",
  24049. "value": "450821"
  24050. }, {
  24051. "label": "桂平市",
  24052. "value": "450881"
  24053. }], [{
  24054. "label": "玉州区",
  24055. "value": "450902"
  24056. }, {
  24057. "label": "福绵区",
  24058. "value": "450903"
  24059. }, {
  24060. "label": "容县",
  24061. "value": "450921"
  24062. }, {
  24063. "label": "陆川县",
  24064. "value": "450922"
  24065. }, {
  24066. "label": "博白县",
  24067. "value": "450923"
  24068. }, {
  24069. "label": "兴业县",
  24070. "value": "450924"
  24071. }, {
  24072. "label": "北流市",
  24073. "value": "450981"
  24074. }], [{
  24075. "label": "右江区",
  24076. "value": "451002"
  24077. }, {
  24078. "label": "田阳县",
  24079. "value": "451021"
  24080. }, {
  24081. "label": "田东县",
  24082. "value": "451022"
  24083. }, {
  24084. "label": "平果县",
  24085. "value": "451023"
  24086. }, {
  24087. "label": "德保县",
  24088. "value": "451024"
  24089. }, {
  24090. "label": "那坡县",
  24091. "value": "451026"
  24092. }, {
  24093. "label": "凌云县",
  24094. "value": "451027"
  24095. }, {
  24096. "label": "乐业县",
  24097. "value": "451028"
  24098. }, {
  24099. "label": "田林县",
  24100. "value": "451029"
  24101. }, {
  24102. "label": "西林县",
  24103. "value": "451030"
  24104. }, {
  24105. "label": "隆林各族自治县",
  24106. "value": "451031"
  24107. }, {
  24108. "label": "靖西市",
  24109. "value": "451081"
  24110. }], [{
  24111. "label": "八步区",
  24112. "value": "451102"
  24113. }, {
  24114. "label": "平桂区",
  24115. "value": "451103"
  24116. }, {
  24117. "label": "昭平县",
  24118. "value": "451121"
  24119. }, {
  24120. "label": "钟山县",
  24121. "value": "451122"
  24122. }, {
  24123. "label": "富川瑶族自治县",
  24124. "value": "451123"
  24125. }], [{
  24126. "label": "金城江区",
  24127. "value": "451202"
  24128. }, {
  24129. "label": "宜州区",
  24130. "value": "451203"
  24131. }, {
  24132. "label": "南丹县",
  24133. "value": "451221"
  24134. }, {
  24135. "label": "天峨县",
  24136. "value": "451222"
  24137. }, {
  24138. "label": "凤山县",
  24139. "value": "451223"
  24140. }, {
  24141. "label": "东兰县",
  24142. "value": "451224"
  24143. }, {
  24144. "label": "罗城仫佬族自治县",
  24145. "value": "451225"
  24146. }, {
  24147. "label": "环江毛南族自治县",
  24148. "value": "451226"
  24149. }, {
  24150. "label": "巴马瑶族自治县",
  24151. "value": "451227"
  24152. }, {
  24153. "label": "都安瑶族自治县",
  24154. "value": "451228"
  24155. }, {
  24156. "label": "大化瑶族自治县",
  24157. "value": "451229"
  24158. }], [{
  24159. "label": "兴宾区",
  24160. "value": "451302"
  24161. }, {
  24162. "label": "忻城县",
  24163. "value": "451321"
  24164. }, {
  24165. "label": "象州县",
  24166. "value": "451322"
  24167. }, {
  24168. "label": "武宣县",
  24169. "value": "451323"
  24170. }, {
  24171. "label": "金秀瑶族自治县",
  24172. "value": "451324"
  24173. }, {
  24174. "label": "合山市",
  24175. "value": "451381"
  24176. }], [{
  24177. "label": "江州区",
  24178. "value": "451402"
  24179. }, {
  24180. "label": "扶绥县",
  24181. "value": "451421"
  24182. }, {
  24183. "label": "宁明县",
  24184. "value": "451422"
  24185. }, {
  24186. "label": "龙州县",
  24187. "value": "451423"
  24188. }, {
  24189. "label": "大新县",
  24190. "value": "451424"
  24191. }, {
  24192. "label": "天等县",
  24193. "value": "451425"
  24194. }, {
  24195. "label": "凭祥市",
  24196. "value": "451481"
  24197. }]], [[{
  24198. "label": "秀英区",
  24199. "value": "460105"
  24200. }, {
  24201. "label": "龙华区",
  24202. "value": "460106"
  24203. }, {
  24204. "label": "琼山区",
  24205. "value": "460107"
  24206. }, {
  24207. "label": "美兰区",
  24208. "value": "460108"
  24209. }], [{
  24210. "label": "海棠区",
  24211. "value": "460202"
  24212. }, {
  24213. "label": "吉阳区",
  24214. "value": "460203"
  24215. }, {
  24216. "label": "天涯区",
  24217. "value": "460204"
  24218. }, {
  24219. "label": "崖州区",
  24220. "value": "460205"
  24221. }], [{
  24222. "label": "西沙群岛",
  24223. "value": "460321"
  24224. }, {
  24225. "label": "南沙群岛",
  24226. "value": "460322"
  24227. }, {
  24228. "label": "中沙群岛的岛礁及其海域",
  24229. "value": "460323"
  24230. }], [{
  24231. "label": "儋州市",
  24232. "value": "460400"
  24233. }], [{
  24234. "label": "五指山市",
  24235. "value": "469001"
  24236. }, {
  24237. "label": "琼海市",
  24238. "value": "469002"
  24239. }, {
  24240. "label": "文昌市",
  24241. "value": "469005"
  24242. }, {
  24243. "label": "万宁市",
  24244. "value": "469006"
  24245. }, {
  24246. "label": "东方市",
  24247. "value": "469007"
  24248. }, {
  24249. "label": "定安县",
  24250. "value": "469021"
  24251. }, {
  24252. "label": "屯昌县",
  24253. "value": "469022"
  24254. }, {
  24255. "label": "澄迈县",
  24256. "value": "469023"
  24257. }, {
  24258. "label": "临高县",
  24259. "value": "469024"
  24260. }, {
  24261. "label": "白沙黎族自治县",
  24262. "value": "469025"
  24263. }, {
  24264. "label": "昌江黎族自治县",
  24265. "value": "469026"
  24266. }, {
  24267. "label": "乐东黎族自治县",
  24268. "value": "469027"
  24269. }, {
  24270. "label": "陵水黎族自治县",
  24271. "value": "469028"
  24272. }, {
  24273. "label": "保亭黎族苗族自治县",
  24274. "value": "469029"
  24275. }, {
  24276. "label": "琼中黎族苗族自治县",
  24277. "value": "469030"
  24278. }]], [[{
  24279. "label": "万州区",
  24280. "value": "500101"
  24281. }, {
  24282. "label": "涪陵区",
  24283. "value": "500102"
  24284. }, {
  24285. "label": "渝中区",
  24286. "value": "500103"
  24287. }, {
  24288. "label": "大渡口区",
  24289. "value": "500104"
  24290. }, {
  24291. "label": "江北区",
  24292. "value": "500105"
  24293. }, {
  24294. "label": "沙坪坝区",
  24295. "value": "500106"
  24296. }, {
  24297. "label": "九龙坡区",
  24298. "value": "500107"
  24299. }, {
  24300. "label": "南岸区",
  24301. "value": "500108"
  24302. }, {
  24303. "label": "北碚区",
  24304. "value": "500109"
  24305. }, {
  24306. "label": "綦江区",
  24307. "value": "500110"
  24308. }, {
  24309. "label": "大足区",
  24310. "value": "500111"
  24311. }, {
  24312. "label": "渝北区",
  24313. "value": "500112"
  24314. }, {
  24315. "label": "巴南区",
  24316. "value": "500113"
  24317. }, {
  24318. "label": "黔江区",
  24319. "value": "500114"
  24320. }, {
  24321. "label": "长寿区",
  24322. "value": "500115"
  24323. }, {
  24324. "label": "江津区",
  24325. "value": "500116"
  24326. }, {
  24327. "label": "合川区",
  24328. "value": "500117"
  24329. }, {
  24330. "label": "永川区",
  24331. "value": "500118"
  24332. }, {
  24333. "label": "南川区",
  24334. "value": "500119"
  24335. }, {
  24336. "label": "璧山区",
  24337. "value": "500120"
  24338. }, {
  24339. "label": "铜梁区",
  24340. "value": "500151"
  24341. }, {
  24342. "label": "潼南区",
  24343. "value": "500152"
  24344. }, {
  24345. "label": "荣昌区",
  24346. "value": "500153"
  24347. }, {
  24348. "label": "开州区",
  24349. "value": "500154"
  24350. }, {
  24351. "label": "梁平区",
  24352. "value": "500155"
  24353. }, {
  24354. "label": "武隆区",
  24355. "value": "500156"
  24356. }], [{
  24357. "label": "城口县",
  24358. "value": "500229"
  24359. }, {
  24360. "label": "丰都县",
  24361. "value": "500230"
  24362. }, {
  24363. "label": "垫江县",
  24364. "value": "500231"
  24365. }, {
  24366. "label": "忠县",
  24367. "value": "500233"
  24368. }, {
  24369. "label": "云阳县",
  24370. "value": "500235"
  24371. }, {
  24372. "label": "奉节县",
  24373. "value": "500236"
  24374. }, {
  24375. "label": "巫山县",
  24376. "value": "500237"
  24377. }, {
  24378. "label": "巫溪县",
  24379. "value": "500238"
  24380. }, {
  24381. "label": "石柱土家族自治县",
  24382. "value": "500240"
  24383. }, {
  24384. "label": "秀山土家族苗族自治县",
  24385. "value": "500241"
  24386. }, {
  24387. "label": "酉阳土家族苗族自治县",
  24388. "value": "500242"
  24389. }, {
  24390. "label": "彭水苗族土家族自治县",
  24391. "value": "500243"
  24392. }]], [[{
  24393. "label": "锦江区",
  24394. "value": "510104"
  24395. }, {
  24396. "label": "青羊区",
  24397. "value": "510105"
  24398. }, {
  24399. "label": "金牛区",
  24400. "value": "510106"
  24401. }, {
  24402. "label": "武侯区",
  24403. "value": "510107"
  24404. }, {
  24405. "label": "成华区",
  24406. "value": "510108"
  24407. }, {
  24408. "label": "龙泉驿区",
  24409. "value": "510112"
  24410. }, {
  24411. "label": "青白江区",
  24412. "value": "510113"
  24413. }, {
  24414. "label": "新都区",
  24415. "value": "510114"
  24416. }, {
  24417. "label": "温江区",
  24418. "value": "510115"
  24419. }, {
  24420. "label": "双流区",
  24421. "value": "510116"
  24422. }, {
  24423. "label": "郫都区",
  24424. "value": "510117"
  24425. }, {
  24426. "label": "金堂县",
  24427. "value": "510121"
  24428. }, {
  24429. "label": "大邑县",
  24430. "value": "510129"
  24431. }, {
  24432. "label": "蒲江县",
  24433. "value": "510131"
  24434. }, {
  24435. "label": "新津县",
  24436. "value": "510132"
  24437. }, {
  24438. "label": "都江堰市",
  24439. "value": "510181"
  24440. }, {
  24441. "label": "彭州市",
  24442. "value": "510182"
  24443. }, {
  24444. "label": "邛崃市",
  24445. "value": "510183"
  24446. }, {
  24447. "label": "崇州市",
  24448. "value": "510184"
  24449. }, {
  24450. "label": "简阳市",
  24451. "value": "510185"
  24452. }], [{
  24453. "label": "自流井区",
  24454. "value": "510302"
  24455. }, {
  24456. "label": "贡井区",
  24457. "value": "510303"
  24458. }, {
  24459. "label": "大安区",
  24460. "value": "510304"
  24461. }, {
  24462. "label": "沿滩区",
  24463. "value": "510311"
  24464. }, {
  24465. "label": "荣县",
  24466. "value": "510321"
  24467. }, {
  24468. "label": "富顺县",
  24469. "value": "510322"
  24470. }], [{
  24471. "label": "东区",
  24472. "value": "510402"
  24473. }, {
  24474. "label": "西区",
  24475. "value": "510403"
  24476. }, {
  24477. "label": "仁和区",
  24478. "value": "510411"
  24479. }, {
  24480. "label": "米易县",
  24481. "value": "510421"
  24482. }, {
  24483. "label": "盐边县",
  24484. "value": "510422"
  24485. }], [{
  24486. "label": "江阳区",
  24487. "value": "510502"
  24488. }, {
  24489. "label": "纳溪区",
  24490. "value": "510503"
  24491. }, {
  24492. "label": "龙马潭区",
  24493. "value": "510504"
  24494. }, {
  24495. "label": "泸县",
  24496. "value": "510521"
  24497. }, {
  24498. "label": "合江县",
  24499. "value": "510522"
  24500. }, {
  24501. "label": "叙永县",
  24502. "value": "510524"
  24503. }, {
  24504. "label": "古蔺县",
  24505. "value": "510525"
  24506. }], [{
  24507. "label": "旌阳区",
  24508. "value": "510603"
  24509. }, {
  24510. "label": "罗江区",
  24511. "value": "510604"
  24512. }, {
  24513. "label": "中江县",
  24514. "value": "510623"
  24515. }, {
  24516. "label": "广汉市",
  24517. "value": "510681"
  24518. }, {
  24519. "label": "什邡市",
  24520. "value": "510682"
  24521. }, {
  24522. "label": "绵竹市",
  24523. "value": "510683"
  24524. }], [{
  24525. "label": "涪城区",
  24526. "value": "510703"
  24527. }, {
  24528. "label": "游仙区",
  24529. "value": "510704"
  24530. }, {
  24531. "label": "安州区",
  24532. "value": "510705"
  24533. }, {
  24534. "label": "三台县",
  24535. "value": "510722"
  24536. }, {
  24537. "label": "盐亭县",
  24538. "value": "510723"
  24539. }, {
  24540. "label": "梓潼县",
  24541. "value": "510725"
  24542. }, {
  24543. "label": "北川羌族自治县",
  24544. "value": "510726"
  24545. }, {
  24546. "label": "平武县",
  24547. "value": "510727"
  24548. }, {
  24549. "label": "江油市",
  24550. "value": "510781"
  24551. }], [{
  24552. "label": "利州区",
  24553. "value": "510802"
  24554. }, {
  24555. "label": "昭化区",
  24556. "value": "510811"
  24557. }, {
  24558. "label": "朝天区",
  24559. "value": "510812"
  24560. }, {
  24561. "label": "旺苍县",
  24562. "value": "510821"
  24563. }, {
  24564. "label": "青川县",
  24565. "value": "510822"
  24566. }, {
  24567. "label": "剑阁县",
  24568. "value": "510823"
  24569. }, {
  24570. "label": "苍溪县",
  24571. "value": "510824"
  24572. }], [{
  24573. "label": "船山区",
  24574. "value": "510903"
  24575. }, {
  24576. "label": "安居区",
  24577. "value": "510904"
  24578. }, {
  24579. "label": "蓬溪县",
  24580. "value": "510921"
  24581. }, {
  24582. "label": "射洪县",
  24583. "value": "510922"
  24584. }, {
  24585. "label": "大英县",
  24586. "value": "510923"
  24587. }], [{
  24588. "label": "市中区",
  24589. "value": "511002"
  24590. }, {
  24591. "label": "东兴区",
  24592. "value": "511011"
  24593. }, {
  24594. "label": "威远县",
  24595. "value": "511024"
  24596. }, {
  24597. "label": "资中县",
  24598. "value": "511025"
  24599. }, {
  24600. "label": "内江经济开发区",
  24601. "value": "511071"
  24602. }, {
  24603. "label": "隆昌市",
  24604. "value": "511083"
  24605. }], [{
  24606. "label": "市中区",
  24607. "value": "511102"
  24608. }, {
  24609. "label": "沙湾区",
  24610. "value": "511111"
  24611. }, {
  24612. "label": "五通桥区",
  24613. "value": "511112"
  24614. }, {
  24615. "label": "金口河区",
  24616. "value": "511113"
  24617. }, {
  24618. "label": "犍为县",
  24619. "value": "511123"
  24620. }, {
  24621. "label": "井研县",
  24622. "value": "511124"
  24623. }, {
  24624. "label": "夹江县",
  24625. "value": "511126"
  24626. }, {
  24627. "label": "沐川县",
  24628. "value": "511129"
  24629. }, {
  24630. "label": "峨边彝族自治县",
  24631. "value": "511132"
  24632. }, {
  24633. "label": "马边彝族自治县",
  24634. "value": "511133"
  24635. }, {
  24636. "label": "峨眉山市",
  24637. "value": "511181"
  24638. }], [{
  24639. "label": "顺庆区",
  24640. "value": "511302"
  24641. }, {
  24642. "label": "高坪区",
  24643. "value": "511303"
  24644. }, {
  24645. "label": "嘉陵区",
  24646. "value": "511304"
  24647. }, {
  24648. "label": "南部县",
  24649. "value": "511321"
  24650. }, {
  24651. "label": "营山县",
  24652. "value": "511322"
  24653. }, {
  24654. "label": "蓬安县",
  24655. "value": "511323"
  24656. }, {
  24657. "label": "仪陇县",
  24658. "value": "511324"
  24659. }, {
  24660. "label": "西充县",
  24661. "value": "511325"
  24662. }, {
  24663. "label": "阆中市",
  24664. "value": "511381"
  24665. }], [{
  24666. "label": "东坡区",
  24667. "value": "511402"
  24668. }, {
  24669. "label": "彭山区",
  24670. "value": "511403"
  24671. }, {
  24672. "label": "仁寿县",
  24673. "value": "511421"
  24674. }, {
  24675. "label": "洪雅县",
  24676. "value": "511423"
  24677. }, {
  24678. "label": "丹棱县",
  24679. "value": "511424"
  24680. }, {
  24681. "label": "青神县",
  24682. "value": "511425"
  24683. }], [{
  24684. "label": "翠屏区",
  24685. "value": "511502"
  24686. }, {
  24687. "label": "南溪区",
  24688. "value": "511503"
  24689. }, {
  24690. "label": "宜宾县",
  24691. "value": "511521"
  24692. }, {
  24693. "label": "江安县",
  24694. "value": "511523"
  24695. }, {
  24696. "label": "长宁县",
  24697. "value": "511524"
  24698. }, {
  24699. "label": "高县",
  24700. "value": "511525"
  24701. }, {
  24702. "label": "珙县",
  24703. "value": "511526"
  24704. }, {
  24705. "label": "筠连县",
  24706. "value": "511527"
  24707. }, {
  24708. "label": "兴文县",
  24709. "value": "511528"
  24710. }, {
  24711. "label": "屏山县",
  24712. "value": "511529"
  24713. }], [{
  24714. "label": "广安区",
  24715. "value": "511602"
  24716. }, {
  24717. "label": "前锋区",
  24718. "value": "511603"
  24719. }, {
  24720. "label": "岳池县",
  24721. "value": "511621"
  24722. }, {
  24723. "label": "武胜县",
  24724. "value": "511622"
  24725. }, {
  24726. "label": "邻水县",
  24727. "value": "511623"
  24728. }, {
  24729. "label": "华蓥市",
  24730. "value": "511681"
  24731. }], [{
  24732. "label": "通川区",
  24733. "value": "511702"
  24734. }, {
  24735. "label": "达川区",
  24736. "value": "511703"
  24737. }, {
  24738. "label": "宣汉县",
  24739. "value": "511722"
  24740. }, {
  24741. "label": "开江县",
  24742. "value": "511723"
  24743. }, {
  24744. "label": "大竹县",
  24745. "value": "511724"
  24746. }, {
  24747. "label": "渠县",
  24748. "value": "511725"
  24749. }, {
  24750. "label": "达州经济开发区",
  24751. "value": "511771"
  24752. }, {
  24753. "label": "万源市",
  24754. "value": "511781"
  24755. }], [{
  24756. "label": "雨城区",
  24757. "value": "511802"
  24758. }, {
  24759. "label": "名山区",
  24760. "value": "511803"
  24761. }, {
  24762. "label": "荥经县",
  24763. "value": "511822"
  24764. }, {
  24765. "label": "汉源县",
  24766. "value": "511823"
  24767. }, {
  24768. "label": "石棉县",
  24769. "value": "511824"
  24770. }, {
  24771. "label": "天全县",
  24772. "value": "511825"
  24773. }, {
  24774. "label": "芦山县",
  24775. "value": "511826"
  24776. }, {
  24777. "label": "宝兴县",
  24778. "value": "511827"
  24779. }], [{
  24780. "label": "巴州区",
  24781. "value": "511902"
  24782. }, {
  24783. "label": "恩阳区",
  24784. "value": "511903"
  24785. }, {
  24786. "label": "通江县",
  24787. "value": "511921"
  24788. }, {
  24789. "label": "南江县",
  24790. "value": "511922"
  24791. }, {
  24792. "label": "平昌县",
  24793. "value": "511923"
  24794. }, {
  24795. "label": "巴中经济开发区",
  24796. "value": "511971"
  24797. }], [{
  24798. "label": "雁江区",
  24799. "value": "512002"
  24800. }, {
  24801. "label": "安岳县",
  24802. "value": "512021"
  24803. }, {
  24804. "label": "乐至县",
  24805. "value": "512022"
  24806. }], [{
  24807. "label": "马尔康市",
  24808. "value": "513201"
  24809. }, {
  24810. "label": "汶川县",
  24811. "value": "513221"
  24812. }, {
  24813. "label": "理县",
  24814. "value": "513222"
  24815. }, {
  24816. "label": "茂县",
  24817. "value": "513223"
  24818. }, {
  24819. "label": "松潘县",
  24820. "value": "513224"
  24821. }, {
  24822. "label": "九寨沟县",
  24823. "value": "513225"
  24824. }, {
  24825. "label": "金川县",
  24826. "value": "513226"
  24827. }, {
  24828. "label": "小金县",
  24829. "value": "513227"
  24830. }, {
  24831. "label": "黑水县",
  24832. "value": "513228"
  24833. }, {
  24834. "label": "壤塘县",
  24835. "value": "513230"
  24836. }, {
  24837. "label": "阿坝县",
  24838. "value": "513231"
  24839. }, {
  24840. "label": "若尔盖县",
  24841. "value": "513232"
  24842. }, {
  24843. "label": "红原县",
  24844. "value": "513233"
  24845. }], [{
  24846. "label": "康定市",
  24847. "value": "513301"
  24848. }, {
  24849. "label": "泸定县",
  24850. "value": "513322"
  24851. }, {
  24852. "label": "丹巴县",
  24853. "value": "513323"
  24854. }, {
  24855. "label": "九龙县",
  24856. "value": "513324"
  24857. }, {
  24858. "label": "雅江县",
  24859. "value": "513325"
  24860. }, {
  24861. "label": "道孚县",
  24862. "value": "513326"
  24863. }, {
  24864. "label": "炉霍县",
  24865. "value": "513327"
  24866. }, {
  24867. "label": "甘孜县",
  24868. "value": "513328"
  24869. }, {
  24870. "label": "新龙县",
  24871. "value": "513329"
  24872. }, {
  24873. "label": "德格县",
  24874. "value": "513330"
  24875. }, {
  24876. "label": "白玉县",
  24877. "value": "513331"
  24878. }, {
  24879. "label": "石渠县",
  24880. "value": "513332"
  24881. }, {
  24882. "label": "色达县",
  24883. "value": "513333"
  24884. }, {
  24885. "label": "理塘县",
  24886. "value": "513334"
  24887. }, {
  24888. "label": "巴塘县",
  24889. "value": "513335"
  24890. }, {
  24891. "label": "乡城县",
  24892. "value": "513336"
  24893. }, {
  24894. "label": "稻城县",
  24895. "value": "513337"
  24896. }, {
  24897. "label": "得荣县",
  24898. "value": "513338"
  24899. }], [{
  24900. "label": "西昌市",
  24901. "value": "513401"
  24902. }, {
  24903. "label": "木里藏族自治县",
  24904. "value": "513422"
  24905. }, {
  24906. "label": "盐源县",
  24907. "value": "513423"
  24908. }, {
  24909. "label": "德昌县",
  24910. "value": "513424"
  24911. }, {
  24912. "label": "会理县",
  24913. "value": "513425"
  24914. }, {
  24915. "label": "会东县",
  24916. "value": "513426"
  24917. }, {
  24918. "label": "宁南县",
  24919. "value": "513427"
  24920. }, {
  24921. "label": "普格县",
  24922. "value": "513428"
  24923. }, {
  24924. "label": "布拖县",
  24925. "value": "513429"
  24926. }, {
  24927. "label": "金阳县",
  24928. "value": "513430"
  24929. }, {
  24930. "label": "昭觉县",
  24931. "value": "513431"
  24932. }, {
  24933. "label": "喜德县",
  24934. "value": "513432"
  24935. }, {
  24936. "label": "冕宁县",
  24937. "value": "513433"
  24938. }, {
  24939. "label": "越西县",
  24940. "value": "513434"
  24941. }, {
  24942. "label": "甘洛县",
  24943. "value": "513435"
  24944. }, {
  24945. "label": "美姑县",
  24946. "value": "513436"
  24947. }, {
  24948. "label": "雷波县",
  24949. "value": "513437"
  24950. }]], [[{
  24951. "label": "南明区",
  24952. "value": "520102"
  24953. }, {
  24954. "label": "云岩区",
  24955. "value": "520103"
  24956. }, {
  24957. "label": "花溪区",
  24958. "value": "520111"
  24959. }, {
  24960. "label": "乌当区",
  24961. "value": "520112"
  24962. }, {
  24963. "label": "白云区",
  24964. "value": "520113"
  24965. }, {
  24966. "label": "观山湖区",
  24967. "value": "520115"
  24968. }, {
  24969. "label": "开阳县",
  24970. "value": "520121"
  24971. }, {
  24972. "label": "息烽县",
  24973. "value": "520122"
  24974. }, {
  24975. "label": "修文县",
  24976. "value": "520123"
  24977. }, {
  24978. "label": "清镇市",
  24979. "value": "520181"
  24980. }], [{
  24981. "label": "钟山区",
  24982. "value": "520201"
  24983. }, {
  24984. "label": "六枝特区",
  24985. "value": "520203"
  24986. }, {
  24987. "label": "水城县",
  24988. "value": "520221"
  24989. }, {
  24990. "label": "盘州市",
  24991. "value": "520281"
  24992. }], [{
  24993. "label": "红花岗区",
  24994. "value": "520302"
  24995. }, {
  24996. "label": "汇川区",
  24997. "value": "520303"
  24998. }, {
  24999. "label": "播州区",
  25000. "value": "520304"
  25001. }, {
  25002. "label": "桐梓县",
  25003. "value": "520322"
  25004. }, {
  25005. "label": "绥阳县",
  25006. "value": "520323"
  25007. }, {
  25008. "label": "正安县",
  25009. "value": "520324"
  25010. }, {
  25011. "label": "道真仡佬族苗族自治县",
  25012. "value": "520325"
  25013. }, {
  25014. "label": "务川仡佬族苗族自治县",
  25015. "value": "520326"
  25016. }, {
  25017. "label": "凤冈县",
  25018. "value": "520327"
  25019. }, {
  25020. "label": "湄潭县",
  25021. "value": "520328"
  25022. }, {
  25023. "label": "余庆县",
  25024. "value": "520329"
  25025. }, {
  25026. "label": "习水县",
  25027. "value": "520330"
  25028. }, {
  25029. "label": "赤水市",
  25030. "value": "520381"
  25031. }, {
  25032. "label": "仁怀市",
  25033. "value": "520382"
  25034. }], [{
  25035. "label": "西秀区",
  25036. "value": "520402"
  25037. }, {
  25038. "label": "平坝区",
  25039. "value": "520403"
  25040. }, {
  25041. "label": "普定县",
  25042. "value": "520422"
  25043. }, {
  25044. "label": "镇宁布依族苗族自治县",
  25045. "value": "520423"
  25046. }, {
  25047. "label": "关岭布依族苗族自治县",
  25048. "value": "520424"
  25049. }, {
  25050. "label": "紫云苗族布依族自治县",
  25051. "value": "520425"
  25052. }], [{
  25053. "label": "七星关区",
  25054. "value": "520502"
  25055. }, {
  25056. "label": "大方县",
  25057. "value": "520521"
  25058. }, {
  25059. "label": "黔西县",
  25060. "value": "520522"
  25061. }, {
  25062. "label": "金沙县",
  25063. "value": "520523"
  25064. }, {
  25065. "label": "织金县",
  25066. "value": "520524"
  25067. }, {
  25068. "label": "纳雍县",
  25069. "value": "520525"
  25070. }, {
  25071. "label": "威宁彝族回族苗族自治县",
  25072. "value": "520526"
  25073. }, {
  25074. "label": "赫章县",
  25075. "value": "520527"
  25076. }], [{
  25077. "label": "碧江区",
  25078. "value": "520602"
  25079. }, {
  25080. "label": "万山区",
  25081. "value": "520603"
  25082. }, {
  25083. "label": "江口县",
  25084. "value": "520621"
  25085. }, {
  25086. "label": "玉屏侗族自治县",
  25087. "value": "520622"
  25088. }, {
  25089. "label": "石阡县",
  25090. "value": "520623"
  25091. }, {
  25092. "label": "思南县",
  25093. "value": "520624"
  25094. }, {
  25095. "label": "印江土家族苗族自治县",
  25096. "value": "520625"
  25097. }, {
  25098. "label": "德江县",
  25099. "value": "520626"
  25100. }, {
  25101. "label": "沿河土家族自治县",
  25102. "value": "520627"
  25103. }, {
  25104. "label": "松桃苗族自治县",
  25105. "value": "520628"
  25106. }], [{
  25107. "label": "兴义市",
  25108. "value": "522301"
  25109. }, {
  25110. "label": "兴仁县",
  25111. "value": "522322"
  25112. }, {
  25113. "label": "普安县",
  25114. "value": "522323"
  25115. }, {
  25116. "label": "晴隆县",
  25117. "value": "522324"
  25118. }, {
  25119. "label": "贞丰县",
  25120. "value": "522325"
  25121. }, {
  25122. "label": "望谟县",
  25123. "value": "522326"
  25124. }, {
  25125. "label": "册亨县",
  25126. "value": "522327"
  25127. }, {
  25128. "label": "安龙县",
  25129. "value": "522328"
  25130. }], [{
  25131. "label": "凯里市",
  25132. "value": "522601"
  25133. }, {
  25134. "label": "黄平县",
  25135. "value": "522622"
  25136. }, {
  25137. "label": "施秉县",
  25138. "value": "522623"
  25139. }, {
  25140. "label": "三穗县",
  25141. "value": "522624"
  25142. }, {
  25143. "label": "镇远县",
  25144. "value": "522625"
  25145. }, {
  25146. "label": "岑巩县",
  25147. "value": "522626"
  25148. }, {
  25149. "label": "天柱县",
  25150. "value": "522627"
  25151. }, {
  25152. "label": "锦屏县",
  25153. "value": "522628"
  25154. }, {
  25155. "label": "剑河县",
  25156. "value": "522629"
  25157. }, {
  25158. "label": "台江县",
  25159. "value": "522630"
  25160. }, {
  25161. "label": "黎平县",
  25162. "value": "522631"
  25163. }, {
  25164. "label": "榕江县",
  25165. "value": "522632"
  25166. }, {
  25167. "label": "从江县",
  25168. "value": "522633"
  25169. }, {
  25170. "label": "雷山县",
  25171. "value": "522634"
  25172. }, {
  25173. "label": "麻江县",
  25174. "value": "522635"
  25175. }, {
  25176. "label": "丹寨县",
  25177. "value": "522636"
  25178. }], [{
  25179. "label": "都匀市",
  25180. "value": "522701"
  25181. }, {
  25182. "label": "福泉市",
  25183. "value": "522702"
  25184. }, {
  25185. "label": "荔波县",
  25186. "value": "522722"
  25187. }, {
  25188. "label": "贵定县",
  25189. "value": "522723"
  25190. }, {
  25191. "label": "瓮安县",
  25192. "value": "522725"
  25193. }, {
  25194. "label": "独山县",
  25195. "value": "522726"
  25196. }, {
  25197. "label": "平塘县",
  25198. "value": "522727"
  25199. }, {
  25200. "label": "罗甸县",
  25201. "value": "522728"
  25202. }, {
  25203. "label": "长顺县",
  25204. "value": "522729"
  25205. }, {
  25206. "label": "龙里县",
  25207. "value": "522730"
  25208. }, {
  25209. "label": "惠水县",
  25210. "value": "522731"
  25211. }, {
  25212. "label": "三都水族自治县",
  25213. "value": "522732"
  25214. }]], [[{
  25215. "label": "五华区",
  25216. "value": "530102"
  25217. }, {
  25218. "label": "盘龙区",
  25219. "value": "530103"
  25220. }, {
  25221. "label": "官渡区",
  25222. "value": "530111"
  25223. }, {
  25224. "label": "西山区",
  25225. "value": "530112"
  25226. }, {
  25227. "label": "东川区",
  25228. "value": "530113"
  25229. }, {
  25230. "label": "呈贡区",
  25231. "value": "530114"
  25232. }, {
  25233. "label": "晋宁区",
  25234. "value": "530115"
  25235. }, {
  25236. "label": "富民县",
  25237. "value": "530124"
  25238. }, {
  25239. "label": "宜良县",
  25240. "value": "530125"
  25241. }, {
  25242. "label": "石林彝族自治县",
  25243. "value": "530126"
  25244. }, {
  25245. "label": "嵩明县",
  25246. "value": "530127"
  25247. }, {
  25248. "label": "禄劝彝族苗族自治县",
  25249. "value": "530128"
  25250. }, {
  25251. "label": "寻甸回族彝族自治县",
  25252. "value": "530129"
  25253. }, {
  25254. "label": "安宁市",
  25255. "value": "530181"
  25256. }], [{
  25257. "label": "麒麟区",
  25258. "value": "530302"
  25259. }, {
  25260. "label": "沾益区",
  25261. "value": "530303"
  25262. }, {
  25263. "label": "马龙县",
  25264. "value": "530321"
  25265. }, {
  25266. "label": "陆良县",
  25267. "value": "530322"
  25268. }, {
  25269. "label": "师宗县",
  25270. "value": "530323"
  25271. }, {
  25272. "label": "罗平县",
  25273. "value": "530324"
  25274. }, {
  25275. "label": "富源县",
  25276. "value": "530325"
  25277. }, {
  25278. "label": "会泽县",
  25279. "value": "530326"
  25280. }, {
  25281. "label": "宣威市",
  25282. "value": "530381"
  25283. }], [{
  25284. "label": "红塔区",
  25285. "value": "530402"
  25286. }, {
  25287. "label": "江川区",
  25288. "value": "530403"
  25289. }, {
  25290. "label": "澄江县",
  25291. "value": "530422"
  25292. }, {
  25293. "label": "通海县",
  25294. "value": "530423"
  25295. }, {
  25296. "label": "华宁县",
  25297. "value": "530424"
  25298. }, {
  25299. "label": "易门县",
  25300. "value": "530425"
  25301. }, {
  25302. "label": "峨山彝族自治县",
  25303. "value": "530426"
  25304. }, {
  25305. "label": "新平彝族傣族自治县",
  25306. "value": "530427"
  25307. }, {
  25308. "label": "元江哈尼族彝族傣族自治县",
  25309. "value": "530428"
  25310. }], [{
  25311. "label": "隆阳区",
  25312. "value": "530502"
  25313. }, {
  25314. "label": "施甸县",
  25315. "value": "530521"
  25316. }, {
  25317. "label": "龙陵县",
  25318. "value": "530523"
  25319. }, {
  25320. "label": "昌宁县",
  25321. "value": "530524"
  25322. }, {
  25323. "label": "腾冲市",
  25324. "value": "530581"
  25325. }], [{
  25326. "label": "昭阳区",
  25327. "value": "530602"
  25328. }, {
  25329. "label": "鲁甸县",
  25330. "value": "530621"
  25331. }, {
  25332. "label": "巧家县",
  25333. "value": "530622"
  25334. }, {
  25335. "label": "盐津县",
  25336. "value": "530623"
  25337. }, {
  25338. "label": "大关县",
  25339. "value": "530624"
  25340. }, {
  25341. "label": "永善县",
  25342. "value": "530625"
  25343. }, {
  25344. "label": "绥江县",
  25345. "value": "530626"
  25346. }, {
  25347. "label": "镇雄县",
  25348. "value": "530627"
  25349. }, {
  25350. "label": "彝良县",
  25351. "value": "530628"
  25352. }, {
  25353. "label": "威信县",
  25354. "value": "530629"
  25355. }, {
  25356. "label": "水富县",
  25357. "value": "530630"
  25358. }], [{
  25359. "label": "古城区",
  25360. "value": "530702"
  25361. }, {
  25362. "label": "玉龙纳西族自治县",
  25363. "value": "530721"
  25364. }, {
  25365. "label": "永胜县",
  25366. "value": "530722"
  25367. }, {
  25368. "label": "华坪县",
  25369. "value": "530723"
  25370. }, {
  25371. "label": "宁蒗彝族自治县",
  25372. "value": "530724"
  25373. }], [{
  25374. "label": "思茅区",
  25375. "value": "530802"
  25376. }, {
  25377. "label": "宁洱哈尼族彝族自治县",
  25378. "value": "530821"
  25379. }, {
  25380. "label": "墨江哈尼族自治县",
  25381. "value": "530822"
  25382. }, {
  25383. "label": "景东彝族自治县",
  25384. "value": "530823"
  25385. }, {
  25386. "label": "景谷傣族彝族自治县",
  25387. "value": "530824"
  25388. }, {
  25389. "label": "镇沅彝族哈尼族拉祜族自治县",
  25390. "value": "530825"
  25391. }, {
  25392. "label": "江城哈尼族彝族自治县",
  25393. "value": "530826"
  25394. }, {
  25395. "label": "孟连傣族拉祜族佤族自治县",
  25396. "value": "530827"
  25397. }, {
  25398. "label": "澜沧拉祜族自治县",
  25399. "value": "530828"
  25400. }, {
  25401. "label": "西盟佤族自治县",
  25402. "value": "530829"
  25403. }], [{
  25404. "label": "临翔区",
  25405. "value": "530902"
  25406. }, {
  25407. "label": "凤庆县",
  25408. "value": "530921"
  25409. }, {
  25410. "label": "云县",
  25411. "value": "530922"
  25412. }, {
  25413. "label": "永德县",
  25414. "value": "530923"
  25415. }, {
  25416. "label": "镇康县",
  25417. "value": "530924"
  25418. }, {
  25419. "label": "双江拉祜族佤族布朗族傣族自治县",
  25420. "value": "530925"
  25421. }, {
  25422. "label": "耿马傣族佤族自治县",
  25423. "value": "530926"
  25424. }, {
  25425. "label": "沧源佤族自治县",
  25426. "value": "530927"
  25427. }], [{
  25428. "label": "楚雄市",
  25429. "value": "532301"
  25430. }, {
  25431. "label": "双柏县",
  25432. "value": "532322"
  25433. }, {
  25434. "label": "牟定县",
  25435. "value": "532323"
  25436. }, {
  25437. "label": "南华县",
  25438. "value": "532324"
  25439. }, {
  25440. "label": "姚安县",
  25441. "value": "532325"
  25442. }, {
  25443. "label": "大姚县",
  25444. "value": "532326"
  25445. }, {
  25446. "label": "永仁县",
  25447. "value": "532327"
  25448. }, {
  25449. "label": "元谋县",
  25450. "value": "532328"
  25451. }, {
  25452. "label": "武定县",
  25453. "value": "532329"
  25454. }, {
  25455. "label": "禄丰县",
  25456. "value": "532331"
  25457. }], [{
  25458. "label": "个旧市",
  25459. "value": "532501"
  25460. }, {
  25461. "label": "开远市",
  25462. "value": "532502"
  25463. }, {
  25464. "label": "蒙自市",
  25465. "value": "532503"
  25466. }, {
  25467. "label": "弥勒市",
  25468. "value": "532504"
  25469. }, {
  25470. "label": "屏边苗族自治县",
  25471. "value": "532523"
  25472. }, {
  25473. "label": "建水县",
  25474. "value": "532524"
  25475. }, {
  25476. "label": "石屏县",
  25477. "value": "532525"
  25478. }, {
  25479. "label": "泸西县",
  25480. "value": "532527"
  25481. }, {
  25482. "label": "元阳县",
  25483. "value": "532528"
  25484. }, {
  25485. "label": "红河县",
  25486. "value": "532529"
  25487. }, {
  25488. "label": "金平苗族瑶族傣族自治县",
  25489. "value": "532530"
  25490. }, {
  25491. "label": "绿春县",
  25492. "value": "532531"
  25493. }, {
  25494. "label": "河口瑶族自治县",
  25495. "value": "532532"
  25496. }], [{
  25497. "label": "文山市",
  25498. "value": "532601"
  25499. }, {
  25500. "label": "砚山县",
  25501. "value": "532622"
  25502. }, {
  25503. "label": "西畴县",
  25504. "value": "532623"
  25505. }, {
  25506. "label": "麻栗坡县",
  25507. "value": "532624"
  25508. }, {
  25509. "label": "马关县",
  25510. "value": "532625"
  25511. }, {
  25512. "label": "丘北县",
  25513. "value": "532626"
  25514. }, {
  25515. "label": "广南县",
  25516. "value": "532627"
  25517. }, {
  25518. "label": "富宁县",
  25519. "value": "532628"
  25520. }], [{
  25521. "label": "景洪市",
  25522. "value": "532801"
  25523. }, {
  25524. "label": "勐海县",
  25525. "value": "532822"
  25526. }, {
  25527. "label": "勐腊县",
  25528. "value": "532823"
  25529. }], [{
  25530. "label": "大理市",
  25531. "value": "532901"
  25532. }, {
  25533. "label": "漾濞彝族自治县",
  25534. "value": "532922"
  25535. }, {
  25536. "label": "祥云县",
  25537. "value": "532923"
  25538. }, {
  25539. "label": "宾川县",
  25540. "value": "532924"
  25541. }, {
  25542. "label": "弥渡县",
  25543. "value": "532925"
  25544. }, {
  25545. "label": "南涧彝族自治县",
  25546. "value": "532926"
  25547. }, {
  25548. "label": "巍山彝族回族自治县",
  25549. "value": "532927"
  25550. }, {
  25551. "label": "永平县",
  25552. "value": "532928"
  25553. }, {
  25554. "label": "云龙县",
  25555. "value": "532929"
  25556. }, {
  25557. "label": "洱源县",
  25558. "value": "532930"
  25559. }, {
  25560. "label": "剑川县",
  25561. "value": "532931"
  25562. }, {
  25563. "label": "鹤庆县",
  25564. "value": "532932"
  25565. }], [{
  25566. "label": "瑞丽市",
  25567. "value": "533102"
  25568. }, {
  25569. "label": "芒市",
  25570. "value": "533103"
  25571. }, {
  25572. "label": "梁河县",
  25573. "value": "533122"
  25574. }, {
  25575. "label": "盈江县",
  25576. "value": "533123"
  25577. }, {
  25578. "label": "陇川县",
  25579. "value": "533124"
  25580. }], [{
  25581. "label": "泸水市",
  25582. "value": "533301"
  25583. }, {
  25584. "label": "福贡县",
  25585. "value": "533323"
  25586. }, {
  25587. "label": "贡山独龙族怒族自治县",
  25588. "value": "533324"
  25589. }, {
  25590. "label": "兰坪白族普米族自治县",
  25591. "value": "533325"
  25592. }], [{
  25593. "label": "香格里拉市",
  25594. "value": "533401"
  25595. }, {
  25596. "label": "德钦县",
  25597. "value": "533422"
  25598. }, {
  25599. "label": "维西傈僳族自治县",
  25600. "value": "533423"
  25601. }]], [[{
  25602. "label": "城关区",
  25603. "value": "540102"
  25604. }, {
  25605. "label": "堆龙德庆区",
  25606. "value": "540103"
  25607. }, {
  25608. "label": "林周县",
  25609. "value": "540121"
  25610. }, {
  25611. "label": "当雄县",
  25612. "value": "540122"
  25613. }, {
  25614. "label": "尼木县",
  25615. "value": "540123"
  25616. }, {
  25617. "label": "曲水县",
  25618. "value": "540124"
  25619. }, {
  25620. "label": "达孜县",
  25621. "value": "540126"
  25622. }, {
  25623. "label": "墨竹工卡县",
  25624. "value": "540127"
  25625. }, {
  25626. "label": "格尔木藏青工业园区",
  25627. "value": "540171"
  25628. }, {
  25629. "label": "拉萨经济技术开发区",
  25630. "value": "540172"
  25631. }, {
  25632. "label": "西藏文化旅游创意园区",
  25633. "value": "540173"
  25634. }, {
  25635. "label": "达孜工业园区",
  25636. "value": "540174"
  25637. }], [{
  25638. "label": "桑珠孜区",
  25639. "value": "540202"
  25640. }, {
  25641. "label": "南木林县",
  25642. "value": "540221"
  25643. }, {
  25644. "label": "江孜县",
  25645. "value": "540222"
  25646. }, {
  25647. "label": "定日县",
  25648. "value": "540223"
  25649. }, {
  25650. "label": "萨迦县",
  25651. "value": "540224"
  25652. }, {
  25653. "label": "拉孜县",
  25654. "value": "540225"
  25655. }, {
  25656. "label": "昂仁县",
  25657. "value": "540226"
  25658. }, {
  25659. "label": "谢通门县",
  25660. "value": "540227"
  25661. }, {
  25662. "label": "白朗县",
  25663. "value": "540228"
  25664. }, {
  25665. "label": "仁布县",
  25666. "value": "540229"
  25667. }, {
  25668. "label": "康马县",
  25669. "value": "540230"
  25670. }, {
  25671. "label": "定结县",
  25672. "value": "540231"
  25673. }, {
  25674. "label": "仲巴县",
  25675. "value": "540232"
  25676. }, {
  25677. "label": "亚东县",
  25678. "value": "540233"
  25679. }, {
  25680. "label": "吉隆县",
  25681. "value": "540234"
  25682. }, {
  25683. "label": "聂拉木县",
  25684. "value": "540235"
  25685. }, {
  25686. "label": "萨嘎县",
  25687. "value": "540236"
  25688. }, {
  25689. "label": "岗巴县",
  25690. "value": "540237"
  25691. }], [{
  25692. "label": "卡若区",
  25693. "value": "540302"
  25694. }, {
  25695. "label": "江达县",
  25696. "value": "540321"
  25697. }, {
  25698. "label": "贡觉县",
  25699. "value": "540322"
  25700. }, {
  25701. "label": "类乌齐县",
  25702. "value": "540323"
  25703. }, {
  25704. "label": "丁青县",
  25705. "value": "540324"
  25706. }, {
  25707. "label": "察雅县",
  25708. "value": "540325"
  25709. }, {
  25710. "label": "八宿县",
  25711. "value": "540326"
  25712. }, {
  25713. "label": "左贡县",
  25714. "value": "540327"
  25715. }, {
  25716. "label": "芒康县",
  25717. "value": "540328"
  25718. }, {
  25719. "label": "洛隆县",
  25720. "value": "540329"
  25721. }, {
  25722. "label": "边坝县",
  25723. "value": "540330"
  25724. }], [{
  25725. "label": "巴宜区",
  25726. "value": "540402"
  25727. }, {
  25728. "label": "工布江达县",
  25729. "value": "540421"
  25730. }, {
  25731. "label": "米林县",
  25732. "value": "540422"
  25733. }, {
  25734. "label": "墨脱县",
  25735. "value": "540423"
  25736. }, {
  25737. "label": "波密县",
  25738. "value": "540424"
  25739. }, {
  25740. "label": "察隅县",
  25741. "value": "540425"
  25742. }, {
  25743. "label": "朗县",
  25744. "value": "540426"
  25745. }], [{
  25746. "label": "乃东区",
  25747. "value": "540502"
  25748. }, {
  25749. "label": "扎囊县",
  25750. "value": "540521"
  25751. }, {
  25752. "label": "贡嘎县",
  25753. "value": "540522"
  25754. }, {
  25755. "label": "桑日县",
  25756. "value": "540523"
  25757. }, {
  25758. "label": "琼结县",
  25759. "value": "540524"
  25760. }, {
  25761. "label": "曲松县",
  25762. "value": "540525"
  25763. }, {
  25764. "label": "措美县",
  25765. "value": "540526"
  25766. }, {
  25767. "label": "洛扎县",
  25768. "value": "540527"
  25769. }, {
  25770. "label": "加查县",
  25771. "value": "540528"
  25772. }, {
  25773. "label": "隆子县",
  25774. "value": "540529"
  25775. }, {
  25776. "label": "错那县",
  25777. "value": "540530"
  25778. }, {
  25779. "label": "浪卡子县",
  25780. "value": "540531"
  25781. }], [{
  25782. "label": "那曲县",
  25783. "value": "542421"
  25784. }, {
  25785. "label": "嘉黎县",
  25786. "value": "542422"
  25787. }, {
  25788. "label": "比如县",
  25789. "value": "542423"
  25790. }, {
  25791. "label": "聂荣县",
  25792. "value": "542424"
  25793. }, {
  25794. "label": "安多县",
  25795. "value": "542425"
  25796. }, {
  25797. "label": "申扎县",
  25798. "value": "542426"
  25799. }, {
  25800. "label": "索县",
  25801. "value": "542427"
  25802. }, {
  25803. "label": "班戈县",
  25804. "value": "542428"
  25805. }, {
  25806. "label": "巴青县",
  25807. "value": "542429"
  25808. }, {
  25809. "label": "尼玛县",
  25810. "value": "542430"
  25811. }, {
  25812. "label": "双湖县",
  25813. "value": "542431"
  25814. }], [{
  25815. "label": "普兰县",
  25816. "value": "542521"
  25817. }, {
  25818. "label": "札达县",
  25819. "value": "542522"
  25820. }, {
  25821. "label": "噶尔县",
  25822. "value": "542523"
  25823. }, {
  25824. "label": "日土县",
  25825. "value": "542524"
  25826. }, {
  25827. "label": "革吉县",
  25828. "value": "542525"
  25829. }, {
  25830. "label": "改则县",
  25831. "value": "542526"
  25832. }, {
  25833. "label": "措勤县",
  25834. "value": "542527"
  25835. }]], [[{
  25836. "label": "新城区",
  25837. "value": "610102"
  25838. }, {
  25839. "label": "碑林区",
  25840. "value": "610103"
  25841. }, {
  25842. "label": "莲湖区",
  25843. "value": "610104"
  25844. }, {
  25845. "label": "灞桥区",
  25846. "value": "610111"
  25847. }, {
  25848. "label": "未央区",
  25849. "value": "610112"
  25850. }, {
  25851. "label": "雁塔区",
  25852. "value": "610113"
  25853. }, {
  25854. "label": "阎良区",
  25855. "value": "610114"
  25856. }, {
  25857. "label": "临潼区",
  25858. "value": "610115"
  25859. }, {
  25860. "label": "长安区",
  25861. "value": "610116"
  25862. }, {
  25863. "label": "高陵区",
  25864. "value": "610117"
  25865. }, {
  25866. "label": "鄠邑区",
  25867. "value": "610118"
  25868. }, {
  25869. "label": "蓝田县",
  25870. "value": "610122"
  25871. }, {
  25872. "label": "周至县",
  25873. "value": "610124"
  25874. }], [{
  25875. "label": "王益区",
  25876. "value": "610202"
  25877. }, {
  25878. "label": "印台区",
  25879. "value": "610203"
  25880. }, {
  25881. "label": "耀州区",
  25882. "value": "610204"
  25883. }, {
  25884. "label": "宜君县",
  25885. "value": "610222"
  25886. }], [{
  25887. "label": "渭滨区",
  25888. "value": "610302"
  25889. }, {
  25890. "label": "金台区",
  25891. "value": "610303"
  25892. }, {
  25893. "label": "陈仓区",
  25894. "value": "610304"
  25895. }, {
  25896. "label": "凤翔县",
  25897. "value": "610322"
  25898. }, {
  25899. "label": "岐山县",
  25900. "value": "610323"
  25901. }, {
  25902. "label": "扶风县",
  25903. "value": "610324"
  25904. }, {
  25905. "label": "眉县",
  25906. "value": "610326"
  25907. }, {
  25908. "label": "陇县",
  25909. "value": "610327"
  25910. }, {
  25911. "label": "千阳县",
  25912. "value": "610328"
  25913. }, {
  25914. "label": "麟游县",
  25915. "value": "610329"
  25916. }, {
  25917. "label": "凤县",
  25918. "value": "610330"
  25919. }, {
  25920. "label": "太白县",
  25921. "value": "610331"
  25922. }], [{
  25923. "label": "秦都区",
  25924. "value": "610402"
  25925. }, {
  25926. "label": "杨陵区",
  25927. "value": "610403"
  25928. }, {
  25929. "label": "渭城区",
  25930. "value": "610404"
  25931. }, {
  25932. "label": "三原县",
  25933. "value": "610422"
  25934. }, {
  25935. "label": "泾阳县",
  25936. "value": "610423"
  25937. }, {
  25938. "label": "乾县",
  25939. "value": "610424"
  25940. }, {
  25941. "label": "礼泉县",
  25942. "value": "610425"
  25943. }, {
  25944. "label": "永寿县",
  25945. "value": "610426"
  25946. }, {
  25947. "label": "彬县",
  25948. "value": "610427"
  25949. }, {
  25950. "label": "长武县",
  25951. "value": "610428"
  25952. }, {
  25953. "label": "旬邑县",
  25954. "value": "610429"
  25955. }, {
  25956. "label": "淳化县",
  25957. "value": "610430"
  25958. }, {
  25959. "label": "武功县",
  25960. "value": "610431"
  25961. }, {
  25962. "label": "兴平市",
  25963. "value": "610481"
  25964. }], [{
  25965. "label": "临渭区",
  25966. "value": "610502"
  25967. }, {
  25968. "label": "华州区",
  25969. "value": "610503"
  25970. }, {
  25971. "label": "潼关县",
  25972. "value": "610522"
  25973. }, {
  25974. "label": "大荔县",
  25975. "value": "610523"
  25976. }, {
  25977. "label": "合阳县",
  25978. "value": "610524"
  25979. }, {
  25980. "label": "澄城县",
  25981. "value": "610525"
  25982. }, {
  25983. "label": "蒲城县",
  25984. "value": "610526"
  25985. }, {
  25986. "label": "白水县",
  25987. "value": "610527"
  25988. }, {
  25989. "label": "富平县",
  25990. "value": "610528"
  25991. }, {
  25992. "label": "韩城市",
  25993. "value": "610581"
  25994. }, {
  25995. "label": "华阴市",
  25996. "value": "610582"
  25997. }], [{
  25998. "label": "宝塔区",
  25999. "value": "610602"
  26000. }, {
  26001. "label": "安塞区",
  26002. "value": "610603"
  26003. }, {
  26004. "label": "延长县",
  26005. "value": "610621"
  26006. }, {
  26007. "label": "延川县",
  26008. "value": "610622"
  26009. }, {
  26010. "label": "子长县",
  26011. "value": "610623"
  26012. }, {
  26013. "label": "志丹县",
  26014. "value": "610625"
  26015. }, {
  26016. "label": "吴起县",
  26017. "value": "610626"
  26018. }, {
  26019. "label": "甘泉县",
  26020. "value": "610627"
  26021. }, {
  26022. "label": "富县",
  26023. "value": "610628"
  26024. }, {
  26025. "label": "洛川县",
  26026. "value": "610629"
  26027. }, {
  26028. "label": "宜川县",
  26029. "value": "610630"
  26030. }, {
  26031. "label": "黄龙县",
  26032. "value": "610631"
  26033. }, {
  26034. "label": "黄陵县",
  26035. "value": "610632"
  26036. }], [{
  26037. "label": "汉台区",
  26038. "value": "610702"
  26039. }, {
  26040. "label": "南郑区",
  26041. "value": "610703"
  26042. }, {
  26043. "label": "城固县",
  26044. "value": "610722"
  26045. }, {
  26046. "label": "洋县",
  26047. "value": "610723"
  26048. }, {
  26049. "label": "西乡县",
  26050. "value": "610724"
  26051. }, {
  26052. "label": "勉县",
  26053. "value": "610725"
  26054. }, {
  26055. "label": "宁强县",
  26056. "value": "610726"
  26057. }, {
  26058. "label": "略阳县",
  26059. "value": "610727"
  26060. }, {
  26061. "label": "镇巴县",
  26062. "value": "610728"
  26063. }, {
  26064. "label": "留坝县",
  26065. "value": "610729"
  26066. }, {
  26067. "label": "佛坪县",
  26068. "value": "610730"
  26069. }], [{
  26070. "label": "榆阳区",
  26071. "value": "610802"
  26072. }, {
  26073. "label": "横山区",
  26074. "value": "610803"
  26075. }, {
  26076. "label": "府谷县",
  26077. "value": "610822"
  26078. }, {
  26079. "label": "靖边县",
  26080. "value": "610824"
  26081. }, {
  26082. "label": "定边县",
  26083. "value": "610825"
  26084. }, {
  26085. "label": "绥德县",
  26086. "value": "610826"
  26087. }, {
  26088. "label": "米脂县",
  26089. "value": "610827"
  26090. }, {
  26091. "label": "佳县",
  26092. "value": "610828"
  26093. }, {
  26094. "label": "吴堡县",
  26095. "value": "610829"
  26096. }, {
  26097. "label": "清涧县",
  26098. "value": "610830"
  26099. }, {
  26100. "label": "子洲县",
  26101. "value": "610831"
  26102. }, {
  26103. "label": "神木市",
  26104. "value": "610881"
  26105. }], [{
  26106. "label": "汉滨区",
  26107. "value": "610902"
  26108. }, {
  26109. "label": "汉阴县",
  26110. "value": "610921"
  26111. }, {
  26112. "label": "石泉县",
  26113. "value": "610922"
  26114. }, {
  26115. "label": "宁陕县",
  26116. "value": "610923"
  26117. }, {
  26118. "label": "紫阳县",
  26119. "value": "610924"
  26120. }, {
  26121. "label": "岚皋县",
  26122. "value": "610925"
  26123. }, {
  26124. "label": "平利县",
  26125. "value": "610926"
  26126. }, {
  26127. "label": "镇坪县",
  26128. "value": "610927"
  26129. }, {
  26130. "label": "旬阳县",
  26131. "value": "610928"
  26132. }, {
  26133. "label": "白河县",
  26134. "value": "610929"
  26135. }], [{
  26136. "label": "商州区",
  26137. "value": "611002"
  26138. }, {
  26139. "label": "洛南县",
  26140. "value": "611021"
  26141. }, {
  26142. "label": "丹凤县",
  26143. "value": "611022"
  26144. }, {
  26145. "label": "商南县",
  26146. "value": "611023"
  26147. }, {
  26148. "label": "山阳县",
  26149. "value": "611024"
  26150. }, {
  26151. "label": "镇安县",
  26152. "value": "611025"
  26153. }, {
  26154. "label": "柞水县",
  26155. "value": "611026"
  26156. }]], [[{
  26157. "label": "城关区",
  26158. "value": "620102"
  26159. }, {
  26160. "label": "七里河区",
  26161. "value": "620103"
  26162. }, {
  26163. "label": "西固区",
  26164. "value": "620104"
  26165. }, {
  26166. "label": "安宁区",
  26167. "value": "620105"
  26168. }, {
  26169. "label": "红古区",
  26170. "value": "620111"
  26171. }, {
  26172. "label": "永登县",
  26173. "value": "620121"
  26174. }, {
  26175. "label": "皋兰县",
  26176. "value": "620122"
  26177. }, {
  26178. "label": "榆中县",
  26179. "value": "620123"
  26180. }, {
  26181. "label": "兰州新区",
  26182. "value": "620171"
  26183. }], [{
  26184. "label": "嘉峪关市",
  26185. "value": "620201"
  26186. }], [{
  26187. "label": "金川区",
  26188. "value": "620302"
  26189. }, {
  26190. "label": "永昌县",
  26191. "value": "620321"
  26192. }], [{
  26193. "label": "白银区",
  26194. "value": "620402"
  26195. }, {
  26196. "label": "平川区",
  26197. "value": "620403"
  26198. }, {
  26199. "label": "靖远县",
  26200. "value": "620421"
  26201. }, {
  26202. "label": "会宁县",
  26203. "value": "620422"
  26204. }, {
  26205. "label": "景泰县",
  26206. "value": "620423"
  26207. }], [{
  26208. "label": "秦州区",
  26209. "value": "620502"
  26210. }, {
  26211. "label": "麦积区",
  26212. "value": "620503"
  26213. }, {
  26214. "label": "清水县",
  26215. "value": "620521"
  26216. }, {
  26217. "label": "秦安县",
  26218. "value": "620522"
  26219. }, {
  26220. "label": "甘谷县",
  26221. "value": "620523"
  26222. }, {
  26223. "label": "武山县",
  26224. "value": "620524"
  26225. }, {
  26226. "label": "张家川回族自治县",
  26227. "value": "620525"
  26228. }], [{
  26229. "label": "凉州区",
  26230. "value": "620602"
  26231. }, {
  26232. "label": "民勤县",
  26233. "value": "620621"
  26234. }, {
  26235. "label": "古浪县",
  26236. "value": "620622"
  26237. }, {
  26238. "label": "天祝藏族自治县",
  26239. "value": "620623"
  26240. }], [{
  26241. "label": "甘州区",
  26242. "value": "620702"
  26243. }, {
  26244. "label": "肃南裕固族自治县",
  26245. "value": "620721"
  26246. }, {
  26247. "label": "民乐县",
  26248. "value": "620722"
  26249. }, {
  26250. "label": "临泽县",
  26251. "value": "620723"
  26252. }, {
  26253. "label": "高台县",
  26254. "value": "620724"
  26255. }, {
  26256. "label": "山丹县",
  26257. "value": "620725"
  26258. }], [{
  26259. "label": "崆峒区",
  26260. "value": "620802"
  26261. }, {
  26262. "label": "泾川县",
  26263. "value": "620821"
  26264. }, {
  26265. "label": "灵台县",
  26266. "value": "620822"
  26267. }, {
  26268. "label": "崇信县",
  26269. "value": "620823"
  26270. }, {
  26271. "label": "华亭县",
  26272. "value": "620824"
  26273. }, {
  26274. "label": "庄浪县",
  26275. "value": "620825"
  26276. }, {
  26277. "label": "静宁县",
  26278. "value": "620826"
  26279. }, {
  26280. "label": "平凉工业园区",
  26281. "value": "620871"
  26282. }], [{
  26283. "label": "肃州区",
  26284. "value": "620902"
  26285. }, {
  26286. "label": "金塔县",
  26287. "value": "620921"
  26288. }, {
  26289. "label": "瓜州县",
  26290. "value": "620922"
  26291. }, {
  26292. "label": "肃北蒙古族自治县",
  26293. "value": "620923"
  26294. }, {
  26295. "label": "阿克塞哈萨克族自治县",
  26296. "value": "620924"
  26297. }, {
  26298. "label": "玉门市",
  26299. "value": "620981"
  26300. }, {
  26301. "label": "敦煌市",
  26302. "value": "620982"
  26303. }], [{
  26304. "label": "西峰区",
  26305. "value": "621002"
  26306. }, {
  26307. "label": "庆城县",
  26308. "value": "621021"
  26309. }, {
  26310. "label": "环县",
  26311. "value": "621022"
  26312. }, {
  26313. "label": "华池县",
  26314. "value": "621023"
  26315. }, {
  26316. "label": "合水县",
  26317. "value": "621024"
  26318. }, {
  26319. "label": "正宁县",
  26320. "value": "621025"
  26321. }, {
  26322. "label": "宁县",
  26323. "value": "621026"
  26324. }, {
  26325. "label": "镇原县",
  26326. "value": "621027"
  26327. }], [{
  26328. "label": "安定区",
  26329. "value": "621102"
  26330. }, {
  26331. "label": "通渭县",
  26332. "value": "621121"
  26333. }, {
  26334. "label": "陇西县",
  26335. "value": "621122"
  26336. }, {
  26337. "label": "渭源县",
  26338. "value": "621123"
  26339. }, {
  26340. "label": "临洮县",
  26341. "value": "621124"
  26342. }, {
  26343. "label": "漳县",
  26344. "value": "621125"
  26345. }, {
  26346. "label": "岷县",
  26347. "value": "621126"
  26348. }], [{
  26349. "label": "武都区",
  26350. "value": "621202"
  26351. }, {
  26352. "label": "成县",
  26353. "value": "621221"
  26354. }, {
  26355. "label": "文县",
  26356. "value": "621222"
  26357. }, {
  26358. "label": "宕昌县",
  26359. "value": "621223"
  26360. }, {
  26361. "label": "康县",
  26362. "value": "621224"
  26363. }, {
  26364. "label": "西和县",
  26365. "value": "621225"
  26366. }, {
  26367. "label": "礼县",
  26368. "value": "621226"
  26369. }, {
  26370. "label": "徽县",
  26371. "value": "621227"
  26372. }, {
  26373. "label": "两当县",
  26374. "value": "621228"
  26375. }], [{
  26376. "label": "临夏市",
  26377. "value": "622901"
  26378. }, {
  26379. "label": "临夏县",
  26380. "value": "622921"
  26381. }, {
  26382. "label": "康乐县",
  26383. "value": "622922"
  26384. }, {
  26385. "label": "永靖县",
  26386. "value": "622923"
  26387. }, {
  26388. "label": "广河县",
  26389. "value": "622924"
  26390. }, {
  26391. "label": "和政县",
  26392. "value": "622925"
  26393. }, {
  26394. "label": "东乡族自治县",
  26395. "value": "622926"
  26396. }, {
  26397. "label": "积石山保安族东乡族撒拉族自治县",
  26398. "value": "622927"
  26399. }], [{
  26400. "label": "合作市",
  26401. "value": "623001"
  26402. }, {
  26403. "label": "临潭县",
  26404. "value": "623021"
  26405. }, {
  26406. "label": "卓尼县",
  26407. "value": "623022"
  26408. }, {
  26409. "label": "舟曲县",
  26410. "value": "623023"
  26411. }, {
  26412. "label": "迭部县",
  26413. "value": "623024"
  26414. }, {
  26415. "label": "玛曲县",
  26416. "value": "623025"
  26417. }, {
  26418. "label": "碌曲县",
  26419. "value": "623026"
  26420. }, {
  26421. "label": "夏河县",
  26422. "value": "623027"
  26423. }]], [[{
  26424. "label": "城东区",
  26425. "value": "630102"
  26426. }, {
  26427. "label": "城中区",
  26428. "value": "630103"
  26429. }, {
  26430. "label": "城西区",
  26431. "value": "630104"
  26432. }, {
  26433. "label": "城北区",
  26434. "value": "630105"
  26435. }, {
  26436. "label": "大通回族土族自治县",
  26437. "value": "630121"
  26438. }, {
  26439. "label": "湟中县",
  26440. "value": "630122"
  26441. }, {
  26442. "label": "湟源县",
  26443. "value": "630123"
  26444. }], [{
  26445. "label": "乐都区",
  26446. "value": "630202"
  26447. }, {
  26448. "label": "平安区",
  26449. "value": "630203"
  26450. }, {
  26451. "label": "民和回族土族自治县",
  26452. "value": "630222"
  26453. }, {
  26454. "label": "互助土族自治县",
  26455. "value": "630223"
  26456. }, {
  26457. "label": "化隆回族自治县",
  26458. "value": "630224"
  26459. }, {
  26460. "label": "循化撒拉族自治县",
  26461. "value": "630225"
  26462. }], [{
  26463. "label": "门源回族自治县",
  26464. "value": "632221"
  26465. }, {
  26466. "label": "祁连县",
  26467. "value": "632222"
  26468. }, {
  26469. "label": "海晏县",
  26470. "value": "632223"
  26471. }, {
  26472. "label": "刚察县",
  26473. "value": "632224"
  26474. }], [{
  26475. "label": "同仁县",
  26476. "value": "632321"
  26477. }, {
  26478. "label": "尖扎县",
  26479. "value": "632322"
  26480. }, {
  26481. "label": "泽库县",
  26482. "value": "632323"
  26483. }, {
  26484. "label": "河南蒙古族自治县",
  26485. "value": "632324"
  26486. }], [{
  26487. "label": "共和县",
  26488. "value": "632521"
  26489. }, {
  26490. "label": "同德县",
  26491. "value": "632522"
  26492. }, {
  26493. "label": "贵德县",
  26494. "value": "632523"
  26495. }, {
  26496. "label": "兴海县",
  26497. "value": "632524"
  26498. }, {
  26499. "label": "贵南县",
  26500. "value": "632525"
  26501. }], [{
  26502. "label": "玛沁县",
  26503. "value": "632621"
  26504. }, {
  26505. "label": "班玛县",
  26506. "value": "632622"
  26507. }, {
  26508. "label": "甘德县",
  26509. "value": "632623"
  26510. }, {
  26511. "label": "达日县",
  26512. "value": "632624"
  26513. }, {
  26514. "label": "久治县",
  26515. "value": "632625"
  26516. }, {
  26517. "label": "玛多县",
  26518. "value": "632626"
  26519. }], [{
  26520. "label": "玉树市",
  26521. "value": "632701"
  26522. }, {
  26523. "label": "杂多县",
  26524. "value": "632722"
  26525. }, {
  26526. "label": "称多县",
  26527. "value": "632723"
  26528. }, {
  26529. "label": "治多县",
  26530. "value": "632724"
  26531. }, {
  26532. "label": "囊谦县",
  26533. "value": "632725"
  26534. }, {
  26535. "label": "曲麻莱县",
  26536. "value": "632726"
  26537. }], [{
  26538. "label": "格尔木市",
  26539. "value": "632801"
  26540. }, {
  26541. "label": "德令哈市",
  26542. "value": "632802"
  26543. }, {
  26544. "label": "乌兰县",
  26545. "value": "632821"
  26546. }, {
  26547. "label": "都兰县",
  26548. "value": "632822"
  26549. }, {
  26550. "label": "天峻县",
  26551. "value": "632823"
  26552. }, {
  26553. "label": "大柴旦行政委员会",
  26554. "value": "632857"
  26555. }, {
  26556. "label": "冷湖行政委员会",
  26557. "value": "632858"
  26558. }, {
  26559. "label": "茫崖行政委员会",
  26560. "value": "632859"
  26561. }]], [[{
  26562. "label": "兴庆区",
  26563. "value": "640104"
  26564. }, {
  26565. "label": "西夏区",
  26566. "value": "640105"
  26567. }, {
  26568. "label": "金凤区",
  26569. "value": "640106"
  26570. }, {
  26571. "label": "永宁县",
  26572. "value": "640121"
  26573. }, {
  26574. "label": "贺兰县",
  26575. "value": "640122"
  26576. }, {
  26577. "label": "灵武市",
  26578. "value": "640181"
  26579. }], [{
  26580. "label": "大武口区",
  26581. "value": "640202"
  26582. }, {
  26583. "label": "惠农区",
  26584. "value": "640205"
  26585. }, {
  26586. "label": "平罗县",
  26587. "value": "640221"
  26588. }], [{
  26589. "label": "利通区",
  26590. "value": "640302"
  26591. }, {
  26592. "label": "红寺堡区",
  26593. "value": "640303"
  26594. }, {
  26595. "label": "盐池县",
  26596. "value": "640323"
  26597. }, {
  26598. "label": "同心县",
  26599. "value": "640324"
  26600. }, {
  26601. "label": "青铜峡市",
  26602. "value": "640381"
  26603. }], [{
  26604. "label": "原州区",
  26605. "value": "640402"
  26606. }, {
  26607. "label": "西吉县",
  26608. "value": "640422"
  26609. }, {
  26610. "label": "隆德县",
  26611. "value": "640423"
  26612. }, {
  26613. "label": "泾源县",
  26614. "value": "640424"
  26615. }, {
  26616. "label": "彭阳县",
  26617. "value": "640425"
  26618. }], [{
  26619. "label": "沙坡头区",
  26620. "value": "640502"
  26621. }, {
  26622. "label": "中宁县",
  26623. "value": "640521"
  26624. }, {
  26625. "label": "海原县",
  26626. "value": "640522"
  26627. }]], [[{
  26628. "label": "天山区",
  26629. "value": "650102"
  26630. }, {
  26631. "label": "沙依巴克区",
  26632. "value": "650103"
  26633. }, {
  26634. "label": "新市区",
  26635. "value": "650104"
  26636. }, {
  26637. "label": "水磨沟区",
  26638. "value": "650105"
  26639. }, {
  26640. "label": "头屯河区",
  26641. "value": "650106"
  26642. }, {
  26643. "label": "达坂城区",
  26644. "value": "650107"
  26645. }, {
  26646. "label": "米东区",
  26647. "value": "650109"
  26648. }, {
  26649. "label": "乌鲁木齐县",
  26650. "value": "650121"
  26651. }, {
  26652. "label": "乌鲁木齐经济技术开发区",
  26653. "value": "650171"
  26654. }, {
  26655. "label": "乌鲁木齐高新技术产业开发区",
  26656. "value": "650172"
  26657. }], [{
  26658. "label": "独山子区",
  26659. "value": "650202"
  26660. }, {
  26661. "label": "克拉玛依区",
  26662. "value": "650203"
  26663. }, {
  26664. "label": "白碱滩区",
  26665. "value": "650204"
  26666. }, {
  26667. "label": "乌尔禾区",
  26668. "value": "650205"
  26669. }], [{
  26670. "label": "高昌区",
  26671. "value": "650402"
  26672. }, {
  26673. "label": "鄯善县",
  26674. "value": "650421"
  26675. }, {
  26676. "label": "托克逊县",
  26677. "value": "650422"
  26678. }], [{
  26679. "label": "伊州区",
  26680. "value": "650502"
  26681. }, {
  26682. "label": "巴里坤哈萨克自治县",
  26683. "value": "650521"
  26684. }, {
  26685. "label": "伊吾县",
  26686. "value": "650522"
  26687. }], [{
  26688. "label": "昌吉市",
  26689. "value": "652301"
  26690. }, {
  26691. "label": "阜康市",
  26692. "value": "652302"
  26693. }, {
  26694. "label": "呼图壁县",
  26695. "value": "652323"
  26696. }, {
  26697. "label": "玛纳斯县",
  26698. "value": "652324"
  26699. }, {
  26700. "label": "奇台县",
  26701. "value": "652325"
  26702. }, {
  26703. "label": "吉木萨尔县",
  26704. "value": "652327"
  26705. }, {
  26706. "label": "木垒哈萨克自治县",
  26707. "value": "652328"
  26708. }], [{
  26709. "label": "博乐市",
  26710. "value": "652701"
  26711. }, {
  26712. "label": "阿拉山口市",
  26713. "value": "652702"
  26714. }, {
  26715. "label": "精河县",
  26716. "value": "652722"
  26717. }, {
  26718. "label": "温泉县",
  26719. "value": "652723"
  26720. }], [{
  26721. "label": "库尔勒市",
  26722. "value": "652801"
  26723. }, {
  26724. "label": "轮台县",
  26725. "value": "652822"
  26726. }, {
  26727. "label": "尉犁县",
  26728. "value": "652823"
  26729. }, {
  26730. "label": "若羌县",
  26731. "value": "652824"
  26732. }, {
  26733. "label": "且末县",
  26734. "value": "652825"
  26735. }, {
  26736. "label": "焉耆回族自治县",
  26737. "value": "652826"
  26738. }, {
  26739. "label": "和静县",
  26740. "value": "652827"
  26741. }, {
  26742. "label": "和硕县",
  26743. "value": "652828"
  26744. }, {
  26745. "label": "博湖县",
  26746. "value": "652829"
  26747. }, {
  26748. "label": "库尔勒经济技术开发区",
  26749. "value": "652871"
  26750. }], [{
  26751. "label": "阿克苏市",
  26752. "value": "652901"
  26753. }, {
  26754. "label": "温宿县",
  26755. "value": "652922"
  26756. }, {
  26757. "label": "库车县",
  26758. "value": "652923"
  26759. }, {
  26760. "label": "沙雅县",
  26761. "value": "652924"
  26762. }, {
  26763. "label": "新和县",
  26764. "value": "652925"
  26765. }, {
  26766. "label": "拜城县",
  26767. "value": "652926"
  26768. }, {
  26769. "label": "乌什县",
  26770. "value": "652927"
  26771. }, {
  26772. "label": "阿瓦提县",
  26773. "value": "652928"
  26774. }, {
  26775. "label": "柯坪县",
  26776. "value": "652929"
  26777. }], [{
  26778. "label": "阿图什市",
  26779. "value": "653001"
  26780. }, {
  26781. "label": "阿克陶县",
  26782. "value": "653022"
  26783. }, {
  26784. "label": "阿合奇县",
  26785. "value": "653023"
  26786. }, {
  26787. "label": "乌恰县",
  26788. "value": "653024"
  26789. }], [{
  26790. "label": "喀什市",
  26791. "value": "653101"
  26792. }, {
  26793. "label": "疏附县",
  26794. "value": "653121"
  26795. }, {
  26796. "label": "疏勒县",
  26797. "value": "653122"
  26798. }, {
  26799. "label": "英吉沙县",
  26800. "value": "653123"
  26801. }, {
  26802. "label": "泽普县",
  26803. "value": "653124"
  26804. }, {
  26805. "label": "莎车县",
  26806. "value": "653125"
  26807. }, {
  26808. "label": "叶城县",
  26809. "value": "653126"
  26810. }, {
  26811. "label": "麦盖提县",
  26812. "value": "653127"
  26813. }, {
  26814. "label": "岳普湖县",
  26815. "value": "653128"
  26816. }, {
  26817. "label": "伽师县",
  26818. "value": "653129"
  26819. }, {
  26820. "label": "巴楚县",
  26821. "value": "653130"
  26822. }, {
  26823. "label": "塔什库尔干塔吉克自治县",
  26824. "value": "653131"
  26825. }], [{
  26826. "label": "和田市",
  26827. "value": "653201"
  26828. }, {
  26829. "label": "和田县",
  26830. "value": "653221"
  26831. }, {
  26832. "label": "墨玉县",
  26833. "value": "653222"
  26834. }, {
  26835. "label": "皮山县",
  26836. "value": "653223"
  26837. }, {
  26838. "label": "洛浦县",
  26839. "value": "653224"
  26840. }, {
  26841. "label": "策勒县",
  26842. "value": "653225"
  26843. }, {
  26844. "label": "于田县",
  26845. "value": "653226"
  26846. }, {
  26847. "label": "民丰县",
  26848. "value": "653227"
  26849. }], [{
  26850. "label": "伊宁市",
  26851. "value": "654002"
  26852. }, {
  26853. "label": "奎屯市",
  26854. "value": "654003"
  26855. }, {
  26856. "label": "霍尔果斯市",
  26857. "value": "654004"
  26858. }, {
  26859. "label": "伊宁县",
  26860. "value": "654021"
  26861. }, {
  26862. "label": "察布查尔锡伯自治县",
  26863. "value": "654022"
  26864. }, {
  26865. "label": "霍城县",
  26866. "value": "654023"
  26867. }, {
  26868. "label": "巩留县",
  26869. "value": "654024"
  26870. }, {
  26871. "label": "新源县",
  26872. "value": "654025"
  26873. }, {
  26874. "label": "昭苏县",
  26875. "value": "654026"
  26876. }, {
  26877. "label": "特克斯县",
  26878. "value": "654027"
  26879. }, {
  26880. "label": "尼勒克县",
  26881. "value": "654028"
  26882. }], [{
  26883. "label": "塔城市",
  26884. "value": "654201"
  26885. }, {
  26886. "label": "乌苏市",
  26887. "value": "654202"
  26888. }, {
  26889. "label": "额敏县",
  26890. "value": "654221"
  26891. }, {
  26892. "label": "沙湾县",
  26893. "value": "654223"
  26894. }, {
  26895. "label": "托里县",
  26896. "value": "654224"
  26897. }, {
  26898. "label": "裕民县",
  26899. "value": "654225"
  26900. }, {
  26901. "label": "和布克赛尔蒙古自治县",
  26902. "value": "654226"
  26903. }], [{
  26904. "label": "阿勒泰市",
  26905. "value": "654301"
  26906. }, {
  26907. "label": "布尔津县",
  26908. "value": "654321"
  26909. }, {
  26910. "label": "富蕴县",
  26911. "value": "654322"
  26912. }, {
  26913. "label": "福海县",
  26914. "value": "654323"
  26915. }, {
  26916. "label": "哈巴河县",
  26917. "value": "654324"
  26918. }, {
  26919. "label": "青河县",
  26920. "value": "654325"
  26921. }, {
  26922. "label": "吉木乃县",
  26923. "value": "654326"
  26924. }], [{
  26925. "label": "石河子市",
  26926. "value": "659001"
  26927. }, {
  26928. "label": "阿拉尔市",
  26929. "value": "659002"
  26930. }, {
  26931. "label": "图木舒克市",
  26932. "value": "659003"
  26933. }, {
  26934. "label": "五家渠市",
  26935. "value": "659004"
  26936. }, {
  26937. "label": "铁门关市",
  26938. "value": "659006"
  26939. }]], [[{
  26940. "label": "台北",
  26941. "value": "660101"
  26942. }], [{
  26943. "label": "高雄",
  26944. "value": "660201"
  26945. }], [{
  26946. "label": "基隆",
  26947. "value": "660301"
  26948. }], [{
  26949. "label": "台中",
  26950. "value": "660401"
  26951. }], [{
  26952. "label": "台南",
  26953. "value": "660501"
  26954. }], [{
  26955. "label": "新竹",
  26956. "value": "660601"
  26957. }], [{
  26958. "label": "嘉义",
  26959. "value": "660701"
  26960. }], [{
  26961. "label": "宜兰",
  26962. "value": "660801"
  26963. }], [{
  26964. "label": "桃园",
  26965. "value": "660901"
  26966. }], [{
  26967. "label": "苗栗",
  26968. "value": "661001"
  26969. }], [{
  26970. "label": "彰化",
  26971. "value": "661101"
  26972. }], [{
  26973. "label": "南投",
  26974. "value": "661201"
  26975. }], [{
  26976. "label": "云林",
  26977. "value": "661301"
  26978. }], [{
  26979. "label": "屏东",
  26980. "value": "661401"
  26981. }], [{
  26982. "label": "台东",
  26983. "value": "661501"
  26984. }], [{
  26985. "label": "花莲",
  26986. "value": "661601"
  26987. }], [{
  26988. "label": "澎湖",
  26989. "value": "661701"
  26990. }]], [[{
  26991. "label": "香港岛",
  26992. "value": "670101"
  26993. }], [{
  26994. "label": "九龙",
  26995. "value": "670201"
  26996. }], [{
  26997. "label": "新界",
  26998. "value": "670301"
  26999. }]], [[{
  27000. "label": "澳门半岛",
  27001. "value": "680101"
  27002. }], [{
  27003. "label": "氹仔岛",
  27004. "value": "680201"
  27005. }], [{
  27006. "label": "路环岛",
  27007. "value": "680301"
  27008. }], [{
  27009. "label": "路氹城",
  27010. "value": "680401"
  27011. }]]];
  27012. var _default = areaData;
  27013. exports.default = _default;
  27014. /***/ }),
  27015. /***/ 43:
  27016. /*!***************************************************************!*\
  27017. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/mixin/mixin.js ***!
  27018. \***************************************************************/
  27019. /*! no static exports found */
  27020. /***/ (function(module, exports, __webpack_require__) {
  27021. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  27022. data: function data() {
  27023. return {};
  27024. },
  27025. onLoad: function onLoad() {
  27026. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  27027. this.$u.getRect = this.$uGetRect;
  27028. },
  27029. methods: {
  27030. // 查询节点信息
  27031. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  27032. // 解决办法为在组件根部再套一个没有任何作用的view元素
  27033. $uGetRect: function $uGetRect(selector, all) {
  27034. var _this = this;
  27035. return new Promise(function (resolve) {
  27036. uni.createSelectorQuery().in(_this)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  27037. if (all && Array.isArray(rect) && rect.length) {
  27038. resolve(rect);
  27039. }
  27040. if (!all && rect) {
  27041. resolve(rect);
  27042. }
  27043. }).exec();
  27044. });
  27045. },
  27046. getParentData: function getParentData() {
  27047. var _this2 = this;
  27048. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  27049. // 避免在created中去定义parent变量
  27050. if (!this.parent) this.parent = false;
  27051. // 这里的本质原理是,通过获取父组件实例(也即u-radio-group的this)
  27052. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  27053. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  27054. this.parent = this.$u.$parent.call(this, parentName);
  27055. if (this.parent) {
  27056. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  27057. Object.keys(this.parentData).map(function (key) {
  27058. _this2.parentData[key] = _this2.parent[key];
  27059. });
  27060. }
  27061. },
  27062. // 阻止事件冒泡
  27063. preventEvent: function preventEvent(e) {
  27064. e && e.stopPropagation && e.stopPropagation();
  27065. }
  27066. },
  27067. onReachBottom: function onReachBottom() {
  27068. uni.$emit('uOnReachBottom');
  27069. },
  27070. beforeDestroy: function beforeDestroy() {
  27071. var _this3 = this;
  27072. // 判断当前页面是否存在parent和children,一般在checkbox和checkbox-group父子联动的场景会有此情况
  27073. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  27074. if (this.parent && uni.$u.test.array(this.parent.children)) {
  27075. // 组件销毁时,移除父组件中的children数组中对应的实例
  27076. var childrenList = this.parent.children;
  27077. childrenList.map(function (child, index) {
  27078. // 如果相等,则移除
  27079. if (child === _this3) {
  27080. childrenList.splice(index, 1);
  27081. }
  27082. });
  27083. }
  27084. }
  27085. };
  27086. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27087. /***/ }),
  27088. /***/ 44:
  27089. /*!*****************************************************************!*\
  27090. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/request/index.js ***!
  27091. \*****************************************************************/
  27092. /*! no static exports found */
  27093. /***/ (function(module, exports, __webpack_require__) {
  27094. "use strict";
  27095. /* WEBPACK VAR INJECTION */(function(uni) {
  27096. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27097. Object.defineProperty(exports, "__esModule", {
  27098. value: true
  27099. });
  27100. exports.default = void 0;
  27101. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  27102. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  27103. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ../function/deepMerge */ 45));
  27104. var _test = _interopRequireDefault(__webpack_require__(/*! ../function/test */ 47));
  27105. var Request = /*#__PURE__*/function () {
  27106. function Request() {
  27107. var _this = this;
  27108. (0, _classCallCheck2.default)(this, Request);
  27109. this.config = {
  27110. baseUrl: '',
  27111. // 请求的根域名
  27112. // 默认的请求头
  27113. header: {},
  27114. method: 'POST',
  27115. // 设置为json,返回后uni.request会对数据进行一次JSON.parse
  27116. dataType: 'json',
  27117. // 此参数无需处理,因为5+和支付宝小程序不支持,默认为text即可
  27118. responseType: 'text',
  27119. showLoading: true,
  27120. // 是否显示请求中的loading
  27121. loadingText: '请求中...',
  27122. loadingTime: 800,
  27123. // 在此时间内,请求还没回来的话,就显示加载中动画,单位ms
  27124. timer: null,
  27125. // 定时器
  27126. originalData: false,
  27127. // 是否在拦截器中返回服务端的原始数据,见文档说明
  27128. loadingMask: true // 展示loading的时候,是否给一个透明的蒙层,防止触摸穿透
  27129. };
  27130. // 拦截器
  27131. this.interceptor = {
  27132. // 请求前的拦截
  27133. request: null,
  27134. // 请求后的拦截
  27135. response: null
  27136. };
  27137. // get请求
  27138. this.get = function (url) {
  27139. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27140. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27141. return _this.request({
  27142. method: 'GET',
  27143. url: url,
  27144. header: header,
  27145. data: data
  27146. });
  27147. };
  27148. // post请求
  27149. this.post = function (url) {
  27150. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27151. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27152. return _this.request({
  27153. url: url,
  27154. method: 'POST',
  27155. header: header,
  27156. data: data
  27157. });
  27158. };
  27159. // put请求,不支持支付宝小程序(HX2.6.15)
  27160. this.put = function (url) {
  27161. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27162. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27163. return _this.request({
  27164. url: url,
  27165. method: 'PUT',
  27166. header: header,
  27167. data: data
  27168. });
  27169. };
  27170. // delete请求,不支持支付宝和头条小程序(HX2.6.15)
  27171. this.delete = function (url) {
  27172. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27173. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  27174. return _this.request({
  27175. url: url,
  27176. method: 'DELETE',
  27177. header: header,
  27178. data: data
  27179. });
  27180. };
  27181. }
  27182. (0, _createClass2.default)(Request, [{
  27183. key: "setConfig",
  27184. value:
  27185. // 设置全局默认配置
  27186. function setConfig(customConfig) {
  27187. // 深度合并对象,否则会造成对象深层属性丢失
  27188. this.config = (0, _deepMerge.default)(this.config, customConfig);
  27189. }
  27190. // 主要请求部分
  27191. }, {
  27192. key: "request",
  27193. value: function request() {
  27194. var _this2 = this;
  27195. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27196. // 检查请求拦截
  27197. if (this.interceptor.request && typeof this.interceptor.request === 'function') {
  27198. var tmpConfig = {};
  27199. var interceptorRequest = this.interceptor.request(options);
  27200. if (interceptorRequest === false) {
  27201. // 返回一个处于pending状态中的Promise,来取消原promise,避免进入then()回调
  27202. return new Promise(function () {});
  27203. }
  27204. this.options = interceptorRequest;
  27205. }
  27206. options.dataType = options.dataType || this.config.dataType;
  27207. options.responseType = options.responseType || this.config.responseType;
  27208. options.url = options.url || '';
  27209. options.params = options.params || {};
  27210. options.header = Object.assign({}, this.config.header, options.header);
  27211. options.method = options.method || this.config.method;
  27212. return new Promise(function (resolve, reject) {
  27213. options.complete = function (response) {
  27214. // 请求返回后,隐藏loading(如果请求返回快的话,可能会没有loading)
  27215. uni.hideLoading();
  27216. // 清除定时器,如果请求回来了,就无需loading
  27217. clearTimeout(_this2.config.timer);
  27218. _this2.config.timer = null;
  27219. // 判断用户对拦截返回数据的要求,如果originalData为true,返回所有的数据(response)到拦截器,否则只返回response.data
  27220. if (_this2.config.originalData) {
  27221. // 判断是否存在拦截器
  27222. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  27223. var resInterceptors = _this2.interceptor.response(response);
  27224. // 如果拦截器不返回false,就将拦截器返回的内容给this.$u.post的then回调
  27225. if (resInterceptors !== false) {
  27226. resolve(resInterceptors);
  27227. } else {
  27228. // 如果拦截器返回false,意味着拦截器定义者认为返回有问题,直接接入catch回调
  27229. reject(response);
  27230. }
  27231. } else {
  27232. // 如果要求返回原始数据,就算没有拦截器,也返回最原始的数据
  27233. resolve(response);
  27234. }
  27235. } else {
  27236. if (response.statusCode == 200) {
  27237. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  27238. var _resInterceptors = _this2.interceptor.response(response.data);
  27239. if (_resInterceptors !== false) {
  27240. resolve(_resInterceptors);
  27241. } else {
  27242. reject(response.data);
  27243. }
  27244. } else {
  27245. // 如果不是返回原始数据(originalData=false),且没有拦截器的情况下,返回纯数据给then回调
  27246. resolve(response.data);
  27247. }
  27248. } else {
  27249. // 不返回原始数据的情况下,服务器状态码不为200,modal弹框提示
  27250. // if(response.errMsg) {
  27251. // uni.showModal({
  27252. // title: response.errMsg
  27253. // });
  27254. // }
  27255. reject(response);
  27256. }
  27257. }
  27258. };
  27259. // 判断用户传递的URL是否/开头,如果不是,加上/,这里使用了uView的test.js验证库的url()方法
  27260. options.url = _test.default.url(options.url) ? options.url : _this2.config.baseUrl + (options.url.indexOf('/') == 0 ? options.url : '/' + options.url);
  27261. // 是否显示loading
  27262. // 加一个是否已有timer定时器的判断,否则有两个同时请求的时候,后者会清除前者的定时器id
  27263. // 而没有清除前者的定时器,导致前者超时,一直显示loading
  27264. if (_this2.config.showLoading && !_this2.config.timer) {
  27265. _this2.config.timer = setTimeout(function () {
  27266. uni.showLoading({
  27267. title: _this2.config.loadingText,
  27268. mask: _this2.config.loadingMask
  27269. });
  27270. _this2.config.timer = null;
  27271. }, _this2.config.loadingTime);
  27272. }
  27273. uni.request(options);
  27274. });
  27275. // .catch(res => {
  27276. // // 如果返回reject(),不让其进入this.$u.post().then().catch()后面的catct()
  27277. // // 因为很多人都会忘了写后面的catch(),导致报错捕获不到catch
  27278. // return new Promise(()=>{});
  27279. // })
  27280. }
  27281. }]);
  27282. return Request;
  27283. }();
  27284. var _default = new Request();
  27285. exports.default = _default;
  27286. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27287. /***/ }),
  27288. /***/ 45:
  27289. /*!**********************************************************************!*\
  27290. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/deepMerge.js ***!
  27291. \**********************************************************************/
  27292. /*! no static exports found */
  27293. /***/ (function(module, exports, __webpack_require__) {
  27294. "use strict";
  27295. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27296. Object.defineProperty(exports, "__esModule", {
  27297. value: true
  27298. });
  27299. exports.default = void 0;
  27300. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27301. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./deepClone */ 46));
  27302. // JS对象深度合并
  27303. function deepMerge() {
  27304. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27305. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  27306. target = (0, _deepClone.default)(target);
  27307. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  27308. for (var prop in source) {
  27309. if (!source.hasOwnProperty(prop)) continue;
  27310. if (prop in target) {
  27311. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  27312. target[prop] = source[prop];
  27313. } else {
  27314. if ((0, _typeof2.default)(source[prop]) !== 'object') {
  27315. target[prop] = source[prop];
  27316. } else {
  27317. if (target[prop].concat && source[prop].concat) {
  27318. target[prop] = target[prop].concat(source[prop]);
  27319. } else {
  27320. target[prop] = deepMerge(target[prop], source[prop]);
  27321. }
  27322. }
  27323. }
  27324. } else {
  27325. target[prop] = source[prop];
  27326. }
  27327. }
  27328. return target;
  27329. }
  27330. var _default = deepMerge;
  27331. exports.default = _default;
  27332. /***/ }),
  27333. /***/ 46:
  27334. /*!**********************************************************************!*\
  27335. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/deepClone.js ***!
  27336. \**********************************************************************/
  27337. /*! no static exports found */
  27338. /***/ (function(module, exports, __webpack_require__) {
  27339. "use strict";
  27340. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27341. Object.defineProperty(exports, "__esModule", {
  27342. value: true
  27343. });
  27344. exports.default = void 0;
  27345. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27346. // 判断arr是否为一个数组,返回一个bool值
  27347. function isArray(arr) {
  27348. return Object.prototype.toString.call(arr) === '[object Array]';
  27349. }
  27350. // 深度克隆
  27351. function deepClone(obj) {
  27352. // 对常见的“非”值,直接返回原来值
  27353. if ([null, undefined, NaN, false].includes(obj)) return obj;
  27354. if ((0, _typeof2.default)(obj) !== "object" && typeof obj !== 'function') {
  27355. //原始类型直接返回
  27356. return obj;
  27357. }
  27358. var o = isArray(obj) ? [] : {};
  27359. for (var i in obj) {
  27360. if (obj.hasOwnProperty(i)) {
  27361. o[i] = (0, _typeof2.default)(obj[i]) === "object" ? deepClone(obj[i]) : obj[i];
  27362. }
  27363. }
  27364. return o;
  27365. }
  27366. var _default = deepClone;
  27367. exports.default = _default;
  27368. /***/ }),
  27369. /***/ 47:
  27370. /*!*****************************************************************!*\
  27371. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/test.js ***!
  27372. \*****************************************************************/
  27373. /*! no static exports found */
  27374. /***/ (function(module, exports, __webpack_require__) {
  27375. "use strict";
  27376. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27377. Object.defineProperty(exports, "__esModule", {
  27378. value: true
  27379. });
  27380. exports.default = void 0;
  27381. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  27382. /**
  27383. * 验证电子邮箱格式
  27384. */
  27385. function email(value) {
  27386. return /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(value);
  27387. }
  27388. /**
  27389. * 验证手机格式
  27390. */
  27391. function mobile(value) {
  27392. return /^1[3-9]\d{9}$/.test(value);
  27393. }
  27394. /**
  27395. * 验证URL格式
  27396. */
  27397. function url(value) {
  27398. return /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(value);
  27399. }
  27400. /**
  27401. * 验证日期格式
  27402. */
  27403. function date(value) {
  27404. return !/Invalid|NaN/.test(new Date(value).toString());
  27405. }
  27406. /**
  27407. * 验证ISO类型的日期格式
  27408. */
  27409. function dateISO(value) {
  27410. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  27411. }
  27412. /**
  27413. * 验证十进制数字
  27414. */
  27415. function number(value) {
  27416. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  27417. }
  27418. /**
  27419. * 验证整数
  27420. */
  27421. function digits(value) {
  27422. return /^\d+$/.test(value);
  27423. }
  27424. /**
  27425. * 验证身份证号码
  27426. */
  27427. function idCard(value) {
  27428. return /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
  27429. }
  27430. /**
  27431. * 是否车牌号
  27432. */
  27433. function carNo(value) {
  27434. // 新能源车牌
  27435. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  27436. // 旧车牌
  27437. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  27438. if (value.length === 7) {
  27439. return creg.test(value);
  27440. } else if (value.length === 8) {
  27441. return xreg.test(value);
  27442. } else {
  27443. return false;
  27444. }
  27445. }
  27446. /**
  27447. * 金额,只允许2位小数
  27448. */
  27449. function amount(value) {
  27450. //金额,只允许保留两位小数
  27451. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  27452. }
  27453. /**
  27454. * 中文
  27455. */
  27456. function chinese(value) {
  27457. var reg = /^[\u4e00-\u9fa5]+$/gi;
  27458. return reg.test(value);
  27459. }
  27460. /**
  27461. * 只能输入字母
  27462. */
  27463. function letter(value) {
  27464. return /^[a-zA-Z]*$/.test(value);
  27465. }
  27466. /**
  27467. * 只能是字母或者数字
  27468. */
  27469. function enOrNum(value) {
  27470. //英文或者数字
  27471. var reg = /^[0-9a-zA-Z]*$/g;
  27472. return reg.test(value);
  27473. }
  27474. /**
  27475. * 验证是否包含某个值
  27476. */
  27477. function contains(value, param) {
  27478. return value.indexOf(param) >= 0;
  27479. }
  27480. /**
  27481. * 验证一个值范围[min, max]
  27482. */
  27483. function range(value, param) {
  27484. return value >= param[0] && value <= param[1];
  27485. }
  27486. /**
  27487. * 验证一个长度范围[min, max]
  27488. */
  27489. function rangeLength(value, param) {
  27490. return value.length >= param[0] && value.length <= param[1];
  27491. }
  27492. /**
  27493. * 是否固定电话
  27494. */
  27495. function landline(value) {
  27496. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  27497. return reg.test(value);
  27498. }
  27499. /**
  27500. * 判断是否为空
  27501. */
  27502. function empty(value) {
  27503. switch ((0, _typeof2.default)(value)) {
  27504. case 'undefined':
  27505. return true;
  27506. case 'string':
  27507. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  27508. break;
  27509. case 'boolean':
  27510. if (!value) return true;
  27511. break;
  27512. case 'number':
  27513. if (0 === value || isNaN(value)) return true;
  27514. break;
  27515. case 'object':
  27516. if (null === value || value.length === 0) return true;
  27517. for (var i in value) {
  27518. return false;
  27519. }
  27520. return true;
  27521. }
  27522. return false;
  27523. }
  27524. /**
  27525. * 是否json字符串
  27526. */
  27527. function jsonString(value) {
  27528. if (typeof value == 'string') {
  27529. try {
  27530. var obj = JSON.parse(value);
  27531. if ((0, _typeof2.default)(obj) == 'object' && obj) {
  27532. return true;
  27533. } else {
  27534. return false;
  27535. }
  27536. } catch (e) {
  27537. return false;
  27538. }
  27539. }
  27540. return false;
  27541. }
  27542. /**
  27543. * 是否数组
  27544. */
  27545. function array(value) {
  27546. if (typeof Array.isArray === "function") {
  27547. return Array.isArray(value);
  27548. } else {
  27549. return Object.prototype.toString.call(value) === "[object Array]";
  27550. }
  27551. }
  27552. /**
  27553. * 是否对象
  27554. */
  27555. function object(value) {
  27556. return Object.prototype.toString.call(value) === '[object Object]';
  27557. }
  27558. /**
  27559. * 是否短信验证码
  27560. */
  27561. function code(value) {
  27562. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  27563. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  27564. }
  27565. var _default = {
  27566. email: email,
  27567. mobile: mobile,
  27568. url: url,
  27569. date: date,
  27570. dateISO: dateISO,
  27571. number: number,
  27572. digits: digits,
  27573. idCard: idCard,
  27574. carNo: carNo,
  27575. amount: amount,
  27576. chinese: chinese,
  27577. letter: letter,
  27578. enOrNum: enOrNum,
  27579. contains: contains,
  27580. range: range,
  27581. rangeLength: rangeLength,
  27582. empty: empty,
  27583. isEmpty: empty,
  27584. jsonString: jsonString,
  27585. landline: landline,
  27586. object: object,
  27587. array: array,
  27588. code: code
  27589. };
  27590. exports.default = _default;
  27591. /***/ }),
  27592. /***/ 48:
  27593. /*!************************************************************************!*\
  27594. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/queryParams.js ***!
  27595. \************************************************************************/
  27596. /*! no static exports found */
  27597. /***/ (function(module, exports, __webpack_require__) {
  27598. "use strict";
  27599. Object.defineProperty(exports, "__esModule", {
  27600. value: true
  27601. });
  27602. exports.default = void 0;
  27603. /**
  27604. * 对象转url参数
  27605. * @param {*} data,对象
  27606. * @param {*} isPrefix,是否自动加上"?"
  27607. */
  27608. function queryParams() {
  27609. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  27610. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  27611. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  27612. var prefix = isPrefix ? '?' : '';
  27613. var _result = [];
  27614. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  27615. var _loop = function _loop(key) {
  27616. var value = data[key];
  27617. // 去掉为空的参数
  27618. if (['', undefined, null].indexOf(value) >= 0) {
  27619. return "continue";
  27620. }
  27621. // 如果值为数组,另行处理
  27622. if (value.constructor === Array) {
  27623. // e.g. {ids: [1, 2, 3]}
  27624. switch (arrayFormat) {
  27625. case 'indices':
  27626. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  27627. for (var i = 0; i < value.length; i++) {
  27628. _result.push(key + '[' + i + ']=' + value[i]);
  27629. }
  27630. break;
  27631. case 'brackets':
  27632. // 结果: ids[]=1&ids[]=2&ids[]=3
  27633. value.forEach(function (_value) {
  27634. _result.push(key + '[]=' + _value);
  27635. });
  27636. break;
  27637. case 'repeat':
  27638. // 结果: ids=1&ids=2&ids=3
  27639. value.forEach(function (_value) {
  27640. _result.push(key + '=' + _value);
  27641. });
  27642. break;
  27643. case 'comma':
  27644. // 结果: ids=1,2,3
  27645. var commaStr = "";
  27646. value.forEach(function (_value) {
  27647. commaStr += (commaStr ? "," : "") + _value;
  27648. });
  27649. _result.push(key + '=' + commaStr);
  27650. break;
  27651. default:
  27652. value.forEach(function (_value) {
  27653. _result.push(key + '[]=' + _value);
  27654. });
  27655. }
  27656. } else {
  27657. _result.push(key + '=' + value);
  27658. }
  27659. };
  27660. for (var key in data) {
  27661. var _ret = _loop(key);
  27662. if (_ret === "continue") continue;
  27663. }
  27664. return _result.length ? prefix + _result.join('&') : '';
  27665. }
  27666. var _default = queryParams;
  27667. exports.default = _default;
  27668. /***/ }),
  27669. /***/ 49:
  27670. /*!******************************************************************!*\
  27671. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/route.js ***!
  27672. \******************************************************************/
  27673. /*! no static exports found */
  27674. /***/ (function(module, exports, __webpack_require__) {
  27675. "use strict";
  27676. /* WEBPACK VAR INJECTION */(function(uni) {
  27677. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  27678. Object.defineProperty(exports, "__esModule", {
  27679. value: true
  27680. });
  27681. exports.default = void 0;
  27682. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 50));
  27683. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 52));
  27684. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  27685. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  27686. /**
  27687. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  27688. * 并且带有路由拦截功能
  27689. */
  27690. var Router = /*#__PURE__*/function () {
  27691. function Router() {
  27692. (0, _classCallCheck2.default)(this, Router);
  27693. // 原始属性定义
  27694. this.config = {
  27695. type: 'navigateTo',
  27696. url: '',
  27697. delta: 1,
  27698. // navigateBack页面后退时,回退的层数
  27699. params: {},
  27700. // 传递的参数
  27701. animationType: 'pop-in',
  27702. // 窗口动画,只在APP有效
  27703. animationDuration: 300,
  27704. // 窗口动画持续时间,单位毫秒,只在APP有效
  27705. intercept: false // 是否需要拦截
  27706. };
  27707. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  27708. // 这里在构造函数中进行this绑定
  27709. this.route = this.route.bind(this);
  27710. }
  27711. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  27712. (0, _createClass2.default)(Router, [{
  27713. key: "addRootPath",
  27714. value: function addRootPath(url) {
  27715. return url[0] === '/' ? url : "/".concat(url);
  27716. }
  27717. // 整合路由参数
  27718. }, {
  27719. key: "mixinParam",
  27720. value: function mixinParam(url, params) {
  27721. url = url && this.addRootPath(url);
  27722. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  27723. // 如果有url中有get参数,转换后无需带上"?"
  27724. var query = '';
  27725. if (/.*\/.*\?.*=.*/.test(url)) {
  27726. // object对象转为get类型的参数
  27727. query = uni.$u.queryParams(params, false);
  27728. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  27729. return url += "&" + query;
  27730. } else {
  27731. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  27732. query = uni.$u.queryParams(params);
  27733. return url += query;
  27734. }
  27735. }
  27736. // 对外的方法名称
  27737. }, {
  27738. key: "route",
  27739. value: function () {
  27740. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  27741. var options,
  27742. params,
  27743. mergeConfig,
  27744. isNext,
  27745. _args = arguments;
  27746. return _regenerator.default.wrap(function _callee$(_context) {
  27747. while (1) {
  27748. switch (_context.prev = _context.next) {
  27749. case 0:
  27750. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  27751. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  27752. // 合并用户的配置和内部的默认配置
  27753. mergeConfig = {};
  27754. if (typeof options === 'string') {
  27755. // 如果options为字符串,则为route(url, params)的形式
  27756. mergeConfig.url = this.mixinParam(options, params);
  27757. mergeConfig.type = 'navigateTo';
  27758. } else {
  27759. mergeConfig = uni.$u.deepClone(options, this.config);
  27760. // 否则正常使用mergeConfig中的url和params进行拼接
  27761. mergeConfig.url = this.mixinParam(options.url, options.params);
  27762. }
  27763. if (params.intercept) {
  27764. this.config.intercept = params.intercept;
  27765. }
  27766. // params参数也带给拦截器
  27767. mergeConfig.params = params;
  27768. // 合并内外部参数
  27769. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  27770. // 判断用户是否定义了拦截器
  27771. if (!(typeof uni.$u.routeIntercept === 'function')) {
  27772. _context.next = 14;
  27773. break;
  27774. }
  27775. _context.next = 10;
  27776. return new Promise(function (resolve, reject) {
  27777. uni.$u.routeIntercept(mergeConfig, resolve);
  27778. });
  27779. case 10:
  27780. isNext = _context.sent;
  27781. // 如果isNext为true,则执行路由跳转
  27782. isNext && this.openPage(mergeConfig);
  27783. _context.next = 15;
  27784. break;
  27785. case 14:
  27786. this.openPage(mergeConfig);
  27787. case 15:
  27788. case "end":
  27789. return _context.stop();
  27790. }
  27791. }
  27792. }, _callee, this);
  27793. }));
  27794. function route() {
  27795. return _route.apply(this, arguments);
  27796. }
  27797. return route;
  27798. }() // 执行路由跳转
  27799. }, {
  27800. key: "openPage",
  27801. value: function openPage(config) {
  27802. // 解构参数
  27803. var url = config.url,
  27804. type = config.type,
  27805. delta = config.delta,
  27806. animationType = config.animationType,
  27807. animationDuration = config.animationDuration;
  27808. if (config.type == 'navigateTo' || config.type == 'to') {
  27809. uni.navigateTo({
  27810. url: url,
  27811. animationType: animationType,
  27812. animationDuration: animationDuration
  27813. });
  27814. }
  27815. if (config.type == 'redirectTo' || config.type == 'redirect') {
  27816. uni.redirectTo({
  27817. url: url
  27818. });
  27819. }
  27820. if (config.type == 'switchTab' || config.type == 'tab') {
  27821. uni.switchTab({
  27822. url: url
  27823. });
  27824. }
  27825. if (config.type == 'reLaunch' || config.type == 'launch') {
  27826. uni.reLaunch({
  27827. url: url
  27828. });
  27829. }
  27830. if (config.type == 'navigateBack' || config.type == 'back') {
  27831. uni.navigateBack({
  27832. delta: delta
  27833. });
  27834. }
  27835. }
  27836. }]);
  27837. return Router;
  27838. }();
  27839. var _default = new Router().route;
  27840. exports.default = _default;
  27841. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27842. /***/ }),
  27843. /***/ 5:
  27844. /*!**************************************************************!*\
  27845. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  27846. \**************************************************************/
  27847. /*! no static exports found */
  27848. /***/ (function(module, exports, __webpack_require__) {
  27849. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  27850. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  27851. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  27852. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  27853. function _slicedToArray(arr, i) {
  27854. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  27855. }
  27856. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  27857. /***/ }),
  27858. /***/ 50:
  27859. /*!************************************************************************************************!*\
  27860. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  27861. \************************************************************************************************/
  27862. /*! no static exports found */
  27863. /***/ (function(module, exports, __webpack_require__) {
  27864. // TODO(Babel 8): Remove this file.
  27865. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 51)();
  27866. module.exports = runtime;
  27867. /***/ }),
  27868. /***/ 51:
  27869. /*!*******************************************************************!*\
  27870. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  27871. \*******************************************************************/
  27872. /*! no static exports found */
  27873. /***/ (function(module, exports, __webpack_require__) {
  27874. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  27875. function _regeneratorRuntime() {
  27876. "use strict";
  27877. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  27878. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  27879. return exports;
  27880. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  27881. var exports = {},
  27882. Op = Object.prototype,
  27883. hasOwn = Op.hasOwnProperty,
  27884. defineProperty = Object.defineProperty || function (obj, key, desc) {
  27885. obj[key] = desc.value;
  27886. },
  27887. $Symbol = "function" == typeof Symbol ? Symbol : {},
  27888. iteratorSymbol = $Symbol.iterator || "@@iterator",
  27889. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  27890. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  27891. function define(obj, key, value) {
  27892. return Object.defineProperty(obj, key, {
  27893. value: value,
  27894. enumerable: !0,
  27895. configurable: !0,
  27896. writable: !0
  27897. }), obj[key];
  27898. }
  27899. try {
  27900. define({}, "");
  27901. } catch (err) {
  27902. define = function define(obj, key, value) {
  27903. return obj[key] = value;
  27904. };
  27905. }
  27906. function wrap(innerFn, outerFn, self, tryLocsList) {
  27907. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  27908. generator = Object.create(protoGenerator.prototype),
  27909. context = new Context(tryLocsList || []);
  27910. return defineProperty(generator, "_invoke", {
  27911. value: makeInvokeMethod(innerFn, self, context)
  27912. }), generator;
  27913. }
  27914. function tryCatch(fn, obj, arg) {
  27915. try {
  27916. return {
  27917. type: "normal",
  27918. arg: fn.call(obj, arg)
  27919. };
  27920. } catch (err) {
  27921. return {
  27922. type: "throw",
  27923. arg: err
  27924. };
  27925. }
  27926. }
  27927. exports.wrap = wrap;
  27928. var ContinueSentinel = {};
  27929. function Generator() {}
  27930. function GeneratorFunction() {}
  27931. function GeneratorFunctionPrototype() {}
  27932. var IteratorPrototype = {};
  27933. define(IteratorPrototype, iteratorSymbol, function () {
  27934. return this;
  27935. });
  27936. var getProto = Object.getPrototypeOf,
  27937. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  27938. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  27939. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  27940. function defineIteratorMethods(prototype) {
  27941. ["next", "throw", "return"].forEach(function (method) {
  27942. define(prototype, method, function (arg) {
  27943. return this._invoke(method, arg);
  27944. });
  27945. });
  27946. }
  27947. function AsyncIterator(generator, PromiseImpl) {
  27948. function invoke(method, arg, resolve, reject) {
  27949. var record = tryCatch(generator[method], generator, arg);
  27950. if ("throw" !== record.type) {
  27951. var result = record.arg,
  27952. value = result.value;
  27953. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  27954. invoke("next", value, resolve, reject);
  27955. }, function (err) {
  27956. invoke("throw", err, resolve, reject);
  27957. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  27958. result.value = unwrapped, resolve(result);
  27959. }, function (error) {
  27960. return invoke("throw", error, resolve, reject);
  27961. });
  27962. }
  27963. reject(record.arg);
  27964. }
  27965. var previousPromise;
  27966. defineProperty(this, "_invoke", {
  27967. value: function value(method, arg) {
  27968. function callInvokeWithMethodAndArg() {
  27969. return new PromiseImpl(function (resolve, reject) {
  27970. invoke(method, arg, resolve, reject);
  27971. });
  27972. }
  27973. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  27974. }
  27975. });
  27976. }
  27977. function makeInvokeMethod(innerFn, self, context) {
  27978. var state = "suspendedStart";
  27979. return function (method, arg) {
  27980. if ("executing" === state) throw new Error("Generator is already running");
  27981. if ("completed" === state) {
  27982. if ("throw" === method) throw arg;
  27983. return doneResult();
  27984. }
  27985. for (context.method = method, context.arg = arg;;) {
  27986. var delegate = context.delegate;
  27987. if (delegate) {
  27988. var delegateResult = maybeInvokeDelegate(delegate, context);
  27989. if (delegateResult) {
  27990. if (delegateResult === ContinueSentinel) continue;
  27991. return delegateResult;
  27992. }
  27993. }
  27994. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  27995. if ("suspendedStart" === state) throw state = "completed", context.arg;
  27996. context.dispatchException(context.arg);
  27997. } else "return" === context.method && context.abrupt("return", context.arg);
  27998. state = "executing";
  27999. var record = tryCatch(innerFn, self, context);
  28000. if ("normal" === record.type) {
  28001. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  28002. return {
  28003. value: record.arg,
  28004. done: context.done
  28005. };
  28006. }
  28007. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  28008. }
  28009. };
  28010. }
  28011. function maybeInvokeDelegate(delegate, context) {
  28012. var methodName = context.method,
  28013. method = delegate.iterator[methodName];
  28014. 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;
  28015. var record = tryCatch(method, delegate.iterator, context.arg);
  28016. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  28017. var info = record.arg;
  28018. 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);
  28019. }
  28020. function pushTryEntry(locs) {
  28021. var entry = {
  28022. tryLoc: locs[0]
  28023. };
  28024. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  28025. }
  28026. function resetTryEntry(entry) {
  28027. var record = entry.completion || {};
  28028. record.type = "normal", delete record.arg, entry.completion = record;
  28029. }
  28030. function Context(tryLocsList) {
  28031. this.tryEntries = [{
  28032. tryLoc: "root"
  28033. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  28034. }
  28035. function values(iterable) {
  28036. if (iterable) {
  28037. var iteratorMethod = iterable[iteratorSymbol];
  28038. if (iteratorMethod) return iteratorMethod.call(iterable);
  28039. if ("function" == typeof iterable.next) return iterable;
  28040. if (!isNaN(iterable.length)) {
  28041. var i = -1,
  28042. next = function next() {
  28043. for (; ++i < iterable.length;) {
  28044. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  28045. }
  28046. return next.value = undefined, next.done = !0, next;
  28047. };
  28048. return next.next = next;
  28049. }
  28050. }
  28051. return {
  28052. next: doneResult
  28053. };
  28054. }
  28055. function doneResult() {
  28056. return {
  28057. value: undefined,
  28058. done: !0
  28059. };
  28060. }
  28061. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  28062. value: GeneratorFunctionPrototype,
  28063. configurable: !0
  28064. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  28065. value: GeneratorFunction,
  28066. configurable: !0
  28067. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  28068. var ctor = "function" == typeof genFun && genFun.constructor;
  28069. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  28070. }, exports.mark = function (genFun) {
  28071. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  28072. }, exports.awrap = function (arg) {
  28073. return {
  28074. __await: arg
  28075. };
  28076. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  28077. return this;
  28078. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  28079. void 0 === PromiseImpl && (PromiseImpl = Promise);
  28080. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  28081. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  28082. return result.done ? result.value : iter.next();
  28083. });
  28084. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  28085. return this;
  28086. }), define(Gp, "toString", function () {
  28087. return "[object Generator]";
  28088. }), exports.keys = function (val) {
  28089. var object = Object(val),
  28090. keys = [];
  28091. for (var key in object) {
  28092. keys.push(key);
  28093. }
  28094. return keys.reverse(), function next() {
  28095. for (; keys.length;) {
  28096. var key = keys.pop();
  28097. if (key in object) return next.value = key, next.done = !1, next;
  28098. }
  28099. return next.done = !0, next;
  28100. };
  28101. }, exports.values = values, Context.prototype = {
  28102. constructor: Context,
  28103. reset: function reset(skipTempReset) {
  28104. 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) {
  28105. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  28106. }
  28107. },
  28108. stop: function stop() {
  28109. this.done = !0;
  28110. var rootRecord = this.tryEntries[0].completion;
  28111. if ("throw" === rootRecord.type) throw rootRecord.arg;
  28112. return this.rval;
  28113. },
  28114. dispatchException: function dispatchException(exception) {
  28115. if (this.done) throw exception;
  28116. var context = this;
  28117. function handle(loc, caught) {
  28118. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  28119. }
  28120. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28121. var entry = this.tryEntries[i],
  28122. record = entry.completion;
  28123. if ("root" === entry.tryLoc) return handle("end");
  28124. if (entry.tryLoc <= this.prev) {
  28125. var hasCatch = hasOwn.call(entry, "catchLoc"),
  28126. hasFinally = hasOwn.call(entry, "finallyLoc");
  28127. if (hasCatch && hasFinally) {
  28128. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  28129. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  28130. } else if (hasCatch) {
  28131. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  28132. } else {
  28133. if (!hasFinally) throw new Error("try statement without catch or finally");
  28134. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  28135. }
  28136. }
  28137. }
  28138. },
  28139. abrupt: function abrupt(type, arg) {
  28140. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28141. var entry = this.tryEntries[i];
  28142. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  28143. var finallyEntry = entry;
  28144. break;
  28145. }
  28146. }
  28147. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  28148. var record = finallyEntry ? finallyEntry.completion : {};
  28149. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  28150. },
  28151. complete: function complete(record, afterLoc) {
  28152. if ("throw" === record.type) throw record.arg;
  28153. 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;
  28154. },
  28155. finish: function finish(finallyLoc) {
  28156. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28157. var entry = this.tryEntries[i];
  28158. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  28159. }
  28160. },
  28161. "catch": function _catch(tryLoc) {
  28162. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  28163. var entry = this.tryEntries[i];
  28164. if (entry.tryLoc === tryLoc) {
  28165. var record = entry.completion;
  28166. if ("throw" === record.type) {
  28167. var thrown = record.arg;
  28168. resetTryEntry(entry);
  28169. }
  28170. return thrown;
  28171. }
  28172. }
  28173. throw new Error("illegal catch attempt");
  28174. },
  28175. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  28176. return this.delegate = {
  28177. iterator: values(iterable),
  28178. resultName: resultName,
  28179. nextLoc: nextLoc
  28180. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  28181. }
  28182. }, exports;
  28183. }
  28184. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28185. /***/ }),
  28186. /***/ 52:
  28187. /*!*****************************************************************!*\
  28188. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  28189. \*****************************************************************/
  28190. /*! no static exports found */
  28191. /***/ (function(module, exports) {
  28192. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  28193. try {
  28194. var info = gen[key](arg);
  28195. var value = info.value;
  28196. } catch (error) {
  28197. reject(error);
  28198. return;
  28199. }
  28200. if (info.done) {
  28201. resolve(value);
  28202. } else {
  28203. Promise.resolve(value).then(_next, _throw);
  28204. }
  28205. }
  28206. function _asyncToGenerator(fn) {
  28207. return function () {
  28208. var self = this,
  28209. args = arguments;
  28210. return new Promise(function (resolve, reject) {
  28211. var gen = fn.apply(self, args);
  28212. function _next(value) {
  28213. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  28214. }
  28215. function _throw(err) {
  28216. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  28217. }
  28218. _next(undefined);
  28219. });
  28220. };
  28221. }
  28222. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28223. /***/ }),
  28224. /***/ 53:
  28225. /*!***********************************************************************!*\
  28226. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/timeFormat.js ***!
  28227. \***********************************************************************/
  28228. /*! no static exports found */
  28229. /***/ (function(module, exports, __webpack_require__) {
  28230. "use strict";
  28231. Object.defineProperty(exports, "__esModule", {
  28232. value: true
  28233. });
  28234. exports.default = void 0;
  28235. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  28236. // 所以这里做一个兼容polyfill的兼容处理
  28237. if (!String.prototype.padStart) {
  28238. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  28239. String.prototype.padStart = function (maxLength) {
  28240. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  28241. if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError('fillString must be String');
  28242. var str = this;
  28243. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  28244. if (str.length >= maxLength) return String(str);
  28245. var fillLength = maxLength - str.length,
  28246. times = Math.ceil(fillLength / fillString.length);
  28247. while (times >>= 1) {
  28248. fillString += fillString;
  28249. if (times === 1) {
  28250. fillString += fillString;
  28251. }
  28252. }
  28253. return fillString.slice(0, fillLength) + str;
  28254. };
  28255. }
  28256. // 其他更多是格式化有如下:
  28257. // yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
  28258. function timeFormat() {
  28259. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  28260. var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  28261. // 如果为null,则格式化当前时间
  28262. if (!dateTime) dateTime = Number(new Date());
  28263. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  28264. if (dateTime.toString().length == 10) dateTime *= 1000;
  28265. var date = new Date(dateTime);
  28266. var ret;
  28267. var opt = {
  28268. "y+": date.getFullYear().toString(),
  28269. // 年
  28270. "m+": (date.getMonth() + 1).toString(),
  28271. // 月
  28272. "d+": date.getDate().toString(),
  28273. // 日
  28274. "h+": date.getHours().toString(),
  28275. // 时
  28276. "M+": date.getMinutes().toString(),
  28277. // 分
  28278. "s+": date.getSeconds().toString() // 秒
  28279. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  28280. };
  28281. for (var k in opt) {
  28282. ret = new RegExp("(" + k + ")").exec(fmt);
  28283. if (ret) {
  28284. fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
  28285. }
  28286. ;
  28287. }
  28288. ;
  28289. return fmt;
  28290. }
  28291. var _default = timeFormat;
  28292. exports.default = _default;
  28293. /***/ }),
  28294. /***/ 54:
  28295. /*!*********************************************************************!*\
  28296. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/timeFrom.js ***!
  28297. \*********************************************************************/
  28298. /*! no static exports found */
  28299. /***/ (function(module, exports, __webpack_require__) {
  28300. "use strict";
  28301. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28302. Object.defineProperty(exports, "__esModule", {
  28303. value: true
  28304. });
  28305. exports.default = void 0;
  28306. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 53));
  28307. /**
  28308. * 时间戳转为多久之前
  28309. * @param String timestamp 时间戳
  28310. * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  28311. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  28312. */
  28313. function timeFrom() {
  28314. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  28315. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  28316. // 如果为null,则格式化当前时间
  28317. if (!dateTime) dateTime = Number(new Date());
  28318. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  28319. if (dateTime.toString().length == 10) dateTime *= 1000;
  28320. var timestamp = +new Date(Number(dateTime));
  28321. var timer = (Number(new Date()) - timestamp) / 1000;
  28322. // 如果小于5分钟,则返回"刚刚",其他以此类推
  28323. var tips = '';
  28324. switch (true) {
  28325. case timer < 300:
  28326. tips = '刚刚';
  28327. break;
  28328. case timer >= 300 && timer < 3600:
  28329. tips = parseInt(timer / 60) + '分钟前';
  28330. break;
  28331. case timer >= 3600 && timer < 86400:
  28332. tips = parseInt(timer / 3600) + '小时前';
  28333. break;
  28334. case timer >= 86400 && timer < 2592000:
  28335. tips = parseInt(timer / 86400) + '天前';
  28336. break;
  28337. default:
  28338. // 如果format为false,则无论什么时间戳,都显示xx之前
  28339. if (format === false) {
  28340. if (timer >= 2592000 && timer < 365 * 86400) {
  28341. tips = parseInt(timer / (86400 * 30)) + '个月前';
  28342. } else {
  28343. tips = parseInt(timer / (86400 * 365)) + '年前';
  28344. }
  28345. } else {
  28346. tips = (0, _timeFormat.default)(timestamp, format);
  28347. }
  28348. }
  28349. return tips;
  28350. }
  28351. var _default = timeFrom;
  28352. exports.default = _default;
  28353. /***/ }),
  28354. /***/ 55:
  28355. /*!**************************************************************************!*\
  28356. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/colorGradient.js ***!
  28357. \**************************************************************************/
  28358. /*! no static exports found */
  28359. /***/ (function(module, exports, __webpack_require__) {
  28360. "use strict";
  28361. Object.defineProperty(exports, "__esModule", {
  28362. value: true
  28363. });
  28364. exports.default = void 0;
  28365. /**
  28366. * 求两个颜色之间的渐变值
  28367. * @param {string} startColor 开始的颜色
  28368. * @param {string} endColor 结束的颜色
  28369. * @param {number} step 颜色等分的份额
  28370. * */
  28371. function colorGradient() {
  28372. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  28373. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  28374. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  28375. var startRGB = hexToRgb(startColor, false); //转换为rgb数组模式
  28376. var startR = startRGB[0];
  28377. var startG = startRGB[1];
  28378. var startB = startRGB[2];
  28379. var endRGB = hexToRgb(endColor, false);
  28380. var endR = endRGB[0];
  28381. var endG = endRGB[1];
  28382. var endB = endRGB[2];
  28383. var sR = (endR - startR) / step; //总差值
  28384. var sG = (endG - startG) / step;
  28385. var sB = (endB - startB) / step;
  28386. var colorArr = [];
  28387. for (var i = 0; i < step; i++) {
  28388. //计算每一步的hex值
  28389. var hex = rgbToHex('rgb(' + Math.round(sR * i + startR) + ',' + Math.round(sG * i + startG) + ',' + Math.round(sB * i + startB) + ')');
  28390. colorArr.push(hex);
  28391. }
  28392. return colorArr;
  28393. }
  28394. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  28395. function hexToRgb(sColor) {
  28396. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  28397. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28398. sColor = sColor.toLowerCase();
  28399. if (sColor && reg.test(sColor)) {
  28400. if (sColor.length === 4) {
  28401. var sColorNew = "#";
  28402. for (var i = 1; i < 4; i += 1) {
  28403. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  28404. }
  28405. sColor = sColorNew;
  28406. }
  28407. //处理六位的颜色值
  28408. var sColorChange = [];
  28409. for (var _i = 1; _i < 7; _i += 2) {
  28410. sColorChange.push(parseInt("0x" + sColor.slice(_i, _i + 2)));
  28411. }
  28412. if (!str) {
  28413. return sColorChange;
  28414. } else {
  28415. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  28416. }
  28417. } else if (/^(rgb|RGB)/.test(sColor)) {
  28418. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  28419. return arr.map(function (val) {
  28420. return Number(val);
  28421. });
  28422. } else {
  28423. return sColor;
  28424. }
  28425. }
  28426. ;
  28427. // 将rgb表示方式转换为hex表示方式
  28428. function rgbToHex(rgb) {
  28429. var _this = rgb;
  28430. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28431. if (/^(rgb|RGB)/.test(_this)) {
  28432. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  28433. var strHex = "#";
  28434. for (var i = 0; i < aColor.length; i++) {
  28435. var hex = Number(aColor[i]).toString(16);
  28436. hex = String(hex).length == 1 ? 0 + '' + hex : hex; // 保证每个rgb的值为2位
  28437. if (hex === "0") {
  28438. hex += hex;
  28439. }
  28440. strHex += hex;
  28441. }
  28442. if (strHex.length !== 7) {
  28443. strHex = _this;
  28444. }
  28445. return strHex;
  28446. } else if (reg.test(_this)) {
  28447. var aNum = _this.replace(/#/, "").split("");
  28448. if (aNum.length === 6) {
  28449. return _this;
  28450. } else if (aNum.length === 3) {
  28451. var numHex = "#";
  28452. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  28453. numHex += aNum[_i2] + aNum[_i2];
  28454. }
  28455. return numHex;
  28456. }
  28457. } else {
  28458. return _this;
  28459. }
  28460. }
  28461. /**
  28462. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  28463. * sHex为传入的十六进制的色值
  28464. * alpha为rgba的透明度
  28465. */
  28466. function colorToRgba(color) {
  28467. var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.3;
  28468. color = rgbToHex(color);
  28469. // 十六进制颜色值的正则表达式
  28470. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  28471. /* 16进制颜色转为RGB格式 */
  28472. var sColor = color.toLowerCase();
  28473. if (sColor && reg.test(sColor)) {
  28474. if (sColor.length === 4) {
  28475. var sColorNew = '#';
  28476. for (var i = 1; i < 4; i += 1) {
  28477. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  28478. }
  28479. sColor = sColorNew;
  28480. }
  28481. // 处理六位的颜色值
  28482. var sColorChange = [];
  28483. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  28484. sColorChange.push(parseInt('0x' + sColor.slice(_i3, _i3 + 2)));
  28485. }
  28486. // return sColorChange.join(',')
  28487. return 'rgba(' + sColorChange.join(',') + ',' + alpha + ')';
  28488. } else {
  28489. return sColor;
  28490. }
  28491. }
  28492. var _default = {
  28493. colorGradient: colorGradient,
  28494. hexToRgb: hexToRgb,
  28495. rgbToHex: rgbToHex,
  28496. colorToRgba: colorToRgba
  28497. };
  28498. exports.default = _default;
  28499. /***/ }),
  28500. /***/ 56:
  28501. /*!*****************************************************************!*\
  28502. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/guid.js ***!
  28503. \*****************************************************************/
  28504. /*! no static exports found */
  28505. /***/ (function(module, exports, __webpack_require__) {
  28506. "use strict";
  28507. Object.defineProperty(exports, "__esModule", {
  28508. value: true
  28509. });
  28510. exports.default = void 0;
  28511. /**
  28512. * 本算法来源于简书开源代码,详见:https://www.jianshu.com/p/fdbf293d0a85
  28513. * 全局唯一标识符(uuid,Globally Unique Identifier),也称作 uuid(Universally Unique IDentifier)
  28514. * 一般用于多个组件之间,给它一个唯一的标识符,或者v-for循环的时候,如果使用数组的index可能会导致更新列表出现问题
  28515. * 最可能的情况是左滑删除item或者对某条信息流"不喜欢"并去掉它的时候,会导致组件内的数据可能出现错乱
  28516. * v-for的时候,推荐使用后端返回的id而不是循环的index
  28517. * @param {Number} len uuid的长度
  28518. * @param {Boolean} firstU 将返回的首字母置为"u"
  28519. * @param {Number} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  28520. */
  28521. function guid() {
  28522. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  28523. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  28524. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  28525. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  28526. var uuid = [];
  28527. radix = radix || chars.length;
  28528. if (len) {
  28529. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  28530. for (var i = 0; i < len; i++) {
  28531. uuid[i] = chars[0 | Math.random() * radix];
  28532. }
  28533. } else {
  28534. var r;
  28535. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  28536. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  28537. uuid[14] = '4';
  28538. for (var _i = 0; _i < 36; _i++) {
  28539. if (!uuid[_i]) {
  28540. r = 0 | Math.random() * 16;
  28541. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  28542. }
  28543. }
  28544. }
  28545. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guid不能用作id或者class
  28546. if (firstU) {
  28547. uuid.shift();
  28548. return 'u' + uuid.join('');
  28549. } else {
  28550. return uuid.join('');
  28551. }
  28552. }
  28553. var _default = guid;
  28554. exports.default = _default;
  28555. /***/ }),
  28556. /***/ 57:
  28557. /*!******************************************************************!*\
  28558. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/color.js ***!
  28559. \******************************************************************/
  28560. /*! no static exports found */
  28561. /***/ (function(module, exports, __webpack_require__) {
  28562. "use strict";
  28563. Object.defineProperty(exports, "__esModule", {
  28564. value: true
  28565. });
  28566. exports.default = void 0;
  28567. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  28568. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  28569. var color = {
  28570. primary: "#2979ff",
  28571. primaryDark: "#2b85e4",
  28572. primaryDisabled: "#a0cfff",
  28573. primaryLight: "#ecf5ff",
  28574. bgColor: "#f3f4f6",
  28575. info: "#909399",
  28576. infoDark: "#82848a",
  28577. infoDisabled: "#c8c9cc",
  28578. infoLight: "#f4f4f5",
  28579. warning: "#ff9900",
  28580. warningDark: "#f29100",
  28581. warningDisabled: "#fcbd71",
  28582. warningLight: "#fdf6ec",
  28583. error: "#fa3534",
  28584. errorDark: "#dd6161",
  28585. errorDisabled: "#fab6b6",
  28586. errorLight: "#fef0f0",
  28587. success: "#19be6b",
  28588. successDark: "#18b566",
  28589. successDisabled: "#71d5a1",
  28590. successLight: "#dbf1e1",
  28591. mainColor: "#303133",
  28592. contentColor: "#606266",
  28593. tipsColor: "#909399",
  28594. lightColor: "#c0c4cc",
  28595. borderColor: "#e4e7ed"
  28596. };
  28597. var _default = color;
  28598. exports.default = _default;
  28599. /***/ }),
  28600. /***/ 58:
  28601. /*!**********************************************************************!*\
  28602. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/type2icon.js ***!
  28603. \**********************************************************************/
  28604. /*! no static exports found */
  28605. /***/ (function(module, exports, __webpack_require__) {
  28606. "use strict";
  28607. Object.defineProperty(exports, "__esModule", {
  28608. value: true
  28609. });
  28610. exports.default = void 0;
  28611. /**
  28612. * 根据主题type值,获取对应的图标
  28613. * @param String type 主题名称,primary|info|error|warning|success
  28614. * @param String fill 是否使用fill填充实体的图标
  28615. */
  28616. function type2icon() {
  28617. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  28618. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  28619. // 如果非预置值,默认为success
  28620. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  28621. var iconName = '';
  28622. // 目前(2019-12-12),info和primary使用同一个图标
  28623. switch (type) {
  28624. case 'primary':
  28625. iconName = 'info-circle';
  28626. break;
  28627. case 'info':
  28628. iconName = 'info-circle';
  28629. break;
  28630. case 'error':
  28631. iconName = 'close-circle';
  28632. break;
  28633. case 'warning':
  28634. iconName = 'error-circle';
  28635. break;
  28636. case 'success':
  28637. iconName = 'checkmark-circle';
  28638. break;
  28639. default:
  28640. iconName = 'checkmark-circle';
  28641. }
  28642. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  28643. if (fill) iconName += '-fill';
  28644. return iconName;
  28645. }
  28646. var _default = type2icon;
  28647. exports.default = _default;
  28648. /***/ }),
  28649. /***/ 59:
  28650. /*!************************************************************************!*\
  28651. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/randomArray.js ***!
  28652. \************************************************************************/
  28653. /*! no static exports found */
  28654. /***/ (function(module, exports, __webpack_require__) {
  28655. "use strict";
  28656. Object.defineProperty(exports, "__esModule", {
  28657. value: true
  28658. });
  28659. exports.default = void 0;
  28660. // 打乱数组
  28661. function randomArray() {
  28662. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  28663. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  28664. return array.sort(function () {
  28665. return Math.random() - 0.5;
  28666. });
  28667. }
  28668. var _default = randomArray;
  28669. exports.default = _default;
  28670. /***/ }),
  28671. /***/ 6:
  28672. /*!***************************************************************!*\
  28673. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  28674. \***************************************************************/
  28675. /*! no static exports found */
  28676. /***/ (function(module, exports) {
  28677. function _arrayWithHoles(arr) {
  28678. if (Array.isArray(arr)) return arr;
  28679. }
  28680. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  28681. /***/ }),
  28682. /***/ 60:
  28683. /*!********************************************************************!*\
  28684. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/addUnit.js ***!
  28685. \********************************************************************/
  28686. /*! no static exports found */
  28687. /***/ (function(module, exports, __webpack_require__) {
  28688. "use strict";
  28689. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28690. Object.defineProperty(exports, "__esModule", {
  28691. value: true
  28692. });
  28693. exports.default = addUnit;
  28694. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 47));
  28695. // 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾
  28696. function addUnit() {
  28697. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  28698. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rpx';
  28699. value = String(value);
  28700. // 用uView内置验证规则中的number判断是否为数值
  28701. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  28702. }
  28703. /***/ }),
  28704. /***/ 61:
  28705. /*!*******************************************************************!*\
  28706. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/random.js ***!
  28707. \*******************************************************************/
  28708. /*! no static exports found */
  28709. /***/ (function(module, exports, __webpack_require__) {
  28710. "use strict";
  28711. Object.defineProperty(exports, "__esModule", {
  28712. value: true
  28713. });
  28714. exports.default = void 0;
  28715. function random(min, max) {
  28716. if (min >= 0 && max > 0 && max >= min) {
  28717. var gab = max - min + 1;
  28718. return Math.floor(Math.random() * gab + min);
  28719. } else {
  28720. return 0;
  28721. }
  28722. }
  28723. var _default = random;
  28724. exports.default = _default;
  28725. /***/ }),
  28726. /***/ 62:
  28727. /*!*****************************************************************!*\
  28728. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/trim.js ***!
  28729. \*****************************************************************/
  28730. /*! no static exports found */
  28731. /***/ (function(module, exports, __webpack_require__) {
  28732. "use strict";
  28733. Object.defineProperty(exports, "__esModule", {
  28734. value: true
  28735. });
  28736. exports.default = void 0;
  28737. function trim(str) {
  28738. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  28739. if (pos == 'both') {
  28740. return str.replace(/^\s+|\s+$/g, "");
  28741. } else if (pos == "left") {
  28742. return str.replace(/^\s*/, '');
  28743. } else if (pos == 'right') {
  28744. return str.replace(/(\s*$)/g, "");
  28745. } else if (pos == 'all') {
  28746. return str.replace(/\s+/g, "");
  28747. } else {
  28748. return str;
  28749. }
  28750. }
  28751. var _default = trim;
  28752. exports.default = _default;
  28753. /***/ }),
  28754. /***/ 63:
  28755. /*!******************************************************************!*\
  28756. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/toast.js ***!
  28757. \******************************************************************/
  28758. /*! no static exports found */
  28759. /***/ (function(module, exports, __webpack_require__) {
  28760. "use strict";
  28761. /* WEBPACK VAR INJECTION */(function(uni) {
  28762. Object.defineProperty(exports, "__esModule", {
  28763. value: true
  28764. });
  28765. exports.default = void 0;
  28766. function toast(title) {
  28767. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1500;
  28768. uni.showToast({
  28769. title: title,
  28770. icon: 'none',
  28771. duration: duration
  28772. });
  28773. }
  28774. var _default = toast;
  28775. exports.default = _default;
  28776. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28777. /***/ }),
  28778. /***/ 64:
  28779. /*!**********************************************************************!*\
  28780. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/getParent.js ***!
  28781. \**********************************************************************/
  28782. /*! no static exports found */
  28783. /***/ (function(module, exports, __webpack_require__) {
  28784. "use strict";
  28785. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28786. Object.defineProperty(exports, "__esModule", {
  28787. value: true
  28788. });
  28789. exports.default = getParent;
  28790. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  28791. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  28792. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  28793. function getParent(name, keys) {
  28794. var parent = this.$parent;
  28795. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  28796. while (parent) {
  28797. // 父组件
  28798. if (parent.$options.name !== name) {
  28799. // 如果组件的name不相等,继续上一级寻找
  28800. parent = parent.$parent;
  28801. } else {
  28802. var _ret = function () {
  28803. var data = {};
  28804. // 判断keys是否数组,如果传过来的是一个数组,那么直接使用数组元素值当做键值去父组件寻找
  28805. if (Array.isArray(keys)) {
  28806. keys.map(function (val) {
  28807. data[val] = parent[val] ? parent[val] : '';
  28808. });
  28809. } else {
  28810. // 历遍传过来的对象参数
  28811. for (var i in keys) {
  28812. // 如果子组件有此值则用,无此值则用父组件的值
  28813. // 判断是否空数组,如果是,则用父组件的值,否则用子组件的值
  28814. if (Array.isArray(keys[i])) {
  28815. if (keys[i].length) {
  28816. data[i] = keys[i];
  28817. } else {
  28818. data[i] = parent[i];
  28819. }
  28820. } else if (keys[i].constructor === Object) {
  28821. // 判断是否对象,如果是对象,且有属性,那么使用子组件的值,否则使用父组件的值
  28822. if (Object.keys(keys[i]).length) {
  28823. data[i] = keys[i];
  28824. } else {
  28825. data[i] = parent[i];
  28826. }
  28827. } else {
  28828. // 只要子组件有传值,即使是false值,也是“传值”了,也需要覆盖父组件的同名参数
  28829. data[i] = keys[i] || keys[i] === false ? keys[i] : parent[i];
  28830. }
  28831. }
  28832. }
  28833. return {
  28834. v: data
  28835. };
  28836. }();
  28837. if ((0, _typeof2.default)(_ret) === "object") return _ret.v;
  28838. }
  28839. }
  28840. return {};
  28841. }
  28842. /***/ }),
  28843. /***/ 65:
  28844. /*!********************************************************************!*\
  28845. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/$parent.js ***!
  28846. \********************************************************************/
  28847. /*! no static exports found */
  28848. /***/ (function(module, exports, __webpack_require__) {
  28849. "use strict";
  28850. Object.defineProperty(exports, "__esModule", {
  28851. value: true
  28852. });
  28853. exports.default = $parent;
  28854. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  28855. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  28856. // 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  28857. // 值(默认为undefined),就是查找最顶层的$parent
  28858. function $parent() {
  28859. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  28860. var parent = this.$parent;
  28861. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  28862. while (parent) {
  28863. // 父组件
  28864. if (parent.$options && parent.$options.name !== name) {
  28865. // 如果组件的name不相等,继续上一级寻找
  28866. parent = parent.$parent;
  28867. } else {
  28868. return parent;
  28869. }
  28870. }
  28871. return false;
  28872. }
  28873. /***/ }),
  28874. /***/ 66:
  28875. /*!****************************************************************!*\
  28876. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/sys.js ***!
  28877. \****************************************************************/
  28878. /*! no static exports found */
  28879. /***/ (function(module, exports, __webpack_require__) {
  28880. "use strict";
  28881. /* WEBPACK VAR INJECTION */(function(uni) {
  28882. Object.defineProperty(exports, "__esModule", {
  28883. value: true
  28884. });
  28885. exports.os = os;
  28886. exports.sys = sys;
  28887. function os() {
  28888. return uni.getSystemInfoSync().platform;
  28889. }
  28890. ;
  28891. function sys() {
  28892. return uni.getSystemInfoSync();
  28893. }
  28894. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28895. /***/ }),
  28896. /***/ 67:
  28897. /*!*********************************************************************!*\
  28898. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/debounce.js ***!
  28899. \*********************************************************************/
  28900. /*! no static exports found */
  28901. /***/ (function(module, exports, __webpack_require__) {
  28902. "use strict";
  28903. Object.defineProperty(exports, "__esModule", {
  28904. value: true
  28905. });
  28906. exports.default = void 0;
  28907. var timeout = null;
  28908. /**
  28909. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  28910. *
  28911. * @param {Function} func 要执行的回调函数
  28912. * @param {Number} wait 延时的时间
  28913. * @param {Boolean} immediate 是否立即执行
  28914. * @return null
  28915. */
  28916. function debounce(func) {
  28917. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  28918. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  28919. // 清除定时器
  28920. if (timeout !== null) clearTimeout(timeout);
  28921. // 立即执行,此类情况一般用不到
  28922. if (immediate) {
  28923. var callNow = !timeout;
  28924. timeout = setTimeout(function () {
  28925. timeout = null;
  28926. }, wait);
  28927. if (callNow) typeof func === 'function' && func();
  28928. } else {
  28929. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  28930. timeout = setTimeout(function () {
  28931. typeof func === 'function' && func();
  28932. }, wait);
  28933. }
  28934. }
  28935. var _default = debounce;
  28936. exports.default = _default;
  28937. /***/ }),
  28938. /***/ 68:
  28939. /*!*********************************************************************!*\
  28940. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/function/throttle.js ***!
  28941. \*********************************************************************/
  28942. /*! no static exports found */
  28943. /***/ (function(module, exports, __webpack_require__) {
  28944. "use strict";
  28945. Object.defineProperty(exports, "__esModule", {
  28946. value: true
  28947. });
  28948. exports.default = void 0;
  28949. var timer, flag;
  28950. /**
  28951. * 节流原理:在一定时间内,只能触发一次
  28952. *
  28953. * @param {Function} func 要执行的回调函数
  28954. * @param {Number} wait 延时的时间
  28955. * @param {Boolean} immediate 是否立即执行
  28956. * @return null
  28957. */
  28958. function throttle(func) {
  28959. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  28960. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  28961. if (immediate) {
  28962. if (!flag) {
  28963. flag = true;
  28964. // 如果是立即执行,则在wait毫秒内开始时执行
  28965. typeof func === 'function' && func();
  28966. timer = setTimeout(function () {
  28967. flag = false;
  28968. }, wait);
  28969. }
  28970. } else {
  28971. if (!flag) {
  28972. flag = true;
  28973. // 如果是非立即执行,则在wait毫秒内的结束处执行
  28974. timer = setTimeout(function () {
  28975. flag = false;
  28976. typeof func === 'function' && func();
  28977. }, wait);
  28978. }
  28979. }
  28980. }
  28981. ;
  28982. var _default = throttle;
  28983. exports.default = _default;
  28984. /***/ }),
  28985. /***/ 69:
  28986. /*!*****************************************************************!*\
  28987. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/config/config.js ***!
  28988. \*****************************************************************/
  28989. /*! no static exports found */
  28990. /***/ (function(module, exports, __webpack_require__) {
  28991. "use strict";
  28992. Object.defineProperty(exports, "__esModule", {
  28993. value: true
  28994. });
  28995. exports.default = void 0;
  28996. // 此版本发布于2022-04-19
  28997. var version = '1.8.6';
  28998. var _default = {
  28999. v: version,
  29000. version: version,
  29001. // 主题名称
  29002. type: ['primary', 'success', 'info', 'error', 'warning']
  29003. };
  29004. exports.default = _default;
  29005. /***/ }),
  29006. /***/ 7:
  29007. /*!*********************************************************************!*\
  29008. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  29009. \*********************************************************************/
  29010. /*! no static exports found */
  29011. /***/ (function(module, exports) {
  29012. function _iterableToArrayLimit(arr, i) {
  29013. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  29014. if (null != _i) {
  29015. var _s,
  29016. _e,
  29017. _x,
  29018. _r,
  29019. _arr = [],
  29020. _n = !0,
  29021. _d = !1;
  29022. try {
  29023. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  29024. if (Object(_i) !== _i) return;
  29025. _n = !1;
  29026. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  29027. ;
  29028. }
  29029. } catch (err) {
  29030. _d = !0, _e = err;
  29031. } finally {
  29032. try {
  29033. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  29034. } finally {
  29035. if (_d) throw _e;
  29036. }
  29037. }
  29038. return _arr;
  29039. }
  29040. }
  29041. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  29042. /***/ }),
  29043. /***/ 70:
  29044. /*!*****************************************************************!*\
  29045. !*** E:/Desktop/zd_wechatApp(1)/uview-ui/libs/config/zIndex.js ***!
  29046. \*****************************************************************/
  29047. /*! no static exports found */
  29048. /***/ (function(module, exports, __webpack_require__) {
  29049. "use strict";
  29050. Object.defineProperty(exports, "__esModule", {
  29051. value: true
  29052. });
  29053. exports.default = void 0;
  29054. // uniapp在H5中各API的z-index值如下:
  29055. /**
  29056. * actionsheet: 999
  29057. * modal: 999
  29058. * navigate: 998
  29059. * tabbar: 998
  29060. * toast: 999
  29061. */
  29062. var _default = {
  29063. toast: 10090,
  29064. noNetwork: 10080,
  29065. // popup包含popup,actionsheet,keyboard,picker的值
  29066. popup: 10075,
  29067. mask: 10070,
  29068. navbar: 980,
  29069. topTips: 975,
  29070. sticky: 970,
  29071. indexListSticky: 965
  29072. };
  29073. exports.default = _default;
  29074. /***/ }),
  29075. /***/ 8:
  29076. /*!***************************************************************************!*\
  29077. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  29078. \***************************************************************************/
  29079. /*! no static exports found */
  29080. /***/ (function(module, exports, __webpack_require__) {
  29081. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  29082. function _unsupportedIterableToArray(o, minLen) {
  29083. if (!o) return;
  29084. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  29085. var n = Object.prototype.toString.call(o).slice(8, -1);
  29086. if (n === "Object" && o.constructor) n = o.constructor.name;
  29087. if (n === "Map" || n === "Set") return Array.from(o);
  29088. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  29089. }
  29090. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  29091. /***/ }),
  29092. /***/ 9:
  29093. /*!*****************************************************************!*\
  29094. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  29095. \*****************************************************************/
  29096. /*! no static exports found */
  29097. /***/ (function(module, exports) {
  29098. function _arrayLikeToArray(arr, len) {
  29099. if (len == null || len > arr.length) len = arr.length;
  29100. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  29101. arr2[i] = arr[i];
  29102. }
  29103. return arr2;
  29104. }
  29105. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  29106. /***/ })
  29107. }]);
  29108. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map