(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,n){var i=n("1c0b");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"0538":function(e,t,n){"use strict";var i=n("1c0b"),r=n("861d"),a=[].slice,o={},s=function(e,t,n){if(!(t in o)){for(var i=[],r=0;r=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var n=this.options,i=new l,r=n.domBuilder||new f,o=n.errorHandler,s=n.locator,c=n.xmlns||{},d=/\/x?html?$/.test(t),p=d?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&r.setDocumentLocator(s),i.errorHandler=h(o,r,s),i.domBuilder=n.domBuilder||r,d&&(c[""]=u.HTML),c.xml=c.xml||u.XML,e&&"string"===typeof e?i.parse(e,c,p):i.errorHandler.error("invalid doc source"),r.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,i){var r=this.doc,a=r.createElementNS(e,n||t),o=i.length;v(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var s=0;s100)throw new Error("Position must be between 0 and 100.");g=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return v},set:function(e){var t=o(e);t?(v=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return b},set:function(e){var t=o(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");b=t,this.hasBeenReset=!0}}}),this.displayState=void 0}s.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=s},"09f0":function(e,t,n){"use strict";function i(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(u){r=!0,a=u}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw a}}return n}}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},"0b25":function(e,t,n){var i=n("a691"),r=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0c47":function(e,t,n){var i=n("da84"),r=n("d44e");r(i.JSON,"JSON",!0)},"0ccb":function(e,t,n){var i=n("50c4"),r=n("1148"),a=n("1d80"),o=Math.ceil,s=function(e){return function(t,n,s){var u,c,l=String(a(t)),d=l.length,h=void 0===s?" ":String(s),f=i(n);return f<=d||""==h?l:(u=f-d,c=r.call(h,o(u/h.length)),c.length>u&&(c=c.slice(0,u)),e?l+c:c+l)}};e.exports={start:s(!1),end:s(!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";function i(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},"0d3b":function(e,t,n){var i=n("d039"),r=n("b622"),a=n("c430"),o=r("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t["delete"]("b"),n+=i+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0f2d":function(e,t,n){"use strict";var i=n("4ea4");n("a623"),n("4de4"),n("4160"),n("13d5"),n("26e9"),n("fb6a"),n("c19f"),n("82da"),n("ace4"),n("a9e3"),n("d3b7"),n("25f0"),n("5cc6"),n("84c3"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.reverseBytes=t.sliceBytes=t.bytesMatch=t.concatTypedArrays=t.stringToBytes=t.bytesToString=t.numberToBytes=t.bytesToNumber=t.IS_LITTLE_ENDIAN=t.IS_BIG_ENDIAN=t.ENDIANNESS=t.toBinaryString=t.toHexString=t.toUint8=t.isTypedArray=t.isArrayBufferView=t.padStart=t.countBytes=t.countBits=void 0;var r=i(n("a8d6")),a=function(e,t){var n="";while(t--)n+=e;return n},o=function(e){return e.toString(2).length};t.countBits=o;var s=function(e){return Math.ceil(o(e)/8)};t.countBytes=s;var u=function(e,t,n){return void 0===n&&(n=" "),(a(n,t)+e.toString()).slice(-t)};t.padStart=u;var c=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer};t.isArrayBufferView=c;var l=function(e){return c(e)};t.isTypedArray=l;var d=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||l(e)||e instanceof ArrayBuffer||(e="number"!==typeof e||"number"===typeof e&&e!==e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))};t.toUint8=d;var h=function(e){e=d(e);for(var t="",n=0;nl&&(c-=l,c-=l,c-=p(2))}return Number(c)};t.bytesToNumber=b;var _=function(e,t){var n=void 0===t?{}:t,i=n.le,r=void 0!==i&&i;("bigint"!==typeof e&&"number"!==typeof e||"number"===typeof e&&e!==e)&&(e=0),e=p(e);for(var a=s(e),o=new Uint8Array(new ArrayBuffer(a)),u=0;u=t.length&&u.call(t,(function(t,n){var i=s[n]?s[n]&e[a+n]:e[a+n];return t===i}))};t.bytesMatch=k;var C=function(e,t,n){return Uint8Array.prototype.slice?Uint8Array.prototype.slice.call(e,t,n):new Uint8Array(Array.prototype.slice.call(e,t,n))};t.sliceBytes=C;var x=function(e){return e.reverse?e.reverse():Array.prototype.reverse.call(e)};t.reverseBytes=x},"10d1":function(e,t,n){"use strict";var i,r=n("da84"),a=n("e2cc"),o=n("f183"),s=n("6d61"),u=n("acac"),c=n("861d"),l=n("69f3").enforce,d=n("7f9a"),h=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",p,u);if(d&&h){i=u.getConstructor(p,"WeakMap",!0),o.REQUIRED=!0;var g=m.prototype,v=g["delete"],y=g.has,b=g.get,_=g.set;a(g,{delete:function(e){if(c(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new i),v.call(this,e)||t.frozen["delete"](e)}return v.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new i),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new i),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var n=l(this);n.frozen||(n.frozen=new i),y.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},1148:function(e,t,n){"use strict";var i=n("a691"),r=n("1d80");e.exports="".repeat||function(e){var t=String(r(this)),n="",a=i(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},1276:function(e,t,n){"use strict";var i=n("d784"),r=n("44e7"),a=n("825a"),o=n("1d80"),s=n("4840"),u=n("8aa5"),c=n("50c4"),l=n("14c3"),d=n("9263"),h=n("d039"),f=[].push,p=Math.min,m=4294967295,g=!h((function(){return!RegExp(m,"y")}));i("split",2,(function(e,t,n){var i;return i="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 i=String(o(this)),a=void 0===n?m:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);var s,u,c,l=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,h+"g");while(s=d.call(g,i)){if(u=g.lastIndex,u>p&&(l.push(i.slice(p,s.index)),s.length>1&&s.index=a))break;g.lastIndex===s.index&&g.lastIndex++}return p===i.length?!c&&g.test("")||l.push(""):l.push(i.slice(p)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),a=void 0==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var o=n(i,e,this,r,i!==t);if(o.done)return o.value;var d=a(e),h=String(this),f=s(d,RegExp),v=d.unicode,y=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),b=new f(g?d:"^(?:"+d.source+")",y),_=void 0===r?m:r>>>0;if(0===_)return[];if(0===h.length)return null===l(b,h)?[h]:[];var T=0,w=0,S=[];while(w1?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)}}))},1450:function(e,t){function n(e,t){var n,i=null;try{n=JSON.parse(e,t)}catch(r){i=r}return[i,n]}e.exports=n},"145e":function(e,t,n){"use strict";var i=n("7b0b"),r=n("23cb"),a=n("50c4"),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=i(this),s=a(n.length),u=r(e,s),c=r(t,s),l=arguments.length>2?arguments[2]:void 0,d=o((void 0===l?s:r(l,s))-c,s-u),h=1;c0)c in n?n[u]=n[c]:delete n[u],u+=h,c+=h;return n}},"14c3":function(e,t,n){var i=n("c6b6"),r=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var a=n.call(e,t);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"159b":function(e,t,n){var i=n("da84"),r=n("fdbc"),a=n("17c2"),o=n("9112");for(var s in r){var u=i[s],c=u&&u.prototype;if(c&&c.forEach!==a)try{o(c,"forEach",a)}catch(l){c.forEach=a}}},"15a4":function(e,t){var n={"":!0,up:!0};function i(e){if("string"!==typeof e)return!1;var t=n[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){return"number"===typeof e&&e>=0&&e<=100}function a(){var e=100,t=3,n=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!==typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");a=e}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");n=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");o=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=i(e);!1===t?console.warn("Scroll: an invalid or illegal string was specified."):u=t}}})}e.exports=a},"15b4":function(e,t,n){var i=n("3597").freeze;t.XML_ENTITIES=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=i({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},"17c2":function(e,t,n){"use strict";var i=n("b727").forEach,r=n("a640"),a=n("ae40"),o=r("forEach"),s=a("forEach");e.exports=o&&s?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,n){var i=n("f8cd");e.exports=function(e,t){var n=i(e);if(n%t)throw RangeError("Wrong offset");return n}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1be4":function(e,t,n){var i=n("d066");e.exports=i("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c31":function(e,t,n){n("a4d3"),n("e01a"),n("d28b"),n("944a"),n("99af"),n("4de4"),n("7db0"),n("c740"),n("4160"),n("a630"),n("caad"),n("c975"),n("d81d"),n("13d5"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("a434"),n("c19f"),n("ace4"),n("0c47"),n("23dc"),n("a9e3"),n("e439"),n("dbb4"),n("3410"),n("b64b"),n("131a"),n("d3b7"),n("07ac"),n("acd8"),n("e25e"),n("4ae1"),n("5d41"),n("4d63"),n("ac1f"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("841c"),n("1276"),n("2ca0"),n("498a"),n("5cc6"),n("8a59"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("159b"),n("ddb0"),n("2b3d"),function(t,i){e.exports=i(n("a7a7"),n("e143"),n("37dc"))}("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"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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"))},"00b2":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"))},"01d0":function(e,t,n){},"02b5":function(e,t,n){"use strict";var i=n("8e72"),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&&a(n,e.data.staticClass,e.data.class)}}}n.d(t,"a",(function(){return u}));var r=/\s+/;function a(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}function o(e,t){if(t(e.$vnode||e._vnode))return e;for(var n=e.$children,i=0;i0&&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=c.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 h(e,t){return e._isVue||(t=e,e=null),new d(e||Object(a["b"])("createIntersectionObserver"),t)}}.call(this,n("0dd1"))},"0998":function(e,t,n){"use strict";var i=n("927d"),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"))},"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."}}}},"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 h})),n.d(t,"unsubscribe",(function(){return f})),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 h(e,t){return u("view."+e,t)}function f(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 h})),n.d(t,"getLeftWindowStyle",(function(){return f})),n.d(t,"getRightWindowStyle",(function(){return p})),n.d(t,"setTopWindowStyle",(function(){return g})),n.d(t,"setLeftWindowStyle",(function(){return v})),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 h(e){return d("top")}function f(e){return d("left")}function p(e){return d("right")}function m(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 g(e){return m("top",e)}function v(e){return m("left",e)}function y(e){return m("right",e)}},"0f55":function(e,t,n){"use strict";var i=n("2190"),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);var i=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}),e.contentPath?n("img",{attrs:{src:e.contentPath,draggable:e.draggable}}):e._e(),"widthFix"===e.mode||"heightFix"===e.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(t){return e._fixSize()}}}):e._e()],1)},r=[];function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e){return("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),e}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var e="auto",t="",n="no-repeat";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":n}}},watch:{src:function(e,t){this._loadImage()},mode:function(e,t){"widthFix"!==t&&"heightFix"!==t||this._resetSize(),"widthFix"!==e&&"heightFix"!==e||this._fixSize()}},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=o(t/this.ratio)+"px")}else if("heightFix"===this.mode){var n=e.offsetHeight;n&&(e.style.width=o(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,e.originalWidth=n.width,e.originalHeight=n.height,e._fixSize(),e.contentPath=t,e.$trigger("load",i,{width:n.width,height:n.height})},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)}}},u=s,c=(n("db18"),n("2877")),l=Object(c["a"])(u,i,r,!1,null,null,null);t["default"]=l.exports},"10a3":function(e,t,n){"use strict";n.r(t);var i=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}})])},r=[],a=n("8af1");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;nthis.CACHE_TIME}}]),e}();c(l,"IC",0),c(l,"IS",0),Object.assign(l.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var d=function(){function e(){o(this,e),this._instance=null,this._adConfig=null,this._guid=null}return u(e,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new e,this._instance._init()),this._instance}}]),u(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(),d.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:l.IC,is:l.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(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;l.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);"10011"===t.a1?(f.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?h.instance.load(t.t,i,(function(){e._renderShanhu(r,t.tt,t.tar)}),(function(t){e.$trigger("error",{},t)})):h.instance.load(t.t,i,(function(){e._renderAdView(r,a,i,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()},_renderAdView:function(e,t,n,i){var r=window;n.s.split(".").reduce((function(e,t){return r=e,e[t]}),window).bind(r)(i.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>=m)return e._clearCheckTimer(),void e._renderNext();e._checkRender()&&e._clearCheckTimer()}),p)},_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),d.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}}},y=v,b=(n("e4bc"),n("2877")),_=Object(b["a"])(y,i,r,!1,null,null,null);t["default"]=_.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"])},"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 should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"15bb":function(e,t,n){"use strict";(function(e){var i=n("f2b3");t["a"]={mounted:function(){var t=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,i=this.$el.querySelector(".uni-page-head__title"),r=this.$el.querySelectorAll(".uni-btn-icon"),a=[],o=this.textColor,s=0;s.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 f=this.$el.querySelectorAll(".uni-btn-icon"),p=[],m=0;m\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,o=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),u=f("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),c=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=f("script,style");function h(e,t){var n,h,f,p=[],m=e;p.last=function(){return this[this.length-1]};while(e){if(h=!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),h=!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 f(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");function u(e){var t=20,n=0,i=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,i=t.clientY})),e.addEventListener("touchend",(function(e){var r=e.changedTouches[0];if(Math.abs(r.clientX-n)*{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])])])}},h=d,f=(n("edfa"),n("2877")),p=Object(f["a"])(h,c,l,!1,null,null,null);t["default"]=p.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/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 l}));var i=n("f2b3");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;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,h=void 0===d?"navigateBack":d,f=t.detail,p=getApp().$router;switch(delete p.$eventChannel,e){case"redirectTo":if("back"===u){var m=Object(i["a"])(n);if(-1!==m){var g=getCurrentPages().length-1-m;if(g>0)return s("navigateBack",{delta:g})}}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 v=!0,y=getCurrentPages();if(y.length){var b=y[y.length-1];Object(i["c"])(b.$options,"onBackPress")&&!0===b.__call_hook("onBackPress",{from:h})&&(v=!1)}v&&(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:f}});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 h(e){return s("switchTab",e)}function f(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"))},"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("60ee"),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=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],i=0,r=n;i=0&&t.push("(".concat(o(a),": ").concat(Number(e[a]),"px)")),"orientation"===a&&e[a]&&t.push("(".concat(o(a),": ").concat(e[a],")"))}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)}},"1e4d":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0&&(o.length=1),l.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)?p(s):s}})),c.transform=c.webkitTransform=l.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((function(e){return"".concat(m(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),c.transformOrigin=c.webkitTransformOrigin=o.transformOrigin,c}function v(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,i=t.actions,r=t.actions.length;setTimeout((function(){a()}),0)}function a(){var t=i[n],o=t.option.transition,s=g(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}(),c=Object.create(null);function l(e,t){var n=Object(r["c"])("createUploadTask",e),i=n.uploadTaskId,a=new u(i,t);return c[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,s=e.totalBytesSent,u=e.totalBytesExpectedToSend,l=e.errMsg,d=c[t],h=d._callbackId;switch(n){case"progressUpdate":d._callbacks.forEach((function(e){e({progress:o,totalBytesSent:s,totalBytesExpectedToSend:u})}));break;case"success":Object(i["a"])(h,{data:r,statusCode:a,errMsg:"request:ok"});case"fail":Object(i["a"])(h,{errMsg:"request:fail "+l});default:setTimeout((function(){delete c[t]}),100);break}}))},2190: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:"#000000"},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:"#000000"},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}]},"232e":function(e,t,n){"use strict";n.r(t),n.d(t,"pageScrollTo",(function(){return i}));var i={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator:function(e,t){t.duration=Math.max(0,e)}}}},2399: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 m}));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 h=[];function f(e,t,n,i){h=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 f="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(f,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(f))}n()}}function p(t,n){var r=n.params.__id__,o=t.params.__id__,s=h.find((function(e){return e.$page.id===r}));function u(e){if(e){Object(i["b"])(e,"onUnload");var t=h.indexOf(e);t>=0&&h.splice(t,1)}}switch(t.type){case"navigateTo":s&&Object(i["b"])(s,"onHide");break;case"redirectTo":u(s);break;case"switchTab":n.meta.isTabBar&&s&&Object(i["b"])(s,"onHide");break;case"reLaunch":break;default:r&&r>o&&(u(s),this.$router._$delta>1&&a.reverse().forEach((function(e){var t=h.find((function(t){return t.$page.id===e}));u(t)})));break}if(delete this.$router._$delta,a.length=0,"reLaunch"!==t.type){var c=getCurrentPages(!0).find((function(e){return e.$page.id===o}));c&&(setTimeout((function(){e.emit("onNavigationBarChange",c.$parent.$parent.navigationBar),Object(i["b"])(c,"onShow")}),0),document.title=c.$parent.$parent.navigationBar.titleText)}}function m(e,t){e.$router.beforeEach((function(n,i,r){f.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 a})),n.d(t,"a",(function(){return o}));var i=n("f2b3");function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e){return e.mp=Object.assign({"@warning":"mp is deprecated"},e),e._processed=!0,e}function o(e,t){return Object(i["l"])(t)&&(Object(i["i"])(t,"backgroundColor")&&(e.backgroundColor=t.backgroundColor),Object(i["i"])(t,"buttons")&&(e.buttons=t.buttons),Object(i["i"])(t,"titleColor")&&(e.textColor=t.titleColor),Object(i["i"])(t,"titleText")&&(e.titleText=t.titleText),Object(i["i"])(t,"titleSize")&&(e.titleSize=t.titleSize),Object(i["i"])(t,"type")&&(e.type=t.type),Object(i["i"])(t,"searchInput")&&"object"===r(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=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.composing||e.valueSync.length||"-"===e.cachedValue),expression:"!(composing || valueSync.length || cachedValue === '-')"}],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,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)},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,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)},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,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=null,o=e._i(n,a);i.checked?o<0&&(e.valueSync=n.concat([a])):o>-1&&(e.valueSync=n.slice(0,o).concat(n.slice(o+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)},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()])])},r=[],a=n("8af1"),o=n("f2b3"),s=["text","number","idcard","digit","password","tel"],u=["number","digit"],c=["off","one-time-code"],l={name:"Input",mixins:[a["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:""}},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=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":e},step:function(){return~u.indexOf(this.type)?"0.000000000000000001":""},autocomplete:function(){var e=c.indexOf(this.textContentType),t=c.indexOf(Object(o["n"])(this.textContentType)),n=-1!==e?e:-1!==t?t:0;return c[n]}},watch:{maxlength:function(e){var t=this.valueSync.slice(0,parseInt(e,10));t!==this.valueSync&&(this.valueSync=t)}},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){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.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===e.inputType){this.cachedValue="-";var a=this.__clearCachedValue=function(){n.cachedValue=""};return void e.target.addEventListener("blur",a)}return void(this.cachedValue=this.valueSync=e.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||this.$triggerInput(e,{value:this.valueSync},t)}},_onComposition:function(e){"compositionstart"===e.type?this.composing=!0:this.composing&&(this.composing=!1,this._onInput(e))},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},d=l,h=(n("0f55"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"25ce":function(e,t,n){"use strict";n.r(t);var i=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)},r=[],a=n("8af1"),o={name:"CheckboxGroup",mixins:[a["a"],a["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}}},s=o,u=(n("0998"),n("2877")),c=Object(u["a"])(s,i,r,!1,null,null,null);t["default"]=c.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("3590"),r=n.n(i);r.a},"27a7":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return w}));var i=n("f2b3"),r=n("2608"),a=n("ed1a"),o=n("cc76"),s=n("de29");function u(e,t,n){var i="".concat(t,":fail ").concat(e);if(-1===n)throw new Error(i);return"number"===typeof n&&y(n,{errMsg:i}),!1}var c=[{name:"callback",type:Function,required:!0}],l=["beforeValidate","beforeAll","beforeSuccess"];function d(e,t,n){var r=o["a"][e];if(!r&&Object(a["a"])(e)&&(r=c),r){if(Array.isArray(r)&&Array.isArray(t)){var d=Object.create(null),h=Object.create(null),f=t.length;r.forEach((function(e,n){d[e.name]=e,f>n&&(h[e.name]=t[n])})),r=d,t=h}if(Object(i["k"])(r.beforeValidate)){var p=r.beforeValidate(t);if(p)return u(p,e,n)}for(var m=Object.keys(r),g=0;g1&&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={};for(var o in t){var s=t[o];Object(i["k"])(s)&&(a[o]=Object(r["a"])(s),delete t[o])}var u=a.success,c=a.fail,l=a.cancel,d=a.complete,p=Object(i["k"])(u),m=Object(i["k"])(c),g=Object(i["k"])(l),v=Object(i["k"])(d);if(!p&&!m&&!g&&!v)return{params:t};var y={};for(var b in n){var _=n[b];Object(i["k"])(_)&&(y[b]=Object(r["b"])(_))}var T=y.beforeSuccess,w=y.afterSuccess,S=y.beforeFail,k=y.afterFail,C=y.beforeCancel,x=y.afterCancel,E=y.beforeAll,A=y.afterAll,O=h++,j="api."+e+"."+O,I=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"])(E)&&E(n);var o=n.errMsg;0===o.indexOf(e+":ok")?(Object(i["k"])(T)&&T(n,t),p&&u(n),Object(i["k"])(w)&&w(n)):0===o.indexOf(e+":cancel")?(n.errMsg=n.errMsg.replace(e+":cancel",e+":fail cancel"),m&&c(n),Object(i["k"])(C)&&C(n),g&&l(n),Object(i["k"])(x)&&x(n)):0===o.indexOf(e+":fail")&&(Object(i["k"])(S)&&S(n),m&&c(n),Object(i["k"])(k)&&k(n)),v&&d(n),Object(i["k"])(A)&&A(n)};return f[O]={name:j,callback:I},{params:t,callbackId:O}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=g(e,t,n),a=r.params,o=r.callbackId;return Object(i["l"])(a)&&!d(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function y(e,t,n){if("number"===typeof e){var i=f[e];if(i)return i.keepAlive||delete f[e],i.callback(t,n)}return t}function b(e){delete f[e]}function _(t){return function(n){e.error("API `"+t+"` is not yet implemented")}}function T(e,t){var n=o["a"][e];n&&(Object(i["k"])(n.beforeAll)&&(t.beforeAll=n.beforeAll),Object(i["k"])(n.beforeSuccess)&&(t.beforeSuccess=n.beforeSuccess))}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(i["k"])(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}()},"28da":function(e,t,n){},"29a2":function(e,t,n){},"2bbe":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.hoverClass&&"none"!==e.hoverClass?n("uni-view",e._g({class:[e.hovering?e.hoverClass:""],on:{touchstart:e._hoverTouchStart,touchend:e._hoverTouchEnd,touchcancel:e._hoverTouchCancel}},e.$listeners),[e._t("default")],2):n("uni-view",e._g({},e.$listeners),[e._t("default")],2)},r=[],a=n("83a6"),o={name:"View",mixins:[a["a"]],listeners:{"label-click":"clickHandler"}},s=o,u=(n("e865"),n("2877")),c=Object(u["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"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"))},"2c45":function(e,t,n){},"2c67":function(e,t,n){"use strict";n.r(t),function(e){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=0?p:255,[d,h,f,p]}return i.error("unsupported color:"+e),[0,0,0,255]}function S(e,t){this.type="pattern",this.data=e,this.colorStop=t}var k=function(){function e(t,n){g(this,e),this.type=t,this.data=n,this.colorStop=[]}return y(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,w(t)])}}]),e}(),C=["scale","rotate","translate","setTransform","transform"],x=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],E=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function A(e,t){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=t,i.measureText(e).width||0}function O(e){this.width=e}var j=function(){function e(t,n){g(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 y(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=l(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(e=b.push(n)),_(this.id,this.pageId,"actionsChanged",{actions:i,reserve:t,callbackId:e})}},{key:"createLinearGradient",value:function(e,t,n,i){return new k("linear",[e,t,n,i])}},{key:"createCircularGradient",value:function(e,t,n){return new k("radial",[e,t,n])}},{key:"createPattern",value:function(e,t){if(void 0===t)i.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new S(e,t);i.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=this.state.font,n=0;return n=A(e,t),new O(n)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[]}},{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:l(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var e=l(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 r=n[1].trim().split(/\s/),a=parseFloat(n[3]),o=n[7],s=[];r.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===r.length&&u(),r=s.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=a,this.state.fontFamily=o,this.actions.push({method:"setFont",data:["".concat(r," ").concat(a,"px ").concat(o)]})}else i.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 I(t,n){if(n)return new j(t,n.$page.id);var i=Object(o["a"])();if(i)return new j(t,i);e.emit("onError","createCanvasContext:fail")}function P(e,t){var n=e.canvasId,i=e.x,r=e.y,a=e.width,u=e.height,c=Object(o["a"])();if(c){var l=b.push((function(e){var n=e.data;n&&n.length&&(e.data=new Uint8ClampedArray(n)),Object(s["a"])(t,e)}));_(n,c,"getImageData",{x:i,y:r,width:a,height:u,callbackId:l})}else Object(s["a"])(t,{errMsg:"canvasGetImageData:fail"})}function L(e,t){var n=e.canvasId,i=e.data,r=e.x,a=e.y,u=e.width,c=e.height,l=Object(o["a"])();if(l){var d,h=b.push((function(e){Object(s["a"])(t,e)}));i=Array.prototype.slice.call(i),_(n,l,"putImageData",{data:i,x:r,y:a,width:u,height:c,compressed:d,callbackId:h})}else Object(s["a"])(t,{errMsg:"canvasPutImageData:fail"})}function M(e,t){var n=e.x,i=void 0===n?0:n,r=e.y,a=void 0===r?0:r,c=e.width,l=e.height,d=e.destWidth,h=e.destHeight,f=e.canvasId,p=e.fileType,m=e.quality,g=Object(o["a"])();if(g){var v=b.push((function(e){Object(s["a"])(t,e)})),y="".concat(u["TEMP_PATH"],"/canvas");_(f,g,"toTempFilePath",{x:i,y:a,width:c,height:l,destWidth:d,destHeight:h,fileType:p,quality:m,dirname:y,callbackId:v})}else Object(s["a"])(t,{errMsg:"canvasToTempFilePath:fail"})}[].concat(C,x).forEach((function(e){function t(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:l(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:[s["c"],a["g"],a["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:c.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,o=this.$refs.ball;function s(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&&(o.removeEventListener("touchmove",s,u),a||(e.preventDefault(),e.stopPropagation(),r.seek(r.$refs.video.duration*r.progress/100)),r.touching=!1)}o.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,o.addEventListener("touchmove",s,u)})),o.addEventListener("touchend",c),o.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,a=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":t=r.position;break;case"sendDanmu":t=r;break;case"playbackRate":t=r.rate;break}a.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=c.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!==c.STOP){var i=e.targetTouches[0],r=i.pageX,a=i.pageY,o=this.touchStartOrigin;if(n===c.PROGRESS?this.changeProgress(r-o.x):n===c.VOLUME&&this.changeVolume(a-o.y),n===c.NONE)if(Math.abs(r-o.x)>Math.abs(a-o.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||t()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||t()}}},touchend:function(e){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(e.stopPropagation(),e.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.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)}}},d=l,h=(n("856e"),n("2877")),f=Object(h["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"324c":function(e,t,n){},"332a":function(e,t,n){"use strict";n.r(t),n.d(t,"redirectTo",(function(){return c})),n.d(t,"reLaunch",(function(){return l})),n.d(t,"navigateTo",(function(){return d})),n.d(t,"switchTab",(function(){return h})),n.d(t,"navigateBack",(function(){return f})),n.d(t,"preloadPage",(function(){return p})),n.d(t,"unPreloadPage",(function(){return m}));var i,r=n("0f74");function a(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}function o(e){return function(t,n){t=Object(r["a"])(t);var o=t.split("?")[0],s=__uniRoutes.find((function(e){var t=e.path,n=e.alias;return t===o||n===o}));if(!s)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(s.meta.isTabBar)return"can not ".concat(e," a tabbar page")}else if("switchTab"===e&&!s.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!s.meta.isTabBar||"appLaunch"===n.openType||(t=o),s.meta.isEntry&&(t=t.replace(s.alias,"/")),n.url=a(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(s.meta.isTabBar){var u=getCurrentPages(!0),c=(s.alias||s.path).substr(1);if(u.find((function(e){return e.route===c})))return"tabBar page `"+c+"` already exists"}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(e)},beforeAll:function(){i=""}},t)}function u(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 c=s("redirectTo"),l=s("reLaunch"),d=s("navigateTo",u(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),h=s("switchTab"),f=Object.assign({delta:{type:Number,validator:function(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},u(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),p={url:{type:String,required:!0,validator:o("preloadPage")}},m={url:{type:String,required:!0,validator:o("unPreloadPage")}}},"33b4":function(e,t,n){},"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.duration,i=document.documentElement,r=i.clientHeight,a=i.scrollHeight;function o(e){if(e<=0)window.scrollTo(0,t);else{var n=t-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/e*10),o(e-10)}))}}t=Math.min(t,a-r),0!==n?window.scrollY!==t&&o(n):i.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,h=!0;function f(){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&&h&&(u()||(i=setTimeout(u,300))),l=!1}function u(){if(f())return Object(r["a"])("onReachBottom",{},t),h=!1,setTimeout((function(){h=!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();var o="*";function s(){var e=window.navigator.userAgent.toLowerCase();return!(!e.match(/MicroMessenger/i)||"micromessenger"!==e.match(/MicroMessenger/i)[0])}t["default"]=function(e){var t=e.count,n=e.sourceType,a=e.type,u=e.extension,c=document.createElement("input");return c.type="file",Object(i["u"])(c,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),c.accept=u.map((function(e){if(a!==o){var t=e.replace(".","");return"".concat(a,"/").concat(r["default"][a][t]||t)}return s()?".":0===e.indexOf(".")?e:".".concat(e)})).join(","),t>1&&(c.multiple="multiple"),1===n.length&&"camera"===n[0]&&(c.capture="camera"),c}},3590:function(e,t,n){},3648:function(e,t,n){"use strict";n.r(t),n.d(t,"canIUse",(function(){return o}));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)")};function o(e){return!Object(i["i"])(a,e)||a[e]}},3676:function(e,t,n){"use strict";n.r(t),n.d(t,"getRecorderManager",(function(){return l}));var i=n("db70");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]:{};i(this,e),o(this,"option",void 0),o(this,"position",void 0),o(this,"index",void 0),o(this,"visible",void 0),o(this,"alwaysVisible",void 0),o(this,"div",void 0),o(this,"triangle",void 0),o(this,"onAdd",n),o(this,"construct",n),o(this,"onRemove",r),o(this,"destroy",r),this.option=t||{};var a=t.map;this.position=t.position,this.index=1;var s=this.visible=this.alwaysVisible="ALWAYS"===t.display,u=this.div=document.createElement("div"),c=u.style;c.position="absolute",c.whiteSpace="nowrap",c.transform="translateX(-50%) translateY(-100%)",c.zIndex="1",c.boxShadow=t.boxShadow||"none",c.display=s?"block":"none";var l=this.triangle=document.createElement("div");l.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(t),u.appendChild(l),a&&this.setMap(a)}return a(e,[{key:"onclick",set:function(e){this.div.onclick=e},get:function(){return this.div.onclick}}]),a(e,[{key:"setOption",value:function(e){this.option=e,this.setPosition(e.position),"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,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}(),u=s.prototype;for(var c in t)c in u||(u[c]=t[c]);return s}n.d(t,"a",(function(){return s}))},"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}]},"3c79":function(e,t,n){},"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");function s(e){var t=e.reqId,n=e.res,i=o.pop(t);i&&i(n)}var u=Object(i["a"])("requestComponentObserver");function c(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)}}var l=Object(i["a"])("requestMediaQueryObserver");function d(e){var t=e.reqId,n=e.reqEnd,i=e.res,r=l.get(t);if(r){if(n)return void l.pop(t);r(i)}}e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",s),e("onRequestComponentObserver",c),e("onRequestMediaQueryObserver",d)}},"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("bfbd"),r=n.n(i);r.a},"3e8c":function(e,t,n){"use strict";n.r(t);var i=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")])])},r=[],a=1e5,o={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=a,e.scrollTop=a;var t=this.$el.lastChild;t.scrollLeft=a,t.scrollTop=a},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},s=o,u=(n("64d0"),n("2877")),c=Object(u["a"])(s,i,r,!1,null,null,null);t["default"]=c.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("e692"),r=n.n(i);r.a},"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||{}}}}},"43a1":function(e,t,n){},"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["s"])(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("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:""}},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,i=this._map,r=this._marker=new n.Marker({map:i,flat:!0,autoRotation:!1});this.$parent._markers[this.id]=r,this.updateMarker(e),n.event.addListener(r,"click",(function(){var e=r.callout;if(e){var n=e.div,i=n.parentNode;e.alwaysVisible||e.set("visible",!e.visible),e.visible&&(i.removeChild(n),i.appendChild(n))}t.id&&t.$parent.$trigger("markertap",{},{markerId:t.id})}))},updateMarker:function(t){var n=this,r=this._map,a=this._maps,o=this._marker,s=t.title,u=new a.LatLng(t.latitude,t.longitude),c=new Image;c.onload=function(){var e,i,l,d=t.anchor||{},h="number"===typeof d.x?d.x:.5,f="number"===typeof d.y?d.y:1;t.iconPath&&(t.width||t.height)?(i=t.width||c.width/c.height*t.height,l=t.height||c.height/c.width*t.width):(i=c.width/2,l=c.height/2);var p=l-(l-f*l);e="MarkerImage"in a?new a.MarkerImage(c.src,null,null,new a.Point(h*i,f*l),new a.Size(i,l)):{url:c.src,anchor:new a.Point(h,f),size:new a.Size(i,l)},o.setPosition(u),o.setIcon(e),"setRotation"in o&&o.setRotation(t.rotate||0);var m,g=t.label||{};if("label"in o&&(o.label.setMap(null),delete o.label),g.content){var v={borderColor:g.borderColor,borderWidth:(Number(g.borderWidth)||0)+"px",padding:(Number(g.padding)||0)+"px",borderRadius:(Number(g.borderRadius)||0)+"px",backgroundColor:g.bgColor,color:g.color,fontSize:(g.fontSize||14)+"px",lineHeight:(g.fontSize||14)+"px",marginLeft:(Number(g.anchorX||g.x)||0)+"px",marginTop:(Number(g.anchorY||g.y)||0)+"px"};if("Label"in a)m=new a.Label({position:u,map:r,clickable:!1,content:g.content,style:v}),o.label=m;else if("setLabel"in o){var y=n.updateMarkerLabelStyle(n.id,v);o.setLabel({text:g.content,color:v.color,fontSize:v.fontSize,className:y})}}var b,_=t.callout||{},T=o.callout;if(_.content||s){var w="0px 0px 3px 1px rgba(0,0,0,0.5)";b=_.content?{position:u,map:r,top:p,content:_.content,color:_.color,fontSize:_.fontSize,borderRadius:_.borderRadius,bgColor:_.bgColor,padding:_.padding,boxShadow:_.boxShadow||w,display:_.display}:{position:u,map:r,top:p,content:s,boxShadow:w},T?T.setOption(b):(T=o.callout=new a.Callout(b),T.div.onclick=function(e){""!==n.id&&n.$parent.$trigger("callouttap",e,{markerId:n.id}),e.stopPropagation(),e.preventDefault()})}else T&&(T.setMap(null),delete o.callout)},t.iconPath?c.src=Object(i["a"])(t.iconPath):e.error("Marker.iconPath is required.")},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},removeMarker:function(){var e=this._marker;e&&(e.label&&"setMap"in e.label&&e.label.setMap(null),e.callout&&e.callout.setMap(null),e.setMap(null)),delete this.$parent._markers[this.id],this._marker=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 l}));var i=1e-4,r=750,a=!1,o=0,s=0;function u(){var e=uni.getSystemInfoSync(),t=e.platform,n=e.pixelRatio,i=e.windowWidth;o=i,s=n,a="ios"===t}function c(e,t){return e=Number(e),isNaN(e)?t:e}function l(e,t){if(0===o&&u(),e=Number(e),0===e)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},l=c(n.rpxCalcMaxDeviceWidth,960),d=c(n.rpxCalcBaseDeviceWidth,375),h=c(n.rpxCalcIncludeWidth,750),f=t||o;f=e===h||f<=l?f:d;var p=e/r*f;return p<0&&(p=-p),p=Math.floor(p+i),0===p&&(p=1!==s&&a?.5:1),e<0?-p:p}},"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"))},"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"))},"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 h(e){var t=0;return e.forEach((function(e){e.meta.id&&t++})),t}function f(){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);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}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["t"])(t),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var m=h(i),g=new r.a({id:m,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}}}),v=[],y=g.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):f());if(y.meta.name&&(y.meta.id?v.push(y.meta.name+"-"+y.meta.id):v.push(y.meta.name+"-"+(m+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:v}};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=g,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 h=this.popupHeight/2;s+u-h>h-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,r,a=n("5881"),o=a["a"],s=(n("c8ed"),n("2877")),u=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=u.exports},"4e0b":function(e,t,n){},"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=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:{backgroundColor:e.switchChecked?e.color:"#DFDFDF",borderColor:e.switchChecked?e.color:"#DFDFDF"}}),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}})])])},r=[],a=n("8af1"),o={name:"Switch",mixins:[a["a"],a["f"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(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}}},s=o,u=(n("a5ec"),n("2877")),c=Object(u["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"4f43":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"downloadFile",(function(){return c}));var i=n("e2e2");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;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function c(t,n){var r,a=t.url,o=t.header,s=t.timeout,c=void 0===s?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:s,l=e,d=l.invokeCallbackHandler,h=new XMLHttpRequest,f=new u(h);return h.open("GET",a,!0),Object.keys(o).forEach((function(e){h.setRequestHeader(e,o[e])})),h.responseType="blob",h.onload=function(){clearTimeout(r);var e,t=h.status,o=this.response,s=h.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)})},h.onabort=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail abort"})},h.onerror=function(){clearTimeout(r),d(n,{errMsg:"downloadFile:fail"})},h.onprogress=function(e){f._callbacks.forEach((function(t){var n=e.loaded,i=e.total,r=Math.round(n/i*100);t({progress:r,totalBytesWritten:n,totalBytesExpectedToWrite:i})}))},h.send(),r=setTimeout((function(){h.onprogress=h.onload=h.onabort=h.onerror=null,f.abort(),d(n,{errMsg:"downloadFile:fail timeout"})}),c),f}}.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("7572"),r=n.n(i);r.a},"501c":function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return g})),n.d(t,"off",(function(){return v})),n.d(t,"once",(function(){return y})),n.d(t,"emit",(function(){return b})),n.d(t,"subscribe",(function(){return _})),n.d(t,"unsubscribe",(function(){return T})),n.d(t,"subscribeHandler",(function(){return w})),n.d(t,"publishHandler",(function(){return p["a"]}));var i=n("8bbf"),r=n.n(i);function a(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)}var o=n("6bdf"),s=n("5dc1"),u=n("1c73"),c={setPageMeta:a,requestComponentInfo:o["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"],requestMediaQueryObserver:u["b"],destroyMediaQueryObserver:u["a"]},l=n("33ed"),d=n("7107"),h=n("764a");function f(e){Object.keys(c).forEach((function(t){e(t,c[t])})),e("pageScrollTo",l["c"]),e("loadFontFace",d["a"]),Object(h["a"])(e)}var p=n("4a59"),m=new r.a,g=m.$on.bind(m),v=m.$off.bind(m),y=m.$once.bind(m),b=m.$emit.bind(m);function _(e,t){return g("service."+e,t)}function T(e,t){return v("service."+e,t)}function w(e,t,n){b("service."+e,t,n)}f(_)},"50c5":function(e,t,n){},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"]},"515d":function(e,t,n){},5222:function(e,t,n){"use strict";(function(e){var i=n("5a56");t["a"]={name:"Toast",mixins:[i["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(e){return-1!==["success","loading","error","none"].indexOf(e)}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},computed:{iconClass:function(){return"success"===this.icon?"uni-icon-success-no-circle":"loading"===this.icon?"uni-loading":"error"===this.icon?"uni-icon-error":""}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){e.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},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}]}},5378:function(e,t,n){"use strict";var i=n("43a1"),r=n.n(i);r.a},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","./view/index.vue":"2bbe"};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"},"54bc":function(e,t,n){},"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,r,a=n("ba15"),o=n("f2b3"),s={name:"Swiper",mixins:[a["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var e=Number(this.interval);return isNaN(e)?5e3:e},durationNumber:function(){var e=Number(this.duration);return isNaN(e)?500:e},displayMultipleItemsNumber:function(){var e=Math.round(this.displayMultipleItems);return isNaN(e)?1:e},slidesStyle:function(){var e={};return(this.nextMargin||this.previousMargin)&&(e=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),e},slideFrameStyle:function(){var e=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":e,height:this.vertical?e:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},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)},currentItemId:function(e){this._currentCheck()},currentItemIdSync:function(e){this.$emit("update:currentItemId",e)},displayMultipleItemsNumber:function(){this._resetLayout()}},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)},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;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=-o(-i):i>r&&(i=r+o(i-r)),t._contentTrackSpeed=0),t._updateViewport(i)}},_handleTrackEnd:function(e){if(this.items.length){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}}}},render:function(e){var t=this,n=[],i=[];this.$slots.default&&Object(o["f"])(this.$slots.default,e).forEach((function(e){e.componentOptions&&"v-uni-swiper-item"===e.componentOptions.tag&&i.push(e)}));for(var r=function(i,r){var a=t.currentSync;n.push(e("div",{on:{click:function(){t._animateViewport(t.currentSync=i,t.currentChangeSource="click",t.circularEnabled?1:0)}},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("c33a"),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("28da"),r=n.n(i);r.a},5768:function(e,t,n){"use strict";n.r(t);var i=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},domProps:{value:e.valueSync},on:{change:function(e){e.stopPropagation()},compositionstart:function(t){return t.stopPropagation(),e._onCompositionstart(t)},compositionend:function(t){return t.stopPropagation(),e._onCompositionend(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()])])},r=[],a=n("8af1"),o="(prefers-color-scheme: dark)",s={name:"Textarea",mixins:[a["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:""}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(o).media!==o}},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["done","go","next","search","send"].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())},_onCompositionstart:function(e){this.composing=!0},_onCompositionend:function(e){this.composing&&(this.composing=!1,this._onInput(e))},_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.valueComposition=e.target.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("2877")),l=Object(c["a"])(u,i,r,!1,null,null,null);t["default"]=l.exports},"57a7":function(e,t,n){"use strict";n.r(t),n.d(t,"createInnerAudioContext",(function(){return h}));var i=n("db70");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;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=d[n];if(a)if(l(a,t,i,r),"play"===t){var o=a.currentTime;a.__timing=setInterval((function(){var e=a.currentTime;e!==o&&l(a,"timeupdate")}),200)}else"pause"!==t&&"stop"!==t&&"error"!==t||clearInterval(a.__timing)}));var d=Object.create(null);function h(){var e=Object(i["c"])("createAudioInstance"),t=e.audioId,n=new c(t);return d[t]=n,n}},"581a":function(e,t,n){},5881: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"])},"594d":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("uni-map",e._g({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))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[e._t("default")],2)],2)},r=[],a=n("738e"),o=a["a"],s=(n("3f7e"),n("2877")),u=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=u.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"))},"5a23":function(e,t,n){"use strict";n("f2b3");var i,r=n("5cf8");function a(){}t["a"]={name:"Keyboard",mixins:[r["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},directives:{keyboard:{inserted:function(e,t,n){n.context.initKeyboard(e)}}},methods:{initKeyboard:function(e){e.addEventListener("focus",(function(){clearTimeout(i),document.addEventListener("click",a,!1)}));var t=function(){document.removeEventListener("click",a,!1),0===String(navigator.vendor).indexOf("Apple")&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};e.addEventListener("blur",(function(){e.blur(),t()}))}}}},"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("b2bb"),r=n.n(i);r.a},"5abe":function(e,t){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.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()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.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]}))},i.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},i.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}))))},i.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))},i.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():l();this._observationTargets.forEach((function(i){var a=i.element,o=c(a),s=this._rootContainsTarget(a),u=i.entry,l=e&&s&&this._computeTargetAndRootIntersection(a,t),d=i.entry=new n({time:r(),target:a,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)},i.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){var i=c(t),r=i,a=h(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=h(a)}return r}},i.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)},i.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},i.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=h(n)}return!1}function h(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}})()},"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;ae.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?_.PICKER:_.SELECT},system:function(){if(this.mode===y.DATE&&!Object.values(b).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===y.TIME||this.mode===y.DATE){var n=this.mode===y.TIME?this._getTimeValue:this._getDateValue,i=this.valueArray,r=this.startArray,a=this.endArray;if(this.mode===y.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===y.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 y.SELECTOR:this.valueSync=0;break;case y.MULTISELECTOR:this.valueSync=this.value.map((function(e){return 0}));break;case y.DATE:case y.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=(new Date).getFullYear(),n=t-150,i=t+150;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){var t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)},_cloneArray:function(e,t){for(var n=0;no?0:a)}break;case y.TIME:case y.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 y.MULTISELECTOR:e=l(t);break;case y.TIME:e=this._getDateValueArray(t,Object(o["g"])({mode:y.TIME}));break;case y.DATE:e=this._getDateValueArray(t,Object(o["g"])({mode:y.DATE}));break;default:e=[t];break}this.oldValueArray=l(e),this.valueArray=l(e)},_getValue:function(){var e=this,t=this.valueArray;switch(this.mode){case y.SELECTOR:return t[0];case y.MULTISELECTOR:return t.map((function(e){return e}));case y.TIME:return this.valueArray.map((function(t,n){return e.timeArray[n][t]})).join(":");case y.DATE:return this.valueArray.map((function(t,n){return e.dateArray[n][t]})).join("-")}},_getDateValueArray:function(e,t){var n,i=this.mode===y.DATE?"-":":",r=this.mode===y.DATE?this.dateArray:this.timeArray;if(this.mode===y.TIME)n=2;else switch(this.fields){case b.YEAR:n=1;break;case b.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=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)},r=[],a=n("f2ce"),o=a["a"],s=(n("6730"),n("2877")),u=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=u.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"))},"72ad":function(e,t,n){},"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),h=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)),h*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)),h*c*t+d*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,m=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(m*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),i=Math.sin(f*e);return t*(g*f*n-m*f*i)+p*t*(g*i+m*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(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]}},"738e":function(e,t,n){"use strict";(function(e){var i=n("8af1"),r=n("31c6"),a=n("453f"),o=n("636c");function s(e){return"getLat"in e?e.getLat():e.lat()}function u(e){return"getLng"in e?e.getLng():e.lng()}t["a"]={name:"Map",components:{mapMarker:a["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[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[],controlsSync:[]}},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()}))},controls:function(){var e=this;this.mapReady((function(){e.createControls()}))},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(r["a"])(this.libraries,(function(t){e._maps=t,e.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeControls(),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=s(i),n=u(i),o({latitude:e,longitude:n})}));break;case"moveToLocation":var c=r.latitude,l=r.longitude,d=c&&l?new a.LatLng(c,l):this._locationPosition;d&&(this._map.setCenter(d),o({}));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=new a.LatLng(n.latitude,n.longitude),h=a.geometry.spherical.computeDistanceBetween(l,d)/1e3,f=("number"===typeof i?i:1e3)/36e5,p=h/f,m=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)})),g=a.event.addListener(e,"moveend",(function(t){g.remove(),m.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()})),v=0;s&&(e.lastPosition&&(v=a.geometry.spherical.computeHeading(e.lastPosition,l)),u=a.geometry.spherical.computeHeading(l,d)-v),"setRotation"in e&&e.setRotation(c+u),"moveTo"in e?e.moveTo(d,p):(e.setPosition(d),a.event.trigger(e,"moveend",{}))}catch(y){o(null,y)}}));break;case"includePoints":this.fitBounds(r.points);break;case"getRegion":this.boundsReady((function(){var e=t._map.getBounds(),n=e.getSouthWest(),i=e.getNorthEast();o({southwest:{latitude:s(n),longitude:u(n)},northeast:{latitude:s(i),longitude:u(i)}})}));break;case"getScale":this.mapReady((function(){o({scale:t._map.getZoom()})}));break}},init:function(){var e=this,t=this._maps,n=new t.LatLng(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:s(e),longitude:u(e)}}}t.event.addListener(i,"click",(function(){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()))})),t.event.addListener(i,"zoom_changed",(function(){e.$emit("update:scale",i.getZoom()),e.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},a()))})),t.event.addListener(i,"center_changed",(function(){var t,n,r=i.getCenter();t=s(r),n=u(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.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),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")},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(){e._map.setCenter(new t.LatLng(n,i))})))},createPolyline:function(){var e=this._maps,t=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(i){var r=[];if(i.points.forEach((function(t){r.push(new e.LatLng(t.latitude,t.longitude))})),i.borderWidth){var a=new e.Polyline({map:t,clickable:!1,path:r,strokeWeight:i.width+i.borderWidth,strokeColor:i.borderColor,strokeDashStyle:i.dottedLine?"dash":"solid"});n.push(a)}var o=new e.Polyline({map:t,clickable:!1,path:r,strokeWeight:i.width,strokeColor:i.color,strokeDashStyle:i.dottedLine?"dash":"solid"});n.push(o)}))},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 r=new e.LatLng(i.latitude,i.longitude);function a(t){var n=t&&t.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/);return"Color"in e?n&&n.length?e.Color.fromHex(n[0],Number("0x"+n[1]||!1)/255):void 0:t}var o=new e.Circle({map:t,center:r,clickable:!1,radius:i.radius,strokeWeight:Number(i.strokeWidth)||1,fillColor:a(i.fillColor)||a("#00000001"),strokeColor:a(i.color)||"#000000",strokeDashStyle:"solid"});n.push(o)}))},removeCircles:function(){var e=this.circlesSync;e.forEach((function(e){e.setMap(null)})),e.splice(0,e.length)},createControls:function(){var e=this,t=this._maps,n=this,i=this._map,r=this.controlsSync;this.removeControls(),this.controls.forEach((function(a){var o=a.position||{},s=document.createElement("div"),u=new Image;s.appendChild(u);var c=s.style;c.position="absolute",c.width=0,c.height=0,u.onload=function(){a.position.width&&(u.width=a.position.width),a.position.height&&(u.height=a.position.height);var e=u.style;e.position="absolute",e.left=(o.left||0)+"px",e.top=(o.top||0)+"px",e.maxWidth="initial"},u.src=e.$getRealPath(a.iconPath),u.onclick=function(e){a.clickable&&n.$trigger("controltap",e,{controlId:a.id})},i.controls[t.ControlPosition.TOP_LEFT].push(s),r.push(s)}))},removeControls:function(){var e=this.controlsSync;e.forEach((function(e){e.remove()})),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=new n.LatLng(e.latitude,e.longitude);r=new n.Marker({position:a,map:i,icon:new n.MarkerImage(o["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0}),t._location=r,s(),t.__onCompassChange=function(e){r.setRotation(e.direction)},uni.onCompassChange(t.__onCompassChange)}},fail:function(t){e.error(t)}});var a=this;function s(){r===a._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(e){var t=a._locationPosition=new n.LatLng(e.latitude,e.longitude);r.setPosition(t)},fail:function(t){e.error(t)},complete:function(){s()}})}),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,a=new i.LatLngBounds;e.forEach((function(e){var t=e.longitude,n=e.latitude,r=new i.LatLng(n,t);a.extend(r)})),r.fitBounds(a),"function"===typeof t&&t()}))},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"])},7572:function(e,t,n){},"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["q"]&&{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["c"]: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,h=Object(i["l"])(a.titleNView)&&"transparent"===a.titleNView.type||Object(i["l"])(a.navigationBar)&&"transparent"===a.navigationBar.type;t&&document.removeEventListener("scroll",t),(h||c||l)&&(t=Object(o["a"])(e.$page.id,{enablePageScroll:c,enablePageReachBottom:l,onReachBottomDistance:d,enableTransparentTitleNView:h}),requestAnimationFrame((function(){document.addEventListener("scroll",t)})))}))}}).call(this,n("3ad9")["default"])},"77d5":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"])},"78c8":function(e,t,n){"use strict";n.r(t),n.d(t,"getSystemInfoSync",(function(){return v})),n.d(t,"getSystemInfo",(function(){return y}));var i,r=n("a470"),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("d8c8"),c=n.n(u),l=navigator.userAgent,d=/android/i.test(l),h=/iphone|ipad|ipod/i.test(l),f=l.match(/Windows NT ([\d|\d.\d]*)/i),p=/Macintosh|Mac/i.test(l),m=/Linux|X11/i.test(l),g=p&&navigator.maxTouchPoints>0;function v(){var e,t,n,i=window.screen,a=window.devicePixelRatio,o=/^Apple/.test(navigator.vendor)&&"number"===typeof window.orientation,u=o&&90===Math.abs(window.orientation),v=o?Math[u?"max":"min"](i.width,i.height):i.width,y=o?Math[u?"min":"max"](i.height,i.width):i.height,b=Math.min(window.innerWidth,document.documentElement.clientWidth,v)||v,_=window.innerHeight,T=navigator.language,w=c.a.top;if(h){e="iOS";var S=l.match(/OS\s([\w_]+)\slike/);S&&(t=S[1].replace(/_/g,"."));var k=l.match(/\(([a-zA-Z]+);/);k&&(n=k[1])}else if(d){e="Android";var C=l.match(/Android[\s/]([\w\.]+)[;\s]/);C&&(t=C[1]);for(var x=l.match(/\((.+?)\)/),E=x?x[1].split(";"):l.split(" "),A=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],O=0;O0){n=j.split("Build")[0].trim();break}for(var I=void 0,P=0;Pe}t["a"]={name:"Layout",props:{routerKey:{type:String,default:""},keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{marginWidth:0,leftWindowStyle:"",rightWindowStyle:"",topWindowStyle:"",topWindowMediaQuery:!1,leftWindowMediaQuery:!1,rightWindowMediaQuery:!1,topWindowHeight:"0px",apiShowTopWindow:!1,apiShowLeftWindow:!1,apiShowRightWindow:!1,navigationBarTitleText:"",maxWidthMeidaQuery:!1}},computed:{bindWindow:function(){return{matchTopWindow:this.topWindowMediaQuery,showTopWindow:this.showTopWindow||this.apiShowTopWindow,matchLeftWindow:this.leftWindowMediaQuery,showLeftWindow:this.showLeftWindow||this.apiShowLeftWindow,matchRightWindow:this.rightWindowMediaQuery,showRightWindow:this.showRightWindow||this.apiShowRightWindow}},showLayout:function(){return this.showTopWindow||this.showLeftWindow||this.showRightWindow},showTopWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.topWindow&&this.topWindowMediaQuery},showLeftWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.leftWindow&&this.leftWindowMediaQuery},showRightWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.rightWindow&&this.rightWindowMediaQuery}},watch:{$route:function(){this.checkMaxWidth()},showLayout:function(){this.checkLayout()},showTopWindow:function(e,t){e?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")},showLeftWindow:function(e,t){e?this.$nextTick(this.onLeftWindowInit):l("--window-left","0px")},showRightWindow:function(e,t){e?this.$nextTick(this.onRightWindowInit):l("--window-right","0px")},marginWidth:function(e){l("--window-margin",e+"px")}},beforeCreate:function(){l("--top-window-height","0px"),l("--window-left","0px"),l("--window-right","0px"),l("--window-margin","0px")},created:function(){var t=this;this.topWindow=a.a.component("VUniTopWindow"),this.leftWindow=a.a.component("VUniLeftWindow"),this.rightWindow=a.a.component("VUniRightWindow"),(this.topWindow||this.leftWindow||this.rightWindow)&&uni.canIUse("css.var")&&window.matchMedia&&(u.forEach((function(e){return t.initWindowMinWidth(e)})),this.responsive=d(this.minWidth),this.responsive&&(this.topWindow&&this.topWindow.options.style&&(this.topWindowStyle=this.topWindow.options.style),this.leftWindow&&this.leftWindow.options.style&&(this.leftWindowStyle=this.leftWindow.options.style),this.rightWindow&&this.rightWindow.options.style&&(this.rightWindowStyle=this.rightWindow.options.style),u.forEach((function(e){return t.initMediaQuery(e)})),e.on("onNavigationBarChange",(function(e){t.navigationBarTitleText=e.titleText})))),this.initMaxWidth()},mounted:function(){this.checkLayout(),this.checkMaxWidth()},methods:{resetApiShowWindow:function(){this.apiShowLeftWindow=!1,this.apiShowRightWindow=!1},showWindow:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this[e+"Window"])return e+"Window not found";var n=Object(o["c"])(e);if(!this["show"+n+"Window"]){var i="apiShow"+n+"Window";this[i]!==t&&(this[i]=t,"top"===e&&(t?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")))}},getWindowStyle:function(e){if(!this[e+"Window"])return e+"Window not found";var t=Object.assign({},this[e+"WindowStyle"]);return t},setWindowStyle:function(e,t){if(!this[e+"Window"])return e+"Window not found";t&&(this[e+"WindowStyle"]=t,this.$nextTick(this["on"+Object(o["c"])(e)+"WindowInit"]))},initMaxWidth:function(){var e=this;window.addEventListener("resize",(function(){e.checkMaxWidth()}))},checkLayout:function(){this.$emit("layout",this.showLayout)},checkMaxWidth:function(){var e=this,t=document.body.clientWidth,n=parseInt(this.$route.meta.maxWidth),i=!1;i=t>n,this.$emit("maxWidth",i),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(i&&n?(this.marginWidth=(t-n)/2,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.setAttribute("style","max-width:"+n+"px;margin:0 auto;")}))):(this.marginWidth=0,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.removeAttribute("style")}))))},initWindowMinWidth:function(e){var t=e+"Window";if(this[t]){var n=e+"WindowMinWidth";this[n]=s["b"];var i=__uniConfig[t];i&&i.matchMedia&&Object(o["i"])(i.matchMedia,"minWidth")&&(this[n]=i.matchMedia.minWidth),("undefined"===typeof this.minWidth||this.minWidth>this[n])&&(this.minWidth=this[n])}},initMediaQuery:function(e){var t=this;if(this[e+"Window"]){var n=e+"WindowMediaQuery",i=window.matchMedia("(min-width: "+this[e+"WindowMinWidth"]+"px)");i.addListener((function(i){t[n]=i.matches,t.$nextTick((function(){t["on"+Object(o["c"])(e)+"WindowInit"]()}))})),this[n]=i.matches}},onTopWindowInit:function(){if(this.responsive&&this.topWindow){var e="0px";e=this.topWindowStyle&&this.topWindowStyle.height?this.$refs.topWindow.offsetHeight+"px":this.$refs.top.$el.offsetHeight+"px",this.topWindowHeight=e,l("--top-window-height",e)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?l("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):l("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):l("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?l("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):l("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):l("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(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.focus(),i.select();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=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)])},r=[],a=n("8af1"),o={name:"Checkbox",mixins:[a["a"],a["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}}},s=o,u=(n("f53a"),n("2877")),c=Object(u["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"7c2b":function(e,t,n){"use strict";var i=n("2c45"),r=n.n(i);r.a},"7d18":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"uploadFile",(function(){return c}));var i=n("e2e2");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;n=0&&this._callbacks.splice(t,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),e}();function c(t,n){var r=t.url,a=t.file,o=t.filePath,s=t.name,c=t.files,l=t.header,d=t.formData,h=t.timeout,f=void 0===h?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:h,p=e,m=p.invokeCallbackHandler,g=new u(null,n);function v(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){g._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),m(n,{errMsg:"uploadFile:fail"})},i.onabort=function(){clearTimeout(t),m(n,{errMsg:"uploadFile:fail abort"})},i.onload=function(){clearTimeout(t);var e=i.status;m(n,{errMsg:"uploadFile:ok",statusCode:e,data:i.responseText||i.response})},g._isAbort?m(n,{errMsg:"uploadFile:fail abort"}):(t=setTimeout((function(){i.upload.onprogress=i.onload=i.onabort=i.onerror=null,g.abort(),m(n,{errMsg:"uploadFile:fail timeout"})}),f),i.send(a),g._xhr=i)}return Array.isArray(c)&&c.length||(c=[{name:s,file:a,uri:o}]),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(v).catch((function(){setTimeout((function(){m(n,{errMsg:"uploadFile:fail file error"})}),0)})),g}}.call(this,n("0dd1"))},"7df2":function(e,t,n){},"7e6a":function(e,t,n){"use strict";var i=n("515d"),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 h})),n.d(t,"sendSocketMessage",(function(){return f})),n.d(t,"closeSocket",(function(){return p})),n.d(t,"onSocketOpen",(function(){return m})),n.d(t,"onSocketError",(function(){return g})),n.d(t,"onSocketMessage",(function(){return v})),n.d(t,"onSocketClose",(function(){return y}));var i=n("a118"),r=n("db70");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}(),c=Object.create(null),l=[],d=Object.create(null);function h(e,t){var n=Object(r["c"])("createSocketTask",e),a=n.socketTaskId,o=new u(a);return c[a]=o,l.push(o),setTimeout((function(){Object(i["a"])(t,{errMsg:"connectSocket:ok"})}),0),o}function f(e,t){var n=l[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 p(e,t){var n=l[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 m(e){d.open=e}function g(e){d.error=e}function v(e){d.message=e}function y(e){d.close=e}Object(r["d"])("onSocketTaskStateChange",(function(e){var t=e.socketTaskId,n=e.state,r=e.data,a=(e.errMsg,c[t]);if(a){if("open"===n&&(a.readyState=a.OPEN),a===l[0]&&d[n]&&Object(i["a"])(d[n],"message"===n?{data:r}:{}),"error"===n||"close"===n){a.readyState=a.CLOSED,delete c[t];var o=l.indexOf(a);o>=0&&l.splice(o,1)}a._callbacks[n].forEach((function(e){"function"===typeof e&&e("message"===n?{data:r}:{})}))}}))},8188:function(e,t,n){"use strict";(function(e){var i=n("8af1"),r=n("18fd"),a=n("b253"),o=n("93ab");function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(){var e=navigator.userAgent,t=/iphone|ipad|ipod/i.test(e),n=/Macintosh|Mac/i.test(e),i=n&&navigator.maxTouchPoints>0;return t||i}var c=!1;t["a"]={name:"Editor",mixins:[i["g"],i["a"],i["e"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(e){if(this.quillReady){var t=this.quill;t.enable(!e),e||t.blur()}},placeholder:function(e){this.quillReady&&this.setPlaceHolder(e)}},mounted:function(){var e=this,t=[];this.showImgSize&&t.push("DisplaySize"),this.showImgToolbar&&t.push("Toolbar"),this.showImgResize&&t.push("Resize");var n="https://unpkg.com/quill@1.3.7/dist/quill.min.js";Object(o["a"])(window.Quill,n,(function(){if(t.length){var n="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Object(o["a"])(window.ImageResize,n,(function(){e.initQuill(t)}))}else e.initQuill(t)}))},methods:{_handleSubscribe:function(t){var n,i,r,a=t.type,o=t.data,u=o.options,l=o.callbackId,d=this.quill,h=window.Quill;if(this.quillReady){switch(a){case"format":var f=u.name,p=void 0===f?"":f,m=u.value,g=void 0!==m&&m;i=d.getSelection(!0);var v=d.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))g=!v;else if("direction"===p){g=("rtl"!==g||!v)&&g;var y=d.getFormat(i).align;"rtl"!==g||y?g||"right"!==y||d.format("align",!1,h.sources.USER):d.format("align","right",h.sources.USER)}else if("indent"===p){var b="rtl"===d.getFormat(i).direction;g="+1"===g,b&&(g=!g),g=g?"+1":"-1"}else"list"===p&&(g="check"===g?"unchecked":g,v="checked"===v?"unchecked":v),g=v&&v!==(g||!1)||!v&&g?g:!v;d.format(p,g,h.sources.USER);break;case"insertDivider":i=d.getSelection(!0),d.insertText(i.index,"\n",h.sources.USER),d.insertEmbed(i.index+1,"divider",!0,h.sources.USER),d.setSelection(i.index+2,h.sources.SILENT);break;case"insertImage":i=d.getSelection(!0);var _=u.src,T=void 0===_?"":_,w=u.alt,S=void 0===w?"":w,k=u.width,C=void 0===k?"":k,x=u.height,E=void 0===x?"":x,A=u.extClass,O=void 0===A?"":A,j=u.data,I=void 0===j?{}:j,P=this.$getRealPath(T);d.insertEmbed(i.index,"image",P,h.sources.USER);var L=!!/^(file|blob):/.test(P)&&P;c=!0,d.formatText(i.index,1,"data-local",L),d.formatText(i.index,1,"alt",S),d.formatText(i.index,1,"width",C),d.formatText(i.index,1,"height",E),d.formatText(i.index,1,"class",O),c=!1,d.formatText(i.index,1,"data-custom",Object.keys(I).map((function(e){return"".concat(e,"=").concat(I[e])})).join("&")),d.setSelection(i.index+1,h.sources.SILENT);break;case"insertText":i=d.getSelection(!0);var M=u.text,D=void 0===M?"":M;d.insertText(i.index,D,h.sources.USER),d.setSelection(i.index+D.length,0,h.sources.SILENT);break;case"setContents":var R=u.delta,N=u.html;"object"===s(R)?d.setContents(R,h.sources.SILENT):"string"===typeof N?d.setContents(this.html2delta(N),h.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":d.setContents([]);break;case"removeFormat":i=d.getSelection(!0);var B=h.import("parchment");i.length?d.removeFormat(i,h.sources.USER):Object.keys(d.getFormat(i)).forEach((function(e){B.query(e,B.Scope.INLINE)&&d.format(e,!1)}));break;case"undo":d.history.undo();break;case"redo":d.history.redo();break;case"blur":d.blur();break;case"getSelectionText":i=d.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=d.getText(i.index,i.length));break;case"scrollIntoView":d.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";l&&e.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(r?"fail "+r:"ok")})},this.$page.id)},setPlaceHolder:function(e){var t="data-placeholder",n=this.quill.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)},initQuill:function(e){var t=this,n=window.Quill;a["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};e.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:e});var r=this.quill=new n(this.$el,i),o=r.root,s=["focus","blur","input"];s.forEach((function(e){o.addEventListener(e,(function(n){var i=t.getContents();if("input"===e){if(u()){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,(function(){c||t.$trigger("input",{},t.getContents())})),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(o),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(r["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 a=this.quill.clipboard.convert(i);return this.skipMatcher=!1,a},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"))},"81ea":function(e,t,n){"use strict";var i=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.iconPath||t.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!t.text},style:{width:e.iconWidth,height:e.iconWidth}},[t.isMidButton?e._e():n("img",{attrs:{src:e._getRealPath(e.getIconPath(t,i))}}),t.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):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)+" "),t.redDot&&!t.iconPath?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!t.badge}},[e._v(" "+e._s(t.badge)+" ")]):e._e()]):e._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:e.height}})])},r=[],a=n("a919"),o=a["a"],s=(n("f4e0"),n("2877")),u=Object(s["a"])(o,i,r,!1,null,null,null),c=u.exports,l=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)},d=[],h=n("7ac7"),f=h["a"],p=(n("639e"),Object(s["a"])(f,l,d,!1,null,null,null)),m=p.exports,g=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)},v=[],y=n("5222"),b=y["a"],_=(n("ff28"),Object(s["a"])(b,g,v,!1,null,null,null)),T=_.exports,w=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)},S=[],k=n("5a56"),C=n("da71");function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E={name:"Modal",components:{keypress:C["a"]},mixins:[k["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},methods:{_close:function(e){var t=x({},e,!0);this.editable&&"confirm"===e&&(t.content=this.$refs.editContent.value),this.$emit("close",t)}}},A=E,O=(n("2765"),Object(s["a"])(A,w,S,!1,null,null,null)),j=O.exports,I=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.itemColor},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.itemColor},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)},P=[],L=n("4ccd"),M=n("a6b0"),D=n("ba15"),R=n("8aec"),N=n("5363"),B=n("72b3"),U=n("d4cd");function F(e){var t=20,n=0,i=0;e.addEventListener("touchstart",(function(e){var t=e.changedTouches[0];n=t.clientX,i=t.clientY})),e.addEventListener("touchend",(function(e){var r=e.changedTouches[0];if(Math.abs(r.clientX-n)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()}}},H=$,V=(n("4fef"),Object(s["a"])(H,I,P,!1,null,null,null)),q=V.exports,z={Toast:T,Modal:j,ActionSheet:q};function W(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 G(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 h}));var i=n("f2b3"),r=n("a118"),a=n("db70");function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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){var t=this;e._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(e.touches.length>1||(this.hoverStopPropagation&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){t.hovering=!0,t._hoverTouch||t._hoverReset()}),this.hoverStartTime)))},_hoverTouchEnd:function(e){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(e){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"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 b})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return C})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return A}));var i=n("f2b3");function r(e){return u(e)||s(e)||o(e)||a()}function a(){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){if(e){if("string"===typeof e)return c(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)?c(e,t):void 0}}function s(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function u(e){if(Array.isArray(e))return c(e)}function c(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 r=t[n];t[n]=function(t){S(e[n],t).then((function(e){return Object(i["k"])(r)&&r(e)||e}))}}})),t}function C(e,t){var n=[];Array.isArray(h.returnValue)&&n.push.apply(n,r(h.returnValue));var i=f[e];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,r(i.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function x(e){var t=Object.create(null);Object.keys(h).forEach((function(e){"returnValue"!==e&&(t[e]=h[e].slice())}));var n=f[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function E(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(){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;rt-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}},c.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}},c.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}},c.prototype.dt=function(){return-this._x_v/this._x_a},c.prototype.done=function(){var e=o(this.s().x,this._endPositionX)||o(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},c.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},c.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},l.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),h=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)),h*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)),h*c*t+d*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,m=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(m*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),i=Math.sin(f*e);return t*(g*f*n-m*f*i)+p*t*(g*i+m*n)}}},l.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},l.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},l.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!s(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(s(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),s(t,.1)&&(t=0),s(i,.1)&&(i=0),i+=this._endPosition),this._solution&&s(i-e,.1)&&s(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=n)}},l.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(e){return e||(e=(new Date).getTime()),o(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.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())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function e(e,t){e.reconfigure(1,t,e.damping())}function t(e,t){e.reconfigure(1,e.springConstant(),t)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]},d.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},d.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)}},d.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},d.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 h=n("d4cd"),f=!1;function p(e){f||(f=!0,requestAnimationFrame((function(){e(),f=!1})))}function m(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=m(e.offsetParent,t):0}function g(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=g(e.offsetParent,t):0}function v(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function y(e,t,n){var i=function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)},r={id:0,cancelled:!1};function a(t,n,i,r){if(!t||!t.cancelled){i(n);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(a.bind(null,t,n,i,r))),o&&r&&r(n)}}return a(r,e,t,n),{cancel:i.bind(null,r),model:e}}var b={name:"MovableView",mixins:[a["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)},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 d(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new c(1,this.frictionNumber),this._declineX=new u,this._declineY=new u,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center",Object(h["b"])()},methods:{_getPx:function(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(h["a"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(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),p((function(){t._setTransform(n,i,t._scale,r)}))}}},__handleTouchEnd:function(){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(h["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var 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=y(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:v(e,this._scaleOffset.x),y:v(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}}},_=b,T=(n("7c2b"),n("2877")),w=Object(T["a"])(_,i,r,!1,null,null,null);t["default"]=w.exports},8875:function(e,t,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(t,r):i,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var e,t,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,r=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(d.stack)||r.exec(d.stack),o=a&&a[1]||!1,s=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");o===u&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*