text: !function(t){var e=window.webpackJsonp;window.webpackJsonp=function(i,o,s){for(var a,l,c,u=0,h=[];u<i.length;u++)l=i[u],n[l]&&h.push(n[l][0]),n[l]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a]);for(e&&e(i,o,s);h.length;)h.shift()();if(s)for(u=0;u<s.length;u++)c=r(r.s=s[u]);return c};var i={},n={8:0};function r(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(t){var e=n[t];if(0===e)return new Promise(function(t){t()});if(e)return e[2];var i=new Promise(function(i,r){e=n[t]=[i,r]});e[2]=i;var o=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,r.nc&&s.setAttribute("nonce",r.nc),s.src=r.p+"js/"+t+"."+{0:"895ba0ac5413649088ce",1:"a75c03557f9329c3d9eb",2:"d7fa6378a06205932066",3:"6e4db48dd7c61efdb81b",4:"f36e38e9605bf8d3d9b9",5:"677a3cf14b33f39b5971",6:"2e7664d33ac6a7c2bdf0"}[t]+".js";var a=setTimeout(l,12e4);function l(){s.onerror=s.onload=null,clearTimeout(a);var e=n[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),n[t]=void 0)}return s.onerror=s.onload=l,o.appendChild(s),i},r.m=t,r.c=i,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t}}({"+E39":function(t,e,i){t.exports=!i("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(t,e,i){var n=i("lOnJ");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)}}},"/5sW":function(t,e,i){"use strict";(function(t,i){
  /*!
   * Vue.js v2.5.16
   * (c) 2014-2018 Evan You
   * Released under the MIT License.
   */
  var n=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function s(t){return!0===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 _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function y(t){var e=Object.create(null);return function(i){return e[i]||(e[i]=t(i))}}var w=/-(\w)/g,C=y(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),x=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),k=/\B([A-Z])/g,S=y(function(t){return t.replace(k,"-$1").toLowerCase()});var q=Function.prototype.bind?function(t,e){return t.bind(e)}: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 $(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function T(t,e){for(var i in e)t[i]=e[i];return t}function P(t){for(var e={},i=0;i<t.length;i++)t[i]&&T(e,t[i]);return e}function M(t,e,i){}var E=function(t,e,i){return!1},L=function(t){return t};function O(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),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every(function(t,i){return O(t,e[i])});if(r||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every(function(i){return O(t[i],e[i])})}catch(t){return!1}}function B(t,e){for(var i=0;i<t.length;i++)if(O(t[i],e))return i;return-1}function A(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var N="data-server-rendered",I=["component","directive","filter"],D=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],R={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:L,mustUseProp:E,_lifecycleHooks:D};function z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function F(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var j=/[^\w.$]/;var Q,H="__proto__"in{},V="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=U&&WXEnvironment.platform.toLowerCase(),K=V&&window.navigator.userAgent.toLowerCase(),Y=K&&/msie|trident/.test(K),J=K&&K.indexOf("msie 9.0")>0,G=K&&K.indexOf("edge/")>0,X=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===W),Z=(K&&/chrome\/\d+/.test(K),{}.watch),tt=!1;if(V)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var it=function(){return void 0===Q&&(Q=!V&&!U&&void 0!==t&&"server"===t.process.env.VUE_ENV),Q},nt=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,st="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(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 at=M,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){g(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,i=t.length;e<i;e++)t[e].update()},ct.target=null;var ut=[];function ht(t){ct.target&&ut.push(ct.target),ct.target=t}function dt(){ct.target=ut.pop()}var ft=function(t,e,i,n,r,o,s,a){this.tag=t,this.data=e,this.children=i,this.text=n,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,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},pt={child:{configurable:!0}};pt.child.get=function(){return this.componentInstance},Object.defineProperties(ft.prototype,pt);var mt=function(t){void 0===t&&(t="");var e=new ft;return e.text=t,e.isComment=!0,e};function vt(t){return new ft(void 0,void 0,void 0,String(t))}function gt(t){var e=new ft(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 _t=Array.prototype,bt=Object.create(_t);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=_t[t];F(bt,t,function(){for(var i=[],n=arguments.length;n--;)i[n]=arguments[n];var r,o=e.apply(this,i),s=this.__ob__;switch(t){case"push":case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})});var yt=Object.getOwnPropertyNames(bt),wt=!0;function Ct(t){wt=t}var xt=function(t){(this.value=t,this.dep=new ct,this.vmCount=0,F(t,"__ob__",this),Array.isArray(t))?((H?kt:St)(t,bt,yt),this.observeArray(t)):this.walk(t)};function kt(t,e,i){t.__proto__=e}function St(t,e,i){for(var n=0,r=i.length;n<r;n++){var o=i[n];F(t,o,e[o])}}function qt(t,e){var i;if(l(t)&&!(t instanceof ft))return b(t,"__ob__")&&t.__ob__ instanceof xt?i=t.__ob__:wt&&!it()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(i=new xt(t)),e&&i&&i.vmCount++,i}function $t(t,e,i,n,r){var o=new ct,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get;a||2!==arguments.length||(i=t[e]);var l=s&&s.set,c=!r&&qt(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):i;return ct.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(e)&&function t(e){for(var i=void 0,n=0,r=e.length;n<r;n++)(i=e[n])&&i.__ob__&&i.__ob__.dep.depend(),Array.isArray(i)&&t(i)}(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&&qt(e),o.notify())}})}}function Tt(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?($t(n.value,e,i),n.dep.notify(),i):(t[e]=i,i)}function Pt(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var i=t.__ob__;t._isVue||i&&i.vmCount||b(t,e)&&(delete t[e],i&&i.dep.notify())}}xt.prototype.walk=function(t){for(var e=Object.keys(t),i=0;i<e.length;i++)$t(t,e[i])},xt.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)qt(t[e])};var Mt=R.optionMergeStrategies;function Et(t,e){if(!e)return t;for(var i,n,r,o=Object.keys(e),s=0;s<o.length;s++)n=t[i=o[s]],r=e[i],b(t,i)?u(n)&&u(r)&&Et(n,r):Tt(t,i,r);return t}function Lt(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?Et(n,r):r}:e?t?function(){return Et("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Ot(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function Bt(t,e,i,n){var r=Object.create(t||null);return e?T(r,e):r}Mt.data=function(t,e,i){return i?Lt(t,e,i):e&&"function"!=typeof e?t:Lt(t,e)},D.forEach(function(t){Mt[t]=Ot}),I.forEach(function(t){Mt[t+"s"]=Bt}),Mt.watch=function(t,e,i,n){if(t===Z&&(t=void 0),e===Z&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var o in T(r,t),e){var s=r[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),r[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return r},Mt.props=Mt.methods=Mt.inject=Mt.computed=function(t,e,i,n){if(!t)return e;var r=Object.create(null);return T(r,t),e&&T(r,e),r},Mt.provide=Lt;var At=function(t,e){return void 0===e?t:e};function Nt(t,e,i){"function"==typeof e&&(e=e.options),function(t,e){var i=t.props;if(i){var n,r,o={};if(Array.isArray(i))for(n=i.length;n--;)"string"==typeof(r=i[n])&&(o[C(r)]={type:null});else if(u(i))for(var s in i)r=i[s],o[C(s)]=u(r)?r:{type:r};t.props=o}}(e),function(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 o in i){var s=i[o];n[o]=u(s)?T({from:o},s):{from:s}}}}(e),function(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})}}(e);var n=e.extends;if(n&&(t=Nt(t,n,i)),e.mixins)for(var r=0,o=e.mixins.length;r<o;r++)t=Nt(t,e.mixins[r],i);var s,a={};for(s in t)l(s);for(s in e)b(t,s)||l(s);function l(n){var r=Mt[n]||At;a[n]=r(t[n],e[n],i,n)}return a}function It(t,e,i,n){if("string"==typeof i){var r=t[e];if(b(r,i))return r[i];var o=C(i);if(b(r,o))return r[o];var s=x(o);return b(r,s)?r[s]:r[i]||r[o]||r[s]}}function Dt(t,e,i,n){var r=e[t],o=!b(i,t),s=i[t],a=Ft(Boolean,r.type);if(a>-1)if(o&&!b(r,"default"))s=!1;else if(""===s||s===S(t)){var l=Ft(String,r.type);(l<0||a<l)&&(s=!0)}if(void 0===s){s=function(t,e,i){if(!b(e,"default"))return;var n=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[i]&&void 0!==t._props[i])return t._props[i];return"function"==typeof n&&"Function"!==Rt(e.type)?n.call(t):n}(n,r,t);var c=wt;Ct(!0),qt(s),Ct(c)}return s}function Rt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function zt(t,e){return Rt(t)===Rt(e)}function Ft(t,e){if(!Array.isArray(e))return zt(e,t)?0:-1;for(var i=0,n=e.length;i<n;i++)if(zt(e[i],t))return i;return-1}function jt(t,e,i){if(e)for(var n=e;n=n.$parent;){var r=n.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(n,t,e,i))return}catch(t){Qt(t,n,"errorCaptured hook")}}Qt(t,e,i)}function Qt(t,e,i){if(R.errorHandler)try{return R.errorHandler.call(null,t,e,i)}catch(t){Ht(t,null,"config.errorHandler")}Ht(t,e,i)}function Ht(t,e,i){if(!V&&!U||"undefined"==typeof console)throw t;console.error(t)}var Vt,Ut,Wt=[],Kt=!1;function Yt(){Kt=!1;var t=Wt.slice(0);Wt.length=0;for(var e=0;e<t.length;e++)t[e]()}var Jt=!1;if(void 0!==i&&rt(i))Ut=function(){i(Yt)};else if("undefined"==typeof MessageChannel||!rt(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Ut=function(){setTimeout(Yt,0)};else{var Gt=new MessageChannel,Xt=Gt.port2;Gt.port1.onmessage=Yt,Ut=function(){Xt.postMessage(1)}}if("undefined"!=typeof Promise&&rt(Promise)){var Zt=Promise.resolve();Vt=function(){Zt.then(Yt),X&&setTimeout(M)}}else Vt=Ut;function te(t,e){var i;if(Wt.push(function(){if(t)try{t.call(e)}catch(t){jt(t,e,"nextTick")}else i&&i(e)}),Kt||(Kt=!0,Jt?Ut():Vt()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){i=t})}var ee=new ot;function ie(t){!function t(e,i){var n,r;var o=Array.isArray(e);if(!o&&!l(e)||Object.isFrozen(e)||e instanceof ft)return;if(e.__ob__){var s=e.__ob__.dep.id;if(i.has(s))return;i.add(s)}if(o)for(n=e.length;n--;)t(e[n],i);else for(r=Object.keys(e),n=r.length;n--;)t(e[r[n]],i)}(t,ee),ee.clear()}var ne,re=y(function(t){var e="&"===t.charAt(0),i="~"===(t=e?t.slice(1):t).charAt(0),n="!"===(t=i?t.slice(1):t).charAt(0);return{name:t=n?t.slice(1):t,once:i,capture:n,passive:e}});function oe(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 se(t,e,i,n,o){var s,a,l,c;for(s in t)a=t[s],l=e[s],c=re(s),r(a)||(r(l)?(r(a.fns)&&(a=t[s]=oe(a)),i(c.name,a,c.once,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,t[s]=l));for(s in e)r(t[s])&&n((c=re(s)).name,e[s],c.capture)}function ae(t,e,i){var n;t instanceof ft&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function l(){i.apply(this,arguments),g(n.fns,l)}r(a)?n=oe([l]):o(a.fns)&&s(a.merged)?(n=a).fns.push(l):n=oe([a,l]),n.merged=!0,t[e]=n}function le(t,e,i,n,r){if(o(e)){if(b(e,i))return t[i]=e[i],r||delete e[i],!0;if(b(e,n))return t[i]=e[n],r||delete e[n],!0}return!1}function ce(t){return a(t)?[vt(t)]:Array.isArray(t)?function t(e,i){var n=[];var l,c,u,h;for(l=0;l<e.length;l++)r(c=e[l])||"boolean"==typeof c||(u=n.length-1,h=n[u],Array.isArray(c)?c.length>0&&(ue((c=t(c,(i||"")+"_"+l))[0])&&ue(h)&&(n[u]=vt(h.text+c[0].text),c.shift()),n.push.apply(n,c)):a(c)?ue(h)?n[u]=vt(h.text+c):""!==c&&n.push(vt(c)):ue(c)&&ue(h)?n[u]=vt(h.text+c.text):(s(e._isVList)&&o(c.tag)&&r(c.key)&&o(i)&&(c.key="__vlist"+i+"_"+l+"__"),n.push(c)));return n}(t):void 0}function ue(t){return o(t)&&o(t.text)&&!1===t.isComment}function he(t,e){return(t.__esModule||st&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function de(t){return t.isComment&&t.asyncFactory}function fe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var i=t[e];if(o(i)&&(o(i.componentOptions)||de(i)))return i}}function pe(t,e,i){i?ne.$once(t,e):ne.$on(t,e)}function me(t,e){ne.$off(t,e)}function ve(t,e,i){ne=t,se(e,i||{},pe,me),ne=void 0}function ge(t,e){var i={};if(!t)return i;for(var n=0,r=t.length;n<r;n++){var o=t[n],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(i.default||(i.default=[])).push(o);else{var a=s.slot,l=i[a]||(i[a]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in i)i[c].every(_e)&&delete i[c];return i}function _e(t){return t.isComment&&!t.asyncFactory||" "===t.text}function be(t,e){e=e||{};for(var i=0;i<t.length;i++)Array.isArray(t[i])?be(t[i],e):e[t[i].key]=t[i].fn;return e}var ye=null;function we(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ce(t,e){if(e){if(t._directInactive=!1,we(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++)Ce(t.$children[i]);xe(t,"activated")}}function xe(t,e){ht();var i=t.$options[e];if(i)for(var n=0,r=i.length;n<r;n++)try{i[n].call(t)}catch(i){jt(i,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),dt()}var ke=[],Se=[],qe={},$e=!1,Te=!1,Pe=0;function Me(){var t,e;for(Te=!0,ke.sort(function(t,e){return t.id-e.id}),Pe=0;Pe<ke.length;Pe++)e=(t=ke[Pe]).id,qe[e]=null,t.run();var i=Se.slice(),n=ke.slice();Pe=ke.length=Se.length=0,qe={},$e=Te=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ce(t[e],!0)}(i),function(t){var e=t.length;for(;e--;){var i=t[e],n=i.vm;n._watcher===i&&n._isMounted&&xe(n,"updated")}}(n),nt&&R.devtools&&nt.emit("flush")}var Ee=0,Le=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=++Ee,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ot,this.newDepIds=new ot,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!j.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}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Le.prototype.get=function(){var t;ht(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;jt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ie(t),dt(),this.cleanupDeps()}return t},Le.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))},Le.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},Le.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==qe[e]){if(qe[e]=!0,Te){for(var i=ke.length-1;i>Pe&&ke[i].id>t.id;)i--;ke.splice(i+1,0,t)}else ke.push(t);$e||($e=!0,te(Me))}}(this)},Le.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){jt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Le.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Le.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Le.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Oe={enumerable:!0,configurable:!0,get:M,set:M};function Be(t,e,i){Oe.get=function(){return this[e][i]},Oe.set=function(t){this[e][i]=t},Object.defineProperty(t,i,Oe)}function Ae(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var i=t.$options.propsData||{},n=t._props={},r=t.$options._propKeys=[];t.$parent&&Ct(!1);var o=function(o){r.push(o);var s=Dt(o,e,i,t);$t(n,o,s),o in t||Be(t,"_props",o)};for(var s in e)o(s);Ct(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var i in e)t[i]=null==e[i]?M:q(e[i],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ht();try{return t.call(e,e)}catch(t){return jt(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var i=Object.keys(e),n=t.$options.props,r=(t.$options.methods,i.length);for(;r--;){var o=i[r];0,n&&b(n,o)||z(o)||Be(t,"_data",o)}qt(e,!0)}(t):qt(t._data={},!0),e.computed&&function(t,e){var i=t._computedWatchers=Object.create(null),n=it();for(var r in e){var o=e[r],s="function"==typeof o?o:o.get;0,n||(i[r]=new Le(t,s||M,M,Ne)),r in t||Ie(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var i in e){var n=e[i];if(Array.isArray(n))for(var r=0;r<n.length;r++)Re(t,i,n[r]);else Re(t,i,n)}}(t,e.watch)}var Ne={lazy:!0};function Ie(t,e,i){var n=!it();"function"==typeof i?(Oe.get=n?De(e):i,Oe.set=M):(Oe.get=i.get?n&&!1!==i.cache?De(e):i.get:M,Oe.set=i.set?i.set:M),Object.defineProperty(t,e,Oe)}function De(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function Re(t,e,i,n){return u(i)&&(n=i,i=i.handler),"string"==typeof i&&(i=t[i]),t.$watch(e,i,n)}function ze(t,e){if(t){for(var i=Object.create(null),n=st?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),r=0;r<n.length;r++){for(var o=n[r],s=t[o].from,a=e;a;){if(a._provided&&b(a._provided,s)){i[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var l=t[o].default;i[o]="function"==typeof l?l.call(e):l}else 0}return i}}function Fe(t,e){var i,n,r,s,a;if(Array.isArray(t)||"string"==typeof t)for(i=new Array(t.length),n=0,r=t.length;n<r;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(s=Object.keys(t),i=new Array(s.length),n=0,r=s.length;n<r;n++)a=s[n],i[n]=e(t[a],a,n);return o(i)&&(i._isVList=!0),i}function je(t,e,i,n){var r,o=this.$scopedSlots[t];if(o)i=i||{},n&&(i=T(T({},n),i)),r=o(i)||e;else{var s=this.$slots[t];s&&(s._rendered=!0),r=s||e}var a=i&&i.slot;return a?this.$createElement("template",{slot:a},r):r}function Qe(t){return It(this.$options,"filters",t)||L}function He(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ve(t,e,i,n,r){var o=R.keyCodes[e]||i;return r&&n&&!R.keyCodes[e]?He(r,n):o?He(o,t):n?S(n)!==e:void 0}function Ue(t,e,i,n,r){if(i)if(l(i)){var o;Array.isArray(i)&&(i=P(i));var s=function(s){if("class"===s||"style"===s||v(s))o=t;else{var a=t.attrs&&t.attrs.type;o=n||R.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}s in o||(o[s]=i[s],r&&((t.on||(t.on={}))["update:"+s]=function(t){i[s]=t}))};for(var a in i)s(a)}else;return t}function We(t,e){var i=this._staticTrees||(this._staticTrees=[]),n=i[t];return n&&!e?n:(Ye(n=i[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),n)}function Ke(t,e,i){return Ye(t,"__once__"+e+(i?"_"+i:""),!0),t}function Ye(t,e,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]&&"string"!=typeof t[n]&&Je(t[n],e+"_"+n,i);else Je(t,e,i)}function Je(t,e,i){t.isStatic=!0,t.key=e,t.isOnce=i}function Ge(t,e){if(e)if(u(e)){var i=t.on=t.on?T({},t.on):{};for(var n in e){var r=i[n],o=e[n];i[n]=r?[].concat(r,o):o}}else;return t}function Xe(t){t._o=Ke,t._n=p,t._s=f,t._l=Fe,t._t=je,t._q=O,t._i=B,t._m=We,t._f=Qe,t._k=Ve,t._b=Ue,t._v=vt,t._e=mt,t._u=be,t._g=Ge}function Ze(t,e,i,r,o){var a,l=o.options;b(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var c=s(l._compiled),u=!c;this.data=t,this.props=e,this.children=i,this.parent=r,this.listeners=t.on||n,this.injections=ze(l.inject,r),this.slots=function(){return ge(i,r)},c&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||n),l._scopeId?this._c=function(t,e,i,n){var o=ai(a,t,e,i,n,u);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=r),o}:this._c=function(t,e,i,n){return ai(a,t,e,i,n,u)}}function ti(t,e,i,n){var r=gt(t);return r.fnContext=i,r.fnOptions=n,e.slot&&((r.data||(r.data={})).slot=e.slot),r}function ei(t,e){for(var i in e)t[C(i)]=e[i]}Xe(Ze.prototype);var ii={init:function(t,e,i,n){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;ii.prepatch(r,r)}else{(t.componentInstance=function(t,e,i,n){var r={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:i||null,_refElm:n||null},s=t.data.inlineTemplate;o(s)&&(r.render=s.render,r.staticRenderFns=s.staticRenderFns);return new t.componentOptions.Ctor(r)}(t,ye,i,n)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var i=e.componentOptions;!function(t,e,i,r,o){var s=!!(o||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==n);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,t.$attrs=r.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){Ct(!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]=Dt(u,h,e,t)}Ct(!0),t.$options.propsData=e}i=i||n;var d=t.$options._parentListeners;t.$options._parentListeners=i,ve(t,i,d),s&&(t.$slots=ge(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,i.propsData,i.listeners,e,i.children)},insert:function(t){var e,i=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,xe(n,"mounted")),t.data.keepAlive&&(i._isMounted?((e=n)._inactive=!1,Se.push(e)):Ce(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,i){if(!(i&&(e._directInactive=!0,we(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)t(e.$children[n]);xe(e,"deactivated")}}(e,!0):e.$destroy())}},ni=Object.keys(ii);function ri(t,e,i,a,c){if(!r(t)){var u=i.$options._base;if(l(t)&&(t=u.extend(t)),"function"==typeof t){var h;if(r(t.cid)&&void 0===(t=function(t,e,i){if(s(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;if(s(t.loading)&&o(t.loadingComp))return t.loadingComp;if(!o(t.contexts)){var n=t.contexts=[i],a=!0,c=function(){for(var t=0,e=n.length;t<e;t++)n[t].$forceUpdate()},u=A(function(i){t.resolved=he(i,e),a||c()}),h=A(function(e){o(t.errorComp)&&(t.error=!0,c())}),d=t(u,h);return l(d)&&("function"==typeof d.then?r(t.resolved)&&d.then(u,h):o(d.component)&&"function"==typeof d.component.then&&(d.component.then(u,h),o(d.error)&&(t.errorComp=he(d.error,e)),o(d.loading)&&(t.loadingComp=he(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){r(t.resolved)&&r(t.error)&&(t.loading=!0,c())},d.delay||200)),o(d.timeout)&&setTimeout(function(){r(t.resolved)&&h(null)},d.timeout))),a=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}(h=t,u,i)))return function(t,e,i,n,r){var o=mt();return o.asyncFactory=t,o.asyncMeta={data:e,context:i,children:n,tag:r},o}(h,e,i,a,c);e=e||{},ci(t),o(e.model)&&function(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 r=e.on||(e.on={});o(r[n])?r[n]=[e.model.callback].concat(r[n]):r[n]=e.model.callback}(t.options,e);var d=function(t,e,i){var n=e.options.props;if(!r(n)){var s={},a=t.attrs,l=t.props;if(o(a)||o(l))for(var c in n){var u=S(c);le(s,l,c,u,!0)||le(s,a,c,u,!1)}return s}}(e,t);if(s(t.options.functional))return function(t,e,i,r,s){var a=t.options,l={},c=a.props;if(o(c))for(var u in c)l[u]=Dt(u,c,e||n);else o(i.attrs)&&ei(l,i.attrs),o(i.props)&&ei(l,i.props);var h=new Ze(i,l,s,r,t),d=a.render.call(null,h._c,h);if(d instanceof ft)return ti(d,i,h.parent,a);if(Array.isArray(d)){for(var f=ce(d)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=ti(f[m],i,h.parent,a);return p}}(t,d,e,i,a);var f=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}!function(t){for(var e=t.hook||(t.hook={}),i=0;i<ni.length;i++){var n=ni[i];e[n]=ii[n]}}(e);var m=t.options.name||c;return new ft("vue-component-"+t.cid+(m?"-"+m:""),e,void 0,void 0,void 0,i,{Ctor:t,propsData:d,listeners:f,tag:c,children:a},h)}}}var oi=1,si=2;function ai(t,e,i,n,c,u){return(Array.isArray(i)||a(i))&&(c=n,n=i,i=void 0),s(u)&&(c=si),function(t,e,i,n,a){if(o(i)&&o(i.__ob__))return mt();o(i)&&o(i.is)&&(e=i.is);if(!e)return mt();0;Array.isArray(n)&&"function"==typeof n[0]&&((i=i||{}).scopedSlots={default:n[0]},n.length=0);a===si?n=ce(n):a===oi&&(n=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(n));var c,u;if("string"==typeof e){var h;u=t.$vnode&&t.$vnode.ns||R.getTagNamespace(e),c=R.isReservedTag(e)?new ft(R.parsePlatformTagName(e),i,n,void 0,void 0,t):o(h=It(t.$options,"components",e))?ri(h,i,t,n,e):new ft(e,i,n,void 0,void 0,t)}else c=ri(e,i,t,n);return Array.isArray(c)?c:o(c)?(o(u)&&function t(e,i,n){e.ns=i;"foreignObject"===e.tag&&(i=void 0,n=!0);if(o(e.children))for(var a=0,l=e.children.length;a<l;a++){var c=e.children[a];o(c.tag)&&(r(c.ns)||s(n)&&"svg"!==c.tag)&&t(c,i,n)}}(c,u),o(i)&&function(t){l(t.style)&&ie(t.style);l(t.class)&&ie(t.class)}(i),c):mt()}(t,e,i,n,c)}var li=0;function ci(t){var e=t.options;if(t.super){var i=ci(t.super);if(i!==t.superOptions){t.superOptions=i;var n=function(t){var e,i=t.options,n=t.extendOptions,r=t.sealedOptions;for(var o in i)i[o]!==r[o]&&(e||(e={}),e[o]=ui(i[o],n[o],r[o]));return e}(t);n&&T(t.extendOptions,n),(e=t.options=Nt(i,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ui(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 hi(t){this._init(t)}function di(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 o=t.name||i.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(i.prototype)).constructor=s,s.cid=e++,s.options=Nt(i.options,t),s.super=i,s.options.props&&function(t){var e=t.options.props;for(var i in e)Be(t.prototype,"_props",i)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var i in e)Ie(t.prototype,i,e[i])}(s),s.extend=i.extend,s.mixin=i.mixin,s.use=i.use,I.forEach(function(t){s[t]=i[t]}),o&&(s.options.components[o]=s),s.superOptions=i.options,s.extendOptions=t,s.sealedOptions=T({},s.options),r[n]=s,s}}function fi(t){return t&&(t.Ctor.options.name||t.tag)}function pi(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function mi(t,e){var i=t.cache,n=t.keys,r=t._vnode;for(var o in i){var s=i[o];if(s){var a=fi(s.componentOptions);a&&!e(a)&&vi(i,o,n,r)}}}function vi(t,e,i,n){var r=t[e];!r||n&&r.tag===n.tag||r.componentInstance.$destroy(),t[e]=null,g(i,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=li++,e._isVue=!0,t&&t._isComponent?function(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)}(e,t):e.$options=Nt(ci(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,i=e.parent;if(i&&!e.abstract){for(;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}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ve(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=ge(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,i,n,r){return ai(t,e,i,n,r,!1)},t.$createElement=function(e,i,n,r){return ai(t,e,i,n,r,!0)};var o=i&&i.data;$t(t,"$attrs",o&&o.attrs||n,null,!0),$t(t,"$listeners",e._parentListeners||n,null,!0)}(e),xe(e,"beforeCreate"),function(t){var e=ze(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach(function(i){$t(t,i,e[i])}),Ct(!0))}(e),Ae(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(hi),function(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=Tt,t.prototype.$delete=Pt,t.prototype.$watch=function(t,e,i){if(u(e))return Re(this,t,e,i);(i=i||{}).user=!0;var n=new Le(this,t,e,i);return i.immediate&&e.call(this,n.value),function(){n.teardown()}}}(hi),function(t){var e=/^hook:/;t.prototype.$on=function(t,i){if(Array.isArray(t))for(var n=0,r=t.length;n<r;n++)this.$on(t[n],i);else(this._events[t]||(this._events[t]=[])).push(i),e.test(t)&&(this._hasHookEvent=!0);return this},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;if(!arguments.length)return i._events=Object.create(null),i;if(Array.isArray(t)){for(var n=0,r=t.length;n<r;n++)this.$off(t[n],e);return i}var o=i._events[t];if(!o)return i;if(!e)return i._events[t]=null,i;if(e)for(var s,a=o.length;a--;)if((s=o[a])===e||s.fn===e){o.splice(a,1);break}return i},t.prototype.$emit=function(t){var e=this,i=e._events[t];if(i){i=i.length>1?$(i):i;for(var n=$(arguments,1),r=0,o=i.length;r<o;r++)try{i[r].apply(e,n)}catch(i){jt(i,e,'event handler for "'+t+'"')}}return e}}(hi),function(t){t.prototype._update=function(t,e){var i=this;i._isMounted&&xe(i,"beforeUpdate");var n=i.$el,r=i._vnode,o=ye;ye=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),ye=o,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(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){xe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||g(e.$children,t),t._watcher&&t._watcher.teardown();for(var i=t._watchers.length;i--;)t._watchers[i].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),xe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(hi),function(t){Xe(t.prototype),t.prototype.$nextTick=function(t){return te(t,this)},t.prototype._render=function(){var t,e=this,i=e.$options,r=i.render,o=i._parentVnode;o&&(e.$scopedSlots=o.data.scopedSlots||n),e.$vnode=o;try{t=r.call(e._renderProxy,e.$createElement)}catch(i){jt(i,e,"render"),t=e._vnode}return t instanceof ft||(t=mt()),t.parent=o,t}}(hi);var gi=[String,RegExp,Array],_i={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:gi,exclude:gi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)vi(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){mi(t,function(t){return pi(e,t)})}),this.$watch("exclude",function(e){mi(t,function(t){return!pi(e,t)})})},render:function(){var t=this.$slots.default,e=fe(t),i=e&&e.componentOptions;if(i){var n=fi(i),r=this.include,o=this.exclude;if(r&&(!n||!pi(r,n))||o&&n&&pi(o,n))return e;var s=this.cache,a=this.keys,l=null==e.key?i.Ctor.cid+(i.tag?"::"+i.tag:""):e.key;s[l]?(e.componentInstance=s[l].componentInstance,g(a,l),a.push(l)):(s[l]=e,a.push(l),this.max&&a.length>parseInt(this.max)&&vi(s,a[0],a,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:at,extend:T,mergeOptions:Nt,defineReactive:$t},t.set=Tt,t.delete=Pt,t.nextTick=te,t.options=Object.create(null),I.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,T(t.options.components,_i),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var i=$(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}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),di(t),function(t){I.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]}})}(t)}(hi),Object.defineProperty(hi.prototype,"$isServer",{get:it}),Object.defineProperty(hi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hi,"FunctionalRenderContext",{value:Ze}),hi.version="2.5.16";var bi=m("style,class"),yi=m("input,textarea,option,select,progress"),wi=m("contenteditable,draggable,spellcheck"),Ci=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"),xi="http://www.w3.org/1999/xlink",ki=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Si=function(t){return ki(t)?t.slice(6,t.length):""},qi=function(t){return null==t||!1===t};function $i(t){for(var e=t.data,i=t,n=t;o(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(e=Ti(n.data,e));for(;o(i=i.parent);)i&&i.data&&(e=Ti(e,i.data));return function(t,e){if(o(t)||o(e))return Pi(t,Mi(e));return""}(e.staticClass,e.class)}function Ti(t,e){return{staticClass:Pi(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Pi(t,e){return t?e?t+" "+e:t:e||""}function Mi(t){return Array.isArray(t)?function(t){for(var e,i="",n=0,r=t.length;n<r;n++)o(e=Mi(t[n]))&&""!==e&&(i&&(i+=" "),i+=e);return i}(t):l(t)?function(t){var e="";for(var i in t)t[i]&&(e&&(e+=" "),e+=i);return e}(t):"string"==typeof t?t:""}var Ei={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Li=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"),Oi=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),Bi=function(t){return Li(t)||Oi(t)};var Ai=Object.create(null);var Ni=m("text,number,password,search,email,tel,url");var Ii=Object.freeze({createElement:function(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)},createElementNS:function(t,e){return document.createElementNS(Ei[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,i){t.insertBefore(e,i)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Di={create:function(t,e){Ri(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ri(t,!0),Ri(e))},destroy:function(t){Ri(t,!0)}};function Ri(t,e){var i=t.data.ref;if(o(i)){var n=t.context,r=t.componentInstance||t.elm,s=n.$refs;e?Array.isArray(s[i])?g(s[i],r):s[i]===r&&(s[i]=void 0):t.data.refInFor?Array.isArray(s[i])?s[i].indexOf(r)<0&&s[i].push(r):s[i]=[r]:s[i]=r}}var zi=new ft("",{},[]),Fi=["create","activate","update","remove","destroy"];function ji(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&function(t,e){if("input"!==t.tag)return!0;var i,n=o(i=t.data)&&o(i=i.attrs)&&i.type,r=o(i=e.data)&&o(i=i.attrs)&&i.type;return n===r||Ni(n)&&Ni(r)}(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Qi(t,e,i){var n,r,s={};for(n=e;n<=i;++n)o(r=t[n].key)&&(s[r]=n);return s}var Hi={create:Vi,update:Vi,destroy:function(t){Vi(t,zi)}};function Vi(t,e){(t.data.directives||e.data.directives)&&function(t,e){var i,n,r,o=t===zi,s=e===zi,a=Wi(t.data.directives,t.context),l=Wi(e.data.directives,e.context),c=[],u=[];for(i in l)n=a[i],r=l[i],n?(r.oldValue=n.value,Yi(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(Yi(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++)Yi(c[i],"inserted",e,t)};o?ae(e,"insert",h):h()}u.length&&ae(e,"postpatch",function(){for(var i=0;i<u.length;i++)Yi(u[i],"componentUpdated",e,t)});if(!o)for(i in a)l[i]||Yi(a[i],"unbind",t,t,s)}(t,e)}var Ui=Object.create(null);function Wi(t,e){var i,n,r=Object.create(null);if(!t)return r;for(i=0;i<t.length;i++)(n=t[i]).modifiers||(n.modifiers=Ui),r[Ki(n)]=n,n.def=It(e.$options,"directives",n.name);return r}function Ki(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Yi(t,e,i,n,r){var o=t.def&&t.def[e];if(o)try{o(i.elm,t,i,n,r)}catch(n){jt(n,i.context,"directive "+t.name+" "+e+" hook")}}var Ji=[Di,Hi];function Gi(t,e){var i=e.componentOptions;if(!(o(i)&&!1===i.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var n,s,a=e.elm,l=t.data.attrs||{},c=e.data.attrs||{};for(n in o(c.__ob__)&&(c=e.data.attrs=T({},c)),c)s=c[n],l[n]!==s&&Xi(a,n,s);for(n in(Y||G)&&c.value!==l.value&&Xi(a,"value",c.value),l)r(c[n])&&(ki(n)?a.removeAttributeNS(xi,Si(n)):wi(n)||a.removeAttribute(n))}}function Xi(t,e,i){t.tagName.indexOf("-")>-1?Zi(t,e,i):Ci(e)?qi(i)?t.removeAttribute(e):(i="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,i)):wi(e)?t.setAttribute(e,qi(i)||"false"===i?"false":"true"):ki(e)?qi(i)?t.removeAttributeNS(xi,Si(e)):t.setAttributeNS(xi,e,i):Zi(t,e,i)}function Zi(t,e,i){if(qi(i))t.removeAttribute(e);else{if(Y&&!J&&"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 tn={create:Gi,update:Gi};function en(t,e){var i=e.elm,n=e.data,s=t.data;if(!(r(n.staticClass)&&r(n.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=$i(e),l=i._transitionClasses;o(l)&&(a=Pi(a,Mi(l))),a!==i._prevClass&&(i.setAttribute("class",a),i._prevClass=a)}}var nn,rn={create:en,update:en},on="__r",sn="__c";function an(t,e,i,n,r){var o;e=(o=e)._withTask||(o._withTask=function(){Jt=!0;var t=o.apply(null,arguments);return Jt=!1,t}),i&&(e=function(t,e,i){var n=nn;return function r(){null!==t.apply(null,arguments)&&ln(e,r,i,n)}}(e,t,n)),nn.addEventListener(t,e,tt?{capture:n,passive:r}:n)}function ln(t,e,i,n){(n||nn).removeEventListener(t,e._withTask||e,i)}function cn(t,e){if(!r(t.data.on)||!r(e.data.on)){var i=e.data.on||{},n=t.data.on||{};nn=e.elm,function(t){if(o(t[on])){var e=Y?"change":"input";t[e]=[].concat(t[on],t[e]||[]),delete t[on]}o(t[sn])&&(t.change=[].concat(t[sn],t.change||[]),delete t[sn])}(i),se(i,n,an,ln,e.context),nn=void 0}}var un={create:cn,update:cn};function hn(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var i,n,s=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(i in o(l.__ob__)&&(l=e.data.domProps=T({},l)),a)r(l[i])&&(s[i]="");for(i in l){if(n=l[i],"textContent"===i||"innerHTML"===i){if(e.children&&(e.children.length=0),n===a[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i){s._value=n;var c=r(n)?"":String(n);dn(s,c)&&(s.value=c)}else s[i]=n}}}function dn(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var i=!0;try{i=document.activeElement!==t}catch(t){}return i&&t.value!==e}(t,e)||function(t,e){var i=t.value,n=t._vModifiers;if(o(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}(t,e))}var fn={create:hn,update:hn},pn=y(function(t){var e={},i=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function mn(t){var e=vn(t.style);return t.staticStyle?T(t.staticStyle,e):e}function vn(t){return Array.isArray(t)?P(t):"string"==typeof t?pn(t):t}var gn,_n=/^--/,bn=/\s*!important$/,yn=function(t,e,i){if(_n.test(e))t.style.setProperty(e,i);else if(bn.test(i))t.style.setProperty(e,i.replace(bn,""),"important");else{var n=Cn(e);if(Array.isArray(i))for(var r=0,o=i.length;r<o;r++)t.style[n]=i[r];else t.style[n]=i}},wn=["Webkit","Moz","ms"],Cn=y(function(t){if(gn=gn||document.createElement("div").style,"filter"!==(t=C(t))&&t in gn)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<wn.length;i++){var n=wn[i]+e;if(n in gn)return n}});function xn(t,e){var i=e.data,n=t.data;if(!(r(i.staticStyle)&&r(i.style)&&r(n.staticStyle)&&r(n.style))){var s,a,l=e.elm,c=n.staticStyle,u=n.normalizedStyle||n.style||{},h=c||u,d=vn(e.data.style)||{};e.data.normalizedStyle=o(d.__ob__)?T({},d):d;var f=function(t,e){var i,n={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(i=mn(r.data))&&T(n,i);(i=mn(t.data))&&T(n,i);for(var o=t;o=o.parent;)o.data&&(i=mn(o.data))&&T(n,i);return n}(e,!0);for(a in h)r(f[a])&&yn(l,a,"");for(a in f)(s=f[a])!==h[a]&&yn(l,a,null==s?"":s)}}var kn={create:xn,update:xn};function Sn(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 qn(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{for(var i=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");(i=i.trim())?t.setAttribute("class",i):t.removeAttribute("class")}}function $n(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,Tn(t.name||"v")),T(e,t),e}return"string"==typeof t?Tn(t):void 0}}var Tn=y(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"}}),Pn=V&&!J,Mn="transition",En="animation",Ln="transition",On="transitionend",Bn="animation",An="animationend";Pn&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ln="WebkitTransition",On="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Bn="WebkitAnimation",An="webkitAnimationEnd"));var Nn=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function In(t){Nn(function(){Nn(t)})}function Dn(t,e){var i=t._transitionClasses||(t._transitionClasses=[]);i.indexOf(e)<0&&(i.push(e),Sn(t,e))}function Rn(t,e){t._transitionClasses&&g(t._transitionClasses,e),qn(t,e)}function zn(t,e,i){var n=jn(t,e),r=n.type,o=n.timeout,s=n.propCount;if(!r)return i();var a=r===Mn?On:An,l=0,c=function(){t.removeEventListener(a,u),i()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout(function(){l<s&&c()},o+1),t.addEventListener(a,u)}var Fn=/\b(transform|all)(,|$)/;function jn(t,e){var i,n=window.getComputedStyle(t),r=n[Ln+"Delay"].split(", "),o=n[Ln+"Duration"].split(", "),s=Qn(r,o),a=n[Bn+"Delay"].split(", "),l=n[Bn+"Duration"].split(", "),c=Qn(a,l),u=0,h=0;return e===Mn?s>0&&(i=Mn,u=s,h=o.length):e===En?c>0&&(i=En,u=c,h=l.length):h=(i=(u=Math.max(s,c))>0?s>c?Mn:En:null)?i===Mn?o.length:l.length:0,{type:i,timeout:u,propCount:h,hasTransform:i===Mn&&Fn.test(n[Ln+"Property"])}}function Qn(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,i){return Hn(e)+Hn(t[i])}))}function Hn(t){return 1e3*Number(t.slice(0,-1))}function Vn(t,e){var i=t.elm;o(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var n=$n(t.data.transition);if(!r(n)&&!o(i._enterCb)&&1===i.nodeType){for(var s=n.css,a=n.type,c=n.enterClass,u=n.enterToClass,h=n.enterActiveClass,d=n.appearClass,f=n.appearToClass,m=n.appearActiveClass,v=n.beforeEnter,g=n.enter,_=n.afterEnter,b=n.enterCancelled,y=n.beforeAppear,w=n.appear,C=n.afterAppear,x=n.appearCancelled,k=n.duration,S=ye,q=ye.$vnode;q&&q.parent;)S=(q=q.parent).context;var $=!S._isMounted||!t.isRootInsert;if(!$||w||""===w){var T=$&&d?d:c,P=$&&m?m:h,M=$&&f?f:u,E=$&&y||v,L=$&&"function"==typeof w?w:g,O=$&&C||_,B=$&&x||b,N=p(l(k)?k.enter:k);0;var I=!1!==s&&!J,D=Kn(L),R=i._enterCb=A(function(){I&&(Rn(i,M),Rn(i,P)),R.cancelled?(I&&Rn(i,T),B&&B(i)):O&&O(i),i._enterCb=null});t.data.show||ae(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(),L&&L(i,R)}),E&&E(i),I&&(Dn(i,T),Dn(i,P),In(function(){Rn(i,T),R.cancelled||(Dn(i,M),D||(Wn(N)?setTimeout(R,N):zn(i,a,R)))})),t.data.show&&(e&&e(),L&&L(i,R)),I||D||R()}}}function Un(t,e){var i=t.elm;o(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var n=$n(t.data.transition);if(r(n)||1!==i.nodeType)return e();if(!o(i._leaveCb)){var s=n.css,a=n.type,c=n.leaveClass,u=n.leaveToClass,h=n.leaveActiveClass,d=n.beforeLeave,f=n.leave,m=n.afterLeave,v=n.leaveCancelled,g=n.delayLeave,_=n.duration,b=!1!==s&&!J,y=Kn(f),w=p(l(_)?_.leave:_);0;var C=i._leaveCb=A(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),b&&(Rn(i,u),Rn(i,h)),C.cancelled?(b&&Rn(i,c),v&&v(i)):(e(),m&&m(i)),i._leaveCb=null});g?g(x):x()}function x(){C.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),d&&d(i),b&&(Dn(i,c),Dn(i,h),In(function(){Rn(i,c),C.cancelled||(Dn(i,u),y||(Wn(w)?setTimeout(C,w):zn(i,a,C)))})),f&&f(i,C),b||y||C())}}function Wn(t){return"number"==typeof t&&!isNaN(t)}function Kn(t){if(r(t))return!1;var e=t.fns;return o(e)?Kn(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Yn(t,e){!0!==e.data.show&&Vn(e)}var Jn=function(t){var e,i,n={},l=t.modules,c=t.nodeOps;for(e=0;e<Fi.length;++e)for(n[Fi[e]]=[],i=0;i<l.length;++i)o(l[i][Fi[e]])&&n[Fi[e]].push(l[i][Fi[e]]);function u(t){var e=c.parentNode(t);o(e)&&c.removeChild(e,t)}function h(t,e,i,r,a,l,u){if(o(t.elm)&&o(l)&&(t=l[u]=gt(t)),t.isRootInsert=!a,!function(t,e,i,r){var a=t.data;if(o(a)){var l=o(t.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(t,!1,i,r),o(t.componentInstance))return d(t,e),s(l)&&function(t,e,i,r){for(var s,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,o(s=a.data)&&o(s=s.transition)){for(s=0;s<n.activate.length;++s)n.activate[s](zi,a);e.push(a);break}f(i,t.elm,r)}(t,e,i,r),!0}}(t,e,i,r)){var h=t.data,m=t.children,v=t.tag;o(v)?(t.elm=t.ns?c.createElementNS(t.ns,v):c.createElement(v,t),_(t),p(t,m,e),o(h)&&g(t,e),f(i,t.elm,r)):s(t.isComment)?(t.elm=c.createComment(t.text),f(i,t.elm,r)):(t.elm=c.createTextNode(t.text),f(i,t.elm,r))}}function d(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(g(t,e),_(t)):(Ri(t),e.push(t))}function f(t,e,i){o(t)&&(o(i)?i.parentNode===t&&c.insertBefore(t,e,i):c.appendChild(t,e))}function p(t,e,i){if(Array.isArray(e))for(var n=0;n<e.length;++n)h(e[n],i,t.elm,null,!0,e,n);else a(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function g(t,i){for(var r=0;r<n.create.length;++r)n.create[r](zi,t);o(e=t.data.hook)&&(o(e.create)&&e.create(zi,t),o(e.insert)&&i.push(t))}function _(t){var e;if(o(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var i=t;i;)o(e=i.context)&&o(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),i=i.parent;o(e=ye)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function b(t,e,i,n,r,o){for(;n<=r;++n)h(i[n],o,t,e,!1,i,n)}function y(t){var e,i,r=t.data;if(o(r))for(o(e=r.hook)&&o(e=e.destroy)&&e(t),e=0;e<n.destroy.length;++e)n.destroy[e](t);if(o(e=t.children))for(i=0;i<t.children.length;++i)y(t.children[i])}function w(t,e,i,n){for(;i<=n;++i){var r=e[i];o(r)&&(o(r.tag)?(C(r),y(r)):u(r.elm))}}function C(t,e){if(o(e)||o(t.data)){var i,r=n.remove.length+1;for(o(e)?e.listeners+=r:e=function(t,e){function i(){0==--i.listeners&&u(t)}return i.listeners=e,i}(t.elm,r),o(i=t.componentInstance)&&o(i=i._vnode)&&o(i.data)&&C(i,e),i=0;i<n.remove.length;++i)n.remove[i](t,e);o(i=t.data.hook)&&o(i=i.remove)?i(t,e):e()}else u(t.elm)}function x(t,e,i,n){for(var r=i;r<n;r++){var s=e[r];if(o(s)&&ji(t,s))return r}}function k(t,e,i,a){if(t!==e){var l=e.elm=t.elm;if(s(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?$(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,d=e.data;o(d)&&o(u=d.hook)&&o(u=u.prepatch)&&u(t,e);var f=t.children,p=e.children;if(o(d)&&v(e)){for(u=0;u<n.update.length;++u)n.update[u](t,e);o(u=d.hook)&&o(u=u.update)&&u(t,e)}r(e.text)?o(f)&&o(p)?f!==p&&function(t,e,i,n,s){for(var a,l,u,d=0,f=0,p=e.length-1,m=e[0],v=e[p],g=i.length-1,_=i[0],y=i[g],C=!s;d<=p&&f<=g;)r(m)?m=e[++d]:r(v)?v=e[--p]:ji(m,_)?(k(m,_,n),m=e[++d],_=i[++f]):ji(v,y)?(k(v,y,n),v=e[--p],y=i[--g]):ji(m,y)?(k(m,y,n),C&&c.insertBefore(t,m.elm,c.nextSibling(v.elm)),m=e[++d],y=i[--g]):ji(v,_)?(k(v,_,n),C&&c.insertBefore(t,v.elm,m.elm),v=e[--p],_=i[++f]):(r(a)&&(a=Qi(e,d,p)),r(l=o(_.key)?a[_.key]:x(_,e,d,p))?h(_,n,t,m.elm,!1,i,f):ji(u=e[l],_)?(k(u,_,n),e[l]=void 0,C&&c.insertBefore(t,u.elm,m.elm)):h(_,n,t,m.elm,!1,i,f),_=i[++f]);d>p?b(t,r(i[g+1])?null:i[g+1].elm,i,f,g,n):f>g&&w(0,e,d,p)}(l,f,p,i,a):o(p)?(o(t.text)&&c.setTextContent(l,""),b(l,null,p,0,p.length-1,i)):o(f)?w(0,f,0,f.length-1):o(t.text)&&c.setTextContent(l,""):t.text!==e.text&&c.setTextContent(l,e.text),o(d)&&o(u=d.hook)&&o(u=u.postpatch)&&u(t,e)}}}function S(t,e,i){if(s(i)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var q=m("attrs,class,staticClass,staticStyle,key");function $(t,e,i,n){var r,a=e.tag,l=e.data,c=e.children;if(n=n||l&&l.pre,e.elm=t,s(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(l)&&(o(r=l.hook)&&o(r=r.init)&&r(e,!0),o(r=e.componentInstance)))return d(e,i),!0;if(o(a)){if(o(c))if(t.hasChildNodes())if(o(r=l)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,f=0;f<c.length;f++){if(!h||!$(h,c[f],i,n)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else p(e,c,i);if(o(l)){var m=!1;for(var v in l)if(!q(v)){m=!0,g(e,i);break}!m&&l.class&&ie(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,i,a,l,u){if(!r(e)){var d,f=!1,p=[];if(r(t))f=!0,h(e,p,l,u);else{var m=o(t.nodeType);if(!m&&ji(t,e))k(t,e,p,a);else{if(m){if(1===t.nodeType&&t.hasAttribute(N)&&(t.removeAttribute(N),i=!0),s(i)&&$(t,e,p))return S(e,p,!0),t;d=t,t=new ft(c.tagName(d).toLowerCase(),{},[],void 0,d)}var g=t.elm,_=c.parentNode(g);if(h(e,p,g._leaveCb?null:_,c.nextSibling(g)),o(e.parent))for(var b=e.parent,C=v(e);b;){for(var x=0;x<n.destroy.length;++x)n.destroy[x](b);if(b.elm=e.elm,C){for(var q=0;q<n.create.length;++q)n.create[q](zi,b);var T=b.data.hook.insert;if(T.merged)for(var P=1;P<T.fns.length;P++)T.fns[P]()}else Ri(b);b=b.parent}o(_)?w(0,[t],0,0):o(t.tag)&&y(t)}}return S(e,p,f),e.elm}o(t)&&y(t)}}({nodeOps:Ii,modules:[tn,rn,un,fn,kn,V?{create:Yn,activate:Yn,remove:function(t,e){!0!==t.data.show?Un(t,e):e()}}:{}].concat(Ji)});J&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&rr(t,"input")});var Gn={inserted:function(t,e,i,n){"select"===i.tag?(n.elm&&!n.elm._vOptions?ae(i,"postpatch",function(){Gn.componentUpdated(t,e,i)}):Xn(t,e,i.context),t._vOptions=[].map.call(t.options,er)):("textarea"===i.tag||Ni(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ir),t.addEventListener("compositionend",nr),t.addEventListener("change",nr),J&&(t.vmodel=!0)))},componentUpdated:function(t,e,i){if("select"===i.tag){Xn(t,e,i.context);var n=t._vOptions,r=t._vOptions=[].map.call(t.options,er);if(r.some(function(t,e){return!O(t,n[e])}))(t.multiple?e.value.some(function(t){return tr(t,r)}):e.value!==e.oldValue&&tr(e.value,r))&&rr(t,"change")}}};function Xn(t,e,i){Zn(t,e,i),(Y||G)&&setTimeout(function(){Zn(t,e,i)},0)}function Zn(t,e,i){var n=e.value,r=t.multiple;if(!r||Array.isArray(n)){for(var o,s,a=0,l=t.options.length;a<l;a++)if(s=t.options[a],r)o=B(n,er(s))>-1,s.selected!==o&&(s.selected=o);else if(O(er(s),n))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function tr(t,e){return e.every(function(e){return!O(e,t)})}function er(t){return"_value"in t?t._value:t.value}function ir(t){t.target.composing=!0}function nr(t){t.target.composing&&(t.target.composing=!1,rr(t.target,"input"))}function rr(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!0),t.dispatchEvent(i)}function or(t){return!t.componentInstance||t.data&&t.data.transition?t:or(t.componentInstance._vnode)}var sr={model:Gn,show:{bind:function(t,e,i){var n=e.value,r=(i=or(i)).data&&i.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&r?(i.data.show=!0,Vn(i,function(){t.style.display=o})):t.style.display=n?o:"none"},update:function(t,e,i){var n=e.value;!n!=!e.oldValue&&((i=or(i)).data&&i.data.transition?(i.data.show=!0,n?Vn(i,function(){t.style.display=t.__vOriginalDisplay}):Un(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)}}},ar={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 lr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?lr(fe(e.children)):t}function cr(t){var e={},i=t.$options;for(var n in i.propsData)e[n]=t[n];var r=i._parentListeners;for(var o in r)e[C(o)]=r[o];return e}function ur(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var hr={name:"transition",props:ar,abstract:!0,render:function(t){var e=this,i=this.$slots.default;if(i&&(i=i.filter(function(t){return t.tag||de(t)})).length){0;var n=this.mode;0;var r=i[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=lr(r);if(!o)return r;if(this._leaving)return ur(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=cr(this),c=this._vnode,u=lr(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!de(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=T({},l);if("out-in"===n)return this._leaving=!0,ae(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),ur(t,r);if("in-out"===n){if(de(o))return c;var d,f=function(){d()};ae(l,"afterEnter",f),ae(l,"enterCancelled",f),ae(h,"delayLeave",function(t){d=t})}}return r}}},dr=T({tag:String,moveClass:String},ar);function fr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function pr(t){t.data.newPos=t.elm.getBoundingClientRect()}function mr(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 o=t.elm.style;o.transform=o.WebkitTransform="translate("+n+"px,"+r+"px)",o.transitionDuration="0s"}}delete dr.mode;var vr={Transition:hr,TransitionGroup:{props:dr,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||[],o=this.children=[],s=cr(this),a=0;a<r.length;a++){var l=r[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),i[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(n){for(var c=[],u=[],h=0;h<n.length;h++){var d=n[h];d.data.transition=s,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,o)},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(fr),t.forEach(pr),t.forEach(mr),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var i=t.elm,n=i.style;Dn(i,e),n.transform=n.WebkitTransform=n.transitionDuration="",i.addEventListener(On,i._moveCb=function t(n){n&&!/transform$/.test(n.propertyName)||(i.removeEventListener(On,t),i._moveCb=null,Rn(i,e))})}}))},methods:{hasMove:function(t,e){if(!Pn)return!1;if(this._hasMove)return this._hasMove;var i=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){qn(i,t)}),Sn(i,e),i.style.display="none",this.$el.appendChild(i);var n=jn(i);return this.$el.removeChild(i),this._hasMove=n.hasTransform}}}};hi.config.mustUseProp=function(t,e,i){return"value"===i&&yi(t)&&"button"!==e||"selected"===i&&"option"===t||"checked"===i&&"input"===t||"muted"===i&&"video"===t},hi.config.isReservedTag=Bi,hi.config.isReservedAttr=bi,hi.config.getTagNamespace=function(t){return Oi(t)?"svg":"math"===t?"math":void 0},hi.config.isUnknownElement=function(t){if(!V)return!0;if(Bi(t))return!1;if(t=t.toLowerCase(),null!=Ai[t])return Ai[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ai[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ai[t]=/HTMLUnknownElement/.test(e.toString())},T(hi.options.directives,sr),T(hi.options.components,vr),hi.prototype.__patch__=V?Jn:M,hi.prototype.$mount=function(t,e){return function(t,e,i){return t.$el=e,t.$options.render||(t.$options.render=mt),xe(t,"beforeMount"),new Le(t,function(){t._update(t._render(),i)},M,null,!0),i=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}(this,t=t&&V?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},V&&setTimeout(function(){R.devtools&&nt&&nt.emit("init",hi)},0),e.a=hi}).call(e,i("DuR2"),i("162o").setImmediate)},"/ocq":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 o={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,o=e.data;o.routerView=!0;for(var s=r.$createElement,a=i.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),u=0,h=!1;r&&r._routerRoot!==r;)r.$vnode&&r.$vnode.data.routerView&&u++,r._inactive&&(h=!0),r=r.$parent;if(o.routerViewDepth=u,h)return s(c[a],o,n);var d=l.matched[u];if(!d)return c[a]=null,s();var f=c[a]=d.components[a];o.registerRouteInstance=function(t,e){var i=d.instances[a];(e&&i!==t||!e&&i===t)&&(d.instances[a]=e)},(o.hook||(o.hook={})).prepatch=function(t,e){d.instances[a]=e.componentInstance};var p=o.props=function(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}}(l,d.props&&d.props[a]);if(p){p=o.props=function(t,e){for(var i in e)t[i]=e[i];return t}({},p);var m=o.attrs=o.attrs||{};for(var v in p)f.props&&v in f.props||(m[v]=p[v],delete p[v])}return s(f,o,n)}};var s=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},l=/%2C/g,c=function(t){return encodeURIComponent(t).replace(s,a).replace(l,",")},u=decodeURIComponent;function h(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var i=t.replace(/\+/g," ").split("="),n=u(i.shift()),r=i.length>0?u(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 d(t){var e=t?Object.keys(t).map(function(e){var i=t[e];if(void 0===i)return"";if(null===i)return c(e);if(Array.isArray(i)){var n=[];return i.forEach(function(t){void 0!==t&&(null===t?n.push(c(e)):n.push(c(e)+"="+c(t)))}),n.join("&")}return c(e)+"="+c(i)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var f=/\/?$/;function p(t,e,i,n){var r=n&&n.options.stringifyQuery,o=e.query||{};try{o=m(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:g(e,r),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return i&&(s.redirectedFrom=g(i,r)),Object.freeze(s)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"==typeof t){var e={};for(var i in t)e[i]=m(t[i]);return e}return t}var v=p(null,{path:"/"});function g(t,e){var i=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(i||"/")+(e||d)(n)+r}function _(t,e){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(f,"")===e.path.replace(f,"")&&t.hash===e.hash&&b(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params)))}function b(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?b(n,r):String(n)===String(r)})}var y,w=[String,Object],C=[String,Array],x={name:"router-link",props:{to:{type:w,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:C,default:"click"}},render:function(t){var e=this,i=this.$router,n=this.$route,r=i.resolve(this.to,n,this.append),o=r.location,s=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,m=null==this.activeClass?h:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,g=o.path?p(null,o,null,i):s;l[v]=_(n,g),l[m]=this.exact?l[v]:function(t,e){return 0===t.path.replace(f,"/").indexOf(e.path.replace(f,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var i in e)if(!(i in t))return!1;return!0}(t.query,e.query)}(n,g);var b=function(t){k(t)&&(e.replace?i.replace(o):i.push(o))},w={click:k};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=b}):w[this.event]=b;var C={class:l};if("a"===this.tag)C.on=w,C.attrs={href:a};else{var x=function t(e){if(e)for(var i,n=0;n<e.length;n++){if("a"===(i=e[n]).tag)return i;if(i.children&&(i=t(i.children)))return i}}(this.$slots.default);if(x){x.isStatic=!1;var S=y.util.extend;(x.data=S({},x.data)).on=w,(x.data.attrs=S({},x.data.attrs)).href=a}else C.on=w}return t(this.tag,C,this.$slots.default)}};function k(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 S(t){if(!S.installed||y!==t){S.installed=!0,y=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",o),t.component("router-link",x);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var q="undefined"!=typeof window;function $(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 o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function T(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},M=H,E=N,L=function(t,e){return D(N(t,e))},O=D,B=Q,A=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){for(var i,n=[],r=0,o=0,s="",a=e&&e.delimiter||"/";null!=(i=A.exec(t));){var l=i[0],c=i[1],u=i.index;if(s+=t.slice(o,u),o=u+l.length,c)s+=c[1];else{var h=t[o],d=i[2],f=i[3],p=i[4],m=i[5],v=i[6],g=i[7];s&&(n.push(s),s="");var _=null!=d&&null!=h&&h!==d,b="+"===v||"*"===v,y="?"===v||"*"===v,w=i[2]||a,C=p||m;n.push({name:f||r++,prefix:d||"",delimiter:w,optional:y,repeat:b,partial:_,asterisk:!!g,pattern:C?z(C):g?".*":"[^"+R(w)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&n.push(s),n}function I(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function D(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="",o=i||{},s=(n||{}).pretty?I:encodeURIComponent,a=0;a<t.length;a++){var l=t[a];if("string"!=typeof l){var c,u=o[l.name];if(null==u){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(P(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<u.length;h++){if(c=s(u[h]),!e[a].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===h?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):s(u),!e[a].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function R(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function z(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function F(t,e){return t.keys=e,t}function j(t){return t.sensitive?"":"i"}function Q(t,e,i){P(e)||(i=e||i,e=[]);for(var n=(i=i||{}).strict,r=!1!==i.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"==typeof a)o+=R(a);else{var l=R(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+l+c+")*"),o+=c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=R(i.delimiter||"/"),h=o.slice(-u.length)===u;return n||(o=(h?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":n&&h?"":"(?="+u+"|$)",F(new RegExp("^"+o,j(i)),e)}function H(t,e,i){return P(e)||(i=e||i,e=[]),i=i||{},t instanceof RegExp?function(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 F(t,e)}(t,e):P(t)?function(t,e,i){for(var n=[],r=0;r<t.length;r++)n.push(H(t[r],e,i).source);return F(new RegExp("(?:"+n.join("|")+")",j(i)),e)}(t,e,i):function(t,e,i){return Q(N(t,i),e,i)}(t,e,i)}M.parse=E,M.compile=L,M.tokensToFunction=O,M.tokensToRegExp=B;var V=Object.create(null);function U(t,e,i){try{return(V[t]||(V[t]=M.compile(t)))(e||{},{pretty:!0})}catch(t){return""}}function W(t,e,i,n){var r=e||[],o=i||Object.create(null),s=n||Object.create(null);t.forEach(function(t){!function t(e,i,n,r,o,s){var a=r.path;var l=r.name;0;var c=r.pathToRegexpOptions||{};var u=function(t,e,i){i||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return T(e.path+"/"+t)}(a,o,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var h={path:u,regex:function(t,e){var i=M(t,[],e);return i}(u,c),components:r.components||{default:r.component},instances:{},name:l,parent:o,matchAs:s,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach(function(r){var o=s?T(s+"/"+r.path):void 0;t(e,i,n,r,h,o)});if(void 0!==r.alias){var d=Array.isArray(r.alias)?r.alias:[r.alias];d.forEach(function(s){var a={path:s,children:r.children};t(e,i,n,a,o,h.path||"/")})}i[h.path]||(e.push(h.path),i[h.path]=h);l&&(n[l]||(n[l]=h))}(r,o,s,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:o,nameMap:s}}function K(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=Y({},r))._normalized=!0;var o=Y(Y({},e.params),r.params);if(e.name)r.name=e.name,r.params=o;else if(e.matched.length){var s=e.matched[e.matched.length-1].path;r.path=U(s,o,e.path)}else 0;return r}var a=function(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}}(r.path||""),l=e&&e.path||"/",c=a.path?$(a.path,l,i||r.append):l,u=function(t,e,i){void 0===e&&(e={});var n,r=i||h;try{n=r(t||"")}catch(t){n={}}for(var o in e)n[o]=e[o];return n}(a.query,r.query,n&&n.options.parseQuery),d=r.hash||a.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:c,query:u,hash:d}}function Y(t,e){for(var i in e)t[i]=e[i];return t}function J(t,e){var i=W(t),n=i.pathList,r=i.pathMap,o=i.nameMap;function s(t,i,s){var a=K(t,i,!1,e),c=a.name;if(c){var u=o[c];if(!u)return l(null,a);var h=u.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(u)return a.path=U(u.path,a.params),l(u,a,s)}else if(a.path){a.params={};for(var f=0;f<n.length;f++){var p=n[f],m=r[p];if(G(m.regex,a.path,a.params))return l(m,a,s)}}return l(null,a)}function a(t,i){var n=t.redirect,r="function"==typeof n?n(p(t,i,null,e)):n;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,i);var a=r,c=a.name,u=a.path,h=i.query,d=i.hash,f=i.params;if(h=a.hasOwnProperty("query")?a.query:h,d=a.hasOwnProperty("hash")?a.hash:d,f=a.hasOwnProperty("params")?a.params:f,c){o[c];return s({_normalized:!0,name:c,query:h,hash:d,params:f},void 0,i)}if(u){var m=function(t,e){return $(t,e.parent?e.parent.path:"/",!0)}(u,t);return s({_normalized:!0,path:U(m,f),query:h,hash:d},void 0,i)}return l(null,i)}function l(t,i,n){return t&&t.redirect?a(t,n||i):t&&t.matchAs?function(t,e,i){var n=s({_normalized:!0,path:U(i,e.params)});if(n){var r=n.matched,o=r[r.length-1];return e.params=n.params,l(o,e)}return l(null,e)}(0,i,t.matchAs):p(t,i,n,e)}return{match:s,addRoutes:function(t){W(t,n,r,o)}}}function G(t,e,i){var n=e.match(t);if(!n)return!1;if(!i)return!0;for(var r=1,o=n.length;r<o;++r){var s=t.keys[r-1],a="string"==typeof n[r]?decodeURIComponent(n[r]):n[r];s&&(i[s.name]=a)}return!0}var X=Object.create(null);function Z(){window.history.replaceState({key:ht()},""),window.addEventListener("popstate",function(t){var e;et(),t.state&&t.state.key&&(e=t.state.key,ct=e)})}function tt(t,e,i,n){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick(function(){var t=function(){var t=ht();if(t)return X[t]}(),o=r(e,i,n?t:null);o&&("function"==typeof o.then?o.then(function(e){ot(e,t)}).catch(function(t){0}):ot(o,t))})}}function et(){var t=ht();t&&(X[t]={x:window.pageXOffset,y:window.pageYOffset})}function it(t){return rt(t.x)||rt(t.y)}function nt(t){return{x:rt(t.x)?t.x:window.pageXOffset,y:rt(t.y)?t.y:window.pageYOffset}}function rt(t){return"number"==typeof t}function ot(t,e){var i,n="object"==typeof t;if(n&&"string"==typeof t.selector){var r=document.querySelector(t.selector);if(r){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var i=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-i.left-e.x,y:n.top-i.top-e.y}}(r,o={x:rt((i=o).x)?i.x:0,y:rt(i.y)?i.y:0})}else it(t)&&(e=nt(t))}else n&&it(t)&&(e=nt(t));e&&window.scrollTo(e.x,e.y)}var st,at=q&&((-1===(st=window.navigator.userAgent).indexOf("Android 2.")&&-1===st.indexOf("Android 4.0")||-1===st.indexOf("Mobile Safari")||-1!==st.indexOf("Chrome")||-1!==st.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history),lt=q&&window.performance&&window.performance.now?window.performance:Date,ct=ut();function ut(){return lt.now().toFixed(3)}function ht(){return ct}function dt(t,e){et();var i=window.history;try{e?i.replaceState({key:ct},"",t):(ct=ut(),i.pushState({key:ct},"",t))}catch(i){window.location[e?"replace":"assign"](t)}}function ft(t){dt(t,!0)}function pt(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 mt(t){return function(e,i,n){var o=!1,s=0,a=null;vt(t,function(t,e,i,l){if("function"==typeof t&&void 0===t.cid){o=!0,s++;var c,u=bt(function(e){var r;((r=e).__esModule||_t&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:y.extend(e),i.components[l]=e,--s<=0&&n()}),h=bt(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)}}}),o||n()}}function vt(t,e){return gt(t.map(function(t){return Object.keys(t.components).map(function(i){return e(t.components[i],t.instances[i],t,i)})}))}function gt(t){return Array.prototype.concat.apply([],t)}var _t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function bt(t){var e=!1;return function(){for(var i=[],n=arguments.length;n--;)i[n]=arguments[n];if(!e)return e=!0,t.apply(this,i)}}var yt=function(t,e){this.router=t,this.base=function(t){if(!t)if(q){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function wt(t,e,i,n){var r=vt(t,function(t,n,r,o){var s=function(t,e){"function"!=typeof t&&(t=y.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map(function(t){return i(t,n,r,o)}):i(s,n,r,o)});return gt(n?r.reverse():r)}function Ct(t,e){if(e)return function(){return t.apply(e,arguments)}}yt.prototype.listen=function(t){this.cb=t},yt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},yt.prototype.onError=function(t){this.errorCbs.push(t)},yt.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)}))})},yt.prototype.confirmTransition=function(t,e,i){var o=this,s=this.current,a=function(t){r(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):(n(),console.error(t))),i&&i(t)};if(_(t,s)&&t.matched.length===s.matched.length)return this.ensureURL(),a();var l=function(t,e){var i,n=Math.max(t.length,e.length);for(i=0;i<n&&t[i]===e[i];i++);return{updated:e.slice(0,i),activated:e.slice(i),deactivated:t.slice(i)}}(this.current.matched,t.matched),c=l.updated,u=l.deactivated,h=l.activated,d=[].concat(function(t){return wt(t,"beforeRouteLeave",Ct,!0)}(u),this.router.beforeHooks,function(t){return wt(t,"beforeRouteUpdate",Ct)}(c),h.map(function(t){return t.beforeEnter}),mt(h));this.pending=t;var f=function(e,i){if(o.pending!==t)return a();try{e(t,s,function(t){!1===t||r(t)?(o.ensureURL(!0),a(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(a(),"object"==typeof t&&t.replace?o.replace(t):o.push(t)):i(t)})}catch(t){a(t)}};pt(d,f,function(){var i=[];pt(function(t,e,i){return wt(t,"beforeRouteEnter",function(t,n,r,o){return function(t,e,i,n,r){return function(o,s,a){return t(o,s,function(t){a(t),"function"==typeof t&&n.push(function(){!function t(e,i,n,r){i[n]?e(i[n]):r()&&setTimeout(function(){t(e,i,n,r)},16)}(t,e.instances,i,r)})})}}(t,r,o,e,i)})}(h,i,function(){return o.current===t}).concat(o.router.resolveHooks),f,function(){if(o.pending!==t)return a();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick(function(){i.forEach(function(t){t()})})})})},yt.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&&Z();var o=kt(this.base);window.addEventListener("popstate",function(t){var i=n.current,s=kt(n.base);n.current===v&&s===o||n.transitionTo(s,function(t){r&&tt(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.current;this.transitionTo(t,function(t){dt(T(n.base+t.fullPath)),tt(n.router,t,r,!1),e&&e(t)},i)},e.prototype.replace=function(t,e,i){var n=this,r=this.current;this.transitionTo(t,function(t){ft(T(n.base+t.fullPath)),tt(n.router,t,r,!1),e&&e(t)},i)},e.prototype.ensureURL=function(t){if(kt(this.base)!==this.current.fullPath){var e=T(this.base+this.current.fullPath);t?dt(e):ft(e)}},e.prototype.getCurrentLocation=function(){return kt(this.base)},e}(yt);function kt(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 St=function(t){function e(e,i,n){t.call(this,e,i),n&&function(t){var e=kt(t);if(!/^\/#/.test(e))return window.location.replace(T(t+"/#"+e)),!0}(this.base)||qt()}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.options.scrollBehavior,i=at&&e;i&&Z(),window.addEventListener(at?"popstate":"hashchange",function(){var e=t.current;qt()&&t.transitionTo($t(),function(n){i&&tt(t.router,n,e,!0),at||Mt(n.fullPath)})})},e.prototype.push=function(t,e,i){var n=this,r=this.current;this.transitionTo(t,function(t){Pt(t.fullPath),tt(n.router,t,r,!1),e&&e(t)},i)},e.prototype.replace=function(t,e,i){var n=this,r=this.current;this.transitionTo(t,function(t){Mt(t.fullPath),tt(n.router,t,r,!1),e&&e(t)},i)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;$t()!==e&&(t?Pt(e):Mt(e))},e.prototype.getCurrentLocation=function(){return $t()},e}(yt);function qt(){var t=$t();return"/"===t.charAt(0)||(Mt("/"+t),!1)}function $t(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.slice(e+1)}function Tt(t){var e=window.location.href,i=e.indexOf("#");return(i>=0?e.slice(0,i):e)+"#"+t}function Pt(t){at?dt(Tt(t)):window.location.hash=t}function Mt(t){at?ft(Tt(t)):window.location.replace(Tt(t))}var Et=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}(yt),Lt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!at&&!1!==t.fallback,this.fallback&&(e="hash"),q||(e="abstract"),this.mode=e,e){case"history":this.history=new xt(this,t.base);break;case"hash":this.history=new St(this,t.base,this.fallback);break;case"abstract":this.history=new Et(this,t.base);break;default:0}},Ot={currentRoute:{configurable:!0}};function Bt(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}Lt.prototype.match=function(t,e,i){return this.matcher.match(t,e,i)},Ot.currentRoute.get=function(){return this.history&&this.history.current},Lt.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 St){var n=function(){i.setupListeners()};i.transitionTo(i.getCurrentLocation(),n,n)}i.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},Lt.prototype.beforeEach=function(t){return Bt(this.beforeHooks,t)},Lt.prototype.beforeResolve=function(t){return Bt(this.resolveHooks,t)},Lt.prototype.afterEach=function(t){return Bt(this.afterHooks,t)},Lt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Lt.prototype.onError=function(t){this.history.onError(t)},Lt.prototype.push=function(t,e,i){this.history.push(t,e,i)},Lt.prototype.replace=function(t,e,i){this.history.replace(t,e,i)},Lt.prototype.go=function(t){this.history.go(t)},Lt.prototype.back=function(){this.go(-1)},Lt.prototype.forward=function(){this.go(1)},Lt.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]})})):[]},Lt.prototype.resolve=function(t,e,i){var n=K(t,e||this.history.current,i,this),r=this.match(n,e),o=r.redirectedFrom||r.fullPath;return{location:n,route:r,href:function(t,e,i){var n="hash"===i?"#"+e:e;return t?T(t+"/"+n):n}(this.history.base,o,this.mode),normalizedTo:n,resolved:r}},Lt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Lt.prototype,Ot),Lt.install=S,Lt.version="3.0.1",q&&window.Vue&&window.Vue.use(Lt),e.a=Lt},"162o":function(t,e,i){(function(t){var n=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},i("mypn"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,i("DuR2"))},"1kS7":function(t,e){e.f=Object.getOwnPropertySymbols},"30VO":function(t,e,i){(function(t,e){function i(t){return"function"==typeof t}Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:
  /*!
   * Quasar Framework v0.15.10
   * (c) 2016-present Razvan Stoenescu
   * Released under the MIT License.
   */
  function(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 o=i[r];if(void 0!==o&&null!==o)for(var s=Object.keys(Object(o)),a=0,l=s.length;a<l;a++){var c=s[a],u=Object.getOwnPropertyDescriptor(o,c);void 0!==u&&u.enumerable&&(n[c]=o[c])}}return n}}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){return this.parentNode?this.parentNode.removeChild(this):this}})}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e=Object(this),i=e.length>>>0,n=arguments[1],r=0;r<i;r++)if(t.call(n,e[r],r,e))return r;return-1}})
  /*!
   * @overview es6-promise - a tiny implementation of Promises/A+.
   * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
   * @license   Licensed under MIT license
   *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
   * @version   v4.2.4+314e4831
   */;var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,o=void 0,s=void 0,a=function(t,e){p[r]=t,p[r+1]=e,2===(r+=2)&&(s?s(m):y())};var l="undefined"!=typeof window?window:void 0,c=l||{},u=c.MutationObserver||c.WebKitMutationObserver,h="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(m,1)}}var p=new Array(1e3);function m(){for(var t=0;t<r;t+=2){(0,p[t])(p[t+1]),p[t]=void 0,p[t+1]=void 0}r=0}var v,g,_,b,y=void 0;function w(t,e){var i=this,n=new this.constructor(k);void 0===n[x]&&R(n);var r=i._state;if(r){var o=arguments[r-1];a(function(){return I(r,n,o,i._result)})}else A(i,n,t,e);return n}function C(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(k);return E(e,t),e}h?y=function(){return t.nextTick(m)}:u?(g=0,_=new u(m),b=document.createTextNode(""),_.observe(b,{characterData:!0}),y=function(){b.data=g=++g%2}):d?((v=new MessageChannel).port1.onmessage=m,y=function(){return v.port2.postMessage(0)}):y=void 0===l?function(){try{var t=Function("return this")().require("vertx");return void 0!==(o=t.runOnLoop||t.runOnContext)?function(){o(m)}:f()}catch(t){return f()}}():f();var x=Math.random().toString(36).substring(2);function k(){}var S=void 0,q=1,$=2,T={error:null};function P(t){try{return t.then}catch(t){return T.error=t,T}}function M(t,e,n){e.constructor===t.constructor&&n===w&&e.constructor.resolve===C?function(t,e){e._state===q?O(t,e._result):e._state===$?B(t,e._result):A(e,void 0,function(e){return E(t,e)},function(e){return B(t,e)})}(t,e):n===T?(B(t,T.error),T.error=null):void 0===n?O(t,e):i(n)?function(t,e,i){a(function(t){var n=!1,r=function(t,e,i,n){try{t.call(e,i,n)}catch(t){return t}}(i,e,function(i){n||(n=!0,e!==i?E(t,i):O(t,i))},function(e){n||(n=!0,B(t,e))},t._label);!n&&r&&(n=!0,B(t,r))},t)}(t,e,n):O(t,e)}function E(t,e){var i,n;t===e?B(t,new TypeError("You cannot resolve a promise with itself")):(n=typeof(i=e),null===i||"object"!==n&&"function"!==n?O(t,e):M(t,e,P(e)))}function L(t){t._onerror&&t._onerror(t._result),N(t)}function O(t,e){t._state===S&&(t._result=e,t._state=q,0!==t._subscribers.length&&a(N,t))}function B(t,e){t._state===S&&(t._state=$,t._result=e,a(L,t))}function A(t,e,i,n){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+q]=i,r[o+$]=n,0===o&&t._state&&a(N,t)}function N(t){var e=t._subscribers,i=t._state;if(0!==e.length){for(var n=void 0,r=void 0,o=t._result,s=0;s<e.length;s+=3)n=e[s],r=e[s+i],n?I(i,n,r,o):r(o);t._subscribers.length=0}}function I(t,e,n,r){var o=i(n),s=void 0,a=void 0,l=void 0,c=void 0;if(o){if((s=function(t,e){try{return t(e)}catch(t){return T.error=t,T}}(n,r))===T?(c=!0,a=s.error,s.error=null):l=!0,e===s)return void B(e,new TypeError("A promises callback cannot return that same promise."))}else s=r,l=!0;e._state!==S||(o&&l?E(e,s):c?B(e,a):t===q?O(e,s):t===$&&B(e,s))}var D=0;function R(t){t[x]=D++,t._state=void 0,t._result=void 0,t._subscribers=[]}var z=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(k),this.promise[x]||R(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&O(this.promise,this._result))):B(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===S&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var i=this._instanceConstructor,n=i.resolve;if(n===C){var r=P(t);if(r===w&&t._state!==S)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(i===F){var o=new i(k);M(o,t,r),this._willSettleAt(o,e)}else this._willSettleAt(new i(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,i){var n=this.promise;n._state===S&&(this._remaining--,t===$?B(n,i):this._result[e]=i),0===this._remaining&&O(n,this._result)},t.prototype._willSettleAt=function(t,e){var i=this;A(t,void 0,function(t){return i._settledAt(q,e,t)},function(t){return i._settledAt($,e,t)})},t}();var F=function(){function t(e){this[x]=D++,this._result=this._state=void 0,this._subscribers=[],k!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(t,e){try{e(function(e){E(t,e)},function(e){B(t,e)})}catch(e){B(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){throw i})})},t}();F.prototype.then=w,F.all=function(t){return new z(this,t).promise},F.race=function(t){var e=this;return n(t)?new e(function(i,n){for(var r=t.length,o=0;o<r;o++)e.resolve(t[o]).then(i,n)}):new e(function(t,e){return e(new TypeError("You must pass an array to race."))})},F.resolve=C,F.reject=function(t){var e=new this(k);return B(e,t),e},F._setScheduler=function(t){s=t},F._setAsap=function(t){a=t},F._asap=a,function(){var t=void 0;if(void 0!==e)t=e;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var i=t.Promise;if(i){var n=null;try{n=Object.prototype.toString.call(i.resolve())}catch(t){}if("[object Promise]"===n&&!i.cast)return}t.Promise=F}()}).call(e,i("W2nU"),i("DuR2"))},"3Eo+":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},"59Iv":function(t,e,i){i("JsEP")},7109:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"QActionSheet",function(){return wt}),i.d(e,"QAjaxBar",function(){return Lt}),i.d(e,"QAlert",function(){return we}),i.d(e,"QAutocomplete",function(){return qe}),i.d(e,"QBreadcrumbs",function(){return $e}),i.d(e,"QBreadcrumbsEl",function(){return Te}),i.d(e,"QBtn",function(){return le}),i.d(e,"QBtnGroup",function(){return ce}),i.d(e,"QBtnDropdown",function(){return be}),i.d(e,"QBtnToggle",function(){return ye}),i.d(e,"QCard",function(){return Pe}),i.d(e,"QCardTitle",function(){return Me}),i.d(e,"QCardMain",function(){return Ee}),i.d(e,"QCardActions",function(){return Le}),i.d(e,"QCardMedia",function(){return Oe}),i.d(e,"QCardSeparator",function(){return Be}),i.d(e,"QCarousel",function(){return Ze}),i.d(e,"QCarouselSlide",function(){return ti}),i.d(e,"QCarouselControl",function(){return ei}),i.d(e,"QChatMessage",function(){return ii}),i.d(e,"QCheckbox",function(){return si}),i.d(e,"QChip",function(){return ai}),i.d(e,"QChipsInput",function(){return fi}),i.d(e,"QCollapsible",function(){return _i}),i.d(e,"QColor",function(){return Di}),i.d(e,"QColorPicker",function(){return Ni}),i.d(e,"QContextMenu",function(){return Fi}),i.d(e,"QDatetime",function(){return _n}),i.d(e,"QDatetimePicker",function(){return vn}),i.d(e,"QDialog",function(){return $n}),i.d(e,"QEditor",function(){return Nn}),i.d(e,"QFab",function(){return Dn}),i.d(e,"QFabAction",function(){return Rn}),i.d(e,"QField",function(){return zn}),i.d(e,"QIcon",function(){return st}),i.d(e,"QInfiniteScroll",function(){return Fn}),i.d(e,"QInnerLoading",function(){return jn}),i.d(e,"QInput",function(){return xn}),i.d(e,"QInputFrame",function(){return di}),i.d(e,"QKnob",function(){return Qn}),i.d(e,"QLayout",function(){return Hn}),i.d(e,"QLayoutDrawer",function(){return Un}),i.d(e,"QLayoutFooter",function(){return Wn}),i.d(e,"QLayoutHeader",function(){return Kn}),i.d(e,"QPage",function(){return Yn}),i.d(e,"QPageContainer",function(){return Jn}),i.d(e,"QPageSticky",function(){return Gn}),i.d(e,"QItem",function(){return ht}),i.d(e,"QItemSeparator",function(){return dt}),i.d(e,"QItemMain",function(){return pt}),i.d(e,"QItemSide",function(){return mt}),i.d(e,"QItemTile",function(){return vt}),i.d(e,"QItemWrapper",function(){return _t}),i.d(e,"QList",function(){return bt}),i.d(e,"QListHeader",function(){return yt}),i.d(e,"QModal",function(){return rt}),i.d(e,"QModalLayout",function(){return ot}),i.d(e,"QResizeObservable",function(){return yn}),i.d(e,"QScrollObservable",function(){return wn}),i.d(e,"QWindowResizeObservable",function(){return Cn}),i.d(e,"QOptionGroup",function(){return qn}),i.d(e,"QPagination",function(){return Xn}),i.d(e,"QParallax",function(){return Zn}),i.d(e,"QPopover",function(){return _e}),i.d(e,"QProgress",function(){return er}),i.d(e,"QPullToRefresh",function(){return ir}),i.d(e,"QRadio",function(){return kn}),i.d(e,"QRange",function(){return sr}),i.d(e,"QRating",function(){return ar}),i.d(e,"QScrollArea",function(){return lr}),i.d(e,"QSearch",function(){return cr}),i.d(e,"QSelect",function(){return hr}),i.d(e,"QSlideTransition",function(){return vi}),i.d(e,"QSlider",function(){return ki}),i.d(e,"QSpinner",function(){return ae}),i.d(e,"QSpinnerAudio",function(){return Ft}),i.d(e,"QSpinnerBall",function(){return jt}),i.d(e,"QSpinnerBars",function(){return Qt}),i.d(e,"QSpinnerCircles",function(){return Ht}),i.d(e,"QSpinnerComment",function(){return Vt}),i.d(e,"QSpinnerCube",function(){return Ut}),i.d(e,"QSpinnerDots",function(){return Wt}),i.d(e,"QSpinnerFacebook",function(){return Kt}),i.d(e,"QSpinnerGears",function(){return Yt}),i.d(e,"QSpinnerGrid",function(){return Jt}),i.d(e,"QSpinnerHearts",function(){return Gt}),i.d(e,"QSpinnerHourglass",function(){return Xt}),i.d(e,"QSpinnerInfinity",function(){return Zt}),i.d(e,"QSpinnerIos",function(){return te}),i.d(e,"QSpinnerMat",function(){return zt}),i.d(e,"QSpinnerOval",function(){return ee}),i.d(e,"QSpinnerPie",function(){return ie}),i.d(e,"QSpinnerPuff",function(){return ne}),i.d(e,"QSpinnerRadio",function(){return re}),i.d(e,"QSpinnerRings",function(){return oe}),i.d(e,"QSpinnerTail",function(){return se}),i.d(e,"QStep",function(){return fr}),i.d(e,"QStepper",function(){return pr}),i.d(e,"QStepperNavigation",function(){return mr}),i.d(e,"QRouteTab",function(){return gr}),i.d(e,"QTab",function(){return _r}),i.d(e,"QTabPane",function(){return br}),i.d(e,"QTabs",function(){return yr}),i.d(e,"QTable",function(){return Cr}),i.d(e,"QTh",function(){return wr}),i.d(e,"QTr",function(){return xr}),i.d(e,"QTd",function(){return kr}),i.d(e,"QTableColumns",function(){return Sr}),i.d(e,"QTimeline",function(){return qr}),i.d(e,"QTimelineEntry",function(){return $r}),i.d(e,"QToggle",function(){return Sn}),i.d(e,"QToolbar",function(){return Tr}),i.d(e,"QToolbarTitle",function(){return Pr}),i.d(e,"QTooltip",function(){return Tn}),i.d(e,"QTree",function(){return Mr}),i.d(e,"QUploader",function(){return Lr}),i.d(e,"QVideo",function(){return Or}),i.d(e,"BackToTop",function(){return Ar}),i.d(e,"CloseOverlay",function(){return Nr}),i.d(e,"GoBack",function(){return Ir}),i.d(e,"Ripple",function(){return Bt}),i.d(e,"ScrollFire",function(){return Rr}),i.d(e,"Scroll",function(){return Fr}),i.d(e,"TouchHold",function(){return Qr}),i.d(e,"TouchPan",function(){return Ne}),i.d(e,"TouchSwipe",function(){return ni}),i.d(e,"ActionSheet",function(){return Ur}),i.d(e,"AddressbarColor",function(){return Kr}),i.d(e,"AppFullscreen",function(){return Yr}),i.d(e,"AppVisibility",function(){return Jr}),i.d(e,"Cookies",function(){return ro}),i.d(e,"Dialog",function(){return oo}),i.d(e,"Loading",function(){return ao}),i.d(e,"Notify",function(){return co}),i.d(e,"Platform",function(){return v}),i.d(e,"LocalStorage",function(){return fo}),i.d(e,"SessionStorage",function(){return po}),i.d(e,"animate",function(){return Ge}),i.d(e,"clone",function(){return qi}),i.d(e,"colors",function(){return Ai}),i.d(e,"date",function(){return mn}),i.d(e,"debounce",function(){return ve}),i.d(e,"frameDebounce",function(){return ge}),i.d(e,"dom",function(){return f}),i.d(e,"easing",function(){return We}),i.d(e,"event",function(){return H}),i.d(e,"extend",function(){return M}),i.d(e,"filter",function(){return Ce}),i.d(e,"format",function(){return Tt}),i.d(e,"noop",function(){return vo}),i.d(e,"openURL",function(){return mo}),i.d(e,"scroll",function(){return G}),i.d(e,"throttle",function(){return Si}),i.d(e,"uid",function(){return ke});
  /*!
   * Quasar Framework v0.15.10
   * (c) 2016-present Razvan Stoenescu
   * Released under the MIT License.
   */
  var n="0.15.10";function r(t){if(t===window)return{top:0,left:0};var e=t.getBoundingClientRect();return{top:e.top,left:e.left}}function o(t,e){return window.getComputedStyle(t).getPropertyValue(e)}function s(t){return t===window?c().height:parseFloat(o(t,"height"))}function a(t){return t===window?c().width:parseFloat(o(t,"width"))}function l(t,e){var i=t.style;Object.keys(e).forEach(function(t){i[t]=e[t]})}function c(){var t=window,e="inner";return"innerWidth"in window||(e="client",t=document.documentElement||document.body),{width:t[e+"Width"],height:t[e+"Height"]}}function u(t){if("function"==typeof t)return"complete"===document.readyState?t():void document.addEventListener("DOMContentLoaded",t,!1)}var h=["-webkit-","-moz-","-ms-","-o-"];function d(t){var e={transform:t};return h.forEach(function(i){e[i+"transform"]=t}),e}var f=Object.freeze({offset:r,style:o,height:s,width:a,css:l,viewport:c,ready:u,cssTransform:d}),p="undefined"==typeof window;function m(){var t=(navigator.userAgent||navigator.vendor||window.opera).toLowerCase(),e=function(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]||""}}(t,function(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)||[]}(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,p||(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)),i}var v={__installed:!1,install:function(t){var e=t.$q;if(!this.__installed){if(this.__installed=!0,p)v.is={ssr:!0},v.has={touch:!1,webStorage:!1},v.within={iframe:!1};else{var i;try{window.localStorage&&(i=!0)}catch(t){i=!1}v.is=m(),v.has={touch:!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0,webStorage:i},v.within={iframe:window.self!==window.top}}e.platform=v}}},g={__history:[],add:function(){},remove:function(){},__installed:!1,install:function(){var t=this;this.__installed||!v.is.cordova||p||(this.__installed=!0,this.add=function(e){t.__history.push(e)},this.remove=function(e){var i=t.__history.indexOf(e);i>=0&&t.__history.splice(i,1)},document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){t.__history.length?t.__history.pop().handler():window.history.back()},!1)}))}};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,o,s=parseInt(e,10)||0;for(s>=0?r=s:(r=n+s)<0&&(r=0);r<n;){if(t===(o=i[r])||t!=t&&o!=o)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}),p||"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])}),p||"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}),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],o=0;o<n;o++)if(e=i[o],t.call(r,e,o,i))return e}});var _={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...",selectedRows:function(t){return 1===t?"1 selected row.":(0===t?"No":t)+" selected rows."},rowsPerPage:"Rows 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"}},b={__installed:!1,install:function(t){var e=this,i=t.$q,n=t.Vue,r=t.lang;this.__installed||(this.__installed=!0,this.set=function(t){void 0===t&&(t=_),t.set=e.set,t.getLocale=e.getLocale,t.rtl=t.rtl||!1,p||u(function(){var e=document.documentElement;e.setAttribute("dir",t.rtl?"rtl":"ltr"),e.setAttribute("lang",t.lang)}),i.i18n?i.i18n=t:n.util.defineReactive(i,"i18n",t),e.name=t.lang,e.lang=t},this.set(r))},getLocale:function(){var t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;if(t)return t.toLowerCase()}},y={name:"material",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"},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"}},w={__installed:!1,install:function(t){var e=this,i=t.$q,n=t.Vue,r=t.iconSet;this.__installed||(this.__installed=!0,this.set=function(t){void 0===t&&(t=y),t.set=e.set,i.icon?i.icon=t:n.util.defineReactive(i,"icon",t),e.name=t.name,e.def=t},this.set(r))}};function C(){var t=["mat",v.is.desktop?"desktop":"mobile",v.has.touch?"touch":"no-touch","platform-"+(v.is.ios?"ios":"mat")];v.within.iframe&&t.push("within-iframe"),v.is.cordova&&t.push("cordova"),v.is.electron&&t.push("electron"),v.is.ie&&11===v.is.versionNumber?t.forEach(function(t){return document.body.classList.add(t)}):document.body.classList.add.apply(document.body.classList,t),v.is.ios&&document.body.addEventListener("touchstart",function(){})}var x=[],k={__installed:!1,__install:function(){this.__installed=!0,window.addEventListener("keyup",function(t){0!==x.length&&(27!==t.which&&27!==t.keyCode||x[x.length-1]())})},register:function(t){v.is.desktop&&(this.__installed||this.__install(),x.push(t))},pop:function(){v.is.desktop&&x.pop()}},S=Object.prototype.toString,q=Object.prototype.hasOwnProperty,$={};function T(t){return null===t?String(t):$[S.call(t)]||"object"}function P(t){if(!t||"object"!==T(t))return!1;if(t.constructor&&!q.call(t,"constructor")&&!q.call(t.constructor.prototype,"isPrototypeOf"))return!1;var e;for(e in t);return void 0===e||q.call(t,e)}function M(){var t,e,i,n,r,o,s=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"!==T(a)&&(a={}),c===l&&(a=this,l--);l<c;l++)if(null!==(t=s[l]))for(e in t)i=a[e],a!==(n=t[e])&&(u&&n&&(P(n)||(r="array"===T(n)))?(r?(r=!1,o=i&&"array"===T(i)?i:[]):o=i&&P(i)?i:{},a[e]=M(u,o,n)):void 0!==n&&(a[e]=n));return a}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach(function(t){$["[object "+t+"]"]=t.toLowerCase()});var E={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"),i(t)},e.showPromiseReject=function(){e.showPromise=null,n(null)}}),this.__show(t),this.showPromise||Promise.resolve(t)):(this.$emit("show"),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.__historyEntry&&(g.remove(this.__historyEntry),this.__historyEntry=null),this.__hide?(this.hidePromise=new Promise(function(t,i){e.hidePromiseResolve=function(){e.hidePromise=null,e.$emit("hide"),t()},e.hidePromiseReject=function(){e.hidePromise=null,i(null)}}),this.__hide(t),this.hidePromise||Promise.resolve(t)):(this.$emit("hide"),Promise.resolve()))}},beforeDestroy:function(){this.showing&&(this.showPromise&&this.showPromiseReject(),this.hidePromise&&this.hidePromiseReject(),this.$emit("input",!1),this.__hide&&this.__hide())}},L={};function O(t){return void 0===t&&(t=window.event),0===t.button}function B(t){return void 0===t&&(t=window.event),t.which||t.keyCode}function A(t){var e,i;if(void 0===t&&(t=window.event),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=N(t).getBoundingClientRect();e=(n.right-n.left)/2+n.left,i=(n.bottom-n.top)/2+n.top}return{top:i,left:e}}function N(t){var e;return void 0===t&&(t=window.event),t.target?e=t.target:t.srcElement&&(e=t.srcElement),3===e.nodeType&&(e=e.parentNode),e}function I(t){if(void 0===t&&(t=window.event),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(L,"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 L.passive=t,t},set:function(t){Object.defineProperty(this,"passive",{value:t})}});var D=10,R=40,z=800;function F(t){void 0===t&&(t=window.event);var e=0,i=0,n=0,r=0;return"detail"in t&&(i=t.detail),"wheelDelta"in t&&(i=-t.wheelDelta/120),"wheelDeltaY"in t&&(i=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=i,i=0),n=e*D,r=i*D,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(n=t.deltaX),(n||r)&&t.deltaMode&&(1===t.deltaMode?(n*=R,r*=R):(n*=z,r*=z)),n&&!e&&(e=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:e,spinY:i,pixelX:n,pixelY:r}}function j(t){void 0===t&&(t=window.event),t&&(t.preventDefault(),t.stopPropagation())}var Q,H=Object.freeze({listenOpts:L,leftClick:O,middleClick:function(t){return void 0===t&&(t=window.event),1===t.button},rightClick:function(t){return void 0===t&&(t=window.event),2===t.button},getEventKey:B,position:A,targetElement:N,getEventPath:I,getMouseWheelDistance:F,stopAndPrevent:j});function V(t){return t.closest(".scroll")||window}function U(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}function W(t,e,i){if(!(i<=0)){var n=U(t);window.requestAnimationFrame(function(){K(t,n+(e-n)/i*16),t.scrollTop!==e&&W(t,e,i-16)})}}function K(t,e){if(t===window)return document.documentElement.scrollTop=e,void(document.body.scrollTop=e);t.scrollTop=e}function Y(t,e,i){i?W(t,e,i):K(t,e)}function J(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&((t.classList.contains("scroll")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"]))&&t.scrollHeight>t.clientHeight)}var G=Object.freeze({getScrollTarget:V,getScrollHeight:function(t){return(t===window?document.body:t).scrollHeight},getScrollPosition:U,animScrollTo:W,setScrollPosition:Y,getScrollbarWidth:function(){if(void 0!==Q)return Q;var t=document.createElement("p"),e=document.createElement("div");l(t,{width:"100%",height:"200px"}),l(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),document.body.removeChild(e),Q=i-n},hasScrollbar:J}),X=0;function Z(t){(function(t){if(t.target===document.body)return!0;for(var e=I(t),i=t.deltaY||-t.wheelDelta,n=0;n<e.length;n++){var r=e[n];if(J(r))return i<0&&0===r.scrollTop||i>0&&r.scrollTop+r.clientHeight===r.scrollHeight}return!0})(t)&&t.preventDefault()}var tt={methods:{__preventScroll:function(t){if(!((X+=t?1:-1)>1)){var e=t?"add":"remove";this.$q.platform.is.mobile?document.body.classList[e]("q-body-prevent-scroll"):this.$q.platform.is.desktop&&window[e+"EventListener"]("wheel",Z)}}}},et={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"},it={maxHeight:"80vh",height:"auto"};var nt={responsive:0,maximized:0},rt={name:"QModal",mixins:[E,tt],provide:function(){return{__qmodal:!0}},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,minimized:Boolean,maximized:Boolean},watch:{$route:function(){this.noRouteDismiss||this.hide()}},computed:{modalClasses:function(){var t=this.position?et[this.position]:this.positionClasses;return this.maximized?["maximized",t]:this.minimized?["minimized",t]:t},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(M({},it,function(t){var e={};return["left","right"].includes(t)&&(e.maxWidth="90vw"),e}(this.position))),t}return this.contentCss}},methods:{__dismiss:function(){var t=this;this.noBackdropDismiss||this.hide().then(function(){t.$emit("dismiss")})},__show:function(){var t=this;document.body.appendChild(this.$el),this.__register(!0),this.__preventScroll(!0),k.register(function(){t.noEscDismiss||t.hide().then(function(){t.$emit("escape-key")})});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})})},__hide:function(){k.pop(),this.__preventScroll(!1),this.__register(!1)},__stopPropagation:function(t){t.stopPropagation()},__register:function(t){var e=t?{action:"add",step:1}:{action:"remove",step:-1};if(this.maximized){if(nt.maximized+=e.step,!t&&nt.maximized>0)return;document.body.classList[e.action]("q-maximized-modal")}else if(!this.minimized){if(nt.responsive+=e.step,!t&&nt.responsive>0)return;document.body.classList[e.action]("q-responsive-modal")}}},mounted:function(){this.value&&this.show()},beforeDestroy:function(){this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},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()},afterLeave:function(){e.hidePromise&&e.hidePromiseResolve()},leaveCancelled:function(){e.hidePromise&&e.hidePromiseReject()}}},[t("div",{staticClass:"modal fullscreen row",class:this.modalClasses,on:{click:this.__dismiss},directives:[{name:"show",value:this.showing}]},[t("div",{ref:"content",staticClass:"modal-content scroll",style:this.modalCss,class:this.contentClasses,on:{click:this.__stopPropagation,touchstart:this.__stopPropagation}},[this.$slots.default])])])}},ot={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]},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 column absolute-full"},e)}},st={name:"QIcon",props:{name:String,mat:String,ios:String,color:String,size:String},computed:{icon:function(){return this.mat?this.mat:(this.ios,this.name)},classes:function(){var t,e=this.icon;return t=e?e.startsWith("fa-")?"fa "+e:/^fa[s|r|l|b]{0,1} /.test(e)?e:e.startsWith("bt-")?"bt "+e:e.startsWith("ion-")||e.startsWith("icon-")?""+e:e.startsWith("mdi-")?"mdi "+e:"material-icons":"",this.color?t+" text-"+this.color:t},content:function(){return this.classes.startsWith("material-icons")?this.icon.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])}};function at(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}var lt={props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,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],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}}}},ct=null;if(!p)try{ct=new Event("qrouterlinkclick")}catch(t){(ct=document.createEvent("Event")).initEvent("qrouterlinkclick",!0,!1)}var ut={props:{to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String},data:function(){return{routerLinkEventName:"qrouterlinkclick"}}},ht={name:"QItem",mixins:[lt,{props:ut.props}],props:{active:Boolean,link:Boolean},computed:{classes:function(){var t=this.itemClasses;return void 0!==this.to?t:[{active:this.active},t]}},render:function(t){return void 0!==this.to?t("router-link",{props:this.$props,class:this.classes},[this.$slots.default]):t(this.tag,{class:this.classes},[this.$slots.default])}},dt={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])}};function ft(t,e,i,n){return t("div",{staticClass:"q-item-"+e+(1===(n=parseInt(n,10))?" ellipsis":""),style:at(n)},[i])}var pt={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("div",{staticClass:"q-item-main q-item-section",class:{"q-item-main-inset":this.inset}},[this.label?ft(t,"label",this.label,this.labelLines):null,this.sublabel?ft(t,"sublabel",this.sublabel,this.sublabelLines):null,this.$slots.default])}},mt={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])}},vt={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 at(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])}};function gt(t,e,i,n,r,o){var s={props:{right:o.right}};if(n&&r)t.push(e(i,s,n));else{var a=!1;for(var l in o)if(o.hasOwnProperty(l)&&void 0!==(a=o[l])&&!0!==a){t.push(e(i,{props:o}));break}n&&t.push(e(i,s,n))}}var _t={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(t){var e=this.cfg,i=this.slotReplace,n=[];return gt(n,t,mt,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}),gt(n,t,pt,this.$slots.main,i,{label:e.label,sublabel:e.sublabel,labelLines:e.labelLines,sublabelLines:e.sublabelLines,inset:e.inset}),gt(n,t,mt,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(ht,{attrs:this.$attrs,on:this.$listeners,props:e},n)}},bt={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])}},yt={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])}},wt={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(bt,{staticClass:"no-border",props:{link:!0}},this.__getActions(t))]:[this.$slots.default])),t(rt,{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.__onCancel()},"escape-key":function(){e.hide().then(function(){e.$emit("escape-key"),e.__onCancel()})}}},i)},methods:{show:function(){return this.$refs.modal.show()},hide:function(){return this.$refs.modal.hide()},__getActions:function(t){var e=this;return this.actions.map(function(i){var n;return i.label?t(e.grid?"div":ht,((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)},keydown:function(){return 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(mt,{props:{icon:i.icon,color:i.color,avatar:i.avatar}}),t(pt,{props:{inset:!0,label:i.label}})]):t(dt,{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")})}}},Ct=["B","kB","MB","GB","TB","PB"];function xt(t){for(var e=0;parseInt(t,10)>=1024&&e<Ct.length-1;)t/=1024,++e;return t.toFixed(1)+" "+Ct[e]}function kt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function St(t,e,i){return i<=e?e:Math.min(i,Math.max(e,t))}function qt(t,e,i){if(i<=e)return e;var n=i-e+1,r=t%n;return r<e&&(r=n+r),r}function $t(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 Tt=Object.freeze({humanStorageSize:xt,capitalize:kt,between:St,normalizeToInterval:qt,pad:$t}),Pt=p?null:XMLHttpRequest,Mt=p?null:Pt.prototype.send,Et=0;var Lt={name:"QAjaxBar",props:{position:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},size:{type:String,default:"4px"},color:{type:String,default:"red"},speed:{type:Number,default:250},delay:{type:Number,default:1e3},reverse:Boolean},data:function(){return{animate:!1,active:!1,progress:0,calls:0}},computed:{classes:function(){return[this.position,this.animate?"":"no-transition"]},innerClasses:function(){return"bg-"+this.color},style:function(){var t=this.$q.i18n.rtl&&["top","bottom"].includes(this.position)?!this.reverse:this.reverse,e=function(t){var e=t.p,i=t.pos,n=t.active,r=t.horiz,o=t.reverse,s=t.dir,a=1,l=1;return r?(o&&(a=-1),"bottom"===i&&(l=-1),d("translate3d("+a*(e-100)+"%, "+(n?0:-200*l)+"%, 0)")):(o&&(l=-1),"right"===i&&(a=-1),d("translate3d("+(n?0:s*a*-200)+"%, "+l*(e-100)+"%, 0)"))}({p:this.progress,pos:this.position,active:this.active,horiz:this.horizontal,reverse:t,dir:this.$q.i18n.rtl?-1:1});return e[this.sizeProp]=this.size,e},horizontal:function(){return"top"===this.position||"bottom"===this.position},sizeProp:function(){return this.horizontal?"height":"width"}},methods:{start:function(){var t=this;this.calls++,this.active?this.closing&&(this.closing=!1,clearTimeout(this.timer),this.progress=0,this.move()):(this.progress=0,this.active=!0,this.animate=!1,this.$emit("start"),this.timer=setTimeout(function(){t.animate=!0,t.move()},this.delay))},increment:function(t){this.active&&(this.progress=function(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?.5:0),St(t+e,0,100)}(this.progress,t))},stop:function(){var t=this;this.calls=Math.max(0,this.calls-1),this.calls>0||(clearTimeout(this.timer),this.animate?(this.closing=!0,this.progress=100,this.$emit("stop"),this.timer=setTimeout(function(){t.closing=!1,t.active=!1},1050)):this.active=!1)},move:function(){var t=this;this.timer=setTimeout(function(){t.increment(),t.move()},this.speed)}},mounted:function(){var t,e;t=this.start,e=this.stop,Pt.prototype.send=function(){for(var i=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];t(),this.addEventListener("abort",e,!1),this.addEventListener("readystatechange",function(){4===i.readyState&&e()},!1),Mt.apply(this,n)},Et+=1},beforeDestroy:function(){p||(clearTimeout(this.timer),(Et=Math.max(0,Et-1))||(Pt.prototype.send=Mt))},render:function(t){if(!p)return t("div",{staticClass:"q-loading-bar shadow-4",class:this.classes,style:this.style},[t("div",{staticClass:"q-loading-bar-inner",class:this.innerClasses})])}};function Ot(t){t.mat;return t.ios&&!0}var Bt={name:"ripple",inserted:function(t,e){var i=e.value,n=e.modifiers;if(!Ot(n)){var r={enabled:!1!==i,click:function(e){r.enabled&&function(t,e,i){i&&t.stopPropagation();var n=document.createElement("span"),r=document.createElement("span");n.appendChild(r),n.className="q-ripple-container";var o=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight;o=2*o+"px",r.className="q-ripple-animation",l(r,{width:o,height:o}),e.appendChild(n);var s=e.getBoundingClientRect(),a=A(t),c=a.left-s.left,u=a.top-s.top;r.classList.add("q-ripple-animation-enter","q-ripple-animation-visible"),l(r,d("translate(-50%, -50%) translate("+c+"px, "+u+"px) scale(.001)")),setTimeout(function(){r.classList.remove("q-ripple-animation-enter"),l(r,d("translate(-50%, -50%) translate("+c+"px, "+u+"px)")),setTimeout(function(){r.classList.remove("q-ripple-animation-visible"),setTimeout(function(){r.parentNode.remove()},300)},400)},25)}(e,t,n.stop)}};t.__qripple=r,t.addEventListener("click",r.click,!1)}},update:function(t,e){var i=e.value,n=e.oldValue;t.__qripple&&i!==n&&(t.__qripple.enabled=!1!==i)},unbind:function(t,e){var i=e.modifiers,n=t.__qripple;n&&!Ot(i)&&(t.removeEventListener("click",n.click,!1),delete t.__qripple)}},At={left:"start",center:"center",right:"end",between:"between",around:"around"},Nt={props:{align:{type:String,default:"center",validator:function(t){return["left","right","center","between","around"].includes(t)}}},computed:{alignClass:function(){return"justify-"+At[this.align]}}},It={xs:8,sm:10,md:14,lg:20,xl:24,form:12.446,"form-label":17.11,"form-hide-underline":9.335,"form-label-hide-underline":14,"form-inverted":15.555,"form-label-inverted":20.22},Dt={mixins:[Nt],components:{QIcon:st},directives:{Ripple:Bt},props:{loading:Boolean,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},computed:{style:function(){if(this.size&&!this.fab&&!this.fabMini)return{fontSize:this.size in It?It[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},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.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 this.noWrap&&t.push("no-wrap","text-no-wrap"),this.repeating&&t.push("non-selectable"),t}}},Rt={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-"+this.color}}},zt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[e("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])},staticRenderFns:[],name:"QSpinnerMat",mixins:[Rt]},Ft={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"matrix(1 0 0 -1 0 80)"}},[e("rect",{attrs:{width:"10",height:"20",rx:"3"}},[e("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"}})]),e("rect",{attrs:{x:"15",width:"10",height:"80",rx:"3"}},[e("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"}})]),e("rect",{attrs:{x:"30",width:"10",height:"50",rx:"3"}},[e("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"}})]),e("rect",{attrs:{x:"45",width:"10",height:"30",rx:"3"}},[e("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"}})])])])},staticRenderFns:[],name:"QSpinnerAudio",mixins:[Rt]},jt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[e("circle",{attrs:{cx:"5",cy:"50",r:"5"}},[e("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"27",cy:"5",r:"5"}},[e("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"49",cy:"50",r:"5"}},[e("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}})])])])},staticRenderFns:[],name:"QSpinnerBall",mixins:[Rt]},Qt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("rect",{attrs:{y:"10",width:"15",height:"120",rx:"6"}},[e("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"}}),e("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"}})]),e("rect",{attrs:{x:"30",y:"10",width:"15",height:"120",rx:"6"}},[e("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"}}),e("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"}})]),e("rect",{attrs:{x:"60",width:"15",height:"140",rx:"6"}},[e("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"90",y:"10",width:"15",height:"120",rx:"6"}},[e("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"}}),e("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"}})]),e("rect",{attrs:{x:"120",y:"10",width:"15",height:"120",rx:"6"}},[e("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"}}),e("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"}})])])},staticRenderFns:[],name:"QSpinnerBars",mixins:[Rt]},Ht={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("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"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"2.5s",repeatCount:"indefinite"}})],1),e("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"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"8s",repeatCount:"indefinite"}})],1)])},staticRenderFns:[],name:"QSpinnerCircles",mixins:[Rt]},Vt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),e("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"}}),e("circle",{attrs:{cx:"30",cy:"47",r:"5",fill:"#fff"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"50",cy:"47",r:"5",fill:"#fff"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"70",cy:"47",r:"5",fill:"#fff"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"}})])])},staticRenderFns:[],name:"QSpinnerComment",mixins:[Rt]},Ut={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),e("g",{attrs:{transform:"translate(25 25)"}},[e("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.9"}},[e("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"}})],1)]),e("g",{attrs:{transform:"translate(75 25)"}},[e("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.8"}},[e("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"}})],1)]),e("g",{attrs:{transform:"translate(25 75)"}},[e("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.7"}},[e("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"}})],1)]),e("g",{attrs:{transform:"translate(75 75)"}},[e("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.6"}},[e("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"}})],1)])])},staticRenderFns:[],name:"QSpinnerCube",mixins:[Rt]},Wt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":".3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])},staticRenderFns:[],name:"QSpinnerDots",mixins:[Rt]},Kt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"translate(20 50)"}},[e("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.6"}},[e("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"}})],1)]),e("g",{attrs:{transform:"translate(50 50)"}},[e("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.8"}},[e("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"}})],1)]),e("g",{attrs:{transform:"translate(80 50)"}},[e("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.9"}},[e("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"}})],1)])])},staticRenderFns:[],name:"QSpinnerFacebook",mixins:[Rt]},Yt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"translate(-20,-20)"}},[e("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"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})],1)]),e("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[e("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"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})],1)])])},staticRenderFns:[],name:"QSpinnerGears",mixins:[Rt]},Jt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("circle",{attrs:{cx:"12.5",cy:"12.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"52.5",cy:"12.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"52.5",cy:"52.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"92.5",cy:"12.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"92.5",cy:"52.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"12.5",cy:"92.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"52.5",cy:"92.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"92.5",cy:"92.5",r:"12.5"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})])])},staticRenderFns:[],name:"QSpinnerGrid",mixins:[Rt]},Gt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("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"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("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"}},[e("animate",{attrs:{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("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"}})])},staticRenderFns:[],name:"QSpinnerHearts",mixins:[Rt]},Xt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",[e("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"}}),e("clipPath",{attrs:{id:"uil-hourglass-clip1"}},[e("rect",{staticClass:"clip",attrs:{x:"15",y:"20",width:"70",height:"25"}},[e("animate",{attrs:{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",vlaues:"25;0;0",keyTimes:"0;0.5;1"}}),e("animate",{attrs:{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",vlaues:"20;45;45",keyTimes:"0;0.5;1"}})])]),e("clipPath",{attrs:{id:"uil-hourglass-clip2"}},[e("rect",{staticClass:"clip",attrs:{x:"15",y:"55",width:"70",height:"25"}},[e("animate",{attrs:{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",vlaues:"0;25;25",keyTimes:"0;0.5;1"}}),e("animate",{attrs:{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",vlaues:"80;55;55",keyTimes:"0;0.5;1"}})])]),e("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"}}),e("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"}}),e("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"}})],1)])},staticRenderFns:[],name:"QSpinnerHourglass",mixins:[Rt]},Zt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[e("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"}},[e("animate",{attrs:{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"}})])])},staticRenderFns:[],name:"QSpinnerInfinity",mixins:[Rt]},te={render:function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"}},[e("g",{attrs:{"stroke-width":"4","stroke-linecap":"round"}},[e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"}})]),e("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"}},[e("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})])])])},staticRenderFns:[],name:"QSpinnerIos",mixins:[Rt]},ee={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[e("circle",{attrs:{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}})],1)])])},staticRenderFns:[],name:"QSpinnerOval",mixins:[Rt]},ie={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("path",{attrs:{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"}})],1),e("path",{attrs:{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"}})],1),e("path",{attrs:{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"}})],1),e("path",{attrs:{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"}})],1)])},staticRenderFns:[],name:"QSpinnerPie",mixins:[Rt]},ne={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd","stroke-width":"2"}},[e("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[e("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"}}),e("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"}})]),e("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[e("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"}}),e("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"}})])])])},staticRenderFns:[],name:"QSpinnerPuff",mixins:[Rt]},re={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{transform:"scale(0.55)"}},[e("circle",{attrs:{cx:"30",cy:"150",r:"30",fill:"currentColor"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),e("path",{attrs:{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),e("path",{attrs:{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"}},[e("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})])])])},staticRenderFns:[],name:"QSpinnerRadio",mixins:[Rt]},oe={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[e("animate",{attrs:{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[e("animate",{attrs:{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"22",cy:"22",r:"8"}},[e("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}})])])])},staticRenderFns:[],name:"QSpinnerRings",mixins:[Rt]},se={render:function(){var t=this.$createElement,e=this._self._c||t;return e("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"}},[e("defs",[e("linearGradient",{attrs:{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"}},[e("stop",{attrs:{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}}),e("stop",{attrs:{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}}),e("stop",{attrs:{"stop-color":"currentColor",offset:"100%"}})],1)],1),e("g",{attrs:{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})],1),e("circle",{attrs:{fill:"currentColor",cx:"36",cy:"18",r:"1"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})],1)])])},staticRenderFns:[],name:"QSpinnerTail",mixins:[Rt]},ae={mixins:[zt],name:"QSpinner"},le={name:"QBtn",mixins:[Dt],props:{percentage:Number,darkPercentage:Boolean,waitForRipple:Boolean,repeatTimeout:[Number,Function]},computed:{hasPercentage:function(){return void 0!==this.percentage},width:function(){return St(this.percentage,0,100)+"%"},events:function(){return this.isDisabled||!this.repeatTimeout?{click:this.click}:{mousedown:this.__startRepeat,touchstart:this.__startRepeat,mouseup:this.__endRepeat,touchend:this.__endRepeat,mouseleave:this.__abortRepeat,touchmove:this.__abortRepeat}}},data:function(){return{repeating:!1}},methods:{click:function(t){var e=this;this.__cleanup();var i=function(){e.isDisabled||e.$emit("click",t)};this.waitForRipple&&this.hasRipple?this.timer=setTimeout(i,300):i()},__cleanup:function(){clearTimeout(this.timer)},__startRepeat:function(t){var e=this,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.repeatCount?this.repeatCount=0:t.detail&&(this.repeating=!1,t.repeatCount=0,this.$emit("click",t)),this.__cleanup())}},beforeDestroy:function(){this.__cleanup()},render:function(t){return t("button",{staticClass:"q-btn inline relative-position q-btn-item non-selectable",class:this.classes,style:this.style,attrs:{tabindex:this.computedTabIndex},on:this.events,directives:this.hasRipple?[{name:"ripple",value:!0}]: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",class:this.innerClasses},this.loading?[this.$slots.loading||t(ae)]:[this.icon?t("QIcon",{class:{"on-left":this.label&&this.isRectangle},props:{name:this.icon}}):null,this.label&&this.isRectangle?t("div",[this.label]):null,this.$slots.default,this.iconRight&&this.isRectangle?t("QIcon",{staticClass:"on-right",props:{name:this.iconRight}}):null])])}},ce={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])}};function ue(t,e,i){return[t,e].indexOf(i)>=0?"auto":t===e?"inclusive":"exclusive"}function he(t,e,i,n,r){var o=function(t,e){var i=M({},t),n=M({},e),r={x:["left","right"].filter(function(t){return t!==n.horizontal}),y:["top","bottom"].filter(function(t){return t!==n.vertical})},o=ue(i.horizontal,n.horizontal,"middle"),s=ue(i.vertical,n.vertical,"center");return r.x.splice("auto"===o?0:1,0,"middle"),r.y.splice("auto"===s?0:1,0,"center"),"auto"!==s&&(i.vertical="top"===i.vertical?"bottom":"top","inclusive"===s&&(n.vertical=n.vertical)),"auto"!==o&&(i.horizontal="left"===i.horizontal?"right":"left","inclusive"===s&&(n.horizontal=n.horizontal)),{positions:r,anchorPos:i}}(n,i),s=o.positions,a=o.anchorPos;if(r.top<0||r.top+e.bottom>window.innerHeight){var l=t[a.vertical]-e[s.y[0]];l+e.bottom<=window.innerHeight?r.top=l:(l=t[a.vertical]-e[s.y[1]])+e.bottom<=window.innerHeight&&(r.top=l)}if(r.left<0||r.left+e.right>window.innerWidth){var c=t[a.horizontal]-e[s.x[0]];c+e.right<=window.innerWidth?r.left=c:(c=t[a.horizontal]-e[s.x[1]])+e.right<=window.innerWidth&&(r.left=c)}return r}function de(t){var e,i=t.el,n=t.animate,r=t.anchorEl,o=t.anchorOrigin,s=t.selfOrigin,a=t.maxHeight,l=t.event,c=t.anchorClick,u=t.touchPosition,h=t.offset;if(i.style.maxHeight=a||"65vh",!l||c&&!u)e=function(t,e){var i=t.getBoundingClientRect(),n=i.top,r=i.left,o=i.right,s=i.bottom,a={top:n,left:r,width:t.offsetWidth,height:t.offsetHeight};return e&&(a.top-=e[1],a.left-=e[0],s&&(s+=e[1]),o&&(o+=e[0]),a.width+=e[0],a.height+=e[1]),a.right=o||a.left+a.width,a.bottom=s||a.top+a.height,a.middle=a.left+(a.right-a.left)/2,a.center=a.top+(a.bottom-a.top)/2,a}(r,h);else{var d=A(l),f=d.top,p=d.left;e={top:f,left:p,width:1,height:1,right:p+1,center:f,middle:p,bottom:f+1}}var m=function(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}(i),v={top:e[o.vertical]-m[s.vertical],left:e[o.horizontal]-m[s.horizontal]};if(v=he(e,m,s,o,v),i.style.top=Math.max(0,v.top)+"px",i.style.left=Math.max(0,v.left)+"px",n){var g=v.top<e.top?["up","down"]:["down","up"];i.classList.add("animate-popup-"+g[0]),i.classList.remove("animate-popup-"+g[1])}}function fe(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 pe(t){return!t||2===t.length&&("number"==typeof t[0]&&"number"==typeof t[1])}function me(t){var e=t.split(" ");return{vertical:e[0],horizontal:e[1]}}function ve(t,e,i){var n;function r(){for(var r=this,o=[],s=arguments.length;s--;)o[s]=arguments[s];clearTimeout(n),i&&!n&&t.apply(this,o),n=setTimeout(function(){n=null,i||t.apply(r,o)},e)}return void 0===e&&(e=250),r.cancel=function(){clearTimeout(n)},r}function ge(t){var e=!1;return function(){for(var i=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e||(e=!0,window.requestAnimationFrame(function(){t.apply(i,n),e=!1}))}}var _e={name:"QPopover",mixins:[E],props:{anchor:{type:String,validator:fe},self:{type:String,validator:fe},fit:Boolean,maxHeight:String,touchPosition:Boolean,anchorClick:{type:Boolean,default:!0},offset:{type:Array,validator:pe},disable:Boolean},watch:{$route:function(){this.hide()}},computed:{anchorOrigin:function(){return me(this.anchor||"bottom "+(this.$q.i18n.rtl?"right":"left"))},selfOrigin:function(){return me(this.self||"top "+(this.$q.i18n.rtl?"right":"left"))}},render:function(t){return t("div",{staticClass:"q-popover scroll",on:{click:function(t){t.stopPropagation()}}},[this.$slots.default])},created:function(){var t=this;this.__updatePosition=ge(function(e,i,n){return t.reposition(i,n)})},mounted:function(){var t=this;this.$nextTick(function(){t.anchorEl=t.$el.parentNode,t.anchorEl.removeChild(t.$el),(t.anchorEl.classList.contains("q-btn-inner")||t.anchorEl.classList.contains("q-if-inner"))&&(t.anchorEl=t.anchorEl.parentNode),t.anchorClick&&(t.anchorEl.classList.add("cursor-pointer"),t.anchorEl.addEventListener("click",t.toggle))}),this.value&&this.show()},beforeDestroy:function(){this.anchorClick&&this.anchorEl&&this.anchorEl.removeEventListener("click",this.toggle)},methods:{__show:function(t){var e=this;document.body.appendChild(this.$el),k.register(function(){e.hide()}),this.scrollTarget=V(this.anchorEl),this.scrollTarget.addEventListener("scroll",this.__updatePosition,L.passive),window.addEventListener("resize",this.__updatePosition,L.passive),this.__updatePosition(0,t,!0),clearTimeout(this.timer),this.timer=setTimeout(function(){document.body.addEventListener("click",e.__bodyHide,!0),document.body.addEventListener("touchstart",e.__bodyHide,!0),e.showPromise&&e.showPromiseResolve()},0)},__bodyHide:function(t){t&&t.target&&(this.$el.contains(t.target)||this.anchorEl.contains(t.target))||this.hide(t)},__hide:function(){clearTimeout(this.timer),document.body.removeEventListener("click",this.__bodyHide,!0),document.body.removeEventListener("touchstart",this.__bodyHide,!0),this.scrollTarget.removeEventListener("scroll",this.__updatePosition,L.passive),window.removeEventListener("resize",this.__updatePosition,L.passive),k.pop(),document.body.removeChild(this.$el),this.hidePromise&&this.hidePromiseResolve()},reposition:function(t,e){this.fit&&(this.$el.style.minWidth=a(this.anchorEl)+"px");var i=this.anchorEl.getBoundingClientRect().top,n=c().height;if(i<0||i>n)return this.hide();de({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})}}},be={name:"QBtnDropdown",mixins:[Dt],props:{value:Boolean,split:Boolean,contentClass:[Array,String,Object],contentStyle:[Array,String,Object]},data:function(){return{showing:this.value}},watch:{value:function(t){this.$refs.popover[t?"show":"hide"]()}},render:function(t){var e=this,i=t(_e,{ref:"popover",props:{disable:this.disable,fit:!0,anchorClick:!this.split,anchor:"bottom right",self:"top right"},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("QIcon",{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(le,{props:{loading:this.loading,disable:this.disable,noCaps:this.noCaps,noWrap:this.noWrap,icon:this.icon,label:this.label,iconRight:this.split?this.iconRight:null,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,glossy:this.glossy,dense:this.dense,noRipple:this.noRipple,waitForRipple:this.waitForRipple},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(ce,{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(le,{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.toggle()},show:function(){return this.$refs.popover.show()},hide:function(){return this.$refs.popover.hide()}},mounted:function(){var t=this;this.$nextTick(function(){t.value&&t.$refs.popover.show()})}},ye={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(ce,{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(le,{key:""+i.label+i.icon+i.iconRight,on:{click:function(){return e.set(i.value,i)}},props:{disable:e.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}})}))}},we={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=[];return this.avatar?i.push(t("img",{staticClass:"avatar",domProps:{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),this.detail?t("div",{staticClass:"q-alert-detail"},[this.detail]):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(le,{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 Ce(t,e){var i=e.field,n=e.list,r=t.toLowerCase();return n.filter(function(t){return(""+t[i]).toLowerCase().startsWith(r)})}function xe(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function ke(){return xe()+xe()+"-"+xe()+"-"+xe()+"-"+xe()+"-"+xe()+xe()+xe()}var Se={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},methods:{__keyboardShow:function(t){void 0===t&&(t=0),this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex)},__keyboardHandleKey:function(t){var e=B(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 j(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide()}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var i=this;if(j(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var n=this.keyboardIndex,r=this.__keyboardIsSelectableIndex||function(){return!0};do{n=qt(n+t,0,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()}}},qe={name:"QAutocomplete",mixins:[Se],props:{minCharacters:{type:Number,default:1},maxResults:{type:Number,default:6},debounce:{type:Number,default:500},filter:{type:Function,default:Ce},staticData:Object,separator:Boolean},inject:{__input:{default:function(){console.error("QAutocomplete needs to be child of QInput 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):[]},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(){var t=this;if(this.__input.hasFocus()&&this.isWorking()){var e=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),i=ke();if(this.searchId=i,e.length<this.minCharacters)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=a(this.inputEl)+"px",this.staticData){this.searchId="",this.results=this.filter(e,this.staticData);var n=this.$refs.popover;this.results.length?(this.__keyboardShow(-1),n.showing?n.reposition():n.show()):n.hide()}else this.__input.loading=!0,this.$emit("search",e,function(e){if(t.isWorking()&&t.searchId===i){if(t.__clearSearch(),Array.isArray(e)&&e.length>0)return t.results=e,t.__keyboardShow(-1),void t.$refs.popover.show();t.hide()}})}},hide:function(){return this.results=[],this.isWorking()?this.$refs.popover.hide():Promise.resolve()},blurHide:function(){var t=this;this.__clearSearch(),setTimeout(function(){return t.hide()},300)},__clearSearch:function(){clearTimeout(this.timer),this.__input.loading=!1,this.searchId=""},__keyboardCustomKeyHandle:function(t){27===t&&this.__clearSearch()},__keyboardShowTrigger:function(){this.trigger()},__keyboardIsSelectableIndex:function(t){return t>-1&&t<this.computedResults.length&&!this.computedResults[t].disable},setValue:function(t){var e=this.staticData?t[this.staticData.field]:t.value,i=this.__inputDebounce?"Debounce":"";this.inputEl&&this.__input&&!this.__input.hasFocus()&&this.inputEl.focus(),this.enterKey=this.__input&&e!==this.__input.val,this["__input"+i].set(e),this.$emit("selected",t),this.__clearSearch(),this.hide()},__keyboardSetSelection:function(t){this.setValue(this.results[t])},__delayTrigger:function(){this.__clearSearch(),this.__input.hasFocus()&&(this.staticData?this.trigger():this.timer=setTimeout(this.trigger,this.debounce))}},mounted:function(){var t=this;this.__input.register(),this.__inputDebounce&&this.__inputDebounce.setChildDebounce(!0),this.$nextTick(function(){t.inputEl=t.__input.getEl(),t.inputEl.addEventListener("keydown",t.__keyboardHandleKey),t.inputEl.addEventListener("blur",t.blurHide)})},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.hide())},render:function(t){var e=this,i=this.__input.isDark();return t(_e,{ref:"popover",class:i?"bg-dark":null,props:{fit:!0,anchorClick:!1},on:{show:function(){return e.$emit("show")},hide:function(){return e.$emit("hide")}}},[t(bt,{props:{dark:i,noBorder:!0,separator:this.separator},style:this.computedWidth},this.computedResults.map(function(i,n){return t(_t,{key:i.id||JSON.stringify(i),class:{active: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)}}})}))])}},$e={name:"QBreadcrumbs",mixins:[Nt],props:{color:{type:String,default:"faded"},activeColor:{type:String,default:"primary"},separator:{type:String,default:"/"},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},o="text-"+this.color,s="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?s:o,u?"text-weight-bold":"q-breadcrumbs-last"]},[c])),u&&i.push(t("div",{staticClass:"q-breadcrumbs-separator",class:o},[r()]))}else i.push(c)}return t("div",{staticClass:"q-breadcrumbs flex gutter-xs items-center overflow-hidden",class:this.classes},i)}}},Te={name:"QBreadcrumbsEl",mixins:[{props:ut.props}],props:{label:String,icon:String,color:String},computed:{link:function(){return void 0!==this.to}},render:function(t){return t(this.link?"router-link":"span",{staticClass:"q-breadcrumbs-el flex inline items-center relative-position",props:this.link?this.$props:null},this.label||this.icon?[this.icon?t(st,{staticClass:"q-breacrumbs-el-icon q-mr-sm",props:{name:this.icon}}):null,this.label]:[this.$slots.default])}},Pe={name:"QCard",props:{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}];return this.color?(t.push("bg-"+this.color),t.push("q-card-dark"),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])}},Me={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])])}},Ee={name:"QCardMain",render:function(t){return t("div",{staticClass:"q-card-main q-card-container"},[this.$slots.default])}},Le={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])}},Oe={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])}},Be={name:"QCardSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-card-separator",class:{inset:this.inset}},[this.$slots.default])}};function Ae(t,e,i){var n=A(t),r=n.left-e.event.x,o=n.top-e.event.y,s=Math.abs(r),a=Math.abs(o);return{evt:t,position:n,direction:e.direction.horizontal&&!e.direction.vertical?r<0?"left":"right":!e.direction.horizontal&&e.direction.vertical?o<0?"up":"down":s>=a?r<0?"left":"right":o<0?"up":"down",isFirst:e.event.isFirst,isFinal:Boolean(i),duration:(new Date).getTime()-e.event.time,distance:{x:s,y:a},delta:{x:n.left-e.event.lastX,y:n.top-e.event.lastY}}}var Ne={name:"touch-pan",bind:function(t,e){var i=!e.modifiers.noMouse,n=e.modifiers.stop,r=e.modifiers.prevent,o=r||e.modifiers.mightPrevent?null:L.passive,s={handler:e.value,direction:function(t){if(!t.horizontal&&!t.vertical)return{horizontal:!0,vertical:!0};var e={};return["horizontal","vertical"].forEach(function(i){t[i]&&(e[i]=!0)}),e}(e.modifiers),mouseStart:function(t){O(t)&&(document.addEventListener("mousemove",s.move,o),document.addEventListener("mouseup",s.mouseEnd,o),s.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",s.move,o),document.removeEventListener("mouseup",s.mouseEnd,o),s.end(t)},start:function(t){var e=A(t);s.event={x:e.left,y:e.top,time:(new Date).getTime(),detected:s.direction.horizontal&&s.direction.vertical,abort:!1,isFirst:!0,lastX:e.left,lastY:e.top},s.event.detected&&(n&&t.stopPropagation(),r&&t.preventDefault())},move:function(t){if(!s.event.abort)if(s.event.detected){n&&t.stopPropagation(),r&&t.preventDefault();var e=Ae(t,s,!1);(function(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)})(s,e)&&(s.handler(e),s.event.lastX=e.position.left,s.event.lastY=e.position.top,s.event.isFirst=!1)}else{var i=A(t),o=Math.abs(i.left-s.event.x),a=Math.abs(i.top-s.event.y);o!==a&&(s.event.detected=!0,s.event.abort=s.direction.vertical?o>a:o<a,s.move(t))}},end:function(t){s.event.abort||!s.event.detected||s.event.isFirst||(n&&t.stopPropagation(),r&&t.preventDefault(),s.handler(Ae(t,s,!0)))}};t.__qtouchpan=s,t.classList.add("q-touch"),i&&t.addEventListener("mousedown",s.mouseStart,o),t.addEventListener("touchstart",s.start,o),t.addEventListener("touchmove",s.move,o),t.addEventListener("touchend",s.end,o)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchpan.handler=e.value)},unbind:function(t,e){var i=t.__qtouchpan;if(i){var n=e.modifiers.prevent?null:L.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.__qtouchpan}}};function Ie(t){return"[object Date]"===Object.prototype.toString.call(t)}function De(t){return"number"==typeof t&&isFinite(t)}var Re=function(t){return t},ze=function(t){return t<.5?2*t*t:(4-2*t)*t-1},Fe=function(t){return Math.pow(t,3)},je=function(t){return 1+Math.pow(t-1,3)},Qe=function(t){return t<.4031?12*Math.pow(t,4):1/1290*(11*Math.sqrt(-4e4*t*t+8e4*t-23359)-129)},He=je,Ve=Fe,Ue=ze,We=Object.freeze({linear:Re,easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:ze,easeInCubic:Fe,easeOutCubic:je,easeInOutCubic:function(t){return t<.5?4*Math.pow(t,3):1+(t-1)*Math.pow(2*t-2,2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return 1-Math.pow(t-1,4)},easeInOutQuart:function(t){return t<.5?8*Math.pow(t,4):1-8*Math.pow(t-1,4)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return 1+Math.pow(t-1,5)},easeInOutQuint:function(t){return t<.5?16*Math.pow(t,5):1+16*Math.pow(t-1,5)},easeInCirc:function(t){return-1*Math.sqrt(1-Math.pow(t,2))+1},easeOutCirc:function(t){return Math.sqrt(-1*(t-2)*t)},easeInOutCirc:function(t){return t<.5?.5*(1-Math.sqrt(1-4*t*t)):.5*(1+Math.sqrt(8*t-3-4*t*t))},overshoot:function(t){return-1*Math.pow(Math.E,-6.3*t)*Math.cos(5*t)+1},standard:Qe,decelerate:He,accelerate:Ve,sharp:Ue}),Ke={};function Ye(t){var e=t.name,i=t.duration;void 0===i&&(i=300);var n=t.to,r=t.from,o=t.apply,s=t.done,a=t.cancel,l=t.easing,c=e,u=performance.now();c?Je(c):c=ke();var h=l||Re,d=function(){var t=(performance.now()-u)/i;t>1&&(t=1);var e=r+(n-r)*h(t);if(o(e,t),1===t)return delete Ke[c],void(s&&s(e));f.last={pos:e,progress:t},f.timer=window.requestAnimationFrame(d)},f=Ke[c]={cancel:a,timer:window.requestAnimationFrame(d)};return c}function Je(t){if(t){var e=Ke[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete Ke[t])}}var Ge=Object.freeze({start:Ye,stop:Je}),Xe={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()}},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)}},created:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}},Ze={name:"QCarousel",mixins:[Xe],directives:{TouchPan:Ne},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},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!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 d("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}}},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,o="",s=i.slide;i.__cleanup();var a=function(){i.$emit("input",i.slide),i.$emit("slide",i.slide,o),i.$emit("slide-direction",o),i.__planAutoPlay(),n()};if(i.slidesNumber<2?(i.slide=0,i.positionSlide=0,r=0):(i.hasOwnProperty("initialPosition")||(i.position=100*-i.slide),o=t>i.slide?"next":"previous",i.infinite?(i.slide=qt(t,0,i.slidesNumber-1),r=qt(t,-1,i.slidesNumber),e||(i.positionSlide=r)):(i.slide=St(t,0,i.slidesNumber-1),i.positionSlide=i.slide,r=i.slide)),i.$emit("slide-trigger",s,i.slide,o),r*=-100,!i.animation)return i.position=r,void a();i.animationInProgress=!0,i.animUid=Ye({from:i.position,to:r,duration:De(i.animation)?i.animation:300,easing:e?i.swipeEasing||He:i.easing||Qe,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(){Je(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,De(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=B(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)}}))},o=0;o<this.slidesNumber;o++)r(o);else for(var s=function(i){n.push(t(le,{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++)s(a);return t("div",{staticClass:"q-carousel-quick-nav scroll text-center",class:["text-"+this.color,"absolute-"+this.quickNavPosition]},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}},[t("div",{staticClass:"q-carousel-slide",style:"flex: 0 0 100%",directives:[{name:"show",value:this.infiniteRight}]}),this.$slots.default,t("div",{staticClass:"q-carousel-slide",style:"flex: 0 0 100%",directives:[{name:"show",value:this.infiniteLeft}]})])]),this.arrows?t(le,{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(le,{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.$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)}},ti={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()}},ei={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)}},ii={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"q-message",class:{"q-message-sent":t.sent,"q-message-received":!t.sent}},[t.label?i("p",{staticClass:"q-message-label text-center",domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),i("div",{staticClass:"q-message-container row items-end no-wrap"},[t.hasAvatarSlot()?t._t("avatar"):t._e(),t._v(" "),t.avatar&&!t.hasAvatarSlot()?i("img",{staticClass:"q-message-avatar",attrs:{src:t.avatar}}):t._e(),t._v(" "),i("div",{class:t.sizeClass},[t.name?i("div",{staticClass:"q-message-name",domProps:{innerHTML:t._s(t.name)}}):t._e(),t._v(" "),t.text?t._l(t.text,function(e,n){return i("div",{key:n,staticClass:"q-message-text",class:t.messageClass},[i("span",{staticClass:"q-message-text-content",class:t.textClass},[i("div",{domProps:{innerHTML:t._s(e)}}),t._v(" "),t.stamp?i("div",{staticClass:"q-message-stamp",domProps:{innerHTML:t._s(t.stamp)}}):t._e()])])}):t._e(),t._v(" "),t.hasDefaultSlot()?i("div",{staticClass:"q-message-text",class:t.messageClass},[i("span",{staticClass:"q-message-text-content",class:t.textClass},[t._t("default"),t._v(" "),t.stamp?i("div",{staticClass:"q-message-stamp",domProps:{innerHTML:t._s(t.stamp)}}):t._e()],2)]):t._e()],2)],2)])},staticRenderFns:[],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}},methods:{hasDefaultSlot:function(){return Boolean(this.$slots.default)},hasAvatarSlot:function(){return Boolean(this.$slots.avatar)}}};var ni={name:"touch-swipe",bind:function(t,e){var i,n,r=!e.modifiers.noMouse,o={handler:e.value,threshold:parseInt(e.arg,10)||300,direction:(i=e.modifiers,n={},["left","right","up","down","horizontal","vertical"].forEach(function(t){i[t]&&(n[t]=!0)}),0===Object.keys(n).length?{left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0}:(n.horizontal&&(n.left=n.right=!0),n.vertical&&(n.up=n.down=!0),n.left&&n.right&&(n.horizontal=!0),n.up&&n.down&&(n.vertical=!0),n)),mouseStart:function(t){O(t)&&(document.addEventListener("mousemove",o.move),document.addEventListener("mouseup",o.mouseEnd),o.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",o.move),document.removeEventListener("mouseup",o.mouseEnd),o.end(t)},start:function(t){var e=A(t);o.event={x:e.left,y:e.top,time:(new Date).getTime(),detected:!1,abort:!1}},move:function(t){if(!o.event.abort)if((new Date).getTime()-o.event.time>o.threshold)o.event.abort=!0;else{if(o.event.detected)return t.stopPropagation(),void t.preventDefault();var e=A(t),i=e.left-o.event.x,n=Math.abs(i),r=e.top-o.event.y,s=Math.abs(r);n!==s&&(o.event.detected=!0,o.event.abort=!(o.direction.vertical&&n<s||o.direction.horizontal&&n>s||o.direction.up&&n<s&&r<0||o.direction.down&&n<s&&r>0||o.direction.left&&n>s&&i<0||o.direction.right&&n>s&&i>0),o.move(t))}},end:function(t){if(!o.event.abort&&o.event.detected){var e=(new Date).getTime()-o.event.time;if(!(e>o.threshold)){t.stopPropagation(),t.preventDefault();var i,n=A(t),r=n.left-o.event.x,s=Math.abs(r),a=n.top-o.event.y,l=Math.abs(a);if(s>=l){if(s<50)return;i=r<0?"left":"right"}else{if(l<50)return;i=a<0?"up":"down"}o.direction[i]&&o.handler({evt:t,direction:i,duration:e,distance:{x:s,y:l}})}}}};t.__qtouchswipe=o,t.classList.add("q-touch"),r&&t.addEventListener("mousedown",o.mouseStart),t.addEventListener("touchstart",o.start),t.addEventListener("touchmove",o.move),t.addEventListener("touchend",o.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)}},ri={directives:{TouchSwipe:ni},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&&j(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))}}},oi={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(B(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?[{name:"touch-swipe",modifiers:{horizontal:!0},value:this.__swipe}]:null},[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"}):null,this.__getContent(t)]),this.label?t("span",{staticClass:"q-option-label",domProps:{innerHTML:this.label}}):null,this.$slots.default])}},si={name:"QCheckbox",mixins:[ri,oi],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"}},ai={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(B(t))&&(j(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",{domProps:{src:this.avatar}}):null]):null,t("div",{staticClass:"q-chip-main"},[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])}},li={type:Array,validator:function(t){return t.every(function(t){return"icon"in t})}},ci={mixins:[Nt],components:{QIcon:st},props:{prefix:String,suffix:String,stackLabel:String,floatLabel:String,error:Boolean,warning:Boolean,disable:Boolean,readonly:Boolean,clearable:Boolean,color:{type:String,default:"primary"},align:{default:"left"},dark:Boolean,before:li,after:li,inverted:Boolean,invertedLight:Boolean,hideUnderline:Boolean,clearValue:{default:null},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.invertedLight&&!this.hasError||this.inverted&&this.hasWarning},labelIsAbove:function(){return this.focused||this.length||this.additionalLength||this.stackLabel},editable:function(){return!this.disable&&!this.readonly},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},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){j(t);var e=this.clearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}},ui={props:{autofocus:[Boolean,String],maxHeight:Number,placeholder:String,loading:Boolean},data:function(){return{focused:!1,timer:null,isNumberError:!1}},methods:{focus:function(){this.disable||this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},select:function(){this.$refs.input.select()},__onFocus:function(t){clearTimeout(this.timer),this.focused=!0,this.$emit("focus",t)},__onInputBlur:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.__onBlur(t)},200)},__onBlur:function(t){this.focused=!1,this.$emit("blur",t),this.__emit()},__emit:function(){var t=this,e=this.isNumber&&this.isNumberError,i=e?null:this.model;e&&this.$emit("input",i),this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(t.value)&&t.$emit("change",i)})},__onKeydown:function(t){this.$emit("keydown",t)},__onKeyup:function(t){this.$emit("keyup",t)},__onClick:function(t){this.focus(),this.$emit("click",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)}},hi={inject:{field:{from:"__field",default:null}},props:{noParentField:Boolean},beforeMount:function(){!this.noParentField&&this.field&&this.field.__registerInput(this)},beforeDestroy:function(){!this.noParentField&&this.field&&this.field.__unregisterInput(this)}},di={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"q-if row no-wrap items-end relative-position",class:t.classes,attrs:{tabindex:t.focusable&&!t.disable?0:-1},on:{click:t.__onClick}},[t.before?t._l(t.before,function(e){return i("q-icon",{key:"b"+e.icon,staticClass:"q-if-control q-if-control-before",class:{hidden:t.__additionalHidden(e,t.hasError,t.hasWarning,t.length)},attrs:{name:e.icon},nativeOn:{mousedown:function(e){return t.__onMouseDown(e)},touchstart:function(e){return t.__onMouseDown(e)},click:function(i){t.__baHandler(i,e)}}})}):t._e(),t._v(" "),i("div",{staticClass:"q-if-inner col row no-wrap relative-position"},[t.hasLabel?i("div",{staticClass:"q-if-label ellipsis full-width absolute self-start",class:{"q-if-label-above":t.labelIsAbove},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),t.prefix?i("span",{staticClass:"q-if-addon q-if-addon-left",class:t.addonClass,domProps:{innerHTML:t._s(t.prefix)}}):t._e(),t._v(" "),t._t("default"),t._v(" "),t.suffix?i("span",{staticClass:"q-if-addon q-if-addon-right",class:t.addonClass,domProps:{innerHTML:t._s(t.suffix)}}):t._e()],2),t._v(" "),t.after?t._l(t.after,function(e){return i("q-icon",{key:"a"+e.icon,staticClass:"q-if-control",class:{hidden:t.__additionalHidden(e,t.hasError,t.hasWarning,t.length)},attrs:{name:e.icon},nativeOn:{mousedown:function(e){return t.__onMouseDown(e)},touchstart:function(e){return t.__onMouseDown(e)},click:function(i){t.__baHandler(i,e)}}})}):t._e(),t._v(" "),t._t("after")],2)},staticRenderFns:[],name:"QInputFrame",mixins:[ci,hi],props:{topAddons:Boolean,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,"self-start":this.topAddons}},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-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.isInverted&&this.hideUnderline}],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.$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)}}},fi={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("q-input-frame",{staticClass:"q-chips-input",attrs:{prefix:t.prefix,suffix:t.suffix,"stack-label":t.stackLabel,"float-label":t.floatLabel,error:t.error,warning:t.warning,disable:t.disable,inverted:t.inverted,invertedLight:t.invertedLight,dark:t.dark,"hide-underline":t.hideUnderline,before:t.before,after:t.after,color:t.color,"no-parent-field":t.noParentField,focused:t.focused,length:t.length,"additional-length":t.input.length>0},on:{click:t.__onClick}},[i("div",{staticClass:"col row items-center group q-input-chips"},[t._l(t.model,function(e,n){return i("q-chip",{key:e+"#"+n,attrs:{small:"",closable:t.editable,color:t.computedChipBgColor,"text-color":t.computedChipTextColor,tabindex:t.editable&&t.focused?0:-1},on:{blur:t.__onInputBlur,focus:t.__clearTimer,hide:function(e){t.remove(n)}},nativeOn:{blur:function(e){return t.__onInputBlur(e)},focus:function(e){return t.__clearTimer(e)}}},[t._v(" "+t._s(e)+" ")])}),t._v(" "),"checkbox"===t.$attrs.type?i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"col q-input-target",class:t.alignClass,attrs:{placeholder:t.inputPlaceholder,disabled:t.disable,readonly:t.readonly,type:"checkbox"},domProps:{checked:Array.isArray(t.input)?t._i(t.input,null)>-1:t.input},on:{focus:t.__onFocus,blur:t.__onInputBlur,keydown:t.__handleKeyDown,keyup:t.__onKeyup,change:function(e){var i=t.input,n=e.target,r=!!n.checked;if(Array.isArray(i)){var o=t._i(i,null);n.checked?o<0&&(t.input=i.concat([null])):o>-1&&(t.input=i.slice(0,o).concat(i.slice(o+1)))}else t.input=r}}},"input",t.$attrs,!1)):"radio"===t.$attrs.type?i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"col q-input-target",class:t.alignClass,attrs:{placeholder:t.inputPlaceholder,disabled:t.disable,readonly:t.readonly,type:"radio"},domProps:{checked:t._q(t.input,null)},on:{focus:t.__onFocus,blur:t.__onInputBlur,keydown:t.__handleKeyDown,keyup:t.__onKeyup,change:function(e){t.input=null}}},"input",t.$attrs,!1)):i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.input,expression:"input"}],ref:"input",staticClass:"col q-input-target",class:t.alignClass,attrs:{placeholder:t.inputPlaceholder,disabled:t.disable,readonly:t.readonly,type:t.$attrs.type},domProps:{value:t.input},on:{focus:t.__onFocus,blur:t.__onInputBlur,keydown:t.__handleKeyDown,keyup:t.__onKeyup,input:function(e){e.target.composing||(t.input=e.target.value)}}},"input",t.$attrs,!1))],2),t._v(" "),t.editable?i("q-icon",{staticClass:"q-if-control",class:{invisible:!t.input.length},attrs:{slot:"after",name:t.computedAddIcon},nativeOn:{mousedown:function(e){return t.__clearTimer(e)},touchstart:function(e){return t.__clearTimer(e)},click:function(e){t.add()}},slot:"after"}):t._e()],1)},staticRenderFns:[],name:"QChipsInput",mixins:[ci,ui],components:{QInputFrame:di,QChip:ai},props:{value:{type:Array,required:!0},chipsColor:String,chipsBgColor:String,readonly:Boolean,addIcon:String},data:function(){return{input:"",model:this.value}},watch:{value:function(t){this.model=this.value}},computed:{length:function(){return this.model?this.model.length:0},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}},methods:{add:function(t){void 0===t&&(t=this.input),clearTimeout(this.timer),this.focus(),this.editable&&t&&(this.model.includes(t)?this.$emit("duplicate",t):(this.model.push(t),this.$emit("input",this.model),this.input=""))},remove:function(t){clearTimeout(this.timer),this.focus(),this.editable&&t>=0&&t<this.length&&(this.model.splice(t,1),this.$emit("input",this.model))},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__handleKeyDown:function(t){switch(B(t)){case 13:return j(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()}}};function pi(t){return t.split(" ").map(function(t){var e=t.match(/[a-zA-Z]+/)||"";return e&&(e=e[0]),[parseFloat(t),e]})}function mi(t,e,i){var n=t.__qslidetoggle||{};function r(){n.uid=Ye({to:e?100:0,from:null!==n.pos?n.pos:e?0:100,apply:function(e){n.pos=e,l(t,{maxHeight:n.height*e/100+"px",padding:n.padding?n.padding.map(function(t){return t[0]*e/100+t[1]}).join(" "):"",margin:n.margin?n.margin.map(function(t){return t[0]*e/100+t[1]}).join(" "):""})},done:function(){n.uid=null,n.pos=null,i(),l(t,n.css)}}),t.__qslidetoggle=n}if(n.uid)return Je(n.uid),r();n.css={overflowY:t.style.overflowY,maxHeight:t.style.maxHeight,padding:t.style.padding,margin:t.style.margin};var o=window.getComputedStyle(t);o.padding&&"0px"!==o.padding&&(n.padding=pi(o.padding)),o.margin&&"0px"!==o.margin&&(n.margin=pi(o.margin)),n.height=function(t,e){var i={visibility:t.style.visibility,maxHeight:t.style.maxHeight};l(t,{visibility:"hidden",maxHeight:""});var n=e.height;return l(t,i),parseFloat(n)}(t,o),n.pos=null,t.style.overflowY="hidden",r()}var vi={name:"QSlideTransition",props:{appear:Boolean},render:function(t){return t("transition",{props:{mode:"out-in",css:!1,appear:this.appear},on:{enter:function(t,e){mi(t,!0,e)},leave:function(t,e){mi(t,!1,e)}}},this.$slots.default)}},gi="q:collapsible:close",_i={name:"QCollapsible",mixins:[E,lt],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.popup&&this.showing,"q-collapsible-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.iconToggle,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}}},watch:{showing:function(t){t&&this.group&&this.$root.$emit(gi,this)}},methods:{__toggleItem:function(){this.iconToggle||this.toggle()},__toggleIcon:function(t){this.iconToggle&&(t&&t.stopPropagation(),this.toggle())},__eventHandler:function(t){this.group&&this!==t&&t.group===this.group&&this.hide()},__getToggleSide:function(t,e){return[t(vt,{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:{cfg:this.$props},style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(gi,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(gi,this.__eventHandler)},render:function(t){return t("div",{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[t("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?t(ht,this.__getItemProps(),[this.$slots.header,t(mt,{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(t))]):t(_t,this.__getItemProps(!0),this.__getToggleSide(t,!0)),t(vi,[t("div",{directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},[this.$slots.default])])])])])}},bi={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}};function yi(t,e,i){var n=St((A(t).left-e.left)/e.width,0,1);return i?1-n:n}function wi(t,e){var i=e?parseFloat(t.toFixed(e)):t;return i!==parseInt(i,10)}function Ci(t,e,i,n,r){var o=e+t*(i-e),s=(o-e)%n;return o+=(Math.abs(s)>=n/2?(s<0?-1:1)*n:0)-s,r&&(o=parseFloat(o.toFixed(r))),St(o,e,i)}var xi={directives:{TouchPan:Ne},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}},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)))])}},ki={name:"QSlider",mixins:[xi],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=yi(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=Ci(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t,e){void 0===e&&(e=this.dragging);var i=yi(t,e,this.$q.i18n.rtl);this.model=Ci(i,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):wi((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}},[this.label||this.labelAlways?t(ai,{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 Si(t,e){void 0===e&&(e=250);var i=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];i||(i=!0,t.apply(this,n),setTimeout(function(){i=!1},e))}}function qi(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}function $i(t){var e=t.r,i=t.g,n=t.b,r=t.a,o=void 0!==r;if(e=Math.round(e),i=Math.round(i),n=Math.round(n),e>255||i>255||n>255||o&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=o?(256|Math.round(255*r/100)).toString(16).slice(1):"","#"+(n|i<<8|e<<16|1<<24).toString(16).slice(1)+r}function Ti(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 Pi(t){var e,i,n,r,o,s,a,l,c=t.h,u=t.s,h=t.v,d=t.a;switch(s=(h/=100)*(1-(u/=100)),a=h*(1-(o=6*(c/=360)-(r=Math.floor(6*c)))*u),l=h*(1-(1-o)*u),r%6){case 0:e=h,i=l,n=s;break;case 1:e=a,i=h,n=s;break;case 2:e=s,i=h,n=l;break;case 3:e=s,i=a,n=h;break;case 4:e=l,i=s,n=h;break;case 5:e=h,i=s,n=a}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n),a:d}}function Mi(t){var e,i=t.r,n=t.g,r=t.b,o=t.a,s=Math.max(i,n,r),a=Math.min(i,n,r),l=s-a,c=0===s?0:l/s,u=s/255;switch(s){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:o}}var Ei=/^\s*rgb(a)?\s*\((\s*(\d+)\s*,\s*?){2}(\d+)\s*,?\s*([01]?\.?\d*?)?\s*\)\s*$/;function Li(t){if("string"!=typeof t)throw new TypeError("Expected a string");var e=Ei.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 Ti(t)}function Oi(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=Li(t),n=e<0?0:255,r=Math.abs(e)/100,o=i.r,s=i.g,a=i.b;return"#"+(16777216+65536*(Math.round((n-o)*r)+o)+256*(Math.round((n-s)*r)+s)+(Math.round((n-a)*r)+a)).toString(16).slice(1)}function Bi(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}var Ai=Object.freeze({rgbToHex:$i,hexToRgb:Ti,hsvToRgb:Pi,rgbToHsv:Mi,textToRgb:Li,lighten:Oi,luminosity:function(t){if("string"!=typeof t||void 0===t.r)throw new TypeError("Expected a string or a {r, g, b} object as color");var e="string"==typeof t?Li(t):t,i=e.r/255,n=e.g/255,r=e.b/255;return.2126*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setBrand:function(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",Oi(e,46));break;case"light":i.style.setProperty("--q-color-"+t+"-d",Oi(e,-10))}},getBrand:Bi}),Ni={name:"QColorPicker",mixins:[hi],directives:{TouchPan:Ne},props:{value:[String,Object],defaultValue:{type:[String,Object],default:"#000"},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),inputError:{hex:!1,r:!1,g:!1,b:!1}}},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}},created:function(){this.__saturationChange=Si(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:{prevent:!0,stop:!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},[t("div",{staticClass:"q-color-saturation-circle"})])])},__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(ki,{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(ki,{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.disable?0:-1},staticClass:"full-width text-center q-no-input-spinner",domProps:{value: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.disable?0:-1},on:{input: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(le,{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,r=n.clientWidth,o=n.clientHeight,s=n.getBoundingClientRect(),a=Math.min(r,Math.max(0,t-s.left));this.$q.i18n.rtl&&(a=r-a);var l=Math.min(o,Math.max(0,e-s.top)),c=Math.round(100*a/r),u=Math.round(100*Math.max(0,Math.min(1,-l/o+1))),h=Pi({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,$i(h),i)},__onHueChange:function(t,e){var i=Pi({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(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 o={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 s=Mi(o);this.model.h=s.h,this.model.s=s.s,this.model.v=s.v}this.__update(o,$i(o),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 o=Ti(i),s=Mi(o);this.model.h=s.h,this.model.s=s.s,this.model.v=s.v,this.__update(o,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){var e="string"==typeof t?Ti(t.trim()):qi(t);return this.forceAlpha===(void 0===e.a)&&(e.a=this.forceAlpha?100:void 0),e.hex=$i(e),M({a:100},e,Mi(e))},__saturationPan:function(t){t.isFinal?this.__dragStop(t):t.isFirst?this.__dragStart(t):this.__dragMove(t)},__dragStart:function(t){j(t.evt),this.saturationDragging=!0,this.__saturationChange(t)},__dragMove:function(t){this.saturationDragging&&(j(t.evt),this.__saturationChange(t))},__dragStop:function(t){var e=this;j(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)}}},Ii={maxWidth:"95vw",maxHeight:"98vh"},Di={name:"QColor",mixins:[ci,bi],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,placeholder:String,okLabel:String,cancelLabel:String},watch:{value:function(t){!this.disable&&this.$refs.popup&&this.$refs.popup.showing&&(this.model=qi(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal"};return t.focused=!1,t.model=qi(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:"")+")":""},modalBtnColor:function(){return"mat"===this.$q.theme?this.color:this.dark?"light":"dark"}},methods:{toggle:function(){this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable){var t=this.value||this.defaultValue;return this.focused?this.model=qi(t):this.__setModel(t),this.$refs.popup.show()}},hide:function(){return this.focused=!1,this.$refs.popup.hide()},__handleKeyDown:function(t){switch(B(t)){case 13:case 32:return j(t),this.show();case 8:this.editable&&this.clearable&&this.actualValue.length&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.__setModel(this.value||this.defaultValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.$refs.popup&&this.$refs.popup.showing||(this.__onHide(),setTimeout(function(){var t=document.activeElement;t===document.body||e.$refs.popup.$el.contains(t)||e.hide()},1))},__onHide:function(t){this.focused=!1,this.$emit("blur"),(t||this.isPopover&&this.$refs.popup.showing)&&this.__update(t)},__setModel:function(t,e){this.model=qi(t),(e||this.isPopover&&this.$refs.popup.showing)&&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(Ni,{staticClass:"no-border"+(e?" full-width":""),props:M({value:this.model||"#000",disable:this.disable,readonly:this.readonly,formatModel:this.formatModel,dark:this.dark,noParentField:!0},this.$attrs),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(le,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(),i.hide()}}}),this.editable?t(le,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0},on:{click:function(){i.__onHide(!0),i.hide()}}}):null])),n}},render:function(t){var e=this;return t(di,{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,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(_e,{ref:"popup",props:{disable:this.disable,anchorClick:!1,maxHeight:"100vh"},on:{show:this.__onFocus,hide:function(t){return e.__onHide(!0)}}},this.__getPicker(t)):t(rt,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:Ii,minimized:!0,position:null,transition:this.transition},on:{dismiss:this.__onHide}},this.__getPicker(t,!0)),this.editable&&this.clearable&&this.actualValue.length?t("QIcon",{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t("QIcon",{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},Ri={name:"QContextMenu",components:{QPopover:_e},props:{disable:Boolean},render:function(t){var e=this;return t(_e,{ref:"popover",props:{anchorClick:!1},on:{show:function(){e.$emit("show")},hide:function(){e.$emit("hide")}}},this.$slots.default)},methods:{hide:function(){return this.$refs.popover.hide()},__show:function(t){var e=this;t&&!this.disable&&(this.hide(),j(t),setTimeout(function(){e.$refs.popover.show(t)},100))}},mounted:function(){this.target=this.$refs.popover.$el.parentNode,this.target.addEventListener("contextmenu",this.__show),this.target.addEventListener("click",this.hide)},beforeDestroy:function(){this.target.removeEventListener("contexmenu",this.__show),this.target.removeEventListener("click",this.hide)}},zi={name:"QContextMenu",props:{disable:Boolean},methods:{hide:function(){return this.target.classList.remove("non-selectable"),this.$refs.dialog.hide()},__show:function(){!this.disable&&this.$refs.dialog&&this.$refs.dialog.show()},__touchStartHandler:function(t){var e=this;this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){j(t),setTimeout(function(){e.__cleanup(),e.__show()},10)},600)},__cleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return t(rt,{ref:"dialog",props:{minimized:!0},on:{show:function(){e.$emit("show")},hide:function(){e.$emit("hide")}}},this.$slots.default)},mounted:function(){var t=this;this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__touchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__cleanup)})})},beforeDestroy:function(){var t=this;this.target.removeEventListener("touchstart",this.__touchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__cleanup)})}},Fi={name:"QContextMenu",functional:!0,render:function(t,e){return t(v.is.mobile?zi:Ri,e.data,e.children)}},ji=function(t){var e=typeof t;return null===t||void 0===t||"number"===e||"string"===e||Ie(t)},Qi={value:{validator:ji,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:ji,default:null},max:{validator:ji,default:null},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},Hi={format:String,placeholder:String,okLabel:String,cancelLabel:String,displayValue:String},Vi=864e5,Ui=36e5,Wi=6e4,Ki=/\[((?:[^\]\\]|\\]|\\)*)\]|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;function Yi(t,e){void 0===e&&(e="");var i=t>0?"-":"+",n=Math.abs(t),r=n%60;return i+$t(Math.floor(n/60))+e+$t(r)}function Ji(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 Gi(t,e,i){var n=new Date(t),r=i?1:-1;return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":kt("days"===t?"date":t);n["set"+i](n["get"+i]()+r*e[t])}else Ji(n,n.getMonth()+1+r*e.month)}),n}function Xi(t){if("number"==typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function Zi(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*Vi);return 1+Math.floor(r)}function tn(t,e,i){var n=new Date(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 Ji(n,e.month)}),n}function en(t,e){var i=new Date(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 nn(t,e,i){return(t.getTime()-t.getTimezoneOffset()*Wi-(e.getTime()-e.getTimezoneOffset()*Wi))/i}function rn(t,e,i){void 0===i&&(i="days");var n=new Date(t),r=new Date(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 nn(en(n,"day"),en(r,"day"),Vi);case"hours":return nn(en(n,"hour"),en(r,"hour"),Ui);case"minutes":return nn(en(n,"minute"),en(r,"minute"),Wi);case"seconds":return nn(en(n,"second"),en(r,"second"),1e3)}}function on(t){return rn(t,en(t,"year"),"days")+1}function sn(t){return Ie(t)?"date":"number"==typeof t?"number":"string"}function an(t,e){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return fn(t)}}function ln(t,e,i){var n=new Date(t);if(e){var r=new Date(e);if(n<r)return r}if(i){var o=new Date(i);if(n>o)return o}return n}function cn(t,e,i){var n=new Date(t),r=new Date(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 un(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function hn(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 dn={YY:function(t){return $t(t.getFullYear(),4).substr(2)},YYYY:function(t){return $t(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return $t(t.getMonth()+1)},MMM:function(t){return b.lang.date.monthsShort[t.getMonth()]},MMMM:function(t){return b.lang.date.months[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return hn(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return hn(t.getDate())},DD:function(t){return $t(t.getDate())},DDD:function(t){return on(t)},DDDD:function(t){return $t(on(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t){return b.lang.date.daysShort[t.getDay()]},dddd:function(t){return b.lang.date.days[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return Zi(t)},ww:function(t){return $t(Zi(t))},H:function(t){return t.getHours()},HH:function(t){return $t(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return $t(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return $t(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return $t(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return $t(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return $t(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 Yi(t.getTimezoneOffset(),":")},ZZ:function(t){return Yi(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function fn(t,e){if(void 0===e&&(e="YYYY-MM-DDTHH:mm:ss.SSSZ"),0===t||t){var i=new Date(t);return e.replace(Ki,function(t,e){return t in dn?dn[t](i):void 0===e?t:e.split("\\]").join("]")})}}function pn(t){return Ie(t)?new Date(t.getTime()):t}var mn=Object.freeze({isValid:Xi,buildDate:function(t,e){return tn(new Date,t,e)},getDayOfWeek:function(t){var e=new Date(t).getDay();return 0===e?7:e},getWeekOfYear:Zi,isBetweenDates:function(t,e,i,n){void 0===n&&(n={});var r=new Date(e).getTime(),o=new Date(i).getTime(),s=new Date(t).getTime();return n.inclusiveFrom&&r--,n.inclusiveTo&&o++,s>r&&s<o},addToDate:function(t,e){return Gi(t,e,!0)},subtractFromDate:function(t,e){return Gi(t,e,!1)},adjustDate:tn,startOfDate:en,endOfDate:function(t,e){var i=new Date(t);switch(e){case"year":i.setMonth(11);case"month":i.setDate(un(t));case"day":i.setHours(23);case"hour":i.setMinutes(59);case"minute":i.setSeconds(59);case"second":i.setMilliseconds(59)}return i},getMaxDate:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var n=new Date(t);return e.forEach(function(t){n=Math.max(n,new Date(t))}),n},getMinDate:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var n=new Date(t);return e.forEach(function(t){n=Math.min(n,new Date(t))}),n},getDateDiff:rn,getDayOfYear:on,inferDateFormat:sn,convertDateToFormat:an,getDateBetween:ln,isSameDate:cn,daysInMonth:un,formatter:dn,formatDate:fn,matchFormat:function(t){return void 0===t&&(t=""),t.match(Ki)},clone:pn});var vn={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"q-datetime row",class:t.classes},[t.minimal?t._e():i("div",{staticClass:"q-datetime-header column col-xs-12 col-md-4 justify-center"},[t.typeHasDate?i("div",[i("div",{staticClass:"q-datetime-weekdaystring col-12"},[t._v(t._s(t.weekDayString))]),t._v(" "),i("div",{staticClass:"q-datetime-datestring row flex-center"},[i("span",{staticClass:"q-datetime-link small col-auto col-md-12",class:{active:"month"===t.view},on:{click:function(e){!t.disable&&(t.view="month")}}},[t._v(" "+t._s(t.monthString)+" ")]),t._v(" "),i("span",{staticClass:"q-datetime-link col-auto col-md-12",class:{active:"day"===t.view},on:{click:function(e){!t.disable&&(t.view="day")}}},[t._v(" "+t._s(t.day)+" ")]),t._v(" "),i("span",{staticClass:"q-datetime-link small col-auto col-md-12",class:{active:"year"===t.view},on:{click:function(e){!t.disable&&(t.view="year")}}},[t._v(" "+t._s(t.year)+" ")])])]):t._e(),t._v(" "),t.typeHasTime?i("div",{staticClass:"q-datetime-time row flex-center"},[i("div",{staticClass:"q-datetime-clockstring col-auto col-md-12"},[i("span",{staticClass:"q-datetime-link col-auto col-md-12",class:{active:"hour"===t.view},on:{click:function(e){!t.disable&&(t.view="hour")}}},[t._v(" "+t._s(t.__pad(t.hour,"  "))+" ")]),t._v(" "),i("span",{staticStyle:{opacity:"0.6"}},[t._v(":")]),t._v(" "),i("span",{staticClass:"q-datetime-link col-auto col-md-12",class:{active:"minute"===t.view},on:{click:function(e){!t.disable&&(t.view="minute")}}},[t._v(" "+t._s(t.__pad(t.minute))+" ")])]),t._v(" "),t.computedFormat24h?t._e():i("div",{staticClass:"q-datetime-ampm column col-auto col-md-12 justify-around"},[i("div",{staticClass:"q-datetime-link",class:{active:t.am},on:{click:function(e){t.toggleAmPm()}}},[t._v("AM")]),t._v(" "),i("div",{staticClass:"q-datetime-link",class:{active:!t.am},on:{click:function(e){t.toggleAmPm()}}},[t._v("PM")])])]):t._e()]),t._v(" "),i("div",{staticClass:"q-datetime-content col-xs-12 column",class:t.contentClasses},[i("div",{ref:"selector",staticClass:"q-datetime-selector auto row flex-center"},["year"===t.view?i("div",{staticClass:"q-datetime-view-year full-width full-height"},t._l(t.yearInterval,function(e){return i("q-btn",{key:"yi"+e,staticClass:"q-datetime-btn full-width",class:{active:e+t.yearMin===t.year},attrs:{flat:"",disable:!t.editable},on:{click:function(i){t.setYear(e+t.yearMin)}}},[t._v(" "+t._s(e+t.yearMin)+" ")])})):t._e(),t._v(" "),"month"===t.view?i("div",{staticClass:"q-datetime-view-month full-width full-height"},t._l(t.monthInterval,function(e){return i("q-btn",{key:"mi"+e,staticClass:"q-datetime-btn full-width",class:{active:t.month===e+t.monthMin},attrs:{flat:"",disable:!t.editable},on:{click:function(i){t.setMonth(e+t.monthMin,!0)}}},[t._v(" "+t._s(t.$q.i18n.date.months[e+t.monthMin-1])+" ")])})):t._e(),t._v(" "),"day"===t.view?i("div",{staticClass:"q-datetime-view-day"},[i("div",{staticClass:"row items-center content-center"},[i("q-btn",{staticClass:"q-datetime-arrow",attrs:{round:"",dense:"",flat:"",icon:t.dateArrow[0],repeatTimeout:t.__repeatTimeout,disable:t.beforeMinDays>0||t.disable||t.readonly},on:{click:function(e){t.setMonth(t.month-1)}}}),t._v(" "),i("div",{staticClass:"col q-datetime-month-stamp"},[t._v(" "+t._s(t.monthStamp)+" ")]),t._v(" "),i("q-btn",{staticClass:"q-datetime-arrow",attrs:{round:"",dense:"",flat:"",icon:t.dateArrow[1],repeatTimeout:t.__repeatTimeout,disable:t.afterMaxDays>0||t.disable||t.readonly},on:{click:function(e){t.setMonth(t.month+1)}}})],1),t._v(" "),i("div",{staticClass:"q-datetime-weekdays row items-center justify-start"},t._l(t.headerDayNames,function(e){return i("div",{key:"dh"+e},[t._v(t._s(e))])})),t._v(" "),i("div",{staticClass:"q-datetime-days row wrap items-center justify-start content-center"},[t._l(t.fillerDays,function(t){return i("div",{key:"fd"+t,staticClass:"q-datetime-fillerday"})}),t._v(" "),t.min?t._l(t.beforeMinDays,function(e){return i("div",{key:"fb"+e,staticClass:"row items-center content-center justify-center disabled"},[t._v(" "+t._s(e)+" ")])}):t._e(),t._v(" "),t._l(t.daysInterval,function(e){return i("div",{key:"md"+e,staticClass:"row items-center content-center justify-center cursor-pointer",class:[t.color&&e===t.day?"text-"+t.color:null,{"q-datetime-day-active":e===t.day,"q-datetime-day-today":e===t.today,disabled:!t.editable}],on:{click:function(i){t.setDay(e)}}},[i("span",[t._v(t._s(e))])])}),t._v(" "),t.max?t._l(t.afterMaxDays,function(e){return i("div",{key:"fa"+e,staticClass:"row items-center content-center justify-center disabled"},[t._v(" "+t._s(e+t.maxDay)+" ")])}):t._e()],2)]):t._e(),t._v(" "),"hour"===t.view||"minute"===t.view?i("div",{ref:"clock",staticClass:"column items-center content-center justify-center"},["hour"===t.view?i("div",{staticClass:"q-datetime-clock cursor-pointer",on:{mousedown:t.__dragStart,mousemove:t.__dragMove,mouseup:t.__dragStop,touchstart:t.__dragStart,touchmove:t.__dragMove,touchend:t.__dragStop}},[i("div",{staticClass:"q-datetime-clock-circle full-width full-height"},[i("div",{staticClass:"q-datetime-clock-center"}),t._v(" "),i("div",{staticClass:"q-datetime-clock-pointer",style:t.clockPointerStyle},[i("span")]),t._v(" "),t.computedFormat24h?i("div",t._l(24,function(e){return i("div",{key:"hi"+e,staticClass:"q-datetime-clock-position fmt24",class:["q-datetime-clock-pos-"+(e-1),e-1===t.hour?"active":""]},[i("span",[t._v(t._s(e-1))])])})):i("div",t._l(12,function(e){return i("div",{key:"hi"+e,staticClass:"q-datetime-clock-position",class:["q-datetime-clock-pos-"+e,e===t.hour?"active":""]},[i("span",[t._v(t._s(e))])])}))])]):t._e(),t._v(" "),"minute"===t.view?i("div",{staticClass:"q-datetime-clock cursor-pointer",on:{mousedown:t.__dragStart,mousemove:t.__dragMove,mouseup:t.__dragStop,touchstart:t.__dragStart,touchmove:t.__dragMove,touchend:t.__dragStop}},[i("div",{staticClass:"q-datetime-clock-circle full-width full-height"},[i("div",{staticClass:"q-datetime-clock-center"}),t._v(" "),i("div",{staticClass:"q-datetime-clock-pointer",style:t.clockPointerStyle},[i("span")]),t._v(" "),t._l(12,function(e){return i("div",{key:"mi"+e,staticClass:"q-datetime-clock-position",class:["q-datetime-clock-pos-"+(e-1),5*(e-1)===t.minute?"active":""]},[i("span",[t._v(t._s(5*(e-1)))])])})],2)]):t._e()]):t._e()]),t._v(" "),t._t("default")],2)])},staticRenderFns:[],name:"QDatetimePicker",mixins:[{props:Qi,computed:{model:{get:function(){return ln(Xi(this.value)?new Date(this.value):this.defaultValue?new Date(this.defaultValue):en(new Date,"day"),this.pmin,this.pmax)},set:function(t){var e=this,i=an(ln(t,this.pmin,this.pmax),"auto"===this.formatModel?sn(this.value):this.formatModel);this.$emit("input",i),this.$nextTick(function(){cn(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()},yearInterval:function(){var t=null!==this.pmin?this.pmin.getFullYear():1950,e=null!==this.pmax?this.pmax.getFullYear():2050;return Math.max(1,e-t+1)},yearMin:function(){return null!==this.pmin?this.pmin.getFullYear()-1:1949},monthInterval:function(){var t=null!==this.pmin&&this.pmin.getFullYear()===this.model.getFullYear()?this.pmin.getMonth():0,e=null!==this.pmax&&this.pmax.getFullYear()===this.model.getFullYear()?this.pmax.getMonth():11;return Math.max(1,e-t+1)},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.model.getFullYear()?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.model.getFullYear(),this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(this.model.setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?St(e,1,12):"date"===t?St(e,1,this.daysInMonth):"year"===t?St(e,this.pmin?this.pmin.getFullYear():1950,this.pmax?this.pmax.getFullYear():2050):"hour"===t?St(e,0,23):"minute"===t?St(e,0,59):void 0}}},hi],props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},components:{QBtn:le},directives:{Ripple:Bt},data:function(){return{view:this.__calcView(this.defaultView),dragging:!1,centerClockPos:0}},watch:{value:function(t){t||(this.view=["date","datetime"].includes(this.type)?"day":"hour")},view:function(){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},contentClasses:function(){if(!this.minimal)return"col-md-8"},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},monthString:function(){return""+this.$q.i18n.date.monthsShort[this.month-1]},monthStamp:function(){return this.$q.i18n.date.months[this.month-1]+" "+this.year},weekDayString:function(){return this.$q.i18n.date.days[this.model.getDay()]},fillerDays:function(){var t=new Date(this.model.getFullYear(),this.model.getMonth(),1).getDay()-this.computedFirstDayOfWeek;return t<0&&(t+=7),t},beforeMinDays:function(){return!(null===this.pmin||!cn(this.pmin,this.model,"month"))&&this.pmin.getDate()-1},afterMaxDays:function(){return!(null===this.pmax||!cn(this.pmax,this.model,"month"))&&this.daysInMonth-this.maxDay},maxDay:function(){return null!==this.pmax?this.pmax.getDate():this.daysInMonth},daysInterval:function(){var t=null===this.pmax||!1===this.afterMaxDays?0:this.afterMaxDays;if(this.beforeMinDays>0||t){var e=this.beforeMinDays>0?this.beforeMinDays+1:1;return Array.apply(null,{length:this.daysInMonth-e-t+1}).map(function(t,i){return i+e})}return this.daysInMonth},hour:function(){var t=this.model.getHours();return this.computedFormat24h?t:function(t){return 0===t?12:t>=13?t-12:t}(t)},minute:function(){return this.model.getMinutes()},am:function(){return this.model.getHours()<=11},clockPointerStyle:function(){var t="minute"===this.view?60:this.computedFormat24h?24:12;return d("rotate("+(Math.round(("minute"===this.view?this.minute:this.hour)*(360/t))-180)+"deg)")},today:function(){var t=new Date;return cn(t,this.model,"month")?t.getDate():-1}},methods:{setYear:function(t){this.editable&&(this.view="day",this.model=new Date(this.model.setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t){this.editable&&(this.view="day",this.model=tn(this.model,{month:t}))},setDay:function(t){this.editable&&(this.model=new Date(this.model.setDate(this.__parseTypeValue("date",t))),"date"===this.type?this.$emit("canClose"):this.view="hour")},setHour:function(t){this.editable&&(t=this.__parseTypeValue("hour",t),!this.computedFormat24h&&t<12&&!this.am&&(t+=12),this.model=new Date(this.model.setHours(t)))},setMinute:function(t){this.editable&&(this.model=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 t&&["hour","minute"].includes(t)?t:"hour";case"date":return t&&["year","month","day"].includes(t)?t:"day";default:return t&&["year","month","day","hour","minute"].includes(t)?t:"day"}},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(){if("year"===this.view||"month"===this.view){var t=this.$refs.selector,e="year"===this.view?this.year-this.yearMin:this.month-this.monthMin;this.$nextTick(function(){t.scrollTop=e*s(t.children[0].children[0])-s(t)/2.5})}},__dragStart:function(t){j(t);var e=this.$refs.clock,i=r(e);this.centerClockPos={top:i.top+s(e)/2,left:i.left+a(e)/2},this.dragging=!0,this.__updateClock(t)},__dragMove:function(t){this.dragging&&(j(t),this.__updateClock(t))},__dragStop:function(t){j(t),this.dragging=!1,"minute"===this.view?this.$emit("canClose"):this.view="minute"},__updateClock:function(t){var e=A(t),i=Math.abs(e.top-this.centerClockPos.top),n=Math.sqrt(Math.pow(Math.abs(e.top-this.centerClockPos.top),2)+Math.pow(Math.abs(e.left-this.centerClockPos.left),2)),r=Math.asin(i/n)*(180/Math.PI);r=e.top<this.centerClockPos.top?this.centerClockPos.left<e.left?90-r:270+r:this.centerClockPos.left<e.left?r+90:270-r,"hour"===this.view?this.setHour(Math.round(r/(this.computedFormat24h?15:30))):this.setMinute(Math.round(r/6))},__repeatTimeout:function(t){return Math.max(100,300-t*t*10)}},mounted:function(){this.__scrollView()}},gn={maxWidth:"95vw",maxHeight:"98vh"},_n={name:"QDatetime",mixins:[ci,bi],props:M(Hi,Qi),watch:{value:function(t){!this.disable&&this.$refs.popup&&this.$refs.popup.showing&&(this.model=pn(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal"};return t.focused=!1,t.model=pn(Xi(this.value)?this.value:this.defaultValue),t},computed:{actualValue:function(){return this.displayValue?this.displayValue:Xi(this.value)?(t=this.format?this.format:"date"===this.type?"YYYY-MM-DD":"time"===this.type?"HH:mm":"YYYY-MM-DD HH:mm:ss",fn(this.value,t,this.$q.i18n.date)):"";var t},modalBtnColor:function(){return"mat"===this.$q.theme?this.color:this.dark?"light":"dark"}},methods:{toggle:function(){this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable){var t=Xi(this.value)?this.value:this.defaultValue;return this.focused?this.model=pn(t):this.__setModel(t),this.$refs.popup.show()}},hide:function(){return this.focused=!1,this.$refs.popup.hide()},__handleKeyDown:function(t){switch(B(t)){case 13:case 32:return j(t),this.show();case 8:this.editable&&this.clearable&&this.actualValue.length&&this.clear()}},__onFocus:function(){if(!this.disable&&!this.focused){var t=this.$refs.target;this.defaultView&&t.view!==this.defaultView?t.setView(this.defaultView):t.setView(),this.__setModel(Xi(this.value)?this.value:this.defaultValue),this.focused=!0,this.$emit("focus")}},__onBlur:function(t){var e=this;this.$refs.popup&&this.$refs.popup.showing||(this.__onHide(),setTimeout(function(){var t=document.activeElement;t===document.body||e.$refs.popup.$el.contains(t)||e.hide()},1))},__onHide:function(t){this.focused=!1,this.$emit("blur"),(t||this.isPopover&&this.$refs.popup.showing)&&this.__update(t)},__setModel:function(t,e){this.model=pn(t),(e||this.isPopover&&this.$refs.popup.showing)&&this.__update(e)},__update:function(t){var e=this;this.$nextTick(function(){cn(e.model,e.value)||(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__resetView:function(){this.defaultView||this.$refs.target.setView()},__getPicker:function(t,e){var i=this;return[t(vn,{ref:"target",staticClass:"no-border",class:{"datetime-ios-modal":!1},props:{type:this.type,min:this.min,max:this.max,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(),i.__resetView())}}},[e?t("div",{staticClass:"modal-buttons modal-buttons-top row full-width"},[t("div",{staticClass:"col"}),t(le,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(),i.hide(),i.__resetView()}}}),this.editable?t(le,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0},on:{click:function(){i.__onHide(!0),i.hide(),i.__resetView()}}}):null]):null])]}},render:function(t){var e=this;return t(di,{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(_e,{ref:"popup",props:{disable:this.disable,anchorClick:!1,maxHeight:"100vh"},on:{show:this.__onFocus,hide:function(t){return e.__onHide(!0)}}},this.__getPicker(t)):t(rt,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:gn,minimized:!0,position:null,transition:this.transition},on:{dismiss:this.__onHide}},this.__getPicker(t,!0)),this.editable&&this.clearable&&this.actualValue.length?t("QIcon",{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t("QIcon",{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},bn=["text","textarea","email","tel","file","number","password","url","time","date"],yn={name:"QResizeObservable",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(){0===this.debounce?this.onResize():this.timer||(this.timer=setTimeout(this.onResize,this.debounce))}},render:function(t){var e=this;if(!this.hasObserver)return t("object",{style:this.style,attrs:{type:"text/html",data:this.url,"aria-hidden":!0},on:{load:function(){e.$el.contentDocument.defaultView.addEventListener("resize",e.trigger,L.passive),e.trigger()}}})},beforeCreate:function(){this.size={width:-1,height:-1},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(),this.$q.platform.is.ie&&(this.url="about:blank")},beforeDestroy:function(){clearTimeout(this.timer),this.hasObserver?this.observer.unobserve(this.$el.parentNode):this.$el.contentDocument&&this.$el.contentDocument.defaultView.removeEventListener("resize",this.trigger,L.passive)}},wn={name:"QScrollObservable",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(){this.timer||(this.timer=window.requestAnimationFrame(this.emit))},emit:function(){var t=Math.max(0,U(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=V(this.$el.parentNode),this.target.addEventListener("scroll",this.trigger,L.passive),this.trigger()},beforeDestroy:function(){this.target.removeEventListener("scroll",this.trigger,L.passive)}},Cn={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(){this.timer=null,this.$emit("resize",c())}},created:function(){this.emit()},mounted:function(){window.addEventListener("resize",this.trigger,L.passive)},beforeDestroy:function(){clearTimeout(this.timer),window.removeEventListener("resize",this.trigger,L.passive)}},xn={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("q-input-frame",{staticClass:"q-input",attrs:{prefix:t.prefix,suffix:t.suffix,"stack-label":t.stackLabel,"float-label":t.floatLabel,error:t.error,warning:t.warning,disable:t.disable,inverted:t.inverted,invertedLight:t.invertedLight,dark:t.dark,"hide-underline":t.hideUnderline,before:t.before,after:t.after,color:t.color,"no-parent-field":t.noParentField,focused:t.focused,length:t.autofilled+t.length,"top-addons":t.isTextarea},on:{click:t.__onClick,focus:t.__onFocus}},[t._t("before"),t._v(" "),t.isTextarea?[i("div",{staticClass:"col row relative-position"},[i("q-resize-observable",{on:{resize:function(e){t.__updateArea()}}}),t._v(" "),i("textarea",t._b({ref:"shadow",staticClass:"col q-input-target q-input-shadow absolute-top",domProps:{value:t.model}},"textarea",t.$attrs,!1)),t._v(" "),i("textarea",t._b({ref:"input",staticClass:"col q-input-target q-input-area",attrs:{placeholder:t.inputPlaceholder,disabled:t.disable,readonly:t.readonly},domProps:{value:t.model},on:{input:t.__set,focus:t.__onFocus,blur:t.__onInputBlur,keydown:t.__onKeydown,keyup:t.__onKeyup}},"textarea",t.$attrs,!1))],1)]:i("input",t._b({ref:"input",staticClass:"col q-input-target q-no-input-spinner",class:t.inputClasses,attrs:{placeholder:t.inputPlaceholder,disabled:t.disable,readonly:t.readonly,step:t.computedStep,type:t.inputType},domProps:{value:t.model},on:{input:t.__set,focus:t.__onFocus,blur:t.__onInputBlur,keydown:t.__onKeydown,keyup:t.__onKeyup,animationstart:t.__onAnimationStart}},"input",t.$attrs,!1)),t._v(" "),!t.disable&&t.isPassword&&!t.noPassToggle&&t.length?i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:t.$q.icon.input[t.showPass?"showPass":"hidePass"]},nativeOn:{mousedown:function(e){return t.__clearTimer(e)},touchstart:function(e){return t.__clearTimer(e)},click:function(e){return t.togglePass(e)}},slot:"after"}):t._e(),t._v(" "),t.editable&&t.keyboardToggle?i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:t.$q.icon.input[t.showNumber?"showNumber":"hideNumber"]},nativeOn:{mousedown:function(e){return t.__clearTimer(e)},touchstart:function(e){return t.__clearTimer(e)},click:function(e){return t.toggleNumber(e)}},slot:"after"}):t._e(),t._v(" "),t.editable&&t.clearable&&t.length?i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:t.$q.icon.input["clear"+(t.isInverted?"Inverted":"")]},nativeOn:{mousedown:function(e){return t.__clearTimer(e)},touchstart:function(e){return t.__clearTimer(e)},click:function(e){return t.clear(e)}},slot:"after"}):t._e(),t._v(" "),t.isLoading?i("q-spinner",{staticClass:"q-if-control",attrs:{slot:"after",size:"24px"},slot:"after"}):t._e(),t._v(" "),t._t("after"),t._v(" "),t._t("default")],2)},staticRenderFns:[],name:"QInput",mixins:[ci,ui],components:{QInputFrame:di,QSpinner:ae,QResizeObservable:yn},props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return bn.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},clearable:Boolean,noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean},data:function(){var t=this;return{showPass:!1,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,loading:!1,watched:0,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,this.isNumberError=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()}},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.loading},pattern:function(){if(this.isNumber)return this.$attrs.pattern||"[0-9]*"},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle&&length},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},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")}},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(t||(this.isNumber?null:""),!0)},__set:function(t,e){var i=this,n=t&&t.target?t.target.value:t;if(this.isNumber){var r=n;if(n=parseFloat(n),isNaN(n))return this.isNumberError=!0,void(e&&(this.$emit("input",r),this.$nextTick(function(){JSON.stringify(r)!==JSON.stringify(i.value)&&i.$emit("change",r)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(n=parseFloat(n.toFixed(this.decimals)))}else 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;if(t){var e=t.scrollHeight,i=St(e,19,this.maxHeight||e);this.$refs.input.style.minHeight=i+19+"px"}},__watcher:function(t){this.isTextarea&&this.__updateArea(t),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)}},mounted:function(){this.__updateArea=ge(this.__updateArea),this.isTextarea&&(this.__updateArea(),this.__watcherRegister())},beforeDestroy:function(){this.__watcherUnregister(!0)}},kn={name:"QRadio",mixins:[oi],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&&j(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"}},Sn={name:"QToggle",mixins:[ri,oi],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"}},qn={name:"QOptionGroup",mixins:[hi],components:{QRadio:kn,QCheckbox:si,QToggle:Sn},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"q-"+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,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(rt,{ref:"modal",props:{value:this.value,minimized:!0,noBackdropDismiss:this.noBackdropDismiss||this.preventClose,noEscDismiss:this.noEscDismiss||this.preventClose,position:this.position},on:{input:function(t){e.$emit("input",t)},show:function(){if(e.$emit("show"),e.$q.platform.is.desktop&&(e.prompt||e.options)){var t=e.prompt?e.$refs.modal.$el.getElementsByTagName("INPUT"):e.$refs.modal.$el.getElementsByClassName("q-option");t.length?t[0].focus():(t=e.$refs.modal.$el.getElementsByTagName("BUTTON")).length&&t[t.length-1].focus()}},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.hide().then(function(){e.$emit("escape-key"),e.$emit("cancel")})}}},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?M({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?M({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,e=this;return this.$refs.modal.hide().then(function(){return e.hasForm&&(t=qi(e.__getData())),t})},__getPrompt:function(t){var e=this;return[t(xn,{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===B(t)&&e.__onOk()}}})]},__getOptions:function(t){var e=this;return[t(qn,{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(le,{props:this.cancelProps,on:{click:this.__onCancel}})),this.ok&&e.push(t(le,{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}}},Tn={name:"QTooltip",mixins:[E],props:{anchor:{type:String,default:"top middle",validator:fe},self:{type:String,default:"bottom middle",validator:fe},offset:{type:Array,validator:pe},delay:{type:Number,default:0},maxHeight:String,disable:Boolean},watch:{$route:function(){this.hide()}},computed:{anchorOrigin:function(){return me(this.anchor)},selfOrigin:function(){return me(this.self)}},methods:{__show:function(){clearTimeout(this.timer),document.body.appendChild(this.$el),this.scrollTarget=V(this.anchorEl),this.scrollTarget.addEventListener("scroll",this.hide,L.passive),window.addEventListener("resize",this.__debouncedUpdatePosition,L.passive),this.$q.platform.is.mobile&&document.body.addEventListener("click",this.hide,!0),this.__updatePosition(),this.showPromise&&this.showPromiseResolve()},__hide:function(){clearTimeout(this.timer),this.scrollTarget.removeEventListener("scroll",this.hide,L.passive),window.removeEventListener("resize",this.__debouncedUpdatePosition,L.passive),document.body.removeChild(this.$el),this.$q.platform.is.mobile&&document.body.removeEventListener("click",this.hide,!0),this.hidePromise&&this.hidePromiseResolve()},__updatePosition:function(){de({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){return t("span",{staticClass:"q-tooltip animate-popup",style:this.transformCSS},[t("div",[this.$slots.default])])},created:function(){var t=this;this.__debouncedUpdatePosition=ve(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-btn-inner")&&(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.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 Pn(t,e,i){e.handler?e.handler(t,i,i.caret):i.runCmd(e.cmd,e.param)}function Mn(t,e,i,n,r){void 0===r&&(r=!1);var o=r||"toggle"===i.type&&(i.toggled?i.toggled(e):i.cmd&&e.caret.is(i.cmd,i.param)),s=[],a={click:function(t){n&&n(),Pn(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;s.push(t(Tn,{props:{delay:1e3}},[t("div",{domProps:{innerHTML:i.tip}}),l]))}return t(le,{props:M({icon:i.icon,color:o?i.toggleColor||e.toolbarToggleColor:i.color||e.toolbarColor,textColor:o&&(e.toolbarFlat||e.toolbarOutline)?null:i.textColor||e.toolbarTextColor,label:i.label,disable:!!i.disable&&("function"!=typeof i.disable||i.disable(e))},e.buttonProps),on:a},s)}function En(t,e){if(e.caret)return e.buttons.map(function(i){return t(ce,{props:e.buttonProps,staticClass:"items-center relative-position"},i.map(function(i){return"slot"===i.type?e.$slots[i.slot]:"dropdown"===i.type?function(t,e,i){var n,r,o=i.label,s=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&&(o=i.tip,s=i.icon),Mn(t,e,i,l,n)}),n=e.toolbarBackgroundClass,r=[t(ce,{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&&(o=i.tip,s=i.icon);var c=i.htmlTip;return t(ht,{props:{active:r,link:!n},class:{disabled:n},nativeOn:{click:function(t){n||(l(),e.$refs.content.focus(),e.caret.restore(),Pn(t,i,e))}}},[a?"":t(mt,{props:{icon:i.icon}}),t(pt,{props:!c&&i.tip?{label:i.tip}:null,domProps:c?{innerHTML:i.htmlTip}:null})])}),n=[e.toolbarBackgroundClass,e.toolbarTextColor?"text-"+e.toolbarTextColor:""],r=[t(bt,{props:{separator:!0}},[r])]);var c=i.highlight&&o!==i.label,u=t(be,{props:M({noCaps:!0,noWrap:!0,color:c?e.toolbarToggleColor:e.toolbarColor,textColor:c&&(e.toolbarFlat||e.toolbarOutline)?null:e.toolbarTextColor,label:i.fixedLabel?i.label:o,icon:i.fixedIcon?i.icon:s,contentClass:n},e.buttonProps)},r);return u}(t,e,i):Mn(t,e,i)}))})}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?:\/\//,Bn=function(t,e){this.el=t,this.vm=e},An={selection:{configurable:!0},hasSelection:{configurable:!0},range:{configurable:!0},parent:{configurable:!0},blockParent:{configurable:!0}};An.selection.get=function(){if(this.el){var t=document.getSelection();return Ln(t.anchorNode,this.el)&&Ln(t.focusNode,this.el)?t:void 0}},An.hasSelection.get=function(){return this.selection?this.selection.toString().length>0:null},An.range.get=function(){var t=this.selection;if(t)return t.rangeCount?t.getRangeAt(0):null},An.parent.get=function(){var t=this.range;if(t){var e=t.startContainer;return e.nodeType===document.ELEMENT_NODE?e:e.parentNode}},An.blockParent.get=function(){var t=this.parent;if(t)return function t(e,i){if(i&&e===i)return null;var n=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return"block"===n||"table"===n?e:t(e.parentNode)}(t,this.el)},Bn.prototype.save=function(t){void 0===t&&(t=this.range),this._range=t},Bn.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())},Bn.prototype.hasParent=function(t,e){var i=e?this.parent:this.blockParent;return!!i&&i.nodeName.toLowerCase()===t.toLowerCase()},Bn.prototype.hasParents=function(t){var e=this.parent;return!!e&&t.includes(e.nodeName.toLowerCase())},Bn.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;default:var n=document.queryCommandState(t);return e?n===e:n}},Bn.prototype.getParentAttribute=function(t){if(this.parent)return this.parent.getAttribute(t)},Bn.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}},Bn.prototype.apply=function(t,e,i){if(void 0===i&&(i=function(){}),"formatBlock"===t)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6","PRE"].includes(e)&&this.is(t,e)&&(t="outdent",e=null);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 o=this.selectWord(this.selection),s=o?o.toString():"";if(!s.length)return;this.vm.editLinkUrl=On.test(s)?s:"https://"+s,document.execCommand("createLink",!1,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()},Bn.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(Bn.prototype,An);var Nn={name:"QEditor",mixins:[Xe],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?M(!0,{},this.buttonDef,e,function(t,e,i,n){void 0===n&&(n={});var r=Object.keys(n);if(0===r.length)return{};var o={default_font:{cmd:"fontName",param:t,icon:i,tip:e}};return r.forEach(function(t){var e=n[t];o[t]={cmd:"fontName",param:e,icon:i,tip:e,htmlTip:'<font face="'+e+'">'+e+"</font>"}}),o}(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:M(!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){this.editWatcher&&(this.editWatcher=!1,this.$emit("input",this.$refs.content.innerHTML))},onKeydown:function(t){var e=B(t);if(t.ctrlKey){var i=this.keys[e];if(void 0!==i){var n=i.cmd,r=i.param;j(t),this.runCmd(n,r,!1)}}else this.refreshToolbar()},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(){document.execCommand("defaultParagraphSeparator",!1,"div"),this.defaultFont=window.getComputedStyle(document.body).fontFamily},mounted:function(){var t=this;this.$nextTick(function(){t.caret=new Bn(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",class:[{"q-editor-toolbar-separator":!this.toolbarOutline&&!this.toolbarPush},this.toolbarBackgroundClass]};(e=[]).push(t("div",M({key:"qedt_top"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},En(t,this))])),null!==this.editLinkUrl&&e.push(t("div",M({key:"qedt_btm"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},function(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(xn,{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(B(t)){case 13:return r();case 27:e.caret.restore(),e.editLinkUrl=null}}}}),t(ce,{key:"qedt_btm_grp",props:e.buttonProps},[t(le,{key:"qedt_btm_rem",attrs:{tabindex:-1},props:M({label:e.$q.i18n.label.remove,noCaps:!0},e.buttonProps),on:{click:function(){e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl=null}}}),t(le,{key:"qedt_btm_upd",props:M({label:e.$q.i18n.label.update,noCaps:!0},e.buttonProps),on:{click:r}})])]}}(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},on:{input:this.onInput,keydown:this.onKeydown,click:this.refreshToolbar,blur:function(){i.caret.save()}}})])}},In={props:{outline:Boolean,push:Boolean,flat:Boolean,color:String,textColor:String,glossy:Boolean,icon:{type:String,required:!0}}},Dn={name:"QFab",mixins:[In,E],provide:function(){return{__qFabClose:this.hide}},props:{activeIcon:String,direction:{type:String,default:"right"}},watch:{$route:function(){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(le,{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])])}},Rn={name:"QFabAction",mixins:[In],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(le,{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])}},zn={name:"QField",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)},hasBottom:function(){return this.hasError&&this.errorLabel||this.hasWarning&&this.warningLabel||this.helper||this.count},hasLabel:function(){return this.label||this.$slots.label||["label","full"].includes(this.inset)},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.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}},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}},provide:function(){return{__field:this}},methods:{__registerInput:function(t){this.input=t},__unregisterInput:function(t){t&&t!==this.input||(this.input={})},__getBottomContent:function(t){return this.hasError&&this.errorLabel?t("div",{staticClass:"q-field-error col"},this.errorLabel):this.hasWarning&&this.warningLabel?t("div",{staticClass:"q-field-warning col"},this.warningLabel):this.helper?t("div",{staticClass:"q-field-helper col"},this.helper):t("div",{staticClass:"col"})}},render:function(t){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"},[this.hasLabel?t("div",{staticClass:"q-field-label q-field-margin",class:this.labelClasses},[t("div",{staticClass:"q-field-label-inner row items-center"},[this.label,this.$slots.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",class:{"q-field-no-input":this.hasNoInput}},[this.__getBottomContent(t),this.counter?t("div",{staticClass:"q-field-counter col-auto"},[this.counter]):null]):null])])])}},Fn={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=s(this.scrollContainer),e=r(this.scrollContainer).top+t;r(this.element).top+s(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(){this.working=!0,this.scrollContainer.addEventListener("scroll",this.poll,L.passive),this.poll()},stop:function(){this.working=!1,this.scrollContainer.removeEventListener("scroll",this.poll,L.passive)}},mounted:function(){var t=this;this.$nextTick(function(){t.poll=ve(t.poll,50),t.element=t.$refs.content,t.scrollContainer=t.inline?t.$el:V(t.$el),t.working&&t.scrollContainer.addEventListener("scroll",t.poll,L.passive),t.poll()})},beforeDestroy:function(){this.scrollContainer.removeEventListener("scroll",this.poll,L.passive)},render:function(t){return t("div",{staticClass:"q-infinite-scroll"},[t("div",{ref:"content",staticClass:"q-infinite-scroll-content"},[this.$slots.default]),t("div",{staticClass:"q-infinite-scroll-message",directives:[{name:"show",value:this.fetching}]},[this.$slots.message])])}},jn={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(ae,{props:{size:this.size,color:this.color}})])}},Qn={name:"QKnob",directives:{TouchPan:Ne},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}},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&&(j(t),this.centerPosition=this.__getCenter(),clearTimeout(this.timer),this.dragging=!0,this.__onInput(t))},__dragMove:function(t){this.dragging&&this.editable&&(j(t),this.__onInput(t,this.centerPosition))},__dragStop:function(t){var e=this;this.editable&&(j(t),this.timer=setTimeout(function(){e.dragging=!1},100),this.__onInput(t,this.centerPosition,!0))},__onInput:function(t,e,i){var n=this;if(void 0===e&&(e=this.__getCenter()),this.editable){var r=A(t),o=Math.abs(r.top-e.top),s=Math.sqrt(Math.pow(Math.abs(r.top-e.top),2)+Math.pow(Math.abs(r.left-e.left),2)),a=Math.asin(o/s)*(180/Math.PI);a=r.top<e.top?e.left<r.left?90-a:270+a:e.left<r.left?a+90:270-a,this.$q.i18n.rtl&&(a=360-a);var l=this.min+a/360*(this.max-this.min),c=l%this.step,u=St(l-c+(Math.abs(c)>=this.step/2?(c<0?-1:1)*this.step:0),this.min,this.max);this.computedDecimals&&(u=parseFloat(u.toFixed(this.computedDecimals))),this.model!==u&&(this.model=u),this.value!==u&&(this.$emit("input",u),i&&this.$nextTick(function(){JSON.stringify(u)!==JSON.stringify(n.value)&&n.$emit("change",u)}))}},__getCenter:function(){var t=r(this.$el);return{top:t.top+s(this.$el)/2,left:t.left+a(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:[{name:"touch-pan",modifiers:{prevent:!0,stop:!0},value:this.__pan}]},[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"},[this.$slots.default?this.$slots.default:t("span",[this.model])])])])}},Hn={name:"QLayout",provide:function(){return{layout:this}},props:{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(){var t=c();return{height:t.height,width:t.width,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},scrollHeight:0,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("")}}},created:function(){this.instances={header:null,right:null,footer:null,left:null}},render:function(t){return t("div",{staticClass:"q-layout"},[t(wn,{on:{scroll:this.__onPageScroll}}),t(yn,{on:{resize:this.__onLayoutResize}}),t(Cn,{on:{resize:this.__onWindowResize}}),this.$slots.default])},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)},__onLayoutResize:function(){this.scrollHeight=this.$el.scrollHeight,this.$emit("scrollHeight",this.scrollHeight)},__onWindowResize:function(t){var e=t.height,i=t.width;this.height!==e&&(this.height=e),this.width!==i&&(this.width=i),this.$emit("resize",{height:e,width:i})}}},Vn="q-body-drawer-toggle",Un={name:"QLayoutDrawer",inject:{layout:{default:function(){console.error("QLayoutDrawer needs to be child of QLayout")}}},mixins:[E,tt],directives:{TouchPan:Ne},props:{overlay:Boolean,side:{type:String,default:"left",validator:function(t){return["left","right"].includes(t)}},breakpoint:{type:Number,default:992},behavior:{type:String,validator:function(t){return["default","desktop","mobile"].includes(t)},default:"default"},contentStyle:Object,contentClass:[String,Object,Array],noHideOnRouteChange:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean},data:function(){var t=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,size:300}},watch:{belowBreakpoint:function(t,e){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide()):this.overlay||this[this.largeScreenState?"show":"hide"]())},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)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.__update("space",t),this.layout.__animate()},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(){this.applyPosition()},"$q.i18n.rtl":function(){this.applyPosition()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},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}},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,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"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,this.mobileView?"":this.aboveStyle]},computedClass:function(){return[this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)}},render:function(t){var e=[];return this.mobileView&&(this.noSwipeOpen||e.push(t("div",{staticClass:"q-layout-drawer-opener fixed-"+this.side,directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__openByTouch}]})),e.push(t("div",{ref:"backdrop",staticClass:"fullscreen q-layout-backdrop",class:this.backdropClass,on:{click:this.hide},directives:[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]}))),t("div",{staticClass:"q-drawer-container"},e.concat([t("aside",{ref:"content",staticClass:"q-layout-drawer q-layout-transition q-layout-drawer-"+this.side+" scroll",class:this.computedClass,style:this.computedStyle,attrs:this.$attrs,listeners:this.$listeners,directives:this.mobileView&&!this.noSwipeClose?[{name:"touch-pan",modifiers:{horizontal:!0},value:this.__closeByTouch}]:null},[t(yn,{props:{debounce:0},on:{resize:this.__onResize}}),this.$slots.default])]))},created:function(){var t=this;this.layout.instances[this.side]=this,this.__update("space",this.onLayout),this.__update("offset",this.offset),this.$nextTick(function(){t.animateOverlay=!0})},mounted:function(){this.showing&&this.applyPosition(0)},beforeDestroy:function(){clearTimeout(this.timer),this.layout.instances[this.side]===this&&(this.layout.instances[this.side]=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{applyPosition:function(t){var e=this;void 0!==t?l(this.$refs.content,d("translateX("+t+"px)")):this.$nextTick(function(){t=e.showing?0:(e.$q.i18n.rtl?-1:1)*(e.rightSide?1:-1)*e.size,e.applyPosition(t)})},applyBackdrop:function(t){this.$refs.backdrop&&l(this.$refs.backdrop,{backgroundColor:"rgba(0,0,0,"+.4*t+")"})},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,i=St(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(St(i/e,0,1)),t.isFirst){var o=this.$refs.content;o.classList.add("no-transition"),o.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)?St(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(St(1-n/e,0,1)),t.isFirst&&this.$refs.content.classList.add("no-transition")}},__show:function(){var t=this;this.layout.__animate(),this.applyPosition(0);var e=this.layout.instances[this.rightSide?"left":"right"];e&&e.mobileOpened&&e.hide(),this.belowBreakpoint?(this.mobileOpened=!0,this.applyBackdrop(1),this.__preventScroll(!0)):document.body.classList.add(Vn),clearTimeout(this.timer),this.timer=setTimeout(function(){t.showPromise&&(t.showPromise.then(function(){document.body.classList.remove(Vn)}),t.showPromiseResolve())},150)},__hide:function(){var t=this;this.layout.__animate(),this.mobileOpened&&(this.__preventScroll(!1),this.mobileOpened=!1),this.applyPosition((this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)*this.size),this.applyBackdrop(0),document.body.classList.remove(Vn),clearTimeout(this.timer),this.timer=setTimeout(function(){t.hidePromise&&t.hidePromiseResolve()},150)},__onResize:function(t){var e=t.width;this.__update("size",e),this.__updateLocal("size",e)},__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)}}},Wn={name:"QLayoutFooter",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}},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.scrollHeight":function(){this.__updateRevealed()},size:function(){this.__updateRevealed()}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("F")>-1},offset:function(){if(!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.layout.height+this.layout.scroll.position+this.size-this.layout.scrollHeight;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.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.bottom,e={};return"l"===t[0]&&this.layout.left.space&&(e["margin"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e["margin"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),e}},render:function(t){return t("footer",{staticClass:"q-layout-footer q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(yn,{props:{debounce:0},on:{resize:this.__onResize}}),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)},__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=this.layout.scrollHeight,i=this.layout.height;this.__updateLocal("revealed","up"===t.direction||t.position-t.inflexionPosition<100||e-i-t.position<this.size+300)}}}},Kn={name:"QLayoutHeader",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},offset:function(){if(!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.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.top,e={};return"l"===t[0]&&this.layout.left.space&&(e["margin"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e["margin"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),e}},render:function(t){return t("header",{staticClass:"q-layout-header q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(yn,{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)}}},Yn={name:"QPage",inject:{pageContainer:{default:function(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean},computed:{computedStyle:function(){var t=(this.layout.header.space?this.layout.header.size:0)+(this.layout.footer.space?this.layout.footer.size:0);return{minHeight:t?"calc(100vh - "+t+"px)":"100vh"}},computedClass:function(){if(this.padding)return"layout-padding"}},render:function(t){return t("main",{staticClass:"q-layout-page",style:this.computedStyle,class:this.computedClass},[this.$slots.default])}},Jn={name:"QPageContainer",inject:{layout:{default:function(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{computedStyle: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.computedStyle},[this.$slots.default])}},Gn={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?d(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 z-fixed row flex-center",class:this.classes,style:this.computedStyle},[this.expand?this.$slots.default:t("span",[this.$slots.default])])}},Xn={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=St(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},__repeatTimeout:function(t){return Math.max(100,300-t*t*10)},__getBool:function(t,e){return[!0,!1].includes(t)?t:e},__getBtn:function(t,e){return t(le,M(!0,{props:{color:this.color,flat:!0,size:this.size}},e))}},render:function(t){var e=this,i=[],n=[],r=[];if(this.__boundaryLinks&&(i.push(this.__getBtn(t,{key:"bls",props:{disable:this.disable||this.value<=this.min,icon:this.icons[0]},on:{click:function(){return e.set(e.min)}}})),n.unshift(this.__getBtn(t,{key:"ble",props:{disable:this.disable||this.value>=this.max,icon:this.icons[3]},on:{click:function(){return e.set(e.max)}}}))),this.__directionLinks&&(i.push(this.__getBtn(t,{key:"bdp",props:{disable:this.disable||this.value<=this.min,icon:this.icons[1],repeatTimeout:this.__repeatTimeout},on:{click:function(){return e.setByOffset(-1)}}})),n.unshift(this.__getBtn(t,{key:"bdn",props:{disable:this.disable||this.value>=this.max,icon:this.icons[2],repeatTimeout:this.__repeatTimeout},on:{click:function(){return e.setByOffset(1)}}}))),this.input)r.push(t(xn,{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===B(t)&&e.__update()},blur:function(){return e.__update()}}}));else{var o=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),s=this.min,a=this.max,l=!1,c=!1,u=!1,h=!1;this.maxPages&&o<this.max-this.min+1&&(o=1+2*Math.floor(o/2),s=Math.max(this.min,Math.min(this.max-o+1,this.value-Math.floor(o/2))),a=Math.min(this.max,s+o-1),this.__boundaryNumbers&&(u=!0,s+=1),this.__ellipses&&s>this.min+(this.__boundaryNumbers?1:0)&&(l=!0,s+=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,props:{disable:this.disable,flat:!f,textColor:f?this.textColor:null,label:this.min,noRipple:!0},on:{click:function(){return e.set(e.min)}}}))}if(h){var p=this.max===this.value;n.unshift(this.__getBtn(t,{key:"bne",style:d,props:{disable:this.disable,flat:!p,textColor:p?this.textColor:null,label:this.max,noRipple:!0},on:{click:function(){return e.set(e.max)}}}))}l&&i.push(this.__getBtn(t,{key:"bes",style:d,props:{disable:this.disable,label:"…",repeatTimeout:this.__repeatTimeout},on:{click:function(){return e.set(s-1)}}})),c&&n.unshift(this.__getBtn(t,{key:"bee",style:d,props:{disable:this.disable,label:"…",repeatTimeout:this.__repeatTimeout},on:{click:function(){return e.set(a+1)}}}));for(var m=function(i){var n=i===e.value;r.push(e.__getBtn(t,{key:i+"."+n,style:d,props:{disable:e.disable,flat:!n,textColor:n?e.textColor:null,label:i,noRipple:!0},on:{click:function(){return e.set(i)}}}))},v=s;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])}},Zn={name:"QParallax",props:{src:{type:String,required:!0},height:{type:Number,default:500},speed:{type:Number,default:1,validator:function(t){return t>=0&&t<=1}}},data:function(){return{imageHasBeenLoaded:!1,scrolling:!1}},watch:{src:function(){this.imageHasBeenLoaded=!1},height:function(){this.__updatePos()}},methods:{__processImage:function(){this.imageHasBeenLoaded=!0,this.__onResize()},__onResize:function(){this.imageHasBeenLoaded&&this.scrollTarget&&(this.scrollTarget===window&&(this.viewportHeight=c().height),this.imageHeight=s(this.image),this.__updatePos())},__updatePos:function(){var t,e,i,n;if(this.imageHasBeenLoaded&&(this.scrollTarget===window?(t=0,i=e=this.viewportHeight):i=(t=r(this.scrollTarget).top)+(e=s(this.scrollTarget)),(n=r(this.container).top)+this.height>t&&n<i)){var o=(i-n)/(this.height+e);this.__setPos(Math.round((this.imageHeight-this.height)*o*this.speed))}},__setPos:function(t){l(this.$refs.img,d("translate3D(-50%,"+t+"px, 0)"))}},render:function(t){return t("div",{staticClass:"q-parallax",style:{height:this.height+"px"}},[t("div",{staticClass:"q-parallax-image absolute-full"},[t("img",{ref:"img",domProps:{src:this.src},class:{ready:this.imageHasBeenLoaded},on:{load:this.__processImage}})]),t("div",{staticClass:"q-parallax-text absolute-full column flex-center"},[this.imageHasBeenLoaded?this.$slots.default:this.$slots.loading])])},created:function(){this.__setPos=ge(this.__setPos)},mounted:function(){var t=this;this.$nextTick(function(){t.container=t.$el,t.image=t.$refs.img,t.scrollTarget=V(t.$el),t.resizeHandler=ve(t.__onResize,50),window.addEventListener("resize",t.resizeHandler,L.passive),t.scrollTarget.addEventListener("scroll",t.__updatePos,L.passive),t.__onResize()})},beforeDestroy:function(){window.removeEventListener("resize",this.resizeHandler,L.passive),this.scrollTarget.removeEventListener("scroll",this.__updatePos,L.passive)}};function tr(t){return{width:t+"%"}}var er={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 St(this.percentage,0,100)},bufferModel:function(){return St(this.buffer||0,0,100-this.model)},bufferStyle:function(){return tr(this.bufferModel)},trackStyle:function(){return tr(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 tr(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})])}},ir={name:"QPullToRefresh",directives:{TouchPan:Ne},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:-65,height:65,animating:!1,pulling:!1,scrolling:!1}},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 d("translateY("+this.pullPosition+"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(-this.height));if(this.animating||this.scrolling||"refreshing"===this.state)return!0;var e=U(this.scrollContainer);if(0!==e||0===e&&"down"!==t.direction)return this.scrolling=!0,this.pulling&&(this.pulling=!1,this.state="pull",this.__animateTo(-this.height)),!0;t.evt.preventDefault(),this.pulling=!0,this.pullPosition=-this.height+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=window.requestAnimationFrame(function(){n.__animateTo(t,e,!0)}):this.animating=window.requestAnimationFrame(function(){n.pullPosition=t,n.animating=!1,e&&e()})},trigger:function(){var t=this;this.handler(function(){t.__animateTo(-t.height,function(){t.state="pull"})})}},mounted:function(){var t=this;this.$nextTick(function(){t.scrollContainer=t.inline?t.$el.parentNode:V(t.$el)})},render:function(t){return t("div",{staticClass:"pull-to-refresh"},[t("div",{staticClass:"pull-to-refresh-container",style:this.style,directives:[{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])])}},nr=0,rr=1,or=2,sr={name:"QRange",mixins:[xi],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:M({},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),o={left:i.getBoundingClientRect().left,width:n,valueMin:this.model.min,valueMax:this.model.max,percentageMin:this.currentMinPercentage,percentageMax:this.currentMaxPercentage},s=yi(t,o,this.$q.i18n.rtl);return s<this.currentMinPercentage+r?e=nr:s<this.currentMaxPercentage-r?this.dragRange||this.dragOnlyRange?(e=rr,M(o,{offsetPercentage:s,offsetModel:Ci(s,this.min,this.max,this.step,this.computedDecimals),rangeValue:o.valueMax-o.valueMin,rangePercentage:this.currentMaxPercentage-this.currentMinPercentage})):e=this.currentMaxPercentage-s<s-this.currentMinPercentage?or:nr:e=or,(!this.dragOnlyRange||e===rr)&&(o.type=e,o)},__move:function(t,e){void 0===e&&(e=this.dragging);var i,n=yi(t,e,this.$q.i18n.rtl),r=Ci(n,this.min,this.max,this.step,this.computedDecimals);switch(e.type){case nr: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 or: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 rr:var o=n-e.offsetPercentage,s=St(e.percentageMin+o,0,1-e.rangePercentage),a=r-e.offsetModel,l=St(e.valueMin+a,this.min,this.max-e.rangeValue);i={minP:s,maxP:s+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)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):wi((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):wi((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):wi((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,o,s){var a;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}]},[this.label||this.labelAlways?t(ai,{props:{pointing:"down",square:!0,dense:!0,color:o},staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways}},[s]):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)]}}},ar={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=St(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(st,{key:r,ref:"rt"+r,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:n},nativeOn:{click:function(t){t.target.blur(),e.set(r)},mouseover:function(){return e.__setHoverValue(r)},mouseout:function(){e.mouseModel=0},keydown:function(t){switch(B(t)){case 13:case 32:return e.set(r),j(t);case 37:case 40:return e.$refs["rt"+(r-1)]&&e.$refs["rt"+(r-1)].$el.focus(),j(t);case 39:case 38:return e.$refs["rt"+(r+1)]&&e.$refs["rt"+(r+1)].$el.focus(),j(t)}},focus:function(){return e.__setHoverValue(r)},blur:function(){e.mouseModel=0}}}))},o=1;o<=this.max;o++)r(o);return t("div",{staticClass:"q-rating row inline items-center no-wrap",class:this.classes,style:this.size?"font-size: "+this.size:""},i)}},lr={name:"QScrollArea",directives:{TouchPan:Ne},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(St(this.containerHeight*this.containerHeight/this.scrollHeight,50,this.containerHeight))},style:function(){var t=this.scrollPercentage*(this.containerHeight-this.thumbHeight);return M({},this.thumbStyle,{top:t+"px",height:this.thumbHeight+"px"})},mainStyle:function(){return this.thumbHidden?this.contentStyle:this.contentActiveStyle},scrollPercentage:function(){var t=St(this.scrollPosition/(this.scrollHeight-this.containerHeight),0,1);return Math.round(1e4*t)/1e4}},methods:{setScrollPosition:function(t,e){Y(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+=F(t).pixelY,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(yn,{on:{resize:this.__updateScrollHeight}}),this.$slots.default]),t(wn,{on:{scroll:this.__updateScroll}})]),t(yn,{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])])}},cr={name:"QSearch",mixins:[ci,ui],props:{value:{required:!0},type:String,debounce:{type:Number,default:300},icon:String,placeholder:String,noIcon:Boolean},data:function(){return{model:this.value,childDebounce:!1}},provide:function(){var t=this;return{__inputDebounce:{set:function(e){t.model!==e&&(t.model=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},controlBefore:function(){return this.before||(this.noIcon?null:[{icon:this.icon||this.$q.icon.search.icon,handler:this.focus}])},controlAfter:function(){return this.after?this.after:this.editable&&this.clearable?[{icon:this.$q.icon.search["clear"+(this.isInverted?"Inverted":"")],content:!0,handler:this.clear}]:void 0}},methods:{clear:function(){this.$refs.input.clear()}},render:function(t){var e=this;return t(xn,{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,before:this.controlBefore,after:this.controlAfter,clearValue:this.clearValue},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,clear:function(t){e.$emit("clear",t),e.__emit()}}},[this.$slots.default])}};function ur(t,e){return e.label.toLowerCase().indexOf(t)>-1}var hr={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("q-input-frame",{ref:"input",staticClass:"q-select",attrs:{prefix:t.prefix,suffix:t.suffix,"stack-label":t.stackLabel,"float-label":t.floatLabel,error:t.error,warning:t.warning,disable:t.disable,inverted:t.inverted,invertedLight:t.invertedLight,dark:t.dark,"hide-underline":t.hideUnderline,before:t.before,after:t.after,color:t.color,"no-parent-field":t.noParentField,focused:t.focused,focusable:"",length:t.length,"additional-length":t.additionalLength},nativeOn:{click:function(e){return t.togglePopup(e)},focus:function(e){return t.__onFocus(e)},blur:function(e){return t.__onBlur(e)},keydown:function(e){return t.__keyboardHandleKey(e)}}},[t.hasChips?i("div",{staticClass:"col row items-center group q-input-chips",class:t.alignClass},t._l(t.selectedOptions,function(e){return i("q-chip",{key:e.label,attrs:{small:"",closable:!t.disable&&!t.readonly&&!e.disable,color:t.__getChipBgColor(e.color),"text-color":t.__getChipTextColor(e.color),icon:e.icon,iconRight:e.rightIcon,avatar:e.avatar},on:{hide:function(i){t.__toggleMultiple(e.value,t.disable||e.disable)}},nativeOn:{click:function(t){t.stopPropagation()}}},[t._v(" "+t._s(e.label)+" ")])})):i("div",{staticClass:"col q-input-target ellipsis",class:t.fakeInputClasses},[t._v(" "+t._s(t.fakeInputValue)+" ")]),t._v(" "),!t.disable&&!t.readonly&&t.clearable&&t.length?i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:"cancel"},nativeOn:{click:function(e){return e.stopPropagation(),t.clear(e)}},slot:"after"}):t._e(),t._v(" "),i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:t.$q.icon.input.dropdown},slot:"after"}),t._v(" "),i("q-popover",{ref:"popover",staticClass:"column no-wrap",class:t.dark?"bg-dark":null,attrs:{fit:"",disable:t.readonly||t.disable,"anchor-click":!1},on:{show:t.__onShow,hide:t.__onClose}},[t.filter?i("q-search",{ref:"filter",staticClass:"col-auto",staticStyle:{padding:"10px"},attrs:{placeholder:t.filterPlaceholder||t.$q.i18n.label.filter,debounce:100,color:t.color,dark:t.dark,"no-parent-field":"","no-icon":""},on:{input:t.reposition},nativeOn:{keydown:function(e){return t.__keyboardHandleKey(e)}},model:{value:t.terms,callback:function(e){t.terms=e},expression:"terms"}}):t._e(),t._v(" "),t.visibleOptions.length?i("q-list",{staticClass:"no-border scroll",attrs:{separator:t.separator,dark:t.dark}},[t.multiple?t._l(t.visibleOptions,function(e,n){return i("q-item-wrapper",{key:JSON.stringify(e),class:[e.disable?"text-faded":"cursor-pointer",n===t.keyboardIndex?"q-select-highlight":""],attrs:{cfg:e,link:!e.disable,"slot-replace":""},nativeOn:{"!click":function(i){t.__toggleMultiple(e.value,e.disable)},mouseenter:function(i){return r=i,!e.disable&&t.__mouseEnterHandler(r,n);var r}}},[t.toggle?i("q-toggle",{attrs:{slot:"right","keep-color":"",color:e.color||t.color,dark:t.dark,value:t.optModel[e.index],disable:e.disable,"no-focus":""},slot:"right"}):i("q-checkbox",{attrs:{slot:"left","keep-color":"",color:e.color||t.color,dark:t.dark,value:t.optModel[e.index],disable:e.disable,"no-focus":""},slot:"left"})],1)}):t._l(t.visibleOptions,function(e,n){return i("q-item-wrapper",{key:JSON.stringify(e),class:[e.disable?"text-faded":"cursor-pointer",n===t.keyboardIndex?"q-select-highlight":""],attrs:{cfg:e,link:!e.disable,"slot-replace":"",active:t.value===e.value},nativeOn:{"!click":function(i){t.__singleSelect(e.value,e.disable)},mouseenter:function(i){return r=i,!e.disable&&t.__mouseEnterHandler(r,n);var r}}},[t.radio?i("q-radio",{attrs:{slot:"left","keep-color":"",color:e.color||t.color,value:t.value,val:e.value,disable:e.disable,"no-focus":""},slot:"left"}):t._e()],1)})],2):t._e()],1)],1)},staticRenderFns:[],name:"QSelect",mixins:[ci,Se],components:{QSearch:cr,QPopover:_e,QList:bt,QItemWrapper:_t,QCheckbox:si,QRadio:kn,QToggle:Sn,QIcon:st,QInputFrame:di,QChip:ai},props:{filter:[Function,Boolean],filterPlaceholder:String,autofocusFilter:Boolean,radio:Boolean,placeholder:String,separator:Boolean,value:{required:!0},multiple:Boolean,toggle:Boolean,chips:Boolean,readonly: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,clearable:Boolean,clearValue:{}},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},keyboardIndex:function(t){var e=this;this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){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)}})},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 M({},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?ur: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(", "):""},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},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[this.$refs.popover.showing?"hide":"show"]()},show:function(){return this.__keyboardCalcIndex(),this.$refs.popover.show()},hide:function(){return this.$refs.popover.hide()},reposition:function(){var t=this.$refs.popover;t.showing&&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 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.autofocusFilter&&this.$refs.filter.focus())},__onBlur:function(t){var e=this;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(){var t=this;this.terms="",this.focused=!1,this.$emit("blur"),this.$nextTick(function(){JSON.stringify(t.model)!==JSON.stringify(t.value)&&t.$emit("change",t.model)})},__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?i.splice(n,1):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.showing||this.__onClose()},__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}}},dr={name:"QStepTab",components:{QIcon:st},directives:{Ripple:Bt},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])}},fr={name:"QStep",inject:{__stepper:{default:function(){console.error("QStep needs to be child of QStepper")}}},props:{name:{type:[Number,String],default:function(){return ke()}},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}}},methods:{select:function(){this.done&&this.__stepper.goToStep(this.name)}},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(dr,{props:{vm:this}}):null,t(vi,[this.active?t("div",{staticClass:"q-stepper-step-content"},[t("div",{staticClass:"q-stepper-step-inner"},[this.$slots.default])]):null])])}},pr={name:"QStepper",components:{StepTab:dr},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{step:this.value||null,steps:[]}},provide:function(){return{__stepper:this}},watch:{value:function(t){this.goToStep(t)}},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=ge(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(dr,{key:e.name,props:{vm:e}})})),this.$slots.default])}},mr={name:"QStepperNavigation",render:function(t){return t("div",{staticClass:"q-stepper-nav order-last row no-wrap items-center"},[this.$slots.left,t("div",{staticClass:"col"}),this.$slots.default])}},vr={directives:{Ripple:Bt},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return ke()}},alert:Boolean,count:[Number,String],color:String},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-only-label":!this.icon&&this.label,"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;"}},methods:{__getTabContent:function(t){var e=[];return this.icon&&e.push(t(st,{staticClass:"q-tab-icon",props:{name:this.icon}})),this.label&&e.push(t("div",{staticClass:"q-tab-label",domProps:{innerHTML:this.label}})),this.count?e.push(t(ai,{props:{floating:!0}},[this.count])):this.alert&&e.push(t("div",{staticClass:"q-dot"})),e.push(this.$slots.default),e.push(t("div",{staticClass:"q-tabs-bar",style:this.barStyle})),e}}},gr={name:"QRouteTab",mixins:[vr,ut],inject:{selectTabRouter:{}},watch:{$route:function(){this.checkIfSelected()}},methods:{select:function(){this.$emit("click",this.name),this.disable||(this.$el.dispatchEvent(ct),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})})}},created:function(){this.checkIfSelected()},render:function(t){return t("router-link",{props:{tag:"div",to:this.to,exact:this.exact,append:this.append,replace:this.replace,event:"qrouterlinkclick",activeClass:"q-router-link-active",exactActiveClass:"q-router-link-exact-active"},nativeOn:{click:this.select},staticClass:"q-tab column flex-center relative-position",class:this.classes,directives:[{name:"ripple"}]},this.__getTabContent(t))}},_r={name:"QTab",mixins:[vr],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){return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,on:{click:this.select},directives:[{name:"ripple"}]},this.__getTabContent(t))}},br={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}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:{hidden:!this.active}},[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}},yr={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"q-tabs flex no-wrap",class:t.classes},[i("div",{ref:"tabs",staticClass:"q-tabs-head row",class:t.innerClasses},[i("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[t._t("title"),t._v(" "),"ios"!==t.$q.theme?i("div",{staticClass:"relative-position self-stretch q-tabs-global-bar-container",class:t.posbarClasses},[i("div",{ref:"posbar",staticClass:"q-tabs-bar q-tabs-global-bar",on:{transitionend:t.__updatePosbarTransition}})]):t._e()],2),t._v(" "),i("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:function(e){t.__animScrollTo(0)},touchstart:function(e){t.__animScrollTo(0)},mouseup:t.__stopAnimScroll,mouseleave:t.__stopAnimScroll,touchend:t.__stopAnimScroll}},[i("q-icon",{attrs:{name:t.$q.icon.tabs.left}})],1),t._v(" "),i("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:function(e){t.__animScrollTo(9999)},touchstart:function(e){t.__animScrollTo(9999)},mouseup:t.__stopAnimScroll,mouseleave:t.__stopAnimScroll,touchend:t.__stopAnimScroll}},[i("q-icon",{attrs:{name:t.$q.icon.tabs.right}})],1)]),t._v(" "),i("div",{staticClass:"q-tabs-panes"},[t._t("default")],2)])},staticRenderFns:[],name:"QTabs",provide:function(){return{data:this.data,selectTab:this.selectTab,selectTabRouter:this.selectTabRouter}},components:{QIcon:st},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,noPaneBorder:Boolean,glossy:Boolean},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}}},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}},computed:{classes:function(){return["q-tabs-position-"+this.position,"q-tabs-"+(this.inverted?"inverted":"normal"),this.noPaneBorder?"q-tabs-no-pane-border":"",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:{selectTab:function(t){if(this.data.tabName!==t){this.data.tabName=t,this.$emit("input",t),this.$emit("select",t);var e=this.__getTabElByName(t);e?(this.__scrollToTab(e),this.currentEl=e,this.oldEl?this.__repositionBar():this.oldEl=e):this.oldEl=null}},selectTabRouter:function(t){var e=this,i=t.value,n=t.selectable,r=t.exact,o=t.selected,s=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),o&&(c.selected=o),s&&(c.priority=s)}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))},__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,o=n.offsetLeft-r;i.classList.remove("contract"),t.oldEl=n,t.finalPosbar={width:e,left:o},t.__setPositionBar(t.posbar.left<o?o+e-t.posbar.left:t.posbar.left+t.posbar.width-o,t.posbar.left<o?t.posbar.left:o)},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;l(this.$refs.posbar,d("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=a(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+a(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)},200)},__scrollToTab:function(t,e){if(t&&this.scrollable){var i=this.$refs.scroller.getBoundingClientRect(),n=t.getBoundingClientRect(),r=n.width,o=n.left-i.left;o<0?e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o):(o+=r-this.$refs.scroller.offsetWidth)>0&&(e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,i=t<e?-1:1,n=!1;return(e+=5*i)<0?(n=!0,e=0):(-1===i&&e<=t||1===i&&e>=t)&&(n=!0,e=t),this.$refs.scroller.scrollLeft=e,n}},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=ve(this.__redraw,50),this.__updateScrollIndicator=ve(this.__updateScrollIndicator,50)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,L.passive),window.addEventListener("resize",t.__redraw,L.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,L.passive),window.removeEventListener("resize",this.__redraw,L.passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}},wr={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=[this.$slots.default];if(n){if(!(e=this.props.colsMap[n]))return}else e=this.props.col;e.sortable&&r["right"===e.align?"unshift":"push"](t(st,{props:{name:this.$q.icon.table.arrowUp},staticClass:e.__iconClass}));return t("th",{class:[e.__thClass,{"q-table-col-auto-width":this.autoWidth}],on:e.sortable?{click:function(){i.props.sort(e)}}:null},r)}};var Cr={name:"QTable",mixins:[Xe,{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"],o=this.hasSelectionMode&&r&&this.rowsSelectedNumber>0,s="q-table-top relative-position row items-center",a=[];return e?t("div",{staticClass:s},[e(this.marginalsProps)]):(o?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:s},a):void 0)}}},{methods:{getTableHeader:function(t){if(!this.hideHeader){var e=[this.getTableHeaderRow(t)];return this.loading&&e.push(t("tr",{staticClass:"q-table-progress animate-fade"},[t("td",{attrs:{colspan:"100%"}},[t(er,{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(wr,{key:e.name,props:{props:{col:e,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap}}},e.label)};var o=this.computedCols.map(e);return this.singleSelection?o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[" "])):this.multipleSelection&&o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[t(si,{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",o)},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}}},{methods:{getTableBody:function(t){var e=this,i=this.$scopedSlots.body,n=this.$scopedSlots["body-cell"],r=this.$scopedSlots["top-row"],o=this.$scopedSlots["bottom-row"],s=[];return s=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],o=e.isRowSelected(r),s=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},e.getCellValue(n,i))});return e.hasSelectionMode&&s.unshift(t("td",{staticClass:"q-table-col-auto-width"},[t(si,{props:{value:o,color:e.color,dark:e.dark},on:{input:function(t){e.__updateSelection([r],[i],t)}}})])),t("tr",{key:r,class:{selected:o}},s)}),r&&s.unshift(r({cols:this.computedCols})),o&&s.push(o({cols:this.computedCols})),t("tbody",s)},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=M({},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}}},{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.selectedRows)(this.rowsSelectedNumber):""])]),t("div",{staticClass:"q-table-separator col"}),t("div",{staticClass:"q-table-control"},[t("span",{staticClass:"q-table-bottom-item"},[this.rowsPerPageLabel||this.$q.i18n.table.rowsPerPage]),t(hr,{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})}}})]),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(le,{props:{color:this.color,round:!0,icon:this.navIcon[0],dense:!0,flat:!0,disable:this.isFirstPage},on:{click:this.prevPage}}),t(le,{props:{color:this.color,round:!0,icon:this.navIcon[1],dense:!0,flat:!0,disable:this.isLastPage},on:{click:this.nextPage}})]])]}}},{props:{sortMethod:{type:Function,default:function(t,e,i){var n=this.computedCols.find(function(t){return t.name===e});if(null===n||void 0===n.field)return t;var r=i?-1:1,o="function"==typeof n.field?function(t){return n.field(t)}:function(t){return t[n.field]};return t.sort(function(t,e){var i,s=o(t),a=o(e);return null===s||void 0===s?-1*r:null===a||void 0===a?1*r:n.sort?n.sort(s,a)*r:De(s)&&De(a)?(s-a)*r:Ie(s)&&Ie(a)?function(t,e){return new Date(t)-new Date(e)}(s,a)*r:"boolean"==typeof s&&"boolean"==typeof a?(t-e)*r:(s=(i=[s,a].map(function(t){return(t+"").toLowerCase()}))[0])<(a=i[1])?-1*r:s===a?0:r})}}},computed:{columnToSort:function(){var t=this.computedPagination.sortBy;if(t)return this.computedCols.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):n?i=null:n=!0,this.setPagination({sortBy:i,descending:n,page:1})}}},{props:{filter:String,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)})})}}},computed:{hasFilter:function(){return void 0!==this.filter&&this.filter.length>0}},watch:{filter:function(){var t=this;this.$nextTick(function(){t.setPagination({page:1})})}}},{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 M({},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 this.computedPagination.page<=1},pagesNumber:function(){var t=this.computedPagination.rowsPerPage;return Math.ceil(this.computedRowsNumber/t)},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){var e=this.computedPagination.page;t&&!e?this.setPagination({page:1}):t<e&&this.setPagination({page:t})}},methods:{setPagination:function(t){var e=M({},this.computedPagination,t);this.isServerSide?this.requestServerInteraction({pagination:e}):this.pagination?this.$emit("update:pagination",e):this.innerPagination=e},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",M({},this.computedPagination))}},{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])}))}}},{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}}},{data:function(){return{rowsExpanded:{}}}}],props:{data:{type:Array,default:function(){return[]}},rowKey:{type:String,default:"id"},color:{type:String,default:"grey-8"},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)}},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.hasFilter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),this.columnToSort&&(t=this.sortMethod(t,i,n));var o=t.length;return r&&(t=t.slice(this.firstRowIndex,this.lastRowIndex)),{rowsNumber:o,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-container":!0,"q-table-dark":this.dark,"q-table-dense":this.dense,fullscreen:this.inFullscreen,scroll:this.inFullscreen}},[this.getTop(t),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":"")},[this.getTableHeader(t),this.getTableBody(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})})}}},xr={name:"QTr",props:{props:Object},render:function(t){return t("tr",!this.props||this.props.header?{}:{class:this.props.__trClass},[this.$slots.default])}},kr={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])}},Sr={name:"QTableColumns",props:{value:{type:Array,required:!0},label:String,columns:{type:Array,required:!0},color:String},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(hr,{props:{multiple:!0,toggle:!0,value:this.value,options:this.computedOptions,displayValue:this.label||this.$q.i18n.table.columns,color:this.color,hideUnderline:!0},on:{input:function(t){e.$emit("input",t)},change:function(t){e.$emit("change",t)}}})}},qr={name:"QTimeline",provide:function(){return{__timeline:this}},props:{color:{type:String,default:"primary"},dark:Boolean},render:function(t){return t("ul",{staticClass:"q-timeline",class:{"q-timeline-dark":this.dark}},[this.$slots.default])}},$r={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},[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"},[t("h6",{staticClass:"q-timeline-title"},[this.title]),this.$slots.default])])}},Tr={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])}},Pr={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])}},Mr={name:"QTree",directives:{Ripple:Bt},props:{nodes:Array,nodeKey:{type:String,required:!0},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.label&&t.label.toLowerCase().indexOf(i)>-1}},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(n,r){var o=n.tickStrategy||(r?r.tickStrategy:t.tickStrategy),s=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"!==o,d="strict"===o,f="leaf-filtered"===o,p="leaf"===o||"leaf-filtered"===o,m=!n.disabled&&!1!==n.tickable;p&&m&&r&&!r.tickable&&(m=!1);var v=n.lazy;v&&t.lazy[s]&&(v=t.lazy[s]);var g={key:s,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:s===t.selected&&c,selectable:c,expanded:!!a&&t.innerExpanded.includes(s),expandable:u,noTick:n.noTick||!d&&v&&"loaded"!==v,tickable:m,tickStrategy:o,hasTicking:h,strictTicking:d,leafFilteredTicking:f,leafTicking:p,ticked:d?t.innerTicked.includes(s):!!l&&t.innerTicked.includes(s)};if(e[s]=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 _=g.children.reduce(function(t,e){return e.ticked?t+1:t},0);_===g.children.length?g.ticked=!0:_>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(r,o){return r||!o?r:Array.isArray(o)?i.call(Object(o),n,r):o[e.nodeKey]===t?o:o.children?n(null,o.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(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 o=[];this.meta[t].parent?this.meta[t].parent.children.forEach(function(e){e.key!==t&&e.expandable&&o.push(e.key)}):this.nodes.forEach(function(e){var n=e[i.nodeKey];n!==t&&o.push(n)}),o.length>0&&(n=n.filter(function(t){return!o.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}}):e.img||e.avatar?t("img",{staticClass:"q-tree-img q-mr-sm",class:{avatar:e.avatar},domProps:{src:e.img||e.avatar}}):void 0},__getNode:function(t,e){var i=this,n=e[this.nodeKey],r=this.meta[n],o=e.header&&this.$scopedSlots["header-"+e.header]||this.$scopedSlots["default-header"],s=r.isParent?this.__getChildren(t,e.children):[],a=s.length>0||r.lazy&&"loaded"!==r.lazy,l=e.body&&this.$scopedSlots["body-"+e.body]||this.$scopedSlots["default-body"],c=o||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(ae,{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(si,{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,o?o(c):[this.__getNodeMedia(t,e),t("span",e.label)]])]),a?t(vi,[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}},s)])]):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){t.isParent?(i||t.noTick||!t.tickable||n.push(t.key),t.leafTicking&&t.children.forEach(r)):t.noTick||!t.tickable||t.leafFilteredTicking&&!t.matchesFilter||n.push(t.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 Er(t){t.__doneUploading=!1,t.__failed=!1,t.__uploaded=0,t.__progress=0}var Lr={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"q-uploader relative-position",class:t.classes,on:{dragover:function(e){return e.preventDefault(),e.stopPropagation(),t.__onDragOver(e)}}},[i("q-input-frame",{ref:"input",attrs:{prefix:t.prefix,suffix:t.suffix,"stack-label":t.stackLabel,"float-label":t.floatLabel,error:t.error,warning:t.warning,disable:t.disable,inverted:t.inverted,invertedLight:t.invertedLight,dark:t.dark,"hide-underline":t.hideUnderline,before:t.before,after:t.after,color:t.color,align:t.align,"no-parent-field":t.noParentField,length:t.queueLength,"additional-length":""}},[i("div",{staticClass:"col q-input-target ellipsis",class:t.alignClass},[t._v(" "+t._s(t.label)+" ")]),t._v(" "),t.uploading?i("q-spinner",{staticClass:"q-if-end self-center",attrs:{slot:"after",size:"24px"},slot:"after"}):t._e(),t._v(" "),t.uploading?i("q-icon",{staticClass:"q-if-end self-center",attrs:{slot:"after",name:t.$q.icon.uploader["clear"+(t.isInverted?"Inverted":"")]},nativeOn:{click:function(e){return t.abort(e)}},slot:"after"}):t._e(),t._v(" "),t.uploading?t._e():i("q-icon",{staticClass:"q-uploader-pick-button q-if-control relative-position overflow-hidden",attrs:{slot:"after",name:t.$q.icon.uploader.add,disabled:t.addDisabled},nativeOn:{click:function(e){return t.__pick(e)}},slot:"after"},[i("input",t._b({ref:"file",staticClass:"q-uploader-input absolute-full cursor-pointer",attrs:{type:"file",accept:t.extensions},on:{change:t.__add}},"input",{multiple:t.multiple},!0))]),t._v(" "),t.hideUploadButton||t.uploading?t._e():i("q-icon",{staticClass:"q-if-control",attrs:{slot:"after",name:t.$q.icon.uploader.upload,disabled:0===t.queueLength},nativeOn:{click:function(e){return t.upload(e)}},slot:"after"}),t._v(" "),t.hasExpandedContent?i("q-icon",{staticClass:"q-if-control generic_transition",class:{"rotate-180":t.expanded},attrs:{slot:"after",name:t.$q.icon.uploader.expand},nativeOn:{click:function(e){t.expanded=!t.expanded}},slot:"after"}):t._e()],1),t._v(" "),i("q-slide-transition",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}]},[i("q-list",{staticClass:"q-uploader-files q-py-none scroll",style:t.filesStyle,attrs:{dark:t.dark}},t._l(t.files,function(e){return i("q-item",{key:e.name+e.__timestamp,staticClass:"q-uploader-file q-pa-xs"},[t.hideUploadProgress?t._e():i("q-progress",{staticClass:"q-uploader-progress-bg absolute-full",attrs:{color:e.__failed?"negative":t.progressColor,percentage:e.__progress,height:"100%"}}),t._v(" "),t.hideUploadProgress?t._e():i("div",{staticClass:"q-uploader-progress-text absolute"},[t._v(" "+t._s(e.__progress)+"% ")]),t._v(" "),e.__img?i("q-item-side",{attrs:{image:e.__img.src}}):i("q-item-side",{attrs:{icon:t.$q.icon.uploader.file,color:t.color}}),t._v(" "),i("q-item-main",{attrs:{label:e.name,sublabel:e.__size}}),t._v(" "),i("q-item-side",{attrs:{right:""}},[i("q-item-tile",{staticClass:"cursor-pointer",attrs:{icon:t.$q.icon.uploader[e.__doneUploading?"done":"clear"],color:t.color},nativeOn:{click:function(i){t.__remove(e)}}})],1)],1)}))],1)]),t._v(" "),t.dnd?i("div",{staticClass:"q-uploader-dnd flex row items-center justify-center absolute-full",class:t.dndClass,on:{dragenter:function(t){t.preventDefault(),t.stopPropagation()},dragover:function(t){t.preventDefault(),t.stopPropagation()},dragleave:function(e){return e.preventDefault(),e.stopPropagation(),t.__onDragLeave(e)},drop:function(e){return e.preventDefault(),e.stopPropagation(),t.__onDrop(e)}}}):t._e()],1)},staticRenderFns:[],name:"QUploader",mixins:[ci],components:{QInputFrame:di,QSpinner:ae,QIcon:st,QProgress:er,QList:bt,QItem:ht,QItemSide:mt,QItemMain:pt,QItemTile:vt,QSlideTransition:vi},props:{name:{type:String,default:"file"},headers:Object,url:{type:String,required:!0},urlFactory:{type:Function,required:!1},additionalFields:{type:Array,default:function(){return[]}},method:{type:String,default:"POST"},extensions:String,multiple:Boolean,hideUploadButton:Boolean,hideUploadProgress:Boolean,noThumbnails:Boolean,autoExpand:Boolean,expandStyle:[Array,String,Object],expandClass:[Array,String,Object],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=xt(this.totalSize);return this.uploading?this.progress.toFixed(2)+"% ("+xt(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.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(){this.dnd=!0},__onDragLeave:function(){this.dnd=!1},__onDrop:function(t){this.dnd=!1;var e=t.dataTransfer.files;0!==e.length&&(e=this.multiple?e:[e[0]],this.extensions&&0===(e=this.__filter(e)).length||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.$refs.file.value="";var n=[];(e=e.filter(function(t){return!i.queue.some(function(e){return t.name===e.name})}).map(function(t){if(Er(t),t.__size=xt(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.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.__computeTotalSize()},__pick:function(){!this.addDisabled&&this.$q.platform.is.mozilla&&this.$refs.file.click()},__getUploadPromise:function(t){var e=this,i=new FormData,n=new XMLHttpRequest;try{this.additionalFields.forEach(function(t){i.append(t.name,t.value)}),i.append("Content-Type",t.type||"application/octet-stream"),i.append(this.name,t)}catch(t){return}return Er(t),t.xhr=n,new Promise(function(r,o){n.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),n.onreadystatechange=function(){n.readyState<4||(n.status&&n.status<400?(t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t,n),r(t)):(t.__failed=!0,e.$emit("fail",t,n),o(n)))},n.onerror=function(){t.__failed=!0,e.$emit("fail",t,n),o(n)},(e.urlFactory?e.urlFactory(t):Promise.resolve(e.url)).then(function(r){n.open(e.method,r,!0),e.headers&&Object.keys(e.headers).forEach(function(t){n.setRequestHeader(t,e.headers[t])}),e.xhrs.push(n),e.sendRaw?n.send(t):n.send(i)})})},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()})},reset:function(){this.abort(),this.files=[],this.queue=[],this.expanded=!1,this.__computeTotalSize(),this.$emit("reset")}}},Or={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)])}};function Br(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 Ar={name:"back-to-top",bind:function(t){var e={offset:200,duration:300,updateNow:function(){var i=U(e.scrollTarget)<=e.offset;i!==t.classList.contains("hidden")&&t.classList[i?"add":"remove"]("hidden")},goToTop:function(){Y(e.scrollTarget,0,e.animate?e.duration:0)}};e.update=ve(e.updateNow,25),t.classList.add("hidden"),t.__qbacktotop=e},inserted:function(t,e){var i=t.__qbacktotop;i.scrollTarget=V(t),i.animate=e.modifiers.animate,Br(t,e),i.scrollTarget.addEventListener("scroll",i.update,L.passive),window.addEventListener("resize",i.update,L.passive),t.addEventListener("click",i.goToTop)},update:function(t,e){JSON.stringify(e.oldValue)!==JSON.stringify(e.value)?Br(t,e):setTimeout(function(){t.__qbacktotop.updateNow()},0)},unbind:function(t){var e=t.__qbacktotop;e&&(e.scrollTarget.removeEventListener("scroll",e.update,L.passive),window.removeEventListener("resize",e.update,L.passive),t.removeEventListener("click",e.goToTop),delete t.__qbacktotop)}},Nr={name:"close-overlay",bind:function(t,e,i){var n=function(){for(var t=i.componentInstance;t=t.$parent;){var e=t.$options.name;if("QPopover"===e||"QModal"===e){t.hide();break}}};t.__qclose={handler:n},t.addEventListener("click",n)},unbind:function(t){var e=t.__qclose;e&&(t.removeEventListener("click",e.handler),delete t.__qclose)}},Ir={name:"go-back",bind:function(t,e,i){var n=e.value,r=e.modifiers,o={value:n,position:window.history.length-1,single:r.single};v.is.cordova?o.goBack=function(){i.context.$router.go(o.single?-1:o.position-window.history.length)}:o.goBack=function(){i.context.$router.replace(o.value)},t.__qgoback=o,t.addEventListener("click",o.goBack)},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),delete t.__qgoback)}};function Dr(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,L.passive),i.scroll())}var Rr={name:"scroll-fire",bind:function(t,e){var i={scroll:ve(function(){var e,n;i.scrollTarget===window?n=t.getBoundingClientRect().bottom<c().height:(e=r(i.scrollTarget).top+s(i.scrollTarget),n=r(t).top+s(t)<e),n&&(i.scrollTarget.removeEventListener("scroll",i.scroll,L.passive),i.handler(t))},25)};t.__qscrollfire=i},inserted:function(t,e){t.__qscrollfire.scrollTarget=V(t),Dr(t,e)},update:function(t,e){e.value!==e.oldValue&&Dr(t,e)},unbind:function(t){var e=t.__qscrollfire;e&&(e.scrollTarget.removeEventListener("scroll",e.scroll,L.passive),delete t.__qscrollfire)}};function zr(t,e){var i=t.__qscroll;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll,L.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,L.passive)}var Fr={name:"scroll",bind:function(t,e){var i={scroll:function(){i.handler(U(i.scrollTarget))}};t.__qscroll=i},inserted:function(t,e){t.__qscroll.scrollTarget=V(t),zr(t,e)},update:function(t,e){e.oldValue!==e.value&&zr(t,e)},unbind:function(t){var e=t.__qscroll;e&&(e.scrollTarget.removeEventListener("scroll",e.scroll,L.passive),delete t.__qscroll)}};function jr(t,e){var i=t.__qtouchhold;i.duration=parseInt(e.arg,10)||600,e.oldValue!==e.value&&(i.handler=e.value)}var Qr={name:"touch-hold",bind:function(t,e){var i=!e.modifiers.noMouse,n=e.modifiers.stop,r=e.modifiers.prevent,o={mouseStart:function(t){O(t)&&(document.addEventListener("mousemove",o.mouseAbort),document.addEventListener("mouseup",o.mouseAbort),o.start(t))},mouseAbort:function(t){document.removeEventListener("mousemove",o.mouseAbort),document.removeEventListener("mouseup",o.mouseAbort),o.abort(t)},start:function(t){var e=(new Date).getTime();n&&t.stopPropagation(),r&&t.preventDefault(),o.timer=setTimeout(function(){i&&(document.removeEventListener("mousemove",o.mouseAbort),document.removeEventListener("mouseup",o.mouseAbort)),o.handler({evt:t,position:A(t),duration:(new Date).getTime()-e})},o.duration)},abort:function(t){clearTimeout(o.timer),o.timer=null}};t.__qtouchhold=o,jr(t,e),i&&t.addEventListener("mousedown",o.mouseStart),t.addEventListener("touchstart",o.start),t.addEventListener("touchmove",o.abort),t.addEventListener("touchend",o.abort)},update:function(t,e){jr(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)}};function Hr(t,e){return function(i){var n=document.createElement("div");return document.body.appendChild(n),new Promise(function(r,o){var s=new e({el:n,data:function(){return{props:i}},render:function(e){return e(t,{props:i,ref:"modal",on:{ok:function(t){r(t),s.$destroy()},cancel:function(){o(new Error),s.$destroy()}}})},mounted:function(){this.$refs.modal.show()}})})}}var Vr,Ur={__installed:!1,install:function(t){var e=t.$q,i=t.Vue;this.__installed||(this.__installed=!0,this.create=e.actionSheet=Hr(wt,i))}};function Wr(t){void 0===Vr&&(Vr=v.is.winphone?"msapplication-navbutton-color":v.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color");var e=function(t){var e=document.getElementsByTagName("META");for(var i in e)if(e[i].name===t)return e[i]}(Vr),i=void 0===e;i&&(e=document.createElement("meta")).setAttribute("name",Vr),e.setAttribute("content",t),i&&document.getElementsByTagName("HEAD")[0].appendChild(e)}var Kr={__installed:!1,install:function(t){var e=t.$q;t.Vue;this.__installed||(this.__installed=!0,e.addressbarColor=this)},set:function(t){!v.is.mobile||v.is.cordova||p||(v.is.winphone||v.is.safari||v.is.webkit||v.is.vivaldi)&&u(function(){Wr(t||Bi("primary"))})}},Yr={isCapable:!1,isActive:!1,__prefixes:{},request:function(t){this.isCapable&&!this.isActive&&(t=t||document.documentElement)[this.__prefixes.request]()},exit:function(){this.isCapable&&this.isActive&&document[this.__prefixes.exit]()},toggle:function(t){this.isActive?this.exit():this.request(t)},__installed:!1,install:function(t){var e=this,i=t.$q,n=t.Vue;if(!this.__installed&&(this.__installed=!0,i.fullscreen=this,!p)){var r=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(function(t){return document.documentElement[t]});if(this.isCapable=void 0!==r,this.isCapable){var o=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(function(t){return document[t]});this.__prefixes={request:r,exit:o},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)}}}},Jr={appVisible:!1,__installed:!1,install:function(t){var e=this,i=t.$q,n=t.Vue;if(!this.__installed)if(this.__installed=!0,p)this.appVisible=i.appVisible=!0;else{var r,o;void 0!==document.hidden?(r="hidden",o="visibilitychange"):void 0!==document.msHidden?(r="msHidden",o="msvisibilitychange"):void 0!==document.webkitHidden&&(r="webkitHidden",o="webkitvisibilitychange");var s=function(){e.appVisible=i.appVisible=!document[r]};s(),o&&void 0!==document[r]&&(n.util.defineReactive(i,"appVisible",this.appVisible),document.addEventListener(o,s,!1))}}};function Gr(t){return encodeURIComponent(t)}function Xr(t){return decodeURIComponent(t)}function Zr(t){if(""===t)return t;0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),t=Xr(t.replace(/\+/g," "));try{t=JSON.parse(t)}catch(t){}return t}function to(t,e,i){void 0===i&&(i={});var n,r=i.expires;"number"==typeof i.expires&&(r=new Date).setMilliseconds(r.getMilliseconds()+864e5*i.expires),document.cookie=[Gr(t),"=",(n=e,Gr(n===Object(n)?JSON.stringify(n):""+n)),r?"; expires="+r.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}function eo(t){for(var e,i,n,r=t?void 0:{},o=document.cookie?document.cookie.split("; "):[],s=0,a=o.length;s<a;s++)if(i=Xr((e=o[s].split("=")).shift()),n=e.join("="),t){if(t===i){r=Zr(n);break}}else r[i]=n;return r}var io,no,ro={get:eo,set:to,has:function(t){return void 0!==eo(t)},remove:function(t,e){to(t,"",M(!0,{},e,{expires:-1}))},all:function(){return eo()},__installed:!1,install:function(t){var e=t.$q;if(!this.__installed){if(this.__installed=!0,p){var i=function(){};this.get=i,this.set=i,this.has=i,this.remove=i,this.all=i}e.cookies=this}}},oo={__installed:!1,install:function(t){var e=t.$q,i=t.Vue;this.__installed||(this.__installed=!0,this.create=e.dialog=p?function(){return new Promise}:Hr($n,i))}},so={},ao={isActive:!1,show:function(t){var e=this;void 0===t&&(t={});var i=t.delay;void 0===i&&(i=500);var n=t.message;void 0===n&&(n=!1);var r=t.spinnerSize;void 0===r&&(r=80);var o=t.spinnerColor;void 0===o&&(o="white");var s=t.messageColor;void 0===s&&(s="white");var a=t.spinner;void 0===a&&(a=ae);var l=t.customClass;void 0===l&&(l=!1),p||(so.spinner=a,so.message=n,so.spinnerSize=r,so.spinnerColor=o,so.messageColor=s,"string"==typeof l&&(so.customClass=l.trim()),this.isActive?io&&io.$forceUpdate():(no=setTimeout(function(){no=null;var t=document.createElement("div");document.body.appendChild(t),document.body.classList.add("with-loading"),io=new e.__Vue({name:"q-loading",el:t,render:function(t){return t("div",{staticClass:"q-loading animate-fade fullscreen column flex-center z-max",class:so.customClass},[t(so.spinner,{props:{color:so.spinnerColor,size:so.spinnerSize}}),n?t("div",{class:"text-"+so.messageColor,domProps:{innerHTML:so.message}}):null])}})},i),this.isActive=!0))},hide:function(){this.isActive&&(no?(clearTimeout(no),no=null):(io.$destroy(),document.body.classList.remove("with-loading"),document.body.removeChild(io.$el),io=null),this.isActive=!1)},__Vue:null,__installed:!1,install:function(t){var e=t.$q,i=t.Vue;this.__installed||(this.__installed=!0,e.loading=ao,this.__Vue=i)}},lo=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"];var co={create:function(t){var e=this;p||(document.body?this.__vm.add(t):u(function(){e.create(t)}))},__installed:!1,install:function(t){this.__installed||(this.__installed=!0,p||function t(e){var i=this,n=e.$q,r=e.Vue;if(document.body){var o=document.createElement("div");document.body.appendChild(o),this.__vm=new r({name:"q-notifications",data:{notifs:{center:[],left:[],right:[],top:[],"top-left":[],"top-right":[],bottom:[],"bottom-left":[],"bottom-right":[]}},methods:{add:function(t){var e,i=this;if(!t)return console.error("Notify: parameter required"),!1;if((e="string"==typeof t?{message:t,position:"bottom"}:qi(t)).position){if(!lo.includes(e.position))return console.error("Notify: wrong position: "+e.position),!1}else e.position="bottom";e.__uid=ke(),void 0===e.timeout&&(e.timeout=5e3);var n=function(){i.remove(e)};if(e.actions&&(e.actions=t.actions.map(function(t){var e=t.handler,i=qi(t);return i.handler="function"==typeof e?function(){e(),n()}:function(){return n()},i})),e.closeBtn){var r=[{closeBtn:!0,label:e.closeBtn,handler:n}];e.actions=e.actions?e.actions.concat(r):r}e.timeout&&(e.__timeout=setTimeout(function(){n()},e.timeout+1e3));var o=e.position.indexOf("top")>-1?"unshift":"push";return this.notifs[e.position][o](e),n},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"},lo.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",o=["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 "+o,tag:"div",props:{name:"q-notification-"+i,mode:"out-in"}},e.notifs[i].map(function(e){return t(we,{ref:"notif_"+e.__uid,key:e.__uid,staticClass:"q-notification",props:e},[e.message])}))}))}}),this.__vm.$mount(o)}else u(function(){t.call(i,{$q:n,Vue:r})})}.call(this,t),t.$q.notify=this.create.bind(this))}};function uo(){var t=function(){return null};return{has:t,get:{length:t,item:t,index:t,all:t},set:t,remove:t,clear:t,isEmpty:t}}function ho(t){var e=window[t+"Storage"],i=function(t){var i=e.getItem(t);return i?function(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}}(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,o=0;o<r;o++)n[t=e.key(o)]=i(t);return n}},set:function(t,i){e.setItem(t,function(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}(i))},remove:function(t){e.removeItem(t)},clear:function(){e.clear()},isEmpty:function(){return 0===e.length}}}var fo={__installed:!1,install:function(t){var e=t.$q;if(!this.__installed)if(this.__installed=!0,e.platform.has.webStorage){var i=ho("local");e.localStorage=i,M(!0,this,i)}else e.localStorage=uo()}},po={__installed:!1,install:function(t){var e=t.$q;if(!this.__installed)if(this.__installed=!0,e.platform.has.webStorage){var i=ho("session");e.sessionStorage=i,M(!0,this,i)}else e.sessionStorage=uo()}};function mo(t,e){if(v.is.cordova&&navigator&&navigator.app)return navigator.app.loadUrl(t,{openExternal:!0});var i=window.open(t,"_blank");if(i)return i.focus(),i;e()}function vo(){}var go={version:n,install:function(t,e){if(void 0===e&&(e={}),!this.__installed){this.__installed=!0;var i={version:n,theme:"mat"};v.install({$q:i}),g.install(),b.install({$q:i,Vue:t,lang:e.i18n}),w.install({$q:i,Vue:t,iconSet:e.iconSet}),p||u(C),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.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.plugins&&Object.keys(e.plugins).forEach(function(n){var r=e.plugins[n];"function"==typeof r.install&&r.install({$q:i,Vue:t})}),t.prototype.$q=i}},i18n:b,icons:w,theme:"mat"};e.default=go},"73g+":function(t,e,i){var n;(n=i("Give")).keys().forEach(n)},"77Pl":function(t,e,i){var n=i("EqjI");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},"7KvD":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)},D2L2:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},Dd8w:function(t,e,i){"use strict";e.__esModule=!0;var n,r=i("woOf"),o=(n=r)&&n.__esModule?n:{default:n};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}},DuR2: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},EqjI:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"FZ+f":function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=function(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"==typeof btoa){var r=(s=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),o=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(o).concat([r]).join("\n")}var s;return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&n[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},FeBl:function(t,e){var i=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=i)},Ibhu:function(t,e,i){var n=i("D2L2"),r=i("TcQ7"),o=i("vFc/")(!1),s=i("ax3d")("IE_PROTO");t.exports=function(t,e){var i,a=r(t),l=0,c=[];for(i in a)i!=s&&n(a,i)&&c.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~o(c,i)||c.push(i));return c}},L4dm:function(t,e,i){i("R58i")},MU5D:function(t,e,i){var n=i("R9M2");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},MmMw:function(t,e,i){var n=i("EqjI");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")}},NYxO:function(t,e,i){"use strict";i.d(e,"b",function(){return b});
  /**
   * vuex v3.0.1
   * (c) 2017 Evan You
   * @license MIT
   */
  var n=function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:i});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,e.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},r="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t,e){Object.keys(t).forEach(function(i){return e(t[i],i)})}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"==typeof i?i():i)||{}},a={namespaced:{configurable:!0}};a.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,a);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,i){return t+((e=e.getChild(i)).namespaced?i+"/":"")},"")},l.prototype.update=function(t){!function t(e,i,n){0;i.update(n);if(n.modules)for(var r in n.modules){if(!i.getChild(r))return void 0;t(e.concat(r),i.getChild(r),n.modules[r])}}([],this.root,t)},l.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var r=new s(e,i);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&o(e.modules,function(e,r){n.register(t.concat(r),e,i)})},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];e.getChild(i).runtime&&e.removeChild(i)};var c;var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!1);var o=t.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var s=this,a=this.dispatch,u=this.commit;this.dispatch=function(t,e){return a.call(s,t,e)},this.commit=function(t,e,i){return u.call(s,t,e,i)},this.strict=n,m(this,o,[],this._modules.root),p(this,o),i.forEach(function(t){return t(e)}),c.config.devtools&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){r.emit("vuex:mutation",t,e)}))}(this)},h={state:{configurable:!0}};function d(t,e){return e.indexOf(t)<0&&e.push(t),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;m(t,i,[],t._modules.root,!0),p(t,i,e)}function p(t,e,i){var n=t._vm;t.getters={};var r={};o(t._wrappedGetters,function(e,i){r[i]=function(){return e(t)},Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})});var s=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:r}),c.config.silent=s,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),n&&(i&&t._withCommit(function(){n._data.$$state=null}),c.nextTick(function(){return n.$destroy()}))}function m(t,e,i,n,r){var o=!i.length,s=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[s]=n),!o&&!r){var a=v(e,i.slice(0,-1)),l=i[i.length-1];t._withCommit(function(){c.set(a,l,n.state)})}var u=n.context=function(t,e,i){var n=""===e,r={dispatch:n?t.dispatch:function(i,n,r){var o=g(i,n,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:n?t.commit:function(i,n,r){var o=g(i,n,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return function(t,e){var i={},n=e.length;return Object.keys(t.getters).forEach(function(r){if(r.slice(0,n)===e){var o=r.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[r]},enumerable:!0})}}),i}(t,e)}},state:{get:function(){return v(t.state,i)}}}),r}(t,s,i);n.forEachMutation(function(e,i){!function(t,e,i,n){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){i.call(t,n.state,e)})}(t,s+i,e,u)}),n.forEachAction(function(e,i){var n=e.root?i:s+i,r=e.handler||e;!function(t,e,i,n){(t._actions[e]||(t._actions[e]=[])).push(function(e,r){var o,s=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e,r);return(o=s)&&"function"==typeof o.then||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):s})}(t,n,r,u)}),n.forEachGetter(function(e,i){!function(t,e,i,n){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)}}(t,s+i,e,u)}),n.forEachChild(function(n,o){m(t,e,i.concat(o),n,r)})}function v(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function g(t,e,i){var n;return null!==(n=t)&&"object"==typeof n&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function _(t){c&&t===c||n(c=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},u.prototype.commit=function(t,e,i){var n=this,r=g(t,e,i),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit(function(){l.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(a,n.state)}))},u.prototype.dispatch=function(t,e){var i=this,n=g(t,e),r=n.type,o=n.payload,s={type:r,payload:o},a=this._actions[r];if(a)return this._actionSubscribers.forEach(function(t){return t(s,i.state)}),a.length>1?Promise.all(a.map(function(t){return t(o)})):a[0](o)},u.prototype.subscribe=function(t){return d(t,this._subscribers)},u.prototype.subscribeAction=function(t){return d(t,this._actionSubscribers)},u.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch(function(){return t(n.state,n.getters)},e,i)},u.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},u.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),i.preserveState),p(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var i=v(e.state,t.slice(0,-1));c.delete(i,t[t.length-1])}),f(this)},u.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,h);var b=k(function(t,e){var i={};return x(e).forEach(function(e){var n=e.key,r=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=S(this.$store,"mapState",t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"==typeof r?r.call(this,e,i):e[r]},i[n].vuex=!0}),i}),y=k(function(t,e){var i={};return x(e).forEach(function(e){var n=e.key,r=e.val;i[n]=function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=this.$store.commit;if(t){var o=S(this.$store,"mapMutations",t);if(!o)return;n=o.context.commit}return"function"==typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}}),i}),w=k(function(t,e){var i={};return x(e).forEach(function(e){var n=e.key,r=e.val;r=t+r,i[n]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[r]},i[n].vuex=!0}),i}),C=k(function(t,e){var i={};return x(e).forEach(function(e){var n=e.key,r=e.val;i[n]=function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var o=S(this.$store,"mapActions",t);if(!o)return;n=o.context.dispatch}return"function"==typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}}),i});function x(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function k(t){return function(e,i){return"string"!=typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function S(t,e,i){return t._modulesNamespaceMap[i]}var q={Store:u,install:_,version:"3.0.1",mapState:b,mapMutations:y,mapGetters:w,mapActions:C,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:w.bind(null,t),mapMutations:y.bind(null,t),mapActions:C.bind(null,t)}}};e.a=q},NpIQ:function(t,e){e.f={}.propertyIsEnumerable},ON07:function(t,e,i){var n=i("EqjI"),r=i("7KvD").document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},QRG4:function(t,e,i){var n=i("UuGF"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},R4wc:function(t,e,i){var n=i("kM2E");n(n.S+n.F,"Object",{assign:i("To3L")})},R9M2:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},S82l:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},SfB7:function(t,e,i){t.exports=!i("+E39")&&!i("S82l")(function(){return 7!=Object.defineProperty(i("ON07")("div"),"a",{get:function(){return 7}}).a})},TcQ7:function(t,e,i){var n=i("MU5D"),r=i("52gC");t.exports=function(t){return n(r(t))}},To3L:function(t,e,i){"use strict";var n=i("lktj"),r=i("1kS7"),o=i("NpIQ"),s=i("sB3e"),a=i("MU5D"),l=Object.assign;t.exports=!l||i("S82l")(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=l({},t)[i]||Object.keys(l({},e)).join("")!=n})?function(t,e){for(var i=s(t),l=arguments.length,c=1,u=r.f,h=o.f;l>c;)for(var d,f=a(arguments[c++]),p=u?n(f).concat(u(f)):n(f),m=p.length,v=0;m>v;)h.call(f,d=p[v++])&&(i[d]=f[d]);return i}:l},UuGF:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},V3tA:function(t,e,i){i("R4wc"),t.exports=i("FeBl").Object.assign},W2nU:function(t,e){var i,n,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(t){i=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(t){n=s}}();var l,c=[],u=!1,h=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&f())}function f(){if(!u){var t=a(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h<e;)l&&l[h].run();h=-1,e=c.length}l=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];c.push(new p(t,e)),1!==c.length||u||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},X8DO:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XyMi:function(t,e,i){"use strict";e.a=function(t,e,i,n,r,o,s,a){var l=typeof(t=t||{}).default;"object"!==l&&"function"!==l||(t=t.default);var c,u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0);n&&(u.functional=!0);o&&(u._scopeId=o);s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):r&&(c=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r);if(c)if(u.functional){u._injectStyles=c;var h=u.render;u.render=function(t,e){return c.call(e),h(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}},ax3d:function(t,e,i){var n=i("e8AB")("keys"),r=i("3Eo+");t.exports=function(t){return n[t]||(n[t]=r(t))}},e8AB:function(t,e,i){var n=i("7KvD"),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},evD5:function(t,e,i){var n=i("77Pl"),r=i("SfB7"),o=i("MmMw"),s=Object.defineProperty;e.f=i("+E39")?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return s(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}},fkB2:function(t,e,i){var n=i("UuGF"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},hAPP:function(t,e,i){i("+nwc")},hJx8:function(t,e,i){var n=i("evD5"),r=i("X8DO");t.exports=i("+E39")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},kM2E:function(t,e,i){var n=i("7KvD"),r=i("FeBl"),o=i("+ZMJ"),s=i("hJx8"),a=i("D2L2"),l=function(t,e,i){var c,u,h,d=t&l.F,f=t&l.G,p=t&l.S,m=t&l.P,v=t&l.B,g=t&l.W,_=f?r:r[e]||(r[e]={}),b=_.prototype,y=f?n:p?n[e]:(n[e]||{}).prototype;for(c in f&&(i=e),i)(u=!d&&y&&void 0!==y[c])&&a(_,c)||(h=u?y[c]:i[c],_[c]=f&&"function"!=typeof y[c]?i[c]:v&&u?o(h,n):g&&y[c]==h?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.prototype=t.prototype,e}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((_.virtual||(_.virtual={}))[c]=h,t&l.R&&b&&!b[c]&&s(b,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},kxFB:function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},lOnJ:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},lktj:function(t,e,i){var n=i("Ibhu"),r=i("xnc9");t.exports=Object.keys||function(t){return n(t,r)}},mypn:function(t,e,i){(function(t,e){!function(t,i){"use strict";if(!t.setImmediate){var n,r,o,s,a,l=1,c={},u=!1,h=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick(function(){p(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,i=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=i,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},n=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,n=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(p,0,t)}:(s="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&p(+e.data.slice(s.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(s+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var r={callback:t,args:e};return c[l]=r,n(l),l++},d.clearImmediate=f}function f(t){delete c[t]}function p(t){if(u)setTimeout(p,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(i,n)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,i("DuR2"),i("W2nU"))},rjj0:function(t,e,i){"use strict";function n(t,e){for(var i=[],n={},r=0;r<e.length;r++){var o=e[r],s=o[0],a={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};n[s]?n[s].parts.push(a):i.push(n[s]={id:s,parts:[a]})}return i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,r){c=i,h=r||{};var s=n(t,e);return p(s),function(e){for(var i=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,i.push(l)}for(e?p(s=n(t,e)):s=[],r=0;r<i.length;r++){var l;if(0===(l=i[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}};var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t){for(var e=0;e<t.length;e++){var i=t[e],n=o[i.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](i.parts[r]);for(;r<i.parts.length;r++)n.parts.push(v(i.parts[r]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var s=[];for(r=0;r<i.parts.length;r++)s.push(v(i.parts[r]));o[i.id]={id:i.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,i,n=document.querySelector("style["+d+'~="'+t.id+'"]');if(n){if(c)return u;n.parentNode.removeChild(n)}if(f){var r=l++;n=a||(a=m()),e=b.bind(null,n,r,!1),i=b.bind(null,n,r,!0)}else n=m(),e=function(t,e){var i=e.css,n=e.media,r=e.sourceMap;n&&t.setAttribute("media",n);h.ssrId&&t.setAttribute(d,e.id);r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");if(t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}var g,_=(g=[],function(t,e){return g[t]=e,g.filter(Boolean).join("\n")});function b(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}},sB3e:function(t,e,i){var n=i("52gC");t.exports=function(t){return Object(n(t))}},"sOI+":function(t,e,i){i("w9uc")},trlb:function(t,e,i){i("KSNH")},"vFc/":function(t,e,i){var n=i("TcQ7"),r=i("QRG4"),o=i("fkB2");t.exports=function(t){return function(e,i,s){var a,l=n(e),c=r(l.length),u=o(s,c);if(t&&i!=i){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}}},woOf:function(t,e,i){t.exports={default:i("V3tA"),__esModule:!0}},xnc9:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}});