diff --git a/packages/uni-app-plus/dist/uni-app-service.es.js b/packages/uni-app-plus/dist/uni-app-service.es.js index aac5a51c3a7af797d7b04b277ac38c8330e2af53..c851b598c96f789217a9a62e6c087ea4c33dcda7 100644 --- a/packages/uni-app-plus/dist/uni-app-service.es.js +++ b/packages/uni-app-plus/dist/uni-app-service.es.js @@ -1676,7 +1676,7 @@ var serviceContext = (function (vue) { return value.indexOf(delimiters[0]) > -1; } - const isEnableLocale = once(() => typeof __uniConfig !== 'undefined' && + const isEnableLocale = /*#__PURE__*/ once(() => typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); @@ -2225,6 +2225,133 @@ var serviceContext = (function (vue) { } } + let plus_; + let weex_; + let BroadcastChannel_; + function getRuntime() { + return typeof window === 'object' && + typeof navigator === 'object' && + typeof document === 'object' + ? 'webview' + : 'v8'; + } + function getPageId() { + return plus_.webview.currentWebview().id; + } + let channel; + let globalEvent$1; + const callbacks$2 = {}; + function onPlusMessage$1(res) { + const message = res.data && res.data.__message; + if (!message || !message.__page) { + return; + } + const pageId = message.__page; + const callback = callbacks$2[pageId]; + callback && callback(message); + if (!message.keep) { + delete callbacks$2[pageId]; + } + } + function addEventListener(pageId, callback) { + if (getRuntime() === 'v8') { + if (BroadcastChannel_) { + channel && channel.close(); + channel = new BroadcastChannel_(getPageId()); + channel.onmessage = onPlusMessage$1; + } + else if (!globalEvent$1) { + globalEvent$1 = weex_.requireModule('globalEvent'); + globalEvent$1.addEventListener('plusMessage', onPlusMessage$1); + } + } + else { + // @ts-ignore + window.__plusMessage = onPlusMessage$1; + } + callbacks$2[pageId] = callback; + } + class Page { + constructor(webview) { + this.webview = webview; + } + sendMessage(data) { + const message = JSON.parse(JSON.stringify({ + __message: { + data, + }, + })); + const id = this.webview.id; + if (BroadcastChannel_) { + const channel = new BroadcastChannel_(id); + channel.postMessage(message); + } + else { + plus_.webview.postMessageToUniNView && + plus_.webview.postMessageToUniNView(message, id); + } + } + close() { + this.webview.close(); + } + } + function showPage({ context = {}, url, data = {}, style = {}, onMessage, onClose, }) { + // eslint-disable-next-line + plus_ = context.plus || plus; + // eslint-disable-next-line + weex_ = context.weex || (typeof weex === 'object' ? weex : null); + // eslint-disable-next-line + BroadcastChannel_ = + context.BroadcastChannel || + (typeof BroadcastChannel === 'object' ? BroadcastChannel : null); + const titleNView = { + autoBackButton: true, + titleSize: '17px', + }; + const pageId = `page${Date.now()}`; + style = extend({}, style); + if (style.titleNView !== false && style.titleNView !== 'none') { + style.titleNView = extend(titleNView, style.titleNView); + } + const defaultStyle = { + top: 0, + bottom: 0, + usingComponents: {}, + popGesture: 'close', + scrollIndicator: 'none', + animationType: 'pop-in', + animationDuration: 200, + uniNView: { + path: `${(typeof process === 'object' && + process.env && + process.env.VUE_APP_TEMPLATE_PATH) || + ''}/${url}.js`, + defaultFontSize: 16, + viewport: plus_.screen.resolutionWidth, + }, + }; + style = extend(defaultStyle, style); + const page = plus_.webview.create('', pageId, style, { + extras: { + from: getPageId(), + runtime: getRuntime(), + data, + useGlobalEvent: !BroadcastChannel_, + }, + }); + page.addEventListener('close', onClose); + addEventListener(pageId, (message) => { + if (typeof onMessage === 'function') { + onMessage(message.data); + } + if (!message.keep) { + page.close('auto'); + } + }); + page.show(style.animationType, style.animationDuration); + return new Page(page); + } + const invokeOnCallback = (name, res) => UniServiceJSBridge.emit('api.' + name, res); let invokeViewMethodId = 1; @@ -2271,7 +2398,8 @@ var serviceContext = (function (vue) { } } - const ServiceJSBridge = /*#__PURE__*/ extend(initBridge('view' /* view 指的是 service 层订阅的是 view 层事件 */), { + const ServiceJSBridge = /*#__PURE__*/ extend( + /*#__PURE__*/ initBridge('view' /* view 指的是 service 层订阅的是 view 层事件 */), { invokeOnCallback, invokeViewMethod, invokeViewMethodKeepAlive, @@ -14217,133 +14345,6 @@ var serviceContext = (function (vue) { } }, StartSoterAuthenticationProtocols, StartSoterAuthenticationOptions); - let plus_; - let weex_; - let BroadcastChannel_; - function getRuntime() { - return typeof window === 'object' && - typeof navigator === 'object' && - typeof document === 'object' - ? 'webview' - : 'v8'; - } - function getPageId() { - return plus_.webview.currentWebview().id; - } - let channel; - let globalEvent$1; - const callbacks$2 = {}; - function onPlusMessage$1(res) { - const message = res.data && res.data.__message; - if (!message || !message.__page) { - return; - } - const pageId = message.__page; - const callback = callbacks$2[pageId]; - callback && callback(message); - if (!message.keep) { - delete callbacks$2[pageId]; - } - } - function addEventListener(pageId, callback) { - if (getRuntime() === 'v8') { - if (BroadcastChannel_) { - channel && channel.close(); - channel = new BroadcastChannel_(getPageId()); - channel.onmessage = onPlusMessage$1; - } - else if (!globalEvent$1) { - globalEvent$1 = weex_.requireModule('globalEvent'); - globalEvent$1.addEventListener('plusMessage', onPlusMessage$1); - } - } - else { - // @ts-ignore - window.__plusMessage = onPlusMessage$1; - } - callbacks$2[pageId] = callback; - } - class Page { - constructor(webview) { - this.webview = webview; - } - sendMessage(data) { - const message = JSON.parse(JSON.stringify({ - __message: { - data, - }, - })); - const id = this.webview.id; - if (BroadcastChannel_) { - const channel = new BroadcastChannel_(id); - channel.postMessage(message); - } - else { - plus_.webview.postMessageToUniNView && - plus_.webview.postMessageToUniNView(message, id); - } - } - close() { - this.webview.close(); - } - } - function showPage({ context = {}, url, data = {}, style = {}, onMessage, onClose, }) { - // eslint-disable-next-line - plus_ = context.plus || plus; - // eslint-disable-next-line - weex_ = context.weex || (typeof weex === 'object' ? weex : null); - // eslint-disable-next-line - BroadcastChannel_ = - context.BroadcastChannel || - (typeof BroadcastChannel === 'object' ? BroadcastChannel : null); - const titleNView = { - autoBackButton: true, - titleSize: '17px', - }; - const pageId = `page${Date.now()}`; - style = extend({}, style); - if (style.titleNView !== false && style.titleNView !== 'none') { - style.titleNView = extend(titleNView, style.titleNView); - } - const defaultStyle = { - top: 0, - bottom: 0, - usingComponents: {}, - popGesture: 'close', - scrollIndicator: 'none', - animationType: 'pop-in', - animationDuration: 200, - uniNView: { - path: `${(typeof process === 'object' && - process.env && - process.env.VUE_APP_TEMPLATE_PATH) || - ''}/${url}.js`, - defaultFontSize: 16, - viewport: plus_.screen.resolutionWidth, - }, - }; - style = extend(defaultStyle, style); - const page = plus_.webview.create('', pageId, style, { - extras: { - from: getPageId(), - runtime: getRuntime(), - data, - useGlobalEvent: !BroadcastChannel_, - }, - }); - page.addEventListener('close', onClose); - addEventListener(pageId, (message) => { - if (typeof onMessage === 'function') { - onMessage(message.data); - } - if (!message.keep) { - page.close('auto'); - } - }); - page.show(style.animationType, style.animationDuration); - return new Page(page); - } - const scanCode = defineAsyncApi(API_SCAN_CODE, (options, { resolve, reject }) => { initI18nScanCodeMsgsOnce(); const { t } = useI18n(); diff --git a/packages/uni-app-plus/dist/uni-app-view.umd.js b/packages/uni-app-plus/dist/uni-app-view.umd.js index 3f34d430e9d150158338200fedae63dcfddff510..bc63789074bdf8dd868c0d14a6a0fd4daf0a41d5 100644 --- a/packages/uni-app-plus/dist/uni-app-view.umd.js +++ b/packages/uni-app-plus/dist/uni-app-view.umd.js @@ -1,3 +1,3 @@ -(function(Gn){typeof define=="function"&&define.amd?define(Gn):Gn()})(function(){"use strict";var Gn="",XT="",ZT="",Nr={exports:{}},da={exports:{}},ha={exports:{}},Uh=ha.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Uh);var Ht={exports:{}},ga=Ht.exports=typeof ga!="undefined"&&ga.Math==Math?ga:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=ga);var Hh=ha.exports,Dl=Ht.exports,Bl="__core-js_shared__",$l=Dl[Bl]||(Dl[Bl]={});(da.exports=function(e,t){return $l[e]||($l[e]=t!==void 0?t:{})})("versions",[]).push({version:Hh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var Wh=0,Vh=Math.random(),Jn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++Wh+Vh).toString(36))},Qn=da.exports("wks"),jh=Jn,eo=Ht.exports.Symbol,Fl=typeof eo=="function",Yh=Nr.exports=function(e){return Qn[e]||(Qn[e]=Fl&&eo[e]||(Fl?eo:jh)("Symbol."+e))};Yh.store=Qn;var pa={},to=function(e){return typeof e=="object"?e!==null:typeof e=="function"},qh=to,ro=function(e){if(!qh(e))throw TypeError(e+" is not an object!");return e},ma=function(e){try{return!!e()}catch(t){return!0}},ci=!ma(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),zl=to,io=Ht.exports.document,Xh=zl(io)&&zl(io.createElement),Ul=function(e){return Xh?io.createElement(e):{}},Zh=!ci&&!ma(function(){return Object.defineProperty(Ul("div"),"a",{get:function(){return 7}}).a!=7}),_a=to,Kh=function(e,t){if(!_a(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!_a(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!_a(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!_a(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Hl=ro,Gh=Zh,Jh=Kh,Qh=Object.defineProperty;pa.f=ci?Object.defineProperty:function(t,r,i){if(Hl(t),r=Jh(r,!0),Hl(i),Gh)try{return Qh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Wl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},eg=pa,tg=Wl,Dr=ci?function(e,t,r){return eg.f(e,t,tg(1,r))}:function(e,t,r){return e[t]=r,e},ao=Nr.exports("unscopables"),no=Array.prototype;no[ao]==null&&Dr(no,ao,{});var rg=function(e){no[ao][e]=!0},ig=function(e,t){return{value:t,done:!!e}},oo={},ag={}.toString,ng=function(e){return ag.call(e).slice(8,-1)},og=ng,sg=Object("z").propertyIsEnumerable(0)?Object:function(e){return og(e)=="String"?e.split(""):Object(e)},Vl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},lg=sg,ug=Vl,ba=function(e){return lg(ug(e))},wa={exports:{}},fg={}.hasOwnProperty,xa=function(e,t){return fg.call(e,t)},cg=da.exports("native-function-to-string",Function.toString),vg=Ht.exports,ya=Dr,jl=xa,so=Jn("src"),lo=cg,Yl="toString",dg=(""+lo).split(Yl);ha.exports.inspectSource=function(e){return lo.call(e)},(wa.exports=function(e,t,r,i){var a=typeof r=="function";a&&(jl(r,"name")||ya(r,"name",t)),e[t]!==r&&(a&&(jl(r,so)||ya(r,so,e[t]?""+e[t]:dg.join(String(t)))),e===vg?e[t]=r:i?e[t]?e[t]=r:ya(e,t,r):(delete e[t],ya(e,t,r)))})(Function.prototype,Yl,function(){return typeof this=="function"&&this[so]||lo.call(this)});var ql=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},hg=ql,gg=function(e,t,r){if(hg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Br=Ht.exports,Sa=ha.exports,pg=Dr,mg=wa.exports,Xl=gg,uo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,u=a?Br:n?Br[t]||(Br[t]={}):(Br[t]||{})[uo],l=a?Sa:Sa[t]||(Sa[t]={}),f=l[uo]||(l[uo]={}),d,g,h,w;a&&(r=t);for(d in r)g=!i&&u&&u[d]!==void 0,h=(g?u:r)[d],w=s&&g?Xl(h,Br):o&&typeof h=="function"?Xl(Function.call,h):h,u&&mg(u,d,h,e&je.U),l[d]!=h&&pg(l,d,w),o&&f[d]!=h&&(f[d]=h)};Br.core=Sa,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var fo=je,_g=Math.ceil,bg=Math.floor,Zl=function(e){return isNaN(e=+e)?0:(e>0?bg:_g)(e)},wg=Zl,xg=Math.min,yg=function(e){return e>0?xg(wg(e),9007199254740991):0},Sg=Zl,Eg=Math.max,Tg=Math.min,Cg=function(e,t){return e=Sg(e),e<0?Eg(e+t,0):Tg(e,t)},Og=ba,Ag=yg,Ig=Cg,kg=function(e){return function(t,r,i){var a=Og(t),n=Ag(a.length),o=Ig(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Kl=da.exports("keys"),Mg=Jn,co=function(e){return Kl[e]||(Kl[e]=Mg(e))},Gl=xa,Rg=ba,Lg=kg(!1),Pg=co("IE_PROTO"),Ng=function(e,t){var r=Rg(e),i=0,a=[],n;for(n in r)n!=Pg&&Gl(r,n)&&a.push(n);for(;t.length>i;)Gl(r,n=t[i++])&&(~Lg(a,n)||a.push(n));return a},Jl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Dg=Ng,Bg=Jl,vo=Object.keys||function(t){return Dg(t,Bg)},$g=pa,Fg=ro,zg=vo,Ug=ci?Object.defineProperties:function(t,r){Fg(t);for(var i=zg(r),a=i.length,n=0,o;a>n;)$g.f(t,o=i[n++],r[o]);return t},Ql=Ht.exports.document,Hg=Ql&&Ql.documentElement,Wg=ro,Vg=Ug,eu=Jl,jg=co("IE_PROTO"),ho=function(){},go="prototype",Ea=function(){var e=Ul("iframe"),t=eu.length,r="<",i=">",a;for(e.style.display="none",Hg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Ea=a.F;t--;)delete Ea[go][eu[t]];return Ea()},Yg=Object.create||function(t,r){var i;return t!==null?(ho[go]=Wg(t),i=new ho,ho[go]=null,i[jg]=t):i=Ea(),r===void 0?i:Vg(i,r)},qg=pa.f,Xg=xa,tu=Nr.exports("toStringTag"),ru=function(e,t,r){e&&!Xg(e=r?e:e.prototype,tu)&&qg(e,tu,{configurable:!0,value:t})},Zg=Yg,Kg=Wl,Gg=ru,iu={};Dr(iu,Nr.exports("iterator"),function(){return this});var Jg=function(e,t,r){e.prototype=Zg(iu,{next:Kg(1,r)}),Gg(e,t+" Iterator")},Qg=Vl,au=function(e){return Object(Qg(e))},ep=xa,tp=au,nu=co("IE_PROTO"),rp=Object.prototype,ip=Object.getPrototypeOf||function(e){return e=tp(e),ep(e,nu)?e[nu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?rp:null},po=fo,ap=wa.exports,ou=Dr,su=oo,np=Jg,op=ru,sp=ip,vi=Nr.exports("iterator"),mo=!([].keys&&"next"in[].keys()),lp="@@iterator",lu="keys",Ta="values",uu=function(){return this},up=function(e,t,r,i,a,n,o){np(r,t,i);var s=function(c){if(!mo&&c in d)return d[c];switch(c){case lu:return function(){return new r(this,c)};case Ta:return function(){return new r(this,c)}}return function(){return new r(this,c)}},u=t+" Iterator",l=a==Ta,f=!1,d=e.prototype,g=d[vi]||d[lp]||a&&d[a],h=g||s(a),w=a?l?s("entries"):h:void 0,_=t=="Array"&&d.entries||g,x,m,b;if(_&&(b=sp(_.call(new e)),b!==Object.prototype&&b.next&&(op(b,u,!0),typeof b[vi]!="function"&&ou(b,vi,uu))),l&&g&&g.name!==Ta&&(f=!0,h=function(){return g.call(this)}),(mo||f||!d[vi])&&ou(d,vi,h),su[t]=h,su[u]=uu,a)if(x={values:l?h:s(Ta),keys:n?h:s(lu),entries:w},o)for(m in x)m in d||ap(d,m,x[m]);else po(po.P+po.F*(mo||f),t,x);return x},_o=rg,Ca=ig,fu=oo,fp=ba,cp=up(Array,"Array",function(e,t){this._t=fp(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Ca(1)):t=="keys"?Ca(0,r):t=="values"?Ca(0,e[r]):Ca(0,[r,e[r]])},"values");fu.Arguments=fu.Array,_o("keys"),_o("values"),_o("entries");for(var cu=cp,vp=vo,dp=wa.exports,hp=Ht.exports,vu=Dr,du=oo,hu=Nr.exports,gu=hu("iterator"),pu=hu("toStringTag"),mu=du.Array,_u={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},bu=vp(_u),bo=0;bo!!r[n.toLowerCase()]:n=>!!r[n]}var pp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mp=Ia(pp);function xu(e){return!!e||e===""}var _p=Ia("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function wo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(wp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function xp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ge(r);(Ee(i)||typeof i=="number"&&_p(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function xo(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},yp=()=>!1,Sp=/^on[^a-z]/,ka=e=>Sp.test(e),yo=e=>e.startsWith("onUpdate:"),fe=Object.assign,So=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},Ep=Object.prototype.hasOwnProperty,ie=(e,t)=>Ep.call(e,t),ne=Array.isArray,hi=e=>gi(e)==="[object Map]",Tp=e=>gi(e)==="[object Set]",se=e=>typeof e=="function",Ee=e=>typeof e=="string",Eo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",Su=e=>We(e)&&se(e.then)&&se(e.catch),Cp=Object.prototype.toString,gi=e=>Cp.call(e),To=e=>gi(e).slice(8,-1),mt=e=>gi(e)==="[object Object]",Co=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ma=Ia(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ra=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Op=/-(\w)/g,Wt=Ra(e=>e.replace(Op,(t,r)=>r?r.toUpperCase():"")),Ap=/\B([A-Z])/g,Ge=Ra(e=>e.replace(Ap,"-$1").toLowerCase()),La=Ra(e=>e.charAt(0).toUpperCase()+e.slice(1)),Oo=Ra(e=>e?"on".concat(La(e)):""),pi=(e,t)=>!Object.is(e,t),Ao=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Ip=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Eu,kp=()=>Eu||(Eu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),mi=` -`,Tu=44,Na="#007aff",Mp=/^([a-z-]+:)?\/\//i,Rp=/^data:.*,.*/,Cu="wxs://",Ou="json://",Lp="wxsModules",Pp="renderjsModules",Np="onPageScroll",Dp="onReachBottom",Bp="onWxsInvokeCallMethod",Io=0;function ko(e){var t=Date.now(),r=Io?t-Io:0;Io=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function Mo(e){return fe({},e.dataset,e.__uniDataset)}function _i(e){return{passive:e}}function Ro(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Mo(e),offsetTop:r,offsetLeft:i}}function $p(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:u,weight:l,stretch:f,unicodeRange:d,variant:g,featureSettings:h}=r;u&&s.push("font-style:".concat(u)),l&&s.push("font-weight:".concat(l)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),g&&s.push("font-variant:".concat(g)),h&&s.push("font-feature-settings:".concat(h))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Fp(e,t){if(Ee(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:a,scrollHeight:n}=i;if(e=Math.min(e,n-a),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var u=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+u/s*10),o(s-10)})};o(t)}}function zp(){return typeof __channelId__=="string"&&__channelId__}function Up(e,t){switch(To(t)){case"Function":return"function() { [native code] }";default:return t}}function Hp(e,t,r){if(zp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=gi(a).toLowerCase();if(n==="[object object]"||n==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,Up)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=To(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Wp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a({stop:1,prevent:1<<1,self:1<<2}))(),Iu="class",No="style",jp="innerHTML",Yp="textContent",Da=".vShow",ku=".vOwnerId",Mu=".vRenderjs",Do="change:",Ru=1,qp=2,Xp=3,Zp=5,Kp=6,Gp=7,Jp=8,Qp=9,em=10,tm=12,rm=15,im=20;function am(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function nm(e){return am(e)}function om(e){return e.indexOf("/")===0}function Bo(e){return om(e)?e:"/"+e}function Ba(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;ne.apply(this,arguments);r=setTimeout(a,t)};return i.cancel=function(){clearTimeout(r)},i}var Pu=function(){};Pu.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;ie!==null&&typeof e=="object",fm=["{","}"];class cm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fm;if(!r)return[t];var a=this._caches[t];return a||(a=hm(t,i),this._caches[t]=a),gm(a,r)}}var vm=/^(?:\d)+/,dm=/^(?:\w)+/;function hm(e,t){for(var[r,i]=t,a=[],n=0,o="";npm.call(e,t),mm=new cm;function _m(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function bm(e,t){return t.find(r=>e.indexOf(r)===0)}function Bu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return bi;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?bi:e.indexOf("-hant")>-1||_m(e,["-tw","-hk","-mo","-cht"])?$a:bi;var r=bm(e,[Vt,$o,Fo]);if(r)return r}}class wm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Vt,this.fallbackLocale=Vt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||mm,this.messages=a||{},this.setLocale(r||Vt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Bu(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Du(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Bu(r,this.messages),r&&(a=this.messages[r])):i=r,Du(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function xm(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function ym(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Vt}function Sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=ym()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Vt);var a=new wm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(l,f){return a.t(l,f)};else{var u=!1;n=function(l,f){var d=getApp().$vm;return d&&(d.$locale,u||(u=!0,xm(d,a))),a.t(l,f)}}return n(o,s)};return{i18n:a,f(o,s,u){return a.f(o,s,u)},t(o,s){return n(o,s)},add(o,s){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,u)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var Em=Ba(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),wi;function Je(){if(!wi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,wi=Sm(e),Em()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>wi.add(r,__uniConfig.locales[r])),wi.setLocale(e)}}return wi}function _t(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var Tm=Ba(()=>{var e="uni.picker.",t=["done","cancel"];Je().add(Vt,_t(e,t,["Done","Cancel"]),!1),Je().add(Fo,_t(e,t,["OK","Cancelar"]),!1),Je().add($o,_t(e,t,["OK","Annuler"]),!1),Je().add(bi,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Je().add($a,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Cm=Ba(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Je().add(Vt,_t(e,t,["feedback","send"]),!1),Je().add(Fo,_t(e,t,["realimentaci\xF3n","enviar"]),!1),Je().add($o,_t(e,t,["retour d'information","envoyer"]),!1),Je().add(bi,_t(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Je().add($a,_t(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function $u(e){var t=new Nu;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var xi="invokeViewApi",Fu="invokeServiceApi",Om=1,Am=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?Om++:0;r&&i(Fu+"."+n,r,!0),a(Fu,{id:n,name:e,args:t})},Fa=Object.create(null);function za(e,t){return e+"."+t}function Im(e,t){UniViewJSBridge.subscribe(za(e,xi),t?t(zu):zu)}function bt(e,t,r){t=za(e,t),Fa[t]||(Fa[t]=r)}function km(e,t){t=za(e,t),delete Fa[t]}function zu(e,t){var{id:r,name:i,args:a}=e;i=za(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(xi+"."+r,s)},o=Fa[i];o?o(a,n):n({})}var Mm=fe($u("service"),{invokeServiceMethod:Am}),Rm=350,Uu=10,Ua=_i(!0),yi;function Si(){yi&&(clearTimeout(yi),yi=null)}var Hu=0,Wu=0;function Lm(e){if(Si(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Hu=t,Wu=r,yi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},Rm)}}function Pm(e){if(!!yi){if(e.touches.length!==1)return Si();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Hu)>Uu||Math.abs(r-Wu)>Uu)return Si()}}function Nm(){window.addEventListener("touchstart",Lm,Ua),window.addEventListener("touchmove",Pm,Ua),window.addEventListener("touchend",Si,Ua),window.addEventListener("touchcancel",Si,Ua)}function Vu(e,t){var r=Number(e);return isNaN(r)?t:r}function Dm(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Bm(){function e(){var t=__uniConfig.globalStyle||{},r=Vu(t.rpxCalcMaxDeviceWidth,960),i=Vu(t.rpxCalcBaseDeviceWidth,375),a=Dm();a=a<=r?a:i,document.documentElement.style.fontSize=a/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function $m(){Bm(),Nm()}var Fm=ma,zm=function(e,t){return!!e&&Fm(function(){t?e.call(null,function(){},1):e.call(null)})},zo=fo,Um=ql,ju=au,Yu=ma,Uo=[].sort,qu=[1,2,3];zo(zo.P+zo.F*(Yu(function(){qu.sort(void 0)})||!Yu(function(){qu.sort(null)})||!zm(Uo)),"Array",{sort:function(t){return t===void 0?Uo.call(ju(this)):Uo.call(ju(this),Um(t))}});var Rt;class Hm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&Rt&&(this.parent=Rt,this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Rt=this,t()}finally{Rt=this.parent}}on(){Rt=this}off(){Rt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r1&&arguments[1]!==void 0?arguments[1]:Rt;t&&t.active&&t.effects.push(e)}var Ho=e=>{var t=new Set(e);return t.w=0,t.n=0,t},Xu=e=>(e.w&jt)>0,Zu=e=>(e.n&jt)>0,Vm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Wm(this,i)}run(){if(!this.active)return this.fn();for(var t=wt,r=Yt;t;){if(t===this)return;t=t.parent}try{return this.parent=wt,wt=this,Yt=!0,jt=1<<++Ei,Ei<=Vo?Vm(this):Ku(this),this.fn()}finally{Ei<=Vo&&jm(this),jt=1<<--Ei,wt=this.parent,Yt=r,this.parent=void 0}}stop(){this.active&&(Ku(this),this.onStop&&this.onStop(),this.active=!1)}}function Ku(e){var{deps:t}=e;if(t.length){for(var r=0;r{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?Co(r)&&s.push(o.get("length")):(s.push(o.get(cr)),hi(e)&&s.push(o.get(jo)));break;case"delete":ne(e)||(s.push(o.get(cr)),hi(e)&&s.push(o.get(jo)));break;case"set":hi(e)&&s.push(o.get(cr));break}if(s.length===1)s[0]&&qo(s[0]);else{var u=[];for(var l of s)l&&u.push(...l);qo(Ho(u))}}}function qo(e,t){for(var r of ne(e)?e:[...e])(r!==wt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Ym=Ia("__proto__,__v_isRef,__isVue"),Qu=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Eo)),qm=Xo(),Xm=Xo(!1,!0),Zm=Xo(!0),ef=Km();function Km(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Fr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?v0:ff:t?uf:lf).get(i))return i;var o=ne(i);if(!e&&o&&ie(ef,a))return Reflect.get(ef,a,n);var s=Reflect.get(i,a,n);if((Eo(a)?Qu.has(a):Ym(a))||(e||Qe(i,"get",a),t))return s;if(Fe(s)){var u=!o||!Co(a);return u?s.value:s}return We(s)?e?cf(s):ke(s):s}}var Gm=tf(),Jm=tf(!0);function tf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Ti(o)&&Fe(o)&&!Fe(a))return!1;if(!e&&!Ti(a)&&(vf(a)||(a=me(a),o=me(o)),!ne(r)&&Fe(o)&&!Fe(a)))return o.value=a,!0;var s=ne(r)&&Co(i)?Number(i)e,Ha=e=>Reflect.getPrototypeOf(e);function Wa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&Qe(a,"get",t),!r&&Qe(a,"get",n);var{has:o}=Ha(a),s=i?Zo:r?Jo:Ci;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&Qe(i,"has",e),!t&&Qe(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&Qe(me(e),"iterate",cr),Reflect.get(e,"size",e)}function af(e){e=me(e);var t=me(this),r=Ha(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function nf(e,t){t=me(t);var r=me(this),{has:i,get:a}=Ha(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?pi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function of(e){var t=me(this),{has:r,get:i}=Ha(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function sf(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function Ya(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),u=t?Zo:e?Jo:Ci;return!e&&Qe(s,"iterate",cr),o.forEach((l,f)=>i.call(a,u(l),u(f),n))}}function qa(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=hi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,u=i[e](...arguments),l=r?Zo:t?Jo:Ci;return!t&&Qe(a,"iterate",s?jo:cr),{next(){var{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:o?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function qt(e){return function(){return e==="delete"?!1:this}}function a0(){var e={get(n){return Wa(this,n)},get size(){return ja(this)},has:Va,add:af,set:nf,delete:of,clear:sf,forEach:Ya(!1,!1)},t={get(n){return Wa(this,n,!1,!0)},get size(){return ja(this)},has:Va,add:af,set:nf,delete:of,clear:sf,forEach:Ya(!1,!0)},r={get(n){return Wa(this,n,!0)},get size(){return ja(this,!0)},has(n){return Va.call(this,n,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:Ya(!0,!1)},i={get(n){return Wa(this,n,!0,!0)},get size(){return ja(this,!0)},has(n){return Va.call(this,n,!0)},add:qt("add"),set:qt("set"),delete:qt("delete"),clear:qt("clear"),forEach:Ya(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=qa(n,!1,!1),r[n]=qa(n,!0,!1),t[n]=qa(n,!1,!0),i[n]=qa(n,!0,!0)}),[e,r,t,i]}var[n0,o0,s0,l0]=a0();function Ko(e,t){var r=t?e?l0:s0:e?o0:n0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var u0={get:Ko(!1,!1)},f0={get:Ko(!1,!0)},c0={get:Ko(!0,!1)},lf=new WeakMap,uf=new WeakMap,ff=new WeakMap,v0=new WeakMap;function d0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function h0(e){return e.__v_skip||!Object.isExtensible(e)?0:d0(To(e))}function ke(e){return Ti(e)?e:Go(e,!1,rf,u0,lf)}function g0(e){return Go(e,!1,i0,f0,uf)}function cf(e){return Go(e,!0,r0,c0,ff)}function Go(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=h0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Ur(e){return Ti(e)?Ur(e.__v_raw):!!(e&&e.__v_isReactive)}function Ti(e){return!!(e&&e.__v_isReadonly)}function vf(e){return!!(e&&e.__v_isShallow)}function df(e){return Ur(e)||Ti(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function Xa(e){return Pa(e,"__v_skip",!0),e}var Ci=e=>We(e)?ke(e):e,Jo=e=>We(e)?cf(e):e;function hf(e){Yt&&wt&&(e=me(e),Ju(e.dep||(e.dep=Ho())))}function gf(e,t){e=me(e),e.dep&&qo(e.dep)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function U(e){return pf(e,!1)}function Qo(e){return pf(e,!0)}function pf(e,t){return Fe(e)?e:new p0(e,t)}class p0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ci(t)}get value(){return hf(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),pi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ci(t),gf(this))}}function m0(e){return Fe(e)?e.value:e}var _0={get:(e,t,r)=>m0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return Fe(a)&&!Fe(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function mf(e){return Ur(e)?e:new Proxy(e,_0)}class b0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Yo(t,()=>{this._dirty||(this._dirty=!0,gf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return hf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function w0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=se(e);n?(i=e,a=pt):(i=e.get,a=e.set);var o=new b0(i,a,n||!a,r);return o}function Xt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Za(n,t,r)}return a}function ft(e,t,r,i){if(se(e)){var a=Xt(e,t,r,i);return a&&Su(a)&&a.catch(s=>{Za(s,t,r)}),a}for(var n=[],o=0;o>>1,a=ki(et[i]);aPt&&et.splice(t,1)}function xf(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),wf()}function E0(e){xf(e,Ai,Oi,Hr)}function T0(e){xf(e,Zt,Ii,Wr)}function is(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Oi.length){for(rs=t,Ai=[...new Set(Oi)],Oi.length=0,Hr=0;Hrki(r)-ki(i)),Wr=0;Wre.id==null?1/0:e.id;function Sf(e){es=!1,Ka=!0,is(e),et.sort((i,a)=>ki(i)-ki(a));var t=pt;try{for(Pt=0;Pt2?i-2:0),n=2;n_.trim()):f&&(o=a.map(Ip))}var g,h=r[g=Oo(t)]||r[g=Oo(Wt(t))];!h&&s&&(h=r[g=Oo(Ge(t))]),h&&ft(h,e,6,o);var w=r[g+"Once"];if(w){if(!e.emitted)e.emitted={};else if(e.emitted[g])return;e.emitted[g]=!0,ft(w,e,6,o)}}function Ef(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!se(e)){var u=l=>{var f=Ef(l,t,!0);f&&(s=!0,fe(o,f))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(l=>o[l]=null):fe(o,n),i.set(e,o),o)}function as(e,t){return!e||!ka(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Ge(t))||ie(e,t))}var ct=null,Tf=null;function Ga(e){var t=ct;return ct=e,Tf=e&&e.type.__scopeId||null,t}function O0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;if(!t||e._n)return e;var r=function(){r._d&&Zf(-1);var i=Ga(t),a=e(...arguments);return Ga(i),r._d&&Zf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function KT(){}function ns(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:u,emit:l,render:f,renderCache:d,data:g,setupState:h,ctx:w,inheritAttrs:_}=e,x,m,b=Ga(e);try{if(r.shapeFlag&4){var c=a||i;x=yt(f.call(c,c,d,n,h,g,w)),m=u}else{var v=t;x=yt(v.length>1?v(n,{attrs:u,slots:s,emit:l}):v(n,null)),m=t.props?u:A0(u)}}catch(C){Za(C,e,1),x=I(jr)}var p=x;if(m&&_!==!1){var y=Object.keys(m),{shapeFlag:E}=p;y.length&&E&(1|6)&&(o&&y.some(yo)&&(m=I0(m,o)),p=Li(p,m))}return r.dirs&&(p.dirs=p.dirs?p.dirs.concat(r.dirs):r.dirs),r.transition&&(p.transition=r.transition),x=p,Ga(b),x}var A0=e=>{var t;for(var r in e)(r==="class"||r==="style"||ka(r))&&((t||(t={}))[r]=e[r]);return t},I0=(e,t)=>{var r={};for(var i in e)(!yo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function k0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:u}=t,l=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return i?Cf(i,o,l):!!o;if(u&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function L0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):T0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||ct;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&se(t)?t.call(i.proxy):t}}function P0(e,t){return os(e,null,t)}var Of={};function W(e,t,r){return os(e,t,r)}function os(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,u,l=!1,f=!1;if(Fe(e)?(u=()=>e.value,l=vf(e)):Ur(e)?(u=()=>e,i=!0):ne(e)?(f=!0,l=e.some(Ur),u=()=>e.map(b=>{if(Fe(b))return b.value;if(Ur(b))return vr(b);if(se(b))return Xt(b,s,2)})):se(e)?t?u=()=>Xt(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return g&&g(),ft(e,s,3,[h])}:u=pt,t&&i){var d=u;u=()=>vr(d())}var g,h=b=>{g=m.onStop=()=>{Xt(b,s,4)}};if(Pi)return h=pt,t?r&&ft(t,s,3,[u(),f?[]:void 0,h]):u(),pt;var w=f?[]:Of,_=()=>{if(!!m.active)if(t){var b=m.run();(i||l||(f?b.some((c,v)=>pi(c,w[v])):pi(b,w)))&&(g&&g(),ft(t,s,3,[b,w===Of?void 0:w,h]),w=b)}else m.run()};_.allowRecurse=!!t;var x;a==="sync"?x=_:a==="post"?x=()=>Xe(_,s&&s.suspense):x=()=>{!s||s.isMounted?E0(_):_()};var m=new Yo(u,x);return t?r?_():w=m.run():a==="post"?Xe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&So(s.scope.effects,m)}}function N0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Af(i,e):()=>i[e]:e.bind(i,i),n;se(t)?n=t:(n=t.handler,r=t);var o=Ue;Yr(this);var s=os(a,n.bind(i),r);return o?Yr(o):pr(),s}function Af(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{vr(a,t)});else if(mt(e))for(var i in e)vr(e[i],t);return e}function D0(e){return se(e)?{setup:e,name:e.name}:e}var ss=e=>!!e.type.__asyncLoader,If=e=>e.type.__isKeepAlive;function ls(e,t){kf(e,"a",t)}function B0(e,t){kf(e,"da",t)}function kf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Ja(t,i,r),r)for(var a=r.parent;a&&a.parent;)If(a.parent.vnode)&&$0(i,t,r,a),a=a.parent}function $0(e,t,r,i){var a=Ja(t,e,i,!0);Kt(()=>{So(i[t],a)},r)}function Ja(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Fr(),Yr(r);for(var o=arguments.length,s=new Array(o),u=0;ufunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Pi||e==="sp")&&Ja(e,t,r)},Mf=Nt("bm"),Re=Nt("m"),F0=Nt("bu"),z0=Nt("u"),Ae=Nt("bum"),Kt=Nt("um"),U0=Nt("sp"),H0=Nt("rtg"),W0=Nt("rtc");function V0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Ja("ec",e,t)}var us=!0;function j0(e){var t=Pf(e),r=e.proxy,i=e.ctx;us=!1,t.beforeCreate&&Rf(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:u,inject:l,created:f,beforeMount:d,mounted:g,beforeUpdate:h,updated:w,activated:_,deactivated:x,beforeDestroy:m,beforeUnmount:b,destroyed:c,unmounted:v,render:p,renderTracked:y,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:P,inheritAttrs:M,components:H,directives:re,filters:R}=t,B=null;if(l&&Y0(l,i,B,e.appContext.config.unwrapInjectedRef),o)for(var X in o){var Q=o[X];se(Q)&&(i[X]=Q.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),us=!0,n){var V=function(le){var J=n[le],ye=se(J)?J.bind(r,r):se(J.get)?J.get.bind(r,r):pt,be=!se(J)&&se(J.set)?J.set.bind(r):pt,Ve=te({get:ye,set:be});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:lr=>Ve.value=lr})};for(var K in n)V(K)}if(s)for(var ae in s)Lf(s[ae],i,r,ae);if(u){var Te=se(u)?u.call(r):u;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&Rf(f,e,"c");function oe(le,J){ne(J)?J.forEach(ye=>le(ye.bind(r))):J&&le(J.bind(r))}if(oe(Mf,d),oe(Re,g),oe(F0,h),oe(z0,w),oe(ls,_),oe(B0,x),oe(V0,C),oe(W0,y),oe(H0,E),oe(Ae,b),oe(Kt,v),oe(U0,O),ne(P))if(P.length){var de=e.exposed||(e.exposed={});P.forEach(le=>{Object.defineProperty(de,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});p&&e.render===pt&&(e.render=p),M!=null&&(e.inheritAttrs=M),H&&(e.components=H),re&&(e.directives=re)}function Y0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=fs(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),Fe(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:u=>s.value=u}):t[n]=s};for(var a in e)i(a)}function Rf(e,t,r){ft(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Lf(e,t,r,i){var a=i.includes(".")?Af(r,i):()=>r[i];if(Ee(e)){var n=t[e];se(n)&&W(a,n)}else if(se(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>Lf(s,t,r,i));else{var o=se(e.handler)?e.handler.bind(r):t[e.handler];se(o)&&W(a,o,e)}}function Pf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),u;return s?u=s:!a.length&&!r&&!i?u=t:(u={},a.length&&a.forEach(l=>Qa(u,l,o,!0)),Qa(u,t,o)),n.set(t,u),u}function Qa(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Qa(e,n,r,!0),a&&a.forEach(u=>Qa(e,u,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=q0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var q0={data:Nf,props:dr,emits:dr,methods:dr,computed:dr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:dr,directives:dr,watch:Z0,provide:Nf,inject:X0};function Nf(e,t){return t?e?function(){return fe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function X0(e,t){return dr(fs(e),fs(t))}function fs(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Pa(n,tn,1),e.propsDefaults=Object.create(null),Df(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:g0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function G0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[u]=e.propsOptions,l=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],u=!1;if(!se(e)){var l=c=>{u=!0;var[v,p]=Bf(c,t,!0);fe(o,v),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!n&&!u)return i.set(e,di),di;if(ne(n))for(var f=0;f-1,_[1]=m<0||x-1||ie(_,"default"))&&s.push(h)}}}var b=[o,s];return i.set(e,b),b}function $f(e){return e[0]!=="$"}function Ff(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function zf(e,t){return Ff(e)===Ff(t)}function Uf(e,t){return ne(t)?t.findIndex(r=>zf(r,e)):se(t)&&zf(t,e)?0:-1}var Hf=e=>e[0]==="_"||e==="$stable",vs=e=>ne(e)?e.map(yt):[yt(e)],J0=(e,t,r)=>{var i=O0(function(){return vs(t(...arguments))},r);return i._c=!1,i},Wf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!Hf(a)){var n=e[a];se(n)?t[a]=J0(a,n,i):n!=null&&function(){var o=vs(n);t[a]=()=>o}()}},Vf=(e,t)=>{var r=vs(t);e.slots.default=()=>r},Q0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Pa(t,"_",r)):Wf(t,e.slots={})}else e.slots={},t&&Vf(e,t);Pa(e.slots,tn,1)},e_=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(fe(a,t),!r&&s===1&&delete a._):(n=!t.$stable,Wf(t,a)),o=t}else t&&(Vf(e,t),o={default:1});if(n)for(var u in a)!Hf(u)&&!(u in o)&&delete a[u]};function Mi(e,t){var r=ct;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!We(a)&&(a=null);var n=jf(),o=new Set,s=!1,u=n.app={_uid:t_++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:y_,get config(){return n.config},set config(l){},use(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),g=1;g4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((_,x)=>ds(_,t&&(ne(t)?t[x]:t),r,i,a));return}if(!(ss(i)&&!a)){var n=i.shapeFlag&4?_s(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:u}=e,l=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(l!=null&&l!==u&&(Ee(l)?(f[l]=null,ie(d,l)&&(d[l]=null)):Fe(l)&&(l.value=null)),se(u))Xt(u,s,12,[o,f]);else{var g=Ee(u),h=Fe(u);if(g||h){var w=()=>{if(e.f){var _=g?f[u]:u.value;a?ne(_)&&So(_,n):ne(_)?_.includes(n)||_.push(n):g?f[u]=[n]:(u.value=[n],e.k&&(f[e.k]=u.value))}else g?(f[u]=o,ie(d,u)&&(d[u]=o)):Fe(u)&&(u.value=o,e.k&&(f[e.k]=o))};o?(w.id=-1,Xe(w,r)):w()}}}}var Xe=L0;function i_(e){return a_(e)}function a_(e,t){var r=kp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:u,setText:l,setElementText:f,parentNode:d,nextSibling:g,setScopeId:h=pt,cloneNode:w,insertStaticContent:_}=e,x=function(S,T,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,$=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!Ri(S,T)&&(L=Ve(S),de(S,N,F,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:ee,shapeFlag:G}=T;switch(D){case hs:m(S,T,k,L);break;case jr:b(S,T,k,L);break;case gs:S==null&&c(T,k,L,j);break;case xt:re(S,T,k,L,N,F,j,$,z);break;default:G&1?y(S,T,k,L,N,F,j,$,z):G&6?R(S,T,k,L,N,F,j,$,z):(G&64||G&128)&&D.process(S,T,k,L,N,F,j,$,z,Ne)}ee!=null&&N&&ds(ee,S&&S.ref,F,T||S,!T)}},m=(S,T,k,L)=>{if(S==null)i(T.el=s(T.children),k,L);else{var N=T.el=S.el;T.children!==S.children&&l(N,T.children)}},b=(S,T,k,L)=>{S==null?i(T.el=u(T.children||""),k,L):T.el=S.el},c=(S,T,k,L)=>{[S.el,S.anchor]=_(S.children,T,k,L,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:L,anchor:N}=S,F;L&&L!==N;)F=g(L),i(L,T,k),L=F;i(N,T,k)},p=S=>{for(var{el:T,anchor:k}=S,L;T&&T!==k;)L=g(T),a(T),T=L;a(k)},y=(S,T,k,L,N,F,j,$,z)=>{j=j||T.type==="svg",S==null?E(T,k,L,N,F,j,$,z):P(S,T,N,F,j,$,z)},E=(S,T,k,L,N,F,j,$)=>{var z,D,{type:ee,props:G,shapeFlag:Z,transition:ce,patchFlag:Be,dirs:Oe}=S;if(S.el&&w!==void 0&&Be===-1)z=S.el=w(S.el);else{if(z=S.el=o(S.type,F,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,L,N,F&&ee!=="foreignObject",j,$),Oe&&hr(S,null,L,"created"),G){for(var A in G)A!=="value"&&!Ma(A)&&n(z,A,null,G[A],F,S.children,L,N,be);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&St(D,L,S)}C(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Oe&&hr(S,null,L,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&ce&&!ce.persisted;Y&&ce.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Oe)&&Xe(()=>{D&&St(D,L,S),Y&&ce.enter(z),Oe&&hr(S,null,L,"mounted")},N)},C=(S,T,k,L,N)=>{if(k&&h(S,k),L)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var $=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:ee}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,ce;k&&gr(k,!1),(ce=Z.onVnodeBeforeUpdate)&&St(ce,k,T,S),ee&&hr(T,S,k,"beforeUpdate"),k&&gr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?M(S.dynamicChildren,D,$,k,L,Be,F):j||K(S,T,$,null,k,L,Be,F,!1),z>0){if(z&16)H($,T,G,Z,k,L,N);else if(z&2&&G.class!==Z.class&&n($,"class",null,Z.class,N),z&4&&n($,"style",G.style,Z.style,N),z&8)for(var Oe=T.dynamicProps,A=0;A{ce&&St(ce,k,T,S),ee&&hr(T,S,k,"updated")},L)},M=(S,T,k,L,N,F,j)=>{for(var $=0;${if(k!==L){for(var $ in L)if(!Ma($)){var z=L[$],D=k[$];z!==D&&$!=="value"&&n(S,$,D,z,j,T.children,N,F,be)}if(k!==Se)for(var ee in k)!Ma(ee)&&!(ee in L)&&n(S,ee,k[ee],null,j,T.children,N,F,be);"value"in L&&n(S,"value",k.value,L.value)}},re=(S,T,k,L,N,F,j,$,z)=>{var D=T.el=S?S.el:s(""),ee=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:ce}=T;ce&&($=$?$.concat(ce):ce),S==null?(i(D,k,L),i(ee,k,L),O(T.children,k,ee,N,F,j,$,z)):G>0&&G&64&&Z&&S.dynamicChildren?(M(S.dynamicChildren,Z,k,N,F,j,$),(T.key!=null||N&&T===N.subTree)&&Yf(S,T,!0)):K(S,T,k,ee,N,F,j,$,z)},R=(S,T,k,L,N,F,j,$,z)=>{T.slotScopeIds=$,S==null?T.shapeFlag&512?N.ctx.activate(T,k,L,j,z):B(T,k,L,N,F,j,z):X(S,T,z)},B=(S,T,k,L,N,F,j)=>{var $=S.component=g_(S,L,N);if(If(S)&&($.ctx.renderer=Ne),p_($),$.asyncDep){if(N&&N.registerDep($,Q),!S.el){var z=$.subTree=I(jr);b(null,z,T,k)}return}Q($,S,T,k,N,F,j)},X=(S,T,k)=>{var L=T.component=S.component;if(k0(S,T,k))if(L.asyncDep&&!L.asyncResolved){V(L,T,k);return}else L.next=T,S0(L.update),L.update();else T.component=S.component,T.el=S.el,L.vnode=T},Q=(S,T,k,L,N,F,j)=>{var $=()=>{if(S.isMounted){var{next:ue,bu:$e,u:Ke,parent:De,vnode:gt}=S,ur=ue,Mt;gr(S,!1),ue?(ue.el=gt.el,V(S,ue,j)):ue=gt,$e&&Ao($e),(Mt=ue.props&&ue.props.onVnodeBeforeUpdate)&&St(Mt,De,ue,gt),gr(S,!0);var Lr=ns(S),Ut=S.subTree;S.subTree=Lr,x(Ut,Lr,d(Ut.el),Ve(Ut),S,N,F),ue.el=Lr.el,ur===null&&M0(S,Lr.el),Ke&&Xe(Ke,N),(Mt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>St(Mt,De,ue,gt),N)}else{var ee,{el:G,props:Z}=T,{bm:ce,m:Be,parent:Oe}=S,A=ss(T);if(gr(S,!1),ce&&Ao(ce),!A&&(ee=Z&&Z.onVnodeBeforeMount)&&St(ee,Oe,T),gr(S,!0),G&&va){var Y=()=>{S.subTree=ns(S),va(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=ns(S);x(null,q,k,L,S,N,F),T.el=q.el}if(Be&&Xe(Be,N),!A&&(ee=Z&&Z.onVnodeMounted)){var he=T;Xe(()=>St(ee,Oe,he),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=L=null}},z=S.effect=new Yo($,()=>bf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,gr(S,!0),D()},V=(S,T,k)=>{T.component=S;var L=S.vnode.props;S.vnode=T,S.next=null,G0(S,T.props,L,k),e_(S,T.children,k),Fr(),is(void 0,S.update),zr()},K=function(S,T,k,L,N,F,j,$){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,ee=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:ce}=T;if(Z>0){if(Z&128){Te(D,G,k,L,N,F,j,$,z);return}else if(Z&256){ae(D,G,k,L,N,F,j,$,z);return}}ce&8?(ee&16&&be(D,N,F),G!==D&&f(k,G)):ee&16?ce&16?Te(D,G,k,L,N,F,j,$,z):be(D,N,F,!0):(ee&8&&f(k,""),ce&16&&O(G,k,L,N,F,j,$,z))},ae=(S,T,k,L,N,F,j,$,z)=>{S=S||di,T=T||di;var D=S.length,ee=T.length,G=Math.min(D,ee),Z;for(Z=0;Zee?be(S,N,F,!0,!1,G):O(T,k,L,N,F,j,$,z,G)},Te=(S,T,k,L,N,F,j,$,z)=>{for(var D=0,ee=T.length,G=S.length-1,Z=ee-1;D<=G&&D<=Z;){var ce=S[D],Be=T[D]=z?Gt(T[D]):yt(T[D]);if(Ri(ce,Be))x(ce,Be,k,null,N,F,j,$,z);else break;D++}for(;D<=G&&D<=Z;){var Oe=S[G],A=T[Z]=z?Gt(T[Z]):yt(T[Z]);if(Ri(Oe,A))x(Oe,A,k,null,N,F,j,$,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,q=YZ)for(;D<=G;)de(S[D],N,F,!0),D++;else{var he=D,ue=D,$e=new Map;for(D=ue;D<=Z;D++){var Ke=T[D]=z?Gt(T[D]):yt(T[D]);Ke.key!=null&&$e.set(Ke.key,D)}var De,gt=0,ur=Z-ue+1,Mt=!1,Lr=0,Ut=new Array(ur);for(D=0;D=ur){de(fi,N,F,!0);continue}var Pr=void 0;if(fi.key!=null)Pr=$e.get(fi.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&Ri(fi,T[De])){Pr=De;break}Pr===void 0?de(fi,N,F,!0):(Ut[Pr-ue]=D+1,Pr>=Lr?Lr=Pr:Mt=!0,x(fi,T[Pr],k,null,N,F,j,$,z),gt++)}var $h=Mt?n_(Ut):di;for(De=$h.length-1,D=ur-1;D>=0;D--){var Nl=ue+D,Fh=T[Nl],zh=Nl+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:j,transition:$,children:z,shapeFlag:D}=S;if(D&6){oe(S.component.subTree,T,k,L);return}if(D&128){S.suspense.move(T,k,L);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i(F,T,k);for(var ee=0;ee$.enter(F),N);else{var{leave:Z,delayLeave:ce,afterLeave:Be}=$,Oe=()=>i(F,T,k),A=()=>{Z(F,()=>{Oe(),Be&&Be()})};ce?ce(F,Oe,A):A()}else i(F,T,k)},de=function(S,T,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:j,ref:$,children:z,dynamicChildren:D,shapeFlag:ee,patchFlag:G,dirs:Z}=S;if($!=null&&ds($,null,k,S,!0),ee&256){T.ctx.deactivate(S);return}var ce=ee&1&&Z,Be=!ss(S),Oe;if(Be&&(Oe=j&&j.onVnodeBeforeUnmount)&&St(Oe,T,S),ee&6)ye(S.component,k,L);else{if(ee&128){S.suspense.unmount(k,L);return}ce&&hr(S,null,T,"beforeUnmount"),ee&64?S.type.remove(S,T,k,N,Ne,L):D&&(F!==xt||G>0&&G&64)?be(D,T,k,!1,!0):(F===xt&&G&(128|256)||!N&&ee&16)&&be(z,T,k),L&&le(S)}(Be&&(Oe=j&&j.onVnodeUnmounted)||ce)&&Xe(()=>{Oe&&St(Oe,T,S),ce&&hr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:L,transition:N}=S;if(T===xt){J(k,L);return}if(T===gs){p(S);return}var F=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:$}=N,z=()=>j(k,F);$?$(S.el,F,z):z()}else F()},J=(S,T)=>{for(var k;S!==T;)k=g(S),a(S),S=k;a(T)},ye=(S,T,k)=>{var{bum:L,scope:N,update:F,subTree:j,um:$}=S;L&&Ao(L),N.stop(),F&&(F.active=!1,de(j,S,T,k)),$&&Xe($,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},be=function(S,T,k){for(var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=F;jS.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():g(S.anchor||S.el),lr=(S,T,k)=>{if(S==null)T._vnode&&de(T._vnode,null,null,!0);else{var L=T.__vueParent;x(T._vnode||null,S,T,null,L,null,k)}T._vnode=S},Ne={p:x,um:de,m:oe,r:le,mt:B,mc:O,pc:K,pbc:M,n:Ve,o:e},ca,va;return t&&([ca,va]=t(Ne)),{render:lr,hydrate:ca,createApp:r_(lr,ca)}}function gr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var o_=e=>e.__isTeleport,s_=Symbol(),xt=Symbol(void 0),hs=Symbol(void 0),jr=Symbol(void 0),gs=Symbol(void 0),qf=null,Xf=1;function Zf(e){Xf+=e}function en(e){return e?e.__v_isVNode===!0:!1}function Ri(e,t){return e.type===t.type&&e.key===t.key}var tn="__vInternal",Kf=e=>{var{key:t}=e;return t!=null?t:null},rn=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||Fe(t)||se(t)?{i:ct,r:t,k:r,f:!!i}:t:null};function l_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kf(t),ref:t&&rn(t),scopeId:Tf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(ps(u,r),n&128&&e.normalize(u)):r&&(u.shapeFlag|=Ee(r)?8:16),Xf>0&&!o&&qf&&(u.patchFlag>0||n&6)&&u.patchFlag!==32&&qf.push(u),u}var I=u_;function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===s_)&&(e=jr),en(e)){var o=Li(e,t,!0);return r&&ps(o,r),o}if(w_(e)&&(e=e.__vccOpts),t){t=f_(t);var{class:s,style:u}=t;s&&!Ee(s)&&(t.class=xo(s)),We(u)&&(df(u)&&!ne(u)&&(u=fe({},u)),t.style=wo(u))}var l=Ee(e)?1:R0(e)?128:o_(e)?64:We(e)?4:se(e)?2:0;return l_(e,t,r,i,a,l,n,!0)}function f_(e){return e?df(e)||tn in e?fe({},e):e:null}function Li(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?tt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Kf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(rn(t)):[a,rn(t)]:rn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Li(e.ssContent),ssFallback:e.ssFallback&&Li(e.ssFallback),el:e.el,anchor:e.anchor};return u}function c_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(hs,null,e,t)}function yt(e){return e==null||typeof e=="boolean"?I(jr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Gt(e):I(hs,null,String(e))}function Gt(e){return e.el===null||e.memo?e:Li(e)}function ps(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&(1|64)){var a=t.default;a&&(a._c&&(a._d=!1),ps(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(tn in t)?t._ctx=ct:n===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ct},r=32):(t=String(t),i&64?(r=16,t=[c_(t)]):r=8);e.children=t,e.shapeFlag|=r}function tt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ft(e,t,7,[r,i])}var ms=e=>e?Gf(e)?_s(e)||e.proxy:ms(e.parent):null,an=fe(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=>ms(e.parent),$root:e=>ms(e.root),$emit:e=>e.emit,$options:e=>Pf(e),$forceUpdate:e=>()=>bf(e.update),$nextTick:e=>Vr.bind(e.proxy),$watch:e=>N0.bind(e)}),v_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:u,appContext:l}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];us&&(s[t]=0)}}var g=an[t],h,w;if(g)return t==="$attrs"&&Qe(r,"get",t),g(r);if((h=u.__cssModules)&&(h=h[t]))return h;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(w=l.config.globalProperties,ie(w,t))return w[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==Se&&ie(n,t))n[t]=r;else if(a!==Se&&ie(a,t))a[t]=r;else if(ie(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,u;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(u=s[0])&&ie(u,t)||ie(n,t)||ie(an,t)||ie(o.config.globalProperties,t)}},d_=jf(),h_=0;function g_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||d_,n={uid:h_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new Hm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bf(i,a),emitsOptions:Ef(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext: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,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=C0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Dt=()=>Ue||ct,Yr=e=>{Ue=e,e.scope.on()},pr=()=>{Ue&&Ue.scope.off(),Ue=null};function Gf(e){return e.vnode.shapeFlag&4}var Pi=!1;function p_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Pi=t;var{props:r,children:i}=e.vnode,a=Gf(e);K0(e,r,a,t),Q0(e,i);var n=a?m_(e,t):void 0;return Pi=!1,n}function m_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Xa(new Proxy(e.ctx,v_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?b_(e):null;Yr(e),Fr();var n=Xt(i,e,0,[e.props,a]);if(zr(),pr(),Su(n)){if(n.then(pr,pr),t)return n.then(o=>{Jf(e,o,t)}).catch(o=>{Za(o,e,0)});e.asyncDep=n}else Jf(e,n,t)}else ec(e,t)}function Jf(e,t,r){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=mf(t)),ec(e,r)}var Qf;function ec(e,t,r){var i=e.type;if(!e.render){if(!t&&Qf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:u}=i,l=fe(fe({isCustomElement:n,delimiters:s},o),u);i.render=Qf(a,l)}}e.render=i.render||pt}Yr(e),Fr(),j0(e),zr(),pr()}function __(e){return new Proxy(e.attrs,{get(t,r){return Qe(e,"get","$attrs"),t[r]}})}function b_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=__(e))},slots:e.slots,emit:e.emit,expose:t}}function _s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mf(Xa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in an)return an[r](e)}}))}function w_(e){return se(e)&&"__vccOpts"in e}var te=(e,t)=>w0(e,t,Pi);function x_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?en(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&en(r)&&(r=[r]),I(e,t,r))}var y_="3.2.30",S_="http://www.w3.org/2000/svg",mr=typeof document!="undefined"?document:null,tc=mr&&mr.createElement("template"),E_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?mr.createElementNS(S_,e):mr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>mr.createTextNode(e),createComment:e=>mr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{tc.innerHTML=i?"".concat(e,""):e;var s=tc.content;if(i){for(var u=s.firstChild;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function T_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function C_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)bs(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&bs(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var rc=/\s*!important$/;function bs(e,t,r){if(ne(r))r.forEach(a=>bs(e,t,a));else if(r=I_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=O_(e,t);rc.test(r)?e.setProperty(Ge(i),r.replace(rc,""),"important"):e[i]=r}}var ic=["Webkit","Moz","ms"],ws={};function O_(e,t){var r=ws[t];if(r)return r;var i=Wt(t);if(i!=="filter"&&i in e)return ws[t]=i;i=La(i);for(var a=0;atypeof rpx2px!="function"?e:Ee(e)?e.replace(A_,(t,r)=>rpx2px(r)+"px"):e,ac="http://www.w3.org/1999/xlink";function k_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ac,t.slice(6,t.length)):e.setAttributeNS(ac,t,r);else{var n=mp(t);r==null||n&&!xu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function M_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var u=typeof e[t];if(u==="boolean"){e[t]=xu(r);return}else if(r==null&&u==="string"){e[t]="",e.removeAttribute(t);return}else if(u==="number"){try{e[t]=0}catch(l){}e.removeAttribute(t);return}}try{e[t]=r}catch(l){}}var nn=Date.now,nc=!1;if(typeof window!="undefined"){nn()>document.createEvent("Event").timeStamp&&(nn=()=>performance.now());var oc=navigator.userAgent.match(/firefox\/(\d+)/i);nc=!!(oc&&Number(oc[1])<=53)}var xs=0,R_=Promise.resolve(),L_=()=>{xs=0},P_=()=>xs||(R_.then(L_),xs=nn());function N_(e,t,r,i){e.addEventListener(t,r,i)}function D_(e,t,r,i){e.removeEventListener(t,r,i)}function B_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,u]=$_(t);if(i){var l=n[t]=F_(i,a);N_(e,s,l,u)}else o&&(D_(e,s,o,u),n[t]=void 0)}}var sc=/(?:Once|Passive|Capture)$/;function $_(e){var t;if(sc.test(e)){t={};for(var r;r=e.match(sc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ge(e.slice(2)),t]}function F_(e,t){var r=i=>{var a=i.timeStamp||nn();(nc||a>=r.attached-1)&&ft(z_(i,r.value),t,5,[i])};return r.value=e,r.attached=P_(),r}function z_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var lc=/^on[a-z]/,U_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0;t==="class"?T_(e,i,a):t==="style"?C_(e,r,i):ka(t)?yo(t)||B_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):H_(e,t,i,a))?M_(e,t,i,n,o,s,u):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),k_(e,t,i,a))};function H_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&lc.test(t)&&se(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lc.test(t)&&Ee(r)?!1:t in e}var W_=["ctrl","shift","alt","meta"],V_={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>W_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},ys=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Di(e,!1)}):Di(e,i))},beforeUnmount(e,t){var{value:r}=t;Di(e,r)}};function Di(e,t){e.style.display=t?e._vod:"none"}var j_=fe({patchProp:U_},E_),uc;function Y_(){return uc||(uc=i_(j_))}var fc=function(){var e=Y_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=q_(r);if(!!i){var a=e._component;!se(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function q_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var cc=["top","left","right","bottom"],Ss,on={},ot;function Es(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function vc(){if(ot=typeof ot=="string"?ot:Es(),!ot){cc.forEach(function(s){on[s]=0});return}function e(s,u){var l=s.style;Object.keys(u).forEach(function(f){var d=u[f];l[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(u){u()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,u){var l=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),h=100,w=1e4,_={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+u+")"};e(l,_),e(f,_),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(g,{transition:"0s",animation:"none",width:"250%",height:"250%"}),l.appendChild(d),f.appendChild(g),s.appendChild(l),s.appendChild(f),r(function(){l.scrollTop=f.scrollTop=w;var m=l.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===l?m:b)&&(l.scrollTop=f.scrollTop=w,m=l.scrollTop,b=f.scrollTop,X_(u))}l.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var x=getComputedStyle(l);Object.defineProperty(on,u,{configurable:!0,get:function(){return parseFloat(x.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),cc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),Ss=!0}function sn(e){return Ss||vc(),on[e]}var ln=[];function X_(e){ln.length||setTimeout(function(){var t={};ln.forEach(function(r){t[r]=on[r]}),ln.length=0,un.forEach(function(r){r(t)})},0),ln.push(e)}var un=[];function Z_(e){!Es()||(Ss||vc(),typeof e=="function"&&un.push(e))}function K_(e){var t=un.indexOf(e);t>=0&&un.splice(t,1)}var G_={get support(){return(typeof ot=="string"?ot:Es()).length!=0},get top(){return sn("top")},get left(){return sn("left")},get right(){return sn("right")},get bottom(){return sn("bottom")},onChange:Z_,offChange:K_},fn=G_,dc=ys(()=>{},["prevent"]);function cn(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Ts(){var e=document.documentElement.style,t=cn(e,"--window-top");return t?t+fn.top:0}function J_(){var e=document.documentElement.style,t=Ts(),r=cn(e,"--window-bottom"),i=cn(e,"--window-left"),a=cn(e,"--window-right");return{top:t,bottom:r?r+fn.bottom:0,left:i?i+fn.left:0,right:a?a+fn.right:0}}function Q_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function vn(e){return Symbol(e)}function hc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function _r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return eb(e);if(typeof e=="string"){var r=parseInt(e)||0;return hc(e)?uni.upx2px(r):r}return e}function eb(e){return hc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var tb="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",rb="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",ib="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",ab="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",nb="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",dn="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",ob="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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",sb="M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",lb="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 hn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function gn(){return Bt()}function ub(){return window.__PAGE_INFO__}function Bt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function fb(e){e.preventDefault()}var gc,pc=0;function cb(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:l}=document.documentElement,f=window.innerHeight,d=window.scrollY,g=d>0&&l>f&&d+f+i>=l,h=Math.abs(l-pc)>i;return g&&(!n||h)?(pc=l,n=!0,!0):(!g&&n&&(n=!1),!1)},u=()=>{t&&t(window.pageYOffset);function l(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(l()||(gc=setTimeout(l,300))),a=!1};return function(){clearTimeout(gc),a||requestAnimationFrame(u),a=!0}}function Cs(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Cs(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Bo(n.concat(r).join("/"))}class vb{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=mc(this.$el.querySelector(t));if(!!r)return Os(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];se(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Bp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Os(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new vb(e)),e.$el.__wxsComponentDescriptor}function Bi(e,t){return Os(e)}function mc(e){if(!!e)return qr(e)}function qr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(u=>{e.style[u]=t[u]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(u=>{e.classList.remove(u)}),r&&r.forEach(u=>{e.classList.add(u)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var db=e=>e.type==="click";function _c(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=bc(e,a);if(db(e))gb(n,e);else if(e instanceof TouchEvent){var o=Ts();n.touches=wc(e.touches,o),n.changedTouches=wc(e.changedTouches,o)}return[n]}function hb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function bc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:Ro(t?a:hb(a)),detail:{},currentTarget:Ro(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function gb(e,t){var{x:r,y:i}=t,a=Ts();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[pb(t,a)]}function pb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function wc(e,t){for(var r=[],i=0;iUniServiceJSBridge.emit("api."+e,t),xc=1;function yc(){return Bt()+"."+xi}var _b=(e,t,r,i)=>{var{subscribe:a,publishHandler:n}=UniServiceJSBridge,o=i?xc++:0;i&&a(xi+"."+o,i,!0),n(yc(),{id:o,name:e,args:t},r)},bb=(e,t,r,i)=>{var{subscribe:a,unsubscribe:n,publishHandler:o}=UniServiceJSBridge,s=xc++,u=xi+"."+s;return a(u,r),o(yc(),{id:s,name:e,args:t},i),()=>{n(u)}};$u("view");var Sc="vdSync",wb="__uniapp__service",Ec="onWebviewReady",xb=0,yb="webviewInserted",Sb="webviewRemoved",Eb="webviewId",Tb="setLocale",Tc=fe(Mm,{publishHandler:Cb});function Cb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Bt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},wb)}function Ob(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Mb(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Rb=0;function Lb(e,t,r){var i="".concat(Date.now()).concat(Rb++),a=new plus.nativeObj.Bitmap("bitmap".concat(i));a.loadBase64Data(e,function(){var o=e.match(/data:image\/(\S+?);/)||[null,"png"],s;o[1]&&(s=o[1].replace("jpeg","jpg"));var u="".concat(t,"/").concat(i,".").concat(s);a.save(u,{overwrite:!0,quality:100,format:s},function(){n(),r(null,u)},function(l){n(),r(l)})},function(o){n(),r(o)});function n(){a.clear()}}var $t={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var u in s)r(s,u)&&(n[u]=s[u])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,u,l){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+u),l);return}for(var f=0;f=0;)e[t]=0}var Bb=0,kc=1,$b=2,Fb=3,zb=258,As=29,Fi=256,zi=Fi+1+As,Kr=30,Is=19,Mc=2*zi+1,br=15,ks=16,Ub=7,Ms=256,Rc=16,Lc=17,Pc=18,Rs=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],pn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Hb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Nc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Wb=512,Ft=new Array((zi+2)*2);Zr(Ft);var Ui=new Array(Kr*2);Zr(Ui);var Hi=new Array(Wb);Zr(Hi);var Wi=new Array(zb-Fb+1);Zr(Wi);var Ls=new Array(As);Zr(Ls);var mn=new Array(Kr);Zr(mn);function Ps(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Dc,Bc,$c;function Ns(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Fc(e){return e<256?Hi[e]:Hi[256+(e>>>7)]}function Vi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>ks-r?(e.bi_buf|=t<>ks-e.bi_valid,e.bi_valid+=r-ks):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Vb(e){e.bi_valid===16?(Vi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function jb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,u=t.stat_desc.max_length,l,f,d,g,h,w,_=0;for(g=0;g<=br;g++)e.bl_count[g]=0;for(r[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;lu&&(g=u,_++),r[f*2+1]=g,!(f>i)&&(e.bl_count[g]++,h=0,f>=s&&(h=o[f-s]),w=r[f*2],e.opt_len+=w*(g+h),n&&(e.static_len+=w*(a[f*2+1]+h)));if(_!==0){do{for(g=u-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[u]--,_-=2}while(_>0);for(g=u;g!==0;g--)for(f=e.bl_count[g];f!==0;)d=e.heap[--l],!(d>i)&&(r[d*2+1]!==g&&(e.opt_len+=(g-r[d*2+1])*r[d*2],r[d*2+1]=g),f--)}}function Uc(e,t,r){var i=new Array(br+1),a=0,n,o;for(n=1;n<=br;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=zc(i[s]++,s))}}function Yb(){var e,t,r,i,a,n=new Array(br+1);for(r=0,i=0;i>=7;i8?Vi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function qb(e,t,r,i){Wc(e),i&&(Vi(e,r),Vi(e,~r)),Pb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Vc(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)Ds(e,r,o);l=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ds(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[l*2]=r[o*2]+r[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=l,e.heap[1]=l++,Ds(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],jb(e,t),Uc(r,u,e.bl_count)}function Yc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,u=7,l=4;for(o===0&&(u=138,l=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Nc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Zb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Ac;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Ic;for(r=32;r0?(e.strm.data_type===Db&&(e.strm.data_type=Kb(e)),Bs(e,e.l_desc),Bs(e,e.d_desc),o=Xb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?Zc(e,t,r,i):e.strategy===Nb||n===a?(Ze(e,(kc<<1)+(i?1:0),3),jc(e,Ft,Ui)):(Ze(e,($b<<1)+(i?1:0),3),Zb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),jc(e,e.dyn_ltree,e.dyn_dtree)),Hc(e),i&&Wc(e)}function ew(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Wi[r]+Fi+1)*2]++,e.dyn_dtree[Fc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Gb,Xr._tr_stored_block=Zc,Xr._tr_flush_block=Qb,Xr._tr_tally=ew,Xr._tr_align=Jb;function tw(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var Kc=tw;function rw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var iw=rw();function aw(e,t,r,i){var a=iw,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Gc=aw,$s={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=$t,st=Xr,Jc=Kc,Jt=Gc,nw=$s,wr=0,ow=1,sw=3,Qt=4,Qc=5,Ct=0,ev=1,lt=-2,lw=-3,Fs=-5,uw=-1,fw=1,_n=2,cw=3,vw=4,dw=0,hw=2,bn=8,gw=9,pw=15,mw=8,_w=29,bw=256,zs=bw+1+_w,ww=30,xw=19,yw=2*zs+1,Sw=15,ve=3,er=258,dt=er+ve+1,Ew=32,wn=42,Us=69,xn=73,yn=91,Sn=103,xr=113,ji=666,Le=1,Yi=2,yr=3,Gr=4,Tw=3;function tr(e,t){return e.msg=nw[t],t}function tv(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function He(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function qi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Cw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=Jc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function rv(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,l=e.window,f=e.w_mask,d=e.prev,g=e.strstart+er,h=l[i+o-1],w=l[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(l[a+o]!==w||l[a+o-1]!==h||l[a]!==l[i]||l[++a]!==l[i+1])){i+=2,a++;do;while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&io){if(e.match_start=t,o=n,n>=s)break;h=l[i+o-1],w=l[i+o]}}while((t=d[t&f])>u&&--r!=0);return o<=e.lookahead?o:e.lookahead}function Sr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-dt)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Cw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Sr(e),e.lookahead===0&&t===wr)return Le;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Le)}function Hs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=st._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Yi}function Iw(e,t){for(var r;;){if(e.lookahead===0&&(Sr(e),e.lookahead===0)){if(t===wr)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:Yi}function Ot(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Qr;Qr=[new Ot(0,0,0,0,Ow),new Ot(4,4,8,4,Hs),new Ot(4,5,16,8,Hs),new Ot(4,6,32,32,Hs),new Ot(4,4,16,16,Jr),new Ot(8,16,32,32,Jr),new Ot(8,16,128,128,Jr),new Ot(8,32,128,256,Jr),new Ot(32,128,258,1024,Jr),new Ot(32,258,258,4096,Jr)];function kw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function Mw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=bn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(yw*2),this.dyn_dtree=new qe.Buf16((2*ww+1)*2),this.bl_tree=new qe.Buf16((2*xw+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(Sw+1),this.heap=new qe.Buf16(2*zs+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*zs+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function iv(e){var t;return!e||!e.state?tr(e,lt):(e.total_in=e.total_out=0,e.data_type=hw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?wn:xr,e.adler=t.wrap===2?0:1,t.last_flush=wr,st._tr_init(t),Ct)}function av(e){var t=iv(e);return t===Ct&&kw(e.state),t}function Rw(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Ct)}function nv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===uw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>gw||r!==bn||i<8||i>15||t<0||t>9||n<0||n>vw)return tr(e,lt);i===8&&(i=9);var s=new Mw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Qc||t<0)return e?tr(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ji&&t!==Qt)return tr(e,e.avail_out===0?Fs:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===wn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=_n||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Us):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=_n||i.level<2?4:0),pe(i,Tw),i.status=xr);else{var o=bn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=_n||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=Ew),o+=31-o%31,i.status=xr,qi(i,o),i.strstart!==0&&(qi(i,e.adler>>>16),qi(i,e.adler&65535)),e.adler=1}if(i.status===Us)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=yn)}else i.status=yn;if(i.status===yn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=Sn)}else i.status=Sn;if(i.status===Sn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=xr)):i.status=xr),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ct}else if(e.avail_in===0&&tv(t)<=tv(r)&&t!==Qt)return tr(e,Fs);if(i.status===ji&&e.avail_in!==0)return tr(e,Fs);if(e.avail_in!==0||i.lookahead!==0||t!==wr&&i.status!==ji){var u=i.strategy===_n?Iw(i,t):i.strategy===cw?Aw(i,t):Qr[i.level].func(i,t);if((u===yr||u===Gr)&&(i.status=ji),u===Le||u===yr)return e.avail_out===0&&(i.last_flush=-1),Ct;if(u===Yi&&(t===ow?st._tr_align(i):t!==Qc&&(st._tr_stored_block(i,0,0,!1),t===sw&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ct}return t!==Qt?Ct:i.wrap<=0?ev:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(qi(i,e.adler>>>16),qi(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ct:ev)}function Nw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==wn&&t!==Us&&t!==xn&&t!==yn&&t!==Sn&&t!==xr&&t!==ji?tr(e,lt):(e.state=null,t===xr?tr(e,lw):Ct))}function Dw(e,t){var r=t.length,i,a,n,o,s,u,l,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==wn||i.lookahead))return lt;for(o===1&&(e.adler=Jc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,u=e.next_in,l=e.input,e.avail_in=r,e.next_in=0,e.input=t,Sr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;Xi[254]=Xi[254]=1,Er.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function lv(e,t){if(t<65534&&(e.subarray&&sv||!e.subarray&&ov))return String.fromCharCode.apply(null,En.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return lv(s,i)},Er.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)==128;)r--;return r<0||r===0?t:r+Xi[e[r]]>t?r:t};function Bw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var uv=Bw,Zi=Et,Ki=$t,Ws=Er,Vs=$s,$w=uv,fv=Object.prototype.toString,Fw=0,js=4,ei=0,cv=1,vv=2,zw=-1,Uw=0,Hw=8;function Tr(e){if(!(this instanceof Tr))return new Tr(e);this.options=Ki.assign({level:zw,method:Hw,chunkSize:16384,windowBits:15,memLevel:8,strategy:Uw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $w,this.strm.avail_out=0;var r=Zi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Vs[r]);if(t.header&&Zi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Ws.string2buf(t.dictionary):fv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Zi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Vs[r]);this._dict_set=!0}}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?js:Fw,typeof e=="string"?r.input=Ws.string2buf(e):fv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ki.Buf8(i),r.next_out=0,r.avail_out=i),a=Zi.deflate(r,n),a!==cv&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===js||n===vv))&&(this.options.to==="string"?this.onData(Ws.buf2binstring(Ki.shrinkBuf(r.output,r.next_out))):this.onData(Ki.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==cv);return n===js?(a=Zi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===vv&&(this.onEnd(ei),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ki.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Ys(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||Vs[r.err];return r.result}function Ww(e,t){return t=t||{},t.raw=!0,Ys(e,t)}function Vw(e,t){return t=t||{},t.gzip=!0,Ys(e,t)}$i.Deflate=Tr,$i.deflate=Ys,$i.deflateRaw=Ww,$i.gzip=Vw;var Gi={},ht={},Tn=30,jw=12,Yw=function(t,r){var i,a,n,o,s,u,l,f,d,g,h,w,_,x,m,b,c,v,p,y,E,C,O,P,M;i=t.state,a=t.next_in,P=t.input,n=a+(t.avail_in-5),o=t.next_out,M=t.output,s=o-(r-t.avail_out),u=o+(t.avail_out-257),l=i.dmax,f=i.wsize,d=i.whave,g=i.wnext,h=i.window,w=i.hold,_=i.bits,x=i.lencode,m=i.distcode,b=(1<>>24,w>>>=p,_-=p,p=v>>>16&255,p===0)M[o++]=v&65535;else if(p&16){y=v&65535,p&=15,p&&(_>>=p,_-=p),_<15&&(w+=P[a++]<<_,_+=8,w+=P[a++]<<_,_+=8),v=m[w&c];r:for(;;){if(p=v>>>24,w>>>=p,_-=p,p=v>>>16&255,p&16){if(E=v&65535,p&=15,_l){t.msg="invalid distance too far back",i.mode=Tn;break e}if(w>>>=p,_-=p,p=o-s,E>p){if(p=E-p,p>d&&i.sane){t.msg="invalid distance too far back",i.mode=Tn;break e}if(C=0,O=h,g===0){if(C+=f-p,p2;)M[o++]=O[C++],M[o++]=O[C++],M[o++]=O[C++],y-=3;y&&(M[o++]=O[C++],y>1&&(M[o++]=O[C++]))}else{C=o-E;do M[o++]=M[C++],M[o++]=M[C++],M[o++]=M[C++],y-=3;while(y>2);y&&(M[o++]=M[C++],y>1&&(M[o++]=M[C++]))}}else if((p&64)==0){v=m[(v&65535)+(w&(1<>3,a-=y,_-=y<<3,w&=(1<<_)-1,t.next_in=a,t.next_out=o,t.avail_in=a=1&&H[h]===0;h--);if(w>h&&(w=h),h===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,u.bits=1,0;for(g=1;g0&&(t===pv||h!==1))return-1;for(re[1]=0,f=1;fhv||t===mv&&b>gv)return 1;for(;;){X=f-x,s[d]M?(Q=R[B+s[d]],V=O[P+s[d]]):(Q=32+64,V=0),v=1<>x)+p]=X<<24|Q<<16|V|0;while(p!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--H[f]==0){if(f===h)break;f=r[i+s[d]]}if(f>w&&(c&E)!==y){for(x===0&&(x=w),C+=g,_=f-x,m=1<<_;_+xhv||t===mv&&b>gv)return 1;y=c&E,n[y]=w<<24|_<<16|C-o|0}}return c!==0&&(n[C+c]=f-x<<24|64<<16|0),u.bits=w,0},rt=$t,Xs=Kc,At=Gc,Jw=Yw,Ji=Gw,Qw=0,_v=1,bv=2,wv=4,e1=5,Cn=6,Cr=0,t1=1,r1=2,ut=-2,xv=-3,yv=-4,i1=-5,Sv=8,Ev=1,Tv=2,Cv=3,Ov=4,Av=5,Iv=6,kv=7,Mv=8,Rv=9,Lv=10,On=11,zt=12,Zs=13,Pv=14,Ks=15,Nv=16,Dv=17,Bv=18,$v=19,An=20,In=21,Fv=22,zv=23,Uv=24,Hv=25,Wv=26,Gs=27,Vv=28,jv=29,Ce=30,Yv=31,a1=32,n1=852,o1=592,s1=15,l1=s1;function qv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function u1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new rt.Buf16(320),this.work=new rt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Xv(e){var t;return!e||!e.state?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Ev,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new rt.Buf32(n1),t.distcode=t.distdyn=new rt.Buf32(o1),t.sane=1,t.back=-1,Cr)}function Zv(e){var t;return!e||!e.state?ut:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Xv(e))}function Kv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ut:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Zv(e))}function Gv(e,t){var r,i;return e?(i=new u1,e.state=i,i.window=null,r=Kv(e,t),r!==Cr&&(e.state=null),r):ut}function f1(e){return Gv(e,l1)}var Jv=!0,Js,Qs;function c1(e){if(Jv){var t;for(Js=new rt.Buf32(512),Qs=new rt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ji(_v,e.lens,0,288,Js,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ji(bv,e.lens,0,32,Qs,0,e.work,{bits:5}),Jv=!1}e.lencode=Js,e.lenbits=9,e.distcode=Qs,e.distbits=5}function Qv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(rt.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),rt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(rt.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=At(r.check,O,2,0),l=0,f=0,r.mode=Tv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Ce;break}if((l&15)!==Sv){e.msg="unknown compression method",r.mode=Ce;break}if(l>>>=4,f-=4,E=(l&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Ce;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Cv;case Cv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>8&255,O[2]=l>>>16&255,O[3]=l>>>24&255,r.check=At(r.check,O,4,0)),l=0,f=0,r.mode=Ov;case Ov:for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>8),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Av;case Av:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=Iv;case Iv:if(r.flags&1024&&(h=r.length,h>s&&(h=s),h&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),rt.arraySet(r.head.extra,i,n,h,E)),r.flags&512&&(r.check=At(r.check,i,h,n)),s-=h,n+=h,r.length-=h),r.length))break e;r.length=0,r.mode=kv;case kv:if(r.flags&2048){if(s===0)break e;h=0;do E=i[n+h++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&h>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=zt;break;case Lv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>=f&7,f-=f&7,r.mode=Gs;break}for(;f<3;){if(s===0)break e;s--,l+=i[n++]<>>=1,f-=1,l&3){case 0:r.mode=Pv;break;case 1:if(c1(r),r.mode=An,t===Cn){l>>>=2,f-=2;break e}break;case 2:r.mode=Dv;break;case 3:e.msg="invalid block type",r.mode=Ce}l>>>=2,f-=2;break;case Pv:for(l>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,l+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ce;break}if(r.length=l&65535,l=0,f=0,r.mode=Ks,t===Cn)break e;case Ks:r.mode=Nv;case Nv:if(h=r.length,h){if(h>s&&(h=s),h>u&&(h=u),h===0)break e;rt.arraySet(a,i,n,h,o),s-=h,n+=h,u-=h,o+=h,r.length-=h;break}r.mode=zt;break;case Dv:for(;f<14;){if(s===0)break e;s--,l+=i[n++]<>>=5,f-=5,r.ndist=(l&31)+1,l>>>=5,f-=5,r.ncode=(l&15)+4,l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ce;break}r.have=0,r.mode=Bv;case Bv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},C=Ji(Qw,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid code lengths set",r.mode=Ce;break}r.have=0,r.mode=$v;case $v:for(;r.have>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(M=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ce;break}E=r.lens[r.have-1],h=3+(l&3),l>>>=2,f-=2}else if(c===17){for(M=m+3;f>>=m,f-=m,E=0,h=3+(l&7),l>>>=3,f-=3}else{for(M=m+7;f>>=m,f-=m,E=0,h=11+(l&127),l>>>=7,f-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ce;break}for(;h--;)r.lens[r.have++]=E}}if(r.mode===Ce)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ce;break}if(r.lenbits=9,P={bits:r.lenbits},C=Ji(_v,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid literal/lengths set",r.mode=Ce;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},C=Ji(bv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,C){e.msg="invalid distances set",r.mode=Ce;break}if(r.mode=An,t===Cn)break e;case An:r.mode=In;case In:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=n,e.avail_in=s,r.hold=l,r.bits=f,Jw(e,g),o=e.next_out,a=e.output,u=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,l=r.hold,f=r.bits,r.mode===zt&&(r.back=-1);break}for(r.back=0;x=r.lencode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,r.length=c,b===0){r.mode=Wv;break}if(b&32){r.back=-1,r.mode=zt;break}if(b&64){e.msg="invalid literal/length code",r.mode=Ce;break}r.extra=b&15,r.mode=Fv;case Fv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=zv;case zv:for(;x=r.distcode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,b&64){e.msg="invalid distance code",r.mode=Ce;break}r.offset=c,r.extra=b&15,r.mode=Uv;case Uv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ce;break}r.mode=Hv;case Hv:if(u===0)break e;if(h=g-u,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ce;break}h>r.wnext?(h-=r.wnext,w=r.wsize-h):w=r.wnext-h,h>r.length&&(h=r.length),_=r.window}else _=a,w=o-r.offset,h=r.length;h>u&&(h=u),u-=h,r.length-=h;do a[o++]=_[w++];while(--h);r.length===0&&(r.mode=In);break;case Wv:if(u===0)break e;a[o++]=r.length,u--,r.mode=In;break;case Gs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,l|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(el[r]);if(this.header=new b1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=kn.string2buf(t.dictionary):td.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(el[r])}Or.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,u,l,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=kn.binstring2buf(e):td.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Qi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=kn.utf8border(r.output,r.next_out),u=r.next_out-s,l=kn.buf2string(r.output,s),r.next_out=u,r.avail_out=i-u,u&&Qi.arraySet(r.output,r.output,s,u,0),this.onData(l)):this.onData(Qi.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ri.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Or.prototype.onData=function(e){this.chunks.push(e)},Or.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function tl(e,t){var r=new Or(t);if(r.push(e,!0),r.err)throw r.msg||el[r.err];return r.result}function w1(e,t){return t=t||{},t.raw=!0,tl(e,t)}Gi.Inflate=Or,Gi.inflate=tl,Gi.inflateRaw=w1,Gi.ungzip=tl;var x1=$t.assign,y1=$i,S1=Gi,E1=ed,rd={};x1(rd,y1,S1,E1);var id=rd;function T1(e){return Promise.resolve(e)}var C1="upx2px",O1=1e-4,A1=750,ad=!1,rl=0,nd=0;function I1(){var{platform:e,pixelRatio:t,windowWidth:r}=Cc();rl=r,nd=t,ad=e==="ios"}function od(e,t){var r=Number(e);return isNaN(r)?t:r}var sd=kb(C1,(e,t)=>{if(rl===0&&I1(),e=Number(e),e===0)return 0;var r=t||rl;{var i=__uniConfig.globalStyle||{},a=od(i.rpxCalcMaxDeviceWidth,960),n=od(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/A1*r;return o<0&&(o=-o),o=Math.floor(o+O1),o===0&&(nd===1||!ad?o=1:o=.5),e<0?-o:o});new Nu;var k1=[{name:"id",type:String,required:!0}];k1.concat({name:"componentInstance",type:Object});var ld={};ld.f={}.propertyIsEnumerable;var M1=ci,R1=vo,L1=ba,P1=ld.f,N1=function(e){return function(t){for(var r=L1(t),i=R1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!M1||P1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},ud=fo,D1=N1(!1);ud(ud.S,"Object",{values:function(t){return D1(t)}});var B1="setPageMeta",$1="loadFontFace",F1="pageScrollTo",z1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,p=e(v);p;)v=p.ownerDocument,p=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=w(c.rootBounds),this.boundingClientRect=w(c.boundingClientRect),this.intersectionRect=w(c.intersectionRect||h()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,p=v.width*v.height,y=this.intersectionRect,E=y.width*y.height;p?this.intersectionRatio=Number((E/p).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var p=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(p.root&&p.root.nodeType!=1&&p.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=u(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(p.rootMargin),this.thresholds=this._initThresholds(p.threshold),this.root=p.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,v){!c||!v?a=h():a=_(c,v),r.forEach(function(p){p._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(p){return p.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(p,y,E){if(typeof p!="number"||isNaN(p)||p<0||p>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return p!==E[y-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",p=v.split(/\s+/).map(function(y){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return p[1]=p[1]||p[0],p[2]=p[2]||p[0],p[3]=p[3]||p[1],p},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var p=this._checkForIntersections,y=null,E=null;this.POLL_INTERVAL?y=v.setInterval(p,this.POLL_INTERVAL):(l(v,"resize",p,!0),l(c,"scroll",p,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(p),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var P=c.defaultView;P&&(y&&P.clearInterval(y),f(P,"resize",p,!0)),f(c,"scroll",p,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var p=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var P=O.element.ownerDocument;if(P==c)return!0;for(;P&&P!=p;){var M=e(P);if(P=M&&M.ownerDocument,P==c)return!0}return!1});if(!y){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=p){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v=0&&P>=0&&{top:p,bottom:y,left:E,right:C,width:O,height:P}||null}function g(c){var v;try{v=c.getBoundingClientRect()}catch(p){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function w(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function _(c,v){var p=v.top-c.top,y=v.left-c.left;return{top:p,left:y,height:v.height,width:v.width,bottom:p+v.height,right:y+v.width}}function x(c,v){for(var p=v;p;){if(p==c)return!0;p=m(p)}return!1}function m(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function il(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function U1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function H1(e,t,r){z1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(u=>{u.forEach(l=>{r({intersectionRatio:U1(l),intersectionRect:il(l.intersectionRect),boundingClientRect:il(l.boundingClientRect),relativeRect:il(l.rootBounds),time:Date.now(),dataset:Mo(l.target),id:l.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function K1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function G1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=J1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function J1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function Q1(e,t){return e.priority=t,e}var al=new Set,ex=1,nl=2,fd=3,cd=4;function nr(e,t){al.add(Q1(e,t))}function tx(){try{[...al].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{al.clear()}}function vd(e,t){var r=window["__"+Lp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var rx=Cu.length;function ix(e,t,r){var[i,a,n,o]=sl(t),s=ol(e,i);if(ne(r)||ne(o)){var[u,l]=n.split(".");return ll(s,a,u,l,r||o)}return ox(s,a,n)}function ax(e,t,r){var[i,a,n]=sl(t),[o,s]=n.split("."),u=ol(e,i);return ll(u,a,o,s,[lx(r,e),Bi(qr(u))])}function ol(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function sl(e){return JSON.parse(e.substr(rx))}function nx(e,t,r,i){var[a,n,o]=sl(e),s=ol(t,a),[u,l]=o.split(".");return ll(s,n,u,l,[r,i,Bi(qr(s)),Bi(qr(t))])}function ll(e,t,r,i,a){var n=vd(t,e);if(!n)return console.error(ko("wxs","module "+r+" not found"));var o=n[i];return se(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ox(e,t,r){var i=vd(t,e);return i?Lu(i,r.substr(r.indexOf(".")+1)):console.error(ko("wxs","module "+r+" not found"))}function sx(e,t,r){var i=r;return a=>{try{nx(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function lx(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Bi(r)}}),e}function dd(e,t){Object.keys(t).forEach(r=>{fx(e,t[r])})}function ux(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function fx(e,t){var r=cx(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=vx(i,r)}}function cx(e){var t=window["__"+Pp],r=t&&t[e];return r||console.error(ko("renderjs",e+" not found"))}function vx(e,t){return t=t.default||t,t.render=()=>{},fc(t).mixin({mounted(){this.$ownerInstance=Bi(qr(e))}}).mount(document.createElement("div"))}class ii{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=xT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=nt(t);r===-1?a.appendChild(i):a.insertBefore(i,nt(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Ah(this.id),ux(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(Do)===0){var i=r.replace(Do,""),a=t[i],n=sx(this,t[r],a);nr(()=>n(a),cd),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(Do+t);if(a)return nr(()=>i?Vr(()=>a(r)):a(r),cd),!0}}function hd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function gd(e,t){var r=e.style;if(Ee(t))t===""?e.removeAttribute("style"):r.cssText=_r(t,!0);else for(var i in t)ul(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)ul(r,n,a[n])}var pd=/\s*!important$/;function ul(e,t,r){if(ne(r))r.forEach(a=>ul(e,t,a));else if(r=_r(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=dx(e,t);pd.test(r)?e.setProperty(Ge(i),r.replace(pd,""),"important"):e[i]=r}}var md=["Webkit"],fl={};function dx(e,t){var r=fl[t];if(r)return r;var i=Wt(t);if(i!=="filter"&&i in e)return fl[t]=i;i=La(i);for(var a=0;a{var[n]=_c(a);n.type=Vp(a.type,r),UniViewJSBridge.publishHandler(Sc,[[im,e,n]])};return t?ys(i,yd(t)):i}function yd(e){var t=[];return e&Po.prevent&&t.push("prevent"),e&Po.self&&t.push("self"),e&Po.stop&&t.push("stop"),t}function hx(e,t,r,i){var[a,n]=Lo(t);i===-1?_d(e,a):bd(e,a)||e.addEventListener(a,e.__listeners[a]=Sd(e,r,i),n)}function Sd(e,t,r){var i=a=>{ax(e,t,_c(a)[0])};return r?ys(i,yd(r)):i}var gx=Ou.length;function cl(e,t){return Ee(t)&&(t.indexOf(Ou)===0?t=JSON.parse(t.substr(gx)):t.indexOf(Cu)===0&&(t=ix(e,t))),t}function Mn(e){return e.indexOf("--")===0}function vl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Ed extends ii{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),W(this.$props,()=>{nr(this._update,ex)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){hx(this.$,t,r,i)}addEvent(t,r){wd(this.$,t,r)}removeEvent(t){wd(this.$,t,-1)}setAttr(t,r){t===Iu?hd(this.$,r):t===No?gd(this.$,r):t===Da?vl(this.$,r):t===ku?this.$.__ownerId=r:t===Mu?nr(()=>dd(this,r),fd):t===jp?this.$.innerHTML=r:t===Yp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Iu?hd(this.$,""):t===No?gd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=cl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Mn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:Mn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class px extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var GT="";function Td(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function mx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function _x(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,u={},l=[];return n.forEach(f=>{var d=f.type,g=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?g=g.map(w=>parseFloat(w)+"deg"):d.startsWith("translate")&&(g=g.map(Td)),r.indexOf(d)>=0&&(g.length=1),l.push("".concat(d,"(").concat(g.join(","),")"));else if(i.concat(a).includes(g[0])){d=g[0];var h=g[1];u[d]=a.includes(d)?Td(h):h}}),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map(f=>"".concat(mx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function Cd(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,u=_x(o);Object.keys(u).forEach(l=>{e.$el.style[l]=u[l]}),r+=1,r{n()},0)}var Rn={props:["animation"],watch:{animation:{deep:!0,handler(){Cd(this)}}},mounted(){Cd(this)}},ge=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Rn),bx(e)},bx=e=>(e.__reserved=!0,e.compatConfig={MODE:3},D0(e)),wx={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function dl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(l){l._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||l.touches.length>1||(e.hoverStopPropagation&&(l._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function u(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:u}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Ar(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,yx(r,i,e.value,a||{}))}}function xx(e){return(t,r)=>{e(t,bc(r))}}function yx(e,t,r,i){var a=Ro(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var It=vn("uf"),Sx=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return Ex(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function Ex(e){var t=[];return ze(It,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var ea=vn("ul"),Tx={for:{type:String,default:""}},Cx=ge({name:"Label",props:Tx,setup(e,t){var{slots:r}=t,i=gn(),a=Ox(),n=te(()=>e.for||r.default&&r.default.length),o=Ar(s=>{var u=s.target,l=/^uni-(checkbox|radio|switch)-/.test(u.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(u.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Ox(){var e=[];return ze(ea,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function Ln(e,t){Od(e.id,t),W(()=>e.id,(r,i)=>{Ad(i,t,!0),Od(r,t,!0)}),Kt(()=>{Ad(e.id,t)})}function Od(e,t,r){var i=gn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Ad(e,t,r){var i=gn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Ax={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}},Ix=ge({name:"Button",props:Ax,setup(e,t){var{slots:r}=t,i=U(null);Cm();var a=_e(It,!1),{hovering:n,binding:o}=dl(e),{t:s}=Je(),u=Ar((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var g=e.formType;if(g){if(!a)return;g==="submit"?a.submit(f):g==="reset"&&a.reset(f);return}e.openType==="feedback"&&kx(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),l=_e(ea,!1);return l&&(l.addHandler(u),Ae(()=>{l.removeHandler(u)})),Ln(e,{"label-click":u}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),g=ai(e,"loading"),h=ai(e,"plain"),w=f&&f!=="none";return I("uni-button",tt({ref:i,onClick:u,class:w&&n.value?f:""},w&&o,d,g,h),[r.default&&r.default()],16,["onClick"])}}});function kx(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ir=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=Rx(i),n=Mx(i,r,a);return Lx(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Mx(e,t,r){var i=ke({width:-1,height:-1});return W(()=>fe({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Rx(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Lx(e,t,r,i){ls(i),Re(()=>{t.initial&&Vr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var we=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Id(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?we:1),e.height=e.offsetHeight*(t?we:1),e.getContext("2d").__hidpi__=t}var kd=!1;function Px(){if(!kd){kd=!0;var e=function(i,a){for(var n in i)ie(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,u,l,f,d,g,h){if(!this.__hidpi__)return i.apply(this,arguments);n*=we,o*=we,s*=we,u*=we,l*=we,f*=we,d=h?d*we:d,g=h?g*we:g,i.call(this,a,n,o,s,u,l,f,d,g)}}(r.drawImage),we!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(u){return u*we});else if(Array.isArray(i))for(var s=0;sPx());function Md(e){return e&&vt(e)}function Pn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Rd(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var ta;function Ld(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ta||(ta=document.createElement("canvas")),ta.width=e,ta.height=t,ta}var Dx={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},Bx=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Dx,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Nx();var a=U(null),n=U(null),o=U(!1),s=xx(r),{$attrs:u,$excludeAttrs:l,$listeners:f}=Jd({excludeListeners:!0}),{_listeners:d}=$x(e,f,s),{_handleSubscribe:g,_resize:h}=Fx(e,a,o);return jn(g,Yn(e.canvasId),!0),Re(()=>{h()}),()=>{var{canvasId:w,disableScroll:_}=e;return I("uni-canvas",tt({"canvas-id":w,"disable-scroll":_},u.value,l.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ir,{ref:n,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function $x(e,t,r){var i=te(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=fe({},(()=>{var s={};for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var l=n[u];s[u]=l}return s})());return a.forEach(s=>{var u=o[s],l=[];u&&l.push(Ar(f=>{r(s.replace("on","").toLocaleLowerCase(),fe({},(()=>{var d={};for(var g in f)d[g]=f[g];return d})(),{touches:Rd(f.currentTarget,f.touches),changedTouches:Rd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&l.push(dc),o[s]=l}),o});return{_listeners:i}}function Fx(e,t,r){var i=[],a={},n=te(()=>e.hidpi?we:1);function o(_){var x=t.value,m=!_||x.width!==Math.floor(_.width*n.value)||x.height!==Math.floor(_.height*n.value);if(!!m)if(x.width>0&&x.height>0){var b=x.getContext("2d"),c=b.getImageData(0,0,x.width,x.height);Id(x,e.hidpi),b.putImageData(c,0,0)}else Id(x,e.hidpi)}function s(_,x){var{actions:m,reserve:b}=_;if(!!m){if(r.value){i.push([m,b]);return}var c=t.value,v=c.getContext("2d");b||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),u(m);for(var p=function(C){var O=m[C],P=O.method,M=O.data,H=M[0];if(/^set/.test(P)&&P!=="setTransform"){var re=P[3].toLowerCase()+P.slice(4),R;if(re==="fillStyle"||re==="strokeStyle"){if(H==="normal")R=Pn(M[1]);else if(H==="linear"){var B=v.createLinearGradient(...M[1]);M[2].forEach(function(J){var ye=J[0],be=Pn(J[1]);B.addColorStop(ye,be)}),R=B}else if(H==="radial"){var X=M[1],Q=X[0],V=X[1],K=X[2],ae=v.createRadialGradient(Q,V,0,Q,V,K);M[2].forEach(function(J){var ye=J[0],be=Pn(J[1]);ae.addColorStop(ye,be)}),R=ae}else if(H==="pattern"){var Te=l(M[1],m.slice(C+1),x,function(J){J&&(v[re]=v.createPattern(J,M[2]))});return Te?"continue":"break"}v[re]=R}else if(re==="globalAlpha")v[re]=Number(H)/255;else if(re==="shadow"){var oe=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(J,ye){v[oe[ye]]=oe[ye]==="shadowColor"?Pn(J):J})}else if(re==="fontSize"){var de=v.__font__||v.font;v.__font__=v.font=de.replace(/\d+\.?\d*px/,H+"px")}else re==="lineDash"?(v.setLineDash(H),v.lineDashOffset=M[1]||0):re==="textBaseline"?(H==="normal"&&(M[0]="alphabetic"),v[re]=H):re==="font"?v.__font__=v.font=H:v[re]=H}else if(P==="fillPath"||P==="strokePath")P=P.replace(/Path/,""),v.beginPath(),M.forEach(function(J){v[J.method].apply(v,J.data)}),v[P]();else if(P==="fillText")v.fillText.apply(v,M);else if(P==="drawImage"){var le=function(){var J=[...M],ye=J[0],be=J.slice(1);if(a=a||{},l(ye,m.slice(C+1),x,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...be.slice(4,8)],[...be.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else P==="clip"?(M.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[P].apply(v,M)},y=0;y{p.src=y}).catch(()=>{p.src=c})}})}function l(_,x,m,b){var c=a[_];return c.ready?(b(c),!0):(i.unshift([x,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var p=v.shift();p;)s({actions:p[0],reserve:p[1]},m),p=v.shift()},!1)}function f(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,hidpi:E=!0,dataType:C,quality:O=1,type:P="png"}=_,M=t.value,H,re=M.offsetWidth-m;c=c?Math.min(c,re):re;var R=M.offsetHeight-b;v=v?Math.min(v,R):R,E?(p=c,y=v):!p&&!y?(p=Math.round(c*n.value),y=Math.round(v*n.value)):p?y||(y=Math.round(v/c*p)):p=Math.round(c/v*y);var B=Ld(p,y),X=B.getContext("2d");(P==="jpeg"||P==="jpg")&&(P="jpeg",X.fillStyle="#fff",X.fillRect(0,0,p,y)),X.__hidpi__=!0,X.drawImageByCanvas(M,m,b,c,v,0,0,p,y,!1);var Q;try{var V;if(C==="base64")H=B.toDataURL("image/".concat(P),O);else{var K=X.getImageData(0,0,p,y);H=id.deflateRaw(K.data,{to:"string"}),V=!0}Q={data:H,compressed:V,width:p,height:y}}catch(ae){Q={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(B.height=B.width=0,X.__hidpi__=!1,x)x(Q);else return Q}function d(_,x){var{data:m,x:b,y:c,width:v,height:p,compressed:y}=_;try{y&&(m=id.inflateRaw(m)),p||(p=Math.round(m.length/4/v));var E=Ld(v,p),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(m),v,p),0,0),t.value.getContext("2d").drawImage(E,b,c,v,p),E.height=E.width=0}catch(O){x({errMsg:"canvasPutImageData:fail"});return}x({errMsg:"canvasPutImageData:ok"})}function g(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,fileType:E,quality:C,dirname:O}=_,P=f({x:m,y:b,width:c,height:v,destWidth:p,destHeight:y,hidpi:!1,dataType:"base64",type:E,quality:C});if(!P.data||!P.data.length){x({errMsg:P.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Lb(P.data,O,(M,H)=>{var re="toTempFilePath:".concat(M?"fail":"ok");M&&(re+=" ".concat(M.message)),x({errMsg:re,tempFilePath:H})})}var h={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:g};function w(_,x,m){var b=h[_];_.indexOf("_")!==0&&typeof b=="function"&&b(x,m)}return fe(h,{_resize:o,_handleSubscribe:w})}var Pd=vn("ucg"),zx={name:{type:String,default:""}},Ux=ge({name:"CheckboxGroup",props:zx,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return Hx(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Hx(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Pd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(It,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Wx={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},Vx=ge({name:"Checkbox",props:Wx,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);W([()=>e.checked,()=>e.value],l=>{var[f,d]=l;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=jx(i,a,n),u=l=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(l))};return s&&(s.addHandler(u),Ae(()=>{s.removeHandler(u)})),Ln(e,{"label-click":u}),()=>{var l=ai(e,"disabled");return I("uni-checkbox",tt(l,{onClick:u}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?hn(dn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function jx(e,t,r){var i=te(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Pd,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(ea,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Nd,ra,Nn,or,Dn,hl;$r(()=>{ra=plus.os.name==="Android",Nn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){or=e.height,Dn&&Dn()},!1);function Dd(){}function ia(e,t,r){$r(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=hl||o.getStyle()||{},u={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(u.mode===a){var l=t.getBoundingClientRect();u.position.top=l.top,u.position.height=l.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(u)})}function Yx(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}$r(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function qx(e){var t=e.softinputNavBar;t&&$r(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Bd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},$d=["keyboardheightchange"];function Fd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:or,duration:.25}),o&&or===0&&ia(e,n),e.autoBlur&&o&&or===0&&(ra||parseInt(Nn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Nd),document.addEventListener("click",Dd,!1),Dn=s,or&&r("keyboardheightchange",{},{height:or,duration:0}),Yx(e,i),ia(e,n)}),ra&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&or===0&&ia(e,n)}),ra||(parseInt(Nn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ia(e,n)}),parseFloat(Nn)>=14.6&&!hl&&$r(()=>{var l=plus.webview.currentWebview();hl=l.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Dd,!1),Dn=null,or&&r("keyboardheightchange",{},{height:0,duration:0}),qx(i),ra&&(Nd=setTimeout(()=>{ia(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var zd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Ud=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Zx=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Kx=ni("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"),Gx=ni("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"),Jx=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Qx=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ey=ni("script,style");function Hd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!ey[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),l("",n.last());if(e==o)throw"Parse Error: "+e;o=e}l();function u(f,d,g,h){if(d=d.toLowerCase(),Kx[d])for(;n.last()&&Gx[n.last()];)l("",n.last());if(Jx[d]&&n.last()==d&&l("",d),h=Zx[d]||!!h,h||n.push(d),t.start){var w=[];g.replace(Xx,function(_,x){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Qx[x]?x:"";w.push({name:x,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,w,h)}}function l(f,d){if(d)for(var g=n.length-1;g>=0&&n[g]!=d;g--);else var g=0;if(g>=0){for(var h=n.length-1;h>=g;h--)t.end&&t.end(n[h]);n.length=g}}}function ni(e){for(var t={},r=e.split(","),i=0;io()),delete gl[t]}}a.push(r)}function ty(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function ry(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function iy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ay(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function ny(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",u=super.create(s);return(o==="checked"||o==="unchecked")&&u.setAttribute("data-checked",o==="checked"),u}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=u=>{if(u.target.parentNode===o){var l=this.statics.formats(o),f=t.find(u.target);l==="checked"?f.format("list","unchecked"):l==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var u=s==null?this.length():s.offset(this),l=this.split(u);l.parent.insertBefore(o,l)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function oy(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function sy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ge(s),i)}),o}function ly(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Ge(o),i)}),n}function uy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Ge(o),{scope:s})}),a}function fy(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function cy(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function vy(e){var t={divider:ty,ins:ry,align:iy,direction:ay,list:ny,background:oy,box:sy,font:ly,text:uy,image:fy,link:cy},r={};Object.values(t).forEach(i=>fe(r,i(e))),e.register(r,!0)}function dy(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,w=>{i&&(n.enable(!w),w||n.blur())}),W(()=>e.placeholder,w=>{i&&l(w)});function s(w){var _=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],x="",m;Hd(w,{start:function(c,v,p){if(!_.includes(c)){m=!p;return}m=!1;var y=v.map(C=>{var{name:O,value:P}=C;return"".concat(O,'="').concat(P,'"')}).join(" "),E="<".concat(c," ").concat(y," ").concat(p?"/":"",">");x+=E},end:function(c){m||(x+=""))},chars:function(c){m||(x+=c)}}),a=!0;var b=n.clipboard.convert(x);return a=!1,b}function u(){var w=n.root.innerHTML,_=n.getText(),x=n.getContents();return{html:w,text:_,delta:x}}function l(w){var _="data-placeholder",x=n.root;x.getAttribute(_)!==w&&x.setAttribute(_,w)}var f={};function d(w){var _=w?n.getFormat(w):{},x=Object.keys(_);(x.length!==Object.keys(f).length||x.find(m=>_[m]!==f[m]))&&(f=_,r("statuschange",{},_))}function g(w){var _=window.Quill;vy(_);var x={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};w.length&&(_.register("modules/ImageResize",window.ImageResize.default),x.modules={ImageResize:{modules:w}});var m=t.value;n=new _(m,x);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,p=>{var y=u();if(v==="input"){if(Cc().platform==="ios"){var E=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;l(C)}p.stopPropagation()}else r(v,p,y)})}),n.on("text-change",()=>{o||r("input",{},u())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,p)=>(a||p.ops&&(p.ops=p.ops.filter(y=>{var{insert:E}=y;return typeof E=="string"}).map(y=>{var{insert:E}=y;return{insert:E}})),p)),i=!0,r("ready",{},{})}Re(()=>{var w=[];e.showImgSize&&w.push("DisplaySize"),e.showImgToolbar&&w.push("Toolbar"),e.showImgResize&&w.push("Resize");var _="./__uniappquill.js";Wd(window.Quill,_,()=>{if(w.length){var x="./__uniappquillimageresize.js";Wd(window.ImageResize,x,()=>{g(w)})}else g(w)})});var h=Yn();jn((w,_,x)=>{var{options:m,callbackId:b}=_,c,v,p;if(i){var y=window.Quill;switch(w){case"format":{var{name:E="",value:C=!1}=m;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var P=n.getFormat(v).align;C==="rtl"&&!P?n.format("align","right","user"):!C&&P==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var M=n.getFormat(v).direction==="rtl";C=C==="+1",M&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,mi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:H="",alt:re="",width:R="",height:B="",extClass:X="",data:Q={}}=m,V=vt(H);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",re),n.formatText(v.index,1,"width",R),n.formatText(v.index,1,"height",B),n.formatText(v.index,1,"class",X),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(Q).map(le=>"".concat(le,"=").concat(Q[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=m;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:oe}=m;typeof Te=="object"?n.setContents(Te,"silent"):typeof oe=="string"?n.setContents(s(oe),"silent"):p="contents is missing"}break;case"getContents":c=u();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var de=y.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{de.query(le,de.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else p="not ready";b&&x({callbackId:b,data:fe({},c,{errMsg:"".concat(w,":").concat(p?"fail "+p:"ok")})})},h,!0)}var hy=fe({},Bd,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),gy=ge({name:"Editor",props:hy,emit:["ready","focus","blur","input","statuschange",...$d],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return dy(e,i,a),Fd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Vd="#10aeff",py="#f76260",jd="#b2b2b2",my="#f43530",_y={success:{d:ob,c:Na},success_no_circle:{d:dn,c:Na},info:{d:ab,c:Vd},warn:{d:lb,c:py},waiting:{d:sb,c:Vd},cancel:{d:tb,c:my},download:{d:ib,c:Na},search:{d:nb,c:jd},clear:{d:rb,c:jd}},by=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=te(()=>_y[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&hn(r.d,e.color||r.c,_r(e.size))])}}}),wy={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Bn={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},xy={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"]},yy=ge({name:"Image",props:wy,setup(e,t){var{emit:r}=t,i=U(null),a=Sy(i,e),n=Pe(i,r),{fixSize:o}=Oy(i,e,a);return Ey(a,o,n),()=>{var{mode:s}=e,{imgSrc:u,modeStyle:l,src:f}=a,d;return d=u?I("img",{src:u,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:l},null,4),d,Bn[s]?I(Ir,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function Sy(e,t){var r=U(""),i=te(()=>{var n="auto",o="",s=xy[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:te(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function Ey(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=u,e.imgSrc=l},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=u=>{var{width:l,height:f}=i;a(l,f,s),t(),o(),r("load",u,{width:l,height:f})},i.onerror=u=>{a(),o(),r("error",u,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ae(()=>o())}var Ty=navigator.vendor==="Google Inc.";function Cy(e){return Ty&&e>10&&(e=Math.round(e/2)*2),e}function Oy(e,t,r){var i=()=>{var{mode:n}=t,o=Bn[n];if(!!o){var{origWidth:s,origHeight:u}=r,l=s&&u?s/u:0;if(!!l){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Cy(o[2](d,l))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{Bn[o]&&a(),Bn[n]&&i()}),{fixSize:i,resetSize:a}}function Ay(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),u=0;u{a=null,r=l,e.apply(this,s)},l-r$n.forEach(t=>t.userAction=e);function ky(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Yd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!pl&&qd(!0),pl++,setTimeout(()=>{!--pl&&qd(!1)},0)},Iy)}),Yd=!0}$n.push(e)}function My(e){var t=$n.indexOf(e);t>=0&&$n.splice(t,1)}function Ry(){var e=ke({userAction:!1});return Re(()=>{ky(e)}),Ae(()=>{My(e)}),{state:e}}function Xd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Ly(e,t){var r=_e(It,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ae(()=>{r.removeField(a)})}}function Py(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Ny=function(){bt(Bt(),"getSelectedTextRange",Py)},Dy=200,ml;function _l(e){return e===null?"":String(e)}var Zd=fe({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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}},Bd),Kd=["input","focus","blur","update:value","update:modelValue","update:focus",...$d];function By(e,t,r){var i=U(null),a=Pe(t,r),n=te(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=te(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=te(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),u=te(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),l=_l(e.modelValue)||_l(e.value),f=ke({value:l,valueOrigin:l,maxlength:u,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function $y(e,t,r,i){var a=sm(s=>{t.value=_l(s)},100);W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ay((s,u)=>{a.cancel(),r("update:modelValue",u.value),r("update:value",u.value),i("input",s,u)},100),o=(s,u,l)=>{a.cancel(),n(s,u),l&&n.flush()};return Mf(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function Fy(e,t){var{state:r}=Ry(),i=te(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Dy-(Date.now()-ml);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Re(()=>{ml=ml||Date.now(),i.value&&Vr(a)})}function zy(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&l.type!=="number"&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&l.type!=="number"&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(l){return l.type==="number"?null:l.selectionEnd}function u(){var l=e.value,f=function(h){t.focus=!0,r("focus",h,{value:t.value}),n(),o()},d=function(h,w){h.stopPropagation(),!(typeof a=="function"&&a(h,t)===!1)&&(t.value=l.value,t.composing||i(h,{value:l.value,cursor:s(l)},w))},g=function(h){t.composing&&(t.composing=!1,d(h,!0)),t.focus=!1,r("blur",h,{value:t.value,cursor:s(h.target)})};l.addEventListener("change",h=>h.stopPropagation()),l.addEventListener("focus",f),l.addEventListener("blur",g),l.addEventListener("input",d),l.addEventListener("compositionstart",h=>{h.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",h=>{h.stopPropagation(),t.composing&&(t.composing=!1,d(h))})}W([()=>t.selectionStart,()=>t.selectionEnd],n),W(()=>t.cursor,o),W(()=>e.value,u)}function Gd(e,t,r,i){Ny();var{fieldRef:a,state:n,trigger:o}=By(e,t,r),{triggerInput:s}=$y(e,n,r,o);Fy(e,a),Fd(e,a,o);var{state:u}=Xd();Ly("name",n),zy(a,n,o,s,i);var l=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:u,fixDisabledColor:l,trigger:o}}var Uy=fe({},Zd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Hy=ge({name:"Input",props:Uy,emits:["confirm",...Kd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=te(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=te(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Ge(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=U(""),u,l=U(null),{fieldRef:f,state:d,scopedAttrsState:g,fixDisabledColor:h,trigger:w}=Gd(e,l,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(u&&(v.removeEventListener("blur",u),u=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",u=()=>{s.value=v.value=""},v.addEventListener("blur",u),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var p=c.maxlength;if(p>0&&v.value.length>p)return v.value=v.value.slice(0,p),c.value=v.value,!1}}),_=["number","digit"],x=te(()=>_.includes(e.type)?"0.000000000000000001":"");function m(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),w("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&h?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:l},[I("div",{class:"uni-input-wrapper"},[Mi(I("div",tt(g.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ni,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Wy(e){return Object.keys(e).map(t=>[t,e[t]])}var Vy=["class","style"],jy=/^on[A-Z]+/,Jd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=Qo({}),n=Qo({}),o=Qo({}),s=r.concat(Vy);return i.attrs=ke(i.attrs),P0(()=>{var u=Wy(i.attrs).reduce((l,f)=>{var[d,g]=f;return s.includes(d)?l.exclude[d]=g:jy.test(d)?(t||(l.attrs[d]=g),l.listeners[d]=g):l.attrs[d]=g,l},{exclude:{},attrs:{},listeners:{}});a.value=u.attrs,n.value=u.listeners,o.value=u.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Fn,aa;function zn(){$r(()=>{Fn||(Fn=plus.webview.currentWebview()),aa||(aa=(Fn.getStyle()||{}).pullToRefresh||{})})}function sr(e){var{disable:t}=e;aa&&aa.support&&Fn.setPullToRefresh(Object.assign({},aa,{support:!t}))}function bl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{en(r)?r.type===xt?t.push(...bl(r.children)):t.push(r):Array.isArray(r)&&t.push(...bl(r))}),t}function na(e){var t=Dt();t.rebuild=e}var Yy={scaleArea:{type:Boolean,default:!1}},qy=ge({inheritAttrs:!1,name:"MovableArea",props:Yy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=Xy(e,i),{$listeners:s,$attrs:u,$excludeAttrs:l}=Jd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(m=>{var b=f[m],c=o["_".concat(m)];f[m]=b?[].concat(b,c):c}),Re(()=>{o._resize(),zn(),a.value=!0});var g=[],h=[];function w(){for(var m=[],b=function(v){var p=g[v];p instanceof Element||(p=p.el);var y=h.find(E=>p===E.rootRef.value);y&&m.push(Xa(y))},c=0;c{g=i.value.children,w()});var _=m=>{h.push(m),w()},x=m=>{var b=h.indexOf(m);b>=0&&(h.splice(b,1),w())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",_),ze("removeMovableViewContext",x),()=>(r.default&&r.default(),I("uni-movable-area",tt({ref:i},u.value,l.value,f),[I(Ir,{onReize:o._resize},null,8,["onReize"]),g],16))}});function Qd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Xy(e,t){var r=U(0),i=U(0),a=ke({x:null,y:null}),n=U(null),o=null,s=[];function u(_){_&&_!==1&&(e.scaleArea?s.forEach(function(x){x._setScale(_)}):o&&o._setScale(_))}function l(_){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function b(c){for(var v=0;v{sr({disable:!0});var x=_.touches;if(x&&x.length>1){var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(n.value=Qd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var b=l(x[0].target),c=l(x[1].target);o=b&&b===c?b:null}}}),d=Ar(_=>{var x=_.touches;if(x&&x.length>1){_.preventDefault();var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Qd(m)/n.value;u(b)}a.x=m.x,a.y=m.y}}),g=Ar(_=>{sr({disable:!1});var x=_.touches;x&&x.length||_.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function h(){w(),s.forEach(function(_,x){_.setParent()})}function w(){var _=window.getComputedStyle(t.value),x=t.value.getBoundingClientRect();r.value=x.width-["Left","Right"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0),i.value=x.height-["Top","Bottom"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(_){s=_},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:g,_resize:h}}}var oa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},eh,th;function Un(e,t,r){Ae(()=>{document.removeEventListener("mousemove",eh),document.removeEventListener("mouseup",th)});var i=0,a=0,n=0,o=0,s=function(h,w,_,x){if(t({target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:w,x:_,y:x,dx:_-i,dy:x-a,ddx:_-n,ddy:x-o,timeStamp:h.timeStamp}})===!1)return!1},u=null,l,f;oa(e,"touchstart",function(h){if(l=!0,h.touches.length===1&&!u)return u=h,i=n=h.touches[0].pageX,a=o=h.touches[0].pageY,s(h,"start",i,a)}),oa(e,"mousedown",function(h){if(f=!0,!l&&!u)return u=h,i=n=h.pageX,a=o=h.pageY,s(h,"start",i,a)}),oa(e,"touchmove",function(h){if(h.touches.length===1&&u){var w=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return n=h.touches[0].pageX,o=h.touches[0].pageY,w}});var d=eh=function(h){if(!l&&f&&u){var w=s(h,"move",h.pageX,h.pageY);return n=h.pageX,o=h.pageY,w}};document.addEventListener("mousemove",d),oa(e,"touchend",function(h){if(h.touches.length===0&&u)return l=!1,u=null,s(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});var g=th=function(h){if(f=!1,!l&&u)return u=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",g),oa(e,"touchcancel",function(h){if(u){l=!1;var w=u;return u=null,s(h,r?"cancel":"end",w.touches[0].pageX,w.touches[0].pageY)}})}function Hn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},kt.prototype.ds=function(e){return e===void 0&&(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}},kt.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}},kt.prototype.dt=function(){return-this._x_v/this._x_a},kt.prototype.done=function(){var e=Hn(this.s().x,this._endPositionX)||Hn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},kt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},kt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function it(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}it.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,u=t/(o*e);return{x:function(m){return(s+u*m)*Math.pow(Math.E,o*m)},dx:function(m){var b=Math.pow(Math.E,o*m);return o*(s+u*m)*b+u*b}}}if(n>0){var l=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-l*e)/(f-l),g=e-d;return{x:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*b+d*c},dx:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*l*b+d*f*c}}}var h=Math.sqrt(4*i*a-r*r)/(2*i),w=-r/2*i,_=e,x=(t-w*e)/h;return{x:function(m){return Math.pow(Math.E,w*m)*(_*Math.cos(h*m)+x*Math.sin(h*m))},dx:function(m){var b=Math.pow(Math.E,w*m),c=Math.cos(h*m),v=Math.sin(h*m);return b*(x*h*c-_*h*v)+w*b*(x*v+_*c)}}},it.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},it.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},it.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!kr(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(kr(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),kr(t,.1)&&(t=0),kr(i,.1)&&(i=0),i+=this._endPosition),this._solution&&kr(i-e,.1)&&kr(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},it.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},it.prototype.done=function(e){return e||(e=new Date().getTime()),Hn(this.x(),this._endPosition,.1)&&kr(this.dx(),.1)},it.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},it.prototype.springConstant=function(){return this._k},it.prototype.damping=function(){return this._c},it.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function sa(e,t,r){this._springX=new it(e,t,r),this._springY=new it(e,t,r),this._springScale=new it(e,t,r),this._startTime=0}sa.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},sa.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},sa.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},sa.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var Zy={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}},Ky=ge({name:"MovableView",props:Zy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=Gy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ir,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),xl=!1;function rh(e){xl||(xl=!0,requestAnimationFrame(function(){e(),xl=!1}))}function ih(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ah(e.offsetParent,t):0}function nh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function oh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,u,l))),f&&l&&l(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Wn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Gy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),u=_e("removeMovableViewContext",()=>{}),l=U(Wn(e.x)),f=U(Wn(e.y)),d=U(Number(e.scaleValue)||1),g=U(0),h=U(0),w=U(0),_=U(0),x=U(0),m=U(0),b=null,c=null,v={x:0,y:0},p={x:0,y:0},y=1,E=1,C=0,O=0,P=!1,M=!1,H,re,R=null,B=null,X=new wl,Q=new wl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=te(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=te(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=te(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),oe=te(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),de=te(()=>e.direction==="all"||e.direction==="horizontal"),le=te(()=>e.direction==="all"||e.direction==="vertical"),J=new sa(1,9*Math.pow(K.value,2)/40,K.value),ye=new kt(1,ae.value);W(()=>e.x,A=>{l.value=Wn(A)}),W(()=>e.y,A=>{f.value=Wn(A)}),W(l,A=>{Ve(A)}),W(f,A=>{lr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{ca(A)}),W(Te,()=>{Ne()}),W(oe,()=>{Ne()});function be(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(de.value){if(A+p.x===C)return C;b&&b.cancel(),ee(A+p.x,f.value+p.y,y)}return A}function lr(A){if(le.value){if(A+p.y===O)return O;b&&b.cancel(),ee(l.value+p.x,A+p.y,y)}return A}function Ne(){if(!e.scale)return!1;$(y,!0),z(y)}function ca(A){return e.scale?(A=D(A),$(A,!0),z(A),A):!1}function va(){P||e.disabled||(sr({disable:!0}),be(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],de.value&&(H=C),le.value&&(re=O),r.value.style.willChange="transform",R=null,B=null,M=!0)}function S(A){if(!P&&!e.disabled&&M){var Y=C,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),de.value&&(Y=A.detail.dx+H,V.historyX.shift(),V.historyX.push(Y),!le.value&&R===null&&(R=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(q=A.detail.dy+re,V.historyY.shift(),V.historyY.push(q),!de.value&&R===null&&(R=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!R){A.preventDefault();var he="touch";Yx.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=x.value+X.x(Y-x.value)):Y=x.value),q<_.value?e.outOfBounds?(he="touch-out-of-bounds",q=_.value-Q.x(_.value-q)):q=_.value:q>m.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+Q.x(q-m.value)):q=m.value),rh(function(){Z(Y,q,y,he)})}}}function T(){if(!P&&!e.disabled&&M&&(sr({disable:!1}),r.value.style.willChange="auto",M=!1,!R&&!G("out-of-bounds")&&e.inertia)){var A=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);ye.setV(A,Y),ye.setS(C,O);var q=ye.delta().x,he=ye.delta().y,ue=q+C,$e=he+O;uex.value&&(ue=x.value,$e=O+(x.value-C)*he/q),$e<_.value?($e=_.value,ue=C+(_.value-O)*q/he):$e>m.value&&($e=m.value,ue=C+(m.value-O)*q/he),ye.setEnd(ue,$e),c=oh(ye,function(){var Ke=ye.s(),De=Ke.x,gt=Ke.y;Z(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&be()}function k(A,Y){var q=!1;return A>x.value?(A=x.value,q=!0):Am.value?(Y=m.value,q=!0):Y<_.value&&(Y=_.value,q=!0),{x:A,y:Y,outOfBounds:q}}function L(){v.x=ih(r.value,o.value),v.y=ah(r.value,o.value)}function N(A){A=A||y,A=D(A);var Y=r.value.getBoundingClientRect();h.value=Y.height/y,g.value=Y.width/y;var q=h.value*A,he=g.value*A;p.x=(he-g.value)/2,p.y=(q-h.value)/2}function F(){var A=0-v.x+p.x,Y=i.value-g.value-v.x-p.x;w.value=Math.min(A,Y),x.value=Math.max(A,Y);var q=0-v.y+p.y,he=a.value-h.value-v.y-p.y;_.value=Math.min(q,he),m.value=Math.max(q,he)}function j(){P=!0}function $(A,Y){if(e.scale){A=D(A),N(A),F();var q=k(C,O),he=q.x,ue=q.y;Y?ee(he,ue,A,"",!0,!0):rh(function(){Z(he,ue,A,"",!0,!0)})}}function z(A){E=A}function D(A){return A=Math.max(.5,Te.value,A),A=Math.min(10,oe.value,A),A}function ee(A,Y,q,he,ue,$e){be(),de.value||(A=C),le.value||(Y=O),e.scale||(q=y);var Ke=k(A,Y);if(A=Ke.x,Y=Ke.y,!e.animation){Z(A,Y,q,he,ue,$e);return}J._springX._solution=null,J._springY._solution=null,J._springScale._solution=null,J._springX._endPosition=C,J._springY._endPosition=O,J._springScale._endPosition=y,J.setEnd(A,Y,q,1),b=oh(J,function(){var De=J.x(),gt=De.x,ur=De.y,Mt=De.scale;Z(gt,ur,Mt,he,ue,$e)},function(){b.cancel()})}function G(A){var Y=k(C,O),q=Y.x,he=Y.y,ue=Y.outOfBounds;return ue&&ee(q,he,y,A),ue}function Z(A,Y,q){var he=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,$e=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:nh(A,p.x),y:nh(Y,p.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),$e&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ke="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ke,r.value.style.webkitTransform=Ke,C=A,O=Y,y=q}function ce(){if(!!n.value){be();var A=e.scale?d.value:1;L(),N(A),F(),C=l.value+p.x,O=f.value+p.y;var Y=k(C,O),q=Y.x,he=Y.y;Z(q,he,A,"",!0),z(A)}}function Be(){P=!1,z(y)}function Oe(A){A&&(A=E*A,j(),$(A))}return Re(()=>{Un(r.value,Y=>{switch(Y.detail.state){case"start":va();break;case"move":S(Y);break;case"end":T()}}),ce(),ye.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",zn();var A={rootRef:r,setParent:ce,_endScale:Be,_setScale:Oe};s(A),Kt(()=>{u(A)})}),Kt(()=>{be()}),{setParent:ce}}var Jy=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qy={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Jy.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}};function eS(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var tS=ge({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Qy,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.root.type.__scopeId||"",{hovering:n,binding:o}=dl(e),s=eS(e);return()=>{var{hoverClass:u,url:l}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:l,onClick:dc},[I("uni-navigator",tt({class:f&&n.value?u:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),rS={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function iS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var aS=ge({name:"PickerView",props:rS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=iS(e),u=U(null),l=()=>{var w=u.value;s.height=w.$el.offsetHeight},f=U([]),d=U([]);function g(w){var _=d.value;if(_ instanceof HTMLCollection)return Array.prototype.indexOf.call(_,w.el);_=_.filter(m=>m.type!==jr);var x=_.indexOf(w);return x!==-1?x:f.value.indexOf(w)}var h=function(w){var _=te({get(){var x=g(w.vnode);return s.value[x]||0},set(x){var m=g(w.vnode);if(!(m<0)){var b=s.value[m];if(b!==x){s.value[m]=x;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return _};return ze("getPickerViewColumn",h),ze("pickerViewProps",e),ze("pickerViewState",s),na(()=>{l(),d.value=n.value.children}),()=>{var w=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ir,{ref:u,onResize:_=>{var{height:x}=_;return s.height=x}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[w],512)],512)}}});class sh{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function lh(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),g=(r-f*t)/(d-f),h=t-g;return{x:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*c+g*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*f*c+g*d*v}}}var w=Math.sqrt(4*a*n-i*i)/(2*a),_=-i/2*a,x=t,m=(r-_*t)/w;return{x:function(b){return Math.pow(Math.E,_*b)*(x*Math.cos(w*b)+m*Math.sin(w*b))},dx:function(b){var c=Math.pow(Math.E,_*b),v=Math.cos(w*b),p=Math.sin(w*b);return c*(m*w*v-x*w*p)+_*c*(m*p+x*v)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Mr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Mr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Mr(r,.4)&&(r=0),Mr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Mr(a-t,.4)&&Mr(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),lh(this.x(),this._endPosition,.4)&&Mr(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,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(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class nS{constructor(t,r,i){this._extent=t,this._friction=r||new sh(.01),this._spring=i||new uh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function oS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,u,l))),f&&l&&l(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class sS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new nS(this._extent,r.friction,r.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(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}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=oS(this._scroll,()=>{var s=Date.now(),u=(s-this._scroll._startTime)/1e3,l=this._scroll.x(u);this._position=l,this.updatePosition();var f=this._scroll.dx(u);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&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(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function lS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new sS(e,t);function a(u){var l=u,f=u;return l.detail.state==="move"||l.detail.state==="end"?{x:l.detail.dx,y:l.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(u){var l=u,f=u;l.detail.state==="start"?(r.trackingID="touch",r.x=l.detail.x,r.y=l.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[l.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),u.preventDefault()}function o(u){var l=u,f=u;if(r.trackingID!==-1){u.preventDefault();var d=a(u);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.y),r.historyTime.push(l.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(d.x,d.y)}}}function s(u){if(r.trackingID!==-1){u.preventDefault();var l=a(u);if(l){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,g={x:0,y:0};if(d>2)for(var h=r.historyTime.length-1,w=r.historyTime[h],_=r.historyX[h],x=r.historyY[h];h>0;){h--;var m=r.historyTime[h],b=w-m;if(b>30&&b<50){g.x=(_-r.historyX[h])/(b/1e3),g.y=(x-r.historyY[h])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(l.x,l.y,g)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var uS=0;function fS(e){var t="uni-picker-view-content-".concat(uS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return W(()=>e.value,r),t}function cS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[l]=n[l]}),a.target.dispatchEvent(s)}})}var vS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=Dt(),u=o?o(s):U(0),l=_e("pickerViewProps"),f=_e("pickerViewState"),d=U(34),g=U(null),h=()=>{var O=g.value;d.value=O.$el.offsetHeight},w=te(()=>(f.height-d.value)/2),{state:_}=Xd(),x=fS(d),m,b=ke({current:u.value,length:0}),c;function v(){m&&!c&&(c=!0,Vr(()=>{c=!1;var O=Math.min(b.current,b.length-1);O=Math.max(O,0),m.update(O*d.value,void 0,d.value)}))}W(()=>u.value,O=>{O!==b.current&&(b.current=O,v())}),W(()=>b.current,O=>u.value=O),W([()=>d.value,()=>b.length,()=>f.height],v);var p=0;function y(O){var P=p+O.deltaY;if(Math.abs(P)>10){p=0;var M=Math.min(b.current+(P<0?-1:1),b.length-1);b.current=M=Math.max(M,0),m.scrollTo(M*d.value)}else p=P;O.preventDefault()}function E(O){var{clientY:P}=O,M=a.value;if(!m.isScrolling()){var H=M.getBoundingClientRect(),re=P-H.top-f.height/2,R=d.value/2;if(!(Math.abs(re)<=R)){var B=Math.ceil((Math.abs(re)-R)/d.value),X=re<0?-B:B,Q=Math.min(b.current+X,b.length-1);b.current=Q=Math.max(Q,0),m.scrollTo(Q*d.value)}}}var C=()=>{var O=a.value,P=n.value,{scroller:M,handleTouchStart:H,handleTouchMove:re,handleTouchEnd:R}=lS(P,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new sh(1e-4),spring:new uh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==b.current&&(b.current=B)}});m=M,Un(O,B=>{switch(B.detail.state){case"start":H(B),sr({disable:!0});break;case"move":re(B),B.stopPropagation();break;case"end":case"cancel":R(B),sr({disable:!1})}},!0),cS(O),zn(),v()};return na(()=>{b.length=n.value.children.length,h(),C()}),()=>{var O=r.default&&r.default(),P="".concat(w.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:E,class:"uni-picker-view-group"},[I("div",tt(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(w.value,"px;").concat(l.maskStyle)}),null,16),I("div",tt(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[I(Ir,{ref:g,onResize:M=>{var{height:H}=M;return d.value=H}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",x],style:{padding:P}},[O],6)],40,["onWheel","onClick"])],512)}}}),Rr={activeColor:Na,backgroundColor:"#EBEBEB",activeMode:"backwards"},dS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Rr.activeColor},activeColor:{type:String,default:Rr.activeColor},backgroundColor:{type:String,default:Rr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Rr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},hS=ge({name:"Progress",props:dS,setup(e){var t=gS(e);return fh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,fh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function gS(e){var t=U(0),r=te(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=te(()=>{var o=e.color!==Rr.activeColor&&e.activeColor===Rr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=te(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function fh(e,t){t.active?(e.currentPercent=t.activeMode===Rr.activeMode?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}var ch=vn("ucg"),pS={name:{type:String,default:""}},mS=ge({name:"RadioGroup",props:pS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return _S(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function _S(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var u;return(u=r.find(l=>l.value.radioChecked))===null||u===void 0?void 0:u.value.value};ze(ch,{addField(u){r.push(u)},removeField(u){r.splice(r.indexOf(u),1)},radioChange(u,l){var f=r.indexOf(l);s(f,!0),t("change",u,{value:i()})}});var a=_e(It,!1),n={submit:()=>{var u=["",null];return e.name!==""&&(u[0]=e.name,u[1]=i()),u}};a&&(a.addField(n),Ae(()=>{a.removeField(n)}));function o(u,l){u.value={radioChecked:l,value:u.value.value}}function s(u,l){r.forEach((f,d)=>{d!==u&&(l?o(r[d],!1):r.forEach((g,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var bS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},wS=ge({name:"Radio",props:bS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=te(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[g,h]=d;i.value=g,a.value=h});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:u,field:l}=xS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,l))};return u&&(u.addHandler(f),Ae(()=>{u.removeHandler(f)})),Ln(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",tt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?hn(dn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function xS(e,t,r){var i=te({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:u=>{var{radioChecked:l}=u;e.value=l}}),a={reset:r},n=_e(ch,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(ea,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function yS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function SS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function ES(e){e=yS(e);var t=[],r={node:"root",children:[]};return Hd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=SS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var vh={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:""},yl={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function TS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(yl,r)&&yl[r])return yl[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function CS(e,t,r){return e==="img"&&t==="src"?vt(r):r}function dh(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(vh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var u=vh[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:u.indexOf(f)!==-1&&o.setAttribute(f,CS(n,f,d))}})}OS(a,o,i);var l=a.children;Array.isArray(l)&&l.length&&dh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(TS(a.text)))}),t}function OS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var AS={nodes:{type:[Array,String],default:function(){return[]}}},IS=ge({name:"RichText",compatConfig:{MODE:3},props:AS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Dt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function l(f){typeof f=="string"&&(f=ES(f));var d=dh(f,document.createDocumentFragment(),(a&&a.root.type).__scopeId||"",s&&u);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{l(f)}),Re(()=>{l(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),hh=_i(!0),kS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},MS=ge({name:"ScrollView",compatConfig:{MODE:3},props:kS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),u=U(null),l=Pe(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:g}=RS(e);LS(e,f,d,g,l,a,n,s,r);var h=te(()=>{var w="";return e.scrollX?w+="overflow-x:auto;":w+="overflow-x:hidden;",e.scrollY?w+="overflow-y:auto;":w+="overflow-y:hidden;",w});return()=>{var{refresherEnabled:w,refresherBackground:_,refresherDefaultStyle:x}=e,{refresherHeight:m,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:h.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[w?I("div",{ref:u,style:{backgroundColor:_,height:m+"px"},class:"uni-scroll-view-refresher"},[x!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,x=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function RS(e){var t=te(()=>Number(e.scrollTop)||0),r=te(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function LS(e,t,r,i,a,n,o,s,u){var l=!1,f=0,d=!1,g=()=>{},h=te(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),w=te(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function _(y,E){var C=o.value,O=0,P="";if(y<0?y=0:E==="x"&&y>C.scrollWidth-C.offsetWidth?y=C.scrollWidth-C.offsetWidth:E==="y"&&y>C.scrollHeight-C.offsetHeight&&(y=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-y:E==="y"&&(O=C.scrollTop-y),O!==0){var M=s.value;M.style.transition="transform .3s ease-out",M.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?P="translateX("+O+"px) translateZ(0)":E==="y"&&(P="translateY("+O+"px) translateZ(0)"),M.removeEventListener("transitionend",g),M.removeEventListener("webkitTransitionEnd",g),g=()=>v(y,E),M.addEventListener("transitionend",g),M.addEventListener("webkitTransitionEnd",g),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),M.style.transform=P,M.style.webkitTransform=P}}function x(y){var E=y.target;a("scroll",y,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=h.value&&t.lastScrollTop-E.scrollTop>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollTop+E.offsetHeight+w.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(E.scrollLeft<=h.value&&t.lastScrollLeft-E.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollLeft+E.offsetWidth+w.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?_(y,"y"):o.value.scrollTop=y)}function b(y){e.scrollX&&(e.scrollWithAnimation?_(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var E=n.value.querySelector("#"+y);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var P=O.left-C.left,M=o.value.scrollLeft,H=M+P;e.scrollWithAnimation?_(H,"x"):o.value.scrollLeft=H}if(e.scrollY){var re=O.top-C.top,R=o.value.scrollTop,B=R+re;e.scrollWithAnimation?_(B,"y"):o.value.scrollTop=B}}}}function v(y,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=y):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=y),s.value.removeEventListener("transitionend",g),s.value.removeEventListener("webkitTransitionEnd",g)}function p(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,a("refresherrefresh",{},{}),u("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=f=0,y==="restore"&&(d=!1,a("refresherrestore",{},{})),y==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{Vr(()=>{m(r.value),b(i.value)}),c(e.scrollIntoView);var y=function(H){H.preventDefault(),H.stopPropagation(),x(H)},E={x:0,y:0},C=null,O=function(H){if(E!==null){var re=H.touches[0].pageX,R=H.touches[0].pageY,B=o.value;if(Math.abs(re-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&re>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&reE.y)C=!1,e.refresherEnabled&&H.cancelable!==!1&&H.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(d=!0,a("refresherpulling",H,{deltaY:X})));var Q=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(Q>1?1:Q)*360}}},P=function(H){H.touches.length===1&&(sr({disable:!0}),E={x:H.touches[0].pageX,y:H.touches[0].pageY})},M=function(H){E=null,sr({disable:!1}),t.refresherHeight>=e.refresherThreshold?p("refreshing"):p("refresherabort")};o.value.addEventListener("touchstart",P,hh),o.value.addEventListener("touchmove",O,_i(!1)),o.value.addEventListener("scroll",y,_i(!1)),o.value.addEventListener("touchend",M,hh),zn(),Ae(()=>{o.value.removeEventListener("touchstart",P),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",M)})}),ls(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,y=>{m(y)}),W(i,y=>{b(y)}),W(()=>e.scrollIntoView,y=>{c(y)}),W(()=>e.refresherTriggered,y=>{y===!0?p("refreshing"):y===!1&&p("restore")})}var PS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},NS=ge({name:"Slider",props:PS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Pe(i,r),u=DS(e,o),{_onClick:l,_onTrack:f}=BS(e,o,i,a,s);return Re(()=>{Un(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:g,setActiveColor:h,setBlockStyle:w}=u;return I("uni-slider",{ref:i,onClick:Ar(l)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:g.value,class:"uni-slider-handle"},null,4),I("div",{style:w.value,class:"uni-slider-thumb"},null,4),I("div",{style:h.value,class:"uni-slider-track"},null,4)],4)]),Mi(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Ni,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function DS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:te(()=>({backgroundColor:i()})),setBlockBg:te(()=>({left:r()})),setActiveColor:te(()=>({backgroundColor:a(),width:r()})),setBlockStyle:te(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function BS(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var g=Number(e.max),h=Number(e.min),w=Number(e.step);return dg?g:$S.mul.call(Math.round((d-h)/w),w)+h},s=d=>{var g=Number(e.max),h=Number(e.min),w=i.value,_=getComputedStyle(w,null).marginLeft,x=w.offsetWidth;x=x+parseInt(_);var m=r.value,b=m.offsetWidth-(e.showValue?x:0),c=m.getBoundingClientRect().left,v=(d.x-c)*(g-h)/b+h;t.value=o(v)},u=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},l=_e(It,!1);if(l){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};l.addField(f),Ae(()=>{l.removeField(f)})}return{_onClick:n,_onTrack:u}}var $S={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},FS={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}};function zS(e){var t=te(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=te(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=te(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function US(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,u=!0,l=0,f=1,d=null,g=!1,h=0,w,_="",x,m=te(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(R){if(!u)for(var B=r.value,X=B.length,Q=R+t.displayMultipleItems,V=0;V=K.length&&(R-=K.length),R=w%1>.5||w<0?R-1:R,n("transition",{},{dx:e.vertical?0:R*V.offsetWidth,dy:e.vertical?R*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function p(R){var B=r.value.length;if(!B)return-1;var X=(Math.round(R)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(X>B-t.displayMultipleItems)return B-t.displayMultipleItems;return X}function y(){d=null}function E(){if(!d){g=!1;return}var R=d,B=R.toPos,X=R.acc,Q=R.endTime,V=R.source,K=Q-Date.now();if(K<=0){c(B),d=null,g=!1,w=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var oe=X*K*K/2,de=B+oe;c(de),x=requestAnimationFrame(E)}function C(R,B,X){y();var Q=t.duration,V=r.value.length,K=l;if(m.value)if(X<0){for(;KR;)K-=V}else if(X>0){for(;K>R;)K-=V;for(;K+VR;)K-=V;K+V-R0&&f<1||(f=1)}var K=l;l=-2;var ae=t.current;ae>=0?(u=!1,t.userTracking?(c(K+ae-h),h=ae):(c(ae),e.autoplay&&O())):(u=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,X=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],P),W(()=>t.interval,()=>{s&&(o(),O())});function M(R,B){var X=_;_="";var Q=r.value;if(!X){var V=Q.length;C(R,"",m.value&&B+(V-R)%V>V/2?1:0)}var K=Q[R];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:X})}}W(()=>t.current,(R,B)=>{M(R,B),a("update:current",R)}),W(()=>t.currentItemId,R=>{a("update:currentItemId",R)});function H(R){R?O():o()}W(()=>e.autoplay&&!t.userTracking,H),H(e.autoplay&&!t.userTracking),Re(()=>{var R=!1,B=0,X=0;function Q(){o(),h=l,B=0,X=Date.now(),y()}function V(ae){var Te=X;X=Date.now();var oe=r.value.length,de=oe-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,lr){var Ne=h+Ve;B=.6*B+.4*lr,m.value||(Ne<0||Ne>de)&&(Ne<0?Ne=-le(-Ne):Ne>de&&(Ne=de+le(Ne-de)),B=0),c(Ne)}var ye=X-Te||1,be=i.value;e.vertical?J(-ae.dy/be.offsetHeight,-ae.ddy/ye):J(-ae.dx/be.offsetWidth,-ae.ddx/ye)}function K(ae){t.userTracking=!1;var Te=B/Math.abs(B),oe=0;!ae&&Math.abs(B)>.2&&(oe=.5*Te);var de=p(l+oe);ae?c(h):(_="touch",t.current=de,C(de,"touch",oe!==0?oe:de===0&&m.value&&l>=1?1:0))}Un(i.value,ae=>{if(!e.disableTouch&&!u){if(ae.detail.state==="start")return t.userTracking=!0,R=!1,Q();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!R){R=!0;var Te=Math.abs(ae.detail.dx),oe=Math.abs(ae.detail.dy);if((Te>=oe&&e.vertical||Te<=oe&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Kt(()=>{o(),cancelAnimationFrame(x)});function re(R){C(t.current=R,_="click",m.value?1:0)}return{onSwiperDotClick:re}}var HS=ge({name:"Swiper",props:FS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),u=zS(e),l=te(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:_r(e.previousMargin,!0),bottom:_r(e.nextMargin,!0)}:{top:0,bottom:0,left:_r(e.previousMargin,!0),right:_r(e.nextMargin,!0)}),b}),f=te(()=>{var b=Math.abs(100/u.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],g=[],h=U([]);function w(){for(var b=[],c=function(p){var y=d[p];y instanceof Element||(y=y.el);var E=g.find(C=>y===C.rootRef.value);E&&b.push(Xa(E))},v=0;v{d=s.value.children,w()});var _=function(b){g.push(b),w()};ze("addSwiperContext",_);var x=function(b){var c=g.indexOf(b);c>=0&&(g.splice(c,1),w())};ze("removeSwiperContext",x);var{onSwiperDotClick:m}=US(e,u,h,s,i,n);return()=>{var b=r.default&&r.default();return d=bl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:l.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((c,v,p)=>I("div",{onClick:()=>m(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=u.current||v{var n=_e("addSwiperContext");n&&n(a)}),Kt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),jS={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},YS=ge({name:"Switch",props:jS,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=qS(e,a),o=Pe(i,r);W(()=>e.checked,u=>{a.value=u});var s=u=>{e.disabled||(a.value=!a.value,o("change",u,{value:a.value}))};return n&&(n.addHandler(s),Ae(()=>{n.removeHandler(s)})),Ln(e,{"label-click":s}),()=>{var{color:u,type:l}=e,f=ai(e,"disabled");return I("uni-switch",tt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Mi(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?u:"#DFDFDF",borderColor:a.value?u:"#DFDFDF"}},null,6),[[Ni,l==="switch"]]),Mi(I("div",{class:"uni-checkbox-input"},[a.value?hn(dn,e.color,22):""],512),[[Ni,l==="checkbox"]])])],16,["onClick"])}}});function qS(e,t){var r=_e(It,!1),i=_e(ea,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Kt(()=>{r.removeField(a)})),i}var la={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function XS(e,t){return e.replace(/\\n/g,mi).split(mi).map(r=>ZS(r,t))}function ZS(e,t){var{space:r,decode:i}=t;return!e||(r&&la[r]&&(e=e.replace(/ /g,la[r])),!i)?e:e.replace(/ /g,la.nbsp).replace(/ /g,la.ensp).replace(/ /g,la.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var KS=fe({},Zd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Sl=!1;function GS(){var e="(prefers-color-scheme: dark)";Sl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var JS=ge({name:"Textarea",props:KS,emit:["confirm","linechange",...Kd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:u}=Gd(e,i,r),l=te(()=>n.value.split(mi)),f=te(()=>["done","go","next","search","send"].includes(e.confirmType)),d=U(0),g=U(null);W(()=>d.value,m=>{var b=i.value,c=g.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var p=Math.round(m/v);u("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:p}),e.autoHeight&&(b.style.height=m+"px")});function h(m){var{height:b}=m;d.value=b}function w(m){u("confirm",m,{value:n.value})}function _(m){m.key==="Enter"&&f.value&&m.preventDefault()}function x(m){if(m.key==="Enter"&&f.value){w(m);var b=m.target;!e.confirmHold&&b.blur()}}return GS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Sl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:_,onKeyup:x},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Mi(I("div",tt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ni,!n.value.length]]),I("div",{ref:g,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[l.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Ir,{initial:!0,onResize:h},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});fe({},wx);function Vn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function gh(e,t,r){!e||bt(r||Bt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function ph(e,t){!e||km(t||Bt(),e)}function jn(e,t,r,i){var a=Dt(),n=a.proxy;Re(()=>{gh(t||Vn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{gh(Vn(n,o),e,i),ph(s&&Vn(n,s))})}),Ae(()=>{ph(t||Vn(n),i)})}var QS=0;function Yn(e){var t=gn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(QS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function eE(e){return e.__uniContextInfo}class mh extends Ed{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Rn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Rn.mounted);this.$animate&&(this.$animate=!1,this.call(Rn.watch.animation.handler))}}}var tE=["space","decode"];class rE extends mh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,tE);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=XS(this._text,{space:r,decode:i}).join(mi),super.update(t)}}class iE extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var JT="",aE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class nE extends mh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...aE,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new oE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class oE{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class sE extends nE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function _h(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function bh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Tu+_h():0}var wh=Symbol("onDraw");function lE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function El(e,t){return te(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function ua(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!1);function i(){var d=e.value,g=d.getBoundingClientRect(),h=["width","height"];r.value=g.width===0||g.height===0,r.value||(t.position=lE(d)?"absolute":"static",h.push("top","left")),h.forEach(w=>{var _=g[w];_=w==="top"?_+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:bh()):_,t[w]=_+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function u(d){s?s.push(d):d()}function l(d){var g=_e(wh),h=w=>{d(w),o.forEach(_=>_(t)),o=null};u(()=>{g?g(h):h({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return ze(wh,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ae(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:l}}var uE=ge({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=El(e,["id"]),{position:s,onParentReady:u}=ua(a),l;return u(()=>{l=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(l),l.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),l.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>l.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&l.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,g=>{var{code:h,data:w,message:_}=g;h===0?l.renderingBind(w):n("error",{},{errMsg:_})})}e.adpid&&f()}),Ae(()=>{l&&l.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class xe extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var u=document.createElement("div");u.__vueParent=fE(this),this.$props=ke({}),this.init(o),this.$app=fc(wT(i,this.$props)),this.$app.mount(u),this.$=u.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Da)&&vl(this.$,o.a[Da]),this.insert(a,n),yf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Sd(this.$,r,i)}addEvent(t,r){this.$props[t]=xd(this.id,r,Lo(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Da)this.$&&vl(this.$,r);else if(t===ku)this.$.__ownerId=r;else if(t===Mu)nr(()=>dd(this,r),fd);else if(t===No){var i=cl(this.$||nt(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Mn(t)?this.$.style.setProperty(t,r):(r=cl(this.$||nt(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){Mn(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Ah(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class fa extends xe{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return nr(this.getRebuildFn(),nl),super.setText(t)}appendChild(t){return nr(this.getRebuildFn(),nl),super.appendChild(t)}insertBefore(t,r){return nr(this.getRebuildFn(),nl),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function fE(e){for(;e&&e.pid>0;)if(e=nt(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Tl(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var cE=["value","modelValue"];function xh(e){cE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class vE extends xe{constructor(t,r,i,a){super(t,"uni-ad",uE,r,i,a)}}var QT="";class dE extends xe{constructor(t,r,i,a){super(t,"uni-button",Ix,r,i,a)}}class oi extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class hE extends oi{constructor(t,r,i){super(t,"uni-camera",r,i)}}var e2="";class gE extends xe{constructor(t,r,i,a){super(t,"uni-canvas",Bx,r,i,a,"uni-canvas > div")}}var t2="";class pE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox",Vx,r,i,a,".uni-checkbox-wrapper")}setText(t){Tl(this.$holder,"uni-checkbox-input",t)}}var r2="";class mE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox-group",Ux,r,i,a)}}var i2="",_E=0;function yh(e,t,r){var{position:i,hidden:a,onParentReady:n}=ua(e),o,s;n(u=>{var l=te(()=>{var c={};for(var v in i){var p=i[v],y=parseFloat(p),E=parseFloat(u[v]);if(v==="top"||v==="left")p=Math.max(y,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(u[C]),P=parseFloat(i[C]),M=Math.max(O-P,0),H=Math.max(P+y-(O+E),0);p=Math.max(y-M-H,0)+"px"}c[v]=p}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],g=[],h={start:"left",end:"right"};function w(c){var v=getComputedStyle(e.value);return f.concat(d,g).forEach(p=>{c[p]=v[p]}),c}var _=ke(w({})),x=null;s=function(){x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{x=null,w(_)})},window.addEventListener("updateview",s);function m(){var c={};for(var v in c){var p=c[v];(v==="top"||v==="left")&&(p=Math.min(parseFloat(p)-parseFloat(u[v]),0)+"px"),c[v]=p}return c}var b=te(()=>{var c=m(),v=[{tag:"rect",position:c,rectStyles:{color:_.backgroundColor,radius:_.borderRadius,borderColor:_.borderColor,borderWidth:_.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var p=parseFloat(_.lineHeight)-parseFloat(_.fontSize),y=parseFloat(c.width)-parseFloat(_.paddingLeft)-parseFloat(_.paddingRight);y=y<0?0:y;var E=parseFloat(c.height)-parseFloat(_.paddingTop)-p/2-parseFloat(_.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(_.paddingTop)+p/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(_.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(E,"px")},textStyles:{align:h[_.textAlign]||_.textAlign,color:_.color,decoration:"none",lineSpacing:"".concat(p,"px"),margin:"0px",overflow:_.textOverflow,size:_.fontSize,verticalAlign:"top",weight:_.fontWeight,whiteSpace:_.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(_E++),l.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>l.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ae(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var bE="_doc/uniapp_temp/",wE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function xE(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:bE+"/download/"},(u,l)=>{l===200?o(u.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:u=>{var{width:l,height:f}=u;e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ae(()=>{a&&a.abort()}),i}var Sh=ge({name:"CoverImage",props:wE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=ke({src:""}),o=xE(e,n,a);return yh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class yE extends xe{constructor(t,r,i,a){super(t,"uni-cover-image",Sh,r,i,a)}}var a2="",SE=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=ke({text:""});return yh(i,n,o),na(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class EE extends fa{constructor(t,r,i,a){super(t,"uni-cover-view",SE,r,i,a,".uni-cover-view")}}var n2="";class TE extends xe{constructor(t,r,i,a){super(t,"uni-editor",gy,r,i,a)}}var o2="";class CE extends xe{constructor(t,r,i,a){super(t,"uni-form",Sx,r,i,a,"span")}}class OE extends oi{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var s2="";class AE extends xe{constructor(t,r,i,a){super(t,"uni-icon",by,r,i,a)}}var l2="";class IE extends xe{constructor(t,r,i,a){super(t,"uni-image",yy,r,i,a)}}var u2="";class kE extends xe{constructor(t,r,i,a){super(t,"uni-input",Hy,r,i,a)}init(t){super.init(t),xh(this.$props)}}var f2="";class ME extends xe{constructor(t,r,i,a){super(t,"uni-label",Cx,r,i,a)}}class RE extends oi{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class LE extends oi{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var c2="",PE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Cl(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var NE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},DE=ge({name:"Map",props:NE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=ua(n),f,{_addMarkers:d,_addMapLines:g,_addMapCircles:h,_setMap:w}=BE(e,a);l(()=>{f=fe(plus.maps.create(Bt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),u.value&&f.hide(),f.onclick=x=>{a("click",{},x)},f.onstatuschanged=x=>{a("regionchange",{},{})},w(f),d(e.markers),g(e.polyline),h(e.circles),W(()=>o.value,x=>f&&f.setStyles(x),{deep:!0}),W(()=>s,x=>f&&f.setStyles(x),{deep:!0}),W(u,x=>{f&&f[x?"hide":"show"]()}),W(()=>e.scale,x=>{f&&f.setZoom(parseInt(String(x)))}),W([()=>e.latitude,()=>e.longitude],x=>{var[m,b]=x;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(b))})}),W(()=>e.markers,x=>{d(x,!0)},{deep:!0}),W(()=>e.polyline,x=>{g(x)},{deep:!0}),W(()=>e.circles,x=>{h(x)},{deep:!0})});var _=te(()=>e.controls.map(x=>{var m={position:"absolute"};return["top","left","width","height"].forEach(b=>{x.position[b]&&(m[b]=x.position[b]+"px")}),{id:x.id,iconPath:vt(x.iconPath),position:m,clickable:x.clickable}}));return Ae(()=>{f&&(f.close(),w(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),_.value.map((x,m)=>I(Sh,{key:m,src:x.iconPath,style:x.position,"auto-size":!0,onClick:()=>x.clickable&&a("controltap",{},{controlId:x.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function BE(e,t){var r;function i(h){var{longitude:w,latitude:_}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(w||e.longitude),Number(_||e.latitude))),h({errMsg:"moveToLocation:ok"}))}function a(h){!r||r.getCurrentCenter((w,_)=>{h({longitude:_.getLng(),latitude:_.getLat(),errMsg:"getCenterLocation:ok"})})}function n(h){if(!!r){var w=r.getBounds();h({southwest:w.getSouthWest(),northeast:w.getNorthEast(),errMsg:"getRegion:ok"})}}function o(h){!r||h({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(h){if(!!r){var{id:w,latitude:_,longitude:x,iconPath:m,callout:b,label:c}=h;PE(x,_,v=>{var p,{latitude:y,longitude:E}=v.coord,C=new plus.maps.Marker(new plus.maps.Point(E,y));m&&C.setIcon(vt(m)),c&&c.content&&C.setLabel(c.content);var O=void 0;b&&b.content&&(O=new plus.maps.Bubble(b.content)),O&&C.setBubble(O),(w||w===0)&&(C.onclick=P=>{t("markertap",{},{markerId:w})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:w})})),(p=r)===null||p===void 0||p.addOverlay(C),r.__markers__.push(C)})}}function u(){if(!!r){var h=r.__markers__;h.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__markers__=[]}}function l(h,w){w&&u(),h.forEach(_=>{s(_)})}function f(h){!r||(r.__lines__.length>0&&(r.__lines__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__lines__=[]),h.forEach(w=>{var _,{color:x,width:m}=w,b=w.points.map(p=>new plus.maps.Point(p.longitude,p.latitude)),c=new plus.maps.Polyline(b);if(x){var v=Cl(x);c.setStrokeColor(v.color),c.setStrokeOpacity(v.opacity)}m&&c.setLineWidth(m),(_=r)===null||_===void 0||_.addOverlay(c),r.__lines__.push(c)}))}function d(h){!r||(r.__circles__.length>0&&(r.__circles__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__circles__=[]),h.forEach(w=>{var _,{latitude:x,longitude:m,color:b,fillColor:c,radius:v,strokeWidth:p}=w,y=new plus.maps.Circle(new plus.maps.Point(m,x),v);if(b){var E=Cl(b);y.setStrokeColor(E.color),y.setStrokeOpacity(E.opacity)}if(c){var C=Cl(c);y.setFillColor(C.color),y.setFillOpacity(C.opacity)}p&&y.setLineWidth(p),(_=r)===null||_===void 0||_.addOverlay(y),r.__circles__.push(y)}))}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return jn((h,w,_)=>{g[h]&&g[h](_,w)},Yn(),!0),{_addMarkers:l,_addMapLines:f,_addMapCircles:d,_setMap(h){r=h}}}class $E extends xe{constructor(t,r,i,a){super(t,"uni-map",DE,r,i,a,".uni-map-slot")}}var v2="";class FE extends fa{constructor(t,r,i,a){super(t,"uni-movable-area",qy,r,i,a)}}var d2="";class zE extends xe{constructor(t,r,i,a){super(t,"uni-movable-view",Ky,r,i,a)}}var h2="";class UE extends xe{constructor(t,r,i,a){super(t,"uni-navigator",tS,r,i,a,"uni-navigator")}}class HE extends oi{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class WE extends oi{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var si,Eh,li;function Th(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function Ch(){return si.webview.currentWebview().id}var qn,Ol,Al={};function Il(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Al[r];i&&i(t),t.keep||delete Al[r]}}function VE(e,t){Th()==="v8"?li?(qn&&qn.close(),qn=new li(Ch()),qn.onmessage=Il):Ol||(Ol=Eh.requireModule("globalEvent"),Ol.addEventListener("plusMessage",Il)):window.__plusMessage=Il,Al[e]=t}class jE{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(li){var a=new li(i);a.postMessage(r)}else si.webview.postMessageToUniNView&&si.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function YE(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;si=t.plus||plus,Eh=t.weex||(typeof weex=="object"?weex:null),li=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},u="page".concat(Date.now());a=fe({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=fe(s,a.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:si.screen.resolutionWidth}};a=fe(l,a);var f=si.webview.create("",u,a,{extras:{from:Ch(),runtime:Th(),data:i,useGlobalEvent:!li}});return f.addEventListener("close",o),VE(u,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new jE(f)}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},ui={YEAR:"year",MONTH:"month",DAY:"day"};function Xn(e){return e>9?e:"0".concat(e)}function Zn(e,t){e=String(e||"");var r=new Date;if(t===Ie.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function qE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function XE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var ZE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:qE},end:{type:String,default:XE},disabled:{type:[Boolean,String],default:!1}},KE=ge({name:"Picker",props:ZE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;Tm();var{t:i,getLocale:a}=Je(),n=U(null),o=Pe(n,r),s=U(null),u=U(null),l=()=>{var m=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(m.length,e.range.length),c=0;c{u.value&&u.value.sendMessage(m)},d=m=>{var b={event:"cancel"};u.value=YE({url:"__uniapppicker",data:m,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(m);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{u.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},g=(m,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.TIME?"".concat(Xn(v.getHours()),":").concat(Xn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(Xn(v.getMonth()+1),"-").concat(Xn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ie.TIME?{time:Zn(e.value,Ie.TIME),popover:b}:{date:Zn(e.value,Ie.DATE),minDate:Zn(e.start,Ie.DATE),maxDate:Zn(e.end,Ie.DATE),popover:b})},h=(m,b)=>{(m.mode===Ie.TIME||m.mode===Ie.DATE)&&!m.fields?g(m,b):(m.fields=Object.values(ui).includes(m.fields)?m.fields:ui.DAY,d(m))},w=m=>{if(!e.disabled){var b=m.currentTarget,c=b.getBoundingClientRect();h(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+bh(),left:c.left,width:c.width,height:c.height})}},_=_e(It,!1),x={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return _&&(_.addField(x),Ae(()=>_.removeField(x))),Object.keys(e).forEach(m=>{m!=="name"&&W(()=>e[m],b=>{var c={};c[m]=b,f(c)},{deep:!0})}),W(()=>e.value,l,{deep:!0}),l(),()=>I("uni-picker",{ref:n,onClick:w},[I("slot",null,null)],8,["onClick"])}});class GE extends xe{constructor(t,r,i,a){super(t,"uni-picker",KE,r,i,a)}}var g2="";class JE extends fa{constructor(t,r,i,a){super(t,"uni-picker-view",aS,r,i,a,".uni-picker-view-wrapper")}}var p2="";class QE extends fa{constructor(t,r,i,a){super(t,"uni-picker-view-column",vS,r,i,a,".uni-picker-view-content")}}var m2="";class eT extends xe{constructor(t,r,i,a){super(t,"uni-progress",hS,r,i,a)}}var _2="";class tT extends xe{constructor(t,r,i,a){super(t,"uni-radio",wS,r,i,a,".uni-radio-wrapper")}setText(t){Tl(this.$holder,"uni-radio-input",t)}}var b2="";class rT extends xe{constructor(t,r,i,a){super(t,"uni-radio-group",mS,r,i,a)}}var w2="";class iT extends xe{constructor(t,r,i,a){super(t,"uni-rich-text",IS,r,i,a)}}var x2="";class aT extends xe{constructor(t,r,i,a){super(t,"uni-scroll-view",MS,r,i,a,".uni-scroll-view-content")}setText(t){Tl(this.$holder,"uni-scroll-view-refresher",t)}}var y2="";class nT extends xe{constructor(t,r,i,a){super(t,"uni-slider",NS,r,i,a)}}var S2="";class oT extends fa{constructor(t,r,i,a){super(t,"uni-swiper",HS,r,i,a,".uni-swiper-slide-frame")}}var E2="";class sT extends xe{constructor(t,r,i,a){super(t,"uni-swiper-item",VS,r,i,a)}}var T2="";class lT extends xe{constructor(t,r,i,a){super(t,"uni-switch",YS,r,i,a)}}var C2="";class uT extends xe{constructor(t,r,i,a){super(t,"uni-textarea",JS,r,i,a)}init(t){super.init(t),xh(this.$props)}}var O2="",fT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Oh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],cT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],vT=ge({name:"Video",props:fT,emits:Oh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=El(e,["id"]),{position:s,hidden:u,onParentReady:l}=ua(n),f;l(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),u.value&&f.hide(),Oh.forEach(g=>{f.addEventListener(g,h=>{a(g,{},h.detail)})}),W(()=>o.value,g=>f.setStyles(g),{deep:!0}),W(()=>s,g=>f.setStyles(g),{deep:!0}),W(()=>u.value,g=>{f[g?"hide":"show"](),g||f.setStyles(s)})});var d=Yn();return jn((g,h)=>{if(cT.includes(g)){var w;switch(g){case"seek":w=h.position;break;case"sendDanmu":w=h;break;case"playbackRate":w=h.rate;break;case"requestFullScreen":w=h.direction;break}f&&f[g](w)}},d,!0),Ae(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class dT extends xe{constructor(t,r,i,a){super(t,"uni-video",vT,r,i,a,".uni-video-slot")}}var A2="",hT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},at,gT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=fe(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var u=Tu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(u+=_h()),o.top=String(u),o.bottom=o.bottom||"0"}at=plus.webview.create(r,t,o),s&&at.addEventListener("titleUpdate",function(){var l;if(!!a.updateTitle){var f=(l=at)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(at)},pT=()=>{var e;plus.webview.currentWebview().remove(at),(e=at)===null||e===void 0||e.close("none"),at=null},mT=ge({name:"WebView",props:hT,setup(e){var t=Bt(),r=U(null),{hidden:i,onParentReady:a}=ua(r),n=te(()=>e.webviewStyles);return a(()=>{var o,s=U(Eb+t);gT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(yb,{},t),i.value&&((o=at)===null||o===void 0||o.hide())}),Ae(()=>{pT(),UniViewJSBridge.publishHandler(Sb,{},t)}),W(()=>e.src,o=>{var s,u=vt(o)||"";if(!!u){if(/^(http|https):\/\//.test(u)&&e.webviewStyles.progress){var l;(l=at)===null||l===void 0||l.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=at)===null||s===void 0||s.loadURL(u)}}),W(n,o=>{var s;(s=at)===null||s===void 0||s.setStyle(o)}),W(i,o=>{at&&at[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class _T extends xe{constructor(t,r,i,a){super(t,"uni-web-view",mT,r,i,a)}}var bT={"#text":iE,"#comment":px,VIEW:sE,IMAGE:IE,TEXT:rE,NAVIGATOR:UE,FORM:CE,BUTTON:dE,INPUT:kE,LABEL:ME,RADIO:tT,CHECKBOX:pE,"CHECKBOX-GROUP":mE,AD:vE,CAMERA:hE,CANVAS:gE,"COVER-IMAGE":yE,"COVER-VIEW":EE,EDITOR:TE,"FUNCTIONAL-PAGE-NAVIGATOR":OE,ICON:AE,"RADIO-GROUP":rT,"LIVE-PLAYER":RE,"LIVE-PUSHER":LE,MAP:$E,"MOVABLE-AREA":FE,"MOVABLE-VIEW":zE,"OFFICIAL-ACCOUNT":HE,"OPEN-DATA":WE,PICKER:GE,"PICKER-VIEW":JE,"PICKER-VIEW-COLUMN":QE,PROGRESS:eT,"RICH-TEXT":iT,"SCROLL-VIEW":aT,SLIDER:nT,SWIPER:oT,"SWIPER-ITEM":sT,SWITCH:lT,TEXTAREA:uT,VIDEO:dT,"WEB-VIEW":_T};function wT(e,t){return()=>x_(e,t)}var Kn=new Map;function nt(e){return Kn.get(e)}function xT(e){return Kn.get(e)}function Ah(e){return Kn.delete(e)}function Ih(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=bT[t];o?n=new o(e,r,i,a):n=new Ed(e,document.createElement(t),r,i,a)}return Kn.set(e,n),n}var kl=[],kh=!1;function Mh(e){if(kh)return e();kl.push(e)}function Ml(){kh=!0,kl.forEach(e=>e()),kl.length=0}function yT(){}function Rh(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:u,windowBottom:l}=e;ST(r),ET(i,a,n),TT();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),OT(s,u,l),o&&document.addEventListener("touchmove",fb),t?CT(r):Ml()}function ST(e){window.__PAGE_INFO__={route:e}}function ET(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function TT(){Ih(0,"div",-1,-1).$=document.getElementById("app")}function CT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Ml,t.onerror=Ml,document.head.appendChild(t)}function OT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};Q_(i)}var Lh=!1;function AT(e){if(!Lh){Lh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Np,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Dp)}};requestAnimationFrame(()=>document.addEventListener("scroll",cb(t)))}}function IT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Fp(i||r||0,a),t()}function kT(e){var t=e[0];t[0]===Ru?MT(t):Mh(()=>RT(e))}function MT(e){return Rh(e[1])}function RT(e){var t=e[0],r=K1(t[0]===xb?t[1]:[]);e.forEach(i=>{switch(i[0]){case Ru:return Rh(i[1]);case qp:return yT();case Xp:return Ih(i[1],r(i[2]),i[3],i[4],G1(r,i[5]));case Zp:return nt(i[1]).remove();case Kp:return nt(i[1]).setAttr(r(i[2]),r(i[3]));case Gp:return nt(i[1]).removeAttr(r(i[2]));case Jp:return nt(i[1]).addEvent(r(i[2]),i[3]);case tm:return nt(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Qp:return nt(i[1]).removeEvent(r(i[2]));case em:return nt(i[1]).setText(r(i[2]));case rm:return AT(i[1])}}),tx()}function LT(){var{subscribe:e}=UniViewJSBridge;e(Sc,kT),e(Tb,t=>Je().setLocale(t)),e(Ec,PT)}function PT(){UniViewJSBridge.publishHandler("webviewReady")}function Ph(e){return window.__$__(e).$}function NT(e){var 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){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Rl(e,t){var r={},{top:i}=J_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Mo(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(u,l){return l.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=eE(e)),r}function DT(e,t){return e?window.__$__(e).$:t.$el}function Nh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function BT(e,t,r,i,a){var n=DT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,u=s===3||s===8;if(i){var l=u?o.querySelector(r):Nh(n,r)?n:n.querySelector(r);return l?Rl(l,a):null}else{var f=[],d=(u?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,g=>{f.push(Rl(g,a))}),!u&&Nh(n,r)&&f.unshift(Rl(n,a)),f}}function $T(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:u}=a;n===null?i.push(NT(u)):i.push(BT(e,n,o,s,u))}),r(i)}function FT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function zT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Ph(i);(o.__io||(o.__io={}))[r]=H1(o,a,n)}function UT(e,t){var{reqId:r,component:i}=e,a=Ph(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var Ll={},Pl={};function HT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Dh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Dh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Dh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function WT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Ll[r]=window.matchMedia(HT(a)),s=Pl[r]=u=>n(u.matches);s(o),o.addListener(s)}function VT(e,t){var{reqId:r,component:i}=e,a=Pl[r],n=Ll[r];n&&(n.removeListener(a),delete Pl[r],delete Ll[r])}function jT(e,t){var{family:r,source:i,desc:a}=e;$p(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var YT={$el:document.body};function qT(){var e=Bt();Im(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{$T(YT,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{zT(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{UT(t)}),bt(e,"addMediaQueryObserver",t=>{WT(fe({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{VT(t)}),bt(e,F1,IT),bt(e,$1,jT),bt(e,B1,t=>{FT(null,t)})}window.uni=X1,window.UniViewJSBridge=Tc,window.rpx2px=sd,window.__$__=nt,window.__f__=Wp;function Bh(){$m(),qT(),LT(),Z1(),Tc.publishHandler(Ec)}typeof plus!="undefined"?Bh():document.addEventListener("plusready",Bh)}); +(function(Kn){typeof define=="function"&&define.amd?define(Kn):Kn()})(function(){"use strict";var Kn="",WT="",VT="",Nr={exports:{}},va={exports:{}},da={exports:{}},$h=da.exports={version:"2.6.12"};typeof __e=="number"&&(__e=$h);var Ut={exports:{}},ha=Ut.exports=typeof ha!="undefined"&&ha.Math==Math?ha:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=ha);var Fh=da.exports,Nl=Ut.exports,Dl="__core-js_shared__",Bl=Nl[Dl]||(Nl[Dl]={});(va.exports=function(e,t){return Bl[e]||(Bl[e]=t!==void 0?t:{})})("versions",[]).push({version:Fh.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Gn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Jn=va.exports("wks"),Hh=Gn,Qn=Ut.exports.Symbol,$l=typeof Qn=="function",Wh=Nr.exports=function(e){return Jn[e]||(Jn[e]=$l&&Qn[e]||($l?Qn:Hh)("Symbol."+e))};Wh.store=Jn;var ga={},eo=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=eo,to=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},pa=function(e){try{return!!e()}catch(t){return!0}},ci=!pa(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Fl=eo,ro=Ut.exports.document,jh=Fl(ro)&&Fl(ro.createElement),zl=function(e){return jh?ro.createElement(e):{}},Yh=!ci&&!pa(function(){return Object.defineProperty(zl("div"),"a",{get:function(){return 7}}).a!=7}),ma=eo,qh=function(e,t){if(!ma(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ma(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ma(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ma(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Ul=to,Xh=Yh,Zh=qh,Kh=Object.defineProperty;ga.f=ci?Object.defineProperty:function(t,r,i){if(Ul(t),r=Zh(r,!0),Ul(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Hl=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=ga,Jh=Hl,Dr=ci?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},io=Nr.exports("unscopables"),ao=Array.prototype;ao[io]==null&&Dr(ao,io,{});var Qh=function(e){ao[io][e]=!0},eg=function(e,t){return{value:t,done:!!e}},no={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},Wl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=Wl,_a=function(e){return ng(og(e))},ba={exports:{}},sg={}.hasOwnProperty,wa=function(e,t){return sg.call(e,t)},lg=va.exports("native-function-to-string",Function.toString),ug=Ut.exports,xa=Dr,Vl=wa,oo=Gn("src"),so=lg,jl="toString",fg=(""+so).split(jl);da.exports.inspectSource=function(e){return so.call(e)},(ba.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Vl(r,"name")||xa(r,"name",t)),e[t]!==r&&(a&&(Vl(r,oo)||xa(r,oo,e[t]?""+e[t]:fg.join(String(t)))),e===ug?e[t]=r:i?e[t]?e[t]=r:xa(e,t,r):(delete e[t],xa(e,t,r)))})(Function.prototype,jl,function(){return typeof this=="function"&&this[oo]||so.call(this)});var Yl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},cg=Yl,vg=function(e,t,r){if(cg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Br=Ut.exports,ya=da.exports,dg=Dr,hg=ba.exports,ql=vg,lo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,u=a?Br:n?Br[t]||(Br[t]={}):(Br[t]||{})[lo],l=a?ya:ya[t]||(ya[t]={}),f=l[lo]||(l[lo]={}),d,g,h,w;a&&(r=t);for(d in r)g=!i&&u&&u[d]!==void 0,h=(g?u:r)[d],w=s&&g?ql(h,Br):o&&typeof h=="function"?ql(Function.call,h):h,u&&hg(u,d,h,e&je.U),l[d]!=h&&dg(l,d,w),o&&f[d]!=h&&(f[d]=h)};Br.core=ya,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var uo=je,gg=Math.ceil,pg=Math.floor,Xl=function(e){return isNaN(e=+e)?0:(e>0?pg:gg)(e)},mg=Xl,_g=Math.min,bg=function(e){return e>0?_g(mg(e),9007199254740991):0},wg=Xl,xg=Math.max,yg=Math.min,Sg=function(e,t){return e=wg(e),e<0?xg(e+t,0):yg(e,t)},Eg=_a,Tg=bg,Cg=Sg,Og=function(e){return function(t,r,i){var a=Eg(t),n=Tg(a.length),o=Cg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Zl=va.exports("keys"),Ag=Gn,fo=function(e){return Zl[e]||(Zl[e]=Ag(e))},Kl=wa,Ig=_a,kg=Og(!1),Mg=fo("IE_PROTO"),Rg=function(e,t){var r=Ig(e),i=0,a=[],n;for(n in r)n!=Mg&&Kl(r,n)&&a.push(n);for(;t.length>i;)Kl(r,n=t[i++])&&(~kg(a,n)||a.push(n));return a},Gl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Lg=Rg,Pg=Gl,co=Object.keys||function(t){return Lg(t,Pg)},Ng=ga,Dg=to,Bg=co,$g=ci?Object.defineProperties:function(t,r){Dg(t);for(var i=Bg(r),a=i.length,n=0,o;a>n;)Ng.f(t,o=i[n++],r[o]);return t},Jl=Ut.exports.document,Fg=Jl&&Jl.documentElement,zg=to,Ug=$g,Ql=Gl,Hg=fo("IE_PROTO"),vo=function(){},ho="prototype",Sa=function(){var e=zl("iframe"),t=Ql.length,r="<",i=">",a;for(e.style.display="none",Fg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Sa=a.F;t--;)delete Sa[ho][Ql[t]];return Sa()},Wg=Object.create||function(t,r){var i;return t!==null?(vo[ho]=zg(t),i=new vo,vo[ho]=null,i[Hg]=t):i=Sa(),r===void 0?i:Ug(i,r)},Vg=ga.f,jg=wa,eu=Nr.exports("toStringTag"),tu=function(e,t,r){e&&!jg(e=r?e:e.prototype,eu)&&Vg(e,eu,{configurable:!0,value:t})},Yg=Wg,qg=Hl,Xg=tu,ru={};Dr(ru,Nr.exports("iterator"),function(){return this});var Zg=function(e,t,r){e.prototype=Yg(ru,{next:qg(1,r)}),Xg(e,t+" Iterator")},Kg=Wl,iu=function(e){return Object(Kg(e))},Gg=wa,Jg=iu,au=fo("IE_PROTO"),Qg=Object.prototype,ep=Object.getPrototypeOf||function(e){return e=Jg(e),Gg(e,au)?e[au]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Qg:null},go=uo,tp=ba.exports,nu=Dr,ou=no,rp=Zg,ip=tu,ap=ep,vi=Nr.exports("iterator"),po=!([].keys&&"next"in[].keys()),np="@@iterator",su="keys",Ea="values",lu=function(){return this},op=function(e,t,r,i,a,n,o){rp(r,t,i);var s=function(c){if(!po&&c in d)return d[c];switch(c){case su:return function(){return new r(this,c)};case Ea:return function(){return new r(this,c)}}return function(){return new r(this,c)}},u=t+" Iterator",l=a==Ea,f=!1,d=e.prototype,g=d[vi]||d[np]||a&&d[a],h=g||s(a),w=a?l?s("entries"):h:void 0,_=t=="Array"&&d.entries||g,x,m,b;if(_&&(b=ap(_.call(new e)),b!==Object.prototype&&b.next&&(ip(b,u,!0),typeof b[vi]!="function"&&nu(b,vi,lu))),l&&g&&g.name!==Ea&&(f=!0,h=function(){return g.call(this)}),(po||f||!d[vi])&&nu(d,vi,h),ou[t]=h,ou[u]=lu,a)if(x={values:l?h:s(Ea),keys:n?h:s(su),entries:w},o)for(m in x)m in d||tp(d,m,x[m]);else go(go.P+go.F*(po||f),t,x);return x},mo=Qh,Ta=eg,uu=no,sp=_a,lp=op(Array,"Array",function(e,t){this._t=sp(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,Ta(1)):t=="keys"?Ta(0,r):t=="values"?Ta(0,e[r]):Ta(0,[r,e[r]])},"values");uu.Arguments=uu.Array,mo("keys"),mo("values"),mo("entries");for(var fu=lp,up=co,fp=ba.exports,cp=Ut.exports,cu=Dr,vu=no,du=Nr.exports,hu=du("iterator"),gu=du("toStringTag"),pu=vu.Array,mu={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},_u=up(mu),_o=0;_o<_u.length;_o++){var Ca=_u[_o],vp=mu[Ca],bu=cp[Ca],fr=bu&&bu.prototype,Oa;if(fr&&(fr[hu]||cu(fr,hu,pu),fr[gu]||cu(fr,gu,Ca),vu[Ca]=pu,vp))for(Oa in fu)fr[Oa]||fp(fr,Oa,fu[Oa],!0)}function Aa(e,t){for(var r=Object.create(null),i=e.split(","),a=0;a!!r[n.toLowerCase()]:n=>!!r[n]}var dp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hp=Aa(dp);function wu(e){return!!e||e===""}var gp=Aa("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function bo(e){if(ne(e)){for(var t={},r=0;r{if(r){var i=r.split(mp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function _p(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Ge(r);(Ee(i)||typeof i=="number"&&gp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function wo(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r{},bp=()=>!1,wp=/^on[^a-z]/,Ia=e=>wp.test(e),xo=e=>e.startsWith("onUpdate:"),ce=Object.assign,yo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},xp=Object.prototype.hasOwnProperty,ie=(e,t)=>xp.call(e,t),ne=Array.isArray,hi=e=>gi(e)==="[object Map]",yp=e=>gi(e)==="[object Set]",se=e=>typeof e=="function",Ee=e=>typeof e=="string",So=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",yu=e=>We(e)&&se(e.then)&&se(e.catch),Sp=Object.prototype.toString,gi=e=>Sp.call(e),Eo=e=>gi(e).slice(8,-1),mt=e=>gi(e)==="[object Object]",To=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ka=Aa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ma=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Ep=/-(\w)/g,Ht=Ma(e=>e.replace(Ep,(t,r)=>r?r.toUpperCase():"")),Tp=/\B([A-Z])/g,Ge=Ma(e=>e.replace(Tp,"-$1").toLowerCase()),Ra=Ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),Co=Ma(e=>e?"on".concat(Ra(e)):""),pi=(e,t)=>!Object.is(e,t),Oo=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Cp=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Su,Op=()=>Su||(Su=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),mi=` +`,Eu=44,Pa="#007aff",Ap=/^([a-z-]+:)?\/\//i,Ip=/^data:.*,.*/,Tu="wxs://",Cu="json://",kp="wxsModules",Mp="renderjsModules",Rp="onPageScroll",Lp="onReachBottom",Pp="onWxsInvokeCallMethod",Ao=0;function Io(e){var t=Date.now(),r=Ao?t-Ao:0;Ao=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;nJSON.stringify(o)).join(" "))}function ko(e){return ce({},e.dataset,e.__uniDataset)}function _i(e){return{passive:e}}function Mo(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:ko(e),offsetTop:r,offsetLeft:i}}function Np(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:u,weight:l,stretch:f,unicodeRange:d,variant:g,featureSettings:h}=r;u&&s.push("font-style:".concat(u)),l&&s.push("font-weight:".concat(l)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),g&&s.push("font-variant:".concat(g)),h&&s.push("font-feature-settings:".concat(h))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Dp(e,t){if(Ee(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:a,scrollHeight:n}=i;if(e=Math.min(e,n-a),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var o=s=>{if(s<=0){window.scrollTo(0,e);return}var u=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+u/s*10),o(s-10)})};o(t)}}function Bp(){return typeof __channelId__=="string"&&__channelId__}function $p(e,t){switch(Eo(t)){case"Function":return"function() { [native code] }";default:return t}}function Fp(e,t,r){if(Bp())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=gi(a).toLowerCase();if(n==="[object object]"||n==="[object array]")try{a="---BEGIN:JSON---"+JSON.stringify(a,$p)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=Eo(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function zp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a({stop:1,prevent:1<<1,self:1<<2}))(),Au="class",Po="style",Hp="innerHTML",Wp="textContent",Na=".vShow",Iu=".vOwnerId",ku=".vRenderjs",No="change:",Mu=1,Vp=2,jp=3,Yp=5,qp=6,Xp=7,Zp=8,Kp=9,Gp=10,Jp=12,Qp=15,em=20;function tm(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function rm(e){return tm(e)}function im(e){return e.indexOf("/")===0}function Do(e){return im(e)?e:"/"+e}function Da(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;ne.apply(this,arguments);r=setTimeout(a,t)};return i.cancel=function(){clearTimeout(r)},i}var Lu=function(){};Lu.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;ie!==null&&typeof e=="object",sm=["{","}"];class lm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sm;if(!r)return[t];var a=this._caches[t];return a||(a=cm(t,i),this._caches[t]=a),vm(a,r)}}var um=/^(?:\d)+/,fm=/^(?:\w)+/;function cm(e,t){for(var[r,i]=t,a=[],n=0,o="";ndm.call(e,t),hm=new lm;function gm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function pm(e,t){return t.find(r=>e.indexOf(r)===0)}function Du(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return bi;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?bi:e.indexOf("-hant")>-1||gm(e,["-tw","-hk","-mo","-cht"])?Ba:bi;var r=pm(e,[Wt,Bo,$o]);if(r)return r}}class mm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Wt,this.fallbackLocale=Wt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||hm,this.messages=a||{},this.setLocale(r||Wt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Du(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Nu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Du(r,this.messages),r&&(a=this.messages[r])):i=r,Nu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function _m(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function bm(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Wt}function wm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=bm()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Wt);var a=new mm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(l,f){return a.t(l,f)};else{var u=!1;n=function(l,f){var d=getApp().$vm;return d&&(d.$locale,u||(u=!0,_m(d,a))),a.t(l,f)}}return n(o,s)};return{i18n:a,f(o,s,u){return a.f(o,s,u)},t(o,s){return n(o,s)},add(o,s){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,u)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var xm=Da(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),wi;function Je(){if(!wi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,wi=wm(e),xm()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>wi.add(r,__uniConfig.locales[r])),wi.setLocale(e)}}return wi}function _t(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var ym=Da(()=>{var e="uni.picker.",t=["done","cancel"];Je().add(Wt,_t(e,t,["Done","Cancel"]),!1),Je().add($o,_t(e,t,["OK","Cancelar"]),!1),Je().add(Bo,_t(e,t,["OK","Annuler"]),!1),Je().add(bi,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Je().add(Ba,_t(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Sm=Da(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Je().add(Wt,_t(e,t,["feedback","send"]),!1),Je().add($o,_t(e,t,["realimentaci\xF3n","enviar"]),!1),Je().add(Bo,_t(e,t,["retour d'information","envoyer"]),!1),Je().add(bi,_t(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Je().add(Ba,_t(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function Em(e){var t=new Pu;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Bu="invokeViewApi",$u="invokeServiceApi",Tm=1,Cm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?Tm++:0;r&&i($u+"."+n,r,!0),a($u,{id:n,name:e,args:t})},$a=Object.create(null);function Fa(e,t){return e+"."+t}function Om(e,t){UniViewJSBridge.subscribe(Fa(e,Bu),t?t(Fu):Fu)}function bt(e,t,r){t=Fa(e,t),$a[t]||($a[t]=r)}function Am(e,t){t=Fa(e,t),delete $a[t]}function Fu(e,t){var{id:r,name:i,args:a}=e;i=Fa(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Bu+"."+r,s)},o=$a[i];o?o(a,n):n({})}var Im=ce(Em("service"),{invokeServiceMethod:Cm}),km=350,zu=10,za=_i(!0),xi;function yi(){xi&&(clearTimeout(xi),xi=null)}var Uu=0,Hu=0;function Mm(e){if(yi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Uu=t,Hu=r,xi=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},km)}}function Rm(e){if(!!xi){if(e.touches.length!==1)return yi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Uu)>zu||Math.abs(r-Hu)>zu)return yi()}}function Lm(){window.addEventListener("touchstart",Mm,za),window.addEventListener("touchmove",Rm,za),window.addEventListener("touchend",yi,za),window.addEventListener("touchcancel",yi,za)}function Wu(e,t){var r=Number(e);return isNaN(r)?t:r}function Pm(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function Nm(){function e(){var t=__uniConfig.globalStyle||{},r=Wu(t.rpxCalcMaxDeviceWidth,960),i=Wu(t.rpxCalcBaseDeviceWidth,375),a=Pm();a=a<=r?a:i,document.documentElement.style.fontSize=a/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function Dm(){Nm(),Lm()}var Bm=pa,$m=function(e,t){return!!e&&Bm(function(){t?e.call(null,function(){},1):e.call(null)})},Fo=uo,Fm=Yl,Vu=iu,ju=pa,zo=[].sort,Yu=[1,2,3];Fo(Fo.P+Fo.F*(ju(function(){Yu.sort(void 0)})||!ju(function(){Yu.sort(null)})||!$m(zo)),"Array",{sort:function(t){return t===void 0?zo.call(Vu(this)):zo.call(Vu(this),Fm(t))}});var Rt;class zm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&Rt&&(this.parent=Rt,this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Rt=this,t()}finally{Rt=this.parent}}on(){Rt=this}off(){Rt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r1&&arguments[1]!==void 0?arguments[1]:Rt;t&&t.active&&t.effects.push(e)}var Uo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},qu=e=>(e.w&Vt)>0,Xu=e=>(e.n&Vt)>0,Hm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Um(this,i)}run(){if(!this.active)return this.fn();for(var t=wt,r=jt;t;){if(t===this)return;t=t.parent}try{return this.parent=wt,wt=this,jt=!0,Vt=1<<++Si,Si<=Wo?Hm(this):Zu(this),this.fn()}finally{Si<=Wo&&Wm(this),Vt=1<<--Si,wt=this.parent,jt=r,this.parent=void 0}}stop(){this.active&&(Zu(this),this.onStop&&this.onStop(),this.active=!1)}}function Zu(e){var{deps:t}=e;if(t.length){for(var r=0;r{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?To(r)&&s.push(o.get("length")):(s.push(o.get(cr)),hi(e)&&s.push(o.get(Vo)));break;case"delete":ne(e)||(s.push(o.get(cr)),hi(e)&&s.push(o.get(Vo)));break;case"set":hi(e)&&s.push(o.get(cr));break}if(s.length===1)s[0]&&Yo(s[0]);else{var u=[];for(var l of s)l&&u.push(...l);Yo(Uo(u))}}}function Yo(e,t){for(var r of ne(e)?e:[...e])(r!==wt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Vm=Aa("__proto__,__v_isRef,__isVue"),Ju=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(So)),jm=qo(),Ym=qo(!1,!0),qm=qo(!0),Qu=Xm();function Xm(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i{e[t]=function(){Fr();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?f0:uf:t?lf:sf).get(i))return i;var o=ne(i);if(!e&&o&&ie(Qu,a))return Reflect.get(Qu,a,n);var s=Reflect.get(i,a,n);if((So(a)?Ju.has(a):Vm(a))||(e||Qe(i,"get",a),t))return s;if(Fe(s)){var u=!o||!To(a);return u?s.value:s}return We(s)?e?ff(s):ke(s):s}}var Zm=ef(),Km=ef(!0);function ef(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Ei(o)&&Fe(o)&&!Fe(a))return!1;if(!e&&!Ei(a)&&(cf(a)||(a=me(a),o=me(o)),!ne(r)&&Fe(o)&&!Fe(a)))return o.value=a,!0;var s=ne(r)&&To(i)?Number(i)e,Ua=e=>Reflect.getPrototypeOf(e);function Ha(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var a=me(e),n=me(t);t!==n&&!r&&Qe(a,"get",t),!r&&Qe(a,"get",n);var{has:o}=Ua(a),s=i?Xo:r?Go:Ti;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&Qe(i,"has",e),!t&&Qe(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&Qe(me(e),"iterate",cr),Reflect.get(e,"size",e)}function rf(e){e=me(e);var t=me(this),r=Ua(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function af(e,t){t=me(t);var r=me(this),{has:i,get:a}=Ua(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?pi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function nf(e){var t=me(this),{has:r,get:i}=Ua(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function of(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function ja(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),u=t?Xo:e?Go:Ti;return!e&&Qe(s,"iterate",cr),o.forEach((l,f)=>i.call(a,u(l),u(f),n))}}function Ya(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=hi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,u=i[e](...arguments),l=r?Xo:t?Go:Ti;return!t&&Qe(a,"iterate",s?Vo:cr),{next(){var{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:o?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function Yt(e){return function(){return e==="delete"?!1:this}}function r0(){var e={get(n){return Ha(this,n)},get size(){return Va(this)},has:Wa,add:rf,set:af,delete:nf,clear:of,forEach:ja(!1,!1)},t={get(n){return Ha(this,n,!1,!0)},get size(){return Va(this)},has:Wa,add:rf,set:af,delete:nf,clear:of,forEach:ja(!1,!0)},r={get(n){return Ha(this,n,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!1)},i={get(n){return Ha(this,n,!0,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Ya(n,!1,!1),r[n]=Ya(n,!0,!1),t[n]=Ya(n,!1,!0),i[n]=Ya(n,!0,!0)}),[e,r,t,i]}var[i0,a0,n0,o0]=r0();function Zo(e,t){var r=t?e?o0:n0:e?a0:i0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var s0={get:Zo(!1,!1)},l0={get:Zo(!1,!0)},u0={get:Zo(!0,!1)},sf=new WeakMap,lf=new WeakMap,uf=new WeakMap,f0=new WeakMap;function c0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v0(e){return e.__v_skip||!Object.isExtensible(e)?0:c0(Eo(e))}function ke(e){return Ei(e)?e:Ko(e,!1,tf,s0,sf)}function d0(e){return Ko(e,!1,t0,l0,lf)}function ff(e){return Ko(e,!0,e0,u0,uf)}function Ko(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=v0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Ur(e){return Ei(e)?Ur(e.__v_raw):!!(e&&e.__v_isReactive)}function Ei(e){return!!(e&&e.__v_isReadonly)}function cf(e){return!!(e&&e.__v_isShallow)}function vf(e){return Ur(e)||Ei(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function qa(e){return La(e,"__v_skip",!0),e}var Ti=e=>We(e)?ke(e):e,Go=e=>We(e)?ff(e):e;function df(e){jt&&wt&&(e=me(e),Gu(e.dep||(e.dep=Uo())))}function hf(e,t){e=me(e),e.dep&&Yo(e.dep)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function U(e){return gf(e,!1)}function Jo(e){return gf(e,!0)}function gf(e,t){return Fe(e)?e:new h0(e,t)}class h0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ti(t)}get value(){return df(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),pi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ti(t),hf(this))}}function g0(e){return Fe(e)?e.value:e}var p0={get:(e,t,r)=>g0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return Fe(a)&&!Fe(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function pf(e){return Ur(e)?e:new Proxy(e,p0)}class m0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new jo(t,()=>{this._dirty||(this._dirty=!0,hf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return df(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=se(e);n?(i=e,a=pt):(i=e.get,a=e.set);var o=new m0(i,a,n||!a,r);return o}function qt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Xa(n,t,r)}return a}function ft(e,t,r,i){if(se(e)){var a=qt(e,t,r,i);return a&&yu(a)&&a.catch(s=>{Xa(s,t,r)}),a}for(var n=[],o=0;o>>1,a=Ii(et[i]);aPt&&et.splice(t,1)}function wf(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),bf()}function y0(e){wf(e,Oi,Ci,Hr)}function S0(e){wf(e,Xt,Ai,Wr)}function rs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ci.length){for(ts=t,Oi=[...new Set(Ci)],Ci.length=0,Hr=0;HrIi(r)-Ii(i)),Wr=0;Wre.id==null?1/0:e.id;function yf(e){Qo=!1,Za=!0,rs(e),et.sort((i,a)=>Ii(i)-Ii(a));var t=pt;try{for(Pt=0;Pt2?i-2:0),n=2;n_.trim()):f&&(o=a.map(Cp))}var g,h=r[g=Co(t)]||r[g=Co(Ht(t))];!h&&s&&(h=r[g=Co(Ge(t))]),h&&ft(h,e,6,o);var w=r[g+"Once"];if(w){if(!e.emitted)e.emitted={};else if(e.emitted[g])return;e.emitted[g]=!0,ft(w,e,6,o)}}function Sf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!se(e)){var u=l=>{var f=Sf(l,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(l=>o[l]=null):ce(o,n),i.set(e,o),o)}function is(e,t){return!e||!Ia(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Ge(t))||ie(e,t))}var ct=null,Ef=null;function Ka(e){var t=ct;return ct=e,Ef=e&&e.type.__scopeId||null,t}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;if(!t||e._n)return e;var r=function(){r._d&&Xf(-1);var i=Ka(t),a=e(...arguments);return Ka(i),r._d&&Xf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function jT(){}function as(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:u,emit:l,render:f,renderCache:d,data:g,setupState:h,ctx:w,inheritAttrs:_}=e,x,m,b=Ka(e);try{if(r.shapeFlag&4){var c=a||i;x=yt(f.call(c,c,d,n,h,g,w)),m=u}else{var v=t;x=yt(v.length>1?v(n,{attrs:u,slots:s,emit:l}):v(n,null)),m=t.props?u:C0(u)}}catch(C){Xa(C,e,1),x=I(jr)}var p=x;if(m&&_!==!1){var y=Object.keys(m),{shapeFlag:E}=p;y.length&&E&(1|6)&&(o&&y.some(xo)&&(m=O0(m,o)),p=Ri(p,m))}return r.dirs&&(p.dirs=p.dirs?p.dirs.concat(r.dirs):r.dirs),r.transition&&(p.transition=r.transition),x=p,Ka(b),x}var C0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Ia(r))&&((t||(t={}))[r]=e[r]);return t},O0=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function A0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:u}=t,l=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return i?Tf(i,o,l):!!o;if(u&8)for(var f=t.dynamicProps,d=0;de.__isSuspense;function M0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):S0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||ct;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&se(t)?t.call(i.proxy):t}}function R0(e,t){return ns(e,null,t)}var Cf={};function W(e,t,r){return ns(e,t,r)}function ns(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,u,l=!1,f=!1;if(Fe(e)?(u=()=>e.value,l=cf(e)):Ur(e)?(u=()=>e,i=!0):ne(e)?(f=!0,l=e.some(Ur),u=()=>e.map(b=>{if(Fe(b))return b.value;if(Ur(b))return vr(b);if(se(b))return qt(b,s,2)})):se(e)?t?u=()=>qt(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return g&&g(),ft(e,s,3,[h])}:u=pt,t&&i){var d=u;u=()=>vr(d())}var g,h=b=>{g=m.onStop=()=>{qt(b,s,4)}};if(Li)return h=pt,t?r&&ft(t,s,3,[u(),f?[]:void 0,h]):u(),pt;var w=f?[]:Cf,_=()=>{if(!!m.active)if(t){var b=m.run();(i||l||(f?b.some((c,v)=>pi(c,w[v])):pi(b,w)))&&(g&&g(),ft(t,s,3,[b,w===Cf?void 0:w,h]),w=b)}else m.run()};_.allowRecurse=!!t;var x;a==="sync"?x=_:a==="post"?x=()=>Xe(_,s&&s.suspense):x=()=>{!s||s.isMounted?y0(_):_()};var m=new jo(u,x);return t?r?_():w=m.run():a==="post"?Xe(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&yo(s.scope.effects,m)}}function L0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Of(i,e):()=>i[e]:e.bind(i,i),n;se(t)?n=t:(n=t.handler,r=t);var o=Ue;Yr(this);var s=ns(a,n.bind(i),r);return o?Yr(o):pr(),s}function Of(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a{vr(a,t)});else if(mt(e))for(var i in e)vr(e[i],t);return e}function P0(e){return se(e)?{setup:e,name:e.name}:e}var os=e=>!!e.type.__asyncLoader,Af=e=>e.type.__isKeepAlive;function ss(e,t){If(e,"a",t)}function N0(e,t){If(e,"da",t)}function If(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Ga(t,i,r),r)for(var a=r.parent;a&&a.parent;)Af(a.parent.vnode)&&D0(i,t,r,a),a=a.parent}function D0(e,t,r,i){var a=Ga(t,e,i,!0);Zt(()=>{yo(i[t],a)},r)}function Ga(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Fr(),Yr(r);for(var o=arguments.length,s=new Array(o),u=0;ufunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Li||e==="sp")&&Ga(e,t,r)},kf=Nt("bm"),Re=Nt("m"),B0=Nt("bu"),$0=Nt("u"),Ae=Nt("bum"),Zt=Nt("um"),F0=Nt("sp"),z0=Nt("rtg"),U0=Nt("rtc");function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Ga("ec",e,t)}var ls=!0;function W0(e){var t=Lf(e),r=e.proxy,i=e.ctx;ls=!1,t.beforeCreate&&Mf(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:u,inject:l,created:f,beforeMount:d,mounted:g,beforeUpdate:h,updated:w,activated:_,deactivated:x,beforeDestroy:m,beforeUnmount:b,destroyed:c,unmounted:v,render:p,renderTracked:y,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:P,inheritAttrs:M,components:H,directives:re,filters:R}=t,B=null;if(l&&V0(l,i,B,e.appContext.config.unwrapInjectedRef),o)for(var X in o){var Q=o[X];se(Q)&&(i[X]=Q.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),ls=!0,n){var V=function(le){var J=n[le],ye=se(J)?J.bind(r,r):se(J.get)?J.get.bind(r,r):pt,be=!se(J)&&se(J.set)?J.set.bind(r):pt,Ve=te({get:ye,set:be});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:lr=>Ve.value=lr})};for(var K in n)V(K)}if(s)for(var ae in s)Rf(s[ae],i,r,ae);if(u){var Te=se(u)?u.call(r):u;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&Mf(f,e,"c");function oe(le,J){ne(J)?J.forEach(ye=>le(ye.bind(r))):J&&le(J.bind(r))}if(oe(kf,d),oe(Re,g),oe(B0,h),oe($0,w),oe(ss,_),oe(N0,x),oe(H0,C),oe(U0,y),oe(z0,E),oe(Ae,b),oe(Zt,v),oe(F0,O),ne(P))if(P.length){var de=e.exposed||(e.exposed={});P.forEach(le=>{Object.defineProperty(de,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});p&&e.render===pt&&(e.render=p),M!=null&&(e.inheritAttrs=M),H&&(e.components=H),re&&(e.directives=re)}function V0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=us(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),Fe(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:u=>s.value=u}):t[n]=s};for(var a in e)i(a)}function Mf(e,t,r){ft(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Rf(e,t,r,i){var a=i.includes(".")?Of(r,i):()=>r[i];if(Ee(e)){var n=t[e];se(n)&&W(a,n)}else if(se(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>Rf(s,t,r,i));else{var o=se(e.handler)?e.handler.bind(r):t[e.handler];se(o)&&W(a,o,e)}}function Lf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),u;return s?u=s:!a.length&&!r&&!i?u=t:(u={},a.length&&a.forEach(l=>Ja(u,l,o,!0)),Ja(u,t,o)),n.set(t,u),u}function Ja(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Ja(e,n,r,!0),a&&a.forEach(u=>Ja(e,u,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=j0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var j0={data:Pf,props:dr,emits:dr,methods:dr,computed:dr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:dr,directives:dr,watch:q0,provide:Pf,inject:Y0};function Pf(e,t){return t?e?function(){return ce(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return dr(us(e),us(t))}function us(e){if(ne(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};La(n,en,1),e.propsDefaults=Object.create(null),Nf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:d0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Z0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[u]=e.propsOptions,l=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],u=!1;if(!se(e)){var l=c=>{u=!0;var[v,p]=Df(c,t,!0);ce(o,v),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!n&&!u)return i.set(e,di),di;if(ne(n))for(var f=0;f-1,_[1]=m<0||x-1||ie(_,"default"))&&s.push(h)}}}var b=[o,s];return i.set(e,b),b}function Bf(e){return e[0]!=="$"}function $f(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ff(e,t){return $f(e)===$f(t)}function zf(e,t){return ne(t)?t.findIndex(r=>Ff(r,e)):se(t)&&Ff(t,e)?0:-1}var Uf=e=>e[0]==="_"||e==="$stable",cs=e=>ne(e)?e.map(yt):[yt(e)],K0=(e,t,r)=>{var i=T0(function(){return cs(t(...arguments))},r);return i._c=!1,i},Hf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!Uf(a)){var n=e[a];se(n)?t[a]=K0(a,n,i):n!=null&&function(){var o=cs(n);t[a]=()=>o}()}},Wf=(e,t)=>{var r=cs(t);e.slots.default=()=>r},G0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),La(t,"_",r)):Hf(t,e.slots={})}else e.slots={},t&&Wf(e,t);La(e.slots,en,1)},J0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,Hf(t,a)),o=t}else t&&(Wf(e,t),o={default:1});if(n)for(var u in a)!Uf(u)&&!(u in o)&&delete a[u]};function ki(e,t){var r=ct;if(r===null)return e;for(var i=r.proxy,a=e.dirs||(e.dirs=[]),n=0;n1&&arguments[1]!==void 0?arguments[1]:null;a!=null&&!We(a)&&(a=null);var n=Vf(),o=new Set,s=!1,u=n.app={_uid:Q0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(l){},use(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),g=1;g4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((_,x)=>vs(_,t&&(ne(t)?t[x]:t),r,i,a));return}if(!(os(i)&&!a)){var n=i.shapeFlag&4?ms(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:u}=e,l=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(l!=null&&l!==u&&(Ee(l)?(f[l]=null,ie(d,l)&&(d[l]=null)):Fe(l)&&(l.value=null)),se(u))qt(u,s,12,[o,f]);else{var g=Ee(u),h=Fe(u);if(g||h){var w=()=>{if(e.f){var _=g?f[u]:u.value;a?ne(_)&&yo(_,n):ne(_)?_.includes(n)||_.push(n):g?f[u]=[n]:(u.value=[n],e.k&&(f[e.k]=u.value))}else g?(f[u]=o,ie(d,u)&&(d[u]=o)):Fe(u)&&(u.value=o,e.k&&(f[e.k]=o))};o?(w.id=-1,Xe(w,r)):w()}}}}var Xe=M0;function t_(e){return r_(e)}function r_(e,t){var r=Op();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:u,setText:l,setElementText:f,parentNode:d,nextSibling:g,setScopeId:h=pt,cloneNode:w,insertStaticContent:_}=e,x=function(S,T,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,$=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!Mi(S,T)&&(L=Ve(S),de(S,N,F,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:ee,shapeFlag:G}=T;switch(D){case ds:m(S,T,k,L);break;case jr:b(S,T,k,L);break;case hs:S==null&&c(T,k,L,j);break;case xt:re(S,T,k,L,N,F,j,$,z);break;default:G&1?y(S,T,k,L,N,F,j,$,z):G&6?R(S,T,k,L,N,F,j,$,z):(G&64||G&128)&&D.process(S,T,k,L,N,F,j,$,z,Ne)}ee!=null&&N&&vs(ee,S&&S.ref,F,T||S,!T)}},m=(S,T,k,L)=>{if(S==null)i(T.el=s(T.children),k,L);else{var N=T.el=S.el;T.children!==S.children&&l(N,T.children)}},b=(S,T,k,L)=>{S==null?i(T.el=u(T.children||""),k,L):T.el=S.el},c=(S,T,k,L)=>{[S.el,S.anchor]=_(S.children,T,k,L,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:L,anchor:N}=S,F;L&&L!==N;)F=g(L),i(L,T,k),L=F;i(N,T,k)},p=S=>{for(var{el:T,anchor:k}=S,L;T&&T!==k;)L=g(T),a(T),T=L;a(k)},y=(S,T,k,L,N,F,j,$,z)=>{j=j||T.type==="svg",S==null?E(T,k,L,N,F,j,$,z):P(S,T,N,F,j,$,z)},E=(S,T,k,L,N,F,j,$)=>{var z,D,{type:ee,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Oe}=S;if(S.el&&w!==void 0&&Be===-1)z=S.el=w(S.el);else{if(z=S.el=o(S.type,F,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,L,N,F&&ee!=="foreignObject",j,$),Oe&&hr(S,null,L,"created"),G){for(var A in G)A!=="value"&&!ka(A)&&n(z,A,null,G[A],F,S.children,L,N,be);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&St(D,L,S)}C(z,S,S.scopeId,j,L)}Object.defineProperty(z,"__vueParentComponent",{value:L,enumerable:!1}),Oe&&hr(S,null,L,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Oe)&&Xe(()=>{D&&St(D,L,S),Y&&fe.enter(z),Oe&&hr(S,null,L,"mounted")},N)},C=(S,T,k,L,N)=>{if(k&&h(S,k),L)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,D=z;D{var $=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:ee}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&gr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&St(fe,k,T,S),ee&&hr(T,S,k,"beforeUpdate"),k&&gr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?M(S.dynamicChildren,D,$,k,L,Be,F):j||K(S,T,$,null,k,L,Be,F,!1),z>0){if(z&16)H($,T,G,Z,k,L,N);else if(z&2&&G.class!==Z.class&&n($,"class",null,Z.class,N),z&4&&n($,"style",G.style,Z.style,N),z&8)for(var Oe=T.dynamicProps,A=0;A{fe&&St(fe,k,T,S),ee&&hr(T,S,k,"updated")},L)},M=(S,T,k,L,N,F,j)=>{for(var $=0;${if(k!==L){for(var $ in L)if(!ka($)){var z=L[$],D=k[$];z!==D&&$!=="value"&&n(S,$,D,z,j,T.children,N,F,be)}if(k!==Se)for(var ee in k)!ka(ee)&&!(ee in L)&&n(S,ee,k[ee],null,j,T.children,N,F,be);"value"in L&&n(S,"value",k.value,L.value)}},re=(S,T,k,L,N,F,j,$,z)=>{var D=T.el=S?S.el:s(""),ee=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&($=$?$.concat(fe):fe),S==null?(i(D,k,L),i(ee,k,L),O(T.children,k,ee,N,F,j,$,z)):G>0&&G&64&&Z&&S.dynamicChildren?(M(S.dynamicChildren,Z,k,N,F,j,$),(T.key!=null||N&&T===N.subTree)&&jf(S,T,!0)):K(S,T,k,ee,N,F,j,$,z)},R=(S,T,k,L,N,F,j,$,z)=>{T.slotScopeIds=$,S==null?T.shapeFlag&512?N.ctx.activate(T,k,L,j,z):B(T,k,L,N,F,j,z):X(S,T,z)},B=(S,T,k,L,N,F,j)=>{var $=S.component=d_(S,L,N);if(Af(S)&&($.ctx.renderer=Ne),h_($),$.asyncDep){if(N&&N.registerDep($,Q),!S.el){var z=$.subTree=I(jr);b(null,z,T,k)}return}Q($,S,T,k,N,F,j)},X=(S,T,k)=>{var L=T.component=S.component;if(A0(S,T,k))if(L.asyncDep&&!L.asyncResolved){V(L,T,k);return}else L.next=T,x0(L.update),L.update();else T.component=S.component,T.el=S.el,L.vnode=T},Q=(S,T,k,L,N,F,j)=>{var $=()=>{if(S.isMounted){var{next:ue,bu:$e,u:Ke,parent:De,vnode:gt}=S,ur=ue,Mt;gr(S,!1),ue?(ue.el=gt.el,V(S,ue,j)):ue=gt,$e&&Oo($e),(Mt=ue.props&&ue.props.onVnodeBeforeUpdate)&&St(Mt,De,ue,gt),gr(S,!0);var Lr=as(S),zt=S.subTree;S.subTree=Lr,x(zt,Lr,d(zt.el),Ve(zt),S,N,F),ue.el=Lr.el,ur===null&&I0(S,Lr.el),Ke&&Xe(Ke,N),(Mt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>St(Mt,De,ue,gt),N)}else{var ee,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Oe}=S,A=os(T);if(gr(S,!1),fe&&Oo(fe),!A&&(ee=Z&&Z.onVnodeBeforeMount)&&St(ee,Oe,T),gr(S,!0),G&&ca){var Y=()=>{S.subTree=as(S),ca(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var q=S.subTree=as(S);x(null,q,k,L,S,N,F),T.el=q.el}if(Be&&Xe(Be,N),!A&&(ee=Z&&Z.onVnodeMounted)){var he=T;Xe(()=>St(ee,Oe,he),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=L=null}},z=S.effect=new jo($,()=>_f(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,gr(S,!0),D()},V=(S,T,k)=>{T.component=S;var L=S.vnode.props;S.vnode=T,S.next=null,Z0(S,T.props,L,k),J0(S,T.children,k),Fr(),rs(void 0,S.update),zr()},K=function(S,T,k,L,N,F,j,$){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,ee=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,L,N,F,j,$,z);return}else if(Z&256){ae(D,G,k,L,N,F,j,$,z);return}}fe&8?(ee&16&&be(D,N,F),G!==D&&f(k,G)):ee&16?fe&16?Te(D,G,k,L,N,F,j,$,z):be(D,N,F,!0):(ee&8&&f(k,""),fe&16&&O(G,k,L,N,F,j,$,z))},ae=(S,T,k,L,N,F,j,$,z)=>{S=S||di,T=T||di;var D=S.length,ee=T.length,G=Math.min(D,ee),Z;for(Z=0;Zee?be(S,N,F,!0,!1,G):O(T,k,L,N,F,j,$,z,G)},Te=(S,T,k,L,N,F,j,$,z)=>{for(var D=0,ee=T.length,G=S.length-1,Z=ee-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Kt(T[D]):yt(T[D]);if(Mi(fe,Be))x(fe,Be,k,null,N,F,j,$,z);else break;D++}for(;D<=G&&D<=Z;){var Oe=S[G],A=T[Z]=z?Kt(T[Z]):yt(T[Z]);if(Mi(Oe,A))x(Oe,A,k,null,N,F,j,$,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,q=YZ)for(;D<=G;)de(S[D],N,F,!0),D++;else{var he=D,ue=D,$e=new Map;for(D=ue;D<=Z;D++){var Ke=T[D]=z?Kt(T[D]):yt(T[D]);Ke.key!=null&&$e.set(Ke.key,D)}var De,gt=0,ur=Z-ue+1,Mt=!1,Lr=0,zt=new Array(ur);for(D=0;D=ur){de(fi,N,F,!0);continue}var Pr=void 0;if(fi.key!=null)Pr=$e.get(fi.key);else for(De=ue;De<=Z;De++)if(zt[De-ue]===0&&Mi(fi,T[De])){Pr=De;break}Pr===void 0?de(fi,N,F,!0):(zt[Pr-ue]=D+1,Pr>=Lr?Lr=Pr:Mt=!0,x(fi,T[Pr],k,null,N,F,j,$,z),gt++)}var Nh=Mt?i_(zt):di;for(De=Nh.length-1,D=ur-1;D>=0;D--){var Pl=ue+D,Dh=T[Pl],Bh=Pl+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:j,transition:$,children:z,shapeFlag:D}=S;if(D&6){oe(S.component.subTree,T,k,L);return}if(D&128){S.suspense.move(T,k,L);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i(F,T,k);for(var ee=0;ee$.enter(F),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=$,Oe=()=>i(F,T,k),A=()=>{Z(F,()=>{Oe(),Be&&Be()})};fe?fe(F,Oe,A):A()}else i(F,T,k)},de=function(S,T,k){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:j,ref:$,children:z,dynamicChildren:D,shapeFlag:ee,patchFlag:G,dirs:Z}=S;if($!=null&&vs($,null,k,S,!0),ee&256){T.ctx.deactivate(S);return}var fe=ee&1&&Z,Be=!os(S),Oe;if(Be&&(Oe=j&&j.onVnodeBeforeUnmount)&&St(Oe,T,S),ee&6)ye(S.component,k,L);else{if(ee&128){S.suspense.unmount(k,L);return}fe&&hr(S,null,T,"beforeUnmount"),ee&64?S.type.remove(S,T,k,N,Ne,L):D&&(F!==xt||G>0&&G&64)?be(D,T,k,!1,!0):(F===xt&&G&(128|256)||!N&&ee&16)&&be(z,T,k),L&&le(S)}(Be&&(Oe=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Oe&&St(Oe,T,S),fe&&hr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:L,transition:N}=S;if(T===xt){J(k,L);return}if(T===hs){p(S);return}var F=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:$}=N,z=()=>j(k,F);$?$(S.el,F,z):z()}else F()},J=(S,T)=>{for(var k;S!==T;)k=g(S),a(S),S=k;a(T)},ye=(S,T,k)=>{var{bum:L,scope:N,update:F,subTree:j,um:$}=S;L&&Oo(L),N.stop(),F&&(F.active=!1,de(j,S,T,k)),$&&Xe($,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},be=function(S,T,k){for(var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=F;jS.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():g(S.anchor||S.el),lr=(S,T,k)=>{if(S==null)T._vnode&&de(T._vnode,null,null,!0);else{var L=T.__vueParent;x(T._vnode||null,S,T,null,L,null,k)}T._vnode=S},Ne={p:x,um:de,m:oe,r:le,mt:B,mc:O,pc:K,pbc:M,n:Ve,o:e},fa,ca;return t&&([fa,ca]=t(Ne)),{render:lr,hydrate:fa,createApp:e_(lr,fa)}}function gr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function jf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n>1,e[r[s]]0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var a_=e=>e.__isTeleport,n_=Symbol(),xt=Symbol(void 0),ds=Symbol(void 0),jr=Symbol(void 0),hs=Symbol(void 0),Yf=null,qf=1;function Xf(e){qf+=e}function Qa(e){return e?e.__v_isVNode===!0:!1}function Mi(e,t){return e.type===t.type&&e.key===t.key}var en="__vInternal",Zf=e=>{var{key:t}=e;return t!=null?t:null},tn=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||Fe(t)||se(t)?{i:ct,r:t,k:r,f:!!i}:t:null};function o_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zf(t),ref:t&&tn(t),scopeId:Ef,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(gs(u,r),n&128&&e.normalize(u)):r&&(u.shapeFlag|=Ee(r)?8:16),qf>0&&!o&&Yf&&(u.patchFlag>0||n&6)&&u.patchFlag!==32&&Yf.push(u),u}var I=s_;function s_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===n_)&&(e=jr),Qa(e)){var o=Ri(e,t,!0);return r&&gs(o,r),o}if(__(e)&&(e=e.__vccOpts),t){t=l_(t);var{class:s,style:u}=t;s&&!Ee(s)&&(t.class=wo(s)),We(u)&&(vf(u)&&!ne(u)&&(u=ce({},u)),t.style=bo(u))}var l=Ee(e)?1:k0(e)?128:a_(e)?64:We(e)?4:se(e)?2:0;return o_(e,t,r,i,a,l,n,!0)}function l_(e){return e?vf(e)||en in e?ce({},e):e:null}function Ri(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?tt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Zf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(tn(t)):[a,tn(t)]:tn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ri(e.ssContent),ssFallback:e.ssFallback&&Ri(e.ssFallback),el:e.el,anchor:e.anchor};return u}function u_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(ds,null,e,t)}function yt(e){return e==null||typeof e=="boolean"?I(jr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Kt(e):I(ds,null,String(e))}function Kt(e){return e.el===null||e.memo?e:Ri(e)}function gs(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&(1|64)){var a=t.default;a&&(a._c&&(a._d=!1),gs(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(en in t)?t._ctx=ct:n===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:ct},r=32):(t=String(t),i&64?(r=16,t=[u_(t)]):r=8);e.children=t,e.shapeFlag|=r}function tt(){for(var e={},t=0;t3&&arguments[3]!==void 0?arguments[3]:null;ft(e,t,7,[r,i])}var ps=e=>e?Kf(e)?ms(e)||e.proxy:ps(e.parent):null,rn=ce(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=>ps(e.parent),$root:e=>ps(e.root),$emit:e=>e.emit,$options:e=>Lf(e),$forceUpdate:e=>()=>_f(e.update),$nextTick:e=>Vr.bind(e.proxy),$watch:e=>L0.bind(e)}),f_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:u,appContext:l}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];ls&&(s[t]=0)}}var g=rn[t],h,w;if(g)return t==="$attrs"&&Qe(r,"get",t),g(r);if((h=u.__cssModules)&&(h=h[t]))return h;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(w=l.config.globalProperties,ie(w,t))return w[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;if(n!==Se&&ie(n,t))n[t]=r;else if(a!==Se&&ie(a,t))a[t]=r;else if(ie(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,u;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(u=s[0])&&ie(u,t)||ie(n,t)||ie(rn,t)||ie(o.config.globalProperties,t)}},c_=Vf(),v_=0;function d_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||c_,n={uid:v_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Df(i,a),emitsOptions:Sf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext: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,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return n.ctx={_:n},n.root=t?t.root:n,n.emit=E0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Dt=()=>Ue||ct,Yr=e=>{Ue=e,e.scope.on()},pr=()=>{Ue&&Ue.scope.off(),Ue=null};function Kf(e){return e.vnode.shapeFlag&4}var Li=!1;function h_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Li=t;var{props:r,children:i}=e.vnode,a=Kf(e);X0(e,r,a,t),G0(e,i);var n=a?g_(e,t):void 0;return Li=!1,n}function g_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=qa(new Proxy(e.ctx,f_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?m_(e):null;Yr(e),Fr();var n=qt(i,e,0,[e.props,a]);if(zr(),pr(),yu(n)){if(n.then(pr,pr),t)return n.then(o=>{Gf(e,o,t)}).catch(o=>{Xa(o,e,0)});e.asyncDep=n}else Gf(e,n,t)}else Qf(e,t)}function Gf(e,t,r){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=pf(t)),Qf(e,r)}var Jf;function Qf(e,t,r){var i=e.type;if(!e.render){if(!t&&Jf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:u}=i,l=ce(ce({isCustomElement:n,delimiters:s},o),u);i.render=Jf(a,l)}}e.render=i.render||pt}Yr(e),Fr(),W0(e),zr(),pr()}function p_(e){return new Proxy(e.attrs,{get(t,r){return Qe(e,"get","$attrs"),t[r]}})}function m_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=p_(e))},slots:e.slots,emit:e.emit,expose:t}}function ms(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pf(qa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in rn)return rn[r](e)}}))}function __(e){return se(e)&&"__vccOpts"in e}var te=(e,t)=>_0(e,t,Li);function b_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?Qa(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Qa(r)&&(r=[r]),I(e,t,r))}var w_="3.2.30",x_="http://www.w3.org/2000/svg",mr=typeof document!="undefined"?document:null,ec=mr&&mr.createElement("template"),y_={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var a=t?mr.createElementNS(x_,e):mr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>mr.createTextNode(e),createComment:e=>mr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{ec.innerHTML=i?"".concat(e,""):e;var s=ec.content;if(i){for(var u=s.firstChild;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function E_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)_s(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&_s(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var tc=/\s*!important$/;function _s(e,t,r){if(ne(r))r.forEach(a=>_s(e,t,a));else if(r=O_(r),t.startsWith("--"))e.setProperty(t,r);else{var i=T_(e,t);tc.test(r)?e.setProperty(Ge(i),r.replace(tc,""),"important"):e[i]=r}}var rc=["Webkit","Moz","ms"],bs={};function T_(e,t){var r=bs[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return bs[t]=i;i=Ra(i);for(var a=0;atypeof rpx2px!="function"?e:Ee(e)?e.replace(C_,(t,r)=>rpx2px(r)+"px"):e,ic="http://www.w3.org/1999/xlink";function A_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ic,t.slice(6,t.length)):e.setAttributeNS(ic,t,r);else{var n=hp(t);r==null||n&&!wu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function I_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var u=typeof e[t];if(u==="boolean"){e[t]=wu(r);return}else if(r==null&&u==="string"){e[t]="",e.removeAttribute(t);return}else if(u==="number"){try{e[t]=0}catch(l){}e.removeAttribute(t);return}}try{e[t]=r}catch(l){}}var an=Date.now,ac=!1;if(typeof window!="undefined"){an()>document.createEvent("Event").timeStamp&&(an=()=>performance.now());var nc=navigator.userAgent.match(/firefox\/(\d+)/i);ac=!!(nc&&Number(nc[1])<=53)}var ws=0,k_=Promise.resolve(),M_=()=>{ws=0},R_=()=>ws||(k_.then(M_),ws=an());function L_(e,t,r,i){e.addEventListener(t,r,i)}function P_(e,t,r,i){e.removeEventListener(t,r,i)}function N_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,u]=D_(t);if(i){var l=n[t]=B_(i,a);L_(e,s,l,u)}else o&&(P_(e,s,o,u),n[t]=void 0)}}var oc=/(?:Once|Passive|Capture)$/;function D_(e){var t;if(oc.test(e)){t={};for(var r;r=e.match(oc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ge(e.slice(2)),t]}function B_(e,t){var r=i=>{var a=i.timeStamp||an();(ac||a>=r.attached-1)&&ft($_(i,r.value),t,5,[i])};return r.value=e,r.attached=R_(),r}function $_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var sc=/^on[a-z]/,F_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):Ia(t)?xo(t)||N_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):z_(e,t,i,a))?I_(e,t,i,n,o,s,u):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),A_(e,t,i,a))};function z_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&sc.test(t)&&se(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sc.test(t)&&Ee(r)?!1:t in e}var U_=["ctrl","shift","alt","meta"],H_={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>U_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},xs=(e,t)=>function(r){for(var i=0;i1?n-1:0),s=1;s{Ni(e,!1)}):Ni(e,i))},beforeUnmount(e,t){var{value:r}=t;Ni(e,r)}};function Ni(e,t){e.style.display=t?e._vod:"none"}var W_=ce({patchProp:F_},y_),lc;function V_(){return lc||(lc=t_(W_))}var uc=function(){var e=V_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=j_(r);if(!!i){var a=e._component;!se(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function j_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var fc=["top","left","right","bottom"],ys,nn={},ot;function Ss(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function cc(){if(ot=typeof ot=="string"?ot:Ss(),!ot){fc.forEach(function(s){nn[s]=0});return}function e(s,u){var l=s.style;Object.keys(u).forEach(function(f){var d=u[f];l[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(u){u()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,u){var l=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),h=100,w=1e4,_={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+u+")"};e(l,_),e(f,_),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(g,{transition:"0s",animation:"none",width:"250%",height:"250%"}),l.appendChild(d),f.appendChild(g),s.appendChild(l),s.appendChild(f),r(function(){l.scrollTop=f.scrollTop=w;var m=l.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===l?m:b)&&(l.scrollTop=f.scrollTop=w,m=l.scrollTop,b=f.scrollTop,Y_(u))}l.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var x=getComputedStyle(l);Object.defineProperty(nn,u,{configurable:!0,get:function(){return parseFloat(x.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),fc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ys=!0}function on(e){return ys||cc(),nn[e]}var sn=[];function Y_(e){sn.length||setTimeout(function(){var t={};sn.forEach(function(r){t[r]=nn[r]}),sn.length=0,ln.forEach(function(r){r(t)})},0),sn.push(e)}var ln=[];function q_(e){!Ss()||(ys||cc(),typeof e=="function"&&ln.push(e))}function X_(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}var Z_={get support(){return(typeof ot=="string"?ot:Ss()).length!=0},get top(){return on("top")},get left(){return on("left")},get right(){return on("right")},get bottom(){return on("bottom")},onChange:q_,offChange:X_},un=Z_,vc=xs(()=>{},["prevent"]);function fn(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Es(){var e=document.documentElement.style,t=fn(e,"--window-top");return t?t+un.top:0}function K_(){var e=document.documentElement.style,t=Es(),r=fn(e,"--window-bottom"),i=fn(e,"--window-left"),a=fn(e,"--window-right");return{top:t,bottom:r?r+un.bottom:0,left:i?i+un.left:0,right:a?a+un.right:0}}function G_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function cn(e){return Symbol(e)}function dc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function _r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return J_(e);if(typeof e=="string"){var r=parseInt(e)||0;return dc(e)?uni.upx2px(r):r}return e}function J_(e){return dc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var Q_="M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",eb="M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",tb="M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",rb="M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",ib="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",vn="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",ab="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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",nb="M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",ob="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 dn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function hn(){return Gt()}function sb(){return window.__PAGE_INFO__}function Gt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function lb(e){e.preventDefault()}var hc,gc=0;function ub(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:l}=document.documentElement,f=window.innerHeight,d=window.scrollY,g=d>0&&l>f&&d+f+i>=l,h=Math.abs(l-gc)>i;return g&&(!n||h)?(gc=l,n=!0,!0):(!g&&n&&(n=!1),!1)},u=()=>{t&&t(window.pageYOffset);function l(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(l()||(hc=setTimeout(l,300))),a=!1};return function(){clearTimeout(hc),a||requestAnimationFrame(u),a=!0}}function Ts(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ts(e,t.substr(2));for(var r=t.split("/"),i=r.length,a=0;a0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Do(n.concat(r).join("/"))}var qr,pc,Xr;function mc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function _c(){return qr.webview.currentWebview().id}var gn,Cs,Os={};function As(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Os[r];i&&i(t),t.keep||delete Os[r]}}function fb(e,t){mc()==="v8"?Xr?(gn&&gn.close(),gn=new Xr(_c()),gn.onmessage=As):Cs||(Cs=pc.requireModule("globalEvent"),Cs.addEventListener("plusMessage",As)):window.__plusMessage=As,Os[e]=t}class cb{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Xr){var a=new Xr(i);a.postMessage(r)}else qr.webview.postMessageToUniNView&&qr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function vb(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;qr=t.plus||plus,pc=t.weex||(typeof weex=="object"?weex:null),Xr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},u="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:16,viewport:qr.screen.resolutionWidth}};a=ce(l,a);var f=qr.webview.create("",u,a,{extras:{from:_c(),runtime:mc(),data:i,useGlobalEvent:!Xr}});return f.addEventListener("close",o),fb(u,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new cb(f)}class db{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=bc(this.$el.querySelector(t));if(!!r)return Is(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];se(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Pp,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Is(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new db(e)),e.$el.__wxsComponentDescriptor}function Di(e,t){return Is(e)}function bc(e){if(!!e)return Zr(e)}function Zr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(u=>{e.style[u]=t[u]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(u=>{e.classList.remove(u)}),r&&r.forEach(u=>{e.classList.add(u)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var hb=e=>e.type==="click";function wc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=xc(e,a);if(hb(e))pb(n,e);else if(e instanceof TouchEvent){var o=Es();n.touches=yc(e.touches,o),n.changedTouches=yc(e.changedTouches,o)}return[n]}function gb(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function xc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:Mo(t?a:gb(a)),detail:{},currentTarget:Mo(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function pb(e,t){var{x:r,y:i}=t,a=Es();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[mb(t,a)]}function mb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function yc(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Gt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},_b)}function Tb(e,t){var r=e[0];if(!(!t||!mt(t.formatArgs)&&mt(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;nplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Ib(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var kb=0;function Mb(e,t,r){var i="".concat(Date.now()).concat(kb++),a=new plus.nativeObj.Bitmap("bitmap".concat(i));a.loadBase64Data(e,function(){var o=e.match(/data:image\/(\S+?);/)||[null,"png"],s;o[1]&&(s=o[1].replace("jpeg","jpg"));var u="".concat(t,"/").concat(i,".").concat(s);a.save(u,{overwrite:!0,quality:100,format:s},function(){n(),r(null,u)},function(l){n(),r(l)})},function(o){n(),r(o)});function n(){a.clear()}}var Bt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var u in s)r(s,u)&&(n[u]=s[u])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,u,l){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+u),l);return}for(var f=0;f=0;)e[t]=0}var Nb=0,kc=1,Db=2,Bb=3,$b=258,ks=29,$i=256,Fi=$i+1+ks,Jr=30,Ms=19,Mc=2*Fi+1,br=15,Rs=16,Fb=7,Ls=256,Rc=16,Lc=17,Pc=18,Ps=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],pn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],zb=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Nc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ub=512,$t=new Array((Fi+2)*2);Gr($t);var zi=new Array(Jr*2);Gr(zi);var Ui=new Array(Ub);Gr(Ui);var Hi=new Array($b-Bb+1);Gr(Hi);var Ns=new Array(ks);Gr(Ns);var mn=new Array(Jr);Gr(mn);function Ds(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Dc,Bc,$c;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Fc(e){return e<256?Ui[e]:Ui[256+(e>>>7)]}function Wi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>Rs-r?(e.bi_buf|=t<>Rs-e.bi_valid,e.bi_valid+=r-Rs):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function Hb(e){e.bi_valid===16?(Wi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Wb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,u=t.stat_desc.max_length,l,f,d,g,h,w,_=0;for(g=0;g<=br;g++)e.bl_count[g]=0;for(r[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;lu&&(g=u,_++),r[f*2+1]=g,!(f>i)&&(e.bl_count[g]++,h=0,f>=s&&(h=o[f-s]),w=r[f*2],e.opt_len+=w*(g+h),n&&(e.static_len+=w*(a[f*2+1]+h)));if(_!==0){do{for(g=u-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[u]--,_-=2}while(_>0);for(g=u;g!==0;g--)for(f=e.bl_count[g];f!==0;)d=e.heap[--l],!(d>i)&&(r[d*2+1]!==g&&(e.opt_len+=(g-r[d*2+1])*r[d*2],r[d*2+1]=g),f--)}}function Uc(e,t,r){var i=new Array(br+1),a=0,n,o;for(n=1;n<=br;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=zc(i[s]++,s))}}function Vb(){var e,t,r,i,a,n=new Array(br+1);for(r=0,i=0;i>=7;i8?Wi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function jb(e,t,r,i){Wc(e),i&&(Wi(e,r),Wi(e,~r)),Rb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Vc(e,t,r,i){var a=t*2,n=r*2;return e[a]>1;o>=1;o--)$s(e,r,o);l=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$s(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[l*2]=r[o*2]+r[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=l,e.heap[1]=l++,$s(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Wb(e,t),Uc(r,u,e.bl_count)}function Yc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,u=7,l=4;for(o===0&&(u=138,l=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s=3&&e.bl_tree[Nc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function qb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Ac;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Ic;for(r=32;r<$i;r++)if(e.dyn_ltree[r*2]!==0)return Ic;return Ac}var Xc=!1;function Zb(e){Xc||(Vb(),Xc=!0),e.l_desc=new Bs(e.dyn_ltree,Dc),e.d_desc=new Bs(e.dyn_dtree,Bc),e.bl_desc=new Bs(e.bl_tree,$c),e.bi_buf=0,e.bi_valid=0,Hc(e)}function Zc(e,t,r,i){Ze(e,(Nb<<1)+(i?1:0),3),jb(e,t,r,!0)}function Kb(e){Ze(e,kc<<1,3),Tt(e,Ls,$t),Hb(e)}function Gb(e,t,r,i){var a,n,o=0;e.level>0?(e.strm.data_type===Pb&&(e.strm.data_type=Xb(e)),Fs(e,e.l_desc),Fs(e,e.d_desc),o=Yb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?Zc(e,t,r,i):e.strategy===Lb||n===a?(Ze(e,(kc<<1)+(i?1:0),3),jc(e,$t,zi)):(Ze(e,(Db<<1)+(i?1:0),3),qb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),jc(e,e.dyn_ltree,e.dyn_dtree)),Hc(e),i&&Wc(e)}function Jb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Hi[r]+$i+1)*2]++,e.dyn_dtree[Fc(t)*2]++),e.last_lit===e.lit_bufsize-1}Kr._tr_init=Zb,Kr._tr_stored_block=Zc,Kr._tr_flush_block=Gb,Kr._tr_tally=Jb,Kr._tr_align=Kb;function Qb(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var Kc=Qb;function ew(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var tw=ew();function rw(e,t,r,i){var a=tw,n=i+r;e^=-1;for(var o=i;o>>8^a[(e^t[o])&255];return e^-1}var Gc=rw,zs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=Bt,st=Kr,Jc=Kc,Jt=Gc,iw=zs,wr=0,aw=1,nw=3,Qt=4,Qc=5,Ct=0,ev=1,lt=-2,ow=-3,Us=-5,sw=-1,lw=1,_n=2,uw=3,fw=4,cw=0,vw=2,bn=8,dw=9,hw=15,gw=8,pw=29,mw=256,Hs=mw+1+pw,_w=30,bw=19,ww=2*Hs+1,xw=15,ve=3,er=258,dt=er+ve+1,yw=32,wn=42,Ws=69,xn=73,yn=91,Sn=103,xr=113,Vi=666,Le=1,ji=2,yr=3,Qr=4,Sw=3;function tr(e,t){return e.msg=iw[t],t}function tv(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function He(e,t){st._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function Yi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Ew(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=Jc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function rv(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-dt?e.strstart-(e.w_size-dt):0,l=e.window,f=e.w_mask,d=e.prev,g=e.strstart+er,h=l[i+o-1],w=l[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(l[a+o]!==w||l[a+o-1]!==h||l[a]!==l[i]||l[++a]!==l[i+1])){i+=2,a++;do;while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&io){if(e.match_start=t,o=n,n>=s)break;h=l[i+o-1],w=l[i+o]}}while((t=d[t&f])>u&&--r!=0);return o<=e.lookahead?o:e.lookahead}function Sr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-dt)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Ew(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Sr(e),e.lookahead===0&&t===wr)return Le;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-dt&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Qr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Le)}function Vs(e,t){for(var r,i;;){if(e.lookahead=ve&&(e.ins_h=(e.ins_h<=ve)if(i=st._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=ve&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=st._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=st._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Qr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:ji}function Ow(e,t){for(var r;;){if(e.lookahead===0&&(Sr(e),e.lookahead===0)){if(t===wr)return Le;break}if(e.match_length=0,r=st._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Le}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?yr:Qr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Le:ji}function Ot(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var ti;ti=[new Ot(0,0,0,0,Tw),new Ot(4,4,8,4,Vs),new Ot(4,5,16,8,Vs),new Ot(4,6,32,32,Vs),new Ot(4,4,16,16,ei),new Ot(8,16,32,32,ei),new Ot(8,16,128,128,ei),new Ot(8,32,128,256,ei),new Ot(32,128,258,1024,ei),new Ot(32,258,258,4096,ei)];function Aw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=ti[e.level].max_lazy,e.good_match=ti[e.level].good_length,e.nice_match=ti[e.level].nice_length,e.max_chain_length=ti[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function Iw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=bn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(ww*2),this.dyn_dtree=new qe.Buf16((2*_w+1)*2),this.bl_tree=new qe.Buf16((2*bw+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(xw+1),this.heap=new qe.Buf16(2*Hs+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*Hs+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function iv(e){var t;return!e||!e.state?tr(e,lt):(e.total_in=e.total_out=0,e.data_type=vw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?wn:xr,e.adler=t.wrap===2?0:1,t.last_flush=wr,st._tr_init(t),Ct)}function av(e){var t=iv(e);return t===Ct&&Aw(e.state),t}function kw(e,t){return!e||!e.state||e.state.wrap!==2?lt:(e.state.gzhead=t,Ct)}function nv(e,t,r,i,a,n){if(!e)return lt;var o=1;if(t===sw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>dw||r!==bn||i<8||i>15||t<0||t>9||n<0||n>fw)return tr(e,lt);i===8&&(i=9);var s=new Iw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<Qc||t<0)return e?tr(e,lt):lt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Vi&&t!==Qt)return tr(e,e.avail_out===0?Us:lt);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===wn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=_n||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ws):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=_n||i.level<2?4:0),pe(i,Sw),i.status=xr);else{var o=bn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=_n||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=yw),o+=31-o%31,i.status=xr,Yi(i,o),i.strstart!==0&&(Yi(i,e.adler>>>16),Yi(i,e.adler&65535)),e.adler=1}if(i.status===Ws)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=yn)}else i.status=yn;if(i.status===yn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindexa&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=Sn)}else i.status=Sn;if(i.status===Sn&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=xr)):i.status=xr),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ct}else if(e.avail_in===0&&tv(t)<=tv(r)&&t!==Qt)return tr(e,Us);if(i.status===Vi&&e.avail_in!==0)return tr(e,Us);if(e.avail_in!==0||i.lookahead!==0||t!==wr&&i.status!==Vi){var u=i.strategy===_n?Ow(i,t):i.strategy===uw?Cw(i,t):ti[i.level].func(i,t);if((u===yr||u===Qr)&&(i.status=Vi),u===Le||u===yr)return e.avail_out===0&&(i.last_flush=-1),Ct;if(u===ji&&(t===aw?st._tr_align(i):t!==Qc&&(st._tr_stored_block(i,0,0,!1),t===nw&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ct}return t!==Qt?Ct:i.wrap<=0?ev:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(Yi(i,e.adler>>>16),Yi(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ct:ev)}function Lw(e){var t;return!e||!e.state?lt:(t=e.state.status,t!==wn&&t!==Ws&&t!==xn&&t!==yn&&t!==Sn&&t!==xr&&t!==Vi?tr(e,lt):(e.state=null,t===xr?tr(e,ow):Ct))}function Pw(e,t){var r=t.length,i,a,n,o,s,u,l,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==wn||i.lookahead))return lt;for(o===1&&(e.adler=Jc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,u=e.next_in,l=e.input,e.avail_in=r,e.next_in=0,e.input=t,Sr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;qi[254]=qi[254]=1,Er.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function lv(e,t){if(t<65534&&(e.subarray&&sv||!e.subarray&&ov))return String.fromCharCode.apply(null,En.shrinkBuf(e,t));for(var r="",i=0;i4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return lv(s,i)},Er.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)==128;)r--;return r<0||r===0?t:r+qi[e[r]]>t?r:t};function Nw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var uv=Nw,Xi=Et,Zi=Bt,js=Er,Ys=zs,Dw=uv,fv=Object.prototype.toString,Bw=0,qs=4,ri=0,cv=1,vv=2,$w=-1,Fw=0,zw=8;function Tr(e){if(!(this instanceof Tr))return new Tr(e);this.options=Zi.assign({level:$w,method:zw,chunkSize:16384,windowBits:15,memLevel:8,strategy:Fw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dw,this.strm.avail_out=0;var r=Xi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ri)throw new Error(Ys[r]);if(t.header&&Xi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=js.string2buf(t.dictionary):fv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=Xi.deflateSetDictionary(this.strm,i),r!==ri)throw new Error(Ys[r]);this._dict_set=!0}}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?qs:Bw,typeof e=="string"?r.input=js.string2buf(e):fv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Zi.Buf8(i),r.next_out=0,r.avail_out=i),a=Xi.deflate(r,n),a!==cv&&a!==ri)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===qs||n===vv))&&(this.options.to==="string"?this.onData(js.buf2binstring(Zi.shrinkBuf(r.output,r.next_out))):this.onData(Zi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==cv);return n===qs?(a=Xi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ri):(n===vv&&(this.onEnd(ri),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===ri&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Zi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xs(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||Ys[r.err];return r.result}function Uw(e,t){return t=t||{},t.raw=!0,Xs(e,t)}function Hw(e,t){return t=t||{},t.gzip=!0,Xs(e,t)}Bi.Deflate=Tr,Bi.deflate=Xs,Bi.deflateRaw=Uw,Bi.gzip=Hw;var Ki={},ht={},Tn=30,Ww=12,Vw=function(t,r){var i,a,n,o,s,u,l,f,d,g,h,w,_,x,m,b,c,v,p,y,E,C,O,P,M;i=t.state,a=t.next_in,P=t.input,n=a+(t.avail_in-5),o=t.next_out,M=t.output,s=o-(r-t.avail_out),u=o+(t.avail_out-257),l=i.dmax,f=i.wsize,d=i.whave,g=i.wnext,h=i.window,w=i.hold,_=i.bits,x=i.lencode,m=i.distcode,b=(1<>>24,w>>>=p,_-=p,p=v>>>16&255,p===0)M[o++]=v&65535;else if(p&16){y=v&65535,p&=15,p&&(_>>=p,_-=p),_<15&&(w+=P[a++]<<_,_+=8,w+=P[a++]<<_,_+=8),v=m[w&c];r:for(;;){if(p=v>>>24,w>>>=p,_-=p,p=v>>>16&255,p&16){if(E=v&65535,p&=15,_l){t.msg="invalid distance too far back",i.mode=Tn;break e}if(w>>>=p,_-=p,p=o-s,E>p){if(p=E-p,p>d&&i.sane){t.msg="invalid distance too far back",i.mode=Tn;break e}if(C=0,O=h,g===0){if(C+=f-p,p2;)M[o++]=O[C++],M[o++]=O[C++],M[o++]=O[C++],y-=3;y&&(M[o++]=O[C++],y>1&&(M[o++]=O[C++]))}else{C=o-E;do M[o++]=M[C++],M[o++]=M[C++],M[o++]=M[C++],y-=3;while(y>2);y&&(M[o++]=M[C++],y>1&&(M[o++]=M[C++]))}}else if((p&64)==0){v=m[(v&65535)+(w&(1<>3,a-=y,_-=y<<3,w&=(1<<_)-1,t.next_in=a,t.next_out=o,t.avail_in=a=1&&H[h]===0;h--);if(w>h&&(w=h),h===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,u.bits=1,0;for(g=1;g0&&(t===pv||h!==1))return-1;for(re[1]=0,f=1;fhv||t===mv&&b>gv)return 1;for(;;){X=f-x,s[d]M?(Q=R[B+s[d]],V=O[P+s[d]]):(Q=32+64,V=0),v=1<>x)+p]=X<<24|Q<<16|V|0;while(p!==0);for(v=1<>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--H[f]==0){if(f===h)break;f=r[i+s[d]]}if(f>w&&(c&E)!==y){for(x===0&&(x=w),C+=g,_=f-x,m=1<<_;_+xhv||t===mv&&b>gv)return 1;y=c&E,n[y]=w<<24|_<<16|C-o|0}}return c!==0&&(n[C+c]=f-x<<24|64<<16|0),u.bits=w,0},rt=Bt,Ks=Kc,At=Gc,Kw=Vw,Gi=Zw,Gw=0,_v=1,bv=2,wv=4,Jw=5,Cn=6,Cr=0,Qw=1,e1=2,ut=-2,xv=-3,yv=-4,t1=-5,Sv=8,Ev=1,Tv=2,Cv=3,Ov=4,Av=5,Iv=6,kv=7,Mv=8,Rv=9,Lv=10,On=11,Ft=12,Gs=13,Pv=14,Js=15,Nv=16,Dv=17,Bv=18,$v=19,An=20,In=21,Fv=22,zv=23,Uv=24,Hv=25,Wv=26,Qs=27,Vv=28,jv=29,Ce=30,Yv=31,r1=32,i1=852,a1=592,n1=15,o1=n1;function qv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function s1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new rt.Buf16(320),this.work=new rt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Xv(e){var t;return!e||!e.state?ut:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Ev,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new rt.Buf32(i1),t.distcode=t.distdyn=new rt.Buf32(a1),t.sane=1,t.back=-1,Cr)}function Zv(e){var t;return!e||!e.state?ut:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Xv(e))}function Kv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ut:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Zv(e))}function Gv(e,t){var r,i;return e?(i=new s1,e.state=i,i.window=null,r=Kv(e,t),r!==Cr&&(e.state=null),r):ut}function l1(e){return Gv(e,o1)}var Jv=!0,el,tl;function u1(e){if(Jv){var t;for(el=new rt.Buf32(512),tl=new rt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Gi(_v,e.lens,0,288,el,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Gi(bv,e.lens,0,32,tl,0,e.work,{bits:5}),Jv=!1}e.lencode=el,e.lenbits=9,e.distcode=tl,e.distbits=5}function Qv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<=n.wsize?(rt.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),rt.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(rt.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave>>8&255,r.check=At(r.check,O,2,0),l=0,f=0,r.mode=Tv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=Ce;break}if((l&15)!==Sv){e.msg="unknown compression method",r.mode=Ce;break}if(l>>>=4,f-=4,E=(l&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Ce;break}r.dmax=1<>8&1),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Cv;case Cv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>8&255,O[2]=l>>>16&255,O[3]=l>>>24&255,r.check=At(r.check,O,4,0)),l=0,f=0,r.mode=Ov;case Ov:for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>8),r.flags&512&&(O[0]=l&255,O[1]=l>>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0,r.mode=Av;case Av:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,l+=i[n++]<>>8&255,r.check=At(r.check,O,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=Iv;case Iv:if(r.flags&1024&&(h=r.length,h>s&&(h=s),h&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),rt.arraySet(r.head.extra,i,n,h,E)),r.flags&512&&(r.check=At(r.check,i,h,n)),s-=h,n+=h,r.length-=h),r.length))break e;r.length=0,r.mode=kv;case kv:if(r.flags&2048){if(s===0)break e;h=0;do E=i[n+h++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&h>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Ft;break;case Lv:for(;f<32;){if(s===0)break e;s--,l+=i[n++]<>>=f&7,f-=f&7,r.mode=Qs;break}for(;f<3;){if(s===0)break e;s--,l+=i[n++]<>>=1,f-=1,l&3){case 0:r.mode=Pv;break;case 1:if(u1(r),r.mode=An,t===Cn){l>>>=2,f-=2;break e}break;case 2:r.mode=Dv;break;case 3:e.msg="invalid block type",r.mode=Ce}l>>>=2,f-=2;break;case Pv:for(l>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,l+=i[n++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=Ce;break}if(r.length=l&65535,l=0,f=0,r.mode=Js,t===Cn)break e;case Js:r.mode=Nv;case Nv:if(h=r.length,h){if(h>s&&(h=s),h>u&&(h=u),h===0)break e;rt.arraySet(a,i,n,h,o),s-=h,n+=h,u-=h,o+=h,r.length-=h;break}r.mode=Ft;break;case Dv:for(;f<14;){if(s===0)break e;s--,l+=i[n++]<>>=5,f-=5,r.ndist=(l&31)+1,l>>>=5,f-=5,r.ncode=(l&15)+4,l>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Ce;break}r.have=0,r.mode=Bv;case Bv:for(;r.have>>=3,f-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},C=Gi(Gw,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid code lengths set",r.mode=Ce;break}r.have=0,r.mode=$v;case $v:for(;r.have>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=m,f-=m,r.lens[r.have++]=c;else{if(c===16){for(M=m+2;f>>=m,f-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Ce;break}E=r.lens[r.have-1],h=3+(l&3),l>>>=2,f-=2}else if(c===17){for(M=m+3;f>>=m,f-=m,E=0,h=3+(l&7),l>>>=3,f-=3}else{for(M=m+7;f>>=m,f-=m,E=0,h=11+(l&127),l>>>=7,f-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Ce;break}for(;h--;)r.lens[r.have++]=E}}if(r.mode===Ce)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Ce;break}if(r.lenbits=9,P={bits:r.lenbits},C=Gi(_v,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,C){e.msg="invalid literal/lengths set",r.mode=Ce;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},C=Gi(bv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,C){e.msg="invalid distances set",r.mode=Ce;break}if(r.mode=An,t===Cn)break e;case An:r.mode=In;case In:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=n,e.avail_in=s,r.hold=l,r.bits=f,Kw(e,g),o=e.next_out,a=e.output,u=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,l=r.hold,f=r.bits,r.mode===Ft&&(r.back=-1);break}for(r.back=0;x=r.lencode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,r.length=c,b===0){r.mode=Wv;break}if(b&32){r.back=-1,r.mode=Ft;break}if(b&64){e.msg="invalid literal/length code",r.mode=Ce;break}r.extra=b&15,r.mode=Fv;case Fv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=zv;case zv:for(;x=r.distcode[l&(1<>>24,b=x>>>16&255,c=x&65535,!(m<=f);){if(s===0)break e;s--,l+=i[n++]<>v)],m=x>>>24,b=x>>>16&255,c=x&65535,!(v+m<=f);){if(s===0)break e;s--,l+=i[n++]<>>=v,f-=v,r.back+=v}if(l>>>=m,f-=m,r.back+=m,b&64){e.msg="invalid distance code",r.mode=Ce;break}r.offset=c,r.extra=b&15,r.mode=Uv;case Uv:if(r.extra){for(M=r.extra;f>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Ce;break}r.mode=Hv;case Hv:if(u===0)break e;if(h=g-u,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Ce;break}h>r.wnext?(h-=r.wnext,w=r.wsize-h):w=r.wnext-h,h>r.length&&(h=r.length),_=r.window}else _=a,w=o-r.offset,h=r.length;h>u&&(h=u),u-=h,r.length-=h;do a[o++]=_[w++];while(--h);r.length===0&&(r.mode=In);break;case Wv:if(u===0)break e;a[o++]=r.length,u--,r.mode=In;break;case Qs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,l|=i[n++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)==0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p1,this.strm.avail_out=0;var r=ai.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(rl[r]);if(this.header=new m1,ai.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=kn.string2buf(t.dictionary):td.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ai.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(rl[r])}Or.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,u,l,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=kn.binstring2buf(e):td.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Ji.Buf8(i),r.next_out=0,r.avail_out=i),n=ai.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ai.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=kn.utf8border(r.output,r.next_out),u=r.next_out-s,l=kn.buf2string(r.output,s),r.next_out=u,r.avail_out=i-u,u&&Ji.arraySet(r.output,r.output,s,u,0),this.onData(l)):this.onData(Ji.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ai.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Or.prototype.onData=function(e){this.chunks.push(e)},Or.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ji.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function il(e,t){var r=new Or(t);if(r.push(e,!0),r.err)throw r.msg||rl[r.err];return r.result}function _1(e,t){return t=t||{},t.raw=!0,il(e,t)}Ki.Inflate=Or,Ki.inflate=il,Ki.inflateRaw=_1,Ki.ungzip=il;var b1=Bt.assign,w1=Bi,x1=Ki,y1=ed,rd={};b1(rd,w1,x1,y1);var id=rd;function S1(e){return Promise.resolve(e)}var E1="upx2px",T1=1e-4,C1=750,ad=!1,al=0,nd=0;function O1(){var{platform:e,pixelRatio:t,windowWidth:r}=Cc();al=r,nd=t,ad=e==="ios"}function od(e,t){var r=Number(e);return isNaN(r)?t:r}var sd=Ab(E1,(e,t)=>{if(al===0&&O1(),e=Number(e),e===0)return 0;var r=t||al;{var i=__uniConfig.globalStyle||{},a=od(i.rpxCalcMaxDeviceWidth,960),n=od(i.rpxCalcBaseDeviceWidth,375);r=r<=a?r:n}var o=e/C1*r;return o<0&&(o=-o),o=Math.floor(o+T1),o===0&&(nd===1||!ad?o=1:o=.5),e<0?-o:o});new Pu;var A1=[{name:"id",type:String,required:!0}];A1.concat({name:"componentInstance",type:Object});var ld={};ld.f={}.propertyIsEnumerable;var I1=ci,k1=co,M1=_a,R1=ld.f,L1=function(e){return function(t){for(var r=M1(t),i=k1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!I1||R1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},ud=uo,P1=L1(!1);ud(ud.S,"Object",{values:function(t){return P1(t)}});var N1="setPageMeta",D1="loadFontFace",B1="pageScrollTo",$1=function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,p=e(v);p;)v=p.ownerDocument,p=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=w(c.rootBounds),this.boundingClientRect=w(c.boundingClientRect),this.intersectionRect=w(c.intersectionRect||h()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,p=v.width*v.height,y=this.intersectionRect,E=y.width*y.height;p?this.intersectionRatio=Number((E/p).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var p=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(p.root&&p.root.nodeType!=1&&p.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=u(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(p.rootMargin),this.thresholds=this._initThresholds(p.threshold),this.root=p.root||null,this.rootMargin=this._rootMarginValues.map(function(y){return y.value+y.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,v){!c||!v?a=h():a=_(c,v),r.forEach(function(p){p._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(p){return p.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(p,y,E){if(typeof p!="number"||isNaN(p)||p<0||p>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return p!==E[y-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",p=v.split(/\s+/).map(function(y){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(y);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return p[1]=p[1]||p[0],p[2]=p[2]||p[0],p[3]=p[3]||p[1],p},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var p=this._checkForIntersections,y=null,E=null;this.POLL_INTERVAL?y=v.setInterval(p,this.POLL_INTERVAL):(l(v,"resize",p,!0),l(c,"scroll",p,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(p),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var P=c.defaultView;P&&(y&&P.clearInterval(y),f(P,"resize",p,!0)),f(c,"scroll",p,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var p=this.root&&(this.root.ownerDocument||this.root)||t,y=this._observationTargets.some(function(O){var P=O.element.ownerDocument;if(P==c)return!0;for(;P&&P!=p;){var M=e(P);if(P=M&&M.ownerDocument,P==c)return!0}return!1});if(!y){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=p){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v=0&&P>=0&&{top:p,bottom:y,left:E,right:C,width:O,height:P}||null}function g(c){var v;try{v=c.getBoundingClientRect()}catch(p){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function w(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function _(c,v){var p=v.top-c.top,y=v.left-c.left;return{top:p,left:y,height:v.height,width:v.width,bottom:p+v.height,right:y+v.width}}function x(c,v){for(var p=v;p;){if(p==c)return!0;p=m(p)}return!1}function m(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function nl(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function F1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function z1(e,t,r){$1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(u=>{u.forEach(l=>{r({intersectionRatio:F1(l),intersectionRect:nl(l.intersectionRect),boundingClientRect:nl(l.boundingClientRect),relativeRect:nl(l.rootBounds),time:Date.now(),dataset:ko(l.target),id:l.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function X1(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function Z1(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=K1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function K1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function G1(e,t){return e.priority=t,e}var ol=new Set,J1=1,sl=2,fd=3,cd=4;function nr(e,t){ol.add(G1(e,t))}function Q1(){try{[...ol].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{ol.clear()}}function vd(e,t){var r=window["__"+kp],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var ex=Tu.length;function tx(e,t,r){var[i,a,n,o]=ul(t),s=ll(e,i);if(ne(r)||ne(o)){var[u,l]=n.split(".");return fl(s,a,u,l,r||o)}return ax(s,a,n)}function rx(e,t,r){var[i,a,n]=ul(t),[o,s]=n.split("."),u=ll(e,i);return fl(u,a,o,s,[ox(r,e),Di(Zr(u))])}function ll(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ul(e){return JSON.parse(e.substr(ex))}function ix(e,t,r,i){var[a,n,o]=ul(e),s=ll(t,a),[u,l]=o.split(".");return fl(s,n,u,l,[r,i,Di(Zr(s)),Di(Zr(t))])}function fl(e,t,r,i,a){var n=vd(t,e);if(!n)return console.error(Io("wxs","module "+r+" not found"));var o=n[i];return se(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ax(e,t,r){var i=vd(t,e);return i?Ru(i,r.substr(r.indexOf(".")+1)):console.error(Io("wxs","module "+r+" not found"))}function nx(e,t,r){var i=r;return a=>{try{ix(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function ox(e,t){var r=Zr(t);return Object.defineProperty(e,"instance",{get(){return Di(r)}}),e}function dd(e,t){Object.keys(t).forEach(r=>{lx(e,t[r])})}function sx(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function lx(e,t){var r=ux(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=fx(i,r)}}function ux(e){var t=window["__"+Mp],r=t&&t[e];return r||console.error(Io("renderjs",e+" not found"))}function fx(e,t){return t=t.default||t,t.render=()=>{},uc(t).mixin({mounted(){this.$ownerInstance=Di(Zr(e))}}).mount(document.createElement("div"))}class ni{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=pT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,a=nt(t);r===-1?a.appendChild(i):a.insertBefore(i,nt(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Th(this.id),sx(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(No)===0){var i=r.replace(No,""),a=t[i],n=nx(this,t[r],a);nr(()=>n(a),cd),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(No+t);if(a)return nr(()=>i?Vr(()=>a(r)):a(r),cd),!0}}function hd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function gd(e,t){var r=e.style;if(Ee(t))t===""?e.removeAttribute("style"):r.cssText=_r(t,!0);else for(var i in t)cl(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)cl(r,n,a[n])}var pd=/\s*!important$/;function cl(e,t,r){if(ne(r))r.forEach(a=>cl(e,t,a));else if(r=_r(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=cx(e,t);pd.test(r)?e.setProperty(Ge(i),r.replace(pd,""),"important"):e[i]=r}}var md=["Webkit"],vl={};function cx(e,t){var r=vl[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return vl[t]=i;i=Ra(i);for(var a=0;a{var[n]=wc(a);n.type=Up(a.type,r),UniViewJSBridge.publishHandler(Sc,[[em,e,n]])};return t?xs(i,yd(t)):i}function yd(e){var t=[];return e&Lo.prevent&&t.push("prevent"),e&Lo.self&&t.push("self"),e&Lo.stop&&t.push("stop"),t}function vx(e,t,r,i){var[a,n]=Ro(t);i===-1?_d(e,a):bd(e,a)||e.addEventListener(a,e.__listeners[a]=Sd(e,r,i),n)}function Sd(e,t,r){var i=a=>{rx(e,t,wc(a)[0])};return r?xs(i,yd(r)):i}var dx=Cu.length;function dl(e,t){return Ee(t)&&(t.indexOf(Cu)===0?t=JSON.parse(t.substr(dx)):t.indexOf(Tu)===0&&(t=tx(e,t))),t}function Mn(e){return e.indexOf("--")===0}function hl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Ed extends ni{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),W(this.$props,()=>{nr(this._update,J1)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){vx(this.$,t,r,i)}addEvent(t,r){wd(this.$,t,r)}removeEvent(t){wd(this.$,t,-1)}setAttr(t,r){t===Au?hd(this.$,r):t===Po?gd(this.$,r):t===Na?hl(this.$,r):t===Iu?this.$.__ownerId=r:t===ku?nr(()=>dd(this,r),fd):t===Hp?this.$.innerHTML=r:t===Wp?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Au?hd(this.$,""):t===Po?gd(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=dl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Mn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:Mn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class hx extends ni{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var YT="";function Td(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function gx(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function px(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,u={},l=[];return n.forEach(f=>{var d=f.type,g=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?g=g.map(w=>parseFloat(w)+"deg"):d.startsWith("translate")&&(g=g.map(Td)),r.indexOf(d)>=0&&(g.length=1),l.push("".concat(d,"(").concat(g.join(","),")"));else if(i.concat(a).includes(g[0])){d=g[0];var h=g[1];u[d]=a.includes(d)?Td(h):h}}),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map(f=>"".concat(gx(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function Cd(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,u=px(o);Object.keys(u).forEach(l=>{e.$el.style[l]=u[l]}),r+=1,r{n()},0)}var Rn={props:["animation"],watch:{animation:{deep:!0,handler(){Cd(this)}}},mounted(){Cd(this)}},ge=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Rn),mx(e)},mx=e=>(e.__reserved=!0,e.compatConfig={MODE:3},P0(e)),_x={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gl(e){var t=U(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(l){l._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||l.touches.length>1||(e.hoverStopPropagation&&(l._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function u(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:u}}}function oi(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Ar(e){return e.__wwe=!0,e}function Pe(e,t){return(r,i,a)=>{e.value&&t(r,wx(r,i,e.value,a||{}))}}function bx(e){return(t,r)=>{e(t,xc(r))}}function wx(e,t,r,i){var a=Mo(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var It=cn("uf"),xx=ge({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=U(null);return yx(Pe(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function yx(e){var t=[];return ze(It,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Sx={for:{type:String,default:""}},Qi=cn("ul");function Ex(){var e=[];return ze(Qi,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Tx=ge({name:"Label",props:Sx,setup(e,t){var{slots:r}=t,i=hn(),a=Ex(),n=te(()=>e.for||r.default&&r.default.length),o=Ar(s=>{var u=s.target,l=/^uni-(checkbox|radio|switch)-/.test(u.className);l||(l=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(u.tagName)),!l&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Ln(e,t){Od(e.id,t),W(()=>e.id,(r,i)=>{Ad(i,t,!0),Od(r,t,!0)}),Zt(()=>{Ad(e.id,t)})}function Od(e,t,r){var i=hn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Ad(e,t,r){var i=hn();r&&!e||!mt(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Cx={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}},Ox=ge({name:"Button",props:Cx,setup(e,t){var{slots:r}=t,i=U(null);Sm();var a=_e(It,!1),{hovering:n,binding:o}=gl(e),{t:s}=Je(),u=Ar((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var g=e.formType;if(g){if(!a)return;g==="submit"?a.submit(f):g==="reset"&&a.reset(f);return}e.openType==="feedback"&&Ax(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),l=_e(Qi,!1);return l&&(l.addHandler(u),Ae(()=>{l.removeHandler(u)})),Ln(e,{"label-click":u}),()=>{var f=e.hoverClass,d=oi(e,"disabled"),g=oi(e,"loading"),h=oi(e,"plain"),w=f&&f!=="none";return I("uni-button",tt({ref:i,onClick:u,class:w&&n.value?f:""},w&&o,d,g,h),[r.default&&r.default()],16,["onClick"])}}});function Ax(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ir=ge({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=U(null),a=kx(i),n=Ix(i,r,a);return Mx(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Ix(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function kx(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Mx(e,t,r,i){ss(i),Re(()=>{t.initial&&Vr(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var we=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Id(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?we:1),e.height=e.offsetHeight*(t?we:1),e.getContext("2d").__hidpi__=t}var kd=!1;function Rx(){if(!kd){kd=!0;var e=function(i,a){for(var n in i)ie(i,n)&&a(i[n],n)},t={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(a,n,o,s,u,l,f,d,g,h){if(!this.__hidpi__)return i.apply(this,arguments);n*=we,o*=we,s*=we,u*=we,l*=we,f*=we,d=h?d*we:d,g=h?g*we:g,i.call(this,a,n,o,s,u,l,f,d,g)}}(r.drawImage),we!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(u){return u*we});else if(Array.isArray(i))for(var s=0;sRx());function Md(e){return e&&vt(e)}function Pn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Rd(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var ea;function Ld(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ea||(ea=document.createElement("canvas")),ea.width=e,ea.height=t,ea}var Px={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},Nx=ge({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Px,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Lx();var a=U(null),n=U(null),o=U(!1),s=bx(r),{$attrs:u,$excludeAttrs:l,$listeners:f}=Jd({excludeListeners:!0}),{_listeners:d}=Dx(e,f,s),{_handleSubscribe:g,_resize:h}=Bx(e,a,o);return jn(g,Yn(e.canvasId),!0),Re(()=>{h()}),()=>{var{canvasId:w,disableScroll:_}=e;return I("uni-canvas",tt({"canvas-id":w,"disable-scroll":_},u.value,l.value,d.value),[I("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ir,{ref:n,onResize:h},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Dx(e,t,r){var i=te(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var l=n[u];s[u]=l}return s})());return a.forEach(s=>{var u=o[s],l=[];u&&l.push(Ar(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var g in f)d[g]=f[g];return d})(),{touches:Rd(f.currentTarget,f.touches),changedTouches:Rd(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&l.push(vc),o[s]=l}),o});return{_listeners:i}}function Bx(e,t,r){var i=[],a={},n=te(()=>e.hidpi?we:1);function o(_){var x=t.value,m=!_||x.width!==Math.floor(_.width*n.value)||x.height!==Math.floor(_.height*n.value);if(!!m)if(x.width>0&&x.height>0){var b=x.getContext("2d"),c=b.getImageData(0,0,x.width,x.height);Id(x,e.hidpi),b.putImageData(c,0,0)}else Id(x,e.hidpi)}function s(_,x){var{actions:m,reserve:b}=_;if(!!m){if(r.value){i.push([m,b]);return}var c=t.value,v=c.getContext("2d");b||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),u(m);for(var p=function(C){var O=m[C],P=O.method,M=O.data,H=M[0];if(/^set/.test(P)&&P!=="setTransform"){var re=P[3].toLowerCase()+P.slice(4),R;if(re==="fillStyle"||re==="strokeStyle"){if(H==="normal")R=Pn(M[1]);else if(H==="linear"){var B=v.createLinearGradient(...M[1]);M[2].forEach(function(J){var ye=J[0],be=Pn(J[1]);B.addColorStop(ye,be)}),R=B}else if(H==="radial"){var X=M[1],Q=X[0],V=X[1],K=X[2],ae=v.createRadialGradient(Q,V,0,Q,V,K);M[2].forEach(function(J){var ye=J[0],be=Pn(J[1]);ae.addColorStop(ye,be)}),R=ae}else if(H==="pattern"){var Te=l(M[1],m.slice(C+1),x,function(J){J&&(v[re]=v.createPattern(J,M[2]))});return Te?"continue":"break"}v[re]=R}else if(re==="globalAlpha")v[re]=Number(H)/255;else if(re==="shadow"){var oe=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(J,ye){v[oe[ye]]=oe[ye]==="shadowColor"?Pn(J):J})}else if(re==="fontSize"){var de=v.__font__||v.font;v.__font__=v.font=de.replace(/\d+\.?\d*px/,H+"px")}else re==="lineDash"?(v.setLineDash(H),v.lineDashOffset=M[1]||0):re==="textBaseline"?(H==="normal"&&(M[0]="alphabetic"),v[re]=H):re==="font"?v.__font__=v.font=H:v[re]=H}else if(P==="fillPath"||P==="strokePath")P=P.replace(/Path/,""),v.beginPath(),M.forEach(function(J){v[J.method].apply(v,J.data)}),v[P]();else if(P==="fillText")v.fillText.apply(v,M);else if(P==="drawImage"){var le=function(){var J=[...M],ye=J[0],be=J.slice(1);if(a=a||{},l(ye,m.slice(C+1),x,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...be.slice(4,8)],[...be.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else P==="clip"?(M.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[P].apply(v,M)},y=0;y{p.src=y}).catch(()=>{p.src=c})}})}function l(_,x,m,b){var c=a[_];return c.ready?(b(c),!0):(i.unshift([x,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var p=v.shift();p;)s({actions:p[0],reserve:p[1]},m),p=v.shift()},!1)}function f(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,hidpi:E=!0,dataType:C,quality:O=1,type:P="png"}=_,M=t.value,H,re=M.offsetWidth-m;c=c?Math.min(c,re):re;var R=M.offsetHeight-b;v=v?Math.min(v,R):R,E?(p=c,y=v):!p&&!y?(p=Math.round(c*n.value),y=Math.round(v*n.value)):p?y||(y=Math.round(v/c*p)):p=Math.round(c/v*y);var B=Ld(p,y),X=B.getContext("2d");(P==="jpeg"||P==="jpg")&&(P="jpeg",X.fillStyle="#fff",X.fillRect(0,0,p,y)),X.__hidpi__=!0,X.drawImageByCanvas(M,m,b,c,v,0,0,p,y,!1);var Q;try{var V;if(C==="base64")H=B.toDataURL("image/".concat(P),O);else{var K=X.getImageData(0,0,p,y);H=id.deflateRaw(K.data,{to:"string"}),V=!0}Q={data:H,compressed:V,width:p,height:y}}catch(ae){Q={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(B.height=B.width=0,X.__hidpi__=!1,x)x(Q);else return Q}function d(_,x){var{data:m,x:b,y:c,width:v,height:p,compressed:y}=_;try{y&&(m=id.inflateRaw(m)),p||(p=Math.round(m.length/4/v));var E=Ld(v,p),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(m),v,p),0,0),t.value.getContext("2d").drawImage(E,b,c,v,p),E.height=E.width=0}catch(O){x({errMsg:"canvasPutImageData:fail"});return}x({errMsg:"canvasPutImageData:ok"})}function g(_,x){var{x:m=0,y:b=0,width:c,height:v,destWidth:p,destHeight:y,fileType:E,quality:C,dirname:O}=_,P=f({x:m,y:b,width:c,height:v,destWidth:p,destHeight:y,hidpi:!1,dataType:"base64",type:E,quality:C});if(!P.data||!P.data.length){x({errMsg:P.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Mb(P.data,O,(M,H)=>{var re="toTempFilePath:".concat(M?"fail":"ok");M&&(re+=" ".concat(M.message)),x({errMsg:re,tempFilePath:H})})}var h={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:g};function w(_,x,m){var b=h[_];_.indexOf("_")!==0&&typeof b=="function"&&b(x,m)}return ce(h,{_resize:o,_handleSubscribe:w})}var Pd=cn("ucg"),$x={name:{type:String,default:""}},Fx=ge({name:"CheckboxGroup",props:$x,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return zx(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function zx(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Pd,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(It,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Ux={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},Hx=ge({name:"Checkbox",props:Ux,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value);W([()=>e.checked,()=>e.value],l=>{var[f,d]=l;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=Wx(i,a,n),u=l=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(l))};return s&&(s.addHandler(u),Ae(()=>{s.removeHandler(u)})),Ln(e,{"label-click":u}),()=>{var l=oi(e,"disabled");return I("uni-checkbox",tt(l,{onClick:u}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?dn(vn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function Wx(e,t,r){var i=te(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Pd,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Qi,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Nd,ta,Nn,or,Dn,pl;$r(()=>{ta=plus.os.name==="Android",Nn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){or=e.height,Dn&&Dn()},!1);function Dd(){}function ra(e,t,r){$r(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=pl||o.getStyle()||{},u={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(u.mode===a){var l=t.getBoundingClientRect();u.position.top=l.top,u.position.height=l.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(u)})}function Vx(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}$r(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function jx(e){var t=e.softinputNavBar;t&&$r(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Bd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},$d=["keyboardheightchange"];function Fd(e,t,r){var i={};function a(n){var o,s=()=>{r("keyboardheightchange",{},{height:or,duration:.25}),o&&or===0&&ra(e,n),e.autoBlur&&o&&or===0&&(ta||parseInt(Nn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Nd),document.addEventListener("click",Dd,!1),Dn=s,or&&r("keyboardheightchange",{},{height:or,duration:0}),Vx(e,i),ra(e,n)}),ta&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&or===0&&ra(e,n)}),ta||(parseInt(Nn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ra(e,n)}),parseFloat(Nn)>=14.6&&!pl&&$r(()=>{var l=plus.webview.currentWebview();pl=l.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Dd,!1),Dn=null,or&&r("keyboardheightchange",{},{height:0,duration:0}),jx(i),ta&&(Nd=setTimeout(()=>{ra(e,n,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var zd=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Ud=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Yx=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,qx=si("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Xx=si("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"),Zx=si("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"),Kx=si("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Gx=si("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Jx=si("script,style");function Hd(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!Jx[n.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(f,d){return d=d.replace(/|/g,"$1$2"),t.chars&&t.chars(d),""}),l("",n.last());if(e==o)throw"Parse Error: "+e;o=e}l();function u(f,d,g,h){if(d=d.toLowerCase(),Xx[d])for(;n.last()&&Zx[n.last()];)l("",n.last());if(Kx[d]&&n.last()==d&&l("",d),h=qx[d]||!!h,h||n.push(d),t.start){var w=[];g.replace(Yx,function(_,x){var m=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Gx[x]?x:"";w.push({name:x,value:m,escaped:m.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,w,h)}}function l(f,d){if(d)for(var g=n.length-1;g>=0&&n[g]!=d;g--);else var g=0;if(g>=0){for(var h=n.length-1;h>=g;h--)t.end&&t.end(n[h]);n.length=g}}}function si(e){for(var t={},r=e.split(","),i=0;io()),delete ml[t]}}a.push(r)}function Qx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function ey(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ty(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ry(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function iy(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",u=super.create(s);return(o==="checked"||o==="unchecked")&&u.setAttribute("data-checked",o==="checked"),u}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=u=>{if(u.target.parentNode===o){var l=this.statics.formats(o),f=t.find(u.target);l==="checked"?f.format("list","unchecked"):l==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var u=s==null?this.length():s.offset(this),l=this.split(u);l.parent.insertBefore(o,l)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ay(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function ny(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Ge(s),i)}),o}function oy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Ge(o),i)}),n}function sy(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Ge(o),{scope:s})}),a}function ly(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&vt(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function uy(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function fy(e){var t={divider:Qx,ins:ey,align:ty,direction:ry,list:iy,background:ay,box:ny,font:oy,text:sy,image:ly,link:uy},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function cy(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,w=>{i&&(n.enable(!w),w||n.blur())}),W(()=>e.placeholder,w=>{i&&l(w)});function s(w){var _=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],x="",m;Hd(w,{start:function(c,v,p){if(!_.includes(c)){m=!p;return}m=!1;var y=v.map(C=>{var{name:O,value:P}=C;return"".concat(O,'="').concat(P,'"')}).join(" "),E="<".concat(c," ").concat(y," ").concat(p?"/":"",">");x+=E},end:function(c){m||(x+=""))},chars:function(c){m||(x+=c)}}),a=!0;var b=n.clipboard.convert(x);return a=!1,b}function u(){var w=n.root.innerHTML,_=n.getText(),x=n.getContents();return{html:w,text:_,delta:x}}function l(w){var _="data-placeholder",x=n.root;x.getAttribute(_)!==w&&x.setAttribute(_,w)}var f={};function d(w){var _=w?n.getFormat(w):{},x=Object.keys(_);(x.length!==Object.keys(f).length||x.find(m=>_[m]!==f[m]))&&(f=_,r("statuschange",{},_))}function g(w){var _=window.Quill;fy(_);var x={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};w.length&&(_.register("modules/ImageResize",window.ImageResize.default),x.modules={ImageResize:{modules:w}});var m=t.value;n=new _(m,x);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,p=>{var y=u();if(v==="input"){if(Cc().platform==="ios"){var E=(y.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;l(C)}p.stopPropagation()}else r(v,p,y)})}),n.on("text-change",()=>{o||r("input",{},u())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,p)=>(a||p.ops&&(p.ops=p.ops.filter(y=>{var{insert:E}=y;return typeof E=="string"}).map(y=>{var{insert:E}=y;return{insert:E}})),p)),i=!0,r("ready",{},{})}Re(()=>{var w=[];e.showImgSize&&w.push("DisplaySize"),e.showImgToolbar&&w.push("Toolbar"),e.showImgResize&&w.push("Resize");var _="./__uniappquill.js";Wd(window.Quill,_,()=>{if(w.length){var x="./__uniappquillimageresize.js";Wd(window.ImageResize,x,()=>{g(w)})}else g(w)})});var h=Yn();jn((w,_,x)=>{var{options:m,callbackId:b}=_,c,v,p;if(i){var y=window.Quill;switch(w){case"format":{var{name:E="",value:C=!1}=m;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var P=n.getFormat(v).align;C==="rtl"&&!P?n.format("align","right","user"):!C&&P==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var M=n.getFormat(v).direction==="rtl";C=C==="+1",M&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,mi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:H="",alt:re="",width:R="",height:B="",extClass:X="",data:Q={}}=m,V=vt(H);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",re),n.formatText(v.index,1,"width",R),n.formatText(v.index,1,"height",B),n.formatText(v.index,1,"class",X),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(Q).map(le=>"".concat(le,"=").concat(Q[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=m;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:oe}=m;typeof Te=="object"?n.setContents(Te,"silent"):typeof oe=="string"?n.setContents(s(oe),"silent"):p="contents is missing"}break;case"getContents":c=u();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var de=y.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{de.query(le,de.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else p="not ready";b&&x({callbackId:b,data:ce({},c,{errMsg:"".concat(w,":").concat(p?"fail "+p:"ok")})})},h,!0)}var vy=ce({},Bd,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),dy=ge({name:"Editor",props:vy,emit:["ready","focus","blur","input","statuschange",...$d],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r);return cy(e,i,a),Fd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Vd="#10aeff",hy="#f76260",jd="#b2b2b2",gy="#f43530",py={success:{d:ab,c:Pa},success_no_circle:{d:vn,c:Pa},info:{d:rb,c:Vd},warn:{d:ob,c:hy},waiting:{d:nb,c:Vd},cancel:{d:Q_,c:gy},download:{d:tb,c:Pa},search:{d:ib,c:jd},clear:{d:eb,c:jd}},my=ge({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=te(()=>py[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&dn(r.d,e.color||r.c,_r(e.size))])}}}),_y={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Bn={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},by={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"]},wy=ge({name:"Image",props:_y,setup(e,t){var{emit:r}=t,i=U(null),a=xy(i,e),n=Pe(i,r),{fixSize:o}=Ty(i,e,a);return yy(a,o,n),()=>{var{mode:s}=e,{imgSrc:u,modeStyle:l,src:f}=a,d;return d=u?I("img",{src:u,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:l},null,4),d,Bn[s]?I(Ir,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function xy(e,t){var r=U(""),i=te(()=>{var n="auto",o="",s=by[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:te(()=>t.src?vt(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function yy(e,t,r){var i,a=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=s,e.origHeight=u,e.imgSrc=l},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=u=>{var{width:l,height:f}=i;a(l,f,s),t(),o(),r("load",u,{width:l,height:f})},i.onerror=u=>{a(),o(),r("error",u,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ae(()=>o())}var Sy=navigator.vendor==="Google Inc.";function Ey(e){return Sy&&e>10&&(e=Math.round(e/2)*2),e}function Ty(e,t,r){var i=()=>{var{mode:n}=t,o=Bn[n];if(!!o){var{origWidth:s,origHeight:u}=r,l=s&&u?s/u:0;if(!!l){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Ey(o[2](d,l))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{Bn[o]&&a(),Bn[n]&&i()}),{fixSize:i,resetSize:a}}function Cy(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),u=0;u{a=null,r=l,e.apply(this,s)},l-r$n.forEach(t=>t.userAction=e);function Ay(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!Yd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!_l&&qd(!0),_l++,setTimeout(()=>{!--_l&&qd(!1)},0)},Oy)}),Yd=!0}$n.push(e)}function Iy(e){var t=$n.indexOf(e);t>=0&&$n.splice(t,1)}function ky(){var e=ke({userAction:!1});return Re(()=>{Ay(e)}),Ae(()=>{Iy(e)}),{state:e}}function Xd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function My(e,t){var r=_e(It,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ae(()=>{r.removeField(a)})}}function Ry(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var Ly=function(){bt(Gt(),"getSelectedTextRange",Ry)},Py=200,bl;function wl(e){return e===null?"":String(e)}var Zd=ce({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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}},Bd),Kd=["input","focus","blur","update:value","update:modelValue","update:focus",...$d];function Ny(e,t,r){var i=U(null),a=Pe(t,r),n=te(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=te(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=te(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),u=te(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),l=wl(e.modelValue)||wl(e.value),f=ke({value:l,valueOrigin:l,maxlength:u,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function Dy(e,t,r,i){var a=am(s=>{t.value=wl(s)},100);W(()=>e.modelValue,a),W(()=>e.value,a);var n=Cy((s,u)=>{a.cancel(),r("update:modelValue",u.value),r("update:value",u.value),i("input",s,u)},100),o=(s,u,l)=>{a.cancel(),n(s,u),l&&n.flush()};return kf(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function By(e,t){var{state:r}=ky(),i=te(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Py-(Date.now()-bl);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Re(()=>{bl=bl||Date.now(),i.value&&Vr(a)})}function $y(e,t,r,i,a){function n(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&l.type!=="number"&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function o(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&l.type!=="number"&&(l.selectionEnd=l.selectionStart=t.cursor)}function s(l){return l.type==="number"?null:l.selectionEnd}function u(){var l=e.value,f=function(h){t.focus=!0,r("focus",h,{value:t.value}),n(),o()},d=function(h,w){h.stopPropagation(),!(typeof a=="function"&&a(h,t)===!1)&&(t.value=l.value,t.composing||i(h,{value:l.value,cursor:s(l)},w))},g=function(h){t.composing&&(t.composing=!1,d(h,!0)),t.focus=!1,r("blur",h,{value:t.value,cursor:s(h.target)})};l.addEventListener("change",h=>h.stopPropagation()),l.addEventListener("focus",f),l.addEventListener("blur",g),l.addEventListener("input",d),l.addEventListener("compositionstart",h=>{h.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",h=>{h.stopPropagation(),t.composing&&(t.composing=!1,d(h))})}W([()=>t.selectionStart,()=>t.selectionEnd],n),W(()=>t.cursor,o),W(()=>e.value,u)}function Gd(e,t,r,i){Ly();var{fieldRef:a,state:n,trigger:o}=Ny(e,t,r),{triggerInput:s}=Dy(e,n,r,o);By(e,a),Fd(e,a,o);var{state:u}=Xd();My("name",n),$y(a,n,o,s,i);var l=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:u,fixDisabledColor:l,trigger:o}}var Fy=ce({},Zd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),zy=ge({name:"Input",props:Fy,emits:["confirm",...Kd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=te(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=te(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Ge(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=U(""),u,l=U(null),{fieldRef:f,state:d,scopedAttrsState:g,fixDisabledColor:h,trigger:w}=Gd(e,l,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(u&&(v.removeEventListener("blur",u),u=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",u=()=>{s.value=v.value=""},v.addEventListener("blur",u),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var p=c.maxlength;if(p>0&&v.value.length>p)return v.value=v.value.slice(0,p),c.value=v.value,!1}}),_=["number","digit"],x=te(()=>_.includes(e.type)?"0.000000000000000001":"");function m(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),w("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&h?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:x.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:l},[I("div",{class:"uni-input-wrapper"},[ki(I("div",tt(g.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pi,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Uy(e){return Object.keys(e).map(t=>[t,e[t]])}var Hy=["class","style"],Wy=/^on[A-Z]+/,Jd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=Jo({}),n=Jo({}),o=Jo({}),s=r.concat(Hy);return i.attrs=ke(i.attrs),R0(()=>{var u=Uy(i.attrs).reduce((l,f)=>{var[d,g]=f;return s.includes(d)?l.exclude[d]=g:Wy.test(d)?(t||(l.attrs[d]=g),l.listeners[d]=g):l.attrs[d]=g,l},{exclude:{},attrs:{},listeners:{}});a.value=u.attrs,n.value=u.listeners,o.value=u.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Fn,ia;function zn(){$r(()=>{Fn||(Fn=plus.webview.currentWebview()),ia||(ia=(Fn.getStyle()||{}).pullToRefresh||{})})}function sr(e){var{disable:t}=e;ia&&ia.support&&Fn.setPullToRefresh(Object.assign({},ia,{support:!t}))}function xl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Qa(r)?r.type===xt?t.push(...xl(r.children)):t.push(r):Array.isArray(r)&&t.push(...xl(r))}),t}function aa(e){var t=Dt();t.rebuild=e}var Vy={scaleArea:{type:Boolean,default:!1}},jy=ge({inheritAttrs:!1,name:"MovableArea",props:Vy,setup(e,t){var{slots:r}=t,i=U(null),a=U(!1),{setContexts:n,events:o}=Yy(e,i),{$listeners:s,$attrs:u,$excludeAttrs:l}=Jd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(m=>{var b=f[m],c=o["_".concat(m)];f[m]=b?[].concat(b,c):c}),Re(()=>{o._resize(),zn(),a.value=!0});var g=[],h=[];function w(){for(var m=[],b=function(v){var p=g[v];p instanceof Element||(p=p.el);var y=h.find(E=>p===E.rootRef.value);y&&m.push(qa(y))},c=0;c{g=i.value.children,w()});var _=m=>{h.push(m),w()},x=m=>{var b=h.indexOf(m);b>=0&&(h.splice(b,1),w())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",_),ze("removeMovableViewContext",x),()=>(r.default&&r.default(),I("uni-movable-area",tt({ref:i},u.value,l.value,f),[I(Ir,{onReize:o._resize},null,8,["onReize"]),g],16))}});function Qd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Yy(e,t){var r=U(0),i=U(0),a=ke({x:null,y:null}),n=U(null),o=null,s=[];function u(_){_&&_!==1&&(e.scaleArea?s.forEach(function(x){x._setScale(_)}):o&&o._setScale(_))}function l(_){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,m=t.value;function b(c){for(var v=0;v{sr({disable:!0});var x=_.touches;if(x&&x.length>1){var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(n.value=Qd(m),a.x=m.x,a.y=m.y,!e.scaleArea){var b=l(x[0].target),c=l(x[1].target);o=b&&b===c?b:null}}}),d=Ar(_=>{var x=_.touches;if(x&&x.length>1){_.preventDefault();var m={x:x[1].pageX-x[0].pageX,y:x[1].pageY-x[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Qd(m)/n.value;u(b)}a.x=m.x,a.y=m.y}}),g=Ar(_=>{sr({disable:!1});var x=_.touches;x&&x.length||_.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(m){m._endScale()}):o&&o._endScale())});function h(){w(),s.forEach(function(_,x){_.setParent()})}function w(){var _=window.getComputedStyle(t.value),x=t.value.getBoundingClientRect();r.value=x.width-["Left","Right"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0),i.value=x.height-["Top","Bottom"].reduce(function(m,b){var c="border"+b+"Width",v="padding"+b;return m+parseFloat(_[c])+parseFloat(_[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(_){s=_},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:g,_resize:h}}}var na=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable!="undefined"?a.cancelable:!0)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},eh,th;function Un(e,t,r){Ae(()=>{document.removeEventListener("mousemove",eh),document.removeEventListener("mouseup",th)});var i=0,a=0,n=0,o=0,s=function(h,w,_,x){if(t({target:h.target,currentTarget:h.currentTarget,preventDefault:h.preventDefault.bind(h),stopPropagation:h.stopPropagation.bind(h),touches:h.touches,changedTouches:h.changedTouches,detail:{state:w,x:_,y:x,dx:_-i,dy:x-a,ddx:_-n,ddy:x-o,timeStamp:h.timeStamp}})===!1)return!1},u=null,l,f;na(e,"touchstart",function(h){if(l=!0,h.touches.length===1&&!u)return u=h,i=n=h.touches[0].pageX,a=o=h.touches[0].pageY,s(h,"start",i,a)}),na(e,"mousedown",function(h){if(f=!0,!l&&!u)return u=h,i=n=h.pageX,a=o=h.pageY,s(h,"start",i,a)}),na(e,"touchmove",function(h){if(h.touches.length===1&&u){var w=s(h,"move",h.touches[0].pageX,h.touches[0].pageY);return n=h.touches[0].pageX,o=h.touches[0].pageY,w}});var d=eh=function(h){if(!l&&f&&u){var w=s(h,"move",h.pageX,h.pageY);return n=h.pageX,o=h.pageY,w}};document.addEventListener("mousemove",d),na(e,"touchend",function(h){if(h.touches.length===0&&u)return l=!1,u=null,s(h,"end",h.changedTouches[0].pageX,h.changedTouches[0].pageY)});var g=th=function(h){if(f=!1,!l&&u)return u=null,s(h,"end",h.pageX,h.pageY)};document.addEventListener("mouseup",g),na(e,"touchcancel",function(h){if(u){l=!1;var w=u;return u=null,s(h,r?"cancel":"end",w.touches[0].pageX,w.touches[0].pageY)}})}function Hn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},kt.prototype.ds=function(e){return e===void 0&&(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}},kt.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}},kt.prototype.dt=function(){return-this._x_v/this._x_a},kt.prototype.done=function(){var e=Hn(this.s().x,this._endPositionX)||Hn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},kt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},kt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function it(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}it.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,u=t/(o*e);return{x:function(m){return(s+u*m)*Math.pow(Math.E,o*m)},dx:function(m){var b=Math.pow(Math.E,o*m);return o*(s+u*m)*b+u*b}}}if(n>0){var l=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-l*e)/(f-l),g=e-d;return{x:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*b+d*c},dx:function(m){var b,c;return m===this._t&&(b=this._powER1T,c=this._powER2T),this._t=m,b||(b=this._powER1T=Math.pow(Math.E,l*m)),c||(c=this._powER2T=Math.pow(Math.E,f*m)),g*l*b+d*f*c}}}var h=Math.sqrt(4*i*a-r*r)/(2*i),w=-r/2*i,_=e,x=(t-w*e)/h;return{x:function(m){return Math.pow(Math.E,w*m)*(_*Math.cos(h*m)+x*Math.sin(h*m))},dx:function(m){var b=Math.pow(Math.E,w*m),c=Math.cos(h*m),v=Math.sin(h*m);return b*(x*h*c-_*h*v)+w*b*(x*v+_*c)}}},it.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},it.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},it.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!kr(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(kr(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),kr(t,.1)&&(t=0),kr(i,.1)&&(i=0),i+=this._endPosition),this._solution&&kr(i-e,.1)&&kr(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},it.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},it.prototype.done=function(e){return e||(e=new Date().getTime()),Hn(this.x(),this._endPosition,.1)&&kr(this.dx(),.1)},it.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},it.prototype.springConstant=function(){return this._k},it.prototype.damping=function(){return this._c},it.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function oa(e,t,r){this._springX=new it(e,t,r),this._springY=new it(e,t,r),this._springScale=new it(e,t,r),this._startTime=0}oa.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},oa.prototype.x=function(){var e=(new Date().getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},oa.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},oa.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var qy={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}};function rh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var Xy=ge({name:"MovableView",props:qy,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),{setParent:o}=Zy(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Ir,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Sl=!1;function ih(e){Sl||(Sl=!0,requestAnimationFrame(function(){e(),Sl=!1}))}function ah(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=ah(e.offsetParent,t):0}function nh(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=nh(e.offsetParent,t):0}function oh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,u,l))),f&&l&&l(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function Wn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Zy(e,t,r){var i=_e("movableAreaWidth",U(0)),a=_e("movableAreaHeight",U(0)),n=_e("_isMounted",U(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),u=_e("removeMovableViewContext",()=>{}),l=U(Wn(e.x)),f=U(Wn(e.y)),d=U(Number(e.scaleValue)||1),g=U(0),h=U(0),w=U(0),_=U(0),x=U(0),m=U(0),b=null,c=null,v={x:0,y:0},p={x:0,y:0},y=1,E=1,C=0,O=0,P=!1,M=!1,H,re,R=null,B=null,X=new yl,Q=new yl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=te(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=te(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=te(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),oe=te(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),de=te(()=>e.direction==="all"||e.direction==="horizontal"),le=te(()=>e.direction==="all"||e.direction==="vertical"),J=new oa(1,9*Math.pow(K.value,2)/40,K.value),ye=new kt(1,ae.value);W(()=>e.x,A=>{l.value=Wn(A)}),W(()=>e.y,A=>{f.value=Wn(A)}),W(l,A=>{Ve(A)}),W(f,A=>{lr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{fa(A)}),W(Te,()=>{Ne()}),W(oe,()=>{Ne()});function be(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(de.value){if(A+p.x===C)return C;b&&b.cancel(),ee(A+p.x,f.value+p.y,y)}return A}function lr(A){if(le.value){if(A+p.y===O)return O;b&&b.cancel(),ee(l.value+p.x,A+p.y,y)}return A}function Ne(){if(!e.scale)return!1;$(y,!0),z(y)}function fa(A){return e.scale?(A=D(A),$(A,!0),z(A),A):!1}function ca(){P||e.disabled||(sr({disable:!0}),be(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],de.value&&(H=C),le.value&&(re=O),r.value.style.willChange="transform",R=null,B=null,M=!0)}function S(A){if(!P&&!e.disabled&&M){var Y=C,q=O;if(B===null&&(B=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),de.value&&(Y=A.detail.dx+H,V.historyX.shift(),V.historyX.push(Y),!le.value&&R===null&&(R=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(q=A.detail.dy+re,V.historyY.shift(),V.historyY.push(q),!de.value&&R===null&&(R=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!R){A.preventDefault();var he="touch";Yx.value&&(e.outOfBounds?(he="touch-out-of-bounds",Y=x.value+X.x(Y-x.value)):Y=x.value),q<_.value?e.outOfBounds?(he="touch-out-of-bounds",q=_.value-Q.x(_.value-q)):q=_.value:q>m.value&&(e.outOfBounds?(he="touch-out-of-bounds",q=m.value+Q.x(q-m.value)):q=m.value),ih(function(){Z(Y,q,y,he)})}}}function T(){if(!P&&!e.disabled&&M&&(sr({disable:!1}),r.value.style.willChange="auto",M=!1,!R&&!G("out-of-bounds")&&e.inertia)){var A=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);ye.setV(A,Y),ye.setS(C,O);var q=ye.delta().x,he=ye.delta().y,ue=q+C,$e=he+O;uex.value&&(ue=x.value,$e=O+(x.value-C)*he/q),$e<_.value?($e=_.value,ue=C+(_.value-O)*q/he):$e>m.value&&($e=m.value,ue=C+(m.value-O)*q/he),ye.setEnd(ue,$e),c=oh(ye,function(){var Ke=ye.s(),De=Ke.x,gt=Ke.y;Z(De,gt,y,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&be()}function k(A,Y){var q=!1;return A>x.value?(A=x.value,q=!0):Am.value?(Y=m.value,q=!0):Y<_.value&&(Y=_.value,q=!0),{x:A,y:Y,outOfBounds:q}}function L(){v.x=ah(r.value,o.value),v.y=nh(r.value,o.value)}function N(A){A=A||y,A=D(A);var Y=r.value.getBoundingClientRect();h.value=Y.height/y,g.value=Y.width/y;var q=h.value*A,he=g.value*A;p.x=(he-g.value)/2,p.y=(q-h.value)/2}function F(){var A=0-v.x+p.x,Y=i.value-g.value-v.x-p.x;w.value=Math.min(A,Y),x.value=Math.max(A,Y);var q=0-v.y+p.y,he=a.value-h.value-v.y-p.y;_.value=Math.min(q,he),m.value=Math.max(q,he)}function j(){P=!0}function $(A,Y){if(e.scale){A=D(A),N(A),F();var q=k(C,O),he=q.x,ue=q.y;Y?ee(he,ue,A,"",!0,!0):ih(function(){Z(he,ue,A,"",!0,!0)})}}function z(A){E=A}function D(A){return A=Math.max(.5,Te.value,A),A=Math.min(10,oe.value,A),A}function ee(A,Y,q,he,ue,$e){be(),de.value||(A=C),le.value||(Y=O),e.scale||(q=y);var Ke=k(A,Y);if(A=Ke.x,Y=Ke.y,!e.animation){Z(A,Y,q,he,ue,$e);return}J._springX._solution=null,J._springY._solution=null,J._springScale._solution=null,J._springX._endPosition=C,J._springY._endPosition=O,J._springScale._endPosition=y,J.setEnd(A,Y,q,1),b=oh(J,function(){var De=J.x(),gt=De.x,ur=De.y,Mt=De.scale;Z(gt,ur,Mt,he,ue,$e)},function(){b.cancel()})}function G(A){var Y=k(C,O),q=Y.x,he=Y.y,ue=Y.outOfBounds;return ue&&ee(q,he,y,A),ue}function Z(A,Y,q){var he=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,$e=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),q=Number(q.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:rh(A,p.x),y:rh(Y,p.y),source:he}),e.scale||(q=y),q=D(q),q=+q.toFixed(3),$e&&q!==y&&t("scale",{},{x:A,y:Y,scale:q});var Ke="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+q+")";r.value.style.transform=Ke,r.value.style.webkitTransform=Ke,C=A,O=Y,y=q}function fe(){if(!!n.value){be();var A=e.scale?d.value:1;L(),N(A),F(),C=l.value+p.x,O=f.value+p.y;var Y=k(C,O),q=Y.x,he=Y.y;Z(q,he,A,"",!0),z(A)}}function Be(){P=!1,z(y)}function Oe(A){A&&(A=E*A,j(),$(A))}return Re(()=>{Un(r.value,Y=>{switch(Y.detail.state){case"start":ca();break;case"move":S(Y);break;case"end":T()}}),fe(),ye.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",zn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Oe};s(A),Zt(()=>{u(A)})}),Zt(()=>{be()}),{setParent:fe}}var Ky=["navigate","redirect","switchTab","reLaunch","navigateBack"],Gy={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Ky.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}};function Jy(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta});break}}}var Qy=ge({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Gy,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.root.type.__scopeId||"",{hovering:n,binding:o}=gl(e),s=Jy(e);return()=>{var{hoverClass:u,url:l}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:l,onClick:vc},[I("uni-navigator",tt({class:f&&n.value?u:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),eS={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function tS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var rS=ge({name:"PickerView",props:eS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=Pe(a,i),s=tS(e),u=U(null),l=()=>{var w=u.value;s.height=w.$el.offsetHeight},f=U([]),d=U([]);function g(w){var _=d.value;if(_ instanceof HTMLCollection)return Array.prototype.indexOf.call(_,w.el);_=_.filter(m=>m.type!==jr);var x=_.indexOf(w);return x!==-1?x:f.value.indexOf(w)}var h=function(w){var _=te({get(){var x=g(w.vnode);return s.value[x]||0},set(x){var m=g(w.vnode);if(!(m<0)){var b=s.value[m];if(b!==x){s.value[m]=x;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return _};return ze("getPickerViewColumn",h),ze("pickerViewProps",e),ze("pickerViewState",s),aa(()=>{l(),d.value=n.value.children}),()=>{var w=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Ir,{ref:u,onResize:_=>{var{height:x}=_;return s.height=x}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[w],512)],512)}}});class sh{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function lh(e,t,r){return e>t-r&&e0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),g=(r-f*t)/(d-f),h=t-g;return{x:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*c+g*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),h*f*c+g*d*v}}}var w=Math.sqrt(4*a*n-i*i)/(2*a),_=-i/2*a,x=t,m=(r-_*t)/w;return{x:function(b){return Math.pow(Math.E,_*b)*(x*Math.cos(w*b)+m*Math.sin(w*b))},dx:function(b){var c=Math.pow(Math.E,_*b),v=Math.cos(w*b),p=Math.sin(w*b);return c*(m*w*v-x*w*p)+_*c*(m*p+x*v)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!Mr(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Mr(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Mr(r,.4)&&(r=0),Mr(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Mr(a-t,.4)&&Mr(r,.4)||(this._endPosition=t,this._solution=this._solve(a-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),lh(this.x(),this._endPosition,.4)&&Mr(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,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(){function t(i,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class iS{constructor(t,r,i){this._extent=t,this._friction=r||new sh(.01),this._spring=i||new uh(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function aS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,u,l){if(!o||!o.cancelled){u(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,u,l))),f&&l&&l(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class nS{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new iS(this._extent,r.friction,r.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(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}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=aS(this._scroll,()=>{var s=Date.now(),u=(s-this._scroll._startTime)/1e3,l=this._scroll.x(u);this._position=l,this.updatePosition();var f=this._scroll.dx(u);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,this.updatePosition()),typeof this._options.onSnap=="function"&&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(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}}update(t,r,i){var a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function oS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new nS(e,t);function a(u){var l=u,f=u;return l.detail.state==="move"||l.detail.state==="end"?{x:l.detail.dx,y:l.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(u){var l=u,f=u;l.detail.state==="start"?(r.trackingID="touch",r.x=l.detail.x,r.y=l.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[l.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),u.preventDefault()}function o(u){var l=u,f=u;if(r.trackingID!==-1){u.preventDefault();var d=a(u);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.y),r.historyTime.push(l.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(d.x,d.y)}}}function s(u){if(r.trackingID!==-1){u.preventDefault();var l=a(u);if(l){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,g={x:0,y:0};if(d>2)for(var h=r.historyTime.length-1,w=r.historyTime[h],_=r.historyX[h],x=r.historyY[h];h>0;){h--;var m=r.historyTime[h],b=w-m;if(b>30&&b<50){g.x=(_-r.historyX[h])/(b/1e3),g.y=(x-r.historyY[h])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(l.x,l.y,g)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var sS=0;function lS(e){var t="uni-picker-view-content-".concat(sS++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return W(()=>e.value,r),t}function uS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r){s[l]=n[l]}),a.target.dispatchEvent(s)}})}var fS=ge({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=U(null),o=_e("getPickerViewColumn"),s=Dt(),u=o?o(s):U(0),l=_e("pickerViewProps"),f=_e("pickerViewState"),d=U(34),g=U(null),h=()=>{var O=g.value;d.value=O.$el.offsetHeight},w=te(()=>(f.height-d.value)/2),{state:_}=Xd(),x=lS(d),m,b=ke({current:u.value,length:0}),c;function v(){m&&!c&&(c=!0,Vr(()=>{c=!1;var O=Math.min(b.current,b.length-1);O=Math.max(O,0),m.update(O*d.value,void 0,d.value)}))}W(()=>u.value,O=>{O!==b.current&&(b.current=O,v())}),W(()=>b.current,O=>u.value=O),W([()=>d.value,()=>b.length,()=>f.height],v);var p=0;function y(O){var P=p+O.deltaY;if(Math.abs(P)>10){p=0;var M=Math.min(b.current+(P<0?-1:1),b.length-1);b.current=M=Math.max(M,0),m.scrollTo(M*d.value)}else p=P;O.preventDefault()}function E(O){var{clientY:P}=O,M=a.value;if(!m.isScrolling()){var H=M.getBoundingClientRect(),re=P-H.top-f.height/2,R=d.value/2;if(!(Math.abs(re)<=R)){var B=Math.ceil((Math.abs(re)-R)/d.value),X=re<0?-B:B,Q=Math.min(b.current+X,b.length-1);b.current=Q=Math.max(Q,0),m.scrollTo(Q*d.value)}}}var C=()=>{var O=a.value,P=n.value,{scroller:M,handleTouchStart:H,handleTouchMove:re,handleTouchEnd:R}=oS(P,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new sh(1e-4),spring:new uh(2,90,20),onSnap:B=>{!isNaN(B)&&B!==b.current&&(b.current=B)}});m=M,Un(O,B=>{switch(B.detail.state){case"start":H(B),sr({disable:!0});break;case"move":re(B),B.stopPropagation();break;case"end":case"cancel":R(B),sr({disable:!1})}},!0),uS(O),zn(),v()};return aa(()=>{b.length=n.value.children.length,h(),C()}),()=>{var O=r.default&&r.default(),P="".concat(w.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:y,onClick:E,class:"uni-picker-view-group"},[I("div",tt(_.attrs,{class:["uni-picker-view-mask",l.maskClass],style:"background-size: 100% ".concat(w.value,"px;").concat(l.maskStyle)}),null,16),I("div",tt(_.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[I(Ir,{ref:g,onResize:M=>{var{height:H}=M;return d.value=H}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",x],style:{padding:P}},[O],6)],40,["onWheel","onClick"])],512)}}}),Rr={activeColor:Pa,backgroundColor:"#EBEBEB",activeMode:"backwards"},cS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Rr.activeColor},activeColor:{type:String,default:Rr.activeColor},backgroundColor:{type:String,default:Rr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Rr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},vS=ge({name:"Progress",props:cS,setup(e){var t=dS(e);return fh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,fh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function dS(e){var t=U(0),r=te(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=te(()=>{var o=e.color!==Rr.activeColor&&e.activeColor===Rr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=te(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function fh(e,t){t.active?(e.currentPercent=t.activeMode===Rr.activeMode?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}var ch=cn("ucg"),hS={name:{type:String,default:""}},gS=ge({name:"RadioGroup",props:hS,setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=Pe(a,r);return pS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function pS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var u;return(u=r.find(l=>l.value.radioChecked))===null||u===void 0?void 0:u.value.value};ze(ch,{addField(u){r.push(u)},removeField(u){r.splice(r.indexOf(u),1)},radioChange(u,l){var f=r.indexOf(l);s(f,!0),t("change",u,{value:i()})}});var a=_e(It,!1),n={submit:()=>{var u=["",null];return e.name!==""&&(u[0]=e.name,u[1]=i()),u}};a&&(a.addField(n),Ae(()=>{a.removeField(n)}));function o(u,l){u.value={radioChecked:l,value:u.value.value}}function s(u,l){r.forEach((f,d)=>{d!==u&&(l?o(r[d],!1):r.forEach((g,h)=>{d>=h||r[h].value.radioChecked&&o(r[d],!1)}))})}return r}var mS={checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},_S=ge({name:"Radio",props:mS,setup(e,t){var{slots:r}=t,i=U(e.checked),a=U(e.value),n=te(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[g,h]=d;i.value=g,a.value=h});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:u,field:l}=bS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,l))};return u&&(u.addHandler(f),Ae(()=>{u.removeHandler(f)})),Ln(e,{"label-click":f}),()=>{var d=oi(e,"disabled");return I("uni-radio",tt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?dn(vn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function bS(e,t,r){var i=te({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:u=>{var{radioChecked:l}=u;e.value=l}}),a={reset:r},n=_e(ch,!1);n&&n.addField(i);var o=_e(It,!1);o&&o.addField(a);var s=_e(Qi,!1);return Ae(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}function wS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function xS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&a!=="style"&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function yS(e){e=wS(e);var t=[],r={node:"root",children:[]};return Hd(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=xS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var vh={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:""},El={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function SS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(El,r)&&El[r])return El[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function ES(e,t,r){return e==="img"&&t==="src"?vt(r):r}function dh(e,t,r,i){return e.forEach(function(a){if(!!mt(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(vh,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(mt(s)){var u=vh[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:u.indexOf(f)!==-1&&o.setAttribute(f,ES(n,f,d))}})}TS(a,o,i);var l=a.children;Array.isArray(l)&&l.length&&dh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(SS(a.text)))}),t}function TS(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var CS={nodes:{type:[Array,String],default:function(){return[]}}},OS=ge({name:"RichText",compatConfig:{MODE:3},props:CS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Dt(),n=U(null),o=Pe(n,r),s=!!i.onItemclick;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function l(f){typeof f=="string"&&(f=yS(f));var d=dh(f,document.createDocumentFragment(),(a&&a.root.type).__scopeId||"",s&&u);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{l(f)}),Re(()=>{l(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),hh=_i(!0),AS={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},IS=ge({name:"ScrollView",compatConfig:{MODE:3},props:AS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=U(null),n=U(null),o=U(null),s=U(null),u=U(null),l=Pe(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:g}=kS(e);MS(e,f,d,g,l,a,n,s,r);var h=te(()=>{var w="";return e.scrollX?w+="overflow-x:auto;":w+="overflow-x:hidden;",e.scrollY?w+="overflow-y:auto;":w+="overflow-y:hidden;",w});return()=>{var{refresherEnabled:w,refresherBackground:_,refresherDefaultStyle:x}=e,{refresherHeight:m,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:h.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[w?I("div",{ref:u,style:{backgroundColor:_,height:m+"px"},class:"uni-scroll-view-refresher"},[x!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,b=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,x=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function kS(e){var t=te(()=>Number(e.scrollTop)||0),r=te(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function MS(e,t,r,i,a,n,o,s,u){var l=!1,f=0,d=!1,g=()=>{},h=te(()=>{var y=Number(e.upperThreshold);return isNaN(y)?50:y}),w=te(()=>{var y=Number(e.lowerThreshold);return isNaN(y)?50:y});function _(y,E){var C=o.value,O=0,P="";if(y<0?y=0:E==="x"&&y>C.scrollWidth-C.offsetWidth?y=C.scrollWidth-C.offsetWidth:E==="y"&&y>C.scrollHeight-C.offsetHeight&&(y=C.scrollHeight-C.offsetHeight),E==="x"?O=C.scrollLeft-y:E==="y"&&(O=C.scrollTop-y),O!==0){var M=s.value;M.style.transition="transform .3s ease-out",M.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?P="translateX("+O+"px) translateZ(0)":E==="y"&&(P="translateY("+O+"px) translateZ(0)"),M.removeEventListener("transitionend",g),M.removeEventListener("webkitTransitionEnd",g),g=()=>v(y,E),M.addEventListener("transitionend",g),M.addEventListener("webkitTransitionEnd",g),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),M.style.transform=P,M.style.webkitTransform=P}}function x(y){var E=y.target;a("scroll",y,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=h.value&&t.lastScrollTop-E.scrollTop>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"top"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollTop+E.offsetHeight+w.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"bottom"}),t.lastScrollToLowerTime=y.timeStamp)),e.scrollX&&(E.scrollLeft<=h.value&&t.lastScrollLeft-E.scrollLeft>0&&y.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",y,{direction:"left"}),t.lastScrollToUpperTime=y.timeStamp),E.scrollLeft+E.offsetWidth+w.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&y.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",y,{direction:"right"}),t.lastScrollToLowerTime=y.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function m(y){e.scrollY&&(e.scrollWithAnimation?_(y,"y"):o.value.scrollTop=y)}function b(y){e.scrollX&&(e.scrollWithAnimation?_(y,"x"):o.value.scrollLeft=y)}function c(y){if(y){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(y)){console.error("id error: scroll-into-view=".concat(y));return}var E=n.value.querySelector("#"+y);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var P=O.left-C.left,M=o.value.scrollLeft,H=M+P;e.scrollWithAnimation?_(H,"x"):o.value.scrollLeft=H}if(e.scrollY){var re=O.top-C.top,R=o.value.scrollTop,B=R+re;e.scrollWithAnimation?_(B,"y"):o.value.scrollTop=B}}}}function v(y,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=y):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=y),s.value.removeEventListener("transitionend",g),s.value.removeEventListener("webkitTransitionEnd",g)}function p(y){switch(y){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,a("refresherrefresh",{},{}),u("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=f=0,y==="restore"&&(d=!1,a("refresherrestore",{},{})),y==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=y}Re(()=>{Vr(()=>{m(r.value),b(i.value)}),c(e.scrollIntoView);var y=function(H){H.preventDefault(),H.stopPropagation(),x(H)},E={x:0,y:0},C=null,O=function(H){if(E!==null){var re=H.touches[0].pageX,R=H.touches[0].pageY,B=o.value;if(Math.abs(re-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&re>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&reE.y)C=!1,e.refresherEnabled&&H.cancelable!==!1&&H.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(d=!0,a("refresherpulling",H,{deltaY:X})));var Q=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(Q>1?1:Q)*360}}},P=function(H){H.touches.length===1&&(sr({disable:!0}),E={x:H.touches[0].pageX,y:H.touches[0].pageY})},M=function(H){E=null,sr({disable:!1}),t.refresherHeight>=e.refresherThreshold?p("refreshing"):p("refresherabort")};o.value.addEventListener("touchstart",P,hh),o.value.addEventListener("touchmove",O,_i(!1)),o.value.addEventListener("scroll",y,_i(!1)),o.value.addEventListener("touchend",M,hh),zn(),Ae(()=>{o.value.removeEventListener("touchstart",P),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",y),o.value.removeEventListener("touchend",M)})}),ss(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,y=>{m(y)}),W(i,y=>{b(y)}),W(()=>e.scrollIntoView,y=>{c(y)}),W(()=>e.refresherTriggered,y=>{y===!0?p("refreshing"):y===!1&&p("restore")})}var RS={name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},LS=ge({name:"Slider",props:RS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=U(null),o=U(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Pe(i,r),u=PS(e,o),{_onClick:l,_onTrack:f}=NS(e,o,i,a,s);return Re(()=>{Un(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:g,setActiveColor:h,setBlockStyle:w}=u;return I("uni-slider",{ref:i,onClick:Ar(l)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:g.value,class:"uni-slider-handle"},null,4),I("div",{style:w.value,class:"uni-slider-thumb"},null,4),I("div",{style:h.value,class:"uni-slider-track"},null,4)],4)]),ki(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Pi,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function PS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:te(()=>({backgroundColor:i()})),setBlockBg:te(()=>({left:r()})),setActiveColor:te(()=>({backgroundColor:a(),width:r()})),setBlockStyle:te(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function NS(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var g=Number(e.max),h=Number(e.min),w=Number(e.step);return dg?g:DS.mul.call(Math.round((d-h)/w),w)+h},s=d=>{var g=Number(e.max),h=Number(e.min),w=i.value,_=getComputedStyle(w,null).marginLeft,x=w.offsetWidth;x=x+parseInt(_);var m=r.value,b=m.offsetWidth-(e.showValue?x:0),c=m.getBoundingClientRect().left,v=(d.x-c)*(g-h)/b+h;t.value=o(v)},u=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},l=_e(It,!1);if(l){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};l.addField(f),Ae(()=>{l.removeField(f)})}return{_onClick:n,_onTrack:u}}var DS={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},BS={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}};function $S(e){var t=te(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=te(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=te(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function FS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,u=!0,l=0,f=1,d=null,g=!1,h=0,w,_="",x,m=te(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(R){if(!u)for(var B=r.value,X=B.length,Q=R+t.displayMultipleItems,V=0;V=K.length&&(R-=K.length),R=w%1>.5||w<0?R-1:R,n("transition",{},{dx:e.vertical?0:R*V.offsetWidth,dy:e.vertical?R*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function p(R){var B=r.value.length;if(!B)return-1;var X=(Math.round(R)%B+B)%B;if(m.value){if(B<=t.displayMultipleItems)return 0}else if(X>B-t.displayMultipleItems)return B-t.displayMultipleItems;return X}function y(){d=null}function E(){if(!d){g=!1;return}var R=d,B=R.toPos,X=R.acc,Q=R.endTime,V=R.source,K=Q-Date.now();if(K<=0){c(B),d=null,g=!1,w=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var oe=X*K*K/2,de=B+oe;c(de),x=requestAnimationFrame(E)}function C(R,B,X){y();var Q=t.duration,V=r.value.length,K=l;if(m.value)if(X<0){for(;KR;)K-=V}else if(X>0){for(;K>R;)K-=V;for(;K+VR;)K-=V;K+V-R0&&f<1||(f=1)}var K=l;l=-2;var ae=t.current;ae>=0?(u=!1,t.userTracking?(c(K+ae-h),h=ae):(c(ae),e.autoplay&&O())):(u=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,X=r.value;Be.vertical,()=>m.value,()=>t.displayMultipleItems,()=>[...r.value]],P),W(()=>t.interval,()=>{s&&(o(),O())});function M(R,B){var X=_;_="";var Q=r.value;if(!X){var V=Q.length;C(R,"",m.value&&B+(V-R)%V>V/2?1:0)}var K=Q[R];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:X})}}W(()=>t.current,(R,B)=>{M(R,B),a("update:current",R)}),W(()=>t.currentItemId,R=>{a("update:currentItemId",R)});function H(R){R?O():o()}W(()=>e.autoplay&&!t.userTracking,H),H(e.autoplay&&!t.userTracking),Re(()=>{var R=!1,B=0,X=0;function Q(){o(),h=l,B=0,X=Date.now(),y()}function V(ae){var Te=X;X=Date.now();var oe=r.value.length,de=oe-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,lr){var Ne=h+Ve;B=.6*B+.4*lr,m.value||(Ne<0||Ne>de)&&(Ne<0?Ne=-le(-Ne):Ne>de&&(Ne=de+le(Ne-de)),B=0),c(Ne)}var ye=X-Te||1,be=i.value;e.vertical?J(-ae.dy/be.offsetHeight,-ae.ddy/ye):J(-ae.dx/be.offsetWidth,-ae.ddx/ye)}function K(ae){t.userTracking=!1;var Te=B/Math.abs(B),oe=0;!ae&&Math.abs(B)>.2&&(oe=.5*Te);var de=p(l+oe);ae?c(h):(_="touch",t.current=de,C(de,"touch",oe!==0?oe:de===0&&m.value&&l>=1?1:0))}Un(i.value,ae=>{if(!e.disableTouch&&!u){if(ae.detail.state==="start")return t.userTracking=!0,R=!1,Q();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!R){R=!0;var Te=Math.abs(ae.detail.dx),oe=Math.abs(ae.detail.dy);if((Te>=oe&&e.vertical||Te<=oe&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Zt(()=>{o(),cancelAnimationFrame(x)});function re(R){C(t.current=R,_="click",m.value?1:0)}return{onSwiperDotClick:re}}var zS=ge({name:"Swiper",props:BS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=U(null),n=Pe(a,i),o=U(null),s=U(null),u=$S(e),l=te(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:_r(e.previousMargin,!0),bottom:_r(e.nextMargin,!0)}:{top:0,bottom:0,left:_r(e.previousMargin,!0),right:_r(e.nextMargin,!0)}),b}),f=te(()=>{var b=Math.abs(100/u.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],g=[],h=U([]);function w(){for(var b=[],c=function(p){var y=d[p];y instanceof Element||(y=y.el);var E=g.find(C=>y===C.rootRef.value);E&&b.push(qa(E))},v=0;v{d=s.value.children,w()});var _=function(b){g.push(b),w()};ze("addSwiperContext",_);var x=function(b){var c=g.indexOf(b);c>=0&&(g.splice(c,1),w())};ze("removeSwiperContext",x);var{onSwiperDotClick:m}=FS(e,u,h,s,i,n);return()=>{var b=r.default&&r.default();return d=xl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:l.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((c,v,p)=>I("div",{onClick:()=>m(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v=u.current||v{var n=_e("addSwiperContext");n&&n(a)}),Zt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),WS={name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},VS=ge({name:"Switch",props:WS,emits:["change"],setup(e,t){var{emit:r}=t,i=U(null),a=U(e.checked),n=jS(e,a),o=Pe(i,r);W(()=>e.checked,u=>{a.value=u});var s=u=>{e.disabled||(a.value=!a.value,o("change",u,{value:a.value}))};return n&&(n.addHandler(s),Ae(()=>{n.removeHandler(s)})),Ln(e,{"label-click":s}),()=>{var{color:u,type:l}=e,f=oi(e,"disabled");return I("uni-switch",tt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[ki(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?u:"#DFDFDF",borderColor:a.value?u:"#DFDFDF"}},null,6),[[Pi,l==="switch"]]),ki(I("div",{class:"uni-checkbox-input"},[a.value?dn(vn,e.color,22):""],512),[[Pi,l==="checkbox"]])])],16,["onClick"])}}});function jS(e,t){var r=_e(It,!1),i=_e(Qi,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Zt(()=>{r.removeField(a)})),i}var sa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function YS(e,t){return e.replace(/\\n/g,mi).split(mi).map(r=>qS(r,t))}function qS(e,t){var{space:r,decode:i}=t;return!e||(r&&sa[r]&&(e=e.replace(/ /g,sa[r])),!i)?e:e.replace(/ /g,sa.nbsp).replace(/ /g,sa.ensp).replace(/ /g,sa.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var XS=ce({},Zd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Tl=!1;function ZS(){var e="(prefers-color-scheme: dark)";Tl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var KS=ge({name:"Textarea",props:XS,emit:["confirm","linechange",...Kd],setup(e,t){var{emit:r}=t,i=U(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:u}=Gd(e,i,r),l=te(()=>n.value.split(mi)),f=te(()=>["done","go","next","search","send"].includes(e.confirmType)),d=U(0),g=U(null);W(()=>d.value,m=>{var b=i.value,c=g.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var p=Math.round(m/v);u("linechange",{},{height:m,heightRpx:750/window.innerWidth*m,lineCount:p}),e.autoHeight&&(b.style.height=m+"px")});function h(m){var{height:b}=m;d.value=b}function w(m){u("confirm",m,{value:n.value})}function _(m){m.key==="Enter"&&f.value&&m.preventDefault()}function x(m){if(m.key==="Enter"&&f.value){w(m);var b=m.target;!e.confirmHold&&b.blur()}}return ZS(),()=>{var m=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:_,onKeyup:x},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[ki(I("div",tt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Pi,!n.value.length]]),I("div",{ref:g,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[l.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Ir,{initial:!0,onResize:h},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[m],40,["onSubmit"]):m])],512)}}});ce({},_x);function Vn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function gh(e,t,r){!e||bt(r||Gt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function ph(e,t){!e||Am(t||Gt(),e)}function jn(e,t,r,i){var a=Dt(),n=a.proxy;Re(()=>{gh(t||Vn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{gh(Vn(n,o),e,i),ph(s&&Vn(n,s))})}),Ae(()=>{ph(t||Vn(n),i)})}var GS=0;function Yn(e){var t=hn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(GS++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function JS(e){return e.__uniContextInfo}class mh extends Ed{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Rn.props,...o])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(Rn.mounted);this.$animate&&(this.$animate=!1,this.call(Rn.watch.animation.handler))}}}var QS=["space","decode"];class eE extends mh{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,QS);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=YS(this._text,{space:r,decode:i}).join(mi),super.update(t)}}class tE extends ni{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var qT="",rE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class iE extends mh{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...rE,...o])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new aE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class aE{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){!this._listening||(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()},this.props["hover-start-time"]))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame(()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout(()=>{this.hovering=!1},this.props["hover-stay-time"])})}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}class nE extends iE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function _h(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function bh(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Eu+_h():0}var wh=Symbol("onDraw");function oE(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function Cl(e,t){return te(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?vt(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function la(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=U(!1);function i(){var d=e.value,g=d.getBoundingClientRect(),h=["width","height"];r.value=g.width===0||g.height===0,r.value||(t.position=oE(d)?"absolute":"static",h.push("top","left")),h.forEach(w=>{var _=g[w];_=w==="top"?_+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:bh()):_,t[w]=_+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function u(d){s?s.push(d):d()}function l(d){var g=_e(wh),h=w=>{d(w),o.forEach(_=>_(t)),o=null};u(()=>{g?g(h):h({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return ze(wh,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ae(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:l}}var sE=ge({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=Cl(e,["id"]),{position:s,onParentReady:u}=la(a),l;return u(()=>{l=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(l),l.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),l.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),l.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>l.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&l.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,g=>{var{code:h,data:w,message:_}=g;h===0?l.renderingBind(w):n("error",{},{errMsg:_})})}e.adpid&&f()}),Ae(()=>{l&&l.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class xe extends ni{constructor(t,r,i,a,n,o,s){super(t,r,a);var u=document.createElement("div");u.__vueParent=lE(this),this.$props=ke({}),this.init(o),this.$app=uc(gT(i,this.$props)),this.$app.mount(u),this.$=u.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Na)&&hl(this.$,o.a[Na]),this.insert(a,n),xf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Sd(this.$,r,i)}addEvent(t,r){this.$props[t]=xd(this.id,r,Ro(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Na)this.$&&hl(this.$,r);else if(t===Iu)this.$.__ownerId=r;else if(t===ku)nr(()=>dd(this,r),fd);else if(t===Po){var i=dl(this.$||nt(this.pid).$,r),a=this.$props.style;mt(i)&&mt(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Mn(t)?this.$.style.setProperty(t,r):(r=dl(this.$||nt(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){Mn(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Th(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class ua extends xe{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return nr(this.getRebuildFn(),sl),super.setText(t)}appendChild(t){return nr(this.getRebuildFn(),sl),super.appendChild(t)}insertBefore(t,r){return nr(this.getRebuildFn(),sl),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function lE(e){for(;e&&e.pid>0;)if(e=nt(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Ol(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}var uE=["value","modelValue"];function xh(e){uE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class fE extends xe{constructor(t,r,i,a){super(t,"uni-ad",sE,r,i,a)}}var XT="";class cE extends xe{constructor(t,r,i,a){super(t,"uni-button",Ox,r,i,a)}}class li extends ni{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class vE extends li{constructor(t,r,i){super(t,"uni-camera",r,i)}}var ZT="";class dE extends xe{constructor(t,r,i,a){super(t,"uni-canvas",Nx,r,i,a,"uni-canvas > div")}}var KT="";class hE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox",Hx,r,i,a,".uni-checkbox-wrapper")}setText(t){Ol(this.$holder,"uni-checkbox-input",t)}}var GT="";class gE extends xe{constructor(t,r,i,a){super(t,"uni-checkbox-group",Fx,r,i,a)}}var JT="",pE=0;function yh(e,t,r){var{position:i,hidden:a,onParentReady:n}=la(e),o,s;n(u=>{var l=te(()=>{var c={};for(var v in i){var p=i[v],y=parseFloat(p),E=parseFloat(u[v]);if(v==="top"||v==="left")p=Math.max(y,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(u[C]),P=parseFloat(i[C]),M=Math.max(O-P,0),H=Math.max(P+y-(O+E),0);p=Math.max(y-M-H,0)+"px"}c[v]=p}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],g=[],h={start:"left",end:"right"};function w(c){var v=getComputedStyle(e.value);return f.concat(d,g).forEach(p=>{c[p]=v[p]}),c}var _=ke(w({})),x=null;s=function(){x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{x=null,w(_)})},window.addEventListener("updateview",s);function m(){var c={};for(var v in c){var p=c[v];(v==="top"||v==="left")&&(p=Math.min(parseFloat(p)-parseFloat(u[v]),0)+"px"),c[v]=p}return c}var b=te(()=>{var c=m(),v=[{tag:"rect",position:c,rectStyles:{color:_.backgroundColor,radius:_.borderRadius,borderColor:_.borderColor,borderWidth:_.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var p=parseFloat(_.lineHeight)-parseFloat(_.fontSize),y=parseFloat(c.width)-parseFloat(_.paddingLeft)-parseFloat(_.paddingRight);y=y<0?0:y;var E=parseFloat(c.height)-parseFloat(_.paddingTop)-p/2-parseFloat(_.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(_.paddingTop)+p/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(_.paddingLeft),"px"),width:"".concat(y,"px"),height:"".concat(E,"px")},textStyles:{align:h[_.textAlign]||_.textAlign,color:_.color,decoration:"none",lineSpacing:"".concat(p,"px"),margin:"0px",overflow:_.textOverflow,size:_.fontSize,verticalAlign:"top",weight:_.fontWeight,whiteSpace:_.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(pE++),l.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>l.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ae(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var mE="_doc/uniapp_temp/",_E={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function bE(e,t,r){var i=U(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?vt(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:mE+"/download/"},(u,l)=>{l===200?o(u.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:u=>{var{width:l,height:f}=u;e.autoSize&&(i.value="width:".concat(l,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:l,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ae(()=>{a&&a.abort()}),i}var Sh=ge({name:"CoverImage",props:_E,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=ke({src:""}),o=bE(e,n,a);return yh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class wE extends xe{constructor(t,r,i,a){super(t,"uni-cover-image",Sh,r,i,a)}}var QT="",xE=ge({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=U(null),a=U(null),n=Pe(i,r),o=ke({text:""});return yh(i,n,o),aa(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class yE extends ua{constructor(t,r,i,a){super(t,"uni-cover-view",xE,r,i,a,".uni-cover-view")}}var e2="";class SE extends xe{constructor(t,r,i,a){super(t,"uni-editor",dy,r,i,a)}}var t2="";class EE extends xe{constructor(t,r,i,a){super(t,"uni-form",xx,r,i,a,"span")}}class TE extends li{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var r2="";class CE extends xe{constructor(t,r,i,a){super(t,"uni-icon",my,r,i,a)}}var i2="";class OE extends xe{constructor(t,r,i,a){super(t,"uni-image",wy,r,i,a)}}var a2="";class AE extends xe{constructor(t,r,i,a){super(t,"uni-input",zy,r,i,a)}init(t){super.init(t),xh(this.$props)}}var n2="";class IE extends xe{constructor(t,r,i,a){super(t,"uni-label",Tx,r,i,a)}}class kE extends li{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class ME extends li{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var o2="",RE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Al(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var LE={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},PE=ge({name:"Map",props:LE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Cl(e,["id"]),{position:s,hidden:u,onParentReady:l}=la(n),f,{_addMarkers:d,_addMapLines:g,_addMapCircles:h,_setMap:w}=NE(e,a);l(()=>{f=ce(plus.maps.create(Gt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),u.value&&f.hide(),f.onclick=x=>{a("click",{},x)},f.onstatuschanged=x=>{a("regionchange",{},{})},w(f),d(e.markers),g(e.polyline),h(e.circles),W(()=>o.value,x=>f&&f.setStyles(x),{deep:!0}),W(()=>s,x=>f&&f.setStyles(x),{deep:!0}),W(u,x=>{f&&f[x?"hide":"show"]()}),W(()=>e.scale,x=>{f&&f.setZoom(parseInt(String(x)))}),W([()=>e.latitude,()=>e.longitude],x=>{var[m,b]=x;f&&f.setStyles({center:new plus.maps.Point(Number(m),Number(b))})}),W(()=>e.markers,x=>{d(x,!0)},{deep:!0}),W(()=>e.polyline,x=>{g(x)},{deep:!0}),W(()=>e.circles,x=>{h(x)},{deep:!0})});var _=te(()=>e.controls.map(x=>{var m={position:"absolute"};return["top","left","width","height"].forEach(b=>{x.position[b]&&(m[b]=x.position[b]+"px")}),{id:x.id,iconPath:vt(x.iconPath),position:m,clickable:x.clickable}}));return Ae(()=>{f&&(f.close(),w(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),_.value.map((x,m)=>I(Sh,{key:m,src:x.iconPath,style:x.position,"auto-size":!0,onClick:()=>x.clickable&&a("controltap",{},{controlId:x.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function NE(e,t){var r;function i(h){var{longitude:w,latitude:_}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(w||e.longitude),Number(_||e.latitude))),h({errMsg:"moveToLocation:ok"}))}function a(h){!r||r.getCurrentCenter((w,_)=>{h({longitude:_.getLng(),latitude:_.getLat(),errMsg:"getCenterLocation:ok"})})}function n(h){if(!!r){var w=r.getBounds();h({southwest:w.getSouthWest(),northeast:w.getNorthEast(),errMsg:"getRegion:ok"})}}function o(h){!r||h({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(h){if(!!r){var{id:w,latitude:_,longitude:x,iconPath:m,callout:b,label:c}=h;RE(x,_,v=>{var p,{latitude:y,longitude:E}=v.coord,C=new plus.maps.Marker(new plus.maps.Point(E,y));m&&C.setIcon(vt(m)),c&&c.content&&C.setLabel(c.content);var O=void 0;b&&b.content&&(O=new plus.maps.Bubble(b.content)),O&&C.setBubble(O),(w||w===0)&&(C.onclick=P=>{t("markertap",{},{markerId:w})},O&&(O.onclick=()=>{t("callouttap",{},{markerId:w})})),(p=r)===null||p===void 0||p.addOverlay(C),r.__markers__.push(C)})}}function u(){if(!!r){var h=r.__markers__;h.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__markers__=[]}}function l(h,w){w&&u(),h.forEach(_=>{s(_)})}function f(h){!r||(r.__lines__.length>0&&(r.__lines__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__lines__=[]),h.forEach(w=>{var _,{color:x,width:m}=w,b=w.points.map(p=>new plus.maps.Point(p.longitude,p.latitude)),c=new plus.maps.Polyline(b);if(x){var v=Al(x);c.setStrokeColor(v.color),c.setStrokeOpacity(v.opacity)}m&&c.setLineWidth(m),(_=r)===null||_===void 0||_.addOverlay(c),r.__lines__.push(c)}))}function d(h){!r||(r.__circles__.length>0&&(r.__circles__.forEach(w=>{var _;(_=r)===null||_===void 0||_.removeOverlay(w)}),r.__circles__=[]),h.forEach(w=>{var _,{latitude:x,longitude:m,color:b,fillColor:c,radius:v,strokeWidth:p}=w,y=new plus.maps.Circle(new plus.maps.Point(m,x),v);if(b){var E=Al(b);y.setStrokeColor(E.color),y.setStrokeOpacity(E.opacity)}if(c){var C=Al(c);y.setFillColor(C.color),y.setFillOpacity(C.opacity)}p&&y.setLineWidth(p),(_=r)===null||_===void 0||_.addOverlay(y),r.__circles__.push(y)}))}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return jn((h,w,_)=>{g[h]&&g[h](_,w)},Yn(),!0),{_addMarkers:l,_addMapLines:f,_addMapCircles:d,_setMap(h){r=h}}}class DE extends xe{constructor(t,r,i,a){super(t,"uni-map",PE,r,i,a,".uni-map-slot")}}var s2="";class BE extends ua{constructor(t,r,i,a){super(t,"uni-movable-area",jy,r,i,a)}}var l2="";class $E extends xe{constructor(t,r,i,a){super(t,"uni-movable-view",Xy,r,i,a)}}var u2="";class FE extends xe{constructor(t,r,i,a){super(t,"uni-navigator",Qy,r,i,a,"uni-navigator")}}class zE extends li{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class UE extends li{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},ui={YEAR:"year",MONTH:"month",DAY:"day"};function qn(e){return e>9?e:"0".concat(e)}function Xn(e,t){e=String(e||"");var r=new Date;if(t===Ie.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function HE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function WE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case ui.YEAR:return t;case ui.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var VE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:HE},end:{type:String,default:WE},disabled:{type:[Boolean,String],default:!1}},jE=ge({name:"Picker",props:VE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;ym();var{t:i,getLocale:a}=Je(),n=U(null),o=Pe(n,r),s=U(null),u=U(null),l=()=>{var m=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(m)||(m=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(m.length,e.range.length),c=0;c{u.value&&u.value.sendMessage(m)},d=m=>{var b={event:"cancel"};u.value=vb({url:"__uniapppicker",data:m,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(m);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{u.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},g=(m,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.TIME?"".concat(qn(v.getHours()),":").concat(qn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(qn(v.getMonth()+1),"-").concat(qn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ie.TIME?{time:Xn(e.value,Ie.TIME),popover:b}:{date:Xn(e.value,Ie.DATE),minDate:Xn(e.start,Ie.DATE),maxDate:Xn(e.end,Ie.DATE),popover:b})},h=(m,b)=>{(m.mode===Ie.TIME||m.mode===Ie.DATE)&&!m.fields?g(m,b):(m.fields=Object.values(ui).includes(m.fields)?m.fields:ui.DAY,d(m))},w=m=>{if(!e.disabled){var b=m.currentTarget,c=b.getBoundingClientRect();h(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+bh(),left:c.left,width:c.width,height:c.height})}},_=_e(It,!1),x={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(m=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return _&&(_.addField(x),Ae(()=>_.removeField(x))),Object.keys(e).forEach(m=>{m!=="name"&&W(()=>e[m],b=>{var c={};c[m]=b,f(c)},{deep:!0})}),W(()=>e.value,l,{deep:!0}),l(),()=>I("uni-picker",{ref:n,onClick:w},[I("slot",null,null)],8,["onClick"])}});class YE extends xe{constructor(t,r,i,a){super(t,"uni-picker",jE,r,i,a)}}var f2="";class qE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view",rS,r,i,a,".uni-picker-view-wrapper")}}var c2="";class XE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view-column",fS,r,i,a,".uni-picker-view-content")}}var v2="";class ZE extends xe{constructor(t,r,i,a){super(t,"uni-progress",vS,r,i,a)}}var d2="";class KE extends xe{constructor(t,r,i,a){super(t,"uni-radio",_S,r,i,a,".uni-radio-wrapper")}setText(t){Ol(this.$holder,"uni-radio-input",t)}}var h2="";class GE extends xe{constructor(t,r,i,a){super(t,"uni-radio-group",gS,r,i,a)}}var g2="";class JE extends xe{constructor(t,r,i,a){super(t,"uni-rich-text",OS,r,i,a)}}var p2="";class QE extends xe{constructor(t,r,i,a){super(t,"uni-scroll-view",IS,r,i,a,".uni-scroll-view-content")}setText(t){Ol(this.$holder,"uni-scroll-view-refresher",t)}}var m2="";class eT extends xe{constructor(t,r,i,a){super(t,"uni-slider",LS,r,i,a)}}var _2="";class tT extends ua{constructor(t,r,i,a){super(t,"uni-swiper",zS,r,i,a,".uni-swiper-slide-frame")}}var b2="";class rT extends xe{constructor(t,r,i,a){super(t,"uni-swiper-item",HS,r,i,a)}}var w2="";class iT extends xe{constructor(t,r,i,a){super(t,"uni-switch",VS,r,i,a)}}var x2="";class aT extends xe{constructor(t,r,i,a){super(t,"uni-textarea",KS,r,i,a)}init(t){super.init(t),xh(this.$props)}}var y2="",nT={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default(){return{}}},advanced:{type:Array,default(){return[]}}},Eh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],oT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],sT=ge({name:"Video",props:nT,emits:Eh,setup(e,t){var{emit:r}=t,i=U(null),a=Pe(i,r),n=U(null),o=Cl(e,["id"]),{position:s,hidden:u,onParentReady:l}=la(n),f;l(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),u.value&&f.hide(),Eh.forEach(g=>{f.addEventListener(g,h=>{a(g,{},h.detail)})}),W(()=>o.value,g=>f.setStyles(g),{deep:!0}),W(()=>s,g=>f.setStyles(g),{deep:!0}),W(()=>u.value,g=>{f[g?"hide":"show"](),g||f.setStyles(s)})});var d=Yn();return jn((g,h)=>{if(oT.includes(g)){var w;switch(g){case"seek":w=h.position;break;case"sendDanmu":w=h;break;case"playbackRate":w=h.rate;break;case"requestFullScreen":w=h.direction;break}f&&f[g](w)}},d,!0),Ae(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class lT extends xe{constructor(t,r,i,a){super(t,"uni-video",sT,r,i,a,".uni-video-slot")}}var S2="",uT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},at,fT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var u=Eu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(u+=_h()),o.top=String(u),o.bottom=o.bottom||"0"}at=plus.webview.create(r,t,o),s&&at.addEventListener("titleUpdate",function(){var l;if(!!a.updateTitle){var f=(l=at)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(at)},cT=()=>{var e;plus.webview.currentWebview().remove(at),(e=at)===null||e===void 0||e.close("none"),at=null},vT=ge({name:"WebView",props:uT,setup(e){var t=Gt(),r=U(null),{hidden:i,onParentReady:a}=la(r),n=te(()=>e.webviewStyles);return a(()=>{var o,s=U(yb+t);fT({htmlId:s.value,src:vt(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(wb,{},t),i.value&&((o=at)===null||o===void 0||o.hide())}),Ae(()=>{cT(),UniViewJSBridge.publishHandler(xb,{},t)}),W(()=>e.src,o=>{var s,u=vt(o)||"";if(!!u){if(/^(http|https):\/\//.test(u)&&e.webviewStyles.progress){var l;(l=at)===null||l===void 0||l.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=at)===null||s===void 0||s.loadURL(u)}}),W(n,o=>{var s;(s=at)===null||s===void 0||s.setStyle(o)}),W(i,o=>{at&&at[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class dT extends xe{constructor(t,r,i,a){super(t,"uni-web-view",vT,r,i,a)}}var hT={"#text":tE,"#comment":hx,VIEW:nE,IMAGE:OE,TEXT:eE,NAVIGATOR:FE,FORM:EE,BUTTON:cE,INPUT:AE,LABEL:IE,RADIO:KE,CHECKBOX:hE,"CHECKBOX-GROUP":gE,AD:fE,CAMERA:vE,CANVAS:dE,"COVER-IMAGE":wE,"COVER-VIEW":yE,EDITOR:SE,"FUNCTIONAL-PAGE-NAVIGATOR":TE,ICON:CE,"RADIO-GROUP":GE,"LIVE-PLAYER":kE,"LIVE-PUSHER":ME,MAP:DE,"MOVABLE-AREA":BE,"MOVABLE-VIEW":$E,"OFFICIAL-ACCOUNT":zE,"OPEN-DATA":UE,PICKER:YE,"PICKER-VIEW":qE,"PICKER-VIEW-COLUMN":XE,PROGRESS:ZE,"RICH-TEXT":JE,"SCROLL-VIEW":QE,SLIDER:eT,SWIPER:tT,"SWIPER-ITEM":rT,SWITCH:iT,TEXTAREA:aT,VIDEO:lT,"WEB-VIEW":dT};function gT(e,t){return()=>b_(e,t)}var Zn=new Map;function nt(e){return Zn.get(e)}function pT(e){return Zn.get(e)}function Th(e){return Zn.delete(e)}function Ch(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ni(e,t,r,document.createElement(t));else{var o=hT[t];o?n=new o(e,r,i,a):n=new Ed(e,document.createElement(t),r,i,a)}return Zn.set(e,n),n}var Il=[],Oh=!1;function Ah(e){if(Oh)return e();Il.push(e)}function kl(){Oh=!0,Il.forEach(e=>e()),Il.length=0}function mT(){}function Ih(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:u,windowBottom:l}=e;_T(r),bT(i,a,n),wT();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),yT(s,u,l),o&&document.addEventListener("touchmove",lb),t?xT(r):kl()}function _T(e){window.__PAGE_INFO__={route:e}}function bT(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function wT(){Ch(0,"div",-1,-1).$=document.getElementById("app")}function xT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=kl,t.onerror=kl,document.head.appendChild(t)}function yT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};G_(i)}var kh=!1;function ST(e){if(!kh){kh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Rp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Lp)}};requestAnimationFrame(()=>document.addEventListener("scroll",ub(t)))}}function ET(e,t){var{scrollTop:r,selector:i,duration:a}=e;Dp(i||r||0,a),t()}function TT(e){var t=e[0];t[0]===Mu?CT(t):Ah(()=>OT(e))}function CT(e){return Ih(e[1])}function OT(e){var t=e[0],r=X1(t[0]===bb?t[1]:[]);e.forEach(i=>{switch(i[0]){case Mu:return Ih(i[1]);case Vp:return mT();case jp:return Ch(i[1],r(i[2]),i[3],i[4],Z1(r,i[5]));case Yp:return nt(i[1]).remove();case qp:return nt(i[1]).setAttr(r(i[2]),r(i[3]));case Xp:return nt(i[1]).removeAttr(r(i[2]));case Zp:return nt(i[1]).addEvent(r(i[2]),i[3]);case Jp:return nt(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Kp:return nt(i[1]).removeEvent(r(i[2]));case Gp:return nt(i[1]).setText(r(i[2]));case Qp:return ST(i[1])}}),Q1()}function AT(){var{subscribe:e}=UniViewJSBridge;e(Sc,TT),e(Sb,t=>Je().setLocale(t)),e(Ec,IT)}function IT(){UniViewJSBridge.publishHandler("webviewReady")}function Mh(e){return window.__$__(e).$}function kT(e){var 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){var r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Ml(e,t){var r={},{top:i}=K_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=ko(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(u,l){return l.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=JS(e)),r}function MT(e,t){return e?window.__$__(e).$:t.$el}function Rh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function RT(e,t,r,i,a){var n=MT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,u=s===3||s===8;if(i){var l=u?o.querySelector(r):Rh(n,r)?n:n.querySelector(r);return l?Ml(l,a):null}else{var f=[],d=(u?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,g=>{f.push(Ml(g,a))}),!u&&Rh(n,r)&&f.unshift(Ml(n,a)),f}}function LT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:u}=a;n===null?i.push(kT(u)):i.push(RT(e,n,o,s,u))}),r(i)}function PT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function NT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Mh(i);(o.__io||(o.__io={}))[r]=z1(o,a,n)}function DT(e,t){var{reqId:r,component:i}=e,a=Mh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var Rl={},Ll={};function BT(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(Lh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Lh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Lh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function $T(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Rl[r]=window.matchMedia(BT(a)),s=Ll[r]=u=>n(u.matches);s(o),o.addListener(s)}function FT(e,t){var{reqId:r,component:i}=e,a=Ll[r],n=Rl[r];n&&(n.removeListener(a),delete Ll[r],delete Rl[r])}function zT(e,t){var{family:r,source:i,desc:a}=e;Np(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var UT={$el:document.body};function HT(){var e=Gt();Om(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a{t.apply(null,i)})}),bt(e,"requestComponentInfo",(t,r)=>{LT(UT,t.reqs,r)}),bt(e,"addIntersectionObserver",t=>{NT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeIntersectionObserver",t=>{DT(t)}),bt(e,"addMediaQueryObserver",t=>{$T(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),bt(e,"removeMediaQueryObserver",t=>{FT(t)}),bt(e,B1,ET),bt(e,D1,zT),bt(e,N1,t=>{PT(null,t)})}window.uni=Y1,window.UniViewJSBridge=Tc,window.rpx2px=sd,window.__$__=nt,window.__f__=zp;function Ph(){Dm(),HT(),AT(),q1(),Tc.publishHandler(Ec)}typeof plus!="undefined"?Ph():document.addEventListener("plusready",Ph)}); diff --git a/packages/uni-components/dist/components.js b/packages/uni-components/dist/components.js index e31f989a3c3e441db2c08d1034c18553260ebf5d..7a6577cb8935c424bbddad81b3ae7ee6e4aacf87 100644 --- a/packages/uni-components/dist/components.js +++ b/packages/uni-components/dist/components.js @@ -1,5 +1,5 @@ -import { defineComponent, createVNode, mergeProps, getCurrentInstance, provide, watch, onUnmounted, ref, inject, onBeforeUnmount, resolveComponent, Text, isVNode, Fragment, onMounted, computed } from "vue"; -import { hasOwn, isPlainObject, extend } from "@vue/shared"; +import { createElementVNode, defineComponent, createVNode, mergeProps, getCurrentInstance, provide, watch, onUnmounted, ref, inject, onBeforeUnmount, Text, isVNode, Fragment, onMounted, computed } from "vue"; +import { hasOwn, extend, isPlainObject } from "@vue/shared"; import { cacheStringFunction } from "@dcloudio/uni-shared"; const OPEN_TYPES = [ "navigate", @@ -97,6 +97,9 @@ function useHoverClass(props2) { } return {}; } +function createNVueTextVNode(text, attrs) { + return createElementVNode("u-text", extend({ appendAsTree: true }, attrs), text); +} const navigatorStyles = [{ "navigator-hover": { backgroundColor: "rgba(0,0,0,0.1)", @@ -506,13 +509,13 @@ var Button = defineComponent({ const wrapSlots = () => { if (!slots.default) return []; - const _slots = slots.default(); - return _slots.map((slot) => { - if (slot.type === Text) { - return createVNode("text", null, [slot]); - } - return slot; - }); + const vnodes = slots.default(); + if (vnodes.length === 1 && vnodes[0].type === Text) { + return [createNVueTextVNode(vnodes[0].children, { + class: "ub-t " + _getClass("-t") + })]; + } + return vnodes; }; return () => { return createVNode("div", mergeProps({ @@ -522,7 +525,7 @@ var Button = defineComponent({ hoverClass: _getHoverClass("") }), { "onClick": onClick - }), [props2.loading ? createVNode(resolveComponent("loading-indicator"), mergeProps({ + }), [props2.loading ? createVNode("loading-indicator", mergeProps({ "class": ["ub-loading", `ub-${TYPES[type]}-loading`] }, { arrow: "false", diff --git a/packages/uni-components/src/nvue/button/index.tsx b/packages/uni-components/src/nvue/button/index.tsx index b00cf4f73f76529e3f3bc85da7fd2aeddcf71d69..ecfca1219ff193337ec9af3f194d607e33e6bd6c 100644 --- a/packages/uni-components/src/nvue/button/index.tsx +++ b/packages/uni-components/src/nvue/button/index.tsx @@ -1,7 +1,7 @@ import { inject, onBeforeUnmount, ref, defineComponent, Text } from 'vue' import { uniLabelKey, UniLabelCtx } from '../label' import { useListeners } from '../../helpers/useListeners' -import { useHoverClass } from '../utils' +import { createNVueTextVNode, useHoverClass } from '../utils' import { buttonProps } from '../../components/button' import { extend } from '@vue/shared' @@ -256,13 +256,15 @@ export default defineComponent({ const wrapSlots = () => { if (!slots.default) return [] - const _slots = slots.default() - return _slots.map((slot) => { - if (slot.type === Text) { - return {slot} - } - return slot - }) + const vnodes = slots.default() + if (vnodes.length === 1 && vnodes[0].type === Text) { + return [ + createNVueTextVNode(vnodes[0].children as string, { + class: 'ub-t ' + _getClass('-t'), + }), + ] + } + return vnodes } return () => { diff --git a/packages/uni-components/src/nvue/utils.ts b/packages/uni-components/src/nvue/utils.ts index cc359c67957799fa4831845680b260c939f1ca25..9d6ea5ac6e4b88c67a788bc66c98df44ab868a81 100644 --- a/packages/uni-components/src/nvue/utils.ts +++ b/packages/uni-components/src/nvue/utils.ts @@ -1,4 +1,5 @@ -import { hasOwn } from '@vue/shared' +import { createElementVNode } from 'vue' +import { extend, hasOwn } from '@vue/shared' interface HoverProps { hoverClass?: string @@ -22,3 +23,14 @@ export function useHoverClass(props: HoverProps) { } return {} } + +export function createNVueTextVNode( + text: string, + attrs?: Record +) { + return createElementVNode( + 'u-text', + extend({ appendAsTree: true }, attrs), + text + ) +} diff --git a/packages/uni-components/vite.config.ts b/packages/uni-components/vite.config.ts index b998aa348401a85af06f71229be1bf4207bf5b7b..4c1fa4bc3806296d35b1ef34860654a6ecdb8231 100644 --- a/packages/uni-components/vite.config.ts +++ b/packages/uni-components/vite.config.ts @@ -2,6 +2,7 @@ import path from 'path' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' +import { isAppNVueNativeTag } from '@dcloudio/uni-shared' function resolve(file: string) { return path.resolve(__dirname, file) @@ -47,5 +48,5 @@ export default defineConfig({ }, }, }, - plugins: [vue(), vueJsx({})], + plugins: [vue(), vueJsx({ isCustomElement: isAppNVueNativeTag })], }) diff --git a/packages/uni-h5/dist/uni-h5.cjs.js b/packages/uni-h5/dist/uni-h5.cjs.js index dcea17ebba5eeb4debf84057b930ace7065a7133..2e0f432c6a4181c73f0cf0dd14641c5c010ae3c1 100644 --- a/packages/uni-h5/dist/uni-h5.cjs.js +++ b/packages/uni-h5/dist/uni-h5.cjs.js @@ -6,7 +6,7 @@ var shared = require("@vue/shared"); var uniShared = require("@dcloudio/uni-shared"); var uniI18n = require("@dcloudio/uni-i18n"); var vueRouter = require("vue-router"); -const isEnableLocale = uniShared.once(() => typeof __uniConfig !== "undefined" && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); +const isEnableLocale = /* @__PURE__ */ uniShared.once(() => typeof __uniConfig !== "undefined" && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); let i18n; function getLocaleMessage() { const locale = uni.getLocale(); @@ -201,10 +201,9 @@ function registerViewMethod(pageId, name, fn) { viewMethods[name] = fn; } } -const ViewJSBridge = /* @__PURE__ */ shared.extend(initBridge("service"), { +const ViewJSBridge = /* @__PURE__ */ shared.extend(/* @__PURE__ */ initBridge("service"), { invokeServiceMethod }); -uniShared.passive(true); const onEventPrevent = /* @__PURE__ */ vue.withModifiers(() => { }, ["prevent"]); const onEventStop = /* @__PURE__ */ vue.withModifiers(() => { @@ -408,7 +407,7 @@ const invokeViewMethodKeepAlive = (name, args, callback, pageId) => { unsubscribe(subscribeName); }; }; -const ServiceJSBridge = /* @__PURE__ */ shared.extend(initBridge("view"), { +const ServiceJSBridge = /* @__PURE__ */ shared.extend(/* @__PURE__ */ initBridge("view"), { invokeOnCallback, invokeViewMethod, invokeViewMethodKeepAlive @@ -730,13 +729,25 @@ function provideForm(trigger) { }); return fields2; } -const uniLabelKey = PolySymbol(process.env.NODE_ENV !== "production" ? "uniLabel" : "ul"); const props$u = { for: { type: String, default: "" } }; +const uniLabelKey = PolySymbol(process.env.NODE_ENV !== "production" ? "uniLabel" : "ul"); +function useProvideLabel() { + const handlers = []; + vue.provide(uniLabelKey, { + addHandler(handler) { + handlers.push(handler); + }, + removeHandler(handler) { + handlers.splice(handlers.indexOf(handler), 1); + } + }); + return handlers; +} var index$D = /* @__PURE__ */ defineBuiltInComponent({ name: "Label", props: props$u, @@ -769,18 +780,6 @@ var index$D = /* @__PURE__ */ defineBuiltInComponent({ }, [slots.default && slots.default()], 10, ["onClick"]); } }); -function useProvideLabel() { - const handlers = []; - vue.provide(uniLabelKey, { - addHandler(handler) { - handlers.push(handler); - }, - removeHandler(handler) { - handlers.splice(handlers.indexOf(handler), 1); - } - }); - return handlers; -} const buttonProps = { id: { type: String, @@ -2772,7 +2771,6 @@ function throttle(fn, wait) { }; return newFn; } -uniShared.passive(true); function useUserAction() { const state = vue.reactive({ userAction: false @@ -3505,7 +3503,7 @@ function Friction(e2, t2) { this._v = 0; } Friction.prototype.setV = function(x, y) { - var n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); + const n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); this._x_v = x; this._y_v = y; this._x_a = -this._f * this._x_v / n; @@ -3526,8 +3524,8 @@ Friction.prototype.s = function(t2) { t2 = this._t; this._lastDt = t2; } - var x = this._x_v * t2 + 0.5 * this._x_a * Math.pow(t2, 2) + this._x_s; - var y = this._y_v * t2 + 0.5 * this._y_a * Math.pow(t2, 2) + this._y_s; + let x = this._x_v * t2 + 0.5 * this._x_a * Math.pow(t2, 2) + this._x_s; + let y = this._y_v * t2 + 0.5 * this._y_a * Math.pow(t2, 2) + this._y_s; if (this._x_a > 0 && x < this._endPositionX || this._x_a < 0 && x > this._endPositionX) { x = this._endPositionX; } @@ -3561,7 +3559,7 @@ Friction.prototype.dt = function() { return -this._x_v / this._x_a; }; Friction.prototype.done = function() { - var t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; + const t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; this._lastDt = null; return t2; }; @@ -3582,10 +3580,10 @@ function Spring(m, k, c) { this._startTime = 0; } Spring.prototype._solve = function(e2, t2) { - var n = this._c; - var i = this._m; - var r = this._k; - var o = n * n - 4 * i * r; + const n = this._c; + const i = this._m; + const r = this._k; + const o = n * n - 4 * i * r; if (o === 0) { const a = -n / (2 * i); const s = e2; @@ -3595,7 +3593,7 @@ Spring.prototype._solve = function(e2, t2) { return (s + l * e3) * Math.pow(Math.E, a * e3); }, dx: function(e3) { - var t3 = Math.pow(Math.E, a * e3); + const t3 = Math.pow(Math.E, a * e3); return a * (s + l * e3) * t3 + l * t3; } }; @@ -3607,8 +3605,8 @@ Spring.prototype._solve = function(e2, t2) { const h = e2 - d; return { x: function(e3) { - var t3; - var n2; + let t3; + let n2; if (e3 === this._t) { t3 = this._powER1T; n2 = this._powER2T; @@ -3623,8 +3621,8 @@ Spring.prototype._solve = function(e2, t2) { return h * t3 + d * n2; }, dx: function(e3) { - var t3; - var n2; + let t3; + let n2; if (e3 === this._t) { t3 = this._powER1T; n2 = this._powER2T; @@ -3640,18 +3638,18 @@ Spring.prototype._solve = function(e2, t2) { } }; } - var p2 = Math.sqrt(4 * i * r - n * n) / (2 * i); - var f2 = -n / 2 * i; - var v2 = e2; - var g2 = (t2 - f2 * e2) / p2; + const p2 = Math.sqrt(4 * i * r - n * n) / (2 * i); + const f2 = -n / 2 * i; + const v2 = e2; + const g2 = (t2 - f2 * e2) / p2; return { x: function(e3) { return Math.pow(Math.E, f2 * e3) * (v2 * Math.cos(p2 * e3) + g2 * Math.sin(p2 * e3)); }, dx: function(e3) { - var t3 = Math.pow(Math.E, f2 * e3); - var n2 = Math.cos(p2 * e3); - var i2 = Math.sin(p2 * e3); + const t3 = Math.pow(Math.E, f2 * e3); + const n2 = Math.cos(p2 * e3); + const i2 = Math.sin(p2 * e3); return t3 * (g2 * p2 * n2 - v2 * p2 * i2) + f2 * t3 * (g2 * i2 + v2 * n2); } }; @@ -3674,7 +3672,7 @@ Spring.prototype.setEnd = function(e2, n, i) { } if (e2 !== this._endPosition || !t(n, 0.1)) { n = n || 0; - var r = this._endPosition; + let r = this._endPosition; if (this._solution) { if (t(n, 0.1)) { n = this._solution.dx((i - this._startTime) / 1e3); @@ -3759,14 +3757,14 @@ function STD(e2, t2, n) { this._startTime = 0; } STD.prototype.setEnd = function(e2, t2, n, i) { - var r = new Date().getTime(); + const r = new Date().getTime(); this._springX.setEnd(e2, i, r); this._springY.setEnd(t2, i, r); this._springScale.setEnd(n, i, r); this._startTime = r; }; STD.prototype.x = function() { - var e2 = (new Date().getTime() - this._startTime) / 1e3; + const e2 = (new Date().getTime() - this._startTime) / 1e3; return { x: this._springX.x(e2), y: this._springY.x(e2), @@ -3774,7 +3772,7 @@ STD.prototype.x = function() { }; }; STD.prototype.done = function() { - var e2 = new Date().getTime(); + const e2 = new Date().getTime(); return this._springX.done(e2) && this._springY.done(e2) && this._springScale.done(e2); }; STD.prototype.reconfigure = function(e2, t2, n) { @@ -3836,6 +3834,9 @@ const props$k = { default: true } }; +function v(a, b) { + return +((1e3 * a - 1e3 * b) / 1e3).toFixed(1); +} var index$u = /* @__PURE__ */ defineBuiltInComponent({ name: "MovableView", props: props$k, @@ -3882,9 +3883,6 @@ function f(t2, n) { let i = t2.offsetTop; return t2.offsetParent ? i += f(t2.offsetParent, n) : 0; } -function v(a, b) { - return +((1e3 * a - 1e3 * b) / 1e3).toFixed(1); -} function g(friction, execute, endCallback) { let record = { id: 0, @@ -5150,7 +5148,6 @@ var index$p = /* @__PURE__ */ defineBuiltInComponent({ }; } }); -uniShared.passive(true); const props$e = { scrollX: { type: [Boolean, String], diff --git a/packages/uni-h5/dist/uni-h5.es.js b/packages/uni-h5/dist/uni-h5.es.js index ba24408105bc66da2f33bd65f50a90cb66602e73..9ce5d335189546829e531a59d65cce874ecf42e3 100644 --- a/packages/uni-h5/dist/uni-h5.es.js +++ b/packages/uni-h5/dist/uni-h5.es.js @@ -3,7 +3,7 @@ import { isString, extend, stringifyStyle, parseStringStyle, isPlainObject, isFu import { once, UNI_STORAGE_LOCALE, I18N_JSON_DELIMITERS, Emitter, passive, initCustomDataset, resolveComponentInstance, addLeadingSlash, invokeArrayFns, resolveOwnerVm, resolveOwnerEl, ON_WXS_INVOKE_CALL_METHOD, normalizeTarget, ON_RESIZE, ON_APP_ENTER_FOREGROUND, ON_APP_ENTER_BACKGROUND, ON_SHOW, ON_HIDE, ON_PAGE_SCROLL, ON_REACH_BOTTOM, EventChannel, SCHEME_RE, DATA_RE, getCustomDataset, LINEFEED, ON_ERROR, callOptions, ON_LAUNCH, PRIMARY_COLOR, removeLeadingSlash, getLen, debounce, ON_LOAD, UniLifecycleHooks, NAVBAR_HEIGHT, parseQuery, ON_UNLOAD, ON_REACH_BOTTOM_DISTANCE, decodedQuery, WEB_INVOKE_APPSERVICE, ON_WEB_INVOKE_APP_SERVICE, updateElementStyle, ON_BACK_PRESS, parseUrl, addFont, scrollTo, RESPONSIVE_MIN_WIDTH, formatDateTime, ON_NAVIGATION_BAR_BUTTON_TAP, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_PULL_DOWN_REFRESH } from "@dcloudio/uni-shared"; import { initVueI18n, isI18nStr, LOCALE_EN, LOCALE_ES, LOCALE_FR, LOCALE_ZH_HANS, LOCALE_ZH_HANT } from "@dcloudio/uni-i18n"; import { useRoute, createRouter, createWebHistory, createWebHashHistory, useRouter, isNavigationFailure, RouterView } from "vue-router"; -const isEnableLocale = once(() => typeof __uniConfig !== "undefined" && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); +const isEnableLocale = /* @__PURE__ */ once(() => typeof __uniConfig !== "undefined" && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); let i18n; function getLocaleMessage() { const locale = uni.getLocale(); @@ -418,12 +418,12 @@ function onInvokeViewMethod({ publish({}); } } -const ViewJSBridge = /* @__PURE__ */ extend(initBridge("service"), { +const ViewJSBridge = /* @__PURE__ */ extend(/* @__PURE__ */ initBridge("service"), { invokeServiceMethod }); const LONGPRESS_TIMEOUT = 350; const LONGPRESS_THRESHOLD = 10; -const passiveOptions$2 = passive(true); +const passiveOptions$2 = /* @__PURE__ */ passive(true); let longPressTimer; function clearLongPressTimer() { if (longPressTimer) { @@ -1346,7 +1346,7 @@ const invokeViewMethodKeepAlive = (name, args, callback, pageId) => { unsubscribe(subscribeName); }; }; -const ServiceJSBridge = /* @__PURE__ */ extend(initBridge("view"), { +const ServiceJSBridge = /* @__PURE__ */ extend(/* @__PURE__ */ initBridge("view"), { invokeOnCallback, invokeViewMethod, invokeViewMethodKeepAlive @@ -1769,13 +1769,25 @@ function provideForm(trigger) { }); return fields2; } -const uniLabelKey = PolySymbol(process.env.NODE_ENV !== "production" ? "uniLabel" : "ul"); const props$B = { for: { type: String, default: "" } }; +const uniLabelKey = PolySymbol(process.env.NODE_ENV !== "production" ? "uniLabel" : "ul"); +function useProvideLabel() { + const handlers = []; + provide(uniLabelKey, { + addHandler(handler) { + handlers.push(handler); + }, + removeHandler(handler) { + handlers.splice(handlers.indexOf(handler), 1); + } + }); + return handlers; +} var index$z = /* @__PURE__ */ defineBuiltInComponent({ name: "Label", props: props$B, @@ -1808,18 +1820,6 @@ var index$z = /* @__PURE__ */ defineBuiltInComponent({ }, [slots.default && slots.default()], 10, ["onClick"]); } }); -function useProvideLabel() { - const handlers = []; - provide(uniLabelKey, { - addHandler(handler) { - handlers.push(handler); - }, - removeHandler(handler) { - handlers.splice(handlers.indexOf(handler), 1); - } - }); - return handlers; -} function useListeners$1(props2, listeners2) { _addListeners(props2.id, listeners2); watch(() => props2.id, (newId, oldId) => { @@ -8195,7 +8195,7 @@ function throttle(fn, wait) { }; return newFn; } -const passiveOptions$1 = passive(true); +const passiveOptions$1 = /* @__PURE__ */ passive(true); const states = []; let userInteract = 0; let inited; @@ -9107,7 +9107,7 @@ function Friction$1(e2, t2) { this._v = 0; } Friction$1.prototype.setV = function(x, y) { - var n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); + const n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); this._x_v = x; this._y_v = y; this._x_a = -this._f * this._x_v / n; @@ -9128,8 +9128,8 @@ Friction$1.prototype.s = function(t2) { t2 = this._t; this._lastDt = t2; } - var x = this._x_v * t2 + 0.5 * this._x_a * Math.pow(t2, 2) + this._x_s; - var y = this._y_v * t2 + 0.5 * this._y_a * Math.pow(t2, 2) + this._y_s; + let x = this._x_v * t2 + 0.5 * this._x_a * Math.pow(t2, 2) + this._x_s; + let y = this._y_v * t2 + 0.5 * this._y_a * Math.pow(t2, 2) + this._y_s; if (this._x_a > 0 && x < this._endPositionX || this._x_a < 0 && x > this._endPositionX) { x = this._endPositionX; } @@ -9163,7 +9163,7 @@ Friction$1.prototype.dt = function() { return -this._x_v / this._x_a; }; Friction$1.prototype.done = function() { - var t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; + const t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; this._lastDt = null; return t2; }; @@ -9184,10 +9184,10 @@ function Spring$1(m, k, c) { this._startTime = 0; } Spring$1.prototype._solve = function(e2, t2) { - var n = this._c; - var i = this._m; - var r = this._k; - var o2 = n * n - 4 * i * r; + const n = this._c; + const i = this._m; + const r = this._k; + const o2 = n * n - 4 * i * r; if (o2 === 0) { const a2 = -n / (2 * i); const s = e2; @@ -9197,7 +9197,7 @@ Spring$1.prototype._solve = function(e2, t2) { return (s + l * e3) * Math.pow(Math.E, a2 * e3); }, dx: function(e3) { - var t3 = Math.pow(Math.E, a2 * e3); + const t3 = Math.pow(Math.E, a2 * e3); return a2 * (s + l * e3) * t3 + l * t3; } }; @@ -9209,8 +9209,8 @@ Spring$1.prototype._solve = function(e2, t2) { const h = e2 - d; return { x: function(e3) { - var t3; - var n2; + let t3; + let n2; if (e3 === this._t) { t3 = this._powER1T; n2 = this._powER2T; @@ -9225,8 +9225,8 @@ Spring$1.prototype._solve = function(e2, t2) { return h * t3 + d * n2; }, dx: function(e3) { - var t3; - var n2; + let t3; + let n2; if (e3 === this._t) { t3 = this._powER1T; n2 = this._powER2T; @@ -9242,18 +9242,18 @@ Spring$1.prototype._solve = function(e2, t2) { } }; } - var p2 = Math.sqrt(4 * i * r - n * n) / (2 * i); - var f2 = -n / 2 * i; - var v2 = e2; - var g2 = (t2 - f2 * e2) / p2; + const p2 = Math.sqrt(4 * i * r - n * n) / (2 * i); + const f2 = -n / 2 * i; + const v2 = e2; + const g2 = (t2 - f2 * e2) / p2; return { x: function(e3) { return Math.pow(Math.E, f2 * e3) * (v2 * Math.cos(p2 * e3) + g2 * Math.sin(p2 * e3)); }, dx: function(e3) { - var t3 = Math.pow(Math.E, f2 * e3); - var n2 = Math.cos(p2 * e3); - var i2 = Math.sin(p2 * e3); + const t3 = Math.pow(Math.E, f2 * e3); + const n2 = Math.cos(p2 * e3); + const i2 = Math.sin(p2 * e3); return t3 * (g2 * p2 * n2 - v2 * p2 * i2) + f2 * t3 * (g2 * i2 + v2 * n2); } }; @@ -9276,7 +9276,7 @@ Spring$1.prototype.setEnd = function(e2, n, i) { } if (e2 !== this._endPosition || !t(n, 0.1)) { n = n || 0; - var r = this._endPosition; + let r = this._endPosition; if (this._solution) { if (t(n, 0.1)) { n = this._solution.dx((i - this._startTime) / 1e3); @@ -9361,14 +9361,14 @@ function STD(e2, t2, n) { this._startTime = 0; } STD.prototype.setEnd = function(e2, t2, n, i) { - var r = new Date().getTime(); + const r = new Date().getTime(); this._springX.setEnd(e2, i, r); this._springY.setEnd(t2, i, r); this._springScale.setEnd(n, i, r); this._startTime = r; }; STD.prototype.x = function() { - var e2 = (new Date().getTime() - this._startTime) / 1e3; + const e2 = (new Date().getTime() - this._startTime) / 1e3; return { x: this._springX.x(e2), y: this._springY.x(e2), @@ -9376,7 +9376,7 @@ STD.prototype.x = function() { }; }; STD.prototype.done = function() { - var e2 = new Date().getTime(); + const e2 = new Date().getTime(); return this._springX.done(e2) && this._springY.done(e2) && this._springScale.done(e2); }; STD.prototype.reconfigure = function(e2, t2, n) { @@ -9438,6 +9438,9 @@ const props$r = { default: true } }; +function v(a2, b) { + return +((1e3 * a2 - 1e3 * b) / 1e3).toFixed(1); +} var MovableView = /* @__PURE__ */ defineBuiltInComponent({ name: "MovableView", props: props$r, @@ -9484,9 +9487,6 @@ function f(t2, n) { let i = t2.offsetTop; return t2.offsetParent ? i += f(t2.offsetParent, n) : 0; } -function v(a2, b) { - return +((1e3 * a2 - 1e3 * b) / 1e3).toFixed(1); -} function g(friction, execute, endCallback) { let record = { id: 0, @@ -11756,7 +11756,7 @@ var index$m = /* @__PURE__ */ defineBuiltInComponent({ }; } }); -const passiveOptions = passive(true); +const passiveOptions = /* @__PURE__ */ passive(true); const props$l = { scrollX: { type: [Boolean, String], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 887f88a4e8d57281b3440e0f91a0532269f2d5c9..c55946a44c319f52a8f603ca1fcfcc9ef644e5bc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5538,8 +5538,8 @@ packages: engines: {node: '>= 0.6'} /fs-extra/10.0.0: - resolution: {integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==, tarball: fs-extra/-/fs-extra-10.0.0.tgz} - engines: {node: '>=10'} + resolution: {integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==} + engines: {node: '>=12'} dependencies: at-least-node: 1.0.0 graceful-fs: 4.2.8