(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("@dcloudio/uni-i18n"),require("vue"),require("vue-router")):"function"===typeof define&&define.amd?define([,,],e):"object"===typeof exports?exports["index"]=e(require("@dcloudio/uni-i18n"),require("vue"),require("vue-router")):t["index"]=e(t["@dcloudio/uni-i18n"],t["Vue"],t["VueRouter"])})("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="393d")}({"0071":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("340d"),r=n("71a4");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}},"0126":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("3d1e");function r(){return Object(i["e"])()}function o(){return Object(i["d"])()}},"01aa":function(t,e,n){"use strict";var i=n("e32e"),r=n.n(i);r.a},"01fd":function(t,e,n){"use strict";n.r(e),n.d(e,"getTheme",(function(){return o})),n.d(e,"getBrowserInfo",(function(){return f}));var i=n("340d");function r(){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}function o(){if(!0!==__uniConfig.darkmode)return Object(i["m"])(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(t){return"light"}}var a=navigator.userAgent,s=/android/i.test(a),c=/iphone|ipad|ipod/i.test(a),u=a.match(/Windows NT ([\d|\d.\d]*)/i),l=/Macintosh|Mac/i.test(a),d=/Linux|X11/i.test(a),h=l&&navigator.maxTouchPoints>0;function f(){var t,e,n,i=navigator.language,f="phone";if(c){t="iOS";var p=a.match(/OS\s([\w_]+)\slike/);p&&(e=p[1].replace(/_/g,"."));var g=a.match(/\(([a-zA-Z]+);/);g&&(n=g[1])}else if(s){t="Android";var v=a.match(/Android[\s/]([\w\.]+)[;\s]/);v&&(e=v[1]);for(var m=a.match(/\((.+?)\)/),b=m?m[1].split(";"):a.split(" "),y=[/\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],_=0;_0){n=w.split("Build")[0].trim();break}for(var k=void 0,S=0;S=0&&a.splice(e,1)}}function l(e){s.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"])(o["b"],(function(t){a.forEach((function(e){Object(i["a"])(e,t)}))})),Object(r["d"])("onUIStyleChange",(function(t){s.forEach((function(e){Object(i["a"])(e,t)}))}))}.call(this,n("418b")["default"])},"04d4":function(t,e,n){"use strict";var i=n("340d"),r=n("b435");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}}},"04ed":function(t,e,n){},"050f":function(t,e,n){"use strict";var i=Object.create(null),r=n("1fe9");r.keys().forEach((function(t){Object.assign(i,r(t))}));var o=i,a=n("b15e");e["a"]=Object.assign(Object.create(null),o,a["a"])},"0671":function(t,e,n){"use strict";var i=n("24f2"),r=n.n(i);r.a},"0680":function(t,e,n){"use strict";(function(t,e,i){var r=n("951c"),o=n.n(r),a=n("eeff");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.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-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("31d2"))},"0c61":function(t,e,n){},"0cac":function(t,e,n){},"0db3":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("418b")["default"])},"0db8":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;s2?r-2:0),a=2;a2?n-2:0),o=2;o0&&(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)}}))},1332:function(t,e,n){},1720:function(t,e,n){"use strict";var i=n("a187"),r=n.n(i);r.a},1867:function(t,e,n){"use strict";var i=n("9a78"),r=n.n(i);r.a},"1c3e":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("9131"),r=n("745a"),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)}))}))},"1d2e":function(t,e,n){"use strict";n.r(e),function(t,i){var r=n("0372");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("2c9f"),n("418b")["default"])},"1da9":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.startSoterAuthentication.waitingContent":"无法识别","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":"取消"}')},"1daa":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}))},"1efd":function(t,e,n){"use strict";n.r(e),n.d(e,"getWindowInfo",(function(){return a}));var i=n("8d7d"),r=n("f621"),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}}},"1f8a":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",style:{"--HOVER-BD-COLOR":t.radioChecked?t.radioStyle.borderColor:t.activeBorderColor}},[n("div",{staticClass:"uni-radio-input",class:{"uni-radio-input-checked":t.radioChecked,"uni-radio-input-disabled":t.disabled},style:t.radioStyle}),t._t("default")],2)])},r=[],o=n("909e"),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},value:{type:String,default:""},color:{type:String,default:"#007AFF"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:"#ffffff"}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{radioStyle:function(){if(this.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};var t={};return this.radioChecked?(t.color=this.iconColor,t.backgroundColor=this.activeBackgroundColor||this.color,t.borderColor=this.activeBorderColor||t.backgroundColor):(this.borderColor&&(t.borderColor=this.borderColor),this.backgroundColor&&(t.backgroundColor=this.backgroundColor)),t}},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("9854"),n("8844")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"1fdf":function(t,e,n){},"1fe9":function(t,e,n){var i={"./base/base64.js":"78b7","./base/can-i-use.js":"9bd9","./base/interceptor.js":"c9da","./base/upx2px.js":"c165","./context/audio.js":"e748","./context/background-audio.js":"86d3","./context/canvas.js":"6352","./context/create-map-context.js":"ed2c","./context/create-video-context.js":"e68a","./context/editor.js":"5883","./context/inner-audio.js":"beab","./device/network.js":"1c3e","./device/theme.js":"0426","./keyboard/get-selected-text-range.js":"7958","./keyboard/keyboard.js":"7068","./media/preview-image.js":"7317","./media/recorder.js":"d91a","./network/download-file.js":"cf97","./network/request.js":"dc02","./network/socket.js":"32a0","./network/update.js":"c4cd","./network/upload-file.js":"bceb","./plugin/push.js":"9f56","./ui/create-animation.js":"a2f6","./ui/create-intersection-observer.js":"a6f2","./ui/create-media-query-observer.js":"a874","./ui/create-selector-query.js":"8379","./ui/load-font-face.js":"fdcd","./ui/locale.js":"ebda","./ui/page-scroll-to.js":"3313","./ui/set-page-meta.js":"be92","./ui/tab-bar.js":"e87f","./ui/window.js":"ccdf"};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="1fe9"},2066: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("95bd"),n("8844")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"211f":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"uploadFile",(function(){return u}));var i=n("bdee");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=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("2c9f"))},"21f5":function(t,e,n){},2214: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 C}));var i=n("340d"),r=n("71a4"),o=n("d334"),a=n("0071"),s=n("8b82"),c=n("41cb");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;v1&&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,C=m.beforeCancel,x=m.afterCancel,T=m.beforeAll,O=m.afterAll,E=f++,A="api."+t+"."+E,M=function(n){if(n.errMsg=n.errMsg||t+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=t+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=t+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var r="",o=n.errMsg.indexOf(" ");o>-1&&(r=n.errMsg.substr(o)),n.errMsg=t+":fail"+r}Object(i["k"])(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"])(C)&&C(n),g&&u(n),Object(i["k"])(x)&&x(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[E]={name:A,callback:M},{params:e,callbackId:E}}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 C(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;s0&&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("418b")["default"])},"27d2":function(t,e,n){},"283d":function(t,e,n){"use strict";var i=n("b62a"),r=n.n(i);r.a},"286e":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getFileInfo",(function(){return a}));var i=n("bdee"),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("2c9f"))},"2a78":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("9f62"),a=o["a"],s=(n("d638"),n("8844")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"2ace":function(t,e,n){"use strict";(function(t){var i=n("340d");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("31d2"))},"2be0":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("340d"),r=n("909e");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)}))}},"2c9f":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("951c"),r=n.n(i),o=n("2214");n.d(e,"invokeCallbackHandler",(function(){return o["a"]})),n.d(e,"removeCallbackHandler",(function(){return o["b"]}));var a=n("89ec");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)}},"2d10":function(t,e,n){},"2daf":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("2c9f"))},"2eb1":function(t,e,n){"use strict";var i=n("0c61"),r=n.n(i);r.a},"2f5c":function(t,e,n){"use strict";n.r(e),n.d(e,"TEMP_PATH",(function(){return i}));var i=""},"31d2":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("951c"),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("49c2"),s=n("d661"),c=n("c08f"),u={setPageMeta:o,requestComponentInfo:a["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:c["b"],destroyMediaQueryObserver:c["a"]},l=n("493f"),d=n("fa95"),h=n("83ee");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("a805"),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(_)},"32a0":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("9131"),r=n("745a");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;n0&&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.code,a=t.reason,s=(t.errMsg,u[e]);if(s){var c="message"===n?{data:r}:"close"===n?{code:o,reason:a}:{};if("open"===n&&(s.readyState=s.OPEN),s===l[0]&&d[n]&&Object(i["a"])(d[n],c),"error"===n||"close"===n){s.readyState=s.CLOSED,delete u[e];var h=l.indexOf(s);h>=0&&l.splice(h,1)}s._callbacks[n].forEach((function(t){"function"===typeof t&&t(c)}))}}))},3313: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("2c9f"))},"33b2":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}))},"33e2":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("4892"),a=n.n(o),s=n("909e");function c(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(i,r)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){c(o,i,r,a,s,"next",t)}function s(t){c(o,i,r,a,s,"throw",t)}a(void 0)}))}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;nthis.CACHE_TIME}}]),t}();f(p,"IC",0),f(p,"IS",0),Object.assign(p.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var g=function(){function t(){l(this,t),this._instance=null,this._adConfig=null,this._guid=null}return h(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t,this._instance._init()),this._instance}}]),h(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;nparseInt(this.widescreenWidth),this._loadData(),g.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:p.IC,is:p.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(t){this._report(41)},_reset:function(){this._pd={},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;p.instance.get(i,(function(t,n){e._ab=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._ab[e.a1][e.t],i=n.script;this._currentChannel=e.a1;var r=this._randomId(),o=this._createView(r);"10023"===e.a1?v.instance.load(e.t,i,(function(){t._renderShanhu(r,e)}),(function(e){t.$trigger("error",{},e)})):"10010"===e.a1?v.instance.load(e.t,i,(function(){t._renderBaidu(r,e.a2)}),(function(e){t.$trigger("error",{},e)})):"10012"===e.a1?this._renderScript(o,i):v.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){var n=this,i=new window.CoralAdv({app_id:e.a2,placement_id:e.a3,type:e.a4,display_type:e.a5,container_id:t,count:e.a6||1});i.ready().then(function(){var t=u(a.a.mark((function t(e){return a.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:0===e.ret?n.$trigger("load",{},{}):n.$trigger("error",{},e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){n.$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>=b)return t._clearCheckTimer(),void t._renderNext();t._checkRender()&&t._clearCheckTimer()}),m)},_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),g.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}}},w=_,k=(n("c885"),n("8844")),S=Object(k["a"])(w,i,r,!1,null,null,null);e["default"]=S.exports},"340d":function(t,e,n){"use strict";n.d(e,"s",(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,"u",(function(){return b})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return k})),n.d(e,"q",(function(){return S})),n.d(e,"h",(function(){return C})),n.d(e,"g",(function(){return x})),n.d(e,"w",(function(){return T})),n.d(e,"d",(function(){return O})),n.d(e,"t",(function(){return E})),n.d(e,"n",(function(){return A})),n.d(e,"f",(function(){return M})),n.d(e,"v",(function(){return l})),n.d(e,"r",(function(){return j})),n.d(e,"j",(function(){return D})),n.d(e,"e",(function(){return z})),n.d(e,"p",(function(){return W})),n.d(e,"a",(function(){return U})),n.d(e,"o",(function(){return G}));var i,r=!1;try{var o={};Object.defineProperty(o,"passive",{get:function(){r=!0}}),window.addEventListener("test-passive",null,o)}catch(Q){}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>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};Object.assign;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 C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(""+t).replace(/[^\x00-\xff]/g,"**").length}function x(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 E(t,e){var n,i,r=0,o=function(){for(var o=this,a=arguments.length,s=new Array(a),c=0;ct.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e={};return Object.keys(t).forEach((function(n){try{e[n]=R(t[n])}catch(Q){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},Y={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function X(t){return t&&t in Y?Y[t]:t}function G(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"light",i=e[n],r={};return i?(Object.keys(t).forEach((function(o){var a=t[o];r[o]=function(){if(v(a))return G(a,e,n);if(Array.isArray(a))return a.map((function(t){return v(t)?G(t,e,n):t}));if(g(a)&&a.startsWith("@")){var t=a.replace("@",""),r=i[t]||a;switch(o){case"borderStyle":r=X(r);break}return r}return a}()})),r):t}},3596:function(t,e,n){},"36a6":function(t,e,n){},"383e":function(t,e,n){"use strict";n.r(e);var i=n("39bd"),r=n("340d");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;ethis.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;er/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.displayMultipleItemsNumbere-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;e0&&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=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(;ot;)o-=r}else if(n>0){for(;o>t;)o-=r;for(;o+rt;)o-=r;o+r-tr)&&(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,n){if(t.stopPropagation(),!n){var i=this.items.length,r=this.currentSync;switch(e){case"prev":r--,r<0&&this.circularEnabled&&(r=i-1);break;case"next":r++,r>=i&&this.circularEnabled&&(r=0);break}this._onSwiperDotClick(r)}},_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=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||i0&&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=0&&r.splice(e,1)}r.length||a()}}.call(this,n("2c9f"))},"39bd":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)}}))}}}},"3a3e":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("909e"),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("01aa"),n("8844")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"3acf":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)}}}},"3b2d":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("951c"),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))}},"3b8d":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}}},"3bbb":function(t,e,n){"use strict";n.r(e),n.d(e,"compressVideo",(function(){return r}));var i=n("4738"),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}}},"3bd6":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("340d"),r=n("4738"),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="...")}}}},"3c5f":function(t,e,n){"use strict";var i=n("df50"),r=n.n(i);r.a},"3d1e":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("cff9"),r=n("2626");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("2c9f"))},"3d8f":function(t,e,n){"use strict";var i=n("f5e7"),r=n.n(i);r.a},"3e92":function(t,e,n){"use strict";var i=n("d0aa"),r=n.n(i);r.a},"3fc5":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||{}}}}},"418b":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("0ee4"))},"418c":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("d4ee");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("2c9f"))},"41cb":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("340d");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=0||("Object"===o?Object(i["l"])(t):"Array"===o?Array.isArray(t):t instanceof e||Object(i["u"])(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;n1||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)}}}},"43df":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("4738"),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)}}}},4498: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}))},"44b9":function(t,e,n){"use strict";n.r(e),n.d(e,"compressImage",(function(){return r}));var i=n("4738"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}}}},"45a2":function(t,e,n){"use strict";n.r(e);var i=n("951c"),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("7d96"),c=s["a"],u=(n("8a24"),n("8844")),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("e5b3"),g=p["a"],v=(n("fc7c"),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("0372"),w={name:"AsyncError",mixins:[_["c"]],methods:{_onClick:function(){window.location.reload()}}},k=w,S=(n("5505"),Object(u["a"])(k,b,y,!1,null,null,null)),C=S.exports,x=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"},E=O,A=(n("d937"),Object(u["a"])(E,x,T,!1,null,null,null)),M=A.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("8b77"),$=P["a"],L=Object(u["a"])($,j,I,!1,null,null,null),N=L.exports,B=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-system-choose-location"},[n("v-uni-map",{staticClass:"map",attrs:{latitude:t.latitude,longitude:t.longitude,"show-location":"",libraries:["places"]},on:{updated:t.getList,regionchange:t.onRegionChange}},[n("div",{staticClass:"map-location",style:t.locationStyle}),n("div",{staticClass:"map-move",on:{click:t.moveToLocation}},[n("i",[t._v("")])])]),n("div",{staticClass:"nav"},[n("div",{staticClass:"nav-btn back",on:{click:t.back}},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])]),n("div",{staticClass:"nav-btn confirm",class:{disable:!t.selected},on:{click:t.choose}},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])]),n("div",{staticClass:"menu"},[n("div",{staticClass:"search"},[n("v-uni-input",{staticClass:"search-input",attrs:{placeholder:t.$$t("uni.chooseLocation.search")},on:{focus:function(e){t.searching=!0},input:t.input},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),t.searching?n("div",{staticClass:"search-btn",on:{click:function(e){t.searching=!1,t.keyword=""}}},[t._v(" "+t._s(t.$$t("uni.chooseLocation.cancel"))+" ")]):t._e()],1),n("v-uni-scroll-view",{staticClass:"list",attrs:{"scroll-y":""},on:{scrolltolower:t.loadMore}},[t.loading?n("div",{staticClass:"list-loading"},[n("i",{staticClass:"uni-loading"})]):t._e(),t._l(t.list,(function(e,i){return n("div",{key:i,staticClass:"list-item",class:{selected:t.selectedIndex===i},on:{click:function(n){t.selectedIndex=i,t.latitude=e.latitude,t.longitude=e.longitude}}},[n("div",{staticClass:"list-item-title"},[t._v(" "+t._s(e.name)+" ")]),n("div",{staticClass:"list-item-detail"},[t._v(" "+t._s(t._f("distance")(e.distance))+t._s(e.address)+" ")])])}))],2)],1)],1)},D=[],R=n("4ed4"),z=R["a"],W=(n("b16b"),Object(u["a"])(z,B,D,!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:function(e){return t.setCenter(t.location)}}},[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("b435"),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}}},mounted:function(){var t=this;uni.getLocation({type:"gcj02",success:function(e){var n=e.latitude,i=e.longitude;t.location.latitude=n,t.location.longitude=i}})},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},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("724c"),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(C.name,C),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)}))},"466b":function(t,e,n){},4705:function(t,e,n){"use strict";(function(t){var i,r=n("909e"),o=n("7cce"),a=n("dfa7"),s=n("bdee");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);n0&&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;d1&&(u.multiple="multiple"),1===n.length&&"camera"===n[0]&&(u.capture="camera"),u}},"493f":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("a805");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("31d2"))},"49c2":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var i=n("38ce"),r=n("340d"),o=n("8d7d"),a=n("0db3");function s(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 c(t,e){var n={},a=Object(o["a"])(),s=a.top;if(e.id&&(n.id=t.id),e.dataset&&(n.dataset=Object(i["b"])(t)),e.rect||e.size){var c=t.getBoundingClientRect();e.rect&&(n.left=c.left,n.right=c.right,n.top=c.top-s,n.bottom=c.bottom-s),e.size&&(n.width=c.width,n.height=c.height)}if(Array.isArray(e.properties)){var u=t.__vue__&&t.__vue__.$props;u&&e.properties.forEach((function(t){"string"===typeof t&&(t=Object(r["b"])(t),null!=u[t]&&(n[t]=u[t]))}))}if(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 l=getComputedStyle(t);e.computedStyle.forEach((function(t){n[t]=l[t]}))}return e.context&&t.__vue__&&t.__vue__._getContextInfo&&(n.context=t.__vue__._getContextInfo()),n}function u(t,e,n,i,r){var o=Object(a["a"])(Object(a["b"])(e,t));if(!o||o&&8===o.nodeType)return i?null:[];if(i){var s=o.matches(n)?o:o.querySelector(n);return s?c(s,r):null}var u=[],l=o.querySelectorAll(n);return l&&l.length&&(u=[].map.call(l,(function(t){return c(t,r)}))),o.matches(n)&&u.unshift(c(o,r)),u}function l(e,n){var i,r=e.reqId,o=e.reqs;if(n._isVue)i=n;else{var a=getCurrentPages(),c=a.find((function(t){return t.$page.id===n}));if(!c)throw new Error("Not Found:Page[".concat(n,"]"));i=c.$vm}var l=[];o.forEach((function(t){var e=t.component,n=t.selector,r=t.single,o=t.fields;0===e?l.push(s(o)):l.push(u(i,e,n,r,o))})),t.publishHandler("onRequestComponentInfo",{reqId:r,res:l})}}).call(this,n("31d2"))},"49df":function(t,e,n){"use strict";n.r(e);var i=[],r=n("2432");r.keys().forEach((function(t){"./index.js"!==t&&i.push(r(t).default)})),e["default"]=i},"4a3f":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("2c9f"))},"4b21":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var i=n("d97d");function r(t){return t.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\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&&(i.children||(i.children=[]),i.children.push(e))}}),a.children}}).call(this,n("418b")["default"])},"4b7e":function(t,e,n){var i={"./base/base64.js":"53f9","./base/can-i-use.js":"5bcf","./base/event-bus.js":"fd5d","./base/interceptor.js":"9879","./base/upx2px.js":"6856","./context/canvas.js":"e0ec","./context/context.js":"6625","./device/add-phone-contact.js":"cedc","./device/make-phone-call.js":"6f73","./device/scan-code.js":"3b8d","./device/set-clipboard-data.js":"51e5","./file/file.js":"43df","./file/open-document.js":"09f0","./location/choose-location.js":"ec60","./location/get-location.js":"e0f9","./location/open-location.js":"d280","./media/choose-file.js":"925f","./media/choose-image.js":"dac9","./media/choose-video.js":"a111","./media/compress-image.js":"44b9","./media/compress-video.js":"3bbb","./media/get-image-info.js":"61d8","./media/get-video-info.js":"9bfe","./media/preview-image.js":"4ca1","./media/save-image-to-photos-album.js":"03d0","./network/download-file.js":"3fc5","./network/request.js":"b32f","./network/socket.js":"123c","./network/upload-file.js":"b75a","./plugin/get-provider.js":"90f0","./plugin/load-sub-package.js":"a8a7","./plugin/pre-login.js":"5f30","./route/route.js":"6bd7","./storage/storage.js":"67c3","./ui/load-font-face.js":"c6eb","./ui/navigation-bar.js":"796c","./ui/page-scroll-to.js":"3acf","./ui/popup.js":"f60b","./ui/tab-bar.js":"3bd6"};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="4b7e"},"4ba6":function(t,e,n){"use strict";function i(t,e,n){return t>e-n&&t0){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}]}},"4c68":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",{directives:[{name:"show",rawName:"v-show",value:t.showProgress,expression:"showProgress"}],staticClass:"uni-video-current-time"},[t._v(" "+t._s(t._f("time")(t.currentTime))+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showProgress,expression:"showProgress"}],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",{directives:[{name:"show",rawName:"v-show",value:t.showProgress,expression:"showProgress"}],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("909e"),a=n("340d"),s=n("0372"),c=!!a["s"]&&{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)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=(c.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(c)}else if(i-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("a61d"),n("8844")),f=Object(h["a"])(d,i,r,!1,null,null,null);e["default"]=f.exports},"4ca1":function(t,e,n){"use strict";n.r(e),n.d(e,"previewImage",(function(){return r}));var i=n("4738"),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=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("2c9f"))},"4d5a":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("38ce"),r=n("c879"),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("2c9f"))},"4dc6":function(t,e,n){"use strict";var i=n("655d"),r=n.n(i);r.a},"4e46":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("951c"),r=n.n(i),o=n("0372"),a=n("b405"),s=__uniConfig.tabBar||{};__uniConfig.tabBar=r.a.observable(Object(a["d"])(Object(o["f"])(s))),Object(a["c"])((function(){var t=Object(a["d"])(Object(o["f"])(s));__uniConfig.tabBar.backgroundColor=t.backgroundColor,__uniConfig.tabBar.borderStyle=t.borderStyle,__uniConfig.tabBar.color=t.color,__uniConfig.tabBar.selectedColor=t.selectedColor,__uniConfig.tabBar.blurEffect=t.blurEffect,t.list&&t.list.length&&__uniConfig.tabBar.list.length&&t.list.forEach((function(t,e){__uniConfig.tabBar.list[e].iconPath=t.iconPath,__uniConfig.tabBar.list[e].selectedIconPath=t.selectedIconPath}))}));var c=__uniConfig.tabBar},"4ed4":function(t,e,n){"use strict";(function(t,i){var r=n("340d"),o=n("1daa"),a=n("0372"),s=n("b435");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||t.name,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(){if(a.longitude&&a.latitude){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("31d2"),n("418b")["default"])},"4ef5":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.startSoterAuthentication.waitingContent":"無法識別","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":"取消"}')},"4f2e":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("ca54"),n("8844")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"4fcb":function(t,e,n){"use strict";n.r(e),function(t){var i=n("340d");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("2c9f"))},"508e":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("cff9"),r=n("6564");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)}},"50d3":function(t,e,n){"use strict";n.r(e);var i=n("951c"),r=n.n(i),o=n("4738"),a=n("cce2"),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=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,n0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname),n=window.location.search,i=window.location.hash;return"/"===t[t.length-1]&&e===t.substring(0,t.length-1)&&(e=t,window.history.replaceState({},"",t+n+i)),t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+n+i}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["v"])(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("418b")["default"])},"51e5":function(t,e,n){"use strict";n.r(e),n.d(e,"setClipboardData",(function(){return r}));var i=n("0372"),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}})}}}},"526c":function(t,e,n){"use strict";var i=n("b91d"),r=n.n(i);r.a},"53f9":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}]},"541c":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("2c9f"))},5505:function(t,e,n){"use strict";var i=n("c93f"),r=n.n(i);r.a},5556:function(t,e,n){"use strict";var i=n("68d2"),r=n.n(i);r.a},"56ae":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;it.length)&&(e=t.length);for(var n=0,i=new Array(e);n should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("418b")["default"])},"5db9":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("ea72"),a=o["a"],s=(n("5f77"),n("8844")),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("e16e"),f=h["a"],p=(n("5556"),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("dad6"),y=b["a"],_=(n("cbd0"),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=[],C=n("a409"),x=n("7687"),T=n("b405");function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var E={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}};function A(t){this.cancelColor_=E[t].cancelColor}var M={name:"Modal",components:{keypress:x["a"]},mixins:[C["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:""}},data:function(){return{cancelColor_:"#000"}},watch:{visible:function(t){t?(this.cancelColor_=this.$parent.showModal.cancelColor,"#000"===this.$parent.showModal.cancelColor&&("dark"===Object(T["a"])()&&this._onThemeChange({theme:"dark"}),Object(T["c"])(this._onThemeChange))):Object(T["b"])(this._onThemeChange)}},methods:{_onThemeChange:function(t){var e=t.theme;A.call(this,e)},_close:function(t){var e=O({},t,!0);this.editable&&"confirm"===t&&(e.content=this.$refs.editContent.value),this.$emit("close",e)}}},j=M,I=(n("96b9"),Object(s["a"])(j,k,S,!1,null,null,null)),P=I.exports,$=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.listItemColor},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.cancelItemColor},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)},L=[],N=n("a202"),B=n("0372"),D=n("39bd"),R=n("c700"),z=n("d4c9"),W=n("4ba6"),F=n("6f75");function q(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)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()}}},Y=U,X=(n("5fe8"),Object(s["a"])(Y,$,L,!1,null,null,null)),G=X.exports,Q=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()},K=[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("")])])}],J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-movable-area",{staticClass:"image-view-area",nativeOn:{touchstart:function(e){return t.onTouchStart(e)},touchmove:function(e){return t.checkDirection(e)},touchend:function(e){return t.onTouchEnd(e)}}},[n("v-uni-movable-view",{staticClass:"image-view-view",attrs:{direction:t.direction,inertia:"",scale:"","scale-min":"1","scale-max":"4"},on:{scale:t.onScale}},[n("img",{staticClass:"image-view-img",attrs:{src:t.src},on:{load:t.onImgLoad}})])],1)},Z=[],tt={name:"ImageView",props:{src:{type:String,default:""}},data:function(){return{direction:"none"}},created:function(){this.scale=1,this.imgWidth=0,this.imgHeight=0,this.width=0,this.height=0},methods:{onScale:function(t){var e=t.detail.scale;this.scale=e},onImgLoad:function(t){var e=t.target,n=e.getBoundingClientRect();this.imgWidth=n.width,this.imgHeight=n.height},onTouchStart:function(t){var e=this.$el,n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.checkDirection(t)},onTouchEnd:function(t){var e=this.scale,n=e*this.imgWidth>this.width,i=e*this.imgHeight>this.height;this.direction=n&&i?"all":n?"horizontal":i?"vertical":"none",this.checkDirection(t)},checkDirection:function(t){var e=this.direction;"all"!==e&&"horizontal"!==e||t.stopPropagation()}}},et=tt,nt=(n("1867"),Object(s["a"])(et,J,Z,!1,null,null,null)),it=nt.exports,rt={name:"PreviewImage",components:{imageView:it},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")}}},ot=rt,at=(n("4213"),Object(s["a"])(ot,Q,K,!1,null,null,null)),st=at.exports,ct={Toast:w,Modal:P,ActionSheet:G,PreviewImage:st};function ut(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 lt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n=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 C=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}(),x=["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 E(t,e){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=e,i.measureText(t).width||0}function A(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 C("linear",[t,e,n,i])}},{key:"createCircularGradient",value:function(t,e,n){return new C("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=E(t,e),new A(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(x,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;ie-n&&tthis._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&&ethis._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&nthis._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("6f75"),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";nthis.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),ithis.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;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/i),athis.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):tthis.maxY?(e=this.maxY,n=!0):e3&&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("5e27"),n("8844")),k=Object(w["a"])(_,i,r,!1,null,null,null);e["default"]=k.exports},"65db":function(t,e,n){},6625: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}]},6729:function(t,e,n){},6773:function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"chooseImage",(function(){return d}));var r=n("bdee"),o=n("0372"),a=n("493d"),s=n("909e"),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}}),e1&&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")}}},"6c36":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("2c9f"))},"6d4b":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var i,r=n("b435"),o=n("d359"),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("418b")["default"])},"6ddd":function(t,e,n){},"6f73":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;"}}}},"6f75":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}))},7068: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("9131"),o=n("745a");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)}))},"70bc":function(t,e,n){},"71a4":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("418b")["default"])},"71be":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("340d"),r=n("cff9"),o=n("9798");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")}}}},"724c":function(t,e,n){"use strict";var i=n("5a2d"),r=n.n(i);r.a},7317: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("745a"),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)}))},"745a":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("b15e");function r(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;rt.length)&&(e=t.length);for(var n=0,i=new Array(e);ni&&(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();un(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;na?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=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&&an&&s0&&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}}},"7aa4":function(t,e,n){},"7aa9":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("4b21"),a=n("340d"),s=n("4738"),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("8844"),m=Object(v["a"])(g,i,r,!1,null,null,null);e["default"]=m.exports},"7cce":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));var i=n("340d"),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;i10&&(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("4dc6"),n("8844")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"7fd2":function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"chooseFile",(function(){return d}));var r=n("bdee"),o=n("0372"),a=n("493d"),s=n("909e"),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}}),e100&&(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("a18d"),n("8844")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},8076: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("2c9f"))},"81ff":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"}}},"82f1":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getVideoInfo",(function(){return r}));var i=n("bdee");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("2c9f"))},8379:function(t,e,n){"use strict";n.r(e),n.d(e,"createSelectorQuery",(function(){return v}));var i=n("340d"),r=n("745a"),o=n("6352"),a=n("ed2c"),s=n("e68a"),c=n("5883");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;n2&&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}))},"86d3":function(t,e,n){"use strict";n.r(e),n.d(e,"getBackgroundAudioManager",(function(){return f}));var i=n("745a");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;n0&&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}}},"89ce":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"request",(function(){return l}));var i=n("340d");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-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("2c9f"))},"8b82":function(t,e,n){"use strict";var i=Object.create(null),r=n("4b7e");r.keys().forEach((function(t){Object.assign(i,r(t))})),e["a"]=i},"8c7c":function(e,n){e.exports=t},"8cbb":function(t,e,n){"use strict";var i=n("27d2"),r=n.n(i);r.a},"8d7d":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("c80c"),r=n("f621"),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["d"]:0),{top:c,bottom:u,left:0,right:0}}},"8def":function(t,e,n){"use strict";var i=n("70bc"),r=n.n(i);r.a},"8f2f":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;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}n.d(e,"a",(function(){return i}))},"8f80":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("fa54"),a=o["a"],s=(n("f08e"),n("8844")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"8fc6":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7553"),r=n("cff9");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)}},"909e":function(t,e,n){"use strict";var i=n("0db8");n.d(e,"a",(function(){return i["a"]}));var r=n("2ace");n.d(e,"f",(function(){return r["a"]}));var o=n("4335");n.d(e,"c",(function(){return o["a"]}));var a=n("23a1");n.d(e,"g",(function(){return a["a"]}));var s=n("0e4a");n.d(e,"e",(function(){return s["a"]}));var c=n("0c40");n.d(e,"b",(function(){return c["a"]}));var u=n("88a8");n.d(e,"d",(function(){return u["a"]}))},"90f0":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"}}}},9131: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("2c9f"))},9151:function(t,e){(function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),i=0;i>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>4,d[u++]=(15&r)<<4|o>>2,d[u++]=(3&o)<<6|63&a;return l}})()},"923d":function(t,e,n){"use strict";(function(t){var i=n("84ed"),r=n("4738"),o=n("0854"),a={forward:"",back:"",share:"",favorite:"",home:"",menu:"",close:""};e["a"]={name:"PageHead",mixins:[o["a"]],props:{backButton:{type:Boolean,default:!0},backgroundColor:{type:String,default:function(){return"transparent"===this.type?"#000":"#F8F8F8"}},textColor:{type:String,default:"#fff"},titleText:{type:String,default:""},duration:{type:String,default:"0"},timingFunc:{type:String,default:""},loading:{type:Boolean,default:!1},titleSize:{type:String,default:"16px"},type:{default:"default",validator:function(t){return-1!==["default","transparent","float"].indexOf(t)}},coverage:{type:String,default:"132px"},buttons:{type:Array,default:function(){return[]}},searchInput:{type:[Object,Boolean],default:function(){return!1}},titleImage:{type:String,default:""},titlePenetrate:{type:Boolean,default:!1},shadow:{type:Object,default:function(){return{}}}},data:function(){return{focus:!1,text:"",composing:!1,showPlaceholder:!1}},computed:{btns:function(){var t=this,e=[],n={};return this.buttons.length&&this.buttons.forEach((function(o){var a=Object.assign({},o);if(a.fontSrc&&!a.fontFamily){var s,c=a.fontSrc=Object(r["a"])(a.fontSrc);if(c in n)s=n[c];else{s="font".concat(Date.now()),n[c]=s;var u='@font-face{font-family: "'.concat(s,'";src: url("').concat(c,'") format("truetype")}');Object(i["a"])(u,"uni-btn-font-"+s)}a.fontFamily=s}a.color="transparent"===t.type?"#fff":a.color||t.textColor;var l=a.fontSize||("transparent"===t.type||/\\u/.test(a.text)?"22px":"27px");/\d$/.test(l)&&(l+="px"),a.fontSize=l,a.fontWeight=a.fontWeight||"normal",e.push(a)})),e},headClass:function(){var t=this.shadow.colorType,e={"uni-page-head-transparent":"transparent"===this.type,"uni-page-head-titlePenetrate":this.titlePenetrate,"uni-page-head-shadow":t};return t&&(e["uni-page-head-shadow-".concat(t)]=t),e}},mounted:function(){var e=this;if(this.searchInput){var n=this.$refs.input;n.$watch("composing",(function(t){e.composing=t})),n.$watch("valueSync",(function(t){e.showPlaceholder=!!t})),this.searchInput.disabled?n.$el.addEventListener("click",(function(){t.emit("onNavigationBarSearchInputClicked","")})):(n.$refs.input.addEventListener("keyup",(function(n){"ENTER"===n.key.toUpperCase()&&t.emit("onNavigationBarSearchInputConfirmed",{text:e.text})})),n.$refs.input.addEventListener("focus",(function(){t.emit("onNavigationBarSearchInputFocusChanged",{focus:!0})})),n.$refs.input.addEventListener("blur",(function(){t.emit("onNavigationBarSearchInputFocusChanged",{focus:!1})})))}},methods:{_back:function(){1===getCurrentPages().length?uni.reLaunch({url:"/"}):uni.navigateBack({from:"backbutton"})},_onBtnClick:function(e){t.emit("onNavigationBarButtonTap",Object.assign({},this.btns[e],{index:e}))},_formatBtnFontText:function(t){return t.fontSrc&&t.fontFamily?t.text.replace("\\u","&#x"):a[t.type]?a[t.type]:t.text||""},_formatBtnStyle:function(t){var e={color:t.color,fontSize:t.fontSize,fontWeight:t.fontWeight};return t.fontFamily&&(e.fontFamily=t.fontFamily),e},_focus:function(){this.focus=!0},_blur:function(){this.focus=!1},_input:function(e){t.emit("onNavigationBarSearchInputChanged",{text:e})},_clearInput:function(){this.text="",this._input(this.text)}}}}).call(this,n("2c9f"))},"925f":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."}}}},"951c":function(t,n){t.exports=e},9593:function(t,e,n){"use strict";var i=n("83c2"),r=n.n(i);r.a},"95bd":function(t,e,n){"use strict";var i=n("1fdf"),r=n.n(i);r.a},9602:function(t,e,n){"use strict";n.r(e),function(t){var i=n("38ce"),r=n("cce2"),o=n("2be0"),a=n("f98c");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("31d2"))},"96b9":function(t,e,n){"use strict";var i=n("c194"),r=n.n(i);r.a},9798: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;n1?e-1:0),i=1;i0;)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}()},"97af":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("cff9");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,a=n.params.__id__,s=e.params.__id__;function c(t){if(t){Object(i["b"])(t,"onUnload");var e=h.indexOf(t);e>=0&&h.splice(e,1)}}switch(r=n.meta.isSet?h.find((function(t){return t.$page.meta.pagePath===n.meta.pagePath})):h.find((function(t){return t.$page.id===a})),e.type){case"navigateTo":r&&Object(i["b"])(r,"onHide");break;case"redirectTo":c(r);break;case"switchTab":n.meta.isTabBar&&r&&Object(i["b"])(r,"onHide");break;case"reLaunch":break;default:a&&a>s&&(c(r),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,l=getCurrentPages(!0);u=e.meta.isSet?l.find((function(t){return t.$page.meta.pagePath===e.meta.pagePath})):l.find((function(t){return t.$page.id===s})),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("2c9f"))},"97c3":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;it.length)&&(e=t.length);for(var n=0,i=new Array(e);n-1&&f.splice(e,1)}else f.length=0}},"9f62":function(t,e,n){"use strict";(function(t){var i=n("909e");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("31d2"))},"9f69":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,"offLocationChange",(function(){return f})),n.d(e,"onLocationChangeError",(function(){return p})),n.d(e,"offLocationChangeError",(function(){return g}));var i=n("b435"),r=t,o=r.invokeCallbackHandler,a=[],s=[],c=!1,u=0;function l(t,e){var n=t.type,r=void 0===n?"gcj02":n;if(!navigator.geolocation)return{errMsg:"startLocationUpdate:fail"};u=u||navigator.geolocation.watchPosition((function(t){c=!0,Object(i["f"])(r,t.coords).then((function(t){a.forEach((function(e){o(e,t)}))})).catch((function(t){s.forEach((function(e){o(e,{errMsg:"onLocationChange:fail ".concat(t.message)})}))}))}),(function(t){c||(o(e,{errMsg:"startLocationUpdate:fail ".concat(t.message)}),c=!0),s.forEach((function(e){o(e,{errMsg:"onLocationChange:fail ".concat(t.message)})}))})),setTimeout((function(){o(e,{errMsg:"startLocationUpdate:ok"})}),100)}function d(){return 0!==u&&(navigator.geolocation.clearWatch(u),c=!1,u=0),{}}function h(t){a.push(t)}function f(t){if(t){var e=a.indexOf(t);e>=0&&a.splice(e,1)}else a=[]}function p(t){s.push(t)}function g(t){if(t){var e=s.indexOf(t);e>=0&&s.splice(e,1)}else s=[]}}.call(this,n("2c9f"))},a004: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"]},a050: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("909e"),a=n("39bd"),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 te?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("f2a9"),n("8844")),d=Object(l["a"])(u,i,r,!1,null,null,null);e["default"]=d.exports},a111: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."}}}},a187:function(t,e,n){},a18d:function(t,e,n){"use strict";var i=n("07b5"),r=n.n(i);r.a},a1d7:function(t,e,n){var i={"./audio/index.vue":"d55f","./button/index.vue":"d6fb","./canvas/index.vue":"63b1","./checkbox-group/index.vue":"d514","./checkbox/index.vue":"ca37","./editor/index.vue":"b1d2","./form/index.vue":"baa1","./icon/index.vue":"0abb","./image/index.vue":"7efa","./input/index.vue":"e0e1","./label/index.vue":"2a78","./movable-area/index.vue":"dbe8","./movable-view/index.vue":"65ce","./navigator/index.vue":"5c1f","./picker-view-column/index.vue":"e510","./picker-view/index.vue":"9eba","./progress/index.vue":"801b","./radio-group/index.vue":"3a3e","./radio/index.vue":"1f8a","./resize-sensor/index.vue":"120f","./rich-text/index.vue":"7aa9","./scroll-view/index.vue":"8f80","./slider/index.vue":"a050","./swiper-item/index.vue":"2066","./swiper/index.vue":"383e","./switch/index.vue":"c1f1","./text/index.vue":"e9d1","./textarea/index.vue":"da9d"};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="a1d7"},a202: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)}))}}},a22f:function(t,e,n){"use strict";var i=n("21f5"),r=n.n(i);r.a},a2f6: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;n0&&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("2c9f"))},a770: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=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}})()},a7fb: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("84ed"),a=n("4e46"),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("8cbb"),n("8844")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["a"]=l.exports},a805: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("0ee4"))},a874:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"createMediaQueryObserver",(function(){return d}));var i=n("7553"),r=n("745a"),o=n("0795");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;n1&&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["q"])(d.list[l].iconfont,s,e.iconfont),e.iconfont=d.list[l].iconfont),Object(i["q"])(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,p.isSet=!0,p.id=l+1;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["q"])(d,o,e);break;case"showTabBarRedDot":Object(i["q"])(d.list[l],a,{badge:"",redDot:!0});break;case"setTabBarBadge":Object(i["q"])(d.list[l],a,{badge:e.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":Object(i["q"])(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)}},a944: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)+"}[^<]*