(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0094":function(e,t,n){"use strict";var i,r=n("da84"),a=n("e330"),o=n("6964"),s=n("f183"),u=n("6d61"),c=n("acac"),l=n("861d"),d=n("4fad"),f=n("69f3").enforce,h=n("cdce"),p=!r.ActiveXObject&&"ActiveXObject"in r,g=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=u("WeakMap",g,c);if(h&&p){i=c.getConstructor(g,"WeakMap",!0),s.enable();var m=v.prototype,y=a(m["delete"]),b=a(m.has),_=a(m.get),w=a(m.set);o(m,{delete:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new i),y(this,e)||t.frozen["delete"](e)}return y(this,e)},has:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new i),b(this,e)||t.frozen.has(e)}return b(this,e)},get:function(e){if(l(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new i),b(this,e)?_(this,e):t.frozen.get(e)}return _(this,e)},set:function(e,t){if(l(e)&&!d(e)){var n=f(this);n.frozen||(n.frozen=new i),b(this,e)?w(this,e,t):n.frozen.set(e,t)}else w(this,e,t);return this}})}},"00b4":function(e,t,n){"use strict";n("ac1f");var i=n("23e7"),r=n("c65b"),a=n("1626"),o=n("825a"),s=n("577e"),u=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=/./.test;i({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=o(this),n=s(e),i=t.exec;if(!a(i))return r(c,t,n);var u=r(i,t,n);return null!==u&&(o(u),!0)}})},"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"0366":function(e,t,n){var i=n("4625"),r=n("59ed"),a=n("40d5"),o=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"04f8":function(e,t,n){var i=n("2d00"),r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"0538":function(e,t,n){"use strict";var i=n("e330"),r=n("59ed"),a=n("861d"),o=n("1a2d"),s=n("f36a"),u=n("40d5"),c=Function,l=i([].concat),d=i([].join),f={},h=function(e,t,n){if(!o(f,t)){for(var i=[],r=0;r0;r+=12,a--)n.references.push({referenceType:(128&e[r])>>>7,referencedSize:2147483647&t.getUint32(r),subsegmentDuration:t.getUint32(r+4),startsWithSap:!!(128&e[r+8]),sapType:(112&e[r+8])>>>4,sapDeltaTime:268435455&t.getUint32(r+8)});return n}},"0c47":function(e,t,n){var i=n("da84"),r=n("d44e");r(i.JSON,"JSON",!0)},"0cb2":function(e,t,n){var i=n("e330"),r=n("7b0b"),a=Math.floor,o=i("".charAt),s=i("".replace),u=i("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,i,d,f){var h=n+e.length,p=i.length,g=l;return void 0!==d&&(d=r(d),g=c),s(f,g,(function(r,s){var c;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,h);case"<":c=d[u(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>p){var f=a(l/10);return 0===f?r:f<=p?void 0===i[f-1]?o(s,1):i[f-1]+o(s,1):r}c=i[l-1]}return void 0===c?"":c}))}},"0ccb":function(e,t,n){var i=n("e330"),r=n("50c4"),a=n("577e"),o=n("1148"),s=n("1d80"),u=i(o),c=i("".slice),l=Math.ceil,d=function(e){return function(t,n,i){var o,d,f=a(s(t)),h=r(n),p=f.length,g=void 0===i?" ":a(i);return h<=p||""==g?f:(o=h-p,d=u(g,l(o/g.length)),d.length>o&&(d=c(d,0,o)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),a=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d21":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(Array.isArray(e))return e}},"0d26":function(e,t,n){var i=n("e330"),r=Error,a=i("".replace),o=function(e){return String(r("zxcasd").stack)}(),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);e.exports=function(e,t){if(u&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=a(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"0eb6":function(e,t,n){"use strict";var i=n("23e7"),r=n("7c37"),a=n("d066"),o=n("d039"),s=n("7c73"),u=n("5c6c"),c=n("9bf2").f,l=n("cb2d"),d=n("edd0"),f=n("1a2d"),h=n("19aa"),p=n("825a"),g=n("aa1f"),v=n("e391"),m=n("cf98"),y=n("0d26"),b=n("69f3"),_=n("83ab"),w=n("c430"),T=a("Error"),S=a("DOMException")||function(){try{var e=a("MessageChannel")||r("worker_threads").MessageChannel;(new e).port1.postMessage(new WeakMap)}catch(t){if("DATA_CLONE_ERR"==t.name&&25==t.code)return t.constructor}}(),k=S&&S.prototype,x=T.prototype,C=b.set,E=b.getterFor("DOMException"),A="stack"in T("DOMException"),O=function(e){return f(m,e)&&m[e].m?m[e].c:0},j=function(){h(this,I);var e=arguments.length,t=v(e<1?void 0:arguments[0]),n=v(e<2?void 0:arguments[1],"Error"),i=O(n);if(C(this,{type:"DOMException",name:n,message:t,code:i}),_||(this.name=n,this.message=t,this.code=i),A){var r=T(t);r.name="DOMException",c(this,"stack",u(1,y(r.stack,1)))}},I=j.prototype=s(x),P=function(e){return{enumerable:!0,configurable:!0,get:e}},M=function(e){return P((function(){return E(this)[e]}))};_&&(d(I,"code",M("code")),d(I,"message",M("message")),d(I,"name",M("name"))),c(I,"constructor",u(1,j));var L=o((function(){return!(new S instanceof T)})),D=L||o((function(){return x.toString!==g||"2: 1"!==String(new S(1,2))})),R=L||o((function(){return 25!==new S(1,"DataCloneError").code})),N=L||25!==S["DATA_CLONE_ERR"]||25!==k["DATA_CLONE_ERR"],B=w?D||R||N:L;i({global:!0,constructor:!0,forced:B},{DOMException:B?j:S});var U=a("DOMException"),F=U.prototype;for(var $ in D&&(w||S===U)&&l(F,"toString",g),R&&_&&S===U&&d(F,"code",P((function(){return O(p(this).name)}))),m)if(f(m,$)){var H=m[$],V=H.s,z=u(6,H.c);f(U,V)||c(U,V,z),f(F,V)||c(F,V,z)}},"107c":function(e,t,n){var i=n("d039"),r=n("da84"),a=r.RegExp;e.exports=i((function(){var e=a("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},"10d1":function(e,t,n){n("0094")},1148:function(e,t,n){"use strict";var i=n("5926"),r=n("577e"),a=n("1d80"),o=RangeError;e.exports=function(e){var t=r(a(this)),n="",s=i(e);if(s<0||s==1/0)throw o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},1276:function(e,t,n){"use strict";var i=n("2ba4"),r=n("c65b"),a=n("e330"),o=n("d784"),s=n("825a"),u=n("7234"),c=n("44e7"),l=n("1d80"),d=n("4840"),f=n("8aa5"),h=n("50c4"),p=n("577e"),g=n("dc4a"),v=n("4dae"),m=n("14c3"),y=n("9263"),b=n("9f7f"),_=n("d039"),w=b.UNSUPPORTED_Y,T=Math.min,S=[].push,k=a(/./.exec),x=a(S),C=a("".slice),E=!_((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));o("split",(function(e,t,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var a=p(l(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!c(e))return r(t,a,e,o);var s,u,d,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,h+"g");while(s=r(y,m,a)){if(u=m.lastIndex,u>g&&(x(f,C(a,g,s.index)),s.length>1&&s.index=o))break;m.lastIndex===s.index&&m.lastIndex++}return g===a.length?!d&&k(m,"")||x(f,""):x(f,C(a,g)),f.length>o?v(f,0,o):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t,[function(t,n){var i=l(this),o=u(t)?void 0:g(t,e);return o?r(o,t,i,n):r(a,p(i),t,n)},function(e,i){var r=s(this),o=p(e),u=n(a,r,o,i,a!==t);if(u.done)return u.value;var c=d(r,RegExp),l=r.unicode,g=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),v=new c(w?"^(?:"+r.source+")":r,g),y=void 0===i?4294967295:i>>>0;if(0===y)return[];if(0===o.length)return null===m(v,o)?[o]:[];var b=0,_=0,S=[];while(_59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=r(null)}function u(e,t,n,i){var r=i?e.split(i):[e];for(var a in r)if("string"===typeof r[a]){var o=r[a].split(n);if(2===o.length){var s=o[0].trim(),u=o[1].trim();t(s,u)}}}function c(e,t,n){var i=e;function r(){var t=o(e);if(null===t)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+i);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=r(),c(),"--\x3e"!==e.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);e=e.substr(3),c(),t.endTime=r(),c(),function(e,t){var i=new s;u(e,(function(e,t){switch(e){case"region":for(var r=n.length-1;r>=0;r--)if(n[r].id===t){i.set(e,n[r].region);break}break;case"vertical":i.alt(e,t,["rl","lr"]);break;case"line":var a=t.split(","),o=a[0];i.integer(e,o),i.percent(e,o)&&i.set("snapToLines",!1),i.alt(e,o,["auto"]),2===a.length&&i.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=t.split(","),i.percent(e,a[0]),2===a.length&&i.alt("positionAlign",a[1],["start","center","end"]);break;case"size":i.percent(e,t);break;case"align":i.alt(e,t,["start","center","end","left","right"]);break}}),/:/,/\s/),t.region=i.get("region",null),t.vertical=i.get("vertical","");try{t.line=i.get("line","auto")}catch(r){}t.lineAlign=i.get("lineAlign","start"),t.snapToLines=i.get("snapToLines",!0),t.size=i.get("size",100);try{t.align=i.get("align","center")}catch(r){t.align=i.get("align","middle")}try{t.position=i.get("position","auto")}catch(r){t.position=i.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=i.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}a.prototype=r(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var i=0;i=0&&t<=100))&&(this.set(e,t),!0)}};var l=i.createElement&&i.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},f={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},h={v:"title",lang:"lang"},p={rt:"ruby"};function g(e,t){function n(){if(!t)return null;var e=t.match(/^([^<]*)(<[^>]*>?)?/);return function(e){return t=t.substr(e.length),e}(e[1]?e[1]:e[2])}function i(e){return l.innerHTML=e,e=l.textContent,l.textContent="",e}function r(e,t){return!p[t.localName]||p[t.localName]===e.localName}function a(t,n){var i=d[t];if(!i)return null;var r=e.document.createElement(i),a=h[t];return a&&n&&(r[a]=n.trim()),r}var s,u=e.document.createElement("div"),c=u,g=[];while(null!==(s=n()))if("<"!==s[0])c.appendChild(e.document.createTextNode(i(s)));else{if("/"===s[1]){g.length&&g[g.length-1]===s.substr(2).replace(">","")&&(g.pop(),c=c.parentNode);continue}var v,m=o(s.substr(1,s.length-2));if(m){v=e.document.createProcessingInstruction("timestamp",m),c.appendChild(v);continue}var y=s.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(v=a(y[1],y[3]),!v)continue;if(!r(c,v))continue;if(y[2]){var b=y[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(f.hasOwnProperty(n)){var i=t?"background-color":"color",r=f[n];v.style[i]=r}})),v.className=b.join(" ")}g.push(y[1]),c.appendChild(v),c=v}return u}var v=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function m(e){for(var t=0;t=n[0]&&e<=n[1])return!0}return!1}function y(e){var t,n=[],i="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function a(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var i=n.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):n}return"ruby"===t.tagName?a(e):t.childNodes?(r(e,t),a(e)):void 0}r(n,e);while(i=a(n))for(var o=0;o=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,i=0,r=0;rd&&(l=l<0?-1:1,l*=Math.ceil(d/c)*c),o<0&&(l+=""===a.vertical?n.height:n.width,s=s.reverse()),r.move(f,l)}else{var h=r.lineHeight/n.height*100;switch(a.lineAlign){case"center":o-=h/2;break;case"end":o-=h;break}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(o,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(o,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(o,"%")});break}s=["+y","-x","+x","-y"],r=new w(t)}var p=function(e,t){for(var r,a=new w(e),o=1,s=0;su&&(r=new w(e),o=u),e=new w(a)}return r||a}(r,s);t.move(p.toCSSCompatValues(n))}function S(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=r(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t;break}},w.prototype.overlaps=function(e){return this.lefte.left&&this.tope.top},w.prototype.overlapsAny=function(e){for(var t=0;t=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.lefte.right;case"+y":return this.tope.bottom}},w.prototype.intersectPercentage=function(e){var t=Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left)),n=Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top)),i=t*n;return i/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,i=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e;var r={left:e.left,right:e.right,top:e.top||i,height:e.height||t,bottom:e.bottom||i+(e.height||t),width:e.width||n};return r},S.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!==typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},S.convertCueToDOMTree=function(e,t){return e&&t?g(e,t):null};S.processCues=function(e,t,n){if(!e||!t||!n)return null;while(n.firstChild)n.removeChild(n.firstChild);var i=e.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(e){for(var t=0;t79&&o<83;i({target:"Array",proto:!0,forced:!u||c},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},"143c":function(e,t,n){var i=n("74e8");i("Int32",(function(e){return function(t,n,i){return e(this,t,n,i)}}))},1448:function(e,t,n){var i=n("dfb9"),r=n("b6b7");e.exports=function(e,t){return i(r(e),t)}},"145e":function(e,t,n){"use strict";var i=n("7b0b"),r=n("23cb"),a=n("07fa"),o=n("083a"),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=i(this),u=a(n),c=r(e,u),l=r(t,u),d=arguments.length>2?arguments[2]:void 0,f=s((void 0===d?u:r(d,u))-l,u-c),h=1;l0)l in n?n[c]=n[l]:o(n,c),c+=h,l+=h;return n}},"14c3":function(e,t,n){var i=n("c65b"),r=n("825a"),a=n("1626"),o=n("c6b6"),s=n("9263"),u=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var c=i(n,e,t);return null!==c&&r(c),c}if("RegExp"===o(e))return i(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},"14d9":function(e,t,n){"use strict";var i=n("23e7"),r=n("7b0b"),a=n("07fa"),o=n("3a34"),s=n("3511"),u=n("d039"),c=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();i({target:"Array",proto:!0,arity:1,forced:c||l},{push:function(e){var t=r(this),n=a(t),i=arguments.length;s(n+i);for(var u=0;u1?arguments[1]:void 0)}},"182d":function(e,t,n){var i=n("f8cd"),r=RangeError;e.exports=function(e,t){var n=i(e);if(n%t)throw r("Wrong offset");return n}},"19aa":function(e,t,n){var i=n("3a9b"),r=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw r("Incorrect invocation")}},"1a2d":function(e,t,n){var i=n("e330"),r=n("7b0b"),a=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(r(e),t)}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c31":function(e,t,n){(function(e){var i=n("7037").default;n("7a82"),n("a4d3"),n("e01a"),n("d3b7"),n("944a"),n("0c47"),n("23dc"),n("c975"),n("ac1f"),n("1276"),n("14d9"),n("7db0"),n("d9e2"),n("d401"),n("e9c4"),n("5319"),n("d28b"),n("3ca3"),n("ddb0"),n("00b4"),n("caad"),n("d81d"),n("b64b"),n("99af"),n("159b"),n("466d"),n("4de4"),n("a9e3"),n("a434"),n("25f0"),n("e25e"),n("13d5"),n("4d63"),n("c607"),n("2c3e"),n("c19f"),n("ace4"),n("07ac"),n("2532"),n("fb6a"),n("a630"),n("acd8"),n("2ca0"),n("4ae1"),n("f8c9"),n("131a"),n("26e9"),n("498a"),n("8a59"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("4e82"),n("3c65"),n("841c"),n("e439"),n("dbb4"),n("1d1c"),n("5cc6"),n("c740"),n("3410"),n("5d41"),n("81b2"),n("0eb6"),n("b7ef"),n("8bd4"),n("2b3d"),n("9861"),function(r,a){"object"===i(t)&&"object"===i(e)?e.exports=a(n("a7a7"),n("e143"),n("37dc")):n("07d6")([,,],a)}("undefined"!==typeof self&&self,(function(e,t,n){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===i(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"0001":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"loadFontFace",(function(){return a}));var i=n("a118"),r=n("db70");function a(t,n){var i=Object(r["a"])();if(!i)return{errMsg:"loadFontFace:fail not font page"};e.publishHandler("loadFontFace",{options:t,callbackId:n},i)}e.subscribe("onLoadFontFaceCallback",(function(e){var t=e.callbackId,n=e.data;Object(i["a"])(t,n)}))}.call(this,n("0dd1"))},"010d":function(e,t,n){},"0138":function(e,t,n){"use strict";n.r(t),function(e){var i=n("052f"),r=n("3d1f"),a=n("98be"),o=n("abbf");n.d(t,"getApp",(function(){return o["b"]})),n.d(t,"getCurrentPages",(function(){return o["c"]})),Object(i["a"])(e.on,{getApp:o["b"],getCurrentPages:o["c"]}),Object(r["a"])(e.subscribe,{getApp:o["b"],getCurrentPages:o["c"]}),t["default"]=a["a"]}.call(this,n("0dd1"))},"0212":function(e,t,n){"use strict";n.r(t),n.d(t,"getLaunchOptionsSync",(function(){return r})),n.d(t,"getEnterOptionsSync",(function(){return a}));var i=n("abbf");function r(){return Object(i["e"])()}function a(){return Object(i["d"])()}},"02b5":function(e,t,n){"use strict";var i=n("e5e5"),r=n.n(i);r.a},"02c9":function(e,t,n){"use strict";function i(e){if(0===e.indexOf("#")){var t=e.substr(1);return function(e){return!(!e.componentInstance||e.componentInstance.id!==t)||!(!e.data||!e.data.attrs||e.data.attrs.id!==t)}}if(0===e.indexOf(".")){var n=e.substr(1);return function(e){return e.data&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t?-1!==t.split(r).indexOf(e):n&&"string"===typeof n?-1!==n.split(r).indexOf(e):void 0}(n,e.data.staticClass,e.data.class)}}}n.d(t,"a",(function(){return a}));var r=/\s+/;function a(e){e.prototype.createIntersectionObserver=function(e){return uni.createIntersectionObserver(this,e)},e.prototype.createMediaQueryObserver=function(e){return uni.createMediaQueryObserver(this,e)},e.prototype.selectComponent=function(e){return function e(t,n){if(n(t.$vnode||t._vnode))return t;for(var i=t.$children,r=0;r0;return t||i}()){var r=(i.html.match(/([\s\S]*)<\/span>/)||[])[1],a=r&&r.replace(/\s/g,"")?"":t.placeholder;t.setPlaceHolder(a)}n.stopPropagation()}else t.$trigger(e,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 e=r.selection.getRange()[0];t.updateStatus(e)})),r.clipboard.addMatcher(Node.ELEMENT_NODE,(function(e,n){return t.skipMatcher||(n.ops=n.ops.filter((function(e){var t=e.insert;return"string"===typeof t})).map((function(e){var t=e.insert;return{insert:t}}))),n})),this.initKeyboard(a),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var e=this.quill,t=e.root.innerHTML,n=e.getText(),i=e.getContents();return{html:t,text:n,delta:i}},html2delta:function(e){var t,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(a["a"])(e,{start:function(e,r,a){if(n.includes(e)){t=!1;var o=r.map((function(e){var t=e.name,n=e.value;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");i+=s}else t=!a},end:function(e){t||(i+=""))},chars:function(e){t||(i+=e)}}),this.skipMatcher=!0;var r=this.quill.clipboard.convert(i);return this.skipMatcher=!1,r},updateStatus:function(e){var t=this,n=e?this.quill.getFormat(e):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.find((function(e){return n[e]!==t.__status[e]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"091a":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"createIntersectionObserver",(function(){return l}));var i=n("62b5"),r=n("1634"),a=n("db70");function o(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(t){return"".concat(Number(e[t])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(e,t){return this.options.relativeToSelector=e,this._makeRootMargin(t),this}},{key:"relativeToViewport",value:function(e){return this.options.relativeToSelector=null,this._makeRootMargin(e),this}},{key:"observe",value:function(t,n){"function"===typeof n&&(this.options.selector=t,this.reqId=s.push(n),e.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(r["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){e.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(r["a"])(this.component)?this.component:this.pageId)}}]),t}();function l(e,t){return e._isVue||(t=e,e=null),new c(e||Object(a["b"])("createIntersectionObserver"),t)}}.call(this,n("0dd1"))},"0998":function(e,t,n){"use strict";var i=n("010d"),r=n.n(i);r.a},"09e5":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"requestComponentInfo",(function(){return o}));var i=n("62b5"),r=n("1634"),a=Object(i["a"])("requestComponentInfo");function o(t,n,i){e.publishHandler("requestComponentInfo",{reqId:a.push(i),reqs:n},Object(r["a"])(t)?t:t.$page.id)}}.call(this,n("0dd1"))},"0a7b":function(e,t,n){},"0baa":function(e,t,n){"use strict";n.r(t),n.d(t,"chooseFile",(function(){return a}));var i=["all","image","video"],r=["album","camera"],a={count:{type:Number,required:!1,default:100,validator:function(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:r,validator:function(e,t){e=e.filter((function(e){return r.includes(e)})),t.sourceType=e.length?e:r}},type:{type:String,required:!1,default:"all",validator:function(e,t){i.includes(e)||(t.type=i[0]),t.type="all"===t.type?t.type="*":t.type}},extension:{type:Array,default:[""],validator:function(e,t){if(0===e.length)return"param extension should not be empty."}}}},"0c7c":function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,s){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},"0dd1":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return u})),n.d(t,"off",(function(){return c})),n.d(t,"once",(function(){return l})),n.d(t,"emit",(function(){return d})),n.d(t,"subscribe",(function(){return f})),n.d(t,"unsubscribe",(function(){return h})),n.d(t,"subscribeHandler",(function(){return p}));var i=n("8bbf"),r=n.n(i),a=n("27a7");n.d(t,"invokeCallbackHandler",(function(){return a["a"]})),n.d(t,"removeCallbackHandler",(function(){return a["b"]}));var o=n("b865");n.d(t,"publishHandler",(function(){return o["b"]}));var s=new r.a,u=s.$on.bind(s),c=s.$off.bind(s),l=s.$once.bind(s),d=s.$emit.bind(s);function f(e,t){return u("view."+e,t)}function h(e,t){return c("view."+e,t)}function p(e,t,n){return d("view."+e,t,n)}},"0e5c":function(e,t,n){"use strict";n.r(t),n.d(t,"showTopWindow",(function(){return a})),n.d(t,"hideTopWindow",(function(){return o})),n.d(t,"showLeftWindow",(function(){return s})),n.d(t,"hideLeftWindow",(function(){return u})),n.d(t,"showRightWindow",(function(){return c})),n.d(t,"hideRightWindow",(function(){return l})),n.d(t,"getTopWindowStyle",(function(){return f})),n.d(t,"getLeftWindowStyle",(function(){return h})),n.d(t,"getRightWindowStyle",(function(){return p})),n.d(t,"setTopWindowStyle",(function(){return v})),n.d(t,"setLeftWindowStyle",(function(){return m})),n.d(t,"setRightWindowStyle",(function(){return y}));var i=n("f2b3");function r(e,t){var n=t?"show":"hide"+Object(i["c"])(e)+"Window",r=getApp();if(r){var a=r.$children[0].$refs.layout.showWindow(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function a(){return r("top",!0)}function o(){return r("top",!1)}function s(){return r("left",!0)}function u(){return r("left",!1)}function c(){return r("right",!0)}function l(){return r("right",!1)}function d(e){var t="get"+Object(i["c"])(e)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(t,":fail app not ready")};var r=n.$children[0].$refs.layout.getWindowStyle(e);return"string"===typeof r&&-1!==r.indexOf("Window not found")?{errMsg:"".concat(t,":fail ").concat(r)}:r}function f(e){return d("top")}function h(e){return d("left")}function p(e){return d("right")}function g(e,t){var n="set"+Object(i["c"])(e)+"WindowStyle",r=getApp();if(!r)return{errMsg:"".concat(n,":fail app not ready")};var a=r.$children[0].$refs.layout.setWindowStyle(e,t);return a?{errMsg:"".concat(n,":fail ").concat(a)}:{}}function v(e){return g("top",e)}function m(e){return g("left",e)}function y(e){return g("right",e)}},"0f55":function(e,t,n){"use strict";var i=n("55e3"),r=n.n(i);r.a},"0f74":function(e,t,n){"use strict";function i(e,t){if(t){if(0===t.indexOf("/"))return t}else{if(t=e,0===t.indexOf("/"))return t;var n=getCurrentPages();e=n.length?n[n.length-1].$page.route:""}if(0===t.indexOf("./"))return i(e,t.substr(2));for(var r=t.split("/"),a=r.length,o=0;o0?e.split("/"):[];return s.splice(s.length-o-1,o+1),"/"+s.concat(r).join("/")}n.d(t,"a",(function(){return i}))},1082:function(e,t,n){"use strict";n.r(t);function r(e){return r="function"===typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)},r(e)}function a(e){return("undefined"===typeof navigator||r(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),e}var o={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 e="auto",t="";switch(this.mode){case"aspectFit":e="contain",t="center center";break;case"aspectFill":e="cover",t="center center";break;case"widthFix":case"heightFix":e="100% 100%";break;case"top":t="center top";break;case"bottom":t="center bottom";break;case"center":t="center center";break;case"left":t="left center";break;case"right":t="right center";break;case"top left":t="left top";break;case"top right":t="right top";break;case"bottom left":t="left bottom";break;case"bottom right":t="right bottom";break;default:e="100% 100%",t="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":t,"background-size":e,"background-repeat":"no-repeat"}}},watch:{src:function(e,t){this._loadImage()},mode:function(e,t){"widthFix"!==t&&"heightFix"!==t||this._resetSize(),"widthFix"!==e&&"heightFix"!==e||this._fixSize()},contentPath:function(e){!e&&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 e=this.$el;if("widthFix"===this.mode){var t=e.offsetWidth;t&&(e.style.height=a(t/this.ratio)+"px")}else if("heightFix"===this.mode){var n=e.offsetHeight;n&&(e.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 e=this,t=this.$getRealPath(this.src);if(t){var n=this._img=this._img||new Image;n.onload=function(i){e._img=null;var r=e.originalWidth=n.width,a=e.originalHeight=n.height;e._fixSize(),e.contentPath=t,n.draggable=e.draggable,e.__img&&e.__img.remove(),e.__img=n,e.$el.appendChild(n),e.$trigger("load",i,{width:r,height:a})},n.onerror=function(t){e._img=null,e._resetData(),e.$trigger("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},n.src=t}else this._clearImage(),this._resetData()},_clearImage:function(){var e=this._img;e&&(e.onload=null,e.onerror=null,this._img=null)}}},s=o,u=(n("db18"),n("0c7c")),c=Object(u["a"])(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-image",e._g({},e.$listeners),[n("div",{ref:"content",style:e.style}),"widthFix"===e.mode||"heightFix"===e.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(t){return e._fixSize()}}}):e._e()],1)}),[],!1,null,null,null);t["default"]=c.exports},"10a3":function(e,t,n){"use strict";n.r(t);var i=n("8af1");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;nthis.CACHE_TIME}}]),e}();s(u,"IC",0),s(u,"IS",0),Object.assign(u.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var c=function(){function e(){r(this,e),this._instance=null,this._adConfig=null,this._guid=null}return o(e,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new e,this._instance._init()),this._instance}}]),o(e,[{key:"_init",value:function(){var e=this._getConfig();null!==e&&e.guid?this._guid=e.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(e){this._process(Object.assign(e,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(e){uni.request({url:this.URL,method:"GET",data:e,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var e="",t="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;nparseInt(this.widescreenWidth),this._loadData(),c.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:u.IC,is:u.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(e){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(e){var t=this;this._reset();var n=e||this.adpid,i=this._isWidescreen&&this.adpidWidescreen||n;u.instance.get(i,(function(e,n){t._b=e,t._pl=n,t._renderAd()}),(function(e){t.$trigger("error",{},e)}))},_renderAd:function(){var e=this;if(!(this._pi>this._pl.length-1)){var t=this._pl[this._pi],n=this._b[t.a1][t.t],i=n.script;this._currentChannel=t.a1;var r=this._randomId(),a=this._createView(r);"10010"===t.a1?l.instance.load(t.t,i,(function(){e._renderBaidu(r,t.a2)}),(function(t){e.$trigger("error",{},t)})):"10011"===t.a1?(d.instance.load(t.a3,t.a2,(function(e){window.TencentGDT.NATIVE.renderAd(e,r)})),this._startCheckTimer()):"10012"===t.a1?this._renderScript(a,i):"10014"===t.a1?l.instance.load(t.t,i,(function(){e._renderShanhu(r,t.tt,t.tar)}),(function(t){e.$trigger("error",{},t)})):l.instance.load(t.t,i,(function(){e._renderAdView(r,i.s,t)}),(function(t){e.$trigger("error",{},t)}))}},_createView:function(e){var t=document.createElement("div");return t.setAttribute("id",e),t.setAttribute("class",e),this.$refs.container.innerHTML="",this.$refs.container.append(t),t},_renderScript:function(e,t){var n=document.createElement("script");for(var i in t)n.setAttribute(i,t[i]);e.appendChild(n),this._startCheckTimer()},_renderBaidu:function(e,t){(window.slotbydup=window.slotbydup||[]).push({id:t,container:e,async:!0}),this._startCheckTimer()},_renderAdView:function(e,t,n){var i=window;t.split(".").reduce((function(e,t){return i=e,e[t]}),window).bind(i)(n.a2,e,2),this._startCheckTimer()},_renderShanhu:function(e,t,n){var i=this;this._shanhuAd=new window.CoralTBSAdv(e,{type:t,target:n,advShowCb:function(){i._report(42),i.$trigger("load",{},{})},advClickCb:function(){i._report(43),i.$trigger("adclicked",{},{})},advCloseCb:function(){i.$trigger("close",{},{})},advErrorCb:function(e){i.$trigger("error",{},e)}}),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var e=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return e&&this._report(40,this._currentChannel),e},_startCheckTimer:function(){var e=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(e._checkTimerCount++,e._checkTimerCount>=5)return e._clearCheckTimer(),void e._renderNext();e._checkRender()&&e._clearCheckTimer()}),1e3)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(e,t){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:e};t&&(n.t=t),c.instance.get(n)},_randomId:function(){for(var e="",t=0;t<4;t++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+e}}},h=f,p=(n("e4bc"),n("0c7c")),g=Object(p["a"])(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-ad",e._g(e._b({},"uni-ad",e.attrs,!1),e.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:e._onhandle}})])}),[],!1,null,null,null);t["default"]=g.exports},1164:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u}));var i=n("a6b0"),r=n("23e5"),a=!1;function o(){return a}function s(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],r=o();if(!r)return n&&e.error("app is not ready"),[];var a=r.$children[0];if(a&&a.$children.length){var s=a.$children.find((function(e){return"TabBar"===e.$options.name})),u=a.$children.find((function(e){return"Layout"===e.$options.name}));u&&(a=u),a.$children.forEach((function(e){if(s!==e&&e.$children.length&&"Page"===e.$children[0].$options.name&&e.$children[0].$slots.page){var n=e.$children[0].$children.find((function(e){return"PageBody"===e.$options.name})),a=n&&n.$children.find((function(e){return!!e.$page}));if(a){var o=!0;!t&&s&&a.$page&&a.$page.meta.isTabBar&&(r.$route.meta&&r.$route.meta.isTabBar?r.$route.path!==a.$page.path&&(o=!1):s.__path__!==a.$page.path&&(o=!1)),o&&i.push(a)}}}))}var c=i.length;if(c>1){var l=i[c-1];l.$page.path!==r.$route.path&&i.splice(c-1,1)}return i}function u(e,t,n){a=t,a.$vm=t,a.globalData=a.$options.globalData||{},Object(i["d"])(e,a),Object(r["a"])(a,n)}}).call(this,n("3ad9")["default"])},"11d0":function(e,t,n){"use strict";var i=n("a92f"),r=n.n(i);r.a},"11fb":function(e,t,n){"use strict";n.r(t),n.d(t,"previewImage",(function(){return r}));var i=n("cb0f"),r={urls:{type:Array,required:!0,validator:function(e,t){var n;if(t.urls=e.map((function(e){if("string"===typeof e)return Object(i["a"])(e);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(e,t){"number"===typeof e?t.current=e>0&&e.5&&t._A<=.5?a.forEach((function(e){e.color=o})):s<=.5&&t._A>.5&&a.forEach((function(e){e.color="#fff"})),t._A=s,i&&(i.style.opacity=s),n.backgroundColor="rgba(".concat(t._R,",").concat(t._G,",").concat(t._B,",").concat(s,")"),l.forEach((function(e,t){var n=c[t],i=n.match(/[\d+\.]+/g);i[3]=(1-s)*(4===i.length?i[3]:1),e.backgroundColor="rgba(".concat(i,")")})))}))}else if("float"===this.type){for(var h=this.$el.querySelectorAll(".uni-btn-icon"),p=[],g=0;g\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,o=h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=h("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"),u=h("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"),c=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=h("script,style");function f(e,t){var n,f,h,p=[],g=e;p.last=function(){return this[this.length-1]};while(e){if(f=!0,p.last()&&d[p.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""})),y("",p.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"),n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),f=!1)):0==e.indexOf("=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)t.end&&t.end(p[r]);p.length=i}}y()}function h(e){for(var t={},n=e.split(","),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},a={title:{type:String,required:!0}}},1955:function(e,t,n){"use strict";n.r(t);var i=n("ba15"),r=n("8aec"),a=n("5363"),o=n("72b3"),s=n("d4cd");var u={name:"PickerViewColumn",mixins:[i["a"],r["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(e){this._setItemHeight(e),this.inited&&this.update()},current:function(e){this.$parent.setItemValue(this,e)},length:function(e){this.inited&&this.update(e)}},created:function(){var e=this.$parent;this.indicatorStyle=e.indicatorStyle,this.indicatorClass=e.indicatorClass,this.maskStyle=e.maskStyle,this.maskClass=e.maskClass,this.deltaY=0},mounted:function(){var e=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick((function(){e.init(),e.update()})),function(e){var t=0,n=0;e.addEventListener("touchstart",(function(e){var i=e.changedTouches[0];t=i.clientX,n=i.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-t)<20&&Math.abs(i.clientY-n)<20){var r=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(e){r[e]=i[e]})),e.target.dispatchEvent(r)}}))}(this.$el),Object(s["b"])();var t=this;while(t){var n=t.$options._scopeId;n&&this.$refs.indicator.setAttribute(n,""),t=t.$parent}},methods:{_setItemHeight:function(e){var t=document.createElement("style");t.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(e,"px;overflow: hidden;}"),document.head.appendChild(t)},_handleTrack:function(e){if(this._scroller)switch(e.detail.state){case"start":this._handleTouchStart(e),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(e),e.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(e),Object(s["a"])({disable:!1})}},_handleTap:function(e){var t=e.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),i=t-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var a=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),o=i<0?-a:a,s=Math.min(this.current+o,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(e){var t=this.deltaY+e.deltaY;if(Math.abs(t)>10){this.deltaY=0;var n=Math.min(this.current+(t<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=t;e.preventDefault()},setCurrent:function(e){e!==this.current&&(this.current=e,this.inited&&this.update())},init:function(){var e=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new a["a"](1e-4),spring:new o["a"](2,90,20),onSnap:function(t){isNaN(t)||t===e.current||(e.current=t)}}),this.inited=!0},update:function(){var e=this;this.$nextTick((function(){var t=Math.min(e.current,e.length-1);t=Math.max(t,0),e._scroller.update(t*e.indicatorHeight,void 0,e.indicatorHeight)}))},_resize:function(e){var t=e.height;this.indicatorHeight=t}},render:function(e){return this.length=this.$slots.default&&this.$slots.default.length||0,e("uni-picker-view-column",{on:{on:this.$listeners}},[e("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[e("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),e("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[e("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),e("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},c=u,l=(n("edfa"),n("0c7c")),d=Object(l["a"])(c,void 0,void 0,!1,null,null,null);t["default"]=d.exports},"19c4":function(e,t,n){var i={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="19c4"},"19d9":function(e,t,n){"use strict";n.r(t),n.d(t,"getLocation",(function(){return r}));var i=["wgs84","gcj02"],r={type:{type:String,validator:function(e,t){e=(e||"").toLowerCase(),t.type=i.indexOf(e)<0?i[0]:e}},altitude:{type:Boolean,default:!1}}},"1a12":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"request",(function(){return s}));var i=n("f2b3");function r(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,a=t.delta,o=t.events,u=t.exists,c=t.animationType,l=t.animationDuration,d=t.from,f=void 0===d?"navigateBack":d,h=t.detail,p=getApp().$router;switch(delete p.$eventChannel,e){case"redirectTo":if("back"===u){var g=Object(i["a"])(n);if(-1!==g){var v=getCurrentPages().length-1-g;if(v>0)return s("navigateBack",{delta:v})}}p.replace({type:e,path:n});break;case"navigateTo":return p.$eventChannel=Object(r["a"])(o),p.push({type:e,path:n,animationType:c,animationDuration:l}),{errMsg:e+":ok",eventChannel:p.$eventChannel};case"navigateBack":var m=!0,y=getCurrentPages();if(y.length){var b=y[y.length-1];Object(i["c"])(b.$options,"onBackPress")&&!0===b.__call_hook("onBackPress",{from:f})&&(m=!1)}m&&(a>1&&(p._$delta=a),p.go(-a,{animationType:c,animationDuration:l}));break;case"reLaunch":p.replace({type:e,path:n});break;case"switchTab":p.replace({type:e,path:n,params:{detail:h}});break}return{errMsg:e+":ok"}}function u(e){return s("redirectTo",e)}function c(e){return s("navigateTo",e)}function l(e){return s("navigateBack",e)}function d(e){return s("reLaunch",e)}function f(e){return s("switchTab",e)}function h(e,t){var n=e.url,i=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(i.substr(1)).then((function(){o(t,{url:n,errMsg:"preloadPage:ok"})})).catch((function(e){o(t,{url:n,errMsg:"preloadPage:fail "+e})}))}}.call(this,n("0dd1"))},"1b3d":function(e,t,n){"use strict";n.r(t),function(e){var i=n("f2b3");t["default"]={data:function(){return{previewImage:{visible:!1}}},created:function(){var t=this;e.on("onShowPreviewImage",(function(e,n){t.previewImage=Object.assign({},e,{visible:!0}),Object(i["k"])(n)&&t.$nextTick(n)})),e.on("onClosePreviewImage",(function(e){t._onPreviewClose(),Object(i["k"])(e)&&t.$nextTick(e)})),e.on("onHidePopup",(function(e){t.previewImage.visible=!1}))},methods:{_onPreviewClose:function(e){this.previewImage.visible=!1}}}}.call(this,n("0dd1"))},"1b6f":function(e,t,n){"use strict";(function(e){var i=n("f2b3");t["a"]={mounted:function(){var e=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(t,n){e._toggleListeners("unsubscribe",n,!0),e._toggleListeners("subscribe",t,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(t,n,r){r&&!n||Object(i["k"])(this._handleSubscribe)&&e[t](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var e="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",e),this._contextId=e),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:e,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(e,t,n){"use strict";var i=n("97b9"),r=n.n(i);r.a},"1c73":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u}));var i={},r={};function a(e){for(var t=[],n=0,i=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];n=0&&t.push("(".concat(o(r),": ").concat(Number(e[r]),"px)")),"orientation"===r&&e[r]&&t.push("(".concat(o(r),": ").concat(e[r],")"))}return t=t.join(" and "),t}function o(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(t){var n=t.reqId,o=t.options,s=i[n]=window.matchMedia(a(o)),u=r[n]=function(t){e.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:t.matches})};u(s),s.addListener(u)}function u(t){var n=t.reqId,a=r[n],o=i[n];o&&(o.removeListener(a),delete i[n],e.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(e,t,n){"use strict";n.r(t),n.d(t,"base64ToArrayBuffer",(function(){return r})),n.d(t,"arrayBufferToBase64",(function(){return a}));var i=n("8390");function r(e){return Object(i["decode"])(e)}function a(e){return Object(i["encode"])(e)}},"1d15":function(e,t,n){},"1e4d":function(e,t,n){"use strict";function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0&&(o.length=1),d.push("".concat(a,"(").concat(o.join(","),")"));else if(i.concat(r).includes(o[0])){a=o[0];var s=o[1];c[a]=r.includes(a)?l(s):s}})),c.transform=c.webkitTransform=d.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((function(e){return"".concat(function(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})).replace("webkit","-webkit")}(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),c.transformOrigin=c.webkitTransformOrigin=o.transformOrigin,c}(t);Object.keys(s).forEach((function(t){e.$el.style[t]=s[t]})),n+=1,n=0&&this._callbacks.splice(t,1)}},{key:"offHeadersReceived",value:function(){}}]),e}(),s=Object.create(null);function u(e,t){var n=Object(r["c"])("createUploadTask",e),i=n.uploadTaskId,a=new o(i,t);return s[i]=a,a}Object(r["d"])("onUploadTaskStateChange",(function(e){var t=e.uploadTaskId,n=e.state,r=e.data,a=e.statusCode,o=e.progress,u=e.totalBytesSent,c=e.totalBytesExpectedToSend,l=e.errMsg,d=s[t],f=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(e){e({progress:o,totalBytesSent:u,totalBytesExpectedToSend:c})}));break;case"success":Object(i["a"])(f,{data:r,statusCode:a,errMsg:"request:ok"});case"fail":Object(i["a"])(f,{errMsg:"request:fail "+l});default:setTimeout((function(){delete s[t]}),100);break}}))},2206:function(e,t,n){},2209:function(e){e.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(e,t,n){"use strict";n.r(t),n.d(t,"showModal",(function(){return a})),n.d(t,"showToast",(function(){return o})),n.d(t,"showLoading",(function(){return s})),n.d(t,"showActionSheet",(function(){return u}));var i=n("a6b0"),r=n("cb0f"),a={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(i["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000"},confirmText:{type:String,default:function(){return Object(i["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},o={title:{type:String,default:""},icon:{default:"success",validator:function(e,t){-1===["success","loading","error","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator:function(e,t){e&&(t.image=Object(r["a"])(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},u={itemList:{type:Array,required:!0,validator:function(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return i}));var i=[{name:"upx",type:[Number,String],required:!0}]},2292:function(e,t,n){},2318:function(e,t,n){"use strict";(function(e){var i=n("8af1"),r=n("f2b3"),a=n("31c6"),o=n("453f"),s=n("4c39"),u=n("5b9f"),c=n("636c");function l(e,t,n){return l=d()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=Function.bind.apply(e,i),a=new r;return n&&f(a,n.prototype),a},l.apply(null,arguments)}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e,t,n){return new e.LatLng(t,n)}function p(e,t,n){return c["c"]?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):h(e,t,n)}function g(e){return"getLat"in e?e.getLat():e.lat()}function v(e){return"getLng"in e?e.getLng():e.lng()}t["a"]={name:"Map",components:{mapMarker:o["a"],mapControl:s["a"],mapPolygon:u["a"]},mixins:[i["g"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(e){var t=this;this.mapReady((function(){t._map.setZoom(Number(e)||16)}))},polyline:function(e){var t=this;this.mapReady((function(){t.createPolyline()}))},circles:function(){var e=this;this.mapReady((function(){e.createCircles()}))},includePoints:function(){var e=this;this.mapReady((function(){e.fitBounds(e.includePoints)}))},showLocation:function(e){var t=this;this.mapReady((function(){t[e?"createLocation":"removeLocation"]()}))}},created:function(){this._markers={};var e=this.latitude,t=this.longitude;e&&t&&(this.center.latitude=e,this.center.longitude=t)},mounted:function(){var e=this;Object(a["a"])(this.libraries,(function(t){t.event=t.event||t.Event,t.Point=t.Point||t.BuryPoint,e._maps=t,e.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(e){var t=this,n=e.type,i=e.data,r=void 0===i?{}:i,a=this._maps;function o(e,t){e=e||{},e.errMsg="".concat(n,":").concat(t?"fail"+t:"ok");var i=t?r.fail:r.success;"function"===typeof i&&i(e),"function"===typeof r.complete&&r.complete(e)}switch(n){case"getCenterLocation":this.mapReady((function(){var e,n,i=t._map.getCenter();e=g(i),n=v(i),o({latitude:e,longitude:n})}));break;case"moveToLocation":var s=r.latitude,u=r.longitude,l=s&&u?p(a,s,u):this._locationPosition;l&&(this._map.setCenter(l),o({latitude:s,longitude:u}));break;case"translateMarker":this.mapReady((function(){try{var e=t.getMarker(r.markerId),n=r.destination,i=r.duration,s=!!r.autoRotate,u=Number(r.rotate)?r.rotate:0,c=0;"getRotation"in e&&(c=e.getRotation());var l=e.getPosition(),d=p(a,n.latitude,n.longitude),f=a.geometry.spherical.computeDistanceBetween(l,d)/1e3,h=("number"===typeof i?i:1e3)/36e5,g=f/h,v=a.event.addListener(e,"moving",(function(t){var n=t.latLng,i=e.label;i&&i.setPosition(n);var r=e.callout;r&&r.setPosition(n)})),m=a.event.addListener(e,"moveend",(function(t){m.remove(),v.remove(),e.lastPosition=l,e.setPosition(d);var n=e.label;n&&n.setPosition(d);var i=e.callout;i&&i.setPosition(d);var a=r.animationEnd;"function"===typeof a&&a()})),y=0;s&&(e.lastPosition&&(y=a.geometry.spherical.computeHeading(e.lastPosition,l)),u=a.geometry.spherical.computeHeading(l,d)-y),"setRotation"in e&&e.setRotation(c+u),"moveTo"in e?e.moveTo(d,g):(e.setPosition(d),a.event.trigger(e,"moveend",{}))}catch(b){o(null,b)}}));break;case"includePoints":this.fitBounds(r.points);break;case"getRegion":this.mapReady((function(){t.boundsReady((function(){var e=t._map.getBounds(),n=e.getSouthWest(),i=e.getNorthEast();o({southwest:{latitude:g(n),longitude:v(n)},northeast:{latitude:g(i),longitude:v(i)}})})),c["c"]&&(t.isBoundsReady=!0,t.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){o({scale:t._map.getZoom()})}));break}},init:function(){var e=this,t=this._maps,n=p(t,this.center.latitude,this.center.longitude),i=this._map=new t.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),r=t.event.addListener(i,"bounds_changed",(function(t){r.remove(),e.isBoundsReady=!0,e.$emit("boundsready")}));function a(){var e=i.getCenter();return{scale:i.getZoom(),centerLocation:{latitude:g(e),longitude:v(e)}}}t.event.addListener(i,"click",(function(t){e.$trigger("click",{},{})})),t.event.addListener(i,"dragstart",(function(){e.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),t.event.addListener(i,"dragend",(function(){e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},a()))}));var o=function(){e.$emit("update:scale",i.getZoom()),e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},a()))};t.event.addListener(i,"zoom_changed",o),t.event.addListener(i,"zoomend",o),t.event.addListener(i,"center_changed",(function(){var t,n,r=i.getCenter();t=g(r),n=v(r),e.$emit("update:latitude",t),e.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){i.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var e=this,t=this._maps,n=Number(this.latitude),i=Number(this.longitude);n===this.center.latitude&&i===this.center.longitude||(this.center.latitude=n,this.center.longitude=i,this._map&&this.mapReady((function(){var r=p(t,n,i);e._map.setCenter(r)})))},createPolyline:function(){var e=this._maps,t=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(i){var a=[];i.points.forEach((function(t){var n=c["c"]?[t.longitude,t.latitude]:h(e,t.latitude,t.longitude);a.push(n)}));var o=Number(i.borderWidth)||0,s=Object(r["j"])(i.color),u=s.r,l=s.g,d=s.b,f=s.a,p=Object(r["j"])(i.borderColor),g=p.r,v=p.g,m=p.b,y=p.a,b={map:t,clickable:!1,path:a,strokeWeight:(Number(i.width)||0)+o||6,strokeDashStyle:i.dottedLine?"dash":"solid"};c["c"]&&(b.strokeColor=i.strokeColor,b.strokeStyle=i.dottedLine?"dashed":"solid",b.isOutline=!!i.borderWidth,b.borderWeight=i.borderWidth,b.outlineColor=i.borderColor);var _={map:t,clickable:!1,path:a,strokeWeight:i.width||6,strokeDashStyle:i.dottedLine?"dash":"solid"};"Color"in e?(b.strokeColor=new e.Color(u,l,d,f),_.strokeColor=new e.Color(g,v,m,y)):(b.strokeColor="rgb(".concat(u,", ").concat(l,", ").concat(d,")"),b.strokeOpacity=f,_.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(m,")"),_.strokeOpacity=y),o&&n.push(new e.Polyline(_));var w=new e.Polyline(b);c["c"]&&t.add(w),n.push(w)}))},removePolyline:function(){var e=this.polylineSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createCircles:function(){var e=this._maps,t=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(i){var a=c["c"]?[i.longitude,i.latitude]:h(e,i.latitude,i.longitude),o={map:t,center:a,clickable:!1,radius:i.radius,strokeWeight:Number(i.strokeWidth)||1,strokeDashStyle:"solid"};if(c["c"])o.strokeColor=i.color,o.fillColor=i.fillColor||"#000";else{var s=Object(r["j"])(i.fillColor||"#00000000"),u=s.r,l=s.g,d=s.b,f=s.a,p=Object(r["j"])(i.color||"#000000"),g=p.r,v=p.g,m=p.b,y=p.a;"Color"in e?(o.fillColor=new e.Color(u,l,d,f),o.strokeColor=new e.Color(g,v,m,y)):(o.fillColor="rgb(".concat(u,", ").concat(l,", ").concat(d,")"),o.fillOpacity=f,o.strokeColor="rgb(".concat(g,", ").concat(v,", ").concat(m,")"),o.strokeOpacity=y)}var b=new e.Circle(o);c["c"]&&t.add(b),n.push(b)}))},removeCircles:function(){var e=this.circlesSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createLocation:function(){var t=this,n=this._maps,i=this._map,r=this._location;r&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(e){if(r===t._location){var a=p(n,e.latitude,e.longitude);if(c["c"]){r=new n.Marker({position:a,map:i,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:c["a"],imageSize:new n.Size(44,44)});r.setIcon(s),i.add(r)}else r=new n.Marker({position:a,map:i,icon:new n.MarkerImage(c["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});t._location=r,o(),t.__onCompassChange=function(e){"setRotation"in r&&r.setRotation(e.direction)},uni.onCompassChange(t.__onCompassChange)}},fail:function(t){e.error(t)}});var a=this;function o(){r===a._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(e){var t=a._locationPosition=p(n,e.latitude,e.longitude);r.setPosition(t)},fail:function(t){e.error(t)},complete:function(){o()}})}),3e4)}},removeLocation:function(){var e=this._location;e&&(e.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(e,t){var n=this,i=this._maps;this.boundsReady((function(){var r=n._map;if(c["c"]){var a=[];e.forEach((function(e){a.push([e.longitude,e.latitude])}));var o=l(i.Bounds,a);r.setBounds(o)}else{var s=new i.LatLngBounds;e.forEach((function(e){var t=e.longitude,n=e.latitude,r=h(i,n,t);s.extend(r)})),r.fitBounds(s)}"function"===typeof t&&t()})),c["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},mapReady:function(e){this.isMapReady?e():this.$once("mapready",(function(){e()}))},boundsReady:function(e){this.isBoundsReady?e():this.$once("boundsready",(function(){e()}))},getMarker:function(e){var t=this._markers[e];if(!t)throw new Error("translateMarker: fail cannot find marker with id "+e);return t}}}}).call(this,n("3ad9")["default"])},"232e":function(e,t,n){"use strict";n.r(t),n.d(t,"pageScrollTo",(function(){return i}));var i={scrollTop:{type:Number},duration:{type:Number,default:300,validator:function(e,t){t.duration=Math.max(0,e)}}}},"23ab":function(e,t,n){},"23e5":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return g}));var i=n("a741");function r(e){-1===this.keepAliveInclude.indexOf(e)&&this.keepAliveInclude.push(e)}var a=[];function o(e){if("number"===typeof e)a=this.keepAliveInclude.splice(-(e-1)).map((function(e){return parseInt(e.split("-").pop())}));else{var t=this.keepAliveInclude.indexOf(e);-1!==t&&this.keepAliveInclude.splice(t,1)}}var s=Object.create(null);function u(e){return s[e]}function c(e){s[e]={x:window.pageXOffset,y:window.pageYOffset}}function l(e,t,n){t&&n&&t.meta.isTabBar&&n.meta.isTabBar&&c(n.params.__id__);for(var r=getCurrentPages(),a=r.length-1;a>=0;a--){var s=r[a],u=s.$page.meta;u.isTabBar||(o.call(this,u.name+"-"+s.$page.id),Object(i["b"])(s,"onUnload"))}}function d(e){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var t=getCurrentPages(!0),n=t.length-1;n>=0;n--)Object(i["b"])(t[n],"onUnload"),t[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var f=[];function h(e,t,n,i){f=getCurrentPages(!0);var a=t.params.__id__,s=e.params.__id__,u=e.meta.name+"-"+s;if(s===a&&"reLaunch"!==e.type)e.fullPath!==t.fullPath?(r.call(this,u),n()):n(!1);else if(e.meta.id&&e.meta.id!==s)n({path:e.path,replace:!0});else{var c=t.meta.name+"-"+a;switch(e.type){case"navigateTo":break;case"redirectTo":o.call(this,c),t.meta&&t.meta.isQuit&&(e.meta.isQuit=!0,e.meta.isEntry=!!t.meta.isEntry);break;case"switchTab":l.call(this,i,e,t);break;case"reLaunch":d.call(this,u),e.meta.isQuit=!0;break;default:a&&a>s&&(o.call(this,c),this.$router._$delta>1&&o.call(this,this.$router._$delta));break}if("reLaunch"!==e.type&&"redirectTo"!==e.type&&t.meta.id&&r.call(this,c),r.call(this,u),e.meta&&e.meta.name){document.body.className="uni-body "+e.meta.name;var h="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(h,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(h))}n()}}function p(t,n){var r,o=n.params.__id__,s=t.params.__id__;function u(e){if(e){Object(i["b"])(e,"onUnload");var t=f.indexOf(e);t>=0&&f.splice(t,1)}}switch(r=n.meta.isSet?f.find((function(e){return e.$page.meta.pagePath===n.meta.pagePath})):f.find((function(e){return e.$page.id===o})),t.type){case"navigateTo":r&&Object(i["b"])(r,"onHide");break;case"redirectTo":u(r);break;case"switchTab":n.meta.isTabBar&&r&&Object(i["b"])(r,"onHide");break;case"reLaunch":break;default:o&&o>s&&(u(r),this.$router._$delta>1&&a.reverse().forEach((function(e){var t=f.find((function(t){return t.$page.id===e}));u(t)})));break}if(delete this.$router._$delta,a.length=0,"reLaunch"!==t.type){var c,l=getCurrentPages(!0);c=t.meta.isSet?l.find((function(e){return e.$page.meta.pagePath===t.meta.pagePath})):l.find((function(e){return e.$page.id===s})),c&&(setTimeout((function(){e.emit("onNavigationBarChange",c.$parent.$parent.navigationBar),Object(i["b"])(c,"onShow")}),0),document.title=c.$parent.$parent.navigationBar.titleText)}}function g(e,t){e.$router.beforeEach((function(n,i,r){h.call(e,n,i,r,t)})),e.$router.afterEach((function(t,n){p.call(e,t,n)}))}}).call(this,n("0dd1"))},"24d9":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n("f2b3");function a(e){return a="function"===typeof Symbol&&"symbol"===i(Symbol.iterator)?function(e){return i(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":i(e)},a(e)}function o(e){return e.mp=Object.assign({"@warning":"mp is deprecated"},e),e._processed=!0,e}function s(e,t){return Object(r["l"])(t)&&(Object(r["i"])(t,"backgroundColor")&&(e.backgroundColor=t.backgroundColor),Object(r["i"])(t,"buttons")&&(e.buttons=t.buttons),Object(r["i"])(t,"titleColor")&&(e.textColor=t.titleColor),Object(r["i"])(t,"titleText")&&(e.titleText=t.titleText),Object(r["i"])(t,"titleSize")&&(e.titleSize=t.titleSize),Object(r["i"])(t,"type")&&(e.type=t.type),Object(r["i"])(t,"searchInput")&&"object"===a(t.searchInput)&&(e.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},t.searchInput))),e}},"250d":function(e,t,n){"use strict";n.r(t);var i=n("8af1"),r=n("f2b3"),a=["text","number","idcard","digit","password","tel"],o=["number","digit"],s=["off","one-time-code"],u=["none","text","decimal","numeric","tel","search","email","url"],c={name:"Input",mixins:[i["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(e){return!!~u.indexOf(e)}}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var e="";switch(this.type){case"text":"search"===this.confirmType&&(e="search");break;case"idcard":e="text";break;case"digit":e="number";break;default:e=~a.indexOf(this.type)?this.type:"text";break}return this.password?"password":e},_step:function(){return~o.indexOf(this.type)?this.step:""},autocomplete:function(){var e=s.indexOf(this.textContentType),t=s.indexOf(Object(r["n"])(this.textContentType)),n=-1!==e?e:-1!==t?t:0;return s[n]},showPlaceholder:function(){var e="digit"===this.type?this.cachedValue.indexOf("."):-1;return!(this.composing||this.valueSync.length||"-"===this.cachedValue||-1!==e&&e===this.cachedValue.length-1)}},watch:{maxlength:function(e){var t=this.valueSync.slice(0,parseInt(e,10));t!==this.valueSync&&(this.valueSync=t)},valueSync:function(e){"number"!==this.type||"-"===this.cachedValue&&""===e||(this.cachedValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var e=document.createElement("form");e.action="",e.onsubmit=function(){return!1},e.className="uni-input-form",e.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(e)}var t=this;while(t){var n=t.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(e){var t=e.target;this.$trigger("confirm",e,{value:t.value}),this.confirmHold||t.blur()},_onInput:function(e,t){var n=this,i=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&e.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(e.target.value=e.target.value.slice(0,r),this.valueSync=e.target.value)),this.__clearCachedValue&&e.target.removeEventListener("blur",this.__clearCachedValue),e.target.validity&&!e.target.validity.valid){if((!this.cachedValue||!e.target.value)&&"-"===e.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===e.inputType){this.cachedValue="-",this.valueSync="";var a=this.__clearCachedValue=function(){n.cachedValue=e.target.value=""};return void e.target.addEventListener("blur",a)}if(this.cachedValue)if(-1!==this.cachedValue.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){var o=this.cachedValue.indexOf(".");return this.cachedValue=e.target.value=this.valueSync=this.cachedValue.slice(0,o),this.$triggerInput(e,{value:this.valueSync},t)}}else if("."===e.data)return this.cachedValue+=".",this.__clearCachedValue=function(){n.cachedValue=n.valueSync=e.target.value=n.cachedValue.slice(0,-1)},e.target.addEventListener("blur",this.__clearCachedValue),!1;return void(this.cachedValue=this.valueSync=e.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||(this.ignoreCompositionEvent||(this.valueSync=this.$refs.input.value),this.$triggerInput(e,{value:this.valueSync},t))}},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},l=c,d=(n("0f55"),n("0c7c")),f=Object(d["a"])(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-input",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPlaceholder,expression:"showPlaceholder"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),"checkbox"!==e.inputType||e.disabled&&e.fixColor?"radio"!==e.inputType||e.disabled&&e.fixColor?e.disabled&&e.fixColor?e._e():n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,inputmode:e.inputmode,type:e.inputType},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},focus:e._onFocus,blur:e._onBlur,input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,inputmode:e.inputmode,type:"radio"},domProps:{checked:e._q(e.valueSync,null)},on:{change:[function(t){e.valueSync=null},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:e.disabled,maxlength:e.maxlength,step:e._step,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":null,autocomplete:e.autocomplete,inputmode:e.inputmode,type:"checkbox"},domProps:{checked:Array.isArray(e.valueSync)?e._i(e.valueSync,null)>-1:e.valueSync},on:{change:[function(t){var n=e.valueSync,i=t.target,r=!!i.checked;if(Array.isArray(n)){var a=e._i(n,null);i.checked?a<0&&(e.valueSync=n.concat([null])):a>-1&&(e.valueSync=n.slice(0,a).concat(n.slice(a+1)))}else e.valueSync=r},function(e){e.stopPropagation()}],focus:e._onFocus,blur:e._onBlur,input:function(t){return t.stopPropagation(),e._onInput(t)},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e._onKeyup(t))}}}),e.disabled&&e.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:e.disabled,type:e.inputType,maxlength:e.maxlength,step:e._step},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])}),[],!1,null,null,null);t["default"]=f.exports},"252b":function(e,t,n){},"25ce":function(e,t,n){"use strict";n.r(t);var i=n("8af1"),r={name:"CheckboxGroup",mixins:[i["a"],i["f"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(e){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),this.$trigger("change",e,{value:t})},_checkboxGroupUpdateHandler:function(e){if("add"===e.type)this.checkboxList.push(e.vm);else{var t=this.checkboxList.indexOf(e.vm);this.checkboxList.splice(t,1)}},_getFormData:function(){var e={};if(""!==this.name){var t=[];this.checkboxList.forEach((function(e){e.checkboxChecked&&t.push(e.value)})),e.value=t,e.key=this.name}return e}}},a=r,o=(n("0998"),n("0c7c")),s=Object(o["a"])(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox-group",e._g({},e.$listeners),[e._t("default")],2)}),[],!1,null,null,null);t["default"]=s.exports},2604:function(e,t,n){"use strict";n.r(t),n.d(t,"openDocument",(function(){return i}));var i={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(e,t,n){"use strict";(function(e){function i(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}function r(t){return function(){try{return t.apply(t,arguments)}catch(n){e.error(n)}}}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}))}).call(this,n("3ad9")["default"])},2765:function(e,t,n){"use strict";var i=n("5f8d"),r=n.n(i);r.a},"27a7":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return w})),n.d(t,"c",(function(){return k}));var i=n("f2b3"),r=n("2608"),a=n("ed1a"),o=n("6710"),s=n("cc76"),u=n("de29");function c(e,t,n){var i="".concat(t,":fail ").concat(e);if(-1===n)throw new Error(i);return"number"===typeof n&&b(n,{errMsg:i}),!1}var l=[{name:"callback",type:Function,required:!0}],d=["beforeValidate","beforeAll","beforeSuccess"];function f(e,t,n){var r=s["a"][e];if(!r&&Object(a["a"])(e)&&(r=l),r){if(Array.isArray(r)&&Array.isArray(t)){var o=Object.create(null),f=Object.create(null),h=t.length;r.forEach((function(e,n){o[e.name]=e,h>n&&(f[e.name]=t[n])})),r=o,t=f}if(Object(i["k"])(r.beforeValidate)){var p=r.beforeValidate(t);if(p)return c(p,e,n)}for(var g=Object.keys(r),v=0;v1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(i["l"])(t))return{params:t};t=Object.assign({},t);var a=Object(o["a"])(t),s=a.success,u=a.fail,c=a.cancel,l=a.complete,d=Object(i["k"])(s),f=Object(i["k"])(u),g=Object(i["k"])(c),v=Object(i["k"])(l);if(!d&&!f&&!g&&!v)return{params:t};var m={};for(var y in n){var b=n[y];Object(i["k"])(b)&&(m[y]=Object(r["b"])(b))}var _=m.beforeSuccess,w=m.afterSuccess,T=m.beforeFail,S=m.afterFail,k=m.beforeCancel,x=m.afterCancel,C=m.beforeAll,E=m.afterAll,A=h++,O="api."+e+"."+A,j=function(n){if(n.errMsg=n.errMsg||e+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=e+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=e+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var r="",a=n.errMsg.indexOf(" ");a>-1&&(r=n.errMsg.substr(a)),n.errMsg=e+":fail"+r}Object(i["k"])(C)&&C(n);var o=n.errMsg;0===o.indexOf(e+":ok")?(Object(i["k"])(_)&&_(n,t),d&&s(n),Object(i["k"])(w)&&w(n)):0===o.indexOf(e+":cancel")?(n.errMsg=n.errMsg.replace(e+":cancel",e+":fail cancel"),f&&u(n),Object(i["k"])(k)&&k(n),g&&c(n),Object(i["k"])(x)&&x(n)):0===o.indexOf(e+":fail")&&(Object(i["k"])(T)&&T(n),f&&u(n),Object(i["k"])(S)&&S(n)),v&&l(n),Object(i["k"])(E)&&E(n)};return p[A]={name:O,callback:j},{params:t,callbackId:A}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=m(e,t,n),a=r.params,o=r.callbackId;return Object(i["l"])(a)&&!f(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function b(e,t,n){if("number"===typeof e){var i=p[e];if(i)return i.keepAlive||delete p[e],i.callback(t,n)}return t}function _(e){delete p[e]}function w(t){return function(n){e.error("API `"+t+"` is not yet implemented")}}function T(e,t){var n=s["a"][e];n&&(Object(i["k"])(n.beforeAll)&&(t.beforeAll=n.beforeAll),Object(i["k"])(n.beforeSuccess)&&(t.beforeSuccess=n.beforeSuccess))}var S=["getPushClientId","onPushMessage","offPushMessage"];function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.indexOf(e)>-1||!Object(i["k"])(t)?t:(T(e,n),function(){for(var r=arguments.length,o=new Array(r),s=0;se.length)&&(t=e.length);for(var n=0,i=new Array(t);n1?t-1:0),i=1;i0;)this.emit.apply(this,[e].concat(t.shift()))}},{key:"_addListener",value:function(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}]),e}()},"2bdd":function(e,t,n){"use strict";n.r(t),function(e){var i;n.d(t,"startAccelerometer",(function(){return a})),n.d(t,"stopAccelerometer",(function(){return o})),n.d(t,"onAccelerometerChange",(function(){return s})),n.d(t,"offAccelerometerChange",(function(){return u}));var r=[];function a(t,n){var a=e,o=a.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){i=function(e){var t=e.acceleration||e.accelerationIncludingGravity;r.forEach((function(e){o(e,{x:t.x||0,y:t.y||0,z:t.z||0})}))},window.addEventListener("devicemotion",i,!1)}if(!i){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(e){"granted"===e?(s(),o(n,{errMsg:"startAccelerometer:ok"})):o(n,{errMsg:"startAccelerometer:fail ".concat(e)})})).catch((function(e){o(n,{errMsg:"startAccelerometer:fail ".concat(e)})}));s()}return{}}function o(){return i&&(window.removeEventListener("devicemotion",i,!1),i=null),{}}function s(e){r.length||a(),r.push(e)}function u(e){if(e){var t=r.indexOf(e);t>=0&&r.splice(t,1)}r.length||o()}}.call(this,n("0dd1"))},"2c67":function(e,t,n){"use strict";n.r(t),function(e){function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0?p:255,[d,f,h,p]}return r.error("unsupported color:"+e),[0,0,0,255]}function _(e,t){this.type="pattern",this.data=e,this.colorStop=t}var w=function(){function e(t,n){h(this,e),this.type=t,this.data=n,this.colorStop=[]}return g(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,b(t)])}}]),e}();function T(e){this.width=e}var S=function(){function e(t,n){h(this,e),this.id=t,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return g(e,[{key:"draw",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,i=d(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(e=v.push(n)),m(this.id,this.pageId,"actionsChanged",{actions:i,reserve:t,callbackId:e})}},{key:"createLinearGradient",value:function(e,t,n,i){return new w("linear",[e,t,n,i])}},{key:"createCircularGradient",value:function(e,t,n){return new w("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0===t)r.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new _(e,t);r.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(e){var t,n=this.state.font;return t=function(e,t){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=t,i.measureText(e).width||0}(e,n),new T(t)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"lineTo",value:function(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,i){this.path.push({method:"quadraticCurveTo",data:[e,t,n,i]}),this.subpath.push([n,i])}},{key:"bezierCurveTo",value:function(e,t,n,i,r,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,i,r,a]}),this.subpath.push([r,a])}},{key:"arc",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[e,t,n,i,r,a]}),this.subpath.push([e,t])}},{key:"rect",value:function(e,t,n,i){this.path.push({method:"rect",data:[e,t,n,i]}),this.subpath=[[e,t]]}},{key:"arcTo",value:function(e,t,n,i,r){this.path.push({method:"arcTo",data:[e,t,n,i,r]}),this.subpath.push([n,i])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:d(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var e=d(this.actions);return this.clearActions(),e}},{key:"lineDashOffset",set:function(e){this.actions.push({method:"setLineDashOffset",data:[e]})}},{key:"globalCompositeOperation",set:function(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}},{key:"shadowBlur",set:function(e){this.actions.push({method:"setShadowBlur",data:[e]})}},{key:"shadowColor",set:function(e){this.actions.push({method:"setShadowColor",data:[e]})}},{key:"shadowOffsetX",set:function(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}},{key:"shadowOffsetY",set:function(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}},{key:"font",set:function(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var i=n[1].trim().split(/\s/),a=parseFloat(n[3]),o=n[7],s=[];i.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&u()})),1===i.length&&u(),i=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=a,this.state.fontFamily=o,this.actions.push({method:"setFont",data:["".concat(i," ").concat(a,"px ").concat(o)]})}else r.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function u(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(e){this.setFillStyle(e)}},{key:"strokeStyle",set:function(e){this.setStrokeStyle(e)}},{key:"globalAlpha",set:function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}},{key:"textAlign",set:function(e){this.actions.push({method:"setTextAlign",data:[e]})}},{key:"lineCap",set:function(e){this.actions.push({method:"setLineCap",data:[e]})}},{key:"lineJoin",set:function(e){this.actions.push({method:"setLineJoin",data:[e]})}},{key:"lineWidth",set:function(e){this.actions.push({method:"setLineWidth",data:[e]})}},{key:"miterLimit",set:function(e){this.actions.push({method:"setMiterLimit",data:[e]})}},{key:"textBaseline",set:function(e){this.actions.push({method:"setTextBaseline",data:[e]})}}]),e}();function k(t,n){if(n)return new S(t,n.$page.id);var i=Object(s["a"])();if(i)return new S(t,i);e.emit("onError","createCanvasContext:fail")}function x(e,t){var n=e.canvasId,i=e.x,r=e.y,a=e.width,o=e.height,c=Object(s["a"])();if(c){var l=v.push((function(e){var n=e.data;n&&n.length&&(e.data=new Uint8ClampedArray(n)),Object(u["a"])(t,e)}));m(n,c,"getImageData",{x:i,y:r,width:a,height:o,callbackId:l})}else Object(u["a"])(t,{errMsg:"canvasGetImageData:fail"})}function C(e,t){var n=e.canvasId,i=e.data,r=e.x,a=e.y,o=e.width,c=e.height,l=Object(s["a"])();if(l){var d=v.push((function(e){Object(u["a"])(t,e)}));i=Array.prototype.slice.call(i),m(n,l,"putImageData",{data:i,x:r,y:a,width:o,height:c,compressed:void 0,callbackId:d})}else Object(u["a"])(t,{errMsg:"canvasPutImageData:fail"})}function E(e,t){var n=e.x,i=void 0===n?0:n,r=e.y,a=void 0===r?0:r,o=e.width,l=e.height,d=e.destWidth,f=e.destHeight,h=e.canvasId,p=e.fileType,g=e.quality,y=Object(s["a"])();if(y){var b=v.push((function(e){Object(u["a"])(t,e)})),_="".concat(c["TEMP_PATH"],"/canvas");m(h,y,"toTempFilePath",{x:i,y:a,width:o,height:l,destWidth:d,destHeight:f,fileType:p,quality:g,dirname:_,callbackId:b})}else Object(u["a"])(t,{errMsg:"canvasToTempFilePath:fail"})}[].concat(["scale","rotate","translate","setTransform","transform"],["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"]).forEach((function(e){S.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:d(this.path)})};case"fillRect":return function(e,t,n,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,i]}]})};case"strokeRect":return function(e,t,n,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,i]}]})};case"fillText":case"strokeText":return function(t,n,i,r){var a=[t.toString(),n,i];"number"===typeof r&&a.push(r),this.actions.push({method:e,data:a})};case"drawImage":return function(t,n,i,r,a,o,s,u,c){var l;function d(e){return"number"===typeof e}void 0===c&&(o=n,s=i,u=r,c=a,n=void 0,i=void 0,r=void 0,a=void 0),l=d(n)&&d(i)&&d(r)&&d(a)?[t,o,s,u,c,n,i,r,a]:d(u)&&d(c)?[t,o,s,u,c]:[t,o,s],this.actions.push({method:e,data:l})};default:return function(){for(var t=arguments.length,n=new Array(t),i=0;i0&&e<1/0?e:0;var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);t=(t<10?"0":"")+t,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i;var r=n+":"+i;return"00"!==t&&(r=t+":"+r),r}},mixins:[a["c"],i["g"],i["d"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:s.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(e){this.$emit("update:enableDanmu",e)},autoHideContorls:function(e){e?this.autoHideStart():this.autoHideEnd()},srcSync:function(e){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(e){0!==e&&this.$trigger("progress",{},{buffered:e})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var e=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));e.sort((function(e,t){return(e.time||0)-(t.time||0)}))},mounted:function(){var e,t,n,i=this,r=this,a=!0,s=this.$refs.ball;function u(i){var o=i.targetTouches[0],s=o.pageX,u=o.pageY;if(a&&Math.abs(s-e)100&&(d=100),r.progress=d,i.preventDefault(),i.stopPropagation()}}function c(e){r.controlsTouching=!1,r.touching&&(s.removeEventListener("touchmove",u,o),a||(e.preventDefault(),e.stopPropagation(),r.seek(r.$refs.video.duration*r.progress/100)),r.touching=!1)}s.addEventListener("touchstart",(function(r){i.controlsTouching=!0;var c=r.targetTouches[0];e=c.pageX,t=c.pageY,n=i.progress,a=!0,i.touching=!0,s.addEventListener("touchmove",u,o)})),s.addEventListener("touchend",c),s.addEventListener("touchcancel",c)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(e){var t,n=e.type,i=e.data,r=void 0===i?{}:i;switch(n){case"seek":t=r.position;break;case"sendDanmu":t=r;break;case"playbackRate":t=r.rate;break}["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"].indexOf(n)>=0&&this[n](t)},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(e){e=Number(e),"number"!==typeof e||isNaN(e)||(this.$refs.video.currentTime=e)},clickProgress:function(e){var t=this.$refs.progress,n=e.target,i=e.offsetX;while(n!==t)i+=n.offsetLeft,n=n.parentNode;var r=t.offsetWidth,a=0;i>=0&&i<=r&&(a=i/r,this.seek(this.$refs.video.duration*a))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(e){var t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(e.color,";");t.setAttribute("style",n),this.$refs.danmu.appendChild(t),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",n),setTimeout((function(){t.remove()}),4e3)}),17)},sendDanmu:function(e){var t=this.otherData;t.danmuList.splice(t.danmuIndex.index+1,0,{text:String(e.text),color:e.color,time:this.$refs.video.currentTime||0})},playbackRate:function(e){this.$refs.video.playbackRate=e},triggerFullscreen:function(e){var t,n=this.$refs.container,i=this.$refs.video;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?i.webkitEnterFullScreen?i.webkitEnterFullScreen():(t=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():i.webkitExitFullScreen?i.webkitExitFullScreen():(t=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),t&&this.emitFullscreenChange(e)},onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(e){this.fullscreen=e,this.$trigger("fullscreenchange",{},{fullScreen:e,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(e){var t=e.target;this.durationTime=t.duration},onLoadedMetadata:function(e){var t=Number(this.initialTime)||0,n=e.target;t>0&&(n.currentTime=t),this.$trigger("loadedmetadata",e,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(e)},onProgress:function(e){var t=e.target,n=t.buffered;n.length&&(this.buffered=n.end(n.length-1)/t.duration*100)},onWaiting:function(e){this.$trigger("waiting",e,{})},onVideoError:function(e){this.playing=!1,this.$trigger("error",e,{})},onPlay:function(e){this.start=!0,this.playing=!0,this.$trigger("play",e,{})},onPause:function(e){this.playing=!1,this.$trigger("pause",e,{})},onEnded:function(e){this.playing=!1,this.$trigger("ended",e,{})},onTimeUpdate:function(e){var t=e.target,n=this.otherData,i=this.currentTime=t.currentTime,r=n.danmuIndex,a={time:i,index:r.index},o=n.danmuList;if(i>r.time)for(var s=r.index+1;s=(u.time||0)))break;a.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(u)}else if(i-1;c--){var l=o[c];if(!(i<=(l.time||0)))break;a.index=c-1}n.danmuIndex=a,this.$trigger("timeupdate",e,{currentTime:i,duration:t.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(e){var t=e.targetTouches[0];this.touchStartOrigin={x:t.pageX,y:t.pageY},this.gestureType=s.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(e){function t(){e.stopPropagation(),e.preventDefault()}this.fullscreen&&t();var n=this.gestureType;if(n!==s.STOP){var i=e.targetTouches[0],r=i.pageX,a=i.pageY,o=this.touchStartOrigin;if(n===s.PROGRESS?this.changeProgress(r-o.x):n===s.VOLUME&&this.changeVolume(a-o.y),n===s.NONE)if(Math.abs(r-o.x)>Math.abs(a-o.y)){if(!this.enableProgressGesture)return void(this.gestureType=s.STOP);this.gestureType=s.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||t()}else{if(!this.pageGesture)return void(this.gestureType=s.STOP);this.gestureType=s.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||t()}}},touchend:function(e){this.gestureType!==s.NONE&&this.gestureType!==s.STOP&&(e.stopPropagation(),e.preventDefault()),this.gestureType===s.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=s.NONE},changeProgress:function(e){var t=this.$refs.video.duration,n=e/600*t+this.currentTimeOld;n<0?n=0:n>t&&(n=t),this.currentTimeNew=n},changeVolume:function(e){var t,n=this.volumeOld;"number"===typeof n&&(t=n-e/200,t<0?t=0:t>1&&(t=1),this.$refs.video.volume=t,this.volumeNew=t)},autoHideStart:function(){var e=this;this.otherData.hideTiming=setTimeout((function(){e.controlsVisible=!1}),3e3)},autoHideEnd:function(){var e=this.otherData;e.hideTiming&&(clearTimeout(e.hideTiming),e.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},c=u,l=(n("856e"),n("0c7c")),d=Object(l["a"])(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-video",e._g({attrs:{id:e.id}},e.$listeners),[n("div",{ref:"container",staticClass:"uni-video-container",on:{touchstart:e.touchstart,touchend:e.touchend,touchmove:e.touchmove,fullscreenchange:function(t){return t.stopPropagation(),e.onFullscreenChange(t)},webkitfullscreenchange:function(t){return t.stopPropagation(),e.onFullscreenChange(t,!0)}}},[n("video",e._b({ref:"video",staticClass:"uni-video-video",style:{objectFit:e.objectFit},attrs:{loop:e.loop,src:e.srcSync,poster:e.poster,autoplay:e.autoplay,"webkit-playsinline":"",playsinline:""},domProps:{muted:e.muted},on:{click:e.triggerControls,durationchange:e.onDurationChange,loadedmetadata:e.onLoadedMetadata,progress:e.onProgress,waiting:e.onWaiting,error:e.onVideoError,play:e.onPlay,pause:e.onPause,ended:e.onEnded,timeupdate:e.onTimeUpdate,webkitbeginfullscreen:function(t){return e.emitFullscreenChange(!0)},x5videoenterfullscreen:function(t){return e.emitFullscreenChange(!0)},webkitendfullscreen:function(t){return e.emitFullscreenChange(!1)},x5videoexitfullscreen:function(t){return e.emitFullscreenChange(!1)}}},"video",e.$attrs,!1)),n("div",{directives:[{name:"show",rawName:"v-show",value:e.controlsShow,expression:"controlsShow"}],staticClass:"uni-video-bar uni-video-bar-full",on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"uni-video-controls"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPlayBtn,expression:"showPlayBtn"}],staticClass:"uni-video-control-button",class:{"uni-video-control-button-play":!e.playing,"uni-video-control-button-pause":e.playing},on:{click:function(t){return t.stopPropagation(),e.trigger(t)}}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showProgress,expression:"showProgress"}],staticClass:"uni-video-current-time"},[e._v(" "+e._s(e._f("time")(e.currentTime))+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showProgress,expression:"showProgress"}],ref:"progress",staticClass:"uni-video-progress-container",on:{click:function(t){return t.stopPropagation(),e.clickProgress(t)}}},[n("div",{staticClass:"uni-video-progress"},[n("div",{staticClass:"uni-video-progress-buffered",style:{width:e.buffered+"%"}}),n("div",{ref:"ball",staticClass:"uni-video-ball",style:{left:e.progress+"%"}},[n("div",{staticClass:"uni-video-inner"})])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showProgress,expression:"showProgress"}],staticClass:"uni-video-duration"},[e._v(" "+e._s(e._f("time")(e.duration||e.durationTime))+" ")])]),e.danmuBtn?n("div",{staticClass:"uni-video-danmu-button",class:{"uni-video-danmu-button-active":e.enableDanmuSync},on:{click:function(t){return t.stopPropagation(),e.triggerDanmu(t)}}},[e._v(" "+e._s(e.$$t("uni.video.danmu"))+" ")]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showFullscreenBtn,expression:"showFullscreenBtn"}],staticClass:"uni-video-fullscreen",class:{"uni-video-type-fullscreen":e.fullscreen},on:{click:function(t){return t.stopPropagation(),e.triggerFullscreen(!e.fullscreen)}}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.start&&e.enableDanmuSync,expression:"start&&enableDanmuSync"}],ref:"danmu",staticClass:"uni-video-danmu",staticStyle:{"z-index":"0"}}),e.centerPlayBtnShow?n("div",{staticClass:"uni-video-cover",on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"uni-video-cover-play-button",on:{click:function(t){return t.stopPropagation(),e.play(t)}}}),n("p",{staticClass:"uni-video-cover-duration"},[e._v(" "+e._s(e._f("time")(e.duration||e.durationTime))+" ")])]):e._e(),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-volume":"volume"===e.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[e._v(" "+e._s(e.$$t("uni.video.volume"))+" ")]),n("svg",{staticClass:"uni-video-toast-icon",attrs:{width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}})]),n("div",{staticClass:"uni-video-toast-value"},[n("div",{staticClass:"uni-video-toast-value-content",style:{width:100*e.volumeNew+"%"}},[n("div",{staticClass:"uni-video-toast-volume-grids"},e._l(10,(function(e,t){return n("div",{key:t,staticClass:"uni-video-toast-volume-grids-item"})})),0)])])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-progress":"progress"==e.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[e._v(" "+e._s(e._f("time")(e.currentTimeNew))+" / "+e._s(e._f("time")(e.durationTime))+" ")])]),n("div",{staticClass:"uni-video-slots"},[e._t("default")],2)])])}),[],!1,null,null,null);t["default"]=d.exports},"332a":function(e,t,n){"use strict";n.r(t),n.d(t,"redirectTo",(function(){return u})),n.d(t,"reLaunch",(function(){return c})),n.d(t,"navigateTo",(function(){return l})),n.d(t,"switchTab",(function(){return d})),n.d(t,"navigateBack",(function(){return f})),n.d(t,"preloadPage",(function(){return h})),n.d(t,"unPreloadPage",(function(){return p}));var i,r=n("0f74");function a(e){return function(t,n){t=Object(r["a"])(t);var a=t.split("?")[0],o=__uniRoutes.find((function(e){var t=e.path,n=e.alias;return t===a||n===a}));if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return"can not ".concat(e," a tabbar page")}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===n.openType||(t=a),o.meta.isEntry&&(t=t.replace(o.alias,"/")),n.url=function(e){if("string"!==typeof e)return e;var t=e.indexOf("?");if(-1===t)return e;var n=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.substr(0,t);var i=[];return n.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";i.push(n+"="+encodeURIComponent(r))})),i.length?e+"?"+i.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(i===t&&"appLaunch"!==n.openType)return"".concat(i," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(i=t)}else if(o.meta.isTabBar){var s=getCurrentPages(!0),u=(o.alias||o.path).substr(1);if(s.find((function(e){return e.route===u})))return"tabBar page `"+u+"` already exists"}}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:a(e)},beforeAll:function(){i=""}},t)}function s(e){return{animationType:{type:String,validator:function(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}var u=o("redirectTo"),c=o("reLaunch"),l=o("navigateTo",s(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),d=o("switchTab"),f=Object.assign({delta:{type:Number,validator:function(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},s(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),h={url:{type:String,required:!0,validator:a("preloadPage")}},p={url:{type:String,required:!0,validator:a("unPreloadPage")}}},"33ed":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return u}));var i,r=n("4a59");function a(e){e.preventDefault()}function o(e){var t=e.scrollTop,n=e.selector,i=e.duration;if("undefined"===typeof t){var r=document.querySelector(n);if(r){var a=r.getBoundingClientRect(),o=a.top,s=a.height;t=o+window.pageYOffset,t-=s}}var u=document.documentElement,c=u.clientHeight,l=u.scrollHeight;t=Math.min(t,l-c),0!==i?window.scrollY!==t&&function e(n){if(n<=0)window.scrollTo(0,t);else{var i=t-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+i/n*10),e(n-10)}))}}(i):u.scrollTop=document.body.scrollTop=t}var s=0;function u(t,n){var a=n.enablePageScroll,o=n.enablePageReachBottom,u=n.onReachBottomDistance,c=n.enableTransparentTitleNView,l=!1,d=!1,f=!0;function h(){var e=document.documentElement.scrollHeight,t=window.innerHeight,n=window.scrollY,i=n>0&&e>t&&n+t+u>=e,r=Math.abs(e-s)>u;return!i||d&&!r?(!i&&d&&(d=!1),!1):(s=e,d=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===t){var s=window.pageYOffset;a&&Object(r["a"])("onPageScroll",{scrollTop:s},t),c&&e.emit("onPageScroll",{scrollTop:s}),o&&f&&(u()||(i=setTimeout(u,300))),l=!1}function u(){if(h())return Object(r["a"])("onReachBottom",{},t),f=!1,setTimeout((function(){f=!0}),350),!0}}return function(){clearTimeout(i),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},"34b2":function(e,t,n){"use strict";n.r(t),function(e){function i(){return window.location.protocol+"//"+window.location.host}function r(t,n){var r=t.src,a=e,o=a.invokeCallbackHandler,s=new Image,u=r;s.onload=function(){o(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===u.indexOf("/")?i()+u:u})},s.onerror=function(e){o(n,{errMsg:"getImageInfo:fail"})},s.src=r}n.d(t,"getImageInfo",(function(){return r}))}.call(this,n("0dd1"))},3563:function(e,t,n){"use strict";n.r(t);var i=n("f2b3"),r=n("bd97"),a=n("8af1");a["d"].addInteractListener();t["default"]=function(e){var t=e.count,n=e.sourceType,a=e.type,o=e.extension,s=document.createElement("input");return s.type="file",Object(i["w"])(s,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),s.accept=o.map((function(e){if("*"!==a){var t=e.replace(".","");return"".concat(a,"/").concat(r["default"][a][t]||t)}return function(){var e=window.navigator.userAgent.toLowerCase();return!(!e.match(/MicroMessenger/i)||"micromessenger"!==e.match(/MicroMessenger/i)[0])}()?".":0===e.indexOf(".")?e:".".concat(e)})).join(","),t>1&&(s.multiple="multiple"),1===n.length&&"camera"===n[0]&&(s.capture="camera"),s}},3569:function(e,t,n){},3648:function(e,t,n){"use strict";n.r(t),n.d(t,"canIUse",(function(){return s}));var i=n("f2b3");function r(e){return window.CSS&&CSS.supports&&(CSS.supports(e)||CSS.supports.apply(CSS,e.split(":")))}var a={"css.var":r("--a:0"),"css.env":r("top:env(a)"),"css.constant":r("top:constant(a)")},o=n("9fe4");function s(e){return Object(i["i"])(a,e)?a[e]:!!Object(i["i"])(o["a"],e)}},3676:function(e,t,n){"use strict";n.r(t),n.d(t,"getRecorderManager",(function(){return u}));var i=n("db70");function r(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:function(){};__uniConfig.darkmode&&e.on("api."+a["b"],t)}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};e.off("api."+a["b"],t)}function u(e){var t={};if(__uniConfig.darkmode){var n=Object(r["getTheme"])();t=Object(i["o"])(e,__uniConfig.themeConfig,n)}return __uniConfig.darkmode?t:e}}).call(this,n("0dd1"))},"3b51":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("636c");function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(r(this,e),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",a),s(this,"removeAMapText",c),s(this,"onAdd",t),s(this,"construct",t),s(this,"onRemove",n),s(this,"destroy",n),this.option=o||{},this.visible=this.alwaysVisible="ALWAYS"===o.display,i["c"])this.callback=u,this.parent=l,this.visible&&this.createAMapText();else{var d=o.map;this.position=o.position,this.index=1;var f=this.div=document.createElement("div"),h=f.style;h.position="absolute",h.whiteSpace="nowrap",h.transform="translateX(-50%) translateY(-100%)",h.zIndex="1",h.boxShadow=o.boxShadow||"none",h.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(o),f.appendChild(p),d&&this.setMap(d)}}return o(e,[{key:"onclick",set:function(e){this.div.onclick=e},get:function(){return this.div.onclick}}]),o(e,[{key:"setOption",value:function(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,i["c"]?this.visible&&this.createAMapText():(this.setPosition(e.position),this.setStyle(e))}},{key:"setStyle",value:function(e){var t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor="".concat(e.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(e){this.position=e,this.draw()}},{key:"draw",value:function(){var e=this.getProjection();if(this.position&&this.div&&e){var t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}}},{key:"changed",value:function(){var e=this.div.style;e.display=this.visible?"block":"none"}}]),e}();if(!i["c"]){var d=l.prototype,f=new(e.OverlayView||e.Overlay);for(var h in f)h in d||(d[h]=f[h])}return l}},"3b54":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"getFileInfo",(function(){return o}));var i=n("e2e2"),r=e,a=r.invokeCallbackHandler;function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.filePath,n=arguments.length>1?arguments[1]:void 0;Object(i["f"])(t).then((function(e){a(n,{errMsg:"getFileInfo:ok",size:e.size})})).catch((function(e){a(n,{errMsg:"getFileInfo:fail "+e.message})}))}}.call(this,n("0dd1"))},"3b67":function(e,t,n){"use strict";var i=Object.create(null),r=n("e3a7");r.keys().forEach((function(e){Object.assign(i,r(e))})),t["a"]=i},"3bfb":function(e,t,n){"use strict";n.r(t),n.d(t,"createAudioContext",(function(){return r})),n.d(t,"createVideoContext",(function(){return a})),n.d(t,"createMapContext",(function(){return o})),n.d(t,"createCanvasContext",(function(){return s}));var i=[{name:"id",type:String,required:!0}],r=i,a=i,o=i,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3d1f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("62b5"),r=n("a741");function a(e,t){t.getApp;var n=t.getCurrentPages;function a(e){return function(t,i){i=parseInt(i);var a=n(),o=a.find((function(e){return e.$page.id===i}));o&&Object(r["b"])(o,e,t)}}var o=Object(i["a"])("requestComponentInfo");var s=Object(i["a"])("requestComponentObserver");var u=Object(i["a"])("requestMediaQueryObserver");e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",(function(e){var t=e.reqId,n=e.res,i=o.pop(t);i&&i(n)})),e("onRequestComponentObserver",(function(e){var t=e.reqId,n=e.reqEnd,i=e.res,r=s.get(t);if(r){if(n)return void s.pop(t);r(i)}})),e("onRequestMediaQueryObserver",(function(e){var t=e.reqId,n=e.reqEnd,i=e.res,r=u.get(t);if(r){if(n)return void u.pop(t);r(i)}}))}},"3d64":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"onNetworkStatusChange",(function(){return s})),n.d(t,"offNetworkStatusChange",(function(){return u})),n.d(t,"getNetworkType",(function(){return c}));var i=e,r=i.invokeCallbackHandler,a=[];function o(){var e=c(),t=e.networkType;a.forEach((function(e){r(e,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==t,networkType:t})}))}function s(e){var t=navigator.connection||navigator.webkitConnection;a.push(e),t?t.addEventListener("change",o):(window.addEventListener("offline",o),window.addEventListener("online",o))}function u(e){if(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)}if(!a.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",o):(window.removeEventListener("offline",o),window.removeEventListener("online",o))}}function c(){var e=navigator.connection||navigator.webkitConnection,t="unknown";return e?(t=e.type,"cellular"===t&&e.effectiveType?t=e.effectiveType.replace("slow-",""):["none","wifi"].includes(t)||(t="unknown")):!1===navigator.onLine&&(t="none"),{errMsg:"getNetworkType:ok",networkType:t}}}.call(this,n("0dd1"))},"3da9":function(e,t,n){"use strict";var i=n("fdb1"),r=n.n(i);r.a},"3e8c":function(e,t,n){"use strict";n.r(t);var i=1e5,r={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(e){this.$emit("resize",Object.assign({},e))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},activated:function(){this.reset()},methods:{reset:function(){var e=this.$el.firstChild;e.scrollLeft=i,e.scrollTop=i;var t=this.$el.lastChild;t.scrollLeft=i,t.scrollTop=i},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},a=r,o=(n("64d0"),n("0c7c")),s=Object(o["a"])(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-resize-sensor",{on:{"~animationstart":function(t){return e.update(t)}}},[n("div",{on:{scroll:e.update}},[n("div")]),n("div",{on:{scroll:e.update}},[n("div")])])}),[],!1,null,null,null);t["default"]=s.exports},"3f15":function(e,t,n){"use strict";n.r(t),n.d(t,"getVideoInfo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(e,t){t.src=Object(i["a"])(e)}}}},"3f7e":function(e,t,n){"use strict";var i=n("a036"),r=n.n(i);r.a},"42f9":function(e,t,n){},"439a":function(e,t,n){"use strict";n.r(t),n.d(t,"downloadFile",(function(){return i}));var i={url:{type:String,required:!0},header:{type:Object,validator:function(e,t){t.header=e||{}}}}},"442e":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var i=n("5129"),r=n.n(i),a=n("85b6"),o=n("f2b3");function s(t){t.config.errorHandler=function(n,i,r){var s=Object(o["u"])(n);t.util.warn("Error in ".concat(r,': "').concat("Error"===s?n.toString():n,'"'),i);var u="function"===typeof getApp&&getApp();u&&Object(a["c"])(u.$options,"onError")?u.__call_hook("onError",n):e.error(n)};var n=t.config.isReservedTag;t.config.isReservedTag=function(e){return-1!==r.a.indexOf(e)||n(e)},t.config.ignoredElements=r.a;var i=t.config.getTagNamespace,s=["switch","image","text","view"];t.config.getTagNamespace=function(e){return!~s.indexOf(e)&&i(e)}}}).call(this,n("3ad9")["default"])},"44de":function(e,t,n){"use strict";n.r(t),n.d(t,"vibrateLong",(function(){return r})),n.d(t,"vibrateShort",(function(){return a}));var i=!!window.navigator.vibrate;function r(){return i&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function a(){return i&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(e,t,n){"use strict";(function(e){var i=n("636c"),r=n("cb0f");t["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e._maps=t._maps,e._map=t._map,e.addMarker(e.$props),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.updateMarker(e.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(e){var t=this,n=this._maps,r=this._map,a=this._marker=new n.Marker({map:r,flat:!0,autoRotation:!1});if(this.$parent._markers[this.idString]=a,this.updateMarker(e),i["c"]){a.dom.addEventListener("click",(function(e){t.handleAMapMarkerClick(e,a)}));var o={};a.dom.addEventListener("touchstart",(function(e){o=e.touches[0]})),a.dom.addEventListener("touchend",(function(e){var n=e.changedTouches[0];o.clientX===n.clientX&&o.clientY===n.clientY&&t.handleAMapMarkerClick(e,a)}))}else n.event.addListener(a,"click",(function(e){var n=a.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var i=n.div,r=i.parentNode;r.removeChild(i),r.appendChild(i)}var o=e.event||e.domEvent;if(t.idString){var s=t.getMarkerLatitudeLongitude(e),u=s.latitude,c=s.longitude;t.$parent.$trigger("markertap",o,{markerId:Number(t.idString),latitude:u,longitude:c})}o.stopPropagation()}))},updateMarker:function(t){var n=this,a=this._map,o=this._maps,s=this._marker,u=t.title,c=i["c"]?new o.LngLat(t.longitude,t.latitude):new o.LatLng(t.latitude,t.longitude),l=new Image;l.onload=function(){var e,r,d,f=t.anchor||{},h="number"===typeof f.x?f.x:.5,p="number"===typeof f.y?f.y:1;t.iconPath&&(t.width||t.height)?(r=t.width||l.width/l.height*t.height,d=t.height||l.height/l.width*t.width):(r=l.width/2,d=l.height/2);var g=d-(d-p*d);e="MarkerImage"in o?new o.MarkerImage(l.src,null,null,new o.Point(h*r,p*d),new o.Size(r,d)):"Icon"in o?new o.Icon({image:l.src,size:new o.Size(r,d),imageSize:new o.Size(r,d),imageOffset:new o.Pixel(h*r,p*d)}):{url:l.src,anchor:new o.Point(h,p),size:new o.Size(r,d)},s.setPosition(c),s.setIcon(e),"setRotation"in s&&s.setRotation(t.rotate||0);var v,m=t.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),m.content){var y={borderColor:m.borderColor,borderWidth:(Number(m.borderWidth)||0)+"px",padding:(Number(m.padding)||0)+"px",borderRadius:(Number(m.borderRadius)||0)+"px",backgroundColor:m.bgColor,color:m.color,fontSize:(m.fontSize||14)+"px",lineHeight:(m.fontSize||14)+"px",marginLeft:(Number(m.anchorX||m.x)||0)+"px",marginTop:(Number(m.anchorY||m.y)||0)+"px"};if("Label"in o)v=new o.Label({position:c,map:a,clickable:!1,content:m.content,style:y}),s.label=v;else if("setLabel"in s)if(i["c"]){var b='
\n ').concat(m.content,"\n
");s.setLabel({content:b,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,y);s.setLabel({text:m.content,color:y.color,fontSize:y.fontSize,className:_})}}var w,T=t.callout||{},S=s.callout;if(T.content||u){var k="0px 0px 3px 1px rgba(0,0,0,0.5)";if(w=T.content?{position:c,map:a,top:g,offsetY:-t.height/2,content:T.content,color:T.color,fontSize:T.fontSize,borderRadius:T.borderRadius,bgColor:T.bgColor,padding:T.padding,boxShadow:T.boxShadow||k,display:T.display}:{position:c,map:a,top:g,offsetY:-t.height/2,content:u,boxShadow:k},S)S.setOption(w);else if(i["c"]){S=s.callout=new o.Callout(w,(function(e,t){t.idString&&t.$parent.$trigger("callouttap",e,{markerId:Number(t.idString)})}),n)}else S=s.callout=new o.Callout(w),S.div.onclick=function(e){n.idString&&n.$parent.$trigger("callouttap",e,{markerId:Number(n.idString)}),e.stopPropagation(),e.preventDefault()},Object(i["e"])().type===i["d"].GOOGLE&&(S.div.onpointerdown=function(e){e.stopPropagation()},S.div.ontouchstart=function(e){e.stopPropagation()})}else S&&(n.removeMarkerCallout(s.callout),delete s.callout)},t.iconPath?l.src=Object(r["a"])(t.iconPath):e.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(e,t){var n=t.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?t.callout.createAMapText():t.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",e,{markerId:Number(this.idString),latitude:t._position.lat,longitude:t._position.lng}),e.stopPropagation()},updateMarkerLabelStyle:function(e,t){var n="uni-map-marker-label-"+e,i=document.getElementById(n);i||(i=document.createElement("style"),i.id=n,document.head.appendChild(i),this.$once("hook:destroyed",(function(){i.remove()})));var r=Object.assign({},t,{position:"absolute",top:"70px",borderStyle:"solid"}),a=document.createElement("div");return Object.keys(r).forEach((function(e){a.style[e]=r[e]||""})),i.innerText=".".concat(n,"{").concat(a.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(e){var t,n,r=Object(i["e"])();return i["c"]?(t=e.lnglat.lat,n=e.lnglat.lng):r.type===i["d"].QQ?(t=e.latLng.lat,n=e.latLng.lng):r.type===i["d"].GOOGLE&&(t=e.latLng.lat(),n=e.latLng.lng()),{latitude:t,longitude:n}},removeMarker:function(){var e=this._marker;e&&(e.label&&"setMap"in e.label&&e.label.setMap(null),e.callout&&this.removeMarkerCallout(e.callout),e.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(e){i["c"]?e.removeAMapText():e.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(e,t,n){"use strict";n.r(t),n.d(t,"removeTabBarBadge",(function(){return a})),n.d(t,"showTabBarRedDot",(function(){return o})),n.d(t,"hideTabBarRedDot",(function(){return s})),n.d(t,"onTabBarMidButtonTap",(function(){return c}));var i=n("db70"),r=n("a118");function a(e){var t=e.index;return Object(i["c"])("setTabBarBadge",{index:t,type:"none"})}function o(e){var t=e.index;return Object(i["c"])("setTabBarBadge",{index:t,type:"redDot"})}var s=a,u=[];function c(e){u.push(e)}Object(i["d"])("onTabBarMidButtonTap",(function(e){u.forEach((function(t){Object(r["a"])(t,e)}))}))},"45d2":function(e,t,n){"use strict";n.r(t),n.d(t,"upx2px",(function(){return s}));var i=!1,r=0,a=0;function o(e,t){return e=Number(e),isNaN(e)?t:e}function s(e,t){if(0===r&&function(){var e=uni.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,o=e.windowWidth;r=o,a=n,i="ios"===t}(),e=Number(e),0===e)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},s=o(n.rpxCalcMaxDeviceWidth,960),u=o(n.rpxCalcBaseDeviceWidth,375),c=o(n.rpxCalcIncludeWidth,750),l=t||r;l=e===c||l<=s?l:u;var d=e/750*l;return d<0&&(d=-d),d=Math.floor(d+1e-4),0===d&&(d=1!==a&&i?.5:1),e<0?-d:d}},"45db":function(e,t,n){"use strict";n.r(t),function(e){var i;function r(e){i=e}function a(){i&&e.emit(i+".stopPullDownRefresh",{},i);var t=getCurrentPages();return t.length&&(i=t[t.length-1].$page.id,e.emit(i+".startPullDownRefresh",{},i)),{}}function o(){if(i)e.emit(i+".stopPullDownRefresh",{},i),i=null;else{var t=getCurrentPages();t.length&&(i=t[t.length-1].$page.id,e.emit(i+".stopPullDownRefresh",{},i))}return{}}n.d(t,"setPullDownRefreshPageId",(function(){return r})),n.d(t,"startPullDownRefresh",(function(){return a})),n.d(t,"stopPullDownRefresh",(function(){return o}))}.call(this,n("0dd1"))},4814:function(e,t,n){},"4a59":function(e,t,n){"use strict";(function(e){function i(t,n,i){e.UniServiceJSBridge.subscribeHandler(t,n,i)}n.d(t,"a",(function(){return i}))}).call(this,n("c8ba"))},"4c39":function(e,t,n){"use strict";var i=n("cb0f"),r={props:{id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:Boolean,default:!1}},computed:{imgPath:function(){return Object(i["a"])(this.iconPath)},positionStyle:function(){var e="top:".concat(this.position.top||0,"px;left:").concat(this.position.left||0,"px;");return this.position.width&&(e+="width:".concat(this.position.width,"px;")),this.position.height&&(e+="height:".concat(this.position.height,"px;")),e}},methods:{handleClick:function(e){this.clickable&&this.$parent.$trigger("controltap",e,{controlId:this.id}),e.stopPropagation()}}},a=r,o=(n("a8b8"),n("0c7c")),s=Object(o["a"])(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"uni-map-control"},[n("img",{staticClass:"uni-map-control-icon",style:e.positionStyle,attrs:{src:e.imgPath},on:{click:e.handleClick}})])}),[],!1,null,null,null);t["a"]=s.exports},"4ca9":function(e,t,n){"use strict";n.r(t),function(e){var i=n("6389"),r=n.n(i),a=n("85b6"),o=n("abbf"),s=n("0784"),u=n("aa92"),c=n("02c9"),l=n("23e5"),d=n("f2b3");function f(e){var t=0;return e.forEach((function(e){e.meta.id&&t++})),t}function h(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":decodeURI(e.slice(t+1))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=decodeURI(window.location.pathname),n=window.location.search,i=window.location.hash;return"/"===e[e.length-1]&&t===e.substring(0,e.length-1)&&(t=e,window.history.replaceState({},"",e+n+i)),e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+n+i}t["default"]={install:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.routes;t.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(t.config.devtools=!1),Object(c["a"])(t),Object(u["a"])(t),Object(d["v"])(t),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var g=f(i),v=new r.a({id:g,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:i,scrollBehavior:function(e,t,n){if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){var i=Object(l["b"])(e.params.__id__);if(i)return i}return{x:0,y:0}}}),m=[],y=v.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):h());if(y.meta.name&&(y.meta.id?m.push(y.meta.name+"-"+y.meta.id):m.push(y.meta.name+"-"+(g+1))),y.meta&&y.meta.name&&(document.body.className="uni-body "+y.meta.name,y.meta.isNVue)){var b="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(b,"")}t.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:m}};var r=Object(o["a"])(t,i,y);Object.keys(r).forEach((function(e){n[e]=n[e]?[].concat(r[e],n[e]):[r[e]]})),n.router=v,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(t){e.error(t)}])}else if(Object(a["d"])(this)){var u=Object(s["a"])();Object.keys(u).forEach((function(e){n.mpOptions?n[e]=n[e]?[].concat(n[e],u[e]):[u[e]]:n[e]=n[e]?[].concat(u[e],n[e]):[u[e]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(t.prototype,"$page",{get:function(){return this.__page__}}),t.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},t.prototype.createIntersectionObserver=function(e){return uni.createIntersectionObserver(this,e)},t.prototype.createMediaQueryObserver=function(e){return uni.createMediaQueryObserver(this,e)},t.use(r.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(e,t,n){"use strict";n.r(t),t["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var e={},t=e.content={},n=e.triangle={},i=this.popover;function r(e){return Number(e)||0}if(this.isDesktop&&i){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var a=r(i.left),o=r(i.width),s=r(i.top),u=r(i.height),c=a+o/2;t.transform="none !important";var l=Math.max(0,c-150);t.left="".concat(l,"px");var d=Math.max(12,c-l);d=Math.min(288,d),n.left="".concat(d,"px");var f=this.popupHeight/2;s+u-f>f-s?(t.top="auto",t.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(t.top="".concat(s+u+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return e}},mounted:function(){var e=this,t=function(){var t=uni.getSystemInfoSync(),n=t.windowWidth,i=t.windowHeight,r=t.windowTop;e.popupWidth=n,e.popupHeight=i+r};window.addEventListener("resize",t),t(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",t)}))}}},"4da7":function(e,t,n){"use strict";n.r(t);var i=n("5092"),r=i["a"],a=(n("c8ed"),n("0c7c")),o=Object(a["a"])(r,void 0,void 0,!1,null,null,null);t["default"]=o.exports},"4e7c":function(e,t,n){"use strict";n.r(t),n.d(t,"getProvider",(function(){return r}));var i={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(e,t){if(e=(e||"").toUpperCase(),e&&Object.values(i).indexOf(e)<0)return"service error"}}}},"4f1c":function(e,t,n){"use strict";n.r(t);var i=n("8af1"),r={name:"Switch",mixins:[i["a"],i["f"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},data:function(){return{switchChecked:this.checked}},computed:{checkedColor:function(){return this.switchChecked&&this.color?{backgroundColor:this.color,borderColor:this.color}:{}}},watch:{checked:function(e){this.switchChecked=e}},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(e){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",e,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var e={};return""!==this.name&&(e.value=this.switchChecked,e.key=this.name),e}}},a=r,o=(n("a5ec"),n("0c7c")),s=Object(o["a"])(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-switch",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===e.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[e.switchChecked?"uni-switch-input-checked":""],style:e.checkedColor}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===e.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[e.switchChecked?"uni-checkbox-input-checked":""],style:{color:e.color}})])])}),[],!1,null,null,null);t["default"]=s.exports},"4f43":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"downloadFile",(function(){return s}));var i=n("e2e2");function r(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function s(t,n){var r,a=t.url,s=t.header,u=t.timeout,c=void 0===u?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:u,l=e,d=l.invokeCallbackHandler,f=new XMLHttpRequest,h=new o(f);return f.open("GET",a,!0),Object.keys(s).forEach((function(e){f.setRequestHeader(e,s[e])})),f.responseType="blob",f.onload=function(){clearTimeout(r);var e,t=f.status,o=this.response,s=f.getResponseHeader("content-disposition");if(s){var u=s.match(/filename="?(\S+)"?\b/);u&&(e=u[1])}o.name=e||Object(i["c"])(a),d(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(i["b"])(o)})},f.onabort=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail abort"})},f.onerror=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail"})},f.onprogress=function(e){h._callbacks.forEach((function(t){var n=e.loaded,i=e.total,r=Math.round(n/i*100);t({progress:r,totalBytesWritten:n,totalBytesExpectedToWrite:i})}))},f.send(),r=setTimeout((function(){f.onprogress=f.onload=f.onabort=f.onerror=null,h.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),c),h}}.call(this,n("0dd1"))},"4f53":function(e,t,n){"use strict";n.r(t),n.d(t,"saveImageToPhotosAlbum",(function(){return r}));var i=n("cb0f"),r={filePath:{type:String,required:!0,validator:function(e,t){t.filePath=Object(i["a"])(e)}}}},"4fef":function(e,t,n){"use strict";var i=n("23ab"),r=n.n(i);r.a},"501c":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return p})),n.d(t,"off",(function(){return g})),n.d(t,"once",(function(){return v})),n.d(t,"emit",(function(){return m})),n.d(t,"subscribe",(function(){return y})),n.d(t,"unsubscribe",(function(){return b})),n.d(t,"subscribeHandler",(function(){return _})),n.d(t,"publishHandler",(function(){return f["a"]}));var i=n("8bbf"),r=n.n(i);var a=n("6bdf"),o=n("5dc1"),s=n("1c73"),u={setPageMeta:function(e){var t=e.pageStyle,n=e.rootFontSize,i=document.querySelector("uni-page-body")||document.body;i.setAttribute("style",t),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)},requestComponentInfo:a["a"],requestComponentObserver:o["b"],destroyComponentObserver:o["a"],requestMediaQueryObserver:s["b"],destroyMediaQueryObserver:s["a"]},c=n("33ed"),l=n("7107"),d=n("764a");var f=n("4a59"),h=new r.a,p=h.$on.bind(h),g=h.$off.bind(h),v=h.$once.bind(h),m=h.$emit.bind(h);function y(e,t){return p("service."+e,t)}function b(e,t){return g("service."+e,t)}function _(e,t,n){m("service."+e,t,n)}(function(e){Object.keys(u).forEach((function(t){e(t,u[t])})),e("pageScrollTo",c["c"]),e("loadFontFace",l["a"]),Object(d["a"])(e)})(y)},5092:function(e,t,n){"use strict";(function(e){var n={ensp:" ",emsp:" ",nbsp:" "};t["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(e){return this.space&&n[this.space]&&(e=e.replace(/ /g,n[this.space])),this.decode&&(e=e.replace(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),e}},render:function(t){var n=this,i=[];return this.$slots.default&&this.$slots.default.forEach((function(r){if(r.text){var a=r.text.replace(/\\n/g,"\n"),o=a.split("\n");o.forEach((function(e,r){i.push(n._decodeHtml(e)),r!==o.length-1&&i.push(t("br"))}))}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&e.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),i.push(r)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},i)])}}}).call(this,n("3ad9")["default"])},5129:function(e,t){e.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"]},5243:function(e,t,n){"use strict";n.r(t),n.d(t,"compressVideo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(e,t){t.src=Object(i["a"])(e)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(e,t,n){"use strict";function i(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}n.d(t,"a",(function(){return i})),i.prototype.set=function(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.prototype.x=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog},i.prototype.dx=function(e){var t;return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e),this._dt=e,this._v*t},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)},i.prototype.configuration=function(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}},5408:function(e,t,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(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="5408"},"54f4":function(e,t,n){"use strict";function i(){var e=document.activeElement;!e||"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||e.blur()}n.r(t),n.d(t,"hideKeyboard",(function(){return i}))},5513:function(e,t,n){"use strict";n.r(t);var i=n("ba15"),r=n("f2b3");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;tthis.displayMultipleItemsNumber},circularEnabled:function(){return this.circular&&this.swiperEnabled}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(e){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(e){this._currentCheck()},currentSync:function(e,t){this._currentChanged(e,t),this.$emit("update:current",e),this._setNavigationState()},currentItemId:function(e){this._currentCheck()},currentItemIdSync:function(e){this.$emit("update:currentItemId",e)},displayMultipleItemsNumber:function(){this._resetLayout()},navigation:{immediate:!0,handler:function(e){this.isNavigationAuto="auto"===e,this.hideNavigation=!0!==e||this.isNavigationAuto,this._navigationSwiperAddMouseEvent()}},items:function(){this._setNavigationState()},swiperEnabled:function(e){e||(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 e=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return e.autoplay&&!e.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(e){e?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var e=-1;if(this.currentItemId)for(var t=0,n=this.items;tr/2?1:0)}var a=this.items[e];a&&this._itemReady(a,(function(){var e=n.currentItemIdSync=a.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:e,source:i})}))},_scheduleAutoplay:function(){var e=this;this._cancelSchedule(),!this._isMounted||this._invalid||this.items.length<=this.displayMultipleItemsNumber||(this._timer=setTimeout((function t(){e._timer=null,e.currentChangeSource="autoplay",e.circularEnabled?e.currentSync=e._normalizeCurrentValue(e.currentSync+1):e.currentSync=e.currentSync+e.displayMultipleItemsNumbert-this.displayMultipleItemsNumber)return t-this.displayMultipleItemsNumber;return n},_upx2px:function(e){return/\d+[ur]px$/i.test(e)&&e.replace(/\d+[ur]px$/i,(function(e){return"".concat(uni.upx2px(parseFloat(e)),"px")})),e||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var e=this.items,t=0;t0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var r=this._viewportPosition;this._viewportPosition=-2;var a=this.currentSync;a>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(r+a-this._contentTrackViewport),this._contentTrackViewport=a):(this._updateViewport(a),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(e){if(!this._invalid)for(var t=this.items,n=t.length,i=e+this.displayMultipleItemsNumber,r=0;r=this.items.length&&(e-=this.items.length),e=this._transitionStart%1>.5||this._transitionStart<0?e-1:e,this.$trigger("transition",{},{dx:this.vertical?0:e*r.offsetWidth,dy:this.vertical?e*r.offsetHeight:0})},_animateFrameFuncProto:function(){var e=this;if(this._animating){var t=this._animating,n=t.toPos,i=t.acc,r=t.endTime,a=t.source,o=r-Date.now();if(o<=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 t=s.componentInstance.itemId||"";e.$trigger("animationfinish",{},{current:e.currentSync,currentItemId:t,source:a})}))}else{var u=i*o*o/2,c=n+u;this._updateViewport(c),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(e,t,n){this._cancelViewportAnimation();var i=this.durationNumber,r=this.items.length,a=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;ae;)a-=r}else if(n>0){for(;a>e;)a-=r;for(;a+re;)a-=r;a+r-er)&&(i<0?i=-a(-i):i>r&&(i=r+a(i-r)),t._contentTrackSpeed=0),t._updateViewport(i)}var s=this._contentTrackT-n||1;this.vertical?o(-e.dy/this.$refs.slideFrame.offsetHeight,-e.ddy/s):o(-e.dx/this.$refs.slideFrame.offsetWidth,-e.ddx/s)},_handleTrackEnd:function(e){this.userTracking=!1;var t=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!e&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*t);var i=this._normalizeCurrentValue(this._viewportPosition+n);e?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(e){if(!this.disableTouch&&this.items.length&&!this._invalid){if("start"===e.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===e.detail.state)return this._handleTrackEnd(!1);if("cancel"===e.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var t=Math.abs(e.detail.dx),n=Math.abs(e.detail.dy);if((t>=n&&this.vertical||t<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(e.detail),!1}}},_onSwiperDotClick:function(e){this._animateViewport(this.currentSync=e,this.currentChangeSource="click",this.circularEnabled?1:0)},_navigationClick:function(e,t,n){if(e.stopPropagation(),!n){var i=this.items.length,r=this.currentSync;switch(t){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(e){var t=this;clearTimeout(this.hideNavigationTimer);var n,i=e.clientX,r=e.clientY,a=this.$refs.slidesWrapper.getBoundingClientRect(),o=a.left,s=a.right,u=a.top,c=a.bottom,l=a.width,d=a.height;n=this.vertical?!(r-u=e}},render:function(e){var t=this,n=[],i=[];this.$slots.default&&Object(r["f"])(this.$slots.default,e).forEach((function(e){e.componentOptions&&"v-uni-swiper-item"===e.componentOptions.tag&&i.push(e)}));for(var a=function(i,r){var a=t.currentSync;n.push(e("div",{on:{click:function(){return t._onSwiperDotClick(i)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":i=a||i=4&&(t.text="...")}}}},5676:function(e,t,n){"use strict";var i=n("303a"),r=n.n(i);r.a},"56e9":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"showModal",(function(){return o})),n.d(t,"showToast",(function(){return s})),n.d(t,"hideToast",(function(){return u})),n.d(t,"showLoading",(function(){return c})),n.d(t,"hideLoading",(function(){return l})),n.d(t,"showActionSheet",(function(){return d}));var i=e,r=i.emit,a=i.invokeCallbackHandler;function o(e,t){r("onShowModal",e,(function(e){a(t,e)}))}function s(e){return r("onShowToast",e),{}}function u(){return r("onHideToast"),{}}function c(e){return r("onShowLoading",e),{}}function l(){return r("onHideLoading"),{}}function d(e,t){r("onShowActionSheet",e,(function(e){a(t,-1===e?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:e})}))}}.call(this,n("0dd1"))},5727:function(e,t,n){"use strict";var i=n("6cdd"),r=n.n(i);r.a},5768:function(e,t,n){"use strict";n.r(t);var i=n("8af1"),r="(prefers-color-scheme: dark)",a=["done","go","next","search","send"],o=["none","text","decimal","numeric","tel","search","email","url"],s={name:"Textarea",mixins:[i["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(e){return a.concat("return").includes(e)}},inputmode:{type:String,default:void 0,validator:function(e){return!!~o.indexOf(e)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(r).media!==r}},computed:{maxlengthNumber:function(){var e=Number(this.maxlength);return isNaN(e)?140:e},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return a.includes(this.confirmType)}},watch:{focus:function(e){e&&(this.focusChangeSource="focus")},height:function(e){var t=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(t)&&(t=this.$refs.line.offsetHeight);var n=Math.round(e/t);this.$trigger("linechange",{},{height:e,heightRpx:750/window.innerWidth*e,lineCount:n}),this.autoHeight&&(this.$el.style.height="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var e=this;while(e){var t=e.$options._scopeId;t&&this.$refs.placeholder.setAttribute(t,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(e){this.isDone&&e.preventDefault()},_onKeyUpEnter:function(e){this.isDone&&(this._confirm(e),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(e){switch(e.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(e));break}!this.ignoreCompositionEvent&&this.$trigger(e.type,e,{data:e.data})},_confirm:function(e){this.$trigger("confirm",e,{value:this.valueSync})},_linechange:function(e){this.$trigger("linechange",e,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(e){var t=e.height;this.height=t},_onInput:function(e,t){this.composing&&this.ignoreCompositionEvent?this.valueComposition=e.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(e,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},t))},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},u=s,c=(n("9400"),n("0c7c")),l=Object(c["a"])(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-textarea",e._g({},e.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(e.composing||e.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:e.placeholderClass,style:e.placeholderStyle,domProps:{textContent:e._s(e.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:e._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[e._l(e.valueCompute,(function(t,i){return n("div",{key:i,domProps:{textContent:e._s(t.trim()?t:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:e._resize}})],2),e.disabled&&e.fixColor?e._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{disabled:e.disabled,maxlength:e.maxlengthNumber,enterkeyhint:e.confirmType,inputmode:e.inputmode},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},compositionstart:function(t){return t.stopPropagation(),e._onComposition(t)},compositionend:function(t){return t.stopPropagation(),e._onComposition(t)},compositionupdate:function(t){return t.stopPropagation(),e._onComposition(t)},input:[function(t){t.target.composing||(e.valueSync=t.target.value)},function(t){return t.stopPropagation(),e._onInput(t)}],focus:e._onFocus,blur:e._onBlur,"&touchstart":function(t){return e._onTouchstart(t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyUpEnter(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e._onKeyDownEnter(t)}}}),e._v(" "),e.disabled&&e.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":e.fixMargin},style:{"overflow-y":e.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:e.disabled,maxlength:e.maxlengthNumber},domProps:{value:e.valueSync},on:{focus:function(e){return e.target.blur()}}}):e._e()])])}),[],!1,null,null,null);t["default"]=l.exports},"57a7":function(e,t,n){"use strict";n.r(t),n.d(t,"createInnerAudioContext",(function(){return l}));var i=n("db70");function r(e,t){for(var n=0;n=0&&n.splice(i,1)}})),Object(i["d"])("onAudioStateChange",(function(e){var t=e.state,n=e.audioId,i=e.errMsg,r=e.errCode,a=c[n];if(a)if(u(a,t,i,r),"play"===t){var o=a.currentTime;u(a,"timeupdate"),a.__timing=setInterval((function(){var e=a.currentTime;e!==o&&u(a,"timeupdate")}),200)}else"pause"!==t&&"stop"!==t&&"error"!==t||clearInterval(a.__timing)}));var c=Object.create(null);function l(){var e=Object(i["c"])("createAudioInstance"),t=e.audioId,n=new s(t);return c[t]=n,n}},"594d":function(e,t,n){"use strict";n.r(t);var i=n("2318"),r=i["a"],a=(n("3f7e"),n("0c7c")),o=Object(a["a"])(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-map",e._g({ref:"mapContainer",attrs:{id:e.id}},e.$listeners),[e._l(e.markers,(function(t){return n("map-marker",e._b({key:t.id},"map-marker",t,!1))})),e._l(e.controls,(function(t,i){return n("map-control",e._b({key:t.id||i},"map-control",t,!1))})),e._l(e.polygons,(function(t){return n("map-polygon",e._b({key:JSON.stringify(t.points)},"map-polygon",t,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(e){e.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[e._t("default")],2)],2)}),[],!1,null,null,null);t["default"]=o.exports},5964:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"setNavigationBarColor",(function(){return a})),n.d(t,"showNavigationBarLoading",(function(){return o})),n.d(t,"hideNavigationBarLoading",(function(){return s})),n.d(t,"setNavigationBarTitle",(function(){return u}));var i=n("79d5");function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object(i["getPageHolder"])(n.__page__);if(r)switch(t){case"setNavigationBarColor":var a=n.frontColor,o=n.backgroundColor,s=n.animation,u=s.duration,c=s.timingFunc;a&&(r.navigationBar.textColor="#000000"===a?"black":"white"),o&&(r.navigationBar.backgroundColor=o),e.emit("onNavigationBarChange",{textColor:"#000000"===a?"#000":"#fff",backgroundColor:r.navigationBar.backgroundColor}),r.navigationBar.duration=u+"ms",r.navigationBar.timingFunc=c;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var l=n.title;r.navigationBar.titleText=l,Object(i["isCurrentPage"])(r)&&(document.title=l),e.emit("onNavigationBarChange",{titleText:l});break}return{}}function a(e){return r("setNavigationBarColor",e)}function o(e){return r("showNavigationBarLoading",e)}function s(e){return r("hideNavigationBarLoading",e)}function u(e){return r("setNavigationBarTitle",e)}}.call(this,n("0dd1"))},"59dc":function(e,t,n){},"5a23":function(e,t,n){"use strict";n("f2b3");var i=n("5cf8");function r(){}t["a"]={name:"Keyboard",mixins:[i["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(e,t,n){n.context.initKeyboard(e)}}},methods:{initKeyboard:function(e){var t=this;e.addEventListener("focus",(function(){clearTimeout(void 0),document.addEventListener("click",r,!1)}));e.addEventListener("blur",(function(){t.isApple&&e.blur(),function(){document.removeEventListener("click",r,!1),t.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}()}))}}}},"5a56":function(e,t,n){"use strict";n.r(t),t["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(e,t,n){"use strict";var i=n("907b"),r=n.n(i);r.a},"5abe":function(e,t){(function(){"use strict";if("object"===("undefined"===typeof window?"undefined":i(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 e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){var t=this._observationTargets.some((function(t){return t.element==e}));if(!t){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},r.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():l();this._observationTargets.forEach((function(i){var r=i.element,o=c(r),s=this._rootContainsTarget(r),u=i.entry,l=e&&s&&this._computeTargetAndRootIntersection(r,t),d=i.entry=new n({time:a(),target:r,boundingClientRect:o,rootBounds:t,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){var i=c(t),r=i,a=f(t),o=!1;while(!o){var s=null,l=1==a.nodeType?window.getComputedStyle(a):{};if("none"==l.display)return;if(a==this.root||a==e?(o=!0,s=n):a!=e.body&&a!=e.documentElement&&"visible"!=l.overflow&&(s=c(a)),s&&(r=u(s,r),!r))break;a=f(a)}return r}},r.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,i=e.body;t={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(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;r=0&&s>=0&&{top:n,bottom:i,left:r,right:a,width:o,height:s}}function c(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e,t){var n=t;while(n){if(n==e)return!0;n=f(n)}return!1}function f(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}})()},"5b4c":function(e,t,n){},"5b9f":function(e,t,n){"use strict";var i=n("f2b3"),r=n("636c");t["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var e=this,t=this.$parent;t.mapReady((function(){e.drawPolygon(),Object.keys(e.$props).forEach((function(t){e.$watch(t,(function(){e.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var e=this.points,t=this.strokeWidth,n=this.strokeColor,a=this.dashArray,o=this.fillColor,s=this.zIndex,u=this.$parent,c=u._maps,l=u._map,d=e.map((function(e){var t=e.latitude,n=e.longitude;return r["c"]?[n,t]:new c.LatLng(t,n)})),f=Object(i["j"])(o),h=f.r,p=f.g,g=f.b,v=f.a,m=Object(i["j"])(n),y=m.r,b=m.g,_=m.b,w=m.a,T={clickable:!0,cursor:"crosshair",editable:!1,map:l,fillColor:"",path:d,strokeColor:"",strokeDashStyle:a.some((function(e){return e>0}))?"dash":"solid",strokeWeight:t,visible:!0,zIndex:s};c.Color?(T.fillColor=new c.Color(h,p,g,v),T.strokeColor=new c.Color(y,b,_,w)):(T.fillColor="rgb(".concat(h,", ").concat(p,", ").concat(g,")"),T.fillOpacity=v,T.strokeColor="rgb(".concat(y,", ").concat(b,", ").concat(_,")"),T.strokeOpacity=w),this.polygonIns?this.polygonIns.setOptions(T):this.polygonIns=new c.Polygon(T)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5bb5":function(e,t,n){},"5bc8":function(e,t,n){"use strict";(function(e,i){var r=n("f2b3"),a=n("65a8"),o=n("81ea"),s=n("f1ea"),u=n("bdbe");t["a"]={name:"App",components:o["a"],mixins:s["default"],props:{keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{transitionName:"fade",hideTabBar:!1,sysComponents:this.$sysComponents,showLayout:!1,showMaxWidth:!1,tabBarMediaQuery:!1}},computed:{key:function(){return this.$route.meta.name+"-"+this.$route.params.__id__+"-"+(__uniConfig.reLaunch||1)},tabBarOptions:function(){return u["a"]},hasTabBar:function(){return u["a"].list&&u["a"].list.length},showTabBar:function(){return!this.hideTabBar&&(this.$route.meta.isTabBar||this.tabBarMediaQuery)}},watch:{$route:function(t,n){e.emit("onHidePopup")},hideTabBar:function(e,t){if(uni.canIUse("css.var")){var n=e?0:a["d"],r=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",o=n&&r?"calc(".concat(n,"px + ").concat(r,"(safe-area-inset-bottom))"):"".concat(n,"px");document.documentElement.style.setProperty("--window-bottom",o),i.debug("uni.".concat(o?"showTabBar":"hideTabBar",":--window-bottom=").concat(o))}window.dispatchEvent(new CustomEvent("resize"))}},created:function(){uni.canIUse("css.var")&&document.documentElement.style.setProperty("--status-bar-height","0px"),this.initMediaQuery()},mounted:function(){window.addEventListener("message",(function(t){Object(r["l"])(t.data)&&"WEB_INVOKE_APPSERVICE"===t.data.type&&e.emit("onWebInvokeAppService",t.data.data,t.data.pageId)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?e.emit("onAppEnterForeground",{}):e.emit("onAppEnterBackground")})),function(){var t=null;try{t=window.matchMedia("(prefers-color-scheme: dark)")}catch(n){}t&&t.addEventListener("change",(function(t){e.emit("api."+a["b"],{theme:t.matches?"dark":"light"})}))}()},methods:{onLayout:function(e){this.showLayout=e},onMaxWidth:function(e){this.showMaxWidth=e},initMediaQuery:function(){var e=this;if(window.matchMedia&&u["a"].matchMedia&&Object(r["i"])(u["a"].matchMedia,"minWidth")){var t=window.matchMedia("(min-width: "+u["a"].matchMedia.minWidth+"px)");t.addListener((function(t){e.tabBarMediaQuery=t.matches})),this.tabBarMediaQuery=t.matches}}}}}).call(this,n("0dd1"),n("3ad9")["default"])},"5bf9":function(e,t,n){},"5c85":function(e,t,n){},"5cf8":function(e,t,n){"use strict";function i(e,t){for(var n=this.$children,r=n.length,a=arguments.length,o=new Array(a>2?a-2:0),s=2;s2?r-2:0),o=2;o2?n-2:0),a=2;a=0&&o.splice(t,1)}else o=[]}function p(e){s.push(e)}function g(e){if(e){var t=s.indexOf(e);t>=0&&s.splice(t,1)}else s=[]}}.call(this,n("0dd1"))},"5dc1":function(e,t,n){"use strict";(function(e,i){n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n("5abe");var r=n("85b6"),a=n("db8e");function o(e){return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function s(e){var t=e.intersectionRatio,n=e.boundingClientRect,i=n.height,r=n.width,a=e.intersectionRect,o=a.height,s=a.width;return 0!==t?t:o===i?s/r:o/i}var u={};function c(t,n){var c,l=t.reqId,d=t.component,f=t.options;if(n._isVue)c=n;else{var h=getCurrentPages(),p=h.find((function(e){return e.$page.id===n}));if(!p)throw new Error("Not Found:Page[".concat(n,"]"));c=p.$vm}var g=Object(a["b"])(d,c),v=f.relativeToSelector?g.querySelector(f.relativeToSelector):null,m=u[l]=new IntersectionObserver((function(t,n){t.forEach((function(t){e.publishHandler("onRequestComponentObserver",{reqId:l,res:{intersectionRatio:s(t),intersectionRect:o(t.intersectionRect),boundingClientRect:o(t.boundingClientRect),relativeRect:o(t.rootBounds),time:Date.now(),dataset:Object(r["b"])(t.target),id:t.target.id}})}))}),{root:v,rootMargin:f.rootMargin,threshold:f.thresholds});if(f.observeAll)m.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(g.querySelectorAll(f.selector),(function(e){e?m.observe(e):i.warn("Node ".concat(f.selector," is not found. Intersection observer will not trigger."))}));else{m.USE_MUTATION_OBSERVER=!1;var y=g.querySelector(f.selector);if(!y)return void i.warn("Node ".concat(f.selector," is not found. Intersection observer will not trigger."));m.observe(y)}}function l(t){var n=t.reqId,i=u[n];i&&(i.disconnect(),delete u[n],e.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"),n("3ad9")["default"])},"5f8d":function(e,t,n){},"5ff9":function(e,t,n){"use strict";n.r(t),n.d(t,"loadFontFace",(function(){return i}));var i={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}}},6062:function(e,t,n){"use strict";var i=n("3569"),r=n.n(i);r.a},"60db":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"EditorContext",(function(){return o}));var i=n("f2b3");function r(e,t){for(var n=0;n should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"6e0c":function(e,t,n){"use strict";n.r(t),n.d(t,"$on",(function(){return s})),n.d(t,"$off",(function(){return u})),n.d(t,"$once",(function(){return c})),n.d(t,"$emit",(function(){return l}));var i=n("8bbf"),r=n.n(i),a=new r.a;function o(e,t,n){return e[t].apply(e,n)}function s(){return o(a,"$on",Array.prototype.slice.call(arguments))}function u(){return o(a,"$off",Array.prototype.slice.call(arguments))}function c(){return o(a,"$once",Array.prototype.slice.call(arguments))}function l(){return o(a,"$emit",Array.prototype.slice.call(arguments))}},"6fa7":function(e,t,n){"use strict";n.r(t);var r=n("8af1"),a=n("f2b3"),o=n("4ccd"),s=n("da71"),u=n("a6b0");function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?g.PICKER:g.SELECT},system:function(){if(this.mode===h.DATE&&!Object.values(p).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(e){var t=this;e?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=e,this._select()):this.__contentVisibleDelay=setTimeout((function(){t.contentVisible=e}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(e){var t=this;if(this.mode===h.TIME||this.mode===h.DATE){var n=this.mode===h.TIME?this._getTimeValue:this._getDateValue,i=this.valueArray,r=this.startArray,a=this.endArray;if(this.mode===h.DATE){var o=this.dateArray,s=o[2].length,u=Number(o[2][i[2]])||1,c=new Date("".concat(o[0][i[0]],"/").concat(o[1][i[1]],"/").concat(u)).getDate();cn(a)&&this._cloneArray(i,a)}e.forEach((function(e,n){e!==t.oldValueArray[n]&&(t.oldValueArray[n]=e,t.mode===h.MULTISELECTOR&&t.$trigger("columnchange",{},{column:n,value:e}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(e){var t=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var i=e.currentTarget.getBoundingClientRect();this.popover={top:i.top,left:i.left,width:i.width,height:i.height},setTimeout((function(){t.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case h.SELECTOR:this.valueSync=0;break;case h.MULTISELECTOR:this.valueSync=this.value.map((function(e){return 0}));break;case h.DATE:case h.TIME:this.valueSync="";break;default:break}},_createTime:function(){var e=[],t=[];e.splice(0,e.length);for(var n=0;n<24;n++)e.push((n<10?"0":"")+n);t.splice(0,t.length);for(var i=0;i<60;i++)t.push((i<10?"0":"")+i);this.timeArray.push(e,t)},_createDate:function(){for(var e=[],t=function(e){var t=(new Date).getFullYear(),n=t-150,i=t+150;if(e.start){var r=new Date(e.start).getFullYear();!isNaN(r)&&ri&&(i=a)}return{start:n,end:i}}(this),n=t.start,i=t.end;n<=i;n++)e.push(String(n));for(var r=[],a=1;a<=12;a++)r.push((a<10?"0":"")+a);for(var o=[],s=1;s<=31;s++)o.push((s<10?"0":"")+s);this.dateArray.push(e,r,o)},_getTimeValue:function(e){return 60*e[0]+e[1]},_getDateValue:function(e){return 31*e[0]*12+31*(e[1]||0)+(e[2]||0)},_cloneArray:function(e,t){for(var n=0;no?0:a)}break;case h.TIME:case h.DATE:this.valueSync=String(e);break;default:var s=Number(e);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var e,t=this.valueSync;switch(this.mode){case h.MULTISELECTOR:e=c(t);break;case h.TIME:e=this._getDateValueArray(t,Object(a["g"])({mode:h.TIME}));break;case h.DATE:e=this._getDateValueArray(t,Object(a["g"])({mode:h.DATE}));break;default:e=[t];break}this.oldValueArray=c(e),this.valueArray=c(e)},_getValue:function(){var e=this,t=this.valueArray;switch(this.mode){case h.SELECTOR:return t[0];case h.MULTISELECTOR:return t.map((function(e){return e}));case h.TIME:return this.valueArray.map((function(t,n){return e.timeArray[n][t]})).join(":");case h.DATE:return this.valueArray.map((function(t,n){return e.dateArray[n][t]})).join("-")}},_getDateValueArray:function(e,t){var n,i=this.mode===h.DATE?"-":":",r=this.mode===h.DATE?this.dateArray:this.timeArray;if(this.mode===h.TIME)n=2;else switch(this.fields){case p.YEAR:n=1;break;case p.MONTH:n=2;break;default:n=3;break}for(var a=String(e).split(i),o=[],s=0;s=0&&(o=t?this._getDateValueArray(t):o.map((function(){return 0}))),o},_change:function(){this._close(),this.valueChangeSource="click";var e=this._getValue();this.valueSync=Array.isArray(e)?e.map((function(e){return e})):e,this.$trigger("change",{},{value:e})},_cancel:function(e){if("firefox"===this.system){var t=this.popover,n=t.top,i=t.left,r=t.width,a=t.height,o=e.pageX,s=e.pageY;if(o>i&&on&&s=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(e,t,n){"use strict";n.r(t);var i=n("d977"),r=i["a"],a=(n("6730"),n("0c7c")),o=Object(a["a"])(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-label",e._g({class:{"uni-label-pointer":e.pointer},on:{click:e._onClick}},e.$listeners),[e._t("default")],2)}),[],!1,null,null,null);t["default"]=o.exports},7107:function(e,t,n){"use strict";(function(e){function i(t){var n=t.options,i=t.callbackId,r=n.family,a=n.source,o=n.desc,s=void 0===o?{}:o,u=document.fonts;if(u){var c=new FontFace(r,a,s);c.load().then((function(){u.add(c),e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})})).catch((function(t){e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:fail ".concat(t)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(r,'";src:').concat(a,";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),e.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})}}n.d(t,"a",(function(){return i}))}).call(this,n("501c"))},"72b3":function(e,t,n){"use strict";function i(e,t,n){return e>t-n&&e0){var c=(-n-Math.sqrt(a))/(2*i),l=(-n+Math.sqrt(a))/(2*i),d=(t-c*e)/(l-c),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,c*e)),n||(n=this._powER2T=Math.pow(Math.E,l*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,c*e)),n||(n=this._powER2T=Math.pow(Math.E,l*e)),f*c*t+d*l*n}}}var h=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),i=Math.sin(h*e);return t*(v*h*n-g*h*i)+p*t*(v*i+g*n)}}},a.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},a.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},a.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!r(t,.4)){t=t||0;var i=this._endPosition;this._solution&&(r(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),r(t,.4)&&(t=0),r(i,.4)&&(i=0),i+=this._endPosition),this._solution&&r(i-e,.4)&&r(t,.4)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},a.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},a.prototype.done=function(e){return e||(e=(new Date).getTime()),i(this.x(),this._endPosition,.4)&&r(this.dx(),.4)},a.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},a.prototype.springConstant=function(){return this._k},a.prototype.damping=function(){return this._c},a.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}},"73a6":function(e,t,n){"use strict";(function(e){var i=n("8aec"),r=n("f2b3"),a=n("d4cd"),o=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return!!r["s"]&&{passive:e}},s=o();t["a"]={name:"ScrollView",mixins:[i["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}},computed:{upperThresholdNumber:function(){var e=Number(this.upperThreshold);return isNaN(e)?50:e},lowerThresholdNumber:function(){var e=Number(this.lowerThreshold);return isNaN(e)?50:e},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(e){this._scrollTopChanged(e)},scrollLeftNumber:function(e){this._scrollLeftChanged(e)},scrollIntoView:function(e){this._scrollIntoViewChanged(e)},refresherTriggered:function(e){!0===e?this._setRefreshState("refreshing"):!1===e&&this._setRefreshState("restore")}},mounted:function(){var e=this,t=null,n=null;this._attached=!0,this.toUpperNumber=0,this.triggerAbort=!1,this.beforeRefreshing=!1,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(t){t.preventDefault(),t.stopPropagation(),e._handleScroll.bind(e,t)()},this.__handleTouchMove=function(i){if(null!==t){var r=i.touches[0].pageX,a=i.touches[0].pageY,o=e.$refs.main;if(Math.abs(r-t.x)>Math.abs(a-t.y))if(e.scrollX){if(0===o.scrollLeft&&r>t.x)return void(n=!1);if(o.scrollWidth===o.offsetWidth+o.scrollLeft&&rt.y)n=!1,e.refresherEnabled&&!1!==i.cancelable&&i.preventDefault();else{if(o.scrollHeight===o.offsetHeight+o.scrollTop&&a0&&(e.triggerAbort=!0,e.$trigger("refresherpulling",i,{deltaY:s})));var u=e.refresherHeight/e.refresherThreshold;e.refreshRotate=360*(u>1?1:u)}}},this.__handleTouchStart=function(e){1===e.touches.length&&(Object(a["a"])({disable:!0}),t={x:e.touches[0].pageX,y:e.touches[0].pageY})},this.__handleTouchEnd=function(n){t=null,Object(a["a"])({disable:!1}),e.refresherHeight>=e.refresherThreshold?e._setRefreshState("refreshing"):e._setRefreshState("refresherabort")},this.$refs.main.addEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.addEventListener("touchmove",this.__handleTouchMove,o(!1)),this.$refs.main.addEventListener("scroll",this.__handleScroll,o(!1)),this.$refs.main.addEventListener("touchend",this.__handleTouchEnd,s),Object(a["b"])()},activated:function(){this.scrollY&&(this.$refs.main.scrollTop=this.lastScrollTop),this.scrollX&&(this.$refs.main.scrollLeft=this.lastScrollLeft)},beforeDestroy:function(){this.$refs.main.removeEventListener("touchstart",this.__handleTouchStart,s),this.$refs.main.removeEventListener("touchmove",this.__handleTouchMove,s),this.$refs.main.removeEventListener("scroll",this.__handleScroll,o(!1)),this.$refs.main.removeEventListener("touchend",this.__handleTouchEnd,s)},methods:{scrollTo:function(e,t){var n=this.$refs.main;e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight);var i=0,r="";"x"===t?i=n.scrollLeft-e:"y"===t&&(i=n.scrollTop-e),0!==i&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+i+"px) translateZ(0)":"y"===t&&(r="translateY("+i+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,e,t),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),this.$refs.content.style.transform=r,this.$refs.content.style.webkitTransform=r)},_handleTrack:function(e){if("start"===e.detail.state)return this._x=e.detail.x,this._y=e.detail.y,void(this._noBubble=null);"end"===e.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-e.detail.y)/Math.abs(this._x-e.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-e.detail.x)/Math.abs(this._y-e.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=e.detail.x,this._y=e.detail.y,this._noBubble&&e.stopPropagation()},_handleScroll:function(e){var t=e.target;this.$trigger("scroll",e,{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,deltaX:this.lastScrollLeft-t.scrollLeft,deltaY:this.lastScrollTop-t.scrollTop}),this.scrollY&&(t.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-t.scrollTop>0&&e.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",e,{direction:"top"}),this.lastScrollToUpperTime=e.timeStamp),t.scrollTop+t.offsetHeight+this.lowerThresholdNumber>=t.scrollHeight&&this.lastScrollTop-t.scrollTop<0&&e.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",e,{direction:"bottom"}),this.lastScrollToLowerTime=e.timeStamp)),this.scrollX&&(t.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-t.scrollLeft>0&&e.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",e,{direction:"left"}),this.lastScrollToUpperTime=e.timeStamp),t.scrollLeft+t.offsetWidth+this.lowerThresholdNumber>=t.scrollWidth&&this.lastScrollLeft-t.scrollLeft<0&&e.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",e,{direction:"right"}),this.lastScrollToLowerTime=e.timeStamp)),this.lastScrollTop=t.scrollTop,this.lastScrollLeft=t.scrollLeft},_scrollTopChanged:function(e){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(e,"y"):this.$refs.main.scrollTop=e)},_scrollLeftChanged:function(e){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(e,"x"):this.$refs.main.scrollLeft=e)},_scrollIntoViewChanged:function(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void e.error("id error: scroll-into-view=".concat(t));var n=this.$el.querySelector("#"+t);if(n){var i=this.$refs.main.getBoundingClientRect(),r=n.getBoundingClientRect();if(this.scrollX){var a=r.left-i.left,o=this.$refs.main.scrollLeft,s=o+a;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var u=r.top-i.top,c=this.$refs.main.scrollTop,l=c+u;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_transitionEnd:function(e,t){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var n=this.$refs.main;"x"===t?(n.style.overflowX=this.scrollX?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=this.scrollY?"auto":"hidden",n.scrollTop=e),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},_setRefreshState:function(e){switch(e){case"refreshing":this.refresherHeight=this.refresherThreshold,this.beforeRefreshing||(this.beforeRefreshing=!0,this.$trigger("refresherrefresh",{},{}));break;case"restore":case"refresherabort":this.beforeRefreshing=!1,this.refresherHeight=this.toUpperNumber=0,"restore"===e&&(this.triggerAbort=!1,this.$trigger("refresherrestore",{},{})),"refresherabort"===e&&this.triggerAbort&&(this.triggerAbort=!1,this.$trigger("refresherabort",{},{}));break}this.refreshState=e},getScrollPosition:function(){var e=this.$refs.main;return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth}}}}}).call(this,n("3ad9")["default"])},"764a":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var i=n("f2b3"),r=n("85b6"),a=n("65a8"),o=n("33ed"),s=!!i["s"]&&{passive:!1};function u(t){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),i=t.$parent.$parent,r=i.navigationBar.type,o="default"===r||"float"===r?a["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?a["d"]:n:0,u=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",c=o&&u?"calc(".concat(o,"px + ").concat(u,"(safe-area-inset-top))"):"".concat(o,"px"),l=s&&u?"calc(".concat(s,"px + ").concat(u,"(safe-area-inset-bottom))"):"".concat(s,"px"),d=document.documentElement.style;d.setProperty("--window-top","calc(var(--top-window-height) + ".concat(c,")")),d.setProperty("--window-bottom",l),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-top=").concat(c)),e.debug("".concat(t.$page.route,"[").concat(t.$page.id,"]:--window-bottom=").concat(l))}}function c(e){var t=!1,n=!1;e("onPageLoad",(function(e){u(e)})),e("onPageShow",(function(e){var a=e.$parent.$parent;e._isMounted&&u(e),n&&document.removeEventListener("touchmove",n,s),a.disableScroll&&(n=o["b"],document.addEventListener("touchmove",n,s));var c=Object(r["c"])(e.$options,"onPageScroll"),l=Object(r["c"])(e.$options,"onReachBottom"),d=a.onReachBottomDistance,f=Object(i["l"])(a.titleNView)&&"transparent"===a.titleNView.type||Object(i["l"])(a.navigationBar)&&"transparent"===a.navigationBar.type;t&&document.removeEventListener("scroll",t),(f||c||l)&&(t=Object(o["a"])(e.$page.id,{enablePageScroll:c,enablePageReachBottom:l,onReachBottomDistance:d,enableTransparentTitleNView:f}),requestAnimationFrame((function(){document.addEventListener("scroll",t)})))}))}}).call(this,n("3ad9")["default"])},7691:function(e,t,n){},"77e0":function(e,t,n){"use strict";n.r(t),function(e,i){var r=n("a6b0");t["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var t=this,n="",a=function(e){return function(i){n=e,setTimeout((function(){t.showToast=i}),10)}};e.on("onShowToast",a("onShowToast")),e.on("onShowLoading",a("onShowLoading"));var o=function(e){return function(){if(n){var a="";if("onHideToast"===e&&"onShowToast"!==n?a=Object(r["g"])("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==n&&(a=Object(r["g"])("uni.showLoading.unpaired")),a)return i.warn(a);n="",setTimeout((function(){t.showToast.visible=!1}),10)}}};e.on("onHidePopup",o("onHidePopup")),e.on("onHideToast",o("onHideToast")),e.on("onHideLoading",o("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},7822:function(e,t,n){},"78c8":function(e,t,n){"use strict";n.r(t),n.d(t,"getDeviceInfo",(function(){return h})),n.d(t,"getAppBaseInfo",(function(){return p})),n.d(t,"getSystemInfoSync",(function(){return g})),n.d(t,"getSystemInfo",(function(){return v}));var i,r=n("c6af"),a="__DC_STAT_UUID",o=window.localStorage||window.sessionStorage||{},s=function(){if(i=i||o[a],!i){i=Date.now()+""+Math.floor(1e7*Math.random());try{o[a]=i}catch(e){}}return i},u=n("fb3e"),c=n("f2b3"),l={},d=!0;function f(){d&&(l=Object(u["getBrowserInfo"])())}function h(){f();var e=l,t=e.deviceBrand,n=e.deviceModel,i=e.brand,r=e.model,a=e.platform,o=e.system,u=e.deviceOrientation,c=e.deviceType;return{brand:i,deviceBrand:t,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:u,deviceType:c,model:r,platform:a,system:o}}function p(){f();var e=l,t=e.theme,n=e.language,i=e.browserName,r=e.browserVersion,a=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:a,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:i,hostVersion:r,hostTheme:t,hostLanguage:n,language:n,SDKVersion:"",theme:t,version:""}}function g(){d=!0,f(),d=!1;var e=Object(r["getWindowInfo"])(),t=h(),n=p();d=!0;var i=l,a=i.ua,o=i.browserName,s=i.browserVersion,u=i.osname,g=i.osversion,v=Object.assign({},e,t,n,{browserName:o,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:u.toLocaleLowerCase(),osVersion:g,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:a});return delete v.screenTop,delete v.enableDebug,__uniConfig.darkmode||delete v.theme,Object(c["r"])(v)}function v(){return g()}},"79d5":function(e,t,n){"use strict";function i(e){if(e)return e.$holder;var t=getCurrentPages(),n=t.length;return n?t[n-1].$holder:void 0}function r(e){var t=getCurrentPages(),n=t.length;return!!n&&t[n-1].$holder===e}n.r(t),n.d(t,"getPageHolder",(function(){return i})),n.d(t,"isCurrentPage",(function(){return r}))},"7bab":function(e,t,n){"use strict";function i(){var e=document.getElementById("#clipboard"),t=e?e.value:void 0;return t?{data:t,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function r(e){var t=e.data,n=document.getElementById("#clipboard");n&&n.remove();var i=document.createElement("textarea");i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=t,i.select(),i.setSelectionRange(0,i.value.length);var r=document.execCommand("Copy",!1,null);return i.blur(),r?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(t),n.d(t,"getClipboardData",(function(){return i})),n.d(t,"setClipboardData",(function(){return r}))},"7bb3":function(e,t,n){"use strict";n.r(t);var i=n("8af1"),r={name:"Checkbox",mixins:[i["a"],i["f"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(e){this.checkboxChecked=e},value:function(e){this.checkboxValue=e}},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(e){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",e))},_resetFormData:function(){this.checkboxChecked=!1}}},a=r,o=(n("f53a"),n("0c7c")),s=Object(o["a"])(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-checkbox",e._g({attrs:{disabled:e.disabled},on:{click:e._onClick}},e.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":e.checkboxChecked,"uni-checkbox-input-disabled":e.disabled},style:{color:e.color}}),e._t("default")],2)])}),[],!1,null,null,null);t["default"]=s.exports},"7c2b":function(e,t,n){"use strict";var i=n("e804"),r=n.n(i);r.a},"7d18":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"uploadFile",(function(){return s}));var i=n("e2e2");function r(e,t){for(var n=0;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function s(t,n){var r=t.url,a=t.file,s=t.filePath,u=t.name,c=t.files,l=t.header,d=t.formData,f=t.timeout,h=void 0===f?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:f,p=e,g=p.invokeCallbackHandler,v=new o(null,n);return Array.isArray(c)&&c.length||(c=[{name:u,file:a,uri:s}]),Promise.all(c.map((function(e){var t=e.file,n=e.uri;return t instanceof Blob?Promise.resolve(Object(i["a"])(t)):Object(i["f"])(n)}))).then((function(e){var t,i=new XMLHttpRequest,a=new FormData;Object.keys(d).forEach((function(e){a.append(e,d[e])})),Object.values(c).forEach((function(t,n){var i=t.name,r=e[n];a.append(i||"file",r,r.name||"file-".concat(Date.now()))})),i.open("POST",r),Object.keys(l).forEach((function(e){i.setRequestHeader(e,l[e])})),i.upload.onprogress=function(e){v._callbacks.forEach((function(t){var n=e.loaded,i=e.total,r=Math.round(n/i*100);t({progress:r,totalBytesSent:n,totalBytesExpectedToSend:i})}))},i.onerror=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail"})},i.onabort=function(){clearTimeout(t),g(n,{errMsg:"uploadFile:fail abort"})},i.onload=function(){clearTimeout(t);var e=i.status;g(n,{errMsg:"uploadFile:ok",statusCode:e,data:i.responseText||i.response})},v._isAbort?g(n,{errMsg:"uploadFile:fail abort"}):(t=setTimeout((function(){i.upload.onprogress=i.onload=i.onabort=i.onerror=null,v.abort(),g(n,{errMsg:"uploadFile:fail timeout"})}),h),i.send(a),v._xhr=i)})).catch((function(){setTimeout((function(){g(n,{errMsg:"uploadFile:fail file error"})}),0)})),v}}.call(this,n("0dd1"))},"7e6a":function(e,t,n){"use strict";var i=n("5bf9"),r=n.n(i);r.a},"7f4e":function(e,t,n){"use strict";function i(e){var t=e.phoneNumber;return window.location.href="tel:".concat(t),{errMsg:"makePhoneCall:ok"}}n.r(t),n.d(t,"makePhoneCall",(function(){return i}))},"80e5":function(e){e.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(e,t,n){"use strict";n.r(t),n.d(t,"connectSocket",(function(){return l})),n.d(t,"sendSocketMessage",(function(){return d})),n.d(t,"closeSocket",(function(){return f})),n.d(t,"onSocketOpen",(function(){return h})),n.d(t,"onSocketError",(function(){return p})),n.d(t,"onSocketMessage",(function(){return g})),n.d(t,"onSocketClose",(function(){return v}));var i=n("a118"),r=n("db70");function a(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.success,n=e.fail,i=e.complete,r=arguments.length>1?arguments[1]:void 0,a={errMsg:r};/:ok$/.test(r)?"function"===typeof t&&t(a):"function"===typeof n&&n(a),"function"===typeof i&&i(a)}}]),e}(),s=Object.create(null),u=[],c=Object.create(null);function l(e,t){var n=Object(r["c"])("createSocketTask",e),a=n.socketTaskId,c=new o(a);return s[a]=c,u.push(c),setTimeout((function(){Object(i["a"])(t,{errMsg:"connectSocket:ok"})}),0),c}function d(e,t){var n=u[0];if(n&&n.readyState===n.OPEN)return Object(r["c"])("operateSocketTask",Object.assign({},e,{operationType:"send",socketTaskId:n.id}));Object(i["a"])(t,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function f(e,t){var n=u[0];if(n)return n.readyState=n.CLOSING,Object(r["c"])("operateSocketTask",Object.assign({},e,{operationType:"close",socketTaskId:n.id}));Object(i["a"])(t,{errMsg:"closeSocket:fail WebSocket is not connected"})}function h(e){c.open=e}function p(e){c.error=e}function g(e){c.message=e}function v(e){c.close=e}Object(r["d"])("onSocketTaskStateChange",(function(e){var t=e.socketTaskId,n=e.state,r=e.data,a=(e.errMsg,s[t]);if(a){if("open"===n&&(a.readyState=a.OPEN),a===u[0]&&c[n]&&Object(i["a"])(c[n],"message"===n?{data:r}:{}),"error"===n||"close"===n){a.readyState=a.CLOSED,delete s[t];var o=u.indexOf(a);o>=0&&u.splice(o,1)}a._callbacks[n].forEach((function(e){"function"===typeof e&&e("message"===n?{data:r}:{})}))}}))},"81ea":function(e,t,n){"use strict";var i=n("e428"),r=i["a"],a=(n("f4e0"),n("0c7c")),o=Object(a["a"])(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-tabbar",{class:["uni-tabbar-"+e.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:e.tabbarBackgroundColor,"backdrop-filter":"none"!==e.blurEffect?"blur(10px)":e.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:e.borderColor}}),e._l(e.visibleList,(function(t,i){return n("div",{key:t.isMidButton?i:t.pagePath,staticClass:"uni-tabbar__item",style:t.isMidButton?{flex:"0 0 "+t.width,position:"relative"}:{},on:{click:function(n){return e._switchTab(t,i)}}},[t.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:e._uniTabbarBdStyle(t)},[t.iconPath?n("img",{style:{width:t.iconWidth,height:t.iconWidth},attrs:{src:e._getRealPath(t.iconPath)}}):e._e()]):e._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:e.height}},[e.getIconPath(t,i)||t.iconfont||t.iconPath||t.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!t.text},style:{width:e.iconWidth,height:e.iconWidth}},[t.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:e.selectedIndex===i?t.iconfont.selectedColor:t.iconfont.color,fontSize:t.iconfont.fontSize||e.iconWidth}},[e._v(" "+e._s(e.selectedIndex===i?t.iconfont.selectedText:t.iconfont.text)+" ")]):t.isMidButton?e._e():n("img",{attrs:{src:e._getRealPath(e.getIconPath(t,i))}})]):e._e(),t.text?n("div",{staticClass:"uni-tabbar__label",style:{color:e.selectedIndex===i?e.selectedColor:e.color,fontSize:e.fontSize,lineHeight:t.iconPath?"normal":1.8,marginTop:t.iconPath?e.spacing:"inherit"}},[e._v(" "+e._s(t.text)+" ")]):e._e(),t.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:e.height}})])}),[],!1,null,null,null),s=o.exports,u=n("a8f2"),c=u["a"],l=(n("639e"),Object(a["a"])(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.responsive?n("uni-layout",{class:{"uni-app--showlayout":e.showLayout,"uni-app--showtopwindow":e.showTopWindow,"uni-app--showleftwindow":e.showLeftWindow,"uni-app--showrightwindow":e.showRightWindow}},[e.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:e.showTopWindow||e.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:e.topWindowStyle},[n("v-uni-top-window",e._b({ref:"top",attrs:{"navigation-bar-title-text":e.navigationBarTitleText},on:{"hook:mounted":e.onTopWindowInit}},"v-uni-top-window",e.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:e.topWindowHeight}})]):e._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)],1),e.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:e.showLeftWindow||e.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:e.leftWindowStyle,attrs:{"data-show":e.apiShowLeftWindow}},[e.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowLeftWindow=!1}}}):e._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",e._b({ref:"left",on:{"hook:mounted":e.onLeftWindowInit}},"v-uni-left-window",e.bindWindow,!1))],1)]):e._e(),e.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:e.showRightWindow||e.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:e.rightWindowStyle,attrs:{"data-show":e.apiShowRightWindow}},[e.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(t){e.apiShowRightWindow=!1}}}):e._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",e._b({ref:"right",on:{"hook:mounted":e.onRightWindowInit}},"v-uni-right-window",e.bindWindow,!1))],1)]):e._e()],1)],1):n("keep-alive",{attrs:{include:e.keepAliveInclude}},[n("router-view",{key:e.routerKey})],1)}),[],!1,null,null,null)),d=l.exports,f=n("dfa7"),h=f["a"],p=(n("ff28"),Object(a["a"])(h,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[e.visible?n("uni-toast",{attrs:{"data-duration":e.duration}},[e.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(e){e.preventDefault()}}}):e._e(),e.image||e.iconClass?n("div",{staticClass:"uni-toast"},[e.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:e.image}}):n("i",{staticClass:"uni-icon_toast",class:e.iconClass}),n("p",{staticClass:"uni-toast__content"},[e._v(" "+e._s(e.title)+" ")])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[e._v(" "+e._s(e.title)+" ")])])]):e._e()],1)}),[],!1,null,null,null)),g=p.exports,v=n("5a56"),m=n("da71"),y=n("3af1");var b={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}};function _(e){this.cancelColor_=b[e].cancelColor}var w={name:"Modal",components:{keypress:m["a"]},mixins:[v["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},data:function(){return{cancelColor_:"#000"}},watch:{visible:function(e){e?(this.cancelColor_=this.$parent.showModal.cancelColor,"#000"===this.$parent.showModal.cancelColor&&("dark"===Object(y["a"])()&&this._onThemeChange({theme:"dark"}),Object(y["c"])(this._onThemeChange))):Object(y["b"])(this._onThemeChange)}},methods:{_onThemeChange:function(e){var t=e.theme;_.call(this,t)},_close:function(e){var t=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,!0);this.editable&&"confirm"===e&&(t.content=this.$refs.editContent.value),this.$emit("close",t)}}},T=w,S=(n("2765"),Object(a["a"])(T,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[e.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title",domProps:{textContent:e._s(e.title)}})]):e._e(),e.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:e.placeholderText},domProps:{value:e.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:e._s(e.content)},on:{touchmove:function(e){e.stopPropagation()}}}),n("div",{staticClass:"uni-modal__ft"},[e.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:e.cancelColor_},on:{click:function(t){return e._close("cancel")}}},[e._v(" "+e._s(e.cancelText)+" ")]):e._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:e.confirmColor},on:{click:function(t){return e._close("confirm")}}},[e._v(" "+e._s(e.confirmText)+" ")])])]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close("cancel")},enter:function(t){!e.editable&&e._close("confirm")}}})],1)],1)}),[],!1,null,null,null)),k=S.exports,x=n("4ccd"),C=n("a6b0"),E=n("ba15"),A=n("8aec"),O=n("5363"),j=n("72b3"),I=n("d4cd");var P={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};function M(e){var t=this;["listItemColor","cancelItemColor"].forEach((function(n){t[n]=P[e][n]}))}var L={name:"ActionSheet",components:{keypress:m["a"]},mixins:[C["c"],x["default"],E["a"],A["a"]],props:{title:{type:String,default:""},itemList:{type:Array,default:function(){return[]}},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},data:function(){return{HEIGHT:260,contentHeight:0,titleHeight:0,deltaY:0,scrollTop:0,listItemColor:"#000000",cancelItemColor:"#000000"}},watch:{visible:function(e){var t=this;e?(this.$nextTick((function(){t.title&&(t.titleHeight=document.querySelector(".uni-actionsheet__title").offsetHeight),t._scroller.update(),t.contentHeight=t.$refs.content.clientHeight-t.HEIGHT,document.querySelectorAll(".uni-actionsheet__cell").forEach((function(e){(function(e){var t=0,n=0;e.addEventListener("touchstart",(function(e){var i=e.changedTouches[0];t=i.clientX,n=i.clientY})),e.addEventListener("touchend",(function(e){var i=e.changedTouches[0];if(Math.abs(i.clientX-t)<20&&Math.abs(i.clientY-n)<20){var r=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(e){r[e]=i[e]})),e.target.dispatchEvent(r)}}))})(e)}))})),this.listItemColor=this.cancelItemColor=this.itemColor,"#000"===this.$parent.showActionSheet.itemColor&&("dark"===Object(y["a"])()&&this._onThemeChange({theme:"dark"}),Object(y["c"])(this._onThemeChange))):Object(y["b"])(this._onThemeChange)}},mounted:function(){var e=this;this.touchtrack(this.$refs.content,"_handleTrack",!0),this.$nextTick((function(){e.initScroller(e.$refs.content,{enableY:!0,friction:new O["a"](1e-4),spring:new j["a"](2,90,20),onScroll:function(t){e.scrollTop=t.target.scrollTop}})})),Object(I["b"])()},methods:{_onThemeChange:function(e){var t=e.theme;M.call(this,t)},_close:function(e){this.$emit("close",e)},_handleTrack:function(e){if(this._scroller)switch(e.detail.state){case"start":this._handleTouchStart(e),Object(I["a"])({disable:!0});break;case"move":this._handleTouchMove(e);break;case"end":case"cancel":this._handleTouchEnd(e),Object(I["a"])({disable:!1})}},_handleWheel:function(e){var t=this.deltaY+e.deltaY;Math.abs(t)>10?(this.scrollTop+=t/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=t,e.preventDefault()}}},D=L,R=(n("4fef"),Object(a["a"])(D,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-actionsheet",{on:{touchmove:function(e){e.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"uni-mask uni-actionsheet__mask",on:{click:function(t){return e._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":e.visible},style:e.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:e._handleWheel}},[e.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:e.titleHeight+"px"}}):e._e(),e.title?n("div",{staticClass:"uni-actionsheet__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),n("div",{style:{maxHeight:e.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},e._l(e.itemList,(function(t,i){return n("div",{key:i,staticClass:"uni-actionsheet__cell",style:{color:e.listItemColor},on:{click:function(t){return e._close(i)}}},[e._v(" "+e._s(t)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:e.cancelItemColor},on:{click:function(t){return e._close(-1)}}},[e._v(" "+e._s(e.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:e.popupStyle.triangle})]),n("keypress",{attrs:{disable:!e.visible},on:{esc:function(t){return e._close(-1)}}})],1)}),[],!1,null,null,null)),N=R.exports,B={name:"ImageView",props:{src:{type:String,default:""}},data:function(){return{direction:"none"}},created:function(){this.scale=1,this.imgWidth=0,this.imgHeight=0,this.width=0,this.height=0},methods:{onScale:function(e){var t=e.detail.scale;this.scale=t},onImgLoad:function(e){var t=e.target,n=t.getBoundingClientRect();this.imgWidth=n.width,this.imgHeight=n.height},onTouchStart:function(e){var t=this.$el,n=t.getBoundingClientRect();this.width=n.width,this.height=n.height,this.checkDirection(e)},onTouchEnd:function(e){var t=this.scale,n=t*this.imgWidth>this.width,i=t*this.imgHeight>this.height;this.direction=n&&i?"all":n?"horizontal":i?"vertical":"none",this.checkDirection(e)},checkDirection:function(e){var t=this.direction;"all"!==t&&"horizontal"!==t||e.stopPropagation()}}},U=B,F=(n("11d0"),Object(a["a"])(U,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-movable-area",{staticClass:"image-view-area",nativeOn:{touchstart:function(t){return e.onTouchStart(t)},touchmove:function(t){return e.checkDirection(t)},touchend:function(t){return e.onTouchEnd(t)}}},[n("v-uni-movable-view",{staticClass:"image-view-view",attrs:{direction:e.direction,inertia:"",scale:"","scale-min":"1","scale-max":"4"},on:{scale:e.onScale}},[n("img",{staticClass:"image-view-img",attrs:{src:e.src},on:{load:e.onImgLoad}})])],1)}),[],!1,null,null,null)),$=F.exports,H={name:"PreviewImage",components:{imageView:$},props:{visible:{type:Boolean,default:!1},urls:{type:Array,default:function(){return[]}},current:{type:[String,Number],default:0}},data:function(){return{index:0}},watch:{visible:function(e){if(e){var t="number"===typeof this.current?this.current:this.urls.indexOf(this.current);this.index=t<0?0:t}}},mounted:function(){var e=this,t=0,n=0;this.$el.addEventListener("mousedown",(function(i){e.preventDefault=!1,t=i.clientX,n=i.clientY})),this.$el.addEventListener("mouseup",(function(i){(Math.abs(i.clientX-t)>20||Math.abs(i.clientY-n)>20)&&(e.preventDefault=!0)}))},methods:{_click:function(){this.preventDefault||this.$emit("close")}}},V=H,z=(n("8ed9"),Object(a["a"])(V,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible?n("div",{staticClass:"uni-system-preview-image",on:{click:e._click}},[n("v-uni-swiper",{staticClass:"uni-system-preview-image-swiper",attrs:{navigation:"auto",current:e.index,"indicator-dots":!1,autoplay:!1},on:{"update:current":function(t){e.index=t}}},e._l(e.urls,(function(e,t){return n("v-uni-swiper-item",{key:t},[n("image-view",{attrs:{src:e}})],1)})),1),e._m(0)],1):e._e()}),[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav-btn-back"},[n("i",{staticClass:"uni-btn-icon"},[e._v("")])])}],!1,null,null,null)),q=z.exports,W={Toast:g,Modal:k,ActionSheet:N,PreviewImage:q};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t["a"]=function(e){for(var t=1;t0&&e<1?e:1}}},u={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(e,t,n){"use strict";n.r(t),n.d(t,"request",(function(){return l}));var i=n("f2b3"),r=n("a118"),a=n("db70");function o(e,t){for(var n=0;n>2],a+=e[(3&i[n])<<4|i[n+1]>>4],a+=e[(15&i[n+1])<<2|i[n+2]>>6],a+=e[63&i[n+2]];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(e){var t,i,r,a,o,s=.75*e.length,u=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var l=new ArrayBuffer(s),d=new Uint8Array(l);for(t=0;t>4,d[c++]=(15&r)<<4|a>>2,d[c++]=(3&a)<<6|63&o;return l}})()},"83a6":function(e,t,n){"use strict";t["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(e){e.touches.length>1||this._handleHoverStart(e)},_hoverMousedown:function(e){this._hoverTouch||(this._handleHoverStart(e),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(e){var t=this;e._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){t.hovering=!0,t._hoverTouch||t._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var e=this;requestAnimationFrame((function(){clearTimeout(e._hoverStayTimer),e._hoverStayTimer=setTimeout((function(){e.hovering=!1}),e.hoverStayTime)}))},_hoverTouchCancel:function(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84ca":function(e,t,n){},"84e0":function(e,t,n){"use strict";n.r(t),function(e){function i(t){var n=getCurrentPages();return n.length&&e.publishHandler("pageScrollTo",t,n[n.length-1].$page.id),{}}n.d(t,"pageScrollTo",(function(){return i}))}.call(this,n("0dd1"))},8542:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return T}));var r=n("f2b3");function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var i=t[n];t[n]=function(t){m(e[n],t).then((function(e){return Object(r["k"])(i)&&i(e)||e}))}}})),t}function b(e,t){var n=[];Array.isArray(c.returnValue)&&n.push.apply(n,a(c.returnValue));var i=l[e];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,a(i.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function _(e){var t=Object.create(null);Object.keys(c).forEach((function(e){"returnValue"!==e&&(t[e]=c[e].slice())}));var n=l[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function w(e,t,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return Array.isArray(e[t])&&e[t].length}function s(e){var t={},n=e.__vue__;function r(e,n){var r=e.$attrs;for(var a in r)if(a.startsWith("data-")){var o=Object(i["b"])(a.substr(5).toLowerCase()),s=r[a];t[o]=n?s:t[o]||s}}if(n){var a=n;while(a&&a.$el===e)r(a),a=a.$children[0];var o=n.$parent;while(o&&o.$el===e)r(o,!0),o=o.$parent}else t=Object.assign({},e.dataset,e.__uniDataset);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n=Object.keys(t),i=n.length;if(i)for(var r=0;re.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return i||(i=document.createElement("canvas")),i.width=e,i.height=t,i}t["a"]={name:"Canvas",mixins:[r["g"]],props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},data:function(){return{actionsWaiting:!1}},computed:{id:function(){return this.canvasId},_listeners:function(){var e=this,t=Object.assign({},this.$listeners);return["touchstart","touchmove","touchend"].forEach((function(n){var i=t[n],r=[];i&&r.push((function(t){e.$trigger(n,Object.assign({},t,{touches:d(t.currentTarget,t.touches),changedTouches:d(t.currentTarget,t.changedTouches)}))})),e.disableScroll&&"touchmove"===n&&r.push(e._touchmove),t[n]=r})),t},pixelRatio:function(){return this.hidpi?a["a"]:1}},created:function(){this._actionsDefer=[],this._images={}},mounted:function(){this._resize()},beforeDestroy:function(){var e=this.$refs.canvas;e.height=e.width=0},methods:{_handleSubscribe:function(e){var t=e.type,n=e.data,i=void 0===n?{}:n,r=this[t];0!==t.indexOf("_")&&"function"===typeof r&&r(i)},_resize:function(e){var t=this.$refs.canvas,n=!e||t.width!==Math.floor(e.width*this.pixelRatio)||t.height!==Math.floor(e.height*this.pixelRatio);if(n)if(t.width>0&&t.height>0){var i=t.getContext("2d"),r=i.getImageData(0,0,t.width,t.height);Object(a["b"])(t,this.hidpi),i.putImageData(r,0,0)}else Object(a["b"])(t,this.hidpi)},_touchmove:function(e){e.preventDefault()},actionsChanged:function(t){var n=this,i=t.actions,r=t.reserve,a=t.callbackId,o=this;if(i)if(this.actionsWaiting)this._actionsDefer.push([i,r,a]);else{var s=this.$refs.canvas,c=s.getContext("2d");r||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,s.width,s.height)),this.preloadImage(i);var d=function(e){var t=i[e],r=t.method,s=t.data;if(/^set/.test(r)&&"setTransform"!==r){var d,f=r[3].toLowerCase()+r.slice(4);if("fillStyle"===f||"strokeStyle"===f){if("normal"===s[0])d=l(s[1]);else if("linear"===s[0]){var g=c.createLinearGradient.apply(c,u(s[1]));s[2].forEach((function(e){var t=e[0],n=l(e[1]);g.addColorStop(t,n)})),d=g}else if("radial"===s[0]){var v=s[1][0],m=s[1][1],y=s[1][2],b=c.createRadialGradient(v,m,0,v,m,y);s[2].forEach((function(e){var t=e[0],n=l(e[1]);b.addColorStop(t,n)})),d=b}else if("pattern"===s[0]){var _=n.checkImageLoaded(s[1],i.slice(e+1),a,(function(e){e&&(c[f]=c.createPattern(e,s[2]))}));return _?"continue":"break"}c[f]=d}else if("globalAlpha"===f)c[f]=s[0]/255;else if("shadow"===f)h=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"],s.forEach((function(e,t){c[h[t]]="shadowColor"===h[t]?l(e):e}));else if("fontSize"===f){var w=c.__font__||c.font;c.__font__=c.font=w.replace(/\d+\.?\d*px/,s[0]+"px")}else"lineDash"===f?(c.setLineDash(s[0]),c.lineDashOffset=s[1]||0):"textBaseline"===f?("normal"===s[0]&&(s[0]="alphabetic"),c[f]=s[0]):"font"===f?c.__font__=c.font=s[0]:c[f]=s[0]}else if("fillPath"===r||"strokePath"===r)r=r.replace(/Path/,""),c.beginPath(),s.forEach((function(e){c[e.method].apply(c,e.data)})),c[r]();else if("fillText"===r)c.fillText.apply(c,s);else if("drawImage"===r){if(p=function(){var t=u(s),n=t[0],r=t.slice(1);if(o._images=o._images||{},!o.checkImageLoaded(n,i.slice(e+1),a,(function(e){e&&c.drawImage.apply(c,[e].concat(u(r.slice(4,8)),u(r.slice(0,4))))})))return"break"}(),"break"===p)return"break"}else"clip"===r?(s.forEach((function(e){c[e.method].apply(c,e.data)})),c.clip()):c[r].apply(c,s)};e:for(var f=0;ft-n&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},s.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},s.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}},s.prototype.dt=function(){return-this._x_v/this._x_a},s.prototype.done=function(){var e=r(this.s().x,this._endPositionX)||r(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},s.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},s.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},u.prototype._solve=function(e,t){var n=this._c,i=this._m,r=this._k,a=n*n-4*i*r;if(0===a){var o=-n/(2*i),s=e,u=t/(o*e);return{x:function(e){return(s+u*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+u*e)*t+u*t}}}if(a>0){var c=(-n-Math.sqrt(a))/(2*i),l=(-n+Math.sqrt(a))/(2*i),d=(t-c*e)/(l-c),f=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,c*e)),n||(n=this._powER2T=Math.pow(Math.E,l*e)),f*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,c*e)),n||(n=this._powER2T=Math.pow(Math.E,l*e)),f*c*t+d*l*n}}}var h=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,g=e,v=(t-p*e)/h;return{x:function(e){return Math.pow(Math.E,p*e)*(g*Math.cos(h*e)+v*Math.sin(h*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(h*e),i=Math.sin(h*e);return t*(v*h*n-g*h*i)+p*t*(v*i+g*n)}}},u.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},u.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},u.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!a(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(a(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),a(t,.1)&&(t=0),a(i,.1)&&(i=0),i+=this._endPosition),this._solution&&a(i-e,.1)&&a(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},u.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},u.prototype.done=function(e){return e||(e=(new Date).getTime()),r(this.x(),this._endPosition,.1)&&a(this.dx(),.1)},u.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},u.prototype.springConstant=function(){return this._k},u.prototype.damping=function(){return this._c},u.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},c.prototype.setEnd=function(e,t,n,i){var r=(new Date).getTime();this._springX.setEnd(e,i,r),this._springY.setEnd(t,i,r),this._springScale.setEnd(n,i,r),this._startTime=r},c.prototype.x=function(){var e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},c.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},c.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};var l=n("d4cd"),d=!1;function f(e){d||(d=!0,requestAnimationFrame((function(){e(),d=!1})))}function h(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function p(e,t,n){var i={id:0,cancelled:!1};return function t(n,i,r,a){if(!n||!n.cancelled){r(i);var o=e.done();o||n.cancelled||(n.id=requestAnimationFrame(t.bind(null,n,i,r,a))),o&&a&&a(i)}}(i,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,i),model:e}}var g={name:"MovableView",mixins:[i["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 e=Number(this.damping);return isNaN(e)?20:e},frictionNumber:function(){var e=Number(this.friction);return isNaN(e)||e<=0?2:e},scaleMinNumber:function(){var e=Number(this.scaleMin);return isNaN(e)?.5:e},scaleMaxNumber:function(){var e=Number(this.scaleMax);return isNaN(e)?10:e},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(e){this.xSync=this._getPx(e)},xSync:function(e){this._setX(e)},y:function(e){this.ySync=this._getPx(e)},ySync:function(e){this._setY(e)},disabled:function(){this.__handleTouchStart()},scaleValue:function(e){this.scaleValueSync=Number(e)||0},scaleValueSync:function(e){this._setScaleValue(e)},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 c(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new s(1,this.frictionNumber),this._declineX=new o,this._declineY=new o,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(l["b"])()},methods:{_getPx:function(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0},_setX:function(e){if(this.xMove){if(e+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(e+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return e},_setY:function(e){if(this.yMove){if(e+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,e+this._scaleOffset.y,this._scale)}return e},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(e){return!!this.scale&&(e=this._adjustScale(e),this._updateScale(e,!0),this._updateOldScale(e),e)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(l["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(e){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,i=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(e.detail.dx/e.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=e.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dx/e.detail.dy)<1)),this.yMove&&(i=e.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(e.detail.dy/e.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(e.detail.timeStamp),!this._checkCanMove){e.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),f((function(){t._setTransform(n,i,t._scale,r)}))}}},__handleTouchEnd:function(){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(l["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var t=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(t,n),this._friction.setS(this._translateX,this._translateY);var i=this._friction.delta().x,r=this._friction.delta().y,a=i+this._translateX,o=r+this._translateY;athis.maxX&&(a=this.maxX,o=this._translateY+(this.maxX-this._translateX)*r/i),othis.maxY&&(o=this.maxY,a=this._translateX+(this.maxY-this._translateY)*i/r),this._friction.setEnd(a,o),this._FA=p(this._friction,(function(){var t=e._friction.s(),n=t.x,i=t.y;e._setTransform(n,i,e._scale,"friction")}),(function(){e._FA.cancel()}))}},_onTrack:function(e){switch(e.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(e);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(e,t){var n=!1;return e>this.maxX?(e=this.maxX,n=!0):ethis.maxY?(t=this.maxY,n=!0):t3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateX||0),null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateY||0),e=Number(e.toFixed(1)),t=Number(t.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===e&&this._translateY===t||r||this.$trigger("change",{},{x:h(e,this._scaleOffset.x),y:h(t,this._scaleOffset.y),source:i}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),a&&n!==this._scale&&this.$trigger("scale",{},{x:e,y:t,scale:n});var o="translateX("+e+"px) translateY("+t+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=o,this.$el.style.webkitTransform=o,this._translateX=e,this._translateY=t,this._scale=n}}},v=g,m=(n("7c2b"),n("0c7c")),y=Object(m["a"])(v,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-movable-view",e._g({},e.$listeners),[n("v-uni-resize-sensor",{on:{resize:e.setParent}}),e._t("default")],2)}),[],!1,null,null,null);t["default"]=y.exports},8875:function(e,t,n){var i,r,a;(function(n,o){r=[],i=function(){return function(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(c){var e,t,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(c.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(c.stack),r=i&&i[1]||!1,a=i&&i[2]||!1,o=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");r===o&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*