index-X8PNMhkS.js 657 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. function __vite__mapDeps(indexes) {
  2. if (!__vite__mapDeps.viteFileDeps) {
  3. __vite__mapDeps.viteFileDeps = ["./pages-index-FirstIndex.C1iO_qSH.js","./s-image-banner.BOS65JlO.js","./su-swiper.DsFuqhIk.js","./_plugin-vue_export-helper.BCo6x5W8.js","./su-swiper-Z7j5mkuk.css","./s-tabbar.CBBx4PGk.js","./s-tabbar-xSlyG6lb.css","./youjiantou.DF0dutcV.js","./mp-html.vue_vue_type_style_index_0_scoped_b0aa647f_lang.CTAibQO4.js","./mp-html-BRoRGaCt.css","./s-layout.vue_vue_type_style_index_0_scoped_d5f7c468_lang.B2C9lkVq.js","./phone-international-input.vue_vue_type_style_index_0_scoped_a793e264_lang.Btmcxmrw.js","./phone-international-input-SN26HS6B.css","./s-layout-Or9EoUmo.css","./FirstIndex-DeXX1NhP.css","./richtext-D6LJpxrP.css","./pages-index-FirstActivity.BZTkArDE.js","./pages-index-FirstList.U6qDIDDt.js","./s-empty.kT6kTO2c.js","./s-empty-CPtPMARI.css","./uni-load-more.BvhdfHnf.js","./uni-load-more-CqgqDBT9.css","./FirstList-BrPxCsyR.css","./pages-index-FirstMerchant.CD4CXeRO.js","./pages-index-FirstVideo.DCnRxOPf.js","./pages-index-index.4rdo2yFB.js","./s-block.CXkADokO.js","./s-layout.CabBKdO3.js","./s-menu-tools.ArsIXUlO.js","./useGoods.B3RWw6_i.js","./phone-international-input.BNFSuQBr.js","./uni-list.BPyOh8eP.js","./uni-badge.CrHuTAki.js","./uni-badge-DY8bUna7.css","./uni-list-DWVPlhc2.css","./su-image.D5OmdPZj.js","./su-image-CnsIk8R3.css","./s-goods-column.9d6Sk8lq.js","./points.DDTOnulC.js","./s-goods-column-BX4Ju3xn.css","./s-goods-item-qKY9jcuI.css","./goods-collect-BJyHLkow.css","./const.Bz2g6bEQ.js","./mp-html.Bu0Nh6Lw.js","./pages-public-richtext.c9Yy8tNS.js","./s-block-DfMWUqBm.css","./pages-index-user.NSOLMewZ.js","./pages-index-category.BbDdVqCr.js","./first-two.BcPvSVxk.js","./first-two-CdX79w_9.css","./category-B3qmXwqA.css","./pages-index-cart.B_zNm9Et.js","./su-number-box.Cr7vC8Oe.js","./su-number-box-CzH7w0eU.css","./s-goods-item.hkZiq8tC.js","./cart-CVT6-Jij.css","./pages-index-login.BrdG1UYb.js","./login-C_RPDKeO.css","./pages-index-search.C2kXVMh1.js","./search-BGtvidl8.css","./pages-index-page.Cy6f018o.js","./pages-goods-index.Bmp2KDSG.js","./detail-content-card.C0g2hRmz.js","./comment-item.n8RFmnN7.js","./uni-rate.BQiN-_s9.js","./uni-rate-CnNFokIl.css","./comment-item-S7LBfL7K.css","./detail-content-card-DNFwMpSD.css","./index-Cf2lou1J.css","./pages-goods-groupon.DSaBtCXC.js","./s-select-groupon-sku.C9iTgfEc.js","./s-select-groupon-sku-DlnIm8XO.css","./groupon-ier4ubjX.css","./pages-goods-seckill.DTRvk_v-.js","./seckill-i6XLb32n.css","./pages-goods-list.Byha_lMN.js","./su-tabs.C9zIko73.js","./su-tabs-CMdUkene.css","./su-sticky.CQvXxw-h.js","./su-sticky-B_SY1GJM.css","./list-CtcXKMEQ.css","./pages-goods-comment-add.mhrRDiZk.js","./s-uploader.Baca0n-c.js","./s-uploader-zDUiiXjj.css","./add-BnhJ3Lrc.css","./pages-goods-comment-list.j3ZnEZP4.js","./list-DiwdEu75.css","./pages-order-detail.CzjKsPXs.js","./detail-CZ6y6nmA.css","./pages-order-confirm.DoyBL5uB.js","./s-address-item.BgmmOJNn.js","./s-address-item-BYIdf4ki.css","./confirm-DJ6OonR-.css","./pages-order-list.9htWFO2w.js","./list-BGF6wlAQ.css","./pages-order-aftersale-apply.D4WnHT8V.js","./apply-B80cBaFt.css","./pages-order-aftersale-return-delivery.B2zv68n5.js","./return-delivery-zbxam9Ck.css","./pages-order-aftersale-list.DWMvL_IM.js","./list-DSe3IBeI.css","./pages-order-aftersale-detail.DvACvjQE.js","./detail-DJ6XP3kr.css","./pages-order-aftersale-log.Dhc7JMX3.js","./log-CzQma8-Z.css","./pages-order-express-log.D_DD5CCv.js","./log-BoNLX-Pg.css","./pages-order-otherlist.DlW5n3dj.js","./otherlist-JBnT3UcQ.css","./pages-user-info.VZxIWxBH.js","./info-DOw1EiFx.css","./pages-user-setting.B45TEHqj.js","./setting-xBkYxLNE.css","./pages-user-qrcode-share.BOg5RMy6.js","./qrcode-share-tWWYCn4H.css","./pages-user-goods-collect.CbwDA1jT.js","./pages-user-goods-log.CZSQo5g-.js","./goods-log-DFgQo-Yl.css","./pages-user-address-list.3OEbbEYu.js","./list-s4RhknWp.css","./pages-user-dummyAddress-list.CfZyR_fg.js","./list-q-U1deSO.css","./pages-user-invoice-edit.BaH8vGy7.js","./edit-DOyV6I0D.css","./pages-user-invoice-list.cRdCpue1.js","./list-BtfL49Cy.css","./pages-user-address-edit.BrQOwdrv.js","./su-region-picker.Du0j0fGL.js","./su-region-picker-DZcWm4Rg.css","./edit-zEqCKeza.css","./pages-user-dummyAddress-edit.CPMEz6Fq.js","./edit-OXhdkJc_.css","./pages-user-wallet-money.QEbOgsxP.js","./uni-datetime-picker.Y2om6YJO.js","./uni-datetime-picker-CrQjoefj.css","./money-JvGv046s.css","./pages-user-wallet-score.CvpZxWzT.js","./score-Co4b1IwX.css","./ScoreLog-DIjRaXqC.css","./pages-user-wallet-consumptionLog.BCTt0cC2.js","./consumptionLog-BnOgO1_R.css","./pages-user-wallet-topupConsumptionPoints.YpXDWX6S.js","./md5._b3peaYm.js","./topupConsumptionPoints-CX5Vw8RM.css","./pages-user-wallet-consumptionTransfersLog.BFivK2Yp.js","./consumptionTransfersLog-B3macqvx.css","./pages-user-wallet-consumptionTransfers.dTnnq3Ft.js","./consumptionTransfers-Dp1xAKvh.css","./pages-user-wallet-scoreToConsumption.DO0qJ2Hv.js","./scoreToConsumption-CTeYuEs_.css","./pages-user-wallet-withdraw.DO-NyAoC.js","./withdraw-BTa-ms_T.css","./pages-user-wallet-withdrawalLog.Cy57i-0X.js","./withdrawalLog-DYrjlLBM.css","./pages-user-wallet-scoreToMoney.R2Pyx90q.js","./scoreToMoney-BbdsaDak.css","./pages-user-wallet-ScoreLog.CkGU0F_2.js","./pages-user-wallet-maxScoreLog.C9qHuYlk.js","./maxScoreLog-Ci5SU-bY.css","./pages-user-wallet-team.CQOva3ah.js","./team-D3j0IZ5J.css","./pages-commission-index.4ciSJaps.js","./index-Hkf7rUN7.css","./pages-commission-wallet.2yFz4TO7.js","./wallet-Bf3foOpP.css","./pages-commission-goods.BXc-GclO.js","./goods-Bzr-1L_y.css","./pages-commission-order.BFl8YPap.js","./order-BN_0mQcv.css","./pages-commission-team.cbhpdctu.js","./team-BLDAZ5rB.css","./pages-commission-promoter.CS-EC8js.js","./promoter-CUHLwK3m.css","./pages-commission-commission-ranking.CVglqCGI.js","./commission-ranking-DcRY7L4P.css","./pages-commission-withdraw.BmPkcSUh.js","./withdraw-XZPr8tA3.css","./pages-app-sign.Cbh54D43.js","./sign-Ox7D699L.css","./pages-shop-index.3L2yk9zM.js","./pages-shop-category.BWxyKdcq.js","./category-BCNFe82k.css","./pages-shop-allproduct.-rLA0jNo.js","./allproduct-1cNZN1lr.css","./pages-public-setting.WKhWUDH_.js","./setting-h4mS58Kk.css","./pages-public-faq.CZCEDX-N.js","./uni-collapse.CZPTKtgf.js","./uni-collapse-C3hkohoT.css","./faq-DBhtIkN9.css","./pages-public-error.BcEuY75o.js","./error-C4Ry9kZJ.css","./pages-public-merchant.ChDIgSSS.js","./merchant-Bvapocor.css","./pages-public-merchantApplyList.Cgfj8uPf.js","./merchantApplyList-Czez2o22.css","./pages-coupon-list.flPYU4KG.js","./list-Cp2hKoSa.css","./pages-coupon-detail.B5JWLU2f.js","./detail-DSkzbLY0.css","./pages-chat-index.X7b_hHiN.js","./index-Df58zhFH.css","./pages-chat-speechtotext.CFv97hkj.js","./speechtotext-BPb2jpMD.css","./pages-pay-index.Z-MU9gbs.js","./index-DXtpEB1p.css","./pages-pay-result.BKI3ecDx.js","./result-Ddyq2EXD.css","./pages-pay-resultYuan.CMjUMnF-.js","./resultYuan-C4D-u1rD.css","./pages-pay-recharge.DkA9BM0g.js","./recharge-ysFHAiVu.css","./pages-pay-recharge-log.BKfD5A9d.js","./recharge-log-o-OuS1hi.css","./pages-activity-groupon-detail.DgqxT1dt.js","./detail-BHt53i7F.css","./pages-activity-groupon-order.DKyUgTcr.js","./order-Dz-TD9xd.css","./pages-activity-index.CqG_JZc7.js","./index-CXPUVmZ3.css","./pages-activity-groupon-list.QpM-MrUa.js","./list-BKw6QgnE.css","./pages-activity-seckill-list.BfJmKJ09.js","./list-DBjsN-dD.css","./pages-activity-bargain-list.BeOj-646.js","./s-count-down.BHVyLpBR.js","./s-count-down-LJu9SQJK.css","./list-DEftonvF.css","./pages-activity-bargain-detail.DeO2kiiw.js","./detail-0cJ6D-uI.css"]
  4. }
  5. return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
  6. }
  7. /**
  8. * @vue/shared v3.4.21
  9. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  10. * @license MIT
  11. **/
  12. function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const t={},n=[],r=()=>{},o=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),s=Object.assign,l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},c=Object.prototype.hasOwnProperty,u=(e,t)=>c.call(e,t),d=Array.isArray,p=e=>"[object Map]"===b(e),f=e=>"[object Set]"===b(e),h=e=>"function"==typeof e,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,v=e=>(_(e)||h(e))&&h(e.then)&&h(e.catch),y=Object.prototype.toString,b=e=>y.call(e),w=e=>"[object Object]"===b(e),x=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,C=S((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),E=/\B([A-Z])/g,P=S((e=>e.replace(E,"-$1").toLowerCase())),O=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=S((e=>e?`on${O(e)}`:"")),A=(e,t)=>!Object.is(e,t),M=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let R;const j=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function D(e){if(d(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=m(r)?W(r):D(r);if(o)for(const e in o)t[e]=o[e]}return t}if(m(e)||_(e))return e}const N=/;(?![^(]*\))/g,B=/:([^]+)/,F=/\/\*[^]*?\*\//g;function W(e){const t={};return e.replace(F,"").split(N).forEach((e=>{if(e){const n=e.split(B);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function V(e){let t="";if(m(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){const r=V(e[n]);r&&(t+=r+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const q=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function z(e){return!!e||""===e}const U=e=>m(e)?e:null==e?"":d(e)||_(e)&&(e.toString===y||!h(e.toString))?JSON.stringify(e,H,2):String(e),H=(e,t)=>t&&t.__v_isRef?H(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Y(t,r)+" =>"]=n,e)),{})}:f(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:g(t)?Y(t):!_(t)||d(t)||w(t)?t:String(t),Y=(e,t="")=>{var n;return g(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},G=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),X=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),J=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==J.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==G.indexOf(t)||-1!==X.indexOf(t)}const K=["%","%"],Q=/^([a-z-]+:)?\/\//i,ee=/^data:.*,.*/;function te(e){return e&&(e.appContext?e.proxy:e)}function ne(e){if(!e)return;let t=e.type.name;for(;t&&Z(P(t));)t=(e=e.parent).type.name;return e.proxy}function re(e){return 1===e.nodeType}function oe(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),D(t)}if(m(e))return W(e);if(d(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=m(r)?W(r):oe(r);if(o)for(const e in o)t[e]=o[e]}return t}return D(e)}function ie(e){let t="";if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(d(e))for(let n=0;n<e.length;n++){const r=ie(e[n]);r&&(t+=r+" ")}else t=V(e);return t.trim()}function ae(e){if(!e)return null;let{class:t,style:n}=e;return t&&!m(t)&&(e.class=ie(t)),n&&(e.style=oe(n)),e}function se(e){return 0===e.indexOf("/")}function le(e){return se(e)?e:"/"+e}function ce(e){return se(e)?e.slice(1):e}function ue(e,t){for(const n in t)e.style[n]=t[n]}function de(e,t=null){let n;return(...r)=>(e&&(n=e.apply(t,r),e=null),n)}const pe=e=>e>9?e:"0"+e;function fe({date:e=new Date,mode:t="date"}){return"time"===t?pe(e.getHours())+":"+pe(e.getMinutes()):e.getFullYear()+"-"+pe(e.getMonth()+1)+"-"+pe(e.getDate())}function he(e,t){e=e||{},m(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?h(e.success)&&e.success(t):h(e.fail)&&e.fail(t),h(e.complete)&&e.complete(t)}function me(e){return C(e.substring(5))}const ge=de((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[me(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[me(e)],n.call(this,e)}}));function _e(e){return s({},e.dataset,e.__uniDataset)}const ve=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ye(e){return{passive:e}}function be(e){const{id:t,offsetTop:n,offsetLeft:r}=e;return{id:t,dataset:_e(e),offsetTop:n,offsetLeft:r}}function we(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function xe(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=we(e[n])}catch(jS){t[n]=e[n]}})),t}const Te=/\+/g;function Se(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(Te," ");let o=e.indexOf("="),i=we(o<0?e:e.slice(0,o)),a=o<0?null:we(e.slice(o+1));if(i in t){let e=t[i];d(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function ke(e,t,{clearTimeout:n,setTimeout:r}){let o;const i=function(){n(o);const i=()=>e.apply(this,arguments);o=r(i,t)};return i.cancel=function(){n(o)},i}class Ce{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let r=0;r<n.length;)n[r].fn===t&&(n.splice(r,1),r--),r++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],r=e?n.eventName===e?e:null:n.eventName;if(!r)continue;"number"!=typeof this.emit.apply(this,[r,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Ee=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Pe=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Oe=[];const Le=de(((e,t)=>{if(h(e._component.onError))return t(e)})),Ae=function(){};Ae.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t){for(var i=r.length-1;i>=0;i--)if(r[i].fn===t||r[i].fn._===t){r.splice(i,1);break}o=r}return o.length?n[e]=o:delete n[e],this}};var Me=Ae;const $e={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ie(e,t,n){if(m(t)&&t.startsWith("@")){let o=e[t.replace("@","")]||t;switch(n){case"titleColor":o="black"===o?"#000000":"#ffffff";break;case"borderStyle":o=(r=o)&&r in $e?$e[r]:r}return o}var r;return t}function Re(e,t={},n="light"){const r=t[n],o={};return void 0!==r&&e?(Object.keys(e).forEach((i=>{const a=e[i];o[i]=w(a)?Re(a,t,n):d(a)?a.map((e=>"object"==typeof e?Re(e,t,n):Ie(r,e))):Ie(r,a,i)})),o):e}
  13. /**
  14. * @dcloudio/uni-h5-vue v3.4.21
  15. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  16. * @license MIT
  17. **/let je,De;class Ne{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!e&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=je;try{return je=this,e()}finally{je=t}}}on(){je=this}off(){je=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function Be(e){return new Ne(e)}function Fe(){return je}class We{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=je){t&&t.active&&t.effects.push(e)}(this,r)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Ge();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Xe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ue,t=De;try{return Ue=!0,De=this,this._runnings++,Ve(this),this.fn()}finally{qe(this),this._runnings--,De=t,Ue=e}}stop(){var e;this.active&&(Ve(this),qe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ve(e){e._trackId++,e._depsLength=0}function qe(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ze(e.deps[t],e);e.deps.length=e._depsLength}}function ze(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ue=!0,He=0;const Ye=[];function Ge(){Ye.push(Ue),Ue=!1}function Xe(){const e=Ye.pop();Ue=void 0===e||e}function Je(){He++}function Ze(){for(He--;!He&&Qe.length;)Qe.shift()()}function Ke(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&ze(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Qe=[];function et(e,t,n){Je();for(const r of e.keys()){let n;r._dirtyLevel<t&&(null!=n?n:n=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=0===r._dirtyLevel),r._dirtyLevel=t),r._shouldSchedule&&(null!=n?n:n=e.get(r)===r._trackId)&&(r.trigger(),r._runnings&&!r.allowRecurse||2===r._dirtyLevel||(r._shouldSchedule=!1,r.scheduler&&Qe.push(r.scheduler)))}Ze()}const tt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},nt=new WeakMap,rt=Symbol(""),ot=Symbol("");function it(e,t,n){if(Ue&&De){let t=nt.get(e);t||nt.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=tt((()=>t.delete(n)))),Ke(De,r)}}function at(e,t,n,r,o,i){const a=nt.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&d(e)){const e=Number(r);a.forEach(((t,n)=>{("length"===n||!g(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":d(e)?x(n)&&s.push(a.get("length")):(s.push(a.get(rt)),p(e)&&s.push(a.get(ot)));break;case"delete":d(e)||(s.push(a.get(rt)),p(e)&&s.push(a.get(ot)));break;case"set":p(e)&&s.push(a.get(rt))}Je();for(const l of s)l&&et(l,4);Ze()}const st=e("__proto__,__v_isRef,__isVue"),lt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(g)),ct=ut();function ut(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Kt(this);for(let t=0,o=this.length;t<o;t++)it(n,0,t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Kt)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ge(),Je();const n=Kt(this)[t].apply(this,e);return Ze(),Xe(),n}})),e}function dt(e){const t=Kt(this);return it(t,0,e),t.hasOwnProperty(e)}class pt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Vt:Wt:o?Ft:Bt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=d(e);if(!r){if(i&&u(ct,t))return Reflect.get(ct,t,n);if("hasOwnProperty"===t)return dt}const a=Reflect.get(e,t,n);return(g(t)?lt.has(t):st(t))?a:(r||it(e,0,t),o?a:an(a)?i&&x(t)?a:a.value:_(a)?r?Ht(a):zt(a):a)}}class ft extends pt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=Xt(o);if(Jt(n)||Xt(n)||(o=Kt(o),n=Kt(n)),!d(e)&&an(o)&&!an(n))return!t&&(o.value=n,!0)}const i=d(e)&&x(t)?Number(t)<e.length:u(e,t),a=Reflect.set(e,t,n,r);return e===Kt(r)&&(i?A(n,o)&&at(e,"set",t,n):at(e,"add",t,n)),a}deleteProperty(e,t){const n=u(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&at(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return g(t)&&lt.has(t)||it(e,0,t),n}ownKeys(e){return it(e,0,d(e)?"length":rt),Reflect.ownKeys(e)}}class ht extends pt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const mt=new ft,gt=new ht,_t=new ft(!0),vt=e=>e,yt=e=>Reflect.getPrototypeOf(e);function bt(e,t,n=!1,r=!1){const o=Kt(e=e.__v_raw),i=Kt(t);n||(A(t,i)&&it(o,0,t),it(o,0,i));const{has:a}=yt(o),s=r?vt:n?tn:en;return a.call(o,t)?s(e.get(t)):a.call(o,i)?s(e.get(i)):void(e!==o&&e.get(t))}function wt(e,t=!1){const n=this.__v_raw,r=Kt(n),o=Kt(e);return t||(A(e,o)&&it(r,0,e),it(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function xt(e,t=!1){return e=e.__v_raw,!t&&it(Kt(e),0,rt),Reflect.get(e,"size",e)}function Tt(e){e=Kt(e);const t=Kt(this);return yt(t).has.call(t,e)||(t.add(e),at(t,"add",e,e)),this}function St(e,t){t=Kt(t);const n=Kt(this),{has:r,get:o}=yt(n);let i=r.call(n,e);i||(e=Kt(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?A(t,a)&&at(n,"set",e,t):at(n,"add",e,t),this}function kt(e){const t=Kt(this),{has:n,get:r}=yt(t);let o=n.call(t,e);o||(e=Kt(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&at(t,"delete",e,void 0),i}function Ct(){const e=Kt(this),t=0!==e.size,n=e.clear();return t&&at(e,"clear",void 0,void 0),n}function Et(e,t){return function(n,r){const o=this,i=o.__v_raw,a=Kt(i),s=t?vt:e?tn:en;return!e&&it(a,0,rt),i.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function Pt(e,t,n){return function(...r){const o=this.__v_raw,i=Kt(o),a=p(i),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=o[e](...r),u=n?vt:t?tn:en;return!t&&it(i,0,l?ot:rt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Lt(){const e={get(e){return bt(this,e)},get size(){return xt(this)},has:wt,add:Tt,set:St,delete:kt,clear:Ct,forEach:Et(!1,!1)},t={get(e){return bt(this,e,!1,!0)},get size(){return xt(this)},has:wt,add:Tt,set:St,delete:kt,clear:Ct,forEach:Et(!1,!0)},n={get(e){return bt(this,e,!0)},get size(){return xt(this,!0)},has(e){return wt.call(this,e,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Et(!0,!1)},r={get(e){return bt(this,e,!0,!0)},get size(){return xt(this,!0)},has(e){return wt.call(this,e,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Pt(o,!1,!1),n[o]=Pt(o,!0,!1),t[o]=Pt(o,!1,!0),r[o]=Pt(o,!0,!0)})),[e,n,t,r]}const[At,Mt,$t,It]=Lt();function Rt(e,t){const n=t?e?It:$t:e?Mt:At;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(u(n,r)&&r in t?n:t,r,o)}const jt={get:Rt(!1,!1)},Dt={get:Rt(!1,!0)},Nt={get:Rt(!0,!1)},Bt=new WeakMap,Ft=new WeakMap,Wt=new WeakMap,Vt=new WeakMap;function qt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>b(e).slice(8,-1))(e))}function zt(e){return Xt(e)?e:Yt(e,!1,mt,jt,Bt)}function Ut(e){return Yt(e,!1,_t,Dt,Ft)}function Ht(e){return Yt(e,!0,gt,Nt,Wt)}function Yt(e,t,n,r,o){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=qt(e);if(0===a)return e;const s=new Proxy(e,2===a?r:n);return o.set(e,s),s}function Gt(e){return Xt(e)?Gt(e.__v_raw):!(!e||!e.__v_isReactive)}function Xt(e){return!(!e||!e.__v_isReadonly)}function Jt(e){return!(!e||!e.__v_isShallow)}function Zt(e){return Gt(e)||Xt(e)}function Kt(e){const t=e&&e.__v_raw;return t?Kt(t):e}function Qt(e){return Object.isExtensible(e)&&$(e,"__v_skip",!0),e}const en=e=>_(e)?zt(e):e,tn=e=>_(e)?Ht(e):e;class nn{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new We((()=>e(this._value)),(()=>on(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=Kt(this);return e._cacheable&&!e.effect.dirty||!A(e._value,e._value=e.effect.run())||on(e,4),rn(e),e.effect._dirtyLevel>=2&&on(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function rn(e){var t;Ue&&De&&(e=Kt(e),Ke(De,null!=(t=e.dep)?t:e.dep=tt((()=>e.dep=void 0),e instanceof nn?e:void 0)))}function on(e,t=4,n){const r=(e=Kt(e)).dep;r&&et(r,t)}function an(e){return!(!e||!0!==e.__v_isRef)}function sn(e){return cn(e,!1)}function ln(e){return cn(e,!0)}function cn(e,t){return an(e)?e:new un(e,t)}class un{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Kt(e),this._value=t?e:en(e)}get value(){return rn(this),this._value}set value(e){const t=this.__v_isShallow||Jt(e)||Xt(e);e=t?e:Kt(e),A(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:en(e),on(this,4))}}function dn(e){return an(e)?e.value:e}const pn={get:(e,t,n)=>dn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return an(o)&&!an(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function fn(e){return Gt(e)?e:new Proxy(e,pn)}function hn(e){const t=d(e)?new Array(e.length):{};for(const n in e)t[n]=gn(e,n);return t}class mn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Kt(this._object),t=this._key,null==(n=nt.get(e))?void 0:n.get(t);var e,t,n}}function gn(e,t,n){const r=e[t];return an(r)?r:new mn(e,t,n)}function _n(e,t,n,r){try{return r?e(...r):e()}catch(o){yn(o,t,n)}}function vn(e,t,n,r){if(h(e)){const o=_n(e,t,n,r);return o&&v(o)&&o.catch((e=>{yn(e,t,n)})),o}const o=[];for(let i=0;i<e.length;i++)o.push(vn(e[i],t,n,r));return o}function yn(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,i))return;r=r.parent}const a=t.appContext.config.errorHandler;if(a)return void _n(a,null,10,[e,o,i])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let bn=!1,wn=!1;const xn=[];let Tn=0;const Sn=[];let kn=null,Cn=0;const En=Promise.resolve();let Pn=null;function On(e){const t=Pn||En;return e?t.then(this?e.bind(this):e):t}function Ln(e){xn.length&&xn.includes(e,bn&&e.allowRecurse?Tn+1:Tn)||(null==e.id?xn.push(e):xn.splice(function(e){let t=Tn+1,n=xn.length;for(;t<n;){const r=t+n>>>1,o=xn[r],i=In(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}(e.id),0,e),An())}function An(){bn||wn||(wn=!0,Pn=En.then(jn))}function Mn(e,t,n=(bn?Tn+1:0)){for(;n<xn.length;n++){const t=xn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;xn.splice(n,1),n--,t()}}}function $n(e){if(Sn.length){const e=[...new Set(Sn)].sort(((e,t)=>In(e)-In(t)));if(Sn.length=0,kn)return void kn.push(...e);for(kn=e,Cn=0;Cn<kn.length;Cn++)kn[Cn]();kn=null,Cn=0}}const In=e=>null==e.id?1/0:e.id,Rn=(e,t)=>{const n=In(e)-In(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jn(e){wn=!1,bn=!0,xn.sort(Rn);try{for(Tn=0;Tn<xn.length;Tn++){const e=xn[Tn];e&&!1!==e.active&&_n(e,null,14)}}finally{Tn=0,xn.length=0,$n(),bn=!1,Pn=null,(xn.length||Sn.length)&&jn()}}function Dn(e,n,...r){if(e.isUnmounted)return;const o=e.vnode.props||t;let i=r;const a=n.startsWith("update:"),s=a&&n.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:n,trim:a}=o[e]||t;a&&(i=r.map((e=>m(e)?e.trim():e))),n&&(i=r.map(I))}let l,c=o[l=L(n)]||o[l=L(C(n))];!c&&a&&(c=o[l=L(P(n))]),c&&vn(c,e,6,Nn(e,c,i));const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,vn(u,e,6,Nn(e,u,i))}}function Nn(e,t,n){if(1!==n.length)return n;if(h(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const r=n[0];if(r&&u(r,"type")&&u(r,"timeStamp")&&u(r,"target")&&u(r,"currentTarget")&&u(r,"detail")){const t=e.proxy,r=t.$gcd(t,!0);r&&n.push(r)}return n}function Bn(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let a={},l=!1;if(!h(e)){const r=e=>{const n=Bn(e,t,!0);n&&(l=!0,s(a,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||l?(d(i)?i.forEach((e=>a[e]=null)):s(a,i),_(e)&&r.set(e,a),a):(_(e)&&r.set(e,null),null)}function Fn(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,P(t))||u(e,t))}let Wn=null,Vn=null;function qn(e){const t=Wn;return Wn=e,Vn=e&&e.type.__scopeId||null,t}function zn(e,t=Wn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Qo(-1);const o=qn(t);let i;try{i=e(...n)}finally{qn(o),r._d&&Qo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Un(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:g}=e;let _,v;const y=qn(e);try{if(4&n.shapeFlag){const e=o||r,t=e;_=hi(d.call(t,e,p,i,h,f,m)),v=c}else{const e=t;0,_=hi(e.length>1?e(i,{attrs:c,slots:l,emit:u}):e(i,null)),v=t.props?c:Hn(c)}}catch(w){Xo.length=0,yn(w,e,1),_=ci(Yo)}let b=_;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(a)&&(v=Yn(v,s)),b=di(b,v))}return n.dirs&&(b=di(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,qn(y),_}const Hn=e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t},Yn=(e,t)=>{const n={};for(const r in e)a(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Gn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Fn(n,i))return!0}return!1}function Xn(e,t){return Kn("components",e,!0,t)||e}const Jn=Symbol.for("v-ndc");function Zn(e){return m(e)?Kn("components",e,!1)||e:e||Jn}function Kn(e,t,n=!0,r=!1){const o=Wn||wi;if(o){const n=o.type;if("components"===e){const e=Mi(n,!1);if(e&&(e===t||e===C(t)||e===O(C(t))))return n}const i=Qn(o[e]||n[e],t)||Qn(o.appContext[e],t);return!i&&r?n:i}}function Qn(e,t){return e&&(e[t]||e[C(t)]||e[O(C(t))])}const er=e=>e.__isSuspense;const tr=Symbol.for("v-scx");function nr(e,t){return ar(e,null,t)}function rr(e,t){return ar(e,null,{flush:"post"})}const or={};function ir(e,t,n){return ar(e,t,n)}function ar(e,n,{immediate:o,deep:i,flush:a,once:s,onTrack:c,onTrigger:u}=t){if(n&&s){const e=n;n=(...t)=>{e(...t),C()}}const p=wi,f=e=>!0===i?e:cr(e,!1===i?1:void 0);let m,g,_=!1,v=!1;if(an(e)?(m=()=>e.value,_=Jt(e)):Gt(e)?(m=()=>f(e),_=!0):d(e)?(v=!0,_=e.some((e=>Gt(e)||Jt(e))),m=()=>e.map((e=>an(e)?e.value:Gt(e)?f(e):h(e)?_n(e,p,2):void 0))):m=h(e)?n?()=>_n(e,p,2):()=>(g&&g(),vn(e,p,3,[b])):r,n&&i){const e=m;m=()=>cr(e())}let y,b=e=>{g=S.onStop=()=>{_n(e,p,4),g=S.onStop=void 0}};if(Pi){if(b=r,n?o&&vn(n,p,3,[m(),v?[]:void 0,b]):m(),"sync"!==a)return r;{const e=ko(tr);y=e.__watcherHandles||(e.__watcherHandles=[])}}let w=v?new Array(e.length).fill(or):or;const x=()=>{if(S.active&&S.dirty)if(n){const e=S.run();(i||_||(v?e.some(((e,t)=>A(e,w[t]))):A(e,w)))&&(g&&g(),vn(n,p,3,[e,w===or?void 0:v&&w[0]===or?[]:w,b]),w=e)}else S.run()};let T;x.allowRecurse=!!n,"sync"===a?T=x:"post"===a?T=()=>Bo(x,p&&p.suspense):(x.pre=!0,p&&(x.id=p.uid),T=()=>Ln(x));const S=new We(m,r,T),k=Fe(),C=()=>{S.stop(),k&&l(k.effects,S)};return n?o?x():w=S.run():"post"===a?Bo(S.run.bind(S),p&&p.suspense):S.run(),y&&y.push(C),C}function sr(e,t,n){const r=this.proxy,o=m(e)?e.includes(".")?lr(r,e):()=>r[e]:e.bind(r,r);let i;h(t)?i=t:(i=t.handler,n=t);const a=ki(this),s=ar(o,i.bind(r),n);return a(),s}function lr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function cr(e,t,n=0,r){if(!_(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((r=r||new Set).has(e))return e;if(r.add(e),an(e))cr(e.value,t,n,r);else if(d(e))for(let o=0;o<e.length;o++)cr(e[o],t,n,r);else if(f(e)||p(e))e.forEach((e=>{cr(e,t,n,r)}));else if(w(e))for(const o in e)cr(e[o],t,n,r);return e}function ur(e,n){if(null===Wn)return e;const r=Ai(Wn)||Wn.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<n.length;i++){let[e,a,s,l=t]=n[i];e&&(h(e)&&(e={mounted:e,updated:e}),e.deep&&cr(a),o.push({dir:e,instance:r,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function dr(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let l=s.dir[r];l&&(Ge(),vn(l,n,8,[e.el,s,e,t]),Xe())}}const pr=Symbol("_leaveCb"),fr=Symbol("_enterCb");const hr=[Function,Array],mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hr,onEnter:hr,onAfterEnter:hr,onEnterCancelled:hr,onBeforeLeave:hr,onLeave:hr,onAfterLeave:hr,onLeaveCancelled:hr,onBeforeAppear:hr,onAppear:hr,onAfterAppear:hr,onAppearCancelled:hr},gr={name:"BaseTransition",props:mr,setup(e,{slots:t}){const n=xi(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qr((()=>{e.isMounted=!0})),Hr((()=>{e.isUnmounting=!0})),e}();return()=>{const o=t.default&&xr(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1)for(const e of o)if(e.type!==Yo){i=e;break}const a=Kt(e),{mode:s}=a;if(r.isLeaving)return yr(i);const l=br(i);if(!l)return yr(i);const c=vr(l,a,r,n);wr(l,c);const u=n.subTree,d=u&&br(u);if(d&&d.type!==Yo&&!oi(l,d)){const e=vr(d,a,r,n);if(wr(d,e),"out-in"===s)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},yr(i);"in-out"===s&&l.type!==Yo&&(e.delayLeave=(e,t,n)=>{_r(r,d)[String(d.key)]=d,e[pr]=()=>{t(),e[pr]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function _r(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vr(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),w=_r(n,e),x=(e,t)=>{e&&vn(e,r,9,t)},T=(e,t)=>{const n=t[1];x(e,t),d(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:a,beforeEnter(t){let r=s;if(!n.isMounted){if(!o)return;r=g||s}t[pr]&&t[pr](!0);const i=w[b];i&&oi(e,i)&&i.el[pr]&&i.el[pr](),x(r,[t])},enter(e){let t=l,r=c,i=u;if(!n.isMounted){if(!o)return;t=_||l,r=v||c,i=y||u}let a=!1;const s=e[fr]=t=>{a||(a=!0,x(t?i:r,[e]),S.delayedLeave&&S.delayedLeave(),e[fr]=void 0)};t?T(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t[fr]&&t[fr](!0),n.isUnmounting)return r();x(p,[t]);let i=!1;const a=t[pr]=n=>{i||(i=!0,r(),x(n?m:h,[t]),t[pr]=void 0,w[o]===e&&delete w[o])};w[o]=e,f?T(f,[t,a]):a()},clone:e=>vr(e,t,n,r)};return S}function yr(e){if(Er(e))return(e=di(e)).children=null,e}function br(e){return Er(e)?e.children?e.children[0]:void 0:e}function wr(e,t){6&e.shapeFlag&&e.component?wr(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function xr(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:i);a.type===Uo?(128&a.patchFlag&&o++,r=r.concat(xr(a.children,t,s))):(t||a.type!==Yo)&&r.push(null!=s?di(a,{key:s}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}
  18. /*! #__NO_SIDE_EFFECTS__ */function Tr(e,t){return h(e)?(()=>s({name:e.name},t,{setup:e}))():e}const Sr=e=>!!e.type.__asyncLoader
  19. /*! #__NO_SIDE_EFFECTS__ */;function kr(e){h(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Tr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=wi;if(l)return()=>Cr(l,e);const t=t=>{c=null,yn(t,e,13,!r)};if(a&&e.suspense||Pi)return d().then((t=>()=>Cr(t,e))).catch((e=>(t(e),()=>r?ci(r,{error:e}):null)));const s=sn(!1),u=sn(),p=sn(!!o);return o&&setTimeout((()=>{p.value=!1}),o),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&Er(e.parent.vnode)&&(e.parent.effect.dirty=!0,Ln(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?Cr(l,e):u.value&&r?ci(r,{error:u.value}):n&&!p.value?ci(n):void 0}})}function Cr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=ci(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Er=e=>e.type.__isKeepAlive;class Pr{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:r}=this,o=t.get(e);if(o)n.delete(e),n.add(e);else if(n.add(e),r&&n.size>r){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return o}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const Or={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=xi(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=e.cache||new Pr(e.max);o.pruneCacheEntry=a;let i=null;function a(t){var r;!i||!oi(t,i)||"key"===e.matchBy&&t.key!==i.key?(jr(r=t),u(r,n,s,!0)):i&&jr(i)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,p=d("div");function f(t){o.forEach(((n,r)=>{const i=Nr(n,e.matchBy);!i||t&&t(i)||(o.delete(r),a(n))}))}r.activate=(e,t,n,r,o)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,M(i.ba),i.isDeactivated=e}c(e,t,n,0,s),l(i.vnode,e,t,n,i,s,r,e.slotScopeIds,o),Bo((()=>{i.isDeactivated=!1,i.a&&M(i.a);const t=e.props&&e.props.onVnodeMounted;t&&vi(t,i.parent,e)}),s)},r.deactivate=e=>{const t=e.component;t.bda&&Br(t.bda),c(e,p,null,1,s),Bo((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&M(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&vi(n,t.parent,e),t.isDeactivated=!0}),s)},ir((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&f((t=>Ar(e,t))),t&&f((e=>!Ar(t,e)))}),{flush:"post",deep:!0});let h=null;const m=()=>{null!=h&&o.set(h,Dr(n.subTree))};return qr(m),Ur(m),Hr((()=>{o.forEach(((t,r)=>{o.delete(r),a(t);const{subTree:i,suspense:s}=n,l=Dr(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&M(l.component.bda),jr(l);const e=l.component.da;e&&Bo(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!ri(r)||!(4&r.shapeFlag)&&!er(r.type))return i=null,r;let a=Dr(r);const s=a.type,l=Nr(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Ar(c,l))||u&&l&&Ar(u,l))return i=a,r;const d=null==a.key?s:a.key,p=o.get(d);return a.el&&(a=di(a),er(r.type)&&(r.ssContent=a)),h=d,p&&(a.el=p.el,a.component=p.component,a.transition&&wr(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,er(r.type)?r:a}}},Lr=Or;function Ar(e,t){return d(e)?e.some((e=>Ar(e,t))):m(e)?e.split(",").includes(t):"[object RegExp]"===b(e)&&e.test(t)}function Mr(e,t){Ir(e,"a",t)}function $r(e,t){Ir(e,"da",t)}function Ir(e,t,n=wi){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(r.__called=!1,Fr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Er(e.parent.vnode)&&Rr(r,t,n,e),e=e.parent}}function Rr(e,t,n,r){const o=Fr(t,e,r,!0);Yr((()=>{l(r[t],o)}),n)}function jr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Dr(e){return er(e.type)?e.ssContent:e}function Nr(e,t){if("name"===t){const t=e.type;return Mi(Sr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Br(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Fr(e,t,n=wi,r=!1){if(n){if(o=e,Ee.indexOf(o)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const r=n.proxy;vn(t.bind(r),n,e,"onLoad"===e?[r.$page.options]:[])}}const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Ge();const o=ki(n),i=vn(t,n,e,r);return o(),Xe(),i});return r?i.unshift(a):i.push(a),a}var o}const Wr=e=>(t,n=wi)=>(!Pi||"sp"===e)&&Fr(e,((...e)=>t(...e)),n),Vr=Wr("bm"),qr=Wr("m"),zr=Wr("bu"),Ur=Wr("u"),Hr=Wr("bum"),Yr=Wr("um"),Gr=Wr("sp"),Xr=Wr("rtg"),Jr=Wr("rtc");function Zr(e,t=wi){Fr("ec",e,t)}function Kr(e,t,n,r){let o;const i=n&&n[r];if(d(e)||m(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(_(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=t(e[a],a,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function Qr(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(d(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function eo(e,t,n={},r,o){if(Wn.isCE||Wn.parent&&Sr(Wn.parent)&&Wn.parent.isCE)return"default"!==t&&(n.name=t),ci("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Zo();const a=i&&to(i(n)),s=ni(Uo,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function to(e){return e.some((e=>!ri(e)||e.type!==Yo&&!(e.type===Uo&&!to(e.children))))?e:null}const no=e=>{if(!e)return null;if(Ei(e)){return Ai(e)||e.proxy}return no(e.parent)},ro=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>no(e.parent),$root:e=>no(e.root),$emit:e=>e.emit,$options:e=>po(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Ln(e.update)})(e)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>sr.bind(e)}),oo=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),io={get({_:e},n){const{ctx:r,setupState:o,data:i,props:a,accessCache:s,type:l,appContext:c}=e;let d;if("$"!==n[0]){const l=s[n];if(void 0!==l)switch(l){case 1:return o[n];case 2:return i[n];case 4:return r[n];case 3:return a[n]}else{if(oo(o,n))return s[n]=1,o[n];if(i!==t&&u(i,n))return s[n]=2,i[n];if((d=e.propsOptions[0])&&u(d,n))return s[n]=3,a[n];if(r!==t&&u(r,n))return s[n]=4,r[n];so&&(s[n]=0)}}const p=ro[n];let f,h;return p?("$attrs"===n&&it(e,0,n),p(e)):(f=l.__cssModules)&&(f=f[n])?f:r!==t&&u(r,n)?(s[n]=4,r[n]):(h=c.config.globalProperties,u(h,n)?h[n]:void 0)},set({_:e},n,r){const{data:o,setupState:i,ctx:a}=e;return oo(i,n)?(i[n]=r,!0):o!==t&&u(o,n)?(o[n]=r,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(a[n]=r,!0))},has({_:{data:e,setupState:n,accessCache:r,ctx:o,appContext:i,propsOptions:a}},s){let l;return!!r[s]||e!==t&&u(e,s)||oo(n,s)||(l=a[0])&&u(l,s)||u(o,s)||u(ro,s)||u(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ao(e){return d(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let so=!0;function lo(e){const t=po(e),n=e.proxy,o=e.ctx;so=!1,t.beforeCreate&&co(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:s,watch:l,provide:c,inject:u,created:p,beforeMount:f,mounted:m,beforeUpdate:g,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:k,renderTracked:C,renderTriggered:E,errorCaptured:P,serverPrefetch:O,expose:L,inheritAttrs:A,components:M,directives:$,filters:I}=t;if(u&&function(e,t,n=r){d(e)&&(e=go(e));for(const r in e){const n=e[r];let o;o=_(n)?"default"in n?ko(n.from||r,n.default,!0):ko(n.from||r):ko(n),an(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(u,o,null),s)for(const r in s){const e=s[r];h(e)&&(o[r]=e.bind(n))}if(i){const t=i.call(n,n);_(t)&&(e.data=zt(t))}if(so=!0,a)for(const d in a){const e=a[d],t=h(e)?e.bind(n,n):h(e.get)?e.get.bind(n,n):r,i=!h(e)&&h(e.set)?e.set.bind(n):r,s=$i({get:t,set:i});Object.defineProperty(o,d,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const r in l)uo(l[r],o,n,r);if(c){const e=h(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{So(t,e[t])}))}function R(e,t){d(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&co(p,e,"c"),R(Vr,f),R(qr,m),R(zr,g),R(Ur,v),R(Mr,y),R($r,b),R(Zr,P),R(Jr,C),R(Xr,E),R(Hr,x),R(Yr,S),R(Gr,O),d(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===r&&(e.render=k),null!=A&&(e.inheritAttrs=A),M&&(e.components=M),$&&(e.directives=$);const j=e.appContext.config.globalProperties.$applyOptions;j&&j(t,e,n)}function co(e,t,n){vn(d(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function uo(e,t,n,r){const o=r.includes(".")?lr(n,r):()=>n[r];if(m(e)){const n=t[e];h(n)&&ir(o,n)}else if(h(e))ir(o,e.bind(n));else if(_(e))if(d(e))e.forEach((e=>uo(e,t,n,r)));else{const r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&ir(o,r,e)}}function po(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:o.length||n||r?(l={},o.length&&o.forEach((e=>fo(l,e,a,!0))),fo(l,t,a)):l=t,_(t)&&i.set(t,l),l}function fo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&fo(e,i,n,!0),o&&o.forEach((t=>fo(e,t,n,!0)));for(const a in t)if(r&&"expose"===a);else{const r=ho[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const ho={data:mo,props:yo,emits:yo,methods:vo,computed:vo,beforeCreate:_o,created:_o,beforeMount:_o,mounted:_o,beforeUpdate:_o,updated:_o,beforeDestroy:_o,beforeUnmount:_o,destroyed:_o,unmounted:_o,activated:_o,deactivated:_o,errorCaptured:_o,serverPrefetch:_o,components:vo,directives:vo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=s(Object.create(null),e);for(const r in t)n[r]=_o(e[r],t[r]);return n},provide:mo,inject:function(e,t){return vo(go(e),go(t))}};function mo(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function go(e){if(d(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _o(e,t){return e?[...new Set([].concat(e,t))]:t}function vo(e,t){return e?s(Object.create(null),e,t):t}function yo(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),ao(e),ao(null!=t?t:{})):t}function bo(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wo=0;function xo(e,t){return function(n,r=null){h(n)||(n=s({},n)),null==r||_(r)||(r=null);const o=bo(),i=new WeakSet;let a=!1;const l=o.app={_uid:wo++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Ri,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&h(e.install)?(i.add(e),e.install(l,...t)):h(e)&&(i.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(i,s,c){if(!a){const u=ci(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(u,i):e(u,i,c),a=!0,l._container=i,i.__vue_app__=l,l._instance=u.component,Ai(u.component)||u.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=To;To=l;try{return e()}finally{To=t}}};return l}}let To=null;function So(e,t){if(wi){let n=wi.provides;const r=wi.parent&&wi.parent.provides;r===n&&(n=wi.provides=Object.create(r)),n[e]=t,"app"===wi.type.mpType&&wi.appContext.app.provide(e,t)}else;}function ko(e,t,n=!1){const r=wi||Wn;if(r||To){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:To._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}function Co(e,n,r,o){const[i,a]=e.propsOptions;let s,l=!1;if(n)for(let t in n){if(T(t))continue;const c=n[t];let d;i&&u(i,d=C(t))?a&&a.includes(d)?(s||(s={}))[d]=c:r[d]=c:Fn(e.emitsOptions,t)||t in o&&c===o[t]||(o[t]=c,l=!0)}if(a){const n=Kt(r),o=s||t;for(let t=0;t<a.length;t++){const s=a[t];r[s]=Eo(i,n,s,o[s],e,!u(o,s))}}return l}function Eo(e,t,n,r,o,i){const a=e[n];if(null!=a){const e=u(a,"default");if(e&&void 0===r){const e=a.default;if(a.type!==Function&&!a.skipFactory&&h(e)){const{propsDefaults:i}=o;if(n in i)r=i[n];else{const a=ki(o);r=i[n]=e.call(null,t),a()}}else r=e}a[0]&&(i&&!e?r=!1:!a[1]||""!==r&&r!==P(n)||(r=!0))}return r}function Po(e,r,o=!1){const i=r.propsCache,a=i.get(e);if(a)return a;const l=e.props,c={},p=[];let f=!1;if(!h(e)){const t=e=>{f=!0;const[t,n]=Po(e,r,!0);s(c,t),n&&p.push(...n)};!o&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!l&&!f)return _(e)&&i.set(e,n),n;if(d(l))for(let n=0;n<l.length;n++){const e=C(l[n]);Oo(e)&&(c[e]=t)}else if(l)for(const t in l){const e=C(t);if(Oo(e)){const n=l[t],r=c[e]=d(n)||h(n)?{type:n}:s({},n);if(r){const t=Mo(Boolean,r.type),n=Mo(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||u(r,"default"))&&p.push(e)}}}const m=[c,p];return _(e)&&i.set(e,m),m}function Oo(e){return"$"!==e[0]&&!T(e)}function Lo(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Ao(e,t){return Lo(e)===Lo(t)}function Mo(e,t){return d(t)?t.findIndex((t=>Ao(t,e))):h(t)&&Ao(t,e)?0:-1}const $o=e=>"_"===e[0]||"$stable"===e,Io=e=>d(e)?e.map(hi):[hi(e)],Ro=(e,t,n)=>{if(t._n)return t;const r=zn(((...e)=>Io(t(...e))),n);return r._c=!1,r},jo=(e,t,n)=>{const r=e._ctx;for(const o in e){if($o(o))continue;const n=e[o];if(h(n))t[o]=Ro(0,n,r);else if(null!=n){const e=Io(n);t[o]=()=>e}}},Do=(e,t)=>{const n=Io(t);e.slots.default=()=>n};function No(e,n,r,o,i=!1){if(d(e))return void e.forEach(((e,t)=>No(e,n&&(d(n)?n[t]:n),r,o,i)));if(Sr(o)&&!i)return;const a=4&o.shapeFlag?Ai(o.component)||o.component.proxy:o.el,s=i?null:a,{i:c,r:p}=e,f=n&&n.r,g=c.refs===t?c.refs={}:c.refs,_=c.setupState;if(null!=f&&f!==p&&(m(f)?(g[f]=null,u(_,f)&&(_[f]=null)):an(f)&&(f.value=null)),h(p))_n(p,c,12,[s,g]);else{const t=m(p),n=an(p);if(t||n){const o=()=>{if(e.f){const n=t?u(_,p)?_[p]:g[p]:p.value;i?d(n)&&l(n,a):d(n)?n.includes(a)||n.push(a):t?(g[p]=[a],u(_,p)&&(_[p]=g[p])):(p.value=[a],e.k&&(g[e.k]=p.value))}else t?(g[p]=s,u(_,p)&&(_[p]=s)):n&&(p.value=s,e.k&&(g[e.k]=s))};s?(o.id=-1,Bo(o,r)):o()}}}const Bo=function(e,t){var n;t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):(d(n=e)?Sn.push(...n):kn&&kn.includes(n,n.allowRecurse?Cn+1:Cn)||Sn.push(n),An())};function Fo(e){return function(e,o){j().__VUE__=!0;const{insert:i,remove:a,patchProp:l,forcePatchProp:c,createElement:d,createText:p,createComment:f,setText:h,setElementText:m,parentNode:g,nextSibling:_,setScopeId:y=r,insertStaticContent:b}=e,w=(e,t,n,r=null,o=null,i=null,a,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!oi(e,t)&&(r=te(e),J(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ho:x(e,t,n,r);break;case Yo:S(e,t,n,r);break;case Go:null==e&&k(t,n,r,a);break;case Uo:F(e,t,n,r,o,i,a,s,l);break;default:1&d?L(e,t,n,r,o,i,a,s,l):6&d?W(e,t,n,r,o,i,a,s,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,a,s,l,oe)}null!=u&&o&&No(u,e&&e.ref,i,t||e,!t)},x=(e,t,n,r)=>{if(null==e)i(t.el=p(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,n,r)=>{null==e?i(t.el=f(t.children||""),n,r):t.el=e.el},k=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r,e.el,e.anchor)},E=({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=_(e),i(e,n,r),e=o;i(t,n,r)},O=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=_(e),a(e),e=n;a(t)},L=(e,t,n,r,o,i,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?A(t,n,r,o,i,a,s,l):D(e,t,o,i,a,s,l)},A=(e,t,n,r,o,a,s,c)=>{let u,p;const{props:f,shapeFlag:h,transition:g,dirs:_}=e;if(u=e.el=d(e.type,a,f&&f.is,f),8&h?m(u,e.children):16&h&&R(e.children,u,null,r,o,Wo(e,a),s,c),_&&dr(e,null,r,"created"),I(u,e,e.scopeId,s,r),f){for(const t in f)"value"===t||T(t)||l(u,t,null,f[t],a,e.children,r,o,ee);"value"in f&&l(u,"value",null,f.value,a),(p=f.onVnodeBeforeMount)&&vi(p,r,e)}Object.defineProperty(u,"__vueParentComponent",{value:r,enumerable:!1}),_&&dr(e,null,r,"beforeMount");const v=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(o,g);v&&g.beforeEnter(u),i(u,t,n),((p=f&&f.onVnodeMounted)||v||_)&&Bo((()=>{p&&vi(p,r,e),v&&g.enter(u),_&&dr(e,null,r,"mounted")}),o)},I=(e,t,n,r,o)=>{if(n&&y(e,n),r)for(let i=0;i<r.length;i++)y(e,r[i]);if(o){if(t===o.subTree){const t=o.vnode;I(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},R=(e,t,n,r,o,i,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?mi(e[c]):hi(e[c]);w(null,l,t,n,r,o,i,a,s)}},D=(e,n,r,o,i,a,s)=>{const u=n.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:f}=n;d|=16&e.patchFlag;const h=e.props||t,g=n.props||t;let _;if(r&&Vo(r,!1),(_=g.onVnodeBeforeUpdate)&&vi(_,r,n,e),f&&dr(n,e,r,"beforeUpdate"),r&&Vo(r,!0),p?N(e.dynamicChildren,p,u,r,o,Wo(n,i),a):s||H(e,n,u,null,r,o,Wo(n,i),a,!1),d>0){if(16&d)B(u,n,h,g,r,o,i);else if(2&d&&h.class!==g.class&&l(u,"class",null,g.class,i),4&d&&l(u,"style",h.style,g.style,i),8&d){const t=n.dynamicProps;for(let n=0;n<t.length;n++){const a=t[n],s=h[a],d=g[a];(d!==s||"value"===a||c&&c(u,a))&&l(u,a,s,d,i,e.children,r,o,ee)}}1&d&&e.children!==n.children&&m(u,n.children)}else s||null!=p||B(u,n,h,g,r,o,i);((_=g.onVnodeUpdated)||f)&&Bo((()=>{_&&vi(_,r,n,e),f&&dr(n,e,r,"updated")}),o)},N=(e,t,n,r,o,i,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===Uo||!oi(l,c)||70&l.shapeFlag)?g(l.el):n;w(l,c,u,null,r,o,i,a,!0)}},B=(e,n,r,o,i,a,s)=>{if(r!==o){if(r!==t)for(const t in r)T(t)||t in o||l(e,t,r[t],null,s,n.children,i,a,ee);for(const t in o){if(T(t))continue;const u=o[t],d=r[t];(u!==d&&"value"!==t||c&&c(e,t))&&l(e,t,d,u,s,n.children,i,a,ee)}"value"in o&&l(e,"value",r.value,o.value,s)}},F=(e,t,n,r,o,a,s,l,c)=>{const u=t.el=e?e.el:p(""),d=t.anchor=e?e.anchor:p("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(i(u,n,r),i(d,n,r),R(t.children||[],n,d,o,a,s,l,c)):f>0&&64&f&&h&&e.dynamicChildren?(N(e.dynamicChildren,h,n,o,a,s,l),(null!=t.key||o&&t===o.subTree)&&qo(e,t,!0)):H(e,t,n,d,o,a,s,l,c)},W=(e,t,n,r,o,i,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,l):V(t,n,r,o,i,a,l):q(e,t,l)},V=(e,n,r,o,i,a,s)=>{const l=e.component=function(e,n,r){const o=e.type,i=(n?n.appContext:e.appContext)||yi,a={uid:bi++,vnode:e,type:o,parent:n,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ne(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Po(o,i),emitsOptions:Bn(o,i),emit:null,emitted:null,propsDefaults:t,inheritAttrs:o.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=n?n.root:a,a.emit=Dn.bind(null,a),a.$pageInstance=n&&n.$pageInstance,e.ce&&e.ce(a);return a}(e,o,i);if(Er(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&Si(t);const{props:n,children:r}=e.vnode,o=Ei(e);(function(e,t,n,r=!1){const o={},i={};$(i,ii,1),e.propsDefaults=Object.create(null),Co(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Ut(o):e.type.props?e.props=o:e.props=i,e.attrs=i})(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Kt(t),$(t,"_",n)):jo(t,e.slots={})}else e.slots={},t&&Do(e,t);$(e.slots,ii,1)})(e,r);const i=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Qt(new Proxy(e.ctx,io));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(it(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,o=ki(e);Ge();const i=_n(r,e,0,[e.props,n]);if(Xe(),o(),v(i)){if(i.then(Ci,Ci),t)return i.then((n=>{Oi(e,n,t)})).catch((t=>{yn(t,e,0)}));e.asyncDep=i}else Oi(e,i,t)}else Li(e,t)}(e,t):void 0;t&&Si(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,z),!e.el){const e=l.subTree=ci(Yo);S(null,e,n,r)}}else z(l,e,n,r,i,a,s)},q=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||Gn(r,a,c):!!a);if(1024&l)return!0;if(16&l)return r?Gn(r,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!Fn(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void U(r,t,n);r.next=t,function(e){const t=xn.indexOf(e);t>Tn&&xn.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},z=(e,t,n,o,i,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:o,vnode:c}=e;{const n=zo(e);if(n)return t&&(t.el=c.el,U(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Vo(e,!1),t?(t.el=c.el,U(e,t,s)):t=c,n&&M(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&vi(u,o,t,c),Vo(e,!0);const p=Un(e),f=e.subTree;e.subTree=p,w(f,p,g(f.el),te(f),e,i,a),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),r&&Bo(r,i),(u=t.props&&t.props.onVnodeUpdated)&&Bo((()=>vi(u,o,t,c)),i)}else{let r;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=Sr(t);if(Vo(e,!1),c&&M(c),!p&&(r=l&&l.onVnodeBeforeMount)&&vi(r,d,t),Vo(e,!0),s&&ae){const n=()=>{e.subTree=Un(e),ae(s,e.subTree,e,i,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=Un(e);w(null,r,n,o,e,i,a),t.el=r.el}if(u&&Bo(u,i),!p&&(r=l&&l.onVnodeMounted)){const e=t;Bo((()=>vi(r,d,e)),i)}(256&t.shapeFlag||d&&Sr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Br(e.ba),e.a&&Bo(e.a,i)),e.isMounted=!0,t=n=o=null}},c=e.effect=new We(l,r,(()=>Ln(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Vo(e,!0),u()},U=(e,n,r)=>{n.component=e;const o=e.vnode.props;e.vnode=n,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=Kt(o),[l]=e.propsOptions;let c=!1;if(!(r||a>0)||16&a){let r;Co(e,t,o,i)&&(c=!0);for(const i in s)t&&(u(t,i)||(r=P(i))!==i&&u(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=Eo(l,s,i,void 0,e,!0)):delete o[i]);if(i!==s)for(const e in i)t&&u(t,e)||(delete i[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(Fn(e.emitsOptions,a))continue;const d=t[a];if(l)if(u(i,a))d!==i[a]&&(i[a]=d,c=!0);else{const t=C(a);o[t]=Eo(l,s,t,d,e,!1)}else d!==i[a]&&(i[a]=d,c=!0)}}c&&at(e,"set","$attrs")}(e,n.props,o,r),((e,n,r)=>{const{vnode:o,slots:i}=e;let a=!0,l=t;if(32&o.shapeFlag){const e=n._;e?r&&1===e?a=!1:(s(i,n),r||1!==e||delete i._):(a=!n.$stable,jo(n,i)),l=n}else n&&(Do(e,n),l={default:1});if(a)for(const t in i)$o(t)||null!=l[t]||delete i[t]})(e,n.children,r),Ge(),Mn(e),Xe()},H=(e,t,n,r,o,i,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void G(c,d,n,r,o,i,a,s,l);if(256&p)return void Y(c,d,n,r,o,i,a,s,l)}8&f?(16&u&&ee(c,o,i),d!==c&&m(n,d)):16&u?16&f?G(c,d,n,r,o,i,a,s,l):ee(c,o,i,!0):(8&u&&m(n,""),16&f&&R(d,n,r,o,i,a,s,l))},Y=(e,t,r,o,i,a,s,l,c)=>{t=t||n;const u=(e=e||n).length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const n=t[f]=c?mi(t[f]):hi(t[f]);w(e[f],n,r,null,i,a,s,l,c)}u>d?ee(e,i,a,!0,!1,p):R(t,r,o,i,a,s,l,c,p)},G=(e,t,r,o,i,a,s,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const n=e[u],o=t[u]=c?mi(t[u]):hi(t[u]);if(!oi(n,o))break;w(n,o,r,null,i,a,s,l,c),u++}for(;u<=p&&u<=f;){const n=e[p],o=t[f]=c?mi(t[f]):hi(t[f]);if(!oi(n,o))break;w(n,o,r,null,i,a,s,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,n=e<d?t[e].el:o;for(;u<=f;)w(null,t[u]=c?mi(t[u]):hi(t[u]),r,n,i,a,s,l,c),u++}}else if(u>f)for(;u<=p;)J(e[u],i,a,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=f;u++){const e=t[u]=c?mi(t[u]):hi(t[u]);null!=e.key&&g.set(e.key,u)}let _,v=0;const y=f-m+1;let b=!1,x=0;const T=new Array(y);for(u=0;u<y;u++)T[u]=0;for(u=h;u<=p;u++){const n=e[u];if(v>=y){J(n,i,a,!0);continue}let o;if(null!=n.key)o=g.get(n.key);else for(_=m;_<=f;_++)if(0===T[_-m]&&oi(n,t[_])){o=_;break}void 0===o?J(n,i,a,!0):(T[o-m]=u+1,o>=x?x=o:b=!0,w(n,t[o],r,null,i,a,s,l,c),v++)}const S=b?function(e){const t=e.slice(),n=[0];let r,o,i,a,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<l?i=s+1:a=s;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(T):n;for(_=S.length-1,u=y-1;u>=0;u--){const e=m+u,n=t[e],p=e+1<d?t[e+1].el:o;0===T[u]?w(null,n,r,p,i,a,s,l,c):b&&(_<0||u!==S[_]?X(n,r,p,2):_--)}}},X=(e,t,n,r,o=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void s.move(e,t,n,oe);if(s===Uo){i(a,t,n);for(let e=0;e<c.length;e++)X(c[e],t,n,r);return void i(e.anchor,t,n)}if(s===Go)return void E(e,t,n);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(a),i(a,t,n),Bo((()=>l.enter(a)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,s=()=>i(a,t,n),c=()=>{e(a,(()=>{s(),o&&o()}))};r?r(a,s,c):c()}else i(a,t,n)},J=(e,t,n,r=!1,o=!1)=>{const{type:i,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&No(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!Sr(e);let m;if(h&&(m=a&&a.onVnodeBeforeUnmount)&&vi(m,t,e),6&u)Q(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);f&&dr(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,oe,r):c&&(i!==Uo||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Uo&&384&d||!o&&16&u)&&ee(l,t,n),r&&Z(e)}(h&&(m=a&&a.onVnodeUnmounted)||f)&&Bo((()=>{m&&vi(m,t,e),f&&dr(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Uo)return void K(n,r);if(t===Go)return void O(e);const i=()=>{a(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,a=()=>t(n,i);r?r(e.el,i,a):a()}else i()},K=(e,t)=>{let n;for(;e!==t;)n=_(e),a(e),e=n;a(t)},Q=(e,t,n)=>{const{bum:r,scope:o,update:i,subTree:a,um:s}=e;r&&M(r),o.stop(),i&&(i.active=!1,J(a,e,t,n)),s&&Bo(s,t),Bo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,r=!1,o=!1,i=0)=>{for(let a=i;a<e.length;a++)J(e[a],t,n,r,o)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():_(e.anchor||e.el);let ne=!1;const re=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,Mn(),$n(),ne=!1),t._vnode=e},oe={p:w,um:J,m:X,r:Z,mt:V,mc:R,pc:H,pbc:N,n:te,o:e};let ie,ae;o&&([ie,ae]=o(oe));return{render:re,hydrate:ie,createApp:xo(re,ie)}}(e)}function Wo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Vo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t,n=!1){const r=e.children,o=t.children;if(d(r)&&d(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=mi(o[i]),t.el=e.el),n||qo(e,t)),t.type===Ho&&(t.el=e.el)}}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}const Uo=Symbol.for("v-fgt"),Ho=Symbol.for("v-txt"),Yo=Symbol.for("v-cmt"),Go=Symbol.for("v-stc"),Xo=[];let Jo=null;function Zo(e=!1){Xo.push(Jo=e?null:[])}let Ko=1;function Qo(e){Ko+=e}function ei(e){return e.dynamicChildren=Ko>0?Jo||n:null,Xo.pop(),Jo=Xo[Xo.length-1]||null,Ko>0&&Jo&&Jo.push(e),e}function ti(e,t,n,r,o,i){return ei(li(e,t,n,r,o,i,!0))}function ni(e,t,n,r,o){return ei(ci(e,t,n,r,o,!0))}function ri(e){return!!e&&!0===e.__v_isVNode}function oi(e,t){return e.type===t.type&&e.key===t.key}const ii="__vInternal",ai=({key:e})=>null!=e?e:null,si=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?m(e)||an(e)||h(e)?{i:Wn,r:e,k:t,f:!!n}:e:null);function li(e,t=null,n=null,r=0,o=null,i=(e===Uo?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ai(t),ref:t&&si(t),scopeId:Vn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Wn};return s?(gi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=m(n)?8:16),Ko>0&&!a&&Jo&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Jo.push(l),l}const ci=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==Jn||(e=Yo);if(ri(e)){const r=di(e,t,!0);return n&&gi(r,n),Ko>0&&!i&&Jo&&(6&r.shapeFlag?Jo[Jo.indexOf(e)]=r:Jo.push(r)),r.patchFlag|=-2,r}a=e,h(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=ui(t);let{class:e,style:n}=t;e&&!m(e)&&(t.class=ie(e)),_(n)&&(Zt(n)&&!d(n)&&(n=s({},n)),t.style=oe(n))}const l=m(e)?1:er(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:h(e)?2:0;return li(e,t,n,r,o,l,i,!0)};function ui(e){return e?Zt(e)||ii in e?s({},e):e:null}function di(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?_i(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ai(s),ref:t&&t.ref?n&&o?d(o)?o.concat(si(t)):[o,si(t)]:si(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Uo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&di(e.ssContent),ssFallback:e.ssFallback&&di(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pi(e=" ",t=0){return ci(Ho,null,e,t)}function fi(e="",t=!1){return t?(Zo(),ni(Yo,null,e)):ci(Yo,null,e)}function hi(e){return null==e||"boolean"==typeof e?ci(Yo):d(e)?ci(Uo,null,e.slice()):"object"==typeof e?mi(e):ci(Ho,null,String(e))}function mi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:di(e)}function gi(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(d(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),gi(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||ii in t?3===r&&Wn&&(1===Wn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Wn}}else h(t)?(t={default:t,_ctx:Wn},n=32):(t=String(t),64&r?(n=16,t=[pi(t)]):n=8);e.children=t,e.shapeFlag|=n}function _i(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=ie([t.class,r.class]));else if("style"===e)t.style=oe([t.style,r.style]);else if(i(e)){const n=t[e],o=r[e];!o||n===o||d(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function vi(e,t,n,r=null){vn(e,t,7,[n,r])}const yi=bo();let bi=0;let wi=null;const xi=()=>wi||Wn;let Ti,Si;{const e=j(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Ti=t("__VUE_INSTANCE_SETTERS__",(e=>wi=e)),Si=t("__VUE_SSR_SETTERS__",(e=>Pi=e))}const ki=e=>{const t=wi;return Ti(e),e.scope.on(),()=>{e.scope.off(),Ti(t)}},Ci=()=>{wi&&wi.scope.off(),Ti(null)};function Ei(e){return 4&e.vnode.shapeFlag}let Pi=!1;function Oi(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=fn(t)),Li(e,n)}function Li(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=ki(e);Ge();try{lo(e)}finally{Xe(),t()}}}function Ai(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fn(Qt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ro?ro[n](e):void 0,has:(e,t)=>t in e||t in ro}))}function Mi(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}const $i=(e,t)=>{const n=function(e,t,n=!1){let o,i;const a=h(e);return a?(o=e,i=r):(o=e.get,i=e.set),new nn(o,i,a||!i,n)}(e,0,Pi);return n};function Ii(e,t,n){const r=arguments.length;return 2===r?_(t)&&!d(t)?ri(t)?ci(e,null,[t]):ci(e,t):ci(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ri(n)&&(n=[n]),ci(e,t,n))}const Ri="3.4.21",ji="undefined"!=typeof document?document:null,Di=ji&&ji.createElement("template"),Ni={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?ji.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ji.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ji.createElement(e,{is:n}):ji.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>ji.createTextNode(e),createComment:e=>ji.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ji.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{Di.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const o=Di.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bi="transition",Fi=Symbol("_vtc"),Wi=(e,{slots:t})=>Ii(gr,function(e){const t={};for(const s in e)s in Vi||(t[s]=e[s]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(_(e))return[Ui(e.enter),Ui(e.leave)];{const t=Ui(e);return[t,t]}}(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:k=b,onAppearCancelled:C=w}=t,E=(e,t,n)=>{Yi(e,t?d:l),Yi(e,t?u:a),n&&n()},P=(e,t)=>{e._isLeaving=!1,Yi(e,p),Yi(e,h),Yi(e,f),t&&t()},O=e=>(t,n)=>{const o=e?k:b,a=()=>E(t,e,n);qi(o,[t,a]),Gi((()=>{Yi(t,e?c:i),Hi(t,e?d:l),zi(o)||Ji(t,r,g,a)}))};return s(t,{onBeforeEnter(e){qi(y,[e]),Hi(e,i),Hi(e,a)},onBeforeAppear(e){qi(S,[e]),Hi(e,c),Hi(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);Hi(e,p),document.body.offsetHeight,Hi(e,f),Gi((()=>{e._isLeaving&&(Yi(e,p),Hi(e,h),zi(x)||Ji(e,r,v,n))})),qi(x,[e,n])},onEnterCancelled(e){E(e,!1),qi(w,[e])},onAppearCancelled(e){E(e,!0),qi(C,[e])},onLeaveCancelled(e){P(e),qi(T,[e])}})}(e),t);Wi.displayName="Transition";const Vi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Wi.props=s({},mr,Vi);const qi=(e,t=[])=>{d(e)?e.forEach((e=>e(...t))):e&&e(...t)},zi=e=>!!e&&(d(e)?e.some((e=>e.length>1)):e.length>1);function Ui(e){const t=(e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Hi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Fi]||(e[Fi]=new Set)).add(t)}function Yi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Fi];n&&(n.delete(t),n.size||(e[Fi]=void 0))}function Gi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xi=0;function Ji(e,t,n,r){const o=e._endId=++Xi,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),i=r("transitionDuration"),a=Zi(o,i),s=r("animationDelay"),l=r("animationDuration"),c=Zi(s,l);let u=null,d=0,p=0;t===Bi?a>0&&(u=Bi,d=a,p=i.length):"animation"===t?c>0&&(u="animation",d=c,p=l.length):(d=Math.max(a,c),u=d>0?a>c?Bi:"animation":null,p=u?u===Bi?i.length:l.length:0);const f=u===Bi&&/\b(transform|all)(,|$)/.test(r("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!a)return r();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,p)}function Zi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ki(t)+Ki(e[n]))))}function Ki(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Qi=Symbol("_vod"),ea=Symbol("_vsh"),ta={beforeMount(e,{value:t},{transition:n}){e[Qi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):na(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),na(e,!0),r.enter(e)):r.leave(e,(()=>{na(e,!1)})):na(e,t))},beforeUnmount(e,{value:t}){na(e,t)}};function na(e,t){e.style.display=t?e[Qi]:"none",e[ea]=!t}const ra=Symbol("");function oa(e){const t=xi();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>aa(e,n)))},r=()=>{const r=e(t.proxy);ia(t.subTree,r),n(r)};rr(r),qr((()=>{const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Yr((()=>e.disconnect()))}))}function ia(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ia(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)aa(e.el,t);else if(e.type===Uo)e.children.forEach((e=>ia(e,t)));else if(e.type===Go){let{el:n,anchor:r}=e;for(;n&&(aa(n,t),n!==r);)n=n.nextSibling}}function aa(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const o=ya(t[e]);n.setProperty(`--${e}`,o),r+=`--${e}: ${o};`}n[ra]=r}}const sa=/(^|;)\s*display\s*:/;const la=/\s*!important$/;function ca(e,t,n){if(d(n))n.forEach((n=>ca(e,t,n)));else if(null==n&&(n=""),n=ya(n),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=da[t];if(n)return n;let r=C(t);if("filter"!==r&&r in e)return da[t]=r;r=O(r);for(let o=0;o<ua.length;o++){const n=ua[o]+r;if(n in e)return da[t]=n}return t}(e,t);la.test(n)?e.setProperty(P(r),n.replace(la,""),"important"):e[r]=n}}const ua=["Webkit","Moz","ms"],da={};const{unit:pa,unitRatio:fa,unitPrecision:ha}={unit:"rem",unitRatio:10/320,unitPrecision:5},ma=(ga=pa,_a=fa,va=ha,e=>e.replace(ve,((e,t)=>{if(!t)return e;if(1===_a)return`${t}${ga}`;const n=function(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return 10*Math.round(r/10)/n}(parseFloat(t)*_a,va);return 0===n?"0":`${n}${ga}`})));var ga,_a,va;const ya=e=>m(e)?ma(e):e,ba="http://www.w3.org/1999/xlink";const wa=Symbol("_vei");function xa(e,t,n,r,o=null){const i=e[wa]||(e[wa]={}),a=i[t];if(r&&a)a.value=r;else{const[n,s]=function(e){let t;if(Ta.test(e)){let n;for(t={};n=e.match(Ta);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):P(e.slice(2)),t]}(t);if(r){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const r=t&&t.proxy,o=r&&r.$nne,{value:i}=n;if(o&&d(i)){const n=Ca(e,i);for(let r=0;r<n.length;r++){const i=n[r];vn(i,t,5,i.__wwe?[e]:o(e))}}else vn(Ca(e,n.value),t,5,o&&!i.__wwe?o(e,i,t):[e])};return n.value=e,n.attached=(()=>Sa||(ka.then((()=>Sa=0)),Sa=Date.now()))(),n}(r,o);!function(e,t,n,r){e.addEventListener(t,n,r)}(e,n,a,s)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),i[t]=void 0)}}const Ta=/(?:Once|Passive|Capture)$/;let Sa=0;const ka=Promise.resolve();function Ca(e,t){if(d(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const Ea=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Pa=["ctrl","shift","alt","meta"],Oa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Pa.some((n=>e[`${n}Key`]&&!t.includes(n)))},La=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Oa[t[e]];if(r&&r(n,t))return}return e(n,...r)})},Aa=s({patchProp:(e,t,n,r,o,s,l,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,r=null){if(!n||!r)return;const o=t.replace("change:",""),{attrs:i}=r,a=i[o],s=(e.__wxsProps||(e.__wxsProps={}))[o];if(s===a)return;e.__wxsProps[o]=a;const l=r.proxy;On((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,r,l);const d="svg"===o;"class"===t?function(e,t,n){const{__wxsAddClass:r,__wxsRemoveClass:o}=e;o&&o.length&&(t=(t||"").split(/\s+/).filter((e=>-1===o.indexOf(e))).join(" "),o.length=0),r&&r.length&&(t=(t||"")+" "+r.join(" "));const i=e[Fi];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,d):"style"===t?function(e,t,n){const r=e.style,o=m(n);let i=!1;if(n&&!o){if(t)if(m(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ca(r,t,"")}else for(const e in t)null==n[e]&&ca(r,e,"");for(const e in n)"display"===e&&(i=!0),ca(r,e,n[e])}else if(o){if(t!==n){const e=r[ra];e&&(n+=";"+e),r.cssText=n,i=sa.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=i?r.display:"",e[ea]&&(r.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)ca(r,s,a[s])}(e,n,r):i(t)?a(t)||xa(e,t,0,r,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ea(t)&&h(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ea(t)&&m(n))return!1;return t in e}(e,t,r,d))?function(e,t,n,r,o,i,a){if("innerHTML"===t||"textContent"===t)return r&&a(r,o,i),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const r=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=z(n):null==n&&"string"===r?(n="",l=!0):"number"===r&&(n=0,l=!0)}try{e[t]=n}catch(jS){}l&&e.removeAttribute(t)}(e,t,r,s,l,c,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(ba,t.slice(6,t.length)):e.setAttributeNS(ba,t,n);else{const r=q(t);null==n||r&&!z(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Ni);let Ma;const $a=(...e)=>{const t=(Ma||(Ma=Fo(Aa))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(m(e)){return document.querySelector(e)}return e}
  20. /*!
  21. * vue-router v4.3.0
  22. * (c) 2024 Eduardo San Martin Morote
  23. * @license MIT
  24. */(e);if(!r)return;const o=t._component;h(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};const Ia="undefined"!=typeof document;const Ra=Object.assign;function ja(e,t){const n={};for(const r in t){const o=t[r];n[r]=Na(o)?o.map(e):e(o)}return n}const Da=()=>{},Na=Array.isArray,Ba=/#/g,Fa=/&/g,Wa=/\//g,Va=/=/g,qa=/\?/g,za=/\+/g,Ua=/%5B/g,Ha=/%5D/g,Ya=/%5E/g,Ga=/%60/g,Xa=/%7B/g,Ja=/%7C/g,Za=/%7D/g,Ka=/%20/g;function Qa(e){return encodeURI(""+e).replace(Ja,"|").replace(Ua,"[").replace(Ha,"]")}function es(e){return Qa(e).replace(za,"%2B").replace(Ka,"+").replace(Ba,"%23").replace(Fa,"%26").replace(Ga,"`").replace(Xa,"{").replace(Za,"}").replace(Ya,"^")}function ts(e){return null==e?"":function(e){return Qa(e).replace(Ba,"%23").replace(qa,"%3F")}(e).replace(Wa,"%2F")}function ns(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const rs=/\/$/;function os(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,a,s=n.length-1;for(i=0;i<r.length;i++)if(a=r[i],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:ns(a)}}function is(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ss(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ls(e[n],t[n]))return!1;return!0}function ls(e,t){return Na(e)?cs(e,t):Na(t)?cs(t,e):e===t}function cs(e,t){return Na(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var us,ds,ps,fs;function hs(e){if(!e)if(Ia){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(rs,"")}(ds=us||(us={})).pop="pop",ds.push="push",(fs=ps||(ps={})).back="back",fs.forward="forward",fs.unknown="";const ms=/^[^#]+#/;function gs(e,t){return e.replace(ms,"#")+t}const _s=()=>({left:window.scrollX,top:window.scrollY});function vs(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function ys(e,t){return(history.state?history.state.position-t:-1)+e}const bs=new Map;function ws(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),is(n,"")}return is(n,e)+r+o}function xs(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_s():null}}function Ts(e){const{history:t,location:n}=window,r={value:ws(e,n)},o={value:t.state};function i(r,i,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:location.protocol+"//"+location.host+e+r;try{t[a?"replaceState":"pushState"](i,"",l),o.value=i}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const a=Ra({},o.value,t.state,{forward:e,scroll:_s()});i(a.current,a,!0),i(e,Ra({},xs(r.value,e,null),{position:a.position+1},n),!1),r.value=e},replace:function(e,n){i(e,Ra({},t.state,xs(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}function Ss(e){const t=Ts(e=hs(e)),n=function(e,t,n,r){let o=[],i=[],a=null;const s=({state:i})=>{const s=ws(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===l)return void(a=null);u=c?i.position-c.position:0}else r(s);o.forEach((e=>{e(n.value,l,{delta:u,type:us.pop,direction:u?u>0?ps.forward:ps.back:ps.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ra({},e.state,{scroll:_s()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const r=Ra({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:gs.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ks(e){return"string"==typeof e||"symbol"==typeof e}const Cs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Es=Symbol("");var Ps,Os;function Ls(e,t){return Ra(new Error,{type:e,[Es]:!0},t)}function As(e,t){return e instanceof Error&&Es in e&&(null==t||!!(e.type&t))}(Os=Ps||(Ps={}))[Os.aborted=4]="aborted",Os[Os.cancelled=8]="cancelled",Os[Os.duplicated=16]="duplicated";const Ms={sensitive:!1,strict:!1,start:!0,end:!0},$s=/[.+*?^${}()[\]/\\]/g;function Is(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Rs(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=Is(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(js(r))return 1;if(js(o))return-1}return o.length-r.length}function js(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ds={type:0,value:""},Ns=/[a-zA-Z0-9_]/;function Bs(e,t,n){const r=function(e,t){const n=Ra({},Ms,t),r=[];let o=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const r=l[t];let a=40+(n.sensitive?.25:0);if(0===r.type)t||(o+="/"),o+=r.value.replace($s,"\\$&"),a+=40;else if(1===r.type){const{value:e,repeatable:n,optional:c,regexp:u}=r;i.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),c&&(p+="?"),o+=p,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");return{re:a,score:r,keys:i,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",o=i[r-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:a,optional:s}=e,l=i in t?t[i]:"";if(Na(l)&&!a)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Na(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${i}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Ds]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:"("===s?n=2:Ns.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),o}(e.path),n),o=Ra(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Fs(e,t){const n=[],r=new Map;function o(e,n,r){const s=!r,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Vs(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=r&&r.record;const c=Us(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Ra({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l}))}let d,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(d=Bs(t,n,c),r?r.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),s&&e.name&&!qs(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return p?()=>{i(p)}:Da}function i(e){if(ks(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t<n.length&&Rs(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Hs(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!qs(e)&&r.set(e.record.name,e)}return t=Us({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,a,s={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw Ls(1,{location:e});a=o.record.name,s=Ra(Ws(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ws(e.params,o.keys.map((e=>e.name)))),i=o.stringify(s)}else if(null!=e.path)i=e.path,o=n.find((e=>e.re.test(i))),o&&(s=o.parse(i),a=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw Ls(1,{location:e,currentLocation:t});a=o.record.name,s=Ra({},t.params,e.params),i=o.stringify(s)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:i,params:s,matched:l,meta:zs(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function Ws(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vs(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function qs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zs(e){return e.reduce(((e,t)=>Ra(e,t.meta)),{})}function Us(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Hs(e,t){return t.children.some((t=>t===e||Hs(e,t)))}function Ys(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(za," "),o=e.indexOf("="),i=ns(o<0?e:e.slice(0,o)),a=o<0?null:ns(e.slice(o+1));if(i in t){let e=t[i];Na(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function Gs(e){let t="";for(let n in e){const r=e[n];if(n=es(n).replace(Va,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}(Na(r)?r.map((e=>e&&es(e))):[r&&es(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Xs(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Na(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const Js=Symbol(""),Zs=Symbol(""),Ks=Symbol(""),Qs=Symbol(""),el=Symbol("");function tl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function nl(e,t,n,r,o,i=(e=>e())){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var i;!1===e?l(Ls(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(Ls(2,{from:t,to:e})):(a&&r.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),s())},u=i((()=>e.call(r&&r.instances[o],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function rl(e,t,n,r,o=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(l.__vccOpts||l)[t];a&&i.push(nl(a,n,r,s,e,o))}else{let a=l();i.push((()=>a.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&nl(c,n,r,s,e,o)()}))))}}var a;return i}function ol(e){const t=ko(Ks),n=ko(Qs),r=$i((()=>t.resolve(dn(e.to)))),o=$i((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const a=i.findIndex(as.bind(null,o));if(a>-1)return a;const s=al(e[t-2]);return t>1&&al(o)===s&&i[i.length-1].path!==s?i.findIndex(as.bind(null,e[t-2])):a})),i=$i((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!Na(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),a=$i((()=>o.value>-1&&o.value===n.matched.length-1&&ss(n.params,r.value.params)));return{route:r,href:$i((()=>r.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[dn(e.replace)?"replace":"push"](dn(e.to)).catch(Da):Promise.resolve()}}}const il=Tr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ol,setup(e,{slots:t}){const n=zt(ol(e)),{options:r}=ko(Ks),o=$i((()=>({[sl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[sl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ii("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function al(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sl=(e,t,n)=>null!=e?e:null!=t?t:n,ll=Tr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ko(el),o=$i((()=>e.route||r.value)),i=ko(Zs,0),a=$i((()=>{let e=dn(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=$i((()=>o.value.matched[a.value]));So(Zs,$i((()=>a.value+1))),So(Js,s),So(el,o);const l=sn();return ir((()=>[l.value,s.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&as(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,a=s.value,c=a&&a.components[i];if(!c)return cl(n.default,{Component:c,route:r});const u=a.props[i],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=Ii(c,Ra({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:l}));return cl(n.default,{Component:p,route:r})||p}}});function cl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ul=ll;function dl(e){const t=Fs(e.routes,e),n=e.parseQuery||Ys,r=e.stringifyQuery||Gs,o=e.history,i=tl(),a=tl(),s=tl(),l=ln(Cs);let c=Cs;Ia&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ja.bind(null,(e=>""+e)),d=ja.bind(null,ts),p=ja.bind(null,ns);function f(e,i){if(i=Ra({},i||l.value),"string"==typeof e){const r=os(n,e,i.path),a=t.resolve({path:r.path},i),s=o.createHref(r.fullPath);return Ra(r,a,{params:p(a.params),hash:ns(r.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Ra({},e,{path:os(n,e.path,i.path).path});else{const t=Ra({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Ra({},e,{params:d(t)}),i.params=d(i.params)}const s=t.resolve(a,i),c=e.hash||"";s.params=u(p(s.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Ra({},e,{hash:(h=c,Qa(h).replace(Xa,"{").replace(Za,"}").replace(Ya,"^")),path:s.path}));var h;const m=o.createHref(f);return Ra({fullPath:f,hash:c,query:r===Gs?Xs(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?os(n,e,l.value.path):Ra({},e)}function m(e,t){if(c!==e)return Ls(8,{from:t,to:e})}function g(e){return v(e)}function _(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=h(r):{path:r},r.params={}),Ra({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function v(e,t){const n=c=f(e),o=l.value,i=e.state,a=e.force,s=!0===e.replace,u=_(n);if(u)return v(Ra(h(u),{state:"object"==typeof u?Ra({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!a&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&as(t.matched[r],n.matched[o])&&ss(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(p=Ls(16,{to:d,from:o}),A(o,o,!0,!1)),(p?Promise.resolve(p):w(d,o)).catch((e=>As(e)?As(e,2)?e:L(e):O(e,d,o))).then((e=>{if(e){if(As(e,2))return v(Ra({replace:s},h(e.to),{state:"object"==typeof e.to?Ra({},i,e.to.state):i,force:a}),t||d)}else e=T(d,o,!0,s,i);return x(d,o,e),e}))}function y(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=I.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[r,o,s]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const i=t.matched[a];i&&(e.matched.find((e=>as(e,i)))?r.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>as(e,s)))||o.push(s))}return[n,r,o]}(e,t);n=rl(r.reverse(),"beforeRouteLeave",e,t);for(const i of r)i.leaveGuards.forEach((r=>{n.push(nl(r,e,t))}));const l=y.bind(null,e,t);return n.push(l),j(n).then((()=>{n=[];for(const r of i.list())n.push(nl(r,e,t));return n.push(l),j(n)})).then((()=>{n=rl(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(nl(r,e,t))}));return n.push(l),j(n)})).then((()=>{n=[];for(const r of s)if(r.beforeEnter)if(Na(r.beforeEnter))for(const o of r.beforeEnter)n.push(nl(o,e,t));else n.push(nl(r.beforeEnter,e,t));return n.push(l),j(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=rl(s,"beforeRouteEnter",e,t,b),n.push(l),j(n)))).then((()=>{n=[];for(const r of a.list())n.push(nl(r,e,t));return n.push(l),j(n)})).catch((e=>As(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((r=>b((()=>r(e,t,n)))))}function T(e,t,n,r,i){const a=m(e,t);if(a)return a;const s=t===Cs,c=Ia?history.state:{};n&&(r||s?o.replace(e.fullPath,Ra({scroll:s&&c&&c.scroll},i)):o.push(e.fullPath,i)),l.value=e,A(e,t,n,s),L()}let S;function k(){S||(S=o.listen(((e,t,n)=>{if(!R.listening)return;const r=f(e),i=_(r);if(i)return void v(Ra(i,{replace:!0}),r).catch(Da);c=r;const a=l.value;var s,u;Ia&&(s=ys(a.fullPath,n.delta),u=_s(),bs.set(s,u)),w(r,a).catch((e=>As(e,12)?e:As(e,2)?(v(e.to,r).then((e=>{As(e,20)&&!n.delta&&n.type===us.pop&&o.go(-1,!1)})).catch(Da),Promise.reject()):(n.delta&&o.go(-n.delta,!1),O(e,r,a)))).then((e=>{(e=e||T(r,a,!1))&&(n.delta&&!As(e,8)?o.go(-n.delta,!1):n.type===us.pop&&As(e,20)&&o.go(-1,!1)),x(r,a,e)})).catch(Da)})))}let C,E=tl(),P=tl();function O(e,t,n){L(e);const r=P.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return C||(C=!e,k(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,r,o){const{scrollBehavior:i}=e;if(!Ia||!i)return Promise.resolve();const a=!r&&function(e){const t=bs.get(e);return bs.delete(e),t}(ys(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return On().then((()=>i(t,n,a))).then((e=>e&&vs(e))).catch((e=>O(e,t,n)))}const M=e=>o.go(e);let $;const I=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let r,o;return ks(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:g,replace:function(e){return g(Ra(h(e),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:P.add,isReady:function(){return C&&l.value!==Cs?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",il),e.component("RouterView",ul),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>dn(l)}),Ia&&!$&&l.value===Cs&&($=!0,g(o.location).catch((e=>{})));const t={};for(const r in Cs)Object.defineProperty(t,r,{get:()=>l.value[r],enumerable:!0});e.provide(Ks,this),e.provide(Qs,Ut(t)),e.provide(el,l);const n=e.unmount;I.add(e),e.unmount=function(){I.delete(e),I.size<1&&(c=Cs,S&&S(),S=null,l.value=Cs,$=!1,C=!1),n()}}};function j(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return R}function pl(){return ko(Qs)}const fl=["{","}"];const hl=/^(?:\d)+/,ml=/^(?:\w)+/;const gl=Object.prototype.hasOwnProperty,_l=(e,t)=>gl.call(e,t),vl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=fl){if(!t)return[e];let r=this._caches[e];return r||(r=function(e,[t,n]){const r=[];let o=0,i="";for(;o<e.length;){let a=e[o++];if(a===t){i&&r.push({type:"text",value:i}),i="";let t="";for(a=e[o++];void 0!==a&&a!==n;)t+=a,a=e[o++];const s=a===n,l=hl.test(t)?"list":s&&ml.test(t)?"named":"unknown";r.push({value:t,type:l})}else i+=a}return i&&r.push({type:"text",value:i}),r}(e,n),this._caches[e]=r),function(e,t){const n=[];let r=0;const o=Array.isArray(t)?"list":(i=t,null!==i&&"object"==typeof i?"named":"unknown");var i;if("unknown"===o)return n;for(;r<e.length;){const i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value])}r++}return n}(r,t)}};function yl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let r=["en","fr","es"];t&&Object.keys(t).length>0&&(r=Object.keys(t));const o=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,r);return o||void 0}class bl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:r,formater:o}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=o||vl,this.messages=n||{},this.setLocale(e||"en"),r&&this.watchLocale(r)}setLocale(e){const t=this.locale;this.locale=yl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{_l(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let r=this.message;return"string"==typeof t?(t=yl(t,this.messages))&&(r=this.messages[t]):n=t,_l(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function wl(e,t={},n,r){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&xp?xp():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const o=new bl({locale:e,fallbackLocale:n,messages:t,watcher:r});let i=(e,t)=>{{let e=!1;i=function(t,n){const r=qg().$vm;return r&&(r.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(r,o))),o.t(t,n)}}return i(e,t)};return{i18n:o,f:(e,t,n)=>o.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>o.add(e,t,n),watch:e=>o.watchLocale(e),getLocale:()=>o.getLocale(),setLocale:e=>o.setLocale(e)}}function xl(e,t){return e.indexOf(t[0])>-1}const Tl=de((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Sl;function kl(e){return xl(e,K)?Pl().f(e,function(){const e=xp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),K):e}function Cl(e,t){if(1===t.length){if(e){const n=e=>m(e)&&xl(e,K),r=t[0];let o=[];if(d(e)&&(o=e.filter((e=>n(e[r])))).length)return o;const i=e[t[0]];if(n(i))return e}return}const n=t.shift();return Cl(e&&e[n],t)}function El(e,t){const n=Cl(e,t);if(!n)return!1;const r=t[t.length-1];if(d(n))n.forEach((e=>El(e,[r])));else{let e=n[r];Object.defineProperty(n,r,{get:()=>kl(e),set(t){e=t}})}return!0}function Pl(){if(!Sl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Sl=wl(e),Tl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Sl.add(e,__uniConfig.locales[e]))),Sl.setLocale(e)}}return Sl}function Ol(e,t,n){return t.reduce(((t,r,o)=>(t[e+r]=n[o],t)),{})}const Ll=de((()=>{const e="uni.async.",t=["error"];Pl().add("en",Ol(e,t,["The connection timed out, click the screen to try again."]),!1),Pl().add("es",Ol(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Pl().add("fr",Ol(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Pl().add("zh-Hans",Ol(e,t,["连接服务器超时,点击屏幕重试"]),!1),Pl().add("zh-Hant",Ol(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Al=de((()=>{const e="uni.showToast.",t=["unpaired"];Pl().add("en",Ol(e,t,["Please note showToast must be paired with hideToast"]),!1),Pl().add("es",Ol(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Pl().add("fr",Ol(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Pl().add("zh-Hans",Ol(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Pl().add("zh-Hant",Ol(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Ml=de((()=>{const e="uni.showLoading.",t=["unpaired"];Pl().add("en",Ol(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Pl().add("es",Ol(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Pl().add("fr",Ol(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Pl().add("zh-Hans",Ol(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Pl().add("zh-Hant",Ol(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),$l=de((()=>{const e="uni.showModal.",t=["cancel","confirm"];Pl().add("en",Ol(e,t,["Cancel","OK"]),!1),Pl().add("es",Ol(e,t,["Cancelar","OK"]),!1),Pl().add("fr",Ol(e,t,["Annuler","OK"]),!1),Pl().add("zh-Hans",Ol(e,t,["取消","确定"]),!1),Pl().add("zh-Hant",Ol(e,t,["取消","確定"]),!1)})),Il=de((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Pl().add("en",Ol(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Pl().add("es",Ol(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Pl().add("fr",Ol(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),Pl().add("zh-Hans",Ol(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Pl().add("zh-Hant",Ol(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Rl=de((()=>{const e="uni.picker.",t=["done","cancel"];Pl().add("en",Ol(e,t,["Done","Cancel"]),!1),Pl().add("es",Ol(e,t,["OK","Cancelar"]),!1),Pl().add("fr",Ol(e,t,["OK","Annuler"]),!1),Pl().add("zh-Hans",Ol(e,t,["完成","取消"]),!1),Pl().add("zh-Hant",Ol(e,t,["完成","取消"]),!1)})),jl=de((()=>{const e="uni.video.",t=["danmu","volume"];Pl().add("en",Ol(e,t,["Danmu","Volume"]),!1),Pl().add("es",Ol(e,t,["Danmu","Volumen"]),!1),Pl().add("fr",Ol(e,t,["Danmu","Le Volume"]),!1),Pl().add("zh-Hans",Ol(e,t,["弹幕","音量"]),!1),Pl().add("zh-Hant",Ol(e,t,["彈幕","音量"]),!1)}));function Dl(e){const t=new Me;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,r,o=!1){t[o?"once":"on"](`${e}.${n}`,r)},unsubscribe(n,r){t.off(`${e}.${n}`,r)},subscribeHandler(n,r,o){t.emit(`${e}.${n}`,r,o)}}}let Nl=1;const Bl=Object.create(null);function Fl(e,t){return e+"."+t}function Wl(e,t,n){t=Fl(e,t),Bl[t]||(Bl[t]=n)}function Vl({id:e,name:t,args:n},r){t=Fl(r,t);const o=t=>{e&&fy.publishHandler("invokeViewApi."+e,t)},i=Bl[t];i?i(n,o):o({})}const ql=s(Dl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:r,publishHandler:o}=fy,i=n?Nl++:0;n&&r("invokeServiceApi."+i,n,!0),o("invokeServiceApi",{id:i,name:e,args:t})}}),zl=ye(!0);let Ul;function Hl(){Ul&&(clearTimeout(Ul),Ul=null)}let Yl=0,Gl=0;function Xl(e){if(Hl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Yl=t,Gl=n,Ul=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Jl(e){if(!Ul)return;if(1!==e.touches.length)return Hl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Yl)>10||Math.abs(n-Gl)>10?Hl():void 0}function Zl(e,t){const n=Number(e);return isNaN(n)?t:n}function Kl(){const e=__uniConfig.globalStyle||{},t=Zl(e.rpxCalcMaxDeviceWidth,960),n=Zl(e.rpxCalcBaseDeviceWidth,375);function r(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function Ql(){Kl(),ge(),window.addEventListener("touchstart",Xl,zl),window.addEventListener("touchmove",Jl,zl),window.addEventListener("touchend",Hl,zl),window.addEventListener("touchcancel",Hl,zl)}function ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tc,nc,rc=["top","left","right","bottom"],oc={};function ic(){return nc="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":"":""}function ac(){if(nc="string"==typeof nc?nc:ic()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(jS){}var r=document.createElement("div");o(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),rc.forEach((function(e){a(r,e)})),document.body.appendChild(r),i(),tc=!0}else rc.forEach((function(e){oc[e]=0}));function o(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function a(e,n){var r=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:nc+"(safe-area-inset-"+n+")"};o(r,c),o(a,c),o(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),o(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(s),a.appendChild(l),e.appendChild(r),e.appendChild(a),i((function(){r.scrollTop=a.scrollTop=1e4;var e=r.scrollTop,o=a.scrollTop;function i(){this.scrollTop!==(this===r?e:o)&&(r.scrollTop=a.scrollTop=1e4,e=r.scrollTop,o=a.scrollTop,function(e){lc.length||setTimeout((function(){var e={};lc.forEach((function(t){e[t]=oc[t]})),lc.length=0,cc.forEach((function(t){t(e)}))}),0);lc.push(e)}(n))}r.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(r);Object.defineProperty(oc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function sc(e){return tc||ac(),oc[e]}var lc=[];var cc=[];const uc=ec({get support(){return 0!=("string"==typeof nc?nc:ic()).length},get top(){return sc("top")},get left(){return sc("left")},get right(){return sc("right")},get bottom(){return sc("bottom")},onChange:function(e){ic()&&(tc||ac(),"function"==typeof e&&cc.push(e))},offChange:function(e){var t=cc.indexOf(e);t>=0&&cc.splice(t,1)}}),dc=La((()=>{}),["prevent"]),pc=La((e=>{}),["stop"]);function fc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function hc(){const e=fc(document.documentElement.style,"--window-top");return e?e+uc.top:0}function mc(){const e=document.documentElement.style,t=hc(),n=fc(e,"--window-bottom"),r=fc(e,"--window-left"),o=fc(e,"--window-right"),i=fc(e,"--top-window-height");return{top:t,bottom:n?n+uc.bottom:0,left:r?r+uc.left:0,right:o?o+uc.right:0,topWindowHeight:i||0}}function gc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function _c(e){return gc(e)}function vc(e){return Symbol(e)}function yc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function bc(e,t=!1){if(t)return function(e){if(!yc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Od(parseFloat(t))+"px"))}(e);if(m(e)){const t=parseInt(e)||0;return yc(e)?Od(t):t}return e}const wc="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",xc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function Tc(e,t="#000",n=27){return ci("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ci("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Sc(){{const{$pageInstance:e}=xi();return e&&e.proxy.$page.id}}function kc(e){const t=te(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function Cc(){const e=_g(),t=e.length;if(t)return e[t-1]}function Ec(){const e=Cc();if(e)return e.$page.meta}function Pc(){const e=Ec();return e?e.id:-1}function Oc(){const e=Cc();if(e)return e.$vm}const Lc=["navigationBar","pullToRefresh"];function Ac(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),r=s({id:t},n,e);Lc.forEach((t=>{r[t]=s({},n[t],e[t])}));const{navigationBar:o}=r;return o.titleText&&o.titleImage&&(o.titleText=""),r}function Mc(e,t,n){if(m(e))n=t,t=e,e=Oc();else if("number"==typeof e){const t=_g().find((t=>t.$page.id===e));e=t?t.$vm:Oc()}if(!e)return;const r=e.$[t];return r&&((e,t)=>{let n;for(let r=0;r<e.length;r++)n=e[r](t);return n})(r,n)}function $c(e){e.preventDefault()}let Ic,Rc=0;function jc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let r=!1,o=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,r=window.scrollY,i=r>0&&e>t&&r+t+n>=e,a=Math.abs(e-Rc)>n;return!i||o&&!a?(!i&&o&&(o=!1),!1):(Rc=e,o=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(Ic=setTimeout(a,300))),r=!1};return function(){clearTimeout(Ic),r||requestAnimationFrame(a),r=!0}}function Dc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Dc(e,t.slice(2));const n=t.split("/"),r=n.length;let o=0;for(;o<r&&".."===n[o];o++);n.splice(0,o),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-o-1,o+1),le(i.concat(n).join("/"))}function Nc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Bc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(re(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:r}=e;if(16&r.shapeFlag){const e=r.children.filter((e=>e.el&&re(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=qc(this.$el.querySelector(e));return t?Fc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let r=0;r<n.length;r++){const e=qc(n[r]);e&&t.push(Fc(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||m(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:P(n);(m(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}(e))}setStyle(e){return this.$el&&e?(m(e)&&(e=W(e)),w(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];h(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&fy.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Fc(e,t=!0){if(t&&e&&(e=ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Bc(e)),e.$el.__wxsComponentDescriptor}function Wc(e,t){return Fc(e,t)}function Vc(e,t,n,r=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Wc(n.proxy,!1)}));const o=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const r=ne(t);if(!r)return!1;const o=r.$.type;return!(!o.$wxs&&!o.$renderjs)&&r}(t,n,r);if(o)return[e,Wc(o,!1)]}}function qc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function zc(e,t=!1){const{type:n,timeStamp:r,target:o,currentTarget:i}=e;let a,l;a=be(t?o:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(o)),l=be(i);const c={type:n,timeStamp:r,target:a,detail:{},currentTarget:l};return e._stopped&&(c._stopped=!0),e.type.startsWith("touch")&&(c.touches=e.touches,c.changedTouches=e.changedTouches),function(e,t){s(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(c,e),c}function Uc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Hc(e,t){const n=[];for(let r=0;r<e.length;r++){const{identifier:o,pageX:i,pageY:a,clientX:s,clientY:l,force:c}=e[r];n.push({identifier:o,pageX:i,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const Yc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:r}=e;if(!(e instanceof Event&&r instanceof HTMLElement))return[e];const o=0!==r.tagName.indexOf("UNI-");if(o)return Vc(e,t,n,!1)||[e];const i=zc(e,o);if("click"===e.type)!function(e,t){const{x:n,y:r}=t,o=hc();e.detail={x:n,y:r-o},e.touches=e.changedTouches=[Uc(t,o)]}(i,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=hc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Uc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=hc();i.touches=Hc(e.touches,t),i.changedTouches=Hc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return Vc(i,t,n)||[i]},createNativeEvent:zc},Symbol.toStringTag,{value:"Module"});function Gc(e){!function(e){const t=e.globalProperties;s(t,Yc),t.$gcd=Wc}(e._context.config)}let Xc=1;function Jc(e){return(e||Pc())+".invokeViewApi"}const Zc=s(Dl("view"),{invokeOnCallback:(e,t)=>hy.emit("api."+e,t),invokeViewMethod:(e,t,n,r)=>{const{subscribe:o,publishHandler:i}=hy,a=r?Xc++:0;r&&o("invokeViewApi."+a,r,!0),i(Jc(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,r)=>{const{subscribe:o,unsubscribe:i,publishHandler:a}=hy,s=Xc++,l="invokeViewApi."+s;return o(l,n),a(Jc(r),{id:s,name:e,args:t},r),()=>{i(l)}}});function Kc(e){Mc(Cc(),"onResize",e),hy.invokeOnCallback("onWindowResize",e)}function Qc(e){const t=Cc();Mc(qg(),"onShow",e),Mc(t,"onShow")}function eu(){Mc(qg(),"onHide"),Mc(Cc(),"onHide")}const tu=["onPageScroll","onReachBottom"];function nu(){tu.forEach((e=>hy.subscribe(e,function(e){return(t,n)=>{Mc(parseInt(n),e,t)}}(e))))}function ru(){!function(){const{on:e}=hy;e("onResize",Kc),e("onAppEnterForeground",Qc),e("onAppEnterBackground",eu)}(),nu()}function ou(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ce(this.$page.id)),e.eventChannel}}function iu(e){e._context.config.globalProperties.getOpenerEventChannel=ou}function au(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function su(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Od(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function lu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const r=t.actions,o=t.actions.length;function i(){const t=r[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","background-color"],o=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,l={},c=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(su)),n.indexOf(i)>=0&&(a.length=1),c.push(`${i}(${a.join(",")})`);else if(r.concat(o).includes(a[0])){i=a[0];const e=a[1];l[i]=o.includes(i)?su(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<o&&setTimeout(i,a.duration+a.delay)}setTimeout((()=>{i()}),0)}const cu={props:["animation"],watch:{animation:{deep:!0,handler(){lu(this)}}},mounted(){lu(this)}},uu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(cu),du(e)},du=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Tr(e));function pu(e){return e.__wwe=!0,e}function fu(e,t){return(n,r,o)=>{e.value&&t(n,function(e,t,n,r){let o;return o=be(n),{type:r.type||e,timeStamp:t.timeStamp||0,target:o,currentTarget:o,detail:r}}(n,r,e.value,o||{}))}}const hu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function mu(e){const t=sn(!1);let n,r,o=!1;function i(){requestAnimationFrame((()=>{clearTimeout(r),r=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(r){r._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(r._hoverPropagationStopped=!0),o=!0,n=setTimeout((()=>{t.value=!0,o||i()}),parseInt(e.hoverStartTime)))}function s(){o=!1,t.value&&i()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:pu((function(e){e.touches.length>1||a(e)})),onMousedown:pu((function(e){o||(a(e),window.addEventListener("mouseup",l))})),onTouchend:pu((function(){s()})),onMouseup:pu((function(){o&&l()})),onTouchcancel:pu((function(){o=!1,t.value=!1,clearTimeout(n)}))}}}function gu(e,t){return m(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const _u=vc("uf"),vu=uu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const r=sn(null);return function(e){const t=[];So(_u,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,r]=t.submit();n&&(e[n]=r)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(fu(r,n)),()=>ci("uni-form",{ref:r},[ci("span",null,[t.default&&t.default()])],512)}});const yu={for:{type:String,default:""}},bu=vc("ul");const wu=uu({name:"Label",props:yu,setup(e,{slots:t}){const n=sn(null),r=Sc(),o=function(){const e=[];return So(bu,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=$i((()=>e.for||t.default&&t.default.length)),a=pu((t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?fy.emit("uni-label-click-"+r+"-"+e.for,t,!0):o.length&&o[0](t,!0))}));return()=>ci("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:a},[t.default&&t.default()],10,["onClick"])}});function xu(e,t){Tu(e.id,t),ir((()=>e.id),((e,n)=>{Su(n,t,!0),Tu(e,t,!0)})),Yr((()=>{Su(e.id,t)}))}function Tu(e,t,n){const r=Sc();n&&!e||w(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&fy.on(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?fy.on(o,t[o]):e&&fy.on(`uni-${o}-${r}-${e}`,t[o])}))}function Su(e,t,n){const r=Sc();n&&!e||w(t)&&Object.keys(t).forEach((o=>{n?0!==o.indexOf("@")&&0!==o.indexOf("uni-")&&fy.off(`uni-${o}-${r}-${e}`,t[o]):0===o.indexOf("uni-")?fy.off(o,t[o]):e&&fy.off(`uni-${o}-${r}-${e}`,t[o])}))}const ku=uu({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=sn(null),r=ko(_u,!1),{hovering:o,binding:i}=mu(e),a=pu(((t,o)=>{if(e.disabled)return t.stopImmediatePropagation();o&&n.value.click();const i=e.formType;if(i){if(!r)return;"submit"===i?r.submit(t):"reset"===i&&r.reset(t)}else;})),s=ko(bu,!1);return s&&(s.addHandler(a),Hr((()=>{s.removeHandler(a)}))),xu(e,{"label-click":a}),()=>{const r=e.hoverClass,s=gu(e,"disabled"),l=gu(e,"loading"),c=gu(e,"plain"),u=r&&"none"!==r;return ci("uni-button",_i({ref:n,onClick:a,id:e.id,class:u&&o.value?r:""},u&&i,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function Cu(e){return e.$el}function Eu(e){const{base:t}=__uniConfig.router;return 0===le(e).indexOf(t)?le(e):t+e}function Pu(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Eu(e.slice(1));e="https:"+e}if(Q.test(e)||ee.test(e)||0===e.indexOf("blob:"))return e;const r=_g();return r.length?Eu(Dc(r[r.length-1].$page.route,e).slice(1)):e}const Ou=navigator.userAgent,Lu=/android/i.test(Ou),Au=/iphone|ipad|ipod/i.test(Ou),Mu=Ou.match(/Windows NT ([\d|\d.\d]*)/i),$u=/Macintosh|Mac/i.test(Ou),Iu=/Linux|X11/i.test(Ou),Ru=$u&&navigator.maxTouchPoints>0;function ju(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Du(e){return e&&90===Math.abs(window.orientation)}function Nu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Bu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Fu(e,t,n,r){hy.invokeViewMethod("video."+e,{videoId:e,type:n,data:r},t)}function Wu(e,t){const n={},{top:r,topWindowHeight:o}=mc();if(t.node){const t=e.tagName.replace("uni-","");t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=_e(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-r-o,n.bottom=i.bottom-r-o),t.size&&(n.width=i.width,n.height=i.height)}if(d(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(d(t.computedStyle)){const r=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=r[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Vu(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function qu(e,t,n){const r=[];t.forEach((({component:t,selector:n,single:o,fields:i})=>{null===t?r.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):r.push(function(e,t,n,r,o){const i=function(e,t){return e?e.$el:t.$el}(t,e),a=i.parentElement;if(!a)return r?null:[];const{nodeType:s}=i,l=3===s||8===s;if(r){const e=l?a.querySelector(n):Vu(i,n)?i:i.querySelector(n);return e?Wu(e,o):null}{let e=[];const t=(l?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Wu(t,o))})),!l&&Vu(i,n)&&e.unshift(Wu(i,o)),e}}(e,t,n,o,i))})),n(r)}const zu=["original","compressed"],Uu=["album","camera"],Hu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Yu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Gu(e,t){return!d(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Xu(e){return function(){try{return e.apply(e,arguments)}catch(jS){console.error(jS)}}}let Ju=1;const Zu={};function Ku(e,t,n){if("number"==typeof e){const r=Zu[e];if(r)return r.keepAlive||delete Zu[e],r.callback(t,n)}return t}const Qu="success",ed="fail",td="complete";function nd(e,t={},{beforeAll:n,beforeSuccess:r}={}){w(t)||(t={});const{success:o,fail:i,complete:a}=function(e){const t={};for(const n in e){const r=e[n];h(r)&&(t[n]=Xu(r),delete e[n])}return t}(t),s=h(o),l=h(i),c=h(a),u=Ju++;return function(e,t,n,r=!1){Zu[e]={name:t,keepAlive:r,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),h(n)&&n(u),u.errMsg===e+":ok"?(h(r)&&r(u,t),s&&o(u)):l&&i(u),c&&a(u)})),u}const rd="success",od="fail",id="complete",ad={},sd={};function ld(e,t){return function(n){return e(n,t)||n}}function cd(e,t,n){let r=!1;for(let o=0;o<e.length;o++){const i=e[o];if(r)r=Promise.resolve(ld(i,n));else{const e=i(t,n);if(v(e)&&(r=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return r||{then:e=>e(t),catch(){}}}function ud(e,t={}){return[rd,od,id].forEach((n=>{const r=e[n];if(!d(r))return;const o=t[n];t[n]=function(e){cd(r,e,t).then((e=>h(o)&&o(e)||e))}})),t}function dd(e,t){const n=[];d(ad.returnValue)&&n.push(...ad.returnValue);const r=sd[e];return r&&d(r.returnValue)&&n.push(...r.returnValue),n.forEach((e=>{t=e(t)||t})),t}function pd(e){const t=Object.create(null);Object.keys(ad).forEach((e=>{"returnValue"!==e&&(t[e]=ad[e].slice())}));const n=sd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function fd(e,t,n,r){const o=pd(e);if(o&&Object.keys(o).length){if(d(o.invoke)){return cd(o.invoke,n).then((n=>t(ud(pd(e),n),...r)))}return t(ud(o,n),...r)}return t(n,...r)}function hd(e,t){return(n={},...r)=>function(e){return!(!w(e)||![Qu,ed,td].find((t=>h(e[t]))))}(n)?dd(e,fd(e,t,n,r)):dd(e,new Promise(((o,i)=>{fd(e,t,s(n,{success:o,fail:i}),r)})))}function md(e,t,n,r={}){const o=t+":fail"+(n?" "+n:"");return delete r.errCode,Ku(e,s({errMsg:o},r))}function gd(e,t,n,r){if(r&&r.beforeInvoke){const e=r.beforeInvoke(t);if(m(e))return e}const o=function(e,t){const n=e[0];if(!t||!t.formatArgs||!w(t.formatArgs)&&w(n))return;const r=t.formatArgs,o=Object.keys(r);for(let i=0;i<o.length;i++){const t=o[i],a=r[t];if(h(a)){const r=a(e[0][t],n);if(m(r))return r}else u(n,t)||(n[t]=a)}}(t,r);if(o)return o}function _d(e,t,n,r){return n=>{const o=nd(e,n,r),i=gd(0,[n],0,r);return i?md(o,e,i):t(n,{resolve:t=>function(e,t,n){return Ku(e,s(n||{},{errMsg:t+":ok"}))}(o,e,t),reject:(t,n)=>md(o,e,function(e){return!e||m(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function vd(e,t,n,r){return hd(e,_d(e,t,0,r))}function yd(e,t,n,r){return function(e,t,n,r){return(...e)=>{const n=gd(0,e,0,r);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,r)}function bd(e,t,n,r){return hd(e,function(e,t,n,r){return _d(e,t,0,r)}(e,t,0,r))}let wd=!1,xd=0,Td=0,Sd=960,kd=375,Cd=750;function Ed(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=ju(),t=Bu(Nu(e,Du(e)));return{platform:Au?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();xd=n,Td=t,wd="ios"===e}function Pd(e,t){const n=Number(e);return isNaN(n)?t:n}const Od=yd(0,((e,t)=>{if(0===xd&&(Ed(),function(){const e=__uniConfig.globalStyle||{};Sd=Pd(e.rpxCalcMaxDeviceWidth,960),kd=Pd(e.rpxCalcBaseDeviceWidth,375),Cd=Pd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||xd;n=e===Cd||n<=Sd?n:kd;let r=e/750*n;return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==Td&&wd?.5:1),e<0?-r:r}));function Ld(e,t){Object.keys(t).forEach((n=>{h(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):d(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const Ad=yd(0,((e,t)=>{m(e)&&w(t)?Ld(sd[e]||(sd[e]={}),t):w(e)&&Ld(ad,e)})),Md=new Me,$d=yd(0,((e,t)=>(Md.on(e,t),()=>Md.off(e,t)))),Id=yd(0,((e,t)=>(Md.once(e,t),()=>Md.off(e,t)))),Rd=yd(0,((e,...t)=>{Md.emit(e,...t)})),jd=[.5,.8,1,1.25,1.5,2];class Dd{constructor(e,t){this.id=e,this.pageId=t}play(){Fu(this.id,this.pageId,"play")}pause(){Fu(this.id,this.pageId,"pause")}stop(){Fu(this.id,this.pageId,"stop")}seek(e){Fu(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Fu(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~jd.indexOf(e)||(e=1),Fu(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Fu(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Fu(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Fu(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Fu(this.id,this.pageId,"hideStatusBar")}}const Nd=yd(0,((e,t)=>new Dd(e,kc(t||Oc())))),Bd=(e,t,n,r)=>{!function(e,t,n,r,o){hy.invokeViewMethod("map."+e,{type:n,data:r},t,o)}(e,t,n,r,(e=>{r&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(r,e)}))};function Fd(e,t){return function(n,r){n?r[e]=Math.round(n):void 0!==t&&(r[e]=t)}}const Wd=Fd("width"),Vd=Fd("height"),qd={PNG:"png",JPG:"jpg",JPEG:"jpg"},zd={formatArgs:{x:Fd("x",0),y:Fd("y",0),width:Wd,height:Vd,destWidth:Fd("destWidth"),destHeight:Fd("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=qd[e];n||(n=qd.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Ud(e,t,n,r,o){hy.invokeViewMethod(`canvas.${e}`,{type:n,data:r},t,(e=>{o&&o(e)}))}var Hd=["scale","rotate","translate","setTransform","transform"],Yd=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Gd=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Xd={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 Jd(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),r=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),r=parseInt(r+r,16),[e,n,r,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(u(Xd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Xd[n]);const e=parseInt(t[1].slice(0,2),16),r=parseInt(t[1].slice(2,4),16),o=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,r,o,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class Zd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Jd(t)])}}class Kd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Qd{constructor(e){this.width=e}}class ep{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],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"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,r){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,r){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,r){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,r,o,i,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,r){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,r,o,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Ud(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,r){return new Zd("linear",[e,t,n,r])}createCircularGradient(e,t,n){return new Zd("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Kd(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Qd(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){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"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}bezierCurveTo(e,t,n,r,o,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,i]}),this.subpath.push([o,i])}arc(e,t,n,r,o,i=!1){this.path.push({method:"arc",data:[e,t,n,r,o,i]}),this.subpath.push([e,t])}rect(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]]}arcTo(e,t,n,r,o){this.path.push({method:"arcTo",data:[e,t,n,r,o]}),this.subpath.push([n,r])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var r=n[1].trim().split(/\s/),o=parseFloat(n[3]),i=n[7],a=[];r.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===r.length&&s(),r=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${r} ${o}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const tp=de((()=>{[...Hd,...Yd].forEach((function(e){ep.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};case"strokeRect":return function(e,t,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};case"fillText":case"strokeText":return function(t,n,r,o){var i=[t.toString(),n,r];"number"==typeof o&&i.push(o),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,r,o,i,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=r,l=o,c=i,n=void 0,r=void 0,o=void 0,i=void 0),u=d(n)&&d(r)&&d(o)&&d(i)?[t,a,s,l,c,n,r,o,i]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),Gd.forEach((function(e){ep.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Jd(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,r,o){o=Jd(o),this.actions.push({method:e,data:[t,n,r,o]}),this.state.shadowBlur=r,this.state.shadowColor=o,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),np=yd(0,((e,t)=>{if(tp(),t)return new ep(e,kc(t));const n=kc(Oc());if(n)return new ep(e,n);hy.emit("onError","createCanvasContext:fail")})),rp=bd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:r,destWidth:o,destHeight:i,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=kc(Oc());if(!d)return void u();Ud(a,d,"toTempFilePath",{x:e,y:t,width:n,height:r,destWidth:o,destHeight:i,fileType:s,quality:l,dirname:"/canvas"},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,zd),op={thresholds:[0],initialRatio:0,observeAll:!1},ip=["top","right","bottom","left"];let ap=1;function sp(e={}){return ip.map((t=>`${Number(e[t])||0}px`)).join(" ")}class lp{constructor(e,t){this._pageId=kc(e),this._component=e,this._options=s({},op,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=sp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=sp(e),this}observe(e,t){h(t)&&(this._options.selector=e,this._reqId=ap++,function({reqId:e,component:t,options:n,callback:r},o){const i=Cu(t);(i.__io||(i.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(jS){return null}}var t=function(t){for(var n=window.document,r=e(n);r;)r=e(n=r.ownerDocument);return n}(),n=[],r=null,o=null;function i(e){this.time=e.time,this.target=e.target,this.rootBounds=h(e.rootBounds),this.boundingClientRect=h(e.boundingClientRect),this.intersectionRect=h(e.intersectionRect||f()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,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(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}function c(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function p(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function m(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function g(e,t){for(var n=t;n;){if(n==e)return!0;n=_(n)}return!1}function _(n){var r=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&11==r.nodeType&&r.host?r.host:r)}function v(e){return e&&9===e.nodeType}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return r||(r=function(e,t){o=e&&t?m(e,t):f(),n.forEach((function(e){e._checkForIntersections()}))}),r},a._resetCrossOriginUpdater=function(){r=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(n){var r=n.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(n)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=r.setInterval(o,this.POLL_INTERVAL):(c(r,"resize",o,!0),c(n,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(a=new r.MutationObserver(o)).observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push((function(){var e=n.defaultView;e&&(i&&e.clearInterval(i),u(e,"resize",o,!0)),u(n,"scroll",o,!0),a&&a.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=s){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(n){var r=this._monitoringDocuments.indexOf(n);if(-1!=r){var o=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var r=t.element.ownerDocument;if(r==n)return!0;for(;r&&r!=o;){var i=e(r);if((r=i&&i.ownerDocument)==n)return!0}return!1}))){var i=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),i(),n!=o){var a=e(n);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!r||o){var e=this._rootIsInDom(),t=e?this._getRootRect():f();this._observationTargets.forEach((function(n){var o=n.element,a=p(o),l=this._rootContainsTarget(o),c=n.entry,u=e&&l&&this._computeTargetAndRootIntersection(o,a,t),d=null;this._rootContainsTarget(o)?r&&!this.root||(d=t):d=f();var h=n.entry=new i({time:s(),target:o,boundingClientRect:a,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(e,n,i){if("none"!=window.getComputedStyle(e).display){for(var a=n,s=_(e),l=!1;!l&&s;){var c=null,u=1==s.nodeType?window.getComputedStyle(s):{};if("none"==u.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==t)r&&!this.root?!o||0==o.width&&0==o.height?(s=null,c=null,a=null):c=o:c=i;else{var f=_(s),h=f&&p(f),g=f&&this._computeTargetAndRootIntersection(f,h,i);h&&g?(s=f,c=m(h,g)):(s=null,a=null)}else{var v=s.ownerDocument;s!=v.body&&s!=v.documentElement&&"visible"!=u.overflow&&(c=p(s))}if(c&&(a=d(c,a)),!a)break;s=s&&_(s)}return a}},a.prototype._getRootRect=function(){var e;if(this.root&&!v(this.root))e=p(this.root);else{var n=v(this.root)?this.root:t,r=n.documentElement,o=n.body;e={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||g(t,this.root)},a.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return g(n,e)&&(!this.root||n==e.ownerDocument)},a.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},a.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}();const r=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,o=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:uf(e),intersectionRect:cf(e.intersectionRect),boundingClientRect:cf(e.boundingClientRect),relativeRect:cf(e.rootBounds),time:Date.now(),dataset:_e(e.target),id:e.target.id})}))}),{root:r,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){o.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)o.observe(n[e])}else{o.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?o.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return o}(i,n,r)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const r=Cu(t),o=r.__io&&r.__io[e];o&&(o.disconnect(),delete r.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const cp=yd(0,((e,t)=>((e=te(e))&&!kc(e)&&(t=e,e=null),new lp(e||Oc(),t))));let up=0,dp={};const pp={canvas:ep,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Bd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Bd(this.id,this.pageId,"moveToLocation",e)}getScale(e){Bd(this.id,this.pageId,"getScale",e)}getRegion(e){Bd(this.id,this.pageId,"getRegion",e)}includePoints(e){Bd(this.id,this.pageId,"includePoints",e)}translateMarker(e){Bd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Bd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Bd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Bd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Bd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Bd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Bd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Bd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Bd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Bd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Bd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Bd(this.id,this.pageId,"openMapApp",e)}on(e,t){Bd(this.id,this.pageId,"on",{name:e,callback:t})}},video:Dd,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){!function(e,t,n,r){const o={options:r},i=r&&("success"in r||"fail"in r||"complete"in r);if(i){const e=String(up++);o.callbackId=e,dp[e]=r}hy.invokeViewMethod(`editor.${e}`,{type:n,data:o},t,(({callbackId:e,data:t})=>{i&&(he(dp[e],t),delete dp[e])}))}(this.id,this.pageId,e,t)}}};function fp(e){if(e&&e.contextInfo){const{id:t,type:n,page:r}=e.contextInfo,o=pp[n];e.context=new o(t,r),delete e.contextInfo}}class hp{constructor(e,t,n,r){this._selectorQuery=e,this._component=t,this._selector=n,this._single=r}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class mp{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return qu(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{d(e)?e.forEach(fp):fp(e);const r=n[t];h(r)&&r.call(this,e)})),h(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=te(e),this}select(e){return this._nodesRef=new hp(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new hp(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new hp(this,null,"",!0)}_push(e,t,n,r,o){this._queue.push({component:t,selector:e,single:n,fields:r}),this._queueCb.push(o)}}const gp=yd(0,(e=>((e=te(e))&&!kc(e)&&(e=null),new mp(e||Oc())))),_p={formatArgs:{}},vp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class yp{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=s({},vp,e)}_getOption(e){const t={transition:s({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const bp=de((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{yp.prototype[n]=function(...r){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(r[0]):r[0]]):this._pushAnimates(n,r),this}}))})),wp=yd(0,(e=>(bp(),new yp(e))),0,_p),xp=yd(0,(()=>{const e=qg();return e&&e.$vm?e.$vm.$locale:Pl().getLocale()})),Tp=yd(0,(e=>{const t=qg();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,navigator.cookieEnabled&&window.localStorage&&(localStorage.UNI_LOCALE=e),hy.invokeOnCallback("onLocaleChange",{locale:e}),!0)})),Sp={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const kp=yd(0,(()=>s({},gf)));let Cp,Ep,Pp;const Op=[];const Lp=bd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,r;void 0===Pp&&(Pp=!1,Cp="",Ep="uniPush is not enabled"),Op.push(((e,r)=>{e?t({cid:e}):n(r)})),void 0!==Cp&&(e=Cp,r=Ep,Op.forEach((t=>{t(e,r)})),Op.length=0)}))})),Ap=e=>{},Mp=e=>{},$p={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Gu(e,zu)},sourceType(e,t){t.sourceType=Gu(e,Uu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Ip={formatArgs:{sourceType(e,t){t.sourceType=Gu(e,Uu)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},Rp=(Boolean,["all","image","video"]),jp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Gu(e,Uu)},type(e,t){t.type=Yu(e,Rp)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},Dp={formatArgs:{src(e,t){t.src=Pu(e)}}},Np={formatArgs:{urls(e,t){t.urls=e.map((e=>m(e)&&e?Pu(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:m(e)&&e&&(t.current=Pu(e))}}},Bp="json",Fp=["text","arraybuffer"],Wp=encodeURIComponent;ArrayBuffer,Boolean;const Vp={formatArgs:{method(e,t){t.method=Yu((e||"").toUpperCase(),Hu)},data(e,t){t.data=e||""},url(e,t){t.method===Hu[0]&&w(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const r=n[1]||"";n=n[0].split("?");let o=n[1]||"";e=n[0];const i=o.split("&").filter((e=>e)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(u(t,s)){let e=t[s];null==e?e="":w(e)&&(e=JSON.stringify(e)),a[Wp(s)]=Wp(e)}return o=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(o?"?"+o:"")+(r?"#"+r:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Hu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Bp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Fp.indexOf(t.responseType)&&(t.responseType="text")}}},qp={formatArgs:{header(e,t){t.header=e||{}}}},zp={formatArgs:{filePath(e,t){e&&(t.filePath=Pu(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Up={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Yu((e||"").toUpperCase(),Hu)},protocols(e,t){m(e)&&(t.protocols=[e])}}};const Hp={url:{type:String,required:!0}},Yp=(Kp(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Kp(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),tf("navigateTo")),Gp=tf("redirectTo"),Xp=tf("reLaunch"),Jp=tf("switchTab"),Zp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(_g().length-1,e)}}};function Kp(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Qp;function ef(){Qp=""}function tf(e){return{formatArgs:{url:nf(e)},beforeAll:ef}}function nf(e){return function(t,n){if(!t)return'Missing required args: "url"';const r=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=_g();return n.length&&(t=n[n.length-1].$page.route),Dc(t,e)}(t)).split("?")[0],o=Nc(r,!0);if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===n.openType||(t=r),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if(!m(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const r=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),o=t.length>0?t.join("="):"";r.push(n+"="+encodeURIComponent(o))})),r.length?e+"?"+r.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Qp===t&&"appLaunch"!==n.openType)return`${Qp} locked`;__uniConfig.ready&&(Qp=t)}else if(o.meta.isTabBar){const e=_g(),t=o.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const rf={formatArgs:{duration:300}},of=(Boolean,{formatArgs:{title:"",mask:!1}}),af=(Boolean,{beforeInvoke(){$l()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!u(t,"cancelText")){const{t:e}=Pl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!u(t,"confirmText")){const{t:e}=Pl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),sf=["success","loading","none","error"],lf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Yu(e,sf)},image(e,t){t.image=e?Pu(e):""},duration:1500,mask:!1}});function cf(e){const{bottom:t,height:n,left:r,right:o,top:i,width:a}=e||{};return{bottom:t,height:n,left:r,right:o,top:i,width:a}}function uf(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:r},intersectionRect:{height:o,width:i}}=e;return 0!==t?t:o===n?i/r:o/n}const df={};function pf(e,t){const n=df[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),r=n?n[1]:"",o=atob(t[1]);let i=o.length;const a=new Uint8Array(i);for(;i--;)a[i]=o.charCodeAt(i);return ff(a,r)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onload=function(){t(this.response)},r.onerror=n,r.send()}))}function ff(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const o=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],o,{type:t})}catch(r){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||o}}return n}function hf(e){for(const n in df)if(u(df,n)){if(df[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return df[t]=e,t}function mf(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete df[e]}const gf=au(),_f=au();const vf=uu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=sn(null),r=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),o=function(e,t,n){const r=zt({width:-1,height:-1});return ir((()=>s({},r)),(e=>t("resize",e))),()=>{const t=e.value;t&&(r.width=t.offsetWidth,r.height=t.offsetHeight,n())}}(n,t,r);return function(e,t,n,r){Mr(r),qr((()=>{t.initial&&On(n);const o=e.value;o.offsetParent!==o.parentElement&&(o.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(n,e,o,r),()=>ci("uni-resize-sensor",{ref:n,onAnimationstartOnce:o},[ci("div",{onScroll:o},[ci("div",null,null)],40,["onScroll"]),ci("div",{onScroll:o},[ci("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const yf=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function bf(e,t=!0){const n=t?yf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let wf=!1;function xf(){if(wf)return;wf=!0;const e={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",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,r,o,i,a,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=yf,r*=yf,o*=yf,i*=yf,a*=yf,s*=yf,l=u?l*yf:l,c=u?c*yf:c,e.call(this,t,n,r,o,i,a,s,l,c)}}(t.drawImage),1!==yf&&(!function(e,t){for(const n in e)u(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*yf}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=yf;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=yf,e.apply(this,arguments),this.lineWidth/=yf}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=yf,t[2]*=yf,t[3]&&"number"==typeof t[3]&&(t[3]*=yf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*yf+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=yf,t[2]*=yf,t[3]&&"number"==typeof t[3]&&(t[3]*=yf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*yf+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(yf,yf),e.apply(this,arguments),this.scale(1/yf,1/yf)}}(t.drawImage))}const Tf=de((()=>xf()));function Sf(e){return e?Pu(e):e}function kf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Cf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Ef;function Pf(e=0,t=0){return Ef||(Ef=document.createElement("canvas")),Ef.width=e,Ef.height=t,Ef}const Of=uu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Tf();const r=sn(null),o=sn(null),i=sn(null),a=sn(!1),l=function(e){return(t,n)=>{e(t,zc(n))}}(t),{$attrs:c,$excludeAttrs:d,$listeners:p}=mh({excludeListeners:!0}),{_listeners:f}=function(e,t,n){const r=$i((()=>{let r=["onTouchstart","onTouchmove","onTouchend"],o=t.value,i=s({},(()=>{let e={};for(const t in o)if(u(o,t)){const n=o[t];e[t]=n}return e})());return r.forEach((t=>{let r=[];i[t]&&r.push(pu((e=>{const r=e.currentTarget.getBoundingClientRect();Cf(r,e.touches),Cf(r,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&r.push(dc),i[t]=r})),i}));return{_listeners:r}}(e,p,l),{_handleSubscribe:m,_resize:g}=function(e,t,n){let r=[],o={};const i=$i((()=>e.hidpi?yf:1));function a(n){let r=t.value;if(!n||r.width!==Math.floor(n.width*i.value)||r.height!==Math.floor(n.height*i.value))if(r.width>0&&r.height>0){let t=r.getContext("2d"),n=t.getImageData(0,0,r.width,r.height);bf(r,e.hidpi),t.putImageData(n,0,0)}else bf(r,e.hidpi)}function l({actions:e,reserve:i},a){if(!e)return;if(n.value)return void r.push([e,i]);let s=t.value,l=s.getContext("2d");i||(l.fillStyle="#000000",l.strokeStyle="#000000",l.shadowColor="#000000",l.shadowBlur=0,l.shadowOffsetX=0,l.shadowOffsetY=0,l.setTransform(1,0,0,1,0,0),l.clearRect(0,0,s.width,s.height)),c(e);for(let t=0;t<e.length;t++){const n=e[t];let r=n.method;const i=n.data,s=i[0];if(/^set/.test(r)&&"setTransform"!==r){const n=r[3].toLowerCase()+r.slice(4);let o;if("fillStyle"===n||"strokeStyle"===n){if("normal"===s)o=kf(i[1]);else if("linear"===s){const e=l.createLinearGradient(...i[1]);i[2].forEach((function(t){const n=t[0],r=kf(t[1]);e.addColorStop(n,r)})),o=e}else if("radial"===s){let e=i[1];const t=e[0],n=e[1],r=e[2],a=l.createRadialGradient(t,n,0,t,n,r);i[2].forEach((function(e){const t=e[0],n=kf(e[1]);a.addColorStop(t,n)})),o=a}else if("pattern"===s){if(!u(i[1],e.slice(t+1),a,(function(e){e&&(l[n]=l.createPattern(e,i[2]))})))break;continue}l[n]=o}else if("globalAlpha"===n)l[n]=Number(s)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];i.forEach((function(t,n){l[e[n]]="shadowColor"===e[n]?kf(t):t}))}else if("fontSize"===n){const e=l.__font__||l.font;l.__font__=l.font=e.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===n?(l.setLineDash(s),l.lineDashOffset=i[1]||0):"textBaseline"===n?("normal"===s&&(i[0]="alphabetic"),l[n]=s):"font"===n?l.__font__=l.font=s:l[n]=s}else if("fillPath"===r||"strokePath"===r)r=r.replace(/Path/,""),l.beginPath(),i.forEach((function(e){l[e.method].apply(l,e.data)})),l[r]();else if("fillText"===r)l.fillText.apply(l,i);else if("drawImage"===r){if("break"===function(){let n=[...i],r=n[0],s=n.slice(1);if(o=o||{},!u(r,e.slice(t+1),a,(function(e){e&&l.drawImage.apply(l,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())break}else"clip"===r?(i.forEach((function(e){l[e.method].apply(l,e.data)})),l.clip()):l[r].apply(l,i)}n.value||a({errMsg:"drawCanvas:ok"})}function c(e){e.forEach((function(e){let t=e.method,n=e.data,r="";function i(){const e=o[r]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):pf(e).then(hf)}(r).then((t=>{e.src=t})).catch((()=>{e.src=r}))}"drawImage"===t?(r=n[0],r=Sf(r),n[0]=r):"setFillStyle"===t&&"pattern"===n[0]&&(r=n[1],r=Sf(r),n[1]=r),r&&!o[r]&&i()}))}function u(e,t,i,a){let s=o[e];return s.ready?(a(s),!0):(r.unshift([t,!0]),n.value=!0,s.onload=function(){s.ready=!0,a(s),n.value=!1;let e=r.slice(0);r=[];for(let t=e.shift();t;)l({actions:t[0],reserve:t[1]},i),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:r,height:o,destWidth:a,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},p){const f=t.value;let h;const m=f.offsetWidth-e;r=r?Math.min(r,m):m;const g=f.offsetHeight-n;o=o?Math.min(o,g):g,l?(a=r,s=o):a||s?a?s||(s=Math.round(o/r*a)):(s||(s=Math.round(o*i.value)),a=Math.round(r/o*s)):(a=Math.round(r*i.value),s=Math.round(o*i.value));const _=Pf(a,s),v=_.getContext("2d");let y;"jpeg"!==d&&"jpg"!==d||(d="jpeg",v.fillStyle="#fff",v.fillRect(0,0,a,s)),v.__hidpi__=!0,v.drawImageByCanvas(f,e,n,r,o,0,0,a,s,!1);try{let e;if("base64"===c)h=_.toDataURL(`image/${d}`,u);else{const e=v.getImageData(0,0,a,s);h=Array.prototype.slice.call(e.data)}y={data:h,compressed:e,width:a,height:s}}catch(b){y={errMsg:`canvasGetImageData:fail ${b}`}}if(_.height=_.width=0,v.__hidpi__=!1,!p)return y;p(y)}function p({data:e,x:n,y:r,width:o,height:i,compressed:a},s){try{0,i||(i=Math.round(e.length/4/o));const a=Pf(o,i);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),o,i),0,0),t.value.getContext("2d").drawImage(a,n,r,o,i),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function f({x:e=0,y:t=0,width:n,height:r,destWidth:o,destHeight:i,fileType:a,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:r,destWidth:o,destHeight:i,hidpi:!1,dataType:"base64",type:a,quality:s});var p;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(p=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,p))}const m={actionsChanged:l,getImageData:d,putImageData:p,toTempFilePath:f};function g(e,t,n){let r=m[e];0!==e.indexOf("_")&&h(r)&&r(t,n)}return s(m,{_resize:a,_handleSubscribe:g})}(e,o,a);return Em(m,Om(e.canvasId),!0),qr((()=>{g()})),()=>{const{canvasId:t,disableScroll:a}=e;return ci("uni-canvas",_i({ref:r,"canvas-id":t,"disable-scroll":a},c.value,d.value,f.value),[ci("canvas",{ref:o,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),ci("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),ci(vf,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Lf(){}const Af={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function Mf(e,t,n){function r(e){const t=$i((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Lf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Lf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}ir((()=>t.value),(e=>e&&r(e)))}var $f=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,If=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Rf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,jf=Vf("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Df=Vf("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"),Nf=Vf("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"),Bf=Vf("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Ff=Vf("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Wf=Vf("script,style");function Vf(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}const qf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},zf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Uf={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},Hf=uu({name:"Image",props:qf,setup(e,{emit:t}){const n=sn(null),r=function(e,t){const n=sn(""),r=$i((()=>{let e="auto",r="";const o=Uf[t.mode];return o?(o[0]&&(r=o[0]),o[1]&&(e=o[1])):(r="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${r};background-size:${e};`})),o=zt({rootEl:e,src:$i((()=>t.src?Pu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return qr((()=>{const t=e.value;o.origWidth=t.clientWidth||0,o.origHeight=t.clientHeight||0})),o}(n,e),o=fu(n,t),{fixSize:i}=function(e,t,n){const r=()=>{const{mode:r}=t,o=zf[r];if(!o)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const l=e.value,c=l[o[0]];c&&(l.style[o[1]]=function(e){Yf&&e>10&&(e=2*Math.round(e/2));return e}(o[2](c,s))+"px")},o=()=>{const{style:t}=e.value,{origStyle:{width:r,height:o}}=n;t.width=r,t.height=o};return ir((()=>t.mode),((e,t)=>{zf[t]&&o(),zf[e]&&r()})),{fixSize:r,resetSize:o}}(n,e,r);return function(e,t,n,r,o){let i,a;const s=(t=0,n=0,r="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return c(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,l),On((()=>{r()})),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),c(),o("load",e,{width:u,height:d})},i.onerror=t=>{s(),c(),o("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};ir((()=>e.src),(e=>l(e))),ir((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),qr((()=>l(e.src))),Hr((()=>c()))}(r,e,n,i,o),()=>ci("uni-image",{ref:n},[ci("div",{style:r.modeStyle},null,4),zf[e.mode]?ci(vf,{onResize:i},null,8,["onResize"]):ci("span",null,null)],512)}});const Yf="Google Inc."===navigator.vendor;const Gf=ye(!0),Xf=[];let Jf=0,Zf=!1;const Kf=e=>Xf.forEach((t=>t.userAction=e));function Qf(e={userAction:!1}){if(!Zf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Jf&&Kf(!0),Jf++,setTimeout((()=>{!--Jf&&Kf(!1)}),0)}),Gf)})),Zf=!0}Xf.push(e)}const eh=()=>!!Jf;function th(){const e=zt({userAction:!1});return qr((()=>{Qf(e)})),Hr((()=>{!function(e){const t=Xf.indexOf(e);t>=0&&Xf.splice(t,1)}(e)})),{state:e}}function nh(){const e=zt({attrs:{}});return qr((()=>{let t=xi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function rh(e,t){const n=document.activeElement;if(!n)return t({});const r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}function oh(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const r=null==e?"":String(e);return null==n?r:r.slice(0,n)}const ih=["none","text","decimal","numeric","tel","search","email","url"],ah=s({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},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},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~ih.indexOf(e)},cursorColor:{type:String,default:""}},Af),sh=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function lh(e,t,n,r){let o=null;o=ke((n=>{t.value=oh(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),ir((()=>e.modelValue),o),ir((()=>e.value),o);const i=function(e,t){let n,r,o=0;const i=function(...i){const a=Date.now();clearTimeout(n),r=()=>{r=null,o=a,e.apply(this,i)},a-o<t?n=setTimeout(r,t-(a-o)):r()};return i.cancel=function(){clearTimeout(n),r=null},i.flush=function(){clearTimeout(n),r&&r()},i}(((e,t)=>{o.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Vr((()=>{o.cancel(),i.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{o.cancel(),i(e,t),n&&i.flush()}}}function ch(e,t){th();const n=$i((()=>e.autoFocus||e.focus));function r(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(r,100)}ir((()=>e.focus),(e=>{e?r():function(){const e=t.value;e&&e.blur()}()})),qr((()=>{n.value&&On(r)}))}function uh(e,t,n,r){Wl(Pc(),"getSelectedTextRange",rh);const{fieldRef:o,state:i,trigger:a}=function(e,t,n){const r=sn(null),o=fu(t,n),i=$i((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=$i((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=$i((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=$i((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=oh(e.modelValue,e.type)||oh(e.value,e.type);const u=zt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return ir((()=>u.focus),(e=>n("update:focus",e))),ir((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:r,state:u,trigger:o}}(e,t,n),{triggerInput:s}=lh(e,i,n,a);ch(e,o),Mf(0,o);const{state:l}=nh();!function(e,t){const n=ko(_u,!1);if(!n)return;const r=xi(),o={submit(){const n=r.proxy;return[n[e],m(t)?n[t]:t.value]},reset(){m(t)?r.proxy[t]="":t.value=""}};n.addField(o),Hr((()=>{n.removeField(o)}))}("name",i),function(e,t,n,r,o,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}ir([()=>t.selectionStart,()=>t.selectionEnd],a),ir((()=>t.cursor),s),ir((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,r){e.stopPropagation(),h(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||o(e,{value:c.value,cursor:l(c)},r))};function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),a(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,r("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(o,i,e,a,s,r);return{fieldRef:o,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}function dh(e,t,n,r,o){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=r.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",o&&(o.fn=()=>{n.value=r.value=t.value=t.value.slice(0,-1),r.removeEventListener("blur",o.fn)},r.addEventListener("blur",o.fn)),!1}else if("deleteContentBackward"===e.inputType&&navigator.userAgent.includes("iPhone OS 16")&&"."===t.value.slice(-2,-1))return t.value=n.value=r.value=t.value.slice(0,-2),!0}const ph=uu({name:"Input",props:s({},ah,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...sh],setup(e,{emit:t,expose:n}){const r=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],i=$i((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~r.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=$i((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(P(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=sn(null!=t?t.toLocaleString():"");return ir((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),ir((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return sn("")}(e,i),l={fn:null};const c=sn(null),{fieldRef:u,state:d,scopedAttrsState:p,fixDisabledColor:f,trigger:h}=uh(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(l.fn&&(n.removeEventListener("blur",l.fn),l.fn=null),n.validity&&!n.validity.valid){if((!s.value||!n.value)&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType)return s.value="-",t.value="",l.fn=()=>{s.value=n.value=""},n.addEventListener("blur",l.fn),!1;const r=dh(e,s,t,n,l);return"boolean"==typeof r?r:(s.value=t.value=n.value="-"===s.value?"":s.value,!1)}{const r=dh(e,s,t,n,l);if("boolean"==typeof r)return r;s.value=n.value}const r=t.maxlength;if(r>0&&n.value.length>r)return n.value=n.value.slice(0,r),t.value=n.value,!1}}));ir((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const m=["number","digit"],g=$i((()=>m.includes(e.type)?e.step:""));function _(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&f?ci("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ci("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:_,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ci("uni-input",{ref:c},[ci("div",{class:"uni-input-wrapper"},[ur(ci("div",_i(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ta,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?ci("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const fh=["class","style"],hh=/^on[A-Z]+/,mh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=xi(),o=ln({}),i=ln({}),a=ln({}),s=n.concat(fh);return r.attrs=zt(r.attrs),nr((()=>{const e=(n=r.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,r])=>(s.includes(n)?e.exclude[n]=r:hh.test(n)?(t||(e.attrs[n]=r),e.listeners[n]=r):e.attrs[n]=r,e)),{exclude:{},attrs:{},listeners:{}});var n;o.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:o,$listeners:i,$excludeAttrs:a}};function gh(e){const t=[];return d(e)&&e.forEach((e=>{ri(e)?e.type===Uo?t.push(...gh(e.children)):t.push(e):d(e)&&t.push(...gh(e))})),t}const _h=uu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=sn(null),r=sn(!1);let{setContexts:o,events:i}=function(e,t){const n=sn(0),r=sn(0),o=zt({x:null,y:null}),i=sn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):a&&a._setScale(t))}function c(e,n=s){let r=t.value;function o(e){for(let t=0;t<n.length;t++){const r=n[t];if(e===r.rootRef.value)return r}return e===r||e===document.body||e===document?null:o(e.parentNode)}return o(e)}const u=pu((t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=vh(t),o.x=t.x,o.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),d=pu((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==o.x&&i.value&&i.value>0){l(vh(n)/i.value)}o.x=n.x,o.y=n.y}})),p=pu((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(o.x=0,o.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function f(){h(),s.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),o=t.value.getBoundingClientRect();n.value=o.width-["Left","Right"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=o.height-["Top","Bottom"].reduce((function(t,n){const r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return So("movableAreaWidth",n),So("movableAreaHeight",r),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:f}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=mh(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n})),qr((()=>{i._resize(),r.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const r=d.find((e=>n===e.rootRef.value));r&&e.push(Qt(r))}o(e)}return So("_isMounted",r),So("movableAreaRootRef",n),So("addMovableViewContext",(e=>{d.push(e),p()})),So("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=gh(e),ci("uni-movable-area",_i({ref:n},s.value,l.value,c),[ci(vf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function vh(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const yh=function(e,t,n,r){e.addEventListener(t,(e=>{h(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let bh,wh;function xh(e,t,n){Hr((()=>{document.removeEventListener("mousemove",bh),document.removeEventListener("mouseup",wh)}));let r=0,o=0,i=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-r,dy:l-o,ddx:s-i,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;yh(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,r=i=e.touches[0].pageX,o=a=e.touches[0].pageY,s(e,"start",r,o)})),yh(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,r=i=e.pageX,o=a=e.pageY,s(e,"start",r,o)})),yh(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=bh=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),yh(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const p=wh=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),yh(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function Th(e,t,n){return e>t-n&&e<t+n}function Sh(e,t){return Th(e,0,t)}function kh(){}function Ch(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Eh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Ph(e,t,n){this._springX=new Eh(e,t,n),this._springY=new Eh(e,t,n),this._springScale=new Eh(e,t,n),this._startTime=0}kh.prototype.x=function(e){return Math.sqrt(e)},Ch.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},Ch.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Ch.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Ch.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Ch.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}},Ch.prototype.dt=function(){return-this._x_v/this._x_a},Ch.prototype.done=function(){const e=Th(this.s().x,this._endPositionX)||Th(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Ch.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Ch.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Eh.prototype._solve=function(e,t){const n=this._c,r=this._m,o=this._k,i=n*n-4*r*o;if(0===i){const o=-n/(2*r),i=e,a=t/(o*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(i+a*e)*t+a*t}}}if(i>0){const o=(-n-Math.sqrt(i))/(2*r),a=(-n+Math.sqrt(i))/(2*r),s=(t-o*e)/(a-o),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*o*t+s*a*n}}}const a=Math.sqrt(4*r*o-n*n)/(2*r),s=-n/2*r,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),r=Math.sin(a*e);return t*(c*a*n-l*a*r)+s*t*(c*r+l*n)}}},Eh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Eh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Eh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Sh(t,.1)){t=t||0;let r=this._endPosition;this._solution&&(Sh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Sh(t,.1)&&(t=0),Sh(r,.1)&&(r=0),r+=this._endPosition),this._solution&&Sh(r-e,.1)&&Sh(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},Eh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Eh.prototype.done=function(e){return e||(e=(new Date).getTime()),Th(this.x(),this._endPosition,.1)&&Sh(this.dx(),.1)},Eh.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Eh.prototype.springConstant=function(){return this._k},Eh.prototype.damping=function(){return this._c},Eh.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Ph.prototype.setEnd=function(e,t,n,r){const o=(new Date).getTime();this._springX.setEnd(e,r,o),this._springY.setEnd(t,r,o),this._springScale.setEnd(n,r,o),this._startTime=o},Ph.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Ph.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Ph.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Oh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Lh=uu({name:"MovableView",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}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const r=sn(null),o=fu(r,n),{setParent:i}=function(e,t,n){const r=ko("_isMounted",sn(!1)),o=ko("addMovableViewContext",(()=>{})),i=ko("removeMovableViewContext",(()=>{}));let a,s,l=sn(1),c=sn(1),u=sn(!1),d=sn(0),p=sn(0),f=null,h=null,m=!1,g=null,_=null;const v=new kh,y=new kh,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=$i((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Ch(1,w.value);ir((()=>e.disabled),(()=>{U()}));const{_updateOldScale:T,_endScale:S,_setScale:k,scaleValueSync:C,_updateBoundary:E,_updateOffset:P,_updateWH:O,_scaleOffset:L,minX:A,minY:M,maxX:$,maxY:I,FAandSFACancel:R,_getLimitXY:j,_setTransform:D,_revise:N,dampingNumber:B,xMove:F,yMove:W,xSync:V,ySync:q,_STD:z}=function(e,t,n,r,o,i,a,s,l,c){const u=$i((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=$i((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=sn(Number(e.scaleValue)||1);ir(p,(e=>{D(e)})),ir(u,(()=>{j()})),ir(d,(()=>{j()})),ir((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:f,_updateOffset:h,_updateWH:m,_scaleOffset:g,minX:_,minY:v,maxX:y,maxY:b}=function(e,t,n){const r=ko("movableAreaWidth",sn(0)),o=ko("movableAreaHeight",sn(0)),i=ko("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=sn(0),c=sn(0),u=sn(0),d=sn(0),p=sn(0),f=sn(0);function h(){let e=0-a.x+s.x,t=r.value-l.value-a.x-s.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-a.y+s.y,i=o.value-c.value-a.y-s.y;d.value=Math.min(n,i),f.value=Math.max(n,i)}function m(){a.x=$h(e.value,i.value),a.y=Ih(e.value,i.value)}function g(r){r=r||t.value,r=n(r);let o=e.value.getBoundingClientRect();c.value=o.height/t.value,l.value=o.width/t.value;let i=c.value*r,a=l.value*r;s.x=(a-l.value)/2,s.y=(i-c.value)/2}return{_updateBoundary:h,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:f}}(t,r,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:P,xSync:O,ySync:L,_STD:A}=function(e,t,n,r,o,i,a,s,l,c,u,d,p,f){const h=$i((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),m=$i((()=>"all"===t.direction||"horizontal"===t.direction)),g=$i((()=>"all"===t.direction||"vertical"===t.direction)),_=sn(jh(t.x)),v=sn(jh(t.y));ir((()=>t.x),(e=>{_.value=jh(e)})),ir((()=>t.y),(e=>{v.value=jh(e)})),ir(_,(e=>{k(e)})),ir(v,(e=>{C(e)}));const y=new Ph(1,9*Math.pow(h.value,2)/40,h.value);function b(e,t){let n=!1;return e>o.value?(e=o.value,n=!0):e<a.value&&(e=a.value,n=!0),t>i.value?(t=i.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,o,i,a,s){w(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(o=r.value);let d=b(e,n);e=d.x,n=d.y,t.animation?(y._springX._solution=null,y._springY._solution=null,y._springScale._solution=null,y._springX._endPosition=l.value,y._springY._endPosition=c.value,y._springScale._endPosition=r.value,y.setEnd(e,n,o,1),u=Rh(y,(function(){let e=y.x();T(e.x,e.y,e.scale,i,a,s)}),(function(){u.cancel()}))):T(e,n,o,i,a,s)}function T(o,i,a,s="",u,d){null!==o&&"NaN"!==o.toString()&&"number"==typeof o||(o=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),o=Number(o.toFixed(1)),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),l.value===o&&c.value===i||u||f("change",{},{x:Oh(o,n.x),y:Oh(i,n.y),source:s}),t.scale||(a=r.value),a=+(a=p(a)).toFixed(3),d&&a!==r.value&&f("scale",{},{x:o,y:i,scale:a});let h="translateX("+o+"px) translateY("+i+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=h,e.value.style.webkitTransform=h,l.value=o,c.value=i,r.value=a)}function S(e){let t=b(l.value,c.value),n=t.x,o=t.y,i=t.outOfBounds;return i&&x(n,o,r.value,e),i}function k(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,v.value+n.y,r.value)}return e}function C(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(_.value+n.x,e+n.y,r.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:T,_revise:S,dampingNumber:h,xMove:m,yMove:g,xSync:_,ySync:v,_STD:y}}(t,e,g,r,y,b,_,v,a,s,l,c,R,n);function M(t,n){if(e.scale){t=R(t),m(t),f();const e=x(a.value,s.value),r=e.x,o=e.y;n?T(r,o,t,"",!0,!0):Mh((function(){S(r,o,t,"",!0,!0)}))}}function $(){i.value=!0}function I(e){o.value=e}function R(e){return e=Math.max(.5,u.value,e),e=Math.min(10,d.value,e)}function j(){if(!e.scale)return!1;M(r.value,!0),I(r.value)}function D(t){return!!e.scale&&(M(t=R(t),!0),I(t),t)}function N(){i.value=!1,I(r.value)}function B(e){e&&(e=o.value*e,$(),M(e))}return{_updateOldScale:I,_endScale:N,_setScale:B,scaleValueSync:p,_updateBoundary:f,_updateOffset:h,_updateWH:m,_scaleOffset:g,minX:_,minY:v,maxX:y,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:T,_setTransform:S,_revise:k,dampingNumber:C,xMove:E,yMove:P,xSync:O,ySync:L,_STD:A}}(e,n,t,l,c,u,d,p,f,h);function U(){u.value||e.disabled||(R(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],F.value&&(a=d.value),W.value&&(s=p.value),n.value.style.willChange="transform",g=null,_=null,m=!0)}function H(t){if(!u.value&&!e.disabled&&m){let n=d.value,r=p.value;if(null===_&&(_=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),F.value&&(n=t.detail.dx+a,b.historyX.shift(),b.historyX.push(n),W.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),W.value&&(r=t.detail.dy+s,b.historyY.shift(),b.historyY.push(r),F.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let o="touch";n<A.value?e.outOfBounds?(o="touch-out-of-bounds",n=A.value-v.x(A.value-n)):n=A.value:n>$.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=$.value+v.x(n-$.value)):n=$.value),r<M.value?e.outOfBounds?(o="touch-out-of-bounds",r=M.value-y.x(M.value-r)):r=M.value:r>I.value&&(e.outOfBounds?(o="touch-out-of-bounds",r=I.value+y.x(r-I.value)):r=I.value),Mh((function(){D(n,r,l.value,o)}))}}}function Y(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!N("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,r=p.value;x.setV(e,t),x.setS(n,r);const o=x.delta().x,i=x.delta().y;let a=o+n,s=i+r;a<A.value?(a=A.value,s=r+(A.value-n)*i/o):a>$.value&&(a=$.value,s=r+($.value-n)*i/o),s<M.value?(s=M.value,a=n+(M.value-r)*o/i):s>I.value&&(s=I.value,a=n+(I.value-r)*o/i),x.setEnd(a,s),h=Rh(x,(function(){let e=x.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||R()}function G(){if(!r.value)return;R();let t=e.scale?C.value:1;P(),O(t),E();let n=j(V.value+L.x,q.value+L.y),o=n.x,i=n.y;D(o,i,t,"",!0),T(t)}return qr((()=>{xh(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":H(e);break;case"end":Y()}})),G(),x.reconfigure(1,w.value),z.reconfigure(1,9*Math.pow(B.value,2)/40,B.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:G,_endScale:S,_setScale:k};o(e),Yr((()=>{i(e)}))})),Yr((()=>{R()})),{setParent:G}}(e,o,r);return()=>ci("uni-movable-view",{ref:r},[ci(vf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let Ah=!1;function Mh(e){Ah||(Ah=!0,requestAnimationFrame((function(){e(),Ah=!1})))}function $h(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=$h(e.offsetParent,t):0}function Ih(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Ih(e.offsetParent,t):0}function Rh(e,t,n){let r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function jh(e){return/\d+[ur]px$/i.test(e)?Od(parseFloat(e)):Number(e)||0}const Dh=["navigate","redirect","switchTab","reLaunch","navigateBack"],Nh=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Bh=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Fh={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Dh.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Nh.concat(Bh).includes(e)},animationDuration:{type:[String,Number],default:300}};const Wh=uu({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:s({},Fh,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=sn(null),r=xi(),o=r&&r.vnode.scopeId||"",{hovering:i,binding:a}=mu(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":dv({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":Gm({url:e.url,exists:e.exists});break;case"switchTab":Hm({url:e.url});break;case"reLaunch":Jm({url:e.url});break;case"navigateBack":uv({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:c}=e,u=e.hoverClass&&"none"!==e.hoverClass,d=e.renderLink?ci("a",{class:"navigator-wrap",href:c,onClick:dc,onMousedown:dc},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return ci("uni-navigator",_i({class:u&&i.value?l:"",ref:n},u&&a,r?r.attrs:{},{[o]:""},{onClick:s}),[d],16,["onClick"])}}});const Vh=uu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return d(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const r=sn(null),o=sn(null),i=fu(r,n),a=function(e){const t=zt([...e.value]),n=zt({value:t,height:34});return ir((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),s=sn(null);qr((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=sn([]),c=sn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Yo));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return So("getPickerViewColumn",(function(e){return $i({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const r=u(e.vnode);if(r<0)return;if(a.value[r]!==t){a.value[r]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),So("pickerViewProps",e),So("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=gh(e);l.value=t,On((()=>{c.value=t}))}return ci("uni-picker-view",{ref:r},[ci(vf,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),ci("div",{ref:o,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class qh{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function zh(e,t,n){return e>t-n&&e<t+n}function Uh(e,t){return zh(e,0,t)}class Hh{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,r=this._m,o=this._k,i=n*n-4*r*o;if(0===i){const o=-n/(2*r),i=e,a=t/(o*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,o*e)},dx:function(e){const t=Math.pow(Math.E,o*e);return o*(i+a*e)*t+a*t}}}if(i>0){const o=(-n-Math.sqrt(i))/(2*r),a=(-n+Math.sqrt(i))/(2*r),s=(t-o*e)/(a-o),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,o*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*o*t+s*a*n}}}const a=Math.sqrt(4*r*o-n*n)/(2*r),s=-n/2*r,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),r=Math.sin(a*e);return t*(c*a*n-l*a*r)+s*t*(c*r+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Uh(t,.4)){t=t||0;let r=this._endPosition;this._solution&&(Uh(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Uh(t,.4)&&(t=0),Uh(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Uh(r-e,.4)&&Uh(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),zh(this.x(),this._endPosition,.4)&&Uh(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Yh{constructor(e,t,n){this._extent=e,this._friction=t||new qh(.01),this._spring=n||new Hh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class Gh{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Yh(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){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()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let r;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;r=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,r<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}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=function(e,t,n){const r={id:0,cancelled:!1};return function e(t,n,r,o){if(!t||!t.cancelled){r(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,o))),i&&o&&o(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),h(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),h(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(h(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={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(e)}}update(e,t,n){let r=0;const o=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),o!==this._position&&(this.dispatchScroll(),h(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const Xh=uu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const r=sn(null),o=sn(null),i=ko("getPickerViewColumn"),a=xi(),s=i?i(a):sn(0),l=ko("pickerViewProps"),c=ko("pickerViewState"),u=sn(34),d=sn(null);qr((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=$i((()=>(c.height-u.value)/2)),{state:f}=nh();let h;const m=zt({current:s.value,length:0});let g;function _(){h&&!g&&(g=!0,On((()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}ir((()=>s.value),(e=>{e!==m.current&&(m.current=e,_())})),ir((()=>m.current),(e=>s.value=e)),ir([()=>u.value,()=>m.length,()=>c.height],_);let v=0;function y(e){const t=v+e.deltaY;if(Math.abs(t)>10){v=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else v=t;e.preventDefault()}function b({clientY:e}){const t=r.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,r=u.value/2;if(!(Math.abs(n)<=r)){const e=Math.ceil((Math.abs(n)-r)/u.value),t=n<0?-e:e;let o=Math.min(m.current+t,m.length-1);m.current=o=Math.max(o,0),h.scrollTo(o*u.value)}}}const w=()=>{const e=r.value,t=o.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},r=new Gh(e,t);function o(e){const t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){const t=e,o=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=o.screenX,n.y=o.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||o.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=o(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||r.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=o(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const r={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,o=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=o-n.historyTime[t];if(e>30&&e<50){r.x=(i-n.historyX[t])/(e/1e3),r.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,r)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new qh(1e-4),spring:new Hh(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});h=n,xh(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const r=e.changedTouches[0];t=r.clientX,n=r.clientY})),e.addEventListener("touchend",(e=>{const r=e.changedTouches[0];if(Math.abs(r.clientX-t)<20&&Math.abs(r.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=r[e]})),e.target.dispatchEvent(n)}}))}(e),_()};return qr(w),()=>{const e=t.default&&t.default();m.length=gh(e).length;const n=`${p.value}px 0`;return ci("uni-picker-view-column",{ref:r},[ci("div",{onWheel:y,onClick:b,class:"uni-picker-view-group"},[ci("div",_i(f.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),ci("div",_i(f.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[ci(vf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),ci("div",{ref:o,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Jh="#007aff",Zh="backwards",Kh=uu({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:Jh},activeColor:{type:String,default:Jh},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Zh},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=sn(null),n=function(e){const t=sn(0),n=$i((()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`)),r=$i((()=>{const n=e.color!==Jh&&e.activeColor===Jh?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),o=$i((()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}));return zt({outerBarStyle:n,innerBarStyle:r,realPercent:o,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return Qh(n,e),ir((()=>n.realPercent),((t,r)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=r||0,Qh(n,e)})),()=>{const{showInfo:r}=e,{outerBarStyle:o,innerBarStyle:i,currentPercent:a}=n;return ci("uni-progress",{class:"uni-progress",ref:t},[ci("div",{style:o,class:"uni-progress-bar"},[ci("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),r?ci("p",{class:"uni-progress-info"},[a+"%"]):""],512)}}});function Qh(e,t){t.active?(e.currentPercent=t.activeMode===Zh?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const em=vc("ucg"),tm=uu({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,{emit:t,slots:n}){const r=sn(null);return function(e,t){const n=[];qr((()=>{s(n.length-1)}));const r=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};So(em,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,o){s(n.indexOf(o),!0),t("change",e,{value:r()})}});const o=ko(_u,!1),i={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}};o&&(o.addField(i),Hr((()=>{o.removeField(i)})));function a(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((r,o)=>{o!==e&&(t?a(n[o],!1):n.forEach(((e,t)=>{o>=t||n[t].value.radioChecked&&a(n[o],!1)})))}))}}(e,fu(r,t)),()=>ci("uni-radio-group",{ref:r},[n.default&&n.default()],512)}});const nm=uu({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:"#ffffff"}},setup(e,{slots:t}){const n=sn(null),r=sn(e.checked),o=sn(e.value);const i=$i((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return r.value?(n.backgroundColor=e.activeBackgroundColor||e.color,n.borderColor=e.activeBorderColor||n.backgroundColor):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(r.value)));ir([()=>e.checked,()=>e.value],(([e,t])=>{r.value=e,o.value=t}));const{uniCheckGroup:a,uniLabel:s,field:l}=function(e,t,n){const r=$i({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),o={reset:n},i=ko(em,!1);i&&i.addField(r);const a=ko(_u,!1);a&&a.addField(o);const s=ko(bu,!1);return Hr((()=>{i&&i.removeField(r),a&&a.removeField(o)})),{uniCheckGroup:i,uniForm:a,uniLabel:s,field:r}}(r,o,(()=>{r.value=!1})),c=t=>{e.disabled||r.value||(r.value=!0,a&&a.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(c),Hr((()=>{s.removeHandler(c)}))),xu(e,{"label-click":c}),()=>{const o=gu(e,"disabled");let a;return a=r.value,ci("uni-radio",_i(o,{id:e.id,onClick:c,ref:n}),[ci("div",{class:"uni-radio-wrapper",style:{"--HOVER-BD-COLOR":r.value?i.value.borderColor:e.activeBorderColor}},[ci("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value},[a?Tc(wc,e.disabled?"#ADADAD":e.iconColor,18):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});const rm={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:""},om={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const im=(e,t,n)=>!n||d(n)&&!n.length?[]:n.map((n=>{var r;if(w(n)){if(!u(n,"type")||"node"===n.type){let o={[e]:""};const i=null==(r=n.name)?void 0:r.toLowerCase();if(!u(rm,i))return;return function(e,t){if(w(t))for(const n in t)if(u(t,n)){const r=t[n];"img"===e&&"src"===n&&(t[n]=Pu(r))}}(i,n.attrs),o=s(o,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),Ii(n.name,o,im(e,t,n.children))}return"text"===n.type&&m(n.text)&&""!==n.text?pi((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return u(om,t)&&om[t]?om[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function am(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,r,o,i=[],a=e;for(i.last=function(){return this[this.length-1]};e;){if(r=!0,i.last()&&Wf[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+i.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),r=!1):0==e.indexOf("</")?(o=e.match(If))&&(e=e.substring(o[0].length),o[0].replace(If,c),r=!1):0==e.indexOf("<")&&(o=e.match($f))&&(e=e.substring(o[0].length),o[0].replace($f,l),r=!1),r){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,r,o){if(n=n.toLowerCase(),Df[n])for(;i.last()&&Nf[i.last()];)c("",i.last());if(Bf[n]&&i.last()==n&&c("",n),(o=jf[n]||!!o)||i.push(n),t.start){var a=[];r.replace(Rf,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Ff[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,o)}}function c(e,n){if(n)for(r=i.length-1;r>=0&&i[r]!=n;r--);else var r=0;if(r>=0){for(var o=i.length-1;o>=r;o--)t.end&&t.end(i[o]);i.length=r}}c()}(e,{start:function(e,r,o){const i={name:e};if(0!==r.length&&(i.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),o){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},chars:function(e){const r={type:"text",text:e};if(0===t.length)n.children.push(r);else{const e=t[0];e.children||(e.children=[]),e.children.push(r)}},comment:function(e){const n={node:"comment",text:e},r=t[0];r&&(r.children||(r.children=[]),r.children.push(n))}}),n.children}const sm=uu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=xi(),r=n&&n.vnode.scopeId||"",o=sn(null),i=sn([]),a=fu(o,t);function s(e,t={}){a("itemclick",e,t)}return ir((()=>e.nodes),(function(){let t=e.nodes;m(t)&&(t=am(e.nodes)),i.value=im(r,s,t)}),{immediate:!0}),()=>Ii("uni-rich-text",{ref:o},Ii("div",{},i.value))}}),lm=uu({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=sn(null),r=$i((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),o=$i((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:a,refresherThreshold:s}=e;return ci("div",{ref:n,style:r.value,class:"uni-scroll-view-refresher"},["none"!==a?ci("div",{class:"uni-scroll-view-refresh"},[ci("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ci("svg",{key:"refresh__icon",style:{transform:"rotate("+o.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[ci("path",{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"},null),ci("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ci("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ci("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?ci("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),cm=ye(!0),um=uu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},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:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:r}){const o=sn(null),i=sn(null),a=sn(null),s=sn(null),l=fu(o,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=$i((()=>Number(e.scrollTop)||0)),n=$i((()=>Number(e.scrollLeft)||0));return{state:zt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:f,_scrollLeftChanged:h,_scrollTopChanged:m}=function(e,t,n,r,o,i,a,s,l){let c=!1,u=0,d=!1,p=()=>{};const f=$i((()=>e.scrollX)),h=$i((()=>e.scrollY)),m=$i((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),g=$i((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function _(e,t){const n=a.value;let r=0,o="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0===r)return;let i=s.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?o="translateX("+r+"px) translateZ(0)":"y"===t&&(o="translateY("+r+"px) translateZ(0)"),i.removeEventListener("transitionend",p),i.removeEventListener("webkitTransitionEnd",p),p=()=>x(e,t),i.addEventListener("transitionend",p),i.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=o,i.style.webkitTransform=o}function v(e){const n=e.target;o("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(o("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(o("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),f.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(o("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(o("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function y(t){h.value&&(e.scrollWithAnimation?_(t,"y"):a.value.scrollTop=t)}function b(t){f.value&&(e.scrollWithAnimation?_(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),r=n.getBoundingClientRect();if(f.value){let n=r.left-t.left,o=a.value.scrollLeft+n;e.scrollWithAnimation?_(o,"x"):a.value.scrollLeft=o}if(h.value){let n=r.top-t.top,o=a.value.scrollTop+n;e.scrollWithAnimation?_(o,"y"):a.value.scrollTop=o}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=f.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,o("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),o("refresherrefresh",{},{dy:k.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,o("refresherrestore",{},{dy:k.y-S.y})),"refresherabort"===n&&d&&(d=!1,o("refresherabort",{},{dy:k.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},k={x:0,y:e.refresherThreshold};return qr((()=>{On((()=>{y(n.value),b(r.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),v(e)},s=null,l=function(n){if(null===S)return;let r=n.touches[0].pageX,i=n.touches[0].pageY,l=a.value;if(Math.abs(r-S.x)>Math.abs(i-S.y))if(f.value){if(0===l.scrollLeft&&r>S.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&r<S.x)return void(s=!1);s=!0}else s=!1;else if(h.value)if(0===l.scrollTop&&i>S.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<S.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&T("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const r=i-S.y;0===u&&(u=i),c?(t.refresherHeight=r+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,o("refresherpulling",n,{deltaY:r,dy:r})))}},p=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},k={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",p,cm),a.value.addEventListener("touchmove",l,ye(!1)),a.value.addEventListener("scroll",i,ye(!1)),a.value.addEventListener("touchend",m,cm),Hr((()=>{a.value.removeEventListener("touchstart",p),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",m)}))})),Mr((()=>{h.value&&(a.value.scrollTop=t.lastScrollTop),f.value&&(a.value.scrollLeft=t.lastScrollLeft)})),ir(n,(e=>{y(e)})),ir(r,(e=>{b(e)})),ir((()=>e.scrollIntoView),(e=>{w(e)})),ir((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:f,realScrollY:h,_scrollTopChanged:y,_scrollLeftChanged:b}}(e,c,u,d,l,o,i,s,t),g=$i((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",f.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),_=$i((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return r({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:r,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:p}=c;return ci("uni-scroll-view",{ref:o},[ci("div",{ref:a,class:"uni-scroll-view"},[ci("div",{ref:i,style:g.value,class:_.value},[t?ci(lm,{refreshState:p,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:r},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ci("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function dm(e,t,n,r,o,i){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,f=null,h=!1,m=0,g="";const _=$i((()=>n.value.length>t.displayMultipleItems)),v=$i((()=>e.circular&&_.value));function y(o){Math.floor(2*d)===Math.floor(2*o)&&Math.ceil(2*d)===Math.ceil(2*o)||v.value&&function(r){if(!u)for(let o=n.value,i=o.length,a=r+t.displayMultipleItems,s=0;s<i;s++){const t=o[s],n=Math.floor(r/i)*i+s,l=n+i,c=n-i,u=Math.max(r-(n+1),n-a,0),d=Math.max(r-(l+1),l-a,0),p=Math.max(r-(c+1),c-a,0),f=Math.min(u,d,p),h=[n,l,c][[u,d,p].indexOf(f)];t.updatePosition(h,e.vertical)}}(o);const a="translate("+(e.vertical?"0":100*-o*p+"%")+", "+(e.vertical?100*-o*p+"%":"0")+") translateZ(0)",l=r.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=o,!s){if(o%1==0)return;s=o}o-=Math.floor(s);const c=n.value;o<=-(c.length-1)?o+=c.length:o>=c.length&&(o-=c.length),o=s%1>.5||s<0?o-1:o,i("transition",{},{dx:e.vertical?0:o*l.offsetWidth,dy:e.vertical?o*l.offsetHeight:0})}function b(e){const r=n.value.length;if(!r)return-1;const o=(Math.round(e)%r+r)%r;if(v.value){if(r<=t.displayMultipleItems)return 0}else if(o>r-t.displayMultipleItems)return r-t.displayMultipleItems;return o}function w(){f=null}function x(){if(!f)return void(h=!1);const e=f,r=e.toPos,o=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){y(r),f=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}y(r+o*u*u/2),l=requestAnimationFrame(x)}function T(e,r,o){w();const i=t.duration,a=n.value.length;let s=d;if(v.value)if(o<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(o>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===r&&(e=e+t.displayMultipleItems-1<a?e:0);f={toPos:e,acc:2*(s-e)/(i*i),endTime:Date.now()+i,source:r},h||(h=!0,l=requestAnimationFrame(x))}function S(){a();const e=n.value,r=function(){c=null,g="autoplay",v.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,T(t.current,"autoplay",v.value?1:0),c=setTimeout(r,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(r,t.interval))}function k(e){e?S():a()}return ir([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let r=-1;if(e.currentItemId)for(let t=0,o=n.value;t<o.length;t++){if(o[t].getItemId()===e.currentItemId){r=t;break}}r<0&&(r=Math.round(e.current)||0),r=r<0?0:r,t.current!==r&&(g="",t.current=r)})),ir([()=>e.vertical,()=>v.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),f&&(y(f.toPos),f=null);const o=n.value;for(let t=0;t<o.length;t++)o[t].updatePosition(t,e.vertical);p=1;const i=r.value;if(1===t.displayMultipleItems&&o.length){const e=o[0].getBoundingClientRect(),t=i.getBoundingClientRect();p=e.width/t.width,p>0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(y(s+l-m),m=l):(y(l),e.autoplay&&S())):(u=!0,y(-t.displayMultipleItems-1))})),ir((()=>t.interval),(()=>{c&&(a(),S())})),ir((()=>t.current),((e,r)=>{!function(e,r){const o=g;g="";const a=n.value;if(!o){const t=a.length;T(e,"",v.value&&r+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:o})}}(e,r),o("update:current",e)})),ir((()=>t.currentItemId),(e=>{o("update:currentItemId",e)})),ir((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),qr((()=>{let o=!1,i=0,s=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let r=0;!e&&Math.abs(i)>.2&&(r=.5*n);const o=b(d+r);e?y(m):(g="touch",t.current=o,T(o,"touch",0!==r?r:0===o&&v.value&&d>=1?1:0))}xh(r.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,o=!1,a(),m=d,i=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!o){o=!0;const n=Math.abs(c.detail.dx),r=Math.abs(c.detail.dy);if((n>=r&&e.vertical||n<=r&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&S())}return function(o){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;i=.6*i+.4*t,v.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),y(n)}const d=s-a||1,p=r.value;e.vertical?u(-o.dy/p.offsetHeight,-o.ddy/d):u(-o.dx/p.offsetWidth,-o.ddx/d)}(c.detail),!1}}}))})),Yr((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){T(t.current=e,g="click",v.value?1:0)},circularEnabled:v,swiperEnabled:_}}const pm=uu({name:"Swiper",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},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const r=sn(null),o=fu(r,n),i=sn(null),a=sn(null),s=function(e){return zt({interval:$i((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:$i((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:$i((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=$i((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:bc(e.previousMargin,!0),bottom:bc(e.nextMargin,!0)}:{top:0,bottom:0,left:bc(e.previousMargin,!0),right:bc(e.nextMargin,!0)}),t})),c=$i((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=sn([]);function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const r=d.find((e=>n===e.rootRef.value));r&&e.push(Qt(r))}p.value=e}So("addSwiperContext",(function(e){d.push(e),f()}));So("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}));const{onSwiperDotClick:h,circularEnabled:m,swiperEnabled:g}=dm(e,s,p,a,n,o);let _=()=>null;return _=fm(r,e,s,h,p,m,g),()=>{const n=t.default&&t.default();return u=gh(n),ci("uni-swiper",{ref:r},[ci("div",{ref:i,class:"uni-swiper-wrapper"},[ci("div",{class:"uni-swiper-slides",style:l.value},[ci("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&ci("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,r)=>ci("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-r.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),_()],512)],512)}}}),fm=(e,t,n,r,o,i,a)=>{let l=!1,c=!1,u=!1,d=sn(!1);function p(e,n){const r=e.currentTarget;r&&(r.style.backgroundColor="over"===n?t.navigationActiveColor:"")}nr((()=>{l="auto"===t.navigation,d.value=!0!==t.navigation||l,y()})),nr((()=>{const e=o.value.length,t=!i.value;c=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(c=!0,u=!0,l&&(d.value=!0))}));const f={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function h(e,t,a){if(e.stopPropagation(),a)return;const s=o.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=s-1);break;case"next":l++,l>=s&&i.value&&(l=0)}r(l)}const m=()=>Tc("M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",t.navigationColor,26);let g;const _=n=>{clearTimeout(g);const{clientX:r,clientY:o}=n,{left:i,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(o-s<u/3||l-o<u/3):!(r-i<c/3||a-r<c/3),p)return g=setTimeout((()=>{d.value=p}),300);d.value=p},v=()=>{d.value=!0};function y(){e.value&&(e.value.removeEventListener("mousemove",_),e.value.removeEventListener("mouseleave",v),l&&(e.value.addEventListener("mousemove",_),e.value.addEventListener("mouseleave",v)))}return qr(y),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?ci(Uo,null,[ci("div",_i({class:["uni-swiper-navigation uni-swiper-navigation-prev",s({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"prev",c)},f),[m()],16,["onClick"]),ci("div",_i({class:["uni-swiper-navigation uni-swiper-navigation-next",s({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},f),[m()],16,["onClick"])]):null}},hm=uu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=sn(null),r={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const r=t?"0":100*e+"%",o=t?100*e+"%":"0",i=n.value,a=`translate(${r},${o}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return qr((()=>{const e=ko("addSwiperContext");e&&e(r)})),Yr((()=>{const e=ko("removeSwiperContext");e&&e(r)})),()=>ci("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),mm=uu({name:"Switch",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:""}},emits:["change"],setup(e,{emit:t}){const n=sn(null),r=sn(e.checked),o=function(e,t){const n=ko(_u,!1),r=ko(bu,!1),o={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(o),Yr((()=>{n.removeField(o)})));return r}(e,r),i=fu(n,t);ir((()=>e.checked),(e=>{r.value=e}));const a=t=>{e.disabled||(r.value=!r.value,i("change",t,{value:r.value}))};return o&&(o.addHandler(a),Hr((()=>{o.removeHandler(a)}))),xu(e,{"label-click":a}),()=>{const{color:t,type:o}=e,i=gu(e,"disabled"),s={};let l;return t&&r.value&&(s.backgroundColor=t,s.borderColor=t),l=r.value,ci("uni-switch",_i({id:e.id,ref:n},i,{onClick:a}),[ci("div",{class:"uni-switch-wrapper"},[ur(ci("div",{class:["uni-switch-input",[r.value?"uni-switch-input-checked":""]],style:s},null,6),[[ta,"switch"===o]]),ur(ci("div",{class:"uni-checkbox-input"},[l?Tc(wc,e.color,22):""],512),[[ta,"checkbox"===o]])])],16,["id","onClick"])}}});const gm={ensp:" ",emsp:" ",nbsp:" "};function _m(e,t){return function(e,{space:t,decode:n}){let r="",o=!1;for(let i of e)t&&gm[t]&&" "===i&&(i=gm[t]),o?(r+="n"===i?"\n":"\\"===i?"\\":"\\"+i,o=!1):"\\"===i?o=!0:r+=i;return n?r.replace(/&nbsp;/g,gm.nbsp).replace(/&ensp;/g,gm.ensp).replace(/&emsp;/g,gm.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):r}(e,t).split("\n")}const vm=uu({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=sn(null);return()=>{const r=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Yo){const n=_m(t.children,{space:e.space,decode:e.decode}),o=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&r.push(pi(e)),t!==o&&r.push(ci("br"))}))}else r.push(t)})),ci("uni-text",{ref:n,selectable:!!e.selectable||null},[ci("span",null,r)],8,["selectable"])}}}),ym=s({},ah,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>wm.concat("return").includes(e)}});let bm=!1;const wm=["done","go","next","search","send"];const xm=uu({name:"Textarea",props:ym,emits:["confirm","linechange",...sh],setup(e,{emit:t,expose:n}){const r=sn(null),o=sn(null),{fieldRef:i,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=uh(e,r,t),u=$i((()=>a.value.split("\n"))),d=$i((()=>wm.includes(e.confirmType))),p=sn(0),f=sn(null);function h({height:e}){p.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return ir((()=>p.value),(t=>{const n=r.value,i=f.value,a=o.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",a.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";bm=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?ci("textarea",{key:"disabled-textarea",ref:i,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":bm},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ci("textarea",{key:"textarea",ref:i,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":bm},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return ci("uni-textarea",{ref:r},[ci("div",{ref:o,class:"uni-textarea-wrapper"},[ur(ci("div",_i(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ta,!a.value.length]]),ci("div",{ref:f,class:"uni-textarea-line"},[" "],512),ci("div",{class:"uni-textarea-compute"},[u.value.map((e=>ci("div",null,[e.trim()?e:"."]))),ci(vf,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?ci("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Tm=uu({name:"View",props:s({},hu),setup(e,{slots:t}){const n=sn(null),{hovering:r,binding:o}=mu(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ci("uni-view",_i({class:r.value?i:"",ref:n},o),[t.default&&t.default()],16):ci("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Sm(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function km(e,t,n){e&&Wl(n||Pc(),e,(({type:e,data:n},r)=>{t(e,n,r)}))}function Cm(e,t){e&&function(e,t){t=Fl(e,t),delete Bl[t]}(t||Pc(),e)}function Em(e,t,n,r){const o=xi().proxy;qr((()=>{km(t||Sm(o),e,r),!n&&t||ir((()=>o.id),((t,n)=>{km(Sm(o,t),e,r),Cm(n&&Sm(o,n))}))})),Hr((()=>{Cm(t||Sm(o),r)}))}let Pm=0;function Om(e){const t=Sc(),n=xi().proxy,r=n.$options.name.toLowerCase(),o=e||n.id||"context"+Pm++;return qr((()=>{n.$el.__uniContextInfo={id:o,type:r,page:t}})),`${r}.${o}`}function Lm(e,t,n,r){h(t)&&Fr(e,t.bind(n),r)}function Am(e,t,n){var r;const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((r=>{if(function(e,t,n=!0){return!(n&&!h(t))&&(Pe.indexOf(e)>-1||0===e.indexOf("on"))}(r,e[r],!1)){const o=e[r];d(o)?o.forEach((e=>Lm(r,e,n,t))):Lm(r,o,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Mc(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(r=n.$page)?void 0:r.openType)&&Mc(n,"onShow")}catch(jS){console.error(jS.message+"\n"+jS.stack)}}}function Mm(e,t,n){Am(e,t,n)}function $m(e,t,n){return e[t]=n}function Im(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Rm(e){return function(t,n,r){if(!n)throw t;const o=e._instance;if(!o||!o.proxy)throw t;Mc(o.proxy,"onError",t)}}function jm(e,t){return e?[...new Set([].concat(e,t))]:t}function Dm(e){const t=e._context.config;var n;t.errorHandler=Le(e,Rm),n=t.optionMergeStrategies,Pe.forEach((e=>{n[e]=jm}));const r=t.globalProperties;r.$set=$m,r.$applyOptions=Mm,r.$callMethod=Im,function(e){Oe.forEach((t=>t(e)))}(e)}const Nm=vc("upm");function Bm(){return ko(Nm)}function Fm(e){const t=function(e){return zt(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=bc(e.offset)),e.height&&(e.height=bc(e.height)),e.range&&(e.range=bc(e.range)),e}(s({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:r,style:o}=n;"custom"!==o&&"transparent"!==r&&(t.offset+=44+uc.top),e.pullToRefresh=t}}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==_g().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Ac(pl().meta,e)))))}(e);return So(Nm,t),t}function Wm(){return pl()}function Vm(){return history.state&&history.state.__id__||1}function qm(){const e=Oc();if(!e)return;const t=gg(),n=t.keys();for(const r of n){const e=t.get(r);e.$.__isTabBar?e.$.__isActive=!1:vg(r)}e.$.__isTabBar&&(e.$.__isVisible=!1,Mc(e,"onHide"))}function zm(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Um(e){const t=gg().values();for(const n of t){const t=n.$page;if(zm(e,t))return n.$.__isActive=!0,t.id}}const Hm=bd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:r,reject:o})=>{if(dg.handledBeforeEntryPageRoutes)return qm(),Zm({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},Um(e)).then(r).catch(o);fg.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:r,reject:o})}),0,Jp);function Ym(){const e=Cc();if(!e)return;const t=e.$page;vg(xg(t.path,t.id))}const Gm=bd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>{if(dg.handledBeforeEntryPageRoutes)return Ym(),Zm({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(r);hg.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:r})}),0,Gp);function Xm(){const e=gg().keys();for(const t of e)vg(t)}const Jm=bd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:r})=>{if(dg.handledBeforeEntryPageRoutes)return Xm(),Zm({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(r);mg.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:r})}),0,Xp);function Zm({type:e,url:t,tabBarText:n,events:r,isAutomatedTesting:o},i){const a=qg().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Se(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++yg,__type__:e}}(e,i);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((i=>{if(As(i))return c(i.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.currentRoute.value.meta;return e.eventChannel?r&&(Object.keys(r).forEach((t=>{e.eventChannel._addListener(t,"on",r[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ce(u.__id__,r),t(o?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return o?t({__id__:u.__id__}):t()}))}))}let Km;function Qm(){var e;return Km||(Km=__uniConfig.tabBar&&zt((e=__uniConfig.tabBar,Tl()&&e.list&&e.list.forEach((e=>{El(e,["text"])})),e))),Km}const eg=window.CSS&&window.CSS.supports;function tg(e){return eg&&(eg(e)||eg.apply(window.CSS,e.split(":")))}const ng=tg("--a:0"),rg=tg("top:env(a)"),og=tg("top:constant(a)"),ig=tg("backdrop-filter:blur(10px)"),ag={"css.var":ng,"css.env":rg,"css.constant":og,"css.backdrop-filter":ig},sg=yd(0,(e=>!u(ag,e)||ag[e])),lg=(()=>rg?"env":og?"constant":"")();function cg(e){return lg?`calc(${e}px + ${lg}(safe-area-inset-bottom))`:`${e}px`}const ug=new Map,dg={handledBeforeEntryPageRoutes:!1},pg=[],fg=[],hg=[],mg=[];function gg(){return ug}function _g(){const e=[],t=ug.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function vg(e,t=!0){const n=ug.get(e);n.$.__isUnload=!0,Mc(n,"onUnload"),ug.delete(e),t&&function(e){const t=Tg.get(e);t&&(Tg.delete(e),Sg.pruneCacheEntry(t))}(e)}let yg=Vm();function bg(e){const t=Bm();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,r,o,i){const{id:a,route:s}=r,l=Re(r.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:a,path:le(s),route:s,fullPath:t,options:n,meta:r,openType:e,eventChannel:o,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function wg(e){const t=bg(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),ug.set(xg(t.path,t.id),e),1===ug.size&&setTimeout((()=>{!function(){if(dg.handledBeforeEntryPageRoutes)return;dg.handledBeforeEntryPageRoutes=!0;const e=[...pg];pg.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Zm(e).then(t).catch(n)));const t=[...fg];fg.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(qm(),Zm(e,Um(e.url)).then(t).catch(n))));const n=[...hg];hg.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(Ym(),Zm(e).then(t).catch(n))));const r=[...mg];mg.length=0,r.forEach((({args:e,resolve:t,reject:n})=>(Xm(),Zm(e).then(t).catch(n))))}()}),0)}function xg(e,t){return e+"$$"+t}const Tg=new Map,Sg={get:e=>Tg.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Sg.forEach(((e,n)=>{const r=parseInt(n.split("$$")[1]);if(r&&r>t){if(function(e){return"tabBar"===e.props.type}(e))return;Sg.delete(n),Sg.pruneCacheEntry(e),On((()=>{ug.forEach(((e,t)=>{e.$.isUnmounted&&ug.delete(t)}))}))}}))}(e),Tg.set(e,t)},delete(e){Tg.get(e)&&Tg.delete(e)},forEach(e){Tg.forEach(e)}};function kg(e,t){!function(e){const t=Eg(e),{body:n}=document;Pg&&n.removeAttribute(Pg),t&&n.setAttribute(t,""),Pg=t}(e),function(e){let t=0;if(e.isTabBar){const e=Qm();e.shown&&(t=parseInt(e.height))}var n;_c({"--window-top":(n=0,lg?`calc(${n}px + ${lg}(safe-area-inset-top))`:`${n}px`),"--window-bottom":cg(t)})}(t),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Lg(e,t)}function Cg(e){const t=Eg(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Eg(e){return e.type.__scopeId}let Pg,Og;function Lg(e,t){if(document.removeEventListener("touchmove",$c),Og&&document.removeEventListener("scroll",Og),t.disableScroll)return document.addEventListener("touchmove",$c);const{onPageScroll:n,onReachBottom:r}=e,o="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==r?void 0:r.length)&&!o)return;const i={},a=e.proxy.$page.id;(n||o)&&(i.onPageScroll=function(e,t,n){return r=>{t&&fy.publishHandler("onPageScroll",{scrollTop:r},e),n&&fy.emit(e+".onPageScroll",{scrollTop:r})}}(a,n,o)),(null==r?void 0:r.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>fy.publishHandler("onReachBottom",{},a)),Og=jc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Og)))}function Ag(e){const t=dl({history:Ig(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:$g});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Mg[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Mg=Object.create(null);const $g=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(r=e.meta.tabBarIndex,Mg[r]);if(t)return t}return{left:0,top:0};var r};function Ig(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Ss(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=_g(),n=t.length-1,r=n-e;for(let o=n;o>r;o--){const e=t[o].$page;vg(xg(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Rg={install(e){Dm(e),Gc(e),iu(e),e.config.warnHandler||(e.config.warnHandler=jg),Ag(e)}};function jg(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const r=[`[Vue warn]: ${e}`];n.length&&r.push("\n",n),console.warn(...r)}const Dg={class:"uni-async-loading"},Ng=ci("i",{class:"uni-loading"},null,-1),Bg=du({name:"AsyncLoading",render:()=>(Zo(),ni("div",Dg,[Ng]))});function Fg(){window.location.reload()}const Wg=du({name:"AsyncError",setup(){Ll();const{t:e}=Pl();return()=>ci("div",{class:"uni-async-error",onClick:Fg},[e("uni.async.error")],8,["onClick"])}});let Vg;function qg(){return Vg}function zg(e){Vg=e,Object.defineProperty(Vg.$.ctx,"$children",{get:()=>_g().map((e=>e.$vm))});const t=Vg.$.appContext.app;t.component(Bg.name)||t.component(Bg.name,Bg),t.component(Wg.name)||t.component(Wg.name,Wg),function(e){e.$vm=e,e.$mpType="app";const t=sn(Pl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Vg),function(e,t){const n=e.$options||{};n.globalData=s(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Vg),ru(),Ql()}function Ug(e,{clone:t,init:n,setup:r,before:o}){t&&(e=s({},e)),o&&o(e);const i=e.setup;return e.setup=(e,t)=>{const o=xi();n(o.proxy);const a=r(o);if(i)return i(a||e,t)},e}function Hg(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ug(e.default,t):Ug(e,t)}function Yg(e){return Hg(e,{clone:!0,init:wg,setup(e){e.$pageInstance=e;const t=Wm(),n=xe(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const r=Bm();var o,i,a;return e.onReachBottom=zt([]),e.onPageScroll=zt([]),ir([e.onReachBottom,e.onPageScroll],(()=>{e.proxy===Cc()&&Lg(e,r)}),{once:!0}),Vr((()=>{kg(e,r)})),qr((()=>{Cg(e);const{onReady:n}=e;n&&M(n),Zg(t)})),Ir((()=>{if(!e.__isVisible){kg(e,r),e.__isVisible=!0;const{onShow:n}=e;n&&M(n),On((()=>{Zg(t)}))}}),"ba",o),function(e,t){Ir(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&M(t)}})),i=r.id,fy.subscribe(Fl(i,"invokeViewApi"),a?a(Vl):Vl),Hr((()=>{!function(e){fy.unsubscribe(Fl(e,"invokeViewApi")),Object.keys(Bl).forEach((t=>{0===t.indexOf(e+".")&&delete Bl[t]}))}(r.id)})),n}})}function Gg(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}=m_(),o=90===Math.abs(Number(window.orientation))?"landscape":"portrait";hy.emit("onResize",{deviceOrientation:o,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:r}})}function Xg(e){w(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&hy.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Jg(){const{emit:e}=hy;"visible"===document.visibilityState?e("onAppEnterForeground",s({},_f)):e("onAppEnterBackground")}function Zg(e){const{tabBarText:t,tabBarIndex:n,route:r}=e.meta;t&&Mc("onTabItemTap",{index:n,text:t,pagePath:r})}function Kg(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%3600%60),o=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((r<10?"0":"")+r);return"00"!==o&&(i=o+":"+i),i}function Qg(e,t,n){const r=zt({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),o={x:0,y:0};return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];o.x=t.pageX,o.y=t.pageY,r.gestureType="none",r.volumeOld=0,r.currentTimeOld=r.currentTimeNew=0},onTouchmove:function(i){function a(){i.stopPropagation(),i.preventDefault()}n.fullscreen&&a();const s=r.gestureType;if("stop"===s)return;const l=i.targetTouches[0],c=l.pageX,u=l.pageY,d=o,p=t.value;if("progress"===s?function(e){const n=t.value.duration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(c-d.x):"volume"===s&&function(e){const n=t.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),n.volume=i,r.volumeNew=i)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=p.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(r.gestureType="stop");r.gestureType="volume",r.volumeOld=p.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(n.currentTime=r.currentTimeNew),r.gestureType="none"}}}const e_=uu({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},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}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:r}){const o=sn(null),i=sn(null),a=fu(o,t),{state:s}=th(),{$attrs:l}=mh({excludeListeners:!0}),{t:c}=Pl();jl();const{videoRef:u,state:p,play:f,pause:h,stop:m,seek:g,playbackRate:_,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:w,onWaiting:x,onVideoError:T,onPlay:S,onPause:k,onEnded:C,onTimeUpdate:E}=function(e,t,n){const r=sn(null),o=$i((()=>Pu(e.src))),i=$i((()=>"true"===e.muted||!0===e.muted)),a=zt({start:!1,src:o,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:i});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){r.value.pause()}function c(e){const t=r.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return ir((()=>o.value),(()=>{a.playing=!1,a.currentTime=0})),ir((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),ir((()=>i.value),(e=>{r.value.muted=e})),{videoRef:r,state:a,play:function(){const e=r.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){r.value.playbackRate=e},toggle:function(){const e=r.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const r=Number(e.initialTime)||0,o=t.target;r>0&&(o.currentTime=r),n("loadedmetadata",t,{width:o.videoWidth,height:o.videoHeight,duration:o.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,r=a.currentTime=t.currentTime;n("timeupdate",e,{currentTime:r,duration:t.duration})}}}(e,0,a),{state:P,danmuRef:O,updateDanmu:L,toggleDanmu:A,sendDanmu:M}=function(e,t){const n=sn(null),r=zt({enable:Boolean(e.enableDanmu)});let o={time:0,index:-1};const i=d(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let r=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",r),n.value.appendChild(t),setTimeout((function(){r+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",r),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:r,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=o,l={time:n,index:s.index};if(n>s.time)for(let o=s.index+1;o<i.length;o++){const e=i[o];if(!(n>=(e.time||0)))break;l.index=o,t.playing&&r.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;o=l},toggleDanmu:function(){r.enable=!r.enable},sendDanmu:function(e){i.splice(o.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,p),{state:$,onFullscreenChange:I,emitFullscreenChange:R,toggleFullscreen:j,requestFullScreen:D,exitFullScreen:N}=function(e,t,n,r,o){const i=zt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=o.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!r.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&s(e)}function c(){l(!1)}return Hr(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,u,s,o),{state:B,onTouchstart:F,onTouchend:W,onTouchmove:V}=Qg(e,u,$),{state:q,progressRef:z,ballRef:U,clickProgress:H,toggleControls:Y}=function(e,t,n){const r=sn(null),o=sn(null),i=$i((()=>e.showCenterPlayBtn&&!t.start)),a=sn(!0),s=$i((()=>!i.value&&e.controls&&a.value)),l=zt({touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:s,controlsVisible:a});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return Hr((()=>{c&&clearTimeout(c)})),ir((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),ir([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),qr((()=>{const e=ye(!1);let i,a,s,c=!0;const u=o.value;function d(e){const n=e.targetTouches[0],o=n.pageX,l=n.pageY;if(c&&Math.abs(o-i)<Math.abs(l-a))return void p(e);c=!1;const u=r.value.offsetWidth;let d=s+(o-i)/u*100;d<0?d=0:d>100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function p(r){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(r.preventDefault(),r.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const r=n.targetTouches[0];i=r.pageX,a=r.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",p),u.addEventListener("touchcancel",p)})),{state:l,progressRef:r,ballRef:o,clickProgress:function(e){const o=r.value;let i=e.target,a=e.offsetX;for(;i&&i!==o;)a+=i.offsetLeft,i=i.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,p,g);return function(e,t,n,r,o,i,a,s){const l={play:e,stop:n,pause:t,seek:r,sendDanmu:o,playbackRate:i,requestFullScreen:a,exitFullScreen:s};Em(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),Om(),!0)}(f,h,m,g,M,_,D,N),()=>ci("uni-video",{ref:o,id:e.id,onClick:Y},[ci("div",{ref:i,class:"uni-video-container",onTouchstart:F,onTouchend:W,onTouchmove:V,onFullscreenchange:La(I,["stop"]),onWebkitfullscreenchange:La((e=>I(e,!0)),["stop"])},[ci("video",_i({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:p.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:w,onWaiting:x,onError:T,onPlay:S,onPause:k,onEnded:C,onTimeupdate:e=>{E(e),L(e)},onWebkitbeginfullscreen:()=>R(!0),onX5videoenterfullscreen:()=>R(!0),onWebkitendfullscreen:()=>R(!1),onX5videoexitfullscreen:()=>R(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),ur(ci("div",{class:"uni-video-bar uni-video-bar-full",onClick:La((()=>{}),["stop"])},[ci("div",{class:"uni-video-controls"},[ur(ci("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!p.playing,"uni-video-control-button-pause":p.playing},onClick:La(v,["stop"])},null,10,["onClick"]),[[ta,e.showPlayBtn]]),ur(ci("div",{class:"uni-video-current-time"},[Kg(p.currentTime)],512),[[ta,e.showProgress]]),ur(ci("div",{ref:z,class:"uni-video-progress-container",onClick:La(H,["stop"])},[ci("div",{class:"uni-video-progress"},[ci("div",{style:{width:p.buffered+"%"},class:"uni-video-progress-buffered"},null,4),ci("div",{ref:U,style:{left:p.progress+"%"},class:"uni-video-ball"},[ci("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[ta,e.showProgress]]),ur(ci("div",{class:"uni-video-duration"},[Kg(Number(e.duration)||p.duration)],512),[[ta,e.showProgress]])]),ur(ci("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":P.enable},onClick:La(A,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[ta,e.danmuBtn]]),ur(ci("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":$.fullscreen},onClick:La((()=>j(!$.fullscreen)),["stop"])},null,10,["onClick"]),[[ta,e.showFullscreenBtn]])],8,["onClick"]),[[ta,q.controlsShow]]),ur(ci("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[ta,p.start&&P.enable]]),q.centerPlayBtnShow&&ci("div",{class:"uni-video-cover",onClick:La((()=>{}),["stop"])},[ci("div",{class:"uni-video-cover-play-button",onClick:La(f,["stop"])},null,8,["onClick"]),ci("p",{class:"uni-video-cover-duration"},[Kg(Number(e.duration)||p.duration)])],8,["onClick"]),ci("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===B.gestureType}},[ci("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),ci("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[ci("path",{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"},null)]),ci("div",{class:"uni-video-toast-value"},[ci("div",{style:{width:100*B.volumeNew+"%"},class:"uni-video-toast-value-content"},[ci("div",{class:"uni-video-toast-volume-grids"},[Kr(10,(()=>ci("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),ci("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===B.gestureType}},[ci("div",{class:"uni-video-toast-title"},[Kg(B.currentTimeNew)," / ",Kg(p.duration)])],2),ci("div",{class:"uni-video-slots"},[r.default&&r.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),t_=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},n_=de((()=>hy.on("onWebInvokeAppService",t_))),r_=uu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){n_();const t=sn(null),n=sn(null),{$attrs:r,$excludeAttrs:o,$listeners:i}=mh({excludeListeners:!0});let a;return(()=>{const o=document.createElement("iframe");nr((()=>{for(const e in r.value)if(u(r.value,e)){const t=r.value[e];o[e]=t}})),nr((()=>{o.src=Pu(e.src)})),n.value=o,a=function(e,t,n){return()=>{var r,o;if(n){const{top:n,left:r,width:o,height:i}=e.value.getBoundingClientRect();ue(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:r+"px",width:o+"px",height:i+"px"})}else ue(t.value,{width:(null==(r=e.value)?void 0:r.style.width)||"300px",height:(null==(o=e.value)?void 0:o.style.height)||"150px"})}}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(o)})(),qr((()=>{var r;a(),!e.fullscreen&&(null==(r=t.value)||r.appendChild(n.value))})),Mr((()=>{e.fullscreen&&(n.value.style.display="block")})),$r((()=>{e.fullscreen&&(n.value.style.display="none")})),Hr((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>ci(Uo,null,[ci("uni-web-view",_i({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,o.value,{ref:t}),[ci(vf,{onResize:a},null,8,["onResize"])],16)])}});const o_=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let i_;function a_(){if(i_=i_||o_.__DC_STAT_UUID,!i_){i_=Date.now()+""+Math.floor(1e7*Math.random());try{o_.__DC_STAT_UUID=i_}catch(e){}}return i_}function s_(){if(!0!==__uniConfig.darkmode)return m(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function l_(){let e,t="0",n="",r="phone";const o=navigator.language;if(Au){e="iOS";const r=Ou.match(/OS\s([\w_]+)\slike/);r&&(t=r[1].replace(/_/g,"."));const o=Ou.match(/\(([a-zA-Z]+);/);o&&(n=o[1])}else if(Lu){e="Android";const r=Ou.match(/Android[\s/]([\w\.]+)[;\s]/);r&&(t=r[1]);const o=Ou.match(/\((.+?)\)/),i=o?o[1].split(";"):Ou.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];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let r;for(let e=0;e<a.length;e++)if(a[e].test(t)){r=!0;break}if(!r){n=t.trim();break}}}else if(Ru)n="iPad",e="iOS",r="pad",t=h(window.BigInt)?"14.0":"13.0";else if(Mu||$u||Iu){n="PC",e="PC",r="pc",t="0";let o=Ou.match(/\((.+?)\)/)[1];if(Mu){switch(e="Windows",Mu[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=o&&o.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if($u){e="macOS";const n=o&&o.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(Iu){e="Linux";const n=o&&o.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",r="unknown";const i=`${e} ${t}`,a=e.toLocaleLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,r=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:r?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const r=e[n],o=new RegExp(`(${r})/(\\S*)\\b`);o.test(Ou)&&(s=t[n],l=Ou.match(o)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:a,browserName:s.toLocaleLowerCase(),browserVersion:l,language:o,deviceType:r,ua:Ou,osname:e,osversion:t,theme:s_()}}const c_=yd(0,(()=>{const e=window.devicePixelRatio,t=ju(),n=Du(t),r=Nu(t,n),o=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Bu(r);let a=window.innerHeight;const s=uc.top,l={left:uc.left,right:i-uc.right,top:uc.top,bottom:a-uc.bottom,width:i-uc.left-uc.right,height:a-uc.top-uc.bottom},{top:c,bottom:u}=mc();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:r,screenHeight:o,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:uc.top,right:uc.right,bottom:uc.bottom,left:uc.left},screenTop:o-a}}));let u_,d_=!0;function p_(){d_&&(u_=l_())}const f_=yd(0,(()=>{p_();const{deviceBrand:e,deviceModel:t,brand:n,model:r,platform:o,system:i,deviceOrientation:a,deviceType:l,osname:c,osversion:u}=u_;return s({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:a_(),deviceOrientation:a,deviceType:l,model:r,platform:o,system:i},{})})),h_=yd(0,(()=>{p_();const{theme:e,language:t,browserName:n,browserVersion:r}=u_;return s({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:xp?xp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:r,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""},{})})),m_=yd(0,(()=>{d_=!0,p_(),d_=!1;const e=c_(),t=f_(),n=h_();d_=!0;const{ua:r,browserName:o,browserVersion:i,osname:a,osversion:l}=u_,c=s(e,t,n,{ua:r,browserName:o,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:l,osLanguage:void 0,osTheme:void 0});return delete c.screenTop,delete c.enableDebug,__uniConfig.darkmode||delete c.theme,function(e){let t={};return w(e)&&Object.keys(e).sort().forEach((n=>{const r=n;t[r]=e[r]})),Object.keys(t)?t:e}(c)})),g_=bd("getSystemInfo",((e,{resolve:t})=>t(m_())));const __=bd("getNetworkType",((e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;let r="unknown";return n?(r=n.type,"cellular"===r&&n.effectiveType?r=n.effectiveType.replace("slow-",""):!r&&n.effectiveType?r=n.effectiveType:["none","wifi"].includes(r)||(r="unknown")):!1===navigator.onLine&&(r="none"),t({networkType:r})}));const v_=yd(0,((e,t)=>{const n=typeof t,r="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,r)})),y_=bd("setStorage",(({key:e,data:t},{resolve:n,reject:r})=>{try{v_(e,t),n()}catch(o){r(o.message)}}));function b_(e){const t=localStorage&&localStorage.getItem(e);if(!m(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=m(e)?JSON.parse(e):e,r=n.type;if(t.indexOf(r)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof 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===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(r){}return n}const w_=yd(0,(e=>{try{return b_(e)}catch(t){return""}})),x_=yd(0,(e=>{localStorage&&localStorage.removeItem(e)})),T_=bd("removeStorage",(({key:e},{resolve:t})=>{x_(e),t()})),S_=yd(0,(()=>{localStorage&&localStorage.clear()})),k_=yd(0,(()=>{const e=localStorage&&localStorage.length||0,t=[];let n=0;for(let r=0;r<e;r++){const e=localStorage.key(r),o=localStorage.getItem(e)||"";n+=e.length+o.length,"uni-storage-keys"!==e&&t.push(e)}return{keys:t,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE}})),C_=bd("hideKeyboard",((e,{resolve:t,reject:n})=>{const r=document.activeElement;!r||"TEXTAREA"!==r.tagName&&"INPUT"!==r.tagName||(r.blur(),t())}));const E_=bd("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const r=new Image;r.onload=function(){t({width:r.naturalWidth,height:r.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},r.onerror=function(){n()},r.src=e}),0,Dp),P_={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"}};function O_({count:e,sourceType:t,type:n,extension:r}){Qf();const o=document.createElement("input");return o.type="file",ue(o,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),o.accept=r.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${P_[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(o.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&o.setAttribute("capture","camera"),o}let L_=null;const A_=bd("chooseFile",(({count:e,sourceType:t,type:n,extension:r},{resolve:o,reject:i})=>{Il();const{t:a}=Pl();L_&&(document.body.removeChild(L_),L_=null),L_=O_({count:e,sourceType:t,type:n,extension:r}),document.body.appendChild(L_),L_.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let i;Object.defineProperty(t,"path",{get:()=>(i=i||hf(t),i)}),o<e&&r.push(t)}}o({get tempFilePaths(){return r.map((({path:e})=>e))},tempFiles:r})})),L_.click(),eh()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,jp);let M_=null;const $_=bd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:r,reject:o})=>{Il();const{t:i}=Pl();M_&&(document.body.removeChild(M_),M_=null),M_=O_({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(M_),M_.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||hf(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),M_.click(),eh()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,$p),I_={esc:["Esc","Escape"],enter:["Enter"]},R_=Object.keys(I_);function j_(){const e=sn(""),t=sn(!1),n=n=>{if(t.value)return;const r=R_.find((e=>-1!==I_[e].indexOf(n.key)));r&&(e.value=r),On((()=>e.value=""))};return qr((()=>{document.addEventListener("keyup",n)})),Hr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const D_=ci("div",{class:"uni-mask"},null,-1);function N_(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),$a(Tr({setup:()=>()=>(Zo(),ni(e,t,null,16))}))}function B_(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function F_(e,{onEsc:t,onEnter:n}){const r=sn(e.visible),{key:o,disable:i}=j_();return ir((()=>e.visible),(e=>r.value=e)),ir((()=>r.value),(e=>i.value=!e)),nr((()=>{const{value:e}=o;"esc"===e?t&&t():"enter"===e&&n&&n()})),r}let W_=0,V_="";function q_(e){let t=W_;W_+=e?1:-1,W_=Math.max(0,W_),W_>0?0===t&&(V_=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=V_,V_="")}const z_=du({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=zt({direction:"none"});let n=1,r=0,o=0,i=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();r=t.width,o=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*r>i,l=n*o>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return ci(_h,{style:n,onTouchstart:pu(c),onTouchmove:pu(d),onTouchend:pu(u)},{default:()=>[ci(Lh,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[ci("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function U_(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const H_=du({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){qr((()=>q_(!0))),Yr((()=>q_(!1)));const n=sn(null),r=sn(U_(e));let o;function i(){o||On((()=>{t("close")}))}function a(e){r.value=e.detail.current}ir((()=>e.current),(()=>r.value=U_(e))),qr((()=>{const e=n.value;let t=0,r=0;e.addEventListener("mousedown",(e=>{o=!1,t=e.clientX,r=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-r)>20)&&(o=!0)}))}));const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return ci("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[ci(pm,{navigation:"auto",current:r.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(o=t=e.urls.map((e=>ci(hm,null,{default:()=>[ci(z_,{src:e},null,8,["src"])]}))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!ri(o)?t:{default:()=>[t],_:1}),8,["current","onChange"]),ci("div",{style:s},[Tc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var o}}});let Y_,G_=null;const X_=()=>{G_=null,On((()=>{null==Y_||Y_.unmount(),Y_=null}))},J_=bd("previewImage",((e,{resolve:t})=>{G_?s(G_,e):(G_=zt(e),On((()=>{Y_=N_(H_,G_,X_),Y_.mount(B_("u-a-p"))}))),t()}),0,Np);let Z_=null;const K_=bd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:r})=>{Il();const{t:o}=Pl();Z_&&(document.body.removeChild(Z_),Z_=null),Z_=O_({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Z_),Z_.addEventListener("change",(function(e){const t=e.target.files[0];let r="";const o={tempFilePath:r,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(o,"tempFilePath",{get(){return r=r||hf(this.tempFile),r}});const i=document.createElement("video");if(void 0!==i.onloadedmetadata){const e=hf(t);i.onloadedmetadata=function(){mf(e),n(s(o,{duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0}))},setTimeout((()=>{i.onloadedmetadata=null,mf(e),n(o)}),300),i.src=e}else n(o)})),Z_.click(),eh()||console.warn(o("uni.chooseFile.notUserActivation"))}),0,Ip),Q_=vd("request",(({url:e,data:t,header:n={},method:r,dataType:o,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==r)if(m(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(_){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)u(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();const f=new XMLHttpRequest,h=new ev(f);f.open(r,e);for(const m in n)u(n,m)&&f.setRequestHeader(m,n[m]);const g=setTimeout((function(){f.onload=f.onabort=f.onerror=null,h.abort(),c("timeout",{errCode:5})}),s);return f.responseType=i,f.onload=function(){clearTimeout(g);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===o)try{t=JSON.parse(t)}catch(_){}l({data:t,statusCode:e,header:tv(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},f.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},f.withCredentials=a,f.send(d),h}),0,Vp);class ev{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function tv(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class nv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){h(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const rv=vd("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:r,reject:o})=>{var i,a=new XMLHttpRequest,s=new nv(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let o;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(o=e[1])}n.name=o||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),r({statusCode:t,tempFilePath:hf(n)})},a.onabort=function(){clearTimeout(i),o("abort",{errCode:600003})},a.onerror=function(){clearTimeout(i),o("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,r=e.total;t({progress:Math.round(n/r*100),totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),o("timeout",{errCode:5})}),n),s}),0,qp);class ov{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){h(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const iv=vd("uploadFile",(({url:e,file:t,filePath:n,name:r,files:o,header:i={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new ov;return d(o)&&o.length||(o=[{name:r,file:t,uri:n}]),Promise.all(o.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(ff(e)):pf(t)))).then((function(t){var n,r=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(o).forEach((({name:e},n)=>{const r=t[n];d.append(e||"file",r,r.name||`file-${Date.now()}`)})),r.open("POST",e),Object.keys(i).forEach((e=>{r.setRequestHeader(e,i[e])})),r.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,r=e.total;t({progress:Math.round(n/r*100),totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(n),c("",{errCode:602001})},r.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},r.onload=function(){clearTimeout(n);const e=r.status;l({statusCode:e,data:r.responseText||r.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),r.send(d),u._xhr=r)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,zp),av=[],sv={open:"",close:"",error:"",message:""};class lv{constructor(e,t,n){let r;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:r,reason:o}=t,i="message"===e?{data:n}:"close"===e?{code:r,reason:o}:{};if(this._callbacks[e].forEach((t=>{try{t(i)}catch(jS){console.error(`thirdScriptError\n${jS};at socketTask.on${O(e)} callback function\n`,jS)}})),this===av[0]&&sv[e]&&hy.invokeOnCallback(sv[e],i),"error"===e||"close"===e){const e=av.indexOf(this);e>=0&&av.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(jS){r=jS}n&&n(r,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw he(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),he(e,"sendSocketMessage:ok")}catch(r){he(e,{errMsg:`sendSocketMessage:fail ${r}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,r=e.reason;m(r)?t.close(n,r):t.close(n),he(e,"closeSocket:ok")}catch(n){he(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const cv=vd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:r})=>new lv(e,t,((e,t)=>{e?r(e.toString(),{errCode:600009}):(av.push(t),n())}))),0,Up),uv=bd("navigateBack",((e,{resolve:t,reject:n})=>{let r=!0;return!0===Mc("onBackPress",{from:e.from||"navigateBack"})&&(r=!1),r?(qg().$router.go(-e.delta),t()):n("onBackPress")}),0,Zp),dv=bd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:r,reject:o})=>{if(dg.handledBeforeEntryPageRoutes)return Zm({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(r).catch(o);pg.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:r,reject:o})}),0,Yp);function pv(e){__uniConfig.darkmode&&hy.on("onThemeChange",e)}function fv(e){hy.off("onThemeChange",e)}function hv(e){let t={};return __uniConfig.darkmode&&(t=Re(e,__uniConfig.themeConfig,s_())),__uniConfig.darkmode?t:e}const mv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},gv=Tr({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},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=sn(""),r=()=>a.value=!1,o=()=>(r(),t("close","cancel")),i=()=>(r(),t("close","confirm",n.value)),a=F_(e,{onEsc:o,onEnter:()=>{!e.editable&&i()}}),s=function(e){const t=sn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=mv[e].cancelColor})(e,t)};return nr((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===s_()&&n({theme:"dark"}),pv(n))):fv(n)})),t}(e);return()=>{const{title:t,content:r,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=r,ci(Wi,{name:"uni-fade"},{default:()=>[ur(ci("uni-modal",{onTouchmove:dc},[D_,ci("div",{class:"uni-modal"},[t?ci("div",{class:"uni-modal__hd"},[ci("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ci("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:r,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ci("div",{class:"uni-modal__bd",onTouchmovePassive:pc,textContent:r},null,40,["onTouchmovePassive","textContent"]),ci("div",{class:"uni-modal__ft"},[l&&ci("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:o},[e.cancelText],12,["onClick"]),ci("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[ta,a.value]])]})}}});let _v;const vv=de((()=>{hy.on("onHidePopup",(()=>_v.visible=!1))}));let yv;function bv(e,t){const n="confirm"===e,r={confirm:n,cancel:"cancel"===e};n&&_v.editable&&(r.content=t),yv&&yv(r)}const wv=bd("showModal",((e,{resolve:t})=>{vv(),yv=t,_v?(s(_v,e),_v.visible=!0):(_v=zt(e),On((()=>(N_(gv,_v,bv).mount(B_("u-a-m")),On((()=>_v.visible=!0))))))}),0,af),xv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==sf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Tv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Sv=e=>Tv[e],kv=Tr({name:"Toast",props:xv,setup(e){Al(),Ml();const{Icon:t}=function(e){const t=sn(Sv(s_())),n=({theme:e})=>t.value=Sv(e);nr((()=>{e.visible?pv(n):fv(n)}));return{Icon:$i((()=>{switch(e.icon){case"success":return ci(Tc(wc,t.value,38),{class:"uni-toast__icon"});case"error":return ci(Tc(xc,t.value,38),{class:"uni-toast__icon"});case"loading":return ci("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=F_(e,{});return()=>{const{mask:r,duration:o,title:i,image:a}=e;return ci(Wi,{name:"uni-fade"},{default:()=>[ur(ci("uni-toast",{"data-duration":o},[r?ci("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:dc},null,40,["onTouchmove"]):"",a||t.value?ci("div",{class:"uni-toast"},[a?ci("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,ci("p",{class:"uni-toast__content"},[i])]):ci("div",{class:"uni-sample-toast"},[ci("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[ta,n.value]])]})}}});let Cv,Ev,Pv="";const Ov=Be();function Lv(e){Cv?s(Cv,e):(Cv=zt(s(e,{visible:!1})),On((()=>{Ov.run((()=>{ir([()=>Cv.visible,()=>Cv.duration],(([e,t])=>{if(e){if(Ev&&clearTimeout(Ev),"onShowLoading"===Pv)return;Ev=setTimeout((()=>{Rv("onHideToast")}),t)}else Ev&&clearTimeout(Ev)}))})),hy.on("onHidePopup",(()=>Rv("onHidePopup"))),N_(kv,Cv,(()=>{})).mount(B_("u-a-t"))}))),setTimeout((()=>{Cv.visible=!0}),10)}const Av=bd("showToast",((e,{resolve:t,reject:n})=>{Lv(e),Pv="onShowToast",t()}),0,lf),Mv={icon:"loading",duration:1e8,image:""},$v=bd("showLoading",((e,{resolve:t,reject:n})=>{s(e,Mv),Lv(e),Pv="onShowLoading",t()}),0,of),Iv=bd("hideLoading",((e,{resolve:t,reject:n})=>{Rv("onHideLoading"),t()}));function Rv(e){const{t:t}=Pl();if(!Pv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Pv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Pv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Pv="",setTimeout((()=>{Cv.visible=!1}),10)}const jv=bd("loadFontFace",(({family:e,source:t,desc:n},{resolve:r,reject:o})=>{(function(e,t,n){const r=document.fonts;if(r){const o=new FontFace(e,t,n);return o.load().then((()=>{r.add&&r.add(o)}))}return new Promise((r=>{const o=document.createElement("style"),i=[];if(n){const{style:e,weight:t,stretch:r,unicodeRange:o,variant:a,featureSettings:s}=n;e&&i.push(`font-style:${e}`),t&&i.push(`font-weight:${t}`),r&&i.push(`font-stretch:${r}`),o&&i.push(`unicode-range:${o}`),a&&i.push(`font-variant:${a}`),s&&i.push(`font-feature-settings:${s}`)}o.innerText=`@font-face{font-family:"${e}";src:${t};${i.join(";")}}`,document.head.appendChild(o),r()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Pu(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Pu(t.substring(4,t.length-1))}')`:Pu(t),n).then((()=>{r()})).catch((e=>{o(`loadFontFace:fail ${e}`)}))}));function Dv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,hy.emit("onNavigationBarChange",{titleText:t})}nr(t),Mr(t)}const Nv=bd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{!function(e,t,n,r,o){if(!e)return o("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:r}=n,{duration:o,timingFunc:a}=r;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=o+"ms",i.timingFunc=a;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case"setNavigationBarTitle":const{title:s}=n;i.titleText=s}r()}(Ec(),"setNavigationBarTitle",e,t,n)})),Bv=bd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:r})=>{!function(e,t,n){if(m(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const r=document.querySelector("uni-page-head");r&&(e-=r.offsetHeight)}}e<0&&(e=0);const r=document.documentElement,{clientHeight:o,scrollHeight:i}=r;if(e=Math.min(e,i-o),0===t)return void(r.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}(t||e||0,n),r()}),0,rf),Fv=bd("stopPullDownRefresh",((e,{resolve:t})=>{hy.invokeViewMethod("stopPullDownRefresh",{},Pc()),t()})),Wv=["text","iconPath","iconfont","selectedIconPath","visible"],Vv=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],qv=["badge","redDot"];function zv(e,t,n){t.forEach((function(t){u(n,t)&&(e[t]=n[t])}))}function Uv(e,t,n,r){var o;let i=!1;const a=_g();if(a.length&&a[a.length-1].$page.meta.isTabBar&&(i=!0),!i)return r("not TabBar page");const{index:s}=t;if("number"==typeof s){const e=null==(o=null==__uniConfig?void 0:__uniConfig.tabBar)?void 0:o.list.length;if(!e||s>=e)return r("tabbar item not found")}const l=Qm();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;zv(e,Wv,t);const{pagePath:r}=t;if(r){const e=le(r);e!==n&&function(e,t,n){const r=Nc(le(t));if(r){const{meta:e}=r;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const o=Nc(le(n));if(o){const{meta:t}=o;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const r=__uniConfig.tabBar;r&&r.list&&r.list[e]&&(r.list[e].pagePath=ce(n))}}(s,n,e)}break;case"setTabBarStyle":zv(l,Vv,t);break;case"showTabBarRedDot":zv(l.list[s],qv,{badge:"",redDot:!0});break;case"setTabBarBadge":zv(l.list[s],qv,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":zv(l.list[s],qv,{badge:"",redDot:!1})}n()}const Hv=bd("hideTabBar",((e,{resolve:t,reject:n})=>{Uv("hideTabBar",e||{},t,n)})),Yv=du({name:"TabBar",setup(){const e=sn([]),t=Qm(),n=function(e,t){const n=Gt(e),r=n?zt(hv(e)):hv(e);return __uniConfig.darkmode&&n&&ir(e,(e=>{const t=hv(e);for(const n in t)r[n]=t[n]})),t&&pv(t),r}(t,(()=>{const e=hv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach(((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath}))}));!function(e,t){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}sn(s({type:"midButton"},e.midButton)),nr(n)}(n,e),function(e){ir((()=>e.shown),(t=>{_c({"--window-bottom":cg(t?parseInt(e.height):0)})}))}(n);const r=function(e,t,n){return nr((()=>{const r=e.meta;if(r.isTabBar){const e=r.route,o=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=o}})),(t,n)=>()=>{const{pagePath:r,text:o}=t;let i=le(r);i===__uniRoutes[0].alias&&(i="/"),e.path!==i?Hm({from:"tabBar",url:i,tabBarText:o}):Mc("onTabItemTap",{index:n,text:o,pagePath:r})}}(pl(),n,e),{style:o,borderStyle:i,placeholderStyle:a}=function(e){const t=$i((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||ig&&n&&"none"!==n&&(t=Gv[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=$i((()=>{const{borderStyle:t,borderColor:n}=e;return n&&m(n)?{backgroundColor:n}:{backgroundColor:Xv[t]||Xv.black}})),r=$i((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:r}}(n);return qr((()=>{n.iconfontSrc&&jv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:r,selectedColor:o,color:i}=e;return n.value.map(((n,a)=>{const s=r===a;return function(e,t,n,r,o,i,a,s){return ci("div",{key:a,class:"uni-tabbar__item",onClick:s(o,a)},[Jv(e,t||"",n,r,o,i)],8,["onClick"])}(s?o:i,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,r,e);return ci("uni-tabbar",{class:"uni-tabbar-"+n.position},[ci("div",{class:"uni-tabbar",style:o.value},[ci("div",{class:"uni-tabbar-border",style:i.value},null,4),t],4),ci("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const Gv={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},Xv={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Jv(e,t,n,r,o,i){const{height:a}=i;return ci("div",{class:"uni-tabbar__bd",style:{height:a}},[n?Kv(n,r||"rgb(0, 0, 0, 0.8)",o,i):t&&Zv(t,o,i),o.text&&Qv(e,o,i),o.redDot&&ey(o.badge)],4)}function Zv(e,t,n){const{type:r,text:o}=t,{iconWidth:i}=n;return ci("div",{class:"uni-tabbar__icon"+(o?" uni-tabbar__icon__diff":""),style:{width:i,height:i}},["midButton"!==r&&ci("img",{src:Pu(e)},null,8,["src"])],6)}function Kv(e,t,n,r){var o;const{type:i,text:a}=n,{iconWidth:s}=r,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(o=n.iconfont)?void 0:o.fontSize)||s,color:t};return ci("div",{class:l,style:c},["midButton"!==i&&ci("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Qv(e,t,n){const{iconPath:r,text:o}=t,{fontSize:i,spacing:a}=n;return ci("div",{class:"uni-tabbar__label",style:{color:e,fontSize:i,lineHeight:r?"normal":1.8,marginTop:r?a:"inherit"}},[o],4)}function ey(e){return ci("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const ty=du({name:"Layout",setup(e,{emit:t}){const n=sn(null);gc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const r=function(){const e=pl();return{routeKey:$i((()=>xg("/"+e.meta.route,Vm()))),isTabBar:$i((()=>e.meta.isTabBar)),routeCache:Sg}}(),{layoutState:o,windowState:i}=function(){Wm();{const e=zt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return ir((()=>e.marginWidth),(e=>gc({"--window-margin":e+"px"}))),ir((()=>e.leftWindowWidth+e.marginWidth),(e=>{gc({"--window-left":e+"px"})})),ir((()=>e.rightWindowWidth+e.marginWidth),(e=>{gc({"--window-right":e+"px"})})),{layoutState:e,windowState:$i((()=>({})))}}}();!function(e,t){const n=Wm();function r(){const r=document.body.clientWidth,o=_g();let i={};if(o.length>0){i=o[o.length-1].$page.meta}else{const e=Nc(n.path,!0);e&&(i=e.meta)}const a=parseInt(String((u(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=r>a,s&&a?(e.marginWidth=(r-a)/2,On((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,On((()=>{const e=t.value;e&&e.removeAttribute("style")})))}ir([()=>n.path],r),qr((()=>{r(),window.addEventListener("resize",r)}))}(o,n);const a=function(e){const t=Wm(),n=Qm(),r=$i((()=>t.meta.isTabBar&&n.shown));return gc({"--tab-bar-height":n.height}),r}(),s=function(e){const t=sn(!1);return $i((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return()=>{const e=function(e,t,n,r,o,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ci(ul,null,{default:zn((({Component:r})=>[(Zo(),ni(Lr,{matchBy:"key",cache:n},[(Zo(),ni(Zn(r),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(r),t=function(e){return ur(ci(Yv,null,null,512),[[ta,e.value]])}(a);return ci("uni-app",{ref:n,class:s.value},[e,t],2)}}});const ny=bd("saveImageToPhotosAlbum",(ry="saveImageToPhotosAlbum",(e,{reject:t})=>t(function(e){return`method 'uni.${e}' not supported`}(ry))));var ry;function oy(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ri(e)}function iy(e){if(e.mode===ly.TIME)return"00:00";if(e.mode===ly.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case cy.YEAR:return t.toString();case cy.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function ay(e){if(e.mode===ly.TIME)return"23:59";if(e.mode===ly.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case cy.YEAR:return t.toString();case cy.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function sy(e,t,n,r){const o=e.mode===ly.DATE?"-":":",i=e.mode===ly.DATE?t.dateArray:t.timeArray;let a;if(e.mode===ly.TIME)a=2;else switch(e.fields){case cy.YEAR:a=1;break;case cy.MONTH:a=2;break;default:a=3}const s=String(n).split(o);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(i[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=r?sy(e,t,r):l.map((()=>0))),l}const ly={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},cy={YEAR:"year",MONTH:"month",DAY:"day"},uy={PICKER:"picker",SELECT:"select"},dy=uu({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:ly.SELECTOR,validator:e=>Object.values(ly).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>iy(e)},end:{type:String,default:e=>ay(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Rl();const{t:r}=Pl(),o=sn(null),i=sn(null),a=sn(null),l=sn(null),c=sn(!1),{state:u,rangeArray:p}=function(e){const t=zt({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=$i((()=>{let n=e.range;switch(e.mode){case ly.SELECTOR:return[n];case ly.MULTISELECTOR:return n;case ly.TIME:return t.timeArray;case ly.DATE:{const n=t.dateArray;switch(e.fields){case cy.YEAR:return[n[0]];case cy.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),f=fu(o,t),{system:h,selectorTypeComputed:m,_show:g,_l10nColumn:_,_l10nItem:v,_input:y,_fixInputPosition:b,_pickerViewChange:w,_cancel:x,_change:T,_resetFormData:S,_getFormData:k,_createTime:C,_createDate:E,_setValueSync:P}=function(e,t,n,r,o,i,a){const s=function(){const e=sn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=sn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=$i((()=>{const t=e.selectorType;return Object.values(uy).includes(t)?t:s.value?uy.PICKER:uy.SELECT})),u=$i((()=>e.mode===ly.DATE&&!Object.values(cy).includes(e.fields)&&t.isDesktop?l.value:"")),p=$i((()=>sy(e,t,e.start,iy(e)))),f=$i((()=>sy(e,t,e.end,ay(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let r=o.value,i=n.currentTarget;r.remove(),(document.querySelector("uni-app")||document.body).appendChild(r),r.style.display="block";const a=i.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout((()=>{t.visible=!0}),20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case ly.SELECTOR:t.valueSync=0;break;case ly.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case ly.DATE:case ly.TIME:t.valueSync=""}}function _(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function v(){let t=(new Date).getFullYear(),n=t-150,r=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>r&&(r=t)}return{start:n,end:r}}function y(){let e=[];const n=v();for(let t=n.start,i=n.end;t<=i;t++)e.push(String(t));let r=[];for(let t=1;t<=12;t++)r.push((t<10?"0":"")+t);let o=[];for(let t=1;t<=31;t++)o.push((t<10?"0":"")+t);t.dateArray.push(e,r,o)}function b(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function T(){let n=e.value;switch(e.mode){case ly.MULTISELECTOR:{d(n)||(n=t.valueArray),d(t.valueSync)||(t.valueSync=[]);const r=t.valueSync.length=Math.max(n.length,e.range.length);for(let o=0;o<r;o++){const r=Number(n[o]),i=Number(t.valueSync[o]),a=isNaN(r)?isNaN(i)?0:i:r,s=e.range[o]?e.range[o].length-1:0;t.valueSync.splice(o,1,a<0||a>s?0:a)}}break;case ly.TIME:case ly.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function S(){let n,r=t.valueSync;switch(e.mode){case ly.MULTISELECTOR:n=[...r];break;case ly.TIME:n=sy(e,t,r,fe({mode:ly.TIME}));break;case ly.DATE:n=sy(e,t,r,fe({mode:ly.DATE}));break;default:n=[r]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case ly.SELECTOR:return n[0];case ly.MULTISELECTOR:return n.map((e=>e));case ly.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case ly.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function C(){P(),t.valueChangeSource="click";const e=k();t.valueSync=d(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:r,width:o,height:i}=t.popover,{pageX:a,pageY:s}=e;if(a>r&&a<r+o&&s>n&&s<n+i)return}P(),n("cancel",{},{})}function P(){t.visible=!1,setTimeout((()=>{let e=o.value;e.remove(),r.value.prepend(e),e.style.display="none"}),260)}function O(){e.mode===ly.SELECTOR&&c.value===uy.SELECT&&(i.value.scrollTop=34*t.valueArray[0])}function L(e){const n=e.target;t.valueSync=n.value,On((()=>{C()}))}function A(e){if("chrome"===u.value){const t=r.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}}function M(e){t.valueArray=$(e.detail.value,!0)}function $(t,n){const{getLocale:r}=Pl();if(e.mode===ly.DATE){const o=r();if(!o.startsWith("zh"))switch(e.fields){case cy.YEAR:return t;case cy.MONTH:return[t[1],t[0]];default:switch(o){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function I(t,n){const{getLocale:r}=Pl();if(e.mode===ly.DATE){const o=r();if(o.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==cy.YEAR&&n===(e.fields===cy.MONTH||"es"!==o&&"fr"!==o?0:1)){let e;switch(o){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return ir((()=>t.visible),(e=>{e?(clearTimeout(py),t.contentVisible=e,O()):py=setTimeout((()=>{t.contentVisible=e}),300)})),ir([()=>e.mode,()=>e.value,()=>e.range],T,{deep:!0}),ir((()=>t.valueSync),S,{deep:!0}),ir((()=>t.valueArray),(r=>{if(e.mode===ly.TIME||e.mode===ly.DATE){const n=e.mode===ly.TIME?b:w,r=t.valueArray,o=p.value,i=f.value;if(e.mode===ly.DATE){const e=t.dateArray,n=e[2].length,o=Number(e[2][r[2]])||1,i=new Date(`${e[0][r[0]]}/${e[1][r[1]]}/${o}`).getDate();i<o&&(r[2]-=i+n-o)}n(r)<n(o)?x(r,o):n(r)>n(i)&&x(r,i)}r.forEach(((r,o)=>{r!==t.oldValueArray[o]&&(t.oldValueArray[o]=r,e.mode===ly.MULTISELECTOR&&n("columnchange",{},{column:o,value:r}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:C,_l10nColumn:$,_l10nItem:I,_input:L,_resetFormData:g,_getFormData:m,_createTime:_,_createDate:y,_setValueSync:T,_fixInputPosition:A,_pickerViewChange:M}}(e,u,f,o,i,a,l);!function(e,t,n){const{key:r,disable:o}=j_();nr((()=>{o.value=!e.visible})),ir(r,(e=>{"esc"===e?t():"enter"===e&&n()}))}(u,x,T),function(e,t){const n=ko(_u,!1);if(n){const r={reset:e,submit:()=>{const e=["",null],{key:n,value:r}=t();return""!==n&&(e[0]=n,e[1]=r),e}};n.addField(r),Hr((()=>{n.removeField(r)}))}}(S,k),C(),E(),P();const O=function(e){const t=sn(0),n=sn(0),r=$i((()=>t.value>=500&&n.value>=500)),o=$i((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},o=t.content,i=t.triangle,a=e.popover;function l(e){return Number(e)||0}if(r.value&&a){s(i,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=l(a.left),t=l(a.width),r=l(a.top),c=l(a.height),u=e+t/2;o.transform="none !important";const d=Math.max(0,u-150);o.left=`${d}px`;let p=Math.max(12,u-d);p=Math.min(288,p),i.left=`${p}px`;const f=n.value/2;r+c-f>f-r?(o.top="auto",o.bottom=n.value-r+6+"px",i.bottom="-6px",i["border-width"]="6px 6px 0 6px",i["border-color"]="#fcfcfd transparent transparent transparent"):(o.top=`${r+c+6}px`,i.top="-6px",i["border-width"]="0 6px 6px 6px",i["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return qr((()=>{const e=()=>{const{windowWidth:e,windowHeight:r,windowTop:o}=m_();t.value=e,n.value=r+(o||0)};window.addEventListener("resize",e),e(),Yr((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:r,popupStyle:o}}(u);return nr((()=>{u.isDesktop=O.isDesktop.value,u.popupStyle=O.popupStyle.value})),Hr((()=>{i.value&&i.value.remove()})),qr((()=>{c.value=!0})),()=>{let t;const{visible:s,contentVisible:d,valueArray:f,popupStyle:S,valueSync:k}=u,{rangeKey:C,mode:E,start:P,end:O}=e,L=gu(e,"disabled");return ci("uni-picker",_i({ref:o},L,{onClick:pu(g)}),[c.value?ci("div",{ref:i,class:["uni-picker-container",`uni-${E}-${m.value}`],onWheel:dc,onTouchmove:dc},[ci(Wi,{name:"uni-fade"},{default:()=>[ur(ci("div",{class:"uni-mask uni-picker-mask",onClick:pu(x),onMousemove:b},null,40,["onClick","onMousemove"]),[[ta,s]])]}),h.value?null:ci("div",{class:[{"uni-picker-toggle":s},"uni-picker-custom"],style:S.content},[ci("div",{class:"uni-picker-header",onClick:pc},[ci("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:pu(x)},[r("uni.picker.cancel")],8,["onClick"]),ci("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:T},[r("uni.picker.done")],8,["onClick"])],8,["onClick"]),d?ci(Vh,{value:_(f),class:"uni-picker-content",onChange:w},oy(t=Kr(_(p.value),((e,t)=>{let n;return ci(Xh,{key:t},oy(n=Kr(e,((e,n)=>ci("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[C]||"":v(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,ci("div",{ref:a,class:"uni-picker-select",onWheel:pc,onTouchmove:pc},[Kr(p.value[0],((e,t)=>ci("div",{key:t,class:["uni-picker-item",{selected:f[0]===t}],onClick:()=>{f[0]=t,T()}},["object"==typeof e?e[C]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),ci("div",{style:S.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,ci("div",null,[n.default&&n.default()]),h.value?ci("div",{class:"uni-picker-system",onMousemove:pu(b)},[ci("input",{class:["uni-picker-system_input",h.value],ref:l,value:k,type:E,tabindex:"-1",min:P,max:O,onChange:e=>{y(e),pc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let py;const fy=s(ql,{publishHandler(e,t,n){hy.subscribeHandler(e,t,n)}}),hy=s(Zc,{publishHandler(e,t,n){fy.subscribeHandler(e,t,n)}}),my={name:"PageRefresh",setup(){const{pullToRefresh:e}=Bm();return{offset:e.offset,color:e.color}}},gy=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},_y={class:"uni-page-refresh-inner"},vy=["fill"],yy=[li("path",{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"},null,-1),li("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],by={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},wy=["stroke"];const xy=gy(my,[["render",function(e,t,n,r,o,i){return Zo(),ti("uni-page-refresh",null,[li("div",{style:oe({"margin-top":r.offset+"px"}),class:"uni-page-refresh"},[li("div",_y,[(Zo(),ti("svg",{fill:r.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},yy,8,vy)),(Zo(),ti("svg",by,[li("circle",{stroke:r.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,wy)]))])],4)])}]]);function Ty(e,t,n){const r=Array.prototype.slice.call(e.changedTouches).filter((e=>e.identifier===t))[0];return!!r&&(e.deltaY=r.pageY-n,!0)}const Sy="aborting",ky="refreshing",Cy="restoring";function Ey(e){const t=Bm(),{id:n,pullToRefresh:r}=t,{range:o,height:i}=r;let a,s,l,c,u,d,p,f;Em((()=>{t.enablePullDownRefresh&&(f||(f=ky,_(),setTimeout((()=>{x()}),50)))}),"startPullDownRefresh",!1,n),Em((()=>{t.enablePullDownRefresh&&f===ky&&(v(),f=Cy,_(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}((()=>{v(),f=h=m=null})))}),"stopPullDownRefresh",!1,n),qr((()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style}));let h=null,m=null;function g(e){f&&a&&a.classList[e]("uni-page-refresh--"+f)}function _(){g("add")}function v(){g("remove")}const y=pu((e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([Sy,ky,Cy].indexOf(f)>=0)})),b=pu((e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!Ty(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!f)return;e.cancelable&&e.preventDefault(),null===h&&(m=n,f="pulling",_()),n-=m,n<0&&(n=0),h=n;(n>=o&&"reached"!==f||n<o&&"pulling"!==f)&&(v(),f="reached"===f?"pulling":"reached",_()),function(e){if(!s)return;let t=e/o;t>1?t=1:t*=t*t;const n=Math.round(e/(o/i))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)})),w=pu((e=>{t.enablePullDownRefresh&&Ty(e,u,d)&&null!==f&&("pulling"===f?(v(),f=Sy,_(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}((()=>{v(),f=h=m=null}))):"reached"===f&&(v(),f=ky,_(),x()))}));function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+i+"px, 0)",Mc(n,"onPullDownRefresh"))}return{onTouchstartPassive:y,onTouchmove:b,onTouchend:w,onTouchcancel:w}}const Py=du({name:"PageBody",setup(e,t){const n=Bm(),r=sn(null),o=n.enablePullDownRefresh?Ey(r):null,i=sn(null);return ir((()=>n.enablePullDownRefresh),(()=>{i.value=n.enablePullDownRefresh?o:null}),{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return ci(xy,{ref:e},null,512)}(r,n);return ci(Uo,null,[e,ci("uni-page-wrapper",i.value,[ci("uni-page-body",null,[eo(t.slots,"default")])],16)])}}});const Oy=du({name:"Page",setup(e,t){const n=Fm(Vm());n.navigationBar;const r={};return Dv(n),()=>ci("uni-page",{"data-page":n.route,style:r},[Ly(t)])}});function Ly(e){return Zo(),ni(Py,{key:0},{default:zn((()=>[eo(e.slots,"page")])),_:3})}const Ay={},My=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){const e=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),i=(null==o?void 0:o.nonce)||(null==o?void 0:o.getAttribute("nonce"));r=Promise.all(t.map((t=>{if(t=function(e,t){return new URL(e,t).href}(t,n),t in Ay)return;Ay[t]=!0;const r=t.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(!!n)for(let n=e.length-1;n>=0;n--){const o=e[n];if(o.href===t&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${t}"]${o}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=t,i&&a.setAttribute("nonce",i),document.head.appendChild(a),r?new Promise(((e,n)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return r.then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},$y={letcgo:"letcgo",home:"Home",category:"Category",cart:"Cart",my:"My",product:"Product",review:"Review",detail:"Detail",view_all:"View All",none:"None",all:"All",search_products:"Search Products",buy_now:"Buy Now",sold:"Sold",sales_volume:"Sales Volume",go_buy:"Go Buy",add_to_cart:"Add to Cart",redeem_now:"Redeem Now",sold_out:"Sold Out",product_not_exist:"Product not available or has been removed",awaiting_your_first_review:"Awaiting Your First Review",browse_more:"Browse More",select_product_options:"Please Select Product Options",favorite:"Favorite",unfavorite:"Unfavorite",favorite_success:"Favorite Success",points:"Points",cancel:"Cancel",confirm:"Confirm",submit:"Submit",save:"Save",delete:"Delete",edit:"Edit",close:"Close",back:"Back",next:"Next",previous:"Previous",yes:"Yes",no:"No",ok:"OK",post:"Post",loading:"Loading...",refresh:"Refresh",search:"Search",reset:"Reset",add:"Add",update:"Update",upload:"Upload",download:"Download",level:"Level",no_level:"No Level",select:"Select",select_product_specification:"Please Select Product Specification",clear:"Clear",delete_footprint:"Delete Footprint",select_all:"Select All",my_footprints:"My Footprints",total_goods:"Total {number} items",recommended:"Recommended",price_asc:"Price Low-High",price_desc:"Price High-Low",sales:"Sales",newest:"Newest",enter_keywords:"Enter Keywords",checkout:"Checkout",total:"Total",default:"Default",empty_cart:"Your cart is empty, go shop around!",select_area:"Select Area",click_to_load_more:"Click to Load More",system:"System",current_version:"Current Version",local_cache:"Local Cache",about_us:"About Us",logout_account:"Log Out",confirm_logout:"Confirm Log Out?",no_data:"No Data",uploading:"Uploading",verifying:"Verifying",fetching:"Fetching",save_success:"Save Successful",update_success:"Update Successful",logging_in:"Logging In",login_success:"Login Successful",registering:"Registering",register_success:"Registration Successful",sending:"Sending",send_success:"Send Successful",binding:"Binding",bind_success:"Bind Successful",unbind:"Unbinding",unbind_success:"Unbind Successful",claiming:"Claiming",claim_success:"Claim Successful",collect_success:"Collect Successful",cancel_success:"Cancel Successful",delete_success:"Delete Successful",clear_success:"Clear Successful",apply_success:"Apply Successful",change_success:"Change Successful",added_to_cart:"Added to Cart",just_now:"Just Now",minutes_ago:"{m} Minutes Ago",hours_ago:"{h} Hours Ago",days_ago:"{d} Days Ago",months_ago:"{m} Months Ago",years_ago:"{y} Years Ago",copy_success:"Copy Successful!",copy_fail:"Copy Failed!",sms_error:"SMS Sending Error",try_later:"Please Try Later",phone_format_error:"Incorrect Phone Format",get_verification_code:"Get Code",use_wechat_browser:"Please Open in WeChat Browser",platform_not_supported:"Platform Not Supported",payment_manually_cancelled:"Payment Manually Cancelled",alipay_payment:"Alipay Payment",copy_link_to_browser:"Copy Link to Browser",copy_link:"Copy Link",wechat_payment:"WeChat Payment",bind_wechat_for_payment:"Bind WeChat for Payment",bind:"Bind",balance_payment:"Balance Payment",mock_payment:"Mock Payment",update_prompt:"Update Prompt",new_version_ready:"New Version Ready, Restart Now?",latest_version:"Latest Version",server_error_try_later:"Server Error, Please Try Later",network_request_error:"Network Request Error",request_error:"Request Error",login_expired:"Your Login Has Expired",please_login:"Please Log In",access_denied:"Access Denied",request_timeout:"Request Timeout",frequent_requests:"Frequent Requests, Please Try Later",server_unavailable:"Service Unimplemented",network_error:"Network Error",service_unavailable:"Service Unavailable",network_timeout:"Network Timeout",http_not_supported:"HTTP Version Not Supported",server_exception:"Server Exception",check_network_connection:"Check Your Network Connection",not_bound_wechat:"WeChat Not Bound, Please Bind First",platform_intro:"Platform Intro",industry_intro:"Industry Intro",latest_news:"Latest News",shared_mall:"Shared Mall",activities:"Activities",merchant:"Merchant",videos:"Videos",mall:"Mall",shop_index:"Shop Index",shop_category:"Shop Category",all_product:"All Product"},Iy={account_login:"Account Login",sms_login:"SMS Login",register:"Register",read_and_agree:"I have read and agree to the",user_agreement:"User Agreement",privacy_policy:"Privacy Policy",and:"and",wechat_authorization_login:"WeChat Authorization Login",wechat_authorization_register:"WeChat Authorization Register",please_agree:"Please check to agree",register_by_sharing_only:"You can only register via sharing",quick_login_failed:"Quick Login Failed",username:"Username",password:"Password",enter_username:"Enter Username",enter_valid_username:"Please enter a valid username!",enter_password:"Enter Password",login:"Login",phone_number:"Phone",verification_code:"Verification Code",enter_verification_code:"Enter Verification Code",get_verification_code:"Get Code",incorrect_phone_format:"Incorrect Phone Format",enter_phone_number:"Enter Phone Number",username_exists:"Username Already Exists!",change_phone_number:"Change Phone",bind_phone_number:"Bind Phone",old_phone_number:"Old Phone",enter_old_phone_number:"Enter Old Phone",security_notice:"For security, use your personal phone number",new_phone_number:"New Phone",enter_new_phone_number:"Enter New Phone",login_again:"Update Successful, Log In Again",change_password:"Change Password",cancel_change:"Cancel Change",password_requirements:"6-12 chars with letters & numbers",modification_successful:"Successful Update",authorization_info:"Authorization Info",complete_profile:"Complete Your Profile",avatar:"Avatar",select_avatar:"Select Avatar",nickname:"Nickname",enter_nickname:"Enter Nickname",confirm_authorization:"Confirm Authorization",authorization_successful:"Authorization Successful",first_time_login:"First-time Login, Verify Phone",continue_login:"Continue Login",change_alipay_account:"Change Alipay Account",bind_alipay_account:"Bind Alipay Account",bind_realname_alipay:"Bind Real-name Verified Alipay Account",name:"Name",enter_name:"Enter Name",account:"Account",enter_account:"Enter Account",change_bank_card:"Change Bank Card",bind_bank_card:"Bind Bank Card",bank_branch:"Bank Branch",bank_branch_example:"E.g., XX Bank Ltd. XX Branch",account_holder:"Account Holder",account_holder_name:"Holder's Name",bank_account_number:"Bank Account Number",select_account_login:"Select Account Login",wechat_no_bind:"This WeChat is not linked to any account, please use another login method",wechat_register:"WeChat Register",wechat_no_account:"Your WeChat has no account, please register via sharing"},Ry={all_reviews:"All Reviews",positive:"Positive",neutral:"Neutral",negative:"Negative"},jy={confirm_order:"Confirm Order",shipping_fee:"Shipping Fee",free_shipping:"Free Shipping",order_note:"Order Note",communication_advice:"Contact seller first",quantity:"Quantity",price_details:"Price Details",total_price:"Total Price",total_items:"Total {count} items",commission_deduction:"Commission Deduction",deduction:"Deduct {count} yuan",no_commission:"No Commission Use",consumption_point_deduction:"Point Use",no_consumption_points:"No Consumption Points",total_items_count:"Total {count} items",submit_order:"Submit Order",select_shipping_address:"Select Shipping Address",insufficient_commission:"Insufficient Commission",insufficient_consumption_points:"Insufficient Consumption Points",commission_points_no_mix:"Cannot Combine Commission with Consumption Points"},Dy={select_shipping_address:"Select Shipping Address",shipping_address:"Shipping Address",import_wechat_address:"Import from WeChat",add_new_shipping_address:"Add Address",no_shipping_address:"No Shipping Address",edit_address:"Edit Address",add_address:"Add Address",recipient:"Recipient",enter_recipient_name:"Enter Recipient's Name",province_city_district:"Province/City/District",select_province_city_district:"Select Province/City/District",detailed_address:"Detailed Address",enter_detailed_address:"Enter Detailed Address",set_as_default_address:"Set as Default Address",confirm_delete_address:"Confirm Delete This Address?",virtual_goods_address:"Virtual Address",edit_virtual_address:"Edit Virtual Address",add_virtual_address:"Add Virtual Address",set_as_default_virtual_address:"Set as Default Virtual Address"},Ny={insufficient_stock:"Insufficient Stock",select_specification:"Select Specification",amount_less_than_min:"Amount Less Than Minimum Purchase",insufficient_points:"Insufficient Points",min_points_required:"Minimum of 1 Point Required",purchase_quantity:"Purchase Quantity",purchase_amount:"Purchase Amount",available_points:"Available Points: {points}"},By={cashier:"Cashier",select_payment_method:"Select Payment Method",phone_number:"Phone Number",enter_phone_number:"Enter Phone Number",verification_code:"Verification Code",enter_verification_code:"Enter Verification Code",checking_payment_environment:"Checking Payment Environment",payment_expired:"Payment Expired",pay_now:"Pay Now",verification_code_cannot_be_empty:"Verification Code Cannot Be Empty",choose_payment_method:"Choose Payment Method",order_paid:"Order Paid",no_payment_order_found:"No Payment Order Found",remaining_payment_time:"Remaining Payment Time {h}:{m}:{s}"},Fy={share:"Share",poster_loading:"Poster Loading...",long_press_to_save:"Long Press to Save",save_success:"Save Successful",save_failure:"Save Failed"},Wy={merchant_registration:"Merchant Signup",merchant_name:"Merchant Name",enter_merchant_name:"Enter Merchant Name",contact_person:"Contact Person",enter_contact_person:"Enter Contact Person",contact_phone:"Contact Phone",enter_contact_phone:"Enter Contact Phone",legal_person:"Legal Representative",enter_legal_person:"Enter Legal Representative",legal_person_phone:"Legal Representative Phone",enter_legal_person_phone:"Enter Legal Representative Phone",legal_person_id_front:"Legal ID Front",legal_person_id_back:"Legal ID Back",location:"Location",email:"Email",enter_email:"Enter Email",office_address:"Office Address",enter_office_address:"Enter Office Address",rights_phone:"Rights Phone",enter_rights_phone:"Enter Rights Phone",customer_service_phone:"Customer Service Phone",enter_customer_service_phone:"Enter Customer Service Phone",website:"Website",enter_website:"Enter Website",bank:"Bank",enter_bank:"Enter Bank",account_name:"Account Name",enter_account_name:"Enter Account Name",account_number:"Account Number",enter_account_number:"Enter Account Number",business_license:"Business License",brand_authorization:"Brand Authorization",download_template:"Download Template",other_certificates:"Other Certificates",introduction:"Introduction",enter_introduction:"Enter Introduction",status:"Status",review_in_progress:"Review in Progress",review_records:"Review Records",changes:"Changes",save_and_submit:"Save and Submit",existing_merchant_alert:"Existing merchant account for user ({user}), please apply with a different account!",merchant_name_required:"Merchant name is required",introduction_required:"Introduction is required",contact_required:"Contact is required",contact_phone_required:"Contact phone is required",customer_service_phone_required:"Customer service phone is required",legal_person_required:"Legal representative is required",legal_person_phone_required:"Legal representative phone is required",account_name_required:"Account name is required",account_number_required:"Account number is required",bank_required:"Bank is required",under_review:"Under Review",approved:"Approved",rejected:"Rejected",non_exclusive_authorization:"Non-exclusive Brand Authorization",select_location:"Select Location",select_legal_person_id_front:"Select Upload of Legal ID Front (National Emblem)",select_legal_person_id_back:"Select Upload of Legal ID Back (Portrait)",upload_business_license:"Upload Business License",upload_brand_authorization:"Upload Brand Authorization"},Vy={redeemed:"Redeemed",in_stock:"In Stock",pending_payment:"Pending Payment",awaiting_shipment:"Awaiting Shipment",awaiting_write_off:"Awaiting Write-off",awaiting_delivery:"Awaiting Delivery",awaiting_review:"Awaiting Review",completed:"Completed",closed:"Closed",complete_payment_by:"Please complete the payment by {time}",merchant_not_shipped:"Merchant has not shipped yet, please be patient",merchant_shipped:"Merchant has shipped, please be patient",goods_received:"Goods received, go leave a review",transaction_completed:"Transaction completed, thank you for your support",transaction_closed:"Transaction closed",apply_for_after_sales:"Apply for after-sales",goods_awaiting_return:"Goods awaiting return",merchant_awaiting_goods:"Merchant awaiting goods",waiting_for_refund:"Waiting for refund",refund_successful:"Refund successful",buyer_cancelled:"Buyer cancelled",merchant_refused:"Merchant refused",merchant_refused_goods:"Merchant refused to receive goods",unknown_status:"Unknown status",refund_request_awaiting_merchant:"Refund request awaiting merchant",return_goods_fill_logistics:"Return goods and fill logistics information",return_refund_request_awaiting_merchant:"Return and refund request awaiting merchant",refund_closed:"Refund closed",merchant_disagrees_with_refund_request:"Merchant disagrees with refund request, reason:",merchant_refuses_to_accept_goods:"Merchant refuses to accept goods, disagrees with refund, reason:"},qy={quick_menu:"Quick Menu",search:"Search",personal_center:"Center",shopping_cart:"Cart",browsing_history:"History",my_favorites:"Favorites",customer_service:"Service"},zy={name:"Name",username:"Username",nickname:"Nickname",password:"Password",confirm_password:"Confirm password",email:"Email",phone:"Phone",avatar:"Avatar",status:"Status",create_time:"Create time",update_time:"Update time",last_login_time:"Last login time",last_login_ip:"Last login ip",clear_cache:"Clera cache",switch_language:"Switch language",log_out:"Log out",change:"Change",sex:"Sex",male:"Male",female:"Female",user_info:"User Information",unbind_reminder:"Unbinding Reminder",please_login:"Please Login"},Uy={wallet:"Wallet",balance:"Balance",commission:"Commission",consumption_points:"Consumption",team:"Team",people:"People",generation_rules:"Net Worth Rules",benefits:"Net Worth Benefits",recharge:"Recharge",withdraw:"Withdraw",transfer_points:"Transfer Points",points_transfer:"Points Transfer",current_peak:"Current Peak Available:",commission_record:"Commission Record",points_record:"Points Record",withdrawal:"Withdrawal (expected within 24 hours)",commission_rules:"Commission Calculation Rules",exceed_limit:"Exceed Limit",withdrawal_records:"Withdrawal Records",wechat:"WeChat",alipay:"Alipay",bank_card:"Bank Card",credited:"Credited",withdrawal_failed:"Withdrawal Failed",withdrawing:"Withdrawing",select_withdrawal_method:"Select Withdrawal Method",not_bound_click_to_bind:"Not Bound, Click to Bind",withdrawal_amount:"Withdrawal Amount",actual_amount_received:"Actual Amount Received",note:"Note: Actual received amount {commission}, consumption points {consumption}.No withdrawal fee",withdraw_to_wechat:"Withdraw to WeChat",withdraw_to_alipay:"Withdraw to Alipay",withdraw_to_bank_card:"Withdraw to Bank Card",please_select_withdrawal_method:"Please Select Withdrawal Method",enter_withdrawal_amount:"Enter Withdrawal Amount",alipay_not_bound:"Alipay Account Not Bound",bank_card_not_bound:"Bank Card Not Bound",go_bind:"Go Bind",application_successful:"Application Successful",current_exchangeable_amount:"Your Current Exchangeable Amount:",commission_to_points:"Convert to Points",enter_transfer_amount:"Enter Transfer Amount",current_commission_available:"Current Commission Available",transfer_amount_cannot_be_empty:"Conversion Amount Cannot Be Empty",transfer_amount_cannot_be_zero:"Conversion Amount Must Be Greater Than Zero",commission_to_points_irreversible:"Conversion to points is irreversible. Proceed?",conversion_successful:"Conversion Successful",points_recharge:"Points Recharge",recharge_amount:"Recharge Amount",enter_recharge_amount:"Enter Recharge Amount",actual_points_received:"Actual Points Received",note_recharge_bonus:"Note: Recharge {amount} yuan or more to get {multiplier} times the points",recharge_amount_less_than:"Recharge Amount Cannot Be Less Than {point}",recipient:"Recipient",enter_recipient_username:"Enter Recipient's Username",recipient_phone:"Recipient's Phone",enter_recipient_phone:"Enter Recipient's Phone Number",transfer_amount:"Transfer Amount",current_transferable_amount:"Current Transferable Amount:",recipient_cannot_be_empty:"Recipient Cannot Be Empty",recipient_phone_cannot_be_empty:"Recipient's Phone Cannot Be Empty",verification_code_cannot_be_empty:"Verification Code Cannot Be Empty",transfer_amount_less_than_zero:"Transfer Amount Must Be Greater Than Zero",recipient_cannot_be_self:"Recipient Cannot Be Yourself",user_does_not_exist:"User Does Not Exist!",username_phone_mismatch:"Recipient's Username and Phone Number Do Not Match!",cannot_transfer_to_self:"Cannot Transfer to Oneself",transfer_successful:"Transfer Successful"},Hy={total_people:"Total {count} People",retain_performance:"Keep Score",referrer:"Referrer",direct_referral:"Direct Referral",team_count:"Team: {count} People",new_performance_value:"New Score",no_team_members:"No Team Members"},Yy={check_in:"Check-in",check_in_gift:"Gift with Check-in",consecutive_check_ins:"Consecutive Check-ins:",sunday:"Sun",monday:"Mon",tuesday:"Tue",wednesday:"Wed",thursday:"Thu",friday:"Fri",saturday:"Sat",days:"Days",month_year:"{month}/{year}",already_checked_in:"Already Checked In",check_in_description:"Check-in Description",daily_check_in_fixed:"Daily check-in earns {social} social value",congratulations_on_check_in:"Congratulations on Successful Check-in",check_in_not_started:"Check-in Event Has Not Started",daily_check_in_reward:"Earn {social} Points of Social Value for Daily Check-in",level_upgraded:"Your Level has been Upgraded to {level}"},Gy={payment_result:"Payment Result",payment_successful:"Payment Successful",payment_failed:"Payment Failed",order_closed:"Order Closed",checking_payment_result:"Checking Payment Result...",return_home:"Return Home",retry_payment:"Retry Payment",view_order:"View Order",view_wallet:"View Wallet",my_group_buying:"My Group Buying",get_realtime_shipping_info:"Get Real-time Shipping and Order Status",subscribe_now:"Subscribe Now",pending_payment:"Pay Now",pending_shipment:"To Ship",pending_receipt:"To Receive",pending_review:"To Review",all_orders:"All",my_orders:"My Orders",no_orders:"No Orders",order_number:"Order Number",total_items:"Total {count} Items",total_amount:"Total Amount",group_details:"Group Buying Details",view_details:"View Details",view_logistics:"View Logistics",confirm_receipt:"Confirm Receipt",cancel_order:"Cancel",review_order:"Review",delete_order:"Delete",continue_payment:"Continue Payment",confirm_receipt_question:"Confirm Receipt?",upgrade_wechat:"Please Upgrade WeChat Version",confirm_cancel_order:"Are You Sure You Want to Cancel the Order?",confirm_delete_order:"Are You Sure You Want to Delete the Order?",order_details:"Order Details",apply_for_service:"Apply for Service",refund_in_progress:"Refund in Progress",refund_successful:"Refund Successful",copy:"Copy",customer_message:"Customer Message",order_time:"Order Time",payment_time:"Payment Time",payment_method:"Payment Method",shipping_fee:"Shipping Fee",use_commission:"Use Commission",use_points:"Use Points",discount_amount:"Discount Amount",paid:"Paid",amount_due:"Amount Due",refunded:"Refunded",cancel_request:"Cancel Request",fill_return:"Fill Return",confirm_cancel_request:"Are You Sure You Want to Cancel This Request?",not_logged_in:"You are not logged in, please log in as {user} to continue",account_switch_needed:"You are currently logged in as {user}, please switch to {user} to proceed",product_quality:"Product Quality",service_attitude:"Service Attitude",meet_expectations:"Did the item meet your expectations? Share your experience to help others decide.",confirm_post_review:"Post Review?",missing_order_info:"Missing order information, please check",no_reviews_pending:"No Reviews Pending",after_sales_list:"After-Sales List",apply_for_after_sales:"Apply for Service",reason_for_application:"Reason for Application",select_reason_for_application:"Select a Reason",customer_prompt:"Please describe your issue, photo upload recommended",contact_customer_service:"Contact Support",select_after_sales_type:"Select Service Type",please_fill_in_description:"Please Fill in the Description",after_sales_details:"After-Sales Details",total_refund:"Total Refund",refund_amount:"Refund Amount",refund_commission:"Refund Commission",refund_points:"Refund Points",service_order_number:"Service Id",application_time:"Application Time",after_sales_type:"After-Sales Type",application_reason:"Application Reason",related_description:"Related Description",no_after_sales_details:"No After-Sales Details for This Order",submit_application:"Apply Now",processing:"Processing",completed:"Completed",refund_only:"Refund Only",refund_and_return:"Refund and Return",after_sales_progress:"After-Sales Progress",logistics_tracking:"Logistics Tracking",tracking_number:"Track #",courier_company:"Courier",shipping_time:"Shipped"},Xy={signature:"Personal Signature",set:"Settings",bind:"Bind",unbind:"Unbind",physical_address_management:"Physical Address Management",virtual_address_management:"Virtual Address Management",alipay_account:"Alipay Account",bank_card:"Bank Card",enter_platform:"Enter Platform",enter_merchant_backend:"Enter Merchant Backend",my_qrcode:"My QR Code",third_party_account_binding:"Third-party Account Binding",wechat_public_account:"WeChat Public Account",wechat_mini_program:"WeChat Mini Program",wechat_open_platform:"WeChat Open Platform",prompt:"Prompt",confirm_logout:"Confirm logout?"},Jy={confirm:"Confirm",cancel:"Cancel",Commission:{usingCommission:"Using Commission",availableCommission:"Your available commission",currentOrderTotalPrice:"Current order price ",canUseMaxCommission:", maximum ",commission:" commission can be used"},ConsumptionPoints:{usingPoints:"Using Consumption Points",availablePoints:"Your available consumption points",currentOrderTotalPrice:"Current order price ",canUseMaxPoints:", maximum ",points:" consumption points can be used"},congratulations:"Congratulations",commission_earned:"Commission Earned",social_value_earned:"Social Value Earned",order_success:"Order Successful",auto_checkin_success:"Congratulations! Auto Check-in Successful!",daily_checkin_reward:"Earned {point} Points for Daily Check-in",level_upgraded:"Your Level has been Upgraded to",follow_public_account:"Follow Our Public Account",long_press_qrcode_follow:"Long Press QR Code to Follow Public Account",wechat_friend:"WeChat Friend",create_poster:"Create Poster",copy_link:"Copy Link"},Zy={username:"Please enter your username",username_taken:"Username is already taken!",usernameNotnull:"Username cannot be empty",nickname:"Please enter your nickname",nicknameNotnull:"Nickname cannot be empty",password:"Please enter your password",passwordNotnull:"Password cannot be empty",confirm_password:"Please confirm your password",confirmPasswordNotnull:"Confirm password cannot be empty",email:"Please enter your email",emailNotnull:"Email cannot be empty",phone:"Please enter your phone number",phoneNotnull:"Phone number cannot be empty",avatar:"Please upload your avatar",avatarNotnull:"Avatar cannot be empty",sex:"Please select your gender",sexNotnull:"Gender cannot be empty",password_error:"Passwords do not match",click_change_password:"Click to change password",modify_success:"Modification successful, please log in again",unbind_warning:"After unbinding, you will no longer be able to log in to this account via WeChat",bind_phone:"Please bind your phone number",enter_username:"Enter Username",username_required:"Username Required",enter_phone:"Enter Phone Number",incorrect_phone_format:"Incorrect Phone Format",enter_password:"Enter Password",password_requirements:"6-12 chars with letters & numbers",enter_verification_code:"Enter Verification Code",enter_name:"Enter Name",enter_chinese_characters:"Enter Chinese Characters",enter_invoice_title:"Enter Invoice Title",enter_tax_number:"Enter Tax Number",enter_bank:"Enter Bank",enter_bank_card_number:"Enter Bank Card Number",correct_bank_card_number:"Enter Correct Bank Card Number",enter_alipay_account:"Enter Alipay Account",correct_account_number:"Enter Correct Account",enter_email:"Enter Email",correct_email:"Enter Correct Email"},Ky={"lang.en":"EngLish","lang.zh-hans":"简体中文",settings:"Settings",agreement:"User privacy Agreement",user_management:"User management",role_management:"Role management",menu_management:"Menu management",post_management:"Position management",org_management:"Organization management",add_user:"Add a user",about:"About","title.home":"Home","title.userinfo":"User Information","title.settings":"Settings","title.usercenter":"User Center","title.product_category":"Categories","title.cart":"Cart","title.search":"Search","title.product_details":"Details","title.group_buying":"Group Buy","title.flash_sale":"Flash Sale","title.product_list":"Products","title.rate_product":"Rate Product","title.product_reviews":"Reviews","title.order_details":"Order Details","title.confirm_order":"Confirm Order","title.my_orders":"My Orders","title.apply_service":"After-Sales","title.return_logistics":"Return Logistics","title.after_sales_list":"After-Sales","title.after_sales_details":"Service Details","title.after_sales_progress":"Service Progress","title.logistics_tracking":"Tracking","title.share":"Share","title.my_favorites":"Favorites","title.my_footprints":"Footprints","title.physical_address":"Shipping Address","title.virtual_address":"Virtual Address","title.edit_invoice":"Edit Invoice","title.manage_invoice":"Manage Invoice","title.edit_address":"Edit Address","title.my_balance":"My Balance","title.wallet":"Wallet","title.points_source":"Points Source","title.points_recharge":"Points Recharge","title.points_transfer":"Points Transfer","title.commission_to_points":"Convert to Points","title.withdraw":"Withdraw","title.withdraw_records":"Withdrawals","title.commission_exchange":"Exchange","title.team":"Team","title.distribution":"Distribution","title.my_commission":"My Commission","title.promote_products":"Promote","title.distribution_orders":"Dist. Orders","title.my_team":"My Team","title.promoter_ranking":"Promoter Rank","title.commission_ranking":"Commission Rank","title.apply_withdraw":"Withdraw","title.check_in_center":"Check-In","title.shop_home":"Shop Home","title.system_settings":"Settings","title.rich_text":"Rich Text","title.faq":"FAQ","title.error_page":"Error Page","title.coupon_center":"Coupons","title.coupons":"Coupons","title.customer_service":"Support","title.checkout":"Checkout","title.fuiou_result":"Payment Result","title.payment_result":"Payment Result","title.recharge_balance":"Recharge","title.recharge_records":"Recharge History","title.group_details":"Group Details","title.my_groups":"My Groups","title.marketing_products":"Marketing","title.group_activities":"Group Activities","title.seckill_activities":"Seckill","title.bargain_list":"Bargain List","title.bargain_details":"Bargain Details",common:$y,account:Iy,review:Ry,confirm:jy,address:Dy,selectSku:Ny,cashier:By,share:Fy,merchant:Wy,useGoods:Vy,menu:qy,user:zy,wallet:Uy,team:Hy,sign:Yy,order:Gy,setting:Xy,pop:Jy,rules:Zy},Qy=Object.freeze(Object.defineProperty({__proto__:null,about:"About",account:Iy,add_user:"Add a user",address:Dy,agreement:"User privacy Agreement",cashier:By,common:$y,confirm:jy,default:Ky,menu:qy,menu_management:"Menu management",merchant:Wy,order:Gy,org_management:"Organization management",pop:Jy,post_management:"Position management",review:Ry,role_management:"Role management",rules:Zy,selectSku:Ny,setting:Xy,settings:"Settings",share:Fy,sign:Yy,team:Hy,useGoods:Vy,user:zy,user_management:"User management",wallet:Uy},Symbol.toStringTag,{value:"Module"})),eb={letcgo:"常来此购",home:"首页",category:"分类",cart:"购物车",my:"我的",product:"商品",review:"评价",detail:"详情",view_all:"查看全部",none:"无",all:"全部",search_products:"搜索商品",buy_now:"立即购买",sold:"已售",sales_volume:"销量",go_buy:"去购买",add_to_cart:"加入购物车",redeem_now:"立即兑换",sold_out:"已售罄",product_not_exist:"商品不存在或已下架",awaiting_your_first_review:"期待您的第一个评价",browse_more:"再逛逛",select_product_options:"请选择商品规格",favorite:"收藏",unfavorite:"取消收藏",favorite_success:"收藏成功",points:"贡献值",cancel:"取消",confirm:"确定",submit:"提交",save:"保存",delete:"删除",edit:"编辑",close:"关闭",back:"返回",next:"下一步",previous:"上一步",yes:"是",no:"否",ok:"好的",post:"发布",loading:"加载中...",refresh:"刷新",search:"搜索",reset:"重置",add:"添加",update:"更新",upload:"上传",download:"下载",level:"等级",no_level:"无等级",select:"选择",select_product_specification:"请选择商品规格",clear:"清空",delete_footprint:"删除足迹",select_all:"全选",my_footprints:"我的足迹",total_goods:"共 {number} 件商品",recommended:"综合推荐",price_asc:"价格升序",price_desc:"价格降序",sales:"销量",newest:"新品优先",enter_keywords:"请输入关键词",checkout:"去结算",total:"合计",default:"默认",empty_cart:"购物车空空如也,快去逛逛吧~",select_area:"选择区域",click_to_load_more:"点击加载更多",system:"系统",current_version:"当前版本",local_cache:"本地缓存",about_us:"关于我们",logout_account:"注销账号",confirm_logout:"确认注销账号?",no_data:"暂无数据",uploading:"上传中",verifying:"验证中",fetching:"获取中",save_success:"保存成功",update_success:"更新成功",logging_in:"登录中",login_success:"登录成功",registering:"注册中",register_success:"注册成功",sending:"发送中",send_success:"发送成功",binding:"绑定中",bind_success:"绑定成功",unbind:"解除绑定",unbind_success:"解绑成功",claiming:"领取中",claim_success:"领取成功",collect_success:"收藏成功",cancel_success:"取消成功",delete_success:"删除成功",clear_success:"清空成功",apply_success:"申请成功",change_success:"变动成功",added_to_cart:"已添加到购物车",just_now:"刚刚",minutes_ago:"{m}分钟前",hours_ago:"{h}小时前",days_ago:"{d}天前",months_ago:"{m}个月前",years_ago:"{y}年前",copy_success:"复制成功!",copy_fail:"复制失败!",sms_error:"短信发送事件错误",try_later:"请稍后再试",phone_format_error:"手机号码格式不正确",get_verification_code:"获取验证码",use_wechat_browser:"请使用微信网页浏览器打开",platform_not_supported:"暂不支持该平台",payment_manually_cancelled:"支付已手动取消",alipay_payment:"支付宝支付",copy_link_to_browser:"复制链接到外部浏览器",copy_link:"复制链接",wechat_payment:"微信支付",bind_wechat_for_payment:"请先绑定微信再使用微信支付",bind:"绑定",balance_payment:"余额支付",mock_payment:"模拟支付",update_prompt:"更新提示",new_version_ready:"新版本已经准备好,是否重启应用?",latest_version:"当前为最新版本",server_error_try_later:"服务器开小差啦,请稍后再试~",network_request_error:"网络请求出错",request_error:"请求出错",login_expired:"您的登陆已过期",please_login:"请登录",access_denied:"拒绝访问",request_timeout:"请求超时",frequent_requests:"请求频繁, 请稍后再访问",server_unavailable:"服务未实现",network_error:"网络错误",service_unavailable:"服务不可用",network_timeout:"网络超时",http_not_supported:"HTTP 版本不受支持",server_exception:"服务器异常",check_network_connection:"请检查您的网络连接",not_bound_wechat:"您未绑定微信,请先绑定",platform_intro:"平台简介",industry_intro:"产业介绍",latest_news:"最新资讯",shared_mall:"共享商城",merchant:"商家",activities:"活动",videos:"视频",mall:"商城",shop_index:"店铺首页",shop_category:"店铺分类",all_product:"所有商品"},tb={account_login:"账号登录",sms_login:"短信登录",register:"注册",read_and_agree:"我已阅读并遵守",user_agreement:"《用户协议》",privacy_policy:"《隐私协议》",and:"与",wechat_authorization_login:"微信授权登录",wechat_authorization_register:"微信授权注册",please_agree:"请勾选同意",register_by_sharing_only:"您只能通过分享注册",quick_login_failed:"快捷登录失败",username:"用户名",password:"密码",enter_username:"请输入用户名",enter_valid_username:"请输入正确的用户名!",enter_password:"请输入密码",login:"登录",phone_number:"手机号",verification_code:"验证码",enter_verification_code:"请输入验证码",get_verification_code:"获取验证码",incorrect_phone_format:"手机号码格式不正确",enter_phone_number:"请输入手机号",username_exists:"已存在用户名!",change_phone_number:"更换手机号",bind_phone_number:"绑定手机号",old_phone_number:"原手机号",enter_old_phone_number:"请输入原手机号",security_notice:"为了您的账号安全,请使用本人手机号码",new_phone_number:"新手机号",enter_new_phone_number:"请输入新手机号",login_again:"修改成功,请重新登录",change_password:"修改密码",cancel_change:"取消修改",password_requirements:"需包含字母和数字,长度在6-12之间",modification_successful:"修改成功",authorization_info:"授权信息",complete_profile:"完善您的头像、昵称、手机号",avatar:"头像",select_avatar:"请选择头像",nickname:"昵称",enter_nickname:"请输入昵称",confirm_authorization:"确认授权",authorization_successful:"授权成功",first_time_login:"您首次登录,请输入手机号验证",continue_login:"继续登录",change_alipay_account:"更换支付宝账号",bind_alipay_account:"绑定支付宝账号",bind_realname_alipay:"请绑定已实名认证的支付宝账号",name:"名称",enter_name:"请输入名称",account:"账号",enter_account:"请输入账号",change_bank_card:"更换银行卡",bind_bank_card:"绑定银行卡",bank_branch:"开户行",bank_branch_example:"例:xx银行股份有限公司xx分行xx支行",account_holder:"开户名",account_holder_name:"个人姓名",bank_account_number:"银行卡账号",select_account_login:"请选择账号登录",wechat_no_bind:"该微信暂绑定无账号,请使用其他登陆方式",wechat_register:"微信注册",wechat_no_account:"您的微信没有账号,请先注册"},nb={all_reviews:"全部评价",positive:"好评",neutral:"中评",negative:"差评"},rb={confirm_order:"确认订单",shipping_fee:"运费",free_shipping:"包邮",order_note:"订单备注",communication_advice:"建议留言前先与商家沟通",quantity:"数量",price_details:"价格明细",total_price:"商品总价",total_items:"共{count}件商品",commission_deduction:"佣金抵扣",deduction:"抵扣{count}元",no_commission:"不使用佣金",consumption_point_deduction:"消费分抵扣",no_consumption_points:"不使用消费分",total_items_count:"共{count}件",submit_order:"提交订单",select_shipping_address:"请选择收货地址",insufficient_commission:"可用佣金不足",insufficient_consumption_points:"可用消费分不足",commission_points_no_mix:"佣金不能搭配消费分使用"},ob={select_shipping_address:"请选择收货地址",shipping_address:"收货地址",import_wechat_address:"导入微信地址",add_new_shipping_address:"新增收货地址",no_shipping_address:"暂无收货地址",edit_address:"编辑地址",add_address:"新增地址",recipient:"收货人",enter_recipient_name:"请填写收货人姓名",province_city_district:"省市区",select_province_city_district:"请选择省市区",detailed_address:"详细地址",enter_detailed_address:"请输入详细地址",set_as_default_address:"设为默认地址",confirm_delete_address:"确认删除此收货地址吗?",virtual_goods_address:"虚拟商品收货地址",edit_virtual_address:"编辑虚拟地址",add_virtual_address:"新增虚拟地址",set_as_default_virtual_address:"设为默认虚拟地址"},ib={insufficient_stock:"库存不足",select_specification:"请选择规格",amount_less_than_min:"输入金额少于可购买数量",insufficient_points:"可用积分不足",min_points_required:"最低使用1积分",purchase_quantity:"购买数量",purchase_amount:"购买金额",available_points:"当前可用积分:{points}"},ab={cashier:"收银台",select_payment_method:"选择支付方式",phone_number:"手机号",enter_phone_number:"请输入手机号",verification_code:"验证码",enter_verification_code:"请输入验证码",checking_payment_environment:"检测支付环境中",payment_expired:"支付已过期",pay_now:"立即支付",verification_code_cannot_be_empty:"验证码不能为空",choose_payment_method:"请选择支付方式",order_paid:"该订单已支付",no_payment_order_found:"未查询到支付单信息",remaining_payment_time:"剩余支付时间 {h}:{m}:{s}"},sb={share:"分享",poster_loading:"海报加载中...",long_press_to_save:"长按图片保存",save_success:"保存成功",save_failure:"保存失败"},lb={merchant_registration:"商家入驻",merchant_name:"商家名称",enter_merchant_name:"请输入商家名称",contact_person:"联络人",enter_contact_person:"请输入联络人",contact_phone:"联络人手机号",enter_contact_phone:"请输入联络人手机号",legal_person:"法人",enter_legal_person:"请输入法人",legal_person_phone:"法人手机号",enter_legal_person_phone:"请输入法人手机号",legal_person_id_front:"法人身份证正面",legal_person_id_back:"法人身份证反面",location:"所在地",email:"邮箱",enter_email:"请输入邮箱",office_address:"办公地址",enter_office_address:"请输入办公地址",rights_phone:"维权电话",enter_rights_phone:"请输入维权电话",customer_service_phone:"客服电话",enter_customer_service_phone:"请输入客服电话",website:"官网",enter_website:"请输入官网",bank:"开户银行",enter_bank:"请输入开户银行",account_name:"账户名称",enter_account_name:"请输入账户名称",account_number:"账户号码",enter_account_number:"请输入账户号码",business_license:"营业执照",brand_authorization:"品牌授权书",download_template:"下载模板",other_certificates:"其他证书",introduction:"简介",enter_introduction:"请输入简介",status:"状态",review_in_progress:"审核中",review_records:"审核记录",changes:"变动",save_and_submit:"保存并提交",existing_merchant_alert:"当前用户({user}),已存在商户账号,请更换账号申请!",merchant_name_required:"商户名称不能为空",introduction_required:"简介不能为空",contact_required:"联络人不能为空",contact_phone_required:"联络人手机号不能为空",customer_service_phone_required:"客服电话不能为空",legal_person_required:"法人不能为空",legal_person_phone_required:"法人电话不能为空",account_name_required:"账户名称不能为空",account_number_required:"账户号码不能为空",bank_required:"开户银行不能为空",under_review:"审核中",approved:"通过",rejected:"拒绝",non_exclusive_authorization:"非独家品牌授权书",select_location:"请选择所在地",select_legal_person_id_front:"请选择上传法人身份证正面(国徽面)",select_legal_person_id_back:"请选择上传法人身份证背面(人像面)",upload_business_license:"请上传营业执照",upload_brand_authorization:"请上传品牌授权书"},cb={redeemed:"已兑换",in_stock:"库存",pending_payment:"待付款",awaiting_shipment:"待发货",awaiting_write_off:"待核销",awaiting_delivery:"待收货",awaiting_review:"待评价",completed:"已完成",closed:"已关闭",complete_payment_by:"请在 {time} 前完成支付",merchant_not_shipped:"商家未发货,请耐心等待",merchant_shipped:"商家已发货,请耐心等待",goods_received:"已收货,快去评价一下吧",transaction_completed:"交易完成,感谢您的支持",transaction_closed:"交易关闭",apply_for_after_sales:"申请售后",goods_awaiting_return:"商品待退货",merchant_awaiting_goods:"商家待收货",waiting_for_refund:"等待退款",refund_successful:"退款成功",buyer_cancelled:"买家取消",merchant_refused:"商家拒绝",merchant_refused_goods:"商家拒收货",unknown_status:"未知状态",refund_request_awaiting_merchant:"退款申请待商家处理",return_goods_fill_logistics:"请退货并填写物流信息",return_refund_request_awaiting_merchant:"退货退款申请待商家处理",refund_closed:"退款关闭",merchant_disagrees_with_refund_request:"商家不同意退款申请,拒绝原因:",merchant_refuses_to_accept_goods:"商家拒绝收货,不同意退款,拒绝原因:"},ub={quick_menu:"快捷菜单",search:"搜索",personal_center:"个人中心",shopping_cart:"购物车",browsing_history:"浏览记录",my_favorites:"我的收藏",customer_service:"客服"},db={name:"名称",username:"用户名",nickname:"昵称",password:"密码",confirm_password:"确认密码",email:"邮箱",phone:"手机号",avatar:"头像",status:"状态",create_time:"创建时间",update_time:"更新时间",last_login_time:"最后登录时间",last_login_ip:"最后登录IP",clear_cache:"清理缓存",switch_language:"切换语言",log_out:"退出登录",change:"修改",sex:"性别",male:"男",female:"女",user_info:"用户信息",unbind_reminder:"解绑提醒",please_login:"请登录"},pb={wallet:"钱包",balance:"余额",commission:"佣金",consumption_points:"消费分",team:"团队",people:"人",generation_rules:"身价产生规则",benefits:"身价权益",recharge:"充值",withdraw:"提现",transfer_points:"转消费分",points_transfer:"消费分转让",current_peak:"当前可获得峰值:",commission_record:"佣金记录",points_record:"消费分记录",withdrawal:"提现 (预计24小时左右到账)",commission_rules:"佣金计算规则",exceed_limit:"超出额度",withdrawal_records:"提现记录",wechat:"微信",alipay:"支付宝",bank_card:"银行卡",credited:"已到账",withdrawal_failed:"提现失败",withdrawing:"提现中",select_withdrawal_method:"选择提现方式",not_bound_click_to_bind:"暂未绑定,点击绑定",withdrawal_amount:"提现金额",actual_amount_received:"实到金额",note:"备注:实际到账金额{commission},消费分{consumption}。免提现手续费",withdraw_to_wechat:"提现到微信",withdraw_to_alipay:"提现到支付宝",withdraw_to_bank_card:"提现到银行卡",please_select_withdrawal_method:"请选择提现方式",enter_withdrawal_amount:"请输入提现金额",alipay_not_bound:"未绑定支付宝账号",bank_card_not_bound:"未绑定银行卡",go_bind:"去绑定",application_successful:"申请成功",current_exchangeable_amount:"您当前可兑换金额:",commission_to_points:"佣金转消费分",enter_transfer_amount:"请输入转让金额",current_commission_available:"您当前可转换的佣金额度",transfer_amount_cannot_be_zero:"转换金额不能小于等于0",commission_to_points_irreversible:"佣金转为消费分后不可逆,是否转换?",conversion_successful:"转换成功",points_recharge:"消费分充值",recharge_amount:"充值金额",enter_recharge_amount:"请输入充值金额",actual_points_received:"实到消费分",note_recharge_bonus:"备注:充值{amount}元及以上,可获得{multiplier}倍消费分",recharge_amount_less_than:"充值金额不能少于{point}",recipient:"接收人",enter_recipient_username:"请输入接收人用户名",recipient_phone:"接收人手机号",enter_recipient_phone:"请输入接收人手机号",transfer_amount:"转让金额",current_transferable_amount:"您当前可转让的金额:",recipient_cannot_be_empty:"接收人不能为空",recipient_phone_cannot_be_empty:"接收人手机号不能为空",verification_code_cannot_be_empty:"验证码不能为空",transfer_amount_cannot_be_empty:"转让金额不能为空",transfer_amount_less_than_zero:"转让金额不能小于等于0",recipient_cannot_be_self:"接收人不能为自己",user_does_not_exist:"用户不存在!",username_phone_mismatch:"接收人用户名与手机号不匹配!",cannot_transfer_to_self:"不能给自己转账",transfer_successful:"转账成功"},fb={total_people:"共{count}人",retain_performance:"保留绩效值",referrer:"推荐人",direct_referral:"直推人",team_count:"团队:{count}人",new_performance_value:"新增绩效值:",no_team_members:"暂无团队成员"},hb={check_in:"签到",check_in_gift:"签到有礼",consecutive_check_ins:"已连续签到",days:"天",sunday:"日",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",month_year:"{year}年{month}月",already_checked_in:"已签到",check_in_description:"签到说明",daily_check_in_fixed:"每日签到固定 {social} 身价",congratulations_on_check_in:"恭喜签到成功",check_in_not_started:"签到活动还未开始",daily_check_in_reward:"获得每日签到{social}点身价",level_upgraded:"您已升级等级为{level}"},mb={payment_result:"支付结果",payment_successful:"支付成功",payment_failed:"支付失败",order_closed:"该订单已关闭",checking_payment_result:"检测支付结果...",return_home:"返回首页",retry_payment:"重新支付",view_order:"查看订单",view_wallet:"查看钱包",my_group_buying:"我的拼团",get_realtime_shipping_info:"获取实时发货信息与订单状态",subscribe_now:"立即订阅",pending_payment:"待付款",pending_shipment:"待发货",pending_receipt:"待收货",pending_review:"待评价",all_orders:"全部订单",my_orders:"我的订单",no_orders:"暂无订单",order_number:"订单号",total_items:"共 {count} 件商品",total_amount:"总金额",group_details:"拼团详情",view_details:"查看详情",view_logistics:"查看物流",confirm_receipt:"确认收货",cancel_order:"取消订单",review_order:"评价",delete_order:"删除订单",continue_payment:"继续支付",confirm_receipt_question:"确认收货?",upgrade_wechat:"请升级微信版本",confirm_cancel_order:"确定要取消订单吗?",confirm_delete_order:"确定要删除订单吗?",order_details:"订单详情",apply_for_service:"申请售后",refund_in_progress:"退款中",refund_successful:"退款成功",copy:"复制",customer_message:"用户留言",order_time:"下单时间",payment_time:"支付时间",payment_method:"支付方式",shipping_fee:"运费",use_commission:"使用佣金",use_points:"使用消费分",discount_amount:"优惠金额",paid:"已付款",amount_due:"需付款",refunded:"已退款",cancel_request:"取消申请",fill_return:"填写退货",confirm_cancel_request:"确定要取消此申请吗",not_logged_in:"您尚未登录,请登录: {user}后再试",account_switch_needed:"您当前登录的账号是{user},请切换到{user}后再试",product_quality:"商品质量",service_attitude:"服务态度",meet_expectations:"宝贝满足你的期待吗?说说你的使用心得,分享给想买的他们吧~",confirm_post_review:"发布评论?",missing_order_info:"缺少订单信息,请检查",no_reviews_pending:"无待评价订单",after_sales_list:"售后列表",apply_for_after_sales:"申请售后",reason_for_application:"申请原因",select_reason_for_application:"请选择申请原因",customer_prompt:"客官~请描述您遇到的问题,建议上传照片",contact_customer_service:"联系客服",select_after_sales_type:"请选择售后类型",please_fill_in_description:"请填写相关描述",after_sales_details:"售后详情",total_refund:"退款总额",refund_amount:"退款金额",refund_commission:"退款佣金",refund_points:"退款消费分",service_order_number:"服务单号",application_time:"申请时间",after_sales_type:"售后类型",application_reason:"申请原因",related_description:"相关描述",no_after_sales_details:"暂无该订单售后详情",submit_application:"提交申请",processing:"处理中",completed:"完成",refund_only:"仅退款",refund_and_return:"退款退货",after_sales_progress:"售后进度",logistics_tracking:"物流追踪",tracking_number:"快递单号",courier_company:"快递公司",shipping_time:"发货时间"},gb={signature:"个性签名",set:"设置",bind:"绑定",unbind:"解绑",physical_address_management:"实体收货地址管理",virtual_address_management:"虚拟收货地址管理",alipay_account:"支付宝账号",bank_card:"银行卡",enter_platform:"进入平台",enter_merchant_backend:"进入商家后台",my_qrcode:"我的二维码",third_party_account_binding:"第三方账号绑定",wechat_public_account:"微信公众号",wechat_mini_program:"微信小程序",wechat_open_platform:"微信开放平台",prompt:"提示",confirm_logout:"确认退出账号?"},_b={confirm:"确定",cancel:"取消",Commission:{usingCommission:"使用佣金",availableCommission:"您的可用佣金",currentOrderTotalPrice:"当前订单价格",canUseMaxCommission:",可使用最高",commission:"佣金"},ConsumptionPoints:{usingPoints:"使用消费分",availablePoints:"您的可用消费分",currentOrderTotalPrice:"当前订单价格",canUseMaxPoints:",可使用最高",points:"消费分"},congratulations:"恭喜",commission_earned:"获得佣金",social_value_earned:"获得身价",order_success:"下单成功",auto_checkin_success:"恭喜!自动签到成功!",daily_checkin_reward:"获得每日签到{point}点身价",level_upgraded:"您已升级等级为",follow_public_account:"关注公众号",long_press_qrcode_follow:"长按二维码关注公众号",wechat_friend:"微信好友",create_poster:"生成海报",copy_link:"复制链接"},vb={username:"请输入用户名",username_taken:"用户名已被使用!",usernameNotnull:"用户名不能为空",nickname:"请输入昵称",nicknameNotnull:"昵称不能为空",password:"请输入密码",passwordNotnull:"密码不能为空",confirm_password:"请确认密码",confirmPasswordNotnull:"确认密码不能为空",email:"请输入邮箱",emailNotnull:"邮箱不能为空",phone:"请输入手机号",phoneNotnull:"手机号不能为空",avatar:"请上传头像",avatarNotnull:"头像不能为空",sex:"请选择性别",sexNotnull:"性别不能为空",password_error:"两次密码不一致",click_change_password:"点击修改密码",bind_phone:"请绑定手机号",unbind_warning:"解绑后您将无法通过微信登录此账号",modify_success:"修改成功,请重新登录",enter_username:"请输入用户名",username_required:"用户名不能为空",enter_phone:"请输入手机号",enter_password:"请输入密码",password_requirements:"需包含字母和数字,长度在6-12之间",enter_verification_code:"请输入验证码",enter_name:"请输入姓名",enter_chinese_characters:"请输入汉字",enter_invoice_title:"请输入发票抬头名称",enter_tax_number:"请输入税号",enter_bank:"请输入开户行",enter_bank_card_number:"请输入银行卡号",correct_bank_card_number:"请输入正确的银行卡号",enter_alipay_account:"请输入支付宝账号",correct_account_number:"请输入正确账号",enter_email:"请输入邮箱",correct_email:"请输入正确邮箱账号"},yb={"lang.en":"EngLish","lang.zh-hans":"简体中文",settings:"设置",agreement:"用户隐私协议",user_management:"用户管理",role_management:"角色管理",menu_management:"菜单管理",post_management:"岗位管理",org_management:"组织管理",add_user:"新增用户",about:"关于","title.home":"首页","title.userinfo":"用户信息","title.settings":"用户设置","title.usercenter":"用户中心","title.product_category":"商品分类","title.cart":"购物车","title.search":"搜索","title.product_details":"商品详情","title.group_buying":"拼团商品","title.flash_sale":"秒杀商品","title.product_list":"商品列表","title.rate_product":"评价商品","title.product_reviews":"商品评价","title.order_details":"订单详情","title.confirm_order":"确认订单","title.my_orders":"我的订单","title.apply_service":"申请售后","title.return_logistics":"退货物流","title.after_sales_list":"售后列表","title.after_sales_details":"售后详情","title.after_sales_progress":"售后进度","title.logistics_tracking":"物流轨迹","title.share":"分享","title.my_favorites":"我的收藏","title.my_footprints":"我的足迹","title.physical_address":"实体商品收货地址","title.virtual_address":"虚拟商品收货地址","title.edit_invoice":"发票抬头编辑","title.manage_invoice":"发票抬头管理","title.edit_address":"编辑地址","title.my_balance":"我的余额","title.wallet":"钱包","title.points_source":"消费分来源","title.points_recharge":"消费分充值","title.points_transfer":"消费分转账","title.commission_to_points":"佣金转消费分","title.withdraw":"提现","title.withdraw_records":"提现记录","title.commission_exchange":"佣金兑换","title.team":"团队","title.distribution":"分销","title.my_commission":"我的佣金","title.promote_products":"推广商品","title.distribution_orders":"分销订单","title.my_team":"我的团队","title.promoter_ranking":"推广人排行榜","title.commission_ranking":"佣金排行榜","title.apply_withdraw":"申请提现","title.check_in_center":"签到中心","title.shop_home":"店铺","title.system_settings":"系统设置","title.rich_text":"富文本","title.faq":"常见问题","title.error_page":"错误页面","title.coupon_center":"领券中心","title.coupons":"优惠券","title.customer_service":"客服","title.checkout":"收银台","title.fuiou_result":"富友支付结果","title.payment_result":"支付结果","title.recharge_balance":"充值余额","title.recharge_records":"充值记录","title.group_details":"拼团详情","title.my_groups":"我的拼团","title.marketing_products":"营销商品","title.group_activities":"拼团活动","title.seckill_activities":"秒杀活动","title.bargain_list":"砍价列表","title.bargain_details":"砍价详情",common:eb,account:tb,review:nb,confirm:rb,address:ob,selectSku:ib,cashier:ab,share:sb,merchant:lb,useGoods:cb,menu:ub,user:db,wallet:pb,team:fb,sign:hb,order:mb,setting:gb,pop:_b,rules:vb},bb=Object.freeze(Object.defineProperty({__proto__:null,about:"关于",account:tb,add_user:"新增用户",address:ob,agreement:"用户隐私协议",cashier:ab,common:eb,confirm:rb,default:yb,menu:ub,menu_management:"菜单管理",merchant:lb,order:mb,org_management:"组织管理",pop:_b,post_management:"岗位管理",review:nb,role_management:"角色管理",rules:vb,selectSku:ib,setting:gb,settings:"设置",share:sb,sign:hb,team:fb,useGoods:cb,user:db,user_management:"用户管理",wallet:pb},Symbol.toStringTag,{value:"Module"})),wb={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:2e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Od;const xb=Object.assign({"./locale/en.json":Qy,"./locale/zh-Hans.json":bb}),Tb=Object.assign;window.__uniConfig=Tb({easycom:{autoscan:!0,custom:{"^s-(.*)":"@/sheep/components/s-$1/s-$1.vue","^su-(.*)":"@/sheep/ui/su-$1/su-$1.vue"}},globalStyle:{backgroundColor:"#FFFFFF",navigationBar:{backgroundColor:"#FFFFFF",titleText:"常来此购",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#999",selectedColor:"#007aff",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index"},{pagePath:"pages/index/cart"},{pagePath:"pages/index/user"}],selectedIndex:0,shown:!0},condition:{current:0,list:[{name:"",path:"",query:""}]},usingComponents:{richtext:"@/pages/public/richtext"},compilerVersion:"4.29"},{appId:"__UNI__7806143",appName:"常来此购",appVersion:"1.8.3",appVersionCode:183,async:wb,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{}},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"en",locales:Object.keys(xb).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Tb(e[n]||(e[n]={}),xb[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Sb={delay:wb.delay,timeout:wb.timeout,suspensible:wb.suspensible};wb.loading&&(Sb.loadingComponent={name:"SystemAsyncLoading",render:()=>ci(Xn(wb.loading))}),wb.error&&(Sb.errorComponent={name:"SystemAsyncError",render:()=>ci(Xn(wb.error))});const kb=()=>My((()=>import("./pages-index-FirstIndex.C1iO_qSH.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url).then((e=>Yg(e.default||e))),Cb=kr(Tb({loader:kb},Sb)),Eb=()=>My((()=>import("./pages-index-FirstActivity.BZTkArDE.js")),__vite__mapDeps([16,5,3,6,17,18,19,20,21,7,22]),import.meta.url).then((e=>Yg(e.default||e))),Pb=kr(Tb({loader:Eb},Sb)),Ob=()=>My((()=>import("./pages-index-FirstMerchant.CD4CXeRO.js")),__vite__mapDeps([23,5,3,6,17,18,19,20,21,7,22]),import.meta.url).then((e=>Yg(e.default||e))),Lb=kr(Tb({loader:Ob},Sb)),Ab=()=>My((()=>import("./pages-index-FirstVideo.DCnRxOPf.js")),__vite__mapDeps([24,5,3,6,17,18,19,20,21,7,22]),import.meta.url).then((e=>Yg(e.default||e))),Mb=kr(Tb({loader:Ab},Sb)),$b=()=>My((()=>import("./pages-index-FirstList.U6qDIDDt.js")),__vite__mapDeps([17,18,3,19,20,21,5,6,7,22]),import.meta.url).then((e=>Yg(e.default||e))),Ib=kr(Tb({loader:$b},Sb)),Rb=()=>My((()=>import("./pages-index-index.4rdo2yFB.js")),__vite__mapDeps([25,26,27,28,10,11,3,12,13,5,6,29,30,31,32,33,34,35,36,1,2,4,37,38,20,21,39,40,19,41,42,43,8,9,44,15,45]),import.meta.url).then((e=>Yg(e.default||e))),jb=kr(Tb({loader:Rb},Sb)),Db=()=>My((()=>import("./pages-index-user.NSOLMewZ.js")),__vite__mapDeps([46,26,27,28,10,11,3,12,13,5,6,29,30,31,32,33,34,35,36,1,2,4,37,38,20,21,39,40,19,41,42,43,8,9,44,15,45]),import.meta.url).then((e=>Yg(e.default||e))),Nb=kr(Tb({loader:Db},Sb)),Bb=()=>My((()=>import("./pages-index-category.BbDdVqCr.js")),__vite__mapDeps([47,20,3,21,27,28,10,11,12,13,5,6,29,30,48,37,38,39,40,19,41,49,50]),import.meta.url).then((e=>Yg(e.default||e))),Fb=kr(Tb({loader:Bb},Sb)),Wb=()=>My((()=>import("./pages-index-cart.B_zNm9Et.js")),__vite__mapDeps([51,18,3,19,52,53,54,38,29,40,27,28,10,11,12,13,5,6,30,55]),import.meta.url).then((e=>Yg(e.default||e))),Vb=kr(Tb({loader:Wb},Sb)),qb=()=>My((()=>import("./pages-index-login.BrdG1UYb.js")),__vite__mapDeps([56,11,3,12,30,57]),import.meta.url).then((e=>Yg(e.default||e))),zb=kr(Tb({loader:qb},Sb)),Ub=()=>My((()=>import("./pages-index-search.C2kXVMh1.js")),__vite__mapDeps([58,10,11,3,12,13,27,28,5,6,29,30,59]),import.meta.url).then((e=>Yg(e.default||e))),Hb=kr(Tb({loader:Ub},Sb)),Yb=()=>My((()=>import("./pages-index-page.Cy6f018o.js")),__vite__mapDeps([60,26,27,28,10,11,3,12,13,5,6,29,30,31,32,33,34,35,36,1,2,4,37,38,20,21,39,40,19,41,42,43,8,9,44,15,45]),import.meta.url).then((e=>Yg(e.default||e))),Gb=kr(Tb({loader:Yb},Sb)),Xb=()=>My((()=>import("./pages-goods-index.Bmp2KDSG.js")),__vite__mapDeps([61,18,3,19,2,4,52,53,11,12,38,29,27,28,10,13,5,6,30,62,63,64,65,35,36,66,43,8,9,67,68]),import.meta.url).then((e=>Yg(e.default||e))),Jb=kr(Tb({loader:Xb},Sb)),Zb=()=>My((()=>import("./pages-goods-groupon.DSaBtCXC.js")),__vite__mapDeps([69,18,3,19,2,4,70,52,53,11,12,29,71,27,28,10,13,5,6,30,62,63,64,65,35,36,66,43,8,9,67,72]),import.meta.url).then((e=>Yg(e.default||e))),Kb=kr(Tb({loader:Zb},Sb)),Qb=()=>My((()=>import("./pages-goods-seckill.DTRvk_v-.js")),__vite__mapDeps([73,18,3,19,2,4,52,53,11,12,29,27,28,10,13,5,6,30,62,63,64,65,35,36,66,43,8,9,67,42,74]),import.meta.url).then((e=>Yg(e.default||e))),ew=kr(Tb({loader:Qb},Sb)),tw=()=>My((()=>import("./pages-goods-list.Byha_lMN.js")),__vite__mapDeps([75,76,32,3,33,77,78,79,11,12,37,38,29,10,13,20,21,5,6,39,40,19,41,18,27,28,30,80]),import.meta.url).then((e=>Yg(e.default||e))),nw=kr(Tb({loader:tw},Sb)),rw=()=>My((()=>import("./pages-goods-comment-add.mhrRDiZk.js")),__vite__mapDeps([81,54,38,29,3,40,64,11,12,65,30,82,83,27,28,10,13,5,6,84]),import.meta.url).then((e=>Yg(e.default||e))),ow=kr(Tb({loader:rw},Sb)),iw=()=>My((()=>import("./pages-goods-comment-list.j3ZnEZP4.js")),__vite__mapDeps([85,76,32,3,33,77,18,19,20,21,27,28,10,11,12,13,5,6,29,30,63,64,65,35,36,66,86]),import.meta.url).then((e=>Yg(e.default||e))),aw=kr(Tb({loader:iw},Sb)),sw=()=>My((()=>import("./pages-order-detail.CzjKsPXs.js")),__vite__mapDeps([87,54,38,29,3,40,27,28,10,11,12,13,5,6,30,88]),import.meta.url).then((e=>Yg(e.default||e))),lw=kr(Tb({loader:sw},Sb)),cw=()=>My((()=>import("./pages-order-confirm.DoyBL5uB.js")),__vite__mapDeps([89,90,3,91,54,38,29,40,30,11,12,27,28,10,13,5,6,92]),import.meta.url).then((e=>Yg(e.default||e))),uw=kr(Tb({loader:cw},Sb)),dw=()=>My((()=>import("./pages-order-list.9htWFO2w.js")),__vite__mapDeps([93,76,32,3,33,77,78,79,18,19,54,38,29,40,20,21,27,28,10,11,12,13,5,6,30,94]),import.meta.url).then((e=>Yg(e.default||e))),pw=kr(Tb({loader:dw},Sb)),fw=()=>My((()=>import("./pages-order-aftersale-apply.D4WnHT8V.js")),__vite__mapDeps([95,54,38,29,3,40,30,11,12,82,83,27,28,10,13,5,6,96]),import.meta.url).then((e=>Yg(e.default||e))),hw=kr(Tb({loader:fw},Sb)),mw=()=>My((()=>import("./pages-order-aftersale-return-delivery.B2zv68n5.js")),__vite__mapDeps([97,27,28,10,11,3,12,13,5,6,29,30,98]),import.meta.url).then((e=>Yg(e.default||e))),gw=kr(Tb({loader:mw},Sb)),_w=()=>My((()=>import("./pages-order-aftersale-list.DWMvL_IM.js")),__vite__mapDeps([99,76,32,3,33,77,78,79,18,19,54,38,29,40,20,21,27,28,10,11,12,13,5,6,30,100]),import.meta.url).then((e=>Yg(e.default||e))),vw=kr(Tb({loader:_w},Sb)),yw=()=>My((()=>import("./pages-order-aftersale-detail.DvACvjQE.js")),__vite__mapDeps([101,54,38,29,3,40,18,19,27,28,10,11,12,13,5,6,30,102]),import.meta.url).then((e=>Yg(e.default||e))),bw=kr(Tb({loader:yw},Sb)),ww=()=>My((()=>import("./pages-order-aftersale-log.Dhc7JMX3.js")),__vite__mapDeps([103,27,28,10,11,3,12,13,5,6,29,30,104]),import.meta.url).then((e=>Yg(e.default||e))),xw=kr(Tb({loader:ww},Sb)),Tw=()=>My((()=>import("./pages-order-express-log.D_DD5CCv.js")),__vite__mapDeps([105,3,27,28,10,11,12,13,5,6,29,30,106]),import.meta.url).then((e=>Yg(e.default||e))),Sw=kr(Tb({loader:Tw},Sb)),kw=()=>My((()=>import("./pages-order-otherlist.DlW5n3dj.js")),__vite__mapDeps([107,76,32,3,33,77,78,79,18,19,54,38,29,40,20,21,27,28,10,11,12,13,5,6,30,108]),import.meta.url).then((e=>Yg(e.default||e))),Cw=kr(Tb({loader:kw},Sb)),Ew=()=>My((()=>import("./pages-user-info.VZxIWxBH.js")),__vite__mapDeps([109,35,3,36,30,11,12,27,28,10,13,5,6,29,110]),import.meta.url).then((e=>Yg(e.default||e))),Pw=kr(Tb({loader:Ew},Sb)),Ow=()=>My((()=>import("./pages-user-setting.B45TEHqj.js")),__vite__mapDeps([111,3,31,11,12,32,33,34,35,36,30,27,28,10,13,5,6,29,112]),import.meta.url).then((e=>Yg(e.default||e))),Lw=kr(Tb({loader:Ow},Sb)),Aw=()=>My((()=>import("./pages-user-qrcode-share.BOg5RMy6.js")),__vite__mapDeps([113,27,28,10,11,3,12,13,5,6,29,30,114]),import.meta.url).then((e=>Yg(e.default||e))),Mw=kr(Tb({loader:Aw},Sb)),$w=()=>My((()=>import("./pages-user-goods-collect.CbwDA1jT.js")),__vite__mapDeps([115,54,38,29,3,40,27,28,10,11,12,13,5,6,30,20,21,18,19,41]),import.meta.url).then((e=>Yg(e.default||e))),Iw=kr(Tb({loader:$w},Sb)),Rw=()=>My((()=>import("./pages-user-goods-log.CZSQo5g-.js")),__vite__mapDeps([116,54,38,29,3,40,27,28,10,11,12,13,5,6,30,20,21,18,19,117]),import.meta.url).then((e=>Yg(e.default||e))),jw=kr(Tb({loader:Rw},Sb)),Dw=()=>My((()=>import("./pages-user-address-list.3OEbbEYu.js")),__vite__mapDeps([118,90,3,91,27,28,10,11,12,13,5,6,29,30,18,19,119]),import.meta.url).then((e=>Yg(e.default||e))),Nw=kr(Tb({loader:Dw},Sb)),Bw=()=>My((()=>import("./pages-user-dummyAddress-list.CfZyR_fg.js")),__vite__mapDeps([120,90,3,91,27,28,10,11,12,13,5,6,29,30,18,19,121]),import.meta.url).then((e=>Yg(e.default||e))),Fw=kr(Tb({loader:Bw},Sb)),Ww=()=>My((()=>import("./pages-user-invoice-edit.BaH8vGy7.js")),__vite__mapDeps([122,30,11,3,12,27,28,10,13,5,6,29,123]),import.meta.url).then((e=>Yg(e.default||e))),Vw=kr(Tb({loader:Ww},Sb)),qw=()=>My((()=>import("./pages-user-invoice-list.cRdCpue1.js")),__vite__mapDeps([124,90,3,91,27,28,10,11,12,13,5,6,29,30,18,19,125]),import.meta.url).then((e=>Yg(e.default||e))),zw=kr(Tb({loader:qw},Sb)),Uw=()=>My((()=>import("./pages-user-address-edit.BrQOwdrv.js")),__vite__mapDeps([126,30,11,3,12,127,128,27,28,10,13,5,6,29,129]),import.meta.url).then((e=>Yg(e.default||e))),Hw=kr(Tb({loader:Uw},Sb)),Yw=()=>My((()=>import("./pages-user-dummyAddress-edit.CPMEz6Fq.js")),__vite__mapDeps([130,30,11,3,12,127,128,27,28,10,13,5,6,29,131]),import.meta.url).then((e=>Yg(e.default||e))),Gw=kr(Tb({loader:Yw},Sb)),Xw=()=>My((()=>import("./pages-user-wallet-money.QEbOgsxP.js")),__vite__mapDeps([132,133,11,3,12,134,76,32,33,77,78,79,18,19,20,21,27,28,10,13,5,6,29,30,135]),import.meta.url).then((e=>Yg(e.default||e))),Jw=kr(Tb({loader:Xw},Sb)),Zw=()=>My((()=>import("./pages-user-wallet-score.CvpZxWzT.js")),__vite__mapDeps([136,31,11,3,12,32,33,34,27,28,10,13,5,6,29,30,20,21,44,43,8,9,15,137,19,138]),import.meta.url).then((e=>Yg(e.default||e))),Kw=kr(Tb({loader:Zw},Sb)),Qw=()=>My((()=>import("./pages-user-wallet-consumptionLog.BCTt0cC2.js")),__vite__mapDeps([139,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,140]),import.meta.url).then((e=>Yg(e.default||e))),ex=kr(Tb({loader:Qw},Sb)),tx=()=>My((()=>import("./pages-user-wallet-topupConsumptionPoints.YpXDWX6S.js")),__vite__mapDeps([141,30,11,3,12,27,28,10,13,5,6,29,142,143]),import.meta.url).then((e=>Yg(e.default||e))),nx=kr(Tb({loader:tx},Sb)),rx=()=>My((()=>import("./pages-user-wallet-consumptionTransfersLog.BFivK2Yp.js")),__vite__mapDeps([144,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,145]),import.meta.url).then((e=>Yg(e.default||e))),ox=kr(Tb({loader:rx},Sb)),ix=()=>My((()=>import("./pages-user-wallet-consumptionTransfers.dTnnq3Ft.js")),__vite__mapDeps([146,30,11,3,12,27,28,10,13,5,6,29,147]),import.meta.url).then((e=>Yg(e.default||e))),ax=kr(Tb({loader:ix},Sb)),sx=()=>My((()=>import("./pages-user-wallet-scoreToConsumption.DO0qJ2Hv.js")),__vite__mapDeps([148,30,11,3,12,27,28,10,13,5,6,29,149]),import.meta.url).then((e=>Yg(e.default||e))),lx=kr(Tb({loader:sx},Sb)),cx=()=>My((()=>import("./pages-user-wallet-withdraw.DO-NyAoC.js")),__vite__mapDeps([150,30,11,3,12,27,28,10,13,5,6,29,142,151]),import.meta.url).then((e=>Yg(e.default||e))),ux=kr(Tb({loader:cx},Sb)),dx=()=>My((()=>import("./pages-user-wallet-withdrawalLog.Cy57i-0X.js")),__vite__mapDeps([152,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,153]),import.meta.url).then((e=>Yg(e.default||e))),px=kr(Tb({loader:dx},Sb)),fx=()=>My((()=>import("./pages-user-wallet-scoreToMoney.R2Pyx90q.js")),__vite__mapDeps([154,27,28,10,11,3,12,13,5,6,29,30,155]),import.meta.url).then((e=>Yg(e.default||e))),hx=kr(Tb({loader:fx},Sb)),mx=()=>My((()=>import("./pages-user-wallet-ScoreLog.CkGU0F_2.js")),__vite__mapDeps([156,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,138]),import.meta.url).then((e=>Yg(e.default||e))),gx=kr(Tb({loader:mx},Sb)),_x=()=>My((()=>import("./pages-user-wallet-maxScoreLog.C9qHuYlk.js")),__vite__mapDeps([157,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,158]),import.meta.url).then((e=>Yg(e.default||e))),vx=kr(Tb({loader:_x},Sb)),yx=()=>My((()=>import("./pages-user-wallet-team.CQOva3ah.js")),__vite__mapDeps([159,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,160]),import.meta.url).then((e=>Yg(e.default||e))),bx=kr(Tb({loader:yx},Sb)),xx=()=>My((()=>import("./pages-commission-index.4ciSJaps.js")),__vite__mapDeps([161,27,28,10,11,3,12,13,5,6,29,30,20,21,162]),import.meta.url).then((e=>Yg(e.default||e))),Tx=kr(Tb({loader:xx},Sb)),Sx=()=>My((()=>import("./pages-commission-wallet.2yFz4TO7.js")),__vite__mapDeps([163,133,11,3,12,134,76,32,33,77,78,79,18,19,30,20,21,27,28,10,13,5,6,29,164]),import.meta.url).then((e=>Yg(e.default||e))),kx=kr(Tb({loader:Sx},Sb)),Cx=()=>My((()=>import("./pages-commission-goods.BXc-GclO.js")),__vite__mapDeps([165,54,38,29,3,40,18,19,20,21,27,28,10,11,12,13,5,6,30,166]),import.meta.url).then((e=>Yg(e.default||e))),Ex=kr(Tb({loader:Cx},Sb)),Px=()=>My((()=>import("./pages-commission-order.BFl8YPap.js")),__vite__mapDeps([167,76,32,3,33,77,78,79,18,19,20,21,27,28,10,11,12,13,5,6,29,30,168]),import.meta.url).then((e=>Yg(e.default||e))),Ox=kr(Tb({loader:Px},Sb)),Lx=()=>My((()=>import("./pages-commission-team.cbhpdctu.js")),__vite__mapDeps([169,27,28,10,11,3,12,13,5,6,29,30,170]),import.meta.url).then((e=>Yg(e.default||e))),Ax=kr(Tb({loader:Lx},Sb)),Mx=()=>My((()=>import("./pages-commission-promoter.CS-EC8js.js")),__vite__mapDeps([171,27,28,10,11,3,12,13,5,6,29,30,172]),import.meta.url).then((e=>Yg(e.default||e))),$x=kr(Tb({loader:Mx},Sb)),Ix=()=>My((()=>import("./pages-commission-commission-ranking.CVglqCGI.js")),__vite__mapDeps([173,27,28,10,11,3,12,13,5,6,29,30,174]),import.meta.url).then((e=>Yg(e.default||e))),Rx=kr(Tb({loader:Ix},Sb)),jx=()=>My((()=>import("./pages-commission-withdraw.BmPkcSUh.js")),__vite__mapDeps([175,30,11,3,12,82,83,27,28,10,13,5,6,29,176]),import.meta.url).then((e=>Yg(e.default||e))),Dx=kr(Tb({loader:jx},Sb)),Nx=()=>My((()=>import("./pages-app-sign.Cbh54D43.js")),__vite__mapDeps([177,18,3,19,11,12,27,28,10,13,5,6,29,30,178]),import.meta.url).then((e=>Yg(e.default||e))),Bx=kr(Tb({loader:Nx},Sb)),Fx=()=>My((()=>import("./pages-shop-index.3L2yk9zM.js")),__vite__mapDeps([179,28,10,11,3,12,13,26,27,5,6,29,30,31,32,33,34,35,36,1,2,4,37,38,20,21,39,40,19,41,42,43,8,9,44,15,45]),import.meta.url).then((e=>Yg(e.default||e))),Wx=kr(Tb({loader:Fx},Sb)),Vx=()=>My((()=>import("./pages-shop-category.BWxyKdcq.js")),__vite__mapDeps([180,28,10,11,3,12,13,20,21,5,6,48,37,38,29,39,40,19,41,49,181]),import.meta.url).then((e=>Yg(e.default||e))),qx=kr(Tb({loader:Vx},Sb)),zx=()=>My((()=>import("./pages-shop-allproduct.-rLA0jNo.js")),__vite__mapDeps([182,28,10,11,3,12,13,37,38,29,20,21,5,6,39,40,19,41,18,183,49]),import.meta.url).then((e=>Yg(e.default||e))),Ux=kr(Tb({loader:zx},Sb)),Hx=()=>My((()=>import("./pages-public-setting.WKhWUDH_.js")),__vite__mapDeps([184,31,11,3,12,32,33,34,27,28,10,13,5,6,29,30,185]),import.meta.url).then((e=>Yg(e.default||e))),Yx=kr(Tb({loader:Hx},Sb)),Gx=()=>My((()=>import("./pages-public-richtext.c9Yy8tNS.js")),__vite__mapDeps([44,43,8,3,9,27,28,10,11,12,13,5,6,29,30,15]),import.meta.url).then((e=>Yg(e.default||e))),Xx=kr(Tb({loader:Gx},Sb)),Jx=()=>My((()=>import("./pages-public-faq.CZCEDX-N.js")),__vite__mapDeps([186,187,11,3,12,188,18,19,27,28,10,13,5,6,29,30,189]),import.meta.url).then((e=>Yg(e.default||e))),Zx=kr(Tb({loader:Jx},Sb)),Kx=()=>My((()=>import("./pages-public-error.BcEuY75o.js")),__vite__mapDeps([190,18,3,19,191]),import.meta.url).then((e=>Yg(e.default||e))),Qx=kr(Tb({loader:Kx},Sb)),eT=()=>My((()=>import("./pages-public-webview.BZrBFHsK.js")),[],import.meta.url).then((e=>Yg(e.default||e))),tT=kr(Tb({loader:eT},Sb)),nT=()=>My((()=>import("./pages-public-merchant.ChDIgSSS.js")),__vite__mapDeps([192,30,11,3,12,82,83,20,21,27,28,10,13,5,6,29,193]),import.meta.url).then((e=>Yg(e.default||e))),rT=kr(Tb({loader:nT},Sb)),oT=()=>My((()=>import("./pages-public-merchantApplyList.Cgfj8uPf.js")),__vite__mapDeps([194,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,195]),import.meta.url).then((e=>Yg(e.default||e))),iT=kr(Tb({loader:oT},Sb)),aT=()=>My((()=>import("./pages-coupon-list.flPYU4KG.js")),__vite__mapDeps([196,76,32,3,33,77,78,79,18,19,29,20,21,27,28,10,11,12,13,5,6,30,197]),import.meta.url).then((e=>Yg(e.default||e))),sT=kr(Tb({loader:aT},Sb)),lT=()=>My((()=>import("./pages-coupon-detail.B5JWLU2f.js")),__vite__mapDeps([198,187,11,3,12,188,76,32,33,77,78,79,37,38,29,10,13,20,21,5,6,39,40,19,41,18,27,28,30,199]),import.meta.url).then((e=>Yg(e.default||e))),cT=kr(Tb({loader:lT},Sb)),uT=()=>My((()=>import("./pages-chat-index.X7b_hHiN.js")),__vite__mapDeps([200,35,3,36,30,11,12,27,28,10,13,5,6,29,82,83,20,21,201]),import.meta.url).then((e=>Yg(e.default||e))),dT=kr(Tb({loader:uT},Sb)),pT=()=>My((()=>import("./pages-chat-speechtotext.CFv97hkj.js")),__vite__mapDeps([202,27,28,10,11,3,12,13,5,6,29,30,203]),import.meta.url).then((e=>Yg(e.default||e))),fT=kr(Tb({loader:pT},Sb)),hT=()=>My((()=>import("./pages-pay-index.Z-MU9gbs.js")),__vite__mapDeps([204,30,11,3,12,27,28,10,13,5,6,29,142,205]),import.meta.url).then((e=>Yg(e.default||e))),mT=kr(Tb({loader:hT},Sb)),gT=()=>My((()=>import("./pages-pay-result.BKI3ecDx.js")),__vite__mapDeps([206,29,3,207]),import.meta.url).then((e=>Yg(e.default||e))),_T=kr(Tb({loader:gT},Sb)),vT=()=>My((()=>import("./pages-pay-resultYuan.CMjUMnF-.js")),__vite__mapDeps([208,27,28,10,11,3,12,13,5,6,29,30,209]),import.meta.url).then((e=>Yg(e.default||e))),yT=kr(Tb({loader:vT},Sb)),bT=()=>My((()=>import("./pages-pay-recharge.DkA9BM0g.js")),__vite__mapDeps([210,30,11,3,12,27,28,10,13,5,6,29,211]),import.meta.url).then((e=>Yg(e.default||e))),wT=kr(Tb({loader:bT},Sb)),xT=()=>My((()=>import("./pages-pay-recharge-log.BKfD5A9d.js")),__vite__mapDeps([212,18,3,19,20,21,27,28,10,11,12,13,5,6,29,30,213]),import.meta.url).then((e=>Yg(e.default||e))),TT=kr(Tb({loader:xT},Sb)),ST=()=>My((()=>import("./pages-activity-groupon-detail.DgqxT1dt.js")),__vite__mapDeps([214,54,38,29,3,40,70,52,53,11,12,71,18,19,27,28,10,13,5,6,30,215]),import.meta.url).then((e=>Yg(e.default||e))),kT=kr(Tb({loader:ST},Sb)),CT=()=>My((()=>import("./pages-activity-groupon-order.DKyUgTcr.js")),__vite__mapDeps([216,76,32,3,33,77,78,79,18,19,54,38,29,40,20,21,27,28,10,11,12,13,5,6,30,217]),import.meta.url).then((e=>Yg(e.default||e))),ET=kr(Tb({loader:CT},Sb)),PT=()=>My((()=>import("./pages-activity-index.CqG_JZc7.js")),__vite__mapDeps([218,78,3,79,37,38,29,10,11,12,13,20,21,5,6,39,40,19,41,27,28,30,219]),import.meta.url).then((e=>Yg(e.default||e))),OT=kr(Tb({loader:PT},Sb)),LT=()=>My((()=>import("./pages-activity-groupon-list.QpM-MrUa.js")),__vite__mapDeps([220,37,38,29,3,10,11,12,13,20,21,5,6,39,40,19,41,27,28,30,221]),import.meta.url).then((e=>Yg(e.default||e))),AT=kr(Tb({loader:LT},Sb)),MT=()=>My((()=>import("./pages-activity-seckill-list.BfJmKJ09.js")),__vite__mapDeps([222,3,37,38,29,10,11,12,13,20,21,5,6,39,40,19,41,27,28,30,42,223]),import.meta.url).then((e=>Yg(e.default||e))),$T=kr(Tb({loader:MT},Sb)),IT=()=>My((()=>import("./pages-activity-bargain-list.BeOj-646.js")),__vite__mapDeps([224,225,3,226,27,28,10,11,12,13,5,6,29,30,227]),import.meta.url).then((e=>Yg(e.default||e))),RT=kr(Tb({loader:IT},Sb)),jT=()=>My((()=>import("./pages-activity-bargain-detail.DeO2kiiw.js")),__vite__mapDeps([228,225,3,226,27,28,10,11,12,13,5,6,29,30,229]),import.meta.url).then((e=>Yg(e.default||e))),DT=kr(Tb({loader:jT},Sb));function NT(e,t){return Zo(),ni(Oy,null,{page:zn((()=>[ci(e,Tb({},t,{ref:"page"}),null,512)])),_:1})}function BT(e,t){return"string"==typeof e?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/FirstIndex",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Cb,t)}},loader:kb,meta:{isQuit:!0,isEntry:!0,enablePullDownRefresh:!0,navigationBar:{titleText:"常来此购商城",type:"default"},isNVue:!1}},{path:"/pages/index/FirstActivity",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Pb,t)}},loader:Eb,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"活动",type:"default"},isNVue:!1}},{path:"/pages/index/FirstMerchant",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Lb,t)}},loader:Ob,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"商家",type:"default"},isNVue:!1}},{path:"/pages/index/FirstVideo",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Mb,t)}},loader:Ab,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"视频",type:"default"},isNVue:!1}},{path:"/pages/index/FirstList",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Ib,t)}},loader:$b,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"列表",type:"default"},isNVue:!1}},{path:"/pages/index/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(jb,t)}},loader:Rb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{titleText:"常来此购商城",type:"default"},isNVue:!1}},{path:"/pages/index/user",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Nb,t)}},loader:Db,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,enablePullDownRefresh:!0,navigationBar:{titleText:"个人中心",type:"default"},isNVue:!1}},{path:"/pages/index/category",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Fb,t)}},loader:Bb,meta:{navigationBar:{titleText:"商品分类",type:"default"},isNVue:!1}},{path:"/pages/index/cart",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Vb,t)}},loader:Wb,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"购物车",type:"default"},isNVue:!1}},{path:"/pages/index/login",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(zb,t)}},loader:qb,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/index/search",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Hb,t)}},loader:Ub,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/index/page",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Gb,t)}},loader:Yb,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/goods/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Jb,t)}},loader:Xb,meta:{navigationBar:{titleText:"商品详情",type:"default"},isNVue:!1}},{path:"/pages/goods/groupon",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Kb,t)}},loader:Zb,meta:{navigationBar:{titleText:"拼团商品",type:"default"},isNVue:!1}},{path:"/pages/goods/seckill",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ew,t)}},loader:Qb,meta:{navigationBar:{titleText:"秒杀商品",type:"default"},isNVue:!1}},{path:"/pages/goods/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(nw,t)}},loader:tw,meta:{navigationBar:{titleText:"商品列表",type:"default"},isNVue:!1}},{path:"/pages/goods/comment/add",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ow,t)}},loader:rw,meta:{navigationBar:{titleText:"评价商品",type:"default"},isNVue:!1}},{path:"/pages/goods/comment/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(aw,t)}},loader:iw,meta:{navigationBar:{titleText:"商品评价",type:"default"},isNVue:!1}},{path:"/pages/order/detail",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(lw,t)}},loader:sw,meta:{navigationBar:{titleText:"订单详情",type:"default"},isNVue:!1}},{path:"/pages/order/confirm",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(uw,t)}},loader:cw,meta:{navigationBar:{titleText:"确认订单",type:"default"},isNVue:!1}},{path:"/pages/order/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(pw,t)}},loader:dw,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的订单",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/apply",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(hw,t)}},loader:fw,meta:{navigationBar:{titleText:"申请售后",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/return-delivery",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(gw,t)}},loader:mw,meta:{navigationBar:{titleText:"退货物流",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(vw,t)}},loader:_w,meta:{navigationBar:{titleText:"售后列表",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/detail",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(bw,t)}},loader:yw,meta:{navigationBar:{titleText:"售后详情",type:"default"},isNVue:!1}},{path:"/pages/order/aftersale/log",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(xw,t)}},loader:ww,meta:{navigationBar:{titleText:"售后进度",type:"default"},isNVue:!1}},{path:"/pages/order/express/log",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Sw,t)}},loader:Tw,meta:{navigationBar:{titleText:"物流轨迹",type:"default"},isNVue:!1}},{path:"/pages/order/otherlist",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Cw,t)}},loader:kw,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/user/info",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Pw,t)}},loader:Ew,meta:{navigationBar:{titleText:"用户信息",type:"default"},isNVue:!1}},{path:"/pages/user/setting",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Lw,t)}},loader:Ow,meta:{navigationBar:{titleText:"用户设置",type:"default"},isNVue:!1}},{path:"/pages/user/qrcode-share",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Mw,t)}},loader:Aw,meta:{navigationBar:{titleText:"我的二维码/分享页",type:"default"},isNVue:!1}},{path:"/pages/user/goods-collect",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Iw,t)}},loader:$w,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/user/goods-log",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(jw,t)}},loader:Rw,meta:{navigationBar:{titleText:"我的足迹",type:"default"},isNVue:!1}},{path:"/pages/user/address/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Nw,t)}},loader:Dw,meta:{navigationBar:{titleText:"实体商品收货地址",type:"default"},isNVue:!1}},{path:"/pages/user/dummyAddress/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Fw,t)}},loader:Bw,meta:{navigationBar:{titleText:"虚拟商品收货地址",type:"default"},isNVue:!1}},{path:"/pages/user/invoice/edit",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Vw,t)}},loader:Ww,meta:{navigationBar:{titleText:"发票抬头编辑",type:"default"},isNVue:!1}},{path:"/pages/user/invoice/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(zw,t)}},loader:qw,meta:{navigationBar:{titleText:"发票抬头管理",type:"default"},isNVue:!1}},{path:"/pages/user/address/edit",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Hw,t)}},loader:Uw,meta:{navigationBar:{titleText:"编辑地址",type:"default"},isNVue:!1}},{path:"/pages/user/dummyAddress/edit",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Gw,t)}},loader:Yw,meta:{navigationBar:{titleText:"编辑地址",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/money",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Jw,t)}},loader:Xw,meta:{navigationBar:{titleText:"我的余额",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/score",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Kw,t)}},loader:Zw,meta:{navigationBar:{titleText:"钱包",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/consumptionLog",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ex,t)}},loader:Qw,meta:{navigationBar:{titleText:"消费分来源",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/topupConsumptionPoints",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(nx,t)}},loader:tx,meta:{navigationBar:{titleText:"消费分充值",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/consumptionTransfersLog",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ox,t)}},loader:rx,meta:{navigationBar:{titleText:"消费分转账",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/consumptionTransfers",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ax,t)}},loader:ix,meta:{navigationBar:{titleText:"消费分转让",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/scoreToConsumption",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(lx,t)}},loader:sx,meta:{navigationBar:{titleText:"佣金转消费分",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/withdraw",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ux,t)}},loader:cx,meta:{navigationBar:{titleText:"提现",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/withdrawalLog",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(px,t)}},loader:dx,meta:{navigationBar:{titleText:"提现记录",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/scoreToMoney",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(hx,t)}},loader:fx,meta:{navigationBar:{titleText:"佣金兑换",type:"default"},isNVue:!1}},{path:"/pages/user/wallet/ScoreLog",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(gx,t)}},loader:mx,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/user/wallet/maxScoreLog",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(vx,t)}},loader:_x,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/user/wallet/team",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(bx,t)}},loader:yx,meta:{navigationBar:{titleText:"团队",type:"default"},isNVue:!1}},{path:"/pages/commission/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Tx,t)}},loader:xx,meta:{navigationBar:{titleText:"分销",type:"default"},isNVue:!1}},{path:"/pages/commission/wallet",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(kx,t)}},loader:Sx,meta:{navigationBar:{titleText:"我的佣金",type:"default"},isNVue:!1}},{path:"/pages/commission/goods",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Ex,t)}},loader:Cx,meta:{navigationBar:{titleText:"推广商品",type:"default"},isNVue:!1}},{path:"/pages/commission/order",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Ox,t)}},loader:Px,meta:{navigationBar:{titleText:"分销订单",type:"default"},isNVue:!1}},{path:"/pages/commission/team",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Ax,t)}},loader:Lx,meta:{navigationBar:{titleText:"我的团队",type:"default"},isNVue:!1}},{path:"/pages/commission/promoter",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT($x,t)}},loader:Mx,meta:{navigationBar:{titleText:"推广人排行榜",type:"default"},isNVue:!1}},{path:"/pages/commission/commission-ranking",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Rx,t)}},loader:Ix,meta:{navigationBar:{titleText:"佣金排行榜",type:"default"},isNVue:!1}},{path:"/pages/commission/withdraw",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Dx,t)}},loader:jx,meta:{navigationBar:{titleText:"申请提现",type:"default"},isNVue:!1}},{path:"/pages/app/sign",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Bx,t)}},loader:Nx,meta:{navigationBar:{titleText:"签到中心",type:"default"},isNVue:!1}},{path:"/pages/shop/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Wx,t)}},loader:Fx,meta:{navigationBar:{titleText:"店铺首页",type:"default"},isNVue:!1}},{path:"/pages/shop/category",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(qx,t)}},loader:Vx,meta:{navigationBar:{titleText:"店铺分类",type:"default"},isNVue:!1}},{path:"/pages/shop/allproduct",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Ux,t)}},loader:zx,meta:{navigationBar:{titleText:"所有商品",type:"default"},isNVue:!1}},{path:"/pages/public/setting",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Yx,t)}},loader:Hx,meta:{navigationBar:{titleText:"系统设置",type:"default"},isNVue:!1}},{path:"/pages/public/richtext",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Xx,t)}},loader:Gx,meta:{navigationBar:{titleText:"富文本",type:"default"},isNVue:!1}},{path:"/pages/public/faq",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Zx,t)}},loader:Jx,meta:{navigationBar:{titleText:"常见问题",type:"default"},isNVue:!1}},{path:"/pages/public/error",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(Qx,t)}},loader:Kx,meta:{navigationBar:{titleText:"错误页面",type:"default"},isNVue:!1}},{path:"/pages/public/webview",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(tT,t)}},loader:eT,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/public/merchant",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(rT,t)}},loader:nT,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/public/merchantApplyList",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(iT,t)}},loader:oT,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/coupon/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(sT,t)}},loader:aT,meta:{navigationBar:{titleText:"领券中心",type:"default"},isNVue:!1}},{path:"/pages/coupon/detail",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(cT,t)}},loader:lT,meta:{navigationBar:{titleText:"优惠券",type:"default"},isNVue:!1}},{path:"/pages/chat/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(dT,t)}},loader:uT,meta:{navigationBar:{titleText:"客服",type:"default"},isNVue:!1}},{path:"/pages/chat/speechtotext",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(fT,t)}},loader:pT,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"语音转文字",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(mT,t)}},loader:hT,meta:{navigationBar:{titleText:"收银台",type:"default"},isNVue:!1}},{path:"/pages/pay/result",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(_T,t)}},loader:gT,meta:{navigationBar:{titleText:"富友支付结果",type:"default"},isNVue:!1}},{path:"/pages/pay/resultYuan",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(yT,t)}},loader:vT,meta:{navigationBar:{titleText:"支付结果",type:"default"},isNVue:!1}},{path:"/pages/pay/recharge",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(wT,t)}},loader:bT,meta:{navigationBar:{titleText:"充值余额",type:"default"},isNVue:!1}},{path:"/pages/pay/recharge-log",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(TT,t)}},loader:xT,meta:{navigationBar:{titleText:"充值记录",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/detail",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(kT,t)}},loader:ST,meta:{navigationBar:{titleText:"拼团详情",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/order",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(ET,t)}},loader:CT,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"我的拼团",type:"default"},isNVue:!1}},{path:"/pages/activity/index",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(OT,t)}},loader:PT,meta:{navigationBar:{titleText:"营销商品",type:"default"},isNVue:!1}},{path:"/pages/activity/groupon/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(AT,t)}},loader:LT,meta:{navigationBar:{titleText:"拼团活动",type:"default"},isNVue:!1}},{path:"/pages/activity/seckill/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT($T,t)}},loader:MT,meta:{navigationBar:{titleText:"秒杀活动",type:"default"},isNVue:!1}},{path:"/pages/activity/bargain/list",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(RT,t)}},loader:IT,meta:{navigationBar:{titleText:"砍价列表",type:"default"},isNVue:!1}},{path:"/pages/activity/bargain/detail",component:{setup(){const e=qg(),t=e&&e.$route&&e.$route.query||{};return()=>NT(DT,t)}},loader:jT,meta:{navigationBar:{titleText:"砍价详情",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const FT=e=>(t,n=xi())=>{!Pi&&Fr(e,t,n)},WT=FT("onShow"),VT=FT("onHide"),qT=FT("onLaunch"),zT=FT("onError"),UT=FT("onLoad"),HT=FT("onReady"),YT=FT("onBackPress"),GT=FT("onPageScroll"),XT=FT("onReachBottom"),JT=FT("onPullDownRefresh");var ZT=Object.prototype.toString;function KT(e){return"[object Array]"===ZT.call(e)}function QT(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),KT(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function eS(){let e={};function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=eS(e[n],t):e[n]="object"==typeof t?eS({},t):t}for(let n=0,r=arguments.length;n<r;n++)QT(arguments[n],t);return e}function tS(e){return void 0===e}function nS(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rS(e,t,n){if(!t)return e;var r,o;if(n)r=n(t);else if(o=t,"undefined"!=typeof URLSearchParams&&o instanceof URLSearchParams)r=t.toString();else{var i=[];QT(t,(function(e,t){null!=e&&(KT(e)?t+="[]":e=[e],QT(e,(function(e){!function(e){return"[object Date]"===ZT.call(e)}(e)?function(e){return null!==e&&"object"==typeof e}(e)&&(e=JSON.stringify(e)):e=e.toISOString(),i.push(nS(t)+"="+nS(e))})))})),r=i.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const oS=(e,t)=>{let n={};return e.forEach((e=>{tS(t[e])||(n[e]=t[e])})),n},iS=e=>(e=>new Promise(((t,n)=>{let r=rS((o=e.baseURL,i=e.url,o&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(o,i):i),e.params,e.paramsSerializer);var o,i;const a={url:r,header:e.header,complete:o=>{e.fullPath=r,o.config=e,o.rawData=o.data;try{let t=!1;const n=typeof e.forcedJSONParsing;"boolean"===n?t=e.forcedJSONParsing:"object"===n&&(t=(e.forcedJSONParsing.include||[]).includes(e.method)),t&&"string"==typeof o.data&&(o.data=JSON.parse(o.data))}catch(jS){}!function(e,t,n){const r=n.config.validateStatus,o=n.statusCode;!o||r&&!r(o)?t(n):e(n)}(t,n,o)}};let s;if("UPLOAD"===e.method){delete a.header["content-type"],delete a.header["Content-Type"];let t={filePath:e.filePath,name:e.name};const n=["files","file","timeout","formData"];s=iv({...a,...t,...oS(n,e)})}else if("DOWNLOAD"===e.method){const t=["timeout"];s=rv({...a,...oS(t,e)})}else{const t=["data","method","timeout","dataType","responseType","withCredentials"];s=Q_({...a,...oS(t,e)})}e.getTask&&e.getTask(s,e)})))(e);function aS(){this.handlers=[]}aS.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},aS.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},aS.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const sS=(e,t,n)=>{let r={};return e.forEach((e=>{tS(n[e])?tS(t[e])||(r[e]=t[e]):r[e]=n[e]})),r},lS={baseURL:"",header:{},method:"GET",dataType:"json",paramsSerializer:null,responseType:"text",custom:{},timeout:6e4,withCredentials:!1,validateStatus:function(e){return e>=200&&e<300},forcedJSONParsing:!0};var cS=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{r=Promise}catch(s){r=function(){}}function o(i,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],p=[],f="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,h){if(null===l)return null;if(0===h)return l;var m,g;if("object"!=typeof l)return l;if(e(l,t))m=new t;else if(e(l,n))m=new n;else if(e(l,r))m=new r((function(e,t){l.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(o.__isArray(l))m=[];else if(o.__isRegExp(l))m=new RegExp(l.source,a(l)),l.lastIndex&&(m.lastIndex=l.lastIndex);else if(o.__isDate(l))m=new Date(l.getTime());else{if(f&&Buffer.isBuffer(l))return Buffer.from?m=Buffer.from(l):(m=new Buffer(l.length),l.copy(m)),m;e(l,Error)?m=Object.create(l):void 0===c?(g=Object.getPrototypeOf(l),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var _=d.indexOf(l);if(-1!=_)return p[_];d.push(l),p.push(m)}for(var v in e(l,t)&&l.forEach((function(e,t){var n=i(t,h-1),r=i(e,h-1);m.set(n,r)})),e(l,n)&&l.forEach((function(e){var t=i(e,h-1);m.add(t)})),l){Object.getOwnPropertyDescriptor(l,v)&&(m[v]=i(l[v],h-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,v).set)continue;m[v]=i(l[v],h-1)}catch(jS){if(jS instanceof TypeError)continue;if(jS instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(v=0;v<y.length;v++){var b=y[v];(!(x=Object.getOwnPropertyDescriptor(l,b))||x.enumerable||u)&&(m[b]=i(l[b],h-1),Object.defineProperty(m,b,x))}}if(u){var w=Object.getOwnPropertyNames(l);for(v=0;v<w.length;v++){var x,T=w[v];(x=Object.getOwnPropertyDescriptor(l,T))&&x.enumerable||(m[T]=i(l[T],h-1),Object.defineProperty(m,T,x))}}return m}(i,l)}function i(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=i,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},o.__getRegExpFlags=a,o}();let uS;uS="https://letcgo.com";const dS={getUsedDiyTemplate:()=>fO({url:"/promotion/diy-template/used",method:"GET",custom:{showError:!1,showLoading:!1}}),getDiyTemplate:e=>fO({url:"/promotion/diy-template/get",method:"GET",params:{id:e},custom:{showError:!1,showLoading:!1}}),getDiyPage:e=>fO({url:"/promotion/diy-page/get",method:"GET",params:{id:e}})},pS=Object.freeze(Object.defineProperty({__proto__:null,default:dS},Symbol.toStringTag,{value:"Module"}));
  25. /*!
  26. * pinia v2.1.7
  27. * (c) 2023 Eduardo San Martin Morote
  28. * @license MIT
  29. */
  30. let fS;const hS=e=>fS=e,mS=Symbol();function gS(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var _S,vS;(vS=_S||(_S={})).direct="direct",vS.patchObject="patch object",vS.patchFunction="patch function";const yS=()=>{};function bS(e,t,n,r=yS){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};var i;return!n&&Fe()&&(i=o,je&&je.cleanups.push(i)),o}function wS(e,...t){e.slice().forEach((e=>{e(...t)}))}const xS=e=>e();function TS(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];gS(o)&&gS(r)&&e.hasOwnProperty(n)&&!an(r)&&!Gt(r)?e[n]=TS(o,r):e[n]=r}return e}const SS=Symbol();const{assign:kS}=Object;function CS(e,t,n={},r,o,i){let a;const s=kS({actions:{}},n),l={deep:!0};let c,u,d,p=[],f=[];const h=r.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(r.state.value[e]),n={type:_S.patchFunction,storeId:e,events:d}):(TS(r.state.value[e],t),n={type:_S.patchObject,payload:t,storeId:e,events:d});const o=m=Symbol();On().then((()=>{m===o&&(c=!0)})),u=!0,wS(p,n,r.state.value[e])}i||h||(r.state.value[e]={}),sn({});const _=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{kS(e,t)}))}:yS;function v(t,n){return function(){hS(r);const o=Array.from(arguments),i=[],a=[];function s(e){i.push(e)}function l(e){a.push(e)}let c;wS(f,{args:o,name:t,store:y,after:s,onError:l});try{c=n.apply(this&&this.$id===e?this:y,o)}catch(u){throw wS(a,u),u}return c instanceof Promise?c.then((e=>(wS(i,e),e))).catch((e=>(wS(a,e),Promise.reject(e)))):(wS(i,c),c)}}const y=zt({_p:r,$id:e,$onAction:bS.bind(null,f),$patch:g,$reset:_,$subscribe(t,n={}){const o=bS(p,t,n.detached,(()=>i())),i=a.run((()=>ir((()=>r.state.value[e]),(r=>{("sync"===n.flush?u:c)&&t({storeId:e,type:_S.direct,events:d},r)}),kS({},l,n))));return o},$dispose:function(){a.stop(),p=[],f=[],r._s.delete(e)}});r._s.set(e,y);const b=(r._a&&r._a.runWithContext||xS)((()=>r._e.run((()=>(a=Be()).run(t)))));for(const T in b){const t=b[T];if(an(t)&&(!an(x=t)||!x.effect)||Gt(t))i||(!h||gS(w=t)&&w.hasOwnProperty(SS)||(an(t)?t.value=h[T]:TS(t,h[T])),r.state.value[e][T]=t);else if("function"==typeof t){const e=v(T,t);b[T]=e,s.actions[T]=t}}var w,x;return kS(y,b),kS(Kt(y),b),Object.defineProperty(y,"$state",{get:()=>r.state.value[e],set:e=>{g((t=>{kS(t,e)}))}}),r._p.forEach((e=>{kS(y,a.run((()=>e({store:y,app:r._a,pinia:r,options:s}))))})),h&&i&&n.hydrate&&n.hydrate(y.$state,h),c=!0,u=!0,y}function ES(e,t,n){let r,o;const i="function"==typeof t;function a(e,n){(e=e||(!!(wi||Wn||To)?ko(mS,null):null))&&hS(e),(e=fS)._s.has(r)||(i?CS(r,t,o,e):function(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let l;l=CS(e,(function(){s||(n.state.value[e]=o?o():{});const t=hn(n.state.value[e]);return kS(t,i,Object.keys(a||{}).reduce(((t,r)=>(t[r]=Qt($i((()=>{hS(n);const t=n._s.get(e);return a[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(r,o,e));return e._s.get(r)}return"string"==typeof e?(r=e,o=i?n:t):(o=e,r=e.id),a.$id=r,a}var PS="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function OS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var LS,AS,MS={exports:{}};
  31. /**
  32. * @license
  33. * Lodash <https://lodash.com/>
  34. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  35. * Released under MIT license <https://lodash.com/license>
  36. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  37. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  38. */LS=MS,AS=MS.exports,function(){var e,t="Expected a function",n="__lodash_hash_undefined__",r="__lodash_placeholder__",o=16,i=32,a=64,s=128,l=256,c=1/0,u=9007199254740991,d=NaN,p=4294967295,f=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",i],["partialRight",a],["rearg",l]],h="[object Arguments]",m="[object Array]",g="[object Boolean]",_="[object Date]",v="[object Error]",y="[object Function]",b="[object GeneratorFunction]",w="[object Map]",x="[object Number]",T="[object Object]",S="[object Promise]",k="[object RegExp]",C="[object Set]",E="[object String]",P="[object Symbol]",O="[object WeakMap]",L="[object ArrayBuffer]",A="[object DataView]",M="[object Float32Array]",$="[object Float64Array]",I="[object Int8Array]",R="[object Int16Array]",j="[object Int32Array]",D="[object Uint8Array]",N="[object Uint8ClampedArray]",B="[object Uint16Array]",F="[object Uint32Array]",W=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,H=RegExp(z.source),Y=RegExp(U.source),G=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ee=/[\\^$.*+?()[\]{}|]/g,te=RegExp(ee.source),ne=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ie=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ve=/($^)/,ye=/['\n\r\u2028\u2029\\]/g,be="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",xe="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="['’]",Ee="[\\ud800-\\udfff]",Pe="["+ke+"]",Oe="["+be+"]",Le="\\d+",Ae="[\\u2700-\\u27bf]",Me="["+xe+"]",$e="[^\\ud800-\\udfff"+ke+Le+we+xe+Te+"]",Ie="\\ud83c[\\udffb-\\udfff]",Re="[^\\ud800-\\udfff]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",Ne="["+Te+"]",Be="(?:"+Me+"|"+$e+")",Fe="(?:"+Ne+"|"+$e+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Oe+"|"+Ie+")?",ze="[\\ufe0e\\ufe0f]?",Ue=ze+qe+"(?:\\u200d(?:"+[Re,je,De].join("|")+")"+ze+qe+")*",He="(?:"+[Ae,je,De].join("|")+")"+Ue,Ye="(?:"+[Re+Oe+"?",Oe,je,De,Ee].join("|")+")",Ge=RegExp(Ce,"g"),Xe=RegExp(Oe,"g"),Je=RegExp(Ie+"(?="+Ie+")|"+Ye+Ue,"g"),Ze=RegExp([Ne+"?"+Me+"+"+We+"(?="+[Pe,Ne,"$"].join("|")+")",Fe+"+"+Ve+"(?="+[Pe,Ne+Be,"$"].join("|")+")",Ne+"?"+Be+"+"+We,Ne+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,He].join("|"),"g"),Ke=RegExp("[\\u200d\\ud800-\\udfff"+be+Se+"]"),Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tt=-1,nt={};nt[M]=nt[$]=nt[I]=nt[R]=nt[j]=nt[D]=nt[N]=nt[B]=nt[F]=!0,nt[h]=nt[m]=nt[L]=nt[g]=nt[A]=nt[_]=nt[v]=nt[y]=nt[w]=nt[x]=nt[T]=nt[k]=nt[C]=nt[E]=nt[O]=!1;var rt={};rt[h]=rt[m]=rt[L]=rt[A]=rt[g]=rt[_]=rt[M]=rt[$]=rt[I]=rt[R]=rt[j]=rt[w]=rt[x]=rt[T]=rt[k]=rt[C]=rt[E]=rt[P]=rt[D]=rt[N]=rt[B]=rt[F]=!0,rt[v]=rt[y]=rt[O]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},it=parseFloat,at=parseInt,st="object"==typeof PS&&PS&&PS.Object===Object&&PS,lt="object"==typeof self&&self&&self.Object===Object&&self,ct=st||lt||Function("return this")(),ut=AS&&!AS.nodeType&&AS,dt=ut&&LS&&!LS.nodeType&&LS,pt=dt&&dt.exports===ut,ft=pt&&st.process,ht=function(){try{var e=dt&&dt.require&&dt.require("util").types;return e||ft&&ft.binding&&ft.binding("util")}catch(jS){}}(),mt=ht&&ht.isArrayBuffer,gt=ht&&ht.isDate,_t=ht&&ht.isMap,vt=ht&&ht.isRegExp,yt=ht&&ht.isSet,bt=ht&&ht.isTypedArray;function wt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function xt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ct(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Et(e,t){return!(null==e||!e.length)&&Dt(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Lt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function At(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Mt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function $t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var It=Wt("length");function Rt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function jt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Dt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):jt(e,Bt,n)}function Nt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Bt(e){return e!=e}function Ft(e,t){var n=null==e?0:e.length;return n?zt(e,t)/n:d}function Wt(t){return function(n){return null==n?e:n[t]}}function Vt(t){return function(n){return null==t?e:t[n]}}function qt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function zt(t,n){for(var r,o=-1,i=t.length;++o<i;){var a=n(t[o]);a!==e&&(r=r===e?a:r+a)}return r}function Ut(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ht(e){return e?e.slice(0,un(e)+1).replace(ne,""):e}function Yt(e){return function(t){return e(t)}}function Gt(e,t){return Ot(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Jt(e,t){for(var n=-1,r=e.length;++n<r&&Dt(t,e[n],0)>-1;);return n}function Zt(e,t){for(var n=e.length;n--&&Dt(t,e[n],0)>-1;);return n}function Kt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Qt=Vt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),en=Vt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tn(e){return"\\"+ot[e]}function nn(e){return Ke.test(e)}function rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function on(e,t){return function(n){return e(t(n))}}function an(e,t){for(var n=-1,o=e.length,i=0,a=[];++n<o;){var s=e[n];s!==t&&s!==r||(e[n]=r,a[i++]=n)}return a}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function ln(e){return nn(e)?function(e){for(var t=Je.lastIndex=0;Je.test(e);)++t;return t}(e):It(e)}function cn(e){return nn(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.split("")}(e)}function un(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var dn=Vt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),pn=function re(be){var we,xe=(be=null==be?ct:pn.defaults(ct.Object(),be,pn.pick(ct,et))).Array,Te=be.Date,Se=be.Error,ke=be.Function,Ce=be.Math,Ee=be.Object,Pe=be.RegExp,Oe=be.String,Le=be.TypeError,Ae=xe.prototype,Me=ke.prototype,$e=Ee.prototype,Ie=be["__core-js_shared__"],Re=Me.toString,je=$e.hasOwnProperty,De=0,Ne=(we=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+we:"",Be=$e.toString,Fe=Re.call(Ee),We=ct._,Ve=Pe("^"+Re.call(je).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=pt?be.Buffer:e,ze=be.Symbol,Ue=be.Uint8Array,He=qe?qe.allocUnsafe:e,Ye=on(Ee.getPrototypeOf,Ee),Je=Ee.create,Ke=$e.propertyIsEnumerable,ot=Ae.splice,st=ze?ze.isConcatSpreadable:e,lt=ze?ze.iterator:e,ut=ze?ze.toStringTag:e,dt=function(){try{var e=fi(Ee,"defineProperty");return e({},"",{}),e}catch(jS){}}(),ft=be.clearTimeout!==ct.clearTimeout&&be.clearTimeout,ht=Te&&Te.now!==ct.Date.now&&Te.now,It=be.setTimeout!==ct.setTimeout&&be.setTimeout,Vt=Ce.ceil,fn=Ce.floor,hn=Ee.getOwnPropertySymbols,mn=qe?qe.isBuffer:e,gn=be.isFinite,_n=Ae.join,vn=on(Ee.keys,Ee),yn=Ce.max,bn=Ce.min,wn=Te.now,xn=be.parseInt,Tn=Ce.random,Sn=Ae.reverse,kn=fi(be,"DataView"),Cn=fi(be,"Map"),En=fi(be,"Promise"),Pn=fi(be,"Set"),On=fi(be,"WeakMap"),Ln=fi(Ee,"create"),An=On&&new On,Mn={},$n=qi(kn),In=qi(Cn),Rn=qi(En),jn=qi(Pn),Dn=qi(On),Nn=ze?ze.prototype:e,Bn=Nn?Nn.valueOf:e,Fn=Nn?Nn.toString:e;function Wn(e){if(as(e)&&!Xa(e)&&!(e instanceof Un)){if(e instanceof zn)return e;if(je.call(e,"__wrapped__"))return zi(e)}return new zn(e)}var Vn=function(){function t(){}return function(n){if(!is(n))return{};if(Je)return Je(n);t.prototype=n;var r=new t;return t.prototype=e,r}}();function qn(){}function zn(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function Jn(e){var t=this.__data__=new Yn(e);this.size=t.size}function Zn(e,t){var n=Xa(e),r=!n&&Ga(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&hs(e),a=n||r||o||i,s=a?Ut(e.length,Oe):[],l=s.length;for(var c in e)!t&&!je.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bi(c,l))||s.push(c);return s}function Kn(t){var n=t.length;return n?t[Xr(0,n-1)]:e}function Qn(e,t){return Di(Ao(e),lr(t,0,e.length))}function er(e){return Di(Ao(e))}function tr(t,n,r){(r!==e&&!Ua(t[n],r)||r===e&&!(n in t))&&ar(t,n,r)}function nr(t,n,r){var o=t[n];je.call(t,n)&&Ua(o,r)&&(r!==e||n in t)||ar(t,n,r)}function rr(e,t){for(var n=e.length;n--;)if(Ua(e[n][0],t))return n;return-1}function or(e,t,n,r){return fr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&Mo(t,js(t),e)}function ar(e,t,n){"__proto__"==t&&dt?dt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(t,n){for(var r=-1,o=n.length,i=xe(o),a=null==t;++r<o;)i[r]=a?e:As(t,n[r]);return i}function lr(t,n,r){return t==t&&(r!==e&&(t=t<=r?t:r),n!==e&&(t=t>=n?t:n)),t}function cr(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),s!==e)return s;if(!is(t))return t;var d=Xa(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return Ao(t,s)}else{var p=gi(t),f=p==y||p==b;if(Qa(t))return ko(t,l);if(p==T||p==h||f&&!i){if(s=c||f?{}:vi(t),!l)return c?function(e,t){return Mo(e,mi(e),t)}(t,function(e,t){return e&&Mo(t,Ds(t),e)}(s,t)):function(e,t){return Mo(e,hi(e),t)}(t,ir(s,t))}else{if(!rt[p])return i?t:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case L:return Co(e);case g:case _:return new o(+e);case A:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case $:case I:case R:case j:case D:case N:case B:case F:return Eo(e,n);case w:return new o;case x:case E:return new o(e);case k:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case C:return new o;case P:return r=e,Bn?Ee(Bn.call(r)):{}}}(t,p,l)}}a||(a=new Jn);var m=a.get(t);if(m)return m;a.set(t,s),ds(t)?t.forEach((function(e){s.add(cr(e,n,r,e,t,a))})):ss(t)&&t.forEach((function(e,o){s.set(o,cr(e,n,r,o,t,a))}));var v=d?e:(u?c?ai:ii:c?Ds:js)(t);return Tt(v||t,(function(e,o){v&&(e=t[o=e]),nr(s,o,cr(e,n,r,o,t,a))})),s}function ur(t,n,r){var o=r.length;if(null==t)return!o;for(t=Ee(t);o--;){var i=r[o],a=n[i],s=t[i];if(s===e&&!(i in t)||!a(s))return!1}return!0}function dr(n,r,o){if("function"!=typeof n)throw new Le(t);return $i((function(){n.apply(e,o)}),r)}function pr(e,t,n,r){var o=-1,i=Et,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Ot(t,Yt(n))),r?(i=Pt,a=!1):t.length>=200&&(i=Xt,a=!1,t=new Xn(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}Wn.templateSettings={escape:G,evaluate:X,interpolate:J,variable:"",imports:{_:Wn}},Wn.prototype=qn.prototype,Wn.prototype.constructor=Wn,zn.prototype=Vn(qn.prototype),zn.prototype.constructor=zn,Un.prototype=Vn(qn.prototype),Un.prototype.constructor=Un,Hn.prototype.clear=function(){this.__data__=Ln?Ln(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(t){var r=this.__data__;if(Ln){var o=r[t];return o===n?e:o}return je.call(r,t)?r[t]:e},Hn.prototype.has=function(t){var n=this.__data__;return Ln?n[t]!==e:je.call(n,t)},Hn.prototype.set=function(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=Ln&&r===e?n:r,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0||(n==t.length-1?t.pop():ot.call(t,n,1),--this.size,0))},Yn.prototype.get=function(t){var n=this.__data__,r=rr(n,t);return r<0?e:n[r][1]},Yn.prototype.has=function(e){return rr(this.__data__,e)>-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(Cn||Yn),string:new Hn}},Gn.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return di(this,e).get(e)},Gn.prototype.has=function(e){return di(this,e).has(e)},Gn.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,n),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Jn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Jn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Jn.prototype.get=function(e){return this.__data__.get(e)},Jn.prototype.has=function(e){return this.__data__.has(e)},Jn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var fr=Ro(wr),hr=Ro(xr,!0);function mr(e,t){var n=!0;return fr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(t,n,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n(a);if(null!=s&&(l===e?s==s&&!fs(s):r(s,l)))var l=s,c=a}return c}function _r(e,t){var n=[];return fr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=yi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?vr(s,t-1,n,r,o):Lt(o,s):r||(o[o.length]=s)}return o}var yr=jo(),br=jo(!0);function wr(e,t){return e&&yr(e,t,js)}function xr(e,t){return e&&br(e,t,js)}function Tr(e,t){return Ct(t,(function(t){return ns(e[t])}))}function Sr(t,n){for(var r=0,o=(n=wo(n,t)).length;null!=t&&r<o;)t=t[Vi(n[r++])];return r&&r==o?t:e}function kr(e,t,n){var r=t(e);return Xa(e)?r:Lt(r,n(e))}function Cr(t){return null==t?t===e?"[object Undefined]":"[object Null]":ut&&ut in Ee(t)?function(t){var n=je.call(t,ut),r=t[ut];try{t[ut]=e;var o=!0}catch(jS){}var i=Be.call(t);return o&&(n?t[ut]=r:delete t[ut]),i}(t):function(e){return Be.call(e)}(t)}function Er(e,t){return e>t}function Pr(e,t){return null!=e&&je.call(e,t)}function Or(e,t){return null!=e&&t in Ee(e)}function Lr(t,n,r){for(var o=r?Pt:Et,i=t[0].length,a=t.length,s=a,l=xe(a),c=1/0,u=[];s--;){var d=t[s];s&&n&&(d=Ot(d,Yt(n))),c=bn(d.length,c),l[s]=!r&&(n||i>=120&&d.length>=120)?new Xn(s&&d):e}d=t[0];var p=-1,f=l[0];e:for(;++p<i&&u.length<c;){var h=d[p],m=n?n(h):h;if(h=r||0!==h?h:0,!(f?Xt(f,m):o(u,m,r))){for(s=a;--s;){var g=l[s];if(!(g?Xt(g,m):o(t[s],m,r)))continue e}f&&f.push(m),u.push(h)}}return u}function Ar(t,n,r){var o=null==(t=Oi(t,n=wo(n,t)))?t:t[Vi(ta(n))];return null==o?e:wt(o,t,r)}function Mr(e){return as(e)&&Cr(e)==h}function $r(t,n,r,o,i){return t===n||(null==t||null==n||!as(t)&&!as(n)?t!=t&&n!=n:function(t,n,r,o,i,a){var s=Xa(t),l=Xa(n),c=s?m:gi(t),u=l?m:gi(n),d=(c=c==h?T:c)==T,p=(u=u==h?T:u)==T,f=c==u;if(f&&Qa(t)){if(!Qa(n))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Jn),s||hs(t)?ri(t,n,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!i(new Ue(e),new Ue(t)));case g:case _:case x:return Ua(+e,+t);case v:return e.name==t.name&&e.message==t.message;case k:case E:return e==t+"";case w:var s=rn;case C:var l=1&r;if(s||(s=sn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=ri(s(e),s(t),r,o,i,a);return a.delete(e),u;case P:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(t,n,c,r,o,i,a);if(!(1&r)){var y=d&&je.call(t,"__wrapped__"),b=p&&je.call(n,"__wrapped__");if(y||b){var S=y?t.value():t,O=b?n.value():n;return a||(a=new Jn),i(S,O,r,o,a)}}return!!f&&(a||(a=new Jn),function(t,n,r,o,i,a){var s=1&r,l=ii(t),c=l.length,u=ii(n).length;if(c!=u&&!s)return!1;for(var d=c;d--;){var p=l[d];if(!(s?p in n:je.call(n,p)))return!1}var f=a.get(t),h=a.get(n);if(f&&h)return f==n&&h==t;var m=!0;a.set(t,n),a.set(n,t);for(var g=s;++d<c;){var _=t[p=l[d]],v=n[p];if(o)var y=s?o(v,_,p,n,t,a):o(_,v,p,t,n,a);if(!(y===e?_===v||i(_,v,r,o,a):y)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var b=t.constructor,w=n.constructor;b==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return a.delete(t),a.delete(n),m}(t,n,r,o,i,a))}(t,n,r,o,$r,i))}function Ir(t,n,r,o){var i=r.length,a=i,s=!o;if(null==t)return!a;for(t=Ee(t);i--;){var l=r[i];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i<a;){var c=(l=r[i])[0],u=t[c],d=l[1];if(s&&l[2]){if(u===e&&!(c in t))return!1}else{var p=new Jn;if(o)var f=o(u,d,c,t,n,p);if(!(f===e?$r(d,u,3,o,p):f))return!1}}return!0}function Rr(e){return!(!is(e)||(t=e,Ne&&Ne in t))&&(ns(e)?Ve:he).test(qi(e));var t}function jr(e){return"function"==typeof e?e:null==e?ll:"object"==typeof e?Xa(e)?Vr(e[0],e[1]):Wr(e):_l(e)}function Dr(e){if(!ki(e))return vn(e);var t=[];for(var n in Ee(e))je.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Nr(e){if(!is(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=ki(e),n=[];for(var r in e)("constructor"!=r||!t&&je.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Fr(e,t){var n=-1,r=Za(e)?xe(e.length):[];return fr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Wr(e){var t=pi(e);return 1==t.length&&t[0][2]?Ei(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Vr(t,n){return xi(t)&&Ci(n)?Ei(Vi(t),n):function(r){var o=As(r,t);return o===e&&o===n?Ms(r,t):$r(n,o,3)}}function qr(t,n,r,o,i){t!==n&&yr(n,(function(a,s){if(i||(i=new Jn),is(a))!function(t,n,r,o,i,a,s){var l=Ai(t,r),c=Ai(n,r),u=s.get(c);if(u)tr(t,r,u);else{var d=a?a(l,c,r+"",t,n,s):e,p=d===e;if(p){var f=Xa(c),h=!f&&Qa(c),m=!f&&!h&&hs(c);d=c,f||h||m?Xa(l)?d=l:Ka(l)?d=Ao(l):h?(p=!1,d=ko(c,!0)):m?(p=!1,d=Eo(c,!0)):d=[]:cs(c)||Ga(c)?(d=l,Ga(l)?d=xs(l):is(l)&&!ns(l)||(d=vi(c))):p=!1}p&&(s.set(c,d),i(d,c,o,a,s),s.delete(c)),tr(t,r,d)}}(t,n,s,r,qr,o,i);else{var l=o?o(Ai(t,s),a,s+"",t,n,i):e;l===e&&(l=a),tr(t,s,l)}}),Ds)}function zr(t,n){var r=t.length;if(r)return bi(n+=n<0?r:0,r)?t[n]:e}function Ur(e,t,n){t=t.length?Ot(t,(function(e){return Xa(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[ll];var r=-1;return t=Ot(t,Yt(ui())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Fr(e,(function(e,n,o){return{criteria:Ot(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var l=Po(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Sr(e,a);n(s,a)&&eo(i,wo(a,e),s)}return i}function Yr(e,t,n,r){var o=r?Nt:Dt,i=-1,a=t.length,s=e;for(e===t&&(t=Ao(t)),n&&(s=Ot(e,Yt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&ot.call(s,l,1),ot.call(e,l,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;bi(o)?ot.call(e,o,1):fo(e,o)}}return e}function Xr(e,t){return e+fn(Tn()*(t-e+1))}function Jr(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=fn(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Ii(Pi(e,t,ll),e+"")}function Kr(e){return Kn(Us(e))}function Qr(e,t){var n=Us(e);return Di(n,lr(t,0,n.length))}function eo(t,n,r,o){if(!is(t))return t;for(var i=-1,a=(n=wo(n,t)).length,s=a-1,l=t;null!=l&&++i<a;){var c=Vi(n[i]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=s){var d=l[c];(u=o?o(d,c,l):e)===e&&(u=is(d)?d:bi(n[i+1])?[]:{})}nr(l,c,u),l=l[c]}return t}var to=An?function(e,t){return An.set(e,t),e}:ll,no=dt?function(e,t){return dt(e,"toString",{configurable:!0,enumerable:!1,value:il(t),writable:!0})}:ll;function ro(e){return Di(Us(e))}function oo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=xe(o);++r<o;)i[r]=e[r+t];return i}function io(e,t){var n;return fr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!fs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return so(e,t,ll,n)}function so(t,n,r,o){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=r(n))!=n,l=null===n,c=fs(n),u=n===e;i<a;){var d=fn((i+a)/2),p=r(t[d]),f=p!==e,h=null===p,m=p==p,g=fs(p);if(s)var _=o||m;else _=u?m&&(o||f):l?m&&f&&(o||!h):c?m&&f&&!h&&(o||!g):!h&&!g&&(o?p<=n:p<n);_?i=d+1:a=d}return bn(a,4294967294)}function lo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ua(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function co(e){return"number"==typeof e?e:fs(e)?d:+e}function uo(e){if("string"==typeof e)return e;if(Xa(e))return Ot(e,uo)+"";if(fs(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function po(e,t,n){var r=-1,o=Et,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Pt;else if(i>=200){var c=t?null:Zo(e);if(c)return sn(c);a=!1,o=Xt,l=new Xn}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function fo(e,t){return null==(e=Oi(e,t=wo(t,e)))||delete e[Vi(ta(t))]}function ho(e,t,n,r){return eo(e,t,n(Sr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Un&&(n=n.value()),At(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}function _o(e,t,n){var r=e.length;if(r<2)return r?po(e[0]):[];for(var o=-1,i=xe(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=pr(i[o]||a,e[s],t,n));return po(vr(i,1),t,n)}function vo(t,n,r){for(var o=-1,i=t.length,a=n.length,s={};++o<i;){var l=o<a?n[o]:e;r(s,t[o],l)}return s}function yo(e){return Ka(e)?e:[]}function bo(e){return"function"==typeof e?e:ll}function wo(e,t){return Xa(e)?e:xi(e,t)?[e]:Wi(Ts(e))}var xo=Zr;function To(t,n,r){var o=t.length;return r=r===e?o:r,!n&&r>=o?t:oo(t,n,r)}var So=ft||function(e){return ct.clearTimeout(e)};function ko(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function Co(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Eo(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(t,n){if(t!==n){var r=t!==e,o=null===t,i=t==t,a=fs(t),s=n!==e,l=null===n,c=n==n,u=fs(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||o&&s&&c||!r&&c||!i)return 1;if(!o&&!a&&!u&&t<n||u&&r&&i&&!o&&!a||l&&r&&i||!s&&i||!c)return-1}return 0}function Oo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,l=t.length,c=yn(i-a,0),u=xe(l+c),d=!r;++s<l;)u[s]=t[s];for(;++o<a;)(d||o<i)&&(u[n[o]]=e[o]);for(;c--;)u[s++]=e[o++];return u}function Lo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,l=-1,c=t.length,u=yn(i-s,0),d=xe(u+c),p=!r;++o<u;)d[o]=e[o];for(var f=o;++l<c;)d[f+l]=t[l];for(;++a<s;)(p||o<i)&&(d[f+n[a]]=e[o++]);return d}function Ao(e,t){var n=-1,r=e.length;for(t||(t=xe(r));++n<r;)t[n]=e[n];return t}function Mo(t,n,r,o){var i=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var l=n[a],c=o?o(r[l],t[l],l,r,t):e;c===e&&(c=t[l]),i?ar(r,l,c):nr(r,l,c)}return r}function $o(e,t){return function(n,r){var o=Xa(n)?xt:or,i=t?t():{};return o(n,e,ui(r,2),i)}}function Io(t){return Zr((function(n,r){var o=-1,i=r.length,a=i>1?r[i-1]:e,s=i>2?r[2]:e;for(a=t.length>3&&"function"==typeof a?(i--,a):e,s&&wi(r[0],r[1],s)&&(a=i<3?e:a,i=1),n=Ee(n);++o<i;){var l=r[o];l&&t(n,l,o,a)}return n}))}function Ro(e,t){return function(n,r){if(null==n)return n;if(!Za(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ee(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function jo(e){return function(t,n,r){for(var o=-1,i=Ee(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Do(t){return function(n){var r=nn(n=Ts(n))?cn(n):e,o=r?r[0]:n.charAt(0),i=r?To(r,1).join(""):n.slice(1);return o[t]()+i}}function No(e){return function(t){return At(nl(Gs(t).replace(Ge,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Vn(e.prototype),r=e.apply(n,t);return is(r)?r:n}}function Fo(t){return function(n,r,o){var i=Ee(n);if(!Za(n)){var a=ui(r,3);n=js(n),r=function(e){return a(i[e],e,i)}}var s=t(n,r,o);return s>-1?i[a?n[s]:s]:e}}function Wo(n){return oi((function(r){var o=r.length,i=o,a=zn.prototype.thru;for(n&&r.reverse();i--;){var s=r[i];if("function"!=typeof s)throw new Le(t);if(a&&!l&&"wrapper"==li(s))var l=new zn([],!0)}for(i=l?i:o;++i<o;){var c=li(s=r[i]),u="wrapper"==c?si(s):e;l=u&&Ti(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[li(u[0])].apply(l,u[3]):1==s.length&&Ti(s)?l[c]():l.thru(s)}return function(){var e=arguments,t=e[0];if(l&&1==e.length&&Xa(t))return l.plant(t).value();for(var n=0,i=o?r[n].apply(this,e):t;++n<o;)i=r[n].call(this,i);return i}}))}function Vo(t,n,r,o,i,a,l,c,u,d){var p=n&s,f=1&n,h=2&n,m=24&n,g=512&n,_=h?e:Bo(t);return function e(){for(var s=arguments.length,v=xe(s),y=s;y--;)v[y]=arguments[y];if(m)var b=ci(e),w=Kt(v,b);if(o&&(v=Oo(v,o,i,m)),a&&(v=Lo(v,a,l,m)),s-=w,m&&s<d){var x=an(v,b);return Xo(t,n,Vo,e.placeholder,r,v,x,c,u,d-s)}var T=f?r:this,S=h?T[t]:t;return s=v.length,c?v=Li(v,c):g&&s>1&&v.reverse(),p&&u<s&&(v.length=u),this&&this!==ct&&this instanceof e&&(S=_||Bo(S)),S.apply(T,v)}}function qo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function zo(t,n){return function(r,o){var i;if(r===e&&o===e)return n;if(r!==e&&(i=r),o!==e){if(i===e)return o;"string"==typeof r||"string"==typeof o?(r=uo(r),o=uo(o)):(r=co(r),o=co(o)),i=t(r,o)}return i}}function Uo(e){return oi((function(t){return t=Ot(t,Yt(ui())),Zr((function(n){var r=this;return e(t,(function(e){return wt(e,r,n)}))}))}))}function Ho(t,n){var r=(n=n===e?" ":uo(n)).length;if(r<2)return r?Jr(n,t):n;var o=Jr(n,Vt(t/ln(n)));return nn(n)?To(cn(o),0,t).join(""):o.slice(0,t)}function Yo(t){return function(n,r,o){return o&&"number"!=typeof o&&wi(n,r,o)&&(r=o=e),n=vs(n),r===e?(r=n,n=0):r=vs(r),function(e,t,n,r){for(var o=-1,i=yn(Vt((t-e)/(n||1)),0),a=xe(i);i--;)a[r?i:++o]=e,e+=n;return a}(n,r,o=o===e?n<r?1:-1:vs(o),t)}}function Go(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ws(t),n=ws(n)),e(t,n)}}function Xo(t,n,r,o,s,l,c,u,d,p){var f=8&n;n|=f?i:a,4&(n&=~(f?a:i))||(n&=-4);var h=[t,n,s,f?l:e,f?c:e,f?e:l,f?e:c,u,d,p],m=r.apply(e,h);return Ti(t)&&Mi(m,h),m.placeholder=o,Ri(m,t,n)}function Jo(e){var t=Ce[e];return function(e,n){if(e=ws(e),(n=null==n?0:bn(ys(n),292))&&gn(e)){var r=(Ts(e)+"e").split("e");return+((r=(Ts(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zo=Pn&&1/sn(new Pn([,-0]))[1]==c?function(e){return new Pn(e)}:fl;function Ko(e){return function(t){var n=gi(t);return n==w?rn(t):n==C?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Ot(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qo(n,c,u,d,p,f,h,m){var g=2&c;if(!g&&"function"!=typeof n)throw new Le(t);var _=d?d.length:0;if(_||(c&=-97,d=p=e),h=h===e?h:yn(ys(h),0),m=m===e?m:ys(m),_-=p?p.length:0,c&a){var v=d,y=p;d=p=e}var b=g?e:si(n),w=[n,c,u,d,p,v,y,f,h,m];if(b&&function(e,t){var n=e[1],o=t[1],i=n|o,a=i<131,c=o==s&&8==n||o==s&&n==l&&e[7].length<=t[8]||384==o&&t[7].length<=t[8]&&8==n;if(!a&&!c)return e;1&o&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var d=e[3];e[3]=d?Oo(d,u,t[4]):u,e[4]=d?an(e[3],r):t[4]}(u=t[5])&&(d=e[5],e[5]=d?Lo(d,u,t[6]):u,e[6]=d?an(e[5],r):t[6]),(u=t[7])&&(e[7]=u),o&s&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(w,b),n=w[0],c=w[1],u=w[2],d=w[3],p=w[4],!(m=w[9]=w[9]===e?g?0:n.length:yn(w[9]-_,0))&&24&c&&(c&=-25),c&&1!=c)x=8==c||c==o?function(t,n,r){var o=Bo(t);return function i(){for(var a=arguments.length,s=xe(a),l=a,c=ci(i);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:an(s,c);return(a-=u.length)<r?Xo(t,n,Vo,i.placeholder,e,s,u,e,e,r-a):wt(this&&this!==ct&&this instanceof i?o:t,this,s)}}(n,c,m):c!=i&&33!=c||p.length?Vo.apply(e,w):function(e,t,n,r){var o=1&t,i=Bo(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=xe(c+s),d=this&&this!==ct&&this instanceof t?i:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return wt(d,o?n:this,u)}}(n,c,u,d);else var x=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==ct&&this instanceof t?o:e).apply(r?n:this,arguments)}}(n,c,u);return Ri((b?to:Mi)(x,w),n,c)}function ei(t,n,r,o){return t===e||Ua(t,$e[r])&&!je.call(o,r)?n:t}function ti(t,n,r,o,i,a){return is(t)&&is(n)&&(a.set(n,t),qr(t,n,e,ti,a),a.delete(n)),t}function ni(t){return cs(t)?e:t}function ri(t,n,r,o,i,a){var s=1&r,l=t.length,c=n.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(t),d=a.get(n);if(u&&d)return u==n&&d==t;var p=-1,f=!0,h=2&r?new Xn:e;for(a.set(t,n),a.set(n,t);++p<l;){var m=t[p],g=n[p];if(o)var _=s?o(g,m,p,n,t,a):o(m,g,p,t,n,a);if(_!==e){if(_)continue;f=!1;break}if(h){if(!$t(n,(function(e,t){if(!Xt(h,t)&&(m===e||i(m,e,r,o,a)))return h.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,r,o,a)){f=!1;break}}return a.delete(t),a.delete(n),f}function oi(t){return Ii(Pi(t,e,Ji),t+"")}function ii(e){return kr(e,js,hi)}function ai(e){return kr(e,Ds,mi)}var si=An?function(e){return An.get(e)}:fl;function li(e){for(var t=e.name+"",n=Mn[t],r=je.call(Mn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(je.call(Wn,"placeholder")?Wn:e).placeholder}function ui(){var e=Wn.iteratee||cl;return e=e===cl?jr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function pi(e){for(var t=js(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ci(o)]}return t}function fi(t,n){var r=function(t,n){return null==t?e:t[n]}(t,n);return Rr(r)?r:e}var hi=hn?function(e){return null==e?[]:(e=Ee(e),Ct(hn(e),(function(t){return Ke.call(e,t)})))}:bl,mi=hn?function(e){for(var t=[];e;)Lt(t,hi(e)),e=Ye(e);return t}:bl,gi=Cr;function _i(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var a=Vi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&os(o)&&bi(a,o)&&(Xa(e)||Ga(e))}function vi(e){return"function"!=typeof e.constructor||ki(e)?{}:Vn(Ye(e))}function yi(e){return Xa(e)||Ga(e)||!!(st&&e&&e[st])}function bi(e,t){var n=typeof e;return!!(t=null==t?u:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!is(n))return!1;var r=typeof t;return!!("number"==r?Za(n)&&bi(t,n.length):"string"==r&&t in n)&&Ua(n[t],e)}function xi(e,t){if(Xa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fs(e))||K.test(e)||!Z.test(e)||null!=t&&e in Ee(t)}function Ti(e){var t=li(e),n=Wn[t];if("function"!=typeof n||!(t in Un.prototype))return!1;if(e===n)return!0;var r=si(n);return!!r&&e===r[0]}(kn&&gi(new kn(new ArrayBuffer(1)))!=A||Cn&&gi(new Cn)!=w||En&&gi(En.resolve())!=S||Pn&&gi(new Pn)!=C||On&&gi(new On)!=O)&&(gi=function(t){var n=Cr(t),r=n==T?t.constructor:e,o=r?qi(r):"";if(o)switch(o){case $n:return A;case In:return w;case Rn:return S;case jn:return C;case Dn:return O}return n});var Si=Ie?ns:wl;function ki(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$e)}function Ci(e){return e==e&&!is(e)}function Ei(t,n){return function(r){return null!=r&&r[t]===n&&(n!==e||t in Ee(r))}}function Pi(t,n,r){return n=yn(n===e?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=yn(e.length-n,0),a=xe(i);++o<i;)a[o]=e[n+o];o=-1;for(var s=xe(n+1);++o<n;)s[o]=e[o];return s[n]=r(a),wt(t,this,s)}}function Oi(e,t){return t.length<2?e:Sr(e,oo(t,0,-1))}function Li(t,n){for(var r=t.length,o=bn(n.length,r),i=Ao(t);o--;){var a=n[o];t[o]=bi(a,r)?i[a]:e}return t}function Ai(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Mi=ji(to),$i=It||function(e,t){return ct.setTimeout(e,t)},Ii=ji(no);function Ri(e,t,n){var r=t+"";return Ii(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Tt(f,(function(n){var r="_."+n[0];t&n[1]&&!Et(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ie);return t?t[1].split(ae):[]}(r),n)))}function ji(t){var n=0,r=0;return function(){var o=wn(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(e,arguments)}}function Di(t,n){var r=-1,o=t.length,i=o-1;for(n=n===e?o:n;++r<n;){var a=Xr(r,i),s=t[a];t[a]=t[r],t[r]=s}return t.length=n,t}var Ni,Bi,Fi,Wi=(Ni=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Q,(function(e,n,r,o){t.push(r?o.replace(ce,"$1"):n||e)})),t},Bi=Ba(Ni,(function(e){return 500===Fi.size&&Fi.clear(),e})),Fi=Bi.cache,Bi);function Vi(e){if("string"==typeof e||fs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qi(e){if(null!=e){try{return Re.call(e)}catch(jS){}try{return e+""}catch(jS){}}return""}function zi(e){if(e instanceof Un)return e.clone();var t=new zn(e.__wrapped__,e.__chain__);return t.__actions__=Ao(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ui=Zr((function(e,t){return Ka(e)?pr(e,vr(t,1,Ka,!0)):[]})),Hi=Zr((function(t,n){var r=ta(n);return Ka(r)&&(r=e),Ka(t)?pr(t,vr(n,1,Ka,!0),ui(r,2)):[]})),Yi=Zr((function(t,n){var r=ta(n);return Ka(r)&&(r=e),Ka(t)?pr(t,vr(n,1,Ka,!0),e,r):[]}));function Gi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ys(n);return o<0&&(o=yn(r+o,0)),jt(e,ui(t,3),o)}function Xi(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return r!==e&&(i=ys(r),i=r<0?yn(o+i,0):bn(i,o-1)),jt(t,ui(n,3),i,!0)}function Ji(e){return null!=e&&e.length?vr(e,1):[]}function Zi(t){return t&&t.length?t[0]:e}var Ki=Zr((function(e){var t=Ot(e,yo);return t.length&&t[0]===e[0]?Lr(t):[]})),Qi=Zr((function(t){var n=ta(t),r=Ot(t,yo);return n===ta(r)?n=e:r.pop(),r.length&&r[0]===t[0]?Lr(r,ui(n,2)):[]})),ea=Zr((function(t){var n=ta(t),r=Ot(t,yo);return(n="function"==typeof n?n:e)&&r.pop(),r.length&&r[0]===t[0]?Lr(r,e,n):[]}));function ta(t){var n=null==t?0:t.length;return n?t[n-1]:e}var na=Zr(ra);function ra(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}var oa=oi((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return Gr(e,Ot(t,(function(e){return bi(e,n)?+e:e})).sort(Po)),r}));function ia(e){return null==e?e:Sn.call(e)}var aa=Zr((function(e){return po(vr(e,1,Ka,!0))})),sa=Zr((function(t){var n=ta(t);return Ka(n)&&(n=e),po(vr(t,1,Ka,!0),ui(n,2))})),la=Zr((function(t){var n=ta(t);return n="function"==typeof n?n:e,po(vr(t,1,Ka,!0),e,n)}));function ca(e){if(!e||!e.length)return[];var t=0;return e=Ct(e,(function(e){if(Ka(e))return t=yn(e.length,t),!0})),Ut(t,(function(t){return Ot(e,Wt(t))}))}function ua(t,n){if(!t||!t.length)return[];var r=ca(t);return null==n?r:Ot(r,(function(t){return wt(n,e,t)}))}var da=Zr((function(e,t){return Ka(e)?pr(e,t):[]})),pa=Zr((function(e){return _o(Ct(e,Ka))})),fa=Zr((function(t){var n=ta(t);return Ka(n)&&(n=e),_o(Ct(t,Ka),ui(n,2))})),ha=Zr((function(t){var n=ta(t);return n="function"==typeof n?n:e,_o(Ct(t,Ka),e,n)})),ma=Zr(ca),ga=Zr((function(t){var n=t.length,r=n>1?t[n-1]:e;return r="function"==typeof r?(t.pop(),r):e,ua(t,r)}));function _a(e){var t=Wn(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ya=oi((function(t){var n=t.length,r=n?t[0]:0,o=this.__wrapped__,i=function(e){return sr(e,t)};return!(n>1||this.__actions__.length)&&o instanceof Un&&bi(r)?((o=o.slice(r,+r+(n?1:0))).__actions__.push({func:va,args:[i],thisArg:e}),new zn(o,this.__chain__).thru((function(t){return n&&!t.length&&t.push(e),t}))):this.thru(i)})),ba=$o((function(e,t,n){je.call(e,n)?++e[n]:ar(e,n,1)})),wa=Fo(Gi),xa=Fo(Xi);function Ta(e,t){return(Xa(e)?Tt:fr)(e,ui(t,3))}function Sa(e,t){return(Xa(e)?St:hr)(e,ui(t,3))}var ka=$o((function(e,t,n){je.call(e,n)?e[n].push(t):ar(e,n,[t])})),Ca=Zr((function(e,t,n){var r=-1,o="function"==typeof t,i=Za(e)?xe(e.length):[];return fr(e,(function(e){i[++r]=o?wt(t,e,n):Ar(e,t,n)})),i})),Ea=$o((function(e,t,n){ar(e,n,t)}));function Pa(e,t){return(Xa(e)?Ot:Fr)(e,ui(t,3))}var Oa=$o((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),La=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,vr(t,1),[])})),Aa=ht||function(){return ct.Date.now()};function Ma(t,n,r){return n=r?e:n,n=t&&null==n?t.length:n,Qo(t,s,e,e,e,e,n)}function $a(n,r){var o;if("function"!=typeof r)throw new Le(t);return n=ys(n),function(){return--n>0&&(o=r.apply(this,arguments)),n<=1&&(r=e),o}}var Ia=Zr((function(e,t,n){var r=1;if(n.length){var o=an(n,ci(Ia));r|=i}return Qo(e,r,t,n,o)})),Ra=Zr((function(e,t,n){var r=3;if(n.length){var o=an(n,ci(Ra));r|=i}return Qo(t,r,e,n,o)}));function ja(n,r,o){var i,a,s,l,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof n)throw new Le(t);function m(t){var r=i,o=a;return i=a=e,d=t,l=n.apply(o,r)}function g(e){return d=e,c=$i(v,r),p?m(e):l}function _(t){var n=t-u;return u===e||n>=r||n<0||f&&t-d>=s}function v(){var e=Aa();if(_(e))return y(e);c=$i(v,function(e){var t=r-(e-u);return f?bn(t,s-(e-d)):t}(e))}function y(t){return c=e,h&&i?m(t):(i=a=e,l)}function b(){var t=Aa(),n=_(t);if(i=arguments,a=this,u=t,n){if(c===e)return g(u);if(f)return So(c),c=$i(v,r),m(u)}return c===e&&(c=$i(v,r)),l}return r=ws(r)||0,is(o)&&(p=!!o.leading,s=(f="maxWait"in o)?yn(ws(o.maxWait)||0,r):s,h="trailing"in o?!!o.trailing:h),b.cancel=function(){c!==e&&So(c),d=0,i=u=a=c=e},b.flush=function(){return c===e?l:y(Aa())},b}var Da=Zr((function(e,t){return dr(e,1,t)})),Na=Zr((function(e,t,n){return dr(e,ws(t)||0,n)}));function Ba(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new Le(t);var r=function(){var t=arguments,o=n?n.apply(this,t):t[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,t);return r.cache=i.set(o,a)||i,a};return r.cache=new(Ba.Cache||Gn),r}function Fa(e){if("function"!=typeof e)throw new Le(t);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ba.Cache=Gn;var Wa=xo((function(e,t){var n=(t=1==t.length&&Xa(t[0])?Ot(t[0],Yt(ui())):Ot(vr(t,1),Yt(ui()))).length;return Zr((function(r){for(var o=-1,i=bn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return wt(e,this,r)}))})),Va=Zr((function(t,n){var r=an(n,ci(Va));return Qo(t,i,e,n,r)})),qa=Zr((function(t,n){var r=an(n,ci(qa));return Qo(t,a,e,n,r)})),za=oi((function(t,n){return Qo(t,l,e,e,e,n)}));function Ua(e,t){return e===t||e!=e&&t!=t}var Ha=Go(Er),Ya=Go((function(e,t){return e>=t})),Ga=Mr(function(){return arguments}())?Mr:function(e){return as(e)&&je.call(e,"callee")&&!Ke.call(e,"callee")},Xa=xe.isArray,Ja=mt?Yt(mt):function(e){return as(e)&&Cr(e)==L};function Za(e){return null!=e&&os(e.length)&&!ns(e)}function Ka(e){return as(e)&&Za(e)}var Qa=mn||wl,es=gt?Yt(gt):function(e){return as(e)&&Cr(e)==_};function ts(e){if(!as(e))return!1;var t=Cr(e);return t==v||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!cs(e)}function ns(e){if(!is(e))return!1;var t=Cr(e);return t==y||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function rs(e){return"number"==typeof e&&e==ys(e)}function os(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function is(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function as(e){return null!=e&&"object"==typeof e}var ss=_t?Yt(_t):function(e){return as(e)&&gi(e)==w};function ls(e){return"number"==typeof e||as(e)&&Cr(e)==x}function cs(e){if(!as(e)||Cr(e)!=T)return!1;var t=Ye(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Fe}var us=vt?Yt(vt):function(e){return as(e)&&Cr(e)==k},ds=yt?Yt(yt):function(e){return as(e)&&gi(e)==C};function ps(e){return"string"==typeof e||!Xa(e)&&as(e)&&Cr(e)==E}function fs(e){return"symbol"==typeof e||as(e)&&Cr(e)==P}var hs=bt?Yt(bt):function(e){return as(e)&&os(e.length)&&!!nt[Cr(e)]},ms=Go(Br),gs=Go((function(e,t){return e<=t}));function _s(e){if(!e)return[];if(Za(e))return ps(e)?cn(e):Ao(e);if(lt&&e[lt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[lt]());var t=gi(e);return(t==w?rn:t==C?sn:Us)(e)}function vs(e){return e?(e=ws(e))===c||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ys(e){var t=vs(e),n=t%1;return t==t?n?t-n:t:0}function bs(e){return e?lr(ys(e),0,p):0}function ws(e){if("number"==typeof e)return e;if(fs(e))return d;if(is(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=is(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ht(e);var n=fe.test(e);return n||me.test(e)?at(e.slice(2),n?2:8):pe.test(e)?d:+e}function xs(e){return Mo(e,Ds(e))}function Ts(e){return null==e?"":uo(e)}var Ss=Io((function(e,t){if(ki(t)||Za(t))Mo(t,js(t),e);else for(var n in t)je.call(t,n)&&nr(e,n,t[n])})),ks=Io((function(e,t){Mo(t,Ds(t),e)})),Cs=Io((function(e,t,n,r){Mo(t,Ds(t),e,r)})),Es=Io((function(e,t,n,r){Mo(t,js(t),e,r)})),Ps=oi(sr),Os=Zr((function(t,n){t=Ee(t);var r=-1,o=n.length,i=o>2?n[2]:e;for(i&&wi(n[0],n[1],i)&&(o=1);++r<o;)for(var a=n[r],s=Ds(a),l=-1,c=s.length;++l<c;){var u=s[l],d=t[u];(d===e||Ua(d,$e[u])&&!je.call(t,u))&&(t[u]=a[u])}return t})),Ls=Zr((function(t){return t.push(e,ti),wt(Bs,e,t)}));function As(t,n,r){var o=null==t?e:Sr(t,n);return o===e?r:o}function Ms(e,t){return null!=e&&_i(e,t,Or)}var $s=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),il(ll)),Is=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),je.call(e,t)?e[t].push(n):e[t]=[n]}),ui),Rs=Zr(Ar);function js(e){return Za(e)?Zn(e):Dr(e)}function Ds(e){return Za(e)?Zn(e,!0):Nr(e)}var Ns=Io((function(e,t,n){qr(e,t,n)})),Bs=Io((function(e,t,n,r){qr(e,t,n,r)})),Fs=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),Mo(e,ai(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)fo(n,t[o]);return n})),Ws=oi((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Vs(e,t){if(null==e)return{};var n=Ot(ai(e),(function(e){return[e]}));return t=ui(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var qs=Ko(js),zs=Ko(Ds);function Us(e){return null==e?[]:Gt(e,js(e))}var Hs=No((function(e,t,n){return t=t.toLowerCase(),e+(n?Ys(t):t)}));function Ys(e){return tl(Ts(e).toLowerCase())}function Gs(e){return(e=Ts(e))&&e.replace(_e,Qt).replace(Xe,"")}var Xs=No((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Js=No((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zs=Do("toLowerCase"),Ks=No((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Qs=No((function(e,t,n){return e+(n?" ":"")+tl(t)})),el=No((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),tl=Do("toUpperCase");function nl(t,n,r){return t=Ts(t),(n=r?e:n)===e?function(e){return Qe.test(e)}(t)?function(e){return e.match(Ze)||[]}(t):function(e){return e.match(se)||[]}(t):t.match(n)||[]}var rl=Zr((function(t,n){try{return wt(t,e,n)}catch(jS){return ts(jS)?jS:new Se(jS)}})),ol=oi((function(e,t){return Tt(t,(function(t){t=Vi(t),ar(e,t,Ia(e[t],e))})),e}));function il(e){return function(){return e}}var al=Wo(),sl=Wo(!0);function ll(e){return e}function cl(e){return jr("function"==typeof e?e:cr(e,1))}var ul=Zr((function(e,t){return function(n){return Ar(n,e,t)}})),dl=Zr((function(e,t){return function(n){return Ar(e,n,t)}}));function pl(e,t,n){var r=js(t),o=Tr(t,r);null!=n||is(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Tr(t,js(t)));var i=!(is(n)&&"chain"in n&&!n.chain),a=ns(e);return Tt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Ao(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function fl(){}var hl=Uo(Ot),ml=Uo(kt),gl=Uo($t);function _l(e){return xi(e)?Wt(Vi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var vl=Yo(),yl=Yo(!0);function bl(){return[]}function wl(){return!1}var xl,Tl=zo((function(e,t){return e+t}),0),Sl=Jo("ceil"),kl=zo((function(e,t){return e/t}),1),Cl=Jo("floor"),El=zo((function(e,t){return e*t}),1),Pl=Jo("round"),Ol=zo((function(e,t){return e-t}),0);return Wn.after=function(e,n){if("function"!=typeof n)throw new Le(t);return e=ys(e),function(){if(--e<1)return n.apply(this,arguments)}},Wn.ary=Ma,Wn.assign=Ss,Wn.assignIn=ks,Wn.assignInWith=Cs,Wn.assignWith=Es,Wn.at=Ps,Wn.before=$a,Wn.bind=Ia,Wn.bindAll=ol,Wn.bindKey=Ra,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Xa(e)?e:[e]},Wn.chain=_a,Wn.chunk=function(t,n,r){n=(r?wi(t,n,r):n===e)?1:yn(ys(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var i=0,a=0,s=xe(Vt(o/n));i<o;)s[a++]=oo(t,i,i+=n);return s},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=xe(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Lt(Xa(n)?Ao(n):[n],vr(t,1))},Wn.cond=function(e){var n=null==e?0:e.length,r=ui();return e=n?Ot(e,(function(e){if("function"!=typeof e[1])throw new Le(t);return[r(e[0]),e[1]]})):[],Zr((function(t){for(var r=-1;++r<n;){var o=e[r];if(wt(o[0],this,t))return wt(o[1],this,t)}}))},Wn.conforms=function(e){return function(e){var t=js(e);return function(n){return ur(n,e,t)}}(cr(e,1))},Wn.constant=il,Wn.countBy=ba,Wn.create=function(e,t){var n=Vn(e);return null==t?n:ir(n,t)},Wn.curry=function t(n,r,o){var i=Qo(n,8,e,e,e,e,e,r=o?e:r);return i.placeholder=t.placeholder,i},Wn.curryRight=function t(n,r,i){var a=Qo(n,o,e,e,e,e,e,r=i?e:r);return a.placeholder=t.placeholder,a},Wn.debounce=ja,Wn.defaults=Os,Wn.defaultsDeep=Ls,Wn.defer=Da,Wn.delay=Na,Wn.difference=Ui,Wn.differenceBy=Hi,Wn.differenceWith=Yi,Wn.drop=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,(n=r||n===e?1:ys(n))<0?0:n,o):[]},Wn.dropRight=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,0,(n=o-(n=r||n===e?1:ys(n)))<0?0:n):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!0):[]},Wn.fill=function(t,n,r,o){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&wi(t,n,r)&&(r=0,o=i),function(t,n,r,o){var i=t.length;for((r=ys(r))<0&&(r=-r>i?0:i+r),(o=o===e||o>i?i:ys(o))<0&&(o+=i),o=r>o?0:bs(o);r<o;)t[r++]=n;return t}(t,n,r,o)):[]},Wn.filter=function(e,t){return(Xa(e)?Ct:_r)(e,ui(t,3))},Wn.flatMap=function(e,t){return vr(Pa(e,t),1)},Wn.flatMapDeep=function(e,t){return vr(Pa(e,t),c)},Wn.flatMapDepth=function(t,n,r){return r=r===e?1:ys(r),vr(Pa(t,n),r)},Wn.flatten=Ji,Wn.flattenDeep=function(e){return null!=e&&e.length?vr(e,c):[]},Wn.flattenDepth=function(t,n){return null!=t&&t.length?vr(t,n=n===e?1:ys(n)):[]},Wn.flip=function(e){return Qo(e,512)},Wn.flow=al,Wn.flowRight=sl,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Wn.functions=function(e){return null==e?[]:Tr(e,js(e))},Wn.functionsIn=function(e){return null==e?[]:Tr(e,Ds(e))},Wn.groupBy=ka,Wn.initial=function(e){return null!=e&&e.length?oo(e,0,-1):[]},Wn.intersection=Ki,Wn.intersectionBy=Qi,Wn.intersectionWith=ea,Wn.invert=$s,Wn.invertBy=Is,Wn.invokeMap=Ca,Wn.iteratee=cl,Wn.keyBy=Ea,Wn.keys=js,Wn.keysIn=Ds,Wn.map=Pa,Wn.mapKeys=function(e,t){var n={};return t=ui(t,3),wr(e,(function(e,r,o){ar(n,t(e,r,o),e)})),n},Wn.mapValues=function(e,t){var n={};return t=ui(t,3),wr(e,(function(e,r,o){ar(n,r,t(e,r,o))})),n},Wn.matches=function(e){return Wr(cr(e,1))},Wn.matchesProperty=function(e,t){return Vr(e,cr(t,1))},Wn.memoize=Ba,Wn.merge=Ns,Wn.mergeWith=Bs,Wn.method=ul,Wn.methodOf=dl,Wn.mixin=pl,Wn.negate=Fa,Wn.nthArg=function(e){return e=ys(e),Zr((function(t){return zr(t,e)}))},Wn.omit=Fs,Wn.omitBy=function(e,t){return Vs(e,Fa(ui(t)))},Wn.once=function(e){return $a(2,e)},Wn.orderBy=function(t,n,r,o){return null==t?[]:(Xa(n)||(n=null==n?[]:[n]),Xa(r=o?e:r)||(r=null==r?[]:[r]),Ur(t,n,r))},Wn.over=hl,Wn.overArgs=Wa,Wn.overEvery=ml,Wn.overSome=gl,Wn.partial=Va,Wn.partialRight=qa,Wn.partition=Oa,Wn.pick=Ws,Wn.pickBy=Vs,Wn.property=_l,Wn.propertyOf=function(t){return function(n){return null==t?e:Sr(t,n)}},Wn.pull=na,Wn.pullAll=ra,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,ui(n,2)):e},Wn.pullAllWith=function(t,n,r){return t&&t.length&&n&&n.length?Yr(t,n,e,r):t},Wn.pullAt=oa,Wn.range=vl,Wn.rangeRight=yl,Wn.rearg=za,Wn.reject=function(e,t){return(Xa(e)?Ct:_r)(e,Fa(ui(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ui(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Gr(e,o),n},Wn.rest=function(n,r){if("function"!=typeof n)throw new Le(t);return Zr(n,r=r===e?r:ys(r))},Wn.reverse=ia,Wn.sampleSize=function(t,n,r){return n=(r?wi(t,n,r):n===e)?1:ys(n),(Xa(t)?Qn:Qr)(t,n)},Wn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Wn.setWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:eo(t,n,r,o)},Wn.shuffle=function(e){return(Xa(e)?er:ro)(e)},Wn.slice=function(t,n,r){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&wi(t,n,r)?(n=0,r=o):(n=null==n?0:ys(n),r=r===e?o:ys(r)),oo(t,n,r)):[]},Wn.sortBy=La,Wn.sortedUniq=function(e){return e&&e.length?lo(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?lo(e,ui(t,2)):[]},Wn.split=function(t,n,r){return r&&"number"!=typeof r&&wi(t,n,r)&&(n=r=e),(r=r===e?p:r>>>0)?(t=Ts(t))&&("string"==typeof n||null!=n&&!us(n))&&!(n=uo(n))&&nn(t)?To(cn(t),0,r):t.split(n,r):[]},Wn.spread=function(e,n){if("function"!=typeof e)throw new Le(t);return n=null==n?0:yn(ys(n),0),Zr((function(t){var r=t[n],o=To(t,0,n);return r&&Lt(o,r),wt(e,this,o)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Wn.take=function(t,n,r){return t&&t.length?oo(t,0,(n=r||n===e?1:ys(n))<0?0:n):[]},Wn.takeRight=function(t,n,r){var o=null==t?0:t.length;return o?oo(t,(n=o-(n=r||n===e?1:ys(n)))<0?0:n,o):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?mo(e,ui(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,n,r){var o=!0,i=!0;if("function"!=typeof e)throw new Le(t);return is(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),ja(e,n,{leading:o,maxWait:n,trailing:i})},Wn.thru=va,Wn.toArray=_s,Wn.toPairs=qs,Wn.toPairsIn=zs,Wn.toPath=function(e){return Xa(e)?Ot(e,Vi):fs(e)?[e]:Ao(Wi(Ts(e)))},Wn.toPlainObject=xs,Wn.transform=function(e,t,n){var r=Xa(e),o=r||Qa(e)||hs(e);if(t=ui(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:is(e)&&ns(i)?Vn(Ye(e)):{}}return(o?Tt:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Wn.unary=function(e){return Ma(e,1)},Wn.union=aa,Wn.unionBy=sa,Wn.unionWith=la,Wn.uniq=function(e){return e&&e.length?po(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?po(e,ui(t,2)):[]},Wn.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?po(t,e,n):[]},Wn.unset=function(e,t){return null==e||fo(e,t)},Wn.unzip=ca,Wn.unzipWith=ua,Wn.update=function(e,t,n){return null==e?e:ho(e,t,bo(n))},Wn.updateWith=function(t,n,r,o){return o="function"==typeof o?o:e,null==t?t:ho(t,n,bo(r),o)},Wn.values=Us,Wn.valuesIn=function(e){return null==e?[]:Gt(e,Ds(e))},Wn.without=da,Wn.words=nl,Wn.wrap=function(e,t){return Va(bo(t),e)},Wn.xor=pa,Wn.xorBy=fa,Wn.xorWith=ha,Wn.zip=ma,Wn.zipObject=function(e,t){return vo(e||[],t||[],nr)},Wn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Wn.zipWith=ga,Wn.entries=qs,Wn.entriesIn=zs,Wn.extend=ks,Wn.extendWith=Cs,pl(Wn,Wn),Wn.add=Tl,Wn.attempt=rl,Wn.camelCase=Hs,Wn.capitalize=Ys,Wn.ceil=Sl,Wn.clamp=function(t,n,r){return r===e&&(r=n,n=e),r!==e&&(r=(r=ws(r))==r?r:0),n!==e&&(n=(n=ws(n))==n?n:0),lr(ws(t),n,r)},Wn.clone=function(e){return cr(e,4)},Wn.cloneDeep=function(e){return cr(e,5)},Wn.cloneDeepWith=function(t,n){return cr(t,5,n="function"==typeof n?n:e)},Wn.cloneWith=function(t,n){return cr(t,4,n="function"==typeof n?n:e)},Wn.conformsTo=function(e,t){return null==t||ur(e,t,js(t))},Wn.deburr=Gs,Wn.defaultTo=function(e,t){return null==e||e!=e?t:e},Wn.divide=kl,Wn.endsWith=function(t,n,r){t=Ts(t),n=uo(n);var o=t.length,i=r=r===e?o:lr(ys(r),0,o);return(r-=n.length)>=0&&t.slice(r,i)==n},Wn.eq=Ua,Wn.escape=function(e){return(e=Ts(e))&&Y.test(e)?e.replace(U,en):e},Wn.escapeRegExp=function(e){return(e=Ts(e))&&te.test(e)?e.replace(ee,"\\$&"):e},Wn.every=function(t,n,r){var o=Xa(t)?kt:mr;return r&&wi(t,n,r)&&(n=e),o(t,ui(n,3))},Wn.find=wa,Wn.findIndex=Gi,Wn.findKey=function(e,t){return Rt(e,ui(t,3),wr)},Wn.findLast=xa,Wn.findLastIndex=Xi,Wn.findLastKey=function(e,t){return Rt(e,ui(t,3),xr)},Wn.floor=Cl,Wn.forEach=Ta,Wn.forEachRight=Sa,Wn.forIn=function(e,t){return null==e?e:yr(e,ui(t,3),Ds)},Wn.forInRight=function(e,t){return null==e?e:br(e,ui(t,3),Ds)},Wn.forOwn=function(e,t){return e&&wr(e,ui(t,3))},Wn.forOwnRight=function(e,t){return e&&xr(e,ui(t,3))},Wn.get=As,Wn.gt=Ha,Wn.gte=Ya,Wn.has=function(e,t){return null!=e&&_i(e,t,Pr)},Wn.hasIn=Ms,Wn.head=Zi,Wn.identity=ll,Wn.includes=function(e,t,n,r){e=Za(e)?e:Us(e),n=n&&!r?ys(n):0;var o=e.length;return n<0&&(n=yn(o+n,0)),ps(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Dt(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ys(n);return o<0&&(o=yn(r+o,0)),Dt(e,t,o)},Wn.inRange=function(t,n,r){return n=vs(n),r===e?(r=n,n=0):r=vs(r),function(e,t,n){return e>=bn(t,n)&&e<yn(t,n)}(t=ws(t),n,r)},Wn.invoke=Rs,Wn.isArguments=Ga,Wn.isArray=Xa,Wn.isArrayBuffer=Ja,Wn.isArrayLike=Za,Wn.isArrayLikeObject=Ka,Wn.isBoolean=function(e){return!0===e||!1===e||as(e)&&Cr(e)==g},Wn.isBuffer=Qa,Wn.isDate=es,Wn.isElement=function(e){return as(e)&&1===e.nodeType&&!cs(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(Za(e)&&(Xa(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||hs(e)||Ga(e)))return!e.length;var t=gi(e);if(t==w||t==C)return!e.size;if(ki(e))return!Dr(e).length;for(var n in e)if(je.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return $r(e,t)},Wn.isEqualWith=function(t,n,r){var o=(r="function"==typeof r?r:e)?r(t,n):e;return o===e?$r(t,n,e,r):!!o},Wn.isError=ts,Wn.isFinite=function(e){return"number"==typeof e&&gn(e)},Wn.isFunction=ns,Wn.isInteger=rs,Wn.isLength=os,Wn.isMap=ss,Wn.isMatch=function(e,t){return e===t||Ir(e,t,pi(t))},Wn.isMatchWith=function(t,n,r){return r="function"==typeof r?r:e,Ir(t,n,pi(n),r)},Wn.isNaN=function(e){return ls(e)&&e!=+e},Wn.isNative=function(e){if(Si(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rr(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=ls,Wn.isObject=is,Wn.isObjectLike=as,Wn.isPlainObject=cs,Wn.isRegExp=us,Wn.isSafeInteger=function(e){return rs(e)&&e>=-9007199254740991&&e<=u},Wn.isSet=ds,Wn.isString=ps,Wn.isSymbol=fs,Wn.isTypedArray=hs,Wn.isUndefined=function(t){return t===e},Wn.isWeakMap=function(e){return as(e)&&gi(e)==O},Wn.isWeakSet=function(e){return as(e)&&"[object WeakSet]"==Cr(e)},Wn.join=function(e,t){return null==e?"":_n.call(e,t)},Wn.kebabCase=Xs,Wn.last=ta,Wn.lastIndexOf=function(t,n,r){var o=null==t?0:t.length;if(!o)return-1;var i=o;return r!==e&&(i=(i=ys(r))<0?yn(o+i,0):bn(i,o-1)),n==n?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(t,n,i):jt(t,Bt,i,!0)},Wn.lowerCase=Js,Wn.lowerFirst=Zs,Wn.lt=ms,Wn.lte=gs,Wn.max=function(t){return t&&t.length?gr(t,ll,Er):e},Wn.maxBy=function(t,n){return t&&t.length?gr(t,ui(n,2),Er):e},Wn.mean=function(e){return Ft(e,ll)},Wn.meanBy=function(e,t){return Ft(e,ui(t,2))},Wn.min=function(t){return t&&t.length?gr(t,ll,Br):e},Wn.minBy=function(t,n){return t&&t.length?gr(t,ui(n,2),Br):e},Wn.stubArray=bl,Wn.stubFalse=wl,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=El,Wn.nth=function(t,n){return t&&t.length?zr(t,ys(n)):e},Wn.noConflict=function(){return ct._===this&&(ct._=We),this},Wn.noop=fl,Wn.now=Aa,Wn.pad=function(e,t,n){e=Ts(e);var r=(t=ys(t))?ln(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ho(fn(o),n)+e+Ho(Vt(o),n)},Wn.padEnd=function(e,t,n){e=Ts(e);var r=(t=ys(t))?ln(e):0;return t&&r<t?e+Ho(t-r,n):e},Wn.padStart=function(e,t,n){e=Ts(e);var r=(t=ys(t))?ln(e):0;return t&&r<t?Ho(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),xn(Ts(e).replace(ne,""),t||0)},Wn.random=function(t,n,r){if(r&&"boolean"!=typeof r&&wi(t,n,r)&&(n=r=e),r===e&&("boolean"==typeof n?(r=n,n=e):"boolean"==typeof t&&(r=t,t=e)),t===e&&n===e?(t=0,n=1):(t=vs(t),n===e?(n=t,t=0):n=vs(n)),t>n){var o=t;t=n,n=o}if(r||t%1||n%1){var i=Tn();return bn(t+i*(n-t+it("1e-"+((i+"").length-1))),n)}return Xr(t,n)},Wn.reduce=function(e,t,n){var r=Xa(e)?At:qt,o=arguments.length<3;return r(e,ui(t,4),n,o,fr)},Wn.reduceRight=function(e,t,n){var r=Xa(e)?Mt:qt,o=arguments.length<3;return r(e,ui(t,4),n,o,hr)},Wn.repeat=function(t,n,r){return n=(r?wi(t,n,r):n===e)?1:ys(n),Jr(Ts(t),n)},Wn.replace=function(){var e=arguments,t=Ts(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(t,n,r){var o=-1,i=(n=wo(n,t)).length;for(i||(i=1,t=e);++o<i;){var a=null==t?e:t[Vi(n[o])];a===e&&(o=i,a=r),t=ns(a)?a.call(t):a}return t},Wn.round=Pl,Wn.runInContext=re,Wn.sample=function(e){return(Xa(e)?Kn:Kr)(e)},Wn.size=function(e){if(null==e)return 0;if(Za(e))return ps(e)?ln(e):e.length;var t=gi(e);return t==w||t==C?e.size:Dr(e).length},Wn.snakeCase=Ks,Wn.some=function(t,n,r){var o=Xa(t)?$t:io;return r&&wi(t,n,r)&&(n=e),o(t,ui(n,3))},Wn.sortedIndex=function(e,t){return ao(e,t)},Wn.sortedIndexBy=function(e,t,n){return so(e,t,ui(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Ua(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return so(e,t,ui(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ao(e,t,!0)-1;if(Ua(e[n],t))return n}return-1},Wn.startCase=Qs,Wn.startsWith=function(e,t,n){return e=Ts(e),n=null==n?0:lr(ys(n),0,e.length),t=uo(t),e.slice(n,n+t.length)==t},Wn.subtract=Ol,Wn.sum=function(e){return e&&e.length?zt(e,ll):0},Wn.sumBy=function(e,t){return e&&e.length?zt(e,ui(t,2)):0},Wn.template=function(t,n,r){var o=Wn.templateSettings;r&&wi(t,n,r)&&(n=e),t=Ts(t),n=Cs({},n,o,ei);var i,a,s=Cs({},n.imports,o.imports,ei),l=js(s),c=Gt(s,l),u=0,d=n.interpolate||ve,p="__p += '",f=Pe((n.escape||ve).source+"|"+d.source+"|"+(d===J?ue:ve).source+"|"+(n.evaluate||ve).source+"|$","g"),h="//# sourceURL="+(je.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";t.replace(f,(function(e,n,r,o,s,l){return r||(r=o),p+=t.slice(u,l).replace(ye,tn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),p+="';\n";var m=je.call(n,"variable")&&n.variable;if(m){if(le.test(m))throw new Se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(W,""):p).replace(V,"$1").replace(q,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=rl((function(){return ke(l,h+"return "+p).apply(e,c)}));if(g.source=p,ts(g))throw g;return g},Wn.times=function(e,t){if((e=ys(e))<1||e>u)return[];var n=p,r=bn(e,p);t=ui(t),e-=p;for(var o=Ut(r,t);++n<e;)t(n);return o},Wn.toFinite=vs,Wn.toInteger=ys,Wn.toLength=bs,Wn.toLower=function(e){return Ts(e).toLowerCase()},Wn.toNumber=ws,Wn.toSafeInteger=function(e){return e?lr(ys(e),-9007199254740991,u):0===e?e:0},Wn.toString=Ts,Wn.toUpper=function(e){return Ts(e).toUpperCase()},Wn.trim=function(t,n,r){if((t=Ts(t))&&(r||n===e))return Ht(t);if(!t||!(n=uo(n)))return t;var o=cn(t),i=cn(n);return To(o,Jt(o,i),Zt(o,i)+1).join("")},Wn.trimEnd=function(t,n,r){if((t=Ts(t))&&(r||n===e))return t.slice(0,un(t)+1);if(!t||!(n=uo(n)))return t;var o=cn(t);return To(o,0,Zt(o,cn(n))+1).join("")},Wn.trimStart=function(t,n,r){if((t=Ts(t))&&(r||n===e))return t.replace(ne,"");if(!t||!(n=uo(n)))return t;var o=cn(t);return To(o,Jt(o,cn(n))).join("")},Wn.truncate=function(t,n){var r=30,o="...";if(is(n)){var i="separator"in n?n.separator:i;r="length"in n?ys(n.length):r,o="omission"in n?uo(n.omission):o}var a=(t=Ts(t)).length;if(nn(t)){var s=cn(t);a=s.length}if(r>=a)return t;var l=r-ln(o);if(l<1)return o;var c=s?To(s,0,l).join(""):t.slice(0,l);if(i===e)return c+o;if(s&&(l+=c.length-l),us(i)){if(t.slice(l).search(i)){var u,d=c;for(i.global||(i=Pe(i.source,Ts(de.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var p=u.index;c=c.slice(0,p===e?l:p)}}else if(t.indexOf(uo(i),l)!=l){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+o},Wn.unescape=function(e){return(e=Ts(e))&&H.test(e)?e.replace(z,dn):e},Wn.uniqueId=function(e){var t=++De;return Ts(e)+t},Wn.upperCase=el,Wn.upperFirst=tl,Wn.each=Ta,Wn.eachRight=Sa,Wn.first=Zi,pl(Wn,(xl={},wr(Wn,(function(e,t){je.call(Wn.prototype,t)||(xl[t]=e)})),xl),{chain:!1}),Wn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),Tt(["drop","take"],(function(t,n){Un.prototype[t]=function(r){r=r===e?1:yn(ys(r),0);var o=this.__filtered__&&!n?new Un(this):this.clone();return o.__filtered__?o.__takeCount__=bn(r,o.__takeCount__):o.__views__.push({size:bn(r,p),type:t+(o.__dir__<0?"Right":"")}),o},Un.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(ll)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Ar(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Fa(ui(e)))},Un.prototype.slice=function(t,n){t=ys(t);var r=this;return r.__filtered__&&(t>0||n<0)?new Un(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==e&&(r=(n=ys(n))<0?r.dropRight(-n):r.take(n-t)),r)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(p)},wr(Un.prototype,(function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),i=Wn[o?"take"+("last"==n?"Right":""):n],a=o||/^find/.test(n);i&&(Wn.prototype[n]=function(){var n=this.__wrapped__,s=o?[1]:arguments,l=n instanceof Un,c=s[0],u=l||Xa(n),d=function(e){var t=i.apply(Wn,Lt([e],s));return o&&p?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=l&&!f;if(!a&&u){n=m?n:new Un(this);var g=t.apply(n,s);return g.__actions__.push({func:va,args:[d],thisArg:e}),new zn(g,p)}return h&&m?t.apply(this,s):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Xa(o)?o:[],e)}return this[n]((function(n){return t.apply(Xa(n)?n:[],e)}))}})),wr(Un.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";je.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}})),Mn[Vo(e,2).name]=[{name:"wrapper",func:e}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Xa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=yn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=bn(l,this.__takeCount__);if(!n||!r&&o==l&&f==l)return go(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var m=-1,g=e[c+=t];++m<d;){var _=u[m],v=_.iteratee,y=_.type,b=v(g);if(2==y)g=b;else if(!b){if(1==y)continue e;break e}}h[p++]=g}return h},Wn.prototype.at=ya,Wn.prototype.chain=function(){return _a(this)},Wn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===e&&(this.__values__=_s(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},Wn.prototype.plant=function(t){for(var n,r=this;r instanceof qn;){var o=zi(r);o.__index__=0,o.__values__=e,n?i.__wrapped__=o:n=o;var i=o;r=r.__wrapped__}return i.__wrapped__=t,n},Wn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Un){var n=t;return this.__actions__.length&&(n=new Un(this)),(n=n.reverse()).__actions__.push({func:va,args:[ia],thisArg:e}),new zn(n,this.__chain__)}return this.thru(ia)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,lt&&(Wn.prototype[lt]=function(){return this}),Wn}();dt?((dt.exports=pn)._=pn,ut._=pn):ct._=pn}.call(PS);var $S=MS.exports;const IS=OS($S);function RS(e){const t=(n=e,("function"==typeof Array.isArray?Array.isArray(n):"[object Array]"===Object.prototype.toString.call(n))?e:{});var n;if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))for(const r in e)e[r]&&(e[r]&&"object"==typeof e[r]?t[r]=RS(e[r]):t[r]=e[r]);return t}var jS,DS={exports:{}};jS="object"==typeof window&&window,DS.exports=function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,_,v,y,b,w,x,T;if(e)return e.jWeixin?e.jWeixin:(n={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e,t={};for(e in n)t[n[e]]=e;return t}(),o=e.document,i=o.title,a=navigator.userAgent.toLowerCase(),f=navigator.platform.toLowerCase(),s=!(!f.match("mac")&&!f.match("win")),l=-1!=a.indexOf("wxdebugger"),c=-1!=a.indexOf("micromessenger"),u=-1!=a.indexOf("android"),d=-1!=a.indexOf("iphone")||-1!=a.indexOf("ipad"),p=(f=a.match(/micromessenger\/(\d+\.\d+\.\d+)/)||a.match(/micromessenger\/(\d+\.\d+)/))?f[1]:"",h={initStartTime:M(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},m={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:d?1:u?2:-1,clientVersion:p,url:encodeURIComponent(location.href)},g={},_={_completes:[]},v={state:0,data:{}},$((function(){h.initEndTime=M()})),y=!1,b=[],w={config:function(t){L("config",g=t);var r=!1!==g.check;$((function(){if(r)S(n.config,{verifyJsApiList:O(g.jsApiList),verifyOpenTagList:O(g.openTagList)},(_._complete=function(e){h.preVerifyEndTime=M(),v.state=1,v.data=e},_.success=function(e){m.isPreVerifyOk=0},_.fail=function(e){_._fail?_._fail(e):v.state=-1},(i=_._completes).push((function(){A()})),_.complete=function(e){for(var t=0,n=i.length;t<n;++t)i[t]();_._completes=[]},_)),h.preVerifyStartTime=M();else{v.state=1;for(var e=_._completes,t=0,o=e.length;t<o;++t)e[t]();_._completes=[]}var i})),w.invoke||(w.invoke=function(t,n,r){e.WeixinJSBridge&&WeixinJSBridge.invoke(t,C(n),r)},w.on=function(t,n){e.WeixinJSBridge&&WeixinJSBridge.on(t,n)})},ready:function(e){(0!=v.state||(_._completes.push(e),!c&&g.debug))&&e()},error:function(e){p<"6.0.2"||(-1==v.state?e(v.data):_._fail=e)},checkJsApi:function(e){S("checkJsApi",{jsApiList:O(e.jsApiList)},(e._complete=function(e){u&&(n=e.checkResult)&&(e.checkResult=JSON.parse(n));var t,n=e,o=n.checkResult;for(t in o){var i=r[t];i&&(o[i]=o[t],delete o[t])}},e))},onMenuShareTimeline:function(e){k(n.onMenuShareTimeline,{complete:function(){S("shareTimeline",{title:e.title||i,desc:e.title||i,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){k(n.onMenuShareAppMessage,{complete:function(t){"favorite"===t.scene?S("sendAppMessage",{title:e.title||i,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):S("sendAppMessage",{title:e.title||i,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){k(n.onMenuShareQQ,{complete:function(){S("shareQQ",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){k(n.onMenuShareWeibo,{complete:function(){S("shareWeiboApp",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){k(n.onMenuShareQZone,{complete:function(){S("shareQZone",{title:e.title||i,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){S("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){S("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){S("startRecord",{},e)},stopRecord:function(e){S("stopRecord",{},e)},onVoiceRecordEnd:function(e){k("onVoiceRecordEnd",e)},playVoice:function(e){S("playVoice",{localId:e.localId},e)},pauseVoice:function(e){S("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){S("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){k("onVoicePlayEnd",e)},uploadVoice:function(e){S("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){S("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){S("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){S("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(u){var t=e.localIds;try{t&&(e.localIds=JSON.parse(t))}catch(n){}}},e))},getLocation:function(e){e=e||{},S(n.getLocation,{type:e.type||"wgs84"},(e._complete=function(e){delete e.type},e))},previewImage:function(e){S(n.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){S("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){S("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===y?(y=!0,S("getLocalImgData",{localId:e.localId},(e._complete=function(e){var t;y=!1,0<b.length&&(t=b.shift(),wx.getLocalImgData(t))},e))):b.push(e)},getNetworkType:function(e){S("getNetworkType",{},(e._complete=function(e){var t=e,n=(e=t.errMsg,t.errMsg="getNetworkType:ok",t.subtype);if(delete t.subtype,n)t.networkType=n;else{n=e.indexOf(":");var r=e.substring(n+1);switch(r){case"wifi":case"edge":case"wwan":t.networkType=r;break;default:t.errMsg="getNetworkType:fail"}}},e))},openLocation:function(e){S("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},hideOptionMenu:function(e){S("hideOptionMenu",{},e)},showOptionMenu:function(e){S("showOptionMenu",{},e)},closeWindow:function(e){S("closeWindow",{},e=e||{})},hideMenuItems:function(e){S("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){S("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){S("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){S("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){S("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){var t;d&&(t=e.resultStr)&&(t=JSON.parse(t),e.resultStr=t&&t.scan_code&&t.scan_code.scan_result)},e))},openAddress:function(e){S(n.openAddress,{},(e._complete=function(e){e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo},e))},openProductSpecificView:function(e){S(n.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var t=e.cardList,r=[],o=0,i=t.length;o<i;++o){var a={card_id:(a=t[o]).cardId,card_ext:a.cardExt};r.push(a)}S(n.addCard,{card_list:r},(e._complete=function(e){if(t=e.card_list){for(var t,n=0,r=(t=JSON.parse(t)).length;n<r;++n){var o=t[n];o.cardId=o.card_id,o.cardExt=o.card_ext,o.isSuccess=!!o.is_succ,delete o.card_id,delete o.card_ext,delete o.is_succ}e.cardList=t,delete e.card_list}},e))},chooseCard:function(e){S("chooseCard",{app_id:g.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var t=e.cardList,r=[],o=0,i=t.length;o<i;++o){var a={card_id:(a=t[o]).cardId,code:a.code};r.push(a)}S(n.openCard,{card_list:r},e)},consumeAndShareCard:function(e){S(n.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){S(n.chooseWXPay,E(e),e),A({jsApiName:"chooseWXPay"})},openEnterpriseRedPacket:function(e){S(n.openEnterpriseRedPacket,E(e),e)},startSearchBeacons:function(e){S(n.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){S(n.stopSearchBeacons,{},e)},onSearchBeacons:function(e){k(n.onSearchBeacons,e)},openEnterpriseChat:function(e){S("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){S("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){var t;if("string"==typeof e&&0<e.length)return t=e.split("?")[0],t+=".html",void 0!==(e=e.split("?")[1])?t+"?"+e:t}(e.path),envVersion:e.envVersion},e)},openBusinessView:function(e){S("openBusinessView",{businessType:e.businessType,queryString:e.queryString||"",envVersion:e.envVersion},(e._complete=function(e){if(u){var t=e.extraData;if(t)try{e.extraData=JSON.parse(t)}catch(n){e.extraData={}}}},e))},miniProgram:{navigateBack:function(e){e=e||{},$((function(){S("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){$((function(){S("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){$((function(){S("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){$((function(){S("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){$((function(){S("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){$((function(){S("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(t){$((function(){t({miniprogram:"miniprogram"===e.__wxjs_environment})}))}}},x=1,T={},o.addEventListener("error",(function(e){var t,n,r;u||(r=(t=e.target).tagName,n=t.src,"IMG"!=r&&"VIDEO"!=r&&"AUDIO"!=r&&"SOURCE"!=r)||-1!=n.indexOf("wxlocalresource://")&&(e.preventDefault(),e.stopPropagation(),(r=t["wx-id"])||(r=x++,t["wx-id"]=r),T[r]||(T[r]=!0,wx.ready((function(){wx.getLocalImgData({localId:n,success:function(e){t.src=e.localData}})}))))}),!0),o.addEventListener("load",(function(e){var t;u||(t=(e=e.target).tagName,e.src,"IMG"!=t&&"VIDEO"!=t&&"AUDIO"!=t&&"SOURCE"!=t)||(t=e["wx-id"])&&(T[t]=!1)}),!0),t&&(e.wx=e.jWeixin=w),w);function S(t,n,r){e.WeixinJSBridge?WeixinJSBridge.invoke(t,C(n),(function(e){P(t,e,r)})):L(t,r)}function k(t,n,r){e.WeixinJSBridge?WeixinJSBridge.on(t,(function(e){r&&r.trigger&&r.trigger(e),P(t,e,n)})):L(t,r||n)}function C(e){return(e=e||{}).appId=g.appId,e.verifyAppId=g.appId,e.verifySignType="sha1",e.verifyTimestamp=g.timestamp+"",e.verifyNonceStr=g.nonceStr,e.verifySignature=g.signature,e}function E(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function P(e,t,n){"openEnterpriseChat"!=e&&"openBusinessView"!==e||(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var o,i,a,s,l=t.errMsg;switch(l||(l=t.err_msg,delete t.err_msg,i=l,(s=r[o=e])&&(o=s),s="ok",i&&(a=i.indexOf(":"),"access denied"!=(s=(s=(s=-1!=(s=-1!=(s="failed"==(s="confirm"==(s=i.substring(a+1))?"ok":s)?"fail":s).indexOf("failed_")?s.substring(7):s).indexOf("fail_")?s.substring(5):s).replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=s||(s="permission denied"),""==(s="config"==o&&"function not exist"==s?"ok":s))&&(s="fail"),l=o+":"+s,t.errMsg=l),(n=n||{})._complete&&(n._complete(t),delete n._complete),l=t.errMsg||"",g.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t)),e=l.indexOf(":"),l.substring(e+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function O(e){if(e){for(var t=0,r=e.length;t<r;++t){var o=e[t];(o=n[o])&&(e[t]=o)}return e}}function L(e,t){var n;!g.debug||t&&t.isInnerInvoke||((n=r[e])&&(e=n),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||""))}function A(e){var t;s||l||g.debug||p<"6.0.2"||m.systemType<0||(t=new Image,m.appId=g.appId,m.initTime=h.initEndTime-h.initStartTime,m.preVerifyTime=h.preVerifyEndTime-h.preVerifyStartTime,w.getNetworkType({isInnerInvoke:!0,success:function(n){m.networkType=n.networkType,n="https://open.weixin.qq.com/sdk/report?v="+m.version+"&o="+m.isPreVerifyOk+"&s="+m.systemType+"&c="+m.clientVersion+"&a="+m.appId+"&n="+m.networkType+"&i="+m.initTime+"&p="+m.preVerifyTime+"&u="+m.url+"&jsapi_name="+(e?e.jsApiName:""),t.src=n}}))}function M(){return(new Date).getTime()}function $(t){c&&(e.WeixinJSBridge?t():o.addEventListener&&o.addEventListener("WeixinJSBridgeReady",t,!1))}console.warn("can't use weixin-js-sdk in server side")}(jS);const NS=OS(DS.exports);function BS(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function FS(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}const WS={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[3456789]\d{9}$/.test(e)},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){return!!e&&(BS(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:BS,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:FS,isEmpty:FS,isNumber:BS,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(jS){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:function(e){return"[object Object]"===Object.prototype.toString.call(e)},array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)}};function VS(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function qS(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function zS(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=qS(e);return t>0?VS(Number(e)*Math.pow(10,t)):Number(e)}function US(e){(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(`${e} 超出了精度限制,结果可能不正确`)}function HS(e,t){const[n,r,...o]=e;let i=t(n,r);return o.forEach((e=>{i=t(i,e)})),i}function YS(...e){if(e.length>2)return HS(e,YS);const[t,n]=e,r=zS(t),o=zS(n),i=qS(t)+qS(n),a=r*o;return US(a),a/Math.pow(10,i)}function GS(...e){if(e.length>2)return HS(e,GS);const[t,n]=e,r=zS(t),o=zS(n);return US(r),US(o),YS(r/o,VS(Math.pow(10,qS(n)-qS(t))))}
  39. /*!
  40. * @intlify/shared v9.1.9
  41. * (c) 2021 kazuya kawaguchi
  42. * Released under the MIT License.
  43. */
  44. const XS="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,JS=e=>XS?Symbol(e):e,ZS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),KS=e=>"number"==typeof e&&isFinite(e),QS=e=>"[object RegExp]"===pk(e),ek=e=>fk(e)&&0===Object.keys(e).length;function tk(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const nk=Object.assign;function rk(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const ok=Object.prototype.hasOwnProperty;function ik(e,t){return ok.call(e,t)}const ak=Array.isArray,sk=e=>"function"==typeof e,lk=e=>"string"==typeof e,ck=e=>"boolean"==typeof e,uk=e=>null!==e&&"object"==typeof e,dk=Object.prototype.toString,pk=e=>dk.call(e),fk=e=>"[object Object]"===pk(e),hk=Object.prototype.hasOwnProperty;function mk(e,t){return hk.call(e,t)}const gk=e=>null!==e&&"object"==typeof e,_k=[];_k[0]={w:[0],i:[3,0],"[":[4],o:[7]},_k[1]={w:[1],".":[2],"[":[4],o:[7]},_k[2]={w:[2],i:[3,0],0:[3,0]},_k[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},_k[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},_k[5]={"'":[4,0],o:8,l:[5,0]},_k[6]={'"':[4,0],o:8,l:[6,0]};const vk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yk(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function bk(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,vk.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const wk=new Map;function xk(e,t){if(!gk(e))return null;let n=wk.get(t);if(n||(n=function(e){const t=[];let n,r,o,i,a,s,l,c=-1,u=0,d=0;const p=[];function f(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,o="\\"+t,p[0](),!0}for(p[0]=()=>{void 0===r?r=o:r+=o},p[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},p[2]=()=>{p[0](),d++},p[3]=()=>{if(d>0)d--,u=4,p[0]();else{if(d=0,void 0===r)return!1;if(r=bk(r),!1===r)return!1;p[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!f()){if(i=yk(n),l=_k[u],a=l[i]||l.l||8,8===a)return;if(u=a[0],void 0!==a[1]&&(s=p[a[1]],s&&(o=n,!1===s())))return;if(7===u)return t}}(t),n&&wk.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const e=o[n[i]];if(void 0===e)return null;o=e,i++}return o}function Tk(e){if(!gk(e))return e;for(const t in e)if(mk(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let o=e;for(let e=0;e<r;e++)n[e]in o||(o[n[e]]={}),o=o[n[e]];o[n[r]]=e[t],delete e[t],gk(o[n[r]])&&Tk(o[n[r]])}else gk(e[t])&&Tk(e[t]);return e}
  45. /*!
  46. * @intlify/runtime v9.1.9
  47. * (c) 2021 kazuya kawaguchi
  48. * Released under the MIT License.
  49. */const Sk=e=>e,kk=e=>"",Ck=e=>0===e.length?"":e.join(""),Ek=e=>null==e?"":ak(e)||fk(e)&&e.toString===dk?JSON.stringify(e,null,2):String(e);function Pk(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function Ok(e={}){const t=e.locale,n=function(e){const t=KS(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(KS(e.named.count)||KS(e.named.n))?KS(e.named.count)?e.named.count:KS(e.named.n)?e.named.n:t:t}(e),r=uk(e.pluralRules)&&lk(t)&&sk(e.pluralRules[t])?e.pluralRules[t]:Pk,o=uk(e.pluralRules)&&lk(t)&&sk(e.pluralRules[t])?Pk:void 0,i=e.list||[],a=e.named||{};KS(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);function s(t){const n=sk(e.messages)?e.messages(t):!!uk(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):kk)}const l=fk(e.processor)&&sk(e.processor.normalize)?e.processor.normalize:Ck,c=fk(e.processor)&&sk(e.processor.interpolate)?e.processor.interpolate:Ek,u={list:e=>i[e],named:e=>a[e],plural:e=>e[r(n,e.length,o)],linked:(t,n)=>{const r=s(t)(u);return lk(n)?(t=>e.modifiers?e.modifiers[t]:Sk)(n)(r):r},message:s,type:fk(e.processor)&&lk(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:l};return u}
  50. /*!
  51. * @intlify/message-compiler v9.1.9
  52. * (c) 2021 kazuya kawaguchi
  53. * Released under the MIT License.
  54. */function Lk(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=new SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=r,a}function Ak(e){throw e}function Mk(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const $k=String.fromCharCode(8232),Ik=String.fromCharCode(8233);function Rk(e){const t=e;let n=0,r=1,o=1,i=0;const a=e=>"\r"===t[e]&&"\n"===t[e+1],s=e=>t[e]===Ik,l=e=>t[e]===$k,c=e=>a(e)||(e=>"\n"===t[e])(e)||s(e)||l(e),u=e=>a(e)||s(e)||l(e)?"\n":t[e];function d(){return i=0,c(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>i,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+i),next:d,peek:function(){return a(n+i)&&i++,i++,t[n+i]},reset:function(){n=0,r=1,o=1,i=0},resetPeek:function(e=0){i=e},skipToPeek:function(){const e=n+i;for(;e!==n;)d();i=0}}}const jk=void 0;function Dk(e,t={}){const n=!1!==t.location,r=Rk(e),o=()=>r.index(),i=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},a=i(),s=o(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,n,...r){const o=c();if(t.column+=n,t.offset+=n,u){const n=Lk(e,Mk(o.startLoc,t),{domain:"tokenizer",args:r});u(n)}}function p(e,t,r){e.endLoc=i(),e.currentType=t;const o={type:t};return n&&(o.loc=Mk(e.startLoc,e.endLoc)),null!=r&&(o.value=r),o}const f=e=>p(e,14);function h(e,t){return e.currentChar()===t?(e.next(),t):(d(0,i(),0,t),"")}function m(e){let t="";for(;" "===e.currentPeek()||"\n"===e.currentPeek();)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function _(e){if(e===jk)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=function(e){if(e===jk)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function y(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function b(e,t=!0){const n=(t=!1,r="",o=!1)=>{const i=e.currentPeek();return"{"===i?"%"!==r&&t:"@"!==i&&i?"%"===i?(e.peek(),n(t,"%",!0)):"|"===i?!("%"!==r&&!o)||!(" "===r||"\n"===r):" "===i?(e.peek(),n(!0," ",o)):"\n"!==i||(e.peek(),n(!0,"\n",o)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function w(e,t){const n=e.currentChar();return n===jk?jk:t(n)?(e.next(),n):null}function x(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function T(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function S(e){return w(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function k(e){let t="",n="";for(;t=T(e);)n+=t;return n}function C(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return E(e,t,4);case"U":return E(e,t,6);default:return d(3,i(),0,t),""}}function E(e,t,n){h(e,t);let r="";for(let o=0;o<n;o++){const n=S(e);if(!n){d(4,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function P(e){g(e);const t=h(e,"|");return g(e),t}function O(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&d(8,i(),0),e.next(),n=p(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(7,i(),0),e.next(),n=p(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(6,i(),0),n=L(e,t)||f(t),t.braceNest=0,n;default:let r=!0,o=!0,a=!0;if(y(e))return t.braceNest>0&&d(6,i(),0),n=p(t,1,P(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(6,i(),0),t.braceNest=0,A(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t))return n=p(t,5,function(e){g(e);let t="",n="";for(;t=x(e);)n+=t;return e.currentChar()===jk&&d(6,i(),0),n}(e)),g(e),n;if(o=v(e,t))return n=p(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${k(e)}`):t+=k(e),e.currentChar()===jk&&d(6,i(),0),t}(e)),g(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return n=p(t,7,function(e){g(e),h(e,"'");let t="",n="";const r=e=>"'"!==e&&"\n"!==e;for(;t=w(e,r);)n+="\\"===t?C(e):t;const o=e.currentChar();return"\n"===o||o===jk?(d(2,i(),0),"\n"===o&&(e.next(),h(e,"'")),n):(h(e,"'"),n)}(e)),g(e),n;if(!r&&!o&&!a)return n=p(t,13,function(e){g(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&" "!==e&&"\n"!==e;for(;t=w(e,r);)n+=t;return n}(e)),d(1,i(),0,n.value),g(e),n}return n}function L(e,t){const{currentType:n}=t;let r=null;const o=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||"\n"!==o&&" "!==o||d(9,i(),0),o){case"@":return e.next(),r=p(t,8,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),p(t,9,".");case":":return g(e),e.next(),p(t,10,":");default:return y(e)?(r=p(t,1,P(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;m(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(g(e),L(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;m(e);const r=_(e.currentPeek());return e.resetPeek(),r}(e,t)?(g(e),p(t,12,function(e){let t="",n="";for(;t=x(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?_(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||" "===t||!t)&&("\n"===t?(e.peek(),r()):_(t))},o=r();return e.resetPeek(),o}(e,t)?(g(e),"{"===o?O(e,t)||r:p(t,11,function(e){const t=(n=!1,r)=>{const o=e.currentChar();return"{"!==o&&"%"!==o&&"@"!==o&&"|"!==o&&o?" "===o?r:"\n"===o?(r+=o,e.next(),t(n,r)):(r+=o,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&d(9,i(),0),t.braceNest=0,t.inLinked=!1,A(e,t))}}function A(e,t){let n={type:14};if(t.braceNest>0)return O(e,t)||f(t);if(t.inLinked)return L(e,t)||f(t);const r=e.currentChar();switch(r){case"{":return O(e,t)||f(t);case"}":return d(5,i(),0),e.next(),p(t,3,"}");case"@":return L(e,t)||f(t);default:if(y(e))return n=p(t,1,P(e)),t.braceNest=0,t.inLinked=!1,n;if(b(e))return p(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!b(e))break;t+=n,e.next()}else if(" "===n||"\n"===n)if(b(e))t+=n,e.next();else{if(y(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e));if("%"===r)return e.next(),p(t,4,"%")}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=o(),l.startLoc=i(),r.currentChar()===jk?p(l,14):A(r,l)},currentOffset:o,currentPosition:i,context:c}}const Nk=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Bk(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function Fk(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,t,r,o,...i){const a=e.currentPosition();if(a.offset+=o,a.column+=o,n){const e=Lk(t,Mk(r,a),{domain:"parser",args:i});n(e)}}function o(e,n,r){const o={type:e,start:n,end:n};return t&&(o.loc={start:r,end:r}),o}function i(e,n,r,o){e.end=n,o&&(e.type=o),t&&e.loc&&(e.loc.end=r)}function a(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(5,r,a);return s.index=parseInt(t,10),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(4,r,a);return s.key=t,e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,s=o(9,r,a);return s.value=t.replace(Nk,Bk),e.nextToken(),i(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let a=e.nextToken();if(9===a.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:a,lastStartLoc:s}=n,l=o(8,a,s);return 12!==t.type?(r(e,11,n.lastStartLoc,0),l.value="",i(l,a,s),{nextConsumeToken:t,node:l}):(null==t.value&&r(e,13,n.lastStartLoc,0,Wk(t)),l.value=t.value||"",i(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,a=t.nextConsumeToken||e.nextToken()}switch(10!==a.type&&r(e,13,t.lastStartLoc,0,Wk(a)),a=e.nextToken(),2===a.type&&(a=e.nextToken()),a.type){case 11:null==a.value&&r(e,13,t.lastStartLoc,0,Wk(a)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,a.value||"");break;case 5:null==a.value&&r(e,13,t.lastStartLoc,0,Wk(a)),n.key=l(e,a.value||"");break;case 6:null==a.value&&r(e,13,t.lastStartLoc,0,Wk(a)),n.key=s(e,a.value||"");break;case 7:null==a.value&&r(e,13,t.lastStartLoc,0,Wk(a)),n.key=c(e,a.value||"");break;default:r(e,12,t.lastStartLoc,0);const u=e.context(),d=o(7,u.offset,u.startLoc);return d.value="",i(d,u.offset,u.startLoc),n.key=d,i(n,u.offset,u.startLoc),{nextConsumeToken:a,node:n}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function d(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let d=null;do{const o=d||e.nextToken();switch(d=null,o.type){case 0:null==o.value&&r(e,13,t.lastStartLoc,0,Wk(o)),n.items.push(a(e,o.value||""));break;case 6:null==o.value&&r(e,13,t.lastStartLoc,0,Wk(o)),n.items.push(s(e,o.value||""));break;case 5:null==o.value&&r(e,13,t.lastStartLoc,0,Wk(o)),n.items.push(l(e,o.value||""));break;case 7:null==o.value&&r(e,13,t.lastStartLoc,0,Wk(o)),n.items.push(c(e,o.value||""));break;case 8:const i=u(e);n.items.push(i.node),d=i.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return i(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function p(e){const t=e.context(),{offset:n,startLoc:a}=t,s=d(e);return 14===t.currentType?s:function(e,t,n,a){const s=e.context();let l=0===a.items.length;const c=o(1,t,n);c.cases=[],c.cases.push(a);do{const t=d(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return l&&r(e,10,n,0),i(c,e.currentOffset(),e.currentPosition()),c}(e,n,a,s)}return{parse:function(n){const a=Dk(n,nk({},e)),s=a.context(),l=o(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=p(a),14!==s.currentType&&r(a,13,s.lastStartLoc,0,n[s.offset]||""),i(l,a.currentOffset(),a.currentPosition()),l}}}function Wk(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Vk(e,t){for(let n=0;n<e.length;n++)qk(e[n],t)}function qk(e,t){switch(e.type){case 1:Vk(e.cases,t),t.helper("plural");break;case 2:Vk(e.items,t);break;case 6:qk(e.key,t),t.helper("linked");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function zk(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&qk(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Uk(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?Uk(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let n=0;n<o&&(Uk(e,t.cases[n]),n!==o-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(Uk(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Uk(e,t.key),t.modifier&&(e.push(", "),Uk(e,t.modifier)),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t)}}function Hk(e,t={}){const n=nk({},t),r=Fk(n).parse(e);return zk(r,n),((e,t={})=>{const n=lk(t.mode)?t.mode:"normal",r=lk(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,a={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};function s(e,t){a.code+=e}function l(e,t=!0){const n=t?o:"";s(i?n+" ".repeat(e):n)}return{context:()=>a,push:s,indent:function(e=!0){const t=++a.indentLevel;e&&l(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&l(t)},newline:function(){l(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),Uk(l,e),l.deindent(a),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}})(r,n)}
  55. /*!
  56. * @intlify/core-base v9.1.9
  57. * (c) 2021 kazuya kawaguchi
  58. * Released under the MIT License.
  59. */let Yk;let Gk=0;function Xk(e={}){const t=lk(e.version)?e.version:"9.1.9",n=lk(e.locale)?e.locale:"en-US",r=ak(e.fallbackLocale)||fk(e.fallbackLocale)||lk(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,o=fk(e.messages)?e.messages:{[n]:{}},i=fk(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=fk(e.numberFormats)?e.numberFormats:{[n]:{}},s=nk({},e.modifiers||{},{upper:e=>lk(e)?e.toUpperCase():e,lower:e=>lk(e)?e.toLowerCase():e,capitalize:e=>lk(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}),l=e.pluralRules||{},c=sk(e.missing)?e.missing:null,u=!ck(e.missingWarn)&&!QS(e.missingWarn)||e.missingWarn,d=!ck(e.fallbackWarn)&&!QS(e.fallbackWarn)||e.fallbackWarn,p=!!e.fallbackFormat,f=!!e.unresolving,h=sk(e.postTranslation)?e.postTranslation:null,m=fk(e.processor)?e.processor:null,g=!ck(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter,v=sk(e.messageCompiler)?e.messageCompiler:Yk,y=sk(e.onWarn)?e.onWarn:tk,b=e,w=uk(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,x=uk(b.__numberFormatters)?b.__numberFormatters:new Map,T=uk(b.__meta)?b.__meta:{};Gk++;return{version:t,cid:Gk,locale:n,fallbackLocale:r,messages:o,datetimeFormats:i,numberFormats:a,modifiers:s,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:d,fallbackFormat:p,unresolving:f,postTranslation:h,processor:m,warnHtmlMessage:g,escapeParameter:_,messageCompiler:v,onWarn:y,__datetimeFormatters:w,__numberFormatters:x,__meta:T}}function Jk(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(null!==i){const r=i(e,n,t,o);return lk(r)?r:t}return t}function Zk(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(n);if(!o){o=[];let e=[n];for(;ak(e);)e=Kk(o,e,t);const i=ak(t)?t:fk(t)?t.default?t.default:null:t;e=lk(i)?[i]:i,ak(e)&&Kk(o,e,!1),r.__localeChainCache.set(n,o)}return o}function Kk(e,t,n){let r=!0;for(let o=0;o<t.length&&ck(r);o++){const i=t[o];lk(i)&&(r=Qk(e,t[o],n))}return r}function Qk(e,t,n){let r;const o=t.split("-");do{r=eC(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===r);return r}function eC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(ak(n)||fk(n))&&n[o]&&(r=n[o])}return r}function tC(e,t,n){e.__localeChainCache=new Map,Zk(e,n,t)}const nC=e=>e;let rC=Object.create(null);function oC(e){return Lk(e,null,void 0)}const iC=()=>"",aC=e=>sk(e);function sC(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,fallbackLocale:i,messages:a}=e,[s,l]=cC(...t),c=(ck(l.missingWarn)?l.missingWarn:e.missingWarn,ck(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,ck(l.escapeParameter)?l.escapeParameter:e.escapeParameter),u=!!l.resolvedMessage,d=lk(l.default)||ck(l.default)?ck(l.default)?s:l.default:n?s:"",p=n||""!==d,f=lk(l.locale)?l.locale:e.locale;c&&function(e){ak(e.list)?e.list=e.list.map((e=>lk(e)?rk(e):e)):uk(e.named)&&Object.keys(e.named).forEach((t=>{lk(e.named[t])&&(e.named[t]=rk(e.named[t]))}))}(l);let[h,m,g]=u?[s,f,a[f]||{}]:function(e,t,n,r,o,i){const{messages:a,onWarn:s}=e,l=Zk(e,r,n);let c,u={},d=null;const p="translate";for(let f=0;f<l.length&&(c=l[f],u=a[c]||{},null===(d=xk(u,t))&&(d=u[t]),!lk(d)&&!sk(d));f++){const n=Jk(e,t,c,0,p);n!==t&&(d=n)}return[d,c,u]}(e,s,f,i),_=s;if(u||lk(h)||aC(h)||p&&(h=d,_=h),!(u||(lk(h)||aC(h))&&lk(m)))return o?-1:s;let v=!1;const y=aC(h)?h:lC(e,s,m,h,_,(()=>{v=!0}));if(v)return h;const b=function(e,t,n,r){const{modifiers:o,pluralRules:i}=e,a=r=>{const o=xk(n,r);if(lk(o)){let n=!1;const i=lC(e,r,t,o,r,(()=>{n=!0}));return n?iC:i}return aC(o)?o:iC},s={locale:t,modifiers:o,pluralRules:i,messages:a};e.processor&&(s.processor=e.processor);r.list&&(s.list=r.list);r.named&&(s.named=r.named);KS(r.plural)&&(s.pluralIndex=r.plural);return s}(e,m,g,l),w=function(e,t,n){return t(n)}(0,y,Ok(b));return r?r(w):w}function lC(e,t,n,r,o,i){const{messageCompiler:a,warnHtmlMessage:s}=e;if(aC(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}const l=a(r,function(e,t,n,r,o,i){return{warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>((e,t,n)=>ZS({l:e,k:t,s:n}))(t,n,e)}}(0,n,o,0,s,i));return l.locale=n,l.key=t,l.source=r,l}function cC(...e){const[t,n,r]=e,o={};if(!lk(t)&&!KS(t)&&!aC(t))throw oC(14);const i=KS(t)?String(t):(aC(t),t);return KS(n)?o.plural=n:lk(n)?o.default=n:fk(n)&&!ek(n)?o.named=n:ak(n)&&(o.list=n),KS(r)?o.plural=r:lk(r)?o.default=r:fk(r)&&nk(o,r),[i,o]}function uC(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i}=e,{__datetimeFormatters:a}=e,[s,l,c,u]=dC(...t);ck(c.missingWarn)?c.missingWarn:e.missingWarn;ck(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,p=lk(c.locale)?c.locale:e.locale,f=Zk(e,o,p);if(!lk(s)||""===s)return new Intl.DateTimeFormat(p).format(l);let h,m={},g=null;for(let y=0;y<f.length&&(h=f[y],m=n[h]||{},g=m[s],!fk(g));y++)Jk(e,s,h,0,"datetime format");if(!fk(g)||!lk(h))return r?-1:s;let _=`${h}__${s}`;ek(u)||(_=`${_}__${JSON.stringify(u)}`);let v=a.get(_);return v||(v=new Intl.DateTimeFormat(h,nk({},g,u)),a.set(_,v)),d?v.formatToParts(l):v.format(l)}function dC(...e){const[t,n,r,o]=e;let i,a={},s={};if(lk(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw oC(16);i=new Date(t);try{i.toISOString()}catch(jS){throw oC(16)}}else if("[object Date]"===pk(t)){if(isNaN(t.getTime()))throw oC(15);i=t}else{if(!KS(t))throw oC(14);i=t}return lk(n)?a.key=n:fk(n)&&(a=n),lk(r)?a.locale=r:fk(r)&&(s=r),fk(o)&&(s=o),[a.key||"",i,a,s]}function pC(e,t,n){const r=e;for(const o in n){const e=`${t}__${o}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function fC(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i}=e,{__numberFormatters:a}=e,[s,l,c,u]=hC(...t);ck(c.missingWarn)?c.missingWarn:e.missingWarn;ck(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,p=lk(c.locale)?c.locale:e.locale,f=Zk(e,o,p);if(!lk(s)||""===s)return new Intl.NumberFormat(p).format(l);let h,m={},g=null;for(let y=0;y<f.length&&(h=f[y],m=n[h]||{},g=m[s],!fk(g));y++)Jk(e,s,h,0,"number format");if(!fk(g)||!lk(h))return r?-1:s;let _=`${h}__${s}`;ek(u)||(_=`${_}__${JSON.stringify(u)}`);let v=a.get(_);return v||(v=new Intl.NumberFormat(h,nk({},g,u)),a.set(_,v)),d?v.formatToParts(l):v.format(l)}function hC(...e){const[t,n,r,o]=e;let i={},a={};if(!KS(t))throw oC(14);const s=t;return lk(n)?i.key=n:fk(n)&&(i=n),lk(r)?i.locale=r:fk(r)&&(a=r),fk(o)&&(a=o),[i.key||"",s,i,a]}function mC(e,t,n){const r=e;for(const o in n){const e=`${t}__${o}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}
  60. /*!
  61. * vue-i18n v9.1.9
  62. * (c) 2021 kazuya kawaguchi
  63. * Released under the MIT License.
  64. */function gC(e,...t){return Lk(e,null,void 0)}const _C=JS("__transrateVNode"),vC=JS("__datetimeParts"),yC=JS("__numberParts"),bC=JS("__setPluralRules"),wC=JS("__injectWithOption");let xC=0;function TC(e){return(t,n,r,o)=>e(n,r,xi()||void 0,o)}function SC(e,t){const{messages:n,__i18n:r}=t,o=fk(n)?n:ak(r)?{}:{[e]:{}};if(ak(r)&&r.forEach((({locale:e,resource:t})=>{e?(o[e]=o[e]||{},CC(t,o[e])):CC(t,o)})),t.flatJson)for(const i in o)ik(o,i)&&Tk(o[i]);return o}const kC=e=>!uk(e)||ak(e);function CC(e,t){if(kC(e)||kC(t))throw gC(20);for(const n in e)ik(e,n)&&(kC(e[n])||kC(t[n])?t[n]=e[n]:CC(e[n],t[n]))}function EC(e={}){const{__root:t}=e,n=void 0===t;let r=!ck(e.inheritLocale)||e.inheritLocale;const o=sn(t&&r?t.locale.value:lk(e.locale)?e.locale:"en-US"),i=sn(t&&r?t.fallbackLocale.value:lk(e.fallbackLocale)||ak(e.fallbackLocale)||fk(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o.value),a=sn(SC(o.value,e)),s=sn(fk(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),l=sn(fk(e.numberFormats)?e.numberFormats:{[o.value]:{}});let c=t?t.missingWarn:!ck(e.missingWarn)&&!QS(e.missingWarn)||e.missingWarn,u=t?t.fallbackWarn:!ck(e.fallbackWarn)&&!QS(e.fallbackWarn)||e.fallbackWarn,d=t?t.fallbackRoot:!ck(e.fallbackRoot)||e.fallbackRoot,p=!!e.fallbackFormat,f=sk(e.missing)?e.missing:null,h=sk(e.missing)?TC(e.missing):null,m=sk(e.postTranslation)?e.postTranslation:null,g=!ck(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter;const v=t?t.modifiers:fk(e.modifiers)?e.modifiers:{};let y,b=e.pluralRules||t&&t.pluralRules;y=Xk({version:"9.1.9",locale:o.value,fallbackLocale:i.value,messages:a.value,datetimeFormats:s.value,numberFormats:l.value,modifiers:v,pluralRules:b,missing:null===h?void 0:h,missingWarn:c,fallbackWarn:u,fallbackFormat:p,unresolving:!0,postTranslation:null===m?void 0:m,warnHtmlMessage:g,escapeParameter:_,__datetimeFormatters:fk(y)?y.__datetimeFormatters:void 0,__numberFormatters:fk(y)?y.__numberFormatters:void 0,__v_emitter:fk(y)?y.__v_emitter:void 0,__meta:{framework:"vue"}}),tC(y,o.value,i.value);const w=$i({get:()=>o.value,set:e=>{o.value=e,y.locale=o.value}}),x=$i({get:()=>i.value,set:e=>{i.value=e,y.fallbackLocale=i.value,tC(y,o.value,e)}}),T=$i((()=>a.value)),S=$i((()=>s.value)),k=$i((()=>l.value));function C(e,n,r,c,u,p){let f;if(o.value,i.value,a.value,s.value,l.value,f=e(y),KS(f)&&-1===f){const[e,r]=n();return t&&d?c(t):u(e)}if(p(f))return f;throw gC(14)}function E(...e){return C((t=>sC(t,...e)),(()=>cC(...e)),0,(t=>t.t(...e)),(e=>e),(e=>lk(e)))}const P={normalize:function(e){return e.map((e=>lk(e)?ci(Ho,null,e,0):e))},interpolate:e=>e,type:"vnode"};function O(e){return a.value[e]||{}}xC++,t&&(ir(t.locale,(e=>{r&&(o.value=e,y.locale=e,tC(y,o.value,i.value))})),ir(t.fallbackLocale,(e=>{r&&(i.value=e,y.fallbackLocale=e,tC(y,o.value,i.value))})));return{id:xC,locale:w,fallbackLocale:x,get inheritLocale(){return r},set inheritLocale(e){r=e,e&&t&&(o.value=t.locale.value,i.value=t.fallbackLocale.value,tC(y,o.value,i.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:T,datetimeFormats:S,numberFormats:k,get modifiers(){return v},get pluralRules(){return b||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(e){c=e,y.missingWarn=c},get fallbackWarn(){return u},set fallbackWarn(e){u=e,y.fallbackWarn=u},get fallbackRoot(){return d},set fallbackRoot(e){d=e},get fallbackFormat(){return p},set fallbackFormat(e){p=e,y.fallbackFormat=p},get warnHtmlMessage(){return g},set warnHtmlMessage(e){g=e,y.warnHtmlMessage=e},get escapeParameter(){return _},set escapeParameter(e){_=e,y.escapeParameter=e},t:E,rt:function(...e){const[t,n,r]=e;if(r&&!uk(r))throw gC(15);return E(t,n,nk({resolvedMessage:!0},r||{}))},d:function(...e){return C((t=>uC(t,...e)),(()=>dC(...e)),0,(t=>t.d(...e)),(()=>""),(e=>lk(e)))},n:function(...e){return C((t=>fC(t,...e)),(()=>hC(...e)),0,(t=>t.n(...e)),(()=>""),(e=>lk(e)))},te:function(e,t){return null!==xk(O(lk(t)?t:o.value),e)},tm:function(e){const n=function(e){let t=null;const n=Zk(y,i.value,o.value);for(let r=0;r<n.length;r++){const o=xk(a.value[n[r]]||{},e);if(null!=o){t=o;break}}return t}(e);return null!=n?n:t&&t.tm(e)||{}},getLocaleMessage:O,setLocaleMessage:function(e,t){a.value[e]=t,y.messages=a.value},mergeLocaleMessage:function(e,t){a.value[e]=a.value[e]||{},CC(t,a.value[e]),y.messages=a.value},getDateTimeFormat:function(e){return s.value[e]||{}},setDateTimeFormat:function(e,t){s.value[e]=t,y.datetimeFormats=s.value,pC(y,e,t)},mergeDateTimeFormat:function(e,t){s.value[e]=nk(s.value[e]||{},t),y.datetimeFormats=s.value,pC(y,e,t)},getNumberFormat:function(e){return l.value[e]||{}},setNumberFormat:function(e,t){l.value[e]=t,y.numberFormats=l.value,mC(y,e,t)},mergeNumberFormat:function(e,t){l.value[e]=nk(l.value[e]||{},t),y.numberFormats=l.value,mC(y,e,t)},getPostTranslationHandler:function(){return sk(m)?m:null},setPostTranslationHandler:function(e){m=e,y.postTranslation=e},getMissingHandler:function(){return f},setMissingHandler:function(e){null!==e&&(h=TC(e)),f=e,y.missing=h},[_C]:function(...e){return C((t=>{let n;const r=t;try{r.processor=P,n=sC(r,...e)}finally{r.processor=null}return n}),(()=>cC(...e)),0,(t=>t[_C](...e)),(e=>[ci(Ho,null,e,0)]),(e=>ak(e)))},[yC]:function(...e){return C((t=>fC(t,...e)),(()=>hC(...e)),0,(t=>t[yC](...e)),(()=>[]),(e=>lk(e)||ak(e)))},[vC]:function(...e){return C((t=>uC(t,...e)),(()=>dC(...e)),0,(t=>t[vC](...e)),(()=>[]),(e=>lk(e)||ak(e)))},[bC]:function(e){b=e,y.pluralRules=b},[wC]:e.__injectWithOption}}function PC(e={}){const t=EC(function(e){const t=lk(e.locale)?e.locale:"en-US",n=lk(e.fallbackLocale)||ak(e.fallbackLocale)||fk(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=sk(e.missing)?e.missing:void 0,o=!ck(e.silentTranslationWarn)&&!QS(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!ck(e.silentFallbackWarn)&&!QS(e.silentFallbackWarn)||!e.silentFallbackWarn,a=!ck(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=fk(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=sk(e.postTranslation)?e.postTranslation:void 0,d=!lk(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,f=!ck(e.sync)||e.sync;let h=e.messages;if(fk(e.sharedMessages)){const t=e.sharedMessages;h=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return nk(r,t[n]),e}),h||{})}const{__i18n:m,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats;return{locale:t,fallbackLocale:n,messages:h,flatJson:e.flatJson,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:p,inheritLocale:f,__i18n:m,__root:g,__injectWithOption:_}}(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return ck(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=ck(e)?!e:e},get silentFallbackWarn(){return ck(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=ck(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,o]=e,i={};let a=null,s=null;if(!lk(n))throw gC(15);const l=n;return lk(r)?i.locale=r:ak(r)?a=r:fk(r)&&(s=r),ak(o)?a=o:fk(o)&&(s=o),t.t(l,a||s||{},i)},rt:(...e)=>t.rt(...e),tc(...e){const[n,r,o]=e,i={plural:1};let a=null,s=null;if(!lk(n))throw gC(15);const l=n;return lk(r)?i.locale=r:KS(r)?i.plural=r:ak(r)?a=r:fk(r)&&(s=r),lk(o)?i.locale=o:ak(o)?a=o:fk(o)&&(s=o),t.t(l,a||s||{},i)},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>t.d(...e),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>t.n(...e),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1,__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:r}=e;r&&r(t,n)}};return n}const OC={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}},LC={name:"i18n-t",props:nk({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>KS(e)||!isNaN(e)}},OC),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||NC({useScope:e.scope,__useComponent:!0}),i=Object.keys(n).filter((e=>"_"!==e));return()=>{const n={};e.locale&&(n.locale=e.locale),void 0!==e.plural&&(n.plural=lk(e.plural)?+e.plural:e.plural);const a=function({slots:e},t){return 1===t.length&&"default"===t[0]?e.default?e.default():[]:t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(t,i),s=o[_C](e.keypath,a,n),l=nk({},r);return lk(e.tag)||uk(e.tag)?Ii(e.tag,l,s):Ii(Uo,l,s)}}};function AC(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let a={};e.locale&&(t.locale=e.locale),lk(e.format)?t.key=e.format:uk(e.format)&&(lk(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?nk({},t,{[r]:e.format[r]}):t),{}));const s=r(e.value,t,a);let l=[t.key];ak(s)?l=s.map(((e,t)=>{const n=o[e.type];return n?n({[e.type]:e.value,index:t,parts:s}):[e.value]})):lk(s)&&(l=[s]);const c=nk({},i);return lk(e.tag)||uk(e.tag)?Ii(e.tag,c,l):Ii(Uo,c,l)}}const MC=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],$C={name:"i18n-n",props:nk({value:{type:Number,required:!0},format:{type:[String,Object]}},OC),setup(e,t){const n=e.i18n||NC({useScope:"parent",__useComponent:!0});return AC(e,t,MC,((...e)=>n[yC](...e)))}},IC=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],RC={name:"i18n-d",props:nk({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},OC),setup(e,t){const n=e.i18n||NC({useScope:"parent",__useComponent:!0});return AC(e,t,IC,((...e)=>n[vC](...e)))}};function jC(e){const t=(t,{instance:n,value:r,modifiers:o})=>{if(!n||!n.$)throw gC(22);const i=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),a=function(e){if(lk(e))return{path:e};if(fk(e)){if(!("path"in e))throw gC(19);return e}throw gC(20)}(r);t.textContent=i.t(...function(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,a={},s=r||{};lk(n)&&(a.locale=n);KS(o)&&(a.plural=o);KS(i)&&(a.plural=i);return[t,s,a]}(a))};return{beforeMount:t,beforeUpdate:t}}function DC(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[bC](t.pluralizationRules||e.pluralizationRules);const n=SC(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}function NC(e={}){const t=xi();if(null==t)throw gC(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw gC(17);const n=ko(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw gC(22);const r="composition"===n.mode?n.global:n.global.__composer,o=ek(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if("global"===o){let n=uk(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(n=SC(r.locale.value,{messages:n,__i18n:t.type.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((e=>{r.mergeLocaleMessage(e,n[e])})),uk(e.datetimeFormats)){const t=Object.keys(e.datetimeFormats);t.length&&t.forEach((t=>{r.mergeDateTimeFormat(t,e.datetimeFormats[t])}))}if(uk(e.numberFormats)){const t=Object.keys(e.numberFormats);t.length&&t.forEach((t=>{r.mergeNumberFormat(t,e.numberFormats[t])}))}return r}if("parent"===o){let o=function(e,t,n=!1){let r=null;const o=t.root;let i=t.parent;for(;null!=i;){const t=e;if("composition"===e.mode)r=t.__getInstance(i);else{const e=t.__getInstance(i);null!=e&&(r=e.__composer),n&&r&&!r[wC]&&(r=null)}if(null!=r)break;if(o===i)break;i=i.parent}return r}(n,t,e.__useComponent);return null==o&&(o=r),o}if("legacy"===n.mode)throw gC(18);const i=n;let a=i.__getInstance(t);if(null==a){const n=t.type,o=nk({},e);n.__i18n&&(o.__i18n=n.__i18n),r&&(o.__root=r),a=EC(o),function(e,t,n){qr((()=>{}),t),Yr((()=>{e.__deleteInstance(t)}),t)}(i,t),i.__setInstance(t,a)}return a}const BC=["locale","fallbackLocale","availableLocales"],FC=["t","rt","d","n","tm"];Yk=function(e,t={}){{const n=(t.onCacheKey||nC)(e),r=rC[n];if(r)return r;let o=!1;const i=t.onError||Ak;t.onError=e=>{o=!0,i(e)};const{code:a}=Hk(e,t),s=new Function(`return ${a}`)();return o?s:rC[n]=s}};const WC=sn("zh-Hans");v_("userLanguage",WC.value);const VC=function(e={}){const t=!ck(e.legacy)||e.legacy,n=!!e.globalInjection,r=new Map,o=t?PC(e):EC(e),i=JS(""),a={get mode(){return t?"legacy":"composition"},async install(e,...r){e.__VUE_I18N_SYMBOL__=i,e.provide(e.__VUE_I18N_SYMBOL__,a),!t&&n&&function(e,t){const n=Object.create(null);BC.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw gC(22);const o=an(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,FC.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw gC(22);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}))}(e,a.global),function(e,t,...n){const r=fk(n[0])?n[0]:{},o=!!r.useI18nComponentName;(!ck(r.globalInstall)||r.globalInstall)&&(e.component(o?"i18n":LC.name,LC),e.component($C.name,$C),e.component(RC.name,RC)),e.directive("t",jC(t))}(e,a,...r),t&&e.mixin(function(e,t,n){return{beforeCreate(){const r=xi();if(!r)throw gC(22);const o=this.$options;if(o.i18n){const n=o.i18n;o.__i18n&&(n.__i18n=o.__i18n),n.__root=t,this===this.$root?this.$i18n=DC(e,n):(n.__injectWithOption=!0,this.$i18n=PC(n))}else o.__i18n?this===this.$root?this.$i18n=DC(e,o):this.$i18n=PC({__i18n:o.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){},beforeUnmount(){const e=xi();if(!e)throw gC(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}(o,o.__composer,a))},get global(){return o},__instances:r,__getInstance:e=>r.get(e)||null,__setInstance(e,t){r.set(e,t)},__deleteInstance(e){r.delete(e)}};return a}({locale:WC.value,fallbackLocale:"zh-Hans",messages:{en:Ky,"zh-Hans":yb}});async function qC(e){WC.value=e,v_("userLanguage",e),Tp(e),location.reload()}function zC(e,t){return VC.global.t(e,t)}function UC(e,t=!1){return WS.number(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${Od(parseInt(e))}px`:Number(Od(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function HC(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))}function YC(){return m_().platform.toLowerCase()}function GC(){return m_()}function XC(e=32,t=!0,n=null){const r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(n=n||r.length,e)for(let i=0;i<e;i++)o[i]=r[0|Math.random()*n];else{let e;o[8]=o[13]=o[18]=o[23]="-",o[14]="4";for(let t=0;t<36;t++)o[t]||(e=0|16*Math.random(),o[t]=r[19==t?3&e|8:e])}return t?(o.shift(),`u${o.join("")}`):o.join("")}function JC(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function ZC(e,t="object"){if(WS.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=nE(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const r=t[e].split(":");n[nE(r[0])]=nE(r[1])}return n}let n="";for(const r in e){n+=`${r.replace(/([A-Z])/g,"-$1").toLowerCase()}:${e[r]};`}return nE(n)}function KC(e="auto",t="px"){return e=String(e),WS.number(e)?`${e}${t}`:e}function QC(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=WS.array(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?QC(e[n]):e[n]);return t}function eE(e={},t={}){if("object"!=typeof(e=QC(e))||"object"!=typeof t)return!1;for(const n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=eE(e[n],t[n]):e[n]=t[n]);return e}function tE(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(null==e?void 0:e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const r={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const o in r){const[e]=new RegExp(`${o}+`).exec(t)||[];if(e){const n="y"===o&&2===e.length?2:0;t=t.replace(e,r[o].slice(n))}}return t}function nE(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function rE(e,t=2e3){Av({title:String(e),icon:"none",duration:t})}function oE(){let e="";return e=location.origin+"/",""!==location.hash&&(e+="#/"),e}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const r=e-n.length;let o=Math.ceil(r/t.length);for(;o>>=1;)t+=t,1===o&&(t+=t);return t.slice(0,r)+n});const iE={range:function(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))},getPx:UC,sleep:HC,os:YC,sys:GC,random:function(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},guid:XC,$parent:JC,addStyle:ZC,addUnit:KC,deepClone:QC,deepMerge:eE,error:function(e){},randomArray:function(e=[]){return e.sort((()=>Math.random()-.5))},timeFormat:tE,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let r="";switch(!0){case n<300:r=zC("common.just_now");break;case n>=300&&n<3600:r=zC("common.minutes_ago",{m:parseInt(n/60)});break;case n>=3600&&n<86400:r=zC("common.hours_ago",{h:parseInt(n/3600)});break;case n>=86400&&n<2592e3:r=zC("common.days_ago",{d:parseInt(n/86400)});break;default:r=!1===t?n>=2592e3&&n<31536e3?zC("common.months_ago",{m:parseInt(n/2592e3)}):zC("common.years_ago",{y:parseInt(n/31536e3)}):tE(e,t)}return r},trim:nE,queryParams:function(e={},t=!0,n="brackets"){const r=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const i in e){const t=e[i];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)o.push(`${i}[${n}]=${t[n]}`);break;case"brackets":default:t.forEach((e=>{o.push(`${i}[]=${e}`)}));break;case"repeat":t.forEach((e=>{o.push(`${i}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),o.push(`${i}=${e}`)}else o.push(`${i}=${t}`)}return o.length?r+o.join("&"):""},toast:rE,type2icon:function(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},priceFormat:function(e,t=0,n=".",r=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n;let l="";l=(i?function(e,t){const n=Math.pow(10,t);let r=GS(Math.round(Math.abs(YS(e,n))),n);return e<0&&0!==r&&(r=YS(r,-1)),r}(o,i)+"":`${Math.round(o)}`).split(".");const c=/(-?\d+)(\d{3})/;for(;c.test(l[0]);)l[0]=l[0].replace(c,`$1${a}$2`);return(l[1]||"").length<i&&(l[1]=l[1]||"",l[1]+=new Array(i-l[1].length+1).join("0")),l.join(s)},getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:function(e){return`00${e}`.slice(-2)},getProperty:function(e,t){if(e){if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let r=e[n[0]]||{};for(let e=1;e<n.length;e++)r&&(r=r[n[e]]);return r}return e[t]}},setProperty:function(e,t,n){if(!e)return;const r=function(e,t,n){if(1!==t.length)for(;t.length>1;){const o=t[0];e[o]&&"object"==typeof e[o]||(e[o]={}),t.shift(),r(e[o],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const o=t.split(".");r(e,o,n)}else e[t]=n},page:function(){var e;const t=_g();return`/${(null==(e=t[t.length-1])?void 0:e.route)??""}`},pages:function(){return _g()},test:WS,getRootUrl:oE,copyText:function(e){var t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("Copy"),t.className="createInput",t.style.display="none",rE(zC("common.copy_success"))}},aE={login:e=>fO({url:"/member/auth/login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.logging_in"),successMsg:zC("common.login_success")}}),smsLogin:e=>fO({url:"/member/auth/sms-login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.logging_in"),successMsg:zC("common.login_success")}}),register:e=>fO({url:"/member/auth/sms-register",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.registering"),successMsg:zC("common.register_success")}}),verifyUsername:e=>fO({url:"/member/user/verifyUsername?username="+e,method:"GET"}),verifyPhone:(e,t)=>fO({url:"/member/user/getUserByUserNameWithMobile?username="+e+"&mobile="+t,method:"GET"}),sendSmsCode:(e,t)=>fO({url:"/member/auth/send-sms-code",method:"POST",data:{mobile:e,scene:t},custom:{loadingMsg:zC("common.sending"),showSuccess:!0,successMsg:zC("common.send_success")}}),validatePhone:(e,t,n)=>fO({url:"/member/auth/validate-sms-code",method:"POST",data:{mobile:e,code:t,scene:n}}),selectUsernameLogin:e=>fO({url:"/member/auth/select-username-login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.logging_in"),successMsg:zC("common.login_success")}}),officialRegister:e=>fO({url:"/member/auth/social-register",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.registering"),successMsg:zC("common.register_success")}}),OfficialEnterLogin:(e,t)=>fO({url:"/member/auth/social-login-validate-sms-code",method:"POST",data:{reqVO:e,registerReqVO:t}}),logout:()=>fO({url:"/member/auth/logout",method:"POST"}),refreshToken:e=>fO({url:"/member/auth/refresh-token",method:"POST",params:{refreshToken:e},custom:{loading:!1,showError:!1}}),socialAuthRedirect:(e,t)=>fO({url:"/member/auth/social-auth-redirect",method:"GET",params:{type:e,redirectUri:t},custom:{showSuccess:!0,loadingMsg:zC("common.logging_in")}}),socialLogin:(e,t,n)=>fO({url:"/member/auth/social-login",method:"POST",data:{type:e,code:t,state:n},custom:{showSuccess:!0,loadingMsg:zC("common.logging_in")}}),weixinMiniAppLogin:(e,t,n)=>fO({url:"/member/auth/weixin-mini-app-login",method:"POST",data:{phoneCode:e,loginCode:t,state:n},custom:{showSuccess:!0,loadingMsg:zC("common.logging_in"),successMsg:zC("common.login_success")}}),createWeixinMpJsapiSignature:e=>fO({url:"/member/auth/create-weixin-jsapi-signature",method:"POST",params:{url:e},custom:{showError:!1,showLoading:!1}}),getConsumerRedirectUrl:()=>fO({url:"/member/auth/redirectLogin",method:"GET"})},sE=Object.freeze(Object.defineProperty({__proto__:null,default:aE},Symbol.toStringTag,{value:"Module"}));let lE=!1;const cE={isWechat:()=>"micromessenger"==window.navigator.userAgent.toLowerCase().match(/micromessenger/i),isReady(e){NS.ready(e)},async init(e){if(!this.isWechat())return void iE.toast(zC("common.use_wechat_browser"));const t=location.href.split("#")[0],{code:n,data:r}=await aE.createWeixinMpJsapiSignature(t);0===n&&NS.config({debug:!1,appId:r.appId,timestamp:r.timestamp,nonceStr:r.nonceStr,signature:r.signature,jsApiList:["chooseWXPay","openAddress","checkJsApi","scanQRCode"],openTagList:r.openTagList}),console.log("appdata:",r),lE=!0,NS.error((e=>{lE=!1,console.error("微信 JSSDK 初始化失败",e)})),NS.ready((()=>{lE&&console.log("微信 JSSDK 初始化成功")})),NS.checkJsApi({jsApiList:["openAddress"],success:function(e){console.log(e)}}),e&&e(r)},getLocation(e){this.isReady((()=>{NS.getLocation({type:"gcj02",success:function(t){e(t)},fail:function(e){console.log("%c微信H5sdk,getLocation失败:","color:green;background:yellow")}})}))},openAddress(e){this.isReady((()=>{console.log("ready? go!"),NS.openAddress({success:function(t){e.success&&e.success(t)},fail:function(t){e.error&&e.error(t),console.log("微信H5sdk,openAddress失败,原因是:",t)},complete:function(e){}})}))},scanQRCode(e){this.isReady((()=>{NS.scanQRCode({needResult:1,scanType:["qrCode","barCode"],success:function(t){e(t)},fail:function(e){console.log("%c微信H5sdk,scanQRCode失败:","color:green;background:yellow")}})}))},updateShareInfo(e,t=null){this.isReady((()=>{const n={title:e.title,desc:e.desc,link:e.link,imgUrl:e.image,success:function(e){t&&t(e)},cancel:function(e){}};NS.updateAppMessageShareData(n),NS.updateTimelineShareData(n)}))},openLocation(e,t){this.isReady((()=>{NS.openLocation({latitude:e.latitude,longitude:e.longitude})}))},chooseImage(e){this.isReady((()=>{NS.chooseImage({count:1,sizeType:["compressed"],sourceType:["album"],success:function(t){e(t)}})}))},wxpay(e,t){this.isReady((()=>{NS.chooseWXPay({timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.packageValue,signType:e.signType,paySign:e.paySign,success:function(e){t.success&&t.success(e)},fail:function(e){t.fail&&t.fail(e)},cancel:function(e){t.cancel&&t.cancel(e)}})}))}},uE={getSocialUser:e=>fO({url:"/member/social-user/get",method:"GET",params:{type:e},custom:{showLoading:!1}}),socialBind:(e,t,n)=>fO({url:"/member/social-user/bind",method:"POST",data:{type:e,code:t,state:n},custom:{custom:{showSuccess:!0,loadingMsg:zC("common.binding"),successMsg:zC("common.bind_success")}}}),socialUnbind:(e,t)=>fO({url:"/member/social-user/unbind",method:"DELETE",data:{type:e,openid:t},custom:{showLoading:!1,loadingMsg:zC("common.unbind"),successMsg:zC("common.unbind_success")}})},dE=Object.freeze(Object.defineProperty({__proto__:null,default:uE},Symbol.toStringTag,{value:"Module"}));var pE={exports:{}},fE=pE.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+_(r,2,"0")+":"+_(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:p,h:a,m:i,s:o,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=g;var w="$isDayjsObject",x=function(e){return e instanceof C||!(!e||!e[w])},T=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!r&&o&&(y=o),o||!r&&y},S=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},k=v;k.l=T,k.i=x,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function g(e){this.$L=T(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return k},_.isValid=function(){return!(this.$d.toString()===f)},_.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return S(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<S(e)},_.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),f=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,_=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case d:return r?f(1,0):f(31,11);case c:return r?f(1,g):f(0,g+1);case l:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return f(r?_-b:_+(6-b),g);case s:case p:return h(v+"Hours",0);case a:return h(v+"Minutes",1);case i:return h(v+"Seconds",2);case o:return h(v+"Milliseconds",3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,l=k.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[s]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],h=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[k.p(e)]()},_.add=function(r,u){var p,f=this;r=Number(r);var h=k.p(u),m=function(e){var t=S(f);return k.w(t.date(t.date()+Math.round(e*r)),f)};if(h===c)return this.set(c,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===s)return m(1);if(h===l)return m(7);var g=(p={},p[i]=t,p[a]=n,p[o]=e,p)[h]||1,_=this.$d.getTime()+r*g;return k.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},p=function(e){return k.s(i%12||12,e,"0")},h=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,p,f){var h,m=this,g=k.p(p),_=S(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return k.m(m,_)};switch(g){case d:h=b()/12;break;case c:h=b();break;case u:h=b()/3;break;case l:h=(y-v)/6048e5;break;case s:h=(y-v)/864e5;break;case a:h=y/n;break;case i:h=y/t;break;case o:h=y/e;break;default:h=y}return f?h:k.a(h)},_.daysInMonth=function(){return this.endOf(c).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=T(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return k.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),E=C.prototype;return S.prototype=E,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",p]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,C,S),e.$i=!0),S},S.locale=T,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=b[y],S.Ls=b,S.p={},S}();const hE=OS(fE),mE={getSignInConfigList:()=>fO({url:"/member/sign-in/config/list",method:"GET"}),getSignInRecordSummary:()=>fO({url:"/member/sign-in/record/get-summary",method:"GET"}),getOwnSignInMoon:e=>fO({url:"/member/sign-in/record/get-own-signInMoon",method:"GET",params:e}),createSignInRecord:()=>fO({url:"/distri/user-sign-in-log/create",method:"POST"}),getSignRecordPage:e=>{console.log(e);const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/member/sign-in/record/page?${t}`,method:"GET"})}},gE=Object.freeze(Object.defineProperty({__proto__:null,default:mE},Symbol.toStringTag,{value:"Module"}));let _E=30,vE=null;async function yE(){const{code:e,data:t}=await mE.createSignInRecord();var n;0===e&&(n=t,tO("modal").$patch((e=>{e.signUp=!0,e.signUpInfo=n}))),vE&&clearInterval(vE),v_("isRun",!1),v_("isSign",!0)}function bE(){const e=(new Date).toISOString().slice(0,10);e!==w_("lastCheckDate")&&(v_("isSign",!1),v_("lastCheckDate",e))}function wE(){bE();const e=$i((()=>IL.$store("user").isLogin));e.value&&(v_("isRun",!0),w_("isRun")&&!w_("isSign")&&(vE=setInterval((()=>{_E--,!w_("isSign")&&e.value||xE(),_E<=0&&!w_("isSign")&&(clearInterval(vE),yE())}),1e3)))}function xE(){vE&&clearInterval(vE),_E=30,v_("isRun",!1)}function TE(){tO("modal").$patch((e=>{e.signUp=!1}))}function SE(e){tO("modal").$patch((t=>{t.getWallet=!0,t.getWalletInfo=e}))}function kE(){tO("modal").$patch((e=>{e.getWallet=!1}))}function CE(){tO("modal").$patch((e=>{e.subscribe=!1}))}function EE(e="accountLogin",t="accountLogin"){const n=tO("modal");""!==n.auth?(PE(),setTimeout((()=>{n.$patch((n=>{n.auth=e,n.isActive=t}))}),100)):n.$patch((n=>{n.auth=e,n.isActive=t}))}function PE(){tO("modal").$patch((e=>{e.auth=""}))}function OE(e=0){tO("modal").$patch((t=>{t.share=!0,t.shareInfo.spuId=e}))}function LE(){tO("modal").$patch((e=>{e.share=!1}))}function AE(){tO("modal").$patch((e=>{e.menu=!0}))}function ME(){tO("modal").$patch((e=>{e.menu=!1}))}function $E(e,t){const n=tO("modal"),r=n.lastTimer[e];if(void 0===r)return void iE.toast(zC("common.sms_error"));if(!(hE().unix()-r>=60))return void iE.toast(zC("common.try_later"));if(t&&!WS.mobile(t))return void iE.toast(zC("common.phone_format_error"));let o=-1;switch(e){case"resetPassword":o=4;break;case"changePassword":o=3;break;case"changeMobileOld":o=2;break;case"changeMobileNew":o=5;break;case"smsLogin":o=1;break;case"consumptionTransfers":o=11;break;case"zeroBuy":o=12}aE.sendSmsCode(t,o).then((t=>{0===t.code&&n.$patch((t=>{t.lastTimer[e]=hE().unix()}))}))}function IE(e,t=""){const n=tO("modal").lastTimer[e];if(void 0===n)return void iE.toast(zC("common.sms_error"));const r=sn(hE().unix()-n-60),o=r.value>=0;return o?zC("common.get_verification_code"):o?void 0:(setTimeout((()=>{r.value++}),1e3),-r.value.toString()+" s")}function RE(e){tO("modal").$patch((t=>{t.advHistory.includes(e.imgUrl)||t.advHistory.push(e.imgUrl)}))}async function jE(e="login"){const t=oE()+"pages/index/login?event="+e,{code:n,data:r}=await aE.socialAuthRedirect(31,t);if(0===n)return r}function DE(e){v_("openid",e)}async function NE(){const{code:e,data:t}=await uE.getSocialUser(31);if(0===e)return t}const BE={load:async function(){cE.init()},login:async function(e="",t=""){if(e){const n=await aE.socialLogin(31,e,t);if(0===n.code)return DE(n.data.openid),n}else{const e=await jE();e&&(v_("returnUrl",location.href),window.location=e)}return!1},register:async function(e="",t=""){if(e){const n=w_("linkId");console.log("official linkId",n);const r=await aE.officialRegister({linkId:n,type:31,code:e,state:t});if(0===r.code)return DE(r.data.openid),r}else{const e=await jE("register");e&&(v_("returnUrl",location.href),window.location=e)}return!1},bind:async function(e="",t=""){if(""===e){const e=await jE("bind");e&&(v_("returnUrl",location.href),window.location=e)}else{const n=await uE.socialBind(31,e,t);if(0===n.code)return DE(n.data),n}return!1},unbind:async e=>{const{code:t}=await uE.socialUnbind(31,e);return 0===t&&x_("openid"),0===t},getInfo:NE,getOpenid:async function(e=!1){let t=w_("openid");if(!t&&e){const e=await NE();e&&e.openid&&(t=e.openid,DE(t))}return t},jssdk:cE};let FE={};"undefined"!=typeof service&&(FE=service);const WE=FE;let VE;function qE(e,t=500,n=!0){n?VE||(VE=!0,"function"==typeof e&&e(),setTimeout((()=>{VE=!1}),t)):VE||(VE=!0,setTimeout((()=>{VE=!1,"function"==typeof e&&e()}),t))}var zE={"/pages/index/FirstIndex":{path:"/pages/index/FirstIndex",aliasPath:"/",meta:{auth:!1,sync:!0,title:"首页",group:"商城"}},"/pages/index/FirstActivity":{path:"/pages/index/FirstActivity",meta:{auth:!1,sync:!0,title:"活动",group:"商城"}},"/pages/index/FirstMerchant":{path:"/pages/index/FirstMerchant",meta:{auth:!1,sync:!0,title:"视频",group:"商城"}},"/pages/index/FirstVideo":{path:"/pages/index/FirstVideo",meta:{auth:!1,sync:!0,title:"视频",group:"商城"}},"/pages/index/FirstList":{path:"/pages/index/FirstList",meta:{auth:!1,sync:!0,title:"列表",group:"商城"}},"/pages/index/index":{path:"/pages/index/index",meta:{auth:!1,sync:!0,title:"首页",group:"商城"}},"/pages/index/user":{path:"/pages/index/user",meta:{sync:!0,title:"个人中心",group:"商城"}},"/pages/index/category":{path:"/pages/index/category",meta:{sync:!0,title:"商品分类",group:"商城"}},"/pages/index/cart":{path:"/pages/index/cart",meta:{sync:!0,title:"购物车",group:"商城"}},"/pages/index/login":{path:"/pages/index/login"},"/pages/index/search":{path:"/pages/index/search",meta:{sync:!0,title:"搜索",group:"商城"}},"/pages/index/page":{path:"/pages/index/page",meta:{auth:!1,sync:!0,title:"自定义页面",group:"商城"}},"/pages/goods/index":{path:"/pages/goods/index",meta:{sync:!0,title:"普通商品",group:"商品"}},"/pages/goods/groupon":{path:"/pages/goods/groupon",meta:{sync:!0,title:"拼团商品",group:"商品"}},"/pages/goods/seckill":{path:"/pages/goods/seckill",meta:{sync:!0,title:"秒杀商品",group:"商品"}},"/pages/goods/list":{path:"/pages/goods/list",meta:{sync:!0,title:"商品列表",group:"商品"}},"/pages/goods/comment/add":{path:"/pages/goods/comment/add",meta:{auth:!0}},"/pages/goods/comment/list":{path:"/pages/goods/comment/list"},"/pages/order/detail":{path:"/pages/order/detail",meta:{auth:!0,title:"订单详情"}},"/pages/order/confirm":{path:"/pages/order/confirm",meta:{auth:!0,title:"确认订单"}},"/pages/order/list":{path:"/pages/order/list",meta:{auth:!0,sync:!0,title:"用户订单",group:"订单中心"}},"/pages/order/aftersale/apply":{path:"/pages/order/aftersale/apply",meta:{auth:!0,title:"申请售后"}},"/pages/order/aftersale/return-delivery":{path:"/pages/order/aftersale/return-delivery",meta:{auth:!0,title:"退货物流"}},"/pages/order/aftersale/list":{path:"/pages/order/aftersale/list",meta:{auth:!0,sync:!0,title:"售后订单",group:"订单中心"}},"/pages/order/aftersale/detail":{path:"/pages/order/aftersale/detail",meta:{auth:!0,title:"售后详情"}},"/pages/order/aftersale/log":{path:"/pages/order/aftersale/log",meta:{auth:!0,title:"售后进度"}},"/pages/order/express/log":{path:"/pages/order/express/log",meta:{auth:!0,title:"物流轨迹"}},"/pages/order/otherlist":{path:"/pages/order/otherlist"},"/pages/user/info":{path:"/pages/user/info",meta:{auth:!0,sync:!0,title:"用户信息",group:"用户中心"}},"/pages/user/setting":{path:"/pages/user/setting",meta:{auth:!0,sync:!0,title:"用户设置",group:"用户中心"}},"/pages/user/qrcode-share":{path:"/pages/user/qrcode-share",meta:{auth:!0,sync:!0,title:"我的二维码/分享页",group:"用户中心"}},"/pages/user/goods-collect":{path:"/pages/user/goods-collect",meta:{auth:!0,sync:!0,title:"商品收藏",group:"用户中心"}},"/pages/user/goods-log":{path:"/pages/user/goods-log",meta:{auth:!0,sync:!0,title:"浏览记录",group:"用户中心"}},"/pages/user/address/list":{path:"/pages/user/address/list",meta:{auth:!0,sync:!0,title:"地址管理",group:"用户中心"}},"/pages/user/dummyAddress/list":{path:"/pages/user/dummyAddress/list",meta:{auth:!0,sync:!0,title:"虚拟商品收货地址",group:"用户中心"}},"/pages/user/invoice/edit":{path:"/pages/user/invoice/edit",meta:{auth:!0,title:"发票抬头"}},"/pages/user/invoice/list":{path:"/pages/user/invoice/list",meta:{auth:!0,sync:!0,title:"发票抬头管理",group:"用户中心"}},"/pages/user/address/edit":{path:"/pages/user/address/edit",meta:{auth:!0,title:"编辑地址"}},"/pages/user/dummyAddress/edit":{path:"/pages/user/dummyAddress/edit",meta:{auth:!0,title:"编辑地址"}},"/pages/user/wallet/money":{path:"/pages/user/wallet/money",meta:{auth:!0,sync:!0,title:"用户余额",group:"用户中心"}},"/pages/user/wallet/score":{path:"/pages/user/wallet/score",meta:{auth:!0,sync:!0,title:"钱包",group:"用户中心"}},"/pages/user/wallet/consumptionLog":{path:"/pages/user/wallet/consumptionLog",meta:{auth:!0,sync:!0,title:"消费分来源",group:"用户中心"}},"/pages/user/wallet/topupConsumptionPoints":{path:"/pages/user/wallet/topupConsumptionPoints",meta:{auth:!0,sync:!0,title:"消费分充值",group:"用户中心"}},"/pages/user/wallet/consumptionTransfersLog":{path:"/pages/user/wallet/consumptionTransfersLog",meta:{auth:!0,sync:!0,title:"消费分转账",group:"用户中心"}},"/pages/user/wallet/consumptionTransfers":{path:"/pages/user/wallet/consumptionTransfers",meta:{auth:!0,sync:!0,title:"消费分转让",group:"用户中心"}},"/pages/user/wallet/scoreToConsumption":{path:"/pages/user/wallet/scoreToConsumption",meta:{auth:!0,sync:!0,title:"佣金转消费分",group:"用户中心"}},"/pages/user/wallet/withdraw":{path:"/pages/user/wallet/withdraw",meta:{auth:!0,sync:!0,title:"提现",group:"提现"}},"/pages/user/wallet/withdrawalLog":{path:"/pages/user/wallet/withdrawalLog",meta:{auth:!0,sync:!0,title:"提现记录",group:"提现记录"}},"/pages/user/wallet/scoreToMoney":{path:"/pages/user/wallet/scoreToMoney",meta:{auth:!0,sync:!0,title:"佣金兑换",group:"用户中心"}},"/pages/user/wallet/ScoreLog":{path:"/pages/user/wallet/ScoreLog"},"/pages/user/wallet/maxScoreLog":{path:"/pages/user/wallet/maxScoreLog"},"/pages/user/wallet/team":{path:"/pages/user/wallet/team",meta:{auth:!0,sync:!0,title:"团队",group:"用户中心"}},"/pages/commission/index":{path:"/pages/commission/index",meta:{auth:!0,sync:!0,title:"分销中心",group:"分销商城"}},"/pages/commission/wallet":{path:"/pages/commission/wallet",meta:{auth:!0,sync:!0,title:"用户佣金",group:"分销中心"}},"/pages/commission/goods":{path:"/pages/commission/goods",meta:{auth:!0,sync:!0,title:"推广商品",group:"分销商城"}},"/pages/commission/order":{path:"/pages/commission/order",meta:{auth:!0,sync:!0,title:"分销订单",group:"分销商城"}},"/pages/commission/team":{path:"/pages/commission/team",meta:{auth:!0,sync:!0,title:"我的团队",group:"分销商城"}},"/pages/commission/promoter":{path:"/pages/commission/promoter",meta:{auth:!0,sync:!0,title:"推广人排行榜",group:"分销商城"}},"/pages/commission/commission-ranking":{path:"/pages/commission/commission-ranking",meta:{auth:!0,sync:!0,title:"佣金排行榜",group:"分销商城"}},"/pages/commission/withdraw":{path:"/pages/commission/withdraw",meta:{auth:!0,sync:!0,title:"申请提现",group:"分销商城"}},"/pages/app/sign":{path:"/pages/app/sign",meta:{auth:!0,sync:!0,title:"签到中心",group:"应用"}},"/pages/shop/index":{path:"/pages/shop/index",meta:{auth:!0,sync:!0,title:"店铺首页",group:"应用"}},"/pages/shop/category":{path:"/pages/shop/category",meta:{auth:!0,sync:!0,title:"店铺分类",group:"应用"}},"/pages/shop/allproduct":{path:"/pages/shop/allproduct",meta:{auth:!0,sync:!0,title:"所有商品",group:"应用"}},"/pages/public/setting":{path:"/pages/public/setting",meta:{sync:!0,title:"系统设置",group:"通用"}},"/pages/public/richtext":{path:"/pages/public/richtext",meta:{sync:!0,title:"富文本",group:"通用"}},"/pages/public/faq":{path:"/pages/public/faq",meta:{sync:!0,title:"常见问题",group:"通用"}},"/pages/public/error":{path:"/pages/public/error"},"/pages/public/webview":{path:"/pages/public/webview"},"/pages/public/merchant":{path:"/pages/public/merchant"},"/pages/public/merchantApplyList":{path:"/pages/public/merchantApplyList"},"/pages/coupon/list":{path:"/pages/coupon/list",meta:{sync:!0,title:"领券中心",group:"优惠券"}},"/pages/coupon/detail":{path:"/pages/coupon/detail",meta:{auth:!1,sync:!0,title:"优惠券详情",group:"优惠券"}},"/pages/chat/index":{path:"/pages/chat/index",meta:{auth:!0,sync:!0,title:"客服",group:"客服"}},"/pages/chat/speechtotext":{path:"/pages/chat/speechtotext",meta:{auth:!0,sync:!0,title:"语音转文字",group:"语音转文字"}},"/pages/pay/index":{path:"/pages/pay/index"},"/pages/pay/result":{path:"/pages/pay/result"},"/pages/pay/resultYuan":{path:"/pages/pay/resultYuan"},"/pages/pay/recharge":{path:"/pages/pay/recharge",meta:{auth:!0,sync:!0,title:"充值余额",group:"支付"}},"/pages/pay/recharge-log":{path:"/pages/pay/recharge-log",meta:{auth:!0,sync:!0,title:"充值记录",group:"支付"}},"/pages/activity/groupon/detail":{path:"/pages/activity/groupon/detail"},"/pages/activity/groupon/order":{path:"/pages/activity/groupon/order",meta:{auth:!0,sync:!0,title:"拼团订单",group:"营销活动"}},"/pages/activity/index":{path:"/pages/activity/index",meta:{sync:!0,title:"营销商品",group:"营销活动"}},"/pages/activity/groupon/list":{path:"/pages/activity/groupon/list",meta:{sync:!0,title:"拼团活动",group:"营销活动"}},"/pages/activity/seckill/list":{path:"/pages/activity/seckill/list",meta:{sync:!0,title:"秒杀活动",group:"营销活动"}},"/pages/activity/bargain/list":{path:"/pages/activity/bargain/list",meta:{sync:!0,title:"砍价列表",group:"营销活动"}},"/pages/activity/bargain/detail":{path:"/pages/activity/bargain/detail",meta:{sync:!0,title:"砍价详情",group:"营销活动"}}},UE=["/pages/index/index","/pages/index/cart","/pages/index/user"];const HE=(e,t={},n={redirect:!1})=>{var r;let o="",i="",a="";if($S.isString(e)){if($S.startsWith(e,"http"))return void(window.location=e);if($S.startsWith(e,"action:"))return void function(e){if("showShareModal"===e.split(":")[1])OE()}(e);if([o,i]=e.split("?"),!$S.isEmpty(t)){let e=GE(t);$S.isEmpty(i)?i=e:i+="&"+e}}$S.isObject(e)&&(o=e.url,$S.isNil(e.params)||(i=GE(e.params)));const s=zE[o];s?!(null==(r=s.meta)?void 0:r.auth)||tO("user").isLogin?(a=o,$S.isEmpty(i)||(a+=`?${i}`),UE.includes(o)?Hm({url:a}):n.redirect?Gm({url:a}):dv({url:a})):EE():console.log(`%c跳转路径参数错误<${o||"EMPTY"}>`,"color:red;background:yellow")};function YE(...e){qE((()=>{HE(...e)}))}function GE(e){if($S.isEmpty(e))return"";let t=[];for(let n in e)t.push(n+"="+e[n]);return t.join("&")}function XE(e,t={}){YE(e,t,{redirect:!0})}function JE(){let e=_g();return e[e.length-1]}const ZE={go:YE,back:function(){history.back()},hasHistory:function(){return!!history.state.back},redirect:XE,getCurrentPage:JE,getCurrentRoute:function(e=""){let t=JE();return""!==e?t.$page[e]:t.$page},error:function(e,t=""){XE("/pages/public/error",{errCode:e,errMsg:t})}},KE=(e="",t="")=>e?0===e.indexOf("http")?e:(""===t&&(t=tO("app").info.cdnurl),t+e):"",QE={cdn:KE,thumb:(e="",t)=>function(e,t){const n=tO("app").info.filesystem;if("public"===n)return e;let r=t.width||"200",o=t.height||"200",i=t.mode||"lfit",a=t.quality||90,s=t.gravity||"center",l="",c="",u="",d=r+"x"+o;switch(n){case"aliyun":s||"center"==s||(i="mfit",c="/crop,g_"+gravityFormat("aliyun",s)+",w_"+r+",h_"+o),a>0&&a<100&&(u="/quality,q_"+a),l="x-oss-process=image/resize,m_"+i+",w_"+r+",h_"+o,l+=c+u;break;case"qcloud":let e="thumbnail";switch(("fill"==i||!s&&"center"!=s)&&(e="crop",i="fill",c="/gravity/"+gravityFormat("qcloud",s)),a>0&&a<100&&(u="/rquality/"+a),i){case"lfit":d+=">";break;case"mfit":d="!"+d+"r";case"fill":break;case"pad":d+="/pad/1";break;case"fixed":d+="!"}l="imageMogr2/"+e+"/"+d+c+u;break;case"qiniu":switch(("fill"==i||!s&&"center"!=s)&&(i="mfit",c="/gravity/"+gravityFormat("qiniu",s)+"/crop/"+d),a>0&&a<100&&(u="/quality/"+a),i){case"lfit":case"pad":d+=">";break;case"mfit":d="!"+d+"r";break;case"fill":break;case"fixed":d+="!"}l="imageMogr2/thumbnail/"+d+c+u}return e+"?"+l}(e=KE(e),t),static:(e="",t="")=>(""===t&&(t="https://letcgo.com"),"local"!==t&&(e=KE(e,t)),e),css:(e="",t="")=>(""===t&&(t="https://letcgo.com"),"local"!==t&&(e=KE(e,t)),`url(${e})`)};const eP=["H5","WechatOfficialAccount","WechatMiniProgram","App"],tP=["forward","poster","link"],nP=e=>{const t=tO("user");let n="0";void 0===e.shareId&&t.isLogin&&(n=t.userInfo.id);let r="1";void 0!==e.page&&(r=e.page);let o="0";void 0!==e.query&&(o=e.query);let i=eP.indexOf(vP.name)+1,a="1";return void 0!==e.from&&(a=eP.indexOf(e.from)+1),`spm=${n}.${r}.${o}.${i}.${a}`},rP=e=>`/pages/index/index?${e}`,oP=(e,t="")=>`${t}?${e}`,iP={getShareInfo:(e={title:"",desc:"",image:"",params:{}},t={type:"user"})=>{let n={title:"",desc:"",image:"",path:"",link:"",query:"",poster:t};const r=tO("app").platform.share,o=nP(e.params);return n.query=o,n.link=oP(o,r.linkAddress),r.methods.includes("forward")&&(""!==r.forwardInfo.title&&""!==r.forwardInfo.image||console.log("请在平台设置中配置转发信息"),n.title=e.title||r.forwardInfo.title,n.image=QE.cdn(e.image||r.forwardInfo.image),n.desc=e.desc||r.forwardInfo.subtitle,n.path=rP(o)),n},updateShareInfo:e=>{"WechatOfficialAccount"===vP.name&&cE.updateShareInfo(e)},decryptSpm:e=>{const t=tO("user");let n,r=e.split("."),o={spm:e,shareId:0,page:"",query:{},platform:"",from:""};switch(o.shareId=r[0],r[1]){case"1":o.page="/pages/index/index";break;case"2":o.page="/pages/goods/index",o.query={linkId:r[2]},console.log(o.query);break;case"3":o.page="/pages/goods/groupon",n=r[2].split(","),o.query={id:n[0],activity_id:n[1]};break;case"4":o.page="/pages/goods/seckill",n=r[2].split(","),o.query={id:n[1]};break;case"5":o.page="/pages/activity/groupon/detail",o.query={id:r[2]}}return o.platform=eP[r[3]-1],o.from=tP[r[4]-1],0!=o.shareId&&(t.isLogin?t.addShareLog(o):v_("shareLog",o)),"/pages/index/index"!==o.page&&ZE.go(o.page,o.query),o}},aP={getOrder:e=>fO({url:"/pay/order/get",method:"GET",params:{id:e}}),getByStatus:e=>fO({url:"/trade/order/getPayOrderByStatus",method:"GET",params:{id:e}}),getByStatus2:e=>fO({url:"/trade/order/getPayOrderByStatus2",method:"GET",params:{id:e}}),getFuYouPayOrderByStatus:e=>fO({url:"/trade/order/getFuYouPayOrderByStatus",method:"POST",params:{payOrderNo:e}}),getPayOrder:e=>fO({url:"/trade/order/getPayOrder",method:"GET",params:{tradeOrderId:e}}),submitOrder:e=>fO({url:"/pay/order/submit",method:"POST",data:e}),ZeroPurchaseSubmit:e=>fO({url:"/trade/order/submit-ZeroPurchase",method:"POST",data:e}),fuYouSubmitOrder:e=>fO({url:"/fuYou/pay/order/submit",method:"POST",data:e})},sP=Object.freeze(Object.defineProperty({__proto__:null,default:aP},Symbol.toStringTag,{value:"Module"}));class lP{constructor(e,t,n,r){this.payment=e,this.id=n,this.orderType=t,this.orderType2=r,this.payAction()}payAction(){const e={WechatOfficialAccount:{wechat:()=>{this.wechatOfficialAccountPay()},JSAPI:()=>{this.fuYouWechatOfficialAccountPay()},alipay:()=>{this.redirectPay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()},wx_pub:()=>{e.WechatOfficialAccount.wechat()}},WechatMiniProgram:{wechat:()=>{this.wechatMiniProgramPay()},JSAPI:()=>{this.fuYouWechatOfficialAccountPay()},alipay:()=>{this.copyPayLink()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()},wx_pub:()=>{this.wechatMiniProgramPay()}},App:{wechat:()=>{this.wechatAppPay()},JSAPI:()=>{this.fuYouWechatOfficialAccountPay()},alipay:()=>{this.alipay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()}},H5:{wechat:()=>{this.wechatWapPay()},JSAPI:()=>{this.fuYouWechatOfficialAccountPay()},alipay:()=>{this.redirectPay()},wallet:()=>{this.walletPay()},mock:()=>{this.mockPay()},wx_pub:()=>{e.WechatOfficialAccount.wechat()}}};return e[IL.$platform.name][this.payment]()}prepay(e){return new Promise((async(t,n)=>{let r={id:this.id,channelCode:e,channelExtras:{},orderType:this.orderType2};if(["wx_pub","wx_lite"].includes(e)){const e=await IL.$platform.useProvider("wechat").getOpenid(!0);if(!e)return void this.bindWeixin();r.channelExtras.openid=e}aP.submitOrder(r).then((e=>{0===e.code&&t(e),0!==e.code&&e.msg.indexOf("无效的openid")>=0&&(e.msg.indexOf("无效的openid")>=0||e.msg.indexOf("下单账号与支付账号不一致")>=0)&&this.bindWeixin()}))}))}fuYouPrePay(e){return new Promise((async(t,n)=>{let r={id:this.id,channelCode:e,orderType:this.orderType2,req:{trade_type:e}};if(["wx_pub","wx_lite","JSAPI"].includes(e)){const e=await IL.$platform.useProvider("wechat").getOpenid(!0);if(!e)return void this.bindWeixin();r.req.sub_openid=e}aP.fuYouSubmitOrder(r).then((e=>{0===e.code&&t(e),0!==e.code&&e.msg.indexOf("无效的openid")>=0&&(e.msg.indexOf("无效的openid")>=0||e.msg.indexOf("下单账号与支付账号不一致")>=0)&&this.bindWeixin()}))}))}async fuYouWechatOfficialAccountPay(e){let{code:t,data:n}=await this.fuYouPrePay("JSAPI");if(0!==t)return;let r=n.replace(/"sdk_package":/g,'"packageValue":');const o=JSON.parse(r);cE.wxpay(o,{success:()=>{this.payResult("success")},cancel:()=>{IL.$helper.toast(zC("common.payment_manually_cancelled"))},fail:e=>{e.errMsg.indexOf("chooseWXPay:没有此SDK或暂不支持此SDK模拟")>=0?IL.$helper.toast("发起微信支付失败,原因:可能是微信开发者工具不支持,建议使用微信打开网页后支付"):this.payResult("fail")}})}async wechatOfficialAccountPay(e){let{code:t,data:n}=await this.prepay("wx_pub");if(0!==t)return;const r=JSON.parse(n.displayContent);cE.wxpay(r,{success:()=>{this.payResult("success")},cancel:()=>{IL.$helper.toast(zC("common.payment_manually_cancelled"))},fail:e=>{e.errMsg.indexOf("chooseWXPay:没有此SDK或暂不支持此SDK模拟")>=0?IL.$helper.toast("发起微信支付失败,原因:可能是微信开发者工具不支持,建议使用微信打开网页后支付"):this.payResult("fail")}})}async wechatWapPay(){const{error:e,data:t}=await this.prepay();if(0===e){const e=`${oE()}pages/pay/result?id=${this.id}&payment=${this.payment}&orderType=${this.orderType}`;location.href=`${t.pay_data.h5_url}&redirect_url=${encodeURIComponent(e)}`}}async redirectPay(){let{error:e,data:t}=await this.prepay();if(0===e){const e=`${oE()}pages/pay/result?id=${this.id}&payment=${this.payment}&orderType=${this.orderType}`;location.href=t.pay_data+encodeURIComponent(e)}}async wechatMiniProgramPay(){let{code:e,data:t}=await this.prepay("wx_lite");if(0!==e)return;const n=JSON.parse(t.displayContent);uni.requestPayment({provider:"wxpay",timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.packageValue,signType:n.signType,paySign:n.paySign,success:e=>{this.payResult("success")},fail:e=>{"requestPayment:fail cancel"===e.errMsg?IL.$helper.toast(zC("common.payment_manually_cancelled")):this.payResult("fail")}})}async walletPay(){const{code:e}=await this.prepay("wallet");0===e&&this.payResult("success")}async mockPay(){const{code:e}=await this.prepay("mock");0===e&&this.payResult("success")}async copyPayLink(){let{error:e,data:t}=await this.prepay();0===e&&wv({title:zC("common.alipay_payment"),content:zC("common.copy_link_to_browser"),confirmText:zC("common.copy_link"),success:e=>{e.confirm&&IL.$helper.copyText(t.pay_data)}})}async alipay(){let e=this;const{error:t,data:n}=await this.prepay();0===t&&uni.requestPayment({provider:"alipay",orderInfo:n.pay_data,success:t=>{e.payResult("success")},fail:t=>{"requestPayment:fail [paymentAlipay:62001]user cancel"===t.errMsg?IL.$helper.toast(zC("common.payment_manually_cancelled")):e.payResult("fail")}})}async wechatAppPay(){let e=this,{error:t,data:n}=await this.prepay();0===t&&uni.requestPayment({provider:"wxpay",orderInfo:n.pay_data,success:t=>{e.payResult("success")},fail:t=>{"requestPayment:fail cancel"!==t.errMsg&&e.payResult("fail")}})}payResult(e){IL.$router.redirect("/pages/pay/resultYuan",{id:this.id,orderType:this.orderType,payState:e})}bindWeixin(){wv({title:zC("common.wechat_payment"),content:zC("common.bind_wechat_for_payment"),confirmText:zC("common.bind"),success:function(e){e.confirm&&IL.$platform.useProvider("wechat").bind()}})}}function cP(e){let t=[{icon:"/static/images/wechat.png",title:zC("common.wechat_payment"),value:"wx_pub",disabled:!1},{icon:"/static/images/wechat.png",title:zC("common.wechat_payment"),value:"JSAPI",disabled:!1},{icon:"/static/images/alipay.png",title:zC("common.alipay_payment"),value:"alipay",disabled:!1},{icon:"/static/images/wallet.png",title:zC("common.balance_payment"),value:"wallet",disabled:!1},{icon:"/static/images/apple.png",title:"Apple Pay",value:"apple",disabled:!1},{icon:"/static/images/wallet.png",title:zC("common.mock_payment"),value:"mock",disabled:!1}];const n=IL.$platform.name,r=t[0];("WechatOfficialAccount"===n&&e.includes("wx_pub")||"WechatMiniProgram"===n&&e.includes("wx_lite")||"App"===n&&e.includes("wx_app"))&&(r.disabled=!1);const o=t[1];("WechatOfficialAccount"===n&&e.includes("alipay_wap")||"WechatMiniProgram"===n&&e.includes("alipay_wap")||"App"===n&&e.includes("alipay_app"))&&(o.disabled=!1);const i=t[2];e.includes("wallet")&&(i.disabled=!1);const a=t[4];return e.includes("mock")&&(a.disabled=!1),function(e,t){for(let n=e.length-1;n>=0;n--)t.includes(e[n].value)||e.splice(n,1)}(t,e),console.log(t),t}const uP=m_(),dP=uP.platform;let pP="",fP="",hP="";"micromessenger"==navigator.userAgent.toLowerCase().match(/MicroMessenger/i)?(pP="WechatOfficialAccount",fP="wechat",hP="officialAccount"):(pP="H5",hP="h5"),$S.isEmpty(pP)&&Av({title:zC("common.platform_not_supported"),icon:"none"});const mP={bottom:56,height:32,left:278,right:365,top:24,width:87},gP=uP.statusBarHeight+44;const _P=function(){let e="";return e=location.href.split("?")[0],e}(),vP={name:pP,device:uP,os:dP,provider:fP,platform:hP,useProvider:(e="")=>(""===e&&(e=fP),"wechat"===e?BE:"apple"===e?WE:void 0),checkUpdate:(e=!1)=>{},checkNetwork:async function(){return"none"==(await __()).networkType?Promise.resolve(!1):Promise.resolve(!0)},pay:(e,t,n,r)=>new lP(e,t,n,r),share:iP,load:()=>{"wechat"===fP&&BE.load()},capsule:mP,navbar:gP,landingPage:_P,isWechatInstalled:!0},yP={addCart:e=>fO({url:"/trade/cart/add",method:"POST",data:e,custom:{showSuccess:!0,successMsg:zC("common.added_to_cart")}}),updateCartCount:e=>fO({url:"/trade/cart/update-count",method:"PUT",data:e}),updateCartSelected:e=>fO({url:"/trade/cart/update-selected",method:"PUT",data:e}),deleteCart:e=>fO({url:"/trade/cart/delete",method:"DELETE",params:{ids:e}}),getCartList:()=>fO({url:"/trade/cart/list",method:"GET",custom:{showLoading:!1,auth:!0}})},bP=Object.freeze(Object.defineProperty({__proto__:null,default:yP},Symbol.toStringTag,{value:"Module"})),wP=ES({id:"cart",state:()=>({shopNameMap:[],shopSkuMap:[],list:[],selectedIds:[],isAllSelected:!1,totalPriceSelected:0}),actions:{async getList(){const{data:e,code:t}=await yP.getCartList();0===t&&(this.list=e.validList,this.shopSkuMap=e.shopSkuMap,this.shopNameMap=e.shopNameMap,this.selectedIds=[],this.isAllSelected=!0,this.totalPriceSelected=0,this.list.forEach((e=>{e.selected?(this.selectedIds.push(e.id),this.totalPriceSelected+=e.count*e.sku.price):this.isAllSelected=!1})))},async add(e){const{code:t}=await yP.addCart({skuId:e.id,count:e.goods_num});0===t&&await this.getList()},async update(e){const{code:t}=await yP.updateCartCount({id:e.goods_id,count:e.goods_num});0===t&&await this.getList()},async delete(e){let t;t="number"==typeof e?e:e.join(",");const{code:n}=await yP.deleteCart(t);0===n&&await this.getList()},async selectSingle(e){const{code:t}=await yP.updateCartSelected({ids:[e],selected:!this.selectedIds.includes(e)});0===t&&await this.getList()},async selectAll(e){const{code:t}=await yP.updateCartSelected({ids:this.list.map((e=>e.id)),selected:e});0===t&&await this.getList()},emptyList(){this.list=[],this.selectedIds=[],this.isAllSelected=!0,this.totalPriceSelected=0}},persist:{enabled:!0,strategies:[{key:"cart-store"}]}}),xP=Object.freeze(Object.defineProperty({__proto__:null,default:wP},Symbol.toStringTag,{value:"Module"})),TP={getUserInfo:()=>fO({url:"/member/user/get",method:"GET",custom:{showLoading:!1,auth:!0}}),updateUser:e=>fO({url:"/member/user/update",method:"PUT",data:e,custom:{auth:!0,showSuccess:!0,successMsg:zC("common.update_success")}}),updateUserAlipayAccount:e=>fO({url:"/member/user/updateByAlipayAccount",method:"PUT",data:e,custom:{auth:!0,showSuccess:!0,successMsg:zC("common.update_success")}}),updateUserBankAccount:e=>fO({url:"/member/user/updateByBankAccount",method:"PUT",data:e,custom:{auth:!0,showSuccess:!0,successMsg:zC("common.update_success")}}),updateUserMobile:e=>fO({url:"/member/user/update-mobile",method:"PUT",data:e,custom:{loadingMsg:zC("common.verifying"),showSuccess:!0,successMsg:zC("account.modification_successful")}}),updateUserMobileByWeixin:e=>fO({url:"/member/user/update-mobile-by-weixin",method:"PUT",data:{code:e},custom:{showSuccess:!0,loadingMsg:zC("common.fetching"),successMsg:zC("account.modification_successful")}}),updateUserPassword:e=>fO({url:"/member/user/update-password",method:"PUT",data:e,custom:{loadingMsg:zC("common.verifying"),showSuccess:!0,successMsg:zC("account.modification_successful")}}),resetUserPassword:e=>fO({url:"/member/user/reset-password",method:"PUT",data:e,custom:{loadingMsg:zC("common.verifying"),showSuccess:!0,successMsg:zC("account.modification_successful")}}),updateAndroidJiGuangId:e=>fO({url:"/member/user/addRegisterId?registerId="+e,method:"PUT",custom:{showSuccess:!1}})},SP=Object.freeze(Object.defineProperty({__proto__:null,default:TP},Symbol.toStringTag,{value:"Module"})),kP={getPayWallet:()=>fO({url:"/pay/wallet/get",method:"GET",custom:{showLoading:!1,auth:!0}}),getDuserInfo:()=>fO({url:"/distri/duser/getDuserInfo",method:"GET",custom:{showLoading:!1,auth:!0}}),getWalletTransactionPage:e=>{const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/pay/wallet-transaction/page?${t}`,method:"GET"})},getWalletTransactionSummary:e=>{const t=`createTime=${e.createTime[0]}&createTime=${e.createTime[1]}`;return fO({url:`/pay/wallet-transaction/get-summary?${t}`,method:"GET"})},getWalletRechargePackageList:()=>fO({url:"/pay/wallet-recharge-package/list",method:"GET",custom:{showError:!1,showLoading:!1}}),createWalletRecharge:e=>fO({url:"/pay/wallet-recharge/create",method:"POST",data:e}),topupConsumptionPointsCreate:e=>fO({url:"/distri/user-top-up-consumption-points-order/create",method:"POST",data:e,custom:{showError:!0,showLoading:!0}}),getWalletRechargePage:e=>fO({url:"/pay/wallet-recharge/page",method:"GET",params:e,custom:{showError:!1,showLoading:!1}}),createWithdrawal:e=>fO({url:"/distri/application-for-withdrawal/create",method:"POST",data:e})},CP=Object.freeze(Object.defineProperty({__proto__:null,default:kP},Symbol.toStringTag,{value:"Module"})),EP={settlementOrder:e=>{const t={...e};e.couponId>0||delete t.couponId,e.addressId>0||delete t.addressId,!e.combinationActivityId>0&&delete t.combinationActivityId,e.combinationHeadId>0||delete t.combinationHeadId,e.seckillActivityId>0||delete t.seckillActivityId,delete t.items;for(let r=0;r<e.items.length;r++)t[encodeURIComponent("items["+r+"].skuId")]=e.items[r].skuId+"",t[encodeURIComponent("items["+r+"].count")]=e.items[r].count+"",e.items[r].cartId&&(t[encodeURIComponent("items["+r+"].cartId")]=e.items[r].cartId+"");const n=Object.keys(t).map((e=>e+"="+t[e])).join("&");return fO({url:`/trade/order/settlement?${n}`,method:"GET",custom:{showError:!0,showLoading:!0}})},createOrder:e=>fO({url:"/trade/order/create",method:"POST",data:e}),getOrder:e=>fO({url:"/trade/order/get-detail",method:"GET",params:{id:e},custom:{showLoading:!1}}),getOrderPage:e=>fO({url:"/trade/order/page",method:"GET",params:e,custom:{showLoading:!1}}),receiveOrder:e=>fO({url:"/trade/order/receive",method:"PUT",params:{id:e}}),cancelOrder:e=>fO({url:"/trade/order/cancel",method:"DELETE",params:{id:e}}),deleteOrder:e=>fO({url:"/trade/order/delete",method:"DELETE",params:{id:e}}),getOrderExpressTrackList:e=>fO({url:"/trade/order/get-express-track-list",method:"GET",params:{id:e}}),getOrderCount:()=>fO({url:"/trade/order/get-count",method:"GET",custom:{showLoading:!1,auth:!0}}),createOrderItemComment:e=>fO({url:"/trade/order/item/create-comment",method:"POST",data:e})},PP=Object.freeze(Object.defineProperty({__proto__:null,default:EP},Symbol.toStringTag,{value:"Module"})),OP={getCouponTemplateListByIds:e=>fO({url:"/promotion/coupon-template/list-by-ids",method:"GET",params:{ids:e},custom:{showLoading:!1,showError:!1}}),getCouponTemplateList:(e,t,n)=>fO({url:"/promotion/coupon-template/list",method:"GET",params:{spuId:e,productScope:t,count:n}}),getCouponTemplatePage:e=>fO({url:"/promotion/coupon-template/page",method:"GET",params:e}),getCouponTemplate:e=>fO({url:"/promotion/coupon-template/get",method:"GET",params:{id:e}}),getCouponPage:e=>fO({url:"/promotion/coupon/page",method:"GET",params:e}),takeCoupon:e=>fO({url:"/promotion/coupon/take",method:"POST",data:{templateId:e},custom:{auth:!0,showLoading:!0,loadingMsg:zC("common.claiming"),showSuccess:!0,successMsg:zC("common.claim_success")}}),getCoupon:e=>fO({url:"/promotion/coupon/get",method:"GET",params:{id:e}}),getUnusedCouponCount:()=>fO({url:"/promotion/coupon/get-unused-count",method:"GET",custom:{showLoading:!1,auth:!0}}),getMatchCouponList:(e,t,n,r)=>fO({url:"/promotion/coupon/match-list",method:"GET",params:{price:e,spuIds:t.join(","),skuIds:n.join(","),categoryIds:r.join(",")},custom:{showError:!1,showLoading:!1}})},LP=Object.freeze(Object.defineProperty({__proto__:null,default:OP},Symbol.toStringTag,{value:"Module"})),AP=$i((()=>IL.$store("user").userInfo));function MP(){const e=AP.value.username;return"ru10"===e||"迷鹿"===e||"非繁"===e}const $P=$i((()=>window.Android&&window.Android.getIdentifier())),IP=$i((()=>window.Android&&window.Android.getRegistrationID())),RP={avatar:"",nickname:"",gender:0,mobile:"",point:0,username:"",socialStatusLevel:"",socialStatusLevelName:"",socialStatusPoint:0,socialUpNeed:0},jP={integralDO:{currentQuota:0,highQuota:0,freezeQuota:0,consumptionPoints:0},descNo:0,descPrice:0,descTotalPrice:0},DP={unusedCouponCount:0,orderCount:{allCount:0,unpaidCount:0,undeliveredCount:0,deliveredCount:0,uncommentedCount:0,afterSaleCount:0}},NP=ES({id:"user",state:()=>({userInfo:$S.clone(RP),userWallet:$S.clone(jP),isLogin:!!w_("token"),numData:$S.cloneDeep(DP),lastUpdateTime:0}),actions:{async getInfo(){const{code:e,data:t}=await TP.getUserInfo();if(0===e)return this.userInfo=t,Promise.resolve(t)},async getWallet(){const{code:e,data:t}=await kP.getDuserInfo();0===e&&($P.value&&(t.androidRegisterId&&t.androidRegisterId===IP.value||await TP.updateAndroidJiGuangId(IP.value)),this.userWallet=t,this.userWallet.descNo=t.descNo+1,v_("isSign",t.isSign))},getNumData(){EP.getOrderCount().then((e=>{0===e.code&&(this.numData.orderCount=e.data)})),OP.getUnusedCouponCount().then((e=>{0===e.code&&(this.numData.unusedCouponCount=e.data)}))},async addShareLog(e){const{error:t}=await userApi.addShareLog(e);0===t&&x_("shareLog")},async setToken(e="",t=""){if(""===e)this.isLogin=!1,x_("token"),x_("refresh-token");else{if(this.isLogin=!0,v_("token",e),v_("refresh-token",t),await this.loginAfter(),this.userInfo.language)qC(this.userInfo.language);else{const e=w_("userLanguage");await TP.updateUser({language:e}),qC(e)}await IL.$platform.useProvider("wechat").getOpenid(!0)||wv({title:zC("common.letcgo"),content:zC("common.not_bound_wechat"),confirmText:zC("common.bind"),success:function(e){e.confirm&&IL.$platform.useProvider("wechat").bind()}})}return this.isLogin},async updateUserData(){if(!this.isLogin)return void this.resetUserData();const e=(new Date).getTime();return this.lastUpdateTime+5e3>e?void 0:(this.lastUpdateTime=e,await this.getInfo(),this.getWallet(),this.getNumData(),this.userInfo)},resetUserData(){this.setToken(),this.userInfo=$S.clone(RP),this.userWallet=$S.clone(jP),this.numData=$S.cloneDeep(DP),wP().emptyList(),xE(),x_("isSign"),x_("openid")},async loginAfter(){await this.updateUserData(),wP().getList(),iP.getShareInfo(),wE();const e=w_("shareLog");$S.isEmpty(e)||this.addShareLog({...e}),setTimeout((async()=>{const e=await IL.$platform.useProvider("wechat").getOpenid(!0);!this.userInfo.subscribe&&e&&tO("modal").$patch((e=>{e.subscribe=!0}))}),800)},async logout(){return this.resetUserData(),!this.isLogin}},persist:{enabled:!0,strategies:[{key:"user-store"}]}}),BP=Object.freeze(Object.defineProperty({__proto__:null,default:NP},Symbol.toStringTag,{value:"Module"})),FP=ES({id:"sys",state:()=>({theme:"",mode:"light",modeAuto:!1,fontSize:1}),getters:{},actions:{setTheme(e=""){var t;this.theme=""===e?(null==(t=VP().template)?void 0:t.basic.theme)||"orange":e}},persist:{enabled:!0,strategies:[{key:"sys-store"}]}}),WP=Object.freeze(Object.defineProperty({__proto__:null,default:FP},Symbol.toStringTag,{value:"Module"})),VP=ES({id:"app",state:()=>({info:{name:"",logo:"",version:"",copyright:"",copytime:"",cdnurl:"",filesystem:""},platform:{share:{methods:[],forwardInfo:{},posterInfo:{},linkAddress:""},bind_mobile:0},chat:{},template:{basic:{},home:{style:{},data:[]},user:{style:{},data:[]}},shareInfo:{},has_wechat_trade_managed:0}),actions:{async init(e=null){await vP.checkNetwork()||ZE.error("NetworkError"),await qP(this.template,e);{this.info={name:"常来此购",logo:"/static/zxlogo.png",version:"1.1.13",copyright:"全部开源,个人与企业可 100% 免费使用",copytime:"Copyright© 2018-2024",cdnurl:"https://file.sheepjs.com",filesystem:"qcloud"},this.platform={share:{methods:["poster","link"],linkAddress:"https://letcgo.com/#/",posterInfo:{user_bg:"/static/user-poster-bg.jpg",goods_bg:"/static/user-poster-bg.jpg",groupon_bg:"/static/img/shop/config/groupon-poster-bg.png"}},bind_mobile:0},this.chat={chat_domain:"https://api.shopro.sheepjs.com/chat",room_id:"admin"},this.has_wechat_trade_managed=0;FP().setTheme();const e=NP();return e.isLogin&&e.loginAfter(),Promise.resolve(!0)}}},persist:{enabled:!0,strategies:[{key:"app-store"}]}}),qP=async(e,t)=>{var n;const{data:r}=t?await dS.getDiyTemplate(t):await dS.getUsedDiyTemplate();if(!r)return void ZE.error("TemplateError");const o=null==(n=null==r?void 0:r.property)?void 0:n.tabBar;o&&(e.basic.tabbar=o,(null==o?void 0:o.theme)&&(e.basic.theme=null==o?void 0:o.theme)),e.home=null==r?void 0:r.home,e.user=null==r?void 0:r.user},zP=Object.freeze(Object.defineProperty({__proto__:null,default:VP},Symbol.toStringTag,{value:"Module"})),UP=ES({id:"modal",state:()=>({auth:"",isActive:"",share:!1,shareInfo:{spuId:0},signUp:!1,signUpInfo:{},subscribe:!1,getWallet:!1,getWalletInfo:{points:0,socialStatus:0},menu:!1,advHistory:[],lastTimer:{smsLogin:0,changeMobileOld:0,changeMobileNew:0,resetPassword:0,changePassword:0,consumptionTransfers:0,zeroBuy:0}}),persist:{enabled:!0,strategies:[{key:"modal-store",paths:["lastTimer","advHistory"]}]}}),HP=Object.freeze(Object.defineProperty({__proto__:null,default:UP},Symbol.toStringTag,{value:"Module"}));var YP,GP;const XP="undefined"==typeof uni||["web","h5",void 0].includes(null==(GP=null==(YP=null==uni?void 0:m_())?void 0:YP.uniPlatform)?void 0:GP.toLocaleLowerCase()),JP=(e,t,n)=>{const r=e.storage,o=e.key||t.$id,i=XP||(null==n?void 0:n.enforceCustomStorage);if(e.paths){const n=e.paths.reduce(((e,n)=>(e[n]=t.$state[n],e)),{});i&&r?r.setItem(o,JSON.stringify(n)):y_({key:o,data:JSON.stringify(n)})}else i&&r?r.setItem(o,JSON.stringify(t.$state)):y_({key:o,data:JSON.stringify(t.$state)})};var ZP=({options:e,store:t})=>{var n,r,o,i,a,s;if(null==(n=e.persist)?void 0:n.enabled){const n=[{key:t.$id,storage:(null==(r=e.persist)?void 0:r.H5Storage)||(null==window?void 0:window.sessionStorage)}],l=(null==(i=null==(o=e.persist)?void 0:o.strategies)?void 0:i.length)?null==(a=e.persist)?void 0:a.strategies:n;l.forEach((n=>{var r,o;const i=n.storage||(null==(r=e.persist)?void 0:r.H5Storage)||(null==window?void 0:window.sessionStorage),a=n.key||t.$id;let s;s=XP||(null==(o=e.persist)?void 0:o.enforceCustomStorage)?i.getItem(a):w_(a),s&&(t.$patch(JSON.parse(s)),JP(n,t,e.persist))})),t.$subscribe((()=>{l.forEach((n=>{JP(n,t,e.persist)}))}),{detached:!!(null==(s=e.persist)?void 0:s.detached)})}};const KP=Object.assign({"./app.js":zP,"./cart.js":xP,"./modal.js":HP,"./sys.js":WP,"./user.js":BP}),QP={};Object.keys(KP).forEach((e=>{QP[e.replace(/(.*\/)*([^.]+).*/gi,"$2")]=KP[e].default}));const eO=e=>{const t=function(){const e=Be(!0),t=e.run((()=>sn({})));let n=[],r=[];const o=Qt({install(e){hS(o),o._a=e,e.provide(mS,o),e.config.globalProperties.$pinia=o,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}();t.use(ZP),e.use(t)},tO=e=>QP[e](),nO={showSuccess:!1,successMsg:"",showError:!0,errorMsg:"",showLoading:!0,loadingMsg:zC("common.loading"),auth:!1};let rO={target:null,count:0};function oO(){rO.count>0&&rO.count--,0===rO.count&&Iv()}const iO=new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=cS({...lS,...e}),this.interceptors={request:new aS,response:new aS}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let r={baseURL:t.baseURL||e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:eS(e.header||{},t.header||{})};if(r={...r,...sS(["getTask","validateStatus","paramsSerializer","forcedJSONParsing"],e,t)},"DOWNLOAD"===n){const n=["timeout"];r={...r,...sS(n,e,t)}}else if("UPLOAD"===n)delete r.header["content-type"],delete r.header["Content-Type"],["files","file","filePath","name","timeout","formData"].forEach((e=>{tS(t[e])||(r[e]=t[e])})),tS(r.timeout)&&!tS(e.timeout)&&(r.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","withCredentials"];r={...r,...sS(n,e,t)}}return r})(this.config,e);let t=[iS,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}get version(){return"3.1.0"}}({baseURL:uS+"/app-api",timeout:8e3,method:"GET",header:{Accept:"text/json","Content-Type":"application/json;charset=UTF-8",platform:vP.name,"Accept-Language":w_("userLanguage")||xp()},withCredentials:!1,custom:nO});iO.interceptors.request.use((e=>{if(e.custom.auth&&!tO("user").isLogin)return EE(),Promise.reject();e.custom.showLoading&&(rO.count++,1===rO.count&&$v({title:e.custom.loadingMsg,mask:!0,fail:()=>{Iv()}}));const t=uO();return t&&(e.header.Authorization=t),e.header.Accept="*/*",e.header["tenant-id"]="1",e.header.terminal="20",e}),(e=>Promise.reject(e))),iO.interceptors.response.use((e=>{var t,n;if(e.config.url.indexOf("/member/auth/")>=0&&(null==(n=null==(t=e.data)?void 0:t.data)?void 0:n.accessToken)&&tO("user").setToken(e.data.data.accessToken,e.data.data.refreshToken),e.config.custom.showLoading&&oO(),0!==e.data.code){if(401===e.data.code)return xE(),lO(e.config);e.config.custom.showError&&(xE(),Av({title:e.data.msg||zC("common.server_error_try_later"),icon:"none",mask:!0}))}return e.config.custom.showSuccess&&""!==e.config.custom.successMsg&&0===e.data.code&&Av({title:e.config.custom.successMsg,icon:"none"}),Promise.resolve(e.data)}),(e=>{var t;console.log("服务器开小差"),xE();const n=tO("user").isLogin;let r=zC("common.network_request_error");if(void 0!==e){switch(e.statusCode){case 400:case 404:r=zC("common.request_error");break;case 401:r=zC(n?"common.login_expired":"common.please_login");break;case 403:r=zC("common.access_denied");break;case 408:r=zC("common.request_timeout");break;case 429:r=zC("common.frequent_requests");break;case 500:r=zC("common.server_error_try_later");break;case 501:r=zC("common.server_unavailable");break;case 502:r=zC("common.network_error");break;case 503:r=zC("common.service_unavailable");break;case 504:r=zC("common.network_timeout");break;case 505:r=zC("common.http_not_supported")}e.errMsg.includes("timeout")&&(r=zC("common.request_timeout")),e.errMsg.includes("Network")&&(r=window.navigator.onLine?zC("common.server_exception"):zC("common.check_network_connection"))}return e&&e.config&&(!1===e.config.custom.showError&&Av({title:(null==(t=e.data)?void 0:t.msg)||r,icon:"none",mask:!0}),e.config.custom.showLoading&&oO()),!1}));let aO=[],sO=!1;const lO=async e=>{if(e.url.indexOf("/member/auth/refresh-token")>=0)return Promise.reject("error");if(sO)return new Promise((t=>{aO.push((()=>{e.header.Authorization="Bearer "+uO(),t(pO(e))}))}));{sO=!0;const t=dO();if(!t)return cO();try{if(0!==(await aE.refreshToken(t)).code)throw new Error("刷新令牌失败");return e.header.Authorization="Bearer "+uO(),aO.forEach((e=>{e()})),aO=[],pO(e)}catch(jS){return aO.forEach((e=>{e()})),cO()}finally{aO=[],sO=!1}}},cO=()=>{const e=tO("user");return e.logout(!0),EE(),Promise.reject({code:401,msg:e.isLogin?zC("common.login_expired"):zC("common.please_login")})},uO=()=>w_("token"),dO=()=>w_("refresh-token"),pO=e=>iO.middleware(e),fO=pO,hO={getConsumptionLog:e=>fO({url:"/distri/consumption-change-log/page",method:"GET",params:e,custom:{showLoading:!0,showError:!0}}),createConsumptionLog:e=>fO({url:"/distri/consumption-transfer-log/create",method:"POST",data:e,custom:{showLoading:!0,showError:!0}}),getConsumptionTransfersLog:e=>fO({url:"/distri/consumption-transfer-log/page",method:"GET",params:e,custom:{showLoading:!0,showError:!0}}),quotaTransition:e=>fO({url:"/distri/integral/quotaTransition?quota="+e,method:"PUT",custom:{showLoading:!0,showError:!0}})},mO=Object.freeze(Object.defineProperty({__proto__:null,default:hO},Symbol.toStringTag,{value:"Module"})),gO={getScoreApi:e=>fO({url:"/distri/pt-profit-log/page",method:"GET",params:e,custom:{showLoading:!1,showError:!1}}),getMaxScoreList:e=>fO({url:"/distri/pt-profit-log/getMaxAmountPage",method:"GET",params:e,custom:{showLoading:!1,showError:!1}})},_O=Object.freeze(Object.defineProperty({__proto__:null,default:gO},Symbol.toStringTag,{value:"Module"})),vO={getLinkId:(e,t)=>fO({url:"/distri/share-link/getShareLink",method:"GET",params:{category:e,objectId:t},custom:{showLoading:!1,showError:!1}}),getObjectIdByLinkId:e=>fO({url:"/distri/share-link/getObjectIdByLinkId",method:"GET",params:{linkId:e},custom:{showLoading:!1,showError:!1}})},yO=Object.freeze(Object.defineProperty({__proto__:null,default:vO},Symbol.toStringTag,{value:"Module"})),bO={getTeam:e=>fO({url:"/distri/share-path/getTeam",method:"GET",params:e,custom:{showLoading:!0,showError:!1}})},wO=Object.freeze(Object.defineProperty({__proto__:null,default:bO},Symbol.toStringTag,{value:"Module"})),xO={getWithdrawalPage:e=>fO({url:"/distri/application-for-withdrawal/page",method:"GET",params:e,custom:{showLoading:!1,showError:!1}}),getWithdrawalPercentage:e=>fO({url:"/distri/order-percentage/get",method:"GET",params:e,custom:{showLoading:!1,showError:!1}})},TO=Object.freeze(Object.defineProperty({__proto__:null,default:xO},Symbol.toStringTag,{value:"Module"})),SO={uploadFile:e=>(w_("token"),$v({title:zC("common.uploading")}),new Promise(((t,n)=>{iv({url:uS+"/app-api/infra/file/upload",filePath:e,name:"file",header:{Accept:"*/*","tenant-id":"1"},success:e=>{let n=JSON.parse(e.data);if(1!==n.error)return t(n);Av({icon:"none",title:n.msg})},fail:e=>(console.log("上传失败:",e),t(!1)),complete:()=>{Iv()}})}))),getFileIO:async e=>{const t=await fetch("https://letcgo.com/app-api/infra/file/downloadByUrl?fileUrl="+e,{method:"GET"});if(!t.ok)throw new Error("网络响应不是OK状态");return await t.blob()}},kO=Object.freeze(Object.defineProperty({__proto__:null,default:SO},Symbol.toStringTag,{value:"Module"})),CO={getAddressList:(e=1)=>fO({url:"/member/address/list",method:"GET",params:{addressType:e}}),createAddress:e=>fO({url:"/member/address/create",method:"POST",data:e,custom:{showSuccess:!0,successMsg:zC("common.save_success")}}),updateAddress:e=>fO({url:"/member/address/update",method:"PUT",data:e,custom:{showSuccess:!0,successMsg:zC("common.update_success")}}),getAddress:(e,t=1)=>(console.log("123123",t),fO({url:"/member/address/get",method:"GET",params:{id:e,addressType:t}})),deleteAddress:(e,t=1)=>fO({url:"/member/address/delete",method:"DELETE",params:{id:e,addressType:t}})},EO=Object.freeze(Object.defineProperty({__proto__:null,default:CO},Symbol.toStringTag,{value:"Module"})),PO={getPointRecordPage:e=>{void 0===e.addStatus&&delete e.addStatus;const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/member/point/record/page?${t}`,method:"GET"})}},OO=Object.freeze(Object.defineProperty({__proto__:null,default:PO},Symbol.toStringTag,{value:"Module"})),LO={mplive:{getRoomList:e=>fO({url:"app/mplive/getRoomList",method:"GET",params:{ids:e.join(",")}}),getMpLink:()=>fO({url:"app/mplive/getMpLink",method:"GET"})}},AO=Object.freeze(Object.defineProperty({__proto__:null,default:LO},Symbol.toStringTag,{value:"Module"})),MO={unifiedToken:()=>fO({url:"unifiedToken",custom:{showError:!1,showLoading:!1}})},$O=Object.freeze(Object.defineProperty({__proto__:null,default:MO},Symbol.toStringTag,{value:"Module"})),IO={wechat:{subscribeTemplate:e=>fO({url:"third/wechat/subscribeTemplate",method:"GET",params:{platform:"miniProgram"},custom:{showError:!1,showLoading:!1}}),getWxacode:e=>`${uS}/app-apithird/wechat/wxacode?platform=miniProgram&payload=${encodeURIComponent(JSON.stringify({path:e}))}`},apple:{login:e=>fO({url:"third/apple/login",method:"POST",data:e,custom:{showSuccess:!0,loadingMsg:zC("common.logging_in")}})}},RO=Object.freeze(Object.defineProperty({__proto__:null,default:IO},Symbol.toStringTag,{value:"Module"})),jO=Object.assign({"./app.js":AO,"./chat.js":$O,"./third.js":RO});let DO={};Object.keys(jO).forEach((e=>{DO={...DO,[e.replace(/(.*\/)*([^.]+).*/gi,"$2")]:jO[e].default}}));const NO=DO,BO=Object.freeze(Object.defineProperty({__proto__:null,default:NO},Symbol.toStringTag,{value:"Module"})),FO={getEnableChannelCodeList:e=>fO({url:"/pay/channel/get-enable-code-list",method:"GET",params:{appId:e}})},WO=Object.freeze(Object.defineProperty({__proto__:null,default:FO},Symbol.toStringTag,{value:"Module"})),VO={getCategoryList:e=>fO({url:"/product/category/list",method:"GET",data:e}),getCategoryListByIds:e=>fO({url:"/product/category/list-by-ids",method:"GET",params:{ids:e}})},qO=Object.freeze(Object.defineProperty({__proto__:null,default:VO},Symbol.toStringTag,{value:"Module"})),zO={getCommentPage:(e,t,n,r)=>fO({url:"/product/comment/page",method:"GET",params:{spuId:e,pageNo:t,pageSize:n,type:r},custom:{showLoading:!1,showError:!1}})},UO=Object.freeze(Object.defineProperty({__proto__:null,default:zO},Symbol.toStringTag,{value:"Module"})),HO={getFavoritePage:e=>fO({url:"/product/favorite/page",method:"GET",params:e}),isFavoriteExists:e=>fO({url:"/product/favorite/exits",method:"GET",params:{spuId:e}}),createFavorite:e=>fO({url:"/product/favorite/create",method:"POST",data:{spuId:e},custom:{auth:!0,showSuccess:!0,successMsg:zC("common.collect_success")}}),createCollectBefore:e=>fO({url:"/distri/user-collect-before/create",method:"POST",data:{productSpuId:e}}),deleteFavorite:e=>fO({url:"/product/favorite/delete",method:"DELETE",data:{spuId:e},custom:{auth:!0,showSuccess:!0,successMsg:zC("common.cancel_success")}})},YO=Object.freeze(Object.defineProperty({__proto__:null,default:HO},Symbol.toStringTag,{value:"Module"})),GO={deleteBrowseHistory:e=>fO({url:"/product/browse-history/delete",method:"DELETE",data:{spuIds:e},custom:{showSuccess:!0,successMsg:zC("common.delete_success")}}),cleanBrowseHistory:()=>fO({url:"/product/browse-history/clean",method:"DELETE",custom:{showSuccess:!0,successMsg:zC("common.clear_success")}}),getBrowseHistoryPage:e=>fO({url:"/product/browse-history/page",method:"GET",data:e,custom:{showLoading:!1}})},XO=Object.freeze(Object.defineProperty({__proto__:null,default:GO},Symbol.toStringTag,{value:"Module"})),JO={getSpuListByIds:e=>fO({url:"/product/spu/list-by-ids",method:"GET",params:{ids:e},custom:{showLoading:!1,showError:!1}}),getSpuPage:e=>fO({url:"/product/spu/page",method:"GET",params:e,custom:{showLoading:!1,showError:!1}}),getSpuDetail:e=>fO({url:"/product/spu/get-detail",method:"GET",params:{id:e},custom:{showLoading:!1,showError:!1}})},ZO=Object.freeze(Object.defineProperty({__proto__:null,default:JO},Symbol.toStringTag,{value:"Module"})),KO={getActivityListBySpuId:e=>fO({url:"/promotion/activity/list-by-spu-id",method:"GET",params:{spuId:e}})},QO=Object.freeze(Object.defineProperty({__proto__:null,default:KO},Symbol.toStringTag,{value:"Module"})),eL={getArticle:(e,t)=>fO({url:"/promotion/article/get",method:"GET",params:{id:e,title:t}}),getHomeList:()=>fO({url:"/promotion/article/getHomeInfo",method:"GET"}),getArticleByCategory:e=>fO({url:"/promotion/article/page",method:"GET",params:e})},tL=Object.freeze(Object.defineProperty({__proto__:null,default:eL},Symbol.toStringTag,{value:"Module"})),nL={getBargainRecordSummary:()=>fO({url:"/promotion/bargain-record/get-summary",method:"GET"}),getBargainActivityPage:()=>fO({url:"/promotion/bargain-activity/page",method:"GET"}),getBargainActivityDetail:e=>fO({url:"/promotion/bargain-activity/get-detail",method:"GET",params:e})},rL=Object.freeze(Object.defineProperty({__proto__:null,default:nL},Symbol.toStringTag,{value:"Module"})),oL={getCombinationActivityList:e=>fO({url:"/promotion/combination-activity/list",method:"GET",params:{count:e}}),getCombinationActivityPage:e=>fO({url:"/promotion/combination-activity/page",method:"GET",params:e}),getCombinationActivity:e=>fO({url:"/promotion/combination-activity/get-detail",method:"GET",params:{id:e}}),getHeadCombinationRecordList:(e,t,n)=>fO({url:"/promotion/combination-record/get-head-list",method:"GET",params:{activityId:e,status:t,count:n}}),getCombinationRecordPage:e=>fO({url:"/promotion/combination-record/page",method:"GET",params:e}),getCombinationRecordDetail:e=>fO({url:"/promotion/combination-record/get-detail",method:"GET",params:{id:e}}),getCombinationRecordSummary:()=>fO({url:"/promotion/combination-record/get-summary",method:"GET"})},iL=Object.freeze(Object.defineProperty({__proto__:null,default:oL},Symbol.toStringTag,{value:"Module"})),aL={getPage:e=>fO({url:"/promotion/diy-page/get",method:"GET",params:e})},sL=Object.freeze(Object.defineProperty({__proto__:null,default:aL},Symbol.toStringTag,{value:"Module"})),lL={getRewardActivity:e=>fO({url:"/promotion/reward-activity/get",method:"GET",params:{id:e}})},cL=Object.freeze(Object.defineProperty({__proto__:null,default:lL},Symbol.toStringTag,{value:"Module"})),uL={getSeckillConfigList:()=>fO({url:"promotion/seckill-config/list",method:"GET"}),getNowSeckillActivity:()=>fO({url:"promotion/seckill-activity/get-now",method:"GET"}),getSeckillActivityPage:e=>fO({url:"promotion/seckill-activity/page",method:"GET",params:e}),getSeckillActivity:e=>fO({url:"promotion/seckill-activity/get-detail",method:"GET",params:{id:e}})},dL=Object.freeze(Object.defineProperty({__proto__:null,default:uL},Symbol.toStringTag,{value:"Module"})),pL={createMerchant:e=>fO({url:"/sale/merchant-apply/create",method:"POST",data:e,custom:{showSuccess:!0,successMsg:zC("common.apply_success")}}),getMerchant:()=>fO({url:"/sale/merchant-apply/get",method:"GET"}),updateMerchant:e=>fO({url:"/sale/merchant-apply/update",method:"PUT",data:e,custom:{showSuccess:!0,successMsg:zC("common.change_success")}}),getMerchantPage:e=>fO({url:"/sale/merchant-apply-log/page",method:"GET",params:e,custom:{showLoading:!0}}),checkContactNumber:e=>fO({url:"/system/users/getUserMobile",method:"GET",params:e,custom:{showLoading:!0}}),checkSystemUser:e=>fO({url:"/sale/merchant-apply/isSystemUserByMobile",method:"GET",params:e,custom:{showLoading:!0}})},fL=Object.freeze(Object.defineProperty({__proto__:null,default:pL},Symbol.toStringTag,{value:"Module"})),hL={getAreaTree:()=>fO({url:"/system/area/tree",method:"GET"})},mL=Object.freeze(Object.defineProperty({__proto__:null,default:hL},Symbol.toStringTag,{value:"Module"})),gL={getVoiceToText:()=>fO({url:"/voice2text",method:"POST"})},_L=Object.freeze(Object.defineProperty({__proto__:null,default:gL},Symbol.toStringTag,{value:"Module"})),vL={getAfterSalePage:e=>fO({url:"/trade/after-sale/page",method:"GET",params:e,custom:{showLoading:!1}}),createAfterSale:e=>fO({url:"/trade/after-sale/create",method:"POST",data:e}),getAfterSale:e=>fO({url:"/trade/after-sale/get",method:"GET",params:{id:e}}),cancelAfterSale:e=>fO({url:"/trade/after-sale/cancel",method:"DELETE",params:{id:e}}),getAfterSaleLogList:e=>fO({url:"/trade/after-sale-log/list",method:"GET",params:{afterSaleId:e}}),deliveryAfterSale:e=>fO({url:"/trade/after-sale/delivery",method:"PUT",data:e})},yL=Object.freeze(Object.defineProperty({__proto__:null,default:vL},Symbol.toStringTag,{value:"Module"})),bL={getBrokerageUser:()=>fO({url:"/trade/brokerage-user/get",method:"GET"}),getBrokerageUserSummary:()=>fO({url:"/trade/brokerage-user/get-summary",method:"GET"}),getBrokerageRecordPage:e=>{void 0===e.status&&delete e.status;const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/trade/brokerage-record/page?${t}`,method:"GET"})},createBrokerageWithdraw:e=>fO({url:"/trade/brokerage-withdraw/create",method:"POST",data:e}),getProductBrokeragePrice:e=>fO({url:"/trade/brokerage-record/get-product-brokerage-price",method:"GET",params:{spuId:e}}),getRankByPrice:e=>{const t=`times=${e.times[0]}&times=${e.times[1]}`;return fO({url:`/trade/brokerage-user/get-rank-by-price?${t}`,method:"GET"})},getBrokerageUserChildSummaryPageByPrice:e=>{const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/trade/brokerage-user/rank-page-by-price?${t}`,method:"GET"})},getBrokerageUserRankPageByUserCount:e=>{const t=Object.keys(e).map((t=>encodeURIComponent(t)+"="+e[t])).join("&");return fO({url:`/trade/brokerage-user/rank-page-by-user-count?${t}`,method:"GET"})},getBrokerageUserChildSummaryPage:e=>fO({url:"/trade/brokerage-user/child-summary-page",method:"GET",params:e})},wL=Object.freeze(Object.defineProperty({__proto__:null,default:bL},Symbol.toStringTag,{value:"Module"})),xL={getTradeConfig:()=>fO({url:"/trade/config/get",method:"GET"})},TL=Object.freeze(Object.defineProperty({__proto__:null,default:xL},Symbol.toStringTag,{value:"Module"})),SL={getDeliveryExpressList:()=>fO({url:"/trade/delivery/express/list",method:"get"})},kL=Object.freeze(Object.defineProperty({__proto__:null,default:SL},Symbol.toStringTag,{value:"Module"})),CL=Object.assign({"./distri/consumption.js":mO,"./distri/score.js":_O,"./distri/share.js":yO,"./distri/team.js":wO,"./distri/withdrawal.js":TO,"./infra/file.js":kO,"./member/address.js":EO,"./member/auth.js":sE,"./member/point.js":OO,"./member/signin.js":gE,"./member/social.js":dE,"./member/user.js":SP,"./migration/app.js":AO,"./migration/chat.js":$O,"./migration/index.js":BO,"./migration/third.js":RO,"./pay/channel.js":WO,"./pay/order.js":sP,"./pay/wallet.js":CP,"./product/category.js":qO,"./product/comment.js":UO,"./product/favorite.js":YO,"./product/history.js":XO,"./product/spu.js":ZO,"./promotion/activity.js":QO,"./promotion/article.js":tL,"./promotion/bargain.js":rL,"./promotion/combination.js":iL,"./promotion/coupon.js":LP,"./promotion/diy.js":pS,"./promotion/page.js":sL,"./promotion/rewardActivity.js":cL,"./promotion/seckill.js":dL,"./sale/sale.js":fL,"./system/area.js":mL,"./system/voice.js":_L,"./trade/afterSale.js":yL,"./trade/brokerage.js":wL,"./trade/cart.js":bP,"./trade/config.js":TL,"./trade/delivery.js":kL,"./trade/order.js":PP});let EL={};Object.keys(CL).forEach((e=>{const t=e.replace(/(.*\/)*([^.]+).*/gi,"$2");EL={...EL,[t]:CL[e].default}}));const PL=EL;var OL={exports:{}};const LL=OS(OL.exports=function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,i,a,s){for(var l,c,u,d=i.$locale().relativeTime||o,p=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],f=p.length,h=0;h<f;h+=1){var m=p[h];m.d&&(l=a?n(t).diff(i,m.d,!0):i.diff(t,m.d,!0));var g=(e.rounding||Math.round)(Math.abs(l));if(u=l>0,g<=m.r||!m.r){g<=1&&h>0&&(m=p[h-1]);var _=d[m.l];s&&(g=s(""+g)),c="string"==typeof _?_.replace("%d",g):_(g,r,m.l,u);break}}if(r)return c;var v=u?d.future:d.past;return"function"==typeof v?v(c):v.replace("%s",c)},r.to=function(e,t){return i(e,t,this,!0)},r.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}});var AL={exports:{}};const ML=OS(AL.exports=function(){var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,l=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:l,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},p=function(e,t,n){return new v(e,n,t.$l)},f=function(e){return t.p(e)+"s"},h=function(e){return e<0},m=function(e){return h(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?h(e)?{negative:!0,format:""+g(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},v=function(){function h(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return p(e*u[f(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[f(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(c);if(o){var i=o.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var g=h.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=m(e/s),e%=s,this.$d.months=m(e/l),e%=l,this.$d.days=m(e/i),e%=i,this.$d.hours=m(e/o),e%=o,this.$d.minutes=m(e/r),e%=r,this.$d.seconds=m(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,"Y"),t=_(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,"D"),o=_(this.$d.hours,"H"),i=_(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=_(a,"S"),l=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,c=o.format||i.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+o.format+i.format+s.format;return"P"===u||"-P"===u?"P0D":u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[f(e)]},g.get=function(e){var t=this.$ms,n=f(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?m(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[f(t)]:d(e)?e.$ms:p(e,this).$ms,p(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return p(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},h}(),y=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return p(e,{$l:n},t)},o.isDuration=d;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):a.bind(this)(e,t)}}}());!function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};n.default.locale(r,null,!0)}(fE),hE.locale("zh-cn"),hE.extend(LL),hE.extend(ML);async function $L(){await tO("app").init(),vP.load()}const IL={$api:PL,$store:tO,$url:QE,$router:ZE,$platform:vP,$helper:iE,$zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965,popover:960}},RL={__name:"App",setup:e=>(WT((e=>{wE()})),VT((()=>{xE()})),qT((()=>{Hv(),$L(),bE()})),zT((e=>{console.log("AppOnError:",e)})),()=>{})};Hg(RL,{init:zg,setup(e){const t=Wm(),n=()=>{var n;n=e,Object.keys(Sp).forEach((e=>{Sp[e].forEach((t=>{Fr(e,t,n)}))}));const{onLaunch:r,onShow:o,onPageNotFound:i,onError:a}=e,l=function({path:e,query:t}){return s(gf,{path:e,query:t}),s(_f,gf),s({},gf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:xe(t.query)});if(r&&M(r,l),o&&M(o,l),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};i&&M(i,e)}a&&(e.appContext.config.errorHandler=e=>{M(a,e)})};return ko(Ks).isReady().then(n),qr((()=>{window.addEventListener("resize",ke(Gg,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Xg),document.addEventListener("visibilitychange",Jg),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{hy.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Zo(),ni(ty));e.setup=(e,r)=>{const o=t&&t(e,r);return h(o)?n:o},e.render=n}}),setInterval((function(){x_("linkId")}),3e5),function(){const e=$a(RL);return e.use(VC),eO(e),{app:e}}().app.use(Rg).mount("#app");export{iP as $,eL as A,SE as B,GT as C,WT as D,v_ as E,Uo as F,EE as G,VO as H,um as I,ie as J,oa as K,La as L,ku as M,nm as N,wu as O,Qr as P,Vr as Q,wv as R,JO as S,w_ as T,T_ as U,Hm as V,aE as W,PE as X,x_ as Y,dS as Z,IS as _,BT as a,sg as a$,ir as a0,qr as a1,kP as a2,On as a3,ph as a4,vO as a5,KO as a6,$S as a7,HO as a8,li as a9,SO as aA,TP as aB,$d as aC,MP as aD,qC as aE,ny as aF,Of as aG,xi as aH,ZC as aI,JC as aJ,eE as aK,HC as aL,cp as aM,Nd as aN,J_ as aO,dv as aP,Xn as aQ,e_ as aR,sm as aS,m_ as aT,Nv as aU,wl as aV,C_ as aW,rp as aX,E_ as aY,rv as aZ,np as a_,oL as aa,uL as ab,qE as ac,ur as ad,ta as ae,OE as af,AE as ag,gp as ah,Bv as ai,eo as aj,zO as ak,EP as al,vL as am,nr as an,Id as ao,xL as ap,Av as aq,tm as ar,SL as as,dy as at,vu as au,pm as av,hm as aw,rr as ax,NC as ay,$_ as az,Zn as b,r_ as b$,OS as b0,wp as b1,WS as b2,RE as b3,YT as b4,XC as b5,ae as b6,ui as b7,OP as b8,kE as b9,Q_ as bA,iv as bB,S_ as bC,cv as bD,g_ as bE,Lp as bF,xp as bG,kp as bH,Kh as bI,RS as bJ,GO as bK,CO as bL,hL as bM,Xh as bN,Vh as bO,hO as bP,xO as bQ,PS as bR,PO as bS,gO as bT,bO as bU,bL as bV,HT as bW,mE as bX,aL as bY,k_ as bZ,$L as b_,TE as ba,CE as bb,$E as bc,IE as bd,Rd as be,LE as bf,ME as bg,Jm as bh,Gm as bi,mm as bj,hE as bk,QE as bl,xm as bm,qg as bn,KC as bo,UC as bp,GC as bq,YC as br,K_ as bs,_g as bt,Ad as bu,A_ as bv,$v as bw,Iv as bx,Ap as by,Mp as bz,$i as c,pL as c0,hn as c1,aP as c2,FO as c3,cP as c4,VT as c5,lL as c6,nL as c7,Wh as c8,ni as d,Zo as e,ci as f,pi as g,Hv as h,Tm as i,U as j,Hf as k,vm as l,XT as m,oe as n,UT as o,JT as p,Fv as q,sn as r,IL as s,zC as t,dn as u,zt as v,zn as w,fi as x,ti as y,Kr as z};