vendor.js 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217
  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. /***/ 100:
  53. /*!*************************************************************************!*\
  54. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/image.js ***!
  55. \*************************************************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. "use strict";
  59. Object.defineProperty(exports, "__esModule", {
  60. value: true
  61. });
  62. exports.default = void 0;
  63. /*
  64. * @Author : LQ
  65. * @Description :
  66. * @version : 1.0
  67. * @Date : 2021-08-20 16:44:21
  68. * @LastAuthor : LQ
  69. * @lastTime : 2021-08-20 17:01:51
  70. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  71. */
  72. var _default = {
  73. // image组件
  74. image: {
  75. src: '',
  76. mode: 'aspectFill',
  77. width: '300',
  78. height: '225',
  79. shape: 'square',
  80. radius: 0,
  81. lazyLoad: true,
  82. showMenuByLongpress: true,
  83. loadingIcon: 'photo',
  84. errorIcon: 'error-circle',
  85. showLoading: true,
  86. showError: true,
  87. fade: true,
  88. webp: false,
  89. duration: 500,
  90. bgColor: '#f3f4f6'
  91. }
  92. };
  93. exports.default = _default;
  94. /***/ }),
  95. /***/ 1008:
  96. /*!************************************************************************************************************!*\
  97. !*** D:/project/crossBorder/wx-qhb/uni_modules/liu-indexed-list/components/liu-indexed-list/pinyinUtil.js ***!
  98. \************************************************************************************************************/
  99. /*! no static exports found */
  100. /***/ (function(module, exports, __webpack_require__) {
  101. "use strict";
  102. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  103. Object.defineProperty(exports, "__esModule", {
  104. value: true
  105. });
  106. exports.pinyin_dict_notone = exports.pinyinUtil = void 0;
  107. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  108. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  109. var _polyphone;
  110. var dict = {};
  111. //拼音首字母字典文件
  112. var pinyin_dict_firstletter = {
  113. all: "YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",
  114. polyphone: (_polyphone = {
  115. "19969": "DZ",
  116. "19975": "WM",
  117. "19988": "QJ",
  118. "20048": "YL",
  119. "20056": "SC",
  120. "20060": "NM",
  121. "20094": "QG",
  122. "20127": "QJ",
  123. "20167": "QC",
  124. "20193": "YG",
  125. "20250": "KH",
  126. "20256": "ZC",
  127. "20282": "SC",
  128. "20285": "QJG",
  129. "20291": "TD",
  130. "20314": "YD",
  131. "20340": "NE",
  132. "20375": "TD",
  133. "20389": "YJ",
  134. "20391": "CZ",
  135. "20415": "PB",
  136. "20446": "YS",
  137. "20447": "SQ",
  138. "20504": "TC",
  139. "20608": "KG",
  140. "20854": "QJ",
  141. "20857": "ZC",
  142. "20911": "PF"
  143. }, (0, _defineProperty2.default)(_polyphone, "20504", "TC"), (0, _defineProperty2.default)(_polyphone, "20608", "KG"), (0, _defineProperty2.default)(_polyphone, "20854", "QJ"), (0, _defineProperty2.default)(_polyphone, "20857", "ZC"), (0, _defineProperty2.default)(_polyphone, "20911", "PF"), (0, _defineProperty2.default)(_polyphone, "20985", "AW"), (0, _defineProperty2.default)(_polyphone, "21032", "PB"), (0, _defineProperty2.default)(_polyphone, "21048", "XQ"), (0, _defineProperty2.default)(_polyphone, "21049", "SC"), (0, _defineProperty2.default)(_polyphone, "21089", "YS"), (0, _defineProperty2.default)(_polyphone, "21119", "JC"), (0, _defineProperty2.default)(_polyphone, "21242", "SB"), (0, _defineProperty2.default)(_polyphone, "21273", "SC"), (0, _defineProperty2.default)(_polyphone, "21305", "YP"), (0, _defineProperty2.default)(_polyphone, "21306", "QO"), (0, _defineProperty2.default)(_polyphone, "21330", "ZC"), (0, _defineProperty2.default)(_polyphone, "21333", "SDC"), (0, _defineProperty2.default)(_polyphone, "21345", "QK"), (0, _defineProperty2.default)(_polyphone, "21378", "CA"), (0, _defineProperty2.default)(_polyphone, "21397", "SC"), (0, _defineProperty2.default)(_polyphone, "21414", "XS"), (0, _defineProperty2.default)(_polyphone, "21442", "SC"), (0, _defineProperty2.default)(_polyphone, "21477", "JG"), (0, _defineProperty2.default)(_polyphone, "21480", "TD"), (0, _defineProperty2.default)(_polyphone, "21484", "ZS"), (0, _defineProperty2.default)(_polyphone, "21494", "YX"), (0, _defineProperty2.default)(_polyphone, "21505", "YX"), (0, _defineProperty2.default)(_polyphone, "21512", "HG"), (0, _defineProperty2.default)(_polyphone, "21523", "XH"), (0, _defineProperty2.default)(_polyphone, "21537", "PB"), (0, _defineProperty2.default)(_polyphone, "21542", "PF"), (0, _defineProperty2.default)(_polyphone, "21549", "KH"), (0, _defineProperty2.default)(_polyphone, "21571", "E"), (0, _defineProperty2.default)(_polyphone, "21574", "DA"), (0, _defineProperty2.default)(_polyphone, "21588", "TD"), (0, _defineProperty2.default)(_polyphone, "21589", "O"), (0, _defineProperty2.default)(_polyphone, "21618", "ZC"), (0, _defineProperty2.default)(_polyphone, "21621", "KHA"), (0, _defineProperty2.default)(_polyphone, "21632", "ZJ"), (0, _defineProperty2.default)(_polyphone, "21654", "KG"), (0, _defineProperty2.default)(_polyphone, "21679", "LKG"), (0, _defineProperty2.default)(_polyphone, "21683", "KH"), (0, _defineProperty2.default)(_polyphone, "21710", "A"), (0, _defineProperty2.default)(_polyphone, "21719", "YH"), (0, _defineProperty2.default)(_polyphone, "21734", "WOE"), (0, _defineProperty2.default)(_polyphone, "21769", "A"), (0, _defineProperty2.default)(_polyphone, "21780", "WN"), (0, _defineProperty2.default)(_polyphone, "21804", "XH"), (0, _defineProperty2.default)(_polyphone, "21834", "A"), (0, _defineProperty2.default)(_polyphone, "21899", "ZD"), (0, _defineProperty2.default)(_polyphone, "21903", "RN"), (0, _defineProperty2.default)(_polyphone, "21908", "WO"), (0, _defineProperty2.default)(_polyphone, "21939", "ZC"), (0, _defineProperty2.default)(_polyphone, "21956", "SA"), (0, _defineProperty2.default)(_polyphone, "21964", "YA"), (0, _defineProperty2.default)(_polyphone, "21970", "TD"), (0, _defineProperty2.default)(_polyphone, "22003", "A"), (0, _defineProperty2.default)(_polyphone, "22031", "JG"), (0, _defineProperty2.default)(_polyphone, "22040", "XS"), (0, _defineProperty2.default)(_polyphone, "22060", "ZC"), (0, _defineProperty2.default)(_polyphone, "22066", "ZC"), (0, _defineProperty2.default)(_polyphone, "22079", "MH"), (0, _defineProperty2.default)(_polyphone, "22129", "XJ"), (0, _defineProperty2.default)(_polyphone, "22179", "XA"), (0, _defineProperty2.default)(_polyphone, "22237", "NJ"), (0, _defineProperty2.default)(_polyphone, "22244", "TD"), (0, _defineProperty2.default)(_polyphone, "22280", "JQ"), (0, _defineProperty2.default)(_polyphone, "22300", "YH"), (0, _defineProperty2.default)(_polyphone, "22313", "XW"), (0, _defineProperty2.default)(_polyphone, "22331", "YQ"), (0, _defineProperty2.default)(_polyphone, "22343", "YJ"), (0, _defineProperty2.default)(_polyphone, "22351", "PH"), (0, _defineProperty2.default)(_polyphone, "22395", "DC"), (0, _defineProperty2.default)(_polyphone, "22412", "TD"), (0, _defineProperty2.default)(_polyphone, "22484", "PB"), (0, _defineProperty2.default)(_polyphone, "22500", "PB"), (0, _defineProperty2.default)(_polyphone, "22534", "ZD"), (0, _defineProperty2.default)(_polyphone, "22549", "DH"), (0, _defineProperty2.default)(_polyphone, "22561", "PB"), (0, _defineProperty2.default)(_polyphone, "22612", "TD"), (0, _defineProperty2.default)(_polyphone, "22771", "KQ"), (0, _defineProperty2.default)(_polyphone, "22831", "HB"), (0, _defineProperty2.default)(_polyphone, "22841", "JG"), (0, _defineProperty2.default)(_polyphone, "22855", "QJ"), (0, _defineProperty2.default)(_polyphone, "22865", "XQ"), (0, _defineProperty2.default)(_polyphone, "23013", "ML"), (0, _defineProperty2.default)(_polyphone, "23081", "WM"), (0, _defineProperty2.default)(_polyphone, "23487", "SX"), (0, _defineProperty2.default)(_polyphone, "23558", "QJ"), (0, _defineProperty2.default)(_polyphone, "23561", "YW"), (0, _defineProperty2.default)(_polyphone, "23586", "YW"), (0, _defineProperty2.default)(_polyphone, "23614", "YW"), (0, _defineProperty2.default)(_polyphone, "23615", "SN"), (0, _defineProperty2.default)(_polyphone, "23631", "PB"), (0, _defineProperty2.default)(_polyphone, "23646", "ZS"), (0, _defineProperty2.default)(_polyphone, "23663", "ZT"), (0, _defineProperty2.default)(_polyphone, "23673", "YG"), (0, _defineProperty2.default)(_polyphone, "23762", "TD"), (0, _defineProperty2.default)(_polyphone, "23769", "ZS"), (0, _defineProperty2.default)(_polyphone, "23780", "QJ"), (0, _defineProperty2.default)(_polyphone, "23884", "QK"), (0, _defineProperty2.default)(_polyphone, "24055", "XH"), (0, _defineProperty2.default)(_polyphone, "24113", "DC"), (0, _defineProperty2.default)(_polyphone, "24162", "ZC"), (0, _defineProperty2.default)(_polyphone, "24191", "GA"), (0, _defineProperty2.default)(_polyphone, "24273", "QJ"), (0, _defineProperty2.default)(_polyphone, "24324", "NL"), (0, _defineProperty2.default)(_polyphone, "24377", "TD"), (0, _defineProperty2.default)(_polyphone, "24378", "QJ"), (0, _defineProperty2.default)(_polyphone, "24439", "PF"), (0, _defineProperty2.default)(_polyphone, "24554", "ZS"), (0, _defineProperty2.default)(_polyphone, "24683", "TD"), (0, _defineProperty2.default)(_polyphone, "24694", "WE"), (0, _defineProperty2.default)(_polyphone, "24733", "LK"), (0, _defineProperty2.default)(_polyphone, "24925", "TN"), (0, _defineProperty2.default)(_polyphone, "25094", "ZG"), (0, _defineProperty2.default)(_polyphone, "25100", "XQ"), (0, _defineProperty2.default)(_polyphone, "25103", "XH"), (0, _defineProperty2.default)(_polyphone, "25153", "PB"), (0, _defineProperty2.default)(_polyphone, "25170", "PB"), (0, _defineProperty2.default)(_polyphone, "25179", "KG"), (0, _defineProperty2.default)(_polyphone, "25203", "PB"), (0, _defineProperty2.default)(_polyphone, "25240", "ZS"), (0, _defineProperty2.default)(_polyphone, "25282", "FB"), (0, _defineProperty2.default)(_polyphone, "25303", "NA"), (0, _defineProperty2.default)(_polyphone, "25324", "KG"), (0, _defineProperty2.default)(_polyphone, "25341", "ZY"), (0, _defineProperty2.default)(_polyphone, "25373", "WZ"), (0, _defineProperty2.default)(_polyphone, "25375", "XJ"), (0, _defineProperty2.default)(_polyphone, "25384", "A"), (0, _defineProperty2.default)(_polyphone, "25457", "A"), (0, _defineProperty2.default)(_polyphone, "25528", "SD"), (0, _defineProperty2.default)(_polyphone, "25530", "SC"), (0, _defineProperty2.default)(_polyphone, "25552", "TD"), (0, _defineProperty2.default)(_polyphone, "25774", "ZC"), (0, _defineProperty2.default)(_polyphone, "25874", "ZC"), (0, _defineProperty2.default)(_polyphone, "26044", "YW"), (0, _defineProperty2.default)(_polyphone, "26080", "WM"), (0, _defineProperty2.default)(_polyphone, "26292", "PB"), (0, _defineProperty2.default)(_polyphone, "26333", "PB"), (0, _defineProperty2.default)(_polyphone, "26355", "ZY"), (0, _defineProperty2.default)(_polyphone, "26366", "CZ"), (0, _defineProperty2.default)(_polyphone, "26397", "ZC"), (0, _defineProperty2.default)(_polyphone, "26399", "QJ"), (0, _defineProperty2.default)(_polyphone, "26415", "ZS"), (0, _defineProperty2.default)(_polyphone, "26451", "SB"), (0, _defineProperty2.default)(_polyphone, "26526", "ZC"), (0, _defineProperty2.default)(_polyphone, "26552", "JG"), (0, _defineProperty2.default)(_polyphone, "26561", "TD"), (0, _defineProperty2.default)(_polyphone, "26588", "JG"), (0, _defineProperty2.default)(_polyphone, "26597", "CZ"), (0, _defineProperty2.default)(_polyphone, "26629", "ZS"), (0, _defineProperty2.default)(_polyphone, "26638", "YL"), (0, _defineProperty2.default)(_polyphone, "26646", "XQ"), (0, _defineProperty2.default)(_polyphone, "26653", "KG"), (0, _defineProperty2.default)(_polyphone, "26657", "XJ"), (0, _defineProperty2.default)(_polyphone, "26727", "HG"), (0, _defineProperty2.default)(_polyphone, "26894", "ZC"), (0, _defineProperty2.default)(_polyphone, "26937", "ZS"), (0, _defineProperty2.default)(_polyphone, "26946", "ZC"), (0, _defineProperty2.default)(_polyphone, "26999", "KJ"), (0, _defineProperty2.default)(_polyphone, "27099", "KJ"), (0, _defineProperty2.default)(_polyphone, "27449", "YQ"), (0, _defineProperty2.default)(_polyphone, "27481", "XS"), (0, _defineProperty2.default)(_polyphone, "27542", "ZS"), (0, _defineProperty2.default)(_polyphone, "27663", "ZS"), (0, _defineProperty2.default)(_polyphone, "27748", "TS"), (0, _defineProperty2.default)(_polyphone, "27784", "SC"), (0, _defineProperty2.default)(_polyphone, "27788", "ZD"), (0, _defineProperty2.default)(_polyphone, "27795", "TD"), (0, _defineProperty2.default)(_polyphone, "27812", "O"), (0, _defineProperty2.default)(_polyphone, "27850", "PB"), (0, _defineProperty2.default)(_polyphone, "27852", "MB"), (0, _defineProperty2.default)(_polyphone, "27895", "SL"), (0, _defineProperty2.default)(_polyphone, "27898", "PL"), (0, _defineProperty2.default)(_polyphone, "27973", "QJ"), (0, _defineProperty2.default)(_polyphone, "27981", "KH"), (0, _defineProperty2.default)(_polyphone, "27986", "HX"), (0, _defineProperty2.default)(_polyphone, "27994", "XJ"), (0, _defineProperty2.default)(_polyphone, "28044", "YC"), (0, _defineProperty2.default)(_polyphone, "28065", "WG"), (0, _defineProperty2.default)(_polyphone, "28177", "SM"), (0, _defineProperty2.default)(_polyphone, "28267", "QJ"), (0, _defineProperty2.default)(_polyphone, "28291", "KH"), (0, _defineProperty2.default)(_polyphone, "28337", "ZQ"), (0, _defineProperty2.default)(_polyphone, "28463", "TL"), (0, _defineProperty2.default)(_polyphone, "28548", "DC"), (0, _defineProperty2.default)(_polyphone, "28601", "TD"), (0, _defineProperty2.default)(_polyphone, "28689", "PB"), (0, _defineProperty2.default)(_polyphone, "28805", "JG"), (0, _defineProperty2.default)(_polyphone, "28820", "QG"), (0, _defineProperty2.default)(_polyphone, "28846", "PB"), (0, _defineProperty2.default)(_polyphone, "28952", "TD"), (0, _defineProperty2.default)(_polyphone, "28975", "ZC"), (0, _defineProperty2.default)(_polyphone, "29100", "A"), (0, _defineProperty2.default)(_polyphone, "29325", "QJ"), (0, _defineProperty2.default)(_polyphone, "29575", "SL"), (0, _defineProperty2.default)(_polyphone, "29602", "FB"), (0, _defineProperty2.default)(_polyphone, "30010", "TD"), (0, _defineProperty2.default)(_polyphone, "30044", "CX"), (0, _defineProperty2.default)(_polyphone, "30058", "PF"), (0, _defineProperty2.default)(_polyphone, "30091", "YSP"), (0, _defineProperty2.default)(_polyphone, "30111", "YN"), (0, _defineProperty2.default)(_polyphone, "30229", "XJ"), (0, _defineProperty2.default)(_polyphone, "30427", "SC"), (0, _defineProperty2.default)(_polyphone, "30465", "SX"), (0, _defineProperty2.default)(_polyphone, "30631", "YQ"), (0, _defineProperty2.default)(_polyphone, "30655", "QJ"), (0, _defineProperty2.default)(_polyphone, "30684", "QJG"), (0, _defineProperty2.default)(_polyphone, "30707", "SD"), (0, _defineProperty2.default)(_polyphone, "30729", "XH"), (0, _defineProperty2.default)(_polyphone, "30796", "LG"), (0, _defineProperty2.default)(_polyphone, "30917", "PB"), (0, _defineProperty2.default)(_polyphone, "31074", "NM"), (0, _defineProperty2.default)(_polyphone, "31085", "JZ"), (0, _defineProperty2.default)(_polyphone, "31109", "SC"), (0, _defineProperty2.default)(_polyphone, "31181", "ZC"), (0, _defineProperty2.default)(_polyphone, "31192", "MLB"), (0, _defineProperty2.default)(_polyphone, "31293", "JQ"), (0, _defineProperty2.default)(_polyphone, "31400", "YX"), (0, _defineProperty2.default)(_polyphone, "31584", "YJ"), (0, _defineProperty2.default)(_polyphone, "31896", "ZN"), (0, _defineProperty2.default)(_polyphone, "31909", "ZY"), (0, _defineProperty2.default)(_polyphone, "31995", "XJ"), (0, _defineProperty2.default)(_polyphone, "32321", "PF"), (0, _defineProperty2.default)(_polyphone, "32327", "ZY"), (0, _defineProperty2.default)(_polyphone, "32418", "HG"), (0, _defineProperty2.default)(_polyphone, "32420", "XQ"), (0, _defineProperty2.default)(_polyphone, "32421", "HG"), (0, _defineProperty2.default)(_polyphone, "32438", "LG"), (0, _defineProperty2.default)(_polyphone, "32473", "GJ"), (0, _defineProperty2.default)(_polyphone, "32488", "TD"), (0, _defineProperty2.default)(_polyphone, "32521", "QJ"), (0, _defineProperty2.default)(_polyphone, "32527", "PB"), (0, _defineProperty2.default)(_polyphone, "32562", "ZSQ"), (0, _defineProperty2.default)(_polyphone, "32564", "JZ"), (0, _defineProperty2.default)(_polyphone, "32735", "ZD"), (0, _defineProperty2.default)(_polyphone, "32793", "PB"), (0, _defineProperty2.default)(_polyphone, "33071", "PF"), (0, _defineProperty2.default)(_polyphone, "33098", "XL"), (0, _defineProperty2.default)(_polyphone, "33100", "YA"), (0, _defineProperty2.default)(_polyphone, "33152", "PB"), (0, _defineProperty2.default)(_polyphone, "33261", "CX"), (0, _defineProperty2.default)(_polyphone, "33324", "BP"), (0, _defineProperty2.default)(_polyphone, "33333", "TD"), (0, _defineProperty2.default)(_polyphone, "33406", "YA"), (0, _defineProperty2.default)(_polyphone, "33426", "WM"), (0, _defineProperty2.default)(_polyphone, "33432", "PB"), (0, _defineProperty2.default)(_polyphone, "33445", "JG"), (0, _defineProperty2.default)(_polyphone, "33486", "ZN"), (0, _defineProperty2.default)(_polyphone, "33493", "TS"), (0, _defineProperty2.default)(_polyphone, "33507", "QJ"), (0, _defineProperty2.default)(_polyphone, "33540", "QJ"), (0, _defineProperty2.default)(_polyphone, "33544", "ZC"), (0, _defineProperty2.default)(_polyphone, "33564", "XQ"), (0, _defineProperty2.default)(_polyphone, "33617", "YT"), (0, _defineProperty2.default)(_polyphone, "33632", "QJ"), (0, _defineProperty2.default)(_polyphone, "33636", "XH"), (0, _defineProperty2.default)(_polyphone, "33637", "YX"), (0, _defineProperty2.default)(_polyphone, "33694", "WG"), (0, _defineProperty2.default)(_polyphone, "33705", "PF"), (0, _defineProperty2.default)(_polyphone, "33728", "YW"), (0, _defineProperty2.default)(_polyphone, "33882", "SR"), (0, _defineProperty2.default)(_polyphone, "34067", "WM"), (0, _defineProperty2.default)(_polyphone, "34074", "YW"), (0, _defineProperty2.default)(_polyphone, "34121", "QJ"), (0, _defineProperty2.default)(_polyphone, "34255", "ZC"), (0, _defineProperty2.default)(_polyphone, "34259", "XL"), (0, _defineProperty2.default)(_polyphone, "34425", "JH"), (0, _defineProperty2.default)(_polyphone, "34430", "XH"), (0, _defineProperty2.default)(_polyphone, "34485", "KH"), (0, _defineProperty2.default)(_polyphone, "34503", "YS"), (0, _defineProperty2.default)(_polyphone, "34532", "HG"), (0, _defineProperty2.default)(_polyphone, "34552", "XS"), (0, _defineProperty2.default)(_polyphone, "34558", "YE"), (0, _defineProperty2.default)(_polyphone, "34593", "ZL"), (0, _defineProperty2.default)(_polyphone, "34660", "YQ"), (0, _defineProperty2.default)(_polyphone, "34892", "XH"), (0, _defineProperty2.default)(_polyphone, "34928", "SC"), (0, _defineProperty2.default)(_polyphone, "34999", "QJ"), (0, _defineProperty2.default)(_polyphone, "35048", "PB"), (0, _defineProperty2.default)(_polyphone, "35059", "SC"), (0, _defineProperty2.default)(_polyphone, "35098", "ZC"), (0, _defineProperty2.default)(_polyphone, "35203", "TQ"), (0, _defineProperty2.default)(_polyphone, "35265", "JX"), (0, _defineProperty2.default)(_polyphone, "35299", "JX"), (0, _defineProperty2.default)(_polyphone, "35782", "SZ"), (0, _defineProperty2.default)(_polyphone, "35828", "YS"), (0, _defineProperty2.default)(_polyphone, "35830", "E"), (0, _defineProperty2.default)(_polyphone, "35843", "TD"), (0, _defineProperty2.default)(_polyphone, "35895", "YG"), (0, _defineProperty2.default)(_polyphone, "35977", "MH"), (0, _defineProperty2.default)(_polyphone, "36158", "JG"), (0, _defineProperty2.default)(_polyphone, "36228", "QJ"), (0, _defineProperty2.default)(_polyphone, "36426", "XQ"), (0, _defineProperty2.default)(_polyphone, "36466", "DC"), (0, _defineProperty2.default)(_polyphone, "36710", "JC"), (0, _defineProperty2.default)(_polyphone, "36711", "ZYG"), (0, _defineProperty2.default)(_polyphone, "36767", "PB"), (0, _defineProperty2.default)(_polyphone, "36866", "SK"), (0, _defineProperty2.default)(_polyphone, "36951", "YW"), (0, _defineProperty2.default)(_polyphone, "37034", "YX"), (0, _defineProperty2.default)(_polyphone, "37063", "XH"), (0, _defineProperty2.default)(_polyphone, "37218", "ZC"), (0, _defineProperty2.default)(_polyphone, "37325", "ZC"), (0, _defineProperty2.default)(_polyphone, "38063", "PB"), (0, _defineProperty2.default)(_polyphone, "38079", "TD"), (0, _defineProperty2.default)(_polyphone, "38085", "QY"), (0, _defineProperty2.default)(_polyphone, "38107", "DC"), (0, _defineProperty2.default)(_polyphone, "38116", "TD"), (0, _defineProperty2.default)(_polyphone, "38123", "YD"), (0, _defineProperty2.default)(_polyphone, "38224", "HG"), (0, _defineProperty2.default)(_polyphone, "38241", "XTC"), (0, _defineProperty2.default)(_polyphone, "38271", "ZC"), (0, _defineProperty2.default)(_polyphone, "38415", "YE"), (0, _defineProperty2.default)(_polyphone, "38426", "KH"), (0, _defineProperty2.default)(_polyphone, "38461", "YD"), (0, _defineProperty2.default)(_polyphone, "38463", "AE"), (0, _defineProperty2.default)(_polyphone, "38466", "PB"), (0, _defineProperty2.default)(_polyphone, "38477", "XJ"), (0, _defineProperty2.default)(_polyphone, "38518", "YT"), (0, _defineProperty2.default)(_polyphone, "38551", "WK"), (0, _defineProperty2.default)(_polyphone, "38585", "ZC"), (0, _defineProperty2.default)(_polyphone, "38704", "XS"), (0, _defineProperty2.default)(_polyphone, "38739", "LJ"), (0, _defineProperty2.default)(_polyphone, "38761", "GJ"), (0, _defineProperty2.default)(_polyphone, "38808", "SQ"), (0, _defineProperty2.default)(_polyphone, "39048", "JG"), (0, _defineProperty2.default)(_polyphone, "39049", "XJ"), (0, _defineProperty2.default)(_polyphone, "39052", "HG"), (0, _defineProperty2.default)(_polyphone, "39076", "CZ"), (0, _defineProperty2.default)(_polyphone, "39271", "XT"), (0, _defineProperty2.default)(_polyphone, "39534", "TD"), (0, _defineProperty2.default)(_polyphone, "39552", "TD"), (0, _defineProperty2.default)(_polyphone, "39584", "PB"), (0, _defineProperty2.default)(_polyphone, "39647", "SB"), (0, _defineProperty2.default)(_polyphone, "39730", "LG"), (0, _defineProperty2.default)(_polyphone, "39748", "TPB"), (0, _defineProperty2.default)(_polyphone, "40109", "ZQ"), (0, _defineProperty2.default)(_polyphone, "40479", "ND"), (0, _defineProperty2.default)(_polyphone, "40516", "HG"), (0, _defineProperty2.default)(_polyphone, "40536", "HG"), (0, _defineProperty2.default)(_polyphone, "40583", "QJ"), (0, _defineProperty2.default)(_polyphone, "40765", "YQ"), (0, _defineProperty2.default)(_polyphone, "40784", "QJ"), (0, _defineProperty2.default)(_polyphone, "40840", "YK"), (0, _defineProperty2.default)(_polyphone, "40863", "QJG"), _polyphone)
  144. };
  145. //常用汉字按照汉字使用频率由低到高排序
  146. var pinyin_dict_notone = {
  147. "a": "阿啊呵腌嗄吖锕",
  148. "e": "额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",
  149. "ai": "爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",
  150. "ei": "诶",
  151. "xi": "系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",
  152. "yi": "一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",
  153. "an": "安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",
  154. "han": "厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",
  155. "ang": "昂仰盎肮",
  156. "ao": "奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",
  157. "wa": "瓦挖娃洼袜蛙凹哇佤娲呙腽",
  158. "yu": "于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",
  159. "niu": "牛纽扭钮拗妞忸狃",
  160. "o": "哦噢喔",
  161. "ba": "把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",
  162. "pa": "怕帕爬扒趴琶啪葩耙杷钯筢",
  163. "pi": "被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",
  164. "bi": "比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",
  165. "bai": "百白败摆伯拜柏佰掰呗擘捭稗",
  166. "bo": "波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",
  167. "bei": "北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",
  168. "ban": "办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",
  169. "pan": "判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",
  170. "bin": "份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",
  171. "bang": "帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",
  172. "pang": "旁庞乓磅螃彷滂逄耪",
  173. "beng": "泵崩蚌蹦迸绷甭嘣甏堋",
  174. "bao": "报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",
  175. "bu": "不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",
  176. "pu": "普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",
  177. "mian": "面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",
  178. "po": "破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",
  179. "fan": "反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",
  180. "fu": "府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",
  181. "ben": "本体奔苯笨夯贲锛畚坌",
  182. "feng": "风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",
  183. "bian": "变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",
  184. "pian": "便片篇偏骗翩扁骈胼蹁谝犏缏",
  185. "zhen": "镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",
  186. "biao": "表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",
  187. "piao": "票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",
  188. "huo": "和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",
  189. "bie": "别鳖憋瘪蹩",
  190. "min": "民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",
  191. "fen": "分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",
  192. "bing": "并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",
  193. "geng": "更耕颈庚耿梗埂羹哽赓绠鲠",
  194. "fang": "方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",
  195. "xian": "现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",
  196. "fou": "不否缶",
  197. "ca": "拆擦嚓礤",
  198. "cha": "查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",
  199. "cai": "才采财材菜彩裁蔡猜踩睬",
  200. "can": "参残餐灿惨蚕掺璨惭粲孱骖黪",
  201. "shen": "信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",
  202. "cen": "参岑涔",
  203. "san": "三参散伞叁糁馓毵",
  204. "cang": "藏仓苍沧舱臧伧",
  205. "zang": "藏脏葬赃臧奘驵",
  206. "chen": "称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",
  207. "cao": "草操曹槽糙嘈漕螬艚屮",
  208. "ce": "策测册侧厕栅恻",
  209. "ze": "责则泽择侧咋啧仄箦赜笮舴昃迮帻",
  210. "zhai": "债择齐宅寨侧摘窄斋祭翟砦瘵哜",
  211. "dao": "到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",
  212. "ceng": "层曾蹭噌",
  213. "zha": "查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",
  214. "chai": "差拆柴钗豺侪虿瘥",
  215. "ci": "次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",
  216. "zi": "资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",
  217. "cuo": "措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",
  218. "chan": "产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",
  219. "shan": "山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",
  220. "zhan": "展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",
  221. "xin": "新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",
  222. "lian": "联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",
  223. "chang": "场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",
  224. "zhang": "长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",
  225. "chao": "超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",
  226. "zhao": "着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",
  227. "zhou": "调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",
  228. "che": "车彻撤尺扯澈掣坼砗屮",
  229. "ju": "车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",
  230. "cheng": "成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",
  231. "rong": "容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",
  232. "sheng": "生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",
  233. "deng": "等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",
  234. "zhi": "制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",
  235. "zheng": "政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",
  236. "tang": "堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",
  237. "chi": "持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",
  238. "shi": "是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",
  239. "qi": "企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",
  240. "chuai": "揣踹啜搋膪",
  241. "tuo": "托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",
  242. "duo": "多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",
  243. "xue": "学血雪削薛穴靴谑噱鳕踅泶彐",
  244. "chong": "重种充冲涌崇虫宠忡憧舂茺铳艟",
  245. "chou": "筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",
  246. "qiu": "求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",
  247. "xiu": "修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",
  248. "chu": "出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",
  249. "tuan": "团揣湍疃抟彖",
  250. "zhui": "追坠缀揣椎锥赘惴隹骓缒",
  251. "chuan": "传川船穿串喘椽舛钏遄氚巛舡",
  252. "zhuan": "专转传赚砖撰篆馔啭颛",
  253. "yuan": "元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",
  254. "cuan": "窜攒篡蹿撺爨汆镩",
  255. "chuang": "创床窗闯幢疮怆",
  256. "zhuang": "装状庄壮撞妆幢桩奘僮戆",
  257. "chui": "吹垂锤炊椎陲槌捶棰",
  258. "chun": "春纯醇淳唇椿蠢鹑朐莼肫蝽",
  259. "zhun": "准屯淳谆肫窀",
  260. "cu": "促趋趣粗簇醋卒蹴猝蹙蔟殂徂",
  261. "dun": "吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",
  262. "qu": "区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",
  263. "xu": "需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",
  264. "chuo": "辍绰戳淖啜龊踔辶",
  265. "zu": "组族足祖租阻卒俎诅镞菹",
  266. "ji": "济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",
  267. "cong": "从丛匆聪葱囱琮淙枞骢苁璁",
  268. "zong": "总从综宗纵踪棕粽鬃偬枞腙",
  269. "cou": "凑辏腠楱",
  270. "cui": "衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",
  271. "wei": "为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",
  272. "cun": "村存寸忖皴",
  273. "zuo": "作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",
  274. "zuan": "钻纂攥缵躜",
  275. "da": "大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",
  276. "dai": "大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",
  277. "tai": "大台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",
  278. "ta": "他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",
  279. "dan": "但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",
  280. "lu": "路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",
  281. "tan": "谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",
  282. "ren": "人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",
  283. "jie": "家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",
  284. "yan": "研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",
  285. "dang": "当党档荡挡宕砀铛裆凼菪谠",
  286. "tao": "套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",
  287. "tiao": "条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",
  288. "te": "特忑忒铽慝",
  289. "de": "的地得德底锝",
  290. "dei": "得",
  291. "di": "的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",
  292. "ti": "体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",
  293. "tui": "推退弟腿褪颓蜕忒煺",
  294. "you": "有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",
  295. "dian": "电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",
  296. "tian": "天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",
  297. "zhu": "主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",
  298. "nian": "年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",
  299. "diao": "调掉雕吊钓刁貂凋碉鲷叼铫铞",
  300. "yao": "要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",
  301. "die": "跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",
  302. "she": "设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",
  303. "ye": "业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",
  304. "xie": "些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",
  305. "zhe": "这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",
  306. "ding": "定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",
  307. "diu": "丢铥",
  308. "ting": "听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",
  309. "dong": "动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",
  310. "tong": "同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",
  311. "zhong": "中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",
  312. "dou": "都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",
  313. "du": "度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",
  314. "duan": "断段短端锻缎煅椴簖",
  315. "dui": "对队追敦兑堆碓镦怼憝",
  316. "rui": "瑞兑锐睿芮蕊蕤蚋枘",
  317. "yue": "月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",
  318. "tun": "吞屯囤褪豚臀饨暾氽",
  319. "hui": "会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",
  320. "wu": "务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",
  321. "ya": "亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",
  322. "he": "和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",
  323. "wo": "我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",
  324. "en": "恩摁蒽",
  325. "n": "嗯唔",
  326. "er": "而二尔儿耳迩饵洱贰铒珥佴鸸鲕",
  327. "fa": "发法罚乏伐阀筏砝垡珐",
  328. "quan": "全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",
  329. "fei": "费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",
  330. "pei": "配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",
  331. "ping": "平评凭瓶冯屏萍苹乒坪枰娉俜鲆",
  332. "fo": "佛",
  333. "hu": "和护许户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",
  334. "ga": "夹咖嘎尬噶旮伽尕钆尜",
  335. "ge": "个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",
  336. "ha": "哈蛤铪",
  337. "xia": "下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",
  338. "gai": "改该盖概溉钙丐芥赅垓陔戤",
  339. "hai": "海还害孩亥咳骸骇氦嗨胲醢",
  340. "gan": "干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",
  341. "gang": "港钢刚岗纲冈杠缸扛肛罡戆筻",
  342. "jiang": "将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",
  343. "hang": "行航杭巷夯吭桁沆绗颃",
  344. "gong": "工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",
  345. "hong": "红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",
  346. "guang": "广光逛潢犷胱咣桄",
  347. "qiong": "穷琼穹邛茕筇跫蛩銎",
  348. "gao": "高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",
  349. "hao": "好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",
  350. "li": "理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",
  351. "jia": "家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",
  352. "luo": "落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",
  353. "ke": "可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",
  354. "qia": "卡恰洽掐髂袷咭葜",
  355. "gei": "给",
  356. "gen": "根跟亘艮哏茛",
  357. "hen": "很狠恨痕哏",
  358. "gou": "构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",
  359. "kou": "口扣寇叩抠佝蔻芤眍筘",
  360. "gu": "股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",
  361. "pai": "牌排派拍迫徘湃俳哌蒎",
  362. "gua": "括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",
  363. "tou": "投头透偷愉骰亠",
  364. "guai": "怪拐乖",
  365. "kuai": "会快块筷脍蒯侩浍郐蒉狯哙",
  366. "guan": "关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",
  367. "wan": "万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",
  368. "ne": "呢哪呐讷疒",
  369. "gui": "规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",
  370. "jun": "军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",
  371. "jiong": "窘炯迥炅冂扃",
  372. "jue": "决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",
  373. "gun": "滚棍辊衮磙鲧绲丨",
  374. "hun": "婚混魂浑昏棍珲荤馄诨溷阍",
  375. "guo": "国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",
  376. "hei": "黑嘿嗨",
  377. "kan": "看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",
  378. "heng": "衡横恒亨哼珩桁蘅",
  379. "mo": "万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",
  380. "peng": "鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",
  381. "hou": "后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",
  382. "hua": "化华划话花画滑哗豁骅桦猾铧砉",
  383. "huai": "怀坏淮徊槐踝",
  384. "huan": "还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",
  385. "xun": "讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",
  386. "huang": "黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",
  387. "nai": "能乃奶耐奈鼐萘氖柰佴艿",
  388. "luan": "乱卵滦峦鸾栾銮挛孪脔娈",
  389. "qie": "切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",
  390. "jian": "建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",
  391. "nan": "南难男楠喃囡赧腩囝蝻",
  392. "qian": "前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",
  393. "qiang": "强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",
  394. "xiang": "向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",
  395. "jiao": "教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",
  396. "zhuo": "着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",
  397. "qiao": "桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",
  398. "xiao": "小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",
  399. "si": "司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",
  400. "kai": "开凯慨岂楷恺揩锴铠忾垲剀锎蒈",
  401. "jin": "进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",
  402. "qin": "亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",
  403. "jing": "经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",
  404. "ying": "应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",
  405. "jiu": "就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",
  406. "zui": "最罪嘴醉咀蕞觜",
  407. "juan": "卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",
  408. "suan": "算酸蒜狻",
  409. "yun": "员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",
  410. "qun": "群裙逡麇",
  411. "ka": "卡喀咖咔咯佧胩",
  412. "kang": "康抗扛慷炕亢糠伉钪闶",
  413. "keng": "坑铿吭",
  414. "kao": "考靠烤拷铐栲尻犒",
  415. "ken": "肯垦恳啃龈裉",
  416. "yin": "因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",
  417. "kong": "空控孔恐倥崆箜",
  418. "ku": "苦库哭酷裤枯窟挎骷堀绔刳喾",
  419. "kua": "跨夸垮挎胯侉",
  420. "kui": "亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",
  421. "kuan": "款宽髋",
  422. "kuang": "况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",
  423. "que": "确却缺雀鹊阙瘸榷炔阕悫",
  424. "kun": "困昆坤捆琨锟鲲醌髡悃阃",
  425. "kuo": "扩括阔廓蛞",
  426. "la": "拉落垃腊啦辣蜡喇剌旯砬邋瘌",
  427. "lai": "来莱赖睐徕籁涞赉濑癞崃疠铼",
  428. "lan": "兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",
  429. "lin": "林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",
  430. "lang": "浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",
  431. "liang": "量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",
  432. "lao": "老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",
  433. "mu": "目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",
  434. "le": "了乐勒肋叻鳓嘞仂泐",
  435. "lei": "类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",
  436. "sui": "随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",
  437. "lie": "列烈劣裂猎冽咧趔洌鬣埒捩躐",
  438. "leng": "冷愣棱楞塄",
  439. "ling": "领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",
  440. "lia": "俩",
  441. "liao": "了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",
  442. "liu": "流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",
  443. "lun": "论轮伦仑纶沦抡囵",
  444. "lv": "率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",
  445. "lou": "楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",
  446. "mao": "贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",
  447. "long": "龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",
  448. "nong": "农浓弄脓侬哝",
  449. "shuang": "双爽霜孀泷",
  450. "shu": "术书数属树输束述署朱熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",
  451. "shuai": "率衰帅摔甩蟀",
  452. "lve": "略掠锊",
  453. "ma": "么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",
  454. "me": "么麽",
  455. "mai": "买卖麦迈脉埋霾荬劢",
  456. "man": "满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔",
  457. "mi": "米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",
  458. "men": "们门闷瞒汶扪焖懑鞔钔",
  459. "mang": "忙盲茫芒氓莽蟒邙硭漭",
  460. "meng": "蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",
  461. "miao": "苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",
  462. "mou": "某谋牟缪眸哞鍪蛑侔厶",
  463. "miu": "缪谬",
  464. "mei": "美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",
  465. "wen": "文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",
  466. "mie": "灭蔑篾乜咩蠛",
  467. "ming": "明名命鸣铭冥茗溟酩瞑螟暝",
  468. "na": "内南那纳拿哪娜钠呐捺衲镎肭",
  469. "nei": "内那哪馁",
  470. "nuo": "难诺挪娜糯懦傩喏搦锘",
  471. "ruo": "若弱偌箬",
  472. "nang": "囊馕囔曩攮",
  473. "nao": "脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",
  474. "ni": "你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",
  475. "nen": "嫩恁",
  476. "neng": "能",
  477. "nin": "您恁",
  478. "niao": "鸟尿溺袅脲茑嬲",
  479. "nie": "摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",
  480. "niang": "娘酿",
  481. "ning": "宁凝拧泞柠咛狞佞聍甯",
  482. "nu": "努怒奴弩驽帑孥胬",
  483. "nv": "女钕衄恧",
  484. "ru": "入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",
  485. "nuan": "暖",
  486. "nve": "虐疟",
  487. "re": "热若惹喏",
  488. "ou": "区欧偶殴呕禺藕讴鸥瓯沤耦怄",
  489. "pao": "跑炮泡抛刨袍咆疱庖狍匏脬",
  490. "pou": "剖掊裒",
  491. "pen": "喷盆湓",
  492. "pie": "瞥撇苤氕丿",
  493. "pin": "品贫聘频拼拚颦姘嫔榀牝",
  494. "se": "色塞瑟涩啬穑铯槭",
  495. "qing": "情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",
  496. "zan": "赞暂攒堑昝簪糌瓒錾趱拶",
  497. "shao": "少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",
  498. "sao": "扫骚嫂梢缫搔瘙臊埽缲鳋",
  499. "sha": "沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",
  500. "xuan": "县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",
  501. "ran": "然染燃冉苒髯蚺",
  502. "rang": "让壤攘嚷瓤穰禳",
  503. "rao": "绕扰饶娆桡荛",
  504. "reng": "仍扔",
  505. "ri": "日",
  506. "rou": "肉柔揉糅鞣蹂",
  507. "ruan": "软阮朊",
  508. "run": "润闰",
  509. "sa": "萨洒撒飒卅仨脎",
  510. "suo": "所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",
  511. "sai": "思赛塞腮噻鳃",
  512. "shui": "说水税谁睡氵",
  513. "sang": "桑丧嗓搡颡磉",
  514. "sen": "森",
  515. "seng": "僧",
  516. "shai": "筛晒",
  517. "shang": "上商尚伤赏汤裳墒晌垧觞殇熵绱",
  518. "xing": "行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",
  519. "shou": "收手受首售授守寿瘦兽狩绶艏扌",
  520. "shuo": "说数硕烁朔铄妁槊蒴搠",
  521. "su": "速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",
  522. "shua": "刷耍唰",
  523. "shuan": "栓拴涮闩",
  524. "shun": "顺瞬舜吮",
  525. "song": "送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",
  526. "sou": "艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",
  527. "sun": "损孙笋荪榫隼狲飧",
  528. "teng": "腾疼藤滕誊",
  529. "tie": "铁贴帖餮萜",
  530. "tu": "土突图途徒涂吐屠兔秃凸荼钍菟堍酴",
  531. "wai": "外歪崴",
  532. "wang": "王望往网忘亡旺汪枉妄惘罔辋魍",
  533. "weng": "翁嗡瓮蓊蕹",
  534. "zhua": "抓挝爪",
  535. "yang": "样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",
  536. "xiong": "雄兄熊胸凶匈汹芎",
  537. "yo": "哟唷",
  538. "yong": "用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",
  539. "za": "杂扎咱砸咋匝咂拶",
  540. "zai": "在再灾载栽仔宰哉崽甾",
  541. "zao": "造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",
  542. "zei": "贼",
  543. "zen": "怎谮",
  544. "zeng": "增曾综赠憎锃甑罾缯",
  545. "zhei": "这",
  546. "zou": "走邹奏揍诹驺陬楱鄹鲰",
  547. "zhuai": "转拽",
  548. "zun": "尊遵鳟樽撙",
  549. "dia": "嗲",
  550. "nou": "耨"
  551. };
  552. exports.pinyin_dict_notone = pinyin_dict_notone;
  553. var pinyinUtil = {
  554. //加载字典
  555. parseDict: function parseDict() {
  556. dict.firstletter = pinyin_dict_firstletter;
  557. dict.notone = {};
  558. dict.py2hz = pinyin_dict_notone;
  559. for (var i in pinyin_dict_notone) {
  560. var temp = pinyin_dict_notone[i];
  561. for (var j = 0, len = temp.length; j < len; j++) {
  562. dict.notone[temp[j]] = i;
  563. }
  564. }
  565. },
  566. //根据汉字获取拼音,如果不是汉字直接返回原字符
  567. getPinyin: function getPinyin(chinese, splitter, withtone, polyphone) {
  568. if (!chinese || /^ +$/g.test(chinese)) return '';
  569. splitter = splitter == undefined ? '' : splitter;
  570. withtone = withtone == undefined ? false : withtone;
  571. polyphone = polyphone == undefined ? false : polyphone;
  572. var result = [];
  573. if (dict.withtone) {
  574. // 优先使用带声调的字典文件
  575. for (var i = 0, len = chinese.length; i < len; i++) {
  576. var pinyin = dict.withtone[chinese[i]];
  577. if (pinyin) {
  578. if (!polyphone) pinyin = pinyin.replace(/ .*$/g, ''); // 如果不需要多音字
  579. if (!withtone) pinyin = this.removeTone(pinyin); // 如果不需要声调
  580. }
  581. result.push(pinyin || chinese[i]);
  582. }
  583. } else if (dict.notone) {
  584. // 使用没有声调的字典文件
  585. if (withtone) console.warn('pinyin_dict_notone 字典文件不支持声调!');
  586. if (polyphone) console.warn('pinyin_dict_notone 字典文件不支持多音字!');
  587. for (var i = 0, len = chinese.length; i < len; i++) {
  588. var temp = chinese.charAt(i);
  589. if (dict.notone[temp]) dict.notone[temp] = dict.notone[temp].substring(0, 1).toUpperCase() + dict.notone[temp].substring(1);
  590. result.push(dict.notone[temp] || temp);
  591. }
  592. } else {
  593. throw '抱歉,未找到合适的拼音字典文件!';
  594. }
  595. if (!polyphone) return result.join(splitter);else {
  596. if (window.pinyin_dict_polyphone) return parsePolyphone(chinese, result, splitter, withtone);else return handlePolyphone(result, ' ', splitter);
  597. }
  598. },
  599. //获取汉字的拼音首字母
  600. getFirstLetter: function getFirstLetter(str, polyphone) {
  601. polyphone = polyphone == undefined ? false : polyphone;
  602. if (!str || /^ +$/g.test(str)) return '';
  603. if (dict.firstletter)
  604. // 使用首字母字典文件
  605. {
  606. var result = [];
  607. for (var i = 0; i < str.length; i++) {
  608. var unicode = str.charCodeAt(i);
  609. var ch = str.charAt(i);
  610. if (unicode >= 19968 && unicode <= 40869) {
  611. ch = dict.firstletter.all.charAt(unicode - 19968);
  612. if (polyphone) ch = dict.firstletter.polyphone[unicode] || ch;
  613. }
  614. result.push(ch);
  615. }
  616. if (!polyphone) return result.join(''); // 如果不用管多音字,直接将数组拼接成字符串
  617. else return handlePolyphone(result, '', ''); // 处理多音字,此时的result类似于:['D', 'ZC', 'F']
  618. } else {
  619. var py = this.getPinyin(str, ' ', false, polyphone);
  620. py = py instanceof Array ? py : [py];
  621. var result = [];
  622. for (var i = 0; i < py.length; i++) {
  623. result.push(py[i].replace(/(^| )(\w)\w*/g, function (m, $1, $2) {
  624. return $2.toUpperCase();
  625. }));
  626. }
  627. if (!polyphone) return result[0];else return simpleUnique(result);
  628. }
  629. },
  630. //拼音转汉字,只支持单个汉字,返回所有匹配的汉字组合
  631. getHanzi: function getHanzi(pinyin) {
  632. if (!dict.py2hz) {
  633. throw '抱歉,未找到合适的拼音字典文件!';
  634. }
  635. return dict.py2hz[pinyin] || '';
  636. },
  637. //去除拼音中的声调,比如将 xiǎo míng tóng xué 转换成 xiao ming tong xue
  638. removeTone: function removeTone(pinyin) {
  639. var toneMap = {
  640. "ā": "a1",
  641. "á": "a2",
  642. "ǎ": "a3",
  643. "à": "a4",
  644. "ō": "o1",
  645. "ó": "o2",
  646. "ǒ": "o3",
  647. "ò": "o4",
  648. "ē": "e1",
  649. "é": "e2",
  650. "ě": "e3",
  651. "è": "e4",
  652. "ī": "i1",
  653. "í": "i2",
  654. "ǐ": "i3",
  655. "ì": "i4",
  656. "ū": "u1",
  657. "ú": "u2",
  658. "ǔ": "u3",
  659. "ù": "u4",
  660. "ü": "v0",
  661. "ǖ": "v1",
  662. "ǘ": "v2",
  663. "ǚ": "v3",
  664. "ǜ": "v4",
  665. "ń": "n2",
  666. "ň": "n3",
  667. "": "m2"
  668. };
  669. return pinyin.replace(/[āáǎàōóǒòēéěèīíǐìūúǔùüǖǘǚǜńň]/g, function (m) {
  670. return toneMap[m][0];
  671. });
  672. }
  673. };
  674. //处理多音字, 将类似['D', 'ZC', 'F'] 转换成['DZF', 'DCF']
  675. exports.pinyinUtil = pinyinUtil;
  676. function handlePolyphone(array, splitter, joinChar) {
  677. splitter = splitter || '';
  678. var result = [''],
  679. temp = [];
  680. for (var i = 0; i < array.length; i++) {
  681. temp = [];
  682. var t = array[i].split(splitter);
  683. for (var j = 0; j < t.length; j++) {
  684. for (var k = 0; k < result.length; k++) {
  685. temp.push(result[k] + (result[k] ? joinChar : '') + t[j]);
  686. }
  687. }
  688. result = temp;
  689. }
  690. return simpleUnique(result);
  691. }
  692. //根据词库找出多音字正确的读音
  693. function parsePolyphone(chinese, result, splitter, withtone) {
  694. var poly = window.pinyin_dict_polyphone;
  695. var max = 7; // 最多只考虑7个汉字的多音字词,虽然词库里面有10个字的,但是数量非常少,为了整体效率暂时忽略之
  696. var temp = poly[chinese];
  697. if (temp)
  698. // 如果直接找到了结果
  699. {
  700. temp = temp.split(' ');
  701. for (var i = 0; i < temp.length; i++) {
  702. result[i] = temp[i] || result[i];
  703. if (!withtone) result[i] = pinyinUtil.removeTone(result[i]);
  704. }
  705. return result.join(splitter);
  706. }
  707. for (var i = 0; i < chinese.length; i++) {
  708. temp = '';
  709. for (var j = 0; j < max && i + j < chinese.length; j++) {
  710. if (!/^[\u2E80-\u9FFF]+$/.test(chinese[i + j])) break; // 如果碰到非汉字直接停止本次查找
  711. temp += chinese[i + j];
  712. var res = poly[temp];
  713. if (res)
  714. // 如果找到了多音字词语
  715. {
  716. res = res.split(' ');
  717. for (var k = 0; k <= j; k++) {
  718. if (res[k]) result[i + k] = withtone ? res[k] : pinyinUtil.removeTone(res[k]);
  719. }
  720. break;
  721. }
  722. }
  723. }
  724. // 最后这一步是为了防止出现词库里面也没有包含的多音字词语
  725. for (var i = 0; i < result.length; i++) {
  726. result[i] = result[i].replace(/ .*$/g, '');
  727. }
  728. return result.join(splitter);
  729. }
  730. // 数组去重
  731. function simpleUnique(array) {
  732. var result = [];
  733. var hash = {};
  734. for (var i = 0; i < array.length; i++) {
  735. var key = (0, _typeof2.default)(array[i]) + array[i];
  736. if (!hash[key]) {
  737. result.push(array[i]);
  738. hash[key] = true;
  739. }
  740. }
  741. return result;
  742. }
  743. pinyinUtil.parseDict();
  744. pinyinUtil.dict = dict;
  745. module.exports = {
  746. pinyinUtil: pinyinUtil
  747. };
  748. /***/ }),
  749. /***/ 101:
  750. /*!*******************************************************************************!*\
  751. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/indexAnchor.js ***!
  752. \*******************************************************************************/
  753. /*! no static exports found */
  754. /***/ (function(module, exports, __webpack_require__) {
  755. "use strict";
  756. Object.defineProperty(exports, "__esModule", {
  757. value: true
  758. });
  759. exports.default = void 0;
  760. /*
  761. * @Author : LQ
  762. * @Description :
  763. * @version : 1.0
  764. * @Date : 2021-08-20 16:44:21
  765. * @LastAuthor : LQ
  766. * @lastTime : 2021-08-20 17:13:15
  767. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexAnchor.js
  768. */
  769. var _default = {
  770. // indexAnchor 组件
  771. indexAnchor: {
  772. text: '',
  773. color: '#606266',
  774. size: 14,
  775. bgColor: '#dedede',
  776. height: 32
  777. }
  778. };
  779. exports.default = _default;
  780. /***/ }),
  781. /***/ 1018:
  782. /*!********************************************************************************!*\
  783. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-radio-group/props.js ***!
  784. \********************************************************************************/
  785. /*! no static exports found */
  786. /***/ (function(module, exports, __webpack_require__) {
  787. "use strict";
  788. /* WEBPACK VAR INJECTION */(function(uni) {
  789. Object.defineProperty(exports, "__esModule", {
  790. value: true
  791. });
  792. exports.default = void 0;
  793. var _default = {
  794. props: {
  795. // 绑定的值
  796. value: {
  797. type: [String, Number, Boolean],
  798. default: uni.$u.props.radioGroup.value
  799. },
  800. // 是否禁用全部radio
  801. disabled: {
  802. type: Boolean,
  803. default: uni.$u.props.radioGroup.disabled
  804. },
  805. // 形状,circle-圆形,square-方形
  806. shape: {
  807. type: String,
  808. default: uni.$u.props.radioGroup.shape
  809. },
  810. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  811. activeColor: {
  812. type: String,
  813. default: uni.$u.props.radioGroup.activeColor
  814. },
  815. // 未选中的颜色
  816. inactiveColor: {
  817. type: String,
  818. default: uni.$u.props.radioGroup.inactiveColor
  819. },
  820. // 标识符
  821. name: {
  822. type: String,
  823. default: uni.$u.props.radioGroup.name
  824. },
  825. // 整个组件的尺寸,默认px
  826. size: {
  827. type: [String, Number],
  828. default: uni.$u.props.radioGroup.size
  829. },
  830. // 布局方式,row-横向,column-纵向
  831. placement: {
  832. type: String,
  833. default: uni.$u.props.radioGroup.placement
  834. },
  835. // label的文本
  836. label: {
  837. type: [String],
  838. default: uni.$u.props.radioGroup.label
  839. },
  840. // label的颜色 (默认 '#303133' )
  841. labelColor: {
  842. type: [String],
  843. default: uni.$u.props.radioGroup.labelColor
  844. },
  845. // label的字体大小,px单位
  846. labelSize: {
  847. type: [String, Number],
  848. default: uni.$u.props.radioGroup.labelSize
  849. },
  850. // 是否禁止点击文本操作checkbox(默认 false )
  851. labelDisabled: {
  852. type: Boolean,
  853. default: uni.$u.props.radioGroup.labelDisabled
  854. },
  855. // 图标颜色
  856. iconColor: {
  857. type: String,
  858. default: uni.$u.props.radioGroup.iconColor
  859. },
  860. // 图标的大小,单位px
  861. iconSize: {
  862. type: [String, Number],
  863. default: uni.$u.props.radioGroup.iconSize
  864. },
  865. // 竖向配列时,是否显示下划线
  866. borderBottom: {
  867. type: Boolean,
  868. default: uni.$u.props.radioGroup.borderBottom
  869. },
  870. // 图标与文字的对齐方式
  871. iconPlacement: {
  872. type: String,
  873. default: uni.$u.props.radio.iconPlacement
  874. }
  875. }
  876. };
  877. exports.default = _default;
  878. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  879. /***/ }),
  880. /***/ 102:
  881. /*!*****************************************************************************!*\
  882. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/indexList.js ***!
  883. \*****************************************************************************/
  884. /*! no static exports found */
  885. /***/ (function(module, exports, __webpack_require__) {
  886. "use strict";
  887. Object.defineProperty(exports, "__esModule", {
  888. value: true
  889. });
  890. exports.default = void 0;
  891. /*
  892. * @Author : LQ
  893. * @Description :
  894. * @version : 1.0
  895. * @Date : 2021-08-20 16:44:21
  896. * @LastAuthor : LQ
  897. * @lastTime : 2021-08-20 17:13:35
  898. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
  899. */
  900. var _default = {
  901. // indexList 组件
  902. indexList: {
  903. inactiveColor: '#606266',
  904. activeColor: '#5677fc',
  905. indexList: function indexList() {
  906. return [];
  907. },
  908. sticky: true,
  909. customNavHeight: 0
  910. }
  911. };
  912. exports.default = _default;
  913. /***/ }),
  914. /***/ 1026:
  915. /*!**************************************************************************!*\
  916. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-radio/props.js ***!
  917. \**************************************************************************/
  918. /*! no static exports found */
  919. /***/ (function(module, exports, __webpack_require__) {
  920. "use strict";
  921. /* WEBPACK VAR INJECTION */(function(uni) {
  922. Object.defineProperty(exports, "__esModule", {
  923. value: true
  924. });
  925. exports.default = void 0;
  926. var _default = {
  927. props: {
  928. // radio的名称
  929. name: {
  930. type: [String, Number, Boolean],
  931. default: uni.$u.props.radio.name
  932. },
  933. // 形状,square为方形,circle为圆型
  934. shape: {
  935. type: String,
  936. default: uni.$u.props.radio.shape
  937. },
  938. // 是否禁用
  939. disabled: {
  940. type: [String, Boolean],
  941. default: uni.$u.props.radio.disabled
  942. },
  943. // 是否禁止点击提示语选中单选框
  944. labelDisabled: {
  945. type: [String, Boolean],
  946. default: uni.$u.props.radio.labelDisabled
  947. },
  948. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  949. activeColor: {
  950. type: String,
  951. default: uni.$u.props.radio.activeColor
  952. },
  953. // 未选中的颜色
  954. inactiveColor: {
  955. type: String,
  956. default: uni.$u.props.radio.inactiveColor
  957. },
  958. // 图标的大小,单位px
  959. iconSize: {
  960. type: [String, Number],
  961. default: uni.$u.props.radio.iconSize
  962. },
  963. // label的字体大小,px单位
  964. labelSize: {
  965. type: [String, Number],
  966. default: uni.$u.props.radio.labelSize
  967. },
  968. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  969. label: {
  970. type: [String, Number],
  971. default: uni.$u.props.radio.label
  972. },
  973. // 整体的大小
  974. size: {
  975. type: [String, Number],
  976. default: uni.$u.props.radio.size
  977. },
  978. // 图标颜色
  979. color: {
  980. type: String,
  981. default: uni.$u.props.radio.color
  982. },
  983. // label的颜色
  984. labelColor: {
  985. type: String,
  986. default: uni.$u.props.radio.labelColor
  987. }
  988. }
  989. };
  990. exports.default = _default;
  991. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  992. /***/ }),
  993. /***/ 103:
  994. /*!*************************************************************************!*\
  995. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/input.js ***!
  996. \*************************************************************************/
  997. /*! no static exports found */
  998. /***/ (function(module, exports, __webpack_require__) {
  999. "use strict";
  1000. Object.defineProperty(exports, "__esModule", {
  1001. value: true
  1002. });
  1003. exports.default = void 0;
  1004. /*
  1005. * @Author : LQ
  1006. * @Description :
  1007. * @version : 1.0
  1008. * @Date : 2021-08-20 16:44:21
  1009. * @LastAuthor : LQ
  1010. * @lastTime : 2021-08-20 17:13:55
  1011. * @FilePath : /u-view2.0/uview-ui/libs/config/props/input.js
  1012. */
  1013. var _default = {
  1014. // index 组件
  1015. input: {
  1016. value: '',
  1017. type: 'text',
  1018. fixed: false,
  1019. disabled: false,
  1020. disabledColor: '#f5f7fa',
  1021. clearable: false,
  1022. password: false,
  1023. maxlength: -1,
  1024. placeholder: null,
  1025. placeholderClass: 'input-placeholder',
  1026. placeholderStyle: 'color: #c0c4cc',
  1027. showWordLimit: false,
  1028. confirmType: 'done',
  1029. confirmHold: false,
  1030. holdKeyboard: false,
  1031. focus: false,
  1032. autoBlur: false,
  1033. disableDefaultPadding: false,
  1034. cursor: -1,
  1035. cursorSpacing: 30,
  1036. selectionStart: -1,
  1037. selectionEnd: -1,
  1038. adjustPosition: true,
  1039. inputAlign: 'left',
  1040. fontSize: '15px',
  1041. color: '#303133',
  1042. prefixIcon: '',
  1043. prefixIconStyle: '',
  1044. suffixIcon: '',
  1045. suffixIconStyle: '',
  1046. border: 'surround',
  1047. readonly: false,
  1048. shape: 'square',
  1049. formatter: null
  1050. }
  1051. };
  1052. exports.default = _default;
  1053. /***/ }),
  1054. /***/ 1034:
  1055. /*!***************************************************************************!*\
  1056. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-search/props.js ***!
  1057. \***************************************************************************/
  1058. /*! no static exports found */
  1059. /***/ (function(module, exports, __webpack_require__) {
  1060. "use strict";
  1061. /* WEBPACK VAR INJECTION */(function(uni) {
  1062. Object.defineProperty(exports, "__esModule", {
  1063. value: true
  1064. });
  1065. exports.default = void 0;
  1066. var _default = {
  1067. props: {
  1068. // 搜索框形状,round-圆形,square-方形
  1069. shape: {
  1070. type: String,
  1071. default: uni.$u.props.search.shape
  1072. },
  1073. // 搜索框背景色,默认值#f2f2f2
  1074. bgColor: {
  1075. type: String,
  1076. default: uni.$u.props.search.bgColor
  1077. },
  1078. // 占位提示文字
  1079. placeholder: {
  1080. type: String,
  1081. default: uni.$u.props.search.placeholder
  1082. },
  1083. // 是否启用清除控件
  1084. clearabled: {
  1085. type: Boolean,
  1086. default: uni.$u.props.search.clearabled
  1087. },
  1088. // 是否自动聚焦
  1089. focus: {
  1090. type: Boolean,
  1091. default: uni.$u.props.search.focus
  1092. },
  1093. // 是否在搜索框右侧显示取消按钮
  1094. showAction: {
  1095. type: Boolean,
  1096. default: uni.$u.props.search.showAction
  1097. },
  1098. // 右边控件的样式
  1099. actionStyle: {
  1100. type: Object,
  1101. default: uni.$u.props.search.actionStyle
  1102. },
  1103. // 取消按钮文字
  1104. actionText: {
  1105. type: String,
  1106. default: uni.$u.props.search.actionText
  1107. },
  1108. // 输入框内容对齐方式,可选值为 left|center|right
  1109. inputAlign: {
  1110. type: String,
  1111. default: uni.$u.props.search.inputAlign
  1112. },
  1113. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  1114. inputStyle: {
  1115. type: Object,
  1116. default: uni.$u.props.search.inputStyle
  1117. },
  1118. // 是否启用输入框
  1119. disabled: {
  1120. type: Boolean,
  1121. default: uni.$u.props.search.disabled
  1122. },
  1123. // 边框颜色
  1124. borderColor: {
  1125. type: String,
  1126. default: uni.$u.props.search.borderColor
  1127. },
  1128. // 搜索图标的颜色,默认同输入框字体颜色
  1129. searchIconColor: {
  1130. type: String,
  1131. default: uni.$u.props.search.searchIconColor
  1132. },
  1133. // 输入框字体颜色
  1134. color: {
  1135. type: String,
  1136. default: uni.$u.props.search.color
  1137. },
  1138. // placeholder的颜色
  1139. placeholderColor: {
  1140. type: String,
  1141. default: uni.$u.props.search.placeholderColor
  1142. },
  1143. // 左边输入框的图标,可以为uView图标名称或图片路径
  1144. searchIcon: {
  1145. type: String,
  1146. default: uni.$u.props.search.searchIcon
  1147. },
  1148. searchIconSize: {
  1149. type: [Number, String],
  1150. default: uni.$u.props.search.searchIconSize
  1151. },
  1152. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  1153. margin: {
  1154. type: String,
  1155. default: uni.$u.props.search.margin
  1156. },
  1157. // 开启showAction时,是否在input获取焦点时才显示
  1158. animation: {
  1159. type: Boolean,
  1160. default: uni.$u.props.search.animation
  1161. },
  1162. // 输入框的初始化内容
  1163. value: {
  1164. type: String,
  1165. default: uni.$u.props.search.value
  1166. },
  1167. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  1168. maxlength: {
  1169. type: [String, Number],
  1170. default: uni.$u.props.search.maxlength
  1171. },
  1172. // 搜索框高度,单位px
  1173. height: {
  1174. type: [String, Number],
  1175. default: uni.$u.props.search.height
  1176. },
  1177. // 搜索框左侧文本
  1178. label: {
  1179. type: [String, Number, null],
  1180. default: uni.$u.props.search.label
  1181. }
  1182. }
  1183. };
  1184. exports.default = _default;
  1185. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1186. /***/ }),
  1187. /***/ 104:
  1188. /*!****************************************************************************!*\
  1189. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/keyboard.js ***!
  1190. \****************************************************************************/
  1191. /*! no static exports found */
  1192. /***/ (function(module, exports, __webpack_require__) {
  1193. "use strict";
  1194. Object.defineProperty(exports, "__esModule", {
  1195. value: true
  1196. });
  1197. exports.default = void 0;
  1198. /*
  1199. * @Author : LQ
  1200. * @Description :
  1201. * @version : 1.0
  1202. * @Date : 2021-08-20 16:44:21
  1203. * @LastAuthor : LQ
  1204. * @lastTime : 2021-08-20 17:07:49
  1205. * @FilePath : /u-view2.0/uview-ui/libs/config/props/keyboard.js
  1206. */
  1207. var _default = {
  1208. // 键盘组件
  1209. keyboard: {
  1210. mode: 'number',
  1211. dotDisabled: false,
  1212. tooltip: true,
  1213. showTips: true,
  1214. tips: '',
  1215. showCancel: true,
  1216. showConfirm: true,
  1217. random: false,
  1218. safeAreaInsetBottom: true,
  1219. closeOnClickOverlay: true,
  1220. show: false,
  1221. overlay: true,
  1222. zIndex: 10075,
  1223. cancelText: '取消',
  1224. confirmText: '确定',
  1225. autoChange: false
  1226. }
  1227. };
  1228. exports.default = _default;
  1229. /***/ }),
  1230. /***/ 105:
  1231. /*!************************************************************************!*\
  1232. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/line.js ***!
  1233. \************************************************************************/
  1234. /*! no static exports found */
  1235. /***/ (function(module, exports, __webpack_require__) {
  1236. "use strict";
  1237. Object.defineProperty(exports, "__esModule", {
  1238. value: true
  1239. });
  1240. exports.default = void 0;
  1241. /*
  1242. * @Author : LQ
  1243. * @Description :
  1244. * @version : 1.0
  1245. * @Date : 2021-08-20 16:44:21
  1246. * @LastAuthor : LQ
  1247. * @lastTime : 2021-08-20 17:04:49
  1248. * @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
  1249. */
  1250. var _default = {
  1251. // line组件
  1252. line: {
  1253. color: '#d6d7d9',
  1254. length: '100%',
  1255. direction: 'row',
  1256. hairline: true,
  1257. margin: 0,
  1258. dashed: false
  1259. }
  1260. };
  1261. exports.default = _default;
  1262. /***/ }),
  1263. /***/ 1056:
  1264. /*!*************************************************************************!*\
  1265. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-rate/props.js ***!
  1266. \*************************************************************************/
  1267. /*! no static exports found */
  1268. /***/ (function(module, exports, __webpack_require__) {
  1269. "use strict";
  1270. /* WEBPACK VAR INJECTION */(function(uni) {
  1271. Object.defineProperty(exports, "__esModule", {
  1272. value: true
  1273. });
  1274. exports.default = void 0;
  1275. var _default = {
  1276. props: {
  1277. // 用于v-model双向绑定选中的星星数量
  1278. value: {
  1279. type: [String, Number],
  1280. default: uni.$u.props.rate.value
  1281. },
  1282. // 要显示的星星数量
  1283. count: {
  1284. type: [String, Number],
  1285. default: uni.$u.props.rate.count
  1286. },
  1287. // 是否不可选中
  1288. disabled: {
  1289. type: Boolean,
  1290. default: uni.$u.props.rate.disabled
  1291. },
  1292. // 是否只读
  1293. readonly: {
  1294. type: Boolean,
  1295. default: uni.$u.props.rate.readonly
  1296. },
  1297. // 星星的大小,单位px
  1298. size: {
  1299. type: [String, Number],
  1300. default: uni.$u.props.rate.size
  1301. },
  1302. // 未选中时的颜色
  1303. inactiveColor: {
  1304. type: String,
  1305. default: uni.$u.props.rate.inactiveColor
  1306. },
  1307. // 选中的颜色
  1308. activeColor: {
  1309. type: String,
  1310. default: uni.$u.props.rate.activeColor
  1311. },
  1312. // 星星之间的间距,单位px
  1313. gutter: {
  1314. type: [String, Number],
  1315. default: uni.$u.props.rate.gutter
  1316. },
  1317. // 最少能选择的星星个数
  1318. minCount: {
  1319. type: [String, Number],
  1320. default: uni.$u.props.rate.minCount
  1321. },
  1322. // 是否允许半星
  1323. allowHalf: {
  1324. type: Boolean,
  1325. default: uni.$u.props.rate.allowHalf
  1326. },
  1327. // 选中时的图标(星星)
  1328. activeIcon: {
  1329. type: String,
  1330. default: uni.$u.props.rate.activeIcon
  1331. },
  1332. // 未选中时的图标(星星)
  1333. inactiveIcon: {
  1334. type: String,
  1335. default: uni.$u.props.rate.inactiveIcon
  1336. },
  1337. // 是否可以通过滑动手势选择评分
  1338. touchable: {
  1339. type: Boolean,
  1340. default: uni.$u.props.rate.touchable
  1341. }
  1342. }
  1343. };
  1344. exports.default = _default;
  1345. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1346. /***/ }),
  1347. /***/ 106:
  1348. /*!********************************************************************************!*\
  1349. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/lineProgress.js ***!
  1350. \********************************************************************************/
  1351. /*! no static exports found */
  1352. /***/ (function(module, exports, __webpack_require__) {
  1353. "use strict";
  1354. Object.defineProperty(exports, "__esModule", {
  1355. value: true
  1356. });
  1357. exports.default = void 0;
  1358. /*
  1359. * @Author : LQ
  1360. * @Description :
  1361. * @version : 1.0
  1362. * @Date : 2021-08-20 16:44:21
  1363. * @LastAuthor : LQ
  1364. * @lastTime : 2021-08-20 17:14:11
  1365. * @FilePath : /u-view2.0/uview-ui/libs/config/props/lineProgress.js
  1366. */
  1367. var _default = {
  1368. // lineProgress 组件
  1369. lineProgress: {
  1370. activeColor: '#19be6b',
  1371. inactiveColor: '#ececec',
  1372. percentage: 0,
  1373. showText: true,
  1374. height: 12
  1375. }
  1376. };
  1377. exports.default = _default;
  1378. /***/ }),
  1379. /***/ 107:
  1380. /*!************************************************************************!*\
  1381. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/link.js ***!
  1382. \************************************************************************/
  1383. /*! no static exports found */
  1384. /***/ (function(module, exports, __webpack_require__) {
  1385. "use strict";
  1386. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  1387. Object.defineProperty(exports, "__esModule", {
  1388. value: true
  1389. });
  1390. exports.default = void 0;
  1391. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  1392. /*
  1393. * @Author : LQ
  1394. * @Description :
  1395. * @version : 1.0
  1396. * @Date : 2021-08-20 16:44:21
  1397. * @LastAuthor : LQ
  1398. * @lastTime : 2021-08-20 17:45:36
  1399. * @FilePath : /u-view2.0/uview-ui/libs/config/props/link.js
  1400. */
  1401. var color = _config.default.color;
  1402. var _default = {
  1403. // link超链接组件props参数
  1404. link: {
  1405. color: color['u-primary'],
  1406. fontSize: 15,
  1407. underLine: false,
  1408. href: '',
  1409. mpTips: '链接已复制,请在浏览器打开',
  1410. lineColor: '',
  1411. text: ''
  1412. }
  1413. };
  1414. exports.default = _default;
  1415. /***/ }),
  1416. /***/ 1071:
  1417. /*!*************************************************************************!*\
  1418. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-form/props.js ***!
  1419. \*************************************************************************/
  1420. /*! no static exports found */
  1421. /***/ (function(module, exports, __webpack_require__) {
  1422. "use strict";
  1423. /* WEBPACK VAR INJECTION */(function(uni) {
  1424. Object.defineProperty(exports, "__esModule", {
  1425. value: true
  1426. });
  1427. exports.default = void 0;
  1428. var _default = {
  1429. props: {
  1430. // 当前form的需要验证字段的集合
  1431. model: {
  1432. type: Object,
  1433. default: uni.$u.props.form.model
  1434. },
  1435. // 验证规则
  1436. rules: {
  1437. type: [Object, Function, Array],
  1438. default: uni.$u.props.form.rules
  1439. },
  1440. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  1441. // border-bottom-下边框呈现红色,none-无提示
  1442. errorType: {
  1443. type: String,
  1444. default: uni.$u.props.form.errorType
  1445. },
  1446. // 是否显示表单域的下划线边框
  1447. borderBottom: {
  1448. type: Boolean,
  1449. default: uni.$u.props.form.borderBottom
  1450. },
  1451. // label的位置,left-左边,top-上边
  1452. labelPosition: {
  1453. type: String,
  1454. default: uni.$u.props.form.labelPosition
  1455. },
  1456. // label的宽度,单位px
  1457. labelWidth: {
  1458. type: [String, Number],
  1459. default: uni.$u.props.form.labelWidth
  1460. },
  1461. // lable字体的对齐方式
  1462. labelAlign: {
  1463. type: String,
  1464. default: uni.$u.props.form.labelAlign
  1465. },
  1466. // lable的样式,对象形式
  1467. labelStyle: {
  1468. type: Object,
  1469. default: uni.$u.props.form.labelStyle
  1470. }
  1471. }
  1472. };
  1473. exports.default = _default;
  1474. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1475. /***/ }),
  1476. /***/ 1077:
  1477. /*!******************************************************************************!*\
  1478. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-form-item/props.js ***!
  1479. \******************************************************************************/
  1480. /*! no static exports found */
  1481. /***/ (function(module, exports, __webpack_require__) {
  1482. "use strict";
  1483. /* WEBPACK VAR INJECTION */(function(uni) {
  1484. Object.defineProperty(exports, "__esModule", {
  1485. value: true
  1486. });
  1487. exports.default = void 0;
  1488. var _default = {
  1489. props: {
  1490. // input的label提示语
  1491. label: {
  1492. type: String,
  1493. default: uni.$u.props.formItem.label
  1494. },
  1495. // 绑定的值
  1496. prop: {
  1497. type: String,
  1498. default: uni.$u.props.formItem.prop
  1499. },
  1500. // 是否显示表单域的下划线边框
  1501. borderBottom: {
  1502. type: [String, Boolean],
  1503. default: uni.$u.props.formItem.borderBottom
  1504. },
  1505. // label的位置,left-左边,top-上边
  1506. labelPosition: {
  1507. type: String,
  1508. default: uni.$u.props.formItem.labelPosition
  1509. },
  1510. // label的宽度,单位px
  1511. labelWidth: {
  1512. type: [String, Number],
  1513. default: uni.$u.props.formItem.labelWidth
  1514. },
  1515. // 右侧图标
  1516. rightIcon: {
  1517. type: String,
  1518. default: uni.$u.props.formItem.rightIcon
  1519. },
  1520. // 左侧图标
  1521. leftIcon: {
  1522. type: String,
  1523. default: uni.$u.props.formItem.leftIcon
  1524. },
  1525. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  1526. required: {
  1527. type: Boolean,
  1528. default: uni.$u.props.formItem.required
  1529. },
  1530. leftIconStyle: {
  1531. type: [String, Object],
  1532. default: uni.$u.props.formItem.leftIconStyle
  1533. }
  1534. }
  1535. };
  1536. exports.default = _default;
  1537. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1538. /***/ }),
  1539. /***/ 108:
  1540. /*!************************************************************************!*\
  1541. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/list.js ***!
  1542. \************************************************************************/
  1543. /*! no static exports found */
  1544. /***/ (function(module, exports, __webpack_require__) {
  1545. "use strict";
  1546. Object.defineProperty(exports, "__esModule", {
  1547. value: true
  1548. });
  1549. exports.default = void 0;
  1550. /*
  1551. * @Author : LQ
  1552. * @Description :
  1553. * @version : 1.0
  1554. * @Date : 2021-08-20 16:44:21
  1555. * @LastAuthor : LQ
  1556. * @lastTime : 2021-08-20 17:14:53
  1557. * @FilePath : /u-view2.0/uview-ui/libs/config/props/list.js
  1558. */
  1559. var _default = {
  1560. // list 组件
  1561. list: {
  1562. showScrollbar: false,
  1563. lowerThreshold: 50,
  1564. upperThreshold: 0,
  1565. scrollTop: 0,
  1566. offsetAccuracy: 10,
  1567. enableFlex: false,
  1568. pagingEnabled: false,
  1569. scrollable: true,
  1570. scrollIntoView: '',
  1571. scrollWithAnimation: false,
  1572. enableBackToTop: false,
  1573. height: 0,
  1574. width: 0,
  1575. preLoadScreen: 1
  1576. }
  1577. };
  1578. exports.default = _default;
  1579. /***/ }),
  1580. /***/ 109:
  1581. /*!****************************************************************************!*\
  1582. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/listItem.js ***!
  1583. \****************************************************************************/
  1584. /*! no static exports found */
  1585. /***/ (function(module, exports, __webpack_require__) {
  1586. "use strict";
  1587. Object.defineProperty(exports, "__esModule", {
  1588. value: true
  1589. });
  1590. exports.default = void 0;
  1591. /*
  1592. * @Author : LQ
  1593. * @Description :
  1594. * @version : 1.0
  1595. * @Date : 2021-08-20 16:44:21
  1596. * @LastAuthor : LQ
  1597. * @lastTime : 2021-08-20 17:15:40
  1598. * @FilePath : /u-view2.0/uview-ui/libs/config/props/listItem.js
  1599. */
  1600. var _default = {
  1601. // listItem 组件
  1602. listItem: {
  1603. anchor: ''
  1604. }
  1605. };
  1606. exports.default = _default;
  1607. /***/ }),
  1608. /***/ 11:
  1609. /*!***************************************************************!*\
  1610. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  1611. \***************************************************************/
  1612. /*! no static exports found */
  1613. /***/ (function(module, exports, __webpack_require__) {
  1614. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  1615. function _defineProperty(obj, key, value) {
  1616. key = toPropertyKey(key);
  1617. if (key in obj) {
  1618. Object.defineProperty(obj, key, {
  1619. value: value,
  1620. enumerable: true,
  1621. configurable: true,
  1622. writable: true
  1623. });
  1624. } else {
  1625. obj[key] = value;
  1626. }
  1627. return obj;
  1628. }
  1629. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  1630. /***/ }),
  1631. /***/ 110:
  1632. /*!*******************************************************************************!*\
  1633. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadingIcon.js ***!
  1634. \*******************************************************************************/
  1635. /*! no static exports found */
  1636. /***/ (function(module, exports, __webpack_require__) {
  1637. "use strict";
  1638. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  1639. Object.defineProperty(exports, "__esModule", {
  1640. value: true
  1641. });
  1642. exports.default = void 0;
  1643. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  1644. /*
  1645. * @Author : LQ
  1646. * @Description :
  1647. * @version : 1.0
  1648. * @Date : 2021-08-20 16:44:21
  1649. * @LastAuthor : LQ
  1650. * @lastTime : 2021-08-20 17:45:47
  1651. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingIcon.js
  1652. */
  1653. var color = _config.default.color;
  1654. var _default = {
  1655. // loading-icon加载中图标组件
  1656. loadingIcon: {
  1657. show: true,
  1658. color: color['u-tips-color'],
  1659. textColor: color['u-tips-color'],
  1660. vertical: false,
  1661. mode: 'spinner',
  1662. size: 24,
  1663. textSize: 15,
  1664. text: '',
  1665. timingFunction: 'ease-in-out',
  1666. duration: 1200,
  1667. inactiveColor: ''
  1668. }
  1669. };
  1670. exports.default = _default;
  1671. /***/ }),
  1672. /***/ 111:
  1673. /*!*******************************************************************************!*\
  1674. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadingPage.js ***!
  1675. \*******************************************************************************/
  1676. /*! no static exports found */
  1677. /***/ (function(module, exports, __webpack_require__) {
  1678. "use strict";
  1679. Object.defineProperty(exports, "__esModule", {
  1680. value: true
  1681. });
  1682. exports.default = void 0;
  1683. /*
  1684. * @Author : LQ
  1685. * @Description :
  1686. * @version : 1.0
  1687. * @Date : 2021-08-20 16:44:21
  1688. * @LastAuthor : LQ
  1689. * @lastTime : 2021-08-20 17:00:23
  1690. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
  1691. */
  1692. var _default = {
  1693. // loading-page组件
  1694. loadingPage: {
  1695. loadingText: '正在加载',
  1696. image: '',
  1697. loadingMode: 'circle',
  1698. loading: false,
  1699. bgColor: '#ffffff',
  1700. color: '#C8C8C8',
  1701. fontSize: 19,
  1702. iconSize: 28,
  1703. loadingColor: '#C8C8C8'
  1704. }
  1705. };
  1706. exports.default = _default;
  1707. /***/ }),
  1708. /***/ 112:
  1709. /*!****************************************************************************!*\
  1710. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/loadmore.js ***!
  1711. \****************************************************************************/
  1712. /*! no static exports found */
  1713. /***/ (function(module, exports, __webpack_require__) {
  1714. "use strict";
  1715. Object.defineProperty(exports, "__esModule", {
  1716. value: true
  1717. });
  1718. exports.default = void 0;
  1719. /*
  1720. * @Author : LQ
  1721. * @Description :
  1722. * @version : 1.0
  1723. * @Date : 2021-08-20 16:44:21
  1724. * @LastAuthor : LQ
  1725. * @lastTime : 2021-08-20 17:15:26
  1726. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadmore.js
  1727. */
  1728. var _default = {
  1729. // loadmore 组件
  1730. loadmore: {
  1731. status: 'loadmore',
  1732. bgColor: 'transparent',
  1733. icon: true,
  1734. fontSize: 14,
  1735. iconSize: 17,
  1736. color: '#606266',
  1737. loadingIcon: 'spinner',
  1738. loadmoreText: '加载更多',
  1739. loadingText: '正在加载...',
  1740. nomoreText: '没有更多了',
  1741. isDot: false,
  1742. iconColor: '#b7b7b7',
  1743. marginTop: 10,
  1744. marginBottom: 10,
  1745. height: 'auto',
  1746. line: false,
  1747. lineColor: '#E6E8EB',
  1748. dashed: false
  1749. }
  1750. };
  1751. exports.default = _default;
  1752. /***/ }),
  1753. /***/ 1120:
  1754. /*!*******************************************************************************!*\
  1755. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/props.js ***!
  1756. \*******************************************************************************/
  1757. /*! no static exports found */
  1758. /***/ (function(module, exports, __webpack_require__) {
  1759. "use strict";
  1760. /* WEBPACK VAR INJECTION */(function(uni) {
  1761. Object.defineProperty(exports, "__esModule", {
  1762. value: true
  1763. });
  1764. exports.default = void 0;
  1765. var _default = {
  1766. props: {
  1767. // 是否展示组件
  1768. show: {
  1769. type: Boolean,
  1770. default: uni.$u.props.transition.show
  1771. },
  1772. // 使用的动画模式
  1773. mode: {
  1774. type: String,
  1775. default: uni.$u.props.transition.mode
  1776. },
  1777. // 动画的执行时间,单位ms
  1778. duration: {
  1779. type: [String, Number],
  1780. default: uni.$u.props.transition.duration
  1781. },
  1782. // 使用的动画过渡函数
  1783. timingFunction: {
  1784. type: String,
  1785. default: uni.$u.props.transition.timingFunction
  1786. }
  1787. }
  1788. };
  1789. exports.default = _default;
  1790. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  1791. /***/ }),
  1792. /***/ 1121:
  1793. /*!************************************************************************************!*\
  1794. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/transition.js ***!
  1795. \************************************************************************************/
  1796. /*! no static exports found */
  1797. /***/ (function(module, exports, __webpack_require__) {
  1798. "use strict";
  1799. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  1800. Object.defineProperty(exports, "__esModule", {
  1801. value: true
  1802. });
  1803. exports.default = void 0;
  1804. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 56));
  1805. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 58));
  1806. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 1122));
  1807. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  1808. var nextTick = function nextTick() {
  1809. return new Promise(function (resolve) {
  1810. return setTimeout(resolve, 1000 / 50);
  1811. });
  1812. };
  1813. // nvue动画模块实现细节抽离在外部文件
  1814. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  1815. var getClassNames = function getClassNames(name) {
  1816. return {
  1817. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  1818. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  1819. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  1820. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  1821. };
  1822. };
  1823. var _default = {
  1824. methods: {
  1825. // 组件被点击发出事件
  1826. clickHandler: function clickHandler() {
  1827. this.$emit('click');
  1828. },
  1829. // vue版本的组件进场处理
  1830. vueEnter: function vueEnter() {
  1831. var _this = this;
  1832. // 动画进入时的类名
  1833. var classNames = getClassNames(this.mode);
  1834. // 定义状态和发出动画进入前事件
  1835. this.status = 'enter';
  1836. this.$emit('beforeEnter');
  1837. this.inited = true;
  1838. this.display = true;
  1839. this.classes = classNames.enter;
  1840. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  1841. return _regenerator.default.wrap(function _callee$(_context) {
  1842. while (1) {
  1843. switch (_context.prev = _context.next) {
  1844. case 0:
  1845. // 标识动画尚未结束
  1846. _this.$emit('enter');
  1847. _this.transitionEnded = false;
  1848. // 组件动画进入后触发的事件
  1849. _this.$emit('afterEnter');
  1850. // 赋予组件enter-to类名
  1851. _this.classes = classNames['enter-to'];
  1852. case 4:
  1853. case "end":
  1854. return _context.stop();
  1855. }
  1856. }
  1857. }, _callee);
  1858. })));
  1859. },
  1860. // 动画离场处理
  1861. vueLeave: function vueLeave() {
  1862. var _this2 = this;
  1863. // 如果不是展示状态,无需执行逻辑
  1864. if (!this.display) return;
  1865. var classNames = getClassNames(this.mode);
  1866. // 标记离开状态和发出事件
  1867. this.status = 'leave';
  1868. this.$emit('beforeLeave');
  1869. // 获得类名
  1870. this.classes = classNames.leave;
  1871. this.$nextTick(function () {
  1872. // 动画正在离场的状态
  1873. _this2.transitionEnded = false;
  1874. _this2.$emit('leave');
  1875. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  1876. setTimeout(_this2.onTransitionEnd, _this2.duration);
  1877. _this2.classes = classNames['leave-to'];
  1878. });
  1879. },
  1880. // 完成过渡后触发
  1881. onTransitionEnd: function onTransitionEnd() {
  1882. // 如果已经是结束的状态,无需再处理
  1883. if (this.transitionEnded) return;
  1884. this.transitionEnded = true;
  1885. // 发出组件动画执行后的事件
  1886. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  1887. if (!this.show && this.display) {
  1888. this.display = false;
  1889. this.inited = false;
  1890. }
  1891. }
  1892. }
  1893. };
  1894. exports.default = _default;
  1895. /***/ }),
  1896. /***/ 1122:
  1897. /*!**************************************************************************************!*\
  1898. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-transition/nvue.ani-map.js ***!
  1899. \**************************************************************************************/
  1900. /*! no static exports found */
  1901. /***/ (function(module, exports, __webpack_require__) {
  1902. "use strict";
  1903. Object.defineProperty(exports, "__esModule", {
  1904. value: true
  1905. });
  1906. exports.default = void 0;
  1907. var _default = {
  1908. fade: {
  1909. enter: {
  1910. opacity: 0
  1911. },
  1912. 'enter-to': {
  1913. opacity: 1
  1914. },
  1915. leave: {
  1916. opacity: 1
  1917. },
  1918. 'leave-to': {
  1919. opacity: 0
  1920. }
  1921. },
  1922. 'fade-up': {
  1923. enter: {
  1924. opacity: 0,
  1925. transform: 'translateY(100%)'
  1926. },
  1927. 'enter-to': {
  1928. opacity: 1,
  1929. transform: 'translateY(0)'
  1930. },
  1931. leave: {
  1932. opacity: 1,
  1933. transform: 'translateY(0)'
  1934. },
  1935. 'leave-to': {
  1936. opacity: 0,
  1937. transform: 'translateY(100%)'
  1938. }
  1939. },
  1940. 'fade-down': {
  1941. enter: {
  1942. opacity: 0,
  1943. transform: 'translateY(-100%)'
  1944. },
  1945. 'enter-to': {
  1946. opacity: 1,
  1947. transform: 'translateY(0)'
  1948. },
  1949. leave: {
  1950. opacity: 1,
  1951. transform: 'translateY(0)'
  1952. },
  1953. 'leave-to': {
  1954. opacity: 0,
  1955. transform: 'translateY(-100%)'
  1956. }
  1957. },
  1958. 'fade-left': {
  1959. enter: {
  1960. opacity: 0,
  1961. transform: 'translateX(-100%)'
  1962. },
  1963. 'enter-to': {
  1964. opacity: 1,
  1965. transform: 'translateY(0)'
  1966. },
  1967. leave: {
  1968. opacity: 1,
  1969. transform: 'translateY(0)'
  1970. },
  1971. 'leave-to': {
  1972. opacity: 0,
  1973. transform: 'translateX(-100%)'
  1974. }
  1975. },
  1976. 'fade-right': {
  1977. enter: {
  1978. opacity: 0,
  1979. transform: 'translateX(100%)'
  1980. },
  1981. 'enter-to': {
  1982. opacity: 1,
  1983. transform: 'translateY(0)'
  1984. },
  1985. leave: {
  1986. opacity: 1,
  1987. transform: 'translateY(0)'
  1988. },
  1989. 'leave-to': {
  1990. opacity: 0,
  1991. transform: 'translateX(100%)'
  1992. }
  1993. },
  1994. 'slide-up': {
  1995. enter: {
  1996. transform: 'translateY(100%)'
  1997. },
  1998. 'enter-to': {
  1999. transform: 'translateY(0)'
  2000. },
  2001. leave: {
  2002. transform: 'translateY(0)'
  2003. },
  2004. 'leave-to': {
  2005. transform: 'translateY(100%)'
  2006. }
  2007. },
  2008. 'slide-down': {
  2009. enter: {
  2010. transform: 'translateY(-100%)'
  2011. },
  2012. 'enter-to': {
  2013. transform: 'translateY(0)'
  2014. },
  2015. leave: {
  2016. transform: 'translateY(0)'
  2017. },
  2018. 'leave-to': {
  2019. transform: 'translateY(-100%)'
  2020. }
  2021. },
  2022. 'slide-left': {
  2023. enter: {
  2024. transform: 'translateX(-100%)'
  2025. },
  2026. 'enter-to': {
  2027. transform: 'translateY(0)'
  2028. },
  2029. leave: {
  2030. transform: 'translateY(0)'
  2031. },
  2032. 'leave-to': {
  2033. transform: 'translateX(-100%)'
  2034. }
  2035. },
  2036. 'slide-right': {
  2037. enter: {
  2038. transform: 'translateX(100%)'
  2039. },
  2040. 'enter-to': {
  2041. transform: 'translateY(0)'
  2042. },
  2043. leave: {
  2044. transform: 'translateY(0)'
  2045. },
  2046. 'leave-to': {
  2047. transform: 'translateX(100%)'
  2048. }
  2049. },
  2050. zoom: {
  2051. enter: {
  2052. transform: 'scale(0.95)'
  2053. },
  2054. 'enter-to': {
  2055. transform: 'scale(1)'
  2056. },
  2057. leave: {
  2058. transform: 'scale(1)'
  2059. },
  2060. 'leave-to': {
  2061. transform: 'scale(0.95)'
  2062. }
  2063. },
  2064. 'fade-zoom': {
  2065. enter: {
  2066. opacity: 0,
  2067. transform: 'scale(0.95)'
  2068. },
  2069. 'enter-to': {
  2070. opacity: 1,
  2071. transform: 'scale(1)'
  2072. },
  2073. leave: {
  2074. opacity: 1,
  2075. transform: 'scale(1)'
  2076. },
  2077. 'leave-to': {
  2078. opacity: 0,
  2079. transform: 'scale(0.95)'
  2080. }
  2081. }
  2082. };
  2083. exports.default = _default;
  2084. /***/ }),
  2085. /***/ 113:
  2086. /*!*************************************************************************!*\
  2087. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/modal.js ***!
  2088. \*************************************************************************/
  2089. /*! no static exports found */
  2090. /***/ (function(module, exports, __webpack_require__) {
  2091. "use strict";
  2092. Object.defineProperty(exports, "__esModule", {
  2093. value: true
  2094. });
  2095. exports.default = void 0;
  2096. /*
  2097. * @Author : LQ
  2098. * @Description :
  2099. * @version : 1.0
  2100. * @Date : 2021-08-20 16:44:21
  2101. * @LastAuthor : LQ
  2102. * @lastTime : 2021-08-20 17:15:59
  2103. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  2104. */
  2105. var _default = {
  2106. // modal 组件
  2107. modal: {
  2108. show: false,
  2109. title: '',
  2110. content: '',
  2111. confirmText: '确认',
  2112. cancelText: '取消',
  2113. showConfirmButton: true,
  2114. showCancelButton: false,
  2115. confirmColor: '#2979ff',
  2116. cancelColor: '#606266',
  2117. buttonReverse: false,
  2118. zoom: true,
  2119. asyncClose: false,
  2120. closeOnClickOverlay: false,
  2121. negativeTop: 0,
  2122. width: '650rpx',
  2123. confirmButtonShape: '',
  2124. duration: 400
  2125. }
  2126. };
  2127. exports.default = _default;
  2128. /***/ }),
  2129. /***/ 114:
  2130. /*!**************************************************************************!*\
  2131. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/navbar.js ***!
  2132. \**************************************************************************/
  2133. /*! no static exports found */
  2134. /***/ (function(module, exports, __webpack_require__) {
  2135. "use strict";
  2136. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2137. Object.defineProperty(exports, "__esModule", {
  2138. value: true
  2139. });
  2140. exports.default = void 0;
  2141. var _color = _interopRequireDefault(__webpack_require__(/*! ../color */ 115));
  2142. /*
  2143. * @Author : LQ
  2144. * @Description :
  2145. * @version : 1.0
  2146. * @Date : 2021-08-20 16:44:21
  2147. * @LastAuthor : LQ
  2148. * @lastTime : 2021-08-20 17:16:18
  2149. * @FilePath : /u-view2.0/uview-ui/libs/config/props/navbar.js
  2150. */
  2151. var _default = {
  2152. // navbar 组件
  2153. navbar: {
  2154. safeAreaInsetTop: true,
  2155. placeholder: false,
  2156. fixed: true,
  2157. border: false,
  2158. leftIcon: 'arrow-left',
  2159. leftText: '',
  2160. rightText: '',
  2161. rightIcon: '',
  2162. title: '',
  2163. bgColor: '#ffffff',
  2164. titleWidth: '400rpx',
  2165. height: '44px',
  2166. leftIconSize: 20,
  2167. leftIconColor: _color.default.mainColor,
  2168. autoBack: false,
  2169. titleStyle: ''
  2170. }
  2171. };
  2172. exports.default = _default;
  2173. /***/ }),
  2174. /***/ 1144:
  2175. /*!*****************************************************************************!*\
  2176. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-textarea/props.js ***!
  2177. \*****************************************************************************/
  2178. /*! no static exports found */
  2179. /***/ (function(module, exports, __webpack_require__) {
  2180. "use strict";
  2181. /* WEBPACK VAR INJECTION */(function(uni) {
  2182. Object.defineProperty(exports, "__esModule", {
  2183. value: true
  2184. });
  2185. exports.default = void 0;
  2186. var _default = {
  2187. props: {
  2188. // 输入框的内容
  2189. value: {
  2190. type: [String, Number],
  2191. default: uni.$u.props.textarea.value
  2192. },
  2193. // 输入框为空时占位符
  2194. placeholder: {
  2195. type: [String, Number],
  2196. default: uni.$u.props.textarea.placeholder
  2197. },
  2198. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  2199. placeholderClass: {
  2200. type: String,
  2201. default: uni.$u.props.input.placeholderClass
  2202. },
  2203. // 指定placeholder的样式
  2204. placeholderStyle: {
  2205. type: [String, Object],
  2206. default: uni.$u.props.input.placeholderStyle
  2207. },
  2208. // 输入框高度
  2209. height: {
  2210. type: [String, Number],
  2211. default: uni.$u.props.textarea.height
  2212. },
  2213. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  2214. confirmType: {
  2215. type: String,
  2216. default: uni.$u.props.textarea.confirmType
  2217. },
  2218. // 是否禁用
  2219. disabled: {
  2220. type: Boolean,
  2221. default: uni.$u.props.textarea.disabled
  2222. },
  2223. // 是否显示统计字数
  2224. count: {
  2225. type: Boolean,
  2226. default: uni.$u.props.textarea.count
  2227. },
  2228. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  2229. focus: {
  2230. type: Boolean,
  2231. default: uni.$u.props.textarea.focus
  2232. },
  2233. // 是否自动增加高度
  2234. autoHeight: {
  2235. type: Boolean,
  2236. default: uni.$u.props.textarea.autoHeight
  2237. },
  2238. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  2239. fixed: {
  2240. type: Boolean,
  2241. default: uni.$u.props.textarea.fixed
  2242. },
  2243. // 指定光标与键盘的距离
  2244. cursorSpacing: {
  2245. type: Number,
  2246. default: uni.$u.props.textarea.cursorSpacing
  2247. },
  2248. // 指定focus时的光标位置
  2249. cursor: {
  2250. type: [String, Number],
  2251. default: uni.$u.props.textarea.cursor
  2252. },
  2253. // 是否显示键盘上方带有”完成“按钮那一栏,
  2254. showConfirmBar: {
  2255. type: Boolean,
  2256. default: uni.$u.props.textarea.showConfirmBar
  2257. },
  2258. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  2259. selectionStart: {
  2260. type: Number,
  2261. default: uni.$u.props.textarea.selectionStart
  2262. },
  2263. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  2264. selectionEnd: {
  2265. type: Number,
  2266. default: uni.$u.props.textarea.selectionEnd
  2267. },
  2268. // 键盘弹起时,是否自动上推页面
  2269. adjustPosition: {
  2270. type: Boolean,
  2271. default: uni.$u.props.textarea.adjustPosition
  2272. },
  2273. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  2274. disableDefaultPadding: {
  2275. type: Boolean,
  2276. default: uni.$u.props.textarea.disableDefaultPadding
  2277. },
  2278. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  2279. holdKeyboard: {
  2280. type: Boolean,
  2281. default: uni.$u.props.textarea.holdKeyboard
  2282. },
  2283. // 最大输入长度,设置为 -1 的时候不限制最大长度
  2284. maxlength: {
  2285. type: [String, Number],
  2286. default: uni.$u.props.textarea.maxlength
  2287. },
  2288. // 边框类型,surround-四周边框,bottom-底部边框
  2289. border: {
  2290. type: String,
  2291. default: uni.$u.props.textarea.border
  2292. },
  2293. // 用于处理或者过滤输入框内容的方法
  2294. formatter: {
  2295. type: [Function, null],
  2296. default: uni.$u.props.textarea.formatter
  2297. },
  2298. // 是否忽略组件内对文本合成系统事件的处理
  2299. ignoreCompositionEvent: {
  2300. type: Boolean,
  2301. default: true
  2302. }
  2303. }
  2304. };
  2305. exports.default = _default;
  2306. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  2307. /***/ }),
  2308. /***/ 115:
  2309. /*!*******************************************************************!*\
  2310. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/color.js ***!
  2311. \*******************************************************************/
  2312. /*! no static exports found */
  2313. /***/ (function(module, exports, __webpack_require__) {
  2314. "use strict";
  2315. Object.defineProperty(exports, "__esModule", {
  2316. value: true
  2317. });
  2318. exports.default = void 0;
  2319. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  2320. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  2321. var color = {
  2322. primary: '#3c9cff',
  2323. info: '#909399',
  2324. default: '#909399',
  2325. warning: '#f9ae3d',
  2326. error: '#f56c6c',
  2327. success: '#5ac725',
  2328. mainColor: '#303133',
  2329. contentColor: '#606266',
  2330. tipsColor: '#909399',
  2331. lightColor: '#c0c4cc',
  2332. borderColor: '#e4e7ed'
  2333. };
  2334. var _default = color;
  2335. exports.default = _default;
  2336. /***/ }),
  2337. /***/ 1150:
  2338. /*!***************************************************************************!*\
  2339. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/utils.js ***!
  2340. \***************************************************************************/
  2341. /*! no static exports found */
  2342. /***/ (function(module, exports, __webpack_require__) {
  2343. "use strict";
  2344. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  2345. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2346. Object.defineProperty(exports, "__esModule", {
  2347. value: true
  2348. });
  2349. exports.chooseFile = chooseFile;
  2350. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  2351. 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; }
  2352. 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; }
  2353. function pickExclude(obj, keys) {
  2354. // 某些情况下,type可能会为
  2355. if (!['[object Object]', '[object File]'].includes(Object.prototype.toString.call(obj))) {
  2356. return {};
  2357. }
  2358. return Object.keys(obj).reduce(function (prev, key) {
  2359. if (!keys.includes(key)) {
  2360. prev[key] = obj[key];
  2361. }
  2362. return prev;
  2363. }, {});
  2364. }
  2365. function formatImage(res) {
  2366. return res.tempFiles.map(function (item) {
  2367. return _objectSpread(_objectSpread({}, pickExclude(item, ['path'])), {}, {
  2368. type: 'image',
  2369. url: item.path,
  2370. thumb: item.path,
  2371. size: item.size
  2372. });
  2373. });
  2374. }
  2375. function formatVideo(res) {
  2376. return [_objectSpread(_objectSpread({}, pickExclude(res, ['tempFilePath', 'thumbTempFilePath', 'errMsg'])), {}, {
  2377. type: 'video',
  2378. url: res.tempFilePath,
  2379. thumb: res.thumbTempFilePath,
  2380. size: res.size
  2381. })];
  2382. }
  2383. function formatMedia(res) {
  2384. return res.tempFiles.map(function (item) {
  2385. return _objectSpread(_objectSpread({}, pickExclude(item, ['fileType', 'thumbTempFilePath', 'tempFilePath'])), {}, {
  2386. type: res.type,
  2387. url: item.tempFilePath,
  2388. thumb: res.type === 'video' ? item.thumbTempFilePath : item.tempFilePath,
  2389. size: item.size
  2390. });
  2391. });
  2392. }
  2393. function formatFile(res) {
  2394. return res.tempFiles.map(function (item) {
  2395. return _objectSpread(_objectSpread({}, pickExclude(item, ['path'])), {}, {
  2396. url: item.path,
  2397. size: item.size
  2398. });
  2399. });
  2400. }
  2401. function chooseFile(_ref) {
  2402. var accept = _ref.accept,
  2403. multiple = _ref.multiple,
  2404. capture = _ref.capture,
  2405. compressed = _ref.compressed,
  2406. maxDuration = _ref.maxDuration,
  2407. sizeType = _ref.sizeType,
  2408. camera = _ref.camera,
  2409. maxCount = _ref.maxCount;
  2410. return new Promise(function (resolve, reject) {
  2411. switch (accept) {
  2412. case 'image':
  2413. uni.chooseImage({
  2414. count: multiple ? Math.min(maxCount, 9) : 1,
  2415. sourceType: capture,
  2416. sizeType: sizeType,
  2417. success: function success(res) {
  2418. return resolve(formatImage(res));
  2419. },
  2420. fail: reject
  2421. });
  2422. break;
  2423. // 只有微信小程序才支持chooseMedia接口
  2424. case 'media':
  2425. wx.chooseMedia({
  2426. count: multiple ? Math.min(maxCount, 9) : 1,
  2427. sourceType: capture,
  2428. maxDuration: maxDuration,
  2429. sizeType: sizeType,
  2430. camera: camera,
  2431. success: function success(res) {
  2432. return resolve(formatMedia(res));
  2433. },
  2434. fail: reject
  2435. });
  2436. break;
  2437. case 'video':
  2438. uni.chooseVideo({
  2439. sourceType: capture,
  2440. compressed: compressed,
  2441. maxDuration: maxDuration,
  2442. camera: camera,
  2443. success: function success(res) {
  2444. return resolve(formatVideo(res));
  2445. },
  2446. fail: reject
  2447. });
  2448. break;
  2449. // 只有微信小程序才支持chooseMessageFile接口
  2450. case 'file':
  2451. wx.chooseMessageFile({
  2452. count: multiple ? maxCount : 1,
  2453. type: accept,
  2454. success: function success(res) {
  2455. return resolve(formatFile(res));
  2456. },
  2457. fail: reject
  2458. });
  2459. break;
  2460. default:
  2461. // 此为保底选项,在accept不为上面任意一项的时候选取全部文件
  2462. wx.chooseMessageFile({
  2463. count: multiple ? maxCount : 1,
  2464. type: 'all',
  2465. success: function success(res) {
  2466. return resolve(formatFile(res));
  2467. },
  2468. fail: reject
  2469. });
  2470. }
  2471. });
  2472. }
  2473. /* 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"]))
  2474. /***/ }),
  2475. /***/ 1151:
  2476. /*!***************************************************************************!*\
  2477. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/mixin.js ***!
  2478. \***************************************************************************/
  2479. /*! no static exports found */
  2480. /***/ (function(module, exports, __webpack_require__) {
  2481. "use strict";
  2482. Object.defineProperty(exports, "__esModule", {
  2483. value: true
  2484. });
  2485. exports.default = void 0;
  2486. var _default = {
  2487. watch: {
  2488. // 监听accept的变化,判断是否符合个平台要求
  2489. // 只有微信小程序才支持选择媒体,文件类型,所以这里做一个判断提示
  2490. accept: {
  2491. immediate: true,
  2492. handler: function handler(val) {}
  2493. }
  2494. }
  2495. };
  2496. exports.default = _default;
  2497. /***/ }),
  2498. /***/ 1152:
  2499. /*!***************************************************************************!*\
  2500. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-upload/props.js ***!
  2501. \***************************************************************************/
  2502. /*! no static exports found */
  2503. /***/ (function(module, exports, __webpack_require__) {
  2504. "use strict";
  2505. /* WEBPACK VAR INJECTION */(function(uni) {
  2506. Object.defineProperty(exports, "__esModule", {
  2507. value: true
  2508. });
  2509. exports.default = void 0;
  2510. var _default = {
  2511. props: {
  2512. // 接受的文件类型, 可选值为all media image file video
  2513. accept: {
  2514. type: String,
  2515. default: uni.$u.props.upload.accept
  2516. },
  2517. // 图片或视频拾取模式,当accept为image类型时设置capture可选额外camera可以直接调起摄像头
  2518. capture: {
  2519. type: [String, Array],
  2520. default: uni.$u.props.upload.capture
  2521. },
  2522. // 当accept为video时生效,是否压缩视频,默认为true
  2523. compressed: {
  2524. type: Boolean,
  2525. default: uni.$u.props.upload.compressed
  2526. },
  2527. // 当accept为video时生效,可选值为back或front
  2528. camera: {
  2529. type: String,
  2530. default: uni.$u.props.upload.camera
  2531. },
  2532. // 当accept为video时生效,拍摄视频最长拍摄时间,单位秒
  2533. maxDuration: {
  2534. type: Number,
  2535. default: uni.$u.props.upload.maxDuration
  2536. },
  2537. // 上传区域的图标,只能内置图标
  2538. uploadIcon: {
  2539. type: String,
  2540. default: uni.$u.props.upload.uploadIcon
  2541. },
  2542. // 上传区域的图标的颜色,默认
  2543. uploadIconColor: {
  2544. type: String,
  2545. default: uni.$u.props.upload.uploadIconColor
  2546. },
  2547. // 是否开启文件读取前事件
  2548. useBeforeRead: {
  2549. type: Boolean,
  2550. default: uni.$u.props.upload.useBeforeRead
  2551. },
  2552. // 读取后的处理函数
  2553. afterRead: {
  2554. type: Function,
  2555. default: null
  2556. },
  2557. // 读取前的处理函数
  2558. beforeRead: {
  2559. type: Function,
  2560. default: null
  2561. },
  2562. // 是否显示组件自带的图片预览功能
  2563. previewFullImage: {
  2564. type: Boolean,
  2565. default: uni.$u.props.upload.previewFullImage
  2566. },
  2567. // 最大上传数量
  2568. maxCount: {
  2569. type: [String, Number],
  2570. default: uni.$u.props.upload.maxCount
  2571. },
  2572. // 是否启用
  2573. disabled: {
  2574. type: Boolean,
  2575. default: uni.$u.props.upload.disabled
  2576. },
  2577. // 预览上传的图片时的裁剪模式,和image组件mode属性一致
  2578. imageMode: {
  2579. type: String,
  2580. default: uni.$u.props.upload.imageMode
  2581. },
  2582. // 标识符,可以在回调函数的第二项参数中获取
  2583. name: {
  2584. type: String,
  2585. default: uni.$u.props.upload.name
  2586. },
  2587. // 所选的图片的尺寸, 可选值为original compressed
  2588. sizeType: {
  2589. type: Array,
  2590. default: uni.$u.props.upload.sizeType
  2591. },
  2592. // 是否开启图片多选,部分安卓机型不支持
  2593. multiple: {
  2594. type: Boolean,
  2595. default: uni.$u.props.upload.multiple
  2596. },
  2597. // 是否展示删除按钮
  2598. deletable: {
  2599. type: Boolean,
  2600. default: uni.$u.props.upload.deletable
  2601. },
  2602. // 文件大小限制,单位为byte
  2603. maxSize: {
  2604. type: [String, Number],
  2605. default: uni.$u.props.upload.maxSize
  2606. },
  2607. // 显示已上传的文件列表
  2608. fileList: {
  2609. type: Array,
  2610. default: uni.$u.props.upload.fileList
  2611. },
  2612. // 上传区域的提示文字
  2613. uploadText: {
  2614. type: String,
  2615. default: uni.$u.props.upload.uploadText
  2616. },
  2617. // 内部预览图片区域和选择图片按钮的区域宽度
  2618. width: {
  2619. type: [String, Number],
  2620. default: uni.$u.props.upload.width
  2621. },
  2622. // 内部预览图片区域和选择图片按钮的区域高度
  2623. height: {
  2624. type: [String, Number],
  2625. default: uni.$u.props.upload.height
  2626. },
  2627. // 是否在上传完成后展示预览图
  2628. previewImage: {
  2629. type: Boolean,
  2630. default: uni.$u.props.upload.previewImage
  2631. }
  2632. }
  2633. };
  2634. exports.default = _default;
  2635. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  2636. /***/ }),
  2637. /***/ 116:
  2638. /*!*****************************************************************************!*\
  2639. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/noNetwork.js ***!
  2640. \*****************************************************************************/
  2641. /*! no static exports found */
  2642. /***/ (function(module, exports, __webpack_require__) {
  2643. "use strict";
  2644. Object.defineProperty(exports, "__esModule", {
  2645. value: true
  2646. });
  2647. exports.default = void 0;
  2648. /*
  2649. * @Author : LQ
  2650. * @Description :
  2651. * @version : 1.0
  2652. * @Date : 2021-08-20 16:44:21
  2653. * @LastAuthor : LQ
  2654. * @lastTime : 2021-08-20 17:16:39
  2655. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noNetwork.js
  2656. */
  2657. var _default = {
  2658. // noNetwork
  2659. noNetwork: {
  2660. tips: '哎呀,网络信号丢失',
  2661. zIndex: '',
  2662. image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC'
  2663. }
  2664. };
  2665. exports.default = _default;
  2666. /***/ }),
  2667. /***/ 117:
  2668. /*!*****************************************************************************!*\
  2669. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/noticeBar.js ***!
  2670. \*****************************************************************************/
  2671. /*! no static exports found */
  2672. /***/ (function(module, exports, __webpack_require__) {
  2673. "use strict";
  2674. Object.defineProperty(exports, "__esModule", {
  2675. value: true
  2676. });
  2677. exports.default = void 0;
  2678. /*
  2679. * @Author : LQ
  2680. * @Description :
  2681. * @version : 1.0
  2682. * @Date : 2021-08-20 16:44:21
  2683. * @LastAuthor : LQ
  2684. * @lastTime : 2021-08-20 17:17:13
  2685. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noticeBar.js
  2686. */
  2687. var _default = {
  2688. // noticeBar
  2689. noticeBar: {
  2690. text: function text() {
  2691. return [];
  2692. },
  2693. direction: 'row',
  2694. step: false,
  2695. icon: 'volume',
  2696. mode: '',
  2697. color: '#f9ae3d',
  2698. bgColor: '#fdf6ec',
  2699. speed: 80,
  2700. fontSize: 14,
  2701. duration: 2000,
  2702. disableTouch: true,
  2703. url: '',
  2704. linkType: 'navigateTo'
  2705. }
  2706. };
  2707. exports.default = _default;
  2708. /***/ }),
  2709. /***/ 118:
  2710. /*!**************************************************************************!*\
  2711. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/notify.js ***!
  2712. \**************************************************************************/
  2713. /*! no static exports found */
  2714. /***/ (function(module, exports, __webpack_require__) {
  2715. "use strict";
  2716. Object.defineProperty(exports, "__esModule", {
  2717. value: true
  2718. });
  2719. exports.default = void 0;
  2720. /*
  2721. * @Author : LQ
  2722. * @Description :
  2723. * @version : 1.0
  2724. * @Date : 2021-08-20 16:44:21
  2725. * @LastAuthor : LQ
  2726. * @lastTime : 2021-08-20 17:10:21
  2727. * @FilePath : /u-view2.0/uview-ui/libs/config/props/notify.js
  2728. */
  2729. var _default = {
  2730. // notify组件
  2731. notify: {
  2732. top: 0,
  2733. type: 'primary',
  2734. color: '#ffffff',
  2735. bgColor: '',
  2736. message: '',
  2737. duration: 3000,
  2738. fontSize: 15,
  2739. safeAreaInsetTop: false
  2740. }
  2741. };
  2742. exports.default = _default;
  2743. /***/ }),
  2744. /***/ 119:
  2745. /*!*****************************************************************************!*\
  2746. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/numberBox.js ***!
  2747. \*****************************************************************************/
  2748. /*! no static exports found */
  2749. /***/ (function(module, exports, __webpack_require__) {
  2750. "use strict";
  2751. Object.defineProperty(exports, "__esModule", {
  2752. value: true
  2753. });
  2754. exports.default = void 0;
  2755. /*
  2756. * @Author : LQ
  2757. * @Description :
  2758. * @version : 1.0
  2759. * @Date : 2021-08-20 16:44:21
  2760. * @LastAuthor : LQ
  2761. * @lastTime : 2021-08-20 17:11:46
  2762. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
  2763. */
  2764. var _default = {
  2765. // 步进器组件
  2766. numberBox: {
  2767. name: '',
  2768. value: 0,
  2769. min: 1,
  2770. max: Number.MAX_SAFE_INTEGER,
  2771. step: 1,
  2772. integer: false,
  2773. disabled: false,
  2774. disabledInput: false,
  2775. asyncChange: false,
  2776. inputWidth: 35,
  2777. showMinus: true,
  2778. showPlus: true,
  2779. decimalLength: null,
  2780. longPress: true,
  2781. color: '#323233',
  2782. buttonSize: 30,
  2783. bgColor: '#EBECEE',
  2784. cursorSpacing: 100,
  2785. disableMinus: false,
  2786. disablePlus: false,
  2787. iconStyle: ''
  2788. }
  2789. };
  2790. exports.default = _default;
  2791. /***/ }),
  2792. /***/ 12:
  2793. /*!**************************************************************!*\
  2794. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2795. \**************************************************************/
  2796. /*! no static exports found */
  2797. /***/ (function(module, exports, __webpack_require__) {
  2798. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2799. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2800. function toPropertyKey(t) {
  2801. var i = toPrimitive(t, "string");
  2802. return "symbol" == _typeof(i) ? i : i + "";
  2803. }
  2804. module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2805. /***/ }),
  2806. /***/ 120:
  2807. /*!**********************************************************************************!*\
  2808. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/numberKeyboard.js ***!
  2809. \**********************************************************************************/
  2810. /*! no static exports found */
  2811. /***/ (function(module, exports, __webpack_require__) {
  2812. "use strict";
  2813. Object.defineProperty(exports, "__esModule", {
  2814. value: true
  2815. });
  2816. exports.default = void 0;
  2817. /*
  2818. * @Author : LQ
  2819. * @Description :
  2820. * @version : 1.0
  2821. * @Date : 2021-08-20 16:44:21
  2822. * @LastAuthor : LQ
  2823. * @lastTime : 2021-08-20 17:08:05
  2824. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberKeyboard.js
  2825. */
  2826. var _default = {
  2827. // 数字键盘
  2828. numberKeyboard: {
  2829. mode: 'number',
  2830. dotDisabled: false,
  2831. random: false
  2832. }
  2833. };
  2834. exports.default = _default;
  2835. /***/ }),
  2836. /***/ 121:
  2837. /*!***************************************************************************!*\
  2838. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/overlay.js ***!
  2839. \***************************************************************************/
  2840. /*! no static exports found */
  2841. /***/ (function(module, exports, __webpack_require__) {
  2842. "use strict";
  2843. Object.defineProperty(exports, "__esModule", {
  2844. value: true
  2845. });
  2846. exports.default = void 0;
  2847. /*
  2848. * @Author : LQ
  2849. * @Description :
  2850. * @version : 1.0
  2851. * @Date : 2021-08-20 16:44:21
  2852. * @LastAuthor : LQ
  2853. * @lastTime : 2021-08-20 17:06:50
  2854. * @FilePath : /u-view2.0/uview-ui/libs/config/props/overlay.js
  2855. */
  2856. var _default = {
  2857. // overlay组件
  2858. overlay: {
  2859. show: false,
  2860. zIndex: 10070,
  2861. duration: 300,
  2862. opacity: 0.5
  2863. }
  2864. };
  2865. exports.default = _default;
  2866. /***/ }),
  2867. /***/ 122:
  2868. /*!*************************************************************************!*\
  2869. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/parse.js ***!
  2870. \*************************************************************************/
  2871. /*! no static exports found */
  2872. /***/ (function(module, exports, __webpack_require__) {
  2873. "use strict";
  2874. Object.defineProperty(exports, "__esModule", {
  2875. value: true
  2876. });
  2877. exports.default = void 0;
  2878. /*
  2879. * @Author : LQ
  2880. * @Description :
  2881. * @version : 1.0
  2882. * @Date : 2021-08-20 16:44:21
  2883. * @LastAuthor : LQ
  2884. * @lastTime : 2021-08-20 17:17:33
  2885. * @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
  2886. */
  2887. var _default = {
  2888. // parse
  2889. parse: {
  2890. copyLink: true,
  2891. errorImg: '',
  2892. lazyLoad: false,
  2893. loadingImg: '',
  2894. pauseVideo: true,
  2895. previewImg: true,
  2896. setTitle: true,
  2897. showImgMenu: true
  2898. }
  2899. };
  2900. exports.default = _default;
  2901. /***/ }),
  2902. /***/ 123:
  2903. /*!**************************************************************************!*\
  2904. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/picker.js ***!
  2905. \**************************************************************************/
  2906. /*! no static exports found */
  2907. /***/ (function(module, exports, __webpack_require__) {
  2908. "use strict";
  2909. Object.defineProperty(exports, "__esModule", {
  2910. value: true
  2911. });
  2912. exports.default = void 0;
  2913. /*
  2914. * @Author : LQ
  2915. * @Description :
  2916. * @version : 1.0
  2917. * @Date : 2021-08-20 16:44:21
  2918. * @LastAuthor : LQ
  2919. * @lastTime : 2021-08-20 17:18:20
  2920. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  2921. */
  2922. var _default = {
  2923. // picker
  2924. picker: {
  2925. show: false,
  2926. showToolbar: true,
  2927. title: '',
  2928. columns: function columns() {
  2929. return [];
  2930. },
  2931. loading: false,
  2932. itemHeight: 44,
  2933. cancelText: '取消',
  2934. confirmText: '确定',
  2935. cancelColor: '#909193',
  2936. confirmColor: '#3c9cff',
  2937. visibleItemCount: 5,
  2938. keyName: 'text',
  2939. closeOnClickOverlay: false,
  2940. defaultIndex: function defaultIndex() {
  2941. return [];
  2942. },
  2943. immediateChange: false
  2944. }
  2945. };
  2946. exports.default = _default;
  2947. /***/ }),
  2948. /***/ 124:
  2949. /*!*************************************************************************!*\
  2950. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/popup.js ***!
  2951. \*************************************************************************/
  2952. /*! no static exports found */
  2953. /***/ (function(module, exports, __webpack_require__) {
  2954. "use strict";
  2955. Object.defineProperty(exports, "__esModule", {
  2956. value: true
  2957. });
  2958. exports.default = void 0;
  2959. /*
  2960. * @Author : LQ
  2961. * @Description :
  2962. * @version : 1.0
  2963. * @Date : 2021-08-20 16:44:21
  2964. * @LastAuthor : LQ
  2965. * @lastTime : 2021-08-20 17:06:33
  2966. * @FilePath : /u-view2.0/uview-ui/libs/config/props/popup.js
  2967. */
  2968. var _default = {
  2969. // popup组件
  2970. popup: {
  2971. show: false,
  2972. overlay: true,
  2973. mode: 'bottom',
  2974. duration: 300,
  2975. closeable: false,
  2976. overlayStyle: function overlayStyle() {},
  2977. closeOnClickOverlay: true,
  2978. zIndex: 10075,
  2979. safeAreaInsetBottom: true,
  2980. safeAreaInsetTop: false,
  2981. closeIconPos: 'top-right',
  2982. round: 0,
  2983. zoom: true,
  2984. bgColor: '',
  2985. overlayOpacity: 0.5
  2986. }
  2987. };
  2988. exports.default = _default;
  2989. /***/ }),
  2990. /***/ 125:
  2991. /*!*************************************************************************!*\
  2992. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/radio.js ***!
  2993. \*************************************************************************/
  2994. /*! no static exports found */
  2995. /***/ (function(module, exports, __webpack_require__) {
  2996. "use strict";
  2997. Object.defineProperty(exports, "__esModule", {
  2998. value: true
  2999. });
  3000. exports.default = void 0;
  3001. /*
  3002. * @Author : LQ
  3003. * @Description :
  3004. * @version : 1.0
  3005. * @Date : 2021-08-20 16:44:21
  3006. * @LastAuthor : LQ
  3007. * @lastTime : 2021-08-20 17:02:34
  3008. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radio.js
  3009. */
  3010. var _default = {
  3011. // radio组件
  3012. radio: {
  3013. name: '',
  3014. shape: '',
  3015. disabled: '',
  3016. labelDisabled: '',
  3017. activeColor: '',
  3018. inactiveColor: '',
  3019. iconSize: '',
  3020. labelSize: '',
  3021. label: '',
  3022. labelColor: '',
  3023. size: '',
  3024. iconColor: '',
  3025. placement: ''
  3026. }
  3027. };
  3028. exports.default = _default;
  3029. /***/ }),
  3030. /***/ 126:
  3031. /*!******************************************************************************!*\
  3032. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/radioGroup.js ***!
  3033. \******************************************************************************/
  3034. /*! no static exports found */
  3035. /***/ (function(module, exports, __webpack_require__) {
  3036. "use strict";
  3037. Object.defineProperty(exports, "__esModule", {
  3038. value: true
  3039. });
  3040. exports.default = void 0;
  3041. /*
  3042. * @Author : LQ
  3043. * @Description :
  3044. * @version : 1.0
  3045. * @Date : 2021-08-20 16:44:21
  3046. * @LastAuthor : LQ
  3047. * @lastTime : 2021-08-20 17:03:12
  3048. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radioGroup.js
  3049. */
  3050. var _default = {
  3051. // radio-group组件
  3052. radioGroup: {
  3053. value: '',
  3054. disabled: false,
  3055. shape: 'circle',
  3056. activeColor: '#2979ff',
  3057. inactiveColor: '#c8c9cc',
  3058. name: '',
  3059. size: 18,
  3060. placement: 'row',
  3061. label: '',
  3062. labelColor: '#303133',
  3063. labelSize: 14,
  3064. labelDisabled: false,
  3065. iconColor: '#ffffff',
  3066. iconSize: 12,
  3067. borderBottom: false,
  3068. iconPlacement: 'left'
  3069. }
  3070. };
  3071. exports.default = _default;
  3072. /***/ }),
  3073. /***/ 127:
  3074. /*!************************************************************************!*\
  3075. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/rate.js ***!
  3076. \************************************************************************/
  3077. /*! no static exports found */
  3078. /***/ (function(module, exports, __webpack_require__) {
  3079. "use strict";
  3080. Object.defineProperty(exports, "__esModule", {
  3081. value: true
  3082. });
  3083. exports.default = void 0;
  3084. /*
  3085. * @Author : LQ
  3086. * @Description :
  3087. * @version : 1.0
  3088. * @Date : 2021-08-20 16:44:21
  3089. * @LastAuthor : LQ
  3090. * @lastTime : 2021-08-20 17:05:09
  3091. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rate.js
  3092. */
  3093. var _default = {
  3094. // rate组件
  3095. rate: {
  3096. value: 1,
  3097. count: 5,
  3098. disabled: false,
  3099. size: 18,
  3100. inactiveColor: '#b2b2b2',
  3101. activeColor: '#FA3534',
  3102. gutter: 4,
  3103. minCount: 1,
  3104. allowHalf: false,
  3105. activeIcon: 'star-fill',
  3106. inactiveIcon: 'star',
  3107. touchable: true
  3108. }
  3109. };
  3110. exports.default = _default;
  3111. /***/ }),
  3112. /***/ 128:
  3113. /*!****************************************************************************!*\
  3114. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/readMore.js ***!
  3115. \****************************************************************************/
  3116. /*! no static exports found */
  3117. /***/ (function(module, exports, __webpack_require__) {
  3118. "use strict";
  3119. Object.defineProperty(exports, "__esModule", {
  3120. value: true
  3121. });
  3122. exports.default = void 0;
  3123. /*
  3124. * @Author : LQ
  3125. * @Description :
  3126. * @version : 1.0
  3127. * @Date : 2021-08-20 16:44:21
  3128. * @LastAuthor : LQ
  3129. * @lastTime : 2021-08-20 17:18:41
  3130. * @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
  3131. */
  3132. var _default = {
  3133. // readMore
  3134. readMore: {
  3135. showHeight: 400,
  3136. toggle: false,
  3137. closeText: '展开阅读全文',
  3138. openText: '收起',
  3139. color: '#2979ff',
  3140. fontSize: 14,
  3141. textIndent: '2em',
  3142. name: ''
  3143. }
  3144. };
  3145. exports.default = _default;
  3146. /***/ }),
  3147. /***/ 129:
  3148. /*!***********************************************************************!*\
  3149. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/row.js ***!
  3150. \***********************************************************************/
  3151. /*! no static exports found */
  3152. /***/ (function(module, exports, __webpack_require__) {
  3153. "use strict";
  3154. Object.defineProperty(exports, "__esModule", {
  3155. value: true
  3156. });
  3157. exports.default = void 0;
  3158. /*
  3159. * @Author : LQ
  3160. * @Description :
  3161. * @version : 1.0
  3162. * @Date : 2021-08-20 16:44:21
  3163. * @LastAuthor : LQ
  3164. * @lastTime : 2021-08-20 17:18:58
  3165. * @FilePath : /u-view2.0/uview-ui/libs/config/props/row.js
  3166. */
  3167. var _default = {
  3168. // row
  3169. row: {
  3170. gutter: 0,
  3171. justify: 'start',
  3172. align: 'center'
  3173. }
  3174. };
  3175. exports.default = _default;
  3176. /***/ }),
  3177. /***/ 13:
  3178. /*!*******************************************************!*\
  3179. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  3180. \*******************************************************/
  3181. /*! no static exports found */
  3182. /***/ (function(module, exports) {
  3183. function _typeof(o) {
  3184. "@babel/helpers - typeof";
  3185. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
  3186. return typeof o;
  3187. } : function (o) {
  3188. return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  3189. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
  3190. }
  3191. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3192. /***/ }),
  3193. /***/ 130:
  3194. /*!*****************************************************************************!*\
  3195. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/rowNotice.js ***!
  3196. \*****************************************************************************/
  3197. /*! no static exports found */
  3198. /***/ (function(module, exports, __webpack_require__) {
  3199. "use strict";
  3200. Object.defineProperty(exports, "__esModule", {
  3201. value: true
  3202. });
  3203. exports.default = void 0;
  3204. /*
  3205. * @Author : LQ
  3206. * @Description :
  3207. * @version : 1.0
  3208. * @Date : 2021-08-20 16:44:21
  3209. * @LastAuthor : LQ
  3210. * @lastTime : 2021-08-20 17:19:13
  3211. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rowNotice.js
  3212. */
  3213. var _default = {
  3214. // rowNotice
  3215. rowNotice: {
  3216. text: '',
  3217. icon: 'volume',
  3218. mode: '',
  3219. color: '#f9ae3d',
  3220. bgColor: '#fdf6ec',
  3221. fontSize: 14,
  3222. speed: 80
  3223. }
  3224. };
  3225. exports.default = _default;
  3226. /***/ }),
  3227. /***/ 1307:
  3228. /*!*******************************************************************************!*\
  3229. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-status-bar/props.js ***!
  3230. \*******************************************************************************/
  3231. /*! no static exports found */
  3232. /***/ (function(module, exports, __webpack_require__) {
  3233. "use strict";
  3234. /* WEBPACK VAR INJECTION */(function(uni) {
  3235. Object.defineProperty(exports, "__esModule", {
  3236. value: true
  3237. });
  3238. exports.default = void 0;
  3239. var _default = {
  3240. props: {
  3241. bgColor: {
  3242. type: String,
  3243. default: uni.$u.props.statusBar.bgColor
  3244. }
  3245. }
  3246. };
  3247. exports.default = _default;
  3248. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3249. /***/ }),
  3250. /***/ 131:
  3251. /*!******************************************************************************!*\
  3252. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/scrollList.js ***!
  3253. \******************************************************************************/
  3254. /*! no static exports found */
  3255. /***/ (function(module, exports, __webpack_require__) {
  3256. "use strict";
  3257. Object.defineProperty(exports, "__esModule", {
  3258. value: true
  3259. });
  3260. exports.default = void 0;
  3261. /*
  3262. * @Author : LQ
  3263. * @Description :
  3264. * @version : 1.0
  3265. * @Date : 2021-08-20 16:44:21
  3266. * @LastAuthor : LQ
  3267. * @lastTime : 2021-08-20 17:19:28
  3268. * @FilePath : /u-view2.0/uview-ui/libs/config/props/scrollList.js
  3269. */
  3270. var _default = {
  3271. // scrollList
  3272. scrollList: {
  3273. indicatorWidth: 50,
  3274. indicatorBarWidth: 20,
  3275. indicator: true,
  3276. indicatorColor: '#f2f2f2',
  3277. indicatorActiveColor: '#3c9cff',
  3278. indicatorStyle: ''
  3279. }
  3280. };
  3281. exports.default = _default;
  3282. /***/ }),
  3283. /***/ 1315:
  3284. /*!*********************************************************************************!*\
  3285. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-loading-icon/props.js ***!
  3286. \*********************************************************************************/
  3287. /*! no static exports found */
  3288. /***/ (function(module, exports, __webpack_require__) {
  3289. "use strict";
  3290. /* WEBPACK VAR INJECTION */(function(uni) {
  3291. Object.defineProperty(exports, "__esModule", {
  3292. value: true
  3293. });
  3294. exports.default = void 0;
  3295. var _default = {
  3296. props: {
  3297. // 是否显示组件
  3298. show: {
  3299. type: Boolean,
  3300. default: uni.$u.props.loadingIcon.show
  3301. },
  3302. // 颜色
  3303. color: {
  3304. type: String,
  3305. default: uni.$u.props.loadingIcon.color
  3306. },
  3307. // 提示文字颜色
  3308. textColor: {
  3309. type: String,
  3310. default: uni.$u.props.loadingIcon.textColor
  3311. },
  3312. // 文字和图标是否垂直排列
  3313. vertical: {
  3314. type: Boolean,
  3315. default: uni.$u.props.loadingIcon.vertical
  3316. },
  3317. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  3318. mode: {
  3319. type: String,
  3320. default: uni.$u.props.loadingIcon.mode
  3321. },
  3322. // 图标大小,单位默认px
  3323. size: {
  3324. type: [String, Number],
  3325. default: uni.$u.props.loadingIcon.size
  3326. },
  3327. // 文字大小
  3328. textSize: {
  3329. type: [String, Number],
  3330. default: uni.$u.props.loadingIcon.textSize
  3331. },
  3332. // 文字内容
  3333. text: {
  3334. type: [String, Number],
  3335. default: uni.$u.props.loadingIcon.text
  3336. },
  3337. // 动画模式
  3338. timingFunction: {
  3339. type: String,
  3340. default: uni.$u.props.loadingIcon.timingFunction
  3341. },
  3342. // 动画执行周期时间
  3343. duration: {
  3344. type: [String, Number],
  3345. default: uni.$u.props.loadingIcon.duration
  3346. },
  3347. // mode=circle时的暗边颜色
  3348. inactiveColor: {
  3349. type: String,
  3350. default: uni.$u.props.loadingIcon.inactiveColor
  3351. }
  3352. }
  3353. };
  3354. exports.default = _default;
  3355. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3356. /***/ }),
  3357. /***/ 132:
  3358. /*!**************************************************************************!*\
  3359. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/search.js ***!
  3360. \**************************************************************************/
  3361. /*! no static exports found */
  3362. /***/ (function(module, exports, __webpack_require__) {
  3363. "use strict";
  3364. Object.defineProperty(exports, "__esModule", {
  3365. value: true
  3366. });
  3367. exports.default = void 0;
  3368. /*
  3369. * @Author : LQ
  3370. * @Description :
  3371. * @version : 1.0
  3372. * @Date : 2021-08-20 16:44:21
  3373. * @LastAuthor : LQ
  3374. * @lastTime : 2021-08-20 17:19:45
  3375. * @FilePath : /u-view2.0/uview-ui/libs/config/props/search.js
  3376. */
  3377. var _default = {
  3378. // search
  3379. search: {
  3380. shape: 'round',
  3381. bgColor: '#f2f2f2',
  3382. placeholder: '请输入关键字',
  3383. clearabled: true,
  3384. focus: false,
  3385. showAction: true,
  3386. actionStyle: function actionStyle() {
  3387. return {};
  3388. },
  3389. actionText: '搜索',
  3390. inputAlign: 'left',
  3391. inputStyle: function inputStyle() {
  3392. return {};
  3393. },
  3394. disabled: false,
  3395. borderColor: 'transparent',
  3396. searchIconColor: '#909399',
  3397. searchIconSize: 22,
  3398. color: '#606266',
  3399. placeholderColor: '#909399',
  3400. searchIcon: 'search',
  3401. margin: '0',
  3402. animation: false,
  3403. value: '',
  3404. maxlength: '-1',
  3405. height: 32,
  3406. label: null
  3407. }
  3408. };
  3409. exports.default = _default;
  3410. /***/ }),
  3411. /***/ 1323:
  3412. /*!*************************************************************************************!*\
  3413. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swiper-indicator/props.js ***!
  3414. \*************************************************************************************/
  3415. /*! no static exports found */
  3416. /***/ (function(module, exports, __webpack_require__) {
  3417. "use strict";
  3418. /* WEBPACK VAR INJECTION */(function(uni) {
  3419. Object.defineProperty(exports, "__esModule", {
  3420. value: true
  3421. });
  3422. exports.default = void 0;
  3423. var _default = {
  3424. props: {
  3425. // 轮播的长度
  3426. length: {
  3427. type: [String, Number],
  3428. default: uni.$u.props.swiperIndicator.length
  3429. },
  3430. // 当前处于活动状态的轮播的索引
  3431. current: {
  3432. type: [String, Number],
  3433. default: uni.$u.props.swiperIndicator.current
  3434. },
  3435. // 指示器非激活颜色
  3436. indicatorActiveColor: {
  3437. type: String,
  3438. default: uni.$u.props.swiperIndicator.indicatorActiveColor
  3439. },
  3440. // 指示器的激活颜色
  3441. indicatorInactiveColor: {
  3442. type: String,
  3443. default: uni.$u.props.swiperIndicator.indicatorInactiveColor
  3444. },
  3445. // 指示器模式,line-线型,dot-点型
  3446. indicatorMode: {
  3447. type: String,
  3448. default: uni.$u.props.swiperIndicator.indicatorMode
  3449. }
  3450. }
  3451. };
  3452. exports.default = _default;
  3453. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3454. /***/ }),
  3455. /***/ 133:
  3456. /*!***************************************************************************!*\
  3457. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/section.js ***!
  3458. \***************************************************************************/
  3459. /*! no static exports found */
  3460. /***/ (function(module, exports, __webpack_require__) {
  3461. "use strict";
  3462. Object.defineProperty(exports, "__esModule", {
  3463. value: true
  3464. });
  3465. exports.default = void 0;
  3466. /*
  3467. * @Author : LQ
  3468. * @Description :
  3469. * @version : 1.0
  3470. * @Date : 2021-08-20 16:44:21
  3471. * @LastAuthor : LQ
  3472. * @lastTime : 2021-08-20 17:07:33
  3473. * @FilePath : /u-view2.0/uview-ui/libs/config/props/section.js
  3474. */
  3475. var _default = {
  3476. // u-section组件
  3477. section: {
  3478. title: '',
  3479. subTitle: '更多',
  3480. right: true,
  3481. fontSize: 15,
  3482. bold: true,
  3483. color: '#303133',
  3484. subColor: '#909399',
  3485. showLine: true,
  3486. lineColor: '',
  3487. arrow: true
  3488. }
  3489. };
  3490. exports.default = _default;
  3491. /***/ }),
  3492. /***/ 1331:
  3493. /*!****************************************************************************!*\
  3494. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-overlay/props.js ***!
  3495. \****************************************************************************/
  3496. /*! no static exports found */
  3497. /***/ (function(module, exports, __webpack_require__) {
  3498. "use strict";
  3499. /* WEBPACK VAR INJECTION */(function(uni) {
  3500. Object.defineProperty(exports, "__esModule", {
  3501. value: true
  3502. });
  3503. exports.default = void 0;
  3504. var _default = {
  3505. props: {
  3506. // 是否显示遮罩
  3507. show: {
  3508. type: Boolean,
  3509. default: uni.$u.props.overlay.show
  3510. },
  3511. // 层级z-index
  3512. zIndex: {
  3513. type: [String, Number],
  3514. default: uni.$u.props.overlay.zIndex
  3515. },
  3516. // 遮罩的过渡时间,单位为ms
  3517. duration: {
  3518. type: [String, Number],
  3519. default: uni.$u.props.overlay.duration
  3520. },
  3521. // 不透明度值,当做rgba的第四个参数
  3522. opacity: {
  3523. type: [String, Number],
  3524. default: uni.$u.props.overlay.opacity
  3525. }
  3526. }
  3527. };
  3528. exports.default = _default;
  3529. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3530. /***/ }),
  3531. /***/ 1339:
  3532. /*!********************************************************************************!*\
  3533. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-safe-bottom/props.js ***!
  3534. \********************************************************************************/
  3535. /*! no static exports found */
  3536. /***/ (function(module, exports, __webpack_require__) {
  3537. "use strict";
  3538. Object.defineProperty(exports, "__esModule", {
  3539. value: true
  3540. });
  3541. exports.default = void 0;
  3542. var _default = {
  3543. props: {}
  3544. };
  3545. exports.default = _default;
  3546. /***/ }),
  3547. /***/ 134:
  3548. /*!****************************************************************************!*\
  3549. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/skeleton.js ***!
  3550. \****************************************************************************/
  3551. /*! no static exports found */
  3552. /***/ (function(module, exports, __webpack_require__) {
  3553. "use strict";
  3554. Object.defineProperty(exports, "__esModule", {
  3555. value: true
  3556. });
  3557. exports.default = void 0;
  3558. /*
  3559. * @Author : LQ
  3560. * @Description :
  3561. * @version : 1.0
  3562. * @Date : 2021-08-20 16:44:21
  3563. * @LastAuthor : LQ
  3564. * @lastTime : 2021-08-20 17:20:14
  3565. * @FilePath : /u-view2.0/uview-ui/libs/config/props/skeleton.js
  3566. */
  3567. var _default = {
  3568. // skeleton
  3569. skeleton: {
  3570. loading: true,
  3571. animate: true,
  3572. rows: 0,
  3573. rowsWidth: '100%',
  3574. rowsHeight: 18,
  3575. title: true,
  3576. titleWidth: '50%',
  3577. titleHeight: 18,
  3578. avatar: false,
  3579. avatarSize: 32,
  3580. avatarShape: 'circle'
  3581. }
  3582. };
  3583. exports.default = _default;
  3584. /***/ }),
  3585. /***/ 1347:
  3586. /*!***************************************************************************!*\
  3587. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabbar/props.js ***!
  3588. \***************************************************************************/
  3589. /*! no static exports found */
  3590. /***/ (function(module, exports, __webpack_require__) {
  3591. "use strict";
  3592. /* WEBPACK VAR INJECTION */(function(uni) {
  3593. Object.defineProperty(exports, "__esModule", {
  3594. value: true
  3595. });
  3596. exports.default = void 0;
  3597. var _default = {
  3598. props: {
  3599. // 当前匹配项的name
  3600. value: {
  3601. type: [String, Number, null],
  3602. default: uni.$u.props.tabbar.value
  3603. },
  3604. // 是否为iPhoneX留出底部安全距离
  3605. safeAreaInsetBottom: {
  3606. type: Boolean,
  3607. default: uni.$u.props.tabbar.safeAreaInsetBottom
  3608. },
  3609. // 是否显示上方边框
  3610. border: {
  3611. type: Boolean,
  3612. default: uni.$u.props.tabbar.border
  3613. },
  3614. // 元素层级z-index
  3615. zIndex: {
  3616. type: [String, Number],
  3617. default: uni.$u.props.tabbar.zIndex
  3618. },
  3619. // 选中标签的颜色
  3620. activeColor: {
  3621. type: String,
  3622. default: uni.$u.props.tabbar.activeColor
  3623. },
  3624. // 未选中标签的颜色
  3625. inactiveColor: {
  3626. type: String,
  3627. default: uni.$u.props.tabbar.inactiveColor
  3628. },
  3629. // 是否固定在底部
  3630. fixed: {
  3631. type: Boolean,
  3632. default: uni.$u.props.tabbar.fixed
  3633. },
  3634. // fixed定位固定在底部时,是否生成一个等高元素防止塌陷
  3635. placeholder: {
  3636. type: Boolean,
  3637. default: uni.$u.props.tabbar.placeholder
  3638. }
  3639. }
  3640. };
  3641. exports.default = _default;
  3642. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3643. /***/ }),
  3644. /***/ 135:
  3645. /*!**************************************************************************!*\
  3646. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/slider.js ***!
  3647. \**************************************************************************/
  3648. /*! no static exports found */
  3649. /***/ (function(module, exports, __webpack_require__) {
  3650. "use strict";
  3651. Object.defineProperty(exports, "__esModule", {
  3652. value: true
  3653. });
  3654. exports.default = void 0;
  3655. /*
  3656. * @Author : LQ
  3657. * @Description :
  3658. * @version : 1.0
  3659. * @Date : 2021-08-20 16:44:21
  3660. * @LastAuthor : LQ
  3661. * @lastTime : 2021-08-20 17:08:25
  3662. * @FilePath : /u-view2.0/uview-ui/libs/config/props/slider.js
  3663. */
  3664. var _default = {
  3665. // slider组件
  3666. slider: {
  3667. value: 0,
  3668. blockSize: 18,
  3669. min: 0,
  3670. max: 100,
  3671. step: 1,
  3672. activeColor: '#2979ff',
  3673. inactiveColor: '#c0c4cc',
  3674. blockColor: '#ffffff',
  3675. showValue: false,
  3676. disabled: false,
  3677. blockStyle: function blockStyle() {}
  3678. }
  3679. };
  3680. exports.default = _default;
  3681. /***/ }),
  3682. /***/ 1355:
  3683. /*!********************************************************************************!*\
  3684. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabbar-item/props.js ***!
  3685. \********************************************************************************/
  3686. /*! no static exports found */
  3687. /***/ (function(module, exports, __webpack_require__) {
  3688. "use strict";
  3689. /* WEBPACK VAR INJECTION */(function(uni) {
  3690. Object.defineProperty(exports, "__esModule", {
  3691. value: true
  3692. });
  3693. exports.default = void 0;
  3694. var _default = {
  3695. props: {
  3696. // item标签的名称,作为与u-tabbar的value参数匹配的标识符
  3697. name: {
  3698. type: [String, Number, null],
  3699. default: uni.$u.props.tabbarItem.name
  3700. },
  3701. // uView内置图标或者绝对路径的图片
  3702. icon: {
  3703. icon: String,
  3704. default: uni.$u.props.tabbarItem.icon
  3705. },
  3706. // 右上角的角标提示信息
  3707. badge: {
  3708. type: [String, Number, null],
  3709. default: uni.$u.props.tabbarItem.badge
  3710. },
  3711. // 是否显示圆点,将会覆盖badge参数
  3712. dot: {
  3713. type: Boolean,
  3714. default: uni.$u.props.tabbarItem.dot
  3715. },
  3716. // 描述文本
  3717. text: {
  3718. type: String,
  3719. default: uni.$u.props.tabbarItem.text
  3720. },
  3721. // 控制徽标的位置,对象或者字符串形式,可以设置top和right属性
  3722. badgeStyle: {
  3723. type: [Object, String],
  3724. default: uni.$u.props.tabbarItem.badgeStyle
  3725. }
  3726. }
  3727. };
  3728. exports.default = _default;
  3729. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3730. /***/ }),
  3731. /***/ 136:
  3732. /*!*****************************************************************************!*\
  3733. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/statusBar.js ***!
  3734. \*****************************************************************************/
  3735. /*! no static exports found */
  3736. /***/ (function(module, exports, __webpack_require__) {
  3737. "use strict";
  3738. Object.defineProperty(exports, "__esModule", {
  3739. value: true
  3740. });
  3741. exports.default = void 0;
  3742. /*
  3743. * @Author : LQ
  3744. * @Description :
  3745. * @version : 1.0
  3746. * @Date : 2021-08-20 16:44:21
  3747. * @LastAuthor : LQ
  3748. * @lastTime : 2021-08-20 17:20:39
  3749. * @FilePath : /u-view2.0/uview-ui/libs/config/props/statusBar.js
  3750. */
  3751. var _default = {
  3752. // statusBar
  3753. statusBar: {
  3754. bgColor: 'transparent'
  3755. }
  3756. };
  3757. exports.default = _default;
  3758. /***/ }),
  3759. /***/ 1363:
  3760. /*!************************************************************************!*\
  3761. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-gap/props.js ***!
  3762. \************************************************************************/
  3763. /*! no static exports found */
  3764. /***/ (function(module, exports, __webpack_require__) {
  3765. "use strict";
  3766. /* WEBPACK VAR INJECTION */(function(uni) {
  3767. Object.defineProperty(exports, "__esModule", {
  3768. value: true
  3769. });
  3770. exports.default = void 0;
  3771. var _default = {
  3772. props: {
  3773. // 背景颜色(默认transparent)
  3774. bgColor: {
  3775. type: String,
  3776. default: uni.$u.props.gap.bgColor
  3777. },
  3778. // 分割槽高度,单位px(默认30)
  3779. height: {
  3780. type: [String, Number],
  3781. default: uni.$u.props.gap.height
  3782. },
  3783. // 与上一个组件的距离
  3784. marginTop: {
  3785. type: [String, Number],
  3786. default: uni.$u.props.gap.marginTop
  3787. },
  3788. // 与下一个组件的距离
  3789. marginBottom: {
  3790. type: [String, Number],
  3791. default: uni.$u.props.gap.marginBottom
  3792. }
  3793. }
  3794. };
  3795. exports.default = _default;
  3796. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  3797. /***/ }),
  3798. /***/ 137:
  3799. /*!*************************************************************************!*\
  3800. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/steps.js ***!
  3801. \*************************************************************************/
  3802. /*! no static exports found */
  3803. /***/ (function(module, exports, __webpack_require__) {
  3804. "use strict";
  3805. Object.defineProperty(exports, "__esModule", {
  3806. value: true
  3807. });
  3808. exports.default = void 0;
  3809. /*
  3810. * @Author : LQ
  3811. * @Description :
  3812. * @version : 1.0
  3813. * @Date : 2021-08-20 16:44:21
  3814. * @LastAuthor : LQ
  3815. * @lastTime : 2021-08-20 17:12:37
  3816. * @FilePath : /u-view2.0/uview-ui/libs/config/props/steps.js
  3817. */
  3818. var _default = {
  3819. // steps组件
  3820. steps: {
  3821. direction: 'row',
  3822. current: 0,
  3823. activeColor: '#3c9cff',
  3824. inactiveColor: '#969799',
  3825. activeIcon: '',
  3826. inactiveIcon: '',
  3827. dot: false
  3828. }
  3829. };
  3830. exports.default = _default;
  3831. /***/ }),
  3832. /***/ 1378:
  3833. /*!*****************************************************************************************************!*\
  3834. !*** D:/project/crossBorder/wx-qhb/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js ***!
  3835. \*****************************************************************************************************/
  3836. /*! no static exports found */
  3837. /***/ (function(module, exports, __webpack_require__) {
  3838. "use strict";
  3839. Object.defineProperty(exports, "__esModule", {
  3840. value: true
  3841. });
  3842. exports.fontData = void 0;
  3843. var fontData = [{
  3844. "font_class": "arrow-down",
  3845. "unicode": "\uE6BE"
  3846. }, {
  3847. "font_class": "arrow-left",
  3848. "unicode": "\uE6BC"
  3849. }, {
  3850. "font_class": "arrow-right",
  3851. "unicode": "\uE6BB"
  3852. }, {
  3853. "font_class": "arrow-up",
  3854. "unicode": "\uE6BD"
  3855. }, {
  3856. "font_class": "auth",
  3857. "unicode": "\uE6AB"
  3858. }, {
  3859. "font_class": "auth-filled",
  3860. "unicode": "\uE6CC"
  3861. }, {
  3862. "font_class": "back",
  3863. "unicode": "\uE6B9"
  3864. }, {
  3865. "font_class": "bars",
  3866. "unicode": "\uE627"
  3867. }, {
  3868. "font_class": "calendar",
  3869. "unicode": "\uE6A0"
  3870. }, {
  3871. "font_class": "calendar-filled",
  3872. "unicode": "\uE6C0"
  3873. }, {
  3874. "font_class": "camera",
  3875. "unicode": "\uE65A"
  3876. }, {
  3877. "font_class": "camera-filled",
  3878. "unicode": "\uE658"
  3879. }, {
  3880. "font_class": "cart",
  3881. "unicode": "\uE631"
  3882. }, {
  3883. "font_class": "cart-filled",
  3884. "unicode": "\uE6D0"
  3885. }, {
  3886. "font_class": "chat",
  3887. "unicode": "\uE65D"
  3888. }, {
  3889. "font_class": "chat-filled",
  3890. "unicode": "\uE659"
  3891. }, {
  3892. "font_class": "chatboxes",
  3893. "unicode": "\uE696"
  3894. }, {
  3895. "font_class": "chatboxes-filled",
  3896. "unicode": "\uE692"
  3897. }, {
  3898. "font_class": "chatbubble",
  3899. "unicode": "\uE697"
  3900. }, {
  3901. "font_class": "chatbubble-filled",
  3902. "unicode": "\uE694"
  3903. }, {
  3904. "font_class": "checkbox",
  3905. "unicode": "\uE62B"
  3906. }, {
  3907. "font_class": "checkbox-filled",
  3908. "unicode": "\uE62C"
  3909. }, {
  3910. "font_class": "checkmarkempty",
  3911. "unicode": "\uE65C"
  3912. }, {
  3913. "font_class": "circle",
  3914. "unicode": "\uE65B"
  3915. }, {
  3916. "font_class": "circle-filled",
  3917. "unicode": "\uE65E"
  3918. }, {
  3919. "font_class": "clear",
  3920. "unicode": "\uE66D"
  3921. }, {
  3922. "font_class": "close",
  3923. "unicode": "\uE673"
  3924. }, {
  3925. "font_class": "closeempty",
  3926. "unicode": "\uE66C"
  3927. }, {
  3928. "font_class": "cloud-download",
  3929. "unicode": "\uE647"
  3930. }, {
  3931. "font_class": "cloud-download-filled",
  3932. "unicode": "\uE646"
  3933. }, {
  3934. "font_class": "cloud-upload",
  3935. "unicode": "\uE645"
  3936. }, {
  3937. "font_class": "cloud-upload-filled",
  3938. "unicode": "\uE648"
  3939. }, {
  3940. "font_class": "color",
  3941. "unicode": "\uE6CF"
  3942. }, {
  3943. "font_class": "color-filled",
  3944. "unicode": "\uE6C9"
  3945. }, {
  3946. "font_class": "compose",
  3947. "unicode": "\uE67F"
  3948. }, {
  3949. "font_class": "contact",
  3950. "unicode": "\uE693"
  3951. }, {
  3952. "font_class": "contact-filled",
  3953. "unicode": "\uE695"
  3954. }, {
  3955. "font_class": "down",
  3956. "unicode": "\uE6B8"
  3957. }, {
  3958. "font_class": "bottom",
  3959. "unicode": "\uE6B8"
  3960. }, {
  3961. "font_class": "download",
  3962. "unicode": "\uE68D"
  3963. }, {
  3964. "font_class": "download-filled",
  3965. "unicode": "\uE681"
  3966. }, {
  3967. "font_class": "email",
  3968. "unicode": "\uE69E"
  3969. }, {
  3970. "font_class": "email-filled",
  3971. "unicode": "\uE69A"
  3972. }, {
  3973. "font_class": "eye",
  3974. "unicode": "\uE651"
  3975. }, {
  3976. "font_class": "eye-filled",
  3977. "unicode": "\uE66A"
  3978. }, {
  3979. "font_class": "eye-slash",
  3980. "unicode": "\uE6B3"
  3981. }, {
  3982. "font_class": "eye-slash-filled",
  3983. "unicode": "\uE6B4"
  3984. }, {
  3985. "font_class": "fire",
  3986. "unicode": "\uE6A1"
  3987. }, {
  3988. "font_class": "fire-filled",
  3989. "unicode": "\uE6C5"
  3990. }, {
  3991. "font_class": "flag",
  3992. "unicode": "\uE65F"
  3993. }, {
  3994. "font_class": "flag-filled",
  3995. "unicode": "\uE660"
  3996. }, {
  3997. "font_class": "folder-add",
  3998. "unicode": "\uE6A9"
  3999. }, {
  4000. "font_class": "folder-add-filled",
  4001. "unicode": "\uE6C8"
  4002. }, {
  4003. "font_class": "font",
  4004. "unicode": "\uE6A3"
  4005. }, {
  4006. "font_class": "forward",
  4007. "unicode": "\uE6BA"
  4008. }, {
  4009. "font_class": "gear",
  4010. "unicode": "\uE664"
  4011. }, {
  4012. "font_class": "gear-filled",
  4013. "unicode": "\uE661"
  4014. }, {
  4015. "font_class": "gift",
  4016. "unicode": "\uE6A4"
  4017. }, {
  4018. "font_class": "gift-filled",
  4019. "unicode": "\uE6C4"
  4020. }, {
  4021. "font_class": "hand-down",
  4022. "unicode": "\uE63D"
  4023. }, {
  4024. "font_class": "hand-down-filled",
  4025. "unicode": "\uE63C"
  4026. }, {
  4027. "font_class": "hand-up",
  4028. "unicode": "\uE63F"
  4029. }, {
  4030. "font_class": "hand-up-filled",
  4031. "unicode": "\uE63E"
  4032. }, {
  4033. "font_class": "headphones",
  4034. "unicode": "\uE630"
  4035. }, {
  4036. "font_class": "heart",
  4037. "unicode": "\uE639"
  4038. }, {
  4039. "font_class": "heart-filled",
  4040. "unicode": "\uE641"
  4041. }, {
  4042. "font_class": "help",
  4043. "unicode": "\uE679"
  4044. }, {
  4045. "font_class": "help-filled",
  4046. "unicode": "\uE674"
  4047. }, {
  4048. "font_class": "home",
  4049. "unicode": "\uE662"
  4050. }, {
  4051. "font_class": "home-filled",
  4052. "unicode": "\uE663"
  4053. }, {
  4054. "font_class": "image",
  4055. "unicode": "\uE670"
  4056. }, {
  4057. "font_class": "image-filled",
  4058. "unicode": "\uE678"
  4059. }, {
  4060. "font_class": "images",
  4061. "unicode": "\uE650"
  4062. }, {
  4063. "font_class": "images-filled",
  4064. "unicode": "\uE64B"
  4065. }, {
  4066. "font_class": "info",
  4067. "unicode": "\uE669"
  4068. }, {
  4069. "font_class": "info-filled",
  4070. "unicode": "\uE649"
  4071. }, {
  4072. "font_class": "left",
  4073. "unicode": "\uE6B7"
  4074. }, {
  4075. "font_class": "link",
  4076. "unicode": "\uE6A5"
  4077. }, {
  4078. "font_class": "list",
  4079. "unicode": "\uE644"
  4080. }, {
  4081. "font_class": "location",
  4082. "unicode": "\uE6AE"
  4083. }, {
  4084. "font_class": "location-filled",
  4085. "unicode": "\uE6AF"
  4086. }, {
  4087. "font_class": "locked",
  4088. "unicode": "\uE66B"
  4089. }, {
  4090. "font_class": "locked-filled",
  4091. "unicode": "\uE668"
  4092. }, {
  4093. "font_class": "loop",
  4094. "unicode": "\uE633"
  4095. }, {
  4096. "font_class": "mail-open",
  4097. "unicode": "\uE643"
  4098. }, {
  4099. "font_class": "mail-open-filled",
  4100. "unicode": "\uE63A"
  4101. }, {
  4102. "font_class": "map",
  4103. "unicode": "\uE667"
  4104. }, {
  4105. "font_class": "map-filled",
  4106. "unicode": "\uE666"
  4107. }, {
  4108. "font_class": "map-pin",
  4109. "unicode": "\uE6AD"
  4110. }, {
  4111. "font_class": "map-pin-ellipse",
  4112. "unicode": "\uE6AC"
  4113. }, {
  4114. "font_class": "medal",
  4115. "unicode": "\uE6A2"
  4116. }, {
  4117. "font_class": "medal-filled",
  4118. "unicode": "\uE6C3"
  4119. }, {
  4120. "font_class": "mic",
  4121. "unicode": "\uE671"
  4122. }, {
  4123. "font_class": "mic-filled",
  4124. "unicode": "\uE677"
  4125. }, {
  4126. "font_class": "micoff",
  4127. "unicode": "\uE67E"
  4128. }, {
  4129. "font_class": "micoff-filled",
  4130. "unicode": "\uE6B0"
  4131. }, {
  4132. "font_class": "minus",
  4133. "unicode": "\uE66F"
  4134. }, {
  4135. "font_class": "minus-filled",
  4136. "unicode": "\uE67D"
  4137. }, {
  4138. "font_class": "more",
  4139. "unicode": "\uE64D"
  4140. }, {
  4141. "font_class": "more-filled",
  4142. "unicode": "\uE64E"
  4143. }, {
  4144. "font_class": "navigate",
  4145. "unicode": "\uE66E"
  4146. }, {
  4147. "font_class": "navigate-filled",
  4148. "unicode": "\uE67A"
  4149. }, {
  4150. "font_class": "notification",
  4151. "unicode": "\uE6A6"
  4152. }, {
  4153. "font_class": "notification-filled",
  4154. "unicode": "\uE6C1"
  4155. }, {
  4156. "font_class": "paperclip",
  4157. "unicode": "\uE652"
  4158. }, {
  4159. "font_class": "paperplane",
  4160. "unicode": "\uE672"
  4161. }, {
  4162. "font_class": "paperplane-filled",
  4163. "unicode": "\uE675"
  4164. }, {
  4165. "font_class": "person",
  4166. "unicode": "\uE699"
  4167. }, {
  4168. "font_class": "person-filled",
  4169. "unicode": "\uE69D"
  4170. }, {
  4171. "font_class": "personadd",
  4172. "unicode": "\uE69F"
  4173. }, {
  4174. "font_class": "personadd-filled",
  4175. "unicode": "\uE698"
  4176. }, {
  4177. "font_class": "personadd-filled-copy",
  4178. "unicode": "\uE6D1"
  4179. }, {
  4180. "font_class": "phone",
  4181. "unicode": "\uE69C"
  4182. }, {
  4183. "font_class": "phone-filled",
  4184. "unicode": "\uE69B"
  4185. }, {
  4186. "font_class": "plus",
  4187. "unicode": "\uE676"
  4188. }, {
  4189. "font_class": "plus-filled",
  4190. "unicode": "\uE6C7"
  4191. }, {
  4192. "font_class": "plusempty",
  4193. "unicode": "\uE67B"
  4194. }, {
  4195. "font_class": "pulldown",
  4196. "unicode": "\uE632"
  4197. }, {
  4198. "font_class": "pyq",
  4199. "unicode": "\uE682"
  4200. }, {
  4201. "font_class": "qq",
  4202. "unicode": "\uE680"
  4203. }, {
  4204. "font_class": "redo",
  4205. "unicode": "\uE64A"
  4206. }, {
  4207. "font_class": "redo-filled",
  4208. "unicode": "\uE655"
  4209. }, {
  4210. "font_class": "refresh",
  4211. "unicode": "\uE657"
  4212. }, {
  4213. "font_class": "refresh-filled",
  4214. "unicode": "\uE656"
  4215. }, {
  4216. "font_class": "refreshempty",
  4217. "unicode": "\uE6BF"
  4218. }, {
  4219. "font_class": "reload",
  4220. "unicode": "\uE6B2"
  4221. }, {
  4222. "font_class": "right",
  4223. "unicode": "\uE6B5"
  4224. }, {
  4225. "font_class": "scan",
  4226. "unicode": "\uE62A"
  4227. }, {
  4228. "font_class": "search",
  4229. "unicode": "\uE654"
  4230. }, {
  4231. "font_class": "settings",
  4232. "unicode": "\uE653"
  4233. }, {
  4234. "font_class": "settings-filled",
  4235. "unicode": "\uE6CE"
  4236. }, {
  4237. "font_class": "shop",
  4238. "unicode": "\uE62F"
  4239. }, {
  4240. "font_class": "shop-filled",
  4241. "unicode": "\uE6CD"
  4242. }, {
  4243. "font_class": "smallcircle",
  4244. "unicode": "\uE67C"
  4245. }, {
  4246. "font_class": "smallcircle-filled",
  4247. "unicode": "\uE665"
  4248. }, {
  4249. "font_class": "sound",
  4250. "unicode": "\uE684"
  4251. }, {
  4252. "font_class": "sound-filled",
  4253. "unicode": "\uE686"
  4254. }, {
  4255. "font_class": "spinner-cycle",
  4256. "unicode": "\uE68A"
  4257. }, {
  4258. "font_class": "staff",
  4259. "unicode": "\uE6A7"
  4260. }, {
  4261. "font_class": "staff-filled",
  4262. "unicode": "\uE6CB"
  4263. }, {
  4264. "font_class": "star",
  4265. "unicode": "\uE688"
  4266. }, {
  4267. "font_class": "star-filled",
  4268. "unicode": "\uE68F"
  4269. }, {
  4270. "font_class": "starhalf",
  4271. "unicode": "\uE683"
  4272. }, {
  4273. "font_class": "trash",
  4274. "unicode": "\uE687"
  4275. }, {
  4276. "font_class": "trash-filled",
  4277. "unicode": "\uE685"
  4278. }, {
  4279. "font_class": "tune",
  4280. "unicode": "\uE6AA"
  4281. }, {
  4282. "font_class": "tune-filled",
  4283. "unicode": "\uE6CA"
  4284. }, {
  4285. "font_class": "undo",
  4286. "unicode": "\uE64F"
  4287. }, {
  4288. "font_class": "undo-filled",
  4289. "unicode": "\uE64C"
  4290. }, {
  4291. "font_class": "up",
  4292. "unicode": "\uE6B6"
  4293. }, {
  4294. "font_class": "top",
  4295. "unicode": "\uE6B6"
  4296. }, {
  4297. "font_class": "upload",
  4298. "unicode": "\uE690"
  4299. }, {
  4300. "font_class": "upload-filled",
  4301. "unicode": "\uE68E"
  4302. }, {
  4303. "font_class": "videocam",
  4304. "unicode": "\uE68C"
  4305. }, {
  4306. "font_class": "videocam-filled",
  4307. "unicode": "\uE689"
  4308. }, {
  4309. "font_class": "vip",
  4310. "unicode": "\uE6A8"
  4311. }, {
  4312. "font_class": "vip-filled",
  4313. "unicode": "\uE6C6"
  4314. }, {
  4315. "font_class": "wallet",
  4316. "unicode": "\uE6B1"
  4317. }, {
  4318. "font_class": "wallet-filled",
  4319. "unicode": "\uE6C2"
  4320. }, {
  4321. "font_class": "weibo",
  4322. "unicode": "\uE68B"
  4323. }, {
  4324. "font_class": "weixin",
  4325. "unicode": "\uE691"
  4326. }];
  4327. // export const fontData = JSON.parse<IconsDataItem>(fontDataJson)
  4328. exports.fontData = fontData;
  4329. /***/ }),
  4330. /***/ 138:
  4331. /*!*****************************************************************************!*\
  4332. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/stepsItem.js ***!
  4333. \*****************************************************************************/
  4334. /*! no static exports found */
  4335. /***/ (function(module, exports, __webpack_require__) {
  4336. "use strict";
  4337. Object.defineProperty(exports, "__esModule", {
  4338. value: true
  4339. });
  4340. exports.default = void 0;
  4341. /*
  4342. * @Author : LQ
  4343. * @Description :
  4344. * @version : 1.0
  4345. * @Date : 2021-08-20 16:44:21
  4346. * @LastAuthor : LQ
  4347. * @lastTime : 2021-08-20 17:12:55
  4348. * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
  4349. */
  4350. var _default = {
  4351. // steps-item组件
  4352. stepsItem: {
  4353. title: '',
  4354. desc: '',
  4355. iconSize: 17,
  4356. error: false
  4357. }
  4358. };
  4359. exports.default = _default;
  4360. /***/ }),
  4361. /***/ 139:
  4362. /*!**************************************************************************!*\
  4363. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/sticky.js ***!
  4364. \**************************************************************************/
  4365. /*! no static exports found */
  4366. /***/ (function(module, exports, __webpack_require__) {
  4367. "use strict";
  4368. Object.defineProperty(exports, "__esModule", {
  4369. value: true
  4370. });
  4371. exports.default = void 0;
  4372. /*
  4373. * @Author : LQ
  4374. * @Description :
  4375. * @version : 1.0
  4376. * @Date : 2021-08-20 16:44:21
  4377. * @LastAuthor : LQ
  4378. * @lastTime : 2021-08-20 17:01:30
  4379. * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
  4380. */
  4381. var _default = {
  4382. // sticky组件
  4383. sticky: {
  4384. offsetTop: 0,
  4385. customNavHeight: 0,
  4386. disabled: false,
  4387. bgColor: 'transparent',
  4388. zIndex: '',
  4389. index: ''
  4390. }
  4391. };
  4392. exports.default = _default;
  4393. /***/ }),
  4394. /***/ 1395:
  4395. /*!****************************************************************************!*\
  4396. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-toolbar/props.js ***!
  4397. \****************************************************************************/
  4398. /*! no static exports found */
  4399. /***/ (function(module, exports, __webpack_require__) {
  4400. "use strict";
  4401. /* WEBPACK VAR INJECTION */(function(uni) {
  4402. Object.defineProperty(exports, "__esModule", {
  4403. value: true
  4404. });
  4405. exports.default = void 0;
  4406. var _default = {
  4407. props: {
  4408. // 是否展示工具条
  4409. show: {
  4410. type: Boolean,
  4411. default: uni.$u.props.toolbar.show
  4412. },
  4413. // 取消按钮的文字
  4414. cancelText: {
  4415. type: String,
  4416. default: uni.$u.props.toolbar.cancelText
  4417. },
  4418. // 确认按钮的文字
  4419. confirmText: {
  4420. type: String,
  4421. default: uni.$u.props.toolbar.confirmText
  4422. },
  4423. // 取消按钮的颜色
  4424. cancelColor: {
  4425. type: String,
  4426. default: uni.$u.props.toolbar.cancelColor
  4427. },
  4428. // 确认按钮的颜色
  4429. confirmColor: {
  4430. type: String,
  4431. default: uni.$u.props.toolbar.confirmColor
  4432. },
  4433. // 标题文字
  4434. title: {
  4435. type: String,
  4436. default: uni.$u.props.toolbar.title
  4437. }
  4438. }
  4439. };
  4440. exports.default = _default;
  4441. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  4442. /***/ }),
  4443. /***/ 14:
  4444. /*!************************************************************!*\
  4445. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  4446. \************************************************************/
  4447. /*! no static exports found */
  4448. /***/ (function(module, exports, __webpack_require__) {
  4449. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  4450. function toPrimitive(t, r) {
  4451. if ("object" != _typeof(t) || !t) return t;
  4452. var e = t[Symbol.toPrimitive];
  4453. if (void 0 !== e) {
  4454. var i = e.call(t, r || "default");
  4455. if ("object" != _typeof(i)) return i;
  4456. throw new TypeError("@@toPrimitive must return a primitive value.");
  4457. }
  4458. return ("string" === r ? String : Number)(t);
  4459. }
  4460. module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  4461. /***/ }),
  4462. /***/ 140:
  4463. /*!******************************************************************************!*\
  4464. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/subsection.js ***!
  4465. \******************************************************************************/
  4466. /*! no static exports found */
  4467. /***/ (function(module, exports, __webpack_require__) {
  4468. "use strict";
  4469. Object.defineProperty(exports, "__esModule", {
  4470. value: true
  4471. });
  4472. exports.default = void 0;
  4473. /*
  4474. * @Author : LQ
  4475. * @Description :
  4476. * @version : 1.0
  4477. * @Date : 2021-08-20 16:44:21
  4478. * @LastAuthor : LQ
  4479. * @lastTime : 2021-08-20 17:12:20
  4480. * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
  4481. */
  4482. var _default = {
  4483. // subsection组件
  4484. subsection: {
  4485. list: [],
  4486. current: 0,
  4487. activeColor: '#3c9cff',
  4488. inactiveColor: '#303133',
  4489. mode: 'button',
  4490. fontSize: 12,
  4491. bold: true,
  4492. bgColor: '#eeeeef',
  4493. keyName: 'name'
  4494. }
  4495. };
  4496. exports.default = _default;
  4497. /***/ }),
  4498. /***/ 1403:
  4499. /*!***************************************************************************!*\
  4500. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/util/async-validator.js ***!
  4501. \***************************************************************************/
  4502. /*! no static exports found */
  4503. /***/ (function(module, exports, __webpack_require__) {
  4504. "use strict";
  4505. /* WEBPACK VAR INJECTION */(function(process) {
  4506. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  4507. Object.defineProperty(exports, "__esModule", {
  4508. value: true
  4509. });
  4510. exports.default = void 0;
  4511. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  4512. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  4513. 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; }
  4514. 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; }
  4515. function _extends() {
  4516. _extends = Object.assign || function (target) {
  4517. for (var i = 1; i < arguments.length; i++) {
  4518. var source = arguments[i];
  4519. for (var key in source) {
  4520. if (Object.prototype.hasOwnProperty.call(source, key)) {
  4521. target[key] = source[key];
  4522. }
  4523. }
  4524. }
  4525. return target;
  4526. };
  4527. return _extends.apply(this, arguments);
  4528. }
  4529. /* eslint no-console:0 */
  4530. var formatRegExp = /%[sdj%]/g;
  4531. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  4532. if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  4533. warning = function warning(type, errors) {
  4534. if (typeof console !== 'undefined' && console.warn) {
  4535. if (errors.every(function (e) {
  4536. return typeof e === 'string';
  4537. })) {
  4538. console.warn(type, errors);
  4539. }
  4540. }
  4541. };
  4542. }
  4543. function convertFieldsError(errors) {
  4544. if (!errors || !errors.length) return null;
  4545. var fields = {};
  4546. errors.forEach(function (error) {
  4547. var field = error.field;
  4548. fields[field] = fields[field] || [];
  4549. fields[field].push(error);
  4550. });
  4551. return fields;
  4552. }
  4553. function format() {
  4554. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  4555. args[_key] = arguments[_key];
  4556. }
  4557. var i = 1;
  4558. var f = args[0];
  4559. var len = args.length;
  4560. if (typeof f === 'function') {
  4561. return f.apply(null, args.slice(1));
  4562. }
  4563. if (typeof f === 'string') {
  4564. var str = String(f).replace(formatRegExp, function (x) {
  4565. if (x === '%%') {
  4566. return '%';
  4567. }
  4568. if (i >= len) {
  4569. return x;
  4570. }
  4571. switch (x) {
  4572. case '%s':
  4573. return String(args[i++]);
  4574. case '%d':
  4575. return Number(args[i++]);
  4576. case '%j':
  4577. try {
  4578. return JSON.stringify(args[i++]);
  4579. } catch (_) {
  4580. return '[Circular]';
  4581. }
  4582. break;
  4583. default:
  4584. return x;
  4585. }
  4586. });
  4587. for (var arg = args[i]; i < len; arg = args[++i]) {
  4588. str += " ".concat(arg);
  4589. }
  4590. return str;
  4591. }
  4592. return f;
  4593. }
  4594. function isNativeStringType(type) {
  4595. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  4596. }
  4597. function isEmptyValue(value, type) {
  4598. if (value === undefined || value === null) {
  4599. return true;
  4600. }
  4601. if (type === 'array' && Array.isArray(value) && !value.length) {
  4602. return true;
  4603. }
  4604. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  4605. return true;
  4606. }
  4607. return false;
  4608. }
  4609. function asyncParallelArray(arr, func, callback) {
  4610. var results = [];
  4611. var total = 0;
  4612. var arrLength = arr.length;
  4613. function count(errors) {
  4614. results.push.apply(results, errors);
  4615. total++;
  4616. if (total === arrLength) {
  4617. callback(results);
  4618. }
  4619. }
  4620. arr.forEach(function (a) {
  4621. func(a, count);
  4622. });
  4623. }
  4624. function asyncSerialArray(arr, func, callback) {
  4625. var index = 0;
  4626. var arrLength = arr.length;
  4627. function next(errors) {
  4628. if (errors && errors.length) {
  4629. callback(errors);
  4630. return;
  4631. }
  4632. var original = index;
  4633. index += 1;
  4634. if (original < arrLength) {
  4635. func(arr[original], next);
  4636. } else {
  4637. callback([]);
  4638. }
  4639. }
  4640. next([]);
  4641. }
  4642. function flattenObjArr(objArr) {
  4643. var ret = [];
  4644. Object.keys(objArr).forEach(function (k) {
  4645. ret.push.apply(ret, objArr[k]);
  4646. });
  4647. return ret;
  4648. }
  4649. function asyncMap(objArr, option, func, callback) {
  4650. if (option.first) {
  4651. var _pending = new Promise(function (resolve, reject) {
  4652. var next = function next(errors) {
  4653. callback(errors);
  4654. return errors.length ? reject({
  4655. errors: errors,
  4656. fields: convertFieldsError(errors)
  4657. }) : resolve();
  4658. };
  4659. var flattenArr = flattenObjArr(objArr);
  4660. asyncSerialArray(flattenArr, func, next);
  4661. });
  4662. _pending.catch(function (e) {
  4663. return e;
  4664. });
  4665. return _pending;
  4666. }
  4667. var firstFields = option.firstFields || [];
  4668. if (firstFields === true) {
  4669. firstFields = Object.keys(objArr);
  4670. }
  4671. var objArrKeys = Object.keys(objArr);
  4672. var objArrLength = objArrKeys.length;
  4673. var total = 0;
  4674. var results = [];
  4675. var pending = new Promise(function (resolve, reject) {
  4676. var next = function next(errors) {
  4677. results.push.apply(results, errors);
  4678. total++;
  4679. if (total === objArrLength) {
  4680. callback(results);
  4681. return results.length ? reject({
  4682. errors: results,
  4683. fields: convertFieldsError(results)
  4684. }) : resolve();
  4685. }
  4686. };
  4687. if (!objArrKeys.length) {
  4688. callback(results);
  4689. resolve();
  4690. }
  4691. objArrKeys.forEach(function (key) {
  4692. var arr = objArr[key];
  4693. if (firstFields.indexOf(key) !== -1) {
  4694. asyncSerialArray(arr, func, next);
  4695. } else {
  4696. asyncParallelArray(arr, func, next);
  4697. }
  4698. });
  4699. });
  4700. pending.catch(function (e) {
  4701. return e;
  4702. });
  4703. return pending;
  4704. }
  4705. function complementError(rule) {
  4706. return function (oe) {
  4707. if (oe && oe.message) {
  4708. oe.field = oe.field || rule.fullField;
  4709. return oe;
  4710. }
  4711. return {
  4712. message: typeof oe === 'function' ? oe() : oe,
  4713. field: oe.field || rule.fullField
  4714. };
  4715. };
  4716. }
  4717. function deepMerge(target, source) {
  4718. if (source) {
  4719. for (var s in source) {
  4720. if (source.hasOwnProperty(s)) {
  4721. var value = source[s];
  4722. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  4723. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  4724. } else {
  4725. target[s] = value;
  4726. }
  4727. }
  4728. }
  4729. }
  4730. return target;
  4731. }
  4732. /**
  4733. * Rule for validating required fields.
  4734. *
  4735. * @param rule The validation rule.
  4736. * @param value The value of the field on the source object.
  4737. * @param source The source object being validated.
  4738. * @param errors An array of errors that this rule may add
  4739. * validation errors to.
  4740. * @param options The validation options.
  4741. * @param options.messages The validation messages.
  4742. */
  4743. function required(rule, value, source, errors, options, type) {
  4744. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  4745. errors.push(format(options.messages.required, rule.fullField));
  4746. }
  4747. }
  4748. /**
  4749. * Rule for validating whitespace.
  4750. *
  4751. * @param rule The validation rule.
  4752. * @param value The value of the field on the source object.
  4753. * @param source The source object being validated.
  4754. * @param errors An array of errors that this rule may add
  4755. * validation errors to.
  4756. * @param options The validation options.
  4757. * @param options.messages The validation messages.
  4758. */
  4759. function whitespace(rule, value, source, errors, options) {
  4760. if (/^\s+$/.test(value) || value === '') {
  4761. errors.push(format(options.messages.whitespace, rule.fullField));
  4762. }
  4763. }
  4764. /* eslint max-len:0 */
  4765. var pattern = {
  4766. // http://emailregex.com/
  4767. 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,}))$/,
  4768. 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'),
  4769. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  4770. };
  4771. var types = {
  4772. integer: function integer(value) {
  4773. return /^(-)?\d+$/.test(value);
  4774. },
  4775. float: function float(value) {
  4776. return /^(-)?\d+(\.\d+)?$/.test(value);
  4777. },
  4778. array: function array(value) {
  4779. return Array.isArray(value);
  4780. },
  4781. regexp: function regexp(value) {
  4782. if (value instanceof RegExp) {
  4783. return true;
  4784. }
  4785. try {
  4786. return !!new RegExp(value);
  4787. } catch (e) {
  4788. return false;
  4789. }
  4790. },
  4791. date: function date(value) {
  4792. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  4793. },
  4794. number: function number(value) {
  4795. if (isNaN(value)) {
  4796. return false;
  4797. }
  4798. // 修改源码,将字符串数值先转为数值
  4799. return typeof +value === 'number';
  4800. },
  4801. object: function object(value) {
  4802. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  4803. },
  4804. method: function method(value) {
  4805. return typeof value === 'function';
  4806. },
  4807. email: function email(value) {
  4808. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  4809. },
  4810. url: function url(value) {
  4811. return typeof value === 'string' && !!value.match(pattern.url);
  4812. },
  4813. hex: function hex(value) {
  4814. return typeof value === 'string' && !!value.match(pattern.hex);
  4815. }
  4816. };
  4817. /**
  4818. * Rule for validating the type of a value.
  4819. *
  4820. * @param rule The validation rule.
  4821. * @param value The value of the field on the source object.
  4822. * @param source The source object being validated.
  4823. * @param errors An array of errors that this rule may add
  4824. * validation errors to.
  4825. * @param options The validation options.
  4826. * @param options.messages The validation messages.
  4827. */
  4828. function type(rule, value, source, errors, options) {
  4829. if (rule.required && value === undefined) {
  4830. required(rule, value, source, errors, options);
  4831. return;
  4832. }
  4833. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  4834. var ruleType = rule.type;
  4835. if (custom.indexOf(ruleType) > -1) {
  4836. if (!types[ruleType](value)) {
  4837. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  4838. } // straight typeof check
  4839. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  4840. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  4841. }
  4842. }
  4843. /**
  4844. * Rule for validating minimum and maximum allowed values.
  4845. *
  4846. * @param rule The validation rule.
  4847. * @param value The value of the field on the source object.
  4848. * @param source The source object being validated.
  4849. * @param errors An array of errors that this rule may add
  4850. * validation errors to.
  4851. * @param options The validation options.
  4852. * @param options.messages The validation messages.
  4853. */
  4854. function range(rule, value, source, errors, options) {
  4855. var len = typeof rule.len === 'number';
  4856. var min = typeof rule.min === 'number';
  4857. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  4858. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  4859. var val = value;
  4860. var key = null;
  4861. var num = typeof value === 'number';
  4862. var str = typeof value === 'string';
  4863. var arr = Array.isArray(value);
  4864. if (num) {
  4865. key = 'number';
  4866. } else if (str) {
  4867. key = 'string';
  4868. } else if (arr) {
  4869. key = 'array';
  4870. } // if the value is not of a supported type for range validation
  4871. // the validation rule rule should use the
  4872. // type property to also test for a particular type
  4873. if (!key) {
  4874. return false;
  4875. }
  4876. if (arr) {
  4877. val = value.length;
  4878. }
  4879. if (str) {
  4880. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  4881. val = value.replace(spRegexp, '_').length;
  4882. }
  4883. if (len) {
  4884. if (val !== rule.len) {
  4885. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  4886. }
  4887. } else if (min && !max && val < rule.min) {
  4888. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  4889. } else if (max && !min && val > rule.max) {
  4890. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  4891. } else if (min && max && (val < rule.min || val > rule.max)) {
  4892. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  4893. }
  4894. }
  4895. var ENUM = 'enum';
  4896. /**
  4897. * Rule for validating a value exists in an enumerable list.
  4898. *
  4899. * @param rule The validation rule.
  4900. * @param value The value of the field on the source object.
  4901. * @param source The source object being validated.
  4902. * @param errors An array of errors that this rule may add
  4903. * validation errors to.
  4904. * @param options The validation options.
  4905. * @param options.messages The validation messages.
  4906. */
  4907. function enumerable(rule, value, source, errors, options) {
  4908. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  4909. if (rule[ENUM].indexOf(value) === -1) {
  4910. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  4911. }
  4912. }
  4913. /**
  4914. * Rule for validating a regular expression pattern.
  4915. *
  4916. * @param rule The validation rule.
  4917. * @param value The value of the field on the source object.
  4918. * @param source The source object being validated.
  4919. * @param errors An array of errors that this rule may add
  4920. * validation errors to.
  4921. * @param options The validation options.
  4922. * @param options.messages The validation messages.
  4923. */
  4924. function pattern$1(rule, value, source, errors, options) {
  4925. if (rule.pattern) {
  4926. if (rule.pattern instanceof RegExp) {
  4927. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  4928. // flag is accidentally set to `true`, which in a validation scenario
  4929. // is not necessary and the result might be misleading
  4930. rule.pattern.lastIndex = 0;
  4931. if (!rule.pattern.test(value)) {
  4932. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  4933. }
  4934. } else if (typeof rule.pattern === 'string') {
  4935. var _pattern = new RegExp(rule.pattern);
  4936. if (!_pattern.test(value)) {
  4937. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  4938. }
  4939. }
  4940. }
  4941. }
  4942. var rules = {
  4943. required: required,
  4944. whitespace: whitespace,
  4945. type: type,
  4946. range: range,
  4947. enum: enumerable,
  4948. pattern: pattern$1
  4949. };
  4950. /**
  4951. * Performs validation for string types.
  4952. *
  4953. * @param rule The validation rule.
  4954. * @param value The value of the field on the source object.
  4955. * @param callback The callback function.
  4956. * @param source The source object being validated.
  4957. * @param options The validation options.
  4958. * @param options.messages The validation messages.
  4959. */
  4960. function string(rule, value, callback, source, options) {
  4961. var errors = [];
  4962. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  4963. if (validate) {
  4964. if (isEmptyValue(value, 'string') && !rule.required) {
  4965. return callback();
  4966. }
  4967. rules.required(rule, value, source, errors, options, 'string');
  4968. if (!isEmptyValue(value, 'string')) {
  4969. rules.type(rule, value, source, errors, options);
  4970. rules.range(rule, value, source, errors, options);
  4971. rules.pattern(rule, value, source, errors, options);
  4972. if (rule.whitespace === true) {
  4973. rules.whitespace(rule, value, source, errors, options);
  4974. }
  4975. }
  4976. }
  4977. callback(errors);
  4978. }
  4979. /**
  4980. * Validates a function.
  4981. *
  4982. * @param rule The validation rule.
  4983. * @param value The value of the field on the source object.
  4984. * @param callback The callback function.
  4985. * @param source The source object being validated.
  4986. * @param options The validation options.
  4987. * @param options.messages The validation messages.
  4988. */
  4989. function method(rule, value, callback, source, options) {
  4990. var errors = [];
  4991. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  4992. if (validate) {
  4993. if (isEmptyValue(value) && !rule.required) {
  4994. return callback();
  4995. }
  4996. rules.required(rule, value, source, errors, options);
  4997. if (value !== undefined) {
  4998. rules.type(rule, value, source, errors, options);
  4999. }
  5000. }
  5001. callback(errors);
  5002. }
  5003. /**
  5004. * Validates a number.
  5005. *
  5006. * @param rule The validation rule.
  5007. * @param value The value of the field on the source object.
  5008. * @param callback The callback function.
  5009. * @param source The source object being validated.
  5010. * @param options The validation options.
  5011. * @param options.messages The validation messages.
  5012. */
  5013. function number(rule, value, callback, source, options) {
  5014. var errors = [];
  5015. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5016. if (validate) {
  5017. if (value === '') {
  5018. value = undefined;
  5019. }
  5020. if (isEmptyValue(value) && !rule.required) {
  5021. return callback();
  5022. }
  5023. rules.required(rule, value, source, errors, options);
  5024. if (value !== undefined) {
  5025. rules.type(rule, value, source, errors, options);
  5026. rules.range(rule, value, source, errors, options);
  5027. }
  5028. }
  5029. callback(errors);
  5030. }
  5031. /**
  5032. * Validates a boolean.
  5033. *
  5034. * @param rule The validation rule.
  5035. * @param value The value of the field on the source object.
  5036. * @param callback The callback function.
  5037. * @param source The source object being validated.
  5038. * @param options The validation options.
  5039. * @param options.messages The validation messages.
  5040. */
  5041. function _boolean(rule, value, callback, source, options) {
  5042. var errors = [];
  5043. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5044. if (validate) {
  5045. if (isEmptyValue(value) && !rule.required) {
  5046. return callback();
  5047. }
  5048. rules.required(rule, value, source, errors, options);
  5049. if (value !== undefined) {
  5050. rules.type(rule, value, source, errors, options);
  5051. }
  5052. }
  5053. callback(errors);
  5054. }
  5055. /**
  5056. * Validates the regular expression type.
  5057. *
  5058. * @param rule The validation rule.
  5059. * @param value The value of the field on the source object.
  5060. * @param callback The callback function.
  5061. * @param source The source object being validated.
  5062. * @param options The validation options.
  5063. * @param options.messages The validation messages.
  5064. */
  5065. function regexp(rule, value, callback, source, options) {
  5066. var errors = [];
  5067. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5068. if (validate) {
  5069. if (isEmptyValue(value) && !rule.required) {
  5070. return callback();
  5071. }
  5072. rules.required(rule, value, source, errors, options);
  5073. if (!isEmptyValue(value)) {
  5074. rules.type(rule, value, source, errors, options);
  5075. }
  5076. }
  5077. callback(errors);
  5078. }
  5079. /**
  5080. * Validates a number is an integer.
  5081. *
  5082. * @param rule The validation rule.
  5083. * @param value The value of the field on the source object.
  5084. * @param callback The callback function.
  5085. * @param source The source object being validated.
  5086. * @param options The validation options.
  5087. * @param options.messages The validation messages.
  5088. */
  5089. function integer(rule, value, callback, source, options) {
  5090. var errors = [];
  5091. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5092. if (validate) {
  5093. if (isEmptyValue(value) && !rule.required) {
  5094. return callback();
  5095. }
  5096. rules.required(rule, value, source, errors, options);
  5097. if (value !== undefined) {
  5098. rules.type(rule, value, source, errors, options);
  5099. rules.range(rule, value, source, errors, options);
  5100. }
  5101. }
  5102. callback(errors);
  5103. }
  5104. /**
  5105. * Validates a number is a floating point number.
  5106. *
  5107. * @param rule The validation rule.
  5108. * @param value The value of the field on the source object.
  5109. * @param callback The callback function.
  5110. * @param source The source object being validated.
  5111. * @param options The validation options.
  5112. * @param options.messages The validation messages.
  5113. */
  5114. function floatFn(rule, value, callback, source, options) {
  5115. var errors = [];
  5116. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5117. if (validate) {
  5118. if (isEmptyValue(value) && !rule.required) {
  5119. return callback();
  5120. }
  5121. rules.required(rule, value, source, errors, options);
  5122. if (value !== undefined) {
  5123. rules.type(rule, value, source, errors, options);
  5124. rules.range(rule, value, source, errors, options);
  5125. }
  5126. }
  5127. callback(errors);
  5128. }
  5129. /**
  5130. * Validates an array.
  5131. *
  5132. * @param rule The validation rule.
  5133. * @param value The value of the field on the source object.
  5134. * @param callback The callback function.
  5135. * @param source The source object being validated.
  5136. * @param options The validation options.
  5137. * @param options.messages The validation messages.
  5138. */
  5139. function array(rule, value, callback, source, options) {
  5140. var errors = [];
  5141. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5142. if (validate) {
  5143. if (isEmptyValue(value, 'array') && !rule.required) {
  5144. return callback();
  5145. }
  5146. rules.required(rule, value, source, errors, options, 'array');
  5147. if (!isEmptyValue(value, 'array')) {
  5148. rules.type(rule, value, source, errors, options);
  5149. rules.range(rule, value, source, errors, options);
  5150. }
  5151. }
  5152. callback(errors);
  5153. }
  5154. /**
  5155. * Validates an object.
  5156. *
  5157. * @param rule The validation rule.
  5158. * @param value The value of the field on the source object.
  5159. * @param callback The callback function.
  5160. * @param source The source object being validated.
  5161. * @param options The validation options.
  5162. * @param options.messages The validation messages.
  5163. */
  5164. function object(rule, value, callback, source, options) {
  5165. var errors = [];
  5166. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5167. if (validate) {
  5168. if (isEmptyValue(value) && !rule.required) {
  5169. return callback();
  5170. }
  5171. rules.required(rule, value, source, errors, options);
  5172. if (value !== undefined) {
  5173. rules.type(rule, value, source, errors, options);
  5174. }
  5175. }
  5176. callback(errors);
  5177. }
  5178. var ENUM$1 = 'enum';
  5179. /**
  5180. * Validates an enumerable list.
  5181. *
  5182. * @param rule The validation rule.
  5183. * @param value The value of the field on the source object.
  5184. * @param callback The callback function.
  5185. * @param source The source object being validated.
  5186. * @param options The validation options.
  5187. * @param options.messages The validation messages.
  5188. */
  5189. function enumerable$1(rule, value, callback, source, options) {
  5190. var errors = [];
  5191. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5192. if (validate) {
  5193. if (isEmptyValue(value) && !rule.required) {
  5194. return callback();
  5195. }
  5196. rules.required(rule, value, source, errors, options);
  5197. if (value !== undefined) {
  5198. rules[ENUM$1](rule, value, source, errors, options);
  5199. }
  5200. }
  5201. callback(errors);
  5202. }
  5203. /**
  5204. * Validates a regular expression pattern.
  5205. *
  5206. * Performs validation when a rule only contains
  5207. * a pattern property but is not declared as a string type.
  5208. *
  5209. * @param rule The validation rule.
  5210. * @param value The value of the field on the source object.
  5211. * @param callback The callback function.
  5212. * @param source The source object being validated.
  5213. * @param options The validation options.
  5214. * @param options.messages The validation messages.
  5215. */
  5216. function pattern$2(rule, value, callback, source, options) {
  5217. var errors = [];
  5218. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5219. if (validate) {
  5220. if (isEmptyValue(value, 'string') && !rule.required) {
  5221. return callback();
  5222. }
  5223. rules.required(rule, value, source, errors, options);
  5224. if (!isEmptyValue(value, 'string')) {
  5225. rules.pattern(rule, value, source, errors, options);
  5226. }
  5227. }
  5228. callback(errors);
  5229. }
  5230. function date(rule, value, callback, source, options) {
  5231. var errors = [];
  5232. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5233. if (validate) {
  5234. if (isEmptyValue(value) && !rule.required) {
  5235. return callback();
  5236. }
  5237. rules.required(rule, value, source, errors, options);
  5238. if (!isEmptyValue(value)) {
  5239. var dateObject;
  5240. if (typeof value === 'number') {
  5241. dateObject = new Date(value);
  5242. } else {
  5243. dateObject = value;
  5244. }
  5245. rules.type(rule, dateObject, source, errors, options);
  5246. if (dateObject) {
  5247. rules.range(rule, dateObject.getTime(), source, errors, options);
  5248. }
  5249. }
  5250. }
  5251. callback(errors);
  5252. }
  5253. function required$1(rule, value, callback, source, options) {
  5254. var errors = [];
  5255. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  5256. rules.required(rule, value, source, errors, options, type);
  5257. callback(errors);
  5258. }
  5259. function type$1(rule, value, callback, source, options) {
  5260. var ruleType = rule.type;
  5261. var errors = [];
  5262. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5263. if (validate) {
  5264. if (isEmptyValue(value, ruleType) && !rule.required) {
  5265. return callback();
  5266. }
  5267. rules.required(rule, value, source, errors, options, ruleType);
  5268. if (!isEmptyValue(value, ruleType)) {
  5269. rules.type(rule, value, source, errors, options);
  5270. }
  5271. }
  5272. callback(errors);
  5273. }
  5274. /**
  5275. * Performs validation for any type.
  5276. *
  5277. * @param rule The validation rule.
  5278. * @param value The value of the field on the source object.
  5279. * @param callback The callback function.
  5280. * @param source The source object being validated.
  5281. * @param options The validation options.
  5282. * @param options.messages The validation messages.
  5283. */
  5284. function any(rule, value, callback, source, options) {
  5285. var errors = [];
  5286. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  5287. if (validate) {
  5288. if (isEmptyValue(value) && !rule.required) {
  5289. return callback();
  5290. }
  5291. rules.required(rule, value, source, errors, options);
  5292. }
  5293. callback(errors);
  5294. }
  5295. var validators = {
  5296. string: string,
  5297. method: method,
  5298. number: number,
  5299. boolean: _boolean,
  5300. regexp: regexp,
  5301. integer: integer,
  5302. float: floatFn,
  5303. array: array,
  5304. object: object,
  5305. enum: enumerable$1,
  5306. pattern: pattern$2,
  5307. date: date,
  5308. url: type$1,
  5309. hex: type$1,
  5310. email: type$1,
  5311. required: required$1,
  5312. any: any
  5313. };
  5314. function newMessages() {
  5315. return {
  5316. default: 'Validation error on field %s',
  5317. required: '%s is required',
  5318. enum: '%s must be one of %s',
  5319. whitespace: '%s cannot be empty',
  5320. date: {
  5321. format: '%s date %s is invalid for format %s',
  5322. parse: '%s date could not be parsed, %s is invalid ',
  5323. invalid: '%s date %s is invalid'
  5324. },
  5325. types: {
  5326. string: '%s is not a %s',
  5327. method: '%s is not a %s (function)',
  5328. array: '%s is not an %s',
  5329. object: '%s is not an %s',
  5330. number: '%s is not a %s',
  5331. date: '%s is not a %s',
  5332. boolean: '%s is not a %s',
  5333. integer: '%s is not an %s',
  5334. float: '%s is not a %s',
  5335. regexp: '%s is not a valid %s',
  5336. email: '%s is not a valid %s',
  5337. url: '%s is not a valid %s',
  5338. hex: '%s is not a valid %s'
  5339. },
  5340. string: {
  5341. len: '%s must be exactly %s characters',
  5342. min: '%s must be at least %s characters',
  5343. max: '%s cannot be longer than %s characters',
  5344. range: '%s must be between %s and %s characters'
  5345. },
  5346. number: {
  5347. len: '%s must equal %s',
  5348. min: '%s cannot be less than %s',
  5349. max: '%s cannot be greater than %s',
  5350. range: '%s must be between %s and %s'
  5351. },
  5352. array: {
  5353. len: '%s must be exactly %s in length',
  5354. min: '%s cannot be less than %s in length',
  5355. max: '%s cannot be greater than %s in length',
  5356. range: '%s must be between %s and %s in length'
  5357. },
  5358. pattern: {
  5359. mismatch: '%s value %s does not match pattern %s'
  5360. },
  5361. clone: function clone() {
  5362. var cloned = JSON.parse(JSON.stringify(this));
  5363. cloned.clone = this.clone;
  5364. return cloned;
  5365. }
  5366. };
  5367. }
  5368. var messages = newMessages();
  5369. /**
  5370. * Encapsulates a validation schema.
  5371. *
  5372. * @param descriptor An object declaring validation rules
  5373. * for this schema.
  5374. */
  5375. function Schema(descriptor) {
  5376. this.rules = null;
  5377. this._messages = messages;
  5378. this.define(descriptor);
  5379. }
  5380. Schema.prototype = {
  5381. messages: function messages(_messages) {
  5382. if (_messages) {
  5383. this._messages = deepMerge(newMessages(), _messages);
  5384. }
  5385. return this._messages;
  5386. },
  5387. define: function define(rules) {
  5388. if (!rules) {
  5389. throw new Error('Cannot configure a schema with no rules');
  5390. }
  5391. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  5392. throw new Error('Rules must be an object');
  5393. }
  5394. this.rules = {};
  5395. var z;
  5396. var item;
  5397. for (z in rules) {
  5398. if (rules.hasOwnProperty(z)) {
  5399. item = rules[z];
  5400. this.rules[z] = Array.isArray(item) ? item : [item];
  5401. }
  5402. }
  5403. },
  5404. validate: function validate(source_, o, oc) {
  5405. var _this = this;
  5406. if (o === void 0) {
  5407. o = {};
  5408. }
  5409. if (oc === void 0) {
  5410. oc = function oc() {};
  5411. }
  5412. var source = source_;
  5413. var options = o;
  5414. var callback = oc;
  5415. if (typeof options === 'function') {
  5416. callback = options;
  5417. options = {};
  5418. }
  5419. if (!this.rules || Object.keys(this.rules).length === 0) {
  5420. if (callback) {
  5421. callback();
  5422. }
  5423. return Promise.resolve();
  5424. }
  5425. function complete(results) {
  5426. var i;
  5427. var errors = [];
  5428. var fields = {};
  5429. function add(e) {
  5430. if (Array.isArray(e)) {
  5431. var _errors;
  5432. errors = (_errors = errors).concat.apply(_errors, e);
  5433. } else {
  5434. errors.push(e);
  5435. }
  5436. }
  5437. for (i = 0; i < results.length; i++) {
  5438. add(results[i]);
  5439. }
  5440. if (!errors.length) {
  5441. errors = null;
  5442. fields = null;
  5443. } else {
  5444. fields = convertFieldsError(errors);
  5445. }
  5446. callback(errors, fields);
  5447. }
  5448. if (options.messages) {
  5449. var messages$1 = this.messages();
  5450. if (messages$1 === messages) {
  5451. messages$1 = newMessages();
  5452. }
  5453. deepMerge(messages$1, options.messages);
  5454. options.messages = messages$1;
  5455. } else {
  5456. options.messages = this.messages();
  5457. }
  5458. var arr;
  5459. var value;
  5460. var series = {};
  5461. var keys = options.keys || Object.keys(this.rules);
  5462. keys.forEach(function (z) {
  5463. arr = _this.rules[z];
  5464. value = source[z];
  5465. arr.forEach(function (r) {
  5466. var rule = r;
  5467. if (typeof rule.transform === 'function') {
  5468. if (source === source_) {
  5469. source = _objectSpread({}, source);
  5470. }
  5471. value = source[z] = rule.transform(value);
  5472. }
  5473. if (typeof rule === 'function') {
  5474. rule = {
  5475. validator: rule
  5476. };
  5477. } else {
  5478. rule = _objectSpread({}, rule);
  5479. }
  5480. rule.validator = _this.getValidationMethod(rule);
  5481. rule.field = z;
  5482. rule.fullField = rule.fullField || z;
  5483. rule.type = _this.getType(rule);
  5484. if (!rule.validator) {
  5485. return;
  5486. }
  5487. series[z] = series[z] || [];
  5488. series[z].push({
  5489. rule: rule,
  5490. value: value,
  5491. source: source,
  5492. field: z
  5493. });
  5494. });
  5495. });
  5496. var errorFields = {};
  5497. return asyncMap(series, options, function (data, doIt) {
  5498. var rule = data.rule;
  5499. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  5500. deep = deep && (rule.required || !rule.required && data.value);
  5501. rule.field = data.field;
  5502. function addFullfield(key, schema) {
  5503. return _objectSpread(_objectSpread({}, schema), {}, {
  5504. fullField: "".concat(rule.fullField, ".").concat(key)
  5505. });
  5506. }
  5507. function cb(e) {
  5508. if (e === void 0) {
  5509. e = [];
  5510. }
  5511. var errors = e;
  5512. if (!Array.isArray(errors)) {
  5513. errors = [errors];
  5514. }
  5515. if (!options.suppressWarning && errors.length) {
  5516. Schema.warning('async-validator:', errors);
  5517. }
  5518. if (errors.length && rule.message) {
  5519. errors = [].concat(rule.message);
  5520. }
  5521. errors = errors.map(complementError(rule));
  5522. if (options.first && errors.length) {
  5523. errorFields[rule.field] = 1;
  5524. return doIt(errors);
  5525. }
  5526. if (!deep) {
  5527. doIt(errors);
  5528. } else {
  5529. // if rule is required but the target object
  5530. // does not exist fail at the rule level and don't
  5531. // go deeper
  5532. if (rule.required && !data.value) {
  5533. if (rule.message) {
  5534. errors = [].concat(rule.message).map(complementError(rule));
  5535. } else if (options.error) {
  5536. errors = [options.error(rule, format(options.messages.required, rule.field))];
  5537. } else {
  5538. errors = [];
  5539. }
  5540. return doIt(errors);
  5541. }
  5542. var fieldsSchema = {};
  5543. if (rule.defaultField) {
  5544. for (var k in data.value) {
  5545. if (data.value.hasOwnProperty(k)) {
  5546. fieldsSchema[k] = rule.defaultField;
  5547. }
  5548. }
  5549. }
  5550. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  5551. for (var f in fieldsSchema) {
  5552. if (fieldsSchema.hasOwnProperty(f)) {
  5553. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  5554. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  5555. }
  5556. }
  5557. var schema = new Schema(fieldsSchema);
  5558. schema.messages(options.messages);
  5559. if (data.rule.options) {
  5560. data.rule.options.messages = options.messages;
  5561. data.rule.options.error = options.error;
  5562. }
  5563. schema.validate(data.value, data.rule.options || options, function (errs) {
  5564. var finalErrors = [];
  5565. if (errors && errors.length) {
  5566. finalErrors.push.apply(finalErrors, errors);
  5567. }
  5568. if (errs && errs.length) {
  5569. finalErrors.push.apply(finalErrors, errs);
  5570. }
  5571. doIt(finalErrors.length ? finalErrors : null);
  5572. });
  5573. }
  5574. }
  5575. var res;
  5576. if (rule.asyncValidator) {
  5577. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  5578. } else if (rule.validator) {
  5579. res = rule.validator(rule, data.value, cb, data.source, options);
  5580. if (res === true) {
  5581. cb();
  5582. } else if (res === false) {
  5583. cb(rule.message || "".concat(rule.field, " fails"));
  5584. } else if (res instanceof Array) {
  5585. cb(res);
  5586. } else if (res instanceof Error) {
  5587. cb(res.message);
  5588. }
  5589. }
  5590. if (res && res.then) {
  5591. res.then(function () {
  5592. return cb();
  5593. }, function (e) {
  5594. return cb(e);
  5595. });
  5596. }
  5597. }, function (results) {
  5598. complete(results);
  5599. });
  5600. },
  5601. getType: function getType(rule) {
  5602. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  5603. rule.type = 'pattern';
  5604. }
  5605. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  5606. throw new Error(format('Unknown rule type %s', rule.type));
  5607. }
  5608. return rule.type || 'string';
  5609. },
  5610. getValidationMethod: function getValidationMethod(rule) {
  5611. if (typeof rule.validator === 'function') {
  5612. return rule.validator;
  5613. }
  5614. var keys = Object.keys(rule);
  5615. var messageIndex = keys.indexOf('message');
  5616. if (messageIndex !== -1) {
  5617. keys.splice(messageIndex, 1);
  5618. }
  5619. if (keys.length === 1 && keys[0] === 'required') {
  5620. return validators.required;
  5621. }
  5622. return validators[this.getType(rule)] || false;
  5623. }
  5624. };
  5625. Schema.register = function register(type, validator) {
  5626. if (typeof validator !== 'function') {
  5627. throw new Error('Cannot register a validator by type, validator is not a function');
  5628. }
  5629. validators[type] = validator;
  5630. };
  5631. Schema.warning = warning;
  5632. Schema.messages = messages;
  5633. var _default = Schema; // # sourceMappingURL=index.js.map
  5634. exports.default = _default;
  5635. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../工具/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 1404)))
  5636. /***/ }),
  5637. /***/ 1404:
  5638. /*!********************************************************!*\
  5639. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  5640. \********************************************************/
  5641. /*! no static exports found */
  5642. /***/ (function(module, exports, __webpack_require__) {
  5643. exports.nextTick = function nextTick(fn) {
  5644. var args = Array.prototype.slice.call(arguments);
  5645. args.shift();
  5646. setTimeout(function () {
  5647. fn.apply(null, args);
  5648. }, 0);
  5649. };
  5650. exports.platform = exports.arch =
  5651. exports.execPath = exports.title = 'browser';
  5652. exports.pid = 1;
  5653. exports.browser = true;
  5654. exports.env = {};
  5655. exports.argv = [];
  5656. exports.binding = function (name) {
  5657. throw new Error('No such module. (Possibly not yet loaded)')
  5658. };
  5659. (function () {
  5660. var cwd = '/';
  5661. var path;
  5662. exports.cwd = function () { return cwd };
  5663. exports.chdir = function (dir) {
  5664. if (!path) path = __webpack_require__(/*! path */ 1405);
  5665. cwd = path.resolve(dir, cwd);
  5666. };
  5667. })();
  5668. exports.exit = exports.kill =
  5669. exports.umask = exports.dlopen =
  5670. exports.uptime = exports.memoryUsage =
  5671. exports.uvCounters = function() {};
  5672. exports.features = {};
  5673. /***/ }),
  5674. /***/ 1405:
  5675. /*!***********************************************!*\
  5676. !*** ./node_modules/path-browserify/index.js ***!
  5677. \***********************************************/
  5678. /*! no static exports found */
  5679. /***/ (function(module, exports, __webpack_require__) {
  5680. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  5681. // backported and transplited with Babel, with backwards-compat fixes
  5682. // Copyright Joyent, Inc. and other Node contributors.
  5683. //
  5684. // Permission is hereby granted, free of charge, to any person obtaining a
  5685. // copy of this software and associated documentation files (the
  5686. // "Software"), to deal in the Software without restriction, including
  5687. // without limitation the rights to use, copy, modify, merge, publish,
  5688. // distribute, sublicense, and/or sell copies of the Software, and to permit
  5689. // persons to whom the Software is furnished to do so, subject to the
  5690. // following conditions:
  5691. //
  5692. // The above copyright notice and this permission notice shall be included
  5693. // in all copies or substantial portions of the Software.
  5694. //
  5695. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  5696. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  5697. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  5698. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  5699. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  5700. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  5701. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  5702. // resolves . and .. elements in a path array with directory names there
  5703. // must be no slashes, empty elements, or device names (c:\) in the array
  5704. // (so also no leading and trailing slashes - it does not distinguish
  5705. // relative and absolute paths)
  5706. function normalizeArray(parts, allowAboveRoot) {
  5707. // if the path tries to go above the root, `up` ends up > 0
  5708. var up = 0;
  5709. for (var i = parts.length - 1; i >= 0; i--) {
  5710. var last = parts[i];
  5711. if (last === '.') {
  5712. parts.splice(i, 1);
  5713. } else if (last === '..') {
  5714. parts.splice(i, 1);
  5715. up++;
  5716. } else if (up) {
  5717. parts.splice(i, 1);
  5718. up--;
  5719. }
  5720. }
  5721. // if the path is allowed to go above the root, restore leading ..s
  5722. if (allowAboveRoot) {
  5723. for (; up--; up) {
  5724. parts.unshift('..');
  5725. }
  5726. }
  5727. return parts;
  5728. }
  5729. // path.resolve([from ...], to)
  5730. // posix version
  5731. exports.resolve = function() {
  5732. var resolvedPath = '',
  5733. resolvedAbsolute = false;
  5734. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  5735. var path = (i >= 0) ? arguments[i] : process.cwd();
  5736. // Skip empty and invalid entries
  5737. if (typeof path !== 'string') {
  5738. throw new TypeError('Arguments to path.resolve must be strings');
  5739. } else if (!path) {
  5740. continue;
  5741. }
  5742. resolvedPath = path + '/' + resolvedPath;
  5743. resolvedAbsolute = path.charAt(0) === '/';
  5744. }
  5745. // At this point the path should be resolved to a full absolute path, but
  5746. // handle relative paths to be safe (might happen when process.cwd() fails)
  5747. // Normalize the path
  5748. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  5749. return !!p;
  5750. }), !resolvedAbsolute).join('/');
  5751. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  5752. };
  5753. // path.normalize(path)
  5754. // posix version
  5755. exports.normalize = function(path) {
  5756. var isAbsolute = exports.isAbsolute(path),
  5757. trailingSlash = substr(path, -1) === '/';
  5758. // Normalize the path
  5759. path = normalizeArray(filter(path.split('/'), function(p) {
  5760. return !!p;
  5761. }), !isAbsolute).join('/');
  5762. if (!path && !isAbsolute) {
  5763. path = '.';
  5764. }
  5765. if (path && trailingSlash) {
  5766. path += '/';
  5767. }
  5768. return (isAbsolute ? '/' : '') + path;
  5769. };
  5770. // posix version
  5771. exports.isAbsolute = function(path) {
  5772. return path.charAt(0) === '/';
  5773. };
  5774. // posix version
  5775. exports.join = function() {
  5776. var paths = Array.prototype.slice.call(arguments, 0);
  5777. return exports.normalize(filter(paths, function(p, index) {
  5778. if (typeof p !== 'string') {
  5779. throw new TypeError('Arguments to path.join must be strings');
  5780. }
  5781. return p;
  5782. }).join('/'));
  5783. };
  5784. // path.relative(from, to)
  5785. // posix version
  5786. exports.relative = function(from, to) {
  5787. from = exports.resolve(from).substr(1);
  5788. to = exports.resolve(to).substr(1);
  5789. function trim(arr) {
  5790. var start = 0;
  5791. for (; start < arr.length; start++) {
  5792. if (arr[start] !== '') break;
  5793. }
  5794. var end = arr.length - 1;
  5795. for (; end >= 0; end--) {
  5796. if (arr[end] !== '') break;
  5797. }
  5798. if (start > end) return [];
  5799. return arr.slice(start, end - start + 1);
  5800. }
  5801. var fromParts = trim(from.split('/'));
  5802. var toParts = trim(to.split('/'));
  5803. var length = Math.min(fromParts.length, toParts.length);
  5804. var samePartsLength = length;
  5805. for (var i = 0; i < length; i++) {
  5806. if (fromParts[i] !== toParts[i]) {
  5807. samePartsLength = i;
  5808. break;
  5809. }
  5810. }
  5811. var outputParts = [];
  5812. for (var i = samePartsLength; i < fromParts.length; i++) {
  5813. outputParts.push('..');
  5814. }
  5815. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  5816. return outputParts.join('/');
  5817. };
  5818. exports.sep = '/';
  5819. exports.delimiter = ':';
  5820. exports.dirname = function (path) {
  5821. if (typeof path !== 'string') path = path + '';
  5822. if (path.length === 0) return '.';
  5823. var code = path.charCodeAt(0);
  5824. var hasRoot = code === 47 /*/*/;
  5825. var end = -1;
  5826. var matchedSlash = true;
  5827. for (var i = path.length - 1; i >= 1; --i) {
  5828. code = path.charCodeAt(i);
  5829. if (code === 47 /*/*/) {
  5830. if (!matchedSlash) {
  5831. end = i;
  5832. break;
  5833. }
  5834. } else {
  5835. // We saw the first non-path separator
  5836. matchedSlash = false;
  5837. }
  5838. }
  5839. if (end === -1) return hasRoot ? '/' : '.';
  5840. if (hasRoot && end === 1) {
  5841. // return '//';
  5842. // Backwards-compat fix:
  5843. return '/';
  5844. }
  5845. return path.slice(0, end);
  5846. };
  5847. function basename(path) {
  5848. if (typeof path !== 'string') path = path + '';
  5849. var start = 0;
  5850. var end = -1;
  5851. var matchedSlash = true;
  5852. var i;
  5853. for (i = path.length - 1; i >= 0; --i) {
  5854. if (path.charCodeAt(i) === 47 /*/*/) {
  5855. // If we reached a path separator that was not part of a set of path
  5856. // separators at the end of the string, stop now
  5857. if (!matchedSlash) {
  5858. start = i + 1;
  5859. break;
  5860. }
  5861. } else if (end === -1) {
  5862. // We saw the first non-path separator, mark this as the end of our
  5863. // path component
  5864. matchedSlash = false;
  5865. end = i + 1;
  5866. }
  5867. }
  5868. if (end === -1) return '';
  5869. return path.slice(start, end);
  5870. }
  5871. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  5872. // in new Node.js versions, so only basename() above is backported here
  5873. exports.basename = function (path, ext) {
  5874. var f = basename(path);
  5875. if (ext && f.substr(-1 * ext.length) === ext) {
  5876. f = f.substr(0, f.length - ext.length);
  5877. }
  5878. return f;
  5879. };
  5880. exports.extname = function (path) {
  5881. if (typeof path !== 'string') path = path + '';
  5882. var startDot = -1;
  5883. var startPart = 0;
  5884. var end = -1;
  5885. var matchedSlash = true;
  5886. // Track the state of characters (if any) we see before our first dot and
  5887. // after any path separator we find
  5888. var preDotState = 0;
  5889. for (var i = path.length - 1; i >= 0; --i) {
  5890. var code = path.charCodeAt(i);
  5891. if (code === 47 /*/*/) {
  5892. // If we reached a path separator that was not part of a set of path
  5893. // separators at the end of the string, stop now
  5894. if (!matchedSlash) {
  5895. startPart = i + 1;
  5896. break;
  5897. }
  5898. continue;
  5899. }
  5900. if (end === -1) {
  5901. // We saw the first non-path separator, mark this as the end of our
  5902. // extension
  5903. matchedSlash = false;
  5904. end = i + 1;
  5905. }
  5906. if (code === 46 /*.*/) {
  5907. // If this is our first dot, mark it as the start of our extension
  5908. if (startDot === -1)
  5909. startDot = i;
  5910. else if (preDotState !== 1)
  5911. preDotState = 1;
  5912. } else if (startDot !== -1) {
  5913. // We saw a non-dot and non-path separator before our dot, so we should
  5914. // have a good chance at having a non-empty extension
  5915. preDotState = -1;
  5916. }
  5917. }
  5918. if (startDot === -1 || end === -1 ||
  5919. // We saw a non-dot character immediately before the dot
  5920. preDotState === 0 ||
  5921. // The (right-most) trimmed path component is exactly '..'
  5922. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  5923. return '';
  5924. }
  5925. return path.slice(startDot, end);
  5926. };
  5927. function filter (xs, f) {
  5928. if (xs.filter) return xs.filter(f);
  5929. var res = [];
  5930. for (var i = 0; i < xs.length; i++) {
  5931. if (f(xs[i], i, xs)) res.push(xs[i]);
  5932. }
  5933. return res;
  5934. }
  5935. // String.prototype.substr - negative index don't work in IE8
  5936. var substr = 'ab'.substr(-1) === 'b'
  5937. ? function (str, start, len) { return str.substr(start, len) }
  5938. : function (str, start, len) {
  5939. if (start < 0) start = str.length + start;
  5940. return str.substr(start, len);
  5941. }
  5942. ;
  5943. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 1404)))
  5944. /***/ }),
  5945. /***/ 141:
  5946. /*!*******************************************************************************!*\
  5947. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipeAction.js ***!
  5948. \*******************************************************************************/
  5949. /*! no static exports found */
  5950. /***/ (function(module, exports, __webpack_require__) {
  5951. "use strict";
  5952. Object.defineProperty(exports, "__esModule", {
  5953. value: true
  5954. });
  5955. exports.default = void 0;
  5956. /*
  5957. * @Author : LQ
  5958. * @Description :
  5959. * @version : 1.0
  5960. * @Date : 2021-08-20 16:44:21
  5961. * @LastAuthor : LQ
  5962. * @lastTime : 2021-08-20 17:00:42
  5963. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
  5964. */
  5965. var _default = {
  5966. // swipe-action组件
  5967. swipeAction: {
  5968. autoClose: true
  5969. }
  5970. };
  5971. exports.default = _default;
  5972. /***/ }),
  5973. /***/ 1411:
  5974. /*!*************************************************************************!*\
  5975. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-line/props.js ***!
  5976. \*************************************************************************/
  5977. /*! no static exports found */
  5978. /***/ (function(module, exports, __webpack_require__) {
  5979. "use strict";
  5980. /* WEBPACK VAR INJECTION */(function(uni) {
  5981. Object.defineProperty(exports, "__esModule", {
  5982. value: true
  5983. });
  5984. exports.default = void 0;
  5985. var _default = {
  5986. props: {
  5987. color: {
  5988. type: String,
  5989. default: uni.$u.props.line.color
  5990. },
  5991. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  5992. length: {
  5993. type: [String, Number],
  5994. default: uni.$u.props.line.length
  5995. },
  5996. // 线条方向,col-竖向,row-横向
  5997. direction: {
  5998. type: String,
  5999. default: uni.$u.props.line.direction
  6000. },
  6001. // 是否显示细边框
  6002. hairline: {
  6003. type: Boolean,
  6004. default: uni.$u.props.line.hairline
  6005. },
  6006. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  6007. margin: {
  6008. type: [String, Number],
  6009. default: uni.$u.props.line.margin
  6010. },
  6011. // 是否虚线,true-虚线,false-实线
  6012. dashed: {
  6013. type: Boolean,
  6014. default: uni.$u.props.line.dashed
  6015. }
  6016. }
  6017. };
  6018. exports.default = _default;
  6019. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6020. /***/ }),
  6021. /***/ 142:
  6022. /*!***********************************************************************************!*\
  6023. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipeActionItem.js ***!
  6024. \***********************************************************************************/
  6025. /*! no static exports found */
  6026. /***/ (function(module, exports, __webpack_require__) {
  6027. "use strict";
  6028. Object.defineProperty(exports, "__esModule", {
  6029. value: true
  6030. });
  6031. exports.default = void 0;
  6032. /*
  6033. * @Author : LQ
  6034. * @Description :
  6035. * @version : 1.0
  6036. * @Date : 2021-08-20 16:44:21
  6037. * @LastAuthor : LQ
  6038. * @lastTime : 2021-08-20 17:01:13
  6039. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
  6040. */
  6041. var _default = {
  6042. // swipeActionItem 组件
  6043. swipeActionItem: {
  6044. show: false,
  6045. name: '',
  6046. disabled: false,
  6047. threshold: 20,
  6048. autoClose: true,
  6049. options: [],
  6050. duration: 300
  6051. }
  6052. };
  6053. exports.default = _default;
  6054. /***/ }),
  6055. /***/ 1426:
  6056. /*!**************************************************************************!*\
  6057. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-steps/props.js ***!
  6058. \**************************************************************************/
  6059. /*! no static exports found */
  6060. /***/ (function(module, exports, __webpack_require__) {
  6061. "use strict";
  6062. /* WEBPACK VAR INJECTION */(function(uni) {
  6063. Object.defineProperty(exports, "__esModule", {
  6064. value: true
  6065. });
  6066. exports.default = void 0;
  6067. var _default = {
  6068. props: {
  6069. // 排列方向
  6070. direction: {
  6071. type: String,
  6072. default: uni.$u.props.steps.direction
  6073. },
  6074. // 设置第几个步骤
  6075. current: {
  6076. type: [String, Number],
  6077. default: uni.$u.props.steps.current
  6078. },
  6079. // 激活状态颜色
  6080. activeColor: {
  6081. type: String,
  6082. default: uni.$u.props.steps.activeColor
  6083. },
  6084. // 未激活状态颜色
  6085. inactiveColor: {
  6086. type: String,
  6087. default: uni.$u.props.steps.inactiveColor
  6088. },
  6089. // 激活状态的图标
  6090. activeIcon: {
  6091. type: String,
  6092. default: uni.$u.props.steps.activeIcon
  6093. },
  6094. // 未激活状态图标
  6095. inactiveIcon: {
  6096. type: String,
  6097. default: uni.$u.props.steps.inactiveIcon
  6098. },
  6099. // 是否显示点类型
  6100. dot: {
  6101. type: Boolean,
  6102. default: uni.$u.props.steps.dot
  6103. }
  6104. }
  6105. };
  6106. exports.default = _default;
  6107. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6108. /***/ }),
  6109. /***/ 143:
  6110. /*!**************************************************************************!*\
  6111. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swiper.js ***!
  6112. \**************************************************************************/
  6113. /*! no static exports found */
  6114. /***/ (function(module, exports, __webpack_require__) {
  6115. "use strict";
  6116. Object.defineProperty(exports, "__esModule", {
  6117. value: true
  6118. });
  6119. exports.default = void 0;
  6120. /*
  6121. * @Author : LQ
  6122. * @Description :
  6123. * @version : 1.0
  6124. * @Date : 2021-08-20 16:44:21
  6125. * @LastAuthor : LQ
  6126. * @lastTime : 2021-08-20 17:21:38
  6127. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  6128. */
  6129. var _default = {
  6130. // swiper 组件
  6131. swiper: {
  6132. list: function list() {
  6133. return [];
  6134. },
  6135. indicator: false,
  6136. indicatorActiveColor: '#FFFFFF',
  6137. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  6138. indicatorStyle: '',
  6139. indicatorMode: 'line',
  6140. autoplay: true,
  6141. current: 0,
  6142. currentItemId: '',
  6143. interval: 3000,
  6144. duration: 300,
  6145. circular: false,
  6146. previousMargin: 0,
  6147. nextMargin: 0,
  6148. acceleration: false,
  6149. displayMultipleItems: 1,
  6150. easingFunction: 'default',
  6151. keyName: 'url',
  6152. imgMode: 'aspectFill',
  6153. height: 130,
  6154. bgColor: '#f3f4f6',
  6155. radius: 4,
  6156. loading: false,
  6157. showTitle: false
  6158. }
  6159. };
  6160. exports.default = _default;
  6161. /***/ }),
  6162. /***/ 1434:
  6163. /*!*******************************************************************************!*\
  6164. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-steps-item/props.js ***!
  6165. \*******************************************************************************/
  6166. /*! no static exports found */
  6167. /***/ (function(module, exports, __webpack_require__) {
  6168. "use strict";
  6169. /* WEBPACK VAR INJECTION */(function(uni) {
  6170. Object.defineProperty(exports, "__esModule", {
  6171. value: true
  6172. });
  6173. exports.default = void 0;
  6174. var _default = {
  6175. props: {
  6176. // 标题
  6177. title: {
  6178. type: [String, Number],
  6179. default: uni.$u.props.stepsItem.title
  6180. },
  6181. // 描述文本
  6182. desc: {
  6183. type: [String, Number],
  6184. default: uni.$u.props.stepsItem.desc
  6185. },
  6186. // 图标大小
  6187. iconSize: {
  6188. type: [String, Number],
  6189. default: uni.$u.props.stepsItem.iconSize
  6190. },
  6191. // 当前步骤是否处于失败状态
  6192. error: {
  6193. type: Boolean,
  6194. default: uni.$u.props.stepsItem.error
  6195. }
  6196. }
  6197. };
  6198. exports.default = _default;
  6199. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6200. /***/ }),
  6201. /***/ 144:
  6202. /*!************************************************************************************!*\
  6203. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/swipterIndicator.js ***!
  6204. \************************************************************************************/
  6205. /*! no static exports found */
  6206. /***/ (function(module, exports, __webpack_require__) {
  6207. "use strict";
  6208. Object.defineProperty(exports, "__esModule", {
  6209. value: true
  6210. });
  6211. exports.default = void 0;
  6212. /*
  6213. * @Author : LQ
  6214. * @Description :
  6215. * @version : 1.0
  6216. * @Date : 2021-08-20 16:44:21
  6217. * @LastAuthor : LQ
  6218. * @lastTime : 2021-08-20 17:22:07
  6219. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
  6220. */
  6221. var _default = {
  6222. // swiperIndicator 组件
  6223. swiperIndicator: {
  6224. length: 0,
  6225. current: 0,
  6226. indicatorActiveColor: '',
  6227. indicatorInactiveColor: '',
  6228. indicatorMode: 'line'
  6229. }
  6230. };
  6231. exports.default = _default;
  6232. /***/ }),
  6233. /***/ 1442:
  6234. /*!*************************************************************************!*\
  6235. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-text/props.js ***!
  6236. \*************************************************************************/
  6237. /*! no static exports found */
  6238. /***/ (function(module, exports, __webpack_require__) {
  6239. "use strict";
  6240. /* WEBPACK VAR INJECTION */(function(uni) {
  6241. Object.defineProperty(exports, "__esModule", {
  6242. value: true
  6243. });
  6244. exports.default = void 0;
  6245. var _default = {
  6246. props: {
  6247. // 主题颜色
  6248. type: {
  6249. type: String,
  6250. default: uni.$u.props.text.type
  6251. },
  6252. // 是否显示
  6253. show: {
  6254. type: Boolean,
  6255. default: uni.$u.props.text.show
  6256. },
  6257. // 显示的值
  6258. text: {
  6259. type: [String, Number],
  6260. default: uni.$u.props.text.text
  6261. },
  6262. // 前置图标
  6263. prefixIcon: {
  6264. type: String,
  6265. default: uni.$u.props.text.prefixIcon
  6266. },
  6267. // 后置图标
  6268. suffixIcon: {
  6269. type: String,
  6270. default: uni.$u.props.text.suffixIcon
  6271. },
  6272. // 文本处理的匹配模式
  6273. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  6274. mode: {
  6275. type: String,
  6276. default: uni.$u.props.text.mode
  6277. },
  6278. // mode=link下,配置的链接
  6279. href: {
  6280. type: String,
  6281. default: uni.$u.props.text.href
  6282. },
  6283. // 格式化规则
  6284. format: {
  6285. type: [String, Function],
  6286. default: uni.$u.props.text.format
  6287. },
  6288. // mode=phone时,点击文本是否拨打电话
  6289. call: {
  6290. type: Boolean,
  6291. default: uni.$u.props.text.call
  6292. },
  6293. // 小程序的打开方式
  6294. openType: {
  6295. type: String,
  6296. default: uni.$u.props.text.openType
  6297. },
  6298. // 是否粗体,默认normal
  6299. bold: {
  6300. type: Boolean,
  6301. default: uni.$u.props.text.bold
  6302. },
  6303. // 是否块状
  6304. block: {
  6305. type: Boolean,
  6306. default: uni.$u.props.text.block
  6307. },
  6308. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  6309. lines: {
  6310. type: [String, Number],
  6311. default: uni.$u.props.text.lines
  6312. },
  6313. // 文本颜色
  6314. color: {
  6315. type: String,
  6316. default: uni.$u.props.text.color
  6317. },
  6318. // 字体大小
  6319. size: {
  6320. type: [String, Number],
  6321. default: uni.$u.props.text.size
  6322. },
  6323. // 图标的样式
  6324. iconStyle: {
  6325. type: [Object, String],
  6326. default: uni.$u.props.text.iconStyle
  6327. },
  6328. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  6329. decoration: {
  6330. type: String,
  6331. default: uni.$u.props.text.decoration
  6332. },
  6333. // 外边距,对象、字符串,数值形式均可
  6334. margin: {
  6335. type: [Object, String, Number],
  6336. default: uni.$u.props.text.margin
  6337. },
  6338. // 文本行高
  6339. lineHeight: {
  6340. type: [String, Number],
  6341. default: uni.$u.props.text.lineHeight
  6342. },
  6343. // 文本对齐方式,可选值left|center|right
  6344. align: {
  6345. type: String,
  6346. default: uni.$u.props.text.align
  6347. },
  6348. // 文字换行,可选值break-word|normal|anywhere
  6349. wordWrap: {
  6350. type: String,
  6351. default: uni.$u.props.text.wordWrap
  6352. }
  6353. }
  6354. };
  6355. exports.default = _default;
  6356. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6357. /***/ }),
  6358. /***/ 1448:
  6359. /*!*************************************************************************!*\
  6360. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-text/value.js ***!
  6361. \*************************************************************************/
  6362. /*! no static exports found */
  6363. /***/ (function(module, exports, __webpack_require__) {
  6364. "use strict";
  6365. /* WEBPACK VAR INJECTION */(function(uni) {
  6366. Object.defineProperty(exports, "__esModule", {
  6367. value: true
  6368. });
  6369. exports.default = void 0;
  6370. var _default = {
  6371. computed: {
  6372. // 经处理后需要显示的值
  6373. value: function value() {
  6374. var text = this.text,
  6375. mode = this.mode,
  6376. format = this.format,
  6377. href = this.href;
  6378. // 价格类型
  6379. if (mode === 'price') {
  6380. // 如果text不为金额进行提示
  6381. if (!/^\d+(\.\d+)?$/.test(text)) {
  6382. uni.$u.error('金额模式下,text参数需要为金额格式');
  6383. }
  6384. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  6385. if (uni.$u.test.func(format)) {
  6386. // 如果用户传入的是函数,使用函数格式化
  6387. return format(text);
  6388. }
  6389. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  6390. return uni.$u.priceFormat(text, 2);
  6391. }
  6392. if (mode === 'date') {
  6393. // 判断是否合法的日期或者时间戳
  6394. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  6395. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  6396. if (uni.$u.test.func(format)) {
  6397. // 如果用户传入的是函数,使用函数格式化
  6398. return format(text);
  6399. }
  6400. if (format) {
  6401. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  6402. return uni.$u.timeFormat(text, format);
  6403. }
  6404. // 如果没有设置format,则设置为默认的时间格式化形式
  6405. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  6406. }
  6407. if (mode === 'phone') {
  6408. // 判断是否合法的手机号
  6409. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  6410. if (uni.$u.test.func(format)) {
  6411. // 如果用户传入的是函数,使用函数格式化
  6412. return format(text);
  6413. }
  6414. if (format === 'encrypt') {
  6415. // 如果format为encrypt,则将手机号进行星号加密处理
  6416. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  6417. }
  6418. return text;
  6419. }
  6420. if (mode === 'name') {
  6421. // 判断是否合法的字符粗
  6422. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  6423. if (uni.$u.test.func(format)) {
  6424. // 如果用户传入的是函数,使用函数格式化
  6425. return format(text);
  6426. }
  6427. if (format === 'encrypt') {
  6428. // 如果format为encrypt,则将姓名进行星号加密处理
  6429. return this.formatName(text);
  6430. }
  6431. return text;
  6432. }
  6433. if (mode === 'link') {
  6434. // 判断是否合法的字符粗
  6435. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  6436. return text;
  6437. }
  6438. return text;
  6439. }
  6440. },
  6441. methods: {
  6442. // 默认的姓名脱敏规则
  6443. formatName: function formatName(name) {
  6444. var value = '';
  6445. if (name.length === 2) {
  6446. value = name.substr(0, 1) + '*';
  6447. } else if (name.length > 2) {
  6448. var char = '';
  6449. for (var i = 0, len = name.length - 2; i < len; i++) {
  6450. char += '*';
  6451. }
  6452. value = name.substr(0, 1) + char + name.substr(-1, 1);
  6453. } else {
  6454. value = name;
  6455. }
  6456. return value;
  6457. }
  6458. }
  6459. };
  6460. exports.default = _default;
  6461. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6462. /***/ }),
  6463. /***/ 1449:
  6464. /*!*******************************************************************!*\
  6465. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/button.js ***!
  6466. \*******************************************************************/
  6467. /*! no static exports found */
  6468. /***/ (function(module, exports, __webpack_require__) {
  6469. "use strict";
  6470. Object.defineProperty(exports, "__esModule", {
  6471. value: true
  6472. });
  6473. exports.default = void 0;
  6474. var _default = {
  6475. props: {
  6476. lang: String,
  6477. sessionFrom: String,
  6478. sendMessageTitle: String,
  6479. sendMessagePath: String,
  6480. sendMessageImg: String,
  6481. showMessageCard: Boolean,
  6482. appParameter: String,
  6483. formType: String,
  6484. openType: String
  6485. }
  6486. };
  6487. exports.default = _default;
  6488. /***/ }),
  6489. /***/ 145:
  6490. /*!**************************************************************************!*\
  6491. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/switch.js ***!
  6492. \**************************************************************************/
  6493. /*! no static exports found */
  6494. /***/ (function(module, exports, __webpack_require__) {
  6495. "use strict";
  6496. Object.defineProperty(exports, "__esModule", {
  6497. value: true
  6498. });
  6499. exports.default = void 0;
  6500. /*
  6501. * @Author : LQ
  6502. * @Description :
  6503. * @version : 1.0
  6504. * @Date : 2021-08-20 16:44:21
  6505. * @LastAuthor : LQ
  6506. * @lastTime : 2021-08-20 17:22:24
  6507. * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
  6508. */
  6509. var _default = {
  6510. // switch
  6511. switch: {
  6512. loading: false,
  6513. disabled: false,
  6514. size: 25,
  6515. activeColor: '#2979ff',
  6516. inactiveColor: '#ffffff',
  6517. value: false,
  6518. activeValue: true,
  6519. inactiveValue: false,
  6520. asyncChange: false,
  6521. space: 0
  6522. }
  6523. };
  6524. exports.default = _default;
  6525. /***/ }),
  6526. /***/ 1450:
  6527. /*!*********************************************************************!*\
  6528. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/openType.js ***!
  6529. \*********************************************************************/
  6530. /*! no static exports found */
  6531. /***/ (function(module, exports, __webpack_require__) {
  6532. "use strict";
  6533. Object.defineProperty(exports, "__esModule", {
  6534. value: true
  6535. });
  6536. exports.default = void 0;
  6537. var _default = {
  6538. props: {
  6539. openType: String
  6540. },
  6541. methods: {
  6542. onGetUserInfo: function onGetUserInfo(event) {
  6543. this.$emit('getuserinfo', event.detail);
  6544. },
  6545. onContact: function onContact(event) {
  6546. this.$emit('contact', event.detail);
  6547. },
  6548. onGetPhoneNumber: function onGetPhoneNumber(event) {
  6549. this.$emit('getphonenumber', event.detail);
  6550. },
  6551. onError: function onError(event) {
  6552. this.$emit('error', event.detail);
  6553. },
  6554. onLaunchApp: function onLaunchApp(event) {
  6555. this.$emit('launchapp', event.detail);
  6556. },
  6557. onOpenSetting: function onOpenSetting(event) {
  6558. this.$emit('opensetting', event.detail);
  6559. }
  6560. }
  6561. };
  6562. exports.default = _default;
  6563. /***/ }),
  6564. /***/ 1458:
  6565. /*!*************************************************************************!*\
  6566. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-link/props.js ***!
  6567. \*************************************************************************/
  6568. /*! no static exports found */
  6569. /***/ (function(module, exports, __webpack_require__) {
  6570. "use strict";
  6571. /* WEBPACK VAR INJECTION */(function(uni) {
  6572. Object.defineProperty(exports, "__esModule", {
  6573. value: true
  6574. });
  6575. exports.default = void 0;
  6576. var _default = {
  6577. props: {
  6578. // 文字颜色
  6579. color: {
  6580. type: String,
  6581. default: uni.$u.props.link.color
  6582. },
  6583. // 字体大小,单位px
  6584. fontSize: {
  6585. type: [String, Number],
  6586. default: uni.$u.props.link.fontSize
  6587. },
  6588. // 是否显示下划线
  6589. underLine: {
  6590. type: Boolean,
  6591. default: uni.$u.props.link.underLine
  6592. },
  6593. // 要跳转的链接
  6594. href: {
  6595. type: String,
  6596. default: uni.$u.props.link.href
  6597. },
  6598. // 小程序中复制到粘贴板的提示语
  6599. mpTips: {
  6600. type: String,
  6601. default: uni.$u.props.link.mpTips
  6602. },
  6603. // 下划线颜色
  6604. lineColor: {
  6605. type: String,
  6606. default: uni.$u.props.link.lineColor
  6607. },
  6608. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  6609. text: {
  6610. type: String,
  6611. default: uni.$u.props.link.text
  6612. }
  6613. }
  6614. };
  6615. exports.default = _default;
  6616. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  6617. /***/ }),
  6618. /***/ 146:
  6619. /*!**************************************************************************!*\
  6620. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabbar.js ***!
  6621. \**************************************************************************/
  6622. /*! no static exports found */
  6623. /***/ (function(module, exports, __webpack_require__) {
  6624. "use strict";
  6625. Object.defineProperty(exports, "__esModule", {
  6626. value: true
  6627. });
  6628. exports.default = void 0;
  6629. /*
  6630. * @Author : LQ
  6631. * @Description :
  6632. * @version : 1.0
  6633. * @Date : 2021-08-20 16:44:21
  6634. * @LastAuthor : LQ
  6635. * @lastTime : 2021-08-20 17:22:40
  6636. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
  6637. */
  6638. var _default = {
  6639. // tabbar
  6640. tabbar: {
  6641. value: null,
  6642. safeAreaInsetBottom: true,
  6643. border: true,
  6644. zIndex: 1,
  6645. activeColor: '#1989fa',
  6646. inactiveColor: '#7d7e80',
  6647. fixed: true,
  6648. placeholder: true
  6649. }
  6650. };
  6651. exports.default = _default;
  6652. /***/ }),
  6653. /***/ 147:
  6654. /*!******************************************************************************!*\
  6655. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabbarItem.js ***!
  6656. \******************************************************************************/
  6657. /*! no static exports found */
  6658. /***/ (function(module, exports, __webpack_require__) {
  6659. "use strict";
  6660. Object.defineProperty(exports, "__esModule", {
  6661. value: true
  6662. });
  6663. exports.default = void 0;
  6664. /*
  6665. * @Author : LQ
  6666. * @Description :
  6667. * @version : 1.0
  6668. * @Date : 2021-08-20 16:44:21
  6669. * @LastAuthor : LQ
  6670. * @lastTime : 2021-08-20 17:22:55
  6671. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
  6672. */
  6673. var _default = {
  6674. //
  6675. tabbarItem: {
  6676. name: null,
  6677. icon: '',
  6678. badge: null,
  6679. dot: false,
  6680. text: '',
  6681. badgeStyle: 'top: 6px;right:2px;'
  6682. }
  6683. };
  6684. exports.default = _default;
  6685. /***/ }),
  6686. /***/ 148:
  6687. /*!************************************************************************!*\
  6688. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tabs.js ***!
  6689. \************************************************************************/
  6690. /*! no static exports found */
  6691. /***/ (function(module, exports, __webpack_require__) {
  6692. "use strict";
  6693. Object.defineProperty(exports, "__esModule", {
  6694. value: true
  6695. });
  6696. exports.default = void 0;
  6697. /*
  6698. * @Author : LQ
  6699. * @Description :
  6700. * @version : 1.0
  6701. * @Date : 2021-08-20 16:44:21
  6702. * @LastAuthor : LQ
  6703. * @lastTime : 2021-08-20 17:23:14
  6704. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  6705. */
  6706. var _default = {
  6707. //
  6708. tabs: {
  6709. duration: 300,
  6710. list: function list() {
  6711. return [];
  6712. },
  6713. lineColor: '#3c9cff',
  6714. activeStyle: function activeStyle() {
  6715. return {
  6716. color: '#303133'
  6717. };
  6718. },
  6719. inactiveStyle: function inactiveStyle() {
  6720. return {
  6721. color: '#606266'
  6722. };
  6723. },
  6724. lineWidth: 20,
  6725. lineHeight: 3,
  6726. lineBgSize: 'cover',
  6727. itemStyle: function itemStyle() {
  6728. return {
  6729. height: '44px'
  6730. };
  6731. },
  6732. scrollable: true,
  6733. current: 0,
  6734. keyName: 'name'
  6735. }
  6736. };
  6737. exports.default = _default;
  6738. /***/ }),
  6739. /***/ 149:
  6740. /*!***********************************************************************!*\
  6741. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tag.js ***!
  6742. \***********************************************************************/
  6743. /*! no static exports found */
  6744. /***/ (function(module, exports, __webpack_require__) {
  6745. "use strict";
  6746. Object.defineProperty(exports, "__esModule", {
  6747. value: true
  6748. });
  6749. exports.default = void 0;
  6750. /*
  6751. * @Author : LQ
  6752. * @Description :
  6753. * @version : 1.0
  6754. * @Date : 2021-08-20 16:44:21
  6755. * @LastAuthor : LQ
  6756. * @lastTime : 2021-08-20 17:23:37
  6757. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
  6758. */
  6759. var _default = {
  6760. // tag 组件
  6761. tag: {
  6762. type: 'primary',
  6763. disabled: false,
  6764. size: 'medium',
  6765. shape: 'square',
  6766. text: '',
  6767. bgColor: '',
  6768. color: '',
  6769. borderColor: '',
  6770. closeColor: '#C6C7CB',
  6771. name: '',
  6772. plainFill: false,
  6773. plain: false,
  6774. closable: false,
  6775. show: true,
  6776. icon: ''
  6777. }
  6778. };
  6779. exports.default = _default;
  6780. /***/ }),
  6781. /***/ 15:
  6782. /*!**********************************************************!*\
  6783. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  6784. \**********************************************************/
  6785. /*! no static exports found */
  6786. /***/ (function(module, exports, __webpack_require__) {
  6787. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  6788. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  6789. function _construct(t, e, r) {
  6790. if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
  6791. var o = [null];
  6792. o.push.apply(o, e);
  6793. var p = new (t.bind.apply(t, o))();
  6794. return r && setPrototypeOf(p, r.prototype), p;
  6795. }
  6796. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  6797. /***/ }),
  6798. /***/ 150:
  6799. /*!************************************************************************!*\
  6800. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/text.js ***!
  6801. \************************************************************************/
  6802. /*! no static exports found */
  6803. /***/ (function(module, exports, __webpack_require__) {
  6804. "use strict";
  6805. Object.defineProperty(exports, "__esModule", {
  6806. value: true
  6807. });
  6808. exports.default = void 0;
  6809. /*
  6810. * @Author : LQ
  6811. * @Description :
  6812. * @version : 1.0
  6813. * @Date : 2021-08-20 16:44:21
  6814. * @LastAuthor : LQ
  6815. * @lastTime : 2021-08-20 17:23:58
  6816. * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
  6817. */
  6818. var _default = {
  6819. // text 组件
  6820. text: {
  6821. type: '',
  6822. show: true,
  6823. text: '',
  6824. prefixIcon: '',
  6825. suffixIcon: '',
  6826. mode: '',
  6827. href: '',
  6828. format: '',
  6829. call: false,
  6830. openType: '',
  6831. bold: false,
  6832. block: false,
  6833. lines: '',
  6834. color: '#303133',
  6835. size: 15,
  6836. iconStyle: function iconStyle() {
  6837. return {
  6838. fontSize: '15px'
  6839. };
  6840. },
  6841. decoration: 'none',
  6842. margin: 0,
  6843. lineHeight: '',
  6844. align: 'left',
  6845. wordWrap: 'normal'
  6846. }
  6847. };
  6848. exports.default = _default;
  6849. /***/ }),
  6850. /***/ 151:
  6851. /*!****************************************************************************!*\
  6852. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/textarea.js ***!
  6853. \****************************************************************************/
  6854. /*! no static exports found */
  6855. /***/ (function(module, exports, __webpack_require__) {
  6856. "use strict";
  6857. Object.defineProperty(exports, "__esModule", {
  6858. value: true
  6859. });
  6860. exports.default = void 0;
  6861. /*
  6862. * @Author : LQ
  6863. * @Description :
  6864. * @version : 1.0
  6865. * @Date : 2021-08-20 16:44:21
  6866. * @LastAuthor : LQ
  6867. * @lastTime : 2021-08-20 17:24:32
  6868. * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
  6869. */
  6870. var _default = {
  6871. // textarea 组件
  6872. textarea: {
  6873. value: '',
  6874. placeholder: '',
  6875. placeholderClass: 'textarea-placeholder',
  6876. placeholderStyle: 'color: #c0c4cc',
  6877. height: 70,
  6878. confirmType: 'done',
  6879. disabled: false,
  6880. count: false,
  6881. focus: false,
  6882. autoHeight: false,
  6883. fixed: false,
  6884. cursorSpacing: 0,
  6885. cursor: '',
  6886. showConfirmBar: true,
  6887. selectionStart: -1,
  6888. selectionEnd: -1,
  6889. adjustPosition: true,
  6890. disableDefaultPadding: false,
  6891. holdKeyboard: false,
  6892. maxlength: 140,
  6893. border: 'surround',
  6894. formatter: null
  6895. }
  6896. };
  6897. exports.default = _default;
  6898. /***/ }),
  6899. /***/ 152:
  6900. /*!*************************************************************************!*\
  6901. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/toast.js ***!
  6902. \*************************************************************************/
  6903. /*! no static exports found */
  6904. /***/ (function(module, exports, __webpack_require__) {
  6905. "use strict";
  6906. Object.defineProperty(exports, "__esModule", {
  6907. value: true
  6908. });
  6909. exports.default = void 0;
  6910. /*
  6911. * @Author : LQ
  6912. * @Description :
  6913. * @version : 1.0
  6914. * @Date : 2021-08-20 16:44:21
  6915. * @LastAuthor : LQ
  6916. * @lastTime : 2021-08-20 17:07:07
  6917. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
  6918. */
  6919. var _default = {
  6920. // toast组件
  6921. toast: {
  6922. zIndex: 10090,
  6923. loading: false,
  6924. text: '',
  6925. icon: '',
  6926. type: '',
  6927. loadingMode: '',
  6928. show: '',
  6929. overlay: false,
  6930. position: 'center',
  6931. params: function params() {},
  6932. duration: 2000,
  6933. isTab: false,
  6934. url: '',
  6935. callback: null,
  6936. back: false
  6937. }
  6938. };
  6939. exports.default = _default;
  6940. /***/ }),
  6941. /***/ 153:
  6942. /*!***************************************************************************!*\
  6943. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/toolbar.js ***!
  6944. \***************************************************************************/
  6945. /*! no static exports found */
  6946. /***/ (function(module, exports, __webpack_require__) {
  6947. "use strict";
  6948. Object.defineProperty(exports, "__esModule", {
  6949. value: true
  6950. });
  6951. exports.default = void 0;
  6952. /*
  6953. * @Author : LQ
  6954. * @Description :
  6955. * @version : 1.0
  6956. * @Date : 2021-08-20 16:44:21
  6957. * @LastAuthor : LQ
  6958. * @lastTime : 2021-08-20 17:24:55
  6959. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
  6960. */
  6961. var _default = {
  6962. // toolbar 组件
  6963. toolbar: {
  6964. show: true,
  6965. cancelText: '取消',
  6966. confirmText: '确认',
  6967. cancelColor: '#909193',
  6968. confirmColor: '#3c9cff',
  6969. title: ''
  6970. }
  6971. };
  6972. exports.default = _default;
  6973. /***/ }),
  6974. /***/ 154:
  6975. /*!***************************************************************************!*\
  6976. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/tooltip.js ***!
  6977. \***************************************************************************/
  6978. /*! no static exports found */
  6979. /***/ (function(module, exports, __webpack_require__) {
  6980. "use strict";
  6981. Object.defineProperty(exports, "__esModule", {
  6982. value: true
  6983. });
  6984. exports.default = void 0;
  6985. /*
  6986. * @Author : LQ
  6987. * @Description :
  6988. * @version : 1.0
  6989. * @Date : 2021-08-20 16:44:21
  6990. * @LastAuthor : LQ
  6991. * @lastTime : 2021-08-20 17:25:14
  6992. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
  6993. */
  6994. var _default = {
  6995. // tooltip 组件
  6996. tooltip: {
  6997. text: '',
  6998. copyText: '',
  6999. size: 14,
  7000. color: '#606266',
  7001. bgColor: 'transparent',
  7002. direction: 'top',
  7003. zIndex: 10071,
  7004. showCopy: true,
  7005. buttons: function buttons() {
  7006. return [];
  7007. },
  7008. overlay: true,
  7009. showToast: true
  7010. }
  7011. };
  7012. exports.default = _default;
  7013. /***/ }),
  7014. /***/ 155:
  7015. /*!******************************************************************************!*\
  7016. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/transition.js ***!
  7017. \******************************************************************************/
  7018. /*! no static exports found */
  7019. /***/ (function(module, exports, __webpack_require__) {
  7020. "use strict";
  7021. Object.defineProperty(exports, "__esModule", {
  7022. value: true
  7023. });
  7024. exports.default = void 0;
  7025. /*
  7026. * @Author : LQ
  7027. * @Description :
  7028. * @version : 1.0
  7029. * @Date : 2021-08-20 16:44:21
  7030. * @LastAuthor : LQ
  7031. * @lastTime : 2021-08-20 16:59:00
  7032. * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
  7033. */
  7034. var _default = {
  7035. // transition动画组件的props
  7036. transition: {
  7037. show: false,
  7038. mode: 'fade',
  7039. duration: '300',
  7040. timingFunction: 'ease-out'
  7041. }
  7042. };
  7043. exports.default = _default;
  7044. /***/ }),
  7045. /***/ 156:
  7046. /*!**************************************************************************!*\
  7047. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/upload.js ***!
  7048. \**************************************************************************/
  7049. /*! no static exports found */
  7050. /***/ (function(module, exports, __webpack_require__) {
  7051. "use strict";
  7052. Object.defineProperty(exports, "__esModule", {
  7053. value: true
  7054. });
  7055. exports.default = void 0;
  7056. /*
  7057. * @Author : LQ
  7058. * @Description :
  7059. * @version : 1.0
  7060. * @Date : 2021-08-20 16:44:21
  7061. * @LastAuthor : LQ
  7062. * @lastTime : 2021-08-20 17:09:50
  7063. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  7064. */
  7065. var _default = {
  7066. // upload组件
  7067. upload: {
  7068. accept: 'image',
  7069. capture: function capture() {
  7070. return ['album', 'camera'];
  7071. },
  7072. compressed: true,
  7073. camera: 'back',
  7074. maxDuration: 60,
  7075. uploadIcon: 'camera-fill',
  7076. uploadIconColor: '#D3D4D6',
  7077. useBeforeRead: false,
  7078. previewFullImage: true,
  7079. maxCount: 52,
  7080. disabled: false,
  7081. imageMode: 'aspectFill',
  7082. name: '',
  7083. sizeType: function sizeType() {
  7084. return ['original', 'compressed'];
  7085. },
  7086. multiple: false,
  7087. deletable: true,
  7088. maxSize: Number.MAX_VALUE,
  7089. fileList: function fileList() {
  7090. return [];
  7091. },
  7092. uploadText: '',
  7093. width: 80,
  7094. height: 80,
  7095. previewImage: true
  7096. }
  7097. };
  7098. exports.default = _default;
  7099. /***/ }),
  7100. /***/ 157:
  7101. /*!********************************************************************!*\
  7102. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/zIndex.js ***!
  7103. \********************************************************************/
  7104. /*! no static exports found */
  7105. /***/ (function(module, exports, __webpack_require__) {
  7106. "use strict";
  7107. Object.defineProperty(exports, "__esModule", {
  7108. value: true
  7109. });
  7110. exports.default = void 0;
  7111. // uniapp在H5中各API的z-index值如下:
  7112. /**
  7113. * actionsheet: 999
  7114. * modal: 999
  7115. * navigate: 998
  7116. * tabbar: 998
  7117. * toast: 999
  7118. */
  7119. var _default = {
  7120. toast: 10090,
  7121. noNetwork: 10080,
  7122. // popup包含popup,actionsheet,keyboard,picker的值
  7123. popup: 10075,
  7124. mask: 10070,
  7125. navbar: 980,
  7126. topTips: 975,
  7127. sticky: 970,
  7128. indexListSticky: 965
  7129. };
  7130. exports.default = _default;
  7131. /***/ }),
  7132. /***/ 158:
  7133. /*!************************************************************************!*\
  7134. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/platform.js ***!
  7135. \************************************************************************/
  7136. /*! no static exports found */
  7137. /***/ (function(module, exports, __webpack_require__) {
  7138. "use strict";
  7139. Object.defineProperty(exports, "__esModule", {
  7140. value: true
  7141. });
  7142. exports.default = void 0;
  7143. /**
  7144. * 注意:
  7145. * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效:
  7146. * module.exports = {
  7147. * transpileDependencies: ['uview-v2']
  7148. * }
  7149. */
  7150. var platform = 'none';
  7151. platform = 'vue2';
  7152. platform = 'weixin';
  7153. platform = 'mp';
  7154. var _default = platform;
  7155. exports.default = _default;
  7156. /***/ }),
  7157. /***/ 159:
  7158. /*!****************************************************!*\
  7159. !*** ./node_modules/vue-i18n/dist/vue-i18n.esm.js ***!
  7160. \****************************************************/
  7161. /*! exports provided: default */
  7162. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7163. "use strict";
  7164. __webpack_require__.r(__webpack_exports__);
  7165. /*!
  7166. * vue-i18n v8.28.2
  7167. * (c) 2022 kazuya kawaguchi
  7168. * Released under the MIT License.
  7169. */
  7170. /* */
  7171. /**
  7172. * constants
  7173. */
  7174. var numberFormatKeys = [
  7175. 'compactDisplay',
  7176. 'currency',
  7177. 'currencyDisplay',
  7178. 'currencySign',
  7179. 'localeMatcher',
  7180. 'notation',
  7181. 'numberingSystem',
  7182. 'signDisplay',
  7183. 'style',
  7184. 'unit',
  7185. 'unitDisplay',
  7186. 'useGrouping',
  7187. 'minimumIntegerDigits',
  7188. 'minimumFractionDigits',
  7189. 'maximumFractionDigits',
  7190. 'minimumSignificantDigits',
  7191. 'maximumSignificantDigits'
  7192. ];
  7193. var dateTimeFormatKeys = [
  7194. 'dateStyle',
  7195. 'timeStyle',
  7196. 'calendar',
  7197. 'localeMatcher',
  7198. "hour12",
  7199. "hourCycle",
  7200. "timeZone",
  7201. "formatMatcher",
  7202. 'weekday',
  7203. 'era',
  7204. 'year',
  7205. 'month',
  7206. 'day',
  7207. 'hour',
  7208. 'minute',
  7209. 'second',
  7210. 'timeZoneName' ];
  7211. /**
  7212. * utilities
  7213. */
  7214. function warn (msg, err) {
  7215. if (typeof console !== 'undefined') {
  7216. console.warn('[vue-i18n] ' + msg);
  7217. /* istanbul ignore if */
  7218. if (err) {
  7219. console.warn(err.stack);
  7220. }
  7221. }
  7222. }
  7223. function error (msg, err) {
  7224. if (typeof console !== 'undefined') {
  7225. console.error('[vue-i18n] ' + msg);
  7226. /* istanbul ignore if */
  7227. if (err) {
  7228. console.error(err.stack);
  7229. }
  7230. }
  7231. }
  7232. var isArray = Array.isArray;
  7233. function isObject (obj) {
  7234. return obj !== null && typeof obj === 'object'
  7235. }
  7236. function isBoolean (val) {
  7237. return typeof val === 'boolean'
  7238. }
  7239. function isString (val) {
  7240. return typeof val === 'string'
  7241. }
  7242. var toString = Object.prototype.toString;
  7243. var OBJECT_STRING = '[object Object]';
  7244. function isPlainObject (obj) {
  7245. return toString.call(obj) === OBJECT_STRING
  7246. }
  7247. function isNull (val) {
  7248. return val === null || val === undefined
  7249. }
  7250. function isFunction (val) {
  7251. return typeof val === 'function'
  7252. }
  7253. function parseArgs () {
  7254. var args = [], len = arguments.length;
  7255. while ( len-- ) args[ len ] = arguments[ len ];
  7256. var locale = null;
  7257. var params = null;
  7258. if (args.length === 1) {
  7259. if (isObject(args[0]) || isArray(args[0])) {
  7260. params = args[0];
  7261. } else if (typeof args[0] === 'string') {
  7262. locale = args[0];
  7263. }
  7264. } else if (args.length === 2) {
  7265. if (typeof args[0] === 'string') {
  7266. locale = args[0];
  7267. }
  7268. /* istanbul ignore if */
  7269. if (isObject(args[1]) || isArray(args[1])) {
  7270. params = args[1];
  7271. }
  7272. }
  7273. return { locale: locale, params: params }
  7274. }
  7275. function looseClone (obj) {
  7276. return JSON.parse(JSON.stringify(obj))
  7277. }
  7278. function remove (arr, item) {
  7279. if (arr.delete(item)) {
  7280. return arr
  7281. }
  7282. }
  7283. function arrayFrom (arr) {
  7284. var ret = [];
  7285. arr.forEach(function (a) { return ret.push(a); });
  7286. return ret
  7287. }
  7288. function includes (arr, item) {
  7289. return !!~arr.indexOf(item)
  7290. }
  7291. var hasOwnProperty = Object.prototype.hasOwnProperty;
  7292. function hasOwn (obj, key) {
  7293. return hasOwnProperty.call(obj, key)
  7294. }
  7295. function merge (target) {
  7296. var arguments$1 = arguments;
  7297. var output = Object(target);
  7298. for (var i = 1; i < arguments.length; i++) {
  7299. var source = arguments$1[i];
  7300. if (source !== undefined && source !== null) {
  7301. var key = (void 0);
  7302. for (key in source) {
  7303. if (hasOwn(source, key)) {
  7304. if (isObject(source[key])) {
  7305. output[key] = merge(output[key], source[key]);
  7306. } else {
  7307. output[key] = source[key];
  7308. }
  7309. }
  7310. }
  7311. }
  7312. }
  7313. return output
  7314. }
  7315. function looseEqual (a, b) {
  7316. if (a === b) { return true }
  7317. var isObjectA = isObject(a);
  7318. var isObjectB = isObject(b);
  7319. if (isObjectA && isObjectB) {
  7320. try {
  7321. var isArrayA = isArray(a);
  7322. var isArrayB = isArray(b);
  7323. if (isArrayA && isArrayB) {
  7324. return a.length === b.length && a.every(function (e, i) {
  7325. return looseEqual(e, b[i])
  7326. })
  7327. } else if (!isArrayA && !isArrayB) {
  7328. var keysA = Object.keys(a);
  7329. var keysB = Object.keys(b);
  7330. return keysA.length === keysB.length && keysA.every(function (key) {
  7331. return looseEqual(a[key], b[key])
  7332. })
  7333. } else {
  7334. /* istanbul ignore next */
  7335. return false
  7336. }
  7337. } catch (e) {
  7338. /* istanbul ignore next */
  7339. return false
  7340. }
  7341. } else if (!isObjectA && !isObjectB) {
  7342. return String(a) === String(b)
  7343. } else {
  7344. return false
  7345. }
  7346. }
  7347. /**
  7348. * Sanitizes html special characters from input strings. For mitigating risk of XSS attacks.
  7349. * @param rawText The raw input from the user that should be escaped.
  7350. */
  7351. function escapeHtml(rawText) {
  7352. return rawText
  7353. .replace(/</g, '&lt;')
  7354. .replace(/>/g, '&gt;')
  7355. .replace(/"/g, '&quot;')
  7356. .replace(/'/g, '&apos;')
  7357. }
  7358. /**
  7359. * Escapes html tags and special symbols from all provided params which were returned from parseArgs().params.
  7360. * This method performs an in-place operation on the params object.
  7361. *
  7362. * @param {any} params Parameters as provided from `parseArgs().params`.
  7363. * May be either an array of strings or a string->any map.
  7364. *
  7365. * @returns The manipulated `params` object.
  7366. */
  7367. function escapeParams(params) {
  7368. if(params != null) {
  7369. Object.keys(params).forEach(function (key) {
  7370. if(typeof(params[key]) == 'string') {
  7371. params[key] = escapeHtml(params[key]);
  7372. }
  7373. });
  7374. }
  7375. return params
  7376. }
  7377. /* */
  7378. function extend (Vue) {
  7379. if (!Vue.prototype.hasOwnProperty('$i18n')) {
  7380. // $FlowFixMe
  7381. Object.defineProperty(Vue.prototype, '$i18n', {
  7382. get: function get () { return this._i18n }
  7383. });
  7384. }
  7385. Vue.prototype.$t = function (key) {
  7386. var values = [], len = arguments.length - 1;
  7387. while ( len-- > 0 ) values[ len ] = arguments[ len + 1 ];
  7388. var i18n = this.$i18n;
  7389. return i18n._t.apply(i18n, [ key, i18n.locale, i18n._getMessages(), this ].concat( values ))
  7390. };
  7391. Vue.prototype.$tc = function (key, choice) {
  7392. var values = [], len = arguments.length - 2;
  7393. while ( len-- > 0 ) values[ len ] = arguments[ len + 2 ];
  7394. var i18n = this.$i18n;
  7395. return i18n._tc.apply(i18n, [ key, i18n.locale, i18n._getMessages(), this, choice ].concat( values ))
  7396. };
  7397. Vue.prototype.$te = function (key, locale) {
  7398. var i18n = this.$i18n;
  7399. return i18n._te(key, i18n.locale, i18n._getMessages(), locale)
  7400. };
  7401. Vue.prototype.$d = function (value) {
  7402. var ref;
  7403. var args = [], len = arguments.length - 1;
  7404. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  7405. return (ref = this.$i18n).d.apply(ref, [ value ].concat( args ))
  7406. };
  7407. Vue.prototype.$n = function (value) {
  7408. var ref;
  7409. var args = [], len = arguments.length - 1;
  7410. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  7411. return (ref = this.$i18n).n.apply(ref, [ value ].concat( args ))
  7412. };
  7413. }
  7414. /* */
  7415. /**
  7416. * Mixin
  7417. *
  7418. * If `bridge` mode, empty mixin is returned,
  7419. * else regulary mixin implementation is returned.
  7420. */
  7421. function defineMixin (bridge) {
  7422. if ( bridge === void 0 ) bridge = false;
  7423. function mounted () {
  7424. if (this !== this.$root && this.$options.__INTLIFY_META__ && this.$el) {
  7425. this.$el.setAttribute('data-intlify', this.$options.__INTLIFY_META__);
  7426. }
  7427. }
  7428. return bridge
  7429. ? { mounted: mounted } // delegate `vue-i18n-bridge` mixin implementation
  7430. : { // regulary
  7431. beforeCreate: function beforeCreate () {
  7432. var options = this.$options;
  7433. options.i18n = options.i18n || ((options.__i18nBridge || options.__i18n) ? {} : null);
  7434. if (options.i18n) {
  7435. if (options.i18n instanceof VueI18n) {
  7436. // init locale messages via custom blocks
  7437. if ((options.__i18nBridge || options.__i18n)) {
  7438. try {
  7439. var localeMessages = options.i18n && options.i18n.messages ? options.i18n.messages : {};
  7440. var _i18n = options.__i18nBridge || options.__i18n;
  7441. _i18n.forEach(function (resource) {
  7442. localeMessages = merge(localeMessages, JSON.parse(resource));
  7443. });
  7444. Object.keys(localeMessages).forEach(function (locale) {
  7445. options.i18n.mergeLocaleMessage(locale, localeMessages[locale]);
  7446. });
  7447. } catch (e) {
  7448. if (true) {
  7449. error("Cannot parse locale messages via custom blocks.", e);
  7450. }
  7451. }
  7452. }
  7453. this._i18n = options.i18n;
  7454. this._i18nWatcher = this._i18n.watchI18nData();
  7455. } else if (isPlainObject(options.i18n)) {
  7456. var rootI18n = this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n
  7457. ? this.$root.$i18n
  7458. : null;
  7459. // component local i18n
  7460. if (rootI18n) {
  7461. options.i18n.root = this.$root;
  7462. options.i18n.formatter = rootI18n.formatter;
  7463. options.i18n.fallbackLocale = rootI18n.fallbackLocale;
  7464. options.i18n.formatFallbackMessages = rootI18n.formatFallbackMessages;
  7465. options.i18n.silentTranslationWarn = rootI18n.silentTranslationWarn;
  7466. options.i18n.silentFallbackWarn = rootI18n.silentFallbackWarn;
  7467. options.i18n.pluralizationRules = rootI18n.pluralizationRules;
  7468. options.i18n.preserveDirectiveContent = rootI18n.preserveDirectiveContent;
  7469. }
  7470. // init locale messages via custom blocks
  7471. if ((options.__i18nBridge || options.__i18n)) {
  7472. try {
  7473. var localeMessages$1 = options.i18n && options.i18n.messages ? options.i18n.messages : {};
  7474. var _i18n$1 = options.__i18nBridge || options.__i18n;
  7475. _i18n$1.forEach(function (resource) {
  7476. localeMessages$1 = merge(localeMessages$1, JSON.parse(resource));
  7477. });
  7478. options.i18n.messages = localeMessages$1;
  7479. } catch (e) {
  7480. if (true) {
  7481. warn("Cannot parse locale messages via custom blocks.", e);
  7482. }
  7483. }
  7484. }
  7485. var ref = options.i18n;
  7486. var sharedMessages = ref.sharedMessages;
  7487. if (sharedMessages && isPlainObject(sharedMessages)) {
  7488. options.i18n.messages = merge(options.i18n.messages, sharedMessages);
  7489. }
  7490. this._i18n = new VueI18n(options.i18n);
  7491. this._i18nWatcher = this._i18n.watchI18nData();
  7492. if (options.i18n.sync === undefined || !!options.i18n.sync) {
  7493. this._localeWatcher = this.$i18n.watchLocale();
  7494. }
  7495. if (rootI18n) {
  7496. rootI18n.onComponentInstanceCreated(this._i18n);
  7497. }
  7498. } else {
  7499. if (true) {
  7500. warn("Cannot be interpreted 'i18n' option.");
  7501. }
  7502. }
  7503. } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {
  7504. // root i18n
  7505. this._i18n = this.$root.$i18n;
  7506. } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {
  7507. // parent i18n
  7508. this._i18n = options.parent.$i18n;
  7509. }
  7510. },
  7511. beforeMount: function beforeMount () {
  7512. var options = this.$options;
  7513. options.i18n = options.i18n || ((options.__i18nBridge || options.__i18n) ? {} : null);
  7514. if (options.i18n) {
  7515. if (options.i18n instanceof VueI18n) {
  7516. // init locale messages via custom blocks
  7517. this._i18n.subscribeDataChanging(this);
  7518. this._subscribing = true;
  7519. } else if (isPlainObject(options.i18n)) {
  7520. this._i18n.subscribeDataChanging(this);
  7521. this._subscribing = true;
  7522. } else {
  7523. if (true) {
  7524. warn("Cannot be interpreted 'i18n' option.");
  7525. }
  7526. }
  7527. } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {
  7528. this._i18n.subscribeDataChanging(this);
  7529. this._subscribing = true;
  7530. } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {
  7531. this._i18n.subscribeDataChanging(this);
  7532. this._subscribing = true;
  7533. }
  7534. },
  7535. mounted: mounted,
  7536. beforeDestroy: function beforeDestroy () {
  7537. if (!this._i18n) { return }
  7538. var self = this;
  7539. this.$nextTick(function () {
  7540. if (self._subscribing) {
  7541. self._i18n.unsubscribeDataChanging(self);
  7542. delete self._subscribing;
  7543. }
  7544. if (self._i18nWatcher) {
  7545. self._i18nWatcher();
  7546. self._i18n.destroyVM();
  7547. delete self._i18nWatcher;
  7548. }
  7549. if (self._localeWatcher) {
  7550. self._localeWatcher();
  7551. delete self._localeWatcher;
  7552. }
  7553. });
  7554. }
  7555. }
  7556. }
  7557. /* */
  7558. var interpolationComponent = {
  7559. name: 'i18n',
  7560. functional: true,
  7561. props: {
  7562. tag: {
  7563. type: [String, Boolean, Object],
  7564. default: 'span'
  7565. },
  7566. path: {
  7567. type: String,
  7568. required: true
  7569. },
  7570. locale: {
  7571. type: String
  7572. },
  7573. places: {
  7574. type: [Array, Object]
  7575. }
  7576. },
  7577. render: function render (h, ref) {
  7578. var data = ref.data;
  7579. var parent = ref.parent;
  7580. var props = ref.props;
  7581. var slots = ref.slots;
  7582. var $i18n = parent.$i18n;
  7583. if (!$i18n) {
  7584. if (true) {
  7585. warn('Cannot find VueI18n instance!');
  7586. }
  7587. return
  7588. }
  7589. var path = props.path;
  7590. var locale = props.locale;
  7591. var places = props.places;
  7592. var params = slots();
  7593. var children = $i18n.i(
  7594. path,
  7595. locale,
  7596. onlyHasDefaultPlace(params) || places
  7597. ? useLegacyPlaces(params.default, places)
  7598. : params
  7599. );
  7600. var tag = (!!props.tag && props.tag !== true) || props.tag === false ? props.tag : 'span';
  7601. return tag ? h(tag, data, children) : children
  7602. }
  7603. };
  7604. function onlyHasDefaultPlace (params) {
  7605. var prop;
  7606. for (prop in params) {
  7607. if (prop !== 'default') { return false }
  7608. }
  7609. return Boolean(prop)
  7610. }
  7611. function useLegacyPlaces (children, places) {
  7612. var params = places ? createParamsFromPlaces(places) : {};
  7613. if (!children) { return params }
  7614. // Filter empty text nodes
  7615. children = children.filter(function (child) {
  7616. return child.tag || child.text.trim() !== ''
  7617. });
  7618. var everyPlace = children.every(vnodeHasPlaceAttribute);
  7619. if ( true && everyPlace) {
  7620. warn('`place` attribute is deprecated in next major version. Please switch to Vue slots.');
  7621. }
  7622. return children.reduce(
  7623. everyPlace ? assignChildPlace : assignChildIndex,
  7624. params
  7625. )
  7626. }
  7627. function createParamsFromPlaces (places) {
  7628. if (true) {
  7629. warn('`places` prop is deprecated in next major version. Please switch to Vue slots.');
  7630. }
  7631. return Array.isArray(places)
  7632. ? places.reduce(assignChildIndex, {})
  7633. : Object.assign({}, places)
  7634. }
  7635. function assignChildPlace (params, child) {
  7636. if (child.data && child.data.attrs && child.data.attrs.place) {
  7637. params[child.data.attrs.place] = child;
  7638. }
  7639. return params
  7640. }
  7641. function assignChildIndex (params, child, index) {
  7642. params[index] = child;
  7643. return params
  7644. }
  7645. function vnodeHasPlaceAttribute (vnode) {
  7646. return Boolean(vnode.data && vnode.data.attrs && vnode.data.attrs.place)
  7647. }
  7648. /* */
  7649. var numberComponent = {
  7650. name: 'i18n-n',
  7651. functional: true,
  7652. props: {
  7653. tag: {
  7654. type: [String, Boolean, Object],
  7655. default: 'span'
  7656. },
  7657. value: {
  7658. type: Number,
  7659. required: true
  7660. },
  7661. format: {
  7662. type: [String, Object]
  7663. },
  7664. locale: {
  7665. type: String
  7666. }
  7667. },
  7668. render: function render (h, ref) {
  7669. var props = ref.props;
  7670. var parent = ref.parent;
  7671. var data = ref.data;
  7672. var i18n = parent.$i18n;
  7673. if (!i18n) {
  7674. if (true) {
  7675. warn('Cannot find VueI18n instance!');
  7676. }
  7677. return null
  7678. }
  7679. var key = null;
  7680. var options = null;
  7681. if (isString(props.format)) {
  7682. key = props.format;
  7683. } else if (isObject(props.format)) {
  7684. if (props.format.key) {
  7685. key = props.format.key;
  7686. }
  7687. // Filter out number format options only
  7688. options = Object.keys(props.format).reduce(function (acc, prop) {
  7689. var obj;
  7690. if (includes(numberFormatKeys, prop)) {
  7691. return Object.assign({}, acc, ( obj = {}, obj[prop] = props.format[prop], obj ))
  7692. }
  7693. return acc
  7694. }, null);
  7695. }
  7696. var locale = props.locale || i18n.locale;
  7697. var parts = i18n._ntp(props.value, locale, key, options);
  7698. var values = parts.map(function (part, index) {
  7699. var obj;
  7700. var slot = data.scopedSlots && data.scopedSlots[part.type];
  7701. return slot ? slot(( obj = {}, obj[part.type] = part.value, obj.index = index, obj.parts = parts, obj )) : part.value
  7702. });
  7703. var tag = (!!props.tag && props.tag !== true) || props.tag === false ? props.tag : 'span';
  7704. return tag
  7705. ? h(tag, {
  7706. attrs: data.attrs,
  7707. 'class': data['class'],
  7708. staticClass: data.staticClass
  7709. }, values)
  7710. : values
  7711. }
  7712. };
  7713. /* */
  7714. function bind (el, binding, vnode) {
  7715. if (!assert(el, vnode)) { return }
  7716. t(el, binding, vnode);
  7717. }
  7718. function update (el, binding, vnode, oldVNode) {
  7719. if (!assert(el, vnode)) { return }
  7720. var i18n = vnode.context.$i18n;
  7721. if (localeEqual(el, vnode) &&
  7722. (looseEqual(binding.value, binding.oldValue) &&
  7723. looseEqual(el._localeMessage, i18n.getLocaleMessage(i18n.locale)))) { return }
  7724. t(el, binding, vnode);
  7725. }
  7726. function unbind (el, binding, vnode, oldVNode) {
  7727. var vm = vnode.context;
  7728. if (!vm) {
  7729. warn('Vue instance does not exists in VNode context');
  7730. return
  7731. }
  7732. var i18n = vnode.context.$i18n || {};
  7733. if (!binding.modifiers.preserve && !i18n.preserveDirectiveContent) {
  7734. el.textContent = '';
  7735. }
  7736. el._vt = undefined;
  7737. delete el['_vt'];
  7738. el._locale = undefined;
  7739. delete el['_locale'];
  7740. el._localeMessage = undefined;
  7741. delete el['_localeMessage'];
  7742. }
  7743. function assert (el, vnode) {
  7744. var vm = vnode.context;
  7745. if (!vm) {
  7746. warn('Vue instance does not exists in VNode context');
  7747. return false
  7748. }
  7749. if (!vm.$i18n) {
  7750. warn('VueI18n instance does not exists in Vue instance');
  7751. return false
  7752. }
  7753. return true
  7754. }
  7755. function localeEqual (el, vnode) {
  7756. var vm = vnode.context;
  7757. return el._locale === vm.$i18n.locale
  7758. }
  7759. function t (el, binding, vnode) {
  7760. var ref$1, ref$2;
  7761. var value = binding.value;
  7762. var ref = parseValue(value);
  7763. var path = ref.path;
  7764. var locale = ref.locale;
  7765. var args = ref.args;
  7766. var choice = ref.choice;
  7767. if (!path && !locale && !args) {
  7768. warn('value type not supported');
  7769. return
  7770. }
  7771. if (!path) {
  7772. warn('`path` is required in v-t directive');
  7773. return
  7774. }
  7775. var vm = vnode.context;
  7776. if (choice != null) {
  7777. el._vt = el.textContent = (ref$1 = vm.$i18n).tc.apply(ref$1, [ path, choice ].concat( makeParams(locale, args) ));
  7778. } else {
  7779. el._vt = el.textContent = (ref$2 = vm.$i18n).t.apply(ref$2, [ path ].concat( makeParams(locale, args) ));
  7780. }
  7781. el._locale = vm.$i18n.locale;
  7782. el._localeMessage = vm.$i18n.getLocaleMessage(vm.$i18n.locale);
  7783. }
  7784. function parseValue (value) {
  7785. var path;
  7786. var locale;
  7787. var args;
  7788. var choice;
  7789. if (isString(value)) {
  7790. path = value;
  7791. } else if (isPlainObject(value)) {
  7792. path = value.path;
  7793. locale = value.locale;
  7794. args = value.args;
  7795. choice = value.choice;
  7796. }
  7797. return { path: path, locale: locale, args: args, choice: choice }
  7798. }
  7799. function makeParams (locale, args) {
  7800. var params = [];
  7801. locale && params.push(locale);
  7802. if (args && (Array.isArray(args) || isPlainObject(args))) {
  7803. params.push(args);
  7804. }
  7805. return params
  7806. }
  7807. var Vue;
  7808. function install (_Vue, options) {
  7809. if ( options === void 0 ) options = { bridge: false };
  7810. /* istanbul ignore if */
  7811. if ( true && install.installed && _Vue === Vue) {
  7812. warn('already installed.');
  7813. return
  7814. }
  7815. install.installed = true;
  7816. Vue = _Vue;
  7817. var version = (Vue.version && Number(Vue.version.split('.')[0])) || -1;
  7818. /* istanbul ignore if */
  7819. if ( true && version < 2) {
  7820. warn(("vue-i18n (" + (install.version) + ") need to use Vue 2.0 or later (Vue: " + (Vue.version) + ")."));
  7821. return
  7822. }
  7823. extend(Vue);
  7824. Vue.mixin(defineMixin(options.bridge));
  7825. Vue.directive('t', { bind: bind, update: update, unbind: unbind });
  7826. Vue.component(interpolationComponent.name, interpolationComponent);
  7827. Vue.component(numberComponent.name, numberComponent);
  7828. // use simple mergeStrategies to prevent i18n instance lose '__proto__'
  7829. var strats = Vue.config.optionMergeStrategies;
  7830. strats.i18n = function (parentVal, childVal) {
  7831. return childVal === undefined
  7832. ? parentVal
  7833. : childVal
  7834. };
  7835. }
  7836. /* */
  7837. var BaseFormatter = function BaseFormatter () {
  7838. this._caches = Object.create(null);
  7839. };
  7840. BaseFormatter.prototype.interpolate = function interpolate (message, values) {
  7841. if (!values) {
  7842. return [message]
  7843. }
  7844. var tokens = this._caches[message];
  7845. if (!tokens) {
  7846. tokens = parse(message);
  7847. this._caches[message] = tokens;
  7848. }
  7849. return compile(tokens, values)
  7850. };
  7851. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  7852. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  7853. function parse (format) {
  7854. var tokens = [];
  7855. var position = 0;
  7856. var text = '';
  7857. while (position < format.length) {
  7858. var char = format[position++];
  7859. if (char === '{') {
  7860. if (text) {
  7861. tokens.push({ type: 'text', value: text });
  7862. }
  7863. text = '';
  7864. var sub = '';
  7865. char = format[position++];
  7866. while (char !== undefined && char !== '}') {
  7867. sub += char;
  7868. char = format[position++];
  7869. }
  7870. var isClosed = char === '}';
  7871. var type = RE_TOKEN_LIST_VALUE.test(sub)
  7872. ? 'list'
  7873. : isClosed && RE_TOKEN_NAMED_VALUE.test(sub)
  7874. ? 'named'
  7875. : 'unknown';
  7876. tokens.push({ value: sub, type: type });
  7877. } else if (char === '%') {
  7878. // when found rails i18n syntax, skip text capture
  7879. if (format[(position)] !== '{') {
  7880. text += char;
  7881. }
  7882. } else {
  7883. text += char;
  7884. }
  7885. }
  7886. text && tokens.push({ type: 'text', value: text });
  7887. return tokens
  7888. }
  7889. function compile (tokens, values) {
  7890. var compiled = [];
  7891. var index = 0;
  7892. var mode = Array.isArray(values)
  7893. ? 'list'
  7894. : isObject(values)
  7895. ? 'named'
  7896. : 'unknown';
  7897. if (mode === 'unknown') { return compiled }
  7898. while (index < tokens.length) {
  7899. var token = tokens[index];
  7900. switch (token.type) {
  7901. case 'text':
  7902. compiled.push(token.value);
  7903. break
  7904. case 'list':
  7905. compiled.push(values[parseInt(token.value, 10)]);
  7906. break
  7907. case 'named':
  7908. if (mode === 'named') {
  7909. compiled.push((values)[token.value]);
  7910. } else {
  7911. if (true) {
  7912. warn(("Type of token '" + (token.type) + "' and format of value '" + mode + "' don't match!"));
  7913. }
  7914. }
  7915. break
  7916. case 'unknown':
  7917. if (true) {
  7918. warn("Detect 'unknown' type of token!");
  7919. }
  7920. break
  7921. }
  7922. index++;
  7923. }
  7924. return compiled
  7925. }
  7926. /* */
  7927. /**
  7928. * Path parser
  7929. * - Inspired:
  7930. * Vue.js Path parser
  7931. */
  7932. // actions
  7933. var APPEND = 0;
  7934. var PUSH = 1;
  7935. var INC_SUB_PATH_DEPTH = 2;
  7936. var PUSH_SUB_PATH = 3;
  7937. // states
  7938. var BEFORE_PATH = 0;
  7939. var IN_PATH = 1;
  7940. var BEFORE_IDENT = 2;
  7941. var IN_IDENT = 3;
  7942. var IN_SUB_PATH = 4;
  7943. var IN_SINGLE_QUOTE = 5;
  7944. var IN_DOUBLE_QUOTE = 6;
  7945. var AFTER_PATH = 7;
  7946. var ERROR = 8;
  7947. var pathStateMachine = [];
  7948. pathStateMachine[BEFORE_PATH] = {
  7949. 'ws': [BEFORE_PATH],
  7950. 'ident': [IN_IDENT, APPEND],
  7951. '[': [IN_SUB_PATH],
  7952. 'eof': [AFTER_PATH]
  7953. };
  7954. pathStateMachine[IN_PATH] = {
  7955. 'ws': [IN_PATH],
  7956. '.': [BEFORE_IDENT],
  7957. '[': [IN_SUB_PATH],
  7958. 'eof': [AFTER_PATH]
  7959. };
  7960. pathStateMachine[BEFORE_IDENT] = {
  7961. 'ws': [BEFORE_IDENT],
  7962. 'ident': [IN_IDENT, APPEND],
  7963. '0': [IN_IDENT, APPEND],
  7964. 'number': [IN_IDENT, APPEND]
  7965. };
  7966. pathStateMachine[IN_IDENT] = {
  7967. 'ident': [IN_IDENT, APPEND],
  7968. '0': [IN_IDENT, APPEND],
  7969. 'number': [IN_IDENT, APPEND],
  7970. 'ws': [IN_PATH, PUSH],
  7971. '.': [BEFORE_IDENT, PUSH],
  7972. '[': [IN_SUB_PATH, PUSH],
  7973. 'eof': [AFTER_PATH, PUSH]
  7974. };
  7975. pathStateMachine[IN_SUB_PATH] = {
  7976. "'": [IN_SINGLE_QUOTE, APPEND],
  7977. '"': [IN_DOUBLE_QUOTE, APPEND],
  7978. '[': [IN_SUB_PATH, INC_SUB_PATH_DEPTH],
  7979. ']': [IN_PATH, PUSH_SUB_PATH],
  7980. 'eof': ERROR,
  7981. 'else': [IN_SUB_PATH, APPEND]
  7982. };
  7983. pathStateMachine[IN_SINGLE_QUOTE] = {
  7984. "'": [IN_SUB_PATH, APPEND],
  7985. 'eof': ERROR,
  7986. 'else': [IN_SINGLE_QUOTE, APPEND]
  7987. };
  7988. pathStateMachine[IN_DOUBLE_QUOTE] = {
  7989. '"': [IN_SUB_PATH, APPEND],
  7990. 'eof': ERROR,
  7991. 'else': [IN_DOUBLE_QUOTE, APPEND]
  7992. };
  7993. /**
  7994. * Check if an expression is a literal value.
  7995. */
  7996. var literalValueRE = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
  7997. function isLiteral (exp) {
  7998. return literalValueRE.test(exp)
  7999. }
  8000. /**
  8001. * Strip quotes from a string
  8002. */
  8003. function stripQuotes (str) {
  8004. var a = str.charCodeAt(0);
  8005. var b = str.charCodeAt(str.length - 1);
  8006. return a === b && (a === 0x22 || a === 0x27)
  8007. ? str.slice(1, -1)
  8008. : str
  8009. }
  8010. /**
  8011. * Determine the type of a character in a keypath.
  8012. */
  8013. function getPathCharType (ch) {
  8014. if (ch === undefined || ch === null) { return 'eof' }
  8015. var code = ch.charCodeAt(0);
  8016. switch (code) {
  8017. case 0x5B: // [
  8018. case 0x5D: // ]
  8019. case 0x2E: // .
  8020. case 0x22: // "
  8021. case 0x27: // '
  8022. return ch
  8023. case 0x5F: // _
  8024. case 0x24: // $
  8025. case 0x2D: // -
  8026. return 'ident'
  8027. case 0x09: // Tab
  8028. case 0x0A: // Newline
  8029. case 0x0D: // Return
  8030. case 0xA0: // No-break space
  8031. case 0xFEFF: // Byte Order Mark
  8032. case 0x2028: // Line Separator
  8033. case 0x2029: // Paragraph Separator
  8034. return 'ws'
  8035. }
  8036. return 'ident'
  8037. }
  8038. /**
  8039. * Format a subPath, return its plain form if it is
  8040. * a literal string or number. Otherwise prepend the
  8041. * dynamic indicator (*).
  8042. */
  8043. function formatSubPath (path) {
  8044. var trimmed = path.trim();
  8045. // invalid leading 0
  8046. if (path.charAt(0) === '0' && isNaN(path)) { return false }
  8047. return isLiteral(trimmed) ? stripQuotes(trimmed) : '*' + trimmed
  8048. }
  8049. /**
  8050. * Parse a string path into an array of segments
  8051. */
  8052. function parse$1 (path) {
  8053. var keys = [];
  8054. var index = -1;
  8055. var mode = BEFORE_PATH;
  8056. var subPathDepth = 0;
  8057. var c;
  8058. var key;
  8059. var newChar;
  8060. var type;
  8061. var transition;
  8062. var action;
  8063. var typeMap;
  8064. var actions = [];
  8065. actions[PUSH] = function () {
  8066. if (key !== undefined) {
  8067. keys.push(key);
  8068. key = undefined;
  8069. }
  8070. };
  8071. actions[APPEND] = function () {
  8072. if (key === undefined) {
  8073. key = newChar;
  8074. } else {
  8075. key += newChar;
  8076. }
  8077. };
  8078. actions[INC_SUB_PATH_DEPTH] = function () {
  8079. actions[APPEND]();
  8080. subPathDepth++;
  8081. };
  8082. actions[PUSH_SUB_PATH] = function () {
  8083. if (subPathDepth > 0) {
  8084. subPathDepth--;
  8085. mode = IN_SUB_PATH;
  8086. actions[APPEND]();
  8087. } else {
  8088. subPathDepth = 0;
  8089. if (key === undefined) { return false }
  8090. key = formatSubPath(key);
  8091. if (key === false) {
  8092. return false
  8093. } else {
  8094. actions[PUSH]();
  8095. }
  8096. }
  8097. };
  8098. function maybeUnescapeQuote () {
  8099. var nextChar = path[index + 1];
  8100. if ((mode === IN_SINGLE_QUOTE && nextChar === "'") ||
  8101. (mode === IN_DOUBLE_QUOTE && nextChar === '"')) {
  8102. index++;
  8103. newChar = '\\' + nextChar;
  8104. actions[APPEND]();
  8105. return true
  8106. }
  8107. }
  8108. while (mode !== null) {
  8109. index++;
  8110. c = path[index];
  8111. if (c === '\\' && maybeUnescapeQuote()) {
  8112. continue
  8113. }
  8114. type = getPathCharType(c);
  8115. typeMap = pathStateMachine[mode];
  8116. transition = typeMap[type] || typeMap['else'] || ERROR;
  8117. if (transition === ERROR) {
  8118. return // parse error
  8119. }
  8120. mode = transition[0];
  8121. action = actions[transition[1]];
  8122. if (action) {
  8123. newChar = transition[2];
  8124. newChar = newChar === undefined
  8125. ? c
  8126. : newChar;
  8127. if (action() === false) {
  8128. return
  8129. }
  8130. }
  8131. if (mode === AFTER_PATH) {
  8132. return keys
  8133. }
  8134. }
  8135. }
  8136. var I18nPath = function I18nPath () {
  8137. this._cache = Object.create(null);
  8138. };
  8139. /**
  8140. * External parse that check for a cache hit first
  8141. */
  8142. I18nPath.prototype.parsePath = function parsePath (path) {
  8143. var hit = this._cache[path];
  8144. if (!hit) {
  8145. hit = parse$1(path);
  8146. if (hit) {
  8147. this._cache[path] = hit;
  8148. }
  8149. }
  8150. return hit || []
  8151. };
  8152. /**
  8153. * Get path value from path string
  8154. */
  8155. I18nPath.prototype.getPathValue = function getPathValue (obj, path) {
  8156. if (!isObject(obj)) { return null }
  8157. var paths = this.parsePath(path);
  8158. if (paths.length === 0) {
  8159. return null
  8160. } else {
  8161. var length = paths.length;
  8162. var last = obj;
  8163. var i = 0;
  8164. while (i < length) {
  8165. var value = last[paths[i]];
  8166. if (value === undefined || value === null) {
  8167. return null
  8168. }
  8169. last = value;
  8170. i++;
  8171. }
  8172. return last
  8173. }
  8174. };
  8175. /* */
  8176. var htmlTagMatcher = /<\/?[\w\s="/.':;#-\/]+>/;
  8177. var linkKeyMatcher = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g;
  8178. var linkKeyPrefixMatcher = /^@(?:\.([a-zA-Z]+))?:/;
  8179. var bracketsMatcher = /[()]/g;
  8180. var defaultModifiers = {
  8181. 'upper': function (str) { return str.toLocaleUpperCase(); },
  8182. 'lower': function (str) { return str.toLocaleLowerCase(); },
  8183. 'capitalize': function (str) { return ("" + (str.charAt(0).toLocaleUpperCase()) + (str.substr(1))); }
  8184. };
  8185. var defaultFormatter = new BaseFormatter();
  8186. var VueI18n = function VueI18n (options) {
  8187. var this$1 = this;
  8188. if ( options === void 0 ) options = {};
  8189. // Auto install if it is not done yet and `window` has `Vue`.
  8190. // To allow users to avoid auto-installation in some cases,
  8191. // this code should be placed here. See #290
  8192. /* istanbul ignore if */
  8193. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  8194. install(window.Vue);
  8195. }
  8196. var locale = options.locale || 'en-US';
  8197. var fallbackLocale = options.fallbackLocale === false
  8198. ? false
  8199. : options.fallbackLocale || 'en-US';
  8200. var messages = options.messages || {};
  8201. var dateTimeFormats = options.dateTimeFormats || options.datetimeFormats || {};
  8202. var numberFormats = options.numberFormats || {};
  8203. this._vm = null;
  8204. this._formatter = options.formatter || defaultFormatter;
  8205. this._modifiers = options.modifiers || {};
  8206. this._missing = options.missing || null;
  8207. this._root = options.root || null;
  8208. this._sync = options.sync === undefined ? true : !!options.sync;
  8209. this._fallbackRoot = options.fallbackRoot === undefined
  8210. ? true
  8211. : !!options.fallbackRoot;
  8212. this._fallbackRootWithEmptyString = options.fallbackRootWithEmptyString === undefined
  8213. ? true
  8214. : !!options.fallbackRootWithEmptyString;
  8215. this._formatFallbackMessages = options.formatFallbackMessages === undefined
  8216. ? false
  8217. : !!options.formatFallbackMessages;
  8218. this._silentTranslationWarn = options.silentTranslationWarn === undefined
  8219. ? false
  8220. : options.silentTranslationWarn;
  8221. this._silentFallbackWarn = options.silentFallbackWarn === undefined
  8222. ? false
  8223. : !!options.silentFallbackWarn;
  8224. this._dateTimeFormatters = {};
  8225. this._numberFormatters = {};
  8226. this._path = new I18nPath();
  8227. this._dataListeners = new Set();
  8228. this._componentInstanceCreatedListener = options.componentInstanceCreatedListener || null;
  8229. this._preserveDirectiveContent = options.preserveDirectiveContent === undefined
  8230. ? false
  8231. : !!options.preserveDirectiveContent;
  8232. this.pluralizationRules = options.pluralizationRules || {};
  8233. this._warnHtmlInMessage = options.warnHtmlInMessage || 'off';
  8234. this._postTranslation = options.postTranslation || null;
  8235. this._escapeParameterHtml = options.escapeParameterHtml || false;
  8236. if ('__VUE_I18N_BRIDGE__' in options) {
  8237. this.__VUE_I18N_BRIDGE__ = options.__VUE_I18N_BRIDGE__;
  8238. }
  8239. /**
  8240. * @param choice {number} a choice index given by the input to $tc: `$tc('path.to.rule', choiceIndex)`
  8241. * @param choicesLength {number} an overall amount of available choices
  8242. * @returns a final choice index
  8243. */
  8244. this.getChoiceIndex = function (choice, choicesLength) {
  8245. var thisPrototype = Object.getPrototypeOf(this$1);
  8246. if (thisPrototype && thisPrototype.getChoiceIndex) {
  8247. var prototypeGetChoiceIndex = (thisPrototype.getChoiceIndex);
  8248. return (prototypeGetChoiceIndex).call(this$1, choice, choicesLength)
  8249. }
  8250. // Default (old) getChoiceIndex implementation - english-compatible
  8251. var defaultImpl = function (_choice, _choicesLength) {
  8252. _choice = Math.abs(_choice);
  8253. if (_choicesLength === 2) {
  8254. return _choice
  8255. ? _choice > 1
  8256. ? 1
  8257. : 0
  8258. : 1
  8259. }
  8260. return _choice ? Math.min(_choice, 2) : 0
  8261. };
  8262. if (this$1.locale in this$1.pluralizationRules) {
  8263. return this$1.pluralizationRules[this$1.locale].apply(this$1, [choice, choicesLength])
  8264. } else {
  8265. return defaultImpl(choice, choicesLength)
  8266. }
  8267. };
  8268. this._exist = function (message, key) {
  8269. if (!message || !key) { return false }
  8270. if (!isNull(this$1._path.getPathValue(message, key))) { return true }
  8271. // fallback for flat key
  8272. if (message[key]) { return true }
  8273. return false
  8274. };
  8275. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  8276. Object.keys(messages).forEach(function (locale) {
  8277. this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);
  8278. });
  8279. }
  8280. this._initVM({
  8281. locale: locale,
  8282. fallbackLocale: fallbackLocale,
  8283. messages: messages,
  8284. dateTimeFormats: dateTimeFormats,
  8285. numberFormats: numberFormats
  8286. });
  8287. };
  8288. var prototypeAccessors = { vm: { configurable: true },messages: { configurable: true },dateTimeFormats: { configurable: true },numberFormats: { configurable: true },availableLocales: { configurable: true },locale: { configurable: true },fallbackLocale: { configurable: true },formatFallbackMessages: { configurable: true },missing: { configurable: true },formatter: { configurable: true },silentTranslationWarn: { configurable: true },silentFallbackWarn: { configurable: true },preserveDirectiveContent: { configurable: true },warnHtmlInMessage: { configurable: true },postTranslation: { configurable: true },sync: { configurable: true } };
  8289. VueI18n.prototype._checkLocaleMessage = function _checkLocaleMessage (locale, level, message) {
  8290. var paths = [];
  8291. var fn = function (level, locale, message, paths) {
  8292. if (isPlainObject(message)) {
  8293. Object.keys(message).forEach(function (key) {
  8294. var val = message[key];
  8295. if (isPlainObject(val)) {
  8296. paths.push(key);
  8297. paths.push('.');
  8298. fn(level, locale, val, paths);
  8299. paths.pop();
  8300. paths.pop();
  8301. } else {
  8302. paths.push(key);
  8303. fn(level, locale, val, paths);
  8304. paths.pop();
  8305. }
  8306. });
  8307. } else if (isArray(message)) {
  8308. message.forEach(function (item, index) {
  8309. if (isPlainObject(item)) {
  8310. paths.push(("[" + index + "]"));
  8311. paths.push('.');
  8312. fn(level, locale, item, paths);
  8313. paths.pop();
  8314. paths.pop();
  8315. } else {
  8316. paths.push(("[" + index + "]"));
  8317. fn(level, locale, item, paths);
  8318. paths.pop();
  8319. }
  8320. });
  8321. } else if (isString(message)) {
  8322. var ret = htmlTagMatcher.test(message);
  8323. if (ret) {
  8324. var msg = "Detected HTML in message '" + message + "' of keypath '" + (paths.join('')) + "' at '" + locale + "'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";
  8325. if (level === 'warn') {
  8326. warn(msg);
  8327. } else if (level === 'error') {
  8328. error(msg);
  8329. }
  8330. }
  8331. }
  8332. };
  8333. fn(level, locale, message, paths);
  8334. };
  8335. VueI18n.prototype._initVM = function _initVM (data) {
  8336. var silent = Vue.config.silent;
  8337. Vue.config.silent = true;
  8338. this._vm = new Vue({ data: data, __VUE18N__INSTANCE__: true });
  8339. Vue.config.silent = silent;
  8340. };
  8341. VueI18n.prototype.destroyVM = function destroyVM () {
  8342. this._vm.$destroy();
  8343. };
  8344. VueI18n.prototype.subscribeDataChanging = function subscribeDataChanging (vm) {
  8345. this._dataListeners.add(vm);
  8346. };
  8347. VueI18n.prototype.unsubscribeDataChanging = function unsubscribeDataChanging (vm) {
  8348. remove(this._dataListeners, vm);
  8349. };
  8350. VueI18n.prototype.watchI18nData = function watchI18nData () {
  8351. var this$1 = this;
  8352. return this._vm.$watch('$data', function () {
  8353. var listeners = arrayFrom(this$1._dataListeners);
  8354. var i = listeners.length;
  8355. while(i--) {
  8356. Vue.nextTick(function () {
  8357. listeners[i] && listeners[i].$forceUpdate();
  8358. });
  8359. }
  8360. }, { deep: true })
  8361. };
  8362. VueI18n.prototype.watchLocale = function watchLocale (composer) {
  8363. if (!composer) {
  8364. /* istanbul ignore if */
  8365. if (!this._sync || !this._root) { return null }
  8366. var target = this._vm;
  8367. return this._root.$i18n.vm.$watch('locale', function (val) {
  8368. target.$set(target, 'locale', val);
  8369. target.$forceUpdate();
  8370. }, { immediate: true })
  8371. } else {
  8372. // deal with vue-i18n-bridge
  8373. if (!this.__VUE_I18N_BRIDGE__) { return null }
  8374. var self = this;
  8375. var target$1 = this._vm;
  8376. return this.vm.$watch('locale', function (val) {
  8377. target$1.$set(target$1, 'locale', val);
  8378. if (self.__VUE_I18N_BRIDGE__ && composer) {
  8379. composer.locale.value = val;
  8380. }
  8381. target$1.$forceUpdate();
  8382. }, { immediate: true })
  8383. }
  8384. };
  8385. VueI18n.prototype.onComponentInstanceCreated = function onComponentInstanceCreated (newI18n) {
  8386. if (this._componentInstanceCreatedListener) {
  8387. this._componentInstanceCreatedListener(newI18n, this);
  8388. }
  8389. };
  8390. prototypeAccessors.vm.get = function () { return this._vm };
  8391. prototypeAccessors.messages.get = function () { return looseClone(this._getMessages()) };
  8392. prototypeAccessors.dateTimeFormats.get = function () { return looseClone(this._getDateTimeFormats()) };
  8393. prototypeAccessors.numberFormats.get = function () { return looseClone(this._getNumberFormats()) };
  8394. prototypeAccessors.availableLocales.get = function () { return Object.keys(this.messages).sort() };
  8395. prototypeAccessors.locale.get = function () { return this._vm.locale };
  8396. prototypeAccessors.locale.set = function (locale) {
  8397. this._vm.$set(this._vm, 'locale', locale);
  8398. };
  8399. prototypeAccessors.fallbackLocale.get = function () { return this._vm.fallbackLocale };
  8400. prototypeAccessors.fallbackLocale.set = function (locale) {
  8401. this._localeChainCache = {};
  8402. this._vm.$set(this._vm, 'fallbackLocale', locale);
  8403. };
  8404. prototypeAccessors.formatFallbackMessages.get = function () { return this._formatFallbackMessages };
  8405. prototypeAccessors.formatFallbackMessages.set = function (fallback) { this._formatFallbackMessages = fallback; };
  8406. prototypeAccessors.missing.get = function () { return this._missing };
  8407. prototypeAccessors.missing.set = function (handler) { this._missing = handler; };
  8408. prototypeAccessors.formatter.get = function () { return this._formatter };
  8409. prototypeAccessors.formatter.set = function (formatter) { this._formatter = formatter; };
  8410. prototypeAccessors.silentTranslationWarn.get = function () { return this._silentTranslationWarn };
  8411. prototypeAccessors.silentTranslationWarn.set = function (silent) { this._silentTranslationWarn = silent; };
  8412. prototypeAccessors.silentFallbackWarn.get = function () { return this._silentFallbackWarn };
  8413. prototypeAccessors.silentFallbackWarn.set = function (silent) { this._silentFallbackWarn = silent; };
  8414. prototypeAccessors.preserveDirectiveContent.get = function () { return this._preserveDirectiveContent };
  8415. prototypeAccessors.preserveDirectiveContent.set = function (preserve) { this._preserveDirectiveContent = preserve; };
  8416. prototypeAccessors.warnHtmlInMessage.get = function () { return this._warnHtmlInMessage };
  8417. prototypeAccessors.warnHtmlInMessage.set = function (level) {
  8418. var this$1 = this;
  8419. var orgLevel = this._warnHtmlInMessage;
  8420. this._warnHtmlInMessage = level;
  8421. if (orgLevel !== level && (level === 'warn' || level === 'error')) {
  8422. var messages = this._getMessages();
  8423. Object.keys(messages).forEach(function (locale) {
  8424. this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);
  8425. });
  8426. }
  8427. };
  8428. prototypeAccessors.postTranslation.get = function () { return this._postTranslation };
  8429. prototypeAccessors.postTranslation.set = function (handler) { this._postTranslation = handler; };
  8430. prototypeAccessors.sync.get = function () { return this._sync };
  8431. prototypeAccessors.sync.set = function (val) { this._sync = val; };
  8432. VueI18n.prototype._getMessages = function _getMessages () { return this._vm.messages };
  8433. VueI18n.prototype._getDateTimeFormats = function _getDateTimeFormats () { return this._vm.dateTimeFormats };
  8434. VueI18n.prototype._getNumberFormats = function _getNumberFormats () { return this._vm.numberFormats };
  8435. VueI18n.prototype._warnDefault = function _warnDefault (locale, key, result, vm, values, interpolateMode) {
  8436. if (!isNull(result)) { return result }
  8437. if (this._missing) {
  8438. var missingRet = this._missing.apply(null, [locale, key, vm, values]);
  8439. if (isString(missingRet)) {
  8440. return missingRet
  8441. }
  8442. } else {
  8443. if ( true && !this._isSilentTranslationWarn(key)) {
  8444. warn(
  8445. "Cannot translate the value of keypath '" + key + "'. " +
  8446. 'Use the value of keypath as default.'
  8447. );
  8448. }
  8449. }
  8450. if (this._formatFallbackMessages) {
  8451. var parsedArgs = parseArgs.apply(void 0, values);
  8452. return this._render(key, interpolateMode, parsedArgs.params, key)
  8453. } else {
  8454. return key
  8455. }
  8456. };
  8457. VueI18n.prototype._isFallbackRoot = function _isFallbackRoot (val) {
  8458. return (this._fallbackRootWithEmptyString? !val : isNull(val)) && !isNull(this._root) && this._fallbackRoot
  8459. };
  8460. VueI18n.prototype._isSilentFallbackWarn = function _isSilentFallbackWarn (key) {
  8461. return this._silentFallbackWarn instanceof RegExp
  8462. ? this._silentFallbackWarn.test(key)
  8463. : this._silentFallbackWarn
  8464. };
  8465. VueI18n.prototype._isSilentFallback = function _isSilentFallback (locale, key) {
  8466. return this._isSilentFallbackWarn(key) && (this._isFallbackRoot() || locale !== this.fallbackLocale)
  8467. };
  8468. VueI18n.prototype._isSilentTranslationWarn = function _isSilentTranslationWarn (key) {
  8469. return this._silentTranslationWarn instanceof RegExp
  8470. ? this._silentTranslationWarn.test(key)
  8471. : this._silentTranslationWarn
  8472. };
  8473. VueI18n.prototype._interpolate = function _interpolate (
  8474. locale,
  8475. message,
  8476. key,
  8477. host,
  8478. interpolateMode,
  8479. values,
  8480. visitedLinkStack
  8481. ) {
  8482. if (!message) { return null }
  8483. var pathRet = this._path.getPathValue(message, key);
  8484. if (isArray(pathRet) || isPlainObject(pathRet)) { return pathRet }
  8485. var ret;
  8486. if (isNull(pathRet)) {
  8487. /* istanbul ignore else */
  8488. if (isPlainObject(message)) {
  8489. ret = message[key];
  8490. if (!(isString(ret) || isFunction(ret))) {
  8491. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {
  8492. warn(("Value of key '" + key + "' is not a string or function !"));
  8493. }
  8494. return null
  8495. }
  8496. } else {
  8497. return null
  8498. }
  8499. } else {
  8500. /* istanbul ignore else */
  8501. if (isString(pathRet) || isFunction(pathRet)) {
  8502. ret = pathRet;
  8503. } else {
  8504. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallback(locale, key)) {
  8505. warn(("Value of key '" + key + "' is not a string or function!"));
  8506. }
  8507. return null
  8508. }
  8509. }
  8510. // Check for the existence of links within the translated string
  8511. if (isString(ret) && (ret.indexOf('@:') >= 0 || ret.indexOf('@.') >= 0)) {
  8512. ret = this._link(locale, message, ret, host, 'raw', values, visitedLinkStack);
  8513. }
  8514. return this._render(ret, interpolateMode, values, key)
  8515. };
  8516. VueI18n.prototype._link = function _link (
  8517. locale,
  8518. message,
  8519. str,
  8520. host,
  8521. interpolateMode,
  8522. values,
  8523. visitedLinkStack
  8524. ) {
  8525. var ret = str;
  8526. // Match all the links within the local
  8527. // We are going to replace each of
  8528. // them with its translation
  8529. var matches = ret.match(linkKeyMatcher);
  8530. // eslint-disable-next-line no-autofix/prefer-const
  8531. for (var idx in matches) {
  8532. // ie compatible: filter custom array
  8533. // prototype method
  8534. if (!matches.hasOwnProperty(idx)) {
  8535. continue
  8536. }
  8537. var link = matches[idx];
  8538. var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher);
  8539. var linkPrefix = linkKeyPrefixMatches[0];
  8540. var formatterName = linkKeyPrefixMatches[1];
  8541. // Remove the leading @:, @.case: and the brackets
  8542. var linkPlaceholder = link.replace(linkPrefix, '').replace(bracketsMatcher, '');
  8543. if (includes(visitedLinkStack, linkPlaceholder)) {
  8544. if (true) {
  8545. warn(("Circular reference found. \"" + link + "\" is already visited in the chain of " + (visitedLinkStack.reverse().join(' <- '))));
  8546. }
  8547. return ret
  8548. }
  8549. visitedLinkStack.push(linkPlaceholder);
  8550. // Translate the link
  8551. var translated = this._interpolate(
  8552. locale, message, linkPlaceholder, host,
  8553. interpolateMode === 'raw' ? 'string' : interpolateMode,
  8554. interpolateMode === 'raw' ? undefined : values,
  8555. visitedLinkStack
  8556. );
  8557. if (this._isFallbackRoot(translated)) {
  8558. if ( true && !this._isSilentTranslationWarn(linkPlaceholder)) {
  8559. warn(("Fall back to translate the link placeholder '" + linkPlaceholder + "' with root locale."));
  8560. }
  8561. /* istanbul ignore if */
  8562. if (!this._root) { throw Error('unexpected error') }
  8563. var root = this._root.$i18n;
  8564. translated = root._translate(
  8565. root._getMessages(), root.locale, root.fallbackLocale,
  8566. linkPlaceholder, host, interpolateMode, values
  8567. );
  8568. }
  8569. translated = this._warnDefault(
  8570. locale, linkPlaceholder, translated, host,
  8571. isArray(values) ? values : [values],
  8572. interpolateMode
  8573. );
  8574. if (this._modifiers.hasOwnProperty(formatterName)) {
  8575. translated = this._modifiers[formatterName](translated);
  8576. } else if (defaultModifiers.hasOwnProperty(formatterName)) {
  8577. translated = defaultModifiers[formatterName](translated);
  8578. }
  8579. visitedLinkStack.pop();
  8580. // Replace the link with the translated
  8581. ret = !translated ? ret : ret.replace(link, translated);
  8582. }
  8583. return ret
  8584. };
  8585. VueI18n.prototype._createMessageContext = function _createMessageContext (values, formatter, path, interpolateMode) {
  8586. var this$1 = this;
  8587. var _list = isArray(values) ? values : [];
  8588. var _named = isObject(values) ? values : {};
  8589. var list = function (index) { return _list[index]; };
  8590. var named = function (key) { return _named[key]; };
  8591. var messages = this._getMessages();
  8592. var locale = this.locale;
  8593. return {
  8594. list: list,
  8595. named: named,
  8596. values: values,
  8597. formatter: formatter,
  8598. path: path,
  8599. messages: messages,
  8600. locale: locale,
  8601. linked: function (linkedKey) { return this$1._interpolate(locale, messages[locale] || {}, linkedKey, null, interpolateMode, undefined, [linkedKey]); }
  8602. }
  8603. };
  8604. VueI18n.prototype._render = function _render (message, interpolateMode, values, path) {
  8605. if (isFunction(message)) {
  8606. return message(
  8607. this._createMessageContext(values, this._formatter || defaultFormatter, path, interpolateMode)
  8608. )
  8609. }
  8610. var ret = this._formatter.interpolate(message, values, path);
  8611. // If the custom formatter refuses to work - apply the default one
  8612. if (!ret) {
  8613. ret = defaultFormatter.interpolate(message, values, path);
  8614. }
  8615. // if interpolateMode is **not** 'string' ('row'),
  8616. // return the compiled data (e.g. ['foo', VNode, 'bar']) with formatter
  8617. return interpolateMode === 'string' && !isString(ret) ? ret.join('') : ret
  8618. };
  8619. VueI18n.prototype._appendItemToChain = function _appendItemToChain (chain, item, blocks) {
  8620. var follow = false;
  8621. if (!includes(chain, item)) {
  8622. follow = true;
  8623. if (item) {
  8624. follow = item[item.length - 1] !== '!';
  8625. item = item.replace(/!/g, '');
  8626. chain.push(item);
  8627. if (blocks && blocks[item]) {
  8628. follow = blocks[item];
  8629. }
  8630. }
  8631. }
  8632. return follow
  8633. };
  8634. VueI18n.prototype._appendLocaleToChain = function _appendLocaleToChain (chain, locale, blocks) {
  8635. var follow;
  8636. var tokens = locale.split('-');
  8637. do {
  8638. var item = tokens.join('-');
  8639. follow = this._appendItemToChain(chain, item, blocks);
  8640. tokens.splice(-1, 1);
  8641. } while (tokens.length && (follow === true))
  8642. return follow
  8643. };
  8644. VueI18n.prototype._appendBlockToChain = function _appendBlockToChain (chain, block, blocks) {
  8645. var follow = true;
  8646. for (var i = 0; (i < block.length) && (isBoolean(follow)); i++) {
  8647. var locale = block[i];
  8648. if (isString(locale)) {
  8649. follow = this._appendLocaleToChain(chain, locale, blocks);
  8650. }
  8651. }
  8652. return follow
  8653. };
  8654. VueI18n.prototype._getLocaleChain = function _getLocaleChain (start, fallbackLocale) {
  8655. if (start === '') { return [] }
  8656. if (!this._localeChainCache) {
  8657. this._localeChainCache = {};
  8658. }
  8659. var chain = this._localeChainCache[start];
  8660. if (!chain) {
  8661. if (!fallbackLocale) {
  8662. fallbackLocale = this.fallbackLocale;
  8663. }
  8664. chain = [];
  8665. // first block defined by start
  8666. var block = [start];
  8667. // while any intervening block found
  8668. while (isArray(block)) {
  8669. block = this._appendBlockToChain(
  8670. chain,
  8671. block,
  8672. fallbackLocale
  8673. );
  8674. }
  8675. // last block defined by default
  8676. var defaults;
  8677. if (isArray(fallbackLocale)) {
  8678. defaults = fallbackLocale;
  8679. } else if (isObject(fallbackLocale)) {
  8680. /* $FlowFixMe */
  8681. if (fallbackLocale['default']) {
  8682. defaults = fallbackLocale['default'];
  8683. } else {
  8684. defaults = null;
  8685. }
  8686. } else {
  8687. defaults = fallbackLocale;
  8688. }
  8689. // convert defaults to array
  8690. if (isString(defaults)) {
  8691. block = [defaults];
  8692. } else {
  8693. block = defaults;
  8694. }
  8695. if (block) {
  8696. this._appendBlockToChain(
  8697. chain,
  8698. block,
  8699. null
  8700. );
  8701. }
  8702. this._localeChainCache[start] = chain;
  8703. }
  8704. return chain
  8705. };
  8706. VueI18n.prototype._translate = function _translate (
  8707. messages,
  8708. locale,
  8709. fallback,
  8710. key,
  8711. host,
  8712. interpolateMode,
  8713. args
  8714. ) {
  8715. var chain = this._getLocaleChain(locale, fallback);
  8716. var res;
  8717. for (var i = 0; i < chain.length; i++) {
  8718. var step = chain[i];
  8719. res =
  8720. this._interpolate(step, messages[step], key, host, interpolateMode, args, [key]);
  8721. if (!isNull(res)) {
  8722. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8723. warn(("Fall back to translate the keypath '" + key + "' with '" + step + "' locale."));
  8724. }
  8725. return res
  8726. }
  8727. }
  8728. return null
  8729. };
  8730. VueI18n.prototype._t = function _t (key, _locale, messages, host) {
  8731. var ref;
  8732. var values = [], len = arguments.length - 4;
  8733. while ( len-- > 0 ) values[ len ] = arguments[ len + 4 ];
  8734. if (!key) { return '' }
  8735. var parsedArgs = parseArgs.apply(void 0, values);
  8736. if(this._escapeParameterHtml) {
  8737. parsedArgs.params = escapeParams(parsedArgs.params);
  8738. }
  8739. var locale = parsedArgs.locale || _locale;
  8740. var ret = this._translate(
  8741. messages, locale, this.fallbackLocale, key,
  8742. host, 'string', parsedArgs.params
  8743. );
  8744. if (this._isFallbackRoot(ret)) {
  8745. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8746. warn(("Fall back to translate the keypath '" + key + "' with root locale."));
  8747. }
  8748. /* istanbul ignore if */
  8749. if (!this._root) { throw Error('unexpected error') }
  8750. return (ref = this._root).$t.apply(ref, [ key ].concat( values ))
  8751. } else {
  8752. ret = this._warnDefault(locale, key, ret, host, values, 'string');
  8753. if (this._postTranslation && ret !== null && ret !== undefined) {
  8754. ret = this._postTranslation(ret, key);
  8755. }
  8756. return ret
  8757. }
  8758. };
  8759. VueI18n.prototype.t = function t (key) {
  8760. var ref;
  8761. var values = [], len = arguments.length - 1;
  8762. while ( len-- > 0 ) values[ len ] = arguments[ len + 1 ];
  8763. return (ref = this)._t.apply(ref, [ key, this.locale, this._getMessages(), null ].concat( values ))
  8764. };
  8765. VueI18n.prototype._i = function _i (key, locale, messages, host, values) {
  8766. var ret =
  8767. this._translate(messages, locale, this.fallbackLocale, key, host, 'raw', values);
  8768. if (this._isFallbackRoot(ret)) {
  8769. if ( true && !this._isSilentTranslationWarn(key)) {
  8770. warn(("Fall back to interpolate the keypath '" + key + "' with root locale."));
  8771. }
  8772. if (!this._root) { throw Error('unexpected error') }
  8773. return this._root.$i18n.i(key, locale, values)
  8774. } else {
  8775. return this._warnDefault(locale, key, ret, host, [values], 'raw')
  8776. }
  8777. };
  8778. VueI18n.prototype.i = function i (key, locale, values) {
  8779. /* istanbul ignore if */
  8780. if (!key) { return '' }
  8781. if (!isString(locale)) {
  8782. locale = this.locale;
  8783. }
  8784. return this._i(key, locale, this._getMessages(), null, values)
  8785. };
  8786. VueI18n.prototype._tc = function _tc (
  8787. key,
  8788. _locale,
  8789. messages,
  8790. host,
  8791. choice
  8792. ) {
  8793. var ref;
  8794. var values = [], len = arguments.length - 5;
  8795. while ( len-- > 0 ) values[ len ] = arguments[ len + 5 ];
  8796. if (!key) { return '' }
  8797. if (choice === undefined) {
  8798. choice = 1;
  8799. }
  8800. var predefined = { 'count': choice, 'n': choice };
  8801. var parsedArgs = parseArgs.apply(void 0, values);
  8802. parsedArgs.params = Object.assign(predefined, parsedArgs.params);
  8803. values = parsedArgs.locale === null ? [parsedArgs.params] : [parsedArgs.locale, parsedArgs.params];
  8804. return this.fetchChoice((ref = this)._t.apply(ref, [ key, _locale, messages, host ].concat( values )), choice)
  8805. };
  8806. VueI18n.prototype.fetchChoice = function fetchChoice (message, choice) {
  8807. /* istanbul ignore if */
  8808. if (!message || !isString(message)) { return null }
  8809. var choices = message.split('|');
  8810. choice = this.getChoiceIndex(choice, choices.length);
  8811. if (!choices[choice]) { return message }
  8812. return choices[choice].trim()
  8813. };
  8814. VueI18n.prototype.tc = function tc (key, choice) {
  8815. var ref;
  8816. var values = [], len = arguments.length - 2;
  8817. while ( len-- > 0 ) values[ len ] = arguments[ len + 2 ];
  8818. return (ref = this)._tc.apply(ref, [ key, this.locale, this._getMessages(), null, choice ].concat( values ))
  8819. };
  8820. VueI18n.prototype._te = function _te (key, locale, messages) {
  8821. var args = [], len = arguments.length - 3;
  8822. while ( len-- > 0 ) args[ len ] = arguments[ len + 3 ];
  8823. var _locale = parseArgs.apply(void 0, args).locale || locale;
  8824. return this._exist(messages[_locale], key)
  8825. };
  8826. VueI18n.prototype.te = function te (key, locale) {
  8827. return this._te(key, this.locale, this._getMessages(), locale)
  8828. };
  8829. VueI18n.prototype.getLocaleMessage = function getLocaleMessage (locale) {
  8830. return looseClone(this._vm.messages[locale] || {})
  8831. };
  8832. VueI18n.prototype.setLocaleMessage = function setLocaleMessage (locale, message) {
  8833. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  8834. this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);
  8835. }
  8836. this._vm.$set(this._vm.messages, locale, message);
  8837. };
  8838. VueI18n.prototype.mergeLocaleMessage = function mergeLocaleMessage (locale, message) {
  8839. if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {
  8840. this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);
  8841. }
  8842. this._vm.$set(this._vm.messages, locale, merge(
  8843. typeof this._vm.messages[locale] !== 'undefined' && Object.keys(this._vm.messages[locale]).length
  8844. ? Object.assign({}, this._vm.messages[locale])
  8845. : {},
  8846. message
  8847. ));
  8848. };
  8849. VueI18n.prototype.getDateTimeFormat = function getDateTimeFormat (locale) {
  8850. return looseClone(this._vm.dateTimeFormats[locale] || {})
  8851. };
  8852. VueI18n.prototype.setDateTimeFormat = function setDateTimeFormat (locale, format) {
  8853. this._vm.$set(this._vm.dateTimeFormats, locale, format);
  8854. this._clearDateTimeFormat(locale, format);
  8855. };
  8856. VueI18n.prototype.mergeDateTimeFormat = function mergeDateTimeFormat (locale, format) {
  8857. this._vm.$set(this._vm.dateTimeFormats, locale, merge(this._vm.dateTimeFormats[locale] || {}, format));
  8858. this._clearDateTimeFormat(locale, format);
  8859. };
  8860. VueI18n.prototype._clearDateTimeFormat = function _clearDateTimeFormat (locale, format) {
  8861. // eslint-disable-next-line no-autofix/prefer-const
  8862. for (var key in format) {
  8863. var id = locale + "__" + key;
  8864. if (!this._dateTimeFormatters.hasOwnProperty(id)) {
  8865. continue
  8866. }
  8867. delete this._dateTimeFormatters[id];
  8868. }
  8869. };
  8870. VueI18n.prototype._localizeDateTime = function _localizeDateTime (
  8871. value,
  8872. locale,
  8873. fallback,
  8874. dateTimeFormats,
  8875. key,
  8876. options
  8877. ) {
  8878. var _locale = locale;
  8879. var formats = dateTimeFormats[_locale];
  8880. var chain = this._getLocaleChain(locale, fallback);
  8881. for (var i = 0; i < chain.length; i++) {
  8882. var current = _locale;
  8883. var step = chain[i];
  8884. formats = dateTimeFormats[step];
  8885. _locale = step;
  8886. // fallback locale
  8887. if (isNull(formats) || isNull(formats[key])) {
  8888. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8889. warn(("Fall back to '" + step + "' datetime formats from '" + current + "' datetime formats."));
  8890. }
  8891. } else {
  8892. break
  8893. }
  8894. }
  8895. if (isNull(formats) || isNull(formats[key])) {
  8896. return null
  8897. } else {
  8898. var format = formats[key];
  8899. var formatter;
  8900. if (options) {
  8901. formatter = new Intl.DateTimeFormat(_locale, Object.assign({}, format, options));
  8902. } else {
  8903. var id = _locale + "__" + key;
  8904. formatter = this._dateTimeFormatters[id];
  8905. if (!formatter) {
  8906. formatter = this._dateTimeFormatters[id] = new Intl.DateTimeFormat(_locale, format);
  8907. }
  8908. }
  8909. return formatter.format(value)
  8910. }
  8911. };
  8912. VueI18n.prototype._d = function _d (value, locale, key, options) {
  8913. /* istanbul ignore if */
  8914. if ( true && !VueI18n.availabilities.dateTimeFormat) {
  8915. warn('Cannot format a Date value due to not supported Intl.DateTimeFormat.');
  8916. return ''
  8917. }
  8918. if (!key) {
  8919. var dtf = !options ? new Intl.DateTimeFormat(locale) : new Intl.DateTimeFormat(locale, options);
  8920. return dtf.format(value)
  8921. }
  8922. var ret =
  8923. this._localizeDateTime(value, locale, this.fallbackLocale, this._getDateTimeFormats(), key, options);
  8924. if (this._isFallbackRoot(ret)) {
  8925. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  8926. warn(("Fall back to datetime localization of root: key '" + key + "'."));
  8927. }
  8928. /* istanbul ignore if */
  8929. if (!this._root) { throw Error('unexpected error') }
  8930. return this._root.$i18n.d(value, key, locale)
  8931. } else {
  8932. return ret || ''
  8933. }
  8934. };
  8935. VueI18n.prototype.d = function d (value) {
  8936. var args = [], len = arguments.length - 1;
  8937. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  8938. var locale = this.locale;
  8939. var key = null;
  8940. var options = null;
  8941. if (args.length === 1) {
  8942. if (isString(args[0])) {
  8943. key = args[0];
  8944. } else if (isObject(args[0])) {
  8945. if (args[0].locale) {
  8946. locale = args[0].locale;
  8947. }
  8948. if (args[0].key) {
  8949. key = args[0].key;
  8950. }
  8951. }
  8952. options = Object.keys(args[0]).reduce(function (acc, key) {
  8953. var obj;
  8954. if (includes(dateTimeFormatKeys, key)) {
  8955. return Object.assign({}, acc, ( obj = {}, obj[key] = args[0][key], obj ))
  8956. }
  8957. return acc
  8958. }, null);
  8959. } else if (args.length === 2) {
  8960. if (isString(args[0])) {
  8961. key = args[0];
  8962. }
  8963. if (isString(args[1])) {
  8964. locale = args[1];
  8965. }
  8966. }
  8967. return this._d(value, locale, key, options)
  8968. };
  8969. VueI18n.prototype.getNumberFormat = function getNumberFormat (locale) {
  8970. return looseClone(this._vm.numberFormats[locale] || {})
  8971. };
  8972. VueI18n.prototype.setNumberFormat = function setNumberFormat (locale, format) {
  8973. this._vm.$set(this._vm.numberFormats, locale, format);
  8974. this._clearNumberFormat(locale, format);
  8975. };
  8976. VueI18n.prototype.mergeNumberFormat = function mergeNumberFormat (locale, format) {
  8977. this._vm.$set(this._vm.numberFormats, locale, merge(this._vm.numberFormats[locale] || {}, format));
  8978. this._clearNumberFormat(locale, format);
  8979. };
  8980. VueI18n.prototype._clearNumberFormat = function _clearNumberFormat (locale, format) {
  8981. // eslint-disable-next-line no-autofix/prefer-const
  8982. for (var key in format) {
  8983. var id = locale + "__" + key;
  8984. if (!this._numberFormatters.hasOwnProperty(id)) {
  8985. continue
  8986. }
  8987. delete this._numberFormatters[id];
  8988. }
  8989. };
  8990. VueI18n.prototype._getNumberFormatter = function _getNumberFormatter (
  8991. value,
  8992. locale,
  8993. fallback,
  8994. numberFormats,
  8995. key,
  8996. options
  8997. ) {
  8998. var _locale = locale;
  8999. var formats = numberFormats[_locale];
  9000. var chain = this._getLocaleChain(locale, fallback);
  9001. for (var i = 0; i < chain.length; i++) {
  9002. var current = _locale;
  9003. var step = chain[i];
  9004. formats = numberFormats[step];
  9005. _locale = step;
  9006. // fallback locale
  9007. if (isNull(formats) || isNull(formats[key])) {
  9008. if (step !== locale && "development" !== 'production' && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9009. warn(("Fall back to '" + step + "' number formats from '" + current + "' number formats."));
  9010. }
  9011. } else {
  9012. break
  9013. }
  9014. }
  9015. if (isNull(formats) || isNull(formats[key])) {
  9016. return null
  9017. } else {
  9018. var format = formats[key];
  9019. var formatter;
  9020. if (options) {
  9021. // If options specified - create one time number formatter
  9022. formatter = new Intl.NumberFormat(_locale, Object.assign({}, format, options));
  9023. } else {
  9024. var id = _locale + "__" + key;
  9025. formatter = this._numberFormatters[id];
  9026. if (!formatter) {
  9027. formatter = this._numberFormatters[id] = new Intl.NumberFormat(_locale, format);
  9028. }
  9029. }
  9030. return formatter
  9031. }
  9032. };
  9033. VueI18n.prototype._n = function _n (value, locale, key, options) {
  9034. /* istanbul ignore if */
  9035. if (!VueI18n.availabilities.numberFormat) {
  9036. if (true) {
  9037. warn('Cannot format a Number value due to not supported Intl.NumberFormat.');
  9038. }
  9039. return ''
  9040. }
  9041. if (!key) {
  9042. var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);
  9043. return nf.format(value)
  9044. }
  9045. var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);
  9046. var ret = formatter && formatter.format(value);
  9047. if (this._isFallbackRoot(ret)) {
  9048. if ( true && !this._isSilentTranslationWarn(key) && !this._isSilentFallbackWarn(key)) {
  9049. warn(("Fall back to number localization of root: key '" + key + "'."));
  9050. }
  9051. /* istanbul ignore if */
  9052. if (!this._root) { throw Error('unexpected error') }
  9053. return this._root.$i18n.n(value, Object.assign({}, { key: key, locale: locale }, options))
  9054. } else {
  9055. return ret || ''
  9056. }
  9057. };
  9058. VueI18n.prototype.n = function n (value) {
  9059. var args = [], len = arguments.length - 1;
  9060. while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];
  9061. var locale = this.locale;
  9062. var key = null;
  9063. var options = null;
  9064. if (args.length === 1) {
  9065. if (isString(args[0])) {
  9066. key = args[0];
  9067. } else if (isObject(args[0])) {
  9068. if (args[0].locale) {
  9069. locale = args[0].locale;
  9070. }
  9071. if (args[0].key) {
  9072. key = args[0].key;
  9073. }
  9074. // Filter out number format options only
  9075. options = Object.keys(args[0]).reduce(function (acc, key) {
  9076. var obj;
  9077. if (includes(numberFormatKeys, key)) {
  9078. return Object.assign({}, acc, ( obj = {}, obj[key] = args[0][key], obj ))
  9079. }
  9080. return acc
  9081. }, null);
  9082. }
  9083. } else if (args.length === 2) {
  9084. if (isString(args[0])) {
  9085. key = args[0];
  9086. }
  9087. if (isString(args[1])) {
  9088. locale = args[1];
  9089. }
  9090. }
  9091. return this._n(value, locale, key, options)
  9092. };
  9093. VueI18n.prototype._ntp = function _ntp (value, locale, key, options) {
  9094. /* istanbul ignore if */
  9095. if (!VueI18n.availabilities.numberFormat) {
  9096. if (true) {
  9097. warn('Cannot format to parts a Number value due to not supported Intl.NumberFormat.');
  9098. }
  9099. return []
  9100. }
  9101. if (!key) {
  9102. var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);
  9103. return nf.formatToParts(value)
  9104. }
  9105. var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);
  9106. var ret = formatter && formatter.formatToParts(value);
  9107. if (this._isFallbackRoot(ret)) {
  9108. if ( true && !this._isSilentTranslationWarn(key)) {
  9109. warn(("Fall back to format number to parts of root: key '" + key + "' ."));
  9110. }
  9111. /* istanbul ignore if */
  9112. if (!this._root) { throw Error('unexpected error') }
  9113. return this._root.$i18n._ntp(value, locale, key, options)
  9114. } else {
  9115. return ret || []
  9116. }
  9117. };
  9118. Object.defineProperties( VueI18n.prototype, prototypeAccessors );
  9119. var availabilities;
  9120. // $FlowFixMe
  9121. Object.defineProperty(VueI18n, 'availabilities', {
  9122. get: function get () {
  9123. if (!availabilities) {
  9124. var intlDefined = typeof Intl !== 'undefined';
  9125. availabilities = {
  9126. dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',
  9127. numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'
  9128. };
  9129. }
  9130. return availabilities
  9131. }
  9132. });
  9133. VueI18n.install = install;
  9134. VueI18n.version = '8.28.2';
  9135. /* harmony default export */ __webpack_exports__["default"] = (VueI18n);
  9136. /***/ }),
  9137. /***/ 16:
  9138. /*!***************************************************************!*\
  9139. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  9140. \***************************************************************/
  9141. /*! no static exports found */
  9142. /***/ (function(module, exports) {
  9143. function _setPrototypeOf(o, p) {
  9144. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  9145. o.__proto__ = p;
  9146. return o;
  9147. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9148. return _setPrototypeOf(o, p);
  9149. }
  9150. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9151. /***/ }),
  9152. /***/ 160:
  9153. /*!*********************************************************!*\
  9154. !*** D:/project/crossBorder/wx-qhb/commont/messages.js ***!
  9155. \*********************************************************/
  9156. /*! no static exports found */
  9157. /***/ (function(module, exports, __webpack_require__) {
  9158. "use strict";
  9159. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9160. Object.defineProperty(exports, "__esModule", {
  9161. value: true
  9162. });
  9163. exports.default = void 0;
  9164. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9165. var _index, _index2, _index3, _index4;
  9166. var _default = {
  9167. //中文
  9168. "zh-CN": {
  9169. index: (_index = {
  9170. homepage: "主页",
  9171. switchLanguage: "切换语言",
  9172. address: "地址管理",
  9173. addAndEdit: "新增/修改地址",
  9174. account: "账号与安全",
  9175. password: "修改密码/手机号",
  9176. switch: "切换语言",
  9177. user: "用户协议",
  9178. privacy: "隐私政策",
  9179. platform: "平台规则",
  9180. merchant: "商户入驻申请协议",
  9181. layout: "退出登录",
  9182. setup: "账号设置",
  9183. information: "个人信息",
  9184. headerImg: "头像",
  9185. nickname: "昵称",
  9186. prompt: "限4-24个字符(1汉字=2字符,1英文活数字=1字符)",
  9187. editNextname: "编辑昵称",
  9188. inland: "中国内地",
  9189. international: "国际",
  9190. initial: "默认地址",
  9191. edit: "编辑",
  9192. delete: "删除",
  9193. wx: "微信导入",
  9194. add: "新增地址",
  9195. contacts: "联系人信息",
  9196. wxAddress: "微信地址薄",
  9197. newAddress: "新建地址",
  9198. name: "姓名",
  9199. phone: "手机号",
  9200. city: "省市区",
  9201. detailed: "详细地址",
  9202. goods: "请填写收货人信息",
  9203. pleasePhoneNumber: "请填写收货人手机号",
  9204. township: "省市区县、乡镇等",
  9205. sect: "请输入详细地址精确到门牌号",
  9206. company: "公司名称(选填)",
  9207. preserve: "保存",
  9208. empty: "清空",
  9209. country: "国家",
  9210. postalCode: "邮编",
  9211. email: "电子邮箱",
  9212. companyName: "公司名称",
  9213. selection: "请选择",
  9214. PleacePostalCode: "请输入邮编",
  9215. addressBook: "保存到地址薄",
  9216. pleaseEmail: "请输入电子邮箱(选填)",
  9217. editPassword: "修改登录密码",
  9218. editPhone: "修改手机号",
  9219. accountCancellation: "账号注销",
  9220. setPassword: "设置密码",
  9221. cancellation: "注销后无法恢复,请谨慎操作",
  9222. myDeposit: "我的保证金",
  9223. balance: "余额",
  9224. mineFollow: "我的关注",
  9225. myPackage: "我的包裹",
  9226. mallOrders: "商城订单",
  9227. whole: "全部",
  9228. pendingPayment: "待付款",
  9229. joiningGroups: "拼团中",
  9230. toBeShipped: "待发货",
  9231. toBeReceived: "待收货",
  9232. refund: "退款/售后",
  9233. leaderunction: "团长功能"
  9234. }, (0, _defineProperty2.default)(_index, "platform", "平台商品库"), (0, _defineProperty2.default)(_index, "productManagement", "商品管理"), (0, _defineProperty2.default)(_index, "orderManagement", "订单管理"), (0, _defineProperty2.default)(_index, "afterSales", "售后管理"), (0, _defineProperty2.default)(_index, "supplyChain", "供应链商品"), (0, _defineProperty2.default)(_index, "PCEnd", "PC端"), (0, _defineProperty2.default)(_index, "pontact", "联系客服"), (0, _defineProperty2.default)(_index, "accountSettings", "账号设置"), (0, _defineProperty2.default)(_index, "shop", "商城"), (0, _defineProperty2.default)(_index, "border", "跨境速递"), (0, _defineProperty2.default)(_index, "item", "物品信息"), (0, _defineProperty2.default)(_index, "required", "必填"), (0, _defineProperty2.default)(_index, "flow", "跨境物流"), (0, _defineProperty2.default)(_index, "share", "分享给好友"), (0, _defineProperty2.default)(_index, "compute", "物流计算器"), (0, _defineProperty2.default)(_index, "deliver", "发往中转点"), (0, _defineProperty2.default)(_index, "Sign", "中转已签收"), (0, _defineProperty2.default)(_index, "overseas", "正发往海外"), (0, _defineProperty2.default)(_index, "mail", "去寄件"), (0, _defineProperty2.default)(_index, "mine", "我的"), (0, _defineProperty2.default)(_index, "addsign", "添加寄往中转点包裹"), (0, _defineProperty2.default)(_index, "more", "更多"), (0, _defineProperty2.default)(_index, "price", "单价"), (0, _defineProperty2.default)(_index, "already", "已拼"), (0, _defineProperty2.default)(_index, "parcel", "包裹"), (0, _defineProperty2.default)(_index, "residue", "剩余重量"), (0, _defineProperty2.default)(_index, "plan", "进度"), (0, _defineProperty2.default)(_index, "start", "开始时间"), (0, _defineProperty2.default)(_index, "cut", "截止时间"), (0, _defineProperty2.default)(_index, "parceling", "拼包发海外"), (0, _defineProperty2.default)(_index, "goparceling", "去拼包"), (0, _defineProperty2.default)(_index, "sender", "新建寄件人"), (0, _defineProperty2.default)(_index, "recipient", "新建收件人"), (0, _defineProperty2.default)(_index, "informat", "点击填写寄件地址信息"), (0, _defineProperty2.default)(_index, "informate", "点击填写收件地址信息"), (0, _defineProperty2.default)(_index, "addressbook", "地址簿"), (0, _defineProperty2.default)(_index, "select", "请选择物品信息"), (0, _defineProperty2.default)(_index, "search", "搜索"), (0, _defineProperty2.default)(_index, "Searchcon", "请输入要搜索的内容"), (0, _defineProperty2.default)(_index, "expensive", "买贵必赔"), (0, _defineProperty2.default)(_index, "Something", "全球好物"), (0, _defineProperty2.default)(_index, "postage", "包邮"), (0, _defineProperty2.default)(_index, "Trade", "以旧换新"), (0, _defineProperty2.default)(_index, "sort", "分类"), (0, _defineProperty2.default)(_index, "fill", "已补"), (0, _defineProperty2.default)(_index, "RMB", "元"), (0, _defineProperty2.default)(_index, "history", "历史地址"), (0, _defineProperty2.default)(_index, "Fill", "请填写"), (0, _defineProperty2.default)(_index, "senderinfo", "填写寄件人信息"), (0, _defineProperty2.default)(_index, "addressee", "请输入收件人姓名"), (0, _defineProperty2.default)(_index, "enter", "确定"), (0, _defineProperty2.default)(_index, "shoptype", "商品类型"), (0, _defineProperty2.default)(_index, "estimated", "预估重量"), (0, _defineProperty2.default)(_index, "piece", "件数"), (0, _defineProperty2.default)(_index, "rule", "了解计费规则"), (0, _defineProperty2.default)(_index, "Starting", "起始地"), (0, _defineProperty2.default)(_index, "destination", "目的地"), (0, _defineProperty2.default)(_index, "Commodity", "商品重量"), (0, _defineProperty2.default)(_index, "Acquisition", "获取价格"), (0, _defineProperty2.default)(_index, "Calculated", "计算重量"), (0, _defineProperty2.default)(_index, "Estimated", "预估运费"), (0, _defineProperty2.default)(_index, "details", "查看详情"), (0, _defineProperty2.default)(_index, "Normal", "普通商品"), (0, _defineProperty2.default)(_index, "special", "特殊商品"), (0, _defineProperty2.default)(_index, "orderSearch", "请输入订单编号搜索"), (0, _defineProperty2.default)(_index, "orderWeight", "当前页面加载的订单总重量"), (0, _defineProperty2.default)(_index, "purchase", "平台自购"), (0, _defineProperty2.default)(_index, "OrderNumber", "订单编号"), (0, _defineProperty2.default)(_index, "Parcelweight", "包裹重量"), (0, _defineProperty2.default)(_index, "payment", "立即付款"), (0, _defineProperty2.default)(_index, "Frozen", "冻结"), (0, _defineProperty2.default)(_index, "recover", "恢复"), (0, _defineProperty2.default)(_index, "total", "合计"), (0, _defineProperty2.default)(_index, "selfPost", "自寄"), (0, _defineProperty2.default)(_index, "receiveGoods", "待平台收货"), (0, _defineProperty2.default)(_index, "TrackingNumber", "快递单号"), (0, _defineProperty2.default)(_index, "trackingNumber", "输入快递单号,快速添加到我的包裹"), (0, _defineProperty2.default)(_index, "Expresscompany", "快递公司"), (0, _defineProperty2.default)(_index, "ExpressCompany", "输入快递公司名称"), (0, _defineProperty2.default)(_index, "parcelWeight", "请输入包裹重量"), (0, _defineProperty2.default)(_index, "Addlist", "添加到包裹列表"), (0, _defineProperty2.default)(_index, "Addparcel", "添加包裹"), (0, _defineProperty2.default)(_index, "Packlist", "拼包列表"), (0, _defineProperty2.default)(_index, "classification", "商品分类"), (0, _defineProperty2.default)(_index, "synthesis", "综合"), (0, _defineProperty2.default)(_index, "sell", "销售"), (0, _defineProperty2.default)(_index, "Pricea", "价格"), (0, _defineProperty2.default)(_index, "screen", "筛选"), (0, _defineProperty2.default)(_index, "Pricerange", "价格区间"), (0, _defineProperty2.default)(_index, "Weightinterval", "重量区间"), (0, _defineProperty2.default)(_index, "brand", "品牌"), (0, _defineProperty2.default)(_index, "Proprietary", "自营商品"), (0, _defineProperty2.default)(_index, "reset", "重置"), (0, _defineProperty2.default)(_index, "yes", "是"), (0, _defineProperty2.default)(_index, "Bottomprice", "最低价"), (0, _defineProperty2.default)(_index, "highestprice", "最高价"), (0, _defineProperty2.default)(_index, "Discounted", "折扣价"), (0, _defineProperty2.default)(_index, "service", "服务"), (0, _defineProperty2.default)(_index, "Netcontent", "净含量"), (0, _defineProperty2.default)(_index, "sametype", "同款低价"), (0, _defineProperty2.default)(_index, "review", "评论"), (0, _defineProperty2.default)(_index, "Productdetails", "商品详情"), (0, _defineProperty2.default)(_index, "Specification", "规格参数"), (0, _defineProperty2.default)(_index, "Recommended", "推荐商品"), (0, _defineProperty2.default)(_index, "material", "主要原料"), (0, _defineProperty2.default)(_index, "specification", "规格"), (0, _defineProperty2.default)(_index, "Shelflife", "保质期"), (0, _defineProperty2.default)(_index, "Suitableobject", "适合对象"), (0, _defineProperty2.default)(_index, "Customer", "客服"), (0, _defineProperty2.default)(_index, "Shopping", "购物车"), (0, _defineProperty2.default)(_index, "follow", "关注"), (0, _defineProperty2.default)(_index, "notification", "到货通知"), (0, _defineProperty2.default)(_index, "Sele", "选择"), (0, _defineProperty2.default)(_index, "Salesvolume", "销售量"), (0, _defineProperty2.default)(_index, "stroll", "逛逛"), (0, _defineProperty2.default)(_index, "article", "条"), (0, _defineProperty2.default)(_index, "know", "我知道了"), (0, _defineProperty2.default)(_index, "shar", "分享"), (0, _defineProperty2.default)(_index, "Copylink", "复制链接"), (0, _defineProperty2.default)(_index, "Generatepicture", "生成图片"), (0, _defineProperty2.default)(_index, "Cancel", "取消"), (0, _defineProperty2.default)(_index, "Paymentsuccess", "支付成功"), (0, _defineProperty2.default)(_index, "MyOrder", "可在“个人中心-我的订单”查看"), (0, _defineProperty2.default)(_index, "Vieworder", "查看订单"), (0, _defineProperty2.default)(_index, "Backtohomepage", "返回首页"), (0, _defineProperty2.default)(_index, "Channelspecification", "渠道说明"), (0, _defineProperty2.default)(_index, "Billingmode", "计费模式"), (0, _defineProperty2.default)(_index, "Chargeableweight", "计费重量"), (0, _defineProperty2.default)(_index, "Estimatedcost", "预估费用"), (0, _defineProperty2.default)(_index, "Itemtype", "物品类型"), (0, _defineProperty2.default)(_index, "Channelrule", "渠道规则"), (0, _defineProperty2.default)(_index, "Copiedpaste", "已复制,快去粘贴吧~"), (0, _defineProperty2.default)(_index, "Replicationfailure", "复制失败"), (0, _defineProperty2.default)(_index, "shelves", "当该商品有库存并上架时我们会通过微信消息提醒您"), (0, _defineProperty2.default)(_index, "Actual", "实付金额"), (0, _defineProperty2.default)(_index, "Balancepayment", "余额支付"), (0, _defineProperty2.default)(_index, "Currentbalance", "当前余额"), (0, _defineProperty2.default)(_index, "WechatPay", "微信支付"), (0, _defineProperty2.default)(_index, "applicable", "适用微信支付"), (0, _defineProperty2.default)(_index, "Customerservicepayment", "客服支付"), (0, _defineProperty2.default)(_index, "Contactpayment", "联系客服支付"), (0, _defineProperty2.default)(_index, "Paymentinstructions", "付款须知"), (0, _defineProperty2.default)(_index, "Confirmpayment", "确定付款"), (0, _defineProperty2.default)(_index, "Commodityamount", "商品金额"), (0, _defineProperty2.default)(_index, "Grosscommodityweight", "商品总重"), (0, _defineProperty2.default)(_index, "Costperkilogram", "每公斤费用"), (0, _defineProperty2.default)(_index, "freight", "运费"), (0, _defineProperty2.default)(_index, "subtotal", "小计"), (0, _defineProperty2.default)(_index, "Atotalof", "共"), (0, _defineProperty2.default)(_index, "Submitorder", "提交订单"), (0, _defineProperty2.default)(_index, "next", "下一步"), (0, _defineProperty2.default)(_index, "Shipmentdate", "发柜日期"), (0, _defineProperty2.default)(_index, "Estimatedtimeofarrival", "预计到达时间"), (0, _defineProperty2.default)(_index, "Workingday", "个工作日"), (0, _defineProperty2.default)(_index, "buy", "购买到"), (0, _defineProperty2.default)(_index, "morefavorable", "会更优惠"), (0, _defineProperty2.default)(_index, "Pleaseproductname", "请输入相关商品名称"), (0, _defineProperty2.default)(_index, "Goodgoods", "品质好货"), (0, _defineProperty2.default)(_index, "Saveeverything", "每款必省"), (0, _defineProperty2.default)(_index, "willpay", "买贵必赔"), (0, _defineProperty2.default)(_index, "Subsidized", "补贴价"), (0, _defineProperty2.default)(_index, "typeof", "类型"), (0, _defineProperty2.default)(_index, "weight", "重量"), (0, _defineProperty2.default)(_index, "number", "数量"), (0, _defineProperty2.default)(_index, "Immediatepayment", "立即支付"), (0, _defineProperty2.default)(_index, "readandagree", "我阅读并同意"), (0, _defineProperty2.default)(_index, "International", "国际快递服务协议"), (0, _defineProperty2.default)(_index, "Estimatedprice", "预估总价"), (0, _defineProperty2.default)(_index, "Marinetank", "号海运柜"), (0, _defineProperty2.default)(_index, "Expressservice", "快递服务"), (0, _defineProperty2.default)(_index, "Orderconfirmation", "确认下单"), (0, _defineProperty2.default)(_index, "successful", "下单成功"), (0, _defineProperty2.default)(_index, "pickpackage", "待快递员上门取件"), (0, _defineProperty2.default)(_index, "Ordertime", "下单时间"), (0, _defineProperty2.default)(_index, "Popularshipment", "热门寄件"), (0, _defineProperty2.default)(_index, "manage", "管理"), (0, _defineProperty2.default)(_index, "complete", "完成"), (0, _defineProperty2.default)(_index, "selectall", "全选"), (0, _defineProperty2.default)(_index, "Grossweight", "总重量"), (0, _defineProperty2.default)(_index, "GotoResult", "去结算"), (0, _defineProperty2.default)(_index, "orderpaysforitself", "坏单包赔"), (0, _defineProperty2.default)(_index, "Soldout", "已售"), (0, _defineProperty2.default)(_index, "accountBalance", "账户余额"), (0, _defineProperty2.default)(_index, "myBalance", "我的余额"), (0, _defineProperty2.default)(_index, "withdrawal", "提现"), (0, _defineProperty2.default)(_index, "recharge", "充值"), (0, _defineProperty2.default)(_index, "balanceDetails", "余额明细"), (0, _defineProperty2.default)(_index, "all", "全部"), (0, _defineProperty2.default)(_index, "theres", "没有更多数据了"), (0, _defineProperty2.default)(_index, "mineCommodity", "商品"), (0, _defineProperty2.default)(_index, "team", "团长"), (0, _defineProperty2.default)(_index, "people", "人关注"), (0, _defineProperty2.default)(_index, "see", "查看主页"), (0, _defineProperty2.default)(_index, "orderNum", "请输入订单编号搜索"), (0, _defineProperty2.default)(_index, "toTrasferimento", "发往中转点"), (0, _defineProperty2.default)(_index, "firmaPer", "中转已签收"), (0, _defineProperty2.default)(_index, "oltreoceano", "正发往海外"), (0, _defineProperty2.default)(_index, "piattaforma", "平台自购"), (0, _defineProperty2.default)(_index, "thatPerson", "个人功能"), (0, _defineProperty2.default)(_index, "become", "成为团长"), _index)
  9235. },
  9236. //英语
  9237. "en-US": {
  9238. index: (_index2 = {
  9239. homepage: "Homepage",
  9240. switchLanguage: "Switch Language",
  9241. address: "Address Management",
  9242. addAndEdit: "add/modify Address",
  9243. account: "Account and Security",
  9244. password: "Change password/Phone Number",
  9245. switch: "Switch Language",
  9246. user: "User Agreement",
  9247. privacy: "Privacy Policy",
  9248. platform: "Platform rules",
  9249. merchant: "Merchant Entry Application Agreement",
  9250. layout: "Log out and log in",
  9251. setup: "Account Settings",
  9252. information: "Personal Information",
  9253. headerImg: "Avatar",
  9254. nickname: "Nickname",
  9255. prompt: "Limited to 4-24 characters (1 Chinese character=2 characters, 1 English live number=1 character)",
  9256. editNextname: "Edit Nickname",
  9257. inland: "Mainland China",
  9258. international: "International",
  9259. initial: "Default Address",
  9260. edit: "Edit",
  9261. delete: "Delete",
  9262. wx: "WeChat import",
  9263. add: "Add Address",
  9264. contacts: "Contact Information ",
  9265. wxAddress: "WeChat Address Book",
  9266. newAddress: "New Address",
  9267. name: "Name",
  9268. phone: "Mobile phone number",
  9269. city: "Provinces, cities, and districts",
  9270. detailed: "Detailed address",
  9271. goods: "Please fill in the recipient information",
  9272. pleasePhoneNumber: "Please fill in the recipient's mobile phone number",
  9273. township: "Provinces, cities, counties, townships, etc",
  9274. sect: "Please enter a detailed address accurate to the house number",
  9275. company: "Company name (optional)",
  9276. preserve: "Preserve",
  9277. empty: "Empty",
  9278. country: "Country",
  9279. postalCode: "Postal code",
  9280. email: "E-mail",
  9281. companyName: "Company Name",
  9282. selection: "Please Select",
  9283. PleacePostalCode: "Please enter your postal code",
  9284. addressBook: "Save to Address Book",
  9285. pleaseEmail: "Please enter your email address (optional)",
  9286. cancellation: "Unable to recover after logging out, please operate with caution",
  9287. editPassword: "Change login password",
  9288. editPhone: "Change phone number",
  9289. accountCancellation: "Account Cancellation",
  9290. setPassword: "Set password",
  9291. myDeposit: "My deposit",
  9292. balance: "Balance",
  9293. mineFollow: "My following",
  9294. myPackage: "My Package",
  9295. mallOrders: "Mall orders",
  9296. whole: "Whole",
  9297. pendingPayment: "Pending payment",
  9298. joiningGroups: "Joining groups",
  9299. toBeShipped: "To be shipped",
  9300. toBeReceived: "To be received",
  9301. refund: "Refund/After sales",
  9302. leaderunction: "Leader function"
  9303. }, (0, _defineProperty2.default)(_index2, "platform", "Platform product library"), (0, _defineProperty2.default)(_index2, "productManagement", "Product Management"), (0, _defineProperty2.default)(_index2, "orderManagement", "order management"), (0, _defineProperty2.default)(_index2, "afterSales", "After sales"), (0, _defineProperty2.default)(_index2, "supplyChain", "Supply chain goods"), (0, _defineProperty2.default)(_index2, "PCEnd", "PC end"), (0, _defineProperty2.default)(_index2, "pontact", "Contact customer service"), (0, _defineProperty2.default)(_index2, "accountSettings", "Account Settings"), (0, _defineProperty2.default)(_index2, "shop", "store"), (0, _defineProperty2.default)(_index2, "border", "border"), (0, _defineProperty2.default)(_index2, "item", "Item information"), (0, _defineProperty2.default)(_index2, "required", "required"), (0, _defineProperty2.default)(_index2, "flow", "Cross border logistics"), (0, _defineProperty2.default)(_index2, "share", "Share"), (0, _defineProperty2.default)(_index2, "compute", "The Reckoner"), (0, _defineProperty2.default)(_index2, "deliver", "To transfer point"), (0, _defineProperty2.default)(_index2, "Sign", "Transfer has been signed for"), (0, _defineProperty2.default)(_index2, "overseas", "Sending overseas"), (0, _defineProperty2.default)(_index2, "mail", "Go and send the package"), (0, _defineProperty2.default)(_index2, "mine", "mine"), (0, _defineProperty2.default)(_index2, "addsign", "Add package to transit point"), (0, _defineProperty2.default)(_index2, "more", "more"), (0, _defineProperty2.default)(_index2, "price", "unit price"), (0, _defineProperty2.default)(_index2, "already", "Spliced"), (0, _defineProperty2.default)(_index2, "parcel", "package"), (0, _defineProperty2.default)(_index2, "residue", " weight"), (0, _defineProperty2.default)(_index2, "plan", "schedule"), (0, _defineProperty2.default)(_index2, "start", "start time"), (0, _defineProperty2.default)(_index2, "cut", "Deadline"), (0, _defineProperty2.default)(_index2, "parceling", "Package shipping overseas"), (0, _defineProperty2.default)(_index2, "goparceling", "Go pack up"), (0, _defineProperty2.default)(_index2, "sender", "New sender"), (0, _defineProperty2.default)(_index2, "recipient", "New recipient"), (0, _defineProperty2.default)(_index2, "informat", "Fill in the mailing address information"), (0, _defineProperty2.default)(_index2, "informate", "Fill in the shipping address information"), (0, _defineProperty2.default)(_index2, "addressbook", "Address Book"), (0, _defineProperty2.default)(_index2, "select", "Please select item information"), (0, _defineProperty2.default)(_index2, "search", "search"), (0, _defineProperty2.default)(_index2, "Searchcon", "you want to search for"), (0, _defineProperty2.default)(_index2, "expensive", "Buy high Must compensate"), (0, _defineProperty2.default)(_index2, "Something", "Global goodies"), (0, _defineProperty2.default)(_index2, "postage", "Exempt from postage"), (0, _defineProperty2.default)(_index2, "Trade", "Trade-in"), (0, _defineProperty2.default)(_index2, "sort", "sort"), (0, _defineProperty2.default)(_index2, "fill", "subsidy"), (0, _defineProperty2.default)(_index2, "RMB", "RMB"), (0, _defineProperty2.default)(_index2, "history", "Historical address"), (0, _defineProperty2.default)(_index2, "Fill", "Fill out"), (0, _defineProperty2.default)(_index2, "senderinfo", "Sender information"), (0, _defineProperty2.default)(_index2, "addressee", "Indicare il nome del destinatario"), (0, _defineProperty2.default)(_index2, "enter", "confirm"), (0, _defineProperty2.default)(_index2, "shoptype", "type of merchandise"), (0, _defineProperty2.default)(_index2, "estimated", "estimated weight"), (0, _defineProperty2.default)(_index2, "piece", "piece"), (0, _defineProperty2.default)(_index2, "rule", "Understanding billing rules"), (0, _defineProperty2.default)(_index2, "Starting", "Starting place"), (0, _defineProperty2.default)(_index2, "destination", "destination"), (0, _defineProperty2.default)(_index2, "Commodity", "Commodity weight"), (0, _defineProperty2.default)(_index2, "Acquisition", "Acquisition price"), (0, _defineProperty2.default)(_index2, "Calculated", "Calculated weight"), (0, _defineProperty2.default)(_index2, "Estimated", "Estimated freight"), (0, _defineProperty2.default)(_index2, "details", "View details"), (0, _defineProperty2.default)(_index2, "Normal", "General goods"), (0, _defineProperty2.default)(_index2, "special", "Special goods"), (0, _defineProperty2.default)(_index2, "orderSearch", "Please enter the order number to search"), (0, _defineProperty2.default)(_index2, "orderWeight", "The total weight of the order currently loaded on the page"), (0, _defineProperty2.default)(_index2, "purchase", "Platform purchase"), (0, _defineProperty2.default)(_index2, "OrderNumber", "Order number"), (0, _defineProperty2.default)(_index2, "Parcelweight", "Parcel weight"), (0, _defineProperty2.default)(_index2, "payment", "Immediate payment"), (0, _defineProperty2.default)(_index2, "Frozen", "Frozen"), (0, _defineProperty2.default)(_index2, "recover", "recover"), (0, _defineProperty2.default)(_index2, "total", "total"), (0, _defineProperty2.default)(_index2, "selfPost", "self-post"), (0, _defineProperty2.default)(_index2, "receiveGoods", "Wait for the platform to receive the goods"), (0, _defineProperty2.default)(_index2, "TrackingNumber", "Tracking number"), (0, _defineProperty2.default)(_index2, "trackingNumber", "Enter the tracking number to quickly add to my package"), (0, _defineProperty2.default)(_index2, "Expresscompany", "Express company"), (0, _defineProperty2.default)(_index2, "ExpressCompany", "Enter the name of the Courier company"), (0, _defineProperty2.default)(_index2, "parcelWeight", "Please enter the parcel weight"), (0, _defineProperty2.default)(_index2, "Addlist", "Add to package list"), (0, _defineProperty2.default)(_index2, "Addparcel", "Add parcel"), (0, _defineProperty2.default)(_index2, "Packlist", "Pack list"), (0, _defineProperty2.default)(_index2, "classification", "Commodity classification"), (0, _defineProperty2.default)(_index2, "synthesis", "synthesis"), (0, _defineProperty2.default)(_index2, "sell", "sell"), (0, _defineProperty2.default)(_index2, "Pricea", "Price"), (0, _defineProperty2.default)(_index2, "screen", "screen"), (0, _defineProperty2.default)(_index2, "Pricerange", "Price range"), (0, _defineProperty2.default)(_index2, "Weightinterval", "Weight section"), (0, _defineProperty2.default)(_index2, "brand", "brand"), (0, _defineProperty2.default)(_index2, "Proprietary", "Proprietary commodities"), (0, _defineProperty2.default)(_index2, "reset", "reset"), (0, _defineProperty2.default)(_index2, "yes", "yes"), (0, _defineProperty2.default)(_index2, "Bottomprice", "Bottom price"), (0, _defineProperty2.default)(_index2, "highestprice", "The highest price"), (0, _defineProperty2.default)(_index2, "Discounted", "Discounted price"), (0, _defineProperty2.default)(_index2, "service", "service"), (0, _defineProperty2.default)(_index2, "Netcontent", "Net content"), (0, _defineProperty2.default)(_index2, "sametype", "Lower price of the same type"), (0, _defineProperty2.default)(_index2, "review", "review"), (0, _defineProperty2.default)(_index2, "Productdetails", "Product details"), (0, _defineProperty2.default)(_index2, "Specification", "Specification parameter"), (0, _defineProperty2.default)(_index2, "Recommended", "Recommended goods"), (0, _defineProperty2.default)(_index2, "material", "Main raw material"), (0, _defineProperty2.default)(_index2, "specification", "specification"), (0, _defineProperty2.default)(_index2, "Shelflife", "Shelf life"), (0, _defineProperty2.default)(_index2, "Suitableobject", "Suitable object"), (0, _defineProperty2.default)(_index2, "Customer", "Customer service"), (0, _defineProperty2.default)(_index2, "Shopping", "Shopping cart"), (0, _defineProperty2.default)(_index2, "follow", "follow"), (0, _defineProperty2.default)(_index2, "notification", "Notice of arrival"), (0, _defineProperty2.default)(_index2, "Sele", "Select"), (0, _defineProperty2.default)(_index2, "Salesvolume", "Sales volume"), (0, _defineProperty2.default)(_index2, "stroll", "stroll"), (0, _defineProperty2.default)(_index2, "article", "article"), (0, _defineProperty2.default)(_index2, "know", "I know"), (0, _defineProperty2.default)(_index2, "shar", "Share"), (0, _defineProperty2.default)(_index2, "Copylink", "Copy link"), (0, _defineProperty2.default)(_index2, "Generatepicture", "Generate picture"), (0, _defineProperty2.default)(_index2, "Cancel", "Cancel"), (0, _defineProperty2.default)(_index2, "Paymentsuccess", "Payment success"), (0, _defineProperty2.default)(_index2, "MyOrder", 'It can be viewed in "Personal Center - My Order"'), (0, _defineProperty2.default)(_index2, "Vieworder", "View order"), (0, _defineProperty2.default)(_index2, "Backtohomepage", "Back to home page"), (0, _defineProperty2.default)(_index2, "Channelspecification", "Channel specification"), (0, _defineProperty2.default)(_index2, "Billingmode", "Billing mode"), (0, _defineProperty2.default)(_index2, "Chargeableweight", "Chargeable weight"), (0, _defineProperty2.default)(_index2, "Estimatedcost", "Estimated cost"), (0, _defineProperty2.default)(_index2, "Itemtype", "Item type"), (0, _defineProperty2.default)(_index2, "Channelrule", "Channel rule"), (0, _defineProperty2.default)(_index2, "Copiedpaste", "Copied, go paste ~"), (0, _defineProperty2.default)(_index2, "Replicationfailure", "Replication failure"), (0, _defineProperty2.default)(_index2, "shelves", "We will alert you via wechat message when the item is in stock and on the shelves"), (0, _defineProperty2.default)(_index2, "Actual", "Actual amount paid"), (0, _defineProperty2.default)(_index2, "Balancepayment", "Balance payment"), (0, _defineProperty2.default)(_index2, "Currentbalance", "Current balance"), (0, _defineProperty2.default)(_index2, "WechatPay", "Wechat Pay"), (0, _defineProperty2.default)(_index2, "applicable", "Wechat Pay is applicable"), (0, _defineProperty2.default)(_index2, "Customerservicepayment", "Customer service payment"), (0, _defineProperty2.default)(_index2, "Contactpayment", "Contact customer service payment"), (0, _defineProperty2.default)(_index2, "Paymentinstructions", "Payment instructions"), (0, _defineProperty2.default)(_index2, "Confirmpayment", "Firm payment"), (0, _defineProperty2.default)(_index2, "Commodityamount", "Commodity amount"), (0, _defineProperty2.default)(_index2, "Grosscommodityweight", "Gross commodity weight"), (0, _defineProperty2.default)(_index2, "Costperkilogram", "Cost per kilogram"), (0, _defineProperty2.default)(_index2, "freight", "freight"), (0, _defineProperty2.default)(_index2, "subtotal", "subtotal"), (0, _defineProperty2.default)(_index2, "Atotalof", "A total of"), (0, _defineProperty2.default)(_index2, "Submitorder", "Submit an order"), (0, _defineProperty2.default)(_index2, "next", "next"), (0, _defineProperty2.default)(_index2, "Shipmentdate", "Shipment date"), (0, _defineProperty2.default)(_index2, "Estimatedtimeofarrival", "Estimated time of arrival"), (0, _defineProperty2.default)(_index2, "Workingday", "Working day"), (0, _defineProperty2.default)(_index2, "buy", "buy"), (0, _defineProperty2.default)(_index2, "morefavorable", "Will be more favorable"), (0, _defineProperty2.default)(_index2, "Pleaseproductname", "Please enter the relevant product name"), (0, _defineProperty2.default)(_index2, "Goodgoods", "Good quality goods"), (0, _defineProperty2.default)(_index2, "Saveeverything", "Save everything"), (0, _defineProperty2.default)(_index2, "willpay", "If you buy, you will pay"), (0, _defineProperty2.default)(_index2, "Subsidized", "Subsidized price"), (0, _defineProperty2.default)(_index2, "typeof", "Type"), (0, _defineProperty2.default)(_index2, "weight", "Weight"), (0, _defineProperty2.default)(_index2, "number", "Number"), (0, _defineProperty2.default)(_index2, "Immediatepayment", "Immediate Payment"), (0, _defineProperty2.default)(_index2, "readandagree", "Read and Agree"), (0, _defineProperty2.default)(_index2, "International", "International"), (0, _defineProperty2.default)(_index2, "Estimatedprice", "Estimated Price"), (0, _defineProperty2.default)(_index2, "Marinetank", "Sea Freight Container"), (0, _defineProperty2.default)(_index2, "Expressservice", "Express Service"), (0, _defineProperty2.default)(_index2, "Orderconfirmation", "Order Confirmation"), (0, _defineProperty2.default)(_index2, "successful", "Successful"), (0, _defineProperty2.default)(_index2, "pickpackage", "Waiting for Courier Pickup"), (0, _defineProperty2.default)(_index2, "Ordertime", "Order Time"), (0, _defineProperty2.default)(_index2, "Popularshipment", "Popular Shipment"), (0, _defineProperty2.default)(_index2, "manage", "Management"), (0, _defineProperty2.default)(_index2, "complete", "Complete"), (0, _defineProperty2.default)(_index2, "selectall", "Select All"), (0, _defineProperty2.default)(_index2, "Grossweight", "Gross Weight"), (0, _defineProperty2.default)(_index2, "GotoResult", "Go to Checkout"), (0, _defineProperty2.default)(_index2, "orderpaysforitself", "Order Pays for Itself"), (0, _defineProperty2.default)(_index2, "Soldout", "Sold Out"), (0, _defineProperty2.default)(_index2, "accountBalance", "Account balance"), (0, _defineProperty2.default)(_index2, "myBalance", "my Balance"), (0, _defineProperty2.default)(_index2, "withdrawal", "withdrawal"), (0, _defineProperty2.default)(_index2, "recharge", "recharge"), (0, _defineProperty2.default)(_index2, "balanceDetails", "balance Details"), (0, _defineProperty2.default)(_index2, "all", "whole"), (0, _defineProperty2.default)(_index2, "theres", "There's no more data left"), (0, _defineProperty2.default)(_index2, "mineCommodity", "commodity"), (0, _defineProperty2.default)(_index2, "team", "Team leader"), (0, _defineProperty2.default)(_index2, "people", "people follow"), (0, _defineProperty2.default)(_index2, "see", "View Home Page"), (0, _defineProperty2.default)(_index2, "thatPerson", "Personal functions"), (0, _defineProperty2.default)(_index2, "become", "Become a team leader"), _index2)
  9304. },
  9305. // 西班牙
  9306. "es-ES": {
  9307. index: (_index3 = {
  9308. homepage: "La página",
  9309. switchLanguage: "Cambiar el idioma",
  9310. address: "Gestión de direcciones",
  9311. addAndEdit: "Añadir/cambiar dirección",
  9312. account: "Cuenta y seguridad",
  9313. password: "Cambiar contraseña/número de teléfono móvil",
  9314. switch: "Cambiar el idioma",
  9315. user: "Acuerdo de usuario",
  9316. privacy: "Política de privacidad",
  9317. platform: "Reglas de plataforma",
  9318. merchant: "Acuerdo de solicitud de entrada comercial",
  9319. layout: "Salir del login",
  9320. setup: "Configuración de cuenta",
  9321. information: "Información personal",
  9322. headerImg: "avatares",
  9323. nickname: "apodo",
  9324. prompt: "Limitado a 4-24 caracteres (1 kanji =2 caracteres, 1 número vivo en inglés =1 carácter)",
  9325. editNextname: "Editar el apodo",
  9326. inland: "China continental",
  9327. international: "internacional",
  9328. initial: "Dirección por defecto",
  9329. edit: "editor",
  9330. delete: "borrar",
  9331. wx: "Importación de wechat",
  9332. add: "Nueva dirección añadida",
  9333. contacts: "Información de contacto",
  9334. wxAddress: "Dirección wechat delgada",
  9335. newAddress: "Nueva dirección",
  9336. name: "Los nombres",
  9337. phone: "Teléfono móvil no",
  9338. city: "Provincia y ciudad",
  9339. detailed: "Dirección completa",
  9340. goods: "Por favor complete la información del destinatario",
  9341. pleasePhoneNumber: "Por favor, introduzca el número de teléfono móvil del destinatario",
  9342. township: "Provincia ciudad distrito condado pueblo etc",
  9343. sect: "Por favor, introduzca la dirección exacta al número de la casa",
  9344. company: "Nombre de la empresa (opcional)",
  9345. preserve: "guardar",
  9346. empty: "vacíe",
  9347. country: "países",
  9348. postalCode: "Código postal",
  9349. email: "Correo electrónico",
  9350. companyName: "Nombre de empresa",
  9351. selection: "favor seleccione",
  9352. PleacePostalCode: "Por favor ingrese su código postal",
  9353. addressBook: "Guardar a la dirección delgada",
  9354. pleaseEmail: "Por favor, introduzca su correo electrónico (opcional)",
  9355. editPassword: "Cambiar contraseña de acceso",
  9356. editPhone: "Cambiar el número de teléfono",
  9357. accountCancellation: "Cierre de cuenta",
  9358. setPassword: "Establecer una contraseña",
  9359. cancellation: "No se puede restaurar después de la cancelación, por favor, tenga cuidado",
  9360. myDeposit: "Mi depósito de seguridad",
  9361. balance: "El saldo",
  9362. mineFollow: "Mi preocupación por",
  9363. myPackage: "Mi paquete de",
  9364. mallOrders: "Orden del centro",
  9365. whole: "total",
  9366. pendingPayment: "Pendiente de pago",
  9367. joiningGroups: "En grupo",
  9368. toBeShipped: "Listo para enviar",
  9369. toBeReceived: "Para recibir",
  9370. refund: "Reembolso/post-venta",
  9371. leaderunction: "Función jefe"
  9372. }, (0, _defineProperty2.default)(_index3, "platform", "Plataforma mercancía biblioteca"), (0, _defineProperty2.default)(_index3, "productManagement", "Gestión de mercancías"), (0, _defineProperty2.default)(_index3, "orderManagement", "Gestión de pedidos"), (0, _defineProperty2.default)(_index3, "afterSales", "Gestión post-venta"), (0, _defineProperty2.default)(_index3, "supplyChain", "Cadena de suministro commodities"), (0, _defineProperty2.default)(_index3, "PCEnd", "PC cliente"), (0, _defineProperty2.default)(_index3, "pontact", "Contactar servicio al cliente"), (0, _defineProperty2.default)(_index3, "accountSettings", "Configuración de cuenta"), (0, _defineProperty2.default)(_index3, "shop", "Comercial"), (0, _defineProperty2.default)(_index3, "border", "transfronterizo"), (0, _defineProperty2.default)(_index3, "item", "Artículos"), (0, _defineProperty2.default)(_index3, "required", "Obligatorio"), (0, _defineProperty2.default)(_index3, "flow", "Logística transfronteriza"), (0, _defineProperty2.default)(_index3, "share", "Compartir"), (0, _defineProperty2.default)(_index3, "compute", "Calculadora"), (0, _defineProperty2.default)(_index3, "deliver", "Enviado al punto de tránsito"), (0, _defineProperty2.default)(_index3, "Sign", "El tránsito ha sido firmado"), (0, _defineProperty2.default)(_index3, "overseas", "Se está enviando al extranjero"), (0, _defineProperty2.default)(_index3, "mail", "Ir a enviar"), (0, _defineProperty2.default)(_index3, "mine", "El mío"), (0, _defineProperty2.default)(_index3, "addsign", "Añadir paquetes de puntos de tránsito"), (0, _defineProperty2.default)(_index3, "more", "Más"), (0, _defineProperty2.default)(_index3, "price", "Precio unitario"), (0, _defineProperty2.default)(_index3, "already", "Se ha luchado"), (0, _defineProperty2.default)(_index3, "parcel", "Paquete"), (0, _defineProperty2.default)(_index3, "residue", "residual"), (0, _defineProperty2.default)(_index3, "plan", "Progreso"), (0, _defineProperty2.default)(_index3, "start", "Hora de inicio"), (0, _defineProperty2.default)(_index3, "cut", "Plazo"), (0, _defineProperty2.default)(_index3, "parceling", "Envío de paquetes en el extranjero"), (0, _defineProperty2.default)(_index3, "goparceling", "Ir a empacar"), (0, _defineProperty2.default)(_index3, "sender", "Nuevo remitente"), (0, _defineProperty2.default)(_index3, "recipient", "Nuevo destinatario"), (0, _defineProperty2.default)(_index3, "informat", "Rellene la información de la dirección de envío"), (0, _defineProperty2.default)(_index3, "informate", "Rellene la información de la dirección de recepción"), (0, _defineProperty2.default)(_index3, "addressbook", "Libreta de direcciones"), (0, _defineProperty2.default)(_index3, "select", "Por favor, seleccione la información del artículo"), (0, _defineProperty2.default)(_index3, "search", "Buscar"), (0, _defineProperty2.default)(_index3, "Searchcon", "Contenido de la búsqueda"), (0, _defineProperty2.default)(_index3, "expensive", "Comprar caro Debe pagar"), (0, _defineProperty2.default)(_index3, "Something", "Cosas buenas del mundo"), (0, _defineProperty2.default)(_index3, "postage", "Envío gratis"), (0, _defineProperty2.default)(_index3, "Trade", "Cambiar lo viejo por lo nuevo"), (0, _defineProperty2.default)(_index3, "sort", "Clasificación"), (0, _defineProperty2.default)(_index3, "fill", "Subvenciones"), (0, _defineProperty2.default)(_index3, "RMB", "RMB"), (0, _defineProperty2.default)(_index3, "history", "Dirección histórica"), (0, _defineProperty2.default)(_index3, "Fill", "Por favor, rellene"), (0, _defineProperty2.default)(_index3, "senderinfo", "Rellene la información del remitente"), (0, _defineProperty2.default)(_index3, "addressee", "Por favor ingrese el nombre del destinatario"), (0, _defineProperty2.default)(_index3, "enter", "determinar"), (0, _defineProperty2.default)(_index3, "shoptype", "Tipo de mercancía"), (0, _defineProperty2.default)(_index3, "estimated", "Peso estimado estimado"), (0, _defineProperty2.default)(_index3, "piece", "algo"), (0, _defineProperty2.default)(_index3, "rule", "Entender las reglas de facturación"), (0, _defineProperty2.default)(_index3, "Starting", "incipiente"), (0, _defineProperty2.default)(_index3, "destination", "destino"), (0, _defineProperty2.default)(_index3, "Commodity", "Peso de mercancía"), (0, _defineProperty2.default)(_index3, "Acquisition", "Obtener el precio"), (0, _defineProperty2.default)(_index3, "Calculated", "Calcula el peso"), (0, _defineProperty2.default)(_index3, "Estimated", "Gastos de envío estimados"), (0, _defineProperty2.default)(_index3, "details", "Ver los detalles"), (0, _defineProperty2.default)(_index3, "Normal", "Bienes comunes"), (0, _defineProperty2.default)(_index3, "special", "Mercancía especial"), (0, _defineProperty2.default)(_index3, "orderSearch", "Por favor, introduzca el número de pedido buscar"), (0, _defineProperty2.default)(_index3, "orderWeight", "Peso total del pedido cargado por la página actual"), (0, _defineProperty2.default)(_index3, "purchase", "Plataforma de compra propia"), (0, _defineProperty2.default)(_index3, "OrderNumber", "Número de pedido"), (0, _defineProperty2.default)(_index3, "Parcelweight", "Peso del paquete"), (0, _defineProperty2.default)(_index3, "payment", "Pague ahora mismo"), (0, _defineProperty2.default)(_index3, "Frozen", " congelación"), (0, _defineProperty2.default)(_index3, "recover", " recuperación"), (0, _defineProperty2.default)(_index3, "total", "total"), (0, _defineProperty2.default)(_index3, "selfPost", "Postal desde"), (0, _defineProperty2.default)(_index3, "receiveGoods", "A recibir en la plataforma"), (0, _defineProperty2.default)(_index3, "TrackingNumber", "Número de seguimiento"), (0, _defineProperty2.default)(_index3, "trackingNumber", "Ingrese el número de seguimiento para agregar rápidamente a mi paquete"), (0, _defineProperty2.default)(_index3, "Expresscompany", "Empresa de mensajería"), (0, _defineProperty2.default)(_index3, "ExpressCompany", "Introduzca el nombre de la empresa de mensajería"), (0, _defineProperty2.default)(_index3, "parcelWeight", "Por favor ingrese el peso del paquete"), (0, _defineProperty2.default)(_index3, "Addlist", "Añadir a la lista de paquetes"), (0, _defineProperty2.default)(_index3, "Addparcel", "Añadir un paquete"), (0, _defineProperty2.default)(_index3, "Packlist", "Lista de paquetes"), (0, _defineProperty2.default)(_index3, "classification", "Clasificación de mercancías"), (0, _defineProperty2.default)(_index3, "synthesis", "integrado"), (0, _defineProperty2.default)(_index3, "sell", "venta"), (0, _defineProperty2.default)(_index3, "Pricea", "precio"), (0, _defineProperty2.default)(_index3, "screen", "selección"), (0, _defineProperty2.default)(_index3, "Pricerange", "Rango de precios"), (0, _defineProperty2.default)(_index3, "Weightinterval", "Intervalo de peso"), (0, _defineProperty2.default)(_index3, "brand", "La marca"), (0, _defineProperty2.default)(_index3, "Proprietary", "Mercancía por cuenta propia"), (0, _defineProperty2.default)(_index3, "reset", "restaurar"), (0, _defineProperty2.default)(_index3, "yes", "es"), (0, _defineProperty2.default)(_index3, "Bottomprice", "Precio más bajo"), (0, _defineProperty2.default)(_index3, "highestprice", "Precio máximo"), (0, _defineProperty2.default)(_index3, "Discounted", "Precio con descuento"), (0, _defineProperty2.default)(_index3, "service", "servicios"), (0, _defineProperty2.default)(_index3, "Netcontent", "Contenido neto"), (0, _defineProperty2.default)(_index3, "sametype", "Mismo modelo bajo precio"), (0, _defineProperty2.default)(_index3, "review", "comentarios"), (0, _defineProperty2.default)(_index3, "Productdetails", "Detalles de mercancía"), (0, _defineProperty2.default)(_index3, "Specification", "Especificaciones y parámetros"), (0, _defineProperty2.default)(_index3, "Recommended", "Artículos recomendados para"), (0, _defineProperty2.default)(_index3, "material", "Materia prima principal"), (0, _defineProperty2.default)(_index3, "specification", "Las especificaciones"), (0, _defineProperty2.default)(_index3, "Shelflife", "caducidad"), (0, _defineProperty2.default)(_index3, "Suitableobject", "Apto para objetos"), (0, _defineProperty2.default)(_index3, "Customer", "call"), (0, _defineProperty2.default)(_index3, "Shopping", "carrito"), (0, _defineProperty2.default)(_index3, "follow", "atención"), (0, _defineProperty2.default)(_index3, "notification", "Notificación de llegada"), (0, _defineProperty2.default)(_index3, "Sele", "seleccione"), (0, _defineProperty2.default)(_index3, "Salesvolume", "Volumen de ventas"), (0, _defineProperty2.default)(_index3, "stroll", "Los alrededores"), (0, _defineProperty2.default)(_index3, "article", "Art"), (0, _defineProperty2.default)(_index3, "know", "Lo sé"), (0, _defineProperty2.default)(_index3, "shar", "compartir"), (0, _defineProperty2.default)(_index3, "Copylink", "Copiar el enlace"), (0, _defineProperty2.default)(_index3, "Generatepicture", "Generar una imagen"), (0, _defineProperty2.default)(_index3, "Cancel", "cancelación"), (0, _defineProperty2.default)(_index3, "Paymentsuccess", "Pago realizado con éxito"), (0, _defineProperty2.default)(_index3, "MyOrder", "Disponible en personal center - mis pedidos"), (0, _defineProperty2.default)(_index3, "Vieworder", "Ver el pedido"), (0, _defineProperty2.default)(_index3, "Backtohomepage", "Volver al inicio"), (0, _defineProperty2.default)(_index3, "Channelspecification", "Descripción del canal"), (0, _defineProperty2.default)(_index3, "Billingmode", "Modelo de facturación"), (0, _defineProperty2.default)(_index3, "Chargeableweight", "Peso facturable"), (0, _defineProperty2.default)(_index3, "Estimatedcost", "Estimación de gastos"), (0, _defineProperty2.default)(_index3, "Itemtype", "Tipos de artículos"), (0, _defineProperty2.default)(_index3, "Channelrule", "Reglas del canal"), (0, _defineProperty2.default)(_index3, "Copiedpaste", "Ya copiado, ir y pegar"), (0, _defineProperty2.default)(_index3, "Replicationfailure", "Falla en copiar"), (0, _defineProperty2.default)(_index3, "shelves", "Le recordaremos a través del mensaje de wechat cuando el artículo está en stock y en estante"), (0, _defineProperty2.default)(_index3, "Actual", "Cantidad a pagar"), (0, _defineProperty2.default)(_index3, "Balancepayment", "Pago del saldo"), (0, _defineProperty2.default)(_index3, "Currentbalance", "Balance actual"), (0, _defineProperty2.default)(_index3, "WechatPay", "Pago con wechat"), (0, _defineProperty2.default)(_index3, "applicable", "Pago wechat aplicable"), (0, _defineProperty2.default)(_index3, "Customerservicepayment", "Servicio al cliente pago"), (0, _defineProperty2.default)(_index3, "Contactpayment", "Contacto servicio al cliente pago"), (0, _defineProperty2.default)(_index3, "Paymentinstructions", "Notas de pago"), (0, _defineProperty2.default)(_index3, "Confirmpayment", "Determine su pago"), (0, _defineProperty2.default)(_index3, "Commodityamount", "Cantidad de bienes"), (0, _defineProperty2.default)(_index3, "Grosscommodityweight", "Peso total de la mercancía"), (0, _defineProperty2.default)(_index3, "Costperkilogram", "Coste por kg"), (0, _defineProperty2.default)(_index3, "freight", "El flete"), (0, _defineProperty2.default)(_index3, "subtotal", "subtotal"), (0, _defineProperty2.default)(_index3, "Atotalof", "total"), (0, _defineProperty2.default)(_index3, "Submitorder", "Enviar un pedido"), (0, _defineProperty2.default)(_index3, "next", "Siguiente paso"), (0, _defineProperty2.default)(_index3, "Shipmentdate", "Fecha del gabinete de salida"), (0, _defineProperty2.default)(_index3, "Estimatedtimeofarrival", "Hora estimada de llegada"), (0, _defineProperty2.default)(_index3, "Workingday", "Días laborables"), (0, _defineProperty2.default)(_index3, "buy", "Comprar hasta"), (0, _defineProperty2.default)(_index3, "morefavorable", "Será mejor"), (0, _defineProperty2.default)(_index3, "Pleaseproductname", "Por favor ingrese el nombre comercial relevante"), (0, _defineProperty2.default)(_index3, "Goodgoods", "Productos de buena calidad"), (0, _defineProperty2.default)(_index3, "Saveeverything", "Cada estilo debe ahorrar"), (0, _defineProperty2.default)(_index3, "willpay", "Comprar caro, pagar"), (0, _defineProperty2.default)(_index3, "Subsidized", "Precio subvencionado"), (0, _defineProperty2.default)(_index3, "typeof", "tipo"), (0, _defineProperty2.default)(_index3, "weight", "peso"), (0, _defineProperty2.default)(_index3, "number", "número"), (0, _defineProperty2.default)(_index3, "Immediatepayment", "pago inmediato"), (0, _defineProperty2.default)(_index3, "readandagree", "he leído y acepto"), (0, _defineProperty2.default)(_index3, "International", "internacional"), (0, _defineProperty2.default)(_index3, "Estimatedprice", "precio estimado"), (0, _defineProperty2.default)(_index3, "Marinetank", "contenedor marítimo"), (0, _defineProperty2.default)(_index3, "Expressservice", "servicio de expreso"), (0, _defineProperty2.default)(_index3, "Orderconfirmation", "confirmación de pedido"), (0, _defineProperty2.default)(_index3, "successful", "exitoso"), (0, _defineProperty2.default)(_index3, "pickpackage", "esperando recogida del mensajero"), (0, _defineProperty2.default)(_index3, "Ordertime", "hora del pedido"), (0, _defineProperty2.default)(_index3, "Popularshipment", "envío popular"), (0, _defineProperty2.default)(_index3, "manage", "gestionar"), (0, _defineProperty2.default)(_index3, "complete", "completar"), (0, _defineProperty2.default)(_index3, "selectall", "seleccionar todo"), (0, _defineProperty2.default)(_index3, "Grossweight", "peso bruto"), (0, _defineProperty2.default)(_index3, "GotoResult", "ir al pago"), (0, _defineProperty2.default)(_index3, "orderpaysforitself", "compensación por pedidos defectuosos"), (0, _defineProperty2.default)(_index3, "Soldout", "agotado"), (0, _defineProperty2.default)(_index3, "accountBalance", "Saldo de la cuenta"), (0, _defineProperty2.default)(_index3, "myBalance", "Mi saldo"), (0, _defineProperty2.default)(_index3, "withdrawal", "Retiro de efectivo"), (0, _defineProperty2.default)(_index3, "recharge", "Recargar"), (0, _defineProperty2.default)(_index3, "balanceDetails", "Detalles del saldo"), (0, _defineProperty2.default)(_index3, "all", "Todo"), (0, _defineProperty2.default)(_index3, "theres", "No hay más datos"), (0, _defineProperty2.default)(_index3, "mineCommodity", "Productos Básicos"), (0, _defineProperty2.default)(_index3, "team", "Jefe del regimiento"), (0, _defineProperty2.default)(_index3, "people", "Atención humana"), (0, _defineProperty2.default)(_index3, "see", "Ver página de inicio"), (0, _defineProperty2.default)(_index3, "thatPerson", "Función personal"), (0, _defineProperty2.default)(_index3, "become", "Convertirse en Jefe de grupo"), _index3)
  9373. },
  9374. //意大利
  9375. "it-IT": {
  9376. index: (_index4 = {
  9377. homepage: "Home page",
  9378. switchLanguage: "Cambio di lingua",
  9379. address: "Gestione degli indirizzi",
  9380. addAndEdit: "Nuovi indirizzi/modifiche",
  9381. account: "Numero di conto e sicurezza",
  9382. password: "Modificare la parola d’ordine/numero di cellulare",
  9383. switch: "Cambio di lingua",
  9384. user: "Accordi per gli utenti",
  9385. privacy: "Politica in materia di tutela della vita privata",
  9386. platform: "Regole per le piattaforme",
  9387. merchant: "Accordo di adesione di un commerciante",
  9388. layout: "Uscita logon",
  9389. setup: "Fissazione del numero di conto",
  9390. information: "Dati personali",
  9391. headerImg: "avatar",
  9392. nickname: "soprannome",
  9393. prompt: "Limite da 4 a 24 caratteri (1 cinese =2 caratteri, 1 inglese vivo =1 carattere)",
  9394. editNextname: "Soprannomi di redazione",
  9395. inland: "Cina continentale",
  9396. international: "internazionale",
  9397. initial: "Indirizzo predefinito",
  9398. edit: "editoriale",
  9399. delete: "cancellare",
  9400. wx: "Importazioni di wechat",
  9401. add: "Nuovo indirizzo",
  9402. contacts: "Información de contacto",
  9403. wxAddress: "Dirección wechat delgada",
  9404. newAddress: "Nuovi indirizzi",
  9405. name: "nomi",
  9406. phone: "Numero di telefono",
  9407. city: "Aree metropolitane",
  9408. detailed: "Indirizzo completo",
  9409. goods: "Per piacere, completare l’informazione del destinatario",
  9410. pleasePhoneNumber: "Per piacere, completare il numero di telefono del destinatario",
  9411. township: "I comuni e le province le regioni, le città, ecc",
  9412. sect: "Si prega di indicare l’indirizzo completo con il numero della targa",
  9413. company: "Nome della società (indicare il nome della società)",
  9414. preserve: "conservazione",
  9415. empty: "svuotati",
  9416. country: "paesi",
  9417. postalCode: "P.",
  9418. email: "Posta elettronica",
  9419. companyName: "Nome della società",
  9420. selection: "selezione",
  9421. PleacePostalCode: "Per favore digitate il codice postale",
  9422. addressBook: "Conservare all’indirizzo sottile",
  9423. pleaseEmail: "Per abbonarsi, digitare la casella di posta elettronica (indirizzatela)",
  9424. editPassword: "Modificare la password logon",
  9425. editPhone: "Modifica del numero di telefono",
  9426. accountCancellation: "Annullamento dei conti",
  9427. setPassword: "Stabilire la password",
  9428. cancellation: "Se il recupero non è possibile dopo l’annullamento, occorre procedere con cautela",
  9429. myDeposit: "I margine",
  9430. balance: "saldo",
  9431. mineFollow: "La mia preoccupazione",
  9432. myPackage: "Il mio pacco",
  9433. mallOrders: "Orden del centro",
  9434. whole: "totale",
  9435. pendingPayment: "Pagamenti da effettuare",
  9436. joiningGroups: "Nella composizione",
  9437. toBeShipped: "Prodotti in attesa di spedizione",
  9438. toBeReceived: "Para recibir",
  9439. refund: "Rimborso/assistenza post-vendita",
  9440. leaderunction: "Funzioni del capo servizio"
  9441. }, (0, _defineProperty2.default)(_index4, "platform", "Banca di prodotti di base"), (0, _defineProperty2.default)(_index4, "productManagement", "Gestione dei prodotti di base"), (0, _defineProperty2.default)(_index4, "orderManagement", "Gestione delle ordinazioni"), (0, _defineProperty2.default)(_index4, "afterSales", "Gestione post-vendita"), (0, _defineProperty2.default)(_index4, "supplyChain", "Prodotti della catena d’approvvigionamento"), (0, _defineProperty2.default)(_index4, "PCEnd", "PC, copiglie, pernotti"), (0, _defineProperty2.default)(_index4, "pontact", "Contatti con il servizio clienti"), (0, _defineProperty2.default)(_index4, "accountSettings", "Fissazione del numero di conto"), (0, _defineProperty2.default)(_index4, "shop", "posta"), (0, _defineProperty2.default)(_index4, "border", "transfrontaliero"), (0, _defineProperty2.default)(_index4, "item", "Informazioni sugli articoli"), (0, _defineProperty2.default)(_index4, "required", "Sarà compilata"), (0, _defineProperty2.default)(_index4, "flow", "La logistica transfrontaliera"), (0, _defineProperty2.default)(_index4, "share", "condividere"), (0, _defineProperty2.default)(_index4, "compute", "calcolatrici"), (0, _defineProperty2.default)(_index4, "deliver", "Punti di transito"), (0, _defineProperty2.default)(_index4, "Sign", "I trasferimenti sono stati firmati"), (0, _defineProperty2.default)(_index4, "overseas", "Sta andando all’estero"), (0, _defineProperty2.default)(_index4, "mail", "Per inviare gli articoli"), (0, _defineProperty2.default)(_index4, "mine", "La mia"), (0, _defineProperty2.default)(_index4, "addsign", "Aggiungere i pacchi ai punti di transito"), (0, _defineProperty2.default)(_index4, "more", "più"), (0, _defineProperty2.default)(_index4, "price", "Prezzo unitario"), (0, _defineProperty2.default)(_index4, "already", "Ha scritto"), (0, _defineProperty2.default)(_index4, "parcel", "pacchi"), (0, _defineProperty2.default)(_index4, "residue", "residuo"), (0, _defineProperty2.default)(_index4, "plan", "processo "), (0, _defineProperty2.default)(_index4, "start", "Ora di inizio"), (0, _defineProperty2.default)(_index4, "cut", "Tempo di chiusura"), (0, _defineProperty2.default)(_index4, "parceling", "Speaker all’estero"), (0, _defineProperty2.default)(_index4, "goparceling", "dischetti"), (0, _defineProperty2.default)(_index4, "sender", "Nuovi mittenti"), (0, _defineProperty2.default)(_index4, "recipient", "Nuovi destinatari"), (0, _defineProperty2.default)(_index4, "informat", "Compilare il tagliando di spedizione"), (0, _defineProperty2.default)(_index4, "informate", "Indicare l’indirizzo per il ricevimento"), (0, _defineProperty2.default)(_index4, "addressbook", "Indirizzo sottile"), (0, _defineProperty2.default)(_index4, "select", "Si prega di selezionare informazioni sugli articoli"), (0, _defineProperty2.default)(_index4, "search", "ricerca"), (0, _defineProperty2.default)(_index4, "Searchcon", "Contenuto della ricerca"), (0, _defineProperty2.default)(_index4, "expensive", "Comprare costoso Mosto del"), (0, _defineProperty2.default)(_index4, "Something", "Il bene globale"), (0, _defineProperty2.default)(_index4, "postage", "Circostanze eccezionali"), (0, _defineProperty2.default)(_index4, "Trade", "Cambiare vecchio per nuovo"), (0, _defineProperty2.default)(_index4, "sort", "classificazione"), (0, _defineProperty2.default)(_index4, "fill", "sovvenzioni"), (0, _defineProperty2.default)(_index4, "RMB", "RMB"), (0, _defineProperty2.default)(_index4, "history", "Indirizzo storico"), (0, _defineProperty2.default)(_index4, "Fill", "Per piacere"), (0, _defineProperty2.default)(_index4, "senderinfo", "Compilare le informazioni inviate ai mittenti"), (0, _defineProperty2.default)(_index4, "addressee", "Indicare il nome del destinatario"), (0, _defineProperty2.default)(_index4, "enter", "definire"), (0, _defineProperty2.default)(_index4, "shoptype", "Tipo di merce"), (0, _defineProperty2.default)(_index4, "estimated", "Peso stimato"), (0, _defineProperty2.default)(_index4, "piece", "cosa"), (0, _defineProperty2.default)(_index4, "rule", "Conoscenza delle norme di fatturazione"), (0, _defineProperty2.default)(_index4, "Starting", "Verso l’alto"), (0, _defineProperty2.default)(_index4, "destination", "destinazione"), (0, _defineProperty2.default)(_index4, "Commodity", "Peso delle merci"), (0, _defineProperty2.default)(_index4, "Acquisition", "Accesso ai prezzi"), (0, _defineProperty2.default)(_index4, "Calculated", "Calcolo del peso"), (0, _defineProperty2.default)(_index4, "Estimated", "Nolo stimato"), (0, _defineProperty2.default)(_index4, "details", "Esaminare i dettagli"), (0, _defineProperty2.default)(_index4, "Normal", "Merci comuni"), (0, _defineProperty2.default)(_index4, "special", "Prodotti speciali"), (0, _defineProperty2.default)(_index4, "orderSearch", "Digitare il numero d’ordine per effettuare la ricerca"), (0, _defineProperty2.default)(_index4, "orderWeight", "Peso totale delle ordinazioni attualmente caricate"), (0, _defineProperty2.default)(_index4, "purchase", "Acquisto di piattaforme"), (0, _defineProperty2.default)(_index4, "OrderNumber", "Numero d’ordine"), (0, _defineProperty2.default)(_index4, "Parcelweight", "Peso del pacco"), (0, _defineProperty2.default)(_index4, "payment", "Pagamenti immediati"), (0, _defineProperty2.default)(_index4, "Frozen", "congelamento"), (0, _defineProperty2.default)(_index4, "recover", "ripristino"), (0, _defineProperty2.default)(_index4, "total", "totale"), (0, _defineProperty2.default)(_index4, "selfPost", "Inviata dal"), (0, _defineProperty2.default)(_index4, "receiveGoods", "Lascia alla piattaforma il carico"), (0, _defineProperty2.default)(_index4, "TrackingNumber", "Numero del corriere espresso"), (0, _defineProperty2.default)(_index4, "trackingNumber", "Inserire il numero d’ordine del corriere rapido e completare rapidamente il pacco"), (0, _defineProperty2.default)(_index4, "Expresscompany", "Società di corriere rapido"), (0, _defineProperty2.default)(_index4, "ExpressCompany", "Indicare il nome del servizio di corriere espresso"), (0, _defineProperty2.default)(_index4, "parcelWeight", "Per piacere indicare il peso del pacco"), (0, _defineProperty2.default)(_index4, "Addlist", "Aggiunta all’elenco dei colli"), (0, _defineProperty2.default)(_index4, "Addparcel", "Aggiunta di pacchi"), (0, _defineProperty2.default)(_index4, "Packlist", "Elenco degli statuti"), (0, _defineProperty2.default)(_index4, "classification", "Classificazione delle merci"), (0, _defineProperty2.default)(_index4, "synthesis", "integrato"), (0, _defineProperty2.default)(_index4, "sell", "vendita"), (0, _defineProperty2.default)(_index4, "Pricea", "prezzi"), (0, _defineProperty2.default)(_index4, "screen", "screening"), (0, _defineProperty2.default)(_index4, "Pricerange", "Fascia di prezzo"), (0, _defineProperty2.default)(_index4, "Weightinterval", "Intervallo di peso"), (0, _defineProperty2.default)(_index4, "brand", "marca"), (0, _defineProperty2.default)(_index4, "Proprietary", "Prodotti per uso proprio"), (0, _defineProperty2.default)(_index4, "reset", "sostituzione"), (0, _defineProperty2.default)(_index4, "yes", "è"), (0, _defineProperty2.default)(_index4, "Bottomprice", "Prezzo più basso"), (0, _defineProperty2.default)(_index4, "highestprice", "Prezzo massimo"), (0, _defineProperty2.default)(_index4, "Discounted", "Prezzo ridotto"), (0, _defineProperty2.default)(_index4, "service", "servizi"), (0, _defineProperty2.default)(_index4, "Netcontent", "Tenore netto"), (0, _defineProperty2.default)(_index4, "sametype", "Prezzo ridotto dello stesso articolo"), (0, _defineProperty2.default)(_index4, "review", "commenti"), (0, _defineProperty2.default)(_index4, "Productdetails", "Dettaglio delle merci"), (0, _defineProperty2.default)(_index4, "Specification", "Parametri delle specifiche"), (0, _defineProperty2.default)(_index4, "Recommended", "Prodotti raccomandati"), (0, _defineProperty2.default)(_index4, "material", "Principali materie prime"), (0, _defineProperty2.default)(_index4, "specification", "Le specifiche"), (0, _defineProperty2.default)(_index4, "Shelflife", "Periodo di validità"), (0, _defineProperty2.default)(_index4, "Suitableobject", "Adatto agli oggetti"), (0, _defineProperty2.default)(_index4, "Customer", "servizio"), (0, _defineProperty2.default)(_index4, "Shopping", "Carrelli per acquisti"), (0, _defineProperty2.default)(_index4, "follow", "attenzione"), (0, _defineProperty2.default)(_index4, "notification", "Notifica di ricevimento"), (0, _defineProperty2.default)(_index4, "Sele", "scelta"), (0, _defineProperty2.default)(_index4, "Salesvolume", "Volume delle vendite"), (0, _defineProperty2.default)(_index4, "stroll", "gira"), (0, _defineProperty2.default)(_index4, "article", "articolo"), (0, _defineProperty2.default)(_index4, "know", "Io so che"), (0, _defineProperty2.default)(_index4, "shar", "condividere"), (0, _defineProperty2.default)(_index4, "Copylink", "Riproduzione di un link"), (0, _defineProperty2.default)(_index4, "Generatepicture", "Creazione di immagini"), (0, _defineProperty2.default)(_index4, "Cancel", "soppressione"), (0, _defineProperty2.default)(_index4, "MyOrder", "Disponibile presso il centro personale"), (0, _defineProperty2.default)(_index4, "Vieworder", "Controllare l’ordine"), (0, _defineProperty2.default)(_index4, "Backtohomepage", "Ritorno alla pagina iniziale"), (0, _defineProperty2.default)(_index4, "Channelspecification", "Descrizione dei canali"), (0, _defineProperty2.default)(_index4, "Billingmode", "Modelli di fatturazione"), (0, _defineProperty2.default)(_index4, "Chargeableweight", "Peso della fatturazione"), (0, _defineProperty2.default)(_index4, "Estimatedcost", "Oneri stimati"), (0, _defineProperty2.default)(_index4, "Itemtype", "Tipo di articolo"), (0, _defineProperty2.default)(_index4, "Channelrule", "Regolamentazione del canale"), (0, _defineProperty2.default)(_index4, "Copiedpaste", "Già copiato. Andiamo a fare affissione"), (0, _defineProperty2.default)(_index4, "Replicationfailure", "Fallimento della riproduzione"), (0, _defineProperty2.default)(_index4, "shelves", "Vi ricorderemo tramite wechat quando la merce è in stock e si mette sul mercato"), (0, _defineProperty2.default)(_index4, "Actual", "Importo versato"), (0, _defineProperty2.default)(_index4, "Balancepayment", "Pagamenti del saldo"), (0, _defineProperty2.default)(_index4, "Currentbalance", "Saldo delle partite correnti"), (0, _defineProperty2.default)(_index4, "WechatPay", "Pagamento tramite wechat"), (0, _defineProperty2.default)(_index4, "applicable", "Si applicano i pagamenti di wechat"), (0, _defineProperty2.default)(_index4, "Customerservicepayment", "Retribuzione del trasporto passeggeri"), (0, _defineProperty2.default)(_index4, "Contactpayment", "Contatti con i clienti pagamento"), (0, _defineProperty2.default)(_index4, "Paymentinstructions", "Avvisi di pagamento"), (0, _defineProperty2.default)(_index4, "Confirmpayment", "Determinazione dei pagamenti"), (0, _defineProperty2.default)(_index4, "Commodityamount", "Volume delle merci"), (0, _defineProperty2.default)(_index4, "Grosscommodityweight", "Peso totale delle merci"), (0, _defineProperty2.default)(_index4, "Costperkilogram", "Onere per kg"), (0, _defineProperty2.default)(_index4, "freight", "nolo"), (0, _defineProperty2.default)(_index4, "subtotal", "Totale parziale"), (0, _defineProperty2.default)(_index4, "Atotalof", "total"), (0, _defineProperty2.default)(_index4, "Submitorder", "Presentazione delle ordinazioni"), (0, _defineProperty2.default)(_index4, "next", "Le fasi successive"), (0, _defineProperty2.default)(_index4, "Shipmentdate", "Data di spedizione"), (0, _defineProperty2.default)(_index4, "Estimatedtimeofarrival", "Orario d’arrivo previsto"), (0, _defineProperty2.default)(_index4, "Workingday", "Giorni lavorativi"), (0, _defineProperty2.default)(_index4, "buy", "acquisti"), (0, _defineProperty2.default)(_index4, "morefavorable", "Più favorevole"), (0, _defineProperty2.default)(_index4, "Pleaseproductname", "Indicare il nome commerciale"), (0, _defineProperty2.default)(_index4, "Goodgoods", "Prodotti di qualità"), (0, _defineProperty2.default)(_index4, "Saveeverything", "Ogni contributo sarà provinciale"), (0, _defineProperty2.default)(_index4, "willpay", "L’acquisto è a pagamento"), (0, _defineProperty2.default)(_index4, "Subsidized", "Prezzo sovvenzionato"), (0, _defineProperty2.default)(_index4, "typeof", "tipo"), (0, _defineProperty2.default)(_index4, "weight", "peso"), (0, _defineProperty2.default)(_index4, "number", "numero"), (0, _defineProperty2.default)(_index4, "Immediatepayment", "pagamento immediato"), (0, _defineProperty2.default)(_index4, "readandagree", "ho letto e accetto"), (0, _defineProperty2.default)(_index4, "International", "internazionale"), (0, _defineProperty2.default)(_index4, "Estimatedprice", "prezzo stimato"), (0, _defineProperty2.default)(_index4, "Marinetank", "container marittimo"), (0, _defineProperty2.default)(_index4, "Expressservice", "servizio di espressione"), (0, _defineProperty2.default)(_index4, "Orderconfirmation", "conferma dell'ordine"), (0, _defineProperty2.default)(_index4, "successful", "riusciti"), (0, _defineProperty2.default)(_index4, "pickpackage", "in attesa della raccolta dal corriere"), (0, _defineProperty2.default)(_index4, "Ordertime", "tempo dell'ordine"), (0, _defineProperty2.default)(_index4, "switch", "commutare"), (0, _defineProperty2.default)(_index4, "Popularshipment", "spedizione popolare"), (0, _defineProperty2.default)(_index4, "manage", "gestire"), (0, _defineProperty2.default)(_index4, "complete", "completare"), (0, _defineProperty2.default)(_index4, "selectall", "seleziona tutto"), (0, _defineProperty2.default)(_index4, "Grossweight", "peso lordo"), (0, _defineProperty2.default)(_index4, "GotoResult", "vai al checkout"), (0, _defineProperty2.default)(_index4, "orderpaysforitself", "risarcimento per gli ordini difettosi"), (0, _defineProperty2.default)(_index4, "Soldout", "esaurito"), (0, _defineProperty2.default)(_index4, "accountBalance", "Saldo del conto"), (0, _defineProperty2.default)(_index4, "myBalance", "Il mio equilibrio"), (0, _defineProperty2.default)(_index4, "withdrawal", "Ritiro"), (0, _defineProperty2.default)(_index4, "recharge", "Ricarica"), (0, _defineProperty2.default)(_index4, "balanceDetails", "Dettagli del saldo"), (0, _defineProperty2.default)(_index4, "all", "intero"), (0, _defineProperty2.default)(_index4, "theres", "Non ci sono più dati"), (0, _defineProperty2.default)(_index4, "mineCommodity", "merce"), (0, _defineProperty2.default)(_index4, "team", "Team leader"), (0, _defineProperty2.default)(_index4, "people", "La gente segue"), (0, _defineProperty2.default)(_index4, "see", "Visualizza Home Page"), (0, _defineProperty2.default)(_index4, "thatPerson", "Funzioni personali"), (0, _defineProperty2.default)(_index4, "become", "Diventa un team leader"), _index4)
  9442. }
  9443. };
  9444. exports.default = _default;
  9445. /***/ }),
  9446. /***/ 161:
  9447. /*!*****************************************************************!*\
  9448. !*** D:/project/crossBorder/wx-qhb/commont/http.interceptor.js ***!
  9449. \*****************************************************************/
  9450. /*! no static exports found */
  9451. /***/ (function(module, exports, __webpack_require__) {
  9452. /* WEBPACK VAR INJECTION */(function(uni) {// 此vm参数为页面的实例,可以通过它引用vuex中的变量
  9453. module.exports = function (vm) {
  9454. // 初始化请求配置
  9455. uni.$u.http.setConfig(function (config) {
  9456. /* config 为默认全局配置*/
  9457. config.baseURL = "https://cbec.hdlkeji.com"; /* 根域名 */
  9458. return config;
  9459. });
  9460. // 请求拦截
  9461. uni.$u.http.interceptors.request.use(function (config) {
  9462. // 可使用async await 做异步操作
  9463. // 初始化请求拦截器时,会执行此方法,此时data为undefined,赋予默认{}
  9464. config.data = config.data || {};
  9465. // 根据custom参数中配置的是否需要token,添加对应的请求头
  9466. // if(config?.custom?.auth) {
  9467. // 可以在此通过vm引用vuex中的变量,具体值在vm.$store.state中
  9468. var token = uni.getStorageSync("token");
  9469. config.header.Authorization = "Bearer" + " " + token;
  9470. // }
  9471. return config;
  9472. }, function (config) {
  9473. // 可使用async await 做异步操作
  9474. return Promise.reject(config);
  9475. });
  9476. // 响应拦截
  9477. uni.$u.http.interceptors.response.use(function (res) {
  9478. var _res$config;
  9479. /* 对响应成功做点什么 可使用async await 做异步操作*/
  9480. var data = res.data;
  9481. // 自定义参数
  9482. var custom = (_res$config = res.config) === null || _res$config === void 0 ? void 0 : _res$config.custom;
  9483. if (data.code !== 10000 && data.code !== 10011) {
  9484. if (data.code == 10001) {
  9485. uni.showModal({
  9486. title: '提示',
  9487. content: '未登录,请先登录',
  9488. success: function success(res) {
  9489. if (res.confirm) {
  9490. console.log('用户点击确定');
  9491. uni.reLaunch({
  9492. url: '/pages/login/login'
  9493. });
  9494. } else if (res.cancel) {
  9495. console.log('用户点击取消');
  9496. }
  9497. }
  9498. });
  9499. }
  9500. // 如果没有显式定义custom的toast参数为false的话,默认对报错进行toast弹出提示
  9501. else if (custom.toast !== false) {
  9502. uni.$u.toast(data.message);
  9503. }
  9504. // 如果需要catch返回,则进行reject
  9505. if (custom !== null && custom !== void 0 && custom.catch) {
  9506. return Promise.reject(data);
  9507. } else {
  9508. // 否则返回一个pending中的promise,请求不会进入catch中
  9509. return new Promise(function () {});
  9510. }
  9511. }
  9512. return data.data === undefined ? {} : data.data;
  9513. }, function (res) {
  9514. // 对响应错误做点什么 (statusCode !== 200)
  9515. return Promise.reject(res);
  9516. });
  9517. };
  9518. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9519. /***/ }),
  9520. /***/ 168:
  9521. /*!********************************************************!*\
  9522. !*** D:/project/crossBorder/wx-qhb/network/shopApi.js ***!
  9523. \********************************************************/
  9524. /*! no static exports found */
  9525. /***/ (function(module, exports, __webpack_require__) {
  9526. "use strict";
  9527. Object.defineProperty(exports, "__esModule", {
  9528. value: true
  9529. });
  9530. exports.detail = detail;
  9531. exports.recom = recom;
  9532. var _http = __webpack_require__(/*! ./http.js */ 169);
  9533. //商品推荐
  9534. function recom() {
  9535. return (0, _http.request)({
  9536. url: "/goods/recommend",
  9537. method: "post"
  9538. });
  9539. }
  9540. //商品详情
  9541. function detail(data) {
  9542. return (0, _http.request)({
  9543. url: "/goods/detail/" + data,
  9544. method: "get",
  9545. data: data
  9546. });
  9547. }
  9548. /***/ }),
  9549. /***/ 169:
  9550. /*!*****************************************************!*\
  9551. !*** D:/project/crossBorder/wx-qhb/network/http.js ***!
  9552. \*****************************************************/
  9553. /*! no static exports found */
  9554. /***/ (function(module, exports, __webpack_require__) {
  9555. "use strict";
  9556. var _base = __webpack_require__(/*! ./base.js */ 170);
  9557. /***/ }),
  9558. /***/ 17:
  9559. /*!*************************************************************************!*\
  9560. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  9561. \*************************************************************************/
  9562. /*! no static exports found */
  9563. /***/ (function(module, exports) {
  9564. function _isNativeReflectConstruct() {
  9565. try {
  9566. var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  9567. } catch (t) {}
  9568. return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {
  9569. return !!t;
  9570. }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
  9571. }
  9572. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9573. /***/ }),
  9574. /***/ 170:
  9575. /*!*****************************************************!*\
  9576. !*** D:/project/crossBorder/wx-qhb/network/base.js ***!
  9577. \*****************************************************/
  9578. /*! no static exports found */
  9579. /***/ (function(module, exports, __webpack_require__) {
  9580. "use strict";
  9581. Object.defineProperty(exports, "__esModule", {
  9582. value: true
  9583. });
  9584. exports.showHttpLog = exports.baseURL = void 0;
  9585. var baseURL = "https://cbec.hdlkeji.com/api";
  9586. exports.baseURL = baseURL;
  9587. var showHttpLog = false;
  9588. exports.showHttpLog = showHttpLog;
  9589. /***/ }),
  9590. /***/ 18:
  9591. /*!******************************************************************!*\
  9592. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  9593. \******************************************************************/
  9594. /*! no static exports found */
  9595. /***/ (function(module, exports, __webpack_require__) {
  9596. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  9597. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  9598. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  9599. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  9600. function _toConsumableArray(arr) {
  9601. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  9602. }
  9603. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9604. /***/ }),
  9605. /***/ 19:
  9606. /*!******************************************************************!*\
  9607. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  9608. \******************************************************************/
  9609. /*! no static exports found */
  9610. /***/ (function(module, exports, __webpack_require__) {
  9611. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  9612. function _arrayWithoutHoles(arr) {
  9613. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  9614. }
  9615. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9616. /***/ }),
  9617. /***/ 2:
  9618. /*!************************************************************!*\
  9619. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  9620. \************************************************************/
  9621. /*! no static exports found */
  9622. /***/ (function(module, exports, __webpack_require__) {
  9623. "use strict";
  9624. /* WEBPACK VAR INJECTION */(function(wx, global) {
  9625. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9626. Object.defineProperty(exports, "__esModule", {
  9627. value: true
  9628. });
  9629. exports.createApp = createApp;
  9630. exports.createComponent = createComponent;
  9631. exports.createPage = createPage;
  9632. exports.createPlugin = createPlugin;
  9633. exports.createSubpackageApp = createSubpackageApp;
  9634. exports.default = void 0;
  9635. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  9636. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9637. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  9638. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  9639. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  9640. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  9641. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  9642. 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; }
  9643. 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; }
  9644. var realAtob;
  9645. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  9646. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  9647. if (typeof atob !== 'function') {
  9648. realAtob = function realAtob(str) {
  9649. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  9650. if (!b64re.test(str)) {
  9651. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  9652. }
  9653. // Adding the padding if missing, for semplicity
  9654. str += '=='.slice(2 - (str.length & 3));
  9655. var bitmap;
  9656. var result = '';
  9657. var r1;
  9658. var r2;
  9659. var i = 0;
  9660. for (; i < str.length;) {
  9661. 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++)));
  9662. 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);
  9663. }
  9664. return result;
  9665. };
  9666. } else {
  9667. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  9668. realAtob = atob;
  9669. }
  9670. function b64DecodeUnicode(str) {
  9671. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  9672. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  9673. }).join(''));
  9674. }
  9675. function getCurrentUserInfo() {
  9676. var token = wx.getStorageSync('uni_id_token') || '';
  9677. var tokenArr = token.split('.');
  9678. if (!token || tokenArr.length !== 3) {
  9679. return {
  9680. uid: null,
  9681. role: [],
  9682. permission: [],
  9683. tokenExpired: 0
  9684. };
  9685. }
  9686. var userInfo;
  9687. try {
  9688. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  9689. } catch (error) {
  9690. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  9691. }
  9692. userInfo.tokenExpired = userInfo.exp * 1000;
  9693. delete userInfo.exp;
  9694. delete userInfo.iat;
  9695. return userInfo;
  9696. }
  9697. function uniIdMixin(Vue) {
  9698. Vue.prototype.uniIDHasRole = function (roleId) {
  9699. var _getCurrentUserInfo = getCurrentUserInfo(),
  9700. role = _getCurrentUserInfo.role;
  9701. return role.indexOf(roleId) > -1;
  9702. };
  9703. Vue.prototype.uniIDHasPermission = function (permissionId) {
  9704. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  9705. permission = _getCurrentUserInfo2.permission;
  9706. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  9707. };
  9708. Vue.prototype.uniIDTokenValid = function () {
  9709. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  9710. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  9711. return tokenExpired > Date.now();
  9712. };
  9713. }
  9714. var _toString = Object.prototype.toString;
  9715. var hasOwnProperty = Object.prototype.hasOwnProperty;
  9716. function isFn(fn) {
  9717. return typeof fn === 'function';
  9718. }
  9719. function isStr(str) {
  9720. return typeof str === 'string';
  9721. }
  9722. function isObject(obj) {
  9723. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  9724. }
  9725. function isPlainObject(obj) {
  9726. return _toString.call(obj) === '[object Object]';
  9727. }
  9728. function hasOwn(obj, key) {
  9729. return hasOwnProperty.call(obj, key);
  9730. }
  9731. function noop() {}
  9732. /**
  9733. * Create a cached version of a pure function.
  9734. */
  9735. function cached(fn) {
  9736. var cache = Object.create(null);
  9737. return function cachedFn(str) {
  9738. var hit = cache[str];
  9739. return hit || (cache[str] = fn(str));
  9740. };
  9741. }
  9742. /**
  9743. * Camelize a hyphen-delimited string.
  9744. */
  9745. var camelizeRE = /-(\w)/g;
  9746. var camelize = cached(function (str) {
  9747. return str.replace(camelizeRE, function (_, c) {
  9748. return c ? c.toUpperCase() : '';
  9749. });
  9750. });
  9751. function sortObject(obj) {
  9752. var sortObj = {};
  9753. if (isPlainObject(obj)) {
  9754. Object.keys(obj).sort().forEach(function (key) {
  9755. sortObj[key] = obj[key];
  9756. });
  9757. }
  9758. return !Object.keys(sortObj) ? obj : sortObj;
  9759. }
  9760. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  9761. var globalInterceptors = {};
  9762. var scopedInterceptors = {};
  9763. function mergeHook(parentVal, childVal) {
  9764. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  9765. return res ? dedupeHooks(res) : res;
  9766. }
  9767. function dedupeHooks(hooks) {
  9768. var res = [];
  9769. for (var i = 0; i < hooks.length; i++) {
  9770. if (res.indexOf(hooks[i]) === -1) {
  9771. res.push(hooks[i]);
  9772. }
  9773. }
  9774. return res;
  9775. }
  9776. function removeHook(hooks, hook) {
  9777. var index = hooks.indexOf(hook);
  9778. if (index !== -1) {
  9779. hooks.splice(index, 1);
  9780. }
  9781. }
  9782. function mergeInterceptorHook(interceptor, option) {
  9783. Object.keys(option).forEach(function (hook) {
  9784. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  9785. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  9786. }
  9787. });
  9788. }
  9789. function removeInterceptorHook(interceptor, option) {
  9790. if (!interceptor || !option) {
  9791. return;
  9792. }
  9793. Object.keys(option).forEach(function (hook) {
  9794. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  9795. removeHook(interceptor[hook], option[hook]);
  9796. }
  9797. });
  9798. }
  9799. function addInterceptor(method, option) {
  9800. if (typeof method === 'string' && isPlainObject(option)) {
  9801. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  9802. } else if (isPlainObject(method)) {
  9803. mergeInterceptorHook(globalInterceptors, method);
  9804. }
  9805. }
  9806. function removeInterceptor(method, option) {
  9807. if (typeof method === 'string') {
  9808. if (isPlainObject(option)) {
  9809. removeInterceptorHook(scopedInterceptors[method], option);
  9810. } else {
  9811. delete scopedInterceptors[method];
  9812. }
  9813. } else if (isPlainObject(method)) {
  9814. removeInterceptorHook(globalInterceptors, method);
  9815. }
  9816. }
  9817. function wrapperHook(hook, params) {
  9818. return function (data) {
  9819. return hook(data, params) || data;
  9820. };
  9821. }
  9822. function isPromise(obj) {
  9823. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  9824. }
  9825. function queue(hooks, data, params) {
  9826. var promise = false;
  9827. for (var i = 0; i < hooks.length; i++) {
  9828. var hook = hooks[i];
  9829. if (promise) {
  9830. promise = Promise.resolve(wrapperHook(hook, params));
  9831. } else {
  9832. var res = hook(data, params);
  9833. if (isPromise(res)) {
  9834. promise = Promise.resolve(res);
  9835. }
  9836. if (res === false) {
  9837. return {
  9838. then: function then() {}
  9839. };
  9840. }
  9841. }
  9842. }
  9843. return promise || {
  9844. then: function then(callback) {
  9845. return callback(data);
  9846. }
  9847. };
  9848. }
  9849. function wrapperOptions(interceptor) {
  9850. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9851. ['success', 'fail', 'complete'].forEach(function (name) {
  9852. if (Array.isArray(interceptor[name])) {
  9853. var oldCallback = options[name];
  9854. options[name] = function callbackInterceptor(res) {
  9855. queue(interceptor[name], res, options).then(function (res) {
  9856. /* eslint-disable no-mixed-operators */
  9857. return isFn(oldCallback) && oldCallback(res) || res;
  9858. });
  9859. };
  9860. }
  9861. });
  9862. return options;
  9863. }
  9864. function wrapperReturnValue(method, returnValue) {
  9865. var returnValueHooks = [];
  9866. if (Array.isArray(globalInterceptors.returnValue)) {
  9867. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  9868. }
  9869. var interceptor = scopedInterceptors[method];
  9870. if (interceptor && Array.isArray(interceptor.returnValue)) {
  9871. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  9872. }
  9873. returnValueHooks.forEach(function (hook) {
  9874. returnValue = hook(returnValue) || returnValue;
  9875. });
  9876. return returnValue;
  9877. }
  9878. function getApiInterceptorHooks(method) {
  9879. var interceptor = Object.create(null);
  9880. Object.keys(globalInterceptors).forEach(function (hook) {
  9881. if (hook !== 'returnValue') {
  9882. interceptor[hook] = globalInterceptors[hook].slice();
  9883. }
  9884. });
  9885. var scopedInterceptor = scopedInterceptors[method];
  9886. if (scopedInterceptor) {
  9887. Object.keys(scopedInterceptor).forEach(function (hook) {
  9888. if (hook !== 'returnValue') {
  9889. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  9890. }
  9891. });
  9892. }
  9893. return interceptor;
  9894. }
  9895. function invokeApi(method, api, options) {
  9896. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  9897. params[_key - 3] = arguments[_key];
  9898. }
  9899. var interceptor = getApiInterceptorHooks(method);
  9900. if (interceptor && Object.keys(interceptor).length) {
  9901. if (Array.isArray(interceptor.invoke)) {
  9902. var res = queue(interceptor.invoke, options);
  9903. return res.then(function (options) {
  9904. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  9905. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  9906. });
  9907. } else {
  9908. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  9909. }
  9910. }
  9911. return api.apply(void 0, [options].concat(params));
  9912. }
  9913. var promiseInterceptor = {
  9914. returnValue: function returnValue(res) {
  9915. if (!isPromise(res)) {
  9916. return res;
  9917. }
  9918. return new Promise(function (resolve, reject) {
  9919. res.then(function (res) {
  9920. if (res[0]) {
  9921. reject(res[0]);
  9922. } else {
  9923. resolve(res[1]);
  9924. }
  9925. });
  9926. });
  9927. }
  9928. };
  9929. 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/;
  9930. var CONTEXT_API_RE = /^create|Manager$/;
  9931. // Context例外情况
  9932. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  9933. // 同步例外情况
  9934. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  9935. var CALLBACK_API_RE = /^on|^off/;
  9936. function isContextApi(name) {
  9937. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  9938. }
  9939. function isSyncApi(name) {
  9940. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  9941. }
  9942. function isCallbackApi(name) {
  9943. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  9944. }
  9945. function handlePromise(promise) {
  9946. return promise.then(function (data) {
  9947. return [null, data];
  9948. }).catch(function (err) {
  9949. return [err];
  9950. });
  9951. }
  9952. function shouldPromise(name) {
  9953. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  9954. return false;
  9955. }
  9956. return true;
  9957. }
  9958. /* eslint-disable no-extend-native */
  9959. if (!Promise.prototype.finally) {
  9960. Promise.prototype.finally = function (callback) {
  9961. var promise = this.constructor;
  9962. return this.then(function (value) {
  9963. return promise.resolve(callback()).then(function () {
  9964. return value;
  9965. });
  9966. }, function (reason) {
  9967. return promise.resolve(callback()).then(function () {
  9968. throw reason;
  9969. });
  9970. });
  9971. };
  9972. }
  9973. function promisify(name, api) {
  9974. if (!shouldPromise(name) || !isFn(api)) {
  9975. return api;
  9976. }
  9977. return function promiseApi() {
  9978. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9979. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  9980. params[_key2 - 1] = arguments[_key2];
  9981. }
  9982. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  9983. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  9984. }
  9985. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  9986. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  9987. success: resolve,
  9988. fail: reject
  9989. })].concat(params));
  9990. })));
  9991. };
  9992. }
  9993. var EPS = 1e-4;
  9994. var BASE_DEVICE_WIDTH = 750;
  9995. var isIOS = false;
  9996. var deviceWidth = 0;
  9997. var deviceDPR = 0;
  9998. function checkDeviceWidth() {
  9999. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  10000. platform = _wx$getSystemInfoSync.platform,
  10001. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  10002. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  10003. deviceWidth = windowWidth;
  10004. deviceDPR = pixelRatio;
  10005. isIOS = platform === 'ios';
  10006. }
  10007. function upx2px(number, newDeviceWidth) {
  10008. if (deviceWidth === 0) {
  10009. checkDeviceWidth();
  10010. }
  10011. number = Number(number);
  10012. if (number === 0) {
  10013. return 0;
  10014. }
  10015. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  10016. if (result < 0) {
  10017. result = -result;
  10018. }
  10019. result = Math.floor(result + EPS);
  10020. if (result === 0) {
  10021. if (deviceDPR === 1 || !isIOS) {
  10022. result = 1;
  10023. } else {
  10024. result = 0.5;
  10025. }
  10026. }
  10027. return number < 0 ? -result : result;
  10028. }
  10029. var LOCALE_ZH_HANS = 'zh-Hans';
  10030. var LOCALE_ZH_HANT = 'zh-Hant';
  10031. var LOCALE_EN = 'en';
  10032. var LOCALE_FR = 'fr';
  10033. var LOCALE_ES = 'es';
  10034. var messages = {};
  10035. var locale;
  10036. {
  10037. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  10038. }
  10039. function initI18nMessages() {
  10040. if (!isEnableLocale()) {
  10041. return;
  10042. }
  10043. var localeKeys = Object.keys(__uniConfig.locales);
  10044. if (localeKeys.length) {
  10045. localeKeys.forEach(function (locale) {
  10046. var curMessages = messages[locale];
  10047. var userMessages = __uniConfig.locales[locale];
  10048. if (curMessages) {
  10049. Object.assign(curMessages, userMessages);
  10050. } else {
  10051. messages[locale] = userMessages;
  10052. }
  10053. });
  10054. }
  10055. }
  10056. initI18nMessages();
  10057. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  10058. var t = i18n.t;
  10059. var i18nMixin = i18n.mixin = {
  10060. beforeCreate: function beforeCreate() {
  10061. var _this = this;
  10062. var unwatch = i18n.i18n.watchLocale(function () {
  10063. _this.$forceUpdate();
  10064. });
  10065. this.$once('hook:beforeDestroy', function () {
  10066. unwatch();
  10067. });
  10068. },
  10069. methods: {
  10070. $$t: function $$t(key, values) {
  10071. return t(key, values);
  10072. }
  10073. }
  10074. };
  10075. var setLocale = i18n.setLocale;
  10076. var getLocale = i18n.getLocale;
  10077. function initAppLocale(Vue, appVm, locale) {
  10078. var state = Vue.observable({
  10079. locale: locale || i18n.getLocale()
  10080. });
  10081. var localeWatchers = [];
  10082. appVm.$watchLocale = function (fn) {
  10083. localeWatchers.push(fn);
  10084. };
  10085. Object.defineProperty(appVm, '$locale', {
  10086. get: function get() {
  10087. return state.locale;
  10088. },
  10089. set: function set(v) {
  10090. state.locale = v;
  10091. localeWatchers.forEach(function (watch) {
  10092. return watch(v);
  10093. });
  10094. }
  10095. });
  10096. }
  10097. function isEnableLocale() {
  10098. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  10099. }
  10100. function include(str, parts) {
  10101. return !!parts.find(function (part) {
  10102. return str.indexOf(part) !== -1;
  10103. });
  10104. }
  10105. function startsWith(str, parts) {
  10106. return parts.find(function (part) {
  10107. return str.indexOf(part) === 0;
  10108. });
  10109. }
  10110. function normalizeLocale(locale, messages) {
  10111. if (!locale) {
  10112. return;
  10113. }
  10114. locale = locale.trim().replace(/_/g, '-');
  10115. if (messages && messages[locale]) {
  10116. return locale;
  10117. }
  10118. locale = locale.toLowerCase();
  10119. if (locale === 'chinese') {
  10120. // 支付宝
  10121. return LOCALE_ZH_HANS;
  10122. }
  10123. if (locale.indexOf('zh') === 0) {
  10124. if (locale.indexOf('-hans') > -1) {
  10125. return LOCALE_ZH_HANS;
  10126. }
  10127. if (locale.indexOf('-hant') > -1) {
  10128. return LOCALE_ZH_HANT;
  10129. }
  10130. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  10131. return LOCALE_ZH_HANT;
  10132. }
  10133. return LOCALE_ZH_HANS;
  10134. }
  10135. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  10136. if (lang) {
  10137. return lang;
  10138. }
  10139. }
  10140. // export function initI18n() {
  10141. // const localeKeys = Object.keys(__uniConfig.locales || {})
  10142. // if (localeKeys.length) {
  10143. // localeKeys.forEach((locale) =>
  10144. // i18n.add(locale, __uniConfig.locales[locale])
  10145. // )
  10146. // }
  10147. // }
  10148. function getLocale$1() {
  10149. // 优先使用 $locale
  10150. if (isFn(getApp)) {
  10151. var app = getApp({
  10152. allowDefault: true
  10153. });
  10154. if (app && app.$vm) {
  10155. return app.$vm.$locale;
  10156. }
  10157. }
  10158. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  10159. }
  10160. function setLocale$1(locale) {
  10161. var app = isFn(getApp) ? getApp() : false;
  10162. if (!app) {
  10163. return false;
  10164. }
  10165. var oldLocale = app.$vm.$locale;
  10166. if (oldLocale !== locale) {
  10167. app.$vm.$locale = locale;
  10168. onLocaleChangeCallbacks.forEach(function (fn) {
  10169. return fn({
  10170. locale: locale
  10171. });
  10172. });
  10173. return true;
  10174. }
  10175. return false;
  10176. }
  10177. var onLocaleChangeCallbacks = [];
  10178. function onLocaleChange(fn) {
  10179. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  10180. onLocaleChangeCallbacks.push(fn);
  10181. }
  10182. }
  10183. if (typeof global !== 'undefined') {
  10184. global.getLocale = getLocale$1;
  10185. }
  10186. var interceptors = {
  10187. promiseInterceptor: promiseInterceptor
  10188. };
  10189. var baseApi = /*#__PURE__*/Object.freeze({
  10190. __proto__: null,
  10191. upx2px: upx2px,
  10192. getLocale: getLocale$1,
  10193. setLocale: setLocale$1,
  10194. onLocaleChange: onLocaleChange,
  10195. addInterceptor: addInterceptor,
  10196. removeInterceptor: removeInterceptor,
  10197. interceptors: interceptors
  10198. });
  10199. function findExistsPageIndex(url) {
  10200. var pages = getCurrentPages();
  10201. var len = pages.length;
  10202. while (len--) {
  10203. var page = pages[len];
  10204. if (page.$page && page.$page.fullPath === url) {
  10205. return len;
  10206. }
  10207. }
  10208. return -1;
  10209. }
  10210. var redirectTo = {
  10211. name: function name(fromArgs) {
  10212. if (fromArgs.exists === 'back' && fromArgs.delta) {
  10213. return 'navigateBack';
  10214. }
  10215. return 'redirectTo';
  10216. },
  10217. args: function args(fromArgs) {
  10218. if (fromArgs.exists === 'back' && fromArgs.url) {
  10219. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  10220. if (existsPageIndex !== -1) {
  10221. var delta = getCurrentPages().length - 1 - existsPageIndex;
  10222. if (delta > 0) {
  10223. fromArgs.delta = delta;
  10224. }
  10225. }
  10226. }
  10227. }
  10228. };
  10229. var previewImage = {
  10230. args: function args(fromArgs) {
  10231. var currentIndex = parseInt(fromArgs.current);
  10232. if (isNaN(currentIndex)) {
  10233. return;
  10234. }
  10235. var urls = fromArgs.urls;
  10236. if (!Array.isArray(urls)) {
  10237. return;
  10238. }
  10239. var len = urls.length;
  10240. if (!len) {
  10241. return;
  10242. }
  10243. if (currentIndex < 0) {
  10244. currentIndex = 0;
  10245. } else if (currentIndex >= len) {
  10246. currentIndex = len - 1;
  10247. }
  10248. if (currentIndex > 0) {
  10249. fromArgs.current = urls[currentIndex];
  10250. fromArgs.urls = urls.filter(function (item, index) {
  10251. return index < currentIndex ? item !== urls[currentIndex] : true;
  10252. });
  10253. } else {
  10254. fromArgs.current = urls[0];
  10255. }
  10256. return {
  10257. indicator: false,
  10258. loop: false
  10259. };
  10260. }
  10261. };
  10262. var UUID_KEY = '__DC_STAT_UUID';
  10263. var deviceId;
  10264. function useDeviceId(result) {
  10265. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  10266. if (!deviceId) {
  10267. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  10268. wx.setStorage({
  10269. key: UUID_KEY,
  10270. data: deviceId
  10271. });
  10272. }
  10273. result.deviceId = deviceId;
  10274. }
  10275. function addSafeAreaInsets(result) {
  10276. if (result.safeArea) {
  10277. var safeArea = result.safeArea;
  10278. result.safeAreaInsets = {
  10279. top: safeArea.top,
  10280. left: safeArea.left,
  10281. right: result.windowWidth - safeArea.right,
  10282. bottom: result.screenHeight - safeArea.bottom
  10283. };
  10284. }
  10285. }
  10286. function populateParameters(result) {
  10287. var _result$brand = result.brand,
  10288. brand = _result$brand === void 0 ? '' : _result$brand,
  10289. _result$model = result.model,
  10290. model = _result$model === void 0 ? '' : _result$model,
  10291. _result$system = result.system,
  10292. system = _result$system === void 0 ? '' : _result$system,
  10293. _result$language = result.language,
  10294. language = _result$language === void 0 ? '' : _result$language,
  10295. theme = result.theme,
  10296. version = result.version,
  10297. platform = result.platform,
  10298. fontSizeSetting = result.fontSizeSetting,
  10299. SDKVersion = result.SDKVersion,
  10300. pixelRatio = result.pixelRatio,
  10301. deviceOrientation = result.deviceOrientation;
  10302. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  10303. var extraParam = {};
  10304. // osName osVersion
  10305. var osName = '';
  10306. var osVersion = '';
  10307. {
  10308. osName = system.split(' ')[0] || '';
  10309. osVersion = system.split(' ')[1] || '';
  10310. }
  10311. var hostVersion = version;
  10312. // deviceType
  10313. var deviceType = getGetDeviceType(result, model);
  10314. // deviceModel
  10315. var deviceBrand = getDeviceBrand(brand);
  10316. // hostName
  10317. var _hostName = getHostName(result);
  10318. // deviceOrientation
  10319. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  10320. // devicePixelRatio
  10321. var _devicePixelRatio = pixelRatio;
  10322. // SDKVersion
  10323. var _SDKVersion = SDKVersion;
  10324. // hostLanguage
  10325. var hostLanguage = language.replace(/_/g, '-');
  10326. // wx.getAccountInfoSync
  10327. var parameters = {
  10328. appId: "__UNI__F715804",
  10329. appName: "kjds",
  10330. appVersion: "1.0.0",
  10331. appVersionCode: "100",
  10332. appLanguage: getAppLanguage(hostLanguage),
  10333. uniCompileVersion: "4.24",
  10334. uniRuntimeVersion: "4.24",
  10335. uniPlatform: undefined || "mp-weixin",
  10336. deviceBrand: deviceBrand,
  10337. deviceModel: model,
  10338. deviceType: deviceType,
  10339. devicePixelRatio: _devicePixelRatio,
  10340. deviceOrientation: _deviceOrientation,
  10341. osName: osName.toLocaleLowerCase(),
  10342. osVersion: osVersion,
  10343. hostTheme: theme,
  10344. hostVersion: hostVersion,
  10345. hostLanguage: hostLanguage,
  10346. hostName: _hostName,
  10347. hostSDKVersion: _SDKVersion,
  10348. hostFontSizeSetting: fontSizeSetting,
  10349. windowTop: 0,
  10350. windowBottom: 0,
  10351. // TODO
  10352. osLanguage: undefined,
  10353. osTheme: undefined,
  10354. ua: undefined,
  10355. hostPackageName: undefined,
  10356. browserName: undefined,
  10357. browserVersion: undefined
  10358. };
  10359. Object.assign(result, parameters, extraParam);
  10360. }
  10361. function getGetDeviceType(result, model) {
  10362. var deviceType = result.deviceType || 'phone';
  10363. {
  10364. var deviceTypeMaps = {
  10365. ipad: 'pad',
  10366. windows: 'pc',
  10367. mac: 'pc'
  10368. };
  10369. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  10370. var _model = model.toLocaleLowerCase();
  10371. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  10372. var _m = deviceTypeMapsKeys[index];
  10373. if (_model.indexOf(_m) !== -1) {
  10374. deviceType = deviceTypeMaps[_m];
  10375. break;
  10376. }
  10377. }
  10378. }
  10379. return deviceType;
  10380. }
  10381. function getDeviceBrand(brand) {
  10382. var deviceBrand = brand;
  10383. if (deviceBrand) {
  10384. deviceBrand = brand.toLocaleLowerCase();
  10385. }
  10386. return deviceBrand;
  10387. }
  10388. function getAppLanguage(defaultLanguage) {
  10389. return getLocale$1 ? getLocale$1() : defaultLanguage;
  10390. }
  10391. function getHostName(result) {
  10392. var _platform = 'WeChat';
  10393. var _hostName = result.hostName || _platform; // mp-jd
  10394. {
  10395. if (result.environment) {
  10396. _hostName = result.environment;
  10397. } else if (result.host && result.host.env) {
  10398. _hostName = result.host.env;
  10399. }
  10400. }
  10401. return _hostName;
  10402. }
  10403. var getSystemInfo = {
  10404. returnValue: function returnValue(result) {
  10405. useDeviceId(result);
  10406. addSafeAreaInsets(result);
  10407. populateParameters(result);
  10408. }
  10409. };
  10410. var showActionSheet = {
  10411. args: function args(fromArgs) {
  10412. if ((0, _typeof2.default)(fromArgs) === 'object') {
  10413. fromArgs.alertText = fromArgs.title;
  10414. }
  10415. }
  10416. };
  10417. var getAppBaseInfo = {
  10418. returnValue: function returnValue(result) {
  10419. var _result = result,
  10420. version = _result.version,
  10421. language = _result.language,
  10422. SDKVersion = _result.SDKVersion,
  10423. theme = _result.theme;
  10424. var _hostName = getHostName(result);
  10425. var hostLanguage = language.replace('_', '-');
  10426. result = sortObject(Object.assign(result, {
  10427. appId: "__UNI__F715804",
  10428. appName: "kjds",
  10429. appVersion: "1.0.0",
  10430. appVersionCode: "100",
  10431. appLanguage: getAppLanguage(hostLanguage),
  10432. hostVersion: version,
  10433. hostLanguage: hostLanguage,
  10434. hostName: _hostName,
  10435. hostSDKVersion: SDKVersion,
  10436. hostTheme: theme
  10437. }));
  10438. }
  10439. };
  10440. var getDeviceInfo = {
  10441. returnValue: function returnValue(result) {
  10442. var _result2 = result,
  10443. brand = _result2.brand,
  10444. model = _result2.model;
  10445. var deviceType = getGetDeviceType(result, model);
  10446. var deviceBrand = getDeviceBrand(brand);
  10447. useDeviceId(result);
  10448. result = sortObject(Object.assign(result, {
  10449. deviceType: deviceType,
  10450. deviceBrand: deviceBrand,
  10451. deviceModel: model
  10452. }));
  10453. }
  10454. };
  10455. var getWindowInfo = {
  10456. returnValue: function returnValue(result) {
  10457. addSafeAreaInsets(result);
  10458. result = sortObject(Object.assign(result, {
  10459. windowTop: 0,
  10460. windowBottom: 0
  10461. }));
  10462. }
  10463. };
  10464. var getAppAuthorizeSetting = {
  10465. returnValue: function returnValue(result) {
  10466. var locationReducedAccuracy = result.locationReducedAccuracy;
  10467. result.locationAccuracy = 'unsupported';
  10468. if (locationReducedAccuracy === true) {
  10469. result.locationAccuracy = 'reduced';
  10470. } else if (locationReducedAccuracy === false) {
  10471. result.locationAccuracy = 'full';
  10472. }
  10473. }
  10474. };
  10475. // import navigateTo from 'uni-helpers/navigate-to'
  10476. var compressImage = {
  10477. args: function args(fromArgs) {
  10478. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  10479. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  10480. fromArgs.compressHeight = fromArgs.compressedHeight;
  10481. }
  10482. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  10483. fromArgs.compressWidth = fromArgs.compressedWidth;
  10484. }
  10485. }
  10486. };
  10487. var protocols = {
  10488. redirectTo: redirectTo,
  10489. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  10490. previewImage: previewImage,
  10491. getSystemInfo: getSystemInfo,
  10492. getSystemInfoSync: getSystemInfo,
  10493. showActionSheet: showActionSheet,
  10494. getAppBaseInfo: getAppBaseInfo,
  10495. getDeviceInfo: getDeviceInfo,
  10496. getWindowInfo: getWindowInfo,
  10497. getAppAuthorizeSetting: getAppAuthorizeSetting,
  10498. compressImage: compressImage
  10499. };
  10500. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  10501. var canIUses = [];
  10502. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  10503. function processCallback(methodName, method, returnValue) {
  10504. return function (res) {
  10505. return method(processReturnValue(methodName, res, returnValue));
  10506. };
  10507. }
  10508. function processArgs(methodName, fromArgs) {
  10509. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  10510. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  10511. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  10512. if (isPlainObject(fromArgs)) {
  10513. // 一般 api 的参数解析
  10514. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  10515. if (isFn(argsOption)) {
  10516. argsOption = argsOption(fromArgs, toArgs) || {};
  10517. }
  10518. for (var key in fromArgs) {
  10519. if (hasOwn(argsOption, key)) {
  10520. var keyOption = argsOption[key];
  10521. if (isFn(keyOption)) {
  10522. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  10523. }
  10524. if (!keyOption) {
  10525. // 不支持的参数
  10526. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  10527. } else if (isStr(keyOption)) {
  10528. // 重写参数 key
  10529. toArgs[keyOption] = fromArgs[key];
  10530. } else if (isPlainObject(keyOption)) {
  10531. // {name:newName,value:value}可重新指定参数 key:value
  10532. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  10533. }
  10534. } else if (CALLBACKS.indexOf(key) !== -1) {
  10535. if (isFn(fromArgs[key])) {
  10536. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  10537. }
  10538. } else {
  10539. if (!keepFromArgs) {
  10540. toArgs[key] = fromArgs[key];
  10541. }
  10542. }
  10543. }
  10544. return toArgs;
  10545. } else if (isFn(fromArgs)) {
  10546. fromArgs = processCallback(methodName, fromArgs, returnValue);
  10547. }
  10548. return fromArgs;
  10549. }
  10550. function processReturnValue(methodName, res, returnValue) {
  10551. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  10552. if (isFn(protocols.returnValue)) {
  10553. // 处理通用 returnValue
  10554. res = protocols.returnValue(methodName, res);
  10555. }
  10556. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  10557. }
  10558. function wrapper(methodName, method) {
  10559. if (hasOwn(protocols, methodName)) {
  10560. var protocol = protocols[methodName];
  10561. if (!protocol) {
  10562. // 暂不支持的 api
  10563. return function () {
  10564. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  10565. };
  10566. }
  10567. return function (arg1, arg2) {
  10568. // 目前 api 最多两个参数
  10569. var options = protocol;
  10570. if (isFn(protocol)) {
  10571. options = protocol(arg1);
  10572. }
  10573. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  10574. var args = [arg1];
  10575. if (typeof arg2 !== 'undefined') {
  10576. args.push(arg2);
  10577. }
  10578. if (isFn(options.name)) {
  10579. methodName = options.name(arg1);
  10580. } else if (isStr(options.name)) {
  10581. methodName = options.name;
  10582. }
  10583. var returnValue = wx[methodName].apply(wx, args);
  10584. if (isSyncApi(methodName)) {
  10585. // 同步 api
  10586. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  10587. }
  10588. return returnValue;
  10589. };
  10590. }
  10591. return method;
  10592. }
  10593. var todoApis = Object.create(null);
  10594. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  10595. function createTodoApi(name) {
  10596. return function todoApi(_ref) {
  10597. var fail = _ref.fail,
  10598. complete = _ref.complete;
  10599. var res = {
  10600. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  10601. };
  10602. isFn(fail) && fail(res);
  10603. isFn(complete) && complete(res);
  10604. };
  10605. }
  10606. TODOS.forEach(function (name) {
  10607. todoApis[name] = createTodoApi(name);
  10608. });
  10609. var providers = {
  10610. oauth: ['weixin'],
  10611. share: ['weixin'],
  10612. payment: ['wxpay'],
  10613. push: ['weixin']
  10614. };
  10615. function getProvider(_ref2) {
  10616. var service = _ref2.service,
  10617. success = _ref2.success,
  10618. fail = _ref2.fail,
  10619. complete = _ref2.complete;
  10620. var res = false;
  10621. if (providers[service]) {
  10622. res = {
  10623. errMsg: 'getProvider:ok',
  10624. service: service,
  10625. provider: providers[service]
  10626. };
  10627. isFn(success) && success(res);
  10628. } else {
  10629. res = {
  10630. errMsg: 'getProvider:fail service not found'
  10631. };
  10632. isFn(fail) && fail(res);
  10633. }
  10634. isFn(complete) && complete(res);
  10635. }
  10636. var extraApi = /*#__PURE__*/Object.freeze({
  10637. __proto__: null,
  10638. getProvider: getProvider
  10639. });
  10640. var getEmitter = function () {
  10641. var Emitter;
  10642. return function getUniEmitter() {
  10643. if (!Emitter) {
  10644. Emitter = new _vue.default();
  10645. }
  10646. return Emitter;
  10647. };
  10648. }();
  10649. function apply(ctx, method, args) {
  10650. return ctx[method].apply(ctx, args);
  10651. }
  10652. function $on() {
  10653. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  10654. }
  10655. function $off() {
  10656. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  10657. }
  10658. function $once() {
  10659. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  10660. }
  10661. function $emit() {
  10662. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  10663. }
  10664. var eventApi = /*#__PURE__*/Object.freeze({
  10665. __proto__: null,
  10666. $on: $on,
  10667. $off: $off,
  10668. $once: $once,
  10669. $emit: $emit
  10670. });
  10671. /**
  10672. * 框架内 try-catch
  10673. */
  10674. /**
  10675. * 开发者 try-catch
  10676. */
  10677. function tryCatch(fn) {
  10678. return function () {
  10679. try {
  10680. return fn.apply(fn, arguments);
  10681. } catch (e) {
  10682. // TODO
  10683. console.error(e);
  10684. }
  10685. };
  10686. }
  10687. function getApiCallbacks(params) {
  10688. var apiCallbacks = {};
  10689. for (var name in params) {
  10690. var param = params[name];
  10691. if (isFn(param)) {
  10692. apiCallbacks[name] = tryCatch(param);
  10693. delete params[name];
  10694. }
  10695. }
  10696. return apiCallbacks;
  10697. }
  10698. var cid;
  10699. var cidErrMsg;
  10700. var enabled;
  10701. function normalizePushMessage(message) {
  10702. try {
  10703. return JSON.parse(message);
  10704. } catch (e) {}
  10705. return message;
  10706. }
  10707. function invokePushCallback(args) {
  10708. if (args.type === 'enabled') {
  10709. enabled = true;
  10710. } else if (args.type === 'clientId') {
  10711. cid = args.cid;
  10712. cidErrMsg = args.errMsg;
  10713. invokeGetPushCidCallbacks(cid, args.errMsg);
  10714. } else if (args.type === 'pushMsg') {
  10715. var message = {
  10716. type: 'receive',
  10717. data: normalizePushMessage(args.message)
  10718. };
  10719. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  10720. var callback = onPushMessageCallbacks[i];
  10721. callback(message);
  10722. // 该消息已被阻止
  10723. if (message.stopped) {
  10724. break;
  10725. }
  10726. }
  10727. } else if (args.type === 'click') {
  10728. onPushMessageCallbacks.forEach(function (callback) {
  10729. callback({
  10730. type: 'click',
  10731. data: normalizePushMessage(args.message)
  10732. });
  10733. });
  10734. }
  10735. }
  10736. var getPushCidCallbacks = [];
  10737. function invokeGetPushCidCallbacks(cid, errMsg) {
  10738. getPushCidCallbacks.forEach(function (callback) {
  10739. callback(cid, errMsg);
  10740. });
  10741. getPushCidCallbacks.length = 0;
  10742. }
  10743. function getPushClientId(args) {
  10744. if (!isPlainObject(args)) {
  10745. args = {};
  10746. }
  10747. var _getApiCallbacks = getApiCallbacks(args),
  10748. success = _getApiCallbacks.success,
  10749. fail = _getApiCallbacks.fail,
  10750. complete = _getApiCallbacks.complete;
  10751. var hasSuccess = isFn(success);
  10752. var hasFail = isFn(fail);
  10753. var hasComplete = isFn(complete);
  10754. Promise.resolve().then(function () {
  10755. if (typeof enabled === 'undefined') {
  10756. enabled = false;
  10757. cid = '';
  10758. cidErrMsg = 'uniPush is not enabled';
  10759. }
  10760. getPushCidCallbacks.push(function (cid, errMsg) {
  10761. var res;
  10762. if (cid) {
  10763. res = {
  10764. errMsg: 'getPushClientId:ok',
  10765. cid: cid
  10766. };
  10767. hasSuccess && success(res);
  10768. } else {
  10769. res = {
  10770. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  10771. };
  10772. hasFail && fail(res);
  10773. }
  10774. hasComplete && complete(res);
  10775. });
  10776. if (typeof cid !== 'undefined') {
  10777. invokeGetPushCidCallbacks(cid, cidErrMsg);
  10778. }
  10779. });
  10780. }
  10781. var onPushMessageCallbacks = [];
  10782. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  10783. var onPushMessage = function onPushMessage(fn) {
  10784. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  10785. onPushMessageCallbacks.push(fn);
  10786. }
  10787. };
  10788. var offPushMessage = function offPushMessage(fn) {
  10789. if (!fn) {
  10790. onPushMessageCallbacks.length = 0;
  10791. } else {
  10792. var index = onPushMessageCallbacks.indexOf(fn);
  10793. if (index > -1) {
  10794. onPushMessageCallbacks.splice(index, 1);
  10795. }
  10796. }
  10797. };
  10798. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  10799. if (!baseInfo) {
  10800. baseInfo = wx.getSystemInfoSync();
  10801. }
  10802. var host = baseInfo ? baseInfo.host : null;
  10803. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  10804. var api = /*#__PURE__*/Object.freeze({
  10805. __proto__: null,
  10806. shareVideoMessage: shareVideoMessage,
  10807. getPushClientId: getPushClientId,
  10808. onPushMessage: onPushMessage,
  10809. offPushMessage: offPushMessage,
  10810. invokePushCallback: invokePushCallback
  10811. });
  10812. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  10813. function findVmByVueId(vm, vuePid) {
  10814. var $children = vm.$children;
  10815. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  10816. for (var i = $children.length - 1; i >= 0; i--) {
  10817. var childVm = $children[i];
  10818. if (childVm.$scope._$vueId === vuePid) {
  10819. return childVm;
  10820. }
  10821. }
  10822. // 反向递归查找
  10823. var parentVm;
  10824. for (var _i = $children.length - 1; _i >= 0; _i--) {
  10825. parentVm = findVmByVueId($children[_i], vuePid);
  10826. if (parentVm) {
  10827. return parentVm;
  10828. }
  10829. }
  10830. }
  10831. function initBehavior(options) {
  10832. return Behavior(options);
  10833. }
  10834. function isPage() {
  10835. return !!this.route;
  10836. }
  10837. function initRelation(detail) {
  10838. this.triggerEvent('__l', detail);
  10839. }
  10840. function selectAllComponents(mpInstance, selector, $refs) {
  10841. var components = mpInstance.selectAllComponents(selector) || [];
  10842. components.forEach(function (component) {
  10843. var ref = component.dataset.ref;
  10844. $refs[ref] = component.$vm || toSkip(component);
  10845. {
  10846. if (component.dataset.vueGeneric === 'scoped') {
  10847. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  10848. selectAllComponents(scopedComponent, selector, $refs);
  10849. });
  10850. }
  10851. }
  10852. });
  10853. }
  10854. function syncRefs(refs, newRefs) {
  10855. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  10856. var newKeys = Object.keys(newRefs);
  10857. newKeys.forEach(function (key) {
  10858. var oldValue = refs[key];
  10859. var newValue = newRefs[key];
  10860. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  10861. return oldValue.includes(value);
  10862. })) {
  10863. return;
  10864. }
  10865. refs[key] = newValue;
  10866. oldKeys.delete(key);
  10867. });
  10868. oldKeys.forEach(function (key) {
  10869. delete refs[key];
  10870. });
  10871. return refs;
  10872. }
  10873. function initRefs(vm) {
  10874. var mpInstance = vm.$scope;
  10875. var refs = {};
  10876. Object.defineProperty(vm, '$refs', {
  10877. get: function get() {
  10878. var $refs = {};
  10879. selectAllComponents(mpInstance, '.vue-ref', $refs);
  10880. // TODO 暂不考虑 for 中的 scoped
  10881. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  10882. forComponents.forEach(function (component) {
  10883. var ref = component.dataset.ref;
  10884. if (!$refs[ref]) {
  10885. $refs[ref] = [];
  10886. }
  10887. $refs[ref].push(component.$vm || toSkip(component));
  10888. });
  10889. return syncRefs(refs, $refs);
  10890. }
  10891. });
  10892. }
  10893. function handleLink(event) {
  10894. var _ref3 = event.detail || event.value,
  10895. vuePid = _ref3.vuePid,
  10896. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  10897. var parentVm;
  10898. if (vuePid) {
  10899. parentVm = findVmByVueId(this.$vm, vuePid);
  10900. }
  10901. if (!parentVm) {
  10902. parentVm = this.$vm;
  10903. }
  10904. vueOptions.parent = parentVm;
  10905. }
  10906. function markMPComponent(component) {
  10907. // 在 Vue 中标记为小程序组件
  10908. var IS_MP = '__v_isMPComponent';
  10909. Object.defineProperty(component, IS_MP, {
  10910. configurable: true,
  10911. enumerable: false,
  10912. value: true
  10913. });
  10914. return component;
  10915. }
  10916. function toSkip(obj) {
  10917. var OB = '__ob__';
  10918. var SKIP = '__v_skip';
  10919. if (isObject(obj) && Object.isExtensible(obj)) {
  10920. // 避免被 @vue/composition-api 观测
  10921. Object.defineProperty(obj, OB, {
  10922. configurable: true,
  10923. enumerable: false,
  10924. value: (0, _defineProperty2.default)({}, SKIP, true)
  10925. });
  10926. }
  10927. return obj;
  10928. }
  10929. var WORKLET_RE = /_(.*)_worklet_factory_/;
  10930. function initWorkletMethods(mpMethods, vueMethods) {
  10931. if (vueMethods) {
  10932. Object.keys(vueMethods).forEach(function (name) {
  10933. var matches = name.match(WORKLET_RE);
  10934. if (matches) {
  10935. var workletName = matches[1];
  10936. mpMethods[name] = vueMethods[name];
  10937. mpMethods[workletName] = vueMethods[workletName];
  10938. }
  10939. });
  10940. }
  10941. }
  10942. var MPPage = Page;
  10943. var MPComponent = Component;
  10944. var customizeRE = /:/g;
  10945. var customize = cached(function (str) {
  10946. return camelize(str.replace(customizeRE, '-'));
  10947. });
  10948. function initTriggerEvent(mpInstance) {
  10949. var oldTriggerEvent = mpInstance.triggerEvent;
  10950. var newTriggerEvent = function newTriggerEvent(event) {
  10951. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  10952. args[_key3 - 1] = arguments[_key3];
  10953. }
  10954. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  10955. if (this.$vm || this.dataset && this.dataset.comType) {
  10956. event = customize(event);
  10957. } else {
  10958. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  10959. var newEvent = customize(event);
  10960. if (newEvent !== event) {
  10961. oldTriggerEvent.apply(this, [newEvent].concat(args));
  10962. }
  10963. }
  10964. return oldTriggerEvent.apply(this, [event].concat(args));
  10965. };
  10966. try {
  10967. // 京东小程序 triggerEvent 为只读
  10968. mpInstance.triggerEvent = newTriggerEvent;
  10969. } catch (error) {
  10970. mpInstance._triggerEvent = newTriggerEvent;
  10971. }
  10972. }
  10973. function initHook(name, options, isComponent) {
  10974. var oldHook = options[name];
  10975. options[name] = function () {
  10976. markMPComponent(this);
  10977. initTriggerEvent(this);
  10978. if (oldHook) {
  10979. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  10980. args[_key4] = arguments[_key4];
  10981. }
  10982. return oldHook.apply(this, args);
  10983. }
  10984. };
  10985. }
  10986. if (!MPPage.__$wrappered) {
  10987. MPPage.__$wrappered = true;
  10988. Page = function Page() {
  10989. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  10990. initHook('onLoad', options);
  10991. return MPPage(options);
  10992. };
  10993. Page.after = MPPage.after;
  10994. Component = function Component() {
  10995. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  10996. initHook('created', options);
  10997. return MPComponent(options);
  10998. };
  10999. }
  11000. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  11001. function initMocks(vm, mocks) {
  11002. var mpInstance = vm.$mp[vm.mpType];
  11003. mocks.forEach(function (mock) {
  11004. if (hasOwn(mpInstance, mock)) {
  11005. vm[mock] = mpInstance[mock];
  11006. }
  11007. });
  11008. }
  11009. function hasHook(hook, vueOptions) {
  11010. if (!vueOptions) {
  11011. return true;
  11012. }
  11013. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  11014. return true;
  11015. }
  11016. vueOptions = vueOptions.default || vueOptions;
  11017. if (isFn(vueOptions)) {
  11018. if (isFn(vueOptions.extendOptions[hook])) {
  11019. return true;
  11020. }
  11021. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  11022. return true;
  11023. }
  11024. return false;
  11025. }
  11026. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  11027. return true;
  11028. }
  11029. var mixins = vueOptions.mixins;
  11030. if (Array.isArray(mixins)) {
  11031. return !!mixins.find(function (mixin) {
  11032. return hasHook(hook, mixin);
  11033. });
  11034. }
  11035. }
  11036. function initHooks(mpOptions, hooks, vueOptions) {
  11037. hooks.forEach(function (hook) {
  11038. if (hasHook(hook, vueOptions)) {
  11039. mpOptions[hook] = function (args) {
  11040. return this.$vm && this.$vm.__call_hook(hook, args);
  11041. };
  11042. }
  11043. });
  11044. }
  11045. function initUnknownHooks(mpOptions, vueOptions) {
  11046. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  11047. findHooks(vueOptions).forEach(function (hook) {
  11048. return initHook$1(mpOptions, hook, excludes);
  11049. });
  11050. }
  11051. function findHooks(vueOptions) {
  11052. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  11053. if (vueOptions) {
  11054. Object.keys(vueOptions).forEach(function (name) {
  11055. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  11056. hooks.push(name);
  11057. }
  11058. });
  11059. }
  11060. return hooks;
  11061. }
  11062. function initHook$1(mpOptions, hook, excludes) {
  11063. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  11064. mpOptions[hook] = function (args) {
  11065. return this.$vm && this.$vm.__call_hook(hook, args);
  11066. };
  11067. }
  11068. }
  11069. function initVueComponent(Vue, vueOptions) {
  11070. vueOptions = vueOptions.default || vueOptions;
  11071. var VueComponent;
  11072. if (isFn(vueOptions)) {
  11073. VueComponent = vueOptions;
  11074. } else {
  11075. VueComponent = Vue.extend(vueOptions);
  11076. }
  11077. vueOptions = VueComponent.options;
  11078. return [VueComponent, vueOptions];
  11079. }
  11080. function initSlots(vm, vueSlots) {
  11081. if (Array.isArray(vueSlots) && vueSlots.length) {
  11082. var $slots = Object.create(null);
  11083. vueSlots.forEach(function (slotName) {
  11084. $slots[slotName] = true;
  11085. });
  11086. vm.$scopedSlots = vm.$slots = $slots;
  11087. }
  11088. }
  11089. function initVueIds(vueIds, mpInstance) {
  11090. vueIds = (vueIds || '').split(',');
  11091. var len = vueIds.length;
  11092. if (len === 1) {
  11093. mpInstance._$vueId = vueIds[0];
  11094. } else if (len === 2) {
  11095. mpInstance._$vueId = vueIds[0];
  11096. mpInstance._$vuePid = vueIds[1];
  11097. }
  11098. }
  11099. function initData(vueOptions, context) {
  11100. var data = vueOptions.data || {};
  11101. var methods = vueOptions.methods || {};
  11102. if (typeof data === 'function') {
  11103. try {
  11104. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  11105. } catch (e) {
  11106. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  11107. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  11108. }
  11109. }
  11110. } else {
  11111. try {
  11112. // 对 data 格式化
  11113. data = JSON.parse(JSON.stringify(data));
  11114. } catch (e) {}
  11115. }
  11116. if (!isPlainObject(data)) {
  11117. data = {};
  11118. }
  11119. Object.keys(methods).forEach(function (methodName) {
  11120. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  11121. data[methodName] = methods[methodName];
  11122. }
  11123. });
  11124. return data;
  11125. }
  11126. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  11127. function createObserver(name) {
  11128. return function observer(newVal, oldVal) {
  11129. if (this.$vm) {
  11130. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  11131. }
  11132. };
  11133. }
  11134. function initBehaviors(vueOptions, initBehavior) {
  11135. var vueBehaviors = vueOptions.behaviors;
  11136. var vueExtends = vueOptions.extends;
  11137. var vueMixins = vueOptions.mixins;
  11138. var vueProps = vueOptions.props;
  11139. if (!vueProps) {
  11140. vueOptions.props = vueProps = [];
  11141. }
  11142. var behaviors = [];
  11143. if (Array.isArray(vueBehaviors)) {
  11144. vueBehaviors.forEach(function (behavior) {
  11145. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  11146. if (behavior === 'uni://form-field') {
  11147. if (Array.isArray(vueProps)) {
  11148. vueProps.push('name');
  11149. vueProps.push('value');
  11150. } else {
  11151. vueProps.name = {
  11152. type: String,
  11153. default: ''
  11154. };
  11155. vueProps.value = {
  11156. type: [String, Number, Boolean, Array, Object, Date],
  11157. default: ''
  11158. };
  11159. }
  11160. }
  11161. });
  11162. }
  11163. if (isPlainObject(vueExtends) && vueExtends.props) {
  11164. behaviors.push(initBehavior({
  11165. properties: initProperties(vueExtends.props, true)
  11166. }));
  11167. }
  11168. if (Array.isArray(vueMixins)) {
  11169. vueMixins.forEach(function (vueMixin) {
  11170. if (isPlainObject(vueMixin) && vueMixin.props) {
  11171. behaviors.push(initBehavior({
  11172. properties: initProperties(vueMixin.props, true)
  11173. }));
  11174. }
  11175. });
  11176. }
  11177. return behaviors;
  11178. }
  11179. function parsePropType(key, type, defaultValue, file) {
  11180. // [String]=>String
  11181. if (Array.isArray(type) && type.length === 1) {
  11182. return type[0];
  11183. }
  11184. return type;
  11185. }
  11186. function initProperties(props) {
  11187. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  11188. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  11189. var options = arguments.length > 3 ? arguments[3] : undefined;
  11190. var properties = {};
  11191. if (!isBehavior) {
  11192. properties.vueId = {
  11193. type: String,
  11194. value: ''
  11195. };
  11196. {
  11197. if (options.virtualHost) {
  11198. properties.virtualHostStyle = {
  11199. type: null,
  11200. value: ''
  11201. };
  11202. properties.virtualHostClass = {
  11203. type: null,
  11204. value: ''
  11205. };
  11206. }
  11207. }
  11208. // scopedSlotsCompiler auto
  11209. properties.scopedSlotsCompiler = {
  11210. type: String,
  11211. value: ''
  11212. };
  11213. properties.vueSlots = {
  11214. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  11215. type: null,
  11216. value: [],
  11217. observer: function observer(newVal, oldVal) {
  11218. var $slots = Object.create(null);
  11219. newVal.forEach(function (slotName) {
  11220. $slots[slotName] = true;
  11221. });
  11222. this.setData({
  11223. $slots: $slots
  11224. });
  11225. }
  11226. };
  11227. }
  11228. if (Array.isArray(props)) {
  11229. // ['title']
  11230. props.forEach(function (key) {
  11231. properties[key] = {
  11232. type: null,
  11233. observer: createObserver(key)
  11234. };
  11235. });
  11236. } else if (isPlainObject(props)) {
  11237. // {title:{type:String,default:''},content:String}
  11238. Object.keys(props).forEach(function (key) {
  11239. var opts = props[key];
  11240. if (isPlainObject(opts)) {
  11241. // title:{type:String,default:''}
  11242. var value = opts.default;
  11243. if (isFn(value)) {
  11244. value = value();
  11245. }
  11246. opts.type = parsePropType(key, opts.type);
  11247. properties[key] = {
  11248. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  11249. value: value,
  11250. observer: createObserver(key)
  11251. };
  11252. } else {
  11253. // content:String
  11254. var type = parsePropType(key, opts);
  11255. properties[key] = {
  11256. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  11257. observer: createObserver(key)
  11258. };
  11259. }
  11260. });
  11261. }
  11262. return properties;
  11263. }
  11264. function wrapper$1(event) {
  11265. // TODO 又得兼容 mpvue 的 mp 对象
  11266. try {
  11267. event.mp = JSON.parse(JSON.stringify(event));
  11268. } catch (e) {}
  11269. event.stopPropagation = noop;
  11270. event.preventDefault = noop;
  11271. event.target = event.target || {};
  11272. if (!hasOwn(event, 'detail')) {
  11273. event.detail = {};
  11274. }
  11275. if (hasOwn(event, 'markerId')) {
  11276. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  11277. event.detail.markerId = event.markerId;
  11278. }
  11279. if (isPlainObject(event.detail)) {
  11280. event.target = Object.assign({}, event.target, event.detail);
  11281. }
  11282. return event;
  11283. }
  11284. function getExtraValue(vm, dataPathsArray) {
  11285. var context = vm;
  11286. dataPathsArray.forEach(function (dataPathArray) {
  11287. var dataPath = dataPathArray[0];
  11288. var value = dataPathArray[2];
  11289. if (dataPath || typeof value !== 'undefined') {
  11290. // ['','',index,'disable']
  11291. var propPath = dataPathArray[1];
  11292. var valuePath = dataPathArray[3];
  11293. var vFor;
  11294. if (Number.isInteger(dataPath)) {
  11295. vFor = dataPath;
  11296. } else if (!dataPath) {
  11297. vFor = context;
  11298. } else if (typeof dataPath === 'string' && dataPath) {
  11299. if (dataPath.indexOf('#s#') === 0) {
  11300. vFor = dataPath.substr(3);
  11301. } else {
  11302. vFor = vm.__get_value(dataPath, context);
  11303. }
  11304. }
  11305. if (Number.isInteger(vFor)) {
  11306. context = value;
  11307. } else if (!propPath) {
  11308. context = vFor[value];
  11309. } else {
  11310. if (Array.isArray(vFor)) {
  11311. context = vFor.find(function (vForItem) {
  11312. return vm.__get_value(propPath, vForItem) === value;
  11313. });
  11314. } else if (isPlainObject(vFor)) {
  11315. context = Object.keys(vFor).find(function (vForKey) {
  11316. return vm.__get_value(propPath, vFor[vForKey]) === value;
  11317. });
  11318. } else {
  11319. console.error('v-for 暂不支持循环数据:', vFor);
  11320. }
  11321. }
  11322. if (valuePath) {
  11323. context = vm.__get_value(valuePath, context);
  11324. }
  11325. }
  11326. });
  11327. return context;
  11328. }
  11329. function processEventExtra(vm, extra, event, __args__) {
  11330. var extraObj = {};
  11331. if (Array.isArray(extra) && extra.length) {
  11332. /**
  11333. *[
  11334. * ['data.items', 'data.id', item.data.id],
  11335. * ['metas', 'id', meta.id]
  11336. *],
  11337. *[
  11338. * ['data.items', 'data.id', item.data.id],
  11339. * ['metas', 'id', meta.id]
  11340. *],
  11341. *'test'
  11342. */
  11343. extra.forEach(function (dataPath, index) {
  11344. if (typeof dataPath === 'string') {
  11345. if (!dataPath) {
  11346. // model,prop.sync
  11347. extraObj['$' + index] = vm;
  11348. } else {
  11349. if (dataPath === '$event') {
  11350. // $event
  11351. extraObj['$' + index] = event;
  11352. } else if (dataPath === 'arguments') {
  11353. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  11354. } else if (dataPath.indexOf('$event.') === 0) {
  11355. // $event.target.value
  11356. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  11357. } else {
  11358. extraObj['$' + index] = vm.__get_value(dataPath);
  11359. }
  11360. }
  11361. } else {
  11362. extraObj['$' + index] = getExtraValue(vm, dataPath);
  11363. }
  11364. });
  11365. }
  11366. return extraObj;
  11367. }
  11368. function getObjByArray(arr) {
  11369. var obj = {};
  11370. for (var i = 1; i < arr.length; i++) {
  11371. var element = arr[i];
  11372. obj[element[0]] = element[1];
  11373. }
  11374. return obj;
  11375. }
  11376. function processEventArgs(vm, event) {
  11377. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  11378. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  11379. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  11380. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  11381. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  11382. // fixed 用户直接触发 mpInstance.triggerEvent
  11383. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  11384. if (isCustom) {
  11385. // 自定义事件
  11386. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  11387. if (!args.length) {
  11388. // 无参数,直接传入 event 或 detail 数组
  11389. if (isCustomMPEvent) {
  11390. return [event];
  11391. }
  11392. return __args__;
  11393. }
  11394. }
  11395. var extraObj = processEventExtra(vm, extra, event, __args__);
  11396. var ret = [];
  11397. args.forEach(function (arg) {
  11398. if (arg === '$event') {
  11399. if (methodName === '__set_model' && !isCustom) {
  11400. // input v-model value
  11401. ret.push(event.target.value);
  11402. } else {
  11403. if (isCustom && !isCustomMPEvent) {
  11404. ret.push(__args__[0]);
  11405. } else {
  11406. // wxcomponent 组件或内置组件
  11407. ret.push(event);
  11408. }
  11409. }
  11410. } else {
  11411. if (Array.isArray(arg) && arg[0] === 'o') {
  11412. ret.push(getObjByArray(arg));
  11413. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  11414. ret.push(extraObj[arg]);
  11415. } else {
  11416. ret.push(arg);
  11417. }
  11418. }
  11419. });
  11420. return ret;
  11421. }
  11422. var ONCE = '~';
  11423. var CUSTOM = '^';
  11424. function isMatchEventType(eventType, optType) {
  11425. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  11426. }
  11427. function getContextVm(vm) {
  11428. var $parent = vm.$parent;
  11429. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  11430. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  11431. $parent = $parent.$parent;
  11432. }
  11433. return $parent && $parent.$parent;
  11434. }
  11435. function handleEvent(event) {
  11436. var _this2 = this;
  11437. event = wrapper$1(event);
  11438. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  11439. var dataset = (event.currentTarget || event.target).dataset;
  11440. if (!dataset) {
  11441. return console.warn('事件信息不存在');
  11442. }
  11443. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  11444. if (!eventOpts) {
  11445. return console.warn('事件信息不存在');
  11446. }
  11447. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  11448. var eventType = event.type;
  11449. var ret = [];
  11450. eventOpts.forEach(function (eventOpt) {
  11451. var type = eventOpt[0];
  11452. var eventsArray = eventOpt[1];
  11453. var isCustom = type.charAt(0) === CUSTOM;
  11454. type = isCustom ? type.slice(1) : type;
  11455. var isOnce = type.charAt(0) === ONCE;
  11456. type = isOnce ? type.slice(1) : type;
  11457. if (eventsArray && isMatchEventType(eventType, type)) {
  11458. eventsArray.forEach(function (eventArray) {
  11459. var methodName = eventArray[0];
  11460. if (methodName) {
  11461. var handlerCtx = _this2.$vm;
  11462. if (handlerCtx.$options.generic) {
  11463. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  11464. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  11465. }
  11466. if (methodName === '$emit') {
  11467. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  11468. return;
  11469. }
  11470. var handler = handlerCtx[methodName];
  11471. if (!isFn(handler)) {
  11472. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  11473. var path = _this2.route || _this2.is;
  11474. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  11475. }
  11476. if (isOnce) {
  11477. if (handler.once) {
  11478. return;
  11479. }
  11480. handler.once = true;
  11481. }
  11482. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  11483. params = Array.isArray(params) ? params : [];
  11484. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  11485. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  11486. // eslint-disable-next-line no-sparse-arrays
  11487. params = params.concat([,,,,,,,,,, event]);
  11488. }
  11489. ret.push(handler.apply(handlerCtx, params));
  11490. }
  11491. });
  11492. }
  11493. });
  11494. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  11495. return ret[0];
  11496. }
  11497. }
  11498. var eventChannels = {};
  11499. function getEventChannel(id) {
  11500. var eventChannel = eventChannels[id];
  11501. delete eventChannels[id];
  11502. return eventChannel;
  11503. }
  11504. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  11505. function initEventChannel() {
  11506. _vue.default.prototype.getOpenerEventChannel = function () {
  11507. // 微信小程序使用自身getOpenerEventChannel
  11508. {
  11509. return this.$scope.getOpenerEventChannel();
  11510. }
  11511. };
  11512. var callHook = _vue.default.prototype.__call_hook;
  11513. _vue.default.prototype.__call_hook = function (hook, args) {
  11514. if (hook === 'onLoad' && args && args.__id__) {
  11515. this.__eventChannel__ = getEventChannel(args.__id__);
  11516. delete args.__id__;
  11517. }
  11518. return callHook.call(this, hook, args);
  11519. };
  11520. }
  11521. function initScopedSlotsParams() {
  11522. var center = {};
  11523. var parents = {};
  11524. function currentId(fn) {
  11525. var vueIds = this.$options.propsData.vueId;
  11526. if (vueIds) {
  11527. var vueId = vueIds.split(',')[0];
  11528. fn(vueId);
  11529. }
  11530. }
  11531. _vue.default.prototype.$hasSSP = function (vueId) {
  11532. var slot = center[vueId];
  11533. if (!slot) {
  11534. parents[vueId] = this;
  11535. this.$on('hook:destroyed', function () {
  11536. delete parents[vueId];
  11537. });
  11538. }
  11539. return slot;
  11540. };
  11541. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  11542. var slot = center[vueId];
  11543. if (slot) {
  11544. var params = slot[name] || [];
  11545. if (needAll) {
  11546. return params;
  11547. }
  11548. return params[0];
  11549. }
  11550. };
  11551. _vue.default.prototype.$setSSP = function (name, value) {
  11552. var index = 0;
  11553. currentId.call(this, function (vueId) {
  11554. var slot = center[vueId];
  11555. var params = slot[name] = slot[name] || [];
  11556. params.push(value);
  11557. index = params.length - 1;
  11558. });
  11559. return index;
  11560. };
  11561. _vue.default.prototype.$initSSP = function () {
  11562. currentId.call(this, function (vueId) {
  11563. center[vueId] = {};
  11564. });
  11565. };
  11566. _vue.default.prototype.$callSSP = function () {
  11567. currentId.call(this, function (vueId) {
  11568. if (parents[vueId]) {
  11569. parents[vueId].$forceUpdate();
  11570. }
  11571. });
  11572. };
  11573. _vue.default.mixin({
  11574. destroyed: function destroyed() {
  11575. var propsData = this.$options.propsData;
  11576. var vueId = propsData && propsData.vueId;
  11577. if (vueId) {
  11578. delete center[vueId];
  11579. delete parents[vueId];
  11580. }
  11581. }
  11582. });
  11583. }
  11584. function parseBaseApp(vm, _ref4) {
  11585. var mocks = _ref4.mocks,
  11586. initRefs = _ref4.initRefs;
  11587. initEventChannel();
  11588. {
  11589. initScopedSlotsParams();
  11590. }
  11591. if (vm.$options.store) {
  11592. _vue.default.prototype.$store = vm.$options.store;
  11593. }
  11594. uniIdMixin(_vue.default);
  11595. _vue.default.prototype.mpHost = "mp-weixin";
  11596. _vue.default.mixin({
  11597. beforeCreate: function beforeCreate() {
  11598. if (!this.$options.mpType) {
  11599. return;
  11600. }
  11601. this.mpType = this.$options.mpType;
  11602. this.$mp = (0, _defineProperty2.default)({
  11603. data: {}
  11604. }, this.mpType, this.$options.mpInstance);
  11605. this.$scope = this.$options.mpInstance;
  11606. delete this.$options.mpType;
  11607. delete this.$options.mpInstance;
  11608. if (this.mpType === 'page' && typeof getApp === 'function') {
  11609. // hack vue-i18n
  11610. var app = getApp();
  11611. if (app.$vm && app.$vm.$i18n) {
  11612. this._i18n = app.$vm.$i18n;
  11613. }
  11614. }
  11615. if (this.mpType !== 'app') {
  11616. initRefs(this);
  11617. initMocks(this, mocks);
  11618. }
  11619. }
  11620. });
  11621. var appOptions = {
  11622. onLaunch: function onLaunch(args) {
  11623. if (this.$vm) {
  11624. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  11625. return;
  11626. }
  11627. {
  11628. if (wx.canIUse && !wx.canIUse('nextTick')) {
  11629. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  11630. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  11631. }
  11632. }
  11633. this.$vm = vm;
  11634. this.$vm.$mp = {
  11635. app: this
  11636. };
  11637. this.$vm.$scope = this;
  11638. // vm 上也挂载 globalData
  11639. this.$vm.globalData = this.globalData;
  11640. this.$vm._isMounted = true;
  11641. this.$vm.__call_hook('mounted', args);
  11642. this.$vm.__call_hook('onLaunch', args);
  11643. }
  11644. };
  11645. // 兼容旧版本 globalData
  11646. appOptions.globalData = vm.$options.globalData || {};
  11647. // 将 methods 中的方法挂在 getApp() 中
  11648. var methods = vm.$options.methods;
  11649. if (methods) {
  11650. Object.keys(methods).forEach(function (name) {
  11651. appOptions[name] = methods[name];
  11652. });
  11653. }
  11654. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  11655. initHooks(appOptions, hooks);
  11656. initUnknownHooks(appOptions, vm.$options);
  11657. return appOptions;
  11658. }
  11659. function parseApp(vm) {
  11660. return parseBaseApp(vm, {
  11661. mocks: mocks,
  11662. initRefs: initRefs
  11663. });
  11664. }
  11665. function createApp(vm) {
  11666. App(parseApp(vm));
  11667. return vm;
  11668. }
  11669. var encodeReserveRE = /[!'()*]/g;
  11670. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  11671. return '%' + c.charCodeAt(0).toString(16);
  11672. };
  11673. var commaRE = /%2C/g;
  11674. // fixed encodeURIComponent which is more conformant to RFC3986:
  11675. // - escapes [!'()*]
  11676. // - preserve commas
  11677. var encode = function encode(str) {
  11678. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  11679. };
  11680. function stringifyQuery(obj) {
  11681. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  11682. var res = obj ? Object.keys(obj).map(function (key) {
  11683. var val = obj[key];
  11684. if (val === undefined) {
  11685. return '';
  11686. }
  11687. if (val === null) {
  11688. return encodeStr(key);
  11689. }
  11690. if (Array.isArray(val)) {
  11691. var result = [];
  11692. val.forEach(function (val2) {
  11693. if (val2 === undefined) {
  11694. return;
  11695. }
  11696. if (val2 === null) {
  11697. result.push(encodeStr(key));
  11698. } else {
  11699. result.push(encodeStr(key) + '=' + encodeStr(val2));
  11700. }
  11701. });
  11702. return result.join('&');
  11703. }
  11704. return encodeStr(key) + '=' + encodeStr(val);
  11705. }).filter(function (x) {
  11706. return x.length > 0;
  11707. }).join('&') : null;
  11708. return res ? "?".concat(res) : '';
  11709. }
  11710. function parseBaseComponent(vueComponentOptions) {
  11711. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  11712. isPage = _ref5.isPage,
  11713. initRelation = _ref5.initRelation;
  11714. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  11715. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  11716. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  11717. VueComponent = _initVueComponent2[0],
  11718. vueOptions = _initVueComponent2[1];
  11719. var options = _objectSpread({
  11720. multipleSlots: true,
  11721. // styleIsolation: 'apply-shared',
  11722. addGlobalClass: true
  11723. }, vueOptions.options || {});
  11724. {
  11725. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  11726. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  11727. Object.assign(options, vueOptions['mp-weixin'].options);
  11728. }
  11729. }
  11730. var componentOptions = {
  11731. options: options,
  11732. data: initData(vueOptions, _vue.default.prototype),
  11733. behaviors: initBehaviors(vueOptions, initBehavior),
  11734. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  11735. lifetimes: {
  11736. attached: function attached() {
  11737. var properties = this.properties;
  11738. var options = {
  11739. mpType: isPage.call(this) ? 'page' : 'component',
  11740. mpInstance: this,
  11741. propsData: properties
  11742. };
  11743. initVueIds(properties.vueId, this);
  11744. // 处理父子关系
  11745. initRelation.call(this, {
  11746. vuePid: this._$vuePid,
  11747. vueOptions: options
  11748. });
  11749. // 初始化 vue 实例
  11750. this.$vm = new VueComponent(options);
  11751. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  11752. initSlots(this.$vm, properties.vueSlots);
  11753. // 触发首次 setData
  11754. this.$vm.$mount();
  11755. },
  11756. ready: function ready() {
  11757. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  11758. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  11759. if (this.$vm) {
  11760. this.$vm._isMounted = true;
  11761. this.$vm.__call_hook('mounted');
  11762. this.$vm.__call_hook('onReady');
  11763. }
  11764. },
  11765. detached: function detached() {
  11766. this.$vm && this.$vm.$destroy();
  11767. }
  11768. },
  11769. pageLifetimes: {
  11770. show: function show(args) {
  11771. this.$vm && this.$vm.__call_hook('onPageShow', args);
  11772. },
  11773. hide: function hide() {
  11774. this.$vm && this.$vm.__call_hook('onPageHide');
  11775. },
  11776. resize: function resize(size) {
  11777. this.$vm && this.$vm.__call_hook('onPageResize', size);
  11778. }
  11779. },
  11780. methods: {
  11781. __l: handleLink,
  11782. __e: handleEvent
  11783. }
  11784. };
  11785. // externalClasses
  11786. if (vueOptions.externalClasses) {
  11787. componentOptions.externalClasses = vueOptions.externalClasses;
  11788. }
  11789. if (Array.isArray(vueOptions.wxsCallMethods)) {
  11790. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  11791. componentOptions.methods[callMethod] = function (args) {
  11792. return this.$vm[callMethod](args);
  11793. };
  11794. });
  11795. }
  11796. if (needVueOptions) {
  11797. return [componentOptions, vueOptions, VueComponent];
  11798. }
  11799. if (isPage) {
  11800. return componentOptions;
  11801. }
  11802. return [componentOptions, VueComponent];
  11803. }
  11804. function parseComponent(vueComponentOptions, needVueOptions) {
  11805. return parseBaseComponent(vueComponentOptions, {
  11806. isPage: isPage,
  11807. initRelation: initRelation
  11808. }, needVueOptions);
  11809. }
  11810. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  11811. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  11812. function parseBasePage(vuePageOptions) {
  11813. var _parseComponent = parseComponent(vuePageOptions, true),
  11814. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  11815. pageOptions = _parseComponent2[0],
  11816. vueOptions = _parseComponent2[1];
  11817. initHooks(pageOptions.methods, hooks$1, vueOptions);
  11818. pageOptions.methods.onLoad = function (query) {
  11819. this.options = query;
  11820. var copyQuery = Object.assign({}, query);
  11821. delete copyQuery.__id__;
  11822. this.$page = {
  11823. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  11824. };
  11825. this.$vm.$mp.query = query; // 兼容 mpvue
  11826. this.$vm.__call_hook('onLoad', query);
  11827. };
  11828. {
  11829. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  11830. }
  11831. {
  11832. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  11833. }
  11834. return pageOptions;
  11835. }
  11836. function parsePage(vuePageOptions) {
  11837. return parseBasePage(vuePageOptions);
  11838. }
  11839. function createPage(vuePageOptions) {
  11840. {
  11841. return Component(parsePage(vuePageOptions));
  11842. }
  11843. }
  11844. function createComponent(vueOptions) {
  11845. {
  11846. return Component(parseComponent(vueOptions));
  11847. }
  11848. }
  11849. function createSubpackageApp(vm) {
  11850. var appOptions = parseApp(vm);
  11851. var app = getApp({
  11852. allowDefault: true
  11853. });
  11854. vm.$scope = app;
  11855. var globalData = app.globalData;
  11856. if (globalData) {
  11857. Object.keys(appOptions.globalData).forEach(function (name) {
  11858. if (!hasOwn(globalData, name)) {
  11859. globalData[name] = appOptions.globalData[name];
  11860. }
  11861. });
  11862. }
  11863. Object.keys(appOptions).forEach(function (name) {
  11864. if (!hasOwn(app, name)) {
  11865. app[name] = appOptions[name];
  11866. }
  11867. });
  11868. if (isFn(appOptions.onShow) && wx.onAppShow) {
  11869. wx.onAppShow(function () {
  11870. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  11871. args[_key5] = arguments[_key5];
  11872. }
  11873. vm.__call_hook('onShow', args);
  11874. });
  11875. }
  11876. if (isFn(appOptions.onHide) && wx.onAppHide) {
  11877. wx.onAppHide(function () {
  11878. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  11879. args[_key6] = arguments[_key6];
  11880. }
  11881. vm.__call_hook('onHide', args);
  11882. });
  11883. }
  11884. if (isFn(appOptions.onLaunch)) {
  11885. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  11886. vm.__call_hook('onLaunch', args);
  11887. }
  11888. return vm;
  11889. }
  11890. function createPlugin(vm) {
  11891. var appOptions = parseApp(vm);
  11892. if (isFn(appOptions.onShow) && wx.onAppShow) {
  11893. wx.onAppShow(function () {
  11894. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  11895. args[_key7] = arguments[_key7];
  11896. }
  11897. vm.__call_hook('onShow', args);
  11898. });
  11899. }
  11900. if (isFn(appOptions.onHide) && wx.onAppHide) {
  11901. wx.onAppHide(function () {
  11902. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  11903. args[_key8] = arguments[_key8];
  11904. }
  11905. vm.__call_hook('onHide', args);
  11906. });
  11907. }
  11908. if (isFn(appOptions.onLaunch)) {
  11909. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  11910. vm.__call_hook('onLaunch', args);
  11911. }
  11912. return vm;
  11913. }
  11914. todos.forEach(function (todoApi) {
  11915. protocols[todoApi] = false;
  11916. });
  11917. canIUses.forEach(function (canIUseApi) {
  11918. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  11919. if (!wx.canIUse(apiName)) {
  11920. protocols[canIUseApi] = false;
  11921. }
  11922. });
  11923. var uni = {};
  11924. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  11925. uni = new Proxy({}, {
  11926. get: function get(target, name) {
  11927. if (hasOwn(target, name)) {
  11928. return target[name];
  11929. }
  11930. if (baseApi[name]) {
  11931. return baseApi[name];
  11932. }
  11933. if (api[name]) {
  11934. return promisify(name, api[name]);
  11935. }
  11936. {
  11937. if (extraApi[name]) {
  11938. return promisify(name, extraApi[name]);
  11939. }
  11940. if (todoApis[name]) {
  11941. return promisify(name, todoApis[name]);
  11942. }
  11943. }
  11944. if (eventApi[name]) {
  11945. return eventApi[name];
  11946. }
  11947. return promisify(name, wrapper(name, wx[name]));
  11948. },
  11949. set: function set(target, name, value) {
  11950. target[name] = value;
  11951. return true;
  11952. }
  11953. });
  11954. } else {
  11955. Object.keys(baseApi).forEach(function (name) {
  11956. uni[name] = baseApi[name];
  11957. });
  11958. {
  11959. Object.keys(todoApis).forEach(function (name) {
  11960. uni[name] = promisify(name, todoApis[name]);
  11961. });
  11962. Object.keys(extraApi).forEach(function (name) {
  11963. uni[name] = promisify(name, extraApi[name]);
  11964. });
  11965. }
  11966. Object.keys(eventApi).forEach(function (name) {
  11967. uni[name] = eventApi[name];
  11968. });
  11969. Object.keys(api).forEach(function (name) {
  11970. uni[name] = promisify(name, api[name]);
  11971. });
  11972. Object.keys(wx).forEach(function (name) {
  11973. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  11974. uni[name] = promisify(name, wrapper(name, wx[name]));
  11975. }
  11976. });
  11977. }
  11978. wx.createApp = createApp;
  11979. wx.createPage = createPage;
  11980. wx.createComponent = createComponent;
  11981. wx.createSubpackageApp = createSubpackageApp;
  11982. wx.createPlugin = createPlugin;
  11983. var uni$1 = uni;
  11984. var _default = uni$1;
  11985. exports.default = _default;
  11986. /* 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)))
  11987. /***/ }),
  11988. /***/ 20:
  11989. /*!****************************************************************!*\
  11990. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  11991. \****************************************************************/
  11992. /*! no static exports found */
  11993. /***/ (function(module, exports) {
  11994. function _iterableToArray(iter) {
  11995. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  11996. }
  11997. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  11998. /***/ }),
  11999. /***/ 21:
  12000. /*!******************************************************************!*\
  12001. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  12002. \******************************************************************/
  12003. /*! no static exports found */
  12004. /***/ (function(module, exports) {
  12005. function _nonIterableSpread() {
  12006. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  12007. }
  12008. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12009. /***/ }),
  12010. /***/ 211:
  12011. /*!************************************************************!*\
  12012. !*** D:/project/crossBorder/wx-qhb/network/api/homeApi.js ***!
  12013. \************************************************************/
  12014. /*! no static exports found */
  12015. /***/ (function(module, exports, __webpack_require__) {
  12016. "use strict";
  12017. Object.defineProperty(exports, "__esModule", {
  12018. value: true
  12019. });
  12020. exports.login = login;
  12021. var _http = __webpack_require__(/*! ../http.js */ 169);
  12022. function login(data) {
  12023. return (0, _http.request)({
  12024. url: "/login",
  12025. method: "post",
  12026. data: data
  12027. });
  12028. }
  12029. /***/ }),
  12030. /***/ 22:
  12031. /*!*************************************************************!*\
  12032. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  12033. \*************************************************************/
  12034. /*! no static exports found */
  12035. /***/ (function(module, exports, __webpack_require__) {
  12036. "use strict";
  12037. /* WEBPACK VAR INJECTION */(function(uni, global) {
  12038. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12039. Object.defineProperty(exports, "__esModule", {
  12040. value: true
  12041. });
  12042. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  12043. exports.compileI18nJsonStr = compileI18nJsonStr;
  12044. exports.hasI18nJson = hasI18nJson;
  12045. exports.initVueI18n = initVueI18n;
  12046. exports.isI18nStr = isI18nStr;
  12047. exports.isString = void 0;
  12048. exports.normalizeLocale = normalizeLocale;
  12049. exports.parseI18nJson = parseI18nJson;
  12050. exports.resolveLocale = resolveLocale;
  12051. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  12052. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  12053. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  12054. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  12055. var isObject = function isObject(val) {
  12056. return val !== null && (0, _typeof2.default)(val) === 'object';
  12057. };
  12058. var defaultDelimiters = ['{', '}'];
  12059. var BaseFormatter = /*#__PURE__*/function () {
  12060. function BaseFormatter() {
  12061. (0, _classCallCheck2.default)(this, BaseFormatter);
  12062. this._caches = Object.create(null);
  12063. }
  12064. (0, _createClass2.default)(BaseFormatter, [{
  12065. key: "interpolate",
  12066. value: function interpolate(message, values) {
  12067. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  12068. if (!values) {
  12069. return [message];
  12070. }
  12071. var tokens = this._caches[message];
  12072. if (!tokens) {
  12073. tokens = parse(message, delimiters);
  12074. this._caches[message] = tokens;
  12075. }
  12076. return compile(tokens, values);
  12077. }
  12078. }]);
  12079. return BaseFormatter;
  12080. }();
  12081. exports.Formatter = BaseFormatter;
  12082. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  12083. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  12084. function parse(format, _ref) {
  12085. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  12086. startDelimiter = _ref2[0],
  12087. endDelimiter = _ref2[1];
  12088. var tokens = [];
  12089. var position = 0;
  12090. var text = '';
  12091. while (position < format.length) {
  12092. var char = format[position++];
  12093. if (char === startDelimiter) {
  12094. if (text) {
  12095. tokens.push({
  12096. type: 'text',
  12097. value: text
  12098. });
  12099. }
  12100. text = '';
  12101. var sub = '';
  12102. char = format[position++];
  12103. while (char !== undefined && char !== endDelimiter) {
  12104. sub += char;
  12105. char = format[position++];
  12106. }
  12107. var isClosed = char === endDelimiter;
  12108. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  12109. tokens.push({
  12110. value: sub,
  12111. type: type
  12112. });
  12113. }
  12114. // else if (char === '%') {
  12115. // // when found rails i18n syntax, skip text capture
  12116. // if (format[position] !== '{') {
  12117. // text += char
  12118. // }
  12119. // }
  12120. else {
  12121. text += char;
  12122. }
  12123. }
  12124. text && tokens.push({
  12125. type: 'text',
  12126. value: text
  12127. });
  12128. return tokens;
  12129. }
  12130. function compile(tokens, values) {
  12131. var compiled = [];
  12132. var index = 0;
  12133. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  12134. if (mode === 'unknown') {
  12135. return compiled;
  12136. }
  12137. while (index < tokens.length) {
  12138. var token = tokens[index];
  12139. switch (token.type) {
  12140. case 'text':
  12141. compiled.push(token.value);
  12142. break;
  12143. case 'list':
  12144. compiled.push(values[parseInt(token.value, 10)]);
  12145. break;
  12146. case 'named':
  12147. if (mode === 'named') {
  12148. compiled.push(values[token.value]);
  12149. } else {
  12150. if (true) {
  12151. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  12152. }
  12153. }
  12154. break;
  12155. case 'unknown':
  12156. if (true) {
  12157. console.warn("Detect 'unknown' type of token!");
  12158. }
  12159. break;
  12160. }
  12161. index++;
  12162. }
  12163. return compiled;
  12164. }
  12165. var LOCALE_ZH_HANS = 'zh-Hans';
  12166. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  12167. var LOCALE_ZH_HANT = 'zh-Hant';
  12168. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  12169. var LOCALE_EN = 'en';
  12170. exports.LOCALE_EN = LOCALE_EN;
  12171. var LOCALE_FR = 'fr';
  12172. exports.LOCALE_FR = LOCALE_FR;
  12173. var LOCALE_ES = 'es';
  12174. exports.LOCALE_ES = LOCALE_ES;
  12175. var hasOwnProperty = Object.prototype.hasOwnProperty;
  12176. var hasOwn = function hasOwn(val, key) {
  12177. return hasOwnProperty.call(val, key);
  12178. };
  12179. var defaultFormatter = new BaseFormatter();
  12180. function include(str, parts) {
  12181. return !!parts.find(function (part) {
  12182. return str.indexOf(part) !== -1;
  12183. });
  12184. }
  12185. function startsWith(str, parts) {
  12186. return parts.find(function (part) {
  12187. return str.indexOf(part) === 0;
  12188. });
  12189. }
  12190. function normalizeLocale(locale, messages) {
  12191. if (!locale) {
  12192. return;
  12193. }
  12194. locale = locale.trim().replace(/_/g, '-');
  12195. if (messages && messages[locale]) {
  12196. return locale;
  12197. }
  12198. locale = locale.toLowerCase();
  12199. if (locale === 'chinese') {
  12200. // 支付宝
  12201. return LOCALE_ZH_HANS;
  12202. }
  12203. if (locale.indexOf('zh') === 0) {
  12204. if (locale.indexOf('-hans') > -1) {
  12205. return LOCALE_ZH_HANS;
  12206. }
  12207. if (locale.indexOf('-hant') > -1) {
  12208. return LOCALE_ZH_HANT;
  12209. }
  12210. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  12211. return LOCALE_ZH_HANT;
  12212. }
  12213. return LOCALE_ZH_HANS;
  12214. }
  12215. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  12216. if (messages && Object.keys(messages).length > 0) {
  12217. locales = Object.keys(messages);
  12218. }
  12219. var lang = startsWith(locale, locales);
  12220. if (lang) {
  12221. return lang;
  12222. }
  12223. }
  12224. var I18n = /*#__PURE__*/function () {
  12225. function I18n(_ref3) {
  12226. var locale = _ref3.locale,
  12227. fallbackLocale = _ref3.fallbackLocale,
  12228. messages = _ref3.messages,
  12229. watcher = _ref3.watcher,
  12230. formater = _ref3.formater;
  12231. (0, _classCallCheck2.default)(this, I18n);
  12232. this.locale = LOCALE_EN;
  12233. this.fallbackLocale = LOCALE_EN;
  12234. this.message = {};
  12235. this.messages = {};
  12236. this.watchers = [];
  12237. if (fallbackLocale) {
  12238. this.fallbackLocale = fallbackLocale;
  12239. }
  12240. this.formater = formater || defaultFormatter;
  12241. this.messages = messages || {};
  12242. this.setLocale(locale || LOCALE_EN);
  12243. if (watcher) {
  12244. this.watchLocale(watcher);
  12245. }
  12246. }
  12247. (0, _createClass2.default)(I18n, [{
  12248. key: "setLocale",
  12249. value: function setLocale(locale) {
  12250. var _this = this;
  12251. var oldLocale = this.locale;
  12252. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  12253. if (!this.messages[this.locale]) {
  12254. // 可能初始化时不存在
  12255. this.messages[this.locale] = {};
  12256. }
  12257. this.message = this.messages[this.locale];
  12258. // 仅发生变化时,通知
  12259. if (oldLocale !== this.locale) {
  12260. this.watchers.forEach(function (watcher) {
  12261. watcher(_this.locale, oldLocale);
  12262. });
  12263. }
  12264. }
  12265. }, {
  12266. key: "getLocale",
  12267. value: function getLocale() {
  12268. return this.locale;
  12269. }
  12270. }, {
  12271. key: "watchLocale",
  12272. value: function watchLocale(fn) {
  12273. var _this2 = this;
  12274. var index = this.watchers.push(fn) - 1;
  12275. return function () {
  12276. _this2.watchers.splice(index, 1);
  12277. };
  12278. }
  12279. }, {
  12280. key: "add",
  12281. value: function add(locale, message) {
  12282. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  12283. var curMessages = this.messages[locale];
  12284. if (curMessages) {
  12285. if (override) {
  12286. Object.assign(curMessages, message);
  12287. } else {
  12288. Object.keys(message).forEach(function (key) {
  12289. if (!hasOwn(curMessages, key)) {
  12290. curMessages[key] = message[key];
  12291. }
  12292. });
  12293. }
  12294. } else {
  12295. this.messages[locale] = message;
  12296. }
  12297. }
  12298. }, {
  12299. key: "f",
  12300. value: function f(message, values, delimiters) {
  12301. return this.formater.interpolate(message, values, delimiters).join('');
  12302. }
  12303. }, {
  12304. key: "t",
  12305. value: function t(key, locale, values) {
  12306. var message = this.message;
  12307. if (typeof locale === 'string') {
  12308. locale = normalizeLocale(locale, this.messages);
  12309. locale && (message = this.messages[locale]);
  12310. } else {
  12311. values = locale;
  12312. }
  12313. if (!hasOwn(message, key)) {
  12314. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  12315. return key;
  12316. }
  12317. return this.formater.interpolate(message[key], values).join('');
  12318. }
  12319. }]);
  12320. return I18n;
  12321. }();
  12322. exports.I18n = I18n;
  12323. function watchAppLocale(appVm, i18n) {
  12324. // 需要保证 watch 的触发在组件渲染之前
  12325. if (appVm.$watchLocale) {
  12326. // vue2
  12327. appVm.$watchLocale(function (newLocale) {
  12328. i18n.setLocale(newLocale);
  12329. });
  12330. } else {
  12331. appVm.$watch(function () {
  12332. return appVm.$locale;
  12333. }, function (newLocale) {
  12334. i18n.setLocale(newLocale);
  12335. });
  12336. }
  12337. }
  12338. function getDefaultLocale() {
  12339. if (typeof uni !== 'undefined' && uni.getLocale) {
  12340. return uni.getLocale();
  12341. }
  12342. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  12343. if (typeof global !== 'undefined' && global.getLocale) {
  12344. return global.getLocale();
  12345. }
  12346. return LOCALE_EN;
  12347. }
  12348. function initVueI18n(locale) {
  12349. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  12350. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  12351. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  12352. // 兼容旧版本入参
  12353. if (typeof locale !== 'string') {
  12354. var _ref4 = [messages, locale];
  12355. locale = _ref4[0];
  12356. messages = _ref4[1];
  12357. }
  12358. if (typeof locale !== 'string') {
  12359. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  12360. locale = getDefaultLocale();
  12361. }
  12362. if (typeof fallbackLocale !== 'string') {
  12363. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  12364. }
  12365. var i18n = new I18n({
  12366. locale: locale,
  12367. fallbackLocale: fallbackLocale,
  12368. messages: messages,
  12369. watcher: watcher
  12370. });
  12371. var _t = function t(key, values) {
  12372. if (typeof getApp !== 'function') {
  12373. // app view
  12374. /* eslint-disable no-func-assign */
  12375. _t = function t(key, values) {
  12376. return i18n.t(key, values);
  12377. };
  12378. } else {
  12379. var isWatchedAppLocale = false;
  12380. _t = function t(key, values) {
  12381. var appVm = getApp().$vm;
  12382. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  12383. // options: {
  12384. // type: Array,
  12385. // default () {
  12386. // return [{
  12387. // icon: 'shop',
  12388. // text: t("uni-goods-nav.options.shop"),
  12389. // }, {
  12390. // icon: 'cart',
  12391. // text: t("uni-goods-nav.options.cart")
  12392. // }]
  12393. // }
  12394. // },
  12395. if (appVm) {
  12396. // 触发响应式
  12397. appVm.$locale;
  12398. if (!isWatchedAppLocale) {
  12399. isWatchedAppLocale = true;
  12400. watchAppLocale(appVm, i18n);
  12401. }
  12402. }
  12403. return i18n.t(key, values);
  12404. };
  12405. }
  12406. return _t(key, values);
  12407. };
  12408. return {
  12409. i18n: i18n,
  12410. f: function f(message, values, delimiters) {
  12411. return i18n.f(message, values, delimiters);
  12412. },
  12413. t: function t(key, values) {
  12414. return _t(key, values);
  12415. },
  12416. add: function add(locale, message) {
  12417. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  12418. return i18n.add(locale, message, override);
  12419. },
  12420. watch: function watch(fn) {
  12421. return i18n.watchLocale(fn);
  12422. },
  12423. getLocale: function getLocale() {
  12424. return i18n.getLocale();
  12425. },
  12426. setLocale: function setLocale(newLocale) {
  12427. return i18n.setLocale(newLocale);
  12428. }
  12429. };
  12430. }
  12431. var isString = function isString(val) {
  12432. return typeof val === 'string';
  12433. };
  12434. exports.isString = isString;
  12435. var formater;
  12436. function hasI18nJson(jsonObj, delimiters) {
  12437. if (!formater) {
  12438. formater = new BaseFormatter();
  12439. }
  12440. return walkJsonObj(jsonObj, function (jsonObj, key) {
  12441. var value = jsonObj[key];
  12442. if (isString(value)) {
  12443. if (isI18nStr(value, delimiters)) {
  12444. return true;
  12445. }
  12446. } else {
  12447. return hasI18nJson(value, delimiters);
  12448. }
  12449. });
  12450. }
  12451. function parseI18nJson(jsonObj, values, delimiters) {
  12452. if (!formater) {
  12453. formater = new BaseFormatter();
  12454. }
  12455. walkJsonObj(jsonObj, function (jsonObj, key) {
  12456. var value = jsonObj[key];
  12457. if (isString(value)) {
  12458. if (isI18nStr(value, delimiters)) {
  12459. jsonObj[key] = compileStr(value, values, delimiters);
  12460. }
  12461. } else {
  12462. parseI18nJson(value, values, delimiters);
  12463. }
  12464. });
  12465. return jsonObj;
  12466. }
  12467. function compileI18nJsonStr(jsonStr, _ref5) {
  12468. var locale = _ref5.locale,
  12469. locales = _ref5.locales,
  12470. delimiters = _ref5.delimiters;
  12471. if (!isI18nStr(jsonStr, delimiters)) {
  12472. return jsonStr;
  12473. }
  12474. if (!formater) {
  12475. formater = new BaseFormatter();
  12476. }
  12477. var localeValues = [];
  12478. Object.keys(locales).forEach(function (name) {
  12479. if (name !== locale) {
  12480. localeValues.push({
  12481. locale: name,
  12482. values: locales[name]
  12483. });
  12484. }
  12485. });
  12486. localeValues.unshift({
  12487. locale: locale,
  12488. values: locales[locale]
  12489. });
  12490. try {
  12491. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  12492. } catch (e) {}
  12493. return jsonStr;
  12494. }
  12495. function isI18nStr(value, delimiters) {
  12496. return value.indexOf(delimiters[0]) > -1;
  12497. }
  12498. function compileStr(value, values, delimiters) {
  12499. return formater.interpolate(value, values, delimiters).join('');
  12500. }
  12501. function compileValue(jsonObj, key, localeValues, delimiters) {
  12502. var value = jsonObj[key];
  12503. if (isString(value)) {
  12504. // 存在国际化
  12505. if (isI18nStr(value, delimiters)) {
  12506. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  12507. if (localeValues.length > 1) {
  12508. // 格式化国际化语言
  12509. var valueLocales = jsonObj[key + 'Locales'] = {};
  12510. localeValues.forEach(function (localValue) {
  12511. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  12512. });
  12513. }
  12514. }
  12515. } else {
  12516. compileJsonObj(value, localeValues, delimiters);
  12517. }
  12518. }
  12519. function compileJsonObj(jsonObj, localeValues, delimiters) {
  12520. walkJsonObj(jsonObj, function (jsonObj, key) {
  12521. compileValue(jsonObj, key, localeValues, delimiters);
  12522. });
  12523. return jsonObj;
  12524. }
  12525. function walkJsonObj(jsonObj, walk) {
  12526. if (Array.isArray(jsonObj)) {
  12527. for (var i = 0; i < jsonObj.length; i++) {
  12528. if (walk(jsonObj, i)) {
  12529. return true;
  12530. }
  12531. }
  12532. } else if (isObject(jsonObj)) {
  12533. for (var key in jsonObj) {
  12534. if (walk(jsonObj, key)) {
  12535. return true;
  12536. }
  12537. }
  12538. }
  12539. return false;
  12540. }
  12541. function resolveLocale(locales) {
  12542. return function (locale) {
  12543. if (!locale) {
  12544. return locale;
  12545. }
  12546. locale = normalizeLocale(locale) || locale;
  12547. return resolveLocaleChain(locale).find(function (locale) {
  12548. return locales.indexOf(locale) > -1;
  12549. });
  12550. };
  12551. }
  12552. function resolveLocaleChain(locale) {
  12553. var chain = [];
  12554. var tokens = locale.split('-');
  12555. while (tokens.length) {
  12556. chain.push(tokens.join('-'));
  12557. tokens.pop();
  12558. }
  12559. return chain;
  12560. }
  12561. /* 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)))
  12562. /***/ }),
  12563. /***/ 23:
  12564. /*!***************************************************************!*\
  12565. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  12566. \***************************************************************/
  12567. /*! no static exports found */
  12568. /***/ (function(module, exports) {
  12569. function _classCallCheck(instance, Constructor) {
  12570. if (!(instance instanceof Constructor)) {
  12571. throw new TypeError("Cannot call a class as a function");
  12572. }
  12573. }
  12574. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12575. /***/ }),
  12576. /***/ 24:
  12577. /*!************************************************************!*\
  12578. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  12579. \************************************************************/
  12580. /*! no static exports found */
  12581. /***/ (function(module, exports, __webpack_require__) {
  12582. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  12583. function _defineProperties(target, props) {
  12584. for (var i = 0; i < props.length; i++) {
  12585. var descriptor = props[i];
  12586. descriptor.enumerable = descriptor.enumerable || false;
  12587. descriptor.configurable = true;
  12588. if ("value" in descriptor) descriptor.writable = true;
  12589. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  12590. }
  12591. }
  12592. function _createClass(Constructor, protoProps, staticProps) {
  12593. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  12594. if (staticProps) _defineProperties(Constructor, staticProps);
  12595. Object.defineProperty(Constructor, "prototype", {
  12596. writable: false
  12597. });
  12598. return Constructor;
  12599. }
  12600. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  12601. /***/ }),
  12602. /***/ 25:
  12603. /*!******************************************************************************************!*\
  12604. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  12605. \******************************************************************************************/
  12606. /*! exports provided: default */
  12607. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12608. "use strict";
  12609. __webpack_require__.r(__webpack_exports__);
  12610. /* WEBPACK VAR INJECTION */(function(global) {/*!
  12611. * Vue.js v2.6.11
  12612. * (c) 2014-2023 Evan You
  12613. * Released under the MIT License.
  12614. */
  12615. /* */
  12616. var emptyObject = Object.freeze({});
  12617. // These helpers produce better VM code in JS engines due to their
  12618. // explicitness and function inlining.
  12619. function isUndef (v) {
  12620. return v === undefined || v === null
  12621. }
  12622. function isDef (v) {
  12623. return v !== undefined && v !== null
  12624. }
  12625. function isTrue (v) {
  12626. return v === true
  12627. }
  12628. function isFalse (v) {
  12629. return v === false
  12630. }
  12631. /**
  12632. * Check if value is primitive.
  12633. */
  12634. function isPrimitive (value) {
  12635. return (
  12636. typeof value === 'string' ||
  12637. typeof value === 'number' ||
  12638. // $flow-disable-line
  12639. typeof value === 'symbol' ||
  12640. typeof value === 'boolean'
  12641. )
  12642. }
  12643. /**
  12644. * Quick object check - this is primarily used to tell
  12645. * Objects from primitive values when we know the value
  12646. * is a JSON-compliant type.
  12647. */
  12648. function isObject (obj) {
  12649. return obj !== null && typeof obj === 'object'
  12650. }
  12651. /**
  12652. * Get the raw type string of a value, e.g., [object Object].
  12653. */
  12654. var _toString = Object.prototype.toString;
  12655. function toRawType (value) {
  12656. return _toString.call(value).slice(8, -1)
  12657. }
  12658. /**
  12659. * Strict object type check. Only returns true
  12660. * for plain JavaScript objects.
  12661. */
  12662. function isPlainObject (obj) {
  12663. return _toString.call(obj) === '[object Object]'
  12664. }
  12665. function isRegExp (v) {
  12666. return _toString.call(v) === '[object RegExp]'
  12667. }
  12668. /**
  12669. * Check if val is a valid array index.
  12670. */
  12671. function isValidArrayIndex (val) {
  12672. var n = parseFloat(String(val));
  12673. return n >= 0 && Math.floor(n) === n && isFinite(val)
  12674. }
  12675. function isPromise (val) {
  12676. return (
  12677. isDef(val) &&
  12678. typeof val.then === 'function' &&
  12679. typeof val.catch === 'function'
  12680. )
  12681. }
  12682. /**
  12683. * Convert a value to a string that is actually rendered.
  12684. */
  12685. function toString (val) {
  12686. return val == null
  12687. ? ''
  12688. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  12689. ? JSON.stringify(val, null, 2)
  12690. : String(val)
  12691. }
  12692. /**
  12693. * Convert an input value to a number for persistence.
  12694. * If the conversion fails, return original string.
  12695. */
  12696. function toNumber (val) {
  12697. var n = parseFloat(val);
  12698. return isNaN(n) ? val : n
  12699. }
  12700. /**
  12701. * Make a map and return a function for checking if a key
  12702. * is in that map.
  12703. */
  12704. function makeMap (
  12705. str,
  12706. expectsLowerCase
  12707. ) {
  12708. var map = Object.create(null);
  12709. var list = str.split(',');
  12710. for (var i = 0; i < list.length; i++) {
  12711. map[list[i]] = true;
  12712. }
  12713. return expectsLowerCase
  12714. ? function (val) { return map[val.toLowerCase()]; }
  12715. : function (val) { return map[val]; }
  12716. }
  12717. /**
  12718. * Check if a tag is a built-in tag.
  12719. */
  12720. var isBuiltInTag = makeMap('slot,component', true);
  12721. /**
  12722. * Check if an attribute is a reserved attribute.
  12723. */
  12724. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  12725. /**
  12726. * Remove an item from an array.
  12727. */
  12728. function remove (arr, item) {
  12729. if (arr.length) {
  12730. var index = arr.indexOf(item);
  12731. if (index > -1) {
  12732. return arr.splice(index, 1)
  12733. }
  12734. }
  12735. }
  12736. /**
  12737. * Check whether an object has the property.
  12738. */
  12739. var hasOwnProperty = Object.prototype.hasOwnProperty;
  12740. function hasOwn (obj, key) {
  12741. return hasOwnProperty.call(obj, key)
  12742. }
  12743. /**
  12744. * Create a cached version of a pure function.
  12745. */
  12746. function cached (fn) {
  12747. var cache = Object.create(null);
  12748. return (function cachedFn (str) {
  12749. var hit = cache[str];
  12750. return hit || (cache[str] = fn(str))
  12751. })
  12752. }
  12753. /**
  12754. * Camelize a hyphen-delimited string.
  12755. */
  12756. var camelizeRE = /-(\w)/g;
  12757. var camelize = cached(function (str) {
  12758. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  12759. });
  12760. /**
  12761. * Capitalize a string.
  12762. */
  12763. var capitalize = cached(function (str) {
  12764. return str.charAt(0).toUpperCase() + str.slice(1)
  12765. });
  12766. /**
  12767. * Hyphenate a camelCase string.
  12768. */
  12769. var hyphenateRE = /\B([A-Z])/g;
  12770. var hyphenate = cached(function (str) {
  12771. return str.replace(hyphenateRE, '-$1').toLowerCase()
  12772. });
  12773. /**
  12774. * Simple bind polyfill for environments that do not support it,
  12775. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  12776. * since native bind is now performant enough in most browsers.
  12777. * But removing it would mean breaking code that was able to run in
  12778. * PhantomJS 1.x, so this must be kept for backward compatibility.
  12779. */
  12780. /* istanbul ignore next */
  12781. function polyfillBind (fn, ctx) {
  12782. function boundFn (a) {
  12783. var l = arguments.length;
  12784. return l
  12785. ? l > 1
  12786. ? fn.apply(ctx, arguments)
  12787. : fn.call(ctx, a)
  12788. : fn.call(ctx)
  12789. }
  12790. boundFn._length = fn.length;
  12791. return boundFn
  12792. }
  12793. function nativeBind (fn, ctx) {
  12794. return fn.bind(ctx)
  12795. }
  12796. var bind = Function.prototype.bind
  12797. ? nativeBind
  12798. : polyfillBind;
  12799. /**
  12800. * Convert an Array-like object to a real Array.
  12801. */
  12802. function toArray (list, start) {
  12803. start = start || 0;
  12804. var i = list.length - start;
  12805. var ret = new Array(i);
  12806. while (i--) {
  12807. ret[i] = list[i + start];
  12808. }
  12809. return ret
  12810. }
  12811. /**
  12812. * Mix properties into target object.
  12813. */
  12814. function extend (to, _from) {
  12815. for (var key in _from) {
  12816. to[key] = _from[key];
  12817. }
  12818. return to
  12819. }
  12820. /**
  12821. * Merge an Array of Objects into a single Object.
  12822. */
  12823. function toObject (arr) {
  12824. var res = {};
  12825. for (var i = 0; i < arr.length; i++) {
  12826. if (arr[i]) {
  12827. extend(res, arr[i]);
  12828. }
  12829. }
  12830. return res
  12831. }
  12832. /* eslint-disable no-unused-vars */
  12833. /**
  12834. * Perform no operation.
  12835. * Stubbing args to make Flow happy without leaving useless transpiled code
  12836. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  12837. */
  12838. function noop (a, b, c) {}
  12839. /**
  12840. * Always return false.
  12841. */
  12842. var no = function (a, b, c) { return false; };
  12843. /* eslint-enable no-unused-vars */
  12844. /**
  12845. * Return the same value.
  12846. */
  12847. var identity = function (_) { return _; };
  12848. /**
  12849. * Check if two values are loosely equal - that is,
  12850. * if they are plain objects, do they have the same shape?
  12851. */
  12852. function looseEqual (a, b) {
  12853. if (a === b) { return true }
  12854. var isObjectA = isObject(a);
  12855. var isObjectB = isObject(b);
  12856. if (isObjectA && isObjectB) {
  12857. try {
  12858. var isArrayA = Array.isArray(a);
  12859. var isArrayB = Array.isArray(b);
  12860. if (isArrayA && isArrayB) {
  12861. return a.length === b.length && a.every(function (e, i) {
  12862. return looseEqual(e, b[i])
  12863. })
  12864. } else if (a instanceof Date && b instanceof Date) {
  12865. return a.getTime() === b.getTime()
  12866. } else if (!isArrayA && !isArrayB) {
  12867. var keysA = Object.keys(a);
  12868. var keysB = Object.keys(b);
  12869. return keysA.length === keysB.length && keysA.every(function (key) {
  12870. return looseEqual(a[key], b[key])
  12871. })
  12872. } else {
  12873. /* istanbul ignore next */
  12874. return false
  12875. }
  12876. } catch (e) {
  12877. /* istanbul ignore next */
  12878. return false
  12879. }
  12880. } else if (!isObjectA && !isObjectB) {
  12881. return String(a) === String(b)
  12882. } else {
  12883. return false
  12884. }
  12885. }
  12886. /**
  12887. * Return the first index at which a loosely equal value can be
  12888. * found in the array (if value is a plain object, the array must
  12889. * contain an object of the same shape), or -1 if it is not present.
  12890. */
  12891. function looseIndexOf (arr, val) {
  12892. for (var i = 0; i < arr.length; i++) {
  12893. if (looseEqual(arr[i], val)) { return i }
  12894. }
  12895. return -1
  12896. }
  12897. /**
  12898. * Ensure a function is called only once.
  12899. */
  12900. function once (fn) {
  12901. var called = false;
  12902. return function () {
  12903. if (!called) {
  12904. called = true;
  12905. fn.apply(this, arguments);
  12906. }
  12907. }
  12908. }
  12909. var ASSET_TYPES = [
  12910. 'component',
  12911. 'directive',
  12912. 'filter'
  12913. ];
  12914. var LIFECYCLE_HOOKS = [
  12915. 'beforeCreate',
  12916. 'created',
  12917. 'beforeMount',
  12918. 'mounted',
  12919. 'beforeUpdate',
  12920. 'updated',
  12921. 'beforeDestroy',
  12922. 'destroyed',
  12923. 'activated',
  12924. 'deactivated',
  12925. 'errorCaptured',
  12926. 'serverPrefetch'
  12927. ];
  12928. /* */
  12929. var config = ({
  12930. /**
  12931. * Option merge strategies (used in core/util/options)
  12932. */
  12933. // $flow-disable-line
  12934. optionMergeStrategies: Object.create(null),
  12935. /**
  12936. * Whether to suppress warnings.
  12937. */
  12938. silent: false,
  12939. /**
  12940. * Show production mode tip message on boot?
  12941. */
  12942. productionTip: "development" !== 'production',
  12943. /**
  12944. * Whether to enable devtools
  12945. */
  12946. devtools: "development" !== 'production',
  12947. /**
  12948. * Whether to record perf
  12949. */
  12950. performance: false,
  12951. /**
  12952. * Error handler for watcher errors
  12953. */
  12954. errorHandler: null,
  12955. /**
  12956. * Warn handler for watcher warns
  12957. */
  12958. warnHandler: null,
  12959. /**
  12960. * Ignore certain custom elements
  12961. */
  12962. ignoredElements: [],
  12963. /**
  12964. * Custom user key aliases for v-on
  12965. */
  12966. // $flow-disable-line
  12967. keyCodes: Object.create(null),
  12968. /**
  12969. * Check if a tag is reserved so that it cannot be registered as a
  12970. * component. This is platform-dependent and may be overwritten.
  12971. */
  12972. isReservedTag: no,
  12973. /**
  12974. * Check if an attribute is reserved so that it cannot be used as a component
  12975. * prop. This is platform-dependent and may be overwritten.
  12976. */
  12977. isReservedAttr: no,
  12978. /**
  12979. * Check if a tag is an unknown element.
  12980. * Platform-dependent.
  12981. */
  12982. isUnknownElement: no,
  12983. /**
  12984. * Get the namespace of an element
  12985. */
  12986. getTagNamespace: noop,
  12987. /**
  12988. * Parse the real tag name for the specific platform.
  12989. */
  12990. parsePlatformTagName: identity,
  12991. /**
  12992. * Check if an attribute must be bound using property, e.g. value
  12993. * Platform-dependent.
  12994. */
  12995. mustUseProp: no,
  12996. /**
  12997. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  12998. * This will significantly reduce performance if set to false.
  12999. */
  13000. async: true,
  13001. /**
  13002. * Exposed for legacy reasons
  13003. */
  13004. _lifecycleHooks: LIFECYCLE_HOOKS
  13005. });
  13006. /* */
  13007. /**
  13008. * unicode letters used for parsing html tags, component names and property paths.
  13009. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  13010. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  13011. */
  13012. 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/;
  13013. /**
  13014. * Check if a string starts with $ or _
  13015. */
  13016. function isReserved (str) {
  13017. var c = (str + '').charCodeAt(0);
  13018. return c === 0x24 || c === 0x5F
  13019. }
  13020. /**
  13021. * Define a property.
  13022. */
  13023. function def (obj, key, val, enumerable) {
  13024. Object.defineProperty(obj, key, {
  13025. value: val,
  13026. enumerable: !!enumerable,
  13027. writable: true,
  13028. configurable: true
  13029. });
  13030. }
  13031. /**
  13032. * Parse simple path.
  13033. */
  13034. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  13035. function parsePath (path) {
  13036. if (bailRE.test(path)) {
  13037. return
  13038. }
  13039. var segments = path.split('.');
  13040. return function (obj) {
  13041. for (var i = 0; i < segments.length; i++) {
  13042. if (!obj) { return }
  13043. obj = obj[segments[i]];
  13044. }
  13045. return obj
  13046. }
  13047. }
  13048. /* */
  13049. // can we use __proto__?
  13050. var hasProto = '__proto__' in {};
  13051. // Browser environment sniffing
  13052. var inBrowser = typeof window !== 'undefined';
  13053. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  13054. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  13055. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  13056. var isIE = UA && /msie|trident/.test(UA);
  13057. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  13058. var isEdge = UA && UA.indexOf('edge/') > 0;
  13059. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  13060. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  13061. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  13062. var isPhantomJS = UA && /phantomjs/.test(UA);
  13063. var isFF = UA && UA.match(/firefox\/(\d+)/);
  13064. // Firefox has a "watch" function on Object.prototype...
  13065. var nativeWatch = ({}).watch;
  13066. if (inBrowser) {
  13067. try {
  13068. var opts = {};
  13069. Object.defineProperty(opts, 'passive', ({
  13070. get: function get () {
  13071. }
  13072. })); // https://github.com/facebook/flow/issues/285
  13073. window.addEventListener('test-passive', null, opts);
  13074. } catch (e) {}
  13075. }
  13076. // this needs to be lazy-evaled because vue may be required before
  13077. // vue-server-renderer can set VUE_ENV
  13078. var _isServer;
  13079. var isServerRendering = function () {
  13080. if (_isServer === undefined) {
  13081. /* istanbul ignore if */
  13082. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  13083. // detect presence of vue-server-renderer and avoid
  13084. // Webpack shimming the process
  13085. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  13086. } else {
  13087. _isServer = false;
  13088. }
  13089. }
  13090. return _isServer
  13091. };
  13092. // detect devtools
  13093. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  13094. /* istanbul ignore next */
  13095. function isNative (Ctor) {
  13096. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  13097. }
  13098. var hasSymbol =
  13099. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  13100. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  13101. var _Set;
  13102. /* istanbul ignore if */ // $flow-disable-line
  13103. if (typeof Set !== 'undefined' && isNative(Set)) {
  13104. // use native Set when available.
  13105. _Set = Set;
  13106. } else {
  13107. // a non-standard Set polyfill that only works with primitive keys.
  13108. _Set = /*@__PURE__*/(function () {
  13109. function Set () {
  13110. this.set = Object.create(null);
  13111. }
  13112. Set.prototype.has = function has (key) {
  13113. return this.set[key] === true
  13114. };
  13115. Set.prototype.add = function add (key) {
  13116. this.set[key] = true;
  13117. };
  13118. Set.prototype.clear = function clear () {
  13119. this.set = Object.create(null);
  13120. };
  13121. return Set;
  13122. }());
  13123. }
  13124. /* */
  13125. var warn = noop;
  13126. var tip = noop;
  13127. var generateComponentTrace = (noop); // work around flow check
  13128. var formatComponentName = (noop);
  13129. if (true) {
  13130. var hasConsole = typeof console !== 'undefined';
  13131. var classifyRE = /(?:^|[-_])(\w)/g;
  13132. var classify = function (str) { return str
  13133. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  13134. .replace(/[-_]/g, ''); };
  13135. warn = function (msg, vm) {
  13136. var trace = vm ? generateComponentTrace(vm) : '';
  13137. if (config.warnHandler) {
  13138. config.warnHandler.call(null, msg, vm, trace);
  13139. } else if (hasConsole && (!config.silent)) {
  13140. console.error(("[Vue warn]: " + msg + trace));
  13141. }
  13142. };
  13143. tip = function (msg, vm) {
  13144. if (hasConsole && (!config.silent)) {
  13145. console.warn("[Vue tip]: " + msg + (
  13146. vm ? generateComponentTrace(vm) : ''
  13147. ));
  13148. }
  13149. };
  13150. formatComponentName = function (vm, includeFile) {
  13151. if (vm.$root === vm) {
  13152. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  13153. return ('') + vm.$options.__file
  13154. }
  13155. return '<Root>'
  13156. }
  13157. var options = typeof vm === 'function' && vm.cid != null
  13158. ? vm.options
  13159. : vm._isVue
  13160. ? vm.$options || vm.constructor.options
  13161. : vm;
  13162. var name = options.name || options._componentTag;
  13163. var file = options.__file;
  13164. if (!name && file) {
  13165. var match = file.match(/([^/\\]+)\.vue$/);
  13166. name = match && match[1];
  13167. }
  13168. return (
  13169. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  13170. (file && includeFile !== false ? (" at " + file) : '')
  13171. )
  13172. };
  13173. var repeat = function (str, n) {
  13174. var res = '';
  13175. while (n) {
  13176. if (n % 2 === 1) { res += str; }
  13177. if (n > 1) { str += str; }
  13178. n >>= 1;
  13179. }
  13180. return res
  13181. };
  13182. generateComponentTrace = function (vm) {
  13183. if (vm._isVue && vm.$parent) {
  13184. var tree = [];
  13185. var currentRecursiveSequence = 0;
  13186. while (vm && vm.$options.name !== 'PageBody') {
  13187. if (tree.length > 0) {
  13188. var last = tree[tree.length - 1];
  13189. if (last.constructor === vm.constructor) {
  13190. currentRecursiveSequence++;
  13191. vm = vm.$parent;
  13192. continue
  13193. } else if (currentRecursiveSequence > 0) {
  13194. tree[tree.length - 1] = [last, currentRecursiveSequence];
  13195. currentRecursiveSequence = 0;
  13196. }
  13197. }
  13198. !vm.$options.isReserved && tree.push(vm);
  13199. vm = vm.$parent;
  13200. }
  13201. return '\n\nfound in\n\n' + tree
  13202. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  13203. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  13204. : formatComponentName(vm))); })
  13205. .join('\n')
  13206. } else {
  13207. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  13208. }
  13209. };
  13210. }
  13211. /* */
  13212. var uid = 0;
  13213. /**
  13214. * A dep is an observable that can have multiple
  13215. * directives subscribing to it.
  13216. */
  13217. var Dep = function Dep () {
  13218. this.id = uid++;
  13219. this.subs = [];
  13220. };
  13221. Dep.prototype.addSub = function addSub (sub) {
  13222. this.subs.push(sub);
  13223. };
  13224. Dep.prototype.removeSub = function removeSub (sub) {
  13225. remove(this.subs, sub);
  13226. };
  13227. Dep.prototype.depend = function depend () {
  13228. if (Dep.SharedObject.target) {
  13229. Dep.SharedObject.target.addDep(this);
  13230. }
  13231. };
  13232. Dep.prototype.notify = function notify () {
  13233. // stabilize the subscriber list first
  13234. var subs = this.subs.slice();
  13235. if ( true && !config.async) {
  13236. // subs aren't sorted in scheduler if not running async
  13237. // we need to sort them now to make sure they fire in correct
  13238. // order
  13239. subs.sort(function (a, b) { return a.id - b.id; });
  13240. }
  13241. for (var i = 0, l = subs.length; i < l; i++) {
  13242. subs[i].update();
  13243. }
  13244. };
  13245. // The current target watcher being evaluated.
  13246. // This is globally unique because only one watcher
  13247. // can be evaluated at a time.
  13248. // fixed by xxxxxx (nvue shared vuex)
  13249. /* eslint-disable no-undef */
  13250. Dep.SharedObject = {};
  13251. Dep.SharedObject.target = null;
  13252. Dep.SharedObject.targetStack = [];
  13253. function pushTarget (target) {
  13254. Dep.SharedObject.targetStack.push(target);
  13255. Dep.SharedObject.target = target;
  13256. Dep.target = target;
  13257. }
  13258. function popTarget () {
  13259. Dep.SharedObject.targetStack.pop();
  13260. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  13261. Dep.target = Dep.SharedObject.target;
  13262. }
  13263. /* */
  13264. var VNode = function VNode (
  13265. tag,
  13266. data,
  13267. children,
  13268. text,
  13269. elm,
  13270. context,
  13271. componentOptions,
  13272. asyncFactory
  13273. ) {
  13274. this.tag = tag;
  13275. this.data = data;
  13276. this.children = children;
  13277. this.text = text;
  13278. this.elm = elm;
  13279. this.ns = undefined;
  13280. this.context = context;
  13281. this.fnContext = undefined;
  13282. this.fnOptions = undefined;
  13283. this.fnScopeId = undefined;
  13284. this.key = data && data.key;
  13285. this.componentOptions = componentOptions;
  13286. this.componentInstance = undefined;
  13287. this.parent = undefined;
  13288. this.raw = false;
  13289. this.isStatic = false;
  13290. this.isRootInsert = true;
  13291. this.isComment = false;
  13292. this.isCloned = false;
  13293. this.isOnce = false;
  13294. this.asyncFactory = asyncFactory;
  13295. this.asyncMeta = undefined;
  13296. this.isAsyncPlaceholder = false;
  13297. };
  13298. var prototypeAccessors = { child: { configurable: true } };
  13299. // DEPRECATED: alias for componentInstance for backwards compat.
  13300. /* istanbul ignore next */
  13301. prototypeAccessors.child.get = function () {
  13302. return this.componentInstance
  13303. };
  13304. Object.defineProperties( VNode.prototype, prototypeAccessors );
  13305. var createEmptyVNode = function (text) {
  13306. if ( text === void 0 ) text = '';
  13307. var node = new VNode();
  13308. node.text = text;
  13309. node.isComment = true;
  13310. return node
  13311. };
  13312. function createTextVNode (val) {
  13313. return new VNode(undefined, undefined, undefined, String(val))
  13314. }
  13315. // optimized shallow clone
  13316. // used for static nodes and slot nodes because they may be reused across
  13317. // multiple renders, cloning them avoids errors when DOM manipulations rely
  13318. // on their elm reference.
  13319. function cloneVNode (vnode) {
  13320. var cloned = new VNode(
  13321. vnode.tag,
  13322. vnode.data,
  13323. // #7975
  13324. // clone children array to avoid mutating original in case of cloning
  13325. // a child.
  13326. vnode.children && vnode.children.slice(),
  13327. vnode.text,
  13328. vnode.elm,
  13329. vnode.context,
  13330. vnode.componentOptions,
  13331. vnode.asyncFactory
  13332. );
  13333. cloned.ns = vnode.ns;
  13334. cloned.isStatic = vnode.isStatic;
  13335. cloned.key = vnode.key;
  13336. cloned.isComment = vnode.isComment;
  13337. cloned.fnContext = vnode.fnContext;
  13338. cloned.fnOptions = vnode.fnOptions;
  13339. cloned.fnScopeId = vnode.fnScopeId;
  13340. cloned.asyncMeta = vnode.asyncMeta;
  13341. cloned.isCloned = true;
  13342. return cloned
  13343. }
  13344. /*
  13345. * not type checking this file because flow doesn't play well with
  13346. * dynamically accessing methods on Array prototype
  13347. */
  13348. var arrayProto = Array.prototype;
  13349. var arrayMethods = Object.create(arrayProto);
  13350. var methodsToPatch = [
  13351. 'push',
  13352. 'pop',
  13353. 'shift',
  13354. 'unshift',
  13355. 'splice',
  13356. 'sort',
  13357. 'reverse'
  13358. ];
  13359. /**
  13360. * Intercept mutating methods and emit events
  13361. */
  13362. methodsToPatch.forEach(function (method) {
  13363. // cache original method
  13364. var original = arrayProto[method];
  13365. def(arrayMethods, method, function mutator () {
  13366. var args = [], len = arguments.length;
  13367. while ( len-- ) args[ len ] = arguments[ len ];
  13368. var result = original.apply(this, args);
  13369. var ob = this.__ob__;
  13370. var inserted;
  13371. switch (method) {
  13372. case 'push':
  13373. case 'unshift':
  13374. inserted = args;
  13375. break
  13376. case 'splice':
  13377. inserted = args.slice(2);
  13378. break
  13379. }
  13380. if (inserted) { ob.observeArray(inserted); }
  13381. // notify change
  13382. ob.dep.notify();
  13383. return result
  13384. });
  13385. });
  13386. /* */
  13387. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  13388. /**
  13389. * In some cases we may want to disable observation inside a component's
  13390. * update computation.
  13391. */
  13392. var shouldObserve = true;
  13393. function toggleObserving (value) {
  13394. shouldObserve = value;
  13395. }
  13396. /**
  13397. * Observer class that is attached to each observed
  13398. * object. Once attached, the observer converts the target
  13399. * object's property keys into getter/setters that
  13400. * collect dependencies and dispatch updates.
  13401. */
  13402. var Observer = function Observer (value) {
  13403. this.value = value;
  13404. this.dep = new Dep();
  13405. this.vmCount = 0;
  13406. def(value, '__ob__', this);
  13407. if (Array.isArray(value)) {
  13408. if (hasProto) {
  13409. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  13410. if(value.push !== value.__proto__.push){
  13411. copyAugment(value, arrayMethods, arrayKeys);
  13412. } else {
  13413. protoAugment(value, arrayMethods);
  13414. }
  13415. }
  13416. } else {
  13417. copyAugment(value, arrayMethods, arrayKeys);
  13418. }
  13419. this.observeArray(value);
  13420. } else {
  13421. this.walk(value);
  13422. }
  13423. };
  13424. /**
  13425. * Walk through all properties and convert them into
  13426. * getter/setters. This method should only be called when
  13427. * value type is Object.
  13428. */
  13429. Observer.prototype.walk = function walk (obj) {
  13430. var keys = Object.keys(obj);
  13431. for (var i = 0; i < keys.length; i++) {
  13432. defineReactive$$1(obj, keys[i]);
  13433. }
  13434. };
  13435. /**
  13436. * Observe a list of Array items.
  13437. */
  13438. Observer.prototype.observeArray = function observeArray (items) {
  13439. for (var i = 0, l = items.length; i < l; i++) {
  13440. observe(items[i]);
  13441. }
  13442. };
  13443. // helpers
  13444. /**
  13445. * Augment a target Object or Array by intercepting
  13446. * the prototype chain using __proto__
  13447. */
  13448. function protoAugment (target, src) {
  13449. /* eslint-disable no-proto */
  13450. target.__proto__ = src;
  13451. /* eslint-enable no-proto */
  13452. }
  13453. /**
  13454. * Augment a target Object or Array by defining
  13455. * hidden properties.
  13456. */
  13457. /* istanbul ignore next */
  13458. function copyAugment (target, src, keys) {
  13459. for (var i = 0, l = keys.length; i < l; i++) {
  13460. var key = keys[i];
  13461. def(target, key, src[key]);
  13462. }
  13463. }
  13464. /**
  13465. * Attempt to create an observer instance for a value,
  13466. * returns the new observer if successfully observed,
  13467. * or the existing observer if the value already has one.
  13468. */
  13469. function observe (value, asRootData) {
  13470. if (!isObject(value) || value instanceof VNode) {
  13471. return
  13472. }
  13473. var ob;
  13474. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  13475. ob = value.__ob__;
  13476. } else if (
  13477. shouldObserve &&
  13478. !isServerRendering() &&
  13479. (Array.isArray(value) || isPlainObject(value)) &&
  13480. Object.isExtensible(value) &&
  13481. !value._isVue &&
  13482. !value.__v_isMPComponent
  13483. ) {
  13484. ob = new Observer(value);
  13485. }
  13486. if (asRootData && ob) {
  13487. ob.vmCount++;
  13488. }
  13489. return ob
  13490. }
  13491. /**
  13492. * Define a reactive property on an Object.
  13493. */
  13494. function defineReactive$$1 (
  13495. obj,
  13496. key,
  13497. val,
  13498. customSetter,
  13499. shallow
  13500. ) {
  13501. var dep = new Dep();
  13502. var property = Object.getOwnPropertyDescriptor(obj, key);
  13503. if (property && property.configurable === false) {
  13504. return
  13505. }
  13506. // cater for pre-defined getter/setters
  13507. var getter = property && property.get;
  13508. var setter = property && property.set;
  13509. if ((!getter || setter) && arguments.length === 2) {
  13510. val = obj[key];
  13511. }
  13512. var childOb = !shallow && observe(val);
  13513. Object.defineProperty(obj, key, {
  13514. enumerable: true,
  13515. configurable: true,
  13516. get: function reactiveGetter () {
  13517. var value = getter ? getter.call(obj) : val;
  13518. if (Dep.SharedObject.target) { // fixed by xxxxxx
  13519. dep.depend();
  13520. if (childOb) {
  13521. childOb.dep.depend();
  13522. if (Array.isArray(value)) {
  13523. dependArray(value);
  13524. }
  13525. }
  13526. }
  13527. return value
  13528. },
  13529. set: function reactiveSetter (newVal) {
  13530. var value = getter ? getter.call(obj) : val;
  13531. /* eslint-disable no-self-compare */
  13532. if (newVal === value || (newVal !== newVal && value !== value)) {
  13533. return
  13534. }
  13535. /* eslint-enable no-self-compare */
  13536. if ( true && customSetter) {
  13537. customSetter();
  13538. }
  13539. // #7981: for accessor properties without setter
  13540. if (getter && !setter) { return }
  13541. if (setter) {
  13542. setter.call(obj, newVal);
  13543. } else {
  13544. val = newVal;
  13545. }
  13546. childOb = !shallow && observe(newVal);
  13547. dep.notify();
  13548. }
  13549. });
  13550. }
  13551. /**
  13552. * Set a property on an object. Adds the new property and
  13553. * triggers change notification if the property doesn't
  13554. * already exist.
  13555. */
  13556. function set (target, key, val) {
  13557. if ( true &&
  13558. (isUndef(target) || isPrimitive(target))
  13559. ) {
  13560. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  13561. }
  13562. if (Array.isArray(target) && isValidArrayIndex(key)) {
  13563. target.length = Math.max(target.length, key);
  13564. target.splice(key, 1, val);
  13565. return val
  13566. }
  13567. if (key in target && !(key in Object.prototype)) {
  13568. target[key] = val;
  13569. return val
  13570. }
  13571. var ob = (target).__ob__;
  13572. if (target._isVue || (ob && ob.vmCount)) {
  13573. true && warn(
  13574. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  13575. 'at runtime - declare it upfront in the data option.'
  13576. );
  13577. return val
  13578. }
  13579. if (!ob) {
  13580. target[key] = val;
  13581. return val
  13582. }
  13583. defineReactive$$1(ob.value, key, val);
  13584. ob.dep.notify();
  13585. return val
  13586. }
  13587. /**
  13588. * Delete a property and trigger change if necessary.
  13589. */
  13590. function del (target, key) {
  13591. if ( true &&
  13592. (isUndef(target) || isPrimitive(target))
  13593. ) {
  13594. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  13595. }
  13596. if (Array.isArray(target) && isValidArrayIndex(key)) {
  13597. target.splice(key, 1);
  13598. return
  13599. }
  13600. var ob = (target).__ob__;
  13601. if (target._isVue || (ob && ob.vmCount)) {
  13602. true && warn(
  13603. 'Avoid deleting properties on a Vue instance or its root $data ' +
  13604. '- just set it to null.'
  13605. );
  13606. return
  13607. }
  13608. if (!hasOwn(target, key)) {
  13609. return
  13610. }
  13611. delete target[key];
  13612. if (!ob) {
  13613. return
  13614. }
  13615. ob.dep.notify();
  13616. }
  13617. /**
  13618. * Collect dependencies on array elements when the array is touched, since
  13619. * we cannot intercept array element access like property getters.
  13620. */
  13621. function dependArray (value) {
  13622. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  13623. e = value[i];
  13624. e && e.__ob__ && e.__ob__.dep.depend();
  13625. if (Array.isArray(e)) {
  13626. dependArray(e);
  13627. }
  13628. }
  13629. }
  13630. /* */
  13631. /**
  13632. * Option overwriting strategies are functions that handle
  13633. * how to merge a parent option value and a child option
  13634. * value into the final value.
  13635. */
  13636. var strats = config.optionMergeStrategies;
  13637. /**
  13638. * Options with restrictions
  13639. */
  13640. if (true) {
  13641. strats.el = strats.propsData = function (parent, child, vm, key) {
  13642. if (!vm) {
  13643. warn(
  13644. "option \"" + key + "\" can only be used during instance " +
  13645. 'creation with the `new` keyword.'
  13646. );
  13647. }
  13648. return defaultStrat(parent, child)
  13649. };
  13650. }
  13651. /**
  13652. * Helper that recursively merges two data objects together.
  13653. */
  13654. function mergeData (to, from) {
  13655. if (!from) { return to }
  13656. var key, toVal, fromVal;
  13657. var keys = hasSymbol
  13658. ? Reflect.ownKeys(from)
  13659. : Object.keys(from);
  13660. for (var i = 0; i < keys.length; i++) {
  13661. key = keys[i];
  13662. // in case the object is already observed...
  13663. if (key === '__ob__') { continue }
  13664. toVal = to[key];
  13665. fromVal = from[key];
  13666. if (!hasOwn(to, key)) {
  13667. set(to, key, fromVal);
  13668. } else if (
  13669. toVal !== fromVal &&
  13670. isPlainObject(toVal) &&
  13671. isPlainObject(fromVal)
  13672. ) {
  13673. mergeData(toVal, fromVal);
  13674. }
  13675. }
  13676. return to
  13677. }
  13678. /**
  13679. * Data
  13680. */
  13681. function mergeDataOrFn (
  13682. parentVal,
  13683. childVal,
  13684. vm
  13685. ) {
  13686. if (!vm) {
  13687. // in a Vue.extend merge, both should be functions
  13688. if (!childVal) {
  13689. return parentVal
  13690. }
  13691. if (!parentVal) {
  13692. return childVal
  13693. }
  13694. // when parentVal & childVal are both present,
  13695. // we need to return a function that returns the
  13696. // merged result of both functions... no need to
  13697. // check if parentVal is a function here because
  13698. // it has to be a function to pass previous merges.
  13699. return function mergedDataFn () {
  13700. return mergeData(
  13701. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  13702. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  13703. )
  13704. }
  13705. } else {
  13706. return function mergedInstanceDataFn () {
  13707. // instance merge
  13708. var instanceData = typeof childVal === 'function'
  13709. ? childVal.call(vm, vm)
  13710. : childVal;
  13711. var defaultData = typeof parentVal === 'function'
  13712. ? parentVal.call(vm, vm)
  13713. : parentVal;
  13714. if (instanceData) {
  13715. return mergeData(instanceData, defaultData)
  13716. } else {
  13717. return defaultData
  13718. }
  13719. }
  13720. }
  13721. }
  13722. strats.data = function (
  13723. parentVal,
  13724. childVal,
  13725. vm
  13726. ) {
  13727. if (!vm) {
  13728. if (childVal && typeof childVal !== 'function') {
  13729. true && warn(
  13730. 'The "data" option should be a function ' +
  13731. 'that returns a per-instance value in component ' +
  13732. 'definitions.',
  13733. vm
  13734. );
  13735. return parentVal
  13736. }
  13737. return mergeDataOrFn(parentVal, childVal)
  13738. }
  13739. return mergeDataOrFn(parentVal, childVal, vm)
  13740. };
  13741. /**
  13742. * Hooks and props are merged as arrays.
  13743. */
  13744. function mergeHook (
  13745. parentVal,
  13746. childVal
  13747. ) {
  13748. var res = childVal
  13749. ? parentVal
  13750. ? parentVal.concat(childVal)
  13751. : Array.isArray(childVal)
  13752. ? childVal
  13753. : [childVal]
  13754. : parentVal;
  13755. return res
  13756. ? dedupeHooks(res)
  13757. : res
  13758. }
  13759. function dedupeHooks (hooks) {
  13760. var res = [];
  13761. for (var i = 0; i < hooks.length; i++) {
  13762. if (res.indexOf(hooks[i]) === -1) {
  13763. res.push(hooks[i]);
  13764. }
  13765. }
  13766. return res
  13767. }
  13768. LIFECYCLE_HOOKS.forEach(function (hook) {
  13769. strats[hook] = mergeHook;
  13770. });
  13771. /**
  13772. * Assets
  13773. *
  13774. * When a vm is present (instance creation), we need to do
  13775. * a three-way merge between constructor options, instance
  13776. * options and parent options.
  13777. */
  13778. function mergeAssets (
  13779. parentVal,
  13780. childVal,
  13781. vm,
  13782. key
  13783. ) {
  13784. var res = Object.create(parentVal || null);
  13785. if (childVal) {
  13786. true && assertObjectType(key, childVal, vm);
  13787. return extend(res, childVal)
  13788. } else {
  13789. return res
  13790. }
  13791. }
  13792. ASSET_TYPES.forEach(function (type) {
  13793. strats[type + 's'] = mergeAssets;
  13794. });
  13795. /**
  13796. * Watchers.
  13797. *
  13798. * Watchers hashes should not overwrite one
  13799. * another, so we merge them as arrays.
  13800. */
  13801. strats.watch = function (
  13802. parentVal,
  13803. childVal,
  13804. vm,
  13805. key
  13806. ) {
  13807. // work around Firefox's Object.prototype.watch...
  13808. if (parentVal === nativeWatch) { parentVal = undefined; }
  13809. if (childVal === nativeWatch) { childVal = undefined; }
  13810. /* istanbul ignore if */
  13811. if (!childVal) { return Object.create(parentVal || null) }
  13812. if (true) {
  13813. assertObjectType(key, childVal, vm);
  13814. }
  13815. if (!parentVal) { return childVal }
  13816. var ret = {};
  13817. extend(ret, parentVal);
  13818. for (var key$1 in childVal) {
  13819. var parent = ret[key$1];
  13820. var child = childVal[key$1];
  13821. if (parent && !Array.isArray(parent)) {
  13822. parent = [parent];
  13823. }
  13824. ret[key$1] = parent
  13825. ? parent.concat(child)
  13826. : Array.isArray(child) ? child : [child];
  13827. }
  13828. return ret
  13829. };
  13830. /**
  13831. * Other object hashes.
  13832. */
  13833. strats.props =
  13834. strats.methods =
  13835. strats.inject =
  13836. strats.computed = function (
  13837. parentVal,
  13838. childVal,
  13839. vm,
  13840. key
  13841. ) {
  13842. if (childVal && "development" !== 'production') {
  13843. assertObjectType(key, childVal, vm);
  13844. }
  13845. if (!parentVal) { return childVal }
  13846. var ret = Object.create(null);
  13847. extend(ret, parentVal);
  13848. if (childVal) { extend(ret, childVal); }
  13849. return ret
  13850. };
  13851. strats.provide = mergeDataOrFn;
  13852. /**
  13853. * Default strategy.
  13854. */
  13855. var defaultStrat = function (parentVal, childVal) {
  13856. return childVal === undefined
  13857. ? parentVal
  13858. : childVal
  13859. };
  13860. /**
  13861. * Validate component names
  13862. */
  13863. function checkComponents (options) {
  13864. for (var key in options.components) {
  13865. validateComponentName(key);
  13866. }
  13867. }
  13868. function validateComponentName (name) {
  13869. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  13870. warn(
  13871. 'Invalid component name: "' + name + '". Component names ' +
  13872. 'should conform to valid custom element name in html5 specification.'
  13873. );
  13874. }
  13875. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  13876. warn(
  13877. 'Do not use built-in or reserved HTML elements as component ' +
  13878. 'id: ' + name
  13879. );
  13880. }
  13881. }
  13882. /**
  13883. * Ensure all props option syntax are normalized into the
  13884. * Object-based format.
  13885. */
  13886. function normalizeProps (options, vm) {
  13887. var props = options.props;
  13888. if (!props) { return }
  13889. var res = {};
  13890. var i, val, name;
  13891. if (Array.isArray(props)) {
  13892. i = props.length;
  13893. while (i--) {
  13894. val = props[i];
  13895. if (typeof val === 'string') {
  13896. name = camelize(val);
  13897. res[name] = { type: null };
  13898. } else if (true) {
  13899. warn('props must be strings when using array syntax.');
  13900. }
  13901. }
  13902. } else if (isPlainObject(props)) {
  13903. for (var key in props) {
  13904. val = props[key];
  13905. name = camelize(key);
  13906. res[name] = isPlainObject(val)
  13907. ? val
  13908. : { type: val };
  13909. }
  13910. } else if (true) {
  13911. warn(
  13912. "Invalid value for option \"props\": expected an Array or an Object, " +
  13913. "but got " + (toRawType(props)) + ".",
  13914. vm
  13915. );
  13916. }
  13917. options.props = res;
  13918. }
  13919. /**
  13920. * Normalize all injections into Object-based format
  13921. */
  13922. function normalizeInject (options, vm) {
  13923. var inject = options.inject;
  13924. if (!inject) { return }
  13925. var normalized = options.inject = {};
  13926. if (Array.isArray(inject)) {
  13927. for (var i = 0; i < inject.length; i++) {
  13928. normalized[inject[i]] = { from: inject[i] };
  13929. }
  13930. } else if (isPlainObject(inject)) {
  13931. for (var key in inject) {
  13932. var val = inject[key];
  13933. normalized[key] = isPlainObject(val)
  13934. ? extend({ from: key }, val)
  13935. : { from: val };
  13936. }
  13937. } else if (true) {
  13938. warn(
  13939. "Invalid value for option \"inject\": expected an Array or an Object, " +
  13940. "but got " + (toRawType(inject)) + ".",
  13941. vm
  13942. );
  13943. }
  13944. }
  13945. /**
  13946. * Normalize raw function directives into object format.
  13947. */
  13948. function normalizeDirectives (options) {
  13949. var dirs = options.directives;
  13950. if (dirs) {
  13951. for (var key in dirs) {
  13952. var def$$1 = dirs[key];
  13953. if (typeof def$$1 === 'function') {
  13954. dirs[key] = { bind: def$$1, update: def$$1 };
  13955. }
  13956. }
  13957. }
  13958. }
  13959. function assertObjectType (name, value, vm) {
  13960. if (!isPlainObject(value)) {
  13961. warn(
  13962. "Invalid value for option \"" + name + "\": expected an Object, " +
  13963. "but got " + (toRawType(value)) + ".",
  13964. vm
  13965. );
  13966. }
  13967. }
  13968. /**
  13969. * Merge two option objects into a new one.
  13970. * Core utility used in both instantiation and inheritance.
  13971. */
  13972. function mergeOptions (
  13973. parent,
  13974. child,
  13975. vm
  13976. ) {
  13977. if (true) {
  13978. checkComponents(child);
  13979. }
  13980. if (typeof child === 'function') {
  13981. child = child.options;
  13982. }
  13983. normalizeProps(child, vm);
  13984. normalizeInject(child, vm);
  13985. normalizeDirectives(child);
  13986. // Apply extends and mixins on the child options,
  13987. // but only if it is a raw options object that isn't
  13988. // the result of another mergeOptions call.
  13989. // Only merged options has the _base property.
  13990. if (!child._base) {
  13991. if (child.extends) {
  13992. parent = mergeOptions(parent, child.extends, vm);
  13993. }
  13994. if (child.mixins) {
  13995. for (var i = 0, l = child.mixins.length; i < l; i++) {
  13996. parent = mergeOptions(parent, child.mixins[i], vm);
  13997. }
  13998. }
  13999. }
  14000. var options = {};
  14001. var key;
  14002. for (key in parent) {
  14003. mergeField(key);
  14004. }
  14005. for (key in child) {
  14006. if (!hasOwn(parent, key)) {
  14007. mergeField(key);
  14008. }
  14009. }
  14010. function mergeField (key) {
  14011. var strat = strats[key] || defaultStrat;
  14012. options[key] = strat(parent[key], child[key], vm, key);
  14013. }
  14014. return options
  14015. }
  14016. /**
  14017. * Resolve an asset.
  14018. * This function is used because child instances need access
  14019. * to assets defined in its ancestor chain.
  14020. */
  14021. function resolveAsset (
  14022. options,
  14023. type,
  14024. id,
  14025. warnMissing
  14026. ) {
  14027. /* istanbul ignore if */
  14028. if (typeof id !== 'string') {
  14029. return
  14030. }
  14031. var assets = options[type];
  14032. // check local registration variations first
  14033. if (hasOwn(assets, id)) { return assets[id] }
  14034. var camelizedId = camelize(id);
  14035. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  14036. var PascalCaseId = capitalize(camelizedId);
  14037. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  14038. // fallback to prototype chain
  14039. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  14040. if ( true && warnMissing && !res) {
  14041. warn(
  14042. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  14043. options
  14044. );
  14045. }
  14046. return res
  14047. }
  14048. /* */
  14049. function validateProp (
  14050. key,
  14051. propOptions,
  14052. propsData,
  14053. vm
  14054. ) {
  14055. var prop = propOptions[key];
  14056. var absent = !hasOwn(propsData, key);
  14057. var value = propsData[key];
  14058. // boolean casting
  14059. var booleanIndex = getTypeIndex(Boolean, prop.type);
  14060. if (booleanIndex > -1) {
  14061. if (absent && !hasOwn(prop, 'default')) {
  14062. value = false;
  14063. } else if (value === '' || value === hyphenate(key)) {
  14064. // only cast empty string / same name to boolean if
  14065. // boolean has higher priority
  14066. var stringIndex = getTypeIndex(String, prop.type);
  14067. if (stringIndex < 0 || booleanIndex < stringIndex) {
  14068. value = true;
  14069. }
  14070. }
  14071. }
  14072. // check default value
  14073. if (value === undefined) {
  14074. value = getPropDefaultValue(vm, prop, key);
  14075. // since the default value is a fresh copy,
  14076. // make sure to observe it.
  14077. var prevShouldObserve = shouldObserve;
  14078. toggleObserving(true);
  14079. observe(value);
  14080. toggleObserving(prevShouldObserve);
  14081. }
  14082. if (
  14083. true
  14084. ) {
  14085. assertProp(prop, key, value, vm, absent);
  14086. }
  14087. return value
  14088. }
  14089. /**
  14090. * Get the default value of a prop.
  14091. */
  14092. function getPropDefaultValue (vm, prop, key) {
  14093. // no default, return undefined
  14094. if (!hasOwn(prop, 'default')) {
  14095. return undefined
  14096. }
  14097. var def = prop.default;
  14098. // warn against non-factory defaults for Object & Array
  14099. if ( true && isObject(def)) {
  14100. warn(
  14101. 'Invalid default value for prop "' + key + '": ' +
  14102. 'Props with type Object/Array must use a factory function ' +
  14103. 'to return the default value.',
  14104. vm
  14105. );
  14106. }
  14107. // the raw prop value was also undefined from previous render,
  14108. // return previous default value to avoid unnecessary watcher trigger
  14109. if (vm && vm.$options.propsData &&
  14110. vm.$options.propsData[key] === undefined &&
  14111. vm._props[key] !== undefined
  14112. ) {
  14113. return vm._props[key]
  14114. }
  14115. // call factory function for non-Function types
  14116. // a value is Function if its prototype is function even across different execution context
  14117. return typeof def === 'function' && getType(prop.type) !== 'Function'
  14118. ? def.call(vm)
  14119. : def
  14120. }
  14121. /**
  14122. * Assert whether a prop is valid.
  14123. */
  14124. function assertProp (
  14125. prop,
  14126. name,
  14127. value,
  14128. vm,
  14129. absent
  14130. ) {
  14131. if (prop.required && absent) {
  14132. warn(
  14133. 'Missing required prop: "' + name + '"',
  14134. vm
  14135. );
  14136. return
  14137. }
  14138. if (value == null && !prop.required) {
  14139. return
  14140. }
  14141. var type = prop.type;
  14142. var valid = !type || type === true;
  14143. var expectedTypes = [];
  14144. if (type) {
  14145. if (!Array.isArray(type)) {
  14146. type = [type];
  14147. }
  14148. for (var i = 0; i < type.length && !valid; i++) {
  14149. var assertedType = assertType(value, type[i]);
  14150. expectedTypes.push(assertedType.expectedType || '');
  14151. valid = assertedType.valid;
  14152. }
  14153. }
  14154. if (!valid) {
  14155. warn(
  14156. getInvalidTypeMessage(name, value, expectedTypes),
  14157. vm
  14158. );
  14159. return
  14160. }
  14161. var validator = prop.validator;
  14162. if (validator) {
  14163. if (!validator(value)) {
  14164. warn(
  14165. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  14166. vm
  14167. );
  14168. }
  14169. }
  14170. }
  14171. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  14172. function assertType (value, type) {
  14173. var valid;
  14174. var expectedType = getType(type);
  14175. if (simpleCheckRE.test(expectedType)) {
  14176. var t = typeof value;
  14177. valid = t === expectedType.toLowerCase();
  14178. // for primitive wrapper objects
  14179. if (!valid && t === 'object') {
  14180. valid = value instanceof type;
  14181. }
  14182. } else if (expectedType === 'Object') {
  14183. valid = isPlainObject(value);
  14184. } else if (expectedType === 'Array') {
  14185. valid = Array.isArray(value);
  14186. } else {
  14187. valid = value instanceof type;
  14188. }
  14189. return {
  14190. valid: valid,
  14191. expectedType: expectedType
  14192. }
  14193. }
  14194. /**
  14195. * Use function string name to check built-in types,
  14196. * because a simple equality check will fail when running
  14197. * across different vms / iframes.
  14198. */
  14199. function getType (fn) {
  14200. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  14201. return match ? match[1] : ''
  14202. }
  14203. function isSameType (a, b) {
  14204. return getType(a) === getType(b)
  14205. }
  14206. function getTypeIndex (type, expectedTypes) {
  14207. if (!Array.isArray(expectedTypes)) {
  14208. return isSameType(expectedTypes, type) ? 0 : -1
  14209. }
  14210. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  14211. if (isSameType(expectedTypes[i], type)) {
  14212. return i
  14213. }
  14214. }
  14215. return -1
  14216. }
  14217. function getInvalidTypeMessage (name, value, expectedTypes) {
  14218. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  14219. " Expected " + (expectedTypes.map(capitalize).join(', '));
  14220. var expectedType = expectedTypes[0];
  14221. var receivedType = toRawType(value);
  14222. var expectedValue = styleValue(value, expectedType);
  14223. var receivedValue = styleValue(value, receivedType);
  14224. // check if we need to specify expected value
  14225. if (expectedTypes.length === 1 &&
  14226. isExplicable(expectedType) &&
  14227. !isBoolean(expectedType, receivedType)) {
  14228. message += " with value " + expectedValue;
  14229. }
  14230. message += ", got " + receivedType + " ";
  14231. // check if we need to specify received value
  14232. if (isExplicable(receivedType)) {
  14233. message += "with value " + receivedValue + ".";
  14234. }
  14235. return message
  14236. }
  14237. function styleValue (value, type) {
  14238. if (type === 'String') {
  14239. return ("\"" + value + "\"")
  14240. } else if (type === 'Number') {
  14241. return ("" + (Number(value)))
  14242. } else {
  14243. return ("" + value)
  14244. }
  14245. }
  14246. function isExplicable (value) {
  14247. var explicitTypes = ['string', 'number', 'boolean'];
  14248. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  14249. }
  14250. function isBoolean () {
  14251. var args = [], len = arguments.length;
  14252. while ( len-- ) args[ len ] = arguments[ len ];
  14253. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  14254. }
  14255. /* */
  14256. function handleError (err, vm, info) {
  14257. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  14258. // See: https://github.com/vuejs/vuex/issues/1505
  14259. pushTarget();
  14260. try {
  14261. if (vm) {
  14262. var cur = vm;
  14263. while ((cur = cur.$parent)) {
  14264. var hooks = cur.$options.errorCaptured;
  14265. if (hooks) {
  14266. for (var i = 0; i < hooks.length; i++) {
  14267. try {
  14268. var capture = hooks[i].call(cur, err, vm, info) === false;
  14269. if (capture) { return }
  14270. } catch (e) {
  14271. globalHandleError(e, cur, 'errorCaptured hook');
  14272. }
  14273. }
  14274. }
  14275. }
  14276. }
  14277. globalHandleError(err, vm, info);
  14278. } finally {
  14279. popTarget();
  14280. }
  14281. }
  14282. function invokeWithErrorHandling (
  14283. handler,
  14284. context,
  14285. args,
  14286. vm,
  14287. info
  14288. ) {
  14289. var res;
  14290. try {
  14291. res = args ? handler.apply(context, args) : handler.call(context);
  14292. if (res && !res._isVue && isPromise(res) && !res._handled) {
  14293. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  14294. // issue #9511
  14295. // avoid catch triggering multiple times when nested calls
  14296. res._handled = true;
  14297. }
  14298. } catch (e) {
  14299. handleError(e, vm, info);
  14300. }
  14301. return res
  14302. }
  14303. function globalHandleError (err, vm, info) {
  14304. if (config.errorHandler) {
  14305. try {
  14306. return config.errorHandler.call(null, err, vm, info)
  14307. } catch (e) {
  14308. // if the user intentionally throws the original error in the handler,
  14309. // do not log it twice
  14310. if (e !== err) {
  14311. logError(e, null, 'config.errorHandler');
  14312. }
  14313. }
  14314. }
  14315. logError(err, vm, info);
  14316. }
  14317. function logError (err, vm, info) {
  14318. if (true) {
  14319. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  14320. }
  14321. /* istanbul ignore else */
  14322. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  14323. console.error(err);
  14324. } else {
  14325. throw err
  14326. }
  14327. }
  14328. /* */
  14329. var callbacks = [];
  14330. var pending = false;
  14331. function flushCallbacks () {
  14332. pending = false;
  14333. var copies = callbacks.slice(0);
  14334. callbacks.length = 0;
  14335. for (var i = 0; i < copies.length; i++) {
  14336. copies[i]();
  14337. }
  14338. }
  14339. // Here we have async deferring wrappers using microtasks.
  14340. // In 2.5 we used (macro) tasks (in combination with microtasks).
  14341. // However, it has subtle problems when state is changed right before repaint
  14342. // (e.g. #6813, out-in transitions).
  14343. // Also, using (macro) tasks in event handler would cause some weird behaviors
  14344. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  14345. // So we now use microtasks everywhere, again.
  14346. // A major drawback of this tradeoff is that there are some scenarios
  14347. // where microtasks have too high a priority and fire in between supposedly
  14348. // sequential events (e.g. #4521, #6690, which have workarounds)
  14349. // or even between bubbling of the same event (#6566).
  14350. var timerFunc;
  14351. // The nextTick behavior leverages the microtask queue, which can be accessed
  14352. // via either native Promise.then or MutationObserver.
  14353. // MutationObserver has wider support, however it is seriously bugged in
  14354. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  14355. // completely stops working after triggering a few times... so, if native
  14356. // Promise is available, we will use it:
  14357. /* istanbul ignore next, $flow-disable-line */
  14358. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  14359. var p = Promise.resolve();
  14360. timerFunc = function () {
  14361. p.then(flushCallbacks);
  14362. // In problematic UIWebViews, Promise.then doesn't completely break, but
  14363. // it can get stuck in a weird state where callbacks are pushed into the
  14364. // microtask queue but the queue isn't being flushed, until the browser
  14365. // needs to do some other work, e.g. handle a timer. Therefore we can
  14366. // "force" the microtask queue to be flushed by adding an empty timer.
  14367. if (isIOS) { setTimeout(noop); }
  14368. };
  14369. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  14370. isNative(MutationObserver) ||
  14371. // PhantomJS and iOS 7.x
  14372. MutationObserver.toString() === '[object MutationObserverConstructor]'
  14373. )) {
  14374. // Use MutationObserver where native Promise is not available,
  14375. // e.g. PhantomJS, iOS7, Android 4.4
  14376. // (#6466 MutationObserver is unreliable in IE11)
  14377. var counter = 1;
  14378. var observer = new MutationObserver(flushCallbacks);
  14379. var textNode = document.createTextNode(String(counter));
  14380. observer.observe(textNode, {
  14381. characterData: true
  14382. });
  14383. timerFunc = function () {
  14384. counter = (counter + 1) % 2;
  14385. textNode.data = String(counter);
  14386. };
  14387. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  14388. // Fallback to setImmediate.
  14389. // Technically it leverages the (macro) task queue,
  14390. // but it is still a better choice than setTimeout.
  14391. timerFunc = function () {
  14392. setImmediate(flushCallbacks);
  14393. };
  14394. } else {
  14395. // Fallback to setTimeout.
  14396. timerFunc = function () {
  14397. setTimeout(flushCallbacks, 0);
  14398. };
  14399. }
  14400. function nextTick (cb, ctx) {
  14401. var _resolve;
  14402. callbacks.push(function () {
  14403. if (cb) {
  14404. try {
  14405. cb.call(ctx);
  14406. } catch (e) {
  14407. handleError(e, ctx, 'nextTick');
  14408. }
  14409. } else if (_resolve) {
  14410. _resolve(ctx);
  14411. }
  14412. });
  14413. if (!pending) {
  14414. pending = true;
  14415. timerFunc();
  14416. }
  14417. // $flow-disable-line
  14418. if (!cb && typeof Promise !== 'undefined') {
  14419. return new Promise(function (resolve) {
  14420. _resolve = resolve;
  14421. })
  14422. }
  14423. }
  14424. /* */
  14425. /* not type checking this file because flow doesn't play well with Proxy */
  14426. var initProxy;
  14427. if (true) {
  14428. var allowedGlobals = makeMap(
  14429. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  14430. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  14431. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  14432. 'require' // for Webpack/Browserify
  14433. );
  14434. var warnNonPresent = function (target, key) {
  14435. warn(
  14436. "Property or method \"" + key + "\" is not defined on the instance but " +
  14437. 'referenced during render. Make sure that this property is reactive, ' +
  14438. 'either in the data option, or for class-based components, by ' +
  14439. 'initializing the property. ' +
  14440. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  14441. target
  14442. );
  14443. };
  14444. var warnReservedPrefix = function (target, key) {
  14445. warn(
  14446. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  14447. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  14448. 'prevent conflicts with Vue internals. ' +
  14449. 'See: https://vuejs.org/v2/api/#data',
  14450. target
  14451. );
  14452. };
  14453. var hasProxy =
  14454. typeof Proxy !== 'undefined' && isNative(Proxy);
  14455. if (hasProxy) {
  14456. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  14457. config.keyCodes = new Proxy(config.keyCodes, {
  14458. set: function set (target, key, value) {
  14459. if (isBuiltInModifier(key)) {
  14460. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  14461. return false
  14462. } else {
  14463. target[key] = value;
  14464. return true
  14465. }
  14466. }
  14467. });
  14468. }
  14469. var hasHandler = {
  14470. has: function has (target, key) {
  14471. var has = key in target;
  14472. var isAllowed = allowedGlobals(key) ||
  14473. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  14474. if (!has && !isAllowed) {
  14475. if (key in target.$data) { warnReservedPrefix(target, key); }
  14476. else { warnNonPresent(target, key); }
  14477. }
  14478. return has || !isAllowed
  14479. }
  14480. };
  14481. var getHandler = {
  14482. get: function get (target, key) {
  14483. if (typeof key === 'string' && !(key in target)) {
  14484. if (key in target.$data) { warnReservedPrefix(target, key); }
  14485. else { warnNonPresent(target, key); }
  14486. }
  14487. return target[key]
  14488. }
  14489. };
  14490. initProxy = function initProxy (vm) {
  14491. if (hasProxy) {
  14492. // determine which proxy handler to use
  14493. var options = vm.$options;
  14494. var handlers = options.render && options.render._withStripped
  14495. ? getHandler
  14496. : hasHandler;
  14497. vm._renderProxy = new Proxy(vm, handlers);
  14498. } else {
  14499. vm._renderProxy = vm;
  14500. }
  14501. };
  14502. }
  14503. /* */
  14504. var seenObjects = new _Set();
  14505. /**
  14506. * Recursively traverse an object to evoke all converted
  14507. * getters, so that every nested property inside the object
  14508. * is collected as a "deep" dependency.
  14509. */
  14510. function traverse (val) {
  14511. _traverse(val, seenObjects);
  14512. seenObjects.clear();
  14513. }
  14514. function _traverse (val, seen) {
  14515. var i, keys;
  14516. var isA = Array.isArray(val);
  14517. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  14518. return
  14519. }
  14520. if (val.__ob__) {
  14521. var depId = val.__ob__.dep.id;
  14522. if (seen.has(depId)) {
  14523. return
  14524. }
  14525. seen.add(depId);
  14526. }
  14527. if (isA) {
  14528. i = val.length;
  14529. while (i--) { _traverse(val[i], seen); }
  14530. } else {
  14531. keys = Object.keys(val);
  14532. i = keys.length;
  14533. while (i--) { _traverse(val[keys[i]], seen); }
  14534. }
  14535. }
  14536. var mark;
  14537. var measure;
  14538. if (true) {
  14539. var perf = inBrowser && window.performance;
  14540. /* istanbul ignore if */
  14541. if (
  14542. perf &&
  14543. perf.mark &&
  14544. perf.measure &&
  14545. perf.clearMarks &&
  14546. perf.clearMeasures
  14547. ) {
  14548. mark = function (tag) { return perf.mark(tag); };
  14549. measure = function (name, startTag, endTag) {
  14550. perf.measure(name, startTag, endTag);
  14551. perf.clearMarks(startTag);
  14552. perf.clearMarks(endTag);
  14553. // perf.clearMeasures(name)
  14554. };
  14555. }
  14556. }
  14557. /* */
  14558. var normalizeEvent = cached(function (name) {
  14559. var passive = name.charAt(0) === '&';
  14560. name = passive ? name.slice(1) : name;
  14561. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  14562. name = once$$1 ? name.slice(1) : name;
  14563. var capture = name.charAt(0) === '!';
  14564. name = capture ? name.slice(1) : name;
  14565. return {
  14566. name: name,
  14567. once: once$$1,
  14568. capture: capture,
  14569. passive: passive
  14570. }
  14571. });
  14572. function createFnInvoker (fns, vm) {
  14573. function invoker () {
  14574. var arguments$1 = arguments;
  14575. var fns = invoker.fns;
  14576. if (Array.isArray(fns)) {
  14577. var cloned = fns.slice();
  14578. for (var i = 0; i < cloned.length; i++) {
  14579. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  14580. }
  14581. } else {
  14582. // return handler return value for single handlers
  14583. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  14584. }
  14585. }
  14586. invoker.fns = fns;
  14587. return invoker
  14588. }
  14589. function updateListeners (
  14590. on,
  14591. oldOn,
  14592. add,
  14593. remove$$1,
  14594. createOnceHandler,
  14595. vm
  14596. ) {
  14597. var name, def$$1, cur, old, event;
  14598. for (name in on) {
  14599. def$$1 = cur = on[name];
  14600. old = oldOn[name];
  14601. event = normalizeEvent(name);
  14602. if (isUndef(cur)) {
  14603. true && warn(
  14604. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  14605. vm
  14606. );
  14607. } else if (isUndef(old)) {
  14608. if (isUndef(cur.fns)) {
  14609. cur = on[name] = createFnInvoker(cur, vm);
  14610. }
  14611. if (isTrue(event.once)) {
  14612. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  14613. }
  14614. add(event.name, cur, event.capture, event.passive, event.params);
  14615. } else if (cur !== old) {
  14616. old.fns = cur;
  14617. on[name] = old;
  14618. }
  14619. }
  14620. for (name in oldOn) {
  14621. if (isUndef(on[name])) {
  14622. event = normalizeEvent(name);
  14623. remove$$1(event.name, oldOn[name], event.capture);
  14624. }
  14625. }
  14626. }
  14627. /* */
  14628. /* */
  14629. // fixed by xxxxxx (mp properties)
  14630. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  14631. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  14632. if (isUndef(propOptions)) {
  14633. return res
  14634. }
  14635. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  14636. var attrs = data.attrs;
  14637. var props = data.props;
  14638. if (isDef(attrs) || isDef(props)) {
  14639. for (var key in propOptions) {
  14640. var altKey = hyphenate(key);
  14641. var result = checkProp(res, props, key, altKey, true) ||
  14642. checkProp(res, attrs, key, altKey, false);
  14643. // externalClass
  14644. if (
  14645. result &&
  14646. res[key] &&
  14647. externalClasses.indexOf(altKey) !== -1 &&
  14648. context[camelize(res[key])]
  14649. ) {
  14650. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  14651. res[key] = context[camelize(res[key])];
  14652. }
  14653. }
  14654. }
  14655. return res
  14656. }
  14657. function extractPropsFromVNodeData (
  14658. data,
  14659. Ctor,
  14660. tag,
  14661. context// fixed by xxxxxx
  14662. ) {
  14663. // we are only extracting raw values here.
  14664. // validation and default values are handled in the child
  14665. // component itself.
  14666. var propOptions = Ctor.options.props;
  14667. if (isUndef(propOptions)) {
  14668. // fixed by xxxxxx
  14669. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  14670. }
  14671. var res = {};
  14672. var attrs = data.attrs;
  14673. var props = data.props;
  14674. if (isDef(attrs) || isDef(props)) {
  14675. for (var key in propOptions) {
  14676. var altKey = hyphenate(key);
  14677. if (true) {
  14678. var keyInLowerCase = key.toLowerCase();
  14679. if (
  14680. key !== keyInLowerCase &&
  14681. attrs && hasOwn(attrs, keyInLowerCase)
  14682. ) {
  14683. tip(
  14684. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  14685. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  14686. " \"" + key + "\". " +
  14687. "Note that HTML attributes are case-insensitive and camelCased " +
  14688. "props need to use their kebab-case equivalents when using in-DOM " +
  14689. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  14690. );
  14691. }
  14692. }
  14693. checkProp(res, props, key, altKey, true) ||
  14694. checkProp(res, attrs, key, altKey, false);
  14695. }
  14696. }
  14697. // fixed by xxxxxx
  14698. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  14699. }
  14700. function checkProp (
  14701. res,
  14702. hash,
  14703. key,
  14704. altKey,
  14705. preserve
  14706. ) {
  14707. if (isDef(hash)) {
  14708. if (hasOwn(hash, key)) {
  14709. res[key] = hash[key];
  14710. if (!preserve) {
  14711. delete hash[key];
  14712. }
  14713. return true
  14714. } else if (hasOwn(hash, altKey)) {
  14715. res[key] = hash[altKey];
  14716. if (!preserve) {
  14717. delete hash[altKey];
  14718. }
  14719. return true
  14720. }
  14721. }
  14722. return false
  14723. }
  14724. /* */
  14725. // The template compiler attempts to minimize the need for normalization by
  14726. // statically analyzing the template at compile time.
  14727. //
  14728. // For plain HTML markup, normalization can be completely skipped because the
  14729. // generated render function is guaranteed to return Array<VNode>. There are
  14730. // two cases where extra normalization is needed:
  14731. // 1. When the children contains components - because a functional component
  14732. // may return an Array instead of a single root. In this case, just a simple
  14733. // normalization is needed - if any child is an Array, we flatten the whole
  14734. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  14735. // because functional components already normalize their own children.
  14736. function simpleNormalizeChildren (children) {
  14737. for (var i = 0; i < children.length; i++) {
  14738. if (Array.isArray(children[i])) {
  14739. return Array.prototype.concat.apply([], children)
  14740. }
  14741. }
  14742. return children
  14743. }
  14744. // 2. When the children contains constructs that always generated nested Arrays,
  14745. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  14746. // with hand-written render functions / JSX. In such cases a full normalization
  14747. // is needed to cater to all possible types of children values.
  14748. function normalizeChildren (children) {
  14749. return isPrimitive(children)
  14750. ? [createTextVNode(children)]
  14751. : Array.isArray(children)
  14752. ? normalizeArrayChildren(children)
  14753. : undefined
  14754. }
  14755. function isTextNode (node) {
  14756. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  14757. }
  14758. function normalizeArrayChildren (children, nestedIndex) {
  14759. var res = [];
  14760. var i, c, lastIndex, last;
  14761. for (i = 0; i < children.length; i++) {
  14762. c = children[i];
  14763. if (isUndef(c) || typeof c === 'boolean') { continue }
  14764. lastIndex = res.length - 1;
  14765. last = res[lastIndex];
  14766. // nested
  14767. if (Array.isArray(c)) {
  14768. if (c.length > 0) {
  14769. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  14770. // merge adjacent text nodes
  14771. if (isTextNode(c[0]) && isTextNode(last)) {
  14772. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  14773. c.shift();
  14774. }
  14775. res.push.apply(res, c);
  14776. }
  14777. } else if (isPrimitive(c)) {
  14778. if (isTextNode(last)) {
  14779. // merge adjacent text nodes
  14780. // this is necessary for SSR hydration because text nodes are
  14781. // essentially merged when rendered to HTML strings
  14782. res[lastIndex] = createTextVNode(last.text + c);
  14783. } else if (c !== '') {
  14784. // convert primitive to vnode
  14785. res.push(createTextVNode(c));
  14786. }
  14787. } else {
  14788. if (isTextNode(c) && isTextNode(last)) {
  14789. // merge adjacent text nodes
  14790. res[lastIndex] = createTextVNode(last.text + c.text);
  14791. } else {
  14792. // default key for nested array children (likely generated by v-for)
  14793. if (isTrue(children._isVList) &&
  14794. isDef(c.tag) &&
  14795. isUndef(c.key) &&
  14796. isDef(nestedIndex)) {
  14797. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  14798. }
  14799. res.push(c);
  14800. }
  14801. }
  14802. }
  14803. return res
  14804. }
  14805. /* */
  14806. function initProvide (vm) {
  14807. var provide = vm.$options.provide;
  14808. if (provide) {
  14809. vm._provided = typeof provide === 'function'
  14810. ? provide.call(vm)
  14811. : provide;
  14812. }
  14813. }
  14814. function initInjections (vm) {
  14815. var result = resolveInject(vm.$options.inject, vm);
  14816. if (result) {
  14817. toggleObserving(false);
  14818. Object.keys(result).forEach(function (key) {
  14819. /* istanbul ignore else */
  14820. if (true) {
  14821. defineReactive$$1(vm, key, result[key], function () {
  14822. warn(
  14823. "Avoid mutating an injected value directly since the changes will be " +
  14824. "overwritten whenever the provided component re-renders. " +
  14825. "injection being mutated: \"" + key + "\"",
  14826. vm
  14827. );
  14828. });
  14829. } else {}
  14830. });
  14831. toggleObserving(true);
  14832. }
  14833. }
  14834. function resolveInject (inject, vm) {
  14835. if (inject) {
  14836. // inject is :any because flow is not smart enough to figure out cached
  14837. var result = Object.create(null);
  14838. var keys = hasSymbol
  14839. ? Reflect.ownKeys(inject)
  14840. : Object.keys(inject);
  14841. for (var i = 0; i < keys.length; i++) {
  14842. var key = keys[i];
  14843. // #6574 in case the inject object is observed...
  14844. if (key === '__ob__') { continue }
  14845. var provideKey = inject[key].from;
  14846. var source = vm;
  14847. while (source) {
  14848. if (source._provided && hasOwn(source._provided, provideKey)) {
  14849. result[key] = source._provided[provideKey];
  14850. break
  14851. }
  14852. source = source.$parent;
  14853. }
  14854. if (!source) {
  14855. if ('default' in inject[key]) {
  14856. var provideDefault = inject[key].default;
  14857. result[key] = typeof provideDefault === 'function'
  14858. ? provideDefault.call(vm)
  14859. : provideDefault;
  14860. } else if (true) {
  14861. warn(("Injection \"" + key + "\" not found"), vm);
  14862. }
  14863. }
  14864. }
  14865. return result
  14866. }
  14867. }
  14868. /* */
  14869. /**
  14870. * Runtime helper for resolving raw children VNodes into a slot object.
  14871. */
  14872. function resolveSlots (
  14873. children,
  14874. context
  14875. ) {
  14876. if (!children || !children.length) {
  14877. return {}
  14878. }
  14879. var slots = {};
  14880. for (var i = 0, l = children.length; i < l; i++) {
  14881. var child = children[i];
  14882. var data = child.data;
  14883. // remove slot attribute if the node is resolved as a Vue slot node
  14884. if (data && data.attrs && data.attrs.slot) {
  14885. delete data.attrs.slot;
  14886. }
  14887. // named slots should only be respected if the vnode was rendered in the
  14888. // same context.
  14889. if ((child.context === context || child.fnContext === context) &&
  14890. data && data.slot != null
  14891. ) {
  14892. var name = data.slot;
  14893. var slot = (slots[name] || (slots[name] = []));
  14894. if (child.tag === 'template') {
  14895. slot.push.apply(slot, child.children || []);
  14896. } else {
  14897. slot.push(child);
  14898. }
  14899. } else {
  14900. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  14901. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  14902. (slots['page'] || (slots['page'] = [])).push(child);
  14903. }else{
  14904. (slots.default || (slots.default = [])).push(child);
  14905. }
  14906. }
  14907. }
  14908. // ignore slots that contains only whitespace
  14909. for (var name$1 in slots) {
  14910. if (slots[name$1].every(isWhitespace)) {
  14911. delete slots[name$1];
  14912. }
  14913. }
  14914. return slots
  14915. }
  14916. function isWhitespace (node) {
  14917. return (node.isComment && !node.asyncFactory) || node.text === ' '
  14918. }
  14919. /* */
  14920. function normalizeScopedSlots (
  14921. slots,
  14922. normalSlots,
  14923. prevSlots
  14924. ) {
  14925. var res;
  14926. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  14927. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  14928. var key = slots && slots.$key;
  14929. if (!slots) {
  14930. res = {};
  14931. } else if (slots._normalized) {
  14932. // fast path 1: child component re-render only, parent did not change
  14933. return slots._normalized
  14934. } else if (
  14935. isStable &&
  14936. prevSlots &&
  14937. prevSlots !== emptyObject &&
  14938. key === prevSlots.$key &&
  14939. !hasNormalSlots &&
  14940. !prevSlots.$hasNormal
  14941. ) {
  14942. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  14943. // only need to normalize once
  14944. return prevSlots
  14945. } else {
  14946. res = {};
  14947. for (var key$1 in slots) {
  14948. if (slots[key$1] && key$1[0] !== '$') {
  14949. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  14950. }
  14951. }
  14952. }
  14953. // expose normal slots on scopedSlots
  14954. for (var key$2 in normalSlots) {
  14955. if (!(key$2 in res)) {
  14956. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  14957. }
  14958. }
  14959. // avoriaz seems to mock a non-extensible $scopedSlots object
  14960. // and when that is passed down this would cause an error
  14961. if (slots && Object.isExtensible(slots)) {
  14962. (slots)._normalized = res;
  14963. }
  14964. def(res, '$stable', isStable);
  14965. def(res, '$key', key);
  14966. def(res, '$hasNormal', hasNormalSlots);
  14967. return res
  14968. }
  14969. function normalizeScopedSlot(normalSlots, key, fn) {
  14970. var normalized = function () {
  14971. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  14972. res = res && typeof res === 'object' && !Array.isArray(res)
  14973. ? [res] // single vnode
  14974. : normalizeChildren(res);
  14975. return res && (
  14976. res.length === 0 ||
  14977. (res.length === 1 && res[0].isComment) // #9658
  14978. ) ? undefined
  14979. : res
  14980. };
  14981. // this is a slot using the new v-slot syntax without scope. although it is
  14982. // compiled as a scoped slot, render fn users would expect it to be present
  14983. // on this.$slots because the usage is semantically a normal slot.
  14984. if (fn.proxy) {
  14985. Object.defineProperty(normalSlots, key, {
  14986. get: normalized,
  14987. enumerable: true,
  14988. configurable: true
  14989. });
  14990. }
  14991. return normalized
  14992. }
  14993. function proxyNormalSlot(slots, key) {
  14994. return function () { return slots[key]; }
  14995. }
  14996. /* */
  14997. /**
  14998. * Runtime helper for rendering v-for lists.
  14999. */
  15000. function renderList (
  15001. val,
  15002. render
  15003. ) {
  15004. var ret, i, l, keys, key;
  15005. if (Array.isArray(val) || typeof val === 'string') {
  15006. ret = new Array(val.length);
  15007. for (i = 0, l = val.length; i < l; i++) {
  15008. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  15009. }
  15010. } else if (typeof val === 'number') {
  15011. ret = new Array(val);
  15012. for (i = 0; i < val; i++) {
  15013. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  15014. }
  15015. } else if (isObject(val)) {
  15016. if (hasSymbol && val[Symbol.iterator]) {
  15017. ret = [];
  15018. var iterator = val[Symbol.iterator]();
  15019. var result = iterator.next();
  15020. while (!result.done) {
  15021. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  15022. result = iterator.next();
  15023. }
  15024. } else {
  15025. keys = Object.keys(val);
  15026. ret = new Array(keys.length);
  15027. for (i = 0, l = keys.length; i < l; i++) {
  15028. key = keys[i];
  15029. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  15030. }
  15031. }
  15032. }
  15033. if (!isDef(ret)) {
  15034. ret = [];
  15035. }
  15036. (ret)._isVList = true;
  15037. return ret
  15038. }
  15039. /* */
  15040. /**
  15041. * Runtime helper for rendering <slot>
  15042. */
  15043. function renderSlot (
  15044. name,
  15045. fallback,
  15046. props,
  15047. bindObject
  15048. ) {
  15049. var scopedSlotFn = this.$scopedSlots[name];
  15050. var nodes;
  15051. if (scopedSlotFn) { // scoped slot
  15052. props = props || {};
  15053. if (bindObject) {
  15054. if ( true && !isObject(bindObject)) {
  15055. warn(
  15056. 'slot v-bind without argument expects an Object',
  15057. this
  15058. );
  15059. }
  15060. props = extend(extend({}, bindObject), props);
  15061. }
  15062. // fixed by xxxxxx app-plus scopedSlot
  15063. nodes = scopedSlotFn(props, this, props._i) || fallback;
  15064. } else {
  15065. nodes = this.$slots[name] || fallback;
  15066. }
  15067. var target = props && props.slot;
  15068. if (target) {
  15069. return this.$createElement('template', { slot: target }, nodes)
  15070. } else {
  15071. return nodes
  15072. }
  15073. }
  15074. /* */
  15075. /**
  15076. * Runtime helper for resolving filters
  15077. */
  15078. function resolveFilter (id) {
  15079. return resolveAsset(this.$options, 'filters', id, true) || identity
  15080. }
  15081. /* */
  15082. function isKeyNotMatch (expect, actual) {
  15083. if (Array.isArray(expect)) {
  15084. return expect.indexOf(actual) === -1
  15085. } else {
  15086. return expect !== actual
  15087. }
  15088. }
  15089. /**
  15090. * Runtime helper for checking keyCodes from config.
  15091. * exposed as Vue.prototype._k
  15092. * passing in eventKeyName as last argument separately for backwards compat
  15093. */
  15094. function checkKeyCodes (
  15095. eventKeyCode,
  15096. key,
  15097. builtInKeyCode,
  15098. eventKeyName,
  15099. builtInKeyName
  15100. ) {
  15101. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  15102. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  15103. return isKeyNotMatch(builtInKeyName, eventKeyName)
  15104. } else if (mappedKeyCode) {
  15105. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  15106. } else if (eventKeyName) {
  15107. return hyphenate(eventKeyName) !== key
  15108. }
  15109. }
  15110. /* */
  15111. /**
  15112. * Runtime helper for merging v-bind="object" into a VNode's data.
  15113. */
  15114. function bindObjectProps (
  15115. data,
  15116. tag,
  15117. value,
  15118. asProp,
  15119. isSync
  15120. ) {
  15121. if (value) {
  15122. if (!isObject(value)) {
  15123. true && warn(
  15124. 'v-bind without argument expects an Object or Array value',
  15125. this
  15126. );
  15127. } else {
  15128. if (Array.isArray(value)) {
  15129. value = toObject(value);
  15130. }
  15131. var hash;
  15132. var loop = function ( key ) {
  15133. if (
  15134. key === 'class' ||
  15135. key === 'style' ||
  15136. isReservedAttribute(key)
  15137. ) {
  15138. hash = data;
  15139. } else {
  15140. var type = data.attrs && data.attrs.type;
  15141. hash = asProp || config.mustUseProp(tag, type, key)
  15142. ? data.domProps || (data.domProps = {})
  15143. : data.attrs || (data.attrs = {});
  15144. }
  15145. var camelizedKey = camelize(key);
  15146. var hyphenatedKey = hyphenate(key);
  15147. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  15148. hash[key] = value[key];
  15149. if (isSync) {
  15150. var on = data.on || (data.on = {});
  15151. on[("update:" + key)] = function ($event) {
  15152. value[key] = $event;
  15153. };
  15154. }
  15155. }
  15156. };
  15157. for (var key in value) loop( key );
  15158. }
  15159. }
  15160. return data
  15161. }
  15162. /* */
  15163. /**
  15164. * Runtime helper for rendering static trees.
  15165. */
  15166. function renderStatic (
  15167. index,
  15168. isInFor
  15169. ) {
  15170. var cached = this._staticTrees || (this._staticTrees = []);
  15171. var tree = cached[index];
  15172. // if has already-rendered static tree and not inside v-for,
  15173. // we can reuse the same tree.
  15174. if (tree && !isInFor) {
  15175. return tree
  15176. }
  15177. // otherwise, render a fresh tree.
  15178. tree = cached[index] = this.$options.staticRenderFns[index].call(
  15179. this._renderProxy,
  15180. null,
  15181. this // for render fns generated for functional component templates
  15182. );
  15183. markStatic(tree, ("__static__" + index), false);
  15184. return tree
  15185. }
  15186. /**
  15187. * Runtime helper for v-once.
  15188. * Effectively it means marking the node as static with a unique key.
  15189. */
  15190. function markOnce (
  15191. tree,
  15192. index,
  15193. key
  15194. ) {
  15195. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  15196. return tree
  15197. }
  15198. function markStatic (
  15199. tree,
  15200. key,
  15201. isOnce
  15202. ) {
  15203. if (Array.isArray(tree)) {
  15204. for (var i = 0; i < tree.length; i++) {
  15205. if (tree[i] && typeof tree[i] !== 'string') {
  15206. markStaticNode(tree[i], (key + "_" + i), isOnce);
  15207. }
  15208. }
  15209. } else {
  15210. markStaticNode(tree, key, isOnce);
  15211. }
  15212. }
  15213. function markStaticNode (node, key, isOnce) {
  15214. node.isStatic = true;
  15215. node.key = key;
  15216. node.isOnce = isOnce;
  15217. }
  15218. /* */
  15219. function bindObjectListeners (data, value) {
  15220. if (value) {
  15221. if (!isPlainObject(value)) {
  15222. true && warn(
  15223. 'v-on without argument expects an Object value',
  15224. this
  15225. );
  15226. } else {
  15227. var on = data.on = data.on ? extend({}, data.on) : {};
  15228. for (var key in value) {
  15229. var existing = on[key];
  15230. var ours = value[key];
  15231. on[key] = existing ? [].concat(existing, ours) : ours;
  15232. }
  15233. }
  15234. }
  15235. return data
  15236. }
  15237. /* */
  15238. function resolveScopedSlots (
  15239. fns, // see flow/vnode
  15240. res,
  15241. // the following are added in 2.6
  15242. hasDynamicKeys,
  15243. contentHashKey
  15244. ) {
  15245. res = res || { $stable: !hasDynamicKeys };
  15246. for (var i = 0; i < fns.length; i++) {
  15247. var slot = fns[i];
  15248. if (Array.isArray(slot)) {
  15249. resolveScopedSlots(slot, res, hasDynamicKeys);
  15250. } else if (slot) {
  15251. // marker for reverse proxying v-slot without scope on this.$slots
  15252. if (slot.proxy) {
  15253. slot.fn.proxy = true;
  15254. }
  15255. res[slot.key] = slot.fn;
  15256. }
  15257. }
  15258. if (contentHashKey) {
  15259. (res).$key = contentHashKey;
  15260. }
  15261. return res
  15262. }
  15263. /* */
  15264. function bindDynamicKeys (baseObj, values) {
  15265. for (var i = 0; i < values.length; i += 2) {
  15266. var key = values[i];
  15267. if (typeof key === 'string' && key) {
  15268. baseObj[values[i]] = values[i + 1];
  15269. } else if ( true && key !== '' && key !== null) {
  15270. // null is a special value for explicitly removing a binding
  15271. warn(
  15272. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  15273. this
  15274. );
  15275. }
  15276. }
  15277. return baseObj
  15278. }
  15279. // helper to dynamically append modifier runtime markers to event names.
  15280. // ensure only append when value is already string, otherwise it will be cast
  15281. // to string and cause the type check to miss.
  15282. function prependModifier (value, symbol) {
  15283. return typeof value === 'string' ? symbol + value : value
  15284. }
  15285. /* */
  15286. function installRenderHelpers (target) {
  15287. target._o = markOnce;
  15288. target._n = toNumber;
  15289. target._s = toString;
  15290. target._l = renderList;
  15291. target._t = renderSlot;
  15292. target._q = looseEqual;
  15293. target._i = looseIndexOf;
  15294. target._m = renderStatic;
  15295. target._f = resolveFilter;
  15296. target._k = checkKeyCodes;
  15297. target._b = bindObjectProps;
  15298. target._v = createTextVNode;
  15299. target._e = createEmptyVNode;
  15300. target._u = resolveScopedSlots;
  15301. target._g = bindObjectListeners;
  15302. target._d = bindDynamicKeys;
  15303. target._p = prependModifier;
  15304. }
  15305. /* */
  15306. function FunctionalRenderContext (
  15307. data,
  15308. props,
  15309. children,
  15310. parent,
  15311. Ctor
  15312. ) {
  15313. var this$1 = this;
  15314. var options = Ctor.options;
  15315. // ensure the createElement function in functional components
  15316. // gets a unique context - this is necessary for correct named slot check
  15317. var contextVm;
  15318. if (hasOwn(parent, '_uid')) {
  15319. contextVm = Object.create(parent);
  15320. // $flow-disable-line
  15321. contextVm._original = parent;
  15322. } else {
  15323. // the context vm passed in is a functional context as well.
  15324. // in this case we want to make sure we are able to get a hold to the
  15325. // real context instance.
  15326. contextVm = parent;
  15327. // $flow-disable-line
  15328. parent = parent._original;
  15329. }
  15330. var isCompiled = isTrue(options._compiled);
  15331. var needNormalization = !isCompiled;
  15332. this.data = data;
  15333. this.props = props;
  15334. this.children = children;
  15335. this.parent = parent;
  15336. this.listeners = data.on || emptyObject;
  15337. this.injections = resolveInject(options.inject, parent);
  15338. this.slots = function () {
  15339. if (!this$1.$slots) {
  15340. normalizeScopedSlots(
  15341. data.scopedSlots,
  15342. this$1.$slots = resolveSlots(children, parent)
  15343. );
  15344. }
  15345. return this$1.$slots
  15346. };
  15347. Object.defineProperty(this, 'scopedSlots', ({
  15348. enumerable: true,
  15349. get: function get () {
  15350. return normalizeScopedSlots(data.scopedSlots, this.slots())
  15351. }
  15352. }));
  15353. // support for compiled functional template
  15354. if (isCompiled) {
  15355. // exposing $options for renderStatic()
  15356. this.$options = options;
  15357. // pre-resolve slots for renderSlot()
  15358. this.$slots = this.slots();
  15359. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  15360. }
  15361. if (options._scopeId) {
  15362. this._c = function (a, b, c, d) {
  15363. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  15364. if (vnode && !Array.isArray(vnode)) {
  15365. vnode.fnScopeId = options._scopeId;
  15366. vnode.fnContext = parent;
  15367. }
  15368. return vnode
  15369. };
  15370. } else {
  15371. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  15372. }
  15373. }
  15374. installRenderHelpers(FunctionalRenderContext.prototype);
  15375. function createFunctionalComponent (
  15376. Ctor,
  15377. propsData,
  15378. data,
  15379. contextVm,
  15380. children
  15381. ) {
  15382. var options = Ctor.options;
  15383. var props = {};
  15384. var propOptions = options.props;
  15385. if (isDef(propOptions)) {
  15386. for (var key in propOptions) {
  15387. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  15388. }
  15389. } else {
  15390. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  15391. if (isDef(data.props)) { mergeProps(props, data.props); }
  15392. }
  15393. var renderContext = new FunctionalRenderContext(
  15394. data,
  15395. props,
  15396. children,
  15397. contextVm,
  15398. Ctor
  15399. );
  15400. var vnode = options.render.call(null, renderContext._c, renderContext);
  15401. if (vnode instanceof VNode) {
  15402. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  15403. } else if (Array.isArray(vnode)) {
  15404. var vnodes = normalizeChildren(vnode) || [];
  15405. var res = new Array(vnodes.length);
  15406. for (var i = 0; i < vnodes.length; i++) {
  15407. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  15408. }
  15409. return res
  15410. }
  15411. }
  15412. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  15413. // #7817 clone node before setting fnContext, otherwise if the node is reused
  15414. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  15415. // that should not be matched to match.
  15416. var clone = cloneVNode(vnode);
  15417. clone.fnContext = contextVm;
  15418. clone.fnOptions = options;
  15419. if (true) {
  15420. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  15421. }
  15422. if (data.slot) {
  15423. (clone.data || (clone.data = {})).slot = data.slot;
  15424. }
  15425. return clone
  15426. }
  15427. function mergeProps (to, from) {
  15428. for (var key in from) {
  15429. to[camelize(key)] = from[key];
  15430. }
  15431. }
  15432. /* */
  15433. /* */
  15434. /* */
  15435. /* */
  15436. // inline hooks to be invoked on component VNodes during patch
  15437. var componentVNodeHooks = {
  15438. init: function init (vnode, hydrating) {
  15439. if (
  15440. vnode.componentInstance &&
  15441. !vnode.componentInstance._isDestroyed &&
  15442. vnode.data.keepAlive
  15443. ) {
  15444. // kept-alive components, treat as a patch
  15445. var mountedNode = vnode; // work around flow
  15446. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  15447. } else {
  15448. var child = vnode.componentInstance = createComponentInstanceForVnode(
  15449. vnode,
  15450. activeInstance
  15451. );
  15452. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  15453. }
  15454. },
  15455. prepatch: function prepatch (oldVnode, vnode) {
  15456. var options = vnode.componentOptions;
  15457. var child = vnode.componentInstance = oldVnode.componentInstance;
  15458. updateChildComponent(
  15459. child,
  15460. options.propsData, // updated props
  15461. options.listeners, // updated listeners
  15462. vnode, // new parent vnode
  15463. options.children // new children
  15464. );
  15465. },
  15466. insert: function insert (vnode) {
  15467. var context = vnode.context;
  15468. var componentInstance = vnode.componentInstance;
  15469. if (!componentInstance._isMounted) {
  15470. callHook(componentInstance, 'onServiceCreated');
  15471. callHook(componentInstance, 'onServiceAttached');
  15472. componentInstance._isMounted = true;
  15473. callHook(componentInstance, 'mounted');
  15474. }
  15475. if (vnode.data.keepAlive) {
  15476. if (context._isMounted) {
  15477. // vue-router#1212
  15478. // During updates, a kept-alive component's child components may
  15479. // change, so directly walking the tree here may call activated hooks
  15480. // on incorrect children. Instead we push them into a queue which will
  15481. // be processed after the whole patch process ended.
  15482. queueActivatedComponent(componentInstance);
  15483. } else {
  15484. activateChildComponent(componentInstance, true /* direct */);
  15485. }
  15486. }
  15487. },
  15488. destroy: function destroy (vnode) {
  15489. var componentInstance = vnode.componentInstance;
  15490. if (!componentInstance._isDestroyed) {
  15491. if (!vnode.data.keepAlive) {
  15492. componentInstance.$destroy();
  15493. } else {
  15494. deactivateChildComponent(componentInstance, true /* direct */);
  15495. }
  15496. }
  15497. }
  15498. };
  15499. var hooksToMerge = Object.keys(componentVNodeHooks);
  15500. function createComponent (
  15501. Ctor,
  15502. data,
  15503. context,
  15504. children,
  15505. tag
  15506. ) {
  15507. if (isUndef(Ctor)) {
  15508. return
  15509. }
  15510. var baseCtor = context.$options._base;
  15511. // plain options object: turn it into a constructor
  15512. if (isObject(Ctor)) {
  15513. Ctor = baseCtor.extend(Ctor);
  15514. }
  15515. // if at this stage it's not a constructor or an async component factory,
  15516. // reject.
  15517. if (typeof Ctor !== 'function') {
  15518. if (true) {
  15519. warn(("Invalid Component definition: " + (String(Ctor))), context);
  15520. }
  15521. return
  15522. }
  15523. // async component
  15524. var asyncFactory;
  15525. if (isUndef(Ctor.cid)) {
  15526. asyncFactory = Ctor;
  15527. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  15528. if (Ctor === undefined) {
  15529. // return a placeholder node for async component, which is rendered
  15530. // as a comment node but preserves all the raw information for the node.
  15531. // the information will be used for async server-rendering and hydration.
  15532. return createAsyncPlaceholder(
  15533. asyncFactory,
  15534. data,
  15535. context,
  15536. children,
  15537. tag
  15538. )
  15539. }
  15540. }
  15541. data = data || {};
  15542. // resolve constructor options in case global mixins are applied after
  15543. // component constructor creation
  15544. resolveConstructorOptions(Ctor);
  15545. // transform component v-model data into props & events
  15546. if (isDef(data.model)) {
  15547. transformModel(Ctor.options, data);
  15548. }
  15549. // extract props
  15550. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  15551. // functional component
  15552. if (isTrue(Ctor.options.functional)) {
  15553. return createFunctionalComponent(Ctor, propsData, data, context, children)
  15554. }
  15555. // extract listeners, since these needs to be treated as
  15556. // child component listeners instead of DOM listeners
  15557. var listeners = data.on;
  15558. // replace with listeners with .native modifier
  15559. // so it gets processed during parent component patch.
  15560. data.on = data.nativeOn;
  15561. if (isTrue(Ctor.options.abstract)) {
  15562. // abstract components do not keep anything
  15563. // other than props & listeners & slot
  15564. // work around flow
  15565. var slot = data.slot;
  15566. data = {};
  15567. if (slot) {
  15568. data.slot = slot;
  15569. }
  15570. }
  15571. // install component management hooks onto the placeholder node
  15572. installComponentHooks(data);
  15573. // return a placeholder vnode
  15574. var name = Ctor.options.name || tag;
  15575. var vnode = new VNode(
  15576. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  15577. data, undefined, undefined, undefined, context,
  15578. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  15579. asyncFactory
  15580. );
  15581. return vnode
  15582. }
  15583. function createComponentInstanceForVnode (
  15584. vnode, // we know it's MountedComponentVNode but flow doesn't
  15585. parent // activeInstance in lifecycle state
  15586. ) {
  15587. var options = {
  15588. _isComponent: true,
  15589. _parentVnode: vnode,
  15590. parent: parent
  15591. };
  15592. // check inline-template render functions
  15593. var inlineTemplate = vnode.data.inlineTemplate;
  15594. if (isDef(inlineTemplate)) {
  15595. options.render = inlineTemplate.render;
  15596. options.staticRenderFns = inlineTemplate.staticRenderFns;
  15597. }
  15598. return new vnode.componentOptions.Ctor(options)
  15599. }
  15600. function installComponentHooks (data) {
  15601. var hooks = data.hook || (data.hook = {});
  15602. for (var i = 0; i < hooksToMerge.length; i++) {
  15603. var key = hooksToMerge[i];
  15604. var existing = hooks[key];
  15605. var toMerge = componentVNodeHooks[key];
  15606. if (existing !== toMerge && !(existing && existing._merged)) {
  15607. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  15608. }
  15609. }
  15610. }
  15611. function mergeHook$1 (f1, f2) {
  15612. var merged = function (a, b) {
  15613. // flow complains about extra args which is why we use any
  15614. f1(a, b);
  15615. f2(a, b);
  15616. };
  15617. merged._merged = true;
  15618. return merged
  15619. }
  15620. // transform component v-model info (value and callback) into
  15621. // prop and event handler respectively.
  15622. function transformModel (options, data) {
  15623. var prop = (options.model && options.model.prop) || 'value';
  15624. var event = (options.model && options.model.event) || 'input'
  15625. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  15626. var on = data.on || (data.on = {});
  15627. var existing = on[event];
  15628. var callback = data.model.callback;
  15629. if (isDef(existing)) {
  15630. if (
  15631. Array.isArray(existing)
  15632. ? existing.indexOf(callback) === -1
  15633. : existing !== callback
  15634. ) {
  15635. on[event] = [callback].concat(existing);
  15636. }
  15637. } else {
  15638. on[event] = callback;
  15639. }
  15640. }
  15641. /* */
  15642. var SIMPLE_NORMALIZE = 1;
  15643. var ALWAYS_NORMALIZE = 2;
  15644. // wrapper function for providing a more flexible interface
  15645. // without getting yelled at by flow
  15646. function createElement (
  15647. context,
  15648. tag,
  15649. data,
  15650. children,
  15651. normalizationType,
  15652. alwaysNormalize
  15653. ) {
  15654. if (Array.isArray(data) || isPrimitive(data)) {
  15655. normalizationType = children;
  15656. children = data;
  15657. data = undefined;
  15658. }
  15659. if (isTrue(alwaysNormalize)) {
  15660. normalizationType = ALWAYS_NORMALIZE;
  15661. }
  15662. return _createElement(context, tag, data, children, normalizationType)
  15663. }
  15664. function _createElement (
  15665. context,
  15666. tag,
  15667. data,
  15668. children,
  15669. normalizationType
  15670. ) {
  15671. if (isDef(data) && isDef((data).__ob__)) {
  15672. true && warn(
  15673. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  15674. 'Always create fresh vnode data objects in each render!',
  15675. context
  15676. );
  15677. return createEmptyVNode()
  15678. }
  15679. // object syntax in v-bind
  15680. if (isDef(data) && isDef(data.is)) {
  15681. tag = data.is;
  15682. }
  15683. if (!tag) {
  15684. // in case of component :is set to falsy value
  15685. return createEmptyVNode()
  15686. }
  15687. // warn against non-primitive key
  15688. if ( true &&
  15689. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  15690. ) {
  15691. {
  15692. warn(
  15693. 'Avoid using non-primitive value as key, ' +
  15694. 'use string/number value instead.',
  15695. context
  15696. );
  15697. }
  15698. }
  15699. // support single function children as default scoped slot
  15700. if (Array.isArray(children) &&
  15701. typeof children[0] === 'function'
  15702. ) {
  15703. data = data || {};
  15704. data.scopedSlots = { default: children[0] };
  15705. children.length = 0;
  15706. }
  15707. if (normalizationType === ALWAYS_NORMALIZE) {
  15708. children = normalizeChildren(children);
  15709. } else if (normalizationType === SIMPLE_NORMALIZE) {
  15710. children = simpleNormalizeChildren(children);
  15711. }
  15712. var vnode, ns;
  15713. if (typeof tag === 'string') {
  15714. var Ctor;
  15715. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  15716. if (config.isReservedTag(tag)) {
  15717. // platform built-in elements
  15718. if ( true && isDef(data) && isDef(data.nativeOn)) {
  15719. warn(
  15720. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  15721. context
  15722. );
  15723. }
  15724. vnode = new VNode(
  15725. config.parsePlatformTagName(tag), data, children,
  15726. undefined, undefined, context
  15727. );
  15728. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  15729. // component
  15730. vnode = createComponent(Ctor, data, context, children, tag);
  15731. } else {
  15732. // unknown or unlisted namespaced elements
  15733. // check at runtime because it may get assigned a namespace when its
  15734. // parent normalizes children
  15735. vnode = new VNode(
  15736. tag, data, children,
  15737. undefined, undefined, context
  15738. );
  15739. }
  15740. } else {
  15741. // direct component options / constructor
  15742. vnode = createComponent(tag, data, context, children);
  15743. }
  15744. if (Array.isArray(vnode)) {
  15745. return vnode
  15746. } else if (isDef(vnode)) {
  15747. if (isDef(ns)) { applyNS(vnode, ns); }
  15748. if (isDef(data)) { registerDeepBindings(data); }
  15749. return vnode
  15750. } else {
  15751. return createEmptyVNode()
  15752. }
  15753. }
  15754. function applyNS (vnode, ns, force) {
  15755. vnode.ns = ns;
  15756. if (vnode.tag === 'foreignObject') {
  15757. // use default namespace inside foreignObject
  15758. ns = undefined;
  15759. force = true;
  15760. }
  15761. if (isDef(vnode.children)) {
  15762. for (var i = 0, l = vnode.children.length; i < l; i++) {
  15763. var child = vnode.children[i];
  15764. if (isDef(child.tag) && (
  15765. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  15766. applyNS(child, ns, force);
  15767. }
  15768. }
  15769. }
  15770. }
  15771. // ref #5318
  15772. // necessary to ensure parent re-render when deep bindings like :style and
  15773. // :class are used on slot nodes
  15774. function registerDeepBindings (data) {
  15775. if (isObject(data.style)) {
  15776. traverse(data.style);
  15777. }
  15778. if (isObject(data.class)) {
  15779. traverse(data.class);
  15780. }
  15781. }
  15782. /* */
  15783. function initRender (vm) {
  15784. vm._vnode = null; // the root of the child tree
  15785. vm._staticTrees = null; // v-once cached trees
  15786. var options = vm.$options;
  15787. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  15788. var renderContext = parentVnode && parentVnode.context;
  15789. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  15790. vm.$scopedSlots = emptyObject;
  15791. // bind the createElement fn to this instance
  15792. // so that we get proper render context inside it.
  15793. // args order: tag, data, children, normalizationType, alwaysNormalize
  15794. // internal version is used by render functions compiled from templates
  15795. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  15796. // normalization is always applied for the public version, used in
  15797. // user-written render functions.
  15798. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  15799. // $attrs & $listeners are exposed for easier HOC creation.
  15800. // they need to be reactive so that HOCs using them are always updated
  15801. var parentData = parentVnode && parentVnode.data;
  15802. /* istanbul ignore else */
  15803. if (true) {
  15804. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  15805. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  15806. }, true);
  15807. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  15808. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  15809. }, true);
  15810. } else {}
  15811. }
  15812. var currentRenderingInstance = null;
  15813. function renderMixin (Vue) {
  15814. // install runtime convenience helpers
  15815. installRenderHelpers(Vue.prototype);
  15816. Vue.prototype.$nextTick = function (fn) {
  15817. return nextTick(fn, this)
  15818. };
  15819. Vue.prototype._render = function () {
  15820. var vm = this;
  15821. var ref = vm.$options;
  15822. var render = ref.render;
  15823. var _parentVnode = ref._parentVnode;
  15824. if (_parentVnode) {
  15825. vm.$scopedSlots = normalizeScopedSlots(
  15826. _parentVnode.data.scopedSlots,
  15827. vm.$slots,
  15828. vm.$scopedSlots
  15829. );
  15830. }
  15831. // set parent vnode. this allows render functions to have access
  15832. // to the data on the placeholder node.
  15833. vm.$vnode = _parentVnode;
  15834. // render self
  15835. var vnode;
  15836. try {
  15837. // There's no need to maintain a stack because all render fns are called
  15838. // separately from one another. Nested component's render fns are called
  15839. // when parent component is patched.
  15840. currentRenderingInstance = vm;
  15841. vnode = render.call(vm._renderProxy, vm.$createElement);
  15842. } catch (e) {
  15843. handleError(e, vm, "render");
  15844. // return error render result,
  15845. // or previous vnode to prevent render error causing blank component
  15846. /* istanbul ignore else */
  15847. if ( true && vm.$options.renderError) {
  15848. try {
  15849. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  15850. } catch (e) {
  15851. handleError(e, vm, "renderError");
  15852. vnode = vm._vnode;
  15853. }
  15854. } else {
  15855. vnode = vm._vnode;
  15856. }
  15857. } finally {
  15858. currentRenderingInstance = null;
  15859. }
  15860. // if the returned array contains only a single node, allow it
  15861. if (Array.isArray(vnode) && vnode.length === 1) {
  15862. vnode = vnode[0];
  15863. }
  15864. // return empty vnode in case the render function errored out
  15865. if (!(vnode instanceof VNode)) {
  15866. if ( true && Array.isArray(vnode)) {
  15867. warn(
  15868. 'Multiple root nodes returned from render function. Render function ' +
  15869. 'should return a single root node.',
  15870. vm
  15871. );
  15872. }
  15873. vnode = createEmptyVNode();
  15874. }
  15875. // set parent
  15876. vnode.parent = _parentVnode;
  15877. return vnode
  15878. };
  15879. }
  15880. /* */
  15881. function ensureCtor (comp, base) {
  15882. if (
  15883. comp.__esModule ||
  15884. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  15885. ) {
  15886. comp = comp.default;
  15887. }
  15888. return isObject(comp)
  15889. ? base.extend(comp)
  15890. : comp
  15891. }
  15892. function createAsyncPlaceholder (
  15893. factory,
  15894. data,
  15895. context,
  15896. children,
  15897. tag
  15898. ) {
  15899. var node = createEmptyVNode();
  15900. node.asyncFactory = factory;
  15901. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  15902. return node
  15903. }
  15904. function resolveAsyncComponent (
  15905. factory,
  15906. baseCtor
  15907. ) {
  15908. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  15909. return factory.errorComp
  15910. }
  15911. if (isDef(factory.resolved)) {
  15912. return factory.resolved
  15913. }
  15914. var owner = currentRenderingInstance;
  15915. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  15916. // already pending
  15917. factory.owners.push(owner);
  15918. }
  15919. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  15920. return factory.loadingComp
  15921. }
  15922. if (owner && !isDef(factory.owners)) {
  15923. var owners = factory.owners = [owner];
  15924. var sync = true;
  15925. var timerLoading = null;
  15926. var timerTimeout = null
  15927. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  15928. var forceRender = function (renderCompleted) {
  15929. for (var i = 0, l = owners.length; i < l; i++) {
  15930. (owners[i]).$forceUpdate();
  15931. }
  15932. if (renderCompleted) {
  15933. owners.length = 0;
  15934. if (timerLoading !== null) {
  15935. clearTimeout(timerLoading);
  15936. timerLoading = null;
  15937. }
  15938. if (timerTimeout !== null) {
  15939. clearTimeout(timerTimeout);
  15940. timerTimeout = null;
  15941. }
  15942. }
  15943. };
  15944. var resolve = once(function (res) {
  15945. // cache resolved
  15946. factory.resolved = ensureCtor(res, baseCtor);
  15947. // invoke callbacks only if this is not a synchronous resolve
  15948. // (async resolves are shimmed as synchronous during SSR)
  15949. if (!sync) {
  15950. forceRender(true);
  15951. } else {
  15952. owners.length = 0;
  15953. }
  15954. });
  15955. var reject = once(function (reason) {
  15956. true && warn(
  15957. "Failed to resolve async component: " + (String(factory)) +
  15958. (reason ? ("\nReason: " + reason) : '')
  15959. );
  15960. if (isDef(factory.errorComp)) {
  15961. factory.error = true;
  15962. forceRender(true);
  15963. }
  15964. });
  15965. var res = factory(resolve, reject);
  15966. if (isObject(res)) {
  15967. if (isPromise(res)) {
  15968. // () => Promise
  15969. if (isUndef(factory.resolved)) {
  15970. res.then(resolve, reject);
  15971. }
  15972. } else if (isPromise(res.component)) {
  15973. res.component.then(resolve, reject);
  15974. if (isDef(res.error)) {
  15975. factory.errorComp = ensureCtor(res.error, baseCtor);
  15976. }
  15977. if (isDef(res.loading)) {
  15978. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  15979. if (res.delay === 0) {
  15980. factory.loading = true;
  15981. } else {
  15982. timerLoading = setTimeout(function () {
  15983. timerLoading = null;
  15984. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  15985. factory.loading = true;
  15986. forceRender(false);
  15987. }
  15988. }, res.delay || 200);
  15989. }
  15990. }
  15991. if (isDef(res.timeout)) {
  15992. timerTimeout = setTimeout(function () {
  15993. timerTimeout = null;
  15994. if (isUndef(factory.resolved)) {
  15995. reject(
  15996. true
  15997. ? ("timeout (" + (res.timeout) + "ms)")
  15998. : undefined
  15999. );
  16000. }
  16001. }, res.timeout);
  16002. }
  16003. }
  16004. }
  16005. sync = false;
  16006. // return in case resolved synchronously
  16007. return factory.loading
  16008. ? factory.loadingComp
  16009. : factory.resolved
  16010. }
  16011. }
  16012. /* */
  16013. function isAsyncPlaceholder (node) {
  16014. return node.isComment && node.asyncFactory
  16015. }
  16016. /* */
  16017. function getFirstComponentChild (children) {
  16018. if (Array.isArray(children)) {
  16019. for (var i = 0; i < children.length; i++) {
  16020. var c = children[i];
  16021. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  16022. return c
  16023. }
  16024. }
  16025. }
  16026. }
  16027. /* */
  16028. /* */
  16029. function initEvents (vm) {
  16030. vm._events = Object.create(null);
  16031. vm._hasHookEvent = false;
  16032. // init parent attached events
  16033. var listeners = vm.$options._parentListeners;
  16034. if (listeners) {
  16035. updateComponentListeners(vm, listeners);
  16036. }
  16037. }
  16038. var target;
  16039. function add (event, fn) {
  16040. target.$on(event, fn);
  16041. }
  16042. function remove$1 (event, fn) {
  16043. target.$off(event, fn);
  16044. }
  16045. function createOnceHandler (event, fn) {
  16046. var _target = target;
  16047. return function onceHandler () {
  16048. var res = fn.apply(null, arguments);
  16049. if (res !== null) {
  16050. _target.$off(event, onceHandler);
  16051. }
  16052. }
  16053. }
  16054. function updateComponentListeners (
  16055. vm,
  16056. listeners,
  16057. oldListeners
  16058. ) {
  16059. target = vm;
  16060. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  16061. target = undefined;
  16062. }
  16063. function eventsMixin (Vue) {
  16064. var hookRE = /^hook:/;
  16065. Vue.prototype.$on = function (event, fn) {
  16066. var vm = this;
  16067. if (Array.isArray(event)) {
  16068. for (var i = 0, l = event.length; i < l; i++) {
  16069. vm.$on(event[i], fn);
  16070. }
  16071. } else {
  16072. (vm._events[event] || (vm._events[event] = [])).push(fn);
  16073. // optimize hook:event cost by using a boolean flag marked at registration
  16074. // instead of a hash lookup
  16075. if (hookRE.test(event)) {
  16076. vm._hasHookEvent = true;
  16077. }
  16078. }
  16079. return vm
  16080. };
  16081. Vue.prototype.$once = function (event, fn) {
  16082. var vm = this;
  16083. function on () {
  16084. vm.$off(event, on);
  16085. fn.apply(vm, arguments);
  16086. }
  16087. on.fn = fn;
  16088. vm.$on(event, on);
  16089. return vm
  16090. };
  16091. Vue.prototype.$off = function (event, fn) {
  16092. var vm = this;
  16093. // all
  16094. if (!arguments.length) {
  16095. vm._events = Object.create(null);
  16096. return vm
  16097. }
  16098. // array of events
  16099. if (Array.isArray(event)) {
  16100. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  16101. vm.$off(event[i$1], fn);
  16102. }
  16103. return vm
  16104. }
  16105. // specific event
  16106. var cbs = vm._events[event];
  16107. if (!cbs) {
  16108. return vm
  16109. }
  16110. if (!fn) {
  16111. vm._events[event] = null;
  16112. return vm
  16113. }
  16114. // specific handler
  16115. var cb;
  16116. var i = cbs.length;
  16117. while (i--) {
  16118. cb = cbs[i];
  16119. if (cb === fn || cb.fn === fn) {
  16120. cbs.splice(i, 1);
  16121. break
  16122. }
  16123. }
  16124. return vm
  16125. };
  16126. Vue.prototype.$emit = function (event) {
  16127. var vm = this;
  16128. if (true) {
  16129. var lowerCaseEvent = event.toLowerCase();
  16130. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  16131. tip(
  16132. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  16133. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  16134. "Note that HTML attributes are case-insensitive and you cannot use " +
  16135. "v-on to listen to camelCase events when using in-DOM templates. " +
  16136. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  16137. );
  16138. }
  16139. }
  16140. var cbs = vm._events[event];
  16141. if (cbs) {
  16142. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  16143. var args = toArray(arguments, 1);
  16144. var info = "event handler for \"" + event + "\"";
  16145. for (var i = 0, l = cbs.length; i < l; i++) {
  16146. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  16147. }
  16148. }
  16149. return vm
  16150. };
  16151. }
  16152. /* */
  16153. var activeInstance = null;
  16154. var isUpdatingChildComponent = false;
  16155. function setActiveInstance(vm) {
  16156. var prevActiveInstance = activeInstance;
  16157. activeInstance = vm;
  16158. return function () {
  16159. activeInstance = prevActiveInstance;
  16160. }
  16161. }
  16162. function initLifecycle (vm) {
  16163. var options = vm.$options;
  16164. // locate first non-abstract parent
  16165. var parent = options.parent;
  16166. if (parent && !options.abstract) {
  16167. while (parent.$options.abstract && parent.$parent) {
  16168. parent = parent.$parent;
  16169. }
  16170. parent.$children.push(vm);
  16171. }
  16172. vm.$parent = parent;
  16173. vm.$root = parent ? parent.$root : vm;
  16174. vm.$children = [];
  16175. vm.$refs = {};
  16176. vm._watcher = null;
  16177. vm._inactive = null;
  16178. vm._directInactive = false;
  16179. vm._isMounted = false;
  16180. vm._isDestroyed = false;
  16181. vm._isBeingDestroyed = false;
  16182. }
  16183. function lifecycleMixin (Vue) {
  16184. Vue.prototype._update = function (vnode, hydrating) {
  16185. var vm = this;
  16186. var prevEl = vm.$el;
  16187. var prevVnode = vm._vnode;
  16188. var restoreActiveInstance = setActiveInstance(vm);
  16189. vm._vnode = vnode;
  16190. // Vue.prototype.__patch__ is injected in entry points
  16191. // based on the rendering backend used.
  16192. if (!prevVnode) {
  16193. // initial render
  16194. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  16195. } else {
  16196. // updates
  16197. vm.$el = vm.__patch__(prevVnode, vnode);
  16198. }
  16199. restoreActiveInstance();
  16200. // update __vue__ reference
  16201. if (prevEl) {
  16202. prevEl.__vue__ = null;
  16203. }
  16204. if (vm.$el) {
  16205. vm.$el.__vue__ = vm;
  16206. }
  16207. // if parent is an HOC, update its $el as well
  16208. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  16209. vm.$parent.$el = vm.$el;
  16210. }
  16211. // updated hook is called by the scheduler to ensure that children are
  16212. // updated in a parent's updated hook.
  16213. };
  16214. Vue.prototype.$forceUpdate = function () {
  16215. var vm = this;
  16216. if (vm._watcher) {
  16217. vm._watcher.update();
  16218. }
  16219. };
  16220. Vue.prototype.$destroy = function () {
  16221. var vm = this;
  16222. if (vm._isBeingDestroyed) {
  16223. return
  16224. }
  16225. callHook(vm, 'beforeDestroy');
  16226. vm._isBeingDestroyed = true;
  16227. // remove self from parent
  16228. var parent = vm.$parent;
  16229. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  16230. remove(parent.$children, vm);
  16231. }
  16232. // teardown watchers
  16233. if (vm._watcher) {
  16234. vm._watcher.teardown();
  16235. }
  16236. var i = vm._watchers.length;
  16237. while (i--) {
  16238. vm._watchers[i].teardown();
  16239. }
  16240. // remove reference from data ob
  16241. // frozen object may not have observer.
  16242. if (vm._data.__ob__) {
  16243. vm._data.__ob__.vmCount--;
  16244. }
  16245. // call the last hook...
  16246. vm._isDestroyed = true;
  16247. // invoke destroy hooks on current rendered tree
  16248. vm.__patch__(vm._vnode, null);
  16249. // fire destroyed hook
  16250. callHook(vm, 'destroyed');
  16251. // turn off all instance listeners.
  16252. vm.$off();
  16253. // remove __vue__ reference
  16254. if (vm.$el) {
  16255. vm.$el.__vue__ = null;
  16256. }
  16257. // release circular reference (#6759)
  16258. if (vm.$vnode) {
  16259. vm.$vnode.parent = null;
  16260. }
  16261. };
  16262. }
  16263. function updateChildComponent (
  16264. vm,
  16265. propsData,
  16266. listeners,
  16267. parentVnode,
  16268. renderChildren
  16269. ) {
  16270. if (true) {
  16271. isUpdatingChildComponent = true;
  16272. }
  16273. // determine whether component has slot children
  16274. // we need to do this before overwriting $options._renderChildren.
  16275. // check if there are dynamic scopedSlots (hand-written or compiled but with
  16276. // dynamic slot names). Static scoped slots compiled from template has the
  16277. // "$stable" marker.
  16278. var newScopedSlots = parentVnode.data.scopedSlots;
  16279. var oldScopedSlots = vm.$scopedSlots;
  16280. var hasDynamicScopedSlot = !!(
  16281. (newScopedSlots && !newScopedSlots.$stable) ||
  16282. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  16283. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  16284. );
  16285. // Any static slot children from the parent may have changed during parent's
  16286. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  16287. // update is necessary to ensure correctness.
  16288. var needsForceUpdate = !!(
  16289. renderChildren || // has new static slots
  16290. vm.$options._renderChildren || // has old static slots
  16291. hasDynamicScopedSlot
  16292. );
  16293. vm.$options._parentVnode = parentVnode;
  16294. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  16295. if (vm._vnode) { // update child tree's parent
  16296. vm._vnode.parent = parentVnode;
  16297. }
  16298. vm.$options._renderChildren = renderChildren;
  16299. // update $attrs and $listeners hash
  16300. // these are also reactive so they may trigger child update if the child
  16301. // used them during render
  16302. vm.$attrs = parentVnode.data.attrs || emptyObject;
  16303. vm.$listeners = listeners || emptyObject;
  16304. // update props
  16305. if (propsData && vm.$options.props) {
  16306. toggleObserving(false);
  16307. var props = vm._props;
  16308. var propKeys = vm.$options._propKeys || [];
  16309. for (var i = 0; i < propKeys.length; i++) {
  16310. var key = propKeys[i];
  16311. var propOptions = vm.$options.props; // wtf flow?
  16312. props[key] = validateProp(key, propOptions, propsData, vm);
  16313. }
  16314. toggleObserving(true);
  16315. // keep a copy of raw propsData
  16316. vm.$options.propsData = propsData;
  16317. }
  16318. // fixed by xxxxxx update properties(mp runtime)
  16319. vm._$updateProperties && vm._$updateProperties(vm);
  16320. // update listeners
  16321. listeners = listeners || emptyObject;
  16322. var oldListeners = vm.$options._parentListeners;
  16323. vm.$options._parentListeners = listeners;
  16324. updateComponentListeners(vm, listeners, oldListeners);
  16325. // resolve slots + force update if has children
  16326. if (needsForceUpdate) {
  16327. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  16328. vm.$forceUpdate();
  16329. }
  16330. if (true) {
  16331. isUpdatingChildComponent = false;
  16332. }
  16333. }
  16334. function isInInactiveTree (vm) {
  16335. while (vm && (vm = vm.$parent)) {
  16336. if (vm._inactive) { return true }
  16337. }
  16338. return false
  16339. }
  16340. function activateChildComponent (vm, direct) {
  16341. if (direct) {
  16342. vm._directInactive = false;
  16343. if (isInInactiveTree(vm)) {
  16344. return
  16345. }
  16346. } else if (vm._directInactive) {
  16347. return
  16348. }
  16349. if (vm._inactive || vm._inactive === null) {
  16350. vm._inactive = false;
  16351. for (var i = 0; i < vm.$children.length; i++) {
  16352. activateChildComponent(vm.$children[i]);
  16353. }
  16354. callHook(vm, 'activated');
  16355. }
  16356. }
  16357. function deactivateChildComponent (vm, direct) {
  16358. if (direct) {
  16359. vm._directInactive = true;
  16360. if (isInInactiveTree(vm)) {
  16361. return
  16362. }
  16363. }
  16364. if (!vm._inactive) {
  16365. vm._inactive = true;
  16366. for (var i = 0; i < vm.$children.length; i++) {
  16367. deactivateChildComponent(vm.$children[i]);
  16368. }
  16369. callHook(vm, 'deactivated');
  16370. }
  16371. }
  16372. function callHook (vm, hook) {
  16373. // #7573 disable dep collection when invoking lifecycle hooks
  16374. pushTarget();
  16375. var handlers = vm.$options[hook];
  16376. var info = hook + " hook";
  16377. if (handlers) {
  16378. for (var i = 0, j = handlers.length; i < j; i++) {
  16379. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  16380. }
  16381. }
  16382. if (vm._hasHookEvent) {
  16383. vm.$emit('hook:' + hook);
  16384. }
  16385. popTarget();
  16386. }
  16387. /* */
  16388. var MAX_UPDATE_COUNT = 100;
  16389. var queue = [];
  16390. var activatedChildren = [];
  16391. var has = {};
  16392. var circular = {};
  16393. var waiting = false;
  16394. var flushing = false;
  16395. var index = 0;
  16396. /**
  16397. * Reset the scheduler's state.
  16398. */
  16399. function resetSchedulerState () {
  16400. index = queue.length = activatedChildren.length = 0;
  16401. has = {};
  16402. if (true) {
  16403. circular = {};
  16404. }
  16405. waiting = flushing = false;
  16406. }
  16407. // Async edge case #6566 requires saving the timestamp when event listeners are
  16408. // attached. However, calling performance.now() has a perf overhead especially
  16409. // if the page has thousands of event listeners. Instead, we take a timestamp
  16410. // every time the scheduler flushes and use that for all event listeners
  16411. // attached during that flush.
  16412. var currentFlushTimestamp = 0;
  16413. // Async edge case fix requires storing an event listener's attach timestamp.
  16414. var getNow = Date.now;
  16415. // Determine what event timestamp the browser is using. Annoyingly, the
  16416. // timestamp can either be hi-res (relative to page load) or low-res
  16417. // (relative to UNIX epoch), so in order to compare time we have to use the
  16418. // same timestamp type when saving the flush timestamp.
  16419. // All IE versions use low-res event timestamps, and have problematic clock
  16420. // implementations (#9632)
  16421. if (inBrowser && !isIE) {
  16422. var performance = window.performance;
  16423. if (
  16424. performance &&
  16425. typeof performance.now === 'function' &&
  16426. getNow() > document.createEvent('Event').timeStamp
  16427. ) {
  16428. // if the event timestamp, although evaluated AFTER the Date.now(), is
  16429. // smaller than it, it means the event is using a hi-res timestamp,
  16430. // and we need to use the hi-res version for event listener timestamps as
  16431. // well.
  16432. getNow = function () { return performance.now(); };
  16433. }
  16434. }
  16435. /**
  16436. * Flush both queues and run the watchers.
  16437. */
  16438. function flushSchedulerQueue () {
  16439. currentFlushTimestamp = getNow();
  16440. flushing = true;
  16441. var watcher, id;
  16442. // Sort queue before flush.
  16443. // This ensures that:
  16444. // 1. Components are updated from parent to child. (because parent is always
  16445. // created before the child)
  16446. // 2. A component's user watchers are run before its render watcher (because
  16447. // user watchers are created before the render watcher)
  16448. // 3. If a component is destroyed during a parent component's watcher run,
  16449. // its watchers can be skipped.
  16450. queue.sort(function (a, b) { return a.id - b.id; });
  16451. // do not cache length because more watchers might be pushed
  16452. // as we run existing watchers
  16453. for (index = 0; index < queue.length; index++) {
  16454. watcher = queue[index];
  16455. if (watcher.before) {
  16456. watcher.before();
  16457. }
  16458. id = watcher.id;
  16459. has[id] = null;
  16460. watcher.run();
  16461. // in dev build, check and stop circular updates.
  16462. if ( true && has[id] != null) {
  16463. circular[id] = (circular[id] || 0) + 1;
  16464. if (circular[id] > MAX_UPDATE_COUNT) {
  16465. warn(
  16466. 'You may have an infinite update loop ' + (
  16467. watcher.user
  16468. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  16469. : "in a component render function."
  16470. ),
  16471. watcher.vm
  16472. );
  16473. break
  16474. }
  16475. }
  16476. }
  16477. // keep copies of post queues before resetting state
  16478. var activatedQueue = activatedChildren.slice();
  16479. var updatedQueue = queue.slice();
  16480. resetSchedulerState();
  16481. // call component updated and activated hooks
  16482. callActivatedHooks(activatedQueue);
  16483. callUpdatedHooks(updatedQueue);
  16484. // devtool hook
  16485. /* istanbul ignore if */
  16486. if (devtools && config.devtools) {
  16487. devtools.emit('flush');
  16488. }
  16489. }
  16490. function callUpdatedHooks (queue) {
  16491. var i = queue.length;
  16492. while (i--) {
  16493. var watcher = queue[i];
  16494. var vm = watcher.vm;
  16495. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  16496. callHook(vm, 'updated');
  16497. }
  16498. }
  16499. }
  16500. /**
  16501. * Queue a kept-alive component that was activated during patch.
  16502. * The queue will be processed after the entire tree has been patched.
  16503. */
  16504. function queueActivatedComponent (vm) {
  16505. // setting _inactive to false here so that a render function can
  16506. // rely on checking whether it's in an inactive tree (e.g. router-view)
  16507. vm._inactive = false;
  16508. activatedChildren.push(vm);
  16509. }
  16510. function callActivatedHooks (queue) {
  16511. for (var i = 0; i < queue.length; i++) {
  16512. queue[i]._inactive = true;
  16513. activateChildComponent(queue[i], true /* true */);
  16514. }
  16515. }
  16516. /**
  16517. * Push a watcher into the watcher queue.
  16518. * Jobs with duplicate IDs will be skipped unless it's
  16519. * pushed when the queue is being flushed.
  16520. */
  16521. function queueWatcher (watcher) {
  16522. var id = watcher.id;
  16523. if (has[id] == null) {
  16524. has[id] = true;
  16525. if (!flushing) {
  16526. queue.push(watcher);
  16527. } else {
  16528. // if already flushing, splice the watcher based on its id
  16529. // if already past its id, it will be run next immediately.
  16530. var i = queue.length - 1;
  16531. while (i > index && queue[i].id > watcher.id) {
  16532. i--;
  16533. }
  16534. queue.splice(i + 1, 0, watcher);
  16535. }
  16536. // queue the flush
  16537. if (!waiting) {
  16538. waiting = true;
  16539. if ( true && !config.async) {
  16540. flushSchedulerQueue();
  16541. return
  16542. }
  16543. nextTick(flushSchedulerQueue);
  16544. }
  16545. }
  16546. }
  16547. /* */
  16548. var uid$2 = 0;
  16549. /**
  16550. * A watcher parses an expression, collects dependencies,
  16551. * and fires callback when the expression value changes.
  16552. * This is used for both the $watch() api and directives.
  16553. */
  16554. var Watcher = function Watcher (
  16555. vm,
  16556. expOrFn,
  16557. cb,
  16558. options,
  16559. isRenderWatcher
  16560. ) {
  16561. this.vm = vm;
  16562. if (isRenderWatcher) {
  16563. vm._watcher = this;
  16564. }
  16565. vm._watchers.push(this);
  16566. // options
  16567. if (options) {
  16568. this.deep = !!options.deep;
  16569. this.user = !!options.user;
  16570. this.lazy = !!options.lazy;
  16571. this.sync = !!options.sync;
  16572. this.before = options.before;
  16573. } else {
  16574. this.deep = this.user = this.lazy = this.sync = false;
  16575. }
  16576. this.cb = cb;
  16577. this.id = ++uid$2; // uid for batching
  16578. this.active = true;
  16579. this.dirty = this.lazy; // for lazy watchers
  16580. this.deps = [];
  16581. this.newDeps = [];
  16582. this.depIds = new _Set();
  16583. this.newDepIds = new _Set();
  16584. this.expression = true
  16585. ? expOrFn.toString()
  16586. : undefined;
  16587. // parse expression for getter
  16588. if (typeof expOrFn === 'function') {
  16589. this.getter = expOrFn;
  16590. } else {
  16591. this.getter = parsePath(expOrFn);
  16592. if (!this.getter) {
  16593. this.getter = noop;
  16594. true && warn(
  16595. "Failed watching path: \"" + expOrFn + "\" " +
  16596. 'Watcher only accepts simple dot-delimited paths. ' +
  16597. 'For full control, use a function instead.',
  16598. vm
  16599. );
  16600. }
  16601. }
  16602. this.value = this.lazy
  16603. ? undefined
  16604. : this.get();
  16605. };
  16606. /**
  16607. * Evaluate the getter, and re-collect dependencies.
  16608. */
  16609. Watcher.prototype.get = function get () {
  16610. pushTarget(this);
  16611. var value;
  16612. var vm = this.vm;
  16613. try {
  16614. value = this.getter.call(vm, vm);
  16615. } catch (e) {
  16616. if (this.user) {
  16617. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  16618. } else {
  16619. throw e
  16620. }
  16621. } finally {
  16622. // "touch" every property so they are all tracked as
  16623. // dependencies for deep watching
  16624. if (this.deep) {
  16625. traverse(value);
  16626. }
  16627. popTarget();
  16628. this.cleanupDeps();
  16629. }
  16630. return value
  16631. };
  16632. /**
  16633. * Add a dependency to this directive.
  16634. */
  16635. Watcher.prototype.addDep = function addDep (dep) {
  16636. var id = dep.id;
  16637. if (!this.newDepIds.has(id)) {
  16638. this.newDepIds.add(id);
  16639. this.newDeps.push(dep);
  16640. if (!this.depIds.has(id)) {
  16641. dep.addSub(this);
  16642. }
  16643. }
  16644. };
  16645. /**
  16646. * Clean up for dependency collection.
  16647. */
  16648. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  16649. var i = this.deps.length;
  16650. while (i--) {
  16651. var dep = this.deps[i];
  16652. if (!this.newDepIds.has(dep.id)) {
  16653. dep.removeSub(this);
  16654. }
  16655. }
  16656. var tmp = this.depIds;
  16657. this.depIds = this.newDepIds;
  16658. this.newDepIds = tmp;
  16659. this.newDepIds.clear();
  16660. tmp = this.deps;
  16661. this.deps = this.newDeps;
  16662. this.newDeps = tmp;
  16663. this.newDeps.length = 0;
  16664. };
  16665. /**
  16666. * Subscriber interface.
  16667. * Will be called when a dependency changes.
  16668. */
  16669. Watcher.prototype.update = function update () {
  16670. /* istanbul ignore else */
  16671. if (this.lazy) {
  16672. this.dirty = true;
  16673. } else if (this.sync) {
  16674. this.run();
  16675. } else {
  16676. queueWatcher(this);
  16677. }
  16678. };
  16679. /**
  16680. * Scheduler job interface.
  16681. * Will be called by the scheduler.
  16682. */
  16683. Watcher.prototype.run = function run () {
  16684. if (this.active) {
  16685. var value = this.get();
  16686. if (
  16687. value !== this.value ||
  16688. // Deep watchers and watchers on Object/Arrays should fire even
  16689. // when the value is the same, because the value may
  16690. // have mutated.
  16691. isObject(value) ||
  16692. this.deep
  16693. ) {
  16694. // set new value
  16695. var oldValue = this.value;
  16696. this.value = value;
  16697. if (this.user) {
  16698. try {
  16699. this.cb.call(this.vm, value, oldValue);
  16700. } catch (e) {
  16701. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  16702. }
  16703. } else {
  16704. this.cb.call(this.vm, value, oldValue);
  16705. }
  16706. }
  16707. }
  16708. };
  16709. /**
  16710. * Evaluate the value of the watcher.
  16711. * This only gets called for lazy watchers.
  16712. */
  16713. Watcher.prototype.evaluate = function evaluate () {
  16714. this.value = this.get();
  16715. this.dirty = false;
  16716. };
  16717. /**
  16718. * Depend on all deps collected by this watcher.
  16719. */
  16720. Watcher.prototype.depend = function depend () {
  16721. var i = this.deps.length;
  16722. while (i--) {
  16723. this.deps[i].depend();
  16724. }
  16725. };
  16726. /**
  16727. * Remove self from all dependencies' subscriber list.
  16728. */
  16729. Watcher.prototype.teardown = function teardown () {
  16730. if (this.active) {
  16731. // remove self from vm's watcher list
  16732. // this is a somewhat expensive operation so we skip it
  16733. // if the vm is being destroyed.
  16734. if (!this.vm._isBeingDestroyed) {
  16735. remove(this.vm._watchers, this);
  16736. }
  16737. var i = this.deps.length;
  16738. while (i--) {
  16739. this.deps[i].removeSub(this);
  16740. }
  16741. this.active = false;
  16742. }
  16743. };
  16744. /* */
  16745. var sharedPropertyDefinition = {
  16746. enumerable: true,
  16747. configurable: true,
  16748. get: noop,
  16749. set: noop
  16750. };
  16751. function proxy (target, sourceKey, key) {
  16752. sharedPropertyDefinition.get = function proxyGetter () {
  16753. return this[sourceKey][key]
  16754. };
  16755. sharedPropertyDefinition.set = function proxySetter (val) {
  16756. this[sourceKey][key] = val;
  16757. };
  16758. Object.defineProperty(target, key, sharedPropertyDefinition);
  16759. }
  16760. function initState (vm) {
  16761. vm._watchers = [];
  16762. var opts = vm.$options;
  16763. if (opts.props) { initProps(vm, opts.props); }
  16764. if (opts.methods) { initMethods(vm, opts.methods); }
  16765. if (opts.data) {
  16766. initData(vm);
  16767. } else {
  16768. observe(vm._data = {}, true /* asRootData */);
  16769. }
  16770. if (opts.computed) { initComputed(vm, opts.computed); }
  16771. if (opts.watch && opts.watch !== nativeWatch) {
  16772. initWatch(vm, opts.watch);
  16773. }
  16774. }
  16775. function initProps (vm, propsOptions) {
  16776. var propsData = vm.$options.propsData || {};
  16777. var props = vm._props = {};
  16778. // cache prop keys so that future props updates can iterate using Array
  16779. // instead of dynamic object key enumeration.
  16780. var keys = vm.$options._propKeys = [];
  16781. var isRoot = !vm.$parent;
  16782. // root instance props should be converted
  16783. if (!isRoot) {
  16784. toggleObserving(false);
  16785. }
  16786. var loop = function ( key ) {
  16787. keys.push(key);
  16788. var value = validateProp(key, propsOptions, propsData, vm);
  16789. /* istanbul ignore else */
  16790. if (true) {
  16791. var hyphenatedKey = hyphenate(key);
  16792. if (isReservedAttribute(hyphenatedKey) ||
  16793. config.isReservedAttr(hyphenatedKey)) {
  16794. warn(
  16795. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  16796. vm
  16797. );
  16798. }
  16799. defineReactive$$1(props, key, value, function () {
  16800. if (!isRoot && !isUpdatingChildComponent) {
  16801. {
  16802. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  16803. return
  16804. }
  16805. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  16806. if(
  16807. key === 'value' &&
  16808. Array.isArray(vm.$options.behaviors) &&
  16809. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  16810. ){
  16811. return
  16812. }
  16813. if(vm._getFormData){
  16814. return
  16815. }
  16816. var $parent = vm.$parent;
  16817. while($parent){
  16818. if($parent.__next_tick_pending){
  16819. return
  16820. }
  16821. $parent = $parent.$parent;
  16822. }
  16823. }
  16824. warn(
  16825. "Avoid mutating a prop directly since the value will be " +
  16826. "overwritten whenever the parent component re-renders. " +
  16827. "Instead, use a data or computed property based on the prop's " +
  16828. "value. Prop being mutated: \"" + key + "\"",
  16829. vm
  16830. );
  16831. }
  16832. });
  16833. } else {}
  16834. // static props are already proxied on the component's prototype
  16835. // during Vue.extend(). We only need to proxy props defined at
  16836. // instantiation here.
  16837. if (!(key in vm)) {
  16838. proxy(vm, "_props", key);
  16839. }
  16840. };
  16841. for (var key in propsOptions) loop( key );
  16842. toggleObserving(true);
  16843. }
  16844. function initData (vm) {
  16845. var data = vm.$options.data;
  16846. data = vm._data = typeof data === 'function'
  16847. ? getData(data, vm)
  16848. : data || {};
  16849. if (!isPlainObject(data)) {
  16850. data = {};
  16851. true && warn(
  16852. 'data functions should return an object:\n' +
  16853. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  16854. vm
  16855. );
  16856. }
  16857. // proxy data on instance
  16858. var keys = Object.keys(data);
  16859. var props = vm.$options.props;
  16860. var methods = vm.$options.methods;
  16861. var i = keys.length;
  16862. while (i--) {
  16863. var key = keys[i];
  16864. if (true) {
  16865. if (methods && hasOwn(methods, key)) {
  16866. warn(
  16867. ("Method \"" + key + "\" has already been defined as a data property."),
  16868. vm
  16869. );
  16870. }
  16871. }
  16872. if (props && hasOwn(props, key)) {
  16873. true && warn(
  16874. "The data property \"" + key + "\" is already declared as a prop. " +
  16875. "Use prop default value instead.",
  16876. vm
  16877. );
  16878. } else if (!isReserved(key)) {
  16879. proxy(vm, "_data", key);
  16880. }
  16881. }
  16882. // observe data
  16883. observe(data, true /* asRootData */);
  16884. }
  16885. function getData (data, vm) {
  16886. // #7573 disable dep collection when invoking data getters
  16887. pushTarget();
  16888. try {
  16889. return data.call(vm, vm)
  16890. } catch (e) {
  16891. handleError(e, vm, "data()");
  16892. return {}
  16893. } finally {
  16894. popTarget();
  16895. }
  16896. }
  16897. var computedWatcherOptions = { lazy: true };
  16898. function initComputed (vm, computed) {
  16899. // $flow-disable-line
  16900. var watchers = vm._computedWatchers = Object.create(null);
  16901. // computed properties are just getters during SSR
  16902. var isSSR = isServerRendering();
  16903. for (var key in computed) {
  16904. var userDef = computed[key];
  16905. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  16906. if ( true && getter == null) {
  16907. warn(
  16908. ("Getter is missing for computed property \"" + key + "\"."),
  16909. vm
  16910. );
  16911. }
  16912. if (!isSSR) {
  16913. // create internal watcher for the computed property.
  16914. watchers[key] = new Watcher(
  16915. vm,
  16916. getter || noop,
  16917. noop,
  16918. computedWatcherOptions
  16919. );
  16920. }
  16921. // component-defined computed properties are already defined on the
  16922. // component prototype. We only need to define computed properties defined
  16923. // at instantiation here.
  16924. if (!(key in vm)) {
  16925. defineComputed(vm, key, userDef);
  16926. } else if (true) {
  16927. if (key in vm.$data) {
  16928. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  16929. } else if (vm.$options.props && key in vm.$options.props) {
  16930. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  16931. }
  16932. }
  16933. }
  16934. }
  16935. function defineComputed (
  16936. target,
  16937. key,
  16938. userDef
  16939. ) {
  16940. var shouldCache = !isServerRendering();
  16941. if (typeof userDef === 'function') {
  16942. sharedPropertyDefinition.get = shouldCache
  16943. ? createComputedGetter(key)
  16944. : createGetterInvoker(userDef);
  16945. sharedPropertyDefinition.set = noop;
  16946. } else {
  16947. sharedPropertyDefinition.get = userDef.get
  16948. ? shouldCache && userDef.cache !== false
  16949. ? createComputedGetter(key)
  16950. : createGetterInvoker(userDef.get)
  16951. : noop;
  16952. sharedPropertyDefinition.set = userDef.set || noop;
  16953. }
  16954. if ( true &&
  16955. sharedPropertyDefinition.set === noop) {
  16956. sharedPropertyDefinition.set = function () {
  16957. warn(
  16958. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  16959. this
  16960. );
  16961. };
  16962. }
  16963. Object.defineProperty(target, key, sharedPropertyDefinition);
  16964. }
  16965. function createComputedGetter (key) {
  16966. return function computedGetter () {
  16967. var watcher = this._computedWatchers && this._computedWatchers[key];
  16968. if (watcher) {
  16969. if (watcher.dirty) {
  16970. watcher.evaluate();
  16971. }
  16972. if (Dep.SharedObject.target) {// fixed by xxxxxx
  16973. watcher.depend();
  16974. }
  16975. return watcher.value
  16976. }
  16977. }
  16978. }
  16979. function createGetterInvoker(fn) {
  16980. return function computedGetter () {
  16981. return fn.call(this, this)
  16982. }
  16983. }
  16984. function initMethods (vm, methods) {
  16985. var props = vm.$options.props;
  16986. for (var key in methods) {
  16987. if (true) {
  16988. if (typeof methods[key] !== 'function') {
  16989. warn(
  16990. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  16991. "Did you reference the function correctly?",
  16992. vm
  16993. );
  16994. }
  16995. if (props && hasOwn(props, key)) {
  16996. warn(
  16997. ("Method \"" + key + "\" has already been defined as a prop."),
  16998. vm
  16999. );
  17000. }
  17001. if ((key in vm) && isReserved(key)) {
  17002. warn(
  17003. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  17004. "Avoid defining component methods that start with _ or $."
  17005. );
  17006. }
  17007. }
  17008. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  17009. }
  17010. }
  17011. function initWatch (vm, watch) {
  17012. for (var key in watch) {
  17013. var handler = watch[key];
  17014. if (Array.isArray(handler)) {
  17015. for (var i = 0; i < handler.length; i++) {
  17016. createWatcher(vm, key, handler[i]);
  17017. }
  17018. } else {
  17019. createWatcher(vm, key, handler);
  17020. }
  17021. }
  17022. }
  17023. function createWatcher (
  17024. vm,
  17025. expOrFn,
  17026. handler,
  17027. options
  17028. ) {
  17029. if (isPlainObject(handler)) {
  17030. options = handler;
  17031. handler = handler.handler;
  17032. }
  17033. if (typeof handler === 'string') {
  17034. handler = vm[handler];
  17035. }
  17036. return vm.$watch(expOrFn, handler, options)
  17037. }
  17038. function stateMixin (Vue) {
  17039. // flow somehow has problems with directly declared definition object
  17040. // when using Object.defineProperty, so we have to procedurally build up
  17041. // the object here.
  17042. var dataDef = {};
  17043. dataDef.get = function () { return this._data };
  17044. var propsDef = {};
  17045. propsDef.get = function () { return this._props };
  17046. if (true) {
  17047. dataDef.set = function () {
  17048. warn(
  17049. 'Avoid replacing instance root $data. ' +
  17050. 'Use nested data properties instead.',
  17051. this
  17052. );
  17053. };
  17054. propsDef.set = function () {
  17055. warn("$props is readonly.", this);
  17056. };
  17057. }
  17058. Object.defineProperty(Vue.prototype, '$data', dataDef);
  17059. Object.defineProperty(Vue.prototype, '$props', propsDef);
  17060. Vue.prototype.$set = set;
  17061. Vue.prototype.$delete = del;
  17062. Vue.prototype.$watch = function (
  17063. expOrFn,
  17064. cb,
  17065. options
  17066. ) {
  17067. var vm = this;
  17068. if (isPlainObject(cb)) {
  17069. return createWatcher(vm, expOrFn, cb, options)
  17070. }
  17071. options = options || {};
  17072. options.user = true;
  17073. var watcher = new Watcher(vm, expOrFn, cb, options);
  17074. if (options.immediate) {
  17075. try {
  17076. cb.call(vm, watcher.value);
  17077. } catch (error) {
  17078. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  17079. }
  17080. }
  17081. return function unwatchFn () {
  17082. watcher.teardown();
  17083. }
  17084. };
  17085. }
  17086. /* */
  17087. var uid$3 = 0;
  17088. function initMixin (Vue) {
  17089. Vue.prototype._init = function (options) {
  17090. var vm = this;
  17091. // a uid
  17092. vm._uid = uid$3++;
  17093. var startTag, endTag;
  17094. /* istanbul ignore if */
  17095. if ( true && config.performance && mark) {
  17096. startTag = "vue-perf-start:" + (vm._uid);
  17097. endTag = "vue-perf-end:" + (vm._uid);
  17098. mark(startTag);
  17099. }
  17100. // a flag to avoid this being observed
  17101. vm._isVue = true;
  17102. // merge options
  17103. if (options && options._isComponent) {
  17104. // optimize internal component instantiation
  17105. // since dynamic options merging is pretty slow, and none of the
  17106. // internal component options needs special treatment.
  17107. initInternalComponent(vm, options);
  17108. } else {
  17109. vm.$options = mergeOptions(
  17110. resolveConstructorOptions(vm.constructor),
  17111. options || {},
  17112. vm
  17113. );
  17114. }
  17115. /* istanbul ignore else */
  17116. if (true) {
  17117. initProxy(vm);
  17118. } else {}
  17119. // expose real self
  17120. vm._self = vm;
  17121. initLifecycle(vm);
  17122. initEvents(vm);
  17123. initRender(vm);
  17124. callHook(vm, 'beforeCreate');
  17125. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  17126. initState(vm);
  17127. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  17128. !vm._$fallback && callHook(vm, 'created');
  17129. /* istanbul ignore if */
  17130. if ( true && config.performance && mark) {
  17131. vm._name = formatComponentName(vm, false);
  17132. mark(endTag);
  17133. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  17134. }
  17135. if (vm.$options.el) {
  17136. vm.$mount(vm.$options.el);
  17137. }
  17138. };
  17139. }
  17140. function initInternalComponent (vm, options) {
  17141. var opts = vm.$options = Object.create(vm.constructor.options);
  17142. // doing this because it's faster than dynamic enumeration.
  17143. var parentVnode = options._parentVnode;
  17144. opts.parent = options.parent;
  17145. opts._parentVnode = parentVnode;
  17146. var vnodeComponentOptions = parentVnode.componentOptions;
  17147. opts.propsData = vnodeComponentOptions.propsData;
  17148. opts._parentListeners = vnodeComponentOptions.listeners;
  17149. opts._renderChildren = vnodeComponentOptions.children;
  17150. opts._componentTag = vnodeComponentOptions.tag;
  17151. if (options.render) {
  17152. opts.render = options.render;
  17153. opts.staticRenderFns = options.staticRenderFns;
  17154. }
  17155. }
  17156. function resolveConstructorOptions (Ctor) {
  17157. var options = Ctor.options;
  17158. if (Ctor.super) {
  17159. var superOptions = resolveConstructorOptions(Ctor.super);
  17160. var cachedSuperOptions = Ctor.superOptions;
  17161. if (superOptions !== cachedSuperOptions) {
  17162. // super option changed,
  17163. // need to resolve new options.
  17164. Ctor.superOptions = superOptions;
  17165. // check if there are any late-modified/attached options (#4976)
  17166. var modifiedOptions = resolveModifiedOptions(Ctor);
  17167. // update base extend options
  17168. if (modifiedOptions) {
  17169. extend(Ctor.extendOptions, modifiedOptions);
  17170. }
  17171. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  17172. if (options.name) {
  17173. options.components[options.name] = Ctor;
  17174. }
  17175. }
  17176. }
  17177. return options
  17178. }
  17179. function resolveModifiedOptions (Ctor) {
  17180. var modified;
  17181. var latest = Ctor.options;
  17182. var sealed = Ctor.sealedOptions;
  17183. for (var key in latest) {
  17184. if (latest[key] !== sealed[key]) {
  17185. if (!modified) { modified = {}; }
  17186. modified[key] = latest[key];
  17187. }
  17188. }
  17189. return modified
  17190. }
  17191. function Vue (options) {
  17192. if ( true &&
  17193. !(this instanceof Vue)
  17194. ) {
  17195. warn('Vue is a constructor and should be called with the `new` keyword');
  17196. }
  17197. this._init(options);
  17198. }
  17199. initMixin(Vue);
  17200. stateMixin(Vue);
  17201. eventsMixin(Vue);
  17202. lifecycleMixin(Vue);
  17203. renderMixin(Vue);
  17204. /* */
  17205. function initUse (Vue) {
  17206. Vue.use = function (plugin) {
  17207. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  17208. if (installedPlugins.indexOf(plugin) > -1) {
  17209. return this
  17210. }
  17211. // additional parameters
  17212. var args = toArray(arguments, 1);
  17213. args.unshift(this);
  17214. if (typeof plugin.install === 'function') {
  17215. plugin.install.apply(plugin, args);
  17216. } else if (typeof plugin === 'function') {
  17217. plugin.apply(null, args);
  17218. }
  17219. installedPlugins.push(plugin);
  17220. return this
  17221. };
  17222. }
  17223. /* */
  17224. function initMixin$1 (Vue) {
  17225. Vue.mixin = function (mixin) {
  17226. this.options = mergeOptions(this.options, mixin);
  17227. return this
  17228. };
  17229. }
  17230. /* */
  17231. function initExtend (Vue) {
  17232. /**
  17233. * Each instance constructor, including Vue, has a unique
  17234. * cid. This enables us to create wrapped "child
  17235. * constructors" for prototypal inheritance and cache them.
  17236. */
  17237. Vue.cid = 0;
  17238. var cid = 1;
  17239. /**
  17240. * Class inheritance
  17241. */
  17242. Vue.extend = function (extendOptions) {
  17243. extendOptions = extendOptions || {};
  17244. var Super = this;
  17245. var SuperId = Super.cid;
  17246. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  17247. if (cachedCtors[SuperId]) {
  17248. return cachedCtors[SuperId]
  17249. }
  17250. var name = extendOptions.name || Super.options.name;
  17251. if ( true && name) {
  17252. validateComponentName(name);
  17253. }
  17254. var Sub = function VueComponent (options) {
  17255. this._init(options);
  17256. };
  17257. Sub.prototype = Object.create(Super.prototype);
  17258. Sub.prototype.constructor = Sub;
  17259. Sub.cid = cid++;
  17260. Sub.options = mergeOptions(
  17261. Super.options,
  17262. extendOptions
  17263. );
  17264. Sub['super'] = Super;
  17265. // For props and computed properties, we define the proxy getters on
  17266. // the Vue instances at extension time, on the extended prototype. This
  17267. // avoids Object.defineProperty calls for each instance created.
  17268. if (Sub.options.props) {
  17269. initProps$1(Sub);
  17270. }
  17271. if (Sub.options.computed) {
  17272. initComputed$1(Sub);
  17273. }
  17274. // allow further extension/mixin/plugin usage
  17275. Sub.extend = Super.extend;
  17276. Sub.mixin = Super.mixin;
  17277. Sub.use = Super.use;
  17278. // create asset registers, so extended classes
  17279. // can have their private assets too.
  17280. ASSET_TYPES.forEach(function (type) {
  17281. Sub[type] = Super[type];
  17282. });
  17283. // enable recursive self-lookup
  17284. if (name) {
  17285. Sub.options.components[name] = Sub;
  17286. }
  17287. // keep a reference to the super options at extension time.
  17288. // later at instantiation we can check if Super's options have
  17289. // been updated.
  17290. Sub.superOptions = Super.options;
  17291. Sub.extendOptions = extendOptions;
  17292. Sub.sealedOptions = extend({}, Sub.options);
  17293. // cache constructor
  17294. cachedCtors[SuperId] = Sub;
  17295. return Sub
  17296. };
  17297. }
  17298. function initProps$1 (Comp) {
  17299. var props = Comp.options.props;
  17300. for (var key in props) {
  17301. proxy(Comp.prototype, "_props", key);
  17302. }
  17303. }
  17304. function initComputed$1 (Comp) {
  17305. var computed = Comp.options.computed;
  17306. for (var key in computed) {
  17307. defineComputed(Comp.prototype, key, computed[key]);
  17308. }
  17309. }
  17310. /* */
  17311. function initAssetRegisters (Vue) {
  17312. /**
  17313. * Create asset registration methods.
  17314. */
  17315. ASSET_TYPES.forEach(function (type) {
  17316. Vue[type] = function (
  17317. id,
  17318. definition
  17319. ) {
  17320. if (!definition) {
  17321. return this.options[type + 's'][id]
  17322. } else {
  17323. /* istanbul ignore if */
  17324. if ( true && type === 'component') {
  17325. validateComponentName(id);
  17326. }
  17327. if (type === 'component' && isPlainObject(definition)) {
  17328. definition.name = definition.name || id;
  17329. definition = this.options._base.extend(definition);
  17330. }
  17331. if (type === 'directive' && typeof definition === 'function') {
  17332. definition = { bind: definition, update: definition };
  17333. }
  17334. this.options[type + 's'][id] = definition;
  17335. return definition
  17336. }
  17337. };
  17338. });
  17339. }
  17340. /* */
  17341. function getComponentName (opts) {
  17342. return opts && (opts.Ctor.options.name || opts.tag)
  17343. }
  17344. function matches (pattern, name) {
  17345. if (Array.isArray(pattern)) {
  17346. return pattern.indexOf(name) > -1
  17347. } else if (typeof pattern === 'string') {
  17348. return pattern.split(',').indexOf(name) > -1
  17349. } else if (isRegExp(pattern)) {
  17350. return pattern.test(name)
  17351. }
  17352. /* istanbul ignore next */
  17353. return false
  17354. }
  17355. function pruneCache (keepAliveInstance, filter) {
  17356. var cache = keepAliveInstance.cache;
  17357. var keys = keepAliveInstance.keys;
  17358. var _vnode = keepAliveInstance._vnode;
  17359. for (var key in cache) {
  17360. var cachedNode = cache[key];
  17361. if (cachedNode) {
  17362. var name = getComponentName(cachedNode.componentOptions);
  17363. if (name && !filter(name)) {
  17364. pruneCacheEntry(cache, key, keys, _vnode);
  17365. }
  17366. }
  17367. }
  17368. }
  17369. function pruneCacheEntry (
  17370. cache,
  17371. key,
  17372. keys,
  17373. current
  17374. ) {
  17375. var cached$$1 = cache[key];
  17376. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  17377. cached$$1.componentInstance.$destroy();
  17378. }
  17379. cache[key] = null;
  17380. remove(keys, key);
  17381. }
  17382. var patternTypes = [String, RegExp, Array];
  17383. var KeepAlive = {
  17384. name: 'keep-alive',
  17385. abstract: true,
  17386. props: {
  17387. include: patternTypes,
  17388. exclude: patternTypes,
  17389. max: [String, Number]
  17390. },
  17391. created: function created () {
  17392. this.cache = Object.create(null);
  17393. this.keys = [];
  17394. },
  17395. destroyed: function destroyed () {
  17396. for (var key in this.cache) {
  17397. pruneCacheEntry(this.cache, key, this.keys);
  17398. }
  17399. },
  17400. mounted: function mounted () {
  17401. var this$1 = this;
  17402. this.$watch('include', function (val) {
  17403. pruneCache(this$1, function (name) { return matches(val, name); });
  17404. });
  17405. this.$watch('exclude', function (val) {
  17406. pruneCache(this$1, function (name) { return !matches(val, name); });
  17407. });
  17408. },
  17409. render: function render () {
  17410. var slot = this.$slots.default;
  17411. var vnode = getFirstComponentChild(slot);
  17412. var componentOptions = vnode && vnode.componentOptions;
  17413. if (componentOptions) {
  17414. // check pattern
  17415. var name = getComponentName(componentOptions);
  17416. var ref = this;
  17417. var include = ref.include;
  17418. var exclude = ref.exclude;
  17419. if (
  17420. // not included
  17421. (include && (!name || !matches(include, name))) ||
  17422. // excluded
  17423. (exclude && name && matches(exclude, name))
  17424. ) {
  17425. return vnode
  17426. }
  17427. var ref$1 = this;
  17428. var cache = ref$1.cache;
  17429. var keys = ref$1.keys;
  17430. var key = vnode.key == null
  17431. // same constructor may get registered as different local components
  17432. // so cid alone is not enough (#3269)
  17433. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  17434. : vnode.key;
  17435. if (cache[key]) {
  17436. vnode.componentInstance = cache[key].componentInstance;
  17437. // make current key freshest
  17438. remove(keys, key);
  17439. keys.push(key);
  17440. } else {
  17441. cache[key] = vnode;
  17442. keys.push(key);
  17443. // prune oldest entry
  17444. if (this.max && keys.length > parseInt(this.max)) {
  17445. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  17446. }
  17447. }
  17448. vnode.data.keepAlive = true;
  17449. }
  17450. return vnode || (slot && slot[0])
  17451. }
  17452. };
  17453. var builtInComponents = {
  17454. KeepAlive: KeepAlive
  17455. };
  17456. /* */
  17457. function initGlobalAPI (Vue) {
  17458. // config
  17459. var configDef = {};
  17460. configDef.get = function () { return config; };
  17461. if (true) {
  17462. configDef.set = function () {
  17463. warn(
  17464. 'Do not replace the Vue.config object, set individual fields instead.'
  17465. );
  17466. };
  17467. }
  17468. Object.defineProperty(Vue, 'config', configDef);
  17469. // exposed util methods.
  17470. // NOTE: these are not considered part of the public API - avoid relying on
  17471. // them unless you are aware of the risk.
  17472. Vue.util = {
  17473. warn: warn,
  17474. extend: extend,
  17475. mergeOptions: mergeOptions,
  17476. defineReactive: defineReactive$$1
  17477. };
  17478. Vue.set = set;
  17479. Vue.delete = del;
  17480. Vue.nextTick = nextTick;
  17481. // 2.6 explicit observable API
  17482. Vue.observable = function (obj) {
  17483. observe(obj);
  17484. return obj
  17485. };
  17486. Vue.options = Object.create(null);
  17487. ASSET_TYPES.forEach(function (type) {
  17488. Vue.options[type + 's'] = Object.create(null);
  17489. });
  17490. // this is used to identify the "base" constructor to extend all plain-object
  17491. // components with in Weex's multi-instance scenarios.
  17492. Vue.options._base = Vue;
  17493. extend(Vue.options.components, builtInComponents);
  17494. initUse(Vue);
  17495. initMixin$1(Vue);
  17496. initExtend(Vue);
  17497. initAssetRegisters(Vue);
  17498. }
  17499. initGlobalAPI(Vue);
  17500. Object.defineProperty(Vue.prototype, '$isServer', {
  17501. get: isServerRendering
  17502. });
  17503. Object.defineProperty(Vue.prototype, '$ssrContext', {
  17504. get: function get () {
  17505. /* istanbul ignore next */
  17506. return this.$vnode && this.$vnode.ssrContext
  17507. }
  17508. });
  17509. // expose FunctionalRenderContext for ssr runtime helper installation
  17510. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  17511. value: FunctionalRenderContext
  17512. });
  17513. Vue.version = '2.6.11';
  17514. /**
  17515. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  17516. */
  17517. var ARRAYTYPE = '[object Array]';
  17518. var OBJECTTYPE = '[object Object]';
  17519. var NULLTYPE = '[object Null]';
  17520. var UNDEFINEDTYPE = '[object Undefined]';
  17521. // const FUNCTIONTYPE = '[object Function]'
  17522. function diff(current, pre) {
  17523. var result = {};
  17524. syncKeys(current, pre);
  17525. _diff(current, pre, '', result);
  17526. return result
  17527. }
  17528. function syncKeys(current, pre) {
  17529. if (current === pre) { return }
  17530. var rootCurrentType = type(current);
  17531. var rootPreType = type(pre);
  17532. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  17533. if(Object.keys(current).length >= Object.keys(pre).length){
  17534. for (var key in pre) {
  17535. var currentValue = current[key];
  17536. if (currentValue === undefined) {
  17537. current[key] = null;
  17538. } else {
  17539. syncKeys(currentValue, pre[key]);
  17540. }
  17541. }
  17542. }
  17543. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  17544. if (current.length >= pre.length) {
  17545. pre.forEach(function (item, index) {
  17546. syncKeys(current[index], item);
  17547. });
  17548. }
  17549. }
  17550. }
  17551. function nullOrUndefined(currentType, preType) {
  17552. if(
  17553. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  17554. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  17555. ) {
  17556. return false
  17557. }
  17558. return true
  17559. }
  17560. function _diff(current, pre, path, result) {
  17561. if (current === pre) { return }
  17562. var rootCurrentType = type(current);
  17563. var rootPreType = type(pre);
  17564. if (rootCurrentType == OBJECTTYPE) {
  17565. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  17566. setResult(result, path, current);
  17567. } else {
  17568. var loop = function ( key ) {
  17569. var currentValue = current[key];
  17570. var preValue = pre[key];
  17571. var currentType = type(currentValue);
  17572. var preType = type(preValue);
  17573. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  17574. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  17575. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17576. }
  17577. } else if (currentType == ARRAYTYPE) {
  17578. if (preType != ARRAYTYPE) {
  17579. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17580. } else {
  17581. if (currentValue.length < preValue.length) {
  17582. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17583. } else {
  17584. currentValue.forEach(function (item, index) {
  17585. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  17586. });
  17587. }
  17588. }
  17589. } else if (currentType == OBJECTTYPE) {
  17590. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  17591. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  17592. } else {
  17593. for (var subKey in currentValue) {
  17594. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  17595. }
  17596. }
  17597. }
  17598. };
  17599. for (var key in current) loop( key );
  17600. }
  17601. } else if (rootCurrentType == ARRAYTYPE) {
  17602. if (rootPreType != ARRAYTYPE) {
  17603. setResult(result, path, current);
  17604. } else {
  17605. if (current.length < pre.length) {
  17606. setResult(result, path, current);
  17607. } else {
  17608. current.forEach(function (item, index) {
  17609. _diff(item, pre[index], path + '[' + index + ']', result);
  17610. });
  17611. }
  17612. }
  17613. } else {
  17614. setResult(result, path, current);
  17615. }
  17616. }
  17617. function setResult(result, k, v) {
  17618. // if (type(v) != FUNCTIONTYPE) {
  17619. result[k] = v;
  17620. // }
  17621. }
  17622. function type(obj) {
  17623. return Object.prototype.toString.call(obj)
  17624. }
  17625. /* */
  17626. function flushCallbacks$1(vm) {
  17627. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  17628. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  17629. var mpInstance = vm.$scope;
  17630. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  17631. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  17632. }
  17633. var copies = vm.__next_tick_callbacks.slice(0);
  17634. vm.__next_tick_callbacks.length = 0;
  17635. for (var i = 0; i < copies.length; i++) {
  17636. copies[i]();
  17637. }
  17638. }
  17639. }
  17640. function hasRenderWatcher(vm) {
  17641. return queue.find(function (watcher) { return vm._watcher === watcher; })
  17642. }
  17643. function nextTick$1(vm, cb) {
  17644. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  17645. //2.nextTick 之前存在 render watcher
  17646. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  17647. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  17648. var mpInstance = vm.$scope;
  17649. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  17650. ']:nextVueTick');
  17651. }
  17652. return nextTick(cb, vm)
  17653. }else{
  17654. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  17655. var mpInstance$1 = vm.$scope;
  17656. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  17657. ']:nextMPTick');
  17658. }
  17659. }
  17660. var _resolve;
  17661. if (!vm.__next_tick_callbacks) {
  17662. vm.__next_tick_callbacks = [];
  17663. }
  17664. vm.__next_tick_callbacks.push(function () {
  17665. if (cb) {
  17666. try {
  17667. cb.call(vm);
  17668. } catch (e) {
  17669. handleError(e, vm, 'nextTick');
  17670. }
  17671. } else if (_resolve) {
  17672. _resolve(vm);
  17673. }
  17674. });
  17675. // $flow-disable-line
  17676. if (!cb && typeof Promise !== 'undefined') {
  17677. return new Promise(function (resolve) {
  17678. _resolve = resolve;
  17679. })
  17680. }
  17681. }
  17682. /* */
  17683. function clearInstance(key, value) {
  17684. // 简易去除 Vue 和小程序组件实例
  17685. if (value) {
  17686. if (value._isVue || value.__v_isMPComponent) {
  17687. return {}
  17688. }
  17689. }
  17690. return value
  17691. }
  17692. function cloneWithData(vm) {
  17693. // 确保当前 vm 所有数据被同步
  17694. var ret = Object.create(null);
  17695. var dataKeys = [].concat(
  17696. Object.keys(vm._data || {}),
  17697. Object.keys(vm._computedWatchers || {}));
  17698. dataKeys.reduce(function(ret, key) {
  17699. ret[key] = vm[key];
  17700. return ret
  17701. }, ret);
  17702. // vue-composition-api
  17703. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  17704. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  17705. if (rawBindings) {
  17706. Object.keys(rawBindings).forEach(function (key) {
  17707. ret[key] = vm[key];
  17708. });
  17709. }
  17710. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  17711. Object.assign(ret, vm.$mp.data || {});
  17712. if (
  17713. Array.isArray(vm.$options.behaviors) &&
  17714. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  17715. ) { //form-field
  17716. ret['name'] = vm.name;
  17717. ret['value'] = vm.value;
  17718. }
  17719. return JSON.parse(JSON.stringify(ret, clearInstance))
  17720. }
  17721. var patch = function(oldVnode, vnode) {
  17722. var this$1 = this;
  17723. if (vnode === null) { //destroy
  17724. return
  17725. }
  17726. if (this.mpType === 'page' || this.mpType === 'component') {
  17727. var mpInstance = this.$scope;
  17728. var data = Object.create(null);
  17729. try {
  17730. data = cloneWithData(this);
  17731. } catch (err) {
  17732. console.error(err);
  17733. }
  17734. data.__webviewId__ = mpInstance.data.__webviewId__;
  17735. var mpData = Object.create(null);
  17736. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  17737. mpData[key] = mpInstance.data[key];
  17738. });
  17739. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  17740. if (Object.keys(diffData).length) {
  17741. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"kjds","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  17742. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  17743. ']差量更新',
  17744. JSON.stringify(diffData));
  17745. }
  17746. this.__next_tick_pending = true;
  17747. mpInstance.setData(diffData, function () {
  17748. this$1.__next_tick_pending = false;
  17749. flushCallbacks$1(this$1);
  17750. });
  17751. } else {
  17752. flushCallbacks$1(this);
  17753. }
  17754. }
  17755. };
  17756. /* */
  17757. function createEmptyRender() {
  17758. }
  17759. function mountComponent$1(
  17760. vm,
  17761. el,
  17762. hydrating
  17763. ) {
  17764. if (!vm.mpType) {//main.js 中的 new Vue
  17765. return vm
  17766. }
  17767. if (vm.mpType === 'app') {
  17768. vm.$options.render = createEmptyRender;
  17769. }
  17770. if (!vm.$options.render) {
  17771. vm.$options.render = createEmptyRender;
  17772. if (true) {
  17773. /* istanbul ignore if */
  17774. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  17775. vm.$options.el || el) {
  17776. warn(
  17777. 'You are using the runtime-only build of Vue where the template ' +
  17778. 'compiler is not available. Either pre-compile the templates into ' +
  17779. 'render functions, or use the compiler-included build.',
  17780. vm
  17781. );
  17782. } else {
  17783. warn(
  17784. 'Failed to mount component: template or render function not defined.',
  17785. vm
  17786. );
  17787. }
  17788. }
  17789. }
  17790. !vm._$fallback && callHook(vm, 'beforeMount');
  17791. var updateComponent = function () {
  17792. vm._update(vm._render(), hydrating);
  17793. };
  17794. // we set this to vm._watcher inside the watcher's constructor
  17795. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  17796. // component's mounted hook), which relies on vm._watcher being already defined
  17797. new Watcher(vm, updateComponent, noop, {
  17798. before: function before() {
  17799. if (vm._isMounted && !vm._isDestroyed) {
  17800. callHook(vm, 'beforeUpdate');
  17801. }
  17802. }
  17803. }, true /* isRenderWatcher */);
  17804. hydrating = false;
  17805. return vm
  17806. }
  17807. /* */
  17808. function renderClass (
  17809. staticClass,
  17810. dynamicClass
  17811. ) {
  17812. if (isDef(staticClass) || isDef(dynamicClass)) {
  17813. return concat(staticClass, stringifyClass(dynamicClass))
  17814. }
  17815. /* istanbul ignore next */
  17816. return ''
  17817. }
  17818. function concat (a, b) {
  17819. return a ? b ? (a + ' ' + b) : a : (b || '')
  17820. }
  17821. function stringifyClass (value) {
  17822. if (Array.isArray(value)) {
  17823. return stringifyArray(value)
  17824. }
  17825. if (isObject(value)) {
  17826. return stringifyObject(value)
  17827. }
  17828. if (typeof value === 'string') {
  17829. return value
  17830. }
  17831. /* istanbul ignore next */
  17832. return ''
  17833. }
  17834. function stringifyArray (value) {
  17835. var res = '';
  17836. var stringified;
  17837. for (var i = 0, l = value.length; i < l; i++) {
  17838. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  17839. if (res) { res += ' '; }
  17840. res += stringified;
  17841. }
  17842. }
  17843. return res
  17844. }
  17845. function stringifyObject (value) {
  17846. var res = '';
  17847. for (var key in value) {
  17848. if (value[key]) {
  17849. if (res) { res += ' '; }
  17850. res += key;
  17851. }
  17852. }
  17853. return res
  17854. }
  17855. /* */
  17856. var parseStyleText = cached(function (cssText) {
  17857. var res = {};
  17858. var listDelimiter = /;(?![^(]*\))/g;
  17859. var propertyDelimiter = /:(.+)/;
  17860. cssText.split(listDelimiter).forEach(function (item) {
  17861. if (item) {
  17862. var tmp = item.split(propertyDelimiter);
  17863. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  17864. }
  17865. });
  17866. return res
  17867. });
  17868. // normalize possible array / string values into Object
  17869. function normalizeStyleBinding (bindingStyle) {
  17870. if (Array.isArray(bindingStyle)) {
  17871. return toObject(bindingStyle)
  17872. }
  17873. if (typeof bindingStyle === 'string') {
  17874. return parseStyleText(bindingStyle)
  17875. }
  17876. return bindingStyle
  17877. }
  17878. /* */
  17879. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  17880. function getTarget(obj, path) {
  17881. var parts = path.split('.');
  17882. var key = parts[0];
  17883. if (key.indexOf('__$n') === 0) { //number index
  17884. key = parseInt(key.replace('__$n', ''));
  17885. }
  17886. if (parts.length === 1) {
  17887. return obj[key]
  17888. }
  17889. return getTarget(obj[key], parts.slice(1).join('.'))
  17890. }
  17891. function internalMixin(Vue) {
  17892. Vue.config.errorHandler = function(err, vm, info) {
  17893. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  17894. console.error(err);
  17895. /* eslint-disable no-undef */
  17896. var app = typeof getApp === 'function' && getApp();
  17897. if (app && app.onError) {
  17898. app.onError(err);
  17899. }
  17900. };
  17901. var oldEmit = Vue.prototype.$emit;
  17902. Vue.prototype.$emit = function(event) {
  17903. if (this.$scope && event) {
  17904. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  17905. if (triggerEvent) {
  17906. try {
  17907. triggerEvent.call(this.$scope, event, {
  17908. __args__: toArray(arguments, 1)
  17909. });
  17910. } catch (error) {
  17911. }
  17912. }
  17913. }
  17914. return oldEmit.apply(this, arguments)
  17915. };
  17916. Vue.prototype.$nextTick = function(fn) {
  17917. return nextTick$1(this, fn)
  17918. };
  17919. MP_METHODS.forEach(function (method) {
  17920. Vue.prototype[method] = function(args) {
  17921. if (this.$scope && this.$scope[method]) {
  17922. return this.$scope[method](args)
  17923. }
  17924. // mp-alipay
  17925. if (typeof my === 'undefined') {
  17926. return
  17927. }
  17928. if (method === 'createSelectorQuery') {
  17929. /* eslint-disable no-undef */
  17930. return my.createSelectorQuery(args)
  17931. } else if (method === 'createIntersectionObserver') {
  17932. /* eslint-disable no-undef */
  17933. return my.createIntersectionObserver(args)
  17934. }
  17935. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  17936. };
  17937. });
  17938. Vue.prototype.__init_provide = initProvide;
  17939. Vue.prototype.__init_injections = initInjections;
  17940. Vue.prototype.__call_hook = function(hook, args) {
  17941. var vm = this;
  17942. // #7573 disable dep collection when invoking lifecycle hooks
  17943. pushTarget();
  17944. var handlers = vm.$options[hook];
  17945. var info = hook + " hook";
  17946. var ret;
  17947. if (handlers) {
  17948. for (var i = 0, j = handlers.length; i < j; i++) {
  17949. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  17950. }
  17951. }
  17952. if (vm._hasHookEvent) {
  17953. vm.$emit('hook:' + hook, args);
  17954. }
  17955. popTarget();
  17956. return ret
  17957. };
  17958. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  17959. if (Array.isArray(modifiers)) {
  17960. if (modifiers.indexOf('trim') !== -1) {
  17961. value = value.trim();
  17962. }
  17963. if (modifiers.indexOf('number') !== -1) {
  17964. value = this._n(value);
  17965. }
  17966. }
  17967. if (!target) {
  17968. target = this;
  17969. }
  17970. // 解决动态属性添加
  17971. Vue.set(target, key, value);
  17972. };
  17973. Vue.prototype.__set_sync = function(target, key, value) {
  17974. if (!target) {
  17975. target = this;
  17976. }
  17977. // 解决动态属性添加
  17978. Vue.set(target, key, value);
  17979. };
  17980. Vue.prototype.__get_orig = function(item) {
  17981. if (isPlainObject(item)) {
  17982. return item['$orig'] || item
  17983. }
  17984. return item
  17985. };
  17986. Vue.prototype.__get_value = function(dataPath, target) {
  17987. return getTarget(target || this, dataPath)
  17988. };
  17989. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  17990. return renderClass(staticClass, dynamicClass)
  17991. };
  17992. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  17993. if (!dynamicStyle && !staticStyle) {
  17994. return ''
  17995. }
  17996. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  17997. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  17998. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  17999. };
  18000. Vue.prototype.__map = function(val, iteratee) {
  18001. //TODO 暂不考虑 string
  18002. var ret, i, l, keys, key;
  18003. if (Array.isArray(val)) {
  18004. ret = new Array(val.length);
  18005. for (i = 0, l = val.length; i < l; i++) {
  18006. ret[i] = iteratee(val[i], i);
  18007. }
  18008. return ret
  18009. } else if (isObject(val)) {
  18010. keys = Object.keys(val);
  18011. ret = Object.create(null);
  18012. for (i = 0, l = keys.length; i < l; i++) {
  18013. key = keys[i];
  18014. ret[key] = iteratee(val[key], key, i);
  18015. }
  18016. return ret
  18017. } else if (typeof val === 'number') {
  18018. ret = new Array(val);
  18019. for (i = 0, l = val; i < l; i++) {
  18020. // 第一个参数暂时仍和小程序一致
  18021. ret[i] = iteratee(i, i);
  18022. }
  18023. return ret
  18024. }
  18025. return []
  18026. };
  18027. }
  18028. /* */
  18029. var LIFECYCLE_HOOKS$1 = [
  18030. //App
  18031. 'onLaunch',
  18032. 'onShow',
  18033. 'onHide',
  18034. 'onUniNViewMessage',
  18035. 'onPageNotFound',
  18036. 'onThemeChange',
  18037. 'onError',
  18038. 'onUnhandledRejection',
  18039. //Page
  18040. 'onInit',
  18041. 'onLoad',
  18042. // 'onShow',
  18043. 'onReady',
  18044. // 'onHide',
  18045. 'onUnload',
  18046. 'onPullDownRefresh',
  18047. 'onReachBottom',
  18048. 'onTabItemTap',
  18049. 'onAddToFavorites',
  18050. 'onShareTimeline',
  18051. 'onShareAppMessage',
  18052. 'onResize',
  18053. 'onPageScroll',
  18054. 'onNavigationBarButtonTap',
  18055. 'onBackPress',
  18056. 'onNavigationBarSearchInputChanged',
  18057. 'onNavigationBarSearchInputConfirmed',
  18058. 'onNavigationBarSearchInputClicked',
  18059. 'onUploadDouyinVideo',
  18060. 'onNFCReadMessage',
  18061. //Component
  18062. // 'onReady', // 兼容旧版本,应该移除该事件
  18063. 'onPageShow',
  18064. 'onPageHide',
  18065. 'onPageResize'
  18066. ];
  18067. function lifecycleMixin$1(Vue) {
  18068. //fixed vue-class-component
  18069. var oldExtend = Vue.extend;
  18070. Vue.extend = function(extendOptions) {
  18071. extendOptions = extendOptions || {};
  18072. var methods = extendOptions.methods;
  18073. if (methods) {
  18074. Object.keys(methods).forEach(function (methodName) {
  18075. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  18076. extendOptions[methodName] = methods[methodName];
  18077. delete methods[methodName];
  18078. }
  18079. });
  18080. }
  18081. return oldExtend.call(this, extendOptions)
  18082. };
  18083. var strategies = Vue.config.optionMergeStrategies;
  18084. var mergeHook = strategies.created;
  18085. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  18086. strategies[hook] = mergeHook;
  18087. });
  18088. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  18089. }
  18090. /* */
  18091. // install platform patch function
  18092. Vue.prototype.__patch__ = patch;
  18093. // public mount method
  18094. Vue.prototype.$mount = function(
  18095. el ,
  18096. hydrating
  18097. ) {
  18098. return mountComponent$1(this, el, hydrating)
  18099. };
  18100. lifecycleMixin$1(Vue);
  18101. internalMixin(Vue);
  18102. /* */
  18103. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  18104. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  18105. /***/ }),
  18106. /***/ 26:
  18107. /*!************************************************!*\
  18108. !*** D:/project/crossBorder/wx-qhb/pages.json ***!
  18109. \************************************************/
  18110. /*! no static exports found */
  18111. /***/ (function(module, exports) {
  18112. /***/ }),
  18113. /***/ 3:
  18114. /*!***********************************!*\
  18115. !*** (webpack)/buildin/global.js ***!
  18116. \***********************************/
  18117. /*! no static exports found */
  18118. /***/ (function(module, exports) {
  18119. var g;
  18120. // This works in non-strict mode
  18121. g = (function() {
  18122. return this;
  18123. })();
  18124. try {
  18125. // This works if eval is allowed (see CSP)
  18126. g = g || new Function("return this")();
  18127. } catch (e) {
  18128. // This works if the window reference is available
  18129. if (typeof window === "object") g = window;
  18130. }
  18131. // g can still be undefined, but nothing to do about it...
  18132. // We return undefined, instead of nothing here, so it's
  18133. // easier to handle this case. if(!global) { ...}
  18134. module.exports = g;
  18135. /***/ }),
  18136. /***/ 32:
  18137. /*!**********************************************************************************************************!*\
  18138. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  18139. \**********************************************************************************************************/
  18140. /*! exports provided: default */
  18141. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18142. "use strict";
  18143. __webpack_require__.r(__webpack_exports__);
  18144. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  18145. /* globals __VUE_SSR_CONTEXT__ */
  18146. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  18147. // This module is a runtime utility for cleaner component module output and will
  18148. // be included in the final webpack user bundle.
  18149. function normalizeComponent (
  18150. scriptExports,
  18151. render,
  18152. staticRenderFns,
  18153. functionalTemplate,
  18154. injectStyles,
  18155. scopeId,
  18156. moduleIdentifier, /* server only */
  18157. shadowMode, /* vue-cli only */
  18158. components, // fixed by xxxxxx auto components
  18159. renderjs // fixed by xxxxxx renderjs
  18160. ) {
  18161. // Vue.extend constructor export interop
  18162. var options = typeof scriptExports === 'function'
  18163. ? scriptExports.options
  18164. : scriptExports
  18165. // fixed by xxxxxx auto components
  18166. if (components) {
  18167. if (!options.components) {
  18168. options.components = {}
  18169. }
  18170. var hasOwn = Object.prototype.hasOwnProperty
  18171. for (var name in components) {
  18172. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  18173. options.components[name] = components[name]
  18174. }
  18175. }
  18176. }
  18177. // fixed by xxxxxx renderjs
  18178. if (renderjs) {
  18179. if(typeof renderjs.beforeCreate === 'function'){
  18180. renderjs.beforeCreate = [renderjs.beforeCreate]
  18181. }
  18182. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  18183. this[renderjs.__module] = this
  18184. });
  18185. (options.mixins || (options.mixins = [])).push(renderjs)
  18186. }
  18187. // render functions
  18188. if (render) {
  18189. options.render = render
  18190. options.staticRenderFns = staticRenderFns
  18191. options._compiled = true
  18192. }
  18193. // functional template
  18194. if (functionalTemplate) {
  18195. options.functional = true
  18196. }
  18197. // scopedId
  18198. if (scopeId) {
  18199. options._scopeId = 'data-v-' + scopeId
  18200. }
  18201. var hook
  18202. if (moduleIdentifier) { // server build
  18203. hook = function (context) {
  18204. // 2.3 injection
  18205. context =
  18206. context || // cached call
  18207. (this.$vnode && this.$vnode.ssrContext) || // stateful
  18208. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  18209. // 2.2 with runInNewContext: true
  18210. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  18211. context = __VUE_SSR_CONTEXT__
  18212. }
  18213. // inject component styles
  18214. if (injectStyles) {
  18215. injectStyles.call(this, context)
  18216. }
  18217. // register component module identifier for async chunk inferrence
  18218. if (context && context._registeredComponents) {
  18219. context._registeredComponents.add(moduleIdentifier)
  18220. }
  18221. }
  18222. // used by ssr in case component is cached and beforeCreate
  18223. // never gets called
  18224. options._ssrRegister = hook
  18225. } else if (injectStyles) {
  18226. hook = shadowMode
  18227. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  18228. : injectStyles
  18229. }
  18230. if (hook) {
  18231. if (options.functional) {
  18232. // for template-only hot-reload because in that case the render fn doesn't
  18233. // go through the normalizer
  18234. options._injectStyles = hook
  18235. // register for functioal component in vue file
  18236. var originalRender = options.render
  18237. options.render = function renderWithStyleInjection (h, context) {
  18238. hook.call(context)
  18239. return originalRender(h, context)
  18240. }
  18241. } else {
  18242. // inject component registration as beforeCreate hook
  18243. var existing = options.beforeCreate
  18244. options.beforeCreate = existing
  18245. ? [].concat(existing, hook)
  18246. : [hook]
  18247. }
  18248. }
  18249. return {
  18250. exports: scriptExports,
  18251. options: options
  18252. }
  18253. }
  18254. /***/ }),
  18255. /***/ 33:
  18256. /*!**************************************************************!*\
  18257. !*** D:/project/crossBorder/wx-qhb/uni.promisify.adaptor.js ***!
  18258. \**************************************************************/
  18259. /*! no static exports found */
  18260. /***/ (function(module, exports, __webpack_require__) {
  18261. /* WEBPACK VAR INJECTION */(function(uni) {var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18262. uni.addInterceptor({
  18263. returnValue: function returnValue(res) {
  18264. if (!(!!res && (_typeof(res) === "object" || typeof res === "function") && typeof res.then === "function")) {
  18265. return res;
  18266. }
  18267. return new Promise(function (resolve, reject) {
  18268. res.then(function (res) {
  18269. return res[0] ? reject(res[0]) : resolve(res[1]);
  18270. });
  18271. });
  18272. }
  18273. });
  18274. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18275. /***/ }),
  18276. /***/ 34:
  18277. /*!*******************************************************!*\
  18278. !*** D:/project/crossBorder/wx-qhb/uview-ui/index.js ***!
  18279. \*******************************************************/
  18280. /*! no static exports found */
  18281. /***/ (function(module, exports, __webpack_require__) {
  18282. "use strict";
  18283. /* WEBPACK VAR INJECTION */(function(uni) {
  18284. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18285. Object.defineProperty(exports, "__esModule", {
  18286. value: true
  18287. });
  18288. exports.default = void 0;
  18289. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  18290. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 35));
  18291. var _mpMixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mpMixin.js */ 36));
  18292. var _luchRequest = _interopRequireDefault(__webpack_require__(/*! ./libs/luch-request */ 37));
  18293. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/util/route.js */ 55));
  18294. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 59));
  18295. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 60));
  18296. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 61));
  18297. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 62));
  18298. var _index = _interopRequireDefault(__webpack_require__(/*! ./libs/function/index.js */ 63));
  18299. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 66));
  18300. var _props = _interopRequireDefault(__webpack_require__(/*! ./libs/config/props.js */ 67));
  18301. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 157));
  18302. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/config/color.js */ 115));
  18303. var _platform = _interopRequireDefault(__webpack_require__(/*! ./libs/function/platform */ 158));
  18304. 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; }
  18305. 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; }
  18306. // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
  18307. var pleaseSetTranspileDependencies = {},
  18308. babelTest = pleaseSetTranspileDependencies === null || pleaseSetTranspileDependencies === void 0 ? void 0 : pleaseSetTranspileDependencies.test;
  18309. // 引入全局mixin
  18310. var $u = _objectSpread(_objectSpread({
  18311. route: _route.default,
  18312. date: _index.default.timeFormat,
  18313. // 另名date
  18314. colorGradient: _colorGradient.default.colorGradient,
  18315. hexToRgb: _colorGradient.default.hexToRgb,
  18316. rgbToHex: _colorGradient.default.rgbToHex,
  18317. colorToRgba: _colorGradient.default.colorToRgba,
  18318. test: _test.default,
  18319. type: ['primary', 'success', 'error', 'warning', 'info'],
  18320. http: new _luchRequest.default(),
  18321. config: _config.default,
  18322. // uView配置信息相关,比如版本号
  18323. zIndex: _zIndex.default,
  18324. debounce: _debounce.default,
  18325. throttle: _throttle.default,
  18326. mixin: _mixin.default,
  18327. mpMixin: _mpMixin.default,
  18328. props: _props.default
  18329. }, _index.default), {}, {
  18330. color: _color.default,
  18331. platform: _platform.default
  18332. });
  18333. // $u挂载到uni对象上
  18334. uni.$u = $u;
  18335. var install = function install(Vue) {
  18336. // 时间格式化,同时两个名称,date和timeFormat
  18337. Vue.filter('timeFormat', function (timestamp, format) {
  18338. return uni.$u.timeFormat(timestamp, format);
  18339. });
  18340. Vue.filter('date', function (timestamp, format) {
  18341. return uni.$u.timeFormat(timestamp, format);
  18342. });
  18343. // 将多久以前的方法,注入到全局过滤器
  18344. Vue.filter('timeFrom', function (timestamp, format) {
  18345. return uni.$u.timeFrom(timestamp, format);
  18346. });
  18347. // 同时挂载到uni和Vue.prototype中
  18348. // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
  18349. Vue.prototype.$u = $u;
  18350. Vue.mixin(_mixin.default);
  18351. };
  18352. var _default = {
  18353. install: install
  18354. };
  18355. exports.default = _default;
  18356. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18357. /***/ }),
  18358. /***/ 35:
  18359. /*!******************************************************************!*\
  18360. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/mixin.js ***!
  18361. \******************************************************************/
  18362. /*! no static exports found */
  18363. /***/ (function(module, exports, __webpack_require__) {
  18364. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  18365. // 定义每个组件都可能需要用到的外部样式以及类名
  18366. props: {
  18367. // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式
  18368. customStyle: {
  18369. type: [Object, String],
  18370. default: function _default() {
  18371. return {};
  18372. }
  18373. },
  18374. customClass: {
  18375. type: String,
  18376. default: ''
  18377. },
  18378. // 跳转的页面路径
  18379. url: {
  18380. type: String,
  18381. default: ''
  18382. },
  18383. // 页面跳转的类型
  18384. linkType: {
  18385. type: String,
  18386. default: 'navigateTo'
  18387. }
  18388. },
  18389. data: function data() {
  18390. return {};
  18391. },
  18392. onLoad: function onLoad() {
  18393. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  18394. this.$u.getRect = this.$uGetRect;
  18395. },
  18396. created: function created() {
  18397. // 组件当中,只有created声明周期,为了能在组件使用,故也在created中将方法挂载到$u
  18398. this.$u.getRect = this.$uGetRect;
  18399. },
  18400. computed: {
  18401. // 在2.x版本中,将会把$u挂载到uni对象下,导致在模板中无法使用uni.$u.xxx形式
  18402. // 所以这里通过computed计算属性将其附加到this.$u上,就可以在模板或者js中使用uni.$u.xxx
  18403. // 只在nvue环境通过此方式引入完整的$u,其他平台会出现性能问题,非nvue则按需引入(主要原因是props过大)
  18404. $u: function $u() {
  18405. // 在非nvue端,移除props,http,mixin等对象,避免在小程序setData时数据过大影响性能
  18406. return uni.$u.deepMerge(uni.$u, {
  18407. props: undefined,
  18408. http: undefined,
  18409. mixin: undefined
  18410. });
  18411. },
  18412. /**
  18413. * 生成bem规则类名
  18414. * 由于微信小程序,H5,nvue之间绑定class的差异,无法通过:class="[bem()]"的形式进行同用
  18415. * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式
  18416. * @param {String} name 组件名称
  18417. * @param {Array} fixed 一直会存在的类名
  18418. * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名
  18419. * @returns {Array|string}
  18420. */
  18421. bem: function bem() {
  18422. return function (name, fixed, change) {
  18423. var _this = this;
  18424. // 类名前缀
  18425. var prefix = "u-".concat(name, "--");
  18426. var classes = {};
  18427. if (fixed) {
  18428. fixed.map(function (item) {
  18429. // 这里的类名,会一直存在
  18430. classes[prefix + _this[item]] = true;
  18431. });
  18432. }
  18433. if (change) {
  18434. change.map(function (item) {
  18435. // 这里的类名,会根据this[item]的值为true或者false,而进行添加或者移除某一个类
  18436. _this[item] ? classes[prefix + item] = _this[item] : delete classes[prefix + item];
  18437. });
  18438. }
  18439. return Object.keys(classes);
  18440. // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效
  18441. };
  18442. }
  18443. },
  18444. methods: {
  18445. // 跳转某一个页面
  18446. openPage: function openPage() {
  18447. var urlKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'url';
  18448. var url = this[urlKey];
  18449. if (url) {
  18450. // 执行类似uni.navigateTo的方法
  18451. uni[this.linkType]({
  18452. url: url
  18453. });
  18454. }
  18455. },
  18456. // 查询节点信息
  18457. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  18458. // 解决办法为在组件根部再套一个没有任何作用的view元素
  18459. $uGetRect: function $uGetRect(selector, all) {
  18460. var _this2 = this;
  18461. return new Promise(function (resolve) {
  18462. uni.createSelectorQuery().in(_this2)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  18463. if (all && Array.isArray(rect) && rect.length) {
  18464. resolve(rect);
  18465. }
  18466. if (!all && rect) {
  18467. resolve(rect);
  18468. }
  18469. }).exec();
  18470. });
  18471. },
  18472. getParentData: function getParentData() {
  18473. var _this3 = this;
  18474. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  18475. // 避免在created中去定义parent变量
  18476. if (!this.parent) this.parent = {};
  18477. // 这里的本质原理是,通过获取父组件实例(也即类似u-radio的父组件u-radio-group的this)
  18478. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  18479. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  18480. // 此处并不会自动更新子组件的数据,而是依赖父组件u-radio-group去监听data的变化,手动调用更新子组件的方法去重新获取
  18481. this.parent = uni.$u.$parent.call(this, parentName);
  18482. if (this.parent.children) {
  18483. // 如果父组件的children不存在本组件的实例,才将本实例添加到父组件的children中
  18484. this.parent.children.indexOf(this) === -1 && this.parent.children.push(this);
  18485. }
  18486. if (this.parent && this.parentData) {
  18487. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  18488. Object.keys(this.parentData).map(function (key) {
  18489. _this3.parentData[key] = _this3.parent[key];
  18490. });
  18491. }
  18492. },
  18493. // 阻止事件冒泡
  18494. preventEvent: function preventEvent(e) {
  18495. e && typeof e.stopPropagation === 'function' && e.stopPropagation();
  18496. },
  18497. // 空操作
  18498. noop: function noop(e) {
  18499. this.preventEvent(e);
  18500. }
  18501. },
  18502. onReachBottom: function onReachBottom() {
  18503. uni.$emit('uOnReachBottom');
  18504. },
  18505. beforeDestroy: function beforeDestroy() {
  18506. var _this4 = this;
  18507. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  18508. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  18509. if (this.parent && uni.$u.test.array(this.parent.children)) {
  18510. // 组件销毁时,移除父组件中的children数组中对应的实例
  18511. var childrenList = this.parent.children;
  18512. childrenList.map(function (child, index) {
  18513. // 如果相等,则移除
  18514. if (child === _this4) {
  18515. childrenList.splice(index, 1);
  18516. }
  18517. });
  18518. }
  18519. }
  18520. };
  18521. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18522. /***/ }),
  18523. /***/ 36:
  18524. /*!********************************************************************!*\
  18525. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/mpMixin.js ***!
  18526. \********************************************************************/
  18527. /*! no static exports found */
  18528. /***/ (function(module, exports, __webpack_require__) {
  18529. "use strict";
  18530. Object.defineProperty(exports, "__esModule", {
  18531. value: true
  18532. });
  18533. exports.default = void 0;
  18534. var _default = {
  18535. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  18536. options: {
  18537. virtualHost: true
  18538. }
  18539. };
  18540. exports.default = _default;
  18541. /***/ }),
  18542. /***/ 37:
  18543. /*!*************************************************************************!*\
  18544. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/index.js ***!
  18545. \*************************************************************************/
  18546. /*! no static exports found */
  18547. /***/ (function(module, exports, __webpack_require__) {
  18548. "use strict";
  18549. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18550. Object.defineProperty(exports, "__esModule", {
  18551. value: true
  18552. });
  18553. exports.default = void 0;
  18554. var _Request = _interopRequireDefault(__webpack_require__(/*! ./core/Request */ 38));
  18555. var _default = _Request.default;
  18556. exports.default = _default;
  18557. /***/ }),
  18558. /***/ 38:
  18559. /*!********************************************************************************!*\
  18560. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/Request.js ***!
  18561. \********************************************************************************/
  18562. /*! no static exports found */
  18563. /***/ (function(module, exports, __webpack_require__) {
  18564. "use strict";
  18565. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18566. Object.defineProperty(exports, "__esModule", {
  18567. value: true
  18568. });
  18569. exports.default = void 0;
  18570. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  18571. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  18572. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  18573. var _dispatchRequest = _interopRequireDefault(__webpack_require__(/*! ./dispatchRequest */ 39));
  18574. var _InterceptorManager = _interopRequireDefault(__webpack_require__(/*! ./InterceptorManager */ 47));
  18575. var _mergeConfig = _interopRequireDefault(__webpack_require__(/*! ./mergeConfig */ 48));
  18576. var _defaults = _interopRequireDefault(__webpack_require__(/*! ./defaults */ 49));
  18577. var _utils = __webpack_require__(/*! ../utils */ 42);
  18578. var _clone = _interopRequireDefault(__webpack_require__(/*! ../utils/clone */ 50));
  18579. 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; }
  18580. 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; }
  18581. var Request = /*#__PURE__*/function () {
  18582. /**
  18583. * @param {Object} arg - 全局配置
  18584. * @param {String} arg.baseURL - 全局根路径
  18585. * @param {Object} arg.header - 全局header
  18586. * @param {String} arg.method = [GET|POST|PUT|DELETE|CONNECT|HEAD|OPTIONS|TRACE] - 全局默认请求方式
  18587. * @param {String} arg.dataType = [json] - 全局默认的dataType
  18588. * @param {String} arg.responseType = [text|arraybuffer] - 全局默认的responseType。支付宝小程序不支持
  18589. * @param {Object} arg.custom - 全局默认的自定义参数
  18590. * @param {Number} arg.timeout - 全局默认的超时时间,单位 ms。默认60000。H5(HBuilderX 2.9.9+)、APP(HBuilderX 2.9.9+)、微信小程序(2.10.0)、支付宝小程序
  18591. * @param {Boolean} arg.sslVerify - 全局默认的是否验证 ssl 证书。默认true.仅App安卓端支持(HBuilderX 2.3.3+)
  18592. * @param {Boolean} arg.withCredentials - 全局默认的跨域请求时是否携带凭证(cookies)。默认false。仅H5支持(HBuilderX 2.6.15+)
  18593. * @param {Boolean} arg.firstIpv4 - 全DNS解析时优先使用ipv4。默认false。仅 App-Android 支持 (HBuilderX 2.8.0+)
  18594. * @param {Function(statusCode):Boolean} arg.validateStatus - 全局默认的自定义验证器。默认statusCode >= 200 && statusCode < 300
  18595. */
  18596. function Request() {
  18597. var arg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  18598. (0, _classCallCheck2.default)(this, Request);
  18599. if (!(0, _utils.isPlainObject)(arg)) {
  18600. arg = {};
  18601. console.warn('设置全局参数必须接收一个Object');
  18602. }
  18603. this.config = (0, _clone.default)(_objectSpread(_objectSpread({}, _defaults.default), arg));
  18604. this.interceptors = {
  18605. request: new _InterceptorManager.default(),
  18606. response: new _InterceptorManager.default()
  18607. };
  18608. }
  18609. /**
  18610. * @Function
  18611. * @param {Request~setConfigCallback} f - 设置全局默认配置
  18612. */
  18613. (0, _createClass2.default)(Request, [{
  18614. key: "setConfig",
  18615. value: function setConfig(f) {
  18616. this.config = f(this.config);
  18617. }
  18618. }, {
  18619. key: "middleware",
  18620. value: function middleware(config) {
  18621. config = (0, _mergeConfig.default)(this.config, config);
  18622. var chain = [_dispatchRequest.default, undefined];
  18623. var promise = Promise.resolve(config);
  18624. this.interceptors.request.forEach(function (interceptor) {
  18625. chain.unshift(interceptor.fulfilled, interceptor.rejected);
  18626. });
  18627. this.interceptors.response.forEach(function (interceptor) {
  18628. chain.push(interceptor.fulfilled, interceptor.rejected);
  18629. });
  18630. while (chain.length) {
  18631. promise = promise.then(chain.shift(), chain.shift());
  18632. }
  18633. return promise;
  18634. }
  18635. /**
  18636. * @Function
  18637. * @param {Object} config - 请求配置项
  18638. * @prop {String} options.url - 请求路径
  18639. * @prop {Object} options.data - 请求参数
  18640. * @prop {Object} [options.responseType = config.responseType] [text|arraybuffer] - 响应的数据类型
  18641. * @prop {Object} [options.dataType = config.dataType] - 如果设为 json,会尝试对返回的数据做一次 JSON.parse
  18642. * @prop {Object} [options.header = config.header] - 请求header
  18643. * @prop {Object} [options.method = config.method] - 请求方法
  18644. * @returns {Promise<unknown>}
  18645. */
  18646. }, {
  18647. key: "request",
  18648. value: function request() {
  18649. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  18650. return this.middleware(config);
  18651. }
  18652. }, {
  18653. key: "get",
  18654. value: function get(url) {
  18655. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18656. return this.middleware(_objectSpread({
  18657. url: url,
  18658. method: 'GET'
  18659. }, options));
  18660. }
  18661. }, {
  18662. key: "post",
  18663. value: function post(url, data) {
  18664. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18665. return this.middleware(_objectSpread({
  18666. url: url,
  18667. data: data,
  18668. method: 'POST'
  18669. }, options));
  18670. }
  18671. }, {
  18672. key: "put",
  18673. value: function put(url, data) {
  18674. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18675. return this.middleware(_objectSpread({
  18676. url: url,
  18677. data: data,
  18678. method: 'PUT'
  18679. }, options));
  18680. }
  18681. }, {
  18682. key: "delete",
  18683. value: function _delete(url, data) {
  18684. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18685. return this.middleware(_objectSpread({
  18686. url: url,
  18687. data: data,
  18688. method: 'DELETE'
  18689. }, options));
  18690. }
  18691. }, {
  18692. key: "connect",
  18693. value: function connect(url, data) {
  18694. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18695. return this.middleware(_objectSpread({
  18696. url: url,
  18697. data: data,
  18698. method: 'CONNECT'
  18699. }, options));
  18700. }
  18701. }, {
  18702. key: "head",
  18703. value: function head(url, data) {
  18704. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18705. return this.middleware(_objectSpread({
  18706. url: url,
  18707. data: data,
  18708. method: 'HEAD'
  18709. }, options));
  18710. }
  18711. }, {
  18712. key: "options",
  18713. value: function options(url, data) {
  18714. var _options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18715. return this.middleware(_objectSpread({
  18716. url: url,
  18717. data: data,
  18718. method: 'OPTIONS'
  18719. }, _options));
  18720. }
  18721. }, {
  18722. key: "trace",
  18723. value: function trace(url, data) {
  18724. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  18725. return this.middleware(_objectSpread({
  18726. url: url,
  18727. data: data,
  18728. method: 'TRACE'
  18729. }, options));
  18730. }
  18731. }, {
  18732. key: "upload",
  18733. value: function upload(url) {
  18734. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18735. config.url = url;
  18736. config.method = 'UPLOAD';
  18737. return this.middleware(config);
  18738. }
  18739. }, {
  18740. key: "download",
  18741. value: function download(url) {
  18742. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  18743. config.url = url;
  18744. config.method = 'DOWNLOAD';
  18745. return this.middleware(config);
  18746. }
  18747. }]);
  18748. return Request;
  18749. }();
  18750. /**
  18751. * setConfig回调
  18752. * @return {Object} - 返回操作后的config
  18753. * @callback Request~setConfigCallback
  18754. * @param {Object} config - 全局默认config
  18755. */
  18756. exports.default = Request;
  18757. /***/ }),
  18758. /***/ 39:
  18759. /*!****************************************************************************************!*\
  18760. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/dispatchRequest.js ***!
  18761. \****************************************************************************************/
  18762. /*! no static exports found */
  18763. /***/ (function(module, exports, __webpack_require__) {
  18764. "use strict";
  18765. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18766. Object.defineProperty(exports, "__esModule", {
  18767. value: true
  18768. });
  18769. exports.default = void 0;
  18770. var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 40));
  18771. var _default = function _default(config) {
  18772. return (0, _index.default)(config);
  18773. };
  18774. exports.default = _default;
  18775. /***/ }),
  18776. /***/ 4:
  18777. /*!**********************************************************************!*\
  18778. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  18779. \**********************************************************************/
  18780. /*! no static exports found */
  18781. /***/ (function(module, exports) {
  18782. function _interopRequireDefault(obj) {
  18783. return obj && obj.__esModule ? obj : {
  18784. "default": obj
  18785. };
  18786. }
  18787. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  18788. /***/ }),
  18789. /***/ 40:
  18790. /*!**********************************************************************************!*\
  18791. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/adapters/index.js ***!
  18792. \**********************************************************************************/
  18793. /*! no static exports found */
  18794. /***/ (function(module, exports, __webpack_require__) {
  18795. "use strict";
  18796. /* WEBPACK VAR INJECTION */(function(uni) {
  18797. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18798. Object.defineProperty(exports, "__esModule", {
  18799. value: true
  18800. });
  18801. exports.default = void 0;
  18802. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  18803. var _buildURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/buildURL */ 41));
  18804. var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! ../core/buildFullPath */ 43));
  18805. var _settle = _interopRequireDefault(__webpack_require__(/*! ../core/settle */ 46));
  18806. var _utils = __webpack_require__(/*! ../utils */ 42);
  18807. 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; }
  18808. 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; }
  18809. /**
  18810. * 返回可选值存在的配置
  18811. * @param {Array} keys - 可选值数组
  18812. * @param {Object} config2 - 配置
  18813. * @return {{}} - 存在的配置项
  18814. */
  18815. var mergeKeys = function mergeKeys(keys, config2) {
  18816. var config = {};
  18817. keys.forEach(function (prop) {
  18818. if (!(0, _utils.isUndefined)(config2[prop])) {
  18819. config[prop] = config2[prop];
  18820. }
  18821. });
  18822. return config;
  18823. };
  18824. var _default = function _default(config) {
  18825. return new Promise(function (resolve, reject) {
  18826. var fullPath = (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params);
  18827. var _config = {
  18828. url: fullPath,
  18829. header: config.header,
  18830. complete: function complete(response) {
  18831. config.fullPath = fullPath;
  18832. response.config = config;
  18833. try {
  18834. // 对可能字符串不是json 的情况容错
  18835. if (typeof response.data === 'string') {
  18836. response.data = JSON.parse(response.data);
  18837. }
  18838. // eslint-disable-next-line no-empty
  18839. } catch (e) {}
  18840. (0, _settle.default)(resolve, reject, response);
  18841. }
  18842. };
  18843. var requestTask;
  18844. if (config.method === 'UPLOAD') {
  18845. delete _config.header['content-type'];
  18846. delete _config.header['Content-Type'];
  18847. var otherConfig = {
  18848. filePath: config.filePath,
  18849. name: config.name
  18850. };
  18851. var optionalKeys = ['formData'];
  18852. requestTask = uni.uploadFile(_objectSpread(_objectSpread(_objectSpread({}, _config), otherConfig), mergeKeys(optionalKeys, config)));
  18853. } else if (config.method === 'DOWNLOAD') {
  18854. requestTask = uni.downloadFile(_config);
  18855. } else {
  18856. var _optionalKeys = ['data', 'method', 'timeout', 'dataType', 'responseType'];
  18857. requestTask = uni.request(_objectSpread(_objectSpread({}, _config), mergeKeys(_optionalKeys, config)));
  18858. }
  18859. if (config.getTask) {
  18860. config.getTask(requestTask, config);
  18861. }
  18862. });
  18863. };
  18864. exports.default = _default;
  18865. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18866. /***/ }),
  18867. /***/ 41:
  18868. /*!************************************************************************************!*\
  18869. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/buildURL.js ***!
  18870. \************************************************************************************/
  18871. /*! no static exports found */
  18872. /***/ (function(module, exports, __webpack_require__) {
  18873. "use strict";
  18874. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18875. Object.defineProperty(exports, "__esModule", {
  18876. value: true
  18877. });
  18878. exports.default = buildURL;
  18879. var utils = _interopRequireWildcard(__webpack_require__(/*! ../utils */ 42));
  18880. function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  18881. function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  18882. function encode(val) {
  18883. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  18884. }
  18885. /**
  18886. * Build a URL by appending params to the end
  18887. *
  18888. * @param {string} url The base of the url (e.g., http://www.google.com)
  18889. * @param {object} [params] The params to be appended
  18890. * @returns {string} The formatted url
  18891. */
  18892. function buildURL(url, params) {
  18893. /* eslint no-param-reassign:0 */
  18894. if (!params) {
  18895. return url;
  18896. }
  18897. var serializedParams;
  18898. if (utils.isURLSearchParams(params)) {
  18899. serializedParams = params.toString();
  18900. } else {
  18901. var parts = [];
  18902. utils.forEach(params, function (val, key) {
  18903. if (val === null || typeof val === 'undefined') {
  18904. return;
  18905. }
  18906. if (utils.isArray(val)) {
  18907. key = "".concat(key, "[]");
  18908. } else {
  18909. val = [val];
  18910. }
  18911. utils.forEach(val, function (v) {
  18912. if (utils.isDate(v)) {
  18913. v = v.toISOString();
  18914. } else if (utils.isObject(v)) {
  18915. v = JSON.stringify(v);
  18916. }
  18917. parts.push("".concat(encode(key), "=").concat(encode(v)));
  18918. });
  18919. });
  18920. serializedParams = parts.join('&');
  18921. }
  18922. if (serializedParams) {
  18923. var hashmarkIndex = url.indexOf('#');
  18924. if (hashmarkIndex !== -1) {
  18925. url = url.slice(0, hashmarkIndex);
  18926. }
  18927. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  18928. }
  18929. return url;
  18930. }
  18931. /***/ }),
  18932. /***/ 42:
  18933. /*!*************************************************************************!*\
  18934. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/utils.js ***!
  18935. \*************************************************************************/
  18936. /*! no static exports found */
  18937. /***/ (function(module, exports, __webpack_require__) {
  18938. "use strict";
  18939. // utils is a library of generic helper functions non-specific to axios
  18940. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18941. Object.defineProperty(exports, "__esModule", {
  18942. value: true
  18943. });
  18944. exports.deepMerge = deepMerge;
  18945. exports.forEach = forEach;
  18946. exports.isArray = isArray;
  18947. exports.isBoolean = isBoolean;
  18948. exports.isDate = isDate;
  18949. exports.isObject = isObject;
  18950. exports.isPlainObject = isPlainObject;
  18951. exports.isURLSearchParams = isURLSearchParams;
  18952. exports.isUndefined = isUndefined;
  18953. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  18954. var toString = Object.prototype.toString;
  18955. /**
  18956. * Determine if a value is an Array
  18957. *
  18958. * @param {Object} val The value to test
  18959. * @returns {boolean} True if value is an Array, otherwise false
  18960. */
  18961. function isArray(val) {
  18962. return toString.call(val) === '[object Array]';
  18963. }
  18964. /**
  18965. * Determine if a value is an Object
  18966. *
  18967. * @param {Object} val The value to test
  18968. * @returns {boolean} True if value is an Object, otherwise false
  18969. */
  18970. function isObject(val) {
  18971. return val !== null && (0, _typeof2.default)(val) === 'object';
  18972. }
  18973. /**
  18974. * Determine if a value is a Date
  18975. *
  18976. * @param {Object} val The value to test
  18977. * @returns {boolean} True if value is a Date, otherwise false
  18978. */
  18979. function isDate(val) {
  18980. return toString.call(val) === '[object Date]';
  18981. }
  18982. /**
  18983. * Determine if a value is a URLSearchParams object
  18984. *
  18985. * @param {Object} val The value to test
  18986. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  18987. */
  18988. function isURLSearchParams(val) {
  18989. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  18990. }
  18991. /**
  18992. * Iterate over an Array or an Object invoking a function for each item.
  18993. *
  18994. * If `obj` is an Array callback will be called passing
  18995. * the value, index, and complete array for each item.
  18996. *
  18997. * If 'obj' is an Object callback will be called passing
  18998. * the value, key, and complete object for each property.
  18999. *
  19000. * @param {Object|Array} obj The object to iterate
  19001. * @param {Function} fn The callback to invoke for each item
  19002. */
  19003. function forEach(obj, fn) {
  19004. // Don't bother if no value provided
  19005. if (obj === null || typeof obj === 'undefined') {
  19006. return;
  19007. }
  19008. // Force an array if not already something iterable
  19009. if ((0, _typeof2.default)(obj) !== 'object') {
  19010. /* eslint no-param-reassign:0 */
  19011. obj = [obj];
  19012. }
  19013. if (isArray(obj)) {
  19014. // Iterate over array values
  19015. for (var i = 0, l = obj.length; i < l; i++) {
  19016. fn.call(null, obj[i], i, obj);
  19017. }
  19018. } else {
  19019. // Iterate over object keys
  19020. for (var key in obj) {
  19021. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  19022. fn.call(null, obj[key], key, obj);
  19023. }
  19024. }
  19025. }
  19026. }
  19027. /**
  19028. * 是否为boolean 值
  19029. * @param val
  19030. * @returns {boolean}
  19031. */
  19032. function isBoolean(val) {
  19033. return typeof val === 'boolean';
  19034. }
  19035. /**
  19036. * 是否为真正的对象{} new Object
  19037. * @param {any} obj - 检测的对象
  19038. * @returns {boolean}
  19039. */
  19040. function isPlainObject(obj) {
  19041. return Object.prototype.toString.call(obj) === '[object Object]';
  19042. }
  19043. /**
  19044. * Function equal to merge with the difference being that no reference
  19045. * to original objects is kept.
  19046. *
  19047. * @see merge
  19048. * @param {Object} obj1 Object to merge
  19049. * @returns {Object} Result of all merge properties
  19050. */
  19051. function deepMerge( /* obj1, obj2, obj3, ... */
  19052. ) {
  19053. var result = {};
  19054. function assignValue(val, key) {
  19055. if ((0, _typeof2.default)(result[key]) === 'object' && (0, _typeof2.default)(val) === 'object') {
  19056. result[key] = deepMerge(result[key], val);
  19057. } else if ((0, _typeof2.default)(val) === 'object') {
  19058. result[key] = deepMerge({}, val);
  19059. } else {
  19060. result[key] = val;
  19061. }
  19062. }
  19063. for (var i = 0, l = arguments.length; i < l; i++) {
  19064. forEach(arguments[i], assignValue);
  19065. }
  19066. return result;
  19067. }
  19068. function isUndefined(val) {
  19069. return typeof val === 'undefined';
  19070. }
  19071. /***/ }),
  19072. /***/ 43:
  19073. /*!**************************************************************************************!*\
  19074. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/buildFullPath.js ***!
  19075. \**************************************************************************************/
  19076. /*! no static exports found */
  19077. /***/ (function(module, exports, __webpack_require__) {
  19078. "use strict";
  19079. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19080. Object.defineProperty(exports, "__esModule", {
  19081. value: true
  19082. });
  19083. exports.default = buildFullPath;
  19084. var _isAbsoluteURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/isAbsoluteURL */ 44));
  19085. var _combineURLs = _interopRequireDefault(__webpack_require__(/*! ../helpers/combineURLs */ 45));
  19086. /**
  19087. * Creates a new URL by combining the baseURL with the requestedURL,
  19088. * only when the requestedURL is not already an absolute URL.
  19089. * If the requestURL is absolute, this function returns the requestedURL untouched.
  19090. *
  19091. * @param {string} baseURL The base URL
  19092. * @param {string} requestedURL Absolute or relative URL to combine
  19093. * @returns {string} The combined full path
  19094. */
  19095. function buildFullPath(baseURL, requestedURL) {
  19096. if (baseURL && !(0, _isAbsoluteURL.default)(requestedURL)) {
  19097. return (0, _combineURLs.default)(baseURL, requestedURL);
  19098. }
  19099. return requestedURL;
  19100. }
  19101. /***/ }),
  19102. /***/ 44:
  19103. /*!*****************************************************************************************!*\
  19104. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js ***!
  19105. \*****************************************************************************************/
  19106. /*! no static exports found */
  19107. /***/ (function(module, exports, __webpack_require__) {
  19108. "use strict";
  19109. /**
  19110. * Determines whether the specified URL is absolute
  19111. *
  19112. * @param {string} url The URL to test
  19113. * @returns {boolean} True if the specified URL is absolute, otherwise false
  19114. */
  19115. Object.defineProperty(exports, "__esModule", {
  19116. value: true
  19117. });
  19118. exports.default = isAbsoluteURL;
  19119. function isAbsoluteURL(url) {
  19120. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  19121. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  19122. // by any combination of letters, digits, plus, period, or hyphen.
  19123. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
  19124. }
  19125. /***/ }),
  19126. /***/ 45:
  19127. /*!***************************************************************************************!*\
  19128. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/helpers/combineURLs.js ***!
  19129. \***************************************************************************************/
  19130. /*! no static exports found */
  19131. /***/ (function(module, exports, __webpack_require__) {
  19132. "use strict";
  19133. /**
  19134. * Creates a new URL by combining the specified URLs
  19135. *
  19136. * @param {string} baseURL The base URL
  19137. * @param {string} relativeURL The relative URL
  19138. * @returns {string} The combined URL
  19139. */
  19140. Object.defineProperty(exports, "__esModule", {
  19141. value: true
  19142. });
  19143. exports.default = combineURLs;
  19144. function combineURLs(baseURL, relativeURL) {
  19145. return relativeURL ? "".concat(baseURL.replace(/\/+$/, ''), "/").concat(relativeURL.replace(/^\/+/, '')) : baseURL;
  19146. }
  19147. /***/ }),
  19148. /***/ 46:
  19149. /*!*******************************************************************************!*\
  19150. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/settle.js ***!
  19151. \*******************************************************************************/
  19152. /*! no static exports found */
  19153. /***/ (function(module, exports, __webpack_require__) {
  19154. "use strict";
  19155. Object.defineProperty(exports, "__esModule", {
  19156. value: true
  19157. });
  19158. exports.default = settle;
  19159. /**
  19160. * Resolve or reject a Promise based on response status.
  19161. *
  19162. * @param {Function} resolve A function that resolves the promise.
  19163. * @param {Function} reject A function that rejects the promise.
  19164. * @param {object} response The response.
  19165. */
  19166. function settle(resolve, reject, response) {
  19167. var validateStatus = response.config.validateStatus;
  19168. var status = response.statusCode;
  19169. if (status && (!validateStatus || validateStatus(status))) {
  19170. resolve(response);
  19171. } else {
  19172. reject(response);
  19173. }
  19174. }
  19175. /***/ }),
  19176. /***/ 47:
  19177. /*!*******************************************************************************************!*\
  19178. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/InterceptorManager.js ***!
  19179. \*******************************************************************************************/
  19180. /*! no static exports found */
  19181. /***/ (function(module, exports, __webpack_require__) {
  19182. "use strict";
  19183. Object.defineProperty(exports, "__esModule", {
  19184. value: true
  19185. });
  19186. exports.default = void 0;
  19187. function InterceptorManager() {
  19188. this.handlers = [];
  19189. }
  19190. /**
  19191. * Add a new interceptor to the stack
  19192. *
  19193. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  19194. * @param {Function} rejected The function to handle `reject` for a `Promise`
  19195. *
  19196. * @return {Number} An ID used to remove interceptor later
  19197. */
  19198. InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  19199. this.handlers.push({
  19200. fulfilled: fulfilled,
  19201. rejected: rejected
  19202. });
  19203. return this.handlers.length - 1;
  19204. };
  19205. /**
  19206. * Remove an interceptor from the stack
  19207. *
  19208. * @param {Number} id The ID that was returned by `use`
  19209. */
  19210. InterceptorManager.prototype.eject = function eject(id) {
  19211. if (this.handlers[id]) {
  19212. this.handlers[id] = null;
  19213. }
  19214. };
  19215. /**
  19216. * Iterate over all the registered interceptors
  19217. *
  19218. * This method is particularly useful for skipping over any
  19219. * interceptors that may have become `null` calling `eject`.
  19220. *
  19221. * @param {Function} fn The function to call for each interceptor
  19222. */
  19223. InterceptorManager.prototype.forEach = function forEach(fn) {
  19224. this.handlers.forEach(function (h) {
  19225. if (h !== null) {
  19226. fn(h);
  19227. }
  19228. });
  19229. };
  19230. var _default = InterceptorManager;
  19231. exports.default = _default;
  19232. /***/ }),
  19233. /***/ 48:
  19234. /*!************************************************************************************!*\
  19235. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/mergeConfig.js ***!
  19236. \************************************************************************************/
  19237. /*! no static exports found */
  19238. /***/ (function(module, exports, __webpack_require__) {
  19239. "use strict";
  19240. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19241. Object.defineProperty(exports, "__esModule", {
  19242. value: true
  19243. });
  19244. exports.default = void 0;
  19245. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  19246. var _utils = __webpack_require__(/*! ../utils */ 42);
  19247. 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; }
  19248. 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; }
  19249. /**
  19250. * 合并局部配置优先的配置,如果局部有该配置项则用局部,如果全局有该配置项则用全局
  19251. * @param {Array} keys - 配置项
  19252. * @param {Object} globalsConfig - 当前的全局配置
  19253. * @param {Object} config2 - 局部配置
  19254. * @return {{}}
  19255. */
  19256. var mergeKeys = function mergeKeys(keys, globalsConfig, config2) {
  19257. var config = {};
  19258. keys.forEach(function (prop) {
  19259. if (!(0, _utils.isUndefined)(config2[prop])) {
  19260. config[prop] = config2[prop];
  19261. } else if (!(0, _utils.isUndefined)(globalsConfig[prop])) {
  19262. config[prop] = globalsConfig[prop];
  19263. }
  19264. });
  19265. return config;
  19266. };
  19267. /**
  19268. *
  19269. * @param globalsConfig - 当前实例的全局配置
  19270. * @param config2 - 当前的局部配置
  19271. * @return - 合并后的配置
  19272. */
  19273. var _default = function _default(globalsConfig) {
  19274. var config2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  19275. var method = config2.method || globalsConfig.method || 'GET';
  19276. var config = {
  19277. baseURL: globalsConfig.baseURL || '',
  19278. method: method,
  19279. url: config2.url || '',
  19280. params: config2.params || {},
  19281. custom: _objectSpread(_objectSpread({}, globalsConfig.custom || {}), config2.custom || {}),
  19282. header: (0, _utils.deepMerge)(globalsConfig.header || {}, config2.header || {})
  19283. };
  19284. var defaultToConfig2Keys = ['getTask', 'validateStatus'];
  19285. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultToConfig2Keys, globalsConfig, config2));
  19286. // eslint-disable-next-line no-empty
  19287. if (method === 'DOWNLOAD') {} else if (method === 'UPLOAD') {
  19288. delete config.header['content-type'];
  19289. delete config.header['Content-Type'];
  19290. var uploadKeys = ['filePath', 'name', 'formData'];
  19291. uploadKeys.forEach(function (prop) {
  19292. if (!(0, _utils.isUndefined)(config2[prop])) {
  19293. config[prop] = config2[prop];
  19294. }
  19295. });
  19296. } else {
  19297. var defaultsKeys = ['data', 'timeout', 'dataType', 'responseType'];
  19298. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultsKeys, globalsConfig, config2));
  19299. }
  19300. return config;
  19301. };
  19302. exports.default = _default;
  19303. /***/ }),
  19304. /***/ 49:
  19305. /*!*********************************************************************************!*\
  19306. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/core/defaults.js ***!
  19307. \*********************************************************************************/
  19308. /*! no static exports found */
  19309. /***/ (function(module, exports, __webpack_require__) {
  19310. "use strict";
  19311. Object.defineProperty(exports, "__esModule", {
  19312. value: true
  19313. });
  19314. exports.default = void 0;
  19315. /**
  19316. * 默认的全局配置
  19317. */
  19318. var _default = {
  19319. baseURL: '',
  19320. header: {},
  19321. method: 'GET',
  19322. dataType: 'json',
  19323. responseType: 'text',
  19324. custom: {},
  19325. timeout: 60000,
  19326. validateStatus: function validateStatus(status) {
  19327. return status >= 200 && status < 300;
  19328. }
  19329. };
  19330. exports.default = _default;
  19331. /***/ }),
  19332. /***/ 5:
  19333. /*!**************************************************************!*\
  19334. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  19335. \**************************************************************/
  19336. /*! no static exports found */
  19337. /***/ (function(module, exports, __webpack_require__) {
  19338. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  19339. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  19340. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  19341. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  19342. function _slicedToArray(arr, i) {
  19343. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  19344. }
  19345. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  19346. /***/ }),
  19347. /***/ 50:
  19348. /*!*******************************************************************************!*\
  19349. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/luch-request/utils/clone.js ***!
  19350. \*******************************************************************************/
  19351. /*! no static exports found */
  19352. /***/ (function(module, exports, __webpack_require__) {
  19353. "use strict";
  19354. /* WEBPACK VAR INJECTION */(function(Buffer) {
  19355. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19356. Object.defineProperty(exports, "__esModule", {
  19357. value: true
  19358. });
  19359. exports.default = void 0;
  19360. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  19361. /* eslint-disable */
  19362. var clone = function () {
  19363. 'use strict';
  19364. function _instanceof(obj, type) {
  19365. return type != null && obj instanceof type;
  19366. }
  19367. var nativeMap;
  19368. try {
  19369. nativeMap = Map;
  19370. } catch (_) {
  19371. // maybe a reference error because no `Map`. Give it a dummy value that no
  19372. // value will ever be an instanceof.
  19373. nativeMap = function nativeMap() {};
  19374. }
  19375. var nativeSet;
  19376. try {
  19377. nativeSet = Set;
  19378. } catch (_) {
  19379. nativeSet = function nativeSet() {};
  19380. }
  19381. var nativePromise;
  19382. try {
  19383. nativePromise = Promise;
  19384. } catch (_) {
  19385. nativePromise = function nativePromise() {};
  19386. }
  19387. /**
  19388. * Clones (copies) an Object using deep copying.
  19389. *
  19390. * This function supports circular references by default, but if you are certain
  19391. * there are no circular references in your object, you can save some CPU time
  19392. * by calling clone(obj, false).
  19393. *
  19394. * Caution: if `circular` is false and `parent` contains circular references,
  19395. * your program may enter an infinite loop and crash.
  19396. *
  19397. * @param `parent` - the object to be cloned
  19398. * @param `circular` - set to true if the object to be cloned may contain
  19399. * circular references. (optional - true by default)
  19400. * @param `depth` - set to a number if the object is only to be cloned to
  19401. * a particular depth. (optional - defaults to Infinity)
  19402. * @param `prototype` - sets the prototype to be used when cloning an object.
  19403. * (optional - defaults to parent prototype).
  19404. * @param `includeNonEnumerable` - set to true if the non-enumerable properties
  19405. * should be cloned as well. Non-enumerable properties on the prototype
  19406. * chain will be ignored. (optional - false by default)
  19407. */
  19408. function clone(parent, circular, depth, prototype, includeNonEnumerable) {
  19409. if ((0, _typeof2.default)(circular) === 'object') {
  19410. depth = circular.depth;
  19411. prototype = circular.prototype;
  19412. includeNonEnumerable = circular.includeNonEnumerable;
  19413. circular = circular.circular;
  19414. }
  19415. // maintain two arrays for circular references, where corresponding parents
  19416. // and children have the same index
  19417. var allParents = [];
  19418. var allChildren = [];
  19419. var useBuffer = typeof Buffer != 'undefined';
  19420. if (typeof circular == 'undefined') circular = true;
  19421. if (typeof depth == 'undefined') depth = Infinity;
  19422. // recurse this function so we don't reset allParents and allChildren
  19423. function _clone(parent, depth) {
  19424. // cloning null always returns null
  19425. if (parent === null) return null;
  19426. if (depth === 0) return parent;
  19427. var child;
  19428. var proto;
  19429. if ((0, _typeof2.default)(parent) != 'object') {
  19430. return parent;
  19431. }
  19432. if (_instanceof(parent, nativeMap)) {
  19433. child = new nativeMap();
  19434. } else if (_instanceof(parent, nativeSet)) {
  19435. child = new nativeSet();
  19436. } else if (_instanceof(parent, nativePromise)) {
  19437. child = new nativePromise(function (resolve, reject) {
  19438. parent.then(function (value) {
  19439. resolve(_clone(value, depth - 1));
  19440. }, function (err) {
  19441. reject(_clone(err, depth - 1));
  19442. });
  19443. });
  19444. } else if (clone.__isArray(parent)) {
  19445. child = [];
  19446. } else if (clone.__isRegExp(parent)) {
  19447. child = new RegExp(parent.source, __getRegExpFlags(parent));
  19448. if (parent.lastIndex) child.lastIndex = parent.lastIndex;
  19449. } else if (clone.__isDate(parent)) {
  19450. child = new Date(parent.getTime());
  19451. } else if (useBuffer && Buffer.isBuffer(parent)) {
  19452. if (Buffer.from) {
  19453. // Node.js >= 5.10.0
  19454. child = Buffer.from(parent);
  19455. } else {
  19456. // Older Node.js versions
  19457. child = new Buffer(parent.length);
  19458. parent.copy(child);
  19459. }
  19460. return child;
  19461. } else if (_instanceof(parent, Error)) {
  19462. child = Object.create(parent);
  19463. } else {
  19464. if (typeof prototype == 'undefined') {
  19465. proto = Object.getPrototypeOf(parent);
  19466. child = Object.create(proto);
  19467. } else {
  19468. child = Object.create(prototype);
  19469. proto = prototype;
  19470. }
  19471. }
  19472. if (circular) {
  19473. var index = allParents.indexOf(parent);
  19474. if (index != -1) {
  19475. return allChildren[index];
  19476. }
  19477. allParents.push(parent);
  19478. allChildren.push(child);
  19479. }
  19480. if (_instanceof(parent, nativeMap)) {
  19481. parent.forEach(function (value, key) {
  19482. var keyChild = _clone(key, depth - 1);
  19483. var valueChild = _clone(value, depth - 1);
  19484. child.set(keyChild, valueChild);
  19485. });
  19486. }
  19487. if (_instanceof(parent, nativeSet)) {
  19488. parent.forEach(function (value) {
  19489. var entryChild = _clone(value, depth - 1);
  19490. child.add(entryChild);
  19491. });
  19492. }
  19493. for (var i in parent) {
  19494. var attrs = Object.getOwnPropertyDescriptor(parent, i);
  19495. if (attrs) {
  19496. child[i] = _clone(parent[i], depth - 1);
  19497. }
  19498. try {
  19499. var objProperty = Object.getOwnPropertyDescriptor(parent, i);
  19500. if (objProperty.set === 'undefined') {
  19501. // no setter defined. Skip cloning this property
  19502. continue;
  19503. }
  19504. child[i] = _clone(parent[i], depth - 1);
  19505. } catch (e) {
  19506. if (e instanceof TypeError) {
  19507. // when in strict mode, TypeError will be thrown if child[i] property only has a getter
  19508. // we can't do anything about this, other than inform the user that this property cannot be set.
  19509. continue;
  19510. } else if (e instanceof ReferenceError) {
  19511. //this may happen in non strict mode
  19512. continue;
  19513. }
  19514. }
  19515. }
  19516. if (Object.getOwnPropertySymbols) {
  19517. var symbols = Object.getOwnPropertySymbols(parent);
  19518. for (var i = 0; i < symbols.length; i++) {
  19519. // Don't need to worry about cloning a symbol because it is a primitive,
  19520. // like a number or string.
  19521. var symbol = symbols[i];
  19522. var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);
  19523. if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {
  19524. continue;
  19525. }
  19526. child[symbol] = _clone(parent[symbol], depth - 1);
  19527. Object.defineProperty(child, symbol, descriptor);
  19528. }
  19529. }
  19530. if (includeNonEnumerable) {
  19531. var allPropertyNames = Object.getOwnPropertyNames(parent);
  19532. for (var i = 0; i < allPropertyNames.length; i++) {
  19533. var propertyName = allPropertyNames[i];
  19534. var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);
  19535. if (descriptor && descriptor.enumerable) {
  19536. continue;
  19537. }
  19538. child[propertyName] = _clone(parent[propertyName], depth - 1);
  19539. Object.defineProperty(child, propertyName, descriptor);
  19540. }
  19541. }
  19542. return child;
  19543. }
  19544. return _clone(parent, depth);
  19545. }
  19546. /**
  19547. * Simple flat clone using prototype, accepts only objects, usefull for property
  19548. * override on FLAT configuration object (no nested props).
  19549. *
  19550. * USE WITH CAUTION! This may not behave as you wish if you do not know how this
  19551. * works.
  19552. */
  19553. clone.clonePrototype = function clonePrototype(parent) {
  19554. if (parent === null) return null;
  19555. var c = function c() {};
  19556. c.prototype = parent;
  19557. return new c();
  19558. };
  19559. // private utility functions
  19560. function __objToStr(o) {
  19561. return Object.prototype.toString.call(o);
  19562. }
  19563. clone.__objToStr = __objToStr;
  19564. function __isDate(o) {
  19565. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Date]';
  19566. }
  19567. clone.__isDate = __isDate;
  19568. function __isArray(o) {
  19569. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Array]';
  19570. }
  19571. clone.__isArray = __isArray;
  19572. function __isRegExp(o) {
  19573. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object RegExp]';
  19574. }
  19575. clone.__isRegExp = __isRegExp;
  19576. function __getRegExpFlags(re) {
  19577. var flags = '';
  19578. if (re.global) flags += 'g';
  19579. if (re.ignoreCase) flags += 'i';
  19580. if (re.multiline) flags += 'm';
  19581. return flags;
  19582. }
  19583. clone.__getRegExpFlags = __getRegExpFlags;
  19584. return clone;
  19585. }();
  19586. var _default = clone;
  19587. exports.default = _default;
  19588. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../工具/HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 51).Buffer))
  19589. /***/ }),
  19590. /***/ 51:
  19591. /*!**************************************!*\
  19592. !*** ./node_modules/buffer/index.js ***!
  19593. \**************************************/
  19594. /*! no static exports found */
  19595. /***/ (function(module, exports, __webpack_require__) {
  19596. "use strict";
  19597. /* WEBPACK VAR INJECTION */(function(global) {/*!
  19598. * The buffer module from node.js, for the browser.
  19599. *
  19600. * @author Feross Aboukhadijeh <http://feross.org>
  19601. * @license MIT
  19602. */
  19603. /* eslint-disable no-proto */
  19604. var base64 = __webpack_require__(/*! base64-js */ 52)
  19605. var ieee754 = __webpack_require__(/*! ieee754 */ 53)
  19606. var isArray = __webpack_require__(/*! isarray */ 54)
  19607. exports.Buffer = Buffer
  19608. exports.SlowBuffer = SlowBuffer
  19609. exports.INSPECT_MAX_BYTES = 50
  19610. /**
  19611. * If `Buffer.TYPED_ARRAY_SUPPORT`:
  19612. * === true Use Uint8Array implementation (fastest)
  19613. * === false Use Object implementation (most compatible, even IE6)
  19614. *
  19615. * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  19616. * Opera 11.6+, iOS 4.2+.
  19617. *
  19618. * Due to various browser bugs, sometimes the Object implementation will be used even
  19619. * when the browser supports typed arrays.
  19620. *
  19621. * Note:
  19622. *
  19623. * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
  19624. * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
  19625. *
  19626. * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
  19627. *
  19628. * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
  19629. * incorrect length in some situations.
  19630. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
  19631. * get the Object implementation, which is slower but behaves correctly.
  19632. */
  19633. Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
  19634. ? global.TYPED_ARRAY_SUPPORT
  19635. : typedArraySupport()
  19636. /*
  19637. * Export kMaxLength after typed array support is determined.
  19638. */
  19639. exports.kMaxLength = kMaxLength()
  19640. function typedArraySupport () {
  19641. try {
  19642. var arr = new Uint8Array(1)
  19643. arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
  19644. return arr.foo() === 42 && // typed array instances can be augmented
  19645. typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
  19646. arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
  19647. } catch (e) {
  19648. return false
  19649. }
  19650. }
  19651. function kMaxLength () {
  19652. return Buffer.TYPED_ARRAY_SUPPORT
  19653. ? 0x7fffffff
  19654. : 0x3fffffff
  19655. }
  19656. function createBuffer (that, length) {
  19657. if (kMaxLength() < length) {
  19658. throw new RangeError('Invalid typed array length')
  19659. }
  19660. if (Buffer.TYPED_ARRAY_SUPPORT) {
  19661. // Return an augmented `Uint8Array` instance, for best performance
  19662. that = new Uint8Array(length)
  19663. that.__proto__ = Buffer.prototype
  19664. } else {
  19665. // Fallback: Return an object instance of the Buffer class
  19666. if (that === null) {
  19667. that = new Buffer(length)
  19668. }
  19669. that.length = length
  19670. }
  19671. return that
  19672. }
  19673. /**
  19674. * The Buffer constructor returns instances of `Uint8Array` that have their
  19675. * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
  19676. * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
  19677. * and the `Uint8Array` methods. Square bracket notation works as expected -- it
  19678. * returns a single octet.
  19679. *
  19680. * The `Uint8Array` prototype remains unmodified.
  19681. */
  19682. function Buffer (arg, encodingOrOffset, length) {
  19683. if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
  19684. return new Buffer(arg, encodingOrOffset, length)
  19685. }
  19686. // Common case.
  19687. if (typeof arg === 'number') {
  19688. if (typeof encodingOrOffset === 'string') {
  19689. throw new Error(
  19690. 'If encoding is specified then the first argument must be a string'
  19691. )
  19692. }
  19693. return allocUnsafe(this, arg)
  19694. }
  19695. return from(this, arg, encodingOrOffset, length)
  19696. }
  19697. Buffer.poolSize = 8192 // not used by this implementation
  19698. // TODO: Legacy, not needed anymore. Remove in next major version.
  19699. Buffer._augment = function (arr) {
  19700. arr.__proto__ = Buffer.prototype
  19701. return arr
  19702. }
  19703. function from (that, value, encodingOrOffset, length) {
  19704. if (typeof value === 'number') {
  19705. throw new TypeError('"value" argument must not be a number')
  19706. }
  19707. if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
  19708. return fromArrayBuffer(that, value, encodingOrOffset, length)
  19709. }
  19710. if (typeof value === 'string') {
  19711. return fromString(that, value, encodingOrOffset)
  19712. }
  19713. return fromObject(that, value)
  19714. }
  19715. /**
  19716. * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
  19717. * if value is a number.
  19718. * Buffer.from(str[, encoding])
  19719. * Buffer.from(array)
  19720. * Buffer.from(buffer)
  19721. * Buffer.from(arrayBuffer[, byteOffset[, length]])
  19722. **/
  19723. Buffer.from = function (value, encodingOrOffset, length) {
  19724. return from(null, value, encodingOrOffset, length)
  19725. }
  19726. if (Buffer.TYPED_ARRAY_SUPPORT) {
  19727. Buffer.prototype.__proto__ = Uint8Array.prototype
  19728. Buffer.__proto__ = Uint8Array
  19729. if (typeof Symbol !== 'undefined' && Symbol.species &&
  19730. Buffer[Symbol.species] === Buffer) {
  19731. // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
  19732. Object.defineProperty(Buffer, Symbol.species, {
  19733. value: null,
  19734. configurable: true
  19735. })
  19736. }
  19737. }
  19738. function assertSize (size) {
  19739. if (typeof size !== 'number') {
  19740. throw new TypeError('"size" argument must be a number')
  19741. } else if (size < 0) {
  19742. throw new RangeError('"size" argument must not be negative')
  19743. }
  19744. }
  19745. function alloc (that, size, fill, encoding) {
  19746. assertSize(size)
  19747. if (size <= 0) {
  19748. return createBuffer(that, size)
  19749. }
  19750. if (fill !== undefined) {
  19751. // Only pay attention to encoding if it's a string. This
  19752. // prevents accidentally sending in a number that would
  19753. // be interpretted as a start offset.
  19754. return typeof encoding === 'string'
  19755. ? createBuffer(that, size).fill(fill, encoding)
  19756. : createBuffer(that, size).fill(fill)
  19757. }
  19758. return createBuffer(that, size)
  19759. }
  19760. /**
  19761. * Creates a new filled Buffer instance.
  19762. * alloc(size[, fill[, encoding]])
  19763. **/
  19764. Buffer.alloc = function (size, fill, encoding) {
  19765. return alloc(null, size, fill, encoding)
  19766. }
  19767. function allocUnsafe (that, size) {
  19768. assertSize(size)
  19769. that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
  19770. if (!Buffer.TYPED_ARRAY_SUPPORT) {
  19771. for (var i = 0; i < size; ++i) {
  19772. that[i] = 0
  19773. }
  19774. }
  19775. return that
  19776. }
  19777. /**
  19778. * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  19779. * */
  19780. Buffer.allocUnsafe = function (size) {
  19781. return allocUnsafe(null, size)
  19782. }
  19783. /**
  19784. * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  19785. */
  19786. Buffer.allocUnsafeSlow = function (size) {
  19787. return allocUnsafe(null, size)
  19788. }
  19789. function fromString (that, string, encoding) {
  19790. if (typeof encoding !== 'string' || encoding === '') {
  19791. encoding = 'utf8'
  19792. }
  19793. if (!Buffer.isEncoding(encoding)) {
  19794. throw new TypeError('"encoding" must be a valid string encoding')
  19795. }
  19796. var length = byteLength(string, encoding) | 0
  19797. that = createBuffer(that, length)
  19798. var actual = that.write(string, encoding)
  19799. if (actual !== length) {
  19800. // Writing a hex string, for example, that contains invalid characters will
  19801. // cause everything after the first invalid character to be ignored. (e.g.
  19802. // 'abxxcd' will be treated as 'ab')
  19803. that = that.slice(0, actual)
  19804. }
  19805. return that
  19806. }
  19807. function fromArrayLike (that, array) {
  19808. var length = array.length < 0 ? 0 : checked(array.length) | 0
  19809. that = createBuffer(that, length)
  19810. for (var i = 0; i < length; i += 1) {
  19811. that[i] = array[i] & 255
  19812. }
  19813. return that
  19814. }
  19815. function fromArrayBuffer (that, array, byteOffset, length) {
  19816. array.byteLength // this throws if `array` is not a valid ArrayBuffer
  19817. if (byteOffset < 0 || array.byteLength < byteOffset) {
  19818. throw new RangeError('\'offset\' is out of bounds')
  19819. }
  19820. if (array.byteLength < byteOffset + (length || 0)) {
  19821. throw new RangeError('\'length\' is out of bounds')
  19822. }
  19823. if (byteOffset === undefined && length === undefined) {
  19824. array = new Uint8Array(array)
  19825. } else if (length === undefined) {
  19826. array = new Uint8Array(array, byteOffset)
  19827. } else {
  19828. array = new Uint8Array(array, byteOffset, length)
  19829. }
  19830. if (Buffer.TYPED_ARRAY_SUPPORT) {
  19831. // Return an augmented `Uint8Array` instance, for best performance
  19832. that = array
  19833. that.__proto__ = Buffer.prototype
  19834. } else {
  19835. // Fallback: Return an object instance of the Buffer class
  19836. that = fromArrayLike(that, array)
  19837. }
  19838. return that
  19839. }
  19840. function fromObject (that, obj) {
  19841. if (Buffer.isBuffer(obj)) {
  19842. var len = checked(obj.length) | 0
  19843. that = createBuffer(that, len)
  19844. if (that.length === 0) {
  19845. return that
  19846. }
  19847. obj.copy(that, 0, 0, len)
  19848. return that
  19849. }
  19850. if (obj) {
  19851. if ((typeof ArrayBuffer !== 'undefined' &&
  19852. obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
  19853. if (typeof obj.length !== 'number' || isnan(obj.length)) {
  19854. return createBuffer(that, 0)
  19855. }
  19856. return fromArrayLike(that, obj)
  19857. }
  19858. if (obj.type === 'Buffer' && isArray(obj.data)) {
  19859. return fromArrayLike(that, obj.data)
  19860. }
  19861. }
  19862. throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
  19863. }
  19864. function checked (length) {
  19865. // Note: cannot use `length < kMaxLength()` here because that fails when
  19866. // length is NaN (which is otherwise coerced to zero.)
  19867. if (length >= kMaxLength()) {
  19868. throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
  19869. 'size: 0x' + kMaxLength().toString(16) + ' bytes')
  19870. }
  19871. return length | 0
  19872. }
  19873. function SlowBuffer (length) {
  19874. if (+length != length) { // eslint-disable-line eqeqeq
  19875. length = 0
  19876. }
  19877. return Buffer.alloc(+length)
  19878. }
  19879. Buffer.isBuffer = function isBuffer (b) {
  19880. return !!(b != null && b._isBuffer)
  19881. }
  19882. Buffer.compare = function compare (a, b) {
  19883. if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
  19884. throw new TypeError('Arguments must be Buffers')
  19885. }
  19886. if (a === b) return 0
  19887. var x = a.length
  19888. var y = b.length
  19889. for (var i = 0, len = Math.min(x, y); i < len; ++i) {
  19890. if (a[i] !== b[i]) {
  19891. x = a[i]
  19892. y = b[i]
  19893. break
  19894. }
  19895. }
  19896. if (x < y) return -1
  19897. if (y < x) return 1
  19898. return 0
  19899. }
  19900. Buffer.isEncoding = function isEncoding (encoding) {
  19901. switch (String(encoding).toLowerCase()) {
  19902. case 'hex':
  19903. case 'utf8':
  19904. case 'utf-8':
  19905. case 'ascii':
  19906. case 'latin1':
  19907. case 'binary':
  19908. case 'base64':
  19909. case 'ucs2':
  19910. case 'ucs-2':
  19911. case 'utf16le':
  19912. case 'utf-16le':
  19913. return true
  19914. default:
  19915. return false
  19916. }
  19917. }
  19918. Buffer.concat = function concat (list, length) {
  19919. if (!isArray(list)) {
  19920. throw new TypeError('"list" argument must be an Array of Buffers')
  19921. }
  19922. if (list.length === 0) {
  19923. return Buffer.alloc(0)
  19924. }
  19925. var i
  19926. if (length === undefined) {
  19927. length = 0
  19928. for (i = 0; i < list.length; ++i) {
  19929. length += list[i].length
  19930. }
  19931. }
  19932. var buffer = Buffer.allocUnsafe(length)
  19933. var pos = 0
  19934. for (i = 0; i < list.length; ++i) {
  19935. var buf = list[i]
  19936. if (!Buffer.isBuffer(buf)) {
  19937. throw new TypeError('"list" argument must be an Array of Buffers')
  19938. }
  19939. buf.copy(buffer, pos)
  19940. pos += buf.length
  19941. }
  19942. return buffer
  19943. }
  19944. function byteLength (string, encoding) {
  19945. if (Buffer.isBuffer(string)) {
  19946. return string.length
  19947. }
  19948. if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
  19949. (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
  19950. return string.byteLength
  19951. }
  19952. if (typeof string !== 'string') {
  19953. string = '' + string
  19954. }
  19955. var len = string.length
  19956. if (len === 0) return 0
  19957. // Use a for loop to avoid recursion
  19958. var loweredCase = false
  19959. for (;;) {
  19960. switch (encoding) {
  19961. case 'ascii':
  19962. case 'latin1':
  19963. case 'binary':
  19964. return len
  19965. case 'utf8':
  19966. case 'utf-8':
  19967. case undefined:
  19968. return utf8ToBytes(string).length
  19969. case 'ucs2':
  19970. case 'ucs-2':
  19971. case 'utf16le':
  19972. case 'utf-16le':
  19973. return len * 2
  19974. case 'hex':
  19975. return len >>> 1
  19976. case 'base64':
  19977. return base64ToBytes(string).length
  19978. default:
  19979. if (loweredCase) return utf8ToBytes(string).length // assume utf8
  19980. encoding = ('' + encoding).toLowerCase()
  19981. loweredCase = true
  19982. }
  19983. }
  19984. }
  19985. Buffer.byteLength = byteLength
  19986. function slowToString (encoding, start, end) {
  19987. var loweredCase = false
  19988. // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  19989. // property of a typed array.
  19990. // This behaves neither like String nor Uint8Array in that we set start/end
  19991. // to their upper/lower bounds if the value passed is out of range.
  19992. // undefined is handled specially as per ECMA-262 6th Edition,
  19993. // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  19994. if (start === undefined || start < 0) {
  19995. start = 0
  19996. }
  19997. // Return early if start > this.length. Done here to prevent potential uint32
  19998. // coercion fail below.
  19999. if (start > this.length) {
  20000. return ''
  20001. }
  20002. if (end === undefined || end > this.length) {
  20003. end = this.length
  20004. }
  20005. if (end <= 0) {
  20006. return ''
  20007. }
  20008. // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
  20009. end >>>= 0
  20010. start >>>= 0
  20011. if (end <= start) {
  20012. return ''
  20013. }
  20014. if (!encoding) encoding = 'utf8'
  20015. while (true) {
  20016. switch (encoding) {
  20017. case 'hex':
  20018. return hexSlice(this, start, end)
  20019. case 'utf8':
  20020. case 'utf-8':
  20021. return utf8Slice(this, start, end)
  20022. case 'ascii':
  20023. return asciiSlice(this, start, end)
  20024. case 'latin1':
  20025. case 'binary':
  20026. return latin1Slice(this, start, end)
  20027. case 'base64':
  20028. return base64Slice(this, start, end)
  20029. case 'ucs2':
  20030. case 'ucs-2':
  20031. case 'utf16le':
  20032. case 'utf-16le':
  20033. return utf16leSlice(this, start, end)
  20034. default:
  20035. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  20036. encoding = (encoding + '').toLowerCase()
  20037. loweredCase = true
  20038. }
  20039. }
  20040. }
  20041. // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
  20042. // Buffer instances.
  20043. Buffer.prototype._isBuffer = true
  20044. function swap (b, n, m) {
  20045. var i = b[n]
  20046. b[n] = b[m]
  20047. b[m] = i
  20048. }
  20049. Buffer.prototype.swap16 = function swap16 () {
  20050. var len = this.length
  20051. if (len % 2 !== 0) {
  20052. throw new RangeError('Buffer size must be a multiple of 16-bits')
  20053. }
  20054. for (var i = 0; i < len; i += 2) {
  20055. swap(this, i, i + 1)
  20056. }
  20057. return this
  20058. }
  20059. Buffer.prototype.swap32 = function swap32 () {
  20060. var len = this.length
  20061. if (len % 4 !== 0) {
  20062. throw new RangeError('Buffer size must be a multiple of 32-bits')
  20063. }
  20064. for (var i = 0; i < len; i += 4) {
  20065. swap(this, i, i + 3)
  20066. swap(this, i + 1, i + 2)
  20067. }
  20068. return this
  20069. }
  20070. Buffer.prototype.swap64 = function swap64 () {
  20071. var len = this.length
  20072. if (len % 8 !== 0) {
  20073. throw new RangeError('Buffer size must be a multiple of 64-bits')
  20074. }
  20075. for (var i = 0; i < len; i += 8) {
  20076. swap(this, i, i + 7)
  20077. swap(this, i + 1, i + 6)
  20078. swap(this, i + 2, i + 5)
  20079. swap(this, i + 3, i + 4)
  20080. }
  20081. return this
  20082. }
  20083. Buffer.prototype.toString = function toString () {
  20084. var length = this.length | 0
  20085. if (length === 0) return ''
  20086. if (arguments.length === 0) return utf8Slice(this, 0, length)
  20087. return slowToString.apply(this, arguments)
  20088. }
  20089. Buffer.prototype.equals = function equals (b) {
  20090. if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  20091. if (this === b) return true
  20092. return Buffer.compare(this, b) === 0
  20093. }
  20094. Buffer.prototype.inspect = function inspect () {
  20095. var str = ''
  20096. var max = exports.INSPECT_MAX_BYTES
  20097. if (this.length > 0) {
  20098. str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
  20099. if (this.length > max) str += ' ... '
  20100. }
  20101. return '<Buffer ' + str + '>'
  20102. }
  20103. Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  20104. if (!Buffer.isBuffer(target)) {
  20105. throw new TypeError('Argument must be a Buffer')
  20106. }
  20107. if (start === undefined) {
  20108. start = 0
  20109. }
  20110. if (end === undefined) {
  20111. end = target ? target.length : 0
  20112. }
  20113. if (thisStart === undefined) {
  20114. thisStart = 0
  20115. }
  20116. if (thisEnd === undefined) {
  20117. thisEnd = this.length
  20118. }
  20119. if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
  20120. throw new RangeError('out of range index')
  20121. }
  20122. if (thisStart >= thisEnd && start >= end) {
  20123. return 0
  20124. }
  20125. if (thisStart >= thisEnd) {
  20126. return -1
  20127. }
  20128. if (start >= end) {
  20129. return 1
  20130. }
  20131. start >>>= 0
  20132. end >>>= 0
  20133. thisStart >>>= 0
  20134. thisEnd >>>= 0
  20135. if (this === target) return 0
  20136. var x = thisEnd - thisStart
  20137. var y = end - start
  20138. var len = Math.min(x, y)
  20139. var thisCopy = this.slice(thisStart, thisEnd)
  20140. var targetCopy = target.slice(start, end)
  20141. for (var i = 0; i < len; ++i) {
  20142. if (thisCopy[i] !== targetCopy[i]) {
  20143. x = thisCopy[i]
  20144. y = targetCopy[i]
  20145. break
  20146. }
  20147. }
  20148. if (x < y) return -1
  20149. if (y < x) return 1
  20150. return 0
  20151. }
  20152. // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
  20153. // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
  20154. //
  20155. // Arguments:
  20156. // - buffer - a Buffer to search
  20157. // - val - a string, Buffer, or number
  20158. // - byteOffset - an index into `buffer`; will be clamped to an int32
  20159. // - encoding - an optional encoding, relevant is val is a string
  20160. // - dir - true for indexOf, false for lastIndexOf
  20161. function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  20162. // Empty buffer means no match
  20163. if (buffer.length === 0) return -1
  20164. // Normalize byteOffset
  20165. if (typeof byteOffset === 'string') {
  20166. encoding = byteOffset
  20167. byteOffset = 0
  20168. } else if (byteOffset > 0x7fffffff) {
  20169. byteOffset = 0x7fffffff
  20170. } else if (byteOffset < -0x80000000) {
  20171. byteOffset = -0x80000000
  20172. }
  20173. byteOffset = +byteOffset // Coerce to Number.
  20174. if (isNaN(byteOffset)) {
  20175. // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
  20176. byteOffset = dir ? 0 : (buffer.length - 1)
  20177. }
  20178. // Normalize byteOffset: negative offsets start from the end of the buffer
  20179. if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  20180. if (byteOffset >= buffer.length) {
  20181. if (dir) return -1
  20182. else byteOffset = buffer.length - 1
  20183. } else if (byteOffset < 0) {
  20184. if (dir) byteOffset = 0
  20185. else return -1
  20186. }
  20187. // Normalize val
  20188. if (typeof val === 'string') {
  20189. val = Buffer.from(val, encoding)
  20190. }
  20191. // Finally, search either indexOf (if dir is true) or lastIndexOf
  20192. if (Buffer.isBuffer(val)) {
  20193. // Special case: looking for empty string/buffer always fails
  20194. if (val.length === 0) {
  20195. return -1
  20196. }
  20197. return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  20198. } else if (typeof val === 'number') {
  20199. val = val & 0xFF // Search for a byte value [0-255]
  20200. if (Buffer.TYPED_ARRAY_SUPPORT &&
  20201. typeof Uint8Array.prototype.indexOf === 'function') {
  20202. if (dir) {
  20203. return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
  20204. } else {
  20205. return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
  20206. }
  20207. }
  20208. return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
  20209. }
  20210. throw new TypeError('val must be string, number or Buffer')
  20211. }
  20212. function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  20213. var indexSize = 1
  20214. var arrLength = arr.length
  20215. var valLength = val.length
  20216. if (encoding !== undefined) {
  20217. encoding = String(encoding).toLowerCase()
  20218. if (encoding === 'ucs2' || encoding === 'ucs-2' ||
  20219. encoding === 'utf16le' || encoding === 'utf-16le') {
  20220. if (arr.length < 2 || val.length < 2) {
  20221. return -1
  20222. }
  20223. indexSize = 2
  20224. arrLength /= 2
  20225. valLength /= 2
  20226. byteOffset /= 2
  20227. }
  20228. }
  20229. function read (buf, i) {
  20230. if (indexSize === 1) {
  20231. return buf[i]
  20232. } else {
  20233. return buf.readUInt16BE(i * indexSize)
  20234. }
  20235. }
  20236. var i
  20237. if (dir) {
  20238. var foundIndex = -1
  20239. for (i = byteOffset; i < arrLength; i++) {
  20240. if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
  20241. if (foundIndex === -1) foundIndex = i
  20242. if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
  20243. } else {
  20244. if (foundIndex !== -1) i -= i - foundIndex
  20245. foundIndex = -1
  20246. }
  20247. }
  20248. } else {
  20249. if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
  20250. for (i = byteOffset; i >= 0; i--) {
  20251. var found = true
  20252. for (var j = 0; j < valLength; j++) {
  20253. if (read(arr, i + j) !== read(val, j)) {
  20254. found = false
  20255. break
  20256. }
  20257. }
  20258. if (found) return i
  20259. }
  20260. }
  20261. return -1
  20262. }
  20263. Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  20264. return this.indexOf(val, byteOffset, encoding) !== -1
  20265. }
  20266. Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  20267. return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
  20268. }
  20269. Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  20270. return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
  20271. }
  20272. function hexWrite (buf, string, offset, length) {
  20273. offset = Number(offset) || 0
  20274. var remaining = buf.length - offset
  20275. if (!length) {
  20276. length = remaining
  20277. } else {
  20278. length = Number(length)
  20279. if (length > remaining) {
  20280. length = remaining
  20281. }
  20282. }
  20283. // must be an even number of digits
  20284. var strLen = string.length
  20285. if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
  20286. if (length > strLen / 2) {
  20287. length = strLen / 2
  20288. }
  20289. for (var i = 0; i < length; ++i) {
  20290. var parsed = parseInt(string.substr(i * 2, 2), 16)
  20291. if (isNaN(parsed)) return i
  20292. buf[offset + i] = parsed
  20293. }
  20294. return i
  20295. }
  20296. function utf8Write (buf, string, offset, length) {
  20297. return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
  20298. }
  20299. function asciiWrite (buf, string, offset, length) {
  20300. return blitBuffer(asciiToBytes(string), buf, offset, length)
  20301. }
  20302. function latin1Write (buf, string, offset, length) {
  20303. return asciiWrite(buf, string, offset, length)
  20304. }
  20305. function base64Write (buf, string, offset, length) {
  20306. return blitBuffer(base64ToBytes(string), buf, offset, length)
  20307. }
  20308. function ucs2Write (buf, string, offset, length) {
  20309. return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
  20310. }
  20311. Buffer.prototype.write = function write (string, offset, length, encoding) {
  20312. // Buffer#write(string)
  20313. if (offset === undefined) {
  20314. encoding = 'utf8'
  20315. length = this.length
  20316. offset = 0
  20317. // Buffer#write(string, encoding)
  20318. } else if (length === undefined && typeof offset === 'string') {
  20319. encoding = offset
  20320. length = this.length
  20321. offset = 0
  20322. // Buffer#write(string, offset[, length][, encoding])
  20323. } else if (isFinite(offset)) {
  20324. offset = offset | 0
  20325. if (isFinite(length)) {
  20326. length = length | 0
  20327. if (encoding === undefined) encoding = 'utf8'
  20328. } else {
  20329. encoding = length
  20330. length = undefined
  20331. }
  20332. // legacy write(string, encoding, offset, length) - remove in v0.13
  20333. } else {
  20334. throw new Error(
  20335. 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
  20336. )
  20337. }
  20338. var remaining = this.length - offset
  20339. if (length === undefined || length > remaining) length = remaining
  20340. if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
  20341. throw new RangeError('Attempt to write outside buffer bounds')
  20342. }
  20343. if (!encoding) encoding = 'utf8'
  20344. var loweredCase = false
  20345. for (;;) {
  20346. switch (encoding) {
  20347. case 'hex':
  20348. return hexWrite(this, string, offset, length)
  20349. case 'utf8':
  20350. case 'utf-8':
  20351. return utf8Write(this, string, offset, length)
  20352. case 'ascii':
  20353. return asciiWrite(this, string, offset, length)
  20354. case 'latin1':
  20355. case 'binary':
  20356. return latin1Write(this, string, offset, length)
  20357. case 'base64':
  20358. // Warning: maxLength not taken into account in base64Write
  20359. return base64Write(this, string, offset, length)
  20360. case 'ucs2':
  20361. case 'ucs-2':
  20362. case 'utf16le':
  20363. case 'utf-16le':
  20364. return ucs2Write(this, string, offset, length)
  20365. default:
  20366. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  20367. encoding = ('' + encoding).toLowerCase()
  20368. loweredCase = true
  20369. }
  20370. }
  20371. }
  20372. Buffer.prototype.toJSON = function toJSON () {
  20373. return {
  20374. type: 'Buffer',
  20375. data: Array.prototype.slice.call(this._arr || this, 0)
  20376. }
  20377. }
  20378. function base64Slice (buf, start, end) {
  20379. if (start === 0 && end === buf.length) {
  20380. return base64.fromByteArray(buf)
  20381. } else {
  20382. return base64.fromByteArray(buf.slice(start, end))
  20383. }
  20384. }
  20385. function utf8Slice (buf, start, end) {
  20386. end = Math.min(buf.length, end)
  20387. var res = []
  20388. var i = start
  20389. while (i < end) {
  20390. var firstByte = buf[i]
  20391. var codePoint = null
  20392. var bytesPerSequence = (firstByte > 0xEF) ? 4
  20393. : (firstByte > 0xDF) ? 3
  20394. : (firstByte > 0xBF) ? 2
  20395. : 1
  20396. if (i + bytesPerSequence <= end) {
  20397. var secondByte, thirdByte, fourthByte, tempCodePoint
  20398. switch (bytesPerSequence) {
  20399. case 1:
  20400. if (firstByte < 0x80) {
  20401. codePoint = firstByte
  20402. }
  20403. break
  20404. case 2:
  20405. secondByte = buf[i + 1]
  20406. if ((secondByte & 0xC0) === 0x80) {
  20407. tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
  20408. if (tempCodePoint > 0x7F) {
  20409. codePoint = tempCodePoint
  20410. }
  20411. }
  20412. break
  20413. case 3:
  20414. secondByte = buf[i + 1]
  20415. thirdByte = buf[i + 2]
  20416. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
  20417. tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
  20418. if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
  20419. codePoint = tempCodePoint
  20420. }
  20421. }
  20422. break
  20423. case 4:
  20424. secondByte = buf[i + 1]
  20425. thirdByte = buf[i + 2]
  20426. fourthByte = buf[i + 3]
  20427. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
  20428. tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
  20429. if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
  20430. codePoint = tempCodePoint
  20431. }
  20432. }
  20433. }
  20434. }
  20435. if (codePoint === null) {
  20436. // we did not generate a valid codePoint so insert a
  20437. // replacement char (U+FFFD) and advance only 1 byte
  20438. codePoint = 0xFFFD
  20439. bytesPerSequence = 1
  20440. } else if (codePoint > 0xFFFF) {
  20441. // encode to utf16 (surrogate pair dance)
  20442. codePoint -= 0x10000
  20443. res.push(codePoint >>> 10 & 0x3FF | 0xD800)
  20444. codePoint = 0xDC00 | codePoint & 0x3FF
  20445. }
  20446. res.push(codePoint)
  20447. i += bytesPerSequence
  20448. }
  20449. return decodeCodePointsArray(res)
  20450. }
  20451. // Based on http://stackoverflow.com/a/22747272/680742, the browser with
  20452. // the lowest limit is Chrome, with 0x10000 args.
  20453. // We go 1 magnitude less, for safety
  20454. var MAX_ARGUMENTS_LENGTH = 0x1000
  20455. function decodeCodePointsArray (codePoints) {
  20456. var len = codePoints.length
  20457. if (len <= MAX_ARGUMENTS_LENGTH) {
  20458. return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  20459. }
  20460. // Decode in chunks to avoid "call stack size exceeded".
  20461. var res = ''
  20462. var i = 0
  20463. while (i < len) {
  20464. res += String.fromCharCode.apply(
  20465. String,
  20466. codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
  20467. )
  20468. }
  20469. return res
  20470. }
  20471. function asciiSlice (buf, start, end) {
  20472. var ret = ''
  20473. end = Math.min(buf.length, end)
  20474. for (var i = start; i < end; ++i) {
  20475. ret += String.fromCharCode(buf[i] & 0x7F)
  20476. }
  20477. return ret
  20478. }
  20479. function latin1Slice (buf, start, end) {
  20480. var ret = ''
  20481. end = Math.min(buf.length, end)
  20482. for (var i = start; i < end; ++i) {
  20483. ret += String.fromCharCode(buf[i])
  20484. }
  20485. return ret
  20486. }
  20487. function hexSlice (buf, start, end) {
  20488. var len = buf.length
  20489. if (!start || start < 0) start = 0
  20490. if (!end || end < 0 || end > len) end = len
  20491. var out = ''
  20492. for (var i = start; i < end; ++i) {
  20493. out += toHex(buf[i])
  20494. }
  20495. return out
  20496. }
  20497. function utf16leSlice (buf, start, end) {
  20498. var bytes = buf.slice(start, end)
  20499. var res = ''
  20500. for (var i = 0; i < bytes.length; i += 2) {
  20501. res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
  20502. }
  20503. return res
  20504. }
  20505. Buffer.prototype.slice = function slice (start, end) {
  20506. var len = this.length
  20507. start = ~~start
  20508. end = end === undefined ? len : ~~end
  20509. if (start < 0) {
  20510. start += len
  20511. if (start < 0) start = 0
  20512. } else if (start > len) {
  20513. start = len
  20514. }
  20515. if (end < 0) {
  20516. end += len
  20517. if (end < 0) end = 0
  20518. } else if (end > len) {
  20519. end = len
  20520. }
  20521. if (end < start) end = start
  20522. var newBuf
  20523. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20524. newBuf = this.subarray(start, end)
  20525. newBuf.__proto__ = Buffer.prototype
  20526. } else {
  20527. var sliceLen = end - start
  20528. newBuf = new Buffer(sliceLen, undefined)
  20529. for (var i = 0; i < sliceLen; ++i) {
  20530. newBuf[i] = this[i + start]
  20531. }
  20532. }
  20533. return newBuf
  20534. }
  20535. /*
  20536. * Need to make sure that buffer isn't trying to write out of bounds.
  20537. */
  20538. function checkOffset (offset, ext, length) {
  20539. if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  20540. if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
  20541. }
  20542. Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  20543. offset = offset | 0
  20544. byteLength = byteLength | 0
  20545. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20546. var val = this[offset]
  20547. var mul = 1
  20548. var i = 0
  20549. while (++i < byteLength && (mul *= 0x100)) {
  20550. val += this[offset + i] * mul
  20551. }
  20552. return val
  20553. }
  20554. Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  20555. offset = offset | 0
  20556. byteLength = byteLength | 0
  20557. if (!noAssert) {
  20558. checkOffset(offset, byteLength, this.length)
  20559. }
  20560. var val = this[offset + --byteLength]
  20561. var mul = 1
  20562. while (byteLength > 0 && (mul *= 0x100)) {
  20563. val += this[offset + --byteLength] * mul
  20564. }
  20565. return val
  20566. }
  20567. Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  20568. if (!noAssert) checkOffset(offset, 1, this.length)
  20569. return this[offset]
  20570. }
  20571. Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  20572. if (!noAssert) checkOffset(offset, 2, this.length)
  20573. return this[offset] | (this[offset + 1] << 8)
  20574. }
  20575. Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  20576. if (!noAssert) checkOffset(offset, 2, this.length)
  20577. return (this[offset] << 8) | this[offset + 1]
  20578. }
  20579. Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  20580. if (!noAssert) checkOffset(offset, 4, this.length)
  20581. return ((this[offset]) |
  20582. (this[offset + 1] << 8) |
  20583. (this[offset + 2] << 16)) +
  20584. (this[offset + 3] * 0x1000000)
  20585. }
  20586. Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  20587. if (!noAssert) checkOffset(offset, 4, this.length)
  20588. return (this[offset] * 0x1000000) +
  20589. ((this[offset + 1] << 16) |
  20590. (this[offset + 2] << 8) |
  20591. this[offset + 3])
  20592. }
  20593. Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  20594. offset = offset | 0
  20595. byteLength = byteLength | 0
  20596. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20597. var val = this[offset]
  20598. var mul = 1
  20599. var i = 0
  20600. while (++i < byteLength && (mul *= 0x100)) {
  20601. val += this[offset + i] * mul
  20602. }
  20603. mul *= 0x80
  20604. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  20605. return val
  20606. }
  20607. Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  20608. offset = offset | 0
  20609. byteLength = byteLength | 0
  20610. if (!noAssert) checkOffset(offset, byteLength, this.length)
  20611. var i = byteLength
  20612. var mul = 1
  20613. var val = this[offset + --i]
  20614. while (i > 0 && (mul *= 0x100)) {
  20615. val += this[offset + --i] * mul
  20616. }
  20617. mul *= 0x80
  20618. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  20619. return val
  20620. }
  20621. Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  20622. if (!noAssert) checkOffset(offset, 1, this.length)
  20623. if (!(this[offset] & 0x80)) return (this[offset])
  20624. return ((0xff - this[offset] + 1) * -1)
  20625. }
  20626. Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  20627. if (!noAssert) checkOffset(offset, 2, this.length)
  20628. var val = this[offset] | (this[offset + 1] << 8)
  20629. return (val & 0x8000) ? val | 0xFFFF0000 : val
  20630. }
  20631. Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  20632. if (!noAssert) checkOffset(offset, 2, this.length)
  20633. var val = this[offset + 1] | (this[offset] << 8)
  20634. return (val & 0x8000) ? val | 0xFFFF0000 : val
  20635. }
  20636. Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  20637. if (!noAssert) checkOffset(offset, 4, this.length)
  20638. return (this[offset]) |
  20639. (this[offset + 1] << 8) |
  20640. (this[offset + 2] << 16) |
  20641. (this[offset + 3] << 24)
  20642. }
  20643. Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  20644. if (!noAssert) checkOffset(offset, 4, this.length)
  20645. return (this[offset] << 24) |
  20646. (this[offset + 1] << 16) |
  20647. (this[offset + 2] << 8) |
  20648. (this[offset + 3])
  20649. }
  20650. Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  20651. if (!noAssert) checkOffset(offset, 4, this.length)
  20652. return ieee754.read(this, offset, true, 23, 4)
  20653. }
  20654. Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  20655. if (!noAssert) checkOffset(offset, 4, this.length)
  20656. return ieee754.read(this, offset, false, 23, 4)
  20657. }
  20658. Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  20659. if (!noAssert) checkOffset(offset, 8, this.length)
  20660. return ieee754.read(this, offset, true, 52, 8)
  20661. }
  20662. Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  20663. if (!noAssert) checkOffset(offset, 8, this.length)
  20664. return ieee754.read(this, offset, false, 52, 8)
  20665. }
  20666. function checkInt (buf, value, offset, ext, max, min) {
  20667. if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  20668. if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  20669. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  20670. }
  20671. Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  20672. value = +value
  20673. offset = offset | 0
  20674. byteLength = byteLength | 0
  20675. if (!noAssert) {
  20676. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  20677. checkInt(this, value, offset, byteLength, maxBytes, 0)
  20678. }
  20679. var mul = 1
  20680. var i = 0
  20681. this[offset] = value & 0xFF
  20682. while (++i < byteLength && (mul *= 0x100)) {
  20683. this[offset + i] = (value / mul) & 0xFF
  20684. }
  20685. return offset + byteLength
  20686. }
  20687. Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  20688. value = +value
  20689. offset = offset | 0
  20690. byteLength = byteLength | 0
  20691. if (!noAssert) {
  20692. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  20693. checkInt(this, value, offset, byteLength, maxBytes, 0)
  20694. }
  20695. var i = byteLength - 1
  20696. var mul = 1
  20697. this[offset + i] = value & 0xFF
  20698. while (--i >= 0 && (mul *= 0x100)) {
  20699. this[offset + i] = (value / mul) & 0xFF
  20700. }
  20701. return offset + byteLength
  20702. }
  20703. Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  20704. value = +value
  20705. offset = offset | 0
  20706. if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  20707. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  20708. this[offset] = (value & 0xff)
  20709. return offset + 1
  20710. }
  20711. function objectWriteUInt16 (buf, value, offset, littleEndian) {
  20712. if (value < 0) value = 0xffff + value + 1
  20713. for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
  20714. buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
  20715. (littleEndian ? i : 1 - i) * 8
  20716. }
  20717. }
  20718. Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  20719. value = +value
  20720. offset = offset | 0
  20721. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  20722. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20723. this[offset] = (value & 0xff)
  20724. this[offset + 1] = (value >>> 8)
  20725. } else {
  20726. objectWriteUInt16(this, value, offset, true)
  20727. }
  20728. return offset + 2
  20729. }
  20730. Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  20731. value = +value
  20732. offset = offset | 0
  20733. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  20734. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20735. this[offset] = (value >>> 8)
  20736. this[offset + 1] = (value & 0xff)
  20737. } else {
  20738. objectWriteUInt16(this, value, offset, false)
  20739. }
  20740. return offset + 2
  20741. }
  20742. function objectWriteUInt32 (buf, value, offset, littleEndian) {
  20743. if (value < 0) value = 0xffffffff + value + 1
  20744. for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
  20745. buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
  20746. }
  20747. }
  20748. Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  20749. value = +value
  20750. offset = offset | 0
  20751. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  20752. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20753. this[offset + 3] = (value >>> 24)
  20754. this[offset + 2] = (value >>> 16)
  20755. this[offset + 1] = (value >>> 8)
  20756. this[offset] = (value & 0xff)
  20757. } else {
  20758. objectWriteUInt32(this, value, offset, true)
  20759. }
  20760. return offset + 4
  20761. }
  20762. Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  20763. value = +value
  20764. offset = offset | 0
  20765. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  20766. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20767. this[offset] = (value >>> 24)
  20768. this[offset + 1] = (value >>> 16)
  20769. this[offset + 2] = (value >>> 8)
  20770. this[offset + 3] = (value & 0xff)
  20771. } else {
  20772. objectWriteUInt32(this, value, offset, false)
  20773. }
  20774. return offset + 4
  20775. }
  20776. Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  20777. value = +value
  20778. offset = offset | 0
  20779. if (!noAssert) {
  20780. var limit = Math.pow(2, 8 * byteLength - 1)
  20781. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  20782. }
  20783. var i = 0
  20784. var mul = 1
  20785. var sub = 0
  20786. this[offset] = value & 0xFF
  20787. while (++i < byteLength && (mul *= 0x100)) {
  20788. if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
  20789. sub = 1
  20790. }
  20791. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  20792. }
  20793. return offset + byteLength
  20794. }
  20795. Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  20796. value = +value
  20797. offset = offset | 0
  20798. if (!noAssert) {
  20799. var limit = Math.pow(2, 8 * byteLength - 1)
  20800. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  20801. }
  20802. var i = byteLength - 1
  20803. var mul = 1
  20804. var sub = 0
  20805. this[offset + i] = value & 0xFF
  20806. while (--i >= 0 && (mul *= 0x100)) {
  20807. if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
  20808. sub = 1
  20809. }
  20810. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  20811. }
  20812. return offset + byteLength
  20813. }
  20814. Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  20815. value = +value
  20816. offset = offset | 0
  20817. if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  20818. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  20819. if (value < 0) value = 0xff + value + 1
  20820. this[offset] = (value & 0xff)
  20821. return offset + 1
  20822. }
  20823. Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  20824. value = +value
  20825. offset = offset | 0
  20826. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  20827. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20828. this[offset] = (value & 0xff)
  20829. this[offset + 1] = (value >>> 8)
  20830. } else {
  20831. objectWriteUInt16(this, value, offset, true)
  20832. }
  20833. return offset + 2
  20834. }
  20835. Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  20836. value = +value
  20837. offset = offset | 0
  20838. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  20839. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20840. this[offset] = (value >>> 8)
  20841. this[offset + 1] = (value & 0xff)
  20842. } else {
  20843. objectWriteUInt16(this, value, offset, false)
  20844. }
  20845. return offset + 2
  20846. }
  20847. Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  20848. value = +value
  20849. offset = offset | 0
  20850. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  20851. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20852. this[offset] = (value & 0xff)
  20853. this[offset + 1] = (value >>> 8)
  20854. this[offset + 2] = (value >>> 16)
  20855. this[offset + 3] = (value >>> 24)
  20856. } else {
  20857. objectWriteUInt32(this, value, offset, true)
  20858. }
  20859. return offset + 4
  20860. }
  20861. Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  20862. value = +value
  20863. offset = offset | 0
  20864. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  20865. if (value < 0) value = 0xffffffff + value + 1
  20866. if (Buffer.TYPED_ARRAY_SUPPORT) {
  20867. this[offset] = (value >>> 24)
  20868. this[offset + 1] = (value >>> 16)
  20869. this[offset + 2] = (value >>> 8)
  20870. this[offset + 3] = (value & 0xff)
  20871. } else {
  20872. objectWriteUInt32(this, value, offset, false)
  20873. }
  20874. return offset + 4
  20875. }
  20876. function checkIEEE754 (buf, value, offset, ext, max, min) {
  20877. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  20878. if (offset < 0) throw new RangeError('Index out of range')
  20879. }
  20880. function writeFloat (buf, value, offset, littleEndian, noAssert) {
  20881. if (!noAssert) {
  20882. checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  20883. }
  20884. ieee754.write(buf, value, offset, littleEndian, 23, 4)
  20885. return offset + 4
  20886. }
  20887. Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  20888. return writeFloat(this, value, offset, true, noAssert)
  20889. }
  20890. Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  20891. return writeFloat(this, value, offset, false, noAssert)
  20892. }
  20893. function writeDouble (buf, value, offset, littleEndian, noAssert) {
  20894. if (!noAssert) {
  20895. checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  20896. }
  20897. ieee754.write(buf, value, offset, littleEndian, 52, 8)
  20898. return offset + 8
  20899. }
  20900. Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  20901. return writeDouble(this, value, offset, true, noAssert)
  20902. }
  20903. Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  20904. return writeDouble(this, value, offset, false, noAssert)
  20905. }
  20906. // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
  20907. Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  20908. if (!start) start = 0
  20909. if (!end && end !== 0) end = this.length
  20910. if (targetStart >= target.length) targetStart = target.length
  20911. if (!targetStart) targetStart = 0
  20912. if (end > 0 && end < start) end = start
  20913. // Copy 0 bytes; we're done
  20914. if (end === start) return 0
  20915. if (target.length === 0 || this.length === 0) return 0
  20916. // Fatal error conditions
  20917. if (targetStart < 0) {
  20918. throw new RangeError('targetStart out of bounds')
  20919. }
  20920. if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
  20921. if (end < 0) throw new RangeError('sourceEnd out of bounds')
  20922. // Are we oob?
  20923. if (end > this.length) end = this.length
  20924. if (target.length - targetStart < end - start) {
  20925. end = target.length - targetStart + start
  20926. }
  20927. var len = end - start
  20928. var i
  20929. if (this === target && start < targetStart && targetStart < end) {
  20930. // descending copy from end
  20931. for (i = len - 1; i >= 0; --i) {
  20932. target[i + targetStart] = this[i + start]
  20933. }
  20934. } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
  20935. // ascending copy from start
  20936. for (i = 0; i < len; ++i) {
  20937. target[i + targetStart] = this[i + start]
  20938. }
  20939. } else {
  20940. Uint8Array.prototype.set.call(
  20941. target,
  20942. this.subarray(start, start + len),
  20943. targetStart
  20944. )
  20945. }
  20946. return len
  20947. }
  20948. // Usage:
  20949. // buffer.fill(number[, offset[, end]])
  20950. // buffer.fill(buffer[, offset[, end]])
  20951. // buffer.fill(string[, offset[, end]][, encoding])
  20952. Buffer.prototype.fill = function fill (val, start, end, encoding) {
  20953. // Handle string cases:
  20954. if (typeof val === 'string') {
  20955. if (typeof start === 'string') {
  20956. encoding = start
  20957. start = 0
  20958. end = this.length
  20959. } else if (typeof end === 'string') {
  20960. encoding = end
  20961. end = this.length
  20962. }
  20963. if (val.length === 1) {
  20964. var code = val.charCodeAt(0)
  20965. if (code < 256) {
  20966. val = code
  20967. }
  20968. }
  20969. if (encoding !== undefined && typeof encoding !== 'string') {
  20970. throw new TypeError('encoding must be a string')
  20971. }
  20972. if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
  20973. throw new TypeError('Unknown encoding: ' + encoding)
  20974. }
  20975. } else if (typeof val === 'number') {
  20976. val = val & 255
  20977. }
  20978. // Invalid ranges are not set to a default, so can range check early.
  20979. if (start < 0 || this.length < start || this.length < end) {
  20980. throw new RangeError('Out of range index')
  20981. }
  20982. if (end <= start) {
  20983. return this
  20984. }
  20985. start = start >>> 0
  20986. end = end === undefined ? this.length : end >>> 0
  20987. if (!val) val = 0
  20988. var i
  20989. if (typeof val === 'number') {
  20990. for (i = start; i < end; ++i) {
  20991. this[i] = val
  20992. }
  20993. } else {
  20994. var bytes = Buffer.isBuffer(val)
  20995. ? val
  20996. : utf8ToBytes(new Buffer(val, encoding).toString())
  20997. var len = bytes.length
  20998. for (i = 0; i < end - start; ++i) {
  20999. this[i + start] = bytes[i % len]
  21000. }
  21001. }
  21002. return this
  21003. }
  21004. // HELPER FUNCTIONS
  21005. // ================
  21006. var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
  21007. function base64clean (str) {
  21008. // Node strips out invalid characters like \n and \t from the string, base64-js does not
  21009. str = stringtrim(str).replace(INVALID_BASE64_RE, '')
  21010. // Node converts strings with length < 2 to ''
  21011. if (str.length < 2) return ''
  21012. // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  21013. while (str.length % 4 !== 0) {
  21014. str = str + '='
  21015. }
  21016. return str
  21017. }
  21018. function stringtrim (str) {
  21019. if (str.trim) return str.trim()
  21020. return str.replace(/^\s+|\s+$/g, '')
  21021. }
  21022. function toHex (n) {
  21023. if (n < 16) return '0' + n.toString(16)
  21024. return n.toString(16)
  21025. }
  21026. function utf8ToBytes (string, units) {
  21027. units = units || Infinity
  21028. var codePoint
  21029. var length = string.length
  21030. var leadSurrogate = null
  21031. var bytes = []
  21032. for (var i = 0; i < length; ++i) {
  21033. codePoint = string.charCodeAt(i)
  21034. // is surrogate component
  21035. if (codePoint > 0xD7FF && codePoint < 0xE000) {
  21036. // last char was a lead
  21037. if (!leadSurrogate) {
  21038. // no lead yet
  21039. if (codePoint > 0xDBFF) {
  21040. // unexpected trail
  21041. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21042. continue
  21043. } else if (i + 1 === length) {
  21044. // unpaired lead
  21045. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21046. continue
  21047. }
  21048. // valid lead
  21049. leadSurrogate = codePoint
  21050. continue
  21051. }
  21052. // 2 leads in a row
  21053. if (codePoint < 0xDC00) {
  21054. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21055. leadSurrogate = codePoint
  21056. continue
  21057. }
  21058. // valid surrogate pair
  21059. codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
  21060. } else if (leadSurrogate) {
  21061. // valid bmp char, but last char was a lead
  21062. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  21063. }
  21064. leadSurrogate = null
  21065. // encode utf8
  21066. if (codePoint < 0x80) {
  21067. if ((units -= 1) < 0) break
  21068. bytes.push(codePoint)
  21069. } else if (codePoint < 0x800) {
  21070. if ((units -= 2) < 0) break
  21071. bytes.push(
  21072. codePoint >> 0x6 | 0xC0,
  21073. codePoint & 0x3F | 0x80
  21074. )
  21075. } else if (codePoint < 0x10000) {
  21076. if ((units -= 3) < 0) break
  21077. bytes.push(
  21078. codePoint >> 0xC | 0xE0,
  21079. codePoint >> 0x6 & 0x3F | 0x80,
  21080. codePoint & 0x3F | 0x80
  21081. )
  21082. } else if (codePoint < 0x110000) {
  21083. if ((units -= 4) < 0) break
  21084. bytes.push(
  21085. codePoint >> 0x12 | 0xF0,
  21086. codePoint >> 0xC & 0x3F | 0x80,
  21087. codePoint >> 0x6 & 0x3F | 0x80,
  21088. codePoint & 0x3F | 0x80
  21089. )
  21090. } else {
  21091. throw new Error('Invalid code point')
  21092. }
  21093. }
  21094. return bytes
  21095. }
  21096. function asciiToBytes (str) {
  21097. var byteArray = []
  21098. for (var i = 0; i < str.length; ++i) {
  21099. // Node's code seems to be doing this and not & 0x7F..
  21100. byteArray.push(str.charCodeAt(i) & 0xFF)
  21101. }
  21102. return byteArray
  21103. }
  21104. function utf16leToBytes (str, units) {
  21105. var c, hi, lo
  21106. var byteArray = []
  21107. for (var i = 0; i < str.length; ++i) {
  21108. if ((units -= 2) < 0) break
  21109. c = str.charCodeAt(i)
  21110. hi = c >> 8
  21111. lo = c % 256
  21112. byteArray.push(lo)
  21113. byteArray.push(hi)
  21114. }
  21115. return byteArray
  21116. }
  21117. function base64ToBytes (str) {
  21118. return base64.toByteArray(base64clean(str))
  21119. }
  21120. function blitBuffer (src, dst, offset, length) {
  21121. for (var i = 0; i < length; ++i) {
  21122. if ((i + offset >= dst.length) || (i >= src.length)) break
  21123. dst[i + offset] = src[i]
  21124. }
  21125. return i
  21126. }
  21127. function isnan (val) {
  21128. return val !== val // eslint-disable-line no-self-compare
  21129. }
  21130. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 3)))
  21131. /***/ }),
  21132. /***/ 52:
  21133. /*!*****************************************!*\
  21134. !*** ./node_modules/base64-js/index.js ***!
  21135. \*****************************************/
  21136. /*! no static exports found */
  21137. /***/ (function(module, exports, __webpack_require__) {
  21138. "use strict";
  21139. exports.byteLength = byteLength
  21140. exports.toByteArray = toByteArray
  21141. exports.fromByteArray = fromByteArray
  21142. var lookup = []
  21143. var revLookup = []
  21144. var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
  21145. var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
  21146. for (var i = 0, len = code.length; i < len; ++i) {
  21147. lookup[i] = code[i]
  21148. revLookup[code.charCodeAt(i)] = i
  21149. }
  21150. // Support decoding URL-safe base64 strings, as Node.js does.
  21151. // See: https://en.wikipedia.org/wiki/Base64#URL_applications
  21152. revLookup['-'.charCodeAt(0)] = 62
  21153. revLookup['_'.charCodeAt(0)] = 63
  21154. function getLens (b64) {
  21155. var len = b64.length
  21156. if (len % 4 > 0) {
  21157. throw new Error('Invalid string. Length must be a multiple of 4')
  21158. }
  21159. // Trim off extra bytes after placeholder bytes are found
  21160. // See: https://github.com/beatgammit/base64-js/issues/42
  21161. var validLen = b64.indexOf('=')
  21162. if (validLen === -1) validLen = len
  21163. var placeHoldersLen = validLen === len
  21164. ? 0
  21165. : 4 - (validLen % 4)
  21166. return [validLen, placeHoldersLen]
  21167. }
  21168. // base64 is 4/3 + up to two characters of the original data
  21169. function byteLength (b64) {
  21170. var lens = getLens(b64)
  21171. var validLen = lens[0]
  21172. var placeHoldersLen = lens[1]
  21173. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  21174. }
  21175. function _byteLength (b64, validLen, placeHoldersLen) {
  21176. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  21177. }
  21178. function toByteArray (b64) {
  21179. var tmp
  21180. var lens = getLens(b64)
  21181. var validLen = lens[0]
  21182. var placeHoldersLen = lens[1]
  21183. var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
  21184. var curByte = 0
  21185. // if there are placeholders, only get up to the last complete 4 chars
  21186. var len = placeHoldersLen > 0
  21187. ? validLen - 4
  21188. : validLen
  21189. var i
  21190. for (i = 0; i < len; i += 4) {
  21191. tmp =
  21192. (revLookup[b64.charCodeAt(i)] << 18) |
  21193. (revLookup[b64.charCodeAt(i + 1)] << 12) |
  21194. (revLookup[b64.charCodeAt(i + 2)] << 6) |
  21195. revLookup[b64.charCodeAt(i + 3)]
  21196. arr[curByte++] = (tmp >> 16) & 0xFF
  21197. arr[curByte++] = (tmp >> 8) & 0xFF
  21198. arr[curByte++] = tmp & 0xFF
  21199. }
  21200. if (placeHoldersLen === 2) {
  21201. tmp =
  21202. (revLookup[b64.charCodeAt(i)] << 2) |
  21203. (revLookup[b64.charCodeAt(i + 1)] >> 4)
  21204. arr[curByte++] = tmp & 0xFF
  21205. }
  21206. if (placeHoldersLen === 1) {
  21207. tmp =
  21208. (revLookup[b64.charCodeAt(i)] << 10) |
  21209. (revLookup[b64.charCodeAt(i + 1)] << 4) |
  21210. (revLookup[b64.charCodeAt(i + 2)] >> 2)
  21211. arr[curByte++] = (tmp >> 8) & 0xFF
  21212. arr[curByte++] = tmp & 0xFF
  21213. }
  21214. return arr
  21215. }
  21216. function tripletToBase64 (num) {
  21217. return lookup[num >> 18 & 0x3F] +
  21218. lookup[num >> 12 & 0x3F] +
  21219. lookup[num >> 6 & 0x3F] +
  21220. lookup[num & 0x3F]
  21221. }
  21222. function encodeChunk (uint8, start, end) {
  21223. var tmp
  21224. var output = []
  21225. for (var i = start; i < end; i += 3) {
  21226. tmp =
  21227. ((uint8[i] << 16) & 0xFF0000) +
  21228. ((uint8[i + 1] << 8) & 0xFF00) +
  21229. (uint8[i + 2] & 0xFF)
  21230. output.push(tripletToBase64(tmp))
  21231. }
  21232. return output.join('')
  21233. }
  21234. function fromByteArray (uint8) {
  21235. var tmp
  21236. var len = uint8.length
  21237. var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  21238. var parts = []
  21239. var maxChunkLength = 16383 // must be multiple of 3
  21240. // go through the array every three bytes, we'll deal with trailing stuff later
  21241. for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
  21242. parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  21243. }
  21244. // pad the end with zeros, but make sure to not forget the extra bytes
  21245. if (extraBytes === 1) {
  21246. tmp = uint8[len - 1]
  21247. parts.push(
  21248. lookup[tmp >> 2] +
  21249. lookup[(tmp << 4) & 0x3F] +
  21250. '=='
  21251. )
  21252. } else if (extraBytes === 2) {
  21253. tmp = (uint8[len - 2] << 8) + uint8[len - 1]
  21254. parts.push(
  21255. lookup[tmp >> 10] +
  21256. lookup[(tmp >> 4) & 0x3F] +
  21257. lookup[(tmp << 2) & 0x3F] +
  21258. '='
  21259. )
  21260. }
  21261. return parts.join('')
  21262. }
  21263. /***/ }),
  21264. /***/ 53:
  21265. /*!***************************************!*\
  21266. !*** ./node_modules/ieee754/index.js ***!
  21267. \***************************************/
  21268. /*! no static exports found */
  21269. /***/ (function(module, exports) {
  21270. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  21271. exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  21272. var e, m
  21273. var eLen = (nBytes * 8) - mLen - 1
  21274. var eMax = (1 << eLen) - 1
  21275. var eBias = eMax >> 1
  21276. var nBits = -7
  21277. var i = isLE ? (nBytes - 1) : 0
  21278. var d = isLE ? -1 : 1
  21279. var s = buffer[offset + i]
  21280. i += d
  21281. e = s & ((1 << (-nBits)) - 1)
  21282. s >>= (-nBits)
  21283. nBits += eLen
  21284. for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  21285. m = e & ((1 << (-nBits)) - 1)
  21286. e >>= (-nBits)
  21287. nBits += mLen
  21288. for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  21289. if (e === 0) {
  21290. e = 1 - eBias
  21291. } else if (e === eMax) {
  21292. return m ? NaN : ((s ? -1 : 1) * Infinity)
  21293. } else {
  21294. m = m + Math.pow(2, mLen)
  21295. e = e - eBias
  21296. }
  21297. return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
  21298. }
  21299. exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  21300. var e, m, c
  21301. var eLen = (nBytes * 8) - mLen - 1
  21302. var eMax = (1 << eLen) - 1
  21303. var eBias = eMax >> 1
  21304. var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  21305. var i = isLE ? 0 : (nBytes - 1)
  21306. var d = isLE ? 1 : -1
  21307. var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
  21308. value = Math.abs(value)
  21309. if (isNaN(value) || value === Infinity) {
  21310. m = isNaN(value) ? 1 : 0
  21311. e = eMax
  21312. } else {
  21313. e = Math.floor(Math.log(value) / Math.LN2)
  21314. if (value * (c = Math.pow(2, -e)) < 1) {
  21315. e--
  21316. c *= 2
  21317. }
  21318. if (e + eBias >= 1) {
  21319. value += rt / c
  21320. } else {
  21321. value += rt * Math.pow(2, 1 - eBias)
  21322. }
  21323. if (value * c >= 2) {
  21324. e++
  21325. c /= 2
  21326. }
  21327. if (e + eBias >= eMax) {
  21328. m = 0
  21329. e = eMax
  21330. } else if (e + eBias >= 1) {
  21331. m = ((value * c) - 1) * Math.pow(2, mLen)
  21332. e = e + eBias
  21333. } else {
  21334. m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
  21335. e = 0
  21336. }
  21337. }
  21338. for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
  21339. e = (e << mLen) | m
  21340. eLen += mLen
  21341. for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
  21342. buffer[offset + i - d] |= s * 128
  21343. }
  21344. /***/ }),
  21345. /***/ 54:
  21346. /*!***************************************!*\
  21347. !*** ./node_modules/isarray/index.js ***!
  21348. \***************************************/
  21349. /*! no static exports found */
  21350. /***/ (function(module, exports) {
  21351. var toString = {}.toString;
  21352. module.exports = Array.isArray || function (arr) {
  21353. return toString.call(arr) == '[object Array]';
  21354. };
  21355. /***/ }),
  21356. /***/ 55:
  21357. /*!*****************************************************************!*\
  21358. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/util/route.js ***!
  21359. \*****************************************************************/
  21360. /*! no static exports found */
  21361. /***/ (function(module, exports, __webpack_require__) {
  21362. "use strict";
  21363. /* WEBPACK VAR INJECTION */(function(uni) {
  21364. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21365. Object.defineProperty(exports, "__esModule", {
  21366. value: true
  21367. });
  21368. exports.default = void 0;
  21369. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 56));
  21370. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 58));
  21371. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  21372. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  21373. /**
  21374. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  21375. * 并且带有路由拦截功能
  21376. */
  21377. var Router = /*#__PURE__*/function () {
  21378. function Router() {
  21379. (0, _classCallCheck2.default)(this, Router);
  21380. // 原始属性定义
  21381. this.config = {
  21382. type: 'navigateTo',
  21383. url: '',
  21384. delta: 1,
  21385. // navigateBack页面后退时,回退的层数
  21386. params: {},
  21387. // 传递的参数
  21388. animationType: 'pop-in',
  21389. // 窗口动画,只在APP有效
  21390. animationDuration: 300,
  21391. // 窗口动画持续时间,单位毫秒,只在APP有效
  21392. intercept: false // 是否需要拦截
  21393. };
  21394. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  21395. // 这里在构造函数中进行this绑定
  21396. this.route = this.route.bind(this);
  21397. }
  21398. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  21399. (0, _createClass2.default)(Router, [{
  21400. key: "addRootPath",
  21401. value: function addRootPath(url) {
  21402. return url[0] === '/' ? url : "/".concat(url);
  21403. }
  21404. // 整合路由参数
  21405. }, {
  21406. key: "mixinParam",
  21407. value: function mixinParam(url, params) {
  21408. url = url && this.addRootPath(url);
  21409. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  21410. // 如果有url中有get参数,转换后无需带上"?"
  21411. var query = '';
  21412. if (/.*\/.*\?.*=.*/.test(url)) {
  21413. // object对象转为get类型的参数
  21414. query = uni.$u.queryParams(params, false);
  21415. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  21416. return url += "&".concat(query);
  21417. }
  21418. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  21419. query = uni.$u.queryParams(params);
  21420. return url += query;
  21421. }
  21422. // 对外的方法名称
  21423. }, {
  21424. key: "route",
  21425. value: function () {
  21426. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  21427. var options,
  21428. params,
  21429. mergeConfig,
  21430. isNext,
  21431. _args = arguments;
  21432. return _regenerator.default.wrap(function _callee$(_context) {
  21433. while (1) {
  21434. switch (_context.prev = _context.next) {
  21435. case 0:
  21436. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  21437. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  21438. // 合并用户的配置和内部的默认配置
  21439. mergeConfig = {};
  21440. if (typeof options === 'string') {
  21441. // 如果options为字符串,则为route(url, params)的形式
  21442. mergeConfig.url = this.mixinParam(options, params);
  21443. mergeConfig.type = 'navigateTo';
  21444. } else {
  21445. mergeConfig = uni.$u.deepMerge(this.config, options);
  21446. // 否则正常使用mergeConfig中的url和params进行拼接
  21447. mergeConfig.url = this.mixinParam(options.url, options.params);
  21448. }
  21449. // 如果本次跳转的路径和本页面路径一致,不执行跳转,防止用户快速点击跳转按钮,造成多次跳转同一个页面的问题
  21450. if (!(mergeConfig.url === uni.$u.page())) {
  21451. _context.next = 6;
  21452. break;
  21453. }
  21454. return _context.abrupt("return");
  21455. case 6:
  21456. if (params.intercept) {
  21457. this.config.intercept = params.intercept;
  21458. }
  21459. // params参数也带给拦截器
  21460. mergeConfig.params = params;
  21461. // 合并内外部参数
  21462. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  21463. // 判断用户是否定义了拦截器
  21464. if (!(typeof uni.$u.routeIntercept === 'function')) {
  21465. _context.next = 16;
  21466. break;
  21467. }
  21468. _context.next = 12;
  21469. return new Promise(function (resolve, reject) {
  21470. uni.$u.routeIntercept(mergeConfig, resolve);
  21471. });
  21472. case 12:
  21473. isNext = _context.sent;
  21474. // 如果isNext为true,则执行路由跳转
  21475. isNext && this.openPage(mergeConfig);
  21476. _context.next = 17;
  21477. break;
  21478. case 16:
  21479. this.openPage(mergeConfig);
  21480. case 17:
  21481. case "end":
  21482. return _context.stop();
  21483. }
  21484. }
  21485. }, _callee, this);
  21486. }));
  21487. function route() {
  21488. return _route.apply(this, arguments);
  21489. }
  21490. return route;
  21491. }() // 执行路由跳转
  21492. }, {
  21493. key: "openPage",
  21494. value: function openPage(config) {
  21495. // 解构参数
  21496. var url = config.url,
  21497. type = config.type,
  21498. delta = config.delta,
  21499. animationType = config.animationType,
  21500. animationDuration = config.animationDuration;
  21501. if (config.type == 'navigateTo' || config.type == 'to') {
  21502. uni.navigateTo({
  21503. url: url,
  21504. animationType: animationType,
  21505. animationDuration: animationDuration
  21506. });
  21507. }
  21508. if (config.type == 'redirectTo' || config.type == 'redirect') {
  21509. uni.redirectTo({
  21510. url: url
  21511. });
  21512. }
  21513. if (config.type == 'switchTab' || config.type == 'tab') {
  21514. uni.switchTab({
  21515. url: url
  21516. });
  21517. }
  21518. if (config.type == 'reLaunch' || config.type == 'launch') {
  21519. uni.reLaunch({
  21520. url: url
  21521. });
  21522. }
  21523. if (config.type == 'navigateBack' || config.type == 'back') {
  21524. uni.navigateBack({
  21525. delta: delta
  21526. });
  21527. }
  21528. }
  21529. }]);
  21530. return Router;
  21531. }();
  21532. var _default = new Router().route;
  21533. exports.default = _default;
  21534. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21535. /***/ }),
  21536. /***/ 56:
  21537. /*!************************************************************************************************!*\
  21538. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  21539. \************************************************************************************************/
  21540. /*! no static exports found */
  21541. /***/ (function(module, exports, __webpack_require__) {
  21542. // TODO(Babel 8): Remove this file.
  21543. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 57)();
  21544. module.exports = runtime;
  21545. /***/ }),
  21546. /***/ 57:
  21547. /*!*******************************************************************!*\
  21548. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  21549. \*******************************************************************/
  21550. /*! no static exports found */
  21551. /***/ (function(module, exports, __webpack_require__) {
  21552. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  21553. function _regeneratorRuntime() {
  21554. "use strict";
  21555. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  21556. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  21557. return e;
  21558. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21559. var t,
  21560. e = {},
  21561. r = Object.prototype,
  21562. n = r.hasOwnProperty,
  21563. o = Object.defineProperty || function (t, e, r) {
  21564. t[e] = r.value;
  21565. },
  21566. i = "function" == typeof Symbol ? Symbol : {},
  21567. a = i.iterator || "@@iterator",
  21568. c = i.asyncIterator || "@@asyncIterator",
  21569. u = i.toStringTag || "@@toStringTag";
  21570. function define(t, e, r) {
  21571. return Object.defineProperty(t, e, {
  21572. value: r,
  21573. enumerable: !0,
  21574. configurable: !0,
  21575. writable: !0
  21576. }), t[e];
  21577. }
  21578. try {
  21579. define({}, "");
  21580. } catch (t) {
  21581. define = function define(t, e, r) {
  21582. return t[e] = r;
  21583. };
  21584. }
  21585. function wrap(t, e, r, n) {
  21586. var i = e && e.prototype instanceof Generator ? e : Generator,
  21587. a = Object.create(i.prototype),
  21588. c = new Context(n || []);
  21589. return o(a, "_invoke", {
  21590. value: makeInvokeMethod(t, r, c)
  21591. }), a;
  21592. }
  21593. function tryCatch(t, e, r) {
  21594. try {
  21595. return {
  21596. type: "normal",
  21597. arg: t.call(e, r)
  21598. };
  21599. } catch (t) {
  21600. return {
  21601. type: "throw",
  21602. arg: t
  21603. };
  21604. }
  21605. }
  21606. e.wrap = wrap;
  21607. var h = "suspendedStart",
  21608. l = "suspendedYield",
  21609. f = "executing",
  21610. s = "completed",
  21611. y = {};
  21612. function Generator() {}
  21613. function GeneratorFunction() {}
  21614. function GeneratorFunctionPrototype() {}
  21615. var p = {};
  21616. define(p, a, function () {
  21617. return this;
  21618. });
  21619. var d = Object.getPrototypeOf,
  21620. v = d && d(d(values([])));
  21621. v && v !== r && n.call(v, a) && (p = v);
  21622. var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
  21623. function defineIteratorMethods(t) {
  21624. ["next", "throw", "return"].forEach(function (e) {
  21625. define(t, e, function (t) {
  21626. return this._invoke(e, t);
  21627. });
  21628. });
  21629. }
  21630. function AsyncIterator(t, e) {
  21631. function invoke(r, o, i, a) {
  21632. var c = tryCatch(t[r], t, o);
  21633. if ("throw" !== c.type) {
  21634. var u = c.arg,
  21635. h = u.value;
  21636. return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
  21637. invoke("next", t, i, a);
  21638. }, function (t) {
  21639. invoke("throw", t, i, a);
  21640. }) : e.resolve(h).then(function (t) {
  21641. u.value = t, i(u);
  21642. }, function (t) {
  21643. return invoke("throw", t, i, a);
  21644. });
  21645. }
  21646. a(c.arg);
  21647. }
  21648. var r;
  21649. o(this, "_invoke", {
  21650. value: function value(t, n) {
  21651. function callInvokeWithMethodAndArg() {
  21652. return new e(function (e, r) {
  21653. invoke(t, n, e, r);
  21654. });
  21655. }
  21656. return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  21657. }
  21658. });
  21659. }
  21660. function makeInvokeMethod(e, r, n) {
  21661. var o = h;
  21662. return function (i, a) {
  21663. if (o === f) throw Error("Generator is already running");
  21664. if (o === s) {
  21665. if ("throw" === i) throw a;
  21666. return {
  21667. value: t,
  21668. done: !0
  21669. };
  21670. }
  21671. for (n.method = i, n.arg = a;;) {
  21672. var c = n.delegate;
  21673. if (c) {
  21674. var u = maybeInvokeDelegate(c, n);
  21675. if (u) {
  21676. if (u === y) continue;
  21677. return u;
  21678. }
  21679. }
  21680. if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
  21681. if (o === h) throw o = s, n.arg;
  21682. n.dispatchException(n.arg);
  21683. } else "return" === n.method && n.abrupt("return", n.arg);
  21684. o = f;
  21685. var p = tryCatch(e, r, n);
  21686. if ("normal" === p.type) {
  21687. if (o = n.done ? s : l, p.arg === y) continue;
  21688. return {
  21689. value: p.arg,
  21690. done: n.done
  21691. };
  21692. }
  21693. "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
  21694. }
  21695. };
  21696. }
  21697. function maybeInvokeDelegate(e, r) {
  21698. var n = r.method,
  21699. o = e.iterator[n];
  21700. if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
  21701. var i = tryCatch(o, e.iterator, r.arg);
  21702. if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
  21703. var a = i.arg;
  21704. return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
  21705. }
  21706. function pushTryEntry(t) {
  21707. var e = {
  21708. tryLoc: t[0]
  21709. };
  21710. 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
  21711. }
  21712. function resetTryEntry(t) {
  21713. var e = t.completion || {};
  21714. e.type = "normal", delete e.arg, t.completion = e;
  21715. }
  21716. function Context(t) {
  21717. this.tryEntries = [{
  21718. tryLoc: "root"
  21719. }], t.forEach(pushTryEntry, this), this.reset(!0);
  21720. }
  21721. function values(e) {
  21722. if (e || "" === e) {
  21723. var r = e[a];
  21724. if (r) return r.call(e);
  21725. if ("function" == typeof e.next) return e;
  21726. if (!isNaN(e.length)) {
  21727. var o = -1,
  21728. i = function next() {
  21729. for (; ++o < e.length;) {
  21730. if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
  21731. }
  21732. return next.value = t, next.done = !0, next;
  21733. };
  21734. return i.next = i;
  21735. }
  21736. }
  21737. throw new TypeError(_typeof(e) + " is not iterable");
  21738. }
  21739. return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
  21740. value: GeneratorFunctionPrototype,
  21741. configurable: !0
  21742. }), o(GeneratorFunctionPrototype, "constructor", {
  21743. value: GeneratorFunction,
  21744. configurable: !0
  21745. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
  21746. var e = "function" == typeof t && t.constructor;
  21747. return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
  21748. }, e.mark = function (t) {
  21749. return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
  21750. }, e.awrap = function (t) {
  21751. return {
  21752. __await: t
  21753. };
  21754. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
  21755. return this;
  21756. }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
  21757. void 0 === i && (i = Promise);
  21758. var a = new AsyncIterator(wrap(t, r, n, o), i);
  21759. return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
  21760. return t.done ? t.value : a.next();
  21761. });
  21762. }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
  21763. return this;
  21764. }), define(g, "toString", function () {
  21765. return "[object Generator]";
  21766. }), e.keys = function (t) {
  21767. var e = Object(t),
  21768. r = [];
  21769. for (var n in e) {
  21770. r.push(n);
  21771. }
  21772. return r.reverse(), function next() {
  21773. for (; r.length;) {
  21774. var t = r.pop();
  21775. if (t in e) return next.value = t, next.done = !1, next;
  21776. }
  21777. return next.done = !0, next;
  21778. };
  21779. }, e.values = values, Context.prototype = {
  21780. constructor: Context,
  21781. reset: function reset(e) {
  21782. if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) {
  21783. "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
  21784. }
  21785. },
  21786. stop: function stop() {
  21787. this.done = !0;
  21788. var t = this.tryEntries[0].completion;
  21789. if ("throw" === t.type) throw t.arg;
  21790. return this.rval;
  21791. },
  21792. dispatchException: function dispatchException(e) {
  21793. if (this.done) throw e;
  21794. var r = this;
  21795. function handle(n, o) {
  21796. return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
  21797. }
  21798. for (var o = this.tryEntries.length - 1; o >= 0; --o) {
  21799. var i = this.tryEntries[o],
  21800. a = i.completion;
  21801. if ("root" === i.tryLoc) return handle("end");
  21802. if (i.tryLoc <= this.prev) {
  21803. var c = n.call(i, "catchLoc"),
  21804. u = n.call(i, "finallyLoc");
  21805. if (c && u) {
  21806. if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
  21807. if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
  21808. } else if (c) {
  21809. if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
  21810. } else {
  21811. if (!u) throw Error("try statement without catch or finally");
  21812. if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
  21813. }
  21814. }
  21815. }
  21816. },
  21817. abrupt: function abrupt(t, e) {
  21818. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  21819. var o = this.tryEntries[r];
  21820. if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
  21821. var i = o;
  21822. break;
  21823. }
  21824. }
  21825. i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
  21826. var a = i ? i.completion : {};
  21827. return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
  21828. },
  21829. complete: function complete(t, e) {
  21830. if ("throw" === t.type) throw t.arg;
  21831. return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
  21832. },
  21833. finish: function finish(t) {
  21834. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  21835. var r = this.tryEntries[e];
  21836. if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
  21837. }
  21838. },
  21839. "catch": function _catch(t) {
  21840. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  21841. var r = this.tryEntries[e];
  21842. if (r.tryLoc === t) {
  21843. var n = r.completion;
  21844. if ("throw" === n.type) {
  21845. var o = n.arg;
  21846. resetTryEntry(r);
  21847. }
  21848. return o;
  21849. }
  21850. }
  21851. throw Error("illegal catch attempt");
  21852. },
  21853. delegateYield: function delegateYield(e, r, n) {
  21854. return this.delegate = {
  21855. iterator: values(e),
  21856. resultName: r,
  21857. nextLoc: n
  21858. }, "next" === this.method && (this.arg = t), y;
  21859. }
  21860. }, e;
  21861. }
  21862. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21863. /***/ }),
  21864. /***/ 58:
  21865. /*!*****************************************************************!*\
  21866. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  21867. \*****************************************************************/
  21868. /*! no static exports found */
  21869. /***/ (function(module, exports) {
  21870. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  21871. try {
  21872. var info = gen[key](arg);
  21873. var value = info.value;
  21874. } catch (error) {
  21875. reject(error);
  21876. return;
  21877. }
  21878. if (info.done) {
  21879. resolve(value);
  21880. } else {
  21881. Promise.resolve(value).then(_next, _throw);
  21882. }
  21883. }
  21884. function _asyncToGenerator(fn) {
  21885. return function () {
  21886. var self = this,
  21887. args = arguments;
  21888. return new Promise(function (resolve, reject) {
  21889. var gen = fn.apply(self, args);
  21890. function _next(value) {
  21891. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  21892. }
  21893. function _throw(err) {
  21894. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  21895. }
  21896. _next(undefined);
  21897. });
  21898. };
  21899. }
  21900. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21901. /***/ }),
  21902. /***/ 59:
  21903. /*!*****************************************************************************!*\
  21904. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/colorGradient.js ***!
  21905. \*****************************************************************************/
  21906. /*! no static exports found */
  21907. /***/ (function(module, exports, __webpack_require__) {
  21908. "use strict";
  21909. Object.defineProperty(exports, "__esModule", {
  21910. value: true
  21911. });
  21912. exports.default = void 0;
  21913. /**
  21914. * 求两个颜色之间的渐变值
  21915. * @param {string} startColor 开始的颜色
  21916. * @param {string} endColor 结束的颜色
  21917. * @param {number} step 颜色等分的份额
  21918. * */
  21919. function colorGradient() {
  21920. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  21921. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  21922. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  21923. var startRGB = hexToRgb(startColor, false); // 转换为rgb数组模式
  21924. var startR = startRGB[0];
  21925. var startG = startRGB[1];
  21926. var startB = startRGB[2];
  21927. var endRGB = hexToRgb(endColor, false);
  21928. var endR = endRGB[0];
  21929. var endG = endRGB[1];
  21930. var endB = endRGB[2];
  21931. var sR = (endR - startR) / step; // 总差值
  21932. var sG = (endG - startG) / step;
  21933. var sB = (endB - startB) / step;
  21934. var colorArr = [];
  21935. for (var i = 0; i < step; i++) {
  21936. // 计算每一步的hex值
  21937. var hex = rgbToHex("rgb(".concat(Math.round(sR * i + startR), ",").concat(Math.round(sG * i + startG), ",").concat(Math.round(sB * i + startB), ")"));
  21938. // 确保第一个颜色值为startColor的值
  21939. if (i === 0) hex = rgbToHex(startColor);
  21940. // 确保最后一个颜色值为endColor的值
  21941. if (i === step - 1) hex = rgbToHex(endColor);
  21942. colorArr.push(hex);
  21943. }
  21944. return colorArr;
  21945. }
  21946. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  21947. function hexToRgb(sColor) {
  21948. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  21949. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  21950. sColor = String(sColor).toLowerCase();
  21951. if (sColor && reg.test(sColor)) {
  21952. if (sColor.length === 4) {
  21953. var sColorNew = '#';
  21954. for (var i = 1; i < 4; i += 1) {
  21955. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  21956. }
  21957. sColor = sColorNew;
  21958. }
  21959. // 处理六位的颜色值
  21960. var sColorChange = [];
  21961. for (var _i = 1; _i < 7; _i += 2) {
  21962. sColorChange.push(parseInt("0x".concat(sColor.slice(_i, _i + 2))));
  21963. }
  21964. if (!str) {
  21965. return sColorChange;
  21966. }
  21967. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  21968. }
  21969. if (/^(rgb|RGB)/.test(sColor)) {
  21970. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  21971. return arr.map(function (val) {
  21972. return Number(val);
  21973. });
  21974. }
  21975. return sColor;
  21976. }
  21977. // 将rgb表示方式转换为hex表示方式
  21978. function rgbToHex(rgb) {
  21979. var _this = rgb;
  21980. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  21981. if (/^(rgb|RGB)/.test(_this)) {
  21982. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  21983. var strHex = '#';
  21984. for (var i = 0; i < aColor.length; i++) {
  21985. var hex = Number(aColor[i]).toString(16);
  21986. hex = String(hex).length == 1 ? "".concat(0, hex) : hex; // 保证每个rgb的值为2位
  21987. if (hex === '0') {
  21988. hex += hex;
  21989. }
  21990. strHex += hex;
  21991. }
  21992. if (strHex.length !== 7) {
  21993. strHex = _this;
  21994. }
  21995. return strHex;
  21996. }
  21997. if (reg.test(_this)) {
  21998. var aNum = _this.replace(/#/, '').split('');
  21999. if (aNum.length === 6) {
  22000. return _this;
  22001. }
  22002. if (aNum.length === 3) {
  22003. var numHex = '#';
  22004. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  22005. numHex += aNum[_i2] + aNum[_i2];
  22006. }
  22007. return numHex;
  22008. }
  22009. } else {
  22010. return _this;
  22011. }
  22012. }
  22013. /**
  22014. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  22015. * sHex为传入的十六进制的色值
  22016. * alpha为rgba的透明度
  22017. */
  22018. function colorToRgba(color, alpha) {
  22019. color = rgbToHex(color);
  22020. // 十六进制颜色值的正则表达式
  22021. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22022. /* 16进制颜色转为RGB格式 */
  22023. var sColor = String(color).toLowerCase();
  22024. if (sColor && reg.test(sColor)) {
  22025. if (sColor.length === 4) {
  22026. var sColorNew = '#';
  22027. for (var i = 1; i < 4; i += 1) {
  22028. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  22029. }
  22030. sColor = sColorNew;
  22031. }
  22032. // 处理六位的颜色值
  22033. var sColorChange = [];
  22034. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  22035. sColorChange.push(parseInt("0x".concat(sColor.slice(_i3, _i3 + 2))));
  22036. }
  22037. // return sColorChange.join(',')
  22038. return "rgba(".concat(sColorChange.join(','), ",").concat(alpha, ")");
  22039. }
  22040. return sColor;
  22041. }
  22042. var _default = {
  22043. colorGradient: colorGradient,
  22044. hexToRgb: hexToRgb,
  22045. rgbToHex: rgbToHex,
  22046. colorToRgba: colorToRgba
  22047. };
  22048. exports.default = _default;
  22049. /***/ }),
  22050. /***/ 6:
  22051. /*!***************************************************************!*\
  22052. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  22053. \***************************************************************/
  22054. /*! no static exports found */
  22055. /***/ (function(module, exports) {
  22056. function _arrayWithHoles(arr) {
  22057. if (Array.isArray(arr)) return arr;
  22058. }
  22059. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22060. /***/ }),
  22061. /***/ 60:
  22062. /*!********************************************************************!*\
  22063. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/test.js ***!
  22064. \********************************************************************/
  22065. /*! no static exports found */
  22066. /***/ (function(module, exports, __webpack_require__) {
  22067. "use strict";
  22068. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22069. Object.defineProperty(exports, "__esModule", {
  22070. value: true
  22071. });
  22072. exports.default = void 0;
  22073. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22074. /**
  22075. * 验证电子邮箱格式
  22076. */
  22077. function email(value) {
  22078. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  22079. }
  22080. /**
  22081. * 验证手机格式
  22082. */
  22083. function mobile(value) {
  22084. return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value);
  22085. }
  22086. /**
  22087. * 验证URL格式
  22088. */
  22089. function url(value) {
  22090. return /^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(value);
  22091. }
  22092. /**
  22093. * 验证日期格式
  22094. */
  22095. function date(value) {
  22096. if (!value) return false;
  22097. // 判断是否数值或者字符串数值(意味着为时间戳),转为数值,否则new Date无法识别字符串时间戳
  22098. if (number(value)) value = +value;
  22099. return !/Invalid|NaN/.test(new Date(value).toString());
  22100. }
  22101. /**
  22102. * 验证ISO类型的日期格式
  22103. */
  22104. function dateISO(value) {
  22105. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  22106. }
  22107. /**
  22108. * 验证十进制数字
  22109. */
  22110. function number(value) {
  22111. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  22112. }
  22113. /**
  22114. * 验证字符串
  22115. */
  22116. function string(value) {
  22117. return typeof value === 'string';
  22118. }
  22119. /**
  22120. * 验证整数
  22121. */
  22122. function digits(value) {
  22123. return /^\d+$/.test(value);
  22124. }
  22125. /**
  22126. * 验证身份证号码
  22127. */
  22128. function idCard(value) {
  22129. 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);
  22130. }
  22131. /**
  22132. * 是否车牌号
  22133. */
  22134. function carNo(value) {
  22135. // 新能源车牌
  22136. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  22137. // 旧车牌
  22138. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  22139. if (value.length === 7) {
  22140. return creg.test(value);
  22141. }
  22142. if (value.length === 8) {
  22143. return xreg.test(value);
  22144. }
  22145. return false;
  22146. }
  22147. /**
  22148. * 金额,只允许2位小数
  22149. */
  22150. function amount(value) {
  22151. // 金额,只允许保留两位小数
  22152. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  22153. }
  22154. /**
  22155. * 中文
  22156. */
  22157. function chinese(value) {
  22158. var reg = /^[\u4e00-\u9fa5]+$/gi;
  22159. return reg.test(value);
  22160. }
  22161. /**
  22162. * 只能输入字母
  22163. */
  22164. function letter(value) {
  22165. return /^[a-zA-Z]*$/.test(value);
  22166. }
  22167. /**
  22168. * 只能是字母或者数字
  22169. */
  22170. function enOrNum(value) {
  22171. // 英文或者数字
  22172. var reg = /^[0-9a-zA-Z]*$/g;
  22173. return reg.test(value);
  22174. }
  22175. /**
  22176. * 验证是否包含某个值
  22177. */
  22178. function contains(value, param) {
  22179. return value.indexOf(param) >= 0;
  22180. }
  22181. /**
  22182. * 验证一个值范围[min, max]
  22183. */
  22184. function range(value, param) {
  22185. return value >= param[0] && value <= param[1];
  22186. }
  22187. /**
  22188. * 验证一个长度范围[min, max]
  22189. */
  22190. function rangeLength(value, param) {
  22191. return value.length >= param[0] && value.length <= param[1];
  22192. }
  22193. /**
  22194. * 是否固定电话
  22195. */
  22196. function landline(value) {
  22197. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  22198. return reg.test(value);
  22199. }
  22200. /**
  22201. * 判断是否为空
  22202. */
  22203. function empty(value) {
  22204. switch ((0, _typeof2.default)(value)) {
  22205. case 'undefined':
  22206. return true;
  22207. case 'string':
  22208. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  22209. break;
  22210. case 'boolean':
  22211. if (!value) return true;
  22212. break;
  22213. case 'number':
  22214. if (value === 0 || isNaN(value)) return true;
  22215. break;
  22216. case 'object':
  22217. if (value === null || value.length === 0) return true;
  22218. for (var i in value) {
  22219. return false;
  22220. }
  22221. return true;
  22222. }
  22223. return false;
  22224. }
  22225. /**
  22226. * 是否json字符串
  22227. */
  22228. function jsonString(value) {
  22229. if (typeof value === 'string') {
  22230. try {
  22231. var obj = JSON.parse(value);
  22232. if ((0, _typeof2.default)(obj) === 'object' && obj) {
  22233. return true;
  22234. }
  22235. return false;
  22236. } catch (e) {
  22237. return false;
  22238. }
  22239. }
  22240. return false;
  22241. }
  22242. /**
  22243. * 是否数组
  22244. */
  22245. function array(value) {
  22246. if (typeof Array.isArray === 'function') {
  22247. return Array.isArray(value);
  22248. }
  22249. return Object.prototype.toString.call(value) === '[object Array]';
  22250. }
  22251. /**
  22252. * 是否对象
  22253. */
  22254. function object(value) {
  22255. return Object.prototype.toString.call(value) === '[object Object]';
  22256. }
  22257. /**
  22258. * 是否短信验证码
  22259. */
  22260. function code(value) {
  22261. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  22262. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  22263. }
  22264. /**
  22265. * 是否函数方法
  22266. * @param {Object} value
  22267. */
  22268. function func(value) {
  22269. return typeof value === 'function';
  22270. }
  22271. /**
  22272. * 是否promise对象
  22273. * @param {Object} value
  22274. */
  22275. function promise(value) {
  22276. return object(value) && func(value.then) && func(value.catch);
  22277. }
  22278. /** 是否图片格式
  22279. * @param {Object} value
  22280. */
  22281. function image(value) {
  22282. var newValue = value.split('?')[0];
  22283. var IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
  22284. return IMAGE_REGEXP.test(newValue);
  22285. }
  22286. /**
  22287. * 是否视频格式
  22288. * @param {Object} value
  22289. */
  22290. function video(value) {
  22291. var VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;
  22292. return VIDEO_REGEXP.test(value);
  22293. }
  22294. /**
  22295. * 是否为正则对象
  22296. * @param {Object}
  22297. * @return {Boolean}
  22298. */
  22299. function regExp(o) {
  22300. return o && Object.prototype.toString.call(o) === '[object RegExp]';
  22301. }
  22302. var _default = {
  22303. email: email,
  22304. mobile: mobile,
  22305. url: url,
  22306. date: date,
  22307. dateISO: dateISO,
  22308. number: number,
  22309. digits: digits,
  22310. idCard: idCard,
  22311. carNo: carNo,
  22312. amount: amount,
  22313. chinese: chinese,
  22314. letter: letter,
  22315. enOrNum: enOrNum,
  22316. contains: contains,
  22317. range: range,
  22318. rangeLength: rangeLength,
  22319. empty: empty,
  22320. isEmpty: empty,
  22321. jsonString: jsonString,
  22322. landline: landline,
  22323. object: object,
  22324. array: array,
  22325. code: code,
  22326. func: func,
  22327. promise: promise,
  22328. video: video,
  22329. image: image,
  22330. regExp: regExp,
  22331. string: string
  22332. };
  22333. exports.default = _default;
  22334. /***/ }),
  22335. /***/ 61:
  22336. /*!************************************************************************!*\
  22337. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/debounce.js ***!
  22338. \************************************************************************/
  22339. /*! no static exports found */
  22340. /***/ (function(module, exports, __webpack_require__) {
  22341. "use strict";
  22342. Object.defineProperty(exports, "__esModule", {
  22343. value: true
  22344. });
  22345. exports.default = void 0;
  22346. var timeout = null;
  22347. /**
  22348. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  22349. *
  22350. * @param {Function} func 要执行的回调函数
  22351. * @param {Number} wait 延时的时间
  22352. * @param {Boolean} immediate 是否立即执行
  22353. * @return null
  22354. */
  22355. function debounce(func) {
  22356. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  22357. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  22358. // 清除定时器
  22359. if (timeout !== null) clearTimeout(timeout);
  22360. // 立即执行,此类情况一般用不到
  22361. if (immediate) {
  22362. var callNow = !timeout;
  22363. timeout = setTimeout(function () {
  22364. timeout = null;
  22365. }, wait);
  22366. if (callNow) typeof func === 'function' && func();
  22367. } else {
  22368. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  22369. timeout = setTimeout(function () {
  22370. typeof func === 'function' && func();
  22371. }, wait);
  22372. }
  22373. }
  22374. var _default = debounce;
  22375. exports.default = _default;
  22376. /***/ }),
  22377. /***/ 62:
  22378. /*!************************************************************************!*\
  22379. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/throttle.js ***!
  22380. \************************************************************************/
  22381. /*! no static exports found */
  22382. /***/ (function(module, exports, __webpack_require__) {
  22383. "use strict";
  22384. Object.defineProperty(exports, "__esModule", {
  22385. value: true
  22386. });
  22387. exports.default = void 0;
  22388. var timer;
  22389. var flag;
  22390. /**
  22391. * 节流原理:在一定时间内,只能触发一次
  22392. *
  22393. * @param {Function} func 要执行的回调函数
  22394. * @param {Number} wait 延时的时间
  22395. * @param {Boolean} immediate 是否立即执行
  22396. * @return null
  22397. */
  22398. function throttle(func) {
  22399. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  22400. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  22401. if (immediate) {
  22402. if (!flag) {
  22403. flag = true;
  22404. // 如果是立即执行,则在wait毫秒内开始时执行
  22405. typeof func === 'function' && func();
  22406. timer = setTimeout(function () {
  22407. flag = false;
  22408. }, wait);
  22409. }
  22410. } else if (!flag) {
  22411. flag = true;
  22412. // 如果是非立即执行,则在wait毫秒内的结束处执行
  22413. timer = setTimeout(function () {
  22414. flag = false;
  22415. typeof func === 'function' && func();
  22416. }, wait);
  22417. }
  22418. }
  22419. var _default = throttle;
  22420. exports.default = _default;
  22421. /***/ }),
  22422. /***/ 63:
  22423. /*!*********************************************************************!*\
  22424. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/index.js ***!
  22425. \*********************************************************************/
  22426. /*! no static exports found */
  22427. /***/ (function(module, exports, __webpack_require__) {
  22428. "use strict";
  22429. /* WEBPACK VAR INJECTION */(function(uni) {
  22430. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22431. Object.defineProperty(exports, "__esModule", {
  22432. value: true
  22433. });
  22434. exports.default = void 0;
  22435. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  22436. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22437. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 60));
  22438. var _digit = __webpack_require__(/*! ./digit.js */ 64);
  22439. /**
  22440. * @description 如果value小于min,取min;如果value大于max,取max
  22441. * @param {number} min
  22442. * @param {number} max
  22443. * @param {number} value
  22444. */
  22445. function range() {
  22446. var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  22447. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  22448. var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  22449. return Math.max(min, Math.min(max, Number(value)));
  22450. }
  22451. /**
  22452. * @description 用于获取用户传递值的px值 如果用户传递了"xxpx"或者"xxrpx",取出其数值部分,如果是"xxxrpx"还需要用过uni.upx2px进行转换
  22453. * @param {number|string} value 用户传递值的px值
  22454. * @param {boolean} unit
  22455. * @returns {number|string}
  22456. */
  22457. function getPx(value) {
  22458. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  22459. if (_test.default.number(value)) {
  22460. return unit ? "".concat(value, "px") : Number(value);
  22461. }
  22462. // 如果带有rpx,先取出其数值部分,再转为px值
  22463. if (/(rpx|upx)$/.test(value)) {
  22464. return unit ? "".concat(uni.upx2px(parseInt(value)), "px") : Number(uni.upx2px(parseInt(value)));
  22465. }
  22466. return unit ? "".concat(parseInt(value), "px") : parseInt(value);
  22467. }
  22468. /**
  22469. * @description 进行延时,以达到可以简写代码的目的 比如: await uni.$u.sleep(20)将会阻塞20ms
  22470. * @param {number} value 堵塞时间 单位ms 毫秒
  22471. * @returns {Promise} 返回promise
  22472. */
  22473. function sleep() {
  22474. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 30;
  22475. return new Promise(function (resolve) {
  22476. setTimeout(function () {
  22477. resolve();
  22478. }, value);
  22479. });
  22480. }
  22481. /**
  22482. * @description 运行期判断平台
  22483. * @returns {string} 返回所在平台(小写)
  22484. * @link 运行期判断平台 https://uniapp.dcloud.io/frame?id=判断平台
  22485. */
  22486. function os() {
  22487. return uni.getSystemInfoSync().platform.toLowerCase();
  22488. }
  22489. /**
  22490. * @description 获取系统信息同步接口
  22491. * @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
  22492. */
  22493. function sys() {
  22494. return uni.getSystemInfoSync();
  22495. }
  22496. /**
  22497. * @description 取一个区间数
  22498. * @param {Number} min 最小值
  22499. * @param {Number} max 最大值
  22500. */
  22501. function random(min, max) {
  22502. if (min >= 0 && max > 0 && max >= min) {
  22503. var gab = max - min + 1;
  22504. return Math.floor(Math.random() * gab + min);
  22505. }
  22506. return 0;
  22507. }
  22508. /**
  22509. * @param {Number} len uuid的长度
  22510. * @param {Boolean} firstU 将返回的首字母置为"u"
  22511. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  22512. */
  22513. function guid() {
  22514. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  22515. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22516. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  22517. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  22518. var uuid = [];
  22519. radix = radix || chars.length;
  22520. if (len) {
  22521. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  22522. for (var i = 0; i < len; i++) {
  22523. uuid[i] = chars[0 | Math.random() * radix];
  22524. }
  22525. } else {
  22526. var r;
  22527. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  22528. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  22529. uuid[14] = '4';
  22530. for (var _i = 0; _i < 36; _i++) {
  22531. if (!uuid[_i]) {
  22532. r = 0 | Math.random() * 16;
  22533. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  22534. }
  22535. }
  22536. }
  22537. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  22538. if (firstU) {
  22539. uuid.shift();
  22540. return "u".concat(uuid.join(''));
  22541. }
  22542. return uuid.join('');
  22543. }
  22544. /**
  22545. * @description 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  22546. this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  22547. 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  22548. 值(默认为undefined),就是查找最顶层的$parent
  22549. * @param {string|undefined} name 父组件的参数名
  22550. */
  22551. function $parent() {
  22552. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  22553. var parent = this.$parent;
  22554. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  22555. while (parent) {
  22556. // 父组件
  22557. if (parent.$options && parent.$options.name !== name) {
  22558. // 如果组件的name不相等,继续上一级寻找
  22559. parent = parent.$parent;
  22560. } else {
  22561. return parent;
  22562. }
  22563. }
  22564. return false;
  22565. }
  22566. /**
  22567. * @description 样式转换
  22568. * 对象转字符串,或者字符串转对象
  22569. * @param {object | string} customStyle 需要转换的目标
  22570. * @param {String} target 转换的目的,object-转为对象,string-转为字符串
  22571. * @returns {object|string}
  22572. */
  22573. function addStyle(customStyle) {
  22574. var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'object';
  22575. // 字符串转字符串,对象转对象情形,直接返回
  22576. if (_test.default.empty(customStyle) || (0, _typeof2.default)(customStyle) === 'object' && target === 'object' || target === 'string' && typeof customStyle === 'string') {
  22577. return customStyle;
  22578. }
  22579. // 字符串转对象
  22580. if (target === 'object') {
  22581. // 去除字符串样式中的两端空格(中间的空格不能去掉,比如padding: 20px 0如果去掉了就错了),空格是无用的
  22582. customStyle = trim(customStyle);
  22583. // 根据";"将字符串转为数组形式
  22584. var styleArray = customStyle.split(';');
  22585. var style = {};
  22586. // 历遍数组,拼接成对象
  22587. for (var i = 0; i < styleArray.length; i++) {
  22588. // 'font-size:20px;color:red;',如此最后字符串有";"的话,会导致styleArray最后一个元素为空字符串,这里需要过滤
  22589. if (styleArray[i]) {
  22590. var item = styleArray[i].split(':');
  22591. style[trim(item[0])] = trim(item[1]);
  22592. }
  22593. }
  22594. return style;
  22595. }
  22596. // 这里为对象转字符串形式
  22597. var string = '';
  22598. for (var _i2 in customStyle) {
  22599. // 驼峰转为中划线的形式,否则css内联样式,无法识别驼峰样式属性名
  22600. var key = _i2.replace(/([A-Z])/g, '-$1').toLowerCase();
  22601. string += "".concat(key, ":").concat(customStyle[_i2], ";");
  22602. }
  22603. // 去除两端空格
  22604. return trim(string);
  22605. }
  22606. /**
  22607. * @description 添加单位,如果有rpx,upx,%,px等单位结尾或者值为auto,直接返回,否则加上px单位结尾
  22608. * @param {string|number} value 需要添加单位的值
  22609. * @param {string} unit 添加的单位名 比如px
  22610. */
  22611. function addUnit() {
  22612. var _uni$$u$config$unit, _uni, _uni$$u, _uni$$u$config;
  22613. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  22614. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (_uni$$u$config$unit = (_uni = uni) === null || _uni === void 0 ? void 0 : (_uni$$u = _uni.$u) === null || _uni$$u === void 0 ? void 0 : (_uni$$u$config = _uni$$u.config) === null || _uni$$u$config === void 0 ? void 0 : _uni$$u$config.unit) !== null && _uni$$u$config$unit !== void 0 ? _uni$$u$config$unit : 'px';
  22615. value = String(value);
  22616. // 用uView内置验证规则中的number判断是否为数值
  22617. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  22618. }
  22619. /**
  22620. * @description 深度克隆
  22621. * @param {object} obj 需要深度克隆的对象
  22622. * @param cache 缓存
  22623. * @returns {*} 克隆后的对象或者原值(不是对象)
  22624. */
  22625. function deepClone(obj) {
  22626. var cache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new WeakMap();
  22627. if (obj === null || (0, _typeof2.default)(obj) !== 'object') return obj;
  22628. if (cache.has(obj)) return cache.get(obj);
  22629. var clone;
  22630. if (obj instanceof Date) {
  22631. clone = new Date(obj.getTime());
  22632. } else if (obj instanceof RegExp) {
  22633. clone = new RegExp(obj);
  22634. } else if (obj instanceof Map) {
  22635. clone = new Map(Array.from(obj, function (_ref) {
  22636. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  22637. key = _ref2[0],
  22638. value = _ref2[1];
  22639. return [key, deepClone(value, cache)];
  22640. }));
  22641. } else if (obj instanceof Set) {
  22642. clone = new Set(Array.from(obj, function (value) {
  22643. return deepClone(value, cache);
  22644. }));
  22645. } else if (Array.isArray(obj)) {
  22646. clone = obj.map(function (value) {
  22647. return deepClone(value, cache);
  22648. });
  22649. } else if (Object.prototype.toString.call(obj) === '[object Object]') {
  22650. clone = Object.create(Object.getPrototypeOf(obj));
  22651. cache.set(obj, clone);
  22652. for (var _i3 = 0, _Object$entries = Object.entries(obj); _i3 < _Object$entries.length; _i3++) {
  22653. var _Object$entries$_i = (0, _slicedToArray2.default)(_Object$entries[_i3], 2),
  22654. key = _Object$entries$_i[0],
  22655. value = _Object$entries$_i[1];
  22656. clone[key] = deepClone(value, cache);
  22657. }
  22658. } else {
  22659. clone = Object.assign({}, obj);
  22660. }
  22661. cache.set(obj, clone);
  22662. return clone;
  22663. }
  22664. /**
  22665. * @description JS对象深度合并
  22666. * @param {object} target 需要拷贝的对象
  22667. * @param {object} source 拷贝的来源对象
  22668. * @returns {object|boolean} 深度合并后的对象或者false(入参有不是对象)
  22669. */
  22670. function deepMerge() {
  22671. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  22672. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  22673. target = deepClone(target);
  22674. if ((0, _typeof2.default)(target) !== 'object' || target === null || (0, _typeof2.default)(source) !== 'object' || source === null) return target;
  22675. var merged = Array.isArray(target) ? target.slice() : Object.assign({}, target);
  22676. for (var prop in source) {
  22677. if (!source.hasOwnProperty(prop)) continue;
  22678. var sourceValue = source[prop];
  22679. var targetValue = merged[prop];
  22680. if (sourceValue instanceof Date) {
  22681. merged[prop] = new Date(sourceValue);
  22682. } else if (sourceValue instanceof RegExp) {
  22683. merged[prop] = new RegExp(sourceValue);
  22684. } else if (sourceValue instanceof Map) {
  22685. merged[prop] = new Map(sourceValue);
  22686. } else if (sourceValue instanceof Set) {
  22687. merged[prop] = new Set(sourceValue);
  22688. } else if ((0, _typeof2.default)(sourceValue) === 'object' && sourceValue !== null) {
  22689. merged[prop] = deepMerge(targetValue, sourceValue);
  22690. } else {
  22691. merged[prop] = sourceValue;
  22692. }
  22693. }
  22694. return merged;
  22695. }
  22696. /**
  22697. * @description error提示
  22698. * @param {*} err 错误内容
  22699. */
  22700. function error(err) {
  22701. // 开发环境才提示,生产环境不会提示
  22702. if (true) {
  22703. console.error("uView\u63D0\u793A\uFF1A".concat(err));
  22704. }
  22705. }
  22706. /**
  22707. * @description 打乱数组
  22708. * @param {array} array 需要打乱的数组
  22709. * @returns {array} 打乱后的数组
  22710. */
  22711. function randomArray() {
  22712. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  22713. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  22714. return array.sort(function () {
  22715. return Math.random() - 0.5;
  22716. });
  22717. }
  22718. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  22719. // 所以这里做一个兼容polyfill的兼容处理
  22720. if (!String.prototype.padStart) {
  22721. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  22722. String.prototype.padStart = function (maxLength) {
  22723. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  22724. if (Object.prototype.toString.call(fillString) !== '[object String]') {
  22725. throw new TypeError('fillString must be String');
  22726. }
  22727. var str = this;
  22728. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  22729. if (str.length >= maxLength) return String(str);
  22730. var fillLength = maxLength - str.length;
  22731. var times = Math.ceil(fillLength / fillString.length);
  22732. while (times >>= 1) {
  22733. fillString += fillString;
  22734. if (times === 1) {
  22735. fillString += fillString;
  22736. }
  22737. }
  22738. return fillString.slice(0, fillLength) + str;
  22739. };
  22740. }
  22741. /**
  22742. * @description 格式化时间
  22743. * @param {String|Number} dateTime 需要格式化的时间戳
  22744. * @param {String} fmt 格式化规则 yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合 默认yyyy-mm-dd
  22745. * @returns {string} 返回格式化后的字符串
  22746. */
  22747. function timeFormat() {
  22748. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  22749. var formatStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  22750. var date;
  22751. // 若传入时间为假值,则取当前时间
  22752. if (!dateTime) {
  22753. date = new Date();
  22754. }
  22755. // 若为unix秒时间戳,则转为毫秒时间戳(逻辑有点奇怪,但不敢改,以保证历史兼容)
  22756. else if (/^\d{10}$/.test(dateTime === null || dateTime === void 0 ? void 0 : dateTime.toString().trim())) {
  22757. date = new Date(dateTime * 1000);
  22758. }
  22759. // 若用户传入字符串格式时间戳,new Date无法解析,需做兼容
  22760. else if (typeof dateTime === 'string' && /^\d+$/.test(dateTime.trim())) {
  22761. date = new Date(Number(dateTime));
  22762. }
  22763. // 处理平台性差异,在Safari/Webkit中,new Date仅支持/作为分割符的字符串时间
  22764. // 处理 '2022-07-10 01:02:03',跳过 '2022-07-10T01:02:03'
  22765. else if (typeof dateTime === 'string' && dateTime.includes('-') && !dateTime.includes('T')) {
  22766. date = new Date(dateTime.replace(/-/g, '/'));
  22767. }
  22768. // 其他都认为符合 RFC 2822 规范
  22769. else {
  22770. date = new Date(dateTime);
  22771. }
  22772. var timeSource = {
  22773. 'y': date.getFullYear().toString(),
  22774. // 年
  22775. 'm': (date.getMonth() + 1).toString().padStart(2, '0'),
  22776. // 月
  22777. 'd': date.getDate().toString().padStart(2, '0'),
  22778. // 日
  22779. 'h': date.getHours().toString().padStart(2, '0'),
  22780. // 时
  22781. 'M': date.getMinutes().toString().padStart(2, '0'),
  22782. // 分
  22783. 's': date.getSeconds().toString().padStart(2, '0') // 秒
  22784. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  22785. };
  22786. for (var key in timeSource) {
  22787. var _ref3 = new RegExp("".concat(key, "+")).exec(formatStr) || [],
  22788. _ref4 = (0, _slicedToArray2.default)(_ref3, 1),
  22789. ret = _ref4[0];
  22790. if (ret) {
  22791. // 年可能只需展示两位
  22792. var beginIndex = key === 'y' && ret.length === 2 ? 2 : 0;
  22793. formatStr = formatStr.replace(ret, timeSource[key].slice(beginIndex));
  22794. }
  22795. }
  22796. return formatStr;
  22797. }
  22798. /**
  22799. * @description 时间戳转为多久之前
  22800. * @param {String|Number} timestamp 时间戳
  22801. * @param {String|Boolean} format
  22802. * 格式化规则如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  22803. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  22804. * @returns {string} 转化后的内容
  22805. */
  22806. function timeFrom() {
  22807. var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  22808. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  22809. if (timestamp == null) timestamp = Number(new Date());
  22810. timestamp = parseInt(timestamp);
  22811. // 判断用户输入的时间戳是秒还是毫秒,一般前端js获取的时间戳是毫秒(13位),后端传过来的为秒(10位)
  22812. if (timestamp.toString().length == 10) timestamp *= 1000;
  22813. var timer = new Date().getTime() - timestamp;
  22814. timer = parseInt(timer / 1000);
  22815. // 如果小于5分钟,则返回"刚刚",其他以此类推
  22816. var tips = '';
  22817. switch (true) {
  22818. case timer < 300:
  22819. tips = '刚刚';
  22820. break;
  22821. case timer >= 300 && timer < 3600:
  22822. tips = "".concat(parseInt(timer / 60), "\u5206\u949F\u524D");
  22823. break;
  22824. case timer >= 3600 && timer < 86400:
  22825. tips = "".concat(parseInt(timer / 3600), "\u5C0F\u65F6\u524D");
  22826. break;
  22827. case timer >= 86400 && timer < 2592000:
  22828. tips = "".concat(parseInt(timer / 86400), "\u5929\u524D");
  22829. break;
  22830. default:
  22831. // 如果format为false,则无论什么时间戳,都显示xx之前
  22832. if (format === false) {
  22833. if (timer >= 2592000 && timer < 365 * 86400) {
  22834. tips = "".concat(parseInt(timer / (86400 * 30)), "\u4E2A\u6708\u524D");
  22835. } else {
  22836. tips = "".concat(parseInt(timer / (86400 * 365)), "\u5E74\u524D");
  22837. }
  22838. } else {
  22839. tips = timeFormat(timestamp, format);
  22840. }
  22841. }
  22842. return tips;
  22843. }
  22844. /**
  22845. * @description 去除空格
  22846. * @param String str 需要去除空格的字符串
  22847. * @param String pos both(左右)|left|right|all 默认both
  22848. */
  22849. function trim(str) {
  22850. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  22851. str = String(str);
  22852. if (pos == 'both') {
  22853. return str.replace(/^\s+|\s+$/g, '');
  22854. }
  22855. if (pos == 'left') {
  22856. return str.replace(/^\s*/, '');
  22857. }
  22858. if (pos == 'right') {
  22859. return str.replace(/(\s*$)/g, '');
  22860. }
  22861. if (pos == 'all') {
  22862. return str.replace(/\s+/g, '');
  22863. }
  22864. return str;
  22865. }
  22866. /**
  22867. * @description 对象转url参数
  22868. * @param {object} data,对象
  22869. * @param {Boolean} isPrefix,是否自动加上"?"
  22870. * @param {string} arrayFormat 规则 indices|brackets|repeat|comma
  22871. */
  22872. function queryParams() {
  22873. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  22874. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22875. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  22876. var prefix = isPrefix ? '?' : '';
  22877. var _result = [];
  22878. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  22879. var _loop = function _loop(key) {
  22880. var value = data[key];
  22881. // 去掉为空的参数
  22882. if (['', undefined, null].indexOf(value) >= 0) {
  22883. return "continue";
  22884. }
  22885. // 如果值为数组,另行处理
  22886. if (value.constructor === Array) {
  22887. // e.g. {ids: [1, 2, 3]}
  22888. switch (arrayFormat) {
  22889. case 'indices':
  22890. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  22891. for (var i = 0; i < value.length; i++) {
  22892. _result.push("".concat(key, "[").concat(i, "]=").concat(value[i]));
  22893. }
  22894. break;
  22895. case 'brackets':
  22896. // 结果: ids[]=1&ids[]=2&ids[]=3
  22897. value.forEach(function (_value) {
  22898. _result.push("".concat(key, "[]=").concat(_value));
  22899. });
  22900. break;
  22901. case 'repeat':
  22902. // 结果: ids=1&ids=2&ids=3
  22903. value.forEach(function (_value) {
  22904. _result.push("".concat(key, "=").concat(_value));
  22905. });
  22906. break;
  22907. case 'comma':
  22908. // 结果: ids=1,2,3
  22909. var commaStr = '';
  22910. value.forEach(function (_value) {
  22911. commaStr += (commaStr ? ',' : '') + _value;
  22912. });
  22913. _result.push("".concat(key, "=").concat(commaStr));
  22914. break;
  22915. default:
  22916. value.forEach(function (_value) {
  22917. _result.push("".concat(key, "[]=").concat(_value));
  22918. });
  22919. }
  22920. } else {
  22921. _result.push("".concat(key, "=").concat(value));
  22922. }
  22923. };
  22924. for (var key in data) {
  22925. var _ret = _loop(key);
  22926. if (_ret === "continue") continue;
  22927. }
  22928. return _result.length ? prefix + _result.join('&') : '';
  22929. }
  22930. /**
  22931. * 显示消息提示框
  22932. * @param {String} title 提示的内容,长度与 icon 取值有关。
  22933. * @param {Number} duration 提示的延迟时间,单位毫秒,默认:2000
  22934. */
  22935. function toast(title) {
  22936. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;
  22937. uni.showToast({
  22938. title: String(title),
  22939. icon: 'none',
  22940. duration: duration
  22941. });
  22942. }
  22943. /**
  22944. * @description 根据主题type值,获取对应的图标
  22945. * @param {String} type 主题名称,primary|info|error|warning|success
  22946. * @param {boolean} fill 是否使用fill填充实体的图标
  22947. */
  22948. function type2icon() {
  22949. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  22950. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  22951. // 如果非预置值,默认为success
  22952. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  22953. var iconName = '';
  22954. // 目前(2019-12-12),info和primary使用同一个图标
  22955. switch (type) {
  22956. case 'primary':
  22957. iconName = 'info-circle';
  22958. break;
  22959. case 'info':
  22960. iconName = 'info-circle';
  22961. break;
  22962. case 'error':
  22963. iconName = 'close-circle';
  22964. break;
  22965. case 'warning':
  22966. iconName = 'error-circle';
  22967. break;
  22968. case 'success':
  22969. iconName = 'checkmark-circle';
  22970. break;
  22971. default:
  22972. iconName = 'checkmark-circle';
  22973. }
  22974. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  22975. if (fill) iconName += '-fill';
  22976. return iconName;
  22977. }
  22978. /**
  22979. * @description 数字格式化
  22980. * @param {number|string} number 要格式化的数字
  22981. * @param {number} decimals 保留几位小数
  22982. * @param {string} decimalPoint 小数点符号
  22983. * @param {string} thousandsSeparator 千分位符号
  22984. * @returns {string} 格式化后的数字
  22985. */
  22986. function priceFormat(number) {
  22987. var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  22988. var decimalPoint = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
  22989. var thousandsSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ',';
  22990. number = "".concat(number).replace(/[^0-9+-Ee.]/g, '');
  22991. var n = !isFinite(+number) ? 0 : +number;
  22992. var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  22993. var sep = typeof thousandsSeparator === 'undefined' ? ',' : thousandsSeparator;
  22994. var dec = typeof decimalPoint === 'undefined' ? '.' : decimalPoint;
  22995. var s = '';
  22996. s = (prec ? (0, _digit.round)(n, prec) + '' : "".concat(Math.round(n))).split('.');
  22997. var re = /(-?\d+)(\d{3})/;
  22998. while (re.test(s[0])) {
  22999. s[0] = s[0].replace(re, "$1".concat(sep, "$2"));
  23000. }
  23001. if ((s[1] || '').length < prec) {
  23002. s[1] = s[1] || '';
  23003. s[1] += new Array(prec - s[1].length + 1).join('0');
  23004. }
  23005. return s.join(dec);
  23006. }
  23007. /**
  23008. * @description 获取duration值
  23009. * 如果带有ms或者s直接返回,如果大于一定值,认为是ms单位,小于一定值,认为是s单位
  23010. * 比如以30位阈值,那么300大于30,可以理解为用户想要的是300ms,而不是想花300s去执行一个动画
  23011. * @param {String|number} value 比如: "1s"|"100ms"|1|100
  23012. * @param {boolean} unit 提示: 如果是false 默认返回number
  23013. * @return {string|number}
  23014. */
  23015. function getDuration(value) {
  23016. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  23017. var valueNum = parseInt(value);
  23018. if (unit) {
  23019. if (/s$/.test(value)) return value;
  23020. return value > 30 ? "".concat(value, "ms") : "".concat(value, "s");
  23021. }
  23022. if (/ms$/.test(value)) return valueNum;
  23023. if (/s$/.test(value)) return valueNum > 30 ? valueNum : valueNum * 1000;
  23024. return valueNum;
  23025. }
  23026. /**
  23027. * @description 日期的月或日补零操作
  23028. * @param {String} value 需要补零的值
  23029. */
  23030. function padZero(value) {
  23031. return "00".concat(value).slice(-2);
  23032. }
  23033. /**
  23034. * @description 在u-form的子组件内容发生变化,或者失去焦点时,尝试通知u-form执行校验方法
  23035. * @param {*} instance
  23036. * @param {*} event
  23037. */
  23038. function formValidate(instance, event) {
  23039. var formItem = uni.$u.$parent.call(instance, 'u-form-item');
  23040. var form = uni.$u.$parent.call(instance, 'u-form');
  23041. // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
  23042. // 同时将form-item的pros传递给form,让其进行精确对象验证
  23043. if (formItem && form) {
  23044. form.validateField(formItem.prop, function () {}, event);
  23045. }
  23046. }
  23047. /**
  23048. * @description 获取某个对象下的属性,用于通过类似'a.b.c'的形式去获取一个对象的的属性的形式
  23049. * @param {object} obj 对象
  23050. * @param {string} key 需要获取的属性字段
  23051. * @returns {*}
  23052. */
  23053. function getProperty(obj, key) {
  23054. if (!obj) {
  23055. return;
  23056. }
  23057. if (typeof key !== 'string' || key === '') {
  23058. return '';
  23059. }
  23060. if (key.indexOf('.') !== -1) {
  23061. var keys = key.split('.');
  23062. var firstObj = obj[keys[0]] || {};
  23063. for (var i = 1; i < keys.length; i++) {
  23064. if (firstObj) {
  23065. firstObj = firstObj[keys[i]];
  23066. }
  23067. }
  23068. return firstObj;
  23069. }
  23070. return obj[key];
  23071. }
  23072. /**
  23073. * @description 设置对象的属性值,如果'a.b.c'的形式进行设置
  23074. * @param {object} obj 对象
  23075. * @param {string} key 需要设置的属性
  23076. * @param {string} value 设置的值
  23077. */
  23078. function setProperty(obj, key, value) {
  23079. if (!obj) {
  23080. return;
  23081. }
  23082. // 递归赋值
  23083. var inFn = function inFn(_obj, keys, v) {
  23084. // 最后一个属性key
  23085. if (keys.length === 1) {
  23086. _obj[keys[0]] = v;
  23087. return;
  23088. }
  23089. // 0~length-1个key
  23090. while (keys.length > 1) {
  23091. var k = keys[0];
  23092. if (!_obj[k] || (0, _typeof2.default)(_obj[k]) !== 'object') {
  23093. _obj[k] = {};
  23094. }
  23095. var _key = keys.shift();
  23096. // 自调用判断是否存在属性,不存在则自动创建对象
  23097. inFn(_obj[k], keys, v);
  23098. }
  23099. };
  23100. if (typeof key !== 'string' || key === '') {} else if (key.indexOf('.') !== -1) {
  23101. // 支持多层级赋值操作
  23102. var keys = key.split('.');
  23103. inFn(obj, keys, value);
  23104. } else {
  23105. obj[key] = value;
  23106. }
  23107. }
  23108. /**
  23109. * @description 获取当前页面路径
  23110. */
  23111. function page() {
  23112. var _pages$route, _pages;
  23113. var pages = getCurrentPages();
  23114. // 某些特殊情况下(比如页面进行redirectTo时的一些时机),pages可能为空数组
  23115. return "/".concat((_pages$route = (_pages = pages[pages.length - 1]) === null || _pages === void 0 ? void 0 : _pages.route) !== null && _pages$route !== void 0 ? _pages$route : '');
  23116. }
  23117. /**
  23118. * @description 获取当前路由栈实例数组
  23119. */
  23120. function pages() {
  23121. var pages = getCurrentPages();
  23122. return pages;
  23123. }
  23124. /**
  23125. * 获取页面历史栈指定层实例
  23126. * @param back {number} [0] - 0或者负数,表示获取历史栈的哪一层,0表示获取当前页面实例,-1 表示获取上一个页面实例。默认0。
  23127. */
  23128. function getHistoryPage() {
  23129. var back = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  23130. var pages = getCurrentPages();
  23131. var len = pages.length;
  23132. return pages[len - 1 + back];
  23133. }
  23134. /**
  23135. * @description 修改uView内置属性值
  23136. * @param {object} props 修改内置props属性
  23137. * @param {object} config 修改内置config属性
  23138. * @param {object} color 修改内置color属性
  23139. * @param {object} zIndex 修改内置zIndex属性
  23140. */
  23141. function setConfig(_ref5) {
  23142. var _ref5$props = _ref5.props,
  23143. props = _ref5$props === void 0 ? {} : _ref5$props,
  23144. _ref5$config = _ref5.config,
  23145. config = _ref5$config === void 0 ? {} : _ref5$config,
  23146. _ref5$color = _ref5.color,
  23147. color = _ref5$color === void 0 ? {} : _ref5$color,
  23148. _ref5$zIndex = _ref5.zIndex,
  23149. zIndex = _ref5$zIndex === void 0 ? {} : _ref5$zIndex;
  23150. var deepMerge = uni.$u.deepMerge;
  23151. uni.$u.config = deepMerge(uni.$u.config, config);
  23152. uni.$u.props = deepMerge(uni.$u.props, props);
  23153. uni.$u.color = deepMerge(uni.$u.color, color);
  23154. uni.$u.zIndex = deepMerge(uni.$u.zIndex, zIndex);
  23155. }
  23156. var _default = {
  23157. range: range,
  23158. getPx: getPx,
  23159. sleep: sleep,
  23160. os: os,
  23161. sys: sys,
  23162. random: random,
  23163. guid: guid,
  23164. $parent: $parent,
  23165. addStyle: addStyle,
  23166. addUnit: addUnit,
  23167. deepClone: deepClone,
  23168. deepMerge: deepMerge,
  23169. error: error,
  23170. randomArray: randomArray,
  23171. timeFormat: timeFormat,
  23172. timeFrom: timeFrom,
  23173. trim: trim,
  23174. queryParams: queryParams,
  23175. toast: toast,
  23176. type2icon: type2icon,
  23177. priceFormat: priceFormat,
  23178. getDuration: getDuration,
  23179. padZero: padZero,
  23180. formValidate: formValidate,
  23181. getProperty: getProperty,
  23182. setProperty: setProperty,
  23183. page: page,
  23184. pages: pages,
  23185. getHistoryPage: getHistoryPage,
  23186. setConfig: setConfig
  23187. };
  23188. exports.default = _default;
  23189. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23190. /***/ }),
  23191. /***/ 64:
  23192. /*!*********************************************************************!*\
  23193. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/function/digit.js ***!
  23194. \*********************************************************************/
  23195. /*! no static exports found */
  23196. /***/ (function(module, exports, __webpack_require__) {
  23197. "use strict";
  23198. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23199. Object.defineProperty(exports, "__esModule", {
  23200. value: true
  23201. });
  23202. exports.default = void 0;
  23203. exports.divide = divide;
  23204. exports.enableBoundaryChecking = enableBoundaryChecking;
  23205. exports.minus = minus;
  23206. exports.plus = plus;
  23207. exports.round = round;
  23208. exports.times = times;
  23209. var _toArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toArray */ 65));
  23210. var _boundaryCheckingState = true; // 是否进行越界检查的全局开关
  23211. /**
  23212. * 把错误的数据转正
  23213. * @private
  23214. * @example strip(0.09999999999999998)=0.1
  23215. */
  23216. function strip(num) {
  23217. var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;
  23218. return +parseFloat(Number(num).toPrecision(precision));
  23219. }
  23220. /**
  23221. * Return digits length of a number
  23222. * @private
  23223. * @param {*number} num Input number
  23224. */
  23225. function digitLength(num) {
  23226. // Get digit length of e
  23227. var eSplit = num.toString().split(/[eE]/);
  23228. var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  23229. return len > 0 ? len : 0;
  23230. }
  23231. /**
  23232. * 把小数转成整数,如果是小数则放大成整数
  23233. * @private
  23234. * @param {*number} num 输入数
  23235. */
  23236. function float2Fixed(num) {
  23237. if (num.toString().indexOf('e') === -1) {
  23238. return Number(num.toString().replace('.', ''));
  23239. }
  23240. var dLen = digitLength(num);
  23241. return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);
  23242. }
  23243. /**
  23244. * 检测数字是否越界,如果越界给出提示
  23245. * @private
  23246. * @param {*number} num 输入数
  23247. */
  23248. function checkBoundary(num) {
  23249. if (_boundaryCheckingState) {
  23250. if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
  23251. console.warn("".concat(num, " \u8D85\u51FA\u4E86\u7CBE\u5EA6\u9650\u5236\uFF0C\u7ED3\u679C\u53EF\u80FD\u4E0D\u6B63\u786E"));
  23252. }
  23253. }
  23254. }
  23255. /**
  23256. * 把递归操作扁平迭代化
  23257. * @param {number[]} arr 要操作的数字数组
  23258. * @param {function} operation 迭代操作
  23259. * @private
  23260. */
  23261. function iteratorOperation(arr, operation) {
  23262. var _arr = (0, _toArray2.default)(arr),
  23263. num1 = _arr[0],
  23264. num2 = _arr[1],
  23265. others = _arr.slice(2);
  23266. var res = operation(num1, num2);
  23267. others.forEach(function (num) {
  23268. res = operation(res, num);
  23269. });
  23270. return res;
  23271. }
  23272. /**
  23273. * 高精度乘法
  23274. * @export
  23275. */
  23276. function times() {
  23277. for (var _len = arguments.length, nums = new Array(_len), _key = 0; _key < _len; _key++) {
  23278. nums[_key] = arguments[_key];
  23279. }
  23280. if (nums.length > 2) {
  23281. return iteratorOperation(nums, times);
  23282. }
  23283. var num1 = nums[0],
  23284. num2 = nums[1];
  23285. var num1Changed = float2Fixed(num1);
  23286. var num2Changed = float2Fixed(num2);
  23287. var baseNum = digitLength(num1) + digitLength(num2);
  23288. var leftValue = num1Changed * num2Changed;
  23289. checkBoundary(leftValue);
  23290. return leftValue / Math.pow(10, baseNum);
  23291. }
  23292. /**
  23293. * 高精度加法
  23294. * @export
  23295. */
  23296. function plus() {
  23297. for (var _len2 = arguments.length, nums = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  23298. nums[_key2] = arguments[_key2];
  23299. }
  23300. if (nums.length > 2) {
  23301. return iteratorOperation(nums, plus);
  23302. }
  23303. var num1 = nums[0],
  23304. num2 = nums[1];
  23305. // 取最大的小数位
  23306. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  23307. // 把小数都转为整数然后再计算
  23308. return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
  23309. }
  23310. /**
  23311. * 高精度减法
  23312. * @export
  23313. */
  23314. function minus() {
  23315. for (var _len3 = arguments.length, nums = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  23316. nums[_key3] = arguments[_key3];
  23317. }
  23318. if (nums.length > 2) {
  23319. return iteratorOperation(nums, minus);
  23320. }
  23321. var num1 = nums[0],
  23322. num2 = nums[1];
  23323. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  23324. return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
  23325. }
  23326. /**
  23327. * 高精度除法
  23328. * @export
  23329. */
  23330. function divide() {
  23331. for (var _len4 = arguments.length, nums = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  23332. nums[_key4] = arguments[_key4];
  23333. }
  23334. if (nums.length > 2) {
  23335. return iteratorOperation(nums, divide);
  23336. }
  23337. var num1 = nums[0],
  23338. num2 = nums[1];
  23339. var num1Changed = float2Fixed(num1);
  23340. var num2Changed = float2Fixed(num2);
  23341. checkBoundary(num1Changed);
  23342. checkBoundary(num2Changed);
  23343. // 重要,这里必须用strip进行修正
  23344. return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));
  23345. }
  23346. /**
  23347. * 四舍五入
  23348. * @export
  23349. */
  23350. function round(num, ratio) {
  23351. var base = Math.pow(10, ratio);
  23352. var result = divide(Math.round(Math.abs(times(num, base))), base);
  23353. if (num < 0 && result !== 0) {
  23354. result = times(result, -1);
  23355. }
  23356. // 位数不足则补0
  23357. return result;
  23358. }
  23359. /**
  23360. * 是否进行边界检查,默认开启
  23361. * @param flag 标记开关,true 为开启,false 为关闭,默认为 true
  23362. * @export
  23363. */
  23364. function enableBoundaryChecking() {
  23365. var flag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  23366. _boundaryCheckingState = flag;
  23367. }
  23368. var _default = {
  23369. times: times,
  23370. plus: plus,
  23371. minus: minus,
  23372. divide: divide,
  23373. round: round,
  23374. enableBoundaryChecking: enableBoundaryChecking
  23375. };
  23376. exports.default = _default;
  23377. /***/ }),
  23378. /***/ 65:
  23379. /*!********************************************************!*\
  23380. !*** ./node_modules/@babel/runtime/helpers/toArray.js ***!
  23381. \********************************************************/
  23382. /*! no static exports found */
  23383. /***/ (function(module, exports, __webpack_require__) {
  23384. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  23385. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  23386. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  23387. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  23388. function _toArray(arr) {
  23389. return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
  23390. }
  23391. module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23392. /***/ }),
  23393. /***/ 66:
  23394. /*!********************************************************************!*\
  23395. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/config.js ***!
  23396. \********************************************************************/
  23397. /*! no static exports found */
  23398. /***/ (function(module, exports, __webpack_require__) {
  23399. "use strict";
  23400. Object.defineProperty(exports, "__esModule", {
  23401. value: true
  23402. });
  23403. exports.default = void 0;
  23404. // 此版本发布于2024-03-17
  23405. var version = '2.0.37';
  23406. // 开发环境才提示,生产环境不会提示
  23407. if (true) {
  23408. console.log("\n %c uView V".concat(version, " %c https://uviewui.com/ \n\n"), 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
  23409. }
  23410. var _default = {
  23411. v: version,
  23412. version: version,
  23413. // 主题名称
  23414. type: ['primary', 'success', 'info', 'error', 'warning'],
  23415. // 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
  23416. color: {
  23417. 'u-primary': '#2979ff',
  23418. 'u-warning': '#ff9900',
  23419. 'u-success': '#19be6b',
  23420. 'u-error': '#fa3534',
  23421. 'u-info': '#909399',
  23422. 'u-main-color': '#303133',
  23423. 'u-content-color': '#606266',
  23424. 'u-tips-color': '#909399',
  23425. 'u-light-color': '#c0c4cc'
  23426. },
  23427. // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
  23428. unit: 'px'
  23429. };
  23430. exports.default = _default;
  23431. /***/ }),
  23432. /***/ 67:
  23433. /*!*******************************************************************!*\
  23434. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props.js ***!
  23435. \*******************************************************************/
  23436. /*! no static exports found */
  23437. /***/ (function(module, exports, __webpack_require__) {
  23438. "use strict";
  23439. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23440. Object.defineProperty(exports, "__esModule", {
  23441. value: true
  23442. });
  23443. exports.default = void 0;
  23444. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  23445. var _config = _interopRequireDefault(__webpack_require__(/*! ./config */ 66));
  23446. var _actionSheet = _interopRequireDefault(__webpack_require__(/*! ./props/actionSheet.js */ 68));
  23447. var _album = _interopRequireDefault(__webpack_require__(/*! ./props/album.js */ 69));
  23448. var _alert = _interopRequireDefault(__webpack_require__(/*! ./props/alert.js */ 70));
  23449. var _avatar = _interopRequireDefault(__webpack_require__(/*! ./props/avatar */ 71));
  23450. var _avatarGroup = _interopRequireDefault(__webpack_require__(/*! ./props/avatarGroup */ 72));
  23451. var _backtop = _interopRequireDefault(__webpack_require__(/*! ./props/backtop */ 73));
  23452. var _badge = _interopRequireDefault(__webpack_require__(/*! ./props/badge */ 74));
  23453. var _button = _interopRequireDefault(__webpack_require__(/*! ./props/button */ 75));
  23454. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./props/calendar */ 76));
  23455. var _carKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/carKeyboard */ 77));
  23456. var _cell = _interopRequireDefault(__webpack_require__(/*! ./props/cell */ 78));
  23457. var _cellGroup = _interopRequireDefault(__webpack_require__(/*! ./props/cellGroup */ 79));
  23458. var _checkbox = _interopRequireDefault(__webpack_require__(/*! ./props/checkbox */ 80));
  23459. var _checkboxGroup = _interopRequireDefault(__webpack_require__(/*! ./props/checkboxGroup */ 81));
  23460. var _circleProgress = _interopRequireDefault(__webpack_require__(/*! ./props/circleProgress */ 82));
  23461. var _code = _interopRequireDefault(__webpack_require__(/*! ./props/code */ 83));
  23462. var _codeInput = _interopRequireDefault(__webpack_require__(/*! ./props/codeInput */ 84));
  23463. var _col = _interopRequireDefault(__webpack_require__(/*! ./props/col */ 85));
  23464. var _collapse = _interopRequireDefault(__webpack_require__(/*! ./props/collapse */ 86));
  23465. var _collapseItem = _interopRequireDefault(__webpack_require__(/*! ./props/collapseItem */ 87));
  23466. var _columnNotice = _interopRequireDefault(__webpack_require__(/*! ./props/columnNotice */ 88));
  23467. var _countDown = _interopRequireDefault(__webpack_require__(/*! ./props/countDown */ 89));
  23468. var _countTo = _interopRequireDefault(__webpack_require__(/*! ./props/countTo */ 90));
  23469. var _datetimePicker = _interopRequireDefault(__webpack_require__(/*! ./props/datetimePicker */ 91));
  23470. var _divider = _interopRequireDefault(__webpack_require__(/*! ./props/divider */ 92));
  23471. var _empty = _interopRequireDefault(__webpack_require__(/*! ./props/empty */ 93));
  23472. var _form = _interopRequireDefault(__webpack_require__(/*! ./props/form */ 94));
  23473. var _formItem = _interopRequireDefault(__webpack_require__(/*! ./props/formItem */ 95));
  23474. var _gap = _interopRequireDefault(__webpack_require__(/*! ./props/gap */ 96));
  23475. var _grid = _interopRequireDefault(__webpack_require__(/*! ./props/grid */ 97));
  23476. var _gridItem = _interopRequireDefault(__webpack_require__(/*! ./props/gridItem */ 98));
  23477. var _icon = _interopRequireDefault(__webpack_require__(/*! ./props/icon */ 99));
  23478. var _image = _interopRequireDefault(__webpack_require__(/*! ./props/image */ 100));
  23479. var _indexAnchor = _interopRequireDefault(__webpack_require__(/*! ./props/indexAnchor */ 101));
  23480. var _indexList = _interopRequireDefault(__webpack_require__(/*! ./props/indexList */ 102));
  23481. var _input = _interopRequireDefault(__webpack_require__(/*! ./props/input */ 103));
  23482. var _keyboard = _interopRequireDefault(__webpack_require__(/*! ./props/keyboard */ 104));
  23483. var _line = _interopRequireDefault(__webpack_require__(/*! ./props/line */ 105));
  23484. var _lineProgress = _interopRequireDefault(__webpack_require__(/*! ./props/lineProgress */ 106));
  23485. var _link = _interopRequireDefault(__webpack_require__(/*! ./props/link */ 107));
  23486. var _list = _interopRequireDefault(__webpack_require__(/*! ./props/list */ 108));
  23487. var _listItem = _interopRequireDefault(__webpack_require__(/*! ./props/listItem */ 109));
  23488. var _loadingIcon = _interopRequireDefault(__webpack_require__(/*! ./props/loadingIcon */ 110));
  23489. var _loadingPage = _interopRequireDefault(__webpack_require__(/*! ./props/loadingPage */ 111));
  23490. var _loadmore = _interopRequireDefault(__webpack_require__(/*! ./props/loadmore */ 112));
  23491. var _modal = _interopRequireDefault(__webpack_require__(/*! ./props/modal */ 113));
  23492. var _navbar = _interopRequireDefault(__webpack_require__(/*! ./props/navbar */ 114));
  23493. var _noNetwork = _interopRequireDefault(__webpack_require__(/*! ./props/noNetwork */ 116));
  23494. var _noticeBar = _interopRequireDefault(__webpack_require__(/*! ./props/noticeBar */ 117));
  23495. var _notify = _interopRequireDefault(__webpack_require__(/*! ./props/notify */ 118));
  23496. var _numberBox = _interopRequireDefault(__webpack_require__(/*! ./props/numberBox */ 119));
  23497. var _numberKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/numberKeyboard */ 120));
  23498. var _overlay = _interopRequireDefault(__webpack_require__(/*! ./props/overlay */ 121));
  23499. var _parse = _interopRequireDefault(__webpack_require__(/*! ./props/parse */ 122));
  23500. var _picker = _interopRequireDefault(__webpack_require__(/*! ./props/picker */ 123));
  23501. var _popup = _interopRequireDefault(__webpack_require__(/*! ./props/popup */ 124));
  23502. var _radio = _interopRequireDefault(__webpack_require__(/*! ./props/radio */ 125));
  23503. var _radioGroup = _interopRequireDefault(__webpack_require__(/*! ./props/radioGroup */ 126));
  23504. var _rate = _interopRequireDefault(__webpack_require__(/*! ./props/rate */ 127));
  23505. var _readMore = _interopRequireDefault(__webpack_require__(/*! ./props/readMore */ 128));
  23506. var _row = _interopRequireDefault(__webpack_require__(/*! ./props/row */ 129));
  23507. var _rowNotice = _interopRequireDefault(__webpack_require__(/*! ./props/rowNotice */ 130));
  23508. var _scrollList = _interopRequireDefault(__webpack_require__(/*! ./props/scrollList */ 131));
  23509. var _search = _interopRequireDefault(__webpack_require__(/*! ./props/search */ 132));
  23510. var _section = _interopRequireDefault(__webpack_require__(/*! ./props/section */ 133));
  23511. var _skeleton = _interopRequireDefault(__webpack_require__(/*! ./props/skeleton */ 134));
  23512. var _slider = _interopRequireDefault(__webpack_require__(/*! ./props/slider */ 135));
  23513. var _statusBar = _interopRequireDefault(__webpack_require__(/*! ./props/statusBar */ 136));
  23514. var _steps = _interopRequireDefault(__webpack_require__(/*! ./props/steps */ 137));
  23515. var _stepsItem = _interopRequireDefault(__webpack_require__(/*! ./props/stepsItem */ 138));
  23516. var _sticky = _interopRequireDefault(__webpack_require__(/*! ./props/sticky */ 139));
  23517. var _subsection = _interopRequireDefault(__webpack_require__(/*! ./props/subsection */ 140));
  23518. var _swipeAction = _interopRequireDefault(__webpack_require__(/*! ./props/swipeAction */ 141));
  23519. var _swipeActionItem = _interopRequireDefault(__webpack_require__(/*! ./props/swipeActionItem */ 142));
  23520. var _swiper = _interopRequireDefault(__webpack_require__(/*! ./props/swiper */ 143));
  23521. var _swipterIndicator = _interopRequireDefault(__webpack_require__(/*! ./props/swipterIndicator */ 144));
  23522. var _switch2 = _interopRequireDefault(__webpack_require__(/*! ./props/switch */ 145));
  23523. var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./props/tabbar */ 146));
  23524. var _tabbarItem = _interopRequireDefault(__webpack_require__(/*! ./props/tabbarItem */ 147));
  23525. var _tabs = _interopRequireDefault(__webpack_require__(/*! ./props/tabs */ 148));
  23526. var _tag = _interopRequireDefault(__webpack_require__(/*! ./props/tag */ 149));
  23527. var _text = _interopRequireDefault(__webpack_require__(/*! ./props/text */ 150));
  23528. var _textarea = _interopRequireDefault(__webpack_require__(/*! ./props/textarea */ 151));
  23529. var _toast = _interopRequireDefault(__webpack_require__(/*! ./props/toast */ 152));
  23530. var _toolbar = _interopRequireDefault(__webpack_require__(/*! ./props/toolbar */ 153));
  23531. var _tooltip = _interopRequireDefault(__webpack_require__(/*! ./props/tooltip */ 154));
  23532. var _transition = _interopRequireDefault(__webpack_require__(/*! ./props/transition */ 155));
  23533. var _upload = _interopRequireDefault(__webpack_require__(/*! ./props/upload */ 156));
  23534. 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; }
  23535. 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; }
  23536. var color = _config.default.color;
  23537. var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _actionSheet.default), _album.default), _alert.default), _avatar.default), _avatarGroup.default), _backtop.default), _badge.default), _button.default), _calendar.default), _carKeyboard.default), _cell.default), _cellGroup.default), _checkbox.default), _checkboxGroup.default), _circleProgress.default), _code.default), _codeInput.default), _col.default), _collapse.default), _collapseItem.default), _columnNotice.default), _countDown.default), _countTo.default), _datetimePicker.default), _divider.default), _empty.default), _form.default), _formItem.default), _gap.default), _grid.default), _gridItem.default), _icon.default), _image.default), _indexAnchor.default), _indexList.default), _input.default), _keyboard.default), _line.default), _lineProgress.default), _link.default), _list.default), _listItem.default), _loadingIcon.default), _loadingPage.default), _loadmore.default), _modal.default), _navbar.default), _noNetwork.default), _noticeBar.default), _notify.default), _numberBox.default), _numberKeyboard.default), _overlay.default), _parse.default), _picker.default), _popup.default), _radio.default), _radioGroup.default), _rate.default), _readMore.default), _row.default), _rowNotice.default), _scrollList.default), _search.default), _section.default), _skeleton.default), _slider.default), _statusBar.default), _steps.default), _stepsItem.default), _sticky.default), _subsection.default), _swipeAction.default), _swipeActionItem.default), _swiper.default), _swipterIndicator.default), _switch2.default), _tabbar.default), _tabbarItem.default), _tabs.default), _tag.default), _text.default), _textarea.default), _toast.default), _toolbar.default), _tooltip.default), _transition.default), _upload.default);
  23538. exports.default = _default;
  23539. /***/ }),
  23540. /***/ 68:
  23541. /*!*******************************************************************************!*\
  23542. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/actionSheet.js ***!
  23543. \*******************************************************************************/
  23544. /*! no static exports found */
  23545. /***/ (function(module, exports, __webpack_require__) {
  23546. "use strict";
  23547. Object.defineProperty(exports, "__esModule", {
  23548. value: true
  23549. });
  23550. exports.default = void 0;
  23551. /*
  23552. * @Author : LQ
  23553. * @Description :
  23554. * @version : 1.0
  23555. * @Date : 2021-08-20 16:44:21
  23556. * @LastAuthor : LQ
  23557. * @lastTime : 2021-08-20 16:44:35
  23558. * @FilePath : /u-view2.0/uview-ui/libs/config/props/actionSheet.js
  23559. */
  23560. var _default = {
  23561. // action-sheet组件
  23562. actionSheet: {
  23563. show: false,
  23564. title: '',
  23565. description: '',
  23566. actions: function actions() {
  23567. return [];
  23568. },
  23569. index: '',
  23570. cancelText: '',
  23571. closeOnClickAction: true,
  23572. safeAreaInsetBottom: true,
  23573. openType: '',
  23574. closeOnClickOverlay: true,
  23575. round: 0
  23576. }
  23577. };
  23578. exports.default = _default;
  23579. /***/ }),
  23580. /***/ 69:
  23581. /*!*************************************************************************!*\
  23582. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/album.js ***!
  23583. \*************************************************************************/
  23584. /*! no static exports found */
  23585. /***/ (function(module, exports, __webpack_require__) {
  23586. "use strict";
  23587. Object.defineProperty(exports, "__esModule", {
  23588. value: true
  23589. });
  23590. exports.default = void 0;
  23591. /*
  23592. * @Author : LQ
  23593. * @Description :
  23594. * @version : 1.0
  23595. * @Date : 2021-08-20 16:44:21
  23596. * @LastAuthor : LQ
  23597. * @lastTime : 2021-08-20 16:47:24
  23598. * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js
  23599. */
  23600. var _default = {
  23601. // album 组件
  23602. album: {
  23603. urls: function urls() {
  23604. return [];
  23605. },
  23606. keyName: '',
  23607. singleSize: 180,
  23608. multipleSize: 70,
  23609. space: 6,
  23610. singleMode: 'scaleToFill',
  23611. multipleMode: 'aspectFill',
  23612. maxCount: 9,
  23613. previewFullImage: true,
  23614. rowCount: 3,
  23615. showMore: true
  23616. }
  23617. };
  23618. exports.default = _default;
  23619. /***/ }),
  23620. /***/ 7:
  23621. /*!*********************************************************************!*\
  23622. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  23623. \*********************************************************************/
  23624. /*! no static exports found */
  23625. /***/ (function(module, exports) {
  23626. function _iterableToArrayLimit(r, l) {
  23627. var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
  23628. if (null != t) {
  23629. var e,
  23630. n,
  23631. i,
  23632. u,
  23633. a = [],
  23634. f = !0,
  23635. o = !1;
  23636. try {
  23637. if (i = (t = t.call(r)).next, 0 === l) {
  23638. if (Object(t) !== t) return;
  23639. f = !1;
  23640. } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) {
  23641. ;
  23642. }
  23643. } catch (r) {
  23644. o = !0, n = r;
  23645. } finally {
  23646. try {
  23647. if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
  23648. } finally {
  23649. if (o) throw n;
  23650. }
  23651. }
  23652. return a;
  23653. }
  23654. }
  23655. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23656. /***/ }),
  23657. /***/ 70:
  23658. /*!*************************************************************************!*\
  23659. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/alert.js ***!
  23660. \*************************************************************************/
  23661. /*! no static exports found */
  23662. /***/ (function(module, exports, __webpack_require__) {
  23663. "use strict";
  23664. Object.defineProperty(exports, "__esModule", {
  23665. value: true
  23666. });
  23667. exports.default = void 0;
  23668. /*
  23669. * @Author : LQ
  23670. * @Description :
  23671. * @version : 1.0
  23672. * @Date : 2021-08-20 16:44:21
  23673. * @LastAuthor : LQ
  23674. * @lastTime : 2021-08-20 16:48:53
  23675. * @FilePath : /u-view2.0/uview-ui/libs/config/props/alert.js
  23676. */
  23677. var _default = {
  23678. // alert警告组件
  23679. alert: {
  23680. title: '',
  23681. type: 'warning',
  23682. description: '',
  23683. closable: false,
  23684. showIcon: false,
  23685. effect: 'light',
  23686. center: false,
  23687. fontSize: 14
  23688. }
  23689. };
  23690. exports.default = _default;
  23691. /***/ }),
  23692. /***/ 71:
  23693. /*!**************************************************************************!*\
  23694. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/avatar.js ***!
  23695. \**************************************************************************/
  23696. /*! no static exports found */
  23697. /***/ (function(module, exports, __webpack_require__) {
  23698. "use strict";
  23699. Object.defineProperty(exports, "__esModule", {
  23700. value: true
  23701. });
  23702. exports.default = void 0;
  23703. /*
  23704. * @Author : LQ
  23705. * @Description :
  23706. * @version : 1.0
  23707. * @Date : 2021-08-20 16:44:21
  23708. * @LastAuthor : LQ
  23709. * @lastTime : 2021-08-20 16:49:22
  23710. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatar.js
  23711. */
  23712. var _default = {
  23713. // avatar 组件
  23714. avatar: {
  23715. src: '',
  23716. shape: 'circle',
  23717. size: 40,
  23718. mode: 'scaleToFill',
  23719. text: '',
  23720. bgColor: '#c0c4cc',
  23721. color: '#ffffff',
  23722. fontSize: 18,
  23723. icon: '',
  23724. mpAvatar: false,
  23725. randomBgColor: false,
  23726. defaultUrl: '',
  23727. colorIndex: '',
  23728. name: ''
  23729. }
  23730. };
  23731. exports.default = _default;
  23732. /***/ }),
  23733. /***/ 72:
  23734. /*!*******************************************************************************!*\
  23735. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/avatarGroup.js ***!
  23736. \*******************************************************************************/
  23737. /*! no static exports found */
  23738. /***/ (function(module, exports, __webpack_require__) {
  23739. "use strict";
  23740. Object.defineProperty(exports, "__esModule", {
  23741. value: true
  23742. });
  23743. exports.default = void 0;
  23744. /*
  23745. * @Author : LQ
  23746. * @Description :
  23747. * @version : 1.0
  23748. * @Date : 2021-08-20 16:44:21
  23749. * @LastAuthor : LQ
  23750. * @lastTime : 2021-08-20 16:49:55
  23751. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatarGroup.js
  23752. */
  23753. var _default = {
  23754. // avatarGroup 组件
  23755. avatarGroup: {
  23756. urls: function urls() {
  23757. return [];
  23758. },
  23759. maxCount: 5,
  23760. shape: 'circle',
  23761. mode: 'scaleToFill',
  23762. showMore: true,
  23763. size: 40,
  23764. keyName: '',
  23765. gap: 0.5,
  23766. extraValue: 0
  23767. }
  23768. };
  23769. exports.default = _default;
  23770. /***/ }),
  23771. /***/ 73:
  23772. /*!***************************************************************************!*\
  23773. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/backtop.js ***!
  23774. \***************************************************************************/
  23775. /*! no static exports found */
  23776. /***/ (function(module, exports, __webpack_require__) {
  23777. "use strict";
  23778. Object.defineProperty(exports, "__esModule", {
  23779. value: true
  23780. });
  23781. exports.default = void 0;
  23782. /*
  23783. * @Author : LQ
  23784. * @Description :
  23785. * @version : 1.0
  23786. * @Date : 2021-08-20 16:44:21
  23787. * @LastAuthor : LQ
  23788. * @lastTime : 2021-08-20 16:50:18
  23789. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  23790. */
  23791. var _default = {
  23792. // backtop组件
  23793. backtop: {
  23794. mode: 'circle',
  23795. icon: 'arrow-upward',
  23796. text: '',
  23797. duration: 100,
  23798. scrollTop: 0,
  23799. top: 400,
  23800. bottom: 100,
  23801. right: 20,
  23802. zIndex: 9,
  23803. iconStyle: function iconStyle() {
  23804. return {
  23805. color: '#909399',
  23806. fontSize: '19px'
  23807. };
  23808. }
  23809. }
  23810. };
  23811. exports.default = _default;
  23812. /***/ }),
  23813. /***/ 74:
  23814. /*!*************************************************************************!*\
  23815. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/badge.js ***!
  23816. \*************************************************************************/
  23817. /*! no static exports found */
  23818. /***/ (function(module, exports, __webpack_require__) {
  23819. "use strict";
  23820. Object.defineProperty(exports, "__esModule", {
  23821. value: true
  23822. });
  23823. exports.default = void 0;
  23824. /*
  23825. * @Author : LQ
  23826. * @Description :
  23827. * @version : 1.0
  23828. * @Date : 2021-08-20 16:44:21
  23829. * @LastAuthor : LQ
  23830. * @lastTime : 2021-08-23 19:51:50
  23831. * @FilePath : /u-view2.0/uview-ui/libs/config/props/badge.js
  23832. */
  23833. var _default = {
  23834. // 徽标数组件
  23835. badge: {
  23836. isDot: false,
  23837. value: '',
  23838. show: true,
  23839. max: 999,
  23840. type: 'error',
  23841. showZero: false,
  23842. bgColor: null,
  23843. color: null,
  23844. shape: 'circle',
  23845. numberType: 'overflow',
  23846. offset: function offset() {
  23847. return [];
  23848. },
  23849. inverted: false,
  23850. absolute: false
  23851. }
  23852. };
  23853. exports.default = _default;
  23854. /***/ }),
  23855. /***/ 75:
  23856. /*!**************************************************************************!*\
  23857. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/button.js ***!
  23858. \**************************************************************************/
  23859. /*! no static exports found */
  23860. /***/ (function(module, exports, __webpack_require__) {
  23861. "use strict";
  23862. Object.defineProperty(exports, "__esModule", {
  23863. value: true
  23864. });
  23865. exports.default = void 0;
  23866. /*
  23867. * @Author : LQ
  23868. * @Description :
  23869. * @version : 1.0
  23870. * @Date : 2021-08-20 16:44:21
  23871. * @LastAuthor : LQ
  23872. * @lastTime : 2021-08-20 16:51:27
  23873. * @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
  23874. */
  23875. var _default = {
  23876. // button组件
  23877. button: {
  23878. hairline: false,
  23879. type: 'info',
  23880. size: 'normal',
  23881. shape: 'square',
  23882. plain: false,
  23883. disabled: false,
  23884. loading: false,
  23885. loadingText: '',
  23886. loadingMode: 'spinner',
  23887. loadingSize: 15,
  23888. openType: '',
  23889. formType: '',
  23890. appParameter: '',
  23891. hoverStopPropagation: true,
  23892. lang: 'en',
  23893. sessionFrom: '',
  23894. sendMessageTitle: '',
  23895. sendMessagePath: '',
  23896. sendMessageImg: '',
  23897. showMessageCard: false,
  23898. dataName: '',
  23899. throttleTime: 0,
  23900. hoverStartTime: 0,
  23901. hoverStayTime: 200,
  23902. text: '',
  23903. icon: '',
  23904. iconColor: '',
  23905. color: ''
  23906. }
  23907. };
  23908. exports.default = _default;
  23909. /***/ }),
  23910. /***/ 76:
  23911. /*!****************************************************************************!*\
  23912. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/calendar.js ***!
  23913. \****************************************************************************/
  23914. /*! no static exports found */
  23915. /***/ (function(module, exports, __webpack_require__) {
  23916. "use strict";
  23917. Object.defineProperty(exports, "__esModule", {
  23918. value: true
  23919. });
  23920. exports.default = void 0;
  23921. /*
  23922. * @Author : LQ
  23923. * @Description :
  23924. * @version : 1.0
  23925. * @Date : 2021-08-20 16:44:21
  23926. * @LastAuthor : LQ
  23927. * @lastTime : 2021-08-20 16:52:43
  23928. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  23929. */
  23930. var _default = {
  23931. // calendar 组件
  23932. calendar: {
  23933. title: '日期选择',
  23934. showTitle: true,
  23935. showSubtitle: true,
  23936. mode: 'single',
  23937. startText: '开始',
  23938. endText: '结束',
  23939. customList: function customList() {
  23940. return [];
  23941. },
  23942. color: '#3c9cff',
  23943. minDate: 0,
  23944. maxDate: 0,
  23945. defaultDate: null,
  23946. maxCount: Number.MAX_SAFE_INTEGER,
  23947. // Infinity
  23948. rowHeight: 56,
  23949. formatter: null,
  23950. showLunar: false,
  23951. showMark: true,
  23952. confirmText: '确定',
  23953. confirmDisabledText: '确定',
  23954. show: false,
  23955. closeOnClickOverlay: false,
  23956. readonly: false,
  23957. showConfirm: true,
  23958. maxRange: Number.MAX_SAFE_INTEGER,
  23959. // Infinity
  23960. rangePrompt: '',
  23961. showRangePrompt: true,
  23962. allowSameDay: false,
  23963. round: 0,
  23964. monthNum: 3
  23965. }
  23966. };
  23967. exports.default = _default;
  23968. /***/ }),
  23969. /***/ 77:
  23970. /*!*******************************************************************************!*\
  23971. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/carKeyboard.js ***!
  23972. \*******************************************************************************/
  23973. /*! no static exports found */
  23974. /***/ (function(module, exports, __webpack_require__) {
  23975. "use strict";
  23976. Object.defineProperty(exports, "__esModule", {
  23977. value: true
  23978. });
  23979. exports.default = void 0;
  23980. /*
  23981. * @Author : LQ
  23982. * @Description :
  23983. * @version : 1.0
  23984. * @Date : 2021-08-20 16:44:21
  23985. * @LastAuthor : LQ
  23986. * @lastTime : 2021-08-20 16:53:20
  23987. * @FilePath : /u-view2.0/uview-ui/libs/config/props/carKeyboard.js
  23988. */
  23989. var _default = {
  23990. // 车牌号键盘
  23991. carKeyboard: {
  23992. random: false
  23993. }
  23994. };
  23995. exports.default = _default;
  23996. /***/ }),
  23997. /***/ 78:
  23998. /*!************************************************************************!*\
  23999. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/cell.js ***!
  24000. \************************************************************************/
  24001. /*! no static exports found */
  24002. /***/ (function(module, exports, __webpack_require__) {
  24003. "use strict";
  24004. Object.defineProperty(exports, "__esModule", {
  24005. value: true
  24006. });
  24007. exports.default = void 0;
  24008. /*
  24009. * @Author : LQ
  24010. * @Description :
  24011. * @version : 1.0
  24012. * @Date : 2021-08-20 16:44:21
  24013. * @LastAuthor : LQ
  24014. * @lastTime : 2021-08-23 20:53:09
  24015. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
  24016. */
  24017. var _default = {
  24018. // cell组件的props
  24019. cell: {
  24020. customClass: '',
  24021. title: '',
  24022. label: '',
  24023. value: '',
  24024. icon: '',
  24025. disabled: false,
  24026. border: true,
  24027. center: false,
  24028. url: '',
  24029. linkType: 'navigateTo',
  24030. clickable: false,
  24031. isLink: false,
  24032. required: false,
  24033. arrowDirection: '',
  24034. iconStyle: {},
  24035. rightIconStyle: {},
  24036. rightIcon: 'arrow-right',
  24037. titleStyle: {},
  24038. size: '',
  24039. stop: true,
  24040. name: ''
  24041. }
  24042. };
  24043. exports.default = _default;
  24044. /***/ }),
  24045. /***/ 79:
  24046. /*!*****************************************************************************!*\
  24047. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/cellGroup.js ***!
  24048. \*****************************************************************************/
  24049. /*! no static exports found */
  24050. /***/ (function(module, exports, __webpack_require__) {
  24051. "use strict";
  24052. Object.defineProperty(exports, "__esModule", {
  24053. value: true
  24054. });
  24055. exports.default = void 0;
  24056. /*
  24057. * @Author : LQ
  24058. * @Description :
  24059. * @version : 1.0
  24060. * @Date : 2021-08-20 16:44:21
  24061. * @LastAuthor : LQ
  24062. * @lastTime : 2021-08-20 16:54:16
  24063. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
  24064. */
  24065. var _default = {
  24066. // cell-group组件的props
  24067. cellGroup: {
  24068. title: '',
  24069. border: true,
  24070. customStyle: {}
  24071. }
  24072. };
  24073. exports.default = _default;
  24074. /***/ }),
  24075. /***/ 8:
  24076. /*!***************************************************************************!*\
  24077. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  24078. \***************************************************************************/
  24079. /*! no static exports found */
  24080. /***/ (function(module, exports, __webpack_require__) {
  24081. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  24082. function _unsupportedIterableToArray(o, minLen) {
  24083. if (!o) return;
  24084. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  24085. var n = Object.prototype.toString.call(o).slice(8, -1);
  24086. if (n === "Object" && o.constructor) n = o.constructor.name;
  24087. if (n === "Map" || n === "Set") return Array.from(o);
  24088. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  24089. }
  24090. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  24091. /***/ }),
  24092. /***/ 80:
  24093. /*!****************************************************************************!*\
  24094. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/checkbox.js ***!
  24095. \****************************************************************************/
  24096. /*! no static exports found */
  24097. /***/ (function(module, exports, __webpack_require__) {
  24098. "use strict";
  24099. Object.defineProperty(exports, "__esModule", {
  24100. value: true
  24101. });
  24102. exports.default = void 0;
  24103. /*
  24104. * @Author : LQ
  24105. * @Description :
  24106. * @version : 1.0
  24107. * @Date : 2021-08-20 16:44:21
  24108. * @LastAuthor : LQ
  24109. * @lastTime : 2021-08-23 21:06:59
  24110. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkbox.js
  24111. */
  24112. var _default = {
  24113. // checkbox组件
  24114. checkbox: {
  24115. name: '',
  24116. shape: '',
  24117. size: '',
  24118. checkbox: false,
  24119. disabled: '',
  24120. activeColor: '',
  24121. inactiveColor: '',
  24122. iconSize: '',
  24123. iconColor: '',
  24124. label: '',
  24125. labelSize: '',
  24126. labelColor: '',
  24127. labelDisabled: ''
  24128. }
  24129. };
  24130. exports.default = _default;
  24131. /***/ }),
  24132. /***/ 807:
  24133. /*!***************************************************************************!*\
  24134. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-navbar/props.js ***!
  24135. \***************************************************************************/
  24136. /*! no static exports found */
  24137. /***/ (function(module, exports, __webpack_require__) {
  24138. "use strict";
  24139. /* WEBPACK VAR INJECTION */(function(uni) {
  24140. Object.defineProperty(exports, "__esModule", {
  24141. value: true
  24142. });
  24143. exports.default = void 0;
  24144. var _default = {
  24145. props: {
  24146. // 是否开启顶部安全区适配
  24147. safeAreaInsetTop: {
  24148. type: Boolean,
  24149. default: uni.$u.props.navbar.safeAreaInsetTop
  24150. },
  24151. // 固定在顶部时,是否生成一个等高元素,以防止塌陷
  24152. placeholder: {
  24153. type: Boolean,
  24154. default: uni.$u.props.navbar.placeholder
  24155. },
  24156. // 是否固定在顶部
  24157. fixed: {
  24158. type: Boolean,
  24159. default: uni.$u.props.navbar.fixed
  24160. },
  24161. // 是否显示下边框
  24162. border: {
  24163. type: Boolean,
  24164. default: uni.$u.props.navbar.border
  24165. },
  24166. // 左边的图标
  24167. leftIcon: {
  24168. type: String,
  24169. default: uni.$u.props.navbar.leftIcon
  24170. },
  24171. // 左边的提示文字
  24172. leftText: {
  24173. type: String,
  24174. default: uni.$u.props.navbar.leftText
  24175. },
  24176. // 左右的提示文字
  24177. rightText: {
  24178. type: String,
  24179. default: uni.$u.props.navbar.rightText
  24180. },
  24181. // 右边的图标
  24182. rightIcon: {
  24183. type: String,
  24184. default: uni.$u.props.navbar.rightIcon
  24185. },
  24186. // 标题
  24187. title: {
  24188. type: [String, Number],
  24189. default: uni.$u.props.navbar.title
  24190. },
  24191. // 背景颜色
  24192. bgColor: {
  24193. type: String,
  24194. default: uni.$u.props.navbar.bgColor
  24195. },
  24196. // 标题的宽度
  24197. titleWidth: {
  24198. type: [String, Number],
  24199. default: uni.$u.props.navbar.titleWidth
  24200. },
  24201. // 导航栏高度
  24202. height: {
  24203. type: [String, Number],
  24204. default: uni.$u.props.navbar.height
  24205. },
  24206. // 左侧返回图标的大小
  24207. leftIconSize: {
  24208. type: [String, Number],
  24209. default: uni.$u.props.navbar.leftIconSize
  24210. },
  24211. // 左侧返回图标的颜色
  24212. leftIconColor: {
  24213. type: String,
  24214. default: uni.$u.props.navbar.leftIconColor
  24215. },
  24216. // 点击左侧区域(返回图标),是否自动返回上一页
  24217. autoBack: {
  24218. type: Boolean,
  24219. default: uni.$u.props.navbar.autoBack
  24220. },
  24221. // 标题的样式,对象或字符串
  24222. titleStyle: {
  24223. type: [String, Object],
  24224. default: uni.$u.props.navbar.titleStyle
  24225. }
  24226. }
  24227. };
  24228. exports.default = _default;
  24229. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24230. /***/ }),
  24231. /***/ 81:
  24232. /*!*********************************************************************************!*\
  24233. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/checkboxGroup.js ***!
  24234. \*********************************************************************************/
  24235. /*! no static exports found */
  24236. /***/ (function(module, exports, __webpack_require__) {
  24237. "use strict";
  24238. Object.defineProperty(exports, "__esModule", {
  24239. value: true
  24240. });
  24241. exports.default = void 0;
  24242. /*
  24243. * @Author : LQ
  24244. * @Description :
  24245. * @version : 1.0
  24246. * @Date : 2021-08-20 16:44:21
  24247. * @LastAuthor : LQ
  24248. * @lastTime : 2021-08-20 16:54:47
  24249. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkboxGroup.js
  24250. */
  24251. var _default = {
  24252. // checkbox-group组件
  24253. checkboxGroup: {
  24254. name: '',
  24255. value: function value() {
  24256. return [];
  24257. },
  24258. shape: 'square',
  24259. disabled: false,
  24260. activeColor: '#2979ff',
  24261. inactiveColor: '#c8c9cc',
  24262. size: 18,
  24263. placement: 'row',
  24264. labelSize: 14,
  24265. labelColor: '#303133',
  24266. labelDisabled: false,
  24267. iconColor: '#ffffff',
  24268. iconSize: 12,
  24269. iconPlacement: 'left',
  24270. borderBottom: false
  24271. }
  24272. };
  24273. exports.default = _default;
  24274. /***/ }),
  24275. /***/ 815:
  24276. /*!*******************************************************************************!*\
  24277. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-subsection/props.js ***!
  24278. \*******************************************************************************/
  24279. /*! no static exports found */
  24280. /***/ (function(module, exports, __webpack_require__) {
  24281. "use strict";
  24282. /* WEBPACK VAR INJECTION */(function(uni) {
  24283. Object.defineProperty(exports, "__esModule", {
  24284. value: true
  24285. });
  24286. exports.default = void 0;
  24287. var _default = {
  24288. props: {
  24289. // tab的数据
  24290. list: {
  24291. type: Array,
  24292. default: uni.$u.props.subsection.list
  24293. },
  24294. // 当前活动的tab的index
  24295. current: {
  24296. type: [String, Number],
  24297. default: uni.$u.props.subsection.current
  24298. },
  24299. // 激活的颜色
  24300. activeColor: {
  24301. type: String,
  24302. default: uni.$u.props.subsection.activeColor
  24303. },
  24304. // 未激活的颜色
  24305. inactiveColor: {
  24306. type: String,
  24307. default: uni.$u.props.subsection.inactiveColor
  24308. },
  24309. // 模式选择,mode=button为按钮形式,mode=subsection时为分段模式
  24310. mode: {
  24311. type: String,
  24312. default: uni.$u.props.subsection.mode
  24313. },
  24314. // 字体大小
  24315. fontSize: {
  24316. type: [String, Number],
  24317. default: uni.$u.props.subsection.fontSize
  24318. },
  24319. // 激活tab的字体是否加粗
  24320. bold: {
  24321. type: Boolean,
  24322. default: uni.$u.props.subsection.bold
  24323. },
  24324. // mode = button时,组件背景颜色
  24325. bgColor: {
  24326. type: String,
  24327. default: uni.$u.props.subsection.bgColor
  24328. },
  24329. // 从list元素对象中读取的键名
  24330. keyName: {
  24331. type: String,
  24332. default: uni.$u.props.subsection.keyName
  24333. }
  24334. }
  24335. };
  24336. exports.default = _default;
  24337. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24338. /***/ }),
  24339. /***/ 82:
  24340. /*!**********************************************************************************!*\
  24341. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/circleProgress.js ***!
  24342. \**********************************************************************************/
  24343. /*! no static exports found */
  24344. /***/ (function(module, exports, __webpack_require__) {
  24345. "use strict";
  24346. Object.defineProperty(exports, "__esModule", {
  24347. value: true
  24348. });
  24349. exports.default = void 0;
  24350. /*
  24351. * @Author : LQ
  24352. * @Description :
  24353. * @version : 1.0
  24354. * @Date : 2021-08-20 16:44:21
  24355. * @LastAuthor : LQ
  24356. * @lastTime : 2021-08-20 16:55:02
  24357. * @FilePath : /u-view2.0/uview-ui/libs/config/props/circleProgress.js
  24358. */
  24359. var _default = {
  24360. // circleProgress 组件
  24361. circleProgress: {
  24362. percentage: 30
  24363. }
  24364. };
  24365. exports.default = _default;
  24366. /***/ }),
  24367. /***/ 823:
  24368. /*!*************************************************************************!*\
  24369. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-icon/icons.js ***!
  24370. \*************************************************************************/
  24371. /*! no static exports found */
  24372. /***/ (function(module, exports, __webpack_require__) {
  24373. "use strict";
  24374. Object.defineProperty(exports, "__esModule", {
  24375. value: true
  24376. });
  24377. exports.default = void 0;
  24378. var _default = {
  24379. 'uicon-level': "\uE693",
  24380. 'uicon-column-line': "\uE68E",
  24381. 'uicon-checkbox-mark': "\uE807",
  24382. 'uicon-folder': "\uE7F5",
  24383. 'uicon-movie': "\uE7F6",
  24384. 'uicon-star-fill': "\uE669",
  24385. 'uicon-star': "\uE65F",
  24386. 'uicon-phone-fill': "\uE64F",
  24387. 'uicon-phone': "\uE622",
  24388. 'uicon-apple-fill': "\uE881",
  24389. 'uicon-chrome-circle-fill': "\uE885",
  24390. 'uicon-backspace': "\uE67B",
  24391. 'uicon-attach': "\uE632",
  24392. 'uicon-cut': "\uE948",
  24393. 'uicon-empty-car': "\uE602",
  24394. 'uicon-empty-coupon': "\uE682",
  24395. 'uicon-empty-address': "\uE646",
  24396. 'uicon-empty-favor': "\uE67C",
  24397. 'uicon-empty-permission': "\uE686",
  24398. 'uicon-empty-news': "\uE687",
  24399. 'uicon-empty-search': "\uE664",
  24400. 'uicon-github-circle-fill': "\uE887",
  24401. 'uicon-rmb': "\uE608",
  24402. 'uicon-person-delete-fill': "\uE66A",
  24403. 'uicon-reload': "\uE788",
  24404. 'uicon-order': "\uE68F",
  24405. 'uicon-server-man': "\uE6BC",
  24406. 'uicon-search': "\uE62A",
  24407. 'uicon-fingerprint': "\uE955",
  24408. 'uicon-more-dot-fill': "\uE630",
  24409. 'uicon-scan': "\uE662",
  24410. 'uicon-share-square': "\uE60B",
  24411. 'uicon-map': "\uE61D",
  24412. 'uicon-map-fill': "\uE64E",
  24413. 'uicon-tags': "\uE629",
  24414. 'uicon-tags-fill': "\uE651",
  24415. 'uicon-bookmark-fill': "\uE63B",
  24416. 'uicon-bookmark': "\uE60A",
  24417. 'uicon-eye': "\uE613",
  24418. 'uicon-eye-fill': "\uE641",
  24419. 'uicon-mic': "\uE64A",
  24420. 'uicon-mic-off': "\uE649",
  24421. 'uicon-calendar': "\uE66E",
  24422. 'uicon-calendar-fill': "\uE634",
  24423. 'uicon-trash': "\uE623",
  24424. 'uicon-trash-fill': "\uE658",
  24425. 'uicon-play-left': "\uE66D",
  24426. 'uicon-play-right': "\uE610",
  24427. 'uicon-minus': "\uE618",
  24428. 'uicon-plus': "\uE62D",
  24429. 'uicon-info': "\uE653",
  24430. 'uicon-info-circle': "\uE7D2",
  24431. 'uicon-info-circle-fill': "\uE64B",
  24432. 'uicon-question': "\uE715",
  24433. 'uicon-error': "\uE6D3",
  24434. 'uicon-close': "\uE685",
  24435. 'uicon-checkmark': "\uE6A8",
  24436. 'uicon-android-circle-fill': "\uE67E",
  24437. 'uicon-android-fill': "\uE67D",
  24438. 'uicon-ie': "\uE87B",
  24439. 'uicon-IE-circle-fill': "\uE889",
  24440. 'uicon-google': "\uE87A",
  24441. 'uicon-google-circle-fill': "\uE88A",
  24442. 'uicon-setting-fill': "\uE872",
  24443. 'uicon-setting': "\uE61F",
  24444. 'uicon-minus-square-fill': "\uE855",
  24445. 'uicon-plus-square-fill': "\uE856",
  24446. 'uicon-heart': "\uE7DF",
  24447. 'uicon-heart-fill': "\uE851",
  24448. 'uicon-camera': "\uE7D7",
  24449. 'uicon-camera-fill': "\uE870",
  24450. 'uicon-more-circle': "\uE63E",
  24451. 'uicon-more-circle-fill': "\uE645",
  24452. 'uicon-chat': "\uE620",
  24453. 'uicon-chat-fill': "\uE61E",
  24454. 'uicon-bag-fill': "\uE617",
  24455. 'uicon-bag': "\uE619",
  24456. 'uicon-error-circle-fill': "\uE62C",
  24457. 'uicon-error-circle': "\uE624",
  24458. 'uicon-close-circle': "\uE63F",
  24459. 'uicon-close-circle-fill': "\uE637",
  24460. 'uicon-checkmark-circle': "\uE63D",
  24461. 'uicon-checkmark-circle-fill': "\uE635",
  24462. 'uicon-question-circle-fill': "\uE666",
  24463. 'uicon-question-circle': "\uE625",
  24464. 'uicon-share': "\uE631",
  24465. 'uicon-share-fill': "\uE65E",
  24466. 'uicon-shopping-cart': "\uE621",
  24467. 'uicon-shopping-cart-fill': "\uE65D",
  24468. 'uicon-bell': "\uE609",
  24469. 'uicon-bell-fill': "\uE640",
  24470. 'uicon-list': "\uE650",
  24471. 'uicon-list-dot': "\uE616",
  24472. 'uicon-zhihu': "\uE6BA",
  24473. 'uicon-zhihu-circle-fill': "\uE709",
  24474. 'uicon-zhifubao': "\uE6B9",
  24475. 'uicon-zhifubao-circle-fill': "\uE6B8",
  24476. 'uicon-weixin-circle-fill': "\uE6B1",
  24477. 'uicon-weixin-fill': "\uE6B2",
  24478. 'uicon-twitter-circle-fill': "\uE6AB",
  24479. 'uicon-twitter': "\uE6AA",
  24480. 'uicon-taobao-circle-fill': "\uE6A7",
  24481. 'uicon-taobao': "\uE6A6",
  24482. 'uicon-weibo-circle-fill': "\uE6A5",
  24483. 'uicon-weibo': "\uE6A4",
  24484. 'uicon-qq-fill': "\uE6A1",
  24485. 'uicon-qq-circle-fill': "\uE6A0",
  24486. 'uicon-moments-circel-fill': "\uE69A",
  24487. 'uicon-moments': "\uE69B",
  24488. 'uicon-qzone': "\uE695",
  24489. 'uicon-qzone-circle-fill': "\uE696",
  24490. 'uicon-baidu-circle-fill': "\uE680",
  24491. 'uicon-baidu': "\uE681",
  24492. 'uicon-facebook-circle-fill': "\uE68A",
  24493. 'uicon-facebook': "\uE689",
  24494. 'uicon-car': "\uE60C",
  24495. 'uicon-car-fill': "\uE636",
  24496. 'uicon-warning-fill': "\uE64D",
  24497. 'uicon-warning': "\uE694",
  24498. 'uicon-clock-fill': "\uE638",
  24499. 'uicon-clock': "\uE60F",
  24500. 'uicon-edit-pen': "\uE612",
  24501. 'uicon-edit-pen-fill': "\uE66B",
  24502. 'uicon-email': "\uE611",
  24503. 'uicon-email-fill': "\uE642",
  24504. 'uicon-minus-circle': "\uE61B",
  24505. 'uicon-minus-circle-fill': "\uE652",
  24506. 'uicon-plus-circle': "\uE62E",
  24507. 'uicon-plus-circle-fill': "\uE661",
  24508. 'uicon-file-text': "\uE663",
  24509. 'uicon-file-text-fill': "\uE665",
  24510. 'uicon-pushpin': "\uE7E3",
  24511. 'uicon-pushpin-fill': "\uE86E",
  24512. 'uicon-grid': "\uE673",
  24513. 'uicon-grid-fill': "\uE678",
  24514. 'uicon-play-circle': "\uE647",
  24515. 'uicon-play-circle-fill': "\uE655",
  24516. 'uicon-pause-circle-fill': "\uE654",
  24517. 'uicon-pause': "\uE8FA",
  24518. 'uicon-pause-circle': "\uE643",
  24519. 'uicon-eye-off': "\uE648",
  24520. 'uicon-eye-off-outline': "\uE62B",
  24521. 'uicon-gift-fill': "\uE65C",
  24522. 'uicon-gift': "\uE65B",
  24523. 'uicon-rmb-circle-fill': "\uE657",
  24524. 'uicon-rmb-circle': "\uE677",
  24525. 'uicon-kefu-ermai': "\uE656",
  24526. 'uicon-server-fill': "\uE751",
  24527. 'uicon-coupon-fill': "\uE8C4",
  24528. 'uicon-coupon': "\uE8AE",
  24529. 'uicon-integral': "\uE704",
  24530. 'uicon-integral-fill': "\uE703",
  24531. 'uicon-home-fill': "\uE964",
  24532. 'uicon-home': "\uE965",
  24533. 'uicon-hourglass-half-fill': "\uE966",
  24534. 'uicon-hourglass': "\uE967",
  24535. 'uicon-account': "\uE628",
  24536. 'uicon-plus-people-fill': "\uE626",
  24537. 'uicon-minus-people-fill': "\uE615",
  24538. 'uicon-account-fill': "\uE614",
  24539. 'uicon-thumb-down-fill': "\uE726",
  24540. 'uicon-thumb-down': "\uE727",
  24541. 'uicon-thumb-up': "\uE733",
  24542. 'uicon-thumb-up-fill': "\uE72F",
  24543. 'uicon-lock-fill': "\uE979",
  24544. 'uicon-lock-open': "\uE973",
  24545. 'uicon-lock-opened-fill': "\uE974",
  24546. 'uicon-lock': "\uE97A",
  24547. 'uicon-red-packet-fill': "\uE690",
  24548. 'uicon-photo-fill': "\uE98B",
  24549. 'uicon-photo': "\uE98D",
  24550. 'uicon-volume-off-fill': "\uE659",
  24551. 'uicon-volume-off': "\uE644",
  24552. 'uicon-volume-fill': "\uE670",
  24553. 'uicon-volume': "\uE633",
  24554. 'uicon-red-packet': "\uE691",
  24555. 'uicon-download': "\uE63C",
  24556. 'uicon-arrow-up-fill': "\uE6B0",
  24557. 'uicon-arrow-down-fill': "\uE600",
  24558. 'uicon-play-left-fill': "\uE675",
  24559. 'uicon-play-right-fill': "\uE676",
  24560. 'uicon-rewind-left-fill': "\uE679",
  24561. 'uicon-rewind-right-fill': "\uE67A",
  24562. 'uicon-arrow-downward': "\uE604",
  24563. 'uicon-arrow-leftward': "\uE601",
  24564. 'uicon-arrow-rightward': "\uE603",
  24565. 'uicon-arrow-upward': "\uE607",
  24566. 'uicon-arrow-down': "\uE60D",
  24567. 'uicon-arrow-right': "\uE605",
  24568. 'uicon-arrow-left': "\uE60E",
  24569. 'uicon-arrow-up': "\uE606",
  24570. 'uicon-skip-back-left': "\uE674",
  24571. 'uicon-skip-forward-right': "\uE672",
  24572. 'uicon-rewind-right': "\uE66F",
  24573. 'uicon-rewind-left': "\uE671",
  24574. 'uicon-arrow-right-double': "\uE68D",
  24575. 'uicon-arrow-left-double': "\uE68C",
  24576. 'uicon-wifi-off': "\uE668",
  24577. 'uicon-wifi': "\uE667",
  24578. 'uicon-empty-data': "\uE62F",
  24579. 'uicon-empty-history': "\uE684",
  24580. 'uicon-empty-list': "\uE68B",
  24581. 'uicon-empty-page': "\uE627",
  24582. 'uicon-empty-order': "\uE639",
  24583. 'uicon-man': "\uE697",
  24584. 'uicon-woman': "\uE69C",
  24585. 'uicon-man-add': "\uE61C",
  24586. 'uicon-man-add-fill': "\uE64C",
  24587. 'uicon-man-delete': "\uE61A",
  24588. 'uicon-man-delete-fill': "\uE66A",
  24589. 'uicon-zh': "\uE70A",
  24590. 'uicon-en': "\uE692"
  24591. };
  24592. exports.default = _default;
  24593. /***/ }),
  24594. /***/ 824:
  24595. /*!*************************************************************************!*\
  24596. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-icon/props.js ***!
  24597. \*************************************************************************/
  24598. /*! no static exports found */
  24599. /***/ (function(module, exports, __webpack_require__) {
  24600. "use strict";
  24601. /* WEBPACK VAR INJECTION */(function(uni) {
  24602. Object.defineProperty(exports, "__esModule", {
  24603. value: true
  24604. });
  24605. exports.default = void 0;
  24606. var _default = {
  24607. props: {
  24608. // 图标类名
  24609. name: {
  24610. type: String,
  24611. default: uni.$u.props.icon.name
  24612. },
  24613. // 图标颜色,可接受主题色
  24614. color: {
  24615. type: String,
  24616. default: uni.$u.props.icon.color
  24617. },
  24618. // 字体大小,单位px
  24619. size: {
  24620. type: [String, Number],
  24621. default: uni.$u.props.icon.size
  24622. },
  24623. // 是否显示粗体
  24624. bold: {
  24625. type: Boolean,
  24626. default: uni.$u.props.icon.bold
  24627. },
  24628. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  24629. index: {
  24630. type: [String, Number],
  24631. default: uni.$u.props.icon.index
  24632. },
  24633. // 触摸图标时的类名
  24634. hoverClass: {
  24635. type: String,
  24636. default: uni.$u.props.icon.hoverClass
  24637. },
  24638. // 自定义扩展前缀,方便用户扩展自己的图标库
  24639. customPrefix: {
  24640. type: String,
  24641. default: uni.$u.props.icon.customPrefix
  24642. },
  24643. // 图标右边或者下面的文字
  24644. label: {
  24645. type: [String, Number],
  24646. default: uni.$u.props.icon.label
  24647. },
  24648. // label的位置,只能右边或者下边
  24649. labelPos: {
  24650. type: String,
  24651. default: uni.$u.props.icon.labelPos
  24652. },
  24653. // label的大小
  24654. labelSize: {
  24655. type: [String, Number],
  24656. default: uni.$u.props.icon.labelSize
  24657. },
  24658. // label的颜色
  24659. labelColor: {
  24660. type: String,
  24661. default: uni.$u.props.icon.labelColor
  24662. },
  24663. // label与图标的距离
  24664. space: {
  24665. type: [String, Number],
  24666. default: uni.$u.props.icon.space
  24667. },
  24668. // 图片的mode
  24669. imgMode: {
  24670. type: String,
  24671. default: uni.$u.props.icon.imgMode
  24672. },
  24673. // 用于显示图片小图标时,图片的宽度
  24674. width: {
  24675. type: [String, Number],
  24676. default: uni.$u.props.icon.width
  24677. },
  24678. // 用于显示图片小图标时,图片的高度
  24679. height: {
  24680. type: [String, Number],
  24681. default: uni.$u.props.icon.height
  24682. },
  24683. // 用于解决某些情况下,让图标垂直居中的用途
  24684. top: {
  24685. type: [String, Number],
  24686. default: uni.$u.props.icon.top
  24687. },
  24688. // 是否阻止事件传播
  24689. stop: {
  24690. type: Boolean,
  24691. default: uni.$u.props.icon.stop
  24692. }
  24693. }
  24694. };
  24695. exports.default = _default;
  24696. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24697. /***/ }),
  24698. /***/ 83:
  24699. /*!************************************************************************!*\
  24700. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/code.js ***!
  24701. \************************************************************************/
  24702. /*! no static exports found */
  24703. /***/ (function(module, exports, __webpack_require__) {
  24704. "use strict";
  24705. Object.defineProperty(exports, "__esModule", {
  24706. value: true
  24707. });
  24708. exports.default = void 0;
  24709. /*
  24710. * @Author : LQ
  24711. * @Description :
  24712. * @version : 1.0
  24713. * @Date : 2021-08-20 16:44:21
  24714. * @LastAuthor : LQ
  24715. * @lastTime : 2021-08-20 16:55:27
  24716. * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js
  24717. */
  24718. var _default = {
  24719. // code 组件
  24720. code: {
  24721. seconds: 60,
  24722. startText: '获取验证码',
  24723. changeText: 'X秒重新获取',
  24724. endText: '重新获取',
  24725. keepRunning: false,
  24726. uniqueKey: ''
  24727. }
  24728. };
  24729. exports.default = _default;
  24730. /***/ }),
  24731. /***/ 832:
  24732. /*!*************************************************************************!*\
  24733. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-tabs/props.js ***!
  24734. \*************************************************************************/
  24735. /*! no static exports found */
  24736. /***/ (function(module, exports, __webpack_require__) {
  24737. "use strict";
  24738. /* WEBPACK VAR INJECTION */(function(uni) {
  24739. Object.defineProperty(exports, "__esModule", {
  24740. value: true
  24741. });
  24742. exports.default = void 0;
  24743. var _default = {
  24744. props: {
  24745. // 滑块的移动过渡时间,单位ms
  24746. duration: {
  24747. type: Number,
  24748. default: uni.$u.props.tabs.duration
  24749. },
  24750. // tabs标签数组
  24751. list: {
  24752. type: Array,
  24753. default: uni.$u.props.tabs.list
  24754. },
  24755. // 滑块颜色
  24756. lineColor: {
  24757. type: String,
  24758. default: uni.$u.props.tabs.lineColor
  24759. },
  24760. // 菜单选择中时的样式
  24761. activeStyle: {
  24762. type: [String, Object],
  24763. default: uni.$u.props.tabs.activeStyle
  24764. },
  24765. // 菜单非选中时的样式
  24766. inactiveStyle: {
  24767. type: [String, Object],
  24768. default: uni.$u.props.tabs.inactiveStyle
  24769. },
  24770. // 滑块长度
  24771. lineWidth: {
  24772. type: [String, Number],
  24773. default: uni.$u.props.tabs.lineWidth
  24774. },
  24775. // 滑块高度
  24776. lineHeight: {
  24777. type: [String, Number],
  24778. default: uni.$u.props.tabs.lineHeight
  24779. },
  24780. // 滑块背景显示大小,当滑块背景设置为图片时使用
  24781. lineBgSize: {
  24782. type: String,
  24783. default: uni.$u.props.tabs.lineBgSize
  24784. },
  24785. // 菜单item的样式
  24786. itemStyle: {
  24787. type: [String, Object],
  24788. default: uni.$u.props.tabs.itemStyle
  24789. },
  24790. // 菜单是否可滚动
  24791. scrollable: {
  24792. type: Boolean,
  24793. default: uni.$u.props.tabs.scrollable
  24794. },
  24795. // 当前选中标签的索引
  24796. current: {
  24797. type: [Number, String],
  24798. default: uni.$u.props.tabs.current
  24799. },
  24800. // 默认读取的键名
  24801. keyName: {
  24802. type: String,
  24803. default: uni.$u.props.tabs.keyName
  24804. }
  24805. }
  24806. };
  24807. exports.default = _default;
  24808. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24809. /***/ }),
  24810. /***/ 84:
  24811. /*!*****************************************************************************!*\
  24812. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/codeInput.js ***!
  24813. \*****************************************************************************/
  24814. /*! no static exports found */
  24815. /***/ (function(module, exports, __webpack_require__) {
  24816. "use strict";
  24817. Object.defineProperty(exports, "__esModule", {
  24818. value: true
  24819. });
  24820. exports.default = void 0;
  24821. /*
  24822. * @Author : LQ
  24823. * @Description :
  24824. * @version : 1.0
  24825. * @Date : 2021-08-20 16:44:21
  24826. * @LastAuthor : LQ
  24827. * @lastTime : 2021-08-20 16:55:58
  24828. * @FilePath : /u-view2.0/uview-ui/libs/config/props/codeInput.js
  24829. */
  24830. var _default = {
  24831. // codeInput 组件
  24832. codeInput: {
  24833. adjustPosition: true,
  24834. maxlength: 6,
  24835. dot: false,
  24836. mode: 'box',
  24837. hairline: false,
  24838. space: 10,
  24839. value: '',
  24840. focus: false,
  24841. bold: false,
  24842. color: '#606266',
  24843. fontSize: 18,
  24844. size: 35,
  24845. disabledKeyboard: false,
  24846. borderColor: '#c9cacc',
  24847. disabledDot: true
  24848. }
  24849. };
  24850. exports.default = _default;
  24851. /***/ }),
  24852. /***/ 840:
  24853. /*!***************************************************************************!*\
  24854. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swiper/props.js ***!
  24855. \***************************************************************************/
  24856. /*! no static exports found */
  24857. /***/ (function(module, exports, __webpack_require__) {
  24858. "use strict";
  24859. /* WEBPACK VAR INJECTION */(function(uni) {
  24860. Object.defineProperty(exports, "__esModule", {
  24861. value: true
  24862. });
  24863. exports.default = void 0;
  24864. var _default = {
  24865. props: {
  24866. // 列表数组,元素可为字符串,如为对象可通过keyName指定目标属性名
  24867. list: {
  24868. type: Array,
  24869. default: uni.$u.props.swiper.list
  24870. },
  24871. // 是否显示面板指示器
  24872. indicator: {
  24873. type: Boolean,
  24874. default: uni.$u.props.swiper.indicator
  24875. },
  24876. // 指示器非激活颜色
  24877. indicatorActiveColor: {
  24878. type: String,
  24879. default: uni.$u.props.swiper.indicatorActiveColor
  24880. },
  24881. // 指示器的激活颜色
  24882. indicatorInactiveColor: {
  24883. type: String,
  24884. default: uni.$u.props.swiper.indicatorInactiveColor
  24885. },
  24886. // 指示器样式,可通过bottom,left,right进行定位
  24887. indicatorStyle: {
  24888. type: [String, Object],
  24889. default: uni.$u.props.swiper.indicatorStyle
  24890. },
  24891. // 指示器模式,line-线型,dot-点型
  24892. indicatorMode: {
  24893. type: String,
  24894. default: uni.$u.props.swiper.indicatorMode
  24895. },
  24896. // 是否自动切换
  24897. autoplay: {
  24898. type: Boolean,
  24899. default: uni.$u.props.swiper.autoplay
  24900. },
  24901. // 当前所在滑块的 index
  24902. current: {
  24903. type: [String, Number],
  24904. default: uni.$u.props.swiper.current
  24905. },
  24906. // 当前所在滑块的 item-id ,不能与 current 被同时指定
  24907. currentItemId: {
  24908. type: String,
  24909. default: uni.$u.props.swiper.currentItemId
  24910. },
  24911. // 滑块自动切换时间间隔
  24912. interval: {
  24913. type: [String, Number],
  24914. default: uni.$u.props.swiper.interval
  24915. },
  24916. // 滑块切换过程所需时间
  24917. duration: {
  24918. type: [String, Number],
  24919. default: uni.$u.props.swiper.duration
  24920. },
  24921. // 播放到末尾后是否重新回到开头
  24922. circular: {
  24923. type: Boolean,
  24924. default: uni.$u.props.swiper.circular
  24925. },
  24926. // 前边距,可用于露出前一项的一小部分,nvue和支付宝不支持
  24927. previousMargin: {
  24928. type: [String, Number],
  24929. default: uni.$u.props.swiper.previousMargin
  24930. },
  24931. // 后边距,可用于露出后一项的一小部分,nvue和支付宝不支持
  24932. nextMargin: {
  24933. type: [String, Number],
  24934. default: uni.$u.props.swiper.nextMargin
  24935. },
  24936. // 当开启时,会根据滑动速度,连续滑动多屏,支付宝不支持
  24937. acceleration: {
  24938. type: Boolean,
  24939. default: uni.$u.props.swiper.acceleration
  24940. },
  24941. // 同时显示的滑块数量,nvue、支付宝小程序不支持
  24942. displayMultipleItems: {
  24943. type: Number,
  24944. default: uni.$u.props.swiper.displayMultipleItems
  24945. },
  24946. // 指定swiper切换缓动动画类型,有效值:default、linear、easeInCubic、easeOutCubic、easeInOutCubic
  24947. // 只对微信小程序有效
  24948. easingFunction: {
  24949. type: String,
  24950. default: uni.$u.props.swiper.easingFunction
  24951. },
  24952. // list数组中指定对象的目标属性名
  24953. keyName: {
  24954. type: String,
  24955. default: uni.$u.props.swiper.keyName
  24956. },
  24957. // 图片的裁剪模式
  24958. imgMode: {
  24959. type: String,
  24960. default: uni.$u.props.swiper.imgMode
  24961. },
  24962. // 组件高度
  24963. height: {
  24964. type: [String, Number],
  24965. default: uni.$u.props.swiper.height
  24966. },
  24967. // 背景颜色
  24968. bgColor: {
  24969. type: String,
  24970. default: uni.$u.props.swiper.bgColor
  24971. },
  24972. // 组件圆角,数值或带单位的字符串
  24973. radius: {
  24974. type: [String, Number],
  24975. default: uni.$u.props.swiper.radius
  24976. },
  24977. // 是否加载中
  24978. loading: {
  24979. type: Boolean,
  24980. default: uni.$u.props.swiper.loading
  24981. },
  24982. // 是否显示标题,要求数组对象中有title属性
  24983. showTitle: {
  24984. type: Boolean,
  24985. default: uni.$u.props.swiper.showTitle
  24986. }
  24987. }
  24988. };
  24989. exports.default = _default;
  24990. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24991. /***/ }),
  24992. /***/ 848:
  24993. /*!**************************************************************************!*\
  24994. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-popup/props.js ***!
  24995. \**************************************************************************/
  24996. /*! no static exports found */
  24997. /***/ (function(module, exports, __webpack_require__) {
  24998. "use strict";
  24999. /* WEBPACK VAR INJECTION */(function(uni) {
  25000. Object.defineProperty(exports, "__esModule", {
  25001. value: true
  25002. });
  25003. exports.default = void 0;
  25004. var _default = {
  25005. props: {
  25006. // 是否展示弹窗
  25007. show: {
  25008. type: Boolean,
  25009. default: uni.$u.props.popup.show
  25010. },
  25011. // 是否显示遮罩
  25012. overlay: {
  25013. type: Boolean,
  25014. default: uni.$u.props.popup.overlay
  25015. },
  25016. // 弹出的方向,可选值为 top bottom right left center
  25017. mode: {
  25018. type: String,
  25019. default: uni.$u.props.popup.mode
  25020. },
  25021. // 动画时长,单位ms
  25022. duration: {
  25023. type: [String, Number],
  25024. default: uni.$u.props.popup.duration
  25025. },
  25026. // 是否显示关闭图标
  25027. closeable: {
  25028. type: Boolean,
  25029. default: uni.$u.props.popup.closeable
  25030. },
  25031. // 自定义遮罩的样式
  25032. overlayStyle: {
  25033. type: [Object, String],
  25034. default: uni.$u.props.popup.overlayStyle
  25035. },
  25036. // 点击遮罩是否关闭弹窗
  25037. closeOnClickOverlay: {
  25038. type: Boolean,
  25039. default: uni.$u.props.popup.closeOnClickOverlay
  25040. },
  25041. // 层级
  25042. zIndex: {
  25043. type: [String, Number],
  25044. default: uni.$u.props.popup.zIndex
  25045. },
  25046. // 是否为iPhoneX留出底部安全距离
  25047. safeAreaInsetBottom: {
  25048. type: Boolean,
  25049. default: uni.$u.props.popup.safeAreaInsetBottom
  25050. },
  25051. // 是否留出顶部安全距离(状态栏高度)
  25052. safeAreaInsetTop: {
  25053. type: Boolean,
  25054. default: uni.$u.props.popup.safeAreaInsetTop
  25055. },
  25056. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  25057. closeIconPos: {
  25058. type: String,
  25059. default: uni.$u.props.popup.closeIconPos
  25060. },
  25061. // 是否显示圆角
  25062. round: {
  25063. type: [Boolean, String, Number],
  25064. default: uni.$u.props.popup.round
  25065. },
  25066. // mode=center,也即中部弹出时,是否使用缩放模式
  25067. zoom: {
  25068. type: Boolean,
  25069. default: uni.$u.props.popup.zoom
  25070. },
  25071. // 弹窗背景色,设置为transparent可去除白色背景
  25072. bgColor: {
  25073. type: String,
  25074. default: uni.$u.props.popup.bgColor
  25075. },
  25076. // 遮罩的透明度,0-1之间
  25077. overlayOpacity: {
  25078. type: [Number, String],
  25079. default: uni.$u.props.popup.overlayOpacity
  25080. }
  25081. }
  25082. };
  25083. exports.default = _default;
  25084. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  25085. /***/ }),
  25086. /***/ 85:
  25087. /*!***********************************************************************!*\
  25088. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/col.js ***!
  25089. \***********************************************************************/
  25090. /*! no static exports found */
  25091. /***/ (function(module, exports, __webpack_require__) {
  25092. "use strict";
  25093. Object.defineProperty(exports, "__esModule", {
  25094. value: true
  25095. });
  25096. exports.default = void 0;
  25097. /*
  25098. * @Author : LQ
  25099. * @Description :
  25100. * @version : 1.0
  25101. * @Date : 2021-08-20 16:44:21
  25102. * @LastAuthor : LQ
  25103. * @lastTime : 2021-08-20 16:56:12
  25104. * @FilePath : /u-view2.0/uview-ui/libs/config/props/col.js
  25105. */
  25106. var _default = {
  25107. // col 组件
  25108. col: {
  25109. span: 12,
  25110. offset: 0,
  25111. justify: 'start',
  25112. align: 'stretch',
  25113. textAlign: 'left'
  25114. }
  25115. };
  25116. exports.default = _default;
  25117. /***/ }),
  25118. /***/ 856:
  25119. /*!**************************************************************************************!*\
  25120. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js ***!
  25121. \**************************************************************************************/
  25122. /*! no static exports found */
  25123. /***/ (function(module, exports, __webpack_require__) {
  25124. "use strict";
  25125. /* WEBPACK VAR INJECTION */(function(global) {/*!
  25126. * vuex v3.6.2
  25127. * (c) 2021 Evan You
  25128. * @license MIT
  25129. */
  25130. function applyMixin (Vue) {
  25131. var version = Number(Vue.version.split('.')[0]);
  25132. if (version >= 2) {
  25133. Vue.mixin({ beforeCreate: vuexInit });
  25134. } else {
  25135. // override init and inject vuex init procedure
  25136. // for 1.x backwards compatibility.
  25137. var _init = Vue.prototype._init;
  25138. Vue.prototype._init = function (options) {
  25139. if ( options === void 0 ) options = {};
  25140. options.init = options.init
  25141. ? [vuexInit].concat(options.init)
  25142. : vuexInit;
  25143. _init.call(this, options);
  25144. };
  25145. }
  25146. /**
  25147. * Vuex init hook, injected into each instances init hooks list.
  25148. */
  25149. function vuexInit () {
  25150. var options = this.$options;
  25151. // store injection
  25152. if (options.store) {
  25153. this.$store = typeof options.store === 'function'
  25154. ? options.store()
  25155. : options.store;
  25156. } else if (options.parent && options.parent.$store) {
  25157. this.$store = options.parent.$store;
  25158. }
  25159. }
  25160. }
  25161. var target = typeof window !== 'undefined'
  25162. ? window
  25163. : typeof global !== 'undefined'
  25164. ? global
  25165. : {};
  25166. var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  25167. function devtoolPlugin (store) {
  25168. if (!devtoolHook) { return }
  25169. store._devtoolHook = devtoolHook;
  25170. devtoolHook.emit('vuex:init', store);
  25171. devtoolHook.on('vuex:travel-to-state', function (targetState) {
  25172. store.replaceState(targetState);
  25173. });
  25174. store.subscribe(function (mutation, state) {
  25175. devtoolHook.emit('vuex:mutation', mutation, state);
  25176. }, { prepend: true });
  25177. store.subscribeAction(function (action, state) {
  25178. devtoolHook.emit('vuex:action', action, state);
  25179. }, { prepend: true });
  25180. }
  25181. /**
  25182. * Get the first item that pass the test
  25183. * by second argument function
  25184. *
  25185. * @param {Array} list
  25186. * @param {Function} f
  25187. * @return {*}
  25188. */
  25189. function find (list, f) {
  25190. return list.filter(f)[0]
  25191. }
  25192. /**
  25193. * Deep copy the given object considering circular structure.
  25194. * This function caches all nested objects and its copies.
  25195. * If it detects circular structure, use cached copy to avoid infinite loop.
  25196. *
  25197. * @param {*} obj
  25198. * @param {Array<Object>} cache
  25199. * @return {*}
  25200. */
  25201. function deepCopy (obj, cache) {
  25202. if ( cache === void 0 ) cache = [];
  25203. // just return if obj is immutable value
  25204. if (obj === null || typeof obj !== 'object') {
  25205. return obj
  25206. }
  25207. // if obj is hit, it is in circular structure
  25208. var hit = find(cache, function (c) { return c.original === obj; });
  25209. if (hit) {
  25210. return hit.copy
  25211. }
  25212. var copy = Array.isArray(obj) ? [] : {};
  25213. // put the copy into cache at first
  25214. // because we want to refer it in recursive deepCopy
  25215. cache.push({
  25216. original: obj,
  25217. copy: copy
  25218. });
  25219. Object.keys(obj).forEach(function (key) {
  25220. copy[key] = deepCopy(obj[key], cache);
  25221. });
  25222. return copy
  25223. }
  25224. /**
  25225. * forEach for object
  25226. */
  25227. function forEachValue (obj, fn) {
  25228. Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
  25229. }
  25230. function isObject (obj) {
  25231. return obj !== null && typeof obj === 'object'
  25232. }
  25233. function isPromise (val) {
  25234. return val && typeof val.then === 'function'
  25235. }
  25236. function assert (condition, msg) {
  25237. if (!condition) { throw new Error(("[vuex] " + msg)) }
  25238. }
  25239. function partial (fn, arg) {
  25240. return function () {
  25241. return fn(arg)
  25242. }
  25243. }
  25244. // Base data struct for store's module, package with some attribute and method
  25245. var Module = function Module (rawModule, runtime) {
  25246. this.runtime = runtime;
  25247. // Store some children item
  25248. this._children = Object.create(null);
  25249. // Store the origin module object which passed by programmer
  25250. this._rawModule = rawModule;
  25251. var rawState = rawModule.state;
  25252. // Store the origin module's state
  25253. this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
  25254. };
  25255. var prototypeAccessors = { namespaced: { configurable: true } };
  25256. prototypeAccessors.namespaced.get = function () {
  25257. return !!this._rawModule.namespaced
  25258. };
  25259. Module.prototype.addChild = function addChild (key, module) {
  25260. this._children[key] = module;
  25261. };
  25262. Module.prototype.removeChild = function removeChild (key) {
  25263. delete this._children[key];
  25264. };
  25265. Module.prototype.getChild = function getChild (key) {
  25266. return this._children[key]
  25267. };
  25268. Module.prototype.hasChild = function hasChild (key) {
  25269. return key in this._children
  25270. };
  25271. Module.prototype.update = function update (rawModule) {
  25272. this._rawModule.namespaced = rawModule.namespaced;
  25273. if (rawModule.actions) {
  25274. this._rawModule.actions = rawModule.actions;
  25275. }
  25276. if (rawModule.mutations) {
  25277. this._rawModule.mutations = rawModule.mutations;
  25278. }
  25279. if (rawModule.getters) {
  25280. this._rawModule.getters = rawModule.getters;
  25281. }
  25282. };
  25283. Module.prototype.forEachChild = function forEachChild (fn) {
  25284. forEachValue(this._children, fn);
  25285. };
  25286. Module.prototype.forEachGetter = function forEachGetter (fn) {
  25287. if (this._rawModule.getters) {
  25288. forEachValue(this._rawModule.getters, fn);
  25289. }
  25290. };
  25291. Module.prototype.forEachAction = function forEachAction (fn) {
  25292. if (this._rawModule.actions) {
  25293. forEachValue(this._rawModule.actions, fn);
  25294. }
  25295. };
  25296. Module.prototype.forEachMutation = function forEachMutation (fn) {
  25297. if (this._rawModule.mutations) {
  25298. forEachValue(this._rawModule.mutations, fn);
  25299. }
  25300. };
  25301. Object.defineProperties( Module.prototype, prototypeAccessors );
  25302. var ModuleCollection = function ModuleCollection (rawRootModule) {
  25303. // register root module (Vuex.Store options)
  25304. this.register([], rawRootModule, false);
  25305. };
  25306. ModuleCollection.prototype.get = function get (path) {
  25307. return path.reduce(function (module, key) {
  25308. return module.getChild(key)
  25309. }, this.root)
  25310. };
  25311. ModuleCollection.prototype.getNamespace = function getNamespace (path) {
  25312. var module = this.root;
  25313. return path.reduce(function (namespace, key) {
  25314. module = module.getChild(key);
  25315. return namespace + (module.namespaced ? key + '/' : '')
  25316. }, '')
  25317. };
  25318. ModuleCollection.prototype.update = function update$1 (rawRootModule) {
  25319. update([], this.root, rawRootModule);
  25320. };
  25321. ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
  25322. var this$1 = this;
  25323. if ( runtime === void 0 ) runtime = true;
  25324. if ((true)) {
  25325. assertRawModule(path, rawModule);
  25326. }
  25327. var newModule = new Module(rawModule, runtime);
  25328. if (path.length === 0) {
  25329. this.root = newModule;
  25330. } else {
  25331. var parent = this.get(path.slice(0, -1));
  25332. parent.addChild(path[path.length - 1], newModule);
  25333. }
  25334. // register nested modules
  25335. if (rawModule.modules) {
  25336. forEachValue(rawModule.modules, function (rawChildModule, key) {
  25337. this$1.register(path.concat(key), rawChildModule, runtime);
  25338. });
  25339. }
  25340. };
  25341. ModuleCollection.prototype.unregister = function unregister (path) {
  25342. var parent = this.get(path.slice(0, -1));
  25343. var key = path[path.length - 1];
  25344. var child = parent.getChild(key);
  25345. if (!child) {
  25346. if ((true)) {
  25347. console.warn(
  25348. "[vuex] trying to unregister module '" + key + "', which is " +
  25349. "not registered"
  25350. );
  25351. }
  25352. return
  25353. }
  25354. if (!child.runtime) {
  25355. return
  25356. }
  25357. parent.removeChild(key);
  25358. };
  25359. ModuleCollection.prototype.isRegistered = function isRegistered (path) {
  25360. var parent = this.get(path.slice(0, -1));
  25361. var key = path[path.length - 1];
  25362. if (parent) {
  25363. return parent.hasChild(key)
  25364. }
  25365. return false
  25366. };
  25367. function update (path, targetModule, newModule) {
  25368. if ((true)) {
  25369. assertRawModule(path, newModule);
  25370. }
  25371. // update target module
  25372. targetModule.update(newModule);
  25373. // update nested modules
  25374. if (newModule.modules) {
  25375. for (var key in newModule.modules) {
  25376. if (!targetModule.getChild(key)) {
  25377. if ((true)) {
  25378. console.warn(
  25379. "[vuex] trying to add a new module '" + key + "' on hot reloading, " +
  25380. 'manual reload is needed'
  25381. );
  25382. }
  25383. return
  25384. }
  25385. update(
  25386. path.concat(key),
  25387. targetModule.getChild(key),
  25388. newModule.modules[key]
  25389. );
  25390. }
  25391. }
  25392. }
  25393. var functionAssert = {
  25394. assert: function (value) { return typeof value === 'function'; },
  25395. expected: 'function'
  25396. };
  25397. var objectAssert = {
  25398. assert: function (value) { return typeof value === 'function' ||
  25399. (typeof value === 'object' && typeof value.handler === 'function'); },
  25400. expected: 'function or object with "handler" function'
  25401. };
  25402. var assertTypes = {
  25403. getters: functionAssert,
  25404. mutations: functionAssert,
  25405. actions: objectAssert
  25406. };
  25407. function assertRawModule (path, rawModule) {
  25408. Object.keys(assertTypes).forEach(function (key) {
  25409. if (!rawModule[key]) { return }
  25410. var assertOptions = assertTypes[key];
  25411. forEachValue(rawModule[key], function (value, type) {
  25412. assert(
  25413. assertOptions.assert(value),
  25414. makeAssertionMessage(path, key, type, value, assertOptions.expected)
  25415. );
  25416. });
  25417. });
  25418. }
  25419. function makeAssertionMessage (path, key, type, value, expected) {
  25420. var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
  25421. if (path.length > 0) {
  25422. buf += " in module \"" + (path.join('.')) + "\"";
  25423. }
  25424. buf += " is " + (JSON.stringify(value)) + ".";
  25425. return buf
  25426. }
  25427. var Vue; // bind on install
  25428. var Store = function Store (options) {
  25429. var this$1 = this;
  25430. if ( options === void 0 ) options = {};
  25431. // Auto install if it is not done yet and `window` has `Vue`.
  25432. // To allow users to avoid auto-installation in some cases,
  25433. // this code should be placed here. See #731
  25434. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  25435. install(window.Vue);
  25436. }
  25437. if ((true)) {
  25438. assert(Vue, "must call Vue.use(Vuex) before creating a store instance.");
  25439. assert(typeof Promise !== 'undefined', "vuex requires a Promise polyfill in this browser.");
  25440. assert(this instanceof Store, "store must be called with the new operator.");
  25441. }
  25442. var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
  25443. var strict = options.strict; if ( strict === void 0 ) strict = false;
  25444. // store internal state
  25445. this._committing = false;
  25446. this._actions = Object.create(null);
  25447. this._actionSubscribers = [];
  25448. this._mutations = Object.create(null);
  25449. this._wrappedGetters = Object.create(null);
  25450. this._modules = new ModuleCollection(options);
  25451. this._modulesNamespaceMap = Object.create(null);
  25452. this._subscribers = [];
  25453. this._watcherVM = new Vue();
  25454. this._makeLocalGettersCache = Object.create(null);
  25455. // bind commit and dispatch to self
  25456. var store = this;
  25457. var ref = this;
  25458. var dispatch = ref.dispatch;
  25459. var commit = ref.commit;
  25460. this.dispatch = function boundDispatch (type, payload) {
  25461. return dispatch.call(store, type, payload)
  25462. };
  25463. this.commit = function boundCommit (type, payload, options) {
  25464. return commit.call(store, type, payload, options)
  25465. };
  25466. // strict mode
  25467. this.strict = strict;
  25468. var state = this._modules.root.state;
  25469. // init root module.
  25470. // this also recursively registers all sub-modules
  25471. // and collects all module getters inside this._wrappedGetters
  25472. installModule(this, state, [], this._modules.root);
  25473. // initialize the store vm, which is responsible for the reactivity
  25474. // (also registers _wrappedGetters as computed properties)
  25475. resetStoreVM(this, state);
  25476. // apply plugins
  25477. plugins.forEach(function (plugin) { return plugin(this$1); });
  25478. var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
  25479. if (useDevtools) {
  25480. devtoolPlugin(this);
  25481. }
  25482. };
  25483. var prototypeAccessors$1 = { state: { configurable: true } };
  25484. prototypeAccessors$1.state.get = function () {
  25485. return this._vm._data.$$state
  25486. };
  25487. prototypeAccessors$1.state.set = function (v) {
  25488. if ((true)) {
  25489. assert(false, "use store.replaceState() to explicit replace store state.");
  25490. }
  25491. };
  25492. Store.prototype.commit = function commit (_type, _payload, _options) {
  25493. var this$1 = this;
  25494. // check object-style commit
  25495. var ref = unifyObjectStyle(_type, _payload, _options);
  25496. var type = ref.type;
  25497. var payload = ref.payload;
  25498. var options = ref.options;
  25499. var mutation = { type: type, payload: payload };
  25500. var entry = this._mutations[type];
  25501. if (!entry) {
  25502. if ((true)) {
  25503. console.error(("[vuex] unknown mutation type: " + type));
  25504. }
  25505. return
  25506. }
  25507. this._withCommit(function () {
  25508. entry.forEach(function commitIterator (handler) {
  25509. handler(payload);
  25510. });
  25511. });
  25512. this._subscribers
  25513. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  25514. .forEach(function (sub) { return sub(mutation, this$1.state); });
  25515. if (
  25516. ( true) &&
  25517. options && options.silent
  25518. ) {
  25519. console.warn(
  25520. "[vuex] mutation type: " + type + ". Silent option has been removed. " +
  25521. 'Use the filter functionality in the vue-devtools'
  25522. );
  25523. }
  25524. };
  25525. Store.prototype.dispatch = function dispatch (_type, _payload) {
  25526. var this$1 = this;
  25527. // check object-style dispatch
  25528. var ref = unifyObjectStyle(_type, _payload);
  25529. var type = ref.type;
  25530. var payload = ref.payload;
  25531. var action = { type: type, payload: payload };
  25532. var entry = this._actions[type];
  25533. if (!entry) {
  25534. if ((true)) {
  25535. console.error(("[vuex] unknown action type: " + type));
  25536. }
  25537. return
  25538. }
  25539. try {
  25540. this._actionSubscribers
  25541. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  25542. .filter(function (sub) { return sub.before; })
  25543. .forEach(function (sub) { return sub.before(action, this$1.state); });
  25544. } catch (e) {
  25545. if ((true)) {
  25546. console.warn("[vuex] error in before action subscribers: ");
  25547. console.error(e);
  25548. }
  25549. }
  25550. var result = entry.length > 1
  25551. ? Promise.all(entry.map(function (handler) { return handler(payload); }))
  25552. : entry[0](payload);
  25553. return new Promise(function (resolve, reject) {
  25554. result.then(function (res) {
  25555. try {
  25556. this$1._actionSubscribers
  25557. .filter(function (sub) { return sub.after; })
  25558. .forEach(function (sub) { return sub.after(action, this$1.state); });
  25559. } catch (e) {
  25560. if ((true)) {
  25561. console.warn("[vuex] error in after action subscribers: ");
  25562. console.error(e);
  25563. }
  25564. }
  25565. resolve(res);
  25566. }, function (error) {
  25567. try {
  25568. this$1._actionSubscribers
  25569. .filter(function (sub) { return sub.error; })
  25570. .forEach(function (sub) { return sub.error(action, this$1.state, error); });
  25571. } catch (e) {
  25572. if ((true)) {
  25573. console.warn("[vuex] error in error action subscribers: ");
  25574. console.error(e);
  25575. }
  25576. }
  25577. reject(error);
  25578. });
  25579. })
  25580. };
  25581. Store.prototype.subscribe = function subscribe (fn, options) {
  25582. return genericSubscribe(fn, this._subscribers, options)
  25583. };
  25584. Store.prototype.subscribeAction = function subscribeAction (fn, options) {
  25585. var subs = typeof fn === 'function' ? { before: fn } : fn;
  25586. return genericSubscribe(subs, this._actionSubscribers, options)
  25587. };
  25588. Store.prototype.watch = function watch (getter, cb, options) {
  25589. var this$1 = this;
  25590. if ((true)) {
  25591. assert(typeof getter === 'function', "store.watch only accepts a function.");
  25592. }
  25593. return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
  25594. };
  25595. Store.prototype.replaceState = function replaceState (state) {
  25596. var this$1 = this;
  25597. this._withCommit(function () {
  25598. this$1._vm._data.$$state = state;
  25599. });
  25600. };
  25601. Store.prototype.registerModule = function registerModule (path, rawModule, options) {
  25602. if ( options === void 0 ) options = {};
  25603. if (typeof path === 'string') { path = [path]; }
  25604. if ((true)) {
  25605. assert(Array.isArray(path), "module path must be a string or an Array.");
  25606. assert(path.length > 0, 'cannot register the root module by using registerModule.');
  25607. }
  25608. this._modules.register(path, rawModule);
  25609. installModule(this, this.state, path, this._modules.get(path), options.preserveState);
  25610. // reset store to update getters...
  25611. resetStoreVM(this, this.state);
  25612. };
  25613. Store.prototype.unregisterModule = function unregisterModule (path) {
  25614. var this$1 = this;
  25615. if (typeof path === 'string') { path = [path]; }
  25616. if ((true)) {
  25617. assert(Array.isArray(path), "module path must be a string or an Array.");
  25618. }
  25619. this._modules.unregister(path);
  25620. this._withCommit(function () {
  25621. var parentState = getNestedState(this$1.state, path.slice(0, -1));
  25622. Vue.delete(parentState, path[path.length - 1]);
  25623. });
  25624. resetStore(this);
  25625. };
  25626. Store.prototype.hasModule = function hasModule (path) {
  25627. if (typeof path === 'string') { path = [path]; }
  25628. if ((true)) {
  25629. assert(Array.isArray(path), "module path must be a string or an Array.");
  25630. }
  25631. return this._modules.isRegistered(path)
  25632. };
  25633. Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) {
  25634. this._modules.update(newOptions);
  25635. resetStore(this, true);
  25636. };
  25637. Store.prototype._withCommit = function _withCommit (fn) {
  25638. var committing = this._committing;
  25639. this._committing = true;
  25640. fn();
  25641. this._committing = committing;
  25642. };
  25643. Object.defineProperties( Store.prototype, prototypeAccessors$1 );
  25644. function genericSubscribe (fn, subs, options) {
  25645. if (subs.indexOf(fn) < 0) {
  25646. options && options.prepend
  25647. ? subs.unshift(fn)
  25648. : subs.push(fn);
  25649. }
  25650. return function () {
  25651. var i = subs.indexOf(fn);
  25652. if (i > -1) {
  25653. subs.splice(i, 1);
  25654. }
  25655. }
  25656. }
  25657. function resetStore (store, hot) {
  25658. store._actions = Object.create(null);
  25659. store._mutations = Object.create(null);
  25660. store._wrappedGetters = Object.create(null);
  25661. store._modulesNamespaceMap = Object.create(null);
  25662. var state = store.state;
  25663. // init all modules
  25664. installModule(store, state, [], store._modules.root, true);
  25665. // reset vm
  25666. resetStoreVM(store, state, hot);
  25667. }
  25668. function resetStoreVM (store, state, hot) {
  25669. var oldVm = store._vm;
  25670. // bind store public getters
  25671. store.getters = {};
  25672. // reset local getters cache
  25673. store._makeLocalGettersCache = Object.create(null);
  25674. var wrappedGetters = store._wrappedGetters;
  25675. var computed = {};
  25676. forEachValue(wrappedGetters, function (fn, key) {
  25677. // use computed to leverage its lazy-caching mechanism
  25678. // direct inline function use will lead to closure preserving oldVm.
  25679. // using partial to return function with only arguments preserved in closure environment.
  25680. computed[key] = partial(fn, store);
  25681. Object.defineProperty(store.getters, key, {
  25682. get: function () { return store._vm[key]; },
  25683. enumerable: true // for local getters
  25684. });
  25685. });
  25686. // use a Vue instance to store the state tree
  25687. // suppress warnings just in case the user has added
  25688. // some funky global mixins
  25689. var silent = Vue.config.silent;
  25690. Vue.config.silent = true;
  25691. store._vm = new Vue({
  25692. data: {
  25693. $$state: state
  25694. },
  25695. computed: computed
  25696. });
  25697. Vue.config.silent = silent;
  25698. // enable strict mode for new vm
  25699. if (store.strict) {
  25700. enableStrictMode(store);
  25701. }
  25702. if (oldVm) {
  25703. if (hot) {
  25704. // dispatch changes in all subscribed watchers
  25705. // to force getter re-evaluation for hot reloading.
  25706. store._withCommit(function () {
  25707. oldVm._data.$$state = null;
  25708. });
  25709. }
  25710. Vue.nextTick(function () { return oldVm.$destroy(); });
  25711. }
  25712. }
  25713. function installModule (store, rootState, path, module, hot) {
  25714. var isRoot = !path.length;
  25715. var namespace = store._modules.getNamespace(path);
  25716. // register in namespace map
  25717. if (module.namespaced) {
  25718. if (store._modulesNamespaceMap[namespace] && ("development" !== 'production')) {
  25719. console.error(("[vuex] duplicate namespace " + namespace + " for the namespaced module " + (path.join('/'))));
  25720. }
  25721. store._modulesNamespaceMap[namespace] = module;
  25722. }
  25723. // set state
  25724. if (!isRoot && !hot) {
  25725. var parentState = getNestedState(rootState, path.slice(0, -1));
  25726. var moduleName = path[path.length - 1];
  25727. store._withCommit(function () {
  25728. if ((true)) {
  25729. if (moduleName in parentState) {
  25730. console.warn(
  25731. ("[vuex] state field \"" + moduleName + "\" was overridden by a module with the same name at \"" + (path.join('.')) + "\"")
  25732. );
  25733. }
  25734. }
  25735. Vue.set(parentState, moduleName, module.state);
  25736. });
  25737. }
  25738. var local = module.context = makeLocalContext(store, namespace, path);
  25739. module.forEachMutation(function (mutation, key) {
  25740. var namespacedType = namespace + key;
  25741. registerMutation(store, namespacedType, mutation, local);
  25742. });
  25743. module.forEachAction(function (action, key) {
  25744. var type = action.root ? key : namespace + key;
  25745. var handler = action.handler || action;
  25746. registerAction(store, type, handler, local);
  25747. });
  25748. module.forEachGetter(function (getter, key) {
  25749. var namespacedType = namespace + key;
  25750. registerGetter(store, namespacedType, getter, local);
  25751. });
  25752. module.forEachChild(function (child, key) {
  25753. installModule(store, rootState, path.concat(key), child, hot);
  25754. });
  25755. }
  25756. /**
  25757. * make localized dispatch, commit, getters and state
  25758. * if there is no namespace, just use root ones
  25759. */
  25760. function makeLocalContext (store, namespace, path) {
  25761. var noNamespace = namespace === '';
  25762. var local = {
  25763. dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
  25764. var args = unifyObjectStyle(_type, _payload, _options);
  25765. var payload = args.payload;
  25766. var options = args.options;
  25767. var type = args.type;
  25768. if (!options || !options.root) {
  25769. type = namespace + type;
  25770. if (( true) && !store._actions[type]) {
  25771. console.error(("[vuex] unknown local action type: " + (args.type) + ", global type: " + type));
  25772. return
  25773. }
  25774. }
  25775. return store.dispatch(type, payload)
  25776. },
  25777. commit: noNamespace ? store.commit : function (_type, _payload, _options) {
  25778. var args = unifyObjectStyle(_type, _payload, _options);
  25779. var payload = args.payload;
  25780. var options = args.options;
  25781. var type = args.type;
  25782. if (!options || !options.root) {
  25783. type = namespace + type;
  25784. if (( true) && !store._mutations[type]) {
  25785. console.error(("[vuex] unknown local mutation type: " + (args.type) + ", global type: " + type));
  25786. return
  25787. }
  25788. }
  25789. store.commit(type, payload, options);
  25790. }
  25791. };
  25792. // getters and state object must be gotten lazily
  25793. // because they will be changed by vm update
  25794. Object.defineProperties(local, {
  25795. getters: {
  25796. get: noNamespace
  25797. ? function () { return store.getters; }
  25798. : function () { return makeLocalGetters(store, namespace); }
  25799. },
  25800. state: {
  25801. get: function () { return getNestedState(store.state, path); }
  25802. }
  25803. });
  25804. return local
  25805. }
  25806. function makeLocalGetters (store, namespace) {
  25807. if (!store._makeLocalGettersCache[namespace]) {
  25808. var gettersProxy = {};
  25809. var splitPos = namespace.length;
  25810. Object.keys(store.getters).forEach(function (type) {
  25811. // skip if the target getter is not match this namespace
  25812. if (type.slice(0, splitPos) !== namespace) { return }
  25813. // extract local getter type
  25814. var localType = type.slice(splitPos);
  25815. // Add a port to the getters proxy.
  25816. // Define as getter property because
  25817. // we do not want to evaluate the getters in this time.
  25818. Object.defineProperty(gettersProxy, localType, {
  25819. get: function () { return store.getters[type]; },
  25820. enumerable: true
  25821. });
  25822. });
  25823. store._makeLocalGettersCache[namespace] = gettersProxy;
  25824. }
  25825. return store._makeLocalGettersCache[namespace]
  25826. }
  25827. function registerMutation (store, type, handler, local) {
  25828. var entry = store._mutations[type] || (store._mutations[type] = []);
  25829. entry.push(function wrappedMutationHandler (payload) {
  25830. handler.call(store, local.state, payload);
  25831. });
  25832. }
  25833. function registerAction (store, type, handler, local) {
  25834. var entry = store._actions[type] || (store._actions[type] = []);
  25835. entry.push(function wrappedActionHandler (payload) {
  25836. var res = handler.call(store, {
  25837. dispatch: local.dispatch,
  25838. commit: local.commit,
  25839. getters: local.getters,
  25840. state: local.state,
  25841. rootGetters: store.getters,
  25842. rootState: store.state
  25843. }, payload);
  25844. if (!isPromise(res)) {
  25845. res = Promise.resolve(res);
  25846. }
  25847. if (store._devtoolHook) {
  25848. return res.catch(function (err) {
  25849. store._devtoolHook.emit('vuex:error', err);
  25850. throw err
  25851. })
  25852. } else {
  25853. return res
  25854. }
  25855. });
  25856. }
  25857. function registerGetter (store, type, rawGetter, local) {
  25858. if (store._wrappedGetters[type]) {
  25859. if ((true)) {
  25860. console.error(("[vuex] duplicate getter key: " + type));
  25861. }
  25862. return
  25863. }
  25864. store._wrappedGetters[type] = function wrappedGetter (store) {
  25865. return rawGetter(
  25866. local.state, // local state
  25867. local.getters, // local getters
  25868. store.state, // root state
  25869. store.getters // root getters
  25870. )
  25871. };
  25872. }
  25873. function enableStrictMode (store) {
  25874. store._vm.$watch(function () { return this._data.$$state }, function () {
  25875. if ((true)) {
  25876. assert(store._committing, "do not mutate vuex store state outside mutation handlers.");
  25877. }
  25878. }, { deep: true, sync: true });
  25879. }
  25880. function getNestedState (state, path) {
  25881. return path.reduce(function (state, key) { return state[key]; }, state)
  25882. }
  25883. function unifyObjectStyle (type, payload, options) {
  25884. if (isObject(type) && type.type) {
  25885. options = payload;
  25886. payload = type;
  25887. type = type.type;
  25888. }
  25889. if ((true)) {
  25890. assert(typeof type === 'string', ("expects string as the type, but found " + (typeof type) + "."));
  25891. }
  25892. return { type: type, payload: payload, options: options }
  25893. }
  25894. function install (_Vue) {
  25895. if (Vue && _Vue === Vue) {
  25896. if ((true)) {
  25897. console.error(
  25898. '[vuex] already installed. Vue.use(Vuex) should be called only once.'
  25899. );
  25900. }
  25901. return
  25902. }
  25903. Vue = _Vue;
  25904. applyMixin(Vue);
  25905. }
  25906. /**
  25907. * Reduce the code which written in Vue.js for getting the state.
  25908. * @param {String} [namespace] - Module's namespace
  25909. * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
  25910. * @param {Object}
  25911. */
  25912. var mapState = normalizeNamespace(function (namespace, states) {
  25913. var res = {};
  25914. if (( true) && !isValidMap(states)) {
  25915. console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');
  25916. }
  25917. normalizeMap(states).forEach(function (ref) {
  25918. var key = ref.key;
  25919. var val = ref.val;
  25920. res[key] = function mappedState () {
  25921. var state = this.$store.state;
  25922. var getters = this.$store.getters;
  25923. if (namespace) {
  25924. var module = getModuleByNamespace(this.$store, 'mapState', namespace);
  25925. if (!module) {
  25926. return
  25927. }
  25928. state = module.context.state;
  25929. getters = module.context.getters;
  25930. }
  25931. return typeof val === 'function'
  25932. ? val.call(this, state, getters)
  25933. : state[val]
  25934. };
  25935. // mark vuex getter for devtools
  25936. res[key].vuex = true;
  25937. });
  25938. return res
  25939. });
  25940. /**
  25941. * Reduce the code which written in Vue.js for committing the mutation
  25942. * @param {String} [namespace] - Module's namespace
  25943. * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  25944. * @return {Object}
  25945. */
  25946. var mapMutations = normalizeNamespace(function (namespace, mutations) {
  25947. var res = {};
  25948. if (( true) && !isValidMap(mutations)) {
  25949. console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');
  25950. }
  25951. normalizeMap(mutations).forEach(function (ref) {
  25952. var key = ref.key;
  25953. var val = ref.val;
  25954. res[key] = function mappedMutation () {
  25955. var args = [], len = arguments.length;
  25956. while ( len-- ) args[ len ] = arguments[ len ];
  25957. // Get the commit method from store
  25958. var commit = this.$store.commit;
  25959. if (namespace) {
  25960. var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
  25961. if (!module) {
  25962. return
  25963. }
  25964. commit = module.context.commit;
  25965. }
  25966. return typeof val === 'function'
  25967. ? val.apply(this, [commit].concat(args))
  25968. : commit.apply(this.$store, [val].concat(args))
  25969. };
  25970. });
  25971. return res
  25972. });
  25973. /**
  25974. * Reduce the code which written in Vue.js for getting the getters
  25975. * @param {String} [namespace] - Module's namespace
  25976. * @param {Object|Array} getters
  25977. * @return {Object}
  25978. */
  25979. var mapGetters = normalizeNamespace(function (namespace, getters) {
  25980. var res = {};
  25981. if (( true) && !isValidMap(getters)) {
  25982. console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');
  25983. }
  25984. normalizeMap(getters).forEach(function (ref) {
  25985. var key = ref.key;
  25986. var val = ref.val;
  25987. // The namespace has been mutated by normalizeNamespace
  25988. val = namespace + val;
  25989. res[key] = function mappedGetter () {
  25990. if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
  25991. return
  25992. }
  25993. if (( true) && !(val in this.$store.getters)) {
  25994. console.error(("[vuex] unknown getter: " + val));
  25995. return
  25996. }
  25997. return this.$store.getters[val]
  25998. };
  25999. // mark vuex getter for devtools
  26000. res[key].vuex = true;
  26001. });
  26002. return res
  26003. });
  26004. /**
  26005. * Reduce the code which written in Vue.js for dispatch the action
  26006. * @param {String} [namespace] - Module's namespace
  26007. * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  26008. * @return {Object}
  26009. */
  26010. var mapActions = normalizeNamespace(function (namespace, actions) {
  26011. var res = {};
  26012. if (( true) && !isValidMap(actions)) {
  26013. console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');
  26014. }
  26015. normalizeMap(actions).forEach(function (ref) {
  26016. var key = ref.key;
  26017. var val = ref.val;
  26018. res[key] = function mappedAction () {
  26019. var args = [], len = arguments.length;
  26020. while ( len-- ) args[ len ] = arguments[ len ];
  26021. // get dispatch function from store
  26022. var dispatch = this.$store.dispatch;
  26023. if (namespace) {
  26024. var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
  26025. if (!module) {
  26026. return
  26027. }
  26028. dispatch = module.context.dispatch;
  26029. }
  26030. return typeof val === 'function'
  26031. ? val.apply(this, [dispatch].concat(args))
  26032. : dispatch.apply(this.$store, [val].concat(args))
  26033. };
  26034. });
  26035. return res
  26036. });
  26037. /**
  26038. * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
  26039. * @param {String} namespace
  26040. * @return {Object}
  26041. */
  26042. var createNamespacedHelpers = function (namespace) { return ({
  26043. mapState: mapState.bind(null, namespace),
  26044. mapGetters: mapGetters.bind(null, namespace),
  26045. mapMutations: mapMutations.bind(null, namespace),
  26046. mapActions: mapActions.bind(null, namespace)
  26047. }); };
  26048. /**
  26049. * Normalize the map
  26050. * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
  26051. * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
  26052. * @param {Array|Object} map
  26053. * @return {Object}
  26054. */
  26055. function normalizeMap (map) {
  26056. if (!isValidMap(map)) {
  26057. return []
  26058. }
  26059. return Array.isArray(map)
  26060. ? map.map(function (key) { return ({ key: key, val: key }); })
  26061. : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
  26062. }
  26063. /**
  26064. * Validate whether given map is valid or not
  26065. * @param {*} map
  26066. * @return {Boolean}
  26067. */
  26068. function isValidMap (map) {
  26069. return Array.isArray(map) || isObject(map)
  26070. }
  26071. /**
  26072. * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
  26073. * @param {Function} fn
  26074. * @return {Function}
  26075. */
  26076. function normalizeNamespace (fn) {
  26077. return function (namespace, map) {
  26078. if (typeof namespace !== 'string') {
  26079. map = namespace;
  26080. namespace = '';
  26081. } else if (namespace.charAt(namespace.length - 1) !== '/') {
  26082. namespace += '/';
  26083. }
  26084. return fn(namespace, map)
  26085. }
  26086. }
  26087. /**
  26088. * Search a special module from store by namespace. if module not exist, print error message.
  26089. * @param {Object} store
  26090. * @param {String} helper
  26091. * @param {String} namespace
  26092. * @return {Object}
  26093. */
  26094. function getModuleByNamespace (store, helper, namespace) {
  26095. var module = store._modulesNamespaceMap[namespace];
  26096. if (( true) && !module) {
  26097. console.error(("[vuex] module namespace not found in " + helper + "(): " + namespace));
  26098. }
  26099. return module
  26100. }
  26101. // Credits: borrowed code from fcomb/redux-logger
  26102. function createLogger (ref) {
  26103. if ( ref === void 0 ) ref = {};
  26104. var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
  26105. var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
  26106. var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
  26107. var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
  26108. var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
  26109. var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
  26110. var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
  26111. var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
  26112. var logger = ref.logger; if ( logger === void 0 ) logger = console;
  26113. return function (store) {
  26114. var prevState = deepCopy(store.state);
  26115. if (typeof logger === 'undefined') {
  26116. return
  26117. }
  26118. if (logMutations) {
  26119. store.subscribe(function (mutation, state) {
  26120. var nextState = deepCopy(state);
  26121. if (filter(mutation, prevState, nextState)) {
  26122. var formattedTime = getFormattedTime();
  26123. var formattedMutation = mutationTransformer(mutation);
  26124. var message = "mutation " + (mutation.type) + formattedTime;
  26125. startMessage(logger, message, collapsed);
  26126. logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
  26127. logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
  26128. logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
  26129. endMessage(logger);
  26130. }
  26131. prevState = nextState;
  26132. });
  26133. }
  26134. if (logActions) {
  26135. store.subscribeAction(function (action, state) {
  26136. if (actionFilter(action, state)) {
  26137. var formattedTime = getFormattedTime();
  26138. var formattedAction = actionTransformer(action);
  26139. var message = "action " + (action.type) + formattedTime;
  26140. startMessage(logger, message, collapsed);
  26141. logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
  26142. endMessage(logger);
  26143. }
  26144. });
  26145. }
  26146. }
  26147. }
  26148. function startMessage (logger, message, collapsed) {
  26149. var startMessage = collapsed
  26150. ? logger.groupCollapsed
  26151. : logger.group;
  26152. // render
  26153. try {
  26154. startMessage.call(logger, message);
  26155. } catch (e) {
  26156. logger.log(message);
  26157. }
  26158. }
  26159. function endMessage (logger) {
  26160. try {
  26161. logger.groupEnd();
  26162. } catch (e) {
  26163. logger.log('—— log end ——');
  26164. }
  26165. }
  26166. function getFormattedTime () {
  26167. var time = new Date();
  26168. return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
  26169. }
  26170. function repeat (str, times) {
  26171. return (new Array(times + 1)).join(str)
  26172. }
  26173. function pad (num, maxLength) {
  26174. return repeat('0', maxLength - num.toString().length) + num
  26175. }
  26176. var index_cjs = {
  26177. Store: Store,
  26178. install: install,
  26179. version: '3.6.2',
  26180. mapState: mapState,
  26181. mapMutations: mapMutations,
  26182. mapGetters: mapGetters,
  26183. mapActions: mapActions,
  26184. createNamespacedHelpers: createNamespacedHelpers,
  26185. createLogger: createLogger
  26186. };
  26187. module.exports = index_cjs;
  26188. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  26189. /***/ }),
  26190. /***/ 86:
  26191. /*!****************************************************************************!*\
  26192. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/collapse.js ***!
  26193. \****************************************************************************/
  26194. /*! no static exports found */
  26195. /***/ (function(module, exports, __webpack_require__) {
  26196. "use strict";
  26197. Object.defineProperty(exports, "__esModule", {
  26198. value: true
  26199. });
  26200. exports.default = void 0;
  26201. /*
  26202. * @Author : LQ
  26203. * @Description :
  26204. * @version : 1.0
  26205. * @Date : 2021-08-20 16:44:21
  26206. * @LastAuthor : LQ
  26207. * @lastTime : 2021-08-20 16:56:30
  26208. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapse.js
  26209. */
  26210. var _default = {
  26211. // collapse 组件
  26212. collapse: {
  26213. value: null,
  26214. accordion: false,
  26215. border: true
  26216. }
  26217. };
  26218. exports.default = _default;
  26219. /***/ }),
  26220. /***/ 87:
  26221. /*!********************************************************************************!*\
  26222. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/collapseItem.js ***!
  26223. \********************************************************************************/
  26224. /*! no static exports found */
  26225. /***/ (function(module, exports, __webpack_require__) {
  26226. "use strict";
  26227. Object.defineProperty(exports, "__esModule", {
  26228. value: true
  26229. });
  26230. exports.default = void 0;
  26231. /*
  26232. * @Author : LQ
  26233. * @Description :
  26234. * @version : 1.0
  26235. * @Date : 2021-08-20 16:44:21
  26236. * @LastAuthor : LQ
  26237. * @lastTime : 2021-08-20 16:56:42
  26238. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapseItem.js
  26239. */
  26240. var _default = {
  26241. // collapseItem 组件
  26242. collapseItem: {
  26243. title: '',
  26244. value: '',
  26245. label: '',
  26246. disabled: false,
  26247. isLink: true,
  26248. clickable: true,
  26249. border: true,
  26250. align: 'left',
  26251. name: '',
  26252. icon: '',
  26253. duration: 300
  26254. }
  26255. };
  26256. exports.default = _default;
  26257. /***/ }),
  26258. /***/ 88:
  26259. /*!********************************************************************************!*\
  26260. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/columnNotice.js ***!
  26261. \********************************************************************************/
  26262. /*! no static exports found */
  26263. /***/ (function(module, exports, __webpack_require__) {
  26264. "use strict";
  26265. Object.defineProperty(exports, "__esModule", {
  26266. value: true
  26267. });
  26268. exports.default = void 0;
  26269. /*
  26270. * @Author : LQ
  26271. * @Description :
  26272. * @version : 1.0
  26273. * @Date : 2021-08-20 16:44:21
  26274. * @LastAuthor : LQ
  26275. * @lastTime : 2021-08-20 16:57:16
  26276. * @FilePath : /u-view2.0/uview-ui/libs/config/props/columnNotice.js
  26277. */
  26278. var _default = {
  26279. // columnNotice 组件
  26280. columnNotice: {
  26281. text: '',
  26282. icon: 'volume',
  26283. mode: '',
  26284. color: '#f9ae3d',
  26285. bgColor: '#fdf6ec',
  26286. fontSize: 14,
  26287. speed: 80,
  26288. step: false,
  26289. duration: 1500,
  26290. disableTouch: true
  26291. }
  26292. };
  26293. exports.default = _default;
  26294. /***/ }),
  26295. /***/ 89:
  26296. /*!*****************************************************************************!*\
  26297. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/countDown.js ***!
  26298. \*****************************************************************************/
  26299. /*! no static exports found */
  26300. /***/ (function(module, exports, __webpack_require__) {
  26301. "use strict";
  26302. Object.defineProperty(exports, "__esModule", {
  26303. value: true
  26304. });
  26305. exports.default = void 0;
  26306. /*
  26307. * @Author : LQ
  26308. * @Description :
  26309. * @version : 1.0
  26310. * @Date : 2021-08-20 16:44:21
  26311. * @LastAuthor : LQ
  26312. * @lastTime : 2021-08-20 17:11:29
  26313. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countDown.js
  26314. */
  26315. var _default = {
  26316. // u-count-down 计时器组件
  26317. countDown: {
  26318. time: 0,
  26319. format: 'HH:mm:ss',
  26320. autoStart: true,
  26321. millisecond: false
  26322. }
  26323. };
  26324. exports.default = _default;
  26325. /***/ }),
  26326. /***/ 892:
  26327. /*!**************************************************************************!*\
  26328. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-badge/props.js ***!
  26329. \**************************************************************************/
  26330. /*! no static exports found */
  26331. /***/ (function(module, exports, __webpack_require__) {
  26332. "use strict";
  26333. /* WEBPACK VAR INJECTION */(function(uni) {
  26334. Object.defineProperty(exports, "__esModule", {
  26335. value: true
  26336. });
  26337. exports.default = void 0;
  26338. var _default = {
  26339. props: {
  26340. // 是否显示圆点
  26341. isDot: {
  26342. type: Boolean,
  26343. default: uni.$u.props.badge.isDot
  26344. },
  26345. // 显示的内容
  26346. value: {
  26347. type: [Number, String],
  26348. default: uni.$u.props.badge.value
  26349. },
  26350. // 是否显示
  26351. show: {
  26352. type: Boolean,
  26353. default: uni.$u.props.badge.show
  26354. },
  26355. // 最大值,超过最大值会显示 '{max}+'
  26356. max: {
  26357. type: [Number, String],
  26358. default: uni.$u.props.badge.max
  26359. },
  26360. // 主题类型,error|warning|success|primary
  26361. type: {
  26362. type: String,
  26363. default: uni.$u.props.badge.type
  26364. },
  26365. // 当数值为 0 时,是否展示 Badge
  26366. showZero: {
  26367. type: Boolean,
  26368. default: uni.$u.props.badge.showZero
  26369. },
  26370. // 背景颜色,优先级比type高,如设置,type参数会失效
  26371. bgColor: {
  26372. type: [String, null],
  26373. default: uni.$u.props.badge.bgColor
  26374. },
  26375. // 字体颜色
  26376. color: {
  26377. type: [String, null],
  26378. default: uni.$u.props.badge.color
  26379. },
  26380. // 徽标形状,circle-四角均为圆角,horn-左下角为直角
  26381. shape: {
  26382. type: String,
  26383. default: uni.$u.props.badge.shape
  26384. },
  26385. // 设置数字的显示方式,overflow|ellipsis|limit
  26386. // overflow会根据max字段判断,超出显示`${max}+`
  26387. // ellipsis会根据max判断,超出显示`${max}...`
  26388. // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
  26389. numberType: {
  26390. type: String,
  26391. default: uni.$u.props.badge.numberType
  26392. },
  26393. // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
  26394. offset: {
  26395. type: Array,
  26396. default: uni.$u.props.badge.offset
  26397. },
  26398. // 是否反转背景和字体颜色
  26399. inverted: {
  26400. type: Boolean,
  26401. default: uni.$u.props.badge.inverted
  26402. },
  26403. // 是否绝对定位
  26404. absolute: {
  26405. type: Boolean,
  26406. default: uni.$u.props.badge.absolute
  26407. }
  26408. }
  26409. };
  26410. exports.default = _default;
  26411. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26412. /***/ }),
  26413. /***/ 9:
  26414. /*!*****************************************************************!*\
  26415. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  26416. \*****************************************************************/
  26417. /*! no static exports found */
  26418. /***/ (function(module, exports) {
  26419. function _arrayLikeToArray(arr, len) {
  26420. if (len == null || len > arr.length) len = arr.length;
  26421. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  26422. arr2[i] = arr[i];
  26423. }
  26424. return arr2;
  26425. }
  26426. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  26427. /***/ }),
  26428. /***/ 90:
  26429. /*!***************************************************************************!*\
  26430. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/countTo.js ***!
  26431. \***************************************************************************/
  26432. /*! no static exports found */
  26433. /***/ (function(module, exports, __webpack_require__) {
  26434. "use strict";
  26435. Object.defineProperty(exports, "__esModule", {
  26436. value: true
  26437. });
  26438. exports.default = void 0;
  26439. /*
  26440. * @Author : LQ
  26441. * @Description :
  26442. * @version : 1.0
  26443. * @Date : 2021-08-20 16:44:21
  26444. * @LastAuthor : LQ
  26445. * @lastTime : 2021-08-20 16:57:32
  26446. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countTo.js
  26447. */
  26448. var _default = {
  26449. // countTo 组件
  26450. countTo: {
  26451. startVal: 0,
  26452. endVal: 0,
  26453. duration: 2000,
  26454. autoplay: true,
  26455. decimals: 0,
  26456. useEasing: true,
  26457. decimal: '.',
  26458. color: '#606266',
  26459. fontSize: 22,
  26460. bold: false,
  26461. separator: ''
  26462. }
  26463. };
  26464. exports.default = _default;
  26465. /***/ }),
  26466. /***/ 900:
  26467. /*!**********************************************************************************!*\
  26468. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-line-progress/props.js ***!
  26469. \**********************************************************************************/
  26470. /*! no static exports found */
  26471. /***/ (function(module, exports, __webpack_require__) {
  26472. "use strict";
  26473. /* WEBPACK VAR INJECTION */(function(uni) {
  26474. Object.defineProperty(exports, "__esModule", {
  26475. value: true
  26476. });
  26477. exports.default = void 0;
  26478. var _default = {
  26479. props: {
  26480. // 激活部分的颜色
  26481. activeColor: {
  26482. type: String,
  26483. default: uni.$u.props.lineProgress.activeColor
  26484. },
  26485. inactiveColor: {
  26486. type: String,
  26487. default: uni.$u.props.lineProgress.color
  26488. },
  26489. // 进度百分比,数值
  26490. percentage: {
  26491. type: [String, Number],
  26492. default: uni.$u.props.lineProgress.inactiveColor
  26493. },
  26494. // 是否在进度条内部显示百分比的值
  26495. showText: {
  26496. type: Boolean,
  26497. default: uni.$u.props.lineProgress.showText
  26498. },
  26499. // 进度条的高度,单位px
  26500. height: {
  26501. type: [String, Number],
  26502. default: uni.$u.props.lineProgress.height
  26503. }
  26504. }
  26505. };
  26506. exports.default = _default;
  26507. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26508. /***/ }),
  26509. /***/ 91:
  26510. /*!**********************************************************************************!*\
  26511. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/datetimePicker.js ***!
  26512. \**********************************************************************************/
  26513. /*! no static exports found */
  26514. /***/ (function(module, exports, __webpack_require__) {
  26515. "use strict";
  26516. Object.defineProperty(exports, "__esModule", {
  26517. value: true
  26518. });
  26519. exports.default = void 0;
  26520. /*
  26521. * @Author : LQ
  26522. * @Description :
  26523. * @version : 1.0
  26524. * @Date : 2021-08-20 16:44:21
  26525. * @LastAuthor : LQ
  26526. * @lastTime : 2021-08-20 16:57:48
  26527. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  26528. */
  26529. var _default = {
  26530. // datetimePicker 组件
  26531. datetimePicker: {
  26532. show: false,
  26533. showToolbar: true,
  26534. value: '',
  26535. title: '',
  26536. mode: 'datetime',
  26537. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  26538. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  26539. minHour: 0,
  26540. maxHour: 23,
  26541. minMinute: 0,
  26542. maxMinute: 59,
  26543. filter: null,
  26544. formatter: null,
  26545. loading: false,
  26546. itemHeight: 44,
  26547. cancelText: '取消',
  26548. confirmText: '确认',
  26549. cancelColor: '#909193',
  26550. confirmColor: '#3c9cff',
  26551. visibleItemCount: 5,
  26552. closeOnClickOverlay: false,
  26553. defaultIndex: function defaultIndex() {
  26554. return [];
  26555. }
  26556. }
  26557. };
  26558. exports.default = _default;
  26559. /***/ }),
  26560. /***/ 915:
  26561. /*!***********************************************************************************!*\
  26562. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-checkbox-group/props.js ***!
  26563. \***********************************************************************************/
  26564. /*! no static exports found */
  26565. /***/ (function(module, exports, __webpack_require__) {
  26566. "use strict";
  26567. /* WEBPACK VAR INJECTION */(function(uni) {
  26568. Object.defineProperty(exports, "__esModule", {
  26569. value: true
  26570. });
  26571. exports.default = void 0;
  26572. var _default = {
  26573. props: {
  26574. // 标识符
  26575. name: {
  26576. type: String,
  26577. default: uni.$u.props.checkboxGroup.name
  26578. },
  26579. // 绑定的值
  26580. value: {
  26581. type: Array,
  26582. default: uni.$u.props.checkboxGroup.value
  26583. },
  26584. // 形状,circle-圆形,square-方形
  26585. shape: {
  26586. type: String,
  26587. default: uni.$u.props.checkboxGroup.shape
  26588. },
  26589. // 是否禁用全部checkbox
  26590. disabled: {
  26591. type: Boolean,
  26592. default: uni.$u.props.checkboxGroup.disabled
  26593. },
  26594. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  26595. activeColor: {
  26596. type: String,
  26597. default: uni.$u.props.checkboxGroup.activeColor
  26598. },
  26599. // 未选中的颜色
  26600. inactiveColor: {
  26601. type: String,
  26602. default: uni.$u.props.checkboxGroup.inactiveColor
  26603. },
  26604. // 整个组件的尺寸,默认px
  26605. size: {
  26606. type: [String, Number],
  26607. default: uni.$u.props.checkboxGroup.size
  26608. },
  26609. // 布局方式,row-横向,column-纵向
  26610. placement: {
  26611. type: String,
  26612. default: uni.$u.props.checkboxGroup.placement
  26613. },
  26614. // label的字体大小,px单位
  26615. labelSize: {
  26616. type: [String, Number],
  26617. default: uni.$u.props.checkboxGroup.labelSize
  26618. },
  26619. // label的字体颜色
  26620. labelColor: {
  26621. type: [String],
  26622. default: uni.$u.props.checkboxGroup.labelColor
  26623. },
  26624. // 是否禁止点击文本操作
  26625. labelDisabled: {
  26626. type: Boolean,
  26627. default: uni.$u.props.checkboxGroup.labelDisabled
  26628. },
  26629. // 图标颜色
  26630. iconColor: {
  26631. type: String,
  26632. default: uni.$u.props.checkboxGroup.iconColor
  26633. },
  26634. // 图标的大小,单位px
  26635. iconSize: {
  26636. type: [String, Number],
  26637. default: uni.$u.props.checkboxGroup.iconSize
  26638. },
  26639. // 勾选图标的对齐方式,left-左边,right-右边
  26640. iconPlacement: {
  26641. type: String,
  26642. default: uni.$u.props.checkboxGroup.iconPlacement
  26643. },
  26644. // 竖向配列时,是否显示下划线
  26645. borderBottom: {
  26646. type: Boolean,
  26647. default: uni.$u.props.checkboxGroup.borderBottom
  26648. }
  26649. }
  26650. };
  26651. exports.default = _default;
  26652. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26653. /***/ }),
  26654. /***/ 92:
  26655. /*!***************************************************************************!*\
  26656. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/divider.js ***!
  26657. \***************************************************************************/
  26658. /*! no static exports found */
  26659. /***/ (function(module, exports, __webpack_require__) {
  26660. "use strict";
  26661. Object.defineProperty(exports, "__esModule", {
  26662. value: true
  26663. });
  26664. exports.default = void 0;
  26665. /*
  26666. * @Author : LQ
  26667. * @Description :
  26668. * @version : 1.0
  26669. * @Date : 2021-08-20 16:44:21
  26670. * @LastAuthor : LQ
  26671. * @lastTime : 2021-08-20 16:58:03
  26672. * @FilePath : /u-view2.0/uview-ui/libs/config/props/divider.js
  26673. */
  26674. var _default = {
  26675. // divider组件
  26676. divider: {
  26677. dashed: false,
  26678. hairline: true,
  26679. dot: false,
  26680. textPosition: 'center',
  26681. text: '',
  26682. textSize: 14,
  26683. textColor: '#909399',
  26684. lineColor: '#dcdfe6'
  26685. }
  26686. };
  26687. exports.default = _default;
  26688. /***/ }),
  26689. /***/ 923:
  26690. /*!*********************************************************************************!*\
  26691. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action/props.js ***!
  26692. \*********************************************************************************/
  26693. /*! no static exports found */
  26694. /***/ (function(module, exports, __webpack_require__) {
  26695. "use strict";
  26696. /* WEBPACK VAR INJECTION */(function(uni) {
  26697. Object.defineProperty(exports, "__esModule", {
  26698. value: true
  26699. });
  26700. exports.default = void 0;
  26701. var _default = {
  26702. props: {
  26703. // 是否自动关闭其他swipe按钮组
  26704. autoClose: {
  26705. type: Boolean,
  26706. default: uni.$u.props.swipeAction.autoClose
  26707. }
  26708. }
  26709. };
  26710. exports.default = _default;
  26711. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26712. /***/ }),
  26713. /***/ 929:
  26714. /*!******************************************************************!*\
  26715. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/mixin/touch.js ***!
  26716. \******************************************************************/
  26717. /*! no static exports found */
  26718. /***/ (function(module, exports, __webpack_require__) {
  26719. "use strict";
  26720. Object.defineProperty(exports, "__esModule", {
  26721. value: true
  26722. });
  26723. exports.default = void 0;
  26724. var MIN_DISTANCE = 10;
  26725. function getDirection(x, y) {
  26726. if (x > y && x > MIN_DISTANCE) {
  26727. return 'horizontal';
  26728. }
  26729. if (y > x && y > MIN_DISTANCE) {
  26730. return 'vertical';
  26731. }
  26732. return '';
  26733. }
  26734. var _default = {
  26735. methods: {
  26736. getTouchPoint: function getTouchPoint(e) {
  26737. if (!e) {
  26738. return {
  26739. x: 0,
  26740. y: 0
  26741. };
  26742. }
  26743. if (e.touches && e.touches[0]) {
  26744. return {
  26745. x: e.touches[0].pageX,
  26746. y: e.touches[0].pageY
  26747. };
  26748. }
  26749. if (e.changedTouches && e.changedTouches[0]) {
  26750. return {
  26751. x: e.changedTouches[0].pageX,
  26752. y: e.changedTouches[0].pageY
  26753. };
  26754. }
  26755. return {
  26756. x: e.clientX || 0,
  26757. y: e.clientY || 0
  26758. };
  26759. },
  26760. resetTouchStatus: function resetTouchStatus() {
  26761. this.direction = '';
  26762. this.deltaX = 0;
  26763. this.deltaY = 0;
  26764. this.offsetX = 0;
  26765. this.offsetY = 0;
  26766. },
  26767. touchStart: function touchStart(event) {
  26768. this.resetTouchStatus();
  26769. var touch = this.getTouchPoint(event);
  26770. this.startX = touch.x;
  26771. this.startY = touch.y;
  26772. },
  26773. touchMove: function touchMove(event) {
  26774. var touch = this.getTouchPoint(event);
  26775. this.deltaX = touch.x - this.startX;
  26776. this.deltaY = touch.y - this.startY;
  26777. this.offsetX = Math.abs(this.deltaX);
  26778. this.offsetY = Math.abs(this.deltaY);
  26779. this.direction = this.direction || getDirection(this.offsetX, this.offsetY);
  26780. }
  26781. }
  26782. };
  26783. exports.default = _default;
  26784. /***/ }),
  26785. /***/ 93:
  26786. /*!*************************************************************************!*\
  26787. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/empty.js ***!
  26788. \*************************************************************************/
  26789. /*! no static exports found */
  26790. /***/ (function(module, exports, __webpack_require__) {
  26791. "use strict";
  26792. Object.defineProperty(exports, "__esModule", {
  26793. value: true
  26794. });
  26795. exports.default = void 0;
  26796. /*
  26797. * @Author : LQ
  26798. * @Description :
  26799. * @version : 1.0
  26800. * @Date : 2021-08-20 16:44:21
  26801. * @LastAuthor : LQ
  26802. * @lastTime : 2021-08-20 17:03:27
  26803. * @FilePath : /u-view2.0/uview-ui/libs/config/props/empty.js
  26804. */
  26805. var _default = {
  26806. // empty组件
  26807. empty: {
  26808. icon: '',
  26809. text: '',
  26810. textColor: '#c0c4cc',
  26811. textSize: 14,
  26812. iconColor: '#c0c4cc',
  26813. iconSize: 90,
  26814. mode: 'data',
  26815. width: 160,
  26816. height: 160,
  26817. show: true,
  26818. marginTop: 0
  26819. }
  26820. };
  26821. exports.default = _default;
  26822. /***/ }),
  26823. /***/ 930:
  26824. /*!**************************************************************************************!*\
  26825. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action-item/props.js ***!
  26826. \**************************************************************************************/
  26827. /*! no static exports found */
  26828. /***/ (function(module, exports, __webpack_require__) {
  26829. "use strict";
  26830. /* WEBPACK VAR INJECTION */(function(uni) {
  26831. Object.defineProperty(exports, "__esModule", {
  26832. value: true
  26833. });
  26834. exports.default = void 0;
  26835. var _default2 = {
  26836. props: {
  26837. // 控制打开或者关闭
  26838. show: {
  26839. type: Boolean,
  26840. default: uni.$u.props.swipeActionItem.show
  26841. },
  26842. // 标识符,如果是v-for,可用index索引值
  26843. name: {
  26844. type: [String, Number],
  26845. default: uni.$u.props.swipeActionItem.name
  26846. },
  26847. // 是否禁用
  26848. disabled: {
  26849. type: Boolean,
  26850. default: uni.$u.props.swipeActionItem.disabled
  26851. },
  26852. // 是否自动关闭其他swipe按钮组
  26853. autoClose: {
  26854. type: Boolean,
  26855. default: uni.$u.props.swipeActionItem.autoClose
  26856. },
  26857. // 滑动距离阈值,只有大于此值,才被认为是要打开菜单
  26858. threshold: {
  26859. type: Number,
  26860. default: uni.$u.props.swipeActionItem.threshold
  26861. },
  26862. // 右侧按钮内容
  26863. options: {
  26864. type: Array,
  26865. default: function _default() {
  26866. return uni.$u.props.swipeActionItem.rightOptions;
  26867. }
  26868. },
  26869. // 动画过渡时间,单位ms
  26870. duration: {
  26871. type: [String, Number],
  26872. default: uni.$u.props.swipeActionItem.duration
  26873. }
  26874. }
  26875. };
  26876. exports.default = _default2;
  26877. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  26878. /***/ }),
  26879. /***/ 931:
  26880. /*!************************************************************************************!*\
  26881. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-swipe-action-item/wxs.js ***!
  26882. \************************************************************************************/
  26883. /*! no static exports found */
  26884. /***/ (function(module, exports, __webpack_require__) {
  26885. "use strict";
  26886. Object.defineProperty(exports, "__esModule", {
  26887. value: true
  26888. });
  26889. exports.default = void 0;
  26890. var _default = {
  26891. methods: {
  26892. // 关闭时执行
  26893. closeHandler: function closeHandler() {
  26894. this.status = 'close';
  26895. },
  26896. setState: function setState(status) {
  26897. this.status = status;
  26898. },
  26899. closeOther: function closeOther() {
  26900. // 尝试关闭其他打开的单元格
  26901. this.parent && this.parent.closeOther(this);
  26902. }
  26903. }
  26904. };
  26905. exports.default = _default;
  26906. /***/ }),
  26907. /***/ 94:
  26908. /*!************************************************************************!*\
  26909. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/form.js ***!
  26910. \************************************************************************/
  26911. /*! no static exports found */
  26912. /***/ (function(module, exports, __webpack_require__) {
  26913. "use strict";
  26914. Object.defineProperty(exports, "__esModule", {
  26915. value: true
  26916. });
  26917. exports.default = void 0;
  26918. /*
  26919. * @Author : LQ
  26920. * @Description :
  26921. * @version : 1.0
  26922. * @Date : 2021-08-20 16:44:21
  26923. * @LastAuthor : LQ
  26924. * @lastTime : 2021-08-20 17:03:49
  26925. * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
  26926. */
  26927. var _default = {
  26928. // form 组件
  26929. form: {
  26930. model: function model() {
  26931. return {};
  26932. },
  26933. rules: function rules() {
  26934. return {};
  26935. },
  26936. errorType: 'message',
  26937. borderBottom: true,
  26938. labelPosition: 'left',
  26939. labelWidth: 45,
  26940. labelAlign: 'left',
  26941. labelStyle: function labelStyle() {
  26942. return {};
  26943. }
  26944. }
  26945. };
  26946. exports.default = _default;
  26947. /***/ }),
  26948. /***/ 941:
  26949. /*!*****************************************************************************!*\
  26950. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-checkbox/props.js ***!
  26951. \*****************************************************************************/
  26952. /*! no static exports found */
  26953. /***/ (function(module, exports, __webpack_require__) {
  26954. "use strict";
  26955. /* WEBPACK VAR INJECTION */(function(uni) {
  26956. Object.defineProperty(exports, "__esModule", {
  26957. value: true
  26958. });
  26959. exports.default = void 0;
  26960. var _default = {
  26961. props: {
  26962. // checkbox的名称
  26963. name: {
  26964. type: [String, Number, Boolean],
  26965. default: uni.$u.props.checkbox.name
  26966. },
  26967. // 形状,square为方形,circle为圆型
  26968. shape: {
  26969. type: String,
  26970. default: uni.$u.props.checkbox.shape
  26971. },
  26972. // 整体的大小
  26973. size: {
  26974. type: [String, Number],
  26975. default: uni.$u.props.checkbox.size
  26976. },
  26977. // 是否默认选中
  26978. checked: {
  26979. type: Boolean,
  26980. default: uni.$u.props.checkbox.checked
  26981. },
  26982. // 是否禁用
  26983. disabled: {
  26984. type: [String, Boolean],
  26985. default: uni.$u.props.checkbox.disabled
  26986. },
  26987. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  26988. activeColor: {
  26989. type: String,
  26990. default: uni.$u.props.checkbox.activeColor
  26991. },
  26992. // 未选中的颜色
  26993. inactiveColor: {
  26994. type: String,
  26995. default: uni.$u.props.checkbox.inactiveColor
  26996. },
  26997. // 图标的大小,单位px
  26998. iconSize: {
  26999. type: [String, Number],
  27000. default: uni.$u.props.checkbox.iconSize
  27001. },
  27002. // 图标颜色
  27003. iconColor: {
  27004. type: String,
  27005. default: uni.$u.props.checkbox.iconColor
  27006. },
  27007. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  27008. label: {
  27009. type: [String, Number],
  27010. default: uni.$u.props.checkbox.label
  27011. },
  27012. // label的字体大小,px单位
  27013. labelSize: {
  27014. type: [String, Number],
  27015. default: uni.$u.props.checkbox.labelSize
  27016. },
  27017. // label的颜色
  27018. labelColor: {
  27019. type: String,
  27020. default: uni.$u.props.checkbox.labelColor
  27021. },
  27022. // 是否禁止点击提示语选中复选框
  27023. labelDisabled: {
  27024. type: [String, Boolean],
  27025. default: uni.$u.props.checkbox.labelDisabled
  27026. }
  27027. }
  27028. };
  27029. exports.default = _default;
  27030. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27031. /***/ }),
  27032. /***/ 949:
  27033. /*!*******************************************************************************!*\
  27034. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-number-box/props.js ***!
  27035. \*******************************************************************************/
  27036. /*! no static exports found */
  27037. /***/ (function(module, exports, __webpack_require__) {
  27038. "use strict";
  27039. /* WEBPACK VAR INJECTION */(function(uni) {
  27040. Object.defineProperty(exports, "__esModule", {
  27041. value: true
  27042. });
  27043. exports.default = void 0;
  27044. var _default = {
  27045. props: {
  27046. // 步进器标识符,在change回调返回
  27047. name: {
  27048. type: [String, Number],
  27049. default: uni.$u.props.numberBox.name
  27050. },
  27051. // 用于双向绑定的值,初始化时设置设为默认min值(最小值)
  27052. value: {
  27053. type: [String, Number],
  27054. default: uni.$u.props.numberBox.value
  27055. },
  27056. // 最小值
  27057. min: {
  27058. type: [String, Number],
  27059. default: uni.$u.props.numberBox.min
  27060. },
  27061. // 最大值
  27062. max: {
  27063. type: [String, Number],
  27064. default: uni.$u.props.numberBox.max
  27065. },
  27066. // 加减的步长,可为小数
  27067. step: {
  27068. type: [String, Number],
  27069. default: uni.$u.props.numberBox.step
  27070. },
  27071. // 是否只允许输入整数
  27072. integer: {
  27073. type: Boolean,
  27074. default: uni.$u.props.numberBox.integer
  27075. },
  27076. // 是否禁用,包括输入框,加减按钮
  27077. disabled: {
  27078. type: Boolean,
  27079. default: uni.$u.props.numberBox.disabled
  27080. },
  27081. // 是否禁用输入框
  27082. disabledInput: {
  27083. type: Boolean,
  27084. default: uni.$u.props.numberBox.disabledInput
  27085. },
  27086. // 是否开启异步变更,开启后需要手动控制输入值
  27087. asyncChange: {
  27088. type: Boolean,
  27089. default: uni.$u.props.numberBox.asyncChange
  27090. },
  27091. // 输入框宽度,单位为px
  27092. inputWidth: {
  27093. type: [String, Number],
  27094. default: uni.$u.props.numberBox.inputWidth
  27095. },
  27096. // 是否显示减少按钮
  27097. showMinus: {
  27098. type: Boolean,
  27099. default: uni.$u.props.numberBox.showMinus
  27100. },
  27101. // 是否显示增加按钮
  27102. showPlus: {
  27103. type: Boolean,
  27104. default: uni.$u.props.numberBox.showPlus
  27105. },
  27106. // 显示的小数位数
  27107. decimalLength: {
  27108. type: [String, Number, null],
  27109. default: uni.$u.props.numberBox.decimalLength
  27110. },
  27111. // 是否开启长按加减手势
  27112. longPress: {
  27113. type: Boolean,
  27114. default: uni.$u.props.numberBox.longPress
  27115. },
  27116. // 输入框文字和加减按钮图标的颜色
  27117. color: {
  27118. type: String,
  27119. default: uni.$u.props.numberBox.color
  27120. },
  27121. // 按钮大小,宽高等于此值,单位px,输入框高度和此值保持一致
  27122. buttonSize: {
  27123. type: [String, Number],
  27124. default: uni.$u.props.numberBox.buttonSize
  27125. },
  27126. // 输入框和按钮的背景颜色
  27127. bgColor: {
  27128. type: String,
  27129. default: uni.$u.props.numberBox.bgColor
  27130. },
  27131. // 指定光标于键盘的距离,避免键盘遮挡输入框,单位px
  27132. cursorSpacing: {
  27133. type: [String, Number],
  27134. default: uni.$u.props.numberBox.cursorSpacing
  27135. },
  27136. // 是否禁用增加按钮
  27137. disablePlus: {
  27138. type: Boolean,
  27139. default: uni.$u.props.numberBox.disablePlus
  27140. },
  27141. // 是否禁用减少按钮
  27142. disableMinus: {
  27143. type: Boolean,
  27144. default: uni.$u.props.numberBox.disableMinus
  27145. },
  27146. // 加减按钮图标的样式
  27147. iconStyle: {
  27148. type: [Object, String],
  27149. default: uni.$u.props.numberBox.iconStyle
  27150. }
  27151. }
  27152. };
  27153. exports.default = _default;
  27154. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27155. /***/ }),
  27156. /***/ 95:
  27157. /*!****************************************************************************!*\
  27158. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/formItem.js ***!
  27159. \****************************************************************************/
  27160. /*! no static exports found */
  27161. /***/ (function(module, exports, __webpack_require__) {
  27162. "use strict";
  27163. Object.defineProperty(exports, "__esModule", {
  27164. value: true
  27165. });
  27166. exports.default = void 0;
  27167. /*
  27168. * @Author : LQ
  27169. * @Description :
  27170. * @version : 1.0
  27171. * @Date : 2021-08-20 16:44:21
  27172. * @LastAuthor : LQ
  27173. * @lastTime : 2021-08-20 17:04:32
  27174. * @FilePath : /u-view2.0/uview-ui/libs/config/props/formItem.js
  27175. */
  27176. var _default = {
  27177. // formItem 组件
  27178. formItem: {
  27179. label: '',
  27180. prop: '',
  27181. borderBottom: '',
  27182. labelPosition: '',
  27183. labelWidth: '',
  27184. rightIcon: '',
  27185. leftIcon: '',
  27186. required: false,
  27187. leftIconStyle: ''
  27188. }
  27189. };
  27190. exports.default = _default;
  27191. /***/ }),
  27192. /***/ 96:
  27193. /*!***********************************************************************!*\
  27194. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/gap.js ***!
  27195. \***********************************************************************/
  27196. /*! no static exports found */
  27197. /***/ (function(module, exports, __webpack_require__) {
  27198. "use strict";
  27199. Object.defineProperty(exports, "__esModule", {
  27200. value: true
  27201. });
  27202. exports.default = void 0;
  27203. /*
  27204. * @Author : LQ
  27205. * @Description :
  27206. * @version : 1.0
  27207. * @Date : 2021-08-20 16:44:21
  27208. * @LastAuthor : LQ
  27209. * @lastTime : 2021-08-20 17:05:25
  27210. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
  27211. */
  27212. var _default = {
  27213. // gap组件
  27214. gap: {
  27215. bgColor: 'transparent',
  27216. height: 20,
  27217. marginTop: 0,
  27218. marginBottom: 0,
  27219. customStyle: {}
  27220. }
  27221. };
  27222. exports.default = _default;
  27223. /***/ }),
  27224. /***/ 964:
  27225. /*!**************************************************************************!*\
  27226. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-input/props.js ***!
  27227. \**************************************************************************/
  27228. /*! no static exports found */
  27229. /***/ (function(module, exports, __webpack_require__) {
  27230. "use strict";
  27231. /* WEBPACK VAR INJECTION */(function(uni) {
  27232. Object.defineProperty(exports, "__esModule", {
  27233. value: true
  27234. });
  27235. exports.default = void 0;
  27236. var _default = {
  27237. props: {
  27238. // 输入的值
  27239. value: {
  27240. type: [String, Number],
  27241. default: uni.$u.props.input.value
  27242. },
  27243. // 输入框类型
  27244. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  27245. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  27246. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  27247. // text-文本输入键盘
  27248. type: {
  27249. type: String,
  27250. default: uni.$u.props.input.type
  27251. },
  27252. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  27253. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  27254. fixed: {
  27255. type: Boolean,
  27256. default: uni.$u.props.input.fixed
  27257. },
  27258. // 是否禁用输入框
  27259. disabled: {
  27260. type: Boolean,
  27261. default: uni.$u.props.input.disabled
  27262. },
  27263. // 禁用状态时的背景色
  27264. disabledColor: {
  27265. type: String,
  27266. default: uni.$u.props.input.disabledColor
  27267. },
  27268. // 是否显示清除控件
  27269. clearable: {
  27270. type: Boolean,
  27271. default: uni.$u.props.input.clearable
  27272. },
  27273. // 是否密码类型
  27274. password: {
  27275. type: Boolean,
  27276. default: uni.$u.props.input.password
  27277. },
  27278. // 最大输入长度,设置为 -1 的时候不限制最大长度
  27279. maxlength: {
  27280. type: [String, Number],
  27281. default: uni.$u.props.input.maxlength
  27282. },
  27283. // 输入框为空时的占位符
  27284. placeholder: {
  27285. type: String,
  27286. default: uni.$u.props.input.placeholder
  27287. },
  27288. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  27289. placeholderClass: {
  27290. type: String,
  27291. default: uni.$u.props.input.placeholderClass
  27292. },
  27293. // 指定placeholder的样式
  27294. placeholderStyle: {
  27295. type: [String, Object],
  27296. default: uni.$u.props.input.placeholderStyle
  27297. },
  27298. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  27299. showWordLimit: {
  27300. type: Boolean,
  27301. default: uni.$u.props.input.showWordLimit
  27302. },
  27303. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  27304. // https://uniapp.dcloud.io/component/input
  27305. // https://uniapp.dcloud.io/component/textarea
  27306. confirmType: {
  27307. type: String,
  27308. default: uni.$u.props.input.confirmType
  27309. },
  27310. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  27311. confirmHold: {
  27312. type: Boolean,
  27313. default: uni.$u.props.input.confirmHold
  27314. },
  27315. // focus时,点击页面的时候不收起键盘,微信小程序有效
  27316. holdKeyboard: {
  27317. type: Boolean,
  27318. default: uni.$u.props.input.holdKeyboard
  27319. },
  27320. // 自动获取焦点
  27321. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  27322. focus: {
  27323. type: Boolean,
  27324. default: uni.$u.props.input.focus
  27325. },
  27326. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  27327. autoBlur: {
  27328. type: Boolean,
  27329. default: uni.$u.props.input.autoBlur
  27330. },
  27331. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  27332. disableDefaultPadding: {
  27333. type: Boolean,
  27334. default: uni.$u.props.input.disableDefaultPadding
  27335. },
  27336. // 指定focus时光标的位置
  27337. cursor: {
  27338. type: [String, Number],
  27339. default: uni.$u.props.input.cursor
  27340. },
  27341. // 输入框聚焦时底部与键盘的距离
  27342. cursorSpacing: {
  27343. type: [String, Number],
  27344. default: uni.$u.props.input.cursorSpacing
  27345. },
  27346. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  27347. selectionStart: {
  27348. type: [String, Number],
  27349. default: uni.$u.props.input.selectionStart
  27350. },
  27351. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  27352. selectionEnd: {
  27353. type: [String, Number],
  27354. default: uni.$u.props.input.selectionEnd
  27355. },
  27356. // 键盘弹起时,是否自动上推页面
  27357. adjustPosition: {
  27358. type: Boolean,
  27359. default: uni.$u.props.input.adjustPosition
  27360. },
  27361. // 输入框内容对齐方式,可选值为:left|center|right
  27362. inputAlign: {
  27363. type: String,
  27364. default: uni.$u.props.input.inputAlign
  27365. },
  27366. // 输入框字体的大小
  27367. fontSize: {
  27368. type: [String, Number],
  27369. default: uni.$u.props.input.fontSize
  27370. },
  27371. // 输入框字体颜色
  27372. color: {
  27373. type: String,
  27374. default: uni.$u.props.input.color
  27375. },
  27376. // 输入框前置图标
  27377. prefixIcon: {
  27378. type: String,
  27379. default: uni.$u.props.input.prefixIcon
  27380. },
  27381. // 前置图标样式,对象或字符串
  27382. prefixIconStyle: {
  27383. type: [String, Object],
  27384. default: uni.$u.props.input.prefixIconStyle
  27385. },
  27386. // 输入框后置图标
  27387. suffixIcon: {
  27388. type: String,
  27389. default: uni.$u.props.input.suffixIcon
  27390. },
  27391. // 后置图标样式,对象或字符串
  27392. suffixIconStyle: {
  27393. type: [String, Object],
  27394. default: uni.$u.props.input.suffixIconStyle
  27395. },
  27396. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  27397. border: {
  27398. type: String,
  27399. default: uni.$u.props.input.border
  27400. },
  27401. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  27402. readonly: {
  27403. type: Boolean,
  27404. default: uni.$u.props.input.readonly
  27405. },
  27406. // 输入框形状,circle-圆形,square-方形
  27407. shape: {
  27408. type: String,
  27409. default: uni.$u.props.input.shape
  27410. },
  27411. // 用于处理或者过滤输入框内容的方法
  27412. formatter: {
  27413. type: [Function, null],
  27414. default: uni.$u.props.input.formatter
  27415. },
  27416. // 是否忽略组件内对文本合成系统事件的处理
  27417. ignoreCompositionEvent: {
  27418. type: Boolean,
  27419. default: true
  27420. }
  27421. }
  27422. };
  27423. exports.default = _default;
  27424. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27425. /***/ }),
  27426. /***/ 97:
  27427. /*!************************************************************************!*\
  27428. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/grid.js ***!
  27429. \************************************************************************/
  27430. /*! no static exports found */
  27431. /***/ (function(module, exports, __webpack_require__) {
  27432. "use strict";
  27433. Object.defineProperty(exports, "__esModule", {
  27434. value: true
  27435. });
  27436. exports.default = void 0;
  27437. /*
  27438. * @Author : LQ
  27439. * @Description :
  27440. * @version : 1.0
  27441. * @Date : 2021-08-20 16:44:21
  27442. * @LastAuthor : LQ
  27443. * @lastTime : 2021-08-20 17:05:57
  27444. * @FilePath : /u-view2.0/uview-ui/libs/config/props/grid.js
  27445. */
  27446. var _default = {
  27447. // grid组件
  27448. grid: {
  27449. col: 3,
  27450. border: false,
  27451. align: 'left'
  27452. }
  27453. };
  27454. exports.default = _default;
  27455. /***/ }),
  27456. /***/ 977:
  27457. /*!**************************************************************************!*\
  27458. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-parse/props.js ***!
  27459. \**************************************************************************/
  27460. /*! no static exports found */
  27461. /***/ (function(module, exports, __webpack_require__) {
  27462. "use strict";
  27463. /* WEBPACK VAR INJECTION */(function(uni) {
  27464. Object.defineProperty(exports, "__esModule", {
  27465. value: true
  27466. });
  27467. exports.default = void 0;
  27468. var _default = {
  27469. props: {
  27470. content: String,
  27471. copyLink: {
  27472. type: Boolean,
  27473. default: uni.$u.props.parse.copyLink
  27474. },
  27475. domain: String,
  27476. errorImg: {
  27477. type: String,
  27478. default: uni.$u.props.parse.errorImg
  27479. },
  27480. lazyLoad: {
  27481. type: Boolean,
  27482. default: uni.$u.props.parse.lazyLoad
  27483. },
  27484. loadingImg: {
  27485. type: String,
  27486. default: uni.$u.props.parse.loadingImg
  27487. },
  27488. pauseVideo: {
  27489. type: Boolean,
  27490. default: uni.$u.props.parse.pauseVideo
  27491. },
  27492. previewImg: {
  27493. type: Boolean,
  27494. default: uni.$u.props.parse.previewImg
  27495. },
  27496. scrollTable: Boolean,
  27497. selectable: Boolean,
  27498. setTitle: {
  27499. type: Boolean,
  27500. default: uni.$u.props.parse.setTitle
  27501. },
  27502. showImgMenu: {
  27503. type: Boolean,
  27504. default: uni.$u.props.parse.showImgMenu
  27505. },
  27506. tagStyle: Object,
  27507. useAnchor: null
  27508. }
  27509. };
  27510. exports.default = _default;
  27511. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  27512. /***/ }),
  27513. /***/ 978:
  27514. /*!***************************************************************************!*\
  27515. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-parse/parser.js ***!
  27516. \***************************************************************************/
  27517. /*! no static exports found */
  27518. /***/ (function(module, exports, __webpack_require__) {
  27519. "use strict";
  27520. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  27521. /**
  27522. * @fileoverview html 解析器
  27523. */
  27524. // 配置
  27525. var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11);
  27526. 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; }
  27527. 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) { _defineProperty(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; }
  27528. var config = {
  27529. // 信任的标签(保持标签名不变)
  27530. 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'),
  27531. // 块级标签(转为 div,其他的非信任标签转为 span)
  27532. blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'),
  27533. // 要移除的标签
  27534. ignoreTags: makeMap('area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr'),
  27535. // 自闭合的标签
  27536. voidTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'),
  27537. // html 实体
  27538. entities: {
  27539. lt: '<',
  27540. gt: '>',
  27541. quot: '"',
  27542. apos: "'",
  27543. ensp: "\u2002",
  27544. emsp: "\u2003",
  27545. nbsp: '\xA0',
  27546. semi: ';',
  27547. ndash: '–',
  27548. mdash: '—',
  27549. middot: '·',
  27550. lsquo: '‘',
  27551. rsquo: '’',
  27552. ldquo: '“',
  27553. rdquo: '”',
  27554. bull: '•',
  27555. hellip: '…'
  27556. },
  27557. // 默认的标签样式
  27558. tagStyle: {
  27559. address: 'font-style:italic',
  27560. big: 'display:inline;font-size:1.2em',
  27561. caption: 'display:table-caption;text-align:center',
  27562. center: 'text-align:center',
  27563. cite: 'font-style:italic',
  27564. dd: 'margin-left:40px',
  27565. mark: 'background-color:yellow',
  27566. pre: 'font-family:monospace;white-space:pre',
  27567. s: 'text-decoration:line-through',
  27568. small: 'display:inline;font-size:0.8em',
  27569. u: 'text-decoration:underline'
  27570. }
  27571. };
  27572. var _uni$getSystemInfoSyn = uni.getSystemInfoSync(),
  27573. windowWidth = _uni$getSystemInfoSyn.windowWidth;
  27574. var blankChar = makeMap(' ,\r,\n,\t,\f');
  27575. var idIndex = 0;
  27576. /**
  27577. * @description 创建 map
  27578. * @param {String} str 逗号分隔
  27579. */
  27580. function makeMap(str) {
  27581. var map = Object.create(null);
  27582. var list = str.split(',');
  27583. for (var i = list.length; i--;) {
  27584. map[list[i]] = true;
  27585. }
  27586. return map;
  27587. }
  27588. /**
  27589. * @description 解码 html 实体
  27590. * @param {String} str 要解码的字符串
  27591. * @param {Boolean} amp 要不要解码 &amp;
  27592. * @returns {String} 解码后的字符串
  27593. */
  27594. function decodeEntity(str, amp) {
  27595. var i = str.indexOf('&');
  27596. while (i != -1) {
  27597. var j = str.indexOf(';', i + 3);
  27598. var code = void 0;
  27599. if (j == -1) break;
  27600. if (str[i + 1] == '#') {
  27601. // &#123; 形式的实体
  27602. code = parseInt((str[i + 2] == 'x' ? '0' : '') + str.substring(i + 2, j));
  27603. if (!isNaN(code)) str = str.substr(0, i) + String.fromCharCode(code) + str.substr(j + 1);
  27604. } else {
  27605. // &nbsp; 形式的实体
  27606. code = str.substring(i + 1, j);
  27607. if (config.entities[code] || code == 'amp' && amp) str = str.substr(0, i) + (config.entities[code] || '&') + str.substr(j + 1);
  27608. }
  27609. i = str.indexOf('&', i + 1);
  27610. }
  27611. return str;
  27612. }
  27613. /**
  27614. * @description html 解析器
  27615. * @param {Object} vm 组件实例
  27616. */
  27617. function parser(vm) {
  27618. this.options = vm || {};
  27619. this.tagStyle = Object.assign(config.tagStyle, this.options.tagStyle);
  27620. this.imgList = vm.imgList || [];
  27621. this.plugins = vm.plugins || [];
  27622. this.attrs = Object.create(null);
  27623. this.stack = [];
  27624. this.nodes = [];
  27625. }
  27626. /**
  27627. * @description 执行解析
  27628. * @param {String} content 要解析的文本
  27629. */
  27630. parser.prototype.parse = function (content) {
  27631. // 插件处理
  27632. for (var i = this.plugins.length; i--;) {
  27633. if (this.plugins[i].onUpdate) content = this.plugins[i].onUpdate(content, config) || content;
  27634. }
  27635. new lexer(this).parse(content); // 出栈未闭合的标签
  27636. while (this.stack.length) {
  27637. this.popNode();
  27638. }
  27639. return this.nodes;
  27640. };
  27641. /**
  27642. * @description 将标签暴露出来(不被 rich-text 包含)
  27643. */
  27644. parser.prototype.expose = function () {
  27645. for (var i = this.stack.length; i--;) {
  27646. var item = this.stack[i];
  27647. if (item.name == 'a' || item.c) return;
  27648. item.c = 1;
  27649. }
  27650. };
  27651. /**
  27652. * @description 处理插件
  27653. * @param {Object} node 要处理的标签
  27654. * @returns {Boolean} 是否要移除此标签
  27655. */
  27656. parser.prototype.hook = function (node) {
  27657. for (var i = this.plugins.length; i--;) {
  27658. if (this.plugins[i].onParse && this.plugins[i].onParse(node, this) == false) return false;
  27659. }
  27660. return true;
  27661. };
  27662. /**
  27663. * @description 将链接拼接上主域名
  27664. * @param {String} url 需要拼接的链接
  27665. * @returns {String} 拼接后的链接
  27666. */
  27667. parser.prototype.getUrl = function (url) {
  27668. var domain = this.options.domain;
  27669. if (url[0] == '/') {
  27670. // // 开头的补充协议名
  27671. if (url[1] == '/') url = "".concat(domain ? domain.split('://')[0] : 'http', ":").concat(url); // 否则补充整个域名
  27672. else if (domain) url = domain + url;
  27673. } else if (domain && !url.includes('data:') && !url.includes('://')) url = "".concat(domain, "/").concat(url);
  27674. return url;
  27675. };
  27676. /**
  27677. * @description 解析样式表
  27678. * @param {Object} node 标签
  27679. * @returns {Object}
  27680. */
  27681. parser.prototype.parseStyle = function (node) {
  27682. var attrs = node.attrs;
  27683. var list = (this.tagStyle[node.name] || '').split(';').concat((attrs.style || '').split(';'));
  27684. var styleObj = {};
  27685. var tmp = '';
  27686. if (attrs.id) {
  27687. // 暴露锚点
  27688. if (this.options.useAnchor) this.expose();else if (node.name != 'img' && node.name != 'a' && node.name != 'video' && node.name != 'audio') attrs.id = void 0;
  27689. } // 转换 width 和 height 属性
  27690. if (attrs.width) {
  27691. styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px');
  27692. attrs.width = void 0;
  27693. }
  27694. if (attrs.height) {
  27695. styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px');
  27696. attrs.height = void 0;
  27697. }
  27698. for (var i = 0, len = list.length; i < len; i++) {
  27699. var info = list[i].split(':');
  27700. if (info.length < 2) continue;
  27701. var key = info.shift().trim().toLowerCase();
  27702. var value = info.join(':').trim(); // 兼容性的 css 不压缩
  27703. if (value[0] == '-' && value.lastIndexOf('-') > 0 || value.includes('safe')) tmp += ';'.concat(key, ':').concat(value); // 重复的样式进行覆盖
  27704. else if (!styleObj[key] || value.includes('import') || !styleObj[key].includes('import')) {
  27705. // 填充链接
  27706. if (value.includes('url')) {
  27707. var j = value.indexOf('(') + 1;
  27708. if (j) {
  27709. while (value[j] == '"' || value[j] == "'" || blankChar[value[j]]) {
  27710. j++;
  27711. }
  27712. value = value.substr(0, j) + this.getUrl(value.substr(j));
  27713. }
  27714. } // 转换 rpx(rich-text 内部不支持 rpx)
  27715. else if (value.includes('rpx')) {
  27716. value = value.replace(/[0-9.]+\s*rpx/g, function ($) {
  27717. return "".concat(parseFloat($) * windowWidth / 750, "px");
  27718. });
  27719. }
  27720. styleObj[key] = value;
  27721. }
  27722. }
  27723. node.attrs.style = tmp;
  27724. return styleObj;
  27725. };
  27726. /**
  27727. * @description 解析到标签名
  27728. * @param {String} name 标签名
  27729. * @private
  27730. */
  27731. parser.prototype.onTagName = function (name) {
  27732. this.tagName = this.xml ? name : name.toLowerCase();
  27733. if (this.tagName == 'svg') this.xml = true; // svg 标签内大小写敏感
  27734. };
  27735. /**
  27736. * @description 解析到属性名
  27737. * @param {String} name 属性名
  27738. * @private
  27739. */
  27740. parser.prototype.onAttrName = function (name) {
  27741. name = this.xml ? name : name.toLowerCase();
  27742. if (name.substr(0, 5) == 'data-') {
  27743. // data-src 自动转为 src
  27744. if (name == 'data-src' && !this.attrs.src) this.attrName = 'src'; // a 和 img 标签保留 data- 的属性,可以在 imgtap 和 linktap 事件中使用
  27745. else if (this.tagName == 'img' || this.tagName == 'a') this.attrName = name; // 剩余的移除以减小大小
  27746. else this.attrName = void 0;
  27747. } else {
  27748. this.attrName = name;
  27749. this.attrs[name] = 'T'; // boolean 型属性缺省设置
  27750. }
  27751. };
  27752. /**
  27753. * @description 解析到属性值
  27754. * @param {String} val 属性值
  27755. * @private
  27756. */
  27757. parser.prototype.onAttrVal = function (val) {
  27758. var name = this.attrName || ''; // 部分属性进行实体解码
  27759. if (name == 'style' || name == 'href') this.attrs[name] = decodeEntity(val, true); // 拼接主域名
  27760. else if (name.includes('src')) this.attrs[name] = this.getUrl(decodeEntity(val, true));else if (name) this.attrs[name] = val;
  27761. };
  27762. /**
  27763. * @description 解析到标签开始
  27764. * @param {Boolean} selfClose 是否有自闭合标识 />
  27765. * @private
  27766. */
  27767. parser.prototype.onOpenTag = function (selfClose) {
  27768. // 拼装 node
  27769. var node = Object.create(null);
  27770. node.name = this.tagName;
  27771. node.attrs = this.attrs;
  27772. this.attrs = Object.create(null);
  27773. var attrs = node.attrs;
  27774. var parent = this.stack[this.stack.length - 1];
  27775. var siblings = parent ? parent.children : this.nodes;
  27776. var close = this.xml ? selfClose : config.voidTags[node.name]; // 转换 embed 标签
  27777. if (node.name == 'embed') {
  27778. var src = attrs.src || ''; // 按照后缀名和 type 将 embed 转为 video 或 audio
  27779. if (src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8') || (attrs.type || '').includes('video')) node.name = 'video';else if (src.includes('.mp3') || src.includes('.wav') || src.includes('.aac') || src.includes('.m4a') || (attrs.type || '').includes('audio')) node.name = 'audio';
  27780. if (attrs.autostart) attrs.autoplay = 'T';
  27781. attrs.controls = 'T';
  27782. }
  27783. // 处理音视频
  27784. if (node.name == 'video' || node.name == 'audio') {
  27785. // 设置 id 以便获取 context
  27786. if (node.name == 'video' && !attrs.id) attrs.id = "v".concat(idIndex++); // 没有设置 controls 也没有设置 autoplay 的自动设置 controls
  27787. if (!attrs.controls && !attrs.autoplay) attrs.controls = 'T'; // 用数组存储所有可用的 source
  27788. node.src = [];
  27789. if (attrs.src) {
  27790. node.src.push(attrs.src);
  27791. attrs.src = void 0;
  27792. }
  27793. this.expose();
  27794. }
  27795. // 处理自闭合标签
  27796. if (close) {
  27797. if (!this.hook(node) || config.ignoreTags[node.name]) {
  27798. // 通过 base 标签设置主域名
  27799. if (node.name == 'base' && !this.options.domain) this.options.domain = attrs.href;
  27800. // 设置 source 标签(仅父节点为 video 或 audio 时有效)
  27801. else if (node.name == 'source' && parent && (parent.name == 'video' || parent.name == 'audio') && attrs.src) parent.src.push(attrs.src);
  27802. return;
  27803. } // 解析 style
  27804. var styleObj = this.parseStyle(node); // 处理图片
  27805. if (node.name == 'img') {
  27806. if (attrs.src) {
  27807. // 标记 webp
  27808. if (attrs.src.includes('webp')) node.webp = 'T'; // data url 图片如果没有设置 original-src 默认为不可预览的小图片
  27809. if (attrs.src.includes('data:') && !attrs['original-src']) attrs.ignore = 'T';
  27810. if (!attrs.ignore || node.webp || attrs.src.includes('cloud://')) {
  27811. for (var i = this.stack.length; i--;) {
  27812. var item = this.stack[i];
  27813. if (item.name == 'a') {
  27814. node.a = item.attrs;
  27815. break;
  27816. }
  27817. var style = item.attrs.style || '';
  27818. if (style.includes('flex:') && !style.includes('flex:0') && !style.includes('flex: 0') && (!styleObj.width || !styleObj.width.includes('%'))) {
  27819. styleObj.width = '100% !important';
  27820. styleObj.height = '';
  27821. for (var j = i + 1; j < this.stack.length; j++) {
  27822. this.stack[j].attrs.style = (this.stack[j].attrs.style || '').replace('inline-', '');
  27823. }
  27824. } else if (style.includes('flex') && styleObj.width == '100%') {
  27825. for (var _j = i + 1; _j < this.stack.length; _j++) {
  27826. var _style = this.stack[_j].attrs.style || '';
  27827. if (!_style.includes(';width') && !_style.includes(' width') && _style.indexOf('width') != 0) {
  27828. styleObj.width = '';
  27829. break;
  27830. }
  27831. }
  27832. } else if (style.includes('inline-block')) {
  27833. if (styleObj.width && styleObj.width[styleObj.width.length - 1] == '%') {
  27834. item.attrs.style += ";max-width:".concat(styleObj.width);
  27835. styleObj.width = '';
  27836. } else item.attrs.style += ';max-width:100%';
  27837. }
  27838. item.c = 1;
  27839. }
  27840. attrs.i = this.imgList.length.toString();
  27841. var _src = attrs['original-src'] || attrs.src;
  27842. if (this.imgList.includes(_src)) {
  27843. // 如果有重复的链接则对域名进行随机大小写变换避免预览时错位
  27844. var _i = _src.indexOf('://');
  27845. if (_i != -1) {
  27846. _i += 3;
  27847. var newSrc = _src.substr(0, _i);
  27848. for (; _i < _src.length; _i++) {
  27849. if (_src[_i] == '/') break;
  27850. newSrc += Math.random() > 0.5 ? _src[_i].toUpperCase() : _src[_i];
  27851. }
  27852. newSrc += _src.substr(_i);
  27853. _src = newSrc;
  27854. }
  27855. }
  27856. this.imgList.push(_src);
  27857. }
  27858. }
  27859. if (styleObj.display == 'inline') styleObj.display = '';
  27860. if (attrs.ignore) {
  27861. styleObj['max-width'] = styleObj['max-width'] || '100%';
  27862. attrs.style += ';-webkit-touch-callout:none';
  27863. }
  27864. // 设置的宽度超出屏幕,为避免变形,高度转为自动
  27865. if (parseInt(styleObj.width) > windowWidth) styleObj.height = void 0; // 记录是否设置了宽高
  27866. if (styleObj.width) {
  27867. if (styleObj.width.includes('auto')) styleObj.width = '';else {
  27868. node.w = 'T';
  27869. if (styleObj.height && !styleObj.height.includes('auto')) node.h = 'T';
  27870. }
  27871. }
  27872. } else if (node.name == 'svg') {
  27873. siblings.push(node);
  27874. this.stack.push(node);
  27875. this.popNode();
  27876. return;
  27877. }
  27878. for (var key in styleObj) {
  27879. if (styleObj[key]) attrs.style += ';'.concat(key, ':').concat(styleObj[key].replace(' !important', ''));
  27880. }
  27881. attrs.style = attrs.style.substr(1) || void 0;
  27882. } else {
  27883. if (node.name == 'pre' || (attrs.style || '').includes('white-space') && attrs.style.includes('pre')) this.pre = node.pre = true;
  27884. node.children = [];
  27885. this.stack.push(node);
  27886. } // 加入节点树
  27887. siblings.push(node);
  27888. };
  27889. /**
  27890. * @description 解析到标签结束
  27891. * @param {String} name 标签名
  27892. * @private
  27893. */
  27894. parser.prototype.onCloseTag = function (name) {
  27895. // 依次出栈到匹配为止
  27896. name = this.xml ? name : name.toLowerCase();
  27897. var i;
  27898. for (i = this.stack.length; i--;) {
  27899. if (this.stack[i].name == name) break;
  27900. }
  27901. if (i != -1) {
  27902. while (this.stack.length > i) {
  27903. this.popNode();
  27904. }
  27905. } else if (name == 'p' || name == 'br') {
  27906. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  27907. siblings.push({
  27908. name: name,
  27909. attrs: {}
  27910. });
  27911. }
  27912. };
  27913. /**
  27914. * @description 处理标签出栈
  27915. * @private
  27916. */
  27917. parser.prototype.popNode = function () {
  27918. var node = this.stack.pop();
  27919. var attrs = node.attrs;
  27920. var children = node.children;
  27921. var parent = this.stack[this.stack.length - 1];
  27922. var siblings = parent ? parent.children : this.nodes;
  27923. if (!this.hook(node) || config.ignoreTags[node.name]) {
  27924. // 获取标题
  27925. if (node.name == 'title' && children.length && children[0].type == 'text' && this.options.setTitle) {
  27926. uni.setNavigationBarTitle({
  27927. title: children[0].text
  27928. });
  27929. }
  27930. siblings.pop();
  27931. return;
  27932. }
  27933. if (node.pre) {
  27934. // 是否合并空白符标识
  27935. node.pre = this.pre = void 0;
  27936. for (var i = this.stack.length; i--;) {
  27937. if (this.stack[i].pre) this.pre = true;
  27938. }
  27939. }
  27940. var styleObj = {}; // 转换 svg
  27941. if (node.name == 'svg') {
  27942. var src = '';
  27943. var _attrs = attrs,
  27944. style = _attrs.style;
  27945. attrs.style = '';
  27946. attrs.xmlns = 'http://www.w3.org/2000/svg';
  27947. (function traversal(node) {
  27948. src += "<".concat(node.name);
  27949. for (var item in node.attrs) {
  27950. var val = node.attrs[item];
  27951. if (val) {
  27952. if (item == 'viewbox') item = 'viewBox';
  27953. src += ' '.concat(item, '="').concat(val, '"');
  27954. }
  27955. }
  27956. if (!node.children) src += '/>';else {
  27957. src += '>';
  27958. for (var _i2 = 0; _i2 < node.children.length; _i2++) {
  27959. traversal(node.children[_i2]);
  27960. }
  27961. src += "</".concat(node.name, ">");
  27962. }
  27963. })(node);
  27964. node.name = 'img';
  27965. node.attrs = {
  27966. src: "data:image/svg+xml;utf8,".concat(src.replace(/#/g, '%23')),
  27967. style: style,
  27968. ignore: 'T'
  27969. };
  27970. node.children = void 0;
  27971. this.xml = false;
  27972. return;
  27973. }
  27974. // 转换 align 属性
  27975. if (attrs.align) {
  27976. if (node.name == 'table') {
  27977. if (attrs.align == 'center') styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';else styleObj.float = attrs.align;
  27978. } else styleObj['text-align'] = attrs.align;
  27979. attrs.align = void 0;
  27980. } // 转换 font 标签的属性
  27981. if (node.name == 'font') {
  27982. if (attrs.color) {
  27983. styleObj.color = attrs.color;
  27984. attrs.color = void 0;
  27985. }
  27986. if (attrs.face) {
  27987. styleObj['font-family'] = attrs.face;
  27988. attrs.face = void 0;
  27989. }
  27990. if (attrs.size) {
  27991. var size = parseInt(attrs.size);
  27992. if (!isNaN(size)) {
  27993. if (size < 1) size = 1;else if (size > 7) size = 7;
  27994. styleObj['font-size'] = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'][size - 1];
  27995. }
  27996. attrs.size = void 0;
  27997. }
  27998. }
  27999. // 一些编辑器的自带 class
  28000. if ((attrs.class || '').includes('align-center')) styleObj['text-align'] = 'center';
  28001. Object.assign(styleObj, this.parseStyle(node));
  28002. if (parseInt(styleObj.width) > windowWidth) {
  28003. styleObj['max-width'] = '100%';
  28004. styleObj['box-sizing'] = 'border-box';
  28005. }
  28006. if (config.blockTags[node.name]) node.name = 'div'; // 未知标签转为 span,避免无法显示
  28007. else if (!config.trustTags[node.name] && !this.xml) node.name = 'span';
  28008. if (node.name == 'a' || node.name == 'ad') this.expose();
  28009. // 列表处理
  28010. else if ((node.name == 'ul' || node.name == 'ol') && node.c) {
  28011. var types = {
  28012. a: 'lower-alpha',
  28013. A: 'upper-alpha',
  28014. i: 'lower-roman',
  28015. I: 'upper-roman'
  28016. };
  28017. if (types[attrs.type]) {
  28018. attrs.style += ";list-style-type:".concat(types[attrs.type]);
  28019. attrs.type = void 0;
  28020. }
  28021. for (var _i4 = children.length; _i4--;) {
  28022. if (children[_i4].name == 'li') children[_i4].c = 1;
  28023. }
  28024. } // 表格处理
  28025. else if (node.name == 'table') {
  28026. // cellpadding、cellspacing、border 这几个常用表格属性需要通过转换实现
  28027. var padding = parseFloat(attrs.cellpadding);
  28028. var spacing = parseFloat(attrs.cellspacing);
  28029. var border = parseFloat(attrs.border);
  28030. if (node.c) {
  28031. // padding 和 spacing 默认 2
  28032. if (isNaN(padding)) padding = 2;
  28033. if (isNaN(spacing)) spacing = 2;
  28034. }
  28035. if (border) attrs.style += ";border:".concat(border, "px solid gray");
  28036. if (node.flag && node.c) {
  28037. // 有 colspan 或 rowspan 且含有链接的表格通过 grid 布局实现
  28038. styleObj.display = 'grid';
  28039. if (spacing) {
  28040. styleObj['grid-gap'] = "".concat(spacing, "px");
  28041. styleObj.padding = "".concat(spacing, "px");
  28042. } // 无间隔的情况下避免边框重叠
  28043. else if (border) attrs.style += ';border-left:0;border-top:0';
  28044. var width = [];
  28045. // 表格的列宽
  28046. var trList = [];
  28047. // tr 列表
  28048. var cells = [];
  28049. // 保存新的单元格
  28050. var map = {}; // 被合并单元格占用的格子
  28051. (function traversal(nodes) {
  28052. for (var _i5 = 0; _i5 < nodes.length; _i5++) {
  28053. if (nodes[_i5].name == 'tr') trList.push(nodes[_i5]);else traversal(nodes[_i5].children || []);
  28054. }
  28055. })(children);
  28056. for (var row = 1; row <= trList.length; row++) {
  28057. var col = 1;
  28058. for (var j = 0; j < trList[row - 1].children.length; j++, col++) {
  28059. var td = trList[row - 1].children[j];
  28060. if (td.name == 'td' || td.name == 'th') {
  28061. // 这个格子被上面的单元格占用,则列号++
  28062. while (map["".concat(row, ".").concat(col)]) {
  28063. col++;
  28064. }
  28065. var _style2 = td.attrs.style || '';
  28066. var start = _style2.indexOf('width') ? _style2.indexOf(';width') : 0; // 提取出 td 的宽度
  28067. if (start != -1) {
  28068. var end = _style2.indexOf(';', start + 6);
  28069. if (end == -1) end = _style2.length;
  28070. if (!td.attrs.colspan) width[col] = _style2.substring(start ? start + 7 : 6, end);
  28071. _style2 = _style2.substr(0, start) + _style2.substr(end);
  28072. }
  28073. _style2 += (border ? ';border:'.concat(border, 'px solid gray') + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ';padding:'.concat(padding, 'px') : ''); // 处理列合并
  28074. if (td.attrs.colspan) {
  28075. _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + parseInt(td.attrs.colspan));
  28076. if (!td.attrs.rowspan) _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + 1);
  28077. col += parseInt(td.attrs.colspan) - 1;
  28078. } // 处理行合并
  28079. if (td.attrs.rowspan) {
  28080. _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + parseInt(td.attrs.rowspan));
  28081. if (!td.attrs.colspan) _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + 1); // 记录下方单元格被占用
  28082. for (var k = 1; k < td.attrs.rowspan; k++) {
  28083. map["".concat(row + k, ".").concat(col)] = 1;
  28084. }
  28085. }
  28086. if (_style2) td.attrs.style = _style2;
  28087. cells.push(td);
  28088. }
  28089. }
  28090. if (row == 1) {
  28091. var temp = '';
  28092. for (var _i6 = 1; _i6 < col; _i6++) {
  28093. temp += "".concat(width[_i6] ? width[_i6] : 'auto', " ");
  28094. }
  28095. styleObj['grid-template-columns'] = temp;
  28096. }
  28097. }
  28098. node.children = cells;
  28099. } else {
  28100. // 没有使用合并单元格的表格通过 table 布局实现
  28101. if (node.c) styleObj.display = 'table';
  28102. if (!isNaN(spacing)) styleObj['border-spacing'] = "".concat(spacing, "px");
  28103. if (border || padding) {
  28104. // 遍历
  28105. (function traversal(nodes) {
  28106. for (var _i7 = 0; _i7 < nodes.length; _i7++) {
  28107. var _td = nodes[_i7];
  28108. if (_td.name == 'th' || _td.name == 'td') {
  28109. if (border) _td.attrs.style = 'border:'.concat(border, 'px solid gray;').concat(_td.attrs.style || '');
  28110. if (padding) _td.attrs.style = 'padding:'.concat(padding, 'px;').concat(_td.attrs.style || '');
  28111. } else if (_td.children) traversal(_td.children);
  28112. }
  28113. })(children);
  28114. }
  28115. } // 给表格添加一个单独的横向滚动层
  28116. if (this.options.scrollTable && !(attrs.style || '').includes('inline')) {
  28117. var table = _objectSpread({}, node);
  28118. node.name = 'div';
  28119. node.attrs = {
  28120. style: 'overflow:auto'
  28121. };
  28122. node.children = [table];
  28123. attrs = table.attrs;
  28124. }
  28125. } else if ((node.name == 'td' || node.name == 'th') && (attrs.colspan || attrs.rowspan)) {
  28126. for (var _i8 = this.stack.length; _i8--;) {
  28127. if (this.stack[_i8].name == 'table') {
  28128. this.stack[_i8].flag = 1; // 指示含有合并单元格
  28129. break;
  28130. }
  28131. }
  28132. } // 转换 ruby
  28133. else if (node.name == 'ruby') {
  28134. node.name = 'span';
  28135. for (var _i9 = 0; _i9 < children.length - 1; _i9++) {
  28136. if (children[_i9].type == 'text' && children[_i9 + 1].name == 'rt') {
  28137. children[_i9] = {
  28138. name: 'div',
  28139. attrs: {
  28140. style: 'display:inline-block'
  28141. },
  28142. children: [{
  28143. name: 'div',
  28144. attrs: {
  28145. style: 'font-size:50%;text-align:start'
  28146. },
  28147. children: children[_i9 + 1].children
  28148. }, children[_i9]]
  28149. };
  28150. children.splice(_i9 + 1, 1);
  28151. }
  28152. }
  28153. } else if (node.c) {
  28154. node.c = 2;
  28155. for (var _i10 = node.children.length; _i10--;) {
  28156. if (!node.children[_i10].c || node.children[_i10].name == 'table') node.c = 1;
  28157. }
  28158. }
  28159. if ((styleObj.display || '').includes('flex') && !node.c) {
  28160. for (var _i11 = children.length; _i11--;) {
  28161. var _item = children[_i11];
  28162. if (_item.f) {
  28163. _item.attrs.style = (_item.attrs.style || '') + _item.f;
  28164. _item.f = void 0;
  28165. }
  28166. }
  28167. } // flex 布局时部分样式需要提取到 rich-text 外层
  28168. var flex = parent && (parent.attrs.style || '').includes('flex')
  28169. // 检查基础库版本 virtualHost 是否可用
  28170. && !(node.c && wx.getNFCAdapter);
  28171. if (flex) node.f = ';max-width:100%';
  28172. for (var key in styleObj) {
  28173. if (styleObj[key]) {
  28174. var val = ';'.concat(key, ':').concat(styleObj[key].replace(' !important', ''));
  28175. if (flex && (key.includes('flex') && key != 'flex-direction' || key == 'align-self' || styleObj[key][0] == '-' || key == 'width' && val.includes('%'))) {
  28176. node.f += val;
  28177. if (key == 'width') attrs.style += ';width:100%';
  28178. } else {
  28179. attrs.style += val;
  28180. }
  28181. }
  28182. }
  28183. attrs.style = attrs.style.substr(1) || void 0;
  28184. };
  28185. /**
  28186. * @description 解析到文本
  28187. * @param {String} text 文本内容
  28188. */
  28189. parser.prototype.onText = function (text) {
  28190. if (!this.pre) {
  28191. // 合并空白符
  28192. var trim = '';
  28193. var flag;
  28194. for (var i = 0, len = text.length; i < len; i++) {
  28195. if (!blankChar[text[i]]) trim += text[i];else {
  28196. if (trim[trim.length - 1] != ' ') trim += ' ';
  28197. if (text[i] == '\n' && !flag) flag = true;
  28198. }
  28199. } // 去除含有换行符的空串
  28200. if (trim == ' ' && flag) return;
  28201. text = trim;
  28202. }
  28203. var node = Object.create(null);
  28204. node.type = 'text';
  28205. node.text = decodeEntity(text);
  28206. if (this.hook(node)) {
  28207. var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;
  28208. siblings.push(node);
  28209. }
  28210. };
  28211. /**
  28212. * @description html 词法分析器
  28213. * @param {Object} handler 高层处理器
  28214. */
  28215. function lexer(handler) {
  28216. this.handler = handler;
  28217. }
  28218. /**
  28219. * @description 执行解析
  28220. * @param {String} content 要解析的文本
  28221. */
  28222. lexer.prototype.parse = function (content) {
  28223. this.content = content || '';
  28224. this.i = 0; // 标记解析位置
  28225. this.start = 0; // 标记一个单词的开始位置
  28226. this.state = this.text; // 当前状态
  28227. for (var len = this.content.length; this.i != -1 && this.i < len;) {
  28228. this.state();
  28229. }
  28230. };
  28231. /**
  28232. * @description 检查标签是否闭合
  28233. * @param {String} method 如果闭合要进行的操作
  28234. * @returns {Boolean} 是否闭合
  28235. * @private
  28236. */
  28237. lexer.prototype.checkClose = function (method) {
  28238. var selfClose = this.content[this.i] == '/';
  28239. if (this.content[this.i] == '>' || selfClose && this.content[this.i + 1] == '>') {
  28240. if (method) this.handler[method](this.content.substring(this.start, this.i));
  28241. this.i += selfClose ? 2 : 1;
  28242. this.start = this.i;
  28243. this.handler.onOpenTag(selfClose);
  28244. if (this.handler.tagName == 'script') {
  28245. this.i = this.content.indexOf('</', this.i);
  28246. if (this.i != -1) {
  28247. this.i += 2;
  28248. this.start = this.i;
  28249. }
  28250. this.state = this.endTag;
  28251. } else this.state = this.text;
  28252. return true;
  28253. }
  28254. return false;
  28255. };
  28256. /**
  28257. * @description 文本状态
  28258. * @private
  28259. */
  28260. lexer.prototype.text = function () {
  28261. this.i = this.content.indexOf('<', this.i); // 查找最近的标签
  28262. if (this.i == -1) {
  28263. // 没有标签了
  28264. if (this.start < this.content.length) this.handler.onText(this.content.substring(this.start, this.content.length));
  28265. return;
  28266. }
  28267. var c = this.content[this.i + 1];
  28268. if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') {
  28269. // 标签开头
  28270. if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i));
  28271. this.start = ++this.i;
  28272. this.state = this.tagName;
  28273. } else if (c == '/' || c == '!' || c == '?') {
  28274. if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i));
  28275. var next = this.content[this.i + 2];
  28276. if (c == '/' && (next >= 'a' && next <= 'z' || next >= 'A' && next <= 'Z')) {
  28277. // 标签结尾
  28278. this.i += 2;
  28279. this.start = this.i;
  28280. return this.state = this.endTag;
  28281. } // 处理注释
  28282. var end = '-->';
  28283. if (c != '!' || this.content[this.i + 2] != '-' || this.content[this.i + 3] != '-') end = '>';
  28284. this.i = this.content.indexOf(end, this.i);
  28285. if (this.i != -1) {
  28286. this.i += end.length;
  28287. this.start = this.i;
  28288. }
  28289. } else this.i++;
  28290. };
  28291. /**
  28292. * @description 标签名状态
  28293. * @private
  28294. */
  28295. lexer.prototype.tagName = function () {
  28296. if (blankChar[this.content[this.i]]) {
  28297. // 解析到标签名
  28298. this.handler.onTagName(this.content.substring(this.start, this.i));
  28299. while (blankChar[this.content[++this.i]]) {}
  28300. if (this.i < this.content.length && !this.checkClose()) {
  28301. this.start = this.i;
  28302. this.state = this.attrName;
  28303. }
  28304. } else if (!this.checkClose('onTagName')) this.i++;
  28305. };
  28306. /**
  28307. * @description 属性名状态
  28308. * @private
  28309. */
  28310. lexer.prototype.attrName = function () {
  28311. var c = this.content[this.i];
  28312. if (blankChar[c] || c == '=') {
  28313. // 解析到属性名
  28314. this.handler.onAttrName(this.content.substring(this.start, this.i));
  28315. var needVal = c == '=';
  28316. var len = this.content.length;
  28317. while (++this.i < len) {
  28318. c = this.content[this.i];
  28319. if (!blankChar[c]) {
  28320. if (this.checkClose()) return;
  28321. if (needVal) {
  28322. // 等号后遇到第一个非空字符
  28323. this.start = this.i;
  28324. return this.state = this.attrVal;
  28325. }
  28326. if (this.content[this.i] == '=') needVal = true;else {
  28327. this.start = this.i;
  28328. return this.state = this.attrName;
  28329. }
  28330. }
  28331. }
  28332. } else if (!this.checkClose('onAttrName')) this.i++;
  28333. };
  28334. /**
  28335. * @description 属性值状态
  28336. * @private
  28337. */
  28338. lexer.prototype.attrVal = function () {
  28339. var c = this.content[this.i];
  28340. var len = this.content.length; // 有冒号的属性
  28341. if (c == '"' || c == "'") {
  28342. this.start = ++this.i;
  28343. this.i = this.content.indexOf(c, this.i);
  28344. if (this.i == -1) return;
  28345. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  28346. } // 没有冒号的属性
  28347. else {
  28348. for (; this.i < len; this.i++) {
  28349. if (blankChar[this.content[this.i]]) {
  28350. this.handler.onAttrVal(this.content.substring(this.start, this.i));
  28351. break;
  28352. } else if (this.checkClose('onAttrVal')) return;
  28353. }
  28354. }
  28355. while (blankChar[this.content[++this.i]]) {}
  28356. if (this.i < len && !this.checkClose()) {
  28357. this.start = this.i;
  28358. this.state = this.attrName;
  28359. }
  28360. };
  28361. /**
  28362. * @description 结束标签状态
  28363. * @returns {String} 结束的标签名
  28364. * @private
  28365. */
  28366. lexer.prototype.endTag = function () {
  28367. var c = this.content[this.i];
  28368. if (blankChar[c] || c == '>' || c == '/') {
  28369. this.handler.onCloseTag(this.content.substring(this.start, this.i));
  28370. if (c != '>') {
  28371. this.i = this.content.indexOf('>', this.i);
  28372. if (this.i == -1) return;
  28373. }
  28374. this.start = ++this.i;
  28375. this.state = this.text;
  28376. } else this.i++;
  28377. };
  28378. module.exports = parser;
  28379. /* 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"]))
  28380. /***/ }),
  28381. /***/ 98:
  28382. /*!****************************************************************************!*\
  28383. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/gridItem.js ***!
  28384. \****************************************************************************/
  28385. /*! no static exports found */
  28386. /***/ (function(module, exports, __webpack_require__) {
  28387. "use strict";
  28388. Object.defineProperty(exports, "__esModule", {
  28389. value: true
  28390. });
  28391. exports.default = void 0;
  28392. /*
  28393. * @Author : LQ
  28394. * @Description :
  28395. * @version : 1.0
  28396. * @Date : 2021-08-20 16:44:21
  28397. * @LastAuthor : LQ
  28398. * @lastTime : 2021-08-20 17:06:13
  28399. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
  28400. */
  28401. var _default = {
  28402. // grid-item组件
  28403. gridItem: {
  28404. name: null,
  28405. bgColor: 'transparent'
  28406. }
  28407. };
  28408. exports.default = _default;
  28409. /***/ }),
  28410. /***/ 986:
  28411. /*!***************************************************************************!*\
  28412. !*** D:/project/crossBorder/wx-qhb/uview-ui/components/u-picker/props.js ***!
  28413. \***************************************************************************/
  28414. /*! no static exports found */
  28415. /***/ (function(module, exports, __webpack_require__) {
  28416. "use strict";
  28417. /* WEBPACK VAR INJECTION */(function(uni) {
  28418. Object.defineProperty(exports, "__esModule", {
  28419. value: true
  28420. });
  28421. exports.default = void 0;
  28422. var _default = {
  28423. props: {
  28424. // 是否展示picker弹窗
  28425. show: {
  28426. type: Boolean,
  28427. default: uni.$u.props.picker.show
  28428. },
  28429. // 是否展示顶部的操作栏
  28430. showToolbar: {
  28431. type: Boolean,
  28432. default: uni.$u.props.picker.showToolbar
  28433. },
  28434. // 顶部标题
  28435. title: {
  28436. type: String,
  28437. default: uni.$u.props.picker.title
  28438. },
  28439. // 对象数组,设置每一列的数据
  28440. columns: {
  28441. type: Array,
  28442. default: uni.$u.props.picker.columns
  28443. },
  28444. // 是否显示加载中状态
  28445. loading: {
  28446. type: Boolean,
  28447. default: uni.$u.props.picker.loading
  28448. },
  28449. // 各列中,单个选项的高度
  28450. itemHeight: {
  28451. type: [String, Number],
  28452. default: uni.$u.props.picker.itemHeight
  28453. },
  28454. // 取消按钮的文字
  28455. cancelText: {
  28456. type: String,
  28457. default: uni.$u.props.picker.cancelText
  28458. },
  28459. // 确认按钮的文字
  28460. confirmText: {
  28461. type: String,
  28462. default: uni.$u.props.picker.confirmText
  28463. },
  28464. // 取消按钮的颜色
  28465. cancelColor: {
  28466. type: String,
  28467. default: uni.$u.props.picker.cancelColor
  28468. },
  28469. // 确认按钮的颜色
  28470. confirmColor: {
  28471. type: String,
  28472. default: uni.$u.props.picker.confirmColor
  28473. },
  28474. // 每列中可见选项的数量
  28475. visibleItemCount: {
  28476. type: [String, Number],
  28477. default: uni.$u.props.picker.visibleItemCount
  28478. },
  28479. // 选项对象中,需要展示的属性键名
  28480. keyName: {
  28481. type: String,
  28482. default: uni.$u.props.picker.keyName
  28483. },
  28484. // 是否允许点击遮罩关闭选择器
  28485. closeOnClickOverlay: {
  28486. type: Boolean,
  28487. default: uni.$u.props.picker.closeOnClickOverlay
  28488. },
  28489. // 各列的默认索引
  28490. defaultIndex: {
  28491. type: Array,
  28492. default: uni.$u.props.picker.defaultIndex
  28493. },
  28494. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  28495. immediateChange: {
  28496. type: Boolean,
  28497. default: uni.$u.props.picker.immediateChange
  28498. }
  28499. }
  28500. };
  28501. exports.default = _default;
  28502. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  28503. /***/ }),
  28504. /***/ 99:
  28505. /*!************************************************************************!*\
  28506. !*** D:/project/crossBorder/wx-qhb/uview-ui/libs/config/props/icon.js ***!
  28507. \************************************************************************/
  28508. /*! no static exports found */
  28509. /***/ (function(module, exports, __webpack_require__) {
  28510. "use strict";
  28511. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  28512. Object.defineProperty(exports, "__esModule", {
  28513. value: true
  28514. });
  28515. exports.default = void 0;
  28516. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 66));
  28517. /*
  28518. * @Author : LQ
  28519. * @Description :
  28520. * @version : 1.0
  28521. * @Date : 2021-08-20 16:44:21
  28522. * @LastAuthor : LQ
  28523. * @lastTime : 2021-08-20 18:00:14
  28524. * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
  28525. */
  28526. var color = _config.default.color;
  28527. var _default = {
  28528. // icon组件
  28529. icon: {
  28530. name: '',
  28531. color: color['u-content-color'],
  28532. size: '16px',
  28533. bold: false,
  28534. index: '',
  28535. hoverClass: '',
  28536. customPrefix: 'uicon',
  28537. label: '',
  28538. labelPos: 'right',
  28539. labelSize: '15px',
  28540. labelColor: color['u-content-color'],
  28541. space: '3px',
  28542. imgMode: '',
  28543. width: '',
  28544. height: '',
  28545. top: 0,
  28546. stop: false
  28547. }
  28548. };
  28549. exports.default = _default;
  28550. /***/ })
  28551. }]);
  28552. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map