text: (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue-file-agent"]=t():e["vue-file-agent"]=t()})("undefined"!==typeof self?self:this,(function(){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="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",m=function(){return this};e.exports=function(e,t,n,g,y,b,w){c(n,t,g);var x,z,_,S=function(e){if(!h&&e in D)return D[e];switch(e){case p:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",M=y==v,C=!1,D=e.prototype,E=D[f]||D[d]||y&&D[y],O=E||S(y),P=y?M?S("entries"):O:void 0,R="Array"==t&&D.entries||E;if(R&&(_=l(R.call(new e)),_!==Object.prototype&&_.next&&(u(_,k,!0),i||"function"==typeof _[f]||a(_,f,m))),M&&E&&E.name!==v&&(C=!0,O=function(){return E.call(this)}),i&&!w||!h&&!C&&D[f]||a(D,f,O),s[t]=O,s[k]=m,y)if(x={values:M?O:S(v),keys:b?O:S(p),entries:P},w)for(z in x)z in D||o(D,z,x[z]);else r(r.P+r.F*(h||C),t,x);return x}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),c=i(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,c=0;while(s>c)i.f(e,n=a[c++],t[n]);return e}},1991:function(e,t,n){var i,r,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},w=function(e){b.call(e.data)};h&&d||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},i(m),m},d=function(e){delete g[e]},"process"==n("2d95")(f)?i=function(e){f.nextTick(a(b,e,1))}:v&&v.now?i=function(e){v.now(a(b,e,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=w,i=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(e){l.postMessage(e+"","*")},l.addEventListener("message",w,!1)):i=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:d}},"1bc3":function(e,t,n){var i=n("f772");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,n){var i=n("f772"),r=n("e53d").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"1fa8":function(e,t,n){var i=n("cb7c");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&i(o.call(e)),a}}},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),c=n("520a"),u=s("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=d?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!d||!p||"replace"===e&&!l||"split"===e&&!f){var v=/./[h],m=n(a,h,""[e],(function(e,t,n,i,r){return t.exec===c?d&&!r?{done:!0,value:v.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),g=m[0],y=m[1];i(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"27ee":function(e,t,n){var i=n("23c6"),r=n("2b4c")("iterator"),o=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"28a5":function(e,t,n){"use strict";var i=n("aae3"),r=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",v="lastIndex",m=4294967295,g=!l((function(){RegExp(m,"y")}));n("214f")("split",2,(function(e,t,n,l){var y;return y="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);var o,a,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?m:t>>>0,g=new RegExp(e.source,l+"g");while(o=u.call(g,r)){if(a=g[v],a>f&&(c.push(r.slice(f,o.index)),o[p]>1&&o.index<r[p]&&h.apply(c,o.slice(1)),s=o[0][p],f=a,c[p]>=d))break;g[v]===o.index&&g[v]++}return f===r[p]?!s&&g.test("")||c.push(""):c.push(r.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):y.call(String(r),n,i)},function(e,t){var i=l(y,e,this,t,y!==n);if(i.done)return i.value;var u=r(e),h=String(this),d=o(u,RegExp),p=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(g?"y":"g"),b=new d(g?u:"^(?:"+u.source+")",v),w=void 0===t?m:t>>>0;if(0===w)return[];if(0===h.length)return null===c(b,h)?[h]:[];var x=0,z=0,_=[];while(z<h.length){b.lastIndex=g?z:0;var S,k=c(b,g?h:h.slice(z));if(null===k||(S=f(s(b.lastIndex+(g?0:z)),h.length))===x)z=a(h,z,p);else{if(_.push(h.slice(x,z)),_.length===w)return _;for(var M=1;M<=k.length-1;M++)if(_.push(k[M]),_.length===w)return _;z=x=S}}return _.push(h.slice(x)),_}]}))},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),c="toString",u=(""+s).split(c);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||r(n,a,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n("230e")("iframe"),i=o.length,r="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),u=e.F;while(i--)delete u[c][o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=i(e),n=new s,s[c]=null,n[a]=e):n=u(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};s.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"31f4":function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"33a4":function(e,t,n){var i=n("84f2"),r=n("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},"35e8":function(e,t,n){var i=n("d9f6"),r=n("aebd");e.exports=n("8e60")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"37c8":function(e,t,n){t.f=n("2b4c")},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("2d00"),a=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},"454f":function(e,t,n){n("46a7");var i=n("584a").Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"46a7":function(e,t,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,(function(e,t,n,s){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var c=i(e),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;var f,h=[],d=0;while(null!==(f=a(c,u))){var p=String(f[0]);h[d]=p,""===p&&(c.lastIndex=o(u,r(c.lastIndex),l)),d++}return 0===d?null:h}]}))},"4a59":function(e,t,n){var i=n("9b43"),r=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),c=n("27ee"),u={},l={};t=e.exports=function(e,t,n,f,h){var d,p,v,m,g=h?function(){return e}:c(e),y=i(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(d=s(e.length);d>b;b++)if(m=t?y(a(p=e[b])[0],p[1]):y(e[b]),m===u||m===l)return m}else for(v=g.call(e);!(p=v.next()).done;)if(m=r(v,y,p.value,t),m===u||m===l)return m};t.BREAK=u,t.RETURN=l},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4ead":function(e,t,n){},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,s="lastIndex",c=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(e){var t,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",i.call(f))),c&&(t=f[s]),a=r.call(f,e),c&&a&&(f[s]=f.global?a.index+a[0].length:t),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),e.exports=a},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"551c":function(e,t,n){"use strict";var i,r,o,a,s=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),h=n("d3f4"),d=n("d8e8"),p=n("f605"),v=n("4a59"),m=n("ebd6"),g=n("1991").set,y=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),z=n("bcaa"),_="Promise",S=c.TypeError,k=c.process,M=k&&k.versions,C=M&&M.v8||"",D=c[_],E="process"==l(k),O=function(){},P=r=b.f,R=!!function(){try{var e=D.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(O,O)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(i){}}(),T=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var i=e._v,r=1==e._s,o=0,a=function(t){var n,o,a,s=r?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(r||(2==e._h&&A(e),e._h=1),!0===s?n=i:(l&&l.enter(),n=s(i),l&&(l.exit(),a=!0)),n===t.promise?u(S("Promise-chain cycle")):(o=T(n))?o.call(n,c,u):c(n)):u(i)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&F(e)}))}},F=function(e){g.call(c,(function(){var t,n,i,r=e._v,o=L(e);if(o&&(t=w((function(){E?k.emit("unhandledRejection",r,e):(n=c.onunhandledrejection)?n({promise:e,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)})),e._h=E||L(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},A=function(e){g.call(c,(function(){var t;E?k.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},I=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},H=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=T(e))?y((function(){var i={_w:n,_d:!1};try{t.call(e,u(H,i,1),u(I,i,1))}catch(r){I.call(i,r)}})):(n._v=e,n._s=1,j(n,!1))}catch(i){I.call({_w:n,_d:!1},i)}}};R||(D=function(e){p(this,D,_,"_h"),d(e),i.call(this);try{e(u(H,this,1),u(I,this,1))}catch(t){I.call(this,t)}},i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(D.prototype,{then:function(e,t){var n=P(m(this,D));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=u(H,e,1),this.reject=u(I,e,1)},b.f=P=function(e){return e===D||e===a?new o(e):r(e)}),f(f.G+f.W+f.F*!R,{Promise:D}),n("7f20")(D,_),n("7a56")(_),a=n("8378")[_],f(f.S+f.F*!R,_,{reject:function(e){var t=P(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(s||!R),_,{resolve:function(e){return z(s&&this===a?D:this,e)}}),f(f.S+f.F*!(R&&n("5cc5")((function(e){D.all(e)["catch"](O)}))),_,{all:function(e){var t=this,n=P(t),i=n.resolve,r=n.reject,o=w((function(){var n=[],o=0,a=1;v(e,!1,(function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=P(t),i=n.reject,r=w((function(){v(e,!1,(function(e){t.resolve(e).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"584a":function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(e,t,n){var l,f,h,d,p=e&u.F,v=e&u.G,m=e&u.S,g=e&u.P,y=e&u.B,b=v?i:m?i[t]||(i[t]={}):(i[t]||{})[c],w=v?r:r[t]||(r[t]={}),x=w[c]||(w[c]={});for(l in v&&(n=t),n)f=!p&&b&&void 0!==b[l],h=(f?b:n)[l],d=y&&f?s(h,i):g&&"function"==typeof h?s(Function.call,h):h,b&&a(b,l,h,e&u.U),w[l]!=h&&o(w,l,d),g&&x[l]!=h&&(x[l]=h)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),r=!1;try{var o=[7][i]();o["return"]=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(a){}return n}},"5df3":function(e,t,n){"use strict";var i=n("02f4")(!0);n("01f9")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"63b6":function(e,t,n){var i=n("e53d"),r=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),c="prototype",u=function(e,t,n){var l,f,h,d=e&u.F,p=e&u.G,v=e&u.S,m=e&u.P,g=e&u.B,y=e&u.W,b=p?r:r[t]||(r[t]={}),w=b[c],x=p?i:v?i[t]:(i[t]||{})[c];for(l in p&&(n=t),n)f=!d&&x&&void 0!==x[l],f&&s(b,l)||(h=f?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:g&&f?o(h,i):y&&x[l]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[c]=e[c],t}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((b.virtual||(b.virtual={}))[l]=h,e&u.R&&w&&!w[l]&&a(w,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),o=n("69a8"),a=n("86cc").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[i].w},d=function(e){return u&&p.NEED&&c(e)&&!o(e,i)&&l(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},6816:function(e,t,n){"use strict";var i=n("4ead"),r=n.n(i);r.a},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");e.exports=function(e){var t=i[e];o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var i=n("86cc").f,r=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in r||n("9e1e")&&i(r,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},8079:function(e,t,n){var i=n("7726"),r=n("1991").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,c="process"==n("2d95")(a);e.exports=function(){var e,t,n,u=function(){var i,r;c&&(i=a.domain)&&i.exit();while(e){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,i&&i.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){r.call(i,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},8378:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8a81":function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("9e1e"),a=n("5ca1"),s=n("2aba"),c=n("67ab").KEY,u=n("79e5"),l=n("5537"),f=n("7f20"),h=n("ca5a"),d=n("2b4c"),p=n("37c8"),v=n("3a72"),m=n("d4c0"),g=n("1169"),y=n("cb7c"),b=n("d3f4"),w=n("4bf8"),x=n("6821"),z=n("6a99"),_=n("4630"),S=n("2aeb"),k=n("7bbc"),M=n("11e9"),C=n("2621"),D=n("86cc"),E=n("0d58"),O=M.f,P=D.f,R=k.f,T=i.Symbol,j=i.JSON,F=j&&j.stringify,L="prototype",A=d("_hidden"),I=d("toPrimitive"),H={}.propertyIsEnumerable,U=l("symbol-registry"),V=l("symbols"),N=l("op-symbols"),B=Object[L],$="function"==typeof T&&!!C.f,q=i.QObject,G=!q||!q[L]||!q[L].findChild,W=o&&u((function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=O(B,t);i&&delete B[t],P(e,t,n),i&&e!==B&&P(B,t,i)}:P,K=function(e){var t=V[e]=S(T[L]);return t._k=e,t},J=$&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},Z=function(e,t,n){return e===B&&Z(N,t,n),y(e),t=z(t,!0),y(n),r(V,t)?(n.enumerable?(r(e,A)&&e[A][t]&&(e[A][t]=!1),n=S(n,{enumerable:_(0,!1)})):(r(e,A)||P(e,A,_(1,{})),e[A][t]=!0),W(e,t,n)):P(e,t,n)},X=function(e,t){y(e);var n,i=m(t=x(t)),r=0,o=i.length;while(o>r)Z(e,n=i[r++],t[n]);return e},Y=function(e,t){return void 0===t?S(e):X(S(e),t)},Q=function(e){var t=H.call(this,e=z(e,!0));return!(this===B&&r(V,e)&&!r(N,e))&&(!(t||!r(this,e)||!r(V,e)||r(this,A)&&this[A][e])||t)},ee=function(e,t){if(e=x(e),t=z(t,!0),e!==B||!r(V,t)||r(N,t)){var n=O(e,t);return!n||!r(V,t)||r(e,A)&&e[A][t]||(n.enumerable=!0),n}},te=function(e){var t,n=R(x(e)),i=[],o=0;while(n.length>o)r(V,t=n[o++])||t==A||t==c||i.push(t);return i},ne=function(e){var t,n=e===B,i=R(n?N:x(e)),o=[],a=0;while(i.length>a)!r(V,t=i[a++])||n&&!r(B,t)||o.push(V[t]);return o};$||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(N,n),r(this,A)&&r(this[A],e)&&(this[A][e]=!1),W(this,e,_(1,n))};return o&&G&&W(B,e,{configurable:!0,set:t}),K(e)},s(T[L],"toString",(function(){return this._k})),M.f=ee,D.f=Z,n("9093").f=k.f=te,n("52a7").f=Q,C.f=ne,o&&!n("2d00")&&s(B,"propertyIsEnumerable",Q,!0),p.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!$,{Symbol:T});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=E(d.store),ae=0;oe.length>ae;)v(oe[ae++]);a(a.S+a.F*!$,"Symbol",{for:function(e){return r(U,e+="")?U[e]:U[e]=T(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!$,"Object",{create:Y,defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){C.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return C.f(w(e))}}),j&&a(a.S+a.F*(!$||u((function(){var e=T();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!J(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),i[1]=t,F.apply(j,i)}}),T[L][I]||n("32e9")(T[L],I,T[L].valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){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)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a25f:function(e,t,n){var i=n("7726"),r=i.navigator;e.exports=r&&r.userAgent||""},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,v){return[function(i,r){var o=e(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=v(n,e,this,t);if(r.done)return r.value;var f=i(e),h=String(this),d="function"===typeof t;d||(t=String(t));var g=f.global;if(g){var y=f.unicode;f.lastIndex=0}var b=[];while(1){var w=c(f,h);if(null===w)break;if(b.push(w),!g)break;var x=String(w[0]);""===x&&(f.lastIndex=s(h,o(f.lastIndex),y))}for(var z="",_=0,S=0;S<b.length;S++){w=b[S];for(var k=String(w[0]),M=u(l(a(w.index),h.length),0),C=[],D=1;D<w.length;D++)C.push(p(w[D]));var E=w.groups;if(d){var O=[k].concat(C,M,h);void 0!==E&&O.push(E);var P=String(t.apply(void 0,O))}else P=m(k,h,M,C,E,t);M>=_&&(z+=h.slice(_,M)+P,_=M+k.length)}return z+h.slice(_)}];function m(e,t,i,o,a,s){var c=i+e.length,u=o.length,l=d;return void 0!==a&&(a=r(a),l=h),n.call(s,l,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(c);case"<":s=a[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,n){"use strict";var i=n("d8e8");function r(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(d),v=0;v<p.length;v++){var m,g=p[v],y=d[g],b=a[g],w=b&&b.prototype;if(w&&(w[l]||s(w,l,h),w[f]||s(w,f,g),c[g]=h,y))for(m in i)w[m]||o(w,m,i[m],!0)}},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},bcaa:function(e,t,n){var i=n("cb7c"),r=n("d3f4"),o=n("a5b8");e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,c=i(t),u=r(c.length),l=o(a,u);if(e&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),c=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(t.length>c)i(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),o=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),c=o.f,u=0;while(s.length>u)c.call(e,a=s[u++])&&t.push(a)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d864:function(e,t,n){var i=n("79aa");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){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)}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),a=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var i=n("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},ebd6:function(e,t,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[o])?t:r(n)}},f605:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:e.viewBoxComputed}},[e._l(e.icon.paths,(function(t,i){return[t?n("path",{key:i,attrs:{d:t}}):e._e()]}))],2)},o=[],a={audio:["aif","cda","mid","midi","mpa","wma","wpl"],"audio-playable":["mp3","ogg","wav"],archive:["7z","arj","deb","pkg","rar","rpm","tar.gz","z","zip"],disc:["dmg","iso","toast","vcd"],database:["csv","dat","db","dbf","log","mdb","sav","sql","tar"],executable:["apk","bat","bin","cgi","pl","com","exe","gadget","jar","py","wsf","ipa"],font:["fnt","fon","otf","ttf"],image:["ai","bmp","gif","ico","jpeg","jpg","png","ps","psd","svg","tif","tiff"],markup:["asp","aspx","cer","cfm","cgi","pl","css","scss","htm","html","jsp","part","php","py","rss","xml","xhtml"],presentation:["key","odp","pps","ppt","pptx"],script:["c","class","cpp","cs","h","java","js","json","sh","swift","vb"],sheet:["ods","xlr","xls","xlsx"],system:["bak","cab","cfg","cpl","cur","dll","dmp","drv","icns","ini","lnk","msi","sys","tmp"],video:["3g2","3gp","avi","flv","h264","mkv","mpg","mpeg","rm","swf","vob","wmv"],"video-playable":["mp4","webm","mov"],vue:["vue"],doc:["doc","docx","odt","rtf","tex","wks","wps","wpd"],text:["txt"],ebook:["epub"],pdf:["pdf"],folder:["folder"],play:["play"]},s=function(e,t,n){e=Array.isArray(e)?e:[e],this.paths=e,this.color=t,this.viewBox=n},c=["M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm-4 29V15l12 9-12 9z"],u={folder:new s(["M96.5 93.7h-93c-2 0-3.5-1.5-3.5-3.5V35.4h100v54.8c0 2-1.5 3.5-3.5 3.5z","M44.9 20V9.7c0-2-1.5-3.5-3.5-3.5h-38C1.5 6.3 0 7.8 0 9.7v25.7h100V23.5c0-2-1.5-3.5-3.5-3.5H44.9z"],"#efce4a"),audio:new s(["M32.5 37.5h-9v25h9L53.6 77V23L32.5 37.5M71.9 50c0 6.8-3.7 12.7-9.1 15.8l2.8 4.9c7.1-4.1 11.9-11.8 11.9-20.7 0-8.8-4.8-16.6-11.9-20.7l-2.8 4.9c5.4 3.1 9.1 9 9.1 15.8z","M62.1 50c0 3.2-1.7 5.9-4.3 7.4l2.7 4.7c4.2-2.4 7-6.9 7-12.1 0-5.2-2.8-9.7-7-12.1l-2.7 4.7c2.6 1.5 4.3 4.2 4.3 7.4z"],"#039"),video:new s(["M21 26.4v47.1h58V26.4H21zm10.9 43.5h-7.2v-7.2h7.2v7.2zm0-10.8h-7.2v-7.2h7.2v7.2zm0-10.9h-7.2V41h7.2v7.2zm0-10.9h-7.2v-7.2h7.2v7.2zm10.9 25.4V37.3L60.9 50 42.8 62.7zm32.6 7.2h-7.2v-7.2h7.2v7.2zm0-10.8h-7.2v-7.2h7.2v7.2zm0-10.9h-7.2V41h7.2v7.2zm0-10.9h-7.2v-7.2h7.2v7.2z"],"#ef6f2e"),"audio-playable":new s(c,"#039","0 0 48 48"),"video-playable":new s(c,"#ef6f2e","0 0 48 48"),archive:new s(["M72.4 38.5h-7.9v-7.9l7.9 7.9zm-21.3-7.9v28.8h21.4v-19h-9.9v-9.9H51.1zm3.3-7.6H30.8v5.6h9.3l-5.9 4.5v4.8l8.6-6.6v-2.7h30.1v-2.3L54.4 23zM42.9 35.1l-8.6 6.6v4.8l8.6-6.6v-4.8zm-8.7 20l8.6-6.6v-4.8l-8.6 6.6v4.8zm8.7 2v-4.8l-8.6 6.6v2.6h-3.4v5.6h5.3v3.8H33c-.6-1-1.6-1.6-2.8-1.6-1.8 0-3.2 1.4-3.2 3.2s1.4 3.2 3.2 3.2c1.2 0 2.2-.6 2.8-1.6h3.1V77h4.8v-2.9H44c.6 1 1.6 1.6 2.8 1.6 1.8 0 3.2-1.4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 0 4.2-3.4 7.6-7.6 7.6z"],"#999"),image:new s(["m 40.400002,35 a 8,8 0 0 1 -8,8 8,8 0 0 1 -8,-8 8,8 0 0 1 8,-8 8,8 0 0 1 8,8 z","M78.9 47.3l-9.7-9.6L50 57l-9.6-9.7-19.3 19.3V73h57.8z"],"#5b2d8d"),doc:new s(["M29.6 53l-5.9-18.2c-.2-.7-.4-1-.5-1-.1-.1-.2-.1-.4-.2l-2.1-.6-.1-2.6h11l.2 2.6-2.1.6v.2c0 .2.1.7.4 1.2l2.2 7 3.9-11.7 3-.1 3.6 11.7 2.5-7c.1-.5.4-1 .4-1.2v-.1l-1.8-.5-.1-2.7h8.6l.2 2.6-2.3.7c-.1 0-.2.1-.4.1 0 .1-.2.2-.4.9L43 52.8l-3.1.2-3.3-11.2-3.9 11-3.1.2z","M57.8 30.2h21.7v3.4H57.8zm0 9.2h21.7v3.4H57.8zm0 9.4h21.7v3.4H57.8zm-36.2 9.6h57.9v3.4H21.6zm0 9.4h57.9v3.4H21.6z"],"#2372ba"),executable:new s(["M33.1 29.8l-6.6 6.6L37.2 47 26.5 57.6l6.6 6.6L50.2 47zm18.8 31.1h22.6v9.2H51.9z"],"#333"),ebook:new s(["M75.8 45.7c-.3-.6-.7-1.2-1.3-1.6-.1.5-.3 1-.6 1.5L58.3 69.8c-.6.9-1.9 1.1-2.9.8l-25-7c-1.5-.4-3.3-1.3-3.4-3 0-.6 0-.9.4-1.1.3-.3.8-.2 1.1-.1L52 66c3.4 1 4.4.2 6.9-3.5l14.4-22.2c.7-1.2.9-2.5.5-3.6s-1.4-2-2.7-2.4l-20.6-5.7c-.5-.1-1-.1-1.5-.1v-.1c-3.2-1.9-4.4 1.7-6 3-.6.5-1.4.8-1.7 1.3-.2.5-.1 1-.3 1.4-.6 1.4-2.4 3.6-3.3 4.3-.6.4-1.2.5-1.6 1.1-.3.4-.2 1.1-.4 1.6-.5 1.2-2.1 3.3-3.2 4.4-.4.4-1 .6-1.3 1.1-.3.4-.2 1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3 2.3-11 3.7 1.8-3.8 3.1-7.9 4.4-11.9zM72 55c1.4 0 2.4 1.1 2.4 2.4 0 1.4-1.1 2.4-2.4 2.4-2.9 0-6.9-1.2-10.1-3.1C65.6 56 69.7 55 72 55zM34.6 66.2c-1.8 3.2-3.5 6.1-4.7 7.6-.5.5-.9.6-1.7.6-1.4 0-2.4-1.1-2.4-2.4 0-.6.3-1.4.6-1.7 1.3-1.2 4.5-2.6 8.2-4.1z"],"#c11e07"),sheet:new s(["M62.1 30.9h14.1v9.4H62.1zm0 14.5h14.1v9.4H62.1zm0 14.3h14.1v9.4H62.1zm-19.2 0H57v9.4H42.9zm-19 0H38v9.4H23.9zm19.2-14.2h14.1v9.4H43.1zm-19.2 0H38v9.4H23.9zm19.2-14.6h14.1v9.4H43.1zm-19.2 0H38v9.4H23.9z"],"#30723f"),presentation:new s(["M 73.319289,26.32707 H 26.61477 c -2.335226,0 -4.258353,1.917194 -4.258353,4.245215 v 29.853446 c 0,2.328021 1.923127,4.245215 4.258353,4.245215 h 19.506006 l -1.923128,7.257947 h -2.197859 c -0.961564,0 -1.648395,0.684712 -1.648395,1.643309 0,0.958597 0.686831,1.643309 1.648395,1.643309 h 15.797117 c 0.961563,0 1.648394,-0.684712 1.648394,-1.643309 0,-0.958597 -0.686831,-1.643309 -1.648394,-1.643309 H 55.46168 l -1.923128,-7.39489 h 19.780737 c 2.335226,0 4.258353,-1.917193 4.258353,-4.245214 V 30.572285 c 0,-2.328021 -1.923127,-4.245215 -4.258353,-4.245215 z m 0.412099,34.372546 H 26.202672 V 30.2984 h 47.39135 z","m 38.428266,48.511741 h 3.846255 v 7.668775 h -3.846255 z m 6.456214,-2.464963 h 3.846254 V 56.180516 H 44.88448 Z m 6.318846,-2.601906 h 3.846255 v 12.735644 h -3.846255 z m 6.318847,-2.464964 h 3.846255 v 15.200608 h -3.846255 z m -0.274732,-5.614639 -6.730946,3.697445 -4.945184,-1.643308 -8.379341,4.519099 1.236296,1.369424 7.417777,-3.834387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061 43.669624,28.281905 H 21.530262 L 49.707631,76.54823 77.885006,28.281905 Z m -37.888497,4.025337 h 6.767604 L 49.707631,57.239179 64.098226,32.307242 h 6.767597 L 49.707631,68.560446 Z"],"#41B883"),other:new s(["M71 36.3L57.8 23.1c-.4-.4-.9-.6-1.4-.6h-26c-1.1 0-2 .9-2 2v51.1c0 1.1.9 2 2 2h39.3c1.1 0 2-.9 2-2V37.7c-.1-.5-.3-1-.7-1.4zm-3.9 2.3H55.5V27l11.6 11.6zm.1 34.5H32.8V26.9h18.5v13.3c0 1.4 1.2 2.6 2.6 2.6h13.3v30.3z"])};for(var l in u)u[l].category=l;var f={};for(var h in a)for(var d in a[h]){var p=a[h][d];f[p]=h}function v(e){e=e.toLowerCase();var t=f[e],n=u[t]||u.other;return n}var m={props:["ext","viewBox"],computed:{viewBoxComputed:function(){return!this.viewBox&&this.icon&&this.icon.viewBox?this.icon.viewBox:this.viewBox?this.viewBox:"0 0 100 100"},icon:function(){var e=v(this.ext);return e}}},g=m;function y(e,t,n,i,r,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var b=y(g,r,o,!1,null,null,null),w=b.exports,x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["file-preview-wrapper-"+e.fileData.ext(),e.fileData.isImage()?"file-preview-wrapper-image":"file-preview-wrapper-other","file-category-"+e.fileData.icon().category,{"file-is-playing-av":e.fileData.isPlayingAv},{"is-deletable":!0===e.deletable},{"is-editable":!0===e.editable},{"is-edit-input-focused":e.isEditInputFocused},{"has-error":e.fileData.error}]},[e.fileData.error?n("div",{staticClass:"file-error-wrapper"},[e.fileData.error?n("div",{staticClass:"file-error-message file-error-message-client"},[e._v("\n      "+e._s(e.fileData.getErrorMessage(e.errorText))+"\n    ")]):e._e()]):e._e(),e.fileData.isPlayableAudio()||e.fileData.isPlayableVideo()?n("div",{ref:"wrapper",staticClass:"file-av-wrapper"},[n("div",{staticClass:"file-av-action",on:{click:function(t){return e.playAv(e.fileData)}}},[n("span",{staticClass:"file-av-stop"},[n("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])]),n("span",{staticClass:"file-av-play"},[n("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 48 48"}},[n("path",{attrs:{d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm-4 29V15l12 9-12 9z"}})])])])]):e._e(),n("span",{staticClass:"file-preview",class:{"image-preview":e.fileData.isImage(),"other-preview":!e.fileData.isImage(),"dark-content":e.fileData.isImage()&&e.fileData.isDarkColor()},style:{"background-color":e.fileData.color(),"background-imagex":"url("+e.fileData.src()+")",widthx:e.fileData.width+"px",heightx:e.fileData.height+"px"}},[n("span",{staticClass:"thumbnail",staticStyle:{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",overflow:"hidden"}},[e.fileData.isImage()||e.fileData.isPlayableVideo()?n("img",{staticClass:"file-preview-img",attrs:{src:e.fileData.src()}}):e._e()]),n("span",{staticClass:"file-ext"},[e._v(e._s(e.fileData.ext()))]),n("span",{staticClass:"file-size"},[e._v(e._s(e.fileData.size()))]),e.deletable?n("span",{staticClass:"file-delete",on:{click:function(t){return e.removeFileData(e.fileData)},touchstart:function(t){return e.filenameClearPressed()},mousedown:function(t){return e.filenameClearPressed()}}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])]):e._e(),n("span",{staticClass:"file-name",on:{click:function(t){return e.editFileName()}}},[!0===e.editable?n("input",{ref:"input",staticClass:"file-name-input",attrs:{disabled:!0===e.disabled,type:"text"},domProps:{value:e.fileData.name(!0)},on:{focus:function(t){return e.editInputFocused()},blur:function(t){return e.editInputBlured()},change:function(t){return e.filenameChanged()},input:function(t){return e.filenameChanged()},keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.filenameChanged(!0)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.filenameChanged(!1)}]}}):e._e(),!0===e.editable?n("span",{staticClass:"file-name-edit-icon"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])]):e._e(),n("span",{staticClass:"file-name-text"},[e._v(e._s(e.fileData.name(!0)))])]),e.fileData.dimensions.width&&e.fileData.dimensions.height?n("span",{staticClass:"image-dimension"},[n("span",{staticClass:"image-dimension-width"},[e._v(e._s(e.fileData.dimensions.width))]),n("span",{staticClass:"image-dimension-height"},[e._v(e._s(e.fileData.dimensions.height))])]):e._e(),e.fileData.hasProgress()?n("span",{staticClass:"file-progress",class:{"file-progress-full":e.fileData.progress()>=100,"has-file-progress":e.fileData.progress()>0}},[n("span",{staticClass:"file-progress-bar",style:{width:e.fileData.progress()+"%"}})]):e._e(),n("span",{staticClass:"file-icon"},[n("VueFileIcon",{attrs:{ext:e.fileData.ext()}})],1)])])},z=[];n("7f7f"),n("ac4d"),n("8a81"),n("ac6a"),n("a481"),n("28a5"),n("4917"),n("551c");function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var S=n("85f2"),k=n.n(S);function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),k()(e,i.key,i)}}function C(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),e}var D=function(){function e(){_(this,e)}return C(e,[{key:"getAverageColor",value:function(e){var t=4,n=e.length;if(n<t)return!1;for(var i=5,r=n-n%t,o=(i||1)*t,a=0,s=0,c=0,u=0,l=0,f=0;f<r;f+=o){var h=e[f+3],d=e[f]*h,p=e[f+1]*h,v=e[f+2]*h;a+=d,s+=p,c+=v,u+=h,l++}return u?[Math.round(a/u),Math.round(s/u),Math.round(c/u),Math.round(u/l)]:[0,0,0,0]}},{key:"createVideoThumbnail",value:function(e,t,n){var i=this;return new Promise((function(r,o){var a=!1,s=!1,c=function(){if(a&&s){var n=t.getContext("2d");n.drawImage(e,0,0,t.width,t.height);var o=n.getImageData(0,0,t.width,t.height),c=t.toDataURL();r({url:c,color:i.getAverageColor(o.data),width:e.videoWidth,height:e.videoHeight})}};e.addEventListener("loadedmetadata",(function(){t.width=n,t.height=t.width/e.videoWidth*e.videoHeight,e.currentTime=1,a=!0,c()})),e.addEventListener("loadeddata",(function(){s=!0,c()}))}))}},{key:"getDataURL",value:function(e){return new Promise((function(t,n){var i=new FileReader;i.onload=function(e){t(e.target["result"])},i.readAsDataURL(e)}))}},{key:"getImageResized",value:function(e,t,n){var i=e.width,r=e.height,o=t;t&&n?(i=t,r=n):i>r?i>o&&(r*=o/i,i=o):r>o&&(i*=o/r,r=o),i=Math.floor(i),r=Math.floor(r);var a=document.createElement("canvas");a.width=i,a.height=r;var s=a.getContext("2d");s.drawImage(e,0,0,i,r);var c=null;try{var u=s.getImageData(0,0,i,r),l=this.getAverageColor(u.data);l&&(c=l)}catch(f){}return{image:e,url:a.toDataURL("image/png"),color:c}}},{key:"resizeImageUrl",value:function(e,t,n){var i=this;return new Promise((function(r,o){e.onload=function(){var t=i.getImageResized(e,n);r(t)},e.src=t}))}},{key:"resizeImageFile",value:function(e,t,n){var i=this;return new Promise((function(r,o){if(-1!=t.type.indexOf("image")){var a=(window.URL||window["webkitURL"]||{}).createObjectURL,s=(window.URL||window["webkitURL"]||{}).revokeObjectURL,c=!1;return e.onload=function(){c&&s(e.src);var t=i.getImageResized(e,n);r(t)},t instanceof File?a&&s?(c=!0,void(e.src=a(t))):void i.getDataURL(t).then((function(t){e.src=t})):o("Invalid file object. Use url or a valid instance of File class")}o(new Error("Not an image"))}))}},{key:"resizeImage",value:function(e,t,n){var i=new Image;return i.setAttribute("crossOrigin","anonymous"),n?this.resizeImageUrl(i,n,e):this.resizeImageFile(i,t,e)}},{key:"getSizeFormatted",value:function(e){var t=["B","KB","MB","GB","TB"];if(0==e)return"0 B";var n=Math.floor(Math.log(e)/Math.log(1024));return n=parseInt(""+n),Math.round(e/Math.pow(1024,n))+" "+t[n]}},{key:"getSizeParsed",value:function(e){e=(""+e).toUpperCase();var t=e.match(/([\d|.]+?)\s*?([A-Z]+)/),n=["B","KB","MB","GB","TB"],i=n.indexOf(t[2]);return-1==i?e:parseFloat(t[1])*Math.pow(1024,i)}},{key:"getColorForText",value:function(e){var t=function(e){var t=0;if(0==e.length)return t;for(var n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t},n=function(e){var t=e%360,n=e%100,i=50;return"hsl("+t+","+n+"%,"+i+"%, 0.75)"};return n(t(e.toLowerCase()))}},{key:"validateType",value:function(e,t){if(!t)return!0;t=t.split(",");var n=e.type,i=n.replace(/\/.*$/,""),r=!0,o=!1,a=void 0;try{for(var s,c=t[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var u=s.value;if(u=u.trim(),"."===u.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(u.toLowerCase(),e.name.length-u.length))return!0}else if(/\/\*$/.test(u)){if(i===u.replace(/\/.*$/,""))return!0}else if(n===u)return!0}}catch(l){o=!0,a=l}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return!1}},{key:"validateSize",value:function(e,t){if(!t)return!0;var n=this.getSizeParsed(t);return e.size<=n}}]),e}(),E=new D,O={props:["fileData","deletable","editable","errorText","disabled"],components:{VueFileIcon:w},data:function(){return{isEditInputFocused:!1,isEditCancelable:!0}},methods:{createThumbnail:function(e,t){var n=document.createElement("canvas");E.createVideoThumbnail(t,n,this.fileData.thumbnailSize).then((function(t){e.imageColor=t.color,e.videoThumbnail=t.url,e.dimensions.width=t.width,e.dimensions.height=t.height}))},playAv:function(e){if(e.stopAv)e.stopAv();else{var t=(window.URL||window["webkitURL"]||{}).createObjectURL,n=(window.URL||window["webkitURL"]||{}).revokeObjectURL,i=this.$refs.wrapper,r=document.createElement(e.isAudio()?"audio":"video");e.isPlayableVideo()&&(this.createThumbnail(e,r),r.poster=e.src()),r.controls=!0,i.appendChild(r);var o=e.url||t(e.file);r.src=o,r.play(),e.isPlayingAv=!0,e.stopAv=function(){r.src=null,i.removeChild(r),n(o),e.isPlayingAv=!1,e.stopAv=null}}},removeFileData:function(e){this.clearFilename()||!0!==this.disabled&&this.$emit("remove",e)},editFileName:function(){!0===this.editable&&this.$refs.input&&this.$refs.input.focus()},editInputFocused:function(){this.isEditInputFocused=!0,this.isEditCancelable=!0},editInputBlured:function(){var e=this,t=this.$refs.input.value;this.fileData.customName=t;var n=100;setTimeout((function(){e.$nextTick((function(){e.isEditCancelable&&(e.isEditInputFocused=!1)}))}),n)},filenameChanged:function(e){e&&this.$refs.input.blur(),!1===e&&this.clearFilename()},filenameClearPressed:function(){!0===this.editable&&this.isEditInputFocused&&(this.isEditCancelable=!1)},clearFilename:function(){return!(!0!==this.editable||!this.isEditInputFocused)&&(this.$refs.input.value="",this.isEditCancelable=!0,this.editInputBlured(),!0)}}},P=O,R=y(P,x,z,!1,null,null,null),T=R.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[{"is-drag-over":e.isDragging,"is-disabled":!0===e.disabled},"theme-"+e.theme],on:{dragover:e.dragOver,dragenter:e.dragEnter,dragleave:e.dragLeave,drop:e.drop}},[e._t("before-outer"),n("div",{staticClass:"grid-block-wrapper vue-file-agent vue-file-agent-light file-input-wrapper drop_zone",class:{"is-drag-overx":e.isDragging,"is-compact":!!e.compact,"is-single":!e.hasMultiple,"has-multiple":e.hasMultiple,"no-meta":!1===e.meta}},[e._t("before-inner"),n("canvas",{ref:"thumbnailCanvas",staticStyle:{position:"fixed",visibility:"hidden","z-index":"-3"}}),e.overallProgress?n("div",{staticClass:"overall-progress",class:{"overall-progress-full":e.overallProgress>=100}},[n("div",{staticClass:"overall-progress-bar",style:{width:e.overallProgress+"%"}}),n("div",{staticClass:"overall-progress-left",style:{width:100-e.overallProgress+"%"}})]):e._e(),n("transition-group",{attrs:{name:"grid-box",tag:"div"}},[e._l(e.filesData,(function(t,i){return[e._t("file-preview",[n("VueFilePreview",{key:t.id,staticClass:"file-preview-wrapper grid-box-item grid-block",attrs:{fileData:t,index:i,deletable:e.isDeletable,editable:!0===e.editable,errorText:e.errorText,disabled:e.disabled},on:{remove:function(t){return e.removeFileData(t)}}})],{fileData:t,index:i})]})),e.canAddMore?[e._t("file-preview-new",[n("div",{key:"new",staticClass:"file-preview-wrapper grid-box-item grid-block file-preview-new"},[n("span",{staticClass:"file-preview"},[n("span",{staticStyle:{position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"100px",y:"0px",viewBox:"0 0 1000 1000","enable-background":"new 0 0 1000 1000","xml:space":"preserve"}},[n("path",{attrs:{d:"M745,353c-5.6,0-11.3,0.2-17.2,0.7C687.4,237.3,577.8,157,451,157c-162.1,0-294,131.9-294,294c0,2.1,0,4.1,0,6.2C72.6,479,10,555.8,10,647c0,108.1,87.9,196,196,196h245V618.3l-63.4,63.4c-9.6,9.6-22.1,14.4-34.6,14.4s-25.1-4.8-34.6-14.4c-19.2-19.2-19.2-50.1,0-69.3l147-147c4.6-4.6,9.9-8.1,16-10.6c12-4.9,25.5-4.9,37.4,0c6,2.5,11.4,6.1,16,10.6l147,147c19.2,19.2,19.2,50.1,0,69.3c-9.6,9.6-22.1,14.4-34.6,14.4s-25.1-4.8-34.6-14.4L549,618.3V843h196c135.1,0,245-109.9,245-245S880.1,353,745,353z"}})]),n("span",{staticClass:"help-text"},[e._v(e._s(e.helpTextComputed))])])])])])]:e._e()],2),n("input",{ref:"fileInput",staticClass:"file-input",attrs:{title:"",disabled:!0===e.disabled||e.hasMultiple&&!e.canAddMore,type:"file",multiple:e.hasMultiple,accept:e.accept||"*"},on:{change:e.filesChanged}}),e._t("after-inner")],2),e._t("after-outer")],2)},F=[],L=(n("cadf"),n("5df3"),function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e),this.populate(t,n),this.validate()}return C(e,[{key:"populate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.raw=t,this.file=t.file instanceof File?t.file:this.createDummyFile(t),this.url=null,this.urlResized=null,this.lastKnownSrc=null,this._progress=!isNaN(t.progress)&&t.progress,this.width=e.defaultWidth,this.height=e.defaultHeight,this.thumbnailSize=n.thumbnailSize||360,this.read=!!n.read,this.image={},this.dimensions=t.dimensions||{},this.dimensions.width=this.dimensions.width||0,this.dimensions.height=this.dimensions.height||0,this.error=t.error,this.options=n,this.maxSize=n.maxSize,this.accept=n.accept,this.isPlayingAv=!1,this.id=Math.random()+":"+(new Date).getTime(),this.videoThumbnail=t.videoThumbnail,this.imageColor=t.imageColor,this.customName=t.customName,this.upload=null}},{key:"createDummyFile",value:function(e){var t={};t.lastModified=e.lastModified;var n=new Date;return t.lastModified&&n.setTime(t.lastModified),t.lastModifiedDate=n,t.name=e.name,t.size=e.size,t.type=e.type,t}},{key:"hasProgress",value:function(){return!isNaN(this._progress)}},{key:"progress",value:function(e){if(void 0===e)return this._progress||0;this._progress=e}},{key:"src",value:function(){return this.isImage()?this.urlResized||this.url||this.file.url:this.isPlayableVideo()&&this.videoThumbnail||""}},{key:"size",value:function(){return this.file?E.getSizeFormatted(this.file.size):""}},{key:"ext",value:function(){return this.file&&-1!==this.file.name.indexOf(".")?this.file.name.split(".").pop():"?"}},{key:"name",value:function(e){var t=this.ext();if(this.customName)return this.customName+(e?"":"?"!=t?"."+t:"");var n=this.file&&this.file.name;return e&&"?"!=t?n.substr(0,n.length-(t.length+1)):n}},{key:"isDarkColor",value:function(){if(this.imageColor){var e=this.imageColor,t=20;return e[0]<=t&&e[1]<=t&&e[2]<=t}return!1}},{key:"color",value:function(){if(this.imageColor){var e=this.imageColor;return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}if(this.isImage())return"transparent";var t=this.ext(),n=this.icon();return n.color?n.color:E.getColorForText(t)}},{key:"isImage",value:function(){return this.file&&-1!=this.file.type.indexOf("image")}},{key:"isVideo",value:function(){return this.file&&-1!=this.file.type.indexOf("video")}},{key:"isPlayableVideo",value:function(){return"video-playable"==this.icon().category}},{key:"isAudio",value:function(){return this.file&&-1!=this.file.type.indexOf("audio")}},{key:"isPlayableAudio",value:function(){return"audio-playable"==this.icon().category}},{key:"isText",value:function(){return this.file&&-1!=this.file.type.indexOf("text")}},{key:"setUrl",value:function(e){var t=this;return new Promise((function(n,i){t.url=e,t.isImage()?t.resizeImage().then((function(){n(t)}),i):n(t)}))}},{key:"imageResized",value:function(e){this.urlResized=e.url,this.image=e.image,e.image&&e.image.width&&e.image.height&&(this.dimensions.width=e.image.width,this.dimensions.height=e.image.height),this.lastKnownSrc=this.urlResized,this.imageColor=e.color}},{key:"resizeImage",value:function(){var e=this;return new Promise((function(t,n){E.resizeImage(e.thumbnailSize,e.file,e.url,e).then((function(n){e.imageResized(n),t(e)})).catch(n)}))}},{key:"icon",value:function(){var e=this.ext(),t=v(e);return t}},{key:"getErrorMessage",value:function(e){var t=this.error;return t?(e=e||{},e={common:e.common||"Invalid file.",type:e.type||"Invalid file type.",size:e.size||"Files should not exceed "+this.maxSize+" in size"},t.type?e.type:t.size?e.size:t.upload?this.upload&&this.upload.error?this.upload.error:t.upload:e.common):""}},{key:"toRaw",value:function(){var e=this.raw||{};return e.url=this.url,e.urlResized=this.urlResized,e.src=this.src.bind(this),e.name=this.name.bind(this),e.lastModified=this.file.lastModified,e.sizeText=this.size(),e.size=this.file.size,e.type=this.file.type,e.ext=this.ext(),e.color=this.color(),e.file=this.file,e.progress=this.progress.bind(this),e.error=this.error,e.dimensions=this.dimensions,e}},{key:"validate",value:function(){var e=E.validateType(this.file,this.accept),t=E.validateSize(this.file,this.maxSize);this.error=(!e||!t)&&{type:!e,size:!t}}}],[{key:"fromRaw",value:function(t,n){var i=new e(t,n),r=i.setUrl(t.url);return t.progress=i.progress.bind(i),t.src=i.src.bind(i),t.name=i.name.bind(i),r}},{key:"fromRawArray",value:function(t,n){var i=[];return t.forEach((function(t){i.push(e.fromRaw(t,n))})),Promise.all(i)}},{key:"toRawArray",value:function(e){var t=[];return e.forEach((function(e){t.push(e.toRaw())})),t}},{key:"readFile",value:function(e){return new Promise((function(t,n){if(!e.read)return e.setUrl(null),void t(e);E.getDataURL(e.file).then((function(i){e.setUrl(i).then((function(){t(e)}),n)}),n)}))}},{key:"readFiles",value:function(t){var n=[];return t.forEach((function(t){n.push(e.readFile(t))})),Promise.all(n)}}]),e}()),A=L,I=function(){function e(){_(this,e)}return C(e,[{key:"createError",value:function(e,t,n,i){var r=new Error(e);return t&&(r.code=t),r.request=n,r.response=i,r}},{key:"settle",value:function(e,t,n){var i=function(e){return e>=200&&e<300};n.status&&i&&!i(n.status)?t(this.createError("Request failed with status code "+n.status,null,n.request,n)):e(n)}},{key:"request",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return new Promise((function(o,a){var s=new XMLHttpRequest,c="onreadystatechange";s.open(e,t,!0),s[c]=function(){if(s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))){var e=s.getAllResponseHeaders(),t=s.responseText,i=s.getResponseHeader("Content-Type");i&&-1!=i.indexOf("application/json")&&(t=JSON.parse(t));var r={data:t,status:1223===s.status?204:s.status,statusText:1223===s.status?"No Content":s.statusText,headers:e,request:s};n.settle(o,a,r),s=null}},s.onabort=function(){s&&(a(n.createError("Request aborted","ECONNABORTED",s)),s=null)},s.onerror=function(){a(n.createError("Network Error",null,s)),s=null},s.ontimeout=function(){a(n.createError("timeout exceeded","ECONNABORTED",s)),s=null},"function"===typeof r&&r(s),s.send(i)}))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("POST",e,t,n)}},{key:"delete",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.request("DELETE",e,t,n)}}]),e}(),H=new I,U=function(){function e(){_(this,e)}return C(e,[{key:"useAxios",value:function(e){this.axios=e}},{key:"addHeaders",value:function(e,t){if(e.setRequestHeader("Accept","application/json"),t)for(var n in t)e.setRequestHeader(n,t[n]);return e}},{key:"doUpload",value:function(e,t,n,i,r){var o=this;return H.post(e,n,(function(e){o.addHeaders(e,t),e.upload.addEventListener("progress",i,!1),r(e)}))}},{key:"doDeleteUpload",value:function(e,t,n,i){var r=this;return"string"!=typeof n&&(n=JSON.stringify(n)),H.delete(e,n,(function(e){e.setRequestHeader("Content-Type","application/json"),r.addHeaders(e,t),i(e)}))}},{key:"doUploadAxios",value:function(e,t,n){return e.post("/upload",t,{onUploadProgress:n})}},{key:"doDeleteUploadAxios",value:function(e,t,n){return e.delete("/upload",t,{})}},{key:"prepareUploadError",value:function(e,t){var n=t.message;if(t.response&&t.response.data)try{var i=t.response.data.error||JSON.parse(t.response.data).error;n=i}catch(r){}e.error||(e.error={}),e.error.upload=n}},{key:"upload",value:function(e,t,n,i,r,o){var a=this;r=r||function(){};var s=[];function c(){for(var e=0,t=0;t<n.length;t++)e+=n[t].progress();r(e/n.length)}for(var u=0;u<n.length;u++){var l,f=n[u];"function"==typeof i?l=i(f):(l=new FormData,l.append("file",f.file)),function(n){var i=a.doUpload(e,t,l,(function(e){var t=100*e.loaded/e.total;n.progress(t>=100?99.99:t),c()}),(function(e){n.xhr=e,"function"==typeof o&&o(e)}));i.then((function(e){delete n.xhr,n.upload=e.data,n.progress(100)}),(function(e){a.prepareUploadError(n,e)})),s.push(i)}(f)}return Promise.all(s)}},{key:"deleteUpload",value:function(e,t,n,i){var r=this;return new Promise((function(o,a){n.xhr&&n.xhr.abort(),void 0===i&&(i=n.upload),i&&r.doDeleteUpload(e,t,i,(function(e){})).then((function(e){o(e)}),(function(e){r.prepareUploadError(n,e),a(e)}))}))}}]),e}(),V=new U,N=0,B={props:["uploadUrl","uploadHeaders","multiple","deletable","editable","read","accept","value","progress","helpText","maxSize","maxFiles","errorText","meta","compact","thumbnailSize","theme","disabled"],components:{VueFileIcon:w,VueFilePreview:T},data:function(){return{filesData:[],filesDataRaw:[],isDragging:!1,overallProgress:0}},computed:{canAddMore:function(){return this.hasMultiple?!this.maxFiles||this.filesData.length<this.maxFiles:0===this.filesData.length},helpTextComputed:function(){return this.helpText?this.helpText:"Choose "+(this.hasMultiple?"files":"file")+" or drag & drop here"},isDeletable:function(){return"string"==typeof this.deletable?"false"!==this.deletable:!!this.deletable},hasMultiple:function(){return"string"==typeof this.multiple?"false"!==this.multiple:void 0===this.multiple?Array.isArray(this.value):!!this.multiple},shouldRead:function(){return"string"==typeof this.read?"true"===this.read:!!this.read}},methods:{createThumbnail:function(e,t){return new Promise((function(n,i){var r=document.createElement("canvas");E.createVideoThumbnail(t,r,e.thumbnailSize).then((function(t){e.imageColor=t.color,e.videoThumbnail=t.url,e.dimensions.width=t.width,e.dimensions.height=t.height,n()}),i)}))},initVideo:function(e){if(e.isPlayableVideo()){var t=(window.URL||window["webkitURL"]||{}).createObjectURL,n=(window.URL||window["webkitURL"]||{}).revokeObjectURL,i=document.createElement("video");i.src=t(e.file),this.createThumbnail(e,i,!0).then((function(){n(i.src)})),i.load()}},upload:function(e,t,n,i){for(var r=this,o=[],a=0;a<n.length;a++)n[a].error||o.push(n[a]);return V.upload(e,t,o,i,(function(e){r.overallProgress=e}))},deleteUpload:function(e,t,n,i){return this.filesData.length<1&&(this.overallProgress=0),V.deleteUpload(e,t,n,i)},autoUpload:function(e){this.uploadUrl&&this.upload(this.uploadUrl,this.uploadHeaders,e)},autoDeleteUpload:function(e){return this.uploadUrl?this.deleteUpload(this.uploadUrl,this.uploadHeaders,e):Promise.resolve(!1)},equalFiles:function(e,t){return e.name===t.name&&e.size===t.size&&e.type===t.type&&e.lastModified===t.lastModified},isFileAddedAlready:function(e){for(var t=0;t<this.filesData.length;t++)if(this.equalFiles(e,this.filesData[t].file))return!0;return!1},handleFiles:function(e){var t=this;if(!0!==this.disabled&&(!this.hasMultiple||this.canAddMore)){for(var n,i=[],r=[],o=0;o<e.length;o++)this.isFileAddedAlready(e[o])||r.push(e[o]);e=r,this.maxFiles&&e.length>this.maxFiles-this.filesData.length&&(e=e.slice(0,this.maxFiles-this.filesData.length));for(var a=0;a<e.length;a++)i.push(new A({file:e[a]},{read:this.shouldRead,maxSize:this.maxSize,accept:this.accept,thumbnailSize:this.thumbnailSize}));for(var s=0;s<i.length;s++)i[s].file.size<=20971520&&this.initVideo(i[s]);if(this.hasMultiple)(n=this.filesData).splice.apply(n,[this.filesData.length,0].concat(i));else this.filesData=i;A.readFiles(i).then((function(e){var n=A.toRawArray(t.filesData);t.filesDataRaw=n,n=Array.isArray(t.value)?n:n[0],t.$emit("input",n),t.$emit("select",A.toRawArray(e))})),this.autoUpload(i)}},filesChanged:function(e){var t=e.target.files;this.$emit("change",e),t[0]&&(this.handleFiles(t),this.$refs.fileInput&&(this.$refs.fileInput.value=null))},drop:function(e){N=0,this.isDragging=!1,e.stopPropagation(),e.preventDefault();var t=e.dataTransfer.files;this.$emit("drop",e),t[0]&&(this.hasMultiple||(t=[t[0]]),this.handleFiles(t))},dragEnter:function(e){this.isDragging=!0,e.stopPropagation(),e.preventDefault(),N++,e.dataTransfer.dropEffect="copy"},dragOver:function(e){this.isDragging=!0,e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},dragLeave:function(e){N--,0===N&&(this.isDragging=!1)},removeFileData:function(e){var t,n=this;t=e instanceof A?this.filesData.indexOf(e):this.filesDataRaw.indexOf(e),this.filesData.splice(t,1),this.filesDataRaw.splice(t,1),this.$emit("input",this.filesDataRaw),this.$emit("delete",A.toRawArray([e])[0]),this.autoDeleteUpload(e).then((function(e){}),(function(i){n.filesData.splice(t,1,e)}))},checkValue:function(){var e=this,t=this.value||[];t=Array.isArray(t)?t:[t];for(var n=[],i=[],r=0;r<t.length;r++){var o=this.filesDataRaw.indexOf(t[r]);-1!==o?(n.push(Promise.resolve(this.filesData[o])),i[r]=this.filesDataRaw[o]):(n.push(A.fromRaw(t[r],{read:this.shouldRead,maxSize:this.maxSize,accept:this.accept,thumbnailSize:this.thumbnailSize})),i.push(t[r]))}this.filesDataRaw=i,Promise.all(n).then((function(t){e.filesData=t}))}},created:function(){this.checkValue()},watch:{value:function(){this.checkValue()}}},$={mixins:[B]},q=$,G=(n("6816"),y(q,j,F,!1,null,null,null)),W=G.exports,K=function(){};K.VueFileIcon=w,K.VueFilePreview=T,K.VueFileAgent=W,K.component=W,K.mixin=B,K.install=function(e,t){e.component("VueFileIcon",w),e.component("VueFileAgent",W),e.prototype.$vueFileAgent={mixin:B}},"undefined"!==typeof window&&window.Vue&&K.install(window.Vue);var J=K,Z=B;n.d(t,"mixin",(function(){return Z}));t["default"]=J}})}));
  //# sourceMappingURL=vue-file-agent.umd.min.js.map