text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["vendor"],{"014b":function(t,e,i){"use strict";var n=i("e53d"),r=i("07e3"),s=i("8e60"),o=i("63b6"),a=i("9138"),l=i("ebfd").KEY,c=i("294c"),u=i("dbdb"),h=i("45f2"),d=i("62a0"),f=i("5168"),p=i("ccb9"),m=i("6718"),v=i("47ee"),g=i("9003"),b=i("e4ae"),y=i("f772"),_=i("241e"),w=i("36c3"),x=i("1bc3"),C=i("aebd"),k=i("a159"),S=i("0395"),$=i("bf0b"),q=i("9aa9"),T=i("d9f6"),P=i("c3a1"),L=$.f,O=T.f,M=S.f,E=n.Symbol,A=n.JSON,B=A&&A.stringify,N="prototype",R=f("_hidden"),I=f("toPrimitive"),D={}.propertyIsEnumerable,j=u("symbol-registry"),z=u("symbols"),F=u("op-symbols"),H=Object[N],V="function"==typeof E&&!!q.f,Q=n.QObject,U=!Q||!Q[N]||!Q[N].findChild,W=s&&c(function(){return 7!=k(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=L(H,e);n&&delete H[e],O(t,e,i),n&&t!==H&&O(H,e,n)}:O,K=function(t){var e=z[t]=k(E[N]);return e._k=t,e},Y=V&&"symbol"==typeof E.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof E},J=function(t,e,i){return t===H&&J(F,e,i),b(t),e=x(e,!0),b(i),r(z,e)?(i.enumerable?(r(t,R)&&t[R][e]&&(t[R][e]=!1),i=k(i,{enumerable:C(0,!1)})):(r(t,R)||O(t,R,C(1,{})),t[R][e]=!0),W(t,e,i)):O(t,e,i)},G=function(t,e){b(t);var i,n=v(e=w(e)),r=0,s=n.length;while(s>r)J(t,i=n[r++],e[i]);return t},X=function(t,e){return void 0===e?k(t):G(k(t),e)},Z=function(t){var e=D.call(this,t=x(t,!0));return!(this===H&&r(z,t)&&!r(F,t))&&(!(e||!r(this,t)||!r(z,t)||r(this,R)&&this[R][t])||e)},tt=function(t,e){if(t=w(t),e=x(e,!0),t!==H||!r(z,e)||r(F,e)){var i=L(t,e);return!i||!r(z,e)||r(t,R)&&t[R][e]||(i.enumerable=!0),i}},et=function(t){var e,i=M(w(t)),n=[],s=0;while(i.length>s)r(z,e=i[s++])||e==R||e==l||n.push(e);return n},it=function(t){var e,i=t===H,n=M(i?F:w(t)),s=[],o=0;while(n.length>o)!r(z,e=n[o++])||i&&!r(H,e)||s.push(z[e]);return s};V||(E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(i){this===H&&e.call(F,i),r(this,R)&&r(this[R],t)&&(this[R][t]=!1),W(this,t,C(1,i))};return s&&U&&W(H,t,{configurable:!0,set:e}),K(t)},a(E[N],"toString",function(){return this._k}),$.f=tt,T.f=J,i("6abf").f=S.f=et,i("355d").f=Z,q.f=it,s&&!i("b8e3")&&a(H,"propertyIsEnumerable",Z,!0),p.f=function(t){return K(f(t))}),o(o.G+o.W+o.F*!V,{Symbol:E});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)f(nt[rt++]);for(var st=P(f.store),ot=0;st.length>ot;)m(st[ot++]);o(o.S+o.F*!V,"Symbol",{for:function(t){return r(j,t+="")?j[t]:j[t]=E(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!V,"Object",{create:X,defineProperty:J,defineProperties:G,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:it});var at=c(function(){q.f(1)});o(o.S+o.F*at,"Object",{getOwnPropertySymbols:function(t){return q.f(_(t))}}),A&&o(o.S+o.F*(!V||c(function(){var t=E();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))})),"JSON",{stringify:function(t){var e,i,n=[t],r=1;while(arguments.length>r)n.push(arguments[r++]);if(i=e=n[1],(y(e)||void 0!==t)&&!Y(t))return g(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!Y(e))return e}),n[1]=e,B.apply(A,n)}}),E[N][I]||i("35e8")(E[N],I,E[N].valueOf),h(E,"Symbol"),h(Math,"Math",!0),h(n.JSON,"JSON",!0)},"01f9":function(t,e,i){"use strict";var n=i("2d00"),r=i("5ca1"),s=i("2aba"),o=i("32e9"),a=i("84f2"),l=i("41a0"),c=i("7f20"),u=i("38fd"),h=i("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",v=function(){return this};t.exports=function(t,e,i,g,b,y,_){l(i,e,g);var w,x,C,k=function(t){if(!d&&t in T)return T[t];switch(t){case p:return function(){return new i(this,t)};case m:return function(){return new i(this,t)}}return function(){return new i(this,t)}},S=e+" Iterator",$=b==m,q=!1,T=t.prototype,P=T[h]||T[f]||b&&T[b],L=P||k(b),O=b?$?k("entries"):L:void 0,M="Array"==e&&T.entries||P;if(M&&(C=u(M.call(new t)),C!==Object.prototype&&C.next&&(c(C,S,!0),n||"function"==typeof C[h]||o(C,h,v))),$&&P&&P.name!==m&&(q=!0,L=function(){return P.call(this)}),n&&!_||!d&&!q&&T[h]||o(T,h,L),a[e]=L,a[S]=v,b)if(w={values:$?L:k(m),keys:y?L:k(p),entries:O},_)for(x in w)x in T||s(T,x,w[x]);else r(r.P+r.F*(d||q),e,w);return w}},"02f4":function(t,e,i){var n=i("4588"),r=i("be13");t.exports=function(t){return function(e,i){var s,o,a=String(r(e)),l=n(i),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536)}}},"0390":function(t,e,i){"use strict";var n=i("02f4")(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},"0395":function(t,e,i){var n=i("36c3"),r=i("6abf").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(t){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==s.call(t)?a(t):r(n(t))}},"044b":function(t,e){
  /*!
   * Determine if an object is a Buffer
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   */
  t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},"06dd":function(t,e,i){},"07e3":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"085e":function(t,e,i){},"0a06":function(t,e,i){"use strict";var n=i("2444"),r=i("c532"),s=i("f6b4"),o=i("5270");function a(t){this.defaults=t,this.interceptors={request:new s,response:new s}}a.prototype.request=function(t){"string"===typeof t&&(t=r.merge({url:arguments[0]},arguments[1])),t=r.merge(n,{method:"get"},this.defaults,t),t.method=t.method.toLowerCase();var e=[o,void 0],i=Promise.resolve(t);this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});while(e.length)i=i.then(e.shift(),e.shift());return i},r.forEach(["delete","get","head","options"],function(t){a.prototype[t]=function(e,i){return this.request(r.merge(i||{},{method:t,url:e}))}}),r.forEach(["post","put","patch"],function(t){a.prototype[t]=function(e,i,n){return this.request(r.merge(n||{},{method:t,url:e,data:i}))}}),t.exports=a},"0a43":function(t,e,i){},"0a49":function(t,e,i){var n=i("9b43"),r=i("626a"),s=i("4bf8"),o=i("9def"),a=i("cd1c");t.exports=function(t,e){var i=1==t,l=2==t,c=3==t,u=4==t,h=6==t,d=5==t||h,f=e||a;return function(e,a,p){for(var m,v,g=s(e),b=r(g),y=n(a,p,3),_=o(b.length),w=0,x=i?f(e,_):l?f(e,0):void 0;_>w;w++)if((d||w in b)&&(m=b[w],v=y(m,w,g),t))if(i)x[w]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return h?-1:c||u?u:x}}},"0a58":function(t,e,i){},"0bfb":function(t,e,i){"use strict";var n=i("cb7c");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c2e":function(t,e,i){},"0d58":function(t,e,i){var n=i("ce10"),r=i("e11e");t.exports=Object.keys||function(t){return n(t,r)}},"0d6d":function(t,e,i){var n=i("d3f4"),r=i("67ab").onFreeze;i("5eda")("freeze",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},"0df6":function(t,e,i){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0fc9":function(t,e,i){var n=i("3a38"),r=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?r(t+e,0):s(t,e)}},1070:function(t,e,i){},"113c":function(t,e,i){},1169:function(t,e,i){var n=i("2d95");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"11e9":function(t,e,i){var n=i("52a7"),r=i("4630"),s=i("6821"),o=i("6a99"),a=i("69a8"),l=i("c69a"),c=Object.getOwnPropertyDescriptor;e.f=i("9e1e")?c:function(t,e){if(t=s(t),e=o(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return r(!n.f.call(t,e),t[e])}},1495:function(t,e,i){var n=i("86cc"),r=i("cb7c"),s=i("0d58");t.exports=i("9e1e")?Object.defineProperties:function(t,e){r(t);var i,o=s(e),a=o.length,l=0;while(a>l)n.f(t,i=o[l++],e[i]);return t}},"15f1":function(t,e,i){},1625:function(t,e,i){},1654:function(t,e,i){"use strict";var n=i("71c1")(!0);i("30f1")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1991:function(t,e,i){var n,r,s,o=i("9b43"),a=i("31f4"),l=i("fab2"),c=i("230e"),u=i("7726"),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,v=0,g={},b="onreadystatechange",y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},_=function(t){y.call(t.data)};d&&f||(d=function(t){var e=[],i=1;while(arguments.length>i)e.push(arguments[i++]);return g[++v]=function(){a("function"==typeof t?t:Function(t),e)},n(v),v},f=function(t){delete g[t]},"process"==i("2d95")(h)?n=function(t){h.nextTick(o(y,t,1))}:m&&m.now?n=function(t){m.now(o(y,t,1))}:p?(r=new p,s=r.port2,r.port1.onmessage=_,n=o(s.postMessage,s,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",_,!1)):n=b in c("script")?function(t){l.appendChild(c("script"))[b]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(o(y,t,1),0)}),t.exports={set:d,clear:f}},1992:function(t,e,i){},"1bc3":function(t,e,i){var n=i("f772");t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1d2b":function(t,e,i){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},"1ea7":function(t,e,i){},"1ec9":function(t,e,i){var n=i("f772"),r=i("e53d").document,s=n(r)&&n(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},"1fa8":function(t,e,i){var n=i("cb7c");t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var s=t["return"];throw void 0!==s&&n(s.call(t)),e}}},"1fd4":function(t,e,i){},"20d6":function(t,e,i){"use strict";var n=i("5ca1"),r=i("0a49")(6),s="findIndex",o=!0;s in[]&&Array(1)[s](function(){o=!1}),n(n.P+n.F*o,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")(s)},"214f":function(t,e,i){"use strict";i("b0c5");var n=i("2aba"),r=i("32e9"),s=i("79e5"),o=i("be13"),a=i("2b4c"),l=i("520a"),c=a("species"),u=!s(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var d=a(t),f=!s(function(){var e={};return e[d]=function(){return 7},7!=""[t](e)}),p=f?!s(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[c]=function(){return i}),i[d](""),!e}):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!h){var m=/./[d],v=i(o,d,""[t],function(t,e,i,n,r){return e.exec===l?f&&!r?{done:!0,value:m.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),g=v[0],b=v[1];n(String.prototype,t,g),r(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"21e3":function(t,e,i){},2289:function(t,e,i){},"230e":function(t,e,i){var n=i("d3f4"),r=i("7726").document,s=n(r)&&n(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},"23a5":function(t,e,i){},"23c6":function(t,e,i){var n=i("2d95"),r=i("2b4c")("toStringTag"),s="Arguments"==n(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=o(e=Object(t),r))?i:s?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,i){var n=i("25eb");t.exports=function(t){return Object(n(t))}},2444:function(t,e,i){"use strict";(function(e){var n=i("c532"),r=i("c8af"),s={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return"undefined"!==typeof XMLHttpRequest?t=i("b50d"):"undefined"!==typeof e&&(t=i("b50d")),t}var l={adapter:a(),transformRequest:[function(t,e){return r(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(t){l.headers[t]={}}),n.forEach(["post","put","patch"],function(t){l.headers[t]=n.merge(s)}),t.exports=l}).call(this,i("4362"))},2577:function(t,e,i){},"25cd":function(t,e,i){},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,i){var n=i("23c6"),r=i("2b4c")("iterator"),s=i("84f2");t.exports=i("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||s[n(t)]}},2877:function(t,e,i){"use strict";function n(t,e,i,n,r,s,o,a){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}i.d(e,"a",function(){return n})},"28a5":function(t,e,i){"use strict";var n=i("aae3"),r=i("cb7c"),s=i("ebd6"),o=i("0390"),a=i("9def"),l=i("5f1b"),c=i("520a"),u=i("79e5"),h=Math.min,d=[].push,f="split",p="length",m="lastIndex",v=4294967295,g=!u(function(){RegExp(v,"y")});i("214f")("split",2,function(t,e,i,u){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!n(t))return i.call(r,t,e);var s,o,a,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,f=void 0===e?v:e>>>0,g=new RegExp(t.source,u+"g");while(s=c.call(g,r)){if(o=g[m],o>h&&(l.push(r.slice(h,s.index)),s[p]>1&&s.index<r[p]&&d.apply(l,s.slice(1)),a=s[0][p],h=o,l[p]>=f))break;g[m]===s.index&&g[m]++}return h===r[p]?!a&&g.test("")||l.push(""):l.push(r.slice(h)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)}:i,[function(i,n){var r=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,r,n):b.call(String(r),i,n)},function(t,e){var n=u(b,t,this,e,b!==i);if(n.done)return n.value;var c=r(t),d=String(this),f=s(c,RegExp),p=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),y=new f(g?c:"^(?:"+c.source+")",m),_=void 0===e?v:e>>>0;if(0===_)return[];if(0===d.length)return null===l(y,d)?[d]:[];var w=0,x=0,C=[];while(x<d.length){y.lastIndex=g?x:0;var k,S=l(y,g?d:d.slice(x));if(null===S||(k=h(a(y.lastIndex+(g?0:x)),d.length))===w)x=o(d,x,p);else{if(C.push(d.slice(w,x)),C.length===_)return C;for(var $=1;$<=S.length-1;$++)if(C.push(S[$]),C.length===_)return C;x=w=k}}return C.push(d.slice(w)),C}]})},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"2aba":function(t,e,i){var n=i("7726"),r=i("32e9"),s=i("69a8"),o=i("ca5a")("src"),a=i("fa5b"),l="toString",c=(""+a).split(l);i("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,i,a){var l="function"==typeof i;l&&(s(i,"name")||r(i,"name",e)),t[e]!==i&&(l&&(s(i,o)||r(i,o,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=i:a?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,l,function(){return"function"==typeof this&&this[o]||a.call(this)})},"2ac6":function(t,e,i){},"2aeb":function(t,e,i){var n=i("cb7c"),r=i("1495"),s=i("e11e"),o=i("613b")("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=i("230e")("iframe"),n=s.length,r="<",o=">";e.style.display="none",i("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;while(n--)delete c[l][s[n]];return c()};t.exports=Object.create||function(t,e){var i;return null!==t?(a[l]=n(t),i=new a,a[l]=null,i[o]=t):i=c(),void 0===e?i:r(i,e)}},"2b0e":function(t,e,i){"use strict";(function(t){
  /*!
   * Vue.js v2.5.17
   * (c) 2014-2018 Evan You
   * Released under the MIT License.
   */
  var i=Object.freeze({});function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function s(t){return!0===t}function o(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function h(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return null==t?"":"object"===typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var i=Object.create(null),n=t.split(","),r=0;r<n.length;r++)i[n[r]]=!0;return e?function(t){return i[t.toLowerCase()]}:function(t){return i[t]}}m("slot,component",!0);var v=m("key,ref,slot,slot-scope,is");function g(t,e){if(t.length){var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var b=Object.prototype.hasOwnProperty;function y(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}var w=/-(\w)/g,x=_(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),C=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),k=/\B([A-Z])/g,S=_(function(t){return t.replace(k,"-$1").toLowerCase()});function $(t,e){function i(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}return i._length=t.length,i}function q(t,e){return t.bind(e)}var T=Function.prototype.bind?q:$;function P(t,e){e=e||0;var i=t.length-e,n=new Array(i);while(i--)n[i]=t[i+e];return n}function L(t,e){for(var i in e)t[i]=e[i];return t}function O(t){for(var e={},i=0;i<t.length;i++)t[i]&&L(e,t[i]);return e}function M(t,e,i){}var E=function(t,e,i){return!1},A=function(t){return t};function B(t,e){if(t===e)return!0;var i=l(t),n=l(e);if(!i||!n)return!i&&!n&&String(t)===String(e);try{var r=Array.isArray(t),s=Array.isArray(e);if(r&&s)return t.length===e.length&&t.every(function(t,i){return B(t,e[i])});if(r||s)return!1;var o=Object.keys(t),a=Object.keys(e);return o.length===a.length&&o.every(function(i){return B(t[i],e[i])})}catch(t){return!1}}function N(t,e){for(var i=0;i<t.length;i++)if(B(t[i],e))return i;return-1}function R(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var I="data-server-rendered",D=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:M,parsePlatformTagName:A,mustUseProp:E,_lifecycleHooks:j};function F(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var V=/[^\w.$]/;function Q(t){if(!V.test(t)){var e=t.split(".");return function(t){for(var i=0;i<e.length;i++){if(!t)return;t=t[e[i]]}return t}}}var U,W="__proto__"in{},K="undefined"!==typeof window,Y="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=Y&&WXEnvironment.platform.toLowerCase(),G=K&&window.navigator.userAgent.toLowerCase(),X=G&&/msie|trident/.test(G),Z=G&&G.indexOf("msie 9.0")>0,tt=G&&G.indexOf("edge/")>0,et=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===J),it=(G&&/chrome\/\d+/.test(G),{}.watch),nt=!1;if(K)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var st=function(){return void 0===U&&(U=!K&&!Y&&"undefined"!==typeof t&&"server"===t["process"].env.VUE_ENV),U},ot=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var lt,ct="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);lt="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=M,ht=0,dt=function(){this.id=ht++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){g(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,i=t.length;e<i;e++)t[e].update()},dt.target=null;var ft=[];function pt(t){dt.target&&ft.push(dt.target),dt.target=t}function mt(){dt.target=ft.pop()}var vt=function(t,e,i,n,r,s,o,a){this.tag=t,this.data=e,this.children=i,this.text=n,this.elm=r,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(vt.prototype,gt);var bt=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function yt(t){return new vt(void 0,void 0,void 0,String(t))}function _t(t){var e=new vt(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}var wt=Array.prototype,xt=Object.create(wt),Ct=["push","pop","shift","unshift","splice","sort","reverse"];Ct.forEach(function(t){var e=wt[t];H(xt,t,function(){var i=[],n=arguments.length;while(n--)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":case"unshift":r=i;break;case"splice":r=i.slice(2);break}return r&&o.observeArray(r),o.dep.notify(),s})});var kt=Object.getOwnPropertyNames(xt),St=!0;function $t(t){St=t}var qt=function(t){if(this.value=t,this.dep=new dt,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)){var e=W?Tt:Pt;e(t,xt,kt),this.observeArray(t)}else this.walk(t)};function Tt(t,e,i){t.__proto__=e}function Pt(t,e,i){for(var n=0,r=i.length;n<r;n++){var s=i[n];H(t,s,e[s])}}function Lt(t,e){var i;if(l(t)&&!(t instanceof vt))return y(t,"__ob__")&&t.__ob__ instanceof qt?i=t.__ob__:St&&!st()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(i=new qt(t)),e&&i&&i.vmCount++,i}function Ot(t,e,i,n,r){var s=new dt,o=Object.getOwnPropertyDescriptor(t,e);if(!o||!1!==o.configurable){var a=o&&o.get;a||2!==arguments.length||(i=t[e]);var l=o&&o.set,c=!r&&Lt(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):i;return dt.target&&(s.depend(),c&&(c.dep.depend(),Array.isArray(e)&&At(e))),e},set:function(e){var n=a?a.call(t):i;e===n||e!==e&&n!==n||(l?l.call(t,e):i=e,c=!r&&Lt(e),s.notify())}})}}function Mt(t,e,i){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,i),i;if(e in t&&!(e in Object.prototype))return t[e]=i,i;var n=t.__ob__;return t._isVue||n&&n.vmCount?i:n?(Ot(n.value,e,i),n.dep.notify(),i):(t[e]=i,i)}function Et(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var i=t.__ob__;t._isVue||i&&i.vmCount||y(t,e)&&(delete t[e],i&&i.dep.notify())}}function At(t){for(var e=void 0,i=0,n=t.length;i<n;i++)e=t[i],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&At(e)}qt.prototype.walk=function(t){for(var e=Object.keys(t),i=0;i<e.length;i++)Ot(t,e[i])},qt.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)Lt(t[e])};var Bt=z.optionMergeStrategies;function Nt(t,e){if(!e)return t;for(var i,n,r,s=Object.keys(e),o=0;o<s.length;o++)i=s[o],n=t[i],r=e[i],y(t,i)?u(n)&&u(r)&&Nt(n,r):Mt(t,i,r);return t}function Rt(t,e,i){return i?function(){var n="function"===typeof e?e.call(i,i):e,r="function"===typeof t?t.call(i,i):t;return n?Nt(n,r):r}:e?t?function(){return Nt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function It(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function Dt(t,e,i,n){var r=Object.create(t||null);return e?L(r,e):r}Bt.data=function(t,e,i){return i?Rt(t,e,i):e&&"function"!==typeof e?t:Rt(t,e)},j.forEach(function(t){Bt[t]=It}),D.forEach(function(t){Bt[t+"s"]=Dt}),Bt.watch=function(t,e,i,n){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var s in L(r,t),e){var o=r[s],a=e[s];o&&!Array.isArray(o)&&(o=[o]),r[s]=o?o.concat(a):Array.isArray(a)?a:[a]}return r},Bt.props=Bt.methods=Bt.inject=Bt.computed=function(t,e,i,n){if(!t)return e;var r=Object.create(null);return L(r,t),e&&L(r,e),r},Bt.provide=Rt;var jt=function(t,e){return void 0===e?t:e};function zt(t,e){var i=t.props;if(i){var n,r,s,o={};if(Array.isArray(i)){n=i.length;while(n--)r=i[n],"string"===typeof r&&(s=x(r),o[s]={type:null})}else if(u(i))for(var a in i)r=i[a],s=x(a),o[s]=u(r)?r:{type:r};else 0;t.props=o}}function Ft(t,e){var i=t.inject;if(i){var n=t.inject={};if(Array.isArray(i))for(var r=0;r<i.length;r++)n[i[r]]={from:i[r]};else if(u(i))for(var s in i){var o=i[s];n[s]=u(o)?L({from:s},o):{from:o}}else 0}}function Ht(t){var e=t.directives;if(e)for(var i in e){var n=e[i];"function"===typeof n&&(e[i]={bind:n,update:n})}}function Vt(t,e,i){"function"===typeof e&&(e=e.options),zt(e,i),Ft(e,i),Ht(e);var n=e.extends;if(n&&(t=Vt(t,n,i)),e.mixins)for(var r=0,s=e.mixins.length;r<s;r++)t=Vt(t,e.mixins[r],i);var o,a={};for(o in t)l(o);for(o in e)y(t,o)||l(o);function l(n){var r=Bt[n]||jt;a[n]=r(t[n],e[n],i,n)}return a}function Qt(t,e,i,n){if("string"===typeof i){var r=t[e];if(y(r,i))return r[i];var s=x(i);if(y(r,s))return r[s];var o=C(s);if(y(r,o))return r[o];var a=r[i]||r[s]||r[o];return a}}function Ut(t,e,i,n){var r=e[t],s=!y(i,t),o=i[t],a=Jt(Boolean,r.type);if(a>-1)if(s&&!y(r,"default"))o=!1;else if(""===o||o===S(t)){var l=Jt(String,r.type);(l<0||a<l)&&(o=!0)}if(void 0===o){o=Wt(n,r,t);var c=St;$t(!0),Lt(o),$t(c)}return o}function Wt(t,e,i){if(y(e,"default")){var n=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[i]&&void 0!==t._props[i]?t._props[i]:"function"===typeof n&&"Function"!==Kt(e.type)?n.call(t):n}}function Kt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Yt(t,e){return Kt(t)===Kt(e)}function Jt(t,e){if(!Array.isArray(e))return Yt(e,t)?0:-1;for(var i=0,n=e.length;i<n;i++)if(Yt(e[i],t))return i;return-1}function Gt(t,e,i){if(e){var n=e;while(n=n.$parent){var r=n.$options.errorCaptured;if(r)for(var s=0;s<r.length;s++)try{var o=!1===r[s].call(n,t,e,i);if(o)return}catch(t){Xt(t,n,"errorCaptured hook")}}}Xt(t,e,i)}function Xt(t,e,i){if(z.errorHandler)try{return z.errorHandler.call(null,t,e,i)}catch(t){Zt(t,null,"config.errorHandler")}Zt(t,e,i)}function Zt(t,e,i){if(!K&&!Y||"undefined"===typeof console)throw t;console.error(t)}var te,ee,ie=[],ne=!1;function re(){ne=!1;var t=ie.slice(0);ie.length=0;for(var e=0;e<t.length;e++)t[e]()}var se=!1;if("undefined"!==typeof setImmediate&&at(setImmediate))ee=function(){setImmediate(re)};else if("undefined"===typeof MessageChannel||!at(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())ee=function(){setTimeout(re,0)};else{var oe=new MessageChannel,ae=oe.port2;oe.port1.onmessage=re,ee=function(){ae.postMessage(1)}}if("undefined"!==typeof Promise&&at(Promise)){var le=Promise.resolve();te=function(){le.then(re),et&&setTimeout(M)}}else te=ee;function ce(t){return t._withTask||(t._withTask=function(){se=!0;var e=t.apply(null,arguments);return se=!1,e})}function ue(t,e){var i;if(ie.push(function(){if(t)try{t.call(e)}catch(t){Gt(t,e,"nextTick")}else i&&i(e)}),ne||(ne=!0,se?ee():te()),!t&&"undefined"!==typeof Promise)return new Promise(function(t){i=t})}var he=new lt;function de(t){fe(t,he),he.clear()}function fe(t,e){var i,n,r=Array.isArray(t);if(!(!r&&!l(t)||Object.isFrozen(t)||t instanceof vt)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(r){i=t.length;while(i--)fe(t[i],e)}else{n=Object.keys(t),i=n.length;while(i--)fe(t[n[i]],e)}}}var pe,me=_(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var i="~"===t.charAt(0);t=i?t.slice(1):t;var n="!"===t.charAt(0);return t=n?t.slice(1):t,{name:t,once:i,capture:n,passive:e}});function ve(t){function e(){var t=arguments,i=e.fns;if(!Array.isArray(i))return i.apply(null,arguments);for(var n=i.slice(),r=0;r<n.length;r++)n[r].apply(null,t)}return e.fns=t,e}function ge(t,e,i,r,s){var o,a,l,c;for(o in t)a=t[o],l=e[o],c=me(o),n(a)||(n(l)?(n(a.fns)&&(a=t[o]=ve(a)),i(c.name,a,c.once,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,t[o]=l));for(o in e)n(t[o])&&(c=me(o),r(c.name,e[o],c.capture))}function be(t,e,i){var o;t instanceof vt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function l(){i.apply(this,arguments),g(o.fns,l)}n(a)?o=ve([l]):r(a.fns)&&s(a.merged)?(o=a,o.fns.push(l)):o=ve([a,l]),o.merged=!0,t[e]=o}function ye(t,e,i){var s=e.options.props;if(!n(s)){var o={},a=t.attrs,l=t.props;if(r(a)||r(l))for(var c in s){var u=S(c);_e(o,l,c,u,!0)||_e(o,a,c,u,!1)}return o}}function _e(t,e,i,n,s){if(r(e)){if(y(e,i))return t[i]=e[i],s||delete e[i],!0;if(y(e,n))return t[i]=e[n],s||delete e[n],!0}return!1}function we(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function xe(t){return a(t)?[yt(t)]:Array.isArray(t)?ke(t):void 0}function Ce(t){return r(t)&&r(t.text)&&o(t.isComment)}function ke(t,e){var i,o,l,c,u=[];for(i=0;i<t.length;i++)o=t[i],n(o)||"boolean"===typeof o||(l=u.length-1,c=u[l],Array.isArray(o)?o.length>0&&(o=ke(o,(e||"")+"_"+i),Ce(o[0])&&Ce(c)&&(u[l]=yt(c.text+o[0].text),o.shift()),u.push.apply(u,o)):a(o)?Ce(c)?u[l]=yt(c.text+o):""!==o&&u.push(yt(o)):Ce(o)&&Ce(c)?u[l]=yt(c.text+o.text):(s(t._isVList)&&r(o.tag)&&n(o.key)&&r(e)&&(o.key="__vlist"+e+"_"+i+"__"),u.push(o)));return u}function Se(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function $e(t,e,i,n,r){var s=bt();return s.asyncFactory=t,s.asyncMeta={data:e,context:i,children:n,tag:r},s}function qe(t,e,i){if(s(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(s(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var o=t.contexts=[i],a=!0,c=function(){for(var t=0,e=o.length;t<e;t++)o[t].$forceUpdate()},u=R(function(i){t.resolved=Se(i,e),a||c()}),h=R(function(e){r(t.errorComp)&&(t.error=!0,c())}),d=t(u,h);return l(d)&&("function"===typeof d.then?n(t.resolved)&&d.then(u,h):r(d.component)&&"function"===typeof d.component.then&&(d.component.then(u,h),r(d.error)&&(t.errorComp=Se(d.error,e)),r(d.loading)&&(t.loadingComp=Se(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,c())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(t.resolved)&&h(null)},d.timeout))),a=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}function Te(t){return t.isComment&&t.asyncFactory}function Pe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var i=t[e];if(r(i)&&(r(i.componentOptions)||Te(i)))return i}}function Le(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ee(t,e)}function Oe(t,e,i){i?pe.$once(t,e):pe.$on(t,e)}function Me(t,e){pe.$off(t,e)}function Ee(t,e,i){pe=t,ge(e,i||{},Oe,Me,t),pe=void 0}function Ae(t){var e=/^hook:/;t.prototype.$on=function(t,i){var n=this,r=this;if(Array.isArray(t))for(var s=0,o=t.length;s<o;s++)n.$on(t[s],i);else(r._events[t]||(r._events[t]=[])).push(i),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var i=this;function n(){i.$off(t,n),e.apply(i,arguments)}return n.fn=e,i.$on(t,n),i},t.prototype.$off=function(t,e){var i=this,n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,s=t.length;r<s;r++)i.$off(t[r],e);return n}var o=n._events[t];if(!o)return n;if(!e)return n._events[t]=null,n;if(e){var a,l=o.length;while(l--)if(a=o[l],a===e||a.fn===e){o.splice(l,1);break}}return n},t.prototype.$emit=function(t){var e=this,i=e._events[t];if(i){i=i.length>1?P(i):i;for(var n=P(arguments,1),r=0,s=i.length;r<s;r++)try{i[r].apply(e,n)}catch(i){Gt(i,e,'event handler for "'+t+'"')}}return e}}function Be(t,e){var i={};if(!t)return i;for(var n=0,r=t.length;n<r;n++){var s=t[n],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,s.context!==e&&s.fnContext!==e||!o||null==o.slot)(i.default||(i.default=[])).push(s);else{var a=o.slot,l=i[a]||(i[a]=[]);"template"===s.tag?l.push.apply(l,s.children||[]):l.push(s)}}for(var c in i)i[c].every(Ne)&&delete i[c];return i}function Ne(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Re(t,e){e=e||{};for(var i=0;i<t.length;i++)Array.isArray(t[i])?Re(t[i],e):e[t[i].key]=t[i].fn;return e}var Ie=null;function De(t){var e=t.$options,i=e.parent;if(i&&!e.abstract){while(i.$options.abstract&&i.$parent)i=i.$parent;i.$children.push(t)}t.$parent=i,t.$root=i?i.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function je(t){t.prototype._update=function(t,e){var i=this;i._isMounted&&Ue(i,"beforeUpdate");var n=i.$el,r=i._vnode,s=Ie;Ie=i,i._vnode=t,r?i.$el=i.__patch__(r,t):(i.$el=i.__patch__(i.$el,t,e,!1,i.$options._parentElm,i.$options._refElm),i.$options._parentElm=i.$options._refElm=null),Ie=s,n&&(n.__vue__=null),i.$el&&(i.$el.__vue__=i),i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Ue(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||g(e.$children,t),t._watcher&&t._watcher.teardown();var i=t._watchers.length;while(i--)t._watchers[i].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Ue(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function ze(t,e,i){var n;return t.$el=e,t.$options.render||(t.$options.render=bt),Ue(t,"beforeMount"),n=function(){t._update(t._render(),i)},new oi(t,n,M,null,!0),i=!1,null==t.$vnode&&(t._isMounted=!0,Ue(t,"mounted")),t}function Fe(t,e,n,r,s){var o=!!(s||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==i);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=s,t.$attrs=r.data.attrs||i,t.$listeners=n||i,e&&t.$options.props){$t(!1);for(var a=t._props,l=t.$options._propKeys||[],c=0;c<l.length;c++){var u=l[c],h=t.$options.props;a[u]=Ut(u,h,e,t)}$t(!0),t.$options.propsData=e}n=n||i;var d=t.$options._parentListeners;t.$options._parentListeners=n,Ee(t,n,d),o&&(t.$slots=Be(s,r.context),t.$forceUpdate())}function He(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Ve(t,e){if(e){if(t._directInactive=!1,He(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var i=0;i<t.$children.length;i++)Ve(t.$children[i]);Ue(t,"activated")}}function Qe(t,e){if((!e||(t._directInactive=!0,!He(t)))&&!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)Qe(t.$children[i]);Ue(t,"deactivated")}}function Ue(t,e){pt();var i=t.$options[e];if(i)for(var n=0,r=i.length;n<r;n++)try{i[n].call(t)}catch(i){Gt(i,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),mt()}var We=[],Ke=[],Ye={},Je=!1,Ge=!1,Xe=0;function Ze(){Xe=We.length=Ke.length=0,Ye={},Je=Ge=!1}function ti(){var t,e;for(Ge=!0,We.sort(function(t,e){return t.id-e.id}),Xe=0;Xe<We.length;Xe++)t=We[Xe],e=t.id,Ye[e]=null,t.run();var i=Ke.slice(),n=We.slice();Ze(),ni(i),ei(n),ot&&z.devtools&&ot.emit("flush")}function ei(t){var e=t.length;while(e--){var i=t[e],n=i.vm;n._watcher===i&&n._isMounted&&Ue(n,"updated")}}function ii(t){t._inactive=!1,Ke.push(t)}function ni(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ve(t[e],!0)}function ri(t){var e=t.id;if(null==Ye[e]){if(Ye[e]=!0,Ge){var i=We.length-1;while(i>Xe&&We[i].id>t.id)i--;We.splice(i+1,0,t)}else We.push(t);Je||(Je=!0,ue(ti))}}var si=0,oi=function(t,e,i,n,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=i,this.id=++si,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new lt,this.newDepIds=new lt,this.expression="","function"===typeof e?this.getter=e:(this.getter=Q(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};oi.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Gt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&de(t),mt(),this.cleanupDeps()}return t},oi.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},oi.prototype.cleanupDeps=function(){var t=this,e=this.deps.length;while(e--){var i=t.deps[e];t.newDepIds.has(i.id)||i.removeSub(t)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},oi.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ri(this)},oi.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Gt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},oi.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},oi.prototype.depend=function(){var t=this,e=this.deps.length;while(e--)t.deps[e].depend()},oi.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)t.deps[e].removeSub(t);this.active=!1}};var ai={enumerable:!0,configurable:!0,get:M,set:M};function li(t,e,i){ai.get=function(){return this[e][i]},ai.set=function(t){this[e][i]=t},Object.defineProperty(t,i,ai)}function ci(t){t._watchers=[];var e=t.$options;e.props&&ui(t,e.props),e.methods&&gi(t,e.methods),e.data?hi(t):Lt(t._data={},!0),e.computed&&pi(t,e.computed),e.watch&&e.watch!==it&&bi(t,e.watch)}function ui(t,e){var i=t.$options.propsData||{},n=t._props={},r=t.$options._propKeys=[],s=!t.$parent;s||$t(!1);var o=function(s){r.push(s);var o=Ut(s,e,i,t);Ot(n,s,o),s in t||li(t,"_props",s)};for(var a in e)o(a);$t(!0)}function hi(t){var e=t.$options.data;e=t._data="function"===typeof e?di(e,t):e||{},u(e)||(e={});var i=Object.keys(e),n=t.$options.props,r=(t.$options.methods,i.length);while(r--){var s=i[r];0,n&&y(n,s)||F(s)||li(t,"_data",s)}Lt(e,!0)}function di(t,e){pt();try{return t.call(e,e)}catch(t){return Gt(t,e,"data()"),{}}finally{mt()}}var fi={lazy:!0};function pi(t,e){var i=t._computedWatchers=Object.create(null),n=st();for(var r in e){var s=e[r],o="function"===typeof s?s:s.get;0,n||(i[r]=new oi(t,o||M,M,fi)),r in t||mi(t,r,s)}}function mi(t,e,i){var n=!st();"function"===typeof i?(ai.get=n?vi(e):i,ai.set=M):(ai.get=i.get?n&&!1!==i.cache?vi(e):i.get:M,ai.set=i.set?i.set:M),Object.defineProperty(t,e,ai)}function vi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function gi(t,e){t.$options.props;for(var i in e)t[i]=null==e[i]?M:T(e[i],t)}function bi(t,e){for(var i in e){var n=e[i];if(Array.isArray(n))for(var r=0;r<n.length;r++)yi(t,i,n[r]);else yi(t,i,n)}}function yi(t,e,i,n){return u(i)&&(n=i,i=i.handler),"string"===typeof i&&(i=t[i]),t.$watch(e,i,n)}function _i(t){var e={get:function(){return this._data}},i={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",i),t.prototype.$set=Mt,t.prototype.$delete=Et,t.prototype.$watch=function(t,e,i){var n=this;if(u(e))return yi(n,t,e,i);i=i||{},i.user=!0;var r=new oi(n,t,e,i);return i.immediate&&e.call(n,r.value),function(){r.teardown()}}}function wi(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function xi(t){var e=Ci(t.$options.inject,t);e&&($t(!1),Object.keys(e).forEach(function(i){Ot(t,i,e[i])}),$t(!0))}function Ci(t,e){if(t){for(var i=Object.create(null),n=ct?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),r=0;r<n.length;r++){var s=n[r],o=t[s].from,a=e;while(a){if(a._provided&&y(a._provided,o)){i[s]=a._provided[o];break}a=a.$parent}if(!a)if("default"in t[s]){var l=t[s].default;i[s]="function"===typeof l?l.call(e):l}else 0}return i}}function ki(t,e){var i,n,s,o,a;if(Array.isArray(t)||"string"===typeof t)for(i=new Array(t.length),n=0,s=t.length;n<s;n++)i[n]=e(t[n],n);else if("number"===typeof t)for(i=new Array(t),n=0;n<t;n++)i[n]=e(n+1,n);else if(l(t))for(o=Object.keys(t),i=new Array(o.length),n=0,s=o.length;n<s;n++)a=o[n],i[n]=e(t[a],a,n);return r(i)&&(i._isVList=!0),i}function Si(t,e,i,n){var r,s=this.$scopedSlots[t];if(s)i=i||{},n&&(i=L(L({},n),i)),r=s(i)||e;else{var o=this.$slots[t];o&&(o._rendered=!0),r=o||e}var a=i&&i.slot;return a?this.$createElement("template",{slot:a},r):r}function $i(t){return Qt(this.$options,"filters",t,!0)||A}function qi(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ti(t,e,i,n,r){var s=z.keyCodes[e]||i;return r&&n&&!z.keyCodes[e]?qi(r,n):s?qi(s,t):n?S(n)!==e:void 0}function Pi(t,e,i,n,r){if(i)if(l(i)){var s;Array.isArray(i)&&(i=O(i));var o=function(o){if("class"===o||"style"===o||v(o))s=t;else{var a=t.attrs&&t.attrs.type;s=n||z.mustUseProp(e,a,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}if(!(o in s)&&(s[o]=i[o],r)){var l=t.on||(t.on={});l["update:"+o]=function(t){i[o]=t}}};for(var a in i)o(a)}else;return t}function Li(t,e){var i=this._staticTrees||(this._staticTrees=[]),n=i[t];return n&&!e?n:(n=i[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Mi(n,"__static__"+t,!1),n)}function Oi(t,e,i){return Mi(t,"__once__"+e+(i?"_"+i:""),!0),t}function Mi(t,e,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]&&"string"!==typeof t[n]&&Ei(t[n],e+"_"+n,i);else Ei(t,e,i)}function Ei(t,e,i){t.isStatic=!0,t.key=e,t.isOnce=i}function Ai(t,e){if(e)if(u(e)){var i=t.on=t.on?L({},t.on):{};for(var n in e){var r=i[n],s=e[n];i[n]=r?[].concat(r,s):s}}else;return t}function Bi(t){t._o=Oi,t._n=p,t._s=f,t._l=ki,t._t=Si,t._q=B,t._i=N,t._m=Li,t._f=$i,t._k=Ti,t._b=Pi,t._v=yt,t._e=bt,t._u=Re,t._g=Ai}function Ni(t,e,n,r,o){var a,l=o.options;y(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var c=s(l._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||i,this.injections=Ci(l.inject,r),this.slots=function(){return Be(n,r)},c&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||i),l._scopeId?this._c=function(t,e,i,n){var s=Ki(a,t,e,i,n,u);return s&&!Array.isArray(s)&&(s.fnScopeId=l._scopeId,s.fnContext=r),s}:this._c=function(t,e,i,n){return Ki(a,t,e,i,n,u)}}function Ri(t,e,n,s,o){var a=t.options,l={},c=a.props;if(r(c))for(var u in c)l[u]=Ut(u,c,e||i);else r(n.attrs)&&Di(l,n.attrs),r(n.props)&&Di(l,n.props);var h=new Ni(n,l,o,s,t),d=a.render.call(null,h._c,h);if(d instanceof vt)return Ii(d,n,h.parent,a);if(Array.isArray(d)){for(var f=xe(d)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=Ii(f[m],n,h.parent,a);return p}}function Ii(t,e,i,n){var r=_t(t);return r.fnContext=i,r.fnOptions=n,e.slot&&((r.data||(r.data={})).slot=e.slot),r}function Di(t,e){for(var i in e)t[x(i)]=e[i]}Bi(Ni.prototype);var ji={init:function(t,e,i,n){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;ji.prepatch(r,r)}else{var s=t.componentInstance=Hi(t,Ie,i,n);s.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var i=e.componentOptions,n=e.componentInstance=t.componentInstance;Fe(n,i.propsData,i.listeners,e,i.children)},insert:function(t){var e=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,Ue(i,"mounted")),t.data.keepAlive&&(e._isMounted?ii(i):Ve(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Qe(e,!0):e.$destroy())}},zi=Object.keys(ji);function Fi(t,e,i,o,a){if(!n(t)){var c=i.$options._base;if(l(t)&&(t=c.extend(t)),"function"===typeof t){var u;if(n(t.cid)&&(u=t,t=qe(u,c,i),void 0===t))return $e(u,e,i,o,a);e=e||{},rn(t),r(e.model)&&Qi(t.options,e);var h=ye(e,t,a);if(s(t.options.functional))return Ri(t,h,e,i,o);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}Vi(e);var p=t.options.name||a,m=new vt("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,i,{Ctor:t,propsData:h,listeners:d,tag:a,children:o},u);return m}}}function Hi(t,e,i,n){var s={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:i||null,_refElm:n||null},o=t.data.inlineTemplate;return r(o)&&(s.render=o.render,s.staticRenderFns=o.staticRenderFns),new t.componentOptions.Ctor(s)}function Vi(t){for(var e=t.hook||(t.hook={}),i=0;i<zi.length;i++){var n=zi[i];e[n]=ji[n]}}function Qi(t,e){var i=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.props||(e.props={}))[i]=e.model.value;var s=e.on||(e.on={});r(s[n])?s[n]=[e.model.callback].concat(s[n]):s[n]=e.model.callback}var Ui=1,Wi=2;function Ki(t,e,i,n,r,o){return(Array.isArray(i)||a(i))&&(r=n,n=i,i=void 0),s(o)&&(r=Wi),Yi(t,e,i,n,r)}function Yi(t,e,i,n,s){if(r(i)&&r(i.__ob__))return bt();if(r(i)&&r(i.is)&&(e=i.is),!e)return bt();var o,a,l;(Array.isArray(n)&&"function"===typeof n[0]&&(i=i||{},i.scopedSlots={default:n[0]},n.length=0),s===Wi?n=xe(n):s===Ui&&(n=we(n)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||z.getTagNamespace(e),o=z.isReservedTag(e)?new vt(z.parsePlatformTagName(e),i,n,void 0,void 0,t):r(l=Qt(t.$options,"components",e))?Fi(l,i,t,n,e):new vt(e,i,n,void 0,void 0,t)):o=Fi(e,i,t,n);return Array.isArray(o)?o:r(o)?(r(a)&&Ji(o,a),r(i)&&Gi(i),o):bt()}function Ji(t,e,i){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,i=!0),r(t.children))for(var o=0,a=t.children.length;o<a;o++){var l=t.children[o];r(l.tag)&&(n(l.ns)||s(i)&&"svg"!==l.tag)&&Ji(l,e,i)}}function Gi(t){l(t.style)&&de(t.style),l(t.class)&&de(t.class)}function Xi(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Be(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,i,n,r){return Ki(t,e,i,n,r,!1)},t.$createElement=function(e,i,n,r){return Ki(t,e,i,n,r,!0)};var s=n&&n.data;Ot(t,"$attrs",s&&s.attrs||i,null,!0),Ot(t,"$listeners",e._parentListeners||i,null,!0)}function Zi(t){Bi(t.prototype),t.prototype.$nextTick=function(t){return ue(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,s=n._parentVnode;s&&(e.$scopedSlots=s.data.scopedSlots||i),e.$vnode=s;try{t=r.call(e._renderProxy,e.$createElement)}catch(i){Gt(i,e,"render"),t=e._vnode}return t instanceof vt||(t=bt()),t.parent=s,t}}var tn=0;function en(t){t.prototype._init=function(t){var e=this;e._uid=tn++,e._isVue=!0,t&&t._isComponent?nn(e,t):e.$options=Vt(rn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,De(e),Le(e),Xi(e),Ue(e,"beforeCreate"),xi(e),ci(e),wi(e),Ue(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function nn(t,e){var i=t.$options=Object.create(t.constructor.options),n=e._parentVnode;i.parent=e.parent,i._parentVnode=n,i._parentElm=e._parentElm,i._refElm=e._refElm;var r=n.componentOptions;i.propsData=r.propsData,i._parentListeners=r.listeners,i._renderChildren=r.children,i._componentTag=r.tag,e.render&&(i.render=e.render,i.staticRenderFns=e.staticRenderFns)}function rn(t){var e=t.options;if(t.super){var i=rn(t.super),n=t.superOptions;if(i!==n){t.superOptions=i;var r=sn(t);r&&L(t.extendOptions,r),e=t.options=Vt(i,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function sn(t){var e,i=t.options,n=t.extendOptions,r=t.sealedOptions;for(var s in i)i[s]!==r[s]&&(e||(e={}),e[s]=on(i[s],n[s],r[s]));return e}function on(t,e,i){if(Array.isArray(t)){var n=[];i=Array.isArray(i)?i:[i],e=Array.isArray(e)?e:[e];for(var r=0;r<t.length;r++)(e.indexOf(t[r])>=0||i.indexOf(t[r])<0)&&n.push(t[r]);return n}return t}function an(t){this._init(t)}function ln(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var i=P(arguments,1);return i.unshift(this),"function"===typeof t.install?t.install.apply(t,i):"function"===typeof t&&t.apply(null,i),e.push(t),this}}function cn(t){t.mixin=function(t){return this.options=Vt(this.options,t),this}}function un(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var i=this,n=i.cid,r=t._Ctor||(t._Ctor={});if(r[n])return r[n];var s=t.name||i.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Vt(i.options,t),o["super"]=i,o.options.props&&hn(o),o.options.computed&&dn(o),o.extend=i.extend,o.mixin=i.mixin,o.use=i.use,D.forEach(function(t){o[t]=i[t]}),s&&(o.options.components[s]=o),o.superOptions=i.options,o.extendOptions=t,o.sealedOptions=L({},o.options),r[n]=o,o}}function hn(t){var e=t.options.props;for(var i in e)li(t.prototype,"_props",i)}function dn(t){var e=t.options.computed;for(var i in e)mi(t.prototype,i,e[i])}function fn(t){D.forEach(function(e){t[e]=function(t,i){return i?("component"===e&&u(i)&&(i.name=i.name||t,i=this.options._base.extend(i)),"directive"===e&&"function"===typeof i&&(i={bind:i,update:i}),this.options[e+"s"][t]=i,i):this.options[e+"s"][t]}})}function pn(t){return t&&(t.Ctor.options.name||t.tag)}function mn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function vn(t,e){var i=t.cache,n=t.keys,r=t._vnode;for(var s in i){var o=i[s];if(o){var a=pn(o.componentOptions);a&&!e(a)&&gn(i,s,n,r)}}}function gn(t,e,i,n){var r=t[e];!r||n&&r.tag===n.tag||r.componentInstance.$destroy(),t[e]=null,g(i,e)}en(an),_i(an),Ae(an),je(an),Zi(an);var bn=[String,RegExp,Array],yn={name:"keep-alive",abstract:!0,props:{include:bn,exclude:bn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)gn(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){vn(t,function(t){return mn(e,t)})}),this.$watch("exclude",function(e){vn(t,function(t){return!mn(e,t)})})},render:function(){var t=this.$slots.default,e=Pe(t),i=e&&e.componentOptions;if(i){var n=pn(i),r=this,s=r.include,o=r.exclude;if(s&&(!n||!mn(s,n))||o&&n&&mn(o,n))return e;var a=this,l=a.cache,c=a.keys,u=null==e.key?i.Ctor.cid+(i.tag?"::"+i.tag:""):e.key;l[u]?(e.componentInstance=l[u].componentInstance,g(c,u),c.push(u)):(l[u]=e,c.push(u),this.max&&c.length>parseInt(this.max)&&gn(l,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},_n={KeepAlive:yn};function wn(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:L,mergeOptions:Vt,defineReactive:Ot},t.set=Mt,t.delete=Et,t.nextTick=ue,t.options=Object.create(null),D.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,L(t.options.components,_n),ln(t),cn(t),un(t),fn(t)}wn(an),Object.defineProperty(an.prototype,"$isServer",{get:st}),Object.defineProperty(an.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(an,"FunctionalRenderContext",{value:Ni}),an.version="2.5.17";var xn=m("style,class"),Cn=m("input,textarea,option,select,progress"),kn=function(t,e,i){return"value"===i&&Cn(t)&&"button"!==e||"selected"===i&&"option"===t||"checked"===i&&"input"===t||"muted"===i&&"video"===t},Sn=m("contenteditable,draggable,spellcheck"),$n=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),qn="http://www.w3.org/1999/xlink",Tn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Pn=function(t){return Tn(t)?t.slice(6,t.length):""},Ln=function(t){return null==t||!1===t};function On(t){var e=t.data,i=t,n=t;while(r(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(e=Mn(n.data,e));while(r(i=i.parent))i&&i.data&&(e=Mn(e,i.data));return En(e.staticClass,e.class)}function Mn(t,e){return{staticClass:An(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function En(t,e){return r(t)||r(e)?An(t,Bn(e)):""}function An(t,e){return t?e?t+" "+e:t:e||""}function Bn(t){return Array.isArray(t)?Nn(t):l(t)?Rn(t):"string"===typeof t?t:""}function Nn(t){for(var e,i="",n=0,s=t.length;n<s;n++)r(e=Bn(t[n]))&&""!==e&&(i&&(i+=" "),i+=e);return i}function Rn(t){var e="";for(var i in t)t[i]&&(e&&(e+=" "),e+=i);return e}var In={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Dn=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),jn=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),zn=function(t){return Dn(t)||jn(t)};function Fn(t){return jn(t)?"svg":"math"===t?"math":void 0}var Hn=Object.create(null);function Vn(t){if(!K)return!0;if(zn(t))return!1;if(t=t.toLowerCase(),null!=Hn[t])return Hn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Hn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Hn[t]=/HTMLUnknownElement/.test(e.toString())}var Qn=m("text,number,password,search,email,tel,url");function Un(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Wn(t,e){var i=document.createElement(t);return"select"!==t?i:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i)}function Kn(t,e){return document.createElementNS(In[t],e)}function Yn(t){return document.createTextNode(t)}function Jn(t){return document.createComment(t)}function Gn(t,e,i){t.insertBefore(e,i)}function Xn(t,e){t.removeChild(e)}function Zn(t,e){t.appendChild(e)}function tr(t){return t.parentNode}function er(t){return t.nextSibling}function ir(t){return t.tagName}function nr(t,e){t.textContent=e}function rr(t,e){t.setAttribute(e,"")}var sr=Object.freeze({createElement:Wn,createElementNS:Kn,createTextNode:Yn,createComment:Jn,insertBefore:Gn,removeChild:Xn,appendChild:Zn,parentNode:tr,nextSibling:er,tagName:ir,setTextContent:nr,setStyleScope:rr}),or={create:function(t,e){ar(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ar(t,!0),ar(e))},destroy:function(t){ar(t,!0)}};function ar(t,e){var i=t.data.ref;if(r(i)){var n=t.context,s=t.componentInstance||t.elm,o=n.$refs;e?Array.isArray(o[i])?g(o[i],s):o[i]===s&&(o[i]=void 0):t.data.refInFor?Array.isArray(o[i])?o[i].indexOf(s)<0&&o[i].push(s):o[i]=[s]:o[i]=s}}var lr=new vt("",{},[]),cr=["create","activate","update","remove","destroy"];function ur(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&hr(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function hr(t,e){if("input"!==t.tag)return!0;var i,n=r(i=t.data)&&r(i=i.attrs)&&i.type,s=r(i=e.data)&&r(i=i.attrs)&&i.type;return n===s||Qn(n)&&Qn(s)}function dr(t,e,i){var n,s,o={};for(n=e;n<=i;++n)s=t[n].key,r(s)&&(o[s]=n);return o}function fr(t){var e,i,o={},l=t.modules,c=t.nodeOps;for(e=0;e<cr.length;++e)for(o[cr[e]]=[],i=0;i<l.length;++i)r(l[i][cr[e]])&&o[cr[e]].push(l[i][cr[e]]);function u(t){return new vt(c.tagName(t).toLowerCase(),{},[],void 0,t)}function h(t,e){function i(){0===--i.listeners&&d(t)}return i.listeners=e,i}function d(t){var e=c.parentNode(t);r(e)&&c.removeChild(e,t)}function f(t,e,i,n,o,a,l){if(r(t.elm)&&r(a)&&(t=a[l]=_t(t)),t.isRootInsert=!o,!p(t,e,i,n)){var u=t.data,h=t.children,d=t.tag;r(d)?(t.elm=t.ns?c.createElementNS(t.ns,d):c.createElement(d,t),x(t),y(t,h,e),r(u)&&w(t,e),b(i,t.elm,n)):s(t.isComment)?(t.elm=c.createComment(t.text),b(i,t.elm,n)):(t.elm=c.createTextNode(t.text),b(i,t.elm,n))}}function p(t,e,i,n){var o=t.data;if(r(o)){var a=r(t.componentInstance)&&o.keepAlive;if(r(o=o.hook)&&r(o=o.init)&&o(t,!1,i,n),r(t.componentInstance))return v(t,e),s(a)&&g(t,e,i,n),!0}}function v(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,_(t)?(w(t,e),x(t)):(ar(t),e.push(t))}function g(t,e,i,n){var s,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,r(s=a.data)&&r(s=s.transition)){for(s=0;s<o.activate.length;++s)o.activate[s](lr,a);e.push(a);break}b(i,t.elm,n)}function b(t,e,i){r(t)&&(r(i)?i.parentNode===t&&c.insertBefore(t,e,i):c.appendChild(t,e))}function y(t,e,i){if(Array.isArray(e)){0;for(var n=0;n<e.length;++n)f(e[n],i,t.elm,null,!0,e,n)}else a(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function _(t){while(t.componentInstance)t=t.componentInstance._vnode;return r(t.tag)}function w(t,i){for(var n=0;n<o.create.length;++n)o.create[n](lr,t);e=t.data.hook,r(e)&&(r(e.create)&&e.create(lr,t),r(e.insert)&&i.push(t))}function x(t){var e;if(r(e=t.fnScopeId))c.setStyleScope(t.elm,e);else{var i=t;while(i)r(e=i.context)&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),i=i.parent}r(e=Ie)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function C(t,e,i,n,r,s){for(;n<=r;++n)f(i[n],s,t,e,!1,i,n)}function k(t){var e,i,n=t.data;if(r(n))for(r(e=n.hook)&&r(e=e.destroy)&&e(t),e=0;e<o.destroy.length;++e)o.destroy[e](t);if(r(e=t.children))for(i=0;i<t.children.length;++i)k(t.children[i])}function S(t,e,i,n){for(;i<=n;++i){var s=e[i];r(s)&&(r(s.tag)?($(s),k(s)):d(s.elm))}}function $(t,e){if(r(e)||r(t.data)){var i,n=o.remove.length+1;for(r(e)?e.listeners+=n:e=h(t.elm,n),r(i=t.componentInstance)&&r(i=i._vnode)&&r(i.data)&&$(i,e),i=0;i<o.remove.length;++i)o.remove[i](t,e);r(i=t.data.hook)&&r(i=i.remove)?i(t,e):e()}else d(t.elm)}function q(t,e,i,s,o){var a,l,u,h,d=0,p=0,m=e.length-1,v=e[0],g=e[m],b=i.length-1,y=i[0],_=i[b],w=!o;while(d<=m&&p<=b)n(v)?v=e[++d]:n(g)?g=e[--m]:ur(v,y)?(P(v,y,s),v=e[++d],y=i[++p]):ur(g,_)?(P(g,_,s),g=e[--m],_=i[--b]):ur(v,_)?(P(v,_,s),w&&c.insertBefore(t,v.elm,c.nextSibling(g.elm)),v=e[++d],_=i[--b]):ur(g,y)?(P(g,y,s),w&&c.insertBefore(t,g.elm,v.elm),g=e[--m],y=i[++p]):(n(a)&&(a=dr(e,d,m)),l=r(y.key)?a[y.key]:T(y,e,d,m),n(l)?f(y,s,t,v.elm,!1,i,p):(u=e[l],ur(u,y)?(P(u,y,s),e[l]=void 0,w&&c.insertBefore(t,u.elm,v.elm)):f(y,s,t,v.elm,!1,i,p)),y=i[++p]);d>m?(h=n(i[b+1])?null:i[b+1].elm,C(t,h,i,p,b,s)):p>b&&S(t,e,d,m)}function T(t,e,i,n){for(var s=i;s<n;s++){var o=e[s];if(r(o)&&ur(t,o))return s}}function P(t,e,i,a){if(t!==e){var l=e.elm=t.elm;if(s(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?M(t.elm,e,i):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var u,h=e.data;r(h)&&r(u=h.hook)&&r(u=u.prepatch)&&u(t,e);var d=t.children,f=e.children;if(r(h)&&_(e)){for(u=0;u<o.update.length;++u)o.update[u](t,e);r(u=h.hook)&&r(u=u.update)&&u(t,e)}n(e.text)?r(d)&&r(f)?d!==f&&q(l,d,f,i,a):r(f)?(r(t.text)&&c.setTextContent(l,""),C(l,null,f,0,f.length-1,i)):r(d)?S(l,d,0,d.length-1):r(t.text)&&c.setTextContent(l,""):t.text!==e.text&&c.setTextContent(l,e.text),r(h)&&r(u=h.hook)&&r(u=u.postpatch)&&u(t,e)}}}function L(t,e,i){if(s(i)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var O=m("attrs,class,staticClass,staticStyle,key");function M(t,e,i,n){var o,a=e.tag,l=e.data,c=e.children;if(n=n||l&&l.pre,e.elm=t,s(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(o=l.hook)&&r(o=o.init)&&o(e,!0),r(o=e.componentInstance)))return v(e,i),!0;if(r(a)){if(r(c))if(t.hasChildNodes())if(r(o=l)&&r(o=o.domProps)&&r(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,d=0;d<c.length;d++){if(!h||!M(h,c[d],i,n)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else y(e,c,i);if(r(l)){var f=!1;for(var p in l)if(!O(p)){f=!0,w(e,i);break}!f&&l["class"]&&de(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,i,a,l,h){if(!n(e)){var d=!1,p=[];if(n(t))d=!0,f(e,p,l,h);else{var m=r(t.nodeType);if(!m&&ur(t,e))P(t,e,p,a);else{if(m){if(1===t.nodeType&&t.hasAttribute(I)&&(t.removeAttribute(I),i=!0),s(i)&&M(t,e,p))return L(e,p,!0),t;t=u(t)}var v=t.elm,g=c.parentNode(v);if(f(e,p,v._leaveCb?null:g,c.nextSibling(v)),r(e.parent)){var b=e.parent,y=_(e);while(b){for(var w=0;w<o.destroy.length;++w)o.destroy[w](b);if(b.elm=e.elm,y){for(var x=0;x<o.create.length;++x)o.create[x](lr,b);var C=b.data.hook.insert;if(C.merged)for(var $=1;$<C.fns.length;$++)C.fns[$]()}else ar(b);b=b.parent}}r(g)?S(g,[t],0,0):r(t.tag)&&k(t)}}return L(e,p,d),e.elm}r(t)&&k(t)}}var pr={create:mr,update:mr,destroy:function(t){mr(t,lr)}};function mr(t,e){(t.data.directives||e.data.directives)&&vr(t,e)}function vr(t,e){var i,n,r,s=t===lr,o=e===lr,a=br(t.data.directives,t.context),l=br(e.data.directives,e.context),c=[],u=[];for(i in l)n=a[i],r=l[i],n?(r.oldValue=n.value,_r(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(_r(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var h=function(){for(var i=0;i<c.length;i++)_r(c[i],"inserted",e,t)};s?be(e,"insert",h):h()}if(u.length&&be(e,"postpatch",function(){for(var i=0;i<u.length;i++)_r(u[i],"componentUpdated",e,t)}),!s)for(i in a)l[i]||_r(a[i],"unbind",t,t,o)}var gr=Object.create(null);function br(t,e){var i,n,r=Object.create(null);if(!t)return r;for(i=0;i<t.length;i++)n=t[i],n.modifiers||(n.modifiers=gr),r[yr(n)]=n,n.def=Qt(e.$options,"directives",n.name,!0);return r}function yr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function _r(t,e,i,n,r){var s=t.def&&t.def[e];if(s)try{s(i.elm,t,i,n,r)}catch(n){Gt(n,i.context,"directive "+t.name+" "+e+" hook")}}var wr=[or,pr];function xr(t,e){var i=e.componentOptions;if((!r(i)||!1!==i.Ctor.options.inheritAttrs)&&(!n(t.data.attrs)||!n(e.data.attrs))){var s,o,a,l=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(s in r(u.__ob__)&&(u=e.data.attrs=L({},u)),u)o=u[s],a=c[s],a!==o&&Cr(l,s,o);for(s in(X||tt)&&u.value!==c.value&&Cr(l,"value",u.value),c)n(u[s])&&(Tn(s)?l.removeAttributeNS(qn,Pn(s)):Sn(s)||l.removeAttribute(s))}}function Cr(t,e,i){t.tagName.indexOf("-")>-1?kr(t,e,i):$n(e)?Ln(i)?t.removeAttribute(e):(i="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,i)):Sn(e)?t.setAttribute(e,Ln(i)||"false"===i?"false":"true"):Tn(e)?Ln(i)?t.removeAttributeNS(qn,Pn(e)):t.setAttributeNS(qn,e,i):kr(t,e,i)}function kr(t,e,i){if(Ln(i))t.removeAttribute(e);else{if(X&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,i)}}var Sr={create:xr,update:xr};function $r(t,e){var i=e.elm,s=e.data,o=t.data;if(!(n(s.staticClass)&&n(s.class)&&(n(o)||n(o.staticClass)&&n(o.class)))){var a=On(e),l=i._transitionClasses;r(l)&&(a=An(a,Bn(l))),a!==i._prevClass&&(i.setAttribute("class",a),i._prevClass=a)}}var qr,Tr={create:$r,update:$r},Pr="__r",Lr="__c";function Or(t){if(r(t[Pr])){var e=X?"change":"input";t[e]=[].concat(t[Pr],t[e]||[]),delete t[Pr]}r(t[Lr])&&(t.change=[].concat(t[Lr],t.change||[]),delete t[Lr])}function Mr(t,e,i){var n=qr;return function r(){var s=t.apply(null,arguments);null!==s&&Ar(e,r,i,n)}}function Er(t,e,i,n,r){e=ce(e),i&&(e=Mr(e,t,n)),qr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Ar(t,e,i,n){(n||qr).removeEventListener(t,e._withTask||e,i)}function Br(t,e){if(!n(t.data.on)||!n(e.data.on)){var i=e.data.on||{},r=t.data.on||{};qr=e.elm,Or(i),ge(i,r,Er,Ar,e.context),qr=void 0}}var Nr={create:Br,update:Br};function Rr(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,s,o=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(i in r(l.__ob__)&&(l=e.data.domProps=L({},l)),a)n(l[i])&&(o[i]="");for(i in l){if(s=l[i],"textContent"===i||"innerHTML"===i){if(e.children&&(e.children.length=0),s===a[i])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===i){o._value=s;var c=n(s)?"":String(s);Ir(o,c)&&(o.value=c)}else o[i]=s}}}function Ir(t,e){return!t.composing&&("OPTION"===t.tagName||Dr(t,e)||jr(t,e))}function Dr(t,e){var i=!0;try{i=document.activeElement!==t}catch(t){}return i&&t.value!==e}function jr(t,e){var i=t.value,n=t._vModifiers;if(r(n)){if(n.lazy)return!1;if(n.number)return p(i)!==p(e);if(n.trim)return i.trim()!==e.trim()}return i!==e}var zr={create:Rr,update:Rr},Fr=_(function(t){var e={},i=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(i).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function Hr(t){var e=Vr(t.style);return t.staticStyle?L(t.staticStyle,e):e}function Vr(t){return Array.isArray(t)?O(t):"string"===typeof t?Fr(t):t}function Qr(t,e){var i,n={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(i=Hr(r.data))&&L(n,i)}(i=Hr(t.data))&&L(n,i);var s=t;while(s=s.parent)s.data&&(i=Hr(s.data))&&L(n,i);return n}var Ur,Wr=/^--/,Kr=/\s*!important$/,Yr=function(t,e,i){if(Wr.test(e))t.style.setProperty(e,i);else if(Kr.test(i))t.style.setProperty(e,i.replace(Kr,""),"important");else{var n=Gr(e);if(Array.isArray(i))for(var r=0,s=i.length;r<s;r++)t.style[n]=i[r];else t.style[n]=i}},Jr=["Webkit","Moz","ms"],Gr=_(function(t){if(Ur=Ur||document.createElement("div").style,t=x(t),"filter"!==t&&t in Ur)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<Jr.length;i++){var n=Jr[i]+e;if(n in Ur)return n}});function Xr(t,e){var i=e.data,s=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(s.staticStyle)&&n(s.style))){var o,a,l=e.elm,c=s.staticStyle,u=s.normalizedStyle||s.style||{},h=c||u,d=Vr(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?L({},d):d;var f=Qr(e,!0);for(a in h)n(f[a])&&Yr(l,a,"");for(a in f)o=f[a],o!==h[a]&&Yr(l,a,null==o?"":o)}}var Zr={create:Xr,update:Xr};function ts(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var i=" "+(t.getAttribute("class")||"")+" ";i.indexOf(" "+e+" ")<0&&t.setAttribute("class",(i+e).trim())}}function es(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var i=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";while(i.indexOf(n)>=0)i=i.replace(n," ");i=i.trim(),i?t.setAttribute("class",i):t.removeAttribute("class")}}function is(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,ns(t.name||"v")),L(e,t),e}return"string"===typeof t?ns(t):void 0}}var ns=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),rs=K&&!Z,ss="transition",os="animation",as="transition",ls="transitionend",cs="animation",us="animationend";rs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(as="WebkitTransition",ls="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(cs="WebkitAnimation",us="webkitAnimationEnd"));var hs=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ds(t){hs(function(){hs(t)})}function fs(t,e){var i=t._transitionClasses||(t._transitionClasses=[]);i.indexOf(e)<0&&(i.push(e),ts(t,e))}function ps(t,e){t._transitionClasses&&g(t._transitionClasses,e),es(t,e)}function ms(t,e,i){var n=gs(t,e),r=n.type,s=n.timeout,o=n.propCount;if(!r)return i();var a=r===ss?ls:us,l=0,c=function(){t.removeEventListener(a,u),i()},u=function(e){e.target===t&&++l>=o&&c()};setTimeout(function(){l<o&&c()},s+1),t.addEventListener(a,u)}var vs=/\b(transform|all)(,|$)/;function gs(t,e){var i,n=window.getComputedStyle(t),r=n[as+"Delay"].split(", "),s=n[as+"Duration"].split(", "),o=bs(r,s),a=n[cs+"Delay"].split(", "),l=n[cs+"Duration"].split(", "),c=bs(a,l),u=0,h=0;e===ss?o>0&&(i=ss,u=o,h=s.length):e===os?c>0&&(i=os,u=c,h=l.length):(u=Math.max(o,c),i=u>0?o>c?ss:os:null,h=i?i===ss?s.length:l.length:0);var d=i===ss&&vs.test(n[as+"Property"]);return{type:i,timeout:u,propCount:h,hasTransform:d}}function bs(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map(function(e,i){return ys(e)+ys(t[i])}))}function ys(t){return 1e3*Number(t.slice(0,-1))}function _s(t,e){var i=t.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var s=is(t.data.transition);if(!n(s)&&!r(i._enterCb)&&1===i.nodeType){var o=s.css,a=s.type,c=s.enterClass,u=s.enterToClass,h=s.enterActiveClass,d=s.appearClass,f=s.appearToClass,m=s.appearActiveClass,v=s.beforeEnter,g=s.enter,b=s.afterEnter,y=s.enterCancelled,_=s.beforeAppear,w=s.appear,x=s.afterAppear,C=s.appearCancelled,k=s.duration,S=Ie,$=Ie.$vnode;while($&&$.parent)$=$.parent,S=$.context;var q=!S._isMounted||!t.isRootInsert;if(!q||w||""===w){var T=q&&d?d:c,P=q&&m?m:h,L=q&&f?f:u,O=q&&_||v,M=q&&"function"===typeof w?w:g,E=q&&x||b,A=q&&C||y,B=p(l(k)?k.enter:k);0;var N=!1!==o&&!Z,I=Cs(M),D=i._enterCb=R(function(){N&&(ps(i,L),ps(i,P)),D.cancelled?(N&&ps(i,T),A&&A(i)):E&&E(i),i._enterCb=null});t.data.show||be(t,"insert",function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),M&&M(i,D)}),O&&O(i),N&&(fs(i,T),fs(i,P),ds(function(){ps(i,T),D.cancelled||(fs(i,L),I||(xs(B)?setTimeout(D,B):ms(i,a,D)))})),t.data.show&&(e&&e(),M&&M(i,D)),N||I||D()}}}function ws(t,e){var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var s=is(t.data.transition);if(n(s)||1!==i.nodeType)return e();if(!r(i._leaveCb)){var o=s.css,a=s.type,c=s.leaveClass,u=s.leaveToClass,h=s.leaveActiveClass,d=s.beforeLeave,f=s.leave,m=s.afterLeave,v=s.leaveCancelled,g=s.delayLeave,b=s.duration,y=!1!==o&&!Z,_=Cs(f),w=p(l(b)?b.leave:b);0;var x=i._leaveCb=R(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),y&&(ps(i,u),ps(i,h)),x.cancelled?(y&&ps(i,c),v&&v(i)):(e(),m&&m(i)),i._leaveCb=null});g?g(C):C()}function C(){x.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),d&&d(i),y&&(fs(i,c),fs(i,h),ds(function(){ps(i,c),x.cancelled||(fs(i,u),_||(xs(w)?setTimeout(x,w):ms(i,a,x)))})),f&&f(i,x),y||_||x())}}function xs(t){return"number"===typeof t&&!isNaN(t)}function Cs(t){if(n(t))return!1;var e=t.fns;return r(e)?Cs(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ks(t,e){!0!==e.data.show&&_s(e)}var Ss=K?{create:ks,activate:ks,remove:function(t,e){!0!==t.data.show?ws(t,e):e()}}:{},$s=[Sr,Tr,Nr,zr,Zr,Ss],qs=$s.concat(wr),Ts=fr({nodeOps:sr,modules:qs});Z&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ns(t,"input")});var Ps={inserted:function(t,e,i,n){"select"===i.tag?(n.elm&&!n.elm._vOptions?be(i,"postpatch",function(){Ps.componentUpdated(t,e,i)}):Ls(t,e,i.context),t._vOptions=[].map.call(t.options,Es)):("textarea"===i.tag||Qn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",As),t.addEventListener("compositionend",Bs),t.addEventListener("change",Bs),Z&&(t.vmodel=!0)))},componentUpdated:function(t,e,i){if("select"===i.tag){Ls(t,e,i.context);var n=t._vOptions,r=t._vOptions=[].map.call(t.options,Es);if(r.some(function(t,e){return!B(t,n[e])})){var s=t.multiple?e.value.some(function(t){return Ms(t,r)}):e.value!==e.oldValue&&Ms(e.value,r);s&&Ns(t,"change")}}}};function Ls(t,e,i){Os(t,e,i),(X||tt)&&setTimeout(function(){Os(t,e,i)},0)}function Os(t,e,i){var n=e.value,r=t.multiple;if(!r||Array.isArray(n)){for(var s,o,a=0,l=t.options.length;a<l;a++)if(o=t.options[a],r)s=N(n,Es(o))>-1,o.selected!==s&&(o.selected=s);else if(B(Es(o),n))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function Ms(t,e){return e.every(function(e){return!B(e,t)})}function Es(t){return"_value"in t?t._value:t.value}function As(t){t.target.composing=!0}function Bs(t){t.target.composing&&(t.target.composing=!1,Ns(t.target,"input"))}function Ns(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!0),t.dispatchEvent(i)}function Rs(t){return!t.componentInstance||t.data&&t.data.transition?t:Rs(t.componentInstance._vnode)}var Is={bind:function(t,e,i){var n=e.value;i=Rs(i);var r=i.data&&i.data.transition,s=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&r?(i.data.show=!0,_s(i,function(){t.style.display=s})):t.style.display=n?s:"none"},update:function(t,e,i){var n=e.value,r=e.oldValue;if(!n!==!r){i=Rs(i);var s=i.data&&i.data.transition;s?(i.data.show=!0,n?_s(i,function(){t.style.display=t.__vOriginalDisplay}):ws(i,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,i,n,r){r||(t.style.display=t.__vOriginalDisplay)}},Ds={model:Ps,show:Is},js={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function zs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?zs(Pe(e.children)):t}function Fs(t){var e={},i=t.$options;for(var n in i.propsData)e[n]=t[n];var r=i._parentListeners;for(var s in r)e[x(s)]=r[s];return e}function Hs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Vs(t){while(t=t.parent)if(t.data.transition)return!0}function Qs(t,e){return e.key===t.key&&e.tag===t.tag}var Us={name:"transition",props:js,abstract:!0,render:function(t){var e=this,i=this.$slots.default;if(i&&(i=i.filter(function(t){return t.tag||Te(t)}),i.length)){0;var n=this.mode;0;var r=i[0];if(Vs(this.$vnode))return r;var s=zs(r);if(!s)return r;if(this._leaving)return Hs(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:a(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Fs(this),c=this._vnode,u=zs(c);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),u&&u.data&&!Qs(s,u)&&!Te(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=L({},l);if("out-in"===n)return this._leaving=!0,be(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Hs(t,r);if("in-out"===n){if(Te(s))return c;var d,f=function(){d()};be(l,"afterEnter",f),be(l,"enterCancelled",f),be(h,"delayLeave",function(t){d=t})}}return r}}},Ws=L({tag:String,moveClass:String},js);delete Ws.mode;var Ks={props:Ws,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",i=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],o=Fs(this),a=0;a<r.length;a++){var l=r[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))s.push(l),i[l.key]=l,(l.data||(l.data={})).transition=o;else;}if(n){for(var c=[],u=[],h=0;h<n.length;h++){var d=n[h];d.data.transition=o,d.data.pos=d.elm.getBoundingClientRect(),i[d.key]?c.push(d):u.push(d)}this.kept=t(e,null,c),this.removed=u}return t(e,null,s)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ys),t.forEach(Js),t.forEach(Gs),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var i=t.elm,n=i.style;fs(i,e),n.transform=n.WebkitTransform=n.transitionDuration="",i.addEventListener(ls,i._moveCb=function t(n){n&&!/transform$/.test(n.propertyName)||(i.removeEventListener(ls,t),i._moveCb=null,ps(i,e))})}}))},methods:{hasMove:function(t,e){if(!rs)return!1;if(this._hasMove)return this._hasMove;var i=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){es(i,t)}),ts(i,e),i.style.display="none",this.$el.appendChild(i);var n=gs(i);return this.$el.removeChild(i),this._hasMove=n.hasTransform}}};function Ys(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Js(t){t.data.newPos=t.elm.getBoundingClientRect()}function Gs(t){var e=t.data.pos,i=t.data.newPos,n=e.left-i.left,r=e.top-i.top;if(n||r){t.data.moved=!0;var s=t.elm.style;s.transform=s.WebkitTransform="translate("+n+"px,"+r+"px)",s.transitionDuration="0s"}}var Xs={Transition:Us,TransitionGroup:Ks};an.config.mustUseProp=kn,an.config.isReservedTag=zn,an.config.isReservedAttr=xn,an.config.getTagNamespace=Fn,an.config.isUnknownElement=Vn,L(an.options.directives,Ds),L(an.options.components,Xs),an.prototype.__patch__=K?Ts:M,an.prototype.$mount=function(t,e){return t=t&&K?Un(t):void 0,ze(this,t,e)},K&&setTimeout(function(){z.devtools&&ot&&ot.emit("init",an)},0),e["a"]=an}).call(this,i("c8ba"))},"2b4c":function(t,e,i){var n=i("5537")("wks"),r=i("ca5a"),s=i("7726").Symbol,o="function"==typeof s,a=t.exports=function(t){return n[t]||(n[t]=o&&s[t]||(o?s:r)("Symbol."+t))};a.store=n},"2d00":function(t,e){t.exports=!1},"2d83":function(t,e,i){"use strict";var n=i("387f");t.exports=function(t,e,i,r,s){var o=new Error(t);return n(o,e,i,r,s)}},"2d95":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"2e67":function(t,e,i){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f21":function(t,e,i){"use strict";var n=i("79e5");t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},"2fdb":function(t,e,i){"use strict";var n=i("5ca1"),r=i("d2c8"),s="includes";n(n.P+n.F*i("5147")(s),"String",{includes:function(t){return!!~r(this,t,s).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30b5":function(t,e,i){"use strict";var n=i("c532");function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var o=[];n.forEach(e,function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))}))}),s=o.join("&")}return s&&(t+=(-1===t.indexOf("?")?"?":"&")+s),t}},"30f1":function(t,e,i){"use strict";var n=i("b8e3"),r=i("63b6"),s=i("9138"),o=i("35e8"),a=i("481b"),l=i("8f60"),c=i("45f2"),u=i("53e2"),h=i("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",v=function(){return this};t.exports=function(t,e,i,g,b,y,_){l(i,e,g);var w,x,C,k=function(t){if(!d&&t in T)return T[t];switch(t){case p:return function(){return new i(this,t)};case m:return function(){return new i(this,t)}}return function(){return new i(this,t)}},S=e+" Iterator",$=b==m,q=!1,T=t.prototype,P=T[h]||T[f]||b&&T[b],L=P||k(b),O=b?$?k("entries"):L:void 0,M="Array"==e&&T.entries||P;if(M&&(C=u(M.call(new t)),C!==Object.prototype&&C.next&&(c(C,S,!0),n||"function"==typeof C[h]||o(C,h,v))),$&&P&&P.name!==m&&(q=!0,L=function(){return P.call(this)}),n&&!_||!d&&!q&&T[h]||o(T,h,L),a[e]=L,a[S]=v,b)if(w={values:$?L:k(m),keys:y?L:k(p),entries:O},_)for(x in w)x in T||s(T,x,w[x]);else r(r.P+r.F*(d||q),e,w);return w}},"31f4":function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},"32e9":function(t,e,i){var n=i("86cc"),r=i("4630");t.exports=i("9e1e")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"32fc":function(t,e,i){var n=i("e53d").document;t.exports=n&&n.documentElement},"335c":function(t,e,i){var n=i("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},3391:function(t,e,i){},"33a4":function(t,e,i){var n=i("84f2"),r=i("2b4c")("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||s[r]===t)}},"351b":function(t,e,i){},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,i){var n=i("d9f6"),r=i("aebd");t.exports=i("8e60")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"36c3":function(t,e,i){var n=i("335c"),r=i("25eb");t.exports=function(t){return n(r(t))}},3846:function(t,e,i){i("9e1e")&&"g"!=/./g.flags&&i("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:i("0bfb")})},"386b":function(t,e,i){var n=i("5ca1"),r=i("79e5"),s=i("be13"),o=/"/g,a=function(t,e,i,n){var r=String(s(t)),a="<"+e;return""!==i&&(a+=" "+i+'="'+String(n).replace(o,"&quot;")+'"'),a+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(a),n(n.P+n.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",i)}},"386d":function(t,e,i){"use strict";var n=i("cb7c"),r=i("83a1"),s=i("5f1b");i("214f")("search",1,function(t,e,i,o){return[function(i){var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=o(i,t,this);if(e.done)return e.value;var a=n(t),l=String(this),c=a.lastIndex;r(c,0)||(a.lastIndex=0);var u=s(a,l);return r(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]})},"387f":function(t,e,i){"use strict";t.exports=function(t,e,i,n,r){return t.config=e,i&&(t.code=i),t.request=n,t.response=r,t}},"38f3":function(t,e,i){},"38fd":function(t,e,i){var n=i("69a8"),r=i("4bf8"),s=i("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},3934:function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=r(window.location.href),function(e){var i=n.isString(e)?r(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},"3a38":function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},"3b2b":function(t,e,i){var n=i("7726"),r=i("5dbc"),s=i("86cc").f,o=i("9093").f,a=i("aae3"),l=i("0bfb"),c=n.RegExp,u=c,h=c.prototype,d=/a/g,f=/a/g,p=new c(d)!==d;if(i("9e1e")&&(!p||i("79e5")(function(){return f[i("2b4c")("match")]=!1,c(d)!=d||c(f)==f||"/a/i"!=c(d,"i")}))){c=function(t,e){var i=this instanceof c,n=a(t),s=void 0===e;return!i&&n&&t.constructor===c&&s?t:r(p?new u(n&&!s?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&s?l.call(t):e),i?this:h,c)};for(var m=function(t){t in c||s(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},v=o(u),g=0;v.length>g;)m(v[g++]);h.constructor=c,c.prototype=h,i("2aba")(n,"RegExp",c)}i("7a56")("RegExp")},"3b76":function(t,e,i){},"3d49":function(t,e,i){},"41a0":function(t,e,i){"use strict";var n=i("2aeb"),r=i("4630"),s=i("7f20"),o={};i("32e9")(o,i("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(o,{next:r(1,i)}),s(t,e+" Iterator")}},4362:function(t,e,i){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout(function(){t.apply(null,e)},0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=i("df7c")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"456d":function(t,e,i){var n=i("4bf8"),r=i("0d58");i("5eda")("keys",function(){return function(t){return r(n(t))}})},4588:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},"45f2":function(t,e,i){var n=i("d9f6").f,r=i("07e3"),s=i("5168")("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"467f":function(t,e,i){"use strict";var n=i("2d83");t.exports=function(t,e,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?e(n("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},"47ee":function(t,e,i){var n=i("c3a1"),r=i("9aa9"),s=i("355d");t.exports=function(t){var e=n(t),i=r.f;if(i){var o,a=i(t),l=s.f,c=0;while(a.length>c)l.call(t,o=a[c++])&&e.push(o)}return e}},"481b":function(t,e){t.exports={}},"487d":function(t,e,i){},"48c0":function(t,e,i){"use strict";i("386b")("bold",function(t){return function(){return t(this,"b","","")}})},4917:function(t,e,i){"use strict";var n=i("cb7c"),r=i("9def"),s=i("0390"),o=i("5f1b");i("214f")("match",1,function(t,e,i,a){return[function(i){var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=a(i,t,this);if(e.done)return e.value;var l=n(t),c=String(this);if(!l.global)return o(l,c);var u=l.unicode;l.lastIndex=0;var h,d=[],f=0;while(null!==(h=o(l,c))){var p=String(h[0]);d[f]=p,""===p&&(l.lastIndex=s(c,r(l.lastIndex),u)),f++}return 0===f?null:d}]})},"4a59":function(t,e,i){var n=i("9b43"),r=i("1fa8"),s=i("33a4"),o=i("cb7c"),a=i("9def"),l=i("27ee"),c={},u={};e=t.exports=function(t,e,i,h,d){var f,p,m,v,g=d?function(){return t}:l(t),b=n(i,h,e?2:1),y=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(s(g)){for(f=a(t.length);f>y;y++)if(v=e?b(o(p=t[y])[0],p[1]):b(t[y]),v===c||v===u)return v}else for(m=g.call(t);!(p=m.next()).done;)if(v=r(m,b,p.value,e),v===c||v===u)return v};e.BREAK=c,e.RETURN=u},"4bf8":function(t,e,i){var n=i("be13");t.exports=function(t){return Object(n(t))}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,i){var n=i("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},5168:function(t,e,i){var n=i("dbdb")("wks"),r=i("62a0"),s=i("e53d").Symbol,o="function"==typeof s,a=t.exports=function(t){return n[t]||(n[t]=o&&s[t]||(o?s:r)("Symbol."+t))};a.store=n},"520a":function(t,e,i){"use strict";var n=i("0bfb"),r=RegExp.prototype.exec,s=String.prototype.replace,o=r,a="lastIndex",l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[a]||0!==e[a]}(),c=void 0!==/()??/.exec("")[1],u=l||c;u&&(o=function(t){var e,i,o,u,h=this;return c&&(i=new RegExp("^"+h.source+"$(?!\\s)",n.call(h))),l&&(e=h[a]),o=r.call(h,t),l&&o&&(h[a]=h.global?o.index+o[0].length:e),c&&o&&o.length>1&&s.call(o[0],i,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)}),o}),t.exports=o},5270:function(t,e,i){"use strict";var n=i("c532"),r=i("c401"),s=i("2e67"),o=i("2444"),a=i("d925"),l=i("e683");function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){c(t),t.baseURL&&!a(t.url)&&(t.url=l(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var e=t.adapter||o.adapter;return e(t).then(function(e){return c(t),e.data=r(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(c(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53e2":function(t,e,i){var n=i("07e3"),r=i("241e"),s=i("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"551c":function(t,e,i){"use strict";var n,r,s,o,a=i("2d00"),l=i("7726"),c=i("9b43"),u=i("23c6"),h=i("5ca1"),d=i("d3f4"),f=i("d8e8"),p=i("f605"),m=i("4a59"),v=i("ebd6"),g=i("1991").set,b=i("8079")(),y=i("a5b8"),_=i("9c80"),w=i("a25f"),x=i("bcaa"),C="Promise",k=l.TypeError,S=l.process,$=S&&S.versions,q=$&&$.v8||"",T=l[C],P="process"==u(S),L=function(){},O=r=y.f,M=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[i("2b4c")("species")]=function(t){t(L,L)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==q.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},A=function(t,e){if(!t._n){t._n=!0;var i=t._c;b(function(){var n=t._v,r=1==t._s,s=0,o=function(e){var i,s,o,a=r?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(r||(2==t._h&&R(t),t._h=1),!0===a?i=n:(u&&u.enter(),i=a(n),u&&(u.exit(),o=!0)),i===e.promise?c(k("Promise-chain cycle")):(s=E(i))?s.call(i,l,c):l(i)):c(n)}catch(t){u&&!o&&u.exit(),c(t)}};while(i.length>s)o(i[s++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){g.call(l,function(){var e,i,n,r=t._v,s=N(t);if(s&&(e=_(function(){P?S.emit("unhandledRejection",r,t):(i=l.onunhandledrejection)?i({promise:t,reason:r}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",r)}),t._h=P||N(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(l,function(){var e;P?S.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),A(e,!0))},D=function(t){var e,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw k("Promise can't be resolved itself");(e=E(t))?b(function(){var n={_w:i,_d:!1};try{e.call(t,c(D,n,1),c(I,n,1))}catch(t){I.call(n,t)}}):(i._v=t,i._s=1,A(i,!1))}catch(t){I.call({_w:i,_d:!1},t)}}};M||(T=function(t){p(this,T,C,"_h"),f(t),n.call(this);try{t(c(D,this,1),c(I,this,1))}catch(t){I.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=i("dcbc")(T.prototype,{then:function(t,e){var i=O(v(this,T));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=P?S.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&A(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new n;this.promise=t,this.resolve=c(D,t,1),this.reject=c(I,t,1)},y.f=O=function(t){return t===T||t===o?new s(t):r(t)}),h(h.G+h.W+h.F*!M,{Promise:T}),i("7f20")(T,C),i("7a56")(C),o=i("8378")[C],h(h.S+h.F*!M,C,{reject:function(t){var e=O(this),i=e.reject;return i(t),e.promise}}),h(h.S+h.F*(a||!M),C,{resolve:function(t){return x(a&&this===o?T:this,t)}}),h(h.S+h.F*!(M&&i("5cc5")(function(t){T.all(t)["catch"](L)})),C,{all:function(t){var e=this,i=O(e),n=i.resolve,r=i.reject,s=_(function(){var i=[],s=0,o=1;m(t,!1,function(t){var a=s++,l=!1;i.push(void 0),o++,e.resolve(t).then(function(t){l||(l=!0,i[a]=t,--o||n(i))},r)}),--o||n(i)});return s.e&&r(s.v),i.promise},race:function(t){var e=this,i=O(e),n=i.reject,r=_(function(){m(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},5537:function(t,e,i){var n=i("8378"),r=i("7726"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,i){var n=i("dbdb")("keys"),r=i("62a0");t.exports=function(t){return n[t]||(n[t]=r(t))}},"55dd":function(t,e,i){"use strict";var n=i("5ca1"),r=i("d8e8"),s=i("4bf8"),o=i("79e5"),a=[].sort,l=[1,2,3];n(n.P+n.F*(o(function(){l.sort(void 0)})||!o(function(){l.sort(null)})||!i("2f21")(a)),"Array",{sort:function(t){return void 0===t?a.call(s(this)):a.call(s(this),r(t))}})},5706:function(t,e,i){},"584a":function(t,e){var i=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=i)},"58a5":function(t,e,i){},"58b8":function(t,e,i){},5902:function(t,e,i){},"592c":function(t,e,i){},5965:function(t,e,i){},"5b4e":function(t,e,i){var n=i("36c3"),r=i("b447"),s=i("0fc9");t.exports=function(t){return function(e,i,o){var a,l=n(e),c=r(l.length),u=s(o,c);if(t&&i!=i){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}}},"5ca1":function(t,e,i){var n=i("7726"),r=i("8378"),s=i("32e9"),o=i("2aba"),a=i("9b43"),l="prototype",c=function(t,e,i){var u,h,d,f,p=t&c.F,m=t&c.G,v=t&c.S,g=t&c.P,b=t&c.B,y=m?n:v?n[e]||(n[e]={}):(n[e]||{})[l],_=m?r:r[e]||(r[e]={}),w=_[l]||(_[l]={});for(u in m&&(i=e),i)h=!p&&y&&void 0!==y[u],d=(h?y:i)[u],f=b&&h?a(d,n):g&&"function"==typeof d?a(Function.call,d):d,y&&o(y,u,d,t&c.U),_[u]!=d&&s(_,u,f),g&&w[u]!=d&&(w[u]=d)};n.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5cc5":function(t,e,i){var n=i("2b4c")("iterator"),r=!1;try{var s=[7][n]();s["return"]=function(){r=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var s=[7],o=s[n]();o.next=function(){return{done:i=!0}},s[n]=function(){return o},t(s)}catch(t){}return i}},"5dbc":function(t,e,i){var n=i("d3f4"),r=i("8b97").set;t.exports=function(t,e,i){var s,o=e.constructor;return o!==i&&"function"==typeof o&&(s=o.prototype)!==i.prototype&&n(s)&&r&&r(t,s),t}},"5eda":function(t,e,i){var n=i("5ca1"),r=i("8378"),s=i("79e5");t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],o={};o[t]=e(i),n(n.S+n.F*s(function(){i(1)}),"Object",o)}},"5f1b":function(t,e,i){"use strict";var n=i("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var s=i.call(t,e);if("object"!==typeof s)throw new TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"5f1d":function(t,e,i){},"613b":function(t,e,i){var n=i("5537")("keys"),r=i("ca5a");t.exports=function(t){return n[t]||(n[t]=r(t))}},"626a":function(t,e,i){var n=i("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},"62a0":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},"63b6":function(t,e,i){var n=i("e53d"),r=i("584a"),s=i("d864"),o=i("35e8"),a=i("07e3"),l="prototype",c=function(t,e,i){var u,h,d,f=t&c.F,p=t&c.G,m=t&c.S,v=t&c.P,g=t&c.B,b=t&c.W,y=p?r:r[e]||(r[e]={}),_=y[l],w=p?n:m?n[e]:(n[e]||{})[l];for(u in p&&(i=e),i)h=!f&&w&&void 0!==w[u],h&&a(y,u)||(d=h?w[u]:i[u],y[u]=p&&"function"!=typeof w[u]?i[u]:g&&h?s(d,n):b&&w[u]==d?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e[l]=t[l],e}(d):v&&"function"==typeof d?s(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[u]=d,t&c.R&&_&&!_[u]&&o(_,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"63d1":function(t,e,i){},"66bc":function(t,e,i){},6718:function(t,e,i){var n=i("e53d"),r=i("584a"),s=i("b8e3"),o=i("ccb9"),a=i("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=s?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:o.f(t)})}},6762:function(t,e,i){"use strict";var n=i("5ca1"),r=i("c366")(!0);n(n.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")("includes")},"67ab":function(t,e,i){var n=i("ca5a")("meta"),r=i("d3f4"),s=i("69a8"),o=i("86cc").f,a=0,l=Object.isExtensible||function(){return!0},c=!i("79e5")(function(){return l(Object.preventExtensions({}))}),u=function(t){o(t,n,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[n].i},d=function(t,e){if(!s(t,n)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[n].w},f=function(t){return c&&p.NEED&&l(t)&&!s(t,n)&&u(t),t},p=t.exports={KEY:n,NEED:!1,fastKey:h,getWeak:d,onFreeze:f}},6821:function(t,e,i){var n=i("626a"),r=i("be13");t.exports=function(t){return n(r(t))}},"69a8":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"69d3":function(t,e,i){i("6718")("asyncIterator")},"6a99":function(t,e,i){var n=i("d3f4");t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,i){var n=i("e6f3"),r=i("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},"6b4c":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"6b54":function(t,e,i){"use strict";i("3846");var n=i("cb7c"),r=i("0bfb"),s=i("9e1e"),o="toString",a=/./[o],l=function(t){i("2aba")(RegExp.prototype,o,t,!0)};i("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?l(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!s&&t instanceof RegExp?r.call(t):void 0)}):a.name!=o&&l(function(){return a.call(this)})},"6c1c":function(t,e,i){i("c367");for(var n=i("e53d"),r=i("35e8"),s=i("481b"),o=i("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=n[c],h=u&&u.prototype;h&&!h[o]&&r(h,o,c),s[c]=s.Array}},7037:function(t,e,i){var n=i("8415"),r=i("db78");function s(t){return s="function"===typeof r&&"symbol"===typeof n?function(t){return typeof t}:function(t){return t&&"function"===typeof r&&t.constructor===r&&t!==r.prototype?"symbol":typeof t},s(t)}function o(e){return"function"===typeof r&&"symbol"===s(n)?t.exports=o=function(t){return s(t)}:t.exports=o=function(t){return t&&"function"===typeof r&&t.constructor===r&&t!==r.prototype?"symbol":s(t)},o(e)}t.exports=o},"71c1":function(t,e,i){var n=i("3a38"),r=i("25eb");t.exports=function(t){return function(e,i){var s,o,a=String(r(e)),l=n(i),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536)}}},"72c5":function(t,e,i){},7333:function(t,e,i){"use strict";var n=i("9e1e"),r=i("0d58"),s=i("2621"),o=i("52a7"),a=i("4bf8"),l=i("626a"),c=Object.assign;t.exports=!c||i("79e5")(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=c({},t)[i]||Object.keys(c({},e)).join("")!=n})?function(t,e){var i=a(t),c=arguments.length,u=1,h=s.f,d=o.f;while(c>u){var f,p=l(arguments[u++]),m=h?r(p).concat(h(p)):r(p),v=m.length,g=0;while(v>g)f=m[g++],n&&!d.call(p,f)||(i[f]=p[f])}return i}:c},"747a":function(t,e,i){},7514:function(t,e,i){"use strict";var n=i("5ca1"),r=i("0a49")(5),s="find",o=!0;s in[]&&Array(1)[s](function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")(s)},"765d":function(t,e,i){i("6718")("observable")},7726:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"77f1":function(t,e,i){var n=i("4588"),r=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?r(t+e,0):s(t,e)}},"794b":function(t,e,i){t.exports=!i("8e60")&&!i("294c")(function(){return 7!=Object.defineProperty(i("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"79ea":function(t,e,i){},"7a56":function(t,e,i){"use strict";var n=i("7726"),r=i("86cc"),s=i("9e1e"),o=i("2b4c")("species");t.exports=function(t){var e=n[t];s&&e&&!e[o]&&r.f(e,o,{configurable:!0,get:function(){return this}})}},"7a77":function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},"7aac":function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,i,r,s,o){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(r)&&a.push("path="+r),n.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b96":function(t,e,i){},"7cdf":function(t,e,i){var n=i("5ca1");n(n.S,"Number",{isInteger:i("9c12")})},"7e90":function(t,e,i){var n=i("d9f6"),r=i("e4ae"),s=i("c3a1");t.exports=i("8e60")?Object.defineProperties:function(t,e){r(t);var i,o=s(e),a=o.length,l=0;while(a>l)n.f(t,i=o[l++],e[i]);return t}},"7f20":function(t,e,i){var n=i("86cc").f,r=i("69a8"),s=i("2b4c")("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},"7f7f":function(t,e,i){var n=i("86cc").f,r=Function.prototype,s=/^\s*function ([^ (]*)/,o="name";o in r||i("9e1e")&&n(r,o,{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},8014:function(t,e,i){},8079:function(t,e,i){var n=i("7726"),r=i("1991").set,s=n.MutationObserver||n.WebKitMutationObserver,o=n.process,a=n.Promise,l="process"==i("2d95")(o);t.exports=function(){var t,e,i,c=function(){var n,r;l&&(n=o.domain)&&n.exit();while(t){r=t.fn,t=t.next;try{r()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(l)i=function(){o.nextTick(c)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);i=function(){u.then(c)}}else i=function(){r.call(n,c)};else{var h=!0,d=document.createTextNode("");new s(c).observe(d,{characterData:!0}),i=function(){d.data=h=!h}}return function(n){var r={fn:n,next:void 0};e&&(e.next=r),t||(t=r,i()),e=r}}},8134:function(t,e,i){},8378:function(t,e){var i=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=i)},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},8415:function(t,e,i){t.exports=i("d8d6")},8436:function(t,e){t.exports=function(){}},8449:function(t,e,i){"use strict";i("386b")("anchor",function(t){return function(e){return t(this,"a","name",e)}})},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,i){var n=i("cb7c"),r=i("c69a"),s=i("6a99"),o=Object.defineProperty;e.f=i("9e1e")?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),r)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},8934:function(t,e,i){},"89f8":function(t,e,i){},"8b97":function(t,e,i){var n=i("d3f4"),r=i("cb7c"),s=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=i("9b43")(Function.call,i("11e9").f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return s(t,i),e?t.__proto__=i:n(t,i),t}}({},!1):void 0),check:s}},"8c4f":function(t,e,i){"use strict";
  /**
    * vue-router v3.0.1
    * (c) 2017 Evan You
    * @license MIT
    */function n(t,e){0}function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var s={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var i=e.props,n=e.children,r=e.parent,s=e.data;s.routerView=!0;var l=r.$createElement,c=i.name,u=r.$route,h=r._routerViewCache||(r._routerViewCache={}),d=0,f=!1;while(r&&r._routerRoot!==r)r.$vnode&&r.$vnode.data.routerView&&d++,r._inactive&&(f=!0),r=r.$parent;if(s.routerViewDepth=d,f)return l(h[c],s,n);var p=u.matched[d];if(!p)return h[c]=null,l();var m=h[c]=p.components[c];s.registerRouteInstance=function(t,e){var i=p.instances[c];(e&&i!==t||!e&&i===t)&&(p.instances[c]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){p.instances[c]=e.componentInstance};var v=s.props=o(u,p.props&&p.props[c]);if(v){v=s.props=a({},v);var g=s.attrs=s.attrs||{};for(var b in v)m.props&&b in m.props||(g[b]=v[b],delete v[b])}return l(m,s,n)}};function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function a(t,e){for(var i in e)t[i]=e[i];return t}var l=/[!'()*]/g,c=function(t){return"%"+t.charCodeAt(0).toString(16)},u=/%2C/g,h=function(t){return encodeURIComponent(t).replace(l,c).replace(u,",")},d=decodeURIComponent;function f(t,e,i){void 0===e&&(e={});var n,r=i||p;try{n=r(t||"")}catch(t){n={}}for(var s in e)n[s]=e[s];return n}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach(function(t){var i=t.replace(/\+/g," ").split("="),n=d(i.shift()),r=i.length>0?d(i.join("=")):null;void 0===e[n]?e[n]=r:Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]}),e):e}function m(t){var e=t?Object.keys(t).map(function(e){var i=t[e];if(void 0===i)return"";if(null===i)return h(e);if(Array.isArray(i)){var n=[];return i.forEach(function(t){void 0!==t&&(null===t?n.push(h(e)):n.push(h(e)+"="+h(t)))}),n.join("&")}return h(e)+"="+h(i)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var v=/\/?$/;function g(t,e,i,n){var r=n&&n.options.stringifyQuery,s=e.query||{};try{s=b(s)}catch(t){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:s,params:e.params||{},fullPath:w(e,r),matched:t?_(t):[]};return i&&(o.redirectedFrom=w(i,r)),Object.freeze(o)}function b(t){if(Array.isArray(t))return t.map(b);if(t&&"object"===typeof t){var e={};for(var i in t)e[i]=b(t[i]);return e}return t}var y=g(null,{path:"/"});function _(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function w(t,e){var i=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;void 0===r&&(r="");var s=e||m;return(i||"/")+s(n)+r}function x(t,e){return e===y?t===e:!!e&&(t.path&&e.path?t.path.replace(v,"")===e.path.replace(v,"")&&t.hash===e.hash&&C(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&C(t.query,e.query)&&C(t.params,e.params)))}function C(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var i=Object.keys(t),n=Object.keys(e);return i.length===n.length&&i.every(function(i){var n=t[i],r=e[i];return"object"===typeof n&&"object"===typeof r?C(n,r):String(n)===String(r)})}function k(t,e){return 0===t.path.replace(v,"/").indexOf(e.path.replace(v,"/"))&&(!e.hash||t.hash===e.hash)&&S(t.query,e.query)}function S(t,e){for(var i in e)if(!(i in t))return!1;return!0}var $,q=[String,Object],T=[String,Array],P={name:"router-link",props:{to:{type:q,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:T,default:"click"}},render:function(t){var e=this,i=this.$router,n=this.$route,r=i.resolve(this.to,n,this.append),s=r.location,o=r.route,a=r.href,l={},c=i.options.linkActiveClass,u=i.options.linkExactActiveClass,h=null==c?"router-link-active":c,d=null==u?"router-link-exact-active":u,f=null==this.activeClass?h:this.activeClass,p=null==this.exactActiveClass?d:this.exactActiveClass,m=s.path?g(null,s,null,i):o;l[p]=x(n,m),l[f]=this.exact?l[p]:k(n,m);var v=function(t){L(t)&&(e.replace?i.replace(s):i.push(s))},b={click:L};Array.isArray(this.event)?this.event.forEach(function(t){b[t]=v}):b[this.event]=v;var y={class:l};if("a"===this.tag)y.on=b,y.attrs={href:a};else{var _=O(this.$slots.default);if(_){_.isStatic=!1;var w=$.util.extend,C=_.data=w({},_.data);C.on=b;var S=_.data.attrs=w({},_.data.attrs);S.href=a}else y.on=b}return t(this.tag,y,this.$slots.default)}};function L(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function O(t){if(t)for(var e,i=0;i<t.length;i++){if(e=t[i],"a"===e.tag)return e;if(e.children&&(e=O(e.children)))return e}}function M(t){if(!M.installed||$!==t){M.installed=!0,$=t;var e=function(t){return void 0!==t},i=function(t,i){var n=t.$options._parentVnode;e(n)&&e(n=n.data)&&e(n=n.registerRouteInstance)&&n(t,i)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",s),t.component("router-link",P);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var E="undefined"!==typeof window;function A(t,e,i){var n=t.charAt(0);if("/"===n)return t;if("?"===n||"#"===n)return e+t;var r=e.split("/");i&&r[r.length-1]||r.pop();for(var s=t.replace(/^\//,"").split("/"),o=0;o<s.length;o++){var a=s[o];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function B(t){var e="",i="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var r=t.indexOf("?");return r>=0&&(i=t.slice(r+1),t=t.slice(0,r)),{path:t,query:i,hash:e}}function N(t){return t.replace(/\/\//g,"/")}var R=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},I=nt,D=V,j=Q,z=K,F=it,H=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function V(t,e){var i,n=[],r=0,s=0,o="",a=e&&e.delimiter||"/";while(null!=(i=H.exec(t))){var l=i[0],c=i[1],u=i.index;if(o+=t.slice(s,u),s=u+l.length,c)o+=c[1];else{var h=t[s],d=i[2],f=i[3],p=i[4],m=i[5],v=i[6],g=i[7];o&&(n.push(o),o="");var b=null!=d&&null!=h&&h!==d,y="+"===v||"*"===v,_="?"===v||"*"===v,w=i[2]||a,x=p||m;n.push({name:f||r++,prefix:d||"",delimiter:w,optional:_,repeat:y,partial:b,asterisk:!!g,pattern:x?J(x):g?".*":"[^"+Y(w)+"]+?"})}}return s<t.length&&(o+=t.substr(s)),o&&n.push(o),n}function Q(t,e){return K(V(t,e))}function U(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function W(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function K(t){for(var e=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(e[i]=new RegExp("^(?:"+t[i].pattern+")$"));return function(i,n){for(var r="",s=i||{},o=n||{},a=o.pretty?U:encodeURIComponent,l=0;l<t.length;l++){var c=t[l];if("string"!==typeof c){var u,h=s[c.name];if(null==h){if(c.optional){c.partial&&(r+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(R(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(u=a(h[d]),!e[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===d?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?W(h):a(h),!e[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');r+=c.prefix+u}}else r+=c}return r}}function Y(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function J(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function G(t,e){return t.keys=e,t}function X(t){return t.sensitive?"":"i"}function Z(t,e){var i=t.source.match(/\((?!\?)/g);if(i)for(var n=0;n<i.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return G(t,e)}function tt(t,e,i){for(var n=[],r=0;r<t.length;r++)n.push(nt(t[r],e,i).source);var s=new RegExp("(?:"+n.join("|")+")",X(i));return G(s,e)}function et(t,e,i){return it(V(t,i),e,i)}function it(t,e,i){R(e)||(i=e||i,e=[]),i=i||{};for(var n=i.strict,r=!1!==i.end,s="",o=0;o<t.length;o++){var a=t[o];if("string"===typeof a)s+=Y(a);else{var l=Y(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+l+c+")*"),c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",s+=c}}var u=Y(i.delimiter||"/"),h=s.slice(-u.length)===u;return n||(s=(h?s.slice(0,-u.length):s)+"(?:"+u+"(?=$))?"),s+=r?"$":n&&h?"":"(?="+u+"|$)",G(new RegExp("^"+s,X(i)),e)}function nt(t,e,i){return R(e)||(i=e||i,e=[]),i=i||{},t instanceof RegExp?Z(t,e):R(t)?tt(t,e,i):et(t,e,i)}I.parse=D,I.compile=j,I.tokensToFunction=z,I.tokensToRegExp=F;var rt=Object.create(null);function st(t,e,i){try{var n=rt[t]||(rt[t]=I.compile(t));return n(e||{},{pretty:!0})}catch(t){return""}}function ot(t,e,i,n){var r=e||[],s=i||Object.create(null),o=n||Object.create(null);t.forEach(function(t){at(r,s,o,t)});for(var a=0,l=r.length;a<l;a++)"*"===r[a]&&(r.push(r.splice(a,1)[0]),l--,a--);return{pathList:r,pathMap:s,nameMap:o}}function at(t,e,i,n,r,s){var o=n.path,a=n.name;var l=n.pathToRegexpOptions||{},c=ct(o,r,l.strict);"boolean"===typeof n.caseSensitive&&(l.sensitive=n.caseSensitive);var u={path:c,regex:lt(c,l),components:n.components||{default:n.component},instances:{},name:a,parent:r,matchAs:s,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){var r=s?N(s+"/"+n.path):void 0;at(t,e,i,n,u,r)}),void 0!==n.alias){var h=Array.isArray(n.alias)?n.alias:[n.alias];h.forEach(function(s){var o={path:s,children:n.children};at(t,e,i,o,r,u.path||"/")})}e[u.path]||(t.push(u.path),e[u.path]=u),a&&(i[a]||(i[a]=u))}function lt(t,e){var i=I(t,[],e);return i}function ct(t,e,i){return i||(t=t.replace(/\/$/,"")),"/"===t[0]?t:null==e?t:N(e.path+"/"+t)}function ut(t,e,i,n){var r="string"===typeof t?{path:t}:t;if(r.name||r._normalized)return r;if(!r.path&&r.params&&e){r=ht({},r),r._normalized=!0;var s=ht(ht({},e.params),r.params);if(e.name)r.name=e.name,r.params=s;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;r.path=st(o,s,"path "+e.path)}else 0;return r}var a=B(r.path||""),l=e&&e.path||"/",c=a.path?A(a.path,l,i||r.append):l,u=f(a.query,r.query,n&&n.options.parseQuery),h=r.hash||a.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:u,hash:h}}function ht(t,e){for(var i in e)t[i]=e[i];return t}function dt(t,e){var i=ot(t),n=i.pathList,r=i.pathMap,s=i.nameMap;function o(t){ot(t,n,r,s)}function a(t,i,o){var a=ut(t,i,!1,e),l=a.name;if(l){var c=s[l];if(!c)return u(null,a);var h=c.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!==typeof a.params&&(a.params={}),i&&"object"===typeof i.params)for(var d in i.params)!(d in a.params)&&h.indexOf(d)>-1&&(a.params[d]=i.params[d]);if(c)return a.path=st(c.path,a.params,'named route "'+l+'"'),u(c,a,o)}else if(a.path){a.params={};for(var f=0;f<n.length;f++){var p=n[f],m=r[p];if(ft(m.regex,a.path,a.params))return u(m,a,o)}}return u(null,a)}function l(t,i){var n=t.redirect,r="function"===typeof n?n(g(t,i,null,e)):n;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return u(null,i);var o=r,l=o.name,c=o.path,h=i.query,d=i.hash,f=i.params;if(h=o.hasOwnProperty("query")?o.query:h,d=o.hasOwnProperty("hash")?o.hash:d,f=o.hasOwnProperty("params")?o.params:f,l){s[l];return a({_normalized:!0,name:l,query:h,hash:d,params:f},void 0,i)}if(c){var p=pt(c,t),m=st(p,f,'redirect route with path "'+p+'"');return a({_normalized:!0,path:m,query:h,hash:d},void 0,i)}return u(null,i)}function c(t,e,i){var n=st(i,e.params,'aliased route with path "'+i+'"'),r=a({_normalized:!0,path:n});if(r){var s=r.matched,o=s[s.length-1];return e.params=r.params,u(o,e)}return u(null,e)}function u(t,i,n){return t&&t.redirect?l(t,n||i):t&&t.matchAs?c(t,i,t.matchAs):g(t,i,n,e)}return{match:a,addRoutes:o}}function ft(t,e,i){var n=e.match(t);if(!n)return!1;if(!i)return!0;for(var r=1,s=n.length;r<s;++r){var o=t.keys[r-1],a="string"===typeof n[r]?decodeURIComponent(n[r]):n[r];o&&(i[o.name]=a)}return!0}function pt(t,e){return A(t,e.parent?e.parent.path:"/",!0)}var mt=Object.create(null);function vt(){window.history.replaceState({key:Lt()},""),window.addEventListener("popstate",function(t){bt(),t.state&&t.state.key&&Ot(t.state.key)})}function gt(t,e,i,n){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick(function(){var t=yt(),s=r(e,i,n?t:null);s&&("function"===typeof s.then?s.then(function(e){St(e,t)}).catch(function(t){0}):St(s,t))})}}function bt(){var t=Lt();t&&(mt[t]={x:window.pageXOffset,y:window.pageYOffset})}function yt(){var t=Lt();if(t)return mt[t]}function _t(t,e){var i=document.documentElement,n=i.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}function wt(t){return kt(t.x)||kt(t.y)}function xt(t){return{x:kt(t.x)?t.x:window.pageXOffset,y:kt(t.y)?t.y:window.pageYOffset}}function Ct(t){return{x:kt(t.x)?t.x:0,y:kt(t.y)?t.y:0}}function kt(t){return"number"===typeof t}function St(t,e){var i="object"===typeof t;if(i&&"string"===typeof t.selector){var n=document.querySelector(t.selector);if(n){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=Ct(r),e=_t(n,r)}else wt(t)&&(e=xt(t))}else i&&wt(t)&&(e=xt(t));e&&window.scrollTo(e.x,e.y)}var $t=E&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),qt=E&&window.performance&&window.performance.now?window.performance:Date,Tt=Pt();function Pt(){return qt.now().toFixed(3)}function Lt(){return Tt}function Ot(t){Tt=t}function Mt(t,e){bt();var i=window.history;try{e?i.replaceState({key:Tt},"",t):(Tt=Pt(),i.pushState({key:Tt},"",t))}catch(i){window.location[e?"replace":"assign"](t)}}function Et(t){Mt(t,!0)}function At(t,e,i){var n=function(r){r>=t.length?i():t[r]?e(t[r],function(){n(r+1)}):n(r+1)};n(0)}function Bt(t){return function(e,i,n){var s=!1,o=0,a=null;Nt(t,function(t,e,i,l){if("function"===typeof t&&void 0===t.cid){s=!0,o++;var c,u=jt(function(e){Dt(e)&&(e=e.default),t.resolved="function"===typeof e?e:$.extend(e),i.components[l]=e,o--,o<=0&&n()}),h=jt(function(t){var e="Failed to resolve async component "+l+": "+t;a||(a=r(t)?t:new Error(e),n(a))});try{c=t(u,h)}catch(t){h(t)}if(c)if("function"===typeof c.then)c.then(u,h);else{var d=c.component;d&&"function"===typeof d.then&&d.then(u,h)}}}),s||n()}}function Nt(t,e){return Rt(t.map(function(t){return Object.keys(t.components).map(function(i){return e(t.components[i],t.instances[i],t,i)})}))}function Rt(t){return Array.prototype.concat.apply([],t)}var It="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Dt(t){return t.__esModule||It&&"Module"===t[Symbol.toStringTag]}function jt(t){var e=!1;return function(){var i=[],n=arguments.length;while(n--)i[n]=arguments[n];if(!e)return e=!0,t.apply(this,i)}}var zt=function(t,e){this.router=t,this.base=Ft(e),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Ft(t){if(!t)if(E){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function Ht(t,e){var i,n=Math.max(t.length,e.length);for(i=0;i<n;i++)if(t[i]!==e[i])break;return{updated:e.slice(0,i),activated:e.slice(i),deactivated:t.slice(i)}}function Vt(t,e,i,n){var r=Nt(t,function(t,n,r,s){var o=Qt(t,e);if(o)return Array.isArray(o)?o.map(function(t){return i(t,n,r,s)}):i(o,n,r,s)});return Rt(n?r.reverse():r)}function Qt(t,e){return"function"!==typeof t&&(t=$.extend(t)),t.options[e]}function Ut(t){return Vt(t,"beforeRouteLeave",Kt,!0)}function Wt(t){return Vt(t,"beforeRouteUpdate",Kt)}function Kt(t,e){if(e)return function(){return t.apply(e,arguments)}}function Yt(t,e,i){return Vt(t,"beforeRouteEnter",function(t,n,r,s){return Jt(t,r,s,e,i)})}function Jt(t,e,i,n,r){return function(s,o,a){return t(s,o,function(t){a(t),"function"===typeof t&&n.push(function(){Gt(t,e.instances,i,r)})})}}function Gt(t,e,i,n){e[i]?t(e[i]):n()&&setTimeout(function(){Gt(t,e,i,n)},16)}zt.prototype.listen=function(t){this.cb=t},zt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},zt.prototype.onError=function(t){this.errorCbs.push(t)},zt.prototype.transitionTo=function(t,e,i){var n=this,r=this.router.match(t,this.current);this.confirmTransition(r,function(){n.updateRoute(r),e&&e(r),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach(function(t){t(r)}))},function(t){i&&i(t),t&&!n.ready&&(n.ready=!0,n.readyErrorCbs.forEach(function(e){e(t)}))})},zt.prototype.confirmTransition=function(t,e,i){var s=this,o=this.current,a=function(t){r(t)&&(s.errorCbs.length?s.errorCbs.forEach(function(e){e(t)}):(n(!1,"uncaught error during route navigation:"),console.error(t))),i&&i(t)};if(x(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),a();var l=Ht(this.current.matched,t.matched),c=l.updated,u=l.deactivated,h=l.activated,d=[].concat(Ut(u),this.router.beforeHooks,Wt(c),h.map(function(t){return t.beforeEnter}),Bt(h));this.pending=t;var f=function(e,i){if(s.pending!==t)return a();try{e(t,o,function(t){!1===t||r(t)?(s.ensureURL(!0),a(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(a(),"object"===typeof t&&t.replace?s.replace(t):s.push(t)):i(t)})}catch(t){a(t)}};At(d,f,function(){var i=[],n=function(){return s.current===t},r=Yt(h,i,n),o=r.concat(s.router.resolveHooks);At(o,f,function(){if(s.pending!==t)return a();s.pending=null,e(t),s.router.app&&s.router.app.$nextTick(function(){i.forEach(function(t){t()})})})})},zt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(i){i&&i(t,e)})};var Xt=function(t){function e(e,i){var n=this;t.call(this,e,i);var r=e.options.scrollBehavior;r&&vt();var s=Zt(this.base);window.addEventListener("popstate",function(t){var i=n.current,o=Zt(n.base);n.current===y&&o===s||n.transitionTo(o,function(t){r&&gt(e,t,i,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,i){var n=this,r=this,s=r.current;this.transitionTo(t,function(t){Mt(N(n.base+t.fullPath)),gt(n.router,t,s,!1),e&&e(t)},i)},e.prototype.replace=function(t,e,i){var n=this,r=this,s=r.current;this.transitionTo(t,function(t){Et(N(n.base+t.fullPath)),gt(n.router,t,s,!1),e&&e(t)},i)},e.prototype.ensureURL=function(t){if(Zt(this.base)!==this.current.fullPath){var e=N(this.base+this.current.fullPath);t?Mt(e):Et(e)}},e.prototype.getCurrentLocation=function(){return Zt(this.base)},e}(zt);function Zt(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var te=function(t){function e(e,i,n){t.call(this,e,i),n&&ee(this.base)||ie()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,i=e.options.scrollBehavior,n=$t&&i;n&&vt(),window.addEventListener($t?"popstate":"hashchange",function(){var e=t.current;ie()&&t.transitionTo(ne(),function(i){n&&gt(t.router,i,e,!0),$t||oe(i.fullPath)})})},e.prototype.push=function(t,e,i){var n=this,r=this,s=r.current;this.transitionTo(t,function(t){se(t.fullPath),gt(n.router,t,s,!1),e&&e(t)},i)},e.prototype.replace=function(t,e,i){var n=this,r=this,s=r.current;this.transitionTo(t,function(t){oe(t.fullPath),gt(n.router,t,s,!1),e&&e(t)},i)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ne()!==e&&(t?se(e):oe(e))},e.prototype.getCurrentLocation=function(){return ne()},e}(zt);function ee(t){var e=Zt(t);if(!/^\/#/.test(e))return window.location.replace(N(t+"/#"+e)),!0}function ie(){var t=ne();return"/"===t.charAt(0)||(oe("/"+t),!1)}function ne(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.slice(e+1)}function re(t){var e=window.location.href,i=e.indexOf("#"),n=i>=0?e.slice(0,i):e;return n+"#"+t}function se(t){$t?Mt(re(t)):window.location.hash=t}function oe(t){$t?Et(re(t)):window.location.replace(re(t))}var ae=function(t){function e(e,i){t.call(this,e,i),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,i){var n=this;this.transitionTo(t,function(t){n.stack=n.stack.slice(0,n.index+1).concat(t),n.index++,e&&e(t)},i)},e.prototype.replace=function(t,e,i){var n=this;this.transitionTo(t,function(t){n.stack=n.stack.slice(0,n.index).concat(t),e&&e(t)},i)},e.prototype.go=function(t){var e=this,i=this.index+t;if(!(i<0||i>=this.stack.length)){var n=this.stack[i];this.confirmTransition(n,function(){e.index=i,e.updateRoute(n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(zt),le=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!$t&&!1!==t.fallback,this.fallback&&(e="hash"),E||(e="abstract"),this.mode=e,e){case"history":this.history=new Xt(this,t.base);break;case"hash":this.history=new te(this,t.base,this.fallback);break;case"abstract":this.history=new ae(this,t.base);break;default:0}},ce={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}function he(t,e,i){var n="hash"===i?"#"+e:e;return t?N(t+"/"+n):n}le.prototype.match=function(t,e,i){return this.matcher.match(t,e,i)},ce.currentRoute.get=function(){return this.history&&this.history.current},le.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var i=this.history;if(i instanceof Xt)i.transitionTo(i.getCurrentLocation());else if(i instanceof te){var n=function(){i.setupListeners()};i.transitionTo(i.getCurrentLocation(),n,n)}i.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},le.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},le.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},le.prototype.afterEach=function(t){return ue(this.afterHooks,t)},le.prototype.onReady=function(t,e){this.history.onReady(t,e)},le.prototype.onError=function(t){this.history.onError(t)},le.prototype.push=function(t,e,i){this.history.push(t,e,i)},le.prototype.replace=function(t,e,i){this.history.replace(t,e,i)},le.prototype.go=function(t){this.history.go(t)},le.prototype.back=function(){this.go(-1)},le.prototype.forward=function(){this.go(1)},le.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},le.prototype.resolve=function(t,e,i){var n=ut(t,e||this.history.current,i,this),r=this.match(n,e),s=r.redirectedFrom||r.fullPath,o=this.history.base,a=he(o,s,this.mode);return{location:n,route:r,href:a,normalizedTo:n,resolved:r}},le.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(le.prototype,ce),le.install=M,le.version="3.0.1",E&&window.Vue&&window.Vue.use(le),e["a"]=le},"8df4":function(t,e,i){"use strict";var n=i("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var i=this;t(function(t){i.reason||(i.reason=new n(t),e(i.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r(function(e){t=e});return{token:e,cancel:t}},t.exports=r},"8e60":function(t,e,i){t.exports=!i("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(t,e,i){"use strict";var n=i("a159"),r=i("aebd"),s=i("45f2"),o={};i("35e8")(o,i("5168")("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(o,{next:r(1,i)}),s(t,e+" Iterator")}},9003:function(t,e,i){var n=i("6b4c");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"908f":function(t,e,i){},9093:function(t,e,i){var n=i("ce10"),r=i("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},9138:function(t,e,i){t.exports=i("35e8")},"91e5":function(t,e,i){},9338:function(t,e,i){},"93ea":function(t,e,i){},9438:function(t,e,i){},"97a1":function(t,e,i){},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,i){var n=i("d8e8");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},"9c12":function(t,e,i){var n=i("d3f4"),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},"9c6c":function(t,e,i){var n=i("2b4c")("unscopables"),r=Array.prototype;void 0==r[n]&&i("32e9")(r,n,{}),t.exports=function(t){r[n][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},"9def":function(t,e,i){var n=i("4588"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},"9e1e":function(t,e,i){t.exports=!i("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a114:function(t,e,i){},a159:function(t,e,i){var n=i("e4ae"),r=i("7e90"),s=i("1691"),o=i("5559")("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=i("1ec9")("iframe"),n=s.length,r="<",o=">";e.style.display="none",i("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;while(n--)delete c[l][s[n]];return c()};t.exports=Object.create||function(t,e){var i;return null!==t?(a[l]=n(t),i=new a,a[l]=null,i[o]=t):i=c(),void 0===e?i:r(i,e)}},a25f:function(t,e,i){var n=i("7726"),r=n.navigator;t.exports=r&&r.userAgent||""},a481:function(t,e,i){"use strict";var n=i("cb7c"),r=i("4bf8"),s=i("9def"),o=i("4588"),a=i("0390"),l=i("5f1b"),c=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};i("214f")("replace",2,function(t,e,i,m){return[function(n,r){var s=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,s,r):i.call(String(s),n,r)},function(t,e){var r=m(i,t,this,e);if(r.done)return r.value;var h=n(t),d=String(this),f="function"===typeof e;f||(e=String(e));var g=h.global;if(g){var b=h.unicode;h.lastIndex=0}var y=[];while(1){var _=l(h,d);if(null===_)break;if(y.push(_),!g)break;var w=String(_[0]);""===w&&(h.lastIndex=a(d,s(h.lastIndex),b))}for(var x="",C=0,k=0;k<y.length;k++){_=y[k];for(var S=String(_[0]),$=c(u(o(_.index),d.length),0),q=[],T=1;T<_.length;T++)q.push(p(_[T]));var P=_.groups;if(f){var L=[S].concat(q,$,d);void 0!==P&&L.push(P);var O=String(e.apply(void 0,L))}else O=v(S,d,$,q,P,e);$>=C&&(x+=d.slice(C,$)+O,C=$+S.length)}return x+d.slice(C)}];function v(t,e,n,s,o,a){var l=n+t.length,c=s.length,u=f;return void 0!==o&&(o=r(o),u=d),i.call(a,u,function(i,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":a=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return i;if(u>c){var d=h(u/10);return 0===d?i:d<=c?void 0===s[d-1]?r.charAt(1):s[d-1]+r.charAt(1):i}a=s[u-1]}return void 0===a?"":a})}})},a4a9:function(t,e,i){},a555:function(t,e,i){},a5b8:function(t,e,i){"use strict";var n=i("d8e8");function r(t){var e,i;this.promise=new t(function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n}),this.resolve=n(e),this.reject=n(i)}t.exports.f=function(t){return new r(t)}},a963:function(t,e,i){},a9b5:function(t,e,i){},aa77:function(t,e,i){var n=i("5ca1"),r=i("be13"),s=i("79e5"),o=i("fdef"),a="["+o+"]",l="​",c=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,i){var r={},a=s(function(){return!!o[t]()||l[t]()!=l}),c=r[t]=a?e(d):o[t];i&&(r[i]=c),n(n.P+n.F*a,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},aab2:function(t,e,i){},aae3:function(t,e,i){var n=i("d3f4"),r=i("2d95"),s=i("2b4c")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},ab98:function(t,e,i){},abed:function(t,e,i){},ac6a:function(t,e,i){for(var n=i("cadf"),r=i("0d58"),s=i("2aba"),o=i("7726"),a=i("32e9"),l=i("84f2"),c=i("2b4c"),u=c("iterator"),h=c("toStringTag"),d=l.Array,f={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(f),m=0;m<p.length;m++){var v,g=p[m],b=f[g],y=o[g],_=y&&y.prototype;if(_&&(_[u]||a(_,u,d),_[h]||a(_,h,g),l[g]=d,b))for(v in n)_[v]||s(_,v,n[v],!0)}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},aef6:function(t,e,i){"use strict";var n=i("5ca1"),r=i("9def"),s=i("d2c8"),o="endsWith",a=""[o];n(n.P+n.F*i("5147")(o),"String",{endsWith:function(t){var e=s(this,t,o),i=arguments.length>1?arguments[1]:void 0,n=r(e.length),l=void 0===i?n:Math.min(r(i),n),c=String(t);return a?a.call(e,c,l):e.slice(l-c.length,l)===c}})},af7f:function(t,e,i){},b0c5:function(t,e,i){"use strict";var n=i("520a");i("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},b447:function(t,e,i){var n=i("3a38"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},b50d:function(t,e,i){"use strict";var n=i("c532"),r=i("467f"),s=i("30b5"),o=i("c345"),a=i("3934"),l=i("2d83");t.exports=function(t){return new Promise(function(e,c){var u=t.data,h=t.headers;n.isFormData(u)&&delete h["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",p=t.auth.password||"";h.Authorization="Basic "+btoa(f+":"+p)}if(d.open(t.method.toUpperCase(),s(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var i="getAllResponseHeaders"in d?o(d.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?d.response:d.responseText,s={data:n,status:d.status,statusText:d.statusText,headers:i,config:t,request:d};r(e,c,s),d=null}},d.onerror=function(){c(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var m=i("7aac"),v=(t.withCredentials||a(t.url))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;v&&(h[t.xsrfHeaderName]=v)}if("setRequestHeader"in d&&n.forEach(h,function(t,e){"undefined"===typeof u&&"content-type"===e.toLowerCase()?delete h[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),c(t),d=null)}),void 0===u&&(u=null),d.send(u)})}},b54a:function(t,e,i){"use strict";i("386b")("link",function(t){return function(e){return t(this,"a","href",e)}})},b60e:function(t,e,i){},b8ad:function(t,e,i){},b8af:function(t,e,i){},b8e3:function(t,e){t.exports=!0},b968:function(t,e,i){},bc3a:function(t,e,i){t.exports=i("cee4")},bcaa:function(t,e,i){var n=i("cb7c"),r=i("d3f4"),s=i("a5b8");t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=s.f(t),o=i.resolve;return o(e),i.promise}},bda0:function(t,e,i){},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},bf0b:function(t,e,i){var n=i("355d"),r=i("aebd"),s=i("36c3"),o=i("1bc3"),a=i("07e3"),l=i("794b"),c=Object.getOwnPropertyDescriptor;e.f=i("8e60")?c:function(t,e){if(t=s(t),e=o(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return r(!n.f.call(t,e),t[e])}},bf6b:function(t,e,i){},c207:function(t,e){},c345:function(t,e,i){"use strict";var n=i("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,i,s,o={};return t?(n.forEach(t.split("\n"),function(t){if(s=t.indexOf(":"),e=n.trim(t.substr(0,s)).toLowerCase(),i=n.trim(t.substr(s+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([i]):o[e]?o[e]+", "+i:i}}),o):o}},c366:function(t,e,i){var n=i("6821"),r=i("9def"),s=i("77f1");t.exports=function(t){return function(e,i,o){var a,l=n(e),c=r(l.length),u=s(o,c);if(t&&i!=i){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}}},c367:function(t,e,i){"use strict";var n=i("8436"),r=i("50ed"),s=i("481b"),o=i("36c3");t.exports=i("30f1")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},c3a1:function(t,e,i){var n=i("e6f3"),r=i("1691");t.exports=Object.keys||function(t){return n(t,r)}},c401:function(t,e,i){"use strict";var n=i("c532");t.exports=function(t,e,i){return n.forEach(i,function(i){t=i(t,e)}),t}},c532:function(t,e,i){"use strict";var n=i("1d2b"),r=i("044b"),s=Object.prototype.toString;function o(t){return"[object Array]"===s.call(t)}function a(t){return"[object ArrayBuffer]"===s.call(t)}function l(t){return"undefined"!==typeof FormData&&t instanceof FormData}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function u(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return"undefined"===typeof t}function f(t){return null!==t&&"object"===typeof t}function p(t){return"[object Date]"===s.call(t)}function m(t){return"[object File]"===s.call(t)}function v(t){return"[object Blob]"===s.call(t)}function g(t){return"[object Function]"===s.call(t)}function b(t){return f(t)&&g(t.pipe)}function y(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function _(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function C(){var t={};function e(e,i){"object"===typeof t[i]&&"object"===typeof e?t[i]=C(t[i],e):t[i]=e}for(var i=0,n=arguments.length;i<n;i++)x(arguments[i],e);return t}function k(t,e,i){return x(e,function(e,r){t[r]=i&&"function"===typeof e?n(e,i):e}),t}t.exports={isArray:o,isArrayBuffer:a,isBuffer:r,isFormData:l,isArrayBufferView:c,isString:u,isNumber:h,isObject:f,isUndefined:d,isDate:p,isFile:m,isBlob:v,isFunction:g,isStream:b,isURLSearchParams:y,isStandardBrowserEnv:w,forEach:x,merge:C,extend:k,trim:_}},c5f6:function(t,e,i){"use strict";var n=i("7726"),r=i("69a8"),s=i("2d95"),o=i("5dbc"),a=i("6a99"),l=i("79e5"),c=i("9093").f,u=i("11e9").f,h=i("86cc").f,d=i("aa77").trim,f="Number",p=n[f],m=p,v=p.prototype,g=s(i("2aeb")(v))==f,b="trim"in String.prototype,y=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():d(e,3);var i,n,r,s=e.charCodeAt(0);if(43===s||45===s){if(i=e.charCodeAt(2),88===i||120===i)return NaN}else if(48===s){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var o,l=e.slice(2),c=0,u=l.length;c<u;c++)if(o=l.charCodeAt(c),o<48||o>r)return NaN;return parseInt(l,n)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof p&&(g?l(function(){v.valueOf.call(i)}):s(i)!=f)?o(new m(y(e)),i,p):y(e)};for(var _,w=i("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)r(m,_=w[x])&&!r(p,_)&&h(p,_,u(m,_));p.prototype=v,v.constructor=p,i("2aba")(n,f,p)}},c69a:function(t,e,i){t.exports=!i("9e1e")&&!i("79e5")(function(){return 7!=Object.defineProperty(i("230e")("div"),"a",{get:function(){return 7}}).a})},c888:function(t,e,i){},c8af:function(t,e,i){"use strict";var n=i("c532");t.exports=function(t,e){n.forEach(t,function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])})}},c8ba:function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(i=window)}t.exports=i},ca5a:function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},cadf:function(t,e,i){"use strict";var n=i("9c6c"),r=i("d53b"),s=i("84f2"),o=i("6821");t.exports=i("01f9")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},cb7c:function(t,e,i){var n=i("d3f4");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},cb8c:function(t,e,i){},cc15:function(t,e,i){},ccb9:function(t,e,i){e.f=i("5168")},cd1c:function(t,e,i){var n=i("e853");t.exports=function(t,e){return new(n(t))(e)}},ce10:function(t,e,i){var n=i("69a8"),r=i("6821"),s=i("c366")(!1),o=i("613b")("IE_PROTO");t.exports=function(t,e){var i,a=r(t),l=0,c=[];for(i in a)i!=o&&n(a,i)&&c.push(i);while(e.length>l)n(a,i=e[l++])&&(~s(c,i)||c.push(i));return c}},cee4:function(t,e,i){"use strict";var n=i("c532"),r=i("1d2b"),s=i("0a06"),o=i("2444");function a(t){var e=new s(t),i=r(s.prototype.request,e);return n.extend(i,s.prototype,e),n.extend(i,e),i}var l=a(o);l.Axios=s,l.create=function(t){return a(n.merge(o,t))},l.Cancel=i("7a77"),l.CancelToken=i("8df4"),l.isCancel=i("2e67"),l.all=function(t){return Promise.all(t)},l.spread=i("0df6"),t.exports=l,t.exports.default=l},d043:function(t,e,i){},d14b:function(t,e,i){},d263:function(t,e,i){"use strict";i("386b")("fixed",function(t){return function(){return t(this,"tt","","")}})},d2c8:function(t,e,i){var n=i("aae3"),r=i("be13");t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,i){var n=i("79aa");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,i){i("1654"),i("6c1c"),t.exports=i("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d925:function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9f6:function(t,e,i){var n=i("e4ae"),r=i("794b"),s=i("1bc3"),o=Object.defineProperty;e.f=i("8e60")?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),r)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},da80:function(t,e,i){},db78:function(t,e,i){t.exports=i("f921")},dbdb:function(t,e,i){var n=i("584a"),r=i("e53d"),s="__core-js_shared__",o=r[s]||(r[s]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc73:function(t,e,i){},dcbc:function(t,e,i){var n=i("2aba");t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},de65:function(t,e,i){},df75:function(t,e,i){},df7c:function(t,e,i){(function(t){function i(t,e){for(var i=0,n=t.length-1;n>=0;n--){var r=t[n];"."===r?t.splice(n,1):".."===r?(t.splice(n,1),i++):i&&(t.splice(n,1),i--)}if(e)for(;i--;i)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,i=0,n=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){i=e+1;break}}else-1===n&&(r=!1,n=e+1);return-1===n?"":t.slice(i,n)}function r(t,e){if(t.filter)return t.filter(e);for(var i=[],n=0;n<t.length;n++)e(t[n],n,t)&&i.push(t[n]);return i}e.resolve=function(){for(var e="",n=!1,s=arguments.length-1;s>=-1&&!n;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,n="/"===o.charAt(0))}return e=i(r(e.split("/"),function(t){return!!t}),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),o="/"===s(t,-1);return t=i(r(t.split("/"),function(t){return!!t}),!n).join("/"),t||n||(t="."),t&&o&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,i){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var i=t.length-1;i>=0;i--)if(""!==t[i])break;return e>i?[]:t.slice(e,i-e+1)}t=e.resolve(t).substr(1),i=e.resolve(i).substr(1);for(var r=n(t.split("/")),s=n(i.split("/")),o=Math.min(r.length,s.length),a=o,l=0;l<o;l++)if(r[l]!==s[l]){a=l;break}var c=[];for(l=a;l<r.length;l++)c.push("..");return c=c.concat(s.slice(a)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),i=47===e,n=-1,r=!0,s=t.length-1;s>=1;--s)if(e=t.charCodeAt(s),47===e){if(!r){n=s;break}}else r=!1;return-1===n?i?"/":".":i&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var i=n(t);return e&&i.substr(-1*e.length)===e&&(i=i.substr(0,i.length-e.length)),i},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,i=0,n=-1,r=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===n&&(r=!1,n=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!r){i=o+1;break}}return-1===e||-1===n||0===s||1===s&&e===n-1&&e===i+1?"":t.slice(e,n)};var s="b"==="ab".substr(-1)?function(t,e,i){return t.substr(e,i)}:function(t,e,i){return e<0&&(e=t.length+e),t.substr(e,i)}}).call(this,i("4362"))},e083:function(t,e,i){"use strict";i("3b2b"),i("0d6d"),i("55dd"),i("20d6"),i("386d"),i("d263"),i("48c0"),i("4917");var n,r=i("7037"),s=i.n(r),o=(i("8449"),i("b54a"),i("551c"),i("7f7f"),i("a481"),i("28a5"),i("7514"),i("6b54"),i("aef6"),i("f559"),i("6762"),i("2fdb"),i("c5f6"),i("7cdf"),i("ac6a"),i("cadf"),i("456d"),i("f751"),"undefined"==typeof window),a=!1,l=o;function c(t,e){var i=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[2]||i[4]||"0",versionNumber:i[4]||i[2]||"0",platform:e[0]||""}}function u(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}function h(t){var e=c(t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase(),u(t)),i={};return e.browser&&(i[e.browser]=!0,i.version=e.version,i.versionNumber=parseInt(e.versionNumber,10)),e.platform&&(i[e.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari||i.vivaldi)&&(i.webkit=!0),(i.rv||i.iemobile)&&(e.browser="ie",i.ie=!0),i.edge&&(e.browser="edge",i.edge=!0),(i.safari&&i.blackberry||i.bb)&&(e.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(e.browser="playbook",i.playbook=!0),i.opr&&(e.browser="opera",i.opera=!0),i.safari&&i.android&&(e.browser="android",i.android=!0),i.safari&&i.kindle&&(e.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(e.browser="silk",i.silk=!0),i.vivaldi&&(e.browser="vivaldi",i.vivaldi=!0),i.name=e.browser,i.platform=e.platform,o||(window.process&&window.process.versions&&window.process.versions.electron?i.electron=!0:0===document.location.href.indexOf("chrome-extension://")?i.chromeExt=!0:(window._cordovaNative||window.cordova)&&(i.cordova=!0),(a=void 0===i.cordova&&void 0===i.electron&&!!document.querySelector("[data-server-rendered]"))&&(l=!0)),i}function d(){if(void 0!==n)return n;try{if(window.localStorage)return n=!0,!0}catch(t){}return n=!1,!1}function f(){return{has:{touch:!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0,webStorage:d()},within:{iframe:window.self!==window.top}}}var p={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:h(t.req.headers["user-agent"]),has:this.has,within:this.within}:Object.assign({},{is:h()},f())},install:function(t,e,i){var n=this;o?e.server.push(function(t,e){t.platform=n.parseSSR(e.ssr)}):(this.is=h(),a?(e.takeover.push(function(t){l=a=!1,Object.assign(t.platform,f())}),i.util.defineReactive(t,"platform",this)):(Object.assign(this,f()),t.platform=this))}};function m(t,e){var i=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r<arguments.length;r++){var s=i[r];if(void 0!==s&&null!==s)for(var o=Object.keys(Object(s)),a=0,l=o.length;a<l;a++){var c=o[a],u=Object.getOwnPropertyDescriptor(s,c);void 0!==u&&u.enumerable&&(n[c]=s[c])}}return n}Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:m}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),Array.prototype.includes||(Array.prototype.includes=function(t,e){var i=Object(this),n=parseInt(i.length,10)||0;if(0===n)return!1;var r,s,o=parseInt(e,10)||0;for(o>=0?r=o:(r=n+o)<0&&(r=0);r<n;){if(t===(s=i[r])||t!=t&&s!=s)return!0;r++}return!1}),String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var i=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>i.length)&&(e=i.length),e-=t.length;var n=i.indexOf(t,e);return-1!==n&&n===e}),o||("function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=0;e[i]&&e[i]!==this;)++i;return Boolean(e[i])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,i=Object(this),n=i.length>>>0,r=arguments[1],s=0;s<n;s++)if(e=i[s],t.call(r,e,s,i))return e}});var v="0.17.20",g={__history:[],add:function(){},remove:function(){},install:function(t,e){var i=this;if(!o&&t.platform.is.cordova){this.add=function(t){i.__history.push(t)},this.remove=function(t){var e=i.__history.indexOf(t);e>=0&&i.__history.splice(e,1)};var n=void 0===e.cordova||!1!==e.cordova.backButtonExit;document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){i.__history.length?i.__history.pop().handler():n&&"#/"===window.location.hash?navigator.app.exitApp():window.history.back()},!1)})}}},b={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,i){return t+"-"+e+" of "+i},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},y={install:function(t,e,i,n){var r=this;o&&e.server.push(function(t,e){var i={lang:t.i18n.lang,dir:t.i18n.rtl?"rtl":"ltr"},n=e.ssr.setHtmlAttrs;"function"==typeof n?n(i):e.ssr.Q_HTML_ATTRS=Object.keys(i).map(function(t){return t+"="+i[t]}).join(" ")}),this.set=function(e){if(void 0===e&&(e=b),e.set=r.set,e.getLocale=r.getLocale,e.rtl=e.rtl||!1,!o){var n=document.documentElement;n.setAttribute("dir",e.rtl?"rtl":"ltr"),n.setAttribute("lang",e.lang)}o||t.i18n?t.i18n=e:i.util.defineReactive(t,"i18n",e),r.name=e.lang,r.lang=e},this.set(n)},getLocale:function(){if(!o){var t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}}};function _(t){var e=t.r,i=t.g,n=t.b,r=t.a,s=void 0!==r;if(e=Math.round(e),i=Math.round(i),n=Math.round(n),e>255||i>255||n>255||s&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=s?(256|Math.round(255*r/100)).toString(16).slice(1):"","#"+(n|i<<8|e<<16|1<<24).toString(16).slice(1)+r}function w(t){if("string"!=typeof t)throw new TypeError("Expected a string");3===(t=t.replace(/^#/,"")).length?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:4===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var e=parseInt(t,16);return t.length>6?{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:Math.round((255&e)/2.55)}:{r:e>>16,g:e>>8&255,b:255&e}}function x(t){var e,i,n,r,s,o,a,l,c=t.h,u=t.s,h=t.v,d=t.a;switch(o=(h/=100)*(1-(u/=100)),a=h*(1-(s=6*(c/=360)-(r=Math.floor(6*c)))*u),l=h*(1-(1-s)*u),r%6){case 0:e=h,i=l,n=o;break;case 1:e=a,i=h,n=o;break;case 2:e=o,i=h,n=l;break;case 3:e=o,i=a,n=h;break;case 4:e=l,i=o,n=h;break;case 5:e=h,i=o,n=a}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n),a:d}}function C(t){var e,i=t.r,n=t.g,r=t.b,s=t.a,o=Math.max(i,n,r),a=Math.min(i,n,r),l=o-a,c=0===o?0:l/o,u=o/255;switch(o){case a:e=0;break;case i:e=n-r+l*(n<r?6:0),e/=6*l;break;case n:e=r-i+2*l,e/=6*l;break;case r:e=i-n+4*l,e/=6*l}return{h:Math.round(360*e),s:Math.round(100*c),v:Math.round(100*u),a:s}}var k=/^\s*rgb(a)?\s*\((\s*(\d+)\s*,\s*?){2}(\d+)\s*,?\s*([01]?\.?\d*?)?\s*\)\s*$/;function S(t){if("string"!=typeof t)throw new TypeError("Expected a string");var e=k.exec(t);if(e){var i={r:Math.max(255,parseInt(e[2],10)),g:Math.max(255,parseInt(e[3],10)),b:Math.max(255,parseInt(e[4],10))};return e[1]&&(i.a=Math.max(1,parseFloat(e[5]))),i}return w(t)}function $(t,e){if("string"!=typeof t)throw new TypeError("Expected a string as color");if("number"!=typeof e)throw new TypeError("Expected a numeric percent");var i=S(t),n=e<0?0:255,r=Math.abs(e)/100,s=i.r,o=i.g,a=i.b;return"#"+(16777216+65536*(Math.round((n-s)*r)+s)+256*(Math.round((n-o)*r)+o)+(Math.round((n-a)*r)+a)).toString(16).slice(1)}function q(t,e,i){if(void 0===i&&(i=document.body),"string"!=typeof t)throw new TypeError("Expected a string as color");if("string"!=typeof e)throw new TypeError("Expected a string as value");if(!(i instanceof Element))throw new TypeError("Expected a DOM element");switch(i.style.setProperty("--q-color-"+t,e),t){case"negative":case"warning":i.style.setProperty("--q-color-"+t+"-l",$(e,46));break;case"light":i.style.setProperty("--q-color-"+t+"-d",$(e,-10))}}function T(t,e){if(void 0===e&&(e=document.body),"string"!=typeof t)throw new TypeError("Expected a string as color");if(!(e instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(e).getPropertyValue("--q-color-"+t).trim()||null}function P(t,e){var i=t.is,n=t.has,r=t.within,s=["mat",i.desktop?"desktop":"mobile",n.touch?"touch":"no-touch","platform-"+(i.ios?"ios":"mat")];if(i.cordova&&(s.push("cordova"),i.ios&&(void 0===e.cordova||!1!==e.cordova.iosStatusBarPadding))){var o=window.devicePixelRatio||1,a=window.screen.width*o,l=window.screen.height*o;1125===a&&2436===l&&s.push("q-ios-statusbar-x"),1125===a&&2001===l||s.push("q-ios-statusbar-padding")}return r.iframe&&s.push("within-iframe"),i.electron&&s.push("electron"),s}function L(t,e){var i=P(t,e);t.is.ie&&11===t.is.versionNumber?i.forEach(function(t){return document.body.classList.add(t)}):document.body.classList.add.apply(document.body.classList,i),t.is.ios&&document.body.addEventListener("touchstart",function(){})}function O(t){for(var e in t)q(e,t[e])}var M={install:function(t,e,i){o?e.server.push(function(t,e){var n=P(t.platform,i),r=e.ssr.setBodyClasses;"function"==typeof r?r(n):e.ssr.Q_BODY_CLASSES=n.join(" ")}):(i.brand&&O(i.brand),L(t.platform,i))}},E={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back"},chevron:{left:"chevron_left",right:"chevron_right"},pullToRefresh:{arrow:"arrow_downward",refresh:"refresh"},search:{icon:"search",clear:"cancel",clearInverted:"clear"},carousel:{left:"chevron_left",right:"chevron_right",quickNav:"lens",thumbnails:"view_carousel"},checkbox:{checked:{ios:"check_circle",mat:"check_box"},unchecked:{ios:"radio_button_unchecked",mat:"check_box_outline_blank"},indeterminate:{ios:"remove_circle_outline",mat:"indeterminate_check_box"}},chip:{close:"cancel"},chipsInput:{add:"send"},collapsible:{icon:"arrow_drop_down"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",header:"format_size",code:"code",size:"format_size",font:"font_download"},fab:{icon:"add",activeIcon:"close"},input:{showPass:"visibility",hidePass:"visibility_off",showNumber:"keyboard",hideNumber:"keyboard_hide",clear:"cancel",clearInverted:"clear",dropdown:"arrow_drop_down"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},radio:{checked:{ios:"check",mat:"radio_button_checked"},unchecked:{ios:"",mat:"radio_button_unchecked"}},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right"},table:{arrowUp:"arrow_upward",warning:"warning",prevPage:"chevron_left",nextPage:"chevron_right"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"cancel",clearInverted:"clear",add:"add",upload:"cloud_upload",expand:"keyboard_arrow_down",file:"insert_drive_file"}},A={__installed:!1,install:function(t,e,i){var n=this;this.set=function(i){void 0===i&&(i=E),i.set=n.set,o||t.icon?t.icon=i:e.util.defineReactive(t,"icon",i),n.name=i.name,n.def=i},this.set(i)}},B={server:[],takeover:[]},N={version:v,theme:"mat"};function R(t,e){if(void 0===e&&(e={}),!this.__installed){this.__installed=!0;var i=e.config||{};if(p.install(N,B,t),M.install(N,B,i),g.install(N,i),y.install(N,B,t,e.i18n),A.install(N,t,e.iconSet),o?t.mixin({beforeCreate:function(){this.$q=this.$root.$options.$q}}):t.prototype.$q=N,e.components&&Object.keys(e.components).forEach(function(i){var n=e.components[i];void 0===n.name||void 0===n.render&&void 0===n.mixins||t.component(n.name,n)}),e.directives&&Object.keys(e.directives).forEach(function(i){var n=e.directives[i];void 0!==n.name&&void 0!==n.unbind&&t.directive(n.name,n)}),e.plugins){var n={$q:N,queues:B,Vue:t,cfg:i};Object.keys(e.plugins).forEach(function(t){var i=e.plugins[t];"function"==typeof i.install&&i!==p&&i.install(n)})}}}var I={mounted:function(){var t=this;B.takeover.forEach(function(e){e(t.$q)})}};function D(t){if(t.ssr){var e=Object.assign({},N);Object.assign(t.ssr,{Q_HEAD_TAGS:"",Q_BODY_ATTRS:"",Q_BODY_TAGS:""}),B.server.forEach(function(i){i(e,t)}),t.app.$q=e}else{var i=t.app.mixins||[];i.includes(I)||(t.app.mixins=i.concat(I))}}var j="mat",z={version:v,install:R,i18n:y,icons:A,theme:j,ssrUpdate:D},F=[],H={__installed:!1,__install:function(){this.__installed=!0,window.addEventListener("keyup",function(t){0!==F.length&&(27!==t.which&&27!==t.keyCode||F[F.length-1]())})},register:function(t){p.is.desktop&&(this.__installed||this.__install(),F.push(t))},pop:function(){p.is.desktop&&F.pop()}},V={props:{value:Boolean},data:function(){return{showing:!1}},watch:{value:function(t){var e=this;this.disable&&t?this.$emit("input",!1):this.$nextTick(function(){e.value!==e.showing&&e[t?"show":"hide"]()})}},methods:{toggle:function(t){return this[this.showing?"hide":"show"](t)},show:function(t){var e=this;return this.disable||this.showing?this.showPromise||Promise.resolve(t):(this.hidePromise&&this.hidePromiseReject(),this.showing=!0,!1===this.value&&this.$emit("input",!0),(void 0===this.$options.modelToggle||this.$options.modelToggle.history)&&(this.__historyEntry={handler:this.hide},g.add(this.__historyEntry)),this.__show?(this.showPromise=new Promise(function(i,n){e.showPromiseResolve=function(){e.showPromise=null,e.$emit("show",t),i(t)},e.showPromiseReject=function(){e.showPromise.catch(function(){}),e.showPromise=null,n(null)}}),this.__show(t),this.showPromise||Promise.resolve(t)):(this.$emit("show",t),Promise.resolve(t)))},hide:function(t){var e=this;return this.disable||!this.showing?this.hidePromise||Promise.resolve(t):(this.showPromise&&this.showPromiseReject(),this.showing=!1,!0===this.value&&this.$emit("input",!1),this.__removeHistory(),this.__hide?(this.hidePromise=new Promise(function(i,n){e.hidePromiseResolve=function(){e.hidePromise=null,e.$emit("hide",t),i()},e.hidePromiseReject=function(){e.hidePromise.catch(function(){}),e.hidePromise=null,n(null)}}),this.__hide(t),this.hidePromise||Promise.resolve(t)):(this.$emit("hide",t),Promise.resolve()))},__removeHistory:function(){this.__historyEntry&&(g.remove(this.__historyEntry),this.__historyEntry=null)}},beforeDestroy:function(){this.showing&&(this.showPromise&&this.showPromiseReject(),this.hidePromise&&this.hidePromiseReject(),this.__removeHistory())}},Q={};function U(t){return 0===t.button}function W(t){return t.which||t.keyCode}function K(t){var e,i;if(t.touches&&t.touches[0]?t=t.touches[0]:t.changedTouches&&t.changedTouches[0]&&(t=t.changedTouches[0]),t.clientX||t.clientY)e=t.clientX,i=t.clientY;else if(t.pageX||t.pageY)e=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft,i=t.pageY-document.body.scrollTop-document.documentElement.scrollTop;else{var n=Y(t).getBoundingClientRect();e=(n.right-n.left)/2+n.left,i=(n.bottom-n.top)/2+n.top}return{top:i,left:e}}function Y(t){var e;return t.target?e=t.target:t.srcElement&&(e=t.srcElement),3===e.nodeType&&(e=e.parentNode),e}function J(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}}Object.defineProperty(Q,"passive",{configurable:!0,get:function(){var t;try{var e=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(t){}return Q.passive=t,t},set:function(t){Object.defineProperty(this,"passive",{value:t})}});var G=40,X=800;function Z(t){var e,i=t.deltaX,n=t.deltaY;if((i||n)&&t.deltaMode){var r=1===t.deltaMode?G:X;i*=r,n*=r}return t.shiftKey&&!i&&(n=(e=[i,n])[0],i=e[1]),{x:i,y:n}}function tt(t){t.preventDefault(),t.stopPropagation()}function et(t){if(!t||t===window)return{top:0,left:0};var e=t.getBoundingClientRect();return{top:e.top,left:e.left}}function it(t,e){return window.getComputedStyle(t).getPropertyValue(e)}function nt(t){return t===window?window.innerHeight:parseFloat(it(t,"height"))}function rt(t){return t===window?window.innerWidth:parseFloat(it(t,"width"))}function st(t,e){var i=t.style;Object.keys(e).forEach(function(t){i[t]=e[t]})}var ot;function at(t){return t.closest(".scroll,.scroll-y,.overflow-auto")||window}function lt(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function ct(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function ut(t,e,i){var n=lt(t);i<=0?n!==e&&ht(t,e):requestAnimationFrame(function(){var r=n+(e-n)/Math.max(16,i)*16;ht(t,r),r!==e&&ut(t,e,i-16)})}function ht(t,e){if(t===window)return document.documentElement.scrollTop=e,void(document.body.scrollTop=e);t.scrollTop=e}function dt(t,e,i){i?ut(t,e,i):ht(t,e)}function ft(){if(void 0!==ot)return ot;var t=document.createElement("p"),e=document.createElement("div");st(t,{width:"100%",height:"200px"}),st(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;return i===n&&(n=e.clientWidth),e.remove(),ot=i-n}function pt(t,e){return void 0===e&&(e=!0),!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}var mt=0;function vt(t){gt(t)&&tt(t)}function gt(t){if(t.target===document.body||t.target.classList.contains("q-layout-backdrop"))return!0;for(var e=J(t),i=t.shiftKey&&!t.deltaX,n=!i&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),r=i||n?t.deltaY:t.deltaX,s=0;s<e.length;s++){var o=e[s];if(pt(o,n))return n?r<0&&0===o.scrollTop||r>0&&o.scrollTop+o.clientHeight===o.scrollHeight:r<0&&0===o.scrollLeft||r>0&&o.scrollLeft+o.clientWidth===o.scrollWidth}return!0}function bt(t){if(!((mt+=t?1:-1)>1)){var e=t?"add":"remove";p.is.mobile?document.body.classList[e]("q-body-prevent-scroll"):p.is.desktop&&window[e+"EventListener"]("wheel",vt)}}var yt={top:"items-start justify-center with-backdrop",bottom:"items-end justify-center with-backdrop",right:"items-center justify-end with-backdrop",left:"items-center justify-start with-backdrop"},_t={maxHeight:"80vh",height:"auto"};function wt(t){var e={};return["left","right"].includes(t)&&(e.maxWidth="90vw"),["left","top"].includes(t)&&(e.borderTopLeftRadius=0),["right","top"].includes(t)&&(e.borderTopRightRadius=0),["left","bottom"].includes(t)&&(e.borderBottomLeftRadius=0),["right","bottom"].includes(t)&&(e.borderBottomRightRadius=0),e}var xt={responsive:0,maximized:0},Ct={name:"QModal",mixins:[V],provide:function(){var t=this;return{__qmodal:{register:function(e){t.layout!==e&&(t.layout=e)},unregister:function(e){t.layout===e&&(t.layout=null)}}}},props:{position:{type:String,default:"",validator:function(t){return""===t||["top","bottom","left","right"].includes(t)}},transition:String,enterClass:String,leaveClass:String,positionClasses:{type:String,default:"flex-center"},contentClasses:[Object,Array,String],contentCss:[Object,Array,String],noBackdropDismiss:{type:Boolean,default:!1},noEscDismiss:{type:Boolean,default:!1},noRouteDismiss:Boolean,noRefocus:Boolean,minimized:Boolean,maximized:Boolean},data:function(){return{layout:null}},watch:{$route:function(){this.noRouteDismiss||this.hide()},maximized:function(t,e){this.__register(!1,e),this.__register(!0,t)},minimized:function(t,e){this.__register(!1,this.maximized,e),this.__register(!0,this.maximized,t)}},computed:{modalClasses:function(){var t=this.position?yt[this.position]:this.positionClasses;return this.maximized?["maximized",t]:this.minimized?["minimized",t]:t},contentClassesCalc:function(){return this.layout?[this.contentClasses,"column no-wrap"]:this.contentClasses},transitionProps:function(){return this.position?{name:"q-modal-"+this.position}:this.enterClass||this.leaveClass?{enterActiveClass:this.enterClass,leaveActiveClass:this.leaveClass}:{name:this.transition||"q-modal"}},modalCss:function(){if(this.position){var t=Array.isArray(this.contentCss)?this.contentCss:[this.contentCss];return t.unshift(Object.assign({},_t,wt(this.position))),t}return this.contentCss}},methods:{__dismiss:function(){var t=this;this.noBackdropDismiss?this.__shake():this.hide().then(function(){t.$emit("dismiss")})},__show:function(){var t=this;this.noRefocus||(this.__refocusTarget=document.activeElement),document.body.appendChild(this.$el),this.__register(!0),bt(!0),H.register(function(){t.noEscDismiss?t.__shake():(t.$emit("escape-key"),t.hide().then(function(){t.$emit("dismiss")}))});var e=this.$refs.content;this.$q.platform.is.ios&&e.click(),e.scrollTop=0,["modal-scroll","layout-view"].forEach(function(t){[].slice.call(e.getElementsByClassName(t)).forEach(function(t){t.scrollTop=0})}),this.$nextTick(function(){return e&&e.focus()})},__hide:function(){this.__cleanup(),!this.noRefocus&&this.__refocusTarget&&(this.__refocusTarget.focus(),!this.__refocusTarget.classList.contains("q-if")&&this.__refocusTarget.blur())},__cleanup:function(){H.pop(),bt(!1),this.__register(!1)},__stopPropagation:function(t){t.stopPropagation()},__register:function(t,e,i){void 0===e&&(e=this.maximized),void 0===i&&(i=this.minimized);var n=t?{action:"add",step:1}:{action:"remove",step:-1};if(e){if(xt.maximized+=n.step,!t&&xt.maximized>0)return;document.body.classList[n.action]("q-maximized-modal")}else if(!i){if(xt.responsive+=n.step,!t&&xt.responsive>0)return;document.body.classList[n.action]("q-responsive-modal")}},__shake:function(){var t=this;this.$el.classList.remove("animate-shake"),this.$el.classList.add("animate-shake"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout(function(){t.$el.classList.remove("animate-shake")},150)}},mounted:function(){this.value&&this.show()},beforeDestroy:function(){clearTimeout(this.shakeTimeout),this.$el.remove(),this.showing&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:this.transitionProps,on:{afterEnter:function(){e.showPromise&&e.showPromiseResolve()},enterCancelled:function(){e.showPromise&&e.showPromiseReject(),e.$el.remove()},afterLeave:function(){e.hidePromise&&e.hidePromiseResolve(),e.$el.remove()},leaveCancelled:function(){e.hidePromise&&e.hidePromiseReject()}}},[t("div",{staticClass:"modal fullscreen row",class:this.modalClasses,directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"modal-backdrop absolute-full",on:{click:this.__dismiss}}),t("div",{ref:"content",staticClass:"modal-content",style:this.modalCss,class:this.contentClassesCalc,attrs:{tabindex:-1},on:{click:this.__stopPropagation,touchstart:this.__stopPropagation}},this.$slots.default)])])}},kt="md",St={name:"QIcon",props:{name:String,color:String,size:String},computed:{classes:function(){var t,e=this.name;return e?(t=/^fa[s|r|l|b]{0,1} /.test(e)||e.startsWith("icon-")?e:e.startsWith("bt-")?"bt "+e:e.startsWith("eva-")?"eva "+e:/^ion-(md|ios|logo)/.test(e)?"ionicons "+e:e.startsWith("ion-")?"ionicons ion-"+kt+e.substr(3):e.startsWith("mdi-")?"mdi "+e:"material-icons",this.color?t+" text-"+this.color:t):""},content:function(){return this.classes.startsWith("material-icons")?this.name.replace(/ /g,"_"):" "},style:function(){if(this.size)return{fontSize:this.size}}},render:function(t){return t("i",{staticClass:"q-icon",class:this.classes,style:this.style,attrs:{"aria-hidden":!0}},[this.content,this.$slots.default])}},$t={name:"QList",props:{noBorder:Boolean,dark:Boolean,dense:Boolean,sparse:Boolean,striped:Boolean,stripedOdd:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,link:Boolean},computed:{classes:function(){return{"no-border":this.noBorder,"q-list-dark":this.dark,"q-list-dense":this.dense,"q-list-sparse":this.sparse,"q-list-striped":this.striped,"q-list-striped-odd":this.stripedOdd,"q-list-separator":this.separator,"q-list-inset-separator":this.insetSeparator,"q-list-multiline":this.multiline,"q-list-highlight":this.highlight,"q-list-link":this.link}}},render:function(t){return t("div",{staticClass:"q-list",class:this.classes},this.$slots.default)}},qt="qrouterlinkclick",Tt=null;if(!o)try{Tt=new Event(qt)}catch(t){(Tt=document.createEvent("Event")).initEvent(qt,!0,!1)}var Pt={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String},Lt={props:Pt,data:function(){return{routerLinkEventName:qt}}};function Ot(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}var Mt={icon:String,rightIcon:String,image:String,rightImage:String,avatar:String,rightAvatar:String,letter:String,rightLetter:String,label:String,sublabel:String,labelLines:[String,Number],sublabelLines:[String,Number]},Et={mixins:[{props:Pt}],props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,tag:{type:String,default:"div"}},computed:{itemClasses:function(){return{"q-item":!0,"q-item-division":!0,"relative-position":!0,"q-item-dark":this.dark,"q-item-dense":this.dense,"q-item-sparse":this.sparse,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,"q-item-multiline":this.multiline,"q-item-highlight":this.highlight,"q-item-link":this.to||this.link}}}},At={name:"QItem",mixins:[Et],props:{active:Boolean,link:Boolean},computed:{classes:function(){return[void 0!==this.to?"q-link":{active:this.active},this.itemClasses]}},render:function(t){return void 0!==this.to?t("router-link",{props:Object.assign({},this.$props,{tag:"a"}),class:this.classes},this.$slots.default):t(this.tag,{class:this.classes},this.$slots.default)}},Bt={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(t){return 1===t.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String},computed:{type:function(){var t=this;return["icon","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=["q-item-side-"+(this.right?"right":"left")];return!this.color||this.icon||this.letter||t.push("text-"+this.color),t},typeClasses:function(){var t=["q-item-"+this.type];return this.color&&(this.inverted&&(this.icon||this.letter)?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),t},imagePath:function(){return this.image||this.avatar}},render:function(t){var e;return this.type&&(this.icon?(e=t(St,{class:this.inverted?null:this.typeClasses,props:{name:this.icon}}),this.inverted&&(e=t("div",{class:this.typeClasses},[e]))):e=this.imagePath?t("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):t("div",{class:this.typeClasses},[this.stamp||this.letter])),t("div",{staticClass:"q-item-side q-item-section",class:this.classes},[e,this.$slots.default])}};function Nt(t,e,i,n){return t("div",{staticClass:"q-item-"+e+(1===(n=parseInt(n,10))?" ellipsis":""),style:Ot(n),domProps:{innerHTML:i}})}var Rt={name:"QItemMain",props:{label:String,labelLines:[String,Number],sublabel:String,sublabelLines:[String,Number],inset:Boolean,tag:{type:String,default:"div"}},render:function(t){return t(this.tag,{staticClass:"q-item-main q-item-section",class:{"q-item-main-inset":this.inset}},[this.label?Nt(t,"label",this.label,this.labelLines):null,this.sublabel?Nt(t,"sublabel",this.sublabel,this.sublabelLines):null,this.$slots.default])}},It={name:"QItemSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-item-separator-component",class:{"q-item-separator-inset-component":this.inset}},this.$slots.default)}},Dt={name:"QActionSheet",props:{value:Boolean,title:String,grid:Boolean,actions:Array,dismissLabel:String},computed:{contentCss:function(){}},render:function(t){var e=this,i=[],n=this.$slots.title||this.title;return n&&i.push(t("div",{staticClass:"q-actionsheet-title column justify-center"},[n])),i.push(t("div",{staticClass:"q-actionsheet-body scroll"},this.actions?[this.grid?t("div",{staticClass:"q-actionsheet-grid row wrap items-center justify-between"},this.__getActions(t)):t($t,{staticClass:"no-border",props:{link:!0}},this.__getActions(t))]:this.$slots.default)),t(Ct,{ref:"modal",props:{value:this.value,position:"bottom",contentCss:this.contentCss},on:{input:function(t){e.$emit("input",t)},show:function(){e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},i)},methods:{show:function(){return this.$refs.modal.show()},hide:function(){return this.$refs.modal?this.$refs.modal.hide():Promise.resolve()},__getActions:function(t){var e=this;return this.actions.map(function(i){var n;return i.label?t(e.grid?"div":At,((n={staticClass:e.grid?"q-actionsheet-grid-item cursor-pointer relative-position column inline flex-center":null,class:i.classes,attrs:{tabindex:0}})[e.grid?"on":"nativeOn"]={click:function(){return e.__onOk(i)},keyup:function(t){13===W(t)&&e.__onOk(i)}},n),e.grid?[i.icon?t(St,{props:{name:i.icon,color:i.color}}):null,i.avatar?t("img",{domProps:{src:i.avatar},staticClass:"avatar"}):null,t("span",[i.label])]:[t(Bt,{props:{icon:i.icon,color:i.color,avatar:i.avatar}}),t(Rt,{props:{inset:!0,label:i.label}})]):t(It,{staticClass:"col-12"})})},__onOk:function(t){var e=this;this.hide().then(function(){"function"==typeof t.handler&&t.handler(),e.$emit("ok",t)})},__onCancel:function(){var t=this;this.hide().then(function(){t.$emit("cancel")})},__onKeyCancel:function(t){13===W(t)&&this.__onCancel()}}},jt=["B","kB","MB","GB","TB","PB"];function zt(t){for(var e=0;parseInt(t,10)>=1024&&e<jt.length-1;)t/=1024,++e;return t.toFixed(1)+" "+jt[e]}function Ft(t,e,i){return i<=e?e:Math.min(i,Math.max(e,t))}function Ht(t,e,i){if(i<=e)return e;var n=i-e+1,r=e+(t-e)%n;return r<e&&(r=n+r),0===r?0:r}function Vt(t,e,i){void 0===e&&(e=2),void 0===i&&(i="0");var n=""+t;return n.length>=e?n:new Array(e-n.length+1).join(i)+n}var Qt=o?null:XMLHttpRequest,Ut=o?null:Qt.prototype.send,Wt={start:[],stop:[]},Kt=0;function Yt(t){var e=t.p,i=t.pos,n=t.active,r=t.horiz,s=t.reverse,o=t.dir,a=1,l=1;return r?(s&&(a=-1),"bottom"===i&&(l=-1),{transform:"translate3d("+a*(e-100)+"%,"+(n?0:-200*l)+"%,0)"}):(s&&(l=-1),"right"===i&&(a=-1),{transform:"translate3d("+(n?0:o*a*-200)+"%,"+l*(e-100)+"%,0)"})}function Jt(t,e){return"number"!=typeof e&&(e=t<25?3*Math.random()+3:t<65?3*Math.random():t<85?2*Math.random():t<99?.6:0),Ft(t+e,0,100)}function Gt(t,e){function i(){Wt.stop.map(function(t){t()})}Wt.start.push(t),Wt.stop.push(e),++Kt>1||(Qt.prototype.send=function(){for(var t=this,e=[],n=arguments.length;n--;)e[n]=arguments[n];Wt.start.map(function(t){t()}),this.addEventListener("abort",i,!1),this.addEventListener("readystatechange",function(){4===t.readyState&&i()},!1),Ut.apply(this,e)})}function Xt(t,e){Wt.start=Wt.start.filter(function(e){return e!==t}),Wt.stop=Wt.stop.filter(function(t){return t!==e}),(Kt=Math.max(0,Kt-1))||(Qt.prototype.send=Ut)}var Zt={name:"QAjaxBar",props:{position:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},size:{type:String,default:"2px"},color:{type:String,default:"red"},skipHijack:Boolean,reverse:Boolean},data:function(){return{calls:0,progress:0,onScreen:!1,animate:!0}},computed:{classes:function(){return[this.position,"bg-"+this.color,this.animate?"":"no-transition"]},style:function(){var t=this.onScreen,e=Yt({p:this.progress,pos:this.position,active:t,horiz:this.horizontal,reverse:this.$q.i18n.rtl&&["top","bottom"].includes(this.position)?!this.reverse:this.reverse,dir:this.$q.i18n.rtl?-1:1});return e[this.sizeProp]=this.size,e.opacity=t?1:0,e},horizontal:function(){return"top"===this.position||"bottom"===this.position},sizeProp:function(){return this.horizontal?"height":"width"}},methods:{start:function(t){var e=this;void 0===t&&(t=300),this.calls++,this.calls>1||(clearTimeout(this.timer),this.$emit("start"),this.onScreen||(this.progress=0,this.onScreen=!0,this.animate=!1,this.timer=setTimeout(function(){e.animate=!0,e.__work(t)},100)))},increment:function(t){this.calls>0&&(this.progress=Jt(this.progress,t))},stop:function(){var t=this;if(this.calls=Math.max(0,this.calls-1),!(this.calls>0)){clearTimeout(this.timer),this.$emit("stop");var e=function(){t.animate=!0,t.progress=100,t.timer=setTimeout(function(){t.onScreen=!1},1e3)};0===this.progress?this.timer=setTimeout(e,1):e()}},__work:function(t){var e=this;this.progress<100&&(this.timer=setTimeout(function(){e.increment(),e.__work(t)},t))}},mounted:function(){this.skipHijack||(this.hijacked=!0,Gt(this.start,this.stop))},beforeDestroy:function(){clearTimeout(this.timer),this.hijacked&&Xt(this.start,this.stop)},render:function(t){return t("div",{staticClass:"q-loading-bar",class:this.classes,style:this.style})}};function te(t,e,i){var n=i.stop,r=i.center;n&&t.stopPropagation();var s,o,a=document.createElement("span"),l=document.createElement("span"),c=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,u=(r?c:2*c)+"px",h=e.getBoundingClientRect();if(a.appendChild(l),a.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=u,l.style.height=u,e.appendChild(a),r)s=o=0;else{var d=K(t);s=d.left-h.left-c,o=d.top-h.top-c}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate("+s+"px, "+o+"px) scale3d(0, 0, 0)",setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate("+s+"px, "+o+"px) scale3d(1, 1, 1)",setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){a.remove()},300)},300)},10)}function ee(t){return t.mat,t.ios&&!0}var ie={name:"ripple",inserted:function(t,e){var i=e.value,n=e.modifiers;if(!ee(n)){var r={enabled:!1!==i,modifiers:{stop:n.stop,center:n.center},click:function(e){r.enabled&&-1!==e.detail&&te(e,t,r.modifiers)},keyup:function(e){r.enabled&&13===e.keyCode&&te(e,t,r.modifiers)}};t.__qripple=r,t.addEventListener("click",r.click,!1),t.addEventListener("keyup",r.keyup,!1)}},update:function(t,e){var i=e.value,n=e.modifiers,r=n.stop,s=n.center,o=t.__qripple;o&&(o.enabled=!1!==i,o.modifiers={stop:r,center:s})},unbind:function(t,e){var i=e.modifiers,n=t.__qripple;n&&!ee(i)&&(t.removeEventListener("click",n.click,!1),t.removeEventListener("keyup",n.keyup,!1),delete t.__qripple)}},ne={left:"start",center:"center",right:"end",between:"between",around:"around"},re=Object.keys(ne),se={props:{align:{type:String,default:"center",validator:function(t){return re.includes(t)}}},computed:{alignClass:function(){return"justify-"+ne[this.align]}}},oe={xs:8,sm:10,md:14,lg:20,xl:24,form:14.777,"form-label":21.777,"form-hide-underline":9.333,"form-label-hide-underline":16.333},ae={mixins:[se],directives:{Ripple:ie},props:{type:String,loading:{type:Boolean,default:null},disable:Boolean,label:[Number,String],noCaps:Boolean,noWrap:Boolean,icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,size:String,fab:Boolean,fabMini:Boolean,color:String,textColor:String,glossy:Boolean,dense:Boolean,noRipple:Boolean,tabindex:Number,to:[Object,String],replace:Boolean},computed:{style:function(){if(this.size&&!this.fab&&!this.fabMini)return{fontSize:this.size in oe?oe[this.size]+"px":this.size}},isRectangle:function(){return!this.isRound},isRound:function(){return this.round||this.fab||this.fabMini},shape:function(){return"q-btn-"+(this.isRound?"round":"rectangle")},isDisabled:function(){return this.disable||this.loading},hasRipple:function(){return!this.noRipple&&!this.isDisabled},computedTabIndex:function(){return this.isDisabled?-1:this.tabindex||0},isLink:function(){return"a"===this.type||void 0!==this.to},attrs:function(){var t={tabindex:this.computedTabIndex};return"a"!==this.type&&(t.type=this.type||"button"),void 0!==this.to&&(t.href=this.$router.resolve(this.to).href),t},classes:function(){var t=[this.shape];return this.fab?t.push("q-btn-fab"):this.fabMini&&t.push("q-btn-fab-mini"),this.flat?t.push("q-btn-flat"):this.outline?t.push("q-btn-outline"):this.push&&t.push("q-btn-push"),this.isDisabled?t.push("disabled"):(t.push("q-focusable q-hoverable"),this.active&&t.push("active")),this.color?this.flat||this.outline?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))):this.textColor&&t.push("text-"+this.textColor),t.push({"q-btn-no-uppercase":this.noCaps,"q-btn-rounded":this.rounded,"q-btn-dense":this.dense,glossy:this.glossy}),t},innerClasses:function(){var t=[this.alignClass];return!0===this.noWrap&&t.push("no-wrap","text-no-wrap"),!0===this.repeating&&t.push("non-selectable"),!0===this.loading&&t.push("q-btn-inner--hidden"),t}}},le={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-"+this.color}}},ce={name:"QSpinnerMat",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}},ue={mixins:[ce],name:"QSpinner"},he={name:"QBtn",mixins:[ae],props:{percentage:Number,darkPercentage:Boolean,waitForRipple:Boolean,repeatTimeout:[Number,Function]},computed:{hasPercentage:function(){return void 0!==this.percentage},width:function(){return Ft(this.percentage,0,100)+"%"},events:function(){var t=this;return this.isDisabled||!this.repeatTimeout?{click:this.click,keydown:this.__onKeyDown,keyup:this.__onKeyUp}:{mousedown:this.__startRepeat,touchstart:this.__startRepeat,keydown:function(e){t.__onKeyDown(e,!0)},mouseup:this.__endRepeat,touchend:this.__endRepeat,keyup:function(e){t.__onKeyUp(e,!0)},mouseleave:this.__abortRepeat,touchmove:this.__abortRepeat,blur:this.__abortRepeat}}},data:function(){return{repeating:!1,active:!1}},methods:{click:function(t){var e=this;if(this.__cleanup(),void 0===this.to&&!this.isDisabled||(t&&tt(t),!this.isDisabled))if(t&&-1!==t.detail&&"submit"===this.type){tt(t);var i=new MouseEvent("click",Object.assign({},t,{detail:-1}));this.timer=setTimeout(function(){return e.$el&&e.$el.dispatchEvent(i)},200)}else{var n=function(){e.$router[e.replace?"replace":"push"](e.to)},r=function(){e.isDisabled||(e.$emit("click",t,n),void 0!==e.to&&!1!==t.navigate&&n())};this.waitForRipple&&this.hasRipple?this.timer=setTimeout(r,300):r()}},__cleanup:function(){clearTimeout(this.timer)},__onKeyDown:function(t,e){this.isDisabled||13!==t.keyCode||(this.active=!0,e?this.__startRepeat(t):tt(t))},__onKeyUp:function(t,e){this.active&&(this.active=!1,this.isDisabled||13!==t.keyCode||this[e?"__endRepeat":"click"](t))},__startRepeat:function(t){var e=this;if(!this.repeating){var i=function(){e.timer=setTimeout(n,"function"==typeof e.repeatTimeout?e.repeatTimeout(e.repeatCount):e.repeatTimeout)},n=function(){e.isDisabled||(e.repeatCount+=1,t.repeatCount=e.repeatCount,e.$emit("click",t),i())};this.repeatCount=0,this.repeating=!0,i()}},__abortRepeat:function(){this.repeating=!1,this.__cleanup()},__endRepeat:function(t){this.repeating&&(this.repeating=!1,this.repeatCount?this.repeatCount=0:(t.detail||t.keyCode)&&(t.repeatCount=0,this.$emit("click",t)),this.__cleanup())}},beforeDestroy:function(){this.__cleanup()},render:function(t){var e=[].concat(this.$slots.default);return void 0!==this.label&&!0===this.isRectangle&&e.unshift(t("div",[this.label])),void 0!==this.icon&&e.unshift(t(St,{class:{"on-left":void 0!==this.label&&!0===this.isRectangle},props:{name:this.icon}})),void 0!==this.iconRight&&!1===this.isRound&&e.push(t(St,{staticClass:"on-right",props:{name:this.iconRight}})),t(this.isLink?"a":"button",{staticClass:"q-btn inline relative-position q-btn-item non-selectable",class:this.classes,style:this.style,attrs:this.attrs,on:this.events,directives:this.hasRipple?[{name:"ripple",value:!0,modifiers:{center:this.isRound}}]:null},[this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper"}):null,this.loading&&this.hasPercentage?t("div",{staticClass:"q-btn-progress absolute-full",class:{"q-btn-dark-progress":this.darkPercentage},style:{width:this.width}}):null,t("div",{staticClass:"q-btn-inner row col items-center q-popup--skip",class:this.innerClasses},e),null!==this.loading?t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("div",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$slots.loading?this.$slots.loading:[t(ue)])]:void 0):null])}},de={name:"QAlert",props:{type:{type:String,validator:function(t){return["positive","negative","warning","info"].includes(t)}},color:{type:String,default:"negative"},textColor:String,message:String,detail:String,icon:String,avatar:String,actions:Array},computed:{computedIcon:function(){return this.icon?this.icon:this.$q.icon.type[this.type||this.color]},classes:function(){return"bg-"+(this.type||this.color)+" text-"+(this.textColor||"white")}},render:function(t){var e=this,i=[],n=this.$slots.detail||this.detail;return this.avatar?i.push(t("img",{staticClass:"avatar",attrs:{src:this.avatar}})):(this.icon||this.type)&&i.push(t(St,{props:{name:this.computedIcon}})),t("div",[t("div",{staticClass:"q-alert row no-wrap shadow-2",class:this.classes},[i.length?t("div",{staticClass:"q-alert-side col-auto row flex-center"},i):null,t("div",{staticClass:"q-alert-content col self-center"},[t("div",this.$slots.default||this.message),n?t("div",{staticClass:"q-alert-detail"},[n]):null]),this.actions&&this.actions.length?t("div",{staticClass:"q-alert-actions col-auto gutter-xs column flex-center"},this.actions.map(function(i){return t("div",{staticClass:"full-width"},[t(he,{staticClass:"full-width",props:{flat:!0,dense:!0,align:"left",icon:i.icon,label:!0===i.closeBtn?"string"==typeof i.label?i.label:e.$q.i18n.label.close:i.label},on:{click:function(){return i.handler()}}})])})):null])])}};function fe(t,e){var i=e.field,n=e.list,r=t.toLowerCase();return n.filter(function(t){return(""+t[i]).toLowerCase().startsWith(r)})}function pe(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function me(){return pe()+pe()+"-"+pe()+"-"+pe()+"-"+pe()+"-"+pe()+pe()+pe()}function ve(t,e){var i=t.getBoundingClientRect(),n=i.top,r=i.left,s=i.right,o=i.bottom,a={top:n,left:r,width:t.offsetWidth,height:t.offsetHeight};return e&&(a.top-=e[1],a.left-=e[0],o&&(o+=e[1]),s&&(s+=e[0]),a.width+=e[0],a.height+=e[1]),a.right=s||a.left+a.width,a.bottom=o||a.top+a.height,a.middle=a.left+(a.right-a.left)/2,a.center=a.top+(a.bottom-a.top)/2,a}function ge(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function be(t,e,i,n,r,s){var o=ft(),a=window.innerHeight,l=window.innerWidth;if(a-=o,l-=o,r.top<0||r.top+e.bottom>a)if("center"===i.vertical)r.top=t[i.vertical]>a/2?a-e.bottom:0,r.maxHeight=Math.min(e.bottom,a);else if(t[i.vertical]>a/2){var c=Math.min(a,"center"===n.vertical?t.center:n.vertical===i.vertical?t.bottom:t.top);r.maxHeight=Math.min(e.bottom,c),r.top=Math.max(0,c-r.maxHeight)}else r.top="center"===n.vertical?t.center:n.vertical===i.vertical?t.top:t.bottom,r.maxHeight=Math.min(e.bottom,a-r.top);if(r.left<0||r.left+e.right>l)if(r.maxWidth=Math.min(e.right,l),"middle"===i.horizontal)r.left=t[i.horizontal]>l/2?l-e.right:0;else if(s)r.left=r.left<0?0:l-e.right;else if(t[i.horizontal]>l/2){var u=Math.min(l,"middle"===n.horizontal?t.center:n.horizontal===i.horizontal?t.right:t.left);r.maxWidth=Math.min(e.right,u),r.left=Math.max(0,u-r.maxWidth)}else r.left="middle"===n.horizontal?t.center:n.horizontal===i.horizontal?t.left:t.right,r.maxWidth=Math.min(e.right,l-r.left);return r}function ye(t){var e,i=t.el,n=t.animate,r=t.anchorEl,s=t.anchorOrigin,o=t.selfOrigin,a=t.maxHeight,l=t.event,c=t.anchorClick,u=t.touchPosition,h=t.offset,d=t.touchOffset,f=t.cover;if(i.style.maxHeight=a||"65vh",i.style.maxWidth="100vw",!l||c&&!u)if(d){var p=r.getBoundingClientRect(),m=p.top,v=p.left,g=m+d.top,b=v+d.left;e={top:g,left:b,width:1,height:1,right:b+1,center:g,middle:b,bottom:g+1}}else e=ve(r,h);else{var y=K(l),_=y.top,w=y.left;e={top:_,left:w,width:1,height:1,right:w+1,center:_,middle:w,bottom:_+1}}var x=ge(i),C={top:e[s.vertical]-x[o.vertical],left:e[s.horizontal]-x[o.horizontal]};if(C=be(e,x,o,s,C,f),i.style.top=Math.max(0,C.top)+"px",i.style.left=Math.max(0,C.left)+"px",C.maxHeight&&(i.style.maxHeight=C.maxHeight+"px"),C.maxWidth&&(i.style.maxWidth=C.maxWidth+"px"),n){var k=C.top<e.top?["up","down"]:["down","up"];i.classList.add("animate-popup-"+k[0]),i.classList.remove("animate-popup-"+k[1])}}function _e(t){var e=t.split(" ");return 2===e.length&&(["top","center","bottom"].includes(e[0])?!!["left","middle","right"].includes(e[1])||(console.error("Anchor/Self position must end with one of left/middle/right"),!1):(console.error("Anchor/Self position must start with one of top/center/bottom"),!1))}function we(t){return!t||2===t.length&&"number"==typeof t[0]&&"number"==typeof t[1]}function xe(t){var e=t.split(" ");return{vertical:e[0],horizontal:e[1]}}function Ce(t){var e,i=!1;function n(){for(var n=this,r=[],s=arguments.length;s--;)r[s]=arguments[s];i||(i=!0,e=requestAnimationFrame(function(){t.apply(n,r),i=!1}))}return n.cancel=function(){window.cancelAnimationFrame(e),i=!1},n}var ke={data:function(){return{canRender:!l}},mounted:function(){!1===this.canRender&&(this.canRender=!0)}},Se={name:"QPopover",mixins:[V,ke],props:{anchor:{type:String,validator:_e},self:{type:String,validator:_e},fit:Boolean,cover:Boolean,persistent:Boolean,keepOnScreen:Boolean,maxHeight:String,touchPosition:Boolean,anchorClick:{type:Boolean,default:!0},offset:{type:Array,validator:we},noFocus:Boolean,noRefocus:Boolean,disable:Boolean},watch:{$route:function(){this.hide()}},computed:{horizSide:function(){return this.$q.i18n.rtl?"right":"left"},anchorOrigin:function(){return xe(this.cover?"top "+this.horizSide:this.anchor||"bottom "+this.horizSide)},selfOrigin:function(){return xe(this.self||"top "+this.horizSide)}},render:function(t){if(this.canRender)return t("div",{staticClass:"q-popover scroll",ref:"content",attrs:{tabindex:-1},on:{click:function(t){t.stopPropagation()}}},this.$slots.default)},mounted:function(){var t=this;this.__updatePosition=Ce(function(e,i,n){return t.reposition(i,n)}),this.$nextTick(function(){t.anchorEl=t.$el.parentNode,t.anchorEl.removeChild(t.$el),(t.anchorEl.classList.contains("q-popup--skip")||t.anchorEl.classList.contains("no-pointer-events"))&&(t.anchorEl=t.anchorEl.parentNode),t.anchorClick&&(t.anchorEl.classList.add("cursor-pointer"),t.anchorEl.addEventListener("click",t.toggle),t.anchorEl.addEventListener("keyup",t.__toggleKey))}),this.value&&this.show()},beforeDestroy:function(){this.showing&&this.__cleanup(),this.anchorClick&&this.anchorEl&&(this.anchorEl.removeEventListener("click",this.toggle),this.anchorEl.removeEventListener("keyup",this.__toggleKey))},methods:{__show:function(t){var e=this;this.noRefocus||(this.__refocusTarget=this.anchorClick&&this.anchorEl||document.activeElement),document.body.appendChild(this.$el),H.register(function(){e.$emit("escape-key"),e.hide()}),this.scrollTarget=at(this.anchorEl),this.scrollTarget.addEventListener("scroll",this.__updatePosition,Q.passive),this.scrollTarget!==window&&window.addEventListener("scroll",this.__updatePosition,Q.passive),window.addEventListener("resize",this.__updatePosition,Q.passive),this.__updatePosition(0,t,!0),clearTimeout(this.timer),!this.noFocus&&this.$refs.content&&this.$refs.content.focus(),this.timer=setTimeout(function(){document.body.addEventListener("mousedown",e.__bodyHide,!0),document.body.addEventListener("touchstart",e.__bodyHide,!0),e.showPromise&&e.showPromiseResolve()},0)},__toggleKey:function(t){13===t.keyCode&&this.toggle(t)},__bodyHide:function(t){this.persistent||t&&t.target&&(this.$el.contains(t.target)||this.anchorEl.contains(t.target))||this.hide(t)},__hide:function(){this.__cleanup(),this.hidePromise&&this.hidePromiseResolve(),!this.noRefocus&&this.__refocusTarget&&(this.__refocusTarget.focus(),!this.__refocusTarget.classList.contains("q-if")&&this.__refocusTarget.blur())},__cleanup:function(){clearTimeout(this.timer),document.body.removeEventListener("mousedown",this.__bodyHide,!0),document.body.removeEventListener("touchstart",this.__bodyHide,!0),this.scrollTarget.removeEventListener("scroll",this.__updatePosition,Q.passive),this.scrollTarget!==window&&window.removeEventListener("scroll",this.__updatePosition,Q.passive),window.removeEventListener("resize",this.__updatePosition,Q.passive),H.pop(),this.$el.remove()},reposition:function(t,e){var i=this.anchorEl.getBoundingClientRect(),n=i.top,r=i.bottom,s=i.left,o=i.right;if(!this.keepOnScreen&&(r<0||n>window.innerHeight||o<0||s>window.innerWidth))return this.hide();if(this.fit||this.cover){var a=window.getComputedStyle(this.anchorEl);this.$el.style.minWidth=a.getPropertyValue("width"),this.cover&&(this.$el.style.minHeight=a.getPropertyValue("height"))}if(e)if(this.touchPosition){var l=K(t),c=l.top,u=l.left;this.touchOffset={left:u-s,top:c-n}}else delete this.touchOffset;ye({event:t,animate:e,el:this.$el,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,anchorClick:this.anchorClick,touchPosition:this.touchPosition,touchOffset:this.touchOffset,cover:this.cover})}}};function $e(t,e,i,n,r,s){var o={props:{right:s.right}};if(n&&r)t.push(e(i,o,n));else{var a=!1;for(var l in s)if(s.hasOwnProperty(l)&&void 0!==(a=s[l])&&!0!==a){t.push(e(i,{props:s}));break}n&&t.push(e(i,o,n))}}var qe={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(t){var e=this.cfg,i=this.slotReplace,n=[];return $e(n,t,Bt,this.$slots.left,i,{icon:e.icon,color:e.leftColor,avatar:e.avatar,letter:e.letter,image:e.image,inverted:e.leftInverted,textColor:e.leftTextColor}),$e(n,t,Rt,this.$slots.main,i,{label:e.label,sublabel:e.sublabel,labelLines:e.labelLines,sublabelLines:e.sublabelLines,inset:e.inset}),$e(n,t,Bt,this.$slots.right,i,{right:!0,icon:e.rightIcon,color:e.rightColor,avatar:e.rightAvatar,letter:e.rightLetter,image:e.rightImage,stamp:e.stamp,inverted:e.rightInverted,textColor:e.rightTextColor}),n.push(this.$slots.default),t(At,{attrs:this.$attrs,on:this.$listeners,props:e},n)}},Te={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},watch:{keyboardIndex:function(t){var e=this;this.$refs.popover&&this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){if(e.$refs.popover){var t=e.$refs.popover.$el.querySelector(".q-select-highlight");if(t&&t.scrollIntoView){if(t.scrollIntoViewIfNeeded)return t.scrollIntoViewIfNeeded(!1);t.scrollIntoView(e.keyboardMoveDirection<0)}}})}},methods:{__keyboardShow:function(t){void 0===t&&(t=0),this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(t){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex,t)},__keyboardHandleKey:function(t){var e=W(t);switch(e){case 38:this.__keyboardMoveCursor(-1,t);break;case 40:this.__keyboardMoveCursor(1,t);break;case 13:if(this.$refs.popover.showing)return tt(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide()}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var i=this;if(tt(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var n=this.keyboardIndex,r=this.__keyboardIsSelectableIndex||function(){return!0};do{n=Ht(n+t,-1,i.keyboardMaxIndex)}while(n!==this.keyboardIndex&&!r(n));return this.keyboardMoveDirection=n>this.keyboardIndex?1:-1,this.keyboardMoveTimer=setTimeout(function(){i.keyboardMoveDirection=!1},500),void(this.keyboardIndex=n)}this.__keyboardShowTrigger()}}},Pe={name:"QAutocomplete",mixins:[Te],props:{minCharacters:{type:Number,default:1},maxResults:{type:Number,default:6},maxHeight:String,debounce:{type:Number,default:500},filter:{type:Function,default:fe},staticData:Object,valueField:[String,Function],separator:Boolean},inject:{__input:{default:function(){console.error("QAutocomplete needs to be child of QInput, QChipsInput or QSearch")}},__inputDebounce:{default:null}},data:function(){return{searchId:"",results:[],width:0,enterKey:!1,timer:null}},watch:{"__input.val":function(){this.enterKey?this.enterKey=!1:this.__delayTrigger()}},computed:{computedResults:function(){return this.maxResults&&this.results.length>0?this.results.slice(0,this.maxResults):[]},computedValueField:function(){return this.valueField||this.staticData&&this.staticData.field||"value"},keyboardMaxIndex:function(){return this.computedResults.length-1},computedWidth:function(){return{minWidth:this.width}},searching:function(){return this.searchId.length>0}},methods:{isWorking:function(){return this.$refs&&this.$refs.popover},trigger:function(t){var e=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var i=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),n=i.length,r=me(),s=this.$refs.popover;if(this.searchId=r,n<this.minCharacters||!0===t&&n>0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=rt(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(i,this.staticData),this.results.length?void this.__showResults():void s.hide();this.__input.loading=!0,this.$emit("search",i,function(t){if(e.isWorking()&&e.searchId===r){if(e.__clearSearch(),Array.isArray(t)&&t.length>0)return e.results=t,void e.__showResults();e.hide()}})}},hide:function(){return this.results=[],this.isWorking()?this.$refs.popover.hide():Promise.resolve()},blurHide:function(){var t=this;this.__clearSearch(),this.timer=setTimeout(function(){return t.hide()},300)},__clearSearch:function(){clearTimeout(this.timer),this.__input.loading=!1,this.searchId=""},__keyboardCustomKeyHandle:function(t){switch(t){case 27:this.__clearSearch();break;case 38:case 40:case 9:this.__keyboardSetCurrentSelection(!0)}},__keyboardShowTrigger:function(){this.trigger()},__focusShowTrigger:function(){var t=this;clearTimeout(this.timer),this.timer=setTimeout(function(){return t.trigger(!0)},100)},__keyboardIsSelectableIndex:function(t){return t>-1&&t<this.computedResults.length&&!this.computedResults[t].disable},setValue:function(t,e){var i=this,n="function"==typeof this.computedValueField?this.computedValueField(t):t[this.computedValueField],r=this.__inputDebounce?"Debounce":"";this.inputEl&&this.__input&&!this.__input.hasFocus()&&(this.$q.platform.is.ie?this.$nextTick(function(){i.inputEl.focus()}):this.inputEl.focus()),this.enterKey=this.__input&&n!==this.__input.val,this["__input"+r][e?"setNav":"set"](n),this.$emit("selected",t,!!e),e||(this.__clearSearch(),this.hide())},__keyboardSetSelection:function(t,e){this.setValue(this.results[t],e)},__delayTrigger:function(){this.__clearSearch(),this.__input.hasFocus()&&(this.staticData?this.trigger():this.timer=setTimeout(this.trigger,this.debounce))},__showResults:function(){var t=this.$refs.popover;this.__keyboardShow(-1),t.showing?this.$nextTick(function(){return t.showing&&t.reposition()}):t.show()}},mounted:function(){var t=this;this.__input.register(),this.__inputDebounce&&this.__inputDebounce.setChildDebounce(!0),this.$nextTick(function(){t.__input&&(t.inputEl=t.__input.getEl(),t.inputEl.addEventListener("keydown",t.__keyboardHandleKey),t.inputEl.addEventListener("blur",t.blurHide),t.inputEl.addEventListener("focus",t.__focusShowTrigger))})},beforeDestroy:function(){this.__clearSearch(),this.__input.unregister(),this.__inputDebounce&&this.__inputDebounce.setChildDebounce(!1),this.inputEl&&(this.inputEl.removeEventListener("keydown",this.__keyboardHandleKey),this.inputEl.removeEventListener("blur",this.blurHide),this.inputEl.removeEventListener("focus",this.__focusShowTrigger),this.hide())},render:function(t){var e=this,i=this.__input.isDark();return t(Se,{ref:"popover",class:i?"bg-dark":null,props:{fit:!0,keepOnScreen:!0,anchorClick:!1,maxHeight:this.maxHeight,noFocus:!0,noRefocus:!0},on:{show:function(){e.__input.selectionOpen=!0,e.$emit("show")},hide:function(){e.__input.selectionOpen=!1,e.$emit("hide")}}},[t($t,{props:{dark:i,noBorder:!0,separator:this.separator},style:this.computedWidth},this.computedResults.map(function(i,n){return t(qe,{key:i.id||n,class:{"q-select-highlight":e.keyboardIndex===n,"cursor-pointer":!i.disable,"text-faded":i.disable},props:{cfg:i},nativeOn:{mouseenter:function(){!i.disable&&(e.keyboardIndex=n)},click:function(){!i.disable&&e.setValue(i)}}})}))])}},Le={name:"QBreadcrumbs",mixins:[se],props:{color:{type:String,default:"faded"},activeColor:{type:String,default:"primary"},separator:{type:String,default:"/"},align:Object.assign({},se.props.align,{default:"left"})},computed:{classes:function(){return["text-"+this.color,this.alignClass]}},render:function(t){var e=this;if(this.$slots.default){var i=[],n=this.$slots.default.filter(function(t){return void 0!==t.tag&&t.tag.endsWith("-QBreadcrumbsEl")}).length,r=this.$scopedSlots.separator||function(){return e.separator},s="text-"+this.color,o="text-"+this.activeColor,a=1;for(var l in e.$slots.default){var c=e.$slots.default[l];if(void 0!==c.tag&&c.tag.endsWith("-QBreadcrumbsEl")){var u=a<n;a++,i.push(t("div",{staticClass:"flex items-center",class:[u?o:s,u?"text-weight-bold":"q-breadcrumbs-last"]},[c])),u&&i.push(t("div",{staticClass:"q-breadcrumbs-separator",class:s},[r()]))}else i.push(c)}return t("div",{staticClass:"q-breadcrumbs flex gutter-xs items-center overflow-hidden",class:this.classes},i)}}},Oe={name:"QBreadcrumbsEl",mixins:[{props:Pt}],props:{label:String,icon:String,color:String},render:function(t){return t(void 0!==this.to?"router-link":"span",{staticClass:"q-link q-breadcrumbs-el flex inline items-center relative-position",props:void 0!==this.to?this.$props:null},[this.icon?t(St,{staticClass:"q-breacrumbs-el-icon q-mr-sm",props:{name:this.icon}}):null,this.label].concat(this.$slots.default))}},Me={name:"QBtnGroup",props:{outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean},computed:{classes:function(){var t=this;return["outline","flat","rounded","push"].filter(function(e){return t[e]}).map(function(t){return"q-btn-group-"+t}).join(" ")}},render:function(t){return t("div",{staticClass:"q-btn-group row no-wrap inline",class:this.classes},this.$slots.default)}},Ee={name:"QBtnDropdown",mixins:[ae],props:{value:Boolean,split:Boolean,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],popoverAnchor:{type:String,default:"bottom right"},popoverSelf:{type:String,default:"top right"}},data:function(){return{showing:this.value}},watch:{value:function(t){this.$refs.popover&&this.$refs.popover[t?"show":"hide"]()}},render:function(t){var e=this,i=t(Se,{ref:"popover",props:{disable:this.disable,fit:!0,anchorClick:!this.split,anchor:this.popoverAnchor,self:this.popoverSelf},class:this.contentClass,style:this.contentStyle,on:{show:function(t){e.showing=!0,e.$emit("show",t),e.$emit("input",!0)},hide:function(t){e.showing=!1,e.$emit("hide",t),e.$emit("input",!1)}}},this.$slots.default),n=t(St,{props:{name:this.$q.icon.input.dropdown},staticClass:"transition-generic",class:{"rotate-180":this.showing,"on-right":!this.split,"q-btn-dropdown-arrow":!this.split}}),r=t(he,{props:Object.assign({},this.$props,{iconRight:this.split?this.iconRight:null}),class:this.split?"q-btn-dropdown-current":"q-btn-dropdown q-btn-dropdown-simple",on:{click:function(t){e.split&&e.hide(),e.disable||e.$emit("click",t)}}},this.split?null:[n,i]);return this.split?t(Me,{props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push},staticClass:"q-btn-dropdown q-btn-dropdown-split no-wrap q-btn-item"},[r,t(he,{props:{disable:this.disable,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,dense:this.dense,glossy:this.glossy,noRipple:this.noRipple,waitForRipple:this.waitForRipple},staticClass:"q-btn-dropdown-arrow",on:{click:function(){e.toggle()}}},[n]),[i]]):r},methods:{toggle:function(){return this.$refs.popover?this.$refs.popover.toggle():Promise.resolve()},show:function(){return this.$refs.popover?this.$refs.popover.show():Promise.resolve()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()}},mounted:function(){var t=this;this.$nextTick(function(){t.value&&t.$refs.popover&&t.$refs.popover.show()})}},Ae={name:"QBtnToggle",props:{value:{required:!0},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,options:{type:Array,required:!0,validator:function(t){return t.every(function(t){return("label"in t||"icon"in t)&&"value"in t})}},readonly:Boolean,disable:Boolean,noCaps:Boolean,noWrap:Boolean,outline:Boolean,flat:Boolean,dense:Boolean,rounded:Boolean,push:Boolean,size:String,glossy:Boolean,noRipple:Boolean,waitForRipple:Boolean},computed:{val:function(){var t=this;return this.options.map(function(e){return e.value===t.value})}},methods:{set:function(t,e){var i=this;this.readonly||(this.$emit("input",t,e),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(i.value)&&i.$emit("change",t,e)}))}},render:function(t){var e=this;return t(Me,{staticClass:"q-btn-toggle",props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push}},this.options.map(function(i,n){return t(he,{key:""+i.label+i.icon+i.iconRight,on:{click:function(){return e.set(i.value,i)}},props:{disable:e.disable||i.disable,label:i.label,color:e.val[n]?i.toggleColor||e.toggleColor:i.color||e.color,textColor:e.val[n]?i.toggleTextColor||e.toggleTextColor:i.textColor||e.textColor,icon:i.icon,iconRight:i.iconRight,noCaps:e.noCaps||i.noCaps,noWrap:e.noWrap||i.noWrap,outline:e.outline,flat:e.flat,rounded:e.rounded,push:e.push,glossy:e.glossy,size:e.size,dense:e.dense,noRipple:e.noRipple||i.noRipple,waitForRipple:e.waitForRipple||i.waitForRipple,tabindex:i.tabindex}})}))}},Be={name:"QCard",props:{dark:Boolean,square:Boolean,flat:Boolean,inline:Boolean,color:String,textColor:String},computed:{classes:function(){var t=[{"no-border-radius":this.square,"no-shadow":this.flat,"inline-block":this.inline,"q-card-dark":this.dark}];return this.color?(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))):this.textColor&&t.push("text-"+this.textColor),t}},render:function(t){return t("div",{staticClass:"q-card",class:this.classes},this.$slots.default)}},Ne={name:"QCardTitle",render:function(t){return t("div",{staticClass:"q-card-primary q-card-container row no-wrap"},[t("div",{staticClass:"col column"},[t("div",{staticClass:"q-card-title"},this.$slots.default),t("div",{staticClass:"q-card-subtitle"},[this.$slots.subtitle])]),t("div",{staticClass:"col-auto self-center q-card-title-extra"},[this.$slots.right])])}},Re={name:"QCardMain",render:function(t){return t("div",{staticClass:"q-card-main q-card-container"},this.$slots.default)}},Ie={name:"QCardActions",props:{vertical:Boolean,align:{type:String,default:"start",validator:function(t){return["start","center","end","around","between"].includes(t)}}},computed:{classes:function(){return"q-card-actions-"+(this.vertical?"vert column justify-start":"horiz row")+" "+(this.vertical?"items":"justify")+"-"+this.align}},render:function(t){return t("div",{staticClass:"q-card-actions",class:this.classes},this.$slots.default)}},De={name:"QCardMedia",props:{overlayPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom","full"].includes(t)}}},render:function(t){return t("div",{staticClass:"q-card-media relative-position"},[this.$slots.default,this.$slots.overlay?t("div",{staticClass:"q-card-media-overlay",class:"absolute-"+this.overlayPosition},[this.$slots.overlay]):null])}},je={name:"QCardSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-card-separator",class:{inset:this.inset}},this.$slots.default)}};function ze(t){var e=!0!==t.horizontal&&!0!==t.vertical,i={};return!0!==t.horizontal&&!0!==e||(i.horizontal=!0),!0!==t.vertical&&!0!==e||(i.vertical=!0),i}function Fe(t,e,i){var n=K(t),r=n.left-e.event.x,s=n.top-e.event.y,o=Math.abs(r),a=Math.abs(s);return{evt:t,position:n,direction:e.direction.horizontal&&!e.direction.vertical?r<0?"left":"right":!e.direction.horizontal&&e.direction.vertical?s<0?"up":"down":o>=a?r<0?"left":"right":s<0?"up":"down",isFirst:e.event.isFirst,isFinal:i,duration:(new Date).getTime()-e.event.time,distance:{x:o,y:a},offset:{x:r,y:s},delta:{x:n.left-e.event.lastX,y:n.top-e.event.lastY}}}function He(t,e){return!(!t.direction.horizontal||!t.direction.vertical)||(t.direction.horizontal&&!t.direction.vertical?Math.abs(e.delta.x)>0:!t.direction.horizontal&&t.direction.vertical?Math.abs(e.delta.y)>0:void 0)}var Ve={name:"touch-pan",bind:function(t,e){var i=!0!==e.modifiers.noMouse,n=e.modifiers.stop,r=e.modifiers.prevent,s=r||e.modifiers.mightPrevent?null:Q.passive,o={handler:e.value,direction:ze(e.modifiers),mouseStart:function(t){U(t)&&(document.addEventListener("mousemove",o.move,s),document.addEventListener("mouseup",o.mouseEnd,s),o.start(t,!0))},mouseEnd:function(t){document.removeEventListener("mousemove",o.move,s),document.removeEventListener("mouseup",o.mouseEnd,s),o.end(t)},start:function(e,i){var s=K(e);o.event={x:s.left,y:s.top,time:(new Date).getTime(),detected:!0===i||o.direction.horizontal&&o.direction.vertical,abort:!1,isFirst:!0,lastX:s.left,lastY:s.top},o.event.detected&&(t.classList.add("q-touch"),!0!==i&&(n&&e.stopPropagation(),r&&e.preventDefault(),o.move(e)))},move:function(t){if(!0!==o.event.abort)if(!0!==o.event.detected){var e=K(t),i=Math.abs(e.left-o.event.x),s=Math.abs(e.top-o.event.y);i!==s&&(o.event.detected=!0,o.event.abort=o.direction.vertical?i>s:i<s,o.move(t))}else{n&&t.stopPropagation(),r&&t.preventDefault();var a=Fe(t,o,!1);He(o,a)&&(o.handler(a),o.event.lastX=a.position.left,o.event.lastY=a.position.top,o.event.isFirst=!1)}},end:function(e){t.classList.remove("q-touch"),o.event.abort||!o.event.detected||o.event.isFirst||(n&&e.stopPropagation(),r&&e.preventDefault(),o.handler(Fe(e,o,!0)))}};t.__qtouchpan&&(t.__qtouchpan_old=t.__qtouchpan),t.__qtouchpan=o,i&&t.addEventListener("mousedown",o.mouseStart,s),t.addEventListener("touchstart",o.start,s),t.addEventListener("touchmove",o.move,s),t.addEventListener("touchend",o.end,s)},update:function(t,e){var i=e.oldValue,n=e.value,r=e.modifiers,s=t.__qtouchpan;i!==n&&(s.handler=n),r.horizontal===s.direction.horizontal&&r.vertical===s.direction.vertical||(s.direction=ze(r))},unbind:function(t,e){var i=t.__qtouchpan_old||t.__qtouchpan;if(void 0!==i){var n=e.modifiers.prevent?null:Q.passive;t.removeEventListener("mousedown",i.mouseStart,n),t.removeEventListener("touchstart",i.start,n),t.removeEventListener("touchmove",i.move,n),t.removeEventListener("touchend",i.end,n),delete t[t.__qtouchpan_old?"__qtouchpan_old":"__qtouchpan"]}}};function Qe(t){return"[object Date]"===Object.prototype.toString.call(t)}function Ue(t){return"number"==typeof t&&isFinite(t)}function We(t){return"string"==typeof t}var Ke=function(t){return t},Ye=function(t){return 1+Math.pow(t-1,3)},Je=function(t){return t<.4031?12*Math.pow(t,4):1/1290*(11*Math.sqrt(-4e4*t*t+8e4*t-23359)-129)},Ge=Ye,Xe={};function Ze(t){var e=t.name,i=t.duration;void 0===i&&(i=300);var n=t.to,r=t.from,s=t.apply,o=t.done,a=t.cancel,l=t.easing,c=e,u=new Date;c?ti(c):c=me();var h=l||Ke,d=function t(){var e=(new Date-u)/i;e>1&&(e=1);var a=r+(n-r)*h(e);if(s(a,e),1===e)return delete Xe[c],void(o&&o(a));f.last={pos:a,progress:e},f.timer=requestAnimationFrame(t)},f=Xe[c]={cancel:a,timer:requestAnimationFrame(d)};return c}function ti(t){if(t){var e=Xe[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete Xe[t])}}var ei={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()},inFullscreen:function(t){this.$emit("fullscreen",t)}},methods:{toggleFullscreen:function(){this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen:function(){this.inFullscreen||(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),document.body.classList.add("q-body-fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},g.add(this.__historyFullscreen))},exitFullscreen:function(){this.inFullscreen&&(this.__historyFullscreen&&(g.remove(this.__historyFullscreen),this.__historyFullscreen=null),this.container.replaceChild(this.$el,this.fullscreenFillerNode),document.body.classList.remove("q-body-fullscreen-mixin"),this.inFullscreen=!1)}},beforeMount:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}},ii={name:"QCarousel",mixins:[ei],directives:{TouchPan:Ve},props:{value:Number,color:{type:String,default:"primary"},height:String,arrows:Boolean,infinite:Boolean,animation:{type:[Number,Boolean],default:!0},easing:Function,swipeEasing:Function,noSwipe:Boolean,autoplay:[Number,Boolean],handleArrowKeys:Boolean,quickNav:Boolean,quickNavPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom"].includes(t)}},quickNavIcon:String,thumbnails:{type:Array,default:function(){return[]}},thumbnailsIcon:String,thumbnailsHorizontal:Boolean},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!1,viewThumbnails:!1}},watch:{value:function(t){t!==this.slide&&this.goToSlide(t)},autoplay:function(){this.__planAutoPlay()},infinite:function(){this.__planAutoPlay()},handleArrowKeys:function(t){this.__setArrowKeys(t)}},computed:{rtlDir:function(){return this.$q.i18n.rtl?-1:1},arrowIcon:function(){var t=[this.$q.icon.carousel.left,this.$q.icon.carousel.right];return this.$q.i18n.rtl?t.reverse():t},trackPosition:function(){return{transform:"translateX("+this.rtlDir*this.position+"%)"}},infiniteLeft:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide<0},infiniteRight:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide>=this.slidesNumber},canGoToPrevious:function(){return this.infinite?this.slidesNumber>1:this.slide>0},canGoToNext:function(){return this.infinite?this.slidesNumber>1:this.slide<this.slidesNumber-1},computedQuickNavIcon:function(){return this.quickNavIcon||this.$q.icon.carousel.quickNav},computedStyle:function(){if(!this.inFullscreen&&this.height)return"height: "+this.height},slotScope:function(){return{slide:this.slide,slidesNumber:this.slidesNumber,percentage:this.slidesNumber<2?100:100*this.slide/(this.slidesNumber-1),goToSlide:this.goToSlide,previous:this.previous,next:this.next,color:this.color,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen,canGoToNext:this.canGoToNext,canGoToPrevious:this.canGoToPrevious}},computedThumbnailIcon:function(){return this.thumbnailsIcon||this.$q.icon.carousel.thumbnails}},methods:{previous:function(){return this.canGoToPrevious?this.goToSlide(this.slide-1):Promise.resolve()},next:function(){return this.canGoToNext?this.goToSlide(this.slide+1):Promise.resolve()},goToSlide:function(t,e){var i=this;return void 0===e&&(e=!1),new Promise(function(n){var r,s="",o=i.slide;i.__cleanup();var a=function(){i.$emit("input",i.slide),i.$emit("slide",i.slide,s),i.$emit("slide-direction",s),i.__planAutoPlay(),n()};if(i.slidesNumber<2?(i.slide=0,i.positionSlide=0,r=0):(i.hasOwnProperty("initialPosition")||(i.position=100*-i.slide),s=t>i.slide?"next":"previous",i.infinite?(i.slide=Ht(t,0,i.slidesNumber-1),r=Ht(t,-1,i.slidesNumber),e||(i.positionSlide=r)):(i.slide=Ft(t,0,i.slidesNumber-1),i.positionSlide=i.slide,r=i.slide)),i.$emit("slide-trigger",o,i.slide,s),r*=-100,!i.animation)return i.position=r,void a();i.animationInProgress=!0,i.animUid=Ze({from:i.position,to:r,duration:Ue(i.animation)?i.animation:300,easing:e?i.swipeEasing||Ge:i.easing||Je,apply:function(t){i.position=t},done:function(){i.infinite&&(i.position=100*-i.slide,i.positionSlide=i.slide),i.animationInProgress=!1,a()}})})},stopAnimation:function(){ti(this.animUid),this.animationInProgress=!1},__pan:function(t){var e=this;if(!this.infinite||!this.animationInProgress){t.isFirst&&(this.initialPosition=this.position,this.__cleanup());var i=this.rtlDir*("left"===t.direction?-1:1)*t.distance.x;(this.infinite&&this.slidesNumber<2||!this.infinite&&(0===this.slide&&i>0||this.slide===this.slidesNumber-1&&i<0))&&(i=0);var n=this.initialPosition+i/this.$refs.track.offsetWidth*100,r=this.slide+this.rtlDir*("left"===t.direction?1:-1);this.position!==n&&(this.position=n),this.positionSlide!==r&&(this.positionSlide=r),t.isFinal&&this.goToSlide(t.distance.x<40?this.slide:this.positionSlide,!0).then(function(){delete e.initialPosition})}},__planAutoPlay:function(){var t=this;this.$nextTick(function(){t.autoplay&&(clearTimeout(t.timer),t.timer=setTimeout(t.next,Ue(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=W(t);37===e?this.previous():39===e&&this.next()},__setArrowKeys:function(t){document[(!0===t?"add":"remove")+"EventListener"]("keydown",this.__handleArrowKey)},__registerSlide:function(){this.slidesNumber++},__unregisterSlide:function(){this.slidesNumber--},__getScopedSlots:function(t){var e=this;if(0!==this.slidesNumber){var i=this.$scopedSlots;return i?Object.keys(i).filter(function(t){return t.startsWith("control-")}).map(function(t){return i[t](e.slotScope)}):void 0}},__getQuickNav:function(t){var e=this;if(0!==this.slidesNumber&&this.quickNav){var i=this.$scopedSlots["quick-nav"],n=[];if(i)for(var r=function(t){n.push(i({slide:t,before:t<e.slide,current:t===e.slide,after:t>e.slide,color:e.color,goToSlide:function(i){e.goToSlide(i||t)}}))},s=0;s<this.slidesNumber;s++)r(s);else for(var o=function(i){n.push(t(he,{key:i,class:{inactive:i!==e.slide},props:{icon:e.computedQuickNavIcon,round:!0,flat:!0,dense:!0,color:e.color},on:{click:function(){e.goToSlide(i)}}}))},a=0;a<this.slidesNumber;a++)o(a);return t("div",{staticClass:"q-carousel-quick-nav scroll text-center",class:["text-"+this.color,"absolute-"+this.quickNavPosition]},n)}},__getThumbnails:function(t){var e=this,i=this.thumbnails.map(function(i,n){if(i)return t("div",{on:{click:function(){e.goToSlide(n)}}},[t("img",{attrs:{src:i},class:{active:e.slide===n}})])}),n=[t(he,{staticClass:"q-carousel-thumbnail-btn absolute",props:{icon:this.computedThumbnailIcon,fabMini:!0,flat:!0,color:this.color},on:{click:function(){e.viewThumbnails=!e.viewThumbnails}}}),t("div",{staticClass:"q-carousel-thumbnails scroll absolute-bottom",class:{active:this.viewThumbnails}},[t("div",{staticClass:"row gutter-xs",class:this.thumbnailsHorizontal?"no-wrap":"justify-center"},i)])];return this.viewThumbnails&&n.unshift(t("div",{staticClass:"absolute-full",on:{click:function(){e.viewThumbnails=!1}}})),n}},render:function(t){return t("div",{staticClass:"q-carousel",style:this.computedStyle,class:{fullscreen:this.inFullscreen}},[t("div",{staticClass:"q-carousel-inner",directives:this.noSwipe?null:[{name:"touch-pan",modifiers:{horizontal:!0,prevent:!0,stop:!0},value:this.__pan}]},[t("div",{ref:"track",staticClass:"q-carousel-track",style:this.trackPosition,class:{"infinite-left":this.infiniteLeft,"infinite-right":this.infiniteRight}},[this.infiniteRight?t("div",{staticClass:"q-carousel-slide",style:"flex: 0 0 100%"}):null,this.$slots.default,this.infiniteLeft?t("div",{staticClass:"q-carousel-slide",style:"flex: 0 0 100%"}):null])]),this.arrows?t(he,{staticClass:"q-carousel-left-arrow absolute",props:{color:this.color,icon:this.arrowIcon[0],fabMini:!0,flat:!0},directives:[{name:"show",value:this.canGoToPrevious}],on:{click:this.previous}}):null,this.arrows?t(he,{staticClass:"q-carousel-right-arrow absolute",props:{color:this.color,icon:this.arrowIcon[1],fabMini:!0,flat:!0},directives:[{name:"show",value:this.canGoToNext}],on:{click:this.next}}):null,this.__getQuickNav(t),this.__getScopedSlots(t),this.thumbnails.length?this.__getThumbnails(t):null,this.$slots.control])},mounted:function(){var t=this;this.__planAutoPlay(),this.handleArrowKeys&&this.__setArrowKeys(!0),this.__stopSlideNumberNotifier=this.$watch("slidesNumber",function(e){t.value>=e&&t.$emit("input",e-1)},{immediate:!0})},beforeDestroy:function(){this.__cleanup(),this.__stopSlideNumberNotifier(),this.handleArrowKeys&&this.__setArrowKeys(!1)}},ni={name:"QCarouselSlide",inject:{carousel:{default:function(){console.error("QCarouselSlide needs to be child of QCarousel")}}},props:{imgSrc:String},computed:{computedStyle:function(){var t={};return this.imgSrc&&(t.backgroundImage="url("+this.imgSrc+")",t.backgroundSize="cover",t.backgroundPosition="50%"),!this.carousel.inFullscreen&&this.carousel.height&&(t.maxHeight=this.carousel.height),t}},render:function(t){return t("div",{staticClass:"q-carousel-slide relative-position scroll",style:this.computedStyle},this.$slots.default)},created:function(){this.carousel.__registerSlide()},beforeDestroy:function(){this.carousel.__unregisterSlide()}},ri={name:"QCarouselControl",props:{position:{type:String,default:"bottom-right"},offset:{type:Array,default:function(){return[18,18]}}},computed:{computedClass:function(){return"absolute-"+this.position},computedStyle:function(){return{margin:this.offset[1]+"px "+this.offset[0]+"px"}}},render:function(t){return t("div",{staticClass:"q-carousel-control absolute",style:this.computedStyle,class:this.computedClass},this.$slots.default)}},si={name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String},computed:{textClass:function(){if(this.textColor)return"text-"+this.textColor},messageClass:function(){if(this.bgColor)return"text-"+this.bgColor},sizeClass:function(){if(this.size)return"col-"+this.size},classes:function(){return{"q-message-sent":this.sent,"q-message-received":!this.sent}}},methods:{__getText:function(t){var e=this;return this.text.map(function(i,n){return t("div",{staticClass:"q-message-text",class:e.messageClass},[t("span",{staticClass:"q-message-text-content",class:e.textClass},[t("div",{domProps:{innerHTML:i}}),e.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:e.stamp}}):null])])})},__getMessage:function(t){return t("div",{staticClass:"q-message-text",class:this.messageClass},[t("span",{staticClass:"q-message-text-content",class:this.textClass},[this.$slots.default,this.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:this.stamp}}):null])])}},render:function(t){return t("div",{staticClass:"q-message",class:this.classes},[this.label?t("div",{staticClass:"q-message-label text-center",domProps:{innerHTML:this.label}}):null,t("div",{staticClass:"q-message-container row items-end no-wrap"},[this.$slots.avatar||(this.avatar?t("img",{staticClass:"q-message-avatar col-auto",attrs:{src:this.avatar}}):null),t("div",{class:this.sizeClass},[this.name?t("div",{staticClass:"q-message-name",domProps:{innerHTML:this.name}}):null,this.text?this.__getText(t):null,this.$slots.default?this.__getMessage(t):null])])])}};function oi(t){var e={};return["left","right","up","down","horizontal","vertical"].forEach(function(i){t[i]&&(e[i]=!0)}),0===Object.keys(e).length?{left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0}:(e.horizontal&&(e.left=e.right=!0),e.vertical&&(e.up=e.down=!0),e.left&&e.right&&(e.horizontal=!0),e.up&&e.down&&(e.vertical=!0),e)}var ai={name:"touch-swipe",bind:function(t,e){var i=!e.modifiers.noMouse,n={handler:e.value,threshold:parseInt(e.arg,10)||300,direction:oi(e.modifiers),mouseStart:function(t){U(t)&&(document.addEventListener("mousemove",n.move),document.addEventListener("mouseup",n.mouseEnd),n.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",n.move),document.removeEventListener("mouseup",n.mouseEnd),n.end(t)},start:function(e){var i=K(e);n.event={x:i.left,y:i.top,time:(new Date).getTime(),detected:!1,abort:!1},t.classList.add("q-touch")},move:function(t){if(!n.event.abort)if((new Date).getTime()-n.event.time>n.threshold)n.event.abort=!0;else{if(n.event.detected)return t.stopPropagation(),void t.preventDefault();var e=K(t),i=e.left-n.event.x,r=Math.abs(i),s=e.top-n.event.y,o=Math.abs(s);r!==o&&(n.event.detected=!0,n.event.abort=!(n.direction.vertical&&r<o||n.direction.horizontal&&r>o||n.direction.up&&r<o&&s<0||n.direction.down&&r<o&&s>0||n.direction.left&&r>o&&i<0||n.direction.right&&r>o&&i>0),n.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!n.event.abort&&n.event.detected){var i=(new Date).getTime()-n.event.time;if(!(i>n.threshold)){e.stopPropagation(),e.preventDefault();var r,s=K(e),o=s.left-n.event.x,a=Math.abs(o),l=s.top-n.event.y,c=Math.abs(l);if(a>=c){if(a<50)return;r=o<0?"left":"right"}else{if(c<50)return;r=l<0?"up":"down"}n.direction[r]&&n.handler({evt:e,direction:r,duration:i,distance:{x:a,y:c}})}}}};t.__qtouchswipe=n,i&&t.addEventListener("mousedown",n.mouseStart),t.addEventListener("touchstart",n.start),t.addEventListener("touchmove",n.move),t.addEventListener("touchend",n.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var i=t.__qtouchswipe;i&&(t.removeEventListener("mousedown",i.mouseStart),t.removeEventListener("touchstart",i.start),t.removeEventListener("touchmove",i.move),t.removeEventListener("touchend",i.end),delete t.__qtouchswipe)}},li={directives:{TouchSwipe:ai},props:{val:{},trueValue:{default:!0},falseValue:{default:!1}},computed:{isTrue:function(){return this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t,e){var i;void 0===e&&(e=!0),this.disable||this.readonly||(t&&tt(t),e&&this.$el.blur(),this.modelIsArray?this.isTrue?(i=this.value.slice()).splice(this.index,1):i=this.value.concat(this.val):i=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(i))}}},ci={props:{value:{required:!0},label:String,leftLabel:Boolean,color:{type:String,default:"primary"},keepColor:Boolean,dark:Boolean,disable:Boolean,readonly:Boolean,noFocus:Boolean,checkedIcon:String,uncheckedIcon:String},computed:{classes:function(){return[this.__kebabTag,{disabled:this.disable,reverse:this.leftLabel,"q-focusable":this.focusable}]},innerClasses:function(){return this.isTrue||this.isIndeterminate?["active","text-"+this.color]:"text-"+(this.keepColor?this.color:this.dark?"light":"faded")},focusable:function(){return!this.noFocus&&!this.disable&&!this.readonly},tabindex:function(){return this.focusable?0:-1}},methods:{__update:function(t){var e=this,i=this.$refs.ripple;i&&(i.classList.add("active"),setTimeout(function(){i.classList.remove("active")},10)),this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__handleKeyDown:function(t){[13,32].includes(W(t))&&this.toggle(t,!1)}},render:function(t){var e=this;return t("div",{staticClass:"q-option cursor-pointer no-outline row inline no-wrap items-center",class:this.classes,attrs:{tabindex:this.tabindex},on:{click:this.toggle,focus:function(){e.$emit("focus")},blur:function(){e.$emit("blur")},keydown:this.__handleKeyDown},directives:"q-toggle"!==this.__kebabTag||this.disable||this.readonly?null:[{name:"touch-swipe",modifiers:{horizontal:!0},value:this.__swipe}]},[t("div",{staticClass:"q-option-inner relative-position",class:this.innerClasses},[t("input",{attrs:{type:"checkbox"},on:{change:this.toggle}}),this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper",class:"q-radio"===this.__kebabTag?"q-focus-helper-round":"q-focus-helper-rounded"}):null,this.__getContent(t)]),this.label?t("span",{staticClass:"q-option-label",domProps:{innerHTML:this.label}}):null,this.$slots.default])}},ui={name:"QCheckbox",mixins:[li,ci],props:{toggleIndeterminate:Boolean,indeterminateValue:{default:null},indeterminateIcon:String},computed:{isIndeterminate:function(){return void 0===this.value||this.value===this.indeterminateValue},checkedStyle:function(){return this.isTrue?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},indeterminateStyle:function(){return this.isIndeterminate?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},uncheckedStyle:function(){return this.isFalse?{opacity:1}:{transition:"opacity 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms",opacity:0}}},methods:{__getContent:function(t){return[t(St,{staticClass:"q-checkbox-icon cursor-pointer",props:{name:this.uncheckedIcon||this.$q.icon.checkbox.unchecked.mat},style:this.uncheckedStyle}),t(St,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.indeterminateIcon||this.$q.icon.checkbox.indeterminate.mat},style:this.indeterminateStyle}),t(St,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.checkbox.checked.mat},style:this.checkedStyle}),t("div",{ref:"ripple",staticClass:"q-radial-ripple"})]}},beforeCreate:function(){this.__kebabTag="q-checkbox"}},hi={name:"QChip",props:{small:Boolean,dense:Boolean,tag:Boolean,square:Boolean,floating:Boolean,pointing:{type:String,validator:function(t){return["up","right","down","left"].includes(t)}},color:String,textColor:String,icon:String,iconRight:String,avatar:String,closable:Boolean,detail:Boolean},computed:{classes:function(){var t=this,e=[];return this.pointing&&e.push("q-chip-pointing-"+this.pointing),["tag","square","floating","pointing","small","dense"].forEach(function(i){t[i]&&e.push("q-chip-"+i)}),this.floating&&(!this.dense&&e.push("q-chip-dense"),!this.square&&e.push("q-chip-square")),this.color&&(e.push("bg-"+this.color),!this.textColor&&e.push("text-white")),this.textColor&&e.push("text-"+this.textColor),e}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){this.$emit("focus",t)},__handleKeyDown:function(t){this.closable&&[8,13,32].includes(W(t))&&(tt(t),this.$emit("hide"))}},render:function(t){var e=this;return t("div",{staticClass:"q-chip row no-wrap inline items-center",class:this.classes,on:{mousedown:this.__onMouseDown,touchstart:this.__onMouseDown,click:this.__onClick,keydown:this.__handleKeyDown}},[this.icon||this.avatar?t("div",{staticClass:"q-chip-side q-chip-left row flex-center",class:{"q-chip-detail":this.detail}},[this.icon?t(St,{staticClass:"q-chip-icon",props:{name:this.icon}}):this.avatar?t("img",{attrs:{src:this.avatar}}):null]):null,t("div",{staticClass:"q-chip-main ellipsis q-popup--skip"},this.$slots.default),this.iconRight?t(St,{props:{name:this.iconRight},class:this.closable?"on-right q-chip-icon":"q-chip-side q-chip-right"}):null,this.closable?t("div",{staticClass:"q-chip-side q-chip-close q-chip-right row flex-center"},[t(St,{props:{name:this.$q.icon.chip.close},staticClass:"cursor-pointer",nativeOn:{click:function(t){t&&t.stopPropagation(),e.$emit("hide")}}})]):null])}},di={type:Array,validator:function(t){return t.every(function(t){return"icon"in t})}},fi={mixins:[se],props:{prefix:String,suffix:String,stackLabel:String,floatLabel:String,placeholder:String,error:Boolean,warning:Boolean,disable:Boolean,readonly:Boolean,clearable:Boolean,color:{type:String,default:"primary"},align:{default:"left"},dark:Boolean,before:di,after:di,inverted:Boolean,invertedLight:Boolean,hideUnderline:Boolean,clearValue:{},noParentField:Boolean},computed:{inputPlaceholder:function(){if(!this.floatLabel&&!this.stackLabel||this.labelIsAbove)return this.placeholder},isInverted:function(){return this.inverted||this.invertedLight},isInvertedLight:function(){return this.isInverted&&(this.invertedLight&&!this.hasError||this.inverted&&this.hasWarning)},isStandard:function(){return!this.isInverted},isHideUnderline:function(){return this.isStandard&&this.hideUnderline},labelIsAbove:function(){return this.focused||this.length||this.additionalLength||this.stackLabel},hasContent:function(){return this.length>0||this.additionalLength>0||this.placeholder||0===this.placeholder},editable:function(){return!this.disable&&!this.readonly},computedClearValue:function(){return void 0===this.clearValue?null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&this.computedClearValue!==this.model},hasError:function(){return!!(!this.noParentField&&this.field&&this.field.error||this.error)},hasWarning:function(){return!(this.hasError||!(!this.noParentField&&this.field&&this.field.warning||this.warning))},fakeInputValue:function(){return this.actualValue||0===this.actualValue?this.actualValue:this.placeholder||0===this.placeholder?this.placeholder:""},fakeInputClasses:function(){var t=this.actualValue||0===this.actualValue;return[this.alignClass,{invisible:(this.stackLabel||this.floatLabel)&&!this.labelIsAbove&&!t,"q-input-target-placeholder":!t&&this.inputPlaceholder}]}},methods:{clear:function(t){if(this.editable){t&&tt(t);var e=this.computedClearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}},pi={props:{autofocus:[Boolean,String],maxHeight:Number,loading:Boolean},data:function(){return{focused:!1,timer:null,isNumberError:!1,isNegZero:!1}},methods:{focus:function(){this.disable||this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},select:function(){this.$refs.input.select()},__onFocus:function(t){clearTimeout(this.timer),this.focused||(this.focused=!0,this.$refs.input&&this.$refs.input.focus(),this.$emit("focus",t))},__onInputBlur:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.__onBlur(t)},200)},__onBlur:function(t,e){this.focused&&(this.focused=!1,this.$emit("blur",t)),this.__emit(e)},__emit:function(t){var e=this,i=this.isNumber&&this.isNumberError,n=i?this.isNegZero?-0:null:this.model;this.isNumber&&(this.model=this.value),i&&this.$emit("input",n);var r=function(){e.isNumber?(n=parseFloat(n),Number.isInteger(e.decimals)&&(n=parseFloat(n.toFixed(e.decimals))),String(1/n)!==String(1/e.value)&&e.$emit("change",n)):JSON.stringify(n)!==JSON.stringify(e.value)&&e.$emit("change",n)};t?r():this.$nextTick(r)},__onKeydown:function(t){13===t.keyCode&&("textarea"===this.type?t.stopPropagation():this.__emit()),this.$emit("keydown",t)},__onKeyup:function(t){this.$emit("keyup",t)},__onClick:function(t){this.focus(),this.$emit("click",t)},__onPaste:function(t){this.$emit("paste",t)}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.$refs.input;t.autofocus&&e&&(e.focus(),"select"===t.autofocus&&e.select())})},beforeDestroy:function(){clearTimeout(this.timer),this.focused&&this.__onBlur(void 0,!0)}},mi={inject:{field:{from:"__field",default:null}},props:{noParentField:Boolean},watch:{noParentField:function(t){this.field&&this.field[t?"__registerInput":"__unregisterInput"](this)}},beforeMount:function(){!this.noParentField&&this.field&&this.field.__registerInput(this)},beforeDestroy:function(){!this.noParentField&&this.field&&this.field.__unregisterInput(this)}},vi={name:"QInputFrame",mixins:[fi,mi],props:{focused:Boolean,length:Number,focusable:Boolean,additionalLength:Boolean},computed:{hasStackLabel:function(){return"string"==typeof this.stackLabel&&this.stackLabel.length>0},hasLabel:function(){return this.hasStackLabel||"string"==typeof this.floatLabel&&this.floatLabel.length>0},label:function(){return this.hasStackLabel?this.stackLabel:this.floatLabel},addonClass:function(){return{"q-if-addon-visible":!this.hasLabel||this.labelIsAbove}},classes:function(){var t=[{"q-if-has-label":this.label,"q-if-focused":this.focused,"q-if-error":this.hasError,"q-if-warning":this.hasWarning,"q-if-disabled":this.disable,"q-if-readonly":this.readonly,"q-if-focusable":this.focusable&&!this.disable,"q-if-inverted":this.isInverted,"q-if-inverted-light":this.isInvertedLight,"q-if-light-color":this.lightColor,"q-if-dark":this.dark,"q-if-hide-underline":this.isHideUnderline,"q-if-standard":this.isStandard,"q-if-has-content":this.hasContent}],e=this.hasError?"negative":this.hasWarning?"warning":this.color;return this.isInverted?(t.push("bg-"+e),t.push("text-"+(this.isInvertedLight?"black":"white"))):e&&t.push("text-"+e),t}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){var e=this;!this.disable&&this.$nextTick(function(){return e.$emit("focus",t)})},__additionalHidden:function(t,e,i,n){return void 0!==t.condition?!1===t.condition:void 0!==t.content&&!t.content==n>0||void 0!==t.error&&!t.error===e||void 0!==t.warning&&!t.warning===i},__baHandler:function(t,e){e.allowPropagation||t.stopPropagation(),e.handler&&e.handler(t)}},render:function(t){var e=this;return t("div",{staticClass:"q-if row no-wrap relative-position",class:this.classes,attrs:{tabindex:this.focusable&&!this.disable?0:-1},on:{click:this.__onClick}},[t("div",{staticClass:"q-if-baseline"},"|"),this.before&&this.before.map(function(i){return t(St,{key:"b"+i.icon,staticClass:"q-if-control q-if-control-before",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0,t("div",{staticClass:"q-if-inner col column q-popup--skip"},[t("div",{staticClass:"row no-wrap relative-position"},[this.prefix&&t("span",{staticClass:"q-if-addon q-if-addon-left",class:this.addonClass,domProps:{innerHTML:this.prefix}})||void 0,this.hasLabel&&t("div",{staticClass:"q-if-label",class:{"q-if-label-above":this.labelIsAbove}},[t("div",{staticClass:"q-if-label-inner ellipsis",domProps:{innerHTML:this.label}})])||void 0].concat(this.$slots.default).concat([this.suffix&&t("span",{staticClass:"q-if-addon q-if-addon-right",class:this.addonClass,domProps:{innerHTML:this.suffix}})||void 0])),this.hasLabel&&t("div",{staticClass:"q-if-label-spacer",domProps:{innerHTML:this.label}})||void 0]),this.after&&this.after.map(function(i){return t(St,{key:"a"+i.icon,staticClass:"q-if-control",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0].concat(this.$slots.after))}},gi={name:"QChipsInput",mixins:[fi,pi],props:{value:{type:Array,required:!0},chipsColor:String,chipsBgColor:String,readonly:Boolean,addIcon:String,upperCase:Boolean,lowerCase:Boolean},data:function(){var t=this;return{input:"",model:this.value.slice(),watcher:null,shadow:{val:this.input,set:this.add,setNav:function(e){t.input=e},loading:!1,selectionOpen:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){this.model=t.slice()}},provide:function(){return{__input:this.shadow}},computed:{length:function(){return this.model?this.model.length:0},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},computedAddIcon:function(){return this.addIcon||this.$q.icon.chipsInput.add},computedChipTextColor:function(){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?this.color:"white":this.isInverted?this.invertedLight?"grey-10":this.color:this.dark?this.color:"white"},computedChipBgColor:function(){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":this.color},inputClasses:function(){var t=[this.alignClass];return this.upperCase&&t.push("uppercase"),this.lowerCase&&t.push("lowercase"),t},isClearable:function(){return this.editable&&this.clearable&&0!==this.model.length}},methods:{add:function(t){if(void 0===t&&(t=this.input),clearTimeout(this.timer),this.focus(),!this.isLoading&&this.editable&&t){var e=this.lowerCase?t.toLowerCase():this.upperCase?t.toUpperCase():t;this.model.includes(e)?this.$emit("duplicate",e):(this.$emit("add",{index:this.model.length,val:e}),this.model.push(e),this.$emit("input",this.model),this.input="")}},remove:function(t){clearTimeout(this.timer),this.focus(),this.editable&&t>=0&&t<this.length&&(this.$emit("remove",{index:t,value:this.model.splice(t,1)}),this.$emit("input",this.model))},clear:function(t){clearTimeout(this.timer),t&&tt(t),this.editable&&(this.$emit("input",[]),this.$emit("clear"))},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__handleKeyDown:function(t){switch(W(t)){case 13:if(this.shadow.selectionOpen)return;return tt(t),this.add();case 8:return void(!this.input.length&&this.length&&this.remove(this.length-1));default:return this.__onKeydown(t)}},__onClick:function(){this.focus()},__watcher:function(t){this.shadow.watched&&(this.shadow.val=t)},__watcherRegister:function(){this.watcher||(this.watcher=this.$watch("input",this.__watcher))},__watcherUnregister:function(t){!this.watcher||!t&&this.shadow.watched||(this.watcher(),this.watcher=null,this.shadow.selectionOpen=!1)}},beforeDestroy:function(){this.__watcherUnregister(!0)},render:function(t){var e=this;return t(vi,{staticClass:"q-chips-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.length,additionalLength:this.input.length>0},on:{click:this.__onClick}},[t("div",{staticClass:"col row items-center q-input-chips"},this.model.map(function(i,n){return t(hi,{key:i+"#"+n,props:{small:!0,closable:e.editable,color:e.computedChipBgColor,textColor:e.computedChipTextColor},attrs:{tabindex:e.editable&&e.focused?0:-1},on:{blur:e.__onInputBlur,focus:e.__clearTimer,hide:function(){e.remove(n)}},nativeOn:{blur:e.__onInputBlur,focus:e.__clearTimer}},i)}).concat([t("input",{ref:"input",staticClass:"col q-input-target",class:this.inputClasses,domProps:{value:this.input},attrs:Object.assign({},this.$attrs,{placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly}),on:{input:function(t){e.input=t.target.value},focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__handleKeyDown,keyup:this.__onKeyup}})])),this.isLoading?this.$slots.loading?t("div",{staticClass:"q-if-control",slot:"after"},this.$slots.loading):t(ue,{slot:"after",staticClass:"q-if-control",props:{size:"24px"}}):this.editable&&t(St,{slot:"after",staticClass:"q-if-control",class:{invisible:0===this.input.length},props:{name:this.computedAddIcon},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:function(){e.add()}}})||void 0,this.isClearable&&t(St,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.clear}})||void 0].concat(this.$slots.default?t("div",{staticClass:"absolute-full no-pointer-events",slot:"after"},this.$slots.default):void 0))}},bi={name:"QItemTile",props:{icon:String,letter:Boolean,inverted:Boolean,image:Boolean,avatar:Boolean,stamp:Boolean,label:Boolean,sublabel:Boolean,lines:[Number,String],tag:{type:String,default:"div"},color:String,textColor:String},computed:{hasLines:function(){return(this.label||this.sublabel)&&this.lines},type:function(){var t=this;return["icon","label","sublabel","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=[];return this.color&&(this.inverted?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.type&&t.push("q-item-"+this.type),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),!this.hasLines||"1"!==this.lines&&1!==this.lines||t.push("ellipsis"),t},style:function(){if(this.hasLines)return Ot(this.lines)}},render:function(t){var e={class:this.classes,style:this.style};if(this.icon){if(this.inverted)return t(this.tag,e,[t(St,{props:{name:this.icon}},this.$slots.default)]);e.props={name:this.icon}}return t(this.icon?St:this.tag,e,this.$slots.default)}},yi={name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin:function(t,e,i){t.style.overflowY="hidden",void 0!==e&&(t.style.height=e+"px"),t.style.transition="height "+this.duration+"ms cubic-bezier(.25, .8, .50, 1)",this.animating=!0,this.done=i},__end:function(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup:function(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy:function(){this.animating&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:{css:!1,appear:this.appear},on:{enter:function(t,i){var n=0;e.el=t,!0===e.animating?(e.__cleanup(),n=t.offsetHeight===t.scrollHeight?0:void 0):e.lastEvent="hide",e.__begin(t,n,i),e.timer=setTimeout(function(){t.style.height=t.scrollHeight+"px",e.animListener=function(){e.__end(t,"show")},t.addEventListener("transitionend",e.animListener)},100)},leave:function(t,i){var n;e.el=t,!0===e.animating?e.__cleanup():(e.lastEvent="show",n=t.scrollHeight),e.__begin(t,n,i),e.timer=setTimeout(function(){t.style.height=0,e.animListener=function(){e.__end(t,"hide")},t.addEventListener("transitionend",e.animListener)},100)}}},this.$slots.default)}},_i="q:collapsible:close",wi={name:"QCollapsible",mixins:[V,Et,{props:Mt}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(t){t&&this.group&&this.$root.$emit(_i,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(t){this.separateToggle&&(t&&tt(t),this.toggle())},__eventHandler:function(t){this.group&&this!==t&&t.group===this.group&&this.hide()},__getToggleSide:function(t,e){return[t(bi,{slot:e?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(t){return{props:t?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(_i,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(_i,this.__eventHandler)},render:function(t){return t(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[t("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?t(At,this.__getItemProps(),[this.$slots.header,t(Bt,{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(t))]):t(qe,this.__getItemProps(!0),this.__getToggleSide(t,!0)),t(yi,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},xi={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&this.$q.platform.is.desktop&&!this.$q.platform.within.iframe}}};function Ci(t,e,i){var n=Ft((K(t).left-e.left)/e.width,0,1);return i?1-n:n}function ki(t,e){var i=e?parseFloat(t.toFixed(e)):t;return i!==parseInt(i,10)}function Si(t,e,i,n,r){var s=e+t*(i-e),o=(s-e)%n;return s+=(Math.abs(o)>=n/2?(o<0?-1:1)*n:0)-o,r&&(s=parseFloat(s.toFixed(r))),Ft(s,e,i)}var $i={directives:{TouchPan:Ve},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-"+this.color]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],i=0;i<this.markersLen;i++)e.push(t("div",{staticClass:"q-slider-mark",key:"marker"+i,style:{left:100*i*this.step/(this.max-this.min)+"%"}}));return e}}},created:function(){this.__validateProps()},render:function(t){return t("div",{staticClass:"q-slider non-selectable",class:this.classes,on:this.editable?{click:this.__click}:null,directives:this.editable?[{name:"touch-pan",modifiers:{horizontal:!0,prevent:!0,stop:!0},value:this.__pan}]:null},[t("div",{ref:"handle",staticClass:"q-slider-handle-container"},[t("div",{staticClass:"q-slider-track"}),this.__getMarkers(t)].concat(this.__getContent(t)))])}},qi={name:"QSlider",mixins:[$i],props:{value:Number,labelValue:String},data:function(){return{model:this.value,dragging:!1,currentPercentage:(this.value-this.min)/(this.max-this.min)}},computed:{percentage:function(){return this.snap?(this.model-this.min)/(this.max-this.min)*100+"%":100*this.currentPercentage+"%"},displayValue:function(){return void 0!==this.labelValue?this.labelValue:this.model}},watch:{value:function(t){this.dragging||(t<this.min?this.model=this.min:t>this.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.model<t?this.model=t:this.$nextTick(this.__validateProps)},max:function(t){this.model>t?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=Ci(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=Si(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t,e){void 0===e&&(e=this.dragging);var i=Ci(t,e,this.$q.i18n.rtl);this.model=Si(i,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){tt(t);var i=this.computedDecimals,n=t.ctrlKey?10*this.computedStep:this.computedStep,r=[37,40].includes(e)?-n:n,s=i?parseFloat((this.model+r).toFixed(i)):this.model+r;this.model=Ft(s,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):ki((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=this.percentage,e.borderRadius=this.square?"0":"50%",e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(hi,{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,t("div",{staticClass:"q-slider-ring"})])]}}};function Ti(t,e){void 0===e&&(e=250);var i,n=!1;return function(){for(var r=[],s=arguments.length;s--;)r[s]=arguments[s];return n?i:(n=!0,i=t.apply(this,r),setTimeout(function(){n=!1},e),i)}}function Pi(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}var Li={name:"QColorPicker",mixins:[mi],directives:{TouchPan:Ve},props:{value:[String,Object],defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},disable:Boolean,readonly:Boolean,dark:Boolean},data:function(){return{view:this.value&&"string"!=typeof this.value?"rgb":"hex",model:this.__parseModel(this.value||this.defaultValue)}},watch:{value:{handler:function(t){var e=this.__parseModel(t||this.defaultValue);e.hex!==this.model.hex&&(this.model=e)},deep:!0}},computed:{forceHex:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("hex")>-1},forceAlpha:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("a")>-1},isHex:function(){return"string"==typeof this.value},isOutputHex:function(){return null!==this.forceHex?this.forceHex:this.isHex},editable:function(){return!this.disable&&!this.readonly},hasAlpha:function(){return null!==this.forceAlpha?this.forceAlpha:this.isHex?this.value.trim().length>7:this.value&&void 0!==this.value.a},swatchColor:function(){return{backgroundColor:"rgba("+this.model.r+","+this.model.g+","+this.model.b+","+(void 0===this.model.a?100:this.model.a)/100+")"}},saturationStyle:function(){return{background:"hsl("+this.model.h+",100%,50%)"}},saturationPointerStyle:function(){var t;return(t={top:101-this.model.v+"%"})[this.$q.i18n.rtl?"right":"left"]=this.model.s+"%",t},inputsArray:function(){var t=["r","g","b"];return this.hasAlpha&&t.push("a"),t},__needsBorder:function(){return!0}},created:function(){this.__saturationChange=Ti(this.__saturationChange,20)},render:function(t){return t("div",{staticClass:"q-color",class:{disabled:this.disable,"q-color-dark":this.dark}},[this.__getSaturation(t),this.__getSliders(t),this.__getInputs(t)])},methods:{__getSaturation:function(t){return t("div",{ref:"saturation",staticClass:"q-color-saturation non-selectable relative-position overflow-hidden cursor-pointer",style:this.saturationStyle,class:{readonly:!this.editable},on:this.editable?{click:this.__saturationClick}:null,directives:this.editable?[{name:"touch-pan",modifiers:{mightPrevent:!0},value:this.__saturationPan}]:null},[t("div",{staticClass:"q-color-saturation-white absolute-full"}),t("div",{staticClass:"q-color-saturation-black absolute-full"}),t("div",{staticClass:"absolute",style:this.saturationPointerStyle},[void 0!==this.model.hex?t("div",{staticClass:"q-color-saturation-circle"}):null])])},__getSliders:function(t){var e=this;return t("div",{staticClass:"q-color-sliders row items-center"},[t("div",{staticClass:"q-color-swatch q-mt-sm q-ml-md q-mb-sm non-selectable overflow-hidden"},[t("div",{style:this.swatchColor,staticClass:"fit"})]),t("div",{staticClass:"col q-pa-sm"},[t("div",{staticClass:"q-color-hue non-selectable"},[t(qi,{props:{value:this.model.h,color:"white",min:0,max:360,fillHandleAlways:!0,readonly:!this.editable},on:{input:this.__onHueChange,dragend:function(t){return e.__onHueChange(t,!0)}}})]),this.hasAlpha?t("div",{staticClass:"q-color-alpha non-selectable"},[t(qi,{props:{value:this.model.a,color:"white",min:0,max:100,fillHandleAlways:!0,readonly:!this.editable},on:{input:function(t){return e.__onNumericChange({target:{value:t}},"a",100)},dragend:function(t){return e.__onNumericChange({target:{value:t}},"a",100,!0)}}})]):null])])},__getNumericInputs:function(t){var e=this;return this.inputsArray.map(function(i){var n="a"===i?100:255;return t("div",{staticClass:"col q-color-padding"},[t("input",{attrs:{type:"number",min:0,max:n,readonly:!e.editable,tabindex:e.editable?0:-1},staticClass:"full-width text-center q-no-input-spinner",domProps:{value:void 0===e.model.hex?"":Math.round(e.model[i])},on:{input:function(t){return e.__onNumericChange(t,i,n)},blur:function(t){return e.editable&&e.__onNumericChange(t,i,n,!0)}}}),t("div",{staticClass:"q-color-label text-center uppercase"},[i])])})},__getInputs:function(t){var e=this;return t("div",{staticClass:"q-color-inputs row items-center q-px-sm q-pb-sm"},[t("div",{staticClass:"col q-mr-sm row no-wrap"},"hex"===this.view?[t("div",{staticClass:"col"},[t("input",{domProps:{value:this.model.hex},attrs:{readonly:!this.editable,tabindex:this.editable?0:-1},on:{change:this.__onHexChange,blur:function(t){return e.editable&&e.__onHexChange(t,!0)}},staticClass:"full-width text-center uppercase"}),t("div",{staticClass:"q-color-label text-center"},["HEX"+(this.hasAlpha?" / A":"")])])]:this.__getNumericInputs(t)),t("div",[t(he,{props:{flat:!0,disable:this.disable},on:{click:this.__nextInputView},staticClass:"q-pa-none"},[t("svg",{attrs:{viewBox:"0 0 24 24"},style:{width:"24px",height:"24px"}},[t("path",{attrs:{fill:"currentColor",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])])])])},__onSaturationChange:function(t,e,i){var n=this.$refs.saturation;if(n){var r=n.clientWidth,s=n.clientHeight,o=n.getBoundingClientRect(),a=Math.min(r,Math.max(0,t-o.left));this.$q.i18n.rtl&&(a=r-a);var l=Math.min(s,Math.max(0,e-o.top)),c=Math.round(100*a/r),u=Math.round(100*Math.max(0,Math.min(1,-l/s+1))),h=x({h:this.model.h,s:c,v:u,a:this.hasAlpha?this.model.a:void 0});this.model.s=c,this.model.v=u,this.__update(h,_(h),i)}},__onHueChange:function(t,e){var i=x({h:t=Math.round(t),s:this.model.s,v:this.model.v,a:this.hasAlpha?this.model.a:void 0});this.model.h=t,this.__update(i,_(i),e)},__onNumericChange:function(t,e,i,n){var r=Number(t.target.value);if(!isNaN(r))if((r=Math.floor(r))<0||r>i)n&&this.$forceUpdate();else{var s={r:"r"===e?r:this.model.r,g:"g"===e?r:this.model.g,b:"b"===e?r:this.model.b,a:this.hasAlpha?"a"===e?r:this.model.a:void 0};if("a"!==e){var o=C(s);this.model.h=o.h,this.model.s=o.s,this.model.v=o.v}this.__update(s,_(s),n)}},__onHexChange:function(t,e){var i=t.target.value,n=i.length,r=this.hasAlpha?[5,9]:[4,7];if(n===r[0]||n===r[1]){var s=w(i),o=C(s);this.model.h=o.h,this.model.s=o.s,this.model.v=o.v,this.__update(s,i,e)}else e&&this.$forceUpdate()},__update:function(t,e,i){var n=this,r=this.isOutputHex?e:t;this.model.hex=e,this.model.r=t.r,this.model.g=t.g,this.model.b=t.b,this.model.a=this.hasAlpha?t.a:void 0,this.$emit("input",r),this.$nextTick(function(){i&&JSON.stringify(r)!==JSON.stringify(n.value)&&n.$emit("change",r)})},__nextInputView:function(){this.view="hex"===this.view?"rgba":"hex"},__parseModel:function(t){if(null===t||void 0===t)return{h:0,s:0,v:0,r:0,g:0,b:0,hex:void 0,a:100};var e="string"==typeof t?w(t.trim()):Pi(t);return this.forceAlpha===(void 0===e.a)&&(e.a=this.forceAlpha?100:void 0),e.hex=_(e),Object.assign({a:100},e,C(e))},__saturationPan:function(t){t.isFinal?this.__dragStop(t):t.isFirst?this.__dragStart(t):this.__dragMove(t)},__dragStart:function(t){tt(t.evt),this.saturationDragging=!0,this.__saturationChange(t)},__dragMove:function(t){this.saturationDragging&&(tt(t.evt),this.__saturationChange(t))},__dragStop:function(t){var e=this;tt(t.evt),setTimeout(function(){e.saturationDragging=!1},100),this.__onSaturationChange(t.position.left,t.position.top,!0)},__saturationChange:function(t){this.__onSaturationChange(t.position.left,t.position.top)},__saturationClick:function(t){this.saturationDragging||this.__onSaturationChange(t.pageX-window.pageXOffset,t.pageY-window.pageYOffset,!0)}}},Oi={maxWidth:"95vw",maxHeight:"98vh"},Mi={name:"QColor",mixins:[fi,xi],props:{value:{required:!0},color:{type:String,default:"primary"},defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},displayValue:String,okLabel:String,cancelLabel:String},watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=Pi(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal"};return t.focused=!1,t.model=Pi(this.value||this.defaultValue),t},computed:{actualValue:function(){return this.displayValue?this.displayValue:this.value?"string"==typeof this.value?this.value:"rgb"+(void 0!==this.value.a?"a":"")+"("+this.value.r+","+this.value.g+","+this.value.b+(void 0!==this.value.a?","+this.value.a/100:"")+")":""},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.value)},modalBtnColor:function(){return this.color}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.value||this.defaultValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(W(t)){case 13:case 32:return tt(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=Pi(this.value||this.defaultValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=Pi(t),(e||this.isPopover)&&this.__update(e)},__hasModelChanged:function(){return JSON.stringify(this.model)!==JSON.stringify(this.value)},__update:function(t){var e=this;this.$nextTick(function(){e.__hasModelChanged()&&(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__getPicker:function(t,e){var i=this,n=[t(Li,{staticClass:"no-border"+(e?" full-width":""),props:Object.assign({},this.$attrs,{value:this.model,disable:this.disable,readonly:this.readonly,formatModel:this.formatModel,dark:this.dark,noParentField:!0}),on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})}}})];return e&&n.push(t("div",{staticClass:"modal-buttons modal-buttons-top row full-width",class:this.dark?"bg-black":null},[t("div",{staticClass:"col"}),t(he,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(he,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null])),n}},render:function(t){var e=this;return t(vi,{staticClass:"q-color-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(Se,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:this.__onFocus,hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(Ct,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:Oi,minimized:!0,position:null,transition:this.transition},on:{dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(St,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(St,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},Ei={name:"QContextMenu",props:{disable:Boolean},data:function(){return{mobile:this.$q.platform.is.mobile}},methods:{hide:function(t){if(this.$refs.popup)return this.mobile&&this.target.classList.remove("non-selectable"),this.$refs.popup.hide(t)},show:function(t){var e=this;this.disable||(this.mobile?this.$refs.popup&&(this.event=t,this.$refs.popup.show(t)):t&&(tt(t),setTimeout(function(){e.$refs.popup&&(e.event=t,e.$refs.popup.show(t))},100)))},__desktopBodyHide:function(t){this.$el.contains(t.target)||this.hide(t)},__desktopOnShow:function(){document.body.addEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.addEventListener("click",this.__desktopBodyHide,!0),this.$emit("show",this.event)},__desktopOnHide:function(t){document.body.removeEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.removeEventListener("click",this.__desktopBodyHide,!0),this.$emit("hide",this.event,t)},__mobileTouchStartHandler:function(t){var e=this;this.__mobileCleanup(),t&&t.touches&&t.touches.length>1||(this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){t&&tt(t),e.__mobileCleanup(),setTimeout(function(){e.show(t)},10)},600))},__mobileCleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return this.mobile?t(Ct,{ref:"popup",props:{minimized:!0},on:{show:function(){e.$emit("show",e.event)},hide:function(t){e.$emit("hide",e.event,t)}}},this.$slots.default):t(Se,{ref:"popup",props:{anchorClick:!1,touchPosition:!0},on:{show:this.__desktopOnShow,hide:this.__desktopOnHide}},this.$slots.default)},mounted:function(){var t=this;this.mobile?this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__mobileCleanup)})}):(this.target=this.$el.parentNode,this.target.addEventListener("contextmenu",this.show))},beforeDestroy:function(){var t=this;this.mobile?(this.target.removeEventListener("touchstart",this.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__mobileCleanup)})):this.target.removeEventListener("contextmenu",this.show)}},Ai=function(t){var e=s()(t);return null===t||void 0===t||"number"===e||"string"===e||Qe(t)},Bi={value:{validator:Ai,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:Ai,default:null},max:{validator:Ai,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},Ni={format:String,okLabel:String,cancelLabel:String,displayValue:String},Ri=864e5,Ii=36e5,Di=6e4,ji=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,zi=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function Fi(t,e){void 0===e&&(e="");var i=t>0?"-":"+",n=Math.abs(t),r=n%60;return i+Vt(Math.floor(n/60))+e+Vt(r)}function Hi(t,e){var i=new Date(t.getFullYear(),e,0,0,0,0,0).getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function Vi(t){return new Date(We(t)&&null!==zi.exec(t)?t.substring(0,23).replace(" ","T"):t)}function Qi(t){if("number"==typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function Ui(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var i=new Date(e.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var n=e.getTimezoneOffset()-i.getTimezoneOffset();e.setHours(e.getHours()-n);var r=(e-i)/(7*Ri);return 1+Math.floor(r)}function Wi(t,e,i){var n=Vi(t),r="set"+(i?"UTC":"");return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":t.charAt(0).toUpperCase()+t.slice(1);n[""+r+i](e[t])}else Hi(n,e.month)}),n}function Ki(t,e){var i=Vi(t);switch(e){case"year":i.setMonth(0);case"month":i.setDate(1);case"day":i.setHours(0);case"hour":i.setMinutes(0);case"minute":i.setSeconds(0);case"second":i.setMilliseconds(0)}return i}function Yi(t,e,i){return(t.getTime()-t.getTimezoneOffset()*Di-(e.getTime()-e.getTimezoneOffset()*Di))/i}function Ji(t,e,i){void 0===i&&(i="days");var n=Vi(t),r=Vi(e);switch(i){case"years":return n.getFullYear()-r.getFullYear();case"months":return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth();case"days":return Yi(Ki(n,"day"),Ki(r,"day"),Ri);case"hours":return Yi(Ki(n,"hour"),Ki(r,"hour"),Ii);case"minutes":return Yi(Ki(n,"minute"),Ki(r,"minute"),Di);case"seconds":return Yi(Ki(n,"second"),Ki(r,"second"),1e3)}}function Gi(t){return Ji(t,Ki(t,"year"),"days")+1}function Xi(t){return Qe(t)?"date":"number"==typeof t?"number":"string"}function Zi(t,e,i){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return sn(t,i)}}function tn(t,e,i){var n=Vi(t);if(e){var r=Vi(e);if(n<r)return r}if(i){var s=Vi(i);if(n>s)return s}return n}function en(t,e,i){var n=Vi(t),r=Vi(e);if(void 0===i)return n.getTime()===r.getTime();switch(i){case"second":if(n.getSeconds()!==r.getSeconds())return!1;case"minute":if(n.getMinutes()!==r.getMinutes())return!1;case"hour":if(n.getHours()!==r.getHours())return!1;case"day":if(n.getDate()!==r.getDate())return!1;case"month":if(n.getMonth()!==r.getMonth())return!1;case"year":if(n.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit "+i)}return!0}function nn(t){if(t>=11&&t<=13)return t+"th";switch(t%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}var rn={YY:function(t){return Vt(t.getFullYear(),4).substr(2)},YYYY:function(t){return Vt(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Vt(t.getMonth()+1)},MMM:function(t,e){return void 0===e&&(e={}),(e.monthNamesShort||y.lang.date.monthsShort)[t.getMonth()]},MMMM:function(t,e){return void 0===e&&(e={}),(e.monthNames||y.lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return nn(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return nn(t.getDate())},DD:function(t){return Vt(t.getDate())},DDD:function(t){return Gi(t)},DDDD:function(t){return Vt(Gi(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t,e){return void 0===e&&(e={}),(e.dayNamesShort||y.lang.date.daysShort)[t.getDay()]},dddd:function(t,e){return void 0===e&&(e={}),(e.dayNames||y.lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return Ui(t)},ww:function(t){return Vt(Ui(t))},H:function(t){return t.getHours()},HH:function(t){return Vt(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return Vt(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return Vt(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return Vt(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Vt(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return Vt(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return Fi(t.getTimezoneOffset(),":")},ZZ:function(t){return Fi(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function sn(t,e,i){if(void 0===e&&(e="YYYY-MM-DDTHH:mm:ss.SSSZ"),0===t||t){var n=Vi(t);return e.replace(ji,function(t,e){return t in rn?rn[t](n,i):void 0===e?t:e.split("\\]").join("]")})}}function on(t){return Qe(t)?new Date(t.getTime()):t}var an=/^\d{4}[^\d]\d{2}[^\d]\d{2}/,ln={props:Bi,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&an.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&an.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return Qi(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):Ki(new Date,"day")},set:function(t){var e=this,i=Zi(tn(t,this.pmin,this.pmax),"auto"===this.formatModel?Xi(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){en(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?Ht(e,1,12):"date"===t?Ht(e,1,this.daysInMonth):"year"===t?Ht(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?Ht(e,0,23):"minute"===t?Ht(e,0,59):void 0}}};function cn(t){return 0===t?12:t>=13?t-12:t}var un={name:"QDatetimePicker",mixins:[ln,mi,ke],props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},directives:{Ripple:ie},data:function(){return{view:this.__calcView(this.defaultView),dragging:!1,centerClockPos:0,fakeValue:{year:null,month:null}}},watch:{value:function(t){t||(this.view=["date","datetime"].includes(this.type)?"day":"hour")},view:function(){this.__scrollView(!0)},model:function(){this.fakeValue.month!==this.month&&(this.fakeValue.month=this.month,this.__scrollView()),this.fakeValue.year!==this.year&&(this.fakeValue.year=this.year,this.__scrollView())}},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),this.color&&t.push("text-"+this.color),t},dateArrow:function(){var t=[this.$q.icon.datetime.arrowLeft,this.$q.icon.datetime.arrowRight];return this.$q.i18n.rtl?t.reverse():t},computedFormat24h:function(){return 0!==this.format24h?this.format24h:this.$q.i18n.date.format24h},computedFirstDayOfWeek:function(){return void 0!==this.firstDayOfWeek?this.firstDayOfWeek:this.$q.i18n.date.firstDayOfWeek},headerDayNames:function(){var t=this.$q.i18n.date.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},fakeModel:function(){return new Date(this.fakeYear,this.fakeMonth-1,1)},fakeYear:function(){return this.fakeValue.year||this.year},fakeMonth:function(){return this.fakeValue.month||this.month},daysInMonth:function(){return new Date(this.fakeYear,this.fakeMonth,0).getDate()},monthString:function(){return""+this.$q.i18n.date.monthsShort[this.month-1]},monthStamp:function(){return this.$q.i18n.date.months[this.fakeMonth-1]+" "+this.fakeYear},weekDayString:function(){return this.headerLabel||this.$q.i18n.date.days[this.model.getDay()]},fillerDays:function(){var t=this.fakeModel.getDay()-this.computedFirstDayOfWeek;return t<0&&(t+=7),t},beforeMinDays:function(){if(null===this.pmin)return!1;var t=this.pmin.getFullYear(),e=this.pmin.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.pmin.getDate()-1:(t>this.fakeYear||t===this.fakeYear&&e>this.fakeMonth)&&this.daysInMonth},afterMaxDays:function(){if(null===this.pmax)return!1;var t=this.pmax.getFullYear(),e=this.pmax.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.daysInMonth-this.maxDay:(t<this.fakeYear||t===this.fakeYear&&e<this.fakeMonth)&&this.daysInMonth},maxDay:function(){return null!==this.pmax?this.pmax.getDate():this.daysInMonth},dateInterval:function(){var t=null===this.pmax||!1===this.afterMaxDays?0:this.afterMaxDays;return this.beforeMinDays>0||t?{min:this.beforeMinDays>0?this.beforeMinDays+1:1,max:this.daysInMonth-t}:{min:1,max:this.daysInMonth}},hour:function(){var t=this.model.getHours();return this.computedFormat24h?t:cn(t)},minute:function(){return this.model.getMinutes()},am:function(){return this.model.getHours()<=11},clockPointerStyle:function(){var t="minute"===this.view,e=t?60:12,i=["rotate("+(Math.round((t?this.minute:this.hour)*(360/e))-180)+"deg)"];return t||!this.computedFormat24h||this.hour>0&&this.hour<13||i.push("scale(.7, .7)"),{transform:i.join(" ")}},isValid:function(){return Qi(this.value)},today:function(){var t=new Date;return en(t,this.fakeModel,"month")?t.getDate():-1}},methods:{setYear:function(t,e){this.editable&&(e||(this.view="month"),this.model=new Date(new Date(this.model).setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t,e){this.editable&&(e||(this.view="day"),this.model=Wi(this.model,{month:t}))},moveFakeMonth:function(t){var e=this.fakeMonth+(t>0?1:-1),i=this.fakeYear;if(e<1?(e=12,i-=1):e>12&&(e=1,i+=1),null!==this.pmin&&t>0){var n=this.pmin.getFullYear(),r=this.pmin.getMonth()+1;i<n?(i=n,e=r):i===n&&e<r&&(e=r)}if(null!==this.pmax&&t<0){var s=this.pmax.getFullYear(),o=this.pmax.getMonth()+1;i>s?(i=s,e=o):i===s&&e>o&&(e=o)}this.fakeValue.year=i,this.fakeValue.month=e},setDay:function(t,e,i,n){if(this.editable){if(i&&n){var r=Wi(this.model,{month:n});r.setFullYear(this.__parseTypeValue("year",i)),r.setDate(this.__parseTypeValue("date",t)),this.model=r}else this.model=new Date(new Date(this.model).setDate(this.__parseTypeValue("date",t)));e||"date"!==this.type?e||(this.view="hour"):(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView))}},setHour:function(t){this.editable&&(t=this.__parseTypeValue("hour",t),!this.computedFormat24h&&t<12&&!this.am&&(t+=12),this.model=new Date(new Date(this.model).setHours(t)))},setMinute:function(t){this.editable&&(this.model=new Date(new Date(this.model).setMinutes(this.__parseTypeValue("minute",t))))},setView:function(t){var e=this.__calcView(t);this.view!==e&&(this.view=e)},__calcView:function(t){switch(this.type){case"time":return["hour","minute"].includes(t)?t:"hour";case"date":return["year","month","day"].includes(t)?t:"day";default:return["year","month","day","hour","minute"].includes(t)?t:"day"}},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(t){var e=this;if("year"===this.view||"month"===this.view){t&&setTimeout(function(){e.__scrollView()},200);var i=this.$refs.selector,n=i?i.querySelector(".q-btn:not(.active)"):null,r=i?i.querySelector(".q-btn.active"):null,s=i?i.offsetHeight:0;this.$nextTick(function(){var t="year"===e.view?e.year-e.yearInterval.min:e.month-e.monthMin-1;s&&r&&(i.scrollTop=t*(n?n.offsetHeight:0)+(r.offsetHeight-s)/2)})}},__dragStart:function(t,e){tt(t);var i=this.$refs.clock,n=et(i);this.centerClockPos={top:n.top+nt(i)/2,left:n.left+rt(i)/2},this.dragging=!0,this.__updateClock(t,e)},__dragMove:function(t){this.dragging&&(tt(t),this.__updateClock(t))},__dragStop:function(t,e){tt(t),this.dragging=!1,void 0!==t&&this.__updateClock(t,e),"minute"===this.view?(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView)):this.view="minute"},__updateClock:function(t,e){if(void 0!==e)return this["hour"===this.view?"setHour":"setMinute"](e);var i=K(t),n=Math.abs(i.top-this.centerClockPos.top),r=Math.sqrt(Math.pow(Math.abs(i.top-this.centerClockPos.top),2)+Math.pow(Math.abs(i.left-this.centerClockPos.left),2)),s=Math.asin(n/r)*(180/Math.PI);if(s=i.top<this.centerClockPos.top?this.centerClockPos.left<i.left?90-s:270+s:this.centerClockPos.left<i.left?s+90:270-s,"hour"===this.view){var o=Math.round(s/30);this.computedFormat24h&&(o?r<85&&(o+=12):o=r<85?0:12),this.setHour(o)}else this.setMinute(Math.round(s/6))},__repeatTimeout:function(t){return Math.max(100,300-t*t*10)},__getTopSection:function(t){var e=this,i=[this.typeHasDate?t("div",{staticClass:"q-datetime-weekdaystring"},[this.weekDayString]):void 0,t("div",{staticClass:"col"})];if(this.typeHasDate){var n=[t("div",{staticClass:"q-datetime-datestring row justify-center items-end"},[t("span",{staticClass:"q-datetime-link small col-auto col-md-12",class:{active:"month"===this.view},attrs:{tabindex:0},on:{keydown:function(t){var i=W(t);38===i||39===i?(tt(t),e.setMonth(e.month-1,!0)):40===i||37===i?(tt(t),e.setMonth(e.month+1,!0)):13!==i&&20!==i||(e.view="month")}}},[t("span",{attrs:{tabindex:-1},on:this.disable?{}:{click:function(){e.view="month"}}},[this.monthString])]),t("span",{staticClass:"q-datetime-link col-auto col-md-12",class:{active:"day"===this.view},attrs:{tabindex:0},on:{keydown:function(t){var i=W(t);37===i||38===i?(tt(t),e.setDay(e.day-(37===i?1:7),!0)):39===i||40===i?(tt(t),e.setDay(e.day+(39===i?1:7),!0)):13!==i&&20!==i||(e.view="day")}}},[t("span",{attrs:{tabindex:-1},on:this.disable?{}:{click:function(){e.view="day"}}},[this.day])]),t("span",{staticClass:"q-datetime-link small col-auto col-md-12",class:{active:"year"===this.view},attrs:{tabindex:0},on:{keydown:function(t){var i=W(t);38===i||39===i?(tt(t),e.setYear(e.year-1,!0)):40===i||37===i?(tt(t),e.setYear(e.year+1,!0)):13!==i&&20!==i||(e.view="year")}}},[t("span",{attrs:{tabindex:-1},on:this.disable?{}:{click:function(){e.view="year"}}},[this.year])])])];i.push(t("div",n))}if(this.typeHasTime){var r=!this.computedFormat24h&&t("span",{staticClass:"q-datetime-ampm column",attrs:{tabindex:0},on:this.__amPmEvents},[t("span",{staticClass:"q-datetime-link",class:{active:this.am}},[t("span",{attrs:{tabindex:-1},on:{click:this.toggleAmPm}},["AM"])]),t("span",{staticClass:"q-datetime-link",class:{active:!this.am}},[t("span",{attrs:{tabindex:-1},on:{click:this.toggleAmPm}},["PM"])])]),s=[t("span",{staticClass:"col-auto",style:{textAlign:"right"}},[t("span",{staticClass:"q-datetime-link",style:{textAlign:"right"},class:{active:"hour"===this.view},attrs:{tabindex:0},on:{keydown:function(t){var i=W(t);40===i||37===i?(tt(t),e.setHour(e.hour-1,!0)):38===i||39===i?(tt(t),e.setHour(e.hour+1,!0)):13!==i&&20!==i||(e.view="hour")}}},[t("span",{attrs:{tabindex:-1},on:this.disable?{}:{click:function(){e.view="hour"}}},[this.computedFormat24h?this.__pad(this.hour):this.hour])])]),t("span",{style:"opacity:0.6;"},[":"]),t("span",{staticClass:"col-auto row no-wrap items-center",style:{textAlign:"left"}},[t("span",{staticClass:"q-datetime-link",style:{textAlign:"left"},class:{active:"minute"===this.view},attrs:{tabindex:0},on:{keydown:function(t){var i=W(t);40===i||37===i?(tt(t),e.setMinute(e.minute-1,!0)):38===i||39===i?(tt(t),e.setMinute(e.minute+1,!0)):13!==i&&20!==i||(e.view="minute")}}},[t("span",{attrs:{tabindex:-1},on:this.disable?{}:{click:function(){e.view="minute"}}},[this.__pad(this.minute)])]),r])];i.push(t("div",{staticClass:"q-datetime-time row scroll flex-center"},[t("div",{staticClass:"q-datetime-clockstring col row justify-center items-start"},s)]))}return i.push(t("div",{staticClass:"col"})),t("div",{staticClass:"q-datetime-header column no-wrap items-center"},i)},__getYearView:function(t){for(var e=this,i=[t("div",{staticClass:"col-grow"})],n=function(n){i.push(t(he,{staticClass:"q-datetime-btn no-border-radius",class:{active:n===e.year},attrs:{tabindex:-1},props:{flat:!0,disable:!e.editable},on:{click:function(){e.setYear(n)}}},[n]))},r=this.yearInterval.min;r<=this.yearInterval.max;r++)n(r);return i.push(t("div",{staticClass:"col-grow"})),t("div",{staticClass:"q-datetime-view-year fit column no-wrap"},i)},__getMonthView:function(t){for(var e=this,i=[t("div",{staticClass:"col-grow"})],n=function(n){i.push(t(he,{staticClass:"q-datetime-btn no-border-radius",class:{active:n+1===e.month},attrs:{tabindex:-1},props:{flat:!0,disable:!e.editable},on:{click:function(){e.setMonth(n+1)}}},[e.$q.i18n.date.months[n]]))},r=this.monthInterval.min;r<=this.monthInterval.max;r++)n(r);return i.push(t("div",{staticClass:"col-grow"})),t("div",{staticClass:"q-datetime-view-month fit column no-wrap"},i)},__getDayView:function(t){for(var e=this,i=[],n=this.fakeMonth===this.month&&this.fakeYear===this.year?this.day:-1,r=1;r<=this.fillerDays;r++)i.push(t("div",{staticClass:"q-datetime-fillerday"}));if(this.min)for(var s=1;s<=this.beforeMinDays;s++)i.push(t("div",{staticClass:"row items-center content-center justify-center disabled",class:{"q-datetime-day-active":e.isValid&&s===n}},[t("span",[s])]));for(var o=this.dateInterval,a=o.min,l=o.max,c=function(r){i.push(t("div",{staticClass:"row items-center content-center justify-center cursor-pointer",class:[e.color&&r===n?"text-"+e.color:null,{"q-datetime-day-active":e.isValid&&r===n,"q-datetime-day-today":r===e.today,disabled:!e.editable}],on:{click:function(){e.setDay(r,!1,e.fakeYear,e.fakeMonth)}}},[t("span",[r])]))},u=a;u<=l;u++)c(u);if(this.max)for(var h=1;h<=this.afterMaxDays;h++)i.push(t("div",{staticClass:"row items-center content-center justify-center disabled",class:{"q-datetime-day-active":e.isValid&&h+e.maxDay===n}},[t("span",[h+e.maxDay])]));return t("div",{staticClass:"q-datetime-view-day"},[t("div",{staticClass:"row items-center content-center"},[t(he,{staticClass:"q-datetime-arrow",attrs:{tabindex:-1},props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[0],repeatTimeout:this.__repeatTimeout,disable:this.beforeMinDays>0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(-1)}}}),t("div",{staticClass:"col q-datetime-month-stamp"},[this.monthStamp]),t(he,{staticClass:"q-datetime-arrow",attrs:{tabindex:-1},props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],repeatTimeout:this.__repeatTimeout,disable:this.afterMaxDays>0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(1)}}})]),t("div",{staticClass:"q-datetime-weekdays row no-wrap items-center justify-start"},this.headerDayNames.map(function(e){return t("div",[e])})),t("div",{staticClass:"q-datetime-days row wrap items-center justify-start content-center"},i)])},__getClockView:function(t){var e=this,i=[];if("hour"===this.view){var n,r,s="";this.computedFormat24h?(n=0,r=24,s=" fmt24"):(n=1,r=13);for(var o=function(n){i.push(t("div",{staticClass:"q-datetime-clock-position"+s,class:["q-datetime-clock-pos-"+n,n===e.hour?"active":""],on:{"!mousedown":function(t){return e.__dragStart(t,n)},"!mouseup":function(t){return e.__dragStop(t,n)}}},[t("span",[n||"00"])]))},a=n;a<r;a++)o(a)}else for(var l=0;l<12;l++){var c=5*l;i.push(t("div",{staticClass:"q-datetime-clock-position",class:["q-datetime-clock-pos-"+l,c===e.minute?"active":""]},[t("span",[c])]))}return t("div",{ref:"clock",key:"clock"+this.view,staticClass:"column items-center content-center justify-center"},[t("div",{staticClass:"q-datetime-clock cursor-pointer",on:{mousedown:this.__dragStart,mousemove:this.__dragMove,mouseup:this.__dragStop,touchstart:this.__dragStart,touchmove:this.__dragMove,touchend:this.__dragStop}},[t("div",{staticClass:"q-datetime-clock-circle full-width full-height"},[t("div",{staticClass:"q-datetime-clock-center"}),t("div",{staticClass:"q-datetime-clock-pointer",style:this.clockPointerStyle},[t("span")]),i])])])},__getViewSection:function(t){switch(this.view){case"year":return this.__getYearView(t);case"month":return this.__getMonthView(t);case"day":return this.__getDayView(t);case"hour":case"minute":return this.__getClockView(t)}}},created:function(){var t=this;this.__amPmEvents={keydown:function(e){var i=W(e);[13,32,37,38,39,40].includes(i)&&(tt(e),t.toggleAmPm())}}},mounted:function(){this.__scrollView(!0)},render:function(t){if(this.canRender)return t("div",{staticClass:"q-datetime row",class:this.classes},[!this.minimal&&this.__getTopSection(t)||void 0,t("div",{staticClass:"q-datetime-content scroll"},[t("div",{ref:"selector",staticClass:"q-datetime-selector row items-center"},[t("div",{class:"col"}),this.__getViewSection(t),t("div",{class:"col"})])].concat(this.$slots.default))])}},hn={maxWidth:"95vw",maxHeight:"98vh"},dn={name:"QDatetime",mixins:[fi,xi,ke],props:Object.assign({},Ni,Bi),watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=on(t))}},data:function(){return{transition:null,model:null,focused:!1}},created:function(){this.model=on(this.computedValue),this.isPopover||(this.transition="q-modal")},computed:{computedFormat:function(){return this.format?this.format:"date"===this.type?"YYYY/MM/DD":"time"===this.type?"HH:mm":"YYYY/MM/DD HH:mm:ss"},actualValue:function(){return this.displayValue?this.displayValue:Qi(this.value)&&this.canRender?sn(this.value,this.computedFormat,this.$q.i18n.date):""},computedValue:function(){return Qi(this.value)?this.value:this.defaultValue},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&!en(this.computedClearValue,this.value)},modalBtnColor:function(){return this.color}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.computedValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(W(t)){case 13:case 32:return tt(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){if(!this.disable&&!this.focused){var t=this.$refs.target;t&&t.setView(this.defaultView,!0),this.model=on(this.computedValue),this.focused=!0,this.$emit("focus")}},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=on(t),(e||this.isPopover)&&this.__update(e)},__update:function(t){var e=this;this.$nextTick(function(){en(e.model,e.value)||(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__scrollView:function(){var t=this.$refs.target;t&&t.__scrollView()},__getPicker:function(t,e){var i=this;return[t(un,{ref:"target",staticClass:"no-border",class:{"datetime-ios-modal":!1},props:{type:this.type,min:this.min,max:this.max,headerLabel:this.headerLabel,minimal:this.minimal,formatModel:this.formatModel,format24h:this.format24h,firstDayOfWeek:this.firstDayOfWeek,defaultView:this.defaultView,color:this.invertedLight?"grey-7":this.color,dark:this.dark,value:this.model,disable:this.disable,readonly:this.readonly,noParentField:!0},on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})},canClose:function(){i.isPopover&&i.hide()}}},[e?t("div",{staticClass:"modal-buttons modal-buttons-top row full-width"},[t("div",{staticClass:"col"}),t(he,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(he,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null]):null])]}},render:function(t){var e=this;return t(vi,{staticClass:"q-datetime-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(Se,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:function(t){e.__onFocus(t),e.__scrollView()},hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(Ct,{ref:"popup",staticClass:"with-backdrop q-datetime-modal",props:{contentCss:hn,minimized:!0,position:null,transition:this.transition},on:{show:this.__scrollView,dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(St,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(St,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},fn=["text","textarea","email","search","tel","file","number","password","url","time","date"],pn={name:"QResizeObservable",mixins:[ke],props:{debounce:{type:Number,default:100}},data:function(){return this.hasObserver?{}:{url:this.$q.platform.is.ie?null:"about:blank"}},methods:{onResize:function(){if(this.timer=null,this.$el&&this.$el.parentNode){var t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))}},trigger:function(t){!0===t||0===this.debounce?this.onResize():this.timer||(this.timer=setTimeout(this.onResize,this.debounce))}},render:function(t){var e=this;if(this.canRender&&!this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":!0},on:{load:function(){e.$el.contentDocument.defaultView.addEventListener("resize",e.trigger,Q.passive),e.trigger(!0)}}})},beforeCreate:function(){this.size={width:-1,height:-1},o||(this.hasObserver="undefined"!=typeof ResizeObserver,this.hasObserver||(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted:function(){if(this.hasObserver)return this.observer=new ResizeObserver(this.trigger),void this.observer.observe(this.$el.parentNode);this.trigger(!0),this.$q.platform.is.ie&&(this.url="about:blank")},beforeDestroy:function(){clearTimeout(this.timer),this.hasObserver?this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode):this.$el.contentDocument&&this.$el.contentDocument.defaultView.removeEventListener("resize",this.trigger,Q.passive)}},mn={name:"QInput",mixins:[fi,pi],props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return fn.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean,lowerCase:Boolean,initialShowPassword:Boolean},data:function(){var t=this;return{showPass:this.initialShowPassword,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,setNav:this.__set,loading:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){var e=parseFloat(this.model),i=parseFloat(t);(!this.isNumber||this.isNumberError||isNaN(e)||isNaN(i)||e!==i)&&(this.model=t),this.isNumberError=!1,this.isNegZero=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()},"$attrs.rows":function(){this.isTextarea&&this.__updateArea()}},provide:function(){return{__input:this.shadow}},computed:{isNumber:function(){return"number"===this.type},isPassword:function(){return"password"===this.type},isTextarea:function(){return"textarea"===this.type},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle},inputType:function(){return this.isPassword?this.showPass&&this.editable?"text":"password":this.isNumber?this.showNumber||!this.editable?"number":"text":this.type},inputClasses:function(){var t=[];return this.align&&t.push("text-"+this.align),this.autofilled&&t.push("q-input-autofill"),t},length:function(){return null!==this.model&&void 0!==this.model?(""+this.model).length:0},computedClearValue:function(){return void 0===this.clearValue?this.isNumber?null:"":this.clearValue},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")},frameProps:function(){return{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,placeholder:this.placeholder,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.autofilled+this.length}}},methods:{togglePass:function(){this.showPass=!this.showPass,clearTimeout(this.timer),this.focus()},toggleNumber:function(){this.showNumber=!this.showNumber,clearTimeout(this.timer),this.focus()},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__onAnimationStart:function(t){if(0===t.animationName.indexOf("webkit-autofill-")){var e="webkit-autofill-on"===t.animationName;if(e!==this.autofilled)return t.value=this.autofilled=e,t.el=this,this.$emit("autofill",t)}},__setModel:function(t){clearTimeout(this.timer),this.focus(),this.__set(this.isNumber&&0===t?t:t||(this.isNumber?null:""),!0)},__set:function(t,e){var i=this,n=t&&t.target?t.target.value:t;if(this.isNumber){this.isNegZero=1/n==-1/0;var r=this.isNegZero?-0:n;if(this.model=n,n=parseFloat(n),isNaN(n)||this.isNegZero)return this.isNumberError=!0,void(e&&(this.$emit("input",r),this.$nextTick(function(){String(1/r)!==String(1/i.value)&&i.$emit("change",r)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(n=parseFloat(n.toFixed(this.decimals)))}else this.lowerCase?n=n.toLowerCase():this.upperCase&&(n=n.toUpperCase()),this.model=n;this.$emit("input",n),e&&this.$nextTick(function(){JSON.stringify(n)!==JSON.stringify(i.value)&&i.$emit("change",n)})},__updateArea:function(){var t=this.$refs.shadow,e=this.$refs.input;if(t&&e){var i=t.scrollHeight,n=Ft(i,t.offsetHeight,this.maxHeight||i);e.style.height=n+"px",e.style.overflowY=this.maxHeight&&n<i?"scroll":"hidden"}},__watcher:function(t){this.isTextarea&&this.__updateArea(),this.shadow.watched&&(this.shadow.val=t)},__watcherRegister:function(){this.watcher||(this.watcher=this.$watch("model",this.__watcher))},__watcherUnregister:function(t){this.watcher&&(t||!this.isTextarea&&!this.shadow.watched)&&(this.watcher(),this.watcher=null)},__getTextarea:function(t){var e=Object.assign({rows:1},this.$attrs);return t("div",{staticClass:"col row relative-position"},[t(pn,{on:{resize:this.__updateArea}}),t("textarea",{ref:"shadow",staticClass:"col q-input-target q-input-shadow absolute-top",domProps:{value:this.model},attrs:e}),t("textarea",{ref:"input",staticClass:"col q-input-target q-input-area",attrs:Object.assign({},e,{placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly}),domProps:{value:this.model},on:{input:this.__set,focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__onKeydown,keyup:this.__onKeyup,paste:this.__onPaste}})])},__getInput:function(t){return t("input",{ref:"input",staticClass:"col q-input-target q-no-input-spinner ellipsis",class:this.inputClasses,attrs:Object.assign({},this.$attrs,{type:this.inputType,placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly,step:this.computedStep}),domProps:{value:this.model},on:{input:this.__set,focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__onKeydown,keyup:this.__onKeyup,paste:this.__onPaste,animationstart:this.__onAnimationStart}})}},mounted:function(){this.__updateArea=Ce(this.__updateArea),this.isTextarea&&(this.__updateArea(),this.__watcherRegister())},beforeDestroy:function(){this.__watcherUnregister(!0)},render:function(t){return t(vi,{staticClass:"q-input",props:this.frameProps,on:{click:this.__onClick,focus:this.__onFocus,paste:this.__onPaste}},[].concat(this.$slots.before).concat([this.isTextarea?this.__getTextarea(t):this.__getInput(t),!this.disable&&this.isPassword&&!this.noPassToggle&&(this.initialShowPassword||this.length)&&t(St,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input[this.showPass?"showPass":"hidePass"]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.togglePass}})||void 0,this.editable&&this.keyboardToggle&&t(St,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input[this.showNumber?"showNumber":"hideNumber"]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.toggleNumber}})||void 0,this.isClearable&&t(St,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.clear}})||void 0,this.isLoading&&(this.$slots.loading?t("div",{staticClass:"q-if-control",slot:"after"},this.$slots.loading):t(ue,{slot:"after",staticClass:"q-if-control",props:{size:"24px"}}))||void 0]).concat(this.$slots.after).concat(this.$slots.default?t("div",{staticClass:"absolute-full no-pointer-events",slot:"after"},this.$slots.default):void 0))}},vn={name:"QRadio",mixins:[ci],props:{val:{required:!0}},computed:{isTrue:function(){return this.value===this.val}},methods:{toggle:function(t,e){void 0===e&&(e=!0),this.disable||this.readonly||(t&&tt(t),e&&this.$el.blur(),this.isTrue||this.__update(this.val))},__getContent:function(t){return[t(St,{staticClass:"q-radio-unchecked cursor-pointer absolute-full",props:{name:this.uncheckedIcon||this.$q.icon.radio.unchecked.mat}}),t(St,{staticClass:"q-radio-checked cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.radio.checked.mat}}),t("div",{ref:"ripple",staticClass:"q-radial-ripple"})]}},beforeCreate:function(){this.__kebabTag="q-radio"}},gn={name:"QToggle",mixins:[li,ci],props:{icon:String},computed:{currentIcon:function(){return(this.isTrue?this.checkedIcon:this.uncheckedIcon)||this.icon},iconColor:function(){return this.isTrue?"white":"dark"},baseClass:function(){}},methods:{__swipe:function(t){"left"===t.direction?this.isTrue&&this.toggle():"right"===t.direction&&this.isFalse&&this.toggle()},__getContent:function(t){return[t("div",{staticClass:"q-toggle-base",class:this.baseClass}),t("div",{staticClass:"q-toggle-handle row flex-center"},[this.currentIcon?t(St,{staticClass:"q-toggle-icon",props:{name:this.currentIcon,color:this.iconColor}}):null,t("div",{ref:"ripple",staticClass:"q-radial-ripple"})])]}},beforeCreate:function(){this.__kebabTag="q-toggle"}},bn={radio:vn,checkbox:ui,toggle:gn},yn={name:"QOptionGroup",mixins:[mi],props:{value:{required:!0},type:{default:"radio",validator:function(t){return["radio","checkbox","toggle"].includes(t)}},color:String,keepColor:Boolean,dark:Boolean,options:{type:Array,validator:function(t){return t.every(function(t){return"value"in t&&"label"in t})}},leftLabel:Boolean,inline:Boolean,disable:Boolean,readonly:Boolean},computed:{component:function(){return bn[this.type]},model:function(){return Array.isArray(this.value)?this.value.slice():this.value},length:function(){return this.value?"radio"===this.type?1:this.value.length:0},__needsBorder:function(){return!0}},methods:{__onFocus:function(){this.$emit("focus")},__onBlur:function(){this.$emit("blur")},__update:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},created:function(){var t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):t||console.error("q-option-group: model should be array in your case")},render:function(t){var e=this;return t("div",{staticClass:"q-option-group group",class:{"q-option-group-inline-opts":this.inline}},this.options.map(function(i){return t("div",[t(e.component,{props:{value:e.value,val:i.value,readonly:e.readonly||i.readonly,disable:e.disable||i.disable,label:i.label,leftLabel:e.leftLabel||i.leftLabel,color:i.color||e.color,checkedIcon:i.checkedIcon,uncheckedIcon:i.uncheckedIcon,dark:i.dark||e.dark,keepColor:i.keepColor||e.keepColor},on:{input:e.__update,focus:e.__onFocus,blur:e.__onBlur}})])}))}},_n={name:"QDialog",props:{value:Boolean,title:String,message:String,prompt:Object,options:Object,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],stackButtons:Boolean,preventClose:Boolean,noBackdropDismiss:Boolean,noEscDismiss:Boolean,noRefocus:Boolean,position:String,color:{type:String,default:"primary"}},render:function(t){var e=this,i=[],n=this.$slots.title||this.title,r=this.$slots.message||this.message;return n&&i.push(t("div",{staticClass:"modal-header"},[n])),r&&i.push(t("div",{staticClass:"modal-body modal-message modal-scroll"},[r])),(this.hasForm||this.$slots.body)&&i.push(t("div",{staticClass:"modal-body modal-scroll"},this.hasForm?this.prompt?this.__getPrompt(t):this.__getOptions(t):[this.$slots.body])),this.$scopedSlots.buttons?i.push(t("div",{staticClass:"modal-buttons",class:this.buttonClass},[this.$scopedSlots.buttons({ok:this.__onOk,cancel:this.__onCancel})])):(this.ok||this.cancel)&&i.push(this.__getButtons(t)),t(Ct,{ref:"modal",props:{value:this.value,minimized:!0,noBackdropDismiss:this.noBackdropDismiss||this.preventClose,noEscDismiss:this.noEscDismiss||this.preventClose,noRefocus:this.noRefocus,position:this.position},on:{input:function(t){e.$emit("input",t)},show:function(){if(e.$q.platform.is.desktop){var t;if((e.prompt||e.options)&&(t=e.prompt?e.$refs.modal.$el.getElementsByTagName("INPUT"):e.$refs.modal.$el.getElementsByClassName("q-option")).length)return t[0].focus(),void e.$emit("show");(t=e.$refs.modal.$el.getElementsByClassName("q-btn")).length&&t[t.length-1].focus(),e.$emit("show")}else e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},i)},computed:{hasForm:function(){return this.prompt||this.options},okLabel:function(){return!0===this.ok?this.$q.i18n.label.ok:this.ok},cancelLabel:function(){return!0===this.cancel?this.$q.i18n.label.cancel:this.cancel},buttonClass:function(){return this.stackButtons?"column":"row"},okProps:function(){return Object(this.ok)===this.ok?Object.assign({color:this.color,label:this.$q.i18n.label.ok,noRipple:!0},this.ok):{color:this.color,flat:!0,label:this.okLabel,noRipple:!0}},cancelProps:function(){return Object(this.cancel)===this.cancel?Object.assign({color:this.color,label:this.$q.i18n.label.cancel,noRipple:!0},this.cancel):{color:this.color,flat:!0,label:this.cancelLabel,noRipple:!0}}},methods:{show:function(){return this.$refs.modal.show()},hide:function(){var t=this;return this.$refs.modal?this.$refs.modal.hide().then(function(){return t.hasForm?Pi(t.__getData()):void 0}):Promise.resolve()},__getPrompt:function(t){var e=this;return[t(mn,{style:"margin-bottom: 10px",props:{value:this.prompt.model,type:this.prompt.type||"text",color:this.color,noPassToggle:!0},on:{input:function(t){e.prompt.model=t},keyup:function(t){13===W(t)&&e.__onOk()}}})]},__getOptions:function(t){var e=this;return[t(yn,{props:{value:this.options.model,type:this.options.type,color:this.color,inline:this.options.inline,options:this.options.items},on:{change:function(t){e.options.model=t}}})]},__getButtons:function(t){var e=[];return this.cancel&&e.push(t(he,{props:this.cancelProps,on:{click:this.__onCancel}})),this.ok&&e.push(t(he,{props:this.okProps,on:{click:this.__onOk}})),t("div",{staticClass:"modal-buttons",class:this.buttonClass},e)},__onOk:function(){var t=this;return this.hide().then(function(e){t.$emit("ok",e)})},__onCancel:function(){var t=this;return this.hide().then(function(){t.$emit("cancel")})},__getData:function(){return this.prompt?this.prompt.model:this.options?this.options.model:void 0}}};function wn(t,e,i){var n;function r(){for(var r=this,s=[],o=arguments.length;o--;)s[o]=arguments[o];clearTimeout(n),i&&!n&&t.apply(this,s),n=setTimeout(function(){n=null,i||t.apply(r,s)},e)}return void 0===e&&(e=250),r.cancel=function(){clearTimeout(n)},r}var xn={name:"QTooltip",mixins:[V,ke],props:{anchor:{type:String,default:"top middle",validator:_e},self:{type:String,default:"bottom middle",validator:_e},offset:{type:Array,validator:we},delay:{type:Number,default:0},maxHeight:String,disable:Boolean},watch:{$route:function(){this.hide()}},computed:{anchorOrigin:function(){return xe(this.anchor)},selfOrigin:function(){return xe(this.self)}},methods:{__show:function(){clearTimeout(this.timer),document.body.appendChild(this.$el),this.scrollTarget=at(this.anchorEl),this.scrollTarget.addEventListener("scroll",this.hide,Q.passive),window.addEventListener("resize",this.__debouncedUpdatePosition,Q.passive),this.$q.platform.is.mobile&&document.body.addEventListener("click",this.hide,!0),this.__updatePosition(),this.showPromise&&this.showPromiseResolve()},__hide:function(){this.__cleanup(),this.hidePromise&&this.hidePromiseResolve()},__cleanup:function(){clearTimeout(this.timer),this.scrollTarget.removeEventListener("scroll",this.hide,Q.passive),window.removeEventListener("resize",this.__debouncedUpdatePosition,Q.passive),this.$el.remove(),this.$q.platform.is.mobile&&document.body.removeEventListener("click",this.hide,!0)},__updatePosition:function(){ye({el:this.$el,animate:!0,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight})},__delayShow:function(){clearTimeout(this.timer),this.timer=setTimeout(this.show,this.delay)},__delayHide:function(){clearTimeout(this.timer),this.hide()}},render:function(t){if(this.canRender)return t("div",{staticClass:"q-tooltip animate-popup"},[t("div",this.$slots.default)])},beforeMount:function(){var t=this;this.__debouncedUpdatePosition=wn(function(){t.__updatePosition()},70)},mounted:function(){var t=this;this.$nextTick(function(){t.$el.offsetHeight,t.anchorEl=t.$el.parentNode,t.anchorEl.removeChild(t.$el),(t.anchorEl.classList.contains("q-popup--skip")||t.anchorEl.classList.contains("no-pointer-events"))&&(t.anchorEl=t.anchorEl.parentNode),t.$q.platform.is.mobile?t.anchorEl.addEventListener("click",t.show):(t.anchorEl.addEventListener("mouseenter",t.__delayShow),t.anchorEl.addEventListener("focus",t.__delayShow),t.anchorEl.addEventListener("mouseleave",t.__delayHide),t.anchorEl.addEventListener("blur",t.__delayHide)),t.value&&t.show()})},beforeDestroy:function(){clearTimeout(this.timer),this.showing&&this.__cleanup(),this.anchorEl&&(this.$q.platform.is.mobile?this.anchorEl.removeEventListener("click",this.show):(this.anchorEl.removeEventListener("mouseenter",this.__delayShow),this.anchorEl.removeEventListener("focus",this.__delayShow),this.anchorEl.removeEventListener("mouseleave",this.__delayHide),this.anchorEl.removeEventListener("blur",this.__delayHide)))}};function Cn(t,e,i){e.handler?e.handler(t,i,i.caret):i.runCmd(e.cmd,e.param)}function kn(t,e,i,n,r){void 0===r&&(r=!1);var s=r||"toggle"===i.type&&(i.toggled?i.toggled(e):i.cmd&&e.caret.is(i.cmd,i.param)),o=[],a={click:function(t){n&&n(),Cn(t,i,e)}};if(i.tip&&e.$q.platform.is.desktop){var l=i.key?t("div",[t("small","(CTRL + "+String.fromCharCode(i.key)+")")]):null;o.push(t(xn,{props:{delay:1e3}},[t("div",{domProps:{innerHTML:i.tip}}),l]))}return t(he,{props:Object.assign({},e.buttonProps,{icon:i.icon,color:s?i.toggleColor||e.toolbarToggleColor:i.color||e.toolbarColor,textColor:s&&(e.toolbarFlat||e.toolbarOutline)?null:i.textColor||e.toolbarTextColor,label:i.label,disable:!!i.disable&&("function"!=typeof i.disable||i.disable(e))}),on:a},o)}function Sn(t,e,i){var n,r,s=i.label,o=i.icon,a="no-icons"===i.list;function l(){u.componentInstance.hide()}"only-icons"===i.list?(r=i.options.map(function(i){var n=void 0===i.type&&e.caret.is(i.cmd,i.param);return n&&(s=i.tip,o=i.icon),kn(t,e,i,l,n)}),n=e.toolbarBackgroundClass,r=[t(Me,{props:e.buttonProps,staticClass:"relative-position q-editor-toolbar-padding",style:{borderRadius:"0"}},r)]):(r=i.options.map(function(i){var n=!!i.disable&&i.disable(e),r=void 0===i.type&&e.caret.is(i.cmd,i.param);r&&(s=i.tip,o=i.icon);var c=i.htmlTip;return t(At,{props:{active:r,link:!n},class:{disabled:n},nativeOn:{click:function(t){n||(l(),e.$refs.content&&e.$refs.content.focus(),e.caret.restore(),Cn(t,i,e))}}},[a?"":t(Bt,{props:{icon:i.icon}}),t(Rt,{props:!c&&i.tip?{label:i.tip}:null,domProps:c?{innerHTML:i.htmlTip}:null})])}),n=[e.toolbarBackgroundClass,e.toolbarTextColor?"text-"+e.toolbarTextColor:""],r=[t($t,{props:{separator:!0}},[r])]);var c=i.highlight&&s!==i.label,u=t(Ee,{props:Object.assign({},e.buttonProps,{noCaps:!0,noWrap:!0,color:c?e.toolbarToggleColor:e.toolbarColor,textColor:c&&(e.toolbarFlat||e.toolbarOutline)?null:e.toolbarTextColor,label:i.fixedLabel?i.label:s,icon:i.fixedIcon?i.icon:o,contentClass:n})},r);return u}function $n(t,e){if(e.caret)return e.buttons.map(function(i){return t(Me,{props:e.buttonProps,staticClass:"items-center relative-position"},i.map(function(i){return"slot"===i.type?e.$slots[i.slot]:"dropdown"===i.type?Sn(t,e,i):kn(t,e,i)}))})}function qn(t,e,i,n){void 0===n&&(n={});var r=Object.keys(n);if(0===r.length)return{};var s={default_font:{cmd:"fontName",param:t,icon:i,tip:e}};return r.forEach(function(t){var e=n[t];s[t]={cmd:"fontName",param:e,icon:i,tip:e,htmlTip:'<font face="'+e+'">'+e+"</font>"}}),s}function Tn(t,e){if(e.caret){var i=e.toolbarColor||e.toolbarTextColor,n=e.editLinkUrl,r=function(){e.caret.restore(),n!==e.editLinkUrl&&document.execCommand("createLink",!1,""===n?" ":n),e.editLinkUrl=null};return[t("div",{staticClass:"q-mx-xs",class:"text-"+i},[e.$q.i18n.editor.url+": "]),t(mn,{key:"qedt_btm_input",staticClass:"q-ma-none q-pa-none col q-editor-input",props:{value:n,color:i,autofocus:!0,hideUnderline:!0},on:{input:function(t){n=t},keydown:function(t){switch(W(t)){case 13:return t.preventDefault(),r();case 27:e.caret.restore(),!e.editLinkUrl&&document.execCommand("unlink"),e.editLinkUrl=null}}}}),t(Me,{key:"qedt_btm_grp",props:e.buttonProps},[t(he,{key:"qedt_btm_rem",attrs:{tabindex:-1},props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.remove,noCaps:!0}),on:{click:function(){e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl=null}}}),t(he,{key:"qedt_btm_upd",props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.update,noCaps:!0}),on:{click:r}})])]}}function Pn(t,e){if(e&&t===e)return null;var i=(window.getComputedStyle?window.getComputedStyle(t):t.currentStyle).display;return"block"===i||"table"===i?t:Pn(t.parentNode)}function Ln(t,e){if(!t)return!1;for(;t=t.parentNode;){if(t===document.body)return!1;if(t===e)return!0}return!1}var On=/^https?:\/\//,Mn=function(t,e){this.el=t,this.vm=e},En={selection:{configurable:!0},hasSelection:{configurable:!0},range:{configurable:!0},parent:{configurable:!0},blockParent:{configurable:!0}};En.selection.get=function(){if(this.el){var t=document.getSelection();return Ln(t.anchorNode,this.el)&&Ln(t.focusNode,this.el)?t:void 0}},En.hasSelection.get=function(){return this.selection?this.selection.toString().length>0:null},En.range.get=function(){var t=this.selection;if(t)return t.rangeCount?t.getRangeAt(0):null},En.parent.get=function(){var t=this.range;if(t){var e=t.startContainer;return e.nodeType===document.ELEMENT_NODE?e:e.parentNode}},En.blockParent.get=function(){var t=this.parent;if(t)return Pn(t,this.el)},Mn.prototype.save=function(t){void 0===t&&(t=this.range),this._range=t},Mn.prototype.restore=function(t){void 0===t&&(t=this._range);var e=document.createRange(),i=document.getSelection();t?(e.setStart(t.startContainer,t.startOffset),e.setEnd(t.endContainer,t.endOffset),i.removeAllRanges(),i.addRange(e)):(i.selectAllChildren(this.el),i.collapseToEnd())},Mn.prototype.hasParent=function(t,e){var i=e?this.parent:this.blockParent;return!!i&&i.nodeName.toLowerCase()===t.toLowerCase()},Mn.prototype.hasParents=function(t){var e=this.parent;return!!e&&t.includes(e.nodeName.toLowerCase())},Mn.prototype.is=function(t,e){switch(t){case"formatBlock":return"DIV"===e&&this.parent===this.el||this.hasParent(e,"PRE"===e);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===e;case"fontName":var i=document.queryCommandValue(t);return i==='"'+e+'"'||i===e;case"fullscreen":return this.vm.inFullscreen;case void 0:return!1;default:var n=document.queryCommandState(t);return e?n===e:n}},Mn.prototype.getParentAttribute=function(t){if(this.parent)return this.parent.getAttribute(t)},Mn.prototype.can=function(t){if("outdent"===t)return this.hasParents(["blockquote","li"]);if("indent"===t){var e=!!this.parent&&this.parent.nodeName.toLowerCase();if("blockquote"===e)return!1;if("li"===e){var i=this.parent.previousSibling;return i&&"li"===i.nodeName.toLowerCase()}return!1}},Mn.prototype.apply=function(t,e,i){if(void 0===i&&(i=function(){}),"formatBlock"===t)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(e)&&this.is(t,e)&&(t="outdent",e=null),"PRE"===e&&this.is(t,"PRE")&&(e="P");else{if("print"===t){i();var n=window.open();return n.document.write("\n        <!doctype html>\n        <html>\n          <head>\n            <title>Print - "+document.title+"</title>\n          </head>\n          <body>\n            <div>"+this.el.innerHTML+"</div>\n          </body>\n        </html>\n      "),n.print(),void n.close()}if("link"===t){var r=this.getParentAttribute("href");if(r)this.vm.editLinkUrl=r;else{var s=this.selectWord(this.selection),o=s?s.toString():"";if(!o.length)return;this.vm.editLinkUrl=On.test(o)?o:"",document.execCommand("createLink",!1,""===this.vm.editLinkUrl?" ":this.vm.editLinkUrl)}return this.range.selectNodeContents(this.parent),void this.save()}if("fullscreen"===t)return this.vm.toggleFullscreen(),void i()}document.execCommand(t,!1,e),i()},Mn.prototype.selectWord=function(t){if(!t.isCollapsed)return t;var e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);var i=e.collapsed?["backward","forward"]:["forward","backward"];e.detach();var n=t.focusNode,r=t.focusOffset;return t.collapse(t.anchorNode,t.anchorOffset),t.modify("move",i[0],"character"),t.modify("move",i[1],"word"),t.extend(n,r),t.modify("extend",i[1],"character"),t.modify("extend",i[0],"word"),t},Object.defineProperties(Mn.prototype,En);var An=Object.prototype.toString,Bn=Object.prototype.hasOwnProperty,Nn={};function Rn(t){return null===t?String(t):Nn[An.call(t)]||"object"}function In(t){if(!t||"object"!==Rn(t))return!1;if(t.constructor&&!Bn.call(t,"constructor")&&!Bn.call(t.constructor.prototype,"isPrototypeOf"))return!1;var e;for(e in t);return void 0===e||Bn.call(t,e)}function Dn(){var t,e,i,n,r,s,o=arguments,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==Rn(a)&&(a={}),c===l&&(a=this,l--);l<c;l++)if(null!==(t=o[l]))for(e in t)i=a[e],a!==(n=t[e])&&(u&&n&&(In(n)||(r="array"===Rn(n)))?(r?(r=!1,s=i&&"array"===Rn(i)?i:[]):s=i&&In(i)?i:{},a[e]=Dn(u,s,n)):void 0!==n&&(a[e]=n));return a}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach(function(t){Nn["[object "+t+"]"]=t.toLowerCase()});var jn={name:"QEditor",mixins:[ei],props:{value:{type:String,required:!0},readonly:Boolean,disable:Boolean,minHeight:{type:String,default:"10rem"},maxHeight:String,height:String,definitions:Object,fonts:Object,toolbar:{type:Array,validator:function(t){return 0===t.length||t.every(function(t){return t.length})},default:function(){return[["left","center","right","justify"],["bold","italic","underline","strike"],["undo","redo"]]}},toolbarColor:String,toolbarTextColor:String,toolbarToggleColor:{type:String,default:"primary"},toolbarBg:{type:String,default:"grey-3"},toolbarFlat:Boolean,toolbarOutline:Boolean,toolbarPush:Boolean,toolbarRounded:Boolean,contentStyle:Object,contentClass:[Object,Array,String]},computed:{editable:function(){return!this.readonly&&!this.disable},hasToolbar:function(){return this.toolbar&&this.toolbar.length>0},toolbarBackgroundClass:function(){if(this.toolbarBg)return"bg-"+this.toolbarBg},buttonProps:function(){return{outline:this.toolbarOutline,flat:this.toolbarFlat,push:this.toolbarPush,rounded:this.toolbarRounded,dense:!0,color:this.toolbarColor,disable:!this.editable}},buttonDef:function(){var t=this.$q.i18n.editor,e=this.$q.icon.editor;return{bold:{cmd:"bold",icon:e.bold,tip:t.bold,key:66},italic:{cmd:"italic",icon:e.italic,tip:t.italic,key:73},strike:{cmd:"strikeThrough",icon:e.strikethrough,tip:t.strikethrough,key:83},underline:{cmd:"underline",icon:e.underline,tip:t.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:e.unorderedList,tip:t.unorderedList},ordered:{cmd:"insertOrderedList",icon:e.orderedList,tip:t.orderedList},subscript:{cmd:"subscript",icon:e.subscript,tip:t.subscript,htmlTip:"x<subscript>2</subscript>"},superscript:{cmd:"superscript",icon:e.superscript,tip:t.superscript,htmlTip:"x<superscript>2</superscript>"},link:{cmd:"link",icon:e.hyperlink,tip:t.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:e.toggleFullscreen,tip:t.toggleFullscreen,key:70},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:e.quote,tip:t.quote,key:81},left:{cmd:"justifyLeft",icon:e.left,tip:t.left},center:{cmd:"justifyCenter",icon:e.center,tip:t.center},right:{cmd:"justifyRight",icon:e.right,tip:t.right},justify:{cmd:"justifyFull",icon:e.justify,tip:t.justify},print:{type:"no-state",cmd:"print",icon:e.print,tip:t.print,key:80},outdent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("outdent")},cmd:"outdent",icon:e.outdent,tip:t.outdent},indent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("indent")},cmd:"indent",icon:e.indent,tip:t.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:e.removeFormat,tip:t.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:e.hr,tip:t.hr},undo:{type:"no-state",cmd:"undo",icon:e.undo,tip:t.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:e.redo,tip:t.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:e.header,tip:t.header1,htmlTip:'<h1 class="q-ma-none">'+t.header1+"</h1>"},h2:{cmd:"formatBlock",param:"H2",icon:e.header,tip:t.header2,htmlTip:'<h2 class="q-ma-none">'+t.header2+"</h2>"},h3:{cmd:"formatBlock",param:"H3",icon:e.header,tip:t.header3,htmlTip:'<h3 class="q-ma-none">'+t.header3+"</h3>"},h4:{cmd:"formatBlock",param:"H4",icon:e.header,tip:t.header4,htmlTip:'<h4 class="q-ma-none">'+t.header4+"</h4>"},h5:{cmd:"formatBlock",param:"H5",icon:e.header,tip:t.header5,htmlTip:'<h5 class="q-ma-none">'+t.header5+"</h5>"},h6:{cmd:"formatBlock",param:"H6",icon:e.header,tip:t.header6,htmlTip:'<h6 class="q-ma-none">'+t.header6+"</h6>"},p:{cmd:"formatBlock",param:"DIV",icon:e.header,tip:t.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:e.code,tip:"<code>"+t.code+"</code>"},"size-1":{cmd:"fontSize",param:"1",icon:e.size,tip:t.size1,htmlTip:'<font size="1">'+t.size1+"</font>"},"size-2":{cmd:"fontSize",param:"2",icon:e.size,tip:t.size2,htmlTip:'<font size="2">'+t.size2+"</font>"},"size-3":{cmd:"fontSize",param:"3",icon:e.size,tip:t.size3,htmlTip:'<font size="3">'+t.size3+"</font>"},"size-4":{cmd:"fontSize",param:"4",icon:e.size,tip:t.size4,htmlTip:'<font size="4">'+t.size4+"</font>"},"size-5":{cmd:"fontSize",param:"5",icon:e.size,tip:t.size5,htmlTip:'<font size="5">'+t.size5+"</font>"},"size-6":{cmd:"fontSize",param:"6",icon:e.size,tip:t.size6,htmlTip:'<font size="6">'+t.size6+"</font>"},"size-7":{cmd:"fontSize",param:"7",icon:e.size,tip:t.size7,htmlTip:'<font size="7">'+t.size7+"</font>"}}},buttons:function(){var t=this,e=this.definitions||{},i=this.definitions||this.fonts?Dn(!0,{},this.buttonDef,e,qn(this.defaultFont,this.$q.i18n.editor.defaultFont,this.$q.icon.editor.font,this.fonts)):this.buttonDef;return this.toolbar.map(function(n){return n.map(function(n){if(n.options)return{type:"dropdown",icon:n.icon,label:n.label,fixedLabel:n.fixedLabel,fixedIcon:n.fixedIcon,highlight:n.highlight,list:n.list,options:n.options.map(function(t){return i[t]})};var r=i[n];return r?"no-state"===r.type||e[n]&&(void 0===r.cmd||t.buttonDef[r.cmd]&&"no-state"===t.buttonDef[r.cmd].type)?r:Dn(!0,{type:"toggle"},r):{type:"slot",slot:n}})})},keys:function(){var t={},e=function(e){e.key&&(t[e.key]={cmd:e.cmd,param:e.param})};return this.buttons.forEach(function(t){t.forEach(function(t){t.options?t.options.forEach(e):e(t)})}),t},innerStyle:function(){return this.inFullscreen?this.contentStyle:[{minHeight:this.minHeight,height:this.height,maxHeight:this.maxHeight},this.contentStyle]},innerClass:function(){return[this.contentClass,{col:this.inFullscreen,"overflow-auto":this.inFullscreen||this.maxHeight}]}},data:function(){return{editWatcher:!0,editLinkUrl:null}},watch:{value:function(t){this.editWatcher?this.$refs.content.innerHTML=t:this.editWatcher=!0}},methods:{onInput:function(t){if(this.editWatcher){var e=this.$refs.content.innerHTML;e!==this.value&&(this.editWatcher=!1,this.$emit("input",e))}},onKeydown:function(t){var e=W(t);if(!t.ctrlKey)return this.refreshToolbar(),void(this.$q.platform.is.ie&&this.$nextTick(this.onInput));var i=this.keys[e];if(void 0!==i){var n=i.cmd,r=i.param;tt(t),this.runCmd(n,r,!1),this.$q.platform.is.ie&&this.$nextTick(this.onInput)}},runCmd:function(t,e,i){var n=this;void 0===i&&(i=!0),this.focus(),this.caret.apply(t,e,function(){n.focus(),i&&n.refreshToolbar()})},refreshToolbar:function(){var t=this;setTimeout(function(){t.editLinkUrl=null,t.$forceUpdate()},1)},focus:function(){this.$refs.content.focus()},getContentEl:function(){return this.$refs.content}},created:function(){o||(document.execCommand("defaultParagraphSeparator",!1,"div"),this.defaultFont=window.getComputedStyle(document.body).fontFamily)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.content&&(t.caret=new Mn(t.$refs.content,t),t.$refs.content.innerHTML=t.value),t.$nextTick(t.refreshToolbar)})},render:function(t){var e,i=this;if(this.hasToolbar){var n={staticClass:"q-editor-toolbar row no-wrap scroll-x",class:[{"q-editor-toolbar-separator":!this.toolbarOutline&&!this.toolbarPush},this.toolbarBackgroundClass]};(e=[]).push(t("div",Dn({key:"qedt_top"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},$n(t,this))])),null!==this.editLinkUrl&&e.push(t("div",Dn({key:"qedt_btm"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},Tn(t,this))])),e=t("div",e)}return t("div",{staticClass:"q-editor",style:{height:this.inFullscreen?"100vh":null},class:{disabled:this.disable,fullscreen:this.inFullscreen,column:this.inFullscreen}},[e,t("div",{ref:"content",staticClass:"q-editor-content",style:this.innerStyle,class:this.innerClass,attrs:{contenteditable:this.editable},domProps:o?{innerHTML:this.value}:void 0,on:{input:this.onInput,keydown:this.onKeydown,click:this.refreshToolbar,blur:function(){i.caret.save()}}})])}},zn={props:{outline:Boolean,push:Boolean,flat:Boolean,color:String,textColor:String,glossy:Boolean}},Fn={name:"QFab",mixins:[zn,V],provide:function(){var t=this;return{__qFabClose:function(e){return t.hide(e).then(function(){return t.$refs.trigger&&t.$refs.trigger.$el&&t.$refs.trigger.$el.focus(),e})}}},props:{icon:String,activeIcon:String,direction:{type:String,default:"right"},persistent:Boolean},watch:{$route:function(){!this.persistent&&this.hide()}},created:function(){this.value&&this.show()},render:function(t){return t("div",{staticClass:"q-fab z-fab row inline justify-center",class:{"q-fab-opened":this.showing}},[t(he,{ref:"trigger",props:{fab:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy},on:{click:this.toggle}},[this.$slots.tooltip,t(St,{staticClass:"q-fab-icon absolute-full",props:{name:this.icon||this.$q.icon.fab.icon}}),t(St,{staticClass:"q-fab-active-icon absolute-full",props:{name:this.activeIcon||this.$q.icon.fab.activeIcon}})]),t("div",{staticClass:"q-fab-actions flex no-wrap inline items-center",class:"q-fab-"+this.direction},this.$slots.default)])}},Hn={name:"QFabAction",mixins:[zn],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(he,{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}},Vn={name:"QField",mixins:[ke],props:{inset:{type:String,validator:function(t){return["icon","label","full"].includes(t)}},label:String,count:{type:[Number,Boolean],default:!1},error:Boolean,errorLabel:String,warning:Boolean,warningLabel:String,helper:String,icon:String,iconColor:String,dark:Boolean,orientation:{type:String,validator:function(t){return["vertical","horizontal"].includes(t)}},labelWidth:{type:[Number,String],default:5,validator:function(t){var e=parseInt(t,10);return e>0&&e<13}}},data:function(){return{input:{}}},computed:{hasError:function(){return this.input.error||this.error},hasWarning:function(){return!this.hasError&&(this.input.warning||this.warning)},childHasLabel:function(){return this.input.floatLabel||this.input.stackLabel},isDark:function(){return this.input.dark||this.dark},insetIcon:function(){return["icon","full"].includes(this.inset)},hasNoInput:function(){return this.canRender&&(!this.input.$options||this.input.__needsBorder)},counter:function(){if(this.count){var t=this.input.length||"0";return Number.isInteger(this.count)?t+" / "+this.count:t}},classes:function(){return{"q-field-responsive":!this.isVertical&&!this.isHorizontal,"q-field-vertical":this.isVertical,"q-field-horizontal":this.isHorizontal,"q-field-floating":this.childHasLabel,"q-field-no-label":!this.label&&!this.$slots.label,"q-field-with-error":this.hasError,"q-field-with-warning":this.hasWarning,"q-field-dark":this.isDark,"q-field-no-input":this.hasNoInput}},computedLabelWidth:function(){return parseInt(this.labelWidth,10)},isVertical:function(){return"vertical"===this.orientation||12===this.computedLabelWidth},isHorizontal:function(){return"horizontal"===this.orientation},labelClasses:function(){return this.isVertical?"col-12":this.isHorizontal?"col-"+this.labelWidth:"col-xs-12 col-sm-"+this.labelWidth},inputClasses:function(){return this.isVertical?"col-xs-12":this.isHorizontal?"col":"col-xs-12 col-sm"},iconProps:function(){var t={name:this.icon};return!this.iconColor||this.hasError||this.hasWarning||(t.color=this.iconColor),t},insetHasLabel:function(){return["label","full"].includes(this.inset)}},provide:function(){return{__field:this}},methods:{__registerInput:function(t){this.input=t},__unregisterInput:function(t){t&&t!==this.input||(this.input={})},__getBottomContent:function(t){var e;return this.hasError&&(e=this.$slots["error-label"]||this.errorLabel)?t("div",{staticClass:"q-field-error col"},e):this.hasWarning&&(e=this.$slots["warning-label"]||this.warningLabel)?t("div",{staticClass:"q-field-warning col"},e):(e=this.$slots.helper||this.helper)?t("div",{staticClass:"q-field-helper col"},e):t("div",{staticClass:"col text-transparent"},["|"])},__hasBottom:function(){return this.$slots["error-label"]||this.errorLabel||this.$slots["warning-label"]||this.warningLabel||this.$slots.helper||this.helper||this.count}},render:function(t){var e=this.$slots.label||this.label;return t("div",{staticClass:"q-field row no-wrap items-start",class:this.classes},[this.icon?t(St,{props:this.iconProps,staticClass:"q-field-icon q-field-margin"}):this.insetIcon?t("div",{staticClass:"q-field-icon"}):null,t("div",{staticClass:"row col"},[e||this.insetHasLabel?t("div",{staticClass:"q-field-label q-field-margin",class:this.labelClasses},[t("div",{staticClass:"q-field-label-inner row items-center"},[this.$slots.label||this.label])]):null,t("div",{staticClass:"q-field-content",class:this.inputClasses},[this.$slots.default,this.__hasBottom()?t("div",{staticClass:"q-field-bottom row no-wrap"},[this.__getBottomContent(t),this.counter?t("div",{staticClass:"q-field-counter col-auto"},[this.counter]):null]):null])])])}},Qn={name:"QInfiniteScroll",props:{handler:{type:Function,required:!0},inline:Boolean,offset:{type:Number,default:0}},data:function(){return{index:0,fetching:!1,working:!0}},methods:{poll:function(){if(!this.fetching&&this.working){var t=nt(this.scrollContainer),e=et(this.scrollContainer).top+t;et(this.element).top+nt(this.element)-(this.offset||t)<e&&this.loadMore()}},loadMore:function(){var t=this;!this.fetching&&this.working&&(this.index++,this.fetching=!0,this.handler(this.index,function(e){t.fetching=!1,e?t.stop():t.element.closest("body")&&t.poll()}))},reset:function(){this.index=0},resume:function(){!0!==this.working&&(this.working=!0,this.scrollContainer.addEventListener("scroll",this.poll,Q.passive)),this.immediatePoll()},stop:function(){this.working=!1,this.fetching=!1,this.scrollContainer.removeEventListener("scroll",this.poll,Q.passive)}},mounted:function(){var t=this;this.$nextTick(function(){t.element=t.$refs.content,t.scrollContainer=t.inline?t.$el:at(t.$el),t.poll(),t.immediatePoll=t.poll,t.poll=wn(t.poll,50),!0===t.working&&t.scrollContainer.addEventListener("scroll",t.poll,Q.passive)})},beforeDestroy:function(){this.scrollContainer.removeEventListener("scroll",this.poll,Q.passive)},render:function(t){return t("div",{staticClass:"q-infinite-scroll"},[t("div",{ref:"content",staticClass:"q-infinite-scroll-content"},this.$slots.default),this.fetching?t("div",{staticClass:"q-infinite-scroll-message"},this.$slots.message):null])}},Un={name:"QInnerLoading",props:{dark:Boolean,visible:Boolean,size:{type:[String,Number],default:42},color:String},render:function(t){if(this.visible)return t("div",{staticClass:"q-inner-loading animate-fade absolute-full column flex-center",class:{dark:this.dark}},this.$slots.default||[t(ue,{props:{size:this.size,color:this.color}})])}},Wn={name:"QJumbotron",props:{dark:Boolean,tag:{type:String,default:"div"},imgSrc:String,gradient:String},computed:{gradientType:function(){if(this.gradient)return this.gradient.indexOf("circle")>-1?"radial":"linear"},computedStyle:function(){return this.imgSrc?{"background-image":"url("+this.imgSrc+")"}:this.gradientType?{background:this.gradientType+"-gradient("+this.gradient+")"}:void 0}},render:function(t){return t(this.tag,{staticClass:"q-jumbotron",style:this.computedStyle,class:{"q-jumbotron-dark":this.dark}},this.$slots.default)}},Kn={name:"QKnob",directives:{TouchPan:Ve},props:{value:Number,min:{type:Number,default:0},max:{type:Number,default:100},color:String,trackColor:{type:String,default:"grey-3"},lineWidth:{type:String,default:"6px"},size:{type:String,default:"100px"},step:{type:Number,default:1},decimals:Number,disable:Boolean,readonly:Boolean},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly||t.push("cursor-pointer"),this.color&&t.push("text-"+this.color),t},svgStyle:function(){return{"stroke-dasharray":"295.31px, 295.31px","stroke-dashoffset":295.31*(this.$q.i18n.rtl?-1:1)*(1-(this.model-this.min)/(this.max-this.min))+"px",transition:this.dragging?"":"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},editable:function(){return!this.disable&&!this.readonly},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},data:function(){return{model:this.value,dragging:!1}},watch:{value:function(t){var e=this;if(t<this.min)this.model=this.min;else{if(!(t>this.max)){var i=this.computedDecimals&&"number"==typeof t?parseFloat(t.toFixed(this.computedDecimals)):t;return void(i!==this.model&&(this.model=i))}this.model=this.max}this.$emit("input",this.model),this.$nextTick(function(){e.model!==e.value&&e.$emit("change",e.model)})}},methods:{__pan:function(t){this.editable&&(t.isFinal?this.__dragStop(t.evt):t.isFirst?this.__dragStart(t.evt):this.__dragMove(t.evt))},__dragStart:function(t){this.editable&&(tt(t),this.centerPosition=this.__getCenter(),clearTimeout(this.timer),this.dragging=!0,this.__onInput(t))},__dragMove:function(t){this.dragging&&this.editable&&(tt(t),this.__onInput(t,this.centerPosition))},__dragStop:function(t){var e=this;this.editable&&(tt(t),this.timer=setTimeout(function(){e.dragging=!1},100),this.__onInput(t,this.centerPosition,!0))},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){tt(t);var i=t.ctrlKey?10*this.computedStep:this.computedStep,n=[37,40].includes(e)?-i:i;this.__onInputValue(Ft(this.model+n,this.min,this.max))}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__emitChange()},__onInput:function(t,e,i){if(void 0===e&&(e=this.__getCenter()),this.editable){var n=K(t),r=Math.abs(n.top-e.top),s=Math.sqrt(Math.pow(Math.abs(n.top-e.top),2)+Math.pow(Math.abs(n.left-e.left),2)),o=Math.asin(r/s)*(180/Math.PI);o=n.top<e.top?e.left<n.left?90-o:270+o:e.left<n.left?o+90:270-o,this.$q.i18n.rtl&&(o=360-o);var a=this.min+o/360*(this.max-this.min),l=a%this.step,c=Ft(a-l+(Math.abs(l)>=this.step/2?(l<0?-1:1)*this.step:0),this.min,this.max);this.__onInputValue(c,i)}},__onInputValue:function(t,e){this.computedDecimals&&(t=parseFloat(t.toFixed(this.computedDecimals))),this.model!==t&&(this.model=t),this.$emit("drag-value",t),this.value!==t&&(this.$emit("input",t),e&&this.__emitChange(t))},__emitChange:function(t){var e=this;void 0===t&&(t=this.model),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__getCenter:function(){var t=et(this.$el);return{top:t.top+nt(this.$el)/2,left:t.left+rt(this.$el)/2}}},render:function(t){var e=this;return t("div",{staticClass:"q-knob non-selectable",class:this.classes,style:{width:this.size,height:this.size}},[t("div",{on:{click:function(t){return!e.dragging&&e.__onInput(t,void 0,!0)}},directives:this.editable?[{name:"touch-pan",modifiers:{prevent:!0,stop:!0},value:this.__pan}]:null},[t("svg",{attrs:{viewBox:"0 0 100 100"}},[t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-width":this.lineWidth},class:"text-"+this.trackColor}),t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-linecap":"round","stroke-width":this.lineWidth},style:this.svgStyle})]),t("div",{staticClass:"q-knob-label row flex-center content-center",attrs:{tabindex:this.editable?0:-1},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},this.$slots.default||[t("span",[this.model])])])])}},Yn={name:"QScrollObservable",props:{debounce:Number},render:function(){},data:function(){return{pos:0,dir:"down",dirChanged:!1,dirChangePos:0}},methods:{getPosition:function(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger:function(t){!0===t||0===this.debounce?this.emit():this.timer||(this.timer=this.debounce?setTimeout(this.emit,this.debounce):requestAnimationFrame(this.emit))},emit:function(){var t=Math.max(0,lt(this.target)),e=t-this.pos<0?"up":"down";this.dirChanged=this.dir!==e,this.dirChanged&&(this.dir=e,this.dirChangePos=this.pos),this.timer=null,this.pos=t,this.$emit("scroll",this.getPosition())}},mounted:function(){this.target=at(this.$el.parentNode),this.target.addEventListener("scroll",this.trigger,Q.passive),this.trigger(!0)},beforeDestroy:function(){clearTimeout(this.timer),cancelAnimationFrame(this.timer),this.target.removeEventListener("scroll",this.trigger,Q.passive)}},Jn={name:"QLayout",provide:function(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:function(t){return/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}}},data:function(){return{height:l?0:window.innerHeight,width:l||this.container?0:window.innerWidth,containerHeight:0,scrollbarWidth:l?0:ft(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows:function(){var t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},targetStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"left":"right"]=this.scrollbarWidth+"px",t},targetChildStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"right":"left"]=0,t[this.$q.i18n.rtl?"left":"right"]="-"+this.scrollbarWidth+"px",t.width="calc(100% + "+this.scrollbarWidth+"px)",t}},created:function(){this.instances={header:null,right:null,footer:null,left:null}},render:function(t){var e=t("div",{staticClass:"q-layout"},[t(Yn,{on:{scroll:this.__onPageScroll}}),t(pn,{on:{resize:this.__onPageResize}}),this.$slots.default]);return this.container?t("div",{staticClass:"q-layout-container relative-position overflow-hidden"},[t(pn,{on:{resize:this.__onContainerResize}}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"overflow-auto",style:this.targetChildStyle},[e])])]):e},methods:{__animate:function(){var t=this;this.timer?clearTimeout(this.timer):document.body.classList.add("q-layout-animate"),this.timer=setTimeout(function(){document.body.classList.remove("q-layout-animate"),t.timer=null},150)},__onPageScroll:function(t){this.scroll=t,this.$emit("scroll",t)},__onPageResize:function(t){var e=t.height,i=t.width,n=!1;this.height!==e&&(n=!0,this.height=e,this.$emit("scrollHeight",e),this.__updateScrollbarWidth()),this.width!==i&&(n=!0,this.width=i),n&&this.$emit("resize",{height:e,width:i})},__onContainerResize:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__updateScrollbarWidth())},__updateScrollbarWidth:function(){if(this.container){var t=this.height>this.containerHeight?ft():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}}}},Gn=150,Xn={name:"QLayoutDrawer",inject:{layout:{default:function(){console.error("QLayoutDrawer needs to be child of QLayout")}}},mixins:[V],directives:{TouchPan:Ve},props:{overlay:Boolean,side:{type:String,default:"left",validator:function(t){return["left","right"].includes(t)}},width:{type:Number,default:300},mini:Boolean,miniWidth:{type:Number,default:60},breakpoint:{type:Number,default:992},behavior:{type:String,validator:function(t){return["default","desktop","mobile"].includes(t)},default:"default"},showIfAbove:Boolean,contentStyle:Object,contentClass:[String,Object,Array],noHideOnRouteChange:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean},data:function(){var t=this.showIfAbove||void 0===this.value||this.value,e="mobile"!==this.behavior&&this.breakpoint<this.layout.width&&!this.overlay&&t;return void 0!==this.value&&this.value!==e&&this.$emit("input",e),{showing:e,belowBreakpoint:"mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=this.layout.width,largeScreenState:t,mobileOpened:!1}},watch:{belowBreakpoint:function(t){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide(!1)):this.overlay||this[this.largeScreenState?"show":"hide"](!1))},side:function(t,e){this.layout[e].space=!1,this.layout[e].offset=0},behavior:function(t){this.__updateLocal("belowBreakpoint","mobile"===t||"desktop"!==t&&this.breakpoint>=this.layout.width)},breakpoint:function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&t>=this.layout.width)},"layout.width":function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=t)},"layout.scrollbarWidth":function(){this.applyPosition(this.showing?0:void 0)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.$emit("on-layout",t),this.__update("space",t)},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(t){this.applyPosition(),this.__update("size",t)},"$q.i18n.rtl":function(){this.applyPosition()},mini:function(){this.value&&this.layout.__animate()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},size:function(){return this.isMini?this.miniWidth:this.width},fixed:function(){return this.overlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1},onLayout:function(){return this.showing&&!this.mobileView&&!this.overlay},onScreenOverlay:function(){return this.showing&&!this.mobileView&&this.overlay},backdropClass:function(){return{"no-pointer-events":!this.showing||!this.mobileView}},mobileView:function(){return this.belowBreakpoint||this.mobileOpened},headerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0])},footerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0])},belowClass:function(){return{fixed:!0,"on-top":!0,"q-layout-drawer-delimiter":this.fixed&&this.showing,"q-layout-drawer-mobile":!0,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"q-layout-drawer-mini":this.isMini,"q-layout-drawer-normal":!this.isMini,"q-layout-drawer-delimiter":this.fixed&&this.showing,"top-padding":this.headerSlot}},aboveStyle:function(){var t={};return this.layout.header.space&&!this.headerSlot&&(this.fixed?t.top=this.layout.header.offset+"px":this.layout.header.space&&(t.top=this.layout.header.size+"px")),this.layout.footer.space&&!this.footerSlot&&(this.fixed?t.bottom=this.layout.footer.offset+"px":this.layout.footer.space&&(t.bottom=this.layout.footer.size+"px")),t},computedStyle:function(){return[this.contentStyle,{width:this.size+"px"},this.mobileView?"":this.aboveStyle]},computedClass:function(){return["q-layout-drawer-"+this.side,this.layout.container?"overflow-auto":"scroll",this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)},isMini:function(){return this.mini&&!this.mobileView},onNativeEvents:function(){var t=this;if(!this.mobileView)return{"!click":function(e){t.$emit("click",e)},mouseover:function(e){t.$emit("mouseover",e)},mouseout:function(e){t.$emit("mouseout",e)}}}},methods:{applyPosition:function(t){var e=this;void 0===t?this.$nextTick(function(){t=e.showing?0:e.size,e.applyPosition(e.stateDirection*t)}):this.$refs.content&&(this.layout.container&&this.rightSide&&(this.mobileView||Math.abs(t)===this.size)&&(t+=this.stateDirection*this.layout.scrollbarWidth),this.$refs.content.style.transform="translateX("+t+"px)")},applyBackdrop:function(t){this.$refs.backdrop&&(this.$refs.backdrop.style.backgroundColor="rgba(0,0,0,"+.4*t+")")},__setScrollable:function(t){this.layout.container||document.body.classList[t?"add":"remove"]("q-body-drawer-toggle")},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,i=Ft(t.distance.x,0,e);if(t.isFinal){var n=this.$refs.content,r=i>=Math.min(75,e);return n.classList.remove("no-transition"),void(r?this.show():(this.layout.__animate(),this.applyBackdrop(0),this.applyPosition(this.stateDirection*e),n.classList.remove("q-layout-drawer-delimiter")))}if(this.applyPosition((this.$q.i18n.rtl?!this.rightSide:this.rightSide)?Math.max(e-i,0):Math.min(0,i-e)),this.applyBackdrop(Ft(i/e,0,1)),t.isFirst){var s=this.$refs.content;s.classList.add("no-transition"),s.classList.add("q-layout-drawer-delimiter")}}},__closeByTouch:function(t){if(this.mobileOpened){var e=this.size,i=t.direction===this.side,n=(this.$q.i18n.rtl?!i:i)?Ft(t.distance.x,0,e):0;if(t.isFinal){var r=Math.abs(n)<Math.min(75,e);return this.$refs.content.classList.remove("no-transition"),void(r?(this.layout.__animate(),this.applyBackdrop(1),this.applyPosition(0)):this.hide())}this.applyPosition(this.stateDirection*n),this.applyBackdrop(Ft(1-n/e,0,1)),t.isFirst&&this.$refs.content.classList.add("no-transition")}},__show:function(t){var e=this;void 0===t&&(t=!0),t&&this.layout.__animate(),this.applyPosition(0);var i=this.layout.instances[this.rightSide?"left":"right"];i&&i.mobileOpened&&i.hide(),this.belowBreakpoint?(this.mobileOpened=!0,this.applyBackdrop(1),this.layout.container||(this.preventedScroll=!0,bt(!0))):this.__setScrollable(!0),clearTimeout(this.timer),this.timer=setTimeout(function(){e.showPromise&&(e.showPromise.then(function(){e.__setScrollable(!1)}),e.showPromiseResolve())},Gn)},__hide:function(t){var e=this;void 0===t&&(t=!0),t&&this.layout.__animate(),this.mobileOpened&&(this.mobileOpened=!1),this.applyPosition(this.stateDirection*this.size),this.applyBackdrop(0),this.__cleanup(),clearTimeout(this.timer),this.timer=setTimeout(function(){e.hidePromise&&e.hidePromiseResolve()},Gn)},__cleanup:function(){this.preventedScroll&&(this.preventedScroll=!1,bt(!1)),this.__setScrollable(!1)},__update:function(t,e){this.layout[this.side][t]!==e&&(this.layout[this.side][t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}},created:function(){this.layout.instances[this.side]=this,this.__update("size",this.size),this.__update("space",this.onLayout),this.__update("offset",this.offset)},mounted:function(){this.applyPosition(this.showing?0:void 0)},beforeDestroy:function(){clearTimeout(this.timer),this.showing&&this.__cleanup(),this.layout.instances[this.side]===this&&(this.layout.instances[this.side]=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},render:function(t){return t("div",{staticClass:"q-drawer-container"},[this.mobileView&&!this.noSwipeOpen?t("div",{staticClass:"q-layout-drawer-opener fixed-"+this.side,directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__openByTouch}]}):null,t("div",{ref:"backdrop",staticClass:"fullscreen q-layout-backdrop q-layout-transition",class:this.backdropClass,on:{click:this.hide},directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]})].concat([t("aside",{ref:"content",staticClass:"q-layout-drawer q-layout-transition",class:this.computedClass,style:this.computedStyle,attrs:this.$attrs,on:this.onNativeEvents,directives:this.mobileView&&!this.noSwipeClose?[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]:null},this.isMini&&this.$slots.mini?[this.$slots.mini]:this.$slots.default)]))}},Zn={name:"QWindowResizeObservable",props:{debounce:{type:Number,default:80}},render:function(){},methods:{trigger:function(){0===this.debounce?this.emit():this.timer||(this.timer=setTimeout(this.emit,this.debounce))},emit:function(t){this.timer=null,this.$emit("resize",{height:t?0:window.innerHeight,width:t?0:window.innerWidth})}},created:function(){this.emit(l)},mounted:function(){a&&this.emit(),window.addEventListener("resize",this.trigger,Q.passive)},beforeDestroy:function(){clearTimeout(this.timer),window.removeEventListener("resize",this.trigger,Q.passive)}},tr={name:"QLayoutFooter",mixins:[ke],inject:{layout:{default:function(){console.error("QLayoutFooter needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean},data:function(){return{size:0,revealed:!0,windowHeight:l||this.layout.container?0:window.innerHeight}},watch:{value:function(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset:function(t){this.__update("offset",t)},reveal:function(t){t||this.__updateLocal("revealed",this.value)},revealed:function(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll":function(){this.__updateRevealed()},"layout.height":function(){this.__updateRevealed()},size:function(){this.__updateRevealed()}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("F")>-1||this.layout.container},containerHeight:function(){return this.layout.container?this.layout.containerHeight:this.windowHeight},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.layout.scroll.position+this.containerHeight+this.size-this.layout.height;return t>0?t:0},computedClass:function(){return{"fixed-bottom":this.fixed,"absolute-bottom":!this.fixed,hidden:!this.value&&!this.fixed,"q-layout-footer-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.bottom,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("footer",{staticClass:"q-layout-footer q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(pn,{props:{debounce:0},on:{resize:this.__onResize}}),!this.layout.container&&t(Zn,{props:{debounce:0},on:{resize:this.__onWindowResize}})||void 0,this.$slots.default])},created:function(){this.layout.instances.footer=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.footer===this&&(this.layout.instances.footer=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__onWindowResize:function(t){var e=t.height;this.__updateLocal("windowHeight",e)},__update:function(t,e){this.layout.footer[t]!==e&&(this.layout.footer[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)},__updateRevealed:function(){if(this.reveal){var t=this.layout.scroll,e=t.direction,i=t.position,n=t.inflexionPosition;this.__updateLocal("revealed","up"===e||i-n<100||this.layout.height-this.containerHeight-i-this.size<300)}}}},er={name:"QLayoutHeader",mixins:[ke],inject:{layout:{default:function(){console.error("QLayoutHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250}},data:function(){return{size:0,revealed:!0}},watch:{value:function(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset:function(t){this.__update("offset",t)},reveal:function(t){t||this.__updateLocal("revealed",this.value)},revealed:function(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll":function(t){this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("H")>-1||this.layout.container},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.size-this.layout.scroll.position;return t>0?t:0},computedClass:function(){return{"fixed-top":this.fixed,"absolute-top":!this.fixed,"q-layout-header-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.top,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("header",{staticClass:"q-layout-header q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(pn,{props:{debounce:0},on:{resize:this.__onResize}}),this.$slots.default])},created:function(){this.layout.instances.header=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.header===this&&(this.layout.instances.header=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__update:function(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}}},ir={name:"QPage",inject:{pageContainer:{default:function(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style:function(){var t=(this.layout.header.space?this.layout.header.size:0)+(this.layout.footer.space?this.layout.footer.size:0);return"function"==typeof this.styleFn?this.styleFn(t):{minHeight:this.layout.container?this.layout.containerHeight-t+"px":t?"calc(100vh - "+t+"px)":"100vh"}},classes:function(){if(this.padding)return"layout-padding"}},render:function(t){return t("main",{staticClass:"q-layout-page",style:this.style,class:this.classes},this.$slots.default)}},nr={name:"QPageContainer",inject:{layout:{default:function(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style:function(){var t={};return this.layout.header.space&&(t.paddingTop=this.layout.header.size+"px"),this.layout.right.space&&(t["padding"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),this.layout.footer.space&&(t.paddingBottom=this.layout.footer.size+"px"),this.layout.left.space&&(t["padding"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),t}},render:function(t){return t("div",{staticClass:"q-layout-page-container q-layout-transition",style:this.style},this.$slots.default)}},rr={name:"QPageSticky",inject:{layout:{default:function(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:function(t){return["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)}},offset:{type:Array,validator:function(t){return 2===t.length}},expand:Boolean},computed:{attach:function(){var t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top:function(){return this.layout.header.offset},right:function(){return this.layout.right.offset},bottom:function(){return this.layout.footer.offset},left:function(){return this.layout.left.offset},computedStyle:function(){var t=this.attach,e=[],i=this.$q.i18n.rtl?-1:1;t.top&&this.top?e.push("translateY("+this.top+"px)"):t.bottom&&this.bottom&&e.push("translateY("+-this.bottom+"px)"),t.left&&this.left?e.push("translateX("+i*this.left+"px)"):t.right&&this.right&&e.push("translateX("+-i*this.right+"px)");var n=e.length?{transform:e.join(" ")}:{};return this.offset&&(n.margin=this.offset[1]+"px "+this.offset[0]+"px"),t.vertical?(this.left&&(n[this.$q.i18n.rtl?"right":"left"]=this.left+"px"),this.right&&(n[this.$q.i18n.rtl?"left":"right"]=this.right+"px")):t.horizontal&&(this.top&&(n.top=this.top+"px"),this.bottom&&(n.bottom=this.bottom+"px")),n},classes:function(){return["fixed-"+this.position,"q-page-sticky-"+(this.expand?"expand":"shrink")]}},render:function(t){return t("div",{staticClass:"q-page-sticky q-layout-transition row flex-center",class:this.classes,style:this.computedStyle},this.expand?this.$slots.default:[t("span",this.$slots.default)])}},sr={name:"QListHeader",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-list-header",class:{"q-list-header-inset":this.inset}},this.$slots.default)}},or={name:"QModalLayout",inject:{__qmodal:{default:function(){console.error("QModalLayout needs to be child of QModal")}}},props:{headerStyle:[String,Object,Array],headerClass:[String,Object,Array],contentStyle:[String,Object,Array],contentClass:[String,Object,Array],footerStyle:[String,Object,Array],footerClass:[String,Object,Array]},watch:{__qmodal:function(t,e){e&&e.unregister(this),t&&t.register(this)}},mounted:function(){this.__qmodal&&this.__qmodal.register(this)},beforeDestroy:function(){this.__qmodal&&this.__qmodal.unregister(this)},render:function(t){var e=[];return(this.$slots.header||this.$slots.navigation)&&e.push(t("div",{staticClass:"q-layout-header",style:this.headerStyle,class:this.headerClass},[this.$slots.header,this.$slots.navigation])),e.push(t("div",{staticClass:"q-modal-layout-content col scroll",style:this.contentStyle,class:this.contentClass},this.$slots.default)),this.$slots.footer&&e.push(t("div",{staticClass:"q-layout-footer",style:this.footerStyle,class:this.footerClass},[this.$slots.footer,null])),t("div",{staticClass:"q-modal-layout col column no-wrap"},e)}},ar={name:"QNoSsr",mixins:[ke],props:{tag:{type:String,default:"div"},placeholder:String},render:function(t){if(this.canRender){var e=this.$slots.default;return e&&e.length>1?t(this.tag,e):e?e[0]:null}if(this.$slots.placeholder){var i=this.$slots.placeholder;return i&&i.length>1?t(this.tag,{staticClass:"q-no-ssr-placeholder"},i):i?i[0]:null}if(this.placeholder)return t(this.tag,{staticClass:"q-no-ssr-placeholder"},[this.placeholder])}},lr={name:"QPagination",props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,size:String,disable:Boolean,input:Boolean,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:function(t){return!(t<0)||(console.error("maxPages should not be negative"),!1)}}},data:function(){return{newPage:null}},watch:{min:function(t){this.model=this.value},max:function(t){this.model=this.value}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;if(!this.disable&&t&&!isNaN(t)){var i=Ft(parseInt(t,10),this.min,this.max);this.$emit("input",i),this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(e.value)&&e.$emit("change",i)})}}},inputPlaceholder:function(){return this.model+" / "+this.max},__boundaryLinks:function(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers:function(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks:function(){return this.__getBool(this.directionLinks,this.input)},__ellipses:function(){return this.__getBool(this.ellipses,!this.input)},icons:function(){var t=[this.$q.icon.pagination.first,this.$q.icon.pagination.prev,this.$q.icon.pagination.next,this.$q.icon.pagination.last];return this.$q.i18n.rtl?t.reverse():t}},methods:{set:function(t){this.model=t},setByOffset:function(t){this.model=this.model+t},__update:function(){this.model=this.newPage,this.newPage=null},__getBool:function(t,e){return[!0,!1].includes(t)?t:e},__getBtn:function(t,e,i){return e.props=Object.assign({color:this.color,flat:!0,size:this.size},i),t(he,e)}},render:function(t){var e=this,i=[],n=[],r=[];if(this.__boundaryLinks&&(i.push(this.__getBtn(t,{key:"bls",on:{click:function(){return e.set(e.min)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[0]})),n.unshift(this.__getBtn(t,{key:"ble",on:{click:function(){return e.set(e.max)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[3]}))),this.__directionLinks&&(i.push(this.__getBtn(t,{key:"bdp",on:{click:function(){return e.setByOffset(-1)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[1]})),n.unshift(this.__getBtn(t,{key:"bdn",on:{click:function(){return e.setByOffset(1)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[2]}))),this.input)r.push(t(mn,{staticClass:"inline no-padding",style:{width:this.inputPlaceholder.length+"rem"},props:{type:"number",value:this.newPage,noNumberToggle:!0,min:this.min,max:this.max,color:this.color,placeholder:this.inputPlaceholder,disable:this.disable,hideUnderline:!0},on:{input:function(t){return e.newPage=t},keydown:function(t){return 13===W(t)&&e.__update()},blur:function(){return e.__update()}}}));else{var s=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),o=this.min,a=this.max,l=!1,c=!1,u=!1,h=!1;this.maxPages&&s<this.max-this.min+1&&(s=1+2*Math.floor(s/2),o=Math.max(this.min,Math.min(this.max-s+1,this.value-Math.floor(s/2))),a=Math.min(this.max,o+s-1),this.__boundaryNumbers&&(u=!0,o+=1),this.__ellipses&&o>this.min+(this.__boundaryNumbers?1:0)&&(l=!0,o+=1),this.__boundaryNumbers&&(h=!0,a-=1),this.__ellipses&&a<this.max-(this.__boundaryNumbers?1:0)&&(c=!0,a-=1));var d={minWidth:Math.max(2,String(this.max).length)+"em"};if(u){var f=this.min===this.value;i.push(this.__getBtn(t,{key:"bns",style:d,on:{click:function(){return e.set(e.min)}}},{disable:this.disable,flat:!f,textColor:f?this.textColor:null,label:this.min,noRipple:!0}))}if(h){var p=this.max===this.value;n.unshift(this.__getBtn(t,{key:"bne",style:d,on:{click:function(){return e.set(e.max)}}},{disable:this.disable,flat:!p,textColor:p?this.textColor:null,label:this.max,noRipple:!0}))}l&&i.push(this.__getBtn(t,{key:"bes",style:d,on:{click:function(){return e.set(o-1)}}},{disable:this.disable,label:"…"})),c&&n.unshift(this.__getBtn(t,{key:"bee",style:d,on:{click:function(){return e.set(a+1)}}},{disable:this.disable,label:"…"}));for(var m=function(i){var n=i===e.value;r.push(e.__getBtn(t,{key:"bpg"+i,style:d,on:{click:function(){return e.set(i)}}},{disable:e.disable,flat:!n,textColor:n?e.textColor:null,label:i,noRipple:!0}))},v=o;v<=a;v++)m(v)}return t("div",{staticClass:"q-pagination row no-wrap items-center",class:{disabled:this.disable}},[i,t("div",{staticClass:"row justify-center"},[r]),n])}},cr={name:"QParallax",props:{src:String,height:{type:Number,default:500},speed:{type:Number,default:1,validator:function(t){return t>=0&&t<=1}}},data:function(){return{scrolling:!1}},watch:{height:function(){this.__updatePos()}},methods:{__onResize:function(){this.scrollTarget&&(this.mediaHeight=this.media.naturalHeight||nt(this.media),this.__updatePos())},__updatePos:function(){var t,e,i,n;if(this.scrollTarget===window?(t=0,i=e=window.innerHeight):i=(t=et(this.scrollTarget).top)+(e=nt(this.scrollTarget)),(n=et(this.$el).top)+this.height>t&&n<i){var r=(i-n)/(this.height+e);this.__setPos((this.mediaHeight-this.height)*r*this.speed)}},__setPos:function(t){this.media.style.transform="translate3D(-50%,"+t+"px, 0)"}},render:function(t){return t("div",{staticClass:"q-parallax",style:{height:this.height+"px"}},[t("div",{staticClass:"q-parallax-media absolute-full"},[this.$slots.media||t("img",{ref:"media",attrs:{src:this.src}})]),t("div",{staticClass:"q-parallax-text absolute-full column flex-center no-pointer-events"},this.$slots.default)])},beforeMount:function(){this.__setPos=Ce(this.__setPos)},mounted:function(){var t=this;this.$nextTick(function(){t.media=t.$slots.media?t.$slots.media[0].elm:t.$refs.media,t.media.onload=t.media.onloadstart=t.__onResize,t.scrollTarget=at(t.$el),t.resizeHandler=wn(t.__onResize,50),window.addEventListener("resize",t.resizeHandler,Q.passive),t.scrollTarget.addEventListener("scroll",t.__updatePos,Q.passive),t.__onResize()})},beforeDestroy:function(){window.removeEventListener("resize",this.resizeHandler,Q.passive),this.scrollTarget.removeEventListener("scroll",this.__updatePos,Q.passive),this.media.onload=this.media.onloadstart=null}},ur={name:"QPopupEdit",props:{value:{},persistent:Boolean,keepOnScreen:{type:Boolean,default:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:function(){return!0}},disable:Boolean},data:function(){return{initialValue:""}},watch:{value:function(){var t=this;this.$nextTick(function(){t.$refs.popover.reposition()})}},methods:{cancel:function(){this.__hasChanged()&&(this.$emit("cancel",this.value,this.initialValue),this.$emit("input",this.initialValue)),this.$nextTick(this.__close)},set:function(){if(this.__hasChanged()){if(!this.validate(this.value))return;this.$emit("save",this.value,this.initialValue)}this.__close()},__hasChanged:function(){return JSON.stringify(this.value)!==JSON.stringify(this.initialValue)},__close:function(){this.validated=!0,this.$refs.popover.hide()},__getContent:function(t){var e=this.$slots.title||this.title;return[e&&t("div",{staticClass:"q-title q-mt-sm q-mb-sm"},[e])||void 0].concat(this.$slots.default).concat([this.buttons&&t("div",{staticClass:"row justify-center no-wrap q-mt-sm"},[t(he,{props:{flat:!0,color:this.color,label:this.labelCancel||this.$q.i18n.label.cancel},on:{click:this.cancel}}),t(he,{staticClass:"q-ml-sm",props:{flat:!0,color:this.color,label:this.labelSet||this.$q.i18n.label.set},on:{click:this.set}})])||void 0])}},render:function(t){var e=this;return t(Se,{staticClass:"q-table-edit q-px-md q-py-sm",ref:"popover",props:{cover:!0,persistent:this.persistent,keepOnScreen:this.keepOnScreen,disable:this.disable},on:{show:function(){var t=e.$el.querySelector(".q-input-target:not(.q-input-shadow)")||e.$el.querySelector("input")||e.$el.querySelector("textarea");t&&t.focus(),e.$emit("show"),e.initialValue=Pi(e.value),e.validated=!1},"escape-key":function(){e.validated=!0,e.$emit("cancel",e.value,e.initialValue),e.$emit("input",e.initialValue)},hide:function(){e.validated||(e.__hasChanged()&&(e.validate(e.value)?e.$emit("save",e.value,e.initialValue):(e.$emit("cancel",e.value,e.initialValue),e.$emit("input",e.initialValue))),e.$emit("hide"))}},nativeOn:{keydown:function(t){13===W(t)&&(e.buttons?e.set():e.$refs.popover.hide())}}},this.__getContent(t))}};function hr(t){return{width:t+"%"}}var dr={name:"QProgress",props:{percentage:{type:Number,default:0},color:{type:String,default:"primary"},stripe:Boolean,animate:Boolean,indeterminate:Boolean,buffer:Number,height:{type:String,default:"4px"}},computed:{model:function(){return Ft(this.percentage,0,100)},bufferModel:function(){return Ft(this.buffer||0,0,100-this.model)},bufferStyle:function(){return hr(this.bufferModel)},trackStyle:function(){return hr(this.buffer?100-this.buffer:100)},computedClass:function(){return"text-"+this.color},computedStyle:function(){return{height:this.height}},modelClass:function(){return{animate:this.animate,stripe:this.stripe,indeterminate:this.indeterminate}},modelStyle:function(){return hr(this.model)}},render:function(t){return t("div",{staticClass:"q-progress",style:this.computedStyle,class:this.computedClass},[this.buffer&&!this.indeterminate?t("div",{staticClass:"q-progress-buffer",style:this.bufferStyle}):null,t("div",{staticClass:"q-progress-track",style:this.trackStyle}),t("div",{staticClass:"q-progress-model",style:this.modelStyle,class:this.modelClass})])}},fr=-65,pr={name:"QPullToRefresh",directives:{TouchPan:Ve},props:{handler:{type:Function,required:!0},color:{type:String,default:"primary"},distance:{type:Number,default:35},pullMessage:String,releaseMessage:String,refreshMessage:String,refreshIcon:String,inline:Boolean,disable:Boolean},data:function(){return{state:"pull",pullPosition:fr,animating:!1,pulling:!1,scrolling:!1}},watch:{inline:function(t){this.setScrollContainer(t)}},computed:{message:function(){switch(this.state){case"pulled":return this.releaseMessage||this.$q.i18n.pullToRefresh.release;case"refreshing":return this.refreshMessage||this.$q.i18n.pullToRefresh.refresh;case"pull":default:return this.pullMessage||this.$q.i18n.pullToRefresh.pull}},style:function(){return{transform:"translateY("+this.pullPosition+"px)",marginBottom:fr+"px"}},messageClass:function(){return"text-"+this.color}},methods:{__pull:function(t){if(!this.disable){if(t.isFinal)return this.scrolling=!1,this.pulling=!1,void("pulled"===this.state?(this.state="refreshing",this.__animateTo(0),this.trigger()):"pull"===this.state&&this.__animateTo(fr));if(this.animating||this.scrolling||"refreshing"===this.state)return!0;var e=lt(this.scrollContainer);if(0!==e||0===e&&"down"!==t.direction)return this.scrolling=!0,this.pulling&&(this.pulling=!1,this.state="pull",this.__animateTo(fr)),!0;t.evt.preventDefault(),this.pulling=!0,this.pullPosition=fr+Math.max(0,Math.pow(t.distance.y,.85)),this.state=this.pullPosition>this.distance?"pulled":"pull"}},__animateTo:function(t,e,i){var n=this;!i&&this.animationId&&cancelAnimationFrame(this.animating),this.pullPosition-=(this.pullPosition-t)/7,this.pullPosition-t>1?this.animating=requestAnimationFrame(function(){n.__animateTo(t,e,!0)}):this.animating=requestAnimationFrame(function(){n.pullPosition=t,n.animating=!1,e&&e()})},trigger:function(){var t=this;this.handler(function(){t.__animateTo(fr,function(){t.state="pull"})})},setScrollContainer:function(t){var e=this;this.$nextTick(function(){e.scrollContainer=t?e.$el.parentNode:at(e.$el)})}},mounted:function(){this.setScrollContainer(this.inline)},render:function(t){return t("div",{staticClass:"pull-to-refresh overflow-hidden-y"},[t("div",{staticClass:"pull-to-refresh-container",style:this.style,directives:this.disable?null:[{name:"touch-pan",modifiers:{vertical:!0,mightPrevent:!0},value:this.__pull}]},[t("div",{staticClass:"pull-to-refresh-message row flex-center",class:this.messageClass},[t(St,{class:{"rotate-180":"pulled"===this.state},props:{name:this.$q.icon.pullToRefresh.arrow},directives:[{name:"show",value:"refreshing"!==this.state}]}),t(St,{staticClass:"animate-spin",props:{name:this.refreshIcon||this.$q.icon.pullToRefresh.refresh},directives:[{name:"show",value:"refreshing"===this.state}]})," "+this.message]),this.$slots.default])])}},mr={MIN:0,RANGE:1,MAX:2},vr={name:"QRange",mixins:[$i],props:{value:{type:Object,default:function(){return{min:0,max:0}},validator:function(t){return t.hasOwnProperty("min")&&t.hasOwnProperty("max")}},dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelValue:String,rightLabelColor:String,rightLabelValue:String},data:function(){return{model:Object.assign({},this.value),dragging:!1,currentMinPercentage:(this.value.min-this.min)/(this.max-this.min),currentMaxPercentage:(this.value.max-this.min)/(this.max-this.min)}},computed:{percentageMin:function(){return this.snap?(this.model.min-this.min)/(this.max-this.min):this.currentMinPercentage},percentageMax:function(){return this.snap?(this.model.max-this.min)/(this.max-this.min):this.currentMaxPercentage},activeTrackWidth:function(){return 100*(this.percentageMax-this.percentageMin)+"%"},leftDisplayValue:function(){return void 0!==this.leftLabelValue?this.leftLabelValue:this.model.min},rightDisplayValue:function(){return void 0!==this.rightLabelValue?this.rightLabelValue:this.model.max},leftTooltipColor:function(){return this.leftLabelColor||this.labelColor},rightTooltipColor:function(){return this.rightLabelColor||this.labelColor}},watch:{"value.min":function(t){this.model.min=t},"value.max":function(t){this.model.max=t},"model.min":function(t){this.dragging||(t>this.model.max&&(t=this.model.max),this.currentMinPercentage=(t-this.min)/(this.max-this.min))},"model.max":function(t){this.dragging||(t<this.model.min&&(t=this.model.min),this.currentMaxPercentage=(t-this.min)/(this.max-this.min))},min:function(t){this.model.min<t&&this.__update({min:t}),this.model.max<t&&this.__update({max:t}),this.$nextTick(this.__validateProps)},max:function(t){this.model.min>t&&this.__update({min:t}),this.model.max>t&&this.__update({max:t}),this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e,i=this.$refs.handle,n=i.offsetWidth,r=(this.dragOnlyRange?-1:1)*this.$refs.handleMin.offsetWidth/(2*n),s={left:i.getBoundingClientRect().left,width:n,valueMin:this.model.min,valueMax:this.model.max,percentageMin:this.currentMinPercentage,percentageMax:this.currentMaxPercentage},o=Ci(t,s,this.$q.i18n.rtl);return o<this.currentMinPercentage+r?e=mr.MIN:o<this.currentMaxPercentage-r?this.dragRange||this.dragOnlyRange?(e=mr.RANGE,Object.assign(s,{offsetPercentage:o,offsetModel:Si(o,this.min,this.max,this.step,this.computedDecimals),rangeValue:s.valueMax-s.valueMin,rangePercentage:this.currentMaxPercentage-this.currentMinPercentage})):e=this.currentMaxPercentage-o<o-this.currentMinPercentage?mr.MAX:mr.MIN:e=mr.MAX,(!this.dragOnlyRange||e===mr.RANGE)&&(s.type=e,s)},__move:function(t,e){void 0===e&&(e=this.dragging);var i,n=Ci(t,e,this.$q.i18n.rtl),r=Si(n,this.min,this.max,this.step,this.computedDecimals);switch(e.type){case mr.MIN:i=n<=e.percentageMax?{minP:n,maxP:e.percentageMax,min:r,max:e.valueMax}:{minP:e.percentageMax,maxP:n,min:e.valueMax,max:r};break;case mr.MAX:i=n>=e.percentageMin?{minP:e.percentageMin,maxP:n,min:e.valueMin,max:r}:{minP:n,maxP:e.percentageMin,min:r,max:e.valueMin};break;case mr.RANGE:var s=n-e.offsetPercentage,o=Ft(e.percentageMin+s,0,1-e.rangePercentage),a=r-e.offsetModel,l=Ft(e.valueMin+a,this.min,this.max-e.rangeValue);i={minP:o,maxP:o+e.rangePercentage,min:parseFloat(l.toFixed(this.computedDecimals)),max:parseFloat((l+e.rangeValue).toFixed(this.computedDecimals))}}this.currentMinPercentage=i.minP,this.currentMaxPercentage=i.maxP,this.model={min:i.min,max:i.max}},__end:function(t,e){void 0===e&&(e=this.dragging),this.__move(t,e),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min)},__onKeyDown:function(t,e){var i=t.keyCode;if(this.editable&&[37,40,39,38].includes(i)){tt(t);var n=this.computedDecimals,r=t.ctrlKey?10*this.computedStep:this.computedStep,s=[37,40].includes(i)?-r:r,o=n?parseFloat((this.model[e]+s).toFixed(n)):this.model[e]+s;this.model[e]=Ft(o,"min"===e?this.min:this.model.min,"max"===e?this.max:this.model.max),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t,e){var i=t.keyCode;this.editable&&[37,40,39,38].includes(i)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):ki((this.max-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step):ki((this.model.min-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of initial value.min - min",this.model.min,this.min,this.step):ki((this.model.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of initial value.max - min",this.model.max,this.max,this.step)},__getHandle:function(t,e,i,n,r,s,o){var a,l=this;return t("div",{ref:"handle"+i,staticClass:"q-slider-handle q-slider-handle-"+e,style:(a={},a[this.$q.i18n.rtl?"right":"left"]=100*r+"%",a.borderRadius=this.square?"0":"50%",a),class:[n?"handle-at-minimum":null,{dragging:this.dragging}],attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:function(t){return l.__onKeyDown(t,e)},keyup:function(t){return l.__onKeyUp(t,e)}}},[this.label||this.labelAlways?t(hi,{props:{pointing:"down",square:!0,dense:!0,color:s},staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways}},[o]):null,t("div",{staticClass:"q-slider-ring"})])},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=100*this.percentageMin+"%",e.width=this.activeTrackWidth,e),class:{dragging:this.dragging,"track-draggable":this.dragRange||this.dragOnlyRange}}),this.__getHandle(t,"min","Min",!this.fillHandleAlways&&this.model.min===this.min,this.percentageMin,this.leftTooltipColor,this.leftDisplayValue),this.__getHandle(t,"max","Max",!1,this.percentageMax,this.rightTooltipColor,this.rightDisplayValue)]}}},gr={name:"QRating",props:{value:Number,max:{type:Number,default:5},icon:String,color:String,size:String,readonly:Boolean,disable:Boolean},data:function(){return{mouseModel:0}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},editable:function(){return!this.readonly&&!this.disable},classes:function(){var t=[];return this.disable&&t.push("disabled"),this.editable&&t.push("editable"),this.color&&t.push("text-"+this.color),t}},methods:{set:function(t){if(this.editable){var e=Ft(parseInt(t,10),1,this.max);this.model=this.model===e?0:e,this.mouseModel=0}},__setHoverValue:function(t){this.editable&&(this.mouseModel=t)}},render:function(t){for(var e=this,i=[],n=this.editable?0:-1,r=function(r){i.push(t("span",{key:r,ref:"rt"+r,attrs:{tabindex:n},on:{keydown:function(t){switch(W(t)){case 13:case 32:return e.set(r),tt(t);case 37:case 40:return e.$refs["rt"+(r-1)]&&e.$refs["rt"+(r-1)].focus(),tt(t);case 39:case 38:return e.$refs["rt"+(r+1)]&&e.$refs["rt"+(r+1)].focus(),tt(t)}}}},[t(St,{props:{name:e.icon||e.$q.icon.rating.icon},class:{active:!e.mouseModel&&e.model>=r||e.mouseModel&&e.mouseModel>=r,exselected:e.mouseModel&&e.model>=r&&e.mouseModel<r,hovered:e.mouseModel===r},attrs:{tabindex:-1},nativeOn:{click:function(){return e.set(r)},mouseover:function(){return e.__setHoverValue(r)},mouseout:function(){e.mouseModel=0},focus:function(){return e.__setHoverValue(r)},blur:function(){e.mouseModel=0}}})]))},s=1;s<=this.max;s++)r(s);return t("div",{staticClass:"q-rating row inline items-center",class:this.classes,style:this.size?"font-size: "+this.size:""},i)}},br={name:"QScrollArea",directives:{TouchPan:Ve},props:{thumbStyle:{type:Object,default:function(){return{}}},contentStyle:{type:Object,default:function(){return{}}},contentActiveStyle:{type:Object,default:function(){return{}}},delay:{type:Number,default:1e3}},data:function(){return{active:!1,hover:!1,containerHeight:0,scrollPosition:0,scrollHeight:0}},computed:{thumbHidden:function(){return this.scrollHeight<=this.containerHeight||!this.active&&!this.hover},thumbHeight:function(){return Math.round(Ft(this.containerHeight*this.containerHeight/this.scrollHeight,50,this.containerHeight))},style:function(){var t=this.scrollPercentage*(this.containerHeight-this.thumbHeight);return Object.assign({},this.thumbStyle,{top:t+"px",height:this.thumbHeight+"px"})},mainStyle:function(){return this.thumbHidden?this.contentStyle:this.contentActiveStyle},scrollPercentage:function(){var t=Ft(this.scrollPosition/(this.scrollHeight-this.containerHeight),0,1);return Math.round(1e4*t)/1e4}},methods:{setScrollPosition:function(t,e){dt(this.$refs.target,t,e)},__updateContainer:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__setActive(!0,!0))},__updateScroll:function(t){var e=t.position;this.scrollPosition!==e&&(this.scrollPosition=e,this.__setActive(!0,!0))},__updateScrollHeight:function(t){var e=t.height;this.scrollHeight!==e&&(this.scrollHeight=e,this.__setActive(!0,!0))},__panThumb:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0),document.body.classList.add("non-selectable"),document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()),t.isFinal&&(this.__setActive(!1),document.body.classList.remove("non-selectable"));var e=(this.scrollHeight-this.containerHeight)/(this.containerHeight-this.thumbHeight);this.$refs.target.scrollTop=this.refPos+("down"===t.direction?1:-1)*t.distance.y*e},__panContainer:function(t){t.isFirst&&(this.refPos=this.scrollPosition,this.__setActive(!0,!0)),t.isFinal&&this.__setActive(!1);var e=this.refPos+("down"===t.direction?-1:1)*t.distance.y;this.$refs.target.scrollTop=e,e>0&&e+this.containerHeight<this.scrollHeight&&t.evt.preventDefault()},__mouseWheel:function(t){var e=this.$refs.target;e.scrollTop+=Z(t).y,e.scrollTop>0&&e.scrollTop+this.containerHeight<this.scrollHeight&&t.preventDefault()},__setActive:function(t,e){clearTimeout(this.timer),t!==this.active?t?(this.active=!0,e&&this.__startTimer()):this.active=!1:t&&this.timer&&this.__startTimer()},__startTimer:function(){var t=this;this.timer=setTimeout(function(){t.active=!1,t.timer=null},this.delay)}},render:function(t){var e=this;return this.$q.platform.is.desktop?t("div",{staticClass:"q-scrollarea relative-position",on:{mouseenter:function(){e.hover=!0},mouseleave:function(){e.hover=!1}}},[t("div",{ref:"target",staticClass:"scroll relative-position overflow-hidden fit",on:{wheel:this.__mouseWheel},directives:[{name:"touch-pan",modifiers:{vertical:!0,noMouse:!0,mightPrevent:!0},value:this.__panContainer}]},[t("div",{staticClass:"absolute full-width",style:this.mainStyle},[t(pn,{on:{resize:this.__updateScrollHeight}}),this.$slots.default]),t(Yn,{on:{scroll:this.__updateScroll}})]),t(pn,{on:{resize:this.__updateContainer}}),t("div",{staticClass:"q-scrollarea-thumb absolute-right",style:this.style,class:{"invisible-thumb":this.thumbHidden},directives:[{name:"touch-pan",modifiers:{vertical:!0,prevent:!0},value:this.__panThumb}]})]):t("div",{staticClass:"q-scroll-area relative-position",style:this.contentStyle},[t("div",{ref:"target",staticClass:"scroll relative-position fit"},this.$slots.default)])}},yr={name:"QSearch",mixins:[fi,pi],props:{value:{required:!0},type:{type:String,default:"search"},debounce:{type:Number,default:300},icon:String,noIcon:Boolean,upperCase:Boolean,lowerCase:Boolean},data:function(){return{model:this.value,childDebounce:!1}},provide:function(){var t=this,e=function(e){t.model!==e&&(t.model=e)};return{__inputDebounce:{set:e,setNav:e,setChildDebounce:function(e){t.childDebounce=e}}}},watch:{value:function(t){this.model=t},model:function(t){var e=this;clearTimeout(this.timer),this.value!==t&&(t||0===t||(this.model="number"===this.type?null:""),this.timer=setTimeout(function(){e.$emit("input",e.model)},this.debounceValue))}},computed:{debounceValue:function(){return this.childDebounce?0:this.debounce},computedClearValue:function(){return this.isNumber&&0===this.clearValue?this.clearValue:this.clearValue||("number"===this.type?null:"")},controlBefore:function(){var t=(this.before||[]).slice();return this.noIcon||t.unshift({icon:this.icon||this.$q.icon.search.icon,handler:this.focus}),t},controlAfter:function(){var t=(this.after||[]).slice();return this.isClearable&&t.push({icon:this.$q.icon.search["clear"+(this.isInverted?"Inverted":"")],handler:this.clear}),t}},methods:{clear:function(t){this.$refs.input.clear(t)}},render:function(t){var e=this;return t(mn,{ref:"input",staticClass:"q-search",props:{value:this.model,type:this.type,autofocus:this.autofocus,placeholder:this.placeholder||this.$q.i18n.label.search,disable:this.disable,readonly:this.readonly,error:this.error,warning:this.warning,align:this.align,noParentField:this.noParentField,floatLabel:this.floatLabel,stackLabel:this.stackLabel,prefix:this.prefix,suffix:this.suffix,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,color:this.color,rows:this.rows,before:this.controlBefore,after:this.controlAfter,clearValue:this.clearValue,upperCase:this.upperCase,lowerCase:this.lowerCase},attrs:this.$attrs,on:{input:function(t){e.model=t},focus:this.__onFocus,blur:this.__onBlur,keyup:this.__onKeyup,keydown:this.__onKeydown,click:this.__onClick,paste:this.__onPaste,clear:function(t){e.$emit("clear",t),e.__emit()}}},this.$slots.default)}};function _r(t,e){return e.label.toLowerCase().indexOf(t)>-1}var wr={name:"QSelect",mixins:[fi,Te],props:{filter:[Function,Boolean],filterPlaceholder:String,radio:Boolean,placeholder:String,separator:Boolean,value:{required:!0},multiple:Boolean,toggle:Boolean,chips:Boolean,options:{type:Array,required:!0,validator:function(t){return t.every(function(t){return"label"in t&&"value"in t})}},chipsColor:String,chipsBgColor:String,displayValue:String,popupMaxHeight:String,popupCover:{type:Boolean,default:!0}},data:function(){return{model:this.multiple&&Array.isArray(this.value)?this.value.slice():this.value,terms:"",focused:!1}},watch:{value:function(t){this.model=this.multiple&&Array.isArray(t)?t.slice():t},visibleOptions:function(){this.__keyboardCalcIndex()}},computed:{optModel:function(){var t=this;if(this.multiple)return this.model.length>0?this.options.map(function(e){return t.model.includes(e.value)}):this.options.map(function(t){return!1})},visibleOptions:function(){var t=this,e=this.options.map(function(t,e){return Object.assign({},t,{index:e})});if(this.filter&&this.terms.length){var i=this.terms.toLowerCase();e=e.filter(function(e){return t.filterFn(i,e)})}return e},keyboardMaxIndex:function(){return this.visibleOptions.length-1},filterFn:function(){return"boolean"==typeof this.filter?_r:this.filter},actualValue:function(){var t=this;if(this.displayValue)return this.displayValue;if(!this.multiple){var e=this.options.find(function(e){return e.value===t.model});return e?e.label:""}var i=this.selectedOptions.map(function(t){return t.label});return i.length?i.join(", "):""},computedClearValue:function(){return void 0===this.clearValue?this.multiple?[]:null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.model)},selectedOptions:function(){var t=this;if(this.multiple)return this.length>0?this.options.filter(function(e){return t.model.includes(e.value)}):[]},hasChips:function(){return this.multiple&&this.chips&&this.length>0},length:function(){return this.multiple?this.model.length:[null,void 0,""].includes(this.model)?0:1},additionalLength:function(){return this.displayValue&&this.displayValue.length>0}},methods:{togglePopup:function(){this.$refs.popover&&this[this.$refs.popover.showing?"hide":"show"]()},show:function(){if(this.__keyboardCalcIndex(),this.$refs.popover)return this.$refs.popover.show()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()},reposition:function(){var t=this.$refs.popover;t&&t.showing&&this.$nextTick(function(){return t&&t.reposition()})},__keyboardCalcIndex:function(){var t=this;this.keyboardIndex=-1;var e=this.multiple?this.selectedOptions.map(function(t){return t.value}):[this.model];this.$nextTick(function(){var i=void 0===e?-1:Math.max(-1,t.visibleOptions.findIndex(function(t){return e.includes(t.value)}));i>-1&&(t.keyboardMoveDirection=!0,setTimeout(function(){t.keyboardMoveDirection=!1},500),t.__keyboardShow(i))})},__keyboardCustomKeyHandle:function(t,e){switch(t){case 27:this.$refs.popover.showing&&this.hide();break;case 13:case 32:this.$refs.popover.showing||this.show()}},__keyboardShowTrigger:function(){this.show()},__keyboardSetSelection:function(t){var e=this.visibleOptions[t];this.multiple?this.__toggleMultiple(e.value,e.disable):this.__singleSelect(e.value,e.disable)},__keyboardIsSelectableIndex:function(t){return t>-1&&t<this.visibleOptions.length&&!this.visibleOptions[t].disable},__mouseEnterHandler:function(t,e){this.keyboardMoveDirection||(this.keyboardIndex=e)},__onFocus:function(){this.disable||this.focused||(this.focused=!0,this.$emit("focus"))},__onShow:function(){this.disable||(this.__onFocus(),this.filter&&this.$refs.filter&&(this.$refs.filter.focus(),this.reposition()))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popover&&e.$refs.popover.showing&&(t===document.body||e.$refs.popover.$el.contains(t))||(e.__onClose(),e.hide())},1)},__onClose:function(t){var e=this;this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}),this.terms="",this.focused&&(t?this.$refs.input&&this.$refs.input.$el&&this.$refs.input.$el.focus():(this.focused=!1,this.$emit("blur")))},__singleSelect:function(t,e){e||(this.__emit(t),this.hide())},__toggleMultiple:function(t,e){if(!e){var i=this.model,n=i.indexOf(t);n>-1?this.$emit("remove",{index:n,value:i.splice(n,1)}):(this.$emit("add",{index:i.length,value:t}),i.push(t)),this.$emit("input",i)}},__emit:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__setModel:function(t,e){this.model=t||(this.multiple?[]:null),this.$emit("input",this.model),!e&&this.$refs.popover&&this.$refs.popover.showing||this.__onClose(e)},__getChipTextColor:function(t){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?t||this.color:"white":this.isInverted?t||(this.invertedLight?"grey-10":this.color):this.dark?t||this.color:"white"},__getChipBgColor:function(t){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":t||this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":t||this.color}},render:function(t){var e=this,i=[];if(this.hasChips){var n=t("div",{staticClass:"col row items-center q-input-chips",class:this.alignClass},this.selectedOptions.map(function(i,n){return t(hi,{key:n,props:{small:!0,closable:e.editable&&!i.disable,color:e.__getChipBgColor(i.color),textColor:e.__getChipTextColor(i.color),icon:i.icon,iconRight:i.rightIcon,avatar:i.avatar},on:{hide:function(){e.__toggleMultiple(i.value,e.disable||i.disable)}},nativeOn:{click:function(t){t.stopPropagation()}}},[t("div",{domProps:{innerHTML:i.label}})])}));i.push(n)}else{var r=t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses,domProps:{innerHTML:this.fakeInputValue}});i.push(r)}return i.push(t(Se,{ref:"popover",staticClass:"column no-wrap",class:this.dark?"bg-dark":null,props:{cover:this.popupCover,keepOnScreen:!0,disable:!this.editable,anchorClick:!1,maxHeight:this.popupMaxHeight},slot:"after",on:{show:this.__onShow,hide:function(){e.__onClose(!0)}},nativeOn:{keydown:this.__keyboardHandleKey}},[this.filter&&t(yr,{ref:"filter",staticClass:"col-auto",style:"padding: 10px;",props:{value:this.terms,placeholder:this.filterPlaceholder||this.$q.i18n.label.filter,debounce:100,color:this.color,dark:this.dark,noParentField:!0,noIcon:!0},on:{input:function(t){e.terms=t,e.reposition()}}})||void 0,this.visibleOptions.length&&t($t,{staticClass:"no-border scroll",props:{separator:this.separator,dark:this.dark}},this.visibleOptions.map(function(i,n){return t(qe,{key:n,class:[i.disable?"text-faded":"cursor-pointer",n===e.keyboardIndex?"q-select-highlight":"",i.disable?"":"cursor-pointer",i.className||""],props:{cfg:i,slotReplace:!0,active:e.multiple?void 0:e.value===i.value},nativeOn:{"!click":function(){var t=e.multiple?"__toggleMultiple":"__singleSelect";e[t](i.value,i.disable)},mouseenter:function(t){!i.disable&&e.__mouseEnterHandler(t,n)}}},[e.multiple?t(e.toggle?gn:ui,{slot:e.toggle?"right":"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.optModel[i.index],disable:i.disable,noFocus:!0}}):e.radio&&t(vn,{slot:"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.value,val:i.value,disable:i.disable,noFocus:!0}})||void 0])}))||void 0])),this.isClearable&&i.push(t(St,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear}})),i.push(t(St,this.readonly?{slot:"after"}:{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input.dropdown}})),t(vi,{ref:"input",staticClass:"q-select",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,focusable:!0,length:this.length,additionalLength:this.additionalLength},nativeOn:{click:this.togglePopup,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__keyboardHandleKey}},i)}},xr={name:"QSpinnerAudio",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"matrix(1 0 0 -1 0 80)"}},[t("rect",{attrs:{width:"10",height:"20",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"15",width:"10",height:"80",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",width:"10",height:"50",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"45",width:"10",height:"30",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}})])])])}},Cr={name:"QSpinnerBall",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{cx:"5",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"27",cy:"5",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"49",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}})])])])}},kr={name:"QSpinnerBars",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"}},[t("rect",{attrs:{y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"60",width:"15",height:"140",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"90",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"120",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})])])}},Sr={name:"QSpinnerCircles",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 135",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"2.5s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"8s",repeatCount:"indefinite"}})])])}},$r={name:"QSpinnerComment",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("path",{attrs:{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}}),t("circle",{attrs:{cx:"30",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"50",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"70",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"}})])])}},qr={name:"QSpinnerCube",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("g",{attrs:{transform:"translate(25 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(25 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.7"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])])])}},Tr={name:"QSpinnerDots",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":".3"}},[t("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},Pr={name:"QSpinnerFacebook",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"}},[t("g",{attrs:{transform:"translate(20 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(50 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(80 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])])])}},Lr={name:"QSpinnerGears",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(-20,-20)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})])]),t("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})])])])}},Or={name:"QSpinnerGrid",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"12.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},Mr={name:"QSpinnerHearts",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"}})])}},Er={name:"QSpinnerHourglass",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"glass",attrs:{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}}),t("clipPath",{attrs:{id:"uil-hourglass-clip1"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"20",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",vlaues:"25;0;0",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",vlaues:"20;45;45",keyTimes:"0;0.5;1"}})])]),t("clipPath",{attrs:{id:"uil-hourglass-clip2"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"55",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",vlaues:"0;25;25",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",vlaues:"80;55;55",keyTimes:"0;0.5;1"}})])]),t("path",{staticClass:"sand",attrs:{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}}),t("path",{staticClass:"sand",attrs:{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}}),t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"}})])])}},Ar={name:"QSpinnerInfinity",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("path",{attrs:{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"}},[t("animate",{attrs:{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"}})])])}},Br={name:"QSpinnerIos",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"}},[t("g",{attrs:{"stroke-width":"4","stroke-linecap":"round"}},[t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})])])])}},Nr={name:"QSpinnerOval",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}}),t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}})])])])}},Rr={name:"QSpinnerPie",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"}})])])}},Ir={name:"QSpinnerPuff",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})])])])}},Dr={name:"QSpinnerRadio",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"scale(0.55)"}},[t("circle",{attrs:{cx:"30",cy:"150",r:"30",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})])])])}},jr={name:"QSpinnerRings",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"8"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}})])])])}},zr={name:"QSpinnerTail",mixins:[le],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"}},[t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}}),t("stop",{attrs:{"stop-color":"currentColor",offset:"100%"}})])]),t("g",{attrs:{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})]),t("circle",{attrs:{fill:"currentColor",cx:"36",cy:"18",r:"1"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})])])])}},Fr={name:"QStepTab",directives:{Ripple:ie},props:["vm"],computed:{hasNavigation:function(){return!this.vm.__stepper.noHeaderNavigation},classes:function(){return{"step-error":this.vm.error,"step-active":this.vm.active,"step-done":this.vm.done,"step-navigation":this.vm.done&&this.hasNavigation,"step-waiting":this.vm.waiting,"step-disabled":this.vm.disable,"step-colored":this.vm.active||this.vm.done,"items-center":!this.vm.__stepper.vertical,"items-start":this.vm.__stepper.vertical,"q-stepper-first":this.vm.first,"q-stepper-last":this.vm.last}}},methods:{__select:function(){this.hasNavigation&&this.vm.select()}},render:function(t){var e=this.vm.stepIcon?t(St,{props:{name:this.vm.stepIcon}}):t("span",[this.vm.innerOrder+1]);return t("div",{staticClass:"q-stepper-tab col-grow flex no-wrap relative-position",class:this.classes,on:{click:this.__select},directives:this.hasNavigation?[{name:"ripple",value:this.vm.done}]:null},[t("div",{staticClass:"q-stepper-dot row flex-center q-stepper-line relative-position"},[t("span",{staticClass:"row flex-center"},[e])]),this.vm.title?t("div",{staticClass:"q-stepper-label q-stepper-line relative-position"},[t("div",{staticClass:"q-stepper-title"},[this.vm.title]),t("div",{staticClass:"q-stepper-subtitle"},[this.vm.subtitle])]):null])}},Hr={name:"QStep",inject:{__stepper:{default:function(){console.error("QStep needs to be child of QStepper")}}},props:{name:{type:[Number,String],default:function(){return me()}},default:Boolean,title:{type:String,required:!0},subtitle:String,icon:String,order:[Number,String],error:Boolean,activeIcon:String,errorIcon:String,doneIcon:String,disable:Boolean},watch:{order:function(){this.__stepper.__sortSteps()}},data:function(){return{innerOrder:0,first:!1,last:!1}},computed:{stepIcon:function(){var t=this.__stepper;return this.active?this.activeIcon||t.activeIcon||this.$q.icon.stepper.active:this.error?this.errorIcon||t.errorIcon||this.$q.icon.stepper.error:this.done&&!this.disable?this.doneIcon||t.doneIcon||this.$q.icon.stepper.done:this.icon},actualOrder:function(){return parseInt(this.order||this.innerOrder,10)},active:function(){return this.__stepper.step===this.name},done:function(){return!this.disable&&this.__stepper.currentOrder>this.innerOrder},waiting:function(){return!this.disable&&this.__stepper.currentOrder<this.innerOrder},style:function(){var t=this.actualOrder;return{"-webkit-box-ordinal-group":t,"-ms-flex-order":t,order:t}},classes:function(){if(!this.__stepper.vertical){var t=[];return!this.active&&t.push("hidden"),null!==this.__stepper.animation&&t.push(this.__stepper.animation),t}}},methods:{select:function(){this.done&&this.__stepper.goToStep(this.name)},__getContainer:function(t){var e=this.active?t("div",{staticClass:"q-stepper-step-content",class:this.classes},[t("div",{staticClass:"q-stepper-step-inner"},this.$slots.default)]):null;return this.__stepper.vertical?t(yi,[e]):e}},mounted:function(){this.__stepper.__registerStep(this),this.default&&this.select()},beforeDestroy:function(){this.__stepper.__unregisterStep(this)},render:function(t){return t("div",{staticClass:"q-stepper-step",style:this.style},[this.__stepper.vertical?t(Fr,{props:{vm:this}}):null,this.__getContainer(t)])}},Vr={name:"QStepper",props:{value:[Number,String],color:{type:String,default:"primary"},vertical:Boolean,alternativeLabels:Boolean,noHeaderNavigation:Boolean,contractable:Boolean,doneIcon:Boolean,activeIcon:Boolean,errorIcon:Boolean},data:function(){return{animation:null,step:this.value||null,steps:[]}},provide:function(){return{__stepper:this}},watch:{value:function(t){this.goToStep(t)},step:function(t,e){if(!this.vertical){var i=this.steps.findIndex(function(e){return e.name===t}),n=this.steps.findIndex(function(t){return t.name===e});this.animation=i<n?"animate-fade-left":i>n?"animate-fade-right":null}}},computed:{classes:function(){var t=["q-stepper-"+(this.vertical?"vertical":"horizontal"),"text-"+this.color];return this.contractable&&t.push("q-stepper-contractable"),t},hasSteps:function(){return this.steps.length>0},currentStep:function(){var t=this;if(this.hasSteps)return this.steps.find(function(e){return e.name===t.step})},currentOrder:function(){if(this.currentStep)return this.currentStep.innerOrder},length:function(){return this.steps.length}},methods:{goToStep:function(t){var e=this;this.step!==t&&void 0!==t&&(this.step=t,this.$emit("input",t),this.$emit("step",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)}))},next:function(){this.__go(1)},previous:function(){this.__go(-1)},reset:function(){this.hasSteps&&this.goToStep(this.steps[0].name)},__go:function(t){var e,i=this.currentOrder;if(void 0===i){if(!this.hasSteps)return;e=this.steps[0].name}else{do{i+=t}while(i>=0&&i<this.length-1&&this.steps[i].disable);if(i<0||i>this.length-1||this.steps[i].disable)return;e=this.steps[i].name}this.goToStep(e)},__sortSteps:function(){var t=this;this.steps.sort(function(t,e){return t.actualOrder-e.actualOrder});var e=this.steps.length-1;this.steps.forEach(function(t,i){t.innerOrder=i,t.first=0===i,t.last=i===e}),this.$nextTick(function(){t.steps.some(function(t){return t.active})||t.goToStep(t.steps[0].name)})},__registerStep:function(t){return this.steps.push(t),this.__sortSteps(),this},__unregisterStep:function(t){this.steps=this.steps.filter(function(e){return e!==t})}},created:function(){this.__sortSteps=Ce(this.__sortSteps)},render:function(t){return t("div",{staticClass:"q-stepper column overflow-hidden relative-position",class:this.classes},[this.vertical?null:t("div",{staticClass:"q-stepper-header row items-stretch justify-between shadow-1",class:{"alternative-labels":this.alternativeLabels}},this.steps.map(function(e){return t(Fr,{key:e.name,props:{vm:e}})})),this.$slots.default])}},Qr={name:"QStepperNavigation",render:function(t){return t("div",{staticClass:"q-stepper-nav order-last row items-center"},[this.$slots.left,t("div",{staticClass:"col"}),this.$slots.default])}},Ur={directives:{Ripple:ie},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return me()}},alert:Boolean,count:[Number,String],color:String,tabindex:Number},inject:{data:{default:function(){console.error("QTab/QRouteTab components need to be child of QTabs")}},selectTab:{}},watch:{active:function(t){t&&this.$emit("select",this.name)}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){var t={active:this.active,hidden:this.hidden,disabled:this.disable,"q-tab-full":this.icon&&this.label,"q-tab-only-label":!this.icon&&this.label,"hide-none":!this.hide,"hide-icon":"icon"===this.hide,"hide-label":"label"===this.hide},e=this.data.inverted?this.color||this.data.textColor||this.data.color:this.color;return e&&(t["text-"+e]=!0),t},barStyle:function(){if(!this.active||!this.data.highlight)return"display: none;"},computedTabIndex:function(){return this.disable||this.active?-1:this.tabindex||0}},methods:{__getTabMeta:function(t){return this.count?[t(hi,{staticClass:"q-tab-meta",props:{floating:!0}},[this.count])]:this.alert?[t("div",{staticClass:"q-tab-meta q-dot"})]:void 0},__getTabContent:function(t){var e=[];return this.icon&&e.push(t("div",{staticClass:"q-tab-icon-parent relative-position"},[t(St,{staticClass:"q-tab-icon",props:{name:this.icon}}),this.__getTabMeta(t)])),this.label&&e.push(t("div",{staticClass:"q-tab-label-parent relative-position"},[t("div",{staticClass:"q-tab-label"},[this.label]),this.__getTabMeta(t)])),(e=e.concat(this.$slots.default)).push(t("div",{staticClass:"q-tabs-bar",style:this.barStyle,class:this.data.underlineClass})),e.push(t("div",{staticClass:"q-tab-focus-helper absolute-full",attrs:{tabindex:this.computedTabIndex}})),e}}},Wr={name:"QRouteTab",mixins:[Ur,Lt],inject:{selectTabRouter:{}},watch:{$route:function(){this.checkIfSelected()}},methods:{select:function(){this.$emit("click",this.name),this.disable||(this.$el.dispatchEvent(Tt),this.selectTabRouter({value:this.name,selected:!0}))},checkIfSelected:function(){var t=this;this.$nextTick(function(){if(t.$el.classList.contains("q-router-link-exact-active"))t.selectTabRouter({value:t.name,selectable:!0,exact:!0});else if(t.$el.classList.contains("q-router-link-active")){var e=t.$router.resolve(t.to,void 0,t.append);t.selectTabRouter({value:t.name,selectable:!0,priority:e.href.length})}else t.active&&t.selectTabRouter({value:null})})}},mounted:function(){this.checkIfSelected()},render:function(t){var e=this;return t("router-link",{props:{tag:"a",to:this.to,exact:this.exact,append:this.append,replace:this.replace,event:qt,activeClass:"q-router-link-active",exactActiveClass:"q-router-link-exact-active"},attrs:{tabindex:-1},nativeOn:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},staticClass:"q-link q-tab column flex-center relative-position",class:this.classes,directives:[{name:"ripple"}]},this.__getTabContent(t))}},Kr={name:"QTab",mixins:[Ur],props:{default:Boolean},methods:{select:function(){this.$emit("click",this.name),this.disable||this.selectTab(this.name)}},mounted:function(){this.default&&!this.disable&&this.select()},render:function(t){var e=this;return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,attrs:{"data-tab-name":this.name},on:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},directives:[{name:"ripple"}]},this.__getTabContent(t))}},Yr={name:"QTabPane",inject:{data:{default:function(){console.error("QTabPane needs to be child of QTabs")}}},props:{name:{type:String,required:!0},keepAlive:Boolean},data:function(){return{shown:!1}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){return{hidden:!this.active,"animate-fade-left":"left"===this.data.direction,"animate-fade-right":"right"===this.data.direction}}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:this.classes},this.$slots.default);if(this.keepAlive){if(!this.shown&&!this.active)return;return this.shown=!0,e}if(this.shown=this.active,this.active)return e}},Jr=5,Gr=50;function Xr(t){if(t)return"text-"+t}var Zr={name:"QTabs",provide:function(){return{data:this.data,selectTab:this.selectTab,selectTabRouter:this.selectTabRouter}},directives:{TouchSwipe:ai},props:{value:String,align:{type:String,default:"left",validator:function(t){return["left","center","right","justify"].includes(t)}},position:{type:String,default:"top",validator:function(t){return["top","bottom"].includes(t)}},color:{type:String,default:"primary"},textColor:String,inverted:Boolean,twoLines:Boolean,glossy:Boolean,animated:Boolean,swipeable:Boolean,panesContainerClass:String,underlineColor:String},data:function(){return{currentEl:null,posbar:{width:0,left:0},data:{highlight:!0,tabName:this.value||"",color:this.color,textColor:this.textColor,inverted:this.inverted,underlineClass:Xr(this.underlineColor),direction:null}}},watch:{value:function(t){this.selectTab(t)},color:function(t){this.data.color=t},textColor:function(t){this.data.textColor=t},inverted:function(t){this.data.inverted=t},underlineColor:function(t){this.data.underlineClass=Xr(t)}},computed:{classes:function(){return["q-tabs-position-"+this.position,"q-tabs-"+(this.inverted?"inverted":"normal"),this.twoLines?"q-tabs-two-lines":""]},innerClasses:function(){var t=["q-tabs-align-"+this.align];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t},posbarClasses:function(){var t=[];return this.inverted&&t.push("text-"+(this.textColor||this.color)),this.data.highlight&&t.push("highlight"),t}},methods:{go:function(t){var e=0;if(this.data.tabName){var i=this.$refs.scroller.querySelector('[data-tab-name="'+this.data.tabName+'"]');i&&(e=Array.prototype.indexOf.call(this.$refs.scroller.children,i))}var n=this.$refs.scroller.querySelectorAll("[data-tab-name]");(e+=t)>-1&&e<n.length&&this.selectTab(n[e].getAttribute("data-tab-name"))},previous:function(){this.go(-1)},next:function(){this.go(1)},selectTab:function(t){if(this.data.tabName!==t){this.data.tabName=t;var e=this.__getTabElByName(t);if(e)if(this.__scrollToTab(e),this.currentEl=e,this.oldEl){if(this.animated){var i=this.$refs.scroller.children;this.data.direction=Array.prototype.indexOf.call(i,e)<Array.prototype.indexOf.call(i,this.oldEl)?"left":"right"}this.__repositionBar()}else this.oldEl=e;else this.oldEl=null,this.data.direction=null;this.$emit("input",t,this.data.direction),this.$emit("select",t,this.data.direction)}},selectTabRouter:function(t){var e=this,i=t.value,n=t.selectable,r=t.exact,s=t.selected,o=t.priority,a=!this.buffer.length,l=a?-1:this.buffer.findIndex(function(t){return t.value===i});if(l>-1){var c=this.buffer[l];r&&(c.exact=r),n&&(c.selectable=n),s&&(c.selected=s),o&&(c.priority=o)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,i=this.$refs.posbar,n=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!n)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var r=i.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-r),this.timer=setTimeout(function(){var e=n.getBoundingClientRect().width,s=n.offsetLeft-r;i.classList.remove("contract"),t.oldEl=n,t.finalPosbar={width:e,left:s},t.__setPositionBar(t.posbar.left<s?s+e-t.posbar.left:t.posbar.left+t.posbar.width-s,t.posbar.left<s?t.posbar.left:s)},20)},__setPositionBar:function(t,e){if(void 0===t&&(t=0),void 0===e&&(e=0),this.posbar.width!==t||this.posbar.left!==e){this.posbar={width:t,left:e};var i=this.$q.i18n.rtl?e+t:e;this.$refs.posbar.style.transform="translateX("+i+"px) scaleX("+t+")"}else this.__updatePosbarTransition()},__updatePosbarTransition:function(){if(this.finalPosbar.width===this.posbar.width&&this.finalPosbar.left===this.posbar.left)return this.posbar={},void(!0!==this.data.highlight&&(this.data.highlight=!0));this.$refs.posbar.classList.add("contract"),this.__setPositionBar(this.finalPosbar.width,this.finalPosbar.left)},__redraw:function(){this.$q.platform.is.desktop&&(this.scrollerWidth=rt(this.$refs.scroller),0===this.scrollerWidth&&0===this.$refs.scroller.scrollWidth||(this.scrollerWidth+5<this.$refs.scroller.scrollWidth?(this.$refs.tabs.classList.add("scrollable"),this.scrollable=!0,this.__updateScrollIndicator()):(this.$refs.tabs.classList.remove("scrollable"),this.scrollable=!1)))},__updateScrollIndicator:function(){if(this.$q.platform.is.desktop&&this.scrollable){var t=this.$refs.scroller.scrollLeft+rt(this.$refs.scroller)+5>=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var i=this;setTimeout(function(){i.__scrollToTab(i.__getTabElByName(t),e)},4*Gr)},__scrollToTab:function(t,e){if(t&&this.scrollable){var i=this.$refs.scroller.getBoundingClientRect(),n=t.getBoundingClientRect(),r=n.width,s=n.left-i.left;s<0?e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s):(s+=r-this.$refs.scroller.offsetWidth)>0&&(e?this.$refs.scroller.scrollLeft+=s:this.__animScrollTo(this.$refs.scroller.scrollLeft+s))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,i=t<e?-1:1,n=!1;return(e+=i*Jr)<0?(n=!0,e=0):(-1===i&&e<=t||1===i&&e>=t)&&(n=!0,e=t),this.$refs.scroller.scrollLeft=e,n}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,t("div",{staticClass:"relative-position self-stretch q-tabs-global-bar-container",class:this.posbarClasses},[t("div",{ref:"posbar",staticClass:"q-tabs-bar q-tabs-global-bar",class:this.data.underlineClass,on:{transitionend:this.__updatePosbarTransition}})])]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(St,{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(St,{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=wn(this.__redraw,Gr),this.__updateScrollIndicator=wn(this.__updateScrollIndicator,Gr)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,Q.passive),window.addEventListener("resize",t.__redraw,Q.passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,Q.passive),window.removeEventListener("resize",this.__redraw,Q.passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}},ts={computed:{marginalsProps:function(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,prevPage:this.prevPage,nextPage:this.nextPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{getTop:function(t){var e=this.$scopedSlots.top,i=this.$scopedSlots["top-left"],n=this.$scopedSlots["top-right"],r=this.$scopedSlots["top-selection"],s=this.hasSelectionMode&&r&&this.rowsSelectedNumber>0,o="q-table-top relative-position row items-center",a=[];return e?t("div",{staticClass:o},[e(this.marginalsProps)]):(s?a.push(r(this.marginalsProps)):i?a.push(t("div",{staticClass:"q-table-control"},[i(this.marginalsProps)])):this.title&&a.push(t("div",{staticClass:"q-table-control"},[t("div",{staticClass:"q-table-title"},this.title)])),n&&(a.push(t("div",{staticClass:"q-table-separator col"})),a.push(t("div",{staticClass:"q-table-control"},[n(this.marginalsProps)]))),0!==a.length?t("div",{staticClass:o},a):void 0)}}},es={name:"QTh",props:{props:Object,autoWidth:Boolean},render:function(t){var e,i=this;if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var n=this.$vnode.key,r=[].concat(this.$slots.default);if(n){if(!(e=this.props.colsMap[n]))return}else e=this.props.col;return e.sortable&&r["right"===e.align?"unshift":"push"](t(St,{props:{name:this.$q.icon.table.arrowUp},staticClass:e.__iconClass})),t("th",{class:[e.__thClass,{"q-table-col-auto-width":this.autoWidth}],on:e.sortable?{click:function(){i.props.sort(e)}}:null},r)}},is={methods:{getTableHeader:function(t){var e=[this.getTableHeaderRow(t)];return this.loading&&e.push(t("tr",{staticClass:"q-table-progress animate-fade"},[t("td",{attrs:{colspan:"100%"}},[t(dr,{props:{color:this.color,indeterminate:!0,height:"2px"}})])])),t("thead",e)},getTableHeaderRow:function(t){var e,i=this,n=this.$scopedSlots.header,r=this.$scopedSlots["header-cell"];if(n)return n(this.addTableHeaderRowMeta({header:!0,cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap}));e=r?function(t){return r({col:t,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap})}:function(e){return t(es,{key:e.name,props:{props:{col:e,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap}},style:e.style,class:e.classes},e.label)};var s=this.computedCols.map(e);return this.singleSelection&&!this.grid?s.unshift(t("th",{staticClass:"q-table-col-auto-width"},[" "])):this.multipleSelection&&s.unshift(t("th",{staticClass:"q-table-col-auto-width"},[t(ui,{props:{color:this.color,value:this.someRowsSelected?null:this.allRowsSelected,dark:this.dark},on:{input:function(t){i.someRowsSelected&&(t=!1),i.__updateSelection(i.computedRows.map(function(t){return t[i.rowKey]}),i.computedRows,t)}}})])),t("tr",s)},addTableHeaderRowMeta:function(t){var e=this;return this.multipleSelection&&(Object.defineProperty(t,"selected",{get:function(){return e.someRowsSelected?"some":e.allRowsSelected},set:function(t){e.someRowsSelected&&(t=!1),e.__updateSelection(e.computedRows.map(function(t){return t[e.rowKey]}),e.computedRows,t)}}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t}}},ns={methods:{getTableBody:function(t){var e=this,i=this.$scopedSlots.body,n=this.$scopedSlots["body-cell"],r=this.$scopedSlots["top-row"],s=this.$scopedSlots["bottom-row"],o=[];return o=i?this.computedRows.map(function(t){var n=t[e.rowKey],r=e.isRowSelected(n);return i(e.addBodyRowMeta({key:n,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:r?"selected":""}))}):this.computedRows.map(function(i){var r=i[e.rowKey],s=e.isRowSelected(r),o=n?e.computedCols.map(function(t){return n(e.addBodyCellMetaData({row:i,col:t}))}):e.computedCols.map(function(n){var r=e.$scopedSlots["body-cell-"+n.name];return r?r(e.addBodyCellMetaData({row:i,col:n})):t("td",{staticClass:n.__tdClass,style:n.style,class:n.classes},e.getCellValue(n,i))});return e.hasSelectionMode&&o.unshift(t("td",{staticClass:"q-table-col-auto-width"},[t(ui,{props:{value:s,color:e.color,dark:e.dark},on:{input:function(t){e.__updateSelection([r],[i],t)}}})])),t("tr",{key:r,class:{selected:s}},o)}),r&&o.unshift(r({cols:this.computedCols})),s&&o.push(s({cols:this.computedCols})),t("tbody",o)},addBodyRowMeta:function(t){var e=this;return this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:function(){return e.isRowSelected(t.key)},set:function(i){e.__updateSelection([t.key],[t.row],i)}}),Object.defineProperty(t,"expand",{get:function(){return!0===e.rowsExpanded[t.key]},set:function(i){e.$set(e.rowsExpanded,t.key,i)}}),t.cols=t.cols.map(function(i){var n=Object.assign({},i);return Object.defineProperty(n,"value",{get:function(){return e.getCellValue(i,t.row)}}),n}),t},addBodyCellMetaData:function(t){var e=this;return Object.defineProperty(t,"value",{get:function(){return e.getCellValue(t.col,t.row)}}),t},getCellValue:function(t,e){var i="function"==typeof t.field?t.field(e):e[t.field];return t.format?t.format(i):i}}},rs={computed:{navIcon:function(){var t=[this.$q.icon.table.prevPage,this.$q.icon.table.nextPage];return this.$q.i18n.rtl?t.reverse():t}},methods:{getBottom:function(t){if(!this.hideBottom){if(this.nothingToDisplay){var e=this.filter?this.noResultsLabel||this.$q.i18n.table.noResults:this.loading?this.loadingLabel||this.$q.i18n.table.loading:this.noDataLabel||this.$q.i18n.table.noData;return t("div",{staticClass:"q-table-bottom row items-center q-table-nodata"},[t(St,{props:{name:this.$q.icon.table.warning}}),e])}var i=this.$scopedSlots.bottom;return t("div",{staticClass:"q-table-bottom row items-center",class:i?null:"justify-end"},i?[i(this.marginalsProps)]:this.getPaginationRow(t))}},getPaginationRow:function(t){var e=this,i=this.computedPagination.rowsPerPage,n=this.paginationLabel||this.$q.i18n.table.pagination,r=this.$scopedSlots.pagination;return[t("div",{staticClass:"q-table-control"},[t("div",[this.hasSelectionMode&&this.rowsSelectedNumber>0?(this.selectedRowsLabel||this.$q.i18n.table.selectedRecords)(this.rowsSelectedNumber):""])]),t("div",{staticClass:"q-table-separator col"}),this.rowsPerPageOptions.length>1&&t("div",{staticClass:"q-table-control"},[t("span",{staticClass:"q-table-bottom-item"},[this.rowsPerPageLabel||this.$q.i18n.table.recordsPerPage]),t(wr,{staticClass:"inline q-table-bottom-item",props:{color:this.color,value:i,options:this.computedRowsPerPageOptions,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.setPagination({page:1,rowsPerPage:t})}}})])||void 0,t("div",{staticClass:"q-table-control"},[r?r(this.marginalsProps):[t("span",{staticClass:"q-table-bottom-item"},[i?n(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):n(1,this.computedRowsNumber,this.computedRowsNumber)]),t(he,{props:{color:this.color,round:!0,icon:this.navIcon[0],dense:!0,flat:!0,disable:this.isFirstPage},on:{click:this.prevPage}}),t(he,{props:{color:this.color,round:!0,icon:this.navIcon[1],dense:!0,flat:!0,disable:this.isLastPage},on:{click:this.nextPage}})]])]}}};function ss(t,e){return new Date(t)-new Date(e)}var os={props:{sortMethod:{type:Function,default:function(t,e,i){var n=this.columns.find(function(t){return t.name===e});if(null===n||void 0===n.field)return t;var r=i?-1:1,s="function"==typeof n.field?function(t){return n.field(t)}:function(t){return t[n.field]};return t.sort(function(t,e){var i,o=s(t),a=s(e);return null===o||void 0===o?-1*r:null===a||void 0===a?1*r:n.sort?n.sort(o,a)*r:Ue(o)&&Ue(a)?(o-a)*r:Qe(o)&&Qe(a)?ss(o,a)*r:"boolean"==typeof o&&"boolean"==typeof a?(t-e)*r:(o=(i=[o,a].map(function(t){return(t+"").toLowerCase()}))[0])<(a=i[1])?-1*r:o===a?0:r})}}},computed:{columnToSort:function(){var t=this.computedPagination.sortBy;if(t)return this.columns.find(function(e){return e.name===t})||null}},methods:{sort:function(t){t===Object(t)&&(t=t.name);var e=this.computedPagination,i=e.sortBy,n=e.descending;i!==t?(i=t,n=!1):this.binaryStateSort?n=!n:n?i=null:n=!0,this.setPagination({sortBy:i,descending:n,page:1})}}},as={props:{filter:[String,Object],filterMethod:{type:Function,default:function(t,e,i,n){void 0===i&&(i=this.computedCols),void 0===n&&(n=this.getCellValue);var r=e?e.toLowerCase():"";return t.filter(function(t){return i.some(function(e){return-1!==(n(e,t)+"").toLowerCase().indexOf(r)})})}}},watch:{filter:function(){var t=this;this.$nextTick(function(){t.setPagination({page:1},!0)})}}};function ls(t,e){for(var i in e)if(e[i]!==t[i])return!1;return!0}function cs(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var us={props:{pagination:Object,rowsPerPageOptions:{type:Array,default:function(){return[3,5,7,10,15,20,25,50,0]}}},data:function(){return{innerPagination:{sortBy:null,descending:!1,page:1,rowsPerPage:5}}},computed:{computedPagination:function(){return cs(Object.assign({},this.innerPagination,this.pagination))},firstRowIndex:function(){var t=this.computedPagination;return(t.page-1)*t.rowsPerPage},lastRowIndex:function(){var t=this.computedPagination;return t.page*t.rowsPerPage},isFirstPage:function(){return 1===this.computedPagination.page},pagesNumber:function(){return Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage:function(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions:function(){var t=this;return this.rowsPerPageOptions.map(function(e){return{label:0===e?t.$q.i18n.table.allRows:""+e,value:e}})}},watch:{pagesNumber:function(t,e){if(t!==e){var i=this.computedPagination.page;t&&!i?this.setPagination({page:1}):t<i&&this.setPagination({page:t})}}},methods:{__sendServerRequest:function(t){this.requestServerInteraction({pagination:t,filter:this.filter})},setPagination:function(t,e){var i=cs(Object.assign({},this.computedPagination,t));ls(this.computedPagination,i)?this.isServerSide&&e&&this.__sendServerRequest(i):this.isServerSide?this.__sendServerRequest(i):this.pagination?this.$emit("update:pagination",i):this.innerPagination=i},prevPage:function(){var t=this.computedPagination.page;t>1&&this.setPagination({page:t-1})},nextPage:function(){var t=this.computedPagination,e=t.page,i=t.rowsPerPage;this.lastRowIndex>0&&e*i<this.computedRowsNumber&&this.setPagination({page:e+1})}},created:function(){this.$emit("update:pagination",Object.assign({},this.computedPagination))}},hs={props:{selection:{type:String,default:"none",validator:function(t){return["single","multiple","none"].includes(t)}},selected:{type:Array,default:function(){return[]}}},computed:{selectedKeys:function(){var t=this,e={};return this.selected.map(function(e){return e[t.rowKey]}).forEach(function(t){e[t]=!0}),e},hasSelectionMode:function(){return"none"!==this.selection},singleSelection:function(){return"single"===this.selection},multipleSelection:function(){return"multiple"===this.selection},allRowsSelected:function(){var t=this;if(this.multipleSelection)return this.computedRows.length>0&&this.computedRows.every(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},someRowsSelected:function(){var t=this;if(this.multipleSelection)return!this.allRowsSelected&&this.computedRows.some(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},rowsSelectedNumber:function(){return this.selected.length}},methods:{isRowSelected:function(t){return!0===this.selectedKeys[t]},clearSelection:function(){this.$emit("update:selected",[])},__updateSelection:function(t,e,i){var n=this;this.singleSelection?this.$emit("update:selected",i?e:[]):this.$emit("update:selected",i?this.selected.concat(e):this.selected.filter(function(e){return!t.includes(e[n.rowKey])}))}}},ds={props:{visibleColumns:Array},computed:{computedCols:function(){var t=this,e=this.computedPagination,i=e.sortBy,n=e.descending;return(this.visibleColumns?this.columns.filter(function(e){return e.required||t.visibleColumns.includes(e.name)}):this.columns).map(function(t){return t.align=t.align||"right",t.__iconClass="q-table-sort-icon q-table-sort-icon-"+t.align,t.__thClass="text-"+t.align+(t.sortable?" sortable":"")+(t.name===i?" sorted "+(n?"sort-desc":""):""),t.__tdClass="text-"+t.align,t})},computedColsMap:function(){var t={};return this.computedCols.forEach(function(e){t[e.name]=e}),t}}},fs={data:function(){return{rowsExpanded:{}}}},ps={name:"QTable",mixins:[ei,ts,is,ns,rs,os,as,us,hs,ds,fs],props:{data:{type:Array,default:function(){return[]}},rowKey:{type:String,default:"id"},color:{type:String,default:"grey-8"},grid:Boolean,dense:Boolean,columns:Array,loading:Boolean,title:String,hideHeader:Boolean,hideBottom:Boolean,dark:Boolean,separator:{type:String,default:"horizontal",validator:function(t){return["horizontal","vertical","cell","none"].includes(t)}},binaryStateSort:Boolean,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,tableStyle:{type:[String,Array,Object],default:""},tableClass:{type:[String,Array,Object],default:""}},computed:{computedData:function(){var t=this.data.slice().map(function(t,e){return t.__index=e,t});if(0===t.length)return{rowsNumber:0,rows:[]};if(this.isServerSide)return{rows:t};var e=this.computedPagination,i=e.sortBy,n=e.descending,r=e.rowsPerPage;this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),this.columnToSort&&(t=this.sortMethod(t,i,n));var s=t.length;return r&&(t=t.slice(this.firstRowIndex,this.lastRowIndex)),{rowsNumber:s,rows:t}},computedRows:function(){return this.computedData.rows},computedRowsNumber:function(){return this.isServerSide?this.computedPagination.rowsNumber||0:this.computedData.rowsNumber},nothingToDisplay:function(){return 0===this.computedRows.length},isServerSide:function(){return void 0!==this.computedPagination.rowsNumber}},render:function(t){return t("div",{class:{"q-table-grid":this.grid,"q-table-container":!0,"q-table-dark":this.dark,"q-table-dense":this.dense,fullscreen:this.inFullscreen,scroll:this.inFullscreen}},[this.getTop(t),this.getBody(t),this.getBottom(t)])},methods:{requestServerInteraction:function(t){var e=this;this.$nextTick(function(){e.$emit("request",{pagination:t.pagination||e.computedPagination,filter:t.filter||e.filter,getCellValue:e.getCellValue})})},getBody:function(t){var e=this,i=!this.hideHeader;if(this.grid){var n=this.$scopedSlots.item;if(void 0!==n)return[i&&t("div",{staticClass:"q-table-middle scroll"},[t("table",{staticClass:"q-table"+(this.dark?" q-table-dark":"")},[this.getTableHeader(t)])])||null,t("div",{staticClass:"row"},this.computedRows.map(function(t){var i=t[e.rowKey],r=e.isRowSelected(i);return n(e.addBodyRowMeta({key:i,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:r?"selected":""}))}))]}return t("div",{staticClass:"q-table-middle scroll",class:this.tableClass,style:this.tableStyle},[t("table",{staticClass:"q-table q-table-"+this.separator+"-separator"+(this.dark?" q-table-dark":"")},[i&&this.getTableHeader(t)||null,this.getTableBody(t)])])}}},ms={name:"QTr",props:{props:Object},render:function(t){return t("tr",!this.props||this.props.header?{}:{class:this.props.__trClass},this.$slots.default)}},vs={name:"QTd",props:{props:Object,autoWidth:Boolean},render:function(t){if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var e,i=this.$vnode.key;if(i){if(!(e=this.props.colsMap[i]))return}else e=this.props.col;return t("td",{class:[e.__tdClass,{"q-table-col-auto-width":this.autoWidth}]},this.$slots.default)}},gs={name:"QTableColumns",props:{value:{type:Array,required:!0},label:String,columns:{type:Array,required:!0},color:String,dark:Boolean},computed:{computedOptions:function(){return this.columns.filter(function(t){return!t.required}).map(function(t){return{value:t.name,label:t.label}})}},render:function(t){var e=this;return t(wr,{props:{multiple:!0,toggle:!0,value:this.value,options:this.computedOptions,displayValue:this.label||this.$q.i18n.table.columns,color:this.color,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.$emit("input",t)},change:function(t){e.$emit("change",t)}}})}},bs={name:"QTimeline",provide:function(){return{__timeline:this}},props:{color:{type:String,default:"primary"},responsive:Boolean,noHover:Boolean,dark:Boolean},render:function(t){return t("ul",{staticClass:"q-timeline",class:{"q-timeline-dark":this.dark,"q-timeline-responsive":this.responsive,"q-timeline-hover":!this.noHover}},this.$slots.default)}},ys={name:"QTimelineEntry",inject:{__timeline:{default:function(){console.error("QTimelineEntry needs to be child of QTimeline")}}},props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:function(t){return["left","right"].includes(t)}},icon:String,color:String,title:String,subtitle:String},computed:{colorClass:function(){return"text-"+(this.color||this.__timeline.color)},classes:function(){return["q-timeline-entry-"+("left"===this.side?"left":"right"),this.icon?"q-timeline-entry-with-icon":""]}},render:function(t){return this.heading?t("div",{staticClass:"q-timeline-heading"},[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline-heading-title"},this.$slots.default)]):t("li",{staticClass:"q-timeline-entry",class:this.classes},[this.$slots.subtitle||t("div",{staticClass:"q-timeline-subtitle"},[t("span",this.subtitle)]),t("div",{staticClass:"q-timeline-dot",class:this.colorClass},[this.icon?t(St,{props:{name:this.icon}}):null]),t("div",{staticClass:"q-timeline-content"},(this.$slots.title||[t("h6",{staticClass:"q-timeline-title"},[this.title])]).concat(this.$slots.default))])}},_s={name:"QToolbar",props:{color:{type:String,default:"primary"},textColor:String,inverted:Boolean,glossy:Boolean},computed:{classes:function(){var t=["q-toolbar-"+(this.inverted?"inverted":"normal")];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t}},render:function(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center relative-position",class:this.classes},this.$slots.default)}},ws={name:"QToolbarTitle",props:{shrink:Boolean},render:function(t){return t("div",{staticClass:"q-toolbar-title",class:this.shrink?"col-auto":null},[this.$slots.default,this.$slots.subtitle?t("div",{staticClass:"q-toolbar-subtitle"},this.$slots.subtitle):null])}},xs={name:"QTree",directives:{Ripple:ie},props:{nodes:Array,nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},color:{type:String,default:"grey"},controlColor:String,textColor:String,dark:Boolean,icon:String,tickStrategy:{type:String,default:"none",validator:function(t){return["none","strict","leaf","leaf-filtered"].includes(t)}},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:{type:Function,default:function(t,e){var i=e.toLowerCase();return t[this.labelKey]&&t[this.labelKey].toLowerCase().indexOf(i)>-1}},duration:Number,noNodesLabel:String,noResultsLabel:String},computed:{hasRipple:function(){return!this.noRipple},classes:function(){return["text-"+this.color,{"q-tree-dark":this.dark}]},hasSelection:function(){return void 0!==this.selected},computedIcon:function(){return this.icon||this.$q.icon.tree.icon},computedControlColor:function(){return this.controlColor||this.color},contentClass:function(){return"text-"+(this.textColor||(this.dark?"white":"black"))},meta:function(){var t=this,e={},i=function i(n,r){var s=n.tickStrategy||(r?r.tickStrategy:t.tickStrategy),o=n[t.nodeKey],a=n.children&&n.children.length>0,l=!a,c=!n.disabled&&t.hasSelection&&!1!==n.selectable,u=!n.disabled&&!1!==n.expandable,h="none"!==s,d="strict"===s,f="leaf-filtered"===s,p="leaf"===s||"leaf-filtered"===s,m=!n.disabled&&!1!==n.tickable;p&&m&&r&&!r.tickable&&(m=!1);var v=n.lazy;v&&t.lazy[o]&&(v=t.lazy[o]);var g={key:o,parent:r,isParent:a,isLeaf:l,lazy:v,disabled:n.disabled,link:c||u&&(a||!0===v),children:[],matchesFilter:!t.filter||t.filterMethod(n,t.filter),selected:o===t.selected&&c,selectable:c,expanded:!!a&&t.innerExpanded.includes(o),expandable:u,noTick:n.noTick||!d&&v&&"loaded"!==v,tickable:m,tickStrategy:s,hasTicking:h,strictTicking:d,leafFilteredTicking:f,leafTicking:p,ticked:d?t.innerTicked.includes(o):!!l&&t.innerTicked.includes(o)};if(e[o]=g,a&&(g.children=n.children.map(function(t){return i(t,g)}),t.filter&&(g.matchesFilter||(g.matchesFilter=g.children.some(function(t){return t.matchesFilter})),g.matchesFilter&&!g.noTick&&!g.disabled&&g.tickable&&f&&g.children.every(function(t){return!t.matchesFilter||t.noTick||!t.tickable})&&(g.tickable=!1)),g.matchesFilter&&(g.noTick||d||!g.children.every(function(t){return t.noTick})||(g.noTick=!0),p&&(g.ticked=!1,g.indeterminate=g.children.some(function(t){return t.indeterminate}),!g.indeterminate)))){var b=g.children.reduce(function(t,e){return e.ticked?t+1:t},0);b===g.children.length?g.ticked=!0:b>0&&(g.indeterminate=!0)}return g};return this.nodes.forEach(function(t){return i(t,null)}),e}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[]}},watch:{ticked:function(t){this.innerTicked=t},expanded:function(t){this.innerExpanded=t}},methods:{getNodeByKey:function(t){var e=this,i=[].reduce,n=function n(r,s){return r||!s?r:Array.isArray(s)?i.call(Object(s),n,r):s[e.nodeKey]===t?s:s.children?n(null,s.children):void 0};return n(null,this.nodes)},getTickedNodes:function(){var t=this;return this.innerTicked.map(function(e){return t.getNodeByKey(e)})},getExpandedNodes:function(){var t=this;return this.innerExpanded.map(function(e){return t.getNodeByKey(e)})},isExpanded:function(t){return!(!t||!this.meta[t])&&this.meta[t].expanded},collapseAll:function(){void 0!==this.expanded?this.$emit("update:expanded",[]):this.innerExpanded=[]},expandAll:function(){var t=this,e=this.innerExpanded,i=function i(n){n.children&&n.children.length>0&&!1!==n.expandable&&!0!==n.disabled&&(e.push(n[t.nodeKey]),n.children.forEach(i))};this.nodes.forEach(i),void 0!==this.expanded?this.$emit("update:expanded",e):this.innerExpanded=e},setExpanded:function(t,e,i,n){var r=this;if(void 0===i&&(i=this.getNodeByKey(t)),void 0===n&&(n=this.meta[t]),n.lazy&&"loaded"!==n.lazy){if("loading"===n.lazy)return;this.$set(this.lazy,t,"loading"),this.$emit("lazy-load",{node:i,key:t,done:function(e){r.lazy[t]="loaded",e&&(i.children=e),r.$nextTick(function(){var e=r.meta[t];e&&e.isParent&&r.__setExpanded(t,!0)})},fail:function(){r.$delete(r.lazy,t)}})}else n.isParent&&n.expandable&&this.__setExpanded(t,e)},__setExpanded:function(t,e){var i=this,n=this.innerExpanded,r=void 0!==this.expanded;if(r&&(n=n.slice()),e){if(this.accordion&&this.meta[t]){var s=[];this.meta[t].parent?this.meta[t].parent.children.forEach(function(e){e.key!==t&&e.expandable&&s.push(e.key)}):this.nodes.forEach(function(e){var n=e[i.nodeKey];n!==t&&s.push(n)}),s.length>0&&(n=n.filter(function(t){return!s.includes(t)}))}n=n.concat([t]).filter(function(t,e,i){return i.indexOf(t)===e})}else n=n.filter(function(e){return e!==t});r?this.$emit("update:expanded",n):this.innerExpanded=n},isTicked:function(t){return!(!t||!this.meta[t])&&this.meta[t].ticked},setTicked:function(t,e){var i=this.innerTicked,n=void 0!==this.ticked;n&&(i=i.slice()),i=e?i.concat(t).filter(function(t,e,i){return i.indexOf(t)===e}):i.filter(function(e){return!t.includes(e)}),n&&this.$emit("update:ticked",i)},__getSlotScope:function(t,e,i){var n=this,r={tree:this,node:t,key:i,color:this.color,dark:this.dark};return Object.defineProperty(r,"expanded",{get:function(){return e.expanded},set:function(t){t!==e.expanded&&n.setExpanded(i,t)}}),Object.defineProperty(r,"ticked",{get:function(){return e.ticked},set:function(t){t!==e.ticked&&n.setTicked([i],t)}}),r},__getChildren:function(t,e){var i=this;return(this.filter?e.filter(function(t){return i.meta[t[i.nodeKey]].matchesFilter}):e).map(function(e){return i.__getNode(t,e)})},__getNodeMedia:function(t,e){return e.icon?t(St,{staticClass:"q-tree-icon q-mr-sm",props:{name:e.icon,color:e.iconColor}}):e.img||e.avatar?t("img",{staticClass:"q-tree-img q-mr-sm",class:{avatar:e.avatar},attrs:{src:e.img||e.avatar}}):void 0},__getNode:function(t,e){var i=this,n=e[this.nodeKey],r=this.meta[n],s=e.header&&this.$scopedSlots["header-"+e.header]||this.$scopedSlots["default-header"],o=r.isParent?this.__getChildren(t,e.children):[],a=o.length>0||r.lazy&&"loaded"!==r.lazy,l=e.body&&this.$scopedSlots["body-"+e.body]||this.$scopedSlots["default-body"],c=s||l?this.__getSlotScope(e,r,n):null;return l&&(l=t("div",{staticClass:"q-tree-node-body relative-position"},[t("div",{class:this.contentClass},[l(c)])])),t("div",{key:n,staticClass:"q-tree-node",class:{"q-tree-node-parent":a,"q-tree-node-child":!a}},[t("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":r.link,"q-tree-node-selected":r.selected,disabled:r.disabled},on:{click:function(){i.__onClick(e,r)}},directives:r.selectable?[{name:"ripple"}]:null},["loading"===r.lazy?t(ue,{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):a?t(St,{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":r.expanded},props:{name:this.computedIcon},nativeOn:{click:function(t){i.__onExpandClick(e,r,t)}}}):null,t("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[r.hasTicking&&!r.noTick?t(ui,{staticClass:"q-mr-xs",props:{value:r.indeterminate?null:r.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!r.tickable},on:{input:function(t){i.__onTickedClick(e,r,t)}}}):null,s?s(c):[this.__getNodeMedia(t,e),t("span",e[this.labelKey])]])]),a?t(yi,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:r.expanded}],staticClass:"q-tree-node-collapsible",class:"text-"+this.color},[l,t("div",{staticClass:"q-tree-children",class:{disabled:r.disabled}},o)])]):l])},__onClick:function(t,e){this.hasSelection?e.selectable&&this.$emit("update:selected",e.key!==this.selected?e.key:null):this.__onExpandClick(t,e),"function"==typeof t.handler&&t.handler(t)},__onExpandClick:function(t,e,i){void 0!==i&&i.stopPropagation(),this.setExpanded(e.key,!e.expanded,t,e)},__onTickedClick:function(t,e,i){if(e.indeterminate&&i&&(i=!1),e.strictTicking)this.setTicked([e.key],i);else if(e.leafTicking){var n=[],r=function t(e){e.isParent?(i||e.noTick||!e.tickable||n.push(e.key),e.leafTicking&&e.children.forEach(t)):e.noTick||!e.tickable||e.leafFilteredTicking&&!e.matchesFilter||n.push(e.key)};r(e),this.setTicked(n,i)}}},render:function(t){var e=this.__getChildren(t,this.nodes);return t("div",{staticClass:"q-tree relative-position",class:this.classes},0===e.length?this.filter?this.noResultsLabel||this.$q.i18n.tree.noResults:this.noNodesLabel||this.$q.i18n.tree.noNodes:e)},created:function(){this.defaultExpandAll&&this.expandAll()}};function Cs(t){t.__doneUploading=!1,t.__failed=!1,t.__uploaded=0,t.__progress=0}var ks={name:"QUploader",mixins:[fi],props:{name:{type:String,default:"file"},headers:Object,url:{type:String,required:!0},urlFactory:{type:Function,required:!1},uploadFactory:Function,additionalFields:{type:Array,default:function(){return[]}},noContentType:Boolean,method:{type:String,default:"POST"},filter:Function,extensions:String,multiple:Boolean,hideUploadButton:Boolean,hideUploadProgress:Boolean,noThumbnails:Boolean,autoExpand:Boolean,expandStyle:[Array,String,Object],expandClass:[Array,String,Object],withCredentials:Boolean,sendRaw:{type:Boolean,default:!1}},data:function(){return{queue:[],files:[],uploading:!1,uploadedSize:0,totalSize:0,xhrs:[],focused:!1,dnd:!1,expanded:!1}},computed:{queueLength:function(){return this.queue.length},hasExpandedContent:function(){return this.files.length>0},label:function(){var t=zt(this.totalSize);return this.uploading?this.progress.toFixed(2)+"% ("+zt(this.uploadedSize)+" / "+t+")":this.queueLength+" ("+t+")"},progress:function(){return this.totalSize?Math.min(99.99,this.uploadedSize/this.totalSize*100):0},addDisabled:function(){return this.disable||!this.multiple&&this.queueLength>=1},filesStyle:function(){if(this.maxHeight)return{maxHeight:this.maxHeight}},dndClass:function(){var t=["text-"+this.color];return this.isInverted&&t.push("inverted"),t},classes:function(){return{"q-uploader-expanded":this.expanded,"q-uploader-dark":this.dark,"q-uploader-files-no-border":this.isInverted||!this.hideUnderline}},progressColor:function(){return this.dark?"white":"grey"},computedExtensions:function(){if(this.extensions)return this.extensions.split(",").map(function(t){return(t=t.trim()).endsWith("/*")&&(t=t.slice(0,t.length-1)),t})}},watch:{hasExpandedContent:function(t){!1===t?this.expanded=!1:this.autoExpand&&(this.expanded=!0)}},methods:{add:function(t){t&&this.__add(null,t)},__onDragOver:function(t){tt(t),this.dnd=!0},__onDragLeave:function(t){tt(t),this.dnd=!1},__onDrop:function(t){tt(t),this.dnd=!1;var e=t.dataTransfer.files;0!==e.length&&(e=this.multiple?e:[e[0]],this.__add(null,e))},__filter:function(t){var e=this;return Array.prototype.filter.call(t,function(t){return e.computedExtensions.some(function(e){return t.type.toUpperCase().startsWith(e.toUpperCase())||t.name.toUpperCase().endsWith(e.toUpperCase())})})},__add:function(t,e){var i=this;if(!this.addDisabled&&(e=Array.prototype.slice.call(e||t.target.files),!this.extensions||0!==(e=this.__filter(e)).length)){this.$refs.file.value="";var n=[];e=e.filter(function(t){return!i.queue.some(function(e){return t.name===e.name})}),"function"==typeof this.filter&&(e=this.filter(e)),(e=e.map(function(t){if(Cs(t),t.__size=zt(t.size),t.__timestamp=(new Date).getTime(),i.noThumbnails||!t.type.toUpperCase().startsWith("IMAGE"))i.queue.push(t);else{var e=new FileReader,r=new Promise(function(n,r){e.onload=function(e){var r=new Image;r.src=e.target.result,t.__img=r,i.queue.push(t),i.__computeTotalSize(),n(!0)},e.onerror=function(t){r(t)}});e.readAsDataURL(t),n.push(r)}return t})).length>0&&(this.files=this.files.concat(e),Promise.all(n).then(function(){i.$emit("add",e)}),this.__computeTotalSize())}},__computeTotalSize:function(){this.totalSize=this.queueLength?this.queue.map(function(t){return t.size}).reduce(function(t,e){return t+e}):0},__remove:function(t){var e=t.name,i=t.__doneUploading;this.uploading&&!i?(this.$emit("remove:abort",t,t.xhr),t.xhr&&t.xhr.abort(),this.uploadedSize-=t.__uploaded):this.$emit("remove:"+(i?"done":"cancel"),t,t.xhr),i||(this.queue=this.queue.filter(function(t){return t.name!==e})),t.__removed=!0,this.files=this.files.filter(function(t){return t.name!==e}),this.files.length||(this.uploading=!1),this.__computeTotalSize()},__pick:function(){!this.addDisabled&&this.$q.platform.is.mozilla&&this.$refs.file.click()},__getUploadPromise:function(t){var e=this;if(Cs(t),this.uploadFactory){var i=function(i){var n=i*t.size;e.uploadedSize+=n-t.__uploaded,t.__uploaded=n,t.__progress=Math.min(99,parseInt(100*i,10)),e.$forceUpdate()};return new Promise(function(n,r){e.uploadFactory(t,i).then(function(t){t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t),e.$forceUpdate(),n(t)}).catch(function(i){t.__failed=!0,e.$emit("fail",t),e.$forceUpdate(),r(i)})})}var n=new FormData,r=new XMLHttpRequest;try{this.additionalFields.forEach(function(t){n.append(t.name,t.value)}),!0!==this.noContentType&&n.append("Content-Type",t.type||"application/octet-stream"),n.append(this.name,t)}catch(t){return}return t.xhr=r,new Promise(function(i,s){r.upload.addEventListener("progress",function(i){if(!t.__removed){i.percent=i.total?i.loaded/i.total:0;var n=i.percent*t.size;e.uploadedSize+=n-t.__uploaded,t.__uploaded=n,t.__progress=Math.min(99,parseInt(100*i.percent,10))}},!1),r.onreadystatechange=function(){r.readyState<4||(r.status&&r.status<400?(t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t,r),i(t)):(t.__failed=!0,e.$emit("fail",t,r),s(r)))},r.onerror=function(){t.__failed=!0,e.$emit("fail",t,r),s(r)},(e.urlFactory?e.urlFactory(t):Promise.resolve(e.url)).then(function(i){r.open(e.method,i,!0),e.withCredentials&&(r.withCredentials=!0),e.headers&&Object.keys(e.headers).forEach(function(t){r.setRequestHeader(t,e.headers[t])}),e.xhrs.push(r),e.sendRaw?r.send(t):r.send(n)})})},pick:function(){this.addDisabled||this.$refs.file.click()},upload:function(){var t=this,e=this.queueLength;if(!this.disable&&0!==e){var i=0;this.uploadedSize=0,this.uploading=!0,this.xhrs=[],this.$emit("start");var n=function(){++i===e&&(t.uploading=!1,t.xhrs=[],t.queue=t.queue.filter(function(t){return!t.__doneUploading}),t.__computeTotalSize(),t.$emit("finish"))};this.queue.map(function(e){return t.__getUploadPromise(e)}).forEach(function(t){t.then(n).catch(n)})}},abort:function(){this.xhrs.forEach(function(t){t.abort()}),this.uploading=!1,this.$emit("abort")},reset:function(){this.abort(),this.files=[],this.queue=[],this.expanded=!1,this.__computeTotalSize(),this.$emit("reset")}},render:function(t){var e=this,i=[t("div",{staticClass:"col q-input-target ellipsis",class:this.alignClass},[this.label])];return this.uploading?i.push(this.$slots.loading?t("div",{slot:"after",staticClass:"q-if-end self-center q-if-control"},this.$slots.loading):t(ue,{slot:"after",staticClass:"q-if-end self-center",props:{size:"24px"}}),t(St,{slot:"after",staticClass:"q-if-end self-center q-if-control",props:{name:this.$q.icon.uploader["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.abort}})):(i.push(t(St,{slot:"after",staticClass:"q-uploader-pick-button self-center q-if-control relative-position overflow-hidden",props:{name:this.$q.icon.uploader.add},attrs:{disabled:this.addDisabled}},[t("input",{ref:"file",staticClass:"q-uploader-input absolute-full cursor-pointer",attrs:Object.assign({type:"file",accept:this.extensions},this.multiple?{multiple:!0}:{}),on:{change:this.__add}})])),this.hideUploadButton||i.push(t(St,{slot:"after",staticClass:"q-if-control self-center",props:{name:this.$q.icon.uploader.upload},attrs:{disabled:0===this.queueLength},nativeOn:{click:this.upload}}))),this.hasExpandedContent&&i.push(t(St,{slot:"after",staticClass:"q-if-control generic_transition self-center",class:{"rotate-180":this.expanded},props:{name:this.$q.icon.uploader.expand},nativeOn:{click:function(){e.expanded=!e.expanded}}})),t("div",{staticClass:"q-uploader relative-position",class:this.classes,on:{dragover:this.__onDragOver}},[t(vi,{ref:"input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,align:this.align,noParentField:this.noParentField,length:this.queueLength,additionalLength:!0}},i),t(yi,[t("div",{class:this.expandClass,style:this.expandStyle,directives:[{name:"show",value:this.expanded}]},[t($t,{staticClass:"q-uploader-files q-py-none scroll",style:this.filesStyle,props:{dark:this.dark}},this.files.map(function(i){return t(At,{key:i.name+i.__timestamp,staticClass:"q-uploader-file q-pa-xs"},[!e.hideUploadProgress&&t(dr,{staticClass:"q-uploader-progress-bg absolute-full",props:{color:i.__failed?"negative":e.progressColor,percentage:i.__progress,height:"100%"}})||void 0,!e.hideUploadProgress&&t("div",{staticClass:"q-uploader-progress-text absolute"},[i.__progress+"%"])||void 0,t(Bt,{props:i.__img?{image:i.__img.src}:{icon:e.$q.icon.uploader.file,color:e.color}}),t(Rt,{props:{label:i.name,sublabel:i.__size}}),t(Bt,{props:{right:!0}},[t(bi,{staticClass:"cursor-pointer",props:{icon:e.$q.icon.uploader[i.__doneUploading?"done":"clear"],color:e.color},nativeOn:{click:function(){e.__remove(i)}}})])])}))])]),this.dnd&&t("div",{staticClass:"q-uploader-dnd flex row items-center justify-center absolute-full",class:this.dndClass,on:{dragenter:tt,dragover:tt,dragleave:this.__onDragLeave,drop:this.__onDrop}})||void 0])}},Ss={name:"QVideo",props:{src:{type:String,required:!0}},computed:{iframeData:function(){return{attrs:{src:this.src,frameborder:"0",allowfullscreen:!0}}}},render:function(t){return t("div",{staticClass:"q-video"},[t("iframe",this.iframeData)])}},$s=Object.freeze({QActionSheet:Dt,QAjaxBar:Zt,QAlert:de,QAutocomplete:Pe,QBreadcrumbs:Le,QBreadcrumbsEl:Oe,QBtn:he,QBtnGroup:Me,QBtnDropdown:Ee,QBtnToggle:Ae,QCard:Be,QCardTitle:Ne,QCardMain:Re,QCardActions:Ie,QCardMedia:De,QCardSeparator:je,QCarousel:ii,QCarouselSlide:ni,QCarouselControl:ri,QChatMessage:si,QCheckbox:ui,QChip:hi,QChipsInput:gi,QCollapsible:wi,QColor:Mi,QColorPicker:Li,QContextMenu:Ei,QDatetime:dn,QDatetimePicker:un,QDialog:_n,QEditor:jn,QFab:Fn,QFabAction:Hn,QField:Vn,QIcon:St,QInfiniteScroll:Qn,QInnerLoading:Un,QInput:mn,QInputFrame:vi,QJumbotron:Wn,QKnob:Kn,QLayout:Jn,QLayoutDrawer:Xn,QLayoutFooter:tr,QLayoutHeader:er,QPage:ir,QPageContainer:nr,QPageSticky:rr,QItem:At,QItemSeparator:It,QItemMain:Rt,QItemSide:Bt,QItemTile:bi,QItemWrapper:qe,QList:$t,QListHeader:sr,QModal:Ct,QModalLayout:or,QNoSsr:ar,QResizeObservable:pn,QScrollObservable:Yn,QWindowResizeObservable:Zn,QOptionGroup:yn,QPagination:lr,QParallax:cr,QPopover:Se,QPopupEdit:ur,QProgress:dr,QPullToRefresh:pr,QRadio:vn,QRange:vr,QRating:gr,QScrollArea:br,QSearch:yr,QSelect:wr,QSlideTransition:yi,QSlider:qi,QSpinner:ue,QSpinnerAudio:xr,QSpinnerBall:Cr,QSpinnerBars:kr,QSpinnerCircles:Sr,QSpinnerComment:$r,QSpinnerCube:qr,QSpinnerDots:Tr,QSpinnerFacebook:Pr,QSpinnerGears:Lr,QSpinnerGrid:Or,QSpinnerHearts:Mr,QSpinnerHourglass:Er,QSpinnerInfinity:Ar,QSpinnerIos:Br,QSpinnerMat:ce,QSpinnerOval:Nr,QSpinnerPie:Rr,QSpinnerPuff:Ir,QSpinnerRadio:Dr,QSpinnerRings:jr,QSpinnerTail:zr,QStep:Hr,QStepper:Vr,QStepperNavigation:Qr,QRouteTab:Wr,QTab:Kr,QTabPane:Yr,QTabs:Zr,QTable:ps,QTh:es,QTr:ms,QTd:vs,QTableColumns:gs,QTimeline:bs,QTimelineEntry:ys,QToggle:gn,QToolbar:_s,QToolbarTitle:ws,QTooltip:xn,QTree:xs,QUploader:ks,QVideo:Ss});function qs(t,e){var i=e.value,n=(e.modifiers,t.__qbacktotop);if(i){if("number"==typeof i)return n.offset=i,void n.update();if(i&&Object(i)!==i)console.error("v-back-to-top requires an object {offset, duration} as parameter",t);else{if(i.offset){if("number"!=typeof i.offset)return void console.error("v-back-to-top requires a number as offset",t);n.offset=i.offset}if(i.duration){if("number"!=typeof i.duration)return void console.error("v-back-to-top requires a number as duration",t);n.duration=i.duration}n.update()}}else n.update()}var Ts={name:"back-to-top",bind:function(t){var e={offset:200,duration:300,updateNow:function(){var i=lt(e.scrollTarget)<=e.offset;i!==t.classList.contains("hidden")&&t.classList[i?"add":"remove"]("hidden")},goToTop:function(){dt(e.scrollTarget,0,e.animate?e.duration:0)},goToTopKey:function(t){13===t.keyCode&&dt(e.scrollTarget,0,e.animate?e.duration:0)}};e.update=wn(e.updateNow,25),t.classList.add("hidden"),t.__qbacktotop=e},inserted:function(t,e){var i=t.__qbacktotop;i.scrollTarget=at(t),i.animate=e.modifiers.animate,qs(t,e),i.scrollTarget.addEventListener("scroll",i.update,Q.passive),window.addEventListener("resize",i.update,Q.passive),t.addEventListener("click",i.goToTop),t.addEventListener("keyup",i.goToTopKey)},update:function(t,e){JSON.stringify(e.oldValue)!==JSON.stringify(e.value)?qs(t,e):setTimeout(function(){t.__qbacktotop&&t.__qbacktotop.updateNow()},0)},unbind:function(t){var e=t.__qbacktotop;e&&(e.scrollTarget.removeEventListener("scroll",e.update,Q.passive),window.removeEventListener("resize",e.update,Q.passive),t.removeEventListener("click",e.goToTop),t.removeEventListener("keyup",e.goToTopKey),delete t.__qbacktotop)}},Ps={name:"close-overlay",bind:function(t,e,i){var n=function(t){for(var e=i.componentInstance;e=e.$parent;){var n=e.$options.name;if("QPopover"===n||"QModal"===n){e.hide(t);break}}},r=function(t){13===t.keyCode&&n(t)};t.__qclose={handler:n,handlerKey:r},t.addEventListener("click",n),t.addEventListener("keyup",r)},unbind:function(t){var e=t.__qclose;e&&(t.removeEventListener("click",e.handler),t.removeEventListener("keyup",e.handlerKey),delete t.__qclose)}},Ls={name:"go-back",bind:function(t,e,i){var n=e.value,r=e.modifiers,s={value:n,position:window.history.length-1,single:r.single};p.is.cordova?s.goBack=function(){i.context.$router.go(s.single?-1:s.position-window.history.length)}:s.goBack=function(){i.context.$router.replace(s.value)},s.goBackKey=function(t){13===t.keyCode&&s.goBack(t)},t.__qgoback=s,t.addEventListener("click",s.goBack),t.addEventListener("keyup",s.goBackKey)},update:function(t,e){e.oldValue!==e.value&&(t.__qgoback.value=e.value)},unbind:function(t){var e=t.__qgoback;e&&(t.removeEventListener("click",e.goBack),t.removeEventListener("keyup",e.goBackKey),delete t.__qgoback)}};function Os(t,e){var i=t.__qscrollfire;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll),void console.error("v-scroll-fire requires a function as parameter",t);i.handler=e.value,"function"!=typeof e.oldValue&&(i.scrollTarget.addEventListener("scroll",i.scroll,Q.passive),i.scroll())}var Ms={name:"scroll-fire",bind:function(t,e){var i={scroll:wn(function(){var e,n;i.scrollTarget===window?(n=t.getBoundingClientRect().bottom,e=window.innerHeight):(n=et(t).top+nt(t),e=et(i.scrollTarget).top+nt(i.scrollTarget)),n>0&&n<e&&(i.scrollTarget.removeEventListener("scroll",i.scroll,Q.passive),i.handler(t))},25)};t.__qscrollfire=i},inserted:function(t,e){t.__qscrollfire.scrollTarget=at(t),Os(t,e)},update:function(t,e){e.value!==e.oldValue&&Os(t,e)},unbind:function(t){var e=t.__qscrollfire;e&&(e.scrollTarget.removeEventListener("scroll",e.scroll,Q.passive),delete t.__qscrollfire)}};function Es(t,e){var i=t.__qscroll;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll,Q.passive),void console.error("v-scroll requires a function as parameter",t);i.handler=e.value,"function"!=typeof e.oldValue&&i.scrollTarget.addEventListener("scroll",i.scroll,Q.passive)}var As={name:"scroll",bind:function(t,e){var i={scroll:function(){i.handler(lt(i.scrollTarget),ct(i.scrollTarget))}};t.__qscroll=i},inserted:function(t,e){t.__qscroll.scrollTarget=at(t),Es(t,e)},update:function(t,e){e.oldValue!==e.value&&Es(t,e)},unbind:function(t){var e=t.__qscroll;e&&(e.scrollTarget.removeEventListener("scroll",e.scroll,Q.passive),delete t.__qscroll)}};function Bs(t,e){var i=t.__qtouchhold;i.duration=parseInt(e.arg,10)||600,e.oldValue!==e.value&&(i.handler=e.value)}var Ns={name:"touch-hold",bind:function(t,e){var i=!e.modifiers.noMouse,n=e.modifiers.stop,r=e.modifiers.prevent,s={mouseStart:function(t){U(t)&&(document.addEventListener("mousemove",s.mouseAbort),document.addEventListener("mouseup",s.mouseAbort),s.start(t))},mouseAbort:function(t){document.removeEventListener("mousemove",s.mouseAbort),document.removeEventListener("mouseup",s.mouseAbort),s.abort(t)},start:function(t){var e=(new Date).getTime();n&&t.stopPropagation(),r&&t.preventDefault(),s.timer=setTimeout(function(){i&&(document.removeEventListener("mousemove",s.mouseAbort),document.removeEventListener("mouseup",s.mouseAbort)),s.handler({evt:t,position:K(t),duration:(new Date).getTime()-e})},s.duration)},abort:function(t){clearTimeout(s.timer),s.timer=null}};t.__qtouchhold=s,Bs(t,e),i&&t.addEventListener("mousedown",s.mouseStart),t.addEventListener("touchstart",s.start),t.addEventListener("touchmove",s.abort),t.addEventListener("touchend",s.abort)},update:function(t,e){Bs(t,e)},unbind:function(t,e){var i=t.__qtouchhold;i&&(t.removeEventListener("touchstart",i.start),t.removeEventListener("touchend",i.abort),t.removeEventListener("touchmove",i.abort),t.removeEventListener("mousedown",i.mouseStart),document.removeEventListener("mousemove",i.mouseAbort),document.removeEventListener("mouseup",i.mouseAbort),delete t.__qtouchhold)}},Rs=Object.freeze({BackToTop:Ts,CloseOverlay:Ps,GoBack:Ls,Ripple:ie,ScrollFire:Ms,Scroll:As,TouchHold:Ns,TouchPan:Ve,TouchSwipe:ai});function Is(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(i[n]=t[n]);return i}function Ds(t,e){return function(i,n){var r=i.className,s=Is(i,["className"]);return new Promise(function(i,a){if(o)return i();var l=document.createElement("div");document.body.appendChild(l);var c=function(t){i(t),h.$destroy()},u=function(t){a(t||new Error),h.$destroy()},h=new e({el:l,data:function(){return{props:s}},render:function(e){return e(t,{ref:"modal",props:s,class:r,on:{ok:c,cancel:u}})},mounted:function(){this.$refs.modal.show()}});n&&n.then(c,u)})}}var js,zs={install:function(t){var e=t.$q,i=t.Vue;this.create=e.actionSheet=Ds(Dt,i)}};function Fs(){return p.is.winphone?"msapplication-navbutton-color":p.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function Hs(t){var e=document.getElementsByTagName("META");for(var i in e)if(e[i].name===t)return e[i]}function Vs(t){void 0===js&&(js=Fs());var e=Hs(js),i=void 0===e;i&&(e=document.createElement("meta")).setAttribute("name",js),e.setAttribute("content",t),i&&document.head.appendChild(e)}var Qs={install:function(t){var e=t.$q,i=(t.Vue,t.cfg);this.set=!o&&p.is.mobile&&(p.is.cordova||p.is.winphone||p.is.safari||p.is.webkit||p.is.vivaldi)?function(t){var e=t||T("primary");p.is.cordova&&window.StatusBar?window.StatusBar.backgroundColorByHexString(e):Vs(e)}:function(){},e.addressbarColor=this,i.addressbarColor&&this.set(i.addressbarColor)}},Us={},Ws={isCapable:!1,isActive:!1,request:function(t){this.isCapable&&!this.isActive&&(t=t||document.documentElement)[Us.request]()},exit:function(){this.isCapable&&this.isActive&&document[Us.exit]()},toggle:function(t){this.isActive?this.exit():this.request(t)},install:function(t){var e=this,i=t.$q,n=t.Vue;i.fullscreen=this,o||(Us.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(function(t){return document.documentElement[t]}),this.isCapable=void 0!==Us.request,this.isCapable&&(Us.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(function(t){return document[t]}),this.isActive=!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement),["onfullscreenchange","onmsfullscreenchange","onmozfullscreenchange","onwebkitfullscreenchange"].forEach(function(t){document[t]=function(){e.isActive=!e.isActive}}),n.util.defineReactive(this,"isActive",this.isActive)))}},Ks={appVisible:!1,install:function(t){var e=this,i=t.$q,n=t.Vue;if(o)this.appVisible=i.appVisible=!0;else{var r,s;void 0!==document.hidden?(r="hidden",s="visibilitychange"):void 0!==document.msHidden?(r="msHidden",s="msvisibilitychange"):void 0!==document.webkitHidden&&(r="webkitHidden",s="webkitvisibilitychange");var a=function(){e.appVisible=i.appVisible=!document[r]};a(),s&&void 0!==document[r]&&(n.util.defineReactive(i,"appVisible",this.appVisible),document.addEventListener(s,a,!1))}}};function Ys(t){return encodeURIComponent(t)}function Js(t){return decodeURIComponent(t)}function Gs(t){return Ys(t===Object(t)?JSON.stringify(t):""+t)}function Xs(t){if(""===t)return t;0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),t=Js(t.replace(/\+/g," "));try{t=JSON.parse(t)}catch(t){}return t}function Zs(t,e,i,n){var r,s;if(void 0===i&&(i={}),void 0!==i.expires){if(s=parseInt(i.expires,10),isNaN(s))return void console.error("Quasar cookie: expires needs to be a number");(r=new Date).setMilliseconds(r.getMilliseconds()+864e5*s)}var o=Ys(t)+"="+Gs(e),a=[o,void 0!==r?"; Expires="+r.toUTCString():"",i.path?"; Path="+i.path:"",i.domain?"; Domain="+i.domain:"",i.httpOnly?"; HttpOnly":"",i.secure?"; Secure":""].join("");if(n){n.req.qCookies?n.req.qCookies.push(a):n.req.qCookies=[a],n.res.setHeader("Set-Cookie",n.req.qCookies);var l=n.req.headers.cookie||"";if(void 0!==r&&s<0){var c=to(t,n);void 0!==c&&(l=l.replace(t+"="+c+"; ","").replace("; "+t+"="+c,"").replace(t+"="+c,""))}else l=l?o+"; "+l:a;n.req.headers.cookie=l}else document.cookie=a}function to(t,e){for(var i,n,r,s=t?void 0:{},o=e?e.req.headers:document,a=o.cookie?o.cookie.split("; "):[],l=0,c=a.length;l<c;l++)if(n=Js((i=a[l].split("=")).shift()),r=i.join("="),t){if(t===n){s=Xs(r);break}}else s[n]=r;return s}function eo(t,e,i){Zs(t,"",Object.assign({},e,{expires:-1}),i)}function io(t,e){return void 0!==to(t,e)}function no(t){void 0===t&&(t={});var e=t.ssr;return{get:function(t){return to(t,e)},set:function(t,i,n){return Zs(t,i,n,e)},has:function(t){return io(t,e)},remove:function(t,i){return eo(t,i,e)},all:function(){return to(null,e)}}}var ro,so,oo,ao,lo={parseSSR:function(t){return t?no({ssr:t}):this},install:function(t){var e=t.$q,i=t.queues;o?i.server.push(function(t,e){t.cookies=no(e)}):(Object.assign(this,no()),e.cookies=this)}},co={install:function(t){var e=t.$q,i=t.Vue;this.create=e.dialog=Ds(_n,i)}},uo={start:function(){},stop:function(){},increment:function(){},install:function(t){var e=t.$q,i=t.Vue,n=t.cfg;if(o)e.loadingBar=this;else{var r=e.loadingBar=new i({render:function(t){return t(Zt,{ref:"bar",props:n.loadingBar})}}).$mount().$refs.bar;Object.assign(this,{start:r.start,stop:r.stop,increment:r.increment}),document.body.appendChild(e.loadingBar.$parent.$el)}}},ho={},fo={delay:0,message:!1,spinnerSize:80,spinnerColor:"white",messageColor:"white",spinner:ue,customClass:!1},po="q-loading animate-fade fullscreen column flex-center z-max",mo={isActive:!1,show:function(t){var e=this;o||("string"==typeof(ho=Object.assign({},fo,t)).customClass&&(ho.customClass=ho.customClass.trim()),this.isActive?ro&&ro.$forceUpdate():(so=setTimeout(function(){so=null;var t=document.createElement("div");document.body.appendChild(t),document.body.classList.add("with-loading"),ro=new e.__Vue({name:"QLoading",el:t,render:function(t){return t("div",{staticClass:po,class:ho.customClass},[t(ho.spinner,{props:{color:ho.spinnerColor,size:ho.spinnerSize}}),ho.message?t("div",{class:"text-"+ho.messageColor,domProps:{innerHTML:ho.message}}):null])}})},ho.delay),this.isActive=!0))},hide:function(){this.isActive&&(so?(clearTimeout(so),so=null):(ro.$destroy(),document.body.classList.remove("with-loading"),ro.$el.remove(),ro=null),this.isActive=!1)},setDefaults:function(t){Object.assign(fo,t)},__Vue:null,install:function(t){var e=t.$q,i=t.Vue,n=t.cfg.loading;n&&this.setDefaults(n),e.loading=this,this.__Vue=i}};function vo(t){t.title&&(t.title=t.titleTemplate?t.titleTemplate(t.title||""):t.title,delete t.titleTemplate),[["meta","content"],["link","href"]].forEach(function(e){var i=t[e[0]],n=e[1];for(var r in i){var s=i[r];s.template&&(1===Object.keys(s).length?delete i[r]:(s[n]=s.template(s[n]||""),delete s.template))}})}function go(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!0;for(var i in t)if(t[i]!==e[i])return!0}function bo(t){return!["class","style"].includes(t)}function yo(t){return!["lang","dir"].includes(t)}function _o(t,e){var i={},n={};return t?(t.title!==e.title&&(i.title=e.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(function(r){var s=t[r],o=e[r];if(n[r]=[],s){for(var a in i[r]={},s)o.hasOwnProperty(a)||n[r].push(a);for(var l in o)s.hasOwnProperty(l)?go(s[l],o[l])&&(n[r].push(l),i[r][l]=o[l]):i[r][l]=o[l]}else i[r]=o}),{add:i,remove:n}):{add:e,remove:n}}function wo(t){var e=t.add,i=t.remove;e.title&&(document.title=e.title),Object.keys(i).length>0&&(["meta","link","script"].forEach(function(t){i[t].forEach(function(e){document.head.querySelector(t+'[data-qmeta="'+e+'"]').remove()})}),i.htmlAttr.filter(yo).forEach(function(t){document.documentElement.removeAttribute(t)}),i.bodyAttr.filter(bo).forEach(function(t){document.body.removeAttribute(t)})),["meta","link","script"].forEach(function(t){var i=e[t];for(var n in i){var r=document.createElement(t);for(var s in i[n])"innerHTML"!==s&&r.setAttribute(s,i[n][s]);r.setAttribute("data-qmeta",n),"script"===t&&(r.innerHTML=i[n].innerHTML||""),document.head.appendChild(r)}}),Object.keys(e.htmlAttr).filter(yo).forEach(function(t){document.documentElement.setAttribute(t,e.htmlAttr[t]||"")}),Object.keys(e.bodyAttr).filter(bo).forEach(function(t){document.body.setAttribute(t,e.bodyAttr[t]||"")})}function xo(t,e){if(!t._inactive){var i=t.$options.meta;i&&(Dn(!0,e,t.__qMeta),i.stopPropagation)||t.$children&&t.$children.forEach(function(t){xo(t,e)})}}function Co(){if(ao)return ao=!1,this.$root.__currentMeta=window.__Q_META__,void document.body.querySelector("script[data-qmeta-init]").remove();var t={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};xo(this.$root,t),vo(t),wo(_o(this.$root.__currentMeta,t)),this.$root.__currentMeta=t}function ko(t){return function(e){var i=t[e];return e+(void 0!==i?'="'+i+'"':"")}}function So(t){var e="";return t.title&&(e+="<title>"+t.title+"</title>"),["meta","link","script"].forEach(function(i){var n=t[i];for(var r in n){var s=Object.keys(n[r]).filter(function(t){return"innerHTML"!==t}).map(ko(n[r]));e+="<"+i+" "+s.join(" ")+' data-qmeta="'+r+'">',"script"===i&&(e+=(n[r].innerHTML||"")+"<\/script>")}}),e}function $o(t,e){var i={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};xo(t,i),vo(i);var n={"%%Q_HTML_ATTRS%%":Object.keys(i.htmlAttr).filter(yo).map(ko(i.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":So(i),"%%Q_BODY_ATTRS%%":Object.keys(i.bodyAttr).filter(bo).map(ko(i.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(i.noscript).map(function(t){return'<noscript data-qmeta="'+t+'">'+i.noscript[t]+"</noscript>"}).join("")+"<script data-qmeta-init>window.__Q_META__="+(delete i.noscript&&JSON.stringify(i))+"<\/script>"};return Object.keys(n).forEach(function(t){e=e.replace(t,n[t])}),e}function qo(){this.$options.meta&&("function"==typeof this.$options.meta?(this.$options.computed||(this.$options.computed={}),this.$options.computed.__qMeta=this.$options.meta):this.__qMeta=this.$options.meta)}function To(){this.$options.meta&&this.__qMetaUpdate()}var Po={install:function(t){var e=t.queues,i=t.Vue;o?(i.prototype.$getMetaHTML=function(t){return function(e){return $o(t,e)}},i.mixin({beforeCreate:qo}),e.server.push(function(t,e){e.ssr.Q_HTML_ATTRS+=" %%Q_HTML_ATTRS%%",Object.assign(e.ssr,{Q_HEAD_TAGS:"%%Q_HEAD_TAGS%%",Q_BODY_ATTRS:"%%Q_BODY_ATTRS%%",Q_BODY_TAGS:"%%Q_BODY_TAGS%%"})})):(ao=a,i.mixin({beforeCreate:qo,created:function(){this.$options.meta&&(this.__qMetaUnwatch=this.$watch("__qMeta",this.__qMetaUpdate))},activated:To,deactivated:To,beforeMount:To,destroyed:function(){this.$options.meta&&(this.__qMetaUnwatch(),this.__qMetaUpdate())},methods:{__qMetaUpdate:function(){clearTimeout(oo),oo=setTimeout(Co.bind(this),50)}}}))}},Lo={},Oo=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"];function Mo(t){var e=t.Vue,i=document.createElement("div");document.body.appendChild(i),this.__vm=new e({name:"QNotifications",data:{notifs:{center:[],left:[],right:[],top:[],"top-left":[],"top-right":[],bottom:[],"bottom-left":[],"bottom-right":[]}},methods:{add:function(t){var e=this;if(!t)return console.error("Notify: parameter required"),!1;var i=Object.assign({},Lo,"string"==typeof t?{message:t}:Pi(t));if(i.position){if(!Oo.includes(i.position))return console.error("Notify: wrong position: "+i.position),!1}else i.position="bottom";if(i.__uid=me(),void 0===i.timeout)i.timeout=5e3;else{var n=parseInt(i.timeout,10);if(isNaN(n)||n<0)return console.error("Notify: wrong timeout: "+i.timeout),!1;i.timeout=n}var r=function(){e.remove(i)};if(t.actions&&(i.actions=t.actions.map(function(t){var e=t.handler,i=Pi(t);return i.handler="function"==typeof e?function(){e(),!t.noDismiss&&r()}:function(){return r()},i})),"function"==typeof t.onDismiss&&(i.onDismiss=t.onDismiss),i.closeBtn){var s=[{closeBtn:!0,label:i.closeBtn,handler:r}];i.actions=i.actions?i.actions.concat(s):s}i.timeout>0&&(i.__timeout=setTimeout(function(){r()},i.timeout+1e3));var o=i.position.indexOf("top")>-1?"unshift":"push";return this.notifs[i.position][o](i),r},remove:function(t){t.__timeout&&clearTimeout(t.__timeout);var e=this.notifs[t.position].indexOf(t);if(-1!==e){var i=this.$refs["notif_"+t.__uid];if(i&&i.$el){var n=i.$el;n.style.left=n.offsetLeft+"px",n.style.width=getComputedStyle(n).width}this.notifs[t.position].splice(e,1),"function"==typeof t.onDismiss&&t.onDismiss()}}},render:function(t){var e=this;return t("div",{staticClass:"q-notifications"},Oo.map(function(i){var n=["left","center","right"].includes(i)?"center":i.indexOf("top")>-1?"top":"bottom",r=i.indexOf("left")>-1?"start":i.indexOf("right")>-1?"end":"center",s=["left","right"].includes(i)?"items-"+("left"===i?"start":"end")+" justify-center":"center"===i?"flex-center":"items-"+r;return t("transition-group",{key:i,staticClass:"q-notification-list q-notification-list-"+n+" fixed column "+s,tag:"div",props:{name:"q-notification-"+i,mode:"out-in"}},e.notifs[i].map(function(e){return t(de,{ref:"notif_"+e.__uid,key:e.__uid,staticClass:"q-notification",props:e},[e.message])}))}))}}),this.__vm.$mount(i)}var Eo={create:function(t){return o?function(){}:this.__vm.add(t)},setDefaults:function(t){Object.assign(Lo,t)},install:function(t){if(o)return t.$q.notify=function(){},void(t.$q.notify.setDefaults=function(){});Mo.call(this,t),t.cfg.notify&&this.setDefaults(t.cfg.notify),t.$q.notify=this.create.bind(this),t.$q.notify.setDefaults=this.setDefaults}},Ao=["sm","md","lg","xl"],Bo={width:0,sizes:{sm:576,md:768,lg:992,xl:1200},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{},xs:!0,setSizes:function(){},setDebounce:function(){},install:function(t){var e=this,i=t.$q,n=t.queues,r=t.Vue;if(o)i.screen=this;else{var s,l,c=function(t){var i=window.innerWidth,n=e.sizes;t&&i===e.width||(e.width=i,e.gt.xs=i>=n.sm,e.gt.sm=i>=n.md,e.gt.md=i>=n.lg,e.gt.lg=i>=n.xl,e.lt.sm=i<n.sm,e.lt.md=i<n.md,e.lt.lg=i<n.lg,e.lt.xl=i<n.xl,e.xs=e.lt.sm,e.sm=e.gt.xs&&e.lt.md,e.md=e.gt.sm&&e.lt.lg,e.lg=e.gt.md&&e.lt.xl,e.xl=i>n.xl)},u={};this.setSizes=function(t){Ao.forEach(function(e){t[e]&&(u[e]=t[e])})},this.setDebounce=function(t){l=t};var h=function(){var t=getComputedStyle(document.body);t.getPropertyValue("--q-size-sm")&&Ao.forEach(function(i){e.sizes[i]=parseInt(t.getPropertyValue("--q-size-"+i),10)}),e.setSizes=function(t){Ao.forEach(function(i){t[i]&&(e.sizes[i]=t[i])}),c()},e.setDebounce=function(t){var e=function(){c(!0)};s&&window.removeEventListener("resize",s,Q.passive),s=t>0?wn(e,t):e,window.addEventListener("resize",s,Q.passive)},e.setDebounce(l||100),Object.keys(u).length>0?(e.setSizes(u),u=null):c()};a?n.takeover.push(h):h(),r.util.defineReactive(i,"screen",this)}}};function No(t){return"[object Date]"===Object.prototype.toString.call(t)?"__q_date|"+t.toUTCString():"[object RegExp]"===Object.prototype.toString.call(t)?"__q_expr|"+t.source:"number"==typeof t?"__q_numb|"+t:"boolean"==typeof t?"__q_bool|"+(t?"1":"0"):"string"==typeof t?"__q_strn|"+t:"function"==typeof t?"__q_strn|"+t.toString():t===Object(t)?"__q_objt|"+JSON.stringify(t):t}function Ro(t){var e,i;if(t.length<9)return t;switch(e=t.substr(0,8),i=t.substring(9),e){case"__q_date":return new Date(i);case"__q_expr":return new RegExp(i);case"__q_numb":return Number(i);case"__q_bool":return Boolean("1"===i);case"__q_strn":return""+i;case"__q_objt":return JSON.parse(i);default:return t}}function Io(){var t=function(){};return{has:t,get:{length:t,item:t,index:t,all:t},set:t,remove:t,clear:t,isEmpty:t}}function Do(t){var e=window[t+"Storage"],i=function(t){var i=e.getItem(t);return i?Ro(i):null};return{has:function(t){return null!==e.getItem(t)},get:{length:function(){return e.length},item:i,index:function(t){if(t<e.length)return i(e.key(t))},all:function(){for(var t,n={},r=e.length,s=0;s<r;s++)n[t=e.key(s)]=i(t);return n}},set:function(t,i){e.setItem(t,No(i))},remove:function(t){e.removeItem(t)},clear:function(){e.clear()},isEmpty:function(){return 0===e.length}}}var jo={install:function(t){var e=t.$q,i=o||!d?Io():Do("local");e.localStorage=i,Object.assign(this,i)}},zo={install:function(t){var e=t.$q,i=o||!d?Io():Do("session");e.sessionStorage=i,Object.assign(this,i)}},Fo=Object.freeze({ActionSheet:zs,AddressbarColor:Qs,AppFullscreen:Ws,AppVisibility:Ks,Cookies:lo,Dialog:co,LoadingBar:uo,Loading:mo,Meta:Po,Notify:Eo,Platform:p,Screen:Bo,LocalStorage:jo,SessionStorage:zo});var Ho=Object.assign({},z,{install:function(t,e){z.install(t,Object.assign({},{components:$s,directives:Rs,plugins:Fo},e))}});e["a"]=Ho},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,i){var n=i("f772");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},e683:function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,i){var n=i("07e3"),r=i("36c3"),s=i("5b4e")(!1),o=i("5559")("IE_PROTO");t.exports=function(t,e){var i,a=r(t),l=0,c=[];for(i in a)i!=o&&n(a,i)&&c.push(i);while(e.length>l)n(a,i=e[l++])&&(~s(c,i)||c.push(i));return c}},e7fb:function(t,e,i){},e853:function(t,e,i){var n=i("d3f4"),r=i("1169"),s=i("2b4c")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?Array:e}},eb7d:function(t,e,i){},ebd6:function(t,e,i){var n=i("cb7c"),r=i("d8e8"),s=i("2b4c")("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||void 0==(i=n(o)[s])?e:r(i)}},ebfd:function(t,e,i){var n=i("62a0")("meta"),r=i("f772"),s=i("07e3"),o=i("d9f6").f,a=0,l=Object.isExtensible||function(){return!0},c=!i("294c")(function(){return l(Object.preventExtensions({}))}),u=function(t){o(t,n,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[n].i},d=function(t,e){if(!s(t,n)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[n].w},f=function(t){return c&&p.NEED&&l(t)&&!s(t,n)&&u(t),t},p=t.exports={KEY:n,NEED:!1,fastKey:h,getWeak:d,onFreeze:f}},ed5b:function(t,e,i){},ef68:function(t,e,i){},ef8f:function(t,e,i){},f357:function(t,e,i){},f39d:function(t,e,i){},f559:function(t,e,i){"use strict";var n=i("5ca1"),r=i("9def"),s=i("d2c8"),o="startsWith",a=""[o];n(n.P+n.F*i("5147")(o),"String",{startsWith:function(t){var e=s(this,t,o),i=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,i):e.slice(i,i+n.length)===n}})},f605:function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},f6b4:function(t,e,i){"use strict";var n=i("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){n.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},f751:function(t,e,i){var n=i("5ca1");n(n.S+n.F,"Object",{assign:i("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f857:function(t,e,i){},f921:function(t,e,i){i("014b"),i("c207"),i("69d3"),i("765d"),t.exports=i("584a").Symbol},fa2f:function(t,e,i){},fa5b:function(t,e,i){t.exports=i("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,i){var n=i("7726").document;t.exports=n&&n.documentElement},fcc3:function(t,e,i){},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"}}]);