(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["uni"]=e():t["uni"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0094":function(t,e,n){"use strict";n.r(e);var i=n("f2b3"),r=n("c4c5");function o(t,e,n){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=a(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}},o(t,e,n||t)}function a(t,e){while(!Object.prototype.hasOwnProperty.call(t,e))if(t=y(t),null===t)break;return t}function s(t){var e="function"===typeof Map?new Map:void 0;return s=function(t){if(null===t||!u(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,y(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,t)},s(t)}function c(t,e,n){return c=b()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=Function.bind.apply(t,i),o=new r;return n&&v(o,n.prototype),o},c.apply(null,arguments)}function u(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n1)){this.getAttribute("hover-stop-propagation")&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0;var n=50,i=Number(this.getAttribute("hover-start-time")||n);this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),isNaN(i)?n:i)}}},{key:"_hoverTouchEnd",value:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}},{key:"_hoverReset",value:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer);var e=400,n=Number(t.getAttribute("hover-stay-time")||e);t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),isNaN(n)?e:n)}))}},{key:"_hoverTouchCancel",value:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}},{key:"hovering",get:function(){return this._hovering},set:function(t){this._hovering=t;var e=this.getAttribute("hover-class").split(" ").filter(Boolean),n=this.classList;t?n.add.apply(n,e):n.remove.apply(n,e)}}]),n}(F);function et(t){return et="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},et(t)}function nt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}function rt(t,e){return rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},rt(t,e)}function ot(t){return function(){var e,n=ut(t);if(ct()){var i=ut(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return at(this,e)}}function at(t,e){return!e||"object"!==et(e)&&"function"!==typeof e?st(t):e}function st(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function ut(t){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ut(t)}var lt=function(t){it(n,t);var e=ot(n);function n(){return nt(this,n),e.apply(this,arguments)}return n}(tt);e["default"]={View:lt}},"010d":function(t,e,n){},"02b5":function(t,e,n){"use strict";var i=n("e5e5"),r=n.n(i);r.a},"02ed":function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出應用","uni.async.error":"連接服務器超時,點擊屏幕重試","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"請注意 showToast 與 hideToast 必須配對使用","uni.showLoading.unpaired":"請注意 showLoading 與 hideLoading 必須配對使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"確定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"從相冊選擇","uni.chooseImage.sourceType.camera":"拍攝","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"從相冊選擇","uni.chooseVideo.sourceType.camera":"拍攝","uni.chooseFile.notUserActivation":"文件選擇器對話框只能在由用戶激活時顯示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存圖像","uni.previewImage.save.success":"保存圖像到相冊成功","uni.previewImage.save.fail":"保存圖像到相冊失敗","uni.setClipboardData.success":"內容已復制","uni.scanCode.title":"掃碼","uni.scanCode.album":"相冊","uni.scanCode.fail":"識別失敗","uni.scanCode.flash.on":"輕觸照亮","uni.scanCode.flash.off":"輕觸關閉","uni.startSoterAuthentication.authContent":"指紋識別中...","uni.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":"取消"}')},"03df":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-web-view",t._g({},t.$listeners))},r=[],o=n("646c"),a=o["a"],s=(n("2df3"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"0516":function(t,e,n){"use strict";(function(t,i){n.d(e,"a",(function(){return f}));var r=n("f2b3"),o=n("a6b0"),a=n("33ed"),s=n("2522"),c=n("a20d"),u=!!r["l"]&&{passive:!1};function l(e){var n=e.statusbarHeight,i=e.windowTop,r=e.windowBottom;if(t.__WINDOW_TOP=i,t.__WINDOW_BOTTOM=r,uni.canIUse("css.var")){var o=document.documentElement.style;o.setProperty("--window-left","0px"),o.setProperty("--window-right","0px"),o.setProperty("--window-top",i+"px"),o.setProperty("--window-bottom",r+"px"),o.setProperty("--status-bar-height",n+"px")}}function h(t,e){var n=t.locale,i=t.statusbarHeight,r=t.windowTop,s=t.windowBottom,c=t.disableScroll,h=t.onPageScroll,d=t.onPageReachBottom,f=t.onReachBottomDistance;Object(o["c"])(n),l({statusbarHeight:i,windowTop:r,windowBottom:s}),c?document.addEventListener("touchmove",a["b"],u):(h||d)&&requestAnimationFrame((function(){document.addEventListener("scroll",Object(a["a"])(e,{enablePageScroll:h,enablePageReachBottom:d,onReachBottomDistance:f}))}))}function d(){i.publishHandler("webviewReady")}function f(t){t(c["m"],d),t(s["a"],h),t(c["f"],o["c"])}}).call(this,n("c8ba"),n("501c"))},"0741":function(t,e,n){"use strict";var i=n("5bb5a"),r=n.n(i);r.a},"07f4":function(t,e,n){"use strict";var i=n("be7f"),r=4,o=0,a=1,s=2;function c(t){var e=t.length;while(--e>=0)t[e]=0}var u=0,l=1,h=2,d=3,f=258,p=29,v=256,m=v+1+p,g=30,_=19,b=2*m+1,y=15,w=16,S=7,k=256,x=16,C=17,T=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],$=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=512,M=new Array(2*(m+2));c(M);var P=new Array(2*g);c(P);var j=new Array(A);c(j);var L=new Array(f-d+1);c(L);var N=new Array(p);c(N);var D,R,B,F=new Array(g);function z(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}function V(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function H(t){return t<256?j[t]:j[256+(t>>>7)]}function Y(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function U(t,e,n){t.bi_valid>w-n?(t.bi_buf|=e<>w-t.bi_valid,t.bi_valid+=n-w):(t.bi_buf|=e<>>=1,n<<=1}while(--e>0);return n>>>1}function q(t){16===t.bi_valid?(Y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function Z(t,e){var n,i,r,o,a,s,c=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,v=0;for(o=0;o<=y;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;np&&(o=p,v++),c[2*i+1]=o,i>u||(t.bl_count[o]++,a=0,i>=f&&(a=d[i-f]),s=c[2*i],t.opt_len+=s*(o+a),h&&(t.static_len+=s*(l[2*i+1]+a)));if(0!==v){do{o=p-1;while(0===t.bl_count[o])o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,v-=2}while(v>0);for(o=p;0!==o;o--){i=t.bl_count[o];while(0!==i)r=t.heap[--n],r>u||(c[2*r+1]!==o&&(t.opt_len+=(o-c[2*r+1])*c[2*r],c[2*r+1]=o),i--)}}}function G(t,e,n){var i,r,o=new Array(y+1),a=0;for(i=1;i<=y;i++)o[i]=a=a+n[i-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=X(o[s]++,s))}}function K(){var t,e,n,i,r,o=new Array(y+1);for(n=0,i=0;i>=7;i8?Y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function tt(t,e,n,r){Q(t),r&&(Y(t,n),Y(t,~n)),i.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}function et(t,e,n,i){var r=2*e,o=2*n;return t[r]>1;n>=1;n--)nt(t,o,n);r=c;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],nt(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*r]=o[2*n]+o[2*i],t.depth[r]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=r,t.heap[1]=r++,nt(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],Z(t,e),G(o,u,t.bl_count)}function ot(t,e,n){var i,r,o=-1,a=e[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),e[2*(n+1)+1]=65535,i=0;i<=n;i++)r=a,a=e[2*(i+1)+1],++s=3;e--)if(0!==t.bl_tree[2*I[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function ct(t,e,n,i){var r;for(U(t,e-257,5),U(t,n-1,5),U(t,i-4,4),r=0;r>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return a;for(e=32;e0?(t.strm.data_type===s&&(t.strm.data_type=ut(t)),rt(t,t.l_desc),rt(t,t.d_desc),c=st(t),o=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==e?dt(t,e,n,i):t.strategy===r||a===o?(U(t,(l<<1)+(i?1:0),3),it(t,M,P)):(U(t,(h<<1)+(i?1:0),3),ct(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),it(t,t.dyn_ltree,t.dyn_dtree)),J(t),i&&Q(t)}function vt(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(L[n]+v+1)]++,t.dyn_dtree[2*H(e)]++),t.last_lit===t.lit_bufsize-1}e._tr_init=ht,e._tr_stored_block=dt,e._tr_flush_block=pt,e._tr_tally=vt,e._tr_align=ft},"0998":function(t,e,n){"use strict";var i=n("010d"),r=n.n(i);r.a},"0aa0":function(t,e,n){"use strict";var i=n("a53f");function r(t){var e;while(t){var n=getComputedStyle(t),i=n.transform||n.webkitTransform;e=(!i||"none"===i)&&e,e="fixed"===n.position||e,t=t.parentElement}return e}e["a"]={name:"Native",data:function(){return{position:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},provide:function(){return{parentOnDraw:this._onDraw}},inject:{parentOnDraw:{default:null}},created:function(){this.isNative=!0,this.onCanInsertCallbacks=[],this.onDrawCallbacks=[]},mounted:function(){this._updatePosition(),this.onCanInsertCallbacks.forEach((function(t){return t()})),this.onCanInsertCallbacks=null,this.$on("uni-view-update",this._requestPositionUpdate)},methods:{_updatePosition:function(){var t=(this.$refs.container||this.$el).getBoundingClientRect();if(this.hidden=0===t.width||0===t.height,!this.hidden){var e=this.position;e.position=r(this.$el)?"absolute":"static";var n=["top","left","width","height"];n.forEach((function(n){var r=t[n];r="top"===n?r+("static"===e.position?document.documentElement.scrollTop||document.body.scrollTop||0:Object(i["a"])()):r,e[n]=r+"px"}))}},_requestPositionUpdate:function(){var t=this;this._positionUpdateRequest&&cancelAnimationFrame(this._positionUpdateRequest),this._positionUpdateRequest=requestAnimationFrame((function(){delete t._positionUpdateRequest,t._updatePosition()}))},_onParentReady:function(t){var e=this,n=function(n){t(n),e.onDrawCallbacks.forEach((function(t){return t(e.position)})),e.onDrawCallbacks=null};this._onSelfReady((function(){e.parentOnDraw?e.parentOnDraw(n):n({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})}))},_onSelfReady:function(t){this.onCanInsertCallbacks?this.onCanInsertCallbacks.push(t):t()},_onDraw:function(t){this.onDrawCallbacks?this.onDrawCallbacks.push(t):t(this.position)}}}},"0b86":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("f2b3");function r(t,e,n){if(!t.$parent)return"-1";var r=t.$vnode,o=r.context,a=r.data.attrs._i;return n&&Object(i["e"])(r.data,"key")&&(a=a+";"+r.data.key),o&&o!==e&&o._$id?o._$id+";"+e._$id+","+a:e._$id+","+a}},"0c7c":function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},"0f55":function(t,e,n){"use strict";var i=n("55e3"),r=n.n(i);r.a},1029:function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("18fd"),o=n("b253"),a=n("93ab");function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(){return"ios"===plus.os.name.toLowerCase()}e["a"]={name:"Editor",mixins:[i["f"],i["a"],i["d"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.setPlaceHolder(t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize");var n="./__uniappquill.js";Object(a["a"])(window.Quill,n,(function(){if(e.length){var n="./__uniappquillimageresize.js";Object(a["a"])(window.ImageResize,n,(function(){t.initQuill(e)}))}else t.initQuill(e)}))},methods:{_textChangeHandler:function(){this.$trigger("input",{},this.getContents())},_handleSubscribe:function(e){var n,i,r,o=this,a=e.type,c=e.data,u=c.options,l=c.callbackId,h=this.quill,d=window.Quill;if(this.quillReady){switch(a){case"format":var f=u.name,p=void 0===f?"":f,v=u.value,m=void 0!==v&&v;i=h.getSelection(!0);var g=h.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))m=!g;else if("direction"===p){m=("rtl"!==m||!g)&&m;var _=h.getFormat(i).align;"rtl"!==m||_?m||"right"!==_||h.format("align",!1,d.sources.USER):h.format("align","right",d.sources.USER)}else if("indent"===p){var b="rtl"===h.getFormat(i).direction;m="+1"===m,b&&(m=!m),m=m?"+1":"-1"}else"list"===p&&(m="check"===m?"unchecked":m,g="checked"===g?"unchecked":g),m=g&&g!==(m||!1)||!g&&m?m:!g;h.format(p,m,d.sources.USER);break;case"insertDivider":i=h.getSelection(!0),h.insertText(i.index,"\n",d.sources.USER),h.insertEmbed(i.index+1,"divider",!0,d.sources.USER),h.setSelection(i.index+2,d.sources.SILENT);break;case"insertImage":i=h.getSelection(!0);var y=u.src,w=void 0===y?"":y,S=u.alt,k=void 0===S?"":S,x=u.width,C=void 0===x?"":x,T=u.height,O=void 0===T?"":T,$=u.extClass,E=void 0===$?"":$,I=u.data,A=void 0===I?{}:I,M=this.$getRealPath(w);h.insertEmbed(i.index,"image",M,d.sources.SILENT);var P=!!/^(file|blob):/.test(M)&&M;h.formatText(i.index,1,"data-local",P,d.sources.SILENT),h.formatText(i.index,1,"alt",k,d.sources.SILENT),h.formatText(i.index,1,"width",C,d.sources.SILENT),h.formatText(i.index,1,"height",O,d.sources.SILENT),h.formatText(i.index,1,"class",E,d.sources.SILENT),h.formatText(i.index,1,"data-custom",Object.keys(A).map((function(t){return"".concat(t,"=").concat(A[t])})).join("&"),d.sources.SILENT),h.setSelection(i.index+1,d.sources.SILENT),h.scrollIntoView(),setTimeout((function(){o._textChangeHandler()}),1e3);break;case"insertText":i=h.getSelection(!0);var j=u.text,L=void 0===j?"":j;h.insertText(i.index,L,d.sources.USER),h.setSelection(i.index+L.length,0,d.sources.SILENT);break;case"setContents":var N=u.delta,D=u.html;"object"===s(N)?h.setContents(N,d.sources.SILENT):"string"===typeof D?h.setContents(this.html2delta(D),d.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":h.setContents([]);break;case"removeFormat":i=h.getSelection(!0);var R=d.import("parchment");i.length?h.removeFormat(i,d.sources.USER):Object.keys(h.getFormat(i)).forEach((function(t){R.query(t,R.Scope.INLINE)&&h.format(t,!1)}));break;case"undo":h.history.undo();break;case"redo":h.history.redo();break;case"blur":h.blur();break;case"getSelectionText":i=h.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=h.getText(i.index,i.length));break;case"scrollIntoView":h.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";l&&t.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(r?"fail "+r:"ok")})},this.$page.id)},setPlaceHolder:function(t){var e="data-placeholder",n=this.quill.root;n.getAttribute(e)!==t&&n.setAttribute(e,t)},initQuill:function(t){var e=this,n=window.Quill;o["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:t});var r=this.quill=new n(this.$el,i),a=r.root,s=["focus","blur","input"];s.forEach((function(t){a.addEventListener(t,(function(n){var i=e.getContents();if("input"===t){if(c()){var r=(i.html.match(/([\s\S]*)<\/span>/)||[])[1],o=r&&r.replace(/\s/g,"")?"":e.placeholder;e.setPlaceHolder(o)}n.stopPropagation()}else e.$trigger(t,n,i)}))})),r.on(n.events.TEXT_CHANGE,this._textChangeHandler),r.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),r.on(n.events.SCROLL_OPTIMIZE,(function(){var t=r.selection.getRange()[0];e.updateStatus(t)})),r.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,n){return e.skipMatcher||(n.ops=n.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))),n})),this.initKeyboard(a),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root["inner"+"HTML"],n=t.getText(),i=t.getContents();return{html:e,text:n,delta:i}},html2delta:function(t){var e,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],i="";Object(r["a"])(t,{start:function(t,r,o){if(n.includes(t)){e=!1;var a=r.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(a," ").concat(o?"/":"",">");i+=s}else e=!o},end:function(t){e||(i+=""))},chars:function(t){e||(i+=t)}}),this.skipMatcher=!0;var o=this.quill.clipboard.convert(i);return this.skipMatcher=!1,o},updateStatus:function(t){var e=this,n=t?this.quill.getFormat(t):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.find((function(t){return n[t]!==e.__status[t]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},1082:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.style}),"widthFix"===t.mode||"heightFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._fixSize()}}}):t._e()],1)},r=[];function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t){return("undefined"===typeof navigator||o(navigator))&&"Google Inc."===navigator.vendor&&t>10&&(t=2*Math.round(t/2)),t}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":case"heightFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":e,"background-size":t,"background-repeat":n}}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"!==e&&"heightFix"!==e||this._resetSize(),"widthFix"!==t&&"heightFix"!==t||this._fixSize()},contentPath:function(t){!t&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var t=this.$el;if("widthFix"===this.mode){var e=t.offsetWidth;e&&(t.style.height=a(e/this.ratio)+"px")}else if("heightFix"===this.mode){var n=t.offsetHeight;n&&(t.style.width=a(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var t=this,e=this.$getRealPath(this.src);if(e){var n=this._img=this._img||new Image;n.onload=function(i){t._img=null;var r=t.originalWidth=n.width,o=t.originalHeight=n.height;t._fixSize(),t.contentPath=e,n.draggable=t.draggable,t.__img&&t.__img.remove(),t.__img=n,t.$el.appendChild(n),t.$trigger("load",i,{width:r,height:o})},n.onerror=function(e){t._img=null,t._resetData(),t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},n.src=e}else this._clearImage(),this._resetData()},_clearImage:function(){var t=this._img;t&&(t.onload=null,t.onerror=null,this._img=null)}}},c=s,u=(n("db18"),n("0c7c")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"14db":function(t,e,n){"use strict";var i=n("3770"),r=n.n(i);r.a},1757:function(t,e,n){},"17fd":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-navigator",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel,mousedown:t._hoverMousedown,mouseup:t._hoverMouseup,click:t._onClick}},t.$listeners),[t._t("default")],2):n("uni-navigator",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a=["navigate","redirect","switchTab","reLaunch","navigateBack"],s=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],c=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],u={name:"Navigator",mixins:[o["c"]],props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:function(t){return~a.indexOf(t)}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},animationType:{type:String,validator:function(t){return!t||~s.concat(c).indexOf(t)},default:""},animationDuration:{type:[String,Number],default:300}},methods:{_onClick:function(t){if("navigateBack"===this.openType||this.url){var e=parseInt(this.animationDuration);switch(this.openType){case"navigate":uni.navigateTo({url:this.url,animationType:this.animationType||"pop-in",animationDuration:e});break;case"redirect":uni.redirectTo({url:this.url,exists:this.exists});break;case"switchTab":uni.switchTab({url:this.url});break;case"reLaunch":uni.reLaunch({url:this.url});break;case"navigateBack":uni.navigateBack({delta:this.delta,animationType:this.animationType||"pop-out",animationDuration:e});break;default:break}}else console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}},l=u,h=(n("f7fd"),n("0c7c")),d=Object(h["a"])(l,i,r,!1,null,null,null);e["default"]=d.exports},"18fd":function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var i=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=f("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),h=f("script,style");function d(t,e){var n,d,f,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(d=!0,p.last()&&h[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),(function(t,n){return n=n.replace(/|/g,"$1$2"),e.chars&&e.chars(n),""})),_("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),d=!1)):0==t.indexOf("=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)e.end&&e.end(p[r]);p.length=i}}_()}function f(t){for(var e={},n=t.split(","),i=0;i*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(t),t.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["a"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),i=e-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var o=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),a=i<0?-o:o,s=Math.min(this.current+a,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var n=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=e;t.preventDefault()},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new o["a"](1e-4),spring:new a["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick((function(){var e=Math.min(t.current,t.length-1);e=Math.max(e,0),t._scroller.update(e*t.indicatorHeight,void 0,t.indicatorHeight)}))},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{on:this.$listeners}},[t("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},d=h,f=(n("edfa"),n("0c7c")),p=Object(f["a"])(d,u,l,!1,null,null,null);e["default"]=p.exports},"1b6f":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,n,r){r&&!n||Object(i["f"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var t="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",t),this._contextId=t),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:t,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(t,e,n){"use strict";var i=n("97b9"),r=n.n(i);r.a},"1c73":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var i={},r={};function o(t){for(var e=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],i=0,r=n;i=0&&e.push("(".concat(a(o),": ").concat(Number(t[o]),"px)")),"orientation"===o&&t[o]&&e.push("(".concat(a(o),": ").concat(t[o],")"))}return e=e.join(" and "),e}function a(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(e){var n=e.reqId,a=e.options,s=i[n]=window.matchMedia(o(a)),c=r[n]=function(e){t.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:e.matches})};c(s),s.addListener(c)}function c(e){var n=e.reqId,o=r[n],a=i[n];a&&(a.removeListener(o),delete i[n],t.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1e88":function(t,e,n){"use strict";function i(){return{top:0,bottom:0,left:0,right:0}}n.d(e,"a",(function(){return i}))},"1efd":function(t,e,n){"use strict";n.r(e);var i=n("e571"),r=n("a34f"),o=n("d4b6"),a={methods:{$getRealPath:function(t){return t?Object(r["a"])(t):t},$trigger:function(t,e,n){this.$emit(t,o["b"].call(this,t,e,n,this.$el,this.$el))}}},s=n("9b52"),c=[n("5408"),n("1922")],u={};n("d16b");var l=n("0094");for(var h in u=l.default||l,u)customElements.define("uni-".concat(h.toLowerCase()),u[h]);c.forEach((function(t,e){t.keys().forEach((function(e){var n=t(e),r=n.default||n;r.mixins=r.mixins?[].concat(a,r.mixins):[a],r.functional||r.mixins.push(s["a"]),r.name="VUni"+r.name,r.isReserved=!0,i["a"].component(r.name,r)}))}))},"1f56":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({},t.$listeners),[n("div",{ref:"container",staticClass:"uni-video-container"}),n("div",{staticClass:"uni-video-slot"},[t._t("default")],2)])},r=[],o=n("8af1"),a=n("0aa0");function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(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 u(t){for(var e=1;e-1:t.valueSync},on:{change:[function(e){var n=t.valueSync,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);i.checked?a<0&&(t.valueSync=n.concat([o])):a>-1&&(t.valueSync=n.slice(0,a).concat(n.slice(a+1)))}else t.valueSync=r},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}),t.disabled&&t.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:t.disabled,type:t.inputType,maxlength:t.maxlength,step:t._step},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},r=[],o=n("8af1"),a=n("f2b3"),s=["text","number","idcard","digit","password","tel"],c=["number","digit"],u=["off","one-time-code"],l=["none","text","decimal","numeric","tel","search","email","url"],h={name:"Input",mixins:[o["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:function(t){return!!~l.indexOf(t)}}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},_step:function(){return~c.indexOf(this.type)?this.step:""},autocomplete:function(){var t=u.indexOf(this.textContentType),e=u.indexOf(Object(a["i"])(this.textContentType)),n=-1!==t?t:-1!==e?e:0;return u[n]},showPlaceholder:function(){var t="digit"===this.type?this.cachedValue.indexOf("."):-1;return!(this.composing||this.valueSync.length||"-"===this.cachedValue||-1!==t&&t===this.cachedValue.length-1)}},watch:{maxlength:function(t){var e=this.valueSync.slice(0,parseInt(t,10));e!==this.valueSync&&(this.valueSync=e)},valueSync:function(t){"number"!==this.type||"-"===this.cachedValue&&""===t||(this.cachedValue=t)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){var e=t.target;this.$trigger("confirm",t,{value:e.value}),this.confirmHold||e.blur()},_onInput:function(t,e){var n=this,i=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&t.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(t.target.value=t.target.value.slice(0,r),this.valueSync=t.target.value)),this.__clearCachedValue&&t.target.removeEventListener("blur",this.__clearCachedValue),t.target.validity&&!t.target.validity.valid){if((!this.cachedValue||!t.target.value)&&"-"===t.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===t.inputType){this.cachedValue="-",this.valueSync="";var o=this.__clearCachedValue=function(){n.cachedValue=t.target.value=""};return void t.target.addEventListener("blur",o)}if(this.cachedValue)if(-1!==this.cachedValue.indexOf(".")){if("."!==t.data&&"deleteContentBackward"===t.inputType){var a=this.cachedValue.indexOf(".");return this.cachedValue=t.target.value=this.valueSync=this.cachedValue.slice(0,a),this.$triggerInput(t,{value:this.valueSync},e)}}else if("."===t.data)return this.cachedValue+=".",this.__clearCachedValue=function(){n.cachedValue=n.valueSync=t.target.value=n.cachedValue.slice(0,-1)},t.target.addEventListener("blur",this.__clearCachedValue),!1;return void(this.cachedValue=this.valueSync=t.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||(this.valueSync=this.$refs.input.value,this.$triggerInput(t,{value:this.valueSync},e))}},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=h,f=(n("0f55"),n("0c7c")),p=Object(f["a"])(d,i,r,!1,null,null,null);e["default"]=p.exports},2522:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i="onPageCreate"},"25ce":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["e"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),t.value=e,t.key=this.name}return t}}},s=a,c=(n("0998"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"27ab":function(t,e,n){"use strict";n.r(e);var i=n("f2b3");function r(t){return c(t)||s(t)||a(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function c(t){if(Array.isArray(t))return u(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0)&&(this.valueSync.length=t.length,t.forEach((function(t,e){t!==n.valueSync[e]&&n.$set(n.valueSync,e,t)})))},valueSync:{deep:!0,handler:function(t,e){if(""===this.changeSource)this._valueChanged(t);else{this.changeSource="";var n=t.map((function(t){return t}));this.$emit("update:value",n),this.$trigger("change",{},{value:n})}}}},methods:{getItemIndex:function(t){return this.items.indexOf(t)},getItemValue:function(t){return this.valueSync[this.getItemIndex(t.$vnode)]||0},setItemValue:function(t,e){var n=this.getItemIndex(t.$vnode),i=this.valueSync[n];i!==e&&(this.changeSource="touch",this.$set(this.valueSync,n,e))},_valueChanged:function(t){this.items.forEach((function(e,n){e.componentInstance.setCurrent(t[n]||0)}))},_resize:function(t){var e=t.height;this.height=e}},render:function(t){var e=[];return this.$slots.default&&Object(i["d"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-picker-view-column"===t.componentOptions.tag&&e.push(t)})),this.items=e,t("uni-picker-view",{on:this.$listeners},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}}),t("div",{ref:"wrapper",class:"uni-picker-view-wrapper"},e)])}},f=d,p=(n("6062"),n("0c7c")),v=Object(p["a"])(f,l,h,!1,null,null,null);e["default"]=v.exports},"27c2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-editor",t._g({staticClass:"ql-container",attrs:{id:t.id}},t.$listeners))},r=[],o=n("1029"),a=o["a"],s=(n("e298"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"27ef":function(t,e,n){"use strict";var i=n("6596"),r=n.n(i);r.a},"28e4":function(t,e,n){"use strict";function i(t){return new Promise((function(e,n){function i(){var i=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));i.load(t,(function(){e(i.toBase64Data()),i.clear()}),(function(t){i.clear(),n(t)}))}plus.io.resolveLocalFileSystemURL(t,(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){e(t.target.result)},n.onerror=i,n.readAsDataURL(t)}),i)}),i)}))}function r(t){return new Promise((function(e,n){0===t.indexOf("http://")||0===t.indexOf("https://")?plus.downloader.createDownload(t,{filename:"_doc/uniapp_temp/download/"},(function(t,i){200===i?e(t.filename):n(new Error("network fail"))})).start():e(t)}))}function o(t){return r(t).then((function(t){return window.webkit&&window.webkit.messageHandlers?i(t):plus.io.convertLocalFileSystemURL(t)}))}n.d(e,"a",(function(){return o}))},"2a0a":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var i,r,o=n("f2b3");function a(){Object(o["j"])((function(){i||(i=plus.webview.currentWebview()),r||(r=(i.getStyle()||{}).pullToRefresh||{})}))}function s(t){var e=t.disable;r&&r.support&&i.setPullToRefresh(Object.assign({},r,{support:!e}))}},"2b4d":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&&t>e&&n+e+c>=t,r=Math.abs(t-s)>c;return!i||h&&!r?(!i&&h&&(h=!1),!1):(s=t,h=!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&&d&&(c()||(i=setTimeout(c,300))),l=!1}function c(){if(f())return Object(r["a"])("onReachBottom",{},e),d=!1,setTimeout((function(){d=!0}),350),!0}}return function(){clearTimeout(i),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},3569:function(t,e,n){},3770:function(t,e,n){},3878:function(t,e){var n,i;0===String(navigator.vendor).indexOf("Apple")&&document.documentElement.addEventListener("click",(function(t){var e=450,r=44;clearTimeout(i),n&&Math.abs(t.pageX-n.pageX)<=r&&Math.abs(t.pageY-n.pageY)<=r&&t.timeStamp-n.timeStamp<=e&&t.preventDefault(),n=t,i=setTimeout((function(){n=null}),e)}))},"39aa":function(t){t.exports=JSON.parse('{"uni.app.quit":"Press back button again to exit","uni.async.error":"The connection timed out, click the screen to try again.","uni.showActionSheet.cancel":"Cancel","uni.showToast.unpaired":"Please note showToast must be paired with hideToast","uni.showLoading.unpaired":"Please note showLoading must be paired with hideLoading","uni.showModal.cancel":"Cancel","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancel","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Camera","uni.chooseVideo.cancel":"Cancel","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Camera","uni.chooseFile.notUserActivation":"File chooser dialog can only be shown with a user activation","uni.previewImage.cancel":"Cancel","uni.previewImage.button.save":"Save Image","uni.previewImage.save.success":"Saved successfully","uni.previewImage.save.fail":"Save failed","uni.setClipboardData.success":"Content copied","uni.scanCode.title":"Scan code","uni.scanCode.album":"Album","uni.scanCode.fail":"Recognition failure","uni.scanCode.flash.on":"Tap to turn light on","uni.scanCode.flash.off":"Tap to turn light off","uni.startSoterAuthentication.authContent":"Fingerprint recognition","uni.startSoterAuthentication.waitingContent":"Unrecognizable","uni.picker.done":"Done","uni.picker.cancel":"Cancel","uni.video.danmu":"Danmu","uni.video.volume":"Volume","uni.button.feedback.title":"feedback","uni.button.feedback.send":"send","uni.chooseLocation.search":"Find Place","uni.chooseLocation.cancel":"Cancel"}')},"39ba":function(t,e,n){"use strict";n.r(e);var i,r,o=n("0aa0"),a=n("5077"),s={name:"CoverView",mixins:[o["a"],a["a"]],props:{},data:function(){return{coverType:"text",coverContent:""}},render:function(t){var e="",n=this.$slots.default||[],i=n.filter((function(t){return t.tag}));return i.length?e=i:(n.forEach((function(t){t.tag||(e+=t.text||"")})),this.coverContent=e),t("uni-cover-view",{on:{on:this.$listeners}},[t("div",{ref:"container",staticClass:"uni-cover-view"},[].concat(e))])}},c=s,u=(n("4ba9"),n("0c7c")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"3ae8":function(t,e,n){},"3cd3":function(t,e,n){},"3e5d":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return O}));var i,r,o,a=n("e571"),s=n("a20d"),c=n("2522"),u=n("9d20"),l=n("9856"),h=n("2376");function d(t){return d="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},d(t)}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){return b(t)||_(t,e)||m(t,e)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(t,e){if(t){if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n3?i-3:0),o=3;o0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==h)throw new Error(a[n]);if(e.header&&i.deflateSetHeader(this.strm,e.header),e.dictionary){var u;if(u="string"===typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,n=i.deflateSetDictionary(this.strm,u),n!==h)throw new Error(a[n]);this._dict_set=!0}}function _(t,e){var n=new g(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}function b(t,e){return e=e||{},e.raw=!0,_(t,e)}function y(t,e){return e=e||{},e.gzip=!0,_(t,e)}g.prototype.push=function(t,e){var n,a,s=this.strm,p=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?l:u,"string"===typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===c.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(p),s.next_out=0,s.avail_out=p),n=i.deflate(s,a),n!==d&&n!==h)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||a!==l&&a!==f)||("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&n!==d);return a===l?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===h):a!==f||(this.onEnd(h),s.avail_out=0,!0)},g.prototype.onData=function(t){this.chunks.push(t)},g.prototype.onEnd=function(t){t===h&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=g,e.deflate=_,e.deflateRaw=b,e.gzip=y},"42f9":function(t,e,n){},"435a":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return f}));var i,r="__UNIAPP_PICKER",o="_www/__uniapppicker.html",a=null,s=!1,c=null,u=null;function l(t){function e(t){c=t,u.forEach((function(e){return e(t)})),u=null}null===c?u?u.push(t):(u=[t],plus.io.resolveLocalFileSystemURL(o,(function(){e(!0)}),(function(){e(!1)}))):t(c)}function h(){a||(a=plus.webview.getWebviewById(r),a?s=!0:(a=plus.webview.create(o,r,{popGesture:"none",background:"transparent",backButtonAutoControl:"hide",render:"always",kernel:"WKWebview",bounce:"none",cachemode:"noCache"}),window.__pickerCallback=function(){delete window.__pickerCallback,s=!0}),a.addEventListener("hide",(function(){i&&i(),i=null})))}function d(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;e.id=plus.webview.currentWebview().id,a.show("fade-in"),i=function(){n(t||{event:"cancel"})},window.__pickerCallback=function(i){var r=i.event,o=void 0===r?"cancel":r,c=i.column,u=i.value,l=void 0===u?-1:u;if("created"===o&&a)return s=!0,void a.evalJS("showPicker(".concat(JSON.stringify(e),")"));"columnchange"===o&&a&&n({event:o,column:c,value:l}),"change"!==o&&"cancel"!==o||(window.__pickerCallback=function(){},t={event:o,value:l},a.hide("fade-out",100))},s&&a.evalJS("showPicker(".concat(JSON.stringify(e),")"))}function f(t){s&&a.evalJS("showPicker(".concat(JSON.stringify(t),")"))}},4617:function(t,e,n){"use strict";(function(t){function i(t,e){return c(t)||s(t,e)||o(t,e)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"===typeof t)return a(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)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:p;if(!e)return[t];var i=this._caches[t];return i||(i=_(t,n),this._caches[t]=i),b(i,e)}}]),t}(),m=/^(?:\d)+/,g=/^(?:\w)+/;function _(t,e){var n=i(e,2),r=n[0],o=n[1],a=[],s=0,c="";while(s-1?y:t.indexOf("-hant")>-1||$(t,["-tw","-hk","-mo","-cht"])?w:y;var n=[S,k,x];e&&Object.keys(e).length>0&&(n=Object.keys(e));var i=E(t,n);return i||void 0}}var A=function(){function t(e){var n=e.locale,i=e.fallbackLocale,r=e.messages,o=e.watcher,a=e.formater;u(this,t),this.locale=S,this.fallbackLocale=S,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=a||O,this.messages=r||{},this.setLocale(n||S),o&&this.watchLocale(o)}return h(t,[{key:"setLocale",value:function(t){var e=this,n=this.locale;this.locale=I(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(t){t(e.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,n=this.watchers.push(t)-1;return function(){e.watchers.splice(n,1)}}},{key:"add",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.messages[t];i?n?Object.assign(i,e):Object.keys(e).forEach((function(t){T(i,t)||(i[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,n){return this.formater.interpolate(t,e,n).join("")}},{key:"t",value:function(t,e,n){var i=this.message;return"string"===typeof e?(e=I(e,this.messages),e&&(i=this.messages[e])):n=e,T(i,t)?this.formater.interpolate(i[t],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function M(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function P(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():S}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var r=[e,t];t=r[0],e=r[1]}"string"!==typeof t&&(t=P()),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||S);var o=new A({locale:t,fallbackLocale:n,messages:e,watcher:i}),a=function(t,e){if("function"!==typeof getApp)a=function(t,e){return o.t(t,e)};else{var n=!1;a=function(t,e){var i=getApp().$vm;return i&&(i.$locale,n||(n=!0,M(i,o))),o.t(t,e)}}return a(t,e)};return{i18n:o,f:function(t,e,n){return o.f(t,e,n)},t:function(t,e){return a(t,e)},add:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(t,e,n)},watch:function(t){return o.watchLocale(t)},getLocale:function(){return o.getLocale()},setLocale:function(t){return o.setLocale(t)}}}function L(t,e){return t.indexOf(e[0])>-1}}).call(this,n("c8ba"))},4814:function(t,e,n){},"4ba9":function(t,e,n){"use strict";var i=n("89cf"),r=n.n(i);r.a},"4da7":function(t,e,n){"use strict";n.r(e);var i,r,o={ensp:" ",emsp:" ",nbsp:" "},a={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&o[this.space]&&(t=t.replace(/ /g,o[this.space])),this.decode&&(t=t.replace(/ /g,o.nbsp).replace(/ /g,o.ensp).replace(/ /g,o.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(t){var e=this,n=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var r=i.text.replace(/\\n/g,"\n"),o=r.split("\n");o.forEach((function(i,r){n.push(e._decodeHtml(i)),r!==o.length-1&&n.push(t("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&console.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),n.push(i)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},n)])}},s=a,c=(n("c8ed"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"4dc6":function(t,e,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},"4f1c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:t.checkedColor}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},r=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["e"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},data:function(){return{switchChecked:this.checked}},computed:{checkedColor:function(){return this.switchChecked&&this.color?{backgroundColor:this.color,borderColor:this.color}:{}}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t.value=this.switchChecked,t.key=this.name),t}}},s=a,c=(n("a5ec"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"501c":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return v})),n.d(e,"off",(function(){return m})),n.d(e,"once",(function(){return g})),n.d(e,"emit",(function(){return _})),n.d(e,"subscribe",(function(){return b})),n.d(e,"unsubscribe",(function(){return y})),n.d(e,"subscribeHandler",(function(){return w})),n.d(e,"publishHandler",(function(){return f["a"]}));var i=n("e571");function r(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 o=n("6bdf"),a=n("5dc1"),s=n("1c73"),c={setPageMeta:r,requestComponentInfo:o["a"],requestComponentObserver:a["b"],destroyComponentObserver:a["a"],requestMediaQueryObserver:s["b"],destroyMediaQueryObserver:s["a"]},u=n("33ed"),l=n("7107"),h=n("0516");function d(t){Object.keys(c).forEach((function(e){t(e,c[e])})),t("pageScrollTo",u["c"]),t("loadFontFace",l["a"]),Object(h["a"])(t)}var f=n("5bb5"),p=new i["a"],v=p.$on.bind(p),m=p.$off.bind(p),g=p.$once.bind(p),_=p.$emit.bind(p);function b(t,e){return v("service."+t,e)}function y(t,e){return m("service."+t,e)}function w(t,e,n){_("service."+t,e,n)}d(b)},5077:function(t,e,n){"use strict";var i=["borderRadius","borderColor","borderWidth","backgroundColor"],r=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],o=[],a={start:"left",end:"right"},s=0;e["a"]={name:"Cover",data:function(){return{style:{},parentPosition:{}}},computed:{viewPosition:function(){var t={};for(var e in this.position){var n=this.position[e],i=parseFloat(n),r=parseFloat(this.parentPosition[e]);if("top"===e||"left"===e)n=Math.max(i,r)+"px";else if("width"===e||"height"===e){var o="width"===e?"left":"top",a=parseFloat(this.parentPosition[o]),s=parseFloat(this.position[o]),c=Math.max(a-s,0),u=Math.max(s+i-(a+r),0);n=Math.max(i-c-u,0)+"px"}t[e]=n}return t},tags:function(){var t=this._getTagPosition(),e=this.style,n=[{tag:"rect",position:t,rectStyles:{color:e.backgroundColor,radius:e.borderRadius,borderColor:e.borderColor,borderWidth:e.borderWidth}}];if("image"===this.coverType)n.push({tag:"img",position:t,src:this.coverContent});else{var i=parseFloat(e.lineHeight)-parseFloat(e.fontSize),r=parseFloat(t.width)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight);r=r<0?0:r;var o=parseFloat(t.height)-parseFloat(e.paddingTop)-i/2-parseFloat(e.paddingBottom);o=o<0?0:o,n.push({tag:"font",position:{top:"".concat(parseFloat(t.top)+parseFloat(e.paddingTop)+i/2,"px"),left:"".concat(parseFloat(t.left)+parseFloat(e.paddingLeft),"px"),width:"".concat(r,"px"),height:"".concat(o,"px")},textStyles:{align:a[e.textAlign]||e.textAlign,color:e.color,decoration:"none",lineSpacing:"".concat(i,"px"),margin:"0px",overflow:e.textOverflow,size:e.fontSize,verticalAlign:"top",weight:e.fontWeight,whiteSpace:e.whiteSpace},text:this.coverContent})}return n}},created:function(){var t=this.$parent;while(!t.isNative&&t!==this.$root)t=t.$parent;this._nativeParent=t},mounted:function(){var t=this;this._onParentReady((function(e){t.parentPosition=t._nativeParent.position||e,t._updateStyle(),t._onCanInsert(),t.$watch("hidden",(function(e){t.cover&&t.cover[e?"hide":"show"]()})),t.$watch("viewPosition",(function(e){t.cover&&t.cover.setStyle(e)}),{deep:!0}),t.$watch("tags",(function(){var e=t.cover;e&&(e.reset(),e.draw(t.tags))}),{deep:!0}),t.$on("uni-view-update",t._requestStyleUpdate)}))},beforeDestroy:function(){this._nativeParent.isNative&&(this.cover&&this.cover.close(),delete this.cover)},methods:{_onCanInsert:function(){var t=this,e=this.cover=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(s++),this.viewPosition,this.tags);plus.webview.currentWebview().append(e),this.hidden&&e.hide(),e.addEventListener("click",(function(){t.$trigger("click",{},{})}))},_getTagPosition:function(){var t={};for(var e in this.position){var n=this.position[e];"top"!==e&&"left"!==e||(n=Math.min(parseFloat(n)-parseFloat(this.parentPosition[e]),0)+"px"),t[e]=n}return t},_updateStyle:function(){var t=this,e=getComputedStyle(this.$el);i.concat(r,o).forEach((function(n){t.$set(t.style,n,e[n])}))},_requestStyleUpdate:function(){var t=this;this._styleUpdateRequest&&cancelAnimationFrame(this._styleUpdateRequest),this._styleUpdateRequest=requestAnimationFrame((function(){delete t._styleUpdateRequest,t._updateStyle()}))}}}},5129:function(t,e){t.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},5363:function(t,e,n){"use strict";function i(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return i})),i.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},i.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},i.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},5408:function(t,e,n){var i={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="5408"},5513:function(t,e,n){"use strict";n.r(e);var i=n("ba15"),r=n("f2b3");var o,a,s={name:"Swiper",mixins:[i["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[],isNavigationAuto:!1,hideNavigation:!1,prevDisabled:!1,nextDisabled:!1}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},swiperEnabled:function(){return this.items.length>this.displayMultipleItemsNumber},circularEnabled:function(){return this.circular&&this.swiperEnabled}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t,e){this._currentChanged(t,e),this.$emit("update:current",t),this._setNavigationState()},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()},navigation:{immediate:!0,handler:function(t){this.isNavigationAuto="auto"===t,this.hideNavigation=!0!==t||this.isNavigationAuto,this._navigationSwiperAddMouseEvent()}},items:function(){this._setNavigationState()},swiperEnabled:function(t){t||(this.prevDisabled=!0,this.nextDisabled=!0,this.isNavigationAuto&&(this.hideNavigation=!0))}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout),this._navigationSwiperAddMouseEvent()},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;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,h=!1;h=this.vertical?!(i-s=t}},render:function(t){var e=this,n=[],i=[];this.$slots.default&&Object(r["d"])(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||i-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 y(){if(!0!==__uniConfig.darkmode)return Object(_["h"])(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(t){return"light"}}var w=navigator.userAgent,S=/android/i.test(w),k=/iphone|ipad|ipod/i.test(w),x=w.match(/Windows NT ([\d|\d.\d]*)/i),C=/Macintosh|Mac/i.test(w),T=/Linux|X11/i.test(w),O=C&&navigator.maxTouchPoints>0;function $(){var t,e,n,i=navigator.language,r="phone";if(k){t="iOS";var o=w.match(/OS\s([\w_]+)\slike/);o&&(e=o[1].replace(/_/g,"."));var a=w.match(/\(([a-zA-Z]+);/);a&&(n=a[1])}else if(S){t="Android";var s=w.match(/Android[\s/]([\w\.]+)[;\s]/);s&&(e=s[1]);for(var c=w.match(/\((.+?)\)/),u=c?c[1].split(";"):w.split(" "),l=[/\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],h=0;h0){n=d.split("Build")[0].trim();break}for(var f=void 0,p=0;p=13)&&document.activeElement.blur()};t.addEventListener("focus",(function(){e=!0,clearTimeout(i),document.addEventListener("click",h,!1),s=l,a&&n.$trigger("keyboardheightchange",{},{height:a,duration:0}),f(n),d(n)})),r&&t.addEventListener("click",(function(){!n.disabled&&e&&0===a&&d(n)})),r||(parseInt(o)<12&&t.addEventListener("touchstart",(function(){n.disabled||e||d(n)})),parseFloat(o)>=14.6&&!c&&Object(u["j"])((function(){var t=plus.webview.currentWebview();c=t.getStyle()||{}})));var v=function(){document.removeEventListener("click",h,!1),s=null,a&&n.$trigger("keyboardheightchange",{},{height:0,duration:0}),p(n),r&&(i=setTimeout((function(){d(n,!0)}),300)),n.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(function(){n.isApple&&t.blur(),e=!1,v()}))}}}},"5ab3":function(t,e,n){"use strict";var i=n("907b"),r=n.n(i);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},i.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(a(window,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach((function(i){var o=i.element,a=u(o),s=this._rootContainsTarget(o),c=i.entry,l=t&&s&&this._computeTargetAndRootIntersection(o,e),h=i.entry=new n({time:r(),target:o,boundingClientRect:a,rootBounds:e,intersectionRect:l});c?t&&s?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var i=u(e),r=i,o=d(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=d(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 h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("a20d"),r=n("f2b3");function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(r["j"])((function(){var n=plus.webview.currentWebview().id;plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:t,data:e,pageId:n}},i["a"])}))}},"5bb5a":function(t,e,n){},"5bf9":function(t,e,n){},"5c85":function(t,e,n){},"5cf8":function(t,e,n){"use strict";function i(t,e){for(var n=this.$children,r=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s2?r-2:0),a=2;a2?n-2:0),o=2;o=1;M--)if(0!==z[M])break;if(P>M&&(P=M),0===M)return v[m++]=20971520,v[m++]=20971520,_.bits=1,0;for(A=1;A0&&(t===s||1!==M))return-1;for(V[1]=0,E=1;Eo||t===u&&D>a)return 1;for(;;){C=E-L,g[I]x?(T=H[Y+g[I]],O=B[F+g[I]]):(T=96,O=0),b=1<>L)+y]=C<<24|T<<16|O|0}while(0!==y);b=1<>=1;if(0!==b?(R&=b-1,R+=b):R=0,I++,0===--z[E]){if(E===M)break;E=e[n+g[I]]}if(E>P&&(R&S)!==w){0===L&&(L=P),k+=A,j=E-L,N=1<o||t===u&&D>a)return 1;w=R&S,v[w]=P<<24|j<<16|k-m|0}}return 0!==R&&(v[k+R]=E-L<<24|64<<16|0),_.bits=P,0}},"687b":function(t,e,n){},"6bdf":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var i=n("85b6"),r=n("f2b3"),o=n("1e88"),a=n("db8e");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["a"])(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("501c"))},"70f4":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({class:{"uni-label-pointer":t.pointer},on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=n("897e"),a=o["a"],s=(n("6730"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},7107:function(t,e,n){"use strict";(function(t){function i(e){var n=e.options,i=e.callbackId,r=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,c=document.fonts;if(c){var u=new FontFace(r,o,s);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:fail ".concat(e)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(r,'";src:').concat(o,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(l),t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})}}n.d(e,"a",(function(){return i}))}).call(this,n("501c"))},"717e":function(t,e,n){"use strict";var i=n("9e6e"),r=n("be7f"),o=n("7b27"),a=n("2ceb"),s=n("4dc6"),c=n("8936"),u=n("8013"),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);if(this.header=new u,i.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"===typeof e.dictionary?e.dictionary=o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=i.inflateSetDictionary(this.strm,e.dictionary),n!==a.Z_OK)))throw new Error(s[n])}function d(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}function f(t,e){return e=e||{},e.raw=!0,d(t,e)}h.prototype.push=function(t,e){var n,s,c,u,h,d=this.strm,f=this.options.chunkSize,p=this.options.dictionary,v=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"===typeof t?d.input=o.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new r.Buf8(f),d.next_out=0,d.avail_out=f),n=i.inflate(d,a.Z_NO_FLUSH),n===a.Z_NEED_DICT&&p&&(n=i.inflateSetDictionary(this.strm,p)),n===a.Z_BUF_ERROR&&!0===v&&(n=a.Z_OK,v=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==a.Z_STREAM_END&&(0!==d.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(d.output,d.next_out),u=d.next_out-c,h=o.buf2string(d.output,c),d.next_out=u,d.avail_out=f-u,u&&r.arraySet(d.output,d.output,c,u,0),this.onData(h)):this.onData(r.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(v=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),d.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=h,e.inflate=d,e.inflateRaw=f,e.ungzip=d},7225:function(t,e,n){},"72b3":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),h=(e-u*t)/(l-u),d=t-h;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)),d*e+h*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)),d*u*e+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*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*(m*f*n-v*f*i)+p*e*(m*i+v*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}]}},7466:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({},t.$listeners),[n("div",{ref:"container",staticClass:"uni-map-container"}),t._l(t.mapControls,(function(e,i){return n("v-uni-cover-image",{key:i,style:e.position,attrs:{src:e.iconPath,"auto-size":""},on:{click:function(n){return t.controlclick(e)}}})})),n("div",{staticClass:"uni-map-slot"},[t._t("default")],2)],2)},r=[],o=n("a521"),a=o["a"],s=(n("a252"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},7522:function(t,e,n){},"76a8":function(t,e,n){"use strict";var i=n("3cd3"),r=n.n(i);r.a},"77a8":function(t,e,n){},7822:function(t,e,n){},"7b27":function(t,e,n){"use strict";var i=n("be7f"),r=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(u){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){o=!1}for(var a=new i.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(t,e){if(e<65534&&(t.subarray&&o||!t.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var n="",a=0;a>>6,e[a++]=128|63&n):n<65536?(e[a++]=224|n>>>12,e[a++]=128|n>>>6&63,e[a++]=128|63&n):(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63,e[a++]=128|n>>>6&63,e[a++]=128|63&n);return e},e.buf2binstring=function(t){return c(t,t.length)},e.binstring2buf=function(t){for(var e=new i.Buf8(t.length),n=0,r=e.length;n4)u[i++]=65533,n+=o-1;else{r&=2===o?31:3===o?15:7;while(o>1&&n1?u[i++]=65533:r<65536?u[i++]=r:(r-=65536,u[i++]=55296|r>>10&1023,u[i++]=56320|1023&r)}return c(u,i)},e.utf8border=function(t,e){var n;e=e||t.length,e>t.length&&(e=t.length),n=e-1;while(n>=0&&128===(192&t[n]))n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},"7bb3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":t.activeBorderColor}},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":t.checkboxChecked,"uni-checkbox-input-disabled":t.disabled},style:t.checkboxStyle}),t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["e"]],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:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},computed:{checkboxStyle:function(){if(this.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};var t={};return this.checkboxChecked?(t.color=this.iconColor||this.color,this.activeBorderColor&&(t.borderColor=this.activeBorderColor),this.activeBackgroundColor&&(t.backgroundColor=this.activeBackgroundColor)):(this.borderColor&&(t.borderColor=this.borderColor),this.backgroundColor&&(t.backgroundColor=this.backgroundColor)),t}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){"use strict";var i=n("e804"),r=n.n(i);r.a},"7d0f":function(t,e,n){"use strict";var i=n("5129"),r=n.n(i),o=n("85b6"),a=n("f2b3");function s(t){t.config.errorHandler=function(e,n,i){var r=Object(a["n"])(e);t.util.warn("Error in ".concat(i,': "').concat("Error"===r?e.toString():e,'"'),n);var s="function"===typeof getApp&&getApp();s&&Object(o["b"])(s.$options,"onError")?s.__call_hook("onError",e):console.error(e)};var e=t.config.isReservedTag;t.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||e(t)},t.config.ignoredElements=r.a;var n=t.config.getTagNamespace,i=["switch","image","text","view"];t.config.getTagNamespace=function(t){return!~i.indexOf(t)&&n(t)}}var c=n("8c15"),u=n("a34f"),l=n("3e5d");function h(t){Object.defineProperty(t.prototype,"$page",{get:function(){return getCurrentPages()[0].$page}}),t.prototype.$handleVModelEvent=function(t,e){l["b"].sendUIEvent(this._$id,t,{type:"input",target:{value:e}})},t.prototype.$handleViewEvent=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stop&&t.stopPropagation(),e.prevent&&t.preventDefault();var n=this.$handleEvent(t),i=this._$id,r=t.$origCurrentTarget||t.currentTarget,o=(r===this.$el&&"page"!==this.$options.mpType?"r-":"")+n.options.nid;if("undefined"===typeof o)return console.error("[".concat(i,"] nid not found"));delete n._processed,delete n.mp,delete n.preventDefault,delete n.stopPropagation,delete n.options,delete n.$origCurrentTarget,l["b"].sendUIEvent(i,o,n)}}n("3878"),e["a"]={install:function(t,e){t.prototype._$getRealPath=u["a"],s(t),c["a"].install(t,e),Object(l["a"])(t),h(t)}}},"7e6a":function(t,e,n){"use strict";var i=n("5bf9"),r=n.n(i);r.a},"7eb1":function(t,e,n){"use strict";var i=30,r=12;t.exports=function(t,e){var n,o,a,s,c,u,l,h,d,f,p,v,m,g,_,b,y,w,S,k,x,C,T,O,$;n=t.state,o=t.next_in,O=t.input,a=o+(t.avail_in-5),s=t.next_out,$=t.output,c=s-(e-t.avail_out),u=s+(t.avail_out-257),l=n.dmax,h=n.wsize,d=n.whave,f=n.wnext,p=n.window,v=n.hold,m=n.bits,g=n.lencode,_=n.distcode,b=(1<>>24,v>>>=S,m-=S,S=w>>>16&255,0===S)$[s++]=65535&w;else{if(!(16&S)){if(0===(64&S)){w=g[(65535&w)+(v&(1<>>=S,m-=S),m<15&&(v+=O[o++]<>>24,v>>>=S,m-=S,S=w>>>16&255,!(16&S)){if(0===(64&S)){w=_[(65535&w)+(v&(1<l){t.msg="invalid distance too far back",n.mode=i;break t}if(v>>>=S,m-=S,S=s-c,x>S){if(S=x-S,S>d&&n.sane){t.msg="invalid distance too far back",n.mode=i;break t}if(C=0,T=p,0===f){if(C+=h-S,S2)$[s++]=T[C++],$[s++]=T[C++],$[s++]=T[C++],k-=3;k&&($[s++]=T[C++],k>1&&($[s++]=T[C++]))}else{C=s-x;do{$[s++]=$[C++],$[s++]=$[C++],$[s++]=$[C++],k-=3}while(k>2);k&&($[s++]=$[C++],k>1&&($[s++]=$[C++]))}break}}break}}while(o>3,o-=k,m-=k<<3,v&=(1<0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t));return e}function a(t){var e={},n=t.__vue__;function r(t,n){var r=t.$attrs;for(var o in r)if(o.startsWith("data-")){var a=Object(i["b"])(o.substr(5).toLowerCase()),s=r[o];e[a]=n?s:e[a]||s}}if(n){var a=n;while(a&&a.$el===t)r(a),a=a.$children[0];var s=n.$parent;while(s&&s.$el===t)r(s,!0),s=s.$parent}else e=Object.assign({},t.dataset,t.__uniDataset);return o(e)}},"86a1":function(t,e,n){},8842:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-movable-view",t._g({},t.$listeners),[n("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},r=[],o=n("ba15");function a(t,e,n){return t>e-n&&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),h=(e-u*t)/(l-u),d=t-h;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)),d*e+h*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)),d*u*e+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*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*(m*f*n-v*f*i)+p*e*(m*i+v*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}]},h.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},h.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)}},h.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},h.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 d=n("2a0a"),f=!1;function p(t){f||(f=!0,requestAnimationFrame((function(){t(),f=!1})))}function v(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=v(t.offsetParent,e):0}function m(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=m(t.offsetParent,e):0}function g(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function _(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 b={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 h(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(d["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(d["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(d["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=_(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:g(t,this._scaleOffset.x),y:g(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=b,w=(n("7c2b"),n("0c7c")),S=Object(w["a"])(y,i,r,!1,null,null,null);e["default"]=S.exports},8875:function(t,e,n){var i,r,o;(function(n,a){r=[],i=a,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(h){var t,e,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,r=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.exec(h.stack)||r.exec(h.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)+"}[^<]*