(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0126":function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2eee")),a=r(n("7037")),l=r(n("c973")),o={props:{localdata:{type:[Array,Object],default:function(){return[]}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:String,default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:500},getcount:{type:[Boolean,String],default:!1},getone:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},manual:{type:Boolean,default:!1},value:{type:[Array,String,Number],default:function(){return[]}},modelValue:{type:[Array,String,Number],default:function(){return[]}},preload:{type:Boolean,default:!1},stepSearh:{type:Boolean,default:!0},selfField:{type:String,default:""},parentField:{type:String,default:""},multiple:{type:Boolean,default:!1},map:{type:Object,default:function(){return{text:"text",value:"value"}}}},data:function(){return{loading:!1,errorMessage:"",loadMore:{contentdown:"",contentrefresh:"",contentnomore:""},dataList:[],selected:[],selectedIndex:0,page:{current:this.pageCurrent,size:this.pageSize,count:0}}},computed:{isLocalData:function(){return!this.collection.length},isCloudData:function(){return this.collection.length>0},isCloudDataList:function(){return this.isCloudData&&!this.parentField&&!this.selfField},isCloudDataTree:function(){return this.isCloudData&&this.parentField&&this.selfField},dataValue:function(){var e=Array.isArray(this.modelValue)?this.modelValue.length>0:null!==this.modelValue||void 0!==this.modelValue;return e?this.modelValue:this.value},hasValue:function(){return"number"===typeof this.dataValue||null!=this.dataValue&&this.dataValue.length>0}},created:function(){var e=this;this.$watch((function(){var t=[];return["pageCurrent","pageSize","spaceInfo","value","modelValue","localdata","collection","action","field","orderby","where","getont","getcount","gettree"].forEach((function(n){t.push(e[n])})),t}),(function(t,n){for(var r=2;r0&&void 0!==arguments[0]?arguments[0]:{},n=e.database(this.spaceInfo),r=t.action||this.action;r&&(n=n.action(r));var i=t.collection||this.collection;n=n.collection(i);var a=t.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));var l=t.field||this.field;l&&(n=n.field(l));var o=t.orderby||this.orderby;o&&(n=n.orderBy(o));var u=void 0!==t.pageCurrent?t.pageCurrent:this.page.current,c=void 0!==t.pageSize?t.pageSize:this.page.size,s=void 0!==t.getcount?t.getcount:this.getcount,d=void 0!==t.gettree?t.gettree:this.gettree,h={getCount:s,getTree:d};return t.getTreePath&&(h.getTreePath=t.getTreePath),n=n.skip(c*(u-1)).limit(c).get(h),n},_cloudDataPostField:function(){var e=[this.field];return this.parentField&&e.push("".concat(this.parentField," as parent_value")),e.join(",")},_cloudDataTreeWhere:function(){var e=[],t=this.selected,n=this.parentField;if(n&&e.push("".concat(n," == null || ").concat(n,' == ""')),t.length)for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:[],r=this.map.text,i=this.map.value,a=0;a0&&void 0!==l[0]?l[0]:{},r=d(d(d({},r),this.config),this.requestBefore(r)),n.abrupt("return",new Promise((function(n,i){var l=t.isUrl(r.url)?r.url:r.baseUrl+r.url;if("{}"!==JSON.stringify(r.params)){var o=t.addQueryString(r.params);l+=-1===l.indexOf("?")?"?".concat(o):"&".concat(o)}r.url=l,r.success=function(e){n(a.requestAfter(e.data))},r.fail=function(e){i(a.requestAfter(e))},e.request(r)})));case 3:case"end":return n.stop()}}),n,this)})));return function(){return n.apply(this,arguments)}}()},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request(d({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request(d({url:e,data:t,method:"POST"},n))}}],[{key:"isUrl",value:function(e){return/(http|https):\/\/([\w.]+\/?)\S*/.test(e)}},{key:"addQueryString",value:function(e){var t="";return Object.keys(e).forEach((function(n){t+=n+"="+encodeURIComponent(e[n])+"&"})),t.substring(0,t.length-1)}},{key:"requestBefore",value:function(e){return e}},{key:"requestAfter",value:function(e){return e}}]),t}();t.default=h}).call(this,n("543d")["default"])},"11b0":function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},1446:function(e){e.exports=JSON.parse('{"uni-load-more.contentdown":"Pull up to show more","uni-load-more.contentrefresh":"loading...","uni-load-more.contentnomore":"No more data"}')},1626:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1716")),a=r(n("5f8d")),l=r(n("3f20")),o="Z-PAGING-REFRESHER-TIME-STORAGE-KEY",u=null,c={};try{var s=n("3f15").keys();if(s.length){u=n("b757")("./z-paging-config.js")}}catch(p){}function d(){return e.getStorageSync(o)}function h(){return(new Date).getTime()}function f(e){return e=e.toString(),1===e.length?"0"+e:e}var v={gc:function(e,t){if(!u)if(a.default&&Object.keys(a.default).length)u=a.default;else{var n=i.default.getConfig();i.default&&n&&(u=n)}if(!u)return t;var r=u[function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(e)];return void 0===r?t:r},setRefesrherTime:function(t,n){var r=d()||{};r[n]=t,e.setStorageSync(o,r)},getRefesrherFormatTimeByKey:function(e,t){var n=function(e){var t=d();return t&&t[e]?t[e]:null}(e),r=n?function(e,t){var n=new Date(e),r=new Date,i=new Date(e).setHours(0,0,0,0),a=(new Date).setHours(0,0,0,0),l=i-a,o="",u=function(e){var t=e.getHours(),n=e.getMinutes();return"".concat(f(t),":").concat(f(n))}(n);o=0===l?t.today:-864e5===l?t.yesterday:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.getFullYear(),r=e.getMonth()+1,i=e.getDate();return t?"".concat(n,"-").concat(f(r),"-").concat(f(i)):"".concat(f(r),"-").concat(f(i))}(n,n.getFullYear()!==r.getFullYear());return"".concat(o," ").concat(u)}(n,t):t.none;return"".concat(t.title).concat(r)},getTouch:function(e){var t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){var n=t.classList;return n&&n.contains("z-paging-content")?{isFromZp:!0,isPageScroll:n.contains("z-paging-content-page"),isReachedTop:n.contains("z-paging-reached-top")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(t){var n=Object.prototype.toString.call(t);if("[object Number]"===n)return t;var r=!1;return-1!==t.indexOf("rpx")||-1!==t.indexOf("upx")?(t=t.replace("rpx","").replace("upx",""),r=!0):-1!==t.indexOf("px")&&(t=t.replace("px","")),isNaN(t)?0:Number(r?e.upx2px(t):t)},getTime:h,getInstanceId:function(){for(var e=[],t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+h()},consoleErr:function(e){console.error("[z-paging]".concat(e))},delay:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delayTime,n=arguments.length>2?arguments[2]:void 0,r=setTimeout(e,t);return n&&(c[n]&&clearTimeout(c[n]),c[n]=r),r}};t.default=v}).call(this,n("543d")["default"])},1716:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=null,r=!1;var i={setConfig:function(t){e.setStorageSync("Z-PAGING-CONFIG-STORAGE-KEY",t)},getConfig:function(){return r||(n=e.getStorageSync("Z-PAGING-CONFIG-STORAGE-KEY"),r=!0),n}};t.default=i}).call(this,n("543d")["default"])},"1f41":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2eee")),a=r(n("c973")),l=r(n("1626")),o=r(n("3d52")),u={props:{loadingMoreCustomStyle:{type:Object,default:function(){return l.default.gc("loadingMoreCustomStyle",{})}},loadingMoreTitleCustomStyle:{type:Object,default:function(){return l.default.gc("loadingMoreTitleCustomStyle",{})}},loadingMoreLoadingIconCustomStyle:{type:Object,default:function(){return l.default.gc("loadingMoreLoadingIconCustomStyle",{})}},loadingMoreLoadingIconType:{type:String,default:l.default.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:l.default.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:l.default.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:l.default.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:l.default.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:[Boolean],default:l.default.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:l.default.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:l.default.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:l.default.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:l.default.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:l.default.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:l.default.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:l.default.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:l.default.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:l.default.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:function(){return l.default.gc("loadingMoreNoMoreLineCustomStyle",{})}},insideMore:{type:Boolean,default:l.default.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:l.default.gc("lowerThreshold","100rpx")}},data:function(){return{M:o.default.More,loadingStatus:o.default.More.Default,loadingStatusAfterRender:o.default.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}},computed:{zLoadMoreConfig:function(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering}},finalLoadingMoreThemeStyle:function(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},showLoadingMoreDefault:function(){return this._showLoadingMore("Default")},showLoadingMoreLoading:function(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore:function(){return this._showLoadingMore("NoMore")},showLoadingMoreFail:function(){return this._showLoadingMore("Fail")},showLoadingMoreCustom:function(){return this._showLoadingMore("Custom")}},methods:{pageReachBottom:function(){!this.useChatRecordMode&&this._onLoadingMore("toBottom")},doLoadMore:function(e){this._onLoadingMore(e)},_checkScrolledToBottom:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then((function(n){if(n){var r=n[0].height;t.cacheScrollNodeHeight=r,e-r<=t.finalLowerThreshold&&t._onLoadingMore("toBottom")}})):e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!n&&l.default.delay((function(){t._getNodeClientRect(".zp-scroll-view",!0,!0).then((function(e){t.oldScrollTop=e[0].scrollTop;var n=e[0].scrollHeight-t.oldScrollTop;t._checkScrolledToBottom(n,!0)}))}),150,"checkScrolledToBottomDelay")},_onLoadingMore:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"click";if("toBottom"===t&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick((function(){e.scrollEnable=!0}))),this.$emit("scrolltolower",t),("toBottom"!==t||this.toBottomLoadingMoreEnabled&&!this.useChatRecordMode)&&!(this.refresherOnly||!this.loadingMoreEnabled||this.loadingStatus!==o.default.More.Default&&this.loadingStatus!==o.default.More.Fail||this.loading)){if(!this.isIos&&!this.refresherOnly&&!this.usePageScroll){var n=l.default.getTime();if(this.loadingMoreTimeStamp>0&&n-this.loadingMoreTimeStamp<100)return void(this.loadingMoreTimeStamp=0)}this._doLoadingMore()}},_doLoadingMore:function(){var e=this;this.pageNo>=this.defaultPageNo&&this.loadingStatus!==o.default.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,(function(t){e.completeByTotal(t,e.totalLocalPagingList.length)})):(this._emitQuery(this.pageNo,this.defaultPageSize,o.default.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=o.default.LoadingType.LoadingMore)},_preCheckShowNoMoreInside:function(e,t,n){var r=this;this.loadingStatus===o.default.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===o.default.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick((function(){r._checkShowNoMoreInside(e,t,n)})),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},_checkShowNoMoreInside:function(e,t,n){var r=this;return(0,a.default)(i.default.mark((function a(){var l,o,u,c,s;return i.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(i.prev=0,i.t0=t,i.t0){i.next=6;break}return i.next=5,r._getNodeClientRect(".zp-scroll-view");case 5:i.t0=i.sent;case 6:if(l=i.t0,!r.usePageScroll){i.next=11;break}l&&(o=l[0].top+l[0].height,r.insideOfPaging=o-1&&t.splice(n,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),p(e,n,t)}function p(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,l={};a(i,(function(t,n){l[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=s.config.silent;s.config.silent=!0,e._vm=new s({data:{$$state:t},computed:l}),s.config.silent=o,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),s.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var a=!n.length,l=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[l],e._modulesNamespaceMap[l]=r),!a&&!i){var o=g(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){s.set(o,u,r.state)}))}var c=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var a=m(n,r,i),l=a.payload,o=a.options,u=a.type;return o&&o.root||(u=t+u),e.dispatch(u,l)},commit:r?e.commit:function(n,r,i){var a=m(n,r,i),l=a.payload,o=a.options,u=a.type;o&&o.root||(u=t+u),e.commit(u,l,o)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return g(e.state,n)}}}),i}(e,l,n);r.forEachMutation((function(t,n){var r=l+n;(function(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))})(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:l+n,i=t.handler||t;(function(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))})(e,r,i,c)})),r.forEachGetter((function(t,n){var r=l+n;(function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}})(e,r,t,c)})),r.forEachChild((function(r,a){x(e,t,n.concat(a),r,i)}))}function g(e,t){return t.reduce((function(e,t){return e[t]}),e)}function m(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function y(e){s&&e===s||(s=e, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(s))}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(e){0},d.prototype.commit=function(e,t,n){var r=this,i=m(e,t,n),a=i.type,l=i.payload,o=(i.options,{type:a,payload:l}),u=this._mutations[a];u&&(this._withCommit((function(){u.forEach((function(e){e(l)}))})),this._subscribers.slice().forEach((function(e){return e(o,r.state)})))},d.prototype.dispatch=function(e,t){var n=this,r=m(e,t),i=r.type,a=r.payload,l={type:i,payload:a},o=this._actions[i];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(l,n.state)}))}catch(c){0}var u=o.length>1?Promise.all(o.map((function(e){return e(a)}))):o[0](a);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(l,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(l,n.state,e)}))}catch(c){0}t(e)}))}))}},d.prototype.subscribe=function(e,t){return f(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return f(n,this._actionSubscribers,t)},d.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),p(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=g(t.state,e.slice(0,-1));s.delete(n,e[e.length-1])})),v(this)},d.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),v(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,h);var _=S((function(e,t){var n={};return T(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=A(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),b=S((function(e,t){var n={};return T(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=A(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),w=S((function(e,t){var n={};return T(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||A(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),k=S((function(e,t){var n={};return T(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=A(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n}));function T(e){return function(e){return Array.isArray(e)||l(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function S(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function A(e,t,n){var r=e._modulesNamespaceMap[n];return r}function O(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function P(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function C(){var e=new Date;return" @ "+E(e.getHours(),2)+":"+E(e.getMinutes(),2)+":"+E(e.getSeconds(),2)+"."+E(e.getMilliseconds(),3)}function E(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var R={Store:d,install:y,version:"3.6.2",mapState:_,mapMutations:b,mapGetters:w,mapActions:k,createNamespacedHelpers:function(e){return{mapState:_.bind(null,e),mapGetters:w.bind(null,e),mapMutations:b.bind(null,e),mapActions:k.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var a=e.mutationTransformer;void 0===a&&(a=function(e){return e});var l=e.actionFilter;void 0===l&&(l=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var u=e.logMutations;void 0===u&&(u=!0);var c=e.logActions;void 0===c&&(c=!0);var s=e.logger;return void 0===s&&(s=console),function(e){var d=i(e.state);"undefined"!==typeof s&&(u&&e.subscribe((function(e,l){var o=i(l);if(n(e,d,o)){var u=C(),c=a(e),h="mutation "+e.type+u;O(s,h,t),s.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),s.log("%c mutation","color: #03A9F4; font-weight: bold",c),s.log("%c next state","color: #4CAF50; font-weight: bold",r(o)),P(s)}d=o})),c&&e.subscribeAction((function(e,n){if(l(e,n)){var r=C(),i=o(e),a="action "+e.type+r;O(s,a,t),s.log("%c action","color: #03A9F4; font-weight: bold",i),P(s)}})))}}};e.exports=R}).call(this,n("c8ba"))},"278c":function(e,t,n){var r=n("c135"),i=n("9b42"),a=n("6613"),l=n("c240");e.exports=function(e,t){return r(e)||i(e,t)||a(e,t)||l()},e.exports.__esModule=!0,e.exports["default"]=e.exports},"28ef":function(e){e.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},"2ca3":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1626")),a={props:{hideEmptyView:{type:Boolean,default:i.default.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:i.default.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:i.default.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:i.default.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:i.default.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:i.default.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:i.default.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:i.default.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:function(){return i.default.gc("emptyViewStyle",{})}},emptyViewSuperStyle:{type:Object,default:function(){return i.default.gc("emptyViewSuperStyle",{})}},emptyViewImgStyle:{type:Object,default:function(){return i.default.gc("emptyViewImgStyle",{})}},emptyViewTitleStyle:{type:Object,default:function(){return i.default.gc("emptyViewTitleStyle",{})}},emptyViewReloadStyle:{type:Object,default:function(){return i.default.gc("emptyViewReloadStyle",{})}},emptyViewFixed:{type:Boolean,default:i.default.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:i.default.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:i.default.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:i.default.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:i.default.gc("emptyViewZIndex",9)}},computed:{finalEmptyViewImg:function(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload:function(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty:function(){return!(this.refresherOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload:function(){var e=this,t=!1;this.$emit("emptyViewReload",(function(n){void 0!==n&&!0!==n||(e.fromEmptyViewReload=!0,e.reload()),t=!0})),this.$nextTick((function(){t||(e.fromEmptyViewReload=!0,e.reload())}))},_emptyViewClick:function(){this.$emit("emptyViewClick")}}};t.default=a},"2eee":function(e,t,n){var r=n("7ec2")();e.exports=r},3523:function(e,t,n){var r={"./common.js":"ffa2"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="3523"},"36c6":function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"37dc":function(e,t,n){"use strict";(function(e,r){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var n=t.locale,r=t.locales,i=t.delimiters;if(!S(e,i))return e;k||(k=new d);var a=[];Object.keys(r).forEach((function(e){e!==n&&a.push({locale:e,values:r[e]})})),a.unshift({locale:n,values:r[n]});try{return JSON.stringify(O(JSON.parse(e),a,i),null,2)}catch(l){}return e},t.hasI18nJson=function e(t,n){k||(k=new d);return P(t,(function(t,r){var i=t[r];return T(i)?!!S(i,n)||void 0:e(i,n)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var i=[t,e];e=i[0],t=i[1]}"string"!==typeof e&&(e=w());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var a=new _({locale:e,fallbackLocale:n,messages:t,watcher:r}),l=function(e,t){if("function"!==typeof getApp)l=function(e,t){return a.t(e,t)};else{var n=!1;l=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,b(r,a))),a.t(e,t)}}return l(e,t)};return{i18n:a,f:function(e,t,n){return a.f(e,t,n)},t:function(e,t){return l(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a.add(e,t,n)},watch:function(e){return a.watchLocale(e)},getLocale:function(){return a.getLocale()},setLocale:function(e){return a.setLocale(e)}}},t.isI18nStr=S,t.isString=void 0,t.normalizeLocale=y,t.parseI18nJson=function e(t,n,r){k||(k=new d);return P(t,(function(t,i){var a=t[i];T(a)?S(a,r)&&(t[i]=A(a,n,r)):e(a,n,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=y(t)||t,function(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var a=i(n("278c")),l=i(n("970b")),o=i(n("5bc3")),u=i(n("7037")),c=function(e){return null!==e&&"object"===(0,u.default)(e)},s=["{","}"],d=function(){function e(){(0,l.default)(this,e),this._caches=Object.create(null)}return(0,o.default)(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;if(!t)return[e];var r=this._caches[e];return r||(r=v(e,n),this._caches[e]=r),p(r,t)}}]),e}();t.Formatter=d;var h=/^(?:\d)+/,f=/^(?:\w)+/;function v(e,t){var n=(0,a.default)(t,2),r=n[0],i=n[1],l=[],o=0,u="";while(o-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,n);return r||void 0}}var _=function(){function e(t){var n=t.locale,r=t.fallbackLocale,i=t.messages,a=t.watcher,o=t.formater;(0,l.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=o||m,this.messages=i||{},this.setLocale(n||"en"),a&&this.watchLocale(a)}return(0,o.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=y(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((function(e){g(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var r=this.message;return"string"===typeof t?(t=y(t,this.messages),t&&(r=this.messages[t])):n=t,g(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function b(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function w(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=_;var k,T=function(e){return"string"===typeof e};function S(e,t){return e.indexOf(t[0])>-1}function A(e,t,n){return k.interpolate(e,t,n).join("")}function O(e,t,n){return P(e,(function(e,r){(function(e,t,n,r){var i=e[t];if(T(i)){if(S(i,r)&&(e[t]=A(i,n[0].values,r),n.length>1)){var a=e[t+"Locales"]={};n.forEach((function(e){a[e.locale]=A(i,e.values,r)}))}}else O(i,n,r)})(e,r,t,n)})),e}function P(e,t){if(Array.isArray(e)){for(var n=0;n0}},cellHeightMode:{type:String,default:l.default.gc("cellHeightMode",u.default.CellHeightMode.Fixed)},virtualListCol:{type:[Number,String],default:l.default.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:l.default.gc("virtualScrollFps",80)}},data:function(){return{virtualListKey:l.default.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}},watch:{realTotalData:function(e){var t=this;this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick((function(){t.getCellHeightRetryCount.fixed=0,!e.length&&t._resetDynamicListState(!t.isUserPullDown),e.length&&t.cellHeightMode===u.default.CellHeightMode.Fixed&&t.isFirstPage&&t._updateFixedCellHeight(),t._updateVirtualScroll(t.oldScrollTop)})))},virtualList:function(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{finalUseVirtualList:function(){return this.useVirtualList&&this.usePageScroll&&l.default.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList:function(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName:function(){return this.cellKeyName},finalVirtualPageHeight:function(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},virtualRangePageHeight:function(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp:function(){return 1e3/this.virtualScrollFps}},methods:{didUpdateVirtualListCell:function(e){var t=this;if(this.cellHeightMode===u.default.CellHeightMode.Dynamic){var n=this.virtualHeightCacheList[e];this._getNodeClientRect("#zp-id-".concat(e),this.finalUseInnerList).then((function(r){var i=r?r[0].height:0,a=i-n.height;n.height=i,n.totalHeight=n.lastHeight+i;for(var l=e+1;l10)return;e.getCellHeightRetryCount.fixed++,e._updateFixedCellHeight()}}))}),o.default.delayTime,"updateFixedCellHeightDelay")}))},_updateDynamicCellHeight:function(e){var t=this;this.$nextTick((function(){l.default.delay((0,a.default)(i.default.mark((function n(){var r,a,l,u,c,s;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=0;case 1:if(!(r10)){n.next=11;break}return n.abrupt("return");case 11:return t.getCellHeightRetryCount.dynamic++,t._updateDynamicCellHeight(e),n.abrupt("break",20);case 14:c=t.virtualHeightCacheList.length?t.virtualHeightCacheList.slice(-1)[0]:null,s=c?c.totalHeight:0,t.virtualHeightCacheList.push({height:u,lastHeight:s,totalHeight:s+u});case 17:r++,n.next=1;break;case 20:t._updateVirtualScroll(t.oldScrollTop);case 21:case"end":return n.stop()}}),n)}))),o.default.delayTime,"updateDynamicCellHeightDelay")}))},_setCellIndex:function(e,t){var n=0;if(t)this._resetDynamicListState();else{n=this.realTotalData.length;var r=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;r&&void 0!==r[o.default.listCellIndexKey]&&(n=r[o.default.listCellIndexKey]+1)}for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=l.default.getTime();if(0===e&&this._resetTopRange(),!(0!==e&&this.virtualScrollTimeStamp&&n-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)){this.virtualScrollTimeStamp=n;var r=0,i=this.cellHeightMode;if(i===u.default.CellHeightMode.Fixed)r=parseInt(e/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(r),this._updateFixedBottomRangeIndex(r);else if(i===u.default.CellHeightMode.Dynamic){var a=t>0?"top":"bottom",o=this.virtualRangePageHeight,c=e-o,s=e+this.finalVirtualPageHeight+o,d=0,h=0,f=!1,v=this.virtualHeightCacheList,p=v?v.slice(-1)[0]:null,x=this.virtualTopRangeIndex;if("bottom"===a)for(var g=x;gc){this.virtualTopRangeIndex=g,this.virtualPlaceholderTopHeight=m.lastHeight;break}}else{for(var y=!1,_=x;_>=0;_--){var b=v[_];if(b&&b.totalHeights){d=w,h=p.totalHeight-k.totalHeight,f=!0;break}}f&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=d,this.virtualPlaceholderBottomHeight=h):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}}},_updateFixedTopRangeIndex:function(e){var t=0===this.virtualCellHeight?0:e-parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)*this.preloadPage;t*=this.virtualListCol,t=Math.max(0,t),this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=t/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex:function(e){var t=0===this.virtualCellHeight?this.pageSize:e+parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)*(this.preloadPage+1);t*=this.virtualListCol,t=Math.min(this.realTotalData.length,t),this.virtualBottomRangeIndex=t,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-t)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList:function(){var e=this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex;e&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.virtualHeightCacheList=[],e&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange:function(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll:function(){var e=this;this.finalUseVirtualList&&this.$nextTick((function(){e._getNodeClientRect(".zp-paging-touch-view").then((function(t){var n=t?t[0].top:0;(!t||n===e.pagingOrgTop&&0!==e.virtualPlaceholderTopHeight)&&e._updateVirtualScroll(0)}))}))},_innerCellClick:function(e,t){this.$emit("innerCellClick",e,t)}}};t.default=c},"448a":function(e,t,n){var r=n("2236"),i=n("11b0"),a=n("6613"),l=n("0676");e.exports=function(e){return r(e)||i(e)||a(e)||l()},e.exports.__esModule=!0,e.exports["default"]=e.exports},4581:function(e,t,n){"use strict";function r(){return getApp()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={handleQuery:function(e){try{setTimeout((function(){r().globalData.zp_handleQueryCallback=e}),1)}catch(t){}},_handleQuery:function(e,t,n,i){var a=r().globalData.zp_handleQueryCallback;return a?a(e,t,n,i):[e,t,n]},handleLanguage2Local:function(e){try{setTimeout((function(){r().globalData.zp_handleLanguage2LocalCallback=e}),1)}catch(t){}},_handleLanguage2Local:function(e,t){var n=r().globalData.zp_handleLanguage2LocalCallback;return n?n(e,t):t}};t.default=i},"4a4b":function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4ced":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1446")),a=r(n("7cb3")),l=r(n("7a1d")),o={en:i.default,"zh-Hans":a.default,"zh-Hant":l.default};t.default=o},"4ea4":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"4ee9":function(e,t){},"530c":function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2eee")),a=r(n("c973")),l=r(n("1626")),o=r(n("3d52")),u={props:{usePageScroll:{type:Boolean,default:l.default.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:l.default.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:l.default.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:l.default.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:l.default.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:l.default.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:l.default.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:l.default.gc("scrollIntoView","")}},data:function(){return{scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1}},watch:{oldScrollTop:function(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop:function(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler:function(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e)},immediate:!0},finalScrollTop:function(e){this.useChatRecordMode||(this.renderPropScrollTop=e<6?0:10)}},computed:{finalScrollWithAnimation:function(){if(-1!==this.privateScrollWithAnimation){var e=1===this.privateScrollWithAnimation;return this.privateScrollWithAnimation=-1,e}return this.scrollWithAnimation},finalScrollViewStyle:function(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle["position"]="relative"),this.scrollViewStyle},finalScrollTop:function(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView:function(){return this.isOldWebView&&!this.usePageScroll}},methods:{scrollToTop:function(e){var t=this;this.$nextTick((function(){t._scrollToTop(e,!1)}))},scrollToBottom:function(e){var t=this;this.$nextTick((function(){t._scrollToBottom(e)}))},scrollIntoViewById:function(e,t,n){this._scrollIntoView(e,t,n)},scrollIntoViewByNodeTop:function(e,t,n){var r=this;this.scrollTop=this.oldScrollTop,this.$nextTick((function(){r._scrollIntoViewByNodeTop(e,t,n)}))},scrollToY:function(e,t,n){var r=this;this.scrollTop=this.oldScrollTop,this.$nextTick((function(){r._scrollToY(e,t,n)}))},scrollIntoViewByIndex:function(e,t,n){this._scrollIntoView(e,t,n)},scrollIntoViewByView:function(e,t,n){this._scrollIntoView(e,t,n)},updatePageScrollTop:function(e){this.pageScrollTop=e},updatePageScrollTopHeight:function(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight:function(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth:function(){var e=this;this.finalIsOldWebView&&this.$nextTick((function(){return e._updateLeftAndRightWidth(e.scrollViewContainerStyle,"zp-page")}))},updateScrollViewScrollTop:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.privateScrollWithAnimation=n?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick((function(){t.scrollTop=e,t.oldScrollTop=t.scrollTop}))},_onScrollToUpper:function(){var e=this;this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick((function(){e.oldScrollTop=0})),this.useChatRecordMode&&this.loadingStatus!==o.default.More.NoMore&&this._onLoadingMore("click")},_onScrollToLower:function(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this._onLoadingMore("toBottom")},_scrollToTop:function(){var t=this,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.usePageScroll?this.$nextTick((function(){e.pageScrollTo({scrollTop:0,duration:n?100:0})})):(this.privateScrollWithAnimation=n?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick((function(){t.scrollTop=0,t.oldScrollTop=t.scrollTop})))},_scrollToBottom:function(){var t=arguments,n=this;return(0,a.default)(i.default.mark((function r(){var a,l,o,u,c;return i.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=!(t.length>0&&void 0!==t[0])||t[0],!n.usePageScroll){r.next=4;break}return n.$nextTick((function(){e.pageScrollTo({scrollTop:Number.MAX_VALUE,duration:a?100:0})})),r.abrupt("return");case 4:return r.prev=4,n.privateScrollWithAnimation=a?1:0,r.next=8,n._getNodeClientRect(".zp-paging-container");case 8:return l=r.sent,r.next=11,n._getNodeClientRect(".zp-scroll-view");case 11:o=r.sent,u=l?l[0].height:0,c=o?o[0].height:0,u>c&&(n.scrollTop=n.oldScrollTop,n.$nextTick((function(){n.scrollTop=u-c+n.virtualPlaceholderTopHeight,n.oldScrollTop=n.scrollTop}))),r.next=19;break;case 17:r.prev=17,r.t0=r["catch"](4);case 19:case"end":return r.stop()}}),r,null,[[4,17]])})))()},_scrollIntoView:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;try{this.scrollTop=this.oldScrollTop,this.$nextTick((function(){t._getNodeClientRect("#"+e.replace("#",""),t.$parent).then((function(e){if(e){var a=e[0].top;t._scrollIntoViewByNodeTop(a,n,r),i&&i()}}))}))}catch(a){}},_scrollIntoViewByNodeTop:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._scrollToY(e,t,n,!0)},_scrollToY:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.privateScrollWithAnimation=r?1:0,this.usePageScroll?e.pageScrollTo({scrollTop:t-n,duration:r?100:0}):(i&&(t+=this.oldScrollTop),this.scrollTop=t-n,this.oldScrollTop=this.scrollTop)},_scroll:function(e){this.$emit("scroll",e);var t=e.detail.scrollTop;this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t;var n=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(n)},_doCheckScrollViewShouldFullHeight:function(e){var t=this;this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((function(){t._checkScrollViewShouldFullHeight((function(n,r){t._preCheckShowNoMoreInside(e,n,r)}))})):this._preCheckShowNoMoreInside(e)},_checkScrollViewShouldFullHeight:function(e){var t=this;return(0,a.default)(i.default.mark((function n(){var r,a,l,o;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t._getNodeClientRect(".zp-scroll-view");case 3:return r=n.sent,n.next=6,t._getNodeClientRect(".zp-paging-container-content");case 6:if(a=n.sent,r&&a){n.next=9;break}return n.abrupt("return");case 9:l=a[0].height,o=r[0].top,t.isAddedData&&l+o<=t.windowHeight?(t._setAutoHeight(!0,r),e(r,a)):(t._setAutoHeight(!1),e(null,null)),n.next=17;break;case 14:n.prev=14,n.t0=n["catch"](0),e(null,null);case 17:case"end":return n.stop()}}),n,null,[[0,14]])})))()},_scrollTopChange:function(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);var n=this.isIos?e>5?6:0:e;t?this.wxsPageScrollTop=n:this.wxsScrollTop=n},_updatePageScrollTopOrBottomHeight:function(e){var t=this;if(this.usePageScroll){this._doCheckScrollViewShouldFullHeight(this.realTotalData);var n=".zp-page-".concat(e),r="margin".concat(e.slice(0,1).toUpperCase()+e.slice(1)),i=this.safeAreaInsetBottom;this.$nextTick((function(){l.default.delay((function(){t._getNodeClientRect(n).then((function(n){if(n){var a=n[0].height;"bottom"===e?i&&(a+=t.safeAreaBottom):t.cacheTopHeight=a,t.$set(t.scrollViewStyle,r,"".concat(a,"px"))}else i&&t.$set(t.scrollViewStyle,r,"".concat(t.safeAreaBottom,"px"))}))}),0)}))}}}};t.default=u}).call(this,n("543d")["default"])},"543d":function(e,t,n){"use strict";(function(e,r){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Rt,t.createComponent=$t,t.createPage=Ut,t.createPlugin=Ht,t.createSubpackageApp=Vt,t.default=void 0;var a,l=i(n("278c")),o=i(n("9523")),u=i(n("b17c")),c=i(n("448a")),s=i(n("7037")),d=n("37dc"),h=i(n("66fd"));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var m=Object.prototype.toString,y=Object.prototype.hasOwnProperty;function _(e){return"function"===typeof e}function b(e){return"string"===typeof e}function w(e){return"[object Object]"===m.call(e)}function k(e,t){return y.call(e,t)}function T(){}function S(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var A=/-(\w)/g,O=S((function(e){return e.replace(A,(function(e,t){return t?t.toUpperCase():""}))}));function P(e){var t={};return w(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var C=["invoke","success","fail","complete","returnValue"],E={},R={};function M(e,t){Object.keys(t).forEach((function(n){-1!==C.indexOf(n)&&_(t[n])&&(e[n]=function(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(i){D(e[n],i,t).then((function(e){return _(r)&&r(e)||e}))}}})),t}function B(e,t){var n=[];Array.isArray(E.returnValue)&&n.push.apply(n,(0,c.default)(E.returnValue));var r=R[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,c.default)(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function F(e){var t=Object.create(null);Object.keys(E).forEach((function(e){"returnValue"!==e&&(t[e]=E[e].slice())}));var n=R[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function U(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),a=1;a-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return n||void 0}}function le(){if(_(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return ae(e.getSystemInfoSync().language)||"en"}var oe=[];"undefined"!==typeof r&&(r.getLocale=le);var ue={promiseInterceptor:$},ce=Object.freeze({__proto__:null,upx2px:function(t,n){if(0===X&&function(){var t=e.getSystemInfoSync(),n=t.platform,r=t.pixelRatio,i=t.windowWidth;X=i,ee=r,Z="ios"===n}(),t=Number(t),0===t)return 0;var r=t/750*(n||X);return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==ee&&Z?.5:1),t<0?-r:r},getLocale:le,setLocale:function(e){var t=!!_(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,oe.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===oe.indexOf(e)&&oe.push(e)},addInterceptor:function(e,t){"string"===typeof e&&w(t)?M(R[e]||(R[e]={}),t):w(e)&&M(E,e)},removeInterceptor:function(e,t){"string"===typeof e?w(t)?I(R[e],t):delete R[e]:w(e)&&I(E,e)},interceptors:ue});var se,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},he={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(w(t)){var a=!0===i?t:{};for(var l in _(n)&&(n=n(t,a)||{}),t)if(k(n,l)){var o=n[l];_(o)&&(o=o(t[l],t,a)),o?b(o)?a[o]=t[l]:w(o)&&(a[o.name?o.name:l]=o.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(l,"'"))}else-1!==Se.indexOf(l)?_(t[l])&&(a[l]=Ae(e,t[l],r)):i||(a[l]=t[l]);return a}return _(t)&&(t=Ae(e,t,r)),t}function Pe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _(Te.returnValue)&&(t=Te.returnValue(e,t)),Oe(e,t,n,{},r)}function Ce(t,n){if(k(Te,t)){var r=Te[t];return r?function(n,i){var a=r;_(r)&&(a=r(n)),n=Oe(t,n,a.args,a.returnValue);var l=[n];"undefined"!==typeof i&&l.push(i),_(a.name)?t=a.name(n):b(a.name)&&(t=a.name);var o=e[t].apply(e,l);return Q(t)?Pe(t,o,a.returnValue,W(t)):o}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var Ee=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Ee[e]=function(e){return function(t){var n=t.fail,r=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};_(n)&&n(i),_(r)&&r(i)}}(e)}));var Re={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Me=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,n=e.success,r=e.fail,i=e.complete,a=!1;Re[t]?(a={errMsg:"getProvider:ok",service:t,provider:Re[t]},_(n)&&n(a)):(a={errMsg:"getProvider:fail service not found"},_(r)&&r(a)),_(i)&&i(a)}}),Ie=function(){var e;return function(){return e||(e=new h.default),e}}();function Le(e,t,n){return e[t].apply(e,n)}var je,De,Ne,Be=Object.freeze({__proto__:null,$on:function(){return Le(Ie(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Le(Ie(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Le(Ie(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Le(Ie(),"$emit",Array.prototype.slice.call(arguments))}});function Fe(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ue(e){try{return JSON.parse(e)}catch(t){}return e}var $e=[];function Ve(e,t){$e.forEach((function(n){n(e,t)})),$e.length=0}var He=[],ze=e.getAppBaseInfo&&e.getAppBaseInfo();ze||(ze=e.getSystemInfoSync());var qe=ze?ze.host:null,Ke=qe&&"SAAASDK"===qe.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,We=Object.freeze({__proto__:null,shareVideoMessage:Ke,getPushClientId:function(e){w(e)||(e={});var t=function(e){var t={};for(var n in e){var r=e[n];_(r)&&(t[n]=Fe(r),delete e[n])}return t}(e),n=t.success,r=t.fail,i=t.complete,a=_(n),l=_(r),o=_(i);Promise.resolve().then((function(){"undefined"===typeof Ne&&(Ne=!1,je="",De="uniPush is not enabled"),$e.push((function(e,t){var u;e?(u={errMsg:"getPushClientId:ok",cid:e},a&&n(u)):(u={errMsg:"getPushClientId:fail"+(t?" "+t:"")},l&&r(u)),o&&i(u)})),"undefined"!==typeof je&&Ve(je,De)}))},onPushMessage:function(e){-1===He.indexOf(e)&&He.push(e)},offPushMessage:function(e){if(e){var t=He.indexOf(e);t>-1&&He.splice(t,1)}else He.length=0},invokePushCallback:function(e){if("enabled"===e.type)Ne=!0;else if("clientId"===e.type)je=e.cid,De=e.errMsg,Ve(je,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ue(e.message)},n=0;n=0;a--){var l=i[a];if(l.$scope._$vueId===n)return l}for(var o=i.length-1;o>=0;o--)if(r=e(i[o],n),r)return r}(this.$vm,r)),t||(t=this.$vm),i.parent=t}function et(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function tt(e){return function(e){return null!==e&&"object"===(0,s.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,o.default)({},"__v_skip",!0)}),e}var nt=/_(.*)_worklet_factory_/;var rt=Page,it=Component,at=/:/g,lt=S((function(e){return O(e.replace(at,"-"))}));function ot(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return ut("onLoad",e),rt(e)},Page.after=rt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("created",e),it(e)});function ct(e,t,n){t.forEach((function(t){(function e(t,n){if(!n)return!0;if(h.default.options&&Array.isArray(h.default.options[t]))return!0;if(n=n.default||n,_(n))return!!_(n.extendOptions[t])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[t]));if(_(n[t])||Array.isArray(n[t]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return e(t,n)})):void 0})(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function st(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];dt(t).forEach((function(t){return ht(e,t,n)}))}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&_(e[n])&&t.push(n)})),t}function ht(e,t,n){-1!==n.indexOf(t)||k(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function ft(e,t){var n;return t=t.default||t,n=_(t)?t:e.extend(t),t=n.options,[n,t]}function vt(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function pt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function xt(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(i){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"hello-uniapp",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(i){}return w(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||k(n,e)||(n[e]=r[e])})),n}var gt=[String,Number,Boolean,Object,Array,null];function mt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function yt(e,t){var n=e.behaviors,r=e.extends,i=e.mixins,a=e.props;a||(e.props=a=[]);var l=[];return Array.isArray(n)&&n.forEach((function(e){l.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(a)?(a.push("name"),a.push("value")):(a.name={type:String,default:""},a.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),w(r)&&r.props&&l.push(t({properties:bt(r.props,!0)})),Array.isArray(i)&&i.forEach((function(e){w(e)&&e.props&&l.push(t({properties:bt(e.props,!0)}))})),l}function _t(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function bt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:mt(e)}})):w(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(w(n)){var i=n.default;_(i)&&(i=i()),n.type=_t(0,n.type),r[t]={type:-1!==gt.indexOf(n.type)?n.type:null,value:i,observer:mt(t)}}else{var a=_t(0,n);r[t]={type:-1!==gt.indexOf(a)?a:null,observer:mt(t)}}})),r}function wt(e,t,n,r){var i={};return Array.isArray(t)&&t.length&&t.forEach((function(t,a){"string"===typeof t?t?"$event"===t?i["$"+a]=n:"arguments"===t?i["$"+a]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?i["$"+a]=e.__get_value(t.replace("$event.",""),n):i["$"+a]=e.__get_value(t):i["$"+a]=e:i["$"+a]=function(e,t){var n=e;return t.forEach((function(t){var r=t[0],i=t[2];if(r||"undefined"!==typeof i){var a,l=t[1],o=t[3];Number.isInteger(r)?a=r:r?"string"===typeof r&&r&&(a=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):a=n,Number.isInteger(a)?n=i:l?Array.isArray(a)?n=a.find((function(t){return e.__get_value(l,t)===i})):w(a)?n=Object.keys(a).find((function(t){return e.__get_value(l,a[t])===i})):console.error("v-for 暂不支持循环数据:",a):n=a[i],o&&(n=e.__get_value(o,n))}})),n}(e,t)})),i}function kt(e){for(var t={},n=1;n2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,l=!1,o=w(t.detail)&&t.detail.__args__||[t.detail];if(i&&(l=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return l?[t]:o;var u=wt(e,r,t,o),c=[];return n.forEach((function(e){"$event"===e?"__set_model"!==a||i?i&&!l?c.push(o[0]):c.push(t):c.push(t.target.value):Array.isArray(e)&&"o"===e[0]?c.push(kt(e)):"string"===typeof e&&k(u,e)?c.push(u[e]):c.push(e)})),c}function St(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=T,e.preventDefault=T,e.target=e.target||{},k(e,"detail")||(e.detail={}),k(e,"markerId")&&(e.detail="object"===(0,s.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),w(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var i=e.type,a=[];return r.forEach((function(n){var r=n[0],l=n[1],o="^"===r.charAt(0);r=o?r.slice(1):r;var u="~"===r.charAt(0);r=u?r.slice(1):r,l&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(i,r)&&l.forEach((function(n){var r=n[0];if(r){var i=t.$vm;if(i.$options.generic&&(i=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(i)||i),"$emit"===r)return void i.$emit.apply(i,Tt(t.$vm,e,n[1],n[2],o,r));var l=i[r];if(!_(l)){var c="page"===t.$vm.mpType?"Page":"Component",s=t.route||t.is;throw new Error("".concat(c,' "').concat(s,'" does not have a method "').concat(r,'"'))}if(u){if(l.once)return;l.once=!0}var d=Tt(t.$vm,e,n[1],n[2],o,r);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(l.toString())&&(d=d.concat([,,,,,,,,,,e])),a.push(l.apply(i,d))}}))})),"input"===i&&1===a.length&&"undefined"!==typeof a[0]?a[0]:void 0}var At={};var Ot=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Pt(){h.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=h.default.prototype.__call_hook;h.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=function(e){var t=At[e];return delete At[e],t}(n.__id__),delete n.__id__),e.call(this,t,n)}}function Ct(t,n){var r=n.mocks,i=n.initRefs;Pt(),function(){var e={},t={};function n(e){var t=this.$options.propsData.vueId;if(t){var n=t.split(",")[0];e(n)}}h.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},h.default.prototype.$getSSP=function(t,n,r){var i=e[t];if(i){var a=i[n]||[];return r?a:a[0]}},h.default.prototype.$setSSP=function(t,r){var i=0;return n.call(this,(function(n){var a=e[n],l=a[t]=a[t]||[];l.push(r),i=l.length-1})),i},h.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},h.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},h.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(h.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=g(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=g(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=g(),t=e.tokenExpired;return t>Date.now()}}(h.default),h.default.prototype.mpHost="mp-weixin",h.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,o.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(i(this),function(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){k(n,t)&&(e[t]=n[t])}))}(this,r))}}});var a={onLaunch:function(n){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};a.globalData=t.$options.globalData||{};var l=t.$options.methods;return l&&Object.keys(l).forEach((function(e){a[e]=l[e]})),function(e,t,n){var r=e.observable({locale:n||re.getLocale()}),i=[];t.$watchLocale=function(e){i.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,i.forEach((function(t){return t(e)}))}})}(h.default,t,ae(e.getSystemInfoSync().language)||"en"),ct(a,Ot),st(a,t.$options),a}function Et(e){return Ct(e,{mocks:Qe,initRefs:Ze})}function Rt(e){return App(Et(e)),e}var Mt=/[!'()*]/g,It=function(e){return"%"+e.charCodeAt(0).toString(16)},Lt=/%2C/g,jt=function(e){return encodeURIComponent(e).replace(Mt,It).replace(Lt,",")};function Dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var i=[];return r.forEach((function(e){void 0!==e&&(null===e?i.push(t(n)):i.push(t(n)+"="+t(e)))})),i.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Nt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,i=arguments.length>2?arguments[2]:void 0,a=ft(h.default,e),o=(0,l.default)(a,2),u=o[0],c=o[1],s=v({multipleSlots:!0,addGlobalClass:!0},c.options||{});c["mp-weixin"]&&c["mp-weixin"].options&&Object.assign(s,c["mp-weixin"].options);var d={options:s,data:xt(c,h.default.prototype),behaviors:yt(c,Je),properties:bt(c.props,!1,c.__file,s),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};pt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new u(t),vt(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Xe,__e:St}};return c.externalClasses&&(d.externalClasses=c.externalClasses),Array.isArray(c.wxsCallMethods)&&c.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),i?[d,c,u]:n?d:[d,u]}(e,{isPage:Ge,initRelation:Ye},t)}var Bt=["onShow","onHide","onUnload"];function Ft(e){var t=Nt(e,!0),n=(0,l.default)(t,2),r=n[0],i=n[1];return ct(r.methods,Bt,i),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Dt(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},st(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(nt);if(r){var i=r[1];e[n]=t[n],e[i]=t[i]}}))}(r.methods,i.methods),r}function Ut(e){return Component(function(e){return Ft(e)}(e))}function $t(e){return Component(Nt(e))}function Vt(t){var n=Et(t),r=getApp({allowDefault:!0});t.$scope=r;var i=r.globalData;if(i&&Object.keys(n.globalData).forEach((function(e){k(i,e)||(i[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){k(r,e)||(r[e]=n[e])})),_(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function m(e,t){return g.call(e,t)}function y(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var _=/-(\w)/g,b=y((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),w=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,T=y((function(e){return e.replace(k,"-$1").toLowerCase()}));var S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function P(e){for(var t={},n=0;n0),G=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===K),Y=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(z)try{var Z={};Object.defineProperty(Z,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Z)}catch(Nn){}var X=function(){return void 0===V&&(V=!z&&!q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),V},ee=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=C,ae=0,le=function(){this.id=ae++,this.subs=[]};function oe(e){le.SharedObject.targetStack.push(e),le.SharedObject.target=e,le.target=e}function ue(){le.SharedObject.targetStack.pop(),le.SharedObject.target=le.SharedObject.targetStack[le.SharedObject.targetStack.length-1],le.target=le.SharedObject.target}le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){x(this.subs,e)},le.prototype.depend=function(){le.SharedObject.target&&le.SharedObject.target.addDep(this)},le.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!m(i,"default"))l=!1;else if(""===l||l===T(e)){var u=De(String,i.type);(u<0||o0&&(u=e(u,(n||"")+"_"+o),rt(u[0])&&rt(s)&&(d[c]=he(s.text+u[0].text),u.shift()),d.push.apply(d,u)):l(u)?rt(s)?d[c]=he(s.text+u):""!==u&&d.push(he(u)):rt(u)&&rt(s)?d[c]=he(s.text+u.text):(a(t._isVList)&&i(u.tag)&&r(u.key)&&i(n)&&(u.key="__vlist"+n+"_"+o+"__"),d.push(u)));return d}(e):void 0}function rt(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function it(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function at(e){var t=lt(e.$options.inject,e);t&&(ge(!1),Object.keys(t).forEach((function(n){be(e,n,t[n])})),ge(!0))}function lt(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),i=0;i0,l=e?!!e.$stable:!a,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(l&&r&&r!==n&&o===r.$key&&!a&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=st(t,u,e[u]))}else i={};for(var c in t)c in i||(i[c]=dt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),U(i,"$stable",l),U(i,"$key",o),U(i,"$hasNormal",a),i}function st(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:nt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function ht(e,t){var n,r,a,l,u;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,a=e.length;rdocument.createEvent("Event").timeStamp&&(Xt=function(){return en.now()})}function tn(){var e,t;for(Xt(),Yt=!0,Wt.sort((function(e,t){return e.id-t.id})),Zt=0;ZtZt&&Wt[n].id>e.id)n--;Wt.splice(n+1,0,e)}else Wt.push(e);Gt||(Gt=!0,Je(tn))}}(this)},rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Nn){Ne(Nn,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||x(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var an={enumerable:!0,configurable:!0,get:C,set:C};function ln(e,t,n){an.get=function(){return this[t][n]},an.set=function(e){this[t][n]=e},Object.defineProperty(e,n,an)}function on(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||ge(!1);var l=function(a){i.push(a);var l=Ie(a,t,n,e);be(r,a,l),a in e||ln(e,"_props",a)};for(var o in t)l(o);ge(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?C:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){oe();try{return e.call(t,t)}catch(Nn){return Ne(Nn,t,"data()"),{}}finally{ue()}}(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&m(r,a)||F(a)||ln(e,"_data",a)}_e(t,!0)}(e):_e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=X();for(var i in t){var a=t[i],l="function"===typeof a?a:a.get;0,r||(n[i]=new rn(e,l||C,C,un)),i in e||cn(e,i,a)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===u.call(e)}(e)&&e.test(t)}function yn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var l=n[a];if(l){var o=gn(l.componentOptions);o&&!t(o)&&_n(n,a,r,i)}}}function _n(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,x(n,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=fn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Re(vn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Vt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=ot(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return Lt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Lt(e,t,n,r,i,!0)};var a=r&&r.data;be(e,"$attrs",a&&a.attrs||n,null,!0),be(e,"$listeners",t._parentListeners||n,null,!0)}(t),Kt(t,"beforeCreate"),!t._$fallback&&at(t),on(t),!t._$fallback&&it(t),!t._$fallback&&Kt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(pn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=we,e.prototype.$delete=ke,e.prototype.$watch=function(e,t,n){if(c(t))return hn(this,e,t,n);n=n||{},n.user=!0;var r=new rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(i){Ne(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(pn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i1?A(n):n;for(var r=A(arguments,1),i='event handler for "'+e+'"',a=0,l=n.length;aparseInt(this.max)&&_n(o,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},kn={KeepAlive:wn};(function(e){var t={get:function(){return N}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:O,mergeOptions:Re,defineReactive:be},e.set=we,e.delete=ke,e.nextTick=Je,e.observable=function(e){return _e(e),e},e.options=Object.create(null),j.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,kn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Re(this.options,e),this}}(e),xn(e),function(e){j.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)})(pn),Object.defineProperty(pn.prototype,"$isServer",{get:X}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:Ot}),pn.version="2.6.11";var Tn="[object Array]",Sn="[object Object]";function An(e,t){var n={};return function e(t,n){if(t===n)return;var r=Pn(t),i=Pn(n);if(r==Sn&&i==Sn){if(Object.keys(t).length>=Object.keys(n).length)for(var a in n){var l=t[a];void 0===l?t[a]=null:e(l,n[a])}}else r==Tn&&i==Tn&&t.length>=n.length&&n.forEach((function(n,r){e(t[r],n)}))}(e,t),function e(t,n,r,i){if(t===n)return;var a=Pn(t),l=Pn(n);if(a==Sn)if(l!=Sn||Object.keys(t).length1&&(t[r[0].trim()]=r[1].trim())}})),t}));var jn=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Dn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];pn.prototype.__patch__=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=function(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Rn))}(this)}catch(o){console.error(o)}i.__webviewId__=r.data.__webviewId__;var a=Object.create(null);Object.keys(i).forEach((function(e){a[e]=r.data[e]}));var l=!1===this.$shouldDiffData?i:An(i,a);Object.keys(l).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"hello-uniapp",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(l)),this.__next_tick_pending=!0,r.setData(l,(function(){n.__next_tick_pending=!1,Cn(n)}))):Cn(this)}},pn.prototype.$mount=function(e,t){return function(e,t,n){return e.mpType?("app"===e.mpType&&(e.$options.render=Mn),e.$options.render||(e.$options.render=Mn),!e._$fallback&&Kt(e,"beforeMount"),new rn(e,(function(){e._update(e._render(),n)}),C,{before:function(){e._isMounted&&!e._isDestroyed&&Kt(e,"beforeUpdate")}},!0),n=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Dn.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Dn.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Dn}(pn),function(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,e,{__args__:A(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return En(this,e)},jn.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=it,e.prototype.__init_injections=at,e.prototype.__call_hook=function(e,t){var n=this;oe();var r,i=n.$options[e],a=e+" hook";if(i)for(var l=0,o=i.length;l1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=o(t);return l.interceptor.request((function(t,n){var i=e.getStorageSync("token");if(a.auth&&!i)throw e.hideLoading(),"暂未登录,已阻止此次API请求: '".concat(a.url,"'");return i&&l.setConfig((function(e){e.header.token=i})),""!==r&&e.showLoading({title:r,mask:!0}),t})),l.interceptor.response((function(t){if(e.hideLoading(),0===t.code&&i&&e.showToast({title:t.msg||"请求出错,稍后重试",icon:"none",duration:1e3,mask:!0}),401===t.code)throw"登录已过期或注销,已阻止请求: '".concat(a.url,"'");return t})),l.request({url:a.url,data:n,method:a.method})};var i=r(n("0c64")),a=r(n("bc6a")),l=new i.default;function o(e){var t=e.split("."),n=a.default;return t.forEach((function(e){n=n[e]})),n}}).call(this,n("543d")["default"])},"6b58":function(e,t,n){var r=n("7037")["default"],i=n("3c96");e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},"6b69":function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("278c")),a=r(n("448a")),l=r(n("1626")),o=r(n("3f20")),u=r(n("3d52")),c=r(n("4581")),s={props:{defaultPageNo:{type:[Number,String],default:l.default.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:l.default.gc("defaultPageSize",10),validator:function(e){return e<=0&&l.default.consoleErr("default-page-size必须大于0!"),e>0}},dataKey:{type:[Number,String,Object],default:function(){return l.default.gc("dataKey",null)}},useCache:{type:Boolean,default:l.default.gc("useCache",!1)},cacheKey:{type:String,default:l.default.gc("cacheKey",null)},cacheMode:{type:String,default:l.default.gc("cacheMode",u.default.CacheMode.Default)},autowireListName:{type:String,default:l.default.gc("autowireListName","")},autowireQueryName:{type:String,default:l.default.gc("autowireQueryName","")},auto:{type:Boolean,default:l.default.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:l.default.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:l.default.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:l.default.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:l.default.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:l.default.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:l.default.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:l.default.gc("localPagingLoadingTime",200)},useChatRecordMode:{type:Boolean,default:l.default.gc("useChatRecordMode",!1)},autoHideKeyboardWhenChat:{type:Boolean,default:l.default.gc("autoHideKeyboardWhenChat",!0)},concat:{type:Boolean,default:l.default.gc("concat",!0)},value:{type:Array,default:function(){return[]}}},data:function(){return{currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1}},computed:{pageSize:function(){return this.defaultPageSize},finalConcat:function(){return this.concat&&this.privateConcat},finalUseCache:function(){return this.useCache&&!this.cacheKey&&l.default.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey:function(){return this.cacheKey?"".concat(o.default.cachePrefixKey,"-").concat(this.cacheKey):null},isFirstPage:function(){return this.pageNo===this.defaultPageNo}},watch:{totalData:function(e,t){this._totalDataChange(e,t)},currentData:function(e,t){this._currentDataChange(e,t)},useChatRecordMode:function(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler:function(e){this.realTotalData=e},immediate:!0}},methods:{complete:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.customNoMore=-1,this.addData(e,t)},completeByKey:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise((function(e){return e()}))):(this.customNoMore=-1,this.addData(e,n))},completeByTotal:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("undefined"==t)this.customNoMore=-1;else{var i=this._checkDataType(e,r,!1);if(e=i.data,r=i.success,t>=0&&r)return new Promise((function(i,a){n.$nextTick((function(){var l=!1,o=n.pageNo==n.defaultPageNo?0:n.realTotalData.length,u=n.privateConcat?e.length:0,c=o+u-t;c>=0&&(l=!0,c=n.defaultPageSize-c,n.privateConcat&&c>0&&c2&&void 0!==arguments[2])||arguments[2];return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,n)},addData:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);var r=l.default.getTime(),i=r-this.requestTimeStamp,a=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(a=Math.max(400,a));var o=this.requestTimeStamp>0&&i0?t.delay:o)})),new Promise((function(e,n){t.dataPromiseResultMap.complete={resolve:e,reject:n}}))},addDataFromTop:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=[].concat((0,a.default)(e),(0,a.default)(this.totalData)),n&&l.default.delay((function(){t._scrollToTop(r)}))},resetTotalData:function(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},addChatRecordData:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.totalData=[].concat((0,a.default)(this.totalData),(0,a.default)(e)),n&&l.default.delay((function(){t._scrollToBottom(r)})))},setLocalPaging:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.isLocalPaging=!0,this.$nextTick((function(){t._addData(e,n,!0)})),new Promise((function(e,n){t.dataPromiseResultMap.localPaging={resolve:e,reject:n}}))},reload:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showRefresherWhenReload;return t&&(this.privateShowRefresherWhenReload=t,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick((function(){e._preReload(t,!1)})),new Promise((function(t,n){e.dataPromiseResultMap.reload={resolve:t,reject:n}}))},refresh:function(){var e=this;if(!this.realTotalData.length)return this.reload();var t=this.pageNo-this.defaultPageNo+1;if(t>=1){this.loading=!0,this.privateConcat=!1;var n=t*this.pageSize;this.currentRefreshPageSize=n,this._emitQuery(this.defaultPageNo,n,u.default.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,n)}return new Promise((function(t,n){e.dataPromiseResultMap.reload={resolve:t,reject:n}}))},updateCache:function(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean:function(){this._reload(!0),this._addData([],!0,!1)},clear:function(){this.clean()},doChatRecordLoadMore:function(){this.useChatRecordMode&&this._onLoadingMore("click")},_preReload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showRefresherWhenReload,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.isUserReload=!0,this.loadingType=u.default.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t)},_reload:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,n?u.default.QueryFrom.UserPullDown:u.default.QueryFrom.Reload);var r=0;if(l.default.delay(this._callMyParentQuery,r),!t&&this.autoScrollToTopWhenReload){var i=!0;i&&this._scrollToTop(!1)}}},_addData:function(e,t,n){var r=this;this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();var i=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(l.default.setRefesrherTime(l.default.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!n&&i&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick((function(){l.default.delay((function(){r.listRendering=!1}))})));var a=this._checkDataType(e,t,n);e=a.data,t=a.success;var c=o.default.delayTime;if(this.loadingForNow=!1,l.default.delay((function(){r.pagingLoaded=!0,r.$nextTick((function(){!n&&r._refresherEnd(c>0,!0,i)}))})),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===u.default.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t)if(!1===this.privateConcat&&this.loadingStatus===u.default.More.NoMore||(this.loadingStatus=u.default.More.Default),n){this.totalLocalPagingList=e;var s=this.defaultPageNo,d=this.queryFrom!==u.default.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(s,d,0,(function(e){r.completeByTotal(e,r.totalLocalPagingList.length)}))}else{l.default.delay((function(){r._currentDataChange(e,r.currentData),r._callDataPromise(!0,r.totalData)}),0)}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=u.default.More.Fail,this.loadingType===u.default.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(r=!1),this.realTotalData=e,r&&(this.$emit("input",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick((function(){l.default.delay((function(){n._getNodeClientRect(".zp-paging-container-content").then((function(e){e&&n.$emit("contentHeightChanged",e[0].height)}))}),o.default.delayTime*(n.isIos?1:3))})))},_currentDataChange:function(e,t){var n=this;if(e=(0,a.default)(e),this.finalUseVirtualList&&this._setCellIndex(e,0===this.totalData.length),this.useChatRecordMode&&e.reverse(),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?1!==this.customNoMore&&e.length||(this.loadingStatus=u.default.More.NoMore):(!e.length||e.length&&e.length0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.autowireQueryName){if(-1===this.myParentQuery){var n=l.default.getParent(this.$parent);n&&n[this.autowireQueryName]&&(this.myParentQuery=n[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery:function(e,t,n){this.queryFrom=n,this.requestTimeStamp=l.default.getTime();var r=this.realTotalData.slice(-1),o=(0,i.default)(r,1),u=o[0];this.$emit.apply(this,["query"].concat((0,a.default)(c.default._handleQuery(e,t,n,u||null))))},_callDataPromise:function(e,t){for(var n in this.dataPromiseResultMap){var r=this.dataPromiseResultMap[n];e?r&&r.resolve({totalList:t,noMore:this.loadingStatus===u.default.More.NoMore}):r&&r.reject()}},_checkDataType:function(e,t,n){var r=Object.prototype.toString.call(e);return"[object Boolean]"===r?(t=e,e=[]):"[object Array]"!==r&&(e=[],"[object Undefined]"!==r&&"[object Null]"!==r&&l.default.consoleErr("".concat(n?"setLocalPaging":"complete","参数类型不正确,第一个参数类型必须为Array!"))),{data:e,success:t}}}};t.default=s}).call(this,n("543d")["default"])},"6cc8":function(e){e.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},"6f8f":function(e,t){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports["default"]=e.exports},7037:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"71e9":function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("8e7c")),a=r(n("bcdb")),l=r(n("dfdf")),o={en:i.default,"zh-Hans":a.default,"zh-Hant":l.default};t.default=o},"760a":function(e){e.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"7a1d":function(e){e.exports=JSON.parse('{"uni-load-more.contentdown":"上拉顯示更多","uni-load-more.contentrefresh":"正在加載...","uni-load-more.contentnomore":"沒有更多數據了"}')},"7cb3":function(e){e.exports=JSON.parse('{"uni-load-more.contentdown":"上拉显示更多","uni-load-more.contentrefresh":"正在加载...","uni-load-more.contentnomore":"没有更多数据了"}')},"7e96":function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1626")),a=r(n("3f20")),l=r(n("3d52")),o={props:{refresherThemeStyle:{type:String,default:i.default.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:function(){return i.default.gc("refresherImgStyle",{})}},refresherTitleStyle:{type:Object,default:function(){return i.default.gc("refresherTitleStyle",{})}},refresherUpdateTimeStyle:{type:Object,default:function(){return i.default.gc("refresherUpdateTimeStyle",{})}},watchRefresherTouchmove:{type:Boolean,default:i.default.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:i.default.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:i.default.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:i.default.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:i.default.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:i.default.gc("refresherCompleteDuration",300)},refresherCompleteScrollable:{type:Boolean,default:i.default.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:i.default.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:i.default.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:i.default.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:i.default.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:i.default.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:i.default.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:i.default.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:i.default.gc("refresherCompleteText",null)},refresherDefaultImg:{type:String,default:i.default.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:i.default.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:i.default.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:i.default.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:i.default.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:i.default.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:i.default.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:i.default.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:i.default.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:i.default.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:i.default.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:i.default.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:i.default.gc("refresherOutRate",.65)},refresherPullRate:{type:Number,default:i.default.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:i.default.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:i.default.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:i.default.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:i.default.gc("refresherNoTransform",!1)}},data:function(){return{R:l.default.Refresher,refresherStatus:l.default.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1}},watch:{refresherDefaultStyle:{handler:function(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus:function(e){e===l.default.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&e===l.default.Refresher.ReleaseToRefresh&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled:function(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp:function(){return 1e3/this.refresherFps},finalRefresherEnabled:function(){return!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold:function(){var e=this.refresherThreshold,t=!1;return"80rpx"===e&&(t=!0,this.showRefresherUpdateTime&&(e="120rpx")),t&&this.customRefresherHeight>0?this.customRefresherHeight:i.default.convertToPx(e)},finalRefresherFixedBacHeight:function(){return i.default.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle:function(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate:function(){var e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate:function(){var e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform:function(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload:function(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered:function(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher:function(){var e=this,t=this.finalRefresherEnabled&&this.useCustomRefresher;return-1===this.customRefresherHeight&&t&&i.default.delay((function(){e.$nextTick((function(){e._updateCustomRefresherHeight()}))})),t},hasTouchmove:function(){return this.watchRefresherTouchmove}},methods:{endRefresh:function(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewDisableBounce({bounce:!0})},handleRefresherStatusChanged:function(e){this.refresherStatusChangedFunc=e},_onRefresh:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=l.default.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore:function(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart:function(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=l.default.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove:function(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,this.refresherStatus=e>=this.finalRefresherThreshold?l.default.Refresher.ReleaseToRefresh:this.refresherStatus=l.default.Refresher.Default,this.moveDis=e},_handleRefresherTouchend:function(e){var t=this;this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;var n=this.finalRefresherThreshold;e>=n&&this.refresherStatus===l.default.Refresher.ReleaseToRefresh?(i.default.delay((function(){t._emitTouchmove({pullingDistance:n,dy:t.moveDis-n})}),.1),this.moveDis=n,this.refresherStatus=l.default.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=i.default.delay((function(){t.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart:function(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(e.hideKeyboard(),this.$emit("hidedKeyboard"))},_handleScrollViewDisableBounce:function(e){var t=e.bounce;this.usePageScroll||this.scrollToTopBounceEnabled||(this.refresherTransition="",this.scrollEnable=t)},_handleWxsPullingDownStatusChange:function(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown:function(e){var t=e.moveDis,n=e.diffDis;this._emitTouchmove({pullingDistance:t,dy:n})},_handleTouchDirectionChange:function(e){var t=e.direction;this.$emit("touchDirectionChange",t)},_handlePropUpdate:function(){this.wxsPropType=i.default.getTime().toString()},_refresherEnd:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(this.loadingType===l.default.LoadingType.Refresher){var u=n&&(r||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,c=u>0?l.default.Refresher.Complete:l.default.Refresher.Default;if(this.finalShowRefresherWhenReload){var s=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,s>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=i.default.delay((function(){e.refresherStatus=c}),this.refresherStatus!==l.default.Refresher.Default&&c===l.default.Refresher.Default?this.refresherCompleteDuration:0),u>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=i.default.delay((function(){var t=1,r=e.refresherEndBounceEnabled&&n?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";n&&(t=e.refresherEndBounceEnabled?e.refresherCompleteDuration/1e3:e.refresherCompleteDuration/3e3),e.refresherTransition="transform ".concat(n?t:e.refresherDefaultDuration/1e3,"s ").concat(r),e.wxsPropType=e.refresherTransition+"end"+i.default.getTime(),e.moveDis=0,c===l.default.Refresher.Complete&&(e.refresherCompleteSubTimeout&&(clearTimeout(e.refresherCompleteSubTimeout),e.refresherCompleteSubTimeout=null),e.refresherCompleteSubTimeout=i.default.delay((function(){e.$nextTick((function(){e.refresherStatus=l.default.Refresher.Default,e.isRefresherInComplete=!1}))}),800*t)),e._emitTouchmove({pullingDistance:0,dy:e.moveDis})}),u)}o&&(i.default.delay((function(){e.loading=!1}),t?a.default.delayTime:0),r&&this._onRestore())},_doRefresherRefreshAnimate:function(){this._cleanRefresherCompleteTimeout();var e=!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&"80rpx"===this.refresherThreshold;e?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+i.default.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=l.default.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight:function(){var e=this;this._getNodeClientRect(".zp-custom-refresher-slot-view").then((function(t){e.customRefresherHeight=t?t[0].height:0,e.showCustomRefresher=e.customRefresherHeight>0,e.doRefreshAnimateAfter&&(e.doRefreshAnimateAfter=!1,e._doRefresherRefreshAnimate())}))},_emitTouchmove:function(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout:function(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout:function(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}};t.default=o}).call(this,n("543d")["default"])},"7ec2":function(e,t,n){var r=n("7037")["default"];function i(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(R){d=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),o=new P(r||[]);return l(a,"_invoke",{value:T(e,n,o)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(R){return{type:"throw",arg:R}}}t.wrap=h;var v={};function p(){}function x(){}function g(){}var m={};d(m,u,(function(){return this}));var y=Object.getPrototypeOf,_=y&&y(y(C([])));_&&_!==n&&a.call(_,u)&&(m=_);var b=g.prototype=p.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var n;l(this,"_invoke",{value:function(i,l){function o(){return new t((function(n,o){(function n(i,l,o,u){var c=f(e[i],e,l);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(d).then((function(e){s.value=e,o(s)}),(function(e){return n("throw",e,o,u)}))}u(c.arg)})(i,l,n,o)}))}return n=n?n.then(o,o):o()}})}function T(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return E()}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var o=S(l,n);if(o){if(o===v)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var o=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(o&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},t}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},8465:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2eee")),a=r(n("ed6d")),l=r(n("6b58")),o=r(n("36c6")),u=r(n("c973")),c=r(n("970b")),s=r(n("5bc3")),d=r(n("7037"));function h(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,o.default)(e);if(t){var i=(0,o.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var f={email:/^\S+?@\S+?\.\S+?$/,idcard:/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i")},v={int:"integer",bool:"boolean",double:"number",long:"number",password:"string"};function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=["label"];n.forEach((function(t){void 0===e[t]&&(e[t]="")}));var r=t;for(var i in e){var a=new RegExp("{"+i+"}");r=r.replace(a,e[i])}return r}var x={integer:function(e){return x.number(e)&&parseInt(e,10)===e},string:function(e){return"string"===typeof e},number:function(e){return!isNaN(e)&&"number"===typeof e},boolean:function(e){return"boolean"===typeof e},float:function(e){return x.number(e)&&!x.integer(e)},array:function(e){return Array.isArray(e)},object:function(e){return"object"===(0,d.default)(e)&&!x.array(e)},date:function(e){return e instanceof Date},timestamp:function(e){return!(!this.integer(e)||Math.abs(e).toString().length>16)},file:function(e){return"string"===typeof e.url},email:function(e){return"string"===typeof e&&!!e.match(f.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(f.url)},pattern:function(e,t){try{return new RegExp(e).test(t)}catch(n){return!1}},method:function(e){return"function"===typeof e},idcard:function(e){return"string"===typeof e&&!!e.match(f.idcard)},"url-https":function(e){return this.url(e)&&e.startsWith("https://")},"url-scheme":function(e){return e.startsWith("://")},"url-web":function(e){return!1}},g=function(){function e(t){(0,c.default)(this,e),this._message=t}return(0,s.default)(e,[{key:"validateRule",value:function(){var e=(0,u.default)(i.default.mark((function e(t,n,r,a,l){var o,u,c,s,d,h,f,v,p;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=null,u=n.rules,c=u.findIndex((function(e){return e.required})),!(c<0)){e.next=8;break}if(null!==r&&void 0!==r){e.next=6;break}return e.abrupt("return",o);case 6:if("string"!==typeof r||r.length){e.next=8;break}return e.abrupt("return",o);case 8:if(s=this._message,void 0!==u){e.next=11;break}return e.abrupt("return",s["default"]);case 11:d=0;case 12:if(!(d-1&&(u=!0),u?null:p(e,i||n["enum"])},rangeNumber:function(e,t,n){if(!x.number(t))return p(e,e.errorMessage||n.pattern.mismatch);var r=e.minimum,i=e.maximum,a=e.exclusiveMinimum,l=e.exclusiveMaximum,o=a?t<=r:t=i:t>i;return void 0!==r&&o?p(e,e.errorMessage||n["number"][a?"exclusiveMinimum":"minimum"]):void 0!==i&&u?p(e,e.errorMessage||n["number"][l?"exclusiveMaximum":"maximum"]):void 0!==r&&void 0!==i&&(o||u)?p(e,e.errorMessage||n["number"].range):null},rangeLength:function(e,t,n){if(!x.string(t)&&!x.array(t))return p(e,e.errorMessage||n.pattern.mismatch);var r=e.minLength,i=e.maxLength,a=t.length;return void 0!==r&&ai?p(e,e.errorMessage||n["length"].maxLength):void 0!==r&&void 0!==i&&(ai)?p(e,e.errorMessage||n["length"].range):null},pattern:function(e,t,n){return x["pattern"](e.pattern,t)?null:p(e,e.errorMessage||n.pattern.mismatch)},format:function(e,t,n){var r=Object.keys(x),i=v[e.format]?v[e.format]:e.format||e.arrayType;return r.indexOf(i)>-1&&!x[i](t)?p(e,e.errorMessage||n.typeError):null},arrayTypeFormat:function(e,t,n){if(!Array.isArray(t))return p(e,e.errorMessage||n.typeError);for(var r=0;r1){var n=t.reduce((function(e,t){return e+"#".concat(t)}),"_formdata_");return n}return t[0]||e};t.isRealName=function(e){return/^_formdata_#*/.test(e)};t.rawData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n={};for(var r in t){var i=o(r);u(n,i,t[r])}return n};var o=function(e){var t=e.replace("_formdata_#","");return t=t.split("#").map((function(e){return d(e)?Number(e):e})),t};t.name2arr=o;var u=function(e,t,n){return"object"!==(0,i.default)(e)||c(t).reduce((function(e,t,r,i){return r===i.length-1?(e[t]=n,null):(t in e||(e[t]=/^[0-9]{1,}$/.test(i[r+1])?[]:{}),e[t])}),e),e};function c(e){return Array.isArray(e)?e:e.replace(/\[/g,".").replace(/\]/g,"").split(".")}t.objSet=u;var s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r=c(t),i=r.reduce((function(e,t){return(e||{})[t]}),e);return i&&void 0===i?n:i};t.objGet=s;var d=function(e){return!isNaN(Number(e))};t.isNumber=d;var h=function(e){return"boolean"===typeof e};t.isBoolean=h;t.isRequiredField=function(e){for(var t=!1,n=0;n1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=n?e.createSelectorQuery().in(!0===n?this:n):e.createSelectorQuery();return r?i.select(t).scrollOffset():i.select(t).boundingClientRect(),new Promise((function(e,t){i.exec((function(t){e(!(!t||""==t||void 0==t||!t.length)&&t)}))}))},_updateLeftAndRightWidth:function(e,t){var n=this;this.$nextTick((function(){setTimeout((function(){["left","right"].map((function(r){n._getNodeClientRect(".".concat(t,"-").concat(r)).then((function(t){n.$set(e,r,t?t[0].width+"px":"0px")}))}))}),0)}))},_getCssSafeAreaInsetBottom:function(e){var t=this;this._getNodeClientRect(".zp-safe-area-inset-bottom").then((function(n){t.cssSafeAreaInsetBottom=n?n[0].height:-1,n&&e&&e()}))}}};t.default=n}).call(this,n("543d")["default"])},a128:function(e,t,n){var r=n("36c6"),i=n("4a4b"),a=n("c5f7"),l=n("b17c");function o(t){var n="function"===typeof Map?new Map:void 0;return e.exports=o=function(e){if(null===e||!a(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return l(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a12b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={id:"2852637",name:"uniui图标库",font_family:"uniicons",css_prefix_text:"uniui-",description:"",glyphs:[{icon_id:"25027049",name:"yanse",font_class:"color",unicode:"e6cf",unicode_decimal:59087},{icon_id:"25027048",name:"wallet",font_class:"wallet",unicode:"e6b1",unicode_decimal:59057},{icon_id:"25015720",name:"settings-filled",font_class:"settings-filled",unicode:"e6ce",unicode_decimal:59086},{icon_id:"25015434",name:"shimingrenzheng-filled",font_class:"auth-filled",unicode:"e6cc",unicode_decimal:59084},{icon_id:"24934246",name:"shop-filled",font_class:"shop-filled",unicode:"e6cd",unicode_decimal:59085},{icon_id:"24934159",name:"staff-filled-01",font_class:"staff-filled",unicode:"e6cb",unicode_decimal:59083},{icon_id:"24932461",name:"VIP-filled",font_class:"vip-filled",unicode:"e6c6",unicode_decimal:59078},{icon_id:"24932462",name:"plus_circle_fill",font_class:"plus-filled",unicode:"e6c7",unicode_decimal:59079},{icon_id:"24932463",name:"folder_add-filled",font_class:"folder-add-filled",unicode:"e6c8",unicode_decimal:59080},{icon_id:"24932464",name:"yanse-filled",font_class:"color-filled",unicode:"e6c9",unicode_decimal:59081},{icon_id:"24932465",name:"tune-filled",font_class:"tune-filled",unicode:"e6ca",unicode_decimal:59082},{icon_id:"24932455",name:"a-rilidaka-filled",font_class:"calendar-filled",unicode:"e6c0",unicode_decimal:59072},{icon_id:"24932456",name:"notification-filled",font_class:"notification-filled",unicode:"e6c1",unicode_decimal:59073},{icon_id:"24932457",name:"wallet-filled",font_class:"wallet-filled",unicode:"e6c2",unicode_decimal:59074},{icon_id:"24932458",name:"paihangbang-filled",font_class:"medal-filled",unicode:"e6c3",unicode_decimal:59075},{icon_id:"24932459",name:"gift-filled",font_class:"gift-filled",unicode:"e6c4",unicode_decimal:59076},{icon_id:"24932460",name:"fire-filled",font_class:"fire-filled",unicode:"e6c5",unicode_decimal:59077},{icon_id:"24928001",name:"refreshempty",font_class:"refreshempty",unicode:"e6bf",unicode_decimal:59071},{icon_id:"24926853",name:"location-ellipse",font_class:"location-filled",unicode:"e6af",unicode_decimal:59055},{icon_id:"24926735",name:"person-filled",font_class:"person-filled",unicode:"e69d",unicode_decimal:59037},{icon_id:"24926703",name:"personadd-filled",font_class:"personadd-filled",unicode:"e698",unicode_decimal:59032},{icon_id:"24923351",name:"back",font_class:"back",unicode:"e6b9",unicode_decimal:59065},{icon_id:"24923352",name:"forward",font_class:"forward",unicode:"e6ba",unicode_decimal:59066},{icon_id:"24923353",name:"arrowthinright",font_class:"arrow-right",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923353",name:"arrowthinright",font_class:"arrowthinright",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrow-left",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrowthinleft",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923355",name:"arrowthinup",font_class:"arrow-up",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923355",name:"arrowthinup",font_class:"arrowthinup",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923356",name:"arrowthindown",font_class:"arrow-down",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923356",name:"arrowthindown",font_class:"arrowthindown",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923349",name:"arrowdown",font_class:"bottom",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923349",name:"arrowdown",font_class:"arrowdown",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923346",name:"arrowright",font_class:"right",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923346",name:"arrowright",font_class:"arrowright",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923347",name:"arrowup",font_class:"top",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923347",name:"arrowup",font_class:"arrowup",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923348",name:"arrowleft",font_class:"left",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923348",name:"arrowleft",font_class:"arrowleft",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923334",name:"eye",font_class:"eye",unicode:"e651",unicode_decimal:58961},{icon_id:"24923335",name:"eye-filled",font_class:"eye-filled",unicode:"e66a",unicode_decimal:58986},{icon_id:"24923336",name:"eye-slash",font_class:"eye-slash",unicode:"e6b3",unicode_decimal:59059},{icon_id:"24923337",name:"eye-slash-filled",font_class:"eye-slash-filled",unicode:"e6b4",unicode_decimal:59060},{icon_id:"24923305",name:"info-filled",font_class:"info-filled",unicode:"e649",unicode_decimal:58953},{icon_id:"24923299",name:"reload-01",font_class:"reload",unicode:"e6b2",unicode_decimal:59058},{icon_id:"24923195",name:"mic_slash_fill",font_class:"micoff-filled",unicode:"e6b0",unicode_decimal:59056},{icon_id:"24923165",name:"map-pin-ellipse",font_class:"map-pin-ellipse",unicode:"e6ac",unicode_decimal:59052},{icon_id:"24923166",name:"map-pin",font_class:"map-pin",unicode:"e6ad",unicode_decimal:59053},{icon_id:"24923167",name:"location",font_class:"location",unicode:"e6ae",unicode_decimal:59054},{icon_id:"24923064",name:"starhalf",font_class:"starhalf",unicode:"e683",unicode_decimal:59011},{icon_id:"24923065",name:"star",font_class:"star",unicode:"e688",unicode_decimal:59016},{icon_id:"24923066",name:"star-filled",font_class:"star-filled",unicode:"e68f",unicode_decimal:59023},{icon_id:"24899646",name:"a-rilidaka",font_class:"calendar",unicode:"e6a0",unicode_decimal:59040},{icon_id:"24899647",name:"fire",font_class:"fire",unicode:"e6a1",unicode_decimal:59041},{icon_id:"24899648",name:"paihangbang",font_class:"medal",unicode:"e6a2",unicode_decimal:59042},{icon_id:"24899649",name:"font",font_class:"font",unicode:"e6a3",unicode_decimal:59043},{icon_id:"24899650",name:"gift",font_class:"gift",unicode:"e6a4",unicode_decimal:59044},{icon_id:"24899651",name:"link",font_class:"link",unicode:"e6a5",unicode_decimal:59045},{icon_id:"24899652",name:"notification",font_class:"notification",unicode:"e6a6",unicode_decimal:59046},{icon_id:"24899653",name:"staff",font_class:"staff",unicode:"e6a7",unicode_decimal:59047},{icon_id:"24899654",name:"VIP",font_class:"vip",unicode:"e6a8",unicode_decimal:59048},{icon_id:"24899655",name:"folder_add",font_class:"folder-add",unicode:"e6a9",unicode_decimal:59049},{icon_id:"24899656",name:"tune",font_class:"tune",unicode:"e6aa",unicode_decimal:59050},{icon_id:"24899657",name:"shimingrenzheng",font_class:"auth",unicode:"e6ab",unicode_decimal:59051},{icon_id:"24899565",name:"person",font_class:"person",unicode:"e699",unicode_decimal:59033},{icon_id:"24899566",name:"email-filled",font_class:"email-filled",unicode:"e69a",unicode_decimal:59034},{icon_id:"24899567",name:"phone-filled",font_class:"phone-filled",unicode:"e69b",unicode_decimal:59035},{icon_id:"24899568",name:"phone",font_class:"phone",unicode:"e69c",unicode_decimal:59036},{icon_id:"24899570",name:"email",font_class:"email",unicode:"e69e",unicode_decimal:59038},{icon_id:"24899571",name:"personadd",font_class:"personadd",unicode:"e69f",unicode_decimal:59039},{icon_id:"24899558",name:"chatboxes-filled",font_class:"chatboxes-filled",unicode:"e692",unicode_decimal:59026},{icon_id:"24899559",name:"contact",font_class:"contact",unicode:"e693",unicode_decimal:59027},{icon_id:"24899560",name:"chatbubble-filled",font_class:"chatbubble-filled",unicode:"e694",unicode_decimal:59028},{icon_id:"24899561",name:"contact-filled",font_class:"contact-filled",unicode:"e695",unicode_decimal:59029},{icon_id:"24899562",name:"chatboxes",font_class:"chatboxes",unicode:"e696",unicode_decimal:59030},{icon_id:"24899563",name:"chatbubble",font_class:"chatbubble",unicode:"e697",unicode_decimal:59031},{icon_id:"24881290",name:"upload-filled",font_class:"upload-filled",unicode:"e68e",unicode_decimal:59022},{icon_id:"24881292",name:"upload",font_class:"upload",unicode:"e690",unicode_decimal:59024},{icon_id:"24881293",name:"weixin",font_class:"weixin",unicode:"e691",unicode_decimal:59025},{icon_id:"24881274",name:"compose",font_class:"compose",unicode:"e67f",unicode_decimal:59007},{icon_id:"24881275",name:"qq",font_class:"qq",unicode:"e680",unicode_decimal:59008},{icon_id:"24881276",name:"download-filled",font_class:"download-filled",unicode:"e681",unicode_decimal:59009},{icon_id:"24881277",name:"pengyouquan",font_class:"pyq",unicode:"e682",unicode_decimal:59010},{icon_id:"24881279",name:"sound",font_class:"sound",unicode:"e684",unicode_decimal:59012},{icon_id:"24881280",name:"trash-filled",font_class:"trash-filled",unicode:"e685",unicode_decimal:59013},{icon_id:"24881281",name:"sound-filled",font_class:"sound-filled",unicode:"e686",unicode_decimal:59014},{icon_id:"24881282",name:"trash",font_class:"trash",unicode:"e687",unicode_decimal:59015},{icon_id:"24881284",name:"videocam-filled",font_class:"videocam-filled",unicode:"e689",unicode_decimal:59017},{icon_id:"24881285",name:"spinner-cycle",font_class:"spinner-cycle",unicode:"e68a",unicode_decimal:59018},{icon_id:"24881286",name:"weibo",font_class:"weibo",unicode:"e68b",unicode_decimal:59019},{icon_id:"24881288",name:"videocam",font_class:"videocam",unicode:"e68c",unicode_decimal:59020},{icon_id:"24881289",name:"download",font_class:"download",unicode:"e68d",unicode_decimal:59021},{icon_id:"24879601",name:"help",font_class:"help",unicode:"e679",unicode_decimal:59001},{icon_id:"24879602",name:"navigate-filled",font_class:"navigate-filled",unicode:"e67a",unicode_decimal:59002},{icon_id:"24879603",name:"plusempty",font_class:"plusempty",unicode:"e67b",unicode_decimal:59003},{icon_id:"24879604",name:"smallcircle",font_class:"smallcircle",unicode:"e67c",unicode_decimal:59004},{icon_id:"24879605",name:"minus-filled",font_class:"minus-filled",unicode:"e67d",unicode_decimal:59005},{icon_id:"24879606",name:"micoff",font_class:"micoff",unicode:"e67e",unicode_decimal:59006},{icon_id:"24879588",name:"closeempty",font_class:"closeempty",unicode:"e66c",unicode_decimal:58988},{icon_id:"24879589",name:"clear",font_class:"clear",unicode:"e66d",unicode_decimal:58989},{icon_id:"24879590",name:"navigate",font_class:"navigate",unicode:"e66e",unicode_decimal:58990},{icon_id:"24879591",name:"minus",font_class:"minus",unicode:"e66f",unicode_decimal:58991},{icon_id:"24879592",name:"image",font_class:"image",unicode:"e670",unicode_decimal:58992},{icon_id:"24879593",name:"mic",font_class:"mic",unicode:"e671",unicode_decimal:58993},{icon_id:"24879594",name:"paperplane",font_class:"paperplane",unicode:"e672",unicode_decimal:58994},{icon_id:"24879595",name:"close",font_class:"close",unicode:"e673",unicode_decimal:58995},{icon_id:"24879596",name:"help-filled",font_class:"help-filled",unicode:"e674",unicode_decimal:58996},{icon_id:"24879597",name:"plus-filled",font_class:"paperplane-filled",unicode:"e675",unicode_decimal:58997},{icon_id:"24879598",name:"plus",font_class:"plus",unicode:"e676",unicode_decimal:58998},{icon_id:"24879599",name:"mic-filled",font_class:"mic-filled",unicode:"e677",unicode_decimal:58999},{icon_id:"24879600",name:"image-filled",font_class:"image-filled",unicode:"e678",unicode_decimal:59e3},{icon_id:"24855900",name:"locked-filled",font_class:"locked-filled",unicode:"e668",unicode_decimal:58984},{icon_id:"24855901",name:"info",font_class:"info",unicode:"e669",unicode_decimal:58985},{icon_id:"24855903",name:"locked",font_class:"locked",unicode:"e66b",unicode_decimal:58987},{icon_id:"24855884",name:"camera-filled",font_class:"camera-filled",unicode:"e658",unicode_decimal:58968},{icon_id:"24855885",name:"chat-filled",font_class:"chat-filled",unicode:"e659",unicode_decimal:58969},{icon_id:"24855886",name:"camera",font_class:"camera",unicode:"e65a",unicode_decimal:58970},{icon_id:"24855887",name:"circle",font_class:"circle",unicode:"e65b",unicode_decimal:58971},{icon_id:"24855888",name:"checkmarkempty",font_class:"checkmarkempty",unicode:"e65c",unicode_decimal:58972},{icon_id:"24855889",name:"chat",font_class:"chat",unicode:"e65d",unicode_decimal:58973},{icon_id:"24855890",name:"circle-filled",font_class:"circle-filled",unicode:"e65e",unicode_decimal:58974},{icon_id:"24855891",name:"flag",font_class:"flag",unicode:"e65f",unicode_decimal:58975},{icon_id:"24855892",name:"flag-filled",font_class:"flag-filled",unicode:"e660",unicode_decimal:58976},{icon_id:"24855893",name:"gear-filled",font_class:"gear-filled",unicode:"e661",unicode_decimal:58977},{icon_id:"24855894",name:"home",font_class:"home",unicode:"e662",unicode_decimal:58978},{icon_id:"24855895",name:"home-filled",font_class:"home-filled",unicode:"e663",unicode_decimal:58979},{icon_id:"24855896",name:"gear",font_class:"gear",unicode:"e664",unicode_decimal:58980},{icon_id:"24855897",name:"smallcircle-filled",font_class:"smallcircle-filled",unicode:"e665",unicode_decimal:58981},{icon_id:"24855898",name:"map-filled",font_class:"map-filled",unicode:"e666",unicode_decimal:58982},{icon_id:"24855899",name:"map",font_class:"map",unicode:"e667",unicode_decimal:58983},{icon_id:"24855825",name:"refresh-filled",font_class:"refresh-filled",unicode:"e656",unicode_decimal:58966},{icon_id:"24855826",name:"refresh",font_class:"refresh",unicode:"e657",unicode_decimal:58967},{icon_id:"24855808",name:"cloud-upload",font_class:"cloud-upload",unicode:"e645",unicode_decimal:58949},{icon_id:"24855809",name:"cloud-download-filled",font_class:"cloud-download-filled",unicode:"e646",unicode_decimal:58950},{icon_id:"24855810",name:"cloud-download",font_class:"cloud-download",unicode:"e647",unicode_decimal:58951},{icon_id:"24855811",name:"cloud-upload-filled",font_class:"cloud-upload-filled",unicode:"e648",unicode_decimal:58952},{icon_id:"24855813",name:"redo",font_class:"redo",unicode:"e64a",unicode_decimal:58954},{icon_id:"24855814",name:"images-filled",font_class:"images-filled",unicode:"e64b",unicode_decimal:58955},{icon_id:"24855815",name:"undo-filled",font_class:"undo-filled",unicode:"e64c",unicode_decimal:58956},{icon_id:"24855816",name:"more",font_class:"more",unicode:"e64d",unicode_decimal:58957},{icon_id:"24855817",name:"more-filled",font_class:"more-filled",unicode:"e64e",unicode_decimal:58958},{icon_id:"24855818",name:"undo",font_class:"undo",unicode:"e64f",unicode_decimal:58959},{icon_id:"24855819",name:"images",font_class:"images",unicode:"e650",unicode_decimal:58960},{icon_id:"24855821",name:"paperclip",font_class:"paperclip",unicode:"e652",unicode_decimal:58962},{icon_id:"24855822",name:"settings",font_class:"settings",unicode:"e653",unicode_decimal:58963},{icon_id:"24855823",name:"search",font_class:"search",unicode:"e654",unicode_decimal:58964},{icon_id:"24855824",name:"redo-filled",font_class:"redo-filled",unicode:"e655",unicode_decimal:58965},{icon_id:"24841702",name:"list",font_class:"list",unicode:"e644",unicode_decimal:58948},{icon_id:"24841489",name:"mail-open-filled",font_class:"mail-open-filled",unicode:"e63a",unicode_decimal:58938},{icon_id:"24841491",name:"hand-thumbsdown-filled",font_class:"hand-down-filled",unicode:"e63c",unicode_decimal:58940},{icon_id:"24841492",name:"hand-thumbsdown",font_class:"hand-down",unicode:"e63d",unicode_decimal:58941},{icon_id:"24841493",name:"hand-thumbsup-filled",font_class:"hand-up-filled",unicode:"e63e",unicode_decimal:58942},{icon_id:"24841494",name:"hand-thumbsup",font_class:"hand-up",unicode:"e63f",unicode_decimal:58943},{icon_id:"24841496",name:"heart-filled",font_class:"heart-filled",unicode:"e641",unicode_decimal:58945},{icon_id:"24841498",name:"mail-open",font_class:"mail-open",unicode:"e643",unicode_decimal:58947},{icon_id:"24841488",name:"heart",font_class:"heart",unicode:"e639",unicode_decimal:58937},{icon_id:"24839963",name:"loop",font_class:"loop",unicode:"e633",unicode_decimal:58931},{icon_id:"24839866",name:"pulldown",font_class:"pulldown",unicode:"e632",unicode_decimal:58930},{icon_id:"24813798",name:"scan",font_class:"scan",unicode:"e62a",unicode_decimal:58922},{icon_id:"24813786",name:"bars",font_class:"bars",unicode:"e627",unicode_decimal:58919},{icon_id:"24813788",name:"cart-filled",font_class:"cart-filled",unicode:"e629",unicode_decimal:58921},{icon_id:"24813790",name:"checkbox",font_class:"checkbox",unicode:"e62b",unicode_decimal:58923},{icon_id:"24813791",name:"checkbox-filled",font_class:"checkbox-filled",unicode:"e62c",unicode_decimal:58924},{icon_id:"24813794",name:"shop",font_class:"shop",unicode:"e62f",unicode_decimal:58927},{icon_id:"24813795",name:"headphones",font_class:"headphones",unicode:"e630",unicode_decimal:58928},{icon_id:"24813796",name:"cart",font_class:"cart",unicode:"e631",unicode_decimal:58929}]}},a395:function(e,t,n){var r=n("7037")["default"],i=n("e50d");e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a629:function(e,t,n){"use strict";n.r(t);var r=n("f48d"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},a6c5:function(e,t,n){(function(e,r){var i,a,l,o=n("7037");!function(e,n){"object"==o(t)&&"object"==o(r)?r.exports=n():(a=[],i=n,l="function"===typeof i?i.apply(t,a):i,void 0===l||(r.exports=l))}(self,(function(){return t={779:function(e,t,n){var r=n(173);e.exports=function e(t,n,i){return r(n)||(i=n||i,n=[]),i=i||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r0?t.vueEachArray[n](e,r,(function(){i&&i()})):t.myEachHook(e,r,(function(a){!1===a?i(!1):t.vueEachArray[n](e,r,(function(e){i(a)}))}),t.router,!0)}},t}(Array);t.MyArray=i,t.proxyEachHook=function(e,t){for(var n=["beforeHooks","afterHooks"],r=0;r0)return!1;window.location.reload()}),0)}else e.mount[0].app.$mount(),e.mount=[]}},814:function(t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)return b}if(""!==o)return v(t);throw new Error(n+" 路径无法在路由表中找到!检查跳转路径及路由表")},t.getDataType=p,t.copyData=function(e){return JSON.parse(JSON.stringify(e))},t.getUniCachePage=function(e){var t=getCurrentPages();if(null==e)return t;if(0===t.length)return t;var n=t.reverse()[e];return null==n?[]:n},t.urlToJson=function(e){var t={},n=e.split("?"),r=n[0],i=n[1];if(null!=i)for(var a=0,l=i.split("&");a3},t.baseClone=x,t.deepClone=g,t.lockDetectWarn=function(e,t,n,r,i,a){if(void 0===i&&(i={}),"afterHooks"===a)r();else{var l=e.options.detectBeforeLock;l&&l(e,t,n),e.$lockStatus?e.options.routerErrorEach({type:2,msg:"当前页面正在处于跳转状态,请稍后再进行跳转....",NAVTYPE:n,uniActualData:i},e):r()}},t.assertParentChild=function(e,t){for(;null!=t.$parent;){var n=t.$parent.$mp;if(n.page&&n.page.is===e)return!0;t=t.$parent}try{if(t.$mp.page.is===e||t.$mp.page.route===e)return!0}catch(e){return!1}return!1},t.resolveAbsolutePath=function(e,t){var n=/^\/?([^\?\s]+)(\?.+)?$/,r=e.trim();if(!n.test(r))throw new Error("【"+e+"】 路径错误,请提供完整的路径(10001)。");var i=r.match(n);if(null==i)throw new Error("【"+e+"】 路径错误,请提供完整的路径(10002)。");var a=i[2]||"";if(/^\.\/[^\.]+/.test(r))return(t.currentRoute.path+e).replace(/[^\/]+\.\//,"");var l=i[1].replace(/\//g,"\\/").replace(/\.\./g,"[^\\/]+").replace(/\./g,"\\."),o=new RegExp("^\\/"+l+"$"),u=t.options.routes.filter((function(e){return o.test(e.path)}));if(1!==u.length)throw new Error("【"+e+"】 路径错误,尝试转成绝对路径失败,请手动转成绝对路径(10003)。");return u[0].path+a},t.deepDecodeQuery=function e(t){for(var n="[object Array]"===p(t)?[]:{},r=Object.keys(t),i=0;i0){var o=void 0;switch("h5"===e.options.platform?o=l.$options.beforeRouteLeave:null!=l.$vm&&(o=l.$vm.$options.beforeRouteLeave),i.getDataType(o)){case"[object Array]":a=(a=o[0]).bind(l);break;case"[object Function]":a=o.bind(l.$vm)}}return s(a,t,n,e,r)}function s(e,t,n,r,i,a){void 0===a&&(a=!0),null!=e&&e instanceof Function?!0===a?e(t,n,i,r,!1):(e(t,n,(function(){}),r,!1),i()):i()}function d(e,t,n,r,a,l){var o=i.forMatNextToFrom(e,t,n),u=o.matTo,c=o.matFrom;"h5"===e.options.platform?h(a,0,l,e,u,c,r):h(a.slice(0,4),0,(function(){l((function(){h(a.slice(4),0,i.voidFun,e,u,c,r)}))}),e,u,c,r)}function h(e,n,l,c,s,d,f){var v=i.routesForMapRoute(c,s.path,["finallyPathMap","pathMap"]);if(e.length-1{[propName: string]: any;}",t):e[n]=o}else{if(!i.assertDeepObject(r))return e;var u=JSON.stringify(r);e[n]={query:u}}return e},t.parseQuery=function(e,t){var n=t.options.parseQuery;if(n)e=n(i.copyData(e)),"[object Object]"!==i.getDataType(e)&&l.warn("请按格式返回参数: parseQuery?:(jsonQuery:{[propName: string]: any;})=>{[propName: string]: any;}",t);else if(Reflect.get(e,"query")){var r=Reflect.get(e,"query");if("string"==typeof r)try{r=JSON.parse(r)}catch(e){l.warn("尝试解析深度对象失败,按原样输出。"+e,t)}if("object"==o(r))return i.deepDecodeQuery(r)}return e},t.stringifyQuery=function(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return d(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(d(t)):r.push(d(t)+"="+d(e)))})),r.join("&")}return d(t)+"="+d(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}},314:function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.rewriteMethod=void 0;var i=r(366),a=r(789),l=r(883),o=r(809),u=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"];n.rewriteMethod=function(t){!1===t.options.keepUniOriginNav&&u.forEach((function(n){var r=e[n];e[n]=function(e,u,c,s){void 0===u&&(u=!1),u?o.uniOriginJump(t,r,n,e,c,s):("app-plus"===t.options.platform&&0===Object.keys(t.appMain).length&&(t.appMain={NAVTYPE:n,path:e.url}),function(e,t,n){if("app-plus"===n.options.platform){var r=null;e&&(r=e.openType),null!=r&&"appLaunch"===r&&(t="reLaunch")}if("reLaunch"===t&&'{"url":"/"}'===JSON.stringify(e)&&(l.warn("uni-app 原生方法:reLaunch({url:'/'}) 默认被重写啦!你可以使用 this.$Router.replaceAll() 或者 uni.reLaunch({url:'/?xxx=xxx'})",n,!0),t="navigateBack",e={from:"backbutton"}),"navigateBack"===t){var o=1;null==e&&(e={delta:1}),"[object Number]"===a.getDataType(e.delta)&&(o=e.delta),n.back(o,e)}else{var u=i.rewriteMethodToggle[t],c=e.url;if(!c.startsWith("/")){var s=a.resolveAbsolutePath(c,n);c=s,e.url=s}if("switchTab"===t){var d=a.routesForMapRoute(n,c,["pathMap","finallyPathList"]),h=a.getRoutePath(d,n).finallyPath;if("[object Array]"===a.getDataType(h)&&l.warn("uni-app 原生方法跳转路径为:"+c+"。此路为是tab页面时,不允许设置 alias 为数组的情况,并且不能为动态路由!当然你可以通过通配符*解决!",n,!0),"*"===h&&l.warn("uni-app 原生方法跳转路径为:"+c+"。在路由表中找不到相关路由表!当然你可以通过通配符*解决!",n,!0),"h5"===n.options.platform){var f=e.success;e.success=function(){for(var t=[],n=0;n0&&Reflect.has(t,"index")){var n=a.getUniCachePage(0);if(0===Object.keys(n).length)return!1;var r=n,i=r.$options.onTabItemTap;if(i)for(var l=0;l0&&i[i.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){o=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(o)throw a}}}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>2]>>>24-a%4*8&255;t[r+a>>>2]|=l<<24-(r+a)%4*8}else for(a=0;a>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){t=t;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},a=0;a>>2]>>>24-i%4*8&255;r.push((a>>>4).toString(16)),r.push((15&a).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},c=o.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},s=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=s.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,a=this.blockSize,o=i/(4*a),u=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*a,c=e.min(4*u,i);if(u){for(var s=0;s>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,l=e[t+0],u=e[t+1],f=e[t+2],v=e[t+3],p=e[t+4],x=e[t+5],g=e[t+6],m=e[t+7],y=e[t+8],_=e[t+9],b=e[t+10],w=e[t+11],k=e[t+12],T=e[t+13],S=e[t+14],A=e[t+15],O=a[0],P=a[1],C=a[2],E=a[3];O=c(O,P,C,E,l,7,o[0]),E=c(E,O,P,C,u,12,o[1]),C=c(C,E,O,P,f,17,o[2]),P=c(P,C,E,O,v,22,o[3]),O=c(O,P,C,E,p,7,o[4]),E=c(E,O,P,C,x,12,o[5]),C=c(C,E,O,P,g,17,o[6]),P=c(P,C,E,O,m,22,o[7]),O=c(O,P,C,E,y,7,o[8]),E=c(E,O,P,C,_,12,o[9]),C=c(C,E,O,P,b,17,o[10]),P=c(P,C,E,O,w,22,o[11]),O=c(O,P,C,E,k,7,o[12]),E=c(E,O,P,C,T,12,o[13]),C=c(C,E,O,P,S,17,o[14]),O=s(O,P=c(P,C,E,O,A,22,o[15]),C,E,u,5,o[16]),E=s(E,O,P,C,g,9,o[17]),C=s(C,E,O,P,w,14,o[18]),P=s(P,C,E,O,l,20,o[19]),O=s(O,P,C,E,x,5,o[20]),E=s(E,O,P,C,b,9,o[21]),C=s(C,E,O,P,A,14,o[22]),P=s(P,C,E,O,p,20,o[23]),O=s(O,P,C,E,_,5,o[24]),E=s(E,O,P,C,S,9,o[25]),C=s(C,E,O,P,v,14,o[26]),P=s(P,C,E,O,y,20,o[27]),O=s(O,P,C,E,T,5,o[28]),E=s(E,O,P,C,f,9,o[29]),C=s(C,E,O,P,m,14,o[30]),O=d(O,P=s(P,C,E,O,k,20,o[31]),C,E,x,4,o[32]),E=d(E,O,P,C,y,11,o[33]),C=d(C,E,O,P,w,16,o[34]),P=d(P,C,E,O,S,23,o[35]),O=d(O,P,C,E,u,4,o[36]),E=d(E,O,P,C,p,11,o[37]),C=d(C,E,O,P,m,16,o[38]),P=d(P,C,E,O,b,23,o[39]),O=d(O,P,C,E,T,4,o[40]),E=d(E,O,P,C,l,11,o[41]),C=d(C,E,O,P,v,16,o[42]),P=d(P,C,E,O,g,23,o[43]),O=d(O,P,C,E,_,4,o[44]),E=d(E,O,P,C,k,11,o[45]),C=d(C,E,O,P,A,16,o[46]),O=h(O,P=d(P,C,E,O,f,23,o[47]),C,E,l,6,o[48]),E=h(E,O,P,C,m,10,o[49]),C=h(C,E,O,P,S,15,o[50]),P=h(P,C,E,O,x,21,o[51]),O=h(O,P,C,E,k,6,o[52]),E=h(E,O,P,C,v,10,o[53]),C=h(C,E,O,P,b,15,o[54]),P=h(P,C,E,O,u,21,o[55]),O=h(O,P,C,E,y,6,o[56]),E=h(E,O,P,C,A,10,o[57]),C=h(C,E,O,P,g,15,o[58]),P=h(P,C,E,O,T,21,o[59]),O=h(O,P,C,E,p,6,o[60]),E=h(E,O,P,C,w,10,o[61]),C=h(C,E,O,P,f,15,o[62]),P=h(P,C,E,O,_,21,o[63]),a[0]=a[0]+O|0,a[1]=a[1]+P|0,a[2]=a[2]+C|0,a[3]=a[3]+E|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var a=e.floor(r/4294967296),l=r;n[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(i+64>>>9<<4)]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),t.sigBytes=4*(n.length+1),this._process();for(var o=this._hash,u=o.words,c=0;c<4;c++){var s=u[c];u[c]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,a,l){var o=e+(t&n|~t&r)+i+l;return(o<>>32-a)+t}function s(e,t,n,r,i,a,l){var o=e+(t&r|n&~r)+i+l;return(o<>>32-a)+t}function d(e,t,n,r,i,a,l){var o=e+(t^n^r)+i+l;return(o<>>32-a)+t}function h(e,t,n,r,i,a,l){var o=e+(n^(t|~r))+i+l;return(o<>>32-a)+t}t.MD5=a._createHelper(u),t.HmacMD5=a._createHmacHelper(u)}(Math),n.MD5)})),A((function(e,t){var n;e.exports=(n=P,void function(){var e=n,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),l=this._iKey=t.clone(),o=a.words,u=l.words,c=0;c>>6-l%4*2;i[a>>>2]|=(o|u)<<24-a%4*8,a++}return t.create(i,a)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,o=0;o<4&&a+.75*o>>6*(3-o)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=t.createPromise,r=t.retryRule,i=void 0===r?$:r;(0,g.default)(this,e),this.createPromise=n,this.status=null,this.promise=null,this.retryRule=i}return(0,m.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case $:return this.status===D;case V:return this.status!==L}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=L,this.promise=this.createPromise().then((function(t){return e.status=j,Promise.resolve(t)}),(function(t){return e.status=D,Promise.reject(t)})),this.promise):this.promise}}]),e}();function z(e){return e&&"string"==typeof e?JSON.parse(e):e}var q="mp-weixin",K=z([]),W=q,Q=(z(void 0),z([])||[]);try{(n("b2b7").default||n("b2b7")).appid}catch(ir){}var J={};function G(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=J,n=e,Object.prototype.hasOwnProperty.call(t,n)||(J[e]=r),J[e]}"app"===W&&(J=r._globalUniCloudObj?r._globalUniCloudObj:r._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],Z=G("_globalUniCloudInterceptor");function X(e,t){Z[e]||(Z[e]={}),B(t)&&Object.keys(t).forEach((function(n){Y.indexOf(n)>-1&&function(e,t,n){var r=Z[e][t];r||(r=Z[e][t]=[]),-1===r.indexOf(n)&&F(n)&&r.push(n)}(e,n,t[n])}))}function ee(e,t){Z[e]||(Z[e]={}),B(t)?Object.keys(t).forEach((function(n){Y.indexOf(n)>-1&&function(e,t,n){var r=Z[e][t];if(r){var i=r.indexOf(n);i>-1&&r.splice(i,1)}}(e,n,t[n])})):delete Z[e]}function te(e,t){return e&&0!==e.length?e.reduce((function(e,n){return e.then((function(){return n(t)}))}),Promise.resolve()):Promise.resolve()}function ne(e,t){return Z[e]&&Z[e][t]||[]}function re(e){X("callObject",e)}var ie=G("_globalUniCloudListener"),ae="response",le="needLogin",oe="refreshToken",ue="clientdb",ce="cloudfunction",se="cloudobject";function de(e){return ie[e]||(ie[e]=[]),ie[e]}function he(e,t){var n=de(e);n.includes(t)||n.push(t)}function fe(e,t){var n=de(e),r=n.indexOf(t);-1!==r&&n.splice(r,1)}function ve(e,t){for(var n=de(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),n}((0,x.default)(Error)),we={request:function(e){return r.request(e)},uploadFile:function(e){return r.uploadFile(e)},setStorageSync:function(e,t){return r.setStorageSync(e,t)},getStorageSync:function(e){return r.getStorageSync(e)},removeStorageSync:function(e){return r.removeStorageSync(e)},clearStorageSync:function(){return r.clearStorageSync()}};function ke(){return{token:we.getStorageSync("uni_id_token")||we.getStorageSync("uniIdToken"),tokenExpired:we.getStorageSync("uni_id_token_expired")}}function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,n=e.tokenExpired;t&&we.setStorageSync("uni_id_token",t),n&&we.setStorageSync("uni_id_token_expired",n)}function Se(){return ye||(ye=r.getSystemInfoSync()),ye}function Ae(){var e=r.getLocale&&r.getLocale()||"en";if(_e)return T(T({},_e),{},{locale:e,LOCALE:e});for(var t=Se(),n=t.deviceId,i=t.osName,a=t.uniPlatform,l=t.appId,o=["pixelRatio","brand","model","system","language","version","platform","host","SDKVersion","swanNativeVersion","app","AppPlatform","fontSizeSetting"],u=0;u-1)return;var n=r.getLaunchOptionsSync(),i=n.scene,a=n.channel;e=a,t=i}}catch(e){}return{channel:e,scene:t}}()),t),T(T({},_e),{},{locale:e,LOCALE:e})}var Oe,Pe={sign:function(e,t){var n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),C(n,t).toString()},wrappedRequest:function(e,t){return new Promise((function(n,r){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400)return r(new be({code:"SYS_ERR",message:e.errMsg||"request:fail",requestId:t}));var i=e.data;if(i.error)return r(new be({code:i.error.code,message:i.error.message,requestId:t}));i.result=i.data,i.requestId=t,delete i.data,n(i)}}))}))},toBase64:function(e){return R.stringify(E.parse(e))}},Ce={"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},Ee=(0,y.initVueI18n)({"zh-Hans":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},"zh-Hant":{"uniCloud.init.paramRequired":"缺少参数:{param}","uniCloud.uploadFile.fileError":"filePath应为File对象"},en:Ce,fr:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},es:{"uniCloud.init.paramRequired":"{param} required","uniCloud.uploadFile.fileError":"filePath should be instance of File"},ja:Ce},"zh-Hans"),Re=Ee.t,Me=function(){function e(t){var n=this;(0,g.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error(Re("uniCloud.init.paramRequired",{param:e}))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=we,this._getAccessTokenPromiseHub=new H({createPromise:function(){return n.requestAuth(n.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new be({code:"AUTH_FAILED",message:"获取accessToken失败"});n.setAccessToken(e.result.accessToken)}))},retryRule:V})}return(0,m.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return Pe.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var n=this;return Promise.resolve().then((function(){return n.hasAccessToken?t?n.requestWrapped(e):n.requestWrapped(e).catch((function(t){return new Promise((function(e,n){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((function(){return n.getAccessToken()})).then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))})):n.getAccessToken().then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Pe.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Pe.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:r}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,d.default)(l.default.mark((function e(){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,i=e.name,a=e.filePath,l=e.fileType,o=e.onUploadProgress;return new Promise((function(e,u){var c=t.adapter.uploadFile({url:n,formData:r,name:i,filePath:a,fileType:l,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):u(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new be({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r,i,a,o,u,c,s,d,h,f,v,p,x,g,m,y,_,b,w,k,T;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,i=t.fileType,a=void 0===i?"image":i,o=t.cloudPathAsRealPath,u=void 0!==o&&o,c=t.onUploadProgress,s=t.config,"string"===N(r)){e.next=3;break}throw new be({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(r=r.trim()){e.next=5;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(r)){e.next=7;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(d=s&&s.envType||this.config.envType,!(u&&("/"!==r[0]&&(r="/"+r),r.indexOf("\\")>-1))){e.next=10;break}throw new be({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:d,filename:u?r.split("/").pop():r,fileId:u?r:void 0});case 12:return h=e.sent.result,f="https://"+h.cdnDomain+"/"+h.ossPath,v=h.securityToken,p=h.accessKeyId,x=h.signature,g=h.host,m=h.ossPath,y=h.id,_=h.policy,b=h.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:p,Signature:x,host:g,id:y,key:m,policy:_,success_action_status:200},v&&(w["x-oss-security-token"]=v),b&&(k=JSON.stringify({callbackUrl:b,callbackBody:JSON.stringify({fileId:y,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Pe.toBase64(k)),T={url:"https://"+h.host,formData:w,fileName:"file",name:"file",filePath:n,fileType:a},e.next=27,this.uploadFileToOSS(Object.assign({},T,{onUploadProgress:c}));case 27:if(!b){e.next=29;break}return e.abrupt("return",{success:!0,filePath:n,fileID:f});case 29:return e.next=31,this.reportOSSUpload({id:y});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:n,fileID:f});case 33:throw new be({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,n){Array.isArray(t)&&0!==t.length||n(new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"getFileInfo",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i=arguments;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:{},n=t.fileList,Array.isArray(n)&&0!==n.length){e.next=3;break}throw new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return r={method:"serverless.file.resource.info",params:JSON.stringify({id:n.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(r));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ie={init:function(e){var t=new Me(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Le="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(Oe||(Oe={}));var je,De=function(){},Ne=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new be({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise((function(t,n){e=function(e,r){return e?n(e):t(r)}}));return e.promise=n,e};function Be(e){return void 0===e}function Fe(e){return"[object Null]"===Object.prototype.toString.call(e)}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(je||(je={}));var Ue={adapter:null,runtime:void 0},$e=["anonymousUuidKey"],Ve=function(e){(0,f.default)(n,e);var t=S(n);function n(){var e;return(0,g.default)(this,n),e=t.call(this),Ue.adapter.root.tcbObject||(Ue.adapter.root.tcbObject={}),e}return(0,m.default)(n,[{key:"setItem",value:function(e,t){Ue.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Ue.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Ue.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Ue.adapter.root.tcbObject}}]),n}(De);function He(e,t){switch(e){case"local":return t.localStorage||new Ve;case"none":return new Ve;default:return t.sessionStorage||new Ve}}var ze=function(){function e(t){if((0,g.default)(this,e),!this._storage){this._persistence=Ue.adapter.primaryStorage||t.persistence,this._storage=He(this._persistence,Ue.adapter);var n="access_token_".concat(t.env),r="access_token_expire_".concat(t.env),i="refresh_token_".concat(t.env),a="anonymous_uuid_".concat(t.env),l="login_type_".concat(t.env),o="user_info_".concat(t.env);this.keys={accessTokenKey:n,accessTokenExpireKey:r,refreshTokenKey:i,anonymousUuidKey:a,loginTypeKey:l,userInfoKey:o}}}return(0,m.default)(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=He(e,Ue.adapter);for(var r in this.keys){var i=this.keys[r];if(!t||!$e.includes(r)){var a=this._storage.getItem(i);Be(a)||Fe(a)||(n.setItem(i,a),this._storage.removeItem(i))}}this._storage=n}}},{key:"setStore",value:function(e,t,n){if(this._storage){var r={version:n||"localCachev1",content:t},i=JSON.stringify(r);try{this._storage.setItem(e,i)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),qe={},Ke={};function We(e){return qe[e]}var Qe=(0,m.default)((function e(t,n){(0,g.default)(this,e),this.data=n||null,this.name=t})),Je=function(e){(0,f.default)(n,e);var t=S(n);function n(e,r){var i;return(0,g.default)(this,n),i=t.call(this,"error",{error:e,data:r}),i.error=e,i}return(0,m.default)(n)}(Qe),Ge=new(function(){function e(){(0,g.default)(this,e),this._listeners={}}return(0,m.default)(e,[{key:"on",value:function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Je)return console.error(e.error),this;var n="string"==typeof e?new Qe(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;var i,a=this._listeners[r]?(0,s.default)(this._listeners[r]):[],l=b(a);try{for(l.s();!(i=l.n()).done;){var o=i.value;o.call(this,n)}}catch(u){l.e(u)}finally{l.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function Ye(e,t){Ge.on(e,t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ge.fire(e,t)}function Xe(e,t){Ge.off(e,t)}var et,tt="loginStateChanged",nt="loginStateExpire",rt="loginTypeChanged",it="anonymousConverted",at="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(et||(et={}));var lt=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],ot={"X-SDK-Version":"1.3.5"};function ut(e,t,n){var r=e[t];e[t]=function(t){var i={},a={};n.forEach((function(n){var r=n.call(e,t),l=r.data,o=r.headers;Object.assign(i,l),Object.assign(a,o)}));var l=t.data;return l&&function(){var e;if(e=l,"[object FormData]"!==Object.prototype.toString.call(e))t.data=T(T({},l),i);else for(var n in i)l.append(n,i[n])}(),t.headers=T(T({},t.headers||{}),a),r.call(e,t)}}function ct(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:T(T({},ot),{},{"x-seqid":e})}}var st=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,g.default)(this,e),this.config=n,this._reqClass=new Ue.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=We(this.config.env),this._localCache=(t=this.config.env,Ke[t]),ut(this._reqClass,"post",[ct]),ut(this._reqClass,"upload",[ct]),ut(this._reqClass,"download",[ct])}return(0,m.default)(e,[{key:"post",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),n=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!n){e.next=12;break}throw n;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i,a,o,u,c,s,d,h,f,v;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,a=t.loginTypeKey,o=t.anonymousUuidKey,this._cache.removeStore(n),this._cache.removeStore(r),u=this._cache.getStore(i),u){e.next=5;break}throw new be({message:"未登录CloudBase"});case 5:return c={refresh_token:u},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",c);case 8:if(s=e.sent,!s.data.code){e.next=21;break}if(d=s.data.code,"SIGN_PARAM_INVALID"!==d&&"REFRESH_TOKEN_EXPIRED"!==d&&"INVALID_REFRESH_TOKEN"!==d){e.next=20;break}if(this._cache.getStore(a)!==et.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==d){e.next=19;break}return h=this._cache.getStore(o),f=this._cache.getStore(i),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:h,refresh_token:f});case 17:return v=e.sent,e.abrupt("return",(this.setRefreshToken(v.refresh_token),this._refreshAccessToken()));case 19:Ze(nt),this._cache.removeStore(i);case 20:throw new be({code:s.data.code,message:"刷新access token失败:".concat(s.data.code)});case 21:if(!s.data.access_token){e.next=23;break}return e.abrupt("return",(Ze(at),this._cache.setStore(n,s.data.access_token),this._cache.setStore(r,s.data.access_token_expire+Date.now()),{accessToken:s.data.access_token,accessTokenExpire:s.data.access_token_expire}));case 23:s.data.refresh_token&&(this._cache.removeStore(i),this._cache.setStore(i,s.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i,a,o,u;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,this._cache.getStore(i)){e.next=3;break}throw new be({message:"refresh token不存在,登录状态异常"});case 3:if(a=this._cache.getStore(n),o=this._cache.getStore(r),u=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(a,o);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}u=!1;case 12:return e.abrupt("return",(!a||!o||o2&&void 0!==arguments[2]?arguments[2]:{},r=/\?/.test(t),i="";for(var a in n)""===i?!r&&(t+="?"):i+="&",i+="".concat(a,"=").concat(encodeURIComponent(n[a]));return/^http(s)?\:\/\//.test(t+=i)?t:"".concat(e).concat(t)}(Le,"//tcb-api.tencentcloudapi.com/web",g),x&&(m+=x),e.next=22,this.post(T({url:m,data:c},h));case 22:if(y=e.sent,_=y.header&&y.header["x-tcb-trace"],_&&this._localCache.setStore(i,_),(200===Number(y.status)||200===Number(y.statusCode))&&y.data){e.next=26;break}throw new be({code:"NETWORK_ERROR",message:"network request error"});case 26:return e.abrupt("return",y);case 27:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r,i,a=arguments;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},e.next=3,this.request(t,n,{onUploadProgress:n.onUploadProgress});case 3:if(r=e.sent,"ACCESS_TOKEN_EXPIRED"!==r.data.code||-1!==lt.indexOf(t)){e.next=13;break}return e.next=7,this.refreshAccessToken();case 7:return e.next=9,this.request(t,n,{onUploadProgress:n.onUploadProgress});case 9:if(i=e.sent,!i.data.code){e.next=12;break}throw new be({code:i.data.code,message:i.data.message});case 12:return e.abrupt("return",i.data);case 13:if(!r.data.code){e.next=15;break}throw new be({code:r.data.code,message:r.data.message});case 15:return e.abrupt("return",r.data);case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}}]),e}(),dt={};function ht(e){return dt[e]}var ft=function(){function e(t){(0,g.default)(this,e),this.config=t,this._cache=We(t.env),this._request=ht(t.env)}return(0,m.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}},{key:"setAccessToken",value:function(e,t){var n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey;this._cache.setStore(r,e),this._cache.setStore(i,t)}},{key:"refreshUserInfo",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),vt=function(){function e(t){if((0,g.default)(this,e),!t)throw new be({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=We(this._envId),this._request=ht(this._envId),this.setUserInfo()}return(0,m.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new be({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new be({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,n=t.data,r=!1,i=n.users,e.abrupt("return",(i.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(r=!0)})),{users:i,hasPrimaryUid:r}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r,i,a,o,u,c,s;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.nickName,r=t.gender,i=t.avatarUrl,a=t.province,o=t.country,u=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:n,gender:r,avatarUrl:i,province:a,country:o,city:u});case 8:c=e.sent,s=c.data,this.setLocalUserInfo(s);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=n[t]})),this.location={country:n.country,province:n.province,city:n.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),pt=function(){function e(t){if((0,g.default)(this,e),!t)throw new be({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=We(t);var n=this._cache.keys,r=n.refreshTokenKey,i=n.accessTokenKey,a=n.accessTokenExpireKey,l=this._cache.getStore(r),o=this._cache.getStore(i),u=this._cache.getStore(a);this.credential={refreshToken:l,accessToken:o,accessTokenExpire:u},this.user=new vt(t)}return(0,m.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===et.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===et.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===et.WECHAT||this.loginType===et.WECHAT_OPEN||this.loginType===et.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),xt=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i,a,o,u;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),t=this._cache.keys,n=t.anonymousUuidKey,r=t.refreshTokenKey,i=this._cache.getStore(n)||void 0,a=this._cache.getStore(r)||void 0,e.next=8,this._request.send("auth.signInAnonymously",{anonymous_uuid:i,refresh_token:a});case 8:if(o=e.sent,!o.uuid||!o.refresh_token){e.next=20;break}return this._setAnonymousUUID(o.uuid),this.setRefreshToken(o.refresh_token),e.next=14,this._request.refreshAccessToken();case 14:return Ze(tt),Ze(rt,{env:this.config.env,loginType:et.ANONYMOUS,persistence:"local"}),u=new pt(this.config.env),e.next=19,u.user.refresh();case 19:return e.abrupt("return",u);case 20:throw new be({message:"匿名登录失败"});case 21:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r,i,a,o,u;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this._cache.keys,r=n.anonymousUuidKey,i=n.refreshTokenKey,a=this._cache.getStore(r),o=this._cache.getStore(i),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:a,refresh_token:o,ticket:t});case 7:if(u=e.sent,!u.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(u.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return Ze(it,{env:this.config.env}),Ze(rt,{loginType:et.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:u.refresh_token}});case 16:throw new be({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey;this._cache.removeStore(n),this._cache.setStore(n,e),this._cache.setStore(r,et.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),n}(ft),gt=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});case 5:if(r=e.sent,!r.refresh_token){e.next=15;break}return this.setRefreshToken(r.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return Ze(tt),Ze(rt,{env:this.config.env,loginType:et.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new pt(this.config.env));case 15:throw new be({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(ft),mt=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){var r,i,a,o,u;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"email must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(r)||""});case 5:if(i=e.sent,a=i.refresh_token,o=i.access_token,u=i.access_token_expire,!a){e.next=22;break}if(this.setRefreshToken(a),!o||!u){e.next=15;break}this.setAccessToken(o,u),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return Ze(tt),Ze(rt,{env:this.config.env,loginType:et.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new pt(this.config.env));case 22:throw i.code?new be({code:i.code,message:"邮箱登录失败: ".concat(i.message)}):new be({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(ft),yt=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){var r,i,a,o,u;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof n&&(n="",console.warn("password is empty")),r=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:et.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(r)||""});case 6:if(i=e.sent,a=i.refresh_token,o=i.access_token_expire,u=i.access_token,!a){e.next=23;break}if(this.setRefreshToken(a),!u||!o){e.next=16;break}this.setAccessToken(u,o),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return Ze(tt),Ze(rt,{env:this.config.env,loginType:et.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new pt(this.config.env));case 23:throw i.code?new be({code:i.code,message:"用户名密码登录失败: ".concat(i.message)}):new be({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(ft),_t=function(){function e(t){(0,g.default)(this,e),this.config=t,this._cache=We(t.env),this._request=ht(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Ye(rt,this._onLoginTypeChanged)}return(0,m.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new xt(this.config)}},{key:"customAuthProvider",value:function(){return new gt(this.config)}},{key:"emailAuthProvider",value:function(){return new mt(this.config)}},{key:"usernameAuthProvider",value:function(){return new yt(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,d.default)(l.default.mark((function e(){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new xt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new mt(this.config).signIn(t,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new yt(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new xt(this.config)),Ye(it,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,d.default)(l.default.mark((function e(){var t,n,r,i,a,o;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==et.ANONYMOUS){e.next=2;break}throw new be({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,n=t.refreshTokenKey,r=t.accessTokenKey,i=t.accessTokenExpireKey,a=this._cache.getStore(n),a){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:a});case 7:return o=e.sent,e.abrupt("return",(this._cache.removeStore(n),this._cache.removeStore(r),this._cache.removeStore(i),Ze(tt),Ze(rt,{env:this.config.env,loginType:et.NULL,persistence:this.config.persistence}),o));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;Ye(tt,(function(){var n=t.hasLoginState();e.call(t,n)}));var n=this.hasLoginState();e.call(this,n)}},{key:"onLoginStateExpired",value:function(e){Ye(nt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){Ye(at,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){Ye(it,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;Ye(rt,(function(){var n=t.hasLoginState();e.call(t,n)}))}},{key:"getAccessToken",value:function(){var e=(0,d.default)(l.default.mark((function e(){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys.refreshTokenKey;return this._cache.getStore(e)?new pt(this.config.env):null}},{key:"isUsernameRegistered",value:function(){var e=(0,d.default)(l.default.mark((function e(t){var n,r;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return n=e.sent,r=n.data,e.abrupt("return",r&&r.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,d.default)(l.default.mark((function e(t){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new gt(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:T(T({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,n=t.loginType,r=t.persistence,i=t.env;i===this.config.env&&(this._cache.updatePersistence(r),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}]),e}(),bt=function(e,t){t=t||Ne();var n=ht(this.config.env),r=e.cloudPath,i=e.filePath,a=e.onUploadProgress,l=e.fileType,o=void 0===l?"image":l;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){var l=e.data,u=l.url,c=l.authorization,s=l.token,d=l.fileId,h=l.cosFileId,f=e.requestId,v={key:r,signature:c,"x-cos-meta-fileid":h,success_action_status:"201","x-cos-security-token":s};n.upload({url:u,data:v,file:i,name:r,fileType:o,onUploadProgress:a}).then((function(e){201===e.statusCode?t(null,{fileID:d,requestId:f}):t(new be({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},wt=function(e,t){t=t||Ne();var n=ht(this.config.env),r=e.cloudPath;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},kt=function(e,t){var n=e.fileList;if(t=t||Ne(),!n||!Array.isArray(n))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var r,i=b(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(!a||"string"!=typeof a)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(o){i.e(o)}finally{i.f()}var l={fileid_list:n};return ht(this.config.env).send("storage.batchDeleteFile",l).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},Tt=function(e,t){var n=e.fileList;t=t||Ne(),n&&Array.isArray(n)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var r,i=[],a=b(n);try{for(a.s();!(r=a.n()).done;){var l=r.value;"object"==(0,c.default)(l)?(l.hasOwnProperty("fileID")&&l.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),i.push({fileid:l.fileID,max_age:l.maxAge})):"string"==typeof l?i.push({fileid:l}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(u){a.e(u)}finally{a.f()}var o={file_list:i};return ht(this.config.env).send("storage.batchGetDownloadUrl",o).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},St=function(){var e=(0,d.default)(l.default.mark((function e(t,n){var r,i,a,o;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileID,e.next=3,Tt.call(this,{fileList:[{fileID:r,maxAge:600}]});case 3:if(i=e.sent.fileList[0],"SUCCESS"===i.code){e.next=6;break}return e.abrupt("return",n?n(i):new Promise((function(e){e(i)})));case 6:if(a=ht(this.config.env),o=i.download_url,o=encodeURI(o),n){e.next=10;break}return e.abrupt("return",a.download({url:o}));case 10:return e.t0=n,e.next=13,a.download({url:o});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),At=function(e,t){var n,r=e.name,i=e.data,a=e.query,l=e.parse,o=e.search,u=t||Ne();try{n=i?JSON.stringify(i):""}catch(r){return Promise.reject(r)}if(!r)return Promise.reject(new be({code:"PARAM_ERROR",message:"函数名不能为空"}));var c={inQuery:a,parse:l,search:o,function_name:r,request_data:n};return ht(this.config.env).send("functions.invokeFunction",c).then((function(e){if(e.code)u(null,e);else{var t=e.data.response_data;if(l)u(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),u(null,{result:t,requestId:e.requestId})}catch(e){u(new be({message:"response data must be json"}))}}return u.promise})).catch((function(e){u(e)})),u.promise},Ot={timeout:15e3,persistence:"session"},Pt={},Ct=function(){function e(t){(0,g.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,m.default)(e,[{key:"init",value:function(t){switch(Ue.adapter||(this.requestClient=new Ue.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=T(T({},Ot),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var n,r=t||Ue.adapter.primaryStorage||Ot.persistence;return r!==this.config.persistence&&(this.config.persistence=r),function(e){var t=e.env;qe[t]=new ze(e),Ke[t]=new ze(T(T({},e),{},{persistence:"local"}))}(this.config),n=this.config,dt[n.env]=new st(n),this.authObj=new _t(this.config),this.authObj}},{key:"on",value:function(e,t){return Ye.apply(this,[e,t])}},{key:"off",value:function(e,t){return Xe.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return At.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return kt.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return Tt.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return St.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return bt.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return wt.apply(this,[e,t])}},{key:"registerExtension",value:function(e){Pt[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,d.default)(l.default.mark((function e(t,n){var r;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=Pt[t],r){e.next=3;break}throw new be({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,r.invoke(n,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,n,r=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),i=b(r);try{for(i.s();!(n=i.n()).done;){var a=n.value,l=a.isMatch,o=a.genAdapter,u=a.runtime;if(l())return{adapter:o(),runtime:u}}}catch(c){i.e(c)}finally{i.f()}}(e)||{},n=t.adapter,r=t.runtime;n&&(Ue.adapter=n),r&&(Ue.runtime=r)}}]),e}(),Et=new Ct;function Rt(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var a in n)""===i?!r&&(t+="?"):i+="&",i+=a+"="+encodeURIComponent(n[a]);return/^http(s)?:\/\//.test(t+=i)?t:""+e+t}var Mt=function(){function e(){(0,g.default)(this,e)}return(0,m.default)(e,[{key:"post",value:function(e){var t=e.url,n=e.data,r=e.headers;return new Promise((function(e,i){we.request({url:Rt("https:",t),data:n,method:"POST",header:r,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,n){var r=e.url,i=e.file,a=e.data,l=e.headers,o=e.fileType,u=we.uploadFile({url:Rt("https:",r),name:"file",formData:Object.assign({},a),filePath:i,fileType:o,header:l,success:function(e){var n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&a.success_action_status&&(n.statusCode=parseInt(a.success_action_status,10)),t(n)},fail:function(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),It={setItem:function(e,t){we.setStorageSync(e,t)},getItem:function(e){return we.getStorageSync(e)},removeItem:function(e){we.removeStorageSync(e)},clear:function(){we.clearStorageSync()}},Lt={genAdapter:function(){return{root:{},reqClass:Mt,localStorage:It,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Et.useAdapters(Lt);var jt=Et,Dt=jt.init;jt.init=function(e){e.env=e.spaceId;var t=Dt.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var n=t.auth;return t.auth=function(e){var t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var n;t[e]=(n=t[e],function(e){e=e||{};var t=me(e),r=t.success,i=t.fail,a=t.complete;if(!(r||i||a))return n.call(this,e);n.call(this,e).then((function(e){r&&r(e),a&&a(e)}),(function(e){i&&i(e),a&&a(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Nt=jt,Bt=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"getAccessToken",value:function(){var e=this;return new Promise((function(t,n){var r="Anonymous_Access_token";e.setAccessToken(r),t(r)}))}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Pe.sign(n,this.config.clientSecret);var i=Ae();r["x-client-info"]=encodeURIComponent(JSON.stringify(i));var a=ke(),l=a.token;return r["x-client-token"]=l,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(r))}}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,i=e.name,a=e.filePath,l=e.fileType,o=e.onUploadProgress;return new Promise((function(e,u){var c=t.adapter.uploadFile({url:n,formData:r,name:i,filePath:a,fileType:l,success:function(t){t&&t.statusCode<400?e(t):u(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new be({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(e){var t,n=this,r=e.filePath,i=e.cloudPath,a=e.fileType,l=void 0===a?"image":a,o=e.onUploadProgress;if(!i)throw new be({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getOSSUploadOptionsFromPath({cloudPath:i}).then((function(e){var i=e.result,a=i.url,u=i.formData,c=i.name;t=e.result.fileUrl;var s={url:a,formData:u,name:c,filePath:r,fileType:l};return n.uploadFileToOSS(Object.assign({},s,{onUploadProgress:o}))})).then((function(){return n.reportOSSUpload({cloudPath:i})})).then((function(e){return new Promise((function(n,i){e.success?n({success:!0,filePath:r,fileID:t}):i(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,n={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(n)).then((function(e){if(e.success)return e.result;throw new be({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;if(!Array.isArray(t)||0===t.length)throw new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(n)).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new be({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),n}(Me),Ft={init:function(e){var t=new Bt(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};function Ut(e){var t,n=e.data;t=Ae();var r=JSON.parse(JSON.stringify(n||{}));if(Object.assign(r,{clientInfo:t}),!r.uniIdToken){var i=ke(),a=i.token;a&&(r.uniIdToken=a)}return r}var $t=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],Vt=/[\\^$.*+?()[\]{}|]/g,Ht=RegExp(Vt.source);function zt(e,t,n){return e.replace(new RegExp((r=t)&&Ht.test(r)?r.replace(Vt,"\\$&"):r,"g"),n);var r}var qt="request",Kt="response";var Wt;Wt="0123456789abcdef";var Qt={code:2e4,message:"System error"},Jt={code:20101,message:"Invalid client"};function Gt(e){var t=e||{},n=t.errSubject,r=t.subject,i=t.errCode,a=t.errMsg,l=t.code,o=t.message,u=t.cause;return new be({subject:n||r||"uni-secure-network",code:i||l||Qt.code,message:a||o,cause:u})}var Yt;function Zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===qt||t===Kt||"both"===t}function Xt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.data,r=void 0===n?{}:n;return"app"===W&&"DCloud-clientDB"===t&&"encryption"===r.redirectTo&&"getAppClientKey"===r.action}function en(e){e.functionName,e.result,e.logPvd}function tn(e){var t=e.callFunction,n=function(n){var r=this,i=n.name;n.data=Ut.call(e,{data:n.data});var a={aliyun:"aliyun",tencent:"tcb",tcb:"tcb"}[this.config.provider],l=Zt(n),o=Xt(n),u=l||o;return t.call(this,n).then((function(e){return e.errCode=0,!u&&en.call(r,{functionName:i,result:e,logPvd:a}),Promise.resolve(e)}),(function(e){return!u&&en.call(r,{functionName:i,result:e,logPvd:a}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.extraInfo,i=void 0===r?{}:r,a=e.formatter,l=void 0===a?[]:a,o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=e.functionName,i=Se(),a=i.appId,l=i.uniPlatform,o=i.osName,u=l;"app"===l&&(u=o);var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=K;if(!r)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var i=r.find((function(e){return e.provider===t&&e.spaceId===n}));return i&&i.config}({provider:t,spaceId:n});if(!c||!c.accessControl||!c.accessControl.enable)return!1;var s=c.accessControl.function||{},d=Object.keys(s);if(0===d.length)return!0;var h=function(e,t){for(var n,r,i,a=0;a-1&&(r=l):i=l:n=l}return n||r||i}(d,r);if(!h)return!1;if((s[h]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===a&&(e.platform||"").toLowerCase()===u.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(a,", platform: ").concat(u,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),Gt(Jt)}({provider:l,spaceId:o,functionName:u})?new Yt({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(i,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),i}}Yt="mp-weixin"!==W&&"app"!==W?function(){return(0,m.default)((function e(){throw(0,g.default)(this,e),Gt({message:"Platform ".concat(W," is not supported by secure network")})}))}():function(){return(0,m.default)((function e(){throw(0,g.default)(this,e),Gt({message:"Platform ".concat(W," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var nn=Symbol("CLIENT_DB_INTERNAL");function rn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=nn,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,n,r){if("_uniClient"===n)return null;if("symbol"==(0,c.default)(n))return e[n];if(n in e||"string"!=typeof n){var i=e[n];return"function"==typeof i?i.bind(e):i}return t.get(e,n,r)}})}function an(e){return{on:function(t,n){e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:function(t,n){e[t]=e[t]||[];var r=e[t].indexOf(n);-1!==r&&e[t].splice(r,1)}}}var ln=["db.Geo","db.command","command.aggregate"];function on(e,t){return ln.indexOf("".concat(e,".").concat(t))>-1}function un(e){switch(N(e)){case"array":return e.map((function(e){return un(e)}));case"object":return e._internalType===nn||Object.keys(e).forEach((function(t){e[t]=un(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function cn(e){return e&&e.content&&e.content.$method}var sn=function(){function e(t,n,r){(0,g.default)(this,e),this.content=t,this.prevStage=n||null,this.udb=null,this._database=r}return(0,m.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:un(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=cn(e),n=cn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===cn(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=cn(e),n=cn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return dn({$method:e,$param:un(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var n=this.getAction(),r=this.getCommand();return r.$db.push({$method:e,$param:un(t)}),this._database._callCloudFunction({action:n,command:r})}}]),e}();function dn(e,t,n){return rn(new sn(e,t,n),{get:function(e,t){var r="db";return e&&e.content&&(r=e.content.$method),on(r,t)?dn({$method:t},e,n):function(){return dn({$method:t,$param:un(Array.from(arguments))},e,n)}}})}function hn(e){var t=e.path,n=e.method;return function(){function e(){(0,g.default)(this,e),this.param=Array.from(arguments)}return(0,m.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,s.default)(t.map((function(e){return{$method:e}}))),[{$method:n,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return rn(new e(t),{get:function(e,t){return on("db",t)?dn({$method:t},null,e):function(){return dn({$method:t,$param:un(Array.from(arguments))},null,e)}}})}var vn=function(e){(0,f.default)(n,e);var t=S(n);function n(){return(0,g.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,n=e.action,r=e.command,i=e.multiCommand,a=e.queryList;function l(e,t){if(i&&a)for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.uniClient,r=void 0===n?{}:n,i=t.isJQL,a=void 0!==i&&i;(0,g.default)(this,e),this._uniClient=r,this._authCallBacks={},this._dbCallBacks={},r._isDefault&&(this._dbCallBacks=G("_globalUniCloudDatabaseCallback")),a||(this.auth=an(this._authCallBacks)),this._isJQL=a,Object.assign(this,an(this._dbCallBacks)),this.env=rn({},{get:function(e,t){return{$env:t}}}),this.Geo=rn({},{get:function(e,t){return hn({path:["Geo"],method:t})}}),this.serverDate=hn({path:[],method:"serverDate"}),this.RegExp=hn({path:[],method:"RegExp"})}return(0,m.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var n=this._dbCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,s.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var n=this._authCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,s.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}()),pn="token无效,跳转登录页面",xn="token过期,跳转登录页面",gn={TOKEN_INVALID_TOKEN_EXPIRED:xn,TOKEN_INVALID_INVALID_CLIENTID:pn,TOKEN_INVALID:pn,TOKEN_INVALID_WRONG_TOKEN:pn,TOKEN_INVALID_ANONYMOUS_USER:pn},mn={"uni-id-token-expired":xn,"uni-id-check-token-failed":pn,"uni-id-token-not-exist":pn,"uni-id-check-device-feature-failed":pn};function yn(e,t){var n="";return n=e?"".concat(e,"/").concat(t):t,n.replace(/^\//,"")}function _n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=[];return e.forEach((function(e){!0===e.needLogin?n.push(yn(t,e.path)):!1===e.needLogin&&r.push(yn(t,e.path))})),{needLoginPage:n,notNeedLoginPage:r}}function bn(e){return e.split("?")[0].replace(/^\//,"")}function wn(){return function(e){var t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){var e=getCurrentPages();return e[e.length-1]}())}function kn(){return bn(wn())}function Tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var n=t.list,r=bn(e);return n.some((function(e){return e.pagePath===r}))}var Sn,An=!!_.default.uniIdRouter,On=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.default,t=e.pages,n=void 0===t?[]:t,r=e.subPackages,i=void 0===r?[]:r,a=e.uniIdRouter,l=void 0===a?{}:a,o=e.tabBar,u=void 0===o?{}:o,c=l.loginPage,d=l.needLogin,h=void 0===d?[]:d,f=l.resToLogin,v=void 0===f||f,p=_n(n),x=p.needLoginPage,g=p.notNeedLoginPage,m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],n=[];return e.forEach((function(e){var r=e.root,i=e.pages,a=void 0===i?[]:i,l=_n(a,r),o=l.needLoginPage,u=l.notNeedLoginPage;t.push.apply(t,(0,s.default)(o)),n.push.apply(n,(0,s.default)(u))})),{needLoginPage:t,notNeedLoginPage:n}}(i),y=m.needLoginPage,b=m.notNeedLoginPage;return{loginPage:c,routerNeedLogin:h,resToLogin:v,needLoginPage:[].concat((0,s.default)(x),(0,s.default)(y)),notNeedLoginPage:[].concat((0,s.default)(g),(0,s.default)(b)),loginPageInTabBar:Tn(c,u)}}(),Pn=On.loginPage,Cn=On.routerNeedLogin,En=On.resToLogin,Rn=On.needLoginPage,Mn=On.notNeedLoginPage,In=On.loginPageInTabBar;if(Rn.indexOf(Pn)>-1)throw new Error("Login page [".concat(Pn,'] should not be "needLogin", please check your pages.json'));function Ln(e){var t=kn();if("/"===e.charAt(0))return e;var n=e.split("?"),r=(0,u.default)(n,2),i=r[0],a=r[1],l=i.replace(/^\//,"").split("/"),o=t.split("/");o.pop();for(var c=0;c-1)&&(Rn.indexOf(t)>-1||Cn.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function Dn(e){var t=e.redirect,n=bn(t),r=bn(Pn);return kn()!==r&&n!==r}function Nn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,n=e.redirect;if(n&&Dn({redirect:n})){var i=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}(Pn,n);In?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var a={navigateTo:r.navigateTo,redirectTo:r.redirectTo,switchTab:r.switchTab,reLaunch:r.reLaunch};setTimeout((function(){a[t]({url:i})}))}}function Bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n={abortLoginPageJump:!1,autoToLoginPage:!1},r=function(){var e,t=ke(),n=t.token,r=t.tokenExpired;if(n){if(r0)return setTimeout((function(){ve(le,r)}),0),n.abortLoginPageJump=!0,n;n.autoToLoginPage=!0}return n}function Fn(){!function(){var e=wn(),t=Bn({url:e}),n=t.abortLoginPageJump,r=t.autoToLoginPage;n||r&&Nn({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var n=e[t];r.addInterceptor(n,{invoke:function(e){var t=Bn({url:e.url}),r=t.abortLoginPageJump,i=t.autoToLoginPage;return r?e:i?(Nn({api:n,redirect:Ln(e.url)}),!1):e}})},n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=de(le);ge().then((function(){var n=wn();if(n&&Dn({redirect:n}))return t.length>0?ve(le,Object.assign({uniIdRedirectUrl:n},e)):void(Pn&&Nn({api:"navigateTo",redirect:n}))}))}(n)}))}function $n(e){!function(e){e.onResponse=function(e){he(ae,e)},e.offResponse=function(e){fe(ae,e)}}(e),function(e){e.onNeedLogin=function(e){he(le,e)},e.offNeedLogin=function(e){fe(le,e)},An&&(G("_globalUniCloudStatus").needLoginInit||(G("_globalUniCloudStatus").needLoginInit=!0,ge().then((function(){Fn.call(e)})),En&&Un.call(e)))}(e),function(e){e.onRefreshToken=function(e){he(oe,e)},e.offRefreshToken=function(e){fe(oe,e)}}(e)}var Vn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Hn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function zn(){var e,t,n=ke().token||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=r[1],decodeURIComponent(Sn(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}Sn="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Hn.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,i="",a=0;a>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var qn=A((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function l(e,t){return e.tempFiles.forEach((function(e,n){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function o(e,t,r){var i=r.onChooseFile,a=r.onUploadProgress;return t.then((function(e){if(i){var t=i(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=n;var a=t.tempFiles,l=a.length,o=0;return new Promise((function(n){for(;o=l)!a.find((function(e){return!e.url&&!e.errMsg}))&&n(t);else{var c=a[r];e.uploadFile({filePath:c.path,cloudPath:c.cloudPath,fileType:c.fileType,onUploadProgress:function(e){e.index=r,e.tempFile=c,e.tempFilePath=c.path,i&&i(e)}}).then((function(e){c.url=e.fileID,r0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?o(e,function(e){var t=e.count,n=e.sizeType,i=e.sourceType,o=void 0===i?["album","camera"]:i,u=e.extension;return new Promise((function(e,i){r.chooseImage({count:t,sizeType:n,sourceType:o,extension:u,success:function(t){e(l(t,"image"))},fail:function(e){i({errMsg:e.errMsg.replace("chooseImage:fail",a)})}})}))}(t),t):"video"===t.type?o(e,function(e){var t=e.camera,n=e.compressed,i=e.maxDuration,o=e.sourceType,u=void 0===o?["album","camera"]:o,c=e.extension;return new Promise((function(e,o){r.chooseVideo({camera:t,compressed:n,maxDuration:i,sourceType:u,extension:c,success:function(t){var n=t.tempFilePath,r=t.duration,i=t.size,a=t.height,o=t.width;e(l({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:i,type:t.tempFile&&t.tempFile.type||"",width:o,height:a,duration:r,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){o({errMsg:e.errMsg.replace("chooseVideo:fail",a)})}})}))}(t),t):o(e,function(e){var t=e.count,n=e.extension;return new Promise((function(e,o){var u=r.chooseFile;if("undefined"!=typeof i&&"function"==typeof i.chooseMessageFile&&(u=i.chooseMessageFile),"function"!=typeof u)return o({errMsg:a+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});u({type:"all",count:t,extension:n,success:function(t){e(l(t))},fail:function(e){o({errMsg:e.errMsg.replace("chooseFile:fail",a)})}})}))}(t),t)}}})),Kn=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(qn);function Wn(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{}}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(n){t.push(e[n])})),t}),(function(t,n){if("manual"!==e.loadtime){for(var r=!1,i=[],a=2;a0&&void 0!==arguments[0]?arguments[0]:{},n=t.getone,r=void 0!==n&&n,i=t.success,a=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var n=t.result,a=n.data,l=n.count;e.getcount&&(e.mixinDatacomPage.count=l),e.mixinDatacomHasMore=a.length0&&void 0!==arguments[0]?arguments[0]:{},r=e.database(this.spaceInfo),i=n.action||this.action;i&&(r=r.action(i));var a=n.collection||this.collection;r=Array.isArray(a)?(t=r).collection.apply(t,(0,s.default)(a)):r.collection(a);var l=n.where||this.where;l&&Object.keys(l).length&&(r=r.where(l));var o=n.field||this.field;o&&(r=r.field(o));var u=n.foreignKey||this.foreignKey;u&&(r=r.foreignKey(u));var c=n.groupby||this.groupby;c&&(r=r.groupBy(c));var d=n.groupField||this.groupField;d&&(r=r.groupField(d)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(r=r.distinct());var h=n.orderby||this.orderby;h&&(r=r.orderBy(h));var f=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,v=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,p=void 0!==n.getcount?n.getcount:this.getcount,x=void 0!==n.gettree?n.gettree:this.gettree,g=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,m={getCount:p},y={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return x&&(m.getTree=y),g&&(m.getTreePath=y),r=r.skip(v*(f-1)).limit(v).get(m),r}}}}function Qn(e){return G("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}function Jn(){return Gn.apply(this,arguments)}function Gn(){return Gn=(0,d.default)(l.default.mark((function e(){var t,n,i,a,o,u,c,s=arguments;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=s.length>0&&void 0!==s[0]?s[0]:{},n=t.openid,i=t.callLoginByWeixin,a=void 0!==i&&i,o=Qn(this),"mp-weixin"===W){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(W,"`"));case 4:if(!n||!a){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!n){e.next=8;break}return e.abrupt("return",(o.mpWeixinOpenid=n,{}));case 8:return e.next=10,new Promise((function(e,t){r.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return u=e.sent,c=this.importObject("uni-id-co",{customUI:!0}),e.next=14,c.secureNetworkHandshakeByWeixin({code:u,callLoginByWeixin:a});case 14:return o.mpWeixinCode=u,e.abrupt("return",{code:u});case 16:case"end":return e.stop()}}),e,this)}))),Gn.apply(this,arguments)}function Yn(e){return Zn.apply(this,arguments)}function Zn(){return Zn=(0,d.default)(l.default.mark((function e(t){var n;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Qn(this),e.abrupt("return",(n.initPromise||(n.initPromise=Jn.call(this,t)),n.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),Zn.apply(this,arguments)}function Xn(e){var t={getSystemInfo:r.getSystemInfo,getPushClientId:r.getPushClientId};return function(n){return new Promise((function(r,i){t[e](T(T({},n),{},{success:function(e){r(e)},fail:function(e){i(e)}}))}))}}var er=function(e){(0,f.default)(n,e);var t=S(n);function n(){var e;return(0,g.default)(this,n),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,o.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,m.default)(n,[{key:"init",value:function(){var e=this;return Promise.all([Xn("getSystemInfo")(),Xn("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,u.default)(t,2),r=n[0];r=void 0===r?{}:r;var i=r.appId,a=n[1];a=void 0===a?{}:a;var l=a.cid;if(!i)throw new Error("Invalid appId, please check the manifest.json file");if(!l)throw new Error("Invalid push client id");e._appId=i,e._pushClientId=l,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,d.default)(l.default.mark((function e(){return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,n=t.action,r=t.messageId,i=t.message;this._payloadQueue.push({action:n,messageId:r,message:i}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,n=e.messageId,r=e.message;"end"===t?this._end({messageId:n,message:r}):"message"===t&&this._appendMessage({messageId:n,message:r})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){r.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){r.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),n}(function(){function e(){(0,g.default)(this,e),this._callback={}}return(0,m.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var n=this._callback[e];if(n){var r=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(r,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0)return e.init(t).database();if(this._database)return this._database;var n=fn(vn,{uniClient:e});return this._database=n,n},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var n=fn(vn,{uniClient:e,isJQL:!0});return this._databaseForJQL=n,n}}(t),function(e){e.getCurrentUserInfo=zn,e.chooseAndUploadFile=Kn.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return Wn(e)}}),e.SSEChannel=er,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.openid,r=t.callLoginByWeixin,i=void 0!==r&&r;return Yn.call(e,{openid:n,callLoginByWeixin:i})}}(e),e.importObject=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,c.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);var i=n,a=i.customUI,o=i.loadingOptions,u=i.errorOptions,s=i.parseSystemError,h=!a;return new Proxy({},{get:function(i,a){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,n=e.interceptorName,r=e.getCallbackArgs;return(0,d.default)(l.default.mark((function e(){var i,a,o,u,c,s,d=arguments;return l.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(i=d.length,a=new Array(i),o=0;o0&&void 0!==c[0]?c[0]:{},n=t.title,i=t.content,a=t.showCancel,o=t.cancelText,u=t.confirmText,e.abrupt("return",new Promise((function(e,t){r.showModal({title:n,content:i,showCancel:a,cancelText:o,confirmText:u,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:A,showCancel:u.retry,cancelText:"取消",confirmText:u.retry?"重试":"确定"});case 33:if(O=i.sent,P=O.confirm,!u.retry||!P){i.next=37;break}return i.abrupt("return",f.apply(void 0,x));case 37:throw C=new be({subject:b,code:w,message:k,requestId:v.requestId}),C.detail=v.result,ve(ae,{type:se,content:C}),C;case 39:return i.abrupt("return",(ve(ae,{type:se,content:v.result}),v.result));case 40:case"end":return i.stop()}}),i,null,[[5,11]])})));function f(){return i.apply(this,arguments)}return f}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.params;return{objectName:t,methodName:a,params:n}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){var r=this,i=!1;if("callFunction"===t){var a=n&&n.type||M;i=a!==M}var l="callFunction"===t&&!i,o=this._initPromiseHub.exec();n=n||{};var u=me(n),c=u.success,s=u.fail,d=u.complete,h=o.then((function(){return i?Promise.resolve():te(ne(t,"invoke"),n)})).then((function(){return e.call(r,n)})).then((function(e){return i?Promise.resolve(e):te(ne(t,"success"),e).then((function(){return te(ne(t,"complete"),e)})).then((function(){return l&&ve(ae,{type:ce,content:e}),Promise.resolve(e)}))}),(function(e){return i?Promise.reject(e):te(ne(t,"fail"),e).then((function(){return te(ne(t,"complete"),e)})).then((function(){return ve(ae,{type:ce,content:e}),Promise.reject(e)}))}));if(!(c||s||d))return h;h.then((function(e){c&&c(e),d&&d(e),l&&ve(ae,{type:ce,content:e})}),(function(e){s&&s(e),d&&d(e),l&&ve(ae,{type:ce,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());(function(){var e=Q,t={};if(e&&1===e.length)t=e[0],nr=nr.init(t),nr._isDefault=!0;else{var n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(e){nr[e]=function(){return console.error(n),Promise.reject(new be({code:"SYS_ERR",message:n}))}}))}Object.assign(nr,{get mixinDatacom(){return Wn(nr)}}),$n(nr),nr.addInterceptor=X,nr.removeInterceptor=ee,nr.interceptObject=re})();var rr=nr;t.default=rr}).call(this,n("c8ba"),n("543d")["default"],n("bc2e")["default"])},b17c:function(e,t,n){var r=n("4a4b"),i=n("6f8f");function a(t,n,l){return i()?(e.exports=a=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports["default"]=e.exports):(e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=Function.bind.apply(e,i),l=new a;return n&&r(l,n.prototype),l},e.exports.__esModule=!0,e.exports["default"]=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},b2b7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__D03D671"}},b757:function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="b757"},bc2e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],i=["lanDebug","router","worklet"],a="undefined"!==typeof globalThis?globalThis:function(){return this}(),l=["w","x"].join(""),o=a[l],u=o.getLaunchOptionsSync?o.getLaunchOptionsSync():null;function c(e){return(!u||1154!==u.scene||!i.includes(e))&&(r.indexOf(e)>-1||"function"===typeof o[e])}a[l]=function(){var e={};for(var t in o)c(t)&&(e[t]=o[t]);return e}();var s=a[l];t.default=s},bc6a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={common:{init:{url:"index/init",auth:!1,method:"GET"}}}},bcdb:function(e){e.exports=JSON.parse('{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."}')},c135:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},c240:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},c5f7:function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports["default"]=e.exports},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c973:function(e,t){function n(e,t,n,r,i,a,l){try{var o=e[a](l),u=o.value}catch(c){return void n(c)}o.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var l=e.apply(t,r);function o(e){n(l,i,a,o,u,"next",e)}function u(e){n(l,i,a,o,u,"throw",e)}o(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},def5:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterMount",{enumerable:!0,get:function(){return a.RouterMount}}),t.router=void 0;var i=r(n("448a")),a=n("a6c5"),l=(0,a.createRouter)({platform:"mp-weixin",applet:{animationDuration:100},routes:[].concat((0,i.default)([{path:"/pages/index/index",aliasPath:"/"},{path:"/pages/problem/problem"},{path:"/pages/query/query"},{path:"/pages/home/home"},{path:"/pages/details/details"}]),[{path:"*",redirect:function(e){return{name:"404"}}}])});t.router=l,l.beforeEach((function(e,t,n){console.log("跳转结束"),e.meta&&e.meta.auth?n(!1):n()})),l.afterEach((function(e,t){}))},dfdf:function(e){e.exports=JSON.parse('{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}')},e3a7:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1626")),a={props:{autoShowBackToTop:{type:Boolean,default:i.default.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:i.default.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:i.default.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:i.default.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:i.default.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:function(){return i.default.gc("backToTopStyle",{})}},enableBackToTop:{type:Boolean,default:i.default.gc("enableBackToTop",!0)}},data:function(){return{backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}},computed:{finalEnableBackToTop:function(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold:function(){return i.default.convertToPx(this.backToTopThreshold)},finalBackToTopStyle:function(){var e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+i.default.convertToPx(this.backToTopBottom)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e}},methods:{_backToTopClick:function(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop:function(e){var t=this;this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),i.default.delay((function(){t.backToTopClass="zp-back-to-top zp-back-to-top-show"}),300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",i.default.delay((function(){t.showBackToTopClass=!1}),(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}};t.default=a},e50d:function(e,t,n){var r=n("7037")["default"];e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},e758:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("37dc"),a=r(n("71e9")),l=(r(n("1626")),r(n("3f20")),r(n("4581"))),o=(0,i.initVueI18n)(a.default),u=o.t,c={data:function(){return{language:e.getSystemInfoSync().language}},computed:{finalLanguage:function(){try{var t=e.getLocale(),n=this.language;return"auto"===t?l.default._handleLanguage2Local(n,this._language2Local(n)):t}catch(r){return"zh-Hans"}},finalRefresherDefaultText:function(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText:function(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText:function(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText:function(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:function(){return{title:u("zp.refresherUpdateTime.title"),none:u("zp.refresherUpdateTime.none"),today:u("zp.refresherUpdateTime.today"),yesterday:u("zp.refresherUpdateTime.yesterday")}},finalLoadingMoreDefaultText:function(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText:function(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText:function(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText:function(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText:function(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText:function(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText:function(){return this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText:function(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage:function(){return this.finalLanguage},_getI18nText:function(e,t){var n=Object.prototype.toString.call(t);if("[object Object]"===n){var r=t[this.finalLanguage];if(r)return r}else if("[object String]"===n)return t;return u(e)},_language2Local:function(e){var t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}};t.default=c}).call(this,n("543d")["default"])},e857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollData=void 0;t.scrollData=[{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"}]},ea3f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={onPullDownRefresh:function(){this.isPagingRefNotFound()||this.$refs.paging.reload()},onPageScroll:function(e){this.isPagingRefNotFound()||(this.$refs.paging.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&this.$refs.paging.doChatRecordLoadMore())},onReachBottom:function(){this.isPagingRefNotFound()||this.$refs.paging.pageReachBottom()},methods:{isPagingRefNotFound:function(){return!this.$refs.paging}}}},ec78:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("760a")),a=r(n("28ef")),l=r(n("6cc8")),o={en:i.default,"zh-Hans":a.default,"zh-Hant":l.default};t.default=o},ed6d:function(e,t,n){var r=n("4a4b");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},f0c5:function(e,t,n){"use strict";function r(e,t,n,r,i,a,l,o,u,c){var s,d="function"===typeof e?e.options:e;if(u){d.components||(d.components={});var h=Object.prototype.hasOwnProperty;for(var f in u)h.call(u,f)&&!h.call(d.components,f)&&(d.components[f]=u[f])}if(c&&("function"===typeof c.beforeCreate&&(c.beforeCreate=[c.beforeCreate]),(c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(d.mixins||(d.mixins=[])).push(c)),t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),l?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},d._ssrRegister=s):i&&(s=o?function(){i.call(this,this.$root.$options.shadowRoot)}:i),s)if(d.functional){d._injectStyles=s;var v=d.render;d.render=function(e,t){return s.call(t),v(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:d}}n.d(t,"a",(function(){return r}))},f1f8:function(e,t,n){(function(e){var t=n("7037");e.addInterceptor({returnValue:function(e){return!e||"object"!==t(e)&&"function"!==typeof e||"function"!==typeof e.then?e:new Promise((function(t,n){e.then((function(e){return e[0]?n(e[0]):t(e[1])}))}))}})}).call(this,n("543d")["default"])},f465:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("1626")),a=r(n("3d52")),l={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:i.default.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:i.default.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:i.default.gc("autoShowSystemLoading",!1)},systemLoadingMask:{type:Boolean,default:i.default.gc("systemLoadingMask",!0)},systemLoadingText:{type:[String,Object],default:i.default.gc("systemLoadingText",null)}},data:function(){return{loading:!1,loadingForNow:!1}},watch:{loadingStatus:function(e){var t=this;this.$emit("loadingStatusChange",e),this.$nextTick((function(){t.loadingStatusAfterRender=e}))},loading:function(e){e&&(this.loadingForNow=e)}},computed:{showLoading:function(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&e.showLoading({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===a.default.LoadingType.Refresher)},finalShowSystemLoading:function(){return this.autoShowSystemLoading&&this.loadingType===a.default.LoadingType.Refresher}},methods:{_startLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=a.default.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh:function(){this.finalShowSystemLoading&&e.hideLoading(),!this.useCustomRefresher&&e.stopPullDownRefresh()}}};t.default=l}).call(this,n("543d")["default"])},f48d:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("2eee")),a=r(n("c973")),l=r(n("894e")),o=r(n("3f20")),u=r(n("1626")),c=r(n("9e48")),s=r(n("6b69")),d=r(n("e758")),h=r(n("05d6")),f=r(n("2ca3")),v=r(n("7e96")),p=r(n("1f41")),x=r(n("f465")),g=r(n("530c")),m=r(n("e3a7")),y=r(n("41a7")),_=r(n("3d52")),b=e.getSystemInfoSync(),w={name:"z-paging",components:{zPagingRefresh:function(){n.e("uni_modules/z-paging/components/z-paging/components/z-paging-refresh").then(function(){return resolve(n("a304"))}.bind(null,n)).catch(n.oe)},zPagingLoadMore:function(){n.e("uni_modules/z-paging/components/z-paging/components/z-paging-load-more").then(function(){return resolve(n("010c"))}.bind(null,n)).catch(n.oe)},zPagingEmptyView:function(){n.e("uni_modules/z-paging/components/z-paging-empty-view/z-paging-empty-view").then(function(){return resolve(n("826d"))}.bind(null,n)).catch(n.oe)}},mixins:[c.default,s.default,d.default,h.default,f.default,v.default,p.default,x.default,g.default,m.default,y.default],data:function(){return{base64Arrow:l.default.base64Arrow,base64Flower:l.default.base64Flower,base64BackToTop:l.default.base64BackToTop,loadingType:_.default.LoadingType.Refresher,requestTimeStamp:0,chatRecordLoadingMoreText:"",wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===b.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}},props:{delay:{type:[Number,String],default:u.default.gc("delay",0)},minDelay:{type:[Number,String],default:u.default.gc("minDelay",0)},pagingStyle:{type:Object,default:function(){return u.default.gc("pagingStyle",{})}},height:{type:String,default:u.default.gc("height","")},width:{type:String,default:u.default.gc("width","")},bgColor:{type:String,default:u.default.gc("bgColor","")},pagingContentStyle:{type:Object,default:function(){return u.default.gc("pagingContentStyle",{})}},autoHeight:{type:Boolean,default:u.default.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:u.default.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:u.default.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:u.default.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:u.default.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:u.default.gc("useSafeAreaPlaceholder",!1)},topZIndex:{type:Number,default:u.default.gc("topZIndex",99)},superContentZIndex:{type:Number,default:u.default.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:u.default.gc("contentZIndex",10)},autoFullHeight:{type:Boolean,default:u.default.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:u.default.gc("watchTouchDirectionChange",!1)}},created:function(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this._preReload())},mounted:function(){var t=this;this.wxsPropType=u.default.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||this.$nextTick(this._preReload),this.finalUseCache&&this._setListByLocalCache();this.$nextTick((function(){t.systemInfo=e.getSystemInfoSync(),!t.usePageScroll&&t.autoHeight&&t._setAutoHeight(),t.loaded=!0})),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick((function(){t.isTouchmoving=!0})),this._onEmit(),this.finalUseVirtualList&&this._virtualListInit(),this.$nextTick((function(){setTimeout((function(){t._getCssSafeAreaInsetBottom((function(){return t.safeAreaInsetBottom&&t.updatePageScrollBottomHeight()}))}),100)}))},destroyed:function(){this._offEmit()},watch:{defaultThemeStyle:{handler:function(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight:function(e){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition:function(e){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle:function(){var e=this.pagingStyle;if(!this.systemInfo)return e;var t=this.windowTop,n=this.windowBottom;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),n&&!e.bottom&&(e.bottom=n+"px")),this.bgColor.length&&!e["background"]&&(e["background"]=this.bgColor),this.height.length&&!e["height"]&&(e["height"]=this.height),this.width.length&&!e["width"]&&(e["width"]=this.width),e},finalLowerThreshold:function(){return u.default.convertToPx(this.lowerThreshold)},finalPagingContentStyle:function(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle["position"]="relative"),this.pagingContentStyle},renderJsIgnore:function(){var e=this;return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled||!this.useCustomRefresher)&&this.$nextTick((function(){e.renderPropScrollTop=10})),0},windowHeight:function(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom:function(){if(!this.systemInfo)return 0;var e=this.systemInfo.windowBottom||0;return this.safeAreaInsetBottom&&!this.useSafeAreaPlaceholder&&(e+=this.safeAreaBottom),e},isIosAndH5:function(){return!1}},methods:{getVersion:function(){return"z-paging v".concat(o.default.version)},setSpecialEffects:function(e){this.setListSpecialEffects(e)},setListSpecialEffects:function(e){this.nFixFreezing=e&&Object.keys(e).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(e)},_doVibrateShort:function(){e.vibrateShort()},_setAutoHeight:function(){var e=arguments,t=this;return(0,a.default)(i.default.mark((function n(){var r,a,l,o,c,s,d,h,f;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=!(e.length>0&&void 0!==e[0])||e[0],a=e.length>1&&void 0!==e[1]?e[1]:null,l="min-height",l="min-height",n.prev=4,!r){n.next=18;break}if(n.t0=a,n.t0){n.next=11;break}return n.next=10,t._getNodeClientRect(".zp-scroll-view");case 10:n.t0=n.sent;case 11:return o=n.t0,n.next=14,t._getNodeClientRect(".zp-page-bottom");case 14:c=n.sent,o&&(s=o[0].top,d=t.windowHeight-s,d-=c?c[0].height:0,h=u.default.convertToPx(t.autoHeightAddition),f=d+h-(t.insideMore?1:0)+"px !important",t.$set(t.scrollViewStyle,l,f),t.$set(t.scrollViewInStyle,l,f)),n.next=20;break;case 18:t.$delete(t.scrollViewStyle,l),t.$delete(t.scrollViewInStyle,l);case 20:n.next=24;break;case 22:n.prev=22,n.t1=n["catch"](4);case 24:case"end":return n.stop()}}),n,null,[[4,22]])})))()},_updateInsideOfPaging:function(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:function(e){return e&&(clearTimeout(e),e=null),e},_onEmit:function(){var t=this;e.$on(o.default.errorUpdateKey,(function(){t.loading&&t.complete(!1)})),e.$on(o.default.completeUpdateKey,(function(e){setTimeout((function(){if(t.loading)if(t.disabledCompleteEmit)t.disabledCompleteEmit=!1;else{var n=e.type||"normal",r=e.list||e,i=e.rule;switch(t.fromCompleteEmit=!0,n){case"normal":t.complete(r);break;case"total":t.completeByTotal(r,i);break;case"nomore":t.completeByNoMore(r,i);break;case"key":t.completeByKey(r,i);break;default:break}}}),1)}))},_offEmit:function(){e.$off(o.default.errorUpdateKey),e.$off(o.default.completeUpdateKey)}}};t.default=w}).call(this,n("543d")["default"])},f9d6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",t=this.$parent,n=t.$options.name;while(n!==e){if(t=t.$parent,!t)return!1;n=t.$options.name}return t}}};t.default=r},faf9:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=function(e,t){if(!t)return;return clearTimeout(t.timer),new c(e,t)};var i=r(n("9523")),a=r(n("970b")),l=r(n("5bc3"));function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,i){nvueAnimation.transition(n,u({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=e[n];if(i){var a=i.styles,l=i.config;this._animateRun(a,l).then((function(){n+=1,t._nvueNextAnimate(e,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),s=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];s.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(e){c.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("543d")["default"])},fba0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BASE_URL=t.API_URL=void 0;var r="http://192.168.0.248:6000";t.BASE_URL=r;var i="".concat(r,"/ecloud-setl-dt/web/base/setl/");t.API_URL=i},fbad:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollData=void 0;t.scrollData=[{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"},{title:"账号问题",type:"已受理",code:"20230816001",name:"药品和医用耗材招采管理系统",describe:"这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是问题描述这里是",time:"2023-8-16 11:31:17"}]},ffa2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.state=t.mutations=t.actions=void 0;t.state={showWxLogin:!1};var r={setShowWxLogin:function(e,t){console.log(t,"111"),e.showWxLogin=t}};t.mutations=r;t.actions={}}}]);