index.umd.min.js 505.9 KB
Newer Older
Q
qiang 已提交
1
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue-router"),require("vue"),require("@dcloudio/uni-i18n")):"function"===typeof define&&define.amd?define([,,],e):"object"===typeof exports?exports["index"]=e(require("vue-router"),require("vue"),require("@dcloudio/uni-i18n")):t["index"]=e(t["VueRouter"],t["Vue"],t["@dcloudio/uni-i18n"])})("undefined"!==typeof self?self:this,(function(t,e,n){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0001":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"loadFontFace",(function(){return o}));var i=n("a118"),r=n("db70");function o(e,n){var i=Object(r["a"])();if(!i)return{errMsg:"loadFontFace:fail not font page"};t.publishHandler("loadFontFace",{options:e,callbackId:n},i)}t.subscribe("onLoadFontFaceCallback",(function(t){var e=t.callbackId,n=t.data;Object(i["a"])(e,n)}))}.call(this,n("0dd1"))},"00b2":function(t,e,n){},"0138":function(t,e,n){"use strict";n.r(e),function(t){var i=n("052f"),r=n("3d1f"),o=n("98be"),a=n("abbf");n.d(e,"getApp",(function(){return a["b"]})),n.d(e,"getCurrentPages",(function(){return a["c"]})),Object(i["a"])(t.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(r["a"])(t.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),e["default"]=o["a"]}.call(this,n("0dd1"))},"01d0":function(t,e,n){},"0212":function(t,e,n){"use strict";n.r(e),n.d(e,"getLaunchOptionsSync",(function(){return r})),n.d(e,"getEnterOptionsSync",(function(){return o}));var i=n("abbf");function r(){return Object(i["e"])()}function o(){return Object(i["d"])()}},"02b5":function(t,e,n){"use strict";var i=n("8e72"),r=n.n(i);r.a},"02c9":function(t,e,n){"use strict";function i(t){if(0===t.indexOf("#")){var e=t.substr(1);return function(t){return!(!t.componentInstance||t.componentInstance.id!==e)||!(!t.data||!t.data.attrs||t.data.attrs.id!==e)}}if(0===t.indexOf(".")){var n=t.substr(1);return function(t){return t.data&&o(n,t.data.staticClass,t.data.class)}}}n.d(e,"a",(function(){return c}));var r=/\s+/;function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?-1!==e.split(r).indexOf(t):n&&"string"===typeof n?-1!==n.split(r).indexOf(t):void 0}function a(t,e){if(e(t.$vnode||t._vnode))return t;for(var n=t.$children,i=0;i<n.length;i++){var r=a(n[i],e);if(r)return r}}function s(t,e,n){e(t.$vnode||t._vnode)&&n.push(t);for(var i=t.$children,r=0;r<i.length;r++)s(i[r],e,n);return n}function c(t){t.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},t.prototype.createMediaQueryObserver=function(t){return uni.createMediaQueryObserver(this,t)},t.prototype.selectComponent=function(t){return a(this,i(t))},t.prototype.selectAllComponents=function(t){return s(this,i(t),[])}}},"02ed":function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出應用","uni.async.error":"連接服務器超時,點擊屏幕重試","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"請注意 showToast 與 hideToast 必須配對使用","uni.showLoading.unpaired":"請注意 showLoading 與 hideLoading 必須配對使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"確定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"從相冊選擇","uni.chooseImage.sourceType.camera":"拍攝","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"從相冊選擇","uni.chooseVideo.sourceType.camera":"拍攝","uni.chooseFile.notUserActivation":"文件選擇器對話框只能在由用戶激活時顯示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存圖像","uni.previewImage.save.success":"保存圖像到相冊成功","uni.previewImage.save.fail":"保存圖像到相冊失敗","uni.setClipboardData.success":"內容已復制","uni.scanCode.title":"掃碼","uni.scanCode.album":"相冊","uni.scanCode.fail":"識別失敗","uni.scanCode.flash.on":"輕觸照亮","uni.scanCode.flash.off":"輕觸關閉","uni.startSoterAuthentication.authContent":"指紋識別中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"彈幕","uni.video.volume":"音量","uni.button.feedback.title":"問題反饋","uni.button.feedback.send":"發送","uni.chooseLocation.search":"搜索地點","uni.chooseLocation.cancel":"取消"}')},"052f":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("a741"),r=n("45db");function o(t,e){var n=t.name,i=t.arg;"postMessage"===n||uni[n](i)}function a(t,e){var n=e.getApp,a=e.getCurrentPages;function s(t){Object(i["a"])(n(),"onError",t)}function c(t){Object(i["a"])(n(),"onPageNotFound",t)}function u(t,e){var n=a().find((function(t){return t.$page.id===e}));n&&Object(i["b"])(n,"onResize",t)}function l(t,e){var n=a().find((function(t){return t.$page.id===e}));n&&(Object(r["setPullDownRefreshPageId"])(e),Object(i["b"])(n,"onPullDownRefresh"))}function d(t,e){var n=a();n.length&&Object(i["b"])(n[n.length-1],t,e)}function h(t){return function(e){d(t,e)}}function f(){Object(i["a"])(n(),"onHide"),d("onHide")}function p(t){Object(i["a"])(n(),"onShow",t);var e=a();0!==e.length&&d("onShow")}t("onError",s),t("onPageNotFound",c),t("onAppEnterBackground",f),t("onAppEnterForeground",p),t("onResize",u),t("onPullDownRefresh",l),t("onTabItemTap",h("onTabItemTap")),t("onNavigationBarButtonTap",h("onNavigationBarButtonTap")),t("onNavigationBarSearchInputChanged",h("onNavigationBarSearchInputChanged")),t("onNavigationBarSearchInputConfirmed",h("onNavigationBarSearchInputConfirmed")),t("onNavigationBarSearchInputClicked",h("onNavigationBarSearchInputClicked")),t("onNavigationBarSearchInputFocusChanged",h("onNavigationBarSearchInputFocusChanged")),t("onWebInvokeAppService",o)}},"0554":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getLocation",(function(){return o}));var i=n("ffdc"),r=n("636c");function o(e,n){var o=e.type,a=e.altitude,s=e.isHighAccuracy,c=e.highAccuracyExpireTime,u=t,l=u.invokeCallbackHandler,d=Object(r["e"])();new Promise((function(t,e){navigator.geolocation?navigator.geolocation.getCurrentPosition((function(e){return t(e.coords)}),e,{enableHighAccuracy:s||a,timeout:c||1e5}):e(new Error("device nonsupport geolocation"))})).catch((function(){return new Promise((function(t,e){d.type===r["d"].QQ?Object(i["a"])("https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=".concat(d.key),{callback:"callback"},(function(n){if("result"in n&&n.result.location){var i=n.result.location;t({latitude:i.lat,longitude:i.lng},!0)}else e(new Error(n.message||JSON.stringify(n)))}),(function(){return e(new Error("network error"))})):d.type===r["d"].GOOGLE?uni.request({method:"POST",url:"https://www.googleapis.com/geolocation/v1/geolocate?key=".concat(d.key),success:function(n){var i=n.data;"location"in i?t({latitude:i.location.lat,longitude:i.location.lng,accuracy:i.accuracy}):e(new Error(i.error&&i.error.message||JSON.stringify(n)))},fail:function(){e(new Error("network error"))}}):e(new Error("network error"))}))})).then((function(t,e){Object(r["f"])(o,t,e).then((function(t){l(n,Object.assign(t,{errMsg:"getLocation:ok",verticalAccuracy:t.altitudeAccuracy||0,horizontalAccuracy:t.accuracy}))})).catch((function(t){l(n,{errMsg:"getLocation:fail "+t.message})}))}))}}.call(this,n("0dd1"))},"0741":function(t,e,n){"use strict";var i=n("3c79"),r=n.n(i);r.a},"0758":function(t,e,n){"use strict";n.r(e),function(t){function i(e,n,i,r){var o=n.$page.id;t.publishHandler(o+"-map-"+e,{mapId:e,type:i,data:r},o)}n.d(e,"operateMapPlayer",(function(){return i}))}.call(this,n("0dd1"))},"0784":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("f2b3"),r=n("a741"),o=n("28c0");function a(t,e){var n=t.$route;t.route=n.meta.pagePath,t.options||(t.options=e);var r=Object(i["i"])(n.params,"__id__")?n.params.__id__:n.meta.id,a=n.fullPath;n.meta.isEntry&&-1===a.indexOf(n.meta.pagePath)&&(a="/"+n.meta.pagePath+a.replace("/","")),t.__page__={id:r,path:n.path,route:n.meta.pagePath,fullPath:a,options:e,meta:Object.assign({},n.meta)};var s=t.$router.$eventChannel||new o["a"];t.getOpenerEventChannel=function(){return s},t.$vm=t,t.$root=t,t.$holder=t.$parent.$parent,t.$mp={mpType:"page",page:t,query:{},status:""}}function s(){return{created:function(){var t=Object(i["e"])(this.$route.query);a(this,t),Object(r["b"])(this,"onLoad",t),Object(r["b"])(this,"onShow")}}}},"091a":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"createIntersectionObserver",(function(){return h}));var i=n("62b5"),r=n("1634"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object(i["a"])("requestComponentObserver"),l={thresholds:[0],initialRatio:0,observeAll:!1},d=function(){function e(t,n){a(this,e),this.pageId=t.$page&&t.$page.id,this.component=t._$id||t,this.options=Object.assign({},l,n)}return c(e,[{key:"_makeRootMargin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(e){return"".concat(Number(t[e])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(t,e){return this.options.relativeToSelector=t,this._makeRootMargin(e),this}},{key:"relativeToViewport",value:function(t){return this.options.relativeToSelector=null,this._makeRootMargin(t),this}},{key:"observe",value:function(e,n){"function"===typeof n&&(this.options.selector=e,this.reqId=u.push(n),t.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(r["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(r["a"])(this.component)?this.component:this.pageId)}}]),e}();function h(t,e){return t._isVue||(e=t,t=null),new d(t||Object(o["b"])("createIntersectionObserver"),e)}}.call(this,n("0dd1"))},"0998":function(t,e,n){"use strict";var i=n("927d"),r=n.n(i);r.a},"09e5":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"requestComponentInfo",(function(){return a}));var i=n("62b5"),r=n("1634"),o=Object(i["a"])("requestComponentInfo");function a(e,n,i){t.publishHandler("requestComponentInfo",{reqId:o.push(i),reqs:n},Object(r["a"])(e)?e:e.$page.id)}}.call(this,n("0dd1"))},"0baa":function(t,e,n){"use strict";n.r(e),n.d(e,"chooseFile",(function(){return o}));var i=["all","image","video"],r=["album","camera"],o={count:{type:Number,required:!1,default:100,validator:function(t,e){t<=0&&(e.count=100)}},sourceType:{type:Array,required:!1,default:r,validator:function(t,e){t=t.filter((function(t){return r.includes(t)})),e.sourceType=t.length?t:r}},type:{type:String,required:!1,default:"all",validator:function(t,e){i.includes(t)||(e.type=i[0]),e.type="all"===e.type?e.type="*":e.type}},extension:{type:Array,default:[""],validator:function(t,e){if(0===t.length)return"param extension should not be empty."}}}},"0dd1":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return c})),n.d(e,"off",(function(){return u})),n.d(e,"once",(function(){return l})),n.d(e,"emit",(function(){return d})),n.d(e,"subscribe",(function(){return h})),n.d(e,"unsubscribe",(function(){return f})),n.d(e,"subscribeHandler",(function(){return p}));var i=n("8bbf"),r=n.n(i),o=n("27a7");n.d(e,"invokeCallbackHandler",(function(){return o["a"]})),n.d(e,"removeCallbackHandler",(function(){return o["b"]}));var a=n("b865");n.d(e,"publishHandler",(function(){return a["b"]}));var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),d=s.$emit.bind(s);function h(t,e){return c("view."+t,e)}function f(t,e){return u("view."+t,e)}function p(t,e,n){return d("view."+t,e,n)}},"0e5c":function(t,e,n){"use strict";n.r(e),n.d(e,"showTopWindow",(function(){return o})),n.d(e,"hideTopWindow",(function(){return a})),n.d(e,"showLeftWindow",(function(){return s})),n.d(e,"hideLeftWindow",(function(){return c})),n.d(e,"showRightWindow",(function(){return u})),n.d(e,"hideRightWindow",(function(){return l})),n.d(e,"getTopWindowStyle",(function(){return h})),n.d(e,"getLeftWindowStyle",(function(){return f})),n.d(e,"getRightWindowStyle",(function(){return p})),n.d(e,"setTopWindowStyle",(function(){return v})),n.d(e,"setLeftWindowStyle",(function(){return m})),n.d(e,"setRightWindowStyle",(function(){return b}));var i=n("f2b3");function r(t,e){var n=e?"show":"hide"+Object(i["c"])(t)+"Window",r=getApp();if(r){var o=r.$children[0].$refs.layout.showWindow(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function o(){return r("top",!0)}function a(){return r("top",!1)}function s(){return r("left",!0)}function c(){return r("left",!1)}function u(){return r("right",!0)}function l(){return r("right",!1)}function d(t){var e="get"+Object(i["c"])(t)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(e,":fail app not ready")};var r=n.$children[0].$refs.layout.getWindowStyle(t);return"string"===typeof r&&-1!==r.indexOf("Window not found")?{errMsg:"".concat(e,":fail ").concat(r)}:r}function h(t){return d("top")}function f(t){return d("left")}function p(t){return d("right")}function g(t,e){var n="set"+Object(i["c"])(t)+"WindowStyle",r=getApp();if(!r)return{errMsg:"".concat(n,":fail app not ready")};var o=r.$children[0].$refs.layout.setWindowStyle(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}function v(t){return g("top",t)}function m(t){return g("left",t)}function b(t){return g("right",t)}},"0f55":function(t,e,n){"use strict";var i=n("2190"),r=n.n(i);r.a},"0f74":function(t,e,n){"use strict";function i(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var n=getCurrentPages();t=n.length?n[n.length-1].$page.route:""}if(0===e.indexOf("./"))return i(t,e.substr(2));for(var r=e.split("/"),o=r.length,a=0;a<o&&".."===r[a];a++);r.splice(0,a),e=r.join("/");var s=t.length>0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}n.d(e,"a",(function(){return i}))},1082:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.style}),"widthFix"===t.mode||"heightFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._fixSize()}}}):t._e()],1)},r=[];function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return("undefined"===typeof navigator||o(navigator))&&"Google Inc."===navigator.vendor&&t>10&&(t=2*Math.round(t/2)),t}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":case"heightFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":e,"background-size":t,"background-repeat":n}}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"!==e&&"heightFix"!==e||this._resetSize(),"widthFix"!==t&&"heightFix"!==t||this._fixSize()},contentPath:function(t){!t&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var t=this.$el;if("widthFix"===this.mode){var e=t.offsetWidth;e&&(t.style.height=a(e/this.ratio)+"px")}else if("heightFix"===this.mode){var n=t.offsetHeight;n&&(t.style.width=a(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var t=this,e=this.$getRealPath(this.src);if(e){var n=this._img=this._img||new Image;n.onload=function(i){t._img=null;var r=t.originalWidth=n.width,o=t.originalHeight=n.height;t._fixSize(),t.contentPath=e,n.draggable=t.draggable,t.__img&&t.__img.remove(),t.__img=n,t.$el.appendChild(n),t.$trigger("load",i,{width:r,height:o})},n.onerror=function(e){t._img=null,t._resetData(),t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},n.src=e}else this._clearImage(),this._resetData()},_clearImage:function(){var t=this._img;t&&(t.onload=null,t.onerror=null,this._img=null)}}},c=s,u=(n("db18"),n("2877")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"10a3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-ad",t._g(t._b({},"uni-ad",t.attrs,!1),t.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:t._onhandle}})])},r=[],o=n("8af1");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(){function t(){a(this,t),this._instance=null,this._adConfig=null,this._isLoading=!1,this._lastError=null,this._callbacks=[]}return c(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t,this._instance._init()),this._instance}}]),c(t,[{key:"_init",value:function(){var t=this._getConfig();null!==t&&t.last&&(this.isExpired||(this._adConfig=t.data))}},{key:"get",value:function(e,n,i){if(t.IC++,null!=this._adConfig)return this._doCallback(e,n,i),void(this.isExpired&&this._loadAdConfig(e));this._callbacks.push({adpid:e,success:n,fail:i}),this._loadAdConfig(e)}},{key:"_doCallback",value:function(e,n,i){t.IS++;var r=this._adConfig,o=r.a,a=r.b;o[e]?n(a,o[e]):i(this.ERROR_INVALID_ADPID)}},{key:"_loadAdConfig",value:function(t){var e=this;!0!==this._isLoading&&(this._isLoading=!0,uni.request({url:this.URL,method:"GET",timeout:8e3,data:{d:location.hostname,a:t},dataType:"json",success:function(t){var n=t.data;if(0===n.ret){var i=n.data;e._adConfig=i,e._setConfig(i),e._callbacks.forEach((function(t){var n=t.adpid,i=t.success,r=t.fail;e._doCallback(n,i,r)}))}else e._callbacks.forEach((function(t){t.fail({errCode:n.ret,errMsg:n.msg})}));e._callbacks=[]},fail:function(t){e._callbacks.forEach((function(e){e.fail(t)})),e._callbacks=[]},complete:function(t){e._isLoading=!1}}))}},{key:"_getConfig",value:function(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(this.KEY);return t?JSON.parse(t):null}},{key:"_setConfig",value:function(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(this.KEY,JSON.stringify({last:Date.now(),data:t}))}},{key:"adConfig",get:function(){return this._adConfig}},{key:"isExpired",get:function(){return null==this._adConfig||Math.abs(Date.now()-this._adConfig.last)>this.CACHE_TIME}}]),t}();u(l,"IC",0),u(l,"IS",0),Object.assign(l.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var d=function(){function t(){a(this,t),this._instance=null,this._adConfig=null,this._guid=null}return c(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t,this._instance._init()),this._instance}}]),c(t,[{key:"_init",value:function(){var t=this._getConfig();null!==t&&t.guid?this._guid=t.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(t){this._process(Object.assign(t,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(t){uni.request({url:this.URL,method:"GET",data:t,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var t="",e="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;n<e.length;n++)"x"===e[n]?t+=(16*Math.random()|0).toString(16):t+=e[n];return t.toUpperCase()}},{key:"_getConfig",value:function(){if(!navigator.cookieEnabled||!window.localStorage)return null;var t=localStorage.getItem(this.KEY);return t?JSON.parse(t):null}},{key:"_setConfig",value:function(t){if(!navigator.cookieEnabled||!window.localStorage)return null;localStorage.setItem(this.KEY,JSON.stringify({last:Date.now(),guid:t}))}}]),t}();Object.assign(d.prototype,{URL:"https://has1.dcloud.net.cn/ahl",KEY:"uni_app_ad_guid"});var h=function(){function t(){a(this,t),this._instance=null,this._callback={},this._cache={}}return c(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t),this._instance}}]),c(t,[{key:"load",value:function(t,e,n,i){void 0===this._cache[t]&&this.loadScript(t,e),1===this._cache[t]?n():(this._callback[t]||(this._callback[t]=[]),this._callback[t].push({success:n,fail:i}))}},{key:"loadScript",value:function(t,e){var n=this;this._cache[t]=0;var i=document.createElement("script");for(var r in i.setAttribute("id","uniad_provider"+t),e)i.setAttribute(r,e[r]);i.onload=function(){n._cache[t]=1,n._callback[t].forEach((function(t){var e=t.success;e()})),n._callback[t].length=0},i.onerror=function(e){n._cache[t]=void 0,n._callback[t].forEach((function(t){var n=t.fail;n(e)})),n._callback[t].length=0},document.body.append(i)}}]),t}(),f=function(){function t(){a(this,t),this._instance=null,this._callback={},this._cache={},window.TencentGDT=window.TencentGDT||[]}return c(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t),this._instance}}]),c(t,[{key:"load",value:function(t,e,n,i){var r=this;this._callback[e]||(this._callback[e]=[]),this._callback[e].push({success:n,fail:i}),this._cache[e]||(this._cache[e]={isReady:!1},window.TencentGDT.push({app_id:t,placement_id:e,type:"native",count:1,onComplete:function(t){r._cache[e].isReady=!0,r._callback[e].forEach((function(n){var i=n.success,o=n.fail;t&&Array.isArray(t)&&t.length?i(t[0]):o(t),r._callback[e].length=0}))}})),!0===this._cache[e].isReady&&window.TencentGDT.NATIVE.loadAd(e)}}]),t}(),p=1e3,g=5,v=750,m={name:"Ad",mixins:[o["g"]],props:{adpid:{type:[Number,String],default:""},adpidWidescreen:{type:[Number,String],default:""},widescreenWidth:{type:[Number,String],default:v}},watch:{adpid:function(t){t&&this._loadData(t)},adpidWidescreen:function(t){t&&this._loadData(t)}},mounted:function(){this._p={},this._pl=[],this._pi=0,this._checkTimer=null,this._checkTimerCount=0,this._isWidescreen=this.$refs.container.clientWidth>parseInt(this.widescreenWidth),this._loadData(),d.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:l.IC,is:l.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(t){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(t){var e=this;this._reset();var n=t||this.adpid,i=this._isWidescreen&&this.adpidWidescreen||n;l.instance.get(i,(function(t,n){e._b=t,e._pl=n,e._renderAd()}),(function(t){e.$trigger("error",{},t)}))},_renderAd:function(){var t=this;if(!(this._pi>this._pl.length-1)){var e=this._pl[this._pi],n=this._b[e.a1][e.t],i=n.script;this._currentChannel=e.a1;var r=this._randomId(),o=this._createView(r);"10010"===e.a1?h.instance.load(e.t,i,(function(){t._renderBaidu(r,e.a2)}),(function(e){t.$trigger("error",{},e)})):"10011"===e.a1?(f.instance.load(e.a3,e.a2,(function(t){window.TencentGDT.NATIVE.renderAd(t,r)})),this._startCheckTimer()):"10012"===e.a1?this._renderScript(o,i):"10014"===e.a1?h.instance.load(e.t,i,(function(){t._renderShanhu(r,e.tt,e.tar)}),(function(e){t.$trigger("error",{},e)})):h.instance.load(e.t,i,(function(){t._renderAdView(r,i.s,e)}),(function(e){t.$trigger("error",{},e)}))}},_createView:function(t){var e=document.createElement("div");return e.setAttribute("id",t),e.setAttribute("class",t),this.$refs.container.innerHTML="",this.$refs.container.append(e),e},_renderScript:function(t,e){var n=document.createElement("script");for(var i in e)n.setAttribute(i,e[i]);t.appendChild(n),this._startCheckTimer()},_renderBaidu:function(t,e){(window.slotbydup=window.slotbydup||[]).push({id:e,container:t,async:!0}),this._startCheckTimer()},_renderAdView:function(t,e,n){var i=window;e.split(".").reduce((function(t,e){return i=t,t[e]}),window).bind(i)(n.a2,t,2),this._startCheckTimer()},_renderShanhu:function(t,e,n){var i=this;this._shanhuAd=new window.CoralTBSAdv(t,{type:e,target:n,advShowCb:function(){i._report(42),i.$trigger("load",{},{})},advClickCb:function(){i._report(43),i.$trigger("adclicked",{},{})},advCloseCb:function(){i.$trigger("close",{},{})},advErrorCb:function(t){i.$trigger("error",{},t)}}),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var t=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return t&&this._report(40,this._currentChannel),t},_startCheckTimer:function(){var t=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(t._checkTimerCount++,t._checkTimerCount>=g)return t._clearCheckTimer(),void t._renderNext();t._checkRender()&&t._clearCheckTimer()}),p)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(t,e){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:t};e&&(n.t=e),d.instance.get(n)},_randomId:function(){for(var t="",e=0;e<4;e++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+t}}},b=m,y=(n("e4bc"),n("2877")),_=Object(y["a"])(b,i,r,!1,null,null,null);e["default"]=_.exports},1164:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var i=n("a6b0"),r=n("23e5"),o=!1;function a(){return o}function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],r=a();if(!r)return n&&t.error("app is not ready"),[];var o=r.$children[0];if(o&&o.$children.length){var s=o.$children.find((function(t){return"TabBar"===t.$options.name})),c=o.$children.find((function(t){return"Layout"===t.$options.name}));c&&(o=c),o.$children.forEach((function(t){if(s!==t&&t.$children.length&&"Page"===t.$children[0].$options.name&&t.$children[0].$slots.page){var n=t.$children[0].$children.find((function(t){return"PageBody"===t.$options.name})),o=n&&n.$children.find((function(t){return!!t.$page}));if(o){var a=!0;!e&&s&&o.$page&&o.$page.meta.isTabBar&&(r.$route.meta&&r.$route.meta.isTabBar?r.$route.path!==o.$page.path&&(a=!1):s.__path__!==o.$page.path&&(a=!1)),a&&i.push(o)}}}))}var u=i.length;if(u>1){var l=i[u-1];l.$page.path!==r.$route.path&&i.splice(u-1,1)}return i}function c(t,e,n){o=e,o.$vm=e,o.globalData=o.$options.globalData||{},Object(i["d"])(t,o),Object(r["a"])(o,n)}}).call(this,n("3ad9")["default"])},"11d0":function(t,e,n){"use strict";var i=n("ac57"),r=n.n(i);r.a},"11fb":function(t,e,n){"use strict";n.r(e),n.d(e,"previewImage",(function(){return r}));var i=n("cb0f"),r={urls:{type:Array,required:!0,validator:function(t,e){var n;if(e.urls=t.map((function(t){if("string"===typeof t)return Object(i["a"])(t);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t<e.urls.length?t:0:"string"===typeof t&&t&&(e.current=Object(i["a"])(t))},default:0}}},1307:function(t,e,n){},1348:function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=["navigate","redirect","switchTab","reLaunch","navigateBack"],o=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],a=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"];e["a"]={name:"Navigator",mixins:[i["c"]],props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:function(t){return~r.indexOf(t)}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},animationType:{type:String,validator:function(t){return!t||~o.concat(a).indexOf(t)},default:""},animationDuration:{type:[String,Number],default:300}},methods:{_onClick:function(e){if("navigateBack"===this.openType||this.url){var n=parseInt(this.animationDuration);switch(this.openType){case"navigate":uni.navigateTo({url:this.url,animationType:this.animationType||"pop-in",animationDuration:n});break;case"redirect":uni.redirectTo({url:this.url,exists:this.exists});break;case"switchTab":uni.switchTab({url:this.url});break;case"reLaunch":uni.reLaunch({url:this.url});break;case"navigateBack":uni.navigateBack({delta:this.delta,animationType:this.animationType||"pop-out",animationDuration:n});break;default:break}}else t.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},1585:function(t,e,n){"use strict";n.r(e),n.d(e,"addPhoneContact",(function(){return i}));var i={firstName:{type:String,required:!0,validator:function(t){if(!t)return"addPhoneContact:fail parameter error: parameter.firstName should not be empty String;"}}}},"15bb":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={mounted:function(){var e=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,i=this.$el.querySelector(".uni-page-head__title"),r=this.$el.querySelectorAll(".uni-btn-icon"),o=[],a=this.textColor,s=0;s<r.length;s++)o.push(r[s].style);for(var c=this.$el.querySelectorAll(".uni-page-head-btn"),u=[],l=[],d=0;d<c.length;d++){var h=c[d];u.push(getComputedStyle(h).backgroundColor),l.push(h.style)}this._A=0,t.on("onPageScroll",(function(t){var r=t.scrollTop,s=Math.min(r/e.offset,1);1===s&&1===e._A||(s>.5&&e._A<=.5?o.forEach((function(t){t.color=a})):s<=.5&&e._A>.5&&o.forEach((function(t){t.color="#fff"})),e._A=s,i&&(i.style.opacity=s),n.backgroundColor="rgba(".concat(e._R,",").concat(e._G,",").concat(e._B,",").concat(s,")"),l.forEach((function(t,e){var n=u[e],i=n.match(/[\d+\.]+/g);i[3]=(1-s)*(4===i.length?i[3]:1),t.backgroundColor="rgba(".concat(i,")")})))}))}else if("float"===this.type){for(var f=this.$el.querySelectorAll(".uni-btn-icon"),p=[],g=0;g<f.length;g++)p.push(f[g].style);for(var v=this.$el.querySelectorAll(".uni-page-head-btn"),m=[],b=[],y=0;y<v.length;y++){var _=v[y];m.push(getComputedStyle(_).backgroundColor),b.push(_.style)}}},computed:{color:function(){return"transparent"===this.type?"#fff":this.textColor},offset:function(){return parseInt(this.coverage)},bgColor:function(){if("transparent"===this.type){var t=Object(i["j"])(this.backgroundColor),e=t.r,n=t.g,r=t.b;return this._R=e,this._G=n,this._B=r,"rgba(".concat(e,",").concat(n,",").concat(r,",0)")}return this.backgroundColor}}}}).call(this,n("501c"))},"15ff":function(t,e,n){},1634:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=["VUniLeftWindow","VUniTopWindow","VUniRightWindow"];function r(t){while(t){if(-1!==i.indexOf(t.$options.name))return!0;t=t.$parent}}},"167a":function(t,e,n){"use strict";var i=n("5d70"),r=n.n(i);r.a},"17fd":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-navigator",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel,mousedown:t._hoverMousedown,mouseup:t._hoverMouseup,click:t._onClick}},t.$listeners),[t._t("default")],2):n("uni-navigator",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=n("1348"),a=o["a"],s=(n("f7fd"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"18fd":function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=f("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=f("script,style");function h(t,e){var n,h,f,p=[],g=t;p.last=function(){return this[this.length-1]};while(t){if(h=!0,p.last()&&d[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)</"+p.last()+"[^>]*>"),(function(t,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),e.chars&&e.chars(n),""})),b("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),h=!1)):0==t.indexOf("</")?(f=t.match(r),f&&(t=t.substring(f[0].length),f[0].replace(r,b),h=!1)):0==t.indexOf("<")&&(f=t.match(i),f&&(t=t.substring(f[0].length),f[0].replace(i,m),h=!1)),h){n=t.indexOf("<");var v=n<0?t:t.substring(0,n);t=n<0?"":t.substring(n),e.chars&&e.chars(v)}if(t==g)throw"Parse Error: "+t;g=t}function m(t,n,i,r){if(n=n.toLowerCase(),s[n])while(p.last()&&c[p.last()])b("",p.last());if(u[n]&&p.last()==n&&b("",n),r=a[n]||!!r,r||p.push(n),e.start){var d=[];i.replace(o,(function(t,e){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:l[e]?e:"";d.push({name:e,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),e.start&&e.start(n,d,r)}}function b(t,n){if(n){for(i=p.length-1;i>=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)e.end&&e.end(p[r]);p.length=i}}b()}function f(t){for(var e={},n=t.split(","),i=0;i<n.length;i++)e[n[i]]=!0;return e}},1934:function(t,e,n){"use strict";n.r(e),n.d(e,"setNavigationBarColor",(function(){return r})),n.d(e,"setNavigationBarTitle",(function(){return o}));var i=["#ffffff","#000000"],r={frontColor:{type:String,required:!0,validator:function(t,e){if(-1===i.indexOf(t))return'invalid frontColor "'.concat(t,'"')}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:function(){return{duration:0,timingFunc:"linear"}},validator:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,n){"use strict";n.r(e);var i=n("ba15"),r=n("8aec"),o=n("5363"),a=n("72b3"),s=n("d4cd");function c(t){var e=20,n=0,i=0;t.addEventListener("touchstart",(function(t){var e=t.changedTouches[0];n=e.clientX,i=e.clientY})),t.addEventListener("touchend",(function(t){var r=t.changedTouches[0];if(Math.abs(r.clientX-n)<e&&Math.abs(r.clientY-i)<e){var o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(t){o[t]=r[t]})),t.target.dispatchEvent(o)}}))}var u,l,d={name:"PickerViewColumn",mixins:[i["a"],r["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(t){this._setItemHeight(t),this.inited&&this.update()},current:function(t){this.$parent.setItemValue(this,t)},length:function(t){this.inited&&this.update(t)}},created:function(){var t=this.$parent;this.indicatorStyle=t.indicatorStyle,this.indicatorClass=t.indicatorClass,this.maskStyle=t.maskStyle,this.maskClass=t.maskClass,this.deltaY=0},mounted:function(){var t=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick((function(){t.init(),t.update()})),c(this.$el),Object(s["b"])();var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.indicator.setAttribute(n,""),e=e.$parent}},methods:{_setItemHeight:function(t){var e=document.createElement("style");e.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(t),t.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["a"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),i=e-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var o=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),a=i<0?-o:o,s=Math.min(this.current+a,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var n=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=e;t.preventDefault()},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new o["a"](1e-4),spring:new a["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick((function(){var e=Math.min(t.current,t.length-1);e=Math.max(e,0),t._scroller.update(e*t.indicatorHeight,void 0,t.indicatorHeight)}))},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{on:this.$listeners}},[t("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},h=d,f=(n("edfa"),n("2877")),p=Object(f["a"])(h,u,l,!1,null,null,null);e["default"]=p.exports},"19c4":function(t,e,n){var i={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="19c4"},"19d9":function(t,e,n){"use strict";n.r(e),n.d(e,"getLocation",(function(){return r}));var i=["wgs84","gcj02"],r={type:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.type=i.indexOf(t)<0?i[0]:t}},altitude:{type:Boolean,default:!1}}},"1a12":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"request",(function(){return l}));var i=n("f2b3");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){r(this,t),s(this,"_xhr",void 0),this._xhr=e}return a(t,[{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(t){var e={},n=t.split("\n");return n.forEach((function(t){var n=t.match(/(\S+\s*):\s*(.*)/);if(n&&3===n.length){var i=n[1],r=n[2];e[i]=r}})),e}function l(e,n){var r,o=e.url,a=e.data,s=e.header,l=e.method,d=e.dataType,h=e.responseType,f=e.withCredentials,p=e.timeout,g=void 0===p?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:p,v=t,m=v.invokeCallbackHandler,b=null;for(var y in s)if(Object(i["i"])(s,y)&&"content-type"===y.toLowerCase()){r=s[y],r=0===r.indexOf("application/json")?"json":0===r.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string";break}if("GET"!==l)if("string"===typeof a||a instanceof ArrayBuffer)b=a;else if("json"===r)try{b=JSON.stringify(a)}catch(T){b=a.toString()}else if("urlencoded"===r){var _=[];for(var w in a)Object(i["i"])(a,w)&&_.push(encodeURIComponent(w)+"="+encodeURIComponent(a[w]));b=_.join("&")}else b=a.toString();var k=new XMLHttpRequest,S=new c(k);for(var x in k.open(l,o),s)Object(i["i"])(s,x)&&k.setRequestHeader(x,s[x]);var C=setTimeout((function(){k.onload=k.onabort=k.onerror=null,S.abort(),m(n,{errMsg:"request:fail timeout"})}),g);return k.responseType=h,k.onload=function(){clearTimeout(C);var t=k.status,e="text"===h?k.responseText:k.response;if("text"===h&&"json"===d)try{e=JSON.parse(e)}catch(T){}m(n,{data:e,statusCode:t,header:u(k.getAllResponseHeaders()),errMsg:"request:ok"})},k.onabort=function(){clearTimeout(C),m(n,{errMsg:"request:fail abort"})},k.onerror=function(){clearTimeout(C),m(n,{errMsg:"request:fail"})},k.withCredentials=f,k.send(b),S}}.call(this,n("0dd1"))},"1a8c":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"redirectTo",(function(){return c})),n.d(e,"navigateTo",(function(){return u})),n.d(e,"navigateBack",(function(){return l})),n.d(e,"reLaunch",(function(){return d})),n.d(e,"switchTab",(function(){return h})),n.d(e,"preloadPage",(function(){return f}));var i=n("85b6"),r=n("d65e"),o=t,a=o.invokeCallbackHandler;function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,o=e.delta,a=e.events,c=e.exists,u=e.animationType,l=e.animationDuration,d=e.from,h=void 0===d?"navigateBack":d,f=e.detail,p=getApp().$router;switch(delete p.$eventChannel,t){case"redirectTo":if("back"===c){var g=Object(i["a"])(n);if(-1!==g){var v=getCurrentPages().length-1-g;if(v>0)return s("navigateBack",{delta:v})}}p.replace({type:t,path:n});break;case"navigateTo":return p.$eventChannel=Object(r["a"])(a),p.push({type:t,path:n,animationType:u,animationDuration:l}),{errMsg:t+":ok",eventChannel:p.$eventChannel};case"navigateBack":var m=!0,b=getCurrentPages();if(b.length){var y=b[b.length-1];Object(i["c"])(y.$options,"onBackPress")&&!0===y.__call_hook("onBackPress",{from:h})&&(m=!1)}m&&(o>1&&(p._$delta=o),p.go(-o,{animationType:u,animationDuration:l}));break;case"reLaunch":p.replace({type:t,path:n});break;case"switchTab":p.replace({type:t,path:n,params:{detail:f}});break}return{errMsg:t+":ok"}}function c(t){return s("redirectTo",t)}function u(t){return s("navigateTo",t)}function l(t){return s("navigateBack",t)}function d(t){return s("reLaunch",t)}function h(t){return s("switchTab",t)}function f(t,e){var n=t.url,i=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(i.substr(1)).then((function(){a(e,{url:n,errMsg:"preloadPage:ok"})})).catch((function(t){a(e,{url:n,errMsg:"preloadPage:fail "+t})}))}}.call(this,n("0dd1"))},"1b3d":function(t,e,n){"use strict";n.r(e),function(t){var i=n("f2b3");e["default"]={data:function(){return{previewImage:{visible:!1}}},created:function(){var e=this;t.on("onShowPreviewImage",(function(t,n){e.previewImage=Object.assign({},t,{visible:!0}),Object(i["k"])(n)&&e.$nextTick(n)})),t.on("onClosePreviewImage",(function(t){e._onPreviewClose(),Object(i["k"])(t)&&e.$nextTick(t)})),t.on("onHidePopup",(function(t){e.previewImage.visible=!1}))},methods:{_onPreviewClose:function(t){this.previewImage.visible=!1}}}}.call(this,n("0dd1"))},"1b6f":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,n,r){r&&!n||Object(i["k"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var t="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",t),this._contextId=t),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:t,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(t,e,n){"use strict";var i=n("60ee"),r=n.n(i);r.a},"1c73":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var i={},r={};function o(t){for(var e=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],i=0,r=n;i<r.length;i++){var o=r[i];"orientation"!==o&&""!==t[o]&&Number(t[o])>=0&&e.push("(".concat(a(o),": ").concat(Number(t[o]),"px)")),"orientation"===o&&t[o]&&e.push("(".concat(a(o),": ").concat(t[o],")"))}return e=e.join(" and "),e}function a(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(e){var n=e.reqId,a=e.options,s=i[n]=window.matchMedia(o(a)),c=r[n]=function(e){t.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:e.matches})};c(s),s.addListener(c)}function c(e){var n=e.reqId,o=r[n],a=i[n];a&&(a.removeListener(o),delete i[n],t.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(t,e,n){"use strict";n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return r})),n.d(e,"arrayBufferToBase64",(function(){return o}));var i=n("8390");function r(t){return Object(i["decode"])(t)}function o(t){return Object(i["encode"])(t)}},"1e4d":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.r(e),n.d(e,"createAnimation",(function(){return d}));var a={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"},s=function(){function t(e){i(this,t),this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=Object.assign({},a,e)}return o(t,[{key:"_getOption",value:function(t){var e={transition:Object.assign({},this.option,t)};return e.transformOrigin=e.transition.transformOrigin,delete e.transition.transformOrigin,e}},{key:"_pushAnimates",value:function(t,e){this.currentStepAnimates.push({type:t,args:e})}},{key:"_converType",value:function(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}},{key:"_getValue",value:function(t){return"number"===typeof t?"".concat(t,"px"):t}},{key:"export",value:function(){var t=this.actions;return this.actions=[],{actions:t}}},{key:"step",value:function(t){var e=this;return this.currentStepAnimates.forEach((function(t){"style"!==t.type?e.currentTransform[t.type]=t:e.currentTransform["".concat(t.type,".").concat(t.args[0])]=t})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(t)}),this.currentStepAnimates=[],this}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],u=["opacity","backgroundColor"],l=["width","height","left","right","top","bottom"];function d(t){return new s(t)}c.concat(u,l).forEach((function(t){s.prototype[t]=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return u.concat(l).includes(t)?this._pushAnimates("style",[this._converType(t),l.includes(t)?this._getValue(n[0]):n[0]]):this._pushAnimates(t,n),this}}))},"1efd":function(t,e,n){"use strict";n.r(e);var i=n("8bbf"),r=n.n(i),o=n("cb0f"),a=n("d4b6"),s={methods:{$getRealPath:function(t){return t?Object(o["a"])(t):t},$trigger:function(t,e,n){this.$emit(t,a["b"].call(this,t,e,n,this.$el,this.$el))}}};function c(t){return h(t)||d(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){if(t){if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function d(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function h(t){if(Array.isArray(t))return f(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function p(t){return/^-?\d+[ur]px$/i.test(t)?t.replace(/(^-?\d+)[ur]px$/i,(function(t,e){return"".concat(uni.upx2px(parseFloat(e)),"px")})):/^-?[\d\.]+$/.test(t)?"".concat(t,"px"):t||""}function g(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())})).replace("webkit","-webkit")}function v(t){var e=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],r=["width","height","left","right","top","bottom"],o=t.animates,a=t.option,s=a.transition,u={},l=[];return o.forEach((function(t){var o=t.type,a=c(t.args);if(e.concat(n).includes(o))o.startsWith("rotate")||o.startsWith("skew")?a=a.map((function(t){return parseFloat(t)+"deg"})):o.startsWith("translate")&&(a=a.map(p)),n.indexOf(o)>=0&&(a.length=1),l.push("".concat(o,"(").concat(a.join(","),")"));else if(i.concat(r).includes(a[0])){o=a[0];var s=a[1];u[o]=r.includes(o)?p(s):s}})),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(t){return"".concat(g(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=a.transformOrigin,u}function m(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,i=e.actions,r=e.actions.length;setTimeout((function(){o()}),0)}function o(){var e=i[n],a=e.option.transition,s=v(e);Object.keys(s).forEach((function(e){t.$el.style[e]=s[e]})),n+=1,n<r&&setTimeout(o,a.duration+a.delay)}}var b={props:["animation"],watch:{animation:function(){m(this)}},mounted:function(){m(this)}},y=[n("5408"),n("93a5")];y.forEach((function(t,e){t.keys().forEach((function(e){var n=t(e),i=n.default||n;i.mixins=i.mixins?[].concat(s,i.mixins):[s],i.functional||i.mixins.push(b),i.name="VUni"+i.name,i.isReserved=!0,r.a.component(i.name,i)}))}))},"1ff3":function(t,e,n){"use strict";n.r(e),n.d(e,"uploadFile",(function(){return l}));var i=n("a118"),r=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e,n){o(this,t),this.id=e,this._callbackId=n,this._callbacks=[]}return s(t,[{key:"abort",value:function(){Object(r["c"])("operateUploadTask",{uploadTaskId:this.id,operationType:"abort"})}},{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"onHeadersReceived",value:function(){}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),u=Object.create(null);function l(t,e){var n=Object(r["c"])("createUploadTask",t),i=n.uploadTaskId,o=new c(i,e);return u[i]=o,o}Object(r["d"])("onUploadTaskStateChange",(function(t){var e=t.uploadTaskId,n=t.state,r=t.data,o=t.statusCode,a=t.progress,s=t.totalBytesSent,c=t.totalBytesExpectedToSend,l=t.errMsg,d=u[e],h=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(t){t({progress:a,totalBytesSent:s,totalBytesExpectedToSend:c})}));break;case"success":Object(i["a"])(h,{data:r,statusCode:o,errMsg:"request:ok"});case"fail":Object(i["a"])(h,{errMsg:"request:fail "+l});default:setTimeout((function(){delete u[e]}),100);break}}))},2190:function(t,e,n){},2209:function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(t,e,n){"use strict";n.r(e),n.d(e,"showModal",(function(){return o})),n.d(e,"showToast",(function(){return a})),n.d(e,"showLoading",(function(){return s})),n.d(e,"showActionSheet",(function(){return c}));var i=n("a6b0"),r=n("cb0f"),o={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(i["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:function(){return Object(i["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},a={title:{type:String,default:""},icon:{default:"success",validator:function(t,e){-1===["success","loading","error","none"].indexOf(t)&&(e.icon="success")}},image:{type:String,default:"",validator:function(t,e){t&&(e.image=Object(r["a"])(t))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},c={itemList:{type:Array,required:!0,validator:function(t,e){if(!t.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return i}));var i=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(t,e,n){"use strict";n.r(e),n.d(e,"pageScrollTo",(function(){return i}));var i={scrollTop:{type:Number},duration:{type:Number,default:300,validator:function(t,e){e.duration=Math.max(0,t)}}}},2399:function(t,e,n){},"23e5":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return g}));var i=n("a741");function r(t){-1===this.keepAliveInclude.indexOf(t)&&this.keepAliveInclude.push(t)}var o=[];function a(t){if("number"===typeof t)o=this.keepAliveInclude.splice(-(t-1)).map((function(t){return parseInt(t.split("-").pop())}));else{var e=this.keepAliveInclude.indexOf(t);-1!==e&&this.keepAliveInclude.splice(e,1)}}var s=Object.create(null);function c(t){return s[t]}function u(t){s[t]={x:window.pageXOffset,y:window.pageYOffset}}function l(t,e,n){e&&n&&e.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var r=getCurrentPages(),o=r.length-1;o>=0;o--){var s=r[o],c=s.$page.meta;c.isTabBar||(a.call(this,c.name+"-"+s.$page.id),Object(i["b"])(s,"onUnload"))}}function d(t){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var e=getCurrentPages(!0),n=e.length-1;n>=0;n--)Object(i["b"])(e[n],"onUnload"),e[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var h=[];function f(t,e,n,i){h=getCurrentPages(!0);var o=e.params.__id__,s=t.params.__id__,c=t.meta.name+"-"+s;if(s===o&&"reLaunch"!==t.type)t.fullPath!==e.fullPath?(r.call(this,c),n()):n(!1);else if(t.meta.id&&t.meta.id!==s)n({path:t.path,replace:!0});else{var u=e.meta.name+"-"+o;switch(t.type){case"navigateTo":break;case"redirectTo":a.call(this,u),e.meta&&e.meta.isQuit&&(t.meta.isQuit=!0,t.meta.isEntry=!!e.meta.isEntry);break;case"switchTab":l.call(this,i,t,e);break;case"reLaunch":d.call(this,c),t.meta.isQuit=!0;break;default:o&&o>s&&(a.call(this,u),this.$router._$delta>1&&a.call(this,this.$router._$delta));break}if("reLaunch"!==t.type&&"redirectTo"!==t.type&&e.meta.id&&r.call(this,u),r.call(this,c),t.meta&&t.meta.name){document.body.className="uni-body "+t.meta.name;var f="nvue-dir-"+__uniConfig.nvue["flex-direction"];t.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(f,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(f))}n()}}function p(e,n){var r=n.params.__id__,a=e.params.__id__,s=h.find((function(t){return t.$page.id===r}));function c(t){if(t){Object(i["b"])(t,"onUnload");var e=h.indexOf(t);e>=0&&h.splice(e,1)}}switch(e.type){case"navigateTo":s&&Object(i["b"])(s,"onHide");break;case"redirectTo":c(s);break;case"switchTab":n.meta.isTabBar&&s&&Object(i["b"])(s,"onHide");break;case"reLaunch":break;default:r&&r>a&&(c(s),this.$router._$delta>1&&o.reverse().forEach((function(t){var e=h.find((function(e){return e.$page.id===t}));c(e)})));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==e.type){var u=getCurrentPages(!0).find((function(t){return t.$page.id===a}));u&&(setTimeout((function(){t.emit("onNavigationBarChange",u.$parent.$parent.navigationBar),Object(i["b"])(u,"onShow")}),0),document.title=u.$parent.$parent.navigationBar.titleText)}}function g(t,e){t.$router.beforeEach((function(n,i,r){f.call(t,n,i,r,e)})),t.$router.afterEach((function(e,n){p.call(t,e,n)}))}}).call(this,n("0dd1"))},"24d9":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var i=n("f2b3");function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return t.mp=Object.assign({"@warning":"mp is deprecated"},t),t._processed=!0,t}function a(t,e){return Object(i["l"])(e)&&(Object(i["i"])(e,"backgroundColor")&&(t.backgroundColor=e.backgroundColor),Object(i["i"])(e,"buttons")&&(t.buttons=e.buttons),Object(i["i"])(e,"titleColor")&&(t.textColor=e.titleColor),Object(i["i"])(e,"titleText")&&(t.titleText=e.titleText),Object(i["i"])(e,"titleSize")&&(t.titleSize=e.titleSize),Object(i["i"])(e,"type")&&(t.type=e.type),Object(i["i"])(e,"searchInput")&&"object"===r(e.searchInput)&&(t.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},e.searchInput))),t}},"250d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.valueSync.length||"-"===t.cachedValue),expression:"!(composing || valueSync.length || cachedValue === '-')"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),"checkbox"!==t.inputType||t.disabled&&t.fixColor?"radio"!==t.inputType||t.disabled&&t.fixColor?t.disabled&&t.fixColor?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,type:t.inputType},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,type:"radio"},domProps:{checked:t._q(t.valueSync,null)},on:{change:[function(e){t.valueSync=null},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,type:"checkbox"},domProps:{checked:Array.isArray(t.valueSync)?t._i(t.valueSync,null)>-1:t.valueSync},on:{change:[function(e){var n=t.valueSync,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);i.checked?a<0&&(t.valueSync=n.concat([o])):a>-1&&(t.valueSync=n.slice(0,a).concat(n.slice(a+1)))}else t.valueSync=r},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}),t.disabled&&t.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:t.disabled,type:t.inputType,maxlength:t.maxlength,step:t._step},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},r=[],o=n("8af1"),a=n("f2b3"),s=["text","number","idcard","digit","password","tel"],c=["number","digit"],u=["off","one-time-code"],l={name:"Input",mixins:[o["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},_step:function(){return~c.indexOf(this.type)?this.step:""},autocomplete:function(){var t=u.indexOf(this.textContentType),e=u.indexOf(Object(a["n"])(this.textContentType)),n=-1!==t?t:-1!==e?e:0;return u[n]}},watch:{maxlength:function(t){var e=this.valueSync.slice(0,parseInt(t,10));e!==this.valueSync&&(this.valueSync=e)},valueSync:function(t){"number"!==this.type||"-"===this.cachedValue&&""===t||(this.cachedValue=t)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){var e=t.target;this.$trigger("confirm",t,{value:e.value}),this.confirmHold||e.blur()},_onInput:function(t,e){var n=this,i=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&t.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(t.target.value=t.target.value.slice(0,r),this.valueSync=t.target.value)),this.__clearCachedValue&&t.target.removeEventListener("blur",this.__clearCachedValue),t.target.validity&&!t.target.validity.valid){if(!this.cachedValue&&"-"===t.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===t.inputType){this.cachedValue="-";var o=this.__clearCachedValue=function(){n.cachedValue=""};return void t.target.addEventListener("blur",o)}if(this.cachedValue)if(-1!==this.cachedValue.indexOf(".")){if("."!==t.data&&"deleteContentBackward"===t.inputType){var a=this.cachedValue.indexOf(".");return this.cachedValue=t.target.value=this.valueSync=this.cachedValue.slice(0,a),this.$triggerInput(t,{value:this.valueSync},e)}}else if("."===t.data)return this.cachedValue+=".",this.__clearCachedValue=function(){n.cachedValue=t.target.value=n.cachedValue.slice(0,-1)},t.target.addEventListener("blur",this.__clearCachedValue),!1;return void(this.cachedValue=this.valueSync=t.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||(this.ignoreCompositionEvent||(this.valueSync=this.$refs.input.value),this.$triggerInput(t,{value:this.valueSync},e))}},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=l,h=(n("0f55"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);e["default"]=f.exports},"25ce":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["f"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),t.value=e,t.key=this.name}return t}}},s=a,c=(n("0998"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,n){"use strict";n.r(e),n.d(e,"openDocument",(function(){return i}));var i={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,n){"use strict";(function(t){function i(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}function r(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}))}).call(this,n("3ad9")["default"])},2765:function(t,e,n){"use strict";var i=n("3590"),r=n.n(i);r.a},"27a7":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return w})),n.d(e,"c",(function(){return x}));var i=n("f2b3"),r=n("2608"),o=n("ed1a"),a=n("6710"),s=n("cc76"),c=n("de29");function u(t,e,n){var i="".concat(e,":fail ").concat(t);if(-1===n)throw new Error(i);return"number"===typeof n&&y(n,{errMsg:i}),!1}var l=[{name:"callback",type:Function,required:!0}],d=["beforeValidate","beforeAll","beforeSuccess"];function h(t,e,n){var r=s["a"][t];if(!r&&Object(o["a"])(t)&&(r=l),r){if(Array.isArray(r)&&Array.isArray(e)){var a=Object.create(null),h=Object.create(null),f=e.length;r.forEach((function(t,n){a[t.name]=t,f>n&&(h[t.name]=e[n])})),r=a,e=h}if(Object(i["k"])(r.beforeValidate)){var p=r.beforeValidate(e);if(p)return u(p,t,n)}for(var g=Object.keys(r),v=0;v<g.length;v++)if(-1===d.indexOf(g[v])){var m=Object(c["a"])(g[v],r,e);if(m)return u(m,t,n)}}return!0}var f=1,p={};function g(t,e){var n=f++,i="api."+t+"."+n;return p[n]={name:i,keepAlive:!0,callback:e},n}function v(t,e){for(var n in p){var i=p[n];if(i.name.startsWith("api."+t.replace(/^off/,"on"))&&i.callback===e)return delete p[n],Number(n)}return"fail"}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(i["l"])(e))return{params:e};e=Object.assign({},e);var o=Object(a["a"])(e),s=o.success,c=o.fail,u=o.cancel,l=o.complete,d=Object(i["k"])(s),h=Object(i["k"])(c),g=Object(i["k"])(u),v=Object(i["k"])(l);if(!d&&!h&&!g&&!v)return{params:e};var m={};for(var b in n){var y=n[b];Object(i["k"])(y)&&(m[b]=Object(r["b"])(y))}var _=m.beforeSuccess,w=m.afterSuccess,k=m.beforeFail,S=m.afterFail,x=m.beforeCancel,C=m.afterCancel,T=m.beforeAll,O=m.afterAll,A=f++,E="api."+t+"."+A,M=function(n){if(n.errMsg=n.errMsg||t+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=t+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=t+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var r="",o=n.errMsg.indexOf(" ");o>-1&&(r=n.errMsg.substr(o)),n.errMsg=t+":fail"+r}Object(i["k"])(T)&&T(n);var a=n.errMsg;0===a.indexOf(t+":ok")?(Object(i["k"])(_)&&_(n,e),d&&s(n),Object(i["k"])(w)&&w(n)):0===a.indexOf(t+":cancel")?(n.errMsg=n.errMsg.replace(t+":cancel",t+":fail cancel"),h&&c(n),Object(i["k"])(x)&&x(n),g&&u(n),Object(i["k"])(C)&&C(n)):0===a.indexOf(t+":fail")&&(Object(i["k"])(k)&&k(n),h&&c(n),Object(i["k"])(S)&&S(n)),v&&l(n),Object(i["k"])(O)&&O(n)};return p[A]={name:E,callback:M},{params:e,callbackId:A}}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=m(t,e,n),o=r.params,a=r.callbackId;return Object(i["l"])(o)&&!h(t,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function y(t,e,n){if("number"===typeof t){var i=p[t];if(i)return i.keepAlive||delete p[t],i.callback(e,n)}return e}function _(t){delete p[t]}function w(e){return function(n){t.error("API `"+e+"` is not yet implemented")}}function k(t,e){var n=s["a"][t];n&&(Object(i["k"])(n.beforeAll)&&(e.beforeAll=n.beforeAll),Object(i["k"])(n.beforeSuccess)&&(e.beforeSuccess=n.beforeSuccess))}var S=["getPushClientId","onPushMessage","offPushMessage"];function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.indexOf(t)>-1||!Object(i["k"])(e)?e:(k(t,n),function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];if(Object(o["b"])(t)){if(h(t,a,-1))return e.apply(null,a)}else if(Object(o["a"])(t)){if(h(t,a,-1))return e((t.startsWith("off")?v:g)(t,a[0]))}else{var c={};a.length&&(c=a[0]);var u,l=b(t,c,n),d=l.params,f=l.callbackId;if(!1!==f)return u=Object(i["k"])(d)?e(f):e(d,f),u&&!Object(o["c"])(t)&&(u=y(f,u),Object(i["l"])(u)&&(u.errMsg=u.errMsg||t+":ok")),u}})}}).call(this,n("3ad9")["default"])},"27ab":function(t,e,n){"use strict";n.r(e);var i=n("f2b3");function r(t){return c(t)||s(t)||a(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function c(t){if(Array.isArray(t))return u(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l,d,h={name:"PickerView",props:{value:{type:Array,default:function(){return[]},validator:function(t){return Array.isArray(t)&&t.filter((function(t){return"number"===typeof t})).length===t.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},data:function(){return{valueSync:r(this.value),height:34,items:[],changeSource:""}},watch:{value:function(t,e){var n=this;this.valueSync.length=t.length,t.forEach((function(t,e){t!==n.valueSync[e]&&n.$set(n.valueSync,e,t)}))},valueSync:{deep:!0,handler:function(t,e){if(""===this.changeSource)this._valueChanged(t);else{this.changeSource="";var n=t.map((function(t){return t}));this.$emit("update:value",n),this.$trigger("change",{},{value:n})}}}},methods:{getItemIndex:function(t){return this.items.indexOf(t)},getItemValue:function(t){return this.valueSync[this.getItemIndex(t.$vnode)]||0},setItemValue:function(t,e){var n=this.getItemIndex(t.$vnode),i=this.valueSync[n];i!==e&&(this.changeSource="touch",this.$set(this.valueSync,n,e))},_valueChanged:function(t){this.items.forEach((function(e,n){e.componentInstance.setCurrent(t[n]||0)}))},_resize:function(t){var e=t.height;this.height=e}},render:function(t){var e=[];return this.$slots.default&&Object(i["f"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-picker-view-column"===t.componentOptions.tag&&e.push(t)})),this.items=e,t("uni-picker-view",{on:this.$listeners},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}}),t("div",{ref:"wrapper",class:"uni-picker-view-wrapper"},e)])}},f=h,p=(n("6062"),n("2877")),g=Object(p["a"])(f,l,d,!1,null,null,null);e["default"]=g.exports},"27c2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-editor",t._g({staticClass:"ql-container",attrs:{id:t.id}},t.$listeners))},r=[],o=n("8188"),a=o["a"],s=(n("e298"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"27d0":function(t,e,n){"use strict";(function(t){var i=n("85b6"),r=n("a6b0"),o=n("65a8"),a=n("f2b3"),s=n("24d9"),c=n("2d02"),u=n("a402"),l=n("90f7"),d=n("be12"),h=n("d8c8"),f=n.n(h);function p(t){return p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}e["a"]={name:"Page",mpType:"page",components:{PageHead:c["a"],PageBody:u["a"],PageRefresh:l["a"]},mixins:[d["a"]],props:{isQuit:{type:Boolean,default:!1},isEntry:{type:Boolean,default:!1},isTabBar:{type:Boolean,default:!1},tabBarIndex:{type:Number,default:-1},navigationBarBackgroundColor:{type:String,default:"#000"},navigationBarTextStyle:{default:"white",validator:function(t){return-1!==["white","black"].indexOf(t)}},navigationBarTitleText:{type:String,default:""},navigationStyle:{default:"default",validator:function(t){return-1!==["default","custom"].indexOf(t)}},backgroundColor:{type:String,default:"#ffffff"},backgroundTextStyle:{default:"dark",validator:function(t){return-1!==["dark","light"].indexOf(t)}},backgroundColorTop:{type:String,default:"#fff"},backgroundColorBottom:{type:String,default:"#fff"},enablePullDownRefresh:{type:Boolean,default:!1},onReachBottomDistance:{type:Number,default:50},disableScroll:{type:Boolean,default:!1},titleNView:{type:[Boolean,Object,String],default:""},pullToRefresh:{type:Object,default:function(){return{}}},titleImage:{type:String,default:""},transparentTitle:{type:String,default:""},titlePenetrate:{type:String,default:"NO"},navigationBarShadow:{type:Object,default:function(){return{}}},topWindow:{type:Boolean,default:!0}},data:function(){var t={},e={none:"default",auto:"transparent",always:"float"},n=this.titleNView;n=!1===n||"false"===n||"custom"===this.navigationStyle&&!Object(a["l"])(n)||"always"===this.transparentTitle&&!Object(a["l"])(n)?{type:"none"}:Object.assign({},{type:"custom"===this.navigationStyle?"none":"default"},this.transparentTitle in e?{type:e[this.transparentTitle]}:null,"object"===p(n)?n:"boolean"===typeof n?{type:n?"default":"none"}:null);var c={YES:!0,NO:!1};t=Object(s["a"])({loading:!1,backButton:!this.isQuit&&!this.$route.meta.isQuit,backgroundColor:this.navigationBarBackgroundColor,textColor:"black"===this.navigationBarTextStyle?"#000":"#fff",titleText:this.navigationBarTitleText,titleImage:this.titleImage,duration:"0",timingFunc:"",titlePenetrate:c[this.titlePenetrate]},n),t.shadow=this.navigationBarShadow,Object(r["e"])(t);var u=Object.assign({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},this.pullToRefresh),l=Object(i["e"])(u.offset);return"none"!==n.type&&"transparent"!==n.type&&(l+=o["a"]+f.a.top),u.offset=l,u.height=Object(i["e"])(u.height),u.range=Object(i["e"])(u.range),{navigationBar:t,refreshOptions:u}},created:function(){var e=this.navigationBar;document.title=e.titleText,t.emit("onNavigationBarChange",e)}}}).call(this,n("0dd1"))},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},2883:function(t,e,n){},"28c0":function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return a}));var a=function(){function t(e,n){var r=this;i(this,t),this.id=e,this.listener={},this.emitCache={},n&&Object.keys(n).forEach((function(t){r.on(t,n[t])}))}return o(t,[{key:"emit",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=this.listener[t];if(!r)return(this.emitCache[t]||(this.emitCache[t]=[])).push(n);r.forEach((function(t){t.fn.apply(t.fn,n)})),this.listener[t]=r.filter((function(t){return"once"!==t.type}))}},{key:"on",value:function(t,e){this._addListener(t,"on",e),this._clearCache(t)}},{key:"once",value:function(t,e){this._addListener(t,"once",e),this._clearCache(t)}},{key:"off",value:function(t,e){var n=this.listener[t];if(n)if(e)for(var i=0;i<n.length;)n[i].fn===e&&(n.splice(i,1),i--),i++;else delete this.listener[t]}},{key:"_clearCache",value:function(t){var e=this.emitCache[t];if(e)for(;e.length>0;)this.emit.apply(this,[t].concat(e.shift()))}},{key:"_addListener",value:function(t,e,n){(this.listener[t]||(this.listener[t]=[])).push({fn:n,type:e})}}]),t}()},"28da":function(t,e,n){},"2bdd":function(t,e,n){"use strict";n.r(e),function(t){var i;n.d(e,"startAccelerometer",(function(){return o})),n.d(e,"stopAccelerometer",(function(){return a})),n.d(e,"onAccelerometerChange",(function(){return s})),n.d(e,"offAccelerometerChange",(function(){return c}));var r=[];function o(e,n){var o=t,a=o.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){i=function(t){var e=t.acceleration||t.accelerationIncludingGravity;r.forEach((function(t){a(t,{x:e.x||0,y:e.y||0,z:e.z||0})}))},window.addEventListener("devicemotion",i,!1)}if(!i){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(t){"granted"===t?(s(),a(n,{errMsg:"startAccelerometer:ok"})):a(n,{errMsg:"startAccelerometer:fail ".concat(t)})})).catch((function(t){a(n,{errMsg:"startAccelerometer:fail ".concat(t)})}));s()}return{}}function a(){return i&&(window.removeEventListener("devicemotion",i,!1),i=null),{}}function s(t){r.length||o(),r.push(t)}function c(t){if(t){var e=r.indexOf(t);e>=0&&r.splice(e,1)}r.length||a()}}.call(this,n("0dd1"))},"2c45":function(t,e,n){},"2c67":function(t,e,n){"use strict";n.r(e),function(t){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function a(e,n,i,r){t.publishHandler(n+"-audio-"+e,{audioId:e,type:i,data:r},n)}n.d(e,"createAudioContext",(function(){return c}));var s=function(){function t(e,n){i(this,t),this.id=e,this.pageId=n}return o(t,[{key:"setSrc",value:function(t){a(this.id,this.pageId,"setSrc",{src:t})}},{key:"play",value:function(){a(this.id,this.pageId,"play")}},{key:"pause",value:function(){a(this.id,this.pageId,"pause")}},{key:"seek",value:function(t){a(this.id,this.pageId,"seek",{position:t})}}]),t}();function c(e,n){if(n)return new s(e,n.$page.id);var i=getApp();if(i.$route&&i.$route.params.__id__)return new s(e,i.$route.params.__id__);t.emit("onError","createAudioContext:fail")}}.call(this,n("0dd1"))},"2d02":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-head",{attrs:{"uni-page-head-type":t.type}},[n("div",{staticClass:"uni-page-head",class:t.headClass,style:{transitionDuration:t.duration,transitionTimingFunction:t.timingFunc,backgroundColor:t.bgColor,color:t.textColor}},[n("div",{staticClass:"uni-page-head-hd"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.backButton,expression:"backButton"}],staticClass:"uni-page-head-btn",on:{click:t._back}},[n("i",{staticClass:"uni-btn-icon",style:{color:t.color,fontSize:"27px"}},[t._v("")])]),n("div",{staticClass:"uni-page-head-ft"},[t._l(t.btns,(function(e,i){return["left"===e.float?n("div",{key:i,staticClass:"uni-page-head-btn",class:{"uni-page-head-btn-red-dot":e.redDot||e.badgeText,"uni-page-head-btn-select":e.select},style:{backgroundColor:"transparent"===t.type?e.background:"transparent",width:e.width},attrs:{"badge-text":e.badgeText}},[n("i",{staticClass:"uni-btn-icon",style:t._formatBtnStyle(e),domProps:{innerHTML:t._s(t._formatBtnFontText(e))},on:{click:function(e){return t._onBtnClick(i)}}})]):t._e()]}))],2)]),t.searchInput?t._e():n("div",{staticClass:"uni-page-head-bd"},[n("div",{staticClass:"uni-page-head__title",style:{fontSize:t.titleSize,opacity:"transparent"===t.type?0:1}},[t.loading?n("i",{staticClass:"uni-loading"}):t._e(),""!==t.titleImage?n("img",{staticClass:"uni-page-head__title_image",attrs:{src:t.titleImage}}):[t._v(" "+t._s(t.titleText)+" ")]],2)]),t.searchInput?n("div",{staticClass:"uni-page-head-search",style:{"border-radius":t.searchInput.borderRadius,"background-color":t.searchInput.backgroundColor}},[n("div",{staticClass:"uni-page-head-search-placeholder",class:["uni-page-head-search-placeholder-"+(t.focus||t.showPlaceholder?"left":t.searchInput.align)],style:{color:t.searchInput.placeholderColor},domProps:{textContent:t._s(t.showPlaceholder||t.composing?"":t.searchInput.placeholder)}}),n("v-uni-input",{ref:"input",staticClass:"uni-page-head-search-input",style:{color:t.searchInput.color},attrs:{focus:t.searchInput.autoFocus,disabled:t.searchInput.disabled,"placeholder-style":"color:"+t.searchInput.placeholderColor,"confirm-type":"search"},on:{focus:t._focus,blur:t._blur,"update:value":t._input},model:{value:t.text,callback:function(e){t.text=e},expression:"text"}}),t.text?n("i",{staticClass:"uni-icon-clear",on:{click:t._clearInput}}):t._e()],1):t._e(),n("div",{staticClass:"uni-page-head-ft"},[t._l(t.btns,(function(e,i){return["left"!==e.float?n("div",{key:i,staticClass:"uni-page-head-btn",class:{"uni-page-head-btn-red-dot":e.redDot||e.badgeText,"uni-page-head-btn-select":e.select},style:{backgroundColor:"transparent"===t.type?e.background:"transparent",width:e.width},attrs:{"badge-text":e.badgeText}},[n("i",{staticClass:"uni-btn-icon",style:t._formatBtnStyle(e),domProps:{innerHTML:t._s(t._formatBtnFontText(e))},on:{click:function(e){return t._onBtnClick(i)}}})]):t._e()]}))],2)]),"transparent"!==t.type&&"float"!==t.type?n("div",{staticClass:"uni-placeholder",class:{"uni-placeholder-titlePenetrate":t.titlePenetrate}}):t._e()])},r=[],o=n("dd35"),a=o["a"],s=(n("8e16"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["a"]=c.exports},"2d89":function(t,e,n){"use strict";var i=n("d29c"),r=n.n(i);r.a},"2da2":function(t,e,n){"use strict";n.r(e),n.d(e,"saveFile",(function(){return r})),n.d(e,"getFileInfo",(function(){return a})),n.d(e,"getSavedFileInfo",(function(){return s})),n.d(e,"removeSavedFile",(function(){return c}));var i=n("cb0f"),r={tempFilePath:{type:String,required:!0,validator:function(t,e){e.tempFilePath=Object(i["a"])(t)}}},o=["md5","sha1"],a={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(i["a"])(t)}},digestAlgorithm:{type:String,validator:function(t,e){e.digestAlgorithm=o.includes(t)?t:o[0]},default:o[0]}},s={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(i["a"])(t)}}},c={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(i["a"])(t)}}}},"2eae":function(t,e,n){"use strict";n.r(e),n.d(e,"interceptors",(function(){return r}));var i=n("8542");n.d(e,"addInterceptor",(function(){return i["a"]})),n.d(e,"removeInterceptor",(function(){return i["d"]}));var r={promiseInterceptor:i["c"]}},"2ec6":function(t,e,n){"use strict";n.r(e),function(t){function i(e){var n=getCurrentPages();return n.length&&t.publishHandler("setPageMeta",e,n[n.length-1].$page.id),{}}n.d(e,"setPageMeta",(function(){return i}))}.call(this,n("0dd1"))},"2ef3":function(t,e,n){"use strict";(function(t,e,i){var r=n("8bbf"),o=n.n(r),a=n("442e");function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}var l=function(){function r(){s(this,r),this._init()}return u(r,[{key:"_init",value:function(){e.UniViewJSBridge={subscribe:t.subscribe,publishHandler:t.publishHandler,subscribeHandler:t.subscribeHandler},e.UniServiceJSBridge={subscribe:i.subscribe,publishHandler:i.publishHandler,subscribeHandler:i.subscribeHandler};var r=n("0138"),s=r.default,c=r.getApp,u=r.getCurrentPages,l=["chooseImage"];l.forEach((function(t){Object.defineProperty(s,t,{writable:!1,configurable:!1})})),e.uni=s,e.wx=e.uni,e.getApp=c,e.getCurrentPages=u,o.a.use(n("4ca9").default,{routes:__uniRoutes}),o.a.use(n("8c15").default,{routes:__uniRoutes}),Object(a["a"])(o.a),n("8f7e"),n("1efd")}}]),r}();e.UniApp=l,e.__uniConfig&&new l}).call(this,n("501c"),n("c8ba"),n("0dd1"))},"303f":function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"CanvasContext",(function(){return M})),n.d(e,"createCanvasContext",(function(){return j})),n.d(e,"canvasGetImageData",(function(){return I})),n.d(e,"canvasPutImageData",(function(){return P})),n.d(e,"canvasToTempFilePath",(function(){return $}));var r=n("f2b3"),o=n("62b5"),a=n("db70"),s=n("a118"),c=n("8b67");function u(t){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return p(t)||f(t)||h(t)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){if(t){if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function f(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function p(t){if(Array.isArray(t))return g(t)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function b(t,e,n){return e&&m(t.prototype,e),n&&m(t,n),t}var y=Object(o["a"])("canvasEvent");function _(e,n,i,r){t.publishHandler(n+"-canvas-"+e,{canvasId:e,type:i,data:r},n)}t.subscribe("onCanvasMethodCallback",(function(t){var e=t.callbackId,n=t.data,i=y.pop(e);i&&i(n)}));var w={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function k(t){t=t||"#000000";var e=null;if(null!=(e=/^#([0-9|A-F|a-f]{6})$/.exec(t))){var n=parseInt(e[1].slice(0,2),16),o=parseInt(e[1].slice(2,4),16),a=parseInt(e[1].slice(4),16);return[n,o,a,255]}if(null!=(e=/^#([0-9|A-F|a-f]{3})$/.exec(t))){var s=e[1].slice(0,1),c=e[1].slice(1,2),u=e[1].slice(2,3);return s=parseInt(s+s,16),c=parseInt(c+c,16),u=parseInt(u+u,16),[s,c,u,255]}if(null!=(e=/^rgb\((.+)\)$/.exec(t)))return e[1].split(",").map((function(t){return Math.min(255,parseInt(t.trim()))})).concat(255);if(null!=(e=/^rgba\((.+)\)$/.exec(t)))return e[1].split(",").map((function(t,e){return 3===e?Math.floor(255*parseFloat(t.trim())):Math.min(255,parseInt(t.trim()))}));var l=t.toLowerCase();if(Object(r["i"])(w,l)){e=/^#([0-9|A-F|a-f]{6,8})$/.exec(w[l]);var d=parseInt(e[1].slice(0,2),16),h=parseInt(e[1].slice(2,4),16),f=parseInt(e[1].slice(4,6),16),p=parseInt(e[1].slice(6,8),16);return p=p>=0?p:255,[d,h,f,p]}return i.error("unsupported color:"+t),[0,0,0,255]}function S(t,e){this.type="pattern",this.data=t,this.colorStop=e}var x=function(){function t(e,n){v(this,t),this.type=e,this.data=n,this.colorStop=[]}return b(t,[{key:"addColorStop",value:function(t,e){this.colorStop.push([t,k(e)])}}]),t}(),C=["scale","rotate","translate","setTransform","transform"],T=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],O=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function A(t,e){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=e,i.measureText(t).width||0}function E(t){this.width=t}var M=function(){function t(e,n){v(this,t),this.id=e,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return b(t,[{key:"draw",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,i=l(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(t=y.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:i,reserve:e,callbackId:t})}},{key:"createLinearGradient",value:function(t,e,n,i){return new x("linear",[t,e,n,i])}},{key:"createCircularGradient",value:function(t,e,n){return new x("radial",[t,e,n])}},{key:"createPattern",value:function(t,e){if(void 0===e)i.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(e)<0))return new S(t,e);i.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+e+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(t){var e=this.state.font,n=0;return n=A(t,e),new E(n)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(t,e){this.path.push({method:"moveTo",data:[t,e]}),this.subpath=[[t,e]]}},{key:"lineTo",value:function(t,e){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[t,e]}):this.path.push({method:"lineTo",data:[t,e]}),this.subpath.push([t,e])}},{key:"quadraticCurveTo",value:function(t,e,n,i){this.path.push({method:"quadraticCurveTo",data:[t,e,n,i]}),this.subpath.push([n,i])}},{key:"bezierCurveTo",value:function(t,e,n,i,r,o){this.path.push({method:"bezierCurveTo",data:[t,e,n,i,r,o]}),this.subpath.push([r,o])}},{key:"arc",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[t,e,n,i,r,o]}),this.subpath.push([t,e])}},{key:"rect",value:function(t,e,n,i){this.path.push({method:"rect",data:[t,e,n,i]}),this.subpath=[[t,e]]}},{key:"arcTo",value:function(t,e,n,i,r){this.path.push({method:"arcTo",data:[t,e,n,i,r]}),this.subpath.push([n,i])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:l(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var t=l(this.actions);return this.clearActions(),t}},{key:"lineDashOffset",set:function(t){this.actions.push({method:"setLineDashOffset",data:[t]})}},{key:"globalCompositeOperation",set:function(t){this.actions.push({method:"setGlobalCompositeOperation",data:[t]})}},{key:"shadowBlur",set:function(t){this.actions.push({method:"setShadowBlur",data:[t]})}},{key:"shadowColor",set:function(t){this.actions.push({method:"setShadowColor",data:[t]})}},{key:"shadowOffsetX",set:function(t){this.actions.push({method:"setShadowOffsetX",data:[t]})}},{key:"shadowOffsetY",set:function(t){this.actions.push({method:"setShadowOffsetY",data:[t]})}},{key:"font",set:function(t){var e=this;this.state.font=t;var n=t.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var r=n[1].trim().split(/\s/),o=parseFloat(n[3]),a=n[7],s=[];r.forEach((function(t,n){["italic","oblique","normal"].indexOf(t)>-1?(s.push({method:"setFontStyle",data:[t]}),e.state.fontStyle=t):["bold","normal"].indexOf(t)>-1?(s.push({method:"setFontWeight",data:[t]}),e.state.fontWeight=t):0===n?(s.push({method:"setFontStyle",data:["normal"]}),e.state.fontStyle="normal"):1===n&&c()})),1===r.length&&c(),r=s.map((function(t){return t.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=a,this.actions.push({method:"setFont",data:["".concat(r," ").concat(o,"px ").concat(a)]})}else i.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function c(){s.push({method:"setFontWeight",data:["normal"]}),e.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(t){this.setFillStyle(t)}},{key:"strokeStyle",set:function(t){this.setStrokeStyle(t)}},{key:"globalAlpha",set:function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:"setGlobalAlpha",data:[t]})}},{key:"textAlign",set:function(t){this.actions.push({method:"setTextAlign",data:[t]})}},{key:"lineCap",set:function(t){this.actions.push({method:"setLineCap",data:[t]})}},{key:"lineJoin",set:function(t){this.actions.push({method:"setLineJoin",data:[t]})}},{key:"lineWidth",set:function(t){this.actions.push({method:"setLineWidth",data:[t]})}},{key:"miterLimit",set:function(t){this.actions.push({method:"setMiterLimit",data:[t]})}},{key:"textBaseline",set:function(t){this.actions.push({method:"setTextBaseline",data:[t]})}}]),t}();function j(e,n){if(n)return new M(e,n.$page.id);var i=Object(a["a"])();if(i)return new M(e,i);t.emit("onError","createCanvasContext:fail")}function I(t,e){var n=t.canvasId,i=t.x,r=t.y,o=t.width,c=t.height,u=Object(a["a"])();if(u){var l=y.push((function(t){var n=t.data;n&&n.length&&(t.data=new Uint8ClampedArray(n));Object(s["a"])(e,t)}));_(n,u,"getImageData",{x:i,y:r,width:o,height:c,callbackId:l})}else Object(s["a"])(e,{errMsg:"canvasGetImageData:fail"})}function P(t,e){var n=t.canvasId,i=t.data,r=t.x,o=t.y,c=t.width,u=t.height,l=Object(a["a"])();if(l){var d,h=y.push((function(t){Object(s["a"])(e,t)}));i=Array.prototype.slice.call(i),_(n,l,"putImageData",{data:i,x:r,y:o,width:c,height:u,compressed:d,callbackId:h})}else Object(s["a"])(e,{errMsg:"canvasPutImageData:fail"})}function $(t,e){var n=t.x,i=void 0===n?0:n,r=t.y,o=void 0===r?0:r,u=t.width,l=t.height,d=t.destWidth,h=t.destHeight,f=t.canvasId,p=t.fileType,g=t.quality,v=Object(a["a"])();if(v){var m=y.push((function(t){Object(s["a"])(e,t)})),b="".concat(c["TEMP_PATH"],"/canvas");_(f,v,"toTempFilePath",{x:i,y:o,width:u,height:l,destWidth:d,destHeight:h,fileType:p,quality:g,dirname:b,callbackId:m})}else Object(s["a"])(e,{errMsg:"canvasToTempFilePath:fail"})}[].concat(C,T).forEach((function(t){function e(t){switch(t){case"fill":case"stroke":return function(){this.actions.push({method:t+"Path",data:l(this.path)})};case"fillRect":return function(t,e,n,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[t,e,n,i]}]})};case"strokeRect":return function(t,e,n,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[t,e,n,i]}]})};case"fillText":case"strokeText":return function(e,n,i,r){var o=[e.toString(),n,i];"number"===typeof r&&o.push(r),this.actions.push({method:t,data:o})};case"drawImage":return function(e,n,i,r,o,a,s,c,u){var l;function d(t){return"number"===typeof t}void 0===u&&(a=n,s=i,c=r,u=o,n=void 0,i=void 0,r=void 0,o=void 0),l=d(n)&&d(i)&&d(r)&&d(o)?[e,a,s,c,u,n,i,r,o]:d(c)&&d(u)?[e,a,s,c,u]:[e,a,s],this.actions.push({method:t,data:l})};default:return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this.actions.push({method:t,data:n})}}}M.prototype[t]=e(t)})),O.forEach((function(t){function e(t){switch(t){case"setFillStyle":case"setStrokeStyle":return function(e){"object"!==u(e)?this.actions.push({method:t,data:["normal",k(e)]}):this.actions.push({method:t,data:[e.type,e.data,e.colorStop]})};case"setGlobalAlpha":return function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:t,data:[e]})};case"setShadow":return function(e,n,i,r){r=k(r),this.actions.push({method:t,data:[e,n,i,r]}),this.state.shadowBlur=i,this.state.shadowColor=r,this.state.shadowOffsetX=e,this.state.shadowOffsetY=n};case"setLineDash":return function(e,n){e=e||[0,0],n=n||0,this.actions.push({method:t,data:[e,n]}),this.state.lineDash=e};case"setFontSize":return function(e){this.state.font=this.state.font.replace(/\d+\.?\d*px/,e+"px"),this.state.fontSize=e,this.actions.push({method:t,data:[e]})};default:return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this.actions.push({method:t,data:n})}}}M.prototype[t]=e(t)}))}.call(this,n("0dd1"),n("3ad9")["default"])},"31c6":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var i,r=n("636c"),o=n("3b51"),a={},s="__map_callback__";function c(e,n){var c=Object(r["e"])();if(c.key){var d=a[c.type]=a[c.type]||[];if(i)n(i);else if(window[c.type]&&window[c.type].maps)i=r["c"]?window[c.type]:window[c.type].maps,i.Callout=i.Callout||Object(o["a"])(i),n(i);else if(d.length)d.push(n);else{d.push(n);var h=window,f=s+c.type;h[f]=function(){delete h[f],i=r["c"]?window[c.type]:window[c.type].maps,i.Callout=Object(o["a"])(i),d.forEach((function(t){return t(i)})),d.length=0};var p=document.createElement("script"),g=u(c.type);c.type===r["d"].QQ&&e.push("geometry"),e.length&&(g+="libraries=".concat(e.join("%2C"),"&")),r["c"]&&l(c),p.src="".concat(g,"key=").concat(c.key,"&callback=").concat(f),p.onerror=function(){t.error("Map load failed.")},document.body.appendChild(p)}}else t.error("Map key not configured.")}function u(t){var e={qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&"};return e[t]}function l(t){window._AMapSecurityConfig={securityJsCode:t.securityJsCode||"",serviceHost:t.serviceHost||""}}}).call(this,n("3ad9")["default"])},"31e2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-video",t._g({attrs:{id:t.id}},t.$listeners),[n("div",{ref:"container",staticClass:"uni-video-container",on:{touchstart:t.touchstart,touchend:t.touchend,touchmove:t.touchmove,fullscreenchange:function(e){return e.stopPropagation(),t.onFullscreenChange(e)},webkitfullscreenchange:function(e){return e.stopPropagation(),t.onFullscreenChange(e,!0)}}},[n("video",t._b({ref:"video",staticClass:"uni-video-video",style:{objectFit:t.objectFit},attrs:{loop:t.loop,src:t.srcSync,poster:t.poster,autoplay:t.autoplay,"webkit-playsinline":"",playsinline:""},domProps:{muted:t.muted},on:{click:t.triggerControls,durationchange:t.onDurationChange,loadedmetadata:t.onLoadedMetadata,progress:t.onProgress,waiting:t.onWaiting,error:t.onVideoError,play:t.onPlay,pause:t.onPause,ended:t.onEnded,timeupdate:t.onTimeUpdate,webkitbeginfullscreen:function(e){return t.emitFullscreenChange(!0)},x5videoenterfullscreen:function(e){return t.emitFullscreenChange(!0)},webkitendfullscreen:function(e){return t.emitFullscreenChange(!1)},x5videoexitfullscreen:function(e){return t.emitFullscreenChange(!1)}}},"video",t.$attrs,!1)),n("div",{directives:[{name:"show",rawName:"v-show",value:t.controlsShow,expression:"controlsShow"}],staticClass:"uni-video-bar uni-video-bar-full",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-controls"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPlayBtn,expression:"showPlayBtn"}],staticClass:"uni-video-control-button",class:{"uni-video-control-button-play":!t.playing,"uni-video-control-button-pause":t.playing},on:{click:function(e){return e.stopPropagation(),t.trigger(e)}}}),n("div",{staticClass:"uni-video-current-time"},[t._v(" "+t._s(t._f("time")(t.currentTime))+" ")]),n("div",{ref:"progress",staticClass:"uni-video-progress-container",on:{click:function(e){return e.stopPropagation(),t.clickProgress(e)}}},[n("div",{staticClass:"uni-video-progress"},[n("div",{staticClass:"uni-video-progress-buffered",style:{width:t.buffered+"%"}}),n("div",{ref:"ball",staticClass:"uni-video-ball",style:{left:t.progress+"%"}},[n("div",{staticClass:"uni-video-inner"})])])]),n("div",{staticClass:"uni-video-duration"},[t._v(" "+t._s(t._f("time")(t.duration||t.durationTime))+" ")])]),t.danmuBtn?n("div",{staticClass:"uni-video-danmu-button",class:{"uni-video-danmu-button-active":t.enableDanmuSync},on:{click:function(e){return e.stopPropagation(),t.triggerDanmu(e)}}},[t._v(" "+t._s(t.$$t("uni.video.danmu"))+" ")]):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showFullscreenBtn,expression:"showFullscreenBtn"}],staticClass:"uni-video-fullscreen",class:{"uni-video-type-fullscreen":t.fullscreen},on:{click:function(e){return e.stopPropagation(),t.triggerFullscreen(!t.fullscreen)}}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.start&&t.enableDanmuSync,expression:"start&&enableDanmuSync"}],ref:"danmu",staticClass:"uni-video-danmu",staticStyle:{"z-index":"0"}}),t.centerPlayBtnShow?n("div",{staticClass:"uni-video-cover",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-cover-play-button",on:{click:function(e){return e.stopPropagation(),t.play(e)}}}),n("p",{staticClass:"uni-video-cover-duration"},[t._v(" "+t._s(t._f("time")(t.duration||t.durationTime))+" ")])]):t._e(),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-volume":"volume"===t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v(" "+t._s(t.$$t("uni.video.volume"))+" ")]),n("svg",{staticClass:"uni-video-toast-icon",attrs:{width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}})]),n("div",{staticClass:"uni-video-toast-value"},[n("div",{staticClass:"uni-video-toast-value-content",style:{width:100*t.volumeNew+"%"}},[n("div",{staticClass:"uni-video-toast-volume-grids"},t._l(10,(function(t,e){return n("div",{key:e,staticClass:"uni-video-toast-volume-grids-item"})})),0)])])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-progress":"progress"==t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v(" "+t._s(t._f("time")(t.currentTimeNew))+" / "+t._s(t._f("time")(t.durationTime))+" ")])]),n("div",{staticClass:"uni-video-slots"},[t._t("default")],2)])])},r=[],o=n("8af1"),a=n("f2b3"),s=n("a6b0"),c=!!a["r"]&&{passive:!1},u={NONE:"none",STOP:"stop",VOLUME:"volume",PROGRESS:"progress"},l={name:"Video",filters:{time:function(t){t=t>0&&t<1/0?t:0;var e=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i;var r=n+":"+i;return"00"!==e&&(r=e+":"+r),r}},mixins:[s["c"],o["g"],o["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:u.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(t){this.$emit("update:enableDanmu",t)},autoHideContorls:function(t){t?this.autoHideStart():this.autoHideEnd()},srcSync:function(t){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(t){0!==t&&this.$trigger("progress",{},{buffered:t})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var t=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));t.sort((function(t,e){return(t.time||0)-(e.time||0)}))},mounted:function(){var t,e,n,i=this,r=this,o=!0,a=this.$refs.ball;function s(i){var a=i.targetTouches[0],s=a.pageX,c=a.pageY;if(o&&Math.abs(s-t)<Math.abs(c-e))u();else{o=!1;var l=r.$refs.progress.offsetWidth,d=n+(s-t)/l*100;d<0?d=0:d>100&&(d=100),r.progress=d,i.preventDefault(),i.stopPropagation()}}function u(t){r.controlsTouching=!1,r.touching&&(a.removeEventListener("touchmove",s,c),o||(t.preventDefault(),t.stopPropagation(),r.seek(r.$refs.video.duration*r.progress/100)),r.touching=!1)}a.addEventListener("touchstart",(function(r){i.controlsTouching=!0;var u=r.targetTouches[0];t=u.pageX,e=u.pageY,n=i.progress,o=!0,i.touching=!0,a.addEventListener("touchmove",s,c)})),a.addEventListener("touchend",u),a.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e,n=t.type,i=t.data,r=void 0===i?{}:i,o=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":e=r.position;break;case"sendDanmu":e=r;break;case"playbackRate":e=r.rate;break}o.indexOf(n)>=0&&this[n](e)},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=this.$refs.progress,n=t.target,i=t.offsetX;while(n!==e)i+=n.offsetLeft,n=n.parentNode;var r=e.offsetWidth,o=0;i>=0&&i<=r&&(o=i/r,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",n),this.$refs.danmu.appendChild(e),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",n),setTimeout((function(){e.remove()}),4e3)}),17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},playbackRate:function(t){this.$refs.video.playbackRate=t},triggerFullscreen:function(t){var e,n=this.$refs.container,i=this.$refs.video;t?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?i.webkitEnterFullScreen?i.webkitEnterFullScreen():(e=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():i.webkitExitFullScreen?i.webkitExitFullScreen():(e=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),e&&this.emitFullscreenChange(t)},onFullscreenChange:function(t,e){e&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(t){this.fullscreen=t,this.$trigger("fullscreenchange",{},{fullScreen:t,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(t){var e=t.target;this.durationTime=e.duration},onLoadedMetadata:function(t){var e=Number(this.initialTime)||0,n=t.target;e>0&&(n.currentTime=e),this.$trigger("loadedmetadata",t,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(t)},onProgress:function(t){var e=t.target,n=e.buffered;n.length&&(this.buffered=n.end(n.length-1)/e.duration*100)},onWaiting:function(t){this.$trigger("waiting",t,{})},onVideoError:function(t){this.playing=!1,this.$trigger("error",t,{})},onPlay:function(t){this.start=!0,this.playing=!0,this.$trigger("play",t,{})},onPause:function(t){this.playing=!1,this.$trigger("pause",t,{})},onEnded:function(t){this.playing=!1,this.$trigger("ended",t,{})},onTimeUpdate:function(t){var e=t.target,n=this.otherData,i=this.currentTime=e.currentTime,r=n.danmuIndex,o={time:i,index:r.index},a=n.danmuList;if(i>r.time)for(var s=r.index+1;s<a.length;s++){var c=a[s];if(!(i>=(c.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(c)}else if(i<r.time)for(var u=r.index-1;u>-1;u--){var l=a[u];if(!(i<=(l.time||0)))break;o.index=u-1}n.danmuIndex=o,this.$trigger("timeupdate",t,{currentTime:i,duration:e.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=t.targetTouches[0];this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=u.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var n=this.gestureType;if(n!==u.STOP){var i=t.targetTouches[0],r=i.pageX,o=i.pageY,a=this.touchStartOrigin;if(n===u.PROGRESS?this.changeProgress(r-a.x):n===u.VOLUME&&this.changeVolume(o-a.y),n===u.NONE)if(Math.abs(r-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=u.STOP);this.gestureType=u.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=u.STOP);this.gestureType=u.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==u.NONE&&this.gestureType!==u.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===u.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=u.NONE},changeProgress:function(t){var e=this.$refs.video.duration,n=t/600*e+this.currentTimeOld;n<0?n=0:n>e&&(n=e),this.currentTimeNew=n},changeVolume:function(t){var e,n=this.volumeOld;"number"===typeof n&&(e=n-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout((function(){t.controlsVisible=!1}),3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},d=l,h=(n("856e"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);e["default"]=f.exports},"324c":function(t,e,n){},"332a":function(t,e,n){"use strict";n.r(e),n.d(e,"redirectTo",(function(){return u})),n.d(e,"reLaunch",(function(){return l})),n.d(e,"navigateTo",(function(){return d})),n.d(e,"switchTab",(function(){return h})),n.d(e,"navigateBack",(function(){return f})),n.d(e,"preloadPage",(function(){return p})),n.d(e,"unPreloadPage",(function(){return g}));var i,r=n("0f74");function o(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var n=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!n)return t;t=t.substr(0,e);var i=[];return n.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),r=e.length>0?e.join("="):"";i.push(n+"="+encodeURIComponent(r))})),i.length?t+"?"+i.join("&"):t}function a(t){return function(e,n){e=Object(r["a"])(e);var a=e.split("?")[0],s=__uniRoutes.find((function(t){var e=t.path,n=t.alias;return e===a||n===a}));if(!s)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(s.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==t&&"preloadPage"!==t||!s.meta.isTabBar||"appLaunch"===n.openType||(e=a),s.meta.isEntry&&(e=e.replace(s.alias,"/")),n.url=o(e),"unPreloadPage"!==t)if("preloadPage"!==t){if(i===e&&"appLaunch"!==n.openType)return"".concat(i," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(i=e)}else if(s.meta.isTabBar){var c=getCurrentPages(!0),u=(s.alias||s.path).substr(1);if(c.find((function(t){return t.route===u})))return"tabBar page `"+u+"` already exists"}}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:a(t)},beforeAll:function(){i=""}},e)}function c(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var u=s("redirectTo"),l=s("reLaunch"),d=s("navigateTo",c(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),h=s("switchTab"),f=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},c(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),p={url:{type:String,required:!0,validator:a("preloadPage")}},g={url:{type:String,required:!0,validator:a("unPreloadPage")}}},"33b4":function(t,e,n){},"33ed":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var i,r=n("4a59");function o(t){t.preventDefault()}function a(t){var e=t.scrollTop,n=t.selector,i=t.duration;if("undefined"===typeof e){var r=document.querySelector(n);if(r){var o=r.getBoundingClientRect(),a=o.top,s=o.height;e=a+window.pageYOffset,e-=s}}var c=document.documentElement,u=c.clientHeight,l=c.scrollHeight;function d(t){if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),d(t-10)}))}}e=Math.min(e,l-u),0!==i?window.scrollY!==e&&d(i):c.scrollTop=document.body.scrollTop=e}var s=0;function c(e,n){var o=n.enablePageScroll,a=n.enablePageReachBottom,c=n.onReachBottomDistance,u=n.enableTransparentTitleNView,l=!1,d=!1,h=!0;function f(){var t=document.documentElement.scrollHeight,e=window.innerHeight,n=window.scrollY,i=n>0&&t>e&&n+e+c>=t,r=Math.abs(t-s)>c;return!i||d&&!r?(!i&&d&&(d=!1),!1):(s=t,d=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===e){var s=window.pageYOffset;o&&Object(r["a"])("onPageScroll",{scrollTop:s},e),u&&t.emit("onPageScroll",{scrollTop:s}),a&&h&&(c()||(i=setTimeout(c,300))),l=!1}function c(){if(f())return Object(r["a"])("onReachBottom",{},e),h=!1,setTimeout((function(){h=!0}),350),!0}}return function(){clearTimeout(i),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},"34b2":function(t,e,n){"use strict";n.r(e),function(t){function i(){return window.location.protocol+"//"+window.location.host}function r(e,n){var r=e.src,o=t,a=o.invokeCallbackHandler,s=new Image,c=r;s.onload=function(){a(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===c.indexOf("/")?i()+c:c})},s.onerror=function(t){a(n,{errMsg:"getImageInfo:fail"})},s.src=r}n.d(e,"getImageInfo",(function(){return r}))}.call(this,n("0dd1"))},3563:function(t,e,n){"use strict";n.r(e);var i=n("f2b3"),r=n("bd97"),o=n("8af1");o["d"].addInteractListener();var a="*";function s(){var t=window.navigator.userAgent.toLowerCase();return!(!t.match(/MicroMessenger/i)||"micromessenger"!==t.match(/MicroMessenger/i)[0])}e["default"]=function(t){var e=t.count,n=t.sourceType,o=t.type,c=t.extension,u=document.createElement("input");return u.type="file",Object(i["v"])(u,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),u.accept=c.map((function(t){if(o!==a){var e=t.replace(".","");return"".concat(o,"/").concat(r["default"][o][e]||e)}return s()?".":0===t.indexOf(".")?t:".".concat(t)})).join(","),e>1&&(u.multiple="multiple"),1===n.length&&"camera"===n[0]&&(u.capture="camera"),u}},3590:function(t,e,n){},3648:function(t,e,n){"use strict";n.r(e),n.d(e,"canIUse",(function(){return s}));var i=n("f2b3");function r(t){return window.CSS&&CSS.supports&&(CSS.supports(t)||CSS.supports.apply(CSS,t.split(":")))}var o={"css.var":r("--a:0"),"css.env":r("top:env(a)"),"css.constant":r("top:constant(a)")},a=n("9fe4");function s(t){return Object(i["i"])(o,t)?o[t]:!!Object(i["i"])(a["a"],t)}},3676:function(t,e,n){"use strict";n.r(e),n.d(e,"getRecorderManager",(function(){return l}));var i=n("db70");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s,c={pause:null,resume:null,start:null,stop:null,error:null},u=function(){function t(){r(this,t),Object(i["d"])("onRecorderStateChange",(function(t){var e=t.state;delete t.state,delete t.errMsg,"function"===typeof c[e]&&c[e](t)}))}return a(t,[{key:"onError",value:function(t){c.error=t}},{key:"onFrameRecorded",value:function(t){}},{key:"onInterruptionBegin",value:function(t){}},{key:"onInterruptionEnd",value:function(t){}},{key:"onPause",value:function(t){c.pause=t}},{key:"onResume",value:function(t){c.resume=t}},{key:"onStart",value:function(t){c.start=t}},{key:"onStop",value:function(t){c.stop=t}},{key:"pause",value:function(){Object(i["c"])("operateRecorder",{operationType:"pause"})}},{key:"resume",value:function(){Object(i["c"])("operateRecorder",{operationType:"resume"})}},{key:"start",value:function(t){Object(i["c"])("operateRecorder",Object.assign({},t,{operationType:"start"}))}},{key:"stop",value:function(){Object(i["c"])("operateRecorder",{operationType:"stop"})}}]),t}();function l(){return s||(s=new u)}},3898:function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"chooseFile",(function(){return d}));var r=n("e2e2"),o=n("a6b0"),a=n("3563"),s=n("8af1"),c=t,u=c.invokeCallbackHandler,l=null;function d(t,e){var n=t.count,c=t.sourceType,d=t.type,h=t.extension;l&&(document.body.removeChild(l),l=null),l=Object(a["default"])({count:n,sourceType:c,type:d,extension:h}),document.body.appendChild(l),l.addEventListener("change",(function(t){for(var i=[],o=t.target.files.length,a=function(e){var o=t.target.files[e],a=void 0;Object.defineProperty(o,"path",{get:function(){return a=a||Object(r["b"])(o),a}}),e<n&&i.push(o)},s=0;s<o;s++)a(s);var c={errMsg:"chooseFile:ok",get tempFilePaths(){return i.map((function(t){var e=t.path;return e}))},tempFiles:i};u(e,c)})),l.click(),s["d"].getStatus()||i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))}}.call(this,n("0dd1"),n("3ad9")["default"])},"39aa":function(t){t.exports=JSON.parse('{"uni.app.quit":"Press back button again to exit","uni.async.error":"The connection timed out, click the screen to try again.","uni.showActionSheet.cancel":"Cancel","uni.showToast.unpaired":"Please note showToast must be paired with hideToast","uni.showLoading.unpaired":"Please note showLoading must be paired with hideLoading","uni.showModal.cancel":"Cancel","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancel","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Camera","uni.chooseVideo.cancel":"Cancel","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Camera","uni.chooseFile.notUserActivation":"File chooser dialog can only be shown with a user activation","uni.previewImage.cancel":"Cancel","uni.previewImage.button.save":"Save Image","uni.previewImage.save.success":"Saved successfully","uni.previewImage.save.fail":"Save failed","uni.setClipboardData.success":"Content copied","uni.scanCode.title":"Scan code","uni.scanCode.album":"Album","uni.scanCode.fail":"Recognition failure","uni.scanCode.flash.on":"Tap to turn light on","uni.scanCode.flash.off":"Tap to turn light off","uni.startSoterAuthentication.authContent":"Fingerprint recognition","uni.picker.done":"Done","uni.picker.cancel":"Cancel","uni.video.danmu":"Danmu","uni.video.volume":"Volume","uni.button.feedback.title":"feedback","uni.button.feedback.send":"send","uni.chooseLocation.search":"Find Place","uni.chooseLocation.cancel":"Cancel"}')},"3ad9":function(t,e,n){"use strict";n.r(e),function(t){var n=Array.prototype.unshift;function i(t){return n.call(t,"[system]"),t}function r(e){return function(){var n=!0;"debug"!==e||__uniConfig.debug||(n=!1),n&&t.console[e].apply(t.console,i(arguments))}}e["default"]={log:r("log"),info:r("info"),warn:r("warn"),debug:r("debug"),error:r("error")}}.call(this,n("c8ba"))},"3b51":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("636c");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){function e(){var t=this.div,e=this.getPanes();e.floatPane.appendChild(t)}function n(){var t=this.div.parentNode;t&&t.removeChild(this.div)}function o(){var e=this,n=this.option;this.Text=new t.Text({text:n.content,anchor:"bottom-center",offset:new t.Pixel(0,n.offsetY-16),style:{padding:(n.padding||8)+"px","line-height":(n.fontSize||14)+"px","border-radius":(n.borderRadius||0)+"px","border-color":"".concat(n.bgColor||"#fff"," transparent transparent"),"background-color":n.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(n.fontSize||14)+"px",color:n.color||"#000"},position:n.position}),this.Text.dom.addEventListener("click",(function(t){c(e,t)})),this.Text.dom.addEventListener("touchend",(function(t){c(e,t)})),this.Text.setMap(n.map)}function c(t,e){t.callback(e,t.parent),e.stopPropagation()}function u(){this.Text&&this.option.map.remove(this.Text)}var l=function(){function t(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(r(this,t),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",o),s(this,"removeAMapText",u),s(this,"onAdd",e),s(this,"construct",e),s(this,"onRemove",n),s(this,"destroy",n),this.option=a||{},this.visible=this.alwaysVisible="ALWAYS"===a.display,i["c"])this.callback=c,this.parent=l,this.visible&&this.createAMapText();else{var d=a.map;this.position=a.position,this.index=1;var h=this.div=document.createElement("div"),f=h.style;f.position="absolute",f.whiteSpace="nowrap",f.transform="translateX(-50%) translateY(-100%)",f.zIndex="1",f.boxShadow=a.boxShadow||"none",f.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(a),h.appendChild(p),d&&this.setMap(d)}}return a(t,[{key:"onclick",set:function(t){this.div.onclick=t},get:function(){return this.div.onclick}}]),a(t,[{key:"setOption",value:function(t){this.option=t,"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,i["c"]?this.visible&&this.createAMapText():(this.setPosition(t.position),this.setStyle(t))}},{key:"setStyle",value:function(t){var e=this.div,n=e.style;e.innerText=t.content||"",n.lineHeight=(t.fontSize||14)+"px",n.fontSize=(t.fontSize||14)+"px",n.padding=(t.padding||8)+"px",n.color=t.color||"#000",n.borderRadius=(t.borderRadius||0)+"px",n.backgroundColor=t.bgColor||"#fff",n.marginTop="-"+((t.top||0)+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(t){this.position=t,this.draw()}},{key:"draw",value:function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=e.x+"px",n.top=e.y+"px"}}},{key:"changed",value:function(){var t=this.div.style;t.display=this.visible?"block":"none"}}]),t}();if(!i["c"]){var d=l.prototype,h=new(t.OverlayView||t.Overlay);for(var f in h)f in d||(d[f]=h[f])}return l}},"3b54":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getFileInfo",(function(){return a}));var i=n("e2e2"),r=t,o=r.invokeCallbackHandler;function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.filePath,n=arguments.length>1?arguments[1]:void 0;Object(i["f"])(e).then((function(t){o(n,{errMsg:"getFileInfo:ok",size:t.size})})).catch((function(t){o(n,{errMsg:"getFileInfo:fail "+t.message})}))}}.call(this,n("0dd1"))},"3b67":function(t,e,n){"use strict";var i=Object.create(null),r=n("e3a7");r.keys().forEach((function(t){Object.assign(i,r(t))})),e["a"]=i},"3bfb":function(t,e,n){"use strict";n.r(e),n.d(e,"createAudioContext",(function(){return r})),n.d(e,"createVideoContext",(function(){return o})),n.d(e,"createMapContext",(function(){return a})),n.d(e,"createCanvasContext",(function(){return s}));var i=[{name:"id",type:String,required:!0}],r=i,o=i,a=i,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3c79":function(t,e,n){},"3d1f":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("62b5"),r=n("a741");function o(t,e){e.getApp;var n=e.getCurrentPages;function o(t){return function(e,i){i=parseInt(i);var o=n(),a=o.find((function(t){return t.$page.id===i}));a&&Object(r["b"])(a,t,e)}}var a=Object(i["a"])("requestComponentInfo");function s(t){var e=t.reqId,n=t.res,i=a.pop(e);i&&i(n)}var c=Object(i["a"])("requestComponentObserver");function u(t){var e=t.reqId,n=t.reqEnd,i=t.res,r=c.get(e);if(r){if(n)return void c.pop(e);r(i)}}var l=Object(i["a"])("requestMediaQueryObserver");function d(t){var e=t.reqId,n=t.reqEnd,i=t.res,r=l.get(e);if(r){if(n)return void l.pop(e);r(i)}}t("onPageReady",o("onReady")),t("onPageScroll",o("onPageScroll")),t("onReachBottom",o("onReachBottom")),t("onRequestComponentInfo",s),t("onRequestComponentObserver",u),t("onRequestMediaQueryObserver",d)}},"3d64":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"onNetworkStatusChange",(function(){return s})),n.d(e,"offNetworkStatusChange",(function(){return c})),n.d(e,"getNetworkType",(function(){return u}));var i=t,r=i.invokeCallbackHandler,o=[];function a(){var t=u(),e=t.networkType;o.forEach((function(t){r(t,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==e,networkType:e})}))}function s(t){var e=navigator.connection||navigator.webkitConnection;o.push(t),e?e.addEventListener("change",a):(window.addEventListener("offline",a),window.addEventListener("online",a))}function c(t){if(t){var e=o.indexOf(t);e>=0&&o.splice(e,1)}if(!o.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",a):(window.removeEventListener("offline",a),window.removeEventListener("online",a))}}function u(){var t=navigator.connection||navigator.webkitConnection,e="unknown";return t?(e=t.type,"cellular"===e&&t.effectiveType?e=t.effectiveType.replace("slow-",""):["none","wifi"].includes(e)||(e="unknown")):!1===navigator.onLine&&(e="none"),{errMsg:"getNetworkType:ok",networkType:e}}}.call(this,n("0dd1"))},"3da9":function(t,e,n){"use strict";var i=n("bfbd"),r=n.n(i);r.a},"3e8c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-resize-sensor",{on:{"~animationstart":function(e){return t.update(e)}}},[n("div",{on:{scroll:t.update}},[n("div")]),n("div",{on:{scroll:t.update}},[n("div")])])},r=[],o=1e5,a={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},activated:function(){this.reset()},methods:{reset:function(){var t=this.$el.firstChild;t.scrollLeft=o,t.scrollTop=o;var e=this.$el.lastChild;e.scrollLeft=o,e.scrollTop=o},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=a,c=(n("64d0"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"3f15":function(t,e,n){"use strict";n.r(e),n.d(e,"getVideoInfo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}}}},"3f7e":function(t,e,n){"use strict";var i=n("e692"),r=n.n(i);r.a},"439a":function(t,e,n){"use strict";n.r(e),n.d(e,"downloadFile",(function(){return i}));var i={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},"442e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var i=n("5129"),r=n.n(i),o=n("85b6"),a=n("f2b3");function s(e){e.config.errorHandler=function(n,i,r){var s=Object(a["t"])(n);e.util.warn("Error in ".concat(r,': "').concat("Error"===s?n.toString():n,'"'),i);var c="function"===typeof getApp&&getApp();c&&Object(o["c"])(c.$options,"onError")?c.__call_hook("onError",n):t.error(n)};var n=e.config.isReservedTag;e.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||n(t)},e.config.ignoredElements=r.a;var i=e.config.getTagNamespace,s=["switch","image","text","view"];e.config.getTagNamespace=function(t){return!~s.indexOf(t)&&i(t)}}}).call(this,n("3ad9")["default"])},"44de":function(t,e,n){"use strict";n.r(e),n.d(e,"vibrateLong",(function(){return r})),n.d(e,"vibrateShort",(function(){return o}));var i=!!window.navigator.vibrate;function r(){return i&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return i&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(t,e,n){"use strict";(function(t){var i=n("636c"),r=n("cb0f");e["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t._maps=e._maps,t._map=e._map,t.addMarker(t.$props),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.updateMarker(t.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(t){var e=this,n=this._maps,r=this._map,o=this._marker=new n.Marker({map:r,flat:!0,autoRotation:!1});this.$parent._markers[this.idString]=o,this.updateMarker(t),i["c"]?(o.dom.addEventListener("click",(function(t){e.handleAMapMarkerClick(t,o)})),o.dom.addEventListener("touchend",(function(t){e.handleAMapMarkerClick(t,o)}))):n.event.addListener(o,"click",(function(t){var n=o.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var i=n.div,r=i.parentNode;r.removeChild(i),r.appendChild(i)}var a=t.event||t.domEvent;if(e.idString){var s=e.getMarkerLatitudeLongitude(t),c=s.latitude,u=s.longitude;e.$parent.$trigger("markertap",a,{markerId:Number(e.idString),latitude:c,longitude:u})}a.stopPropagation()}))},updateMarker:function(e){var n=this,o=this._map,a=this._maps,s=this._marker,c=e.title,u=i["c"]?new a.LngLat(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude),l=new Image;l.onload=function(){var t,r,d,h=e.anchor||{},f="number"===typeof h.x?h.x:.5,p="number"===typeof h.y?h.y:1;e.iconPath&&(e.width||e.height)?(r=e.width||l.width/l.height*e.height,d=e.height||l.height/l.width*e.width):(r=l.width/2,d=l.height/2);var g=d-(d-p*d);t="MarkerImage"in a?new a.MarkerImage(l.src,null,null,new a.Point(f*r,p*d),new a.Size(r,d)):"Icon"in a?new a.Icon({image:l.src,size:new a.Size(r,d),imageSize:new a.Size(r,d),imageOffset:new a.Pixel(f*r,p*d)}):{url:l.src,anchor:new a.Point(f,p),size:new a.Size(r,d)},s.setPosition(u),s.setIcon(t),"setRotation"in s&&s.setRotation(e.rotate||0);var v,m=e.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),m.content){var b={borderColor:m.borderColor,borderWidth:(Number(m.borderWidth)||0)+"px",padding:(Number(m.padding)||0)+"px",borderRadius:(Number(m.borderRadius)||0)+"px",backgroundColor:m.bgColor,color:m.color,fontSize:(m.fontSize||14)+"px",lineHeight:(m.fontSize||14)+"px",marginLeft:(Number(m.anchorX||m.x)||0)+"px",marginTop:(Number(m.anchorY||m.y)||0)+"px"};if("Label"in a)v=new a.Label({position:u,map:o,clickable:!1,content:m.content,style:b}),s.label=v;else if("setLabel"in s)if(i["c"]){var y='<div style="\n                margin-left:'.concat(b.marginLeft,";\n                margin-top:").concat(b.marginTop,";\n                padding:").concat(b.padding,";\n                background-color:").concat(b.backgroundColor,";\n                border-radius:").concat(b.borderRadius,";\n                line-height:").concat(b.lineHeight,";\n                color:").concat(b.color,";\n                font-size:").concat(b.fontSize,';\n\n                ">\n                ').concat(m.content,"\n              <div>");s.setLabel({content:y,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,b);s.setLabel({text:m.content,color:b.color,fontSize:b.fontSize,className:_})}}var w,k=e.callout||{},S=s.callout;if(k.content||c){var x="0px 0px 3px 1px rgba(0,0,0,0.5)";if(w=k.content?{position:u,map:o,top:g,offsetY:-e.height/2,content:k.content,color:k.color,fontSize:k.fontSize,borderRadius:k.borderRadius,bgColor:k.bgColor,padding:k.padding,boxShadow:k.boxShadow||x,display:k.display}:{position:u,map:o,top:g,offsetY:-e.height/2,content:c,boxShadow:x},S)S.setOption(w);else if(i["c"]){var C=function(t,e){e.idString&&e.$parent.$trigger("callouttap",t,{markerId:Number(e.idString)})};S=s.callout=new a.Callout(w,C,n)}else S=s.callout=new a.Callout(w),S.div.onclick=function(t){n.idString&&n.$parent.$trigger("callouttap",t,{markerId:Number(n.idString)}),t.stopPropagation(),t.preventDefault()},Object(i["e"])().type===i["d"].GOOGLE&&(S.div.onpointerdown=function(t){t.stopPropagation()},S.div.ontouchstart=function(t){t.stopPropagation()})}else S&&(n.removeMarkerCallout(s.callout),delete s.callout)},e.iconPath?l.src=Object(r["a"])(e.iconPath):t.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(t,e){var n=e.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?e.callout.createAMapText():e.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",t,{markerId:Number(this.idString),latitude:e._position.lat,longitude:e._position.lng}),t.stopPropagation()},updateMarkerLabelStyle:function(t,e){var n="uni-map-marker-label-"+t,i=document.getElementById(n);i||(i=document.createElement("style"),i.id=n,document.head.appendChild(i),this.$once("hook:destroyed",(function(){i.remove()})));var r=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),o=document.createElement("div");return Object.keys(r).forEach((function(t){o.style[t]=r[t]||""})),i.innerText=".".concat(n,"{").concat(o.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(t){var e,n,r=Object(i["e"])();return i["c"]?(e=t.lnglat.lat,n=t.lnglat.lng):r.type===i["d"].QQ?(e=t.latLng.lat,n=t.latLng.lng):r.type===i["d"].GOOGLE&&(e=t.latLng.lat(),n=t.latLng.lng()),{latitude:e,longitude:n}},removeMarker:function(){var t=this._marker;t&&(t.label&&"setMap"in t.label&&t.label.setMap(null),t.callout&&this.removeMarkerCallout(t.callout),t.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(t){i["c"]?t.removeAMapText():t.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(t,e,n){"use strict";n.r(e),n.d(e,"removeTabBarBadge",(function(){return o})),n.d(e,"showTabBarRedDot",(function(){return a})),n.d(e,"hideTabBarRedDot",(function(){return s})),n.d(e,"onTabBarMidButtonTap",(function(){return u}));var i=n("db70"),r=n("a118");function o(t){var e=t.index;return Object(i["c"])("setTabBarBadge",{index:e,type:"none"})}function a(t){var e=t.index;return Object(i["c"])("setTabBarBadge",{index:e,type:"redDot"})}var s=o,c=[];function u(t){c.push(t)}Object(i["d"])("onTabBarMidButtonTap",(function(t){c.forEach((function(e){Object(r["a"])(e,t)}))}))},"45d2":function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return l}));var i=1e-4,r=750,o=!1,a=0,s=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,i=t.windowWidth;a=i,s=n,o="ios"===e}function u(t,e){return t=Number(t),isNaN(t)?e:t}function l(t,e){if(0===a&&c(),t=Number(t),0===t)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},l=u(n.rpxCalcMaxDeviceWidth,960),d=u(n.rpxCalcBaseDeviceWidth,375),h=u(n.rpxCalcIncludeWidth,750),f=e||a;f=t===h||f<=l?f:d;var p=t/r*f;return p<0&&(p=-p),p=Math.floor(p+i),0===p&&(p=1!==s&&o?.5:1),t<0?-p:p}},"45db":function(t,e,n){"use strict";n.r(e),function(t){var i;function r(t){i=t}function o(){i&&t.emit(i+".stopPullDownRefresh",{},i);var e=getCurrentPages();return e.length&&(i=e[e.length-1].$page.id,t.emit(i+".startPullDownRefresh",{},i)),{}}function a(){if(i)t.emit(i+".stopPullDownRefresh",{},i),i=null;else{var e=getCurrentPages();e.length&&(i=e[e.length-1].$page.id,t.emit(i+".stopPullDownRefresh",{},i))}return{}}n.d(e,"setPullDownRefreshPageId",(function(){return r})),n.d(e,"startPullDownRefresh",(function(){return o})),n.d(e,"stopPullDownRefresh",(function(){return a}))}.call(this,n("0dd1"))},"4a59":function(t,e,n){"use strict";(function(t){function i(e,n,i){t.UniServiceJSBridge.subscribeHandler(e,n,i)}n.d(e,"a",(function(){return i}))}).call(this,n("c8ba"))},"4c39":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-map-control"},[n("img",{staticClass:"uni-map-control-icon",style:t.positionStyle,attrs:{src:t.imgPath},on:{click:t.handleClick}})])},r=[],o=n("cb0f"),a={props:{id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:Boolean,default:!1}},computed:{imgPath:function(){return Object(o["a"])(this.iconPath)},positionStyle:function(){var t="top:".concat(this.position.top||0,"px;left:").concat(this.position.left||0,"px;");return this.position.width&&(t+="width:".concat(this.position.width,"px;")),this.position.height&&(t+="height:".concat(this.position.height,"px;")),t}},methods:{handleClick:function(t){this.clickable&&this.$parent.$trigger("controltap",t,{controlId:this.id}),t.stopPropagation()}}},s=a,c=(n("a8b8"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["a"]=u.exports},"4ca9":function(t,e,n){"use strict";n.r(e),function(t){var i=n("6389"),r=n.n(i),o=n("85b6"),a=n("abbf"),s=n("0784"),c=n("aa92"),u=n("02c9"),l=n("23e5"),d=n("f2b3");function h(t){var e=0;return t.forEach((function(t){t.meta.id&&e++})),e}function f(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":decodeURI(t.slice(e+1))}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}e["default"]={install:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.routes;e.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(e.config.devtools=!1),Object(u["a"])(e),Object(c["a"])(e),Object(d["u"])(e),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var g=h(i),v=new r.a({id:g,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:i,scrollBehavior:function(t,e,n){if(n)return n;if(t&&e&&t.meta.isTabBar&&e.meta.isTabBar){var i=Object(l["b"])(t.params.__id__);if(i)return i}return{x:0,y:0}}}),m=[],b=v.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):f());if(b.meta.name&&(b.meta.id?m.push(b.meta.name+"-"+b.meta.id):m.push(b.meta.name+"-"+(g+1))),b.meta&&b.meta.name&&(document.body.className="uni-body "+b.meta.name,b.meta.isNVue)){var y="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(y,"")}e.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:m}};var r=Object(a["a"])(e,i,b);Object.keys(r).forEach((function(t){n[t]=n[t]?[].concat(r[t],n[t]):[r[t]]})),n.router=v,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(e){t.error(e)}])}else if(Object(o["d"])(this)){var c=Object(s["a"])();Object.keys(c).forEach((function(t){n.mpOptions?n[t]=n[t]?[].concat(n[t],c[t]):[c[t]]:n[t]=n[t]?[].concat(c[t],n[t]):[c[t]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(e.prototype,"$page",{get:function(){return this.__page__}}),e.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},e.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},e.prototype.createMediaQueryObserver=function(t){return uni.createMediaQueryObserver(this,t)},e.use(r.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(t,e,n){"use strict";n.r(e),e["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var t={},e=t.content={},n=t.triangle={},i=this.popover;function r(t){return Number(t)||0}if(this.isDesktop&&i){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var o=r(i.left),a=r(i.width),s=r(i.top),c=r(i.height),u=o+a/2;e.transform="none !important";var l=Math.max(0,u-150);e.left="".concat(l,"px");var d=Math.max(12,u-l);d=Math.min(288,d),n.left="".concat(d,"px");var h=this.popupHeight/2;s+c-h>h-s?(e.top="auto",e.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(e.top="".concat(s+c+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return t}},mounted:function(){var t=this,e=function(){var e=uni.getSystemInfoSync(),n=e.windowWidth,i=e.windowHeight,r=e.windowTop;t.popupWidth=n,t.popupHeight=i+r};window.addEventListener("resize",e),e(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",e)}))}}},"4da7":function(t,e,n){"use strict";n.r(e);var i,r,o=n("5881"),a=o["a"],s=(n("c8ed"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"4e0b":function(t,e,n){},"4e7c":function(t,e,n){"use strict";n.r(e),n.d(e,"getProvider",(function(){return r}));var i={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(i).indexOf(t)<0)return"service error"}}}},"4f1c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:t.switchChecked?t.color:"#DFDFDF",borderColor:t.switchChecked?t.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},r=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["f"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t.value=this.switchChecked,t.key=this.name),t}}},s=a,c=(n("a5ec"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"4f43":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"downloadFile",(function(){return u}));var i=n("e2e2");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){r(this,t),s(this,"_xhr",void 0),s(this,"_callbacks",[]),this._xhr=e}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var r,o=e.url,a=e.header,s=e.timeout,u=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,l=t,d=l.invokeCallbackHandler,h=new XMLHttpRequest,f=new c(h);return h.open("GET",o,!0),Object.keys(a).forEach((function(t){h.setRequestHeader(t,a[t])})),h.responseType="blob",h.onload=function(){clearTimeout(r);var t,e=h.status,a=this.response,s=h.getResponseHeader("content-disposition");if(s){var c=s.match(/filename="?(\S+)"?\b/);c&&(t=c[1])}a.name=t||Object(i["c"])(o),d(n,{errMsg:"downloadFile:ok",statusCode:e,tempFilePath:Object(i["b"])(a)})},h.onabort=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail abort"})},h.onerror=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail"})},h.onprogress=function(t){f._callbacks.forEach((function(e){var n=t.loaded,i=t.total,r=Math.round(n/i*100);e({progress:r,totalBytesWritten:n,totalBytesExpectedToWrite:i})}))},h.send(),r=setTimeout((function(){h.onprogress=h.onload=h.onabort=h.onerror=null,f.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),u),f}}.call(this,n("0dd1"))},"4f53":function(t,e,n){"use strict";n.r(e),n.d(e,"saveImageToPhotosAlbum",(function(){return r}));var i=n("cb0f"),r={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(i["a"])(t)}}}},"4fef":function(t,e,n){"use strict";var i=n("7572"),r=n.n(i);r.a},"501c":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return v})),n.d(e,"off",(function(){return m})),n.d(e,"once",(function(){return b})),n.d(e,"emit",(function(){return y})),n.d(e,"subscribe",(function(){return _})),n.d(e,"unsubscribe",(function(){return w})),n.d(e,"subscribeHandler",(function(){return k})),n.d(e,"publishHandler",(function(){return p["a"]}));var i=n("8bbf"),r=n.n(i);function o(t){var e=t.pageStyle,n=t.rootFontSize,i=document.querySelector("uni-page-body")||document.body;i.setAttribute("style",e),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var a=n("6bdf"),s=n("5dc1"),c=n("1c73"),u={setPageMeta:o,requestComponentInfo:a["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:c["b"],destroyMediaQueryObserver:c["a"]},l=n("33ed"),d=n("7107"),h=n("764a");function f(t){Object.keys(u).forEach((function(e){t(e,u[e])})),t("pageScrollTo",l["c"]),t("loadFontFace",d["a"]),Object(h["a"])(t)}var p=n("4a59"),g=new r.a,v=g.$on.bind(g),m=g.$off.bind(g),b=g.$once.bind(g),y=g.$emit.bind(g);function _(t,e){return v("service."+t,e)}function w(t,e){return m("service."+t,e)}function k(t,e,n){y("service."+t,e,n)}f(_)},"50c5":function(t,e,n){},5129:function(t,e){t.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},"515d":function(t,e,n){},5222:function(t,e,n){"use strict";(function(t){var i=n("5a56");e["a"]={name:"Toast",mixins:[i["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(t){return-1!==["success","loading","error","none"].indexOf(t)}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},computed:{iconClass:function(){return"success"===this.icon?"uni-icon-success-no-circle":"loading"===this.icon?"uni-loading":"error"===this.icon?"uni-icon-error":""}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){t.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},5243:function(t,e,n){"use strict";n.r(e),n.d(e,"compressVideo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(t,e,n){"use strict";function i(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return i})),i.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},i.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},i.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},5408:function(t,e,n){var i={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="5408"},"54bc":function(t,e,n){},"54f4":function(t,e,n){"use strict";function i(){var t=document.activeElement;!t||"TEXTAREA"!==t.tagName&&"INPUT"!==t.tagName||t.blur()}n.r(e),n.d(e,"hideKeyboard",(function(){return i}))},5513:function(t,e,n){"use strict";n.r(e);var i=n("ba15"),r=n("f2b3");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c,u,l={name:"Swiper",mixins:[i["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[],isNavigationAuto:!1,hideNavigation:!1,prevDisabled:!1,nextDisabled:!1}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},swiperEnabled:function(){return this.items.length>this.displayMultipleItemsNumber},circularEnabled:function(){return this.circular&&this.swiperEnabled}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t,e){this._currentChanged(t,e),this.$emit("update:current",t),this._setNavigationState()},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()},navigation:{immediate:!0,handler:function(t){this.isNavigationAuto="auto"===t,this.hideNavigation=!0!==t||this.isNavigationAuto,this._navigationSwiperAddMouseEvent()}},items:function(){this._setNavigationState()},swiperEnabled:function(t){t||(this.prevDisabled=!0,this.nextDisabled=!0,this.isNavigationAuto&&(this.hideNavigation=!0))}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout),this._navigationSwiperAddMouseEvent()},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;e<n.length;e++){var i=n[e].componentInstance;if(i&&i.itemId===this.currentItemId){t=e;break}}t<0&&(t=Math.round(this.current)||0),t=t<0?0:t,this.currentSync!==t&&(this.currentChangeSource="",this.currentSync=t)},_itemReady:function(t,e){t.componentInstance&&t.componentInstance._isMounted?e():(t._callbacks=t._callbacks||[],t._callbacks.push(e))},_currentChanged:function(t,e){var n=this,i=this.currentChangeSource;if(this.currentChangeSource="",!i){var r=this.items.length;this._animateViewport(t,"",this.circularEnabled&&e+(r-t)%r>r/2?1:0)}var o=this.items[t];o&&this._itemReady(o,(function(){var t=n.currentItemIdSync=o.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:t,source:i})}))},_scheduleAutoplay:function(){var t=this;function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumber<t.items.length?t.currentSync+1:0,t._animateViewport(t.currentSync,"autoplay",t.circularEnabled?1:0),t._timer=setTimeout(e,t.intervalNumber)}this._cancelSchedule(),!this._isMounted||this._invalid||this.items.length<=this.displayMultipleItemsNumber||(this._timer=setTimeout(e,this.intervalNumber))},_cancelSchedule:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_normalizeCurrentValue:function(t){var e=this.items.length;if(!e)return-1;var n=(Math.round(t)%e+e)%e;if(this.circularEnabled){if(e<=this.displayMultipleItemsNumber)return 0}else if(n>e-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return n},_upx2px:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")})),t||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var t=this.items,e=0;e<t.length;e++)this._updateItemPos(e,e);if(this._viewportMoveRatio=1,1===this.displayMultipleItemsNumber&&t.length){var n=t[0].componentInstance.$el.getBoundingClientRect(),i=this.$refs.slideFrame.getBoundingClientRect();this._viewportMoveRatio=n.width/i.width,this._viewportMoveRatio>0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var r=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(r+o-this._contentTrackViewport),this._contentTrackViewport=o):(this._updateViewport(o),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(t){if(!this._invalid)for(var e=this.items,n=e.length,i=t+this.displayMultipleItemsNumber,r=0;r<n;r++){var o=e[r],a=o._position,s=Math.floor(t/n)*n+r,c=s+n,u=s-n,l=Math.max(t-(s+1),s-i,0),d=Math.max(t-(c+1),c-i,0),h=Math.max(t-(u+1),u-i,0),f=Math.min(l,d,h),p=[s,c,u][[l,d,h].indexOf(f)];a!==p&&this._updateItemPos(r,p)}},_updateItemPos:function(t,e){var n=this.vertical?"0":100*e+"%",i=this.vertical?100*e+"%":"0",r="translate("+n+", "+i+") translateZ(0)",o=this.items[t];this._itemReady(o,(function(){var t=o.componentInstance.$el;t.style["-webkit-transform"]=r,t.style.transform=r,t._position=e}))},_updateViewport:function(t){Math.floor(2*this._viewportPosition)===Math.floor(2*t)&&Math.ceil(2*this._viewportPosition)===Math.ceil(2*t)||this.circularEnabled&&this._checkCircularLayout(t);var e=this.vertical?"0":100*-t*this._viewportMoveRatio+"%",n=this.vertical?100*-t*this._viewportMoveRatio+"%":"0",i="translate("+e+", "+n+") translateZ(0)",r=this.$refs.slideFrame;if(r&&(r.style["-webkit-transform"]=i,r.style.transform=i),this._viewportPosition=t,!this._transitionStart){if(t%1===0)return;this._transitionStart=t}t-=Math.floor(this._transitionStart),t<=-(this.items.length-1)?t+=this.items.length:t>=this.items.length&&(t-=this.items.length),t=this._transitionStart%1>.5||this._transitionStart<0?t-1:t,this.$trigger("transition",{},{dx:this.vertical?0:t*r.offsetWidth,dy:this.vertical?t*r.offsetHeight:0})},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,i=e.acc,r=e.endTime,o=e.source,a=r-Date.now();if(a<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var e=s.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:o})}))}else{var c=i*a*a/2,u=n+c;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,n){this._cancelViewportAnimation();var i=this.durationNumber,r=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;o<t;)o+=r;for(;o-r>t;)o-=r}else if(n>0){for(;o>t;)o-=r;for(;o+r<t;)o+=r;o+r-t<t-o&&(o+=r)}else{for(;o+r<t;)o+=r;for(;o-r>t;)o-=r;o+r-t<t-o&&(o+=r)}else"click"===e&&(t=t+this.displayMultipleItemsNumber-1<r?t:0);this._animating={toPos:t,acc:2*(o-t)/(i*i),endTime:Date.now()+i,source:e},this._requestedAnimation||(this._requestedAnimation=!0,this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this)))},_cancelViewportAnimation:function(){this._animating=null},_endViewportAnimation:function(){this._animating&&(this._updateViewport(this._animating.toPos),this._animating=null)},_handleTrackStart:function(){this._cancelSchedule(),this._contentTrackViewport=this._viewportPosition,this._contentTrackSpeed=0,this._contentTrackT=Date.now(),this._cancelViewportAnimation()},_handleTrackMove:function(t){var e=this,n=this._contentTrackT;this._contentTrackT=Date.now();var i=this.items.length,r=i-this.displayMultipleItemsNumber;function o(t){return.5-.25/(t+.5)}function a(t,n){var i=e._contentTrackViewport+t;e._contentTrackSpeed=.6*e._contentTrackSpeed+.4*n,e.circularEnabled||(i<0||i>r)&&(i<0?i=-o(-i):i>r&&(i=r+o(i-r)),e._contentTrackSpeed=0),e._updateViewport(i)}var s=this._contentTrackT-n||1;this.vertical?a(-t.dy/this.$refs.slideFrame.offsetHeight,-t.ddy/s):a(-t.dx/this.$refs.slideFrame.offsetWidth,-t.ddx/s)},_handleTrackEnd:function(t){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*e);var i=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=i,this._animateViewport(i,"touch",0!==n?n:0===i&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!this.disableTouch&&this.items.length&&!this._invalid){if("start"===t.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===t.detail.state)return this._handleTrackEnd(!1);if("cancel"===t.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var e=Math.abs(t.detail.dx),n=Math.abs(t.detail.dy);if((e>=n&&this.vertical||e<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}},_onSwiperDotClick:function(t){this._animateViewport(this.currentSync=t,this.currentChangeSource="click",this.circularEnabled?1:0)},_navigationClick:function(t,e){t.stopPropagation();var n=this.items.length,i=this.currentSync;switch(e){case"prev":i--,i<0&&this.circularEnabled&&(i=n-1);break;case"next":i++,i>=n&&this.circularEnabled&&(i=0);break}this._onSwiperDotClick(i)},_navigationMouseMove:function(t){var e=this;clearTimeout(this.hideNavigationTimer);var n=t.clientX,i=t.clientY,r=this.$refs.slidesWrapper.getBoundingClientRect(),o=r.left,a=r.right,s=r.top,c=r.bottom,u=r.width,l=r.height,d=!1;d=this.vertical?!(i-s<l/3||c-i<l/3):!(n-o<u/3||a-n<u/3),d?this.hideNavigationTimer=setTimeout((function(){e.hideNavigation=d}),300):this.hideNavigation=d},_navigationMouseOut:function(){this.hideNavigation=!0},_navigationSwiperAddMouseEvent:function(){var t=this.$refs.slidesWrapper;t&&(t.removeEventListener("mousemove",this._navigationMouseMove),t.removeEventListener("mouseleave",this._navigationMouseOut),this.isNavigationAuto&&(t.addEventListener("mousemove",this._navigationMouseMove),t.addEventListener("mouseleave",this._navigationMouseOut)))},_navigationHover:function(t,e){var n=t.currentTarget;n&&(n.style.backgroundColor="over"===e?this.navigationActiveColor:"")},_setNavigationState:function(){var t=this.items.length,e=!this.circularEnabled;this.prevDisabled=0===this.currentSync&&e,this.nextDisabled=this.currentSync===t-1&&e||e&&this.currentSync+this.displayMultipleItemsNumber>=t}},render:function(t){var e=this,n=[],i=[];this.$slots.default&&Object(r["f"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&i.push(t)}));for(var o=function(i,r){var o=e.currentSync;n.push(t("div",{on:{click:function(){return e._onSwiperDotClick(i)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":i<o+e.displayMultipleItemsNumber&&i>=o||i<o+e.displayMultipleItemsNumber-r},style:{background:i===o?e.indicatorActiveColor:e.indicatorColor}}))},s=0,c=i.length;s<c;s++)o(s,c);this.items=i;var u=[t("div",{ref:"slides",style:this.slidesStyle,class:"uni-swiper-slides"},[t("div",{ref:"slideFrame",class:"uni-swiper-slide-frame",style:this.slideFrameStyle},i)])];if(this.indicatorDots&&u.push(t("div",{ref:"slidesDots",class:["uni-swiper-dots",this.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},n)),this.navigation){var l={"uni-swiper-navigation-hide":this.hideNavigation,"uni-swiper-navigation-vertical":this.vertical},d=t("i",{domProps:{innerHTML:"&#xe601;"},class:"uni-btn-icon",style:{color:this.navigationColor,fontSize:"26px"}}),h={mouseover:function(t){return e._navigationHover(t,"over")},mouseout:function(t){return e._navigationHover(t,"out")}};u.push(t("div",{on:a({click:function(t){return e._navigationClick(t,"prev")}},h),class:["uni-swiper-navigation","uni-swiper-navigation-prev",a({"uni-swiper-navigation-disabled":this.prevDisabled},l)]},[d]),t("div",{on:a({click:function(t){return e._navigationClick(t,"next")}},h),class:["uni-swiper-navigation","uni-swiper-navigation-next",a({"uni-swiper-navigation-disabled":this.nextDisabled},l)]},[d]))}return t("uni-swiper",{on:this.$listeners},[t("div",{ref:"slidesWrapper",class:"uni-swiper-wrapper"},u)])}},d=l,h=(n("1c64"),n("2877")),f=Object(h["a"])(d,c,u,!1,null,null,null);e["default"]=f.exports},5621:function(t,e,n){"use strict";n.r(e),n.d(e,"setTabBarItem",(function(){return a})),n.d(e,"setTabBarStyle",(function(){return s})),n.d(e,"hideTabBar",(function(){return c})),n.d(e,"showTabBar",(function(){return u})),n.d(e,"hideTabBarRedDot",(function(){return l})),n.d(e,"showTabBarRedDot",(function(){return d})),n.d(e,"removeTabBarBadge",(function(){return h})),n.d(e,"setTabBarBadge",(function(){return f}));var i=n("f2b3"),r=n("cb0f"),o={type:Number,required:!0},a={index:o,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String},pagePath:{type:String}},s={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},backgroundImage:{type:String,validator:function(t,e){t&&!/^(linear|radial)-gradient\(.+?\);?$/.test(t)&&(e.backgroundImage=Object(r["a"])(t))}},backgroundRepeat:{type:String},borderStyle:{type:String,validator:function(t,e){t&&(e.borderStyle="black"===t?"black":"white")}}},c={animation:{type:Boolean,default:!1}},u={animation:{type:Boolean,default:!1}},l={index:o},d={index:o},h={index:o},f={index:o,text:{type:String,required:!0,validator:function(t,e){Object(i["h"])(t)>=4&&(e.text="...")}}}},5676:function(t,e,n){"use strict";var i=n("c33a"),r=n.n(i);r.a},"56e9":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"showModal",(function(){return a})),n.d(e,"showToast",(function(){return s})),n.d(e,"hideToast",(function(){return c})),n.d(e,"showLoading",(function(){return u})),n.d(e,"hideLoading",(function(){return l})),n.d(e,"showActionSheet",(function(){return d}));var i=t,r=i.emit,o=i.invokeCallbackHandler;function a(t,e){r("onShowModal",t,(function(t){o(e,t)}))}function s(t){return r("onShowToast",t),{}}function c(){return r("onHideToast"),{}}function u(t){return r("onShowLoading",t),{}}function l(){return r("onHideLoading"),{}}function d(t,e){r("onShowActionSheet",t,(function(t){o(e,-1===t?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:t})}))}}.call(this,n("0dd1"))},5727:function(t,e,n){"use strict";var i=n("28da"),r=n.n(i);r.a},5768:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-textarea",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:t._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,(function(e,i){return n("div",{key:i,domProps:{textContent:t._s(e.trim()?e:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),t.disabled&&t.fixColor?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,enterkeyhint:t.confirmType},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],focus:t._onFocus,blur:t._onBlur,"&touchstart":function(e){return t._onTouchstart(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyUpEnter(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyDownEnter(e)}}}),t._v(" "),t.disabled&&t.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:t.disabled,maxlength:t.maxlengthNumber},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},r=[],o=n("8af1"),a="(prefers-color-scheme: dark)",s=["done","go","next","search","send"],c={name:"Textarea",mixins:[o["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(t){return s.concat("return").includes(t)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(a).media!==a}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return s.includes(this.confirmType)}},watch:{focus:function(t){t&&(this.focusChangeSource="focus")},height:function(t){var e=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(e)&&(e=this.$refs.line.offsetHeight);var n=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:n}),this.autoHeight&&(this.$el.style.height="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var t=this;while(t){var e=t.$options._scopeId;e&&this.$refs.placeholder.setAttribute(e,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(t){this.isDone&&t.preventDefault()},_onKeyUpEnter:function(t){this.isDone&&(this._confirm(t),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_onInput:function(t,e){this.composing&&this.ignoreCompositionEvent?this.valueComposition=t.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},e))},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},u=c,l=(n("9400"),n("2877")),d=Object(l["a"])(u,i,r,!1,null,null,null);e["default"]=d.exports},"57a7":function(t,e,n){"use strict";n.r(e),n.d(e,"createInnerAudioContext",(function(){return h}));var i=n("db70");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=["canplay","play","pause","stop","ended","timeUpdate","error","waiting","seeking","seeked"],c=[{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"autoplay",default:!1,cache:!0},{name:"loop",default:!1,cache:!0},{name:"obeyMuteSwitch",default:!0,readonly:!0,cache:!0},{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"buffered",readonly:!0},{name:"volume"},{name:"sessionCategory"},{name:"playbackRate",cache:!0}],u=function(){function t(e){var n=this;r(this,t),this.id=e,this._callbacks={},this._options={},s.forEach((function(t){n._callbacks[t.toLowerCase()]=[]})),c.forEach((function(t){var e=t.name,r={get:function(){var n=t.cache?this._options:Object(i["c"])("getAudioState",{audioId:this.id}),r=e in n?n[e]:t.default;return"number"===typeof r&&"volume"!==e?r/1e3:r}};t.readonly||(r.set=function(t){this._options[e]=t,Object(i["c"])("setAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(n,e,r)}))}return a(t,[{key:"play",value:function(){this._operate("play")}},{key:"pause",value:function(){this._operate("pause")}},{key:"stop",value:function(){this._operate("stop")}},{key:"seek",value:function(t){this._operate("seek",{currentTime:1e3*t})}},{key:"destroy",value:function(){clearInterval(this.__timing),Object(i["c"])("destroyAudioInstance",{audioId:this.id}),delete d[this.id]}},{key:"_operate",value:function(t,e){Object(i["c"])("operateAudio",Object.assign({},e,{audioId:this.id,operationType:t}))}}]),t}();function l(t,e,n,i){t._callbacks[e].forEach((function(t){"function"===typeof t&&t("error"===e?{errMsg:n,errCode:i}:{})}))}s.forEach((function(t){var e=t[0].toUpperCase()+t.substr(1);t=t.toLowerCase(),u.prototype["on".concat(e)]=function(e){this._callbacks[t].push(e)},u.prototype["off".concat(e)]=function(e){var n=this._callbacks[t],i=n.indexOf(e);i>=0&&n.splice(i,1)}})),Object(i["d"])("onAudioStateChange",(function(t){var e=t.state,n=t.audioId,i=t.errMsg,r=t.errCode,o=d[n];if(o)if(l(o,e,i,r),"play"===e){var a=o.currentTime;o.__timing=setInterval((function(){var t=o.currentTime;t!==a&&l(o,"timeupdate")}),200)}else"pause"!==e&&"stop"!==e&&"error"!==e||clearInterval(o.__timing)}));var d=Object.create(null);function h(){var t=Object(i["c"])("createAudioInstance"),e=t.audioId,n=new u(e);return d[e]=n,n}},"581a":function(t,e,n){},5881:function(t,e,n){"use strict";(function(t){var n={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&n[this.space]&&(t=t.replace(/ /g,n[this.space])),this.decode&&(t=t.replace(/&nbsp;/g,n.nbsp).replace(/&ensp;/g,n.ensp).replace(/&emsp;/g,n.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")),t}},render:function(e){var n=this,i=[];return this.$slots.default&&this.$slots.default.forEach((function(r){if(r.text){var o=r.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach((function(t,r){i.push(n._decodeHtml(t)),r!==a.length-1&&i.push(e("br"))}))}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&t.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),i.push(r)})),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},i)])}}}).call(this,n("3ad9")["default"])},"594d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({ref:"mapContainer",attrs:{id:t.id}},t.$listeners),[t._l(t.markers,(function(e){return n("map-marker",t._b({key:e.id},"map-marker",e,!1))})),t._l(t.controls,(function(e,i){return n("map-control",t._b({key:e.id||i},"map-control",e,!1))})),t._l(t.polygons,(function(e){return n("map-polygon",t._b({key:JSON.stringify(e.points)},"map-polygon",e,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(t){t.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)],2)},r=[],o=n("738e"),a=o["a"],s=(n("3f7e"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},5964:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"setNavigationBarColor",(function(){return o})),n.d(e,"showNavigationBarLoading",(function(){return a})),n.d(e,"hideNavigationBarLoading",(function(){return s})),n.d(e,"setNavigationBarTitle",(function(){return c}));var i=n("79d5");function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object(i["getPageHolder"])(n.__page__);if(r)switch(e){case"setNavigationBarColor":var o=n.frontColor,a=n.backgroundColor,s=n.animation,c=s.duration,u=s.timingFunc;o&&(r.navigationBar.textColor="#000000"===o?"black":"white"),a&&(r.navigationBar.backgroundColor=a),t.emit("onNavigationBarChange",{textColor:"#000000"===o?"#000":"#fff",backgroundColor:r.navigationBar.backgroundColor}),r.navigationBar.duration=c+"ms",r.navigationBar.timingFunc=u;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var l=n.title;r.navigationBar.titleText=l,Object(i["isCurrentPage"])(r)&&(document.title=l),t.emit("onNavigationBarChange",{titleText:l});break}return{}}function o(t){return r("setNavigationBarColor",t)}function a(t){return r("showNavigationBarLoading",t)}function s(t){return r("hideNavigationBarLoading",t)}function c(t){return r("setNavigationBarTitle",t)}}.call(this,n("0dd1"))},"5a23":function(t,e,n){"use strict";n("f2b3");var i,r=n("5cf8");function o(){}e["a"]={name:"Keyboard",mixins:[r["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(t,e,n){n.context.initKeyboard(t)}}},methods:{initKeyboard:function(t){var e=this;t.addEventListener("focus",(function(){!0,clearTimeout(i),document.addEventListener("click",o,!1)}));var n=function(){document.removeEventListener("click",o,!1),e.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(function(){e.isApple&&t.blur(),!1,n()}))}}}},"5a56":function(t,e,n){"use strict";n.r(e),e["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(t,e,n){"use strict";var i=n("b2bb"),r=n.n(i);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},i.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(a(window,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach((function(i){var o=i.element,a=u(o),s=this._rootContainsTarget(o),c=i.entry,l=t&&s&&this._computeTargetAndRootIntersection(o,e),d=i.entry=new n({time:r(),target:o,boundingClientRect:a,rootBounds:e,intersectionRect:l});c?t&&s?this._hasCrossedThreshold(c,d)&&this._queuedEntries.push(d):c&&c.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var i=u(e),r=i,o=h(e),a=!1;while(!a){var s=null,l=1==o.nodeType?window.getComputedStyle(o):{};if("none"==l.display)return;if(o==this.root||o==t?(a=!0,s=n):o!=t.body&&o!=t.documentElement&&"visible"!=l.overflow&&(s=u(o)),s&&(r=c(s,r),!r))break;o=h(o)}return r}},i.prototype._getRootRect=function(){var e;if(this.root)e=u(this.root);else{var n=t.documentElement,i=t.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==n||o==i||o<n!==o<i)return!0}},i.prototype._rootIsInDom=function(){return!this.root||d(t,this.root)},i.prototype._rootContainsTarget=function(e){return d(this.root||t,e)},i.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},i.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=i,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||l(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,i=this.intersectionRect,r=i.width*i.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function i(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=o(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function r(){return window.performance&&performance.now&&performance.now()}function o(t,e){var n=null;return function(){n||(n=setTimeout((function(){t(),n=null}),e))}}function a(t,e,n,i){"function"==typeof t.addEventListener?t.addEventListener(e,n,i||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function s(t,e,n,i){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,i||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function c(t,e){var n=Math.max(t.top,e.top),i=Math.min(t.bottom,e.bottom),r=Math.max(t.left,e.left),o=Math.min(t.right,e.right),a=o-r,s=i-n;return a>=0&&s>=0&&{top:n,bottom:i,left:r,right:o,width:a,height:s}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(t,e){var n=e;while(n){if(n==t)return!0;n=h(n)}return!1}function h(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5b9f":function(t,e,n){"use strict";var i=n("f2b3"),r=n("636c");e["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t.drawPolygon(),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var t=this.points,e=this.strokeWidth,n=this.strokeColor,o=this.dashArray,a=this.fillColor,s=this.zIndex,c=this.$parent,u=c._maps,l=c._map,d=t.map((function(t){var e=t.latitude,n=t.longitude;return r["c"]?[n,e]:new u.LatLng(e,n)})),h=Object(i["j"])(a),f=h.r,p=h.g,g=h.b,v=h.a,m=Object(i["j"])(n),b=m.r,y=m.g,_=m.b,w=m.a,k={clickable:!0,cursor:"crosshair",editable:!1,map:l,fillColor:"",path:d,strokeColor:"",strokeDashStyle:o.some((function(t){return t>0}))?"dash":"solid",strokeWeight:e,visible:!0,zIndex:s};u.Color?(k.fillColor=new u.Color(f,p,g,v),k.strokeColor=new u.Color(b,y,_,w)):(k.fillColor="rgb(".concat(f,", ").concat(p,", ").concat(g,")"),k.fillOpacity=v,k.strokeColor="rgb(".concat(b,", ").concat(y,", ").concat(_,")"),k.strokeOpacity=w),this.polygonIns?this.polygonIns.setOptions(k):this.polygonIns=new u.Polygon(k)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5cf8":function(t,e,n){"use strict";function i(t,e){for(var n=this.$children,r=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];for(var c=0;c<r;c++){var u=n[c],l=u.$options.name&&u.$options.name.substr(4);if(~t.indexOf(l))return u.$emit.apply(u,[e].concat(a)),!1;if(!1===i.apply(u,[t,e].concat([a])))return!1}}e["a"]={methods:{$dispatch:function(t,e){"string"===typeof t&&(t=[t]);var n=this.$parent||this.$root,i=n.$options.name&&n.$options.name.substr(4);while(n&&(!i||!~t.indexOf(i)))n=n.$parent,n&&(i=n.$options.name&&n.$options.name.substr(4));if(n){for(var r=arguments.length,o=new Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];n.$emit.apply(n,[e].concat(o))}},$broadcast:function(t,e){"string"===typeof t&&(t=[t]);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(this,[t,e].concat(r))}}}},"5d1d":function(t,e,n){"use strict";var i=n("50c5"),r=n.n(i);r.a},"5d70":function(t,e,n){},"5d74":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"startLocationUpdate",(function(){return l})),n.d(e,"stopLocationUpdate",(function(){return d})),n.d(e,"onLocationChange",(function(){return h})),n.d(e,"onLocationChangeError",(function(){return f})),n.d(e,"offLocationChange",(function(){return p})),n.d(e,"offLocationChangeError",(function(){return g}));var i,r=n("636c"),o=t,a=o.invokeCallbackHandler,s=[],c=[],u=[];function l(t){var e=t.type,n=void 0===e?"wgs84":e;navigator.geolocation?i=navigator.geolocation.watchPosition((function(t){Object(r["f"])(n,t.coords).then((function(t){s.forEach((function(e){a(e,t)}))})).catch((function(t){c.forEach((function(e){a(e,{errMsg:"onLocationChange:fail"+t.message})}))}))}),(function(t){c.forEach((function(e){a(e,{errMsg:"onLocationChange:fail"+t.message})}))})):c.forEach((function(t){a(t,{errMsg:"onLocationChange:fail device nonsupport geolocation"})}))}function d(t){return i?navigator.geolocation.clearWatch(i):a(t,{errMsg:"stopLocationUpdate:fail"}),{}}function h(t){s.push(t)}function f(t){c.push(t)}function p(t){if(t){var e=s.indexOf(t);e>=0?s.splice(e,1):u.forEach((function(t){a(t,{errMsg:"offLocationChange:fail"})}))}else s.length=0}function g(t){u.push(t)}}.call(this,n("0dd1"))},"5dc1":function(t,e,n){"use strict";(function(t,i){n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l}));n("5abe");var r=n("85b6"),o=n("db8e");function a(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function s(t){var e=t.intersectionRatio,n=t.boundingClientRect,i=n.height,r=n.width,o=t.intersectionRect,a=o.height,s=o.width;return 0!==e?e:a===i?s/r:a/i}var c={};function u(e,n){var u,l=e.reqId,d=e.component,h=e.options;if(n._isVue)u=n;else{var f=getCurrentPages(),p=f.find((function(t){return t.$page.id===n}));if(!p)throw new Error("Not Found:Page[".concat(n,"]"));u=p.$vm}var g=Object(o["b"])(d,u),v=h.relativeToSelector?g.querySelector(h.relativeToSelector):null,m=c[l]=new IntersectionObserver((function(e,n){e.forEach((function(e){t.publishHandler("onRequestComponentObserver",{reqId:l,res:{intersectionRatio:s(e),intersectionRect:a(e.intersectionRect),boundingClientRect:a(e.boundingClientRect),relativeRect:a(e.rootBounds),time:Date.now(),dataset:Object(r["b"])(e.target),id:e.target.id}})}))}),{root:v,rootMargin:h.rootMargin,threshold:h.thresholds});if(h.observeAll)m.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(g.querySelectorAll(h.selector),(function(t){t?m.observe(t):i.warn("Node ".concat(h.selector," is not found. Intersection observer will not trigger."))}));else{m.USE_MUTATION_OBSERVER=!1;var b=g.querySelector(h.selector);if(!b)return void i.warn("Node ".concat(h.selector," is not found. Intersection observer will not trigger."));m.observe(b)}}function l(e){var n=e.reqId,i=c[n];i&&(i.disconnect(),delete c[n],t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"),n("3ad9")["default"])},"5ff9":function(t,e,n){"use strict";n.r(e),n.d(e,"loadFontFace",(function(){return i}));var i={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}}},6062:function(t,e,n){"use strict";var i=n("ef36"),r=n.n(i);r.a},"60db":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EditorContext",(function(){return u}));var i=n("f2b3");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(e,n,i,r){t.publishHandler(n+"-editor-"+e,{componentId:e,type:i,data:r},n)}t.subscribe("onEditorMethodCallback",(function(t){var e=t.callbackId,n=t.data;i["a"].invoke(e,n)}));var c=["insertDivider","insertImage","insertText","setContents","getContents","clear","removeFormat","undo","redo","blur","getSelectionText","scrollIntoView"],u=function(){function t(e,n){r(this,t),this.id=e,this.pageId=n}return a(t,[{key:"format",value:function(t,e){s(this.id,this.pageId,"format",{options:{name:t,value:e}})}}]),t}();c.forEach((function(t){u.prototype[t]=i["a"].warp((function(e,n){s(this.id,this.pageId,t,{options:e,callbackId:n})}))}))}.call(this,n("0dd1"))},"60ee":function(t,e,n){},6150:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-audio",t._g({attrs:{id:t.id,controls:!!t.controls}},t.$listeners),[n("audio",{ref:"audio",staticStyle:{display:"none"},attrs:{loop:t.loop}}),n("div",{staticClass:"uni-audio-default"},[n("div",{staticClass:"uni-audio-left",style:"background-image: url("+t.$getRealPath(t.poster)+");"},[n("div",{staticClass:"uni-audio-button",class:{play:!t.playing,pause:t.playing},on:{click:t.trigger}})]),n("div",{staticClass:"uni-audio-right"},[n("div",{staticClass:"uni-audio-time"},[t._v(" "+t._s(t.currentTime)+" ")]),n("div",{staticClass:"uni-audio-info"},[n("div",{staticClass:"uni-audio-name"},[t._v(" "+t._s(t.name)+" ")]),n("div",{staticClass:"uni-audio-author"},[t._v(" "+t._s(t.author)+" ")])])])])])},r=[],o=n("8af1"),a={name:"Audio",mixins:[o["g"]],props:{id:{type:String,default:""},src:{type:String,default:""},loop:{type:[Boolean,String],default:!1},controls:{type:[Boolean,String],default:!1},poster:{type:String,default:""},name:{type:String,default:""},author:{type:String,default:""}},data:function(){return{playing:!1,currentTime:this.getTime(0)}},watch:{src:function(t){this.$refs.audio&&(this.$refs.audio.src=this.$getRealPath(t))}},mounted:function(){var t=this,e=this.$refs.audio;e.addEventListener("error",(function(e){t.playing=!1,t.$trigger("error",e,{})})),e.addEventListener("play",(function(e){t.playing=!0,t.$trigger("play",e,{})})),e.addEventListener("pause",(function(e){t.playing=!1,t.$trigger("pause",e,{})})),e.addEventListener("ended",(function(e){t.playing=!1,t.$trigger("ended",e,{})})),e.addEventListener("timeupdate",(function(n){var i=e.currentTime;t.currentTime=t.getTime(i);var r=e.duration;t.$trigger("timeupdate",n,{currentTime:i,duration:r})})),e.src=this.$getRealPath(this.src)},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n,r=this.$refs.audio;switch(e){case"setSrc":r.src=this.$getRealPath(i.src),this.$emit("update:src",i.src);break;case"play":r.play();break;case"pause":r.pause();break;case"seek":r.currentTime=i.position;break}},trigger:function(){this.playing?this.$refs.audio.pause():this.$refs.audio.play()},getTime:function(t){var e=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i;var r=n+":"+i;return"00"!==e&&(r=e+":"+r),r}}},s=a,c=(n("02b5"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"61c2":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("f2b3"),r=n("8af1");function o(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})}function a(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})}var s={name:"uni://form-field",init:function(t,e){e.constructor.options.props&&e.constructor.options.props.name&&e.constructor.options.props.value||(e.constructor.options.props||(e.constructor.options.props={}),e.constructor.options.props.name||(e.constructor.options.props.name=t.props.name={type:String}),e.constructor.options.props.value||(e.constructor.options.props.value=t.props.value={type:null})),t.propsData||(t.propsData={});var n=e.$vnode;if(n&&n.data&&n.data.attrs&&(Object(i["i"])(n.data.attrs,"name")&&(t.propsData.name=n.data.attrs.name),Object(i["i"])(n.data.attrs,"value")&&(t.propsData.value=n.data.attrs.value)),!e.constructor.options.methods||!e.constructor.options.methods._getFormData){e.constructor.options.methods||(e.constructor.options.methods={}),t.methods||(t.methods={});var s={_getFormData:function(){return this.name?{key:this.name,value:this.value}:{}},_resetFormData:function(){this.value=""}};Object.assign(e.constructor.options.methods,s),Object.assign(t.methods,s),Object.assign(e.constructor.options.methods,r["a"].methods),Object.assign(t.methods,r["a"].methods);var c=t.created;e.constructor.options.created=t.created=c?[].concat(o,c):[o];var u=t.beforeDestroy;e.constructor.options.beforeDestroy=t.beforeDestroy=u?[].concat(a,u):[a]}}};function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=c({},s.name,s);function l(t,e){t.behaviors.forEach((function(n){var i=u[n];i&&i.init(t,e)}))}},6226:function(t,e,n){"use strict";var i=n("77d5"),r=n.n(i);r.a},"626d":function(t,e,n){"use strict";n.r(e),function(t){var i=n("f2b3");e["default"]={data:function(){return{showActionSheet:{visible:!1}}},created:function(){var e=this;t.on("onShowActionSheet",(function(t,n){e.showActionSheet=t,e.onActionSheetCloseCallback=n})),t.on("onHidePopup",(function(t){e.showActionSheet.visible=!1}))},methods:{_onActionSheetClose:function(t){this.showActionSheet.visible=!1,Object(i["k"])(this.onActionSheetCloseCallback)&&this.onActionSheetCloseCallback(t)}}}}.call(this,n("0dd1"))},"62b5":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i={};function r(t){var e=i[t];return e||(e={id:1,callbacks:Object.create(null)},i[t]=e),{get:function(t){return e.callbacks[t]},pop:function(t){var n=e.callbacks[t];return n&&delete e.callbacks[t],n},push:function(t){var n=e.id++;return e.callbacks[n]=t,n}}}},"636c":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return l}));var i=n("ffdc"),r=n("31c6"),o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",s={QQ:"qq",GOOGLE:"google",AMAP:"AMap",UNKNOWN:""};function c(){return __uniConfig.qqMapKey?{type:s.QQ,key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:s.GOOGLE,key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:s.AMAP,key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:s.UNKNOWN,key:""}}var u=c().type===s.AMAP;function l(t,e,n){var o=c(),a=[s.GOOGLE];return"WGS84"===t.toUpperCase()||a.includes(o.type)||n?Promise.resolve(e):o.type===s.QQ?new Promise((function(t,n){Object(i["a"])("https://apis.map.qq.com/jsapi?qt=translate&type=1&points=".concat(e.longitude,",").concat(e.latitude,"&key=").concat(o.key,"&output=jsonp&pf=jsapi&ref=jsapi"),{callback:"cb"},(function(i){if("detail"in i&&"points"in i.detail&&i.detail.points.length){var r=i.detail.points[0];t({longitude:r.lng,latitude:r.lat,altitude:e.altitude,accuracy:e.accuracy,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,speed:e.speed})}else n(new Error("translate geo fail"))}),(function(){return n(new Error("translate geo fail"))}))})):o.type===s.AMAP?new Promise((function(t,n){Object(r["a"])([],(function(){window.AMap.convertFrom([e.longitude,e.latitude],"gps",(function(i,r){if("ok"===r.info&&r.locations.length){var o=r.locations[0],a=o.lat,s=o.lng;t({longitude:s,latitude:a,altitude:e.altitude,accuracy:e.accuracy,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,speed:e.speed})}else n(new Error("translate geo fail"))}))}))})):void 0}},6389:function(e,n){e.exports=t},"639e":function(t,e,n){"use strict";var i=n("15ff"),r=n.n(i);r.a},6428:function(t,e,n){"use strict";var i=n("f756"),r=n.n(i);r.a},6481:function(t,e,n){"use strict";n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return i})),n.d(e,"arrayBufferToBase64",(function(){return r}));var i=[{name:"base64",type:String,required:!0}],r=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}]},6491:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-radio-wrapper"},[n("div",{staticClass:"uni-radio-input",class:t.radioChecked?"uni-radio-input-checked":"",style:t.radioChecked?t.checkedStyle:""}),t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Radio",mixins:[o["a"],o["f"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007AFF"},value:{type:String,default:""}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{checkedStyle:function(){return"background-color: ".concat(this.color,";border-color: ").concat(this.color,";")}},watch:{checked:function(t){this.radioChecked=t},value:function(t){this.radioValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||this.radioChecked||(this.radioChecked=!0,this.$dispatch("RadioGroup","uni-radio-change",t,this))},_resetFormData:function(){this.radioChecked=this.min}}},s=a,c=(n("c96e"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,n){"use strict";var i=n("c0e5"),r=n.n(i);r.a},6575:function(t,e,n){"use strict";n.r(e),function(t){function i(e,n){var i=e.latitude,r=e.longitude,o=e.scale,a=e.name,s=e.address,c=t,u=c.invokeCallbackHandler;getApp().$router.push({type:"navigateTo",path:"/open-location",query:{latitude:i,longitude:r,scale:o,name:a,address:s}},(function(){u(n,{errMsg:"openLocation:ok"})}),(function(){u(n,{errMsg:"openLocation:fail"})}))}n.d(e,"openLocation",(function(){return i}))}.call(this,n("0dd1"))},"65a8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return a}));var i=44,r=50,o=768,a="UNI_LOCALE"},6710:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("f2b3"),r=n("2608");function o(t){var e={};for(var n in t){var o=t[n];Object(i["k"])(o)&&(e[n]=Object(r["a"])(o),delete t[n])}return e}},6730:function(t,e,n){"use strict";var i=n("00b2"),r=n.n(i);r.a},"68fb":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"createMediaQueryObserver",(function(){return d}));var i=n("62b5"),r=n("db70"),o=n("1634");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object(i["a"])("requestMediaQueryObserver"),l=function(){function e(t,n){a(this,e),this.pageId=t.$page&&t.$page.id,this.component=t._$id||t,this.options=n}return c(e,[{key:"observe",value:function(e,n){"function"===typeof n&&(this.options=e,this.reqId=u.push(n),t.publishHandler("requestMediaQueryObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(o["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyMediaQueryObserver",{reqId:this.reqId},Object(o["a"])(this.component)?this.component:this.pageId)}}]),e}();function d(t,e){return t._isVue||(e=t,t=null),new l(t||Object(r["b"])("createMediaQueryObserver"),e)}}.call(this,n("0dd1"))},"69c3":function(t,e,n){},"6bdf":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var i=n("85b6"),r=n("a470"),o=n("db8e");function a(t){var e={};if(t.id&&(e.id=""),t.dataset&&(e.dataset={}),t.rect&&(e.left=0,e.right=0,e.top=0,e.bottom=0),t.size&&(e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight),t.scrollOffset){var n=document.documentElement,i=document.body;e.scrollLeft=n.scrollLeft||i.scrollLeft||0,e.scrollTop=n.scrollTop||i.scrollTop||0,e.scrollHeight=n.scrollHeight||i.scrollHeight||0,e.scrollWidth=n.scrollWidth||i.scrollWidth||0}return e}function s(t,e){var n={},o=Object(r["a"])(),a=o.top;if(e.id&&(n.id=t.id),e.dataset&&(n.dataset=Object(i["b"])(t)),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-a,n.bottom=s.bottom-a),e.size&&(n.width=s.width,n.height=s.height)}if(Array.isArray(e.properties)&&e.properties.forEach((function(t){t=t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))})),e.scrollOffset&&("UNI-SCROLL-VIEW"===t.tagName&&t.__vue__&&t.__vue__.getScrollPosition?Object.assign(n,t.__vue__.getScrollPosition()):(n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0)),Array.isArray(e.computedStyle)){var c=getComputedStyle(t);e.computedStyle.forEach((function(t){n[t]=c[t]}))}return e.context&&t.__vue__&&t.__vue__._getContextInfo&&(n.context=t.__vue__._getContextInfo()),n}function c(t,e,n,i,r){var a=Object(o["a"])(Object(o["b"])(e,t));if(!a||a&&8===a.nodeType)return i?null:[];if(i){var c=a.matches(n)?a:a.querySelector(n);return c?s(c,r):null}var u=[],l=a.querySelectorAll(n);return l&&l.length&&(u=[].map.call(l,(function(t){return s(t,r)}))),a.matches(n)&&u.unshift(s(a,r)),u}function u(e,n){var i,r=e.reqId,o=e.reqs;if(n._isVue)i=n;else{var s=getCurrentPages(),u=s.find((function(t){return t.$page.id===n}));if(!u)throw new Error("Not Found:Page[".concat(n,"]"));i=u.$vm}var l=[];o.forEach((function(t){var e=t.component,n=t.selector,r=t.single,o=t.fields;0===e?l.push(a(o)):l.push(c(i,e,n,r,o))})),t.publishHandler("onRequestComponentInfo",{reqId:r,res:l})}}).call(this,n("501c"))},"6e0c":function(t,e,n){"use strict";n.r(e),n.d(e,"$on",(function(){return s})),n.d(e,"$off",(function(){return c})),n.d(e,"$once",(function(){return u})),n.d(e,"$emit",(function(){return l}));var i=n("8bbf"),r=n.n(i),o=new r.a;function a(t,e,n){return t[e].apply(t,n)}function s(){return a(o,"$on",Array.prototype.slice.call(arguments))}function c(){return a(o,"$off",Array.prototype.slice.call(arguments))}function u(){return a(o,"$once",Array.prototype.slice.call(arguments))}function l(){return a(o,"$emit",Array.prototype.slice.call(arguments))}},"6fa7":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-picker",t._g({attrs:{disabled:t.disabled},on:{click:t._show}},t.$listeners),[n("div",{ref:"picker",staticClass:"uni-picker-container",class:"uni-"+t.mode+"-"+t.selectorTypeComputed,on:{wheel:function(t){t.preventDefault()},touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask uni-picker-mask",on:{click:t._cancel,mousemove:t._fixInputPosition}})]),t.system?t._e():n("div",{staticClass:"uni-picker-custom",class:{"uni-picker-toggle":t.visible},style:t.popupStyle.content},[n("div",{staticClass:"uni-picker-header",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-picker-action uni-picker-action-cancel",on:{click:t._cancel}},[t._v(" "+t._s(t.$$t("uni.picker.cancel"))+" ")]),n("div",{staticClass:"uni-picker-action uni-picker-action-confirm",on:{click:t._change}},[t._v(" "+t._s(t.$$t("uni.picker.done"))+" ")])]),t.contentVisible?n("v-uni-picker-view",{staticClass:"uni-picker-content",attrs:{value:t._l10nColumn(t.valueArray)},on:{change:t._pickerViewChange}},t._l(t._l10nColumn(t.rangeArray),(function(e,i){return n("v-uni-picker-view-column",{key:i},t._l(e,(function(e,r){return n("div",{key:r,staticClass:"uni-picker-item"},[t._v(" "+t._s("object"===typeof e?e[t.rangeKey]||"":t._l10nItem(e,i))+" ")])})),0)})),1):t._e(),n("div",{ref:"select",staticClass:"uni-picker-select",on:{wheel:function(t){t.stopPropagation()},touchmove:function(t){t.stopPropagation()}}},t._l(t.rangeArray[0],(function(e,i){return n("div",{key:i,staticClass:"uni-picker-item",class:{selected:t.valueArray[0]===i},on:{click:function(e){t.valueArray[0]=i,t._change()}}},[t._v(" "+t._s("object"===typeof e?e[t.rangeKey]||"":e)+" ")])})),0),n("div",{style:t.popupStyle.triangle})],1)],1),n("div",[t._t("default")],2),t.system?n("div",{staticClass:"uni-picker-system",on:{mousemove:t._fixInputPosition}},[n("input",{ref:"input",class:[t.system,t.popupStyle.dock],attrs:{type:t.mode,tabindex:"-1",min:t.start,max:t.end},domProps:{value:t.valueSync},on:{change:function(e){return e.stopPropagation(),t._input(e)}}})]):t._e(),n("keypress",{attrs:{disable:!t.visible},on:{esc:t._cancel,enter:t._change}})],1)},r=[],o=n("8af1"),a=n("f2b3"),s=n("4ccd"),c=n("da71"),u=n("a6b0");function l(t){return p(t)||f(t)||h(t)||d()}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){if(t){if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function f(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function p(t){if(Array.isArray(t))return g(t)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v(){if(this.mode===y.TIME)return"00:00";if(this.mode===y.DATE){var t=(new Date).getFullYear()-150;switch(this.fields){case _.YEAR:return t.toString();case _.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function m(){if(this.mode===y.TIME)return"23:59";if(this.mode===y.DATE){var t=(new Date).getFullYear()+150;switch(this.fields){case _.YEAR:return t.toString();case _.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function b(t){var e=(new Date).getFullYear(),n=e-61,i=e+61;if(t.start){var r=new Date(t.start).getFullYear();!isNaN(r)&&r<n&&(n=r)}if(t.end){var o=new Date(t.start).getFullYear();!isNaN(o)&&o>i&&(i=o)}return{start:n,end:i}}var y={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},_={YEAR:"year",MONTH:"month",DAY:"day"},w={PICKER:"picker",SELECT:"select"},k={name:"Picker",components:{keypress:c["a"]},mixins:[u["c"],o["a"],s["default"]],props:{name:{type:String,default:""},range:{type:Array,default:function(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:y.SELECTOR,validator:function(t){return Object.values(y).includes(t)}},fields:{type:String,default:""},start:{type:String,default:v},end:{type:String,default:m},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},data:function(){return{valueSync:null,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[]}},computed:{rangeArray:function(){var t=this.range;switch(this.mode){case y.SELECTOR:return[t];case y.MULTISELECTOR:return t;case y.TIME:return this.timeArray;case y.DATE:var e=this.dateArray;switch(this.fields){case _.YEAR:return[e[0]];case _.MONTH:return[e[0],e[1]];default:return[e[0],e[1],e[2]]}}return[]},startArray:function(){return this._getDateValueArray(this.start,v.bind(this)())},endArray:function(){return this._getDateValueArray(this.end,m.bind(this)())},selectorTypeComputed:function(){var t=this.selectorType;return Object.values(w).includes(t)?t:0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0?w.PICKER:w.SELECT},system:function(){if(this.mode===y.DATE&&!Object.values(_).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(t){var e=this;t?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=t,this._select()):this.__contentVisibleDelay=setTimeout((function(){e.contentVisible=t}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(t){var e=this;if(this.mode===y.TIME||this.mode===y.DATE){var n=this.mode===y.TIME?this._getTimeValue:this._getDateValue,i=this.valueArray,r=this.startArray,o=this.endArray;if(this.mode===y.DATE){var a=this.dateArray,s=a[2].length,c=Number(a[2][i[2]])||1,u=new Date("".concat(a[0][i[0]],"/").concat(a[1][i[1]],"/").concat(c)).getDate();u<c&&(i[2]-=u+s-c)}n(i)<n(r)?this._cloneArray(i,r):n(i)>n(o)&&this._cloneArray(i,o)}t.forEach((function(t,n){t!==e.oldValueArray[n]&&(e.oldValueArray[n]=t,e.mode===y.MULTISELECTOR&&e.$trigger("columnchange",{},{column:n,value:t}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(t){var e=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var i=t.currentTarget.getBoundingClientRect();this.popover={top:i.top,left:i.left,width:i.width,height:i.height},setTimeout((function(){e.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case y.SELECTOR:this.valueSync=0;break;case y.MULTISELECTOR:this.valueSync=this.value.map((function(t){return 0}));break;case y.DATE:case y.TIME:this.valueSync="";break;default:break}},_createTime:function(){var t=[],e=[];t.splice(0,t.length);for(var n=0;n<24;n++)t.push((n<10?"0":"")+n);e.splice(0,e.length);for(var i=0;i<60;i++)e.push((i<10?"0":"")+i);this.timeArray.push(t,e)},_createDate:function(){for(var t=[],e=b(this),n=e.start,i=e.end;n<=i;n++)t.push(String(n));for(var r=[],o=1;o<=12;o++)r.push((o<10?"0":"")+o);for(var a=[],s=1;s<=31;s++)a.push((s<10?"0":"")+s);this.dateArray.push(t,r,a)},_getTimeValue:function(t){return 60*t[0]+t[1]},_getDateValue:function(t){var e=31;return t[0]*e*12+(t[1]||0)*e+(t[2]||0)},_cloneArray:function(t,e){for(var n=0;n<t.length&&n<e.length;n++)t[n]=e[n]},_setValueSync:function(){var t=this.value;switch(this.mode){case y.MULTISELECTOR:Array.isArray(t)||(t=this.valueArray),Array.isArray(this.valueSync)||(this.valueSync=[]);for(var e=this.valueSync.length=Math.max(t.length,this.range.length),n=0;n<e;n++){var i=Number(t[n]),r=Number(this.valueSync[n]),o=isNaN(i)?isNaN(r)?0:r:i,a=this.range[n]?this.range[n].length-1:0;this.valueSync.splice(n,1,o<0||o>a?0:o)}break;case y.TIME:case y.DATE:this.valueSync=String(t);break;default:var s=Number(t);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var t,e=this.valueSync;switch(this.mode){case y.MULTISELECTOR:t=l(e);break;case y.TIME:t=this._getDateValueArray(e,Object(a["g"])({mode:y.TIME}));break;case y.DATE:t=this._getDateValueArray(e,Object(a["g"])({mode:y.DATE}));break;default:t=[e];break}this.oldValueArray=l(t),this.valueArray=l(t)},_getValue:function(){var t=this,e=this.valueArray;switch(this.mode){case y.SELECTOR:return e[0];case y.MULTISELECTOR:return e.map((function(t){return t}));case y.TIME:return this.valueArray.map((function(e,n){return t.timeArray[n][e]})).join(":");case y.DATE:return this.valueArray.map((function(e,n){return t.dateArray[n][e]})).join("-")}},_getDateValueArray:function(t,e){var n,i=this.mode===y.DATE?"-":":",r=this.mode===y.DATE?this.dateArray:this.timeArray;if(this.mode===y.TIME)n=2;else switch(this.fields){case _.YEAR:n=1;break;case _.MONTH:n=2;break;default:n=3;break}for(var o=String(t).split(i),a=[],s=0;s<n;s++){var c=o[s];a.push(r[s].indexOf(c))}return a.indexOf(-1)>=0&&(a=e?this._getDateValueArray(e):a.map((function(){return 0}))),a},_change:function(){this._close(),this.valueChangeSource="click";var t=this._getValue();this.valueSync=Array.isArray(t)?t.map((function(t){return t})):t,this.$trigger("change",{},{value:t})},_cancel:function(t){if("firefox"===this.system){var e=this.popover,n=e.top,i=e.left,r=e.width,o=e.height,a=t.pageX,s=t.pageY;if(a>i&&a<i+r&&s>n&&s<n+o)return}this._close(),this.$trigger("cancel",{},{})},_close:function(){var t=this;this.visible=!1,setTimeout((function(){var e=t.$refs.picker;e.remove(),t.$el.prepend(e),e.style.display="none"}),260)},_select:function(){this.mode===y.SELECTOR&&this.selectorTypeComputed===w.SELECT&&(this.$refs.select.scrollTop=34*this.valueArray[0])},_input:function(t){var e=this;this.valueSync=t.target.value,this.$nextTick((function(){e._change()}))},_fixInputPosition:function(t){if("chrome"===this.system){var e=this.$el.getBoundingClientRect(),n=this.$refs.input.style,i=32;n.left="".concat(t.clientX-e.left-1.5*i,"px"),n.top="".concat(t.clientY-e.top-.5*i,"px")}},_pickerViewChange:function(t){this.valueArray=this._l10nColumn(t.detail.value,!0)},_l10nColumn:function(t,e){if(this.mode===y.DATE){var n=Object(u["a"])();if(!n.startsWith("zh"))switch(this.fields){case _.YEAR:return t;case _.MONTH:return[t[1],t[0]];default:switch(n){case"es":case"fr":return[t[2],t[1],t[0]];default:return e?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t},_l10nItem:function(t,e){if(this.mode===y.DATE){var n=Object(u["a"])();if(n.startsWith("zh")){var i=["年","月","日"];return t+i[e]}if(this.fields!==_.YEAR&&e===(this.fields===_.MONTH||"es"!==n&&"fr"!==n?0:1)){var r;switch(n){case"es":r=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":r=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:r=["January","February","March","April","May","June","July","August","September","October","November","December"];break}return r[Number(t)-1]}}return t}}},S=k,x=(n("2d89"),n("2877")),C=Object(x["a"])(S,i,r,!1,null,null,null);e["default"]=C.exports},"70bb":function(t,e,n){"use strict";n.r(e),n.d(e,"openLocation",(function(){return i}));var i={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator:function(t,e){t=Math.floor(t),e.scale=t>=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({class:{"uni-label-pointer":t.pointer},on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=n("f2ce"),a=o["a"],s=(n("6730"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},7107:function(t,e,n){"use strict";(function(t){function i(e){var n=e.options,i=e.callbackId,r=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,c=document.fonts;if(c){var u=new FontFace(r,o,s);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:fail ".concat(e)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(r,'";src:').concat(o,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(l),t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})}}n.d(e,"a",(function(){return i}))}).call(this,n("501c"))},"72ad":function(t,e,n){},"72b3":function(t,e,n){"use strict";function i(t,e,n){return t>e-n&&t<e+n}function r(t,e){return i(t,0,e)}function o(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}n.d(e,"a",(function(){return o})),o.prototype._solve=function(t,e){var n=this._c,i=this._m,r=this._k,o=n*n-4*i*r;if(0===o){var a=-n/(2*i),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*i),l=(-n+Math.sqrt(o))/(2*i),d=(e-u*t)/(l-u),h=t-d;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+d*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+d*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=t,v=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+v*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(v*f*n-g*f*i)+p*e*(v*i+g*n)}}},o.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},o.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},o.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!r(e,.4)){e=e||0;var i=this._endPosition;this._solution&&(r(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),r(e,.4)&&(e=0),r(i,.4)&&(i=0),i+=this._endPosition),this._solution&&r(i-t,.4)&&r(e,.4)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},o.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},o.prototype.done=function(t){return t||(t=(new Date).getTime()),i(this.x(),this._endPosition,.4)&&r(this.dx(),.4)},o.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},"738e":function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("f2b3"),o=n("31c6"),a=n("453f"),s=n("4c39"),c=n("5b9f"),u=n("636c");function l(t,e,n){return l=d()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=Function.bind.apply(t,i),o=new r;return n&&h(o,n.prototype),o},l.apply(null,arguments)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function h(t,e){return h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},h(t,e)}function f(t,e,n){return new t.LngLat(n,e)}function p(t,e,n){return new t.LatLng(e,n)}function g(t,e,n){return u["c"]?f(t,e,n):p(t,e,n)}function v(t){return"getLat"in t?t.getLat():t.lat()}function m(t){return"getLng"in t?t.getLng():t.lng()}e["a"]={name:"Map",components:{mapMarker:a["a"],mapControl:s["a"],mapPolygon:c["a"]},mixins:[i["g"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady((function(){e._map.setZoom(Number(t)||16)}))},polyline:function(t){var e=this;this.mapReady((function(){e.createPolyline()}))},circles:function(){var t=this;this.mapReady((function(){t.createCircles()}))},includePoints:function(){var t=this;this.mapReady((function(){t.fitBounds(t.includePoints)}))},showLocation:function(t){var e=this;this.mapReady((function(){e[t?"createLocation":"removeLocation"]()}))}},created:function(){this._markers={};var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;Object(o["a"])(this.libraries,(function(e){e.event=e.event||e.Event,e.Point=e.Point||e.BuryPoint,t._maps=e,t.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,n=t.type,i=t.data,r=void 0===i?{}:i,o=this._maps;function a(t,e){t=t||{},t.errMsg="".concat(n,":").concat(e?"fail"+e:"ok");var i=e?r.fail:r.success;"function"===typeof i&&i(t),"function"===typeof r.complete&&r.complete(t)}switch(n){case"getCenterLocation":this.mapReady((function(){var t,n,i=e._map.getCenter();t=v(i),n=m(i),a({latitude:t,longitude:n})}));break;case"moveToLocation":var s=r.latitude,c=r.longitude,l=s&&c?g(o,s,c):this._locationPosition;l&&(this._map.setCenter(l),a({latitude:s,longitude:c}));break;case"translateMarker":this.mapReady((function(){try{var t=e.getMarker(r.markerId),n=r.destination,i=r.duration,s=!!r.autoRotate,c=Number(r.rotate)?r.rotate:0,u=0;"getRotation"in t&&(u=t.getRotation());var l=t.getPosition(),d=g(o,n.latitude,n.longitude),h=o.geometry.spherical.computeDistanceBetween(l,d)/1e3,f=("number"===typeof i?i:1e3)/36e5,p=h/f,v=o.event.addListener(t,"moving",(function(e){var n=e.latLng,i=t.label;i&&i.setPosition(n);var r=t.callout;r&&r.setPosition(n)})),m=o.event.addListener(t,"moveend",(function(e){m.remove(),v.remove(),t.lastPosition=l,t.setPosition(d);var n=t.label;n&&n.setPosition(d);var i=t.callout;i&&i.setPosition(d);var o=r.animationEnd;"function"===typeof o&&o()})),b=0;s&&(t.lastPosition&&(b=o.geometry.spherical.computeHeading(t.lastPosition,l)),c=o.geometry.spherical.computeHeading(l,d)-b),"setRotation"in t&&t.setRotation(u+c),"moveTo"in t?t.moveTo(d,p):(t.setPosition(d),o.event.trigger(t,"moveend",{}))}catch(y){a(null,y)}}));break;case"includePoints":this.fitBounds(r.points);break;case"getRegion":this.mapReady((function(){e.boundsReady((function(){var t=e._map.getBounds(),n=t.getSouthWest(),i=t.getNorthEast();a({southwest:{latitude:v(n),longitude:m(n)},northeast:{latitude:v(i),longitude:m(i)}})})),u["c"]&&(e.isBoundsReady=!0,e.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){a({scale:e._map.getZoom()})}));break}},init:function(){var t=this,e=this._maps,n=g(e,this.center.latitude,this.center.longitude),i=this._map=new e.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),r=e.event.addListener(i,"bounds_changed",(function(e){r.remove(),t.isBoundsReady=!0,t.$emit("boundsready")}));function o(){var t=i.getCenter();return{scale:i.getZoom(),centerLocation:{latitude:v(t),longitude:m(t)}}}e.event.addListener(i,"click",(function(e){t.$trigger("click",{},{})})),e.event.addListener(i,"dragstart",(function(){t.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),e.event.addListener(i,"dragend",(function(){t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},o()))})),e.event.addListener(i,"zoom_changed",(function(){t.$emit("update:scale",i.getZoom()),t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},o()))})),e.event.addListener(i,"center_changed",(function(){var e,n,r=i.getCenter();e=v(r),n=m(r),t.$emit("update:latitude",e),t.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){i.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var t=this,e=this._maps,n=Number(this.latitude),i=Number(this.longitude);n===this.center.latitude&&i===this.center.longitude||(this.center.latitude=n,this.center.longitude=i,this._map&&this.mapReady((function(){var r=g(e,n,i);t._map.setCenter(r)})))},createPolyline:function(){var t=this._maps,e=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(i){var o=[];i.points.forEach((function(e){var n=u["c"]?[e.longitude,e.latitude]:p(t,e.latitude,e.longitude);o.push(n)}));var a=Number(i.borderWidth)||0,s=Object(r["j"])(i.color),c=s.r,l=s.g,d=s.b,h=s.a,f=Object(r["j"])(i.borderColor),g=f.r,v=f.g,m=f.b,b=f.a,y={map:e,clickable:!1,path:o,strokeWeight:(Number(i.width)||0)+a||6,strokeDashStyle:i.dottedLine?"dash":"solid"};u["c"]&&(y.strokeColor=i.strokeColor,y.strokeStyle=i.dottedLine?"dashed":"solid",y.isOutline=!!i.borderWidth,y.borderWeight=i.borderWidth,y.outlineColor=i.borderColor);var _={map:e,clickable:!1,path:o,strokeWeight:i.width||6,strokeDashStyle:i.dottedLine?"dash":"solid"};"Color"in t?(y.strokeColor=new t.Color(c,l,d,h),_.strokeColor=new t.Color(g,v,m,b)):(y.strokeColor="rgb(".concat(c,", ").concat(l,", ").concat(d,")"),y.strokeOpacity=h,_.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(m,")"),_.strokeOpacity=b),a&&n.push(new t.Polyline(_));var w=new t.Polyline(y);u["c"]&&e.add(w),n.push(w)}))},removePolyline:function(){var t=this.polylineSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createCircles:function(){var t=this._maps,e=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(i){var o=u["c"]?[i.longitude,i.latitude]:p(t,i.latitude,i.longitude),a={map:e,center:o,clickable:!1,radius:i.radius,strokeWeight:Number(i.strokeWidth)||1,strokeDashStyle:"solid"};if(u["c"])a.strokeColor=i.color,a.fillColor=i.fillColor||"#000";else{var s=Object(r["j"])(i.fillColor||"#00000000"),c=s.r,l=s.g,d=s.b,h=s.a,f=Object(r["j"])(i.color||"#000000"),g=f.r,v=f.g,m=f.b,b=f.a;"Color"in t?(a.fillColor=new t.Color(c,l,d,h),a.strokeColor=new t.Color(g,v,m,b)):(a.fillColor="rgb(".concat(c,", ").concat(l,", ").concat(d,")"),a.fillOpacity=h,a.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(m,")"),a.strokeOpacity=b)}var y=new t.Circle(a);u["c"]&&e.add(y),n.push(y)}))},removeCircles:function(){var t=this.circlesSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createLocation:function(){var e=this,n=this._maps,i=this._map,r=this._location;r&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(t){if(r===e._location){var o=g(n,t.latitude,t.longitude);if(u["c"]){r=new n.Marker({position:o,map:i,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:u["a"],imageSize:new n.Size(44,44)});r.setIcon(s),i.add(r)}else r=new n.Marker({position:o,map:i,icon:new n.MarkerImage(u["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});e._location=r,a(),e.__onCompassChange=function(t){r.setRotation(t.direction)},uni.onCompassChange(e.__onCompassChange)}},fail:function(e){t.error(e)}});var o=this;function a(){r===o._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(t){var e=o._locationPosition=g(n,t.latitude,t.longitude);r.setPosition(e)},fail:function(e){t.error(e)},complete:function(){a()}})}),3e4)}},removeLocation:function(){var t=this._location;t&&(t.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(t,e){var n=this,i=this._maps;this.boundsReady((function(){var r=n._map;if(u["c"]){var o=[];t.forEach((function(t){o.push([t.longitude,t.latitude])}));var a=l(i.Bounds,o);r.setBounds(a)}else{var s=new i.LatLngBounds;t.forEach((function(t){var e=t.longitude,n=t.latitude,r=p(i,n,e);s.extend(r)})),r.fitBounds(s)}"function"===typeof e&&e()})),u["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},mapReady:function(t){this.isMapReady?t():this.$once("mapready",(function(){t()}))},boundsReady:function(t){this.isBoundsReady?t():this.$once("boundsready",(function(){t()}))},getMarker:function(t){var e=this._markers[t];if(!e)throw new Error("translateMarker: fail cannot find marker with id "+t);return e}}}}).call(this,n("3ad9")["default"])},7572:function(t,e,n){},"764a":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var i=n("f2b3"),r=n("85b6"),o=n("65a8"),a=n("33ed"),s=!!i["r"]&&{passive:!1};function c(e){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),i=e.$parent.$parent,r=i.navigationBar.type,a="default"===r||"float"===r?o["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?o["c"]:n:0,c=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",u=a&&c?"calc(".concat(a,"px + ").concat(c,"(safe-area-inset-top))"):"".concat(a,"px"),l=s&&c?"calc(".concat(s,"px + ").concat(c,"(safe-area-inset-bottom))"):"".concat(s,"px"),d=document.documentElement.style;d.setProperty("--window-top","calc(var(--top-window-height) + ".concat(u,")")),d.setProperty("--window-bottom",l),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-top=").concat(u)),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-bottom=").concat(l))}}function u(t){var e=!1,n=!1;t("onPageLoad",(function(t){c(t)})),t("onPageShow",(function(t){var o=t.$parent.$parent;t._isMounted&&c(t),n&&document.removeEventListener("touchmove",n,s),o.disableScroll&&(n=a["b"],document.addEventListener("touchmove",n,s));var u=Object(r["c"])(t.$options,"onPageScroll"),l=Object(r["c"])(t.$options,"onReachBottom"),d=o.onReachBottomDistance,h=Object(i["l"])(o.titleNView)&&"transparent"===o.titleNView.type||Object(i["l"])(o.navigationBar)&&"transparent"===o.navigationBar.type;e&&document.removeEventListener("scroll",e),(h||u||l)&&(e=Object(a["a"])(t.$page.id,{enablePageScroll:u,enablePageReachBottom:l,onReachBottomDistance:d,enableTransparentTitleNView:h}),requestAnimationFrame((function(){document.addEventListener("scroll",e)})))}))}}).call(this,n("3ad9")["default"])},"77d5":function(t,e,n){},"77e0":function(t,e,n){"use strict";n.r(e),function(t,i){var r=n("a6b0");e["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var e=this,n="",o=function(t){return function(i){n=t,setTimeout((function(){e.showToast=i}),10)}};t.on("onShowToast",o("onShowToast")),t.on("onShowLoading",o("onShowLoading"));var a=function(t){return function(){if(n){var o="";if("onHideToast"===t&&"onShowToast"!==n?o=Object(r["g"])("uni.showToast.unpaired"):"onHideLoading"===t&&"onShowLoading"!==n&&(o=Object(r["g"])("uni.showLoading.unpaired")),o)return i.warn(o);n="",setTimeout((function(){e.showToast.visible=!1}),10)}}};t.on("onHidePopup",a("onHidePopup")),t.on("onHideToast",a("onHideToast")),t.on("onHideLoading",a("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78c8":function(t,e,n){"use strict";n.r(e),n.d(e,"getDeviceInfo",(function(){return f})),n.d(e,"getAppBaseInfo",(function(){return p})),n.d(e,"getSystemInfoSync",(function(){return g})),n.d(e,"getSystemInfo",(function(){return v}));var i,r=n("c6af"),o="__DC_STAT_UUID",a=window.localStorage||window.sessionStorage||{},s=function(){if(i=i||a[o],!i){i=Date.now()+""+Math.floor(1e7*Math.random());try{a[o]=i}catch(t){}}return i},c=n("fb3e"),u=n("f2b3"),l={},d=!0;function h(){d&&(l=Object(c["getBrowserInfo"])())}function f(){h();var t=l,e=t.deviceBrand,n=t.deviceModel,i=t.brand,r=t.model,o=t.platform,a=t.system,c=t.deviceOrientation,u=t.deviceType;return{brand:i,deviceBrand:e,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:c,deviceType:u,model:r,platform:o,system:a}}function p(){h();var t=l,e=t.theme,n=t.language,i=t.browserName,r=t.browserVersion,o=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:o,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:i,hostVersion:r,hostTheme:e,hostLanguage:n,language:n,SDKVersion:"",theme:e,version:""}}function g(){d=!0,h(),d=!1;var t=Object(r["getWindowInfo"])(),e=f(),n=p();d=!0;var i=l,o=i.ua,a=i.browserName,s=i.browserVersion,c=i.osname,g=i.osversion,v=Object.assign({},t,e,n,{browserName:a,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:c.toLocaleLowerCase(),osVersion:g,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:o});return delete v.screenTop,delete v.enableDebug,delete v.theme,Object(u["q"])(v)}function v(){return g()}},"79d5":function(t,e,n){"use strict";function i(t){if(t)return t.$holder;var e=getCurrentPages(),n=e.length;return n?e[n-1].$holder:void 0}function r(t){var e=getCurrentPages(),n=e.length;return!!n&&e[n-1].$holder===t}n.r(e),n.d(e,"getPageHolder",(function(){return i})),n.d(e,"isCurrentPage",(function(){return r}))},"7ac7":function(t,e,n){"use strict";(function(t){var i,r=n("8bbf"),o=n.n(r),a=n("f2b3"),s=n("65a8"),c=["top","left","right"],u=document.documentElement;function l(t,e){i||(i=u.style),i.setProperty(t,e)}function d(t){var e=window.screen,n=[window.outerWidth,window.outerHeight,e.width,e.height,u.clientWidth,u.clientHeight];return Math.max.apply(null,n)>t}e["a"]={name:"Layout",props:{routerKey:{type:String,default:""},keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{marginWidth:0,leftWindowStyle:"",rightWindowStyle:"",topWindowStyle:"",topWindowMediaQuery:!1,leftWindowMediaQuery:!1,rightWindowMediaQuery:!1,topWindowHeight:"0px",apiShowTopWindow:!1,apiShowLeftWindow:!1,apiShowRightWindow:!1,navigationBarTitleText:"",maxWidthMeidaQuery:!1}},computed:{bindWindow:function(){return{matchTopWindow:this.topWindowMediaQuery,showTopWindow:this.showTopWindow||this.apiShowTopWindow,matchLeftWindow:this.leftWindowMediaQuery,showLeftWindow:this.showLeftWindow||this.apiShowLeftWindow,matchRightWindow:this.rightWindowMediaQuery,showRightWindow:this.showRightWindow||this.apiShowRightWindow}},showLayout:function(){return this.showTopWindow||this.showLeftWindow||this.showRightWindow},showTopWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.topWindow&&this.topWindowMediaQuery},showLeftWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.leftWindow&&this.leftWindowMediaQuery},showRightWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.rightWindow&&this.rightWindowMediaQuery}},watch:{$route:function(){this.checkMaxWidth()},showLayout:function(){this.checkLayout()},showTopWindow:function(t,e){t?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")},showLeftWindow:function(t,e){t?this.$nextTick(this.onLeftWindowInit):l("--window-left","0px")},showRightWindow:function(t,e){t?this.$nextTick(this.onRightWindowInit):l("--window-right","0px")},marginWidth:function(t){l("--window-margin",t+"px")}},beforeCreate:function(){l("--top-window-height","0px"),l("--window-left","0px"),l("--window-right","0px"),l("--window-margin","0px")},created:function(){var e=this;this.topWindow=o.a.component("VUniTopWindow"),this.leftWindow=o.a.component("VUniLeftWindow"),this.rightWindow=o.a.component("VUniRightWindow"),(this.topWindow||this.leftWindow||this.rightWindow)&&uni.canIUse("css.var")&&window.matchMedia&&(c.forEach((function(t){return e.initWindowMinWidth(t)})),this.responsive=d(this.minWidth),this.responsive&&(this.topWindow&&this.topWindow.options.style&&(this.topWindowStyle=this.topWindow.options.style),this.leftWindow&&this.leftWindow.options.style&&(this.leftWindowStyle=this.leftWindow.options.style),this.rightWindow&&this.rightWindow.options.style&&(this.rightWindowStyle=this.rightWindow.options.style),c.forEach((function(t){return e.initMediaQuery(t)})),t.on("onNavigationBarChange",(function(t){e.navigationBarTitleText=t.titleText})))),this.initMaxWidth()},mounted:function(){this.checkLayout(),this.checkMaxWidth()},methods:{resetApiShowWindow:function(){this.apiShowLeftWindow=!1,this.apiShowRightWindow=!1},showWindow:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this[t+"Window"])return t+"Window not found";var n=Object(a["c"])(t);if(!this["show"+n+"Window"]){var i="apiShow"+n+"Window";this[i]!==e&&(this[i]=e,"top"===t&&(e?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")))}},getWindowStyle:function(t){if(!this[t+"Window"])return t+"Window not found";var e=Object.assign({},this[t+"WindowStyle"]);return e},setWindowStyle:function(t,e){if(!this[t+"Window"])return t+"Window not found";e&&(this[t+"WindowStyle"]=e,this.$nextTick(this["on"+Object(a["c"])(t)+"WindowInit"]))},initMaxWidth:function(){var t=this;window.addEventListener("resize",(function(){t.checkMaxWidth()}))},checkLayout:function(){this.$emit("layout",this.showLayout)},checkMaxWidth:function(){var t=this,e=document.body.clientWidth,n=parseInt(this.$route.meta.maxWidth),i=!1;i=e>n,this.$emit("maxWidth",i),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(i&&n?(this.marginWidth=(e-n)/2,this.$nextTick((function(){t.onLeftWindowInit(),t.onRightWindowInit(),t.$containerElem.setAttribute("style","max-width:"+n+"px;margin:0 auto;")}))):(this.marginWidth=0,this.$nextTick((function(){t.onLeftWindowInit(),t.onRightWindowInit(),t.$containerElem.removeAttribute("style")}))))},initWindowMinWidth:function(t){var e=t+"Window";if(this[e]){var n=t+"WindowMinWidth";this[n]=s["b"];var i=__uniConfig[e];i&&i.matchMedia&&Object(a["i"])(i.matchMedia,"minWidth")&&(this[n]=i.matchMedia.minWidth),("undefined"===typeof this.minWidth||this.minWidth>this[n])&&(this.minWidth=this[n])}},initMediaQuery:function(t){var e=this;if(this[t+"Window"]){var n=t+"WindowMediaQuery",i=window.matchMedia("(min-width: "+this[t+"WindowMinWidth"]+"px)");i.addListener((function(i){e[n]=i.matches,e.$nextTick((function(){e["on"+Object(a["c"])(t)+"WindowInit"]()}))})),this[n]=i.matches}},onTopWindowInit:function(){if(this.responsive&&this.topWindow){var t="0px";t=this.topWindowStyle&&this.topWindowStyle.height?this.$refs.topWindow.offsetHeight+"px":this.$refs.top.$el.offsetHeight+"px",this.topWindowHeight=t,l("--top-window-height",t)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?l("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):l("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):l("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?l("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):l("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):l("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(t,e,n){"use strict";function i(){var t=document.getElementById("#clipboard"),e=t?t.value:void 0;return e?{data:e,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function r(t){var e=t.data,n=document.getElementById("#clipboard");n&&n.remove();var i=document.createElement("textarea");i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);var r=document.execCommand("Copy",!1,null);return i.blur(),r?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(e),n.d(e,"getClipboardData",(function(){return i})),n.d(e,"setClipboardData",(function(){return r}))},"7bb3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":t.checkboxChecked,"uni-checkbox-input-disabled":t.disabled},style:{color:t.color}}),t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["f"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){"use strict";var i=n("2c45"),r=n.n(i);r.a},"7d18":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"uploadFile",(function(){return u}));var i=n("e2e2");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e,n){r(this,t),s(this,"_xhr",void 0),s(this,"_isAbort",void 0),s(this,"_callbacks",[]),this._xhr=e,this._callbackId=n}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var r=e.url,o=e.file,a=e.filePath,s=e.name,u=e.files,l=e.header,d=e.formData,h=e.timeout,f=void 0===h?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:h,p=t,g=p.invokeCallbackHandler,v=new c(null,n);function m(t){var e,i=new XMLHttpRequest,o=new FormData;Object.keys(d).forEach((function(t){o.append(t,d[t])})),Object.values(u).forEach((function(e,n){var i=e.name,r=t[n];o.append(i||"file",r,r.name||"file-".concat(Date.now()))})),i.open("POST",r),Object.keys(l).forEach((function(t){i.setRequestHeader(t,l[t])})),i.upload.onprogress=function(t){v._callbacks.forEach((function(e){var n=t.loaded,i=t.total,r=Math.round(n/i*100);e({progress:r,totalBytesSent:n,totalBytesExpectedToSend:i})}))},i.onerror=function(){clearTimeout(e),g(n,{errMsg:"uploadFile:fail"})},i.onabort=function(){clearTimeout(e),g(n,{errMsg:"uploadFile:fail abort"})},i.onload=function(){clearTimeout(e);var t=i.status;g(n,{errMsg:"uploadFile:ok",statusCode:t,data:i.responseText||i.response})},v._isAbort?g(n,{errMsg:"uploadFile:fail abort"}):(e=setTimeout((function(){i.upload.onprogress=i.onload=i.onabort=i.onerror=null,v.abort(),g(n,{errMsg:"uploadFile:fail timeout"})}),f),i.send(o),v._xhr=i)}return Array.isArray(u)&&u.length||(u=[{name:s,file:o,uri:a}]),Promise.all(u.map((function(t){var e=t.file,n=t.uri;return e instanceof Blob?Promise.resolve(Object(i["a"])(e)):Object(i["f"])(n)}))).then(m).catch((function(){setTimeout((function(){g(n,{errMsg:"uploadFile:fail file error"})}),0)})),v}}.call(this,n("0dd1"))},"7df2":function(t,e,n){},"7e6a":function(t,e,n){"use strict";var i=n("515d"),r=n.n(i);r.a},"7f4e":function(t,e,n){"use strict";function i(t){var e=t.phoneNumber;return window.location.href="tel:".concat(e),{errMsg:"makePhoneCall:ok"}}n.r(e),n.d(e,"makePhoneCall",(function(){return i}))},"80e5":function(t){t.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(t,e,n){"use strict";n.r(e),n.d(e,"connectSocket",(function(){return h})),n.d(e,"sendSocketMessage",(function(){return f})),n.d(e,"closeSocket",(function(){return p})),n.d(e,"onSocketOpen",(function(){return g})),n.d(e,"onSocketError",(function(){return v})),n.d(e,"onSocketMessage",(function(){return m})),n.d(e,"onSocketClose",(function(){return b}));var i=n("a118"),r=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e){o(this,t),this.id=e,this._callbacks={open:[],close:[],error:[],message:[]},this.CLOSED=3,this.CLOSING=2,this.CONNECTING=0,this.OPEN=1,this.readyState=this.CLOSED}return s(t,[{key:"send",value:function(t){this.readyState!==this.OPEN&&this._callback(t,"sendSocketMessage:fail WebSocket is not connected");var e=Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","sendSocketMessage"))}},{key:"close",value:function(t){this.readyState=this.CLOSING;var e=Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","closeSocket"))}},{key:"onOpen",value:function(t){this._callbacks.open.push(t)}},{key:"onClose",value:function(t){this._callbacks.close.push(t)}},{key:"onError",value:function(t){this._callbacks.error.push(t)}},{key:"onMessage",value:function(t){this._callbacks.message.push(t)}},{key:"_callback",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.success,n=t.fail,i=t.complete,r=arguments.length>1?arguments[1]:void 0,o={errMsg:r};/:ok$/.test(r)?"function"===typeof e&&e(o):"function"===typeof n&&n(o),"function"===typeof i&&i(o)}}]),t}(),u=Object.create(null),l=[],d=Object.create(null);function h(t,e){var n=Object(r["c"])("createSocketTask",t),o=n.socketTaskId,a=new c(o);return u[o]=a,l.push(a),setTimeout((function(){Object(i["a"])(e,{errMsg:"connectSocket:ok"})}),0),a}function f(t,e){var n=l[0];if(n&&n.readyState===n.OPEN)return Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:n.id}));Object(i["a"])(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(t,e){var n=l[0];if(n)return n.readyState=n.CLOSING,Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:n.id}));Object(i["a"])(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function g(t){d.open=t}function v(t){d.error=t}function m(t){d.message=t}function b(t){d.close=t}Object(r["d"])("onSocketTaskStateChange",(function(t){var e=t.socketTaskId,n=t.state,r=t.data,o=(t.errMsg,u[e]);if(o){if("open"===n&&(o.readyState=o.OPEN),o===l[0]&&d[n]&&Object(i["a"])(d[n],"message"===n?{data:r}:{}),"error"===n||"close"===n){o.readyState=o.CLOSED,delete u[e];var a=l.indexOf(o);a>=0&&l.splice(a,1)}o._callbacks[n].forEach((function(t){"function"===typeof t&&t("message"===n?{data:r}:{})}))}}))},8188:function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("18fd"),o=n("b253"),a=n("93ab");function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(){var t=navigator.userAgent,e=/iphone|ipad|ipod/i.test(t),n=/Macintosh|Mac/i.test(t),i=n&&navigator.maxTouchPoints>0;return e||i}e["a"]={name:"Editor",mixins:[i["g"],i["a"],i["e"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.setPlaceHolder(t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize");var n="https://unpkg.com/quill@1.3.7/dist/quill.min.js";Object(a["a"])(window.Quill,n,(function(){if(e.length){var n="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Object(a["a"])(window.ImageResize,n,(function(){t.initQuill(e)}))}else t.initQuill(e)}))},methods:{_textChangeHandler:function(){this.$trigger("input",{},this.getContents())},_handleSubscribe:function(e){var n,i,r,o=this,a=e.type,c=e.data,u=c.options,l=c.callbackId,d=this.quill,h=window.Quill;if(this.quillReady){switch(a){case"format":var f=u.name,p=void 0===f?"":f,g=u.value,v=void 0!==g&&g;i=d.getSelection(!0);var m=d.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))v=!m;else if("direction"===p){v=("rtl"!==v||!m)&&v;var b=d.getFormat(i).align;"rtl"!==v||b?v||"right"!==b||d.format("align",!1,h.sources.USER):d.format("align","right",h.sources.USER)}else if("indent"===p){var y="rtl"===d.getFormat(i).direction;v="+1"===v,y&&(v=!v),v=v?"+1":"-1"}else"list"===p&&(v="check"===v?"unchecked":v,m="checked"===m?"unchecked":m),v=m&&m!==(v||!1)||!m&&v?v:!m;d.format(p,v,h.sources.USER);break;case"insertDivider":i=d.getSelection(!0),d.insertText(i.index,"\n",h.sources.USER),d.insertEmbed(i.index+1,"divider",!0,h.sources.USER),d.setSelection(i.index+2,h.sources.SILENT);break;case"insertImage":i=d.getSelection(!0);var _=u.src,w=void 0===_?"":_,k=u.alt,S=void 0===k?"":k,x=u.width,C=void 0===x?"":x,T=u.height,O=void 0===T?"":T,A=u.extClass,E=void 0===A?"":A,M=u.data,j=void 0===M?{}:M,I=this.$getRealPath(w);d.insertEmbed(i.index,"image",I,h.sources.SILENT);var P=!!/^(file|blob):/.test(I)&&I;d.formatText(i.index,1,"data-local",P,h.sources.SILENT),d.formatText(i.index,1,"alt",S,h.sources.SILENT),d.formatText(i.index,1,"width",C,h.sources.SILENT),d.formatText(i.index,1,"height",O,h.sources.SILENT),d.formatText(i.index,1,"class",E,h.sources.SILENT),d.formatText(i.index,1,"data-custom",Object.keys(j).map((function(t){return"".concat(t,"=").concat(j[t])})).join("&"),h.sources.SILENT),d.setSelection(i.index+1,h.sources.SILENT),d.scrollIntoView(),setTimeout((function(){o._textChangeHandler()}),1e3);break;case"insertText":i=d.getSelection(!0);var $=u.text,L=void 0===$?"":$;d.insertText(i.index,L,h.sources.USER),d.setSelection(i.index+L.length,0,h.sources.SILENT);break;case"setContents":var N=u.delta,D=u.html;"object"===s(N)?d.setContents(N,h.sources.SILENT):"string"===typeof D?d.setContents(this.html2delta(D),h.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":d.setContents([]);break;case"removeFormat":i=d.getSelection(!0);var B=h.import("parchment");i.length?d.removeFormat(i,h.sources.USER):Object.keys(d.getFormat(i)).forEach((function(t){B.query(t,B.Scope.INLINE)&&d.format(t,!1)}));break;case"undo":d.history.undo();break;case"redo":d.history.redo();break;case"blur":d.blur();break;case"getSelectionText":i=d.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=d.getText(i.index,i.length));break;case"scrollIntoView":d.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";l&&t.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(r?"fail "+r:"ok")})},this.$page.id)},setPlaceHolder:function(t){var e="data-placeholder",n=this.quill.root;n.getAttribute(e)!==t&&n.setAttribute(e,t)},initQuill:function(t){var e=this,n=window.Quill;o["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:t});var r=this.quill=new n(this.$el,i),a=r.root,s=["focus","blur","input"];s.forEach((function(t){a.addEventListener(t,(function(n){var i=e.getContents();if("input"===t){if(c()){var r=(i.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1],o=r&&r.replace(/\s/g,"")?"":e.placeholder;e.setPlaceHolder(o)}n.stopPropagation()}else e.$trigger(t,n,i)}))})),r.on(n.events.TEXT_CHANGE,this._textChangeHandler),r.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),r.on(n.events.SCROLL_OPTIMIZE,(function(){var t=r.selection.getRange()[0];e.updateStatus(t)})),r.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,n){return e.skipMatcher||(n.ops=n.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))),n})),this.initKeyboard(a),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root.innerHTML,n=t.getText(),i=t.getContents();return{html:e,text:n,delta:i}},html2delta:function(t){var e,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],i="";Object(r["a"])(t,{start:function(t,r,o){if(n.includes(t)){e=!1;var a=r.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(a," ").concat(o?"/":"",">");i+=s}else e=!o},end:function(t){e||(i+="</".concat(t,">"))},chars:function(t){e||(i+=t)}}),this.skipMatcher=!0;var o=this.quill.clipboard.convert(i);return this.skipMatcher=!1,o},updateStatus:function(t){var e=this,n=t?this.quill.getFormat(t):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.find((function(t){return n[t]!==e.__status[t]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"81ea":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-tabbar",{class:["uni-tabbar-"+t.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:t.tabbarBackgroundColor,"backdrop-filter":"none"!==t.blurEffect?"blur(10px)":t.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:t.borderColor}}),t._l(t.visibleList,(function(e,i){return n("div",{key:e.isMidButton?i:e.pagePath,staticClass:"uni-tabbar__item",style:e.isMidButton?{flex:"0 0 "+e.width,position:"relative"}:{},on:{click:function(n){return t._switchTab(e,i)}}},[e.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:t._uniTabbarBdStyle(e)},[e.iconPath?n("img",{style:{width:e.iconWidth,height:e.iconWidth},attrs:{src:t._getRealPath(e.iconPath)}}):t._e()]):t._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:t.height}},[t.getIconPath(e,i)||e.iconfont||e.iconPath||e.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text},style:{width:t.iconWidth,height:t.iconWidth}},[e.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:t.selectedIndex===i?e.iconfont.selectedColor:e.iconfont.color,fontSize:e.iconfont.fontSize||t.iconWidth}},[t._v(" "+t._s(t.selectedIndex===i?e.iconfont.selectedText:e.iconfont.text)+" ")]):e.isMidButton?t._e():n("img",{attrs:{src:t._getRealPath(t.getIconPath(e,i))}})]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.selectedIndex===i?t.selectedColor:t.color,fontSize:t.fontSize,lineHeight:e.iconPath?"normal":1.8,marginTop:e.iconPath?t.spacing:"inherit"}},[t._v(" "+t._s(e.text)+" ")]):t._e(),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(" "+t._s(e.badge)+" ")]):t._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:t.height}})])},r=[],o=n("a919"),a=o["a"],s=(n("f4e0"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null),u=c.exports,l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.responsive?n("uni-layout",{class:{"uni-app--showlayout":t.showLayout,"uni-app--showtopwindow":t.showTopWindow,"uni-app--showleftwindow":t.showLeftWindow,"uni-app--showrightwindow":t.showRightWindow}},[t.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:t.showTopWindow||t.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:t.topWindowStyle},[n("v-uni-top-window",t._b({ref:"top",attrs:{"navigation-bar-title-text":t.navigationBarTitleText},on:{"hook:mounted":t.onTopWindowInit}},"v-uni-top-window",t.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:t.topWindowHeight}})]):t._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)],1),t.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:t.showLeftWindow||t.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:t.leftWindowStyle,attrs:{"data-show":t.apiShowLeftWindow}},[t.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowLeftWindow=!1}}}):t._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",t._b({ref:"left",on:{"hook:mounted":t.onLeftWindowInit}},"v-uni-left-window",t.bindWindow,!1))],1)]):t._e(),t.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:t.showRightWindow||t.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:t.rightWindowStyle,attrs:{"data-show":t.apiShowRightWindow}},[t.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowRightWindow=!1}}}):t._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",t._b({ref:"right",on:{"hook:mounted":t.onRightWindowInit}},"v-uni-right-window",t.bindWindow,!1))],1)]):t._e()],1)],1):n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)},d=[],h=n("7ac7"),f=h["a"],p=(n("639e"),Object(s["a"])(f,l,d,!1,null,null,null)),g=p.exports,v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[t.visible?n("uni-toast",{attrs:{"data-duration":t.duration}},[t.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(t){t.preventDefault()}}}):t._e(),t.image||t.iconClass?n("div",{staticClass:"uni-toast"},[t.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:t.image}}):n("i",{staticClass:"uni-icon_toast",class:t.iconClass}),n("p",{staticClass:"uni-toast__content"},[t._v(" "+t._s(t.title)+" ")])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[t._v(" "+t._s(t.title)+" ")])])]):t._e()],1)},m=[],b=n("5222"),y=b["a"],_=(n("ff28"),Object(s["a"])(y,v,m,!1,null,null,null)),w=_.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[t.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title",domProps:{textContent:t._s(t.title)}})]):t._e(),t.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:t.placeholderText},domProps:{value:t.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:t._s(t.content)},on:{touchmove:function(t){t.stopPropagation()}}}),n("div",{staticClass:"uni-modal__ft"},[t.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:t.cancelColor},on:{click:function(e){return t._close("cancel")}}},[t._v(" "+t._s(t.cancelText)+" ")]):t._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:t.confirmColor},on:{click:function(e){return t._close("confirm")}}},[t._v(" "+t._s(t.confirmText)+" ")])])]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close("cancel")},enter:function(e){!t.editable&&t._close("confirm")}}})],1)],1)},S=[],x=n("5a56"),C=n("da71");function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O={name:"Modal",components:{keypress:C["a"]},mixins:[x["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},methods:{_close:function(t){var e=T({},t,!0);this.editable&&"confirm"===t&&(e.content=this.$refs.editContent.value),this.$emit("close",e)}}},A=O,E=(n("2765"),Object(s["a"])(A,k,S,!1,null,null,null)),M=E.exports,j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-actionsheet",{on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask uni-actionsheet__mask",on:{click:function(e){return t._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":t.visible},style:t.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:t._handleWheel}},[t.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:t.titleHeight+"px"}}):t._e(),t.title?n("div",{staticClass:"uni-actionsheet__title"},[t._v(" "+t._s(t.title)+" ")]):t._e(),n("div",{style:{maxHeight:t.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},t._l(t.itemList,(function(e,i){return n("div",{key:i,staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(i)}}},[t._v(" "+t._s(e)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(-1)}}},[t._v(" "+t._s(t.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:t.popupStyle.triangle})]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close(-1)}}})],1)},I=[],P=n("4ccd"),$=n("a6b0"),L=n("ba15"),N=n("8aec"),D=n("5363"),B=n("72b3"),R=n("d4cd");function z(t){var e=20,n=0,i=0;t.addEventListener("touchstart",(function(t){var e=t.changedTouches[0];n=e.clientX,i=e.clientY})),t.addEventListener("touchend",(function(t){var r=t.changedTouches[0];if(Math.abs(r.clientX-n)<e&&Math.abs(r.clientY-i)<e){var o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(t){o[t]=r[t]})),t.target.dispatchEvent(o)}}))}var W={name:"ActionSheet",components:{keypress:C["a"]},mixins:[$["c"],P["default"],L["a"],N["a"]],props:{title:{type:String,default:""},itemList:{type:Array,default:function(){return[]}},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},data:function(){return{HEIGHT:260,contentHeight:0,titleHeight:0,deltaY:0,scrollTop:0}},watch:{visible:function(t){var e=this;t&&this.$nextTick((function(){e.title&&(e.titleHeight=document.querySelector(".uni-actionsheet__title").offsetHeight),e._scroller.update(),e.contentHeight=e.$refs.content.clientHeight-e.HEIGHT,document.querySelectorAll(".uni-actionsheet__cell").forEach((function(t){z(t)}))}))}},mounted:function(){var t=this;this.touchtrack(this.$refs.content,"_handleTrack",!0),this.$nextTick((function(){t.initScroller(t.$refs.content,{enableY:!0,friction:new D["a"](1e-4),spring:new B["a"](2,90,20),onScroll:function(e){t.scrollTop=e.target.scrollTop}})})),Object(R["b"])()},methods:{_close:function(t){this.$emit("close",t)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(R["a"])({disable:!0});break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t),Object(R["a"])({disable:!1})}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;Math.abs(e)>10?(this.scrollTop+=e/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=e,t.preventDefault()}}},F=W,q=(n("4fef"),Object(s["a"])(F,j,I,!1,null,null,null)),H=q.exports,V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("div",{staticClass:"uni-system-preview-image",on:{click:t._click}},[n("v-uni-swiper",{staticClass:"uni-system-preview-image-swiper",attrs:{navigation:"auto",current:t.index,"indicator-dots":!1,autoplay:!1},on:{"update:current":function(e){t.index=e}}},t._l(t.urls,(function(t,e){return n("v-uni-swiper-item",{key:e},[n("image-view",{attrs:{src:t}})],1)})),1),t._m(0)],1):t._e()},U=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav-btn-back"},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])}],Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-movable-area",{staticClass:"image-view-area",nativeOn:{touchstart:function(e){return t.onTouchStart(e)},touchmove:function(e){return t.checkDirection(e)},touchend:function(e){return t.onTouchEnd(e)}}},[n("v-uni-movable-view",{staticClass:"image-view-view",attrs:{direction:t.direction,inertia:"",scale:"","scale-min":"1","scale-max":"4"},on:{scale:t.onScale}},[n("img",{staticClass:"image-view-img",attrs:{src:t.src},on:{load:t.onImgLoad}})])],1)},X=[],G={name:"ImageView",props:{src:{type:String,default:""}},data:function(){return{direction:"none"}},created:function(){this.scale=1,this.imgWidth=0,this.imgHeight=0,this.width=0,this.height=0},methods:{onScale:function(t){var e=t.detail.scale;this.scale=e},onImgLoad:function(t){var e=t.target,n=e.getBoundingClientRect();this.imgWidth=n.width,this.imgHeight=n.height},onTouchStart:function(t){var e=this.$el,n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.checkDirection(t)},onTouchEnd:function(t){var e=this.scale,n=e*this.imgWidth>this.width,i=e*this.imgHeight>this.height;this.direction=n&&i?"all":n?"horizontal":i?"vertical":"none",this.checkDirection(t)},checkDirection:function(t){var e=this.direction;"all"!==e&&"horizontal"!==e||t.stopPropagation()}}},Q=G,K=(n("11d0"),Object(s["a"])(Q,Y,X,!1,null,null,null)),J=K.exports,Z={name:"PreviewImage",components:{imageView:J},props:{visible:{type:Boolean,default:!1},urls:{type:Array,default:function(){return[]}},current:{type:[String,Number],default:0}},data:function(){return{index:0}},watch:{visible:function(t){if(t){var e="number"===typeof this.current?this.current:this.urls.indexOf(this.current);this.index=e<0?0:e}}},mounted:function(){var t=this,e=20,n=0,i=0;this.$el.addEventListener("mousedown",(function(e){t.preventDefault=!1,n=e.clientX,i=e.clientY})),this.$el.addEventListener("mouseup",(function(r){(Math.abs(r.clientX-n)>e||Math.abs(r.clientY-i)>e)&&(t.preventDefault=!0)}))},methods:{_click:function(){this.preventDefault||this.$emit("close")}}},tt=Z,et=(n("8ed9"),Object(s["a"])(tt,V,U,!1,null,null,null)),nt=et.exports,it={Toast:w,Modal:M,ActionSheet:H,PreviewImage:nt};function rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(n),!0).forEach((function(e){at(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function at(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e["a"]=ot({TabBar:u,Layout:g},it)},"82b9":function(t,e,n){"use strict";function i(t){return function(e,n){e&&(n[t]=Math.round(e))}}n.r(e),n.d(e,"canvasGetImageData",(function(){return r})),n.d(e,"canvasPutImageData",(function(){return o})),n.d(e,"canvasToTempFilePath",(function(){return s})),n.d(e,"drawCanvas",(function(){return c}));var r={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:i("x")},y:{type:Number,required:!0,validator:i("y")},width:{type:Number,required:!0,validator:i("width")},height:{type:Number,required:!0,validator:i("height")}},o={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:i("x")},y:{type:Number,required:!0,validator:i("y")},width:{type:Number,required:!0,validator:i("width")},height:{type:Number,validator:i("height")}},a={PNG:"png",JPG:"jpg",JPEG:"jpg"},s={x:{type:Number,default:0,validator:i("x")},y:{type:Number,default:0,validator:i("y")},width:{type:Number,validator:i("width")},height:{type:Number,validator:i("height")},destWidth:{type:Number,validator:i("destWidth")},destHeight:{type:Number,validator:i("destHeight")},canvasId:{type:String,required:!0},fileType:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.fileType=t in a?a[t]:a.PNG}},quality:{type:Number,validator:function(t,e){e.quality=t>0&&t<1?t:1}}},c={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(t,e,n){"use strict";n.r(e),n.d(e,"request",(function(){return h}));var i=n("f2b3"),r=n("a118"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object.create(null);function l(t,e){if("string"===typeof t.data&&65279===t.data.charCodeAt(0)&&(t.data=t.data.substr(1)),t.statusCode=parseInt(t.statusCode,10),Object(i["l"])(t.header)&&(t.header=Object.keys(t.header).reduce((function(e,n){var i=t.header[n];return Array.isArray(i)?e[n]=i.join(","):"string"===typeof i&&(e[n]=i),e}),{})),e.dataType&&"json"===e.dataType.toLowerCase())try{t.data=JSON.parse(t.data)}catch(n){}return t}Object(o["d"])("onRequestTaskStateChange",(function(t){var e=t.requestTaskId,n=t.state,i=t.data,o=t.statusCode,a=t.header,s=t.errMsg,c=t.cookies,d=u[e]||{},h=d.args,f=d.callbackId;if(f)switch(delete u[e],n){case"success":Object(r["a"])(f,l({data:i,statusCode:o,header:a,errMsg:"request:ok",cookies:c},h));break;case"fail":Object(r["a"])(f,{errMsg:"request:fail "+s});break}}));var d=function(){function t(e){a(this,t),this.id=e}return c(t,[{key:"abort",value:function(){Object(o["c"])("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}},{key:"offHeadersReceived",value:function(){}},{key:"onHeadersReceived",value:function(){}}]),t}();function h(t,e){var n;for(var r in t.header)if("content-type"===r.toLowerCase()){n=t.header[r];break}"GET"!==t.method&&0===n.indexOf("application/json")&&Object(i["l"])(t.data)&&(t.data=JSON.stringify(t.data));var a=Object(o["c"])("createRequestTask",t),s=a.requestTaskId;return u[s]={args:t,callbackId:e},new d(s)}},8390:function(t,e){(function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),i=0;i<t.length;i++)n[t.charCodeAt(i)]=i;e.encode=function(e){var n,i=new Uint8Array(e),r=i.length,o="";for(n=0;n<r;n+=3)o+=t[i[n]>>2],o+=t[(3&i[n])<<4|i[n+1]>>4],o+=t[(15&i[n+1])<<2|i[n+2]>>6],o+=t[63&i[n+2]];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,i,r,o,a,s=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),d=new Uint8Array(l);for(e=0;e<c;e+=4)i=n[t.charCodeAt(e)],r=n[t.charCodeAt(e+1)],o=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],d[u++]=i<<2|r>>4,d[u++]=(15&r)<<4|o>>2,d[u++]=(3&o)<<6|63&a;return l}})()},"83a6":function(t,e,n){"use strict";e["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(t){t.touches.length>1||this._handleHoverStart(t)},_hoverMousedown:function(t){this._hoverTouch||(this._handleHoverStart(t),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(t){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),t.hoverStayTime)}))},_hoverTouchCancel:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(t,e,n){"use strict";n.r(e),function(t){function i(e){var n=getCurrentPages();return n.length&&t.publishHandler("pageScrollTo",e,n[n.length-1].$page.id),{}}n.d(e,"pageScrollTo",(function(){return i}))}.call(this,n("0dd1"))},8519:function(t,e,n){},8542:function(t,e,n){"use strict";n.d(e,"a",(function(){return y})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return C})),n.d(e,"b",(function(){return O})),n.d(e,"c",(function(){return A}));var i=n("f2b3");function r(t){return c(t)||s(t)||a(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function c(t){if(Array.isArray(t))return u(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}var d=["invoke","success","fail","complete","returnValue"],h={},f={};function p(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?g(n):n}function g(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function v(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function m(t,e){Object.keys(e).forEach((function(n){-1!==d.indexOf(n)&&Object(i["k"])(e[n])&&(t[n]=p(t[n],e[n]))}))}function b(t,e){t&&e&&Object.keys(e).forEach((function(n){-1!==d.indexOf(n)&&Object(i["k"])(e[n])&&v(t[n],e[n])}))}function y(t,e){"string"===typeof t&&Object(i["l"])(e)?m(f[t]||(f[t]={}),e):Object(i["l"])(t)&&m(h,t)}function _(t,e){"string"===typeof t?Object(i["l"])(e)?b(f[t],e):delete f[t]:Object(i["l"])(t)&&b(h,t)}function w(t){return function(e){return t(e)||e}}function k(t){return!!t&&("object"===l(t)||"function"===typeof t)&&"function"===typeof t.then}function S(t,e){for(var n=!1,i=0;i<t.length;i++){var r=t[i];if(n)n=Promise.resolve(w(r));else{var o=r(e);if(k(o)&&(n=Promise.resolve(o)),!1===o)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var r=e[n];e[n]=function(e){S(t[n],e).then((function(t){return Object(i["k"])(r)&&r(t)||t}))}}})),e}function C(t,e){var n=[];Array.isArray(h.returnValue)&&n.push.apply(n,r(h.returnValue));var i=f[t];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,r(i.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function T(t){var e=Object.create(null);Object.keys(h).forEach((function(t){"returnValue"!==t&&(e[t]=h[t].slice())}));var n=f[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function O(t,e,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];var a=T(t);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=S(a.invoke,n);return s.then((function(t){return e.apply(void 0,[x(a,t)].concat(r))}))}return e.apply(void 0,[x(a,n)].concat(r))}return e.apply(void 0,[n].concat(r))}var A={returnValue:function(t){return k(t)?new Promise((function(e,n){t.then((function(t){t[0]?n(t[0]):e(t[1])}))})):t}}},"854d":function(t,e,n){"use strict";var i=n("2883"),r=n.n(i);r.a},"856e":function(t,e,n){"use strict";var i=n("01d0"),r=n.n(i);r.a},"85b6":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"a",(function(){return l}));var i=n("f2b3"),r=["SystemAsyncLoading","SystemAsyncError"];function o(t){return!(!t.$parent||"PageBody"!==t.$parent.$options.name)&&-1===r.indexOf(t.$options.name)}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),n=Object.keys(e),i=n.length;if(i)for(var r=0;r<i;r++){var o=n[r],a=o.length;"v"!==o.substr(0,1)||9!==a&&10!==a||delete e[o]}return e}function c(t){var e={},n=t.__vue__;function r(t,n){var r=t.$attrs;for(var o in r)if(o.startsWith("data-")){var a=Object(i["b"])(o.substr(5).toLowerCase()),s=r[o];e[a]=n?s:e[a]||s}}if(n){var o=n;while(o&&o.$el===t)r(o),o=o.$children[0];var a=n.$parent;while(a&&a.$el===t)r(a,!0),a=a.$parent}else e=Object.assign({},t.dataset,t.__uniDataset);return s(e)}function u(t){return t+="",-1!==t.indexOf("upx")?uni.upx2px(parseInt(t)||0):parseInt(t)||0}function l(t){var e=getCurrentPages(),n=e.length;while(n--){var i=e[n];if(i.$page&&i.$page.fullPath===t)return n}return-1}},8793:function(t,e,n){var i={"./action-sheet.js":"626d","./index.js":"f1ea","./modal.js":"ee4f","./popup.js":"4ccd","./preview-image.js":"1b3d","./toast.js":"77e0","./transition.js":"5a56"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="8793"},8842:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-movable-view",t._g({},t.$listeners),[n("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},r=[],o=n("ba15");function a(t,e,n){return t>e-n&&t<e+n}function s(t,e){return a(t,0,e)}function c(){}function u(t,e){this._m=t,this._f=1e3*e,this._startTime=0,this._v=0}function l(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function d(t,e,n){this._springX=new l(t,e,n),this._springY=new l(t,e,n),this._springScale=new l(t,e,n),this._startTime=0}c.prototype.x=function(t){return Math.sqrt(t)},u.prototype.setV=function(t,e){var n=Math.pow(Math.pow(t,2)+Math.pow(e,2),.5);this._x_v=t,this._y_v=e,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(t/this._x_a)||Math.abs(e/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},u.prototype.setS=function(t,e){this._x_s=t,this._y_s=e},u.prototype.s=function(t){void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t,this._lastDt=t);var e=this._x_v*t+.5*this._x_a*Math.pow(t,2)+this._x_s,n=this._y_v*t+.5*this._y_a*Math.pow(t,2)+this._y_s;return(this._x_a>0&&e<this._endPositionX||this._x_a<0&&e>this._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,i=this._m,r=this._k,o=n*n-4*i*r;if(0===o){var a=-n/(2*i),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*i),l=(-n+Math.sqrt(o))/(2*i),d=(e-u*t)/(l-u),h=t-d;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+d*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+d*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=t,v=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+v*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(v*f*n-g*f*i)+p*e*(v*i+g*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var i=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(i,.1)&&(i=0),i+=this._endPosition),this._solution&&s(i-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},d.prototype.setEnd=function(t,e,n,i){var r=(new Date).getTime();this._springX.setEnd(t,i,r),this._springY.setEnd(e,i,r),this._springScale.setEnd(n,i,r),this._startTime=r},d.prototype.x=function(){var t=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(t),y:this._springY.x(t),scale:this._springScale.x(t)}},d.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},d.prototype.reconfigure=function(t,e,n){this._springX.reconfigure(t,e,n),this._springY.reconfigure(t,e,n),this._springScale.reconfigure(t,e,n)};var h=n("d4cd"),f=!1;function p(t){f||(f=!0,requestAnimationFrame((function(){t(),f=!1})))}function g(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=g(t.offsetParent,e):0}function v(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=v(t.offsetParent,e):0}function m(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function b(t,e,n){var i=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},r={id:0,cancelled:!1};function o(e,n,i,r){if(!e||!e.cancelled){i(n);var a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,n,i,r))),a&&r&&r(n)}}return o(r,t,e,n),{cancel:i.bind(null,r),model:t}}var y={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},disabled:function(){this.__handleTouchStart()},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new d(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center",Object(h["b"])()},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(h["a"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,i=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dx/t.detail.dy)<1)),this.yMove&&(i=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dy/t.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var r="touch";n<this.minX?this.outOfBounds?(r="touch-out-of-bounds",n=this.minX-this._declineX.x(this.minX-n)):n=this.minX:n>this.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),i<this.minY?this.outOfBounds?(r="touch-out-of-bounds",i=this.minY-this._declineY.x(this.minY-i)):i=this.minY:i>this.maxY&&(this.outOfBounds?(r="touch-out-of-bounds",i=this.maxY+this._declineY.x(i-this.maxY)):i=this.maxY),p((function(){e._setTransform(n,i,e._scale,r)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(h["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var i=this._friction.delta().x,r=this._friction.delta().y,o=i+this._translateX,a=r+this._translateY;o<this.minX?(o=this.minX,a=this._translateY+(this.minX-this._translateX)*r/i):o>this.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/i),a<this.minY?(a=this.minY,o=this._translateX+(this.minY-this._translateY)*i/r):a>this.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*i/r),this._friction.setEnd(o,a),this._FA=b(this._friction,(function(){var e=t._friction.s(),n=e.x,i=e.y;t._setTransform(n,i,t._scale,"friction")}),(function(){t._FA.cancel()}))}},_onTrack:function(t){switch(t.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(t);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(t,e){var n=!1;return t>this.maxX?(t=this.maxX,n=!0):t<this.minX&&(t=this.minX,n=!0),e>this.maxY?(e=this.maxY,n=!0):e<this.minY&&(e=this.minY,n=!0),{x:t,y:e,outOfBounds:n}},setParent:function(){if(this.$parent._isMounted){this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel();var t=this.scale?this.scaleValueSync:1;this._updateOffset(),this._updateWH(t),this._updateBoundary(),this._translateX=this.xSync+this._scaleOffset.x,this._translateY=this.ySync+this._scaleOffset.y;var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,i=e.y;this._setTransform(n,i,t,"",!0),this._updateOldScale(t)}},_updateOffset:function(){this._offset.x=g(this.$el,this.$parent.$el),this._offset.y=v(this.$el,this.$parent.$el)},_updateWH:function(t){t=t||this._scale,t=this._adjustScale(t);var e=this.$el.getBoundingClientRect();this.height=e.height/this._scale,this.width=e.width/this._scale;var n=this.height*t,i=this.width*t;this._scaleOffset.x=(i-this.width)/2,this._scaleOffset.y=(n-this.height)/2},_updateBoundary:function(){var t=0-this._offset.x+this._scaleOffset.x,e=this.$parent.width-this.width-this._offset.x-this._scaleOffset.x;this.minX=Math.min(t,e),this.maxX=Math.max(t,e);var n=0-this._offset.y+this._scaleOffset.y,i=this.$parent.height-this.height-this._offset.y-this._scaleOffset.y;this.minY=Math.min(n,i),this.maxY=Math.max(n,i)},_beginScale:function(){this._isScaling=!0},_endScale:function(){this._isScaling=!1,this._updateOldScale(this._scale)},_setScale:function(t){this.scale&&(t=this._oldScale*t,this._beginScale(),this._updateScale(t))},_updateScale:function(t,e){var n=this;if(this.scale){t=this._adjustScale(t),this._updateWH(t),this._updateBoundary();var i=this._getLimitXY(this._translateX,this._translateY),r=i.x,o=i.y;e?this._animationTo(r,o,t,"",!0,!0):p((function(){n._setTransform(r,o,t,"",!0,!0)}))}},_updateOldScale:function(t){this._oldScale=t},_adjustScale:function(t){return t=Math.max(.5,this.scaleMinNumber,t),t=Math.min(10,this.scaleMaxNumber,t),t},_animationTo:function(t,e,n,i,r,o){var a=this;this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.xMove||(t=this._translateX),this.yMove||(e=this._translateY),this.scale||(n=this._scale);var s=this._getLimitXY(t,e);t=s.x,e=s.y,this.animation?(this._STD._springX._solution=null,this._STD._springY._solution=null,this._STD._springScale._solution=null,this._STD._springX._endPosition=this._translateX,this._STD._springY._endPosition=this._translateY,this._STD._springScale._endPosition=this._scale,this._STD.setEnd(t,e,n,1),this._SFA=b(this._STD,(function(){var t=a._STD.x(),e=t.x,n=t.y,s=t.scale;a._setTransform(e,n,s,i,r,o)}),(function(){a._SFA.cancel()}))):this._setTransform(t,e,n,i,r,o)},_revise:function(t){var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,i=e.y,r=e.outOfBounds;return r&&this._animationTo(n,i,this._scale,t),r},_setTransform:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateX||0),null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateY||0),t=Number(t.toFixed(1)),e=Number(e.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===t&&this._translateY===e||r||this.$trigger("change",{},{x:m(t,this._scaleOffset.x),y:m(e,this._scaleOffset.y),source:i}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),o&&n!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:n});var a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=n}}},_=y,w=(n("7c2b"),n("2877")),k=Object(w["a"])(_,i,r,!1,null,null,null);e["default"]=k.exports},8875:function(t,e,n){var i,r,o;(function(n,a){r=[],i=a,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var t,e,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,r=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.exec(d.stack)||r.exec(d.stack),a=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");a===c&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=t.replace(e,"$1").trim());for(var l=0;l<u.length;l++){if("interactive"===u[l].readyState)return u[l];if(u[l].src===a)return u[l];if(a===c&&u[l].innerHTML&&u[l].innerHTML.trim()===n)return u[l]}return null}}return t}))},"893e":function(t,e,n){"use strict";n.r(e),function(t,i){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"connectSocket",(function(){return p})),n.d(e,"sendSocketMessage",(function(){return g})),n.d(e,"closeSocket",(function(){return v})),n.d(e,"onSocketOpen",(function(){return b})),n.d(e,"onSocketError",(function(){return y})),n.d(e,"onSocketMessage",(function(){return _})),n.d(e,"onSocketClose",(function(){return w}));var c=t,u=c.invokeCallbackHandler,l=["open","close","error","message"],d={},h=[],f=function(){function t(e,n,o){var a,c=this;r(this,t),s(this,"_webSocket",void 0);try{var f=this._webSocket=new WebSocket(e,n);f.binaryType="arraybuffer",this._callbacks={},l.forEach((function(t){c._callbacks[t]=[],f.addEventListener(t,(function(e){var n="message"===t?{data:e.data}:{};if(c._callbacks[t].forEach((function(e){try{e(n)}catch(r){i.error("thirdScriptError\n".concat(r,";at socketTask.on").concat(t[0].toUpperCase()+t.substr(1)," callback function\n"),r)}})),c===h[0]&&d[t]&&u(d[t],n),"error"===t||"close"===t){var r=h.indexOf(c);r>=0&&h.splice(r,1)}}))}));var p=["CLOSED","CLOSING","CONNECTING","OPEN","readyState"];p.forEach((function(t){Object.defineProperty(c,t,{get:function(){return f[t]}})}))}catch(g){a=g}o(a,this)}return a(t,[{key:"send",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw new Error("SocketTask.readyState is not OPEN");n.send(e),this._callback(t,"sendSocketMessage:ok")}catch(i){this._callback(t,"sendSocketMessage:fail ".concat(i))}}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._webSocket,n=[];n.push(t.code||1e3),"string"===typeof t.reason&&n.push(t.reason);try{e.close.apply(e,n),this._callback(t,"closeSocket:ok")}catch(i){this._callback(t,"closeSocket:fail ".concat(i))}}},{key:"_callback",value:function(t,e){var n=t.success,i=t.fail,r=t.complete,o={errMsg:e};/:ok$/.test(e)?"function"===typeof n&&n(o):"function"===typeof i&&i(o),"function"===typeof r&&r(o)}}]),t}();function p(t,e){var n=t.url,i=t.protocols;return new f(n,i,(function(t,n){t||h.push(n),u(e,{errMsg:"connectSocket:"+(t?"fail ".concat(t):"ok")})}))}function g(t,e){var n=h[0];n&&n.readyState===n.OPEN?n.send(Object.assign({},t,{complete:function(t){u(e,t)}})):u(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected "})}function v(t,e){var n=h[0];n?n.close(Object.assign({},t,{complete:function(t){u(e,t)}})):u(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function m(t){return function(e){d[t]=e}}l.forEach((function(t){var e=t[0].toUpperCase()+t.substr(1);f.prototype["on".concat(e)]=function(e){this._callbacks[t].push(e)}}));var b=m("open"),y=m("error"),_=m("message"),w=m("close")}.call(this,n("0dd1"),n("3ad9")["default"])},"898f":function(t,e,n){"use strict";n.r(e),n.d(e,"previewImage",(function(){return a})),n.d(e,"closePreviewImage",(function(){return s}));var i=n("db70"),r="longPressActionsCallback",o={};function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o=t.longPressActions||{},(o.success||o.fail||o.complete)&&(o.callbackId=r),Object(i["c"])("previewImagePlus",t)}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i["c"])("closePreviewImagePlus",t)}Object(i["d"])(r,(function(t){var e=t.errMsg||"";new RegExp("\\:\\s*fail").test(e)?o.fail&&o.fail(t):o.success&&o.success(t),o.complete&&o.complete(t)}))},"8a36":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={props:{id:{type:String,default:""}},created:function(){var t=this;this._addListeners(this.id),this.$watch("id",(function(e,n){t._removeListeners(n,!0),t._addListeners(e,!0)}))},beforeDestroy:function(){this._removeListeners(this.id)},methods:{_addListeners:function(e,n){var r=this;if(!n||e){var o=this.$options.listeners;Object(i["l"])(o)&&Object.keys(o).forEach((function(i){n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&t.on("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]]):0===i.indexOf("@")?r.$on("uni-".concat(i.substr(1)),r[o[i]]):0===i.indexOf("uni-")?t.on(i,r[o[i]]):e&&t.on("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]])}))}},_removeListeners:function(e,n){var r=this;if(!n||e){var o=this.$options.listeners;Object(i["l"])(o)&&Object.keys(o).forEach((function(i){n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&t.off("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]]):0===i.indexOf("@")?r.$off("uni-".concat(i.substr(1)),r[o[i]]):0===i.indexOf("uni-")?t.off(i,r[o[i]]):e&&t.off("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]])}))}}}}}).call(this,n("501c"))},"8aec":function(t,e,n){"use strict";var i=n("5363"),r=n("72b3");function o(t,e,n){this._extent=t,this._friction=e||new i["a"](.01),this._spring=n||new r["a"](1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}function a(t,e,n){function i(t,e,n,r){if(!t||!t.cancelled){n(e);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(i.bind(null,t,e,n,r))),o&&r&&r(e)}}function r(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}var o={id:0,cancelled:!1};return i(o,t,e,n),{cancel:r.bind(null,o),model:t}}function s(t,e){e=e||{},this._element=t,this._options=e,this._enableSnap=e.enableSnap||!1,this._itemSize=e.itemSize||0,this._enableX=e.enableX||!1,this._enableY=e.enableY||!1,this._shouldDispatchScrollEvent=!!e.onScroll,this._enableX?(this._extent=(e.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=e.scrollWidth):(this._extent=(e.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=e.scrollHeight),this._position=0,this._scroll=new o(this._extent,e.friction,e.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}o.prototype.snap=function(t,e){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(e)},o.prototype.set=function(t,e){this._friction.set(t,e),t>0&&e>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&e<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()},o.prototype.x=function(t){if(!this._startTime)return 0;if(t||(t=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var e=this._friction.x(t),n=this.dx(t);return(e>0&&n>=0||e<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),e<-this._extent?this._springOffset=-this._extent:this._springOffset=0,e=this._spring.x()+this._springOffset),e},o.prototype.dx=function(t){var e=0;return e=this._lastTime===t?this._lastDx:this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=e,e},o.prototype.done=function(){return this._springing?this._spring.done():this._friction.done()},o.prototype.setVelocityByEnd=function(t){this._friction.setVelocityByEnd(t)},o.prototype.configuration=function(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t},s.prototype.onTouchStart=function(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()},s.prototype.onTouchMove=function(t,e){var n=this._startPosition;this._enableX?n+=t:this._enableY&&(n+=e),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()},s.prototype.onTouchEnd=function(t,e,n){var i=this;if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(e)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var r=this._scroll._friction.x(100),o=r%this._itemSize,s=Math.abs(o)>this._itemSize/2?r-(this._itemSize-Math.abs(o)):r-o;s<=0&&s>=-this._extent&&this._scroll.setVelocityByEnd(s)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=a(this._scroll,(function(){var t=Date.now(),e=(t-i._scroll._startTime)/1e3,n=i._scroll.x(e);i._position=n,i.updatePosition();var r=i._scroll.dx(e);i._shouldDispatchScrollEvent&&t-i._lastTime>i._lastDelay&&(i.dispatchScroll(),i._lastDelay=Math.abs(2e3/r),i._lastTime=t)}),(function(){i._enableSnap&&(s<=0&&s>=-i._extent&&(i._position=s,i.updatePosition()),"function"===typeof i._options.onSnap&&i._options.onSnap(Math.floor(Math.abs(i._position)/i._itemSize))),i._shouldDispatchScrollEvent&&i.dispatchScroll(),i._scrolling=!1}))},s.prototype.onTransitionEnd=function(){this._element.style.transition="",this._element.style.webkitTransition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._element.removeEventListener("webkitTransitionEnd",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()},s.prototype.snap=function(){var t=this._itemSize,e=this._position%t,n=Math.abs(e)>this._itemSize/2?this._position-(t-Math.abs(e)):this._position-e;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))},s.prototype.scrollTo=function(t,e){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"===typeof t&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0),this._element.style.transition="transform "+(e||.2)+"s ease-out",this._element.style.webkitTransition="-webkit-transform "+(e||.2)+"s ease-out",this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd),this._element.addEventListener("webkitTransitionEnd",this._onTransitionEnd)},s.prototype.dispatchScroll=function(){if("function"===typeof this._options.onScroll&&Math.round(this._lastPos)!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}},s.prototype.update=function(t,e,n){var i=0,r=this._position;this._enableX?(i=this._element.childNodes.length?(e||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=e):(i=this._element.childNodes.length?(e||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=e),"number"===typeof t&&(this._position=-t),this._position<-i?this._position=-i:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=i,this._scroll._extent=i},s.prototype.updatePosition=function(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t},s.prototype.isScrolling=function(){return this._scrolling||this._snapping};e["a"]={methods:{initScroller:function(t,e){this._touchInfo={trackingID:-1,maxDy:0,maxDx:0},this._scroller=new s(t,e),this.__handleTouchStart=this._handleTouchStart.bind(this),this.__handleTouchMove=this._handleTouchMove.bind(this),this.__handleTouchEnd=this._handleTouchEnd.bind(this),this._initedScroller=!0},_findDelta:function(t){var e=this._touchInfo;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:t.screenX-e.x,y:t.screenY-e.y}},_handleTouchStart:function(t){var e=this._touchInfo,n=this._scroller;n&&("start"===t.detail.state?(e.trackingID="touch",e.x=t.detail.x,e.y=t.detail.y):(e.trackingID="mouse",e.x=t.screenX,e.y=t.screenY),e.maxDx=0,e.maxDy=0,e.historyX=[0],e.historyY=[0],e.historyTime=[t.detail.timeStamp],e.listener=n,n.onTouchStart&&n.onTouchStart(),t.preventDefault())},_handleTouchMove:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){for(e.maxDy=Math.max(e.maxDy,Math.abs(n.y)),e.maxDx=Math.max(e.maxDx,Math.abs(n.x)),e.historyX.push(n.x),e.historyY.push(n.y),e.historyTime.push(t.detail.timeStamp);e.historyTime.length>10;)e.historyTime.shift(),e.historyX.shift(),e.historyY.shift();e.listener&&e.listener.onTouchMove&&e.listener.onTouchMove(n.x,n.y,t.detail.timeStamp)}}},_handleTouchEnd:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){var i=e.listener;e.trackingID=-1,e.listener=null;var r=e.historyTime.length,o={x:0,y:0};if(r>2)for(var a=e.historyTime.length-1,s=e.historyTime[a],c=e.historyX[a],u=e.historyY[a];a>0;){a--;var l=e.historyTime[a],d=s-l;if(d>30&&d<50){o.x=(c-e.historyX[a])/(d/1e3),o.y=(u-e.historyY[a])/(d/1e3);break}}e.historyTime=[],e.historyX=[],e.historyY=[],i&&i.onTouchEnd&&i.onTouchEnd(n.x,n.y,o)}}}}}},"8af1":function(t,e,n){"use strict";var i=n("5cf8");n.d(e,"a",(function(){return i["a"]}));var r=n("8a36");n.d(e,"f",(function(){return r["a"]}));var o=n("83a6");n.d(e,"c",(function(){return o["a"]}));var a=n("1b6f");n.d(e,"g",(function(){return a["a"]}));var s=n("5a23");n.d(e,"e",(function(){return s["a"]}));var c=n("b282");n.d(e,"b",(function(){return c["a"]}));var u=n("a878");n.d(e,"d",(function(){return u["a"]}))},"8b18":function(t,e,n){},"8b3f":function(t,e,n){"use strict";n.r(e),n.d(e,"onNetworkStatusChange",(function(){return a})),n.d(e,"offNetworkStatusChange",(function(){return s}));var i=n("a118"),r=n("db70"),o=[];function a(t){o.push(t)}function s(t){if(t){var e=o.indexOf(t);e>=0&&o.splice(e,1)}}Object(r["d"])("onNetworkStatusChange",(function(t){o.forEach((function(e){Object(i["a"])(e,t)}))}))},"8b61":function(t,e,n){},"8b67":function(t,e,n){"use strict";n.r(e),n.d(e,"TEMP_PATH",(function(){return i}));var i=""},"8bbf":function(t,n){t.exports=e},"8c15":function(t,e,n){"use strict";n.r(e),function(t){var i=n("85b6"),r=n("d4b6"),o=n("61c2"),a=n("c4c5");function s(){t.publishHandler("onPageReady",{},this.$page.id)}e["default"]={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.routes;Object(r["a"])();var n=function(t,e){for(var n=t.target;n&&n!==e;n=n.parentNode)if(n.tagName&&0===n.tagName.indexOf("UNI-"))break;return n};t.prototype.$handleEvent=function(t){if(t instanceof Event){var e=n(t,this.$el);t=r["b"].call(this,t.type,t,{},e||t.target,t.currentTarget)}return t},t.prototype.$getComponentDescriptor=function(t,e){return Object(a["a"])(t||this,e)},Object.defineProperty(t.prototype,"$ownerInstance",{get:function(){return this.$getComponentDescriptor(this)}}),t.prototype.$handleWxsEvent=function(t){if(t instanceof Event){var e=t.currentTarget,i=e&&(e.__vue__||e),o=e&&i.$getComponentDescriptor&&i.$getComponentDescriptor(i,!1),a=t;t=r["b"].call(this,a.type,a,{},n(a,this.$el)||a.target,a.currentTarget),t.instance=o,t.preventDefault=function(){return a.preventDefault()},t.stopPropagation=function(){return a.stopPropagation()}}return t},t.mixin({beforeCreate:function(){var t=this,e=this.$options,n=e.wxs;n&&Object.keys(n).forEach((function(e){t[e]=n[e]})),e.behaviors&&e.behaviors.length&&Object(o["a"])(e,this),Object(i["d"])(this)&&(e.mounted=e.mounted?[].concat(s,e.mounted):[s])}})}}}.call(this,n("501c"))},"8ce3":function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"chooseVideo",(function(){return d}));var r=n("e2e2"),o=n("a6b0"),a=n("3563"),s=n("8af1"),c=t,u=c.invokeCallbackHandler,l=null;function d(t,e){var n=t.sourceType,c=t.extension;l&&(document.body.removeChild(l),l=null),l=Object(a["default"])({sourceType:n,extension:c,type:"video"}),document.body.appendChild(l),l.addEventListener("change",(function(t){var n,i=t.target.files[0],o={errMsg:"chooseVideo:ok",tempFile:i,size:i.size,duration:0,width:0,height:0,name:i.name};Object.defineProperty(o,"tempFilePath",{get:function(){return n=n||Object(r["b"])(this.tempFile),n}});var a=document.createElement("video");if(void 0!==a.onloadedmetadata){var s=Object(r["b"])(i);a.onloadedmetadata=function(){Object(r["e"])(s),u(e,Object.assign(o,{duration:a.duration||0,width:a.videoWidth||0,height:a.videoHeight||0}))},setTimeout((function(){a.onloadedmetadata=null,Object(r["e"])(s),u(e,o)}),300),a.src=s}else u(e,o)})),l.click(),s["d"].getStatus()||i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))}}.call(this,n("0dd1"),n("3ad9")["default"])},"8e16":function(t,e,n){"use strict";var i=n("ea49"),r=n.n(i);r.a},"8e72":function(t,e,n){},"8ed9":function(t,e,n){"use strict";var i=n("9bcb"),r=n.n(i);r.a},"8f7e":function(t,e,n){"use strict";n.r(e);var i=n("8bbf"),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-app",{class:{"uni-app--showtabbar":t.showTabBar,"uni-app--maxwidth":t.showMaxWidth}},[n("layout",{ref:"layout",attrs:{"router-key":t.key,"keep-alive-include":t.keepAliveInclude},on:{maxWidth:t.onMaxWidth,layout:t.onLayout}}),t.hasTabBar?n("tab-bar",t._b({directives:[{name:"show",rawName:"v-show",value:t.showTabBar,expression:"showTabBar"}],ref:"tabBar"},"tab-bar",t.tabBarOptions,!1)):t._e(),t.$options.components.Toast?n("toast",t._b({},"toast",t.showToast,!1)):t._e(),t.$options.components.ActionSheet?n("action-sheet",t._b({on:{close:t._onActionSheetClose}},"action-sheet",t.showActionSheet,!1)):t._e(),t.$options.components.Modal?n("modal",t._b({on:{close:t._onModalClose}},"modal",t.showModal,!1)):t._e(),t.$options.components.PreviewImage?n("preview-image",t._b({on:{close:t._onPreviewClose}},"preview-image",t.previewImage,!1)):t._e(),t.sysComponents&&t.sysComponents.length?t._l(t.sysComponents,(function(t,e){return n(t,{key:e,tag:"component"})})):t._e()],2)},a=[],s=n("cdc1"),c=s["a"],u=(n("854d"),n("2877")),l=Object(u["a"])(c,o,a,!1,null,null,null),d=l.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page",{attrs:{"data-page":t.$route.meta.pagePath}},["none"!==t.navigationBar.type?n("page-head",t._b({},"page-head",t.navigationBar,!1)):t._e(),t.enablePullDownRefresh?n("page-refresh",{ref:"refresh",attrs:{color:t.refreshOptions.color,offset:t.refreshOptions.offset}}):t._e(),t.enablePullDownRefresh?n("page-body",{nativeOn:{touchstart:function(e){return t._touchstart(e)},touchmove:function(e){return t._touchmove(e)},touchend:function(e){return t._touchend(e)},touchcancel:function(e){return t._touchend(e)}}},[t._t("page")],2):n("page-body",[t._t("page")],2)],1)},f=[],p=n("27d0"),g=p["a"],v=(n("6226"),Object(u["a"])(g,h,f,!1,null,null,null)),m=v.exports,b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-async-error",on:{click:t._onClick}},[t._v(" "+t._s(t.$$t("uni.async.error"))+" ")])},y=[],_=n("a6b0"),w={name:"AsyncError",mixins:[_["c"]],methods:{_onClick:function(){window.location.reload()}}},k=w,S=(n("b628"),Object(u["a"])(k,b,y,!1,null,null,null)),x=S.exports,C=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},T=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-async-loading"},[n("i",{staticClass:"uni-loading"})])}],O={name:"AsyncLoading"},A=O,E=(n("5727"),Object(u["a"])(A,C,T,!1,null,null,null)),M=E.exports,j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasTabBar?n("uni-tabbar",{directives:[{name:"show",rawName:"v-show",value:t.showTabBar,expression:"showTabBar"}]},[n("div",{staticClass:"uni-tabbar",style:{"flex-direction":"vertical"===t.direction?"column":"row",backgroundColor:t.tabBarOptions.backgroundColor}},[t._l(t.tabBarOptions.list,(function(e,i){return[!1!==e.visible?n("div",{key:e.pagePath,staticClass:"uni-tabbar__item",on:{click:function(n){return t._switchTab(e,i)}}},[n("div",{staticClass:"uni-tabbar__bd"},[t.showIcon&&e.iconPath?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text}},[n("img",{attrs:{src:t._getRealPath(t.selectedIndex===i?e.selectedIconPath:e.iconPath)}}),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(" "+t._s(e.badge)+" ")]):t._e()]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.selectedIndex===i?t.tabBarOptions.selectedColor:t.tabBarOptions.color,fontSize:t.showIcon&&e.iconPath?"10px":"14px"}},[t._v(" "+t._s(e.text)+" "),!e.redDot||t.showIcon&&e.iconPath?t._e():n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(" "+t._s(e.badge)+" ")])]):t._e()])]):t._e()]}))],2)]):t._e()},I=[],P=n("e243"),$=P["a"],L=Object(u["a"])($,j,I,!1,null,null,null),N=L.exports,D=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-choose-location"},[n("v-uni-map",{staticClass:"map",attrs:{latitude:t.latitude,longitude:t.longitude,"show-location":"",libraries:["places"]},on:{updated:t.getList,regionchange:t.onRegionChange}},[n("div",{staticClass:"map-location",style:t.locationStyle}),n("div",{staticClass:"map-move",on:{click:t.moveToLocation}},[n("i",[t._v("")])])]),n("div",{staticClass:"nav"},[n("div",{staticClass:"nav-btn back",on:{click:t.back}},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])]),n("div",{staticClass:"nav-btn confirm",class:{disable:!t.selected},on:{click:t.choose}},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])]),n("div",{staticClass:"menu"},[n("div",{staticClass:"search"},[n("v-uni-input",{staticClass:"search-input",attrs:{placeholder:t.$$t("uni.chooseLocation.search")},on:{focus:function(e){t.searching=!0},input:t.input},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),t.searching?n("div",{staticClass:"search-btn",on:{click:function(e){t.searching=!1,t.keyword=""}}},[t._v(" "+t._s(t.$$t("uni.chooseLocation.cancel"))+" ")]):t._e()],1),n("v-uni-scroll-view",{staticClass:"list",attrs:{"scroll-y":""},on:{scrolltolower:t.loadMore}},[t.loading?n("div",{staticClass:"list-loading"},[n("i",{staticClass:"uni-loading"})]):t._e(),t._l(t.list,(function(e,i){return n("div",{key:i,staticClass:"list-item",class:{selected:t.selectedIndex===i},on:{click:function(n){t.selectedIndex=i,t.latitude=e.latitude,t.longitude=e.longitude}}},[n("div",{staticClass:"list-item-title"},[t._v(" "+t._s(e.name)+" ")]),n("div",{staticClass:"list-item-detail"},[t._v(" "+t._s(t._f("distance")(e.distance))+t._s(e.address)+" ")])])}))],2)],1)],1)},B=[],R=n("fda5"),z=R["a"],W=(n("9470"),Object(u["a"])(z,D,B,!1,null,null,null)),F=W.exports,q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-open-location"},[n("v-uni-map",{staticClass:"map",attrs:{latitude:t.center.latitude,longitude:t.center.longitude,markers:[t.marker,t.location]},on:{regionchange:t.onRegionChange}},[n("div",{staticClass:"map-move",on:{click:t.moveToLocation}},[n("i",[t._v("")])])]),n("div",{staticClass:"info"},[n("div",{staticClass:"name",on:{click:function(e){return t.setCenter(t.marker)}}},[t._v(" "+t._s(t.name)+" ")]),n("div",{staticClass:"address",on:{click:function(e){return t.setCenter(t.marker)}}},[t._v(" "+t._s(t.address)+" ")]),n("div",{staticClass:"nav",on:{click:t.nav}},[n("svg",{attrs:{width:"26",height:"26",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M896 544c-207.807 0-388.391 82.253-480 203.149V173.136l201.555 201.555c12.412 12.412 32.723 12.412 45.136 0 12.412-12.412 12.412-32.723 0-45.136L408.913 75.777a31.93 31.93 0 0 0-2.222-2.468c-6.222-6.222-14.429-9.324-22.631-9.308l-0.059-0.002-0.059 0.002c-8.202-0.016-16.409 3.085-22.631 9.308a31.93 31.93 0 0 0-2.222 2.468l-253.78 253.778c-12.412 12.412-12.412 32.723 0 45.136 12.412 12.412 32.723 12.412 45.136 0L352 173.136V928c0 17.6 14.4 32 32 32s32-14.4 32-32c0-176.731 214.903-320 480-320 17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32z",fill:"#ffffff"}})])])]),n("div",{staticClass:"nav-btn-back",on:{click:t.back}},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])],1)},H=[],V=n("636c"),U={name:"SystemOpenLocation",data:function(){var t=this.$route.query,e=t.latitude,n=t.longitude,i=t.scale,r=void 0===i?18:i,o=t.name,a=void 0===o?"":o,s=t.address,c=void 0===s?"":s;return{latitude:e,longitude:n,scale:r,name:a,address:c,center:{latitude:e,longitude:n},marker:{id:1,latitude:e,longitude:n,iconPath:V["b"],width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:V["a"],width:44,height:44}}},methods:{onRegionChange:function(t){var e=t.detail.centerLocation;e&&(this.center.latitude=e.latitude,this.center.longitude=e.longitude)},setCenter:function(t){var e=t.latitude,n=t.longitude;this.center.latitude=e,this.center.longitude=n},moveToLocation:function(){uni.getLocation({type:"gcj02",success:this.move.bind(this),fail:function(){}})},move:function(t){var e=t.latitude,n=t.longitude;this.location.latitude=e,this.location.longitude=n,this.setCenter({latitude:e,longitude:n})},back:function(){getApp().$router.back()},nav:function(){var t=Object(V["e"])(),e="";if(t.type===V["d"].GOOGLE){var n=this.location.latitude?"&origin=".concat(this.location.latitude,"%2C").concat(this.location.longitude):"";e="https://www.google.com/maps/dir/?api=1".concat(n,"&destination=").concat(this.latitude,"%2C").concat(this.longitude)}else if(t.type===V["d"].QQ){var i=this.location.latitude?"&fromcoord=".concat(this.location.latitude,"%2C").concat(this.location.longitude,"&from=").concat(encodeURIComponent("我的位置")):"";e="https://apis.map.qq.com/uri/v1/routeplan?type=drive".concat(i,"&tocoord=").concat(this.latitude,"%2C").concat(this.longitude,"&to=").concat(encodeURIComponent(this.name||"目的地"),"&ref=").concat(t.key)}else if(t.type===V["d"].AMAP){var r=this.location.latitude?"from=".concat(this.location.longitude,",").concat(this.location.latitude,",").concat(encodeURIComponent("我的位置"),"&"):"";e="https://uri.amap.com/navigation?".concat(r,"to=").concat(this.longitude,",").concat(this.latitude,",").concat(encodeURIComponent(this.name||"目的地"),"}")}window.open(e)}}},Y=U,X=(n("3da9"),Object(u["a"])(Y,q,H,!1,null,null,null)),G=X.exports,Q={ChooseLocation:F,OpenLocation:G};r.a.component(d.name,d),r.a.component(m.name,m),r.a.component(x.name,x),r.a.component(M.name,M),r.a.component(N.name,N),Object.keys(Q).forEach((function(t){var e=Q[t];r.a.component(e.name,e)}))},"90f7":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-refresh",[n("div",{staticClass:"uni-page-refresh",style:{"margin-top":t.offset+"px"}},[n("div",{staticClass:"uni-page-refresh-inner"},[n("svg",{staticClass:"uni-page-refresh__icon",attrs:{fill:t.color,width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),n("svg",{staticClass:"uni-page-refresh__spinner",attrs:{width:"24",height:"24",viewBox:"25 25 50 50"}},[n("circle",{staticClass:"uni-page-refresh__path",attrs:{stroke:t.color,cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}})])])])])},r=[],o={name:"PageRefresh",props:{color:{type:String,default:"#2BD009"},offset:{type:Number,default:0}}},a=o,s=(n("9b5b"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["a"]=c.exports},9213:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-swiper-item",t._g({},t.$listeners),[t._t("default")],2)},r=[],o={name:"SwiperItem",props:{itemId:{type:String,default:""}},mounted:function(){var t=this.$el;t.style.position="absolute",t.style.width="100%",t.style.height="100%";var e=this.$vnode._callbacks;e&&e.forEach((function(t){t()}))}},a=o,s=(n("bfea"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},9250:function(t,e){var n=["base64ToArrayBuffer","arrayBufferToBase64","addInterceptor","removeInterceptor","interceptors"],i=["request","uploadFile","downloadFile","connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose","getUpdateManager","configMTLS"],r=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"],o=["setStorage","setStorageSync","getStorage","getStorageSync","getStorageInfo","getStorageInfoSync","removeStorage","removeStorageSync","clearStorage","clearStorageSync"],a=["getLocation","chooseLocation","openLocation","createMapContext","onLocationChange","onLocationChangeError","startLocationUpdate","stopLocationUpdate","offLocationChange","offLocationChangeError"],s=["chooseImage","chooseFile","previewImage","closePreviewImage","getImageInfo","getVideoInfo","saveImageToPhotosAlbum","compressImage","compressVideo","getRecorderManager","getBackgroundAudioManager","createAudioContext","createInnerAudioContext","chooseVideo","saveVideoToPhotosAlbum","createVideoContext","createCameraContext","createLivePlayerContext","createLivePusherContext"],c=["getSystemInfo","getSystemInfoSync","getWindowInfo","getDeviceInfo","getAppBaseInfo","canIUse","onMemoryWarning","getNetworkType","onNetworkStatusChange","offNetworkStatusChange","onAccelerometerChange","offAccelerometerChange","startAccelerometer","stopAccelerometer","onCompassChange","offCompassChange","startCompass","stopCompass","onGyroscopeChange","startGyroscope","stopGyroscope","makePhoneCall","scanCode","setClipboardData","getClipboardData","setScreenBrightness","getScreenBrightness","setKeepScreenOn","onUserCaptureScreen","vibrateLong","vibrateShort","addPhoneContact","openBluetoothAdapter","startBluetoothDevicesDiscovery","onBluetoothDeviceFound","stopBluetoothDevicesDiscovery","onBluetoothAdapterStateChange","getConnectedBluetoothDevices","getBluetoothDevices","getBluetoothAdapterState","closeBluetoothAdapter","writeBLECharacteristicValue","readBLECharacteristicValue","onBLEConnectionStateChange","onBLECharacteristicValueChange","notifyBLECharacteristicValueChange","getBLEDeviceServices","getBLEDeviceCharacteristics","createBLEConnection","closeBLEConnection","setBLEMTU","getBLEDeviceRSSI","onBeaconServiceChange","onBeaconUpdate","getBeacons","startBeaconDiscovery","stopBeaconDiscovery","checkIsSupportSoterAuthentication","checkIsSoterEnrolledInDevice","startSoterAuthentication","onThemeChange","onUIStyleChange","getSystemSetting","getAppAuthorizeSetting","openAppAuthorizeSetting"],u=["hideKeyboard","onKeyboardHeightChange","offKeyboardHeightChange","getSelectedTextRange"],l=["showToast","hideToast","showLoading","hideLoading","showModal","showActionSheet","setNavigationBarTitle","setNavigationBarColor","showNavigationBarLoading","hideNavigationBarLoading","setTabBarItem","setTabBarStyle","hideTabBar","showTabBar","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot","onTabBarMidButtonTap","setBackgroundColor","setBackgroundTextStyle","createAnimation","pageScrollTo","onWindowResize","offWindowResize","loadFontFace","startPullDownRefresh","stopPullDownRefresh","createSelectorQuery","createIntersectionObserver","createMediaQueryObserver","getMenuButtonBoundingClientRect","showTopWindow","showLeftWindow","showRightWindow","hideTopWindow","hideLeftWindow","hideRightWindow","getTopWindowStyle","getLeftWindowStyle","getRightWindowStyle","setTopWindowStyle","setLeftWindowStyle","setRightWindowStyle","getLocale","setLocale","onLocaleChange"],d=["$emit","$on","$once","$off"],h=["saveFile","getSavedFileList","getSavedFileInfo","removeSavedFile","getFileInfo","openDocument","getFileSystemManager"],f=["createOffscreenCanvas","createCanvasContext","canvasToTempFilePath","canvasPutImageData","canvasGetImageData"],p=["getProvider","login","checkSession","getUserInfo","getUserProfile","preLogin","closeAuthView","getCheckBoxState","getUniverifyManager","share","shareWithSystem","showShareMenu","hideShareMenu","requestPayment","subscribePush","unsubscribePush","onPush","offPush","requireNativePlugin","upx2px","restoreGlobal","requireGlobal","getSubNVueById","getCurrentSubNVue","setPageMeta","onHostEventReceive","onNativeEventReceive","sendNativeEvent","preloadPage","unPreloadPage","loadSubPackage","sendHostEvent","navigateToMiniProgram","getLaunchOptionsSync","getEnterOptionsSync"],g=["createRewardedVideoAd","createFullScreenVideoAd","createInterstitialAd","createInteractiveAd"],v=["invokePushCallback","getPushClientId","onPushMessage","offPushMessage","createPushMessage"],m=[].concat(n,i,r,o,a,s,c,u,l,d,h,f,p,g,v);t.exports=m},"927d":function(t,e,n){},"93a5":function(t,e,n){var i={"./ad/index.vue":"10a3","./cover-image/index.vue":"d677","./cover-view/index.vue":"c41f","./map/index.vue":"594d","./picker/index.vue":"6fa7","./video/index.vue":"31e2","./view/index.vue":"ec4b","./web-view/index.vue":"9980"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="93a5"},"93ab":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i={};function r(t,e,n){var r="string"===typeof t?window[t]:t;if(r)n();else{var o=i[e];if(!o){o=i[e]=[];var a=document.createElement("script");a.src=e,document.body.appendChild(a),a.onload=function(){o.forEach((function(t){return t()})),delete i[e]}}o.push(n)}}},9400:function(t,e,n){"use strict";var i=n("cc89"),r=n.n(i);r.a},"944e":function(t,e,n){"use strict";var i=n("a6bb"),r=n.n(i);r.a},9470:function(t,e,n){"use strict";var i=n("69c3"),r=n.n(i);r.a},"956d":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getVideoInfo",(function(){return r}));var i=n("e2e2");function r(e,n){var r=e.src,o=t,a=o.invokeCallbackHandler;Object(i["f"])(r,!0).then((function(t){return t})).catch((function(){return{}})).then((function(t){var e=t.size?{size:t.size,errMsg:"getVideoInfo:ok"}:{errMsg:"getVideoInfo:fail"},i=document.createElement("video");if(void 0!==i.onloadedmetadata){var o=setTimeout((function(){i.onloadedmetadata=null,i.onerror=null,a(n,e)}),r.startsWith("data:")||r.startsWith("blob:")?300:3e3);i.onloadedmetadata=function(){clearTimeout(o),i.onerror=null,a(n,Object.assign(e,{size:t.size,duration:i.duration||0,width:i.videoWidth||0,height:i.videoHeight||0,errMsg:"getVideoInfo:ok"}))},i.onerror=function(){clearTimeout(o),i.onloadedmetadata=null,a(n,e)},i.src=r}else a(n,e)}))}}.call(this,n("0dd1"))},"957a":function(t,e,n){"use strict";n.r(e),n.d(e,"canIUse",(function(){return i}));var i=[{name:"schema",type:String,required:!0}]},9776:function(t,e,n){"use strict";n.r(e),n.d(e,"getLocale",(function(){return a})),n.d(e,"setLocale",(function(){return s})),n.d(e,"onLocaleChange",(function(){return u}));var i=n("a118"),r=n("a6b0"),o=n("65a8");function a(){var t=getApp({allowDefault:!0});return t&&t.$vm?t.$vm.$locale:r["b"].getLocale()}function s(t){var e=getApp().$vm.$locale;return e!==t&&(getApp().$vm.$locale=t,window.localStorage&&(localStorage[o["d"]]=t),c.forEach((function(e){Object(i["a"])(e,{locale:t})})),!0)}var c=[];function u(t){c.push(t)}},"98be":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("9250"),r=n.n(i),o=n("27a7"),a=n("ed1a"),s=n("9fe4"),c=Object.create(null);r.a.forEach((function(t){s["a"][t]?c[t]=Object(a["d"])(t,Object(o["c"])(t,s["a"][t])):c[t]=Object(o["d"])(t)}))},9980:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-web-view",t._g({ref:"webviewContainer",class:{"uni-webview--fullscreen":t.fullscreen}},t.$listeners),[n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],1)},r=[],o={name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},watch:{src:function(t,e){this.iframe&&(this.iframe.src=this.$getRealPath(this.src))}},mounted:function(){var t=this;this.iframe=document.createElement("iframe"),Object.keys(this.$attrs).forEach((function(e){t.iframe[e]=t.$attrs[e]})),this.iframe.src=this.$getRealPath(this.src),this.fullscreen?document.body.appendChild(this.iframe):this.$refs.webviewContainer.appendChild(this.iframe),this._resize()},activated:function(){this.fullscreen&&(this.iframe.style.display="block")},deactivated:function(){this.fullscreen&&(this.iframe.style.display="none")},beforeDestroy:function(){this.fullscreen&&document.body.removeChild(this.iframe)},methods:{_resize:function(){if(this.fullscreen){var t=this.$el.getBoundingClientRect(),e=t.top,n=t.left,i=t.width,r=t.height;this.iframe.style.position="absolute",this.iframe.style.display="block",this.iframe.style.border=0,this.iframe.style.top=e+"px",this.iframe.style.left=n+"px",this.iframe.style.width=i+"px",this.iframe.style.height=r+"px"}else this.iframe.style.width=this.$refs.webviewContainer.style.width||"300px",this.iframe.style.height=this.$refs.webviewContainer.style.height||"150px"}}},a=o,s=(n("c33f"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"9a3e":function(t,e,n){"use strict";n.r(e),n.d(e,"uploadFile",(function(){return r}));var i=n("cb0f"),r={url:{type:String,required:!0},files:{type:Array},filePath:{type:String,validator:function(t,e){t&&(e.filePath=Object(i["a"])(t))}},name:{type:String},header:{type:Object,validator:function(t,e){e.header=t||{}}},formData:{type:Object,validator:function(t,e){e.formData=t||{}}}}},"9a8b":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-icon",t._g({},t.$listeners),[n("i",{class:"uni-icon-"+t.type,style:{"font-size":t._converPx(t.size),color:t.color},attrs:{role:"img"}})])},r=[],o={name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},methods:{_converPx:function(t){return/^-?\d+[ur]px$/i.test(t)?t.replace(/(^-?\d+)[ur]px$/i,(function(t,e){return"".concat(uni.upx2px(parseFloat(e)),"px")})):/^-?[\d\.]+$/.test(t)?"".concat(t,"px"):t||""}}},a=o,s=(n("7e6a"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"9b1b":function(t,e,n){"use strict";n.r(e),n.d(e,"onWindowResize",(function(){return a})),n.d(e,"offWindowResize",(function(){return s}));var i=n("a118"),r=n("db70"),o=[];function a(t){o.push(t)}function s(t){o.splice(o.indexOf(t),1)}Object(r["d"])("onViewDidResize",(function(t){o.forEach((function(e){Object(i["a"])(e,t)}))}))},"9b1f":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-progress",t._g({staticClass:"uni-progress"},t.$listeners),[n("div",{staticClass:"uni-progress-bar",style:t.outerBarStyle},[n("div",{staticClass:"uni-progress-inner-bar",style:t.innerBarStyle})]),t.showInfo?[n("p",{staticClass:"uni-progress-info"},[t._v(" "+t._s(t.currentPercent)+"% ")])]:t._e()],2)},r=[],o={activeColor:"#007AFF",backgroundColor:"#EBEBEB",activeMode:"backwards"},a={name:"Progress",props:{percent:{type:[Number,String],default:0,validator:function(t){return!isNaN(parseFloat(t,10))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:function(t){return!isNaN(parseFloat(t,10))}},color:{type:String,default:o.activeColor},activeColor:{type:String,default:o.activeColor},backgroundColor:{type:String,default:o.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:o.activeMode},duration:{type:[Number,String],default:30,validator:function(t){return!isNaN(parseFloat(t,10))}}},data:function(){return{currentPercent:0,strokeTimer:0,lastPercent:0}},computed:{outerBarStyle:function(){return"background-color: ".concat(this.backgroundColor,"; height: ").concat(this.strokeWidth,"px;")},innerBarStyle:function(){var t="";return t=this.color!==o.activeColor&&this.activeColor===o.activeColor?this.color:this.activeColor,"width: ".concat(this.currentPercent,"%;background-color: ").concat(t)},realPercent:function(){var t=parseFloat(this.percent,10);return t<0&&(t=0),t>100&&(t=100),t}},watch:{realPercent:function(t,e){this.strokeTimer&&clearInterval(this.strokeTimer),this.lastPercent=e||0,this._activeAnimation()}},created:function(){this._activeAnimation()},methods:{_activeAnimation:function(){var t=this;this.active?(this.currentPercent=this.activeMode===o.activeMode?0:this.lastPercent,this.strokeTimer=setInterval((function(){t.currentPercent+1>t.realPercent?(t.currentPercent=t.realPercent,t.strokeTimer&&clearInterval(t.strokeTimer)):t.currentPercent+=1}),parseFloat(this.duration))):this.currentPercent=this.realPercent}}},s=a,c=(n("944e"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"9b5b":function(t,e,n){"use strict";var i=n("8b61"),r=n.n(i);r.a},"9bcb":function(t,e,n){},"9e56":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"previewImage",(function(){return a})),n.d(e,"closePreviewImage",(function(){return s}));var i=t,r=i.emit,o=i.invokeCallbackHandler;function a(t,e){r("onShowPreviewImage",t,(function(t){o(e,{errMsg:"previewImage:ok"})}))}function s(t,e){r("onClosePreviewImage",(function(){o(e,{errMsg:"closePreviewImage:ok"})}))}}.call(this,n("0dd1"))},"9f96":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-slider",t._g({ref:"uni-slider",on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-slider-wrapper"},[n("div",{staticClass:"uni-slider-tap-area"},[n("div",{staticClass:"uni-slider-handle-wrapper",style:t.setBgColor},[n("div",{ref:"uni-slider-handle",staticClass:"uni-slider-handle",style:t.setBlockBg}),n("div",{staticClass:"uni-slider-thumb",style:t.setBlockStyle}),n("div",{staticClass:"uni-slider-track",style:t.setActiveColor})])]),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showValue,expression:"showValue"}],ref:"uni-slider-value",staticClass:"uni-slider-value"},[t._v(t._s(t.sliderValue))])]),t._t("default")],2)},r=[],o=n("8af1"),a=n("ba15"),s={add:function(t){var e,n,i;try{e=this.toString().split(".")[1].length}catch(r){e=0}try{n=t.toString().split(".")[1].length}catch(r){n=0}return i=Math.pow(10,Math.max(e,n)),(this*i+t*i)/i},sub:function(t){return this.add(-t)},mul:function(t){var e=0,n=this.toString(),i=t.toString();try{e+=n.split(".")[1].length}catch(r){}try{e+=i.split(".")[1].length}catch(r){}return Number(n.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,e)},div:function(t){var e,n,i=0,r=0;try{i=this.toString().split(".")[1].length}catch(o){}try{r=t.toString().split(".")[1].length}catch(o){}return e=Number(this.toString().replace(".","")),n=Number(t.toString().replace(".","")),e/n*Math.pow(10,r-i)},mod:function(t){var e,n,i=0,r=0;try{i=this.toString().split(".")[1].length}catch(s){}try{r=t.toString().split(".")[1].length}catch(s){}var o=Math.pow(10,Math.abs(i-r));1==o&&(o=Math.pow(10,i)),e=(this*o).toString().split(".")[0],n=t*o;var a=(this*o).toString().split(".")[1]?(this*o).toString().split(".")[1]:"";return(e%n+a)/o}},c={name:"Slider",mixins:[o["a"],o["f"],a["a"]],props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},data:function(){return{sliderValue:Number(this.value)}},computed:{setBlockStyle:function(){return{width:this.blockSize+"px",height:this.blockSize+"px",marginLeft:-this.blockSize/2+"px",marginTop:-this.blockSize/2+"px",left:this._getValueWidth(),backgroundColor:this.blockColor}},setBgColor:function(){return{backgroundColor:this._getBgColor()}},setBlockBg:function(){return{left:this._getValueWidth()}},setActiveColor:function(){return{backgroundColor:this._getActiveColor(),width:this._getValueWidth()}}},watch:{value:function(t){this.sliderValue=Number(t)}},mounted:function(){this.touchtrack(this.$refs["uni-slider-handle"],"_onTrack")},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onUserChangedValue:function(t){var e=this.$refs["uni-slider-value"],n=getComputedStyle(e,null).marginLeft,i=e.offsetWidth;i+=parseInt(n);var r=this.$refs["uni-slider"],o=r.offsetWidth-(this.showValue?i:0),a=r.getBoundingClientRect().left,s=(t.x-a)*(this.max-this.min)/o+Number(this.min);this.sliderValue=this._filterValue(s)},_filterValue:function(t){var e=Number(this.max),n=Number(this.min);return t<n?n:t>e?e:s.mul.call(Math.round((t-n)/this.step),this.step)+n},_getValueWidth:function(){return 100*(this.sliderValue-this.min)/(this.max-this.min)+"%"},_getBgColor:function(){return"#e9e9e9"!==this.backgroundColor?this.backgroundColor:"#007aff"!==this.color?this.color:"#007aff"},_getActiveColor:function(){return"#007aff"!==this.activeColor?this.activeColor:"#e9e9e9"!==this.selectedColor?this.selectedColor:"#e9e9e9"},_onTrack:function(t){if(!this.disabled)return"move"===t.detail.state?(this._onUserChangedValue({x:t.detail.x}),this.$trigger("changing",t,{value:this.sliderValue}),!1):"end"===t.detail.state&&this.$trigger("change",t,{value:this.sliderValue})},_onClick:function(t){this.disabled||(this._onUserChangedValue(t),this.$trigger("change",t,{value:this.sliderValue}))},_resetFormData:function(){this.sliderValue=this.min},_getFormData:function(){var t={};return""!==this.name&&(t.value=this.sliderValue,t.key=this.name),t}}},u=c,l=(n("6428"),n("2877")),d=Object(l["a"])(u,i,r,!1,null,null,null);e["default"]=d.exports},"9fe4":function(t,e,n){"use strict";var i=Object.create(null),r=n("bdb1");r.keys().forEach((function(t){Object.assign(i,r(t))}));var o=i,a=n("3b67");e["a"]=Object.assign(Object.create(null),o,a["a"])},a118:function(t,e,n){"use strict";(function(t){function i(){var e;return(e=t).invokeCallbackHandler.apply(e,arguments)}function r(e){return t.removeCallbackHandler(e)}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}))}).call(this,n("0dd1"))},a201:function(t,e,n){"use strict";n.r(e),n.d(e,"request",(function(){return u})),n.d(e,"configMTLS",(function(){return l}));var i=n("f2b3"),r={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT",PATCH:"PATCH"},o={JSON:"json"},a={TEXT:"text",ARRAYBUFFER:"arraybuffer"},s=encodeURIComponent;function c(t,e){var n=t.split("#"),r=n[1]||"";n=n[0].split("?");var o=n[1]||"";t=n[0];var a=o.split("&").filter((function(t){return t}));for(var c in o={},a.forEach((function(t){t=t.split("="),o[t[0]]=t[1]})),e)if(Object(i["i"])(e,c)){var u=e[c];"undefined"===typeof u||null===u?u="":Object(i["l"])(u)&&(u=JSON.stringify(u)),o[s(c)]=s(u)}return o=Object.keys(o).map((function(t){return"".concat(t,"=").concat(o[t])})).join("&"),t+(o?"?"+o:"")+(r?"#"+r:"")}var u={method:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.method=Object.values(r).indexOf(t)<0?r.GET:t}},data:{type:[Object,String,Array,ArrayBuffer],validator:function(t,e){e.data=t||""}},url:{type:String,required:!0,validator:function(t,e){e.method===r.GET&&Object(i["l"])(e.data)&&Object.keys(e.data).length&&(e.url=c(t,e.data))}},header:{type:Object,validator:function(t,e){var n=e.header=t||{};e.method!==r.GET&&(Object.keys(n).find((function(t){return"content-type"===t.toLowerCase()}))||(n["Content-Type"]="application/json"))}},dataType:{type:String,validator:function(t,e){e.dataType=(t||o.JSON).toLowerCase()}},responseType:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.responseType=Object.values(a).indexOf(t)<0?a.TEXT:t}},withCredentials:{type:Boolean},timeout:{type:Number}},l={certificates:{type:Array,required:!0,validator:function(t){if(t.some((function(t){return"String"!==Object(i["t"])(t.host)})))return"参数配置错误,请确认后重试"}}}},a20f:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));var i=n("f2b3"),r=function(){var t=document.createElement("canvas");t.height=t.width=0;var e=t.getContext("2d"),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}(),o=function(t,e){for(var n in t)Object(i["i"])(t,n)&&e(t[n],n)},a={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},s=CanvasRenderingContext2D.prototype;function c(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t.width=t.offsetWidth*(e?r:1),t.height=t.offsetHeight*(e?r:1),t.__hidpi__=e,t.__context2d__=t.getContext("2d"),t.__context2d__.__hidpi__=e}s.drawImageByCanvas=function(t){return function(e,n,i,o,a,s,c,u,l,d){if(!this.__hidpi__)return t.apply(this,arguments);n*=r,i*=r,o*=r,a*=r,s*=r,c*=r,u=d?u*r:u,l=d?l*r:l,t.call(this,e,n,i,o,a,s,c,u,l)}}(s.drawImage),1!==r&&(o(a,(function(t,e){s[e]=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);if("all"===t)n=n.map((function(t){return t*r}));else if(Array.isArray(t))for(var i=0;i<t.length;i++)n[t[i]]*=r;return e.apply(this,n)}}(s[e])})),s.stroke=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);this.lineWidth*=r,t.apply(this,arguments),this.lineWidth/=r}}(s.stroke),s.fillText=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);var e=Array.prototype.slice.call(arguments);e[1]*=r,e[2]*=r,e[3]*=r,isNaN(e[3])&&(e.length=3);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(t,e,n){return e*r+n})),t.apply(this,e),this.font=n}}(s.fillText),s.strokeText=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);var e=Array.prototype.slice.call(arguments);e[1]*=r,e[2]*=r,e[3]*=r,isNaN(e[3])&&(e.length=3);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(t,e,n){return e*r+n})),t.apply(this,e),this.font=n}}(s.strokeText),s.drawImage=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);this.scale(r,r),t.apply(this,arguments),this.scale(1/r,1/r)}}(s.drawImage))},a3e5:function(t,e,n){"use strict";var i=n("df1e"),r=n.n(i);r.a},a402:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-page-wrapper",[n("uni-page-body",[t._t("default")],2)],1)},r=[],o=n("e949"),a=n("bdbe"),s={name:"PageBody",mounted:function(){var t=a["a"].height||"50px",e=".uni-app--showtabbar uni-page-wrapper {\n                    display: block;\n                    height: calc(100% - ".concat(t,");\n                    height: calc(100% - ").concat(t," - constant(safe-area-inset-bottom));\n                    height: calc(100% - ").concat(t," - env(safe-area-inset-bottom));\n                  }");e+="\n",e+='.uni-app--showtabbar uni-page-wrapper::after {\n                  content: "";\n                  display: block;\n                  width: 100%;\n                  height: '.concat(t,";\n                  height: calc(").concat(t," + constant(safe-area-inset-bottom));\n                  height: calc(").concat(t," + env(safe-area-inset-bottom));\n                }"),e+="\n",e+='.uni-app--showtabbar uni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {\n                  height: calc(100% - 44px - '.concat(t,");\n                  height: calc(100% - 44px - constant(safe-area-inset-top) - ").concat(t," - constant(safe-area-inset-bottom));\n                  height: calc(100% - 44px - env(safe-area-inset-top) - ").concat(t," - env(safe-area-inset-bottom));\n                }"),Object(o["a"])(e)}},c=s,u=(n("167a"),n("2877")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["a"]=l.exports},a470:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("65a8"),r=n("d8c8"),o=n.n(r);function a(){if(uni.canIUse("css.var")){var t=document.documentElement.style,e=parseInt((t.getPropertyValue("--window-top").match(/\d+/)||["0"])[0]),n=parseInt((t.getPropertyValue("--window-bottom").match(/\d+/)||["0"])[0]),r=parseInt((t.getPropertyValue("--window-left").match(/\d+/)||["0"])[0]),a=parseInt((t.getPropertyValue("--window-right").match(/\d+/)||["0"])[0]),s=parseInt((t.getPropertyValue("--top-window-height").match(/\d+/)||["0"])[0]);return{top:(e?e+o.a.top:0)+(s||0),bottom:n?n+o.a.bottom:0,left:r?r+o.a.left:0,right:a?a+o.a.right:0}}var c=0,u=0,l=getCurrentPages();if(l.length){var d=l[l.length-1].$parent.$parent,h=d.navigationBar.type;c="default"===h||"float"===h?i["a"]:0}var f=getApp();return f&&(u=f.$children[0]&&f.$children[0].showTabBar?i["c"]:0),{top:c,bottom:u,left:0,right:0}}},a5ec:function(t,e,n){"use strict";var i=n("54bc"),r=n.n(i);r.a},a6b0:function(t,e,n){"use strict";n.d(e,"b",(function(){return w})),n.d(e,"g",(function(){return k})),n.d(e,"c",(function(){return S})),n.d(e,"a",(function(){return x})),n.d(e,"d",(function(){return C})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return $}));var i=n("d46d"),r=n("f2b3"),o=n("65a8"),a=n("39aa"),s=n("80e5"),c=n("b3b1"),u=n("2209"),l=n("02ed");function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h,f,p="zh-Hans",g="zh-Hant",v="en",m="fr",b="es",y={};function _(){if(I()){var t=Object.keys(__uniConfig.locales);t.length&&t.forEach((function(t){var e=y[t],n=__uniConfig.locales[t];e?Object.assign(e,n):y[t]=n}))}}Object.assign(y,(h={},d(h,v,a),d(h,b,s),d(h,m,c),d(h,p,u),d(h,g,l),h)),f=window.localStorage&&localStorage[o["d"]]||__uniConfig.locale||navigator.language,_();var w=Object(i["initVueI18n"])(f,y),k=w.t,S=w.mixin={beforeCreate:function(){var t=this,e=w.i18n.watchLocale((function(){t.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){e()}))},methods:{$$t:function(t,e){return k(t,e)}}},x=(w.setLocale,w.getLocale);function C(t,e,n){var i=t.observable({locale:n||w.getLocale()}),r=[];e.$watchLocale=function(t){r.push(t)},Object.defineProperty(e,"$locale",{get:function(){return i.locale},set:function(t){i.locale=t,r.forEach((function(e){return e(t)}))}})}var T=["%","%"];function O(){var t=uni.getLocale(),e=__uniConfig.locales;return e[t]||e[__uniConfig.fallbackLocale]||e[v]||{}}function A(t){return Object(i["isI18nStr"])(t,T)?w.f(t,O(),T):t}function E(t,e){if(1!==e.length){var n=e.shift();return E(t&&t[n],e)}if(t){var o=t[e[0]];if(Object(r["m"])(o)&&Object(i["isI18nStr"])(o,T))return t}}function M(t,e){return e.map((function(e){return j(t,e)}))}function j(t,e){var n=E(t,e);if(!n)return!1;var i=e[e.length-1],r=n[i];return Object.defineProperty(n,i,{get:function(){return A(r)},set:function(t){r=t}}),!0}function I(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}function P(t){if(I())return M(t,[["titleText"],["searchInput","placeholder"]])}function $(t){return I()&&t.list&&t.list.forEach((function(t){j(t,["text"])})),t}},a6bb:function(t,e,n){},a741:function(t,e,n){"use strict";(function(t,i){function r(t,e,n){return t=t.$vm||t,t.__call_hook&&t.__call_hook(e,n)}function o(e,n,i){return"onError"!==n&&t.debug("App:".concat(n," have been invoked")+(i?" ".concat(JSON.stringify(i)):"")),e=e.$vm||e,e.__call_hook&&e.__call_hook(n,i)}function a(e,n,o){return"onLoad"===n&&(e.$mp.query=o,i.publishHandler("onPageLoad",e,e.$page.id)),"onShow"===n&&(e.$route.meta.isTabBar&&e.$route.params.detail&&setTimeout((function(){i.emit("onTabItemTap",e.$route.params.detail)}),0),i.publishHandler("onPageShow",e,e.$page.id)),"onPageScroll"!==n&&t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:").concat(n," have been invoked")),r(e,n,o)}n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}))}).call(this,n("3ad9")["default"],n("0dd1"))},a878:function(t,e,n){"use strict";var i,r=n("f2b3"),o=!r["r"]||{passive:!0,capture:!0},a=[],s=0;function c(t){a.forEach((function(e){return e.userInteract=t}))}function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!i){var e=["touchstart","touchmove","touchend","mousedown","mouseup"];e.forEach((function(t){document.addEventListener(t,(function(){!s&&c(!0),s++,setTimeout((function(){!--s&&c(!1)}),0)}),o)})),i=!0}a.push(t)}function l(t){var e=a.indexOf(t);e>=0&&a.splice(e,1)}e["a"]={data:function(){return{userInteract:!1}},mounted:function(){u(this)},beforeDestroy:function(){l(this)},addInteractListener:u,getStatus:function(){return!!s}}},a8b8:function(t,e,n){"use strict";var i=n("fa7b"),r=n.n(i);r.a},a919:function(t,e,n){"use strict";(function(t){var i=n("cb0f"),r=n("f2b3"),o=n("b865"),a=n("7107");function s(t){return window.CSS&&CSS.supports&&(CSS.supports(t)||CSS.supports.apply(CSS,t.split(":")))}var c="UniTabbarIconFont";e["a"]={name:"TabBar",props:{position:{default:"bottom",validator:function(t){return-1!==["bottom","top"].indexOf(t)}},color:{type:String,default:"#999"},selectedColor:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderStyle:{type:String,default:"black"},iconfontSrc:{type:String,default:""},list:{type:Array,default:function(){return[]}},matchMedia:{type:Object,default:function(){return{}}},blurEffect:{type:String,default:"none"},fontSize:{type:String,default:"10px"},iconWidth:{type:String,default:"24px"},spacing:{type:String,default:"3px"},height:{type:String,default:"50px"},midButton:{type:Object,default:null}},data:function(){return{selectedIndex:0,visibleList:[]}},computed:{tabbarBackgroundColor:function(){var t="#f7f7fa";if(this.backgroundColor)return this.backgroundColor;if(s("backdrop-filter:blur(10px)")&&"none"!==this.blurEffect){if("dark"===this.blurEffect)return"rgb(0, 0, 0, 0.8)";if(["light","extralight"].includes(this.blurEffect))return"rgb(250, 250, 250, 0.8)"}return t},borderColor:function(){return"white"===this.borderStyle?"rgba(255, 255, 255, 0.33)":"black"===this.borderStyle?"rgba(0, 0, 0, 0.33)":this.borderStyle}},watch:{$route:{immediate:!0,handler:function(){this.visibleList.length||this._initVisibleList(),this.setSelectedIndex()}},list:{deep:!0,handler:function(){this._initVisibleList(),this.setSelectedIndex()}}},created:function(){var t=this;this.list.forEach((function(e){void 0===e.visible&&t.$set(e,"visible",!0)})),this.iconfontSrc&&Object(a["a"])({options:{family:c,source:'url("'.concat(this.iconfontSrc,'")')}})},beforeCreate:function(){this.__path__=this.$route.path},methods:{getIconPath:function(t,e){return this.selectedIndex===e&&t.selectedIconPath||t.iconPath||""},setSelectedIndex:function(){var t=this;if(this.$route.meta.isTabBar){this.__path__=this.$route.path;var e=this.visibleList.findIndex((function(e){return t.$route.meta.pagePath===e.pagePath}));this.selectedIndex=e}},_initVisibleList:function(){this.visibleList=this._initMidButton(this.list.filter((function(t){return!1!==t.visible})))},_getRealPath:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=/^([a-z-]+:)?\/\//i,n=/^data:.*,.*/;return e.test(t)||n.test(t)||0===t.indexOf("/")||(t="/"+t),Object(i["a"])(t)},_switchTab:function(e,n){var i=e.text,r=e.pagePath,a=e.isMidButton,s=void 0!==a&&a;if(s)Object(o["a"])("onTabBarMidButtonTap");else{this.selectedIndex=n;var c="/"+r;c===__uniRoutes[0].alias&&(c="/");var u={index:n,text:i,pagePath:r};this.$route.path!==c?(this.__path__=this.$route.path,uni.switchTab({from:"tabBar",url:c,detail:u})):t.emit("onTabItemTap",u)}},_initMidButton:function(t){var e=t.length;if(e%2===0&&Object(r["l"])(this.midButton)){var n={width:"50px",height:"50px",iconWidth:"24px"};for(var i in n)this.midButton[i]=this.midButton[i]||n[i];t.splice(~~(e/2),0,Object.assign({},this.midButton,{isMidButton:!0}))}return t},_uniTabbarBdStyle:function(t){return Object.assign({},{width:t.width,height:t.height,backgroundImage:t.backgroundImage?"url('"+this._getRealPath(t.backgroundImage)+"')":""})}}}}).call(this,n("0dd1"))},a954:function(t,e,n){"use strict";n.r(e),n.d(e,"addInterceptor",(function(){return i})),n.d(e,"removeInterceptor",(function(){return r}));var i=[{name:"method",type:[String,Object],required:!0}],r=i},aa92:function(t,e,n){"use strict";function i(t){return s(t)||a(t)||o(t)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function a(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function s(t){if(Array.isArray(t))return c(t)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return p}));var u=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onNavigationBarSearchInputFocusChanged","onPageShow","onPageHide","onPageResize","onServiceCreated","onServiceAttached"],l=["data","properties","options","relations"];function d(t,e,n){e[n]&&Object.assign(t[n]||(t[n]={}),e[n])}function h(t,e){t.push.apply(t,i(e))}function f(t,e){l.forEach((function(n){d(t,e,n)})),e.externalClasses&&h(t.externalClasses||(t.externalClasses=[]),e.externalClasses),e.path&&(t.path=e.path)}function p(t){var e=t.extend;t.extend=function(t){t=t||{};var n=t.methods;return n&&Object.keys(n).forEach((function(e){-1!==u.indexOf(e)&&(t[e]=n[e],delete n[e])})),e.call(this,t)};var n=t.config.optionMergeStrategies,i=n.created;u.forEach((function(t){n[t]=i})),n.mpOptions=function(t,e){if(!t)return e;var n=Object.create(null);return f(n,t),e&&f(n,e),n}}},abb2:function(t,e,n){"use strict";n.r(e),n.d(e,"connectSocket",(function(){return r})),n.d(e,"sendSocketMessage",(function(){return o})),n.d(e,"closeSocket",(function(){return a}));var i={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},r={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}},method:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.method=Object.values(i).indexOf(t)<0?i.GET:t}},protocols:{type:[Array,String],validator:function(t,e){"string"===typeof t&&(t=[t]),e.protocols=(t||[]).filter((function(t){return"string"===typeof t}))}}},o={data:{type:[String,ArrayBuffer]}},a={code:{type:Number},reason:{type:String}}},abbf:function(t,e,n){"use strict";(function(t){n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return h}));var i=n("a741"),r=n("1164");n.d(e,"b",(function(){return r["b"]})),n.d(e,"c",(function(){return r["c"]}));var o=Object.assign;function a(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}var s=a(),c=a();function u(){return c}function l(){return s}function d(t){var e=t.path,n=t.query,i=t.referrerInfo;return o(c,{path:e,query:n||{},referrerInfo:i||{}}),o(s,c),c}function h(e,n,o){return{created:function(){Object(r["a"])(e,this,n),o.meta.name||t.emit("onPageNotFound",{path:o.path,query:o.query,isEntryPage:!0})},beforeMount:function(){this.$el=document.getElementById("app")},mounted:function(){d({path:this.$route.meta&&this.$route.meta.pagePath,query:this.$route.query}),Object(i["a"])(this,"onLaunch",c),Object(i["a"])(this,"onShow",s)}}}}).call(this,n("0dd1"))},abea:function(t,e,n){"use strict";function i(t){var e=t.service;return{service:e,provider:[]}}n.r(e),n.d(e,"getProvider",(function(){return i}))},ac57:function(t,e,n){},add1:function(t,e,n){},af33:function(t,e,n){"use strict";n.r(e),n.d(e,"createSelectorQuery",(function(){return v}));var i=n("f2b3"),r=n("db70"),o=n("303f"),a=n("bfa6"),s=n("ee03"),c=n("60db");function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}var h={canvas:o["CanvasContext"],map:a["MapContext"],video:s["VideoContext"],editor:c["EditorContext"]};function f(t){if(t&&t.context){var e=t.context,n=e.id,i=e.name,r=e.page,o=h[i];t.context=o&&new o(n,r)}}var p=function(){function t(e,n,i,r){u(this,t),this._selectorQuery=e,this._component=n,this._selector=i,this._single=r}return d(t,[{key:"boundingClientRect",value:function(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},t),this._selectorQuery}},{key:"fields",value:function(t,e){return this._selectorQuery._push(this._selector,this._component,this._single,t,e),this._selectorQuery}},{key:"scrollOffset",value:function(t){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},t),this._selectorQuery}},{key:"context",value:function(t){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},t),this._selectorQuery}}]),t}(),g=function(){function t(e){u(this,t),this._page=e,this._queue=[],this._queueCb=[],this._nodesRef=null}return d(t,[{key:"exec",value:function(t){var e=this;return Object(r["c"])("requestComponentInfo",this._page,this._queue,(function(n){var r=e._queueCb;n.forEach((function(t,n){Array.isArray(t)?t.forEach(f):f(t);var o=r[n];Object(i["k"])(o)&&o.call(e,t)})),Object(i["k"])(t)&&t.call(e,n)})),this._nodesRef}},{key:"in",value:function(t){return this._component=t._$id||t,this}},{key:"select",value:function(t){return this._nodesRef=new p(this,this._component,t,!0)}},{key:"selectAll",value:function(t){return this._nodesRef=new p(this,this._component,t,!1)}},{key:"selectViewport",value:function(){return this._nodesRef=new p(this,0,"",!0)}},{key:"_push",value:function(t,e,n,i,r){this._queue.push({component:e,selector:t,single:n,fields:i}),this._queueCb.push(r)}}]),t}();function v(t){return new g(t||Object(r["b"])("createSelectorQuery"))}},b0ef:function(t,e,n){"use strict";n.r(e),n.d(e,"$on",(function(){return i})),n.d(e,"$once",(function(){return r})),n.d(e,"$off",(function(){return o})),n.d(e,"$emit",(function(){return a}));var i=[{name:"event",type:[String,Array],required:!0},{name:"callback",type:Function,required:!0}],r=i,o=[{name:"event",type:[String,Array]},{name:"callback",type:Function}],a=[{name:"event",type:String,required:!0}]},b0fb:function(t,e,n){"use strict";var i=n("8519"),r=n.n(i);r.a},b10a:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var i=n("18fd");function r(t){return t.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}function o(t){return t.reduce((function(t,e){var n=e.value,i=e.name;return n.match(/ /)&&-1===["style","src"].indexOf(i)&&(n=n.split(" ")),t[i]?Array.isArray(t[i])?t[i].push(n):t[i]=[t[i],n]:t[i]=n,t}),{})}function a(e){e=r(e);var n=[],a={node:"root",children:[]};return Object(i["a"])(e,{start:function(t,e,i){var r={name:t};if(0!==e.length&&(r.attrs=o(e)),i){var s=n[0]||a;s.children||(s.children=[]),s.children.push(r)}else n.unshift(r)},end:function(e){var i=n.shift();if(i.name!==e&&t.error("invalid state: mismatch end tag"),0===n.length)a.children.push(i);else{var r=n[0];r.children||(r.children=[]),r.children.push(i)}},chars:function(t){var e={type:"text",text:t};if(0===n.length)a.children.push(e);else{var i=n[0];i.children||(i.children=[]),i.children.push(e)}},comment:function(t){var e={node:"comment",text:t},i=n[0];i.children||(i.children=[]),i.children.push(e)}}),a.children}}).call(this,n("3ad9")["default"])},b253:function(t,e,n){"use strict";function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}function a(t,e){return a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},a(t,e)}function s(t){return function(){var e,n=d(t);if(l()){var i=d(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)}}function c(t,e){return!e||"object"!==i(e)&&"function"!==typeof e?u(t):e}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}n.d(e,"a",(function(){return X}));var h=function(t){var e=t.import("blots/block/embed"),n=function(t){o(n,t);var e=s(n);function n(){return r(this,n),e.apply(this,arguments)}return n}(e);return n.blotName="divider",n.tagName="HR",{"formats/divider":n}};function f(t){return f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function m(t){return function(){var e,n=w(t);if(_()){var i=w(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return b(this,e)}}function b(t,e){return!e||"object"!==f(e)&&"function"!==typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function w(t){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},w(t)}var k=function(t){var e=t.import("blots/inline"),n=function(t){g(n,t);var e=m(n);function n(){return p(this,n),e.apply(this,arguments)}return n}(e);return n.blotName="ins",n.tagName="INS",{"formats/ins":n}},S=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.BLOCK,whitelist:["left","right","center","justify"]},o=new i.Style("align","text-align",r);return{"formats/align":o}},x=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.BLOCK,whitelist:["rtl"]},o=new i.Style("direction","direction",r);return{"formats/direction":o}};function C(t){return C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(t)}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}function M(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}function j(t,e){return j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},j(t,e)}function I(t){return function(){var e,n=B(t);if(L()){var i=B(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return P(this,e)}}function P(t,e){return!e||"object"!==C(e)&&"function"!==typeof e?$(t):e}function $(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function N(t,e,n){return N="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=D(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}},N(t,e,n||t)}function D(t,e){while(!Object.prototype.hasOwnProperty.call(t,e))if(t=B(t),null===t)break;return t}function B(t){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},B(t)}var R=function(t){var e=t.import("parchment"),n=t.import("blots/container"),i=t.import("formats/list/item"),r=function(t){M(r,t);var n=I(r);function r(t){var i;O(this,r),i=n.call(this,t);var o=function(n){if(n.target.parentNode===t){var r=i.statics.formats(t),o=e.find(n.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("click",o),i}return E(r,null,[{key:"create",value:function(t){var e="ordered"===t?"OL":"UL",n=N(B(r),"create",this).call(this,e);return"checked"!==t&&"unchecked"!==t||n.setAttribute("data-checked","checked"===t),n}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),E(r,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return T({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,e){if(t instanceof i)N(B(r.prototype),"insertBefore",this).call(this,t,e);else{var n=null==e?this.length():e.offset(this),o=this.split(n);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){N(B(r.prototype),"optimize",this).call(this,t);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=e.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}N(B(r.prototype),"replace",this).call(this,t)}}]),r}(n);return r.blotName="list",r.scope=e.Scope.BLOCK_BLOT,r.tagName=["OL","UL"],r.defaultChild="list-item",r.allowedChildren=[i],{"formats/list":r}},z=function(t){var e=t.import("parchment"),n=e.Scope,i=t.import("formats/background"),r=new i.constructor("backgroundColor","background-color",{scope:n.INLINE});return{"formats/backgroundColor":r}},W=n("f2b3"),F=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.BLOCK},o=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],s={};return o.concat(a).forEach((function(t){s["formats/".concat(t)]=new i.Style(t,Object(W["n"])(t),r)})),s},q=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.INLINE},o=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return o.forEach((function(t){a["formats/".concat(t)]=new i.Style(t,Object(W["n"])(t),r)})),a},H=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r=[{name:"lineHeight",scope:n.BLOCK},{name:"letterSpacing",scope:n.INLINE},{name:"textDecoration",scope:n.INLINE},{name:"textIndent",scope:n.BLOCK}],o={};return r.forEach((function(t){var e=t.name,n=t.scope;o["formats/".concat(e)]=new i.Style(e,Object(W["n"])(e),{scope:n})})),o},V=n("cb0f"),U=function(t){var e=t.import("formats/image"),n=["alt","height","width","data-custom","class","data-local"];e.sanitize=function(t){return t?Object(V["a"])(t):t},e.formats=function(t){return n.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})};var i=e.prototype.format;e.prototype.format=function(t,e){n.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):i.call(this,t,e)}},Y=function(t){var e=t.import("formats/link");e.sanitize=function(t){var n=document.createElement("a");n.href=t;var i=n.href.slice(0,n.href.indexOf(":"));return e.PROTOCOL_WHITELIST.concat("file").indexOf(i)>-1?t:e.SANITIZED_URL}};function X(t){var e={divider:h,ins:k,align:S,direction:x,list:R,background:z,box:F,font:q,text:H,image:U,link:Y},n={};Object.values(e).forEach((function(e){return Object.assign(n,e(t))})),t.register(n,!0)}},b282:function(t,e,n){"use strict";(function(t){var i=n("f2b3"),r=n("5cf8"),o=n("5a23"),a=n("a878");t.subscribe("getSelectedTextRange",(function(e){var n=e.pageId,i=e.callbackId,r=document.activeElement,o=r.tagName.toLowerCase(),a=["input","textarea"],s={};a.includes(o)?(s.errMsg="getSelectedTextRange:ok",s.start=r.selectionStart,s.end=r.selectionEnd):s.errMsg="getSelectedTextRange:fail no focused",t.publishHandler("onGetSelectedTextRange",{callbackId:i,data:s},n)}));var s;e["a"]={name:"Field",mixins:[r["a"],o["a"],a["a"]],model:{prop:"value",event:"update:value"},props:{value:{type:[String,Number],default:""},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},data:function(){return{composing:!1,valueSync:this._getValueString(this.value,this.type),focusSync:this.focus,fixColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image")}},watch:{focus:function(t){t?this._focus():this._blur()},focusSync:function(t){this.$emit("update:focus",t)},cursorNumber:function(){this._checkCursor()},selectionStartNumber:function(){this._checkSelection()},selectionEndNumber:function(){this._checkSelection()}},computed:{needFocus:function(){return this.autoFocus||this.focus},cursorNumber:function(){var t=Number(this.cursor);return isNaN(t)?-1:t},selectionStartNumber:function(){var t=Number(this.selectionStart);return isNaN(t)?-1:t},selectionEndNumber:function(){var t=Number(this.selectionEnd);return isNaN(t)?-1:t}},created:function(){var t=this,e=this.__valueChange=Object(i["d"])((function(e){t.valueSync=t._getValueString(e,t.type)}),100);this.$watch("value",e),this.__triggerInput=Object(i["s"])((function(e,n){t.__valueChange.cancel(),t.$emit("update:value",n.value),t.$trigger("input",e,n)}),100),this.$triggerInput=function(e,n,i){t.__valueChange.cancel(),t.__triggerInput(e,n),i&&t.__triggerInput.flush()}},beforeDestroy:function(){this.__valueChange.cancel(),this.__triggerInput.cancel()},directives:{field:{inserted:function(t,e,n){n.context._initField(t)}}},methods:{_getValueString:function(t,e){return"number"===e&&isNaN(Number(t))&&(t=""),null===t?"":String(t)},_initField:function(t){var e=this;this._field=t,s=s||Date.now(),this.needFocus&&setTimeout((function(){e._focus()}))},_focus:function(){if(this.needFocus){var t=this._field;if(t)t.focus();else setTimeout(this._focus.bind(this),100)}},_blur:function(){var t=this._field;t&&t.blur()},_onFocus:function(t){this.focusSync=!0,this.$trigger("focus",t,{value:this.valueSync}),this._checkSelection(),this._checkCursor()},_onBlur:function(t){this.composing&&(this.composing=!1,this._onInput(t,!0)),this.focusSync=!1;var e,n=t.target;"number"===n.type?(n.type="text",e=n.selectionEnd,n.type="number"):e=n.selectionEnd,this.$trigger("blur",t,{value:this.valueSync,cursor:e})},_checkSelection:function(){var t=this._field;this.focusSync&&this.selectionStartNumber>-1&&this.selectionEndNumber>-1&&"number"!==t.type&&(t.selectionStart=this.selectionStartNumber,t.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){var t=this._field;this.focusSync&&this.selectionStartNumber<0&&this.selectionEndNumber<0&&this.cursorNumber>-1&&"number"!==t.type&&(t.selectionEnd=t.selectionStart=this.cursorNumber)}}}}).call(this,n("501c"))},b2bb:function(t,e,n){},b34d:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-form",t._g({},t.$listeners),[n("span",[t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Form",mixins:[o["f"]],data:function(){return{childrenList:[]}},listeners:{"@form-submit":"_onSubmit","@form-reset":"_onReset","@form-group-update":"_formGroupUpdateHandler"},methods:{_onSubmit:function(t){var e={};this.childrenList.forEach((function(t){t._getFormData&&t._getFormData().key&&(e[t._getFormData().key]=t._getFormData().value)})),this.$trigger("submit",t,{value:e})},_onReset:function(t){this.$trigger("reset",t,{}),this.childrenList.forEach((function(t){t._resetFormData&&t._resetFormData()}))},_formGroupUpdateHandler:function(t){if("add"===t.type)this.childrenList.push(t.vm);else{var e=this.childrenList.indexOf(t.vm);this.childrenList.splice(e,1)}}}},s=a,c=n("2877"),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},b3b1:function(t){t.exports=JSON.parse('{"uni.app.quit":"Appuyez à nouveau pour quitter l\'application","uni.async.error":"La connexion a expiré, cliquez sur l\'écran pour réessayer.","uni.showActionSheet.cancel":"Annuler","uni.showToast.unpaired":"Veuillez noter que showToast doit être associé à hideToast","uni.showLoading.unpaired":"Veuillez noter que showLoading doit être associé à hideLoading","uni.showModal.cancel":"Annuler","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Annuler","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Caméra","uni.chooseVideo.cancel":"Annuler","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Caméra","uni.chooseFile.notUserActivation":"La boîte de dialogue du sélecteur de fichier ne peut être affichée qu\'avec une activation par l\'utilisateur","uni.previewImage.cancel":"Annuler","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Enregistré avec succès","uni.previewImage.save.fail":"Échec de la sauvegarde","uni.setClipboardData.success":"Contenu copié","uni.scanCode.title":"Code d’analyse","uni.scanCode.album":"Album","uni.scanCode.fail":"Fallo de reconocimiento","uni.scanCode.flash.on":"Appuyez pour activer l\'éclairage","uni.scanCode.flash.off":"Appuyez pour désactiver l\'éclairage","uni.startSoterAuthentication.authContent":"Reconnaissance de l\'empreinte digitale","uni.picker.done":"OK","uni.picker.cancel":"Annuler","uni.video.danmu":"Danmu","uni.video.volume":"Le Volume","uni.button.feedback.title":"retour d\'information","uni.button.feedback.send":"envoyer","uni.chooseLocation.search":"Trouve","uni.chooseLocation.cancel":"Annuler"}')},b418:function(t,e,n){"use strict";n.r(e),n.d(e,"invokePushCallback",(function(){return u})),n.d(e,"getPushClientId",(function(){return h})),n.d(e,"onPushMessage",(function(){return p})),n.d(e,"offPushMessage",(function(){return g}));var i,r,o,a=n("f2b3"),s=n("6710");function c(t){try{return JSON.parse(t)}catch(e){}return t}function u(t){if("enabled"===t.type)o=!0;else if("clientId"===t.type)i=t.cid,r=t.errMsg,d(i,t.errMsg);else if("pushMsg"===t.type)for(var e={type:"receive",data:c(t.message)},n=0;n<f.length;n++){var a=f[n];if(a(e),e.stopped)break}else"click"===t.type&&f.forEach((function(e){e({type:"click",data:c(t.message)})}))}var l=[];function d(t,e){l.forEach((function(n){n(t,e)})),l.length=0}function h(t){Object(a["l"])(t)||(t={});var e=Object(s["a"])(t),n=e.success,c=e.fail,u=e.complete,h=Object(a["k"])(n),f=Object(a["k"])(c),p=Object(a["k"])(u);Promise.resolve().then((function(){"undefined"===typeof o&&(o=!1,i="",r="uniPush is not enabled"),l.push((function(t,e){var i;t?(i={errMsg:"getPushClientId:ok",cid:t},h&&n(i)):(i={errMsg:"getPushClientId:fail"+(e?" "+e:"")},f&&c(i)),p&&u(i)})),"undefined"!==typeof i&&d(i,r)}))}var f=[],p=function(t){-1===f.indexOf(t)&&f.push(t)},g=function(t){if(t){var e=f.indexOf(t);e>-1&&f.splice(e,1)}else f.length=0}},b501:function(t,e,n){"use strict";n.r(e),n.d(e,"setClipboardData",(function(){return r}));var i=n("a6b0"),r={data:{type:String,required:!0},showToast:{type:Boolean,default:!0},beforeSuccess:function(t,e){if(e.showToast){var n=Object(i["g"])("uni.setClipboardData.success");n&&uni.showToast({title:n,icon:"success",mask:!1,style:{width:void 0}})}}}},b628:function(t,e,n){"use strict";var i=n("8b18"),r=n.n(i);r.a},b705:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-rich-text",t._g({},t.$listeners),[n("div",{ref:"content"},[n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._updateView()}}})],1)])},r=[],o=n("b10a"),a=n("f2b3"),s=n("cb0f"),c={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},u={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function l(t){return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(t,e){if(Object(a["i"])(u,e)&&u[e])return u[e];if(/^#[0-9]{1,4}$/.test(e))return String.fromCharCode(e.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(e))return String.fromCharCode("0"+e.slice(1));var n=document.createElement("div");return n.innerHTML=t,n.innerText||n.textContent}))}function d(t,e,n){return"img"===t&&"src"===e?Object(s["a"])(n):n}function h(t,e,n,i){return t.forEach((function(t){if(Object(a["l"])(t))if(Object(a["i"])(t,"type")&&"node"!==t.type)"text"===t.type&&"string"===typeof t.text&&""!==t.text&&e.appendChild(document.createTextNode(l(t.text)));else{if("string"!==typeof t.name||!t.name)return;var r=t.name.toLowerCase();if(!Object(a["i"])(c,r))return;var o=document.createElement(r);if(!o)return;var s=t.attrs;if(n&&o.setAttribute(n,""),Object(a["l"])(s)){var u=c[r]||[];Object.keys(s).forEach((function(t){var e=s[t];switch(t){case"class":Array.isArray(e)&&(e=e.join(" "));case"style":o.setAttribute(t,e);break;default:-1!==u.indexOf(t)&&o.setAttribute(t,d(r,t,e))}}))}f(t,o,i);var p=t.children;Array.isArray(p)&&p.length&&h(t.children,o,n,i),e.appendChild(o)}})),e}function f(t,e,n){["a","img"].includes(t.name)&&n&&(e.setAttribute("onClick","return false;"),e.addEventListener("click",(function(e){n(e,{node:t}),e.stopPropagation()}),!0))}var p={name:"RichText",props:{nodes:{type:[Array,String],default:function(){return[]}}},watch:{nodes:function(t){this._renderNodes(t)}},mounted:function(){this._renderNodes(this.nodes)},methods:{_renderNodes:function(t){var e="",n=this;while(n)!e&&(e=n.$options._scopeId),n=n.$parent;var i=!!this.$listeners.itemclick;if(this._isMounted){"string"===typeof t&&(t=Object(o["a"])(t));var r=h(t,document.createDocumentFragment(),e,i&&this.triggerItemClick);r.appendChild(this.$refs.sensor.$el);var a=this.$refs.content;a.innerHTML="",a.appendChild(r)}},_updateView:function(){window.dispatchEvent(new CustomEvent("updateview"))},triggerItemClick:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.$trigger("itemclick",t,e)}}},g=p,v=n("2877"),m=Object(v["a"])(g,i,r,!1,null,null,null);e["default"]=m.exports},b865:function(t,e,n){"use strict";(function(t,i){function r(e,n){return t.emit("api."+e,n)}function o(t,e,n){i.UniViewJSBridge.subscribeHandler(t,e,n)}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))}).call(this,n("0dd1"),n("c8ba"))},b866:function(t,e,n){"use strict";n.r(e),n.d(e,"getImageInfo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}}}},ba15:function(t,e,n){"use strict";var i=function(t,e,n,i){t.addEventListener(e,(function(t){"function"===typeof n&&!1===n(t)&&(t.preventDefault(),t.stopPropagation())}),{capture:i,passive:!1})};e["a"]={beforeDestroy:function(){document.removeEventListener("mousemove",this.__mouseMoveEventListener),document.removeEventListener("mouseup",this.__mouseUpEventListener)},methods:{touchtrack:function(t,e,n){var r,o,a,s=this,c=this,u=0,l=0,d=0,h=0,f=function(t,n,i,r){if(!1===c[e]({target:t.target,currentTarget:t.currentTarget,preventDefault:t.preventDefault.bind(t),stopPropagation:t.stopPropagation.bind(t),touches:t.touches,changedTouches:t.changedTouches,detail:{state:n,x:i,y:r,dx:i-u,dy:r-l,ddx:i-d,ddy:r-h,timeStamp:t.timeStamp}}))return!1},p=null;i(t,"touchstart",(function(t){if(o=!0,1===t.touches.length&&!p)return p=t,u=d=t.touches[0].pageX,l=h=t.touches[0].pageY,f(t,"start",u,l)})),i(t,"mousedown",(function(t){if(a=!0,!o&&!p)return p=t,u=d=t.pageX,l=h=t.pageY,f(t,"start",u,l)})),i(t,"touchmove",(function(t){if(1===t.touches.length&&p){var e=f(t,"move",t.touches[0].pageX,t.touches[0].pageY);return d=t.touches[0].pageX,h=t.touches[0].pageY,e}}));var g=this.__clickEventListener=function(t){t.preventDefault(),t.stopPropagation()},v=this.__mouseMoveEventListener=function(t){if(!o&&a&&p){!r&&(Math.abs(d-u)>2||Math.abs(h-l)>2)&&(document.addEventListener("click",g,!0),r=!0);var e=f(t,"move",t.pageX,t.pageY);return d=t.pageX,h=t.pageY,e}};document.addEventListener("mousemove",v),i(t,"touchend",(function(t){if(0===t.touches.length&&p)return o=!1,p=null,f(t,"end",t.changedTouches[0].pageX,t.changedTouches[0].pageY)}));var m=this.__mouseUpEventListener=function(t){if(a=!1,!o&&p)return r&&setTimeout((function(){document.removeEventListener("click",s.__clickEventListener,!0),r=!1}),0),p=null,f(t,"end",t.pageX,t.pageY)};document.addEventListener("mouseup",m),i(t,"touchcancel",(function(t){if(p){o=!1;var e=p;return p=null,f(t,n?"cancel":"end",e.touches[0].pageX,e.touches[0].pageY)}}))}}}},bacd:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-canvas",t._g({attrs:{"canvas-id":t.canvasId,"disable-scroll":t.disableScroll}},t._listeners),[n("canvas",{ref:"canvas",attrs:{width:"300",height:"150"}}),n("div",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden"}},[t._t("default")],2),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],1)},r=[],o=n("d8ca"),a=o["a"],s=(n("0741"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},bb00:function(t,e,n){"use strict";n.r(e),n.d(e,"onKeyboardHeightChange",(function(){return a})),n.d(e,"offKeyboardHeightChange",(function(){return s}));var i,r=n("a118"),o=n("db70");function a(t){Object(r["b"])(i),i=t}function s(){i=null}Object(o["d"])("onKeyboardHeightChange",(function(t){i&&Object(r["a"])(i,t)}))},bd97:function(t,e,n){"use strict";n.r(e),e["default"]={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}}},bdb1:function(t,e,n){var i={"./base/base64.js":"1ca3","./base/can-i-use.js":"3648","./base/interceptor.js":"2eae","./base/upx2px.js":"45d2","./context/audio.js":"2c67","./context/background-audio.js":"c3f2","./context/canvas.js":"303f","./context/create-map-context.js":"bfa6","./context/create-video-context.js":"ee03","./context/editor.js":"60db","./context/inner-audio.js":"57a7","./device/network.js":"8b3f","./device/theme.js":"d001","./keyboard/get-selected-text-range.js":"d502","./keyboard/keyboard.js":"bb00","./media/preview-image.js":"898f","./media/recorder.js":"3676","./network/download-file.js":"f0c3","./network/request.js":"82c2","./network/socket.js":"811a","./network/update.js":"c7d8","./network/upload-file.js":"1ff3","./plugin/push.js":"b418","./ui/create-animation.js":"1e4d","./ui/create-intersection-observer.js":"091a","./ui/create-media-query-observer.js":"68fb","./ui/create-selector-query.js":"af33","./ui/load-font-face.js":"0001","./ui/locale.js":"9776","./ui/page-scroll-to.js":"84e0","./ui/set-page-meta.js":"2ec6","./ui/tab-bar.js":"454d","./ui/window.js":"9b1b"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="bdb1"},bdbe:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("8bbf"),r=n.n(i),o=n("a6b0");__uniConfig.tabBar=r.a.observable(Object(o["f"])(__uniConfig.tabBar||{}));var a=__uniConfig.tabBar},be12:function(t,e,n){"use strict";(function(t){function n(t,e,n){var i=Array.prototype.slice.call(t.changedTouches).filter((function(t){return t.identifier===e}))[0];return!!i&&(t.deltaY=i.pageY-n,!0)}var i="pulling",r="reached",o="aborting",a="refreshing",s="restoring";e["a"]={mounted:function(){var e=this;this.enablePullDownRefresh&&(this.refreshContainerElem=this.$refs.refresh.$el,this.refreshControllerElem=this.refreshContainerElem.querySelector(".uni-page-refresh"),this.refreshInnerElemStyle=this.refreshControllerElem.querySelector(".uni-page-refresh-inner").style,t.on(this.$route.params.__id__+".startPullDownRefresh",(function(){e.state||(e.state=a,e._addClass(),setTimeout((function(){e._refreshing()}),50))})),t.on(this.$route.params.__id__+".stopPullDownRefresh",(function(){e.state===a&&(e._removeClass(),e.state=s,e._addClass(),e._restoring((function(){e._removeClass(),e.state=e.distance=e.offset=null})))})))},methods:{_touchstart:function(t){var e=t.changedTouches[0];this.touchId=e.identifier,this.startY=e.pageY,[o,a,s].indexOf(this.state)>=0?this.canRefresh=!1:this.canRefresh=!0},_touchmove:function(t){if(this.canRefresh&&n(t,this.touchId,this.startY)){var e=t.deltaY;if(0===(document.documentElement.scrollTop||document.body.scrollTop)){if(!(e<0)||this.state){t.preventDefault(),null==this.distance&&(this.offset=e,this.state=i,this._addClass()),e-=this.offset,e<0&&(e=0),this.distance=e;var o=e>=this.refreshOptions.range&&this.state!==r,a=e<this.refreshOptions.range&&this.state!==i;(o||a)&&(this._removeClass(),this.state=this.state===r?i:r,this._addClass()),this._pulling(e)}}else this.touchId=null}},_touchend:function(t){var e=this;n(t,this.touchId,this.startY)&&null!==this.state&&(this.state===i?(this._removeClass(),this.state=o,this._addClass(),this._aborting((function(){e._removeClass(),e.state=e.distance=e.offset=null}))):this.state===r&&(this._removeClass(),this.state=a,this._addClass(),this._refreshing()))},_toggleClass:function(t){if(this.state){var e=this.refreshContainerElem;e&&e.classList[t]("uni-page-refresh--"+this.state)}},_addClass:function(){this._toggleClass("add")},_removeClass:function(){this._toggleClass("remove")},_pulling:function(t){var e=this.refreshControllerElem;if(e){var n=e.style,i=t/this.refreshOptions.range;i>1?i=1:i*=i*i;var r=Math.round(t/(this.refreshOptions.range/this.refreshOptions.height)),o=r?"translate3d(-50%, "+r+"px, 0)":0;n.webkitTransform=o,n.clip="rect("+(45-r)+"px,45px,45px,-5px)",this.refreshInnerElemStyle.webkitTransform="rotate("+360*i+"deg)"}},_aborting:function(t){var e=this.refreshControllerElem;if(e){var n=e.style;if(n.webkitTransform){n.webkitTransition="-webkit-transform 0.3s",n.webkitTransform="translate3d(-50%, 0, 0)";var i=function i(){r&&clearTimeout(r),e.removeEventListener("webkitTransitionEnd",i),n.webkitTransition="",t()};e.addEventListener("webkitTransitionEnd",i);var r=setTimeout(i,350)}else t()}},_refreshing:function(){var e=this.refreshControllerElem;if(e){var n=e.style;n.webkitTransition="-webkit-transform 0.2s",n.webkitTransform="translate3d(-50%, "+this.refreshOptions.height+"px, 0)",t.emit("onPullDownRefresh",{},this.$route.params.__id__)}},_restoring:function(t){var e=this.refreshControllerElem;if(e){var n=e.style;n.webkitTransition="-webkit-transform 0.3s",n.webkitTransform+=" scale(0.01)";var i=function i(){r&&clearTimeout(r),e.removeEventListener("webkitTransitionEnd",i),n.webkitTransition="",n.webkitTransform="translate3d(-50%, 0, 0)",t()};e.addEventListener("webkitTransitionEnd",i);var r=setTimeout(i,350)}}}}}).call(this,n("0dd1"))},be14:function(t,e,n){"use strict";n.r(e),function(t){function i(e,n){var i=t,r=i.invokeCallbackHandler;getApp().$router.push({type:"navigateTo",path:"/choose-location",query:e},(function(){var e=function e(i){t.unsubscribe("onChooseLocation",e),r(n,i?Object.assign(i,{errMsg:"chooseLocation:ok"}):{errMsg:"chooseLocation:fail"})};t.subscribe("onChooseLocation",e)}),(function(){r(n,{errMsg:"chooseLocation:fail"})}))}n.d(e,"chooseLocation",(function(){return i}))}.call(this,n("0dd1"))},bfa6:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"MapContext",(function(){return l})),n.d(e,"createMapContext",(function(){return d}));var i=n("db70"),r=n("f2b3");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function c(t,e,n,r){Object(i["c"])("operateMapPlayer",t,e,n,r)}t.subscribe("onMapMethodCallback",(function(t){var e=t.callbackId,n=t.data;r["a"].invoke(e,n)}));var u=["getCenterLocation","moveToLocation","getScale","getRegion","includePoints","translateMarker","addCustomLayer","removeCustomLayer","addGroundOverlay","removeGroundOverlay","updateGroundOverlay","initMarkerCluster","addMarkers","removeMarkers","moveAlong","openMapApp"],l=function(){function t(e,n){o(this,t),this.id=e,this.pageVm=n}return s(t,[{key:"on",value:function(t,e){c(this.id,this.pageVm,"on",{name:t,callback:e})}}]),t}();function d(t,e){return new l(t,e||Object(i["b"])("createMapContext"))}l.prototype.$getAppMap=function(){0},u.forEach((function(t){l.prototype[t]=r["a"].warp((function(e,n){e.callbackId=n,c(this.id,this.pageVm,t,e)}))}))}.call(this,n("0dd1"))},bfbd:function(t,e,n){},bfea:function(t,e,n){"use strict";var i=n("4e0b"),r=n.n(i);r.a},c0e5:function(t,e,n){},c195:function(t,e,n){},c2aa:function(t,e,n){},c33a:function(t,e,n){},c33f:function(t,e,n){"use strict";var i=n("c195"),r=n.n(i);r.a},c3f2:function(t,e,n){"use strict";n.r(e),n.d(e,"getBackgroundAudioManager",(function(){return f}));var i=n("db70");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=["canplay","play","pause","stop","ended","timeUpdate","prev","next","error","waiting"],c={};s.forEach((function(t){c[t]=[]}));var u,l=[{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"buffered",readonly:!0},{name:"title",cache:!0},{name:"epname",cache:!0},{name:"singer",cache:!0},{name:"coverImgUrl",cache:!0},{name:"webUrl",cache:!0},{name:"protocol",readonly:!0,default:"http"},{name:"playbackRate",default:1,cache:!0}],d=["prev","next"],h=function(){function t(){var e=this;r(this,t),this._options={},Object(i["d"])("onBackgroundAudioStateChange",(function(t){var e=t.state,n=t.errMsg,i=t.errCode;c[e].forEach((function(t){"function"===typeof t&&t("error"===e?{errMsg:n,errCode:i}:{})}))})),d.forEach((function(t){Object(i["d"])("onBackgroundAudio".concat(t[0].toUpperCase()+t.substr(1)),(function(){c[t].forEach((function(t){"function"===typeof t&&t({})}))}))})),l.forEach((function(t){var n=t.name,r={get:function(){var e=t.cache?this._options:Object(i["c"])("getBackgroundAudioState");return n in e?e[n]:t.default}};t.readonly||(r.set=function(t){this._options[n]=t,Object(i["c"])("setBackgroundAudioState",Object.assign({},this._options,{audioId:this.id}),n)}),Object.defineProperty(e,n,r)}))}return a(t,[{key:"play",value:function(){this._operate("play")}},{key:"pause",value:function(){this._operate("pause")}},{key:"stop",value:function(){this._operate("stop")}},{key:"seek",value:function(t){this._operate("seek",{currentTime:t})}},{key:"_operate",value:function(t,e){Object(i["c"])("operateBackgroundAudio",Object.assign({},e,{operationType:t}))}}]),t}();function f(){return u||(u=new h)}s.forEach((function(t){var e=t[0].toUpperCase()+t.substr(1);h.prototype["on".concat(e)]=function(e){c[t].push(e)}}))},c418:function(t,e,n){},c41f:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-cover-view",t._g({attrs:{"scroll-top":t.scrollTop}},t.$listeners),[n("div",{ref:"content",staticClass:"uni-cover-view"},[t._t("default")],2)])},r=[],o={name:"CoverView",props:{scrollTop:{type:[String,Number],default:0}},watch:{scrollTop:function(t){this.setScrollTop(t)}},mounted:function(){this.setScrollTop(this.scrollTop)},methods:{setScrollTop:function(t){var e=this.$refs.content;"scroll"===getComputedStyle(e).overflowY&&(e.scrollTop=this._upx2pxNum(t))},_upx2pxNum:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(function(t){return uni.upx2px(parseFloat(t))})),parseFloat(t)||0}}},a=o,s=(n("cc5f"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},c4c5:function(t,e,n){"use strict";(function(t,i){n.d(e,"a",(function(){return f}));var r=n("f2b3");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=/^\s+|\s+$/g,u=/\s+/;function l(t,e,n){var i=[],r=function(t){return r=n?function(t){return!e.contains(t)}:function(t){return e.contains(t)},r(t)};return t.forEach((function(t){t=t.replace(c,""),r(t)&&i.push(t)})),i}function d(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}var h=function(){function e(t){o(this,e),this.$vm=t,Object.defineProperty(this,"$el",{get:function(){return t.$el}})}return s(e,[{key:"selectComponent",value:function(t){if(this.$el&&t){var e=this.$el.querySelector(t),n=e.__vue__||e;return n.$getComponentDescriptor&&n.$getComponentDescriptor(n,!1)}}},{key:"selectAllComponents",value:function(t){if(!this.$el||!t)return[];for(var e=[],n=this.$el.querySelectorAll(t),i=0;i<n.length;i++){var r=n[i],o=r.__vue__||r;o.$getComponentDescriptor&&e.push(o.$getComponentDescriptor(o,!1))}return e}},{key:"setStyle",value:function(t){return this.$el&&t?("string"===typeof t&&(t=d(t)),Object(r["l"])(t)&&(this.$el.__wxsStyle=t,this.$vm.$forceUpdate()),this):this}},{key:"addClass",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!this.$el||!e.length)return this;var i=l(e,this.$el.classList,!0);if(i.length){var r=this.$el.__wxsAddClass||"";this.$el.__wxsAddClass=r+(r?" ":"")+i.join(" "),this.$vm.$forceUpdate()}return this}},{key:"removeClass",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!this.$el||!e.length)return this;var i=this.$el.classList,r=this.$el.__wxsAddClass?this.$el.__wxsAddClass.split(u):[],o=l(e,i,!1);if(o.length){var a=[];o.forEach((function(t){var e=r.findIndex((function(e){return e===t}));-1!==e&&r.splice(e,1),a.push(t)})),this.$el.__wxsRemoveClass=a,this.$el.__wxsAddClass=r.join(" "),this.$vm.$forceUpdate()}return this}},{key:"hasClass",value:function(t){return this.$el&&this.$el.classList.contains(t)}},{key:"getComputedStyle",value:function(){return this.$el?window.getComputedStyle(this.$el):{}}},{key:"getDataset",value:function(){return this.$el&&this.$el.dataset}},{key:"callMethod",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e in this.$vm?this.$vm[e](JSON.parse(JSON.stringify(n))):this.$vm._$id&&t.publishHandler("onWxsInvokeCallMethod",{cid:this.$vm._$id,method:e,args:n})}},{key:"requestAnimationFrame",value:function(t){return i.requestAnimationFrame(t),this}},{key:"getState",value:function(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}},{key:"triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.$vm.$emit(t,e),this}},{key:"setTimeout",value:function(t,e){return window.setTimeout(t,e)}},{key:"clearTimeout",value:function(t){return window.clearTimeout(t)}},{key:"getBoundingClientRect",value:function(){return this.$el.getBoundingClientRect()}}]),e}();function f(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e&&t&&t.$options.name&&0===t.$options.name.indexOf("VUni")&&(t=t.$parent),t)return"__wxsComponentDescriptor"in t||(t.__wxsComponentDescriptor=new h(t)),t.__wxsComponentDescriptor}}).call(this,n("501c"),n("c8ba"))},c61c:function(t,e,n){"use strict";n.r(e);var i=n("f2b3"),r=n("d4cd");function o(t){return Math.sqrt(t.x*t.x+t.y*t.y)}var a,s,c={name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},data:function(){return{width:0,height:0,items:[]}},created:function(){this.gapV={x:null,y:null},this.pinchStartLen=null},mounted:function(){this._resize(),Object(r["b"])()},methods:{_resize:function(){this._getWH(),this.items.forEach((function(t,e){t.componentInstance.setParent()}))},_find:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,n=this.$el;function i(t){for(var r=0;r<e.length;r++){var o=e[r];if(t===o.componentInstance.$el)return o}return t===n||t===document.body||t===document?null:i(t.parentNode)}return i(t)},_touchstart:function(t){Object(r["a"])({disable:!0});var e=t.touches;if(e&&e.length>1){var n={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(this.pinchStartLen=o(n),this.gapV=n,!this.scaleArea){var i=this._find(e[0].target),a=this._find(e[1].target);this._scaleMovableView=i&&i===a?i:null}}},_touchmove:function(t){var e=t.touches;if(e&&e.length>1){t.preventDefault();var n={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(null!==this.gapV.x&&this.pinchStartLen>0){var i=o(n)/this.pinchStartLen;this._updateScale(i)}this.gapV=n}},_touchend:function(t){Object(r["a"])({disable:!1});var e=t.touches;e&&e.length||t.changedTouches&&(this.gapV.x=0,this.gapV.y=0,this.pinchStartLen=null,this.scaleArea?this.items.forEach((function(t){t.componentInstance._endScale()})):this._scaleMovableView&&this._scaleMovableView.componentInstance._endScale())},_updateScale:function(t){t&&1!==t&&(this.scaleArea?this.items.forEach((function(e){e.componentInstance._setScale(t)})):this._scaleMovableView&&this._scaleMovableView.componentInstance._setScale(t))},_getWH:function(){var t=window.getComputedStyle(this.$el),e=this.$el.getBoundingClientRect();this.width=e.width-["Left","Right"].reduce((function(e,n){return e+parseFloat(t["border"+n+"Width"])+parseFloat(t["padding"+n])}),0),this.height=e.height-["Top","Bottom"].reduce((function(e,n){return e+parseFloat(t["border"+n+"Width"])+parseFloat(t["padding"+n])}),0)}},render:function(t){var e=this,n=[],r=this.$slots.default&&Object(i["f"])(this.$slots.default,t);r&&r.forEach((function(t){t.componentOptions&&"v-uni-movable-view"===t.componentOptions.tag&&n.push(t)})),this.items=n;var o=Object.assign({},this.$listeners),a=["touchstart","touchmove","touchend"];return a.forEach((function(t){var n=o[t],i=e["_".concat(t)];o[t]=n?[].concat(n,i):i})),t("uni-movable-area",{on:o},[t("v-uni-resize-sensor",{on:{resize:this._resize}}),r])}},u=c,l=(n("a3e5"),n("2877")),d=Object(l["a"])(u,a,s,!1,null,null,null);e["default"]=d.exports},c6af:function(t,e,n){"use strict";n.r(e),n.d(e,"getWindowInfo",(function(){return a}));var i=n("a470"),r=n("d8c8"),o=n.n(r);function a(){var t=window.screen,e=window.devicePixelRatio,n=/^Apple/.test(navigator.vendor)&&"number"===typeof window.orientation,r=n&&90===Math.abs(window.orientation),a=n?Math[r?"max":"min"](t.width,t.height):t.width,s=n?Math[r?"min":"max"](t.height,t.width):t.height,c=Math.min(window.innerWidth,document.documentElement.clientWidth,a)||a,u=window.innerHeight,l=o.a.top,d={left:o.a.left,right:c-o.a.right,top:o.a.top,bottom:u-o.a.bottom,width:c-o.a.left-o.a.right,height:u-o.a.top-o.a.bottom},h=Object(i["a"])(),f=h.top,p=h.bottom;return u-=f,u-=p,{windowTop:f,windowBottom:p,windowWidth:c,windowHeight:u,pixelRatio:e,screenWidth:a,screenHeight:s,statusBarHeight:l,safeArea:d,safeAreaInsets:{top:o.a.top,right:o.a.right,bottom:o.a.bottom,left:o.a.left},screenTop:s-u}}},c7d8:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.r(e),n.d(e,"getUpdateManager",(function(){return c}));var a,s=function(){function t(){i(this,t)}return o(t,[{key:"onCheckForUpdate",value:function(){}},{key:"onUpdateReady",value:function(){}},{key:"onUpdateFailed",value:function(){}},{key:"applyUpdate",value:function(){}}]),t}();function c(){return a||(a=new s)}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c8ed:function(t,e,n){"use strict";var i=n("72ad"),r=n.n(i);r.a},c96e:function(t,e,n){"use strict";var i=n("1307"),r=n.n(i);r.a},cb0f:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("0f74"),r=/^([a-z-]+:)?\/\//i,o=/^data:.*,.*/;function a(t){var e=__uniConfig.router.base;return e?"/"!==e&&0===("/"+t).indexOf(e)?"/"+t:e+t:t}function s(t){if("./"===__uniConfig.router.base&&(t=t.replace(/^\.\/static\//,"/static/")),0===t.indexOf("/")){if(0!==t.indexOf("//"))return a(t.substr(1));t="https:"+t}if(r.test(t)||o.test(t)||0===t.indexOf("blob:"))return t;var e=getCurrentPages();return e.length?a(Object(i["a"])(e[e.length-1].$page.route,t).substr(1)):t}},cc5f:function(t,e,n){"use strict";var i=n("324c"),r=n.n(i);r.a},cc76:function(t,e,n){"use strict";var i=Object.create(null),r=n("19c4");r.keys().forEach((function(t){Object.assign(i,r(t))})),e["a"]=i},cc89:function(t,e,n){},cdc1:function(t,e,n){"use strict";(function(t,i){var r=n("f2b3"),o=n("65a8"),a=n("81ea"),s=n("f1ea"),c=n("bdbe");e["a"]={name:"App",components:a["a"],mixins:s["default"],props:{keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{transitionName:"fade",hideTabBar:!1,sysComponents:this.$sysComponents,showLayout:!1,showMaxWidth:!1,tabBarMediaQuery:!1}},computed:{key:function(){return this.$route.meta.name+"-"+this.$route.params.__id__+"-"+(__uniConfig.reLaunch||1)},tabBarOptions:function(){return c["a"]},hasTabBar:function(){return c["a"].list&&c["a"].list.length},showTabBar:function(){return!this.hideTabBar&&(this.$route.meta.isTabBar||this.tabBarMediaQuery)}},watch:{$route:function(e,n){t.emit("onHidePopup")},hideTabBar:function(t,e){if(uni.canIUse("css.var")){var n=t?0:o["c"],r=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",a=n&&r?"calc(".concat(n,"px + ").concat(r,"(safe-area-inset-bottom))"):"".concat(n,"px");document.documentElement.style.setProperty("--window-bottom",a),i.debug("uni.".concat(a?"showTabBar":"hideTabBar",":--window-bottom=").concat(a))}window.dispatchEvent(new CustomEvent("resize"))}},created:function(){uni.canIUse("css.var")&&document.documentElement.style.setProperty("--status-bar-height","0px"),this.initMediaQuery()},mounted:function(){window.addEventListener("message",(function(e){Object(r["l"])(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&t.emit("onWebInvokeAppService",e.data.data,e.data.pageId)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?t.emit("onAppEnterForeground",{}):t.emit("onAppEnterBackground")}))},methods:{onLayout:function(t){this.showLayout=t},onMaxWidth:function(t){this.showMaxWidth=t},initMediaQuery:function(){var t=this;if(window.matchMedia&&c["a"].matchMedia&&Object(r["i"])(c["a"].matchMedia,"minWidth")){var e=window.matchMedia("(min-width: "+c["a"].matchMedia.minWidth+"px)");e.addListener((function(e){t.tabBarMediaQuery=e.matches})),this.tabBarMediaQuery=e.matches}}}}}).call(this,n("0dd1"),n("3ad9")["default"])},cf6f:function(t,e,n){"use strict";function i(t,e,n){n(null,t)}n.d(e,"a",(function(){return i}))},d001:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"onThemeChange",(function(){return a})),n.d(e,"onUIStyleChange",(function(){return s}));var i=n("a118"),r=n("db70"),o=[];function a(t){o.push(t)}function s(e){o.push(e),t.warn('The "uni.onUIStyleChange" API is deprecated, please use "uni.onThemeChange". Learn more: https://uniapp.dcloud.net.cn/api/system/theme.')}Object(r["d"])("onThemeChange",(function(t){o.forEach((function(e){Object(i["a"])(e,t)}))})),Object(r["d"])("onUIStyleChange",(function(t){o.forEach((function(e){Object(i["a"])(e,t)}))}))}.call(this,n("3ad9")["default"])},d013:function(t,e,n){"use strict";n.r(e),n.d(e,"loadSubPackage",(function(){return i}));var i={root:{type:String,required:!0,validator:function(t,e){var n=__uniConfig.subPackages;return Array.isArray(n)&&0!==n.length?n.find((function(e){return e.root===t}))?void 0:"root `"+t+"` is not found":"no subPackages"}}}},d218:function(t,e){},d29c:function(t,e,n){},d3bd:function(t,e,n){"use strict";n.r(e);n("a6b0");var i,r,o=n("8af1"),a={name:"Button",mixins:[o["c"],o["a"],o["f"]],props:{hoverClass:{type:String,default:"button-hover"},disabled:{type:[Boolean,String],default:!1},id:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},formType:{type:String,default:"",validator:function(t){return~["","submit","reset"].indexOf(t)}},openType:{type:String,default:""}},data:function(){return{clickFunction:null}},methods:{_onClick:function(t,e){this.disabled||(e&&this.$el.click(),this.formType?this.$dispatch("Form","submit"===this.formType?"uni-form-submit":"uni-form-reset",{type:this.formType}):this.openType)},_bindObjectListeners:function(t,e){if(e)for(var n in e){var i=t.on[n],r=e[n];t.on[n]=i?[].concat(i,r):r}return t}},render:function(t){var e=this,n=Object.create(null);return this.$listeners&&Object.keys(this.$listeners).forEach((function(t){(!e.disabled||"click"!==t&&"tap"!==t)&&(n[t]=e.$listeners[t])})),this.hoverClass&&"none"!==this.hoverClass?t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{touchstart:this._hoverTouchStart,touchend:this._hoverTouchEnd,touchcancel:this._hoverTouchCancel,mousedown:this._hoverMousedown,mouseup:this._hoverMouseup,click:this._onClick}},n),this.$slots.default):t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{click:this._onClick}},n),this.$slots.default)},listeners:{"label-click":"_onClick","@label-click":"_onClick"}},s=a,c=(n("5676"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},d46d:function(t,e){t.exports=n},d4b6:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return _}));var i=n("f2b3"),r=n("85b6"),o=n("24d9"),a=n("a470");function s(t,e){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n={id:t.id,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,dataset:Object(r["b"])(t)};return e&&Object.assign(n,e),n}function c(t){if(t){for(var e=[],n=Object(a["a"])(),i=n.top,r=0;r<t.length;r++){var o=t[r];e.push({identifier:o.identifier,pageX:o.pageX,pageY:o.pageY-i,clientX:o.clientX,clientY:o.clientY-i,force:o.force||0})}return e}return[]}function u(t){return t.startsWith("mouse")||["contextmenu"].includes(t)}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(e._processed)return e.type=n.type||t,e;if("click"===t){var l=Object(a["a"])(),d=l.top;n={x:e.x,y:e.y-d},e.touches=e.changedTouches=[{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}]}var h=Object(o["b"])({type:n.type||t,timeStamp:e.timeStamp||0,detail:n,target:s(i,n),currentTarget:s(r,!1,!0),touches:e instanceof Event||e instanceof CustomEvent?c(e.touches):e.touches,changedTouches:e instanceof Event||e instanceof CustomEvent?c(e.changedTouches):e.changedTouches,preventDefault:function(){},stopPropagation:function(){}});if(u(t)){var f=Object(a["a"])(),p=f.top;h.pageX=e.pageX,h.pageY=e.pageY-p,h.clientX=e.clientX,h.clientY=e.clientY-p}return h}var d=350,h=10,f=!!i["r"]&&{passive:!0},p=!1;function g(){p&&(clearTimeout(p),p=!1)}var v=0,m=0;function b(t){if(g(),1===t.touches.length){var e=t.touches[0],n=e.pageX,i=e.pageY;v=n,m=i,p=setTimeout((function(){var e=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});e.touches=t.touches,e.changedTouches=t.changedTouches,t.target.dispatchEvent(e)}),d)}}function y(t){if(p){if(1!==t.touches.length)return g();var e=t.touches[0],n=e.pageX,i=e.pageY;return Math.abs(n-v)>h||Math.abs(i-m)>h?g():void 0}}function _(){window.addEventListener("touchstart",b,f),window.addEventListener("touchmove",y,f),window.addEventListener("touchend",g,f),window.addEventListener("touchcancel",g,f)}},d4cd:function(t,e,n){"use strict";function i(){}function r(t){t.disable}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}))},d502:function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"getSelectedTextRange",(function(){return c}));var r=n("62b5"),o=n("db70"),a=n("a118"),s=Object(r["a"])("getSelectedTextRangeEvent");function c(e,n){var i=Object(o["a"])();t.publishHandler("getSelectedTextRange",{pageId:i,callbackId:s.push((function(t){Object(a["a"])(n,t)}))},i)}t.subscribe("onGetSelectedTextRange",(function(t){var e=t.callbackId,n=t.data;i.log("onGetSelectedTextRange");var r=s.pop(e);r&&r(n)}))}.call(this,n("0dd1"),n("3ad9")["default"])},d5be:function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"chooseImage",(function(){return d}));var r=n("e2e2"),o=n("a6b0"),a=n("3563"),s=n("8af1"),c=t,u=c.invokeCallbackHandler,l=null;function d(t,e){var n=t.count,c=t.sourceType,d=t.extension;l&&(document.body.removeChild(l),l=null),l=Object(a["default"])({count:n,sourceType:c,extension:d,type:"image"}),document.body.appendChild(l),l.addEventListener("change",(function(t){for(var i=[],o=t.target.files.length,a=function(e){var o=t.target.files[e],a=void 0;Object.defineProperty(o,"path",{get:function(){return a=a||Object(r["b"])(o),a}}),e<n&&i.push(o)},s=0;s<o;s++)a(s);var c={errMsg:"chooseImage:ok",get tempFilePaths(){return i.map((function(t){var e=t.path;return e}))},tempFiles:i};u(e,c)})),l.click(),s["d"].getStatus()||i.warn("".concat(Object(o["g"])("uni.chooseFile.notUserActivation")))}}.call(this,n("0dd1"),n("3ad9")["default"])},d5ec:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a={name:"RadioGroup",mixins:[o["a"],o["f"]],props:{name:{type:String,default:""}},data:function(){return{radioList:[]}},listeners:{"@radio-change":"_changeHandler","@radio-group-update":"_radioGroupUpdateHandler"},mounted:function(){this._resetRadioGroupValue(this.radioList.length-1)},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t,e){var n=this.radioList.indexOf(e);this._resetRadioGroupValue(n,!0),this.$trigger("change",t,{value:e.radioValue})},_radioGroupUpdateHandler:function(t){if("add"===t.type)this.radioList.push(t.vm);else{var e=this.radioList.indexOf(t.vm);this.radioList.splice(e,1)}},_resetRadioGroupValue:function(t,e){var n=this;this.radioList.forEach((function(i,r){r!==t&&(e?n.radioList[r].radioChecked=!1:n.radioList.forEach((function(t,e){r>=e||n.radioList[e].radioChecked&&(n.radioList[r].radioChecked=!1)})))}))},_getFormData:function(){var t={};if(""!==this.name){var e="";this.radioList.forEach((function(t){t.radioChecked&&(e=t.value)})),t.value=e,t.key=this.name}return t}}},s=a,c=(n("fb61"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},d65e:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("28c0"),r={},o=[],a=0;function s(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];a++;var n=new i["a"](a,t);return e&&(r[a]=n,o.push(n)),n}},d677:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-cover-image",t._g({attrs:{src:t.src}},t.$listeners),[n("div",{staticClass:"uni-cover-image"},[t.src?n("img",{attrs:{src:t.$getRealPath(t.src)},on:{load:t._load,error:t._error}}):t._e()])])},r=[],o={name:"CoverImage",props:{src:{type:String,default:""}},methods:{_load:function(t){this.$trigger("load",t)},_error:function(t){this.$trigger("error",t)}}},a=o,s=(n("5d1d"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},d8c8:function(t,e,n){"use strict";var i,r,o=["top","left","right","bottom"],a={};function s(){return r="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":"",r}function c(){if(r="string"===typeof r?r:s(),r){var t=[],e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e={passive:!0}}});window.addEventListener("test",null,n)}catch(f){}var c=document.createElement("div");u(c,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),o.forEach((function(t){h(c,t)})),document.body.appendChild(c),l(),i=!0}else o.forEach((function(t){a[t]=0}));function u(t,e){var n=t.style;Object.keys(e).forEach((function(t){var i=e[t];n[t]=i}))}function l(e){e?t.push(e):t.forEach((function(t){t()}))}function h(t,n){var i=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div"),c=document.createElement("div"),h=100,f=1e4,p={position:"absolute",width:h+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:r+"(safe-area-inset-"+n+")"};u(i,p),u(o,p),u(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),u(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),i.appendChild(s),o.appendChild(c),t.appendChild(i),t.appendChild(o),l((function(){i.scrollTop=o.scrollTop=f;var t=i.scrollTop,r=o.scrollTop;function a(){this.scrollTop!==(this===i?t:r)&&(i.scrollTop=o.scrollTop=f,t=i.scrollTop,r=o.scrollTop,d(n))}i.addEventListener("scroll",a,e),o.addEventListener("scroll",a,e)}));var g=getComputedStyle(i);Object.defineProperty(a,n,{configurable:!0,get:function(){return parseFloat(g.paddingBottom)}})}}function u(t){return i||c(),a[t]}var l=[];function d(t){l.length||setTimeout((function(){var t={};l.forEach((function(e){t[e]=a[e]})),l.length=0,h.forEach((function(e){e(t)}))}),0),l.push(t)}var h=[];function f(t){s()&&(i||c(),"function"===typeof t&&h.push(t))}function p(t){var e=h.indexOf(t);e>=0&&h.splice(e,1)}var g={get support(){return 0!=("string"===typeof r?r:s()).length},get top(){return u("top")},get left(){return u("left")},get right(){return u("right")},get bottom(){return u("bottom")},onChange:f,offChange:p};t.exports=g},d8ca:function(t,e,n){"use strict";(function(t){var i,r=n("8af1"),o=n("a20f"),a=n("cf6f"),s=n("e2e2");function c(t){return h(t)||d(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){if(t){if("string"===typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function d(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function h(t){if(Array.isArray(t))return f(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function p(t){return t=t.slice(0),t[3]=t[3]/255,"rgba("+t.join(",")+")"}function g(t,e){return[].map.call(e,(function(e){var n=t.getBoundingClientRect();return{identifier:e.identifier,x:e.clientX-n.left,y:e.clientY-n.top}}))}function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return i||(i=document.createElement("canvas")),i.width=t,i.height=e,i}e["a"]={name:"Canvas",mixins:[r["g"]],props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},data:function(){return{actionsWaiting:!1}},computed:{id:function(){return this.canvasId},_listeners:function(){var t=this,e=Object.assign({},this.$listeners),n=["touchstart","touchmove","touchend"];return n.forEach((function(n){var i=e[n],r=[];i&&r.push((function(e){t.$trigger(n,Object.assign({},e,{touches:g(e.currentTarget,e.touches),changedTouches:g(e.currentTarget,e.changedTouches)}))})),t.disableScroll&&"touchmove"===n&&r.push(t._touchmove),e[n]=r})),e},pixelRatio:function(){return this.hidpi?o["a"]:1}},created:function(){this._actionsDefer=[],this._images={}},mounted:function(){this._resize()},beforeDestroy:function(){var t=this.$refs.canvas;t.height=t.width=0},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n,r=this[e];0!==e.indexOf("_")&&"function"===typeof r&&r(i)},_resize:function(t){var e=this.$refs.canvas,n=!t||e.width!==Math.floor(t.width*this.pixelRatio)||e.height!==Math.floor(t.height*this.pixelRatio);if(n)if(e.width>0&&e.height>0){var i=e.getContext("2d"),r=i.getImageData(0,0,e.width,e.height);Object(o["b"])(e,this.hidpi),i.putImageData(r,0,0)}else Object(o["b"])(e,this.hidpi)},_touchmove:function(t){t.preventDefault()},actionsChanged:function(e){var n=this,i=e.actions,r=e.reserve,o=e.callbackId,a=this;if(i)if(this.actionsWaiting)this._actionsDefer.push([i,r,o]);else{var s=this.$refs.canvas,u=s.getContext("2d");r||(u.fillStyle="#000000",u.strokeStyle="#000000",u.shadowColor="#000000",u.shadowBlur=0,u.shadowOffsetX=0,u.shadowOffsetY=0,u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,s.width,s.height)),this.preloadImage(i);var l=function(t){var e=i[t],r=e.method,s=e.data;if(/^set/.test(r)&&"setTransform"!==r){var l,d=r[3].toLowerCase()+r.slice(4);if("fillStyle"===d||"strokeStyle"===d){if("normal"===s[0])l=p(s[1]);else if("linear"===s[0]){var g=u.createLinearGradient.apply(u,c(s[1]));s[2].forEach((function(t){var e=t[0],n=p(t[1]);g.addColorStop(e,n)})),l=g}else if("radial"===s[0]){var v=s[1][0],m=s[1][1],b=s[1][2],y=u.createRadialGradient(v,m,0,v,m,b);s[2].forEach((function(t){var e=t[0],n=p(t[1]);y.addColorStop(e,n)})),l=y}else if("pattern"===s[0]){var _=n.checkImageLoaded(s[1],i.slice(t+1),o,(function(t){t&&(u[d]=u.createPattern(t,s[2]))}));return _?"continue":"break"}u[d]=l}else if("globalAlpha"===d)u[d]=s[0]/255;else if("shadow"===d)h=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"],s.forEach((function(t,e){u[h[e]]="shadowColor"===h[e]?p(t):t}));else if("fontSize"===d){var w=u.__font__||u.font;u.__font__=u.font=w.replace(/\d+\.?\d*px/,s[0]+"px")}else"lineDash"===d?(u.setLineDash(s[0]),u.lineDashOffset=s[1]||0):"textBaseline"===d?("normal"===s[0]&&(s[0]="alphabetic"),u[d]=s[0]):"font"===d?u.__font__=u.font=s[0]:u[d]=s[0]}else if("fillPath"===r||"strokePath"===r)r=r.replace(/Path/,""),u.beginPath(),s.forEach((function(t){u[t.method].apply(u,t.data)})),u[r]();else if("fillText"===r)u.fillText.apply(u,s);else if("drawImage"===r){if(f=function(){var e=c(s),n=e[0],r=e.slice(1);if(a._images=a._images||{},!a.checkImageLoaded(n,i.slice(t+1),o,(function(t){t&&u.drawImage.apply(u,[t].concat(c(r.slice(4,8)),c(r.slice(0,4))))})))return"break"}(),"break"===f)return"break"}else"clip"===r?(s.forEach((function(t){u[t.method].apply(u,t.data)})),u.clip()):u[r].apply(u,s)};t:for(var d=0;d<i.length;d++){var h,f,g=l(d);switch(g){case"break":break t;case"continue":continue}}!this.actionsWaiting&&o&&t.publishHandler("onCanvasMethodCallback",{callbackId:o,data:{errMsg:"drawCanvas:ok"}},this.$page.id)}},preloadImage:function(t){var e=this;t.forEach((function(t){var n=t.method,i=t.data,r="";function o(){var t=e._images[r]=new Image;t.onload=function(){t.ready=!0},Object(s["d"])(r).then((function(e){t.src=e})).catch((function(){t.src=r}))}"drawImage"===n?(r=i[0],r=e.$getRealPath(r),i[0]=r):"setFillStyle"===n&&"pattern"===i[0]&&(r=i[1],r=e.$getRealPath(r),i[1]=r),r&&!e._images[r]&&o()}))},checkImageLoaded:function(t,e,n,i){var r=this,o=this._images[t];return o.ready?(i(o),!0):(this._actionsDefer.unshift([e,!0]),this.actionsWaiting=!0,o.onload=function(){o.ready=!0,i(o),r.actionsWaiting=!1;var t=r._actionsDefer.slice(0);r._actionsDefer=[];for(var e=t.shift();e;)r.actionsChanged({actions:e[0],reserve:e[1],callbackId:n}),e=t.shift()},!1)},getImageData:function(e){var n,i=e.x,r=void 0===i?0:i,o=e.y,a=void 0===o?0:o,s=e.width,c=e.height,u=e.destWidth,l=e.destHeight,d=e.hidpi,h=void 0===d||d,f=e.dataType,p=e.quality,g=void 0===p?1:p,m=e.type,b=void 0===m?"png":m,y=e.callbackId,_=this.$refs.canvas,w=_.offsetWidth-r;s=s?Math.min(s,w):w;var k=_.offsetHeight-a;c=c?Math.min(c,k):k,h?(u=s,l=c):u||l?u?l||(l=Math.round(c/s*u)):u=Math.round(s/c*l):(u=Math.round(s*this.pixelRatio),l=Math.round(c*this.pixelRatio));var S,x=v(u,l),C=x.getContext("2d");"jpeg"!==b&&"jpg"!==b||(b="jpeg",C.fillStyle="#fff",C.fillRect(0,0,u,l)),C.__hidpi__=!0,C.drawImageByCanvas(_,r,a,s,c,0,0,u,l,!1);try{var T;if("base64"===f)n=x.toDataURL("image/".concat(b),g);else{var O=C.getImageData(0,0,u,l);n=Array.prototype.slice.call(O.data)}S={errMsg:"canvasGetImageData:ok",data:n,compressed:T,width:u,height:l}}catch(A){S={errMsg:"canvasGetImageData:fail ".concat(A)}}if(x.height=x.width=0,C.__hidpi__=!1,!y)return S;t.publishHandler("onCanvasMethodCallback",{callbackId:y,data:S},this.$page.id)},putImageData:function(e){var n=e.data,i=e.x,r=e.y,o=e.width,a=e.height,s=(e.compressed,e.callbackId);try{a||(a=Math.round(n.length/4/o));var c=v(o,a),u=c.getContext("2d");u.putImageData(new ImageData(new Uint8ClampedArray(n),o,a),0,0),this.$refs.canvas.getContext("2d").drawImage(c,i,r,o,a),c.height=c.width=0}catch(l){return void t.publishHandler("onCanvasMethodCallback",{callbackId:s,data:{errMsg:"canvasPutImageData:fail"}},this.$page.id)}t.publishHandler("onCanvasMethodCallback",{callbackId:s,data:{errMsg:"canvasPutImageData:ok"}},this.$page.id)},toTempFilePath:function(e){var n=this,i=e.x,r=void 0===i?0:i,o=e.y,s=void 0===o?0:o,c=e.width,u=e.height,l=e.destWidth,d=e.destHeight,h=e.fileType,f=e.quality,p=e.dirname,g=e.callbackId,v=this.getImageData({x:r,y:s,width:c,height:u,destWidth:l,destHeight:d,hidpi:!1,dataType:"base64",type:h,quality:f});v.data&&v.data.length?Object(a["a"])(v.data,p,(function(e,i){var r="toTempFilePath:".concat(e?"fail":"ok");e&&(r+=" ".concat(e.message)),t.publishHandler("onCanvasMethodCallback",{callbackId:g,data:{errMsg:r,tempFilePath:i}},n.$page.id)})):t.publishHandler("onCanvasMethodCallback",{callbackId:g,data:{errMsg:v.errMsg.replace("canvasPutImageData","toTempFilePath")}},this.$page.id)}}}}).call(this,n("501c"))},da71:function(t,e,n){"use strict";e["a"]={name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted:function(){var t=this,e={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},n=function(n){if(!t.disable){var i=Object.keys(e).find((function(t){var i=n.key,r=e[t];return r===i||Array.isArray(r)&&r.includes(i)}));i&&setTimeout((function(){t.$emit(i,n)}),0)}};document.addEventListener("keyup",n),this.$once("hook:beforeDestroy",(function(){document.removeEventListener("keyup",n)}))},render:function(){return null}}},db18:function(t,e,n){"use strict";var i=n("db76"),r=n.n(i);r.a},db70:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var i=n("3b67");function r(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return i["a"][t].apply(null,n)}function o(e,n){return t.on("api."+e,n)}function a(e){var n=getCurrentPages(),i=n.length;i||t.emit("onError","".concat(e,":fail"));var r=n[i-1];return r.$vm}function s(){var t=getCurrentPages(),e=t[t.length-1];return e&&e.$page.id}}).call(this,n("0dd1"))},db76:function(t,e,n){},db8e:function(t,e,n){"use strict";(function(t){function i(e,n){return n?e?e.$el:n.$el:t.error("page is not ready")}function r(t){return t.matches||(t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector||function(t){var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;while(--n>=0&&e.item(n)!==this);return n>-1}),t}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}))}).call(this,n("3ad9")["default"])},dc12:function(t,e,n){"use strict";n.r(e),n.d(e,"compressImage",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}}}},dd35:function(t,e,n){"use strict";(function(t){var i=n("e949"),r=n("cb0f"),o=n("15bb"),a={forward:"&#xe600;",back:"&#xe601;",share:"&#xe602;",favorite:"&#xe604;",home:"&#xe605;",menu:"&#xe606;",close:"&#xe650;"};e["a"]={name:"PageHead",mixins:[o["a"]],props:{backButton:{type:Boolean,default:!0},backgroundColor:{type:String,default:function(){return"transparent"===this.type?"#000":"#F8F8F8"}},textColor:{type:String,default:"#fff"},titleText:{type:String,default:""},duration:{type:String,default:"0"},timingFunc:{type:String,default:""},loading:{type:Boolean,default:!1},titleSize:{type:String,default:"16px"},type:{default:"default",validator:function(t){return-1!==["default","transparent","float"].indexOf(t)}},coverage:{type:String,default:"132px"},buttons:{type:Array,default:function(){return[]}},searchInput:{type:[Object,Boolean],default:function(){return!1}},titleImage:{type:String,default:""},titlePenetrate:{type:Boolean,default:!1},shadow:{type:Object,default:function(){return{}}}},data:function(){return{focus:!1,text:"",composing:!1,showPlaceholder:!1}},computed:{btns:function(){var t=this,e=[],n={};return this.buttons.length&&this.buttons.forEach((function(o){var a=Object.assign({},o);if(a.fontSrc&&!a.fontFamily){var s,c=a.fontSrc=Object(r["a"])(a.fontSrc);if(c in n)s=n[c];else{s="font".concat(Date.now()),n[c]=s;var u='@font-face{font-family: "'.concat(s,'";src: url("').concat(c,'") format("truetype")}');Object(i["a"])(u,"uni-btn-font-"+s)}a.fontFamily=s}a.color="transparent"===t.type?"#fff":a.color||t.textColor;var l=a.fontSize||("transparent"===t.type||/\\u/.test(a.text)?"22px":"27px");/\d$/.test(l)&&(l+="px"),a.fontSize=l,a.fontWeight=a.fontWeight||"normal",e.push(a)})),e},headClass:function(){var t=this.shadow.colorType,e={"uni-page-head-transparent":"transparent"===this.type,"uni-page-head-titlePenetrate":this.titlePenetrate,"uni-page-head-shadow":t};return t&&(e["uni-page-head-shadow-".concat(t)]=t),e}},mounted:function(){var e=this;if(this.searchInput){var n=this.$refs.input;n.$watch("composing",(function(t){e.composing=t})),n.$watch("valueSync",(function(t){e.showPlaceholder=!!t})),this.searchInput.disabled?n.$el.addEventListener("click",(function(){t.emit("onNavigationBarSearchInputClicked","")})):(n.$refs.input.addEventListener("keyup",(function(n){"ENTER"===n.key.toUpperCase()&&t.emit("onNavigationBarSearchInputConfirmed",{text:e.text})})),n.$refs.input.addEventListener("focus",(function(){t.emit("onNavigationBarSearchInputFocusChanged",{focus:!0})})),n.$refs.input.addEventListener("blur",(function(){t.emit("onNavigationBarSearchInputFocusChanged",{focus:!1})})))}},methods:{_back:function(){1===getCurrentPages().length?uni.reLaunch({url:"/"}):uni.navigateBack({from:"backbutton"})},_onBtnClick:function(e){t.emit("onNavigationBarButtonTap",Object.assign({},this.btns[e],{index:e}))},_formatBtnFontText:function(t){return t.fontSrc&&t.fontFamily?t.text.replace("\\u","&#x"):a[t.type]?a[t.type]:t.text||""},_formatBtnStyle:function(t){var e={color:t.color,fontSize:t.fontSize,fontWeight:t.fontWeight};return t.fontFamily&&(e.fontFamily=t.fontFamily),e},_focus:function(){this.focus=!0},_blur:function(){this.focus=!1},_input:function(e){t.emit("onNavigationBarSearchInputChanged",{text:e})},_clearInput:function(){this.text="",this._input(this.text)}}}}).call(this,n("0dd1"))},de29:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("f2b3");function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e,n){var r=e[t],o=!Object(i["i"])(n,t),s=n[t],c=d(Boolean,r.type);if(c>-1&&o&&!Object(i["i"])(r,"default")&&(s=!1),void 0===s&&Object(i["i"])(r,"default")){var u=r.default;s=Object(i["k"])(u)?u():u,n[t]=s}return a(r,t,s,o,n)}function a(t,e,n,i,r){if(t.required&&i)return"Missing required parameter `".concat(e,"`");if(null==n&&!t.required){var o=t.validator;return o?o(n,r):void 0}var a=t.type,s=!a||!0===a,u=[];if(a){Array.isArray(a)||(a=[a]);for(var l=0;l<a.length&&!s;l++){var d=c(n,a[l]);u.push(d.expectedType||""),s=d.valid}}if(!s)return h(e,n,u);var f=t.validator;return f?f(n,r):void 0}var s=/^(String|Number|Boolean|Function|Symbol)$/;function c(t,e){var n,o=u(e);if(s.test(o)){var a=r(t);n=a===o.toLowerCase(),n||"object"!==a||(n=t instanceof e)}else n=t.byteLength>=0||("Object"===o?Object(i["l"])(t):"Array"===o?Array.isArray(t):t instanceof e||Object(i["t"])(t)===u(e));return{valid:n,expectedType:o}}function u(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function l(t,e){return u(t)===u(e)}function d(t,e){if(!Array.isArray(e))return l(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(l(e[n],t))return n;return-1}function h(t,e,n){var r="parameter `".concat(t,"`.")+" Expected ".concat(n.join(", ")),o=n[0],a=Object(i["t"])(e),s=f(e,o),c=f(e,a);return 1===n.length&&g(o)&&!v(o,a)&&(r+=" with value ".concat(s)),r+=", got ".concat(a," "),g(a)&&(r+="with value ".concat(c,".")),r}function f(t,e){return"String"===e?'"'.concat(t,'"'):"".concat("Number"===e?Number(t):t)}var p=["string","number","boolean"];function g(t){return p.some((function(e){return t.toLowerCase()===e}))}function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.some((function(t){return"boolean"===t.toLowerCase()}))}},df1e:function(t,e,n){},e243:function(t,e,n){"use strict";(function(t){var i=n("cb0f"),r=n("bdbe");e["a"]={name:"CustomTabBar",props:{selected:{type:Number,default:0},showIcon:{type:Boolean,default:!0},direction:{type:String,default:"horizontal"}},data:function(){return{selectedIndex:this.selected}},computed:{tabBarOptions:function(){return r["a"]},hasTabBar:function(){return r["a"].list&&r["a"].list.length},showTabBar:function(){var t=getApp();return!t||!t.$children[0].hideTabBar}},watch:{selected:function(t){this.selectedIndex=t;var e=getApp().$children[0].$refs.tabBar;e&&(e.selectedIndex=t)},$route:function(t,e){if(t.meta.isTabBar){var n=r["a"].list.findIndex((function(e){return t.meta.pagePath===e.pagePath}));n>-1&&(this.selectedIndex=n)}}},methods:{_getRealPath:function(t){var e=/^([a-z-]+:)?\/\//i,n=/^data:.*,.*/;return e.test(t)||n.test(t)||0===t.indexOf("/")||(t="/"+t),Object(i["a"])(t)},_switchTab:function(e,n){var i=e.text,r=e.pagePath;this.selectedIndex=n;var o="/"+r;o===__uniRoutes[0].alias&&(o="/");var a={index:n,text:i,pagePath:r};this.$emit("onTabItemTap",a),this.$route.path===o&&t.emit("onTabItemTap",a)}}}}).call(this,n("0dd1"))},e298:function(t,e,n){"use strict";var i=n("add1"),r=n.n(i);r.a},e2e2:function(t,e,n){"use strict";n.d(e,"f",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return h}));var i=n("f2b3"),r={};function o(t,e){var n=r[t];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(t)?Promise.resolve(a(t)):e?Promise.reject(new Error("not find")):new Promise((function(e,n){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(){e(this.response)},i.onerror=n,i.send()}))}function a(t){t=t.split(",");var e=t[0].match(/:(.*?);/)[1],n=atob(t[1]),i=n.length,r=new Uint8Array(i);while(i--)r[i]=n.charCodeAt(i);return u(r,e)}function s(t){var e=t.split("/")[1];return e?".".concat(e):""}function c(t){t=t.split("#")[0].split("?")[0];var e=t.split("/");return e[e.length-1]}function u(t,e){if(!(t instanceof File)){e=e||t.type||"";var n="".concat(Date.now()).concat(s(e));try{t=new File([t],n,{type:e})}catch(i){t=t instanceof Blob?t:new Blob([t],{type:e}),t.name=t.name||n}}return t}function l(t){for(var e in r)if(Object(i["i"])(r,e)){var n=r[e];if(n===t)return e}var o=(window.URL||window.webkitURL).createObjectURL(t);return r[o]=t,o}function d(t){var e=document.createElement("a");return e.href=t,e.origin===location.origin?Promise.resolve(t):o(t).then(l)}function h(t){(window.URL||window.webkitURL).revokeObjectURL(t),delete r[t]}},e3a7:function(t,e,n){var i={"./base/event-bus.js":"6e0c","./base/get-browser-info.js":"fb3e","./constants.js":"8b67","./context/inner-audio.js":"f9d2","./context/operate-map-player.js":"0758","./context/operate-video-player.js":"f941","./device/accelerometer.js":"2bdd","./device/clipboard.js":"7bab","./device/compass.js":"f7b4","./device/get-system-info.js":"78c8","./device/get-window-info.js":"c6af","./device/make-phone-call.js":"7f4e","./device/network-info.js":"3d64","./device/vibrate.js":"44de","./file/file.js":"3b54","./file/open-document.js":"e826","./index.js":"d218","./keyboard/keyboard.js":"54f4","./location/choose-location.js":"be14","./location/get-location.js":"0554","./location/location-change.js":"5d74","./location/open-location.js":"6575","./media/MIMEType.js":"bd97","./media/choose-file.js":"3898","./media/choose-image.js":"d5be","./media/choose-video.js":"8ce3","./media/create_input.js":"3563","./media/get-image-info.js":"34b2","./media/get-video-info.js":"956d","./media/preview-image.js":"9e56","./network/download-file.js":"4f43","./network/request.js":"1a12","./network/socket.js":"893e","./network/upload-file.js":"7d18","./plugin/get-launch-options-sync.js":"0212","./plugin/get-provider.js":"abea","./route/route.js":"1a8c","./storage/storage.js":"e649","./ui/navigation-bar.js":"5964","./ui/popup.js":"56e9","./ui/pull-down-refresh.js":"45db","./ui/request-component-info.js":"09e5","./ui/tab-bar.js":"fcd1","./ui/window.js":"e8b5","./ui/windows.js":"0e5c","./util.js":"79d5"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="e3a7"},e4bc:function(t,e,n){"use strict";var i=n("581a"),r=n.n(i);r.a},e5bb:function(t,e,n){"use strict";n.r(e),n.d(e,"chooseLocation",(function(){return i}));var i={keyword:{type:String}}},e649:function(t,e,n){"use strict";function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.r(e),n.d(e,"setStorage",(function(){return a})),n.d(e,"setStorageSync",(function(){return s})),n.d(e,"getStorage",(function(){return c})),n.d(e,"getStorageSync",(function(){return u})),n.d(e,"removeStorage",(function(){return l})),n.d(e,"removeStorageSync",(function(){return d})),n.d(e,"clearStorage",(function(){return h})),n.d(e,"clearStorageSync",(function(){return f})),n.d(e,"getStorageInfo",(function(){return p})),n.d(e,"getStorageInfoSync",(function(){return g}));var r="uni-storage-keys";function o(t){var e=["object","string","number","boolean","undefined"];try{var n="string"===typeof t?JSON.parse(t):t,r=n.type;if(e.indexOf(r)>=0){var o=Object.keys(n);if(2===o.length&&"data"in n){if(i(n.data)===r)return n.data;if("object"===r&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===o.length)return""}}catch(a){}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=t.data,r=i(n),o="string"===r?n:JSON.stringify({type:r,data:n});try{localStorage.setItem(e,o)}catch(a){return{errMsg:"setStorage:fail ".concat(a)}}return{errMsg:"setStorage:ok"}}function s(t,e){a({key:t,data:e})}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=localStorage&&localStorage.getItem(e);if("string"!==typeof n)return{data:"",errMsg:"getStorage:fail"};var i=n;try{var r=JSON.parse(n),a=o(r);void 0!==a&&(i=a)}catch(s){}return{data:i,errMsg:"getStorage:ok"}}function u(t){var e=c({key:t});return e.data}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key;return localStorage&&localStorage.removeItem(e),{errMsg:"removeStorage:ok"}}function d(t){l({key:t})}function h(){return localStorage&&localStorage.clear(),{errMsg:"clearStorage:ok"}}function f(){h()}function p(){for(var t=localStorage&&localStorage.length||0,e=[],n=0,i=0;i<t;i++){var o=localStorage.key(i),a=localStorage.getItem(o);n+=o.length+a.length,o!==r&&e.push(o)}return{keys:e,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE,errMsg:"getStorageInfo:ok"}}function g(){var t=p();return delete t.errMsg,t}},e692:function(t,e,n){},e826:function(t,e,n){"use strict";n.r(e),function(t){function i(e,n){var i=e.filePath,r=t,o=r.invokeCallbackHandler;window.open(i),o(n,{errMsg:"openDocument:ok"})}n.d(e,"openDocument",(function(){return i}))}.call(this,n("0dd1"))},e8b5:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"onWindowResize",(function(){return a})),n.d(e,"offWindowResize",(function(){return s}));var i=[],r=[];function o(){r.push(setTimeout((function(){r.forEach((function(t){return clearTimeout(t)})),r.length=0;var e=t,n=e.invokeCallbackHandler,o=uni.getSystemInfoSync(),a=o.windowWidth,s=o.windowHeight,c=o.screenWidth,u=o.screenHeight,l=90===Math.abs(window.orientation),d=l?"landscape":"portrait";i.forEach((function(t){n(t,{deviceOrientation:d,size:{windowWidth:a,windowHeight:s,screenWidth:c,screenHeight:u}})}))}),20))}function a(t){i.length||window.addEventListener("resize",o),i.push(t)}function s(t){i.splice(i.indexOf(t),1),i.length||window.removeEventListener("resize",o)}}.call(this,n("0dd1"))},e949:function(t,e,n){"use strict";function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.getElementById(e);i&&n&&(i.parentNode.removeChild(i),i=null),i||(i=document.createElement("style"),i.type="text/css",e&&(i.id=e),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(t))}n.d(e,"a",(function(){return i}))},ea0f:function(t,e,n){"use strict";n.r(e),n.d(e,"scanCode",(function(){return i}));var i={onlyFromCamera:{type:Boolean},scanType:{type:Array},autoDecodeCharSet:{type:Boolean},sound:{type:String,default:"none"},autoZoom:{type:Boolean,default:!0}}},ea49:function(t,e,n){},ec33:function(t,e,n){"use strict";n.r(e),n.d(e,"getStorage",(function(){return i})),n.d(e,"getStorageSync",(function(){return r})),n.d(e,"setStorage",(function(){return o})),n.d(e,"setStorageSync",(function(){return a})),n.d(e,"removeStorage",(function(){return s})),n.d(e,"removeStorageSync",(function(){return c}));var i={key:{type:String,required:!0}},r=[{name:"key",type:String,required:!0}],o={key:{type:String,required:!0},data:{required:!0}},a=[{name:"key",type:String,required:!0},{name:"data",required:!0}],s=i,c=r},ec4b:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-view",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel,mousedown:t._hoverMousedown,mouseup:t._hoverMouseup}},t.$listeners),[t._t("default")],2):n("uni-view",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=n("83a6"),a={name:"View",mixins:[o["a"]],listeners:{"label-click":"clickHandler"}},s=a,c=(n("b0fb"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},ed1a:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return m}));var i=n("f2b3"),r=n("8542"),o=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting/,a=/^create|Manager$/,s=["createBLEConnection"],c=["request","downloadFile","uploadFile","connectSocket"],u=["createBLEConnection","createPushMessage"],l=/^on|^off/;function d(t){return a.test(t)&&-1===s.indexOf(t)}function h(t){return o.test(t)&&-1===u.indexOf(t)}function f(t){return l.test(t)&&"onPush"!==t}function p(t){return-1!==c.indexOf(t)}function g(t){return t.then((function(t){return[null,t]})).catch((function(t){return[t]}))}function v(t){return!(d(t)||h(t)||f(t))}function m(t,e){return v(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return Object(i["k"])(n.success)||Object(i["k"])(n.fail)||Object(i["k"])(n.complete)?Object(r["e"])(t,r["b"].apply(void 0,[t,e,n].concat(a))):Object(r["e"])(t,g(new Promise((function(i,o){r["b"].apply(void 0,[t,e,Object.assign({},n,{success:i,fail:o})].concat(a))}))))}:e}Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))})},ed78:function(t,e,n){"use strict";(function(t){var i=n("8aec"),r=n("f2b3"),o=n("d4cd"),a=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!!r["r"]&&{passive:t}},s=a();e["a"]={name:"ScrollView",mixins:[i["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}},computed:{upperThresholdNumber:function(){var t=Number(this.upperThreshold);return isNaN(t)?50:t},lowerThresholdNumber:function(){var t=Number(this.lowerThreshold);return isNaN(t)?50:t},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(t){this._scrollTopChanged(t)},scrollLeftNumber:function(t){this._scrollLeftChanged(t)},scrollIntoView:function(t){this._scrollIntoViewChanged(t)},refresherTriggered:function(t){!0===t?this._setRefreshState("refreshing"):!1===t&&this._setRefreshState("restore")}},mounted:function(){var t=this,e=null,n=null;this._attached=!0,this.toUpperNumber=0,this.triggerAbort=!1,this.beforeRefreshing=!1,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(e){e.preventDefault(),e.stopPropagation(),t._handleScroll.bind(t,e)()},this.__handleTouchMove=function(i){if(null!==e){var r=i.touches[0].pageX,o=i.touches[0].pageY,a=t.$refs.main;if(Math.abs(r-e.x)>Math.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&r>e.x)return void(n=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&r<e.x)return void(n=!1);n=!0}else n=!1;else if(t.scrollY)if(0===a.scrollTop&&o>e.y)n=!1,t.refresherEnabled&&!1!==i.cancelable&&i.preventDefault();else{if(a.scrollHeight===a.offsetHeight+a.scrollTop&&o<e.y)return void(n=!1);n=!0}else n=!1;if(n&&i.stopPropagation(),0===a.scrollTop&&1===i.touches.length&&(t.refreshState="pulling"),t.refresherEnabled&&"pulling"===t.refreshState){var s=o-e.y;0===t.toUpperNumber&&(t.toUpperNumber=o),t.beforeRefreshing?(t.refresherHeight=s+t.refresherThreshold,t.triggerAbort=!1):(t.refresherHeight=o-t.toUpperNumber,t.refresherHeight>0&&(t.triggerAbort=!0,t.$trigger("refresherpulling",i,{deltaY:s})));var c=t.refresherHeight/t.refresherThreshold;t.refreshRotate=360*(c>1?1:c)}}},this.__handleTouchStart=function(t){1===t.touches.length&&(Object(o["a"])({disable:!0}),e={x:t.touches[0].pageX,y:t.touches[0].pageY})},this.__handleTouchEnd=function(n){e=null,Object(o["a"])({disable:!1}),t.refresherHeight>=t.refresherThreshold?t._setRefreshState("refreshing"):t._setRefreshState("refresherabort")},this.$refs.main.addEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.addEventListener("touchmove",this.__handleTouchMove,a(!1)),this.$refs.main.addEventListener("scroll",this.__handleScroll,a(!1)),this.$refs.main.addEventListener("touchend",this.__handleTouchEnd,s),Object(o["b"])()},activated:function(){this.scrollY&&(this.$refs.main.scrollTop=this.lastScrollTop),this.scrollX&&(this.$refs.main.scrollLeft=this.lastScrollLeft)},beforeDestroy:function(){this.$refs.main.removeEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.removeEventListener("touchmove",this.__handleTouchMove,s),this.$refs.main.removeEventListener("scroll",this.__handleScroll,a(!1)),this.$refs.main.removeEventListener("touchend",this.__handleTouchEnd,s)},methods:{scrollTo:function(t,e){var n=this.$refs.main;t<0?t=0:"x"===e&&t>n.scrollWidth-n.offsetWidth?t=n.scrollWidth-n.offsetWidth:"y"===e&&t>n.scrollHeight-n.offsetHeight&&(t=n.scrollHeight-n.offsetHeight);var i=0,r="";"x"===e?i=n.scrollLeft-t:"y"===e&&(i=n.scrollTop-t),0!==i&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===e?r="translateX("+i+"px) translateZ(0)":"y"===e&&(r="translateY("+i+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,t,e),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===e?n.style.overflowX="hidden":"y"===e&&(n.style.overflowY="hidden"),this.$refs.content.style.transform=r,this.$refs.content.style.webkitTransform=r)},_handleTrack:function(t){if("start"===t.detail.state)return this._x=t.detail.x,this._y=t.detail.y,void(this._noBubble=null);"end"===t.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-t.detail.y)/Math.abs(this._x-t.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-t.detail.x)/Math.abs(this._y-t.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=t.detail.x,this._y=t.detail.y,this._noBubble&&t.stopPropagation()},_handleScroll:function(t){var e=t.target;this.$trigger("scroll",t,{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,deltaX:this.lastScrollLeft-e.scrollLeft,deltaY:this.lastScrollTop-e.scrollTop}),this.scrollY&&(e.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-e.scrollTop>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"top"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollTop+e.offsetHeight+this.lowerThresholdNumber>=e.scrollHeight&&this.lastScrollTop-e.scrollTop<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"bottom"}),this.lastScrollToLowerTime=t.timeStamp)),this.scrollX&&(e.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-e.scrollLeft>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"left"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollLeft+e.offsetWidth+this.lowerThresholdNumber>=e.scrollWidth&&this.lastScrollLeft-e.scrollLeft<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"right"}),this.lastScrollToLowerTime=t.timeStamp)),this.lastScrollTop=e.scrollTop,this.lastScrollLeft=e.scrollLeft},_scrollTopChanged:function(t){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(t,"y"):this.$refs.main.scrollTop=t)},_scrollLeftChanged:function(t){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(t,"x"):this.$refs.main.scrollLeft=t)},_scrollIntoViewChanged:function(e){if(e){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e))return void t.error("id error: scroll-into-view=".concat(e));var n=this.$el.querySelector("#"+e);if(n){var i=this.$refs.main.getBoundingClientRect(),r=n.getBoundingClientRect();if(this.scrollX){var o=r.left-i.left,a=this.$refs.main.scrollLeft,s=a+o;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var c=r.top-i.top,u=this.$refs.main.scrollTop,l=u+c;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_transitionEnd:function(t,e){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var n=this.$refs.main;"x"===e?(n.style.overflowX=this.scrollX?"auto":"hidden",n.scrollLeft=t):"y"===e&&(n.style.overflowY=this.scrollY?"auto":"hidden",n.scrollTop=t),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},_setRefreshState:function(t){switch(t){case"refreshing":this.refresherHeight=this.refresherThreshold,this.beforeRefreshing||(this.beforeRefreshing=!0,this.$trigger("refresherrefresh",{},{}));break;case"restore":case"refresherabort":this.beforeRefreshing=!1,this.refresherHeight=this.toUpperNumber=0,"restore"===t&&(this.triggerAbort=!1,this.$trigger("refresherrestore",{},{})),"refresherabort"===t&&this.triggerAbort&&(this.triggerAbort=!1,this.$trigger("refresherabort",{},{}));break}this.refreshState=t},getScrollPosition:function(){var t=this.$refs.main;return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth}}}}}).call(this,n("3ad9")["default"])},ed9f:function(t,e,n){"use strict";n.r(e),n.d(e,"chooseVideo",(function(){return r}));var i=["album","camera"],r={sourceType:{type:Array,required:!1,default:i,validator:function(t,e){t=t.filter((function(t){return i.includes(t)})),e.sourceType=t.length?t:i}},compressed:{type:Boolean,default:!0},maxDuration:{type:Number,default:60},camera:{type:String,default:"back"},extension:{type:Array,default:["*"],validator:function(t,e){if(0===t.length)return"param extension should not be empty."}}}},edfa:function(t,e,n){"use strict";var i=n("c418"),r=n.n(i);r.a},ee03:function(t,e,n){"use strict";n.r(e),n.d(e,"VideoContext",(function(){return u})),n.d(e,"createVideoContext",(function(){return l}));var i=n("db70");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=[.5,.8,1,1.25,1.5,2];function c(t,e,n,r){Object(i["c"])("operateVideoPlayer",t,e,n,r)}var u=function(){function t(e,n){r(this,t),this.id=e,this.pageVm=n}return a(t,[{key:"play",value:function(){c(this.id,this.pageVm,"play")}},{key:"pause",value:function(){c(this.id,this.pageVm,"pause")}},{key:"stop",value:function(){c(this.id,this.pageVm,"stop")}},{key:"seek",value:function(t){c(this.id,this.pageVm,"seek",{position:t})}},{key:"sendDanmu",value:function(t){c(this.id,this.pageVm,"sendDanmu",t)}},{key:"playbackRate",value:function(t){~s.indexOf(t)||(t=1),c(this.id,this.pageVm,"playbackRate",{rate:t})}},{key:"requestFullScreen",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this.id,this.pageVm,"requestFullScreen",t)}},{key:"exitFullScreen",value:function(){c(this.id,this.pageVm,"exitFullScreen")}},{key:"showStatusBar",value:function(){c(this.id,this.pageVm,"showStatusBar")}},{key:"hideStatusBar",value:function(){c(this.id,this.pageVm,"hideStatusBar")}}]),t}();function l(t,e){return new u(t,e||Object(i["b"])("createVideoContext"))}},ee4f:function(t,e,n){"use strict";n.r(e),function(t){var i=n("f2b3");e["default"]={data:function(){return{showModal:{visible:!1}}},created:function(){var e=this;t.on("onShowModal",(function(t,n){e.showModal=t,e.onModalCloseCallback=n})),t.on("onHidePopup",(function(t){e.showModal.visible=!1}))},methods:{_onModalClose:function(t){this.showModal.visible=!1,Object(i["k"])(this.onModalCloseCallback)&&this.onModalCloseCallback(t)}}}}.call(this,n("0dd1"))},ef36:function(t,e,n){},f0c3:function(t,e,n){"use strict";n.r(e),n.d(e,"downloadFile",(function(){return l}));var i=n("a118"),r=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e,n){o(this,t),this.id=e,this._callbackId=n,this._callbacks=[]}return s(t,[{key:"abort",value:function(){Object(r["c"])("operateDownloadTask",{downloadTaskId:this.id,operationType:"abort"})}},{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"onHeadersReceived",value:function(){}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),u=Object.create(null);function l(t,e){var n=Object(r["c"])("createDownloadTask",t),i=n.downloadTaskId,o=new c(i,e);return u[i]=o,o}Object(r["d"])("onDownloadTaskStateChange",(function(t){var e=t.downloadTaskId,n=t.state,r=t.tempFilePath,o=t.statusCode,a=t.progress,s=t.totalBytesWritten,c=t.totalBytesExpectedToWrite,l=t.errMsg,d=u[e],h=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(t){t({progress:a,totalBytesWritten:s,totalBytesExpectedToWrite:c})}));break;case"success":Object(i["a"])(h,{tempFilePath:r,statusCode:o,errMsg:"request:ok"});case"fail":Object(i["a"])(h,{errMsg:"request:fail "+l});default:setTimeout((function(){delete u[e]}),100);break}}))},f102:function(t,e,n){"use strict";n.r(e),n.d(e,"makePhoneCall",(function(){return i}));var i={phoneNumber:{type:String,required:!0,validator:function(t){if(!t)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}}},f1b2:function(t,e,n){"use strict";n.r(e),n.d(e,"chooseImage",(function(){return o}));var i=["original","compressed"],r=["album","camera"],o={count:{type:Number,required:!1,default:9,validator:function(t,e){t<=0&&(e.count=9)}},sizeType:{type:[Array,String],required:!1,default:i,validator:function(t,e){t="string"===typeof t?[t]:t,t=t.filter((function(t){return i.includes(t)})),e.sizeType=t.length?t:i}},sourceType:{type:Array,required:!1,default:r,validator:function(t,e){t=t.filter((function(t){return r.includes(t)})),e.sourceType=t.length?t:r}},extension:{type:Array,default:["*"],validator:function(t,e){if(0===t.length)return"param extension should not be empty."}}}},f1ea:function(t,e,n){"use strict";n.r(e);var i=[],r=n("8793");r.keys().forEach((function(t){"./index.js"!==t&&i.push(r(t).default)})),e["default"]=i},f1ef:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-scroll-view",t._g({},t.$listeners),[n("div",{ref:"wrap",staticClass:"uni-scroll-view"},[n("div",{ref:"main",staticClass:"uni-scroll-view",style:{"overflow-x":t.scrollX?"auto":"hidden","overflow-y":t.scrollY?"auto":"hidden"}},[n("div",{ref:"content",staticClass:"uni-scroll-view-content"},[t.refresherEnabled?n("div",{ref:"refresherinner",staticClass:"uni-scroll-view-refresher",style:{"background-color":t.refresherBackground,height:t.refresherHeight+"px"}},["none"!==t.refresherDefaultStyle?n("div",{staticClass:"uni-scroll-view-refresh"},[n("div",{staticClass:"uni-scroll-view-refresh-inner"},["pulling"==t.refreshState?n("svg",{key:"refresh__icon",staticClass:"uni-scroll-view-refresh__icon",style:{transform:"rotate("+t.refreshRotate+"deg)"},attrs:{fill:"#2BD009",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]):t._e(),"refreshing"==t.refreshState?n("svg",{key:"refresh__spinner",staticClass:"uni-scroll-view-refresh__spinner",attrs:{width:"24",height:"24",viewBox:"25 25 50 50"}},[n("circle",{staticStyle:{color:"#2bd009"},attrs:{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"3"}})]):t._e()])]):t._e(),"none"==t.refresherDefaultStyle?t._t("refresher"):t._e()],2):t._e(),t._t("default")],2)])])])},r=[],o=n("ed78"),a=o["a"],s=(n("5ab3"),n("2877")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},f2b3:function(t,e,n){"use strict";n.d(e,"r",(function(){return r})),n.d(e,"k",(function(){return p})),n.d(e,"m",(function(){return g})),n.d(e,"l",(function(){return v})),n.d(e,"i",(function(){return m})),n.d(e,"t",(function(){return b})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return k})),n.d(e,"p",(function(){return S})),n.d(e,"h",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"v",(function(){return T})),n.d(e,"d",(function(){return O})),n.d(e,"s",(function(){return A})),n.d(e,"n",(function(){return E})),n.d(e,"f",(function(){return M})),n.d(e,"u",(function(){return l})),n.d(e,"q",(function(){return j})),n.d(e,"j",(function(){return B})),n.d(e,"e",(function(){return z})),n.d(e,"o",(function(){return W})),n.d(e,"a",(function(){return U}));var i,r=!1;try{var o={};Object.defineProperty(o,"passive",{get:function(){r=!0}}),window.addEventListener("test-passive",null,o)}catch(Y){}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function c(t){return decodeURIComponent(i(t).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function u(){var t,e=uni.getStorageSync("uni_id_token")||"",n=e.split(".");if(!e||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(c(n[1]))}catch(i){throw new Error("获取当前用户信息出错,详细错误信息为:"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}function l(t){t.prototype.uniIDHasRole=function(t){var e=u(),n=e.role;return n.indexOf(t)>-1},t.prototype.uniIDHasPermission=function(t){var e=u(),n=e.permission;return this.uniIDHasRole("admin")||n.indexOf(t)>-1},t.prototype.uniIDTokenValid=function(){var t=u(),e=t.tokenExpired;return e>Date.now()}}i="function"!==typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!s.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var n,i,r="",o=0;o<t.length;)e=a.indexOf(t.charAt(o++))<<18|a.indexOf(t.charAt(o++))<<12|(n=a.indexOf(t.charAt(o++)))<<6|(i=a.indexOf(t.charAt(o++))),r+=64===n?String.fromCharCode(e>>16&255):64===i?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return r}:atob;var d=Object.prototype.toString,h=Object.prototype.hasOwnProperty,f=function(t){return t>9?t:"0"+t};function p(t){return"function"===typeof t}function g(t){return"string"===typeof t}function v(t){return"[object Object]"===d.call(t)}function m(t,e){return h.call(t,e)}function b(t){return d.call(t).slice(8,-1)}function y(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var _=/-(\w)/g,w=y((function(t){return t.replace(_,(function(t,e){return e?e.toUpperCase():""}))})),k=y((function(t){return t.charAt(0).toUpperCase()+t.slice(1)}));function S(t,e,n){e.forEach((function(e){m(n,e)&&(t[e]=n[e])}))}function x(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(""+t).replace(/[^\x00-\xff]/g,"**").length}function C(t){var e=t.date,n=void 0===e?new Date:e,i=t.mode,r=void 0===i?"date":i;return"time"===r?f(n.getHours())+":"+f(n.getMinutes()):n.getFullYear()+"-"+f(n.getMonth()+1)+"-"+f(n.getDate())}function T(t,e){for(var n in e)t.style[n]=e[n]}function O(t,e){var n,i=function(){var i=arguments,r=this;clearTimeout(n);var o=function(){return t.apply(r,i)};n=setTimeout(o,e)};return i.cancel=function(){clearTimeout(n)},i}function A(t,e){var n,i,r=0,o=function(){for(var o=this,a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];var u=Date.now();clearTimeout(n),i=function(){i=null,r=u,t.apply(o,s)},u-r<e?n=setTimeout(i,e-(u-r)):i()};return o.cancel=function(){clearTimeout(n),i=null},o.flush=function(){clearTimeout(n),i&&i()},o}function E(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))}function M(t,e){function n(t){var i=t.children&&t.children.map(n),r=e(t.tag,t.data,i);return r.text=t.text,r.isComment=t.isComment,r.componentOptions=t.componentOptions,r.elm=t.elm,r.context=t.context,r.ns=t.ns,r.isStatic=t.isStatic,r.key=t.key,r}return t.map(n)}function j(t){var e={};return v(t)&&Object.keys(t).sort().forEach((function(n){e[n]=t[n]})),Object.keys(e)?e:t}function I(t,e){return D(t)||N(t,e)||$(t,e)||P()}function P(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(t,e){if(t){if("string"===typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function N(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){r=!0,o=c}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function D(t){if(Array.isArray(t))return t}function B(t){if(!t)return{r:0,g:0,b:0,a:0};var e=t.slice(1),n=e.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(e=e.replace(/(\w{1})/g,"$1$1"));var i=e.match(/(\w{2})/g),r=I(i,4),o=r[0],a=r[1],s=r[2],c=r[3],u=parseInt(o,16),l=parseInt(a,16),d=parseInt(s,16);return c?{r:u,g:l,b:d,a:("0x100".concat(c)-65536)/255}:{r:u,g:l,b:d,a:1}}var R=decodeURIComponent;function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};return Object.keys(t).forEach((function(n){try{e[n]=R(t[n])}catch(Y){e[n]=t[n]}})),e}function W(t){if("function"===typeof t)return window.plus?t():void document.addEventListener("plusready",t)}var F=0,q={};function H(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=String(F++);q[n]={success:e.success,fail:e.fail,complete:e.complete};var i=Object.assign({},e),r=t.bind(this)(i,n);r&&V(n,r)}}function V(t,e){var n=q[t]||{};delete q[t];var i=e.errMsg||"";new RegExp("\\:\\s*fail").test(i)?n.fail&&n.fail(e):n.success&&n.success(e),n.complete&&n.complete(e)}var U={warp:H,invoke:V}},f2ce:function(t,e,n){"use strict";(function(t){var i=n("8af1");e["a"]={name:"Label",mixins:[i["a"]],props:{for:{type:String,default:""}},computed:{pointer:function(){return this.for||this.$slots.default&&this.$slots.default.length}},methods:{_onClick:function(e){var n=/^uni-(checkbox|radio|switch)-/.test(e.target.className);n||(n=/^uni-(checkbox|radio|switch|button)$/i.test(e.target.tagName)),n||(this.for?t.emit("uni-label-click-"+this.$page.id+"-"+this.for,e,!0):this.$broadcast(["Checkbox","Radio","Switch","Button"],"uni-label-click",e,!0))}}}}).call(this,n("501c"))},f4e0:function(t,e,n){"use strict";var i=n("c2aa"),r=n.n(i);r.a},f53a:function(t,e,n){"use strict";var i=n("f735"),r=n.n(i);r.a},f68f:function(t,e,n){"use strict";n.r(e),n.d(e,"preLogin",(function(){return r}));var i={UNIVERIFY:"univerify"},r={provider:{type:String,required:!0,default:i.UNIVERIFY,validator:function(t,e){if(Object.values(i).indexOf(t)<0)return"provider error"}}}},f735:function(t,e,n){},f756:function(t,e,n){},f7b4:function(t,e,n){"use strict";n.r(e),function(t){var i;n.d(e,"startCompass",(function(){return o})),n.d(e,"stopCompass",(function(){return a})),n.d(e,"onCompassChange",(function(){return s})),n.d(e,"offCompassChange",(function(){return c}));var r=[];function o(e,n){var o=t,a=o.invokeCallbackHandler;if(!window.DeviceOrientationEvent)return{errMsg:"startCompass:fail"};function s(){i=function(t){var e=360-t.alpha;r.forEach((function(t){a(t,{direction:e||0})}))},window.addEventListener("deviceorientation",i,!1)}if(!i){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((function(t){"granted"===t?(s(),a(n,{errMsg:"startCompass:ok"})):a(n,{errMsg:"startCompass:fail ".concat(t)})})).catch((function(t){a(n,{errMsg:"startCompass:fail ".concat(t)})}));s()}return{}}function a(){return i&&(window.removeEventListener("deviceorientation",i,!1),i=null),{}}function s(t){r.length||o(),r.push(t)}function c(t){if(t){var e=r.indexOf(t);e>=0&&r.splice(e,1)}r.length||a()}}.call(this,n("0dd1"))},f7fd:function(t,e,n){"use strict";var i=n("33b4"),r=n.n(i);r.a},f941:function(t,e,n){"use strict";n.r(e),function(t){function i(e,n,i,r){var o=n.$page.id;t.publishHandler(o+"-video-"+e,{videoId:e,type:i,data:r},o)}n.d(e,"operateVideoPlayer",(function(){return i}))}.call(this,n("0dd1"))},f9d2:function(t,e,n){"use strict";n.r(e),n.d(e,"createInnerAudioContext",(function(){return d}));var i=n("cb0f");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],u=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],l=function(){function t(){var e=this;r(this,t),s(this,"_audio",void 0),s(this,"_stoping",void 0),s(this,"startTime",void 0),s(this,"_events",void 0),s(this,"_src",void 0);var n=this._audio=new Audio;this._stoping=!1;var o=["src","autoplay","loop","duration","currentTime","paused","volume"];o.forEach((function(t){Object.defineProperty(e,t,{set:"src"===t?function(t){return n.src=Object(i["a"])(t),e._src=t,t}:function(e){return n[t]=e,e},get:"src"===t?function(){return e._src}:function(){return n[t]}})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:function(t){return!1},get:function(){return!1}}),Object.defineProperty(this,"buffered",{get:function(){var t=n.buffered;return t.length?t.end(t.length-1):0}}),this._events={},c.forEach((function(t){e._events[t]=[]})),n.addEventListener("loadedmetadata",(function(){var t=Number(e.startTime)||0;t>0&&(n.currentTime=t)}));var a=["canplay","play","pause","ended","timeUpdate","error","waiting","seeking","seeked"],u=["canplay","pause","seeking","seeked","timeUpdate"];a.forEach((function(t){n.addEventListener(t.toLowerCase(),(function(){e._stoping&&u.indexOf(t)>=0||e._events["on".concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))].forEach((function(t){t()}))}),!1)}))}return a(t,[{key:"play",value:function(){this._stoping=!1,this._audio.play()}},{key:"pause",value:function(){this._audio.pause()}},{key:"stop",value:function(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((function(t){t()}))}},{key:"seek",value:function(t){this._stoping=!1,t=Number(t),"number"!==typeof t||isNaN(t)||(this._audio.currentTime=t)}},{key:"destroy",value:function(){this.stop()}}]),t}();function d(){return new l}c.forEach((function(t){l.prototype[t]=function(e){"function"===typeof e&&this._events[t].push(e)}})),u.forEach((function(t){l.prototype[t]=function(e){var n=this._events[t.replace("off","on")],i=n.indexOf(e);i>=0&&n.splice(i,1)}}))},fa7b:function(t,e,n){},fae3:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var i=window.document.currentScript,r=n("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}n("2ef3")},fb3e:function(t,e,n){"use strict";function i(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,n=t.indexOf("Edge")>-1&&!e,i=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;if(e){var r=new RegExp("MSIE (\\d+\\.\\d+);");r.test(t);var o=parseFloat(RegExp.$1);return o>6?o:6}return n?-1:i?11:-1}n.r(e),n.d(e,"getBrowserInfo",(function(){return d}));var r=navigator.userAgent,o=/android/i.test(r),a=/iphone|ipad|ipod/i.test(r),s=r.match(/Windows NT ([\d|\d.\d]*)/i),c=/Macintosh|Mac/i.test(r),u=/Linux|X11/i.test(r),l=c&&navigator.maxTouchPoints>0;function d(){var t,e,n,d=navigator.language,h="phone";if(a){t="iOS";var f=r.match(/OS\s([\w_]+)\slike/);f&&(e=f[1].replace(/_/g,"."));var p=r.match(/\(([a-zA-Z]+);/);p&&(n=p[1])}else if(o){t="Android";var g=r.match(/Android[\s/]([\w\.]+)[;\s]/);g&&(e=g[1]);for(var v=r.match(/\((.+?)\)/),m=v?v[1].split(";"):r.split(" "),b=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],y=0;y<m.length;y++){var _=m[y];if(_.indexOf("Build")>0){n=_.split("Build")[0].trim();break}for(var w=void 0,k=0;k<b.length;k++)if(b[k].test(_)){w=!0;break}if(!w){n=_.trim();break}}}else if(l)n="iPad",t="iOS",e="function"===typeof window.BigInt?"14.0":"13.0",h="pad";else if(s||c||u){n="PC",t="PC",h="pc";var S=r.match(/\((.+?)\)/)[1];if(s){switch(t="Windows",e="",s[1]){case"5.1":e="XP";break;case"6.0":e="Vista";break;case"6.1":e="7";break;case"6.2":e="8";break;case"6.3":e="8.1";break;case"10.0":e="10";break}var x=S.match(/[Win|WOW]([\d]+)/);x&&(e+=" x".concat(x[1]))}else c?(t="macOS",e=S.match(/Mac OS X (.+)/)||"",e&&(e=e[1].replace(/_/g,"."),-1!==e.indexOf(";")&&(e=e.split(";")[0]))):u&&(t="Linux",e=S.match(/Linux (.*)/)||"",e&&(e=e[1],-1!==e.indexOf(";")&&(e=e.split(";")[0])))}else t="Other",e="0",h="unknown";var C="".concat(t," ").concat(e),T=t.toLocaleLowerCase(),O="",A=String(i());if("-1"!==A)O="IE";else for(var E=["Version","Firefox","Chrome","Edge{0,1}"],M=["Safari","Firefox","Chrome","Edge"],j=0;j<E.length;j++){var I=E[j],P=new RegExp("(".concat(I,")/(\\S*)\\b"));P.test(r)&&(O=M[j],A=r.match(P)[2])}var $="portrait",L="undefined"===typeof window.screen.orientation?window.orientation:window.screen.orientation.angle;return $=90===Math.abs(L)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:$,model:n,system:C,platform:T,browserName:O.toLocaleLowerCase(),browserVersion:A,language:d,deviceType:h,ua:r,osname:t,osversion:e,theme:void 0}}},fb61:function(t,e,n){"use strict";var i=n("7df2"),r=n.n(i);r.a},fcd1:function(t,e,n){"use strict";n.r(e),n.d(e,"setTabBarItem",(function(){return u})),n.d(e,"setTabBarStyle",(function(){return l})),n.d(e,"hideTabBar",(function(){return d})),n.d(e,"showTabBar",(function(){return h})),n.d(e,"hideTabBarRedDot",(function(){return f})),n.d(e,"showTabBarRedDot",(function(){return p})),n.d(e,"removeTabBarBadge",(function(){return g})),n.d(e,"setTabBarBadge",(function(){return v}));var i=n("f2b3"),r=["text","iconPath","iconfont","selectedIconPath","visible"],o=["color","selectedColor","backgroundColor","borderStyle"],a=["badge","redDot"],s=["text","selectedText","fontSize","color","selectedColor"];function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=getApp();if(n){var c=!1,u=getCurrentPages();if(u.length?u[u.length-1].$page.meta.isTabBar&&(c=!0):n.$children[0].hasTabBar&&(c=!0),!c)return{errMsg:"".concat(t,":fail not TabBar page")};var l=e.index,d=__uniConfig.tabBar;if(l>=__uniConfig.tabBar.list.length)return{errMsg:"".concat(t,":fail tabbar item not found")};switch(t){case"showTabBar":n.$children[0].hideTabBar=!1;break;case"hideTabBar":n.$children[0].hideTabBar=!0;break;case"setTabBarItem":e.iconfont&&(Object(i["p"])(d.list[l].iconfont,s,e.iconfont),e.iconfont=d.list[l].iconfont),Object(i["p"])(d.list[l],r,e);var h=e.pagePath,f=h&&__uniRoutes.find((function(t){var e=t.path;return e===h}));if(f){var p=f.meta;p.isTabBar=!0,p.tabBarIndex=l,p.isQuit=!0;var g=__uniConfig.tabBar;g&&g.list&&g.list[l]&&(g.list[l].pagePath=h.startsWith("/")?h.substring(1):h)}break;case"setTabBarStyle":Object(i["p"])(d,o,e);break;case"showTabBarRedDot":Object(i["p"])(d.list[l],a,{badge:"",redDot:!0});break;case"setTabBarBadge":Object(i["p"])(d.list[l],a,{badge:e.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Object(i["p"])(d.list[l],a,{badge:"",redDot:!1});break}}return{}}function u(t){return c("setTabBarItem",t)}function l(t){return c("setTabBarStyle",t)}function d(t){return c("hideTabBar",t)}function h(t){return c("showTabBar",t)}function f(t){return c("hideTabBarRedDot",t)}function p(t){return c("showTabBarRedDot",t)}function g(t){return c("removeTabBarBadge",t)}function v(t){return c("setTabBarBadge",t)}},fda5:function(t,e,n){"use strict";(function(t,i){var r=n("f2b3"),o=n("ffdc"),a=n("a6b0"),s=n("636c");e["a"]={name:"SystemChooseLocation",filters:{distance:function(t){return t>100?"".concat(t>1e3?(t/1e3).toFixed(1)+"k":t.toFixed(0),"m | "):t>0?"<100m | ":""}},mixins:[a["c"]],data:function(){var t=this.$route.query,e=t.latitude,n=t.longitude;return{latitude:e,longitude:n,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:-1,list:[],keyword:"",searching:!1,loading:!0,adcode:"",locationStyle:'background-image: url("'.concat(s["b"],'")')}},computed:{selected:function(){return this.list[this.selectedIndex]},boundary:function(){return this.adcode?"region(".concat(this.adcode,",1,").concat(this.latitude,",").concat(this.longitude,")"):"nearby(".concat(this.latitude,",").concat(this.longitude,",5000)")}},created:function(){var t=this;this.latitude&&this.longitude||this.moveToLocation(),this.search=Object(r["d"])((function(){t.reset(),t.keyword&&t.getList()}),1e3),this.$watch("searching",(function(e){t.reset(),e||t.getList()}))},methods:{choose:function(){this.selected&&(t.publishHandler("onChooseLocation",Object.assign({},this.selected)),getApp().$router.back())},back:function(){t.publishHandler("onChooseLocation",null),getApp().$router.back()},moveToLocation:function(){uni.getLocation({type:"gcj02",success:this.move.bind(this),fail:function(){}})},onRegionChange:function(t){var e=t.detail.centerLocation;e&&this.move(e)},pushData:function(t){var e=this;t.forEach((function(t){e.list.push({name:t.title,address:t.address,distance:t._distance||t.distance,latitude:t.location.lat,longitude:t.location.lng})}))},getList:function(){var t=this;this.loading=!0;var e=Object(s["e"])();if(e.type===s["d"].GOOGLE){if(this.pageIndex>1&&this.nextPage)return void this.nextPage();var n=new window.google.maps.places.PlacesService(document.createElement("div"));n[this.searching?"textSearch":"nearbySearch"]({location:{lat:this.latitude,lng:this.longitude},query:this.keyword,radius:5e3},(function(e,n,i){t.loading=!1,e&&e.length&&e.forEach((function(e){t.list.push({name:e.name||"",address:e.vicinity||e.formatted_address||"",distance:0,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng()})})),i&&(i.hasNextPage?t.nextPage=function(){i.nextPage()}:t.hasNextPage=!1)}))}else if(e.type===s["d"].QQ){var r=this.searching?"https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=".concat(e.key,"&boundary=").concat(this.boundary,"&keyword=").concat(this.keyword,"&page_size=").concat(this.pageSize,"&page_index=").concat(this.pageIndex):"https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=".concat(e.key,"&location=").concat(this.latitude,",").concat(this.longitude,"&get_poi=1&poi_options=page_size=").concat(this.pageSize,";page_index=").concat(this.pageIndex);Object(o["a"])(r,{callback:"callback"},(function(e){if(t.loading=!1,t.searching&&"data"in e&&e.data.length)t.pushData(e.data);else if("result"in e){var n=e.result;t.adcode=n.ad_info?n.ad_info.adcode:"",n.pois&&t.pushData(n.pois),t.list.length===t.pageSize*t.pageIndex&&(t.hasNextPage=!1)}}),(function(){t.loading=!1}))}else if(e.type===s["d"].AMAP){var a=this;window.AMap.plugin("AMap.PlaceSearch",(function(){var t=new window.AMap.PlaceSearch({city:"全国",pageSize:10,pageIndex:a.pageIndex}),e=a.searching?a.keyword:"",n=a.searching?5e4:5e3;t.searchNearBy(e,[a.longitude,a.latitude],n,(function(t,e){"error"===t?i.error(e):"no_data"===t?a.hasNextPage=!1:a.pushData(e.poiList.pois)})),a.loading=!1}))}},loadMore:function(){!this.loading&&this.hasNextPage&&(this.pageIndex++,this.getList())},reset:function(){this.selectedIndex=-1,this.pageIndex=1,this.hasNextPage=!0,this.nextPage=null,this.list=[]},move:function(t){var e=t.latitude,n=t.longitude;this.latitude=e,this.longitude=n,this.searching||(this.reset(),this.getList())},input:function(){this.search()}}}}).call(this,n("501c"),n("3ad9")["default"])},ff28:function(t,e,n){"use strict";var i=n("2399"),r=n.n(i);r.a},ffdc:function(t,e,n){"use strict";function i(t,e,n,i){var r,o=document.createElement("script"),a=e.callback||"callback",s="__callback"+Date.now()+Math.random().toString().slice(2),c=e.timeout||3e4;function u(){clearTimeout(r),delete window[s],o.remove()}window[s]=function(t){"function"===typeof n&&n(t),u()},o.onerror=function(){"function"===typeof i&&i(),u()},r=setTimeout((function(){"function"===typeof i&&i(),u()}),c),o.src=t+(t.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(o)}n.d(e,"a",(function(){return i}))}})}));