12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073 |
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-vendors"], {
- "00ee": function (t, e, n) {
- var i = n("b622"), r = i("toStringTag"), o = {};
- o[r] = "z", t.exports = "[object z]" === String(o)
- }, "0366": function (t, e, n) {
- var i = n("1c0b");
- t.exports = function (t, e, n) {
- if (i(t), void 0 === e) return t;
- switch (n) {
- case 0:
- return function () {
- return t.call(e)
- };
- case 1:
- return function (n) {
- return t.call(e, n)
- };
- case 2:
- return function (n, i) {
- return t.call(e, n, i)
- };
- case 3:
- return function (n, i, r) {
- return t.call(e, n, i, r)
- }
- }
- return function () {
- return t.apply(e, arguments)
- }
- }
- }, "0538": function (t, e, n) {
- "use strict";
- var i = n("1c0b"), r = n("861d"), o = [].slice, a = {}, s = function (t, e, n) {
- if (!(e in a)) {
- for (var i = [], r = 0; r < e; r++) i[r] = "a[" + r + "]";
- a[e] = Function("C,a", "return new C(" + i.join(",") + ")")
- }
- return a[e](t, n)
- };
- t.exports = Function.bind || function (t) {
- var e = i(this), n = o.call(arguments, 1), a = function () {
- var i = n.concat(o.call(arguments));
- return this instanceof a ? s(e, i.length, i) : e.apply(t, i)
- };
- return r(e.prototype) && (a.prototype = e.prototype), a
- }
- }, "057f": function (t, e, n) {
- var i = n("fc6a"), r = n("241c").f, o = {}.toString,
- a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
- s = function (t) {
- try {
- return r(t)
- } catch (e) {
- return a.slice()
- }
- };
- t.exports.f = function (t) {
- return a && "[object Window]" == o.call(t) ? s(t) : r(i(t))
- }
- }, "06c5": function (t, e, n) {
- "use strict";
- n("a630"), n("fb6a"), n("d3b7"), n("25f0"), n("3ca3"), Object.defineProperty(e, "__esModule", {value: !0}), e.default = o;
- var i = r(n("6b75"));
- function r(t) {
- return t && t.__esModule ? t : {default: t}
- }
- function o(t, e) {
- if (t) {
- if ("string" === typeof t) return (0, i.default)(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? (0, i.default)(t, e) : void 0
- }
- }
- }, "06cf": function (t, e, n) {
- var i = n("83ab"), r = n("d1e7"), o = n("5c6c"), a = n("fc6a"), s = n("c04e"), c = n("5135"), u = n("0cfb"),
- l = Object.getOwnPropertyDescriptor;
- e.f = i ? l : function (t, e) {
- if (t = a(t), e = s(e, !0), u) try {
- return l(t, e)
- } catch (n) {
- }
- if (c(t, e)) return o(!r.f.call(t, e), t[e])
- }
- }, "07ac": function (t, e, n) {
- var i = n("23e7"), r = n("6f53").values;
- i({target: "Object", stat: !0}, {
- values: function (t) {
- return r(t)
- }
- })
- }, "09f0": function (t, e, n) {
- "use strict";
- function i(t, e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) {
- var n = [], i = !0, r = !1, o = void 0;
- try {
- for (var a, s = t[Symbol.iterator](); !(i = (a = s.next()).done); i = !0) if (n.push(a.value), e && n.length === e) break
- } catch (c) {
- r = !0, o = c
- } finally {
- try {
- i || null == s["return"] || s["return"]()
- } finally {
- if (r) throw o
- }
- }
- return n
- }
- }
- n("a4d3"), n("e01a"), n("d28b"), n("d3b7"), n("3ca3"), n("ddb0"), Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, "0b25": function (t, e, n) {
- var i = n("a691"), r = n("50c4");
- t.exports = function (t) {
- if (void 0 === t) return 0;
- var e = i(t), n = r(e);
- if (e !== n) throw RangeError("Wrong length or index");
- return n
- }
- }, "0c47": function (t, e, n) {
- var i = n("da84"), r = n("d44e");
- r(i.JSON, "JSON", !0)
- }, "0ccb": function (t, e, n) {
- var i = n("50c4"), r = n("1148"), o = n("1d80"), a = Math.ceil, s = function (t) {
- return function (e, n, s) {
- var c, u, l = String(o(e)), f = l.length, d = void 0 === s ? " " : String(s), h = i(n);
- return h <= f || "" == d ? l : (c = h - f, u = r.call(d, a(c / d.length)), u.length > c && (u = u.slice(0, c)), t ? l + u : u + l)
- }
- };
- t.exports = {start: s(!1), end: s(!0)}
- }, "0cfb": function (t, e, n) {
- var i = n("83ab"), r = n("d039"), o = n("cc12");
- t.exports = !i && !r((function () {
- return 7 != Object.defineProperty(o("div"), "a", {
- get: function () {
- return 7
- }
- }).a
- }))
- }, "0d21": function (t, e, n) {
- "use strict";
- function i(t) {
- if (Array.isArray(t)) return t
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, "0d3b": function (t, e, n) {
- var i = n("d039"), r = n("b622"), o = n("c430"), a = r("iterator");
- t.exports = !i((function () {
- var t = new URL("b?a=1&b=2&c=3", "http://a"), e = t.searchParams, n = "";
- return t.pathname = "c%20d", e.forEach((function (t, i) {
- e["delete"]("b"), n += i + t
- })), o && !t.toJSON || !e.sort || "http://a/c%20d?a=1&c=3" !== t.href || "3" !== e.get("c") || "a=1" !== String(new URLSearchParams("?a=1")) || !e[a] || "a" !== new URL("https://a@b").username || "b" !== new URLSearchParams(new URLSearchParams("a=b")).get("a") || "xn--e1aybc" !== new URL("http://тест").host || "#%D0%B1" !== new URL("http://a#б").hash || "a1c3" !== n || "x" !== new URL("http://x", void 0).host
- }))
- }, "10d1": function (t, e, n) {
- "use strict";
- var i, r = n("da84"), o = n("e2cc"), a = n("f183"), s = n("6d61"), c = n("acac"), u = n("861d"),
- l = n("69f3").enforce, f = n("7f9a"), d = !r.ActiveXObject && "ActiveXObject" in r, h = Object.isExtensible,
- p = function (t) {
- return function () {
- return t(this, arguments.length ? arguments[0] : void 0)
- }
- }, v = t.exports = s("WeakMap", p, c);
- if (f && d) {
- i = c.getConstructor(p, "WeakMap", !0), a.REQUIRED = !0;
- var g = v.prototype, m = g["delete"], b = g.has, y = g.get, _ = g.set;
- o(g, {
- delete: function (t) {
- if (u(t) && !h(t)) {
- var e = l(this);
- return e.frozen || (e.frozen = new i), m.call(this, t) || e.frozen["delete"](t)
- }
- return m.call(this, t)
- }, has: function (t) {
- if (u(t) && !h(t)) {
- var e = l(this);
- return e.frozen || (e.frozen = new i), b.call(this, t) || e.frozen.has(t)
- }
- return b.call(this, t)
- }, get: function (t) {
- if (u(t) && !h(t)) {
- var e = l(this);
- return e.frozen || (e.frozen = new i), b.call(this, t) ? y.call(this, t) : e.frozen.get(t)
- }
- return y.call(this, t)
- }, set: function (t, e) {
- if (u(t) && !h(t)) {
- var n = l(this);
- n.frozen || (n.frozen = new i), b.call(this, t) ? _.call(this, t, e) : n.frozen.set(t, e)
- } else _.call(this, t, e);
- return this
- }
- })
- }
- }, 1148: function (t, e, n) {
- "use strict";
- var i = n("a691"), r = n("1d80");
- t.exports = "".repeat || function (t) {
- var e = String(r(this)), n = "", o = i(t);
- if (o < 0 || o == 1 / 0) throw RangeError("Wrong number of repetitions");
- for (; o > 0; (o >>>= 1) && (e += e)) 1 & o && (n += e);
- return n
- }
- }, 1276: function (t, e, n) {
- "use strict";
- var i = n("d784"), r = n("44e7"), o = n("825a"), a = n("1d80"), s = n("4840"), c = n("8aa5"), u = n("50c4"),
- l = n("14c3"), f = n("9263"), d = n("d039"), h = [].push, p = Math.min, v = 4294967295,
- g = !d((function () {
- return !RegExp(v, "y")
- }));
- i("split", 2, (function (t, e, n) {
- var i;
- return i = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ? function (t, n) {
- var i = String(a(this)), o = void 0 === n ? v : n >>> 0;
- if (0 === o) return [];
- if (void 0 === t) return [i];
- if (!r(t)) return e.call(i, t, o);
- var s, c, u, l = [],
- d = (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.unicode ? "u" : "") + (t.sticky ? "y" : ""),
- p = 0, g = new RegExp(t.source, d + "g");
- while (s = f.call(g, i)) {
- if (c = g.lastIndex, c > p && (l.push(i.slice(p, s.index)), s.length > 1 && s.index < i.length && h.apply(l, s.slice(1)), u = s[0].length, p = c, l.length >= o)) break;
- g.lastIndex === s.index && g.lastIndex++
- }
- return p === i.length ? !u && g.test("") || l.push("") : l.push(i.slice(p)), l.length > o ? l.slice(0, o) : l
- } : "0".split(void 0, 0).length ? function (t, n) {
- return void 0 === t && 0 === n ? [] : e.call(this, t, n)
- } : e, [function (e, n) {
- var r = a(this), o = void 0 == e ? void 0 : e[t];
- return void 0 !== o ? o.call(e, r, n) : i.call(String(r), e, n)
- }, function (t, r) {
- var a = n(i, t, this, r, i !== e);
- if (a.done) return a.value;
- var f = o(t), d = String(this), h = s(f, RegExp), m = f.unicode,
- b = (f.ignoreCase ? "i" : "") + (f.multiline ? "m" : "") + (f.unicode ? "u" : "") + (g ? "y" : "g"),
- y = new h(g ? f : "^(?:" + f.source + ")", b), _ = void 0 === r ? v : r >>> 0;
- if (0 === _) return [];
- if (0 === d.length) return null === l(y, d) ? [d] : [];
- var w = 0, k = 0, S = [];
- while (k < d.length) {
- y.lastIndex = g ? k : 0;
- var x, C = l(y, g ? d : d.slice(k));
- if (null === C || (x = p(u(y.lastIndex + (g ? 0 : k)), d.length)) === w) k = c(d, k, m); else {
- if (S.push(d.slice(w, k)), S.length === _) return S;
- for (var T = 1; T <= C.length - 1; T++) if (S.push(C[T]), S.length === _) return S;
- k = w = x
- }
- }
- return S.push(d.slice(w)), S
- }]
- }), !g)
- }, "129f": function (t, e) {
- t.exports = Object.is || function (t, e) {
- return t === e ? 0 !== t || 1 / t === 1 / e : t != t && e != e
- }
- }, "131a": function (t, e, n) {
- var i = n("23e7"), r = n("d2bb");
- i({target: "Object", stat: !0}, {setPrototypeOf: r})
- }, "13d5": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("d58f").left, o = n("a640"), a = n("ae40"), s = o("reduce"), c = a("reduce", {1: 0});
- i({target: "Array", proto: !0, forced: !s || !c}, {
- reduce: function (t) {
- return r(this, t, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, "145e": function (t, e, n) {
- "use strict";
- var i = n("7b0b"), r = n("23cb"), o = n("50c4"), a = Math.min;
- t.exports = [].copyWithin || function (t, e) {
- var n = i(this), s = o(n.length), c = r(t, s), u = r(e, s),
- l = arguments.length > 2 ? arguments[2] : void 0, f = a((void 0 === l ? s : r(l, s)) - u, s - c), d = 1;
- u < c && c < u + f && (d = -1, u += f - 1, c += f - 1);
- while (f-- > 0) u in n ? n[c] = n[u] : delete n[c], c += d, u += d;
- return n
- }
- }, "14c3": function (t, e, n) {
- var i = n("c6b6"), r = n("9263");
- t.exports = function (t, e) {
- var n = t.exec;
- if ("function" === typeof n) {
- var o = n.call(t, e);
- if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null");
- return o
- }
- if ("RegExp" !== i(t)) throw TypeError("RegExp#exec called on incompatible receiver");
- return r.call(t, e)
- }
- }, "159b": function (t, e, n) {
- var i = n("da84"), r = n("fdbc"), o = n("17c2"), a = n("9112");
- for (var s in r) {
- var c = i[s], u = c && c.prototype;
- if (u && u.forEach !== o) try {
- a(u, "forEach", o)
- } catch (l) {
- u.forEach = o
- }
- }
- }, "17c2": function (t, e, n) {
- "use strict";
- var i = n("b727").forEach, r = n("a640"), o = n("ae40"), a = r("forEach"), s = o("forEach");
- t.exports = a && s ? [].forEach : function (t) {
- return i(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- }, "182d": function (t, e, n) {
- var i = n("f8cd");
- t.exports = function (t, e) {
- var n = i(t);
- if (n % e) throw RangeError("Wrong offset");
- return n
- }
- }, "19aa": function (t, e) {
- t.exports = function (t, e, n) {
- if (!(t instanceof e)) throw TypeError("Incorrect " + (n ? n + " " : "") + "invocation");
- return t
- }
- }, "1be4": function (t, e, n) {
- var i = n("d066");
- t.exports = i("document", "documentElement")
- }, "1c0b": function (t, e) {
- t.exports = function (t) {
- if ("function" != typeof t) throw TypeError(String(t) + " is not a function");
- return t
- }
- }, "1c31": function (t, e, n) {
- n("a4d3"), n("e01a"), n("d28b"), n("944a"), n("99af"), n("4de4"), n("7db0"), n("c740"), n("4160"), n("a630"), n("caad"), n("c975"), n("d81d"), n("13d5"), n("26e9"), n("fb6a"), n("45fc"), n("4e82"), n("a434"), n("c19f"), n("ace4"), n("0c47"), n("23dc"), n("a9e3"), n("e439"), n("dbb4"), n("3410"), n("b64b"), n("131a"), n("d3b7"), n("07ac"), n("acd8"), n("e25e"), n("4ae1"), n("5d41"), n("4d63"), n("ac1f"), n("25f0"), n("2532"), n("3ca3"), n("466d"), n("5319"), n("841c"), n("1276"), n("2ca0"), n("498a"), n("5cc6"), n("8a59"), n("9a8c"), n("a975"), n("735e"), n("c1ac"), n("d139"), n("3a7b"), n("d5d6"), n("82f8"), n("e91f"), n("60bd"), n("5f96"), n("3280"), n("3fcc"), n("ca91"), n("25a1"), n("cd26"), n("2954"), n("649e"), n("219c"), n("b39a"), n("72f7"), n("159b"), n("ddb0"), n("2b3d"), function (e, i) {
- t.exports = i(n("a7a7"), n("e143"), n("37dc"))
- }("undefined" !== typeof self && self, (function (t, e, n) {
- return function (t) {
- var e = {};
- function n(i) {
- if (e[i]) return e[i].exports;
- var r = e[i] = {i: i, l: !1, exports: {}};
- return t[i].call(r.exports, r, r.exports, n), r.l = !0, r.exports
- }
- return n.m = t, n.c = e, n.d = function (t, e, i) {
- n.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: i})
- }, n.r = function (t) {
- "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
- }, n.t = function (t, e) {
- if (1 & e && (t = n(t)), 8 & e) return t;
- if (4 & e && "object" === typeof t && t && t.__esModule) return t;
- var i = Object.create(null);
- if (n.r(i), Object.defineProperty(i, "default", {
- enumerable: !0,
- value: t
- }), 2 & e && "string" != typeof t) for (var r in t) n.d(i, r, function (e) {
- return t[e]
- }.bind(null, r));
- return i
- }, n.n = function (t) {
- var e = t && t.__esModule ? function () {
- return t["default"]
- } : function () {
- return t
- };
- return n.d(e, "a", e), e
- }, n.o = function (t, e) {
- return Object.prototype.hasOwnProperty.call(t, e)
- }, n.p = "", n(n.s = "fae3")
- }({
- "0001": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "loadFontFace", (function () {
- return o
- }));
- var i = n("a118"), r = n("db70");
- function o(e, n) {
- var i = Object(r["a"])();
- if (!i) return {errMsg: "loadFontFace:fail not font page"};
- t.publishHandler("loadFontFace", {options: e, callbackId: n}, i)
- }
- t.subscribe("onLoadFontFaceCallback", (function (t) {
- var e = t.callbackId, n = t.data;
- Object(i["a"])(e, n)
- }))
- }.call(this, n("0dd1"))
- }, "00b2": function (t, e, n) {
- }, "0138": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i = n("052f"), r = n("3d1f"), o = n("98be"), a = n("abbf");
- n.d(e, "getApp", (function () {
- return a["b"]
- })), n.d(e, "getCurrentPages", (function () {
- return a["c"]
- })), Object(i["a"])(t.on, {
- getApp: a["b"],
- getCurrentPages: a["c"]
- }), Object(r["a"])(t.subscribe, {
- getApp: a["b"],
- getCurrentPages: a["c"]
- }), e["default"] = o["a"]
- }.call(this, n("0dd1"))
- }, "01d0": function (t, e, n) {
- }, "02b5": function (t, e, n) {
- "use strict";
- var i = n("8e72"), r = n.n(i);
- r.a
- }, "02c9": function (t, e, n) {
- "use strict";
- function i(t) {
- if (0 === t.indexOf("#")) {
- var e = t.substr(1);
- return function (t) {
- return !(!t.componentInstance || t.componentInstance.id !== e) || !(!t.data || !t.data.attrs || t.data.attrs.id !== e)
- }
- }
- if (0 === t.indexOf(".")) {
- var n = t.substr(1);
- return function (t) {
- return t.data && o(n, t.data.staticClass, t.data.class)
- }
- }
- }
- n.d(e, "a", (function () {
- return c
- }));
- var r = /\s+/;
- function o(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "",
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "";
- return e ? -1 !== e.split(r).indexOf(t) : n && "string" === typeof n ? -1 !== n.split(r).indexOf(t) : void 0
- }
- function a(t, e) {
- if (e(t.$vnode || t._vnode)) return t;
- for (var n = t.$children, i = 0; i < n.length; i++) {
- var r = a(n[i], e);
- if (r) return r
- }
- }
- function s(t, e, n) {
- e(t.$vnode || t._vnode) && n.push(t);
- for (var i = t.$children, r = 0; r < i.length; r++) s(i[r], e, n);
- return n
- }
- function c(t) {
- t.prototype.createIntersectionObserver = function (t) {
- return uni.createIntersectionObserver(this, t)
- }, t.prototype.createMediaQueryObserver = function (t) {
- return uni.createMediaQueryObserver(this, t)
- }, t.prototype.selectComponent = function (t) {
- return a(this, i(t))
- }, t.prototype.selectAllComponents = function (t) {
- return s(this, i(t), [])
- }
- }
- }, "02ed": function (t) {
- t.exports = JSON.parse('{"uni.app.quit":"再按一次退出應用","uni.async.error":"連接服務器超時,點擊屏幕重試","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"請注意 showToast 與 hideToast 必須配對使用","uni.showLoading.unpaired":"請注意 showLoading 與 hideLoading 必須配對使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"確定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"從相冊選擇","uni.chooseImage.sourceType.camera":"拍攝","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"從相冊選擇","uni.chooseVideo.sourceType.camera":"拍攝","uni.chooseFile.notUserActivation":"文件選擇器對話框只能在由用戶激活時顯示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存圖像","uni.previewImage.save.success":"保存圖像到相冊成功","uni.previewImage.save.fail":"保存圖像到相冊失敗","uni.setClipboardData.success":"內容已復制","uni.scanCode.title":"掃碼","uni.scanCode.album":"相冊","uni.scanCode.fail":"識別失敗","uni.scanCode.flash.on":"輕觸照亮","uni.scanCode.flash.off":"輕觸關閉","uni.startSoterAuthentication.authContent":"指紋識別中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"彈幕","uni.video.volume":"音量","uni.button.feedback.title":"問題反饋","uni.button.feedback.send":"發送","uni.chooseLocation.search":"搜索地點","uni.chooseLocation.cancel":"取消"}')
- }, "052f": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return a
- }));
- var i = n("a741"), r = n("45db");
- function o(t, e) {
- var n = t.name, i = t.arg;
- "postMessage" === n || uni[n](i)
- }
- function a(t, e) {
- var n = e.getApp, a = e.getCurrentPages;
- function s(t) {
- Object(i["a"])(n(), "onError", t)
- }
- function c(t) {
- Object(i["a"])(n(), "onPageNotFound", t)
- }
- function u(t, e) {
- var n = a().find((function (t) {
- return t.$page.id === e
- }));
- n && Object(i["b"])(n, "onResize", t)
- }
- function l(t, e) {
- var n = a().find((function (t) {
- return t.$page.id === e
- }));
- n && (Object(r["setPullDownRefreshPageId"])(e), Object(i["b"])(n, "onPullDownRefresh"))
- }
- function f(t, e) {
- var n = a();
- n.length && Object(i["b"])(n[n.length - 1], t, e)
- }
- function d(t) {
- return function (e) {
- f(t, e)
- }
- }
- function h() {
- Object(i["a"])(n(), "onHide"), f("onHide")
- }
- function p(t) {
- Object(i["a"])(n(), "onShow", t);
- var e = a();
- 0 !== e.length && f("onShow")
- }
- t("onError", s), t("onPageNotFound", c), t("onAppEnterBackground", h), t("onAppEnterForeground", p), t("onResize", u), t("onPullDownRefresh", l), t("onTabItemTap", d("onTabItemTap")), t("onNavigationBarButtonTap", d("onNavigationBarButtonTap")), t("onNavigationBarSearchInputChanged", d("onNavigationBarSearchInputChanged")), t("onNavigationBarSearchInputConfirmed", d("onNavigationBarSearchInputConfirmed")), t("onNavigationBarSearchInputClicked", d("onNavigationBarSearchInputClicked")), t("onNavigationBarSearchInputFocusChanged", d("onNavigationBarSearchInputFocusChanged")), t("onWebInvokeAppService", o)
- }
- }, "0554": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "getLocation", (function () {
- return o
- }));
- var i = n("ffdc"), r = n("636c");
- function o(e, n) {
- var o = e.type, a = e.altitude, s = e.isHighAccuracy, c = e.highAccuracyExpireTime, u = t,
- l = u.invokeCallbackHandler, f = Object(r["d"])();
- new Promise((function (t, e) {
- navigator.geolocation ? navigator.geolocation.getCurrentPosition((function (e) {
- return t(e.coords)
- }), e, {
- enableHighAccuracy: s || a,
- timeout: c || 1e5
- }) : e(new Error("device nonsupport geolocation"))
- })).catch((function () {
- return new Promise((function (t, e) {
- f.type === r["c"].QQ ? Object(i["a"])("https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=".concat(f.key), {callback: "callback"}, (function (n) {
- if ("result" in n && n.result.location) {
- var i = n.result.location;
- t({latitude: i.lat, longitude: i.lng}, !0)
- } else e(new Error(n.message || JSON.stringify(n)))
- }), (function () {
- return e(new Error("network error"))
- })) : f.type === r["c"].GOOGLE ? uni.request({
- method: "POST",
- url: "https://www.googleapis.com/geolocation/v1/geolocate?key=".concat(f.key),
- success: function (n) {
- var i = n.data;
- "location" in i ? t({
- latitude: i.location.lat,
- longitude: i.location.lng,
- accuracy: i.accuracy
- }) : e(new Error(i.error && i.error.message || JSON.stringify(n)))
- },
- fail: function () {
- e(new Error("network error"))
- }
- }) : e(new Error("network error"))
- }))
- })).then((function (t, e) {
- return "WGS84" === o.toUpperCase() || f.type !== r["c"].QQ || e ? t : new Promise((function (e, n) {
- Object(i["a"])("https://apis.map.qq.com/jsapi?qt=translate&type=1&points=".concat(t.longitude, ",").concat(t.latitude, "&key=").concat(f.key, "&output=jsonp&pf=jsapi&ref=jsapi"), {callback: "cb"}, (function (n) {
- if ("detail" in n && "points" in n.detail && n.detail.points.length) {
- var i = n.detail.points[0];
- e(Object.assign({}, t, {longitude: i.lng, latitude: i.lat}))
- } else e(t)
- }), (function () {
- return e(t)
- }))
- }))
- })).then((function (t) {
- l(n, Object.assign(t, {
- errMsg: "getLocation:ok",
- verticalAccuracy: t.altitudeAccuracy || 0,
- horizontalAccuracy: t.accuracy
- }))
- })).catch((function (t) {
- l(n, {errMsg: "getLocation:fail " + t.message})
- }))
- }
- }.call(this, n("0dd1"))
- }, "0741": function (t, e, n) {
- "use strict";
- var i = n("3c79"), r = n.n(i);
- r.a
- }, "0758": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e, n, i, r) {
- var o = n.$page.id;
- t.publishHandler(o + "-map-" + e, {mapId: e, type: i, data: r}, o)
- }
- n.d(e, "operateMapPlayer", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, "0784": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return s
- }));
- var i = n("f2b3"), r = n("a741"), o = n("28c0");
- function a(t, e) {
- var n = t.$route;
- t.route = n.meta.pagePath, t.options || (t.options = e);
- var r = Object(i["i"])(n.params, "__id__") ? n.params.__id__ : n.meta.id;
- t.__page__ = {
- id: r,
- path: n.path,
- route: n.meta.pagePath,
- fullPath: n.meta.isEntry ? n.meta.pagePath : n.fullPath,
- options: e,
- meta: Object.assign({}, n.meta)
- };
- var a = t.$router.$eventChannel || new o["a"];
- t.getOpenerEventChannel = function () {
- return a
- }, t.$vm = t, t.$root = t, t.$holder = t.$parent.$parent, t.$mp = {
- mpType: "page",
- page: t,
- query: {},
- status: ""
- }
- }
- function s() {
- return {
- created: function () {
- var t = Object(i["e"])(this.$route.query);
- a(this, t), Object(r["b"])(this, "onLoad", t), Object(r["b"])(this, "onShow")
- }
- }
- }
- }, "091a": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "createIntersectionObserver", (function () {
- return d
- }));
- var i = n("62b5"), r = n("1634"), o = n("db70");
- function a(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function s(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function c(t, e, n) {
- return e && s(t.prototype, e), n && s(t, n), t
- }
- var u = Object(i["a"])("requestComponentObserver"),
- l = {thresholds: [0], initialRatio: 0, observeAll: !1}, f = function () {
- function e(t, n) {
- a(this, e), this.pageId = t.$page && t.$page.id, this.component = t._$id || t, this.options = Object.assign({}, l, n)
- }
- return c(e, [{
- key: "_makeRootMargin", value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- this.options.rootMargin = ["top", "right", "bottom", "left"].map((function (e) {
- return "".concat(Number(t[e]) || 0, "px")
- })).join(" ")
- }
- }, {
- key: "relativeTo", value: function (t, e) {
- return this.options.relativeToSelector = t, this._makeRootMargin(e), this
- }
- }, {
- key: "relativeToViewport", value: function (t) {
- return this.options.relativeToSelector = null, this._makeRootMargin(t), this
- }
- }, {
- key: "observe", value: function (e, n) {
- "function" === typeof n && (this.options.selector = e, this.reqId = u.push(n), t.publishHandler("requestComponentObserver", {
- reqId: this.reqId,
- component: this.component,
- options: this.options
- }, Object(r["a"])(this.component) ? this.component : this.pageId))
- }
- }, {
- key: "disconnect", value: function () {
- t.publishHandler("destroyComponentObserver", {reqId: this.reqId}, Object(r["a"])(this.component) ? this.component : this.pageId)
- }
- }]), e
- }();
- function d(t, e) {
- return t._isVue || (e = t, t = null), new f(t || Object(o["b"])("createIntersectionObserver"), e)
- }
- }.call(this, n("0dd1"))
- }, "0998": function (t, e, n) {
- "use strict";
- var i = n("927d"), r = n.n(i);
- r.a
- }, "09e5": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "requestComponentInfo", (function () {
- return a
- }));
- var i = n("62b5"), r = n("1634"), o = Object(i["a"])("requestComponentInfo");
- function a(e, n, i) {
- t.publishHandler("requestComponentInfo", {
- reqId: o.push(i),
- reqs: n
- }, Object(r["a"])(e) ? e : e.$page.id)
- }
- }.call(this, n("0dd1"))
- }, "0baa": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "chooseFile", (function () {
- return o
- }));
- var i = ["all", "image", "video"], r = ["album", "camera"], o = {
- count: {
- type: Number, required: !1, default: 100, validator: function (t, e) {
- t <= 0 && (e.count = 100)
- }
- }, sourceType: {
- type: Array, required: !1, default: r, validator: function (t, e) {
- t = t.filter((function (t) {
- return r.includes(t)
- })), e.sourceType = t.length ? t : r
- }
- }, type: {
- type: String, required: !1, default: "all", validator: function (t, e) {
- i.includes(t) || (e.type = i[0]), e.type = "all" === e.type ? e.type = "*" : e.type
- }
- }, extension: {
- type: Array, default: [""], validator: function (t, e) {
- if (0 === t.length) return "param extension should not be empty."
- }
- }
- }
- }, "0dd1": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "on", (function () {
- return c
- })), n.d(e, "off", (function () {
- return u
- })), n.d(e, "once", (function () {
- return l
- })), n.d(e, "emit", (function () {
- return f
- })), n.d(e, "subscribe", (function () {
- return d
- })), n.d(e, "unsubscribe", (function () {
- return h
- })), n.d(e, "subscribeHandler", (function () {
- return p
- }));
- var i = n("8bbf"), r = n.n(i), o = n("27a7");
- n.d(e, "invokeCallbackHandler", (function () {
- return o["a"]
- })), n.d(e, "removeCallbackHandler", (function () {
- return o["b"]
- }));
- var a = n("b865");
- n.d(e, "publishHandler", (function () {
- return a["b"]
- }));
- var s = new r.a, c = s.$on.bind(s), u = s.$off.bind(s), l = s.$once.bind(s), f = s.$emit.bind(s);
- function d(t, e) {
- return c("view." + t, e)
- }
- function h(t, e) {
- return u("view." + t, e)
- }
- function p(t, e, n) {
- return f("view." + t, e, n)
- }
- }, "0e5c": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "showTopWindow", (function () {
- return o
- })), n.d(e, "hideTopWindow", (function () {
- return a
- })), n.d(e, "showLeftWindow", (function () {
- return s
- })), n.d(e, "hideLeftWindow", (function () {
- return c
- })), n.d(e, "showRightWindow", (function () {
- return u
- })), n.d(e, "hideRightWindow", (function () {
- return l
- })), n.d(e, "getTopWindowStyle", (function () {
- return d
- })), n.d(e, "getLeftWindowStyle", (function () {
- return h
- })), n.d(e, "getRightWindowStyle", (function () {
- return p
- })), n.d(e, "setTopWindowStyle", (function () {
- return g
- })), n.d(e, "setLeftWindowStyle", (function () {
- return m
- })), n.d(e, "setRightWindowStyle", (function () {
- return b
- }));
- var i = n("f2b3");
- function r(t, e) {
- var n = e ? "show" : "hide" + Object(i["c"])(t) + "Window", r = getApp();
- if (r) {
- var o = r.$children[0].$refs.layout.showWindow(t, e);
- return o ? {errMsg: "".concat(n, ":fail ").concat(o)} : {}
- }
- return {errMsg: "".concat(n, ":fail app not ready")}
- }
- function o() {
- return r("top", !0)
- }
- function a() {
- return r("top", !1)
- }
- function s() {
- return r("left", !0)
- }
- function c() {
- return r("left", !1)
- }
- function u() {
- return r("right", !0)
- }
- function l() {
- return r("right", !1)
- }
- function f(t) {
- var e = "get" + Object(i["c"])(t) + "WindowStyle", n = getApp();
- if (!n) return {errMsg: "".concat(e, ":fail app not ready")};
- var r = n.$children[0].$refs.layout.getWindowStyle(t);
- return "string" === typeof r && -1 !== r.indexOf("Window not found") ? {errMsg: "".concat(e, ":fail ").concat(r)} : r
- }
- function d(t) {
- return f("top")
- }
- function h(t) {
- return f("left")
- }
- function p(t) {
- return f("right")
- }
- function v(t, e) {
- var n = "set" + Object(i["c"])(t) + "WindowStyle", r = getApp();
- if (!r) return {errMsg: "".concat(n, ":fail app not ready")};
- var o = r.$children[0].$refs.layout.setWindowStyle(t, e);
- return o ? {errMsg: "".concat(n, ":fail ").concat(o)} : {}
- }
- function g(t) {
- return v("top", t)
- }
- function m(t) {
- return v("left", t)
- }
- function b(t) {
- return v("right", t)
- }
- }, "0f55": function (t, e, n) {
- "use strict";
- var i = n("2190"), r = n.n(i);
- r.a
- }, "0f74": function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (e) {
- if (0 === e.indexOf("/")) return e
- } else {
- if (e = t, 0 === e.indexOf("/")) return e;
- var n = getCurrentPages();
- t = n.length ? n[n.length - 1].$page.route : ""
- }
- if (0 === e.indexOf("./")) return i(t, e.substr(2));
- for (var r = e.split("/"), o = r.length, a = 0; a < o && ".." === r[a]; a++) ;
- r.splice(0, a), e = r.join("/");
- var s = t.length > 0 ? t.split("/") : [];
- return s.splice(s.length - a - 1, a + 1), "/" + s.concat(r).join("/")
- }
- n.d(e, "a", (function () {
- return i
- }))
- }, 1082: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-image", t._g({}, t.$listeners), [n("div", {
- ref: "content",
- style: t.style
- }), t.contentPath ? n("img", {
- attrs: {
- src: t.contentPath,
- draggable: t.draggable
- }
- }) : t._e(), "widthFix" === t.mode || "heightFix" === t.mode ? n("v-uni-resize-sensor", {
- ref: "sensor",
- on: {
- resize: function (e) {
- return t._fixSize()
- }
- }
- }) : t._e()], 1)
- }, r = [];
- function o(t) {
- return o = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, o(t)
- }
- function a(t) {
- return ("undefined" === typeof navigator || o(navigator)) && "Google Inc." === navigator.vendor && t > 10 && (t = 2 * Math.round(t / 2)), t
- }
- var s = {
- name: "Image",
- props: {
- src: {type: String, default: ""},
- mode: {type: String, default: "scaleToFill"},
- lazyLoad: {type: [Boolean, String], default: !1},
- draggable: {type: Boolean, default: !1}
- },
- data: function () {
- return {
- originalWidth: 0,
- originalHeight: 0,
- originalStyle: {width: "", height: ""},
- contentPath: ""
- }
- },
- computed: {
- ratio: function () {
- return this.originalWidth && this.originalHeight ? this.originalWidth / this.originalHeight : 0
- }, style: function () {
- var t = "auto", e = "", n = "no-repeat";
- switch (this.mode) {
- case"aspectFit":
- t = "contain", e = "center center";
- break;
- case"aspectFill":
- t = "cover", e = "center center";
- break;
- case"widthFix":
- case"heightFix":
- t = "100% 100%";
- break;
- case"top":
- e = "center top";
- break;
- case"bottom":
- e = "center bottom";
- break;
- case"center":
- e = "center center";
- break;
- case"left":
- e = "left center";
- break;
- case"right":
- e = "right center";
- break;
- case"top left":
- e = "left top";
- break;
- case"top right":
- e = "right top";
- break;
- case"bottom left":
- e = "left bottom";
- break;
- case"bottom right":
- e = "right bottom";
- break;
- default:
- t = "100% 100%", e = "0% 0%";
- break
- }
- return {
- "background-image": this.contentPath ? 'url("'.concat(this.contentPath, '")') : "none",
- "background-position": e,
- "background-size": t,
- "background-repeat": n
- }
- }
- },
- watch: {
- src: function (t, e) {
- this._loadImage()
- }, mode: function (t, e) {
- "widthFix" !== e && "heightFix" !== e || this._resetSize(), "widthFix" !== t && "heightFix" !== t || this._fixSize()
- }
- },
- mounted: function () {
- this.originalStyle.width = this.$el.style.width || "", this.originalStyle.height = this.$el.style.height || "", this._loadImage()
- },
- beforeDestroy: function () {
- this._clearImage()
- },
- methods: {
- _fixSize: function () {
- if (this.ratio) {
- var t = this.$el;
- if ("widthFix" === this.mode) {
- var e = t.offsetWidth;
- e && (t.style.height = a(e / this.ratio) + "px")
- } else if ("heightFix" === this.mode) {
- var n = t.offsetHeight;
- n && (t.style.width = a(n * this.ratio) + "px")
- }
- }
- window.dispatchEvent(new CustomEvent("updateview"))
- }, _resetSize: function () {
- this.$el.style.width = this.originalStyle.width, this.$el.style.height = this.originalStyle.height
- }, _resetData: function () {
- this.originalWidth = 0, this.originalHeight = 0, this.contentPath = ""
- }, _loadImage: function () {
- var t = this, e = this.$getRealPath(this.src);
- if (e) {
- var n = this._img = this._img || new Image;
- n.onload = function (i) {
- t._img = null, t.originalWidth = n.width, t.originalHeight = n.height, t._fixSize(), t.contentPath = e, t.$trigger("load", i, {
- width: n.width,
- height: n.height
- })
- }, n.onerror = function (e) {
- t._img = null, t._resetData(), t.$trigger("error", e, {errMsg: "GET ".concat(t.src, " 404 (Not Found)")})
- }, n.src = e
- } else this._clearImage(), this._resetData()
- }, _clearImage: function () {
- var t = this._img;
- t && (t.onload = null, t.onerror = null, this._img = null)
- }
- }
- }, c = s, u = (n("db18"), n("2877")), l = Object(u["a"])(c, i, r, !1, null, null, null);
- e["default"] = l.exports
- }, "10a3": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-ad", t._g(t._b({}, "uni-ad", t.attrs, !1), t.$listeners), [n("div", {
- ref: "container",
- staticClass: "uni-ad-container",
- on: {click: t._onhandle}
- })])
- }, r = [], o = n("8af1");
- function a(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function s(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function c(t, e, n) {
- return e && s(t.prototype, e), n && s(t, n), t
- }
- function u(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var l = function () {
- function t() {
- a(this, t), this._instance = null, this._adConfig = null, this._isLoading = !1, this._lastError = null, this._callbacks = []
- }
- return c(t, null, [{
- key: "instance", get: function () {
- return null == this._instance && (this._instance = new t, this._instance._init()), this._instance
- }
- }]), c(t, [{
- key: "_init", value: function () {
- var t = this._getConfig();
- null !== t && t.last && (this.isExpired || (this._adConfig = t.data))
- }
- }, {
- key: "get", value: function (e, n, i) {
- if (t.IC++, null != this._adConfig) return this._doCallback(e, n, i), void (this.isExpired && this._loadAdConfig(e));
- this._callbacks.push({adpid: e, success: n, fail: i}), this._loadAdConfig(e)
- }
- }, {
- key: "_doCallback", value: function (e, n, i) {
- t.IS++;
- var r = this._adConfig, o = r.a, a = r.b;
- o[e] ? n(a, o[e]) : i(this.ERROR_INVALID_ADPID)
- }
- }, {
- key: "_loadAdConfig", value: function (t) {
- var e = this;
- !0 !== this._isLoading && (this._isLoading = !0, uni.request({
- url: this.URL,
- method: "GET",
- timeout: 8e3,
- data: {d: location.hostname, a: t},
- dataType: "json",
- success: function (t) {
- var n = t.data;
- if (0 === n.ret) {
- var i = n.data;
- e._adConfig = i, e._setConfig(i), e._callbacks.forEach((function (t) {
- var n = t.adpid, i = t.success, r = t.fail;
- e._doCallback(n, i, r)
- }))
- } else e._callbacks.forEach((function (t) {
- t.fail({errCode: n.ret, errMsg: n.msg})
- }));
- e._callbacks = []
- },
- fail: function (t) {
- e._callbacks.forEach((function (e) {
- e.fail(t)
- })), e._callbacks = []
- },
- complete: function (t) {
- e._isLoading = !1
- }
- }))
- }
- }, {
- key: "_getConfig", value: function () {
- if (!navigator.cookieEnabled || !window.localStorage) return null;
- var t = localStorage.getItem(this.KEY);
- return t ? JSON.parse(t) : null
- }
- }, {
- key: "_setConfig", value: function (t) {
- if (!navigator.cookieEnabled || !window.localStorage) return null;
- localStorage.setItem(this.KEY, JSON.stringify({last: Date.now(), data: t}))
- }
- }, {
- key: "adConfig", get: function () {
- return this._adConfig
- }
- }, {
- key: "isExpired", get: function () {
- return null == this._adConfig || Math.abs(Date.now() - this._adConfig.last) > this.CACHE_TIME
- }
- }]), t
- }();
- u(l, "IC", 0), u(l, "IS", 0), Object.assign(l.prototype, {
- URL: "https://hac1.dcloud.net.cn/ah5",
- KEY: "uni_app_ad_config",
- CACHE_TIME: 6e5,
- ERROR_INVALID_ADPID: {"-5002": "invalid adpid"}
- });
- var f = function () {
- function t() {
- a(this, t), this._instance = null, this._adConfig = null, this._guid = null
- }
- return c(t, null, [{
- key: "instance", get: function () {
- return null == this._instance && (this._instance = new t, this._instance._init()), this._instance
- }
- }]), c(t, [{
- key: "_init", value: function () {
- var t = this._getConfig();
- null !== t && t.guid ? this._guid = t.guid : (this._guid = this._newGUID(), this._setConfig(this._guid))
- }
- }, {
- key: "get", value: function (t) {
- this._process(Object.assign(t, {d: location.hostname, i: this._guid}))
- }
- }, {
- key: "_process", value: function (t) {
- uni.request({
- url: this.URL,
- method: "GET",
- data: t,
- dataType: "json",
- success: function () {
- }
- })
- }
- }, {
- key: "_newGUID", value: function () {
- for (var t = "", e = "xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx", n = 0; n < e.length; n++) "x" === e[n] ? t += (16 * Math.random() | 0).toString(16) : t += e[n];
- return t.toUpperCase()
- }
- }, {
- key: "_getConfig", value: function () {
- if (!navigator.cookieEnabled || !window.localStorage) return null;
- var t = localStorage.getItem(this.KEY);
- return t ? JSON.parse(t) : null
- }
- }, {
- key: "_setConfig", value: function (t) {
- if (!navigator.cookieEnabled || !window.localStorage) return null;
- localStorage.setItem(this.KEY, JSON.stringify({last: Date.now(), guid: t}))
- }
- }]), t
- }();
- Object.assign(f.prototype, {URL: "https://has1.dcloud.net.cn/ahl", KEY: "uni_app_ad_guid"});
- var d = function () {
- function t() {
- a(this, t), this._instance = null, this._callback = {}, this._cache = {}
- }
- return c(t, null, [{
- key: "instance", get: function () {
- return null == this._instance && (this._instance = new t), this._instance
- }
- }]), c(t, [{
- key: "load", value: function (t, e, n, i) {
- void 0 === this._cache[t] && this.loadScript(t, e), 1 === this._cache[t] ? n() : (this._callback[t] || (this._callback[t] = []), this._callback[t].push({
- success: n,
- fail: i
- }))
- }
- }, {
- key: "loadScript", value: function (t, e) {
- var n = this;
- this._cache[t] = 0;
- var i = document.createElement("script");
- for (var r in i.setAttribute("id", "uniad_provider" + t), e) i.setAttribute(r, e[r]);
- i.onload = function () {
- n._cache[t] = 1, n._callback[t].forEach((function (t) {
- var e = t.success;
- e()
- })), n._callback[t].length = 0
- }, i.onerror = function (e) {
- n._cache[t] = void 0, n._callback[t].forEach((function (t) {
- var n = t.fail;
- n(e)
- })), n._callback[t].length = 0
- }, document.body.append(i)
- }
- }]), t
- }(), h = function () {
- function t() {
- a(this, t), this._instance = null, this._callback = {}, this._cache = {}, window.TencentGDT = window.TencentGDT || []
- }
- return c(t, null, [{
- key: "instance", get: function () {
- return null == this._instance && (this._instance = new t), this._instance
- }
- }]), c(t, [{
- key: "load", value: function (t, e, n, i) {
- var r = this;
- this._callback[e] || (this._callback[e] = []), this._callback[e].push({
- success: n,
- fail: i
- }), this._cache[e] || (this._cache[e] = {isReady: !1}, window.TencentGDT.push({
- app_id: t,
- placement_id: e,
- type: "native",
- count: 1,
- onComplete: function (t) {
- r._cache[e].isReady = !0, r._callback[e].forEach((function (n) {
- var i = n.success, o = n.fail;
- t && Array.isArray(t) && t.length ? i(t[0]) : o(t), r._callback[e].length = 0
- }))
- }
- })), !0 === this._cache[e].isReady && window.TencentGDT.NATIVE.loadAd(e)
- }
- }]), t
- }(), p = 1e3, v = 5, g = 750, m = {
- name: "Ad",
- mixins: [o["g"]],
- props: {
- adpid: {type: [Number, String], default: ""},
- adpidWidescreen: {type: [Number, String], default: ""},
- widescreenWidth: {type: [Number, String], default: g}
- },
- watch: {
- adpid: function (t) {
- t && this._loadData(t)
- }, adpidWidescreen: function (t) {
- t && this._loadData(t)
- }
- },
- mounted: function () {
- this._p = {}, this._pl = [], this._pi = 0, this._checkTimer = null, this._checkTimerCount = 0, this._isWidescreen = this.$refs.container.clientWidth > parseInt(this.widescreenWidth), this._loadData(), f.instance.get({
- h: __uniConfig.compilerVersion,
- a: this.adpid,
- at: -3,
- ic: l.IC,
- is: l.IS
- })
- },
- beforeDestroy: function () {
- this._clearCheckTimer(), this.$refs.container.innerHTML = "", this._shanhuAd && delete this._shanhuAd
- },
- methods: {
- _onhandle: function (t) {
- this._report(41)
- }, _reset: function () {
- this._p = {}, this._pl = [], this._pi = 0, this._clearCheckTimer(), this.$refs.container.innerHTML = "", this._isReady = !1
- }, _loadData: function (t) {
- var e = this;
- this._reset();
- var n = t || this.adpid, i = this._isWidescreen && this.adpidWidescreen || n;
- l.instance.get(i, (function (t, n) {
- e._b = t, e._pl = n, e._renderAd()
- }), (function (t) {
- e.$trigger("error", {}, t)
- }))
- }, _renderAd: function () {
- var t = this;
- if (!(this._pi > this._pl.length - 1)) {
- var e = this._pl[this._pi], n = this._b[e.a1][e.t], i = n.script;
- this._currentChannel = e.a1;
- var r = this._randomId(), o = this._createView(r);
- "10010" === e.a1 ? d.instance.load(e.t, i, (function () {
- t._renderBaidu(r, e.a2)
- }), (function (e) {
- t.$trigger("error", {}, e)
- })) : "10011" === e.a1 ? (h.instance.load(e.a3, e.a2, (function (t) {
- window.TencentGDT.NATIVE.renderAd(t, r)
- })), this._startCheckTimer()) : "10012" === e.a1 ? this._renderScript(o, i) : "10014" === e.a1 ? d.instance.load(e.t, i, (function () {
- t._renderShanhu(r, e.tt, e.tar)
- }), (function (e) {
- t.$trigger("error", {}, e)
- })) : d.instance.load(e.t, i, (function () {
- t._renderAdView(r, i.s, e)
- }), (function (e) {
- t.$trigger("error", {}, e)
- }))
- }
- }, _createView: function (t) {
- var e = document.createElement("div");
- return e.setAttribute("id", t), e.setAttribute("class", t), this.$refs.container.innerHTML = "", this.$refs.container.append(e), e
- }, _renderScript: function (t, e) {
- var n = document.createElement("script");
- for (var i in e) n.setAttribute(i, e[i]);
- t.appendChild(n), this._startCheckTimer()
- }, _renderBaidu: function (t, e) {
- (window.slotbydup = window.slotbydup || []).push({
- id: e,
- container: t,
- async: !0
- }), this._startCheckTimer()
- }, _renderAdView: function (t, e, n) {
- var i = window;
- e.split(".").reduce((function (t, e) {
- return i = t, t[e]
- }), window).bind(i)(n.a2, t, 2), this._startCheckTimer()
- }, _renderShanhu: function (t, e, n) {
- var i = this;
- this._shanhuAd = new window.CoralTBSAdv(t, {
- type: e, target: n, advShowCb: function () {
- i._report(42), i.$trigger("load", {}, {})
- }, advClickCb: function () {
- i._report(43), i.$trigger("adclicked", {}, {})
- }, advCloseCb: function () {
- i.$trigger("close", {}, {})
- }, advErrorCb: function (t) {
- i.$trigger("error", {}, t)
- }
- }), this._startCheckTimer()
- }, _renderNext: function () {
- this._pi >= this._pl.length - 1 || (this._pi++, this._renderAd())
- }, _checkRender: function () {
- var t = this.$refs.container.children.length > 0 && this.$refs.container.clientHeight > 40;
- return t && this._report(40, this._currentChannel), t
- }, _startCheckTimer: function () {
- var t = this;
- this._clearCheckTimer(), this._checkTimer = setInterval((function () {
- if (t._checkTimerCount++, t._checkTimerCount >= v) return t._clearCheckTimer(), void t._renderNext();
- t._checkRender() && t._clearCheckTimer()
- }), p)
- }, _clearCheckTimer: function () {
- this._checkTimerCount = 0, null != this._checkTimer && (window.clearInterval(this._checkTimer), this._checkTimer = null)
- }, _report: function (t, e) {
- var n = {h: __uniConfig.compilerVersion, a: this.adpid, at: t};
- e && (n.t = e), f.instance.get(n)
- }, _randomId: function () {
- for (var t = "", e = 0; e < 4; e++) t += (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
- return "_u" + t
- }
- }
- }, b = m, y = (n("e4bc"), n("2877")), _ = Object(y["a"])(b, i, r, !1, null, null, null);
- e["default"] = _.exports
- }, 1164: function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "b", (function () {
- return a
- })), n.d(e, "c", (function () {
- return s
- })), n.d(e, "a", (function () {
- return c
- }));
- var i = n("a6b0"), r = n("23e5"), o = !1;
- function a() {
- return o
- }
- function s() {
- var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], i = [], r = a();
- if (!r) return n && t.error("app is not ready"), [];
- var o = r.$children[0];
- if (o && o.$children.length) {
- var s = o.$children.find((function (t) {
- return "TabBar" === t.$options.name
- })), c = o.$children.find((function (t) {
- return "Layout" === t.$options.name
- }));
- c && (o = c), o.$children.forEach((function (t) {
- if (s !== t && t.$children.length && "Page" === t.$children[0].$options.name && t.$children[0].$slots.page) {
- var n = t.$children[0].$children.find((function (t) {
- return "PageBody" === t.$options.name
- })), o = n && n.$children.find((function (t) {
- return !!t.$page
- }));
- if (o) {
- var a = !0;
- !e && s && o.$page && o.$page.meta.isTabBar && (r.$route.meta && r.$route.meta.isTabBar ? r.$route.path !== o.$page.path && (a = !1) : s.__path__ !== o.$page.path && (a = !1)), a && i.push(o)
- }
- }
- }))
- }
- var u = i.length;
- if (u > 1) {
- var l = i[u - 1];
- l.$page.path !== r.$route.path && i.splice(u - 1, 1)
- }
- return i
- }
- function c(t, e, n) {
- o = e, o.$vm = e, o.globalData = o.$options.globalData || {}, Object(i["d"])(t, o), Object(r["a"])(o, n)
- }
- }).call(this, n("3ad9")["default"])
- }, "11fb": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "previewImage", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- urls: {
- type: Array, required: !0, validator: function (t, e) {
- var n;
- if (e.urls = t.map((function (t) {
- if ("string" === typeof t) return Object(i["a"])(t);
- n = !0
- })), n) return "url is not string"
- }
- }, current: {
- type: [String, Number], validator: function (t, e) {
- "number" === typeof t ? e.current = t > 0 && t < e.urls.length ? t : 0 : "string" === typeof t && t && (e.current = Object(i["a"])(t))
- }, default: 0
- }
- }
- }, 1307: function (t, e, n) {
- }, 1348: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("8af1"), r = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"];
- e["a"] = {
- name: "Navigator",
- mixins: [i["c"]],
- props: {
- hoverClass: {type: String, default: "navigator-hover"},
- url: {type: String, default: ""},
- openType: {
- type: String, default: "navigate", validator: function (t) {
- return ~r.indexOf(t)
- }
- },
- delta: {type: Number, default: 1},
- hoverStartTime: {type: [Number, String], default: 20},
- hoverStayTime: {type: [Number, String], default: 600},
- exists: {type: String, default: ""}
- },
- methods: {
- _onClick: function (e) {
- if ("navigateBack" === this.openType || this.url) switch (this.openType) {
- case"navigate":
- uni.navigateTo({url: this.url});
- break;
- case"redirect":
- uni.redirectTo({url: this.url, exists: this.exists});
- break;
- case"switchTab":
- uni.switchTab({url: this.url});
- break;
- case"reLaunch":
- uni.reLaunch({url: this.url});
- break;
- case"navigateBack":
- uni.navigateBack({delta: this.delta});
- break;
- default:
- break
- } else t.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")
- }
- }
- }
- }).call(this, n("3ad9")["default"])
- }, 1585: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "addPhoneContact", (function () {
- return i
- }));
- var i = {
- firstName: {
- type: String, required: !0, validator: function (t) {
- if (!t) return "addPhoneContact:fail parameter error: parameter.firstName should not be empty String;"
- }
- }
- }
- }, "15bb": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("f2b3");
- e["a"] = {
- mounted: function () {
- var e = this;
- if ("transparent" === this.type) {
- for (var n = this.$el.querySelector(".uni-page-head-transparent").style, i = this.$el.querySelector(".uni-page-head__title"), r = this.$el.querySelectorAll(".uni-btn-icon"), o = [], a = this.textColor, s = 0; s < r.length; s++) o.push(r[s].style);
- for (var c = this.$el.querySelectorAll(".uni-page-head-btn"), u = [], l = [], f = 0; f < c.length; f++) {
- var d = c[f];
- u.push(getComputedStyle(d).backgroundColor), l.push(d.style)
- }
- this._A = 0, t.on("onPageScroll", (function (t) {
- var r = t.scrollTop, s = Math.min(r / e.offset, 1);
- 1 === s && 1 === e._A || (s > .5 && e._A <= .5 ? o.forEach((function (t) {
- t.color = a
- })) : s <= .5 && e._A > .5 && o.forEach((function (t) {
- t.color = "#fff"
- })), e._A = s, i && (i.style.opacity = s), n.backgroundColor = "rgba(".concat(e._R, ",").concat(e._G, ",").concat(e._B, ",").concat(s, ")"), l.forEach((function (t, e) {
- var n = u[e], i = n.match(/[\d+\.]+/g);
- i[3] = (1 - s) * (4 === i.length ? i[3] : 1), t.backgroundColor = "rgba(".concat(i, ")")
- })))
- }))
- } else if ("float" === this.type) {
- for (var h = this.$el.querySelectorAll(".uni-btn-icon"), p = [], v = 0; v < h.length; v++) p.push(h[v].style);
- for (var g = this.$el.querySelectorAll(".uni-page-head-btn"), m = [], b = [], y = 0; y < g.length; y++) {
- var _ = g[y];
- m.push(getComputedStyle(_).backgroundColor), b.push(_.style)
- }
- }
- }, computed: {
- color: function () {
- return "transparent" === this.type ? "#fff" : this.textColor
- }, offset: function () {
- return parseInt(this.coverage)
- }, bgColor: function () {
- if ("transparent" === this.type) {
- var t = Object(i["j"])(this.backgroundColor), e = t.r, n = t.g, r = t.b;
- return this._R = e, this._G = n, this._B = r, "rgba(".concat(e, ",").concat(n, ",").concat(r, ",0)")
- }
- return this.backgroundColor
- }
- }
- }
- }).call(this, n("501c"))
- }, "15ff": function (t, e, n) {
- }, 1634: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return r
- }));
- var i = ["VUniLeftWindow", "VUniTopWindow", "VUniRightWindow"];
- function r(t) {
- while (t) {
- if (-1 !== i.indexOf(t.$options.name)) return !0;
- t = t.$parent
- }
- }
- }, "167a": function (t, e, n) {
- "use strict";
- var i = n("5d70"), r = n.n(i);
- r.a
- }, "17fd": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return t.hoverClass && "none" !== t.hoverClass ? n("uni-navigator", t._g({
- class: [t.hovering ? t.hoverClass : ""],
- on: {
- touchstart: t._hoverTouchStart,
- touchend: t._hoverTouchEnd,
- touchcancel: t._hoverTouchCancel,
- click: t._onClick
- }
- }, t.$listeners), [t._t("default")], 2) : n("uni-navigator", t._g({on: {click: t._onClick}}, t.$listeners), [t._t("default")], 2)
- }, r = [], o = n("1348"), a = o["a"], s = (n("f7fd"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, "18fd": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return d
- }));
- var i = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,
- r = /^<\/([-A-Za-z0-9_]+)[^>]*>/,
- o = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,
- a = h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),
- s = h("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),
- c = h("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),
- u = h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),
- l = h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),
- f = h("script,style");
- function d(t, e) {
- var n, d, h, p = [], v = t;
- p.last = function () {
- return this[this.length - 1]
- };
- while (t) {
- if (d = !0, p.last() && f[p.last()]) t = t.replace(new RegExp("([\\s\\S]*?)</" + p.last() + "[^>]*>"), (function (t, n) {
- return n = n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g, "$1$2"), e.chars && e.chars(n), ""
- })), b("", p.last()); else if (0 == t.indexOf("\x3c!--") ? (n = t.indexOf("--\x3e"), n >= 0 && (e.comment && e.comment(t.substring(4, n)), t = t.substring(n + 3), d = !1)) : 0 == t.indexOf("</") ? (h = t.match(r), h && (t = t.substring(h[0].length), h[0].replace(r, b), d = !1)) : 0 == t.indexOf("<") && (h = t.match(i), h && (t = t.substring(h[0].length), h[0].replace(i, m), d = !1)), d) {
- n = t.indexOf("<");
- var g = n < 0 ? t : t.substring(0, n);
- t = n < 0 ? "" : t.substring(n), e.chars && e.chars(g)
- }
- if (t == v) throw"Parse Error: " + t;
- v = t
- }
- function m(t, n, i, r) {
- if (n = n.toLowerCase(), s[n]) while (p.last() && c[p.last()]) b("", p.last());
- if (u[n] && p.last() == n && b("", n), r = a[n] || !!r, r || p.push(n), e.start) {
- var f = [];
- i.replace(o, (function (t, e) {
- var n = arguments[2] ? arguments[2] : arguments[3] ? arguments[3] : arguments[4] ? arguments[4] : l[e] ? e : "";
- f.push({name: e, value: n, escaped: n.replace(/(^|[^\\])"/g, '$1\\"')})
- })), e.start && e.start(n, f, r)
- }
- }
- function b(t, n) {
- if (n) {
- for (i = p.length - 1; i >= 0; i--) if (p[i] == n) break
- } else var i = 0;
- if (i >= 0) {
- for (var r = p.length - 1; r >= i; r--) e.end && e.end(p[r]);
- p.length = i
- }
- }
- b()
- }
- function h(t) {
- for (var e = {}, n = t.split(","), i = 0; i < n.length; i++) e[n[i]] = !0;
- return e
- }
- }, 1934: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "setNavigationBarColor", (function () {
- return r
- })), n.d(e, "setNavigationBarTitle", (function () {
- return o
- }));
- var i = ["#ffffff", "#000000"], r = {
- frontColor: {
- type: String, required: !0, validator: function (t, e) {
- if (-1 === i.indexOf(t)) return 'invalid frontColor "'.concat(t, '"')
- }
- },
- backgroundColor: {type: String, required: !0},
- animation: {
- type: Object, default: function () {
- return {duration: 0, timingFunc: "linear"}
- }, validator: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = arguments.length > 1 ? arguments[1] : void 0;
- e.animation = {duration: t.duration || 0, timingFunc: t.timingFunc || "linear"}
- }
- }
- }, o = {title: {type: String, required: !0}}
- }, 1955: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("ba15"), r = n("8aec"), o = n("5363"), a = n("72b3"), s = n("d4cd");
- function c(t) {
- var e = 20, n = 0, i = 0;
- t.addEventListener("touchstart", (function (t) {
- var e = t.changedTouches[0];
- n = e.clientX, i = e.clientY
- })), t.addEventListener("touchend", (function (t) {
- var r = t.changedTouches[0];
- if (Math.abs(r.clientX - n) < e && Math.abs(r.clientY - i) < e) {
- var o = new CustomEvent("click", {
- bubbles: !0,
- cancelable: !0,
- target: t.target,
- currentTarget: t.currentTarget
- });
- ["screenX", "screenY", "clientX", "clientY", "pageX", "pageY"].forEach((function (t) {
- o[t] = r[t]
- })), t.target.dispatchEvent(o)
- }
- }))
- }
- var u, l, f = {
- name: "PickerViewColumn", mixins: [i["a"], r["a"]], data: function () {
- return {
- scope: "picker-view-column-".concat(Date.now()),
- inited: !1,
- indicatorStyle: "",
- indicatorClass: "",
- indicatorHeight: 34,
- maskStyle: "",
- maskClass: "",
- current: this.$parent.getItemValue(this),
- length: 0
- }
- }, computed: {
- height: function () {
- return this.$parent.height
- }, maskSize: function () {
- return (this.height - this.indicatorHeight) / 2
- }
- }, watch: {
- indicatorHeight: function (t) {
- this._setItemHeight(t), this.inited && this.update()
- }, current: function (t) {
- this.$parent.setItemValue(this, t)
- }, length: function (t) {
- this.inited && this.update(t)
- }
- }, created: function () {
- var t = this.$parent;
- this.indicatorStyle = t.indicatorStyle, this.indicatorClass = t.indicatorClass, this.maskStyle = t.maskStyle, this.maskClass = t.maskClass, this.deltaY = 0
- }, mounted: function () {
- var t = this;
- this.touchtrack(this.$refs.main, "_handleTrack", !0), this.setCurrent(this.current), this.$nextTick((function () {
- t.init(), t.update()
- })), c(this.$el), Object(s["b"])();
- var e = this;
- while (e) {
- var n = e.$options._scopeId;
- n && this.$refs.indicator.setAttribute(n, ""), e = e.$parent
- }
- }, methods: {
- _setItemHeight: function (t) {
- var e = document.createElement("style");
- e.innerText = ".uni-picker-view-content.".concat(this.scope, ">*{height: ").concat(t, "px;overflow: hidden;}"), document.head.appendChild(e)
- }, _handleTrack: function (t) {
- if (this._scroller) switch (t.detail.state) {
- case"start":
- this._handleTouchStart(t), Object(s["a"])({disable: !0});
- break;
- case"move":
- this._handleTouchMove(t), t.stopPropagation();
- break;
- case"end":
- case"cancel":
- this._handleTouchEnd(t), Object(s["a"])({disable: !1})
- }
- }, _handleTap: function (t) {
- var e = t.clientY;
- if (!this._scroller.isScrolling()) {
- var n = this.$el.getBoundingClientRect(), i = e - n.top - this.height / 2,
- r = this.indicatorHeight / 2;
- if (!(Math.abs(i) <= r)) {
- var o = Math.ceil((Math.abs(i) - r) / this.indicatorHeight), a = i < 0 ? -o : o,
- s = Math.min(this.current + a, this.length - 1);
- this.current = s = Math.max(s, 0), this._scroller.scrollTo(s * this.indicatorHeight)
- }
- }
- }, _handleWheel: function (t) {
- var e = this.deltaY + t.deltaY;
- if (Math.abs(e) > 10) {
- this.deltaY = 0;
- var n = Math.min(this.current + (e < 0 ? -1 : 1), this.length - 1);
- this.current = n = Math.max(n, 0), this._scroller.scrollTo(n * this.indicatorHeight)
- } else this.deltaY = e;
- t.preventDefault()
- }, setCurrent: function (t) {
- t !== this.current && (this.current = t, this.inited && this.update())
- }, init: function () {
- var t = this;
- this.initScroller(this.$refs.content, {
- enableY: !0,
- enableX: !1,
- enableSnap: !0,
- itemSize: this.indicatorHeight,
- friction: new o["a"](1e-4),
- spring: new a["a"](2, 90, 20),
- onSnap: function (e) {
- isNaN(e) || e === t.current || (t.current = e)
- }
- }), this.inited = !0
- }, update: function () {
- var t = this;
- this.$nextTick((function () {
- var e = Math.min(t.current, t.length - 1);
- e = Math.max(e, 0), t._scroller.update(e * t.indicatorHeight, void 0, t.indicatorHeight)
- }))
- }, _resize: function (t) {
- var e = t.height;
- this.indicatorHeight = e
- }
- }, render: function (t) {
- return this.length = this.$slots.default && this.$slots.default.length || 0, t("uni-picker-view-column", {on: {on: this.$listeners}}, [t("div", {
- ref: "main",
- staticClass: "uni-picker-view-group",
- on: {wheel: this._handleWheel, click: this._handleTap}
- }, [t("div", {
- ref: "mask",
- staticClass: "uni-picker-view-mask",
- class: this.maskClass,
- style: "background-size: 100% ".concat(this.maskSize, "px;").concat(this.maskStyle)
- }), t("div", {
- ref: "indicator",
- staticClass: "uni-picker-view-indicator",
- class: this.indicatorClass,
- style: this.indicatorStyle
- }, [t("v-uni-resize-sensor", {
- attrs: {initial: !0},
- on: {resize: this._resize}
- })]), t("div", {
- ref: "content",
- staticClass: "uni-picker-view-content",
- class: this.scope,
- style: "padding: ".concat(this.maskSize, "px 0;")
- }, [this.$slots.default])])])
- }
- }, d = f, h = (n("edfa"), n("2877")), p = Object(h["a"])(d, u, l, !1, null, null, null);
- e["default"] = p.exports
- }, "19c4": function (t, e, n) {
- var i = {
- "./base/base64.js": "6481",
- "./base/can-i-use.js": "957a",
- "./base/event-bus.js": "b0ef",
- "./base/interceptor.js": "a954",
- "./base/upx2px.js": "2289",
- "./context/canvas.js": "82b9",
- "./context/context.js": "3bfb",
- "./device/add-phone-contact.js": "1585",
- "./device/make-phone-call.js": "f102",
- "./device/scan-code.js": "ea0f",
- "./device/set-clipboard-data.js": "b501",
- "./file/file.js": "2da2",
- "./file/open-document.js": "2604",
- "./location/choose-location.js": "e5bb",
- "./location/get-location.js": "19d9",
- "./location/open-location.js": "70bb",
- "./media/choose-file.js": "0baa",
- "./media/choose-image.js": "f1b2",
- "./media/choose-video.js": "ed9f",
- "./media/compress-image.js": "dc12",
- "./media/compress-video.js": "5243",
- "./media/get-image-info.js": "b866",
- "./media/get-video-info.js": "3f15",
- "./media/preview-image.js": "11fb",
- "./media/save-image-to-photos-album.js": "4f53",
- "./network/download-file.js": "439a",
- "./network/request.js": "a201",
- "./network/socket.js": "abb2",
- "./network/upload-file.js": "9a3e",
- "./plugin/get-provider.js": "4e7c",
- "./plugin/load-sub-package.js": "d013",
- "./plugin/pre-login.js": "f68f",
- "./route/route.js": "332a",
- "./storage/storage.js": "ec33",
- "./ui/load-font-face.js": "5ff9",
- "./ui/navigation-bar.js": "1934",
- "./ui/page-scroll-to.js": "232e",
- "./ui/popup.js": "2246",
- "./ui/tab-bar.js": "5621"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "19c4"
- }, "19d9": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getLocation", (function () {
- return r
- }));
- var i = ["wgs84", "gcj02"], r = {
- type: {
- type: String, validator: function (t, e) {
- t = (t || "").toLowerCase(), e.type = i.indexOf(t) < 0 ? i[0] : t
- }
- }, altitude: {type: Boolean, default: !1}
- }
- }, "1a12": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "request", (function () {
- return l
- }));
- var i = n("f2b3");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var c = function () {
- function t(e) {
- r(this, t), s(this, "_xhr", void 0), this._xhr = e
- }
- return a(t, [{
- key: "abort", value: function () {
- this._xhr && (this._xhr.abort(), delete this._xhr)
- }
- }]), t
- }();
- function u(t) {
- var e = {}, n = t.split("\n");
- return n.forEach((function (t) {
- var n = t.match(/(\S+\s*):\s*(.*)/);
- if (n && 3 === n.length) {
- var i = n[1], r = n[2];
- e[i] = r
- }
- })), e
- }
- function l(e, n) {
- var r, o = e.url, a = e.data, s = e.header, l = e.method, f = e.dataType,
- d = e.responseType, h = e.withCredentials, p = e.timeout,
- v = void 0 === p ? __uniConfig.networkTimeout && __uniConfig.networkTimeout.request || 6e4 : p,
- g = t, m = g.invokeCallbackHandler, b = null;
- for (var y in s) if (Object(i["i"])(s, y) && "content-type" === y.toLowerCase()) {
- r = s[y], r = 0 === r.indexOf("application/json") ? "json" : 0 === r.indexOf("application/x-www-form-urlencoded") ? "urlencoded" : "string";
- break
- }
- if ("GET" !== l) if ("string" === typeof a || a instanceof ArrayBuffer) b = a; else if ("json" === r) try {
- b = JSON.stringify(a)
- } catch (T) {
- b = a.toString()
- } else if ("urlencoded" === r) {
- var _ = [];
- for (var w in a) Object(i["i"])(a, w) && _.push(encodeURIComponent(w) + "=" + encodeURIComponent(a[w]));
- b = _.join("&")
- } else b = a.toString();
- var k = new XMLHttpRequest, S = new c(k);
- for (var x in k.open(l, o), s) Object(i["i"])(s, x) && k.setRequestHeader(x, s[x]);
- var C = setTimeout((function () {
- k.onload = k.onabort = k.onerror = null, S.abort(), m(n, {errMsg: "request:fail timeout"})
- }), v);
- return k.responseType = d, k.onload = function () {
- clearTimeout(C);
- var t = k.status, e = "text" === d ? k.responseText : k.response;
- if ("text" === d && "json" === f) try {
- e = JSON.parse(e)
- } catch (T) {
- }
- m(n, {
- data: e,
- statusCode: t,
- header: u(k.getAllResponseHeaders()),
- errMsg: "request:ok"
- })
- }, k.onabort = function () {
- clearTimeout(C), m(n, {errMsg: "request:fail abort"})
- }, k.onerror = function () {
- clearTimeout(C), m(n, {errMsg: "request:fail"})
- }, k.withCredentials = h, k.send(b), S
- }
- }.call(this, n("0dd1"))
- }, "1a8c": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "redirectTo", (function () {
- return c
- })), n.d(e, "navigateTo", (function () {
- return u
- })), n.d(e, "navigateBack", (function () {
- return l
- })), n.d(e, "reLaunch", (function () {
- return f
- })), n.d(e, "switchTab", (function () {
- return d
- })), n.d(e, "preloadPage", (function () {
- return h
- }));
- var i = n("85b6"), r = n("d65e"), o = t, a = o.invokeCallbackHandler;
- function s(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = e.url,
- o = e.delta, a = e.events, c = e.exists, u = e.animationType, l = e.animationDuration,
- f = e.from, d = void 0 === f ? "navigateBack" : f, h = e.detail, p = getApp().$router;
- switch (delete p.$eventChannel, t) {
- case"redirectTo":
- if ("back" === c) {
- var v = Object(i["a"])(n);
- if (-1 !== v) {
- var g = getCurrentPages().length - 1 - v;
- if (g > 0) return s("navigateBack", {delta: g})
- }
- }
- p.replace({type: t, path: n});
- break;
- case"navigateTo":
- return p.$eventChannel = Object(r["a"])(a), p.push({
- type: t,
- path: n,
- animationType: u,
- animationDuration: l
- }), {errMsg: t + ":ok", eventChannel: p.$eventChannel};
- case"navigateBack":
- var m = !0, b = getCurrentPages();
- if (b.length) {
- var y = b[b.length - 1];
- Object(i["c"])(y.$options, "onBackPress") && !0 === y.__call_hook("onBackPress", {from: d}) && (m = !1)
- }
- m && (o > 1 && (p._$delta = o), p.go(-o, {animationType: u, animationDuration: l}));
- break;
- case"reLaunch":
- p.replace({type: t, path: n});
- break;
- case"switchTab":
- p.replace({type: t, path: n, params: {detail: h}});
- break
- }
- return {errMsg: t + ":ok"}
- }
- function c(t) {
- return s("redirectTo", t)
- }
- function u(t) {
- return s("navigateTo", t)
- }
- function l(t) {
- return s("navigateBack", t)
- }
- function f(t) {
- return s("reLaunch", t)
- }
- function d(t) {
- return s("switchTab", t)
- }
- function h(t, e) {
- var n = t.url, i = n.split("?")[0].replace(/\//g, "-");
- __uniConfig.__webpack_chunk_load__(i.substr(1)).then((function () {
- a(e, {url: n, errMsg: "preloadPage:ok"})
- })).catch((function (t) {
- a(e, {url: n, errMsg: "preloadPage:fail " + t})
- }))
- }
- }.call(this, n("0dd1"))
- }, "1b6f": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("f2b3");
- e["a"] = {
- mounted: function () {
- var t = this;
- this._toggleListeners("subscribe", this.id), this.$watch("id", (function (e, n) {
- t._toggleListeners("unsubscribe", n, !0), t._toggleListeners("subscribe", e, !0)
- }))
- }, beforeDestroy: function () {
- this._toggleListeners("unsubscribe", this.id), this._contextId && this._toggleListeners("unsubscribe", this._contextId)
- }, methods: {
- _toggleListeners: function (e, n, r) {
- r && !n || Object(i["k"])(this._handleSubscribe) && t[e](this.$page.id + "-" + this.$options.name.replace(/VUni([A-Z])/, "$1").toLowerCase() + "-" + n, this._handleSubscribe)
- }, _getContextInfo: function () {
- var t = "context-".concat(this._uid);
- return this._contextId || (this._toggleListeners("subscribe", t), this._contextId = t), {
- name: this.$options.name.replace(/VUni([A-Z])/, "$1").toLowerCase(),
- id: t,
- page: this.$page.id
- }
- }
- }
- }
- }).call(this, n("501c"))
- }, "1c64": function (t, e, n) {
- "use strict";
- var i = n("60ee"), r = n.n(i);
- r.a
- }, "1c73": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "b", (function () {
- return s
- })), n.d(e, "a", (function () {
- return c
- }));
- var i = {}, r = {};
- function o(t) {
- for (var e = [], n = ["width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "orientation"], i = 0, r = n; i < r.length; i++) {
- var o = r[i];
- "orientation" !== o && "" !== t[o] && Number(t[o]) >= 0 && e.push("(".concat(a(o), ": ").concat(Number(t[o]), "px)")), "orientation" === o && t[o] && e.push("(".concat(a(o), ": ").concat(t[o], ")"))
- }
- return e = e.join(" and "), e
- }
- function a(t) {
- return t.replace(/([A-Z])/g, "-$1").toLowerCase()
- }
- function s(e) {
- var n = e.reqId, a = e.options, s = i[n] = window.matchMedia(o(a)),
- c = r[n] = function (e) {
- t.publishHandler("onRequestMediaQueryObserver", {reqId: n, res: e.matches})
- };
- c(s), s.addListener(c)
- }
- function c(e) {
- var n = e.reqId, o = r[n], a = i[n];
- a && (a.removeListener(o), delete i[n], t.publishHandler("onRequestMediaQueryObserver", {
- reqId: n,
- reqEnd: !0
- }))
- }
- }).call(this, n("501c"))
- }, "1ca3": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "base64ToArrayBuffer", (function () {
- return r
- })), n.d(e, "arrayBufferToBase64", (function () {
- return o
- }));
- var i = n("8390");
- function r(t) {
- return Object(i["decode"])(t)
- }
- function o(t) {
- return Object(i["encode"])(t)
- }
- }, "1e4d": function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function r(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function o(t, e, n) {
- return e && r(t.prototype, e), n && r(t, n), t
- }
- n.r(e), n.d(e, "createAnimation", (function () {
- return f
- }));
- var a = {duration: 400, timingFunction: "linear", delay: 0, transformOrigin: "50% 50% 0"},
- s = function () {
- function t(e) {
- i(this, t), this.actions = [], this.currentTransform = {}, this.currentStepAnimates = [], this.option = Object.assign({}, a, e)
- }
- return o(t, [{
- key: "_getOption", value: function (t) {
- var e = {transition: Object.assign({}, this.option, t)};
- return e.transformOrigin = e.transition.transformOrigin, delete e.transition.transformOrigin, e
- }
- }, {
- key: "_pushAnimates", value: function (t, e) {
- this.currentStepAnimates.push({type: t, args: e})
- }
- }, {
- key: "_converType", value: function (t) {
- return t.replace(/[A-Z]/g, (function (t) {
- return "-".concat(t.toLowerCase())
- }))
- }
- }, {
- key: "_getValue", value: function (t) {
- return "number" === typeof t ? "".concat(t, "px") : t
- }
- }, {
- key: "export", value: function () {
- var t = this.actions;
- return this.actions = [], {actions: t}
- }
- }, {
- key: "step", value: function (t) {
- var e = this;
- return this.currentStepAnimates.forEach((function (t) {
- "style" !== t.type ? e.currentTransform[t.type] = t : e.currentTransform["".concat(t.type, ".").concat(t.args[0])] = t
- })), this.actions.push({
- animates: Object.values(this.currentTransform),
- option: this._getOption(t)
- }), this.currentStepAnimates = [], this
- }
- }]), t
- }(),
- c = ["matrix", "matrix3d", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "translate", "translate3d", "translateX", "translateY", "translateZ"],
- u = ["opacity", "backgroundColor"], l = ["width", "height", "left", "right", "top", "bottom"];
- function f(t) {
- return new s(t)
- }
- c.concat(u, l).forEach((function (t) {
- s.prototype[t] = function () {
- for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i];
- return u.concat(l).includes(t) ? this._pushAnimates("style", [this._converType(t), l.includes(t) ? this._getValue(n[0]) : n[0]]) : this._pushAnimates(t, n), this
- }
- }))
- }, "1efd": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("8bbf"), r = n.n(i), o = n("cb0f"), a = n("d4b6"), s = {
- methods: {
- $getRealPath: function (t) {
- return t ? Object(o["a"])(t) : t
- }, $trigger: function (t, e, n) {
- this.$emit(t, a["b"].call(this, t, e, n, this.$el, this.$el))
- }
- }
- };
- function c(t) {
- return d(t) || f(t) || l(t) || u()
- }
- function u() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function l(t, e) {
- if (t) {
- if ("string" === typeof t) return h(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h(t, e) : void 0
- }
- }
- function f(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function d(t) {
- if (Array.isArray(t)) return h(t)
- }
- function h(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function p(t) {
- return /^-?\d+[ur]px$/i.test(t) ? t.replace(/(^-?\d+)[ur]px$/i, (function (t, e) {
- return "".concat(uni.upx2px(parseFloat(e)), "px")
- })) : /^-?[\d\.]+$/.test(t) ? "".concat(t, "px") : t || ""
- }
- function v(t) {
- return t.replace(/[A-Z]/g, (function (t) {
- return "-".concat(t.toLowerCase())
- })).replace("webkit", "-webkit")
- }
- function g(t) {
- var e = ["matrix", "matrix3d", "scale", "scale3d", "rotate3d", "skew", "translate", "translate3d"],
- n = ["scaleX", "scaleY", "scaleZ", "rotate", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "translateX", "translateY", "translateZ"],
- i = ["opacity", "background-color"],
- r = ["width", "height", "left", "right", "top", "bottom"], o = t.animates, a = t.option,
- s = a.transition, u = {}, l = [];
- return o.forEach((function (t) {
- var o = t.type, a = c(t.args);
- if (e.concat(n).includes(o)) o.startsWith("rotate") || o.startsWith("skew") ? a = a.map((function (t) {
- return parseFloat(t) + "deg"
- })) : o.startsWith("translate") && (a = a.map(p)), n.indexOf(o) >= 0 && (a.length = 1), l.push("".concat(o, "(").concat(a.join(","), ")")); else if (i.concat(r).includes(a[0])) {
- o = a[0];
- var s = a[1];
- u[o] = r.includes(o) ? p(s) : s
- }
- })), u.transform = u.webkitTransform = l.join(" "), u.transition = u.webkitTransition = Object.keys(u).map((function (t) {
- return "".concat(v(t), " ").concat(s.duration, "ms ").concat(s.timingFunction, " ").concat(s.delay, "ms")
- })).join(","), u.transformOrigin = u.webkitTransformOrigin = a.transformOrigin, u
- }
- function m(t) {
- var e = t.animation;
- if (e && e.actions && e.actions.length) {
- var n = 0, i = e.actions, r = e.actions.length;
- setTimeout((function () {
- o()
- }), 0)
- }
- function o() {
- var e = i[n], a = e.option.transition, s = g(e);
- Object.keys(s).forEach((function (e) {
- t.$el.style[e] = s[e]
- })), n += 1, n < r && setTimeout(o, a.duration + a.delay)
- }
- }
- var b = {
- props: ["animation"], watch: {
- animation: function () {
- m(this)
- }
- }, mounted: function () {
- m(this)
- }
- }, y = [n("5408"), n("93a5")];
- y.forEach((function (t, e) {
- t.keys().forEach((function (e) {
- var n = t(e), i = n.default || n;
- i.mixins = i.mixins ? [].concat(s, i.mixins) : [s], i.mixins.push(b), i.name = "VUni" + i.name, i.isReserved = !0, r.a.component(i.name, i)
- }))
- }))
- }, "1ff3": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "uploadFile", (function () {
- return l
- }));
- var i = n("a118"), r = n("db70");
- function o(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function a(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function s(t, e, n) {
- return e && a(t.prototype, e), n && a(t, n), t
- }
- var c = function () {
- function t(e, n) {
- o(this, t), this.id = e, this._callbackId = n, this._callbacks = []
- }
- return s(t, [{
- key: "abort", value: function () {
- Object(r["c"])("operateUploadTask", {uploadTaskId: this.id, operationType: "abort"})
- }
- }, {
- key: "onProgressUpdate", value: function (t) {
- "function" === typeof t && this._callbacks.push(t)
- }
- }, {
- key: "onHeadersReceived", value: function () {
- }
- }, {
- key: "offProgressUpdate", value: function (t) {
- var e = this._callbacks.indexOf(t);
- e >= 0 && this._callbacks.splice(e, 1)
- }
- }, {
- key: "offHeadersReceived", value: function () {
- }
- }]), t
- }(), u = Object.create(null);
- function l(t, e) {
- var n = Object(r["c"])("createUploadTask", t), i = n.uploadTaskId, o = new c(i, e);
- return u[i] = o, o
- }
- Object(r["d"])("onUploadTaskStateChange", (function (t) {
- var e = t.uploadTaskId, n = t.state, r = t.data, o = t.statusCode, a = t.progress,
- s = t.totalBytesSent, c = t.totalBytesExpectedToSend, l = t.errMsg, f = u[e],
- d = f._callbackId;
- switch (n) {
- case"progressUpdate":
- f._callbacks.forEach((function (t) {
- t({progress: a, totalBytesSent: s, totalBytesExpectedToSend: c})
- }));
- break;
- case"success":
- Object(i["a"])(d, {data: r, statusCode: o, errMsg: "request:ok"});
- case"fail":
- Object(i["a"])(d, {errMsg: "request:fail " + l});
- default:
- setTimeout((function () {
- delete u[e]
- }), 100);
- break
- }
- }))
- }, 2190: function (t, e, n) {
- }, 2209: function (t) {
- t.exports = JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')
- }, 2246: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "showModal", (function () {
- return o
- })), n.d(e, "showToast", (function () {
- return a
- })), n.d(e, "showLoading", (function () {
- return s
- })), n.d(e, "showActionSheet", (function () {
- return c
- }));
- var i = n("a6b0"), r = n("cb0f"), o = {
- title: {type: String, default: ""},
- content: {type: String, default: ""},
- showCancel: {type: Boolean, default: !0},
- cancelText: {
- type: String, default: function () {
- return Object(i["g"])("uni.showModal.cancel")
- }
- },
- cancelColor: {type: String, default: "#000000"},
- confirmText: {
- type: String, default: function () {
- return Object(i["g"])("uni.showModal.confirm")
- }
- },
- confirmColor: {type: String, default: "#007aff"},
- visible: {type: Boolean, default: !0}
- }, a = {
- title: {type: String, default: ""},
- icon: {
- default: "success", validator: function (t, e) {
- -1 === ["success", "loading", "error", "none"].indexOf(t) && (e.icon = "success")
- }
- },
- image: {
- type: String, default: "", validator: function (t, e) {
- t && (e.image = Object(r["a"])(t))
- }
- },
- duration: {type: Number, default: 1500},
- mask: {type: Boolean, default: !1},
- visible: {type: Boolean, default: !0}
- }, s = {
- title: {type: String, default: ""},
- icon: {type: String, default: "loading"},
- duration: {type: Number, default: 1e8},
- mask: {type: Boolean, default: !1},
- visible: {type: Boolean, default: !0}
- }, c = {
- itemList: {
- type: Array, required: !0, validator: function (t, e) {
- if (!t.length) return "parameter.itemList should have at least 1 item"
- }
- },
- itemColor: {type: String, default: "#000000"},
- visible: {type: Boolean, default: !0},
- popover: {type: Object}
- }
- }, 2289: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "upx2px", (function () {
- return i
- }));
- var i = [{name: "upx", type: [Number, String], required: !0}]
- }, "232e": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "pageScrollTo", (function () {
- return i
- }));
- var i = {
- scrollTop: {type: Number},
- duration: {
- type: Number, default: 300, validator: function (t, e) {
- e.duration = Math.max(0, t)
- }
- }
- }
- }, 2399: function (t, e, n) {
- }, "23e5": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "b", (function () {
- return c
- })), n.d(e, "a", (function () {
- return v
- }));
- var i = n("a741");
- function r(t) {
- -1 === this.keepAliveInclude.indexOf(t) && this.keepAliveInclude.push(t)
- }
- var o = [];
- function a(t) {
- if ("number" === typeof t) o = this.keepAliveInclude.splice(-(t - 1)).map((function (t) {
- return parseInt(t.split("-").pop())
- })); else {
- var e = this.keepAliveInclude.indexOf(t);
- -1 !== e && this.keepAliveInclude.splice(e, 1)
- }
- }
- var s = Object.create(null);
- function c(t) {
- return s[t]
- }
- function u(t) {
- s[t] = {x: window.pageXOffset, y: window.pageYOffset}
- }
- function l(t, e, n) {
- e && n && e.meta.isTabBar && n.meta.isTabBar && u(n.params.__id__);
- for (var r = getCurrentPages(), o = r.length - 1; o >= 0; o--) {
- var s = r[o], c = s.$page.meta;
- c.isTabBar || (a.call(this, c.name + "-" + s.$page.id), Object(i["b"])(s, "onUnload"))
- }
- }
- function f(t) {
- __uniConfig.reLaunch = (__uniConfig.reLaunch || 1) + 1;
- for (var e = getCurrentPages(!0), n = e.length - 1; n >= 0; n--) Object(i["b"])(e[n], "onUnload"), e[n].$destroy();
- this.keepAliveInclude = [], s = Object.create(null)
- }
- var d = [];
- function h(t, e, n, i) {
- d = getCurrentPages(!0);
- var o = e.params.__id__, s = t.params.__id__, c = t.meta.name + "-" + s;
- if (s === o && "reLaunch" !== t.type) t.fullPath !== e.fullPath ? (r.call(this, c), n()) : n(!1); else if (t.meta.id && t.meta.id !== s) n({
- path: t.path,
- replace: !0
- }); else {
- var u = e.meta.name + "-" + o;
- switch (t.type) {
- case"navigateTo":
- break;
- case"redirectTo":
- a.call(this, u), e.meta && e.meta.isQuit && (t.meta.isQuit = !0, t.meta.isEntry = !!e.meta.isEntry);
- break;
- case"switchTab":
- l.call(this, i, t, e);
- break;
- case"reLaunch":
- f.call(this, c), t.meta.isQuit = !0;
- break;
- default:
- o && o > s && (a.call(this, u), this.$router._$delta > 1 && a.call(this, this.$router._$delta));
- break
- }
- if ("reLaunch" !== t.type && "redirectTo" !== t.type && e.meta.id && r.call(this, u), r.call(this, c), t.meta && t.meta.name) {
- document.body.className = "uni-body " + t.meta.name;
- var h = "nvue-dir-" + __uniConfig.nvue["flex-direction"];
- t.meta.isNVue ? (document.body.setAttribute("nvue", ""), document.body.setAttribute(h, "")) : (document.body.removeAttribute("nvue"), document.body.removeAttribute(h))
- }
- n()
- }
- }
- function p(e, n) {
- var r = n.params.__id__, a = e.params.__id__, s = d.find((function (t) {
- return t.$page.id === r
- }));
- function c(t) {
- if (t) {
- Object(i["b"])(t, "onUnload");
- var e = d.indexOf(t);
- e >= 0 && d.splice(e, 1)
- }
- }
- switch (e.type) {
- case"navigateTo":
- s && Object(i["b"])(s, "onHide");
- break;
- case"redirectTo":
- c(s);
- break;
- case"switchTab":
- n.meta.isTabBar && s && Object(i["b"])(s, "onHide");
- break;
- case"reLaunch":
- break;
- default:
- r && r > a && (c(s), this.$router._$delta > 1 && o.reverse().forEach((function (t) {
- var e = d.find((function (e) {
- return e.$page.id === t
- }));
- c(e)
- })));
- break
- }
- if (delete this.$router._$delta, o.length = 0, "reLaunch" !== e.type) {
- var u = getCurrentPages(!0).find((function (t) {
- return t.$page.id === a
- }));
- u && (setTimeout((function () {
- t.emit("onNavigationBarChange", u.$parent.$parent.navigationBar), Object(i["b"])(u, "onShow")
- }), 0), document.title = u.$parent.$parent.navigationBar.titleText)
- }
- }
- function v(t, e) {
- t.$router.beforeEach((function (n, i, r) {
- h.call(t, n, i, r, e)
- })), t.$router.afterEach((function (e, n) {
- p.call(t, e, n)
- }))
- }
- }).call(this, n("0dd1"))
- }, "24d9": function (t, e, n) {
- "use strict";
- n.d(e, "b", (function () {
- return o
- })), n.d(e, "a", (function () {
- return a
- }));
- var i = n("f2b3");
- function r(t) {
- return r = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, r(t)
- }
- function o(t) {
- return t.mp = Object.assign({"@warning": "mp is deprecated"}, t), t._processed = !0, t
- }
- function a(t, e) {
- return Object(i["l"])(e) && (Object(i["i"])(e, "backgroundColor") && (t.backgroundColor = e.backgroundColor), Object(i["i"])(e, "buttons") && (t.buttons = e.buttons), Object(i["i"])(e, "titleColor") && (t.textColor = e.titleColor), Object(i["i"])(e, "titleText") && (t.titleText = e.titleText), Object(i["i"])(e, "titleSize") && (t.titleSize = e.titleSize), Object(i["i"])(e, "type") && (t.type = e.type), Object(i["i"])(e, "searchInput") && "object" === r(e.searchInput) && (t.searchInput = Object.assign({
- autoFocus: !1,
- align: "center",
- color: "#000000",
- backgroundColor: "rgba(255,255,255,0.5)",
- borderRadius: "0px",
- placeholder: "",
- placeholderColor: "#CCCCCC",
- disabled: !1
- }, e.searchInput))), t
- }
- }, "250d": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-input", t._g({}, t.$listeners), [n("div", {
- ref: "wrapper",
- staticClass: "uni-input-wrapper"
- }, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: !(t.composing || t.valueSync.length || "-" === t.cachedValue),
- expression: "!(composing || valueSync.length || cachedValue === '-')"
- }],
- ref: "placeholder",
- staticClass: "uni-input-placeholder",
- class: t.placeholderClass,
- style: t.placeholderStyle,
- domProps: {textContent: t._s(t.placeholder)}
- }), "checkbox" !== t.inputType || t.disabled && t.fixColor ? "radio" !== t.inputType || t.disabled && t.fixColor ? t.disabled && t.fixColor ? t._e() : n("input", {
- directives: [{
- name: "model",
- rawName: "v-model",
- value: t.valueSync,
- expression: "valueSync"
- }, {name: "keyboard", rawName: "v-keyboard"}, {name: "field", rawName: "v-field"}],
- ref: "input",
- staticClass: "uni-input-input",
- attrs: {
- disabled: t.disabled,
- maxlength: t.maxlength,
- step: t.step,
- enterkeyhint: t.confirmType,
- pattern: "number" === t.type ? "[0-9]*" : null,
- autocomplete: t.autocomplete,
- type: t.inputType
- },
- domProps: {value: t.valueSync},
- on: {
- change: function (t) {
- t.stopPropagation()
- }, focus: t._onFocus, blur: t._onBlur, input: [function (e) {
- e.target.composing || (t.valueSync = e.target.value)
- }, function (e) {
- return e.stopPropagation(), t._onInput(e)
- }], compositionstart: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionend: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionupdate: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, keyup: function (e) {
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : (e.stopPropagation(), t._onKeyup(e))
- }
- }
- }) : n("input", {
- directives: [{
- name: "model",
- rawName: "v-model",
- value: t.valueSync,
- expression: "valueSync"
- }, {name: "keyboard", rawName: "v-keyboard"}, {name: "field", rawName: "v-field"}],
- ref: "input",
- staticClass: "uni-input-input",
- attrs: {
- disabled: t.disabled,
- maxlength: t.maxlength,
- step: t.step,
- enterkeyhint: t.confirmType,
- pattern: "number" === t.type ? "[0-9]*" : null,
- autocomplete: t.autocomplete,
- type: "radio"
- },
- domProps: {checked: t._q(t.valueSync, null)},
- on: {
- change: [function (e) {
- t.valueSync = null
- }, function (t) {
- t.stopPropagation()
- }], focus: t._onFocus, blur: t._onBlur, input: function (e) {
- return e.stopPropagation(), t._onInput(e)
- }, compositionstart: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionend: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionupdate: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, keyup: function (e) {
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : (e.stopPropagation(), t._onKeyup(e))
- }
- }
- }) : n("input", {
- directives: [{
- name: "model",
- rawName: "v-model",
- value: t.valueSync,
- expression: "valueSync"
- }, {name: "keyboard", rawName: "v-keyboard"}, {name: "field", rawName: "v-field"}],
- ref: "input",
- staticClass: "uni-input-input",
- attrs: {
- disabled: t.disabled,
- maxlength: t.maxlength,
- step: t.step,
- enterkeyhint: t.confirmType,
- pattern: "number" === t.type ? "[0-9]*" : null,
- autocomplete: t.autocomplete,
- type: "checkbox"
- },
- domProps: {checked: Array.isArray(t.valueSync) ? t._i(t.valueSync, null) > -1 : t.valueSync},
- on: {
- change: [function (e) {
- var n = t.valueSync, i = e.target, r = !!i.checked;
- if (Array.isArray(n)) {
- var o = null, a = t._i(n, o);
- i.checked ? a < 0 && (t.valueSync = n.concat([o])) : a > -1 && (t.valueSync = n.slice(0, a).concat(n.slice(a + 1)))
- } else t.valueSync = r
- }, function (t) {
- t.stopPropagation()
- }], focus: t._onFocus, blur: t._onBlur, input: function (e) {
- return e.stopPropagation(), t._onInput(e)
- }, compositionstart: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionend: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionupdate: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, keyup: function (e) {
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : (e.stopPropagation(), t._onKeyup(e))
- }
- }
- }), t.disabled && t.fixColor ? n("input", {
- ref: "input",
- staticClass: "uni-input-input",
- attrs: {
- tabindex: "-1",
- readonly: t.disabled,
- type: t.inputType,
- maxlength: t.maxlength,
- step: t.step
- },
- domProps: {value: t.valueSync},
- on: {
- focus: function (t) {
- return t.target.blur()
- }
- }
- }) : t._e()])])
- }, r = [], o = n("8af1"), a = n("f2b3"),
- s = ["text", "number", "idcard", "digit", "password", "tel"], c = ["number", "digit"],
- u = ["off", "one-time-code"], l = {
- name: "Input",
- mixins: [o["b"]],
- props: {
- name: {type: String, default: ""},
- type: {type: String, default: "text"},
- password: {type: [Boolean, String], default: !1},
- placeholder: {type: String, default: ""},
- placeholderStyle: {type: String, default: ""},
- placeholderClass: {type: String, default: "input-placeholder"},
- disabled: {type: [Boolean, String], default: !1},
- maxlength: {type: [Number, String], default: 140},
- confirmType: {type: String, default: "done"},
- textContentType: {type: String, default: ""}
- },
- data: function () {
- return {wrapperHeight: 0, cachedValue: ""}
- },
- computed: {
- inputType: function () {
- var t = "";
- switch (this.type) {
- case"text":
- "search" === this.confirmType && (t = "search");
- break;
- case"idcard":
- t = "text";
- break;
- case"digit":
- t = "number";
- break;
- default:
- t = ~s.indexOf(this.type) ? this.type : "text";
- break
- }
- return this.password ? "password" : t
- }, step: function () {
- return ~c.indexOf(this.type) ? "0.000000000000000001" : ""
- }, autocomplete: function () {
- var t = u.indexOf(this.textContentType),
- e = u.indexOf(Object(a["n"])(this.textContentType)),
- n = -1 !== t ? t : -1 !== e ? e : 0;
- return u[n]
- }
- },
- watch: {
- maxlength: function (t) {
- var e = this.valueSync.slice(0, parseInt(t, 10));
- e !== this.valueSync && (this.valueSync = e)
- }, valueSync: function (t) {
- "number" !== this.type || "-" === this.cachedValue && "" === t || (this.cachedValue = t)
- }
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- mounted: function () {
- if ("search" === this.confirmType) {
- var t = document.createElement("form");
- t.action = "", t.onsubmit = function () {
- return !1
- }, t.className = "uni-input-form", t.appendChild(this.$refs.input), this.$refs.wrapper.appendChild(t)
- }
- var e = this;
- while (e) {
- var n = e.$options._scopeId;
- n && this.$refs.placeholder.setAttribute(n, ""), e = e.$parent
- }
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _onKeyup: function (t) {
- var e = t.target;
- this.$trigger("confirm", t, {value: e.value}), this.confirmHold || e.blur()
- }, _onInput: function (t, e) {
- var n = this, i = !1;
- if (!this.composing || !this.ignoreCompositionEvent) {
- if ("number" === this.inputType) {
- var r = parseInt(this.maxlength, 10);
- if (r > 0 && t.target.value.length > r && (this.cachedValue.length === r ? (this.valueSync = this.cachedValue, i = !0) : (t.target.value = t.target.value.slice(0, r), this.valueSync = t.target.value)), this.__clearCachedValue && t.target.removeEventListener("blur", this.__clearCachedValue), t.target.validity && !t.target.validity.valid) {
- if (!this.cachedValue && "-" === t.data || "-" === this.cachedValue[0] && "deleteContentBackward" === t.inputType) {
- this.cachedValue = "-";
- var o = this.__clearCachedValue = function () {
- n.cachedValue = ""
- };
- return void t.target.addEventListener("blur", o)
- }
- return void (this.cachedValue = this.valueSync = t.target.value = "-" === this.cachedValue ? "" : this.cachedValue)
- }
- this.cachedValue = this.valueSync
- }
- i || (this.ignoreCompositionEvent || (this.valueSync = this.$refs.input.value), this.$triggerInput(t, {value: this.valueSync}, e))
- }
- }, _onComposition: function (t) {
- switch (t.type) {
- case"compositionstart":
- this.composing = !0;
- break;
- case"compositionend":
- this.composing && (this.composing = !1, this._onInput(t));
- break
- }
- !this.ignoreCompositionEvent && this.$trigger(t.type, t, {data: t.data})
- }, _resetFormData: function () {
- this.valueSync = ""
- }, _getFormData: function () {
- return this.name ? {value: this.valueSync, key: this.name} : {}
- }
- }
- }, f = l, d = (n("0f55"), n("2877")), h = Object(d["a"])(f, i, r, !1, null, null, null);
- e["default"] = h.exports
- }, "25ce": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-checkbox-group", t._g({}, t.$listeners), [t._t("default")], 2)
- }, r = [], o = n("8af1"), a = {
- name: "CheckboxGroup",
- mixins: [o["a"], o["f"]],
- props: {name: {type: String, default: ""}},
- data: function () {
- return {checkboxList: []}
- },
- listeners: {
- "@checkbox-change": "_changeHandler",
- "@checkbox-group-update": "_checkboxGroupUpdateHandler"
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _changeHandler: function (t) {
- var e = [];
- this.checkboxList.forEach((function (t) {
- t.checkboxChecked && e.push(t.value)
- })), this.$trigger("change", t, {value: e})
- }, _checkboxGroupUpdateHandler: function (t) {
- if ("add" === t.type) this.checkboxList.push(t.vm); else {
- var e = this.checkboxList.indexOf(t.vm);
- this.checkboxList.splice(e, 1)
- }
- }, _getFormData: function () {
- var t = {};
- if ("" !== this.name) {
- var e = [];
- this.checkboxList.forEach((function (t) {
- t.checkboxChecked && e.push(t.value)
- })), t.value = e, t.key = this.name
- }
- return t
- }
- }
- }, s = a, c = (n("0998"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, 2604: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "openDocument", (function () {
- return i
- }));
- var i = {filePath: {type: String, required: !0}, fileType: {type: String}}
- }, 2608: function (t, e, n) {
- "use strict";
- (function (t) {
- function i(e) {
- return function () {
- try {
- return e.apply(e, arguments)
- } catch (n) {
- t.error(n)
- }
- }
- }
- function r(e) {
- return function () {
- try {
- return e.apply(e, arguments)
- } catch (n) {
- t.error(n)
- }
- }
- }
- n.d(e, "b", (function () {
- return i
- })), n.d(e, "a", (function () {
- return r
- }))
- }).call(this, n("3ad9")["default"])
- }, 2765: function (t, e, n) {
- "use strict";
- var i = n("3590"), r = n.n(i);
- r.a
- }, "27a7": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return b
- })), n.d(e, "b", (function () {
- return y
- })), n.d(e, "d", (function () {
- return _
- })), n.d(e, "c", (function () {
- return k
- }));
- var i = n("f2b3"), r = n("2608"), o = n("ed1a"), a = n("cc76"), s = n("de29");
- function c(t, e, n) {
- var i = "".concat(e, ":fail ").concat(t);
- if (-1 === n) throw new Error(i);
- return "number" === typeof n && b(n, {errMsg: i}), !1
- }
- var u = [{name: "callback", type: Function, required: !0}],
- l = ["beforeValidate", "beforeAll", "beforeSuccess"];
- function f(t, e, n) {
- var r = a["a"][t];
- if (!r && Object(o["a"])(t) && (r = u), r) {
- if (Array.isArray(r) && Array.isArray(e)) {
- var f = Object.create(null), d = Object.create(null), h = e.length;
- r.forEach((function (t, n) {
- f[t.name] = t, h > n && (d[t.name] = e[n])
- })), r = f, e = d
- }
- if (Object(i["k"])(r.beforeValidate)) {
- var p = r.beforeValidate(e);
- if (p) return c(p, t, n)
- }
- for (var v = Object.keys(r), g = 0; g < v.length; g++) if (-1 === l.indexOf(v[g])) {
- var m = Object(s["a"])(v[g], r, e);
- if (m) return c(m, t, n)
- }
- }
- return !0
- }
- var d = 1, h = {};
- function p(t, e) {
- var n = d++, i = "api." + t + "." + n;
- return h[n] = {name: i, keepAlive: !0, callback: e}, n
- }
- function v(t, e) {
- for (var n in h) {
- var i = h[n];
- if (i.name.startsWith("api." + t.replace(/^off/, "on")) && i.callback === e) return delete h[n], Number(n)
- }
- return "fail"
- }
- function g(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
- if (!Object(i["l"])(e)) return {params: e};
- e = Object.assign({}, e);
- var o = {};
- for (var a in e) {
- var s = e[a];
- Object(i["k"])(s) && (o[a] = Object(r["a"])(s), delete e[a])
- }
- var c = o.success, u = o.fail, l = o.cancel, f = o.complete, p = Object(i["k"])(c),
- v = Object(i["k"])(u), g = Object(i["k"])(l), m = Object(i["k"])(f);
- if (!p && !v && !g && !m) return {params: e};
- var b = {};
- for (var y in n) {
- var _ = n[y];
- Object(i["k"])(_) && (b[y] = Object(r["b"])(_))
- }
- var w = b.beforeSuccess, k = b.afterSuccess, S = b.beforeFail, x = b.afterFail,
- C = b.beforeCancel, T = b.afterCancel, O = b.beforeAll, A = b.afterAll, E = d++,
- j = "api." + t + "." + E, M = function (n) {
- if (n.errMsg = n.errMsg || t + ":ok", -1 !== n.errMsg.indexOf(":ok")) n.errMsg = t + ":ok"; else if (-1 !== n.errMsg.indexOf(":cancel")) n.errMsg = t + ":cancel"; else if (-1 !== n.errMsg.indexOf(":fail")) {
- var r = "", o = n.errMsg.indexOf(" ");
- o > -1 && (r = n.errMsg.substr(o)), n.errMsg = t + ":fail" + r
- }
- Object(i["k"])(O) && O(n);
- var a = n.errMsg;
- 0 === a.indexOf(t + ":ok") ? (Object(i["k"])(w) && w(n, e), p && c(n), Object(i["k"])(k) && k(n)) : 0 === a.indexOf(t + ":cancel") ? (n.errMsg = n.errMsg.replace(t + ":cancel", t + ":fail cancel"), v && u(n), Object(i["k"])(C) && C(n), g && l(n), Object(i["k"])(T) && T(n)) : 0 === a.indexOf(t + ":fail") && (Object(i["k"])(S) && S(n), v && u(n), Object(i["k"])(x) && x(n)), m && f(n), Object(i["k"])(A) && A(n)
- };
- return h[E] = {name: j, callback: M}, {params: e, callbackId: E}
- }
- function m(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, r = g(t, e, n),
- o = r.params, a = r.callbackId;
- return Object(i["l"])(o) && !f(t, o, a) ? {params: o, callbackId: !1} : {
- params: o,
- callbackId: a
- }
- }
- function b(t, e, n) {
- if ("number" === typeof t) {
- var i = h[t];
- if (i) return i.keepAlive || delete h[t], i.callback(e, n)
- }
- return e
- }
- function y(t) {
- delete h[t]
- }
- function _(e) {
- return function (n) {
- t.error("API `" + e + "` is not yet implemented")
- }
- }
- function w(t, e) {
- var n = a["a"][t];
- n && (Object(i["k"])(n.beforeAll) && (e.beforeAll = n.beforeAll), Object(i["k"])(n.beforeSuccess) && (e.beforeSuccess = n.beforeSuccess))
- }
- function k(t, e) {
- var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
- return Object(i["k"])(e) ? (w(t, n), function () {
- for (var r = arguments.length, a = new Array(r), s = 0; s < r; s++) a[s] = arguments[s];
- if (Object(o["b"])(t)) {
- if (f(t, a, -1)) return e.apply(null, a)
- } else if (Object(o["a"])(t)) {
- if (f(t, a, -1)) return e((t.startsWith("off") ? v : p)(t, a[0]))
- } else {
- var c = {};
- a.length && (c = a[0]);
- var u, l = m(t, c, n), d = l.params, h = l.callbackId;
- if (!1 !== h) return u = Object(i["k"])(d) ? e(h) : e(d, h), u && !Object(o["c"])(t) && (u = b(h, u), Object(i["l"])(u) && (u.errMsg = u.errMsg || t + ":ok")), u
- }
- }) : e
- }
- }).call(this, n("3ad9")["default"])
- }, "27ab": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("f2b3");
- function r(t) {
- return c(t) || s(t) || a(t) || o()
- }
- function o() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function a(t, e) {
- if (t) {
- if ("string" === typeof t) return u(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u(t, e) : void 0
- }
- }
- function s(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function c(t) {
- if (Array.isArray(t)) return u(t)
- }
- function u(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- var l, f, d = {
- name: "PickerView", props: {
- value: {
- type: Array, default: function () {
- return []
- }, validator: function (t) {
- return Array.isArray(t) && t.filter((function (t) {
- return "number" === typeof t
- })).length === t.length
- }
- },
- indicatorStyle: {type: String, default: ""},
- indicatorClass: {type: String, default: ""},
- maskStyle: {type: String, default: ""},
- maskClass: {type: String, default: ""}
- }, data: function () {
- return {valueSync: r(this.value), height: 34, items: [], changeSource: ""}
- }, watch: {
- value: function (t, e) {
- var n = this;
- this.valueSync.length = t.length, t.forEach((function (t, e) {
- t !== n.valueSync[e] && n.$set(n.valueSync, e, t)
- }))
- }, valueSync: {
- deep: !0, handler: function (t, e) {
- if ("" === this.changeSource) this._valueChanged(t); else {
- this.changeSource = "";
- var n = t.map((function (t) {
- return t
- }));
- this.$emit("update:value", n), this.$trigger("change", {}, {value: n})
- }
- }
- }
- }, methods: {
- getItemIndex: function (t) {
- return this.items.indexOf(t)
- }, getItemValue: function (t) {
- return this.valueSync[this.getItemIndex(t.$vnode)] || 0
- }, setItemValue: function (t, e) {
- var n = this.getItemIndex(t.$vnode), i = this.valueSync[n];
- i !== e && (this.changeSource = "touch", this.$set(this.valueSync, n, e))
- }, _valueChanged: function (t) {
- this.items.forEach((function (e, n) {
- e.componentInstance.setCurrent(t[n] || 0)
- }))
- }, _resize: function (t) {
- var e = t.height;
- this.height = e
- }
- }, render: function (t) {
- var e = [];
- return this.$slots.default && Object(i["f"])(this.$slots.default, t).forEach((function (t) {
- t.componentOptions && "v-uni-picker-view-column" === t.componentOptions.tag && e.push(t)
- })), this.items = e, t("uni-picker-view", {on: this.$listeners}, [t("v-uni-resize-sensor", {
- attrs: {initial: !0},
- on: {resize: this._resize}
- }), t("div", {ref: "wrapper", class: "uni-picker-view-wrapper"}, e)])
- }
- }, h = d, p = (n("6062"), n("2877")), v = Object(p["a"])(h, l, f, !1, null, null, null);
- e["default"] = v.exports
- }, "27c2": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-editor", t._g({staticClass: "ql-container", attrs: {id: t.id}}, t.$listeners))
- }, r = [], o = n("8188"), a = o["a"], s = (n("e298"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, "27d0": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("85b6"), r = n("a6b0"), o = n("65a8"), a = n("f2b3"), s = n("24d9"), c = n("2d02"),
- u = n("a402"), l = n("90f7"), f = n("be12"), d = n("d8c8"), h = n.n(d);
- function p(t) {
- return p = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, p(t)
- }
- e["a"] = {
- name: "Page",
- mpType: "page",
- components: {PageHead: c["a"], PageBody: u["a"], PageRefresh: l["a"]},
- mixins: [f["a"]],
- props: {
- isQuit: {type: Boolean, default: !1},
- isEntry: {type: Boolean, default: !1},
- isTabBar: {type: Boolean, default: !1},
- tabBarIndex: {type: Number, default: -1},
- navigationBarBackgroundColor: {type: String, default: "#000"},
- navigationBarTextStyle: {
- default: "white", validator: function (t) {
- return -1 !== ["white", "black"].indexOf(t)
- }
- },
- navigationBarTitleText: {type: String, default: ""},
- navigationStyle: {
- default: "default", validator: function (t) {
- return -1 !== ["default", "custom"].indexOf(t)
- }
- },
- backgroundColor: {type: String, default: "#ffffff"},
- backgroundTextStyle: {
- default: "dark", validator: function (t) {
- return -1 !== ["dark", "light"].indexOf(t)
- }
- },
- backgroundColorTop: {type: String, default: "#fff"},
- backgroundColorBottom: {type: String, default: "#fff"},
- enablePullDownRefresh: {type: Boolean, default: !1},
- onReachBottomDistance: {type: Number, default: 50},
- disableScroll: {type: Boolean, default: !1},
- titleNView: {type: [Boolean, Object, String], default: ""},
- pullToRefresh: {
- type: Object, default: function () {
- return {}
- }
- },
- titleImage: {type: String, default: ""},
- transparentTitle: {type: String, default: ""},
- titlePenetrate: {type: String, default: "NO"},
- navigationBarShadow: {
- type: Object, default: function () {
- return {}
- }
- },
- topWindow: {type: Boolean, default: !0}
- },
- data: function () {
- var t = {}, e = {none: "default", auto: "transparent", always: "float"},
- n = this.titleNView;
- n = !1 === n || "false" === n || "custom" === this.navigationStyle && !Object(a["l"])(n) || "always" === this.transparentTitle && !Object(a["l"])(n) ? {type: "none"} : Object.assign({}, {type: "custom" === this.navigationStyle ? "none" : "default"}, this.transparentTitle in e ? {type: e[this.transparentTitle]} : null, "object" === p(n) ? n : "boolean" === typeof n ? {type: n ? "default" : "none"} : null);
- var c = {YES: !0, NO: !1};
- t = Object(s["a"])({
- loading: !1,
- backButton: !this.isQuit && !this.$route.meta.isQuit,
- backgroundColor: this.navigationBarBackgroundColor,
- textColor: "black" === this.navigationBarTextStyle ? "#000" : "#fff",
- titleText: this.navigationBarTitleText,
- titleImage: this.titleImage,
- duration: "0",
- timingFunc: "",
- titlePenetrate: c[this.titlePenetrate]
- }, n), t.shadow = this.navigationBarShadow, Object(r["e"])(t);
- var u = Object.assign({
- support: !0,
- color: "#2BD009",
- style: "circle",
- height: 70,
- range: 150,
- offset: 0
- }, this.pullToRefresh), l = Object(i["e"])(u.offset);
- return "none" !== n.type && "transparent" !== n.type && (l += o["a"] + h.a.top), u.offset = l, u.height = Object(i["e"])(u.height), u.range = Object(i["e"])(u.range), {
- navigationBar: t,
- refreshOptions: u
- }
- },
- created: function () {
- var e = this.navigationBar;
- document.title = e.titleText, t.emit("onNavigationBarChange", e)
- }
- }
- }).call(this, n("0dd1"))
- }, 2877: function (t, e, n) {
- "use strict";
- function i(t, e, n, i, r, o, a, s) {
- var c, u = "function" === typeof t ? t.options : t;
- if (e && (u.render = e, u.staticRenderFns = n, u._compiled = !0), i && (u.functional = !0), o && (u._scopeId = "data-v-" + o), a ? (c = function (t) {
- t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, t || "undefined" === typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), r && r.call(this, t), t && t._registeredComponents && t._registeredComponents.add(a)
- }, u._ssrRegister = c) : r && (c = s ? function () {
- r.call(this, this.$root.$options.shadowRoot)
- } : r), c) if (u.functional) {
- u._injectStyles = c;
- var l = u.render;
- u.render = function (t, e) {
- return c.call(e), l(t, e)
- }
- } else {
- var f = u.beforeCreate;
- u.beforeCreate = f ? [].concat(f, c) : [c]
- }
- return {exports: t, options: u}
- }
- n.d(e, "a", (function () {
- return i
- }))
- }, 2883: function (t, e, n) {
- }, "28c0": function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function r(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function o(t, e, n) {
- return e && r(t.prototype, e), n && r(t, n), t
- }
- n.d(e, "a", (function () {
- return a
- }));
- var a = function () {
- function t(e, n) {
- var r = this;
- i(this, t), this.id = e, this.listener = {}, this.emitCache = {}, n && Object.keys(n).forEach((function (t) {
- r.on(t, n[t])
- }))
- }
- return o(t, [{
- key: "emit", value: function (t) {
- for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++) n[i - 1] = arguments[i];
- var r = this.listener[t];
- if (!r) return (this.emitCache[t] || (this.emitCache[t] = [])).push(n);
- r.forEach((function (t) {
- t.fn.apply(t.fn, n)
- })), this.listener[t] = r.filter((function (t) {
- return "once" !== t.type
- }))
- }
- }, {
- key: "on", value: function (t, e) {
- this._addListener(t, "on", e), this._clearCache(t)
- }
- }, {
- key: "once", value: function (t, e) {
- this._addListener(t, "once", e), this._clearCache(t)
- }
- }, {
- key: "off", value: function (t, e) {
- var n = this.listener[t];
- if (n) if (e) for (var i = 0; i < n.length;) n[i].fn === e && (n.splice(i, 1), i--), i++; else delete this.listener[t]
- }
- }, {
- key: "_clearCache", value: function (t) {
- var e = this.emitCache[t];
- if (e) for (; e.length > 0;) this.emit.apply(this, [t].concat(e.shift()))
- }
- }, {
- key: "_addListener", value: function (t, e, n) {
- (this.listener[t] || (this.listener[t] = [])).push({fn: n, type: e})
- }
- }]), t
- }()
- }, "28da": function (t, e, n) {
- }, "29a2": function (t, e, n) {
- }, "2bbe": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return t.hoverClass && "none" !== t.hoverClass ? n("uni-view", t._g({
- class: [t.hovering ? t.hoverClass : ""],
- on: {
- touchstart: t._hoverTouchStart,
- touchend: t._hoverTouchEnd,
- touchcancel: t._hoverTouchCancel
- }
- }, t.$listeners), [t._t("default")], 2) : n("uni-view", t._g({}, t.$listeners), [t._t("default")], 2)
- }, r = [], o = n("83a6"),
- a = {name: "View", mixins: [o["a"]], listeners: {"label-click": "clickHandler"}}, s = a,
- c = (n("e865"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "2bdd": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i;
- n.d(e, "startAccelerometer", (function () {
- return o
- })), n.d(e, "stopAccelerometer", (function () {
- return a
- })), n.d(e, "onAccelerometerChange", (function () {
- return s
- })), n.d(e, "offAccelerometerChange", (function () {
- return c
- }));
- var r = [];
- function o(e, n) {
- var o = t, a = o.invokeCallbackHandler;
- if (!window.DeviceMotionEvent) return {errMsg: "startAccelerometer:fail"};
- function s() {
- i = function (t) {
- var e = t.acceleration || t.accelerationIncludingGravity;
- r.forEach((function (t) {
- a(t, {x: e.x || 0, y: e.y || 0, z: e.z || 0})
- }))
- }, window.addEventListener("devicemotion", i, !1)
- }
- if (!i) {
- if (DeviceMotionEvent.requestPermission) return void DeviceMotionEvent.requestPermission().then((function (t) {
- "granted" === t ? (s(), a(n, {errMsg: "startAccelerometer:ok"})) : a(n, {errMsg: "startAccelerometer:fail ".concat(t)})
- })).catch((function (t) {
- a(n, {errMsg: "startAccelerometer:fail ".concat(t)})
- }));
- s()
- }
- return {}
- }
- function a() {
- return i && (window.removeEventListener("devicemotion", i, !1), i = null), {}
- }
- function s(t) {
- r.length || o(), r.push(t)
- }
- function c(t) {
- if (t) {
- var e = r.indexOf(t);
- e >= 0 && r.splice(e, 1)
- }
- r.length || a()
- }
- }.call(this, n("0dd1"))
- }, "2c45": function (t, e, n) {
- }, "2c67": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function r(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function o(t, e, n) {
- return e && r(t.prototype, e), n && r(t, n), t
- }
- function a(e, n, i, r) {
- t.publishHandler(n + "-audio-" + e, {audioId: e, type: i, data: r}, n)
- }
- n.d(e, "createAudioContext", (function () {
- return c
- }));
- var s = function () {
- function t(e, n) {
- i(this, t), this.id = e, this.pageId = n
- }
- return o(t, [{
- key: "setSrc", value: function (t) {
- a(this.id, this.pageId, "setSrc", {src: t})
- }
- }, {
- key: "play", value: function () {
- a(this.id, this.pageId, "play")
- }
- }, {
- key: "pause", value: function () {
- a(this.id, this.pageId, "pause")
- }
- }, {
- key: "seek", value: function (t) {
- a(this.id, this.pageId, "seek", {position: t})
- }
- }]), t
- }();
- function c(e, n) {
- if (n) return new s(e, n.$page.id);
- var i = getApp();
- if (i.$route && i.$route.params.__id__) return new s(e, i.$route.params.__id__);
- t.emit("onError", "createAudioContext:fail")
- }
- }.call(this, n("0dd1"))
- }, "2d02": function (t, e, n) {
- "use strict";
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-page-head", {attrs: {"uni-page-head-type": t.type}}, [n("div", {
- staticClass: "uni-page-head",
- class: t.headClass,
- style: {
- transitionDuration: t.duration,
- transitionTimingFunction: t.timingFunc,
- backgroundColor: t.bgColor,
- color: t.textColor
- }
- }, [n("div", {staticClass: "uni-page-head-hd"}, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.backButton,
- expression: "backButton"
- }], staticClass: "uni-page-head-btn", on: {click: t._back}
- }, [n("i", {
- staticClass: "uni-btn-icon",
- style: {color: t.color, fontSize: "27px"}
- }, [t._v("")])]), n("div", {staticClass: "uni-page-head-ft"}, [t._l(t.btns, (function (e, i) {
- return ["left" === e.float ? n("div", {
- key: i,
- staticClass: "uni-page-head-btn",
- class: {
- "uni-page-head-btn-red-dot": e.redDot || e.badgeText,
- "uni-page-head-btn-select": e.select
- },
- style: {
- backgroundColor: "transparent" === t.type ? e.background : "transparent",
- width: e.width
- },
- attrs: {"badge-text": e.badgeText}
- }, [n("i", {
- staticClass: "uni-btn-icon",
- style: t._formatBtnStyle(e),
- domProps: {innerHTML: t._s(t._formatBtnFontText(e))},
- on: {
- click: function (e) {
- return t._onBtnClick(i)
- }
- }
- })]) : t._e()]
- }))], 2)]), t.searchInput ? t._e() : n("div", {staticClass: "uni-page-head-bd"}, [n("div", {
- staticClass: "uni-page-head__title",
- style: {fontSize: t.titleSize, opacity: "transparent" === t.type ? 0 : 1}
- }, [t.loading ? n("i", {staticClass: "uni-loading"}) : t._e(), "" !== t.titleImage ? n("img", {
- staticClass: "uni-page-head__title_image",
- attrs: {src: t.titleImage}
- }) : [t._v(" " + t._s(t.titleText) + " ")]], 2)]), t.searchInput ? n("div", {
- staticClass: "uni-page-head-search",
- style: {
- "border-radius": t.searchInput.borderRadius,
- "background-color": t.searchInput.backgroundColor
- }
- }, [n("div", {
- staticClass: "uni-page-head-search-placeholder",
- class: ["uni-page-head-search-placeholder-" + (t.focus || t.showPlaceholder ? "left" : t.searchInput.align)],
- style: {color: t.searchInput.placeholderColor},
- domProps: {textContent: t._s(t.showPlaceholder || t.composing ? "" : t.searchInput.placeholder)}
- }), n("v-uni-input", {
- ref: "input",
- staticClass: "uni-page-head-search-input",
- style: {color: t.searchInput.color},
- attrs: {
- focus: t.searchInput.autoFocus,
- disabled: t.searchInput.disabled,
- "placeholder-style": "color:" + t.searchInput.placeholderColor,
- "confirm-type": "search"
- },
- on: {focus: t._focus, blur: t._blur, "update:value": t._input},
- model: {
- value: t.text, callback: function (e) {
- t.text = e
- }, expression: "text"
- }
- }), t.text ? n("i", {
- staticClass: "uni-icon-clear",
- on: {click: t._clearInput}
- }) : t._e()], 1) : t._e(), n("div", {staticClass: "uni-page-head-ft"}, [t._l(t.btns, (function (e, i) {
- return ["left" !== e.float ? n("div", {
- key: i,
- staticClass: "uni-page-head-btn",
- class: {
- "uni-page-head-btn-red-dot": e.redDot || e.badgeText,
- "uni-page-head-btn-select": e.select
- },
- style: {
- backgroundColor: "transparent" === t.type ? e.background : "transparent",
- width: e.width
- },
- attrs: {"badge-text": e.badgeText}
- }, [n("i", {
- staticClass: "uni-btn-icon",
- style: t._formatBtnStyle(e),
- domProps: {innerHTML: t._s(t._formatBtnFontText(e))},
- on: {
- click: function (e) {
- return t._onBtnClick(i)
- }
- }
- })]) : t._e()]
- }))], 2)]), "transparent" !== t.type && "float" !== t.type ? n("div", {
- staticClass: "uni-placeholder",
- class: {"uni-placeholder-titlePenetrate": t.titlePenetrate}
- }) : t._e()])
- }, r = [], o = n("dd35"), a = o["a"], s = (n("8e16"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["a"] = c.exports
- }, "2d89": function (t, e, n) {
- "use strict";
- var i = n("d29c"), r = n.n(i);
- r.a
- }, "2da2": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "saveFile", (function () {
- return r
- })), n.d(e, "getFileInfo", (function () {
- return a
- })), n.d(e, "getSavedFileInfo", (function () {
- return s
- })), n.d(e, "removeSavedFile", (function () {
- return c
- }));
- var i = n("cb0f"), r = {
- tempFilePath: {
- type: String, required: !0, validator: function (t, e) {
- e.tempFilePath = Object(i["a"])(t)
- }
- }
- }, o = ["md5", "sha1"], a = {
- filePath: {
- type: String, required: !0, validator: function (t, e) {
- e.filePath = Object(i["a"])(t)
- }
- }, digestAlgorithm: {
- type: String, validator: function (t, e) {
- e.digestAlgorithm = o.includes(t) ? t : o[0]
- }, default: o[0]
- }
- }, s = {
- filePath: {
- type: String, required: !0, validator: function (t, e) {
- e.filePath = Object(i["a"])(t)
- }
- }
- }, c = {
- filePath: {
- type: String, required: !0, validator: function (t, e) {
- e.filePath = Object(i["a"])(t)
- }
- }
- }
- }, "2eae": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "interceptors", (function () {
- return r
- }));
- var i = n("8542");
- n.d(e, "addInterceptor", (function () {
- return i["a"]
- })), n.d(e, "removeInterceptor", (function () {
- return i["d"]
- }));
- var r = {promiseInterceptor: i["c"]}
- }, "2ec6": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e) {
- var n = getCurrentPages();
- return n.length && t.publishHandler("setPageMeta", e, n[n.length - 1].$page.id), {}
- }
- n.d(e, "setPageMeta", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, "2ef3": function (t, e, n) {
- "use strict";
- (function (t, e, i) {
- var r = n("8bbf"), o = n.n(r), a = n("442e");
- function s(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function c(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function u(t, e, n) {
- return e && c(t.prototype, e), n && c(t, n), t
- }
- var l = function () {
- function r() {
- s(this, r), this._init()
- }
- return u(r, [{
- key: "_init", value: function () {
- e.UniViewJSBridge = {
- subscribe: t.subscribe,
- publishHandler: t.publishHandler,
- subscribeHandler: t.subscribeHandler
- }, e.UniServiceJSBridge = {
- subscribe: i.subscribe,
- publishHandler: i.publishHandler,
- subscribeHandler: i.subscribeHandler
- };
- var r = n("0138"), s = r.default, c = r.getApp, u = r.getCurrentPages,
- l = ["chooseImage"];
- l.forEach((function (t) {
- Object.defineProperty(s, t, {writable: !1, configurable: !1})
- })), e.uni = s, e.wx = e.uni, e.getApp = c, e.getCurrentPages = u, o.a.use(n("4ca9").default, {routes: __uniRoutes}), o.a.use(n("8c15").default, {routes: __uniRoutes}), Object(a["a"])(o.a), n("8f7e"), n("1efd")
- }
- }]), r
- }();
- e.UniApp = l, e.__uniConfig && new l
- }).call(this, n("501c"), n("c8ba"), n("0dd1"))
- }, "303f": function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- n.d(e, "CanvasContext", (function () {
- return j
- })), n.d(e, "createCanvasContext", (function () {
- return M
- })), n.d(e, "canvasGetImageData", (function () {
- return I
- })), n.d(e, "canvasPutImageData", (function () {
- return $
- })), n.d(e, "canvasToTempFilePath", (function () {
- return P
- }));
- var r = n("f2b3"), o = n("62b5"), a = n("db70"), s = n("a118"), c = n("8b67");
- function u(t) {
- return u = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, u(t)
- }
- function l(t) {
- return p(t) || h(t) || d(t) || f()
- }
- function f() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function d(t, e) {
- if (t) {
- if ("string" === typeof t) return v(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? v(t, e) : void 0
- }
- }
- function h(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function p(t) {
- if (Array.isArray(t)) return v(t)
- }
- function v(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function g(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function m(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function b(t, e, n) {
- return e && m(t.prototype, e), n && m(t, n), t
- }
- var y = Object(o["a"])("canvasEvent");
- function _(e, n, i, r) {
- t.publishHandler(n + "-canvas-" + e, {canvasId: e, type: i, data: r}, n)
- }
- t.subscribe("onCanvasMethodCallback", (function (t) {
- var e = t.callbackId, n = t.data, i = y.pop(e);
- i && i(n)
- }));
- var w = {
- aliceblue: "#f0f8ff",
- antiquewhite: "#faebd7",
- aqua: "#00ffff",
- aquamarine: "#7fffd4",
- azure: "#f0ffff",
- beige: "#f5f5dc",
- bisque: "#ffe4c4",
- black: "#000000",
- blanchedalmond: "#ffebcd",
- blue: "#0000ff",
- blueviolet: "#8a2be2",
- brown: "#a52a2a",
- burlywood: "#deb887",
- cadetblue: "#5f9ea0",
- chartreuse: "#7fff00",
- chocolate: "#d2691e",
- coral: "#ff7f50",
- cornflowerblue: "#6495ed",
- cornsilk: "#fff8dc",
- crimson: "#dc143c",
- cyan: "#00ffff",
- darkblue: "#00008b",
- darkcyan: "#008b8b",
- darkgoldenrod: "#b8860b",
- darkgray: "#a9a9a9",
- darkgrey: "#a9a9a9",
- darkgreen: "#006400",
- darkkhaki: "#bdb76b",
- darkmagenta: "#8b008b",
- darkolivegreen: "#556b2f",
- darkorange: "#ff8c00",
- darkorchid: "#9932cc",
- darkred: "#8b0000",
- darksalmon: "#e9967a",
- darkseagreen: "#8fbc8f",
- darkslateblue: "#483d8b",
- darkslategray: "#2f4f4f",
- darkslategrey: "#2f4f4f",
- darkturquoise: "#00ced1",
- darkviolet: "#9400d3",
- deeppink: "#ff1493",
- deepskyblue: "#00bfff",
- dimgray: "#696969",
- dimgrey: "#696969",
- dodgerblue: "#1e90ff",
- firebrick: "#b22222",
- floralwhite: "#fffaf0",
- forestgreen: "#228b22",
- fuchsia: "#ff00ff",
- gainsboro: "#dcdcdc",
- ghostwhite: "#f8f8ff",
- gold: "#ffd700",
- goldenrod: "#daa520",
- gray: "#808080",
- grey: "#808080",
- green: "#008000",
- greenyellow: "#adff2f",
- honeydew: "#f0fff0",
- hotpink: "#ff69b4",
- indianred: "#cd5c5c",
- indigo: "#4b0082",
- ivory: "#fffff0",
- khaki: "#f0e68c",
- lavender: "#e6e6fa",
- lavenderblush: "#fff0f5",
- lawngreen: "#7cfc00",
- lemonchiffon: "#fffacd",
- lightblue: "#add8e6",
- lightcoral: "#f08080",
- lightcyan: "#e0ffff",
- lightgoldenrodyellow: "#fafad2",
- lightgray: "#d3d3d3",
- lightgrey: "#d3d3d3",
- lightgreen: "#90ee90",
- lightpink: "#ffb6c1",
- lightsalmon: "#ffa07a",
- lightseagreen: "#20b2aa",
- lightskyblue: "#87cefa",
- lightslategray: "#778899",
- lightslategrey: "#778899",
- lightsteelblue: "#b0c4de",
- lightyellow: "#ffffe0",
- lime: "#00ff00",
- limegreen: "#32cd32",
- linen: "#faf0e6",
- magenta: "#ff00ff",
- maroon: "#800000",
- mediumaquamarine: "#66cdaa",
- mediumblue: "#0000cd",
- mediumorchid: "#ba55d3",
- mediumpurple: "#9370db",
- mediumseagreen: "#3cb371",
- mediumslateblue: "#7b68ee",
- mediumspringgreen: "#00fa9a",
- mediumturquoise: "#48d1cc",
- mediumvioletred: "#c71585",
- midnightblue: "#191970",
- mintcream: "#f5fffa",
- mistyrose: "#ffe4e1",
- moccasin: "#ffe4b5",
- navajowhite: "#ffdead",
- navy: "#000080",
- oldlace: "#fdf5e6",
- olive: "#808000",
- olivedrab: "#6b8e23",
- orange: "#ffa500",
- orangered: "#ff4500",
- orchid: "#da70d6",
- palegoldenrod: "#eee8aa",
- palegreen: "#98fb98",
- paleturquoise: "#afeeee",
- palevioletred: "#db7093",
- papayawhip: "#ffefd5",
- peachpuff: "#ffdab9",
- peru: "#cd853f",
- pink: "#ffc0cb",
- plum: "#dda0dd",
- powderblue: "#b0e0e6",
- purple: "#800080",
- rebeccapurple: "#663399",
- red: "#ff0000",
- rosybrown: "#bc8f8f",
- royalblue: "#4169e1",
- saddlebrown: "#8b4513",
- salmon: "#fa8072",
- sandybrown: "#f4a460",
- seagreen: "#2e8b57",
- seashell: "#fff5ee",
- sienna: "#a0522d",
- silver: "#c0c0c0",
- skyblue: "#87ceeb",
- slateblue: "#6a5acd",
- slategray: "#708090",
- slategrey: "#708090",
- snow: "#fffafa",
- springgreen: "#00ff7f",
- steelblue: "#4682b4",
- tan: "#d2b48c",
- teal: "#008080",
- thistle: "#d8bfd8",
- tomato: "#ff6347",
- turquoise: "#40e0d0",
- violet: "#ee82ee",
- wheat: "#f5deb3",
- white: "#ffffff",
- whitesmoke: "#f5f5f5",
- yellow: "#ffff00",
- yellowgreen: "#9acd32",
- transparent: "#00000000"
- };
- function k(t) {
- t = t || "#000000";
- var e = null;
- if (null != (e = /^#([0-9|A-F|a-f]{6})$/.exec(t))) {
- var n = parseInt(e[1].slice(0, 2), 16), o = parseInt(e[1].slice(2, 4), 16),
- a = parseInt(e[1].slice(4), 16);
- return [n, o, a, 255]
- }
- if (null != (e = /^#([0-9|A-F|a-f]{3})$/.exec(t))) {
- var s = e[1].slice(0, 1), c = e[1].slice(1, 2), u = e[1].slice(2, 3);
- return s = parseInt(s + s, 16), c = parseInt(c + c, 16), u = parseInt(u + u, 16), [s, c, u, 255]
- }
- if (null != (e = /^rgb\((.+)\)$/.exec(t))) return e[1].split(",").map((function (t) {
- return Math.min(255, parseInt(t.trim()))
- })).concat(255);
- if (null != (e = /^rgba\((.+)\)$/.exec(t))) return e[1].split(",").map((function (t, e) {
- return 3 === e ? Math.floor(255 * parseFloat(t.trim())) : Math.min(255, parseInt(t.trim()))
- }));
- var l = t.toLowerCase();
- if (Object(r["i"])(w, l)) {
- e = /^#([0-9|A-F|a-f]{6,8})$/.exec(w[l]);
- var f = parseInt(e[1].slice(0, 2), 16), d = parseInt(e[1].slice(2, 4), 16),
- h = parseInt(e[1].slice(4, 6), 16), p = parseInt(e[1].slice(6, 8), 16);
- return p = p >= 0 ? p : 255, [f, d, h, p]
- }
- return i.error("unsupported color:" + t), [0, 0, 0, 255]
- }
- function S(t, e) {
- this.type = "pattern", this.data = t, this.colorStop = e
- }
- var x = function () {
- function t(e, n) {
- g(this, t), this.type = e, this.data = n, this.colorStop = []
- }
- return b(t, [{
- key: "addColorStop", value: function (t, e) {
- this.colorStop.push([t, k(e)])
- }
- }]), t
- }(), C = ["scale", "rotate", "translate", "setTransform", "transform"],
- T = ["drawImage", "fillText", "fill", "stroke", "fillRect", "strokeRect", "clearRect", "strokeText"],
- O = ["setFillStyle", "setTextAlign", "setStrokeStyle", "setGlobalAlpha", "setShadow", "setFontSize", "setLineCap", "setLineJoin", "setLineWidth", "setMiterLimit", "setTextBaseline", "setLineDash"];
- function A(t, e) {
- var n = document.createElement("canvas"), i = n.getContext("2d");
- return i.font = e, i.measureText(t).width || 0
- }
- function E(t) {
- this.width = t
- }
- var j = function () {
- function t(e, n) {
- g(this, t), this.id = e, this.pageId = n, this.actions = [], this.path = [], this.subpath = [], this.currentTransform = [], this.currentStepAnimates = [], this.drawingState = [], this.state = {
- lineDash: [0, 0],
- shadowOffsetX: 0,
- shadowOffsetY: 0,
- shadowBlur: 0,
- shadowColor: [0, 0, 0, 0],
- font: "10px sans-serif",
- fontSize: 10,
- fontWeight: "normal",
- fontStyle: "normal",
- fontFamily: "sans-serif"
- }
- }
- return b(t, [{
- key: "draw", value: function () {
- var t, e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
- n = arguments.length > 1 ? arguments[1] : void 0, i = l(this.actions);
- this.actions = [], this.path = [], "function" === typeof n && (t = y.push(n)), _(this.id, this.pageId, "actionsChanged", {
- actions: i,
- reserve: e,
- callbackId: t
- })
- }
- }, {
- key: "createLinearGradient", value: function (t, e, n, i) {
- return new x("linear", [t, e, n, i])
- }
- }, {
- key: "createCircularGradient", value: function (t, e, n) {
- return new x("radial", [t, e, n])
- }
- }, {
- key: "createPattern", value: function (t, e) {
- if (void 0 === e) i.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present."); else {
- if (!(["repeat", "repeat-x", "repeat-y", "no-repeat"].indexOf(e) < 0)) return new S(t, e);
- i.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('" + e + "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")
- }
- }
- }, {
- key: "measureText", value: function (t) {
- var e = this.state.font, n = 0;
- return n = A(t, e), new E(n)
- }
- }, {
- key: "save", value: function () {
- this.actions.push({method: "save", data: []}), this.drawingState.push(this.state)
- }
- }, {
- key: "restore", value: function () {
- this.actions.push({
- method: "restore",
- data: []
- }), this.state = this.drawingState.pop() || {
- lineDash: [0, 0],
- shadowOffsetX: 0,
- shadowOffsetY: 0,
- shadowBlur: 0,
- shadowColor: [0, 0, 0, 0],
- font: "10px sans-serif",
- fontSize: 10,
- fontWeight: "normal",
- fontStyle: "normal",
- fontFamily: "sans-serif"
- }
- }
- }, {
- key: "beginPath", value: function () {
- this.path = [], this.subpath = []
- }
- }, {
- key: "moveTo", value: function (t, e) {
- this.path.push({method: "moveTo", data: [t, e]}), this.subpath = [[t, e]]
- }
- }, {
- key: "lineTo", value: function (t, e) {
- 0 === this.path.length && 0 === this.subpath.length ? this.path.push({
- method: "moveTo",
- data: [t, e]
- }) : this.path.push({method: "lineTo", data: [t, e]}), this.subpath.push([t, e])
- }
- }, {
- key: "quadraticCurveTo", value: function (t, e, n, i) {
- this.path.push({
- method: "quadraticCurveTo",
- data: [t, e, n, i]
- }), this.subpath.push([n, i])
- }
- }, {
- key: "bezierCurveTo", value: function (t, e, n, i, r, o) {
- this.path.push({
- method: "bezierCurveTo",
- data: [t, e, n, i, r, o]
- }), this.subpath.push([r, o])
- }
- }, {
- key: "arc", value: function (t, e, n, i, r) {
- var o = arguments.length > 5 && void 0 !== arguments[5] && arguments[5];
- this.path.push({method: "arc", data: [t, e, n, i, r, o]}), this.subpath.push([t, e])
- }
- }, {
- key: "rect", value: function (t, e, n, i) {
- this.path.push({method: "rect", data: [t, e, n, i]}), this.subpath = [[t, e]]
- }
- }, {
- key: "arcTo", value: function (t, e, n, i, r) {
- this.path.push({method: "arcTo", data: [t, e, n, i, r]}), this.subpath.push([n, i])
- }
- }, {
- key: "clip", value: function () {
- this.actions.push({method: "clip", data: l(this.path)})
- }
- }, {
- key: "closePath", value: function () {
- this.path.push({
- method: "closePath",
- data: []
- }), this.subpath.length && (this.subpath = [this.subpath.shift()])
- }
- }, {
- key: "clearActions", value: function () {
- this.actions = [], this.path = [], this.subpath = []
- }
- }, {
- key: "getActions", value: function () {
- var t = l(this.actions);
- return this.clearActions(), t
- }
- }, {
- key: "lineDashOffset", set: function (t) {
- this.actions.push({method: "setLineDashOffset", data: [t]})
- }
- }, {
- key: "globalCompositeOperation", set: function (t) {
- this.actions.push({method: "setGlobalCompositeOperation", data: [t]})
- }
- }, {
- key: "shadowBlur", set: function (t) {
- this.actions.push({method: "setShadowBlur", data: [t]})
- }
- }, {
- key: "shadowColor", set: function (t) {
- this.actions.push({method: "setShadowColor", data: [t]})
- }
- }, {
- key: "shadowOffsetX", set: function (t) {
- this.actions.push({method: "setShadowOffsetX", data: [t]})
- }
- }, {
- key: "shadowOffsetY", set: function (t) {
- this.actions.push({method: "setShadowOffsetY", data: [t]})
- }
- }, {
- key: "font", set: function (t) {
- var e = this;
- this.state.font = t;
- var n = t.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);
- if (n) {
- var r = n[1].trim().split(/\s/), o = parseFloat(n[3]), a = n[7], s = [];
- r.forEach((function (t, n) {
- ["italic", "oblique", "normal"].indexOf(t) > -1 ? (s.push({
- method: "setFontStyle",
- data: [t]
- }), e.state.fontStyle = t) : ["bold", "normal"].indexOf(t) > -1 ? (s.push({
- method: "setFontWeight",
- data: [t]
- }), e.state.fontWeight = t) : 0 === n ? (s.push({
- method: "setFontStyle",
- data: ["normal"]
- }), e.state.fontStyle = "normal") : 1 === n && c()
- })), 1 === r.length && c(), r = s.map((function (t) {
- return t.data[0]
- })).join(" "), this.state.fontSize = o, this.state.fontFamily = a, this.actions.push({
- method: "setFont",
- data: ["".concat(r, " ").concat(o, "px ").concat(a)]
- })
- } else i.warn("Failed to set 'font' on 'CanvasContext': invalid format.");
- function c() {
- s.push({
- method: "setFontWeight",
- data: ["normal"]
- }), e.state.fontWeight = "normal"
- }
- }, get: function () {
- return this.state.font
- }
- }, {
- key: "fillStyle", set: function (t) {
- this.setFillStyle(t)
- }
- }, {
- key: "strokeStyle", set: function (t) {
- this.setStrokeStyle(t)
- }
- }, {
- key: "globalAlpha", set: function (t) {
- t = Math.floor(255 * parseFloat(t)), this.actions.push({
- method: "setGlobalAlpha",
- data: [t]
- })
- }
- }, {
- key: "textAlign", set: function (t) {
- this.actions.push({method: "setTextAlign", data: [t]})
- }
- }, {
- key: "lineCap", set: function (t) {
- this.actions.push({method: "setLineCap", data: [t]})
- }
- }, {
- key: "lineJoin", set: function (t) {
- this.actions.push({method: "setLineJoin", data: [t]})
- }
- }, {
- key: "lineWidth", set: function (t) {
- this.actions.push({method: "setLineWidth", data: [t]})
- }
- }, {
- key: "miterLimit", set: function (t) {
- this.actions.push({method: "setMiterLimit", data: [t]})
- }
- }, {
- key: "textBaseline", set: function (t) {
- this.actions.push({method: "setTextBaseline", data: [t]})
- }
- }]), t
- }();
- function M(e, n) {
- if (n) return new j(e, n.$page.id);
- var i = Object(a["a"])();
- if (i) return new j(e, i);
- t.emit("onError", "createCanvasContext:fail")
- }
- function I(t, e) {
- var n = t.canvasId, i = t.x, r = t.y, o = t.width, c = t.height, u = Object(a["a"])();
- if (u) {
- var l = y.push((function (t) {
- var n = t.data;
- n && n.length && (t.data = new Uint8ClampedArray(n)), Object(s["a"])(e, t)
- }));
- _(n, u, "getImageData", {x: i, y: r, width: o, height: c, callbackId: l})
- } else Object(s["a"])(e, {errMsg: "canvasGetImageData:fail"})
- }
- function $(t, e) {
- var n = t.canvasId, i = t.data, r = t.x, o = t.y, c = t.width, u = t.height,
- l = Object(a["a"])();
- if (l) {
- var f, d = y.push((function (t) {
- Object(s["a"])(e, t)
- }));
- i = Array.prototype.slice.call(i), _(n, l, "putImageData", {
- data: i,
- x: r,
- y: o,
- width: c,
- height: u,
- compressed: f,
- callbackId: d
- })
- } else Object(s["a"])(e, {errMsg: "canvasPutImageData:fail"})
- }
- function P(t, e) {
- var n = t.x, i = void 0 === n ? 0 : n, r = t.y, o = void 0 === r ? 0 : r, u = t.width,
- l = t.height, f = t.destWidth, d = t.destHeight, h = t.canvasId, p = t.fileType,
- v = t.quality, g = Object(a["a"])();
- if (g) {
- var m = y.push((function (t) {
- Object(s["a"])(e, t)
- })), b = "".concat(c["TEMP_PATH"], "/canvas");
- _(h, g, "toTempFilePath", {
- x: i,
- y: o,
- width: u,
- height: l,
- destWidth: f,
- destHeight: d,
- fileType: p,
- quality: v,
- dirname: b,
- callbackId: m
- })
- } else Object(s["a"])(e, {errMsg: "canvasToTempFilePath:fail"})
- }
- [].concat(C, T).forEach((function (t) {
- function e(t) {
- switch (t) {
- case"fill":
- case"stroke":
- return function () {
- this.actions.push({method: t + "Path", data: l(this.path)})
- };
- case"fillRect":
- return function (t, e, n, i) {
- this.actions.push({
- method: "fillPath",
- data: [{method: "rect", data: [t, e, n, i]}]
- })
- };
- case"strokeRect":
- return function (t, e, n, i) {
- this.actions.push({
- method: "strokePath",
- data: [{method: "rect", data: [t, e, n, i]}]
- })
- };
- case"fillText":
- case"strokeText":
- return function (e, n, i, r) {
- var o = [e.toString(), n, i];
- "number" === typeof r && o.push(r), this.actions.push({method: t, data: o})
- };
- case"drawImage":
- return function (e, n, i, r, o, a, s, c, u) {
- var l;
- function f(t) {
- return "number" === typeof t
- }
- void 0 === u && (a = n, s = i, c = r, u = o, n = void 0, i = void 0, r = void 0, o = void 0), l = f(n) && f(i) && f(r) && f(o) ? [e, a, s, c, u, n, i, r, o] : f(c) && f(u) ? [e, a, s, c, u] : [e, a, s], this.actions.push({
- method: t,
- data: l
- })
- };
- default:
- return function () {
- for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i];
- this.actions.push({method: t, data: n})
- }
- }
- }
- j.prototype[t] = e(t)
- })), O.forEach((function (t) {
- function e(t) {
- switch (t) {
- case"setFillStyle":
- case"setStrokeStyle":
- return function (e) {
- "object" !== u(e) ? this.actions.push({
- method: t,
- data: ["normal", k(e)]
- }) : this.actions.push({method: t, data: [e.type, e.data, e.colorStop]})
- };
- case"setGlobalAlpha":
- return function (e) {
- e = Math.floor(255 * parseFloat(e)), this.actions.push({
- method: t,
- data: [e]
- })
- };
- case"setShadow":
- return function (e, n, i, r) {
- r = k(r), this.actions.push({
- method: t,
- data: [e, n, i, r]
- }), this.state.shadowBlur = i, this.state.shadowColor = r, this.state.shadowOffsetX = e, this.state.shadowOffsetY = n
- };
- case"setLineDash":
- return function (e, n) {
- e = e || [0, 0], n = n || 0, this.actions.push({
- method: t,
- data: [e, n]
- }), this.state.lineDash = e
- };
- case"setFontSize":
- return function (e) {
- this.state.font = this.state.font.replace(/\d+\.?\d*px/, e + "px"), this.state.fontSize = e, this.actions.push({
- method: t,
- data: [e]
- })
- };
- default:
- return function () {
- for (var e = arguments.length, n = new Array(e), i = 0; i < e; i++) n[i] = arguments[i];
- this.actions.push({method: t, data: n})
- }
- }
- }
- j.prototype[t] = e(t)
- }))
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, "31c6": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return c
- }));
- var i, r = n("636c"), o = n("3b51"), a = {}, s = "__map_callback__";
- function c(e, n) {
- var c = Object(r["d"])();
- if (c.key) {
- var u = a[c.type] = a[c.type] || [];
- if (i) n(i); else if (window[c.type] && window[c.type].maps) i = window[c.type].maps, i.Callout = i.Callout || Object(o["a"])(i), n(i); else if (u.length) u.push(n); else {
- u.push(n);
- var l = window, f = s + c.type;
- l[f] = function () {
- delete l[f], i = window[c.type].maps, i.Callout = Object(o["a"])(i), u.forEach((function (t) {
- return t(i)
- })), u.length = 0
- };
- var d = document.createElement("script"),
- h = c.type === r["c"].GOOGLE ? "https://maps.googleapis.com/maps/api/js?" : "https://map.qq.com/api/js?v=2.exp&";
- c.type === r["c"].QQ && e.push("geometry"), e.length && (h += "libraries=".concat(e.join("%2C"), "&")), d.src = "".concat(h, "key=").concat(c.key, "&callback=").concat(f), d.onerror = function () {
- t.error("Map load failed.")
- }, document.body.appendChild(d)
- }
- } else t.error("Map key not configured.")
- }
- }).call(this, n("3ad9")["default"])
- }, "31e2": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-video", t._g({attrs: {id: t.id}}, t.$listeners), [n("div", {
- ref: "container",
- staticClass: "uni-video-container",
- on: {
- touchstart: t.touchstart,
- touchend: t.touchend,
- touchmove: t.touchmove,
- fullscreenchange: function (e) {
- return e.stopPropagation(), t.onFullscreenChange(e)
- },
- webkitfullscreenchange: function (e) {
- return e.stopPropagation(), t.onFullscreenChange(e, !0)
- }
- }
- }, [n("video", t._b({
- ref: "video",
- staticClass: "uni-video-video",
- style: {objectFit: t.objectFit},
- attrs: {
- loop: t.loop,
- src: t.srcSync,
- poster: t.poster,
- autoplay: t.autoplay,
- "webkit-playsinline": "",
- playsinline: ""
- },
- domProps: {muted: t.muted},
- on: {
- click: t.triggerControls,
- durationchange: t.onDurationChange,
- loadedmetadata: t.onLoadedMetadata,
- progress: t.onProgress,
- waiting: t.onWaiting,
- error: t.onVideoError,
- play: t.onPlay,
- pause: t.onPause,
- ended: t.onEnded,
- timeupdate: t.onTimeUpdate,
- webkitbeginfullscreen: function (e) {
- return t.emitFullscreenChange(!0)
- },
- x5videoenterfullscreen: function (e) {
- return t.emitFullscreenChange(!0)
- },
- webkitendfullscreen: function (e) {
- return t.emitFullscreenChange(!1)
- },
- x5videoexitfullscreen: function (e) {
- return t.emitFullscreenChange(!1)
- }
- }
- }, "video", t.$attrs, !1)), n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.controlsShow,
- expression: "controlsShow"
- }], staticClass: "uni-video-bar uni-video-bar-full", on: {
- click: function (t) {
- t.stopPropagation()
- }
- }
- }, [n("div", {staticClass: "uni-video-controls"}, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showPlayBtn,
- expression: "showPlayBtn"
- }],
- staticClass: "uni-video-control-button",
- class: {
- "uni-video-control-button-play": !t.playing,
- "uni-video-control-button-pause": t.playing
- },
- on: {
- click: function (e) {
- return e.stopPropagation(), t.trigger(e)
- }
- }
- }), n("div", {staticClass: "uni-video-current-time"}, [t._v(" " + t._s(t._f("time")(t.currentTime)) + " ")]), n("div", {
- ref: "progress",
- staticClass: "uni-video-progress-container",
- on: {
- click: function (e) {
- return e.stopPropagation(), t.clickProgress(e)
- }
- }
- }, [n("div", {staticClass: "uni-video-progress"}, [n("div", {
- staticClass: "uni-video-progress-buffered",
- style: {width: t.buffered + "%"}
- }), n("div", {
- ref: "ball",
- staticClass: "uni-video-ball",
- style: {left: t.progress + "%"}
- }, [n("div", {staticClass: "uni-video-inner"})])])]), n("div", {staticClass: "uni-video-duration"}, [t._v(" " + t._s(t._f("time")(t.duration || t.durationTime)) + " ")])]), t.danmuBtn ? n("div", {
- staticClass: "uni-video-danmu-button",
- class: {"uni-video-danmu-button-active": t.enableDanmuSync},
- on: {
- click: function (e) {
- return e.stopPropagation(), t.triggerDanmu(e)
- }
- }
- }, [t._v(" " + t._s(t.$$t("uni.video.danmu")) + " ")]) : t._e(), n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showFullscreenBtn,
- expression: "showFullscreenBtn"
- }],
- staticClass: "uni-video-fullscreen",
- class: {"uni-video-type-fullscreen": t.fullscreen},
- on: {
- click: function (e) {
- return e.stopPropagation(), t.triggerFullscreen(!t.fullscreen)
- }
- }
- })]), n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.start && t.enableDanmuSync,
- expression: "start&&enableDanmuSync"
- }], ref: "danmu", staticClass: "uni-video-danmu", staticStyle: {"z-index": "0"}
- }), t.centerPlayBtnShow ? n("div", {
- staticClass: "uni-video-cover", on: {
- click: function (t) {
- t.stopPropagation()
- }
- }
- }, [n("div", {
- staticClass: "uni-video-cover-play-button", on: {
- click: function (e) {
- return e.stopPropagation(), t.play(e)
- }
- }
- }), n("p", {staticClass: "uni-video-cover-duration"}, [t._v(" " + t._s(t._f("time")(t.duration || t.durationTime)) + " ")])]) : t._e(), n("div", {
- staticClass: "uni-video-toast",
- class: {"uni-video-toast-volume": "volume" === t.gestureType}
- }, [n("div", {staticClass: "uni-video-toast-title"}, [t._v(" " + t._s(t.$$t("uni.video.volume")) + " ")]), n("svg", {
- staticClass: "uni-video-toast-icon",
- attrs: {
- width: "200px",
- height: "200px",
- viewBox: "0 0 1024 1024",
- version: "1.1",
- xmlns: "http://www.w3.org/2000/svg"
- }
- }, [n("path", {
- attrs: {d: "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}
- })]), n("div", {staticClass: "uni-video-toast-value"}, [n("div", {
- staticClass: "uni-video-toast-value-content",
- style: {width: 100 * t.volumeNew + "%"}
- }, [n("div", {staticClass: "uni-video-toast-volume-grids"}, t._l(10, (function (t, e) {
- return n("div", {key: e, staticClass: "uni-video-toast-volume-grids-item"})
- })), 0)])])]), n("div", {
- staticClass: "uni-video-toast",
- class: {"uni-video-toast-progress": "progress" == t.gestureType}
- }, [n("div", {staticClass: "uni-video-toast-title"}, [t._v(" " + t._s(t._f("time")(t.currentTimeNew)) + " / " + t._s(t._f("time")(t.durationTime)) + " ")])]), n("div", {staticClass: "uni-video-slots"}, [t._t("default")], 2)])])
- }, r = [], o = n("8af1"), a = n("f2b3"), s = n("a6b0"), c = !!a["q"] && {passive: !1},
- u = {NONE: "none", STOP: "stop", VOLUME: "volume", PROGRESS: "progress"}, l = {
- name: "Video",
- filters: {
- time: function (t) {
- t = t > 0 && t < 1 / 0 ? t : 0;
- var e = Math.floor(t / 3600), n = Math.floor(t % 3600 / 60),
- i = Math.floor(t % 3600 % 60);
- e = (e < 10 ? "0" : "") + e, n = (n < 10 ? "0" : "") + n, i = (i < 10 ? "0" : "") + i;
- var r = n + ":" + i;
- return "00" !== e && (r = e + ":" + r), r
- }
- },
- mixins: [s["c"], o["g"], o["d"]],
- props: {
- id: {type: String, default: ""},
- src: {type: String, default: ""},
- duration: {type: [Number, String], default: ""},
- controls: {type: [Boolean, String], default: !0},
- danmuList: {
- type: Array, default: function () {
- return []
- }
- },
- danmuBtn: {type: [Boolean, String], default: !1},
- enableDanmu: {type: [Boolean, String], default: !1},
- autoplay: {type: [Boolean, String], default: !1},
- loop: {type: [Boolean, String], default: !1},
- muted: {type: [Boolean, String], default: !1},
- objectFit: {type: String, default: "contain"},
- poster: {type: String, default: ""},
- direction: {type: [String, Number], default: ""},
- showProgress: {type: Boolean, default: !0},
- initialTime: {type: [String, Number], default: 0},
- showFullscreenBtn: {type: [Boolean, String], default: !0},
- pageGesture: {type: [Boolean, String], default: !1},
- enableProgressGesture: {type: [Boolean, String], default: !0},
- showPlayBtn: {type: [Boolean, String], default: !0},
- showCenterPlayBtn: {type: [Boolean, String], default: !0}
- },
- data: function () {
- return {
- start: !1,
- playing: !1,
- currentTime: 0,
- durationTime: 0,
- progress: 0,
- touching: !1,
- enableDanmuSync: Boolean(this.enableDanmu),
- controlsVisible: !0,
- fullscreen: !1,
- controlsTouching: !1,
- touchStartOrigin: {x: 0, y: 0},
- gestureType: u.NONE,
- currentTimeOld: 0,
- currentTimeNew: 0,
- volumeOld: null,
- volumeNew: null,
- buffered: 0,
- isSafari: /^Apple/.test(navigator.vendor)
- }
- },
- computed: {
- centerPlayBtnShow: function () {
- return this.showCenterPlayBtn && !this.start
- }, controlsShow: function () {
- return !this.centerPlayBtnShow && this.controls && this.controlsVisible
- }, autoHideContorls: function () {
- return this.controlsShow && this.playing && !this.controlsTouching
- }, srcSync: function () {
- return this.$getRealPath(this.src)
- }
- },
- watch: {
- enableDanmuSync: function (t) {
- this.$emit("update:enableDanmu", t)
- }, autoHideContorls: function (t) {
- t ? this.autoHideStart() : this.autoHideEnd()
- }, srcSync: function (t) {
- this.playing = !1, this.currentTime = 0
- }, currentTime: function () {
- this.updateProgress()
- }, duration: function () {
- this.updateProgress()
- }, buffered: function (t) {
- 0 !== t && this.$trigger("progress", {}, {buffered: t})
- }
- },
- created: function () {
- this.otherData = {danmuList: [], danmuIndex: {time: 0, index: -1}, hideTiming: null};
- var t = this.otherData.danmuList = JSON.parse(JSON.stringify(this.danmuList || []));
- t.sort((function (t, e) {
- return (t.time || 0) - (e.time || 0)
- }))
- },
- mounted: function () {
- var t, e, n, i = this, r = this, o = !0, a = this.$refs.ball;
- function s(i) {
- var a = i.targetTouches[0], s = a.pageX, c = a.pageY;
- if (o && Math.abs(s - t) < Math.abs(c - e)) u(); else {
- o = !1;
- var l = r.$refs.progress.offsetWidth, f = n + (s - t) / l * 100;
- f < 0 ? f = 0 : f > 100 && (f = 100), r.progress = f, i.preventDefault(), i.stopPropagation()
- }
- }
- function u(t) {
- r.controlsTouching = !1, r.touching && (a.removeEventListener("touchmove", s, c), o || (t.preventDefault(), t.stopPropagation(), r.seek(r.$refs.video.duration * r.progress / 100)), r.touching = !1)
- }
- a.addEventListener("touchstart", (function (r) {
- i.controlsTouching = !0;
- var u = r.targetTouches[0];
- t = u.pageX, e = u.pageY, n = i.progress, o = !0, i.touching = !0, a.addEventListener("touchmove", s, c)
- })), a.addEventListener("touchend", u), a.addEventListener("touchcancel", u)
- },
- beforeDestroy: function () {
- this.triggerFullscreen(!1), clearTimeout(this.otherData.hideTiming)
- },
- methods: {
- _handleSubscribe: function (t) {
- var e, n = t.type, i = t.data, r = void 0 === i ? {} : i,
- o = ["play", "pause", "seek", "sendDanmu", "playbackRate", "requestFullScreen", "exitFullScreen"];
- switch (n) {
- case"seek":
- e = r.position;
- break;
- case"sendDanmu":
- e = r;
- break;
- case"playbackRate":
- e = r.rate;
- break
- }
- o.indexOf(n) >= 0 && this[n](e)
- }, trigger: function () {
- this.playing ? this.$refs.video.pause() : this.$refs.video.play()
- }, play: function () {
- this.start = !0, this.$refs.video.play()
- }, pause: function () {
- this.$refs.video.pause()
- }, seek: function (t) {
- t = Number(t), "number" !== typeof t || isNaN(t) || (this.$refs.video.currentTime = t)
- }, clickProgress: function (t) {
- var e = this.$refs.progress, n = t.target, i = t.offsetX;
- while (n !== e) i += n.offsetLeft, n = n.parentNode;
- var r = e.offsetWidth, o = 0;
- i >= 0 && i <= r && (o = i / r, this.seek(this.$refs.video.duration * o))
- }, triggerDanmu: function () {
- this.enableDanmuSync = !this.enableDanmuSync
- }, playDanmu: function (t) {
- var e = document.createElement("p");
- e.className = "uni-video-danmu-item", e.innerText = t.text;
- var n = "bottom: ".concat(100 * Math.random(), "%;color: ").concat(t.color, ";");
- e.setAttribute("style", n), this.$refs.danmu.appendChild(e), setTimeout((function () {
- n += "left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);", e.setAttribute("style", n), setTimeout((function () {
- e.remove()
- }), 4e3)
- }), 17)
- }, sendDanmu: function (t) {
- var e = this.otherData;
- e.danmuList.splice(e.danmuIndex.index + 1, 0, {
- text: String(t.text),
- color: t.color,
- time: this.$refs.video.currentTime || 0
- })
- }, playbackRate: function (t) {
- this.$refs.video.playbackRate = t
- }, triggerFullscreen: function (t) {
- var e, n = this.$refs.container, i = this.$refs.video;
- t ? !document.fullscreenEnabled && !document.webkitFullscreenEnabled || this.isSafari && !this.userInteract ? i.webkitEnterFullScreen ? i.webkitEnterFullScreen() : (e = !0, n.remove(), n.classList.add("uni-video-type-fullscreen"), document.body.appendChild(n)) : n[document.fullscreenEnabled ? "requestFullscreen" : "webkitRequestFullscreen"]() : document.fullscreenEnabled || document.webkitFullscreenEnabled ? document.fullscreenElement ? document.exitFullscreen() : document.webkitFullscreenElement && document.webkitExitFullscreen() : i.webkitExitFullScreen ? i.webkitExitFullScreen() : (e = !0, n.remove(), n.classList.remove("uni-video-type-fullscreen"), this.$el.appendChild(n)), e && this.emitFullscreenChange(t)
- }, onFullscreenChange: function (t, e) {
- e && document.fullscreenEnabled || this.emitFullscreenChange(!(!document.fullscreenElement && !document.webkitFullscreenElement))
- }, emitFullscreenChange: function (t) {
- this.fullscreen = t, this.$trigger("fullscreenchange", {}, {
- fullScreen: t,
- direction: "vertical"
- })
- }, requestFullScreen: function () {
- this.triggerFullscreen(!0)
- }, exitFullScreen: function () {
- this.triggerFullscreen(!1)
- }, onDurationChange: function (t) {
- var e = t.target;
- this.durationTime = e.duration
- }, onLoadedMetadata: function (t) {
- var e = Number(this.initialTime) || 0, n = t.target;
- e > 0 && (n.currentTime = e), this.$trigger("loadedmetadata", t, {
- width: n.videoWidth,
- height: n.videoHeight,
- duration: n.duration
- }), this.onProgress(t)
- }, onProgress: function (t) {
- var e = t.target, n = e.buffered;
- n.length && (this.buffered = n.end(n.length - 1) / e.duration * 100)
- }, onWaiting: function (t) {
- this.$trigger("waiting", t, {})
- }, onVideoError: function (t) {
- this.playing = !1, this.$trigger("error", t, {})
- }, onPlay: function (t) {
- this.start = !0, this.playing = !0, this.$trigger("play", t, {})
- }, onPause: function (t) {
- this.playing = !1, this.$trigger("pause", t, {})
- }, onEnded: function (t) {
- this.playing = !1, this.$trigger("ended", t, {})
- }, onTimeUpdate: function (t) {
- var e = t.target, n = this.otherData, i = this.currentTime = e.currentTime,
- r = n.danmuIndex, o = {time: i, index: r.index}, a = n.danmuList;
- if (i > r.time) for (var s = r.index + 1; s < a.length; s++) {
- var c = a[s];
- if (!(i >= (c.time || 0))) break;
- o.index = s, this.playing && this.enableDanmuSync && this.playDanmu(c)
- } else if (i < r.time) for (var u = r.index - 1; u > -1; u--) {
- var l = a[u];
- if (!(i <= (l.time || 0))) break;
- o.index = u - 1
- }
- n.danmuIndex = o, this.$trigger("timeupdate", t, {currentTime: i, duration: e.duration})
- }, triggerControls: function () {
- this.controlsVisible = !this.controlsVisible
- }, touchstart: function (t) {
- var e = t.targetTouches[0];
- this.touchStartOrigin = {
- x: e.pageX,
- y: e.pageY
- }, this.gestureType = u.NONE, this.volumeOld = null, this.currentTimeOld = this.currentTimeNew = 0
- }, touchmove: function (t) {
- function e() {
- t.stopPropagation(), t.preventDefault()
- }
- this.fullscreen && e();
- var n = this.gestureType;
- if (n !== u.STOP) {
- var i = t.targetTouches[0], r = i.pageX, o = i.pageY, a = this.touchStartOrigin;
- if (n === u.PROGRESS ? this.changeProgress(r - a.x) : n === u.VOLUME && this.changeVolume(o - a.y), n === u.NONE) if (Math.abs(r - a.x) > Math.abs(o - a.y)) {
- if (!this.enableProgressGesture) return void (this.gestureType = u.STOP);
- this.gestureType = u.PROGRESS, this.currentTimeOld = this.currentTimeNew = this.$refs.video.currentTime, this.fullscreen || e()
- } else {
- if (!this.pageGesture) return void (this.gestureType = u.STOP);
- this.gestureType = u.VOLUME, this.volumeOld = this.$refs.video.volume, this.fullscreen || e()
- }
- }
- }, touchend: function (t) {
- this.gestureType !== u.NONE && this.gestureType !== u.STOP && (t.stopPropagation(), t.preventDefault()), this.gestureType === u.PROGRESS && this.currentTimeOld !== this.currentTimeNew && (this.$refs.video.currentTime = this.currentTimeNew), this.gestureType = u.NONE
- }, changeProgress: function (t) {
- var e = this.$refs.video.duration, n = t / 600 * e + this.currentTimeOld;
- n < 0 ? n = 0 : n > e && (n = e), this.currentTimeNew = n
- }, changeVolume: function (t) {
- var e, n = this.volumeOld;
- "number" === typeof n && (e = n - t / 200, e < 0 ? e = 0 : e > 1 && (e = 1), this.$refs.video.volume = e, this.volumeNew = e)
- }, autoHideStart: function () {
- var t = this;
- this.otherData.hideTiming = setTimeout((function () {
- t.controlsVisible = !1
- }), 3e3)
- }, autoHideEnd: function () {
- var t = this.otherData;
- t.hideTiming && (clearTimeout(t.hideTiming), t.hideTiming = null)
- }, updateProgress: function () {
- this.touching || (this.progress = this.currentTime / this.durationTime * 100)
- }
- }
- }, f = l, d = (n("856e"), n("2877")), h = Object(d["a"])(f, i, r, !1, null, null, null);
- e["default"] = h.exports
- }, "324c": function (t, e, n) {
- }, "332a": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "redirectTo", (function () {
- return u
- })), n.d(e, "reLaunch", (function () {
- return l
- })), n.d(e, "navigateTo", (function () {
- return f
- })), n.d(e, "switchTab", (function () {
- return d
- })), n.d(e, "navigateBack", (function () {
- return h
- })), n.d(e, "preloadPage", (function () {
- return p
- })), n.d(e, "unPreloadPage", (function () {
- return v
- }));
- var i, r = n("0f74");
- function o(t) {
- if ("string" !== typeof t) return t;
- var e = t.indexOf("?");
- if (-1 === e) return t;
- var n = t.substr(e + 1).trim().replace(/^(\?|#|&)/, "");
- if (!n) return t;
- t = t.substr(0, e);
- var i = [];
- return n.split("&").forEach((function (t) {
- var e = t.replace(/\+/g, " ").split("="), n = e.shift(),
- r = e.length > 0 ? e.join("=") : "";
- i.push(n + "=" + encodeURIComponent(r))
- })), i.length ? t + "?" + i.join("&") : t
- }
- function a(t) {
- return function (e, n) {
- e = Object(r["a"])(e);
- var a = e.split("?")[0], s = __uniRoutes.find((function (t) {
- var e = t.path, n = t.alias;
- return e === a || n === a
- }));
- if (!s) return "page `" + e + "` is not found";
- if ("navigateTo" === t || "redirectTo" === t) {
- if (s.meta.isTabBar) return "can not ".concat(t, " a tabbar page")
- } else if ("switchTab" === t && !s.meta.isTabBar) return "can not switch to no-tabBar page";
- if ("switchTab" !== t && "preloadPage" !== t || !s.meta.isTabBar || "appLaunch" === n.openType || (e = a), s.meta.isEntry && (e = e.replace(s.alias, "/")), n.url = o(e), "unPreloadPage" !== t) if ("preloadPage" !== t) {
- if (i === e && "appLaunch" !== n.openType) return "".concat(i, " locked");
- __uniConfig.ready && !1 !== __uniConfig.enableNavigatorLock && (i = e)
- } else if (s.meta.isTabBar) {
- var c = getCurrentPages(!0), u = (s.alias || s.path).substr(1);
- if (c.find((function (t) {
- return t.route === u
- }))) return "tabBar page `" + u + "` already exists"
- }
- }
- }
- function s(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- return Object.assign({
- url: {type: String, required: !0, validator: a(t)},
- beforeAll: function () {
- i = ""
- }
- }, e)
- }
- function c(t) {
- return {
- animationType: {
- type: String, validator: function (e) {
- if (e && -1 === t.indexOf(e)) return "`" + e + "` is not supported for `animationType` (supported values are: `" + t.join("`|`") + "`)"
- }
- }, animationDuration: {type: Number}
- }
- }
- var u = s("redirectTo"), l = s("reLaunch"),
- f = s("navigateTo", c(["slide-in-right", "slide-in-left", "slide-in-top", "slide-in-bottom", "fade-in", "zoom-out", "zoom-fade-out", "pop-in", "none"])),
- d = s("switchTab"), h = Object.assign({
- delta: {
- type: Number, validator: function (t, e) {
- t = parseInt(t) || 1, e.delta = Math.min(getCurrentPages().length - 1, t)
- }
- }
- }, c(["slide-out-right", "slide-out-left", "slide-out-top", "slide-out-bottom", "fade-out", "zoom-in", "zoom-fade-in", "pop-out", "none"])),
- p = {url: {type: String, required: !0, validator: a("preloadPage")}},
- v = {url: {type: String, required: !0, validator: a("unPreloadPage")}}
- }, "33b4": function (t, e, n) {
- }, "33ed": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "b", (function () {
- return o
- })), n.d(e, "c", (function () {
- return a
- })), n.d(e, "a", (function () {
- return c
- }));
- var i, r = n("4a59");
- function o(t) {
- t.preventDefault()
- }
- function a(t) {
- var e = t.scrollTop, n = t.selector, i = t.duration;
- if ("undefined" === typeof e) {
- var r = document.querySelector(n);
- if (r) {
- var o = r.getBoundingClientRect(), a = o.top, s = o.height;
- e = a + window.pageYOffset, e -= s
- }
- }
- var c = document.documentElement, u = c.clientHeight, l = c.scrollHeight;
- function f(t) {
- if (t <= 0) window.scrollTo(0, e); else {
- var n = e - window.scrollY;
- requestAnimationFrame((function () {
- window.scrollTo(0, window.scrollY + n / t * 10), f(t - 10)
- }))
- }
- }
- e = Math.min(e, l - u), 0 !== i ? window.scrollY !== e && f(i) : c.scrollTop = document.body.scrollTop = e
- }
- var s = 0;
- function c(e, n) {
- var o = n.enablePageScroll, a = n.enablePageReachBottom, c = n.onReachBottomDistance,
- u = n.enableTransparentTitleNView, l = !1, f = !1, d = !0;
- function h() {
- var t = document.documentElement.scrollHeight, e = window.innerHeight,
- n = window.scrollY, i = n > 0 && t > e && n + e + c >= t, r = Math.abs(t - s) > c;
- return !i || f && !r ? (!i && f && (f = !1), !1) : (s = t, f = !0, !0)
- }
- function p() {
- var n = getCurrentPages();
- if (n.length && n[n.length - 1].$page.id === e) {
- var s = window.pageYOffset;
- o && Object(r["a"])("onPageScroll", {scrollTop: s}, e), u && t.emit("onPageScroll", {scrollTop: s}), a && d && (c() || (i = setTimeout(c, 300))), l = !1
- }
- function c() {
- if (h()) return Object(r["a"])("onReachBottom", {}, e), d = !1, setTimeout((function () {
- d = !0
- }), 350), !0
- }
- }
- return function () {
- clearTimeout(i), l || requestAnimationFrame(p), l = !0
- }
- }
- }).call(this, n("501c"))
- }, "34b2": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i() {
- return window.location.protocol + "//" + window.location.host
- }
- function r(e, n) {
- var r = e.src, o = t, a = o.invokeCallbackHandler, s = new Image, c = r;
- s.onload = function () {
- a(n, {
- errMsg: "getImageInfo:ok",
- width: s.naturalWidth,
- height: s.naturalHeight,
- path: 0 === c.indexOf("/") ? i() + c : c
- })
- }, s.onerror = function (t) {
- a(n, {errMsg: "getImageInfo:fail"})
- }, s.src = r
- }
- n.d(e, "getImageInfo", (function () {
- return r
- }))
- }.call(this, n("0dd1"))
- }, 3563: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("f2b3"), r = n("bd97"), o = n("8af1");
- o["d"].addInteractListener();
- var a = "*";
- function s() {
- var t = window.navigator.userAgent.toLowerCase();
- return !(!t.match(/MicroMessenger/i) || "micromessenger" !== t.match(/MicroMessenger/i)[0])
- }
- e["default"] = function (t) {
- var e = t.count, n = t.sourceType, o = t.type, c = t.extension,
- u = document.createElement("input");
- return u.type = "file", Object(i["u"])(u, {
- position: "absolute",
- visibility: "hidden",
- "z-index": -999,
- width: 0,
- height: 0,
- top: 0,
- left: 0
- }), u.accept = c.map((function (t) {
- if (o !== a) {
- var e = t.replace(".", "");
- return "".concat(o, "/").concat(r["default"][o][e] || e)
- }
- return s() ? "." : 0 === t.indexOf(".") ? t : ".".concat(t)
- })).join(","), e > 1 && (u.multiple = "multiple"), 1 === n.length && "camera" === n[0] && (u.capture = "camera"), u
- }
- }, 3590: function (t, e, n) {
- }, 3648: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "canIUse", (function () {
- return a
- }));
- var i = n("f2b3");
- function r(t) {
- return window.CSS && CSS.supports && (CSS.supports(t) || CSS.supports.apply(CSS, t.split(":")))
- }
- var o = {"css.var": r("--a:0"), "css.env": r("top:env(a)"), "css.constant": r("top:constant(a)")};
- function a(t) {
- return !Object(i["i"])(o, t) || o[t]
- }
- }, 3676: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getRecorderManager", (function () {
- return l
- }));
- var i = n("db70");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- var s, c = {pause: null, resume: null, start: null, stop: null, error: null}, u = function () {
- function t() {
- r(this, t), Object(i["d"])("onRecorderStateChange", (function (t) {
- var e = t.state;
- delete t.state, delete t.errMsg, "function" === typeof c[e] && c[e](t)
- }))
- }
- return a(t, [{
- key: "onError", value: function (t) {
- c.error = t
- }
- }, {
- key: "onFrameRecorded", value: function (t) {
- }
- }, {
- key: "onInterruptionBegin", value: function (t) {
- }
- }, {
- key: "onInterruptionEnd", value: function (t) {
- }
- }, {
- key: "onPause", value: function (t) {
- c.pause = t
- }
- }, {
- key: "onResume", value: function (t) {
- c.resume = t
- }
- }, {
- key: "onStart", value: function (t) {
- c.start = t
- }
- }, {
- key: "onStop", value: function (t) {
- c.stop = t
- }
- }, {
- key: "pause", value: function () {
- Object(i["c"])("operateRecorder", {operationType: "pause"})
- }
- }, {
- key: "resume", value: function () {
- Object(i["c"])("operateRecorder", {operationType: "resume"})
- }
- }, {
- key: "start", value: function (t) {
- Object(i["c"])("operateRecorder", Object.assign({}, t, {operationType: "start"}))
- }
- }, {
- key: "stop", value: function () {
- Object(i["c"])("operateRecorder", {operationType: "stop"})
- }
- }]), t
- }();
- function l() {
- return s || (s = new u)
- }
- }, 3898: function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- n.d(e, "chooseFile", (function () {
- return f
- }));
- var r = n("e2e2"), o = n("a6b0"), a = n("3563"), s = n("8af1"), c = t,
- u = c.invokeCallbackHandler, l = null;
- function f(t, e) {
- var n = t.count, c = t.sourceType, f = t.type, d = t.extension;
- l && (document.body.removeChild(l), l = null), l = Object(a["default"])({
- count: n,
- sourceType: c,
- type: f,
- extension: d
- }), document.body.appendChild(l), l.addEventListener("change", (function (t) {
- for (var i = [], o = t.target.files.length, a = function (e) {
- var o = t.target.files[e], a = void 0;
- Object.defineProperty(o, "path", {
- get: function () {
- return a = a || Object(r["b"])(o), a
- }
- }), e < n && i.push(o)
- }, s = 0; s < o; s++) a(s);
- var c = {
- errMsg: "chooseFile:ok", get tempFilePaths() {
- return i.map((function (t) {
- var e = t.path;
- return e
- }))
- }, tempFiles: i
- };
- u(e, c)
- })), l.click(), s["d"].getStatus() || i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))
- }
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, "39aa": function (t) {
- t.exports = JSON.parse('{"uni.app.quit":"Press back button again to exit","uni.async.error":"The connection timed out, click the screen to try again.","uni.showActionSheet.cancel":"Cancel","uni.showToast.unpaired":"Please note showToast must be paired with hideToast","uni.showLoading.unpaired":"Please note showLoading must be paired with hideLoading","uni.showModal.cancel":"Cancel","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancel","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Camera","uni.chooseVideo.cancel":"Cancel","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Camera","uni.chooseFile.notUserActivation":"File chooser dialog can only be shown with a user activation","uni.previewImage.cancel":"Cancel","uni.previewImage.button.save":"Save Image","uni.previewImage.save.success":"Saved successfully","uni.previewImage.save.fail":"Save failed","uni.setClipboardData.success":"Content copied","uni.scanCode.title":"Scan code","uni.scanCode.album":"Album","uni.scanCode.fail":"Recognition failure","uni.scanCode.flash.on":"Tap to turn light on","uni.scanCode.flash.off":"Tap to turn light off","uni.startSoterAuthentication.authContent":"Fingerprint recognition","uni.picker.done":"Done","uni.picker.cancel":"Cancel","uni.video.danmu":"Danmu","uni.video.volume":"Volume","uni.button.feedback.title":"feedback","uni.button.feedback.send":"send","uni.chooseLocation.search":"Find Place","uni.chooseLocation.cancel":"Cancel"}')
- }, "3ad9": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var n = Array.prototype.unshift;
- function i(t) {
- return n.call(t, "[system]"), t
- }
- function r(e) {
- return function () {
- var n = !0;
- "debug" !== e || __uniConfig.debug || (n = !1), n && t.console[e].apply(t.console, i(arguments))
- }
- }
- e["default"] = {
- log: r("log"),
- info: r("info"),
- warn: r("warn"),
- debug: r("debug"),
- error: r("error")
- }
- }.call(this, n("c8ba"))
- }, "3b51": function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function r(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function o(t, e, n) {
- return e && r(t.prototype, e), n && r(t, n), t
- }
- function a(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- function s(t) {
- var e = new (t.OverlayView || t.Overlay);
- function n() {
- var t = this.div, e = this.getPanes();
- e.floatPane.appendChild(t)
- }
- function r() {
- var t = this.div.parentNode;
- t && t.removeChild(this.div)
- }
- var s = function () {
- function t() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- i(this, t), a(this, "option", void 0), a(this, "position", void 0), a(this, "index", void 0), a(this, "visible", void 0), a(this, "alwaysVisible", void 0), a(this, "div", void 0), a(this, "triangle", void 0), a(this, "onAdd", n), a(this, "construct", n), a(this, "onRemove", r), a(this, "destroy", r), this.option = e || {};
- var o = e.map;
- this.position = e.position, this.index = 1;
- var s = this.visible = this.alwaysVisible = "ALWAYS" === e.display,
- c = this.div = document.createElement("div"), u = c.style;
- u.position = "absolute", u.whiteSpace = "nowrap", u.transform = "translateX(-50%) translateY(-100%)", u.zIndex = "1", u.boxShadow = e.boxShadow || "none", u.display = s ? "block" : "none";
- var l = this.triangle = document.createElement("div");
- l.setAttribute("style", "position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"), this.setStyle(e), c.appendChild(l), o && this.setMap(o)
- }
- return o(t, [{
- key: "onclick", set: function (t) {
- this.div.onclick = t
- }, get: function () {
- return this.div.onclick
- }
- }]), o(t, [{
- key: "setOption", value: function (t) {
- this.option = t, this.setPosition(t.position), "ALWAYS" === t.display ? this.alwaysVisible = this.visible = !0 : this.alwaysVisible = !1, this.setStyle(t)
- }
- }, {
- key: "setStyle", value: function (t) {
- var e = this.div, n = e.style;
- e.innerText = t.content || "", n.lineHeight = (t.fontSize || 14) + "px", n.fontSize = (t.fontSize || 14) + "px", n.padding = (t.padding || 8) + "px", n.color = t.color || "#000", n.borderRadius = (t.borderRadius || 0) + "px", n.backgroundColor = t.bgColor || "#fff", n.marginTop = "-" + ((t.top || 0) + 5) + "px", this.triangle.style.borderColor = "".concat(t.bgColor || "#fff", " transparent transparent")
- }
- }, {
- key: "setPosition", value: function (t) {
- this.position = t, this.draw()
- }
- }, {
- key: "draw", value: function () {
- var t = this.getProjection();
- if (this.position && this.div && t) {
- var e = t.fromLatLngToDivPixel(this.position), n = this.div.style;
- n.left = e.x + "px", n.top = e.y + "px"
- }
- }
- }, {
- key: "changed", value: function () {
- var t = this.div.style;
- t.display = this.visible ? "block" : "none"
- }
- }]), t
- }(), c = s.prototype;
- for (var u in e) u in c || (c[u] = e[u]);
- return s
- }
- n.d(e, "a", (function () {
- return s
- }))
- }, "3b54": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "getFileInfo", (function () {
- return a
- }));
- var i = n("e2e2"), r = t, o = r.invokeCallbackHandler;
- function a() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = t.filePath,
- n = arguments.length > 1 ? arguments[1] : void 0;
- Object(i["f"])(e).then((function (t) {
- o(n, {errMsg: "getFileInfo:ok", size: t.size})
- })).catch((function (t) {
- o(n, {errMsg: "getFileInfo:fail " + t.message})
- }))
- }
- }.call(this, n("0dd1"))
- }, "3b67": function (t, e, n) {
- "use strict";
- var i = Object.create(null), r = n("e3a7");
- r.keys().forEach((function (t) {
- Object.assign(i, r(t))
- })), e["a"] = i
- }, "3bfb": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "createAudioContext", (function () {
- return r
- })), n.d(e, "createVideoContext", (function () {
- return o
- })), n.d(e, "createMapContext", (function () {
- return a
- })), n.d(e, "createCanvasContext", (function () {
- return s
- }));
- var i = [{name: "id", type: String, required: !0}], r = i, o = i, a = i,
- s = [{name: "canvasId", type: String, required: !0}, {name: "componentInstance", type: Object}]
- }, "3c79": function (t, e, n) {
- }, "3d1f": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return o
- }));
- var i = n("62b5"), r = n("a741");
- function o(t, e) {
- e.getApp;
- var n = e.getCurrentPages;
- function o(t) {
- return function (e, i) {
- i = parseInt(i);
- var o = n(), a = o.find((function (t) {
- return t.$page.id === i
- }));
- a && Object(r["b"])(a, t, e)
- }
- }
- var a = Object(i["a"])("requestComponentInfo");
- function s(t) {
- var e = t.reqId, n = t.res, i = a.pop(e);
- i && i(n)
- }
- var c = Object(i["a"])("requestComponentObserver");
- function u(t) {
- var e = t.reqId, n = t.reqEnd, i = t.res, r = c.get(e);
- if (r) {
- if (n) return void c.pop(e);
- r(i)
- }
- }
- var l = Object(i["a"])("requestMediaQueryObserver");
- function f(t) {
- var e = t.reqId, n = t.reqEnd, i = t.res, r = l.get(e);
- if (r) {
- if (n) return void l.pop(e);
- r(i)
- }
- }
- t("onPageReady", o("onReady")), t("onPageScroll", o("onPageScroll")), t("onReachBottom", o("onReachBottom")), t("onRequestComponentInfo", s), t("onRequestComponentObserver", u), t("onRequestMediaQueryObserver", f)
- }
- }, "3d64": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "onNetworkStatusChange", (function () {
- return s
- })), n.d(e, "offNetworkStatusChange", (function () {
- return c
- })), n.d(e, "getNetworkType", (function () {
- return u
- }));
- var i = t, r = i.invokeCallbackHandler, o = [];
- function a() {
- var t = u(), e = t.networkType;
- o.forEach((function (t) {
- r(t, {errMsg: "onNetworkStatusChange:ok", isConnected: "none" !== e, networkType: e})
- }))
- }
- function s(t) {
- var e = navigator.connection || navigator.webkitConnection;
- o.push(t), e ? e.addEventListener("change", a) : (window.addEventListener("offline", a), window.addEventListener("online", a))
- }
- function c(t) {
- if (t) {
- var e = o.indexOf(t);
- e >= 0 && o.splice(e, 1)
- }
- if (!o.length) {
- var n = navigator.connection || navigator.webkitConnection;
- n ? n.removeEventListener("change", a) : (window.removeEventListener("offline", a), window.removeEventListener("online", a))
- }
- }
- function u() {
- var t = navigator.connection || navigator.webkitConnection, e = "unknown";
- return t ? (e = t.type, "cellular" === e && t.effectiveType ? e = t.effectiveType.replace("slow-", "") : ["none", "wifi"].includes(e) || (e = "unknown")) : !1 === navigator.onLine && (e = "none"), {
- errMsg: "getNetworkType:ok",
- networkType: e
- }
- }
- }.call(this, n("0dd1"))
- }, "3da9": function (t, e, n) {
- "use strict";
- var i = n("bfbd"), r = n.n(i);
- r.a
- }, "3e8c": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-resize-sensor", {
- on: {
- "~animationstart": function (e) {
- return t.update(e)
- }
- }
- }, [n("div", {on: {scroll: t.update}}, [n("div")]), n("div", {on: {scroll: t.update}}, [n("div")])])
- }, r = [], o = 1e5, a = {
- name: "ResizeSensor",
- props: {initial: {type: [Boolean, String], default: !1}},
- data: function () {
- return {size: {width: -1, height: -1}}
- },
- watch: {
- size: {
- deep: !0, handler: function (t) {
- this.$emit("resize", Object.assign({}, t))
- }
- }
- },
- mounted: function () {
- !0 === this.initial && this.$nextTick(this.update), this.$el.offsetParent !== this.$el.parentNode && (this.$el.parentNode.style.position = "relative"), "AnimationEvent" in window || this.reset()
- },
- activated: function () {
- this.reset()
- },
- methods: {
- reset: function () {
- var t = this.$el.firstChild;
- t.scrollLeft = o, t.scrollTop = o;
- var e = this.$el.lastChild;
- e.scrollLeft = o, e.scrollTop = o
- }, update: function () {
- this.size.width = this.$el.offsetWidth, this.size.height = this.$el.offsetHeight, this.reset()
- }
- }
- }, s = a, c = (n("64d0"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "3f15": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getVideoInfo", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- src: {
- type: String, required: !0, validator: function (t, e) {
- e.src = Object(i["a"])(t)
- }
- }
- }
- }, "3f7e": function (t, e, n) {
- "use strict";
- var i = n("e692"), r = n.n(i);
- r.a
- }, "439a": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "downloadFile", (function () {
- return i
- }));
- var i = {
- url: {type: String, required: !0}, header: {
- type: Object, validator: function (t, e) {
- e.header = t || {}
- }
- }
- }
- }, "43a1": function (t, e, n) {
- }, "442e": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return s
- }));
- var i = n("5129"), r = n.n(i), o = n("85b6"), a = n("f2b3");
- function s(e) {
- e.config.errorHandler = function (n, i, r) {
- var s = Object(a["s"])(n);
- e.util.warn("Error in ".concat(r, ': "').concat("Error" === s ? n.toString() : n, '"'), i);
- var c = "function" === typeof getApp && getApp();
- c && Object(o["c"])(c.$options, "onError") ? c.__call_hook("onError", n) : t.error(n)
- };
- var n = e.config.isReservedTag;
- e.config.isReservedTag = function (t) {
- return -1 !== r.a.indexOf(t) || n(t)
- }, e.config.ignoredElements = r.a;
- var i = e.config.getTagNamespace, s = ["switch", "image", "text", "view"];
- e.config.getTagNamespace = function (t) {
- return !~s.indexOf(t) && i(t)
- }
- }
- }).call(this, n("3ad9")["default"])
- }, "44de": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "vibrateLong", (function () {
- return r
- })), n.d(e, "vibrateShort", (function () {
- return o
- }));
- var i = !!window.navigator.vibrate;
- function r() {
- return i && window.navigator.vibrate(400) ? {errMsg: "vibrateLong:ok"} : {errMsg: "vibrateLong:fail"}
- }
- function o() {
- return i && window.navigator.vibrate(15) ? {errMsg: "vibrateShort:ok"} : {errMsg: "vibrateShort:fail"}
- }
- }, "453f": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("cb0f");
- e["a"] = {
- props: {
- id: {type: [Number, String], default: ""},
- latitude: {type: [Number, String], require: !0},
- longitude: {type: [Number, String], require: !0},
- title: {type: String, default: ""},
- iconPath: {type: String, require: !0},
- rotate: {type: [Number, String], default: 0},
- alpha: {type: [Number, String], default: 1},
- width: {type: [Number, String], default: ""},
- height: {type: [Number, String], default: ""},
- callout: {type: Object, default: null},
- label: {type: Object, default: null},
- anchor: {type: Object, default: null},
- clusterId: {type: [Number, String], default: ""},
- customCallout: {type: Object, default: null},
- ariaLabel: {type: String, default: ""}
- }, data: function () {
- return {idString: String(isNaN(Number(this.id)) ? "" : this.id)}
- }, mounted: function () {
- var t = this, e = this.$parent;
- e.mapReady((function () {
- t._maps = e._maps, t._map = e._map, t.addMarker(t.$props), Object.keys(t.$props).forEach((function (e) {
- t.$watch(e, (function () {
- t.updateMarker(t.$props)
- }))
- }))
- }))
- }, beforeDestroy: function () {
- this.removeMarker()
- }, methods: {
- addMarker: function (t) {
- var e = this, n = this._maps, i = this._map,
- r = this._marker = new n.Marker({map: i, flat: !0, autoRotation: !1});
- this.$parent._markers[this.idString] = r, this.updateMarker(t), n.event.addListener(r, "click", (function () {
- var t = r.callout;
- if (t) {
- var n = t.div, i = n.parentNode;
- t.alwaysVisible || t.set("visible", !t.visible), t.visible && (i.removeChild(n), i.appendChild(n))
- }
- e.idString && e.$parent.$trigger("markertap", {}, {markerId: Number(e.idString)})
- }))
- }, updateMarker: function (e) {
- var n = this, r = this._map, o = this._maps, a = this._marker, s = e.title,
- c = new o.LatLng(e.latitude, e.longitude), u = new Image;
- u.onload = function () {
- var t, i, l, f = e.anchor || {}, d = "number" === typeof f.x ? f.x : .5,
- h = "number" === typeof f.y ? f.y : 1;
- e.iconPath && (e.width || e.height) ? (i = e.width || u.width / u.height * e.height, l = e.height || u.height / u.width * e.width) : (i = u.width / 2, l = u.height / 2);
- var p = l - (l - h * l);
- t = "MarkerImage" in o ? new o.MarkerImage(u.src, null, null, new o.Point(d * i, h * l), new o.Size(i, l)) : {
- url: u.src,
- anchor: new o.Point(d, h),
- size: new o.Size(i, l)
- }, a.setPosition(c), a.setIcon(t), "setRotation" in a && a.setRotation(e.rotate || 0);
- var v, g = e.label || {};
- if ("label" in a && (a.label.setMap(null), delete a.label), g.content) {
- var m = {
- borderColor: g.borderColor,
- borderWidth: (Number(g.borderWidth) || 0) + "px",
- padding: (Number(g.padding) || 0) + "px",
- borderRadius: (Number(g.borderRadius) || 0) + "px",
- backgroundColor: g.bgColor,
- color: g.color,
- fontSize: (g.fontSize || 14) + "px",
- lineHeight: (g.fontSize || 14) + "px",
- marginLeft: (Number(g.anchorX || g.x) || 0) + "px",
- marginTop: (Number(g.anchorY || g.y) || 0) + "px"
- };
- if ("Label" in o) v = new o.Label({
- position: c,
- map: r,
- clickable: !1,
- content: g.content,
- style: m
- }), a.label = v; else if ("setLabel" in a) {
- var b = n.updateMarkerLabelStyle(n.idString, m);
- a.setLabel({
- text: g.content,
- color: m.color,
- fontSize: m.fontSize,
- className: b
- })
- }
- }
- var y, _ = e.callout || {}, w = a.callout;
- if (_.content || s) {
- var k = "0px 0px 3px 1px rgba(0,0,0,0.5)";
- y = _.content ? {
- position: c,
- map: r,
- top: p,
- content: _.content,
- color: _.color,
- fontSize: _.fontSize,
- borderRadius: _.borderRadius,
- bgColor: _.bgColor,
- padding: _.padding,
- boxShadow: _.boxShadow || k,
- display: _.display
- } : {
- position: c,
- map: r,
- top: p,
- content: s,
- boxShadow: k
- }, w ? w.setOption(y) : (w = a.callout = new o.Callout(y), w.div.onclick = function (t) {
- n.idString && n.$parent.$trigger("callouttap", t, {markerId: Number(n.idString)}), t.stopPropagation(), t.preventDefault()
- })
- } else w && (w.setMap(null), delete a.callout)
- }, e.iconPath ? u.src = Object(i["a"])(e.iconPath) : t.error("Marker.iconPath is required.")
- }, updateMarkerLabelStyle: function (t, e) {
- var n = "uni-map-marker-label-" + t, i = document.getElementById(n);
- i || (i = document.createElement("style"), i.id = n, document.head.appendChild(i), this.$once("hook:destroyed", (function () {
- i.remove()
- })));
- var r = Object.assign({}, e, {
- position: "absolute",
- top: "70px",
- borderStyle: "solid"
- }), o = document.createElement("div");
- return Object.keys(r).forEach((function (t) {
- o.style[t] = r[t] || ""
- })), i.innerText = ".".concat(n, "{").concat(o.getAttribute("style"), "}"), n
- }, removeMarker: function () {
- var t = this._marker;
- t && (t.label && "setMap" in t.label && t.label.setMap(null), t.callout && t.callout.setMap(null), t.setMap(null)), delete this.$parent._markers[this.idString], this._marker = null
- }
- }, render: function () {
- return null
- }
- }
- }).call(this, n("3ad9")["default"])
- }, "454d": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "removeTabBarBadge", (function () {
- return o
- })), n.d(e, "showTabBarRedDot", (function () {
- return a
- })), n.d(e, "hideTabBarRedDot", (function () {
- return s
- })), n.d(e, "onTabBarMidButtonTap", (function () {
- return u
- }));
- var i = n("db70"), r = n("a118");
- function o(t) {
- var e = t.index;
- return Object(i["c"])("setTabBarBadge", {index: e, type: "none"})
- }
- function a(t) {
- var e = t.index;
- return Object(i["c"])("setTabBarBadge", {index: e, type: "redDot"})
- }
- var s = o, c = [];
- function u(t) {
- c.push(t)
- }
- Object(i["d"])("onTabBarMidButtonTap", (function (t) {
- c.forEach((function (e) {
- Object(r["a"])(e, t)
- }))
- }))
- }, "45d2": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "upx2px", (function () {
- return l
- }));
- var i = 1e-4, r = 750, o = !1, a = 0, s = 0;
- function c() {
- var t = uni.getSystemInfoSync(), e = t.platform, n = t.pixelRatio, i = t.windowWidth;
- a = i, s = n, o = "ios" === e
- }
- function u(t, e) {
- return t = Number(t), isNaN(t) ? e : t
- }
- function l(t, e) {
- if (0 === a && c(), t = Number(t), 0 === t) return 0;
- var n = __uniConfig.globalStyle || __uniConfig.window || {},
- l = u(n.rpxCalcMaxDeviceWidth, 960), f = u(n.rpxCalcBaseDeviceWidth, 375),
- d = u(n.rpxCalcIncludeWidth, 750), h = e || a;
- h = t === d || h <= l ? h : f;
- var p = t / r * h;
- return p < 0 && (p = -p), p = Math.floor(p + i), 0 === p && (p = 1 !== s && o ? .5 : 1), t < 0 ? -p : p
- }
- }, "45db": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i;
- function r(t) {
- i = t
- }
- function o() {
- i && t.emit(i + ".stopPullDownRefresh", {}, i);
- var e = getCurrentPages();
- return e.length && (i = e[e.length - 1].$page.id, t.emit(i + ".startPullDownRefresh", {}, i)), {}
- }
- function a() {
- if (i) t.emit(i + ".stopPullDownRefresh", {}, i), i = null; else {
- var e = getCurrentPages();
- e.length && (i = e[e.length - 1].$page.id, t.emit(i + ".stopPullDownRefresh", {}, i))
- }
- return {}
- }
- n.d(e, "setPullDownRefreshPageId", (function () {
- return r
- })), n.d(e, "startPullDownRefresh", (function () {
- return o
- })), n.d(e, "stopPullDownRefresh", (function () {
- return a
- }))
- }.call(this, n("0dd1"))
- }, "4a59": function (t, e, n) {
- "use strict";
- (function (t) {
- function i(e, n, i) {
- t.UniServiceJSBridge.subscribeHandler(e, n, i)
- }
- n.d(e, "a", (function () {
- return i
- }))
- }).call(this, n("c8ba"))
- }, "4ca9": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i = n("6389"), r = n.n(i), o = n("85b6"), a = n("abbf"), s = n("0784"), c = n("aa92"),
- u = n("02c9"), l = n("23e5"), f = n("f2b3");
- function d(t) {
- var e = 0;
- return t.forEach((function (t) {
- t.meta.id && e++
- })), e
- }
- function h() {
- var t = window.location.href, e = t.indexOf("#");
- return -1 === e ? "" : decodeURI(t.slice(e + 1))
- }
- function p() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "/",
- e = decodeURI(window.location.pathname);
- return t && 0 === e.indexOf(t) && (e = e.slice(t.length)), (e || "/") + window.location.search + window.location.hash
- }
- e["default"] = {
- install: function (e) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- i = n.routes;
- e.config.devtools && "undefined" !== typeof window && -1 !== window.navigator.userAgent.toLowerCase().indexOf("hbuilderx") && (e.config.devtools = !1), Object(u["a"])(e), Object(c["a"])(e), Object(f["t"])(e), "undefined" !== typeof __UNI_ROUTER_BASE__ && (__uniConfig.router.base = __UNI_ROUTER_BASE__);
- var v = d(i), g = new r.a({
- id: v,
- mode: __uniConfig.router.mode,
- base: __uniConfig.router.base,
- routes: i,
- scrollBehavior: function (t, e, n) {
- if (n) return n;
- if (t && e && t.meta.isTabBar && e.meta.isTabBar) {
- var i = Object(l["b"])(t.params.__id__);
- if (i) return i
- }
- return {x: 0, y: 0}
- }
- }), m = [],
- b = g.match("history" === __uniConfig.router.mode ? p(__uniConfig.router.base) : h());
- if (b.meta.name && (b.meta.id ? m.push(b.meta.name + "-" + b.meta.id) : m.push(b.meta.name + "-" + (v + 1))), b.meta && b.meta.name && (document.body.className = "uni-body " + b.meta.name, b.meta.isNVue)) {
- var y = "nvue-dir-" + __uniConfig.nvue["flex-direction"];
- document.body.setAttribute("nvue", ""), document.body.setAttribute(y, "")
- }
- e.mixin({
- beforeCreate: function () {
- var n = this.$options;
- if ("app" === n.mpType) {
- n.data = function () {
- return {keepAliveInclude: m}
- };
- var r = Object(a["a"])(e, i, b);
- Object.keys(r).forEach((function (t) {
- n[t] = n[t] ? [].concat(r[t], n[t]) : [r[t]]
- })), n.router = g, Array.isArray(n.onError) && 0 !== n.onError.length || (n.onError = [function (e) {
- t.error(e)
- }])
- } else if (Object(o["d"])(this)) {
- var c = Object(s["a"])();
- Object.keys(c).forEach((function (t) {
- n.mpOptions ? n[t] = n[t] ? [].concat(n[t], c[t]) : [c[t]] : n[t] = n[t] ? [].concat(c[t], n[t]) : [c[t]]
- }))
- } else this.$parent && this.$parent.__page__ && (this.__page__ = this.$parent.__page__)
- }
- }), Object.defineProperty(e.prototype, "$page", {
- get: function () {
- return this.__page__
- }
- }), e.prototype.createSelectorQuery = function () {
- return uni.createSelectorQuery().in(this)
- }, e.prototype.createIntersectionObserver = function (t) {
- return uni.createIntersectionObserver(this, t)
- }, e.prototype.createMediaQueryObserver = function (t) {
- return uni.createMediaQueryObserver(this, t)
- }, e.use(r.a)
- }
- }
- }.call(this, n("3ad9")["default"])
- }, "4ccd": function (t, e, n) {
- "use strict";
- n.r(e), e["default"] = {
- data: function () {
- return {popupWidth: 0, popupHeight: 0}
- }, computed: {
- isDesktop: function () {
- return this.popupWidth >= 500 && this.popupHeight >= 500
- }, popupStyle: function () {
- var t = {}, e = t.content = {}, n = t.triangle = {}, i = this.popover;
- function r(t) {
- return Number(t) || 0
- }
- if (this.isDesktop && i) {
- Object.assign(n, {
- position: "absolute",
- width: "0",
- height: "0",
- "margin-left": "-6px",
- "border-style": "solid"
- });
- var o = r(i.left), a = r(i.width), s = r(i.top), c = r(i.height), u = o + a / 2;
- e.transform = "none !important";
- var l = Math.max(0, u - 150);
- e.left = "".concat(l, "px");
- var f = Math.max(12, u - l);
- f = Math.min(288, f), n.left = "".concat(f, "px");
- var d = this.popupHeight / 2;
- s + c - d > d - s ? (e.top = "auto", e.bottom = "".concat(this.popupHeight - s + 6, "px"), n.bottom = "-6px", n["border-width"] = "6px 6px 0 6px", n["border-color"] = "#fcfcfd transparent transparent transparent") : (e.top = "".concat(s + c + 6, "px"), n.top = "-6px", n["border-width"] = "0 6px 6px 6px", n["border-color"] = "transparent transparent #fcfcfd transparent")
- }
- return t
- }
- }, mounted: function () {
- var t = this, e = function () {
- var e = uni.getSystemInfoSync(), n = e.windowWidth, i = e.windowHeight, r = e.windowTop;
- t.popupWidth = n, t.popupHeight = i + r
- };
- window.addEventListener("resize", e), e(), this.$once("hook:beforeDestroy", (function () {
- window.removeEventListener("resize", e)
- }))
- }
- }
- }, "4da7": function (t, e, n) {
- "use strict";
- n.r(e);
- var i, r, o = n("5881"), a = o["a"], s = (n("c8ed"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, "4e0b": function (t, e, n) {
- }, "4e7c": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getProvider", (function () {
- return r
- }));
- var i = {OAUTH: "OAUTH", SHARE: "SHARE", PAYMENT: "PAYMENT", PUSH: "PUSH"}, r = {
- service: {
- type: String, required: !0, validator: function (t, e) {
- if (t = (t || "").toUpperCase(), t && Object.values(i).indexOf(t) < 0) return "service error"
- }
- }
- }
- }, "4f1c": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-switch", t._g({
- attrs: {disabled: t.disabled},
- on: {click: t._onClick}
- }, t.$listeners), [n("div", {staticClass: "uni-switch-wrapper"}, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: "switch" === t.type,
- expression: "type === 'switch'"
- }],
- staticClass: "uni-switch-input",
- class: [t.switchChecked ? "uni-switch-input-checked" : ""],
- style: {
- backgroundColor: t.switchChecked ? t.color : "#DFDFDF",
- borderColor: t.switchChecked ? t.color : "#DFDFDF"
- }
- }), n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: "checkbox" === t.type,
- expression: "type === 'checkbox'"
- }],
- staticClass: "uni-checkbox-input",
- class: [t.switchChecked ? "uni-checkbox-input-checked" : ""],
- style: {color: t.color}
- })])])
- }, r = [], o = n("8af1"), a = {
- name: "Switch",
- mixins: [o["a"], o["f"]],
- props: {
- name: {type: String, default: ""},
- checked: {type: [Boolean, String], default: !1},
- type: {type: String, default: "switch"},
- id: {type: String, default: ""},
- disabled: {type: [Boolean, String], default: !1},
- color: {type: String, default: "#007aff"}
- },
- data: function () {
- return {switchChecked: this.checked}
- },
- watch: {
- checked: function (t) {
- this.switchChecked = t
- }
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- listeners: {"label-click": "_onClick", "@label-click": "_onClick"},
- methods: {
- _onClick: function (t) {
- this.disabled || (this.switchChecked = !this.switchChecked, this.$trigger("change", t, {value: this.switchChecked}))
- }, _resetFormData: function () {
- this.switchChecked = !1
- }, _getFormData: function () {
- var t = {};
- return "" !== this.name && (t.value = this.switchChecked, t.key = this.name), t
- }
- }
- }, s = a, c = (n("a5ec"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "4f43": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "downloadFile", (function () {
- return u
- }));
- var i = n("e2e2");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var c = function () {
- function t(e) {
- r(this, t), s(this, "_xhr", void 0), s(this, "_callbacks", []), this._xhr = e
- }
- return a(t, [{
- key: "onProgressUpdate", value: function (t) {
- "function" === typeof t && this._callbacks.push(t)
- }
- }, {
- key: "offProgressUpdate", value: function (t) {
- var e = this._callbacks.indexOf(t);
- e >= 0 && this._callbacks.splice(e, 1)
- }
- }, {
- key: "abort", value: function () {
- this._xhr && (this._xhr.abort(), delete this._xhr)
- }
- }]), t
- }();
- function u(e, n) {
- var r, o = e.url, a = e.header, s = e.timeout,
- u = void 0 === s ? __uniConfig.networkTimeout && __uniConfig.networkTimeout.request || 6e4 : s,
- l = t, f = l.invokeCallbackHandler, d = new XMLHttpRequest, h = new c(d);
- return d.open("GET", o, !0), Object.keys(a).forEach((function (t) {
- d.setRequestHeader(t, a[t])
- })), d.responseType = "blob", d.onload = function () {
- clearTimeout(r);
- var t, e = d.status, a = this.response, s = d.getResponseHeader("content-disposition");
- if (s) {
- var c = s.match(/filename="?(\S+)"?\b/);
- c && (t = c[1])
- }
- a.name = t || Object(i["c"])(o), f(n, {
- errMsg: "downloadFile:ok",
- statusCode: e,
- tempFilePath: Object(i["b"])(a)
- })
- }, d.onabort = function () {
- clearTimeout(r), f(n, {errMsg: "downloadFile:fail abort"})
- }, d.onerror = function () {
- clearTimeout(r), f(n, {errMsg: "downloadFile:fail"})
- }, d.onprogress = function (t) {
- h._callbacks.forEach((function (e) {
- var n = t.loaded, i = t.total, r = Math.round(n / i * 100);
- e({progress: r, totalBytesWritten: n, totalBytesExpectedToWrite: i})
- }))
- }, d.send(), r = setTimeout((function () {
- d.onprogress = d.onload = d.onabort = d.onerror = null, h.abort(), f(n, {errMsg: "downloadFile:fail timeout"})
- }), u), h
- }
- }.call(this, n("0dd1"))
- }, "4f53": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "saveImageToPhotosAlbum", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- filePath: {
- type: String, required: !0, validator: function (t, e) {
- e.filePath = Object(i["a"])(t)
- }
- }
- }
- }, "4fef": function (t, e, n) {
- "use strict";
- var i = n("7572"), r = n.n(i);
- r.a
- }, "501c": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "on", (function () {
- return g
- })), n.d(e, "off", (function () {
- return m
- })), n.d(e, "once", (function () {
- return b
- })), n.d(e, "emit", (function () {
- return y
- })), n.d(e, "subscribe", (function () {
- return _
- })), n.d(e, "unsubscribe", (function () {
- return w
- })), n.d(e, "subscribeHandler", (function () {
- return k
- })), n.d(e, "publishHandler", (function () {
- return p["a"]
- }));
- var i = n("8bbf"), r = n.n(i);
- function o(t) {
- var e = t.pageStyle, n = t.rootFontSize,
- i = document.querySelector("uni-page-body") || document.body;
- i.setAttribute("style", e), n && document.documentElement.style.fontSize !== n && (document.documentElement.style.fontSize = n)
- }
- var a = n("6bdf"), s = n("5dc1"), c = n("1c73"), u = {
- setPageMeta: o,
- requestComponentInfo: a["a"],
- requestComponentObserver: s["b"],
- destroyComponentObserver: s["a"],
- requestMediaQueryObserver: c["b"],
- destroyMediaQueryObserver: c["a"]
- }, l = n("33ed"), f = n("7107"), d = n("764a");
- function h(t) {
- Object.keys(u).forEach((function (e) {
- t(e, u[e])
- })), t("pageScrollTo", l["c"]), t("loadFontFace", f["a"]), Object(d["a"])(t)
- }
- var p = n("4a59"), v = new r.a, g = v.$on.bind(v), m = v.$off.bind(v), b = v.$once.bind(v),
- y = v.$emit.bind(v);
- function _(t, e) {
- return g("service." + t, e)
- }
- function w(t, e) {
- return m("service." + t, e)
- }
- function k(t, e, n) {
- y("service." + t, e, n)
- }
- h(_)
- }, "50c5": function (t, e, n) {
- }, 5129: function (t, e) {
- t.exports = ["uni-app", "uni-layout", "uni-content", "uni-main", "uni-top-window", "uni-left-window", "uni-right-window", "uni-tabbar", "uni-page", "uni-page-head", "uni-page-wrapper", "uni-page-body", "uni-page-refresh", "uni-actionsheet", "uni-modal", "uni-toast", "uni-resize-sensor", "uni-shadow-root", "uni-ad", "uni-audio", "uni-button", "uni-camera", "uni-canvas", "uni-checkbox", "uni-checkbox-group", "uni-cover-image", "uni-cover-view", "uni-editor", "uni-form", "uni-functional-page-navigator", "uni-icon", "uni-image", "uni-input", "uni-label", "uni-live-player", "uni-live-pusher", "uni-map", "uni-movable-area", "uni-movable-view", "uni-navigator", "uni-official-account", "uni-open-data", "uni-picker", "uni-picker-view", "uni-picker-view-column", "uni-progress", "uni-radio", "uni-radio-group", "uni-rich-text", "uni-scroll-view", "uni-slider", "uni-swiper", "uni-swiper-item", "uni-switch", "uni-text", "uni-textarea", "uni-video", "uni-view", "uni-web-view"]
- }, "515d": function (t, e, n) {
- }, 5222: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("5a56");
- e["a"] = {
- name: "Toast",
- mixins: [i["default"]],
- props: {
- title: {type: String, default: ""},
- icon: {
- default: "success", validator: function (t) {
- return -1 !== ["success", "loading", "error", "none"].indexOf(t)
- }
- },
- image: {type: String, default: ""},
- duration: {type: Number, default: 1500},
- mask: {type: Boolean, default: !1},
- visible: {type: Boolean, default: !1}
- },
- computed: {
- iconClass: function () {
- return "success" === this.icon ? "uni-icon-success-no-circle" : "loading" === this.icon ? "uni-loading" : "error" === this.icon ? "uni-icon-error" : ""
- }
- },
- beforeUpdate: function () {
- this.visible && (this.timeoutId && clearTimeout(this.timeoutId), this.timeoutId = setTimeout((function () {
- t.emit("onHideToast")
- }), this.duration))
- }
- }
- }).call(this, n("0dd1"))
- }, 5243: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "compressVideo", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- src: {
- type: String, required: !0, validator: function (t, e) {
- e.src = Object(i["a"])(t)
- }
- },
- quality: {type: String},
- bitrate: {type: Number},
- fps: {type: Number},
- resolution: {type: Number}
- }
- }, 5363: function (t, e, n) {
- "use strict";
- function i(t) {
- this._drag = t, this._dragLog = Math.log(t), this._x = 0, this._v = 0, this._startTime = 0
- }
- n.d(e, "a", (function () {
- return i
- })), i.prototype.set = function (t, e) {
- this._x = t, this._v = e, this._startTime = (new Date).getTime()
- }, i.prototype.setVelocityByEnd = function (t) {
- this._v = (t - this._x) * this._dragLog / (Math.pow(this._drag, 100) - 1)
- }, i.prototype.x = function (t) {
- var e;
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), e = t === this._dt && this._powDragDt ? this._powDragDt : this._powDragDt = Math.pow(this._drag, t), this._dt = t, this._x + this._v * e / this._dragLog - this._v / this._dragLog
- }, i.prototype.dx = function (t) {
- var e;
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), e = t === this._dt && this._powDragDt ? this._powDragDt : this._powDragDt = Math.pow(this._drag, t), this._dt = t, this._v * e
- }, i.prototype.done = function () {
- return Math.abs(this.dx()) < 3
- }, i.prototype.reconfigure = function (t) {
- var e = this.x(), n = this.dx();
- this._drag = t, this._dragLog = Math.log(t), this.set(e, n)
- }, i.prototype.configuration = function () {
- var t = this;
- return [{
- label: "Friction", read: function () {
- return t._drag
- }, write: function (e) {
- t.reconfigure(e)
- }, min: .001, max: .1, step: .001
- }]
- }
- }, 5378: function (t, e, n) {
- "use strict";
- var i = n("43a1"), r = n.n(i);
- r.a
- }, 5408: function (t, e, n) {
- var i = {
- "./audio/index.vue": "6150",
- "./button/index.vue": "d3bd",
- "./canvas/index.vue": "bacd",
- "./checkbox-group/index.vue": "25ce",
- "./checkbox/index.vue": "7bb3",
- "./editor/index.vue": "27c2",
- "./form/index.vue": "b34d",
- "./icon/index.vue": "9a8b",
- "./image/index.vue": "1082",
- "./input/index.vue": "250d",
- "./label/index.vue": "70f4",
- "./movable-area/index.vue": "c61c",
- "./movable-view/index.vue": "8842",
- "./navigator/index.vue": "17fd",
- "./picker-view-column/index.vue": "1955",
- "./picker-view/index.vue": "27ab",
- "./progress/index.vue": "9b1f",
- "./radio-group/index.vue": "d5ec",
- "./radio/index.vue": "6491",
- "./resize-sensor/index.vue": "3e8c",
- "./rich-text/index.vue": "b705",
- "./scroll-view/index.vue": "f1ef",
- "./slider/index.vue": "9f96",
- "./swiper-item/index.vue": "9213",
- "./swiper/index.vue": "5513",
- "./switch/index.vue": "4f1c",
- "./text/index.vue": "4da7",
- "./textarea/index.vue": "5768",
- "./view/index.vue": "2bbe"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "5408"
- }, "54bc": function (t, e, n) {
- }, "54f4": function (t, e, n) {
- "use strict";
- function i() {
- var t = document.activeElement;
- !t || "TEXTAREA" !== t.tagName && "INPUT" !== t.tagName || t.blur()
- }
- n.r(e), n.d(e, "hideKeyboard", (function () {
- return i
- }))
- }, 5513: function (t, e, n) {
- "use strict";
- n.r(e);
- var i, r, o = n("ba15"), a = n("f2b3"), s = {
- name: "Swiper",
- mixins: [o["a"]],
- props: {
- indicatorDots: {type: [Boolean, String], default: !1},
- vertical: {type: [Boolean, String], default: !1},
- autoplay: {type: [Boolean, String], default: !1},
- circular: {type: [Boolean, String], default: !1},
- interval: {type: [Number, String], default: 5e3},
- duration: {type: [Number, String], default: 500},
- current: {type: [Number, String], default: 0},
- indicatorColor: {type: String, default: ""},
- indicatorActiveColor: {type: String, default: ""},
- previousMargin: {type: String, default: ""},
- nextMargin: {type: String, default: ""},
- currentItemId: {type: String, default: ""},
- skipHiddenItemLayout: {type: [Boolean, String], default: !1},
- displayMultipleItems: {type: [Number, String], default: 1},
- disableTouch: {type: [Boolean, String], default: !1}
- },
- data: function () {
- return {
- currentSync: Math.round(this.current) || 0,
- currentItemIdSync: this.currentItemId || "",
- userTracking: !1,
- currentChangeSource: "",
- items: []
- }
- },
- computed: {
- intervalNumber: function () {
- var t = Number(this.interval);
- return isNaN(t) ? 5e3 : t
- }, durationNumber: function () {
- var t = Number(this.duration);
- return isNaN(t) ? 500 : t
- }, displayMultipleItemsNumber: function () {
- var t = Math.round(this.displayMultipleItems);
- return isNaN(t) ? 1 : t
- }, slidesStyle: function () {
- var t = {};
- return (this.nextMargin || this.previousMargin) && (t = this.vertical ? {
- left: 0,
- right: 0,
- top: this._upx2px(this.previousMargin),
- bottom: this._upx2px(this.nextMargin)
- } : {
- top: 0,
- bottom: 0,
- left: this._upx2px(this.previousMargin),
- right: this._upx2px(this.nextMargin)
- }), t
- }, slideFrameStyle: function () {
- var t = Math.abs(100 / this.displayMultipleItemsNumber) + "%";
- return {width: this.vertical ? "100%" : t, height: this.vertical ? t : "100%"}
- }, circularEnabled: function () {
- return this.circular && this.items.length > this.displayMultipleItemsNumber
- }
- },
- watch: {
- vertical: function () {
- this._resetLayout()
- }, circular: function () {
- this._resetLayout()
- }, intervalNumber: function (t) {
- this._timer && (this._cancelSchedule(), this._scheduleAutoplay())
- }, current: function (t) {
- this._currentCheck()
- }, currentSync: function (t, e) {
- this._currentChanged(t, e), this.$emit("update:current", t)
- }, currentItemId: function (t) {
- this._currentCheck()
- }, currentItemIdSync: function (t) {
- this.$emit("update:currentItemId", t)
- }, displayMultipleItemsNumber: function () {
- this._resetLayout()
- }
- },
- created: function () {
- this._invalid = !0, this._viewportPosition = 0, this._viewportMoveRatio = 1, this._animating = null, this._requestedAnimation = !1, this._userDirectionChecked = !1, this._contentTrackViewport = 0, this._contentTrackSpeed = 0, this._contentTrackT = 0
- },
- mounted: function () {
- var t = this;
- this._currentCheck(), this.touchtrack(this.$refs.slidesWrapper, "_handleContentTrack", !0), this._resetLayout(), this.$watch((function () {
- return t.autoplay && !t.userTracking
- }), this._inintAutoplay), this._inintAutoplay(this.autoplay && !this.userTracking), this.$watch("items.length", this._resetLayout)
- },
- beforeDestroy: function () {
- this._cancelSchedule(), cancelAnimationFrame(this._animationFrame)
- },
- methods: {
- _inintAutoplay: function (t) {
- t ? this._scheduleAutoplay() : this._cancelSchedule()
- }, _currentCheck: function () {
- var t = -1;
- if (this.currentItemId) for (var e = 0, n = this.items; e < n.length; e++) {
- var i = n[e].componentInstance;
- if (i && i.itemId === this.currentItemId) {
- t = e;
- break
- }
- }
- t < 0 && (t = Math.round(this.current) || 0), t = t < 0 ? 0 : t, this.currentSync !== t && (this.currentChangeSource = "", this.currentSync = t)
- }, _itemReady: function (t, e) {
- t.componentInstance && t.componentInstance._isMounted ? e() : (t._callbacks = t._callbacks || [], t._callbacks.push(e))
- }, _currentChanged: function (t, e) {
- var n = this, i = this.currentChangeSource;
- if (this.currentChangeSource = "", !i) {
- var r = this.items.length;
- this._animateViewport(t, "", this.circularEnabled && e + (r - t) % r > r / 2 ? 1 : 0)
- }
- var o = this.items[t];
- o && this._itemReady(o, (function () {
- var t = n.currentItemIdSync = o.componentInstance.itemId || "";
- n.$trigger("change", {}, {current: n.currentSync, currentItemId: t, source: i})
- }))
- }, _scheduleAutoplay: function () {
- var t = this;
- function e() {
- t._timer = null, t.currentChangeSource = "autoplay", t.circularEnabled ? t.currentSync = t._normalizeCurrentValue(t.currentSync + 1) : t.currentSync = t.currentSync + t.displayMultipleItemsNumber < t.items.length ? t.currentSync + 1 : 0, t._animateViewport(t.currentSync, "autoplay", t.circularEnabled ? 1 : 0), t._timer = setTimeout(e, t.intervalNumber)
- }
- this._cancelSchedule(), !this._isMounted || this._invalid || this.items.length <= this.displayMultipleItemsNumber || (this._timer = setTimeout(e, this.intervalNumber))
- }, _cancelSchedule: function () {
- this._timer && (clearTimeout(this._timer), this._timer = null)
- }, _normalizeCurrentValue: function (t) {
- var e = this.items.length;
- if (!e) return -1;
- var n = (Math.round(t) % e + e) % e;
- if (this.circularEnabled) {
- if (e <= this.displayMultipleItemsNumber) return 0
- } else if (n > e - this.displayMultipleItemsNumber) return e - this.displayMultipleItemsNumber;
- return n
- }, _upx2px: function (t) {
- return /\d+[ur]px$/i.test(t) && t.replace(/\d+[ur]px$/i, (function (t) {
- return "".concat(uni.upx2px(parseFloat(t)), "px")
- })), t || ""
- }, _resetLayout: function () {
- if (this._isMounted) {
- this._cancelSchedule(), this._endViewportAnimation();
- for (var t = this.items, e = 0; e < t.length; e++) this._updateItemPos(e, e);
- if (this._viewportMoveRatio = 1, 1 === this.displayMultipleItemsNumber && t.length) {
- var n = t[0].componentInstance.$el.getBoundingClientRect(),
- i = this.$refs.slideFrame.getBoundingClientRect();
- this._viewportMoveRatio = n.width / i.width, this._viewportMoveRatio > 0 && this._viewportMoveRatio < 1 || (this._viewportMoveRatio = 1)
- }
- var r = this._viewportPosition;
- this._viewportPosition = -2;
- var o = this.currentSync;
- o >= 0 ? (this._invalid = !1, this.userTracking ? (this._updateViewport(r + o - this._contentTrackViewport), this._contentTrackViewport = o) : (this._updateViewport(o), this.autoplay && this._scheduleAutoplay())) : (this._invalid = !0, this._updateViewport(-this.displayMultipleItemsNumber - 1))
- }
- }, _checkCircularLayout: function (t) {
- if (!this._invalid) for (var e = this.items, n = e.length, i = t + this.displayMultipleItemsNumber, r = 0; r < n; r++) {
- var o = e[r], a = o._position, s = Math.floor(t / n) * n + r, c = s + n, u = s - n,
- l = Math.max(t - (s + 1), s - i, 0), f = Math.max(t - (c + 1), c - i, 0),
- d = Math.max(t - (u + 1), u - i, 0), h = Math.min(l, f, d),
- p = [s, c, u][[l, f, d].indexOf(h)];
- a !== p && this._updateItemPos(r, p)
- }
- }, _updateItemPos: function (t, e) {
- var n = this.vertical ? "0" : 100 * e + "%", i = this.vertical ? 100 * e + "%" : "0",
- r = "translate(" + n + ", " + i + ") translateZ(0)", o = this.items[t];
- this._itemReady(o, (function () {
- var t = o.componentInstance.$el;
- t.style["-webkit-transform"] = r, t.style.transform = r, t._position = e
- }))
- }, _updateViewport: function (t) {
- Math.floor(2 * this._viewportPosition) === Math.floor(2 * t) && Math.ceil(2 * this._viewportPosition) === Math.ceil(2 * t) || this.circularEnabled && this._checkCircularLayout(t);
- var e = this.vertical ? "0" : 100 * -t * this._viewportMoveRatio + "%",
- n = this.vertical ? 100 * -t * this._viewportMoveRatio + "%" : "0",
- i = "translate(" + e + ", " + n + ") translateZ(0)", r = this.$refs.slideFrame;
- if (r && (r.style["-webkit-transform"] = i, r.style.transform = i), this._viewportPosition = t, !this._transitionStart) {
- if (t % 1 === 0) return;
- this._transitionStart = t
- }
- t -= Math.floor(this._transitionStart), t <= -(this.items.length - 1) ? t += this.items.length : t >= this.items.length && (t -= this.items.length), t = this._transitionStart % 1 > .5 || this._transitionStart < 0 ? t - 1 : t, this.$trigger("transition", {}, {
- dx: this.vertical ? 0 : t * r.offsetWidth,
- dy: this.vertical ? t * r.offsetHeight : 0
- })
- }, _animateFrameFuncProto: function () {
- var t = this;
- if (this._animating) {
- var e = this._animating, n = e.toPos, i = e.acc, r = e.endTime, o = e.source,
- a = r - Date.now();
- if (a <= 0) {
- this._updateViewport(n), this._animating = null, this._requestedAnimation = !1, this._transitionStart = null;
- var s = this.items[this.currentSync];
- s && this._itemReady(s, (function () {
- var e = s.componentInstance.itemId || "";
- t.$trigger("animationfinish", {}, {
- current: t.currentSync,
- currentItemId: e,
- source: o
- })
- }))
- } else {
- var c = i * a * a / 2, u = n + c;
- this._updateViewport(u), this._animationFrame = requestAnimationFrame(this._animateFrameFuncProto.bind(this))
- }
- } else this._requestedAnimation = !1
- }, _animateViewport: function (t, e, n) {
- this._cancelViewportAnimation();
- var i = this.durationNumber, r = this.items.length, o = this._viewportPosition;
- if (this.circularEnabled) if (n < 0) {
- for (; o < t;) o += r;
- for (; o - r > t;) o -= r
- } else if (n > 0) {
- for (; o > t;) o -= r;
- for (; o + r < t;) o += r;
- o + r - t < t - o && (o += r)
- } else {
- for (; o + r < t;) o += r;
- for (; o - r > t;) o -= r;
- o + r - t < t - o && (o += r)
- }
- this._animating = {
- toPos: t,
- acc: 2 * (o - t) / (i * i),
- endTime: Date.now() + i,
- source: e
- }, this._requestedAnimation || (this._requestedAnimation = !0, this._animationFrame = requestAnimationFrame(this._animateFrameFuncProto.bind(this)))
- }, _cancelViewportAnimation: function () {
- this._animating = null
- }, _endViewportAnimation: function () {
- this._animating && (this._updateViewport(this._animating.toPos), this._animating = null)
- }, _handleTrackStart: function () {
- this._cancelSchedule(), this._contentTrackViewport = this._viewportPosition, this._contentTrackSpeed = 0, this._contentTrackT = Date.now(), this._cancelViewportAnimation()
- }, _handleTrackMove: function (t) {
- var e = this, n = this._contentTrackT;
- this._contentTrackT = Date.now();
- var i = this.items.length, r = i - this.displayMultipleItemsNumber;
- function o(t) {
- return .5 - .25 / (t + .5)
- }
- function a(t, n) {
- var i = e._contentTrackViewport + t;
- e._contentTrackSpeed = .6 * e._contentTrackSpeed + .4 * n, e.circularEnabled || (i < 0 || i > r) && (i < 0 ? i = -o(-i) : i > r && (i = r + o(i - r)), e._contentTrackSpeed = 0), e._updateViewport(i)
- }
- var s = this._contentTrackT - n || 1;
- this.vertical ? a(-t.dy / this.$refs.slideFrame.offsetHeight, -t.ddy / s) : a(-t.dx / this.$refs.slideFrame.offsetWidth, -t.ddx / s)
- }, _handleTrackEnd: function (t) {
- this.userTracking = !1;
- var e = this._contentTrackSpeed / Math.abs(this._contentTrackSpeed), n = 0;
- !t && Math.abs(this._contentTrackSpeed) > .2 && (n = .5 * e);
- var i = this._normalizeCurrentValue(this._viewportPosition + n);
- t ? this._updateViewport(this._contentTrackViewport) : (this.currentChangeSource = "touch", this.currentSync = i, this._animateViewport(i, "touch", 0 !== n ? n : 0 === i && this.circularEnabled && this._viewportPosition >= 1 ? 1 : 0))
- }, _handleContentTrack: function (t) {
- if (!this.disableTouch && this.items.length && !this._invalid) {
- if ("start" === t.detail.state) return this.userTracking = !0, this._userDirectionChecked = !1, this._handleTrackStart();
- if ("end" === t.detail.state) return this._handleTrackEnd(!1);
- if ("cancel" === t.detail.state) return this._handleTrackEnd(!0);
- if (this.userTracking) {
- if (!this._userDirectionChecked) {
- this._userDirectionChecked = !0;
- var e = Math.abs(t.detail.dx), n = Math.abs(t.detail.dy);
- if ((e >= n && this.vertical || e <= n && !this.vertical) && (this.userTracking = !1), !this.userTracking) return void (this.autoplay && this._scheduleAutoplay())
- }
- return this._handleTrackMove(t.detail), !1
- }
- }
- }
- },
- render: function (t) {
- var e = this, n = [], i = [];
- this.$slots.default && Object(a["f"])(this.$slots.default, t).forEach((function (t) {
- t.componentOptions && "v-uni-swiper-item" === t.componentOptions.tag && i.push(t)
- }));
- for (var r = function (i, r) {
- var o = e.currentSync;
- n.push(t("div", {
- on: {
- click: function () {
- e._animateViewport(e.currentSync = i, e.currentChangeSource = "click", e.circularEnabled ? 1 : 0)
- }
- },
- class: {
- "uni-swiper-dot": !0,
- "uni-swiper-dot-active": i < o + e.displayMultipleItemsNumber && i >= o || i < o + e.displayMultipleItemsNumber - r
- },
- style: {background: i === o ? e.indicatorActiveColor : e.indicatorColor}
- }))
- }, o = 0, s = i.length; o < s; o++) r(o, s);
- this.items = i;
- var c = [t("div", {
- ref: "slides",
- style: this.slidesStyle,
- class: "uni-swiper-slides"
- }, [t("div", {
- ref: "slideFrame",
- class: "uni-swiper-slide-frame",
- style: this.slideFrameStyle
- }, i)])];
- return this.indicatorDots && c.push(t("div", {
- ref: "slidesDots",
- class: ["uni-swiper-dots", this.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"]
- }, n)), t("uni-swiper", {on: this.$listeners}, [t("div", {
- ref: "slidesWrapper",
- class: "uni-swiper-wrapper"
- }, c)])
- }
- }, c = s, u = (n("1c64"), n("2877")), l = Object(u["a"])(c, i, r, !1, null, null, null);
- e["default"] = l.exports
- }, 5621: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "setTabBarItem", (function () {
- return a
- })), n.d(e, "setTabBarStyle", (function () {
- return s
- })), n.d(e, "hideTabBar", (function () {
- return c
- })), n.d(e, "showTabBar", (function () {
- return u
- })), n.d(e, "hideTabBarRedDot", (function () {
- return l
- })), n.d(e, "showTabBarRedDot", (function () {
- return f
- })), n.d(e, "removeTabBarBadge", (function () {
- return d
- })), n.d(e, "setTabBarBadge", (function () {
- return h
- }));
- var i = n("f2b3"), r = n("cb0f"), o = {type: Number, required: !0}, a = {
- index: o,
- text: {type: String},
- iconPath: {type: String},
- selectedIconPath: {type: String},
- pagePath: {type: String}
- }, s = {
- color: {type: String},
- selectedColor: {type: String},
- backgroundColor: {type: String},
- backgroundImage: {
- type: String, validator: function (t, e) {
- t && !/^(linear|radial)-gradient\(.+?\);?$/.test(t) && (e.backgroundImage = Object(r["a"])(t))
- }
- },
- backgroundRepeat: {type: String},
- borderStyle: {
- type: String, validator: function (t, e) {
- t && (e.borderStyle = "black" === t ? "black" : "white")
- }
- }
- }, c = {animation: {type: Boolean, default: !1}}, u = {animation: {type: Boolean, default: !1}},
- l = {index: o}, f = {index: o}, d = {index: o}, h = {
- index: o, text: {
- type: String, required: !0, validator: function (t, e) {
- Object(i["h"])(t) >= 4 && (e.text = "...")
- }
- }
- }
- }, 5676: function (t, e, n) {
- "use strict";
- var i = n("c33a"), r = n.n(i);
- r.a
- }, "56e9": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "showModal", (function () {
- return a
- })), n.d(e, "showToast", (function () {
- return s
- })), n.d(e, "hideToast", (function () {
- return c
- })), n.d(e, "showLoading", (function () {
- return u
- })), n.d(e, "hideLoading", (function () {
- return l
- })), n.d(e, "showActionSheet", (function () {
- return f
- }));
- var i = t, r = i.emit, o = i.invokeCallbackHandler;
- function a(t, e) {
- r("onShowModal", t, (function (t) {
- o(e, t)
- }))
- }
- function s(t) {
- return r("onShowToast", t), {}
- }
- function c() {
- return r("onHideToast"), {}
- }
- function u(t) {
- return r("onShowLoading", t), {}
- }
- function l() {
- return r("onHideLoading"), {}
- }
- function f(t, e) {
- r("onShowActionSheet", t, (function (t) {
- o(e, -1 === t ? {errMsg: "showActionSheet:fail cancel"} : {tapIndex: t})
- }))
- }
- }.call(this, n("0dd1"))
- }, 5727: function (t, e, n) {
- "use strict";
- var i = n("28da"), r = n.n(i);
- r.a
- }, 5768: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-textarea", t._g({}, t.$listeners), [n("div", {
- ref: "wrapper",
- staticClass: "uni-textarea-wrapper"
- }, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: !(t.composing || t.valueSync.length),
- expression: "!(composing || valueSync.length)"
- }],
- ref: "placeholder",
- staticClass: "uni-textarea-placeholder",
- class: t.placeholderClass,
- style: t.placeholderStyle,
- domProps: {textContent: t._s(t.placeholder)}
- }), n("div", {
- ref: "line",
- staticClass: "uni-textarea-line",
- domProps: {textContent: t._s(" ")}
- }), n("div", {staticClass: "uni-textarea-compute"}, [t._l(t.valueCompute, (function (e, i) {
- return n("div", {key: i, domProps: {textContent: t._s(e.trim() ? e : ".")}})
- })), n("v-uni-resize-sensor", {
- ref: "sensor",
- on: {resize: t._resize}
- })], 2), t.disabled && t.fixColor ? t._e() : n("textarea", {
- directives: [{
- name: "model",
- rawName: "v-model",
- value: t.valueSync,
- expression: "valueSync"
- }, {name: "keyboard", rawName: "v-keyboard"}, {name: "field", rawName: "v-field"}],
- ref: "textarea",
- staticClass: "uni-textarea-textarea",
- class: {"uni-textarea-textarea-fix-margin": t.fixMargin},
- style: {"overflow-y": t.autoHeight ? "hidden" : "auto"},
- attrs: {disabled: t.disabled, maxlength: t.maxlengthNumber, enterkeyhint: t.confirmType},
- domProps: {value: t.valueSync},
- on: {
- change: function (t) {
- t.stopPropagation()
- }, compositionstart: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionend: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, compositionupdate: function (e) {
- return e.stopPropagation(), t._onComposition(e)
- }, input: [function (e) {
- e.target.composing || (t.valueSync = e.target.value)
- }, function (e) {
- return e.stopPropagation(), t._onInput(e)
- }], focus: t._onFocus, blur: t._onBlur, "&touchstart": function (e) {
- return t._onTouchstart(e)
- }, keyup: function (e) {
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t._onKeyUpEnter(e)
- }, keydown: function (e) {
- return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : t._onKeyDownEnter(e)
- }
- }
- }), t._v(" "), t.disabled && t.fixColor ? n("textarea", {
- ref: "textarea",
- staticClass: "uni-textarea-textarea",
- class: {"uni-textarea-textarea-fix-margin": t.fixMargin},
- style: {"overflow-y": t.autoHeight ? "hidden" : "auto"},
- attrs: {tabindex: "-1", readonly: t.disabled, maxlength: t.maxlengthNumber},
- domProps: {value: t.valueSync},
- on: {
- focus: function (t) {
- return t.target.blur()
- }
- }
- }) : t._e()])])
- }, r = [], o = n("8af1"), a = "(prefers-color-scheme: dark)", s = {
- name: "Textarea",
- mixins: [o["b"]],
- props: {
- name: {type: String, default: ""},
- maxlength: {type: [Number, String], default: 140},
- placeholder: {type: String, default: ""},
- disabled: {type: [Boolean, String], default: !1},
- placeholderClass: {type: String, default: "textarea-placeholder"},
- placeholderStyle: {type: String, default: ""},
- autoHeight: {type: [Boolean, String], default: !1},
- confirmType: {type: String, default: ""}
- },
- data: function () {
- return {
- valueComposition: "",
- height: 0,
- focusChangeSource: "",
- fixMargin: 0 === String(navigator.platform).indexOf("iP") && 0 === String(navigator.vendor).indexOf("Apple") && window.matchMedia(a).media !== a
- }
- },
- computed: {
- maxlengthNumber: function () {
- var t = Number(this.maxlength);
- return isNaN(t) ? 140 : t
- }, valueCompute: function () {
- return (this.composing ? this.valueComposition : this.valueSync).split("\n")
- }, isDone: function () {
- return ["done", "go", "next", "search", "send"].includes(this.confirmType)
- }
- },
- watch: {
- focus: function (t) {
- t && (this.focusChangeSource = "focus")
- }, height: function (t) {
- var e = parseFloat(getComputedStyle(this.$el).lineHeight);
- isNaN(e) && (e = this.$refs.line.offsetHeight);
- var n = Math.round(t / e);
- this.$trigger("linechange", {}, {
- height: t,
- heightRpx: 750 / window.innerWidth * t,
- lineCount: n
- }), this.autoHeight && (this.$el.style.height = "auto", this.$refs.wrapper.style.height = this.height + "px")
- }
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- mounted: function () {
- this._resize({height: this.$refs.sensor.$el.offsetHeight});
- var t = this;
- while (t) {
- var e = t.$options._scopeId;
- e && this.$refs.placeholder.setAttribute(e, ""), t = t.$parent
- }
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _onKeyDownEnter: function (t) {
- this.isDone && t.preventDefault()
- }, _onKeyUpEnter: function (t) {
- this.isDone && (this._confirm(t), !this.confirmHold && this.$refs.textarea.blur())
- }, _onComposition: function (t) {
- switch (t.type) {
- case"compositionstart":
- this.composing = !0;
- break;
- case"compositionend":
- this.composing && (this.composing = !1, this._onInput(t));
- break
- }
- !this.ignoreCompositionEvent && this.$trigger(t.type, t, {data: t.data})
- }, _confirm: function (t) {
- this.$trigger("confirm", t, {value: this.valueSync})
- }, _linechange: function (t) {
- this.$trigger("linechange", t, {value: this.valueSync})
- }, _onTouchstart: function () {
- this.focusChangeSource = "touch"
- }, _resize: function (t) {
- var e = t.height;
- this.height = e
- }, _onInput: function (t, e) {
- this.composing && this.ignoreCompositionEvent ? this.valueComposition = t.target.value : (this.ignoreCompositionEvent || (this.valueSync = this.$refs.textarea.value), this.$triggerInput(t, {
- value: this.valueSync,
- cursor: this.$refs.textarea.selectionEnd
- }, e))
- }, _getFormData: function () {
- return {value: this.valueSync, key: this.name}
- }, _resetFormData: function () {
- this.valueSync = ""
- }
- }
- }, c = s, u = (n("9400"), n("2877")), l = Object(u["a"])(c, i, r, !1, null, null, null);
- e["default"] = l.exports
- }, "57a7": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "createInnerAudioContext", (function () {
- return d
- }));
- var i = n("db70");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- var s = ["canplay", "play", "pause", "stop", "ended", "timeUpdate", "error", "waiting", "seeking", "seeked"],
- c = [{name: "src", cache: !0}, {name: "startTime", default: 0, cache: !0}, {
- name: "autoplay",
- default: !1,
- cache: !0
- }, {name: "loop", default: !1, cache: !0}, {
- name: "obeyMuteSwitch",
- default: !0,
- readonly: !0,
- cache: !0
- }, {name: "duration", readonly: !0}, {name: "currentTime", readonly: !0}, {
- name: "paused",
- readonly: !0
- }, {
- name: "buffered",
- readonly: !0
- }, {name: "volume"}, {name: "sessionCategory"}, {name: "playbackRate", cache: !0}],
- u = function () {
- function t(e) {
- var n = this;
- r(this, t), this.id = e, this._callbacks = {}, this._options = {}, s.forEach((function (t) {
- n._callbacks[t.toLowerCase()] = []
- })), c.forEach((function (t) {
- var e = t.name, r = {
- get: function () {
- var n = t.cache ? this._options : Object(i["c"])("getAudioState", {audioId: this.id}),
- r = e in n ? n[e] : t.default;
- return "number" === typeof r && "volume" !== e ? r / 1e3 : r
- }
- };
- t.readonly || (r.set = function (t) {
- this._options[e] = t, Object(i["c"])("setAudioState", Object.assign({}, this._options, {audioId: this.id}))
- }), Object.defineProperty(n, e, r)
- }))
- }
- return a(t, [{
- key: "play", value: function () {
- this._operate("play")
- }
- }, {
- key: "pause", value: function () {
- this._operate("pause")
- }
- }, {
- key: "stop", value: function () {
- this._operate("stop")
- }
- }, {
- key: "seek", value: function (t) {
- this._operate("seek", {currentTime: 1e3 * t})
- }
- }, {
- key: "destroy", value: function () {
- clearInterval(this.__timing), Object(i["c"])("destroyAudioInstance", {audioId: this.id}), delete f[this.id]
- }
- }, {
- key: "_operate", value: function (t, e) {
- Object(i["c"])("operateAudio", Object.assign({}, e, {
- audioId: this.id,
- operationType: t
- }))
- }
- }]), t
- }();
- function l(t, e, n, i) {
- t._callbacks[e].forEach((function (t) {
- "function" === typeof t && t("error" === e ? {errMsg: n, errCode: i} : {})
- }))
- }
- s.forEach((function (t) {
- var e = t[0].toUpperCase() + t.substr(1);
- t = t.toLowerCase(), u.prototype["on".concat(e)] = function (e) {
- this._callbacks[t].push(e)
- }, u.prototype["off".concat(e)] = function (e) {
- var n = this._callbacks[t], i = n.indexOf(e);
- i >= 0 && n.splice(i, 1)
- }
- })), Object(i["d"])("onAudioStateChange", (function (t) {
- var e = t.state, n = t.audioId, i = t.errMsg, r = t.errCode, o = f[n];
- if (o) if (l(o, e, i, r), "play" === e) {
- var a = o.currentTime;
- o.__timing = setInterval((function () {
- var t = o.currentTime;
- t !== a && l(o, "timeupdate")
- }), 200)
- } else "pause" !== e && "stop" !== e && "error" !== e || clearInterval(o.__timing)
- }));
- var f = Object.create(null);
- function d() {
- var t = Object(i["c"])("createAudioInstance"), e = t.audioId, n = new u(e);
- return f[e] = n, n
- }
- }, "581a": function (t, e, n) {
- }, 5881: function (t, e, n) {
- "use strict";
- (function (t) {
- var n = {ensp: " ", emsp: " ", nbsp: " "};
- e["a"] = {
- name: "Text",
- props: {
- selectable: {type: [Boolean, String], default: !1},
- space: {type: String, default: ""},
- decode: {type: [Boolean, String], default: !1}
- },
- methods: {
- _decodeHtml: function (t) {
- return this.space && n[this.space] && (t = t.replace(/ /g, n[this.space])), this.decode && (t = t.replace(/ /g, n.nbsp).replace(/ /g, n.ensp).replace(/ /g, n.emsp).replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'")), t
- }
- },
- render: function (e) {
- var n = this, i = [];
- return this.$slots.default && this.$slots.default.forEach((function (r) {
- if (r.text) {
- var o = r.text.replace(/\\n/g, "\n"), a = o.split("\n");
- a.forEach((function (t, r) {
- i.push(n._decodeHtml(t)), r !== a.length - 1 && i.push(e("br"))
- }))
- } else r.componentOptions && "v-uni-text" !== r.componentOptions.tag && t.warn("Do not nest other components in the text component, as there may be display differences on different platforms."), i.push(r)
- })), e("uni-text", {
- on: this.$listeners,
- attrs: {selectable: !!this.selectable}
- }, [e("span", {}, i)])
- }
- }
- }).call(this, n("3ad9")["default"])
- }, "594d": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-map", t._g({attrs: {id: t.id}}, t.$listeners), [t._l(t.markers, (function (e) {
- return n("map-marker", t._b({key: e.id}, "map-marker", e, !1))
- })), t._l(t.polygons, (function (e) {
- return n("map-polygon", t._b({key: JSON.stringify(e.points)}, "map-polygon", e, !1))
- })), n("div", {
- ref: "map",
- staticStyle: {width: "100%", height: "100%", position: "relative", overflow: "hidden"}
- }), n("div", {
- staticStyle: {
- position: "absolute",
- top: "0",
- width: "100%",
- height: "100%",
- overflow: "hidden",
- "pointer-events": "none"
- }
- }, [t._t("default")], 2)], 2)
- }, r = [], o = n("738e"), a = o["a"], s = (n("3f7e"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, 5964: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "setNavigationBarColor", (function () {
- return o
- })), n.d(e, "showNavigationBarLoading", (function () {
- return a
- })), n.d(e, "hideNavigationBarLoading", (function () {
- return s
- })), n.d(e, "setNavigationBarTitle", (function () {
- return c
- }));
- var i = n("79d5");
- function r(e) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- r = Object(i["getPageHolder"])(n.__page__);
- if (r) switch (e) {
- case"setNavigationBarColor":
- var o = n.frontColor, a = n.backgroundColor, s = n.animation, c = s.duration,
- u = s.timingFunc;
- o && (r.navigationBar.textColor = "#000000" === o ? "black" : "white"), a && (r.navigationBar.backgroundColor = a), t.emit("onNavigationBarChange", {
- textColor: "#000000" === o ? "#000" : "#fff",
- backgroundColor: r.navigationBar.backgroundColor
- }), r.navigationBar.duration = c + "ms", r.navigationBar.timingFunc = u;
- break;
- case"showNavigationBarLoading":
- r.navigationBar.loading = !0;
- break;
- case"hideNavigationBarLoading":
- r.navigationBar.loading = !1;
- break;
- case"setNavigationBarTitle":
- var l = n.title;
- r.navigationBar.titleText = l, Object(i["isCurrentPage"])(r) && (document.title = l), t.emit("onNavigationBarChange", {titleText: l});
- break
- }
- return {}
- }
- function o(t) {
- return r("setNavigationBarColor", t)
- }
- function a(t) {
- return r("showNavigationBarLoading", t)
- }
- function s(t) {
- return r("hideNavigationBarLoading", t)
- }
- function c(t) {
- return r("setNavigationBarTitle", t)
- }
- }.call(this, n("0dd1"))
- }, "5a23": function (t, e, n) {
- "use strict";
- n("f2b3");
- var i, r = n("5cf8");
- function o() {
- }
- e["a"] = {
- name: "Keyboard",
- mixins: [r["a"]],
- props: {
- cursorSpacing: {type: [Number, String], default: 0},
- showConfirmBar: {type: [Boolean, String], default: "auto"},
- adjustPosition: {type: [Boolean, String], default: !0},
- autoBlur: {type: [Boolean, String], default: !1}
- },
- computed: {
- isApple: function () {
- return 0 === String(navigator.vendor).indexOf("Apple")
- }
- },
- directives: {
- keyboard: {
- inserted: function (t, e, n) {
- n.context.initKeyboard(t)
- }
- }
- },
- methods: {
- initKeyboard: function (t) {
- var e = this;
- t.addEventListener("focus", (function () {
- clearTimeout(i), document.addEventListener("click", o, !1)
- }));
- var n = function () {
- document.removeEventListener("click", o, !1), e.isApple && document.documentElement.scrollTo(document.documentElement.scrollLeft, document.documentElement.scrollTop)
- };
- t.addEventListener("blur", (function () {
- e.isApple && t.blur(), n()
- }))
- }
- }
- }
- }, "5a56": function (t, e, n) {
- "use strict";
- n.r(e), e["default"] = {
- methods: {
- beforeTransition: function () {
- }, afterTransition: function () {
- }
- }
- }
- }, "5ab3": function (t, e, n) {
- "use strict";
- var i = n("b2bb"), r = n.n(i);
- r.a
- }, "5abe": function (t, e) {
- (function () {
- "use strict";
- if ("object" === typeof window) if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) "isIntersecting" in window.IntersectionObserverEntry.prototype || Object.defineProperty(window.IntersectionObserverEntry.prototype, "isIntersecting", {
- get: function () {
- return this.intersectionRatio > 0
- }
- }); else {
- var t = window.document, e = [];
- i.prototype.THROTTLE_TIMEOUT = 100, i.prototype.POLL_INTERVAL = null, i.prototype.USE_MUTATION_OBSERVER = !0, i.prototype.observe = function (t) {
- var e = this._observationTargets.some((function (e) {
- return e.element == t
- }));
- if (!e) {
- if (!t || 1 != t.nodeType) throw new Error("target must be an Element");
- this._registerInstance(), this._observationTargets.push({
- element: t,
- entry: null
- }), this._monitorIntersections(), this._checkForIntersections()
- }
- }, i.prototype.unobserve = function (t) {
- this._observationTargets = this._observationTargets.filter((function (e) {
- return e.element != t
- })), this._observationTargets.length || (this._unmonitorIntersections(), this._unregisterInstance())
- }, i.prototype.disconnect = function () {
- this._observationTargets = [], this._unmonitorIntersections(), this._unregisterInstance()
- }, i.prototype.takeRecords = function () {
- var t = this._queuedEntries.slice();
- return this._queuedEntries = [], t
- }, i.prototype._initThresholds = function (t) {
- var e = t || [0];
- return Array.isArray(e) || (e = [e]), e.sort().filter((function (t, e, n) {
- if ("number" != typeof t || isNaN(t) || t < 0 || t > 1) throw new Error("threshold must be a number between 0 and 1 inclusively");
- return t !== n[e - 1]
- }))
- }, i.prototype._parseRootMargin = function (t) {
- var e = t || "0px", n = e.split(/\s+/).map((function (t) {
- var e = /^(-?\d*\.?\d+)(px|%)$/.exec(t);
- if (!e) throw new Error("rootMargin must be specified in pixels or percent");
- return {value: parseFloat(e[1]), unit: e[2]}
- }));
- return n[1] = n[1] || n[0], n[2] = n[2] || n[0], n[3] = n[3] || n[1], n
- }, i.prototype._monitorIntersections = function () {
- this._monitoringIntersections || (this._monitoringIntersections = !0, this.POLL_INTERVAL ? this._monitoringInterval = setInterval(this._checkForIntersections, this.POLL_INTERVAL) : (a(window, "resize", this._checkForIntersections, !0), a(t, "scroll", this._checkForIntersections, !0), this.USE_MUTATION_OBSERVER && "MutationObserver" in window && (this._domObserver = new MutationObserver(this._checkForIntersections), this._domObserver.observe(t, {
- attributes: !0,
- childList: !0,
- characterData: !0,
- subtree: !0
- }))))
- }, i.prototype._unmonitorIntersections = function () {
- this._monitoringIntersections && (this._monitoringIntersections = !1, clearInterval(this._monitoringInterval), this._monitoringInterval = null, s(window, "resize", this._checkForIntersections, !0), s(t, "scroll", this._checkForIntersections, !0), this._domObserver && (this._domObserver.disconnect(), this._domObserver = null))
- }, i.prototype._checkForIntersections = function () {
- var t = this._rootIsInDom(), e = t ? this._getRootRect() : l();
- this._observationTargets.forEach((function (i) {
- var o = i.element, a = u(o), s = this._rootContainsTarget(o), c = i.entry,
- l = t && s && this._computeTargetAndRootIntersection(o, e),
- f = i.entry = new n({
- time: r(),
- target: o,
- boundingClientRect: a,
- rootBounds: e,
- intersectionRect: l
- });
- c ? t && s ? this._hasCrossedThreshold(c, f) && this._queuedEntries.push(f) : c && c.isIntersecting && this._queuedEntries.push(f) : this._queuedEntries.push(f)
- }), this), this._queuedEntries.length && this._callback(this.takeRecords(), this)
- }, i.prototype._computeTargetAndRootIntersection = function (e, n) {
- if ("none" != window.getComputedStyle(e).display) {
- var i = u(e), r = i, o = d(e), a = !1;
- while (!a) {
- var s = null, l = 1 == o.nodeType ? window.getComputedStyle(o) : {};
- if ("none" == l.display) return;
- if (o == this.root || o == t ? (a = !0, s = n) : o != t.body && o != t.documentElement && "visible" != l.overflow && (s = u(o)), s && (r = c(s, r), !r)) break;
- o = d(o)
- }
- return r
- }
- }, i.prototype._getRootRect = function () {
- var e;
- if (this.root) e = u(this.root); else {
- var n = t.documentElement, i = t.body;
- e = {
- top: 0,
- left: 0,
- right: n.clientWidth || i.clientWidth,
- width: n.clientWidth || i.clientWidth,
- bottom: n.clientHeight || i.clientHeight,
- height: n.clientHeight || i.clientHeight
- }
- }
- return this._expandRectByRootMargin(e)
- }, i.prototype._expandRectByRootMargin = function (t) {
- var e = this._rootMarginValues.map((function (e, n) {
- return "px" == e.unit ? e.value : e.value * (n % 2 ? t.width : t.height) / 100
- })), n = {
- top: t.top - e[0],
- right: t.right + e[1],
- bottom: t.bottom + e[2],
- left: t.left - e[3]
- };
- return n.width = n.right - n.left, n.height = n.bottom - n.top, n
- }, i.prototype._hasCrossedThreshold = function (t, e) {
- var n = t && t.isIntersecting ? t.intersectionRatio || 0 : -1,
- i = e.isIntersecting ? e.intersectionRatio || 0 : -1;
- if (n !== i) for (var r = 0; r < this.thresholds.length; r++) {
- var o = this.thresholds[r];
- if (o == n || o == i || o < n !== o < i) return !0
- }
- }, i.prototype._rootIsInDom = function () {
- return !this.root || f(t, this.root)
- }, i.prototype._rootContainsTarget = function (e) {
- return f(this.root || t, e)
- }, i.prototype._registerInstance = function () {
- e.indexOf(this) < 0 && e.push(this)
- }, i.prototype._unregisterInstance = function () {
- var t = e.indexOf(this);
- -1 != t && e.splice(t, 1)
- }, window.IntersectionObserver = i, window.IntersectionObserverEntry = n
- }
- function n(t) {
- this.time = t.time, this.target = t.target, this.rootBounds = t.rootBounds, this.boundingClientRect = t.boundingClientRect, this.intersectionRect = t.intersectionRect || l(), this.isIntersecting = !!t.intersectionRect;
- var e = this.boundingClientRect, n = e.width * e.height, i = this.intersectionRect,
- r = i.width * i.height;
- this.intersectionRatio = n ? Number((r / n).toFixed(4)) : this.isIntersecting ? 1 : 0
- }
- function i(t, e) {
- var n = e || {};
- if ("function" != typeof t) throw new Error("callback must be a function");
- if (n.root && 1 != n.root.nodeType) throw new Error("root must be an Element");
- this._checkForIntersections = o(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT), this._callback = t, this._observationTargets = [], this._queuedEntries = [], this._rootMarginValues = this._parseRootMargin(n.rootMargin), this.thresholds = this._initThresholds(n.threshold), this.root = n.root || null, this.rootMargin = this._rootMarginValues.map((function (t) {
- return t.value + t.unit
- })).join(" ")
- }
- function r() {
- return window.performance && performance.now && performance.now()
- }
- function o(t, e) {
- var n = null;
- return function () {
- n || (n = setTimeout((function () {
- t(), n = null
- }), e))
- }
- }
- function a(t, e, n, i) {
- "function" == typeof t.addEventListener ? t.addEventListener(e, n, i || !1) : "function" == typeof t.attachEvent && t.attachEvent("on" + e, n)
- }
- function s(t, e, n, i) {
- "function" == typeof t.removeEventListener ? t.removeEventListener(e, n, i || !1) : "function" == typeof t.detatchEvent && t.detatchEvent("on" + e, n)
- }
- function c(t, e) {
- var n = Math.max(t.top, e.top), i = Math.min(t.bottom, e.bottom),
- r = Math.max(t.left, e.left), o = Math.min(t.right, e.right), a = o - r, s = i - n;
- return a >= 0 && s >= 0 && {top: n, bottom: i, left: r, right: o, width: a, height: s}
- }
- function u(t) {
- var e;
- try {
- e = t.getBoundingClientRect()
- } catch (n) {
- }
- return e ? (e.width && e.height || (e = {
- top: e.top,
- right: e.right,
- bottom: e.bottom,
- left: e.left,
- width: e.right - e.left,
- height: e.bottom - e.top
- }), e) : l()
- }
- function l() {
- return {top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0}
- }
- function f(t, e) {
- var n = e;
- while (n) {
- if (n == t) return !0;
- n = d(n)
- }
- return !1
- }
- function d(t) {
- var e = t.parentNode;
- return e && 11 == e.nodeType && e.host ? e.host : e && e.assignedSlot ? e.assignedSlot.parentNode : e
- }
- })()
- }, "5b9f": function (t, e, n) {
- "use strict";
- var i = n("f2b3");
- e["a"] = {
- props: {
- dashArray: {
- type: Array, default: function () {
- return [0, 0]
- }
- },
- points: {type: Array, required: !0},
- strokeWidth: {type: Number, default: 1},
- strokeColor: {type: String, default: "#000000"},
- fillColor: {type: String, default: "#00000000"},
- zIndex: {type: Number, default: 0}
- }, mounted: function () {
- var t = this, e = this.$parent;
- e.mapReady((function () {
- t.drawPolygon(), Object.keys(t.$props).forEach((function (e) {
- t.$watch(e, (function () {
- t.drawPolygon()
- }), {deep: !0})
- }))
- }))
- }, methods: {
- drawPolygon: function () {
- var t = this.points, e = this.strokeWidth, n = this.strokeColor, r = this.dashArray,
- o = this.fillColor, a = this.zIndex, s = this.$parent, c = s._maps, u = s._map,
- l = t.map((function (t) {
- var e = t.latitude, n = t.longitude;
- return new c.LatLng(e, n)
- })), f = Object(i["j"])(o), d = f.r, h = f.g, p = f.b, v = f.a,
- g = Object(i["j"])(n), m = g.r, b = g.g, y = g.b, _ = g.a, w = {
- clickable: !0,
- cursor: "crosshair",
- editable: !1,
- map: u,
- fillColor: "",
- path: l,
- strokeColor: "",
- strokeDashStyle: r.some((function (t) {
- return t > 0
- })) ? "dash" : "solid",
- strokeWeight: e,
- visible: !0,
- zIndex: a
- };
- c.Color ? (w.fillColor = new c.Color(d, h, p, v), w.strokeColor = new c.Color(m, b, y, _)) : (w.fillColor = "rgb(".concat(d, ", ").concat(h, ", ").concat(p, ")"), w.fillOpacity = v, w.strokeColor = "rgb(".concat(m, ", ").concat(b, ", ").concat(y, ")"), w.strokeOpacity = _), this.polygonIns ? this.polygonIns.setOptions(w) : this.polygonIns = new c.Polygon(w)
- }
- }, beforeDestroy: function () {
- this.polygonIns.setMap(null), this.polygonIns = null
- }, render: function () {
- return null
- }
- }
- }, "5cf8": function (t, e, n) {
- "use strict";
- function i(t, e) {
- for (var n = this.$children, r = n.length, o = arguments.length, a = new Array(o > 2 ? o - 2 : 0), s = 2; s < o; s++) a[s - 2] = arguments[s];
- for (var c = 0; c < r; c++) {
- var u = n[c], l = u.$options.name && u.$options.name.substr(4);
- if (~t.indexOf(l)) return u.$emit.apply(u, [e].concat(a)), !1;
- if (!1 === i.apply(u, [t, e].concat([a]))) return !1
- }
- }
- e["a"] = {
- methods: {
- $dispatch: function (t, e) {
- "string" === typeof t && (t = [t]);
- var n = this.$parent || this.$root, i = n.$options.name && n.$options.name.substr(4);
- while (n && (!i || !~t.indexOf(i))) n = n.$parent, n && (i = n.$options.name && n.$options.name.substr(4));
- if (n) {
- for (var r = arguments.length, o = new Array(r > 2 ? r - 2 : 0), a = 2; a < r; a++) o[a - 2] = arguments[a];
- n.$emit.apply(n, [e].concat(o))
- }
- }, $broadcast: function (t, e) {
- "string" === typeof t && (t = [t]);
- for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++) r[o - 2] = arguments[o];
- i.apply(this, [t, e].concat(r))
- }
- }
- }
- }, "5d1d": function (t, e, n) {
- "use strict";
- var i = n("50c5"), r = n.n(i);
- r.a
- }, "5d70": function (t, e, n) {
- }, "5dc1": function (t, e, n) {
- "use strict";
- (function (t, i) {
- n.d(e, "b", (function () {
- return u
- })), n.d(e, "a", (function () {
- return l
- })), n("5abe");
- var r = n("85b6"), o = n("db8e");
- function a(t) {
- return {
- bottom: t.bottom,
- height: t.height,
- left: t.left,
- right: t.right,
- top: t.top,
- width: t.width
- }
- }
- function s(t) {
- var e = t.intersectionRatio, n = t.boundingClientRect, i = n.height, r = n.width,
- o = t.intersectionRect, a = o.height, s = o.width;
- return 0 !== e ? e : a === i ? s / r : a / i
- }
- var c = {};
- function u(e, n) {
- var u, l = e.reqId, f = e.component, d = e.options;
- if (n._isVue) u = n; else {
- var h = getCurrentPages(), p = h.find((function (t) {
- return t.$page.id === n
- }));
- if (!p) throw new Error("Not Found:Page[".concat(n, "]"));
- u = p.$vm
- }
- var v = Object(o["b"])(f, u),
- g = d.relativeToSelector ? v.querySelector(d.relativeToSelector) : null,
- m = c[l] = new IntersectionObserver((function (e, n) {
- e.forEach((function (e) {
- t.publishHandler("onRequestComponentObserver", {
- reqId: l,
- res: {
- intersectionRatio: s(e),
- intersectionRect: a(e.intersectionRect),
- boundingClientRect: a(e.boundingClientRect),
- relativeRect: a(e.rootBounds),
- time: Date.now(),
- dataset: Object(r["b"])(e.target),
- id: e.target.id
- }
- })
- }))
- }), {root: g, rootMargin: d.rootMargin, threshold: d.thresholds});
- if (d.observeAll) m.USE_MUTATION_OBSERVER = !0, Array.prototype.map.call(v.querySelectorAll(d.selector), (function (t) {
- t ? m.observe(t) : i.warn("Node ".concat(d.selector, " is not found. Intersection observer will not trigger."))
- })); else {
- m.USE_MUTATION_OBSERVER = !1;
- var b = v.querySelector(d.selector);
- if (!b) return void i.warn("Node ".concat(d.selector, " is not found. Intersection observer will not trigger."));
- m.observe(b)
- }
- }
- function l(e) {
- var n = e.reqId, i = c[n];
- i && (i.disconnect(), delete c[n], t.publishHandler("onRequestComponentObserver", {
- reqId: n,
- reqEnd: !0
- }))
- }
- }).call(this, n("501c"), n("3ad9")["default"])
- }, "5dc4": function (t, e, n) {
- }, "5ff9": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "loadFontFace", (function () {
- return i
- }));
- var i = {
- family: {type: String, required: !0},
- source: {type: String, required: !0},
- desc: {type: Object, required: !1},
- success: {type: Function, required: !1},
- fail: {type: Function, required: !1},
- complete: {type: Function, required: !1}
- }
- }, 6062: function (t, e, n) {
- "use strict";
- var i = n("ef36"), r = n.n(i);
- r.a
- }, "60db": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "EditorContext", (function () {
- return u
- }));
- var i = n("f2b3");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(e, n, i, r) {
- t.publishHandler(n + "-editor-" + e, {componentId: e, type: i, data: r}, n)
- }
- t.subscribe("onEditorMethodCallback", (function (t) {
- var e = t.callbackId, n = t.data;
- i["a"].invoke(e, n)
- }));
- var c = ["insertDivider", "insertImage", "insertText", "setContents", "getContents", "clear", "removeFormat", "undo", "redo", "blur", "getSelectionText", "scrollIntoView"],
- u = function () {
- function t(e, n) {
- r(this, t), this.id = e, this.pageId = n
- }
- return a(t, [{
- key: "format", value: function (t, e) {
- s(this.id, this.pageId, "format", {options: {name: t, value: e}})
- }
- }]), t
- }();
- c.forEach((function (t) {
- u.prototype[t] = i["a"].warp((function (e, n) {
- s(this.id, this.pageId, t, {options: e, callbackId: n})
- }))
- }))
- }.call(this, n("0dd1"))
- }, "60ee": function (t, e, n) {
- }, 6150: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-audio", t._g({
- attrs: {
- id: t.id,
- controls: !!t.controls
- }
- }, t.$listeners), [n("audio", {
- ref: "audio",
- staticStyle: {display: "none"},
- attrs: {loop: t.loop}
- }), n("div", {staticClass: "uni-audio-default"}, [n("div", {
- staticClass: "uni-audio-left",
- style: "background-image: url(" + t.$getRealPath(t.poster) + ");"
- }, [n("div", {
- staticClass: "uni-audio-button",
- class: {play: !t.playing, pause: t.playing},
- on: {click: t.trigger}
- })]), n("div", {staticClass: "uni-audio-right"}, [n("div", {staticClass: "uni-audio-time"}, [t._v(" " + t._s(t.currentTime) + " ")]), n("div", {staticClass: "uni-audio-info"}, [n("div", {staticClass: "uni-audio-name"}, [t._v(" " + t._s(t.name) + " ")]), n("div", {staticClass: "uni-audio-author"}, [t._v(" " + t._s(t.author) + " ")])])])])])
- }, r = [], o = n("8af1"), a = {
- name: "Audio",
- mixins: [o["g"]],
- props: {
- id: {type: String, default: ""},
- src: {type: String, default: ""},
- loop: {type: [Boolean, String], default: !1},
- controls: {type: [Boolean, String], default: !1},
- poster: {type: String, default: ""},
- name: {type: String, default: ""},
- author: {type: String, default: ""}
- },
- data: function () {
- return {playing: !1, currentTime: this.getTime(0)}
- },
- watch: {
- src: function (t) {
- this.$refs.audio && (this.$refs.audio.src = this.$getRealPath(t))
- }
- },
- mounted: function () {
- var t = this, e = this.$refs.audio;
- e.addEventListener("error", (function (e) {
- t.playing = !1, t.$trigger("error", e, {})
- })), e.addEventListener("play", (function (e) {
- t.playing = !0, t.$trigger("play", e, {})
- })), e.addEventListener("pause", (function (e) {
- t.playing = !1, t.$trigger("pause", e, {})
- })), e.addEventListener("ended", (function (e) {
- t.playing = !1, t.$trigger("ended", e, {})
- })), e.addEventListener("timeupdate", (function (n) {
- var i = e.currentTime;
- t.currentTime = t.getTime(i);
- var r = e.duration;
- t.$trigger("timeupdate", n, {currentTime: i, duration: r})
- })), e.src = this.$getRealPath(this.src)
- },
- methods: {
- _handleSubscribe: function (t) {
- var e = t.type, n = t.data, i = void 0 === n ? {} : n, r = this.$refs.audio;
- switch (e) {
- case"setSrc":
- r.src = this.$getRealPath(i.src), this.$emit("update:src", i.src);
- break;
- case"play":
- r.play();
- break;
- case"pause":
- r.pause();
- break;
- case"seek":
- r.currentTime = i.position;
- break
- }
- }, trigger: function () {
- this.playing ? this.$refs.audio.pause() : this.$refs.audio.play()
- }, getTime: function (t) {
- var e = Math.floor(t / 3600), n = Math.floor(t % 3600 / 60),
- i = Math.floor(t % 3600 % 60);
- e = (e < 10 ? "0" : "") + e, n = (n < 10 ? "0" : "") + n, i = (i < 10 ? "0" : "") + i;
- var r = n + ":" + i;
- return "00" !== e && (r = e + ":" + r), r
- }
- }
- }, s = a, c = (n("02b5"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "61c2": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return l
- }));
- var i = n("f2b3"), r = n("8af1");
- function o() {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- }
- function a() {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- }
- var s = {
- name: "uni://form-field", init: function (t, e) {
- e.constructor.options.props && e.constructor.options.props.name && e.constructor.options.props.value || (e.constructor.options.props || (e.constructor.options.props = {}), e.constructor.options.props.name || (e.constructor.options.props.name = t.props.name = {type: String}), e.constructor.options.props.value || (e.constructor.options.props.value = t.props.value = {type: null})), t.propsData || (t.propsData = {});
- var n = e.$vnode;
- if (n && n.data && n.data.attrs && (Object(i["i"])(n.data.attrs, "name") && (t.propsData.name = n.data.attrs.name), Object(i["i"])(n.data.attrs, "value") && (t.propsData.value = n.data.attrs.value)), !e.constructor.options.methods || !e.constructor.options.methods._getFormData) {
- e.constructor.options.methods || (e.constructor.options.methods = {}), t.methods || (t.methods = {});
- var s = {
- _getFormData: function () {
- return this.name ? {key: this.name, value: this.value} : {}
- }, _resetFormData: function () {
- this.value = ""
- }
- };
- Object.assign(e.constructor.options.methods, s), Object.assign(t.methods, s), Object.assign(e.constructor.options.methods, r["a"].methods), Object.assign(t.methods, r["a"].methods);
- var c = t.created;
- e.constructor.options.created = t.created = c ? [].concat(o, c) : [o];
- var u = t.beforeDestroy;
- e.constructor.options.beforeDestroy = t.beforeDestroy = u ? [].concat(a, u) : [a]
- }
- }
- };
- function c(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var u = c({}, s.name, s);
- function l(t, e) {
- t.behaviors.forEach((function (n) {
- var i = u[n];
- i && i.init(t, e)
- }))
- }
- }, 6226: function (t, e, n) {
- "use strict";
- var i = n("77d5"), r = n.n(i);
- r.a
- }, "626d": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i = n("f2b3");
- e["default"] = {
- data: function () {
- return {showActionSheet: {visible: !1}}
- }, created: function () {
- var e = this;
- t.on("onShowActionSheet", (function (t, n) {
- e.showActionSheet = t, e.onActionSheetCloseCallback = n
- })), t.on("onHidePopup", (function (t) {
- e.showActionSheet.visible = !1
- }))
- }, methods: {
- _onActionSheetClose: function (t) {
- this.showActionSheet.visible = !1, Object(i["k"])(this.onActionSheetCloseCallback) && this.onActionSheetCloseCallback(t)
- }
- }
- }
- }.call(this, n("0dd1"))
- }, "62b5": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return r
- }));
- var i = {};
- function r(t) {
- var e = i[t];
- return e || (e = {id: 1, callbacks: Object.create(null)}, i[t] = e), {
- get: function (t) {
- return e.callbacks[t]
- }, pop: function (t) {
- var n = e.callbacks[t];
- return n && delete e.callbacks[t], n
- }, push: function (t) {
- var n = e.id++;
- return e.callbacks[n] = t, n
- }
- }
- }
- }, "636c": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return i
- })), n.d(e, "b", (function () {
- return r
- })), n.d(e, "c", (function () {
- return o
- })), n.d(e, "d", (function () {
- return a
- }));
- var i = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",
- o = {QQ: "qq", GOOGLE: "google", UNKNOWN: ""};
- function a() {
- var t = o.UNKNOWN, e = "";
- return __uniConfig.qqMapKey ? (t = o.QQ, e = __uniConfig.qqMapKey) : __uniConfig.googleMapKey && (t = o.GOOGLE, e = __uniConfig.googleMapKey), {
- type: t,
- key: e
- }
- }
- }, 6389: function (e, n) {
- e.exports = t
- }, "639e": function (t, e, n) {
- "use strict";
- var i = n("15ff"), r = n.n(i);
- r.a
- }, 6428: function (t, e, n) {
- "use strict";
- var i = n("f756"), r = n.n(i);
- r.a
- }, 6481: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "base64ToArrayBuffer", (function () {
- return i
- })), n.d(e, "arrayBufferToBase64", (function () {
- return r
- }));
- var i = [{name: "base64", type: String, required: !0}],
- r = [{name: "arrayBuffer", type: [ArrayBuffer, Uint8Array], required: !0}]
- }, 6491: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-radio", t._g({
- attrs: {disabled: t.disabled},
- on: {click: t._onClick}
- }, t.$listeners), [n("div", {staticClass: "uni-radio-wrapper"}, [n("div", {
- staticClass: "uni-radio-input",
- class: t.radioChecked ? "uni-radio-input-checked" : "",
- style: t.radioChecked ? t.checkedStyle : ""
- }), t._t("default")], 2)])
- }, r = [], o = n("8af1"), a = {
- name: "Radio",
- mixins: [o["a"], o["f"]],
- props: {
- checked: {type: [Boolean, String], default: !1},
- id: {type: String, default: ""},
- disabled: {type: [Boolean, String], default: !1},
- color: {type: String, default: "#007AFF"},
- value: {type: String, default: ""}
- },
- data: function () {
- return {radioChecked: this.checked, radioValue: this.value}
- },
- computed: {
- checkedStyle: function () {
- return "background-color: ".concat(this.color, ";border-color: ").concat(this.color, ";")
- }
- },
- watch: {
- checked: function (t) {
- this.radioChecked = t
- }, value: function (t) {
- this.radioValue = t
- }
- },
- listeners: {"label-click": "_onClick", "@label-click": "_onClick"},
- created: function () {
- this.$dispatch("RadioGroup", "uni-radio-group-update", {
- type: "add",
- vm: this
- }), this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("RadioGroup", "uni-radio-group-update", {
- type: "remove",
- vm: this
- }), this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _onClick: function (t) {
- this.disabled || this.radioChecked || (this.radioChecked = !0, this.$dispatch("RadioGroup", "uni-radio-change", t, this))
- }, _resetFormData: function () {
- this.radioChecked = this.min
- }
- }
- }, s = a, c = (n("c96e"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "64d0": function (t, e, n) {
- "use strict";
- var i = n("c0e5"), r = n.n(i);
- r.a
- }, 6575: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e, n) {
- var i = e.latitude, r = e.longitude, o = e.scale, a = e.name, s = e.address, c = t,
- u = c.invokeCallbackHandler;
- getApp().$router.push({
- type: "navigateTo",
- path: "/open-location",
- query: {latitude: i, longitude: r, scale: o, name: a, address: s}
- }, (function () {
- u(n, {errMsg: "openLocation:ok"})
- }), (function () {
- u(n, {errMsg: "openLocation:fail"})
- }))
- }
- n.d(e, "openLocation", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, "65a8": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return i
- })), n.d(e, "c", (function () {
- return r
- })), n.d(e, "b", (function () {
- return o
- })), n.d(e, "d", (function () {
- return a
- }));
- var i = 44, r = 50, o = 768, a = "UNI_LOCALE"
- }, 6730: function (t, e, n) {
- "use strict";
- var i = n("00b2"), r = n.n(i);
- r.a
- }, "68fb": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "createMediaQueryObserver", (function () {
- return f
- }));
- var i = n("62b5"), r = n("db70"), o = n("1634");
- function a(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function s(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function c(t, e, n) {
- return e && s(t.prototype, e), n && s(t, n), t
- }
- var u = Object(i["a"])("requestMediaQueryObserver"), l = function () {
- function e(t, n) {
- a(this, e), this.pageId = t.$page && t.$page.id, this.component = t._$id || t, this.options = n
- }
- return c(e, [{
- key: "observe", value: function (e, n) {
- "function" === typeof n && (this.options = e, this.reqId = u.push(n), t.publishHandler("requestMediaQueryObserver", {
- reqId: this.reqId,
- component: this.component,
- options: this.options
- }, Object(o["a"])(this.component) ? this.component : this.pageId))
- }
- }, {
- key: "disconnect", value: function () {
- t.publishHandler("destroyMediaQueryObserver", {reqId: this.reqId}, Object(o["a"])(this.component) ? this.component : this.pageId)
- }
- }]), e
- }();
- function f(t, e) {
- return t._isVue || (e = t, t = null), new l(t || Object(r["b"])("createMediaQueryObserver"), e)
- }
- }.call(this, n("0dd1"))
- }, "69c3": function (t, e, n) {
- }, "6bdf": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return u
- }));
- var i = n("85b6"), r = n("a470"), o = n("db8e");
- function a(t) {
- var e = {};
- if (t.id && (e.id = ""), t.dataset && (e.dataset = {}), t.rect && (e.left = 0, e.right = 0, e.top = 0, e.bottom = 0), t.size && (e.width = document.documentElement.clientWidth, e.height = document.documentElement.clientHeight), t.scrollOffset) {
- var n = document.documentElement, i = document.body;
- e.scrollLeft = n.scrollLeft || i.scrollLeft || 0, e.scrollTop = n.scrollTop || i.scrollTop || 0, e.scrollHeight = n.scrollHeight || i.scrollHeight || 0, e.scrollWidth = n.scrollWidth || i.scrollWidth || 0
- }
- return e
- }
- function s(t, e) {
- var n = {}, o = Object(r["a"])(), a = o.top;
- if (e.id && (n.id = t.id), e.dataset && (n.dataset = Object(i["b"])(t)), e.rect || e.size) {
- var s = t.getBoundingClientRect();
- e.rect && (n.left = s.left, n.right = s.right, n.top = s.top - a, n.bottom = s.bottom - a), e.size && (n.width = s.width, n.height = s.height)
- }
- if (Array.isArray(e.properties) && e.properties.forEach((function (t) {
- t = t.replace(/-([a-z])/g, (function (t, e) {
- return e.toUpperCase()
- }))
- })), e.scrollOffset && ("UNI-SCROLL-VIEW" === t.tagName && t.__vue__ && t.__vue__.getScrollPosition ? Object.assign(n, t.__vue__.getScrollPosition()) : (n.scrollLeft = 0, n.scrollTop = 0, n.scrollHeight = 0, n.scrollWidth = 0)), Array.isArray(e.computedStyle)) {
- var c = getComputedStyle(t);
- e.computedStyle.forEach((function (t) {
- n[t] = c[t]
- }))
- }
- return e.context && t.__vue__ && t.__vue__._getContextInfo && (n.context = t.__vue__._getContextInfo()), n
- }
- function c(t, e, n, i, r) {
- var a = Object(o["a"])(Object(o["b"])(e, t));
- if (!a || a && 8 === a.nodeType) return i ? null : [];
- if (i) {
- var c = a.matches(n) ? a : a.querySelector(n);
- return c ? s(c, r) : null
- }
- var u = [], l = a.querySelectorAll(n);
- return l && l.length && (u = [].map.call(l, (function (t) {
- return s(t, r)
- }))), a.matches(n) && u.unshift(s(a, r)), u
- }
- function u(e, n) {
- var i, r = e.reqId, o = e.reqs;
- if (n._isVue) i = n; else {
- var s = getCurrentPages(), u = s.find((function (t) {
- return t.$page.id === n
- }));
- if (!u) throw new Error("Not Found:Page[".concat(n, "]"));
- i = u.$vm
- }
- var l = [];
- o.forEach((function (t) {
- var e = t.component, n = t.selector, r = t.single, o = t.fields;
- 0 === e ? l.push(a(o)) : l.push(c(i, e, n, r, o))
- })), t.publishHandler("onRequestComponentInfo", {reqId: r, res: l})
- }
- }).call(this, n("501c"))
- }, "6e0c": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "$on", (function () {
- return s
- })), n.d(e, "$off", (function () {
- return c
- })), n.d(e, "$once", (function () {
- return u
- })), n.d(e, "$emit", (function () {
- return l
- }));
- var i = n("8bbf"), r = n.n(i), o = new r.a;
- function a(t, e, n) {
- return t[e].apply(t, n)
- }
- function s() {
- return a(o, "$on", Array.prototype.slice.call(arguments))
- }
- function c() {
- return a(o, "$off", Array.prototype.slice.call(arguments))
- }
- function u() {
- return a(o, "$once", Array.prototype.slice.call(arguments))
- }
- function l() {
- return a(o, "$emit", Array.prototype.slice.call(arguments))
- }
- }, "6fa7": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-picker", t._g({
- attrs: {disabled: t.disabled},
- on: {click: t._show}
- }, t.$listeners), [n("div", {
- ref: "picker",
- staticClass: "uni-picker-container",
- class: "uni-" + t.mode + "-" + t.selectorTypeComputed,
- on: {
- wheel: function (t) {
- t.preventDefault()
- }, touchmove: function (t) {
- t.preventDefault()
- }
- }
- }, [n("transition", {attrs: {name: "uni-fade"}}, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.visible,
- expression: "visible"
- }],
- staticClass: "uni-mask uni-picker-mask",
- on: {click: t._cancel, mousemove: t._fixInputPosition}
- })]), t.system ? t._e() : n("div", {
- staticClass: "uni-picker-custom",
- class: {"uni-picker-toggle": t.visible},
- style: t.popupStyle.content
- }, [n("div", {
- staticClass: "uni-picker-header", on: {
- click: function (t) {
- t.stopPropagation()
- }
- }
- }, [n("div", {
- staticClass: "uni-picker-action uni-picker-action-cancel",
- on: {click: t._cancel}
- }, [t._v(" " + t._s(t.$$t("uni.picker.cancel")) + " ")]), n("div", {
- staticClass: "uni-picker-action uni-picker-action-confirm",
- on: {click: t._change}
- }, [t._v(" " + t._s(t.$$t("uni.picker.done")) + " ")])]), t.contentVisible ? n("v-uni-picker-view", {
- staticClass: "uni-picker-content",
- attrs: {value: t._l10nColumn(t.valueArray)},
- on: {change: t._pickerViewChange}
- }, t._l(t._l10nColumn(t.rangeArray), (function (e, i) {
- return n("v-uni-picker-view-column", {key: i}, t._l(e, (function (e, r) {
- return n("div", {
- key: r,
- staticClass: "uni-picker-item"
- }, [t._v(" " + t._s("object" === typeof e ? e[t.rangeKey] || "" : t._l10nItem(e, i)) + " ")])
- })), 0)
- })), 1) : t._e(), n("div", {
- ref: "select",
- staticClass: "uni-picker-select",
- on: {
- wheel: function (t) {
- t.stopPropagation()
- }, touchmove: function (t) {
- t.stopPropagation()
- }
- }
- }, t._l(t.rangeArray[0], (function (e, i) {
- return n("div", {
- key: i,
- staticClass: "uni-picker-item",
- class: {selected: t.valueArray[0] === i},
- on: {
- click: function (e) {
- t.valueArray[0] = i, t._change()
- }
- }
- }, [t._v(" " + t._s("object" === typeof e ? e[t.rangeKey] || "" : e) + " ")])
- })), 0), n("div", {style: t.popupStyle.triangle})], 1)], 1), n("div", [t._t("default")], 2), t.system ? n("div", {
- staticClass: "uni-picker-system",
- on: {mousemove: t._fixInputPosition}
- }, [n("input", {
- ref: "input",
- class: [t.system, t.popupStyle.dock],
- attrs: {type: t.mode, tabindex: "-1", min: t.start, max: t.end},
- domProps: {value: t.valueSync},
- on: {
- change: function (e) {
- return e.stopPropagation(), t._input(e)
- }
- }
- })]) : t._e(), n("keypress", {
- attrs: {disable: !t.visible},
- on: {esc: t._cancel, enter: t._change}
- })], 1)
- }, r = [], o = n("8af1"), a = n("f2b3"), s = n("4ccd"), c = n("da71"), u = n("a6b0");
- function l(t) {
- return p(t) || h(t) || d(t) || f()
- }
- function f() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function d(t, e) {
- if (t) {
- if ("string" === typeof t) return v(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? v(t, e) : void 0
- }
- }
- function h(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function p(t) {
- if (Array.isArray(t)) return v(t)
- }
- function v(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function g() {
- if (this.mode === b.TIME) return "00:00";
- if (this.mode === b.DATE) {
- var t = (new Date).getFullYear() - 100;
- switch (this.fields) {
- case y.YEAR:
- return t.toString();
- case y.MONTH:
- return t + "-01";
- default:
- return t + "-01-01"
- }
- }
- return ""
- }
- function m() {
- if (this.mode === b.TIME) return "23:59";
- if (this.mode === b.DATE) {
- var t = (new Date).getFullYear() + 100;
- switch (this.fields) {
- case y.YEAR:
- return t.toString();
- case y.MONTH:
- return t + "-12";
- default:
- return t + "-12-31"
- }
- }
- return ""
- }
- var b = {SELECTOR: "selector", MULTISELECTOR: "multiSelector", TIME: "time", DATE: "date"},
- y = {YEAR: "year", MONTH: "month", DAY: "day"}, _ = {PICKER: "picker", SELECT: "select"}, w = {
- name: "Picker",
- components: {keypress: c["a"]},
- mixins: [u["c"], o["a"], s["default"]],
- props: {
- name: {type: String, default: ""},
- range: {
- type: Array, default: function () {
- return []
- }
- },
- rangeKey: {type: String, default: ""},
- value: {type: [Number, String, Array], default: 0},
- mode: {
- type: String, default: b.SELECTOR, validator: function (t) {
- return Object.values(b).includes(t)
- }
- },
- fields: {type: String, default: ""},
- start: {type: String, default: g},
- end: {type: String, default: m},
- disabled: {type: [Boolean, String], default: !1},
- selectorType: {type: String, default: ""}
- },
- data: function () {
- return {
- valueSync: null,
- visible: !1,
- contentVisible: !1,
- popover: null,
- valueChangeSource: "",
- timeArray: [],
- dateArray: [],
- valueArray: [],
- oldValueArray: []
- }
- },
- computed: {
- rangeArray: function () {
- var t = this.range;
- switch (this.mode) {
- case b.SELECTOR:
- return [t];
- case b.MULTISELECTOR:
- return t;
- case b.TIME:
- return this.timeArray;
- case b.DATE:
- var e = this.dateArray;
- switch (this.fields) {
- case y.YEAR:
- return [e[0]];
- case y.MONTH:
- return [e[0], e[1]];
- default:
- return [e[0], e[1], e[2]]
- }
- }
- return []
- }, startArray: function () {
- return this._getDateValueArray(this.start, g.bind(this)())
- }, endArray: function () {
- return this._getDateValueArray(this.end, m.bind(this)())
- }, selectorTypeComputed: function () {
- var t = this.selectorType;
- return Object.values(_).includes(t) ? t : 0 === String(navigator.vendor).indexOf("Apple") && navigator.maxTouchPoints > 0 ? _.PICKER : _.SELECT
- }, system: function () {
- if (this.mode === b.DATE && !Object.values(y).includes(this.fields) && this.isDesktop && /win|mac/i.test(navigator.platform)) {
- if ("Google Inc." === navigator.vendor) return "chrome";
- if (/Firefox/.test(navigator.userAgent)) return "firefox"
- }
- return ""
- }
- },
- watch: {
- visible: function (t) {
- var e = this;
- t ? (clearTimeout(this.__contentVisibleDelay), this.contentVisible = t, this._select()) : this.__contentVisibleDelay = setTimeout((function () {
- e.contentVisible = t
- }), 300)
- }, value: function () {
- this._setValueSync()
- }, mode: function () {
- this._setValueSync()
- }, range: function () {
- this._setValueSync()
- }, valueSync: function () {
- this._setValueArray()
- }, valueArray: function (t) {
- var e = this;
- if (this.mode === b.TIME || this.mode === b.DATE) {
- var n = this.mode === b.TIME ? this._getTimeValue : this._getDateValue,
- i = this.valueArray, r = this.startArray, o = this.endArray;
- if (this.mode === b.DATE) {
- var a = this.dateArray, s = a[2].length, c = Number(a[2][i[2]]) || 1,
- u = new Date("".concat(a[0][i[0]], "/").concat(a[1][i[1]], "/").concat(c)).getDate();
- u < c && (i[2] -= u + s - c)
- }
- n(i) < n(r) ? this._cloneArray(i, r) : n(i) > n(o) && this._cloneArray(i, o)
- }
- t.forEach((function (t, n) {
- t !== e.oldValueArray[n] && (e.oldValueArray[n] = t, e.mode === b.MULTISELECTOR && e.$trigger("columnchange", {}, {
- column: n,
- value: t
- }))
- }))
- }
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {
- type: "add",
- vm: this
- }), this._createTime(), this._createDate(), this._setValueSync()
- },
- beforeDestroy: function () {
- this.$refs.picker.remove(), this.$dispatch("Form", "uni-form-group-update", {
- type: "remove",
- vm: this
- })
- },
- methods: {
- _show: function (t) {
- var e = this;
- if (!this.disabled) {
- this.valueChangeSource = "";
- var n = this.$refs.picker;
- n.remove(), (document.querySelector("uni-app") || document.body).appendChild(n), n.style.display = "block";
- var i = t.currentTarget.getBoundingClientRect();
- this.popover = {
- top: i.top,
- left: i.left,
- width: i.width,
- height: i.height
- }, setTimeout((function () {
- e.visible = !0
- }), 20)
- }
- }, _getFormData: function () {
- return {value: this.valueSync, key: this.name}
- }, _resetFormData: function () {
- switch (this.mode) {
- case b.SELECTOR:
- this.valueSync = 0;
- break;
- case b.MULTISELECTOR:
- this.valueSync = this.value.map((function (t) {
- return 0
- }));
- break;
- case b.DATE:
- case b.TIME:
- this.valueSync = "";
- break;
- default:
- break
- }
- }, _createTime: function () {
- var t = [], e = [];
- t.splice(0, t.length);
- for (var n = 0; n < 24; n++) t.push((n < 10 ? "0" : "") + n);
- e.splice(0, e.length);
- for (var i = 0; i < 60; i++) e.push((i < 10 ? "0" : "") + i);
- this.timeArray.push(t, e)
- }, _createDate: function () {
- for (var t = [], e = (new Date).getFullYear(), n = e - 150, i = e + 150; n <= i; n++) t.push(String(n));
- for (var r = [], o = 1; o <= 12; o++) r.push((o < 10 ? "0" : "") + o);
- for (var a = [], s = 1; s <= 31; s++) a.push((s < 10 ? "0" : "") + s);
- this.dateArray.push(t, r, a)
- }, _getTimeValue: function (t) {
- return 60 * t[0] + t[1]
- }, _getDateValue: function (t) {
- var e = 31;
- return t[0] * e * 12 + (t[1] || 0) * e + (t[2] || 0)
- }, _cloneArray: function (t, e) {
- for (var n = 0; n < t.length && n < e.length; n++) t[n] = e[n]
- }, _setValueSync: function () {
- var t = this.value;
- switch (this.mode) {
- case b.MULTISELECTOR:
- Array.isArray(t) || (t = this.valueArray), Array.isArray(this.valueSync) || (this.valueSync = []);
- for (var e = this.valueSync.length = Math.max(t.length, this.range.length), n = 0; n < e; n++) {
- var i = Number(t[n]), r = Number(this.valueSync[n]),
- o = isNaN(i) ? isNaN(r) ? 0 : r : i,
- a = this.range[n] ? this.range[n].length - 1 : 0;
- this.valueSync.splice(n, 1, o < 0 || o > a ? 0 : o)
- }
- break;
- case b.TIME:
- case b.DATE:
- this.valueSync = String(t);
- break;
- default:
- var s = Number(t);
- this.valueSync = s < 0 ? 0 : s;
- break
- }
- }, _setValueArray: function () {
- var t, e = this.valueSync;
- switch (this.mode) {
- case b.MULTISELECTOR:
- t = l(e);
- break;
- case b.TIME:
- t = this._getDateValueArray(e, Object(a["g"])({mode: b.TIME}));
- break;
- case b.DATE:
- t = this._getDateValueArray(e, Object(a["g"])({mode: b.DATE}));
- break;
- default:
- t = [e];
- break
- }
- this.oldValueArray = l(t), this.valueArray = l(t)
- }, _getValue: function () {
- var t = this, e = this.valueArray;
- switch (this.mode) {
- case b.SELECTOR:
- return e[0];
- case b.MULTISELECTOR:
- return e.map((function (t) {
- return t
- }));
- case b.TIME:
- return this.valueArray.map((function (e, n) {
- return t.timeArray[n][e]
- })).join(":");
- case b.DATE:
- return this.valueArray.map((function (e, n) {
- return t.dateArray[n][e]
- })).join("-")
- }
- }, _getDateValueArray: function (t, e) {
- var n, i = this.mode === b.DATE ? "-" : ":",
- r = this.mode === b.DATE ? this.dateArray : this.timeArray;
- if (this.mode === b.TIME) n = 2; else switch (this.fields) {
- case y.YEAR:
- n = 1;
- break;
- case y.MONTH:
- n = 2;
- break;
- default:
- n = 3;
- break
- }
- for (var o = String(t).split(i), a = [], s = 0; s < n; s++) {
- var c = o[s];
- a.push(r[s].indexOf(c))
- }
- return a.indexOf(-1) >= 0 && (a = e ? this._getDateValueArray(e) : a.map((function () {
- return 0
- }))), a
- }, _change: function () {
- this._close(), this.valueChangeSource = "click";
- var t = this._getValue();
- this.valueSync = Array.isArray(t) ? t.map((function (t) {
- return t
- })) : t, this.$trigger("change", {}, {value: t})
- }, _cancel: function (t) {
- if ("firefox" === this.system) {
- var e = this.popover, n = e.top, i = e.left, r = e.width, o = e.height, a = t.pageX,
- s = t.pageY;
- if (a > i && a < i + r && s > n && s < n + o) return
- }
- this._close(), this.$trigger("cancel", {}, {})
- }, _close: function () {
- var t = this;
- this.visible = !1, setTimeout((function () {
- var e = t.$refs.picker;
- e.remove(), t.$el.prepend(e), e.style.display = "none"
- }), 260)
- }, _select: function () {
- this.mode === b.SELECTOR && this.selectorTypeComputed === _.SELECT && (this.$refs.select.scrollTop = 34 * this.valueArray[0])
- }, _input: function (t) {
- var e = this;
- this.valueSync = t.target.value, this.$nextTick((function () {
- e._change()
- }))
- }, _fixInputPosition: function (t) {
- if ("chrome" === this.system) {
- var e = this.$el.getBoundingClientRect(), n = this.$refs.input.style, i = 32;
- n.left = "".concat(t.clientX - e.left - 1.5 * i, "px"), n.top = "".concat(t.clientY - e.top - .5 * i, "px")
- }
- }, _pickerViewChange: function (t) {
- this.valueArray = this._l10nColumn(t.detail.value, !0)
- }, _l10nColumn: function (t, e) {
- if (this.mode === b.DATE) {
- var n = Object(u["a"])();
- if (!n.startsWith("zh")) switch (this.fields) {
- case y.YEAR:
- return t;
- case y.MONTH:
- return [t[1], t[0]];
- default:
- switch (n) {
- case"es":
- case"fr":
- return [t[2], t[1], t[0]];
- default:
- return e ? [t[2], t[0], t[1]] : [t[1], t[2], t[0]]
- }
- }
- }
- return t
- }, _l10nItem: function (t, e) {
- if (this.mode === b.DATE) {
- var n = Object(u["a"])();
- if (n.startsWith("zh")) {
- var i = ["年", "月", "日"];
- return t + i[e]
- }
- if (this.fields !== y.YEAR && e === (this.fields === y.MONTH || "es" !== n && "fr" !== n ? 0 : 1)) {
- var r;
- switch (n) {
- case"es":
- r = ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"];
- break;
- case"fr":
- r = ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"];
- break;
- default:
- r = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
- break
- }
- return r[Number(t) - 1]
- }
- }
- return t
- }
- }
- }, k = w, S = (n("2d89"), n("2877")), x = Object(S["a"])(k, i, r, !1, null, null, null);
- e["default"] = x.exports
- }, "70bb": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "openLocation", (function () {
- return i
- }));
- var i = {
- latitude: {type: Number, required: !0},
- longitude: {type: Number, required: !0},
- scale: {
- type: Number, validator: function (t, e) {
- t = Math.floor(t), e.scale = t >= 5 && t <= 18 ? t : 18
- }, default: 18
- },
- name: {type: String},
- address: {type: String}
- }
- }, "70f4": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-label", t._g({
- class: {"uni-label-pointer": t.pointer},
- on: {click: t._onClick}
- }, t.$listeners), [t._t("default")], 2)
- }, r = [], o = n("f2ce"), a = o["a"], s = (n("6730"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, 7107: function (t, e, n) {
- "use strict";
- (function (t) {
- function i(e) {
- var n = e.options, i = e.callbackId, r = n.family, o = n.source, a = n.desc,
- s = void 0 === a ? {} : a, c = document.fonts;
- if (c) {
- var u = new FontFace(r, o, s);
- u.load().then((function () {
- c.add(u), t.publishHandler("onLoadFontFaceCallback", {
- callbackId: i,
- data: {errMsg: "loadFontFace:ok"}
- })
- })).catch((function (e) {
- t.publishHandler("onLoadFontFaceCallback", {
- callbackId: i,
- data: {errMsg: "loadFontFace:fail ".concat(e)}
- })
- }))
- } else {
- var l = document.createElement("style");
- l.innerText = '@font-face{font-family:"'.concat(r, '";src:').concat(o, ";font-style:").concat(s.style, ";font-weight:").concat(s.weight, ";font-stretch:").concat(s.stretch, ";unicode-range:").concat(s.unicodeRange, ";font-variant:").concat(s.variant, ";font-feature-settings:").concat(s.featureSettings, ";}"), document.head.appendChild(l), t.publishHandler("onLoadFontFaceCallback", {
- callbackId: i,
- data: {errMsg: "loadFontFace:ok"}
- })
- }
- }
- n.d(e, "a", (function () {
- return i
- }))
- }).call(this, n("501c"))
- }, "72ad": function (t, e, n) {
- }, "72b3": function (t, e, n) {
- "use strict";
- function i(t, e, n) {
- return t > e - n && t < e + n
- }
- function r(t, e) {
- return i(t, 0, e)
- }
- function o(t, e, n) {
- this._m = t, this._k = e, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0
- }
- n.d(e, "a", (function () {
- return o
- })), o.prototype._solve = function (t, e) {
- var n = this._c, i = this._m, r = this._k, o = n * n - 4 * i * r;
- if (0 === o) {
- var a = -n / (2 * i), s = t, c = e / (a * t);
- return {
- x: function (t) {
- return (s + c * t) * Math.pow(Math.E, a * t)
- }, dx: function (t) {
- var e = Math.pow(Math.E, a * t);
- return a * (s + c * t) * e + c * e
- }
- }
- }
- if (o > 0) {
- var u = (-n - Math.sqrt(o)) / (2 * i), l = (-n + Math.sqrt(o)) / (2 * i),
- f = (e - u * t) / (l - u), d = t - f;
- return {
- x: function (t) {
- var e, n;
- return t === this._t && (e = this._powER1T, n = this._powER2T), this._t = t, e || (e = this._powER1T = Math.pow(Math.E, u * t)), n || (n = this._powER2T = Math.pow(Math.E, l * t)), d * e + f * n
- }, dx: function (t) {
- var e, n;
- return t === this._t && (e = this._powER1T, n = this._powER2T), this._t = t, e || (e = this._powER1T = Math.pow(Math.E, u * t)), n || (n = this._powER2T = Math.pow(Math.E, l * t)), d * u * e + f * l * n
- }
- }
- }
- var h = Math.sqrt(4 * i * r - n * n) / (2 * i), p = -n / 2 * i, v = t, g = (e - p * t) / h;
- return {
- x: function (t) {
- return Math.pow(Math.E, p * t) * (v * Math.cos(h * t) + g * Math.sin(h * t))
- }, dx: function (t) {
- var e = Math.pow(Math.E, p * t), n = Math.cos(h * t), i = Math.sin(h * t);
- return e * (g * h * n - v * h * i) + p * e * (g * i + v * n)
- }
- }
- }, o.prototype.x = function (t) {
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._endPosition + this._solution.x(t) : 0
- }, o.prototype.dx = function (t) {
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._solution.dx(t) : 0
- }, o.prototype.setEnd = function (t, e, n) {
- if (n || (n = (new Date).getTime()), t !== this._endPosition || !r(e, .4)) {
- e = e || 0;
- var i = this._endPosition;
- this._solution && (r(e, .4) && (e = this._solution.dx((n - this._startTime) / 1e3)), i = this._solution.x((n - this._startTime) / 1e3), r(e, .4) && (e = 0), r(i, .4) && (i = 0), i += this._endPosition), this._solution && r(i - t, .4) && r(e, .4) || (this._endPosition = t, this._solution = this._solve(i - this._endPosition, e), this._startTime = n)
- }
- }, o.prototype.snap = function (t) {
- this._startTime = (new Date).getTime(), this._endPosition = t, this._solution = {
- x: function () {
- return 0
- }, dx: function () {
- return 0
- }
- }
- }, o.prototype.done = function (t) {
- return t || (t = (new Date).getTime()), i(this.x(), this._endPosition, .4) && r(this.dx(), .4)
- }, o.prototype.reconfigure = function (t, e, n) {
- this._m = t, this._k = e, this._c = n, this.done() || (this._solution = this._solve(this.x() - this._endPosition, this.dx()), this._startTime = (new Date).getTime())
- }, o.prototype.springConstant = function () {
- return this._k
- }, o.prototype.damping = function () {
- return this._c
- }, o.prototype.configuration = function () {
- function t(t, e) {
- t.reconfigure(1, e, t.damping())
- }
- function e(t, e) {
- t.reconfigure(1, t.springConstant(), e)
- }
- return [{
- label: "Spring Constant",
- read: this.springConstant.bind(this),
- write: t.bind(this, this),
- min: 100,
- max: 1e3
- }, {
- label: "Damping",
- read: this.damping.bind(this),
- write: e.bind(this, this),
- min: 1,
- max: 500
- }]
- }
- }, "738e": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("8af1"), r = n("f2b3"), o = n("31c6"), a = n("453f"), s = n("5b9f"), c = n("636c");
- function u(t) {
- return "getLat" in t ? t.getLat() : t.lat()
- }
- function l(t) {
- return "getLng" in t ? t.getLng() : t.lng()
- }
- e["a"] = {
- name: "Map",
- components: {mapMarker: a["a"], mapPolygon: s["a"]},
- mixins: [i["g"]],
- props: {
- id: {type: String, default: ""},
- latitude: {type: [String, Number], default: 39.92},
- longitude: {type: [String, Number], default: 116.46},
- scale: {type: [String, Number], default: 16},
- markers: {
- type: Array, default: function () {
- return []
- }
- },
- covers: {
- type: Array, default: function () {
- return []
- }
- },
- includePoints: {
- type: Array, default: function () {
- return []
- }
- },
- polyline: {
- type: Array, default: function () {
- return []
- }
- },
- circles: {
- type: Array, default: function () {
- return []
- }
- },
- controls: {
- type: Array, default: function () {
- return []
- }
- },
- showLocation: {type: [Boolean, String], default: !1},
- libraries: {
- type: Array, default: function () {
- return []
- }
- },
- polygons: {
- type: Array, default: function () {
- return []
- }
- }
- },
- data: function () {
- return {
- center: {latitude: 116.46, longitude: 116.46},
- isMapReady: !1,
- isBoundsReady: !1,
- polylineSync: [],
- circlesSync: [],
- controlsSync: []
- }
- },
- watch: {
- latitude: function () {
- this.centerChange()
- }, longitude: function () {
- this.centerChange()
- }, scale: function (t) {
- var e = this;
- this.mapReady((function () {
- e._map.setZoom(Number(t) || 16)
- }))
- }, polyline: function (t) {
- var e = this;
- this.mapReady((function () {
- e.createPolyline()
- }))
- }, circles: function () {
- var t = this;
- this.mapReady((function () {
- t.createCircles()
- }))
- }, controls: function () {
- var t = this;
- this.mapReady((function () {
- t.createControls()
- }))
- }, includePoints: function () {
- var t = this;
- this.mapReady((function () {
- t.fitBounds(t.includePoints)
- }))
- }, showLocation: function (t) {
- var e = this;
- this.mapReady((function () {
- e[t ? "createLocation" : "removeLocation"]()
- }))
- }
- },
- created: function () {
- this._markers = {};
- var t = this.latitude, e = this.longitude;
- t && e && (this.center.latitude = t, this.center.longitude = e)
- },
- mounted: function () {
- var t = this;
- Object(o["a"])(this.libraries, (function (e) {
- t._maps = e, t.init()
- }))
- },
- beforeDestroy: function () {
- this.removePolyline(), this.removeCircles(), this.removeControls(), this.removeLocation()
- },
- methods: {
- _handleSubscribe: function (t) {
- var e = this, n = t.type, i = t.data, r = void 0 === i ? {} : i, o = this._maps;
- function a(t, e) {
- t = t || {}, t.errMsg = "".concat(n, ":").concat(e ? "fail" + e : "ok");
- var i = e ? r.fail : r.success;
- "function" === typeof i && i(t), "function" === typeof r.complete && r.complete(t)
- }
- switch (n) {
- case"getCenterLocation":
- this.mapReady((function () {
- var t, n, i = e._map.getCenter();
- t = u(i), n = l(i), a({latitude: t, longitude: n})
- }));
- break;
- case"moveToLocation":
- var s = r.latitude, c = r.longitude,
- f = s && c ? new o.LatLng(s, c) : this._locationPosition;
- f && (this._map.setCenter(f), a({}));
- break;
- case"translateMarker":
- this.mapReady((function () {
- try {
- var t = e.getMarker(r.markerId), n = r.destination, i = r.duration,
- s = !!r.autoRotate, c = Number(r.rotate) ? r.rotate : 0, u = 0;
- "getRotation" in t && (u = t.getRotation());
- var l = t.getPosition(), f = new o.LatLng(n.latitude, n.longitude),
- d = o.geometry.spherical.computeDistanceBetween(l, f) / 1e3,
- h = ("number" === typeof i ? i : 1e3) / 36e5, p = d / h,
- v = o.event.addListener(t, "moving", (function (e) {
- var n = e.latLng, i = t.label;
- i && i.setPosition(n);
- var r = t.callout;
- r && r.setPosition(n)
- })), g = o.event.addListener(t, "moveend", (function (e) {
- g.remove(), v.remove(), t.lastPosition = l, t.setPosition(f);
- var n = t.label;
- n && n.setPosition(f);
- var i = t.callout;
- i && i.setPosition(f);
- var o = r.animationEnd;
- "function" === typeof o && o()
- })), m = 0;
- s && (t.lastPosition && (m = o.geometry.spherical.computeHeading(t.lastPosition, l)), c = o.geometry.spherical.computeHeading(l, f) - m), "setRotation" in t && t.setRotation(u + c), "moveTo" in t ? t.moveTo(f, p) : (t.setPosition(f), o.event.trigger(t, "moveend", {}))
- } catch (b) {
- a(null, b)
- }
- }));
- break;
- case"includePoints":
- this.fitBounds(r.points);
- break;
- case"getRegion":
- this.boundsReady((function () {
- var t = e._map.getBounds(), n = t.getSouthWest(), i = t.getNorthEast();
- a({
- southwest: {latitude: u(n), longitude: l(n)},
- northeast: {latitude: u(i), longitude: l(i)}
- })
- }));
- break;
- case"getScale":
- this.mapReady((function () {
- a({scale: e._map.getZoom()})
- }));
- break
- }
- }, init: function () {
- var t = this, e = this._maps,
- n = new e.LatLng(this.center.latitude, this.center.longitude),
- i = this._map = new e.Map(this.$refs.map, {
- center: n,
- zoom: Number(this.scale),
- disableDoubleClickZoom: !0,
- mapTypeControl: !1,
- zoomControl: !1,
- scaleControl: !1,
- panControl: !1,
- fullscreenControl: !1,
- streetViewControl: !1,
- keyboardShortcuts: !1,
- minZoom: 5,
- maxZoom: 18,
- draggable: !0
- }), r = e.event.addListener(i, "bounds_changed", (function (e) {
- r.remove(), t.isBoundsReady = !0, t.$emit("boundsready")
- }));
- function o() {
- var t = i.getCenter();
- return {scale: i.getZoom(), centerLocation: {latitude: u(t), longitude: l(t)}}
- }
- e.event.addListener(i, "click", (function () {
- t.$trigger("click", {}, {})
- })), e.event.addListener(i, "dragstart", (function () {
- t.$trigger("regionchange", {}, {type: "begin", causedBy: "gesture"})
- })), e.event.addListener(i, "dragend", (function () {
- t.$trigger("regionchange", {}, Object.assign({
- type: "end",
- causedBy: "drag"
- }, o()))
- })), e.event.addListener(i, "zoom_changed", (function () {
- t.$emit("update:scale", i.getZoom()), t.$trigger("regionchange", {}, Object.assign({
- type: "end",
- causedBy: "scale"
- }, o()))
- })), e.event.addListener(i, "center_changed", (function () {
- var e, n, r = i.getCenter();
- e = u(r), n = l(r), t.$emit("update:latitude", e), t.$emit("update:longitude", n)
- })), this.polyline && Array.isArray(this.polyline) && this.polyline.length && this.createPolyline(), this.circles && Array.isArray(this.circles) && this.circles.length && this.createCircles(), this.controls && Array.isArray(this.controls) && this.controls.length && this.createControls(), this.showLocation && this.createLocation(), this.includePoints && Array.isArray(this.includePoints) && this.includePoints.length && this.fitBounds(this.includePoints, (function () {
- i.setCenter(n)
- })), this.isMapReady = !0, this.$emit("mapready"), this.$trigger("updated", {}, {})
- }, centerChange: function () {
- var t = this, e = this._maps, n = Number(this.latitude), i = Number(this.longitude);
- n === this.center.latitude && i === this.center.longitude || (this.center.latitude = n, this.center.longitude = i, this._map && this.mapReady((function () {
- t._map.setCenter(new e.LatLng(n, i))
- })))
- }, createPolyline: function () {
- var t = this._maps, e = this._map, n = this.polylineSync;
- this.removePolyline(), this.polyline.forEach((function (i) {
- var o = [];
- i.points.forEach((function (e) {
- o.push(new t.LatLng(e.latitude, e.longitude))
- }));
- var a = Number(i.borderWidth) || 0, s = Object(r["j"])(i.color), c = s.r,
- u = s.g, l = s.b, f = s.a, d = Object(r["j"])(i.borderColor), h = d.r,
- p = d.g, v = d.b, g = d.a, m = {
- map: e,
- clickable: !1,
- path: o,
- strokeWeight: i.width + a,
- strokeDashStyle: i.dottedLine ? "dash" : "solid"
- }, b = {
- map: e,
- clickable: !1,
- path: o,
- strokeWeight: i.width,
- strokeDashStyle: i.dottedLine ? "dash" : "solid"
- };
- "Color" in t ? (m.strokeColor = new t.Color(c, u, l, f), b.strokeColor = new t.Color(h, p, v, g)) : (m.strokeColor = "rgb(".concat(c, ", ").concat(u, ", ").concat(l, ")"), m.strokeOpacity = f, b.strokeColor = "rgb(".concat(h, ", ").concat(p, ", ").concat(v, ")"), b.strokeOpacity = g), a && n.push(new t.Polyline(b)), n.push(new t.Polyline(m))
- }))
- }, removePolyline: function () {
- var t = this.polylineSync;
- t.forEach((function (t) {
- t.setMap(null)
- })), t.splice(0, t.length)
- }, createCircles: function () {
- var t = this._maps, e = this._map, n = this.circlesSync;
- this.removeCircles(), this.circles.forEach((function (i) {
- var o = new t.LatLng(i.latitude, i.longitude), a = {
- map: e,
- center: o,
- clickable: !1,
- radius: i.radius,
- strokeWeight: Number(i.strokeWidth) || 1,
- strokeDashStyle: "solid"
- }, s = Object(r["j"])(i.fillColor || "#00000000"), c = s.r, u = s.g, l = s.b,
- f = s.a, d = Object(r["j"])(i.color || "#000000"), h = d.r, p = d.g,
- v = d.b, g = d.a;
- "Color" in t ? (a.fillColor = new t.Color(c, u, l, f), a.strokeColor = new t.Color(h, p, v, g)) : (a.fillColor = "rgb(".concat(c, ", ").concat(u, ", ").concat(l, ")"), a.fillOpacity = f, a.strokeColor = "rgb(".concat(h, ", ").concat(p, ", ").concat(v, ")"), a.strokeOpacity = g);
- var m = new t.Circle(a);
- n.push(m)
- }))
- }, removeCircles: function () {
- var t = this.circlesSync;
- t.forEach((function (t) {
- t.setMap(null)
- })), t.splice(0, t.length)
- }, createControls: function () {
- var t = this, e = this._maps, n = this, i = this._map, r = this.controlsSync;
- this.removeControls(), this.controls.forEach((function (o) {
- var a = o.position || {}, s = document.createElement("div"), c = new Image;
- s.appendChild(c);
- var u = s.style;
- u.position = "absolute", u.width = 0, u.height = 0, c.onload = function () {
- o.position.width && (c.width = o.position.width), o.position.height && (c.height = o.position.height);
- var t = c.style;
- t.position = "absolute", t.left = (a.left || 0) + "px", t.top = (a.top || 0) + "px", t.maxWidth = "initial"
- }, c.src = t.$getRealPath(o.iconPath), c.onclick = function (t) {
- o.clickable && n.$trigger("controltap", t, {controlId: o.id})
- }, i.controls[e.ControlPosition.TOP_LEFT].push(s), r.push(s)
- }))
- }, removeControls: function () {
- var t = this.controlsSync;
- t.forEach((function (t) {
- t.remove()
- })), t.splice(0, t.length)
- }, createLocation: function () {
- var e = this, n = this._maps, i = this._map, r = this._location;
- r && this.removeLocation(), uni.getLocation({
- type: "gcj02", success: function (t) {
- if (r === e._location) {
- var o = new n.LatLng(t.latitude, t.longitude);
- r = new n.Marker({
- position: o,
- map: i,
- icon: new n.MarkerImage(c["a"], null, null, new n.Point(22, 22), new n.Size(44, 44)),
- flat: !0,
- rotation: 0
- }), e._location = r, a(), e.__onCompassChange = function (t) {
- r.setRotation(t.direction)
- }, uni.onCompassChange(e.__onCompassChange)
- }
- }, fail: function (e) {
- t.error(e)
- }
- });
- var o = this;
- function a() {
- r === o._location && setTimeout((function () {
- uni.getLocation({
- type: "gcj02", success: function (t) {
- var e = o._locationPosition = new n.LatLng(t.latitude, t.longitude);
- r.setPosition(e)
- }, fail: function (e) {
- t.error(e)
- }, complete: function () {
- a()
- }
- })
- }), 3e4)
- }
- }, removeLocation: function () {
- var t = this._location;
- t && (t.setMap(null), this._location = null, this._locationPosition = null, uni.offCompassChange(this.__onCompassChange))
- }, fitBounds: function (t, e) {
- var n = this, i = this._maps;
- this.boundsReady((function () {
- var r = n._map, o = new i.LatLngBounds;
- t.forEach((function (t) {
- var e = t.longitude, n = t.latitude, r = new i.LatLng(n, e);
- o.extend(r)
- })), r.fitBounds(o), "function" === typeof e && e()
- }))
- }, mapReady: function (t) {
- this.isMapReady ? t() : this.$once("mapready", (function () {
- t()
- }))
- }, boundsReady: function (t) {
- this.isBoundsReady ? t() : this.$once("boundsready", (function () {
- t()
- }))
- }, getMarker: function (t) {
- var e = this._markers[t];
- if (!e) throw new Error("translateMarker: fail cannot find marker with id " + t);
- return e
- }
- }
- }
- }).call(this, n("3ad9")["default"])
- }, 7572: function (t, e, n) {
- }, "764a": function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return u
- }));
- var i = n("f2b3"), r = n("85b6"), o = n("65a8"), a = n("33ed"), s = !!i["q"] && {passive: !1};
- function c(e) {
- if (uni.canIUse("css.var")) {
- var n = parseFloat(__uniConfig.tabBar.height), i = e.$parent.$parent,
- r = i.navigationBar.type, a = "default" === r || "float" === r ? o["a"] : 0,
- s = getApp().$children[0].showTabBar ? isNaN(n) ? o["c"] : n : 0,
- c = uni.canIUse("css.env") ? "env" : uni.canIUse("css.constant") ? "constant" : "",
- u = a && c ? "calc(".concat(a, "px + ").concat(c, "(safe-area-inset-top))") : "".concat(a, "px"),
- l = s && c ? "calc(".concat(s, "px + ").concat(c, "(safe-area-inset-bottom))") : "".concat(s, "px"),
- f = document.documentElement.style;
- f.setProperty("--window-top", "calc(var(--top-window-height) + ".concat(u, ")")), f.setProperty("--window-bottom", l), t.debug("".concat(e.$page.route, "[").concat(e.$page.id, "]:--window-top=").concat(u)), t.debug("".concat(e.$page.route, "[").concat(e.$page.id, "]:--window-bottom=").concat(l))
- }
- }
- function u(t) {
- var e = !1, n = !1;
- t("onPageLoad", (function (t) {
- c(t)
- })), t("onPageShow", (function (t) {
- var o = t.$parent.$parent;
- t._isMounted && c(t), n && document.removeEventListener("touchmove", n, s), o.disableScroll && (n = a["b"], document.addEventListener("touchmove", n, s));
- var u = Object(r["c"])(t.$options, "onPageScroll"),
- l = Object(r["c"])(t.$options, "onReachBottom"), f = o.onReachBottomDistance,
- d = Object(i["l"])(o.titleNView) && "transparent" === o.titleNView.type || Object(i["l"])(o.navigationBar) && "transparent" === o.navigationBar.type;
- e && document.removeEventListener("scroll", e), (d || u || l) && (e = Object(a["a"])(t.$page.id, {
- enablePageScroll: u,
- enablePageReachBottom: l,
- onReachBottomDistance: f,
- enableTransparentTitleNView: d
- }), requestAnimationFrame((function () {
- document.addEventListener("scroll", e)
- })))
- }))
- }
- }).call(this, n("3ad9")["default"])
- }, "77d5": function (t, e, n) {
- }, "77e0": function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- var r = n("a6b0");
- e["default"] = {
- data: function () {
- return {showToast: {visible: !1}}
- }, created: function () {
- var e = this, n = "", o = function (t) {
- return function (i) {
- n = t, setTimeout((function () {
- e.showToast = i
- }), 10)
- }
- };
- t.on("onShowToast", o("onShowToast")), t.on("onShowLoading", o("onShowLoading"));
- var a = function (t) {
- return function () {
- if (n) {
- var o = "";
- if ("onHideToast" === t && "onShowToast" !== n ? o = Object(r["g"])("uni.showToast.unpaired") : "onHideLoading" === t && "onShowLoading" !== n && (o = Object(r["g"])("uni.showLoading.unpaired")), o) return i.warn(o);
- n = "", setTimeout((function () {
- e.showToast.visible = !1
- }), 10)
- }
- }
- };
- t.on("onHidePopup", a("onHidePopup")), t.on("onHideToast", a("onHideToast")), t.on("onHideLoading", a("onHideLoading"))
- }
- }
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, "78c8": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getSystemInfoSync", (function () {
- return m
- })), n.d(e, "getSystemInfo", (function () {
- return b
- }));
- var i, r = n("a470"), o = "__DC_STAT_UUID", a = window.localStorage || window.sessionStorage || {},
- s = function () {
- if (i = i || a[o], !i) {
- i = Date.now() + "" + Math.floor(1e7 * Math.random());
- try {
- a[o] = i
- } catch (t) {
- }
- }
- return i
- }, c = n("d8c8"), u = n.n(c), l = navigator.userAgent, f = /android/i.test(l),
- d = /iphone|ipad|ipod/i.test(l), h = l.match(/Windows NT ([\d|\d.\d]*)/i),
- p = /Macintosh|Mac/i.test(l), v = /Linux|X11/i.test(l), g = p && navigator.maxTouchPoints > 0;
- function m() {
- var t, e, n, i = window.screen, o = window.devicePixelRatio,
- a = /^Apple/.test(navigator.vendor) && "number" === typeof window.orientation,
- c = a && 90 === Math.abs(window.orientation),
- m = a ? Math[c ? "max" : "min"](i.width, i.height) : i.width,
- b = a ? Math[c ? "min" : "max"](i.height, i.width) : i.height,
- y = Math.min(window.innerWidth, document.documentElement.clientWidth, m) || m,
- _ = window.innerHeight, w = navigator.language, k = u.a.top;
- if (d) {
- t = "iOS";
- var S = l.match(/OS\s([\w_]+)\slike/);
- S && (e = S[1].replace(/_/g, "."));
- var x = l.match(/\(([a-zA-Z]+);/);
- x && (n = x[1])
- } else if (f) {
- t = "Android";
- var C = l.match(/Android[\s/]([\w\.]+)[;\s]/);
- C && (e = C[1]);
- for (var T = l.match(/\((.+?)\)/), O = T ? T[1].split(";") : l.split(" "), A = [/\bAndroid\b/i, /\bLinux\b/i, /\bU\b/i, /^\s?[a-z][a-z]$/i, /^\s?[a-z][a-z]-[a-z][a-z]$/i, /\bwv\b/i, /\/[\d\.,]+$/, /^\s?[\d\.,]+$/, /\bBrowser\b/i, /\bMobile\b/i], E = 0; E < O.length; E++) {
- var j = O[E];
- if (j.indexOf("Build") > 0) {
- n = j.split("Build")[0].trim();
- break
- }
- for (var M = void 0, I = 0; I < A.length; I++) if (A[I].test(j)) {
- M = !0;
- break
- }
- if (!M) {
- n = j.trim();
- break
- }
- }
- } else if (g) n = "iPad", t = "iOS", e = "function" === typeof window.BigInt ? "14.0" : "13.0"; else if (h || p || v) {
- n = "PC";
- var $ = l.match(/\((.+?)\)/)[1];
- if (h) {
- switch (t = "Windows", e = "", h[1]) {
- case"5.1":
- e = "XP";
- break;
- case"6.0":
- e = "Vista";
- break;
- case"6.1":
- e = "7";
- break;
- case"6.2":
- e = "8";
- break;
- case"6.3":
- e = "8.1";
- break;
- case"10.0":
- e = "10";
- break
- }
- var P = $.match(/[Win|WOW]([\d]+)/);
- P && (e += " x".concat(P[1]))
- } else p ? (t = "Mac", e = $.match(/Mac OS X (.+)/) || "", e && (e = e[1].replace(/_/g, "."), -1 !== e.indexOf(";") && (e = e.split(";")[0]))) : v && (t = "Linux", e = $.match(/Linux (.*)/) || "", e && (e = e[1], -1 !== e.indexOf(";") && (e = e.split(";")[0])))
- } else t = "Other", e = "0";
- var L = "".concat(t, " ").concat(e), R = t.toLocaleLowerCase(), N = {
- left: u.a.left,
- right: y - u.a.right,
- top: u.a.top,
- bottom: _ - u.a.bottom,
- width: y - u.a.left - u.a.right,
- height: _ - u.a.top - u.a.bottom
- }, D = Object(r["a"])(), B = D.top, F = D.bottom;
- return _ -= B, _ -= F, {
- windowTop: B,
- windowBottom: F,
- windowWidth: y,
- windowHeight: _,
- pixelRatio: o,
- screenWidth: m,
- screenHeight: b,
- language: w,
- statusBarHeight: k,
- system: L,
- platform: R,
- model: n,
- safeArea: N,
- safeAreaInsets: {top: u.a.top, right: u.a.right, bottom: u.a.bottom, left: u.a.left},
- deviceId: s()
- }
- }
- function b() {
- return m()
- }
- }, "79d5": function (t, e, n) {
- "use strict";
- function i(t) {
- if (t) return t.$holder;
- var e = getCurrentPages(), n = e.length;
- return n ? e[n - 1].$holder : void 0
- }
- function r(t) {
- var e = getCurrentPages(), n = e.length;
- return !!n && e[n - 1].$holder === t
- }
- n.r(e), n.d(e, "getPageHolder", (function () {
- return i
- })), n.d(e, "isCurrentPage", (function () {
- return r
- }))
- }, "7ac7": function (t, e, n) {
- "use strict";
- (function (t) {
- var i, r = n("8bbf"), o = n.n(r), a = n("f2b3"), s = n("65a8"), c = ["top", "left", "right"],
- u = document.documentElement;
- function l(t, e) {
- i || (i = u.style), i.setProperty(t, e)
- }
- function f(t) {
- var e = window.screen,
- n = [window.outerWidth, window.outerHeight, e.width, e.height, u.clientWidth, u.clientHeight];
- return Math.max.apply(null, n) > t
- }
- e["a"] = {
- name: "Layout",
- props: {
- routerKey: {type: String, default: ""},
- keepAliveInclude: {
- type: Array, default: function () {
- return []
- }
- }
- },
- data: function () {
- return {
- marginWidth: 0,
- leftWindowStyle: "",
- rightWindowStyle: "",
- topWindowStyle: "",
- topWindowMediaQuery: !1,
- leftWindowMediaQuery: !1,
- rightWindowMediaQuery: !1,
- topWindowHeight: "0px",
- apiShowTopWindow: !1,
- apiShowLeftWindow: !1,
- apiShowRightWindow: !1,
- navigationBarTitleText: "",
- maxWidthMeidaQuery: !1
- }
- },
- computed: {
- bindWindow: function () {
- return {
- matchTopWindow: this.topWindowMediaQuery,
- showTopWindow: this.showTopWindow || this.apiShowTopWindow,
- matchLeftWindow: this.leftWindowMediaQuery,
- showLeftWindow: this.showLeftWindow || this.apiShowLeftWindow,
- matchRightWindow: this.rightWindowMediaQuery,
- showRightWindow: this.showRightWindow || this.apiShowRightWindow
- }
- }, showLayout: function () {
- return this.showTopWindow || this.showLeftWindow || this.showRightWindow
- }, showTopWindow: function () {
- return this.resetApiShowWindow(), !1 !== this.$route.meta.topWindow && this.topWindowMediaQuery
- }, showLeftWindow: function () {
- return this.resetApiShowWindow(), !1 !== this.$route.meta.leftWindow && this.leftWindowMediaQuery
- }, showRightWindow: function () {
- return this.resetApiShowWindow(), !1 !== this.$route.meta.rightWindow && this.rightWindowMediaQuery
- }
- },
- watch: {
- $route: function () {
- this.checkMaxWidth()
- }, showLayout: function () {
- this.checkLayout()
- }, showTopWindow: function (t, e) {
- t ? this.$nextTick(this.onTopWindowInit) : l("--top-window-height", "0px")
- }, showLeftWindow: function (t, e) {
- t ? this.$nextTick(this.onLeftWindowInit) : l("--window-left", "0px")
- }, showRightWindow: function (t, e) {
- t ? this.$nextTick(this.onRightWindowInit) : l("--window-right", "0px")
- }, marginWidth: function (t) {
- l("--window-margin", t + "px")
- }
- },
- beforeCreate: function () {
- l("--top-window-height", "0px"), l("--window-left", "0px"), l("--window-right", "0px"), l("--window-margin", "0px")
- },
- created: function () {
- var e = this;
- this.topWindow = o.a.component("VUniTopWindow"), this.leftWindow = o.a.component("VUniLeftWindow"), this.rightWindow = o.a.component("VUniRightWindow"), (this.topWindow || this.leftWindow || this.rightWindow) && uni.canIUse("css.var") && window.matchMedia && (c.forEach((function (t) {
- return e.initWindowMinWidth(t)
- })), this.responsive = f(this.minWidth), this.responsive && (this.topWindow && this.topWindow.options.style && (this.topWindowStyle = this.topWindow.options.style), this.leftWindow && this.leftWindow.options.style && (this.leftWindowStyle = this.leftWindow.options.style), this.rightWindow && this.rightWindow.options.style && (this.rightWindowStyle = this.rightWindow.options.style), c.forEach((function (t) {
- return e.initMediaQuery(t)
- })), t.on("onNavigationBarChange", (function (t) {
- e.navigationBarTitleText = t.titleText
- })))), this.initMaxWidth()
- },
- mounted: function () {
- this.checkLayout(), this.checkMaxWidth()
- },
- methods: {
- resetApiShowWindow: function () {
- this.apiShowLeftWindow = !1, this.apiShowRightWindow = !1
- }, showWindow: function (t) {
- var e = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
- if (!this[t + "Window"]) return t + "Window not found";
- var n = Object(a["c"])(t);
- if (!this["show" + n + "Window"]) {
- var i = "apiShow" + n + "Window";
- this[i] !== e && (this[i] = e, "top" === t && (e ? this.$nextTick(this.onTopWindowInit) : l("--top-window-height", "0px")))
- }
- }, getWindowStyle: function (t) {
- if (!this[t + "Window"]) return t + "Window not found";
- var e = Object.assign({}, this[t + "WindowStyle"]);
- return e
- }, setWindowStyle: function (t, e) {
- if (!this[t + "Window"]) return t + "Window not found";
- e && (this[t + "WindowStyle"] = e, this.$nextTick(this["on" + Object(a["c"])(t) + "WindowInit"]))
- }, initMaxWidth: function () {
- var t = this;
- window.addEventListener("resize", (function () {
- t.checkMaxWidth()
- }))
- }, checkLayout: function () {
- this.$emit("layout", this.showLayout)
- }, checkMaxWidth: function () {
- var t = this, e = document.body.clientWidth,
- n = parseInt(this.$route.meta.maxWidth), i = !1;
- i = e > n, this.$emit("maxWidth", i), this.$containerElem || (this.$containerElem = document.querySelector("uni-app")), this.$containerElem && (i && n ? (this.marginWidth = (e - n) / 2, this.$nextTick((function () {
- t.onLeftWindowInit(), t.onRightWindowInit(), t.$containerElem.setAttribute("style", "max-width:" + n + "px;margin:0 auto;")
- }))) : (this.marginWidth = 0, this.$nextTick((function () {
- t.onLeftWindowInit(), t.onRightWindowInit(), t.$containerElem.removeAttribute("style")
- }))))
- }, initWindowMinWidth: function (t) {
- var e = t + "Window";
- if (this[e]) {
- var n = t + "WindowMinWidth";
- this[n] = s["b"];
- var i = __uniConfig[e];
- i && i.matchMedia && Object(a["i"])(i.matchMedia, "minWidth") && (this[n] = i.matchMedia.minWidth), ("undefined" === typeof this.minWidth || this.minWidth > this[n]) && (this.minWidth = this[n])
- }
- }, initMediaQuery: function (t) {
- var e = this;
- if (this[t + "Window"]) {
- var n = t + "WindowMediaQuery",
- i = window.matchMedia("(min-width: " + this[t + "WindowMinWidth"] + "px)");
- i.addListener((function (i) {
- e[n] = i.matches, e.$nextTick((function () {
- e["on" + Object(a["c"])(t) + "WindowInit"]()
- }))
- })), this[n] = i.matches
- }
- }, onTopWindowInit: function () {
- if (this.responsive && this.topWindow) {
- var t = "0px";
- t = this.topWindowStyle && this.topWindowStyle.height ? this.$refs.topWindow.offsetHeight + "px" : this.$refs.top.$el.offsetHeight + "px", this.topWindowHeight = t, l("--top-window-height", t)
- }
- }, onLeftWindowInit: function () {
- this.responsive && this.leftWindow ? this.leftWindowStyle && this.leftWindowStyle.width ? l("--window-left", this.$refs.leftWindow.offsetWidth + this.marginWidth + "px") : l("--window-left", this.$refs.left.$el.offsetWidth + this.marginWidth + "px") : l("--window-left", this.marginWidth + "px")
- }, onRightWindowInit: function () {
- this.responsive && this.rightWindow ? this.rightWindowStyle && this.rightWindowStyle.width ? l("--window-right", this.$refs.rightWindow.offsetWidth + this.marginWidth + "px") : l("--window-right", this.$refs.right.$el.offsetWidth + this.marginWidth + "px") : l("--window-right", this.marginWidth + "px")
- }
- }
- }
- }).call(this, n("0dd1"))
- }, "7bab": function (t, e, n) {
- "use strict";
- function i() {
- var t = document.getElementById("#clipboard"), e = t ? t.value : void 0;
- return e ? {data: e, errMsg: "getClipboardData:ok"} : {errMsg: "getClipboardData:fail"}
- }
- function r(t) {
- var e = t.data, n = document.getElementById("#clipboard");
- n && n.remove();
- var i = document.createElement("textarea");
- i.id = "#clipboard", i.style.position = "fixed", i.style.top = "-9999px", i.style.zIndex = "-9999", document.body.appendChild(i), i.value = e, i.focus(), i.select();
- var r = document.execCommand("Copy", !1, null);
- return i.blur(), r ? {errMsg: "setClipboardData:ok"} : {errMsg: "setClipboardData:fail"}
- }
- n.r(e), n.d(e, "getClipboardData", (function () {
- return i
- })), n.d(e, "setClipboardData", (function () {
- return r
- }))
- }, "7bb3": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-checkbox", t._g({
- attrs: {disabled: t.disabled},
- on: {click: t._onClick}
- }, t.$listeners), [n("div", {staticClass: "uni-checkbox-wrapper"}, [n("div", {
- staticClass: "uni-checkbox-input",
- class: {
- "uni-checkbox-input-checked": t.checkboxChecked,
- "uni-checkbox-input-disabled": t.disabled
- },
- style: {color: t.color}
- }), t._t("default")], 2)])
- }, r = [], o = n("8af1"), a = {
- name: "Checkbox",
- mixins: [o["a"], o["f"]],
- props: {
- checked: {type: [Boolean, String], default: !1},
- id: {type: String, default: ""},
- disabled: {type: [Boolean, String], default: !1},
- color: {type: String, default: "#007aff"},
- value: {type: String, default: ""}
- },
- data: function () {
- return {checkboxChecked: this.checked, checkboxValue: this.value}
- },
- watch: {
- checked: function (t) {
- this.checkboxChecked = t
- }, value: function (t) {
- this.checkboxValue = t
- }
- },
- listeners: {"label-click": "_onClick", "@label-click": "_onClick"},
- created: function () {
- this.$dispatch("CheckboxGroup", "uni-checkbox-group-update", {
- type: "add",
- vm: this
- }), this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("CheckboxGroup", "uni-checkbox-group-update", {
- type: "remove",
- vm: this
- }), this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _onClick: function (t) {
- this.disabled || (this.checkboxChecked = !this.checkboxChecked, this.$dispatch("CheckboxGroup", "uni-checkbox-change", t))
- }, _resetFormData: function () {
- this.checkboxChecked = !1
- }
- }
- }, s = a, c = (n("f53a"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "7c2b": function (t, e, n) {
- "use strict";
- var i = n("2c45"), r = n.n(i);
- r.a
- }, "7d18": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "uploadFile", (function () {
- return u
- }));
- var i = n("e2e2");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var c = function () {
- function t(e, n) {
- r(this, t), s(this, "_xhr", void 0), s(this, "_isAbort", void 0), s(this, "_callbacks", []), this._xhr = e, this._callbackId = n
- }
- return a(t, [{
- key: "onProgressUpdate", value: function (t) {
- "function" === typeof t && this._callbacks.push(t)
- }
- }, {
- key: "offProgressUpdate", value: function (t) {
- var e = this._callbacks.indexOf(t);
- e >= 0 && this._callbacks.splice(e, 1)
- }
- }, {
- key: "abort", value: function () {
- this._isAbort = !0, this._xhr && (this._xhr.abort(), delete this._xhr)
- }
- }]), t
- }();
- function u(e, n) {
- var r = e.url, o = e.file, a = e.filePath, s = e.name, u = e.files, l = e.header,
- f = e.formData, d = e.timeout,
- h = void 0 === d ? __uniConfig.networkTimeout && __uniConfig.networkTimeout.uploadFile || 6e4 : d,
- p = t, v = p.invokeCallbackHandler, g = new c(null, n);
- function m(t) {
- var e, i = new XMLHttpRequest, o = new FormData;
- Object.keys(f).forEach((function (t) {
- o.append(t, f[t])
- })), Object.values(u).forEach((function (e, n) {
- var i = e.name, r = t[n];
- o.append(i || "file", r, r.name || "file-".concat(Date.now()))
- })), i.open("POST", r), Object.keys(l).forEach((function (t) {
- i.setRequestHeader(t, l[t])
- })), i.upload.onprogress = function (t) {
- g._callbacks.forEach((function (e) {
- var n = t.loaded, i = t.total, r = Math.round(n / i * 100);
- e({progress: r, totalBytesSent: n, totalBytesExpectedToSend: i})
- }))
- }, i.onerror = function () {
- clearTimeout(e), v(n, {errMsg: "uploadFile:fail"})
- }, i.onabort = function () {
- clearTimeout(e), v(n, {errMsg: "uploadFile:fail abort"})
- }, i.onload = function () {
- clearTimeout(e);
- var t = i.status;
- v(n, {errMsg: "uploadFile:ok", statusCode: t, data: i.responseText || i.response})
- }, g._isAbort ? v(n, {errMsg: "uploadFile:fail abort"}) : (e = setTimeout((function () {
- i.upload.onprogress = i.onload = i.onabort = i.onerror = null, g.abort(), v(n, {errMsg: "uploadFile:fail timeout"})
- }), h), i.send(o), g._xhr = i)
- }
- return Array.isArray(u) && u.length || (u = [{
- name: s,
- file: o,
- uri: a
- }]), Promise.all(u.map((function (t) {
- var e = t.file, n = t.uri;
- return e instanceof Blob ? Promise.resolve(Object(i["a"])(e)) : Object(i["f"])(n)
- }))).then(m).catch((function () {
- setTimeout((function () {
- v(n, {errMsg: "uploadFile:fail file error"})
- }), 0)
- })), g
- }
- }.call(this, n("0dd1"))
- }, "7df2": function (t, e, n) {
- }, "7e6a": function (t, e, n) {
- "use strict";
- var i = n("515d"), r = n.n(i);
- r.a
- }, "7f4e": function (t, e, n) {
- "use strict";
- function i(t) {
- var e = t.phoneNumber;
- return window.location.href = "tel:".concat(e), {errMsg: "makePhoneCall:ok"}
- }
- n.r(e), n.d(e, "makePhoneCall", (function () {
- return i
- }))
- }, "80e5": function (t) {
- t.exports = JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')
- }, "811a": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "connectSocket", (function () {
- return d
- })), n.d(e, "sendSocketMessage", (function () {
- return h
- })), n.d(e, "closeSocket", (function () {
- return p
- })), n.d(e, "onSocketOpen", (function () {
- return v
- })), n.d(e, "onSocketError", (function () {
- return g
- })), n.d(e, "onSocketMessage", (function () {
- return m
- })), n.d(e, "onSocketClose", (function () {
- return b
- }));
- var i = n("a118"), r = n("db70");
- function o(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function a(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function s(t, e, n) {
- return e && a(t.prototype, e), n && a(t, n), t
- }
- var c = function () {
- function t(e) {
- o(this, t), this.id = e, this._callbacks = {
- open: [],
- close: [],
- error: [],
- message: []
- }, this.CLOSED = 3, this.CLOSING = 2, this.CONNECTING = 0, this.OPEN = 1, this.readyState = this.CLOSED
- }
- return s(t, [{
- key: "send", value: function (t) {
- this.readyState !== this.OPEN && this._callback(t, "sendSocketMessage:fail WebSocket is not connected");
- var e = Object(r["c"])("operateSocketTask", Object.assign({}, t, {
- operationType: "send",
- socketTaskId: this.id
- })), n = e.errMsg;
- this._callback(t, n.replace("operateSocketTask", "sendSocketMessage"))
- }
- }, {
- key: "close", value: function (t) {
- this.readyState = this.CLOSING;
- var e = Object(r["c"])("operateSocketTask", Object.assign({}, t, {
- operationType: "close",
- socketTaskId: this.id
- })), n = e.errMsg;
- this._callback(t, n.replace("operateSocketTask", "closeSocket"))
- }
- }, {
- key: "onOpen", value: function (t) {
- this._callbacks.open.push(t)
- }
- }, {
- key: "onClose", value: function (t) {
- this._callbacks.close.push(t)
- }
- }, {
- key: "onError", value: function (t) {
- this._callbacks.error.push(t)
- }
- }, {
- key: "onMessage", value: function (t) {
- this._callbacks.message.push(t)
- }
- }, {
- key: "_callback", value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = t.success, n = t.fail, i = t.complete,
- r = arguments.length > 1 ? arguments[1] : void 0, o = {errMsg: r};
- /:ok$/.test(r) ? "function" === typeof e && e(o) : "function" === typeof n && n(o), "function" === typeof i && i(o)
- }
- }]), t
- }(), u = Object.create(null), l = [], f = Object.create(null);
- function d(t, e) {
- var n = Object(r["c"])("createSocketTask", t), o = n.socketTaskId, a = new c(o);
- return u[o] = a, l.push(a), setTimeout((function () {
- Object(i["a"])(e, {errMsg: "connectSocket:ok"})
- }), 0), a
- }
- function h(t, e) {
- var n = l[0];
- if (n && n.readyState === n.OPEN) return Object(r["c"])("operateSocketTask", Object.assign({}, t, {
- operationType: "send",
- socketTaskId: n.id
- }));
- Object(i["a"])(e, {errMsg: "sendSocketMessage:fail WebSocket is not connected"})
- }
- function p(t, e) {
- var n = l[0];
- if (n) return n.readyState = n.CLOSING, Object(r["c"])("operateSocketTask", Object.assign({}, t, {
- operationType: "close",
- socketTaskId: n.id
- }));
- Object(i["a"])(e, {errMsg: "closeSocket:fail WebSocket is not connected"})
- }
- function v(t) {
- f.open = t
- }
- function g(t) {
- f.error = t
- }
- function m(t) {
- f.message = t
- }
- function b(t) {
- f.close = t
- }
- Object(r["d"])("onSocketTaskStateChange", (function (t) {
- var e = t.socketTaskId, n = t.state, r = t.data, o = (t.errMsg, u[e]);
- if (o) {
- if ("open" === n && (o.readyState = o.OPEN), o === l[0] && f[n] && Object(i["a"])(f[n], "message" === n ? {data: r} : {}), "error" === n || "close" === n) {
- o.readyState = o.CLOSED, delete u[e];
- var a = l.indexOf(o);
- a >= 0 && l.splice(a, 1)
- }
- o._callbacks[n].forEach((function (t) {
- "function" === typeof t && t("message" === n ? {data: r} : {})
- }))
- }
- }))
- }, 8188: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("8af1"), r = n("18fd"), o = n("b253"), a = n("93ab");
- function s(t) {
- return s = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, s(t)
- }
- function c() {
- var t = navigator.userAgent, e = /iphone|ipad|ipod/i.test(t), n = /Macintosh|Mac/i.test(t),
- i = n && navigator.maxTouchPoints > 0;
- return e || i
- }
- var u = !1;
- e["a"] = {
- name: "Editor",
- mixins: [i["g"], i["a"], i["e"]],
- props: {
- id: {type: String, default: ""},
- readOnly: {type: [Boolean, String], default: !1},
- placeholder: {type: String, default: ""},
- showImgSize: {type: [Boolean, String], default: !1},
- showImgToolbar: {type: [Boolean, String], default: !1},
- showImgResize: {type: [Boolean, String], default: !1}
- },
- data: function () {
- return {quillReady: !1}
- },
- computed: {},
- watch: {
- readOnly: function (t) {
- if (this.quillReady) {
- var e = this.quill;
- e.enable(!t), t || e.blur()
- }
- }, placeholder: function (t) {
- this.quillReady && this.setPlaceHolder(t)
- }
- },
- mounted: function () {
- var t = this, e = [];
- this.showImgSize && e.push("DisplaySize"), this.showImgToolbar && e.push("Toolbar"), this.showImgResize && e.push("Resize");
- var n = "https://unpkg.com/quill@1.3.7/dist/quill.min.js";
- Object(a["a"])(window.Quill, n, (function () {
- if (e.length) {
- var n = "https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";
- Object(a["a"])(window.ImageResize, n, (function () {
- t.initQuill(e)
- }))
- } else t.initQuill(e)
- }))
- },
- methods: {
- _handleSubscribe: function (e) {
- var n, i, r, o = e.type, a = e.data, c = a.options, l = a.callbackId,
- f = this.quill, d = window.Quill;
- if (this.quillReady) {
- switch (o) {
- case"format":
- var h = c.name, p = void 0 === h ? "" : h, v = c.value,
- g = void 0 !== v && v;
- i = f.getSelection(!0);
- var m = f.getFormat(i)[p] || !1;
- if (["bold", "italic", "underline", "strike", "ins"].includes(p)) g = !m; else if ("direction" === p) {
- g = ("rtl" !== g || !m) && g;
- var b = f.getFormat(i).align;
- "rtl" !== g || b ? g || "right" !== b || f.format("align", !1, d.sources.USER) : f.format("align", "right", d.sources.USER)
- } else if ("indent" === p) {
- var y = "rtl" === f.getFormat(i).direction;
- g = "+1" === g, y && (g = !g), g = g ? "+1" : "-1"
- } else "list" === p && (g = "check" === g ? "unchecked" : g, m = "checked" === m ? "unchecked" : m), g = m && m !== (g || !1) || !m && g ? g : !m;
- f.format(p, g, d.sources.USER);
- break;
- case"insertDivider":
- i = f.getSelection(!0), f.insertText(i.index, "\n", d.sources.USER), f.insertEmbed(i.index + 1, "divider", !0, d.sources.USER), f.setSelection(i.index + 2, d.sources.SILENT);
- break;
- case"insertImage":
- i = f.getSelection(!0);
- var _ = c.src, w = void 0 === _ ? "" : _, k = c.alt,
- S = void 0 === k ? "" : k, x = c.width, C = void 0 === x ? "" : x,
- T = c.height, O = void 0 === T ? "" : T, A = c.extClass,
- E = void 0 === A ? "" : A, j = c.data, M = void 0 === j ? {} : j,
- I = this.$getRealPath(w);
- f.insertEmbed(i.index, "image", I, d.sources.USER);
- var $ = !!/^(file|blob):/.test(I) && I;
- u = !0, f.formatText(i.index, 1, "data-local", $), f.formatText(i.index, 1, "alt", S), f.formatText(i.index, 1, "width", C), f.formatText(i.index, 1, "height", O), f.formatText(i.index, 1, "class", E), u = !1, f.formatText(i.index, 1, "data-custom", Object.keys(M).map((function (t) {
- return "".concat(t, "=").concat(M[t])
- })).join("&")), f.setSelection(i.index + 1, d.sources.SILENT);
- break;
- case"insertText":
- i = f.getSelection(!0);
- var P = c.text, L = void 0 === P ? "" : P;
- f.insertText(i.index, L, d.sources.USER), f.setSelection(i.index + L.length, 0, d.sources.SILENT);
- break;
- case"setContents":
- var R = c.delta, N = c.html;
- "object" === s(R) ? f.setContents(R, d.sources.SILENT) : "string" === typeof N ? f.setContents(this.html2delta(N), d.sources.SILENT) : r = "contents is missing";
- break;
- case"getContents":
- n = this.getContents();
- break;
- case"clear":
- f.setContents([]);
- break;
- case"removeFormat":
- i = f.getSelection(!0);
- var D = d.import("parchment");
- i.length ? f.removeFormat(i, d.sources.USER) : Object.keys(f.getFormat(i)).forEach((function (t) {
- D.query(t, D.Scope.INLINE) && f.format(t, !1)
- }));
- break;
- case"undo":
- f.history.undo();
- break;
- case"redo":
- f.history.redo();
- break;
- case"blur":
- f.blur();
- break;
- case"getSelectionText":
- i = f.selection.savedRange, n = {text: ""}, i && 0 !== i.length && (n.text = f.getText(i.index, i.length));
- break;
- case"scrollIntoView":
- f.scrollIntoView();
- break;
- default:
- break
- }
- this.updateStatus(i)
- } else r = "not ready";
- l && t.publishHandler("onEditorMethodCallback", {
- callbackId: l,
- data: Object.assign({}, n, {errMsg: "".concat(o, ":").concat(r ? "fail " + r : "ok")})
- }, this.$page.id)
- }, setPlaceHolder: function (t) {
- var e = "data-placeholder", n = this.quill.root;
- n.getAttribute(e) !== t && n.setAttribute(e, t)
- }, initQuill: function (t) {
- var e = this, n = window.Quill;
- o["a"](n);
- var i = {
- toolbar: !1,
- readOnly: this.readOnly,
- placeholder: this.placeholder,
- modules: {}
- };
- t.length && (n.register("modules/ImageResize", window.ImageResize.default), i.modules.ImageResize = {modules: t});
- var r = this.quill = new n(this.$el, i), a = r.root, s = ["focus", "blur", "input"];
- s.forEach((function (t) {
- a.addEventListener(t, (function (n) {
- var i = e.getContents();
- if ("input" === t) {
- if (c()) {
- var r = (i.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/) || [])[1],
- o = r && r.replace(/\s/g, "") ? "" : e.placeholder;
- e.setPlaceHolder(o)
- }
- n.stopPropagation()
- } else e.$trigger(t, n, i)
- }))
- })), r.on(n.events.TEXT_CHANGE, (function () {
- u || e.$trigger("input", {}, e.getContents())
- })), r.on(n.events.SELECTION_CHANGE, this.updateStatus.bind(this)), r.on(n.events.SCROLL_OPTIMIZE, (function () {
- var t = r.selection.getRange()[0];
- e.updateStatus(t)
- })), r.clipboard.addMatcher(Node.ELEMENT_NODE, (function (t, n) {
- return e.skipMatcher || (n.ops = n.ops.filter((function (t) {
- var e = t.insert;
- return "string" === typeof e
- })).map((function (t) {
- var e = t.insert;
- return {insert: e}
- }))), n
- })), this.initKeyboard(a), this.quillReady = !0, this.$trigger("ready", event, {})
- }, getContents: function () {
- var t = this.quill, e = t.root.innerHTML, n = t.getText(), i = t.getContents();
- return {html: e, text: n, delta: i}
- }, html2delta: function (t) {
- var e,
- n = ["span", "strong", "b", "ins", "em", "i", "u", "a", "del", "s", "sub", "sup", "img", "div", "p", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ol", "ul", "li", "br"],
- i = "";
- Object(r["a"])(t, {
- start: function (t, r, o) {
- if (n.includes(t)) {
- e = !1;
- var a = r.map((function (t) {
- var e = t.name, n = t.value;
- return "".concat(e, '="').concat(n, '"')
- })).join(" "),
- s = "<".concat(t, " ").concat(a, " ").concat(o ? "/" : "", ">");
- i += s
- } else e = !o
- }, end: function (t) {
- e || (i += "</".concat(t, ">"))
- }, chars: function (t) {
- e || (i += t)
- }
- }), this.skipMatcher = !0;
- var o = this.quill.clipboard.convert(i);
- return this.skipMatcher = !1, o
- }, updateStatus: function (t) {
- var e = this, n = t ? this.quill.getFormat(t) : {}, i = Object.keys(n);
- (i.length !== Object.keys(this.__status || {}).length || i.find((function (t) {
- return n[t] !== e.__status[t]
- }))) && (this.__status = n, this.$trigger("statuschange", {}, n))
- }
- }
- }
- }).call(this, n("501c"))
- }, "81ea": function (t, e, n) {
- "use strict";
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-tabbar", {class: ["uni-tabbar-" + t.position]}, [n("div", {
- staticClass: "uni-tabbar",
- style: {
- backgroundColor: t.tabbarBackgroundColor,
- "backdrop-filter": "none" !== t.blurEffect ? "blur(10px)" : t.blurEffect
- }
- }, [n("div", {
- staticClass: "uni-tabbar-border",
- style: {backgroundColor: t.borderColor}
- }), t._l(t.visibleList, (function (e, i) {
- return n("div", {
- key: e.isMidButton ? i : e.pagePath,
- staticClass: "uni-tabbar__item",
- style: e.isMidButton ? {flex: "0 0 " + e.width, position: "relative"} : {},
- on: {
- click: function (n) {
- return t._switchTab(e, i)
- }
- }
- }, [e.isMidButton ? n("div", {
- staticClass: "uni-tabbar__mid",
- style: t._uniTabbarBdStyle(e)
- }, [e.iconPath ? n("img", {
- style: {width: e.iconWidth, height: e.iconWidth},
- attrs: {src: t._getRealPath(e.iconPath)}
- }) : t._e()]) : t._e(), n("div", {
- staticClass: "uni-tabbar__bd",
- style: {height: t.height}
- }, [t.getIconPath(e, i) || e.iconPath || e.isMidButton ? n("div", {
- staticClass: "uni-tabbar__icon",
- class: {"uni-tabbar__icon__diff": !e.text},
- style: {width: t.iconWidth, height: t.iconWidth}
- }, [e.isMidButton ? t._e() : n("img", {attrs: {src: t._getRealPath(t.getIconPath(e, i))}}), e.redDot ? n("div", {
- staticClass: "uni-tabbar__reddot",
- class: {"uni-tabbar__badge": !!e.badge}
- }, [t._v(" " + t._s(e.badge) + " ")]) : t._e()]) : t._e(), e.text ? n("div", {
- staticClass: "uni-tabbar__label",
- style: {
- color: t.selectedIndex === i ? t.selectedColor : t.color,
- fontSize: t.fontSize,
- lineHeight: e.iconPath ? "normal" : 1.8,
- marginTop: e.iconPath ? t.spacing : "inherit"
- }
- }, [t._v(" " + t._s(e.text) + " "), e.redDot && !e.iconPath ? n("div", {
- staticClass: "uni-tabbar__reddot",
- class: {"uni-tabbar__badge": !!e.badge}
- }, [t._v(" " + t._s(e.badge) + " ")]) : t._e()]) : t._e()])])
- }))], 2), n("div", {staticClass: "uni-placeholder", style: {height: t.height}})])
- }, r = [], o = n("a919"), a = o["a"], s = (n("f4e0"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null), u = c.exports, l = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return t.responsive ? n("uni-layout", {
- class: {
- "uni-app--showlayout": t.showLayout,
- "uni-app--showtopwindow": t.showTopWindow,
- "uni-app--showleftwindow": t.showLeftWindow,
- "uni-app--showrightwindow": t.showRightWindow
- }
- }, [t.topWindow ? n("uni-top-window", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showTopWindow || t.apiShowTopWindow,
- expression: "showTopWindow || apiShowTopWindow"
- }]
- }, [n("div", {
- ref: "topWindow",
- staticClass: "uni-top-window",
- style: t.topWindowStyle
- }, [n("v-uni-top-window", t._b({
- ref: "top",
- attrs: {"navigation-bar-title-text": t.navigationBarTitleText},
- on: {"hook:mounted": t.onTopWindowInit}
- }, "v-uni-top-window", t.bindWindow, !1))], 1), n("div", {
- staticClass: "uni-top-window--placeholder",
- style: {height: t.topWindowHeight}
- })]) : t._e(), n("uni-content", [n("uni-main", [n("keep-alive", {attrs: {include: t.keepAliveInclude}}, [n("router-view", {key: t.routerKey})], 1)], 1), t.leftWindow ? n("uni-left-window", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showLeftWindow || t.apiShowLeftWindow,
- expression: "showLeftWindow || apiShowLeftWindow"
- }], ref: "leftWindow", style: t.leftWindowStyle, attrs: {"data-show": t.apiShowLeftWindow}
- }, [t.apiShowLeftWindow ? n("div", {
- staticClass: "uni-mask", on: {
- click: function (e) {
- t.apiShowLeftWindow = !1
- }
- }
- }) : t._e(), n("div", {staticClass: "uni-left-window"}, [n("v-uni-left-window", t._b({
- ref: "left",
- on: {"hook:mounted": t.onLeftWindowInit}
- }, "v-uni-left-window", t.bindWindow, !1))], 1)]) : t._e(), t.rightWindow ? n("uni-right-window", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showRightWindow || t.apiShowRightWindow,
- expression: "showRightWindow || apiShowRightWindow"
- }],
- ref: "rightWindow",
- style: t.rightWindowStyle,
- attrs: {"data-show": t.apiShowRightWindow}
- }, [t.apiShowRightWindow ? n("div", {
- staticClass: "uni-mask", on: {
- click: function (e) {
- t.apiShowRightWindow = !1
- }
- }
- }) : t._e(), n("div", {staticClass: "uni-right-window"}, [n("v-uni-right-window", t._b({
- ref: "right",
- on: {"hook:mounted": t.onRightWindowInit}
- }, "v-uni-right-window", t.bindWindow, !1))], 1)]) : t._e()], 1)], 1) : n("keep-alive", {attrs: {include: t.keepAliveInclude}}, [n("router-view", {key: t.routerKey})], 1)
- }, f = [], d = n("7ac7"), h = d["a"],
- p = (n("639e"), Object(s["a"])(h, l, f, !1, null, null, null)), v = p.exports, g = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("transition", {attrs: {name: "uni-fade"}}, [t.visible ? n("uni-toast", {attrs: {"data-duration": t.duration}}, [t.mask ? n("div", {
- staticClass: "uni-mask",
- staticStyle: {background: "transparent"},
- on: {
- touchmove: function (t) {
- t.preventDefault()
- }
- }
- }) : t._e(), t.image || t.iconClass ? n("div", {staticClass: "uni-toast"}, [t.image ? n("img", {
- staticClass: "uni-toast__icon",
- attrs: {src: t.image}
- }) : n("i", {
- staticClass: "uni-icon_toast",
- class: t.iconClass
- }), n("p", {staticClass: "uni-toast__content"}, [t._v(" " + t._s(t.title) + " ")])]) : n("div", {staticClass: "uni-sample-toast"}, [n("p", {staticClass: "uni-simple-toast__text"}, [t._v(" " + t._s(t.title) + " ")])])]) : t._e()], 1)
- }, m = [], b = n("5222"), y = b["a"],
- _ = (n("ff28"), Object(s["a"])(y, g, m, !1, null, null, null)), w = _.exports, k = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("transition", {attrs: {name: "uni-fade"}}, [n("uni-modal", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.visible,
- expression: "visible"
- }], on: {
- touchmove: function (t) {
- t.preventDefault()
- }
- }
- }, [n("div", {staticClass: "uni-mask"}), n("div", {staticClass: "uni-modal"}, [t.title ? n("div", {staticClass: "uni-modal__hd"}, [n("strong", {
- staticClass: "uni-modal__title",
- domProps: {textContent: t._s(t.title)}
- })]) : t._e(), t.editable ? n("textarea", {
- ref: "editContent",
- staticClass: "uni-modal__textarea",
- attrs: {rows: "1", placeholder: t.placeholderText},
- domProps: {value: t.content}
- }) : n("div", {
- staticClass: "uni-modal__bd",
- domProps: {textContent: t._s(t.content)},
- on: {
- touchmove: function (t) {
- t.stopPropagation()
- }
- }
- }), n("div", {staticClass: "uni-modal__ft"}, [t.showCancel ? n("div", {
- staticClass: "uni-modal__btn uni-modal__btn_default",
- style: {color: t.cancelColor},
- on: {
- click: function (e) {
- return t._close("cancel")
- }
- }
- }, [t._v(" " + t._s(t.cancelText) + " ")]) : t._e(), n("div", {
- staticClass: "uni-modal__btn uni-modal__btn_primary",
- style: {color: t.confirmColor},
- on: {
- click: function (e) {
- return t._close("confirm")
- }
- }
- }, [t._v(" " + t._s(t.confirmText) + " ")])])]), n("keypress", {
- attrs: {disable: !t.visible},
- on: {
- esc: function (e) {
- return t._close("cancel")
- }, enter: function (e) {
- !t.editable && t._close("confirm")
- }
- }
- })], 1)], 1)
- }, S = [], x = n("5a56"), C = n("da71");
- function T(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var O = {
- name: "Modal",
- components: {keypress: C["a"]},
- mixins: [x["default"]],
- props: {
- title: {type: String, default: ""},
- content: {type: String, default: ""},
- showCancel: {type: Boolean, default: !0},
- cancelText: {type: String, default: "Cancel"},
- cancelColor: {type: String, default: "#000000"},
- confirmText: {type: String, default: "OK"},
- confirmColor: {type: String, default: "#007aff"},
- visible: {type: Boolean, default: !1},
- editable: {type: Boolean, default: !1},
- placeholderText: {type: String, default: ""}
- },
- methods: {
- _close: function (t) {
- var e = T({}, t, !0);
- this.editable && "confirm" === t && (e.content = this.$refs.editContent.value), this.$emit("close", e)
- }
- }
- }, A = O, E = (n("2765"), Object(s["a"])(A, k, S, !1, null, null, null)), j = E.exports,
- M = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-actionsheet", {
- on: {
- touchmove: function (t) {
- t.preventDefault()
- }
- }
- }, [n("transition", {attrs: {name: "uni-fade"}}, [n("div", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.visible,
- expression: "visible"
- }], staticClass: "uni-mask uni-actionsheet__mask", on: {
- click: function (e) {
- return t._close(-1)
- }
- }
- })]), n("div", {
- staticClass: "uni-actionsheet",
- class: {"uni-actionsheet_toggle": t.visible},
- style: t.popupStyle.content
- }, [n("div", {
- ref: "main",
- staticClass: "uni-actionsheet__menu",
- on: {wheel: t._handleWheel}
- }, [t.title ? n("div", {
- staticClass: "uni-actionsheet__cell",
- style: {height: t.titleHeight + "px"}
- }) : t._e(), t.title ? n("div", {staticClass: "uni-actionsheet__title"}, [t._v(" " + t._s(t.title) + " ")]) : t._e(), n("div", {
- style: {
- maxHeight: t.HEIGHT + "px",
- overflow: "hidden"
- }
- }, [n("div", {ref: "content"}, t._l(t.itemList, (function (e, i) {
- return n("div", {
- key: i,
- staticClass: "uni-actionsheet__cell",
- style: {color: t.itemColor},
- on: {
- click: function (e) {
- return t._close(i)
- }
- }
- }, [t._v(" " + t._s(e) + " ")])
- })), 0)])]), n("div", {staticClass: "uni-actionsheet__action"}, [n("div", {
- staticClass: "uni-actionsheet__cell",
- style: {color: t.itemColor},
- on: {
- click: function (e) {
- return t._close(-1)
- }
- }
- }, [t._v(" " + t._s(t.$$t("uni.showActionSheet.cancel")) + " ")])]), n("div", {style: t.popupStyle.triangle})]), n("keypress", {
- attrs: {disable: !t.visible},
- on: {
- esc: function (e) {
- return t._close(-1)
- }
- }
- })], 1)
- }, I = [], $ = n("4ccd"), P = n("a6b0"), L = n("ba15"), R = n("8aec"), N = n("5363"),
- D = n("72b3"), B = n("d4cd");
- function F(t) {
- var e = 20, n = 0, i = 0;
- t.addEventListener("touchstart", (function (t) {
- var e = t.changedTouches[0];
- n = e.clientX, i = e.clientY
- })), t.addEventListener("touchend", (function (t) {
- var r = t.changedTouches[0];
- if (Math.abs(r.clientX - n) < e && Math.abs(r.clientY - i) < e) {
- var o = new CustomEvent("click", {
- bubbles: !0,
- cancelable: !0,
- target: t.target,
- currentTarget: t.currentTarget
- });
- ["screenX", "screenY", "clientX", "clientY", "pageX", "pageY"].forEach((function (t) {
- o[t] = r[t]
- })), t.target.dispatchEvent(o)
- }
- }))
- }
- var z = {
- name: "ActionSheet",
- components: {keypress: C["a"]},
- mixins: [P["c"], $["default"], L["a"], R["a"]],
- props: {
- title: {type: String, default: ""},
- itemList: {
- type: Array, default: function () {
- return []
- }
- },
- itemColor: {type: String, default: "#000000"},
- popover: {type: Object, default: null},
- visible: {type: Boolean, default: !1}
- },
- data: function () {
- return {HEIGHT: 260, contentHeight: 0, titleHeight: 0, deltaY: 0, scrollTop: 0}
- },
- watch: {
- visible: function (t) {
- var e = this;
- t && this.$nextTick((function () {
- e.title && (e.titleHeight = document.querySelector(".uni-actionsheet__title").offsetHeight), e._scroller.update(), e.contentHeight = e.$refs.content.clientHeight - e.HEIGHT, document.querySelectorAll(".uni-actionsheet__cell").forEach((function (t) {
- F(t)
- }))
- }))
- }
- },
- mounted: function () {
- var t = this;
- this.touchtrack(this.$refs.content, "_handleTrack", !0), this.$nextTick((function () {
- t.initScroller(t.$refs.content, {
- enableY: !0,
- friction: new N["a"](1e-4),
- spring: new D["a"](2, 90, 20),
- onScroll: function (e) {
- t.scrollTop = e.target.scrollTop
- }
- })
- })), Object(B["b"])()
- },
- methods: {
- _close: function (t) {
- this.$emit("close", t)
- }, _handleTrack: function (t) {
- if (this._scroller) switch (t.detail.state) {
- case"start":
- this._handleTouchStart(t), Object(B["a"])({disable: !0});
- break;
- case"move":
- this._handleTouchMove(t);
- break;
- case"end":
- case"cancel":
- this._handleTouchEnd(t), Object(B["a"])({disable: !1})
- }
- }, _handleWheel: function (t) {
- var e = this.deltaY + t.deltaY;
- Math.abs(e) > 10 ? (this.scrollTop += e / 3, this.scrollTop = this.scrollTop >= this.contentHeight ? this.contentHeight : this.scrollTop <= 0 ? 0 : this.scrollTop, this._scroller.scrollTo(this.scrollTop)) : this.deltaY = e, t.preventDefault()
- }
- }
- }, W = z, q = (n("4fef"), Object(s["a"])(W, M, I, !1, null, null, null)), H = q.exports,
- V = {Toast: w, Modal: j, ActionSheet: H};
- function U(t, e) {
- var n = Object.keys(t);
- if (Object.getOwnPropertySymbols) {
- var i = Object.getOwnPropertySymbols(t);
- e && (i = i.filter((function (e) {
- return Object.getOwnPropertyDescriptor(t, e).enumerable
- }))), n.push.apply(n, i)
- }
- return n
- }
- function Y(t) {
- for (var e = 1; e < arguments.length; e++) {
- var n = null != arguments[e] ? arguments[e] : {};
- e % 2 ? U(Object(n), !0).forEach((function (e) {
- X(t, e, n[e])
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : U(Object(n)).forEach((function (e) {
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e))
- }))
- }
- return t
- }
- function X(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- e["a"] = Y({TabBar: u, Layout: v}, V)
- }, "82b9": function (t, e, n) {
- "use strict";
- function i(t) {
- return function (e, n) {
- e && (n[t] = Math.round(e))
- }
- }
- n.r(e), n.d(e, "canvasGetImageData", (function () {
- return r
- })), n.d(e, "canvasPutImageData", (function () {
- return o
- })), n.d(e, "canvasToTempFilePath", (function () {
- return s
- })), n.d(e, "drawCanvas", (function () {
- return c
- }));
- var r = {
- canvasId: {type: String, required: !0},
- x: {type: Number, required: !0, validator: i("x")},
- y: {type: Number, required: !0, validator: i("y")},
- width: {type: Number, required: !0, validator: i("width")},
- height: {type: Number, required: !0, validator: i("height")}
- }, o = {
- canvasId: {type: String, required: !0},
- data: {type: Uint8ClampedArray, required: !0},
- x: {type: Number, required: !0, validator: i("x")},
- y: {type: Number, required: !0, validator: i("y")},
- width: {type: Number, required: !0, validator: i("width")},
- height: {type: Number, validator: i("height")}
- }, a = {PNG: "png", JPG: "jpg", JPEG: "jpg"}, s = {
- x: {type: Number, default: 0, validator: i("x")},
- y: {type: Number, default: 0, validator: i("y")},
- width: {type: Number, validator: i("width")},
- height: {type: Number, validator: i("height")},
- destWidth: {type: Number, validator: i("destWidth")},
- destHeight: {type: Number, validator: i("destHeight")},
- canvasId: {type: String, required: !0},
- fileType: {
- type: String, validator: function (t, e) {
- t = (t || "").toUpperCase(), e.fileType = t in a ? a[t] : a.PNG
- }
- },
- quality: {
- type: Number, validator: function (t, e) {
- e.quality = t > 0 && t < 1 ? t : 1
- }
- }
- }, c = {
- canvasId: {type: String, required: !0},
- actions: {type: Array, required: !0},
- reserve: {type: Boolean, default: !1}
- }
- }, "82c2": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "request", (function () {
- return d
- }));
- var i = n("f2b3"), r = n("a118"), o = n("db70");
- function a(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function s(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function c(t, e, n) {
- return e && s(t.prototype, e), n && s(t, n), t
- }
- var u = Object.create(null);
- function l(t, e) {
- if ("string" === typeof t.data && 65279 === t.data.charCodeAt(0) && (t.data = t.data.substr(1)), t.statusCode = parseInt(t.statusCode, 10), Object(i["l"])(t.header) && (t.header = Object.keys(t.header).reduce((function (e, n) {
- var i = t.header[n];
- return Array.isArray(i) ? e[n] = i.join(",") : "string" === typeof i && (e[n] = i), e
- }), {})), e.dataType && "json" === e.dataType.toLowerCase()) try {
- t.data = JSON.parse(t.data)
- } catch (n) {
- }
- return t
- }
- Object(o["d"])("onRequestTaskStateChange", (function (t) {
- var e = t.requestTaskId, n = t.state, i = t.data, o = t.statusCode, a = t.header, s = t.errMsg,
- c = t.cookies, f = u[e] || {}, d = f.args, h = f.callbackId;
- if (h) switch (delete u[e], n) {
- case"success":
- Object(r["a"])(h, l({
- data: i,
- statusCode: o,
- header: a,
- errMsg: "request:ok",
- cookies: c
- }, d));
- break;
- case"fail":
- Object(r["a"])(h, {errMsg: "request:fail " + s});
- break
- }
- }));
- var f = function () {
- function t(e) {
- a(this, t), this.id = e
- }
- return c(t, [{
- key: "abort", value: function () {
- Object(o["c"])("operateRequestTask", {requestTaskId: this.id, operationType: "abort"})
- }
- }, {
- key: "offHeadersReceived", value: function () {
- }
- }, {
- key: "onHeadersReceived", value: function () {
- }
- }]), t
- }();
- function d(t, e) {
- var n;
- for (var r in t.header) if ("content-type" === r.toLowerCase()) {
- n = t.header[r];
- break
- }
- "GET" !== t.method && 0 === n.indexOf("application/json") && Object(i["l"])(t.data) && (t.data = JSON.stringify(t.data));
- var a = Object(o["c"])("createRequestTask", t), s = a.requestTaskId;
- return u[s] = {args: t, callbackId: e}, new f(s)
- }
- }, 8390: function (t, e) {
- (function () {
- "use strict";
- for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = new Uint8Array(256), i = 0; i < t.length; i++) n[t.charCodeAt(i)] = i;
- e.encode = function (e) {
- var n, i = new Uint8Array(e), r = i.length, o = "";
- for (n = 0; n < r; n += 3) o += t[i[n] >> 2], o += t[(3 & i[n]) << 4 | i[n + 1] >> 4], o += t[(15 & i[n + 1]) << 2 | i[n + 2] >> 6], o += t[63 & i[n + 2]];
- return r % 3 === 2 ? o = o.substring(0, o.length - 1) + "=" : r % 3 === 1 && (o = o.substring(0, o.length - 2) + "=="), o
- }, e.decode = function (t) {
- var e, i, r, o, a, s = .75 * t.length, c = t.length, u = 0;
- "=" === t[t.length - 1] && (s--, "=" === t[t.length - 2] && s--);
- var l = new ArrayBuffer(s), f = new Uint8Array(l);
- for (e = 0; e < c; e += 4) i = n[t.charCodeAt(e)], r = n[t.charCodeAt(e + 1)], o = n[t.charCodeAt(e + 2)], a = n[t.charCodeAt(e + 3)], f[u++] = i << 2 | r >> 4, f[u++] = (15 & r) << 4 | o >> 2, f[u++] = (3 & o) << 6 | 63 & a;
- return l
- }
- })()
- }, "83a6": function (t, e, n) {
- "use strict";
- e["a"] = {
- data: function () {
- return {hovering: !1}
- },
- props: {
- hoverClass: {type: String, default: "none"},
- hoverStopPropagation: {type: Boolean, default: !1},
- hoverStartTime: {type: [Number, String], default: 50},
- hoverStayTime: {type: [Number, String], default: 400}
- },
- methods: {
- _hoverTouchStart: function (t) {
- var e = this;
- t._hoverPropagationStopped || this.hoverClass && "none" !== this.hoverClass && !this.disabled && (t.touches.length > 1 || (this.hoverStopPropagation && (t._hoverPropagationStopped = !0), this._hoverTouch = !0, this._hoverStartTimer = setTimeout((function () {
- e.hovering = !0, e._hoverTouch || e._hoverReset()
- }), this.hoverStartTime)))
- }, _hoverTouchEnd: function (t) {
- this._hoverTouch = !1, this.hovering && this._hoverReset()
- }, _hoverReset: function () {
- var t = this;
- requestAnimationFrame((function () {
- clearTimeout(t._hoverStayTimer), t._hoverStayTimer = setTimeout((function () {
- t.hovering = !1
- }), t.hoverStayTime)
- }))
- }, _hoverTouchCancel: function (t) {
- this._hoverTouch = !1, this.hovering = !1, clearTimeout(this._hoverStartTimer)
- }
- }
- }
- }, "84e0": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e) {
- var n = getCurrentPages();
- return n.length && t.publishHandler("pageScrollTo", e, n[n.length - 1].$page.id), {}
- }
- n.d(e, "pageScrollTo", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, 8542: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return y
- })), n.d(e, "d", (function () {
- return _
- })), n.d(e, "e", (function () {
- return C
- })), n.d(e, "b", (function () {
- return O
- })), n.d(e, "c", (function () {
- return A
- }));
- var i = n("f2b3");
- function r(t) {
- return c(t) || s(t) || a(t) || o()
- }
- function o() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function a(t, e) {
- if (t) {
- if ("string" === typeof t) return u(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u(t, e) : void 0
- }
- }
- function s(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function c(t) {
- if (Array.isArray(t)) return u(t)
- }
- function u(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function l(t) {
- return l = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, l(t)
- }
- var f = ["invoke", "success", "fail", "complete", "returnValue"], d = {}, h = {};
- function p(t, e) {
- var n = e ? t ? t.concat(e) : Array.isArray(e) ? e : [e] : t;
- return n ? v(n) : n
- }
- function v(t) {
- for (var e = [], n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);
- return e
- }
- function g(t, e) {
- var n = t.indexOf(e);
- -1 !== n && t.splice(n, 1)
- }
- function m(t, e) {
- Object.keys(e).forEach((function (n) {
- -1 !== f.indexOf(n) && Object(i["k"])(e[n]) && (t[n] = p(t[n], e[n]))
- }))
- }
- function b(t, e) {
- t && e && Object.keys(e).forEach((function (n) {
- -1 !== f.indexOf(n) && Object(i["k"])(e[n]) && g(t[n], e[n])
- }))
- }
- function y(t, e) {
- "string" === typeof t && Object(i["l"])(e) ? m(h[t] || (h[t] = {}), e) : Object(i["l"])(t) && m(d, t)
- }
- function _(t, e) {
- "string" === typeof t ? Object(i["l"])(e) ? b(h[t], e) : delete h[t] : Object(i["l"])(t) && b(d, t)
- }
- function w(t) {
- return function (e) {
- return t(e) || e
- }
- }
- function k(t) {
- return !!t && ("object" === l(t) || "function" === typeof t) && "function" === typeof t.then
- }
- function S(t, e) {
- for (var n = !1, i = 0; i < t.length; i++) {
- var r = t[i];
- if (n) n = Promise.resolve(w(r)); else {
- var o = r(e);
- if (k(o) && (n = Promise.resolve(o)), !1 === o) return {
- then: function () {
- }
- }
- }
- }
- return n || {
- then: function (t) {
- return t(e)
- }
- }
- }
- function x(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- return ["success", "fail", "complete"].forEach((function (n) {
- if (Array.isArray(t[n])) {
- var r = e[n];
- e[n] = function (e) {
- S(t[n], e).then((function (t) {
- return Object(i["k"])(r) && r(t) || t
- }))
- }
- }
- })), e
- }
- function C(t, e) {
- var n = [];
- Array.isArray(d.returnValue) && n.push.apply(n, r(d.returnValue));
- var i = h[t];
- return i && Array.isArray(i.returnValue) && n.push.apply(n, r(i.returnValue)), n.forEach((function (t) {
- e = t(e) || e
- })), e
- }
- function T(t) {
- var e = Object.create(null);
- Object.keys(d).forEach((function (t) {
- "returnValue" !== t && (e[t] = d[t].slice())
- }));
- var n = h[t];
- return n && Object.keys(n).forEach((function (t) {
- "returnValue" !== t && (e[t] = (e[t] || []).concat(n[t]))
- })), e
- }
- function O(t, e, n) {
- for (var i = arguments.length, r = new Array(i > 3 ? i - 3 : 0), o = 3; o < i; o++) r[o - 3] = arguments[o];
- var a = T(t);
- if (a && Object.keys(a).length) {
- if (Array.isArray(a.invoke)) {
- var s = S(a.invoke, n);
- return s.then((function (t) {
- return e.apply(void 0, [x(a, t)].concat(r))
- }))
- }
- return e.apply(void 0, [x(a, n)].concat(r))
- }
- return e.apply(void 0, [n].concat(r))
- }
- var A = {
- returnValue: function (t) {
- return k(t) ? new Promise((function (e, n) {
- t.then((function (t) {
- t[0] ? n(t[0]) : e(t[1])
- }))
- })) : t
- }
- }
- }, "854d": function (t, e, n) {
- "use strict";
- var i = n("2883"), r = n.n(i);
- r.a
- }, "856e": function (t, e, n) {
- "use strict";
- var i = n("01d0"), r = n.n(i);
- r.a
- }, "85b6": function (t, e, n) {
- "use strict";
- n.d(e, "d", (function () {
- return o
- })), n.d(e, "c", (function () {
- return a
- })), n.d(e, "b", (function () {
- return c
- })), n.d(e, "e", (function () {
- return u
- })), n.d(e, "a", (function () {
- return l
- }));
- var i = n("f2b3"), r = ["SystemAsyncLoading", "SystemAsyncError"];
- function o(t) {
- return !(!t.$parent || "PageBody" !== t.$parent.$options.name) && -1 === r.indexOf(t.$options.name)
- }
- function a() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = arguments.length > 1 ? arguments[1] : void 0;
- return Array.isArray(t[e]) && t[e].length
- }
- function s() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = JSON.parse(JSON.stringify(t)), n = Object.keys(e), i = n.length;
- if (i) for (var r = 0; r < i; r++) {
- var o = n[r], a = o.length;
- "v" !== o.substr(0, 1) || 9 !== a && 10 !== a || delete e[o]
- }
- return e
- }
- function c(t) {
- var e = {}, n = t.__vue__;
- function r(t, n) {
- var r = t.$attrs;
- for (var o in r) if (o.startsWith("data-")) {
- var a = Object(i["b"])(o.substr(5).toLowerCase()), s = r[o];
- e[a] = n ? s : e[a] || s
- }
- }
- if (n) {
- var o = n;
- while (o && o.$el === t) r(o), o = o.$children[0];
- var a = n.$parent;
- while (a && a.$el === t) r(a, !0), a = a.$parent
- } else e = t.dataset || {};
- return s(e)
- }
- function u(t) {
- return t += "", -1 !== t.indexOf("upx") ? uni.upx2px(parseInt(t) || 0) : parseInt(t) || 0
- }
- function l(t) {
- var e = getCurrentPages(), n = e.length;
- while (n--) {
- var i = e[n];
- if (i.$page && i.$page.fullPath === t) return n
- }
- return -1
- }
- }, 8793: function (t, e, n) {
- var i = {
- "./action-sheet.js": "626d",
- "./index.js": "f1ea",
- "./modal.js": "ee4f",
- "./popup.js": "4ccd",
- "./toast.js": "77e0",
- "./transition.js": "5a56"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "8793"
- }, 8842: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-movable-view", t._g({}, t.$listeners), [n("v-uni-resize-sensor", {on: {resize: t.setParent}}), t._t("default")], 2)
- }, r = [], o = n("ba15");
- function a(t, e, n) {
- return t > e - n && t < e + n
- }
- function s(t, e) {
- return a(t, 0, e)
- }
- function c() {
- }
- function u(t, e) {
- this._m = t, this._f = 1e3 * e, this._startTime = 0, this._v = 0
- }
- function l(t, e, n) {
- this._m = t, this._k = e, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0
- }
- function f(t, e, n) {
- this._springX = new l(t, e, n), this._springY = new l(t, e, n), this._springScale = new l(t, e, n), this._startTime = 0
- }
- c.prototype.x = function (t) {
- return Math.sqrt(t)
- }, u.prototype.setV = function (t, e) {
- var n = Math.pow(Math.pow(t, 2) + Math.pow(e, 2), .5);
- this._x_v = t, this._y_v = e, this._x_a = -this._f * this._x_v / n, this._y_a = -this._f * this._y_v / n, this._t = Math.abs(t / this._x_a) || Math.abs(e / this._y_a), this._lastDt = null, this._startTime = (new Date).getTime()
- }, u.prototype.setS = function (t, e) {
- this._x_s = t, this._y_s = e
- }, u.prototype.s = function (t) {
- void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), t > this._t && (t = this._t, this._lastDt = t);
- var e = this._x_v * t + .5 * this._x_a * Math.pow(t, 2) + this._x_s,
- n = this._y_v * t + .5 * this._y_a * Math.pow(t, 2) + this._y_s;
- return (this._x_a > 0 && e < this._endPositionX || this._x_a < 0 && e > this._endPositionX) && (e = this._endPositionX), (this._y_a > 0 && n < this._endPositionY || this._y_a < 0 && n > this._endPositionY) && (n = this._endPositionY), {
- x: e,
- y: n
- }
- }, u.prototype.ds = function (t) {
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), t > this._t && (t = this._t), {
- dx: this._x_v + this._x_a * t,
- dy: this._y_v + this._y_a * t
- }
- }, u.prototype.delta = function () {
- return {
- x: -1.5 * Math.pow(this._x_v, 2) / this._x_a || 0,
- y: -1.5 * Math.pow(this._y_v, 2) / this._y_a || 0
- }
- }, u.prototype.dt = function () {
- return -this._x_v / this._x_a
- }, u.prototype.done = function () {
- var t = a(this.s().x, this._endPositionX) || a(this.s().y, this._endPositionY) || this._lastDt === this._t;
- return this._lastDt = null, t
- }, u.prototype.setEnd = function (t, e) {
- this._endPositionX = t, this._endPositionY = e
- }, u.prototype.reconfigure = function (t, e) {
- this._m = t, this._f = 1e3 * e
- }, l.prototype._solve = function (t, e) {
- var n = this._c, i = this._m, r = this._k, o = n * n - 4 * i * r;
- if (0 === o) {
- var a = -n / (2 * i), s = t, c = e / (a * t);
- return {
- x: function (t) {
- return (s + c * t) * Math.pow(Math.E, a * t)
- }, dx: function (t) {
- var e = Math.pow(Math.E, a * t);
- return a * (s + c * t) * e + c * e
- }
- }
- }
- if (o > 0) {
- var u = (-n - Math.sqrt(o)) / (2 * i), l = (-n + Math.sqrt(o)) / (2 * i),
- f = (e - u * t) / (l - u), d = t - f;
- return {
- x: function (t) {
- var e, n;
- return t === this._t && (e = this._powER1T, n = this._powER2T), this._t = t, e || (e = this._powER1T = Math.pow(Math.E, u * t)), n || (n = this._powER2T = Math.pow(Math.E, l * t)), d * e + f * n
- }, dx: function (t) {
- var e, n;
- return t === this._t && (e = this._powER1T, n = this._powER2T), this._t = t, e || (e = this._powER1T = Math.pow(Math.E, u * t)), n || (n = this._powER2T = Math.pow(Math.E, l * t)), d * u * e + f * l * n
- }
- }
- }
- var h = Math.sqrt(4 * i * r - n * n) / (2 * i), p = -n / 2 * i, v = t, g = (e - p * t) / h;
- return {
- x: function (t) {
- return Math.pow(Math.E, p * t) * (v * Math.cos(h * t) + g * Math.sin(h * t))
- }, dx: function (t) {
- var e = Math.pow(Math.E, p * t), n = Math.cos(h * t), i = Math.sin(h * t);
- return e * (g * h * n - v * h * i) + p * e * (g * i + v * n)
- }
- }
- }, l.prototype.x = function (t) {
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._endPosition + this._solution.x(t) : 0
- }, l.prototype.dx = function (t) {
- return void 0 === t && (t = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._solution.dx(t) : 0
- }, l.prototype.setEnd = function (t, e, n) {
- if (n || (n = (new Date).getTime()), t !== this._endPosition || !s(e, .1)) {
- e = e || 0;
- var i = this._endPosition;
- this._solution && (s(e, .1) && (e = this._solution.dx((n - this._startTime) / 1e3)), i = this._solution.x((n - this._startTime) / 1e3), s(e, .1) && (e = 0), s(i, .1) && (i = 0), i += this._endPosition), this._solution && s(i - t, .1) && s(e, .1) || (this._endPosition = t, this._solution = this._solve(i - this._endPosition, e), this._startTime = n)
- }
- }, l.prototype.snap = function (t) {
- this._startTime = (new Date).getTime(), this._endPosition = t, this._solution = {
- x: function () {
- return 0
- }, dx: function () {
- return 0
- }
- }
- }, l.prototype.done = function (t) {
- return t || (t = (new Date).getTime()), a(this.x(), this._endPosition, .1) && s(this.dx(), .1)
- }, l.prototype.reconfigure = function (t, e, n) {
- this._m = t, this._k = e, this._c = n, this.done() || (this._solution = this._solve(this.x() - this._endPosition, this.dx()), this._startTime = (new Date).getTime())
- }, l.prototype.springConstant = function () {
- return this._k
- }, l.prototype.damping = function () {
- return this._c
- }, l.prototype.configuration = function () {
- function t(t, e) {
- t.reconfigure(1, e, t.damping())
- }
- function e(t, e) {
- t.reconfigure(1, t.springConstant(), e)
- }
- return [{
- label: "Spring Constant",
- read: this.springConstant.bind(this),
- write: t.bind(this, this),
- min: 100,
- max: 1e3
- }, {
- label: "Damping",
- read: this.damping.bind(this),
- write: e.bind(this, this),
- min: 1,
- max: 500
- }]
- }, f.prototype.setEnd = function (t, e, n, i) {
- var r = (new Date).getTime();
- this._springX.setEnd(t, i, r), this._springY.setEnd(e, i, r), this._springScale.setEnd(n, i, r), this._startTime = r
- }, f.prototype.x = function () {
- var t = ((new Date).getTime() - this._startTime) / 1e3;
- return {x: this._springX.x(t), y: this._springY.x(t), scale: this._springScale.x(t)}
- }, f.prototype.done = function () {
- var t = (new Date).getTime();
- return this._springX.done(t) && this._springY.done(t) && this._springScale.done(t)
- }, f.prototype.reconfigure = function (t, e, n) {
- this._springX.reconfigure(t, e, n), this._springY.reconfigure(t, e, n), this._springScale.reconfigure(t, e, n)
- };
- var d = n("d4cd"), h = !1;
- function p(t) {
- h || (h = !0, requestAnimationFrame((function () {
- t(), h = !1
- })))
- }
- function v(t, e) {
- if (t === e) return 0;
- var n = t.offsetLeft;
- return t.offsetParent ? n += v(t.offsetParent, e) : 0
- }
- function g(t, e) {
- if (t === e) return 0;
- var n = t.offsetTop;
- return t.offsetParent ? n += g(t.offsetParent, e) : 0
- }
- function m(t, e) {
- return +((1e3 * t - 1e3 * e) / 1e3).toFixed(1)
- }
- function b(t, e, n) {
- var i = function (t) {
- t && t.id && cancelAnimationFrame(t.id), t && (t.cancelled = !0)
- }, r = {id: 0, cancelled: !1};
- function o(e, n, i, r) {
- if (!e || !e.cancelled) {
- i(n);
- var a = t.done();
- a || e.cancelled || (e.id = requestAnimationFrame(o.bind(null, e, n, i, r))), a && r && r(n)
- }
- }
- return o(r, t, e, n), {cancel: i.bind(null, r), model: t}
- }
- var y = {
- name: "MovableView",
- mixins: [o["a"]],
- props: {
- direction: {type: String, default: "none"},
- inertia: {type: [Boolean, String], default: !1},
- outOfBounds: {type: [Boolean, String], default: !1},
- x: {type: [Number, String], default: 0},
- y: {type: [Number, String], default: 0},
- damping: {type: [Number, String], default: 20},
- friction: {type: [Number, String], default: 2},
- disabled: {type: [Boolean, String], default: !1},
- scale: {type: [Boolean, String], default: !1},
- scaleMin: {type: [Number, String], default: .5},
- scaleMax: {type: [Number, String], default: 10},
- scaleValue: {type: [Number, String], default: 1},
- animation: {type: [Boolean, String], default: !0}
- },
- data: function () {
- return {
- xSync: this._getPx(this.x),
- ySync: this._getPx(this.y),
- scaleValueSync: Number(this.scaleValue) || 1,
- width: 0,
- height: 0,
- minX: 0,
- minY: 0,
- maxX: 0,
- maxY: 0
- }
- },
- computed: {
- dampingNumber: function () {
- var t = Number(this.damping);
- return isNaN(t) ? 20 : t
- }, frictionNumber: function () {
- var t = Number(this.friction);
- return isNaN(t) || t <= 0 ? 2 : t
- }, scaleMinNumber: function () {
- var t = Number(this.scaleMin);
- return isNaN(t) ? .5 : t
- }, scaleMaxNumber: function () {
- var t = Number(this.scaleMax);
- return isNaN(t) ? 10 : t
- }, xMove: function () {
- return "all" === this.direction || "horizontal" === this.direction
- }, yMove: function () {
- return "all" === this.direction || "vertical" === this.direction
- }
- },
- watch: {
- x: function (t) {
- this.xSync = this._getPx(t)
- }, xSync: function (t) {
- this._setX(t)
- }, y: function (t) {
- this.ySync = this._getPx(t)
- }, ySync: function (t) {
- this._setY(t)
- }, scaleValue: function (t) {
- this.scaleValueSync = Number(t) || 0
- }, scaleValueSync: function (t) {
- this._setScaleValue(t)
- }, scaleMinNumber: function () {
- this._setScaleMinOrMax()
- }, scaleMaxNumber: function () {
- this._setScaleMinOrMax()
- }
- },
- created: function () {
- this._offset = {x: 0, y: 0}, this._scaleOffset = {
- x: 0,
- y: 0
- }, this._translateX = 0, this._translateY = 0, this._scale = 1, this._oldScale = 1, this._STD = new f(1, 9 * Math.pow(this.dampingNumber, 2) / 40, this.dampingNumber), this._friction = new u(1, this.frictionNumber), this._declineX = new c, this._declineY = new c, this.__touchInfo = {
- historyX: [0, 0],
- historyY: [0, 0],
- historyT: [0, 0]
- }
- },
- mounted: function () {
- this.touchtrack(this.$el, "_onTrack"), this.setParent(), this._friction.reconfigure(1, this.frictionNumber), this._STD.reconfigure(1, 9 * Math.pow(this.dampingNumber, 2) / 40, this.dampingNumber), this.$el.style.transformOrigin = "center", Object(d["b"])()
- },
- methods: {
- _getPx: function (t) {
- return /\d+[ur]px$/i.test(t) ? uni.upx2px(parseFloat(t)) : Number(t) || 0
- }, _setX: function (t) {
- if (this.xMove) {
- if (t + this._scaleOffset.x === this._translateX) return this._translateX;
- this._SFA && this._SFA.cancel(), this._animationTo(t + this._scaleOffset.x, this.ySync + this._scaleOffset.y, this._scale)
- }
- return t
- }, _setY: function (t) {
- if (this.yMove) {
- if (t + this._scaleOffset.y === this._translateY) return this._translateY;
- this._SFA && this._SFA.cancel(), this._animationTo(this.xSync + this._scaleOffset.x, t + this._scaleOffset.y, this._scale)
- }
- return t
- }, _setScaleMinOrMax: function () {
- if (!this.scale) return !1;
- this._updateScale(this._scale, !0), this._updateOldScale(this._scale)
- }, _setScaleValue: function (t) {
- return !!this.scale && (t = this._adjustScale(t), this._updateScale(t, !0), this._updateOldScale(t), t)
- }, __handleTouchStart: function () {
- this._isScaling || this.disabled || (Object(d["a"])({disable: !0}), this._FA && this._FA.cancel(), this._SFA && this._SFA.cancel(), this.__touchInfo.historyX = [0, 0], this.__touchInfo.historyY = [0, 0], this.__touchInfo.historyT = [0, 0], this.xMove && (this.__baseX = this._translateX), this.yMove && (this.__baseY = this._translateY), this.$el.style.willChange = "transform", this._checkCanMove = null, this._firstMoveDirection = null, this._isTouching = !0)
- }, __handleTouchMove: function (t) {
- var e = this;
- if (!this._isScaling && !this.disabled && this._isTouching) {
- var n = this._translateX, i = this._translateY;
- if (null === this._firstMoveDirection && (this._firstMoveDirection = Math.abs(t.detail.dx / t.detail.dy) > 1 ? "htouchmove" : "vtouchmove"), this.xMove && (n = t.detail.dx + this.__baseX, this.__touchInfo.historyX.shift(), this.__touchInfo.historyX.push(n), this.yMove || null !== this._checkCanMove || (this._checkCanMove = Math.abs(t.detail.dx / t.detail.dy) < 1)), this.yMove && (i = t.detail.dy + this.__baseY, this.__touchInfo.historyY.shift(), this.__touchInfo.historyY.push(i), this.xMove || null !== this._checkCanMove || (this._checkCanMove = Math.abs(t.detail.dy / t.detail.dx) < 1)), this.__touchInfo.historyT.shift(), this.__touchInfo.historyT.push(t.detail.timeStamp), !this._checkCanMove) {
- t.preventDefault();
- var r = "touch";
- n < this.minX ? this.outOfBounds ? (r = "touch-out-of-bounds", n = this.minX - this._declineX.x(this.minX - n)) : n = this.minX : n > this.maxX && (this.outOfBounds ? (r = "touch-out-of-bounds", n = this.maxX + this._declineX.x(n - this.maxX)) : n = this.maxX), i < this.minY ? this.outOfBounds ? (r = "touch-out-of-bounds", i = this.minY - this._declineY.x(this.minY - i)) : i = this.minY : i > this.maxY && (this.outOfBounds ? (r = "touch-out-of-bounds", i = this.maxY + this._declineY.x(i - this.maxY)) : i = this.maxY), p((function () {
- e._setTransform(n, i, e._scale, r)
- }))
- }
- }
- }, __handleTouchEnd: function () {
- var t = this;
- if (!this._isScaling && !this.disabled && this._isTouching && (Object(d["a"])({disable: !1}), this.$el.style.willChange = "auto", this._isTouching = !1, !this._checkCanMove && !this._revise("out-of-bounds") && this.inertia)) {
- var e = 1e3 * (this.__touchInfo.historyX[1] - this.__touchInfo.historyX[0]) / (this.__touchInfo.historyT[1] - this.__touchInfo.historyT[0]),
- n = 1e3 * (this.__touchInfo.historyY[1] - this.__touchInfo.historyY[0]) / (this.__touchInfo.historyT[1] - this.__touchInfo.historyT[0]);
- this._friction.setV(e, n), this._friction.setS(this._translateX, this._translateY);
- var i = this._friction.delta().x, r = this._friction.delta().y,
- o = i + this._translateX, a = r + this._translateY;
- o < this.minX ? (o = this.minX, a = this._translateY + (this.minX - this._translateX) * r / i) : o > this.maxX && (o = this.maxX, a = this._translateY + (this.maxX - this._translateX) * r / i), a < this.minY ? (a = this.minY, o = this._translateX + (this.minY - this._translateY) * i / r) : a > this.maxY && (a = this.maxY, o = this._translateX + (this.maxY - this._translateY) * i / r), this._friction.setEnd(o, a), this._FA = b(this._friction, (function () {
- var e = t._friction.s(), n = e.x, i = e.y;
- t._setTransform(n, i, t._scale, "friction")
- }), (function () {
- t._FA.cancel()
- }))
- }
- }, _onTrack: function (t) {
- switch (t.detail.state) {
- case"start":
- this.__handleTouchStart();
- break;
- case"move":
- this.__handleTouchMove(t);
- break;
- case"end":
- this.__handleTouchEnd()
- }
- }, _getLimitXY: function (t, e) {
- var n = !1;
- return t > this.maxX ? (t = this.maxX, n = !0) : t < this.minX && (t = this.minX, n = !0), e > this.maxY ? (e = this.maxY, n = !0) : e < this.minY && (e = this.minY, n = !0), {
- x: t,
- y: e,
- outOfBounds: n
- }
- }, setParent: function () {
- if (this.$parent._isMounted) {
- this._FA && this._FA.cancel(), this._SFA && this._SFA.cancel();
- var t = this.scale ? this.scaleValueSync : 1;
- this._updateOffset(), this._updateWH(t), this._updateBoundary(), this._translateX = this.xSync + this._scaleOffset.x, this._translateY = this.ySync + this._scaleOffset.y;
- var e = this._getLimitXY(this._translateX, this._translateY), n = e.x, i = e.y;
- this._setTransform(n, i, t, "", !0), this._updateOldScale(t)
- }
- }, _updateOffset: function () {
- this._offset.x = v(this.$el, this.$parent.$el), this._offset.y = g(this.$el, this.$parent.$el)
- }, _updateWH: function (t) {
- t = t || this._scale, t = this._adjustScale(t);
- var e = this.$el.getBoundingClientRect();
- this.height = e.height / this._scale, this.width = e.width / this._scale;
- var n = this.height * t, i = this.width * t;
- this._scaleOffset.x = (i - this.width) / 2, this._scaleOffset.y = (n - this.height) / 2
- }, _updateBoundary: function () {
- var t = 0 - this._offset.x + this._scaleOffset.x,
- e = this.$parent.width - this.width - this._offset.x - this._scaleOffset.x;
- this.minX = Math.min(t, e), this.maxX = Math.max(t, e);
- var n = 0 - this._offset.y + this._scaleOffset.y,
- i = this.$parent.height - this.height - this._offset.y - this._scaleOffset.y;
- this.minY = Math.min(n, i), this.maxY = Math.max(n, i)
- }, _beginScale: function () {
- this._isScaling = !0
- }, _endScale: function () {
- this._isScaling = !1, this._updateOldScale(this._scale)
- }, _setScale: function (t) {
- this.scale && (t = this._oldScale * t, this._beginScale(), this._updateScale(t))
- }, _updateScale: function (t, e) {
- var n = this;
- if (this.scale) {
- t = this._adjustScale(t), this._updateWH(t), this._updateBoundary();
- var i = this._getLimitXY(this._translateX, this._translateY), r = i.x, o = i.y;
- e ? this._animationTo(r, o, t, "", !0, !0) : p((function () {
- n._setTransform(r, o, t, "", !0, !0)
- }))
- }
- }, _updateOldScale: function (t) {
- this._oldScale = t
- }, _adjustScale: function (t) {
- return t = Math.max(.5, this.scaleMinNumber, t), t = Math.min(10, this.scaleMaxNumber, t), t
- }, _animationTo: function (t, e, n, i, r, o) {
- var a = this;
- this._FA && this._FA.cancel(), this._SFA && this._SFA.cancel(), this.xMove || (t = this._translateX), this.yMove || (e = this._translateY), this.scale || (n = this._scale);
- var s = this._getLimitXY(t, e);
- t = s.x, e = s.y, this.animation ? (this._STD._springX._solution = null, this._STD._springY._solution = null, this._STD._springScale._solution = null, this._STD._springX._endPosition = this._translateX, this._STD._springY._endPosition = this._translateY, this._STD._springScale._endPosition = this._scale, this._STD.setEnd(t, e, n, 1), this._SFA = b(this._STD, (function () {
- var t = a._STD.x(), e = t.x, n = t.y, s = t.scale;
- a._setTransform(e, n, s, i, r, o)
- }), (function () {
- a._SFA.cancel()
- }))) : this._setTransform(t, e, n, i, r, o)
- }, _revise: function (t) {
- var e = this._getLimitXY(this._translateX, this._translateY), n = e.x, i = e.y,
- r = e.outOfBounds;
- return r && this._animationTo(n, i, this._scale, t), r
- }, _setTransform: function (t, e, n) {
- var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "",
- r = arguments.length > 4 ? arguments[4] : void 0,
- o = arguments.length > 5 ? arguments[5] : void 0;
- null !== t && "NaN" !== t.toString() && "number" === typeof t || (t = this._translateX || 0), null !== e && "NaN" !== e.toString() && "number" === typeof e || (e = this._translateY || 0), t = Number(t.toFixed(1)), e = Number(e.toFixed(1)), n = Number(n.toFixed(1)), this._translateX === t && this._translateY === e || r || this.$trigger("change", {}, {
- x: m(t, this._scaleOffset.x),
- y: m(e, this._scaleOffset.y),
- source: i
- }), this.scale || (n = this._scale), n = this._adjustScale(n), n = +n.toFixed(3), o && n !== this._scale && this.$trigger("scale", {}, {
- x: t,
- y: e,
- scale: n
- });
- var a = "translateX(" + t + "px) translateY(" + e + "px) translateZ(0px) scale(" + n + ")";
- this.$el.style.transform = a, this.$el.style.webkitTransform = a, this._translateX = t, this._translateY = e, this._scale = n
- }
- }
- }, _ = y, w = (n("7c2b"), n("2877")), k = Object(w["a"])(_, i, r, !1, null, null, null);
- e["default"] = k.exports
- }, 8875: function (t, e, n) {
- var i, r, o;
- (function (n, a) {
- r = [], i = a, o = "function" === typeof i ? i.apply(e, r) : i, void 0 === o || (t.exports = o)
- })("undefined" !== typeof self && self, (function () {
- function t() {
- if (document.currentScript) return document.currentScript;
- try {
- throw new Error
- } catch (f) {
- var t, e, n, i = /.*at [^(]*\((.*):(.+):(.+)\)$/gi, r = /@([^@]*):(\d+):(\d+)\s*$/gi,
- o = i.exec(f.stack) || r.exec(f.stack), a = o && o[1] || !1, s = o && o[2] || !1,
- c = document.location.href.replace(document.location.hash, ""),
- u = document.getElementsByTagName("script");
- a === c && (t = document.documentElement.outerHTML, e = new RegExp("(?:[^\\n]+?\\n){0," + (s - 2) + "}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*", "i"), n = t.replace(e, "$1").trim());
- for (var l = 0; l < u.length; l++) {
- if ("interactive" === u[l].readyState) return u[l];
- if (u[l].src === a) return u[l];
- if (a === c && u[l].innerHTML && u[l].innerHTML.trim() === n) return u[l]
- }
- return null
- }
- }
- return t
- }))
- }, "893e": function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- n.d(e, "connectSocket", (function () {
- return p
- })), n.d(e, "sendSocketMessage", (function () {
- return v
- })), n.d(e, "closeSocket", (function () {
- return g
- })), n.d(e, "onSocketOpen", (function () {
- return b
- })), n.d(e, "onSocketError", (function () {
- return y
- })), n.d(e, "onSocketMessage", (function () {
- return _
- })), n.d(e, "onSocketClose", (function () {
- return w
- }));
- var c = t, u = c.invokeCallbackHandler, l = ["open", "close", "error", "message"], f = {},
- d = [], h = function () {
- function t(e, n, o) {
- var a, c = this;
- r(this, t), s(this, "_webSocket", void 0);
- try {
- var h = this._webSocket = new WebSocket(e, n);
- h.binaryType = "arraybuffer", this._callbacks = {}, l.forEach((function (t) {
- c._callbacks[t] = [], h.addEventListener(t, (function (e) {
- var n = "message" === t ? {data: e.data} : {};
- if (c._callbacks[t].forEach((function (e) {
- try {
- e(n)
- } catch (r) {
- i.error("thirdScriptError\n".concat(r, ";at socketTask.on").concat(t[0].toUpperCase() + t.substr(1), " callback function\n"), r)
- }
- })), c === d[0] && f[t] && u(f[t], n), "error" === t || "close" === t) {
- var r = d.indexOf(c);
- r >= 0 && d.splice(r, 1)
- }
- }))
- }));
- var p = ["CLOSED", "CLOSING", "CONNECTING", "OPEN", "readyState"];
- p.forEach((function (t) {
- Object.defineProperty(c, t, {
- get: function () {
- return h[t]
- }
- })
- }))
- } catch (v) {
- a = v
- }
- o(a, this)
- }
- return a(t, [{
- key: "send", value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = t.data, n = this._webSocket;
- try {
- if (n.readyState !== n.OPEN) throw new Error("SocketTask.readyState is not OPEN");
- n.send(e), this._callback(t, "sendSocketMessage:ok")
- } catch (i) {
- this._callback(t, "sendSocketMessage:fail ".concat(i))
- }
- }
- }, {
- key: "close", value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- e = this._webSocket, n = [];
- n.push(t.code || 1e3), "string" === typeof t.reason && n.push(t.reason);
- try {
- e.close.apply(e, n), this._callback(t, "closeSocket:ok")
- } catch (i) {
- this._callback(t, "closeSocket:fail ".concat(i))
- }
- }
- }, {
- key: "_callback", value: function (t, e) {
- var n = t.success, i = t.fail, r = t.complete, o = {errMsg: e};
- /:ok$/.test(e) ? "function" === typeof n && n(o) : "function" === typeof i && i(o), "function" === typeof r && r(o)
- }
- }]), t
- }();
- function p(t, e) {
- var n = t.url, i = t.protocols;
- return new h(n, i, (function (t, n) {
- t || d.push(n), u(e, {errMsg: "connectSocket:" + (t ? "fail ".concat(t) : "ok")})
- }))
- }
- function v(t, e) {
- var n = d[0];
- n && n.readyState === n.OPEN ? n.send(Object.assign({}, t, {
- complete: function (t) {
- u(e, t)
- }
- })) : u(e, {errMsg: "sendSocketMessage:fail WebSocket is not connected "})
- }
- function g(t, e) {
- var n = d[0];
- n ? n.close(Object.assign({}, t, {
- complete: function (t) {
- u(e, t)
- }
- })) : u(e, {errMsg: "closeSocket:fail WebSocket is not connected"})
- }
- function m(t) {
- return function (e) {
- f[t] = e
- }
- }
- l.forEach((function (t) {
- var e = t[0].toUpperCase() + t.substr(1);
- h.prototype["on".concat(e)] = function (e) {
- this._callbacks[t].push(e)
- }
- }));
- var b = m("open"), y = m("error"), _ = m("message"), w = m("close")
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, "898f": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "previewImage", (function () {
- return a
- })), n.d(e, "closePreviewImage", (function () {
- return s
- }));
- var i = n("db70"), r = "longPressActionsCallback", o = {};
- function a() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- return o = t.longPressActions || {}, (o.success || o.fail || o.complete) && (o.callbackId = r), Object(i["c"])("previewImagePlus", t)
- }
- function s() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- return Object(i["c"])("closePreviewImagePlus", t)
- }
- Object(i["d"])(r, (function (t) {
- var e = t.errMsg || "";
- new RegExp("\\:\\s*fail").test(e) ? o.fail && o.fail(t) : o.success && o.success(t), o.complete && o.complete(t)
- }))
- }, "8a36": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("f2b3");
- e["a"] = {
- props: {id: {type: String, default: ""}}, created: function () {
- var t = this;
- this._addListeners(this.id), this.$watch("id", (function (e, n) {
- t._removeListeners(n, !0), t._addListeners(e, !0)
- }))
- }, beforeDestroy: function () {
- this._removeListeners(this.id)
- }, methods: {
- _addListeners: function (e, n) {
- var r = this;
- if (!n || e) {
- var o = this.$options.listeners;
- Object(i["l"])(o) && Object.keys(o).forEach((function (i) {
- n ? 0 !== i.indexOf("@") && 0 !== i.indexOf("uni-") && t.on("uni-".concat(i, "-").concat(r.$page.id, "-").concat(e), r[o[i]]) : 0 === i.indexOf("@") ? r.$on("uni-".concat(i.substr(1)), r[o[i]]) : 0 === i.indexOf("uni-") ? t.on(i, r[o[i]]) : e && t.on("uni-".concat(i, "-").concat(r.$page.id, "-").concat(e), r[o[i]])
- }))
- }
- }, _removeListeners: function (e, n) {
- var r = this;
- if (!n || e) {
- var o = this.$options.listeners;
- Object(i["l"])(o) && Object.keys(o).forEach((function (i) {
- n ? 0 !== i.indexOf("@") && 0 !== i.indexOf("uni-") && t.off("uni-".concat(i, "-").concat(r.$page.id, "-").concat(e), r[o[i]]) : 0 === i.indexOf("@") ? r.$off("uni-".concat(i.substr(1)), r[o[i]]) : 0 === i.indexOf("uni-") ? t.off(i, r[o[i]]) : e && t.off("uni-".concat(i, "-").concat(r.$page.id, "-").concat(e), r[o[i]])
- }))
- }
- }
- }
- }
- }).call(this, n("501c"))
- }, "8aec": function (t, e, n) {
- "use strict";
- var i = n("5363"), r = n("72b3");
- function o(t, e, n) {
- this._extent = t, this._friction = e || new i["a"](.01), this._spring = n || new r["a"](1, 90, 20), this._startTime = 0, this._springing = !1, this._springOffset = 0
- }
- function a(t, e, n) {
- function i(t, e, n, r) {
- if (!t || !t.cancelled) {
- n(e);
- var o = e.done();
- o || t.cancelled || (t.id = requestAnimationFrame(i.bind(null, t, e, n, r))), o && r && r(e)
- }
- }
- function r(t) {
- t && t.id && cancelAnimationFrame(t.id), t && (t.cancelled = !0)
- }
- var o = {id: 0, cancelled: !1};
- return i(o, t, e, n), {cancel: r.bind(null, o), model: t}
- }
- function s(t, e) {
- e = e || {}, this._element = t, this._options = e, this._enableSnap = e.enableSnap || !1, this._itemSize = e.itemSize || 0, this._enableX = e.enableX || !1, this._enableY = e.enableY || !1, this._shouldDispatchScrollEvent = !!e.onScroll, this._enableX ? (this._extent = (e.scrollWidth || this._element.offsetWidth) - this._element.parentElement.offsetWidth, this._scrollWidth = e.scrollWidth) : (this._extent = (e.scrollHeight || this._element.offsetHeight) - this._element.parentElement.offsetHeight, this._scrollHeight = e.scrollHeight), this._position = 0, this._scroll = new o(this._extent, e.friction, e.spring), this._onTransitionEnd = this.onTransitionEnd.bind(this), this.updatePosition()
- }
- o.prototype.snap = function (t, e) {
- this._springOffset = 0, this._springing = !0, this._spring.snap(t), this._spring.setEnd(e)
- }, o.prototype.set = function (t, e) {
- this._friction.set(t, e), t > 0 && e >= 0 ? (this._springOffset = 0, this._springing = !0, this._spring.snap(t), this._spring.setEnd(0)) : t < -this._extent && e <= 0 ? (this._springOffset = 0, this._springing = !0, this._spring.snap(t), this._spring.setEnd(-this._extent)) : this._springing = !1, this._startTime = (new Date).getTime()
- }, o.prototype.x = function (t) {
- if (!this._startTime) return 0;
- if (t || (t = ((new Date).getTime() - this._startTime) / 1e3), this._springing) return this._spring.x() + this._springOffset;
- var e = this._friction.x(t), n = this.dx(t);
- return (e > 0 && n >= 0 || e < -this._extent && n <= 0) && (this._springing = !0, this._spring.setEnd(0, n), e < -this._extent ? this._springOffset = -this._extent : this._springOffset = 0, e = this._spring.x() + this._springOffset), e
- }, o.prototype.dx = function (t) {
- var e = 0;
- return e = this._lastTime === t ? this._lastDx : this._springing ? this._spring.dx(t) : this._friction.dx(t), this._lastTime = t, this._lastDx = e, e
- }, o.prototype.done = function () {
- return this._springing ? this._spring.done() : this._friction.done()
- }, o.prototype.setVelocityByEnd = function (t) {
- this._friction.setVelocityByEnd(t)
- }, o.prototype.configuration = function () {
- var t = this._friction.configuration();
- return t.push.apply(t, this._spring.configuration()), t
- }, s.prototype.onTouchStart = function () {
- this._startPosition = this._position, this._lastChangePos = this._startPosition, this._startPosition > 0 ? this._startPosition /= .5 : this._startPosition < -this._extent && (this._startPosition = (this._startPosition + this._extent) / .5 - this._extent), this._animation && (this._animation.cancel(), this._scrolling = !1), this.updatePosition()
- }, s.prototype.onTouchMove = function (t, e) {
- var n = this._startPosition;
- this._enableX ? n += t : this._enableY && (n += e), n > 0 ? n *= .5 : n < -this._extent && (n = .5 * (n + this._extent) - this._extent), this._position = n, this.updatePosition(), this.dispatchScroll()
- }, s.prototype.onTouchEnd = function (t, e, n) {
- var i = this;
- if (this._enableSnap && this._position > -this._extent && this._position < 0) {
- if (this._enableY && (Math.abs(e) < this._itemSize && Math.abs(n.y) < 300 || Math.abs(n.y) < 150)) return void this.snap();
- if (this._enableX && (Math.abs(t) < this._itemSize && Math.abs(n.x) < 300 || Math.abs(n.x) < 150)) return void this.snap()
- }
- if (this._enableX ? this._scroll.set(this._position, n.x) : this._enableY && this._scroll.set(this._position, n.y), this._enableSnap) {
- var r = this._scroll._friction.x(100), o = r % this._itemSize,
- s = Math.abs(o) > this._itemSize / 2 ? r - (this._itemSize - Math.abs(o)) : r - o;
- s <= 0 && s >= -this._extent && this._scroll.setVelocityByEnd(s)
- }
- this._lastTime = Date.now(), this._lastDelay = 0, this._scrolling = !0, this._lastChangePos = this._position, this._lastIdx = Math.floor(Math.abs(this._position / this._itemSize)), this._animation = a(this._scroll, (function () {
- var t = Date.now(), e = (t - i._scroll._startTime) / 1e3, n = i._scroll.x(e);
- i._position = n, i.updatePosition();
- var r = i._scroll.dx(e);
- i._shouldDispatchScrollEvent && t - i._lastTime > i._lastDelay && (i.dispatchScroll(), i._lastDelay = Math.abs(2e3 / r), i._lastTime = t)
- }), (function () {
- i._enableSnap && (s <= 0 && s >= -i._extent && (i._position = s, i.updatePosition()), "function" === typeof i._options.onSnap && i._options.onSnap(Math.floor(Math.abs(i._position) / i._itemSize))), i._shouldDispatchScrollEvent && i.dispatchScroll(), i._scrolling = !1
- }))
- }, s.prototype.onTransitionEnd = function () {
- this._element.style.transition = "", this._element.style.webkitTransition = "", this._element.removeEventListener("transitionend", this._onTransitionEnd), this._element.removeEventListener("webkitTransitionEnd", this._onTransitionEnd), this._snapping && (this._snapping = !1), this.dispatchScroll()
- }, s.prototype.snap = function () {
- var t = this._itemSize, e = this._position % t,
- n = Math.abs(e) > this._itemSize / 2 ? this._position - (t - Math.abs(e)) : this._position - e;
- this._position !== n && (this._snapping = !0, this.scrollTo(-n), "function" === typeof this._options.onSnap && this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize)))
- }, s.prototype.scrollTo = function (t, e) {
- this._animation && (this._animation.cancel(), this._scrolling = !1), "number" === typeof t && (this._position = -t), this._position < -this._extent ? this._position = -this._extent : this._position > 0 && (this._position = 0), this._element.style.transition = "transform " + (e || .2) + "s ease-out", this._element.style.webkitTransition = "-webkit-transform " + (e || .2) + "s ease-out", this.updatePosition(), this._element.addEventListener("transitionend", this._onTransitionEnd), this._element.addEventListener("webkitTransitionEnd", this._onTransitionEnd)
- }, s.prototype.dispatchScroll = function () {
- if ("function" === typeof this._options.onScroll && Math.round(this._lastPos) !== Math.round(this._position)) {
- this._lastPos = this._position;
- var t = {
- target: {
- scrollLeft: this._enableX ? -this._position : 0,
- scrollTop: this._enableY ? -this._position : 0,
- scrollHeight: this._scrollHeight || this._element.offsetHeight,
- scrollWidth: this._scrollWidth || this._element.offsetWidth,
- offsetHeight: this._element.parentElement.offsetHeight,
- offsetWidth: this._element.parentElement.offsetWidth
- }
- };
- this._options.onScroll(t)
- }
- }, s.prototype.update = function (t, e, n) {
- var i = 0, r = this._position;
- this._enableX ? (i = this._element.childNodes.length ? (e || this._element.offsetWidth) - this._element.parentElement.offsetWidth : 0, this._scrollWidth = e) : (i = this._element.childNodes.length ? (e || this._element.offsetHeight) - this._element.parentElement.offsetHeight : 0, this._scrollHeight = e), "number" === typeof t && (this._position = -t), this._position < -i ? this._position = -i : this._position > 0 && (this._position = 0), this._itemSize = n || this._itemSize, this.updatePosition(), r !== this._position && (this.dispatchScroll(), "function" === typeof this._options.onSnap && this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize))), this._extent = i, this._scroll._extent = i
- }, s.prototype.updatePosition = function () {
- var t = "";
- this._enableX ? t = "translateX(" + this._position + "px) translateZ(0)" : this._enableY && (t = "translateY(" + this._position + "px) translateZ(0)"), this._element.style.webkitTransform = t, this._element.style.transform = t
- }, s.prototype.isScrolling = function () {
- return this._scrolling || this._snapping
- }, e["a"] = {
- methods: {
- initScroller: function (t, e) {
- this._touchInfo = {
- trackingID: -1,
- maxDy: 0,
- maxDx: 0
- }, this._scroller = new s(t, e), this.__handleTouchStart = this._handleTouchStart.bind(this), this.__handleTouchMove = this._handleTouchMove.bind(this), this.__handleTouchEnd = this._handleTouchEnd.bind(this), this._initedScroller = !0
- }, _findDelta: function (t) {
- var e = this._touchInfo;
- return "move" === t.detail.state || "end" === t.detail.state ? {
- x: t.detail.dx,
- y: t.detail.dy
- } : {x: t.screenX - e.x, y: t.screenY - e.y}
- }, _handleTouchStart: function (t) {
- var e = this._touchInfo, n = this._scroller;
- n && ("start" === t.detail.state ? (e.trackingID = "touch", e.x = t.detail.x, e.y = t.detail.y) : (e.trackingID = "mouse", e.x = t.screenX, e.y = t.screenY), e.maxDx = 0, e.maxDy = 0, e.historyX = [0], e.historyY = [0], e.historyTime = [t.detail.timeStamp], e.listener = n, n.onTouchStart && n.onTouchStart(), t.preventDefault())
- }, _handleTouchMove: function (t) {
- var e = this._touchInfo;
- if (-1 !== e.trackingID) {
- t.preventDefault();
- var n = this._findDelta(t);
- if (n) {
- for (e.maxDy = Math.max(e.maxDy, Math.abs(n.y)), e.maxDx = Math.max(e.maxDx, Math.abs(n.x)), e.historyX.push(n.x), e.historyY.push(n.y), e.historyTime.push(t.detail.timeStamp); e.historyTime.length > 10;) e.historyTime.shift(), e.historyX.shift(), e.historyY.shift();
- e.listener && e.listener.onTouchMove && e.listener.onTouchMove(n.x, n.y, t.detail.timeStamp)
- }
- }
- }, _handleTouchEnd: function (t) {
- var e = this._touchInfo;
- if (-1 !== e.trackingID) {
- t.preventDefault();
- var n = this._findDelta(t);
- if (n) {
- var i = e.listener;
- e.trackingID = -1, e.listener = null;
- var r = e.historyTime.length, o = {x: 0, y: 0};
- if (r > 2) for (var a = e.historyTime.length - 1, s = e.historyTime[a], c = e.historyX[a], u = e.historyY[a]; a > 0;) {
- a--;
- var l = e.historyTime[a], f = s - l;
- if (f > 30 && f < 50) {
- o.x = (c - e.historyX[a]) / (f / 1e3), o.y = (u - e.historyY[a]) / (f / 1e3);
- break
- }
- }
- e.historyTime = [], e.historyX = [], e.historyY = [], i && i.onTouchEnd && i.onTouchEnd(n.x, n.y, o)
- }
- }
- }
- }
- }
- }, "8af1": function (t, e, n) {
- "use strict";
- var i = n("5cf8");
- n.d(e, "a", (function () {
- return i["a"]
- }));
- var r = n("8a36");
- n.d(e, "f", (function () {
- return r["a"]
- }));
- var o = n("83a6");
- n.d(e, "c", (function () {
- return o["a"]
- }));
- var a = n("1b6f");
- n.d(e, "g", (function () {
- return a["a"]
- }));
- var s = n("5a23");
- n.d(e, "e", (function () {
- return s["a"]
- }));
- var c = n("b282");
- n.d(e, "b", (function () {
- return c["a"]
- }));
- var u = n("a878");
- n.d(e, "d", (function () {
- return u["a"]
- }))
- }, "8b18": function (t, e, n) {
- }, "8b3f": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "onNetworkStatusChange", (function () {
- return a
- })), n.d(e, "offNetworkStatusChange", (function () {
- return s
- }));
- var i = n("a118"), r = n("db70"), o = [];
- function a(t) {
- o.push(t)
- }
- function s(t) {
- if (t) {
- var e = o.indexOf(t);
- e >= 0 && o.splice(e, 1)
- }
- }
- Object(r["d"])("onNetworkStatusChange", (function (t) {
- o.forEach((function (e) {
- Object(i["a"])(e, t)
- }))
- }))
- }, "8b61": function (t, e, n) {
- }, "8b67": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "TEMP_PATH", (function () {
- return i
- }));
- var i = ""
- }, "8bbf": function (t, n) {
- t.exports = e
- }, "8c15": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i = n("85b6"), r = n("d4b6"), o = n("61c2"), a = n("c4c5");
- function s() {
- t.publishHandler("onPageReady", {}, this.$page.id)
- }
- e["default"] = {
- install: function (t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- e.routes, Object(r["a"])();
- var n = function (t, e) {
- for (var n = t.target; n && n !== e; n = n.parentNode) if (n.tagName && 0 === n.tagName.indexOf("UNI-")) break;
- return n
- };
- t.prototype.$handleEvent = function (t) {
- if (t instanceof Event) {
- var e = n(t, this.$el);
- t = r["b"].call(this, t.type, t, {}, e || t.target, t.currentTarget)
- }
- return t
- }, t.prototype.$getComponentDescriptor = function (t, e) {
- return Object(a["a"])(t || this, e)
- }, Object.defineProperty(t.prototype, "$ownerInstance", {
- get: function () {
- return this.$getComponentDescriptor(this)
- }
- }), t.prototype.$handleWxsEvent = function (t) {
- if (t instanceof Event) {
- var e = t.currentTarget,
- i = e && e.__vue__ && e.__vue__.$getComponentDescriptor(e.__vue__, !1),
- o = t;
- t = r["b"].call(this, o.type, o, {}, n(o, this.$el) || o.target, o.currentTarget), t.instance = i, t.preventDefault = function () {
- return o.preventDefault()
- }, t.stopPropagation = function () {
- return o.stopPropagation()
- }
- }
- return t
- }, t.mixin({
- beforeCreate: function () {
- var t = this, e = this.$options, n = e.wxs;
- n && Object.keys(n).forEach((function (e) {
- t[e] = n[e]
- })), e.behaviors && e.behaviors.length && Object(o["a"])(e, this), Object(i["d"])(this) && (e.mounted = e.mounted ? [].concat(s, e.mounted) : [s])
- }
- })
- }
- }
- }.call(this, n("501c"))
- }, "8ce3": function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- n.d(e, "chooseVideo", (function () {
- return f
- }));
- var r = n("e2e2"), o = n("a6b0"), a = n("3563"), s = n("8af1"), c = t,
- u = c.invokeCallbackHandler, l = null;
- function f(t, e) {
- var n = t.sourceType, c = t.extension;
- l && (document.body.removeChild(l), l = null), l = Object(a["default"])({
- sourceType: n,
- extension: c,
- type: "video"
- }), document.body.appendChild(l), l.addEventListener("change", (function (t) {
- var n, i = t.target.files[0], o = {
- errMsg: "chooseVideo:ok",
- tempFile: i,
- size: i.size,
- duration: 0,
- width: 0,
- height: 0,
- name: i.name
- };
- Object.defineProperty(o, "tempFilePath", {
- get: function () {
- return n = n || Object(r["b"])(this.tempFile), n
- }
- });
- var a = document.createElement("video");
- if (void 0 !== a.onloadedmetadata) {
- var s = Object(r["b"])(i);
- a.onloadedmetadata = function () {
- Object(r["e"])(s), u(e, Object.assign(o, {
- duration: a.duration || 0,
- width: a.videoWidth || 0,
- height: a.videoHeight || 0
- }))
- }, setTimeout((function () {
- a.onloadedmetadata = null, Object(r["e"])(s), u(e, o)
- }), 300), a.src = s
- } else u(e, o)
- })), l.click(), s["d"].getStatus() || i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))
- }
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, "8e16": function (t, e, n) {
- "use strict";
- var i = n("ea49"), r = n.n(i);
- r.a
- }, "8e72": function (t, e, n) {
- }, "8f7e": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("8bbf"), r = n.n(i), o = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-app", {
- class: {
- "uni-app--showtabbar": t.showTabBar,
- "uni-app--maxwidth": t.showMaxWidth
- }
- }, [n("layout", {
- ref: "layout",
- attrs: {"router-key": t.key, "keep-alive-include": t.keepAliveInclude},
- on: {maxWidth: t.onMaxWidth, layout: t.onLayout}
- }), t.hasTabBar ? n("tab-bar", t._b({
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showTabBar,
- expression: "showTabBar"
- }], ref: "tabBar"
- }, "tab-bar", t.tabBarOptions, !1)) : t._e(), t.$options.components.Toast ? n("toast", t._b({}, "toast", t.showToast, !1)) : t._e(), t.$options.components.ActionSheet ? n("action-sheet", t._b({on: {close: t._onActionSheetClose}}, "action-sheet", t.showActionSheet, !1)) : t._e(), t.$options.components.Modal ? n("modal", t._b({on: {close: t._onModalClose}}, "modal", t.showModal, !1)) : t._e(), t.sysComponents && t.sysComponents.length ? t._l(t.sysComponents, (function (t, e) {
- return n(t, {key: e, tag: "component"})
- })) : t._e()], 2)
- }, a = [], s = n("cdc1"), c = s["a"], u = (n("854d"), n("2877")),
- l = Object(u["a"])(c, o, a, !1, null, null, null), f = l.exports, d = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-page", {attrs: {"data-page": t.$route.meta.pagePath}}, ["none" !== t.navigationBar.type ? n("page-head", t._b({}, "page-head", t.navigationBar, !1)) : t._e(), t.enablePullDownRefresh ? n("page-refresh", {
- ref: "refresh",
- attrs: {color: t.refreshOptions.color, offset: t.refreshOptions.offset}
- }) : t._e(), t.enablePullDownRefresh ? n("page-body", {
- nativeOn: {
- touchstart: function (e) {
- return t._touchstart(e)
- }, touchmove: function (e) {
- return t._touchmove(e)
- }, touchend: function (e) {
- return t._touchend(e)
- }, touchcancel: function (e) {
- return t._touchend(e)
- }
- }
- }, [t._t("page")], 2) : n("page-body", [t._t("page")], 2)], 1)
- }, h = [], p = n("27d0"), v = p["a"],
- g = (n("6226"), Object(u["a"])(v, d, h, !1, null, null, null)), m = g.exports, b = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("div", {
- staticClass: "uni-async-error",
- on: {click: t._onClick}
- }, [t._v(" " + t._s(t.$$t("uni.async.error")) + " ")])
- }, y = [], _ = n("a6b0"), w = {
- name: "AsyncError", mixins: [_["c"]], methods: {
- _onClick: function () {
- window.location.reload()
- }
- }
- }, k = w, S = (n("b628"), Object(u["a"])(k, b, y, !1, null, null, null)), x = S.exports,
- C = function () {
- var t = this;
- t.$createElement;
- return t._self._c, t._m(0)
- }, T = [function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("div", {staticClass: "uni-async-loading"}, [n("i", {staticClass: "uni-loading"})])
- }], O = {name: "AsyncLoading"}, A = O,
- E = (n("5727"), Object(u["a"])(A, C, T, !1, null, null, null)), j = E.exports, M = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return t.hasTabBar ? n("uni-tabbar", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showTabBar,
- expression: "showTabBar"
- }]
- }, [n("div", {
- staticClass: "uni-tabbar",
- style: {
- "flex-direction": "vertical" === t.direction ? "column" : "row",
- backgroundColor: t.tabBarOptions.backgroundColor
- }
- }, t._l(t.tabBarOptions.list, (function (e, i) {
- return n("div", {
- key: e.pagePath,
- staticClass: "uni-tabbar__item",
- on: {
- click: function (n) {
- return t._switchTab(e, i)
- }
- }
- }, [n("div", {staticClass: "uni-tabbar__bd"}, [t.showIcon && e.iconPath ? n("div", {
- staticClass: "uni-tabbar__icon",
- class: {"uni-tabbar__icon__diff": !e.text}
- }, [n("img", {attrs: {src: t._getRealPath(t.selectedIndex === i ? e.selectedIconPath : e.iconPath)}}), e.redDot ? n("div", {
- staticClass: "uni-tabbar__reddot",
- class: {"uni-tabbar__badge": !!e.badge}
- }, [t._v(" " + t._s(e.badge) + " ")]) : t._e()]) : t._e(), e.text ? n("div", {
- staticClass: "uni-tabbar__label",
- style: {
- color: t.selectedIndex === i ? t.tabBarOptions.selectedColor : t.tabBarOptions.color,
- fontSize: t.showIcon && e.iconPath ? "10px" : "14px"
- }
- }, [t._v(" " + t._s(e.text) + " "), !e.redDot || t.showIcon && e.iconPath ? t._e() : n("div", {
- staticClass: "uni-tabbar__reddot",
- class: {"uni-tabbar__badge": !!e.badge}
- }, [t._v(" " + t._s(e.badge) + " ")])]) : t._e()])])
- })), 0)]) : t._e()
- }, I = [], $ = n("e243"), P = $["a"], L = Object(u["a"])(P, M, I, !1, null, null, null),
- R = L.exports, N = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("div", {staticClass: "uni-system-choose-location"}, [n("v-uni-map", {
- staticClass: "map",
- attrs: {
- latitude: t.latitude,
- longitude: t.longitude,
- "show-location": "",
- libraries: ["places"]
- },
- on: {updated: t.getList, regionchange: t.onRegionChange}
- }, [n("div", {
- staticClass: "map-location",
- style: t.locationStyle
- }), n("div", {
- staticClass: "map-move",
- on: {click: t.moveToLocation}
- }, [n("i", [t._v("")])])]), n("div", {staticClass: "nav"}, [n("div", {
- staticClass: "nav-btn back",
- on: {click: t.back}
- }, [n("i", {staticClass: "uni-btn-icon"}, [t._v("")])]), n("div", {
- staticClass: "nav-btn confirm",
- class: {disable: !t.selected},
- on: {click: t.choose}
- }, [n("i", {staticClass: "uni-btn-icon"}, [t._v("")])])]), n("div", {staticClass: "menu"}, [n("div", {staticClass: "search"}, [n("v-uni-input", {
- staticClass: "search-input",
- attrs: {placeholder: t.$$t("uni.chooseLocation.search")},
- on: {
- focus: function (e) {
- t.searching = !0
- }, input: t.input
- },
- model: {
- value: t.keyword, callback: function (e) {
- t.keyword = e
- }, expression: "keyword"
- }
- }), t.searching ? n("div", {
- staticClass: "search-btn", on: {
- click: function (e) {
- t.searching = !1, t.keyword = ""
- }
- }
- }, [t._v(" " + t._s(t.$$t("uni.chooseLocation.cancel")) + " ")]) : t._e()], 1), n("v-uni-scroll-view", {
- staticClass: "list",
- attrs: {"scroll-y": ""},
- on: {scrolltolower: t.loadMore}
- }, [t.loading ? n("div", {staticClass: "list-loading"}, [n("i", {staticClass: "uni-loading"})]) : t._e(), t._l(t.list, (function (e, i) {
- return n("div", {
- key: i,
- staticClass: "list-item",
- class: {selected: t.selectedIndex === i},
- on: {
- click: function (n) {
- t.selectedIndex = i, t.latitude = e.latitude, t.longitude = e.longitude
- }
- }
- }, [n("div", {staticClass: "list-item-title"}, [t._v(" " + t._s(e.name) + " ")]), n("div", {staticClass: "list-item-detail"}, [t._v(" " + t._s(t._f("distance")(e.distance)) + t._s(e.address) + " ")])])
- }))], 2)], 1)], 1)
- }, D = [], B = n("fda5"), F = B["a"],
- z = (n("9470"), Object(u["a"])(F, N, D, !1, null, null, null)), W = z.exports, q = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("div", {staticClass: "uni-system-open-location"}, [n("v-uni-map", {
- staticClass: "map",
- attrs: {
- latitude: t.center.latitude,
- longitude: t.center.longitude,
- markers: [t.marker, t.location]
- },
- on: {regionchange: t.onRegionChange}
- }, [n("div", {
- staticClass: "map-move",
- on: {click: t.moveToLocation}
- }, [n("i", [t._v("")])])]), n("div", {staticClass: "info"}, [n("div", {
- staticClass: "name",
- on: {
- click: function (e) {
- return t.setCenter(t.marker)
- }
- }
- }, [t._v(" " + t._s(t.name) + " ")]), n("div", {
- staticClass: "address",
- on: {
- click: function (e) {
- return t.setCenter(t.marker)
- }
- }
- }, [t._v(" " + t._s(t.address) + " ")]), n("div", {
- staticClass: "nav",
- on: {click: t.nav}
- }, [n("svg", {
- attrs: {
- width: "26",
- height: "26",
- viewBox: "0 0 1024 1024",
- version: "1.1",
- xmlns: "http://www.w3.org/2000/svg"
- }
- }, [n("path", {
- attrs: {
- d: "M896 544c-207.807 0-388.391 82.253-480 203.149V173.136l201.555 201.555c12.412 12.412 32.723 12.412 45.136 0 12.412-12.412 12.412-32.723 0-45.136L408.913 75.777a31.93 31.93 0 0 0-2.222-2.468c-6.222-6.222-14.429-9.324-22.631-9.308l-0.059-0.002-0.059 0.002c-8.202-0.016-16.409 3.085-22.631 9.308a31.93 31.93 0 0 0-2.222 2.468l-253.78 253.778c-12.412 12.412-12.412 32.723 0 45.136 12.412 12.412 32.723 12.412 45.136 0L352 173.136V928c0 17.6 14.4 32 32 32s32-14.4 32-32c0-176.731 214.903-320 480-320 17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32z",
- fill: "#ffffff"
- }
- })])])]), n("div", {
- staticClass: "nav-btn-back",
- on: {click: t.back}
- }, [n("i", {staticClass: "uni-btn-icon"}, [t._v("")])])], 1)
- }, H = [], V = n("636c"), U = {
- name: "SystemOpenLocation", data: function () {
- var t = this.$route.query, e = t.latitude, n = t.longitude, i = t.scale,
- r = void 0 === i ? 18 : i, o = t.name, a = void 0 === o ? "" : o, s = t.address,
- c = void 0 === s ? "" : s;
- return {
- latitude: e,
- longitude: n,
- scale: r,
- name: a,
- address: c,
- center: {latitude: e, longitude: n},
- marker: {id: 1, latitude: e, longitude: n, iconPath: V["b"], width: 32, height: 52},
- location: {id: 2, latitude: 0, longitude: 0, iconPath: V["a"], width: 44, height: 44}
- }
- }, methods: {
- onRegionChange: function (t) {
- var e = t.detail.centerLocation;
- e && (this.center.latitude = e.latitude, this.center.longitude = e.longitude)
- }, setCenter: function (t) {
- var e = t.latitude, n = t.longitude;
- this.center.latitude = e, this.center.longitude = n
- }, moveToLocation: function () {
- uni.getLocation({
- type: "gcj02", success: this.move.bind(this), fail: function () {
- }
- })
- }, move: function (t) {
- var e = t.latitude, n = t.longitude;
- this.location.latitude = e, this.location.longitude = n, this.setCenter({
- latitude: e,
- longitude: n
- })
- }, back: function () {
- getApp().$router.back()
- }, nav: function () {
- var t = Object(V["d"])(), e = "";
- if (t.type === V["c"].GOOGLE) {
- var n = this.location.latitude ? "&origin=".concat(this.location.latitude, "%2C").concat(this.location.longitude) : "";
- e = "https://www.google.com/maps/dir/?api=1".concat(n, "&destination=").concat(this.latitude, "%2C").concat(this.longitude)
- } else if (t.type === V["c"].QQ) {
- var i = this.location.latitude ? "&fromcoord=".concat(this.location.latitude, "%2C").concat(this.location.longitude) : "";
- e = "https://apis.map.qq.com/uri/v1/routeplan?type=drive".concat(i, "&tocoord=").concat(this.latitude, "%2C").concat(this.longitude, "&from=").concat(encodeURIComponent("我的位置"), "&to=").concat(encodeURIComponent(this.name || "目的地"), "&ref=").concat(t.key)
- }
- window.open(e)
- }
- }
- }, Y = U, X = (n("3da9"), Object(u["a"])(Y, q, H, !1, null, null, null)), G = X.exports,
- Q = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("div", {
- staticClass: "uni-system-preview-image",
- on: {click: t._click}
- }, [n("v-uni-swiper", {
- staticClass: "uni-system-preview-image-swiper",
- attrs: {current: t.index, "indicator-dots": !1, autoplay: !1},
- on: {
- "update:current": function (e) {
- t.index = e
- }
- }
- }, t._l(t.urls, (function (t, e) {
- return n("v-uni-swiper-item", {key: e}, [n("image-view", {attrs: {src: t}})], 1)
- })), 1)], 1)
- }, K = [], J = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("v-uni-movable-area", {
- staticClass: "image-view-area",
- nativeOn: {
- touchstart: function (e) {
- return t.onTouchStart(e)
- }, touchmove: function (e) {
- return t.checkDirection(e)
- }, touchend: function (e) {
- return t.onTouchEnd(e)
- }
- }
- }, [n("v-uni-movable-view", {
- staticClass: "image-view-view",
- attrs: {direction: t.direction, inertia: "", scale: "", "scale-min": "1", "scale-max": "4"},
- on: {scale: t.onScale}
- }, [n("img", {
- staticClass: "image-view-img",
- attrs: {src: t.src},
- on: {load: t.onImgLoad}
- })])], 1)
- }, Z = [], tt = {
- name: "ImageView", props: {src: {type: String, default: ""}}, data: function () {
- return {direction: "none"}
- }, created: function () {
- this.scale = 1, this.imgWidth = 0, this.imgHeight = 0, this.width = 0, this.height = 0
- }, methods: {
- onScale: function (t) {
- var e = t.detail.scale;
- this.scale = e
- }, onImgLoad: function (t) {
- var e = t.target, n = e.getBoundingClientRect();
- this.imgWidth = n.width, this.imgHeight = n.height
- }, onTouchStart: function (t) {
- var e = this.$el, n = e.getBoundingClientRect();
- this.width = n.width, this.height = n.height, this.checkDirection(t)
- }, onTouchEnd: function (t) {
- var e = this.scale, n = e * this.imgWidth > this.width,
- i = e * this.imgHeight > this.height;
- this.direction = n && i ? "all" : n ? "horizontal" : i ? "vertical" : "none", this.checkDirection(t)
- }, checkDirection: function (t) {
- var e = this.direction;
- "all" !== e && "horizontal" !== e || t.stopPropagation()
- }
- }
- }, et = tt, nt = (n("5378"), Object(u["a"])(et, J, Z, !1, null, null, null)), it = nt.exports,
- rt = {
- name: "SystemPreviewImage", components: {imageView: it}, data: function () {
- var t = this.$route.params, e = t.urls, n = t.current;
- return {urls: e || [], current: n, index: 0}
- }, created: function () {
- var t = "number" === typeof this.current ? this.current : this.urls.indexOf(this.current);
- this.index = t < 0 ? 0 : t
- }, mounted: function () {
- var t = this, e = 20, n = 0, i = 0;
- this.$el.addEventListener("mousedown", (function (e) {
- t.preventDefault = !1, n = e.clientX, i = e.clientY
- })), this.$el.addEventListener("mouseup", (function (r) {
- (Math.abs(r.clientX - n) > e || Math.abs(r.clientY - i) > e) && (t.preventDefault = !0)
- }))
- }, methods: {
- _click: function () {
- this.preventDefault || getApp().$router.back()
- }
- }
- }, ot = rt, at = (n("f10e"), Object(u["a"])(ot, Q, K, !1, null, null, null)), st = at.exports,
- ct = {ChooseLocation: W, OpenLocation: G, PreviewImage: st};
- r.a.component(f.name, f), r.a.component(m.name, m), r.a.component(x.name, x), r.a.component(j.name, j), r.a.component(R.name, R), Object.keys(ct).forEach((function (t) {
- var e = ct[t];
- r.a.component(e.name, e)
- }))
- }, "90f7": function (t, e, n) {
- "use strict";
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-page-refresh", [n("div", {
- staticClass: "uni-page-refresh",
- style: {"margin-top": t.offset + "px"}
- }, [n("div", {staticClass: "uni-page-refresh-inner"}, [n("svg", {
- staticClass: "uni-page-refresh__icon",
- attrs: {fill: t.color, width: "24", height: "24", viewBox: "0 0 24 24"}
- }, [n("path", {attrs: {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}}), n("path", {
- attrs: {
- d: "M0 0h24v24H0z",
- fill: "none"
- }
- })]), n("svg", {
- staticClass: "uni-page-refresh__spinner",
- attrs: {width: "24", height: "24", viewBox: "25 25 50 50"}
- }, [n("circle", {
- staticClass: "uni-page-refresh__path",
- attrs: {
- stroke: t.color,
- cx: "50",
- cy: "50",
- r: "20",
- fill: "none",
- "stroke-width": "4",
- "stroke-miterlimit": "10"
- }
- })])])])])
- }, r = [], o = {
- name: "PageRefresh",
- props: {color: {type: String, default: "#2BD009"}, offset: {type: Number, default: 0}}
- }, a = o, s = (n("9b5b"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["a"] = c.exports
- }, 9213: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-swiper-item", t._g({}, t.$listeners), [t._t("default")], 2)
- }, r = [], o = {
- name: "SwiperItem", props: {itemId: {type: String, default: ""}}, mounted: function () {
- var t = this.$el;
- t.style.position = "absolute", t.style.width = "100%", t.style.height = "100%";
- var e = this.$vnode._callbacks;
- e && e.forEach((function (t) {
- t()
- }))
- }
- }, a = o, s = (n("bfea"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, 9250: function (t, e) {
- var n = ["base64ToArrayBuffer", "arrayBufferToBase64", "addInterceptor", "removeInterceptor", "interceptors"],
- i = ["request", "uploadFile", "downloadFile", "connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose", "getUpdateManager", "configMTLS"],
- r = ["navigateTo", "redirectTo", "reLaunch", "switchTab", "navigateBack"],
- o = ["setStorage", "setStorageSync", "getStorage", "getStorageSync", "getStorageInfo", "getStorageInfoSync", "removeStorage", "removeStorageSync", "clearStorage", "clearStorageSync"],
- a = ["getLocation", "chooseLocation", "openLocation", "createMapContext"],
- s = ["chooseImage", "chooseFile", "previewImage", "closePreviewImage", "getImageInfo", "getVideoInfo", "saveImageToPhotosAlbum", "compressImage", "compressVideo", "getRecorderManager", "getBackgroundAudioManager", "createAudioContext", "createInnerAudioContext", "chooseVideo", "saveVideoToPhotosAlbum", "createVideoContext", "createCameraContext", "createLivePlayerContext", "createLivePusherContext"],
- c = ["getSystemInfo", "getSystemInfoSync", "canIUse", "onMemoryWarning", "getNetworkType", "onNetworkStatusChange", "offNetworkStatusChange", "onAccelerometerChange", "offAccelerometerChange", "startAccelerometer", "stopAccelerometer", "onCompassChange", "offCompassChange", "startCompass", "stopCompass", "onGyroscopeChange", "startGyroscope", "stopGyroscope", "makePhoneCall", "scanCode", "setClipboardData", "getClipboardData", "setScreenBrightness", "getScreenBrightness", "setKeepScreenOn", "onUserCaptureScreen", "vibrateLong", "vibrateShort", "addPhoneContact", "openBluetoothAdapter", "startBluetoothDevicesDiscovery", "onBluetoothDeviceFound", "stopBluetoothDevicesDiscovery", "onBluetoothAdapterStateChange", "getConnectedBluetoothDevices", "getBluetoothDevices", "getBluetoothAdapterState", "closeBluetoothAdapter", "writeBLECharacteristicValue", "readBLECharacteristicValue", "onBLEConnectionStateChange", "onBLECharacteristicValueChange", "notifyBLECharacteristicValueChange", "getBLEDeviceServices", "getBLEDeviceCharacteristics", "createBLEConnection", "closeBLEConnection", "setBLEMTU", "getBLEDeviceRSSI", "onBeaconServiceChange", "onBeaconUpdate", "getBeacons", "startBeaconDiscovery", "stopBeaconDiscovery", "checkIsSupportSoterAuthentication", "checkIsSoterEnrolledInDevice", "startSoterAuthentication", "onThemeChange", "onUIStyleChange"],
- u = ["hideKeyboard", "onKeyboardHeightChange", "offKeyboardHeightChange", "getSelectedTextRange"],
- l = ["showToast", "hideToast", "showLoading", "hideLoading", "showModal", "showActionSheet", "setNavigationBarTitle", "setNavigationBarColor", "showNavigationBarLoading", "hideNavigationBarLoading", "setTabBarItem", "setTabBarStyle", "hideTabBar", "showTabBar", "setTabBarBadge", "removeTabBarBadge", "showTabBarRedDot", "hideTabBarRedDot", "onTabBarMidButtonTap", "setBackgroundColor", "setBackgroundTextStyle", "createAnimation", "pageScrollTo", "onWindowResize", "offWindowResize", "loadFontFace", "startPullDownRefresh", "stopPullDownRefresh", "createSelectorQuery", "createIntersectionObserver", "createMediaQueryObserver", "getMenuButtonBoundingClientRect", "showTopWindow", "showLeftWindow", "showRightWindow", "hideTopWindow", "hideLeftWindow", "hideRightWindow", "getTopWindowStyle", "getLeftWindowStyle", "getRightWindowStyle", "setTopWindowStyle", "setLeftWindowStyle", "setRightWindowStyle", "getLocale", "setLocale", "onLocaleChange"],
- f = ["$emit", "$on", "$once", "$off"],
- d = ["saveFile", "getSavedFileList", "getSavedFileInfo", "removeSavedFile", "getFileInfo", "openDocument", "getFileSystemManager"],
- h = ["createOffscreenCanvas", "createCanvasContext", "canvasToTempFilePath", "canvasPutImageData", "canvasGetImageData"],
- p = ["getProvider", "login", "checkSession", "getUserInfo", "getUserProfile", "preLogin", "closeAuthView", "getCheckBoxState", "getUniverifyManager", "share", "shareWithSystem", "showShareMenu", "hideShareMenu", "requestPayment", "subscribePush", "unsubscribePush", "onPush", "offPush", "requireNativePlugin", "upx2px", "restoreGlobal", "requireGlobal", "getSubNVueById", "getCurrentSubNVue", "setPageMeta", "onHostEventReceive", "onNativeEventReceive", "sendNativeEvent", "preloadPage", "unPreloadPage", "loadSubPackage", "sendHostEvent", "navigateToMiniProgram"],
- v = ["createRewardedVideoAd", "createFullScreenVideoAd", "createInterstitialAd", "createInteractiveAd"],
- g = [].concat(n, i, r, o, a, s, c, u, l, f, d, h, p, v);
- t.exports = g
- }, "927d": function (t, e, n) {
- }, "93a5": function (t, e, n) {
- var i = {
- "./ad/index.vue": "10a3",
- "./cover-image/index.vue": "d677",
- "./cover-view/index.vue": "c41f",
- "./map/index.vue": "594d",
- "./picker/index.vue": "6fa7",
- "./video/index.vue": "31e2",
- "./web-view/index.vue": "9980"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "93a5"
- }, "93ab": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return r
- }));
- var i = {};
- function r(t, e, n) {
- var r = "string" === typeof t ? window[t] : t;
- if (r) n(); else {
- var o = i[e];
- if (!o) {
- o = i[e] = [];
- var a = document.createElement("script");
- a.src = e, document.body.appendChild(a), a.onload = function () {
- o.forEach((function (t) {
- return t()
- })), delete i[e]
- }
- }
- o.push(n)
- }
- }
- }, 9400: function (t, e, n) {
- "use strict";
- var i = n("cc89"), r = n.n(i);
- r.a
- }, "944e": function (t, e, n) {
- "use strict";
- var i = n("a6bb"), r = n.n(i);
- r.a
- }, 9470: function (t, e, n) {
- "use strict";
- var i = n("69c3"), r = n.n(i);
- r.a
- }, "956d": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "getVideoInfo", (function () {
- return r
- }));
- var i = n("e2e2");
- function r(e, n) {
- var r = e.src, o = t, a = o.invokeCallbackHandler;
- Object(i["f"])(r, !0).then((function (t) {
- return t
- })).catch((function () {
- return {}
- })).then((function (t) {
- var e = t.size ? {
- size: t.size,
- errMsg: "getVideoInfo:ok"
- } : {errMsg: "getVideoInfo:fail"}, i = document.createElement("video");
- if (void 0 !== i.onloadedmetadata) {
- var o = setTimeout((function () {
- i.onloadedmetadata = null, i.onerror = null, a(n, e)
- }), r.startsWith("data:") || r.startsWith("blob:") ? 300 : 3e3);
- i.onloadedmetadata = function () {
- clearTimeout(o), i.onerror = null, a(n, Object.assign(e, {
- size: t.size,
- duration: i.duration || 0,
- width: i.videoWidth || 0,
- height: i.videoHeight || 0,
- errMsg: "getVideoInfo:ok"
- }))
- }, i.onerror = function () {
- clearTimeout(o), i.onloadedmetadata = null, a(n, e)
- }, i.src = r
- } else a(n, e)
- }))
- }
- }.call(this, n("0dd1"))
- }, "957a": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "canIUse", (function () {
- return i
- }));
- var i = [{name: "schema", type: String, required: !0}]
- }, 9776: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getLocale", (function () {
- return a
- })), n.d(e, "setLocale", (function () {
- return s
- })), n.d(e, "onLocaleChange", (function () {
- return u
- }));
- var i = n("a118"), r = n("a6b0"), o = n("65a8");
- function a() {
- var t = getApp({allowDefault: !0});
- return t && t.$vm ? t.$vm.$locale : r["b"].getLocale()
- }
- function s(t) {
- var e = getApp().$vm.$locale;
- return e !== t && (getApp().$vm.$locale = t, window.localStorage && (localStorage[o["d"]] = t), c.forEach((function (e) {
- Object(i["a"])(e, {locale: t})
- })), !0)
- }
- var c = [];
- function u(t) {
- c.push(t)
- }
- }, "98be": function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return d
- }));
- var i = n("9250"), r = n.n(i), o = n("27a7"), a = n("ed1a"), s = Object.create(null), c = n("bdb1");
- c.keys().forEach((function (t) {
- Object.assign(s, c(t))
- }));
- var u = s, l = n("3b67"), f = Object.assign(Object.create(null), u, l["a"]),
- d = Object.create(null);
- r.a.forEach((function (t) {
- f[t] ? d[t] = Object(a["d"])(t, Object(o["c"])(t, f[t])) : d[t] = Object(o["d"])(t)
- }))
- }, 9980: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-web-view", t._g({}, t.$listeners), [n("v-uni-resize-sensor", {
- ref: "sensor",
- on: {resize: t._resize}
- })], 1)
- }, r = [], o = {
- name: "WebView", props: {src: {type: String, default: ""}}, watch: {
- src: function (t, e) {
- this.iframe && (this.iframe.src = this.$getRealPath(this.src))
- }
- }, mounted: function () {
- var t = this;
- this.iframe = document.createElement("iframe"), Object.keys(this.$attrs).forEach((function (e) {
- t.iframe[e] = t.$attrs[e]
- })), this.iframe.src = this.$getRealPath(this.src), document.body.appendChild(this.iframe), this._resize()
- }, activated: function () {
- this.iframe.style.display = "block"
- }, deactivated: function () {
- this.iframe.style.display = "none"
- }, beforeDestroy: function () {
- document.body.removeChild(this.iframe)
- }, methods: {
- _resize: function () {
- var t = this.$el.getBoundingClientRect(), e = t.top, n = t.left, i = t.width,
- r = t.height;
- this.iframe.style.position = "absolute", this.iframe.style.display = "block", this.iframe.style.border = 0, this.iframe.style.top = e + "px", this.iframe.style.left = n + "px", this.iframe.style.width = i + "px", this.iframe.style.height = r + "px"
- }
- }
- }, a = o, s = (n("c33f"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, "9a3e": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "uploadFile", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- url: {type: String, required: !0},
- files: {type: Array},
- filePath: {
- type: String, validator: function (t, e) {
- t && (e.filePath = Object(i["a"])(t))
- }
- },
- name: {type: String},
- header: {
- type: Object, validator: function (t, e) {
- e.header = t || {}
- }
- },
- formData: {
- type: Object, validator: function (t, e) {
- e.formData = t || {}
- }
- }
- }
- }, "9a8b": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-icon", t._g({}, t.$listeners), [n("i", {
- class: "uni-icon-" + t.type,
- style: {"font-size": t._converPx(t.size), color: t.color},
- attrs: {role: "img"}
- })])
- }, r = [], o = {
- name: "Icon",
- props: {
- type: {type: String, required: !0, default: ""},
- size: {type: [String, Number], default: 23},
- color: {type: String, default: ""}
- },
- methods: {
- _converPx: function (t) {
- return /^-?\d+[ur]px$/i.test(t) ? t.replace(/(^-?\d+)[ur]px$/i, (function (t, e) {
- return "".concat(uni.upx2px(parseFloat(e)), "px")
- })) : /^-?[\d\.]+$/.test(t) ? "".concat(t, "px") : t || ""
- }
- }
- }, a = o, s = (n("7e6a"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, "9b1b": function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "onWindowResize", (function () {
- return a
- })), n.d(e, "offWindowResize", (function () {
- return s
- }));
- var i = n("a118"), r = n("db70"), o = [];
- function a(t) {
- o.push(t)
- }
- function s(t) {
- o.splice(o.indexOf(t), 1)
- }
- Object(r["d"])("onViewDidResize", (function (t) {
- o.forEach((function (e) {
- Object(i["a"])(e, t)
- }))
- }))
- }, "9b1f": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-progress", t._g({staticClass: "uni-progress"}, t.$listeners), [n("div", {
- staticClass: "uni-progress-bar",
- style: t.outerBarStyle
- }, [n("div", {
- staticClass: "uni-progress-inner-bar",
- style: t.innerBarStyle
- })]), t.showInfo ? [n("p", {staticClass: "uni-progress-info"}, [t._v(" " + t._s(t.currentPercent) + "% ")])] : t._e()], 2)
- }, r = [], o = {activeColor: "#007AFF", backgroundColor: "#EBEBEB", activeMode: "backwards"}, a = {
- name: "Progress",
- props: {
- percent: {
- type: [Number, String], default: 0, validator: function (t) {
- return !isNaN(parseFloat(t, 10))
- }
- },
- showInfo: {type: [Boolean, String], default: !1},
- strokeWidth: {
- type: [Number, String], default: 6, validator: function (t) {
- return !isNaN(parseFloat(t, 10))
- }
- },
- color: {type: String, default: o.activeColor},
- activeColor: {type: String, default: o.activeColor},
- backgroundColor: {type: String, default: o.backgroundColor},
- active: {type: [Boolean, String], default: !1},
- activeMode: {type: String, default: o.activeMode},
- duration: {
- type: [Number, String], default: 30, validator: function (t) {
- return !isNaN(parseFloat(t, 10))
- }
- }
- },
- data: function () {
- return {currentPercent: 0, strokeTimer: 0, lastPercent: 0}
- },
- computed: {
- outerBarStyle: function () {
- return "background-color: ".concat(this.backgroundColor, "; height: ").concat(this.strokeWidth, "px;")
- }, innerBarStyle: function () {
- var t = "";
- return t = this.color !== o.activeColor && this.activeColor === o.activeColor ? this.color : this.activeColor, "width: ".concat(this.currentPercent, "%;background-color: ").concat(t)
- }, realPercent: function () {
- var t = parseFloat(this.percent, 10);
- return t < 0 && (t = 0), t > 100 && (t = 100), t
- }
- },
- watch: {
- realPercent: function (t, e) {
- this.strokeTimer && clearInterval(this.strokeTimer), this.lastPercent = e || 0, this._activeAnimation()
- }
- },
- created: function () {
- this._activeAnimation()
- },
- methods: {
- _activeAnimation: function () {
- var t = this;
- this.active ? (this.currentPercent = this.activeMode === o.activeMode ? 0 : this.lastPercent, this.strokeTimer = setInterval((function () {
- t.currentPercent + 1 > t.realPercent ? (t.currentPercent = t.realPercent, t.strokeTimer && clearInterval(t.strokeTimer)) : t.currentPercent += 1
- }), parseFloat(this.duration))) : this.currentPercent = this.realPercent
- }
- }
- }, s = a, c = (n("944e"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, "9b5b": function (t, e, n) {
- "use strict";
- var i = n("8b61"), r = n.n(i);
- r.a
- }, "9e56": function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "previewImage", (function () {
- return o
- })), n.d(e, "closePreviewImage", (function () {
- return a
- }));
- var i = t, r = i.invokeCallbackHandler;
- function o(t, e) {
- var n = t.urls, i = t.current;
- getApp().$router.push({
- type: "navigateTo",
- path: "/preview-image",
- params: {urls: n, current: i}
- }, (function () {
- r(e, {errMsg: "previewImage:ok"})
- }), (function () {
- r(e, {errMsg: "previewImage:fail"})
- }))
- }
- function a(t, e) {
- var n = getApp().$router;
- "/preview-image" === n.history.current.path ? (n.back(), r(e, {errMsg: "closePreviewImage:ok"})) : r(e, {errMsg: "closePreviewImage:fail"})
- }
- }.call(this, n("0dd1"))
- }, "9f96": function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-slider", t._g({
- ref: "uni-slider",
- on: {click: t._onClick}
- }, t.$listeners), [n("div", {staticClass: "uni-slider-wrapper"}, [n("div", {staticClass: "uni-slider-tap-area"}, [n("div", {
- staticClass: "uni-slider-handle-wrapper",
- style: t.setBgColor
- }, [n("div", {
- ref: "uni-slider-handle",
- staticClass: "uni-slider-handle",
- style: t.setBlockBg
- }), n("div", {
- staticClass: "uni-slider-thumb",
- style: t.setBlockStyle
- }), n("div", {
- staticClass: "uni-slider-track",
- style: t.setActiveColor
- })])]), n("span", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.showValue,
- expression: "showValue"
- }], ref: "uni-slider-value", staticClass: "uni-slider-value"
- }, [t._v(t._s(t.sliderValue))])]), t._t("default")], 2)
- }, r = [], o = n("8af1"), a = n("ba15"), s = {
- add: function (t) {
- var e, n, i;
- try {
- e = this.toString().split(".")[1].length
- } catch (r) {
- e = 0
- }
- try {
- n = t.toString().split(".")[1].length
- } catch (r) {
- n = 0
- }
- return i = Math.pow(10, Math.max(e, n)), (this * i + t * i) / i
- }, sub: function (t) {
- return this.add(-t)
- }, mul: function (t) {
- var e = 0, n = this.toString(), i = t.toString();
- try {
- e += n.split(".")[1].length
- } catch (r) {
- }
- try {
- e += i.split(".")[1].length
- } catch (r) {
- }
- return Number(n.replace(".", "")) * Number(i.replace(".", "")) / Math.pow(10, e)
- }, div: function (t) {
- var e, n, i = 0, r = 0;
- try {
- i = this.toString().split(".")[1].length
- } catch (o) {
- }
- try {
- r = t.toString().split(".")[1].length
- } catch (o) {
- }
- return e = Number(this.toString().replace(".", "")), n = Number(t.toString().replace(".", "")), e / n * Math.pow(10, r - i)
- }, mod: function (t) {
- var e, n, i = 0, r = 0;
- try {
- i = this.toString().split(".")[1].length
- } catch (s) {
- }
- try {
- r = t.toString().split(".")[1].length
- } catch (s) {
- }
- var o = Math.pow(10, Math.abs(i - r));
- 1 == o && (o = Math.pow(10, i)), e = (this * o).toString().split(".")[0], n = t * o;
- var a = (this * o).toString().split(".")[1] ? (this * o).toString().split(".")[1] : "";
- return (e % n + a) / o
- }
- }, c = {
- name: "Slider",
- mixins: [o["a"], o["f"], a["a"]],
- props: {
- name: {type: String, default: ""},
- min: {type: [Number, String], default: 0},
- max: {type: [Number, String], default: 100},
- value: {type: [Number, String], default: 0},
- step: {type: [Number, String], default: 1},
- disabled: {type: [Boolean, String], default: !1},
- color: {type: String, default: "#e9e9e9"},
- backgroundColor: {type: String, default: "#e9e9e9"},
- activeColor: {type: String, default: "#007aff"},
- selectedColor: {type: String, default: "#007aff"},
- blockColor: {type: String, default: "#ffffff"},
- blockSize: {type: [Number, String], default: 28},
- showValue: {type: [Boolean, String], default: !1}
- },
- data: function () {
- return {sliderValue: Number(this.value)}
- },
- computed: {
- setBlockStyle: function () {
- return {
- width: this.blockSize + "px",
- height: this.blockSize + "px",
- marginLeft: -this.blockSize / 2 + "px",
- marginTop: -this.blockSize / 2 + "px",
- left: this._getValueWidth(),
- backgroundColor: this.blockColor
- }
- }, setBgColor: function () {
- return {backgroundColor: this._getBgColor()}
- }, setBlockBg: function () {
- return {left: this._getValueWidth()}
- }, setActiveColor: function () {
- return {backgroundColor: this._getActiveColor(), width: this._getValueWidth()}
- }
- },
- watch: {
- value: function (t) {
- this.sliderValue = Number(t)
- }
- },
- mounted: function () {
- this.touchtrack(this.$refs["uni-slider-handle"], "_onTrack")
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _onUserChangedValue: function (t) {
- var e = this.$refs["uni-slider-value"], n = getComputedStyle(e, null).marginLeft,
- i = e.offsetWidth;
- i += parseInt(n);
- var r = this.$refs["uni-slider"], o = r.offsetWidth - (this.showValue ? i : 0),
- a = r.getBoundingClientRect().left,
- s = (t.x - a) * (this.max - this.min) / o + Number(this.min);
- this.sliderValue = this._filterValue(s)
- }, _filterValue: function (t) {
- var e = Number(this.max), n = Number(this.min);
- return t < n ? n : t > e ? e : s.mul.call(Math.round((t - n) / this.step), this.step) + n
- }, _getValueWidth: function () {
- return 100 * (this.sliderValue - this.min) / (this.max - this.min) + "%"
- }, _getBgColor: function () {
- return "#e9e9e9" !== this.backgroundColor ? this.backgroundColor : "#007aff" !== this.color ? this.color : "#007aff"
- }, _getActiveColor: function () {
- return "#007aff" !== this.activeColor ? this.activeColor : "#e9e9e9" !== this.selectedColor ? this.selectedColor : "#e9e9e9"
- }, _onTrack: function (t) {
- if (!this.disabled) return "move" === t.detail.state ? (this._onUserChangedValue({x: t.detail.x}), this.$trigger("changing", t, {value: this.sliderValue}), !1) : "end" === t.detail.state && this.$trigger("change", t, {value: this.sliderValue})
- }, _onClick: function (t) {
- this.disabled || (this._onUserChangedValue(t), this.$trigger("change", t, {value: this.sliderValue}))
- }, _resetFormData: function () {
- this.sliderValue = this.min
- }, _getFormData: function () {
- var t = {};
- return "" !== this.name && (t.value = this.sliderValue, t.key = this.name), t
- }
- }
- }, u = c, l = (n("6428"), n("2877")), f = Object(l["a"])(u, i, r, !1, null, null, null);
- e["default"] = f.exports
- }, a118: function (t, e, n) {
- "use strict";
- (function (t) {
- function i() {
- var e;
- return (e = t).invokeCallbackHandler.apply(e, arguments)
- }
- function r(e) {
- return t.removeCallbackHandler(e)
- }
- n.d(e, "a", (function () {
- return i
- })), n.d(e, "b", (function () {
- return r
- }))
- }).call(this, n("0dd1"))
- }, a201: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "request", (function () {
- return u
- })), n.d(e, "configMTLS", (function () {
- return l
- }));
- var i = n("f2b3"), r = {
- OPTIONS: "OPTIONS",
- GET: "GET",
- HEAD: "HEAD",
- POST: "POST",
- PUT: "PUT",
- DELETE: "DELETE",
- TRACE: "TRACE",
- CONNECT: "CONNECT",
- PATCH: "PATCH"
- }, o = {JSON: "json"}, a = {TEXT: "text", ARRAYBUFFER: "arraybuffer"}, s = encodeURIComponent;
- function c(t, e) {
- var n = t.split("#"), r = n[1] || "";
- n = n[0].split("?");
- var o = n[1] || "";
- t = n[0];
- var a = o.split("&").filter((function (t) {
- return t
- }));
- for (var c in o = {}, a.forEach((function (t) {
- t = t.split("="), o[t[0]] = t[1]
- })), e) if (Object(i["i"])(e, c)) {
- var u = e[c];
- "undefined" === typeof u || null === u ? u = "" : Object(i["l"])(u) && (u = JSON.stringify(u)), o[s(c)] = s(u)
- }
- return o = Object.keys(o).map((function (t) {
- return "".concat(t, "=").concat(o[t])
- })).join("&"), t + (o ? "?" + o : "") + (r ? "#" + r : "")
- }
- var u = {
- method: {
- type: String, validator: function (t, e) {
- t = (t || "").toUpperCase(), e.method = Object.values(r).indexOf(t) < 0 ? r.GET : t
- }
- }, data: {
- type: [Object, String, Array, ArrayBuffer], validator: function (t, e) {
- e.data = t || ""
- }
- }, url: {
- type: String, required: !0, validator: function (t, e) {
- e.method === r.GET && Object(i["l"])(e.data) && Object.keys(e.data).length && (e.url = c(t, e.data))
- }
- }, header: {
- type: Object, validator: function (t, e) {
- var n = e.header = t || {};
- e.method !== r.GET && (Object.keys(n).find((function (t) {
- return "content-type" === t.toLowerCase()
- })) || (n["Content-Type"] = "application/json"))
- }
- }, dataType: {
- type: String, validator: function (t, e) {
- e.dataType = (t || o.JSON).toLowerCase()
- }
- }, responseType: {
- type: String, validator: function (t, e) {
- t = (t || "").toLowerCase(), e.responseType = Object.values(a).indexOf(t) < 0 ? a.TEXT : t
- }
- }, withCredentials: {type: Boolean}, timeout: {type: Number}
- }, l = {
- certificates: {
- type: Array, required: !0, validator: function (t) {
- if (t.some((function (t) {
- return "String" !== Object(i["s"])(t.host)
- }))) return "参数配置错误,请确认后重试"
- }
- }
- }
- }, a20f: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return r
- })), n.d(e, "b", (function () {
- return c
- }));
- var i = n("f2b3"), r = function () {
- var t = document.createElement("canvas");
- t.height = t.width = 0;
- var e = t.getContext("2d"),
- n = e.backingStorePixelRatio || e.webkitBackingStorePixelRatio || e.mozBackingStorePixelRatio || e.msBackingStorePixelRatio || e.oBackingStorePixelRatio || e.backingStorePixelRatio || 1;
- return (window.devicePixelRatio || 1) / n
- }(), o = function (t, e) {
- for (var n in t) Object(i["i"])(t, n) && e(t[n], n)
- }, a = {
- fillRect: "all",
- clearRect: "all",
- strokeRect: "all",
- moveTo: "all",
- lineTo: "all",
- arc: [0, 1, 2],
- arcTo: "all",
- bezierCurveTo: "all",
- isPointinPath: "all",
- isPointinStroke: "all",
- quadraticCurveTo: "all",
- rect: "all",
- translate: "all",
- createRadialGradient: "all",
- createLinearGradient: "all",
- setTransform: [4, 5]
- }, s = CanvasRenderingContext2D.prototype;
- function c(t) {
- var e = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
- t.width = t.offsetWidth * (e ? r : 1), t.height = t.offsetHeight * (e ? r : 1), t.__hidpi__ = e, t.__context2d__ = t.getContext("2d"), t.__context2d__.__hidpi__ = e
- }
- s.drawImageByCanvas = function (t) {
- return function (e, n, i, o, a, s, c, u, l, f) {
- if (!this.__hidpi__) return t.apply(this, arguments);
- n *= r, i *= r, o *= r, a *= r, s *= r, c *= r, u = f ? u * r : u, l = f ? l * r : l, t.call(this, e, n, i, o, a, s, c, u, l)
- }
- }(s.drawImage), 1 !== r && (o(a, (function (t, e) {
- s[e] = function (e) {
- return function () {
- if (!this.__hidpi__) return e.apply(this, arguments);
- var n = Array.prototype.slice.call(arguments);
- if ("all" === t) n = n.map((function (t) {
- return t * r
- })); else if (Array.isArray(t)) for (var i = 0; i < t.length; i++) n[t[i]] *= r;
- return e.apply(this, n)
- }
- }(s[e])
- })), s.stroke = function (t) {
- return function () {
- if (!this.__hidpi__) return t.apply(this, arguments);
- this.lineWidth *= r, t.apply(this, arguments), this.lineWidth /= r
- }
- }(s.stroke), s.fillText = function (t) {
- return function () {
- if (!this.__hidpi__) return t.apply(this, arguments);
- var e = Array.prototype.slice.call(arguments);
- e[1] *= r, e[2] *= r, e[3] *= r, isNaN(e[3]) && (e.length = 3);
- var n = this.__font__ || this.font;
- this.font = n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, (function (t, e, n) {
- return e * r + n
- })), t.apply(this, e), this.font = n
- }
- }(s.fillText), s.strokeText = function (t) {
- return function () {
- if (!this.__hidpi__) return t.apply(this, arguments);
- var e = Array.prototype.slice.call(arguments);
- e[1] *= r, e[2] *= r, e[3] *= r, isNaN(e[3]) && (e.length = 3);
- var n = this.__font__ || this.font;
- this.font = n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, (function (t, e, n) {
- return e * r + n
- })), t.apply(this, e), this.font = n
- }
- }(s.strokeText), s.drawImage = function (t) {
- return function () {
- if (!this.__hidpi__) return t.apply(this, arguments);
- this.scale(r, r), t.apply(this, arguments), this.scale(1 / r, 1 / r)
- }
- }(s.drawImage))
- }, a3e5: function (t, e, n) {
- "use strict";
- var i = n("df1e"), r = n.n(i);
- r.a
- }, a402: function (t, e, n) {
- "use strict";
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-page-wrapper", [n("uni-page-body", [t._t("default")], 2)], 1)
- }, r = [], o = n("e949"), a = n("bdbe"), s = {
- name: "PageBody", mounted: function () {
- var t = a["a"].height || "50px",
- e = ".uni-app--showtabbar uni-page-wrapper {\n display: block;\n height: calc(100% - ".concat(t, ");\n height: calc(100% - ").concat(t, " - constant(safe-area-inset-bottom));\n height: calc(100% - ").concat(t, " - env(safe-area-inset-bottom));\n }");
- e += "\n", e += '.uni-app--showtabbar uni-page-wrapper::after {\n content: "";\n display: block;\n width: 100%;\n height: '.concat(t, ";\n height: calc(").concat(t, " + constant(safe-area-inset-bottom));\n height: calc(").concat(t, " + env(safe-area-inset-bottom));\n }"), e += "\n", e += '.uni-app--showtabbar uni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {\n height: calc(100% - 44px - '.concat(t, ");\n height: calc(100% - 44px - constant(safe-area-inset-top) - ").concat(t, " - constant(safe-area-inset-bottom));\n height: calc(100% - 44px - env(safe-area-inset-top) - ").concat(t, " - env(safe-area-inset-bottom));\n }"), Object(o["a"])(e)
- }
- }, c = s, u = (n("167a"), n("2877")), l = Object(u["a"])(c, i, r, !1, null, null, null);
- e["a"] = l.exports
- }, a470: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return a
- }));
- var i = n("65a8"), r = n("d8c8"), o = n.n(r);
- function a() {
- if (uni.canIUse("css.var")) {
- var t = document.documentElement.style,
- e = parseInt((t.getPropertyValue("--window-top").match(/\d+/) || ["0"])[0]),
- n = parseInt((t.getPropertyValue("--window-bottom").match(/\d+/) || ["0"])[0]),
- r = parseInt((t.getPropertyValue("--window-left").match(/\d+/) || ["0"])[0]),
- a = parseInt((t.getPropertyValue("--window-right").match(/\d+/) || ["0"])[0]),
- s = parseInt((t.getPropertyValue("--top-window-height").match(/\d+/) || ["0"])[0]);
- return {
- top: (e ? e + o.a.top : 0) + (s || 0),
- bottom: n ? n + o.a.bottom : 0,
- left: r ? r + o.a.left : 0,
- right: a ? a + o.a.right : 0
- }
- }
- var c = 0, u = 0, l = getCurrentPages();
- if (l.length) {
- var f = l[l.length - 1].$parent.$parent, d = f.navigationBar.type;
- c = "default" === d || "float" === d ? i["a"] : 0
- }
- var h = getApp();
- return h && (u = h.$children[0] && h.$children[0].showTabBar ? i["c"] : 0), {
- top: c,
- bottom: u,
- left: 0,
- right: 0
- }
- }
- }, a5ec: function (t, e, n) {
- "use strict";
- var i = n("54bc"), r = n.n(i);
- r.a
- }, a6b0: function (t, e, n) {
- "use strict";
- n.d(e, "b", (function () {
- return p
- })), n.d(e, "g", (function () {
- return v
- })), n.d(e, "c", (function () {
- return g
- })), n.d(e, "a", (function () {
- return m
- })), n.d(e, "d", (function () {
- return b
- })), n.d(e, "e", (function () {
- return T
- })), n.d(e, "f", (function () {
- return O
- }));
- var i, r = n("d46d"), o = n("f2b3"), a = n("65a8"), s = n("39aa"), c = n("80e5"), u = n("b3b1"),
- l = n("2209"), f = n("02ed"), d = {};
- function h() {
- if (C()) {
- var t = Object.keys(__uniConfig.locales);
- t.length && t.forEach((function (t) {
- var e = d[t], n = __uniConfig.locales[t];
- e ? Object.assign(e, n) : d[t] = n
- }))
- }
- }
- Object.assign(d, {
- en: s,
- es: c,
- fr: u,
- "zh-Hans": l,
- "zh-Hant": f
- }), i = window.localStorage && localStorage[a["d"]] || __uniConfig.locale || navigator.language, h();
- var p = Object(r["initVueI18n"])(i, d), v = p.t, g = p.mixin = {
- beforeCreate: function () {
- var t = this, e = p.i18n.watchLocale((function () {
- t.$forceUpdate()
- }));
- this.$once("hook:beforeDestroy", (function () {
- e()
- }))
- }, methods: {
- $$t: function (t, e) {
- return v(t, e)
- }
- }
- }, m = (p.setLocale, p.getLocale);
- function b(t, e, n) {
- var i = t.observable({locale: n || p.getLocale()}), r = [];
- e.$watchLocale = function (t) {
- r.push(t)
- }, Object.defineProperty(e, "$locale", {
- get: function () {
- return i.locale
- }, set: function (t) {
- i.locale = t, r.forEach((function (e) {
- return e(t)
- }))
- }
- })
- }
- var y = ["%", "%"];
- function _() {
- var t = uni.getLocale(), e = __uniConfig.locales;
- return e[t] || e[__uniConfig.fallbackLocale] || e.en || {}
- }
- function w(t) {
- return Object(r["isI18nStr"])(t, y) ? p.f(t, _(), y) : t
- }
- function k(t, e) {
- if (1 !== e.length) {
- var n = e.shift();
- return k(t && t[n], e)
- }
- if (t) {
- var i = t[e[0]];
- if (Object(o["m"])(i) && Object(r["isI18nStr"])(i, y)) return t
- }
- }
- function S(t, e) {
- return e.map((function (e) {
- return x(t, e)
- }))
- }
- function x(t, e) {
- var n = k(t, e);
- if (!n) return !1;
- var i = e[e.length - 1], r = n[i];
- return Object.defineProperty(n, i, {
- get: function () {
- return w(r)
- }, set: function (t) {
- r = t
- }
- }), !0
- }
- function C() {
- return "undefined" !== typeof __uniConfig && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length
- }
- function T(t) {
- if (C()) return S(t, [["titleText"], ["searchInput", "placeholder"]])
- }
- function O(t) {
- return C() && t.list && t.list.forEach((function (t) {
- x(t, ["text"])
- })), t
- }
- }, a6bb: function (t, e, n) {
- }, a741: function (t, e, n) {
- "use strict";
- (function (t, i) {
- function r(t, e, n) {
- return t = t.$vm || t, t.__call_hook && t.__call_hook(e, n)
- }
- function o(e, n, i) {
- return "onError" !== n && t.debug("App:".concat(n, " have been invoked") + (i ? " ".concat(JSON.stringify(i)) : "")), e = e.$vm || e, e.__call_hook && e.__call_hook(n, i)
- }
- function a(e, n, o) {
- return "onLoad" === n && (e.$mp.query = o, i.publishHandler("onPageLoad", e, e.$page.id)), "onShow" === n && (e.$route.meta.isTabBar && e.$route.params.detail && setTimeout((function () {
- i.emit("onTabItemTap", e.$route.params.detail)
- }), 0), i.publishHandler("onPageShow", e, e.$page.id)), "onPageScroll" !== n && t.debug("".concat(e.$page.route, "[").concat(e.$page.id, "]:").concat(n, " have been invoked")), r(e, n, o)
- }
- n.d(e, "a", (function () {
- return o
- })), n.d(e, "b", (function () {
- return a
- }))
- }).call(this, n("3ad9")["default"], n("0dd1"))
- }, a878: function (t, e, n) {
- "use strict";
- var i, r = n("f2b3"), o = !r["q"] || {passive: !0, capture: !0}, a = [], s = 0;
- function c(t) {
- a.forEach((function (e) {
- return e.userInteract = t
- }))
- }
- function u() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- if (!i) {
- var e = ["touchstart", "touchmove", "touchend", "mousedown", "mouseup"];
- e.forEach((function (t) {
- document.addEventListener(t, (function () {
- !s && c(!0), s++, setTimeout((function () {
- !--s && c(!1)
- }), 0)
- }), o)
- })), i = !0
- }
- a.push(t)
- }
- function l(t) {
- var e = a.indexOf(t);
- e >= 0 && a.splice(e, 1)
- }
- e["a"] = {
- data: function () {
- return {userInteract: !1}
- }, mounted: function () {
- u(this)
- }, beforeDestroy: function () {
- l(this)
- }, addInteractListener: u, getStatus: function () {
- return !!s
- }
- }
- }, a919: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("cb0f"), r = n("f2b3"), o = n("b865");
- function a(t) {
- return window.CSS && CSS.supports && (CSS.supports(t) || CSS.supports.apply(CSS, t.split(":")))
- }
- e["a"] = {
- name: "TabBar", props: {
- position: {
- default: "bottom", validator: function (t) {
- return -1 !== ["bottom", "top"].indexOf(t)
- }
- },
- color: {type: String, default: "#999"},
- selectedColor: {type: String, default: "#007aff"},
- backgroundColor: {type: String, default: ""},
- borderStyle: {type: String, default: "black"},
- list: {
- type: Array, default: function () {
- return []
- }
- },
- matchMedia: {
- type: Object, default: function () {
- return {}
- }
- },
- blurEffect: {type: String, default: "none"},
- fontSize: {type: String, default: "10px"},
- iconWidth: {type: String, default: "24px"},
- spacing: {type: String, default: "3px"},
- height: {type: String, default: "50px"},
- midButton: {type: Object, default: null}
- }, data: function () {
- return {selectedIndex: 0, visibleList: []}
- }, computed: {
- tabbarBackgroundColor: function () {
- var t = "#f7f7fa";
- if (this.backgroundColor) return this.backgroundColor;
- if (a("backdrop-filter:blur(10px)") && "none" !== this.blurEffect) {
- if ("dark" === this.blurEffect) return "rgb(0, 0, 0, 0.8)";
- if (["light", "extralight"].includes(this.blurEffect)) return "rgb(250, 250, 250, 0.8)"
- }
- return t
- }, borderColor: function () {
- return "white" === this.borderStyle ? "rgba(255, 255, 255, 0.33)" : "black" === this.borderStyle ? "rgba(0, 0, 0, 0.33)" : this.borderStyle
- }
- }, watch: {
- $route: {
- immediate: !0, handler: function () {
- this.visibleList.length || this._initVisibleList(), this.setSelectedIndex()
- }
- }, list: {
- deep: !0, handler: function () {
- this._initVisibleList(), this.setSelectedIndex()
- }
- }
- }, created: function () {
- var t = this;
- this.list.forEach((function (e) {
- void 0 === e.visible && t.$set(e, "visible", !0)
- }))
- }, beforeCreate: function () {
- this.__path__ = this.$route.path
- }, methods: {
- getIconPath: function (t, e) {
- return this.selectedIndex === e && t.selectedIconPath || t.iconPath || ""
- }, setSelectedIndex: function () {
- var t = this;
- if (this.$route.meta.isTabBar) {
- this.__path__ = this.$route.path;
- var e = this.visibleList.findIndex((function (e) {
- return t.$route.meta.pagePath === e.pagePath
- }));
- this.selectedIndex = e
- }
- }, _initVisibleList: function () {
- this.visibleList = this._initMidButton(this.list.filter((function (t) {
- return !1 !== t.visible
- })))
- }, _getRealPath: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
- e = /^([a-z-]+:)?\/\//i, n = /^data:.*,.*/;
- return e.test(t) || n.test(t) || 0 === t.indexOf("/") || (t = "/" + t), Object(i["a"])(t)
- }, _switchTab: function (e, n) {
- var i = e.text, r = e.pagePath, a = e.isMidButton, s = void 0 !== a && a;
- if (s) Object(o["a"])("onTabBarMidButtonTap"); else {
- this.selectedIndex = n;
- var c = "/" + r;
- c === __uniRoutes[0].alias && (c = "/");
- var u = {index: n, text: i, pagePath: r};
- this.$route.path !== c ? (this.__path__ = this.$route.path, uni.switchTab({
- from: "tabBar",
- url: c,
- detail: u
- })) : t.emit("onTabItemTap", u)
- }
- }, _initMidButton: function (t) {
- var e = t.length;
- if (e % 2 === 0 && Object(r["l"])(this.midButton)) {
- var n = {width: "50px", height: "50px", iconWidth: "24px"};
- for (var i in n) this.midButton[i] = this.midButton[i] || n[i];
- t.splice(~~(e / 2), 0, Object.assign({}, this.midButton, {isMidButton: !0}))
- }
- return t
- }, _uniTabbarBdStyle: function (t) {
- return Object.assign({}, {
- width: t.width,
- height: t.height,
- backgroundImage: t.backgroundImage ? "url('" + this._getRealPath(t.backgroundImage) + "')" : ""
- })
- }
- }
- }
- }).call(this, n("0dd1"))
- }, a954: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "addInterceptor", (function () {
- return i
- })), n.d(e, "removeInterceptor", (function () {
- return r
- }));
- var i = [{name: "method", type: [String, Object], required: !0}], r = i
- }, aa92: function (t, e, n) {
- "use strict";
- function i(t) {
- return s(t) || a(t) || o(t) || r()
- }
- function r() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function o(t, e) {
- if (t) {
- if ("string" === typeof t) return c(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? c(t, e) : void 0
- }
- }
- function a(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function s(t) {
- if (Array.isArray(t)) return c(t)
- }
- function c(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- n.d(e, "a", (function () {
- return p
- }));
- var u = ["onLaunch", "onShow", "onHide", "onUniNViewMessage", "onPageNotFound", "onThemeChange", "onError", "onUnhandledRejection", "onInit", "onLoad", "onReady", "onUnload", "onPullDownRefresh", "onReachBottom", "onTabItemTap", "onAddToFavorites", "onShareTimeline", "onShareAppMessage", "onResize", "onPageScroll", "onNavigationBarButtonTap", "onBackPress", "onNavigationBarSearchInputChanged", "onNavigationBarSearchInputConfirmed", "onNavigationBarSearchInputClicked", "onNavigationBarSearchInputFocusChanged", "onPageShow", "onPageHide", "onPageResize", "onServiceCreated", "onServiceAttached"],
- l = ["data", "properties", "options", "relations"];
- function f(t, e, n) {
- e[n] && Object.assign(t[n] || (t[n] = {}), e[n])
- }
- function d(t, e) {
- t.push.apply(t, i(e))
- }
- function h(t, e) {
- l.forEach((function (n) {
- f(t, e, n)
- })), e.externalClasses && d(t.externalClasses || (t.externalClasses = []), e.externalClasses), e.path && (t.path = e.path)
- }
- function p(t) {
- var e = t.extend;
- t.extend = function (t) {
- t = t || {};
- var n = t.methods;
- return n && Object.keys(n).forEach((function (e) {
- -1 !== u.indexOf(e) && (t[e] = n[e], delete n[e])
- })), e.call(this, t)
- };
- var n = t.config.optionMergeStrategies, i = n.created;
- u.forEach((function (t) {
- n[t] = i
- })), n.mpOptions = function (t, e) {
- if (!t) return e;
- var n = Object.create(null);
- return h(n, t), e && h(n, e), n
- }
- }
- }, abb2: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "connectSocket", (function () {
- return r
- })), n.d(e, "sendSocketMessage", (function () {
- return o
- })), n.d(e, "closeSocket", (function () {
- return a
- }));
- var i = {
- OPTIONS: "OPTIONS",
- GET: "GET",
- HEAD: "HEAD",
- POST: "POST",
- PUT: "PUT",
- DELETE: "DELETE",
- TRACE: "TRACE",
- CONNECT: "CONNECT"
- }, r = {
- url: {type: String, required: !0}, header: {
- type: Object, validator: function (t, e) {
- e.header = t || {}
- }
- }, method: {
- type: String, validator: function (t, e) {
- t = (t || "").toUpperCase(), e.method = Object.values(i).indexOf(t) < 0 ? i.GET : t
- }
- }, protocols: {
- type: [Array, String], validator: function (t, e) {
- "string" === typeof t && (t = [t]), e.protocols = (t || []).filter((function (t) {
- return "string" === typeof t
- }))
- }
- }
- }, o = {data: {type: [String, ArrayBuffer]}}, a = {code: {type: Number}, reason: {type: String}}
- }, abbf: function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return o
- }));
- var i = n("a741"), r = n("1164");
- function o(e, n, o) {
- return {
- created: function () {
- Object(r["a"])(e, this, n), o.meta.name || t.emit("onPageNotFound", {
- path: o.path,
- query: o.query,
- isEntryPage: !0
- })
- }, beforeMount: function () {
- this.$el = document.getElementById("app")
- }, mounted: function () {
- var t = {
- path: this.$route.meta && this.$route.meta.pagePath,
- query: this.$route.query,
- scene: 1001
- };
- Object(i["a"])(this, "onLaunch", t), Object(i["a"])(this, "onShow", t)
- }
- }
- }
- n.d(e, "b", (function () {
- return r["b"]
- })), n.d(e, "c", (function () {
- return r["c"]
- }))
- }).call(this, n("0dd1"))
- }, abea: function (t, e, n) {
- "use strict";
- function i(t) {
- var e = t.service;
- return {service: e, provider: []}
- }
- n.r(e), n.d(e, "getProvider", (function () {
- return i
- }))
- }, add1: function (t, e, n) {
- }, af33: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "createSelectorQuery", (function () {
- return g
- }));
- var i = n("f2b3"), r = n("db70"), o = n("303f"), a = n("bfa6"), s = n("ee03"), c = n("60db");
- function u(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function l(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function f(t, e, n) {
- return e && l(t.prototype, e), n && l(t, n), t
- }
- var d = {
- canvas: o["CanvasContext"],
- map: a["MapContext"],
- video: s["VideoContext"],
- editor: c["EditorContext"]
- };
- function h(t) {
- if (t && t.context) {
- var e = t.context, n = e.id, i = e.name, r = e.page, o = d[i];
- t.context = o && new o(n, r)
- }
- }
- var p = function () {
- function t(e, n, i, r) {
- u(this, t), this._selectorQuery = e, this._component = n, this._selector = i, this._single = r
- }
- return f(t, [{
- key: "boundingClientRect", value: function (t) {
- return this._selectorQuery._push(this._selector, this._component, this._single, {
- id: !0,
- dataset: !0,
- rect: !0,
- size: !0
- }, t), this._selectorQuery
- }
- }, {
- key: "fields", value: function (t, e) {
- return this._selectorQuery._push(this._selector, this._component, this._single, t, e), this._selectorQuery
- }
- }, {
- key: "scrollOffset", value: function (t) {
- return this._selectorQuery._push(this._selector, this._component, this._single, {
- id: !0,
- dataset: !0,
- scrollOffset: !0
- }, t), this._selectorQuery
- }
- }, {
- key: "context", value: function (t) {
- return this._selectorQuery._push(this._selector, this._component, this._single, {context: !0}, t), this._selectorQuery
- }
- }]), t
- }(), v = function () {
- function t(e) {
- u(this, t), this._page = e, this._queue = [], this._queueCb = []
- }
- return f(t, [{
- key: "exec", value: function (t) {
- var e = this;
- Object(r["c"])("requestComponentInfo", this._page, this._queue, (function (n) {
- var r = e._queueCb;
- n.forEach((function (t, n) {
- Array.isArray(t) ? t.forEach(h) : h(t);
- var o = r[n];
- Object(i["k"])(o) && o.call(e, t)
- })), Object(i["k"])(t) && t.call(e, n)
- }))
- }
- }, {
- key: "in", value: function (t) {
- return this._component = t._$id || t, this
- }
- }, {
- key: "select", value: function (t) {
- return new p(this, this._component, t, !0)
- }
- }, {
- key: "selectAll", value: function (t) {
- return new p(this, this._component, t, !1)
- }
- }, {
- key: "selectViewport", value: function () {
- return new p(this, 0, "", !0)
- }
- }, {
- key: "_push", value: function (t, e, n, i, r) {
- this._queue.push({
- component: e,
- selector: t,
- single: n,
- fields: i
- }), this._queueCb.push(r)
- }
- }]), t
- }();
- function g(t) {
- return new v(t || Object(r["b"])("createSelectorQuery"))
- }
- }, b0ef: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "$on", (function () {
- return i
- })), n.d(e, "$once", (function () {
- return r
- })), n.d(e, "$off", (function () {
- return o
- })), n.d(e, "$emit", (function () {
- return a
- }));
- var i = [{name: "event", type: [String, Array], required: !0}, {
- name: "callback",
- type: Function,
- required: !0
- }], r = i, o = [{name: "event", type: [String, Array]}, {name: "callback", type: Function}],
- a = [{name: "event", type: String, required: !0}]
- }, b10a: function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "a", (function () {
- return a
- }));
- var i = n("18fd");
- function r(t) {
- return t.replace(/<\?xml.*\?>\n/, "").replace(/<!doctype.*>\n/, "").replace(/<!DOCTYPE.*>\n/, "")
- }
- function o(t) {
- return t.reduce((function (t, e) {
- var n = e.value, i = e.name;
- return n.match(/ /) && "style" !== i && (n = n.split(" ")), t[i] ? Array.isArray(t[i]) ? t[i].push(n) : t[i] = [t[i], n] : t[i] = n, t
- }), {})
- }
- function a(e) {
- e = r(e);
- var n = [], a = {node: "root", children: []};
- return Object(i["a"])(e, {
- start: function (t, e, i) {
- var r = {name: t};
- if (0 !== e.length && (r.attrs = o(e)), i) {
- var s = n[0] || a;
- s.children || (s.children = []), s.children.push(r)
- } else n.unshift(r)
- }, end: function (e) {
- var i = n.shift();
- if (i.name !== e && t.error("invalid state: mismatch end tag"), 0 === n.length) a.children.push(i); else {
- var r = n[0];
- r.children || (r.children = []), r.children.push(i)
- }
- }, chars: function (t) {
- var e = {type: "text", text: t};
- if (0 === n.length) a.children.push(e); else {
- var i = n[0];
- i.children || (i.children = []), i.children.push(e)
- }
- }, comment: function (t) {
- var e = {node: "comment", text: t}, i = n[0];
- i.children || (i.children = []), i.children.push(e)
- }
- }), a.children
- }
- }).call(this, n("3ad9")["default"])
- }, b253: function (t, e, n) {
- "use strict";
- function i(t) {
- return i = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, i(t)
- }
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- if ("function" !== typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
- t.prototype = Object.create(e && e.prototype, {
- constructor: {
- value: t,
- writable: !0,
- configurable: !0
- }
- }), e && a(t, e)
- }
- function a(t, e) {
- return a = Object.setPrototypeOf || function (t, e) {
- return t.__proto__ = e, t
- }, a(t, e)
- }
- function s(t) {
- return function () {
- var e, n = f(t);
- if (l()) {
- var i = f(this).constructor;
- e = Reflect.construct(n, arguments, i)
- } else e = n.apply(this, arguments);
- return c(this, e)
- }
- }
- function c(t, e) {
- return !e || "object" !== i(e) && "function" !== typeof e ? u(t) : e
- }
- function u(t) {
- if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return t
- }
- function l() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return Date.prototype.toString.call(Reflect.construct(Date, [], (function () {
- }))), !0
- } catch (t) {
- return !1
- }
- }
- function f(t) {
- return f = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
- return t.__proto__ || Object.getPrototypeOf(t)
- }, f(t)
- }
- n.d(e, "a", (function () {
- return X
- }));
- var d = function (t) {
- var e = t.import("blots/block/embed"), n = function (t) {
- o(n, t);
- var e = s(n);
- function n() {
- return r(this, n), e.apply(this, arguments)
- }
- return n
- }(e);
- return n.blotName = "divider", n.tagName = "HR", {"formats/divider": n}
- };
- function h(t) {
- return h = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, h(t)
- }
- function p(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function v(t, e) {
- if ("function" !== typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
- t.prototype = Object.create(e && e.prototype, {
- constructor: {
- value: t,
- writable: !0,
- configurable: !0
- }
- }), e && g(t, e)
- }
- function g(t, e) {
- return g = Object.setPrototypeOf || function (t, e) {
- return t.__proto__ = e, t
- }, g(t, e)
- }
- function m(t) {
- return function () {
- var e, n = w(t);
- if (_()) {
- var i = w(this).constructor;
- e = Reflect.construct(n, arguments, i)
- } else e = n.apply(this, arguments);
- return b(this, e)
- }
- }
- function b(t, e) {
- return !e || "object" !== h(e) && "function" !== typeof e ? y(t) : e
- }
- function y(t) {
- if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return t
- }
- function _() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return Date.prototype.toString.call(Reflect.construct(Date, [], (function () {
- }))), !0
- } catch (t) {
- return !1
- }
- }
- function w(t) {
- return w = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
- return t.__proto__ || Object.getPrototypeOf(t)
- }, w(t)
- }
- var k = function (t) {
- var e = t.import("blots/inline"), n = function (t) {
- v(n, t);
- var e = m(n);
- function n() {
- return p(this, n), e.apply(this, arguments)
- }
- return n
- }(e);
- return n.blotName = "ins", n.tagName = "INS", {"formats/ins": n}
- }, S = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = e.Attributor,
- r = {scope: n.BLOCK, whitelist: ["left", "right", "center", "justify"]},
- o = new i.Style("align", "text-align", r);
- return {"formats/align": o}
- }, x = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = e.Attributor,
- r = {scope: n.BLOCK, whitelist: ["rtl"]}, o = new i.Style("direction", "direction", r);
- return {"formats/direction": o}
- };
- function C(t) {
- return C = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, C(t)
- }
- function T(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- function O(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function A(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function E(t, e, n) {
- return e && A(t.prototype, e), n && A(t, n), t
- }
- function j(t, e) {
- if ("function" !== typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
- t.prototype = Object.create(e && e.prototype, {
- constructor: {
- value: t,
- writable: !0,
- configurable: !0
- }
- }), e && M(t, e)
- }
- function M(t, e) {
- return M = Object.setPrototypeOf || function (t, e) {
- return t.__proto__ = e, t
- }, M(t, e)
- }
- function I(t) {
- return function () {
- var e, n = D(t);
- if (L()) {
- var i = D(this).constructor;
- e = Reflect.construct(n, arguments, i)
- } else e = n.apply(this, arguments);
- return $(this, e)
- }
- }
- function $(t, e) {
- return !e || "object" !== C(e) && "function" !== typeof e ? P(t) : e
- }
- function P(t) {
- if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return t
- }
- function L() {
- if ("undefined" === typeof Reflect || !Reflect.construct) return !1;
- if (Reflect.construct.sham) return !1;
- if ("function" === typeof Proxy) return !0;
- try {
- return Date.prototype.toString.call(Reflect.construct(Date, [], (function () {
- }))), !0
- } catch (t) {
- return !1
- }
- }
- function R(t, e, n) {
- return R = "undefined" !== typeof Reflect && Reflect.get ? Reflect.get : function (t, e, n) {
- var i = N(t, e);
- if (i) {
- var r = Object.getOwnPropertyDescriptor(i, e);
- return r.get ? r.get.call(n) : r.value
- }
- }, R(t, e, n || t)
- }
- function N(t, e) {
- while (!Object.prototype.hasOwnProperty.call(t, e)) if (t = D(t), null === t) break;
- return t
- }
- function D(t) {
- return D = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {
- return t.__proto__ || Object.getPrototypeOf(t)
- }, D(t)
- }
- var B = function (t) {
- var e = t.import("parchment"), n = t.import("blots/container"),
- i = t.import("formats/list/item"), r = function (t) {
- j(r, t);
- var n = I(r);
- function r(t) {
- var i;
- O(this, r), i = n.call(this, t);
- var o = function (n) {
- if (n.target.parentNode === t) {
- var r = i.statics.formats(t), o = e.find(n.target);
- "checked" === r ? o.format("list", "unchecked") : "unchecked" === r && o.format("list", "checked")
- }
- };
- return t.addEventListener("click", o), i
- }
- return E(r, null, [{
- key: "create", value: function (t) {
- var e = "ordered" === t ? "OL" : "UL", n = R(D(r), "create", this).call(this, e);
- return "checked" !== t && "unchecked" !== t || n.setAttribute("data-checked", "checked" === t), n
- }
- }, {
- key: "formats", value: function (t) {
- return "OL" === t.tagName ? "ordered" : "UL" === t.tagName ? t.hasAttribute("data-checked") ? "true" === t.getAttribute("data-checked") ? "checked" : "unchecked" : "bullet" : void 0
- }
- }]), E(r, [{
- key: "format", value: function (t, e) {
- this.children.length > 0 && this.children.tail.format(t, e)
- }
- }, {
- key: "formats", value: function () {
- return T({}, this.statics.blotName, this.statics.formats(this.domNode))
- }
- }, {
- key: "insertBefore", value: function (t, e) {
- if (t instanceof i) R(D(r.prototype), "insertBefore", this).call(this, t, e); else {
- var n = null == e ? this.length() : e.offset(this), o = this.split(n);
- o.parent.insertBefore(t, o)
- }
- }
- }, {
- key: "optimize", value: function (t) {
- R(D(r.prototype), "optimize", this).call(this, t);
- var e = this.next;
- null != e && e.prev === this && e.statics.blotName === this.statics.blotName && e.domNode.tagName === this.domNode.tagName && e.domNode.getAttribute("data-checked") === this.domNode.getAttribute("data-checked") && (e.moveChildren(this), e.remove())
- }
- }, {
- key: "replace", value: function (t) {
- if (t.statics.blotName !== this.statics.blotName) {
- var n = e.create(this.statics.defaultChild);
- t.moveChildren(n), this.appendChild(n)
- }
- R(D(r.prototype), "replace", this).call(this, t)
- }
- }]), r
- }(n);
- return r.blotName = "list", r.scope = e.Scope.BLOCK_BLOT, r.tagName = ["OL", "UL"], r.defaultChild = "list-item", r.allowedChildren = [i], {"formats/list": r}
- }, F = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = t.import("formats/background"),
- r = new i.constructor("backgroundColor", "background-color", {scope: n.INLINE});
- return {"formats/backgroundColor": r}
- }, z = n("f2b3"), W = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = e.Attributor, r = {scope: n.BLOCK},
- o = ["margin", "marginTop", "marginBottom", "marginLeft", "marginRight"],
- a = ["padding", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], s = {};
- return o.concat(a).forEach((function (t) {
- s["formats/".concat(t)] = new i.Style(t, Object(z["n"])(t), r)
- })), s
- }, q = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = e.Attributor, r = {scope: n.INLINE},
- o = ["font", "fontSize", "fontStyle", "fontVariant", "fontWeight", "fontFamily"], a = {};
- return o.forEach((function (t) {
- a["formats/".concat(t)] = new i.Style(t, Object(z["n"])(t), r)
- })), a
- }, H = function (t) {
- var e = t.import("parchment"), n = e.Scope, i = e.Attributor,
- r = [{name: "lineHeight", scope: n.BLOCK}, {
- name: "letterSpacing",
- scope: n.INLINE
- }, {name: "textDecoration", scope: n.INLINE}, {name: "textIndent", scope: n.BLOCK}], o = {};
- return r.forEach((function (t) {
- var e = t.name, n = t.scope;
- o["formats/".concat(e)] = new i.Style(e, Object(z["n"])(e), {scope: n})
- })), o
- }, V = n("cb0f"), U = function (t) {
- var e = t.import("formats/image"),
- n = ["alt", "height", "width", "data-custom", "class", "data-local"];
- e.sanitize = function (t) {
- return t ? Object(V["a"])(t) : t
- }, e.formats = function (t) {
- return n.reduce((function (e, n) {
- return t.hasAttribute(n) && (e[n] = t.getAttribute(n)), e
- }), {})
- };
- var i = e.prototype.format;
- e.prototype.format = function (t, e) {
- n.indexOf(t) > -1 ? e ? this.domNode.setAttribute(t, e) : this.domNode.removeAttribute(t) : i.call(this, t, e)
- }
- }, Y = function (t) {
- var e = t.import("formats/link");
- e.sanitize = function (t) {
- var n = document.createElement("a");
- n.href = t;
- var i = n.href.slice(0, n.href.indexOf(":"));
- return e.PROTOCOL_WHITELIST.concat("file").indexOf(i) > -1 ? t : e.SANITIZED_URL
- }
- };
- function X(t) {
- var e = {
- divider: d,
- ins: k,
- align: S,
- direction: x,
- list: B,
- background: F,
- box: W,
- font: q,
- text: H,
- image: U,
- link: Y
- }, n = {};
- Object.values(e).forEach((function (e) {
- return Object.assign(n, e(t))
- })), t.register(n, !0)
- }
- }, b282: function (t, e, n) {
- "use strict";
- (function (t) {
- var i, r = n("f2b3"), o = n("5cf8"), a = n("5a23"), s = n("a878");
- t.subscribe("getSelectedTextRange", (function (e) {
- var n = e.pageId, i = e.callbackId, r = document.activeElement, o = r.tagName.toLowerCase(),
- a = ["input", "textarea"], s = {};
- a.includes(o) ? (s.errMsg = "getSelectedTextRange:ok", s.start = r.selectionStart, s.end = r.selectionEnd) : s.errMsg = "getSelectedTextRange:fail no focused", t.publishHandler("onGetSelectedTextRange", {
- callbackId: i,
- data: s
- }, n)
- })), e["a"] = {
- name: "Field",
- mixins: [o["a"], a["a"], s["a"]],
- model: {prop: "value", event: "update:value"},
- props: {
- value: {type: [String, Number], default: ""},
- autoFocus: {type: [Boolean, String], default: !1},
- focus: {type: [Boolean, String], default: !1},
- cursor: {type: [Number, String], default: -1},
- selectionStart: {type: [Number, String], default: -1},
- selectionEnd: {type: [Number, String], default: -1},
- confirmHold: {type: Boolean, default: !1},
- ignoreCompositionEvent: {type: Boolean, default: !0}
- },
- data: function () {
- return {
- composing: !1,
- valueSync: this._getValueString(this.value, this.type),
- focusSync: this.focus,
- fixColor: 0 === String(navigator.vendor).indexOf("Apple") && CSS.supports("image-orientation:from-image")
- }
- },
- watch: {
- focus: function (t) {
- t ? this._focus() : this._blur()
- }, focusSync: function (t) {
- this.$emit("update:focus", t)
- }, cursorNumber: function () {
- this._checkCursor()
- }, selectionStartNumber: function () {
- this._checkSelection()
- }, selectionEndNumber: function () {
- this._checkSelection()
- }
- },
- computed: {
- needFocus: function () {
- return this.autoFocus || this.focus
- }, cursorNumber: function () {
- var t = Number(this.cursor);
- return isNaN(t) ? -1 : t
- }, selectionStartNumber: function () {
- var t = Number(this.selectionStart);
- return isNaN(t) ? -1 : t
- }, selectionEndNumber: function () {
- var t = Number(this.selectionEnd);
- return isNaN(t) ? -1 : t
- }
- },
- created: function () {
- var t = this, e = this.__valueChange = Object(r["d"])((function (e) {
- t.valueSync = t._getValueString(e, t.type)
- }), 100);
- this.$watch("value", e), this.__triggerInput = Object(r["r"])((function (e, n) {
- t.__valueChange.cancel(), t.$emit("update:value", n.value), t.$trigger("input", e, n)
- }), 100), this.$triggerInput = function (e, n, i) {
- t.__valueChange.cancel(), t.__triggerInput(e, n), i && t.__triggerInput.flush()
- }
- },
- beforeDestroy: function () {
- this.__valueChange.cancel(), this.__triggerInput.cancel()
- },
- directives: {
- field: {
- inserted: function (t, e, n) {
- n.context._initField(t)
- }
- }
- },
- methods: {
- _getValueString: function (t, e) {
- return "number" === e && isNaN(Number(t)) && (t = ""), null === t ? "" : String(t)
- }, _initField: function (t) {
- var e = this;
- this._field = t, i = i || Date.now(), this.needFocus && setTimeout((function () {
- e._focus()
- }))
- }, _focus: function () {
- if (this.needFocus) {
- var t = this._field;
- t ? t.focus() : setTimeout(this._focus.bind(this), 100)
- }
- }, _blur: function () {
- var t = this._field;
- t && t.blur()
- }, _onFocus: function (t) {
- this.focusSync = !0, this.$trigger("focus", t, {value: this.valueSync}), this._checkSelection(), this._checkCursor()
- }, _onBlur: function (t) {
- this.composing && (this.composing = !1, this._onInput(t, !0)), this.focusSync = !1;
- var e, n = t.target;
- "number" === n.type ? (n.type = "text", e = n.selectionEnd, n.type = "number") : e = n.selectionEnd, this.$trigger("blur", t, {
- value: this.valueSync,
- cursor: e
- })
- }, _checkSelection: function () {
- var t = this._field;
- this.focusSync && this.selectionStartNumber > -1 && this.selectionEndNumber > -1 && "number" !== t.type && (t.selectionStart = this.selectionStartNumber, t.selectionEnd = this.selectionEndNumber)
- }, _checkCursor: function () {
- var t = this._field;
- this.focusSync && this.selectionStartNumber < 0 && this.selectionEndNumber < 0 && this.cursorNumber > -1 && "number" !== t.type && (t.selectionEnd = t.selectionStart = this.cursorNumber)
- }
- }
- }
- }).call(this, n("501c"))
- }, b2bb: function (t, e, n) {
- }, b34d: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-form", t._g({}, t.$listeners), [n("span", [t._t("default")], 2)])
- }, r = [], o = n("8af1"), a = {
- name: "Form",
- mixins: [o["f"]],
- data: function () {
- return {childrenList: []}
- },
- listeners: {
- "@form-submit": "_onSubmit",
- "@form-reset": "_onReset",
- "@form-group-update": "_formGroupUpdateHandler"
- },
- methods: {
- _onSubmit: function (t) {
- var e = {};
- this.childrenList.forEach((function (t) {
- t._getFormData && t._getFormData().key && (e[t._getFormData().key] = t._getFormData().value)
- })), this.$trigger("submit", t, {value: e})
- }, _onReset: function (t) {
- this.$trigger("reset", t, {}), this.childrenList.forEach((function (t) {
- t._resetFormData && t._resetFormData()
- }))
- }, _formGroupUpdateHandler: function (t) {
- if ("add" === t.type) this.childrenList.push(t.vm); else {
- var e = this.childrenList.indexOf(t.vm);
- this.childrenList.splice(e, 1)
- }
- }
- }
- }, s = a, c = n("2877"), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, b3b1: function (t) {
- t.exports = JSON.parse('{"uni.app.quit":"Appuyez à nouveau pour quitter l\'application","uni.async.error":"La connexion a expiré, cliquez sur l\'écran pour réessayer.","uni.showActionSheet.cancel":"Annuler","uni.showToast.unpaired":"Veuillez noter que showToast doit être associé à hideToast","uni.showLoading.unpaired":"Veuillez noter que showLoading doit être associé à hideLoading","uni.showModal.cancel":"Annuler","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Annuler","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Caméra","uni.chooseVideo.cancel":"Annuler","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Caméra","uni.chooseFile.notUserActivation":"La boîte de dialogue du sélecteur de fichier ne peut être affichée qu\'avec une activation par l\'utilisateur","uni.previewImage.cancel":"Annuler","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Enregistré avec succès","uni.previewImage.save.fail":"Échec de la sauvegarde","uni.setClipboardData.success":"Contenu copié","uni.scanCode.title":"Code d’analyse","uni.scanCode.album":"Album","uni.scanCode.fail":"Fallo de reconocimiento","uni.scanCode.flash.on":"Appuyez pour activer l\'éclairage","uni.scanCode.flash.off":"Appuyez pour désactiver l\'éclairage","uni.startSoterAuthentication.authContent":"Reconnaissance de l\'empreinte digitale","uni.picker.done":"OK","uni.picker.cancel":"Annuler","uni.video.danmu":"Danmu","uni.video.volume":"Le Volume","uni.button.feedback.title":"retour d\'information","uni.button.feedback.send":"envoyer","uni.chooseLocation.search":"Trouve","uni.chooseLocation.cancel":"Annuler"}')
- }, b501: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "setClipboardData", (function () {
- return r
- }));
- var i = n("a6b0"), r = {
- data: {type: String, required: !0},
- showToast: {type: Boolean, default: !0},
- beforeSuccess: function (t, e) {
- if (e.showToast) {
- var n = Object(i["g"])("uni.setClipboardData.success");
- n && uni.showToast({title: n, icon: "success", mask: !1, style: {width: void 0}})
- }
- }
- }
- }, b628: function (t, e, n) {
- "use strict";
- var i = n("8b18"), r = n.n(i);
- r.a
- }, b705: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-rich-text", t._g({}, t.$listeners), [n("div", {ref: "content"}, [n("v-uni-resize-sensor", {
- ref: "sensor",
- on: {
- resize: function (e) {
- return t._updateView()
- }
- }
- })], 1)])
- }, r = [], o = n("b10a"), a = n("f2b3"), s = n("cb0f"), c = {
- a: "",
- abbr: "",
- address: "",
- article: "",
- aside: "",
- b: "",
- bdi: "",
- bdo: ["dir"],
- big: "",
- blockquote: "",
- br: "",
- caption: "",
- center: "",
- cite: "",
- code: "",
- col: ["span", "width"],
- colgroup: ["span", "width"],
- dd: "",
- del: "",
- div: "",
- dl: "",
- dt: "",
- em: "",
- fieldset: "",
- font: "",
- footer: "",
- h1: "",
- h2: "",
- h3: "",
- h4: "",
- h5: "",
- h6: "",
- header: "",
- hr: "",
- i: "",
- img: ["alt", "src", "height", "width"],
- ins: "",
- label: "",
- legend: "",
- li: "",
- mark: "",
- nav: "",
- ol: ["start", "type"],
- p: "",
- pre: "",
- q: "",
- rt: "",
- ruby: "",
- s: "",
- section: "",
- small: "",
- span: "",
- strong: "",
- sub: "",
- sup: "",
- table: ["width"],
- tbody: "",
- td: ["colspan", "height", "rowspan", "width"],
- tfoot: "",
- th: ["colspan", "height", "rowspan", "width"],
- thead: "",
- tr: ["colspan", "height", "rowspan", "width"],
- tt: "",
- u: "",
- ul: ""
- }, u = {amp: "&", gt: ">", lt: "<", nbsp: " ", quot: '"', apos: "'"};
- function l(t) {
- return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi, (function (t, e) {
- if (Object(a["i"])(u, e) && u[e]) return u[e];
- if (/^#[0-9]{1,4}$/.test(e)) return String.fromCharCode(e.slice(1));
- if (/^#x[0-9a-f]{1,4}$/i.test(e)) return String.fromCharCode("0" + e.slice(1));
- var n = document.createElement("div");
- return n.innerHTML = t, n.innerText || n.textContent
- }))
- }
- function f(t, e, n) {
- return "img" === t && "src" === e ? Object(s["a"])(n) : n
- }
- function d(t, e, n, i) {
- return t.forEach((function (t) {
- if (Object(a["l"])(t)) if (Object(a["i"])(t, "type") && "node" !== t.type) "text" === t.type && "string" === typeof t.text && "" !== t.text && e.appendChild(document.createTextNode(l(t.text))); else {
- if ("string" !== typeof t.name || !t.name) return;
- var r = t.name.toLowerCase();
- if (!Object(a["i"])(c, r)) return;
- var o = document.createElement(r);
- if (!o) return;
- var s = t.attrs;
- if (Object(a["l"])(s)) {
- var u = c[r] || [];
- Object.keys(s).forEach((function (t) {
- var e = s[t];
- switch (t) {
- case"class":
- Array.isArray(e) && (e = e.join(" "));
- case"style":
- o.setAttribute(t, e), n && o.setAttribute(n, "");
- break;
- default:
- -1 !== u.indexOf(t) && o.setAttribute(t, f(r, t, e))
- }
- }))
- }
- h(t, o, i);
- var p = t.children;
- Array.isArray(p) && p.length && d(t.children, o, n, i), e.appendChild(o)
- }
- })), e
- }
- function h(t, e, n) {
- ["a", "img"].includes(t.name) && n && (e.setAttribute("onClick", "return false;"), e.addEventListener("click", (function (e) {
- n(e, {node: t}), e.stopPropagation()
- }), !0))
- }
- var p = {
- name: "RichText", props: {
- nodes: {
- type: [Array, String], default: function () {
- return []
- }
- }
- }, watch: {
- nodes: function (t) {
- this._renderNodes(t)
- }
- }, mounted: function () {
- this._renderNodes(this.nodes)
- }, methods: {
- _renderNodes: function (t) {
- var e = "", n = this;
- while (n) !e && (e = n.$options._scopeId), n = n.$parent;
- var i = !!this.$listeners.itemclick;
- if (this._isMounted) {
- "string" === typeof t && (t = Object(o["a"])(t));
- var r = d(t, document.createDocumentFragment(), e, i && this.triggerItemClick);
- r.appendChild(this.$refs.sensor.$el);
- var a = this.$refs.content;
- a.innerHTML = "", a.appendChild(r)
- }
- }, _updateView: function () {
- window.dispatchEvent(new CustomEvent("updateview"))
- }, triggerItemClick: function (t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- this.$trigger("itemclick", t, e)
- }
- }
- }, v = p, g = n("2877"), m = Object(g["a"])(v, i, r, !1, null, null, null);
- e["default"] = m.exports
- }, b865: function (t, e, n) {
- "use strict";
- (function (t, i) {
- function r(e, n) {
- return t.emit("api." + e, n)
- }
- function o(t, e, n) {
- i.UniViewJSBridge.subscribeHandler(t, e, n)
- }
- n.d(e, "a", (function () {
- return r
- })), n.d(e, "b", (function () {
- return o
- }))
- }).call(this, n("0dd1"), n("c8ba"))
- }, b866: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getImageInfo", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- src: {
- type: String, required: !0, validator: function (t, e) {
- e.src = Object(i["a"])(t)
- }
- }
- }
- }, ba15: function (t, e, n) {
- "use strict";
- var i = function (t, e, n, i) {
- t.addEventListener(e, (function (t) {
- "function" === typeof n && !1 === n(t) && (t.preventDefault(), t.stopPropagation())
- }), {capture: i, passive: !1})
- };
- e["a"] = {
- beforeDestroy: function () {
- document.removeEventListener("mousemove", this.__mouseMoveEventListener), document.removeEventListener("mouseup", this.__mouseUpEventListener)
- }, methods: {
- touchtrack: function (t, e, n) {
- var r, o, a, s = this, c = this, u = 0, l = 0, f = 0, d = 0, h = function (t, n, i, r) {
- if (!1 === c[e]({
- target: t.target,
- currentTarget: t.currentTarget,
- preventDefault: t.preventDefault.bind(t),
- stopPropagation: t.stopPropagation.bind(t),
- touches: t.touches,
- changedTouches: t.changedTouches,
- detail: {
- state: n,
- x: i,
- y: r,
- dx: i - u,
- dy: r - l,
- ddx: i - f,
- ddy: r - d,
- timeStamp: t.timeStamp
- }
- })) return !1
- }, p = null;
- i(t, "touchstart", (function (t) {
- if (o = !0, 1 === t.touches.length && !p) return p = t, u = f = t.touches[0].pageX, l = d = t.touches[0].pageY, h(t, "start", u, l)
- })), i(t, "mousedown", (function (t) {
- if (a = !0, !o && !p) return p = t, u = f = t.pageX, l = d = t.pageY, h(t, "start", u, l)
- })), i(t, "touchmove", (function (t) {
- if (1 === t.touches.length && p) {
- var e = h(t, "move", t.touches[0].pageX, t.touches[0].pageY);
- return f = t.touches[0].pageX, d = t.touches[0].pageY, e
- }
- }));
- var v = this.__clickEventListener = function (t) {
- t.preventDefault(), t.stopPropagation()
- }, g = this.__mouseMoveEventListener = function (t) {
- if (!o && a && p) {
- !r && (Math.abs(f - u) > 2 || Math.abs(d - l) > 2) && (document.addEventListener("click", v, !0), r = !0);
- var e = h(t, "move", t.pageX, t.pageY);
- return f = t.pageX, d = t.pageY, e
- }
- };
- document.addEventListener("mousemove", g), i(t, "touchend", (function (t) {
- if (0 === t.touches.length && p) return o = !1, p = null, h(t, "end", t.changedTouches[0].pageX, t.changedTouches[0].pageY)
- }));
- var m = this.__mouseUpEventListener = function (t) {
- if (a = !1, !o && p) return r && setTimeout((function () {
- document.removeEventListener("click", s.__clickEventListener, !0), r = !1
- }), 0), p = null, h(t, "end", t.pageX, t.pageY)
- };
- document.addEventListener("mouseup", m), i(t, "touchcancel", (function (t) {
- if (p) {
- o = !1;
- var e = p;
- return p = null, h(t, n ? "cancel" : "end", e.touches[0].pageX, e.touches[0].pageY)
- }
- }))
- }
- }
- }
- }, bacd: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-canvas", t._g({
- attrs: {
- "canvas-id": t.canvasId,
- "disable-scroll": t.disableScroll
- }
- }, t._listeners), [n("canvas", {
- ref: "canvas",
- attrs: {width: "300", height: "150"}
- }), n("div", {
- staticStyle: {
- position: "absolute",
- top: "0",
- left: "0",
- width: "100%",
- height: "100%",
- overflow: "hidden"
- }
- }, [t._t("default")], 2), n("v-uni-resize-sensor", {
- ref: "sensor",
- on: {resize: t._resize}
- })], 1)
- }, r = [], o = n("d8ca"), a = o["a"], s = (n("0741"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, bb00: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "onKeyboardHeightChange", (function () {
- return a
- })), n.d(e, "offKeyboardHeightChange", (function () {
- return s
- }));
- var i, r = n("a118"), o = n("db70");
- function a(t) {
- Object(r["b"])(i), i = t
- }
- function s() {
- i = null
- }
- Object(o["d"])("onKeyboardHeightChange", (function (t) {
- i && Object(r["a"])(i, t)
- }))
- }, bd97: function (t, e, n) {
- "use strict";
- n.r(e), e["default"] = {
- image: {
- jpg: "jpeg",
- jpe: "jpeg",
- pbm: "x-portable-bitmap",
- pgm: "x-portable-graymap",
- pnm: "x-portable-anymap",
- ppm: "x-portable-pixmap",
- psd: "vnd.adobe.photoshop",
- pic: "x-pict",
- rgb: "x-rgb",
- svg: "svg+xml",
- svgz: "svg+xml",
- tif: "tiff",
- xif: "vnd.xiff",
- wbmp: "vnd.wap.wbmp",
- wdp: "vnd.ms-photo",
- xbm: "x-xbitmap",
- ico: "x-icon"
- },
- video: {
- "3g2": "3gpp2",
- "3gp": "3gpp",
- avi: "x-msvideo",
- f4v: "x-f4v",
- flv: "x-flv",
- jpgm: "jpm",
- jpgv: "jpeg",
- m1v: "mpeg",
- m2v: "mpeg",
- mpe: "mpeg",
- mpg: "mpeg",
- mpg4: "mpeg",
- m4v: "x-m4v",
- mkv: "x-matroska",
- mov: "quicktime",
- qt: "quicktime",
- movie: "x-sgi-movie",
- mp4v: "mp4",
- ogv: "ogg",
- smv: "x-smv",
- wm: "x-ms-wm",
- wmv: "x-ms-wmv",
- wmx: "x-ms-wmx",
- wvx: "x-ms-wvx"
- }
- }
- }, bdb1: function (t, e, n) {
- var i = {
- "./base/base64.js": "1ca3",
- "./base/can-i-use.js": "3648",
- "./base/interceptor.js": "2eae",
- "./base/upx2px.js": "45d2",
- "./context/audio.js": "2c67",
- "./context/background-audio.js": "c3f2",
- "./context/canvas.js": "303f",
- "./context/create-map-context.js": "bfa6",
- "./context/create-video-context.js": "ee03",
- "./context/editor.js": "60db",
- "./context/inner-audio.js": "57a7",
- "./device/network.js": "8b3f",
- "./device/theme.js": "d001",
- "./keyboard/get-selected-text-range.js": "d502",
- "./keyboard/keyboard.js": "bb00",
- "./media/preview-image.js": "898f",
- "./media/recorder.js": "3676",
- "./network/download-file.js": "f0c3",
- "./network/request.js": "82c2",
- "./network/socket.js": "811a",
- "./network/update.js": "c7d8",
- "./network/upload-file.js": "1ff3",
- "./ui/create-animation.js": "1e4d",
- "./ui/create-intersection-observer.js": "091a",
- "./ui/create-media-query-observer.js": "68fb",
- "./ui/create-selector-query.js": "af33",
- "./ui/load-font-face.js": "0001",
- "./ui/locale.js": "9776",
- "./ui/page-scroll-to.js": "84e0",
- "./ui/set-page-meta.js": "2ec6",
- "./ui/tab-bar.js": "454d",
- "./ui/window.js": "9b1b"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "bdb1"
- }, bdbe: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return a
- }));
- var i = n("8bbf"), r = n.n(i), o = n("a6b0");
- __uniConfig.tabBar = r.a.observable(Object(o["f"])(__uniConfig.tabBar || {}));
- var a = __uniConfig.tabBar
- }, be12: function (t, e, n) {
- "use strict";
- (function (t) {
- function n(t, e, n) {
- var i = Array.prototype.slice.call(t.changedTouches).filter((function (t) {
- return t.identifier === e
- }))[0];
- return !!i && (t.deltaY = i.pageY - n, !0)
- }
- var i = "pulling", r = "reached", o = "aborting", a = "refreshing", s = "restoring";
- e["a"] = {
- mounted: function () {
- var e = this;
- this.enablePullDownRefresh && (this.refreshContainerElem = this.$refs.refresh.$el, this.refreshControllerElem = this.refreshContainerElem.querySelector(".uni-page-refresh"), this.refreshInnerElemStyle = this.refreshControllerElem.querySelector(".uni-page-refresh-inner").style, t.on(this.$route.params.__id__ + ".startPullDownRefresh", (function () {
- e.state || (e.state = a, e._addClass(), setTimeout((function () {
- e._refreshing()
- }), 50))
- })), t.on(this.$route.params.__id__ + ".stopPullDownRefresh", (function () {
- e.state === a && (e._removeClass(), e.state = s, e._addClass(), e._restoring((function () {
- e._removeClass(), e.state = e.distance = e.offset = null
- })))
- })))
- }, methods: {
- _touchstart: function (t) {
- var e = t.changedTouches[0];
- this.touchId = e.identifier, this.startY = e.pageY, [o, a, s].indexOf(this.state) >= 0 ? this.canRefresh = !1 : this.canRefresh = !0
- }, _touchmove: function (t) {
- if (this.canRefresh && n(t, this.touchId, this.startY)) {
- var e = t.deltaY;
- if (0 === (document.documentElement.scrollTop || document.body.scrollTop)) {
- if (!(e < 0) || this.state) {
- t.preventDefault(), null == this.distance && (this.offset = e, this.state = i, this._addClass()), e -= this.offset, e < 0 && (e = 0), this.distance = e;
- var o = e >= this.refreshOptions.range && this.state !== r,
- a = e < this.refreshOptions.range && this.state !== i;
- (o || a) && (this._removeClass(), this.state = this.state === r ? i : r, this._addClass()), this._pulling(e)
- }
- } else this.touchId = null
- }
- }, _touchend: function (t) {
- var e = this;
- n(t, this.touchId, this.startY) && null !== this.state && (this.state === i ? (this._removeClass(), this.state = o, this._addClass(), this._aborting((function () {
- e._removeClass(), e.state = e.distance = e.offset = null
- }))) : this.state === r && (this._removeClass(), this.state = a, this._addClass(), this._refreshing()))
- }, _toggleClass: function (t) {
- if (this.state) {
- var e = this.refreshContainerElem;
- e && e.classList[t]("uni-page-refresh--" + this.state)
- }
- }, _addClass: function () {
- this._toggleClass("add")
- }, _removeClass: function () {
- this._toggleClass("remove")
- }, _pulling: function (t) {
- var e = this.refreshControllerElem;
- if (e) {
- var n = e.style, i = t / this.refreshOptions.range;
- i > 1 ? i = 1 : i *= i * i;
- var r = Math.round(t / (this.refreshOptions.range / this.refreshOptions.height)),
- o = r ? "translate3d(-50%, " + r + "px, 0)" : 0;
- n.webkitTransform = o, n.clip = "rect(" + (45 - r) + "px,45px,45px,-5px)", this.refreshInnerElemStyle.webkitTransform = "rotate(" + 360 * i + "deg)"
- }
- }, _aborting: function (t) {
- var e = this.refreshControllerElem;
- if (e) {
- var n = e.style;
- if (n.webkitTransform) {
- n.webkitTransition = "-webkit-transform 0.3s", n.webkitTransform = "translate3d(-50%, 0, 0)";
- var i = function i() {
- r && clearTimeout(r), e.removeEventListener("webkitTransitionEnd", i), n.webkitTransition = "", t()
- };
- e.addEventListener("webkitTransitionEnd", i);
- var r = setTimeout(i, 350)
- } else t()
- }
- }, _refreshing: function () {
- var e = this.refreshControllerElem;
- if (e) {
- var n = e.style;
- n.webkitTransition = "-webkit-transform 0.2s", n.webkitTransform = "translate3d(-50%, " + this.refreshOptions.height + "px, 0)", t.emit("onPullDownRefresh", {}, this.$route.params.__id__)
- }
- }, _restoring: function (t) {
- var e = this.refreshControllerElem;
- if (e) {
- var n = e.style;
- n.webkitTransition = "-webkit-transform 0.3s", n.webkitTransform += " scale(0.01)";
- var i = function i() {
- r && clearTimeout(r), e.removeEventListener("webkitTransitionEnd", i), n.webkitTransition = "", n.webkitTransform = "translate3d(-50%, 0, 0)", t()
- };
- e.addEventListener("webkitTransitionEnd", i);
- var r = setTimeout(i, 350)
- }
- }
- }
- }
- }).call(this, n("0dd1"))
- }, be14: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e, n) {
- var i = t, r = i.invokeCallbackHandler;
- getApp().$router.push({
- type: "navigateTo",
- path: "/choose-location",
- query: e
- }, (function () {
- var e = function e(i) {
- t.unsubscribe("onChooseLocation", e), r(n, i ? Object.assign(i, {errMsg: "chooseLocation:ok"}) : {errMsg: "chooseLocation:fail"})
- };
- t.subscribe("onChooseLocation", e)
- }), (function () {
- r(n, {errMsg: "chooseLocation:fail"})
- }))
- }
- n.d(e, "chooseLocation", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, bfa6: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "MapContext", (function () {
- return l
- })), n.d(e, "createMapContext", (function () {
- return f
- }));
- var i = n("db70"), r = n("f2b3");
- function o(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function a(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function s(t, e, n) {
- return e && a(t.prototype, e), n && a(t, n), t
- }
- function c(t, e, n, r) {
- Object(i["c"])("operateMapPlayer", t, e, n, r)
- }
- t.subscribe("onMapMethodCallback", (function (t) {
- var e = t.callbackId, n = t.data;
- r["a"].invoke(e, n)
- }));
- var u = ["getCenterLocation", "moveToLocation", "getScale", "getRegion", "includePoints", "translateMarker", "addCustomLayer", "removeCustomLayer", "addGroundOverlay", "removeGroundOverlay", "updateGroundOverlay", "initMarkerCluster", "addMarkers", "removeMarkers", "moveAlong", "openMapApp"],
- l = function () {
- function t(e, n) {
- o(this, t), this.id = e, this.pageVm = n
- }
- return s(t, [{
- key: "on", value: function (t, e) {
- c(this.id, this.pageVm, "on", {name: t, callback: e})
- }
- }]), t
- }();
- function f(t, e) {
- return new l(t, e || Object(i["b"])("createMapContext"))
- }
- l.prototype.$getAppMap = function () {
- }, u.forEach((function (t) {
- l.prototype[t] = r["a"].warp((function (e, n) {
- e.callbackId = n, c(this.id, this.pageVm, t, e)
- }))
- }))
- }.call(this, n("0dd1"))
- }, bfbd: function (t, e, n) {
- }, bfea: function (t, e, n) {
- "use strict";
- var i = n("4e0b"), r = n.n(i);
- r.a
- }, c0e5: function (t, e, n) {
- }, c195: function (t, e, n) {
- }, c2aa: function (t, e, n) {
- }, c33a: function (t, e, n) {
- }, c33f: function (t, e, n) {
- "use strict";
- var i = n("c195"), r = n.n(i);
- r.a
- }, c3f2: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getBackgroundAudioManager", (function () {
- return h
- }));
- var i = n("db70");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- var s = ["canplay", "play", "pause", "stop", "ended", "timeUpdate", "prev", "next", "error", "waiting"],
- c = {};
- s.forEach((function (t) {
- c[t] = []
- }));
- var u, l = [{name: "duration", readonly: !0}, {name: "currentTime", readonly: !0}, {
- name: "paused",
- readonly: !0
- }, {name: "src", cache: !0}, {name: "startTime", default: 0, cache: !0}, {
- name: "buffered",
- readonly: !0
- }, {name: "title", cache: !0}, {name: "epname", cache: !0}, {
- name: "singer",
- cache: !0
- }, {name: "coverImgUrl", cache: !0}, {name: "webUrl", cache: !0}, {
- name: "protocol",
- readonly: !0,
- default: "http"
- }, {name: "playbackRate", default: 1, cache: !0}], f = ["prev", "next"], d = function () {
- function t() {
- var e = this;
- r(this, t), this._options = {}, Object(i["d"])("onBackgroundAudioStateChange", (function (t) {
- var e = t.state, n = t.errMsg, i = t.errCode;
- c[e].forEach((function (t) {
- "function" === typeof t && t("error" === e ? {errMsg: n, errCode: i} : {})
- }))
- })), f.forEach((function (t) {
- Object(i["d"])("onBackgroundAudio".concat(t[0].toUpperCase() + t.substr(1)), (function () {
- c[t].forEach((function (t) {
- "function" === typeof t && t({})
- }))
- }))
- })), l.forEach((function (t) {
- var n = t.name, r = {
- get: function () {
- var e = t.cache ? this._options : Object(i["c"])("getBackgroundAudioState");
- return n in e ? e[n] : t.default
- }
- };
- t.readonly || (r.set = function (t) {
- this._options[n] = t, Object(i["c"])("setBackgroundAudioState", Object.assign({}, this._options, {audioId: this.id}), n)
- }), Object.defineProperty(e, n, r)
- }))
- }
- return a(t, [{
- key: "play", value: function () {
- this._operate("play")
- }
- }, {
- key: "pause", value: function () {
- this._operate("pause")
- }
- }, {
- key: "stop", value: function () {
- this._operate("stop")
- }
- }, {
- key: "seek", value: function (t) {
- this._operate("seek", {currentTime: t})
- }
- }, {
- key: "_operate", value: function (t, e) {
- Object(i["c"])("operateBackgroundAudio", Object.assign({}, e, {operationType: t}))
- }
- }]), t
- }();
- function h() {
- return u || (u = new d)
- }
- s.forEach((function (t) {
- var e = t[0].toUpperCase() + t.substr(1);
- d.prototype["on".concat(e)] = function (e) {
- c[t].push(e)
- }
- }))
- }, c418: function (t, e, n) {
- }, c41f: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-cover-view", t._g({attrs: {"scroll-top": t.scrollTop}}, t.$listeners), [n("div", {
- ref: "content",
- staticClass: "uni-cover-view"
- }, [t._t("default")], 2)])
- }, r = [], o = {
- name: "CoverView",
- props: {scrollTop: {type: [String, Number], default: 0}},
- watch: {
- scrollTop: function (t) {
- this.setScrollTop(t)
- }
- },
- mounted: function () {
- this.setScrollTop(this.scrollTop)
- },
- methods: {
- setScrollTop: function (t) {
- var e = this.$refs.content;
- "scroll" === getComputedStyle(e).overflowY && (e.scrollTop = this._upx2pxNum(t))
- }, _upx2pxNum: function (t) {
- return /\d+[ur]px$/i.test(t) && t.replace(/\d+[ur]px$/i, (function (t) {
- return uni.upx2px(parseFloat(t))
- })), parseFloat(t) || 0
- }
- }
- }, a = o, s = (n("cc5f"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, c4c5: function (t, e, n) {
- "use strict";
- (function (t, i) {
- n.d(e, "a", (function () {
- return h
- }));
- var r = n("f2b3");
- function o(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function a(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function s(t, e, n) {
- return e && a(t.prototype, e), n && a(t, n), t
- }
- var c = /^\s+|\s+$/g, u = /\s+/;
- function l(t, e, n) {
- var i = [], r = function (t) {
- return r = n ? function (t) {
- return !e.contains(t)
- } : function (t) {
- return e.contains(t)
- }, r(t)
- };
- return t.forEach((function (t) {
- t = t.replace(c, ""), r(t) && i.push(t)
- })), i
- }
- function f(t) {
- var e = {}, n = /;(?![^(]*\))/g, i = /:(.+)/;
- return t.split(n).forEach((function (t) {
- if (t) {
- var n = t.split(i);
- n.length > 1 && (e[n[0].trim()] = n[1].trim())
- }
- })), e
- }
- var d = function () {
- function e(t) {
- o(this, e), this.$vm = t, Object.defineProperty(this, "$el", {
- get: function () {
- return t.$el
- }
- })
- }
- return s(e, [{
- key: "selectComponent", value: function (t) {
- if (this.$el && t) {
- var e = this.$el.querySelector(t);
- return e && e.__vue__ && h(e.__vue__, !1)
- }
- }
- }, {
- key: "selectAllComponents", value: function (t) {
- if (!this.$el || !t) return [];
- for (var e = [], n = this.$el.querySelectorAll(t), i = 0; i < n.length; i++) {
- var r = n[i];
- r.__vue__ && e.push(h(r.__vue__, !1))
- }
- return e
- }
- }, {
- key: "setStyle", value: function (t) {
- return this.$el && t ? ("string" === typeof t && (t = f(t)), Object(r["l"])(t) && (this.$el.__wxsStyle = t, this.$vm.$forceUpdate()), this) : this
- }
- }, {
- key: "addClass", value: function () {
- for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n];
- if (!this.$el || !e.length) return this;
- var i = l(e, this.$el.classList, !0);
- if (i.length) {
- var r = this.$el.__wxsAddClass || "";
- this.$el.__wxsAddClass = r + (r ? " " : "") + i.join(" "), this.$vm.$forceUpdate()
- }
- return this
- }
- }, {
- key: "removeClass", value: function () {
- for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n];
- if (!this.$el || !e.length) return this;
- var i = this.$el.classList,
- r = this.$el.__wxsAddClass ? this.$el.__wxsAddClass.split(u) : [],
- o = l(e, i, !1);
- if (o.length) {
- var a = [];
- o.forEach((function (t) {
- var e = r.findIndex((function (e) {
- return e === t
- }));
- -1 !== e && r.splice(e, 1), a.push(t)
- })), this.$el.__wxsRemoveClass = a, this.$el.__wxsAddClass = r.join(" "), this.$vm.$forceUpdate()
- }
- return this
- }
- }, {
- key: "hasClass", value: function (t) {
- return this.$el && this.$el.classList.contains(t)
- }
- }, {
- key: "getComputedStyle", value: function () {
- return this.$el ? window.getComputedStyle(this.$el) : {}
- }
- }, {
- key: "getDataset", value: function () {
- return this.$el && this.$el.dataset
- }
- }, {
- key: "callMethod", value: function (e) {
- var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- e in this.$vm ? this.$vm[e](JSON.parse(JSON.stringify(n))) : this.$vm._$id && t.publishHandler("onWxsInvokeCallMethod", {
- cid: this.$vm._$id,
- method: e,
- args: n
- })
- }
- }, {
- key: "requestAnimationFrame", value: function (t) {
- return i.requestAnimationFrame(t), this
- }
- }, {
- key: "getState", value: function () {
- return this.$el && (this.$el.__wxsState || (this.$el.__wxsState = {}))
- }
- }, {
- key: "triggerEvent", value: function (t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
- return this.$vm.$emit(t, e), this
- }
- }, {
- key: "setTimeout", value: function (t, e) {
- return window.setTimeout(t, e)
- }
- }, {
- key: "clearTimeout", value: function (t) {
- return window.clearTimeout(t)
- }
- }, {
- key: "getBoundingClientRect", value: function () {
- return this.$el.getBoundingClientRect()
- }
- }]), e
- }();
- function h(t) {
- var e = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
- if (e && t && t.$options.name && 0 === t.$options.name.indexOf("VUni") && (t = t.$parent), t) return "__wxsComponentDescriptor" in t || (t.__wxsComponentDescriptor = new d(t)), t.__wxsComponentDescriptor
- }
- }).call(this, n("501c"), n("c8ba"))
- }, c61c: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = n("f2b3"), r = n("d4cd");
- function o(t) {
- return Math.sqrt(t.x * t.x + t.y * t.y)
- }
- var a, s, c = {
- name: "MovableArea", props: {scaleArea: {type: Boolean, default: !1}}, data: function () {
- return {width: 0, height: 0, items: []}
- }, created: function () {
- this.gapV = {x: null, y: null}, this.pinchStartLen = null
- }, mounted: function () {
- this._resize(), Object(r["b"])()
- }, methods: {
- _resize: function () {
- this._getWH(), this.items.forEach((function (t, e) {
- t.componentInstance.setParent()
- }))
- }, _find: function (t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.items,
- n = this.$el;
- function i(t) {
- for (var r = 0; r < e.length; r++) {
- var o = e[r];
- if (t === o.componentInstance.$el) return o
- }
- return t === n || t === document.body || t === document ? null : i(t.parentNode)
- }
- return i(t)
- }, _touchstart: function (t) {
- Object(r["a"])({disable: !0});
- var e = t.touches;
- if (e && e.length > 1) {
- var n = {x: e[1].pageX - e[0].pageX, y: e[1].pageY - e[0].pageY};
- if (this.pinchStartLen = o(n), this.gapV = n, !this.scaleArea) {
- var i = this._find(e[0].target), a = this._find(e[1].target);
- this._scaleMovableView = i && i === a ? i : null
- }
- }
- }, _touchmove: function (t) {
- var e = t.touches;
- if (e && e.length > 1) {
- t.preventDefault();
- var n = {x: e[1].pageX - e[0].pageX, y: e[1].pageY - e[0].pageY};
- if (null !== this.gapV.x && this.pinchStartLen > 0) {
- var i = o(n) / this.pinchStartLen;
- this._updateScale(i)
- }
- this.gapV = n
- }
- }, _touchend: function (t) {
- Object(r["a"])({disable: !1});
- var e = t.touches;
- e && e.length || t.changedTouches && (this.gapV.x = 0, this.gapV.y = 0, this.pinchStartLen = null, this.scaleArea ? this.items.forEach((function (t) {
- t.componentInstance._endScale()
- })) : this._scaleMovableView && this._scaleMovableView.componentInstance._endScale())
- }, _updateScale: function (t) {
- t && 1 !== t && (this.scaleArea ? this.items.forEach((function (e) {
- e.componentInstance._setScale(t)
- })) : this._scaleMovableView && this._scaleMovableView.componentInstance._setScale(t))
- }, _getWH: function () {
- var t = window.getComputedStyle(this.$el), e = this.$el.getBoundingClientRect();
- this.width = e.width - ["Left", "Right"].reduce((function (e, n) {
- return e + parseFloat(t["border" + n + "Width"]) + parseFloat(t["padding" + n])
- }), 0), this.height = e.height - ["Top", "Bottom"].reduce((function (e, n) {
- return e + parseFloat(t["border" + n + "Width"]) + parseFloat(t["padding" + n])
- }), 0)
- }
- }, render: function (t) {
- var e = this, n = [], r = this.$slots.default && Object(i["f"])(this.$slots.default, t);
- r && r.forEach((function (t) {
- t.componentOptions && "v-uni-movable-view" === t.componentOptions.tag && n.push(t)
- })), this.items = n;
- var o = Object.assign({}, this.$listeners), a = ["touchstart", "touchmove", "touchend"];
- return a.forEach((function (t) {
- var n = o[t], i = e["_".concat(t)];
- o[t] = n ? [].concat(n, i) : i
- })), t("uni-movable-area", {on: o}, [t("v-uni-resize-sensor", {on: {resize: this._resize}}), r])
- }
- }, u = c, l = (n("a3e5"), n("2877")), f = Object(l["a"])(u, a, s, !1, null, null, null);
- e["default"] = f.exports
- }, c7d8: function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function r(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function o(t, e, n) {
- return e && r(t.prototype, e), n && r(t, n), t
- }
- n.r(e), n.d(e, "getUpdateManager", (function () {
- return c
- }));
- var a, s = function () {
- function t() {
- i(this, t)
- }
- return o(t, [{
- key: "onCheckForUpdate", value: function () {
- }
- }, {
- key: "onUpdateReady", value: function () {
- }
- }, {
- key: "onUpdateFailed", value: function () {
- }
- }, {
- key: "applyUpdate", value: function () {
- }
- }]), t
- }();
- function c() {
- return a || (a = new s)
- }
- }, c8ba: function (t, e) {
- var n;
- n = function () {
- return this
- }();
- try {
- n = n || new Function("return this")()
- } catch (i) {
- "object" === typeof window && (n = window)
- }
- t.exports = n
- }, c8ed: function (t, e, n) {
- "use strict";
- var i = n("72ad"), r = n.n(i);
- r.a
- }, c96e: function (t, e, n) {
- "use strict";
- var i = n("1307"), r = n.n(i);
- r.a
- }, cb0f: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return s
- }));
- var i = n("0f74"), r = /^([a-z-]+:)?\/\//i, o = /^data:.*,.*/;
- function a(t) {
- var e = __uniConfig.router.base;
- return e ? "/" !== e && 0 === ("/" + t).indexOf(e) ? "/" + t : e + t : t
- }
- function s(t) {
- if ("./" === __uniConfig.router.base && (t = t.replace(/^\.\/static\//, "/static/")), 0 === t.indexOf("/")) {
- if (0 !== t.indexOf("//")) return a(t.substr(1));
- t = "https:" + t
- }
- if (r.test(t) || o.test(t) || 0 === t.indexOf("blob:")) return t;
- var e = getCurrentPages();
- return e.length ? a(Object(i["a"])(e[e.length - 1].$page.route, t).substr(1)) : t
- }
- }, cc5f: function (t, e, n) {
- "use strict";
- var i = n("324c"), r = n.n(i);
- r.a
- }, cc76: function (t, e, n) {
- "use strict";
- var i = Object.create(null), r = n("19c4");
- r.keys().forEach((function (t) {
- Object.assign(i, r(t))
- })), e["a"] = i
- }, cc89: function (t, e, n) {
- }, cdc1: function (t, e, n) {
- "use strict";
- (function (t, i) {
- var r = n("f2b3"), o = n("65a8"), a = n("81ea"), s = n("f1ea"), c = n("bdbe");
- e["a"] = {
- name: "App",
- components: a["a"],
- mixins: s["default"],
- props: {
- keepAliveInclude: {
- type: Array, default: function () {
- return []
- }
- }
- },
- data: function () {
- return {
- transitionName: "fade",
- hideTabBar: !1,
- sysComponents: this.$sysComponents,
- showLayout: !1,
- showMaxWidth: !1,
- tabBarMediaQuery: !1
- }
- },
- computed: {
- key: function () {
- return this.$route.meta.name + "-" + this.$route.params.__id__ + "-" + (__uniConfig.reLaunch || 1)
- }, tabBarOptions: function () {
- return c["a"]
- }, hasTabBar: function () {
- return c["a"].list && c["a"].list.length
- }, showTabBar: function () {
- return !this.hideTabBar && (this.$route.meta.isTabBar || this.tabBarMediaQuery)
- }
- },
- watch: {
- $route: function (e, n) {
- t.emit("onHidePopup")
- }, hideTabBar: function (t, e) {
- if (uni.canIUse("css.var")) {
- var n = t ? 0 : o["c"],
- r = uni.canIUse("css.env") ? "env" : uni.canIUse("css.constant") ? "constant" : "",
- a = n && r ? "calc(".concat(n, "px + ").concat(r, "(safe-area-inset-bottom))") : "".concat(n, "px");
- document.documentElement.style.setProperty("--window-bottom", a), i.debug("uni.".concat(a ? "showTabBar" : "hideTabBar", ":--window-bottom=").concat(a))
- }
- window.dispatchEvent(new CustomEvent("resize"))
- }
- },
- created: function () {
- uni.canIUse("css.var") && document.documentElement.style.setProperty("--status-bar-height", "0px"), this.initMediaQuery()
- },
- mounted: function () {
- window.addEventListener("message", (function (e) {
- Object(r["l"])(e.data) && "WEB_INVOKE_APPSERVICE" === e.data.type && t.emit("onWebInvokeAppService", e.data.data, e.data.pageId)
- })), document.addEventListener("visibilitychange", (function () {
- "visible" === document.visibilityState ? t.emit("onAppEnterForeground", {}) : t.emit("onAppEnterBackground")
- }))
- },
- methods: {
- onLayout: function (t) {
- this.showLayout = t
- }, onMaxWidth: function (t) {
- this.showMaxWidth = t
- }, initMediaQuery: function () {
- var t = this;
- if (window.matchMedia && c["a"].matchMedia && Object(r["i"])(c["a"].matchMedia, "minWidth")) {
- var e = window.matchMedia("(min-width: " + c["a"].matchMedia.minWidth + "px)");
- e.addListener((function (e) {
- t.tabBarMediaQuery = e.matches
- })), this.tabBarMediaQuery = e.matches
- }
- }
- }
- }
- }).call(this, n("0dd1"), n("3ad9")["default"])
- }, cf6f: function (t, e, n) {
- "use strict";
- function i(t, e, n) {
- n(null, t)
- }
- n.d(e, "a", (function () {
- return i
- }))
- }, d001: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "onThemeChange", (function () {
- return a
- })), n.d(e, "onUIStyleChange", (function () {
- return s
- }));
- var i = n("a118"), r = n("db70"), o = [];
- function a(t) {
- o.push(t)
- }
- function s(e) {
- o.push(e), t.warn('The "uni.onUIStyleChange" API is deprecated, please use "uni.onThemeChange". Learn more: https://uniapp.dcloud.net.cn/api/system/theme.')
- }
- Object(r["d"])("onThemeChange", (function (t) {
- o.forEach((function (e) {
- Object(i["a"])(e, t)
- }))
- })), Object(r["d"])("onUIStyleChange", (function (t) {
- o.forEach((function (e) {
- Object(i["a"])(e, t)
- }))
- }))
- }.call(this, n("3ad9")["default"])
- }, d013: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "loadSubPackage", (function () {
- return i
- }));
- var i = {
- root: {
- type: String, required: !0, validator: function (t, e) {
- var n = __uniConfig.subPackages;
- return Array.isArray(n) && 0 !== n.length ? n.find((function (e) {
- return e.root === t
- })) ? void 0 : "root `" + t + "` is not found" : "no subPackages"
- }
- }
- }
- }, d218: function (t, e) {
- }, d29c: function (t, e, n) {
- }, d3bd: function (t, e, n) {
- "use strict";
- n.r(e), n("a6b0");
- var i, r, o = n("8af1"), a = {
- name: "Button",
- mixins: [o["c"], o["a"], o["f"]],
- props: {
- hoverClass: {type: String, default: "button-hover"},
- disabled: {type: [Boolean, String], default: !1},
- id: {type: String, default: ""},
- hoverStopPropagation: {type: Boolean, default: !1},
- hoverStartTime: {type: [Number, String], default: 20},
- hoverStayTime: {type: [Number, String], default: 70},
- formType: {
- type: String, default: "", validator: function (t) {
- return ~["", "submit", "reset"].indexOf(t)
- }
- },
- openType: {type: String, default: ""}
- },
- data: function () {
- return {clickFunction: null}
- },
- methods: {
- _onClick: function (t, e) {
- this.disabled || (e && this.$el.click(), this.formType ? this.$dispatch("Form", "submit" === this.formType ? "uni-form-submit" : "uni-form-reset", {type: this.formType}) : this.openType)
- }, _bindObjectListeners: function (t, e) {
- if (e) for (var n in e) {
- var i = t.on[n], r = e[n];
- t.on[n] = i ? [].concat(i, r) : r
- }
- return t
- }
- },
- render: function (t) {
- var e = this, n = Object.create(null);
- return this.$listeners && Object.keys(this.$listeners).forEach((function (t) {
- (!e.disabled || "click" !== t && "tap" !== t) && (n[t] = e.$listeners[t])
- })), this.hoverClass && "none" !== this.hoverClass ? t("uni-button", this._bindObjectListeners({
- class: [this.hovering ? this.hoverClass : ""],
- attrs: {disabled: this.disabled},
- on: {
- touchstart: this._hoverTouchStart,
- touchend: this._hoverTouchEnd,
- touchcancel: this._hoverTouchCancel,
- click: this._onClick
- }
- }, n), this.$slots.default) : t("uni-button", this._bindObjectListeners({
- class: [this.hovering ? this.hoverClass : ""],
- attrs: {disabled: this.disabled},
- on: {click: this._onClick}
- }, n), this.$slots.default)
- },
- listeners: {"label-click": "_onClick", "@label-click": "_onClick"}
- }, s = a, c = (n("5676"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, d46d: function (t, e) {
- t.exports = n
- }, d4b6: function (t, e, n) {
- "use strict";
- n.d(e, "b", (function () {
- return l
- })), n.d(e, "a", (function () {
- return _
- }));
- var i = n("f2b3"), r = n("85b6"), o = n("24d9"), a = n("a470");
- function s(t, e) {
- var n = {
- id: t.id,
- offsetLeft: t.offsetLeft,
- offsetTop: t.offsetTop,
- dataset: Object(r["b"])(t)
- };
- return e && Object.assign(n, e), n
- }
- function c(t) {
- if (t) {
- for (var e = [], n = Object(a["a"])(), i = n.top, r = 0; r < t.length; r++) {
- var o = t[r];
- e.push({
- identifier: o.identifier,
- pageX: o.pageX,
- pageY: o.pageY - i,
- clientX: o.clientX,
- clientY: o.clientY - i,
- force: o.force || 0
- })
- }
- return e
- }
- return []
- }
- function u(t) {
- return t.startsWith("mouse") || ["contextmenu"].includes(t)
- }
- function l(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
- i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {},
- r = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : {};
- if (e._processed) return e.type = n.type || t, e;
- if ("click" === t) {
- var l = Object(a["a"])(), f = l.top;
- n = {x: e.x, y: e.y - f}, e.touches = e.changedTouches = [{
- force: 1,
- identifier: 0,
- clientX: e.clientX,
- clientY: e.clientY,
- pageX: e.pageX,
- pageY: e.pageY
- }]
- }
- var d = Object(o["b"])({
- type: n.type || t,
- timeStamp: e.timeStamp || 0,
- detail: n,
- target: s(i, n),
- currentTarget: s(r, !1, !0),
- touches: e instanceof Event || e instanceof CustomEvent ? c(e.touches) : e.touches,
- changedTouches: e instanceof Event || e instanceof CustomEvent ? c(e.changedTouches) : e.changedTouches,
- preventDefault: function () {
- },
- stopPropagation: function () {
- }
- });
- if (u(t)) {
- var h = Object(a["a"])(), p = h.top;
- d.pageX = e.pageX, d.pageY = e.pageY - p, d.clientX = e.clientX, d.clientY = e.clientY - p
- }
- return d
- }
- var f = 350, d = 10, h = !!i["q"] && {passive: !0}, p = !1;
- function v() {
- p && (clearTimeout(p), p = !1)
- }
- var g = 0, m = 0;
- function b(t) {
- if (v(), 1 === t.touches.length) {
- var e = t.touches[0], n = e.pageX, i = e.pageY;
- g = n, m = i, p = setTimeout((function () {
- var e = new CustomEvent("longpress", {
- bubbles: !0,
- cancelable: !0,
- target: t.target,
- currentTarget: t.currentTarget
- });
- e.touches = t.touches, e.changedTouches = t.changedTouches, t.target.dispatchEvent(e)
- }), f)
- }
- }
- function y(t) {
- if (p) {
- if (1 !== t.touches.length) return v();
- var e = t.touches[0], n = e.pageX, i = e.pageY;
- return Math.abs(n - g) > d || Math.abs(i - m) > d ? v() : void 0
- }
- }
- function _() {
- window.addEventListener("touchstart", b, h), window.addEventListener("touchmove", y, h), window.addEventListener("touchend", v, h), window.addEventListener("touchcancel", v, h)
- }
- }, d4cd: function (t, e, n) {
- "use strict";
- function i() {
- }
- function r(t) {
- t.disable
- }
- n.d(e, "b", (function () {
- return i
- })), n.d(e, "a", (function () {
- return r
- }))
- }, d502: function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- n.d(e, "getSelectedTextRange", (function () {
- return c
- }));
- var r = n("62b5"), o = n("db70"), a = n("a118"),
- s = Object(r["a"])("getSelectedTextRangeEvent");
- function c(e, n) {
- var i = Object(o["a"])();
- t.publishHandler("getSelectedTextRange", {
- pageId: i, callbackId: s.push((function (t) {
- Object(a["a"])(n, t)
- }))
- }, i)
- }
- t.subscribe("onGetSelectedTextRange", (function (t) {
- var e = t.callbackId, n = t.data;
- i.log("onGetSelectedTextRange");
- var r = s.pop(e);
- r && r(n)
- }))
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, d5be: function (t, e, n) {
- "use strict";
- n.r(e), function (t, i) {
- n.d(e, "chooseImage", (function () {
- return f
- }));
- var r = n("e2e2"), o = n("a6b0"), a = n("3563"), s = n("8af1"), c = t,
- u = c.invokeCallbackHandler, l = null;
- function f(t, e) {
- var n = t.count, c = t.sourceType, f = t.extension;
- l && (document.body.removeChild(l), l = null), l = Object(a["default"])({
- count: n,
- sourceType: c,
- extension: f,
- type: "image"
- }), document.body.appendChild(l), l.addEventListener("change", (function (t) {
- for (var i = [], o = t.target.files.length, a = function (e) {
- var o = t.target.files[e], a = void 0;
- Object.defineProperty(o, "path", {
- get: function () {
- return a = a || Object(r["b"])(o), a
- }
- }), e < n && i.push(o)
- }, s = 0; s < o; s++) a(s);
- var c = {
- errMsg: "chooseImage:ok", get tempFilePaths() {
- return i.map((function (t) {
- var e = t.path;
- return e
- }))
- }, tempFiles: i
- };
- u(e, c)
- })), l.click(), s["d"].getStatus() || i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))
- }
- }.call(this, n("0dd1"), n("3ad9")["default"])
- }, d5ec: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-radio-group", t._g({}, t.$listeners), [t._t("default")], 2)
- }, r = [], o = n("8af1"), a = {
- name: "RadioGroup",
- mixins: [o["a"], o["f"]],
- props: {name: {type: String, default: ""}},
- data: function () {
- return {radioList: []}
- },
- listeners: {
- "@radio-change": "_changeHandler",
- "@radio-group-update": "_radioGroupUpdateHandler"
- },
- mounted: function () {
- this._resetRadioGroupValue(this.radioList.length - 1)
- },
- created: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "add", vm: this})
- },
- beforeDestroy: function () {
- this.$dispatch("Form", "uni-form-group-update", {type: "remove", vm: this})
- },
- methods: {
- _changeHandler: function (t, e) {
- var n = this.radioList.indexOf(e);
- this._resetRadioGroupValue(n, !0), this.$trigger("change", t, {value: e.radioValue})
- }, _radioGroupUpdateHandler: function (t) {
- if ("add" === t.type) this.radioList.push(t.vm); else {
- var e = this.radioList.indexOf(t.vm);
- this.radioList.splice(e, 1)
- }
- }, _resetRadioGroupValue: function (t, e) {
- var n = this;
- this.radioList.forEach((function (i, r) {
- r !== t && (e ? n.radioList[r].radioChecked = !1 : n.radioList.forEach((function (t, e) {
- r >= e || n.radioList[e].radioChecked && (n.radioList[r].radioChecked = !1)
- })))
- }))
- }, _getFormData: function () {
- var t = {};
- if ("" !== this.name) {
- var e = "";
- this.radioList.forEach((function (t) {
- t.radioChecked && (e = t.value)
- })), t.value = e, t.key = this.name
- }
- return t
- }
- }
- }, s = a, c = (n("fb61"), n("2877")), u = Object(c["a"])(s, i, r, !1, null, null, null);
- e["default"] = u.exports
- }, d65e: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return s
- }));
- var i = n("28c0"), r = {}, o = [], a = 0;
- function s(t) {
- var e = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
- a++;
- var n = new i["a"](a, t);
- return e && (r[a] = n, o.push(n)), n
- }
- }, d677: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-cover-image", t._g({attrs: {src: t.src}}, t.$listeners), [n("div", {staticClass: "uni-cover-image"}, [t.src ? n("img", {
- attrs: {src: t.$getRealPath(t.src)},
- on: {load: t._load, error: t._error}
- }) : t._e()])])
- }, r = [], o = {
- name: "CoverImage",
- props: {src: {type: String, default: ""}},
- methods: {
- _load: function (t) {
- this.$trigger("load", t)
- }, _error: function (t) {
- this.$trigger("error", t)
- }
- }
- }, a = o, s = (n("5d1d"), n("2877")), c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, d8c8: function (t, e, n) {
- "use strict";
- var i, r, o = ["top", "left", "right", "bottom"], a = {};
- function s() {
- return r = "CSS" in window && "function" == typeof CSS.supports ? CSS.supports("top: env(safe-area-inset-top)") ? "env" : CSS.supports("top: constant(safe-area-inset-top)") ? "constant" : "" : "", r
- }
- function c() {
- if (r = "string" === typeof r ? r : s(), r) {
- var t = [], e = !1;
- try {
- var n = Object.defineProperty({}, "passive", {
- get: function () {
- e = {passive: !0}
- }
- });
- window.addEventListener("test", null, n)
- } catch (h) {
- }
- var c = document.createElement("div");
- u(c, {
- position: "absolute",
- left: "0",
- top: "0",
- width: "0",
- height: "0",
- zIndex: "-1",
- overflow: "hidden",
- visibility: "hidden"
- }), o.forEach((function (t) {
- d(c, t)
- })), document.body.appendChild(c), l(), i = !0
- } else o.forEach((function (t) {
- a[t] = 0
- }));
- function u(t, e) {
- var n = t.style;
- Object.keys(e).forEach((function (t) {
- var i = e[t];
- n[t] = i
- }))
- }
- function l(e) {
- e ? t.push(e) : t.forEach((function (t) {
- t()
- }))
- }
- function d(t, n) {
- var i = document.createElement("div"), o = document.createElement("div"),
- s = document.createElement("div"), c = document.createElement("div"), d = 100, h = 1e4,
- p = {
- position: "absolute",
- width: d + "px",
- height: "200px",
- boxSizing: "border-box",
- overflow: "hidden",
- paddingBottom: r + "(safe-area-inset-" + n + ")"
- };
- u(i, p), u(o, p), u(s, {
- transition: "0s",
- animation: "none",
- width: "400px",
- height: "400px"
- }), u(c, {
- transition: "0s",
- animation: "none",
- width: "250%",
- height: "250%"
- }), i.appendChild(s), o.appendChild(c), t.appendChild(i), t.appendChild(o), l((function () {
- i.scrollTop = o.scrollTop = h;
- var t = i.scrollTop, r = o.scrollTop;
- function a() {
- this.scrollTop !== (this === i ? t : r) && (i.scrollTop = o.scrollTop = h, t = i.scrollTop, r = o.scrollTop, f(n))
- }
- i.addEventListener("scroll", a, e), o.addEventListener("scroll", a, e)
- }));
- var v = getComputedStyle(i);
- Object.defineProperty(a, n, {
- configurable: !0, get: function () {
- return parseFloat(v.paddingBottom)
- }
- })
- }
- }
- function u(t) {
- return i || c(), a[t]
- }
- var l = [];
- function f(t) {
- l.length || setTimeout((function () {
- var t = {};
- l.forEach((function (e) {
- t[e] = a[e]
- })), l.length = 0, d.forEach((function (e) {
- e(t)
- }))
- }), 0), l.push(t)
- }
- var d = [];
- function h(t) {
- s() && (i || c(), "function" === typeof t && d.push(t))
- }
- function p(t) {
- var e = d.indexOf(t);
- e >= 0 && d.splice(e, 1)
- }
- var v = {
- get support() {
- return 0 != ("string" === typeof r ? r : s()).length
- }, get top() {
- return u("top")
- }, get left() {
- return u("left")
- }, get right() {
- return u("right")
- }, get bottom() {
- return u("bottom")
- }, onChange: h, offChange: p
- };
- t.exports = v
- }, d8ca: function (t, e, n) {
- "use strict";
- (function (t) {
- var i, r = n("8af1"), o = n("a20f"), a = n("cf6f"), s = n("e2e2");
- function c(t) {
- return d(t) || f(t) || l(t) || u()
- }
- function u() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function l(t, e) {
- if (t) {
- if ("string" === typeof t) return h(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h(t, e) : void 0
- }
- }
- function f(t) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t)
- }
- function d(t) {
- if (Array.isArray(t)) return h(t)
- }
- function h(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function p(t) {
- return t = t.slice(0), t[3] = t[3] / 255, "rgba(" + t.join(",") + ")"
- }
- function v(t, e) {
- return [].map.call(e, (function (e) {
- var n = t.getBoundingClientRect();
- return {identifier: e.identifier, x: e.clientX - n.left, y: e.clientY - n.top}
- }))
- }
- function g() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
- e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
- return i || (i = document.createElement("canvas")), i.width = t, i.height = e, i
- }
- e["a"] = {
- name: "Canvas",
- mixins: [r["g"]],
- props: {
- canvasId: {type: String, default: ""},
- disableScroll: {type: [Boolean, String], default: !1},
- hidpi: {type: Boolean, default: !0}
- },
- data: function () {
- return {actionsWaiting: !1}
- },
- computed: {
- id: function () {
- return this.canvasId
- }, _listeners: function () {
- var t = this, e = Object.assign({}, this.$listeners),
- n = ["touchstart", "touchmove", "touchend"];
- return n.forEach((function (n) {
- var i = e[n], r = [];
- i && r.push((function (e) {
- t.$trigger(n, Object.assign({}, e, {
- touches: v(e.currentTarget, e.touches),
- changedTouches: v(e.currentTarget, e.changedTouches)
- }))
- })), t.disableScroll && "touchmove" === n && r.push(t._touchmove), e[n] = r
- })), e
- }, pixelRatio: function () {
- return this.hidpi ? o["a"] : 1
- }
- },
- created: function () {
- this._actionsDefer = [], this._images = {}
- },
- mounted: function () {
- this._resize()
- },
- beforeDestroy: function () {
- var t = this.$refs.canvas;
- t.height = t.width = 0
- },
- methods: {
- _handleSubscribe: function (t) {
- var e = t.type, n = t.data, i = void 0 === n ? {} : n, r = this[e];
- 0 !== e.indexOf("_") && "function" === typeof r && r(i)
- }, _resize: function (t) {
- var e = this.$refs.canvas,
- n = !t || e.width !== Math.floor(t.width * this.pixelRatio) || e.height !== Math.floor(t.height * this.pixelRatio);
- if (n) if (e.width > 0 && e.height > 0) {
- var i = e.getContext("2d"), r = i.getImageData(0, 0, e.width, e.height);
- Object(o["b"])(e, this.hidpi), i.putImageData(r, 0, 0)
- } else Object(o["b"])(e, this.hidpi)
- }, _touchmove: function (t) {
- t.preventDefault()
- }, actionsChanged: function (e) {
- var n = this, i = e.actions, r = e.reserve, o = e.callbackId, a = this;
- if (i) if (this.actionsWaiting) this._actionsDefer.push([i, r, o]); else {
- var s = this.$refs.canvas, u = s.getContext("2d");
- r || (u.fillStyle = "#000000", u.strokeStyle = "#000000", u.shadowColor = "#000000", u.shadowBlur = 0, u.shadowOffsetX = 0, u.shadowOffsetY = 0, u.setTransform(1, 0, 0, 1, 0, 0), u.clearRect(0, 0, s.width, s.height)), this.preloadImage(i);
- var l = function (t) {
- var e = i[t], r = e.method, s = e.data;
- if (/^set/.test(r) && "setTransform" !== r) {
- var l, f = r[3].toLowerCase() + r.slice(4);
- if ("fillStyle" === f || "strokeStyle" === f) {
- if ("normal" === s[0]) l = p(s[1]); else if ("linear" === s[0]) {
- var v = u.createLinearGradient.apply(u, c(s[1]));
- s[2].forEach((function (t) {
- var e = t[0], n = p(t[1]);
- v.addColorStop(e, n)
- })), l = v
- } else if ("radial" === s[0]) {
- var g = s[1][0], m = s[1][1], b = s[1][2],
- y = u.createRadialGradient(g, m, 0, g, m, b);
- s[2].forEach((function (t) {
- var e = t[0], n = p(t[1]);
- y.addColorStop(e, n)
- })), l = y
- } else if ("pattern" === s[0]) {
- var _ = n.checkImageLoaded(s[1], i.slice(t + 1), o, (function (t) {
- t && (u[f] = u.createPattern(t, s[2]))
- }));
- return _ ? "continue" : "break"
- }
- u[f] = l
- } else if ("globalAlpha" === f) u[f] = s[0] / 255; else if ("shadow" === f) d = ["shadowOffsetX", "shadowOffsetY", "shadowBlur", "shadowColor"], s.forEach((function (t, e) {
- u[d[e]] = "shadowColor" === d[e] ? p(t) : t
- })); else if ("fontSize" === f) {
- var w = u.__font__ || u.font;
- u.__font__ = u.font = w.replace(/\d+\.?\d*px/, s[0] + "px")
- } else "lineDash" === f ? (u.setLineDash(s[0]), u.lineDashOffset = s[1] || 0) : "textBaseline" === f ? ("normal" === s[0] && (s[0] = "alphabetic"), u[f] = s[0]) : "font" === f ? u.__font__ = u.font = s[0] : u[f] = s[0]
- } else if ("fillPath" === r || "strokePath" === r) r = r.replace(/Path/, ""), u.beginPath(), s.forEach((function (t) {
- u[t.method].apply(u, t.data)
- })), u[r](); else if ("fillText" === r) u.fillText.apply(u, s); else if ("drawImage" === r) {
- if (h = function () {
- var e = c(s), n = e[0], r = e.slice(1);
- if (a._images = a._images || {}, !a.checkImageLoaded(n, i.slice(t + 1), o, (function (t) {
- t && u.drawImage.apply(u, [t].concat(c(r.slice(4, 8)), c(r.slice(0, 4))))
- }))) return "break"
- }(), "break" === h) return "break"
- } else "clip" === r ? (s.forEach((function (t) {
- u[t.method].apply(u, t.data)
- })), u.clip()) : u[r].apply(u, s)
- };
- t:for (var f = 0; f < i.length; f++) {
- var d, h, v = l(f);
- switch (v) {
- case"break":
- break t;
- case"continue":
- continue
- }
- }
- !this.actionsWaiting && o && t.publishHandler("onCanvasMethodCallback", {
- callbackId: o,
- data: {errMsg: "drawCanvas:ok"}
- }, this.$page.id)
- }
- }, preloadImage: function (t) {
- var e = this;
- t.forEach((function (t) {
- var n = t.method, i = t.data, r = "";
- function o() {
- var t = e._images[r] = new Image;
- t.onload = function () {
- t.ready = !0
- }, Object(s["d"])(r).then((function (e) {
- t.src = e
- })).catch((function () {
- t.src = r
- }))
- }
- "drawImage" === n ? (r = i[0], r = e.$getRealPath(r), i[0] = r) : "setFillStyle" === n && "pattern" === i[0] && (r = i[1], r = e.$getRealPath(r), i[1] = r), r && !e._images[r] && o()
- }))
- }, checkImageLoaded: function (t, e, n, i) {
- var r = this, o = this._images[t];
- return o.ready ? (i(o), !0) : (this._actionsDefer.unshift([e, !0]), this.actionsWaiting = !0, o.onload = function () {
- o.ready = !0, i(o), r.actionsWaiting = !1;
- var t = r._actionsDefer.slice(0);
- r._actionsDefer = [];
- for (var e = t.shift(); e;) r.actionsChanged({
- actions: e[0],
- reserve: e[1],
- callbackId: n
- }), e = t.shift()
- }, !1)
- }, getImageData: function (e) {
- var n, i = e.x, r = void 0 === i ? 0 : i, o = e.y, a = void 0 === o ? 0 : o,
- s = e.width, c = e.height, u = e.destWidth, l = e.destHeight, f = e.hidpi,
- d = void 0 === f || f, h = e.dataType, p = e.quality, v = void 0 === p ? 1 : p,
- m = e.type, b = void 0 === m ? "png" : m, y = e.callbackId,
- _ = this.$refs.canvas, w = _.offsetWidth - r;
- s = s ? Math.min(s, w) : w;
- var k = _.offsetHeight - a;
- c = c ? Math.min(c, k) : k, d ? (u = s, l = c) : u || l ? u ? l || (l = Math.round(c / s * u)) : u = Math.round(s / c * l) : (u = Math.round(s * this.pixelRatio), l = Math.round(c * this.pixelRatio));
- var S, x = g(u, l), C = x.getContext("2d");
- "jpeg" !== b && "jpg" !== b || (b = "jpeg", C.fillStyle = "#fff", C.fillRect(0, 0, u, l)), C.__hidpi__ = !0, C.drawImageByCanvas(_, r, a, s, c, 0, 0, u, l, !1);
- try {
- var T;
- if ("base64" === h) n = x.toDataURL("image/".concat(b), v); else {
- var O = C.getImageData(0, 0, u, l);
- n = Array.prototype.slice.call(O.data)
- }
- S = {
- errMsg: "canvasGetImageData:ok",
- data: n,
- compressed: T,
- width: u,
- height: l
- }
- } catch (A) {
- S = {errMsg: "canvasGetImageData:fail ".concat(A)}
- }
- if (x.height = x.width = 0, C.__hidpi__ = !1, !y) return S;
- t.publishHandler("onCanvasMethodCallback", {callbackId: y, data: S}, this.$page.id)
- }, putImageData: function (e) {
- var n = e.data, i = e.x, r = e.y, o = e.width, a = e.height,
- s = (e.compressed, e.callbackId);
- try {
- a || (a = Math.round(n.length / 4 / o));
- var c = g(o, a), u = c.getContext("2d");
- u.putImageData(new ImageData(new Uint8ClampedArray(n), o, a), 0, 0), this.$refs.canvas.getContext("2d").drawImage(c, i, r, o, a), c.height = c.width = 0
- } catch (l) {
- return void t.publishHandler("onCanvasMethodCallback", {
- callbackId: s,
- data: {errMsg: "canvasPutImageData:fail"}
- }, this.$page.id)
- }
- t.publishHandler("onCanvasMethodCallback", {
- callbackId: s,
- data: {errMsg: "canvasPutImageData:ok"}
- }, this.$page.id)
- }, toTempFilePath: function (e) {
- var n = this, i = e.x, r = void 0 === i ? 0 : i, o = e.y, s = void 0 === o ? 0 : o,
- c = e.width, u = e.height, l = e.destWidth, f = e.destHeight, d = e.fileType,
- h = e.quality, p = e.dirname, v = e.callbackId, g = this.getImageData({
- x: r,
- y: s,
- width: c,
- height: u,
- destWidth: l,
- destHeight: f,
- hidpi: !1,
- dataType: "base64",
- type: d,
- quality: h
- });
- g.data && g.data.length ? Object(a["a"])(g.data, p, (function (e, i) {
- var r = "toTempFilePath:".concat(e ? "fail" : "ok");
- e && (r += " ".concat(e.message)), t.publishHandler("onCanvasMethodCallback", {
- callbackId: v,
- data: {errMsg: r, tempFilePath: i}
- }, n.$page.id)
- })) : t.publishHandler("onCanvasMethodCallback", {
- callbackId: v,
- data: {errMsg: g.errMsg.replace("canvasPutImageData", "toTempFilePath")}
- }, this.$page.id)
- }
- }
- }
- }).call(this, n("501c"))
- }, da71: function (t, e, n) {
- "use strict";
- e["a"] = {
- name: "Keypress", props: {disable: {type: Boolean, default: !1}}, mounted: function () {
- var t = this, e = {
- esc: ["Esc", "Escape"],
- tab: "Tab",
- enter: "Enter",
- space: [" ", "Spacebar"],
- up: ["Up", "ArrowUp"],
- left: ["Left", "ArrowLeft"],
- right: ["Right", "ArrowRight"],
- down: ["Down", "ArrowDown"],
- delete: ["Backspace", "Delete", "Del"]
- }, n = function (n) {
- if (!t.disable) {
- var i = Object.keys(e).find((function (t) {
- var i = n.key, r = e[t];
- return r === i || Array.isArray(r) && r.includes(i)
- }));
- i && setTimeout((function () {
- t.$emit(i, n)
- }), 0)
- }
- };
- document.addEventListener("keyup", n), this.$once("hook:beforeDestroy", (function () {
- document.removeEventListener("keyup", n)
- }))
- }, render: function () {
- return null
- }
- }
- }, db18: function (t, e, n) {
- "use strict";
- var i = n("db76"), r = n.n(i);
- r.a
- }, db70: function (t, e, n) {
- "use strict";
- (function (t) {
- n.d(e, "c", (function () {
- return r
- })), n.d(e, "d", (function () {
- return o
- })), n.d(e, "b", (function () {
- return a
- })), n.d(e, "a", (function () {
- return s
- }));
- var i = n("3b67");
- function r(t) {
- for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++) n[r - 1] = arguments[r];
- return i["a"][t].apply(null, n)
- }
- function o(e, n) {
- return t.on("api." + e, n)
- }
- function a(e) {
- var n = getCurrentPages(), i = n.length;
- i || t.emit("onError", "".concat(e, ":fail"));
- var r = n[i - 1];
- return r.$vm
- }
- function s() {
- var t = getCurrentPages(), e = t[t.length - 1];
- return e && e.$page.id
- }
- }).call(this, n("0dd1"))
- }, db76: function (t, e, n) {
- }, db8e: function (t, e, n) {
- "use strict";
- (function (t) {
- function i(e, n) {
- return n ? e ? e.$el : n.$el : t.error("page is not ready")
- }
- function r(t) {
- return t.matches || (t.matches = t.matchesSelector || t.mozMatchesSelector || t.msMatchesSelector || t.oMatchesSelector || t.webkitMatchesSelector || function (t) {
- var e = (this.document || this.ownerDocument).querySelectorAll(t), n = e.length;
- while (--n >= 0 && e.item(n) !== this) ;
- return n > -1
- }), t
- }
- n.d(e, "b", (function () {
- return i
- })), n.d(e, "a", (function () {
- return r
- }))
- }).call(this, n("3ad9")["default"])
- }, dc12: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "compressImage", (function () {
- return r
- }));
- var i = n("cb0f"), r = {
- src: {
- type: String, required: !0, validator: function (t, e) {
- e.src = Object(i["a"])(t)
- }
- }
- }
- }, dd35: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("e949"), r = n("cb0f"), o = n("15bb"), a = {
- forward: "",
- back: "",
- share: "",
- favorite: "",
- home: "",
- menu: "",
- close: ""
- };
- e["a"] = {
- name: "PageHead",
- mixins: [o["a"]],
- props: {
- backButton: {type: Boolean, default: !0},
- backgroundColor: {
- type: String, default: function () {
- return "transparent" === this.type ? "#000" : "#F8F8F8"
- }
- },
- textColor: {type: String, default: "#fff"},
- titleText: {type: String, default: ""},
- duration: {type: String, default: "0"},
- timingFunc: {type: String, default: ""},
- loading: {type: Boolean, default: !1},
- titleSize: {type: String, default: "16px"},
- type: {
- default: "default", validator: function (t) {
- return -1 !== ["default", "transparent", "float"].indexOf(t)
- }
- },
- coverage: {type: String, default: "132px"},
- buttons: {
- type: Array, default: function () {
- return []
- }
- },
- searchInput: {
- type: [Object, Boolean], default: function () {
- return !1
- }
- },
- titleImage: {type: String, default: ""},
- titlePenetrate: {type: Boolean, default: !1},
- shadow: {
- type: Object, default: function () {
- return {}
- }
- }
- },
- data: function () {
- return {focus: !1, text: "", composing: !1, showPlaceholder: !1}
- },
- computed: {
- btns: function () {
- var t = this, e = [], n = {};
- return this.buttons.length && this.buttons.forEach((function (o) {
- var a = Object.assign({}, o);
- if (a.fontSrc && !a.fontFamily) {
- var s, c = a.fontSrc = Object(r["a"])(a.fontSrc);
- if (c in n) s = n[c]; else {
- s = "font".concat(Date.now()), n[c] = s;
- var u = '@font-face{font-family: "'.concat(s, '";src: url("').concat(c, '") format("truetype")}');
- Object(i["a"])(u, "uni-btn-font-" + s)
- }
- a.fontFamily = s
- }
- a.color = "transparent" === t.type ? "#fff" : a.color || t.textColor;
- var l = a.fontSize || ("transparent" === t.type || /\\u/.test(a.text) ? "22px" : "27px");
- /\d$/.test(l) && (l += "px"), a.fontSize = l, a.fontWeight = a.fontWeight || "normal", e.push(a)
- })), e
- }, headClass: function () {
- var t = this.shadow.colorType, e = {
- "uni-page-head-transparent": "transparent" === this.type,
- "uni-page-head-titlePenetrate": this.titlePenetrate,
- "uni-page-head-shadow": t
- };
- return t && (e["uni-page-head-shadow-".concat(t)] = t), e
- }
- },
- mounted: function () {
- var e = this;
- if (this.searchInput) {
- var n = this.$refs.input;
- n.$watch("composing", (function (t) {
- e.composing = t
- })), n.$watch("valueSync", (function (t) {
- e.showPlaceholder = !!t
- })), this.searchInput.disabled ? n.$el.addEventListener("click", (function () {
- t.emit("onNavigationBarSearchInputClicked", "")
- })) : (n.$refs.input.addEventListener("keyup", (function (n) {
- "ENTER" === n.key.toUpperCase() && t.emit("onNavigationBarSearchInputConfirmed", {text: e.text})
- })), n.$refs.input.addEventListener("focus", (function () {
- t.emit("onNavigationBarSearchInputFocusChanged", {focus: !0})
- })), n.$refs.input.addEventListener("blur", (function () {
- t.emit("onNavigationBarSearchInputFocusChanged", {focus: !1})
- })))
- }
- },
- methods: {
- _back: function () {
- 1 === getCurrentPages().length ? uni.reLaunch({url: "/"}) : uni.navigateBack({from: "backbutton"})
- }, _onBtnClick: function (e) {
- t.emit("onNavigationBarButtonTap", Object.assign({}, this.btns[e], {index: e}))
- }, _formatBtnFontText: function (t) {
- return t.fontSrc && t.fontFamily ? t.text.replace("\\u", "&#x") : a[t.type] ? a[t.type] : t.text || ""
- }, _formatBtnStyle: function (t) {
- var e = {color: t.color, fontSize: t.fontSize, fontWeight: t.fontWeight};
- return t.fontFamily && (e.fontFamily = t.fontFamily), e
- }, _focus: function () {
- this.focus = !0
- }, _blur: function () {
- this.focus = !1
- }, _input: function (e) {
- t.emit("onNavigationBarSearchInputChanged", {text: e})
- }, _clearInput: function () {
- this.text = "", this._input(this.text)
- }
- }
- }
- }).call(this, n("0dd1"))
- }, de29: function (t, e, n) {
- "use strict";
- n.d(e, "a", (function () {
- return o
- }));
- var i = n("f2b3");
- function r(t) {
- return r = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, r(t)
- }
- function o(t, e, n) {
- var r = e[t], o = !Object(i["i"])(n, t), s = n[t], c = f(Boolean, r.type);
- if (c > -1 && o && !Object(i["i"])(r, "default") && (s = !1), void 0 === s && Object(i["i"])(r, "default")) {
- var u = r.default;
- s = Object(i["k"])(u) ? u() : u, n[t] = s
- }
- return a(r, t, s, o, n)
- }
- function a(t, e, n, i, r) {
- if (t.required && i) return "Missing required parameter `".concat(e, "`");
- if (null == n && !t.required) {
- var o = t.validator;
- return o ? o(n, r) : void 0
- }
- var a = t.type, s = !a || !0 === a, u = [];
- if (a) {
- Array.isArray(a) || (a = [a]);
- for (var l = 0; l < a.length && !s; l++) {
- var f = c(n, a[l]);
- u.push(f.expectedType || ""), s = f.valid
- }
- }
- if (!s) return d(e, n, u);
- var h = t.validator;
- return h ? h(n, r) : void 0
- }
- var s = /^(String|Number|Boolean|Function|Symbol)$/;
- function c(t, e) {
- var n, o = u(e);
- if (s.test(o)) {
- var a = r(t);
- n = a === o.toLowerCase(), n || "object" !== a || (n = t instanceof e)
- } else n = t.byteLength >= 0 || ("Object" === o ? Object(i["l"])(t) : "Array" === o ? Array.isArray(t) : t instanceof e || Object(i["s"])(t) === u(e));
- return {valid: n, expectedType: o}
- }
- function u(t) {
- var e = t && t.toString().match(/^\s*function (\w+)/);
- return e ? e[1] : ""
- }
- function l(t, e) {
- return u(t) === u(e)
- }
- function f(t, e) {
- if (!Array.isArray(e)) return l(e, t) ? 0 : -1;
- for (var n = 0, i = e.length; n < i; n++) if (l(e[n], t)) return n;
- return -1
- }
- function d(t, e, n) {
- var r = "parameter `".concat(t, "`.") + " Expected ".concat(n.join(", ")), o = n[0],
- a = Object(i["s"])(e), s = h(e, o), c = h(e, a);
- return 1 === n.length && v(o) && !g(o, a) && (r += " with value ".concat(s)), r += ", got ".concat(a, " "), v(a) && (r += "with value ".concat(c, ".")), r
- }
- function h(t, e) {
- return "String" === e ? '"'.concat(t, '"') : "".concat("Number" === e ? Number(t) : t)
- }
- var p = ["string", "number", "boolean"];
- function v(t) {
- return p.some((function (e) {
- return t.toLowerCase() === e
- }))
- }
- function g() {
- for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n];
- return e.some((function (t) {
- return "boolean" === t.toLowerCase()
- }))
- }
- }, df1e: function (t, e, n) {
- }, e243: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("cb0f"), r = n("bdbe");
- e["a"] = {
- name: "CustomTabBar",
- props: {
- selected: {type: Number, default: 0},
- showIcon: {type: Boolean, default: !0},
- direction: {type: String, default: "horizontal"}
- },
- data: function () {
- return {selectedIndex: this.selected}
- },
- computed: {
- tabBarOptions: function () {
- return r["a"]
- }, hasTabBar: function () {
- return r["a"].list && r["a"].list.length
- }, showTabBar: function () {
- var t = getApp();
- return !t || !t.$children[0].hideTabBar
- }
- },
- watch: {
- selected: function (t) {
- this.selectedIndex = t;
- var e = getApp().$children[0].$refs.tabBar;
- e && (e.selectedIndex = t)
- }, $route: function (t, e) {
- if (t.meta.isTabBar) {
- var n = r["a"].list.findIndex((function (e) {
- return t.meta.pagePath === e.pagePath
- }));
- n > -1 && (this.selectedIndex = n)
- }
- }
- },
- methods: {
- _getRealPath: function (t) {
- var e = /^([a-z-]+:)?\/\//i, n = /^data:.*,.*/;
- return e.test(t) || n.test(t) || 0 === t.indexOf("/") || (t = "/" + t), Object(i["a"])(t)
- }, _switchTab: function (e, n) {
- var i = e.text, r = e.pagePath;
- this.selectedIndex = n;
- var o = "/" + r;
- o === __uniRoutes[0].alias && (o = "/");
- var a = {index: n, text: i, pagePath: r};
- this.$emit("onTabItemTap", a), this.$route.path === o && t.emit("onTabItemTap", a)
- }
- }
- }
- }).call(this, n("0dd1"))
- }, e298: function (t, e, n) {
- "use strict";
- var i = n("add1"), r = n.n(i);
- r.a
- }, e2e2: function (t, e, n) {
- "use strict";
- n.d(e, "f", (function () {
- return o
- })), n.d(e, "c", (function () {
- return c
- })), n.d(e, "a", (function () {
- return u
- })), n.d(e, "b", (function () {
- return l
- })), n.d(e, "d", (function () {
- return f
- })), n.d(e, "e", (function () {
- return d
- }));
- var i = n("f2b3"), r = {};
- function o(t, e) {
- var n = r[t];
- return n ? Promise.resolve(n) : /^data:[a-z-]+\/[a-z-]+;base64,/.test(t) ? Promise.resolve(a(t)) : e ? Promise.reject(new Error("not find")) : new Promise((function (e, n) {
- var i = new XMLHttpRequest;
- i.open("GET", t, !0), i.responseType = "blob", i.onload = function () {
- e(this.response)
- }, i.onerror = n, i.send()
- }))
- }
- function a(t) {
- t = t.split(",");
- var e = t[0].match(/:(.*?);/)[1], n = atob(t[1]), i = n.length, r = new Uint8Array(i);
- while (i--) r[i] = n.charCodeAt(i);
- return u(r, e)
- }
- function s(t) {
- var e = t.split("/")[1];
- return e ? ".".concat(e) : ""
- }
- function c(t) {
- t = t.split("#")[0].split("?")[0];
- var e = t.split("/");
- return e[e.length - 1]
- }
- function u(t, e) {
- if (!(t instanceof File)) {
- e = e || t.type || "";
- var n = "".concat(Date.now()).concat(s(e));
- try {
- t = new File([t], n, {type: e})
- } catch (i) {
- t = t instanceof Blob ? t : new Blob([t], {type: e}), t.name = t.name || n
- }
- }
- return t
- }
- function l(t) {
- for (var e in r) if (Object(i["i"])(r, e)) {
- var n = r[e];
- if (n === t) return e
- }
- var o = (window.URL || window.webkitURL).createObjectURL(t);
- return r[o] = t, o
- }
- function f(t) {
- var e = document.createElement("a");
- return e.href = t, e.origin === location.origin ? Promise.resolve(t) : o(t).then(l)
- }
- function d(t) {
- (window.URL || window.webkitURL).revokeObjectURL(t), delete r[t]
- }
- }, e3a7: function (t, e, n) {
- var i = {
- "./base/event-bus.js": "6e0c",
- "./constants.js": "8b67",
- "./context/inner-audio.js": "f9d2",
- "./context/operate-map-player.js": "0758",
- "./context/operate-video-player.js": "f941",
- "./device/accelerometer.js": "2bdd",
- "./device/clipboard.js": "7bab",
- "./device/compass.js": "f7b4",
- "./device/get-system-info.js": "78c8",
- "./device/make-phone-call.js": "7f4e",
- "./device/network-info.js": "3d64",
- "./device/vibrate.js": "44de",
- "./file/file.js": "3b54",
- "./file/open-document.js": "e826",
- "./index.js": "d218",
- "./keyboard/keyboard.js": "54f4",
- "./location/choose-location.js": "be14",
- "./location/get-location.js": "0554",
- "./location/open-location.js": "6575",
- "./media/MIMEType.js": "bd97",
- "./media/choose-file.js": "3898",
- "./media/choose-image.js": "d5be",
- "./media/choose-video.js": "8ce3",
- "./media/create_input.js": "3563",
- "./media/get-image-info.js": "34b2",
- "./media/get-video-info.js": "956d",
- "./media/preview-image.js": "9e56",
- "./network/download-file.js": "4f43",
- "./network/request.js": "1a12",
- "./network/socket.js": "893e",
- "./network/upload-file.js": "7d18",
- "./plugin/get-provider.js": "abea",
- "./route/route.js": "1a8c",
- "./storage/storage.js": "e649",
- "./ui/navigation-bar.js": "5964",
- "./ui/popup.js": "56e9",
- "./ui/pull-down-refresh.js": "45db",
- "./ui/request-component-info.js": "09e5",
- "./ui/tab-bar.js": "fcd1",
- "./ui/window.js": "e8b5",
- "./ui/windows.js": "0e5c",
- "./util.js": "79d5"
- };
- function r(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- r.keys = function () {
- return Object.keys(i)
- }, r.resolve = o, t.exports = r, r.id = "e3a7"
- }, e4bc: function (t, e, n) {
- "use strict";
- var i = n("581a"), r = n.n(i);
- r.a
- }, e5bb: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "chooseLocation", (function () {
- return i
- }));
- var i = {keyword: {type: String}}
- }, e649: function (t, e, n) {
- "use strict";
- function i(t) {
- return i = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? function (t) {
- return typeof t
- } : function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, i(t)
- }
- n.r(e), n.d(e, "setStorage", (function () {
- return a
- })), n.d(e, "setStorageSync", (function () {
- return s
- })), n.d(e, "getStorage", (function () {
- return c
- })), n.d(e, "getStorageSync", (function () {
- return u
- })), n.d(e, "removeStorage", (function () {
- return l
- })), n.d(e, "removeStorageSync", (function () {
- return f
- })), n.d(e, "clearStorage", (function () {
- return d
- })), n.d(e, "clearStorageSync", (function () {
- return h
- })), n.d(e, "getStorageInfo", (function () {
- return p
- })), n.d(e, "getStorageInfoSync", (function () {
- return v
- }));
- var r = "uni-storage-keys";
- function o(t) {
- var e = ["object", "string", "number", "boolean", "undefined"];
- try {
- var n = "string" === typeof t ? JSON.parse(t) : t, r = n.type;
- if (e.indexOf(r) >= 0) {
- var o = Object.keys(n);
- if (2 === o.length && "data" in n) {
- if (i(n.data) === r) return n.data;
- if ("object" === r && /^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data)) return new Date(n.data)
- } else if (1 === o.length) return ""
- }
- } catch (a) {
- }
- }
- function a() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = t.key,
- n = t.data, r = i(n), o = "string" === r ? n : JSON.stringify({type: r, data: n});
- try {
- localStorage.setItem(e, o)
- } catch (a) {
- return {errMsg: "setStorage:fail ".concat(a)}
- }
- return {errMsg: "setStorage:ok"}
- }
- function s(t, e) {
- a({key: t, data: e})
- }
- function c() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = t.key,
- n = localStorage && localStorage.getItem(e);
- if ("string" !== typeof n) return {data: "", errMsg: "getStorage:fail"};
- var i = n;
- try {
- var r = JSON.parse(n), a = o(r);
- void 0 !== a && (i = a)
- } catch (s) {
- }
- return {data: i, errMsg: "getStorage:ok"}
- }
- function u(t) {
- var e = c({key: t});
- return e.data
- }
- function l() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = t.key;
- return localStorage && localStorage.removeItem(e), {errMsg: "removeStorage:ok"}
- }
- function f(t) {
- l({key: t})
- }
- function d() {
- return localStorage && localStorage.clear(), {errMsg: "clearStorage:ok"}
- }
- function h() {
- d()
- }
- function p() {
- for (var t = localStorage && localStorage.length || 0, e = [], n = 0, i = 0; i < t; i++) {
- var o = localStorage.key(i), a = localStorage.getItem(o);
- n += o.length + a.length, o !== r && e.push(o)
- }
- return {
- keys: e,
- currentSize: Math.ceil(2 * n / 1024),
- limitSize: Number.MAX_VALUE,
- errMsg: "getStorageInfo:ok"
- }
- }
- function v() {
- var t = p();
- return delete t.errMsg, t
- }
- }, e692: function (t, e, n) {
- }, e826: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e, n) {
- var i = e.filePath, r = t, o = r.invokeCallbackHandler;
- window.open(i), o(n, {errMsg: "openDocument:ok"})
- }
- n.d(e, "openDocument", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, e865: function (t, e, n) {
- "use strict";
- var i = n("5dc4"), r = n.n(i);
- r.a
- }, e8b5: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- n.d(e, "onWindowResize", (function () {
- return a
- })), n.d(e, "offWindowResize", (function () {
- return s
- }));
- var i = [], r = [];
- function o() {
- r.push(setTimeout((function () {
- r.forEach((function (t) {
- return clearTimeout(t)
- })), r.length = 0;
- var e = t, n = e.invokeCallbackHandler, o = uni.getSystemInfoSync(), a = o.windowWidth,
- s = o.windowHeight, c = o.screenWidth, u = o.screenHeight,
- l = 90 === Math.abs(window.orientation), f = l ? "landscape" : "portrait";
- i.forEach((function (t) {
- n(t, {
- deviceOrientation: f,
- size: {windowWidth: a, windowHeight: s, screenWidth: c, screenHeight: u}
- })
- }))
- }), 20))
- }
- function a(t) {
- i.length || window.addEventListener("resize", o), i.push(t)
- }
- function s(t) {
- i.splice(i.indexOf(t), 1), i.length || window.removeEventListener("resize", o)
- }
- }.call(this, n("0dd1"))
- }, e949: function (t, e, n) {
- "use strict";
- function i(t, e) {
- var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
- i = document.getElementById(e);
- i && n && (i.parentNode.removeChild(i), i = null), i || (i = document.createElement("style"), i.type = "text/css", e && (i.id = e), document.getElementsByTagName("head")[0].appendChild(i)), i.appendChild(document.createTextNode(t))
- }
- n.d(e, "a", (function () {
- return i
- }))
- }, ea0f: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "scanCode", (function () {
- return i
- }));
- var i = {
- onlyFromCamera: {type: Boolean},
- scanType: {type: Array},
- autoDecodeCharSet: {type: Boolean}
- }
- }, ea49: function (t, e, n) {
- }, ec33: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "getStorage", (function () {
- return i
- })), n.d(e, "getStorageSync", (function () {
- return r
- })), n.d(e, "setStorage", (function () {
- return o
- })), n.d(e, "setStorageSync", (function () {
- return a
- })), n.d(e, "removeStorage", (function () {
- return s
- })), n.d(e, "removeStorageSync", (function () {
- return c
- }));
- var i = {key: {type: String, required: !0}}, r = [{name: "key", type: String, required: !0}],
- o = {key: {type: String, required: !0}, data: {required: !0}},
- a = [{name: "key", type: String, required: !0}, {name: "data", required: !0}], s = i, c = r
- }, ed1a: function (t, e, n) {
- "use strict";
- n.d(e, "b", (function () {
- return d
- })), n.d(e, "a", (function () {
- return h
- })), n.d(e, "c", (function () {
- return p
- })), n.d(e, "d", (function () {
- return m
- }));
- var i = n("f2b3"), r = n("8542"),
- o = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale/,
- a = /^create|Manager$/, s = ["createBLEConnection"],
- c = ["request", "downloadFile", "uploadFile", "connectSocket"], u = ["createBLEConnection"],
- l = /^on|^off/;
- function f(t) {
- return a.test(t) && -1 === s.indexOf(t)
- }
- function d(t) {
- return o.test(t) && -1 === u.indexOf(t)
- }
- function h(t) {
- return l.test(t) && "onPush" !== t
- }
- function p(t) {
- return -1 !== c.indexOf(t)
- }
- function v(t) {
- return t.then((function (t) {
- return [null, t]
- })).catch((function (t) {
- return [t]
- }))
- }
- function g(t) {
- return !(f(t) || d(t) || h(t))
- }
- function m(t, e) {
- return g(t) ? function () {
- for (var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++) a[s - 1] = arguments[s];
- return Object(i["k"])(n.success) || Object(i["k"])(n.fail) || Object(i["k"])(n.complete) ? Object(r["e"])(t, r["b"].apply(void 0, [t, e, n].concat(a))) : Object(r["e"])(t, v(new Promise((function (i, o) {
- r["b"].apply(void 0, [t, e, Object.assign({}, n, {success: i, fail: o})].concat(a))
- }))))
- } : e
- }
- Promise.prototype.finally || (Promise.prototype.finally = function (t) {
- var e = this.constructor;
- return this.then((function (n) {
- return e.resolve(t()).then((function () {
- return n
- }))
- }), (function (n) {
- return e.resolve(t()).then((function () {
- throw n
- }))
- }))
- })
- }, ed78: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("8aec"), r = n("f2b3"), o = n("d4cd"), a = function () {
- var t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];
- return !!r["q"] && {passive: t}
- }, s = a();
- e["a"] = {
- name: "ScrollView",
- mixins: [i["a"]],
- props: {
- scrollX: {type: [Boolean, String], default: !1},
- scrollY: {type: [Boolean, String], default: !1},
- upperThreshold: {type: [Number, String], default: 50},
- lowerThreshold: {type: [Number, String], default: 50},
- scrollTop: {type: [Number, String], default: 0},
- scrollLeft: {type: [Number, String], default: 0},
- scrollIntoView: {type: String, default: ""},
- scrollWithAnimation: {type: [Boolean, String], default: !1},
- enableBackToTop: {type: [Boolean, String], default: !1},
- refresherEnabled: {type: [Boolean, String], default: !1},
- refresherThreshold: {type: Number, default: 45},
- refresherDefaultStyle: {type: String, default: "back"},
- refresherBackground: {type: String, default: "#fff"},
- refresherTriggered: {type: [Boolean, String], default: !1}
- },
- data: function () {
- return {
- lastScrollTop: this.scrollTopNumber,
- lastScrollLeft: this.scrollLeftNumber,
- lastScrollToUpperTime: 0,
- lastScrollToLowerTime: 0,
- refresherHeight: 0,
- refreshRotate: 0,
- refreshState: ""
- }
- },
- computed: {
- upperThresholdNumber: function () {
- var t = Number(this.upperThreshold);
- return isNaN(t) ? 50 : t
- }, lowerThresholdNumber: function () {
- var t = Number(this.lowerThreshold);
- return isNaN(t) ? 50 : t
- }, scrollTopNumber: function () {
- return Number(this.scrollTop) || 0
- }, scrollLeftNumber: function () {
- return Number(this.scrollLeft) || 0
- }
- },
- watch: {
- scrollTopNumber: function (t) {
- this._scrollTopChanged(t)
- }, scrollLeftNumber: function (t) {
- this._scrollLeftChanged(t)
- }, scrollIntoView: function (t) {
- this._scrollIntoViewChanged(t)
- }, refresherTriggered: function (t) {
- !0 === t ? this._setRefreshState("refreshing") : !1 === t && this._setRefreshState("restore")
- }
- },
- mounted: function () {
- var t = this, e = null, n = null;
- this._attached = !0, this.toUpperNumber = 0, this.triggerAbort = !1, this.beforeRefreshing = !1, this._scrollTopChanged(this.scrollTopNumber), this._scrollLeftChanged(this.scrollLeftNumber), this._scrollIntoViewChanged(this.scrollIntoView), this.__handleScroll = function (e) {
- e.preventDefault(), e.stopPropagation(), t._handleScroll.bind(t, e)()
- }, this.__handleTouchMove = function (i) {
- if (null !== e) {
- var r = i.touches[0].pageX, o = i.touches[0].pageY, a = t.$refs.main;
- if (Math.abs(r - e.x) > Math.abs(o - e.y)) if (t.scrollX) {
- if (0 === a.scrollLeft && r > e.x) return void (n = !1);
- if (a.scrollWidth === a.offsetWidth + a.scrollLeft && r < e.x) return void (n = !1);
- n = !0
- } else n = !1; else if (t.scrollY) if (0 === a.scrollTop && o > e.y) n = !1, t.refresherEnabled && !1 !== i.cancelable && i.preventDefault(); else {
- if (a.scrollHeight === a.offsetHeight + a.scrollTop && o < e.y) return void (n = !1);
- n = !0
- } else n = !1;
- if (n && i.stopPropagation(), 0 === a.scrollTop && 1 === i.touches.length && (t.refreshState = "pulling"), t.refresherEnabled && "pulling" === t.refreshState) {
- var s = o - e.y;
- 0 === t.toUpperNumber && (t.toUpperNumber = o), t.beforeRefreshing ? (t.refresherHeight = s + t.refresherThreshold, t.triggerAbort = !1) : (t.refresherHeight = o - t.toUpperNumber, t.refresherHeight > 0 && (t.triggerAbort = !0, t.$trigger("refresherpulling", i, {deltaY: s})));
- var c = t.refresherHeight / t.refresherThreshold;
- t.refreshRotate = 360 * (c > 1 ? 1 : c)
- }
- }
- }, this.__handleTouchStart = function (t) {
- 1 === t.touches.length && (Object(o["a"])({disable: !0}), e = {
- x: t.touches[0].pageX,
- y: t.touches[0].pageY
- })
- }, this.__handleTouchEnd = function (n) {
- e = null, Object(o["a"])({disable: !1}), t.refresherHeight >= t.refresherThreshold ? t._setRefreshState("refreshing") : t._setRefreshState("refresherabort")
- }, this.$refs.main.addEventListener("touchstart", this.__handleTouchStart, s), this.$refs.main.addEventListener("touchmove", this.__handleTouchMove, a(!1)), this.$refs.main.addEventListener("scroll", this.__handleScroll, a(!1)), this.$refs.main.addEventListener("touchend", this.__handleTouchEnd, s), Object(o["b"])()
- },
- activated: function () {
- this.scrollY && (this.$refs.main.scrollTop = this.lastScrollTop), this.scrollX && (this.$refs.main.scrollLeft = this.lastScrollLeft)
- },
- beforeDestroy: function () {
- this.$refs.main.removeEventListener("touchstart", this.__handleTouchStart, s), this.$refs.main.removeEventListener("touchmove", this.__handleTouchMove, s), this.$refs.main.removeEventListener("scroll", this.__handleScroll, a(!1)), this.$refs.main.removeEventListener("touchend", this.__handleTouchEnd, s)
- },
- methods: {
- scrollTo: function (t, e) {
- var n = this.$refs.main;
- t < 0 ? t = 0 : "x" === e && t > n.scrollWidth - n.offsetWidth ? t = n.scrollWidth - n.offsetWidth : "y" === e && t > n.scrollHeight - n.offsetHeight && (t = n.scrollHeight - n.offsetHeight);
- var i = 0, r = "";
- "x" === e ? i = n.scrollLeft - t : "y" === e && (i = n.scrollTop - t), 0 !== i && (this.$refs.content.style.transition = "transform .3s ease-out", this.$refs.content.style.webkitTransition = "-webkit-transform .3s ease-out", "x" === e ? r = "translateX(" + i + "px) translateZ(0)" : "y" === e && (r = "translateY(" + i + "px) translateZ(0)"), this.$refs.content.removeEventListener("transitionend", this.__transitionEnd), this.$refs.content.removeEventListener("webkitTransitionEnd", this.__transitionEnd), this.__transitionEnd = this._transitionEnd.bind(this, t, e), this.$refs.content.addEventListener("transitionend", this.__transitionEnd), this.$refs.content.addEventListener("webkitTransitionEnd", this.__transitionEnd), "x" === e ? n.style.overflowX = "hidden" : "y" === e && (n.style.overflowY = "hidden"), this.$refs.content.style.transform = r, this.$refs.content.style.webkitTransform = r)
- }, _handleTrack: function (t) {
- if ("start" === t.detail.state) return this._x = t.detail.x, this._y = t.detail.y, void (this._noBubble = null);
- "end" === t.detail.state && (this._noBubble = !1), null === this._noBubble && this.scrollY && (Math.abs(this._y - t.detail.y) / Math.abs(this._x - t.detail.x) > 1 ? this._noBubble = !0 : this._noBubble = !1), null === this._noBubble && this.scrollX && (Math.abs(this._x - t.detail.x) / Math.abs(this._y - t.detail.y) > 1 ? this._noBubble = !0 : this._noBubble = !1), this._x = t.detail.x, this._y = t.detail.y, this._noBubble && t.stopPropagation()
- }, _handleScroll: function (t) {
- var e = t.target;
- this.$trigger("scroll", t, {
- scrollLeft: e.scrollLeft,
- scrollTop: e.scrollTop,
- scrollHeight: e.scrollHeight,
- scrollWidth: e.scrollWidth,
- deltaX: this.lastScrollLeft - e.scrollLeft,
- deltaY: this.lastScrollTop - e.scrollTop
- }), this.scrollY && (e.scrollTop <= this.upperThresholdNumber && this.lastScrollTop - e.scrollTop > 0 && t.timeStamp - this.lastScrollToUpperTime > 200 && (this.$trigger("scrolltoupper", t, {direction: "top"}), this.lastScrollToUpperTime = t.timeStamp), e.scrollTop + e.offsetHeight + this.lowerThresholdNumber >= e.scrollHeight && this.lastScrollTop - e.scrollTop < 0 && t.timeStamp - this.lastScrollToLowerTime > 200 && (this.$trigger("scrolltolower", t, {direction: "bottom"}), this.lastScrollToLowerTime = t.timeStamp)), this.scrollX && (e.scrollLeft <= this.upperThresholdNumber && this.lastScrollLeft - e.scrollLeft > 0 && t.timeStamp - this.lastScrollToUpperTime > 200 && (this.$trigger("scrolltoupper", t, {direction: "left"}), this.lastScrollToUpperTime = t.timeStamp), e.scrollLeft + e.offsetWidth + this.lowerThresholdNumber >= e.scrollWidth && this.lastScrollLeft - e.scrollLeft < 0 && t.timeStamp - this.lastScrollToLowerTime > 200 && (this.$trigger("scrolltolower", t, {direction: "right"}), this.lastScrollToLowerTime = t.timeStamp)), this.lastScrollTop = e.scrollTop, this.lastScrollLeft = e.scrollLeft
- }, _scrollTopChanged: function (t) {
- this.scrollY && (this._innerSetScrollTop ? this._innerSetScrollTop = !1 : this.scrollWithAnimation ? this.scrollTo(t, "y") : this.$refs.main.scrollTop = t)
- }, _scrollLeftChanged: function (t) {
- this.scrollX && (this._innerSetScrollLeft ? this._innerSetScrollLeft = !1 : this.scrollWithAnimation ? this.scrollTo(t, "x") : this.$refs.main.scrollLeft = t)
- }, _scrollIntoViewChanged: function (e) {
- if (e) {
- if (!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e)) return void t.error("id error: scroll-into-view=".concat(e));
- var n = this.$el.querySelector("#" + e);
- if (n) {
- var i = this.$refs.main.getBoundingClientRect(),
- r = n.getBoundingClientRect();
- if (this.scrollX) {
- var o = r.left - i.left, a = this.$refs.main.scrollLeft, s = a + o;
- this.scrollWithAnimation ? this.scrollTo(s, "x") : this.$refs.main.scrollLeft = s
- }
- if (this.scrollY) {
- var c = r.top - i.top, u = this.$refs.main.scrollTop, l = u + c;
- this.scrollWithAnimation ? this.scrollTo(l, "y") : this.$refs.main.scrollTop = l
- }
- }
- }
- }, _transitionEnd: function (t, e) {
- this.$refs.content.style.transition = "", this.$refs.content.style.webkitTransition = "", this.$refs.content.style.transform = "", this.$refs.content.style.webkitTransform = "";
- var n = this.$refs.main;
- "x" === e ? (n.style.overflowX = this.scrollX ? "auto" : "hidden", n.scrollLeft = t) : "y" === e && (n.style.overflowY = this.scrollY ? "auto" : "hidden", n.scrollTop = t), this.$refs.content.removeEventListener("transitionend", this.__transitionEnd), this.$refs.content.removeEventListener("webkitTransitionEnd", this.__transitionEnd)
- }, _setRefreshState: function (t) {
- switch (t) {
- case"refreshing":
- this.refresherHeight = this.refresherThreshold, this.beforeRefreshing || (this.beforeRefreshing = !0, this.$trigger("refresherrefresh", {}, {}));
- break;
- case"restore":
- case"refresherabort":
- this.beforeRefreshing = !1, this.refresherHeight = this.toUpperNumber = 0, "restore" === t && (this.triggerAbort = !1, this.$trigger("refresherrestore", {}, {})), "refresherabort" === t && this.triggerAbort && (this.triggerAbort = !1, this.$trigger("refresherabort", {}, {}));
- break
- }
- this.refreshState = t
- }, getScrollPosition: function () {
- var t = this.$refs.main;
- return {
- scrollLeft: t.scrollLeft,
- scrollTop: t.scrollTop,
- scrollHeight: t.scrollHeight,
- scrollWidth: t.scrollWidth
- }
- }
- }
- }
- }).call(this, n("3ad9")["default"])
- }, ed9f: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "chooseVideo", (function () {
- return r
- }));
- var i = ["album", "camera"], r = {
- sourceType: {
- type: Array, required: !1, default: i, validator: function (t, e) {
- t = t.filter((function (t) {
- return i.includes(t)
- })), e.sourceType = t.length ? t : i
- }
- },
- compressed: {type: Boolean, default: !0},
- maxDuration: {type: Number, default: 60},
- camera: {type: String, default: "back"},
- extension: {
- type: Array, default: ["*"], validator: function (t, e) {
- if (0 === t.length) return "param extension should not be empty."
- }
- }
- }
- }, edfa: function (t, e, n) {
- "use strict";
- var i = n("c418"), r = n.n(i);
- r.a
- }, ee03: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "VideoContext", (function () {
- return u
- })), n.d(e, "createVideoContext", (function () {
- return l
- }));
- var i = n("db70");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- var s = [.5, .8, 1, 1.25, 1.5, 2];
- function c(t, e, n, r) {
- Object(i["c"])("operateVideoPlayer", t, e, n, r)
- }
- var u = function () {
- function t(e, n) {
- r(this, t), this.id = e, this.pageVm = n
- }
- return a(t, [{
- key: "play", value: function () {
- c(this.id, this.pageVm, "play")
- }
- }, {
- key: "pause", value: function () {
- c(this.id, this.pageVm, "pause")
- }
- }, {
- key: "stop", value: function () {
- c(this.id, this.pageVm, "stop")
- }
- }, {
- key: "seek", value: function (t) {
- c(this.id, this.pageVm, "seek", {position: t})
- }
- }, {
- key: "sendDanmu", value: function (t) {
- c(this.id, this.pageVm, "sendDanmu", t)
- }
- }, {
- key: "playbackRate", value: function (t) {
- ~s.indexOf(t) || (t = 1), c(this.id, this.pageVm, "playbackRate", {rate: t})
- }
- }, {
- key: "requestFullScreen", value: function () {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- c(this.id, this.pageVm, "requestFullScreen", t)
- }
- }, {
- key: "exitFullScreen", value: function () {
- c(this.id, this.pageVm, "exitFullScreen")
- }
- }, {
- key: "showStatusBar", value: function () {
- c(this.id, this.pageVm, "showStatusBar")
- }
- }, {
- key: "hideStatusBar", value: function () {
- c(this.id, this.pageVm, "hideStatusBar")
- }
- }]), t
- }();
- function l(t, e) {
- return new u(t, e || Object(i["b"])("createVideoContext"))
- }
- }, ee4f: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i = n("f2b3");
- e["default"] = {
- data: function () {
- return {showModal: {visible: !1}}
- }, created: function () {
- var e = this;
- t.on("onShowModal", (function (t, n) {
- e.showModal = t, e.onModalCloseCallback = n
- })), t.on("onHidePopup", (function (t) {
- e.showModal.visible = !1
- }))
- }, methods: {
- _onModalClose: function (t) {
- this.showModal.visible = !1, Object(i["k"])(this.onModalCloseCallback) && this.onModalCloseCallback(t)
- }
- }
- }
- }.call(this, n("0dd1"))
- }, ef36: function (t, e, n) {
- }, f0c3: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "downloadFile", (function () {
- return l
- }));
- var i = n("a118"), r = n("db70");
- function o(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function a(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function s(t, e, n) {
- return e && a(t.prototype, e), n && a(t, n), t
- }
- var c = function () {
- function t(e, n) {
- o(this, t), this.id = e, this._callbackId = n, this._callbacks = []
- }
- return s(t, [{
- key: "abort", value: function () {
- Object(r["c"])("operateDownloadTask", {downloadTaskId: this.id, operationType: "abort"})
- }
- }, {
- key: "onProgressUpdate", value: function (t) {
- "function" === typeof t && this._callbacks.push(t)
- }
- }, {
- key: "onHeadersReceived", value: function () {
- }
- }, {
- key: "offProgressUpdate", value: function (t) {
- var e = this._callbacks.indexOf(t);
- e >= 0 && this._callbacks.splice(e, 1)
- }
- }, {
- key: "offHeadersReceived", value: function () {
- }
- }]), t
- }(), u = Object.create(null);
- function l(t, e) {
- var n = Object(r["c"])("createDownloadTask", t), i = n.downloadTaskId, o = new c(i, e);
- return u[i] = o, o
- }
- Object(r["d"])("onDownloadTaskStateChange", (function (t) {
- var e = t.downloadTaskId, n = t.state, r = t.tempFilePath, o = t.statusCode, a = t.progress,
- s = t.totalBytesWritten, c = t.totalBytesExpectedToWrite, l = t.errMsg, f = u[e],
- d = f._callbackId;
- switch (n) {
- case"progressUpdate":
- f._callbacks.forEach((function (t) {
- t({progress: a, totalBytesWritten: s, totalBytesExpectedToWrite: c})
- }));
- break;
- case"success":
- Object(i["a"])(d, {tempFilePath: r, statusCode: o, errMsg: "request:ok"});
- case"fail":
- Object(i["a"])(d, {errMsg: "request:fail " + l});
- default:
- setTimeout((function () {
- delete u[e]
- }), 100);
- break
- }
- }))
- }, f102: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "makePhoneCall", (function () {
- return i
- }));
- var i = {
- phoneNumber: {
- type: String, required: !0, validator: function (t) {
- if (!t) return "makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"
- }
- }
- }
- }, f10e: function (t, e, n) {
- "use strict";
- var i = n("29a2"), r = n.n(i);
- r.a
- }, f1b2: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "chooseImage", (function () {
- return o
- }));
- var i = ["original", "compressed"], r = ["album", "camera"], o = {
- count: {
- type: Number, required: !1, default: 9, validator: function (t, e) {
- t <= 0 && (e.count = 9)
- }
- }, sizeType: {
- type: [Array, String], required: !1, default: i, validator: function (t, e) {
- t = "string" === typeof t ? [t] : t, t = t.filter((function (t) {
- return i.includes(t)
- })), e.sizeType = t.length ? t : i
- }
- }, sourceType: {
- type: Array, required: !1, default: r, validator: function (t, e) {
- t = t.filter((function (t) {
- return r.includes(t)
- })), e.sourceType = t.length ? t : r
- }
- }, extension: {
- type: Array, default: ["*"], validator: function (t, e) {
- if (0 === t.length) return "param extension should not be empty."
- }
- }
- }
- }, f1ea: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = [], r = n("8793");
- r.keys().forEach((function (t) {
- "./index.js" !== t && i.push(r(t).default)
- })), e["default"] = i
- }, f1ef: function (t, e, n) {
- "use strict";
- n.r(e);
- var i = function () {
- var t = this, e = t.$createElement, n = t._self._c || e;
- return n("uni-scroll-view", t._g({}, t.$listeners), [n("div", {
- ref: "wrap",
- staticClass: "uni-scroll-view"
- }, [n("div", {
- ref: "main",
- staticClass: "uni-scroll-view",
- style: {
- "overflow-x": t.scrollX ? "auto" : "hidden",
- "overflow-y": t.scrollY ? "auto" : "hidden"
- }
- }, [n("div", {
- ref: "content",
- staticClass: "uni-scroll-view-content"
- }, [t.refresherEnabled ? n("div", {
- ref: "refresherinner",
- staticClass: "uni-scroll-view-refresher",
- style: {"background-color": t.refresherBackground, height: t.refresherHeight + "px"}
- }, ["none" !== t.refresherDefaultStyle ? n("div", {staticClass: "uni-scroll-view-refresh"}, [n("div", {staticClass: "uni-scroll-view-refresh-inner"}, ["pulling" == t.refreshState ? n("svg", {
- key: "refresh__icon",
- staticClass: "uni-scroll-view-refresh__icon",
- style: {transform: "rotate(" + t.refreshRotate + "deg)"},
- attrs: {fill: "#2BD009", width: "24", height: "24", viewBox: "0 0 24 24"}
- }, [n("path", {attrs: {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}}), n("path", {
- attrs: {
- d: "M0 0h24v24H0z",
- fill: "none"
- }
- })]) : t._e(), "refreshing" == t.refreshState ? n("svg", {
- key: "refresh__spinner",
- staticClass: "uni-scroll-view-refresh__spinner",
- attrs: {width: "24", height: "24", viewBox: "25 25 50 50"}
- }, [n("circle", {
- staticStyle: {color: "#2bd009"},
- attrs: {cx: "50", cy: "50", r: "20", fill: "none", "stroke-width": "3"}
- })]) : t._e()])]) : t._e(), "none" == t.refresherDefaultStyle ? t._t("refresher") : t._e()], 2) : t._e(), t._t("default")], 2)])])])
- }, r = [], o = n("ed78"), a = o["a"], s = (n("5ab3"), n("2877")),
- c = Object(s["a"])(a, i, r, !1, null, null, null);
- e["default"] = c.exports
- }, f2b3: function (t, e, n) {
- "use strict";
- n.d(e, "q", (function () {
- return r
- })), n.d(e, "k", (function () {
- return p
- })), n.d(e, "m", (function () {
- return v
- })), n.d(e, "l", (function () {
- return g
- })), n.d(e, "i", (function () {
- return m
- })), n.d(e, "s", (function () {
- return b
- })), n.d(e, "b", (function () {
- return w
- })), n.d(e, "c", (function () {
- return k
- })), n.d(e, "p", (function () {
- return S
- })), n.d(e, "h", (function () {
- return x
- })), n.d(e, "g", (function () {
- return C
- })), n.d(e, "u", (function () {
- return T
- })), n.d(e, "d", (function () {
- return O
- })), n.d(e, "r", (function () {
- return A
- })), n.d(e, "n", (function () {
- return E
- })), n.d(e, "f", (function () {
- return j
- })), n.d(e, "t", (function () {
- return l
- })), n.d(e, "j", (function () {
- return N
- })), n.d(e, "e", (function () {
- return B
- })), n.d(e, "o", (function () {
- return F
- })), n.d(e, "a", (function () {
- return V
- }));
- var i, r = !1;
- try {
- var o = {};
- Object.defineProperty(o, "passive", {
- get: function () {
- r = !0
- }
- }), window.addEventListener("test-passive", null, o)
- } catch (U) {
- }
- var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
- s = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
- function c(t) {
- return decodeURIComponent(i(t).split("").map((function (t) {
- return "%" + ("00" + t.charCodeAt(0).toString(16)).slice(-2)
- })).join(""))
- }
- function u() {
- var t, e = uni.getStorageSync("uni_id_token") || "", n = e.split(".");
- if (!e || 3 !== n.length) return {uid: null, role: [], permission: [], tokenExpired: 0};
- try {
- t = JSON.parse(c(n[1]))
- } catch (i) {
- throw new Error("获取当前用户信息出错,详细错误信息为:" + i.message)
- }
- return t.tokenExpired = 1e3 * t.exp, delete t.exp, delete t.iat, t
- }
- function l(t) {
- t.prototype.uniIDHasRole = function (t) {
- var e = u(), n = e.role;
- return n.indexOf(t) > -1
- }, t.prototype.uniIDHasPermission = function (t) {
- var e = u(), n = e.permission;
- return this.uniIDHasRole("admin") || n.indexOf(t) > -1
- }, t.prototype.uniIDTokenValid = function () {
- var t = u(), e = t.tokenExpired;
- return e > Date.now()
- }
- }
- i = "function" !== typeof atob ? function (t) {
- if (t = String(t).replace(/[\t\n\f\r ]+/g, ""), !s.test(t)) throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
- var e;
- t += "==".slice(2 - (3 & t.length));
- for (var n, i, r = "", o = 0; o < t.length;) e = a.indexOf(t.charAt(o++)) << 18 | a.indexOf(t.charAt(o++)) << 12 | (n = a.indexOf(t.charAt(o++))) << 6 | (i = a.indexOf(t.charAt(o++))), r += 64 === n ? String.fromCharCode(e >> 16 & 255) : 64 === i ? String.fromCharCode(e >> 16 & 255, e >> 8 & 255) : String.fromCharCode(e >> 16 & 255, e >> 8 & 255, 255 & e);
- return r
- } : atob;
- var f = Object.prototype.toString, d = Object.prototype.hasOwnProperty, h = function (t) {
- return t > 9 ? t : "0" + t
- };
- function p(t) {
- return "function" === typeof t
- }
- function v(t) {
- return "string" === typeof t
- }
- function g(t) {
- return "[object Object]" === f.call(t)
- }
- function m(t, e) {
- return d.call(t, e)
- }
- function b(t) {
- return f.call(t).slice(8, -1)
- }
- function y(t) {
- var e = Object.create(null);
- return function (n) {
- var i = e[n];
- return i || (e[n] = t(n))
- }
- }
- var _ = /-(\w)/g, w = y((function (t) {
- return t.replace(_, (function (t, e) {
- return e ? e.toUpperCase() : ""
- }))
- })), k = y((function (t) {
- return t.charAt(0).toUpperCase() + t.slice(1)
- }));
- function S(t, e, n) {
- e.forEach((function (e) {
- m(n, e) && (t[e] = n[e])
- }))
- }
- function x() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return ("" + t).replace(/[^\x00-\xff]/g, "**").length
- }
- function C(t) {
- var e = t.date, n = void 0 === e ? new Date : e, i = t.mode, r = void 0 === i ? "date" : i;
- return "time" === r ? h(n.getHours()) + ":" + h(n.getMinutes()) : n.getFullYear() + "-" + h(n.getMonth() + 1) + "-" + h(n.getDate())
- }
- function T(t, e) {
- for (var n in e) t.style[n] = e[n]
- }
- function O(t, e) {
- var n, i = function () {
- var i = arguments, r = this;
- clearTimeout(n);
- var o = function () {
- return t.apply(r, i)
- };
- n = setTimeout(o, e)
- };
- return i.cancel = function () {
- clearTimeout(n)
- }, i
- }
- function A(t, e) {
- var n, i, r = 0, o = function () {
- for (var o = this, a = arguments.length, s = new Array(a), c = 0; c < a; c++) s[c] = arguments[c];
- var u = Date.now();
- clearTimeout(n), i = function () {
- i = null, r = u, t.apply(o, s)
- }, u - r < e ? n = setTimeout(i, e - (u - r)) : i()
- };
- return o.cancel = function () {
- clearTimeout(n), i = null
- }, o.flush = function () {
- clearTimeout(n), i && i()
- }, o
- }
- function E(t) {
- return t.replace(/[A-Z]/g, (function (t) {
- return "-" + t.toLowerCase()
- }))
- }
- function j(t, e) {
- function n(t) {
- var i = t.children && t.children.map(n), r = e(t.tag, t.data, i);
- return r.text = t.text, r.isComment = t.isComment, r.componentOptions = t.componentOptions, r.elm = t.elm, r.context = t.context, r.ns = t.ns, r.isStatic = t.isStatic, r.key = t.key, r
- }
- return t.map(n)
- }
- function M(t, e) {
- return R(t) || L(t, e) || $(t, e) || I()
- }
- function I() {
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- function $(t, e) {
- if (t) {
- if ("string" === typeof t) return P(t, e);
- var n = Object.prototype.toString.call(t).slice(8, -1);
- return "Object" === n && t.constructor && (n = t.constructor.name), "Map" === n || "Set" === n ? Array.from(n) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? P(t, e) : void 0
- }
- }
- function P(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- function L(t, e) {
- if ("undefined" !== typeof Symbol && Symbol.iterator in Object(t)) {
- var n = [], i = !0, r = !1, o = void 0;
- try {
- for (var a, s = t[Symbol.iterator](); !(i = (a = s.next()).done); i = !0) if (n.push(a.value), e && n.length === e) break
- } catch (c) {
- r = !0, o = c
- } finally {
- try {
- i || null == s["return"] || s["return"]()
- } finally {
- if (r) throw o
- }
- }
- return n
- }
- }
- function R(t) {
- if (Array.isArray(t)) return t
- }
- function N(t) {
- if (!t) return {r: 0, g: 0, b: 0, a: 0};
- var e = t.slice(1), n = e.length;
- if (![3, 4, 6, 8].includes(n)) return {r: 0, g: 0, b: 0, a: 0};
- 3 !== n && 4 !== n || (e = e.replace(/(\w{1})/g, "$1$1"));
- var i = e.match(/(\w{2})/g), r = M(i, 4), o = r[0], a = r[1], s = r[2], c = r[3],
- u = parseInt(o, 16), l = parseInt(a, 16), f = parseInt(s, 16);
- return c ? {r: u, g: l, b: f, a: ("0x100".concat(c) - 65536) / 255} : {r: u, g: l, b: f, a: 1}
- }
- var D = decodeURIComponent;
- function B() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = {};
- return Object.keys(t).forEach((function (n) {
- try {
- e[n] = D(t[n])
- } catch (U) {
- e[n] = t[n]
- }
- })), e
- }
- function F(t) {
- if ("function" === typeof t) return window.plus ? t() : void document.addEventListener("plusready", t)
- }
- var z = 0, W = {};
- function q(t) {
- return function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- n = String(z++);
- W[n] = {success: e.success, fail: e.fail, complete: e.complete};
- var i = Object.assign({}, e), r = t.bind(this)(i, n);
- r && H(n, r)
- }
- }
- function H(t, e) {
- var n = W[t] || {};
- delete W[t];
- var i = e.errMsg || "";
- new RegExp("\\:\\s*fail").test(i) ? n.fail && n.fail(e) : n.success && n.success(e), n.complete && n.complete(e)
- }
- var V = {warp: q, invoke: H}
- }, f2ce: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("8af1");
- e["a"] = {
- name: "Label",
- mixins: [i["a"]],
- props: {for: {type: String, default: ""}},
- computed: {
- pointer: function () {
- return this.for || this.$slots.default && this.$slots.default.length
- }
- },
- methods: {
- _onClick: function (e) {
- var n = /^uni-(checkbox|radio|switch)-/.test(e.target.className);
- n || (n = /^uni-(checkbox|radio|switch|button)$/i.test(e.target.tagName)), n || (this.for ? t.emit("uni-label-click-" + this.$page.id + "-" + this.for, e, !0) : this.$broadcast(["Checkbox", "Radio", "Switch", "Button"], "uni-label-click", e, !0))
- }
- }
- }
- }).call(this, n("501c"))
- }, f4e0: function (t, e, n) {
- "use strict";
- var i = n("c2aa"), r = n.n(i);
- r.a
- }, f53a: function (t, e, n) {
- "use strict";
- var i = n("f735"), r = n.n(i);
- r.a
- }, f68f: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "preLogin", (function () {
- return r
- }));
- var i = {UNIVERIFY: "univerify"}, r = {
- provider: {
- type: String, required: !0, default: i.UNIVERIFY, validator: function (t, e) {
- if (Object.values(i).indexOf(t) < 0) return "provider error"
- }
- }
- }
- }, f735: function (t, e, n) {
- }, f756: function (t, e, n) {
- }, f7b4: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- var i;
- n.d(e, "startCompass", (function () {
- return o
- })), n.d(e, "stopCompass", (function () {
- return a
- })), n.d(e, "onCompassChange", (function () {
- return s
- })), n.d(e, "offCompassChange", (function () {
- return c
- }));
- var r = [];
- function o(e, n) {
- var o = t, a = o.invokeCallbackHandler;
- if (!window.DeviceOrientationEvent) return {errMsg: "startCompass:fail"};
- function s() {
- i = function (t) {
- var e = 360 - t.alpha;
- r.forEach((function (t) {
- a(t, {direction: e || 0})
- }))
- }, window.addEventListener("deviceorientation", i, !1)
- }
- if (!i) {
- if (DeviceOrientationEvent.requestPermission) return void DeviceOrientationEvent.requestPermission().then((function (t) {
- "granted" === t ? (s(), a(n, {errMsg: "startCompass:ok"})) : a(n, {errMsg: "startCompass:fail ".concat(t)})
- })).catch((function (t) {
- a(n, {errMsg: "startCompass:fail ".concat(t)})
- }));
- s()
- }
- return {}
- }
- function a() {
- return i && (window.removeEventListener("deviceorientation", i, !1), i = null), {}
- }
- function s(t) {
- r.length || o(), r.push(t)
- }
- function c(t) {
- if (t) {
- var e = r.indexOf(t);
- e >= 0 && r.splice(e, 1)
- }
- r.length || a()
- }
- }.call(this, n("0dd1"))
- }, f7fd: function (t, e, n) {
- "use strict";
- var i = n("33b4"), r = n.n(i);
- r.a
- }, f941: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- function i(e, n, i, r) {
- var o = n.$page.id;
- t.publishHandler(o + "-video-" + e, {videoId: e, type: i, data: r}, o)
- }
- n.d(e, "operateVideoPlayer", (function () {
- return i
- }))
- }.call(this, n("0dd1"))
- }, f9d2: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "createInnerAudioContext", (function () {
- return f
- }));
- var i = n("cb0f");
- function r(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- function o(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function a(t, e, n) {
- return e && o(t.prototype, e), n && o(t, n), t
- }
- function s(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- var c = ["onCanplay", "onPlay", "onPause", "onStop", "onEnded", "onTimeUpdate", "onError", "onWaiting", "onSeeking", "onSeeked"],
- u = ["offCanplay", "offPlay", "offPause", "offStop", "offEnded", "offTimeUpdate", "offError", "offWaiting", "offSeeking", "offSeeked"],
- l = function () {
- function t() {
- var e = this;
- r(this, t), s(this, "_audio", void 0), s(this, "_stoping", void 0), s(this, "startTime", void 0), s(this, "_events", void 0), s(this, "_src", void 0);
- var n = this._audio = new Audio;
- this._stoping = !1;
- var o = ["src", "autoplay", "loop", "duration", "currentTime", "paused", "volume"];
- o.forEach((function (t) {
- Object.defineProperty(e, t, {
- set: "src" === t ? function (t) {
- return n.src = Object(i["a"])(t), e._src = t, t
- } : function (e) {
- return n[t] = e, e
- }, get: "src" === t ? function () {
- return e._src
- } : function () {
- return n[t]
- }
- })
- })), this.startTime = 0, Object.defineProperty(this, "obeyMuteSwitch", {
- set: function (t) {
- return !1
- }, get: function () {
- return !1
- }
- }), Object.defineProperty(this, "buffered", {
- get: function () {
- var t = n.buffered;
- return t.length ? t.end(t.length - 1) : 0
- }
- }), this._events = {}, c.forEach((function (t) {
- e._events[t] = []
- })), n.addEventListener("loadedmetadata", (function () {
- var t = Number(e.startTime) || 0;
- t > 0 && (n.currentTime = t)
- }));
- var a = ["canplay", "play", "pause", "ended", "timeUpdate", "error", "waiting", "seeking", "seeked"],
- u = ["canplay", "pause", "seeking", "seeked", "timeUpdate"];
- a.forEach((function (t) {
- n.addEventListener(t.toLowerCase(), (function () {
- e._stoping && u.indexOf(t) >= 0 || e._events["on".concat(t.substr(0, 1).toUpperCase()).concat(t.substr(1))].forEach((function (t) {
- t()
- }))
- }), !1)
- }))
- }
- return a(t, [{
- key: "play", value: function () {
- this._stoping = !1, this._audio.play()
- }
- }, {
- key: "pause", value: function () {
- this._audio.pause()
- }
- }, {
- key: "stop", value: function () {
- this._stoping = !0, this._audio.pause(), this._audio.currentTime = 0, this._events.onStop.forEach((function (t) {
- t()
- }))
- }
- }, {
- key: "seek", value: function (t) {
- this._stoping = !1, t = Number(t), "number" !== typeof t || isNaN(t) || (this._audio.currentTime = t)
- }
- }, {
- key: "destroy", value: function () {
- this.stop()
- }
- }]), t
- }();
- function f() {
- return new l
- }
- c.forEach((function (t) {
- l.prototype[t] = function (e) {
- "function" === typeof e && this._events[t].push(e)
- }
- })), u.forEach((function (t) {
- l.prototype[t] = function (e) {
- var n = this._events[t.replace("off", "on")], i = n.indexOf(e);
- i >= 0 && n.splice(i, 1)
- }
- }))
- }, fae3: function (t, e, n) {
- "use strict";
- if (n.r(e), "undefined" !== typeof window) {
- var i = window.document.currentScript, r = n("8875");
- i = r(), "currentScript" in document || Object.defineProperty(document, "currentScript", {get: r});
- var o = i && i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);
- o && (n.p = o[1])
- }
- n("2ef3")
- }, fb61: function (t, e, n) {
- "use strict";
- var i = n("7df2"), r = n.n(i);
- r.a
- }, fcd1: function (t, e, n) {
- "use strict";
- n.r(e), n.d(e, "setTabBarItem", (function () {
- return c
- })), n.d(e, "setTabBarStyle", (function () {
- return u
- })), n.d(e, "hideTabBar", (function () {
- return l
- })), n.d(e, "showTabBar", (function () {
- return f
- })), n.d(e, "hideTabBarRedDot", (function () {
- return d
- })), n.d(e, "showTabBarRedDot", (function () {
- return h
- })), n.d(e, "removeTabBarBadge", (function () {
- return p
- })), n.d(e, "setTabBarBadge", (function () {
- return v
- }));
- var i = n("f2b3"), r = ["text", "iconPath", "selectedIconPath", "visible"],
- o = ["color", "selectedColor", "backgroundColor", "borderStyle"], a = ["badge", "redDot"];
- function s(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = getApp();
- if (n) {
- var s = !1, c = getCurrentPages();
- if (c.length ? c[c.length - 1].$page.meta.isTabBar && (s = !0) : n.$children[0].hasTabBar && (s = !0), !s) return {errMsg: "".concat(t, ":fail not TabBar page")};
- var u = e.index, l = __uniConfig.tabBar;
- if (u >= __uniConfig.tabBar.list.length) return {errMsg: "".concat(t, ":fail tabbar item not found")};
- switch (t) {
- case"showTabBar":
- n.$children[0].hideTabBar = !1;
- break;
- case"hideTabBar":
- n.$children[0].hideTabBar = !0;
- break;
- case"setTabBarItem":
- Object(i["p"])(l.list[u], r, e);
- var f = e.pagePath, d = f && __uniRoutes.find((function (t) {
- var e = t.path;
- return e === f
- }));
- if (d) {
- var h = d.meta;
- h.isTabBar = !0, h.tabBarIndex = u, h.isQuit = !0;
- var p = __uniConfig.tabBar;
- p && p.list && p.list[u] && (p.list[u].pagePath = f.startsWith("/") ? f.substring(1) : f)
- }
- break;
- case"setTabBarStyle":
- Object(i["p"])(l, o, e);
- break;
- case"showTabBarRedDot":
- Object(i["p"])(l.list[u], a, {badge: "", redDot: !0});
- break;
- case"setTabBarBadge":
- Object(i["p"])(l.list[u], a, {badge: e.text, redDot: !0});
- break;
- case"hideTabBarRedDot":
- case"removeTabBarBadge":
- Object(i["p"])(l.list[u], a, {badge: "", redDot: !1});
- break
- }
- }
- return {}
- }
- function c(t) {
- return s("setTabBarItem", t)
- }
- function u(t) {
- return s("setTabBarStyle", t)
- }
- function l(t) {
- return s("hideTabBar", t)
- }
- function f(t) {
- return s("showTabBar", t)
- }
- function d(t) {
- return s("hideTabBarRedDot", t)
- }
- function h(t) {
- return s("showTabBarRedDot", t)
- }
- function p(t) {
- return s("removeTabBarBadge", t)
- }
- function v(t) {
- return s("setTabBarBadge", t)
- }
- }, fda5: function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("f2b3"), r = n("ffdc"), o = n("a6b0"), a = n("636c");
- e["a"] = {
- name: "SystemChooseLocation", filters: {
- distance: function (t) {
- return t > 100 ? "".concat(t > 1e3 ? (t / 1e3).toFixed(1) + "k" : t.toFixed(0), "m | ") : t > 0 ? "<100m | " : ""
- }
- }, mixins: [o["c"]], data: function () {
- var t = this.$route.query, e = t.latitude, n = t.longitude;
- return {
- latitude: e,
- longitude: n,
- pageSize: 20,
- pageIndex: 1,
- hasNextPage: !0,
- nextPage: null,
- selectedIndex: -1,
- list: [],
- keyword: "",
- searching: !1,
- loading: !0,
- adcode: "",
- locationStyle: 'background-image: url("'.concat(a["b"], '")')
- }
- }, computed: {
- selected: function () {
- return this.list[this.selectedIndex]
- }, boundary: function () {
- return this.adcode ? "region(".concat(this.adcode, ",1,").concat(this.latitude, ",").concat(this.longitude, ")") : "nearby(".concat(this.latitude, ",").concat(this.longitude, ",5000)")
- }
- }, created: function () {
- var t = this;
- this.latitude && this.longitude || this.moveToLocation(), this.search = Object(i["d"])((function () {
- t.reset(), t.keyword && t.getList()
- }), 1e3), this.$watch("searching", (function (e) {
- t.reset(), e || t.getList()
- }))
- }, methods: {
- choose: function () {
- this.selected && (t.publishHandler("onChooseLocation", Object.assign({}, this.selected)), getApp().$router.back())
- }, back: function () {
- t.publishHandler("onChooseLocation", null), getApp().$router.back()
- }, moveToLocation: function () {
- uni.getLocation({
- type: "gcj02", success: this.move.bind(this), fail: function () {
- }
- })
- }, onRegionChange: function (t) {
- var e = t.detail.centerLocation;
- e && this.move(e)
- }, pushData: function (t) {
- var e = this;
- t.forEach((function (t) {
- e.list.push({
- name: t.title,
- address: t.address,
- distance: t._distance,
- latitude: t.location.lat,
- longitude: t.location.lng
- })
- }))
- }, getList: function () {
- var t = this;
- this.loading = !0;
- var e = Object(a["d"])();
- if (e.type === a["c"].GOOGLE) {
- if (this.pageIndex > 1 && this.nextPage) return void this.nextPage();
- var n = new window.google.maps.places.PlacesService(document.createElement("div"));
- n[this.searching ? "textSearch" : "nearbySearch"]({
- location: {
- lat: this.latitude,
- lng: this.longitude
- }, query: this.keyword, radius: 5e3
- }, (function (e, n, i) {
- t.loading = !1, e && e.length && e.forEach((function (e) {
- t.list.push({
- name: e.name || "",
- address: e.vicinity || e.formatted_address || "",
- distance: 0,
- latitude: e.geometry.location.lat(),
- longitude: e.geometry.location.lng()
- })
- })), i && (i.hasNextPage ? t.nextPage = function () {
- i.nextPage()
- } : t.hasNextPage = !1)
- }))
- } else if (e.type === a["c"].QQ) {
- var i = this.searching ? "https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=".concat(e.key, "&boundary=").concat(this.boundary, "&keyword=").concat(this.keyword, "&page_size=").concat(this.pageSize, "&page_index=").concat(this.pageIndex) : "https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=".concat(e.key, "&location=").concat(this.latitude, ",").concat(this.longitude, "&get_poi=1&poi_options=page_size=").concat(this.pageSize, ";page_index=").concat(this.pageIndex);
- Object(r["a"])(i, {callback: "callback"}, (function (e) {
- if (t.loading = !1, t.searching && "data" in e && e.data.length) t.pushData(e.data); else if ("result" in e) {
- var n = e.result;
- t.adcode = n.ad_info ? n.ad_info.adcode : "", n.pois && t.pushData(n.pois), t.list.length === t.pageSize * t.pageIndex && (t.hasNextPage = !1)
- }
- }), (function () {
- t.loading = !1
- }))
- }
- }, loadMore: function () {
- !this.loading && this.hasNextPage && (this.pageIndex++, this.getList())
- }, reset: function () {
- this.selectedIndex = -1, this.pageIndex = 1, this.hasNextPage = !0, this.nextPage = null, this.list = []
- }, move: function (t) {
- var e = t.latitude, n = t.longitude;
- this.latitude = e, this.longitude = n, this.searching || (this.reset(), this.getList())
- }, input: function () {
- this.search()
- }
- }
- }
- }).call(this, n("501c"))
- }, ff28: function (t, e, n) {
- "use strict";
- var i = n("2399"), r = n.n(i);
- r.a
- }, ffdc: function (t, e, n) {
- "use strict";
- function i(t, e, n, i) {
- var r, o = document.createElement("script"), a = e.callback || "callback",
- s = "__callback" + Date.now(), c = e.timeout || 3e4;
- function u() {
- clearTimeout(r), delete window[s], o.remove()
- }
- window[s] = function (t) {
- "function" === typeof n && n(t), u()
- }, o.onerror = function () {
- "function" === typeof i && i(), u()
- }, r = setTimeout((function () {
- "function" === typeof i && i(), u()
- }), c), o.src = t + (t.indexOf("?") >= 0 ? "&" : "?") + a + "=" + s, document.body.appendChild(o)
- }
- n.d(e, "a", (function () {
- return i
- }))
- }
- })
- }))
- }, "1c7e": function (t, e, n) {
- var i = n("b622"), r = i("iterator"), o = !1;
- try {
- var a = 0, s = {
- next: function () {
- return {done: !!a++}
- }, return: function () {
- o = !0
- }
- };
- s[r] = function () {
- return this
- }, Array.from(s, (function () {
- throw 2
- }))
- } catch (c) {
- }
- t.exports = function (t, e) {
- if (!e && !o) return !1;
- var n = !1;
- try {
- var i = {};
- i[r] = function () {
- return {
- next: function () {
- return {done: n = !0}
- }
- }
- }, t(i)
- } catch (c) {
- }
- return n
- }
- }, "1cdc": function (t, e, n) {
- var i = n("342f");
- t.exports = /(iphone|ipod|ipad).*applewebkit/i.test(i)
- }, "1d80": function (t, e) {
- t.exports = function (t) {
- if (void 0 == t) throw TypeError("Can't call method on " + t);
- return t
- }
- }, "1da1": function (t, e, n) {
- "use strict";
- function i(t, e, n, i, r, o, a) {
- try {
- var s = t[o](a), c = s.value
- } catch (u) {
- return void n(u)
- }
- s.done ? e(c) : Promise.resolve(c).then(i, r)
- }
- function r(t) {
- return function () {
- var e = this, n = arguments;
- return new Promise((function (r, o) {
- var a = t.apply(e, n);
- function s(t) {
- i(a, r, o, s, c, "next", t)
- }
- function c(t) {
- i(a, r, o, s, c, "throw", t)
- }
- s(void 0)
- }))
- }
- }
- n("d3b7"), Object.defineProperty(e, "__esModule", {value: !0}), e.default = r
- }, "1dde": function (t, e, n) {
- var i = n("d039"), r = n("b622"), o = n("2d00"), a = r("species");
- t.exports = function (t) {
- return o >= 51 || !i((function () {
- var e = [], n = e.constructor = {};
- return n[a] = function () {
- return {foo: 1}
- }, 1 !== e[t](Boolean).foo
- }))
- }
- }, "219c": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = i.aTypedArray, o = i.exportTypedArrayMethod, a = [].sort;
- o("sort", (function (t) {
- return a.call(r(this), t)
- }))
- }, 2266: function (t, e, n) {
- var i = n("825a"), r = n("e95a"), o = n("50c4"), a = n("0366"), s = n("35a1"), c = n("9bdd"),
- u = function (t, e) {
- this.stopped = t, this.result = e
- }, l = t.exports = function (t, e, n, l, f) {
- var d, h, p, v, g, m, b, y = a(e, n, l ? 2 : 1);
- if (f) d = t; else {
- if (h = s(t), "function" != typeof h) throw TypeError("Target is not iterable");
- if (r(h)) {
- for (p = 0, v = o(t.length); v > p; p++) if (g = l ? y(i(b = t[p])[0], b[1]) : y(t[p]), g && g instanceof u) return g;
- return new u(!1)
- }
- d = h.call(t)
- }
- m = d.next;
- while (!(b = m.call(d)).done) if (g = c(d, y, b.value, l), "object" == typeof g && g && g instanceof u) return g;
- return new u(!1)
- };
- l.stop = function (t) {
- return new u(!0, t)
- }
- }, "23cb": function (t, e, n) {
- var i = n("a691"), r = Math.max, o = Math.min;
- t.exports = function (t, e) {
- var n = i(t);
- return n < 0 ? r(n + e, 0) : o(n, e)
- }
- }, "23dc": function (t, e, n) {
- var i = n("d44e");
- i(Math, "Math", !0)
- }, "23e7": function (t, e, n) {
- var i = n("da84"), r = n("06cf").f, o = n("9112"), a = n("6eeb"), s = n("ce4e"), c = n("e893"), u = n("94ca");
- t.exports = function (t, e) {
- var n, l, f, d, h, p, v = t.target, g = t.global, m = t.stat;
- if (l = g ? i : m ? i[v] || s(v, {}) : (i[v] || {}).prototype, l) for (f in e) {
- if (h = e[f], t.noTargetGet ? (p = r(l, f), d = p && p.value) : d = l[f], n = u(g ? f : v + (m ? "." : "#") + f, t.forced), !n && void 0 !== d) {
- if (typeof h === typeof d) continue;
- c(h, d)
- }
- (t.sham || d && d.sham) && o(h, "sham", !0), a(l, f, h, t)
- }
- }
- }, "241c": function (t, e, n) {
- var i = n("ca84"), r = n("7839"), o = r.concat("length", "prototype");
- e.f = Object.getOwnPropertyNames || function (t) {
- return i(t, o)
- }
- }, "24fb": function (t, e, n) {
- "use strict";
- function i(t, e) {
- var n = t[1] || "", i = t[3];
- if (!i) return n;
- if (e && "function" === typeof btoa) {
- var o = r(i), a = i.sources.map((function (t) {
- return "/*# sourceURL=".concat(i.sourceRoot || "").concat(t, " */")
- }));
- return [n].concat(a).concat([o]).join("\n")
- }
- return [n].join("\n")
- }
- function r(t) {
- var e = btoa(unescape(encodeURIComponent(JSON.stringify(t)))),
- n = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);
- return "/*# ".concat(n, " */")
- }
- t.exports = function (t) {
- var e = [];
- return e.toString = function () {
- return this.map((function (e) {
- var n = i(e, t);
- return e[2] ? "@media ".concat(e[2], " {").concat(n, "}") : n
- })).join("")
- }, e.i = function (t, n, i) {
- "string" === typeof t && (t = [[null, t, ""]]);
- var r = {};
- if (i) for (var o = 0; o < this.length; o++) {
- var a = this[o][0];
- null != a && (r[a] = !0)
- }
- for (var s = 0; s < t.length; s++) {
- var c = [].concat(t[s]);
- i && r[c[0]] || (n && (c[2] ? c[2] = "".concat(n, " and ").concat(c[2]) : c[2] = n), e.push(c))
- }
- }, e
- }
- }, 2532: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("5a34"), o = n("1d80"), a = n("ab13");
- i({target: "String", proto: !0, forced: !a("includes")}, {
- includes: function (t) {
- return !!~String(o(this)).indexOf(r(t), arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, "25a1": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("d58f").right, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("reduceRight", (function (t) {
- return r(o(this), t, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, "25f0": function (t, e, n) {
- "use strict";
- var i = n("6eeb"), r = n("825a"), o = n("d039"), a = n("ad6d"), s = "toString", c = RegExp.prototype, u = c[s],
- l = o((function () {
- return "/a/b" != u.call({source: "a", flags: "b"})
- })), f = u.name != s;
- (l || f) && i(RegExp.prototype, s, (function () {
- var t = r(this), e = String(t.source), n = t.flags,
- i = String(void 0 === n && t instanceof RegExp && !("flags" in c) ? a.call(t) : n);
- return "/" + e + "/" + i
- }), {unsafe: !0})
- }, 2626: function (t, e, n) {
- "use strict";
- var i = n("d066"), r = n("9bf2"), o = n("b622"), a = n("83ab"), s = o("species");
- t.exports = function (t) {
- var e = i(t), n = r.f;
- a && e && !e[s] && n(e, s, {
- configurable: !0, get: function () {
- return this
- }
- })
- }
- }, "26cb": function (t, e, n) {
- "use strict";
- (function (e) {
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function n(t) {
- var e = Number(t.version.split(".")[0]);
- if (e >= 2) t.mixin({beforeCreate: i}); else {
- var n = t.prototype._init;
- t.prototype._init = function (t) {
- void 0 === t && (t = {}), t.init = t.init ? [i].concat(t.init) : i, n.call(this, t)
- }
- }
- function i() {
- var t = this.$options;
- t.store ? this.$store = "function" === typeof t.store ? t.store() : t.store : t.parent && t.parent.$store && (this.$store = t.parent.$store)
- }
- }
- var i = "undefined" !== typeof window ? window : "undefined" !== typeof e ? e : {},
- r = i.__VUE_DEVTOOLS_GLOBAL_HOOK__;
- function o(t) {
- r && (t._devtoolHook = r, r.emit("vuex:init", t), r.on("vuex:travel-to-state", (function (e) {
- t.replaceState(e)
- })), t.subscribe((function (t, e) {
- r.emit("vuex:mutation", t, e)
- }), {prepend: !0}), t.subscribeAction((function (t, e) {
- r.emit("vuex:action", t, e)
- }), {prepend: !0}))
- }
- function a(t, e) {
- return t.filter(e)[0]
- }
- function s(t, e) {
- if (void 0 === e && (e = []), null === t || "object" !== typeof t) return t;
- var n = a(e, (function (e) {
- return e.original === t
- }));
- if (n) return n.copy;
- var i = Array.isArray(t) ? [] : {};
- return e.push({original: t, copy: i}), Object.keys(t).forEach((function (n) {
- i[n] = s(t[n], e)
- })), i
- }
- function c(t, e) {
- Object.keys(t).forEach((function (n) {
- return e(t[n], n)
- }))
- }
- function u(t) {
- return null !== t && "object" === typeof t
- }
- function l(t) {
- return t && "function" === typeof t.then
- }
- function f(t, e) {
- return function () {
- return t(e)
- }
- }
- var d = function (t, e) {
- this.runtime = e, this._children = Object.create(null), this._rawModule = t;
- var n = t.state;
- this.state = ("function" === typeof n ? n() : n) || {}
- }, h = {namespaced: {configurable: !0}};
- h.namespaced.get = function () {
- return !!this._rawModule.namespaced
- }, d.prototype.addChild = function (t, e) {
- this._children[t] = e
- }, d.prototype.removeChild = function (t) {
- delete this._children[t]
- }, d.prototype.getChild = function (t) {
- return this._children[t]
- }, d.prototype.hasChild = function (t) {
- return t in this._children
- }, d.prototype.update = function (t) {
- this._rawModule.namespaced = t.namespaced, t.actions && (this._rawModule.actions = t.actions), t.mutations && (this._rawModule.mutations = t.mutations), t.getters && (this._rawModule.getters = t.getters)
- }, d.prototype.forEachChild = function (t) {
- c(this._children, t)
- }, d.prototype.forEachGetter = function (t) {
- this._rawModule.getters && c(this._rawModule.getters, t)
- }, d.prototype.forEachAction = function (t) {
- this._rawModule.actions && c(this._rawModule.actions, t)
- }, d.prototype.forEachMutation = function (t) {
- this._rawModule.mutations && c(this._rawModule.mutations, t)
- }, Object.defineProperties(d.prototype, h);
- var p = function (t) {
- this.register([], t, !1)
- };
- function v(t, e, n) {
- if (e.update(n), n.modules) for (var i in n.modules) {
- if (!e.getChild(i)) return void 0;
- v(t.concat(i), e.getChild(i), n.modules[i])
- }
- }
- p.prototype.get = function (t) {
- return t.reduce((function (t, e) {
- return t.getChild(e)
- }), this.root)
- }, p.prototype.getNamespace = function (t) {
- var e = this.root;
- return t.reduce((function (t, n) {
- return e = e.getChild(n), t + (e.namespaced ? n + "/" : "")
- }), "")
- }, p.prototype.update = function (t) {
- v([], this.root, t)
- }, p.prototype.register = function (t, e, n) {
- var i = this;
- void 0 === n && (n = !0);
- var r = new d(e, n);
- if (0 === t.length) this.root = r; else {
- var o = this.get(t.slice(0, -1));
- o.addChild(t[t.length - 1], r)
- }
- e.modules && c(e.modules, (function (e, r) {
- i.register(t.concat(r), e, n)
- }))
- }, p.prototype.unregister = function (t) {
- var e = this.get(t.slice(0, -1)), n = t[t.length - 1], i = e.getChild(n);
- i && i.runtime && e.removeChild(n)
- }, p.prototype.isRegistered = function (t) {
- var e = this.get(t.slice(0, -1)), n = t[t.length - 1];
- return !!e && e.hasChild(n)
- };
- var g;
- var m = function (t) {
- var e = this;
- void 0 === t && (t = {}), !g && "undefined" !== typeof window && window.Vue && M(window.Vue);
- var n = t.plugins;
- void 0 === n && (n = []);
- var i = t.strict;
- void 0 === i && (i = !1), this._committing = !1, this._actions = Object.create(null), this._actionSubscribers = [], this._mutations = Object.create(null), this._wrappedGetters = Object.create(null), this._modules = new p(t), this._modulesNamespaceMap = Object.create(null), this._subscribers = [], this._watcherVM = new g, this._makeLocalGettersCache = Object.create(null);
- var r = this, a = this, s = a.dispatch, c = a.commit;
- this.dispatch = function (t, e) {
- return s.call(r, t, e)
- }, this.commit = function (t, e, n) {
- return c.call(r, t, e, n)
- }, this.strict = i;
- var u = this._modules.root.state;
- k(this, u, [], this._modules.root), w(this, u), n.forEach((function (t) {
- return t(e)
- }));
- var l = void 0 !== t.devtools ? t.devtools : g.config.devtools;
- l && o(this)
- }, b = {state: {configurable: !0}};
- function y(t, e, n) {
- return e.indexOf(t) < 0 && (n && n.prepend ? e.unshift(t) : e.push(t)), function () {
- var n = e.indexOf(t);
- n > -1 && e.splice(n, 1)
- }
- }
- function _(t, e) {
- t._actions = Object.create(null), t._mutations = Object.create(null), t._wrappedGetters = Object.create(null), t._modulesNamespaceMap = Object.create(null);
- var n = t.state;
- k(t, n, [], t._modules.root, !0), w(t, n, e)
- }
- function w(t, e, n) {
- var i = t._vm;
- t.getters = {}, t._makeLocalGettersCache = Object.create(null);
- var r = t._wrappedGetters, o = {};
- c(r, (function (e, n) {
- o[n] = f(e, t), Object.defineProperty(t.getters, n, {
- get: function () {
- return t._vm[n]
- }, enumerable: !0
- })
- }));
- var a = g.config.silent;
- g.config.silent = !0, t._vm = new g({
- data: {$$state: e},
- computed: o
- }), g.config.silent = a, t.strict && A(t), i && (n && t._withCommit((function () {
- i._data.$$state = null
- })), g.nextTick((function () {
- return i.$destroy()
- })))
- }
- function k(t, e, n, i, r) {
- var o = !n.length, a = t._modules.getNamespace(n);
- if (i.namespaced && (t._modulesNamespaceMap[a], t._modulesNamespaceMap[a] = i), !o && !r) {
- var s = E(e, n.slice(0, -1)), c = n[n.length - 1];
- t._withCommit((function () {
- g.set(s, c, i.state)
- }))
- }
- var u = i.context = S(t, a, n);
- i.forEachMutation((function (e, n) {
- var i = a + n;
- C(t, i, e, u)
- })), i.forEachAction((function (e, n) {
- var i = e.root ? n : a + n, r = e.handler || e;
- T(t, i, r, u)
- })), i.forEachGetter((function (e, n) {
- var i = a + n;
- O(t, i, e, u)
- })), i.forEachChild((function (i, o) {
- k(t, e, n.concat(o), i, r)
- }))
- }
- function S(t, e, n) {
- var i = "" === e, r = {
- dispatch: i ? t.dispatch : function (n, i, r) {
- var o = j(n, i, r), a = o.payload, s = o.options, c = o.type;
- return s && s.root || (c = e + c), t.dispatch(c, a)
- }, commit: i ? t.commit : function (n, i, r) {
- var o = j(n, i, r), a = o.payload, s = o.options, c = o.type;
- s && s.root || (c = e + c), t.commit(c, a, s)
- }
- };
- return Object.defineProperties(r, {
- getters: {
- get: i ? function () {
- return t.getters
- } : function () {
- return x(t, e)
- }
- }, state: {
- get: function () {
- return E(t.state, n)
- }
- }
- }), r
- }
- function x(t, e) {
- if (!t._makeLocalGettersCache[e]) {
- var n = {}, i = e.length;
- Object.keys(t.getters).forEach((function (r) {
- if (r.slice(0, i) === e) {
- var o = r.slice(i);
- Object.defineProperty(n, o, {
- get: function () {
- return t.getters[r]
- }, enumerable: !0
- })
- }
- })), t._makeLocalGettersCache[e] = n
- }
- return t._makeLocalGettersCache[e]
- }
- function C(t, e, n, i) {
- var r = t._mutations[e] || (t._mutations[e] = []);
- r.push((function (e) {
- n.call(t, i.state, e)
- }))
- }
- function T(t, e, n, i) {
- var r = t._actions[e] || (t._actions[e] = []);
- r.push((function (e) {
- var r = n.call(t, {
- dispatch: i.dispatch,
- commit: i.commit,
- getters: i.getters,
- state: i.state,
- rootGetters: t.getters,
- rootState: t.state
- }, e);
- return l(r) || (r = Promise.resolve(r)), t._devtoolHook ? r.catch((function (e) {
- throw t._devtoolHook.emit("vuex:error", e), e
- })) : r
- }))
- }
- function O(t, e, n, i) {
- t._wrappedGetters[e] || (t._wrappedGetters[e] = function (t) {
- return n(i.state, i.getters, t.state, t.getters)
- })
- }
- function A(t) {
- t._vm.$watch((function () {
- return this._data.$$state
- }), (function () {
- 0
- }), {deep: !0, sync: !0})
- }
- function E(t, e) {
- return e.reduce((function (t, e) {
- return t[e]
- }), t)
- }
- function j(t, e, n) {
- return u(t) && t.type && (n = e, e = t, t = t.type), {type: t, payload: e, options: n}
- }
- function M(t) {
- g && t === g || (g = t, n(g))
- }
- b.state.get = function () {
- return this._vm._data.$$state
- }, b.state.set = function (t) {
- 0
- }, m.prototype.commit = function (t, e, n) {
- var i = this, r = j(t, e, n), o = r.type, a = r.payload, s = (r.options, {type: o, payload: a}),
- c = this._mutations[o];
- c && (this._withCommit((function () {
- c.forEach((function (t) {
- t(a)
- }))
- })), this._subscribers.slice().forEach((function (t) {
- return t(s, i.state)
- })))
- }, m.prototype.dispatch = function (t, e) {
- var n = this, i = j(t, e), r = i.type, o = i.payload, a = {type: r, payload: o}, s = this._actions[r];
- if (s) {
- try {
- this._actionSubscribers.slice().filter((function (t) {
- return t.before
- })).forEach((function (t) {
- return t.before(a, n.state)
- }))
- } catch (u) {
- 0
- }
- var c = s.length > 1 ? Promise.all(s.map((function (t) {
- return t(o)
- }))) : s[0](o);
- return new Promise((function (t, e) {
- c.then((function (e) {
- try {
- n._actionSubscribers.filter((function (t) {
- return t.after
- })).forEach((function (t) {
- return t.after(a, n.state)
- }))
- } catch (u) {
- 0
- }
- t(e)
- }), (function (t) {
- try {
- n._actionSubscribers.filter((function (t) {
- return t.error
- })).forEach((function (e) {
- return e.error(a, n.state, t)
- }))
- } catch (u) {
- 0
- }
- e(t)
- }))
- }))
- }
- }, m.prototype.subscribe = function (t, e) {
- return y(t, this._subscribers, e)
- }, m.prototype.subscribeAction = function (t, e) {
- var n = "function" === typeof t ? {before: t} : t;
- return y(n, this._actionSubscribers, e)
- }, m.prototype.watch = function (t, e, n) {
- var i = this;
- return this._watcherVM.$watch((function () {
- return t(i.state, i.getters)
- }), e, n)
- }, m.prototype.replaceState = function (t) {
- var e = this;
- this._withCommit((function () {
- e._vm._data.$$state = t
- }))
- }, m.prototype.registerModule = function (t, e, n) {
- void 0 === n && (n = {}), "string" === typeof t && (t = [t]), this._modules.register(t, e), k(this, this.state, t, this._modules.get(t), n.preserveState), w(this, this.state)
- }, m.prototype.unregisterModule = function (t) {
- var e = this;
- "string" === typeof t && (t = [t]), this._modules.unregister(t), this._withCommit((function () {
- var n = E(e.state, t.slice(0, -1));
- g.delete(n, t[t.length - 1])
- })), _(this)
- }, m.prototype.hasModule = function (t) {
- return "string" === typeof t && (t = [t]), this._modules.isRegistered(t)
- }, m.prototype[[104, 111, 116, 85, 112, 100, 97, 116, 101].map((function (t) {
- return String.fromCharCode(t)
- })).join("")] = function (t) {
- this._modules.update(t), _(this, !0)
- }, m.prototype._withCommit = function (t) {
- var e = this._committing;
- this._committing = !0, t(), this._committing = e
- }, Object.defineProperties(m.prototype, b);
- var I = B((function (t, e) {
- var n = {};
- return N(e).forEach((function (e) {
- var i = e.key, r = e.val;
- n[i] = function () {
- var e = this.$store.state, n = this.$store.getters;
- if (t) {
- var i = F(this.$store, "mapState", t);
- if (!i) return;
- e = i.context.state, n = i.context.getters
- }
- return "function" === typeof r ? r.call(this, e, n) : e[r]
- }, n[i].vuex = !0
- })), n
- })), $ = B((function (t, e) {
- var n = {};
- return N(e).forEach((function (e) {
- var i = e.key, r = e.val;
- n[i] = function () {
- var e = [], n = arguments.length;
- while (n--) e[n] = arguments[n];
- var i = this.$store.commit;
- if (t) {
- var o = F(this.$store, "mapMutations", t);
- if (!o) return;
- i = o.context.commit
- }
- return "function" === typeof r ? r.apply(this, [i].concat(e)) : i.apply(this.$store, [r].concat(e))
- }
- })), n
- })), P = B((function (t, e) {
- var n = {};
- return N(e).forEach((function (e) {
- var i = e.key, r = e.val;
- r = t + r, n[i] = function () {
- if (!t || F(this.$store, "mapGetters", t)) return this.$store.getters[r]
- }, n[i].vuex = !0
- })), n
- })), L = B((function (t, e) {
- var n = {};
- return N(e).forEach((function (e) {
- var i = e.key, r = e.val;
- n[i] = function () {
- var e = [], n = arguments.length;
- while (n--) e[n] = arguments[n];
- var i = this.$store.dispatch;
- if (t) {
- var o = F(this.$store, "mapActions", t);
- if (!o) return;
- i = o.context.dispatch
- }
- return "function" === typeof r ? r.apply(this, [i].concat(e)) : i.apply(this.$store, [r].concat(e))
- }
- })), n
- })), R = function (t) {
- return {
- mapState: I.bind(null, t),
- mapGetters: P.bind(null, t),
- mapMutations: $.bind(null, t),
- mapActions: L.bind(null, t)
- }
- };
- function N(t) {
- return D(t) ? Array.isArray(t) ? t.map((function (t) {
- return {key: t, val: t}
- })) : Object.keys(t).map((function (e) {
- return {key: e, val: t[e]}
- })) : []
- }
- function D(t) {
- return Array.isArray(t) || u(t)
- }
- function B(t) {
- return function (e, n) {
- return "string" !== typeof e ? (n = e, e = "") : "/" !== e.charAt(e.length - 1) && (e += "/"), t(e, n)
- }
- }
- function F(t, e, n) {
- var i = t._modulesNamespaceMap[n];
- return i
- }
- function z(t) {
- void 0 === t && (t = {});
- var e = t.collapsed;
- void 0 === e && (e = !0);
- var n = t.filter;
- void 0 === n && (n = function (t, e, n) {
- return !0
- });
- var i = t.transformer;
- void 0 === i && (i = function (t) {
- return t
- });
- var r = t.mutationTransformer;
- void 0 === r && (r = function (t) {
- return t
- });
- var o = t.actionFilter;
- void 0 === o && (o = function (t, e) {
- return !0
- });
- var a = t.actionTransformer;
- void 0 === a && (a = function (t) {
- return t
- });
- var c = t.logMutations;
- void 0 === c && (c = !0);
- var u = t.logActions;
- void 0 === u && (u = !0);
- var l = t.logger;
- return void 0 === l && (l = console), function (t) {
- var f = s(t.state);
- "undefined" !== typeof l && (c && t.subscribe((function (t, o) {
- var a = s(o);
- if (n(t, f, a)) {
- var c = H(), u = r(t), d = "mutation " + t.type + c;
- W(l, d, e), l.log("%c prev state", "color: #9E9E9E; font-weight: bold", i(f)), l.log("%c mutation", "color: #03A9F4; font-weight: bold", u), l.log("%c next state", "color: #4CAF50; font-weight: bold", i(a)), q(l)
- }
- f = a
- })), u && t.subscribeAction((function (t, n) {
- if (o(t, n)) {
- var i = H(), r = a(t), s = "action " + t.type + i;
- W(l, s, e), l.log("%c action", "color: #03A9F4; font-weight: bold", r), q(l)
- }
- })))
- }
- }
- function W(t, e, n) {
- var i = n ? t.groupCollapsed : t.group;
- try {
- i.call(t, e)
- } catch (r) {
- t.log(e)
- }
- }
- function q(t) {
- try {
- t.groupEnd()
- } catch (e) {
- t.log("—— log end ——")
- }
- }
- function H() {
- var t = new Date;
- return " @ " + U(t.getHours(), 2) + ":" + U(t.getMinutes(), 2) + ":" + U(t.getSeconds(), 2) + "." + U(t.getMilliseconds(), 3)
- }
- function V(t, e) {
- return new Array(e + 1).join(t)
- }
- function U(t, e) {
- return V("0", e - t.toString().length) + t
- }
- var Y = {
- Store: m,
- install: M,
- version: "3.6.2",
- mapState: I,
- mapMutations: $,
- mapGetters: P,
- mapActions: L,
- createNamespacedHelpers: R,
- createLogger: z
- };
- t.exports = Y
- }).call(this, n("c8ba"))
- }, "26e9": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("e8b5"), o = [].reverse, a = [1, 2];
- i({target: "Array", proto: !0, forced: String(a) === String(a.reverse())}, {
- reverse: function () {
- return r(this) && (this.length = this.length), o.call(this)
- }
- })
- }, 2954: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("4840"), o = n("d039"), a = i.aTypedArray, s = i.aTypedArrayConstructor,
- c = i.exportTypedArrayMethod, u = [].slice, l = o((function () {
- new Int8Array(1).slice()
- }));
- c("slice", (function (t, e) {
- var n = u.call(a(this), t, e), i = r(this, this.constructor), o = 0, c = n.length, l = new (s(i))(c);
- while (c > o) l[o] = n[o++];
- return l
- }), l)
- }, "2b3d": function (t, e, n) {
- "use strict";
- n("3ca3");
- var i, r = n("23e7"), o = n("83ab"), a = n("0d3b"), s = n("da84"), c = n("37e8"), u = n("6eeb"), l = n("19aa"),
- f = n("5135"), d = n("60da"), h = n("4df4"), p = n("6547").codeAt, v = n("5fb2"), g = n("d44e"),
- m = n("9861"), b = n("69f3"), y = s.URL, _ = m.URLSearchParams, w = m.getState, k = b.set,
- S = b.getterFor("URL"), x = Math.floor, C = Math.pow, T = "Invalid authority", O = "Invalid scheme",
- A = "Invalid host", E = "Invalid port", j = /[A-Za-z]/, M = /[\d+-.A-Za-z]/, I = /\d/, $ = /^(0x|0X)/,
- P = /^[0-7]+$/, L = /^\d+$/, R = /^[\dA-Fa-f]+$/, N = /[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,
- D = /[\u0000\u0009\u000A\u000D #/:?@[\\]]/, B = /^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,
- F = /[\u0009\u000A\u000D]/g, z = function (t, e) {
- var n, i, r;
- if ("[" == e.charAt(0)) {
- if ("]" != e.charAt(e.length - 1)) return A;
- if (n = q(e.slice(1, -1)), !n) return A;
- t.host = n
- } else if (J(t)) {
- if (e = v(e), N.test(e)) return A;
- if (n = W(e), null === n) return A;
- t.host = n
- } else {
- if (D.test(e)) return A;
- for (n = "", i = h(e), r = 0; r < i.length; r++) n += Q(i[r], U);
- t.host = n
- }
- }, W = function (t) {
- var e, n, i, r, o, a, s, c = t.split(".");
- if (c.length && "" == c[c.length - 1] && c.pop(), e = c.length, e > 4) return t;
- for (n = [], i = 0; i < e; i++) {
- if (r = c[i], "" == r) return t;
- if (o = 10, r.length > 1 && "0" == r.charAt(0) && (o = $.test(r) ? 16 : 8, r = r.slice(8 == o ? 1 : 2)), "" === r) a = 0; else {
- if (!(10 == o ? L : 8 == o ? P : R).test(r)) return t;
- a = parseInt(r, o)
- }
- n.push(a)
- }
- for (i = 0; i < e; i++) if (a = n[i], i == e - 1) {
- if (a >= C(256, 5 - e)) return null
- } else if (a > 255) return null;
- for (s = n.pop(), i = 0; i < n.length; i++) s += n[i] * C(256, 3 - i);
- return s
- }, q = function (t) {
- var e, n, i, r, o, a, s, c = [0, 0, 0, 0, 0, 0, 0, 0], u = 0, l = null, f = 0, d = function () {
- return t.charAt(f)
- };
- if (":" == d()) {
- if (":" != t.charAt(1)) return;
- f += 2, u++, l = u
- }
- while (d()) {
- if (8 == u) return;
- if (":" != d()) {
- e = n = 0;
- while (n < 4 && R.test(d())) e = 16 * e + parseInt(d(), 16), f++, n++;
- if ("." == d()) {
- if (0 == n) return;
- if (f -= n, u > 6) return;
- i = 0;
- while (d()) {
- if (r = null, i > 0) {
- if (!("." == d() && i < 4)) return;
- f++
- }
- if (!I.test(d())) return;
- while (I.test(d())) {
- if (o = parseInt(d(), 10), null === r) r = o; else {
- if (0 == r) return;
- r = 10 * r + o
- }
- if (r > 255) return;
- f++
- }
- c[u] = 256 * c[u] + r, i++, 2 != i && 4 != i || u++
- }
- if (4 != i) return;
- break
- }
- if (":" == d()) {
- if (f++, !d()) return
- } else if (d()) return;
- c[u++] = e
- } else {
- if (null !== l) return;
- f++, u++, l = u
- }
- }
- if (null !== l) {
- a = u - l, u = 7;
- while (0 != u && a > 0) s = c[u], c[u--] = c[l + a - 1], c[l + --a] = s
- } else if (8 != u) return;
- return c
- }, H = function (t) {
- for (var e = null, n = 1, i = null, r = 0, o = 0; o < 8; o++) 0 !== t[o] ? (r > n && (e = i, n = r), i = null, r = 0) : (null === i && (i = o), ++r);
- return r > n && (e = i, n = r), e
- }, V = function (t) {
- var e, n, i, r;
- if ("number" == typeof t) {
- for (e = [], n = 0; n < 4; n++) e.unshift(t % 256), t = x(t / 256);
- return e.join(".")
- }
- if ("object" == typeof t) {
- for (e = "", i = H(t), n = 0; n < 8; n++) r && 0 === t[n] || (r && (r = !1), i === n ? (e += n ? ":" : "::", r = !0) : (e += t[n].toString(16), n < 7 && (e += ":")));
- return "[" + e + "]"
- }
- return t
- }, U = {}, Y = d({}, U, {" ": 1, '"': 1, "<": 1, ">": 1, "`": 1}),
- X = d({}, Y, {"#": 1, "?": 1, "{": 1, "}": 1}),
- G = d({}, X, {"/": 1, ":": 1, ";": 1, "=": 1, "@": 1, "[": 1, "\\": 1, "]": 1, "^": 1, "|": 1}),
- Q = function (t, e) {
- var n = p(t, 0);
- return n > 32 && n < 127 && !f(e, t) ? t : encodeURIComponent(t)
- }, K = {ftp: 21, file: null, http: 80, https: 443, ws: 80, wss: 443}, J = function (t) {
- return f(K, t.scheme)
- }, Z = function (t) {
- return "" != t.username || "" != t.password
- }, tt = function (t) {
- return !t.host || t.cannotBeABaseURL || "file" == t.scheme
- }, et = function (t, e) {
- var n;
- return 2 == t.length && j.test(t.charAt(0)) && (":" == (n = t.charAt(1)) || !e && "|" == n)
- }, nt = function (t) {
- var e;
- return t.length > 1 && et(t.slice(0, 2)) && (2 == t.length || "/" === (e = t.charAt(2)) || "\\" === e || "?" === e || "#" === e)
- }, it = function (t) {
- var e = t.path, n = e.length;
- !n || "file" == t.scheme && 1 == n && et(e[0], !0) || e.pop()
- }, rt = function (t) {
- return "." === t || "%2e" === t.toLowerCase()
- }, ot = function (t) {
- return t = t.toLowerCase(), ".." === t || "%2e." === t || ".%2e" === t || "%2e%2e" === t
- }, at = {}, st = {}, ct = {}, ut = {}, lt = {}, ft = {}, dt = {}, ht = {}, pt = {}, vt = {}, gt = {}, mt = {},
- bt = {}, yt = {}, _t = {}, wt = {}, kt = {}, St = {}, xt = {}, Ct = {}, Tt = {},
- Ot = function (t, e, n, r) {
- var o, a, s, c, u = n || at, l = 0, d = "", p = !1, v = !1, g = !1;
- n || (t.scheme = "", t.username = "", t.password = "", t.host = null, t.port = null, t.path = [], t.query = null, t.fragment = null, t.cannotBeABaseURL = !1, e = e.replace(B, "")), e = e.replace(F, ""), o = h(e);
- while (l <= o.length) {
- switch (a = o[l], u) {
- case at:
- if (!a || !j.test(a)) {
- if (n) return O;
- u = ct;
- continue
- }
- d += a.toLowerCase(), u = st;
- break;
- case st:
- if (a && (M.test(a) || "+" == a || "-" == a || "." == a)) d += a.toLowerCase(); else {
- if (":" != a) {
- if (n) return O;
- d = "", u = ct, l = 0;
- continue
- }
- if (n && (J(t) != f(K, d) || "file" == d && (Z(t) || null !== t.port) || "file" == t.scheme && !t.host)) return;
- if (t.scheme = d, n) return void (J(t) && K[t.scheme] == t.port && (t.port = null));
- d = "", "file" == t.scheme ? u = yt : J(t) && r && r.scheme == t.scheme ? u = ut : J(t) ? u = ht : "/" == o[l + 1] ? (u = lt, l++) : (t.cannotBeABaseURL = !0, t.path.push(""), u = xt)
- }
- break;
- case ct:
- if (!r || r.cannotBeABaseURL && "#" != a) return O;
- if (r.cannotBeABaseURL && "#" == a) {
- t.scheme = r.scheme, t.path = r.path.slice(), t.query = r.query, t.fragment = "", t.cannotBeABaseURL = !0, u = Tt;
- break
- }
- u = "file" == r.scheme ? yt : ft;
- continue;
- case ut:
- if ("/" != a || "/" != o[l + 1]) {
- u = ft;
- continue
- }
- u = pt, l++;
- break;
- case lt:
- if ("/" == a) {
- u = vt;
- break
- }
- u = St;
- continue;
- case ft:
- if (t.scheme = r.scheme, a == i) t.username = r.username, t.password = r.password, t.host = r.host, t.port = r.port, t.path = r.path.slice(), t.query = r.query; else if ("/" == a || "\\" == a && J(t)) u = dt; else if ("?" == a) t.username = r.username, t.password = r.password, t.host = r.host, t.port = r.port, t.path = r.path.slice(), t.query = "", u = Ct; else {
- if ("#" != a) {
- t.username = r.username, t.password = r.password, t.host = r.host, t.port = r.port, t.path = r.path.slice(), t.path.pop(), u = St;
- continue
- }
- t.username = r.username, t.password = r.password, t.host = r.host, t.port = r.port, t.path = r.path.slice(), t.query = r.query, t.fragment = "", u = Tt
- }
- break;
- case dt:
- if (!J(t) || "/" != a && "\\" != a) {
- if ("/" != a) {
- t.username = r.username, t.password = r.password, t.host = r.host, t.port = r.port, u = St;
- continue
- }
- u = vt
- } else u = pt;
- break;
- case ht:
- if (u = pt, "/" != a || "/" != d.charAt(l + 1)) continue;
- l++;
- break;
- case pt:
- if ("/" != a && "\\" != a) {
- u = vt;
- continue
- }
- break;
- case vt:
- if ("@" == a) {
- p && (d = "%40" + d), p = !0, s = h(d);
- for (var m = 0; m < s.length; m++) {
- var b = s[m];
- if (":" != b || g) {
- var y = Q(b, G);
- g ? t.password += y : t.username += y
- } else g = !0
- }
- d = ""
- } else if (a == i || "/" == a || "?" == a || "#" == a || "\\" == a && J(t)) {
- if (p && "" == d) return T;
- l -= h(d).length + 1, d = "", u = gt
- } else d += a;
- break;
- case gt:
- case mt:
- if (n && "file" == t.scheme) {
- u = wt;
- continue
- }
- if (":" != a || v) {
- if (a == i || "/" == a || "?" == a || "#" == a || "\\" == a && J(t)) {
- if (J(t) && "" == d) return A;
- if (n && "" == d && (Z(t) || null !== t.port)) return;
- if (c = z(t, d), c) return c;
- if (d = "", u = kt, n) return;
- continue
- }
- "[" == a ? v = !0 : "]" == a && (v = !1), d += a
- } else {
- if ("" == d) return A;
- if (c = z(t, d), c) return c;
- if (d = "", u = bt, n == mt) return
- }
- break;
- case bt:
- if (!I.test(a)) {
- if (a == i || "/" == a || "?" == a || "#" == a || "\\" == a && J(t) || n) {
- if ("" != d) {
- var _ = parseInt(d, 10);
- if (_ > 65535) return E;
- t.port = J(t) && _ === K[t.scheme] ? null : _, d = ""
- }
- if (n) return;
- u = kt;
- continue
- }
- return E
- }
- d += a;
- break;
- case yt:
- if (t.scheme = "file", "/" == a || "\\" == a) u = _t; else {
- if (!r || "file" != r.scheme) {
- u = St;
- continue
- }
- if (a == i) t.host = r.host, t.path = r.path.slice(), t.query = r.query; else if ("?" == a) t.host = r.host, t.path = r.path.slice(), t.query = "", u = Ct; else {
- if ("#" != a) {
- nt(o.slice(l).join("")) || (t.host = r.host, t.path = r.path.slice(), it(t)), u = St;
- continue
- }
- t.host = r.host, t.path = r.path.slice(), t.query = r.query, t.fragment = "", u = Tt
- }
- }
- break;
- case _t:
- if ("/" == a || "\\" == a) {
- u = wt;
- break
- }
- r && "file" == r.scheme && !nt(o.slice(l).join("")) && (et(r.path[0], !0) ? t.path.push(r.path[0]) : t.host = r.host), u = St;
- continue;
- case wt:
- if (a == i || "/" == a || "\\" == a || "?" == a || "#" == a) {
- if (!n && et(d)) u = St; else if ("" == d) {
- if (t.host = "", n) return;
- u = kt
- } else {
- if (c = z(t, d), c) return c;
- if ("localhost" == t.host && (t.host = ""), n) return;
- d = "", u = kt
- }
- continue
- }
- d += a;
- break;
- case kt:
- if (J(t)) {
- if (u = St, "/" != a && "\\" != a) continue
- } else if (n || "?" != a) if (n || "#" != a) {
- if (a != i && (u = St, "/" != a)) continue
- } else t.fragment = "", u = Tt; else t.query = "", u = Ct;
- break;
- case St:
- if (a == i || "/" == a || "\\" == a && J(t) || !n && ("?" == a || "#" == a)) {
- if (ot(d) ? (it(t), "/" == a || "\\" == a && J(t) || t.path.push("")) : rt(d) ? "/" == a || "\\" == a && J(t) || t.path.push("") : ("file" == t.scheme && !t.path.length && et(d) && (t.host && (t.host = ""), d = d.charAt(0) + ":"), t.path.push(d)), d = "", "file" == t.scheme && (a == i || "?" == a || "#" == a)) while (t.path.length > 1 && "" === t.path[0]) t.path.shift();
- "?" == a ? (t.query = "", u = Ct) : "#" == a && (t.fragment = "", u = Tt)
- } else d += Q(a, X);
- break;
- case xt:
- "?" == a ? (t.query = "", u = Ct) : "#" == a ? (t.fragment = "", u = Tt) : a != i && (t.path[0] += Q(a, U));
- break;
- case Ct:
- n || "#" != a ? a != i && ("'" == a && J(t) ? t.query += "%27" : t.query += "#" == a ? "%23" : Q(a, U)) : (t.fragment = "", u = Tt);
- break;
- case Tt:
- a != i && (t.fragment += Q(a, Y));
- break
- }
- l++
- }
- }, At = function (t) {
- var e, n, i = l(this, At, "URL"), r = arguments.length > 1 ? arguments[1] : void 0, a = String(t),
- s = k(i, {type: "URL"});
- if (void 0 !== r) if (r instanceof At) e = S(r); else if (n = Ot(e = {}, String(r)), n) throw TypeError(n);
- if (n = Ot(s, a, null, e), n) throw TypeError(n);
- var c = s.searchParams = new _, u = w(c);
- u.updateSearchParams(s.query), u.updateURL = function () {
- s.query = String(c) || null
- }, o || (i.href = jt.call(i), i.origin = Mt.call(i), i.protocol = It.call(i), i.username = $t.call(i), i.password = Pt.call(i), i.host = Lt.call(i), i.hostname = Rt.call(i), i.port = Nt.call(i), i.pathname = Dt.call(i), i.search = Bt.call(i), i.searchParams = Ft.call(i), i.hash = zt.call(i))
- }, Et = At.prototype, jt = function () {
- var t = S(this), e = t.scheme, n = t.username, i = t.password, r = t.host, o = t.port, a = t.path,
- s = t.query, c = t.fragment, u = e + ":";
- return null !== r ? (u += "//", Z(t) && (u += n + (i ? ":" + i : "") + "@"), u += V(r), null !== o && (u += ":" + o)) : "file" == e && (u += "//"), u += t.cannotBeABaseURL ? a[0] : a.length ? "/" + a.join("/") : "", null !== s && (u += "?" + s), null !== c && (u += "#" + c), u
- }, Mt = function () {
- var t = S(this), e = t.scheme, n = t.port;
- if ("blob" == e) try {
- return new URL(e.path[0]).origin
- } catch (i) {
- return "null"
- }
- return "file" != e && J(t) ? e + "://" + V(t.host) + (null !== n ? ":" + n : "") : "null"
- }, It = function () {
- return S(this).scheme + ":"
- }, $t = function () {
- return S(this).username
- }, Pt = function () {
- return S(this).password
- }, Lt = function () {
- var t = S(this), e = t.host, n = t.port;
- return null === e ? "" : null === n ? V(e) : V(e) + ":" + n
- }, Rt = function () {
- var t = S(this).host;
- return null === t ? "" : V(t)
- }, Nt = function () {
- var t = S(this).port;
- return null === t ? "" : String(t)
- }, Dt = function () {
- var t = S(this), e = t.path;
- return t.cannotBeABaseURL ? e[0] : e.length ? "/" + e.join("/") : ""
- }, Bt = function () {
- var t = S(this).query;
- return t ? "?" + t : ""
- }, Ft = function () {
- return S(this).searchParams
- }, zt = function () {
- var t = S(this).fragment;
- return t ? "#" + t : ""
- }, Wt = function (t, e) {
- return {get: t, set: e, configurable: !0, enumerable: !0}
- };
- if (o && c(Et, {
- href: Wt(jt, (function (t) {
- var e = S(this), n = String(t), i = Ot(e, n);
- if (i) throw TypeError(i);
- w(e.searchParams).updateSearchParams(e.query)
- })), origin: Wt(Mt), protocol: Wt(It, (function (t) {
- var e = S(this);
- Ot(e, String(t) + ":", at)
- })), username: Wt($t, (function (t) {
- var e = S(this), n = h(String(t));
- if (!tt(e)) {
- e.username = "";
- for (var i = 0; i < n.length; i++) e.username += Q(n[i], G)
- }
- })), password: Wt(Pt, (function (t) {
- var e = S(this), n = h(String(t));
- if (!tt(e)) {
- e.password = "";
- for (var i = 0; i < n.length; i++) e.password += Q(n[i], G)
- }
- })), host: Wt(Lt, (function (t) {
- var e = S(this);
- e.cannotBeABaseURL || Ot(e, String(t), gt)
- })), hostname: Wt(Rt, (function (t) {
- var e = S(this);
- e.cannotBeABaseURL || Ot(e, String(t), mt)
- })), port: Wt(Nt, (function (t) {
- var e = S(this);
- tt(e) || (t = String(t), "" == t ? e.port = null : Ot(e, t, bt))
- })), pathname: Wt(Dt, (function (t) {
- var e = S(this);
- e.cannotBeABaseURL || (e.path = [], Ot(e, t + "", kt))
- })), search: Wt(Bt, (function (t) {
- var e = S(this);
- t = String(t), "" == t ? e.query = null : ("?" == t.charAt(0) && (t = t.slice(1)), e.query = "", Ot(e, t, Ct)), w(e.searchParams).updateSearchParams(e.query)
- })), searchParams: Wt(Ft), hash: Wt(zt, (function (t) {
- var e = S(this);
- t = String(t), "" != t ? ("#" == t.charAt(0) && (t = t.slice(1)), e.fragment = "", Ot(e, t, Tt)) : e.fragment = null
- }))
- }), u(Et, "toJSON", (function () {
- return jt.call(this)
- }), {enumerable: !0}), u(Et, "toString", (function () {
- return jt.call(this)
- }), {enumerable: !0}), y) {
- var qt = y.createObjectURL, Ht = y.revokeObjectURL;
- qt && u(At, "createObjectURL", (function (t) {
- return qt.apply(y, arguments)
- })), Ht && u(At, "revokeObjectURL", (function (t) {
- return Ht.apply(y, arguments)
- }))
- }
- g(At, "URL"), r({global: !0, forced: !a, sham: !o}, {URL: At})
- }, "2ca0": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("06cf").f, o = n("50c4"), a = n("5a34"), s = n("1d80"), c = n("ab13"), u = n("c430"),
- l = "".startsWith, f = Math.min, d = c("startsWith"), h = !u && !d && !!function () {
- var t = r(String.prototype, "startsWith");
- return t && !t.writable
- }();
- i({target: "String", proto: !0, forced: !h && !d}, {
- startsWith: function (t) {
- var e = String(s(this));
- a(t);
- var n = o(f(arguments.length > 1 ? arguments[1] : void 0, e.length)), i = String(t);
- return l ? l.call(e, i, n) : e.slice(n, n + i.length) === i
- }
- })
- }, "2cf4": function (t, e, n) {
- var i, r, o, a = n("da84"), s = n("d039"), c = n("c6b6"), u = n("0366"), l = n("1be4"), f = n("cc12"),
- d = n("1cdc"), h = a.location, p = a.setImmediate, v = a.clearImmediate, g = a.process,
- m = a.MessageChannel, b = a.Dispatch, y = 0, _ = {}, w = "onreadystatechange", k = function (t) {
- if (_.hasOwnProperty(t)) {
- var e = _[t];
- delete _[t], e()
- }
- }, S = function (t) {
- return function () {
- k(t)
- }
- }, x = function (t) {
- k(t.data)
- }, C = function (t) {
- a.postMessage(t + "", h.protocol + "//" + h.host)
- };
- p && v || (p = function (t) {
- var e = [], n = 1;
- while (arguments.length > n) e.push(arguments[n++]);
- return _[++y] = function () {
- ("function" == typeof t ? t : Function(t)).apply(void 0, e)
- }, i(y), y
- }, v = function (t) {
- delete _[t]
- }, "process" == c(g) ? i = function (t) {
- g.nextTick(S(t))
- } : b && b.now ? i = function (t) {
- b.now(S(t))
- } : m && !d ? (r = new m, o = r.port2, r.port1.onmessage = x, i = u(o.postMessage, o, 1)) : !a.addEventListener || "function" != typeof postMessage || a.importScripts || s(C) || "file:" === h.protocol ? i = w in f("script") ? function (t) {
- l.appendChild(f("script"))[w] = function () {
- l.removeChild(this), k(t)
- }
- } : function (t) {
- setTimeout(S(t), 0)
- } : (i = C, a.addEventListener("message", x, !1))), t.exports = {set: p, clear: v}
- }, "2d00": function (t, e, n) {
- var i, r, o = n("da84"), a = n("342f"), s = o.process, c = s && s.versions, u = c && c.v8;
- u ? (i = u.split("."), r = i[0] + i[1]) : a && (i = a.match(/Edge\/(\d+)/), (!i || i[1] >= 74) && (i = a.match(/Chrome\/(\d+)/), i && (r = i[1]))), t.exports = r && +r
- }, 3280: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("e58c"), o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("lastIndexOf", (function (t) {
- return r.apply(o(this), arguments)
- }))
- }, 3410: function (t, e, n) {
- var i = n("23e7"), r = n("d039"), o = n("7b0b"), a = n("e163"), s = n("e177"), c = r((function () {
- a(1)
- }));
- i({target: "Object", stat: !0, forced: c, sham: !s}, {
- getPrototypeOf: function (t) {
- return a(o(t))
- }
- })
- }, "342f": function (t, e, n) {
- var i = n("d066");
- t.exports = i("navigator", "userAgent") || ""
- }, "35a1": function (t, e, n) {
- var i = n("f5df"), r = n("3f8c"), o = n("b622"), a = o("iterator");
- t.exports = function (t) {
- if (void 0 != t) return t[a] || t["@@iterator"] || r[i(t)]
- }
- }, "37dc": function (t, e, n) {
- "use strict";
- (function (t) {
- var i = n("4ea4");
- n("99af"), n("7db0"), n("4160"), n("c975"), n("a434"), n("b64b"), n("d3b7"), n("e25e"), n("ac1f"), n("5319"), n("1276"), n("498a"), n("159b"), n("ddb0"), Object.defineProperty(e, "__esModule", {value: !0}), e.compileI18nJsonStr = P, e.hasI18nJson = I, e.initVueI18n = E, e.isI18nStr = L, e.normalizeLocale = C, e.parseI18nJson = $, e.resolveLocale = F, e.isString = e.LOCALE_ZH_HANT = e.LOCALE_ZH_HANS = e.LOCALE_FR = e.LOCALE_ES = e.LOCALE_EN = e.I18n = e.Formatter = void 0;
- var r = i(n("3835")), o = i(n("d4ec")), a = i(n("bee2")), s = Array.isArray, c = function (t) {
- return null !== t && "object" === typeof t
- }, u = ["{", "}"], l = function () {
- function t() {
- (0, o.default)(this, t), this._caches = Object.create(null)
- }
- return (0, a.default)(t, [{
- key: "interpolate", value: function (t, e) {
- var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : u;
- if (!e) return [t];
- var i = this._caches[t];
- return i || (i = h(t, n), this._caches[t] = i), p(i, e)
- }
- }]), t
- }();
- e.Formatter = l;
- var f = /^(?:\d)+/, d = /^(?:\w)+/;
- function h(t, e) {
- var n = (0, r.default)(e, 2), i = n[0], o = n[1], a = [], s = 0, c = "";
- while (s < t.length) {
- var u = t[s++];
- if (u === i) {
- c && a.push({type: "text", value: c}), c = "";
- var l = "";
- u = t[s++];
- while (void 0 !== u && u !== o) l += u, u = t[s++];
- var h = u === o, p = f.test(l) ? "list" : h && d.test(l) ? "named" : "unknown";
- a.push({value: l, type: p})
- } else c += u
- }
- return c && a.push({type: "text", value: c}), a
- }
- function p(t, e) {
- var n = [], i = 0, r = s(e) ? "list" : c(e) ? "named" : "unknown";
- if ("unknown" === r) return n;
- while (i < t.length) {
- var o = t[i];
- switch (o.type) {
- case"text":
- n.push(o.value);
- break;
- case"list":
- n.push(e[parseInt(o.value, 10)]);
- break;
- case"named":
- "named" === r && n.push(e[o.value]);
- break;
- case"unknown":
- 0;
- break
- }
- i++
- }
- return n
- }
- var v = "zh-Hans";
- e.LOCALE_ZH_HANS = v;
- var g = "zh-Hant";
- e.LOCALE_ZH_HANT = g;
- var m = "en";
- e.LOCALE_EN = m;
- var b = "fr";
- e.LOCALE_FR = b;
- var y = "es";
- e.LOCALE_ES = y;
- var _ = Object.prototype.hasOwnProperty, w = function (t, e) {
- return _.call(t, e)
- }, k = new l;
- function S(t, e) {
- return !!e.find((function (e) {
- return -1 !== t.indexOf(e)
- }))
- }
- function x(t, e) {
- return e.find((function (e) {
- return 0 === t.indexOf(e)
- }))
- }
- function C(t, e) {
- if (t) {
- if (t = t.trim().replace(/_/g, "-"), e && e[t]) return t;
- if (t = t.toLowerCase(), 0 === t.indexOf("zh")) return t.indexOf("-hans") > -1 ? v : t.indexOf("-hant") > -1 || S(t, ["-tw", "-hk", "-mo", "-cht"]) ? g : v;
- var n = x(t, [m, b, y]);
- return n || void 0
- }
- }
- var T = function () {
- function t(e) {
- var n = e.locale, i = e.fallbackLocale, r = e.messages, a = e.watcher, s = e.formater;
- (0, o.default)(this, t), this.locale = m, this.fallbackLocale = m, this.message = {}, this.messages = {}, this.watchers = [], i && (this.fallbackLocale = i), this.formater = s || k, this.messages = r || {}, this.setLocale(n || m), a && this.watchLocale(a)
- }
- return (0, a.default)(t, [{
- key: "setLocale", value: function (t) {
- var e = this, n = this.locale;
- this.locale = C(t, this.messages) || this.fallbackLocale, this.messages[this.locale] || (this.messages[this.locale] = {}), this.message = this.messages[this.locale], n !== this.locale && this.watchers.forEach((function (t) {
- t(e.locale, n)
- }))
- }
- }, {
- key: "getLocale", value: function () {
- return this.locale
- }
- }, {
- key: "watchLocale", value: function (t) {
- var e = this, n = this.watchers.push(t) - 1;
- return function () {
- e.watchers.splice(n, 1)
- }
- }
- }, {
- key: "add", value: function (t, e) {
- var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2],
- i = this.messages[t];
- i ? n ? Object.assign(i, e) : Object.keys(e).forEach((function (t) {
- w(i, t) || (i[t] = e[t])
- })) : this.messages[t] = e
- }
- }, {
- key: "f", value: function (t, e, n) {
- return this.formater.interpolate(t, e, n).join("")
- }
- }, {
- key: "t", value: function (t, e, n) {
- var i = this.message;
- return "string" === typeof e ? (e = C(e, this.messages), e && (i = this.messages[e])) : n = e, w(i, t) ? this.formater.interpolate(i[t], n).join("") : (console.warn("Cannot translate the value of keypath ".concat(t, ". Use the value of keypath as default.")), t)
- }
- }]), t
- }();
- function O(t, e) {
- t.$watchLocale ? t.$watchLocale((function (t) {
- e.setLocale(t)
- })) : t.$watch((function () {
- return t.$locale
- }), (function (t) {
- e.setLocale(t)
- }))
- }
- function A() {
- return "undefined" !== typeof uni && uni.getLocale ? uni.getLocale() : "undefined" !== typeof t && t.getLocale ? t.getLocale() : m
- }
- function E(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
- n = arguments.length > 2 ? arguments[2] : void 0, i = arguments.length > 3 ? arguments[3] : void 0;
- if ("string" !== typeof t) {
- var r = [e, t];
- t = r[0], e = r[1]
- }
- "string" !== typeof t && (t = A()), "string" !== typeof n && (n = "undefined" !== typeof __uniConfig && __uniConfig.fallbackLocale || m);
- var o = new T({locale: t, fallbackLocale: n, messages: e, watcher: i}), a = function (t, e) {
- if ("function" !== typeof getApp) a = function (t, e) {
- return o.t(t, e)
- }; else {
- var n = !1;
- a = function (t, e) {
- var i = getApp().$vm;
- return i && (i.$locale, n || (n = !0, O(i, o))), o.t(t, e)
- }
- }
- return a(t, e)
- };
- return {
- i18n: o, f: function (t, e, n) {
- return o.f(t, e, n)
- }, t: function (t, e) {
- return a(t, e)
- }, add: function (t, e) {
- var n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2];
- return o.add(t, e, n)
- }, watch: function (t) {
- return o.watchLocale(t)
- }, getLocale: function () {
- return o.getLocale()
- }, setLocale: function (t) {
- return o.setLocale(t)
- }
- }
- }
- e.I18n = T;
- var j, M = function (t) {
- return "string" === typeof t
- };
- function I(t, e) {
- return j || (j = new l), B(t, (function (t, n) {
- var i = t[n];
- return M(i) ? !!L(i, e) || void 0 : I(i, e)
- }))
- }
- function $(t, e, n) {
- return j || (j = new l), B(t, (function (t, i) {
- var r = t[i];
- M(r) ? L(r, n) && (t[i] = R(r, e, n)) : $(r, e, n)
- })), t
- }
- function P(t, e) {
- var n = e.locale, i = e.locales, r = e.delimiters;
- if (!L(t, r)) return t;
- j || (j = new l);
- var o = [];
- Object.keys(i).forEach((function (t) {
- t !== n && o.push({locale: t, values: i[t]})
- })), o.unshift({locale: n, values: i[n]});
- try {
- return JSON.stringify(D(JSON.parse(t), o, r), null, 2)
- } catch (a) {
- }
- return t
- }
- function L(t, e) {
- return t.indexOf(e[0]) > -1
- }
- function R(t, e, n) {
- return j.interpolate(t, e, n).join("")
- }
- function N(t, e, n, i) {
- var r = t[e];
- if (M(r)) {
- if (L(r, i) && (t[e] = R(r, n[0].values, i), n.length > 1)) {
- var o = t[e + "Locales"] = {};
- n.forEach((function (t) {
- o[t.locale] = R(r, t.values, i)
- }))
- }
- } else D(r, n, i)
- }
- function D(t, e, n) {
- return B(t, (function (t, i) {
- N(t, i, e, n)
- })), t
- }
- function B(t, e) {
- if (s(t)) {
- for (var n = 0; n < t.length; n++) if (e(t, n)) return !0
- } else if (c(t)) for (var i in t) if (e(t, i)) return !0;
- return !1
- }
- function F(t) {
- return function (e) {
- return e ? (e = C(e) || e, z(e).find((function (e) {
- return t.indexOf(e) > -1
- }))) : e
- }
- }
- function z(t) {
- var e = [], n = t.split("-");
- while (n.length) e.push(n.join("-")), n.pop();
- return e
- }
- e.isString = M
- }).call(this, n("c8ba"))
- }, "37e8": function (t, e, n) {
- var i = n("83ab"), r = n("9bf2"), o = n("825a"), a = n("df75");
- t.exports = i ? Object.defineProperties : function (t, e) {
- o(t);
- var n, i = a(e), s = i.length, c = 0;
- while (s > c) r.f(t, n = i[c++], e[n]);
- return t
- }
- }, 3835: function (t, e, n) {
- "use strict";
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = c;
- var i = s(n("0d21")), r = s(n("09f0")), o = s(n("06c5")), a = s(n("3d8c"));
- function s(t) {
- return t && t.__esModule ? t : {default: t}
- }
- function c(t, e) {
- return (0, i.default)(t) || (0, r.default)(t, e) || (0, o.default)(t, e) || (0, a.default)()
- }
- }, "3a7b": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").findIndex, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("findIndex", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, "3bbe": function (t, e, n) {
- var i = n("861d");
- t.exports = function (t) {
- if (!i(t) && null !== t) throw TypeError("Can't set " + String(t) + " as a prototype");
- return t
- }
- }, "3ca3": function (t, e, n) {
- "use strict";
- var i = n("6547").charAt, r = n("69f3"), o = n("7dd0"), a = "String Iterator", s = r.set, c = r.getterFor(a);
- o(String, "String", (function (t) {
- s(this, {type: a, string: String(t), index: 0})
- }), (function () {
- var t, e = c(this), n = e.string, r = e.index;
- return r >= n.length ? {value: void 0, done: !0} : (t = i(n, r), e.index += t.length, {value: t, done: !1})
- }))
- }, "3d8c": function (t, e, n) {
- "use strict";
- function i() {
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, "3f8c": function (t, e) {
- t.exports = {}
- }, "3fcc": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").map, o = n("4840"), a = i.aTypedArray, s = i.aTypedArrayConstructor,
- c = i.exportTypedArrayMethod;
- c("map", (function (t) {
- return r(a(this), t, arguments.length > 1 ? arguments[1] : void 0, (function (t, e) {
- return new (s(o(t, t.constructor)))(e)
- }))
- }))
- }, 4160: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("17c2");
- i({target: "Array", proto: !0, forced: [].forEach != r}, {forEach: r})
- }, "428f": function (t, e, n) {
- var i = n("da84");
- t.exports = i
- }, "44ad": function (t, e, n) {
- var i = n("d039"), r = n("c6b6"), o = "".split;
- t.exports = i((function () {
- return !Object("z").propertyIsEnumerable(0)
- })) ? function (t) {
- return "String" == r(t) ? o.call(t, "") : Object(t)
- } : Object
- }, "44d2": function (t, e, n) {
- var i = n("b622"), r = n("7c73"), o = n("9bf2"), a = i("unscopables"), s = Array.prototype;
- void 0 == s[a] && o.f(s, a, {configurable: !0, value: r(null)}), t.exports = function (t) {
- s[a][t] = !0
- }
- }, "44de": function (t, e, n) {
- var i = n("da84");
- t.exports = function (t, e) {
- var n = i.console;
- n && n.error && (1 === arguments.length ? n.error(t) : n.error(t, e))
- }
- }, "44e7": function (t, e, n) {
- var i = n("861d"), r = n("c6b6"), o = n("b622"), a = o("match");
- t.exports = function (t) {
- var e;
- return i(t) && (void 0 !== (e = t[a]) ? !!e : "RegExp" == r(t))
- }
- }, "45fc": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("b727").some, o = n("a640"), a = n("ae40"), s = o("some"), c = a("some");
- i({target: "Array", proto: !0, forced: !s || !c}, {
- some: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, "466d": function (t, e, n) {
- "use strict";
- var i = n("d784"), r = n("825a"), o = n("50c4"), a = n("1d80"), s = n("8aa5"), c = n("14c3");
- i("match", 1, (function (t, e, n) {
- return [function (e) {
- var n = a(this), i = void 0 == e ? void 0 : e[t];
- return void 0 !== i ? i.call(e, n) : new RegExp(e)[t](String(n))
- }, function (t) {
- var i = n(e, t, this);
- if (i.done) return i.value;
- var a = r(t), u = String(this);
- if (!a.global) return c(a, u);
- var l = a.unicode;
- a.lastIndex = 0;
- var f, d = [], h = 0;
- while (null !== (f = c(a, u))) {
- var p = String(f[0]);
- d[h] = p, "" === p && (a.lastIndex = s(u, o(a.lastIndex), l)), h++
- }
- return 0 === h ? null : d
- }]
- }))
- }, 4840: function (t, e, n) {
- var i = n("825a"), r = n("1c0b"), o = n("b622"), a = o("species");
- t.exports = function (t, e) {
- var n, o = i(t).constructor;
- return void 0 === o || void 0 == (n = i(o)[a]) ? e : r(n)
- }
- }, 4930: function (t, e, n) {
- var i = n("d039");
- t.exports = !!Object.getOwnPropertySymbols && !i((function () {
- return !String(Symbol())
- }))
- }, "498a": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("58a8").trim, o = n("c8d2");
- i({target: "String", proto: !0, forced: o("trim")}, {
- trim: function () {
- return r(this)
- }
- })
- }, "4ae1": function (t, e, n) {
- var i = n("23e7"), r = n("d066"), o = n("1c0b"), a = n("825a"), s = n("861d"), c = n("7c73"), u = n("0538"),
- l = n("d039"), f = r("Reflect", "construct"), d = l((function () {
- function t() {
- }
- return !(f((function () {
- }), [], t) instanceof t)
- })), h = !l((function () {
- f((function () {
- }))
- })), p = d || h;
- i({target: "Reflect", stat: !0, forced: p, sham: p}, {
- construct: function (t, e) {
- o(t), a(e);
- var n = arguments.length < 3 ? t : o(arguments[2]);
- if (h && !d) return f(t, e, n);
- if (t == n) {
- switch (e.length) {
- case 0:
- return new t;
- case 1:
- return new t(e[0]);
- case 2:
- return new t(e[0], e[1]);
- case 3:
- return new t(e[0], e[1], e[2]);
- case 4:
- return new t(e[0], e[1], e[2], e[3])
- }
- var i = [null];
- return i.push.apply(i, e), new (u.apply(t, i))
- }
- var r = n.prototype, l = c(s(r) ? r : Object.prototype), p = Function.apply.call(t, l, e);
- return s(p) ? p : l
- }
- })
- }, "4d63": function (t, e, n) {
- var i = n("83ab"), r = n("da84"), o = n("94ca"), a = n("7156"), s = n("9bf2").f, c = n("241c").f, u = n("44e7"),
- l = n("ad6d"), f = n("9f7f"), d = n("6eeb"), h = n("d039"), p = n("69f3").set, v = n("2626"), g = n("b622"),
- m = g("match"), b = r.RegExp, y = b.prototype, _ = /a/g, w = /a/g, k = new b(_) !== _, S = f.UNSUPPORTED_Y,
- x = i && o("RegExp", !k || S || h((function () {
- return w[m] = !1, b(_) != _ || b(w) == w || "/a/i" != b(_, "i")
- })));
- if (x) {
- var C = function (t, e) {
- var n, i = this instanceof C, r = u(t), o = void 0 === e;
- if (!i && r && t.constructor === C && o) return t;
- k ? r && !o && (t = t.source) : t instanceof C && (o && (e = l.call(t)), t = t.source), S && (n = !!e && e.indexOf("y") > -1, n && (e = e.replace(/y/g, "")));
- var s = a(k ? new b(t, e) : b(t, e), i ? this : y, C);
- return S && n && p(s, {sticky: n}), s
- }, T = function (t) {
- t in C || s(C, t, {
- configurable: !0, get: function () {
- return b[t]
- }, set: function (e) {
- b[t] = e
- }
- })
- }, O = c(b), A = 0;
- while (O.length > A) T(O[A++]);
- y.constructor = C, C.prototype = y, d(r, "RegExp", C)
- }
- v("RegExp")
- }, "4d64": function (t, e, n) {
- var i = n("fc6a"), r = n("50c4"), o = n("23cb"), a = function (t) {
- return function (e, n, a) {
- var s, c = i(e), u = r(c.length), l = o(a, u);
- if (t && n != n) {
- while (u > l) if (s = c[l++], s != s) return !0
- } else for (; u > l; l++) if ((t || l in c) && c[l] === n) return t || l || 0;
- return !t && -1
- }
- };
- t.exports = {includes: a(!0), indexOf: a(!1)}
- }, "4d90": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("0ccb").start, o = n("9a0c");
- i({target: "String", proto: !0, forced: o}, {
- padStart: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, "4de4": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("b727").filter, o = n("1dde"), a = n("ae40"), s = o("filter"), c = a("filter");
- i({target: "Array", proto: !0, forced: !s || !c}, {
- filter: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, "4df4": function (t, e, n) {
- "use strict";
- var i = n("0366"), r = n("7b0b"), o = n("9bdd"), a = n("e95a"), s = n("50c4"), c = n("8418"), u = n("35a1");
- t.exports = function (t) {
- var e, n, l, f, d, h, p = r(t), v = "function" == typeof this ? this : Array, g = arguments.length,
- m = g > 1 ? arguments[1] : void 0, b = void 0 !== m, y = u(p), _ = 0;
- if (b && (m = i(m, g > 2 ? arguments[2] : void 0, 2)), void 0 == y || v == Array && a(y)) for (e = s(p.length), n = new v(e); e > _; _++) h = b ? m(p[_], _) : p[_], c(n, _, h); else for (f = y.call(p), d = f.next, n = new v; !(l = d.call(f)).done; _++) h = b ? o(f, m, [l.value, _], !0) : l.value, c(n, _, h);
- return n.length = _, n
- }
- }, "4e82": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("1c0b"), o = n("7b0b"), a = n("d039"), s = n("a640"), c = [], u = c.sort,
- l = a((function () {
- c.sort(void 0)
- })), f = a((function () {
- c.sort(null)
- })), d = s("sort"), h = l || !f || !d;
- i({target: "Array", proto: !0, forced: h}, {
- sort: function (t) {
- return void 0 === t ? u.call(o(this)) : u.call(o(this), r(t))
- }
- })
- }, "4ea4": function (t, e) {
- function n(t) {
- return t && t.__esModule ? t : {default: t}
- }
- t.exports = n
- }, "4f06": function (t, e, n) {
- "use strict";
- function i(t, e) {
- for (var n = [], i = {}, r = 0; r < e.length; r++) {
- var o = e[r], a = o[0], s = o[1], c = o[2], u = o[3],
- l = {id: t + ":" + r, css: s, media: c, sourceMap: u};
- i[a] ? i[a].parts.push(l) : n.push(i[a] = {id: a, parts: [l]})
- }
- return n
- }
- n.r(e), n.d(e, "default", (function () {
- return p
- }));
- var r = "undefined" !== typeof document;
- if ("undefined" !== typeof DEBUG && DEBUG && !r) throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");
- var o = {}, a = r && (document.head || document.getElementsByTagName("head")[0]), s = null, c = 0, u = !1,
- l = function () {
- }, f = null, d = "data-vue-ssr-id",
- h = "undefined" !== typeof navigator && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
- function p(t, e, n, r) {
- u = n, f = r || {};
- var a = i(t, e);
- return v(a), function (e) {
- for (var n = [], r = 0; r < a.length; r++) {
- var s = a[r], c = o[s.id];
- c.refs--, n.push(c)
- }
- e ? (a = i(t, e), v(a)) : a = [];
- for (r = 0; r < n.length; r++) {
- c = n[r];
- if (0 === c.refs) {
- for (var u = 0; u < c.parts.length; u++) c.parts[u]();
- delete o[c.id]
- }
- }
- }
- }
- function v(t) {
- for (var e = 0; e < t.length; e++) {
- var n = t[e], i = o[n.id];
- if (i) {
- i.refs++;
- for (var r = 0; r < i.parts.length; r++) i.parts[r](n.parts[r]);
- for (; r < n.parts.length; r++) i.parts.push(m(n.parts[r]));
- i.parts.length > n.parts.length && (i.parts.length = n.parts.length)
- } else {
- var a = [];
- for (r = 0; r < n.parts.length; r++) a.push(m(n.parts[r]));
- o[n.id] = {id: n.id, refs: 1, parts: a}
- }
- }
- }
- function g() {
- var t = document.createElement("style");
- return t.type = "text/css", a.appendChild(t), t
- }
- function m(t) {
- var e, n, i = document.querySelector("style[" + d + '~="' + t.id + '"]');
- if (i) {
- if (u) return l;
- i.parentNode.removeChild(i)
- }
- if (h) {
- var r = c++;
- i = s || (s = g()), e = y.bind(null, i, r, !1), n = y.bind(null, i, r, !0)
- } else i = g(), e = _.bind(null, i), n = function () {
- i.parentNode.removeChild(i)
- };
- return e(t), function (i) {
- if (i) {
- if (i.css === t.css && i.media === t.media && i.sourceMap === t.sourceMap) return;
- e(t = i)
- } else n()
- }
- }
- var b = function () {
- var t = [];
- return function (e, n) {
- return t[e] = n, t.filter(Boolean).join("\n")
- }
- }();
- function y(t, e, n, i) {
- var r = n ? "" : j(i.css);
- if (t.styleSheet) t.styleSheet.cssText = b(e, r); else {
- var o = document.createTextNode(r), a = t.childNodes;
- a[e] && t.removeChild(a[e]), a.length ? t.insertBefore(o, a[e]) : t.appendChild(o)
- }
- }
- function _(t, e) {
- var n = j(e.css), i = e.media, r = e.sourceMap;
- if (i && t.setAttribute("media", i), f.ssrId && t.setAttribute(d, e.id), r && (n += "\n/*# sourceURL=" + r.sources[0] + " */", n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(r)))) + " */"), t.styleSheet) t.styleSheet.cssText = n; else {
- while (t.firstChild) t.removeChild(t.firstChild);
- t.appendChild(document.createTextNode(n))
- }
- }
- var w = /%\?([+-]?\d+(\.\d+)?)\?%/g, k = /\.\?%PAGE\?%/g, S = /\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,
- x = /uni-page-body\[data-v-[a-z0-9]{8}\]/g, C = /var\(--status-bar-height\)/gi, T = /var\(--window-top\)/gi,
- O = /var\(--window-bottom\)/gi, A = /var\(--window-left\)/gi, E = /var\(--window-right\)/gi;
- function j(t) {
- var e = M();
- if ("undefined" !== typeof uni && !uni.canIUse("css.var")) {
- var n = I();
- t = t.replace(C, "0px").replace(T, n.top + "px").replace(O, n.bottom + "px").replace(A, "0px").replace(E, "0px")
- }
- return t.replace(S, e).replace(k, "").replace(x, "body." + e + " uni-page-body").replace(/\{[\s\S]+?\}|@media.+?\{/g, (function (t) {
- return "undefined" === typeof uni ? t : t.replace(w, (function (t, e) {
- return uni.upx2px(e) + "px"
- }))
- }))
- }
- function M() {
- var t = "function" === typeof getApp && getApp();
- return t && t.$route && t.$route.meta && t.$route.meta.name || ""
- }
- function I() {
- var t = "function" === typeof getApp && getApp();
- return t && t.$route && t.$route.meta && t.$route.meta.name ? {
- top: t.$route.meta.windowTop,
- bottom: t.$route.meta.isTabBar ? 50 : 0
- } : {top: 0, bottom: 0}
- }
- }, "50c4": function (t, e, n) {
- var i = n("a691"), r = Math.min;
- t.exports = function (t) {
- return t > 0 ? r(i(t), 9007199254740991) : 0
- }
- }, 5135: function (t, e) {
- var n = {}.hasOwnProperty;
- t.exports = function (t, e) {
- return n.call(t, e)
- }
- }, 5319: function (t, e, n) {
- "use strict";
- var i = n("d784"), r = n("825a"), o = n("7b0b"), a = n("50c4"), s = n("a691"), c = n("1d80"), u = n("8aa5"),
- l = n("14c3"), f = Math.max, d = Math.min, h = Math.floor, p = /\$([$&'`]|\d\d?|<[^>]*>)/g,
- v = /\$([$&'`]|\d\d?)/g, g = function (t) {
- return void 0 === t ? t : String(t)
- };
- i("replace", 2, (function (t, e, n, i) {
- var m = i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE, b = i.REPLACE_KEEPS_$0, y = m ? "$" : "$0";
- return [function (n, i) {
- var r = c(this), o = void 0 == n ? void 0 : n[t];
- return void 0 !== o ? o.call(n, r, i) : e.call(String(r), n, i)
- }, function (t, i) {
- if (!m && b || "string" === typeof i && -1 === i.indexOf(y)) {
- var o = n(e, t, this, i);
- if (o.done) return o.value
- }
- var c = r(t), h = String(this), p = "function" === typeof i;
- p || (i = String(i));
- var v = c.global;
- if (v) {
- var w = c.unicode;
- c.lastIndex = 0
- }
- var k = [];
- while (1) {
- var S = l(c, h);
- if (null === S) break;
- if (k.push(S), !v) break;
- var x = String(S[0]);
- "" === x && (c.lastIndex = u(h, a(c.lastIndex), w))
- }
- for (var C = "", T = 0, O = 0; O < k.length; O++) {
- S = k[O];
- for (var A = String(S[0]), E = f(d(s(S.index), h.length), 0), j = [], M = 1; M < S.length; M++) j.push(g(S[M]));
- var I = S.groups;
- if (p) {
- var $ = [A].concat(j, E, h);
- void 0 !== I && $.push(I);
- var P = String(i.apply(void 0, $))
- } else P = _(A, h, E, j, I, i);
- E >= T && (C += h.slice(T, E) + P, T = E + A.length)
- }
- return C + h.slice(T)
- }];
- function _(t, n, i, r, a, s) {
- var c = i + t.length, u = r.length, l = v;
- return void 0 !== a && (a = o(a), l = p), e.call(s, l, (function (e, o) {
- var s;
- switch (o.charAt(0)) {
- case"$":
- return "$";
- case"&":
- return t;
- case"`":
- return n.slice(0, i);
- case"'":
- return n.slice(c);
- case"<":
- s = a[o.slice(1, -1)];
- break;
- default:
- var l = +o;
- if (0 === l) return e;
- if (l > u) {
- var f = h(l / 10);
- return 0 === f ? e : f <= u ? void 0 === r[f - 1] ? o.charAt(1) : r[f - 1] + o.charAt(1) : e
- }
- s = r[l - 1]
- }
- return void 0 === s ? "" : s
- }))
- }
- }))
- }, 5530: function (t, e, n) {
- "use strict";
- n("a4d3"), n("4de4"), n("4160"), n("e439"), n("dbb4"), n("b64b"), n("159b"), Object.defineProperty(e, "__esModule", {value: !0}), e.default = a;
- var i = r(n("ade3"));
- function r(t) {
- return t && t.__esModule ? t : {default: t}
- }
- function o(t, e) {
- var n = Object.keys(t);
- if (Object.getOwnPropertySymbols) {
- var i = Object.getOwnPropertySymbols(t);
- e && (i = i.filter((function (e) {
- return Object.getOwnPropertyDescriptor(t, e).enumerable
- }))), n.push.apply(n, i)
- }
- return n
- }
- function a(t) {
- for (var e = 1; e < arguments.length; e++) {
- var n = null != arguments[e] ? arguments[e] : {};
- e % 2 ? o(Object(n), !0).forEach((function (e) {
- (0, i.default)(t, e, n[e])
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach((function (e) {
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e))
- }))
- }
- return t
- }
- }, 5692: function (t, e, n) {
- var i = n("c430"), r = n("c6cd");
- (t.exports = function (t, e) {
- return r[t] || (r[t] = void 0 !== e ? e : {})
- })("versions", []).push({
- version: "3.6.5",
- mode: i ? "pure" : "global",
- copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
- })
- }, "56ef": function (t, e, n) {
- var i = n("d066"), r = n("241c"), o = n("7418"), a = n("825a");
- t.exports = i("Reflect", "ownKeys") || function (t) {
- var e = r.f(a(t)), n = o.f;
- return n ? e.concat(n(t)) : e
- }
- }, 5899: function (t, e) {
- t.exports = "\t\n\v\f\r \u2028\u2029\ufeff"
- }, "58a8": function (t, e, n) {
- var i = n("1d80"), r = n("5899"), o = "[" + r + "]", a = RegExp("^" + o + o + "*"), s = RegExp(o + o + "*$"),
- c = function (t) {
- return function (e) {
- var n = String(i(e));
- return 1 & t && (n = n.replace(a, "")), 2 & t && (n = n.replace(s, "")), n
- }
- };
- t.exports = {start: c(1), end: c(2), trim: c(3)}
- }, "5a34": function (t, e, n) {
- var i = n("44e7");
- t.exports = function (t) {
- if (i(t)) throw TypeError("The method doesn't accept regular expressions");
- return t
- }
- }, "5c6c": function (t, e) {
- t.exports = function (t, e) {
- return {enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e}
- }
- }, "5cc6": function (t, e, n) {
- var i = n("74e8");
- i("Uint8", (function (t) {
- return function (e, n, i) {
- return t(this, e, n, i)
- }
- }))
- }, "5d41": function (t, e, n) {
- var i = n("23e7"), r = n("861d"), o = n("825a"), a = n("5135"), s = n("06cf"), c = n("e163");
- function u(t, e) {
- var n, i, l = arguments.length < 3 ? t : arguments[2];
- return o(t) === l ? t[e] : (n = s.f(t, e)) ? a(n, "value") ? n.value : void 0 === n.get ? void 0 : n.get.call(l) : r(i = c(t)) ? u(i, e, l) : void 0
- }
- i({target: "Reflect", stat: !0}, {get: u})
- }, "5f96": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = i.aTypedArray, o = i.exportTypedArrayMethod, a = [].join;
- o("join", (function (t) {
- return a.apply(r(this), arguments)
- }))
- }, "5fb2": function (t, e, n) {
- "use strict";
- var i = 2147483647, r = 36, o = 1, a = 26, s = 38, c = 700, u = 72, l = 128, f = "-", d = /[^\0-\u007E]/,
- h = /[.\u3002\uFF0E\uFF61]/g, p = "Overflow: input needs wider integers to process", v = r - o,
- g = Math.floor, m = String.fromCharCode, b = function (t) {
- var e = [], n = 0, i = t.length;
- while (n < i) {
- var r = t.charCodeAt(n++);
- if (r >= 55296 && r <= 56319 && n < i) {
- var o = t.charCodeAt(n++);
- 56320 == (64512 & o) ? e.push(((1023 & r) << 10) + (1023 & o) + 65536) : (e.push(r), n--)
- } else e.push(r)
- }
- return e
- }, y = function (t) {
- return t + 22 + 75 * (t < 26)
- }, _ = function (t, e, n) {
- var i = 0;
- for (t = n ? g(t / c) : t >> 1, t += g(t / e); t > v * a >> 1; i += r) t = g(t / v);
- return g(i + (v + 1) * t / (t + s))
- }, w = function (t) {
- var e = [];
- t = b(t);
- var n, s, c = t.length, d = l, h = 0, v = u;
- for (n = 0; n < t.length; n++) s = t[n], s < 128 && e.push(m(s));
- var w = e.length, k = w;
- w && e.push(f);
- while (k < c) {
- var S = i;
- for (n = 0; n < t.length; n++) s = t[n], s >= d && s < S && (S = s);
- var x = k + 1;
- if (S - d > g((i - h) / x)) throw RangeError(p);
- for (h += (S - d) * x, d = S, n = 0; n < t.length; n++) {
- if (s = t[n], s < d && ++h > i) throw RangeError(p);
- if (s == d) {
- for (var C = h, T = r; ; T += r) {
- var O = T <= v ? o : T >= v + a ? a : T - v;
- if (C < O) break;
- var A = C - O, E = r - O;
- e.push(m(y(O + A % E))), C = g(A / E)
- }
- e.push(m(y(C))), v = _(h, x, k == w), h = 0, ++k
- }
- }
- ++h, ++d
- }
- return e.join("")
- };
- t.exports = function (t) {
- var e, n, i = [], r = t.toLowerCase().replace(h, ".").split(".");
- for (e = 0; e < r.length; e++) n = r[e], i.push(d.test(n) ? "xn--" + w(n) : n);
- return i.join(".")
- }
- }, "60bd": function (t, e, n) {
- "use strict";
- var i = n("da84"), r = n("ebb5"), o = n("e260"), a = n("b622"), s = a("iterator"), c = i.Uint8Array,
- u = o.values, l = o.keys, f = o.entries, d = r.aTypedArray, h = r.exportTypedArrayMethod,
- p = c && c.prototype[s], v = !!p && ("values" == p.name || void 0 == p.name), g = function () {
- return u.call(d(this))
- };
- h("entries", (function () {
- return f.call(d(this))
- })), h("keys", (function () {
- return l.call(d(this))
- })), h("values", g, !v), h(s, g, !v)
- }, "60da": function (t, e, n) {
- "use strict";
- var i = n("83ab"), r = n("d039"), o = n("df75"), a = n("7418"), s = n("d1e7"), c = n("7b0b"), u = n("44ad"),
- l = Object.assign, f = Object.defineProperty;
- t.exports = !l || r((function () {
- if (i && 1 !== l({b: 1}, l(f({}, "a", {
- enumerable: !0, get: function () {
- f(this, "b", {value: 3, enumerable: !1})
- }
- }), {b: 2})).b) return !0;
- var t = {}, e = {}, n = Symbol(), r = "abcdefghijklmnopqrst";
- return t[n] = 7, r.split("").forEach((function (t) {
- e[t] = t
- })), 7 != l({}, t)[n] || o(l({}, e)).join("") != r
- })) ? function (t, e) {
- var n = c(t), r = arguments.length, l = 1, f = a.f, d = s.f;
- while (r > l) {
- var h, p = u(arguments[l++]), v = f ? o(p).concat(f(p)) : o(p), g = v.length, m = 0;
- while (g > m) h = v[m++], i && !d.call(p, h) || (n[h] = p[h])
- }
- return n
- } : l
- }, "621a": function (t, e, n) {
- "use strict";
- var i = n("da84"), r = n("83ab"), o = n("a981"), a = n("9112"), s = n("e2cc"), c = n("d039"), u = n("19aa"),
- l = n("a691"), f = n("50c4"), d = n("0b25"), h = n("77a7"), p = n("e163"), v = n("d2bb"), g = n("241c").f,
- m = n("9bf2").f, b = n("81d5"), y = n("d44e"), _ = n("69f3"), w = _.get, k = _.set, S = "ArrayBuffer",
- x = "DataView", C = "prototype", T = "Wrong length", O = "Wrong index", A = i[S], E = A, j = i[x],
- M = j && j[C], I = Object.prototype, $ = i.RangeError, P = h.pack, L = h.unpack, R = function (t) {
- return [255 & t]
- }, N = function (t) {
- return [255 & t, t >> 8 & 255]
- }, D = function (t) {
- return [255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255]
- }, B = function (t) {
- return t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0]
- }, F = function (t) {
- return P(t, 23, 4)
- }, z = function (t) {
- return P(t, 52, 8)
- }, W = function (t, e) {
- m(t[C], e, {
- get: function () {
- return w(this)[e]
- }
- })
- }, q = function (t, e, n, i) {
- var r = d(n), o = w(t);
- if (r + e > o.byteLength) throw $(O);
- var a = w(o.buffer).bytes, s = r + o.byteOffset, c = a.slice(s, s + e);
- return i ? c : c.reverse()
- }, H = function (t, e, n, i, r, o) {
- var a = d(n), s = w(t);
- if (a + e > s.byteLength) throw $(O);
- for (var c = w(s.buffer).bytes, u = a + s.byteOffset, l = i(+r), f = 0; f < e; f++) c[u + f] = l[o ? f : e - f - 1]
- };
- if (o) {
- if (!c((function () {
- A(1)
- })) || !c((function () {
- new A(-1)
- })) || c((function () {
- return new A, new A(1.5), new A(NaN), A.name != S
- }))) {
- E = function (t) {
- return u(this, E), new A(d(t))
- };
- for (var V, U = E[C] = A[C], Y = g(A), X = 0; Y.length > X;) (V = Y[X++]) in E || a(E, V, A[V]);
- U.constructor = E
- }
- v && p(M) !== I && v(M, I);
- var G = new j(new E(2)), Q = M.setInt8;
- G.setInt8(0, 2147483648), G.setInt8(1, 2147483649), !G.getInt8(0) && G.getInt8(1) || s(M, {
- setInt8: function (t, e) {
- Q.call(this, t, e << 24 >> 24)
- }, setUint8: function (t, e) {
- Q.call(this, t, e << 24 >> 24)
- }
- }, {unsafe: !0})
- } else E = function (t) {
- u(this, E, S);
- var e = d(t);
- k(this, {bytes: b.call(new Array(e), 0), byteLength: e}), r || (this.byteLength = e)
- }, j = function (t, e, n) {
- u(this, j, x), u(t, E, x);
- var i = w(t).byteLength, o = l(e);
- if (o < 0 || o > i) throw $("Wrong offset");
- if (n = void 0 === n ? i - o : f(n), o + n > i) throw $(T);
- k(this, {
- buffer: t,
- byteLength: n,
- byteOffset: o
- }), r || (this.buffer = t, this.byteLength = n, this.byteOffset = o)
- }, r && (W(E, "byteLength"), W(j, "buffer"), W(j, "byteLength"), W(j, "byteOffset")), s(j[C], {
- getInt8: function (t) {
- return q(this, 1, t)[0] << 24 >> 24
- }, getUint8: function (t) {
- return q(this, 1, t)[0]
- }, getInt16: function (t) {
- var e = q(this, 2, t, arguments.length > 1 ? arguments[1] : void 0);
- return (e[1] << 8 | e[0]) << 16 >> 16
- }, getUint16: function (t) {
- var e = q(this, 2, t, arguments.length > 1 ? arguments[1] : void 0);
- return e[1] << 8 | e[0]
- }, getInt32: function (t) {
- return B(q(this, 4, t, arguments.length > 1 ? arguments[1] : void 0))
- }, getUint32: function (t) {
- return B(q(this, 4, t, arguments.length > 1 ? arguments[1] : void 0)) >>> 0
- }, getFloat32: function (t) {
- return L(q(this, 4, t, arguments.length > 1 ? arguments[1] : void 0), 23)
- }, getFloat64: function (t) {
- return L(q(this, 8, t, arguments.length > 1 ? arguments[1] : void 0), 52)
- }, setInt8: function (t, e) {
- H(this, 1, t, R, e)
- }, setUint8: function (t, e) {
- H(this, 1, t, R, e)
- }, setInt16: function (t, e) {
- H(this, 2, t, N, e, arguments.length > 2 ? arguments[2] : void 0)
- }, setUint16: function (t, e) {
- H(this, 2, t, N, e, arguments.length > 2 ? arguments[2] : void 0)
- }, setInt32: function (t, e) {
- H(this, 4, t, D, e, arguments.length > 2 ? arguments[2] : void 0)
- }, setUint32: function (t, e) {
- H(this, 4, t, D, e, arguments.length > 2 ? arguments[2] : void 0)
- }, setFloat32: function (t, e) {
- H(this, 4, t, F, e, arguments.length > 2 ? arguments[2] : void 0)
- }, setFloat64: function (t, e) {
- H(this, 8, t, z, e, arguments.length > 2 ? arguments[2] : void 0)
- }
- });
- y(E, S), y(j, x), t.exports = {ArrayBuffer: E, DataView: j}
- }, "649e": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").some, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("some", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, 6547: function (t, e, n) {
- var i = n("a691"), r = n("1d80"), o = function (t) {
- return function (e, n) {
- var o, a, s = String(r(e)), c = i(n), u = s.length;
- return c < 0 || c >= u ? t ? "" : void 0 : (o = s.charCodeAt(c), o < 55296 || o > 56319 || c + 1 === u || (a = s.charCodeAt(c + 1)) < 56320 || a > 57343 ? t ? s.charAt(c) : o : t ? s.slice(c, c + 2) : a - 56320 + (o - 55296 << 10) + 65536)
- }
- };
- t.exports = {codeAt: o(!1), charAt: o(!0)}
- }, "65f0": function (t, e, n) {
- var i = n("861d"), r = n("e8b5"), o = n("b622"), a = o("species");
- t.exports = function (t, e) {
- var n;
- return r(t) && (n = t.constructor, "function" != typeof n || n !== Array && !r(n.prototype) ? i(n) && (n = n[a], null === n && (n = void 0)) : n = void 0), new (void 0 === n ? Array : n)(0 === e ? 0 : e)
- }
- }, "69f3": function (t, e, n) {
- var i, r, o, a = n("7f9a"), s = n("da84"), c = n("861d"), u = n("9112"), l = n("5135"), f = n("f772"),
- d = n("d012"), h = s.WeakMap, p = function (t) {
- return o(t) ? r(t) : i(t, {})
- }, v = function (t) {
- return function (e) {
- var n;
- if (!c(e) || (n = r(e)).type !== t) throw TypeError("Incompatible receiver, " + t + " required");
- return n
- }
- };
- if (a) {
- var g = new h, m = g.get, b = g.has, y = g.set;
- i = function (t, e) {
- return y.call(g, t, e), e
- }, r = function (t) {
- return m.call(g, t) || {}
- }, o = function (t) {
- return b.call(g, t)
- }
- } else {
- var _ = f("state");
- d[_] = !0, i = function (t, e) {
- return u(t, _, e), e
- }, r = function (t) {
- return l(t, _) ? t[_] : {}
- }, o = function (t) {
- return l(t, _)
- }
- }
- t.exports = {set: i, get: r, has: o, enforce: p, getterFor: v}
- }, "6b75": function (t, e, n) {
- "use strict";
- function i(t, e) {
- (null == e || e > t.length) && (e = t.length);
- for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];
- return i
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, "6d61": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("da84"), o = n("94ca"), a = n("6eeb"), s = n("f183"), c = n("2266"), u = n("19aa"),
- l = n("861d"), f = n("d039"), d = n("1c7e"), h = n("d44e"), p = n("7156");
- t.exports = function (t, e, n) {
- var v = -1 !== t.indexOf("Map"), g = -1 !== t.indexOf("Weak"), m = v ? "set" : "add", b = r[t],
- y = b && b.prototype, _ = b, w = {}, k = function (t) {
- var e = y[t];
- a(y, t, "add" == t ? function (t) {
- return e.call(this, 0 === t ? 0 : t), this
- } : "delete" == t ? function (t) {
- return !(g && !l(t)) && e.call(this, 0 === t ? 0 : t)
- } : "get" == t ? function (t) {
- return g && !l(t) ? void 0 : e.call(this, 0 === t ? 0 : t)
- } : "has" == t ? function (t) {
- return !(g && !l(t)) && e.call(this, 0 === t ? 0 : t)
- } : function (t, n) {
- return e.call(this, 0 === t ? 0 : t, n), this
- })
- };
- if (o(t, "function" != typeof b || !(g || y.forEach && !f((function () {
- (new b).entries().next()
- }))))) _ = n.getConstructor(e, t, v, m), s.REQUIRED = !0; else if (o(t, !0)) {
- var S = new _, x = S[m](g ? {} : -0, 1) != S, C = f((function () {
- S.has(1)
- })), T = d((function (t) {
- new b(t)
- })), O = !g && f((function () {
- var t = new b, e = 5;
- while (e--) t[m](e, e);
- return !t.has(-0)
- }));
- T || (_ = e((function (e, n) {
- u(e, _, t);
- var i = p(new b, e, _);
- return void 0 != n && c(n, i[m], i, v), i
- })), _.prototype = y, y.constructor = _), (C || O) && (k("delete"), k("has"), v && k("get")), (O || x) && k(m), g && y.clear && delete y.clear
- }
- return w[t] = _, i({global: !0, forced: _ != b}, w), h(_, t), g || n.setStrong(_, t, v), _
- }
- }, "6eeb": function (t, e, n) {
- var i = n("da84"), r = n("9112"), o = n("5135"), a = n("ce4e"), s = n("8925"), c = n("69f3"), u = c.get,
- l = c.enforce, f = String(String).split("String");
- (t.exports = function (t, e, n, s) {
- var c = !!s && !!s.unsafe, u = !!s && !!s.enumerable, d = !!s && !!s.noTargetGet;
- "function" == typeof n && ("string" != typeof e || o(n, "name") || r(n, "name", e), l(n).source = f.join("string" == typeof e ? e : "")), t !== i ? (c ? !d && t[e] && (u = !0) : delete t[e], u ? t[e] = n : r(t, e, n)) : u ? t[e] = n : a(e, n)
- })(Function.prototype, "toString", (function () {
- return "function" == typeof this && u(this).source || s(this)
- }))
- }, "6f53": function (t, e, n) {
- var i = n("83ab"), r = n("df75"), o = n("fc6a"), a = n("d1e7").f, s = function (t) {
- return function (e) {
- var n, s = o(e), c = r(s), u = c.length, l = 0, f = [];
- while (u > l) n = c[l++], i && !a.call(s, n) || f.push(t ? [n, s[n]] : s[n]);
- return f
- }
- };
- t.exports = {entries: s(!0), values: s(!1)}
- }, 7037: function (t, e, n) {
- function i(e) {
- return "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? t.exports = i = function (t) {
- return typeof t
- } : t.exports = i = function (t) {
- return t && "function" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
- }, i(e)
- }
- n("a4d3"), n("e01a"), n("d28b"), n("d3b7"), n("3ca3"), n("ddb0"), t.exports = i
- }, 7156: function (t, e, n) {
- var i = n("861d"), r = n("d2bb");
- t.exports = function (t, e, n) {
- var o, a;
- return r && "function" == typeof (o = e.constructor) && o !== n && i(a = o.prototype) && a !== n.prototype && r(t, a), t
- }
- }, "72f7": function (t, e, n) {
- "use strict";
- var i = n("ebb5").exportTypedArrayMethod, r = n("d039"), o = n("da84"), a = o.Uint8Array,
- s = a && a.prototype || {}, c = [].toString, u = [].join;
- r((function () {
- c.call({})
- })) && (c = function () {
- return u.call(this)
- });
- var l = s.toString != c;
- i("toString", c, l)
- }, "735e": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("81d5"), o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("fill", (function (t) {
- return r.apply(o(this), arguments)
- }))
- }, 7418: function (t, e) {
- e.f = Object.getOwnPropertySymbols
- }, "746f": function (t, e, n) {
- var i = n("428f"), r = n("5135"), o = n("e538"), a = n("9bf2").f;
- t.exports = function (t) {
- var e = i.Symbol || (i.Symbol = {});
- r(e, t) || a(e, t, {value: o.f(t)})
- }
- }, "74e8": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("da84"), o = n("83ab"), a = n("8aa7"), s = n("ebb5"), c = n("621a"), u = n("19aa"),
- l = n("5c6c"), f = n("9112"), d = n("50c4"), h = n("0b25"), p = n("182d"), v = n("c04e"), g = n("5135"),
- m = n("f5df"), b = n("861d"), y = n("7c73"), _ = n("d2bb"), w = n("241c").f, k = n("a078"),
- S = n("b727").forEach, x = n("2626"), C = n("9bf2"), T = n("06cf"), O = n("69f3"), A = n("7156"), E = O.get,
- j = O.set, M = C.f, I = T.f, $ = Math.round, P = r.RangeError, L = c.ArrayBuffer, R = c.DataView,
- N = s.NATIVE_ARRAY_BUFFER_VIEWS, D = s.TYPED_ARRAY_TAG, B = s.TypedArray, F = s.TypedArrayPrototype,
- z = s.aTypedArrayConstructor, W = s.isTypedArray, q = "BYTES_PER_ELEMENT", H = "Wrong length",
- V = function (t, e) {
- var n = 0, i = e.length, r = new (z(t))(i);
- while (i > n) r[n] = e[n++];
- return r
- }, U = function (t, e) {
- M(t, e, {
- get: function () {
- return E(this)[e]
- }
- })
- }, Y = function (t) {
- var e;
- return t instanceof L || "ArrayBuffer" == (e = m(t)) || "SharedArrayBuffer" == e
- }, X = function (t, e) {
- return W(t) && "symbol" != typeof e && e in t && String(+e) == String(e)
- }, G = function (t, e) {
- return X(t, e = v(e, !0)) ? l(2, t[e]) : I(t, e)
- }, Q = function (t, e, n) {
- return !(X(t, e = v(e, !0)) && b(n) && g(n, "value")) || g(n, "get") || g(n, "set") || n.configurable || g(n, "writable") && !n.writable || g(n, "enumerable") && !n.enumerable ? M(t, e, n) : (t[e] = n.value, t)
- };
- o ? (N || (T.f = G, C.f = Q, U(F, "buffer"), U(F, "byteOffset"), U(F, "byteLength"), U(F, "length")), i({
- target: "Object",
- stat: !0,
- forced: !N
- }, {getOwnPropertyDescriptor: G, defineProperty: Q}), t.exports = function (t, e, n) {
- var o = t.match(/\d+$/)[0] / 8, s = t + (n ? "Clamped" : "") + "Array", c = "get" + t, l = "set" + t,
- v = r[s], g = v, m = g && g.prototype, C = {}, T = function (t, e) {
- var n = E(t);
- return n.view[c](e * o + n.byteOffset, !0)
- }, O = function (t, e, i) {
- var r = E(t);
- n && (i = (i = $(i)) < 0 ? 0 : i > 255 ? 255 : 255 & i), r.view[l](e * o + r.byteOffset, i, !0)
- }, I = function (t, e) {
- M(t, e, {
- get: function () {
- return T(this, e)
- }, set: function (t) {
- return O(this, e, t)
- }, enumerable: !0
- })
- };
- N ? a && (g = e((function (t, e, n, i) {
- return u(t, g, s), A(function () {
- return b(e) ? Y(e) ? void 0 !== i ? new v(e, p(n, o), i) : void 0 !== n ? new v(e, p(n, o)) : new v(e) : W(e) ? V(g, e) : k.call(g, e) : new v(h(e))
- }(), t, g)
- })), _ && _(g, B), S(w(v), (function (t) {
- t in g || f(g, t, v[t])
- })), g.prototype = m) : (g = e((function (t, e, n, i) {
- u(t, g, s);
- var r, a, c, l = 0, f = 0;
- if (b(e)) {
- if (!Y(e)) return W(e) ? V(g, e) : k.call(g, e);
- r = e, f = p(n, o);
- var v = e.byteLength;
- if (void 0 === i) {
- if (v % o) throw P(H);
- if (a = v - f, a < 0) throw P(H)
- } else if (a = d(i) * o, a + f > v) throw P(H);
- c = a / o
- } else c = h(e), a = c * o, r = new L(a);
- j(t, {buffer: r, byteOffset: f, byteLength: a, length: c, view: new R(r)});
- while (l < c) I(t, l++)
- })), _ && _(g, B), m = g.prototype = y(F)), m.constructor !== g && f(m, "constructor", g), D && f(m, D, s), C[s] = g, i({
- global: !0,
- forced: g != v,
- sham: !N
- }, C), q in g || f(g, q, o), q in m || f(m, q, o), x(s)
- }) : t.exports = function () {
- }
- }, "77a7": function (t, e) {
- var n = 1 / 0, i = Math.abs, r = Math.pow, o = Math.floor, a = Math.log, s = Math.LN2, c = function (t, e, c) {
- var u, l, f, d = new Array(c), h = 8 * c - e - 1, p = (1 << h) - 1, v = p >> 1,
- g = 23 === e ? r(2, -24) - r(2, -77) : 0, m = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0, b = 0;
- for (t = i(t), t != t || t === n ? (l = t != t ? 1 : 0, u = p) : (u = o(a(t) / s), t * (f = r(2, -u)) < 1 && (u--, f *= 2), t += u + v >= 1 ? g / f : g * r(2, 1 - v), t * f >= 2 && (u++, f /= 2), u + v >= p ? (l = 0, u = p) : u + v >= 1 ? (l = (t * f - 1) * r(2, e), u += v) : (l = t * r(2, v - 1) * r(2, e), u = 0)); e >= 8; d[b++] = 255 & l, l /= 256, e -= 8) ;
- for (u = u << e | l, h += e; h > 0; d[b++] = 255 & u, u /= 256, h -= 8) ;
- return d[--b] |= 128 * m, d
- }, u = function (t, e) {
- var i, o = t.length, a = 8 * o - e - 1, s = (1 << a) - 1, c = s >> 1, u = a - 7, l = o - 1, f = t[l--],
- d = 127 & f;
- for (f >>= 7; u > 0; d = 256 * d + t[l], l--, u -= 8) ;
- for (i = d & (1 << -u) - 1, d >>= -u, u += e; u > 0; i = 256 * i + t[l], l--, u -= 8) ;
- if (0 === d) d = 1 - c; else {
- if (d === s) return i ? NaN : f ? -n : n;
- i += r(2, e), d -= c
- }
- return (f ? -1 : 1) * i * r(2, d - e)
- };
- t.exports = {pack: c, unpack: u}
- }, 7839: function (t, e) {
- t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]
- }, "7b0b": function (t, e, n) {
- var i = n("1d80");
- t.exports = function (t) {
- return Object(i(t))
- }
- }, "7c73": function (t, e, n) {
- var i, r = n("825a"), o = n("37e8"), a = n("7839"), s = n("d012"), c = n("1be4"), u = n("cc12"), l = n("f772"),
- f = ">", d = "<", h = "prototype", p = "script", v = l("IE_PROTO"), g = function () {
- }, m = function (t) {
- return d + p + f + t + d + "/" + p + f
- }, b = function (t) {
- t.write(m("")), t.close();
- var e = t.parentWindow.Object;
- return t = null, e
- }, y = function () {
- var t, e = u("iframe"), n = "java" + p + ":";
- return e.style.display = "none", c.appendChild(e), e.src = String(n), t = e.contentWindow.document, t.open(), t.write(m("document.F=Object")), t.close(), t.F
- }, _ = function () {
- try {
- i = document.domain && new ActiveXObject("htmlfile")
- } catch (e) {
- }
- _ = i ? b(i) : y();
- var t = a.length;
- while (t--) delete _[h][a[t]];
- return _()
- };
- s[v] = !0, t.exports = Object.create || function (t, e) {
- var n;
- return null !== t ? (g[h] = r(t), n = new g, g[h] = null, n[v] = t) : n = _(), void 0 === e ? n : o(n, e)
- }
- }, "7db0": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("b727").find, o = n("44d2"), a = n("ae40"), s = "find", c = !0, u = a(s);
- s in [] && Array(1)[s]((function () {
- c = !1
- })), i({target: "Array", proto: !0, forced: c || !u}, {
- find: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- }), o(s)
- }, "7dd0": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("9ed3"), o = n("e163"), a = n("d2bb"), s = n("d44e"), c = n("9112"), u = n("6eeb"),
- l = n("b622"), f = n("c430"), d = n("3f8c"), h = n("ae93"), p = h.IteratorPrototype,
- v = h.BUGGY_SAFARI_ITERATORS, g = l("iterator"), m = "keys", b = "values", y = "entries", _ = function () {
- return this
- };
- t.exports = function (t, e, n, l, h, w, k) {
- r(n, e, l);
- var S, x, C, T = function (t) {
- if (t === h && M) return M;
- if (!v && t in E) return E[t];
- switch (t) {
- case m:
- return function () {
- return new n(this, t)
- };
- case b:
- return function () {
- return new n(this, t)
- };
- case y:
- return function () {
- return new n(this, t)
- }
- }
- return function () {
- return new n(this)
- }
- }, O = e + " Iterator", A = !1, E = t.prototype, j = E[g] || E["@@iterator"] || h && E[h],
- M = !v && j || T(h), I = "Array" == e && E.entries || j;
- if (I && (S = o(I.call(new t)), p !== Object.prototype && S.next && (f || o(S) === p || (a ? a(S, p) : "function" != typeof S[g] && c(S, g, _)), s(S, O, !0, !0), f && (d[O] = _))), h == b && j && j.name !== b && (A = !0, M = function () {
- return j.call(this)
- }), f && !k || E[g] === M || c(E, g, M), d[e] = M, h) if (x = {
- values: T(b),
- keys: w ? M : T(m),
- entries: T(y)
- }, k) for (C in x) (v || A || !(C in E)) && u(E, C, x[C]); else i({
- target: e,
- proto: !0,
- forced: v || A
- }, x);
- return x
- }
- }, "7e12": function (t, e, n) {
- var i = n("da84"), r = n("58a8").trim, o = n("5899"), a = i.parseFloat, s = 1 / a(o + "-0") !== -1 / 0;
- t.exports = s ? function (t) {
- var e = r(String(t)), n = a(e);
- return 0 === n && "-" == e.charAt(0) ? -0 : n
- } : a
- }, "7f9a": function (t, e, n) {
- var i = n("da84"), r = n("8925"), o = i.WeakMap;
- t.exports = "function" === typeof o && /native code/.test(r(o))
- }, "81d5": function (t, e, n) {
- "use strict";
- var i = n("7b0b"), r = n("23cb"), o = n("50c4");
- t.exports = function (t) {
- var e = i(this), n = o(e.length), a = arguments.length, s = r(a > 1 ? arguments[1] : void 0, n),
- c = a > 2 ? arguments[2] : void 0, u = void 0 === c ? n : r(c, n);
- while (u > s) e[s++] = t;
- return e
- }
- }, "825a": function (t, e, n) {
- var i = n("861d");
- t.exports = function (t) {
- if (!i(t)) throw TypeError(String(t) + " is not an object");
- return t
- }
- }, "82f8": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("4d64").includes, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("includes", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, "83ab": function (t, e, n) {
- var i = n("d039");
- t.exports = !i((function () {
- return 7 != Object.defineProperty({}, 1, {
- get: function () {
- return 7
- }
- })[1]
- }))
- }, 8418: function (t, e, n) {
- "use strict";
- var i = n("c04e"), r = n("9bf2"), o = n("5c6c");
- t.exports = function (t, e, n) {
- var a = i(e);
- a in t ? r.f(t, a, o(0, n)) : t[a] = n
- }
- }, "841c": function (t, e, n) {
- "use strict";
- var i = n("d784"), r = n("825a"), o = n("1d80"), a = n("129f"), s = n("14c3");
- i("search", 1, (function (t, e, n) {
- return [function (e) {
- var n = o(this), i = void 0 == e ? void 0 : e[t];
- return void 0 !== i ? i.call(e, n) : new RegExp(e)[t](String(n))
- }, function (t) {
- var i = n(e, t, this);
- if (i.done) return i.value;
- var o = r(t), c = String(this), u = o.lastIndex;
- a(u, 0) || (o.lastIndex = 0);
- var l = s(o, c);
- return a(o.lastIndex, u) || (o.lastIndex = u), null === l ? -1 : l.index
- }]
- }))
- }, "861d": function (t, e) {
- t.exports = function (t) {
- return "object" === typeof t ? null !== t : "function" === typeof t
- }
- }, 8925: function (t, e, n) {
- var i = n("c6cd"), r = Function.toString;
- "function" != typeof i.inspectSource && (i.inspectSource = function (t) {
- return r.call(t)
- }), t.exports = i.inspectSource
- }, "8a59": function (t, e, n) {
- var i = n("74e8");
- i("Uint8", (function (t) {
- return function (e, n, i) {
- return t(this, e, n, i)
- }
- }), !0)
- }, "8aa5": function (t, e, n) {
- "use strict";
- var i = n("6547").charAt;
- t.exports = function (t, e, n) {
- return e + (n ? i(t, e).length : 1)
- }
- }, "8aa7": function (t, e, n) {
- var i = n("da84"), r = n("d039"), o = n("1c7e"), a = n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS, s = i.ArrayBuffer,
- c = i.Int8Array;
- t.exports = !a || !r((function () {
- c(1)
- })) || !r((function () {
- new c(-1)
- })) || !o((function (t) {
- new c, new c(null), new c(1.5), new c(t)
- }), !0) || r((function () {
- return 1 !== new c(new s(2), 1, void 0).length
- }))
- }, "90e3": function (t, e) {
- var n = 0, i = Math.random();
- t.exports = function (t) {
- return "Symbol(" + String(void 0 === t ? "" : t) + ")_" + (++n + i).toString(36)
- }
- }, 9112: function (t, e, n) {
- var i = n("83ab"), r = n("9bf2"), o = n("5c6c");
- t.exports = i ? function (t, e, n) {
- return r.f(t, e, o(1, n))
- } : function (t, e, n) {
- return t[e] = n, t
- }
- }, 9263: function (t, e, n) {
- "use strict";
- var i = n("ad6d"), r = n("9f7f"), o = RegExp.prototype.exec, a = String.prototype.replace, s = o,
- c = function () {
- var t = /a/, e = /b*/g;
- return o.call(t, "a"), o.call(e, "a"), 0 !== t.lastIndex || 0 !== e.lastIndex
- }(), u = r.UNSUPPORTED_Y || r.BROKEN_CARET, l = void 0 !== /()??/.exec("")[1], f = c || l || u;
- f && (s = function (t) {
- var e, n, r, s, f = this, d = u && f.sticky, h = i.call(f), p = f.source, v = 0, g = t;
- return d && (h = h.replace("y", ""), -1 === h.indexOf("g") && (h += "g"), g = String(t).slice(f.lastIndex), f.lastIndex > 0 && (!f.multiline || f.multiline && "\n" !== t[f.lastIndex - 1]) && (p = "(?: " + p + ")", g = " " + g, v++), n = new RegExp("^(?:" + p + ")", h)), l && (n = new RegExp("^" + p + "$(?!\\s)", h)), c && (e = f.lastIndex), r = o.call(d ? n : f, g), d ? r ? (r.input = r.input.slice(v), r[0] = r[0].slice(v), r.index = f.lastIndex, f.lastIndex += r[0].length) : f.lastIndex = 0 : c && r && (f.lastIndex = f.global ? r.index + r[0].length : e), l && r && r.length > 1 && a.call(r[0], n, (function () {
- for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (r[s] = void 0)
- })), r
- }), t.exports = s
- }, "944a": function (t, e, n) {
- var i = n("746f");
- i("toStringTag")
- }, "94ca": function (t, e, n) {
- var i = n("d039"), r = /#|\.prototype\./, o = function (t, e) {
- var n = s[a(t)];
- return n == u || n != c && ("function" == typeof e ? i(e) : !!e)
- }, a = o.normalize = function (t) {
- return String(t).replace(r, ".").toLowerCase()
- }, s = o.data = {}, c = o.NATIVE = "N", u = o.POLYFILL = "P";
- t.exports = o
- }, 9523: function (t, e) {
- function n(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- t.exports = n
- }, "96cf": function (t, e) {
- !function (e) {
- "use strict";
- var n, i = Object.prototype, r = i.hasOwnProperty, o = "function" === typeof Symbol ? Symbol : {},
- a = o.iterator || "@@iterator", s = o.asyncIterator || "@@asyncIterator",
- c = o.toStringTag || "@@toStringTag", u = "object" === typeof t, l = e.regeneratorRuntime;
- if (l) u && (t.exports = l); else {
- l = e.regeneratorRuntime = u ? t.exports : {}, l.wrap = _;
- var f = "suspendedStart", d = "suspendedYield", h = "executing", p = "completed", v = {}, g = {};
- g[a] = function () {
- return this
- };
- var m = Object.getPrototypeOf, b = m && m(m(I([])));
- b && b !== i && r.call(b, a) && (g = b);
- var y = x.prototype = k.prototype = Object.create(g);
- S.prototype = y.constructor = x, x.constructor = S, x[c] = S.displayName = "GeneratorFunction", l.isGeneratorFunction = function (t) {
- var e = "function" === typeof t && t.constructor;
- return !!e && (e === S || "GeneratorFunction" === (e.displayName || e.name))
- }, l.mark = function (t) {
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, x) : (t.__proto__ = x, c in t || (t[c] = "GeneratorFunction")), t.prototype = Object.create(y), t
- }, l.awrap = function (t) {
- return {__await: t}
- }, C(T.prototype), T.prototype[s] = function () {
- return this
- }, l.AsyncIterator = T, l.async = function (t, e, n, i) {
- var r = new T(_(t, e, n, i));
- return l.isGeneratorFunction(e) ? r : r.next().then((function (t) {
- return t.done ? t.value : r.next()
- }))
- }, C(y), y[c] = "Generator", y[a] = function () {
- return this
- }, y.toString = function () {
- return "[object Generator]"
- }, l.keys = function (t) {
- var e = [];
- for (var n in t) e.push(n);
- return e.reverse(), function n() {
- while (e.length) {
- var i = e.pop();
- if (i in t) return n.value = i, n.done = !1, n
- }
- return n.done = !0, n
- }
- }, l.values = I, M.prototype = {
- constructor: M, reset: function (t) {
- if (this.prev = 0, this.next = 0, this.sent = this._sent = n, this.done = !1, this.delegate = null, this.method = "next", this.arg = n, this.tryEntries.forEach(j), !t) for (var e in this) "t" === e.charAt(0) && r.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = n)
- }, stop: function () {
- this.done = !0;
- var t = this.tryEntries[0], e = t.completion;
- if ("throw" === e.type) throw e.arg;
- return this.rval
- }, dispatchException: function (t) {
- if (this.done) throw t;
- var e = this;
- function i(i, r) {
- return s.type = "throw", s.arg = t, e.next = i, r && (e.method = "next", e.arg = n), !!r
- }
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
- var a = this.tryEntries[o], s = a.completion;
- if ("root" === a.tryLoc) return i("end");
- if (a.tryLoc <= this.prev) {
- var c = r.call(a, "catchLoc"), u = r.call(a, "finallyLoc");
- if (c && u) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0);
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- } else if (c) {
- if (this.prev < a.catchLoc) return i(a.catchLoc, !0)
- } else {
- if (!u) throw new Error("try statement without catch or finally");
- if (this.prev < a.finallyLoc) return i(a.finallyLoc)
- }
- }
- }
- }, abrupt: function (t, e) {
- for (var n = this.tryEntries.length - 1; n >= 0; --n) {
- var i = this.tryEntries[n];
- if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
- var o = i;
- break
- }
- }
- o && ("break" === t || "continue" === t) && o.tryLoc <= e && e <= o.finallyLoc && (o = null);
- var a = o ? o.completion : {};
- return a.type = t, a.arg = e, o ? (this.method = "next", this.next = o.finallyLoc, v) : this.complete(a)
- }, complete: function (t, e) {
- if ("throw" === t.type) throw t.arg;
- 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), v
- }, finish: function (t) {
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
- var n = this.tryEntries[e];
- if (n.finallyLoc === t) return this.complete(n.completion, n.afterLoc), j(n), v
- }
- }, catch: function (t) {
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
- var n = this.tryEntries[e];
- if (n.tryLoc === t) {
- var i = n.completion;
- if ("throw" === i.type) {
- var r = i.arg;
- j(n)
- }
- return r
- }
- }
- throw new Error("illegal catch attempt")
- }, delegateYield: function (t, e, i) {
- return this.delegate = {
- iterator: I(t),
- resultName: e,
- nextLoc: i
- }, "next" === this.method && (this.arg = n), v
- }
- }
- }
- function _(t, e, n, i) {
- var r = e && e.prototype instanceof k ? e : k, o = Object.create(r.prototype), a = new M(i || []);
- return o._invoke = O(t, n, a), o
- }
- function w(t, e, n) {
- try {
- return {type: "normal", arg: t.call(e, n)}
- } catch (i) {
- return {type: "throw", arg: i}
- }
- }
- function k() {
- }
- function S() {
- }
- function x() {
- }
- function C(t) {
- ["next", "throw", "return"].forEach((function (e) {
- t[e] = function (t) {
- return this._invoke(e, t)
- }
- }))
- }
- function T(t) {
- function e(n, i, o, a) {
- var s = w(t[n], t, i);
- if ("throw" !== s.type) {
- var c = s.arg, u = c.value;
- return u && "object" === typeof u && r.call(u, "__await") ? Promise.resolve(u.__await).then((function (t) {
- e("next", t, o, a)
- }), (function (t) {
- e("throw", t, o, a)
- })) : Promise.resolve(u).then((function (t) {
- c.value = t, o(c)
- }), (function (t) {
- return e("throw", t, o, a)
- }))
- }
- a(s.arg)
- }
- var n;
- function i(t, i) {
- function r() {
- return new Promise((function (n, r) {
- e(t, i, n, r)
- }))
- }
- return n = n ? n.then(r, r) : r()
- }
- this._invoke = i
- }
- function O(t, e, n) {
- var i = f;
- return function (r, o) {
- if (i === h) throw new Error("Generator is already running");
- if (i === p) {
- if ("throw" === r) throw o;
- return $()
- }
- n.method = r, n.arg = o;
- while (1) {
- var a = n.delegate;
- if (a) {
- var s = A(a, n);
- if (s) {
- if (s === v) continue;
- return s
- }
- }
- if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) {
- if (i === f) throw i = p, n.arg;
- n.dispatchException(n.arg)
- } else "return" === n.method && n.abrupt("return", n.arg);
- i = h;
- var c = w(t, e, n);
- if ("normal" === c.type) {
- if (i = n.done ? p : d, c.arg === v) continue;
- return {value: c.arg, done: n.done}
- }
- "throw" === c.type && (i = p, n.method = "throw", n.arg = c.arg)
- }
- }
- }
- function A(t, e) {
- var i = t.iterator[e.method];
- if (i === n) {
- if (e.delegate = null, "throw" === e.method) {
- if (t.iterator.return && (e.method = "return", e.arg = n, A(t, e), "throw" === e.method)) return v;
- e.method = "throw", e.arg = new TypeError("The iterator does not provide a 'throw' method")
- }
- return v
- }
- var r = w(i, t.iterator, e.arg);
- if ("throw" === r.type) return e.method = "throw", e.arg = r.arg, e.delegate = null, v;
- var o = r.arg;
- return o ? o.done ? (e[t.resultName] = o.value, e.next = t.nextLoc, "return" !== e.method && (e.method = "next", e.arg = n), e.delegate = null, v) : o : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, v)
- }
- function E(t) {
- var e = {tryLoc: t[0]};
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e)
- }
- function j(t) {
- var e = t.completion || {};
- e.type = "normal", delete e.arg, t.completion = e
- }
- function M(t) {
- this.tryEntries = [{tryLoc: "root"}], t.forEach(E, this), this.reset(!0)
- }
- function I(t) {
- if (t) {
- var e = t[a];
- if (e) return e.call(t);
- if ("function" === typeof t.next) return t;
- if (!isNaN(t.length)) {
- var i = -1, o = function e() {
- while (++i < t.length) if (r.call(t, i)) return e.value = t[i], e.done = !1, e;
- return e.value = n, e.done = !0, e
- };
- return o.next = o
- }
- }
- return {next: $}
- }
- function $() {
- return {value: n, done: !0}
- }
- }(function () {
- return this || "object" === typeof self && self
- }() || Function("return this")())
- }, 9861: function (t, e, n) {
- "use strict";
- n("e260");
- var i = n("23e7"), r = n("d066"), o = n("0d3b"), a = n("6eeb"), s = n("e2cc"), c = n("d44e"), u = n("9ed3"),
- l = n("69f3"), f = n("19aa"), d = n("5135"), h = n("0366"), p = n("f5df"), v = n("825a"), g = n("861d"),
- m = n("7c73"), b = n("5c6c"), y = n("9a1f"), _ = n("35a1"), w = n("b622"), k = r("fetch"), S = r("Headers"),
- x = w("iterator"), C = "URLSearchParams", T = C + "Iterator", O = l.set, A = l.getterFor(C),
- E = l.getterFor(T), j = /\+/g, M = Array(4), I = function (t) {
- return M[t - 1] || (M[t - 1] = RegExp("((?:%[\\da-f]{2}){" + t + "})", "gi"))
- }, $ = function (t) {
- try {
- return decodeURIComponent(t)
- } catch (e) {
- return t
- }
- }, P = function (t) {
- var e = t.replace(j, " "), n = 4;
- try {
- return decodeURIComponent(e)
- } catch (i) {
- while (n) e = e.replace(I(n--), $);
- return e
- }
- }, L = /[!'()~]|%20/g, R = {"!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+"},
- N = function (t) {
- return R[t]
- }, D = function (t) {
- return encodeURIComponent(t).replace(L, N)
- }, B = function (t, e) {
- if (e) {
- var n, i, r = e.split("&"), o = 0;
- while (o < r.length) n = r[o++], n.length && (i = n.split("="), t.push({
- key: P(i.shift()),
- value: P(i.join("="))
- }))
- }
- }, F = function (t) {
- this.entries.length = 0, B(this.entries, t)
- }, z = function (t, e) {
- if (t < e) throw TypeError("Not enough arguments")
- }, W = u((function (t, e) {
- O(this, {type: T, iterator: y(A(t).entries), kind: e})
- }), "Iterator", (function () {
- var t = E(this), e = t.kind, n = t.iterator.next(), i = n.value;
- return n.done || (n.value = "keys" === e ? i.key : "values" === e ? i.value : [i.key, i.value]), n
- })), q = function () {
- f(this, q, C);
- var t, e, n, i, r, o, a, s, c, u = arguments.length > 0 ? arguments[0] : void 0, l = this, h = [];
- if (O(l, {
- type: C, entries: h, updateURL: function () {
- }, updateSearchParams: F
- }), void 0 !== u) if (g(u)) if (t = _(u), "function" === typeof t) {
- e = t.call(u), n = e.next;
- while (!(i = n.call(e)).done) {
- if (r = y(v(i.value)), o = r.next, (a = o.call(r)).done || (s = o.call(r)).done || !o.call(r).done) throw TypeError("Expected sequence with length 2");
- h.push({key: a.value + "", value: s.value + ""})
- }
- } else for (c in u) d(u, c) && h.push({
- key: c,
- value: u[c] + ""
- }); else B(h, "string" === typeof u ? "?" === u.charAt(0) ? u.slice(1) : u : u + "")
- }, H = q.prototype;
- s(H, {
- append: function (t, e) {
- z(arguments.length, 2);
- var n = A(this);
- n.entries.push({key: t + "", value: e + ""}), n.updateURL()
- }, delete: function (t) {
- z(arguments.length, 1);
- var e = A(this), n = e.entries, i = t + "", r = 0;
- while (r < n.length) n[r].key === i ? n.splice(r, 1) : r++;
- e.updateURL()
- }, get: function (t) {
- z(arguments.length, 1);
- for (var e = A(this).entries, n = t + "", i = 0; i < e.length; i++) if (e[i].key === n) return e[i].value;
- return null
- }, getAll: function (t) {
- z(arguments.length, 1);
- for (var e = A(this).entries, n = t + "", i = [], r = 0; r < e.length; r++) e[r].key === n && i.push(e[r].value);
- return i
- }, has: function (t) {
- z(arguments.length, 1);
- var e = A(this).entries, n = t + "", i = 0;
- while (i < e.length) if (e[i++].key === n) return !0;
- return !1
- }, set: function (t, e) {
- z(arguments.length, 1);
- for (var n, i = A(this), r = i.entries, o = !1, a = t + "", s = e + "", c = 0; c < r.length; c++) n = r[c], n.key === a && (o ? r.splice(c--, 1) : (o = !0, n.value = s));
- o || r.push({key: a, value: s}), i.updateURL()
- }, sort: function () {
- var t, e, n, i = A(this), r = i.entries, o = r.slice();
- for (r.length = 0, n = 0; n < o.length; n++) {
- for (t = o[n], e = 0; e < n; e++) if (r[e].key > t.key) {
- r.splice(e, 0, t);
- break
- }
- e === n && r.push(t)
- }
- i.updateURL()
- }, forEach: function (t) {
- var e, n = A(this).entries, i = h(t, arguments.length > 1 ? arguments[1] : void 0, 3), r = 0;
- while (r < n.length) e = n[r++], i(e.value, e.key, this)
- }, keys: function () {
- return new W(this, "keys")
- }, values: function () {
- return new W(this, "values")
- }, entries: function () {
- return new W(this, "entries")
- }
- }, {enumerable: !0}), a(H, x, H.entries), a(H, "toString", (function () {
- var t, e = A(this).entries, n = [], i = 0;
- while (i < e.length) t = e[i++], n.push(D(t.key) + "=" + D(t.value));
- return n.join("&")
- }), {enumerable: !0}), c(q, C), i({
- global: !0,
- forced: !o
- }, {URLSearchParams: q}), o || "function" != typeof k || "function" != typeof S || i({
- global: !0,
- enumerable: !0,
- forced: !0
- }, {
- fetch: function (t) {
- var e, n, i, r = [t];
- return arguments.length > 1 && (e = arguments[1], g(e) && (n = e.body, p(n) === C && (i = e.headers ? new S(e.headers) : new S, i.has("content-type") || i.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"), e = m(e, {
- body: b(0, String(n)),
- headers: b(0, i)
- }))), r.push(e)), k.apply(this, r)
- }
- }), t.exports = {URLSearchParams: q, getState: A}
- }, "99af": function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("d039"), o = n("e8b5"), a = n("861d"), s = n("7b0b"), c = n("50c4"), u = n("8418"),
- l = n("65f0"), f = n("1dde"), d = n("b622"), h = n("2d00"), p = d("isConcatSpreadable"),
- v = 9007199254740991, g = "Maximum allowed index exceeded", m = h >= 51 || !r((function () {
- var t = [];
- return t[p] = !1, t.concat()[0] !== t
- })), b = f("concat"), y = function (t) {
- if (!a(t)) return !1;
- var e = t[p];
- return void 0 !== e ? !!e : o(t)
- }, _ = !m || !b;
- i({target: "Array", proto: !0, forced: _}, {
- concat: function (t) {
- var e, n, i, r, o, a = s(this), f = l(a, 0), d = 0;
- for (e = -1, i = arguments.length; e < i; e++) if (o = -1 === e ? a : arguments[e], y(o)) {
- if (r = c(o.length), d + r > v) throw TypeError(g);
- for (n = 0; n < r; n++, d++) n in o && u(f, d, o[n])
- } else {
- if (d >= v) throw TypeError(g);
- u(f, d++, o)
- }
- return f.length = d, f
- }
- })
- }, "9a0c": function (t, e, n) {
- var i = n("342f");
- t.exports = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i)
- }, "9a1f": function (t, e, n) {
- var i = n("825a"), r = n("35a1");
- t.exports = function (t) {
- var e = r(t);
- if ("function" != typeof e) throw TypeError(String(t) + " is not iterable");
- return i(e.call(t))
- }
- }, "9a8c": function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("145e"), o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("copyWithin", (function (t, e) {
- return r.call(o(this), t, e, arguments.length > 2 ? arguments[2] : void 0)
- }))
- }, "9bdd": function (t, e, n) {
- var i = n("825a");
- t.exports = function (t, e, n, r) {
- try {
- return r ? e(i(n)[0], n[1]) : e(n)
- } catch (a) {
- var o = t["return"];
- throw void 0 !== o && i(o.call(t)), a
- }
- }
- }, "9bf2": function (t, e, n) {
- var i = n("83ab"), r = n("0cfb"), o = n("825a"), a = n("c04e"), s = Object.defineProperty;
- e.f = i ? s : function (t, e, n) {
- if (o(t), e = a(e, !0), o(n), r) try {
- return s(t, e, n)
- } catch (i) {
- }
- if ("get" in n || "set" in n) throw TypeError("Accessors not supported");
- return "value" in n && (t[e] = n.value), t
- }
- }, "9ed3": function (t, e, n) {
- "use strict";
- var i = n("ae93").IteratorPrototype, r = n("7c73"), o = n("5c6c"), a = n("d44e"), s = n("3f8c"),
- c = function () {
- return this
- };
- t.exports = function (t, e, n) {
- var u = e + " Iterator";
- return t.prototype = r(i, {next: o(1, n)}), a(t, u, !1, !0), s[u] = c, t
- }
- }, "9f7f": function (t, e, n) {
- "use strict";
- var i = n("d039");
- function r(t, e) {
- return RegExp(t, e)
- }
- e.UNSUPPORTED_Y = i((function () {
- var t = r("a", "y");
- return t.lastIndex = 2, null != t.exec("abcd")
- })), e.BROKEN_CARET = i((function () {
- var t = r("^r", "gy");
- return t.lastIndex = 2, null != t.exec("str")
- }))
- }, a078: function (t, e, n) {
- var i = n("7b0b"), r = n("50c4"), o = n("35a1"), a = n("e95a"), s = n("0366"),
- c = n("ebb5").aTypedArrayConstructor;
- t.exports = function (t) {
- var e, n, u, l, f, d, h = i(t), p = arguments.length, v = p > 1 ? arguments[1] : void 0, g = void 0 !== v,
- m = o(h);
- if (void 0 != m && !a(m)) {
- f = m.call(h), d = f.next, h = [];
- while (!(l = d.call(f)).done) h.push(l.value)
- }
- for (g && p > 2 && (v = s(v, arguments[2], 2)), n = r(h.length), u = new (c(this))(n), e = 0; n > e; e++) u[e] = g ? v(h[e], e) : h[e];
- return u
- }
- }, a434: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("23cb"), o = n("a691"), a = n("50c4"), s = n("7b0b"), c = n("65f0"), u = n("8418"),
- l = n("1dde"), f = n("ae40"), d = l("splice"), h = f("splice", {ACCESSORS: !0, 0: 0, 1: 2}), p = Math.max,
- v = Math.min, g = 9007199254740991, m = "Maximum allowed length exceeded";
- i({target: "Array", proto: !0, forced: !d || !h}, {
- splice: function (t, e) {
- var n, i, l, f, d, h, b = s(this), y = a(b.length), _ = r(t, y), w = arguments.length;
- if (0 === w ? n = i = 0 : 1 === w ? (n = 0, i = y - _) : (n = w - 2, i = v(p(o(e), 0), y - _)), y + n - i > g) throw TypeError(m);
- for (l = c(b, i), f = 0; f < i; f++) d = _ + f, d in b && u(l, f, b[d]);
- if (l.length = i, n < i) {
- for (f = _; f < y - i; f++) d = f + i, h = f + n, d in b ? b[h] = b[d] : delete b[h];
- for (f = y; f > y - i + n; f--) delete b[f - 1]
- } else if (n > i) for (f = y - i; f > _; f--) d = f + i - 1, h = f + n - 1, d in b ? b[h] = b[d] : delete b[h];
- for (f = 0; f < n; f++) b[f + _] = arguments[f + 2];
- return b.length = y - i + n, l
- }
- })
- }, a4d3: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("da84"), o = n("d066"), a = n("c430"), s = n("83ab"), c = n("4930"), u = n("fdbf"),
- l = n("d039"), f = n("5135"), d = n("e8b5"), h = n("861d"), p = n("825a"), v = n("7b0b"), g = n("fc6a"),
- m = n("c04e"), b = n("5c6c"), y = n("7c73"), _ = n("df75"), w = n("241c"), k = n("057f"), S = n("7418"),
- x = n("06cf"), C = n("9bf2"), T = n("d1e7"), O = n("9112"), A = n("6eeb"), E = n("5692"), j = n("f772"),
- M = n("d012"), I = n("90e3"), $ = n("b622"), P = n("e538"), L = n("746f"), R = n("d44e"), N = n("69f3"),
- D = n("b727").forEach, B = j("hidden"), F = "Symbol", z = "prototype", W = $("toPrimitive"), q = N.set,
- H = N.getterFor(F), V = Object[z], U = r.Symbol, Y = o("JSON", "stringify"), X = x.f, G = C.f, Q = k.f,
- K = T.f, J = E("symbols"), Z = E("op-symbols"), tt = E("string-to-symbol-registry"),
- et = E("symbol-to-string-registry"), nt = E("wks"), it = r.QObject, rt = !it || !it[z] || !it[z].findChild,
- ot = s && l((function () {
- return 7 != y(G({}, "a", {
- get: function () {
- return G(this, "a", {value: 7}).a
- }
- })).a
- })) ? function (t, e, n) {
- var i = X(V, e);
- i && delete V[e], G(t, e, n), i && t !== V && G(V, e, i)
- } : G, at = function (t, e) {
- var n = J[t] = y(U[z]);
- return q(n, {type: F, tag: t, description: e}), s || (n.description = e), n
- }, st = u ? function (t) {
- return "symbol" == typeof t
- } : function (t) {
- return Object(t) instanceof U
- }, ct = function (t, e, n) {
- t === V && ct(Z, e, n), p(t);
- var i = m(e, !0);
- return p(n), f(J, i) ? (n.enumerable ? (f(t, B) && t[B][i] && (t[B][i] = !1), n = y(n, {enumerable: b(0, !1)})) : (f(t, B) || G(t, B, b(1, {})), t[B][i] = !0), ot(t, i, n)) : G(t, i, n)
- }, ut = function (t, e) {
- p(t);
- var n = g(e), i = _(n).concat(pt(n));
- return D(i, (function (e) {
- s && !ft.call(n, e) || ct(t, e, n[e])
- })), t
- }, lt = function (t, e) {
- return void 0 === e ? y(t) : ut(y(t), e)
- }, ft = function (t) {
- var e = m(t, !0), n = K.call(this, e);
- return !(this === V && f(J, e) && !f(Z, e)) && (!(n || !f(this, e) || !f(J, e) || f(this, B) && this[B][e]) || n)
- }, dt = function (t, e) {
- var n = g(t), i = m(e, !0);
- if (n !== V || !f(J, i) || f(Z, i)) {
- var r = X(n, i);
- return !r || !f(J, i) || f(n, B) && n[B][i] || (r.enumerable = !0), r
- }
- }, ht = function (t) {
- var e = Q(g(t)), n = [];
- return D(e, (function (t) {
- f(J, t) || f(M, t) || n.push(t)
- })), n
- }, pt = function (t) {
- var e = t === V, n = Q(e ? Z : g(t)), i = [];
- return D(n, (function (t) {
- !f(J, t) || e && !f(V, t) || i.push(J[t])
- })), i
- };
- if (c || (U = function () {
- if (this instanceof U) throw TypeError("Symbol is not a constructor");
- var t = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0, e = I(t),
- n = function (t) {
- this === V && n.call(Z, t), f(this, B) && f(this[B], e) && (this[B][e] = !1), ot(this, e, b(1, t))
- };
- return s && rt && ot(V, e, {configurable: !0, set: n}), at(e, t)
- }, A(U[z], "toString", (function () {
- return H(this).tag
- })), A(U, "withoutSetter", (function (t) {
- return at(I(t), t)
- })), T.f = ft, C.f = ct, x.f = dt, w.f = k.f = ht, S.f = pt, P.f = function (t) {
- return at($(t), t)
- }, s && (G(U[z], "description", {
- configurable: !0, get: function () {
- return H(this).description
- }
- }), a || A(V, "propertyIsEnumerable", ft, {unsafe: !0}))), i({
- global: !0,
- wrap: !0,
- forced: !c,
- sham: !c
- }, {Symbol: U}), D(_(nt), (function (t) {
- L(t)
- })), i({target: F, stat: !0, forced: !c}, {
- for: function (t) {
- var e = String(t);
- if (f(tt, e)) return tt[e];
- var n = U(e);
- return tt[e] = n, et[n] = e, n
- }, keyFor: function (t) {
- if (!st(t)) throw TypeError(t + " is not a symbol");
- if (f(et, t)) return et[t]
- }, useSetter: function () {
- rt = !0
- }, useSimple: function () {
- rt = !1
- }
- }), i({target: "Object", stat: !0, forced: !c, sham: !s}, {
- create: lt,
- defineProperty: ct,
- defineProperties: ut,
- getOwnPropertyDescriptor: dt
- }), i({target: "Object", stat: !0, forced: !c}, {
- getOwnPropertyNames: ht,
- getOwnPropertySymbols: pt
- }), i({
- target: "Object", stat: !0, forced: l((function () {
- S.f(1)
- }))
- }, {
- getOwnPropertySymbols: function (t) {
- return S.f(v(t))
- }
- }), Y) {
- var vt = !c || l((function () {
- var t = U();
- return "[null]" != Y([t]) || "{}" != Y({a: t}) || "{}" != Y(Object(t))
- }));
- i({target: "JSON", stat: !0, forced: vt}, {
- stringify: function (t, e, n) {
- var i, r = [t], o = 1;
- while (arguments.length > o) r.push(arguments[o++]);
- if (i = e, (h(e) || void 0 !== t) && !st(t)) return d(e) || (e = function (t, e) {
- if ("function" == typeof i && (e = i.call(this, t, e)), !st(e)) return e
- }), r[1] = e, Y.apply(null, r)
- }
- })
- }
- U[z][W] || O(U[z], W, U[z].valueOf), R(U, F), M[B] = !0
- }, a630: function (t, e, n) {
- var i = n("23e7"), r = n("4df4"), o = n("1c7e"), a = !o((function (t) {
- Array.from(t)
- }));
- i({target: "Array", stat: !0, forced: a}, {from: r})
- }, a640: function (t, e, n) {
- "use strict";
- var i = n("d039");
- t.exports = function (t, e) {
- var n = [][t];
- return !!n && i((function () {
- n.call(null, e || function () {
- throw 1
- }, 1)
- }))
- }
- }, a691: function (t, e) {
- var n = Math.ceil, i = Math.floor;
- t.exports = function (t) {
- return isNaN(t = +t) ? 0 : (t > 0 ? i : n)(t)
- }
- }, a79d: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("c430"), o = n("fea9"), a = n("d039"), s = n("d066"), c = n("4840"), u = n("cdf9"),
- l = n("6eeb"), f = !!o && a((function () {
- o.prototype["finally"].call({
- then: function () {
- }
- }, (function () {
- }))
- }));
- i({target: "Promise", proto: !0, real: !0, forced: f}, {
- finally: function (t) {
- var e = c(this, s("Promise")), n = "function" == typeof t;
- return this.then(n ? function (n) {
- return u(e, t()).then((function () {
- return n
- }))
- } : t, n ? function (n) {
- return u(e, t()).then((function () {
- throw n
- }))
- } : t)
- }
- }), r || "function" != typeof o || o.prototype["finally"] || l(o.prototype, "finally", s("Promise").prototype["finally"])
- }, a7a7: function (t, e, n) {
- "use strict";
- function i(t, e) {
- 0
- }
- function r(t) {
- return Object.prototype.toString.call(t).indexOf("Error") > -1
- }
- function o(t, e) {
- for (var n in e) t[n] = e[n];
- return t
- }
- n.r(e);
- var a = {
- name: "RouterView",
- functional: !0,
- props: {name: {type: String, default: "default"}},
- render: function (t, e) {
- var n = e.props, i = e.children, r = e.parent, a = e.data;
- a.routerView = !0;
- var c = r.$createElement, u = n.name, l = r.$route, f = r._routerViewCache || (r._routerViewCache = {}),
- d = 0, h = !1;
- while (r && r._routerRoot !== r) r.$vnode && r.$vnode.data.routerView && d++, r._inactive && (h = !0), r = r.$parent;
- if (a.routerViewDepth = d, h) return c(f[u], a, i);
- var p = l.matched[d];
- if (!p) return f[u] = null, c();
- var v = f[u] = p.components[u];
- a.registerRouteInstance = function (t, e) {
- var n = p.instances[u];
- (e && n !== t || !e && n === t) && (p.instances[u] = e)
- }, (a.hook || (a.hook = {})).prepatch = function (t, e) {
- p.instances[u] = e.componentInstance
- };
- var g = a.props = s(l, p.props && p.props[u]);
- if (g) {
- g = a.props = o({}, g);
- var m = a.attrs = a.attrs || {};
- for (var b in g) v.props && b in v.props || (m[b] = g[b], delete g[b])
- }
- return c(v, a, i)
- }
- };
- function s(t, e) {
- switch (typeof e) {
- case"undefined":
- return;
- case"object":
- return e;
- case"function":
- return e(t);
- case"boolean":
- return e ? t.params : void 0;
- default:
- 0
- }
- }
- var c = /[!'()*]/g, u = function (t) {
- return "%" + t.charCodeAt(0).toString(16)
- }, l = /%2C/g, f = function (t) {
- return encodeURIComponent(t).replace(c, u).replace(l, ",")
- }, d = decodeURIComponent;
- function h(t, e, n) {
- void 0 === e && (e = {});
- var i, r = n || p;
- try {
- i = r(t || "")
- } catch (a) {
- i = {}
- }
- for (var o in e) i[o] = e[o];
- return i
- }
- function p(t) {
- var e = {};
- return t = t.trim().replace(/^(\?|#|&)/, ""), t ? (t.split("&").forEach((function (t) {
- var n = t.replace(/\+/g, " ").split("="), i = d(n.shift()), r = n.length > 0 ? d(n.join("=")) : null;
- void 0 === e[i] ? e[i] = r : Array.isArray(e[i]) ? e[i].push(r) : e[i] = [e[i], r]
- })), e) : e
- }
- function v(t) {
- var e = t ? Object.keys(t).map((function (e) {
- var n = t[e];
- if (void 0 === n) return "";
- if (null === n) return f(e);
- if (Array.isArray(n)) {
- var i = [];
- return n.forEach((function (t) {
- void 0 !== t && (null === t ? i.push(f(e)) : i.push(f(e) + "=" + f(t)))
- })), i.join("&")
- }
- return f(e) + "=" + f(n)
- })).filter((function (t) {
- return t.length > 0
- })).join("&") : null;
- return e ? "?" + e : ""
- }
- var g = /\/?$/;
- function m(t, e, n, i) {
- var r = i && i.options.stringifyQuery, o = e.query || {};
- try {
- o = b(o)
- } catch (s) {
- }
- var a = {
- name: e.name || t && t.name,
- meta: t && t.meta || {},
- path: e.path || "/",
- hash: e.hash || "",
- type: e.type,
- query: o,
- params: e.params || {},
- fullPath: w(e, r),
- matched: t ? _(t) : []
- };
- return n && (a.redirectedFrom = w(n, r)), Object.freeze(a)
- }
- function b(t) {
- if (Array.isArray(t)) return t.map(b);
- if (t && "object" === typeof t) {
- var e = {};
- for (var n in t) e[n] = b(t[n]);
- return e
- }
- return t
- }
- var y = m(null, {path: "/"});
- function _(t) {
- var e = [];
- while (t) e.unshift(t), t = t.parent;
- return e
- }
- function w(t, e) {
- var n = t.path, i = t.query;
- void 0 === i && (i = {});
- var r = t.hash;
- void 0 === r && (r = "");
- var o = e || v;
- return (n || "/") + o(i) + r
- }
- function k(t, e) {
- return e === y ? t === e : !!e && (t.path && e.path ? t.path.replace(g, "") === e.path.replace(g, "") && t.hash === e.hash && S(t.query, e.query) : !(!t.name || !e.name) && (t.name === e.name && t.hash === e.hash && S(t.query, e.query) && S(t.params, e.params)))
- }
- function S(t, e) {
- if (void 0 === t && (t = {}), void 0 === e && (e = {}), !t || !e) return t === e;
- var n = Object.keys(t), i = Object.keys(e);
- return n.length === i.length && n.every((function (n) {
- var i = t[n], r = e[n];
- return "object" === typeof i && "object" === typeof r ? S(i, r) : String(i) === String(r)
- }))
- }
- function x(t, e) {
- return 0 === t.path.replace(g, "/").indexOf(e.path.replace(g, "/")) && (!e.hash || t.hash === e.hash) && C(t.query, e.query)
- }
- function C(t, e) {
- for (var n in e) if (!(n in t)) return !1;
- return !0
- }
- var T, O = [String, Object], A = [String, Array], E = {
- name: "RouterLink",
- props: {
- to: {type: O, required: !0},
- tag: {type: String, default: "a"},
- exact: Boolean,
- append: Boolean,
- replace: Boolean,
- activeClass: String,
- exactActiveClass: String,
- event: {type: A, default: "click"}
- },
- render: function (t) {
- var e = this, n = this.$router, i = this.$route, r = n.resolve(this.to, i, this.append), a = r.location,
- s = r.route, c = r.href, u = {}, l = n.options.linkActiveClass, f = n.options.linkExactActiveClass,
- d = null == l ? "router-link-active" : l, h = null == f ? "router-link-exact-active" : f,
- p = null == this.activeClass ? d : this.activeClass,
- v = null == this.exactActiveClass ? h : this.exactActiveClass, g = a.path ? m(null, a, null, n) : s;
- u[v] = k(i, g), u[p] = this.exact ? u[v] : x(i, g);
- var b = function (t) {
- j(t) && (e.replace ? n.replace(a) : n.push(a))
- }, y = {click: j};
- Array.isArray(this.event) ? this.event.forEach((function (t) {
- y[t] = b
- })) : y[this.event] = b;
- var _ = {class: u};
- if ("a" === this.tag) _.on = y, _.attrs = {href: c}; else {
- var w = M(this.$slots.default);
- if (w) {
- w.isStatic = !1;
- var S = w.data = o({}, w.data);
- S.on = y;
- var C = w.data.attrs = o({}, w.data.attrs);
- C.href = c
- } else _.on = y
- }
- return t(this.tag, _, this.$slots.default)
- }
- };
- function j(t) {
- if (!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey) && !t.defaultPrevented && (void 0 === t.button || 0 === t.button)) {
- if (t.currentTarget && t.currentTarget.getAttribute) {
- var e = t.currentTarget.getAttribute("target");
- if (/\b_blank\b/i.test(e)) return
- }
- return t.preventDefault && t.preventDefault(), !0
- }
- }
- function M(t) {
- if (t) for (var e, n = 0; n < t.length; n++) {
- if (e = t[n], "a" === e.tag) return e;
- if (e.children && (e = M(e.children))) return e
- }
- }
- function I(t) {
- if (!I.installed || T !== t) {
- I.installed = !0, T = t;
- var e = function (t) {
- return void 0 !== t
- }, n = function (t, n) {
- var i = t.$options._parentVnode;
- e(i) && e(i = i.data) && e(i = i.registerRouteInstance) && i(t, n)
- };
- t.mixin({
- beforeCreate: function () {
- e(this.$options.router) ? (this._routerRoot = this, this._router = this.$options.router, this._router.init(this), t.util.defineReactive(this, "_route", this._router.history.current)) : this._routerRoot = this.$parent && this.$parent._routerRoot || this, n(this, this)
- }, destroyed: function () {
- n(this)
- }
- }), Object.defineProperty(t.prototype, "$router", {
- get: function () {
- return this._routerRoot._router
- }
- }), Object.defineProperty(t.prototype, "$route", {
- get: function () {
- return this._routerRoot._route
- }
- }), t.component("RouterView", a), t.component("RouterLink", E);
- var i = t.config.optionMergeStrategies;
- i.beforeRouteEnter = i.beforeRouteLeave = i.beforeRouteUpdate = i.created
- }
- }
- var $ = "undefined" !== typeof window;
- function P(t, e, n) {
- var i = t.charAt(0);
- if ("/" === i) return t;
- if ("?" === i || "#" === i) return e + t;
- var r = e.split("/");
- n && r[r.length - 1] || r.pop();
- for (var o = t.replace(/^\//, "").split("/"), a = 0; a < o.length; a++) {
- var s = o[a];
- ".." === s ? r.pop() : "." !== s && r.push(s)
- }
- return "" !== r[0] && r.unshift(""), r.join("/")
- }
- function L(t) {
- var e = "", n = "", i = t.indexOf("#");
- i >= 0 && (e = t.slice(i), t = t.slice(0, i));
- var r = t.indexOf("?");
- return r >= 0 && (n = t.slice(r + 1), t = t.slice(0, r)), {path: t, query: n, hash: e}
- }
- function R(t) {
- return t.replace(/\/\//g, "/")
- }
- var N = Array.isArray || function (t) {
- return "[object Array]" == Object.prototype.toString.call(t)
- }, D = it, B = H, F = V, z = X, W = nt,
- q = new RegExp(["(\\\\.)", "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"), "g");
- function H(t, e) {
- var n, i = [], r = 0, o = 0, a = "", s = e && e.delimiter || "/";
- while (null != (n = q.exec(t))) {
- var c = n[0], u = n[1], l = n.index;
- if (a += t.slice(o, l), o = l + c.length, u) a += u[1]; else {
- var f = t[o], d = n[2], h = n[3], p = n[4], v = n[5], g = n[6], m = n[7];
- a && (i.push(a), a = "");
- var b = null != d && null != f && f !== d, y = "+" === g || "*" === g, _ = "?" === g || "*" === g,
- w = n[2] || s, k = p || v;
- i.push({
- name: h || r++,
- prefix: d || "",
- delimiter: w,
- optional: _,
- repeat: y,
- partial: b,
- asterisk: !!m,
- pattern: k ? Q(k) : m ? ".*" : "[^" + G(w) + "]+?"
- })
- }
- }
- return o < t.length && (a += t.substr(o)), a && i.push(a), i
- }
- function V(t, e) {
- return X(H(t, e))
- }
- function U(t) {
- return encodeURI(t).replace(/[\/?#]/g, (function (t) {
- return "%" + t.charCodeAt(0).toString(16).toUpperCase()
- }))
- }
- function Y(t) {
- return encodeURI(t).replace(/[?#]/g, (function (t) {
- return "%" + t.charCodeAt(0).toString(16).toUpperCase()
- }))
- }
- function X(t) {
- for (var e = new Array(t.length), n = 0; n < t.length; n++) "object" === typeof t[n] && (e[n] = new RegExp("^(?:" + t[n].pattern + ")$"));
- return function (n, i) {
- for (var r = "", o = n || {}, a = i || {}, s = a.pretty ? U : encodeURIComponent, c = 0; c < t.length; c++) {
- var u = t[c];
- if ("string" !== typeof u) {
- var l, f = o[u.name];
- if (null == f) {
- if (u.optional) {
- u.partial && (r += u.prefix);
- continue
- }
- throw new TypeError('Expected "' + u.name + '" to be defined')
- }
- if (N(f)) {
- if (!u.repeat) throw new TypeError('Expected "' + u.name + '" to not repeat, but received `' + JSON.stringify(f) + "`");
- if (0 === f.length) {
- if (u.optional) continue;
- throw new TypeError('Expected "' + u.name + '" to not be empty')
- }
- for (var d = 0; d < f.length; d++) {
- if (l = s(f[d]), !e[c].test(l)) throw new TypeError('Expected all "' + u.name + '" to match "' + u.pattern + '", but received `' + JSON.stringify(l) + "`");
- r += (0 === d ? u.prefix : u.delimiter) + l
- }
- } else {
- if (l = u.asterisk ? Y(f) : s(f), !e[c].test(l)) throw new TypeError('Expected "' + u.name + '" to match "' + u.pattern + '", but received "' + l + '"');
- r += u.prefix + l
- }
- } else r += u
- }
- return r
- }
- }
- function G(t) {
- return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1")
- }
- function Q(t) {
- return t.replace(/([=!:$\/()])/g, "\\$1")
- }
- function K(t, e) {
- return t.keys = e, t
- }
- function J(t) {
- return t.sensitive ? "" : "i"
- }
- function Z(t, e) {
- var n = t.source.match(/\((?!\?)/g);
- if (n) for (var i = 0; i < n.length; i++) e.push({
- name: i,
- prefix: null,
- delimiter: null,
- optional: !1,
- repeat: !1,
- partial: !1,
- asterisk: !1,
- pattern: null
- });
- return K(t, e)
- }
- function tt(t, e, n) {
- for (var i = [], r = 0; r < t.length; r++) i.push(it(t[r], e, n).source);
- var o = new RegExp("(?:" + i.join("|") + ")", J(n));
- return K(o, e)
- }
- function et(t, e, n) {
- return nt(H(t, n), e, n)
- }
- function nt(t, e, n) {
- N(e) || (n = e || n, e = []), n = n || {};
- for (var i = n.strict, r = !1 !== n.end, o = "", a = 0; a < t.length; a++) {
- var s = t[a];
- if ("string" === typeof s) o += G(s); else {
- var c = G(s.prefix), u = "(?:" + s.pattern + ")";
- e.push(s), s.repeat && (u += "(?:" + c + u + ")*"), u = s.optional ? s.partial ? c + "(" + u + ")?" : "(?:" + c + "(" + u + "))?" : c + "(" + u + ")", o += u
- }
- }
- var l = G(n.delimiter || "/"), f = o.slice(-l.length) === l;
- return i || (o = (f ? o.slice(0, -l.length) : o) + "(?:" + l + "(?=$))?"), o += r ? "$" : i && f ? "" : "(?=" + l + "|$)", K(new RegExp("^" + o, J(n)), e)
- }
- function it(t, e, n) {
- return N(e) || (n = e || n, e = []), n = n || {}, t instanceof RegExp ? Z(t, e) : N(t) ? tt(t, e, n) : et(t, e, n)
- }
- D.parse = B, D.compile = F, D.tokensToFunction = z, D.tokensToRegExp = W;
- var rt = Object.create(null);
- function ot(t, e, n) {
- try {
- var i = rt[t] || (rt[t] = D.compile(t));
- return i(e || {}, {pretty: !0})
- } catch (r) {
- return ""
- }
- }
- function at(t, e, n, i) {
- var r = e || [], o = n || Object.create(null), a = i || Object.create(null);
- t.forEach((function (t) {
- st(r, o, a, t)
- }));
- for (var s = 0, c = r.length; s < c; s++) "*" === r[s] && (r.push(r.splice(s, 1)[0]), c--, s--);
- return {pathList: r, pathMap: o, nameMap: a}
- }
- function st(t, e, n, i, r, o) {
- var a = i.path, s = i.name;
- var c = i.pathToRegexpOptions || {}, u = ut(a, r, c.strict);
- "boolean" === typeof i.caseSensitive && (c.sensitive = i.caseSensitive);
- var l = {
- path: u,
- regex: ct(u, c),
- components: i.components || {default: i.component},
- instances: {},
- name: s,
- parent: r,
- matchAs: o,
- redirect: i.redirect,
- beforeEnter: i.beforeEnter,
- meta: i.meta || {},
- props: null == i.props ? {} : i.components ? i.props : {default: i.props}
- };
- if (i.children && i.children.forEach((function (i) {
- var r = o ? R(o + "/" + i.path) : void 0;
- st(t, e, n, i, l, r)
- })), void 0 !== i.alias) {
- var f = Array.isArray(i.alias) ? i.alias : [i.alias];
- f.forEach((function (o) {
- var a = {path: o, children: i.children};
- st(t, e, n, a, r, l.path || "/")
- }))
- }
- e[l.path] || (t.push(l.path), e[l.path] = l), s && (n[s] || (n[s] = l))
- }
- function ct(t, e) {
- var n = D(t, [], e);
- return n
- }
- function ut(t, e, n) {
- return n || (t = t.replace(/\/$/, "")), "/" === t[0] || null == e ? t : R(e.path + "/" + t)
- }
- function lt(t, e, n, i) {
- var r = "string" === typeof t ? {path: t} : t;
- if (r.name || r._normalized) return r;
- if (!r.path && r.params && e) {
- r = o({}, r), r._normalized = !0;
- var a = o(o({}, e.params), r.params);
- if (e.name) r.name = e.name, r.params = a; else if (e.matched.length) {
- var s = e.matched[e.matched.length - 1].path;
- r.path = ot(s, a, "path " + e.path)
- } else 0;
- return r
- }
- var c = L(r.path || ""), u = e && e.path || "/", l = c.path ? P(c.path, u, n || r.append) : u,
- f = h(c.query, r.query, i && i.options.parseQuery), d = r.hash || c.hash;
- return d && "#" !== d.charAt(0) && (d = "#" + d), {
- _normalized: !0,
- type: r.type,
- params: r.params || {},
- path: l,
- query: f,
- hash: d
- }
- }
- function ft(t, e) {
- var n = at(t), i = n.pathList, r = n.pathMap, a = n.nameMap;
- function s(t) {
- at(t, i, r, a)
- }
- function c(t, n, o) {
- var s = lt(t, n, !1, e), c = s.name;
- if (c) {
- var u = a[c];
- if (!u) return f(null, s);
- var l = u.regex.keys.filter((function (t) {
- return !t.optional
- })).map((function (t) {
- return t.name
- }));
- if ("object" !== typeof s.params && (s.params = {}), n && "object" === typeof n.params) for (var d in n.params) !(d in s.params) && l.indexOf(d) > -1 && (s.params[d] = n.params[d]);
- if (u) return s.path = ot(u.path, s.params, 'named route "' + c + '"'), f(u, s, o)
- } else if (s.path) {
- s.params = s.params || {};
- for (var h = 0; h < i.length; h++) {
- var p = i[h], v = r[p];
- if (dt(v.regex, s.path, s.params)) return f(v, s, o)
- }
- }
- return f(null, s)
- }
- function u(t, n) {
- var i = t.redirect, r = "function" === typeof i ? i(m(t, n, null, e)) : i;
- if ("string" === typeof r && (r = {path: r}), !r || "object" !== typeof r) return f(null, n);
- var o = r, s = o.name, u = o.path, l = n.query, d = n.hash, h = n.params;
- if (l = o.hasOwnProperty("query") ? o.query : l, d = o.hasOwnProperty("hash") ? o.hash : d, h = o.hasOwnProperty("params") ? o.params : h, s) {
- a[s];
- return c({_normalized: !0, name: s, query: l, hash: d, params: h}, void 0, n)
- }
- if (u) {
- var p = ht(u, t), v = ot(p, h, 'redirect route with path "' + p + '"');
- return c({_normalized: !0, path: v, query: l, hash: d}, void 0, n)
- }
- return f(null, n)
- }
- function l(t, e, n) {
- var i = ot(n, e.params, 'aliased route with path "' + n + '"'), r = c({_normalized: !0, path: i});
- if (r) {
- var o = r.matched, a = o[o.length - 1];
- return e.params = r.params, f(a, e)
- }
- return f(null, e)
- }
- function f(t, n, i) {
- return t && t.redirect ? u(t, i || n) : t && t.matchAs ? l(t, n, t.matchAs) : (n.params = n.params || {}, t && t.meta && t.meta.id ? n.params.__id__ = t.meta.id : n.params.__id__ || (n.params.__id__ = e.id), t && t.meta && t.meta.name && (t.meta.id ? t.components.default.name = t.meta.name + "-" + n.params.__id__ : (t = o({}, t), t.components = {
- default: {
- name: t.meta.name + "-" + n.params.__id__,
- render: t.components["default"].render
- }
- })), m(t, n, i, e))
- }
- return {match: c, addRoutes: s}
- }
- function dt(t, e, n) {
- var i = e.match(t);
- if (!i) return !1;
- if (!n) return !0;
- for (var r = 1, o = i.length; r < o; ++r) {
- var a = t.keys[r - 1], s = "string" === typeof i[r] ? decodeURIComponent(i[r]) : i[r];
- a && (n[a.name || "pathMatch"] = s)
- }
- return !0
- }
- function ht(t, e) {
- return P(t, e.parent ? e.parent.path : "/", !0)
- }
- var pt = Object.create(null);
- function vt(t) {
- window.history.replaceState({
- key: Et(),
- id: t.currentRoute && t.currentRoute.params.__id__ || t.id
- }, "", window.location.href.replace(window.location.origin, "")), window.addEventListener("popstate", (function (t) {
- mt(), t.state && t.state.key && jt(t.state.key)
- }))
- }
- function gt(t, e, n, i) {
- if (t.app) {
- var r = t.options.scrollBehavior;
- r && t.app.$nextTick((function () {
- var o = bt(), a = r.call(t, e, n, i ? o : null);
- a && ("function" === typeof a.then ? a.then((function (t) {
- xt(t, o)
- })).catch((function (t) {
- 0
- })) : xt(a, o))
- }))
- }
- }
- function mt() {
- var t = Et();
- t && (pt[t] = {x: window.pageXOffset, y: window.pageYOffset})
- }
- function bt() {
- var t = Et();
- if (t) return pt[t]
- }
- function yt(t, e) {
- var n = document.documentElement, i = n.getBoundingClientRect(), r = t.getBoundingClientRect();
- return {x: r.left - i.left - e.x, y: r.top - i.top - e.y}
- }
- function _t(t) {
- return St(t.x) || St(t.y)
- }
- function wt(t) {
- return {x: St(t.x) ? t.x : window.pageXOffset, y: St(t.y) ? t.y : window.pageYOffset}
- }
- function kt(t) {
- return {x: St(t.x) ? t.x : 0, y: St(t.y) ? t.y : 0}
- }
- function St(t) {
- return "number" === typeof t
- }
- function xt(t, e) {
- var n = "object" === typeof t;
- if (n && "string" === typeof t.selector) {
- var i = document.querySelector(t.selector);
- if (i) {
- var r = t.offset && "object" === typeof t.offset ? t.offset : {};
- r = kt(r), e = yt(i, r)
- } else _t(t) && (e = wt(t))
- } else n && _t(t) && (e = wt(t));
- e && window.scrollTo(e.x, e.y)
- }
- var Ct = $ && function () {
- var t = window.navigator.userAgent;
- return (-1 === t.indexOf("Android 2.") && -1 === t.indexOf("Android 4.0") || -1 === t.indexOf("Mobile Safari") || -1 !== t.indexOf("Chrome") || -1 !== t.indexOf("Windows Phone")) && (window.history && "pushState" in window.history)
- }(), Tt = $ && window.performance && window.performance.now ? window.performance : Date, Ot = At();
- function At() {
- return Tt.now().toFixed(3)
- }
- function Et() {
- return Ot
- }
- function jt(t) {
- Ot = t
- }
- function Mt(t, e, n) {
- mt();
- var i = window.history;
- try {
- n ? i.replaceState({id: e, key: Ot}, "", t) : (Ot = At(), i.pushState({id: e, key: Ot}, "", t))
- } catch (r) {
- window.location[n ? "replace" : "assign"](t)
- }
- }
- function It(t, e) {
- Mt(t, e, !0)
- }
- function $t(t, e, n) {
- var i = function (r) {
- r >= t.length ? n() : t[r] ? e(t[r], (function () {
- i(r + 1)
- })) : i(r + 1)
- };
- i(0)
- }
- function Pt(t) {
- return function (e, n, i) {
- var o = !1, a = 0, s = null;
- Lt(t, (function (t, e, n, c) {
- if ("function" === typeof t && void 0 === t.cid) {
- o = !0, a++;
- var u, l = Bt((function (e) {
- Dt(e) && (e = e.default), t.resolved = "function" === typeof e ? e : T.extend(e), n.components[c] = e, a--, a <= 0 && i()
- })), f = Bt((function (t) {
- var e = "Failed to resolve async component " + c + ": " + t;
- s || (s = r(t) ? t : new Error(e), i(s))
- }));
- try {
- u = t(l, f)
- } catch (h) {
- f(h)
- }
- if (u) if ("function" === typeof u.then) u.then(l, f); else {
- var d = u.component;
- d && "function" === typeof d.then && d.then(l, f)
- }
- }
- })), o || i()
- }
- }
- function Lt(t, e) {
- return Rt(t.map((function (t) {
- return Object.keys(t.components).map((function (n) {
- return e(t.components[n], t.instances[n], t, n)
- }))
- })))
- }
- function Rt(t) {
- return Array.prototype.concat.apply([], t)
- }
- var Nt = "function" === typeof Symbol && "symbol" === typeof Symbol.toStringTag;
- function Dt(t) {
- return t.__esModule || Nt && "Module" === t[Symbol.toStringTag]
- }
- function Bt(t) {
- var e = !1;
- return function () {
- var n = [], i = arguments.length;
- while (i--) n[i] = arguments[i];
- if (!e) return e = !0, t.apply(this, n)
- }
- }
- var Ft = function (t, e) {
- this.router = t, this.base = zt(e), this.current = y, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = []
- };
- function zt(t) {
- if (!t) if ($) {
- var e = document.querySelector("base");
- t = e && e.getAttribute("href") || "/", t = t.replace(/^https?:\/\/[^\/]+/, "")
- } else t = "/";
- return "/" !== t.charAt(0) && (t = "/" + t), t.replace(/\/$/, "")
- }
- function Wt(t, e) {
- var n, i = Math.max(t.length, e.length);
- for (n = 0; n < i; n++) if (t[n] !== e[n]) break;
- return {updated: e.slice(0, n), activated: e.slice(n), deactivated: t.slice(n)}
- }
- function qt(t, e, n, i) {
- var r = Lt(t, (function (t, i, r, o) {
- var a = Ht(t, e);
- if (a) return Array.isArray(a) ? a.map((function (t) {
- return n(t, i, r, o)
- })) : n(a, i, r, o)
- }));
- return Rt(i ? r.reverse() : r)
- }
- function Ht(t, e) {
- return "function" !== typeof t && (t = T.extend(t)), t.options[e]
- }
- function Vt(t) {
- return qt(t, "beforeRouteLeave", Yt, !0)
- }
- function Ut(t) {
- return qt(t, "beforeRouteUpdate", Yt)
- }
- function Yt(t, e) {
- if (e) return function () {
- return t.apply(e, arguments)
- }
- }
- function Xt(t, e, n) {
- return qt(t, "beforeRouteEnter", (function (t, i, r, o) {
- return Gt(t, r, o, e, n)
- }))
- }
- function Gt(t, e, n, i, r) {
- return function (o, a, s) {
- return t(o, a, (function (t) {
- s(t), "function" === typeof t && i.push((function () {
- Qt(t, e.instances, n, r)
- }))
- }))
- }
- }
- function Qt(t, e, n, i) {
- e[n] && !e[n]._isBeingDestroyed ? t(e[n]) : i() && setTimeout((function () {
- Qt(t, e, n, i)
- }), 16)
- }
- Ft.prototype.listen = function (t) {
- this.cb = t
- }, Ft.prototype.onReady = function (t, e) {
- this.ready ? t() : (this.readyCbs.push(t), e && this.readyErrorCbs.push(e))
- }, Ft.prototype.onError = function (t) {
- this.errorCbs.push(t)
- }, Ft.prototype.transitionTo = function (t, e, n) {
- var i = this, r = this.router.match(t, this.current);
- this.confirmTransition(r, (function () {
- i.updateRoute(r), e && e(r), i.ensureURL(), i.ready || (i.ready = !0, i.readyCbs.forEach((function (t) {
- t(r)
- })))
- }), (function (t) {
- n && n(t), t && !i.ready && (i.ready = !0, i.readyErrorCbs.forEach((function (e) {
- e(t)
- })))
- }))
- }, Ft.prototype.confirmTransition = function (t, e, n) {
- var o = this, a = this.current, s = function (t) {
- r(t) && (o.errorCbs.length ? o.errorCbs.forEach((function (e) {
- e(t)
- })) : (i(!1, "uncaught error during route navigation:"), console.error(t))), n && n(t)
- }, c = Wt(this.current.matched, t.matched), u = c.updated, l = c.deactivated, f = c.activated,
- d = [].concat(Vt(l), this.router.beforeHooks, Ut(u), f.map((function (t) {
- return t.beforeEnter
- })), Pt(f));
- this.pending = t;
- var h = function (e, n) {
- if (o.pending !== t) return s();
- try {
- e(t, a, (function (t) {
- !1 === t || r(t) ? (o.ensureURL(!0), s(t)) : "string" === typeof t || "object" === typeof t && ("string" === typeof t.path || "string" === typeof t.name) ? (s(), "object" === typeof t && t.replace ? o.replace(t) : o.push(t)) : n(t)
- }))
- } catch (i) {
- s(i)
- }
- };
- $t(d, h, (function () {
- var n = [], i = function () {
- return o.current === t
- }, r = Xt(f, n, i), a = r.concat(o.router.resolveHooks);
- $t(a, h, (function () {
- if (o.pending !== t) return s();
- o.pending = null, e(t), o.router.app && o.router.app.$nextTick((function () {
- n.forEach((function (t) {
- t()
- }))
- }))
- }))
- }))
- }, Ft.prototype.updateRoute = function (t) {
- var e = this.current;
- this.current = t, this.cb && this.cb(t), this.router.afterHooks.forEach((function (n) {
- n && n(t, e)
- }))
- };
- var Kt = function (t) {
- function e() {
- t.apply(this, arguments)
- }
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function () {
- var t = this, e = this.router, n = e.options.scrollBehavior, i = Ct && n;
- i && vt(e);
- var r = Jt(this.base);
- window.addEventListener("popstate", (function (n) {
- var o = t.current, a = Jt(t.base);
- if (t.current !== y || a !== r) {
- var s = n.state && n.state.id;
- if (!s) return window.location.reload();
- t.transitionTo({path: a, params: {__id__: s}}, (function (t) {
- i && gt(e, t, o, !0)
- }))
- }
- }))
- }, e.prototype.go = function (t) {
- window.history.go(t)
- }, e.prototype.push = function (t, e, n) {
- var i = this;
- if ("object" === typeof t) {
- t.params = t.params || {};
- var r = t.params.__id__;
- switch (t.type) {
- case"navigateTo":
- r || this.router.id++;
- break;
- case"redirectTo":
- case"reLaunch":
- this.router.id++;
- break;
- case"switchTab":
- break
- }
- r || (t.params.__id__ = this.router.id)
- }
- var o = this, a = o.current;
- this.transitionTo(t, (function (n) {
- Mt(R(i.base + n.fullPath), t.params.__id__), gt(i.router, n, a, !1), e && e(n)
- }), n)
- }, e.prototype.replace = function (t, e, n) {
- var i = this;
- if ("object" === typeof t) {
- switch (t.type) {
- case"navigateTo":
- case"redirectTo":
- case"reLaunch":
- this.router.id++;
- break;
- case"switchTab":
- break
- }
- t.params = t.params || {}, t.params.__id__ = this.router.id
- }
- var r = this, o = r.current;
- this.transitionTo(t, (function (n) {
- It(R(i.base + n.fullPath), t.params.__id__), gt(i.router, n, o, !1), e && e(n)
- }), n)
- }, e.prototype.ensureURL = function (t) {
- if (Jt(this.base) !== this.current.fullPath) {
- var e = R(this.base + this.current.fullPath), n = this.current.params.__id__;
- t ? Mt(e, n) : It(e, n)
- }
- }, e.prototype.getCurrentLocation = function () {
- return {path: Jt(this.base), params: {__id__: ++this.router.id}}
- }, e
- }(Ft);
- function Jt(t) {
- var e = decodeURI(window.location.pathname);
- return t && 0 === e.indexOf(t) && (e = e.slice(t.length)), (e || "/") + v(h(window.location.search)) + window.location.hash
- }
- var Zt = function (t) {
- function e(e, n, i) {
- t.call(this, e, n), i && te(this.base) || ee()
- }
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function () {
- var t = this, e = this.router, n = e.options.scrollBehavior, i = Ct && n;
- i && vt(e), window.addEventListener(Ct ? "popstate" : "hashchange", (function (e) {
- var n = t.current;
- if (ee()) {
- var r = e.state && e.state.id;
- if (!r) return window.location.reload();
- t.transitionTo({path: ne(), params: {__id__: r}}, (function (e) {
- i && gt(t.router, e, n, !0), Ct || oe(e.fullPath, e.params.__id__)
- }))
- }
- }))
- }, e.prototype.push = function (t, e, n) {
- var i = this;
- if ("object" === typeof t) {
- t.params = t.params || {};
- var r = t.params.__id__;
- switch (t.type) {
- case"navigateTo":
- r || this.router.id++;
- break;
- case"redirectTo":
- case"reLaunch":
- this.router.id++;
- break;
- case"switchTab":
- break
- }
- r || (t.params.__id__ = this.router.id)
- }
- var o = this, a = o.current, s = this.router.id;
- this.transitionTo(t, (function (t) {
- re(t.fullPath, s), gt(i.router, t, a, !1), e && e(t)
- }), n)
- }, e.prototype.replace = function (t, e, n) {
- var i = this;
- if ("object" === typeof t) {
- switch (t.type) {
- case"navigateTo":
- case"redirectTo":
- case"reLaunch":
- this.router.id++;
- break;
- case"switchTab":
- break
- }
- t.params = t.params || {}, t.params.__id__ = this.router.id
- }
- var r = this, o = r.current, a = this.router.id;
- this.transitionTo(t, (function (t) {
- oe(t.fullPath, a), gt(i.router, t, o, !1), e && e(t)
- }), n)
- }, e.prototype.go = function (t) {
- window.history.go(t)
- }, e.prototype.ensureURL = function (t) {
- var e = this.current.fullPath;
- ne() !== e && (t ? re(e, this.current.params.__id__) : oe(e, this.current.params.__id__))
- }, e.prototype.getCurrentLocation = function () {
- return {path: ne(), params: {__id__: ++this.router.id}}
- }, e
- }(Ft);
- function te(t) {
- var e = Jt(t);
- if (!/^\/#/.test(e)) return window.location.replace(R(t + "/#" + e)), !0
- }
- function ee() {
- var t = ne();
- return "/" === t.charAt(0) || (oe("/" + t), !1)
- }
- function ne() {
- var t = window.location.href, e = t.indexOf("#");
- return -1 === e ? "" : decodeURI(t.slice(e + 1))
- }
- function ie(t) {
- var e = window.location.href, n = e.indexOf("#"), i = n >= 0 ? e.slice(0, n) : e;
- return i + "#" + t
- }
- function re(t, e) {
- Ct ? Mt(ie(t), e) : window.location.hash = t
- }
- function oe(t, e) {
- Ct ? It(ie(t), e) : window.location.replace(ie(t))
- }
- var ae = function (t) {
- function e(e, n) {
- t.call(this, e, n), this.stack = [], this.index = -1
- }
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.push = function (t, e, n) {
- var i = this;
- this.transitionTo(t, (function (t) {
- i.stack = i.stack.slice(0, i.index + 1).concat(t), i.index++, e && e(t)
- }), n)
- }, e.prototype.replace = function (t, e, n) {
- var i = this;
- this.transitionTo(t, (function (t) {
- i.stack = i.stack.slice(0, i.index).concat(t), e && e(t)
- }), n)
- }, e.prototype.go = function (t) {
- var e = this, n = this.index + t;
- if (!(n < 0 || n >= this.stack.length)) {
- var i = this.stack[n];
- this.confirmTransition(i, (function () {
- e.index = n, e.updateRoute(i)
- }))
- }
- }, e.prototype.getCurrentLocation = function () {
- var t = this.stack[this.stack.length - 1];
- return t ? t.fullPath : "/"
- }, e.prototype.ensureURL = function () {
- }, e
- }(Ft), se = function (t) {
- void 0 === t && (t = {}), this.app = null, this.apps = [], this.options = t, this.beforeHooks = [], this.resolveHooks = [], this.afterHooks = [], this.matcher = ft(t.routes || [], this), this.id = t.id || 1, this.minId = t.id || 1;
- var e = t.mode || "hash";
- switch (this.fallback = "history" === e && !Ct && !1 !== t.fallback, this.fallback && (e = "hash"), $ || (e = "abstract"), this.mode = e, e) {
- case"history":
- this.history = new Kt(this, t.base);
- break;
- case"hash":
- this.history = new Zt(this, t.base, this.fallback);
- break;
- case"abstract":
- this.history = new ae(this, t.base);
- break;
- default:
- 0
- }
- }, ce = {currentRoute: {configurable: !0}};
- function ue(t, e) {
- return t.push(e), function () {
- var n = t.indexOf(e);
- n > -1 && t.splice(n, 1)
- }
- }
- function le(t, e, n) {
- var i = "hash" === n ? "#" + e : e;
- return t ? R(t + "/" + i) : i
- }
- se.prototype.match = function (t, e, n) {
- return this.matcher.match(t, e, n)
- }, ce.currentRoute.get = function () {
- return this.history && this.history.current
- }, se.prototype.init = function (t) {
- var e = this;
- if (this.apps.push(t), !this.app) {
- this.app = t;
- var n = this.history;
- if (n instanceof Kt) {
- var i = function () {
- n.setupListeners()
- };
- n.transitionTo(n.getCurrentLocation(), i, i)
- } else if (n instanceof Zt) {
- var r = function () {
- n.setupListeners()
- };
- n.transitionTo(n.getCurrentLocation(), r, r)
- }
- n.listen((function (t) {
- e.apps.forEach((function (e) {
- e._route = t
- }))
- }))
- }
- }, se.prototype.beforeEach = function (t) {
- return ue(this.beforeHooks, t)
- }, se.prototype.beforeResolve = function (t) {
- return ue(this.resolveHooks, t)
- }, se.prototype.afterEach = function (t) {
- return ue(this.afterHooks, t)
- }, se.prototype.onReady = function (t, e) {
- this.history.onReady(t, e)
- }, se.prototype.onError = function (t) {
- this.history.onError(t)
- }, se.prototype.push = function (t, e, n) {
- this.history.push(t, e, n)
- }, se.prototype.replace = function (t, e, n) {
- this.history.replace(t, e, n)
- }, se.prototype.go = function (t) {
- this.history.go(t)
- }, se.prototype.back = function () {
- this.go(-1)
- }, se.prototype.forward = function () {
- this.go(1)
- }, se.prototype.getMatchedComponents = function (t) {
- var e = t ? t.matched ? t : this.resolve(t).route : this.currentRoute;
- return e ? [].concat.apply([], e.matched.map((function (t) {
- return Object.keys(t.components).map((function (e) {
- return t.components[e]
- }))
- }))) : []
- }, se.prototype.resolve = function (t, e, n) {
- var i = lt(t, e || this.history.current, n, this), r = this.match(i, e), o = r.redirectedFrom || r.fullPath,
- a = this.history.base, s = le(a, o, this.mode);
- return {location: i, route: r, href: s, normalizedTo: i, resolved: r}
- }, se.prototype.addRoutes = function (t) {
- this.matcher.addRoutes(t), this.history.current !== y && this.history.transitionTo(this.history.getCurrentLocation())
- }, Object.defineProperties(se.prototype, ce), se.install = I, se.version = "3.0.1", e["default"] = se
- }, a975: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").every, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("every", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, a981: function (t, e) {
- t.exports = "undefined" !== typeof ArrayBuffer && "undefined" !== typeof DataView
- }, a9e3: function (t, e, n) {
- "use strict";
- var i = n("83ab"), r = n("da84"), o = n("94ca"), a = n("6eeb"), s = n("5135"), c = n("c6b6"), u = n("7156"),
- l = n("c04e"), f = n("d039"), d = n("7c73"), h = n("241c").f, p = n("06cf").f, v = n("9bf2").f,
- g = n("58a8").trim, m = "Number", b = r[m], y = b.prototype, _ = c(d(y)) == m, w = function (t) {
- var e, n, i, r, o, a, s, c, u = l(t, !1);
- if ("string" == typeof u && u.length > 2) if (u = g(u), e = u.charCodeAt(0), 43 === e || 45 === e) {
- if (n = u.charCodeAt(2), 88 === n || 120 === n) return NaN
- } else if (48 === e) {
- switch (u.charCodeAt(1)) {
- case 66:
- case 98:
- i = 2, r = 49;
- break;
- case 79:
- case 111:
- i = 8, r = 55;
- break;
- default:
- return +u
- }
- for (o = u.slice(2), a = o.length, s = 0; s < a; s++) if (c = o.charCodeAt(s), c < 48 || c > r) return NaN;
- return parseInt(o, i)
- }
- return +u
- };
- if (o(m, !b(" 0o1") || !b("0b1") || b("+0x1"))) {
- for (var k, S = function (t) {
- var e = arguments.length < 1 ? 0 : t, n = this;
- return n instanceof S && (_ ? f((function () {
- y.valueOf.call(n)
- })) : c(n) != m) ? u(new b(w(e)), n, S) : w(e)
- }, x = i ? h(b) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","), C = 0; x.length > C; C++) s(b, k = x[C]) && !s(S, k) && v(S, k, p(b, k));
- S.prototype = y, y.constructor = S, a(r, m, S)
- }
- }, ab13: function (t, e, n) {
- var i = n("b622"), r = i("match");
- t.exports = function (t) {
- var e = /./;
- try {
- "/./"[t](e)
- } catch (n) {
- try {
- return e[r] = !1, "/./"[t](e)
- } catch (i) {
- }
- }
- return !1
- }
- }, ac1f: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("9263");
- i({target: "RegExp", proto: !0, forced: /./.exec !== r}, {exec: r})
- }, acac: function (t, e, n) {
- "use strict";
- var i = n("e2cc"), r = n("f183").getWeakData, o = n("825a"), a = n("861d"), s = n("19aa"), c = n("2266"),
- u = n("b727"), l = n("5135"), f = n("69f3"), d = f.set, h = f.getterFor, p = u.find, v = u.findIndex, g = 0,
- m = function (t) {
- return t.frozen || (t.frozen = new b)
- }, b = function () {
- this.entries = []
- }, y = function (t, e) {
- return p(t.entries, (function (t) {
- return t[0] === e
- }))
- };
- b.prototype = {
- get: function (t) {
- var e = y(this, t);
- if (e) return e[1]
- }, has: function (t) {
- return !!y(this, t)
- }, set: function (t, e) {
- var n = y(this, t);
- n ? n[1] = e : this.entries.push([t, e])
- }, delete: function (t) {
- var e = v(this.entries, (function (e) {
- return e[0] === t
- }));
- return ~e && this.entries.splice(e, 1), !!~e
- }
- }, t.exports = {
- getConstructor: function (t, e, n, u) {
- var f = t((function (t, i) {
- s(t, f, e), d(t, {type: e, id: g++, frozen: void 0}), void 0 != i && c(i, t[u], t, n)
- })), p = h(e), v = function (t, e, n) {
- var i = p(t), a = r(o(e), !0);
- return !0 === a ? m(i).set(e, n) : a[i.id] = n, t
- };
- return i(f.prototype, {
- delete: function (t) {
- var e = p(this);
- if (!a(t)) return !1;
- var n = r(t);
- return !0 === n ? m(e)["delete"](t) : n && l(n, e.id) && delete n[e.id]
- }, has: function (t) {
- var e = p(this);
- if (!a(t)) return !1;
- var n = r(t);
- return !0 === n ? m(e).has(t) : n && l(n, e.id)
- }
- }), i(f.prototype, n ? {
- get: function (t) {
- var e = p(this);
- if (a(t)) {
- var n = r(t);
- return !0 === n ? m(e).get(t) : n ? n[e.id] : void 0
- }
- }, set: function (t, e) {
- return v(this, t, e)
- }
- } : {
- add: function (t) {
- return v(this, t, !0)
- }
- }), f
- }
- }
- }, acd8: function (t, e, n) {
- var i = n("23e7"), r = n("7e12");
- i({global: !0, forced: parseFloat != r}, {parseFloat: r})
- }, ace4: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("d039"), o = n("621a"), a = n("825a"), s = n("23cb"), c = n("50c4"), u = n("4840"),
- l = o.ArrayBuffer, f = o.DataView, d = l.prototype.slice, h = r((function () {
- return !new l(2).slice(1, void 0).byteLength
- }));
- i({target: "ArrayBuffer", proto: !0, unsafe: !0, forced: h}, {
- slice: function (t, e) {
- if (void 0 !== d && void 0 === e) return d.call(a(this), t);
- var n = a(this).byteLength, i = s(t, n), r = s(void 0 === e ? n : e, n), o = new (u(this, l))(c(r - i)),
- h = new f(this), p = new f(o), v = 0;
- while (i < r) p.setUint8(v++, h.getUint8(i++));
- return o
- }
- })
- }, ad6d: function (t, e, n) {
- "use strict";
- var i = n("825a");
- t.exports = function () {
- var t = i(this), e = "";
- return t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.sticky && (e += "y"), e
- }
- }, ade3: function (t, e, n) {
- "use strict";
- function i(t, e, n) {
- return e in t ? Object.defineProperty(t, e, {
- value: n,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = n, t
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, ae40: function (t, e, n) {
- var i = n("83ab"), r = n("d039"), o = n("5135"), a = Object.defineProperty, s = {}, c = function (t) {
- throw t
- };
- t.exports = function (t, e) {
- if (o(s, t)) return s[t];
- e || (e = {});
- var n = [][t], u = !!o(e, "ACCESSORS") && e.ACCESSORS, l = o(e, 0) ? e[0] : c, f = o(e, 1) ? e[1] : void 0;
- return s[t] = !!n && !r((function () {
- if (u && !i) return !0;
- var t = {length: -1};
- u ? a(t, 1, {enumerable: !0, get: c}) : t[1] = 1, n.call(t, l, f)
- }))
- }
- }, ae93: function (t, e, n) {
- "use strict";
- var i, r, o, a = n("e163"), s = n("9112"), c = n("5135"), u = n("b622"), l = n("c430"), f = u("iterator"),
- d = !1, h = function () {
- return this
- };
- [].keys && (o = [].keys(), "next" in o ? (r = a(a(o)), r !== Object.prototype && (i = r)) : d = !0), void 0 == i && (i = {}), l || c(i, f) || s(i, f, h), t.exports = {
- IteratorPrototype: i,
- BUGGY_SAFARI_ITERATORS: d
- }
- }, b041: function (t, e, n) {
- "use strict";
- var i = n("00ee"), r = n("f5df");
- t.exports = i ? {}.toString : function () {
- return "[object " + r(this) + "]"
- }
- }, b1f8: function (t, e, n) {
- "use strict";
- function i(t) {
- throw new Error('"' + t + '" is read-only')
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, b39a: function (t, e, n) {
- "use strict";
- var i = n("da84"), r = n("ebb5"), o = n("d039"), a = i.Int8Array, s = r.aTypedArray,
- c = r.exportTypedArrayMethod, u = [].toLocaleString, l = [].slice, f = !!a && o((function () {
- u.call(new a(1))
- })), d = o((function () {
- return [1, 2].toLocaleString() != new a([1, 2]).toLocaleString()
- })) || !o((function () {
- a.prototype.toLocaleString.call([1, 2])
- }));
- c("toLocaleString", (function () {
- return u.apply(f ? l.call(s(this)) : s(this), arguments)
- }), d)
- }, b575: function (t, e, n) {
- var i, r, o, a, s, c, u, l, f = n("da84"), d = n("06cf").f, h = n("c6b6"), p = n("2cf4").set, v = n("1cdc"),
- g = f.MutationObserver || f.WebKitMutationObserver, m = f.process, b = f.Promise, y = "process" == h(m),
- _ = d(f, "queueMicrotask"), w = _ && _.value;
- w || (i = function () {
- var t, e;
- y && (t = m.domain) && t.exit();
- while (r) {
- e = r.fn, r = r.next;
- try {
- e()
- } catch (n) {
- throw r ? a() : o = void 0, n
- }
- }
- o = void 0, t && t.enter()
- }, y ? a = function () {
- m.nextTick(i)
- } : g && !v ? (s = !0, c = document.createTextNode(""), new g(i).observe(c, {characterData: !0}), a = function () {
- c.data = s = !s
- }) : b && b.resolve ? (u = b.resolve(void 0), l = u.then, a = function () {
- l.call(u, i)
- }) : a = function () {
- p.call(f, i)
- }), t.exports = w || function (t) {
- var e = {fn: t, next: void 0};
- o && (o.next = e), r || (r = e, a()), o = e
- }
- }, b622: function (t, e, n) {
- var i = n("da84"), r = n("5692"), o = n("5135"), a = n("90e3"), s = n("4930"), c = n("fdbf"), u = r("wks"),
- l = i.Symbol, f = c ? l : l && l.withoutSetter || a;
- t.exports = function (t) {
- return o(u, t) || (s && o(l, t) ? u[t] = l[t] : u[t] = f("Symbol." + t)), u[t]
- }
- }, b64b: function (t, e, n) {
- var i = n("23e7"), r = n("7b0b"), o = n("df75"), a = n("d039"), s = a((function () {
- o(1)
- }));
- i({target: "Object", stat: !0, forced: s}, {
- keys: function (t) {
- return o(r(t))
- }
- })
- }, b727: function (t, e, n) {
- var i = n("0366"), r = n("44ad"), o = n("7b0b"), a = n("50c4"), s = n("65f0"), c = [].push, u = function (t) {
- var e = 1 == t, n = 2 == t, u = 3 == t, l = 4 == t, f = 6 == t, d = 5 == t || f;
- return function (h, p, v, g) {
- for (var m, b, y = o(h), _ = r(y), w = i(p, v, 3), k = a(_.length), S = 0, x = g || s, C = e ? x(h, k) : n ? x(h, 0) : void 0; k > S; S++) if ((d || S in _) && (m = _[S], b = w(m, S, y), t)) if (e) C[S] = b; else if (b) switch (t) {
- case 3:
- return !0;
- case 5:
- return m;
- case 6:
- return S;
- case 2:
- c.call(C, m)
- } else if (l) return !1;
- return f ? -1 : u || l ? l : C
- }
- };
- t.exports = {forEach: u(0), map: u(1), filter: u(2), some: u(3), every: u(4), find: u(5), findIndex: u(6)}
- }, bb2f: function (t, e, n) {
- var i = n("d039");
- t.exports = !i((function () {
- return Object.isExtensible(Object.preventExtensions({}))
- }))
- }, bee2: function (t, e, n) {
- "use strict";
- function i(t, e) {
- for (var n = 0; n < e.length; n++) {
- var i = e[n];
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
- }
- }
- function r(t, e, n) {
- return e && i(t.prototype, e), n && i(t, n), t
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = r
- }, c04e: function (t, e, n) {
- var i = n("861d");
- t.exports = function (t, e) {
- if (!i(t)) return t;
- var n, r;
- if (e && "function" == typeof (n = t.toString) && !i(r = n.call(t))) return r;
- if ("function" == typeof (n = t.valueOf) && !i(r = n.call(t))) return r;
- if (!e && "function" == typeof (n = t.toString) && !i(r = n.call(t))) return r;
- throw TypeError("Can't convert object to primitive value")
- }
- }, c19f: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("da84"), o = n("621a"), a = n("2626"), s = "ArrayBuffer", c = o[s], u = r[s];
- i({global: !0, forced: u !== c}, {ArrayBuffer: c}), a(s)
- }, c1ac: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").filter, o = n("4840"), a = i.aTypedArray, s = i.aTypedArrayConstructor,
- c = i.exportTypedArrayMethod;
- c("filter", (function (t) {
- var e = r(a(this), t, arguments.length > 1 ? arguments[1] : void 0), n = o(this, this.constructor), i = 0,
- c = e.length, u = new (s(n))(c);
- while (c > i) u[i] = e[i++];
- return u
- }))
- }, c20d: function (t, e, n) {
- var i = n("da84"), r = n("58a8").trim, o = n("5899"), a = i.parseInt, s = /^[+-]?0[Xx]/,
- c = 8 !== a(o + "08") || 22 !== a(o + "0x16");
- t.exports = c ? function (t, e) {
- var n = r(String(t));
- return a(n, e >>> 0 || (s.test(n) ? 16 : 10))
- } : a
- }, c430: function (t, e) {
- t.exports = !1
- }, c6b6: function (t, e) {
- var n = {}.toString;
- t.exports = function (t) {
- return n.call(t).slice(8, -1)
- }
- }, c6cd: function (t, e, n) {
- var i = n("da84"), r = n("ce4e"), o = "__core-js_shared__", a = i[o] || r(o, {});
- t.exports = a
- }, c740: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("b727").findIndex, o = n("44d2"), a = n("ae40"), s = "findIndex", c = !0, u = a(s);
- s in [] && Array(1)[s]((function () {
- c = !1
- })), i({target: "Array", proto: !0, forced: c || !u}, {
- findIndex: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- }), o(s)
- }, c8ba: function (t, e) {
- var n;
- n = function () {
- return this
- }();
- try {
- n = n || new Function("return this")()
- } catch (i) {
- "object" === typeof window && (n = window)
- }
- t.exports = n
- }, c8d2: function (t, e, n) {
- var i = n("d039"), r = n("5899"), o = "
";
- t.exports = function (t) {
- return i((function () {
- return !!r[t]() || o[t]() != o || r[t].name !== t
- }))
- }
- }, c975: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("4d64").indexOf, o = n("a640"), a = n("ae40"), s = [].indexOf,
- c = !!s && 1 / [1].indexOf(1, -0) < 0, u = o("indexOf"), l = a("indexOf", {ACCESSORS: !0, 1: 0});
- i({target: "Array", proto: !0, forced: c || !u || !l}, {
- indexOf: function (t) {
- return c ? s.apply(this, arguments) || 0 : r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, ca84: function (t, e, n) {
- var i = n("5135"), r = n("fc6a"), o = n("4d64").indexOf, a = n("d012");
- t.exports = function (t, e) {
- var n, s = r(t), c = 0, u = [];
- for (n in s) !i(a, n) && i(s, n) && u.push(n);
- while (e.length > c) i(s, n = e[c++]) && (~o(u, n) || u.push(n));
- return u
- }
- }, ca91: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("d58f").left, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("reduce", (function (t) {
- return r(o(this), t, arguments.length, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, caad: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("4d64").includes, o = n("44d2"), a = n("ae40"),
- s = a("indexOf", {ACCESSORS: !0, 1: 0});
- i({target: "Array", proto: !0, forced: !s}, {
- includes: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- }), o("includes")
- }, cc12: function (t, e, n) {
- var i = n("da84"), r = n("861d"), o = i.document, a = r(o) && r(o.createElement);
- t.exports = function (t) {
- return a ? o.createElement(t) : {}
- }
- }, cca6: function (t, e, n) {
- var i = n("23e7"), r = n("60da");
- i({target: "Object", stat: !0, forced: Object.assign !== r}, {assign: r})
- }, cd26: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = i.aTypedArray, o = i.exportTypedArrayMethod, a = Math.floor;
- o("reverse", (function () {
- var t, e = this, n = r(e).length, i = a(n / 2), o = 0;
- while (o < i) t = e[o], e[o++] = e[--n], e[n] = t;
- return e
- }))
- }, cdf9: function (t, e, n) {
- var i = n("825a"), r = n("861d"), o = n("f069");
- t.exports = function (t, e) {
- if (i(t), r(e) && e.constructor === t) return e;
- var n = o.f(t), a = n.resolve;
- return a(e), n.promise
- }
- }, ce4e: function (t, e, n) {
- var i = n("da84"), r = n("9112");
- t.exports = function (t, e) {
- try {
- r(i, t, e)
- } catch (n) {
- i[t] = e
- }
- return e
- }
- }, d012: function (t, e) {
- t.exports = {}
- }, d039: function (t, e) {
- t.exports = function (t) {
- try {
- return !!t()
- } catch (e) {
- return !0
- }
- }
- }, d066: function (t, e, n) {
- var i = n("428f"), r = n("da84"), o = function (t) {
- return "function" == typeof t ? t : void 0
- };
- t.exports = function (t, e) {
- return arguments.length < 2 ? o(i[t]) || o(r[t]) : i[t] && i[t][e] || r[t] && r[t][e]
- }
- }, d139: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").find, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("find", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, d1e7: function (t, e, n) {
- "use strict";
- var i = {}.propertyIsEnumerable, r = Object.getOwnPropertyDescriptor, o = r && !i.call({1: 2}, 1);
- e.f = o ? function (t) {
- var e = r(this, t);
- return !!e && e.enumerable
- } : i
- }, d28b: function (t, e, n) {
- var i = n("746f");
- i("iterator")
- }, d2bb: function (t, e, n) {
- var i = n("825a"), r = n("3bbe");
- t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () {
- var t, e = !1, n = {};
- try {
- t = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set, t.call(n, []), e = n instanceof Array
- } catch (o) {
- }
- return function (n, o) {
- return i(n), r(o), e ? t.call(n, o) : n.__proto__ = o, n
- }
- }() : void 0)
- }, d3b7: function (t, e, n) {
- var i = n("00ee"), r = n("6eeb"), o = n("b041");
- i || r(Object.prototype, "toString", o, {unsafe: !0})
- }, d44e: function (t, e, n) {
- var i = n("9bf2").f, r = n("5135"), o = n("b622"), a = o("toStringTag");
- t.exports = function (t, e, n) {
- t && !r(t = n ? t : t.prototype, a) && i(t, a, {configurable: !0, value: e})
- }
- }, d4ec: function (t, e, n) {
- "use strict";
- function i(t, e) {
- if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(e, "__esModule", {value: !0}), e.default = i
- }, d58f: function (t, e, n) {
- var i = n("1c0b"), r = n("7b0b"), o = n("44ad"), a = n("50c4"), s = function (t) {
- return function (e, n, s, c) {
- i(n);
- var u = r(e), l = o(u), f = a(u.length), d = t ? f - 1 : 0, h = t ? -1 : 1;
- if (s < 2) while (1) {
- if (d in l) {
- c = l[d], d += h;
- break
- }
- if (d += h, t ? d < 0 : f <= d) throw TypeError("Reduce of empty array with no initial value")
- }
- for (; t ? d >= 0 : f > d; d += h) d in l && (c = n(c, l[d], d, u));
- return c
- }
- };
- t.exports = {left: s(!1), right: s(!0)}
- }, d5d6: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("b727").forEach, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("forEach", (function (t) {
- r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, d784: function (t, e, n) {
- "use strict";
- n("ac1f");
- var i = n("6eeb"), r = n("d039"), o = n("b622"), a = n("9263"), s = n("9112"), c = o("species"),
- u = !r((function () {
- var t = /./;
- return t.exec = function () {
- var t = [];
- return t.groups = {a: "7"}, t
- }, "7" !== "".replace(t, "$<a>")
- })), l = function () {
- return "$0" === "a".replace(/./, "$0")
- }(), f = o("replace"), d = function () {
- return !!/./[f] && "" === /./[f]("a", "$0")
- }(), h = !r((function () {
- var t = /(?:)/, e = t.exec;
- t.exec = function () {
- return e.apply(this, arguments)
- };
- var n = "ab".split(t);
- return 2 !== n.length || "a" !== n[0] || "b" !== n[1]
- }));
- t.exports = function (t, e, n, f) {
- var p = o(t), v = !r((function () {
- var e = {};
- return e[p] = function () {
- return 7
- }, 7 != ""[t](e)
- })), g = v && !r((function () {
- var e = !1, n = /a/;
- return "split" === t && (n = {}, n.constructor = {}, n.constructor[c] = function () {
- return n
- }, n.flags = "", n[p] = /./[p]), n.exec = function () {
- return e = !0, null
- }, n[p](""), !e
- }));
- if (!v || !g || "replace" === t && (!u || !l || d) || "split" === t && !h) {
- var m = /./[p], b = n(p, ""[t], (function (t, e, n, i, r) {
- return e.exec === a ? v && !r ? {done: !0, value: m.call(e, n, i)} : {
- done: !0,
- value: t.call(n, e, i)
- } : {done: !1}
- }), {REPLACE_KEEPS_$0: l, REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: d}), y = b[0], _ = b[1];
- i(String.prototype, t, y), i(RegExp.prototype, p, 2 == e ? function (t, e) {
- return _.call(t, this, e)
- } : function (t) {
- return _.call(t, this)
- })
- }
- f && s(RegExp.prototype[p], "sham", !0)
- }
- }, d81d: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("b727").map, o = n("1dde"), a = n("ae40"), s = o("map"), c = a("map");
- i({target: "Array", proto: !0, forced: !s || !c}, {
- map: function (t) {
- return r(this, t, arguments.length > 1 ? arguments[1] : void 0)
- }
- })
- }, da84: function (t, e, n) {
- (function (e) {
- var n = function (t) {
- return t && t.Math == Math && t
- };
- t.exports = n("object" == typeof globalThis && globalThis) || n("object" == typeof window && window) || n("object" == typeof self && self) || n("object" == typeof e && e) || Function("return this")()
- }).call(this, n("c8ba"))
- }, dbb4: function (t, e, n) {
- var i = n("23e7"), r = n("83ab"), o = n("56ef"), a = n("fc6a"), s = n("06cf"), c = n("8418");
- i({target: "Object", stat: !0, sham: !r}, {
- getOwnPropertyDescriptors: function (t) {
- var e, n, i = a(t), r = s.f, u = o(i), l = {}, f = 0;
- while (u.length > f) n = r(i, e = u[f++]), void 0 !== n && c(l, e, n);
- return l
- }
- })
- }, dbce: function (t, e, n) {
- n("e439"), n("d3b7"), n("3ca3"), n("10d1"), n("ddb0");
- var i = n("7037");
- function r() {
- if ("function" !== typeof WeakMap) return null;
- var t = new WeakMap;
- return r = function () {
- return t
- }, t
- }
- function o(t) {
- if (t && t.__esModule) return t;
- if (null === t || "object" !== i(t) && "function" !== typeof t) return {default: t};
- var e = r();
- if (e && e.has(t)) return e.get(t);
- var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
- for (var a in t) if (Object.prototype.hasOwnProperty.call(t, a)) {
- var s = o ? Object.getOwnPropertyDescriptor(t, a) : null;
- s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = t[a]
- }
- return n["default"] = t, e && e.set(t, n), n
- }
- t.exports = o
- }, ddb0: function (t, e, n) {
- var i = n("da84"), r = n("fdbc"), o = n("e260"), a = n("9112"), s = n("b622"), c = s("iterator"),
- u = s("toStringTag"), l = o.values;
- for (var f in r) {
- var d = i[f], h = d && d.prototype;
- if (h) {
- if (h[c] !== l) try {
- a(h, c, l)
- } catch (v) {
- h[c] = l
- }
- if (h[u] || a(h, u, f), r[f]) for (var p in o) if (h[p] !== o[p]) try {
- a(h, p, o[p])
- } catch (v) {
- h[p] = o[p]
- }
- }
- }
- }, df75: function (t, e, n) {
- var i = n("ca84"), r = n("7839");
- t.exports = Object.keys || function (t) {
- return i(t, r)
- }
- }, e01a: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("83ab"), o = n("da84"), a = n("5135"), s = n("861d"), c = n("9bf2").f, u = n("e893"),
- l = o.Symbol;
- if (r && "function" == typeof l && (!("description" in l.prototype) || void 0 !== l().description)) {
- var f = {}, d = function () {
- var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]),
- e = this instanceof d ? new l(t) : void 0 === t ? l() : l(t);
- return "" === t && (f[e] = !0), e
- };
- u(d, l);
- var h = d.prototype = l.prototype;
- h.constructor = d;
- var p = h.toString, v = "Symbol(test)" == String(l("test")), g = /^Symbol\((.*)\)[^)]+$/;
- c(h, "description", {
- configurable: !0, get: function () {
- var t = s(this) ? this.valueOf() : this, e = p.call(t);
- if (a(f, t)) return "";
- var n = v ? e.slice(7, -1) : e.replace(g, "$1");
- return "" === n ? void 0 : n
- }
- }), i({global: !0, forced: !0}, {Symbol: d})
- }
- }, e143: function (t, e, n) {
- "use strict";
- n.r(e), function (t) {
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2022 Evan You
- * Released under the MIT License.
- */
- var n = Object.freeze({});
- function i(t) {
- return void 0 === t || null === t
- }
- function r(t) {
- return void 0 !== t && null !== t
- }
- function o(t) {
- return !0 === t
- }
- function a(t) {
- return !1 === t
- }
- function s(t) {
- return "string" === typeof t || "number" === typeof t || "symbol" === typeof t || "boolean" === typeof t
- }
- function c(t) {
- return null !== t && "object" === typeof t
- }
- var u = Object.prototype.toString;
- function l(t) {
- return "[object Object]" === u.call(t)
- }
- function f(t) {
- return "[object RegExp]" === u.call(t)
- }
- function d(t) {
- var e = parseFloat(String(t));
- return e >= 0 && Math.floor(e) === e && isFinite(t)
- }
- function h(t) {
- return r(t) && "function" === typeof t.then && "function" === typeof t.catch
- }
- function p(t) {
- return null == t ? "" : Array.isArray(t) || l(t) && t.toString === u ? JSON.stringify(t, null, 2) : String(t)
- }
- function v(t) {
- var e = parseFloat(t);
- return isNaN(e) ? t : e
- }
- function g(t, e) {
- for (var n = Object.create(null), i = t.split(","), r = 0; r < i.length; r++) n[i[r]] = !0;
- return e ? function (t) {
- return n[t.toLowerCase()]
- } : function (t) {
- return n[t]
- }
- }
- g("slot,component", !0);
- var m = g("key,ref,slot,slot-scope,is");
- function b(t, e) {
- if (t.length) {
- var n = t.indexOf(e);
- if (n > -1) return t.splice(n, 1)
- }
- }
- var y = Object.prototype.hasOwnProperty;
- function _(t, e) {
- return y.call(t, e)
- }
- function w(t) {
- var e = Object.create(null);
- return function (n) {
- var i = e[n];
- return i || (e[n] = t(n))
- }
- }
- var k = /-(\w)/g, S = w((function (t) {
- return t.replace(k, (function (t, e) {
- return e ? e.toUpperCase() : ""
- }))
- })), x = w((function (t) {
- return t.charAt(0).toUpperCase() + t.slice(1)
- })), C = /\B([A-Z])/g, T = w((function (t) {
- return t.replace(C, "-$1").toLowerCase()
- }));
- function O(t, e) {
- function n(n) {
- var i = arguments.length;
- return i ? i > 1 ? t.apply(e, arguments) : t.call(e, n) : t.call(e)
- }
- return n._length = t.length, n
- }
- function A(t, e) {
- return t.bind(e)
- }
- var E = Function.prototype.bind ? A : O;
- function j(t, e) {
- e = e || 0;
- var n = t.length - e, i = new Array(n);
- while (n--) i[n] = t[n + e];
- return i
- }
- function M(t, e) {
- for (var n in e) t[n] = e[n];
- return t
- }
- function I(t) {
- for (var e = {}, n = 0; n < t.length; n++) t[n] && M(e, t[n]);
- return e
- }
- function $(t, e, n) {
- }
- var P = function (t, e, n) {
- return !1
- }, L = function (t) {
- return t
- };
- function R(t, e) {
- if (t === e) return !0;
- var n = c(t), i = c(e);
- if (!n || !i) return !n && !i && String(t) === String(e);
- try {
- var r = Array.isArray(t), o = Array.isArray(e);
- if (r && o) return t.length === e.length && t.every((function (t, n) {
- return R(t, e[n])
- }));
- if (t instanceof Date && e instanceof Date) return t.getTime() === e.getTime();
- if (r || o) return !1;
- var a = Object.keys(t), s = Object.keys(e);
- return a.length === s.length && a.every((function (n) {
- return R(t[n], e[n])
- }))
- } catch (u) {
- return !1
- }
- }
- function N(t, e) {
- for (var n = 0; n < t.length; n++) if (R(t[n], e)) return n;
- return -1
- }
- function D(t) {
- var e = !1;
- return function () {
- e || (e = !0, t.apply(this, arguments))
- }
- }
- var B = "data-server-rendered", F = ["component", "directive", "filter"],
- z = ["beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "activated", "deactivated", "errorCaptured", "serverPrefetch"],
- W = {
- optionMergeStrategies: Object.create(null),
- silent: !1,
- productionTip: !1,
- devtools: !1,
- performance: !1,
- errorHandler: null,
- warnHandler: null,
- ignoredElements: [],
- keyCodes: Object.create(null),
- isReservedTag: P,
- isReservedAttr: P,
- isUnknownElement: P,
- getTagNamespace: $,
- parsePlatformTagName: L,
- mustUseProp: P,
- async: !0,
- _lifecycleHooks: z
- },
- q = /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/;
- function H(t) {
- var e = (t + "").charCodeAt(0);
- return 36 === e || 95 === e
- }
- function V(t, e, n, i) {
- Object.defineProperty(t, e, {value: n, enumerable: !!i, writable: !0, configurable: !0})
- }
- var U = new RegExp("[^" + q.source + ".$_\\d]");
- function Y(t) {
- if (!U.test(t)) {
- var e = t.split(".");
- return function (t) {
- for (var n = 0; n < e.length; n++) {
- if (!t) return;
- t = t[e[n]]
- }
- return t
- }
- }
- }
- var X, G = "__proto__" in {}, Q = "undefined" !== typeof window,
- K = "undefined" !== typeof WXEnvironment && !!WXEnvironment.platform,
- J = K && WXEnvironment.platform.toLowerCase(), Z = Q && window.navigator.userAgent.toLowerCase(),
- tt = Z && /msie|trident/.test(Z), et = Z && Z.indexOf("msie 9.0") > 0, nt = Z && Z.indexOf("edge/") > 0,
- it = (Z && Z.indexOf("android"), Z && /iphone|ipad|ipod|ios/.test(Z) || "ios" === J),
- rt = (Z && /chrome\/\d+/.test(Z), Z && /phantomjs/.test(Z), Z && Z.match(/firefox\/(\d+)/)),
- ot = {}.watch, at = !1;
- if (Q) try {
- var st = {};
- Object.defineProperty(st, "passive", {
- get: function () {
- at = !0
- }
- }), window.addEventListener("test-passive", null, st)
- } catch (Ma) {
- }
- var ct = function () {
- return void 0 === X && (X = !Q && !K && "undefined" !== typeof t && (t["process"] && "server" === t["process"].env.VUE_ENV)), X
- }, ut = Q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
- function lt(t) {
- return "function" === typeof t && /native code/.test(t.toString())
- }
- var ft,
- dt = "undefined" !== typeof Symbol && lt(Symbol) && "undefined" !== typeof Reflect && lt(Reflect.ownKeys);
- ft = "undefined" !== typeof Set && lt(Set) ? Set : function () {
- function t() {
- this.set = Object.create(null)
- }
- return t.prototype.has = function (t) {
- return !0 === this.set[t]
- }, t.prototype.add = function (t) {
- this.set[t] = !0
- }, t.prototype.clear = function () {
- this.set = Object.create(null)
- }, t
- }();
- var ht = $, pt = 0, vt = function () {
- this.id = pt++, this.subs = []
- };
- function gt(t) {
- vt.SharedObject.targetStack.push(t), vt.SharedObject.target = t, vt.target = t
- }
- function mt() {
- vt.SharedObject.targetStack.pop(), vt.SharedObject.target = vt.SharedObject.targetStack[vt.SharedObject.targetStack.length - 1], vt.target = vt.SharedObject.target
- }
- vt.prototype.addSub = function (t) {
- this.subs.push(t)
- }, vt.prototype.removeSub = function (t) {
- b(this.subs, t)
- }, vt.prototype.depend = function () {
- vt.SharedObject.target && vt.SharedObject.target.addDep(this)
- }, vt.prototype.notify = function () {
- var t = this.subs.slice();
- for (var e = 0, n = t.length; e < n; e++) t[e].update()
- }, vt.SharedObject = {}, vt.SharedObject.target = null, vt.SharedObject.targetStack = [];
- var bt = function (t, e, n, i, r, o, a, s) {
- this.tag = t, this.data = e, this.children = n, this.text = i, this.elm = r, this.ns = void 0, this.context = o, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = e && e.key, this.componentOptions = a, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = s, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1
- }, yt = {child: {configurable: !0}};
- yt.child.get = function () {
- return this.componentInstance
- }, Object.defineProperties(bt.prototype, yt);
- var _t = function (t) {
- void 0 === t && (t = "");
- var e = new bt;
- return e.text = t, e.isComment = !0, e
- };
- function wt(t) {
- return new bt(void 0, void 0, void 0, String(t))
- }
- function kt(t) {
- var e = new bt(t.tag, t.data, t.children && t.children.slice(), t.text, t.elm, t.context, t.componentOptions, t.asyncFactory);
- return e.ns = t.ns, e.isStatic = t.isStatic, e.key = t.key, e.isComment = t.isComment, e.fnContext = t.fnContext, e.fnOptions = t.fnOptions, e.fnScopeId = t.fnScopeId, e.asyncMeta = t.asyncMeta, e.isCloned = !0, e
- }
- var St = Array.prototype, xt = Object.create(St),
- Ct = ["push", "pop", "shift", "unshift", "splice", "sort", "reverse"];
- Ct.forEach((function (t) {
- var e = St[t];
- V(xt, t, (function () {
- var n = [], i = arguments.length;
- while (i--) n[i] = arguments[i];
- var r, o = e.apply(this, n), a = this.__ob__;
- switch (t) {
- case"push":
- case"unshift":
- r = n;
- break;
- case"splice":
- r = n.slice(2);
- break
- }
- return r && a.observeArray(r), a.dep.notify(), o
- }))
- }));
- var Tt = Object.getOwnPropertyNames(xt), Ot = !0;
- function At(t) {
- Ot = t
- }
- var Et = function (t) {
- this.value = t, this.dep = new vt, this.vmCount = 0, V(t, "__ob__", this), Array.isArray(t) ? (G ? jt(t, xt) : Mt(t, xt, Tt), this.observeArray(t)) : this.walk(t)
- };
- function jt(t, e) {
- t.__proto__ = e
- }
- function Mt(t, e, n) {
- for (var i = 0, r = n.length; i < r; i++) {
- var o = n[i];
- V(t, o, e[o])
- }
- }
- function It(t, e) {
- var n;
- if (c(t) && !(t instanceof bt)) return _(t, "__ob__") && t.__ob__ instanceof Et ? n = t.__ob__ : Ot && !ct() && (Array.isArray(t) || l(t)) && Object.isExtensible(t) && !t._isVue && (n = new Et(t)), e && n && n.vmCount++, n
- }
- function $t(t, e, n, i, r) {
- var o = new vt, a = Object.getOwnPropertyDescriptor(t, e);
- if (!a || !1 !== a.configurable) {
- var s = a && a.get, c = a && a.set;
- s && !c || 2 !== arguments.length || (n = t[e]);
- var u = !r && It(n);
- Object.defineProperty(t, e, {
- enumerable: !0, configurable: !0, get: function () {
- var e = s ? s.call(t) : n;
- return vt.SharedObject.target && (o.depend(), u && (u.dep.depend(), Array.isArray(e) && Rt(e))), e
- }, set: function (e) {
- var i = s ? s.call(t) : n;
- e === i || e !== e && i !== i || s && !c || (c ? c.call(t, e) : n = e, u = !r && It(e), o.notify())
- }
- })
- }
- }
- function Pt(t, e, n) {
- if (Array.isArray(t) && d(e)) return t.length = Math.max(t.length, e), t.splice(e, 1, n), n;
- if (e in t && !(e in Object.prototype)) return t[e] = n, n;
- var i = t.__ob__;
- return t._isVue || i && i.vmCount ? n : i ? ($t(i.value, e, n), i.dep.notify(), n) : (t[e] = n, n)
- }
- function Lt(t, e) {
- if (Array.isArray(t) && d(e)) t.splice(e, 1); else {
- var n = t.__ob__;
- t._isVue || n && n.vmCount || _(t, e) && (delete t[e], n && n.dep.notify())
- }
- }
- function Rt(t) {
- for (var e = void 0, n = 0, i = t.length; n < i; n++) e = t[n], e && e.__ob__ && e.__ob__.dep.depend(), Array.isArray(e) && Rt(e)
- }
- Et.prototype.walk = function (t) {
- for (var e = Object.keys(t), n = 0; n < e.length; n++) $t(t, e[n])
- }, Et.prototype.observeArray = function (t) {
- for (var e = 0, n = t.length; e < n; e++) It(t[e])
- };
- var Nt = W.optionMergeStrategies;
- function Dt(t, e) {
- if (!e) return t;
- for (var n, i, r, o = dt ? Reflect.ownKeys(e) : Object.keys(e), a = 0; a < o.length; a++) n = o[a], "__ob__" !== n && (i = t[n], r = e[n], _(t, n) ? i !== r && l(i) && l(r) && Dt(i, r) : Pt(t, n, r));
- return t
- }
- function Bt(t, e, n) {
- return n ? function () {
- var i = "function" === typeof e ? e.call(n, n) : e, r = "function" === typeof t ? t.call(n, n) : t;
- return i ? Dt(i, r) : r
- } : e ? t ? function () {
- return Dt("function" === typeof e ? e.call(this, this) : e, "function" === typeof t ? t.call(this, this) : t)
- } : e : t
- }
- function Ft(t, e) {
- var n = e ? t ? t.concat(e) : Array.isArray(e) ? e : [e] : t;
- return n ? zt(n) : n
- }
- function zt(t) {
- for (var e = [], n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);
- return e
- }
- function Wt(t, e, n, i) {
- var r = Object.create(t || null);
- return e ? M(r, e) : r
- }
- Nt.data = function (t, e, n) {
- return n ? Bt(t, e, n) : e && "function" !== typeof e ? t : Bt(t, e)
- }, z.forEach((function (t) {
- Nt[t] = Ft
- })), F.forEach((function (t) {
- Nt[t + "s"] = Wt
- })), Nt.watch = function (t, e, n, i) {
- if (t === ot && (t = void 0), e === ot && (e = void 0), !e) return Object.create(t || null);
- if (!t) return e;
- var r = {};
- for (var o in M(r, t), e) {
- var a = r[o], s = e[o];
- a && !Array.isArray(a) && (a = [a]), r[o] = a ? a.concat(s) : Array.isArray(s) ? s : [s]
- }
- return r
- }, Nt.props = Nt.methods = Nt.inject = Nt.computed = function (t, e, n, i) {
- if (!t) return e;
- var r = Object.create(null);
- return M(r, t), e && M(r, e), r
- }, Nt.provide = Bt;
- var qt = function (t, e) {
- return void 0 === e ? t : e
- };
- function Ht(t, e) {
- var n = t.props;
- if (n) {
- var i, r, o, a = {};
- if (Array.isArray(n)) {
- i = n.length;
- while (i--) r = n[i], "string" === typeof r && (o = S(r), a[o] = {type: null})
- } else if (l(n)) for (var s in n) r = n[s], o = S(s), a[o] = l(r) ? r : {type: r}; else 0;
- t.props = a
- }
- }
- function Vt(t, e) {
- var n = t.inject;
- if (n) {
- var i = t.inject = {};
- if (Array.isArray(n)) for (var r = 0; r < n.length; r++) i[n[r]] = {from: n[r]}; else if (l(n)) for (var o in n) {
- var a = n[o];
- i[o] = l(a) ? M({from: o}, a) : {from: a}
- } else 0
- }
- }
- function Ut(t) {
- var e = t.directives;
- if (e) for (var n in e) {
- var i = e[n];
- "function" === typeof i && (e[n] = {bind: i, update: i})
- }
- }
- function Yt(t, e, n) {
- if ("function" === typeof e && (e = e.options), Ht(e, n), Vt(e, n), Ut(e), !e._base && (e.extends && (t = Yt(t, e.extends, n)), e.mixins)) for (var i = 0, r = e.mixins.length; i < r; i++) t = Yt(t, e.mixins[i], n);
- var o, a = {};
- for (o in t) s(o);
- for (o in e) _(t, o) || s(o);
- function s(i) {
- var r = Nt[i] || qt;
- a[i] = r(t[i], e[i], n, i)
- }
- return a
- }
- function Xt(t, e, n, i) {
- if ("string" === typeof n) {
- var r = t[e];
- if (_(r, n)) return r[n];
- var o = S(n);
- if (_(r, o)) return r[o];
- var a = x(o);
- if (_(r, a)) return r[a];
- var s = r[n] || r[o] || r[a];
- return s
- }
- }
- function Gt(t, e, n, i) {
- var r = e[t], o = !_(n, t), a = n[t], s = Zt(Boolean, r.type);
- if (s > -1) if (o && !_(r, "default")) a = !1; else if ("" === a || a === T(t)) {
- var c = Zt(String, r.type);
- (c < 0 || s < c) && (a = !0)
- }
- if (void 0 === a) {
- a = Qt(i, r, t);
- var u = Ot;
- At(!0), It(a), At(u)
- }
- return a
- }
- function Qt(t, e, n) {
- if (_(e, "default")) {
- var i = e.default;
- return t && t.$options.propsData && void 0 === t.$options.propsData[n] && void 0 !== t._props[n] ? t._props[n] : "function" === typeof i && "Function" !== Kt(e.type) ? i.call(t) : i
- }
- }
- function Kt(t) {
- var e = t && t.toString().match(/^\s*function (\w+)/);
- return e ? e[1] : ""
- }
- function Jt(t, e) {
- return Kt(t) === Kt(e)
- }
- function Zt(t, e) {
- if (!Array.isArray(e)) return Jt(e, t) ? 0 : -1;
- for (var n = 0, i = e.length; n < i; n++) if (Jt(e[n], t)) return n;
- return -1
- }
- function te(t, e, n) {
- gt();
- try {
- if (e) {
- var i = e;
- while (i = i.$parent) {
- var r = i.$options.errorCaptured;
- if (r) for (var o = 0; o < r.length; o++) try {
- var a = !1 === r[o].call(i, t, e, n);
- if (a) return
- } catch (Ma) {
- ne(Ma, i, "errorCaptured hook")
- }
- }
- }
- ne(t, e, n)
- } finally {
- mt()
- }
- }
- function ee(t, e, n, i, r) {
- var o;
- try {
- o = n ? t.apply(e, n) : t.call(e), o && !o._isVue && h(o) && !o._handled && (o.catch((function (t) {
- return te(t, i, r + " (Promise/async)")
- })), o._handled = !0)
- } catch (Ma) {
- te(Ma, i, r)
- }
- return o
- }
- function ne(t, e, n) {
- if (W.errorHandler) try {
- return W.errorHandler.call(null, t, e, n)
- } catch (Ma) {
- Ma !== t && ie(Ma, null, "config.errorHandler")
- }
- ie(t, e, n)
- }
- function ie(t, e, n) {
- if (!Q && !K || "undefined" === typeof console) throw t;
- console.error(t)
- }
- var re, oe = !1, ae = [], se = !1;
- function ce() {
- se = !1;
- var t = ae.slice(0);
- ae.length = 0;
- for (var e = 0; e < t.length; e++) t[e]()
- }
- if ("undefined" !== typeof Promise && lt(Promise)) {
- var ue = Promise.resolve();
- re = function () {
- ue.then(ce), it && setTimeout($)
- }, oe = !0
- } else if (tt || "undefined" === typeof MutationObserver || !lt(MutationObserver) && "[object MutationObserverConstructor]" !== MutationObserver.toString()) re = "undefined" !== typeof setImmediate && lt(setImmediate) ? function () {
- setImmediate(ce)
- } : function () {
- setTimeout(ce, 0)
- }; else {
- var le = 1, fe = new MutationObserver(ce), de = document.createTextNode(String(le));
- fe.observe(de, {characterData: !0}), re = function () {
- le = (le + 1) % 2, de.data = String(le)
- }, oe = !0
- }
- function he(t, e) {
- var n;
- if (ae.push((function () {
- if (t) try {
- t.call(e)
- } catch (Ma) {
- te(Ma, e, "nextTick")
- } else n && n(e)
- })), se || (se = !0, re()), !t && "undefined" !== typeof Promise) return new Promise((function (t) {
- n = t
- }))
- }
- var pe = new ft;
- function ve(t) {
- ge(t, pe), pe.clear()
- }
- function ge(t, e) {
- var n, i, r = Array.isArray(t);
- if (!(!r && !c(t) || Object.isFrozen(t) || t instanceof bt)) {
- if (t.__ob__) {
- var o = t.__ob__.dep.id;
- if (e.has(o)) return;
- e.add(o)
- }
- if (r) {
- n = t.length;
- while (n--) ge(t[n], e)
- } else {
- i = Object.keys(t), n = i.length;
- while (n--) ge(t[i[n]], e)
- }
- }
- }
- var me = w((function (t) {
- var e = "&" === t.charAt(0);
- t = e ? t.slice(1) : t;
- var n = "~" === t.charAt(0);
- t = n ? t.slice(1) : t;
- var i = "!" === t.charAt(0);
- return t = i ? t.slice(1) : t, {name: t, once: n, capture: i, passive: e}
- }));
- function be(t, e) {
- function n() {
- var t = arguments, i = n.fns;
- if (!Array.isArray(i)) return ee(i, null, arguments, e, "v-on handler");
- for (var r = i.slice(), o = 0; o < r.length; o++) ee(r[o], null, t, e, "v-on handler")
- }
- return n.fns = t, n
- }
- function ye(t, e, n, r, a, s) {
- var c, u, l, f;
- for (c in t) u = t[c], l = e[c], f = me(c), i(u) || (i(l) ? (i(u.fns) && (u = t[c] = be(u, s)), o(f.once) && (u = t[c] = a(f.name, u, f.capture)), n(f.name, u, f.capture, f.passive, f.params)) : u !== l && (l.fns = u, t[c] = l));
- for (c in e) i(t[c]) && (f = me(c), r(f.name, e[c], f.capture))
- }
- function _e(t, e, n) {
- var a;
- t instanceof bt && (t = t.data.hook || (t.data.hook = {}));
- var s = t[e];
- function c() {
- n.apply(this, arguments), b(a.fns, c)
- }
- i(s) ? a = be([c]) : r(s.fns) && o(s.merged) ? (a = s, a.fns.push(c)) : a = be([s, c]), a.merged = !0, t[e] = a
- }
- function we(t, e, n, o) {
- var a = e.options.mpOptions && e.options.mpOptions.properties;
- if (i(a)) return n;
- var s = e.options.mpOptions.externalClasses || [], c = t.attrs, u = t.props;
- if (r(c) || r(u)) for (var l in a) {
- var f = T(l), d = Se(n, u, l, f, !0) || Se(n, c, l, f, !1);
- d && n[l] && -1 !== s.indexOf(f) && o[S(n[l])] && (n[l] = o[S(n[l])])
- }
- return n
- }
- function ke(t, e, n, o) {
- var a = e.options.props;
- if (i(a)) return we(t, e, {}, o);
- var s = {}, c = t.attrs, u = t.props;
- if (r(c) || r(u)) for (var l in a) {
- var f = T(l);
- Se(s, u, l, f, !0) || Se(s, c, l, f, !1)
- }
- return we(t, e, s, o)
- }
- function Se(t, e, n, i, o) {
- if (r(e)) {
- if (_(e, n)) return t[n] = e[n], o || delete e[n], !0;
- if (_(e, i)) return t[n] = e[i], o || delete e[i], !0
- }
- return !1
- }
- function xe(t) {
- for (var e = 0; e < t.length; e++) if (Array.isArray(t[e])) return Array.prototype.concat.apply([], t);
- return t
- }
- function Ce(t) {
- return s(t) ? [wt(t)] : Array.isArray(t) ? Oe(t) : void 0
- }
- function Te(t) {
- return r(t) && r(t.text) && a(t.isComment)
- }
- function Oe(t, e) {
- var n, a, c, u, l = [];
- for (n = 0; n < t.length; n++) a = t[n], i(a) || "boolean" === typeof a || (c = l.length - 1, u = l[c], Array.isArray(a) ? a.length > 0 && (a = Oe(a, (e || "") + "_" + n), Te(a[0]) && Te(u) && (l[c] = wt(u.text + a[0].text), a.shift()), l.push.apply(l, a)) : s(a) ? Te(u) ? l[c] = wt(u.text + a) : "" !== a && l.push(wt(a)) : Te(a) && Te(u) ? l[c] = wt(u.text + a.text) : (o(t._isVList) && r(a.tag) && i(a.key) && r(e) && (a.key = "__vlist" + e + "_" + n + "__"), l.push(a)));
- return l
- }
- function Ae(t) {
- var e = t.$options.provide;
- e && (t._provided = "function" === typeof e ? e.call(t) : e)
- }
- function Ee(t) {
- var e = je(t.$options.inject, t);
- e && (At(!1), Object.keys(e).forEach((function (n) {
- $t(t, n, e[n])
- })), At(!0))
- }
- function je(t, e) {
- if (t) {
- for (var n = Object.create(null), i = dt ? Reflect.ownKeys(t) : Object.keys(t), r = 0; r < i.length; r++) {
- var o = i[r];
- if ("__ob__" !== o) {
- var a = t[o].from, s = e;
- while (s) {
- if (s._provided && _(s._provided, a)) {
- n[o] = s._provided[a];
- break
- }
- s = s.$parent
- }
- if (!s) if ("default" in t[o]) {
- var c = t[o].default;
- n[o] = "function" === typeof c ? c.call(e) : c
- } else 0
- }
- }
- return n
- }
- }
- function Me(t, e) {
- if (!t || !t.length) return {};
- for (var n = {}, i = 0, r = t.length; i < r; i++) {
- var o = t[i], a = o.data;
- if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, o.context !== e && o.fnContext !== e || !a || null == a.slot) o.asyncMeta && o.asyncMeta.data && "page" === o.asyncMeta.data.slot ? (n["page"] || (n["page"] = [])).push(o) : (n.default || (n.default = [])).push(o); else {
- var s = a.slot, c = n[s] || (n[s] = []);
- "template" === o.tag ? c.push.apply(c, o.children || []) : c.push(o)
- }
- }
- for (var u in n) n[u].every(Ie) && delete n[u];
- return n
- }
- function Ie(t) {
- return t.isComment && !t.asyncFactory || " " === t.text
- }
- function $e(t, e, i) {
- var r, o = Object.keys(e).length > 0, a = t ? !!t.$stable : !o, s = t && t.$key;
- if (t) {
- if (t._normalized) return t._normalized;
- if (a && i && i !== n && s === i.$key && !o && !i.$hasNormal) return i;
- for (var c in r = {}, t) t[c] && "$" !== c[0] && (r[c] = Pe(e, c, t[c]))
- } else r = {};
- for (var u in e) u in r || (r[u] = Le(e, u));
- return t && Object.isExtensible(t) && (t._normalized = r), V(r, "$stable", a), V(r, "$key", s), V(r, "$hasNormal", o), r
- }
- function Pe(t, e, n) {
- var i = function () {
- var t = arguments.length ? n.apply(null, arguments) : n({});
- return t = t && "object" === typeof t && !Array.isArray(t) ? [t] : Ce(t), t && (0 === t.length || 1 === t.length && t[0].isComment) ? void 0 : t
- };
- return n.proxy && Object.defineProperty(t, e, {get: i, enumerable: !0, configurable: !0}), i
- }
- function Le(t, e) {
- return function () {
- return t[e]
- }
- }
- function Re(t, e) {
- var n, i, o, a, s;
- if (Array.isArray(t) || "string" === typeof t) for (n = new Array(t.length), i = 0, o = t.length; i < o; i++) n[i] = e(t[i], i, i, i); else if ("number" === typeof t) for (n = new Array(t), i = 0; i < t; i++) n[i] = e(i + 1, i, i, i); else if (c(t)) if (dt && t[Symbol.iterator]) {
- n = [];
- var u = t[Symbol.iterator](), l = u.next();
- while (!l.done) n.push(e(l.value, n.length, i, i++)), l = u.next()
- } else for (a = Object.keys(t), n = new Array(a.length), i = 0, o = a.length; i < o; i++) s = a[i], n[i] = e(t[s], s, i, i);
- return r(n) || (n = []), n._isVList = !0, n
- }
- function Ne(t, e, n, i) {
- var r, o = this.$scopedSlots[t];
- o ? (n = n || {}, i && (n = M(M({}, i), n)), r = o(n, this, n._i) || e) : r = this.$slots[t] || e;
- var a = n && n.slot;
- return a ? this.$createElement("template", {slot: a}, r) : r
- }
- function De(t) {
- return Xt(this.$options, "filters", t, !0) || L
- }
- function Be(t, e) {
- return Array.isArray(t) ? -1 === t.indexOf(e) : t !== e
- }
- function Fe(t, e, n, i, r) {
- var o = W.keyCodes[e] || n;
- return r && i && !W.keyCodes[e] ? Be(r, i) : o ? Be(o, t) : i ? T(i) !== e : void 0
- }
- function ze(t, e, n, i, r) {
- if (n) if (c(n)) {
- var o;
- Array.isArray(n) && (n = I(n));
- var a = function (a) {
- if ("class" === a || "style" === a || m(a)) o = t; else {
- var s = t.attrs && t.attrs.type;
- o = i || W.mustUseProp(e, s, a) ? t.domProps || (t.domProps = {}) : t.attrs || (t.attrs = {})
- }
- var c = S(a), u = T(a);
- if (!(c in o) && !(u in o) && (o[a] = n[a], r)) {
- var l = t.on || (t.on = {});
- l["update:" + a] = function (t) {
- n[a] = t
- }
- }
- };
- for (var s in n) a(s)
- } else ;
- return t
- }
- function We(t, e) {
- var n = this._staticTrees || (this._staticTrees = []), i = n[t];
- return i && !e || (i = n[t] = this.$options.staticRenderFns[t].call(this._renderProxy, null, this), He(i, "__static__" + t, !1)), i
- }
- function qe(t, e, n) {
- return He(t, "__once__" + e + (n ? "_" + n : ""), !0), t
- }
- function He(t, e, n) {
- if (Array.isArray(t)) for (var i = 0; i < t.length; i++) t[i] && "string" !== typeof t[i] && Ve(t[i], e + "_" + i, n); else Ve(t, e, n)
- }
- function Ve(t, e, n) {
- t.isStatic = !0, t.key = e, t.isOnce = n
- }
- function Ue(t, e) {
- if (e) if (l(e)) {
- var n = t.on = t.on ? M({}, t.on) : {};
- for (var i in e) {
- var r = n[i], o = e[i];
- n[i] = r ? [].concat(r, o) : o
- }
- } else ;
- return t
- }
- function Ye(t, e, n, i) {
- e = e || {$stable: !n};
- for (var r = 0; r < t.length; r++) {
- var o = t[r];
- Array.isArray(o) ? Ye(o, e, n) : o && (o.proxy && (o.fn.proxy = !0), e[o.key] = o.fn)
- }
- return i && (e.$key = i), e
- }
- function Xe(t, e) {
- for (var n = 0; n < e.length; n += 2) {
- var i = e[n];
- "string" === typeof i && i && (t[e[n]] = e[n + 1])
- }
- return t
- }
- function Ge(t, e) {
- return "string" === typeof t ? e + t : t
- }
- function Qe(t) {
- t._o = qe, t._n = v, t._s = p, t._l = Re, t._t = Ne, t._q = R, t._i = N, t._m = We, t._f = De, t._k = Fe, t._b = ze, t._v = wt, t._e = _t, t._u = Ye, t._g = Ue, t._d = Xe, t._p = Ge
- }
- function Ke(t, e, i, r, a) {
- var s, c = this, u = a.options;
- _(r, "_uid") ? (s = Object.create(r), s._original = r) : (s = r, r = r._original);
- var l = o(u._compiled), f = !l;
- this.data = t, this.props = e, this.children = i, this.parent = r, this.listeners = t.on || n, this.injections = je(u.inject, r), this.slots = function () {
- return c.$slots || $e(t.scopedSlots, c.$slots = Me(i, r)), c.$slots
- }, Object.defineProperty(this, "scopedSlots", {
- enumerable: !0, get: function () {
- return $e(t.scopedSlots, this.slots())
- }
- }), l && (this.$options = u, this.$slots = this.slots(), this.$scopedSlots = $e(t.scopedSlots, this.$slots)), u._scopeId ? this._c = function (t, e, n, i) {
- var o = fn(s, t, e, n, i, f);
- return o && !Array.isArray(o) && (o.fnScopeId = u._scopeId, o.fnContext = r), o
- } : this._c = function (t, e, n, i) {
- return fn(s, t, e, n, i, f)
- }
- }
- function Je(t, e, i, o, a) {
- var s = t.options, c = {}, u = s.props;
- if (r(u)) for (var l in u) c[l] = Gt(l, u, e || n); else r(i.attrs) && tn(c, i.attrs), r(i.props) && tn(c, i.props);
- var f = new Ke(i, c, a, o, t), d = s.render.call(null, f._c, f);
- if (d instanceof bt) return Ze(d, i, f.parent, s, f);
- if (Array.isArray(d)) {
- for (var h = Ce(d) || [], p = new Array(h.length), v = 0; v < h.length; v++) p[v] = Ze(h[v], i, f.parent, s, f);
- return p
- }
- }
- function Ze(t, e, n, i, r) {
- var o = kt(t);
- return o.fnContext = n, o.fnOptions = i, e.slot && ((o.data || (o.data = {})).slot = e.slot), o
- }
- function tn(t, e) {
- for (var n in e) t[S(n)] = e[n]
- }
- Qe(Ke.prototype);
- var en = {
- init: function (t, e) {
- if (t.componentInstance && !t.componentInstance._isDestroyed && t.data.keepAlive) {
- var n = t;
- en.prepatch(n, n)
- } else {
- var i = t.componentInstance = on(t, jn);
- i.$mount(e ? t.elm : void 0, e)
- }
- }, prepatch: function (t, e) {
- var n = e.componentOptions, i = e.componentInstance = t.componentInstance;
- Ln(i, n.propsData, n.listeners, e, n.children)
- }, insert: function (t) {
- var e = t.context, n = t.componentInstance;
- n._isMounted || (Bn(n, "onServiceCreated"), Bn(n, "onServiceAttached"), n._isMounted = !0, Bn(n, "mounted")), t.data.keepAlive && (e._isMounted ? Jn(n) : Nn(n, !0))
- }, destroy: function (t) {
- var e = t.componentInstance;
- e._isDestroyed || (t.data.keepAlive ? Dn(e, !0) : e.$destroy())
- }
- }, nn = Object.keys(en);
- function rn(t, e, n, a, s) {
- if (!i(t)) {
- var u = n.$options._base;
- if (c(t) && (t = u.extend(t)), "function" === typeof t) {
- var l;
- if (i(t.cid) && (l = t, t = wn(l, u), void 0 === t)) return _n(l, e, n, a, s);
- e = e || {}, wi(t), r(e.model) && cn(t.options, e);
- var f = ke(e, t, s, n);
- if (o(t.options.functional)) return Je(t, f, e, n, a);
- var d = e.on;
- if (e.on = e.nativeOn, o(t.options.abstract)) {
- var h = e.slot;
- e = {}, h && (e.slot = h)
- }
- an(e);
- var p = t.options.name || s,
- v = new bt("vue-component-" + t.cid + (p ? "-" + p : ""), e, void 0, void 0, void 0, n, {
- Ctor: t,
- propsData: f,
- listeners: d,
- tag: s,
- children: a
- }, l);
- return v
- }
- }
- }
- function on(t, e) {
- var n = {_isComponent: !0, _parentVnode: t, parent: e}, i = t.data.inlineTemplate;
- return r(i) && (n.render = i.render, n.staticRenderFns = i.staticRenderFns), new t.componentOptions.Ctor(n)
- }
- function an(t) {
- for (var e = t.hook || (t.hook = {}), n = 0; n < nn.length; n++) {
- var i = nn[n], r = e[i], o = en[i];
- r === o || r && r._merged || (e[i] = r ? sn(o, r) : o)
- }
- }
- function sn(t, e) {
- var n = function (n, i) {
- t(n, i), e(n, i)
- };
- return n._merged = !0, n
- }
- function cn(t, e) {
- var n = t.model && t.model.prop || "value", i = t.model && t.model.event || "input";
- (e.attrs || (e.attrs = {}))[n] = e.model.value;
- var o = e.on || (e.on = {}), a = o[i], s = e.model.callback;
- r(a) ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && (o[i] = [s].concat(a)) : o[i] = s
- }
- var un = 1, ln = 2;
- function fn(t, e, n, i, r, a) {
- return (Array.isArray(n) || s(n)) && (r = i, i = n, n = void 0), o(a) && (r = ln), dn(t, e, n, i, r)
- }
- function dn(t, e, n, i, o) {
- if (r(n) && r(n.__ob__)) return _t();
- if (r(n) && r(n.is) && (e = n.is), !e) return _t();
- var a, s, c;
- (Array.isArray(i) && "function" === typeof i[0] && (n = n || {}, n.scopedSlots = {default: i[0]}, i.length = 0), o === ln ? i = Ce(i) : o === un && (i = xe(i)), "string" === typeof e) ? (s = t.$vnode && t.$vnode.ns || W.getTagNamespace(e), a = W.isReservedTag(e) ? new bt(W.parsePlatformTagName(e), n, i, void 0, void 0, t) : n && n.pre || !r(c = Xt(t.$options, "components", e)) ? new bt(e, n, i, void 0, void 0, t) : rn(c, n, t, i, e)) : a = rn(e, n, t, i);
- return Array.isArray(a) ? a : r(a) ? (r(s) && hn(a, s), r(n) && pn(n), a) : _t()
- }
- function hn(t, e, n) {
- if (t.ns = e, "foreignObject" === t.tag && (e = void 0, n = !0), r(t.children)) for (var a = 0, s = t.children.length; a < s; a++) {
- var c = t.children[a];
- r(c.tag) && (i(c.ns) || o(n) && "svg" !== c.tag) && hn(c, e, n)
- }
- }
- function pn(t) {
- c(t.style) && ve(t.style), c(t.class) && ve(t.class)
- }
- function vn(t) {
- t._vnode = null, t._staticTrees = null;
- var e = t.$options, i = t.$vnode = e._parentVnode, r = i && i.context;
- t.$slots = Me(e._renderChildren, r), t.$scopedSlots = n, t._c = function (e, n, i, r) {
- return fn(t, e, n, i, r, !1)
- }, t.$createElement = function (e, n, i, r) {
- return fn(t, e, n, i, r, !0)
- };
- var o = i && i.data;
- $t(t, "$attrs", o && o.attrs || n, null, !0), $t(t, "$listeners", e._parentListeners || n, null, !0)
- }
- var gn, mn = null;
- function bn(t) {
- Qe(t.prototype), t.prototype.$nextTick = function (t) {
- return he(t, this)
- }, t.prototype._render = function () {
- var t, e = this, n = e.$options, i = n.render, r = n._parentVnode;
- r && (e.$scopedSlots = $e(r.data.scopedSlots, e.$slots, e.$scopedSlots)), e.$vnode = r;
- try {
- mn = e, t = i.call(e._renderProxy, e.$createElement)
- } catch (Ma) {
- te(Ma, e, "render"), t = e._vnode
- } finally {
- mn = null
- }
- return Array.isArray(t) && 1 === t.length && (t = t[0]), t instanceof bt || (t = _t()), t.parent = r, t
- }
- }
- function yn(t, e) {
- return (t.__esModule || dt && "Module" === t[Symbol.toStringTag]) && (t = t.default), c(t) ? e.extend(t) : t
- }
- function _n(t, e, n, i, r) {
- var o = _t();
- return o.asyncFactory = t, o.asyncMeta = {data: e, context: n, children: i, tag: r}, o
- }
- function wn(t, e) {
- if (o(t.error) && r(t.errorComp)) return t.errorComp;
- if (r(t.resolved)) return t.resolved;
- var n = mn;
- if (n && r(t.owners) && -1 === t.owners.indexOf(n) && t.owners.push(n), o(t.loading) && r(t.loadingComp)) return t.loadingComp;
- if (n && !r(t.owners)) {
- var a = t.owners = [n], s = !0, u = null, l = null;
- n.$on("hook:destroyed", (function () {
- return b(a, n)
- }));
- var f = function (t) {
- for (var e = 0, n = a.length; e < n; e++) a[e].$forceUpdate();
- t && (a.length = 0, null !== u && (clearTimeout(u), u = null), null !== l && (clearTimeout(l), l = null))
- }, d = D((function (n) {
- t.resolved = yn(n, e), s ? a.length = 0 : f(!0)
- })), p = D((function (e) {
- r(t.errorComp) && (t.error = !0, f(!0))
- })), v = t(d, p);
- return c(v) && (h(v) ? i(t.resolved) && v.then(d, p) : h(v.component) && (v.component.then(d, p), r(v.error) && (t.errorComp = yn(v.error, e)), r(v.loading) && (t.loadingComp = yn(v.loading, e), 0 === v.delay ? t.loading = !0 : u = setTimeout((function () {
- u = null, i(t.resolved) && i(t.error) && (t.loading = !0, f(!1))
- }), v.delay || 200)), r(v.timeout) && (l = setTimeout((function () {
- l = null, i(t.resolved) && p(null)
- }), v.timeout)))), s = !1, t.loading ? t.loadingComp : t.resolved
- }
- }
- function kn(t) {
- return t.isComment && t.asyncFactory
- }
- function Sn(t) {
- if (Array.isArray(t)) for (var e = 0; e < t.length; e++) {
- var n = t[e];
- if (r(n) && (r(n.componentOptions) || kn(n))) return n
- }
- }
- function xn(t) {
- t._events = Object.create(null), t._hasHookEvent = !1;
- var e = t.$options._parentListeners;
- e && An(t, e)
- }
- function Cn(t, e) {
- gn.$on(t, e)
- }
- function Tn(t, e) {
- gn.$off(t, e)
- }
- function On(t, e) {
- var n = gn;
- return function i() {
- var r = e.apply(null, arguments);
- null !== r && n.$off(t, i)
- }
- }
- function An(t, e, n) {
- gn = t, ye(e, n || {}, Cn, Tn, On, t), gn = void 0
- }
- function En(t) {
- var e = /^hook:/;
- t.prototype.$on = function (t, n) {
- var i = this;
- if (Array.isArray(t)) for (var r = 0, o = t.length; r < o; r++) i.$on(t[r], n); else (i._events[t] || (i._events[t] = [])).push(n), e.test(t) && (i._hasHookEvent = !0);
- return i
- }, t.prototype.$once = function (t, e) {
- var n = this;
- function i() {
- n.$off(t, i), e.apply(n, arguments)
- }
- return i.fn = e, n.$on(t, i), n
- }, t.prototype.$off = function (t, e) {
- var n = this;
- if (!arguments.length) return n._events = Object.create(null), n;
- if (Array.isArray(t)) {
- for (var i = 0, r = t.length; i < r; i++) n.$off(t[i], e);
- return n
- }
- var o, a = n._events[t];
- if (!a) return n;
- if (!e) return n._events[t] = null, n;
- var s = a.length;
- while (s--) if (o = a[s], o === e || o.fn === e) {
- a.splice(s, 1);
- break
- }
- return n
- }, t.prototype.$emit = function (t) {
- var e = this, n = e._events[t];
- if (n) {
- n = n.length > 1 ? j(n) : n;
- for (var i = j(arguments, 1), r = 'event handler for "' + t + '"', o = 0, a = n.length; o < a; o++) ee(n[o], e, i, e, r)
- }
- return e
- }
- }
- var jn = null;
- function Mn(t) {
- var e = jn;
- return jn = t, function () {
- jn = e
- }
- }
- function In(t) {
- var e = t.$options, n = e.parent;
- if (n && !e.abstract) {
- while (n.$options.abstract && n.$parent) n = n.$parent;
- n.$children.push(t)
- }
- t.$parent = n, t.$root = n ? n.$root : t, t.$children = [], t.$refs = {}, t._watcher = null, t._inactive = null, t._directInactive = !1, t._isMounted = !1, t._isDestroyed = !1, t._isBeingDestroyed = !1
- }
- function $n(t) {
- t.prototype._update = function (t, e) {
- var n = this, i = n.$el, r = n._vnode, o = Mn(n);
- n._vnode = t, n.$el = r ? n.__patch__(r, t) : n.__patch__(n.$el, t, e, !1), o(), i && (i.__vue__ = null), n.$el && (n.$el.__vue__ = n), n.$vnode && n.$parent && n.$vnode === n.$parent._vnode && (n.$parent.$el = n.$el)
- }, t.prototype.$forceUpdate = function () {
- var t = this;
- t._watcher && t._watcher.update()
- }, t.prototype.$destroy = function () {
- var t = this;
- if (!t._isBeingDestroyed) {
- Bn(t, "beforeDestroy"), t._isBeingDestroyed = !0;
- var e = t.$parent;
- !e || e._isBeingDestroyed || t.$options.abstract || b(e.$children, t), t._watcher && t._watcher.teardown();
- var n = t._watchers.length;
- while (n--) t._watchers[n].teardown();
- t._data.__ob__ && t._data.__ob__.vmCount--, t._isDestroyed = !0, t.__patch__(t._vnode, null), Bn(t, "destroyed"), t.$off(), t.$el && (t.$el.__vue__ = null), t.$vnode && (t.$vnode.parent = null)
- }
- }
- }
- function Pn(t, e, n) {
- var i;
- return t.$el = e, t.$options.render || (t.$options.render = _t), Bn(t, "beforeMount"), i = function () {
- t._update(t._render(), n)
- }, new ni(t, i, $, {
- before: function () {
- t._isMounted && !t._isDestroyed && Bn(t, "beforeUpdate")
- }
- }, !0), n = !1, null == t.$vnode && (Bn(t, "onServiceCreated"), Bn(t, "onServiceAttached"), t._isMounted = !0, Bn(t, "mounted")), t
- }
- function Ln(t, e, i, r, o) {
- var a = r.data.scopedSlots, s = t.$scopedSlots,
- c = !!(a && !a.$stable || s !== n && !s.$stable || a && t.$scopedSlots.$key !== a.$key),
- u = !!(o || t.$options._renderChildren || c);
- if (t.$options._parentVnode = r, t.$vnode = r, t._vnode && (t._vnode.parent = r), t.$options._renderChildren = o, t.$attrs = r.data.attrs || n, t.$listeners = i || n, e && t.$options.props) {
- At(!1);
- for (var l = t._props, f = t.$options._propKeys || [], d = 0; d < f.length; d++) {
- var h = f[d], p = t.$options.props;
- l[h] = Gt(h, p, e, t)
- }
- At(!0), t.$options.propsData = e
- }
- t._$updateProperties && t._$updateProperties(t), i = i || n;
- var v = t.$options._parentListeners;
- t.$options._parentListeners = i, An(t, i, v), u && (t.$slots = Me(o, r.context), t.$forceUpdate())
- }
- function Rn(t) {
- while (t && (t = t.$parent)) if (t._inactive) return !0;
- return !1
- }
- function Nn(t, e) {
- if (e) {
- if (t._directInactive = !1, Rn(t)) return
- } else if (t._directInactive) return;
- if (t._inactive || null === t._inactive) {
- t._inactive = !1;
- for (var n = 0; n < t.$children.length; n++) Nn(t.$children[n]);
- Bn(t, "activated")
- }
- }
- function Dn(t, e) {
- if ((!e || (t._directInactive = !0, !Rn(t))) && !t._inactive) {
- t._inactive = !0;
- for (var n = 0; n < t.$children.length; n++) Dn(t.$children[n]);
- Bn(t, "deactivated")
- }
- }
- function Bn(t, e) {
- gt();
- var n = t.$options[e], i = e + " hook";
- if (n) for (var r = 0, o = n.length; r < o; r++) ee(n[r], t, null, t, i);
- t._hasHookEvent && t.$emit("hook:" + e), mt()
- }
- var Fn = [], zn = [], Wn = {}, qn = !1, Hn = !1, Vn = 0;
- function Un() {
- Vn = Fn.length = zn.length = 0, Wn = {}, qn = Hn = !1
- }
- var Yn = 0, Xn = Date.now;
- if (Q && !tt) {
- var Gn = window.performance;
- Gn && "function" === typeof Gn.now && Xn() > document.createEvent("Event").timeStamp && (Xn = function () {
- return Gn.now()
- })
- }
- function Qn() {
- var t, e;
- for (Yn = Xn(), Hn = !0, Fn.sort((function (t, e) {
- return t.id - e.id
- })), Vn = 0; Vn < Fn.length; Vn++) t = Fn[Vn], t.before && t.before(), e = t.id, Wn[e] = null, t.run();
- var n = zn.slice(), i = Fn.slice();
- Un(), Zn(n), Kn(i), ut && W.devtools && ut.emit("flush")
- }
- function Kn(t) {
- var e = t.length;
- while (e--) {
- var n = t[e], i = n.vm;
- i._watcher === n && i._isMounted && !i._isDestroyed && Bn(i, "updated")
- }
- }
- function Jn(t) {
- t._inactive = !1, zn.push(t)
- }
- function Zn(t) {
- for (var e = 0; e < t.length; e++) t[e]._inactive = !0, Nn(t[e], !0)
- }
- function ti(t) {
- var e = t.id;
- if (null == Wn[e]) {
- if (Wn[e] = !0, Hn) {
- var n = Fn.length - 1;
- while (n > Vn && Fn[n].id > t.id) n--;
- Fn.splice(n + 1, 0, t)
- } else Fn.push(t);
- qn || (qn = !0, he(Qn))
- }
- }
- var ei = 0, ni = function (t, e, n, i, r) {
- this.vm = t, r && (t._watcher = this), t._watchers.push(this), i ? (this.deep = !!i.deep, this.user = !!i.user, this.lazy = !!i.lazy, this.sync = !!i.sync, this.before = i.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++ei, this.active = !0, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ft, this.newDepIds = new ft, this.expression = "", "function" === typeof e ? this.getter = e : (this.getter = Y(e), this.getter || (this.getter = $)), this.value = this.lazy ? void 0 : this.get()
- };
- ni.prototype.get = function () {
- var t;
- gt(this);
- var e = this.vm;
- try {
- t = this.getter.call(e, e)
- } catch (Ma) {
- if (!this.user) throw Ma;
- te(Ma, e, 'getter for watcher "' + this.expression + '"')
- } finally {
- this.deep && ve(t), mt(), this.cleanupDeps()
- }
- return t
- }, ni.prototype.addDep = function (t) {
- var e = t.id;
- this.newDepIds.has(e) || (this.newDepIds.add(e), this.newDeps.push(t), this.depIds.has(e) || t.addSub(this))
- }, ni.prototype.cleanupDeps = function () {
- var t = this.deps.length;
- while (t--) {
- var e = this.deps[t];
- this.newDepIds.has(e.id) || e.removeSub(this)
- }
- var n = this.depIds;
- this.depIds = this.newDepIds, this.newDepIds = n, this.newDepIds.clear(), n = this.deps, this.deps = this.newDeps, this.newDeps = n, this.newDeps.length = 0
- }, ni.prototype.update = function () {
- this.lazy ? this.dirty = !0 : this.sync ? this.run() : ti(this)
- }, ni.prototype.run = function () {
- if (this.active) {
- var t = this.get();
- if (t !== this.value || c(t) || this.deep) {
- var e = this.value;
- if (this.value = t, this.user) try {
- this.cb.call(this.vm, t, e)
- } catch (Ma) {
- te(Ma, this.vm, 'callback for watcher "' + this.expression + '"')
- } else this.cb.call(this.vm, t, e)
- }
- }
- }, ni.prototype.evaluate = function () {
- this.value = this.get(), this.dirty = !1
- }, ni.prototype.depend = function () {
- var t = this.deps.length;
- while (t--) this.deps[t].depend()
- }, ni.prototype.teardown = function () {
- if (this.active) {
- this.vm._isBeingDestroyed || b(this.vm._watchers, this);
- var t = this.deps.length;
- while (t--) this.deps[t].removeSub(this);
- this.active = !1
- }
- };
- var ii = {enumerable: !0, configurable: !0, get: $, set: $};
- function ri(t, e, n) {
- ii.get = function () {
- return this[e][n]
- }, ii.set = function (t) {
- this[e][n] = t
- }, Object.defineProperty(t, n, ii)
- }
- function oi(t) {
- t._watchers = [];
- var e = t.$options;
- e.props && ai(t, e.props), e.methods && pi(t, e.methods), e.data ? si(t) : It(t._data = {}, !0), e.computed && li(t, e.computed), e.watch && e.watch !== ot && vi(t, e.watch)
- }
- function ai(t, e) {
- var n = t.$options.propsData || {}, i = t._props = {}, r = t.$options._propKeys = [], o = !t.$parent;
- o || At(!1);
- var a = function (o) {
- r.push(o);
- var a = Gt(o, e, n, t);
- $t(i, o, a), o in t || ri(t, "_props", o)
- };
- for (var s in e) a(s);
- At(!0)
- }
- function si(t) {
- var e = t.$options.data;
- e = t._data = "function" === typeof e ? ci(e, t) : e || {}, l(e) || (e = {});
- var n = Object.keys(e), i = t.$options.props, r = (t.$options.methods, n.length);
- while (r--) {
- var o = n[r];
- 0, i && _(i, o) || H(o) || ri(t, "_data", o)
- }
- It(e, !0)
- }
- function ci(t, e) {
- gt();
- try {
- return t.call(e, e)
- } catch (Ma) {
- return te(Ma, e, "data()"), {}
- } finally {
- mt()
- }
- }
- var ui = {lazy: !0};
- function li(t, e) {
- var n = t._computedWatchers = Object.create(null), i = ct();
- for (var r in e) {
- var o = e[r], a = "function" === typeof o ? o : o.get;
- 0, i || (n[r] = new ni(t, a || $, $, ui)), r in t || fi(t, r, o)
- }
- }
- function fi(t, e, n) {
- var i = !ct();
- "function" === typeof n ? (ii.get = i ? di(e) : hi(n), ii.set = $) : (ii.get = n.get ? i && !1 !== n.cache ? di(e) : hi(n.get) : $, ii.set = n.set || $), Object.defineProperty(t, e, ii)
- }
- function di(t) {
- return function () {
- var e = this._computedWatchers && this._computedWatchers[t];
- if (e) return e.dirty && e.evaluate(), vt.SharedObject.target && e.depend(), e.value
- }
- }
- function hi(t) {
- return function () {
- return t.call(this, this)
- }
- }
- function pi(t, e) {
- t.$options.props;
- for (var n in e) t[n] = "function" !== typeof e[n] ? $ : E(e[n], t)
- }
- function vi(t, e) {
- for (var n in e) {
- var i = e[n];
- if (Array.isArray(i)) for (var r = 0; r < i.length; r++) gi(t, n, i[r]); else gi(t, n, i)
- }
- }
- function gi(t, e, n, i) {
- return l(n) && (i = n, n = n.handler), "string" === typeof n && (n = t[n]), t.$watch(e, n, i)
- }
- function mi(t) {
- var e = {
- get: function () {
- return this._data
- }
- }, n = {
- get: function () {
- return this._props
- }
- };
- Object.defineProperty(t.prototype, "$data", e), Object.defineProperty(t.prototype, "$props", n), t.prototype.$set = Pt, t.prototype.$delete = Lt, t.prototype.$watch = function (t, e, n) {
- var i = this;
- if (l(e)) return gi(i, t, e, n);
- n = n || {}, n.user = !0;
- var r = new ni(i, t, e, n);
- if (n.immediate) try {
- e.call(i, r.value)
- } catch (o) {
- te(o, i, 'callback for immediate watcher "' + r.expression + '"')
- }
- return function () {
- r.teardown()
- }
- }
- }
- var bi = 0;
- function yi(t) {
- t.prototype._init = function (t) {
- var e = this;
- e._uid = bi++, e._isVue = !0, t && t._isComponent ? _i(e, t) : e.$options = Yt(wi(e.constructor), t || {}, e), e._renderProxy = e, e._self = e, In(e), xn(e), vn(e), Bn(e, "beforeCreate"), !e._$fallback && Ee(e), oi(e), !e._$fallback && Ae(e), !e._$fallback && Bn(e, "created"), e.$options.el && e.$mount(e.$options.el)
- }
- }
- function _i(t, e) {
- var n = t.$options = Object.create(t.constructor.options), i = e._parentVnode;
- n.parent = e.parent, n._parentVnode = i;
- var r = i.componentOptions;
- n.propsData = r.propsData, n._parentListeners = r.listeners, n._renderChildren = r.children, n._componentTag = r.tag, e.render && (n.render = e.render, n.staticRenderFns = e.staticRenderFns)
- }
- function wi(t) {
- var e = t.options;
- if (t.super) {
- var n = wi(t.super), i = t.superOptions;
- if (n !== i) {
- t.superOptions = n;
- var r = ki(t);
- r && M(t.extendOptions, r), e = t.options = Yt(n, t.extendOptions), e.name && (e.components[e.name] = t)
- }
- }
- return e
- }
- function ki(t) {
- var e, n = t.options, i = t.sealedOptions;
- for (var r in n) n[r] !== i[r] && (e || (e = {}), e[r] = n[r]);
- return e
- }
- function Si(t) {
- this._init(t)
- }
- function xi(t) {
- t.use = function (t) {
- var e = this._installedPlugins || (this._installedPlugins = []);
- if (e.indexOf(t) > -1) return this;
- var n = j(arguments, 1);
- return n.unshift(this), "function" === typeof t.install ? t.install.apply(t, n) : "function" === typeof t && t.apply(null, n), e.push(t), this
- }
- }
- function Ci(t) {
- t.mixin = function (t) {
- return this.options = Yt(this.options, t), this
- }
- }
- function Ti(t) {
- t.cid = 0;
- var e = 1;
- t.extend = function (t) {
- t = t || {};
- var n = this, i = n.cid, r = t._Ctor || (t._Ctor = {});
- if (r[i]) return r[i];
- var o = t.name || n.options.name;
- var a = function (t) {
- this._init(t)
- };
- return a.prototype = Object.create(n.prototype), a.prototype.constructor = a, a.cid = e++, a.options = Yt(n.options, t), a["super"] = n, a.options.props && Oi(a), a.options.computed && Ai(a), a.extend = n.extend, a.mixin = n.mixin, a.use = n.use, F.forEach((function (t) {
- a[t] = n[t]
- })), o && (a.options.components[o] = a), a.superOptions = n.options, a.extendOptions = t, a.sealedOptions = M({}, a.options), r[i] = a, a
- }
- }
- function Oi(t) {
- var e = t.options.props;
- for (var n in e) ri(t.prototype, "_props", n)
- }
- function Ai(t) {
- var e = t.options.computed;
- for (var n in e) fi(t.prototype, n, e[n])
- }
- function Ei(t) {
- F.forEach((function (e) {
- t[e] = function (t, n) {
- return n ? ("component" === e && l(n) && (n.name = n.name || t, n = this.options._base.extend(n)), "directive" === e && "function" === typeof n && (n = {
- bind: n,
- update: n
- }), this.options[e + "s"][t] = n, n) : this.options[e + "s"][t]
- }
- }))
- }
- function ji(t) {
- return t && (t.Ctor.options.name || t.tag)
- }
- function Mi(t, e) {
- return Array.isArray(t) ? t.indexOf(e) > -1 : "string" === typeof t ? t.split(",").indexOf(e) > -1 : !!f(t) && t.test(e)
- }
- function Ii(t, e) {
- var n = t.cache, i = t.keys, r = t._vnode;
- for (var o in n) {
- var a = n[o];
- if (a) {
- var s = ji(a.componentOptions);
- s && !e(s) && $i(n, o, i, r)
- }
- }
- }
- function $i(t, e, n, i) {
- var r = t[e];
- !r || i && r.tag === i.tag || r.componentInstance.$destroy(), t[e] = null, b(n, e)
- }
- yi(Si), mi(Si), En(Si), $n(Si), bn(Si);
- var Pi = [String, RegExp, Array], Li = {
- name: "keep-alive",
- abstract: !0,
- props: {include: Pi, exclude: Pi, max: [String, Number]},
- created: function () {
- this.cache = Object.create(null), this.keys = []
- },
- destroyed: function () {
- for (var t in this.cache) $i(this.cache, t, this.keys)
- },
- mounted: function () {
- var t = this;
- this.$watch("include", (function (e) {
- Ii(t, (function (t) {
- return Mi(e, t)
- }))
- })), this.$watch("exclude", (function (e) {
- Ii(t, (function (t) {
- return !Mi(e, t)
- }))
- }))
- },
- render: function () {
- var t = this.$slots.default, e = Sn(t), n = e && e.componentOptions;
- if (n) {
- var i = ji(n), r = this, o = r.include, a = r.exclude;
- if (o && (!i || !Mi(o, i)) || a && i && Mi(a, i)) return e;
- var s = this, c = s.cache, u = s.keys,
- l = null == e.key ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") : e.key;
- c[l] ? (e.componentInstance = c[l].componentInstance, b(u, l), u.push(l)) : (c[l] = e, u.push(l), this.max && u.length > parseInt(this.max) && $i(c, u[0], u, this._vnode)), e.data.keepAlive = !0
- }
- return e || t && t[0]
- }
- }, Ri = {KeepAlive: Li};
- function Ni(t) {
- var e = {
- get: function () {
- return W
- }
- };
- Object.defineProperty(t, "config", e), t.util = {
- warn: ht,
- extend: M,
- mergeOptions: Yt,
- defineReactive: $t
- }, t.set = Pt, t.delete = Lt, t.nextTick = he, t.observable = function (t) {
- return It(t), t
- }, t.options = Object.create(null), F.forEach((function (e) {
- t.options[e + "s"] = Object.create(null)
- })), t.options._base = t, M(t.options.components, Ri), xi(t), Ci(t), Ti(t), Ei(t)
- }
- Ni(Si), Object.defineProperty(Si.prototype, "$isServer", {get: ct}), Object.defineProperty(Si.prototype, "$ssrContext", {
- get: function () {
- return this.$vnode && this.$vnode.ssrContext
- }
- }), Object.defineProperty(Si, "FunctionalRenderContext", {value: Ke}), Si.version = "2.6.11";
- var Di = g("style,class"), Bi = g("input,textarea,option,select,progress"), Fi = function (t, e, n) {
- return "value" === n && Bi(t) && "button" !== e || "selected" === n && "option" === t || "checked" === n && "input" === t || "muted" === n && "video" === t
- }, zi = g("contenteditable,draggable,spellcheck"), Wi = g("events,caret,typing,plaintext-only"),
- qi = function (t, e) {
- return Xi(e) || "false" === e ? "false" : "contenteditable" === t && Wi(e) ? e : "true"
- },
- Hi = g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),
- Vi = "http://www.w3.org/1999/xlink", Ui = function (t) {
- return ":" === t.charAt(5) && "xlink" === t.slice(0, 5)
- }, Yi = function (t) {
- return Ui(t) ? t.slice(6, t.length) : ""
- }, Xi = function (t) {
- return null == t || !1 === t
- };
- function Gi(t) {
- var e = t.data, n = t, i = t;
- while (r(i.componentInstance)) i = i.componentInstance._vnode, i && i.data && (e = Qi(i.data, e));
- while (r(n = n.parent)) n && n.data && (e = Qi(e, n.data));
- return Ki(e.staticClass, e.class)
- }
- function Qi(t, e) {
- return {staticClass: Ji(t.staticClass, e.staticClass), class: r(t.class) ? [t.class, e.class] : e.class}
- }
- function Ki(t, e) {
- return r(t) || r(e) ? Ji(t, Zi(e)) : ""
- }
- function Ji(t, e) {
- return t ? e ? t + " " + e : t : e || ""
- }
- function Zi(t) {
- return Array.isArray(t) ? tr(t) : c(t) ? er(t) : "string" === typeof t ? t : ""
- }
- function tr(t) {
- for (var e, n = "", i = 0, o = t.length; i < o; i++) r(e = Zi(t[i])) && "" !== e && (n && (n += " "), n += e);
- return n
- }
- function er(t) {
- var e = "";
- for (var n in t) t[n] && (e && (e += " "), e += n);
- return e
- }
- var nr = {svg: "http://www.w3.org/2000/svg", math: "http://www.w3.org/1998/Math/MathML"},
- ir = g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),
- rr = g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view", !0),
- or = function (t) {
- return ir(t) || rr(t)
- };
- function ar(t) {
- return rr(t) ? "svg" : "math" === t ? "math" : void 0
- }
- var sr = Object.create(null);
- function cr(t) {
- if (!Q) return !0;
- if (or(t)) return !1;
- if (t = t.toLowerCase(), null != sr[t]) return sr[t];
- var e = document.createElement(t);
- return t.indexOf("-") > -1 ? sr[t] = e.constructor === window.HTMLUnknownElement || e.constructor === window.HTMLElement : sr[t] = /HTMLUnknownElement/.test(e.toString())
- }
- var ur = g("text,number,password,search,email,tel,url");
- function lr(t) {
- if ("string" === typeof t) {
- var e = document.querySelector(t);
- return e || document.createElement("div")
- }
- return t
- }
- function fr(t, e) {
- var n = document.createElement(t);
- return "select" !== t || e.data && e.data.attrs && void 0 !== e.data.attrs.multiple && n.setAttribute("multiple", "multiple"), n
- }
- function dr(t, e) {
- return document.createElementNS(nr[t], e)
- }
- function hr(t) {
- return document.createTextNode(t)
- }
- function pr(t) {
- return document.createComment(t)
- }
- function vr(t, e, n) {
- t.insertBefore(e, n)
- }
- function gr(t, e) {
- t.removeChild(e)
- }
- function mr(t, e) {
- t.appendChild(e)
- }
- function br(t) {
- return t.parentNode
- }
- function yr(t) {
- return t.nextSibling
- }
- function _r(t) {
- return t.tagName
- }
- function wr(t, e) {
- t.textContent = e
- }
- function kr(t, e) {
- t.setAttribute(e, "")
- }
- var Sr = Object.freeze({
- createElement: fr,
- createElementNS: dr,
- createTextNode: hr,
- createComment: pr,
- insertBefore: vr,
- removeChild: gr,
- appendChild: mr,
- parentNode: br,
- nextSibling: yr,
- tagName: _r,
- setTextContent: wr,
- setStyleScope: kr
- }), xr = {
- create: function (t, e) {
- Cr(e)
- }, update: function (t, e) {
- t.data.ref !== e.data.ref && (Cr(t, !0), Cr(e))
- }, destroy: function (t) {
- Cr(t, !0)
- }
- };
- function Cr(t, e) {
- var n = t.data.ref;
- if (r(n)) {
- var i = t.context, o = t.componentInstance || t.elm, a = i.$refs;
- e ? Array.isArray(a[n]) ? b(a[n], o) : a[n] === o && (a[n] = void 0) : t.data.refInFor ? Array.isArray(a[n]) ? a[n].indexOf(o) < 0 && a[n].push(o) : a[n] = [o] : a[n] = o
- }
- }
- var Tr = new bt("", {}, []), Or = ["create", "activate", "update", "remove", "destroy"];
- function Ar(t, e) {
- return t.key === e.key && (t.tag === e.tag && t.isComment === e.isComment && r(t.data) === r(e.data) && Er(t, e) || o(t.isAsyncPlaceholder) && t.asyncFactory === e.asyncFactory && i(e.asyncFactory.error))
- }
- function Er(t, e) {
- if ("input" !== t.tag) return !0;
- var n, i = r(n = t.data) && r(n = n.attrs) && n.type, o = r(n = e.data) && r(n = n.attrs) && n.type;
- return i === o || ur(i) && ur(o)
- }
- function jr(t, e, n) {
- var i, o, a = {};
- for (i = e; i <= n; ++i) o = t[i].key, r(o) && (a[o] = i);
- return a
- }
- function Mr(t) {
- var e, n, a = {}, c = t.modules, u = t.nodeOps;
- for (e = 0; e < Or.length; ++e) for (a[Or[e]] = [], n = 0; n < c.length; ++n) r(c[n][Or[e]]) && a[Or[e]].push(c[n][Or[e]]);
- function l(t) {
- return new bt(u.tagName(t).toLowerCase(), {}, [], void 0, t)
- }
- function f(t, e) {
- function n() {
- 0 === --n.listeners && d(t)
- }
- return n.listeners = e, n
- }
- function d(t) {
- var e = u.parentNode(t);
- r(e) && u.removeChild(e, t)
- }
- function h(t, e, n, i, a, s, c) {
- if (r(t.elm) && r(s) && (t = s[c] = kt(t)), t.isRootInsert = !a, !p(t, e, n, i)) {
- var l = t.data, f = t.children, d = t.tag;
- r(d) ? (t.elm = t.ns ? u.createElementNS(t.ns, d) : u.createElement(d, t), k(t), y(t, f, e), r(l) && w(t, e), b(n, t.elm, i)) : o(t.isComment) ? (t.elm = u.createComment(t.text), b(n, t.elm, i)) : (t.elm = u.createTextNode(t.text), b(n, t.elm, i))
- }
- }
- function p(t, e, n, i) {
- var a = t.data;
- if (r(a)) {
- var s = r(t.componentInstance) && a.keepAlive;
- if (r(a = a.hook) && r(a = a.init) && a(t, !1), r(t.componentInstance)) return v(t, e), b(n, t.elm, i), o(s) && m(t, e, n, i), !0
- }
- }
- function v(t, e) {
- r(t.data.pendingInsert) && (e.push.apply(e, t.data.pendingInsert), t.data.pendingInsert = null), t.elm = t.componentInstance.$el, _(t) ? (w(t, e), k(t)) : (Cr(t), e.push(t))
- }
- function m(t, e, n, i) {
- var o, s = t;
- while (s.componentInstance) if (s = s.componentInstance._vnode, r(o = s.data) && r(o = o.transition)) {
- for (o = 0; o < a.activate.length; ++o) a.activate[o](Tr, s);
- e.push(s);
- break
- }
- b(n, t.elm, i)
- }
- function b(t, e, n) {
- r(t) && (r(n) ? u.parentNode(n) === t && u.insertBefore(t, e, n) : u.appendChild(t, e))
- }
- function y(t, e, n) {
- if (Array.isArray(e)) {
- 0;
- for (var i = 0; i < e.length; ++i) h(e[i], n, t.elm, null, !0, e, i)
- } else s(t.text) && u.appendChild(t.elm, u.createTextNode(String(t.text)))
- }
- function _(t) {
- while (t.componentInstance) t = t.componentInstance._vnode;
- return r(t.tag)
- }
- function w(t, n) {
- for (var i = 0; i < a.create.length; ++i) a.create[i](Tr, t);
- e = t.data.hook, r(e) && (r(e.create) && e.create(Tr, t), r(e.insert) && n.push(t))
- }
- function k(t) {
- var e;
- if (r(e = t.fnScopeId)) u.setStyleScope(t.elm, e); else {
- var n = t;
- while (n) r(e = n.context) && r(e = e.$options._scopeId) && u.setStyleScope(t.elm, e), n = n.parent
- }
- r(e = jn) && e !== t.context && e !== t.fnContext && r(e = e.$options._scopeId) && u.setStyleScope(t.elm, e)
- }
- function S(t, e, n, i, r, o) {
- for (; i <= r; ++i) h(n[i], o, t, e, !1, n, i)
- }
- function x(t) {
- var e, n, i = t.data;
- if (r(i)) for (r(e = i.hook) && r(e = e.destroy) && e(t), e = 0; e < a.destroy.length; ++e) a.destroy[e](t);
- if (r(e = t.children)) for (n = 0; n < t.children.length; ++n) x(t.children[n])
- }
- function C(t, e, n) {
- for (; e <= n; ++e) {
- var i = t[e];
- r(i) && (r(i.tag) ? (T(i), x(i)) : d(i.elm))
- }
- }
- function T(t, e) {
- if (r(e) || r(t.data)) {
- var n, i = a.remove.length + 1;
- for (r(e) ? e.listeners += i : e = f(t.elm, i), r(n = t.componentInstance) && r(n = n._vnode) && r(n.data) && T(n, e), n = 0; n < a.remove.length; ++n) a.remove[n](t, e);
- r(n = t.data.hook) && r(n = n.remove) ? n(t, e) : e()
- } else d(t.elm)
- }
- function O(t, e, n, o, a) {
- var s, c, l, f, d = 0, p = 0, v = e.length - 1, g = e[0], m = e[v], b = n.length - 1, y = n[0],
- _ = n[b], w = !a;
- while (d <= v && p <= b) i(g) ? g = e[++d] : i(m) ? m = e[--v] : Ar(g, y) ? (E(g, y, o, n, p), g = e[++d], y = n[++p]) : Ar(m, _) ? (E(m, _, o, n, b), m = e[--v], _ = n[--b]) : Ar(g, _) ? (E(g, _, o, n, b), w && u.insertBefore(t, g.elm, u.nextSibling(m.elm)), g = e[++d], _ = n[--b]) : Ar(m, y) ? (E(m, y, o, n, p), w && u.insertBefore(t, m.elm, g.elm), m = e[--v], y = n[++p]) : (i(s) && (s = jr(e, d, v)), c = r(y.key) ? s[y.key] : A(y, e, d, v), i(c) ? h(y, o, t, g.elm, !1, n, p) : (l = e[c], Ar(l, y) ? (E(l, y, o, n, p), e[c] = void 0, w && u.insertBefore(t, l.elm, g.elm)) : h(y, o, t, g.elm, !1, n, p)), y = n[++p]);
- d > v ? (f = i(n[b + 1]) ? null : n[b + 1].elm, S(t, f, n, p, b, o)) : p > b && C(e, d, v)
- }
- function A(t, e, n, i) {
- for (var o = n; o < i; o++) {
- var a = e[o];
- if (r(a) && Ar(t, a)) return o
- }
- }
- function E(t, e, n, s, c, l) {
- if (t !== e) {
- r(e.elm) && r(s) && (e = s[c] = kt(e));
- var f = e.elm = t.elm;
- if (o(t.isAsyncPlaceholder)) r(e.asyncFactory.resolved) ? I(t.elm, e, n) : e.isAsyncPlaceholder = !0; else if (o(e.isStatic) && o(t.isStatic) && e.key === t.key && (o(e.isCloned) || o(e.isOnce))) e.componentInstance = t.componentInstance; else {
- var d, h = e.data;
- r(h) && r(d = h.hook) && r(d = d.prepatch) && d(t, e);
- var p = t.children, v = e.children;
- if (r(h) && _(e)) {
- for (d = 0; d < a.update.length; ++d) a.update[d](t, e);
- r(d = h.hook) && r(d = d.update) && d(t, e)
- }
- i(e.text) ? r(p) && r(v) ? p !== v && O(f, p, v, n, l) : r(v) ? (r(t.text) && u.setTextContent(f, ""), S(f, null, v, 0, v.length - 1, n)) : r(p) ? C(p, 0, p.length - 1) : r(t.text) && u.setTextContent(f, "") : t.text !== e.text && u.setTextContent(f, e.text), r(h) && r(d = h.hook) && r(d = d.postpatch) && d(t, e)
- }
- }
- }
- function j(t, e, n) {
- if (o(n) && r(t.parent)) t.parent.data.pendingInsert = e; else for (var i = 0; i < e.length; ++i) e[i].data.hook.insert(e[i])
- }
- var M = g("attrs,class,staticClass,staticStyle,key");
- function I(t, e, n, i) {
- var a, s = e.tag, c = e.data, u = e.children;
- if (i = i || c && c.pre, e.elm = t, o(e.isComment) && r(e.asyncFactory)) return e.isAsyncPlaceholder = !0, !0;
- if (r(c) && (r(a = c.hook) && r(a = a.init) && a(e, !0), r(a = e.componentInstance))) return v(e, n), !0;
- if (r(s)) {
- if (r(u)) if (t.hasChildNodes()) if (r(a = c) && r(a = a.domProps) && r(a = a.innerHTML)) {
- if (a !== t.innerHTML) return !1
- } else {
- for (var l = !0, f = t.firstChild, d = 0; d < u.length; d++) {
- if (!f || !I(f, u[d], n, i)) {
- l = !1;
- break
- }
- f = f.nextSibling
- }
- if (!l || f) return !1
- } else y(e, u, n);
- if (r(c)) {
- var h = !1;
- for (var p in c) if (!M(p)) {
- h = !0, w(e, n);
- break
- }
- !h && c["class"] && ve(c["class"])
- }
- } else t.data !== e.text && (t.data = e.text);
- return !0
- }
- return function (t, e, n, s) {
- if (!i(e)) {
- var c = !1, f = [];
- if (i(t)) c = !0, h(e, f); else {
- var d = r(t.nodeType);
- if (!d && Ar(t, e)) E(t, e, f, null, null, s); else {
- if (d) {
- if (1 === t.nodeType && t.hasAttribute(B) && (t.removeAttribute(B), n = !0), o(n) && I(t, e, f)) return j(e, f, !0), t;
- t = l(t)
- }
- var p = t.elm, v = u.parentNode(p);
- if (h(e, f, p._leaveCb ? null : v, u.nextSibling(p)), r(e.parent)) {
- var g = e.parent, m = _(e);
- while (g) {
- for (var b = 0; b < a.destroy.length; ++b) a.destroy[b](g);
- if (g.elm = e.elm, m) {
- for (var y = 0; y < a.create.length; ++y) a.create[y](Tr, g);
- var w = g.data.hook.insert;
- if (w.merged) for (var k = 1; k < w.fns.length; k++) w.fns[k]()
- } else Cr(g);
- g = g.parent
- }
- }
- r(v) ? C([t], 0, 0) : r(t.tag) && x(t)
- }
- }
- return j(e, f, c), e.elm
- }
- r(t) && x(t)
- }
- }
- var Ir = {
- create: $r, update: $r, destroy: function (t) {
- $r(t, Tr)
- }
- };
- function $r(t, e) {
- (t.data.directives || e.data.directives) && Pr(t, e)
- }
- function Pr(t, e) {
- var n, i, r, o = t === Tr, a = e === Tr, s = Rr(t.data.directives, t.context),
- c = Rr(e.data.directives, e.context), u = [], l = [];
- for (n in c) i = s[n], r = c[n], i ? (r.oldValue = i.value, r.oldArg = i.arg, Dr(r, "update", e, t), r.def && r.def.componentUpdated && l.push(r)) : (Dr(r, "bind", e, t), r.def && r.def.inserted && u.push(r));
- if (u.length) {
- var f = function () {
- for (var n = 0; n < u.length; n++) Dr(u[n], "inserted", e, t)
- };
- o ? _e(e, "insert", f) : f()
- }
- if (l.length && _e(e, "postpatch", (function () {
- for (var n = 0; n < l.length; n++) Dr(l[n], "componentUpdated", e, t)
- })), !o) for (n in s) c[n] || Dr(s[n], "unbind", t, t, a)
- }
- var Lr = Object.create(null);
- function Rr(t, e) {
- var n, i, r = Object.create(null);
- if (!t) return r;
- for (n = 0; n < t.length; n++) i = t[n], i.modifiers || (i.modifiers = Lr), r[Nr(i)] = i, i.def = Xt(e.$options, "directives", i.name, !0);
- return r
- }
- function Nr(t) {
- return t.rawName || t.name + "." + Object.keys(t.modifiers || {}).join(".")
- }
- function Dr(t, e, n, i, r) {
- var o = t.def && t.def[e];
- if (o) try {
- o(n.elm, t, n, i, r)
- } catch (Ma) {
- te(Ma, n.context, "directive " + t.name + " " + e + " hook")
- }
- }
- var Br = [xr, Ir];
- function Fr(t, e) {
- var n = {};
- return Object.keys(t).forEach((function (i) {
- e[i] && (n[t[i]] = e[i], delete e[i])
- })), n
- }
- function zr(t, e) {
- if (!i(t.data.wxsProps) || !i(e.data.wxsProps)) {
- var n = t.$wxsWatches, r = Object.keys(e.data.wxsProps);
- if (n || r.length) {
- n || (n = {});
- var o = Fr(e.data.wxsProps, e.data.attrs), a = e.context;
- e.$wxsWatches = {}, Object.keys(o).forEach((function (t) {
- var i = t;
- e.context.wxsProps && (i = "wxsProps." + t), e.$wxsWatches[t] = n[t] || e.context.$watch(i, (function (n, i) {
- o[t](n, i, a.$getComponentDescriptor(a, !0), e.elm.__vue__.$getComponentDescriptor(e.elm.__vue__, !1))
- }), {immediate: !0, deep: !0})
- })), Object.keys(n).forEach((function (t) {
- e.$wxsWatches[t] || (n[t](), delete n[t])
- }))
- }
- }
- }
- var Wr = {create: zr, update: zr};
- function qr(t, e) {
- var n = e.componentOptions;
- if ((!r(n) || !1 !== n.Ctor.options.inheritAttrs) && (!i(t.data.attrs) || !i(e.data.attrs))) {
- var o, a, s, c = e.elm, u = t.data.attrs || {}, l = e.data.attrs || {};
- for (o in r(l.__ob__) && (l = e.data.attrs = M({}, l)), l) a = l[o], s = u[o], s !== a && Hr(c, o, a);
- for (o in (tt || nt) && l.value !== u.value && Hr(c, "value", l.value), u) i(l[o]) && (Ui(o) ? c.removeAttributeNS(Vi, Yi(o)) : zi(o) || c.removeAttribute(o))
- }
- }
- function Hr(t, e, n) {
- t.tagName.indexOf("-") > -1 ? Vr(t, e, n) : Hi(e) ? Xi(n) ? t.removeAttribute(e) : (n = "allowfullscreen" === e && "EMBED" === t.tagName ? "true" : e, t.setAttribute(e, n)) : zi(e) ? t.setAttribute(e, qi(e, n)) : Ui(e) ? Xi(n) ? t.removeAttributeNS(Vi, Yi(e)) : t.setAttributeNS(Vi, e, n) : Vr(t, e, n)
- }
- function Vr(t, e, n) {
- if (Xi(n)) t.removeAttribute(e); else {
- if (tt && !et && "TEXTAREA" === t.tagName && "placeholder" === e && "" !== n && !t.__ieph) {
- var i = function (e) {
- e.stopImmediatePropagation(), t.removeEventListener("input", i)
- };
- t.addEventListener("input", i), t.__ieph = !0
- }
- t.setAttribute(e, n)
- }
- }
- var Ur = {create: qr, update: qr};
- function Yr(t, e) {
- var n = e.elm, o = e.data, a = t.data;
- if (!(i(o.staticClass) && i(o.class) && (i(a) || i(a.staticClass) && i(a.class)) && i(n.__wxsAddClass) && i(n.__wxsRemoveClass))) {
- var s = Gi(e), c = n._transitionClasses;
- if (r(c) && (s = Ji(s, Zi(c))), Array.isArray(n.__wxsRemoveClass) && n.__wxsRemoveClass.length) {
- var u = s.split(/\s+/);
- n.__wxsRemoveClass.forEach((function (t) {
- var e = u.findIndex((function (e) {
- return e === t
- }));
- -1 !== e && u.splice(e, 1)
- })), s = u.join(" "), n.__wxsRemoveClass.length = 0
- }
- if (n.__wxsAddClass) {
- var l = s.split(/\s+/).concat(n.__wxsAddClass.split(/\s+/)), f = Object.create(null);
- l.forEach((function (t) {
- t && (f[t] = 1)
- })), s = Object.keys(f).join(" ")
- }
- var d = e.context, h = d.$options.mpOptions && d.$options.mpOptions.externalClasses;
- Array.isArray(h) && h.forEach((function (t) {
- var e = d[S(t)];
- e && (s = s.replace(t, e))
- })), s !== n._prevClass && (n.setAttribute("class", s), n._prevClass = s)
- }
- }
- var Xr, Gr = {create: Yr, update: Yr}, Qr = "__r", Kr = "__c";
- function Jr(t) {
- if (r(t[Qr])) {
- var e = tt ? "change" : "input";
- t[e] = [].concat(t[Qr], t[e] || []), delete t[Qr]
- }
- r(t[Kr]) && (t.change = [].concat(t[Kr], t.change || []), delete t[Kr])
- }
- function Zr(t, e, n) {
- var i = Xr;
- return function r() {
- var o = e.apply(null, arguments);
- null !== o && no(t, r, n, i)
- }
- }
- var to = oe && !(rt && Number(rt[1]) <= 53);
- function eo(t, e, n, i) {
- if (to) {
- var r = Yn, o = e;
- e = o._wrapper = function (t) {
- if (t.target === t.currentTarget || t.timeStamp >= r || t.timeStamp <= 0 || t.target.ownerDocument !== document) return o.apply(this, arguments)
- }
- }
- Xr.addEventListener(t, e, at ? {capture: n, passive: i} : n)
- }
- function no(t, e, n, i) {
- (i || Xr).removeEventListener(t, e._wrapper || e, n)
- }
- function io(t, e) {
- if (!i(t.data.on) || !i(e.data.on)) {
- var n = e.data.on || {}, r = t.data.on || {};
- Xr = e.elm, Jr(n), ye(n, r, eo, no, Zr, e.context), Xr = void 0
- }
- }
- var ro, oo = {create: io, update: io};
- function ao(t, e) {
- if (!i(t.data.domProps) || !i(e.data.domProps)) {
- var n, o, a = e.elm, s = t.data.domProps || {}, c = e.data.domProps || {};
- for (n in r(c.__ob__) && (c = e.data.domProps = M({}, c)), s) n in c || (a[n] = "");
- for (n in c) {
- if (o = c[n], "textContent" === n || "innerHTML" === n) {
- if (e.children && (e.children.length = 0), o === s[n]) continue;
- 1 === a.childNodes.length && a.removeChild(a.childNodes[0])
- }
- if ("value" === n && "PROGRESS" !== a.tagName) {
- a._value = o;
- var u = i(o) ? "" : String(o);
- so(a, u) && (a.value = u)
- } else if ("innerHTML" === n && rr(a.tagName) && i(a.innerHTML)) {
- ro = ro || document.createElement("div"), ro.innerHTML = "<svg>" + o + "</svg>";
- var l = ro.firstChild;
- while (a.firstChild) a.removeChild(a.firstChild);
- while (l.firstChild) a.appendChild(l.firstChild)
- } else if (o !== s[n]) try {
- a[n] = o
- } catch (Ma) {
- }
- }
- }
- }
- function so(t, e) {
- return !t.composing && ("OPTION" === t.tagName || co(t, e) || uo(t, e))
- }
- function co(t, e) {
- var n = !0;
- try {
- n = document.activeElement !== t
- } catch (Ma) {
- }
- return n && t.value !== e
- }
- function uo(t, e) {
- var n = t.value, i = t._vModifiers;
- if (r(i)) {
- if (i.number) return v(n) !== v(e);
- if (i.trim) return n.trim() !== e.trim()
- }
- return n !== e
- }
- var lo = {create: ao, update: ao}, fo = w((function (t) {
- var e = {}, n = /;(?![^(]*\))/g, i = /:(.+)/;
- return t.split(n).forEach((function (t) {
- if (t) {
- var n = t.split(i);
- n.length > 1 && (e[n[0].trim()] = n[1].trim())
- }
- })), e
- }));
- function ho(t) {
- var e = po(t.style);
- return t.staticStyle ? M(t.staticStyle, e) : e
- }
- function po(t) {
- return Array.isArray(t) ? I(t) : "string" === typeof t ? fo(t) : t
- }
- function vo(t, e) {
- var n, i = {};
- if (e) {
- var r = t;
- while (r.componentInstance) r = r.componentInstance._vnode, r && r.data && (n = ho(r.data)) && M(i, n)
- }
- (n = ho(t.data)) && M(i, n);
- var o = t;
- while (o = o.parent) o.data && (n = ho(o.data)) && M(i, n);
- return i
- }
- var go, mo = /^--/, bo = /\s*!important$/, yo = /\b([+-]?\d+(\.\d+)?)[r|u]px\b/g, _o = function (t) {
- return "string" === typeof t ? t.replace(yo, (function (t, e) {
- return uni.upx2px(e) + "px"
- })) : t
- }, wo = /url\(\s*['"](.+?\.(jpg|gif|png))['"]\s*\)/,
- ko = /url\(\s*([a-zA-Z0-9\.\-\_\/]+?\.(jpg|gif|png))\s*\)/, So = function (t, e) {
- if ("string" === typeof t && -1 !== t.indexOf("url(")) {
- var n = t.match(wo) || t.match(ko);
- n && 3 === n.length && (t = t.replace(n[1], e._$getRealPath(n[1])))
- }
- return t
- }, xo = function (t, e, n, i) {
- if (i && i._$getRealPath && n && (n = So(n, i)), mo.test(e)) t.style.setProperty(e, n); else if (bo.test(n)) t.style.setProperty(T(e), n.replace(bo, ""), "important"); else {
- var r = To(e);
- if (Array.isArray(n)) for (var o = 0, a = n.length; o < a; o++) t.style[r] = _o(n[o]); else t.style[r] = _o(n)
- }
- }, Co = ["Webkit", "Moz", "ms"], To = w((function (t) {
- if (go = go || document.createElement("div").style, t = S(t), "filter" !== t && t in go) return t;
- for (var e = t.charAt(0).toUpperCase() + t.slice(1), n = 0; n < Co.length; n++) {
- var i = Co[n] + e;
- if (i in go) return i
- }
- }));
- function Oo(t, e) {
- var n = e.data, o = t.data, a = e.elm;
- if (!(i(n.staticStyle) && i(n.style) && i(o.staticStyle) && i(o.style) && i(a.__wxsStyle))) {
- var s, c, u = o.staticStyle, l = o.normalizedStyle || o.style || {}, f = u || l,
- d = po(e.data.style) || {};
- e.data.normalizedStyle = r(d.__ob__) ? M({}, d) : d;
- var h = vo(e, !0);
- for (c in a.__wxsStyle && (Object.assign(e.data.normalizedStyle, a.__wxsStyle), Object.assign(h, a.__wxsStyle)), f) i(h[c]) && xo(a, c, "");
- for (c in h) s = h[c], s !== f[c] && xo(a, c, null == s ? "" : s, e.context)
- }
- }
- var Ao = {create: Oo, update: Oo}, Eo = /\s+/;
- function jo(t, e) {
- if (e && (e = e.trim())) if (t.classList) e.indexOf(" ") > -1 ? e.split(Eo).forEach((function (e) {
- return t.classList.add(e)
- })) : t.classList.add(e); else {
- var n = " " + (t.getAttribute("class") || "") + " ";
- n.indexOf(" " + e + " ") < 0 && t.setAttribute("class", (n + e).trim())
- }
- }
- function Mo(t, e) {
- if (e && (e = e.trim())) if (t.classList) e.indexOf(" ") > -1 ? e.split(Eo).forEach((function (e) {
- return t.classList.remove(e)
- })) : t.classList.remove(e), t.classList.length || t.removeAttribute("class"); else {
- var n = " " + (t.getAttribute("class") || "") + " ", i = " " + e + " ";
- while (n.indexOf(i) >= 0) n = n.replace(i, " ");
- n = n.trim(), n ? t.setAttribute("class", n) : t.removeAttribute("class")
- }
- }
- function Io(t) {
- if (t) {
- if ("object" === typeof t) {
- var e = {};
- return !1 !== t.css && M(e, $o(t.name || "v")), M(e, t), e
- }
- return "string" === typeof t ? $o(t) : void 0
- }
- }
- var $o = w((function (t) {
- return {
- enterClass: t + "-enter",
- enterToClass: t + "-enter-to",
- enterActiveClass: t + "-enter-active",
- leaveClass: t + "-leave",
- leaveToClass: t + "-leave-to",
- leaveActiveClass: t + "-leave-active"
- }
- })), Po = Q && !et, Lo = "transition", Ro = "animation", No = "transition", Do = "transitionend",
- Bo = "animation", Fo = "animationend";
- Po && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && (No = "WebkitTransition", Do = "webkitTransitionEnd"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Bo = "WebkitAnimation", Fo = "webkitAnimationEnd"));
- var zo = Q ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : function (t) {
- return t()
- };
- function Wo(t) {
- zo((function () {
- zo(t)
- }))
- }
- function qo(t, e) {
- var n = t._transitionClasses || (t._transitionClasses = []);
- n.indexOf(e) < 0 && (n.push(e), jo(t, e))
- }
- function Ho(t, e) {
- t._transitionClasses && b(t._transitionClasses, e), Mo(t, e)
- }
- function Vo(t, e, n) {
- var i = Yo(t, e), r = i.type, o = i.timeout, a = i.propCount;
- if (!r) return n();
- var s = r === Lo ? Do : Fo, c = 0, u = function () {
- t.removeEventListener(s, l), n()
- }, l = function (e) {
- e.target === t && ++c >= a && u()
- };
- setTimeout((function () {
- c < a && u()
- }), o + 1), t.addEventListener(s, l)
- }
- var Uo = /\b(transform|all)(,|$)/;
- function Yo(t, e) {
- var n, i = window.getComputedStyle(t), r = (i[No + "Delay"] || "").split(", "),
- o = (i[No + "Duration"] || "").split(", "), a = Xo(r, o), s = (i[Bo + "Delay"] || "").split(", "),
- c = (i[Bo + "Duration"] || "").split(", "), u = Xo(s, c), l = 0, f = 0;
- e === Lo ? a > 0 && (n = Lo, l = a, f = o.length) : e === Ro ? u > 0 && (n = Ro, l = u, f = c.length) : (l = Math.max(a, u), n = l > 0 ? a > u ? Lo : Ro : null, f = n ? n === Lo ? o.length : c.length : 0);
- var d = n === Lo && Uo.test(i[No + "Property"]);
- return {type: n, timeout: l, propCount: f, hasTransform: d}
- }
- function Xo(t, e) {
- while (t.length < e.length) t = t.concat(t);
- return Math.max.apply(null, e.map((function (e, n) {
- return Go(e) + Go(t[n])
- })))
- }
- function Go(t) {
- return 1e3 * Number(t.slice(0, -1).replace(",", "."))
- }
- function Qo(t, e) {
- var n = t.elm;
- r(n._leaveCb) && (n._leaveCb.cancelled = !0, n._leaveCb());
- var o = Io(t.data.transition);
- if (!i(o) && !r(n._enterCb) && 1 === n.nodeType) {
- var a = o.css, s = o.type, u = o.enterClass, l = o.enterToClass, f = o.enterActiveClass,
- d = o.appearClass, h = o.appearToClass, p = o.appearActiveClass, g = o.beforeEnter, m = o.enter,
- b = o.afterEnter, y = o.enterCancelled, _ = o.beforeAppear, w = o.appear, k = o.afterAppear,
- S = o.appearCancelled, x = o.duration, C = jn, T = jn.$vnode;
- while (T && T.parent) C = T.context, T = T.parent;
- var O = !C._isMounted || !t.isRootInsert;
- if (!O || w || "" === w) {
- var A = O && d ? d : u, E = O && p ? p : f, j = O && h ? h : l, M = O && _ || g,
- I = O && "function" === typeof w ? w : m, $ = O && k || b, P = O && S || y,
- L = v(c(x) ? x.enter : x);
- 0;
- var R = !1 !== a && !et, N = Zo(I), B = n._enterCb = D((function () {
- R && (Ho(n, j), Ho(n, E)), B.cancelled ? (R && Ho(n, A), P && P(n)) : $ && $(n), n._enterCb = null
- }));
- t.data.show || _e(t, "insert", (function () {
- var e = n.parentNode, i = e && e._pending && e._pending[t.key];
- i && i.tag === t.tag && i.elm._leaveCb && i.elm._leaveCb(), I && I(n, B)
- })), M && M(n), R && (qo(n, A), qo(n, E), Wo((function () {
- Ho(n, A), B.cancelled || (qo(n, j), N || (Jo(L) ? setTimeout(B, L) : Vo(n, s, B)))
- }))), t.data.show && (e && e(), I && I(n, B)), R || N || B()
- }
- }
- }
- function Ko(t, e) {
- var n = t.elm;
- r(n._enterCb) && (n._enterCb.cancelled = !0, n._enterCb());
- var o = Io(t.data.transition);
- if (i(o) || 1 !== n.nodeType) return e();
- if (!r(n._leaveCb)) {
- var a = o.css, s = o.type, u = o.leaveClass, l = o.leaveToClass, f = o.leaveActiveClass,
- d = o.beforeLeave, h = o.leave, p = o.afterLeave, g = o.leaveCancelled, m = o.delayLeave,
- b = o.duration, y = !1 !== a && !et, _ = Zo(h), w = v(c(b) ? b.leave : b);
- 0;
- var k = n._leaveCb = D((function () {
- n.parentNode && n.parentNode._pending && (n.parentNode._pending[t.key] = null), y && (Ho(n, l), Ho(n, f)), k.cancelled ? (y && Ho(n, u), g && g(n)) : (e(), p && p(n)), n._leaveCb = null
- }));
- m ? m(S) : S()
- }
- function S() {
- k.cancelled || (!t.data.show && n.parentNode && ((n.parentNode._pending || (n.parentNode._pending = {}))[t.key] = t), d && d(n), y && (qo(n, u), qo(n, f), Wo((function () {
- Ho(n, u), k.cancelled || (qo(n, l), _ || (Jo(w) ? setTimeout(k, w) : Vo(n, s, k)))
- }))), h && h(n, k), y || _ || k())
- }
- }
- function Jo(t) {
- return "number" === typeof t && !isNaN(t)
- }
- function Zo(t) {
- if (i(t)) return !1;
- var e = t.fns;
- return r(e) ? Zo(Array.isArray(e) ? e[0] : e) : (t._length || t.length) > 1
- }
- function ta(t, e) {
- !0 !== e.data.show && Qo(e)
- }
- var ea = Q ? {
- create: ta, activate: ta, remove: function (t, e) {
- !0 !== t.data.show ? Ko(t, e) : e()
- }
- } : {}, na = [Wr, Ur, Gr, oo, lo, Ao, ea], ia = na.concat(Br), ra = Mr({nodeOps: Sr, modules: ia});
- et && document.addEventListener("selectionchange", (function () {
- var t = document.activeElement;
- t && t.vmodel && da(t, "input")
- }));
- var oa = {
- inserted: function (t, e, n, i) {
- "select" === n.tag ? (i.elm && !i.elm._vOptions ? _e(n, "postpatch", (function () {
- oa.componentUpdated(t, e, n)
- })) : aa(t, e, n.context), t._vOptions = [].map.call(t.options, ua)) : ("textarea" === n.tag || ur(t.type)) && (t._vModifiers = e.modifiers, e.modifiers.lazy || (t.addEventListener("compositionstart", la), t.addEventListener("compositionend", fa), t.addEventListener("change", fa), et && (t.vmodel = !0)))
- }, componentUpdated: function (t, e, n) {
- if ("select" === n.tag) {
- aa(t, e, n.context);
- var i = t._vOptions, r = t._vOptions = [].map.call(t.options, ua);
- if (r.some((function (t, e) {
- return !R(t, i[e])
- }))) {
- var o = t.multiple ? e.value.some((function (t) {
- return ca(t, r)
- })) : e.value !== e.oldValue && ca(e.value, r);
- o && da(t, "change")
- }
- }
- }
- };
- function aa(t, e, n) {
- sa(t, e, n), (tt || nt) && setTimeout((function () {
- sa(t, e, n)
- }), 0)
- }
- function sa(t, e, n) {
- var i = e.value, r = t.multiple;
- if (!r || Array.isArray(i)) {
- for (var o, a, s = 0, c = t.options.length; s < c; s++) if (a = t.options[s], r) o = N(i, ua(a)) > -1, a.selected !== o && (a.selected = o); else if (R(ua(a), i)) return void (t.selectedIndex !== s && (t.selectedIndex = s));
- r || (t.selectedIndex = -1)
- }
- }
- function ca(t, e) {
- return e.every((function (e) {
- return !R(e, t)
- }))
- }
- function ua(t) {
- return "_value" in t ? t._value : t.value
- }
- function la(t) {
- t.target.composing = !0
- }
- function fa(t) {
- t.target.composing && (t.target.composing = !1, da(t.target, "input"))
- }
- function da(t, e) {
- var n = document.createEvent("HTMLEvents");
- n.initEvent(e, !0, !0), t.dispatchEvent(n)
- }
- function ha(t) {
- return !t.componentInstance || t.data && t.data.transition ? t : ha(t.componentInstance._vnode)
- }
- var pa = {
- bind: function (t, e, n) {
- var i = e.value;
- n = ha(n);
- var r = n.data && n.data.transition,
- o = t.__vOriginalDisplay = "none" === t.style.display ? "" : t.style.display;
- i && r ? (n.data.show = !0, Qo(n, (function () {
- t.style.display = o
- }))) : t.style.display = i ? o : "none"
- }, update: function (t, e, n) {
- var i = e.value, r = e.oldValue;
- if (!i !== !r) {
- n = ha(n);
- var o = n.data && n.data.transition;
- o ? (n.data.show = !0, i ? Qo(n, (function () {
- t.style.display = t.__vOriginalDisplay
- })) : Ko(n, (function () {
- t.style.display = "none"
- }))) : t.style.display = i ? t.__vOriginalDisplay : "none"
- }
- }, unbind: function (t, e, n, i, r) {
- r || (t.style.display = t.__vOriginalDisplay)
- }
- }, va = {model: oa, show: pa}, ga = {
- name: String,
- appear: Boolean,
- css: Boolean,
- mode: String,
- type: String,
- enterClass: String,
- leaveClass: String,
- enterToClass: String,
- leaveToClass: String,
- enterActiveClass: String,
- leaveActiveClass: String,
- appearClass: String,
- appearActiveClass: String,
- appearToClass: String,
- duration: [Number, String, Object]
- };
- function ma(t) {
- var e = t && t.componentOptions;
- return e && e.Ctor.options.abstract ? ma(Sn(e.children)) : t
- }
- function ba(t) {
- var e = {}, n = t.$options;
- for (var i in n.propsData) e[i] = t[i];
- var r = n._parentListeners;
- for (var o in r) e[S(o)] = r[o];
- return e
- }
- function ya(t, e) {
- if (/\d-keep-alive$/.test(e.tag)) return t("keep-alive", {props: e.componentOptions.propsData})
- }
- function _a(t) {
- while (t = t.parent) if (t.data.transition) return !0
- }
- function wa(t, e) {
- return e.key === t.key && e.tag === t.tag
- }
- var ka = function (t) {
- return t.tag || kn(t)
- }, Sa = function (t) {
- return "show" === t.name
- }, xa = {
- name: "transition", props: ga, abstract: !0, render: function (t) {
- var e = this, n = this.$slots.default;
- if (n && (n = n.filter(ka), n.length)) {
- 0;
- var i = this.mode;
- 0;
- var r = n[0];
- if (_a(this.$vnode)) return r;
- var o = ma(r);
- if (!o) return r;
- if (this._leaving) return ya(t, r);
- var a = "__transition-" + this._uid + "-";
- o.key = null == o.key ? o.isComment ? a + "comment" : a + o.tag : s(o.key) ? 0 === String(o.key).indexOf(a) ? o.key : a + o.key : o.key;
- var c = (o.data || (o.data = {})).transition = ba(this), u = this._vnode, l = ma(u);
- if (o.data.directives && o.data.directives.some(Sa) && (o.data.show = !0), l && l.data && !wa(o, l) && !kn(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) {
- var f = l.data.transition = M({}, c);
- if ("out-in" === i) return this._leaving = !0, _e(f, "afterLeave", (function () {
- e._leaving = !1, e.$forceUpdate()
- })), ya(t, r);
- if ("in-out" === i) {
- if (kn(o)) return u;
- var d, h = function () {
- d()
- };
- _e(c, "afterEnter", h), _e(c, "enterCancelled", h), _e(f, "delayLeave", (function (t) {
- d = t
- }))
- }
- }
- return r
- }
- }
- }, Ca = M({tag: String, moveClass: String}, ga);
- delete Ca.mode;
- var Ta = {
- props: Ca, beforeMount: function () {
- var t = this, e = this._update;
- this._update = function (n, i) {
- var r = Mn(t);
- t.__patch__(t._vnode, t.kept, !1, !0), t._vnode = t.kept, r(), e.call(t, n, i)
- }
- }, render: function (t) {
- for (var e = this.tag || this.$vnode.data.tag || "span", n = Object.create(null), i = this.prevChildren = this.children, r = this.$slots.default || [], o = this.children = [], a = ba(this), s = 0; s < r.length; s++) {
- var c = r[s];
- if (c.tag) if (null != c.key && 0 !== String(c.key).indexOf("__vlist")) o.push(c), n[c.key] = c, (c.data || (c.data = {})).transition = a; else ;
- }
- if (i) {
- for (var u = [], l = [], f = 0; f < i.length; f++) {
- var d = i[f];
- d.data.transition = a, d.data.pos = d.elm.getBoundingClientRect(), n[d.key] ? u.push(d) : l.push(d)
- }
- this.kept = t(e, null, u), this.removed = l
- }
- return t(e, null, o)
- }, updated: function () {
- var t = this.prevChildren, e = this.moveClass || (this.name || "v") + "-move";
- t.length && this.hasMove(t[0].elm, e) && (t.forEach(Oa), t.forEach(Aa), t.forEach(Ea), this._reflow = document.body.offsetHeight, t.forEach((function (t) {
- if (t.data.moved) {
- var n = t.elm, i = n.style;
- qo(n, e), i.transform = i.WebkitTransform = i.transitionDuration = "", n.addEventListener(Do, n._moveCb = function t(i) {
- i && i.target !== n || i && !/transform$/.test(i.propertyName) || (n.removeEventListener(Do, t), n._moveCb = null, Ho(n, e))
- })
- }
- })))
- }, methods: {
- hasMove: function (t, e) {
- if (!Po) return !1;
- if (this._hasMove) return this._hasMove;
- var n = t.cloneNode();
- t._transitionClasses && t._transitionClasses.forEach((function (t) {
- Mo(n, t)
- })), jo(n, e), n.style.display = "none", this.$el.appendChild(n);
- var i = Yo(n);
- return this.$el.removeChild(n), this._hasMove = i.hasTransform
- }
- }
- };
- function Oa(t) {
- t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb()
- }
- function Aa(t) {
- t.data.newPos = t.elm.getBoundingClientRect()
- }
- function Ea(t) {
- var e = t.data.pos, n = t.data.newPos, i = e.left - n.left, r = e.top - n.top;
- if (i || r) {
- t.data.moved = !0;
- var o = t.elm.style;
- o.transform = o.WebkitTransform = "translate(" + i + "px," + r + "px)", o.transitionDuration = "0s"
- }
- }
- var ja = {Transition: xa, TransitionGroup: Ta};
- Si.config.mustUseProp = Fi, Si.config.isReservedTag = or, Si.config.isReservedAttr = Di, Si.config.getTagNamespace = ar, Si.config.isUnknownElement = cr, M(Si.options.directives, va), M(Si.options.components, ja), Si.prototype.__patch__ = Q ? ra : $, Si.prototype.__call_hook = function (t, e) {
- var n = this;
- gt();
- var i, r = n.$options[t], o = t + " hook";
- if (r) for (var a = 0, s = r.length; a < s; a++) i = ee(r[a], n, e ? [e] : null, n, o);
- return n._hasHookEvent && n.$emit("hook:" + t, e), mt(), i
- }, Si.prototype.$mount = function (t, e) {
- return t = t && Q ? lr(t) : void 0, Pn(this, t, e)
- }, Q && setTimeout((function () {
- W.devtools && ut && ut.emit("init", Si)
- }), 0), e["default"] = Si
- }.call(this, n("c8ba"))
- }, e163: function (t, e, n) {
- var i = n("5135"), r = n("7b0b"), o = n("f772"), a = n("e177"), s = o("IE_PROTO"), c = Object.prototype;
- t.exports = a ? Object.getPrototypeOf : function (t) {
- return t = r(t), i(t, s) ? t[s] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? c : null
- }
- }, e177: function (t, e, n) {
- var i = n("d039");
- t.exports = !i((function () {
- function t() {
- }
- return t.prototype.constructor = null, Object.getPrototypeOf(new t) !== t.prototype
- }))
- }, e25e: function (t, e, n) {
- var i = n("23e7"), r = n("c20d");
- i({global: !0, forced: parseInt != r}, {parseInt: r})
- }, e260: function (t, e, n) {
- "use strict";
- var i = n("fc6a"), r = n("44d2"), o = n("3f8c"), a = n("69f3"), s = n("7dd0"), c = "Array Iterator", u = a.set,
- l = a.getterFor(c);
- t.exports = s(Array, "Array", (function (t, e) {
- u(this, {type: c, target: i(t), index: 0, kind: e})
- }), (function () {
- var t = l(this), e = t.target, n = t.kind, i = t.index++;
- return !e || i >= e.length ? (t.target = void 0, {value: void 0, done: !0}) : "keys" == n ? {
- value: i,
- done: !1
- } : "values" == n ? {value: e[i], done: !1} : {value: [i, e[i]], done: !1}
- }), "values"), o.Arguments = o.Array, r("keys"), r("values"), r("entries")
- }, e2cc: function (t, e, n) {
- var i = n("6eeb");
- t.exports = function (t, e, n) {
- for (var r in e) i(t, r, e[r], n);
- return t
- }
- }, e439: function (t, e, n) {
- var i = n("23e7"), r = n("d039"), o = n("fc6a"), a = n("06cf").f, s = n("83ab"), c = r((function () {
- a(1)
- })), u = !s || c;
- i({target: "Object", stat: !0, forced: u, sham: !s}, {
- getOwnPropertyDescriptor: function (t, e) {
- return a(o(t), e)
- }
- })
- }, e538: function (t, e, n) {
- var i = n("b622");
- e.f = i
- }, e58c: function (t, e, n) {
- "use strict";
- var i = n("fc6a"), r = n("a691"), o = n("50c4"), a = n("a640"), s = n("ae40"), c = Math.min, u = [].lastIndexOf,
- l = !!u && 1 / [1].lastIndexOf(1, -0) < 0, f = a("lastIndexOf"), d = s("indexOf", {ACCESSORS: !0, 1: 0}),
- h = l || !f || !d;
- t.exports = h ? function (t) {
- if (l) return u.apply(this, arguments) || 0;
- var e = i(this), n = o(e.length), a = n - 1;
- for (arguments.length > 1 && (a = c(a, r(arguments[1]))), a < 0 && (a = n + a); a >= 0; a--) if (a in e && e[a] === t) return a || 0;
- return -1
- } : u
- }, e667: function (t, e) {
- t.exports = function (t) {
- try {
- return {error: !1, value: t()}
- } catch (e) {
- return {error: !0, value: e}
- }
- }
- }, e6cf: function (t, e, n) {
- "use strict";
- var i, r, o, a, s = n("23e7"), c = n("c430"), u = n("da84"), l = n("d066"), f = n("fea9"), d = n("6eeb"),
- h = n("e2cc"), p = n("d44e"), v = n("2626"), g = n("861d"), m = n("1c0b"), b = n("19aa"), y = n("c6b6"),
- _ = n("8925"), w = n("2266"), k = n("1c7e"), S = n("4840"), x = n("2cf4").set, C = n("b575"), T = n("cdf9"),
- O = n("44de"), A = n("f069"), E = n("e667"), j = n("69f3"), M = n("94ca"), I = n("b622"), $ = n("2d00"),
- P = I("species"), L = "Promise", R = j.get, N = j.set, D = j.getterFor(L), B = f, F = u.TypeError,
- z = u.document, W = u.process, q = l("fetch"), H = A.f, V = H, U = "process" == y(W),
- Y = !!(z && z.createEvent && u.dispatchEvent), X = "unhandledrejection", G = "rejectionhandled", Q = 0,
- K = 1, J = 2, Z = 1, tt = 2, et = M(L, (function () {
- var t = _(B) !== String(B);
- if (!t) {
- if (66 === $) return !0;
- if (!U && "function" != typeof PromiseRejectionEvent) return !0
- }
- if (c && !B.prototype["finally"]) return !0;
- if ($ >= 51 && /native code/.test(B)) return !1;
- var e = B.resolve(1), n = function (t) {
- t((function () {
- }), (function () {
- }))
- }, i = e.constructor = {};
- return i[P] = n, !(e.then((function () {
- })) instanceof n)
- })), nt = et || !k((function (t) {
- B.all(t)["catch"]((function () {
- }))
- })), it = function (t) {
- var e;
- return !(!g(t) || "function" != typeof (e = t.then)) && e
- }, rt = function (t, e, n) {
- if (!e.notified) {
- e.notified = !0;
- var i = e.reactions;
- C((function () {
- var r = e.value, o = e.state == K, a = 0;
- while (i.length > a) {
- var s, c, u, l = i[a++], f = o ? l.ok : l.fail, d = l.resolve, h = l.reject, p = l.domain;
- try {
- f ? (o || (e.rejection === tt && ct(t, e), e.rejection = Z), !0 === f ? s = r : (p && p.enter(), s = f(r), p && (p.exit(), u = !0)), s === l.promise ? h(F("Promise-chain cycle")) : (c = it(s)) ? c.call(s, d, h) : d(s)) : h(r)
- } catch (v) {
- p && !u && p.exit(), h(v)
- }
- }
- e.reactions = [], e.notified = !1, n && !e.rejection && at(t, e)
- }))
- }
- }, ot = function (t, e, n) {
- var i, r;
- Y ? (i = z.createEvent("Event"), i.promise = e, i.reason = n, i.initEvent(t, !1, !0), u.dispatchEvent(i)) : i = {
- promise: e,
- reason: n
- }, (r = u["on" + t]) ? r(i) : t === X && O("Unhandled promise rejection", n)
- }, at = function (t, e) {
- x.call(u, (function () {
- var n, i = e.value, r = st(e);
- if (r && (n = E((function () {
- U ? W.emit("unhandledRejection", i, t) : ot(X, t, i)
- })), e.rejection = U || st(e) ? tt : Z, n.error)) throw n.value
- }))
- }, st = function (t) {
- return t.rejection !== Z && !t.parent
- }, ct = function (t, e) {
- x.call(u, (function () {
- U ? W.emit("rejectionHandled", t) : ot(G, t, e.value)
- }))
- }, ut = function (t, e, n, i) {
- return function (r) {
- t(e, n, r, i)
- }
- }, lt = function (t, e, n, i) {
- e.done || (e.done = !0, i && (e = i), e.value = n, e.state = J, rt(t, e, !0))
- }, ft = function (t, e, n, i) {
- if (!e.done) {
- e.done = !0, i && (e = i);
- try {
- if (t === n) throw F("Promise can't be resolved itself");
- var r = it(n);
- r ? C((function () {
- var i = {done: !1};
- try {
- r.call(n, ut(ft, t, i, e), ut(lt, t, i, e))
- } catch (o) {
- lt(t, i, o, e)
- }
- })) : (e.value = n, e.state = K, rt(t, e, !1))
- } catch (o) {
- lt(t, {done: !1}, o, e)
- }
- }
- };
- et && (B = function (t) {
- b(this, B, L), m(t), i.call(this);
- var e = R(this);
- try {
- t(ut(ft, this, e), ut(lt, this, e))
- } catch (n) {
- lt(this, e, n)
- }
- }, i = function (t) {
- N(this, {
- type: L,
- done: !1,
- notified: !1,
- parent: !1,
- reactions: [],
- rejection: !1,
- state: Q,
- value: void 0
- })
- }, i.prototype = h(B.prototype, {
- then: function (t, e) {
- var n = D(this), i = H(S(this, B));
- return i.ok = "function" != typeof t || t, i.fail = "function" == typeof e && e, i.domain = U ? W.domain : void 0, n.parent = !0, n.reactions.push(i), n.state != Q && rt(this, n, !1), i.promise
- }, catch: function (t) {
- return this.then(void 0, t)
- }
- }), r = function () {
- var t = new i, e = R(t);
- this.promise = t, this.resolve = ut(ft, t, e), this.reject = ut(lt, t, e)
- }, A.f = H = function (t) {
- return t === B || t === o ? new r(t) : V(t)
- }, c || "function" != typeof f || (a = f.prototype.then, d(f.prototype, "then", (function (t, e) {
- var n = this;
- return new B((function (t, e) {
- a.call(n, t, e)
- })).then(t, e)
- }), {unsafe: !0}), "function" == typeof q && s({global: !0, enumerable: !0, forced: !0}, {
- fetch: function (t) {
- return T(B, q.apply(u, arguments))
- }
- }))), s({global: !0, wrap: !0, forced: et}, {Promise: B}), p(B, L, !1, !0), v(L), o = l(L), s({
- target: L,
- stat: !0,
- forced: et
- }, {
- reject: function (t) {
- var e = H(this);
- return e.reject.call(void 0, t), e.promise
- }
- }), s({target: L, stat: !0, forced: c || et}, {
- resolve: function (t) {
- return T(c && this === o ? B : this, t)
- }
- }), s({target: L, stat: !0, forced: nt}, {
- all: function (t) {
- var e = this, n = H(e), i = n.resolve, r = n.reject, o = E((function () {
- var n = m(e.resolve), o = [], a = 0, s = 1;
- w(t, (function (t) {
- var c = a++, u = !1;
- o.push(void 0), s++, n.call(e, t).then((function (t) {
- u || (u = !0, o[c] = t, --s || i(o))
- }), r)
- })), --s || i(o)
- }));
- return o.error && r(o.value), n.promise
- }, race: function (t) {
- var e = this, n = H(e), i = n.reject, r = E((function () {
- var r = m(e.resolve);
- w(t, (function (t) {
- r.call(e, t).then(n.resolve, i)
- }))
- }));
- return r.error && i(r.value), n.promise
- }
- })
- }, e893: function (t, e, n) {
- var i = n("5135"), r = n("56ef"), o = n("06cf"), a = n("9bf2");
- t.exports = function (t, e) {
- for (var n = r(e), s = a.f, c = o.f, u = 0; u < n.length; u++) {
- var l = n[u];
- i(t, l) || s(t, l, c(e, l))
- }
- }
- }, e8b5: function (t, e, n) {
- var i = n("c6b6");
- t.exports = Array.isArray || function (t) {
- return "Array" == i(t)
- }
- }, e91f: function (t, e, n) {
- "use strict";
- var i = n("ebb5"), r = n("4d64").indexOf, o = i.aTypedArray, a = i.exportTypedArrayMethod;
- a("indexOf", (function (t) {
- return r(o(this), t, arguments.length > 1 ? arguments[1] : void 0)
- }))
- }, e95a: function (t, e, n) {
- var i = n("b622"), r = n("3f8c"), o = i("iterator"), a = Array.prototype;
- t.exports = function (t) {
- return void 0 !== t && (r.Array === t || a[o] === t)
- }
- }, ebb5: function (t, e, n) {
- "use strict";
- var i, r = n("a981"), o = n("83ab"), a = n("da84"), s = n("861d"), c = n("5135"), u = n("f5df"), l = n("9112"),
- f = n("6eeb"), d = n("9bf2").f, h = n("e163"), p = n("d2bb"), v = n("b622"), g = n("90e3"), m = a.Int8Array,
- b = m && m.prototype, y = a.Uint8ClampedArray, _ = y && y.prototype, w = m && h(m), k = b && h(b),
- S = Object.prototype, x = S.isPrototypeOf, C = v("toStringTag"), T = g("TYPED_ARRAY_TAG"),
- O = r && !!p && "Opera" !== u(a.opera), A = !1, E = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
- }, j = function (t) {
- var e = u(t);
- return "DataView" === e || c(E, e)
- }, M = function (t) {
- return s(t) && c(E, u(t))
- }, I = function (t) {
- if (M(t)) return t;
- throw TypeError("Target is not a typed array")
- }, $ = function (t) {
- if (p) {
- if (x.call(w, t)) return t
- } else for (var e in E) if (c(E, i)) {
- var n = a[e];
- if (n && (t === n || x.call(n, t))) return t
- }
- throw TypeError("Target is not a typed array constructor")
- }, P = function (t, e, n) {
- if (o) {
- if (n) for (var i in E) {
- var r = a[i];
- r && c(r.prototype, t) && delete r.prototype[t]
- }
- k[t] && !n || f(k, t, n ? e : O && b[t] || e)
- }
- }, L = function (t, e, n) {
- var i, r;
- if (o) {
- if (p) {
- if (n) for (i in E) r = a[i], r && c(r, t) && delete r[t];
- if (w[t] && !n) return;
- try {
- return f(w, t, n ? e : O && m[t] || e)
- } catch (s) {
- }
- }
- for (i in E) r = a[i], !r || r[t] && !n || f(r, t, e)
- }
- };
- for (i in E) a[i] || (O = !1);
- if ((!O || "function" != typeof w || w === Function.prototype) && (w = function () {
- throw TypeError("Incorrect invocation")
- }, O)) for (i in E) a[i] && p(a[i], w);
- if ((!O || !k || k === S) && (k = w.prototype, O)) for (i in E) a[i] && p(a[i].prototype, k);
- if (O && h(_) !== k && p(_, k), o && !c(k, C)) for (i in A = !0, d(k, C, {
- get: function () {
- return s(this) ? this[T] : void 0
- }
- }), E) a[i] && l(a[i], T, i);
- t.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: O,
- TYPED_ARRAY_TAG: A && T,
- aTypedArray: I,
- aTypedArrayConstructor: $,
- exportTypedArrayMethod: P,
- exportTypedArrayStaticMethod: L,
- isView: j,
- isTypedArray: M,
- TypedArray: w,
- TypedArrayPrototype: k
- }
- }, f069: function (t, e, n) {
- "use strict";
- var i = n("1c0b"), r = function (t) {
- var e, n;
- this.promise = new t((function (t, i) {
- if (void 0 !== e || void 0 !== n) throw TypeError("Bad Promise constructor");
- e = t, n = i
- })), this.resolve = i(e), this.reject = i(n)
- };
- t.exports.f = function (t) {
- return new r(t)
- }
- }, f0c5: function (t, e, n) {
- "use strict";
- function i(t, e, n, i, r, o, a, s, c, u) {
- var l, f = "function" === typeof t ? t.options : t;
- if (c) {
- f.components || (f.components = {});
- var d = Object.prototype.hasOwnProperty;
- for (var h in c) d.call(c, h) && !d.call(f.components, h) && (f.components[h] = c[h])
- }
- if (u && ((u.beforeCreate || (u.beforeCreate = [])).unshift((function () {
- this[u.__module] = this
- })), (f.mixins || (f.mixins = [])).push(u)), e && (f.render = e, f.staticRenderFns = n, f._compiled = !0), i && (f.functional = !0), o && (f._scopeId = "data-v-" + o), a ? (l = function (t) {
- t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, t || "undefined" === typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), r && r.call(this, t), t && t._registeredComponents && t._registeredComponents.add(a)
- }, f._ssrRegister = l) : r && (l = s ? function () {
- r.call(this, this.$root.$options.shadowRoot)
- } : r), l) if (f.functional) {
- f._injectStyles = l;
- var p = f.render;
- f.render = function (t, e) {
- return l.call(e), p(t, e)
- }
- } else {
- var v = f.beforeCreate;
- f.beforeCreate = v ? [].concat(v, l) : [l]
- }
- return {exports: t, options: f}
- }
- n.d(e, "a", (function () {
- return i
- }))
- }, f183: function (t, e, n) {
- var i = n("d012"), r = n("861d"), o = n("5135"), a = n("9bf2").f, s = n("90e3"), c = n("bb2f"), u = s("meta"),
- l = 0, f = Object.isExtensible || function () {
- return !0
- }, d = function (t) {
- a(t, u, {value: {objectID: "O" + ++l, weakData: {}}})
- }, h = function (t, e) {
- if (!r(t)) return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t;
- if (!o(t, u)) {
- if (!f(t)) return "F";
- if (!e) return "E";
- d(t)
- }
- return t[u].objectID
- }, p = function (t, e) {
- if (!o(t, u)) {
- if (!f(t)) return !0;
- if (!e) return !1;
- d(t)
- }
- return t[u].weakData
- }, v = function (t) {
- return c && g.REQUIRED && f(t) && !o(t, u) && d(t), t
- }, g = t.exports = {REQUIRED: !1, fastKey: h, getWeakData: p, onFreeze: v};
- i[u] = !0
- }, f5df: function (t, e, n) {
- var i = n("00ee"), r = n("c6b6"), o = n("b622"), a = o("toStringTag"), s = "Arguments" == r(function () {
- return arguments
- }()), c = function (t, e) {
- try {
- return t[e]
- } catch (n) {
- }
- };
- t.exports = i ? r : function (t) {
- var e, n, i;
- return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = c(e = Object(t), a)) ? n : s ? r(e) : "Object" == (i = r(e)) && "function" == typeof e.callee ? "Arguments" : i
- }
- }, f772: function (t, e, n) {
- var i = n("5692"), r = n("90e3"), o = i("keys");
- t.exports = function (t) {
- return o[t] || (o[t] = r(t))
- }
- }, f8cd: function (t, e, n) {
- var i = n("a691");
- t.exports = function (t) {
- var e = i(t);
- if (e < 0) throw RangeError("The argument can't be less than 0");
- return e
- }
- }, fb6a: function (t, e, n) {
- "use strict";
- var i = n("23e7"), r = n("861d"), o = n("e8b5"), a = n("23cb"), s = n("50c4"), c = n("fc6a"), u = n("8418"),
- l = n("b622"), f = n("1dde"), d = n("ae40"), h = f("slice"), p = d("slice", {ACCESSORS: !0, 0: 0, 1: 2}),
- v = l("species"), g = [].slice, m = Math.max;
- i({target: "Array", proto: !0, forced: !h || !p}, {
- slice: function (t, e) {
- var n, i, l, f = c(this), d = s(f.length), h = a(t, d), p = a(void 0 === e ? d : e, d);
- if (o(f) && (n = f.constructor, "function" != typeof n || n !== Array && !o(n.prototype) ? r(n) && (n = n[v], null === n && (n = void 0)) : n = void 0, n === Array || void 0 === n)) return g.call(f, h, p);
- for (i = new (void 0 === n ? Array : n)(m(p - h, 0)), l = 0; h < p; h++, l++) h in f && u(i, l, f[h]);
- return i.length = l, i
- }
- })
- }, fc6a: function (t, e, n) {
- var i = n("44ad"), r = n("1d80");
- t.exports = function (t) {
- return i(r(t))
- }
- }, fdbc: function (t, e) {
- t.exports = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- }
- }, fdbf: function (t, e, n) {
- var i = n("4930");
- t.exports = i && !Symbol.sham && "symbol" == typeof Symbol.iterator
- }, fea9: function (t, e, n) {
- var i = n("da84");
- t.exports = i.Promise
- }
- }]);
|