diff --git a/lib/vue.min.js b/lib/vue.min.js index 6651873d..4c191845 100644 --- a/lib/vue.min.js +++ b/lib/vue.min.js @@ -1,8 +1,9 @@ /*! - * Vue.js v1.0.18 + * Vue.js v1.0.28 * (c) 2016 Evan You * Released under the MIT License. */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(e,n,r){if(i(e,n))return void(e[n]=r);if(e._isVue)return void t(e._data,n,r);var s=e.__ob__;if(!s)return void(e[n]=r);if(s.convert(n,r),s.dep.notify(),s.vms)for(var o=s.vms.length;o--;){var a=s.vms[o];a._proxy(n),a._digest()}return r}function e(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(n&&(n.dep.notify(),n.vms))for(var r=n.vms.length;r--;){var s=n.vms[r];s._unproxy(e),s._digest()}}}function i(t,e){return yi.call(t,e)}function n(t){return wi.test(t)}function r(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function s(t){return null==t?"":t.toString()}function o(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function a(t){return"true"===t?!0:"false"===t?!1:t}function h(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function l(t){return t.replace(Ci,c)}function c(t,e){return e?e.toUpperCase():""}function u(t){return t.replace($i,"$1-$2").toLowerCase()}function f(t){return t.replace(ki,c)}function p(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function d(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function v(t,e){for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t}function m(t){return null!==t&&"object"==typeof t}function g(t){return xi.call(t)===Ai}function _(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function b(t,e){var i,n,r,s,o,a=function h(){var a=Date.now()-s;e>a&&a>=0?i=setTimeout(h,e-a):(i=null,o=t.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,s=Date.now(),i||(i=setTimeout(a,e)),o}}function y(t,e){for(var i=t.length;i--;)if(t[i]===e)return i;return-1}function w(t){var e=function i(){return i.cancelled?void 0:t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function C(t,e){return t==e||(m(t)&&m(e)?JSON.stringify(t)===JSON.stringify(e):!1)}function $(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function k(){var t,e=Bi.slice(Qi,Ji).trim();if(e){t={};var i=e.match(en);t.name=i[0],i.length>1&&(t.args=i.slice(1).map(x))}t&&(Vi.filters=Vi.filters||[]).push(t),Qi=Ji+1}function x(t){if(nn.test(t))return{value:o(t),dynamic:!1};var e=h(t),i=e===t;return{value:i?t:e,dynamic:i}}function A(t){var e=tn.get(t);if(e)return e;for(Bi=t,Gi=Ki=!1,Zi=Xi=Yi=0,Qi=0,Vi={},Ji=0,qi=Bi.length;qi>Ji;Ji++)if(Ui=zi,zi=Bi.charCodeAt(Ji),Gi)39===zi&&92!==Ui&&(Gi=!Gi);else if(Ki)34===zi&&92!==Ui&&(Ki=!Ki);else if(124===zi&&124!==Bi.charCodeAt(Ji+1)&&124!==Bi.charCodeAt(Ji-1))null==Vi.expression?(Qi=Ji+1,Vi.expression=Bi.slice(0,Ji).trim()):k();else switch(zi){case 34:Ki=!0;break;case 39:Gi=!0;break;case 40:Yi++;break;case 41:Yi--;break;case 91:Xi++;break;case 93:Xi--;break;case 123:Zi++;break;case 125:Zi--}return null==Vi.expression?Vi.expression=Bi.slice(0,Ji).trim():0!==Qi&&k(),tn.put(t,Vi),Vi}function O(t){return t.replace(sn,"\\$&")}function T(){var t=O(pn.delimiters[0]),e=O(pn.delimiters[1]),i=O(pn.unsafeDelimiters[0]),n=O(pn.unsafeDelimiters[1]);an=new RegExp(i+"(.+?)"+n+"|"+t+"(.+?)"+e,"g"),hn=new RegExp("^"+i+".*"+n+"$"),on=new $(1e3)}function N(t){on||T();var e=on.get(t);if(e)return e;if(t=t.replace(/\n/g,""),!an.test(t))return null;for(var i,n,r,s,o,a,h=[],l=an.lastIndex=0;i=an.exec(t);)n=i.index,n>l&&h.push({value:t.slice(l,n)}),r=hn.test(i[0]),s=r?i[1]:i[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,h.push({tag:!0,value:s.trim(),html:r,oneTime:a}),l=n+i[0].length;return l1?t.map(function(t){return E(t,e)}).join("+"):E(t[0],e,!0)}function E(t,e,i){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':F(t.value,i):'"'+t.value+'"'}function F(t,e){if(ln.test(t)){var i=A(t);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function S(t,e,i,n){R(t,1,function(){e.appendChild(t)},i,n)}function D(t,e,i,n){R(t,1,function(){B(t,e)},i,n)}function P(t,e,i){R(t,-1,function(){z(t)},e,i)}function R(t,e,i,n,r){var s=t.__v_trans;if(!s||!s.hooks&&!Pi||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var o=e>0?"enter":"leave";s[o](i,r)}function L(t){if("string"==typeof t){t=document.querySelector(t)}return t}function H(t){var e=document.documentElement,i=t&&t.parentNode;return e===t||e===i||!(!i||1!==i.nodeType||!e.contains(i))}function M(t,e){var i=t.getAttribute(e);return null!==i&&t.removeAttribute(e),i}function W(t,e){var i=M(t,":"+e);return null===i&&(i=M(t,"v-bind:"+e)),i}function I(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function B(t,e){e.parentNode.insertBefore(t,e)}function V(t,e){e.nextSibling?B(t,e.nextSibling):e.parentNode.appendChild(t)}function z(t){t.parentNode.removeChild(t)}function U(t,e){e.firstChild?B(t,e.firstChild):e.appendChild(t)}function J(t,e){var i=t.parentNode;i&&i.replaceChild(e,t)}function q(t,e,i,n){t.addEventListener(e,i,n)}function Q(t,e,i){t.removeEventListener(e,i)}function G(t,e){Fi&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function K(t,e){if(t.classList)t.classList.add(e);else{var i=" "+(t.getAttribute("class")||"")+" ";i.indexOf(" "+e+" ")<0&&G(t,(i+e).trim())}}function Z(t,e){if(t.classList)t.classList.remove(e);else{for(var i=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");G(t,i.trim())}t.className||t.removeAttribute("class")}function X(t,e){var i,n;if(et(t)&&ot(t.content)&&(t=t.content),t.hasChildNodes())for(Y(t),n=e?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)n.appendChild(i);return n}function Y(t){for(var e;e=t.firstChild,tt(e);)t.removeChild(e);for(;e=t.lastChild,tt(e);)t.removeChild(e)}function tt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function et(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function it(t,e){var i=pn.debug?document.createComment(t):document.createTextNode(e?" ":"");return i.__v_anchor=!0,i}function nt(t){if(t.hasAttributes())for(var e=t.attributes,i=0,n=e.length;n>i;i++){var r=e[i].name;if(mn.test(r))return l(r.replace(mn,""))}}function rt(t,e,i){for(var n;t!==e;)n=t.nextSibling,i(t),t=n;i(e)}function st(t,e,i,n,r){function s(){if(a++,o&&a>=h.length){for(var t=0;tn;n++){var s=i[n];_(t,s,e[s])}}function ft(t,e){if(t&&"object"==typeof t){var n;return i(t,"__ob__")&&t.__ob__ instanceof lt?n=t.__ob__:(Oi(t)||g(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new lt(t)),n&&e&&n.addVm(e),n}}function pt(t,e,i,n){var r=new ht,s=Object.getOwnPropertyDescriptor(t,e);if(!s||s.configurable!==!1){var o=s&&s.get,a=s&&s.set,h=n?m(i)&&i.__ob__:ft(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):i;if(ht.target&&(r.depend(),h&&h.dep.depend(),Oi(e)))for(var n,s=0,a=e.length;a>s;s++)n=e[s],n&&n.__ob__&&n.__ob__.dep.depend();return e},set:function(e){var s=o?o.call(t):i;e!==s&&(a?a.call(t,e):i=e,h=n?m(e)&&e.__ob__:ft(e),r.notify())}})}}function dt(t,e){var i=t.tagName.toLowerCase(),n=t.hasAttributes();if(wn.test(i)||Cn.test(i)){if(n)return vt(t)}else{if(At(e,"components",i))return{id:i};var r=n&&vt(t);if(r)return r}}function vt(t){var e=M(t,"is");return null!=e?{id:e}:(e=W(t,"is"),null!=e?{id:e,dynamic:!0}:void 0)}function mt(t,e,i){var n=e.path;i=bt(e,i),void 0===i&&(i=gt(t,e.options)),_t(e,i)&&pt(t,n,i,!0)}function gt(t,e){if(!i(e,"default"))return e.type===Boolean?!1:void 0;var n=e["default"];return m(n),"function"==typeof n&&e.type!==Function?n.call(t):n}function _t(t,e){if(!t.options.required&&(null===t.raw||null==e))return!0;var i,n=t.options,r=n.type,s=!0;if(r&&(r===String?(i="string",s=typeof e===i):r===Number?(i="number",s="number"==typeof e):r===Boolean?(i="boolean",s="boolean"==typeof e):r===Function?(i="function",s="function"==typeof e):r===Object?(i="object",s=g(e)):r===Array?(i="array",s=Oi(e)):s=e instanceof r),!s)return!1;var o=n.validator;return!o||o(e)}function bt(t,e){var i=t.options.coerce;return i?i(e):e}function yt(e,n){var r,s,o;for(r in n)s=e[r],o=n[r],i(e,r)?m(s)&&m(o)&&yt(s,o):t(e,r,o);return e}function wt(t,e){var i=Object.create(t);return e?v(i,kt(e)):i}function Ct(t){if(t.components)for(var e,i=t.components=kt(t.components),n=Object.keys(i),r=0,s=n.length;s>r;r++){var o=n[r];wn.test(o)||Cn.test(o)||(e=i[o],g(e)&&(i[o]=di.extend(e)))}}function $t(t){var e,i,n=t.props;if(Oi(n))for(t.props={},e=n.length;e--;)i=n[e],"string"==typeof i?t.props[i]=null:i.name&&(t.props[i.name]=i);else if(g(n)){var r=Object.keys(n);for(e=r.length;e--;)i=n[r[e]],"function"==typeof i&&(n[r[e]]={type:i})}}function kt(t){if(Oi(t)){for(var e,i={},n=t.length;n--;){e=t[n];var r="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;r&&(i[r]=e)}return i}return t}function xt(t,e,n){function r(i){var r=$n[i]||kn;o[i]=r(t[i],e[i],n,i)}Ct(e),$t(e);var s,o={};if(e.mixins)for(var a=0,h=e.mixins.length;h>a;a++)t=xt(t,e.mixins[a],n);for(s in t)r(s);for(s in e)i(t,s)||r(s);return o}function At(t,e,i){if("string"==typeof i){var n,r=t[e];return r[i]||r[n=l(i)]||r[n.charAt(0).toUpperCase()+n.slice(1)]}}function Ot(t,e,i){}function Tt(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=An++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=xt(this.constructor.options,t,this),this._updateRef(),this._data={},this._runtimeData=t.data,this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function Nt(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&122>=e||e>=65&&90>=e?"ident":e>=49&&57>=e?"number":"else"}function jt(t){var e=t.trim();return"0"===t.charAt(0)&&isNaN(t)?!1:n(e)?h(e):"*"+e}function Et(t){function e(){var e=t[c+1];return u===Ln&&"'"===e||u===Hn&&'"'===e?(c++,n="\\"+e,p[Tn](),!0):void 0}var i,n,r,s,o,a,h,l=[],c=-1,u=Fn,f=0,p=[];for(p[Nn]=function(){void 0!==r&&(l.push(r),r=void 0)},p[Tn]=function(){void 0===r?r=n:r+=n},p[jn]=function(){p[Tn](),f++},p[En]=function(){if(f>0)f--,u=Rn,p[Tn]();else{if(f=0,r=jt(r),r===!1)return!1;p[Nn]()}};null!=u;)if(c++,i=t[c],"\\"!==i||!e()){if(s=Nt(i),h=In[u],o=h[s]||h["else"]||Wn,o===Wn)return;if(u=o[0],a=p[o[1]],a&&(n=o[2],n=void 0===n?i:n,a()===!1))return;if(u===Mn)return l.raw=t,l}}function Ft(t){var e=On.get(t);return e||(e=Et(t),e&&On.put(t,e)),e}function St(t,e){return It(e).get(t)}function Dt(e,i,n){var r=e;if("string"==typeof i&&(i=Et(i)),!i||!m(e))return!1;for(var s,o,a=0,h=i.length;h>a;a++)s=e,o=i[a],"*"===o.charAt(0)&&(o=It(o.slice(1)).get.call(r,r)),h-1>a?(e=e[o],m(e)||(e={},t(s,o,e))):Oi(e)?e.$set(o,n):o in e?e[o]=n:t(e,o,n);return!0}function Pt(t,e){var i=ir.length;return ir[i]=e?t.replace(Kn,"\\n"):t,'"'+i+'"'}function Rt(t){var e=t.charAt(0),i=t.slice(1);return Jn.test(i)?t:(i=i.indexOf('"')>-1?i.replace(Xn,Lt):i,e+"scope."+i)}function Lt(t,e){return ir[e]}function Ht(t){Qn.test(t),ir.length=0;var e=t.replace(Zn,Pt).replace(Gn,"");return e=(" "+e).replace(tr,Rt).replace(Xn,Lt),Mt(e)}function Mt(t){try{return new Function("scope","return "+t+";")}catch(e){}}function Wt(t){var e=Ft(t);return e?function(t,i){Dt(t,e,i)}:void 0}function It(t,e){t=t.trim();var i=zn.get(t);if(i)return e&&!i.set&&(i.set=Wt(i.exp)),i;var n={exp:t};return n.get=Bt(t)&&t.indexOf("[")<0?Mt("scope."+t):Ht(t),e&&(n.set=Wt(t)),zn.put(t,n),n}function Bt(t){return Yn.test(t)&&!er.test(t)&&"Math."!==t.slice(0,5)}function Vt(){rr=[],sr=[],or={},ar={},hr=lr=!1}function zt(){Ut(rr),lr=!0,Ut(sr),ji&&pn.devtools&&ji.emit("flush"),Vt()}function Ut(t){for(Bn=0;Bn0){var o=s+(n?e:at(e));r=wr.get(o),r||(r=Te(i,t.$options,!0),wr.put(o,r))}else r=Te(i,t.$options,!0);this.linker=r}function he(t,e,i){var n=t.node.previousSibling;if(n){for(t=n.__v_frag;!(t&&t.forId===i&&t.inserted||n===e);){if(n=n.previousSibling,!n)return;t=n.__v_frag}return t}}function le(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ce(t){for(var e=-1,i=new Array(Math.floor(t));++ea;a++)if(n=t.options[a],s=i?n.hasAttribute("selected"):n.selected){if(r=n.hasOwnProperty("_value")?n._value:n.value,!e)return r;o.push(r)}return o}function fe(t,e){for(var i=t.length;i--;)if(C(t[i],e))return i;return-1}function pe(t,e){var i=e.map(function(t){var e=t.charCodeAt(0);return e>47&&58>e?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&91>e)?e:Br[t]});return i=[].concat.apply([],i),function(e){return i.indexOf(e.keyCode)>-1?t.call(this,e):void 0}}function de(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function ve(t){return function(e){return e.preventDefault(),t.call(this,e)}}function me(t){return function(e){return e.target===e.currentTarget?t.call(this,e):void 0}}function ge(t){if(qr[t])return qr[t];var e=_e(t);return qr[t]=qr[e]=e,e}function _e(t){t=u(t);var e=l(t),i=e.charAt(0).toUpperCase()+e.slice(1);Qr||(Qr=document.createElement("div"));for(var n,r=zr.length;r--;)if(n=Ur[r]+i,n in Qr.style)return zr[r]+t;return e in Qr.style?t:void 0}function be(t){for(var e={},i=t.trim().split(/\s+/),n=i.length;n--;)e[i[n]]=!0;return e}function ye(t,e){return Oi(t)?t.indexOf(e)>-1:i(t,e)}function we(t,e,i){function n(){++s>=r?i():t[s].call(e,n)}var r=t.length,s=0;t[0].call(e,n)}function Ce(t){us.push(t),fs||(fs=!0,Wi($e))}function $e(){for(var t=document.documentElement.offsetHeight,e=0;er;r++)n[r]._bind();return n}function je(t,e){return t=t.descriptor.def.priority||Ns,e=e.descriptor.def.priority||Ns,t>e?-1:t===e?0:1}function Ee(t,e,i,n){function r(r){Fe(t,e,r),i&&n&&Fe(i,n)}return r.dirs=e,r}function Fe(t,e,i){for(var n=e.length;n--;)e[n]._teardown()}function Se(t,e,i,n){var r=Ae(e,i),s=Ne(function(){r(t,n)},t);return Ee(t,s)}function De(t,e,i){var n,r,s=e._containerAttrs,o=e._replacerAttrs;return 11!==t.nodeType&&(e._asComponent?(s&&i&&(n=Qe(s,i)),o&&(r=Qe(o,e))):r=Qe(t.attributes,e)),e._containerAttrs=e._replacerAttrs=null,function(t,e,i){var s,o=t._context;o&&n&&(s=Ne(function(){n(o,e,null,i)},o));var a=Ne(function(){r&&r(t,e)},t);return Ee(t,a,o,s)}}function Pe(t,e){var i=t.nodeType;return 1===i&&"SCRIPT"!==t.tagName?Re(t,e):3===i&&t.data.trim()?Le(t,e):null}function Re(t,e){if("TEXTAREA"===t.tagName){var i=N(t.value);i&&(t.setAttribute(":value",j(i)),t.value="")}var n,r=t.hasAttributes();return r&&(n=Ue(t,e)),n||(n=Ve(t,e)),n||(n=ze(t,e)),!n&&r&&(n=Qe(t.attributes,e)),n}function Le(t,e){if(t._skip)return He;var i=N(t.wholeText);if(!i)return null;for(var n=t.nextSibling;n&&3===n.nodeType;)n._skip=!0,n=n.nextSibling;for(var r,s,o=document.createDocumentFragment(),a=0,h=i.length;h>a;a++)s=i[a],r=s.tag?Me(s,e):document.createTextNode(s.value),o.appendChild(r);return We(i,o,e)}function He(t,e){z(e)}function Me(t,e){function i(e){if(!t.descriptor){var i=A(t.value);t.descriptor={name:e,def:os[e],expression:i.expression,filters:i.filters}}}var n;return t.oneTime?n=document.createTextNode(t.value):t.html?(n=document.createComment("v-html"),i("html")):(n=document.createTextNode(" "),i("text")),n}function We(t,e){return function(i,n,r,s){for(var o,a,h,l=e.cloneNode(!0),c=d(l.childNodes),u=0,f=t.length;f>u;u++)o=t[u],a=o.value,o.tag&&(h=c[u],o.oneTime?(a=(s||i).$eval(a),o.html?J(h,Yt(a,!0)):h.data=a):i._bindDir(o.descriptor,h,r,s));J(n,l)}}function Ie(t,e){for(var i,n,r,s=[],o=0,a=t.length;a>o;o++)r=t[o],i=Pe(r,e),n=i&&i.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:Ie(r.childNodes,e),s.push(i,n);return s.length?Be(s):null}function Be(t){return function(e,i,n,r,s){for(var o,a,h,l=0,c=0,u=t.length;u>l;c++){o=i[c],a=t[l++],h=t[l++];var f=d(o.childNodes);a&&a(e,o,n,r,s),h&&h(e,f,n,r,s)}}}function Ve(t,e){var i=t.tagName.toLowerCase();if(!wn.test(i)){var n=At(e,"elementDirectives",i);return n?qe(t,i,"",e,n):void 0}}function ze(t,e){var i=dt(t,e);if(i){var n=nt(t),r={name:"component",ref:n,expression:i.id,def:bs.component,modifiers:{literal:!i.dynamic}},s=function(t,e,i,s,o){n&&pt((s||t).$refs,n,null),t._bindDir(r,e,i,s,o)};return s.terminal=!0,s}}function Ue(t,e){if(null!==M(t,"v-pre"))return Je;if(t.hasAttribute("v-else")){var i=t.previousElementSibling;if(i&&i.hasAttribute("v-if"))return Je}for(var n,r,s=0,o=Ts.length;o>s;s++)if(r=Ts[s],n=t.getAttribute("v-"+r),null!=n)return qe(t,r,n,e)}function Je(){}function qe(t,e,i,n,r){var s=A(i),o={name:e,expression:s.expression,filters:s.filters,raw:i,def:r||At(n,"directives",e)};"for"!==e&&"router-view"!==e||(o.ref=nt(t));var a=function(t,e,i,n,r){o.ref&&pt((n||t).$refs,o.ref,null),t._bindDir(o,e,i,n,r)};return a.terminal=!0,a}function Qe(t,e){function i(t,e,i){var n=i&&Ze(i),r=!n&&A(s);v.push({name:t,attr:o,raw:a,def:e,arg:l,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var n,r,s,o,a,h,l,c,u,f,p,d=t.length,v=[];d--;)if(n=t[d],r=o=n.name,s=a=n.value,f=N(s),l=null,c=Ge(r),r=r.replace(As,""),f)s=j(f),l=r,i("bind",os.bind,f);else if(Os.test(r))c.literal=!$s.test(r),i("transition",bs.transition);else if(ks.test(r))l=r.replace(ks,""),i("on",os.on);else if($s.test(r))h=r.replace($s,""),"style"===h||"class"===h?i(h,bs[h]):(l=h,i("bind",os.bind));else if(p=r.match(xs)){if(h=p[1],l=p[2],"else"===h)continue;u=At(e,"directives",h),u&&i(h,u)}return v.length?Ke(v):void 0}function Ge(t){var e=Object.create(null),i=t.match(As);if(i)for(var n=i.length;n--;)e[i[n].slice(1)]=!0;return e}function Ke(t){return function(e,i,n,r,s){for(var o=t.length;o--;)e._bindDir(t[o],i,n,r,s)}}function Ze(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function Xe(t,e){return e&&(e._containerAttrs=ti(t)),et(t)&&(t=Yt(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=X(t),t=Ye(t,e))),ot(t)&&(U(it("v-start",!0),t),t.appendChild(it("v-end",!0))),t}function Ye(t,e){var i=e.template,n=Yt(i,!0);if(n){var r=n.firstChild,s=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body,n.childNodes.length>1||1!==r.nodeType||"component"===s||At(e,"components",s)||I(r,"is")||At(e,"elementDirectives",s)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?n:(e._replacerAttrs=ti(r),ei(t,r),r)):(t.appendChild(n),t)}}function ti(t){return 1===t.nodeType&&t.hasAttributes()?d(t.attributes):void 0}function ei(t,e){for(var i,n,r=t.attributes,s=r.length;s--;)i=r[s].name,n=r[s].value,e.hasAttribute(i)||js.test(i)?"class"!==i||N(n)||n.trim().split(/\s+/).forEach(function(t){K(e,t)}):e.setAttribute(i,n)}function ii(t,e){if(e){for(var i,n,r=t._slotContents=Object.create(null),s=0,o=e.children.length;o>s;s++)i=e.children[s],(n=i.getAttribute("slot"))&&(r[n]||(r[n]=[])).push(i);for(n in r)r[n]=ni(r[n],e);e.hasChildNodes()&&(r["default"]=ni(e.childNodes,e))}}function ni(t,e){var i=document.createDocumentFragment();t=d(t);for(var n=0,r=t.length;r>n;n++){var s=t[n];!et(s)||s.hasAttribute("v-if")||s.hasAttribute("v-for")||(e.removeChild(s),s=Yt(s)),i.appendChild(s)}return i}function ri(t){function e(){}function n(t,e){var i=new qt(e,t,null,{lazy:!0});return function(){return i.dirty&&i.evaluate(),ht.target&&i.depend(),i.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,i=t.props;e=t.el=L(e),this._propsUnlinkFn=e&&1===e.nodeType&&i?Se(this,e,i,this._scope):null},t.prototype._initData=function(){var t,e,n=this.$options.data,r=this._data=n?n():{},s=this._props,o=this._runtimeData?"function"==typeof this._runtimeData?this._runtimeData():this._runtimeData:null,a=Object.keys(r);for(t=a.length;t--;)e=a[t],(!s||!i(s,e)||o&&i(o,e)&&null===s[e].raw)&&this._proxy(e);ft(r,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,r,s;for(n=Object.keys(e),s=n.length;s--;)r=n[s],r in t||this._unproxy(r);for(n=Object.keys(t),s=n.length;s--;)r=n[s],i(this,r)||this._proxy(r);e.__ob__.removeVm(this),ft(t,this),this._digest()},t.prototype._proxy=function(t){if(!r(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(i){e._data[t]=i}})}},t.prototype._unproxy=function(t){r(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;e>t;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var i in t){var r=t[i],s={enumerable:!0,configurable:!0};"function"==typeof r?(s.get=n(r,this),s.set=e):(s.get=r.get?r.cache!==!1?n(r.get,this):p(r.get,this):e,s.set=r.set?p(r.set,this):e),Object.defineProperty(this,i,s)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=p(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)pt(this,e,t[e])}}function si(t){function e(t,e){for(var i,n,r=e.attributes,s=0,o=r.length;o>s;s++)i=r[s].name,Fs.test(i)&&(i=i.replace(Fs,""),n=(t._scope||t._context).$eval(r[s].value,!0),"function"==typeof n&&(n._fromParent=!0,t.$on(i.replace(Fs),n)))}function i(t,e,i){if(i){var r,s,o,a;for(s in i)if(r=i[s],Oi(r))for(o=0,a=r.length;a>o;o++)n(t,e,s,r[o]);else n(t,e,s,r)}}function n(t,e,i,r,s){var o=typeof r;if("function"===o)t[e](i,r,s);else if("string"===o){var a=t.$options.methods,h=a&&a[r];h&&t[e](i,h,s)}else r&&"object"===o&&n(t,e,i,r.handler,r)}function r(){this._isAttached||(this._isAttached=!0,this.$children.forEach(s))}function s(t){!t._isAttached&&H(t.$el)&&t._callHook("attached")}function o(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(a))}function a(t){t._isAttached&&!H(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),i(this,"$on",t.events),i(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",r),this.$on("hook:detached",o)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var i=0,n=e.length;n>i;i++)e[i].call(this);this.$emit("hook:"+t)}}function oi(){}function ai(t,e,i,n,r,s){this.vm=e,this.el=i,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=n,this._scope=r,this._frag=s}function hi(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var i=(this._scope||this._context).$refs;t?i[e]===this&&(i[e]=null):i[e]=this}},t.prototype._compile=function(t){var e=this.$options,i=t;if(t=Xe(t,e),this._initElement(t),1!==t.nodeType||null===M(t,"v-pre")){var n=this._context&&this._context.$options,r=De(t,e,n);ii(this,e._content);var s,o=this.constructor;e._linkerCachable&&(s=o.linker,s||(s=o.linker=Te(t,e)));var a=r(this,t,this._scope),h=s?s(this,t):Te(t,e)(this,t);this._unlinkFn=function(){a(),h(!0)},e.replace&&J(i,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){ot(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,i,n,r){this._directives.push(new ai(t,this,e,i,n,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var i,n,r=this,s=function(){!i||n||e||r._cleanup()};t&&this.$el&&(n=!0,this.$remove(function(){n=!1,s()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var o,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),o=this.$children.length;o--;)this.$children[o].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),o=this._watchers.length;o--;)this._watchers[o].teardown();this.$el&&(this.$el.__vue__=null),i=!0,s()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function li(t){t.prototype._applyFilters=function(t,e,i,n){var r,s,o,a,h,l,c,u,f;for(l=0,c=i.length;c>l;l++)if(r=i[l],s=At(this.$options,"filters",r.name),s&&(s=n?s.write:s.read||s,"function"==typeof s)){if(o=n?[t,e]:[t],h=n?2:1,r.args)for(u=0,f=r.args.length;f>u;u++)a=r.args[u],o[u+h]=a.dynamic?this.$get(a.value):a.value;t=s.apply(this,o)}return t},t.prototype._resolveComponent=function(e,i){var n=At(this.$options,"components",e);if(n)if(n.options)i(n);else if(n.resolved)i(n.resolved);else if(n.requested)n.pendingCallbacks.push(i);else{n.requested=!0;var r=n.pendingCallbacks=[i];n.call(this,function(e){g(e)&&(e=t.extend(e)),n.resolved=e;for(var i=0,s=r.length;s>i;i++)r[i](e)},function(t){})}}}function ci(t){function i(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){ -var i=It(t);if(i){if(e&&!Bt(t)){var n=this;return function(){n.$arguments=d(arguments);var t=i.get.call(n,n);return n.$arguments=null,t}}try{return i.get.call(this,this)}catch(r){}}},t.prototype.$set=function(t,e){var i=It(t,!0);i&&i.set&&i.set.call(this,this,e)},t.prototype.$delete=function(t){e(this._data,t)},t.prototype.$watch=function(t,e,i){var n,r=this;"string"==typeof t&&(n=A(t),t=n.expression);var s=new qt(r,t,e,{deep:i&&i.deep,sync:i&&i.sync,filters:n&&n.filters,user:!i||i.user!==!1});return i&&i.immediate&&e.call(r,s.value),function(){s.teardown()}},t.prototype.$eval=function(t,e){if(Ss.test(t)){var i=A(t),n=this.$get(i.expression,e);return i.filters?this._applyFilters(n,null,i.filters):n}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=N(t),i=this;return e?1===e.length?i.$eval(e[0].value)+"":e.map(function(t){return t.tag?i.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var e=t?St(this._data,t):this._data;if(e&&(e=i(e)),!t){var n;for(n in this.$options.computed)e[n]=i(this[n]);if(this._props)for(n in this._props)e[n]=i(this[n])}console.log(e)}}function ui(t){function e(t,e,n,r,s,o){e=i(e);var a=!H(e),h=r===!1||a?s:o,l=!a&&!t._isAttached&&!H(t.$el);return t._isFragment?(rt(t._fragmentStart,t._fragmentEnd,function(i){h(i,e,t)}),n&&n()):h(t.$el,e,t,n),l&&t._callHook("attached"),t}function i(t){return"string"==typeof t?document.querySelector(t):t}function n(t,e,i,n){e.appendChild(t),n&&n()}function r(t,e,i,n){B(t,e),n&&n()}function s(t,e,i){z(t),i&&i()}t.prototype.$nextTick=function(t){Wi(t,this)},t.prototype.$appendTo=function(t,i,r){return e(this,t,i,r,n,S)},t.prototype.$prependTo=function(t,e,n){return t=i(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},t.prototype.$before=function(t,i,n){return e(this,t,i,n,r,D)},t.prototype.$after=function(t,e,n){return t=i(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var i=this._isAttached&&H(this.$el);i||(e=!1);var n=this,r=function(){i&&n._callHook("detached"),t&&t()};if(this._isFragment)st(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=e===!1?s:P;o(this.$el,this,r)}return this}}function fi(t){function e(t,e,n){var r=t.$parent;if(r&&n&&!i.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+n,r=r.$parent}t.prototype.$on=function(t,i){return(this._events[t]||(this._events[t]=[])).push(i),e(this,t,1),this},t.prototype.$once=function(t,e){function i(){n.$off(t,i),e.apply(this,arguments)}var n=this;return i.fn=e,this.$on(t,i),this},t.prototype.$off=function(t,i){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&e(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return e(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===i||r.fn===i){e(this,t,-1),n.splice(s,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var i=this._events[t],n=e||!i;if(i){i=i.length>1?d(i):i;var r=e&&i.some(function(t){return t._fromParent});r&&(n=!1);for(var s=d(arguments,1),o=0,a=i.length;a>o;o++){var h=i[o],l=h.apply(this,s);l!==!0||r&&!h._fromParent||(n=!0)}}return n},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var i=this.$children,n=d(arguments);e&&(n[0]={name:t,source:this});for(var r=0,s=i.length;s>r;r++){var o=i[r],a=o.$emit.apply(o,n);a&&o.$broadcast.apply(o,n)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var i=this.$parent,n=d(arguments);for(n[0]={name:t,source:this};i;)e=i.$emit.apply(i,n),i=e?i.$parent:null;return this}};var i=/^hook:/}function pi(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){return this._isCompiled?void 0:(t=L(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),H(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this)},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,i,n){return Te(t,this.$options,!0)(this,t,e,i,n)}}function di(t){this._init(t)}function vi(t,e,i){return i=i?parseInt(i,10):0,e=o(e),"number"==typeof e?t.slice(i,i+e):t}function mi(t,e,i){if(t=Ls(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var n,r,s,o,a="in"===i?3:2,h=d(arguments,a).reduce(function(t,e){return t.concat(e)},[]),l=[],c=0,u=t.length;u>c;c++)if(n=t[c],s=n&&n.$value||n,o=h.length){for(;o--;)if(r=h[o],"$key"===r&&_i(n.$key,e)||_i(St(s,r),e)){l.push(n);break}}else _i(n,e)&&l.push(n);return l}function gi(t,e,i){if(t=Ls(t),!e)return t;var n=i&&0>i?-1:1;return t.slice().sort(function(t,i){return"$key"!==e&&(m(t)&&"$value"in t&&(t=t.$value),m(i)&&"$value"in i&&(i=i.$value)),t=m(t)?St(t,e):t,i=m(i)?St(i,e):i,t===i?0:t>i?n:-n})}function _i(t,e){var i;if(g(t)){var n=Object.keys(t);for(i=n.length;i--;)if(_i(t[n[i]],e))return!0}else if(Oi(t)){for(i=t.length;i--;)if(_i(t[i],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function bi(i){function n(t){return new Function("return function "+f(t)+" (options) { this._init(options) }")()}i.options={directives:os,elementDirectives:Rs,filters:Ms,transitions:{},components:{},partials:{},replace:!0},i.util=xn,i.config=pn,i.set=t,i["delete"]=e,i.nextTick=Wi,i.compiler=Es,i.FragmentFactory=ae,i.internalDirectives=bs,i.parsers={path:Vn,text:cn,template:br,directive:rn,expression:nr},i.cid=0;var r=1;i.extend=function(t){t=t||{};var e=this,i=0===e.cid;if(i&&t._Ctor)return t._Ctor;var s=t.name||e.options.name,o=n(s||"VueComponent");return o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.cid=r++,o.options=xt(e.options,t),o["super"]=e,o.extend=e.extend,pn._assetTypes.forEach(function(t){o[t]=e[t]}),s&&(o.options.components[s]=o),i&&(t._Ctor=o),o},i.use=function(t){if(!t.installed){var e=d(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},i.mixin=function(t){i.options=xt(i.options,t)},pn._assetTypes.forEach(function(t){i[t]=function(e,n){return n?("component"===t&&g(n)&&(n.name=e,n=i.extend(n)),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}),v(i.transition,vn)}var yi=Object.prototype.hasOwnProperty,wi=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Ci=/-(\w)/g,$i=/([a-z\d])([A-Z])/g,ki=/(?:^|[-_\/])(\w)/g,xi=Object.prototype.toString,Ai="[object Object]",Oi=Array.isArray,Ti="__proto__"in{},Ni="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),ji=Ni&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ei=Ni&&window.navigator.userAgent.toLowerCase(),Fi=Ei&&Ei.indexOf("msie 9.0")>0,Si=Ei&&Ei.indexOf("android")>0,Di=void 0,Pi=void 0,Ri=void 0,Li=void 0;if(Ni&&!Fi){var Hi=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,Mi=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Di=Hi?"WebkitTransition":"transition",Pi=Hi?"webkitTransitionEnd":"transitionend",Ri=Mi?"WebkitAnimation":"animation",Li=Mi?"webkitAnimationEnd":"animationend"}var Wi=function(){function t(){n=!1;var t=i.slice(0);i=[];for(var e=0;ee;e++)t[e].update()};var _n=Array.prototype,bn=Object.create(_n);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=_n[t];_(bn,t,function(){for(var i=arguments.length,n=new Array(i);i--;)n[i]=arguments[i];var r,s=e.apply(this,n),o=this.__ob__;switch(t){case"push":r=n;break;case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&o.observeArray(r),o.dep.notify(),s})}),_(_n,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),_(_n,"$remove",function(t){if(this.length){var e=y(this,t);return e>-1?this.splice(e,1):void 0}});var yn=Object.getOwnPropertyNames(bn);lt.prototype.walk=function(t){for(var e=Object.keys(t),i=0,n=e.length;n>i;i++)this.convert(e[i],t[e[i]])},lt.prototype.observeArray=function(t){for(var e=0,i=t.length;i>e;e++)ft(t[e])},lt.prototype.convert=function(t,e){pt(this.value,t,e)},lt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},lt.prototype.removeVm=function(t){this.vms.$remove(t)};var wn=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Cn=/^(slot|partial|component)$/i,$n=pn.optionMergeStrategies=Object.create(null);$n.data=function(t,e,i){return i?t||e?function(){var n="function"==typeof e?e.call(i):e,r="function"==typeof t?t.call(i):void 0;return n?yt(n,r):r}:void 0:e?"function"!=typeof e?t:t?function(){return yt(e.call(this),t.call(this))}:e:t},$n.el=function(t,e,i){if(i||!e||"function"==typeof e){var n=e||t;return i&&"function"==typeof n?n.call(i):n}},$n.init=$n.created=$n.ready=$n.attached=$n.detached=$n.beforeCompile=$n.compiled=$n.beforeDestroy=$n.destroyed=$n.activate=function(t,e){return e?t?t.concat(e):Oi(e)?e:[e]:t},$n.paramAttributes=function(){},pn._assetTypes.forEach(function(t){$n[t+"s"]=wt}),$n.watch=$n.events=function(t,e){if(!e)return t;if(!t)return e;var i={};v(i,t);for(var n in e){var r=i[n],s=e[n];r&&!Oi(r)&&(r=[r]),i[n]=r?r.concat(s):[s]}return i},$n.props=$n.methods=$n.computed=function(t,e){if(!e)return t;if(!t)return e;var i=Object.create(null);return v(i,t),v(i,e),i};var kn=function(t,e){return void 0===e?t:e},xn=Object.freeze({defineReactive:pt,set:t,del:e,hasOwn:i,isLiteral:n,isReserved:r,_toString:s,toNumber:o,toBoolean:a,stripQuotes:h,camelize:l,hyphenate:u,classify:f,bind:p,toArray:d,extend:v,isObject:m,isPlainObject:g,def:_,debounce:b,indexOf:y,cancellable:w,looseEqual:C,isArray:Oi,hasProto:Ti,inBrowser:Ni,devtools:ji,isIE9:Fi,isAndroid:Si,get transitionProp(){return Di},get transitionEndEvent(){return Pi},get animationProp(){return Ri},get animationEndEvent(){return Li},nextTick:Wi,query:L,inDoc:H,getAttr:M,getBindAttr:W,hasBindAttr:I,before:B,after:V,remove:z,prepend:U,replace:J,on:q,off:Q,setClass:G,addClass:K,removeClass:Z,extractContent:X,trimNode:Y,isTemplate:et,createAnchor:it,findRef:nt,mapNodeRange:rt,removeNodeRange:st,isFragment:ot,getOuterHTML:at,mergeOptions:xt,resolveAsset:At,assertAsset:Ot,checkComponentAttr:dt,initProp:mt,assertProp:_t,coerceProp:bt,commonTagRE:wn,reservedTagRE:Cn,warn:dn}),An=0,On=new $(1e3),Tn=0,Nn=1,jn=2,En=3,Fn=0,Sn=1,Dn=2,Pn=3,Rn=4,Ln=5,Hn=6,Mn=7,Wn=8,In=[];In[Fn]={ws:[Fn],ident:[Pn,Tn],"[":[Rn],eof:[Mn]},In[Sn]={ws:[Sn],".":[Dn],"[":[Rn],eof:[Mn]},In[Dn]={ws:[Dn],ident:[Pn,Tn]},In[Pn]={ident:[Pn,Tn],0:[Pn,Tn],number:[Pn,Tn],ws:[Sn,Nn],".":[Dn,Nn],"[":[Rn,Nn],eof:[Mn,Nn]},In[Rn]={"'":[Ln,Tn],'"':[Hn,Tn],"[":[Rn,jn],"]":[Sn,En],eof:Wn,"else":[Rn,Tn]},In[Ln]={"'":[Rn,Tn],eof:Wn,"else":[Ln,Tn]},In[Hn]={'"':[Rn,Tn],eof:Wn,"else":[Hn,Tn]};var Bn,Vn=Object.freeze({parsePath:Ft,getPath:St,setPath:Dt}),zn=new $(1e3),Un="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",Jn=new RegExp("^("+Un.replace(/,/g,"\\b|")+"\\b)"),qn="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",Qn=new RegExp("^("+qn.replace(/,/g,"\\b|")+"\\b)"),Gn=/\s/g,Kn=/\n/g,Zn=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,Xn=/"(\d+)"/g,Yn=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,tr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,er=/^(?:true|false)$/,ir=[],nr=Object.freeze({parseExpression:It,isSimplePath:Bt}),rr=[],sr=[],or={},ar={},hr=!1,lr=!1,cr=0;qt.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(i){}return this.deep&&Qt(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},qt.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(i){}var n=e.$forContext;if(n&&n.alias===this.expression){if(n.filters)return;n._withLock(function(){e.$key?n.rawValue[e.$key]=t:n.rawValue.$set(e.$index,t)})}},qt.prototype.beforeGet=function(){ht.target=this,this.newDepIds=Object.create(null),this.newDeps.length=0},qt.prototype.addDep=function(t){var e=t.id;this.newDepIds[e]||(this.newDepIds[e]=!0,this.newDeps.push(t),this.depIds[e]||t.addSub(this))},qt.prototype.afterGet=function(){ht.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds[e.id]||e.removeSub(this)}this.depIds=this.newDepIds;var i=this.deps;this.deps=this.newDeps,this.newDeps=i},qt.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!pn.async?this.run():(this.shallow=this.queued?t?this.shallow:!1:!!t,this.queued=!0,Jt(this))},qt.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(m(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;this.prevError;this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},qt.prototype.evaluate=function(){var t=ht.target;this.value=this.get(),this.dirty=!1,ht.target=t},qt.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},qt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var ur={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=s(t)}},fr=new $(1e3),pr=new $(1e3),dr={efault:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};dr.td=dr.th=[3,"","
"],dr.option=dr.optgroup=[1,'"],dr.thead=dr.tbody=dr.colgroup=dr.caption=dr.tfoot=[1,"","
"],dr.g=dr.defs=dr.symbol=dr.use=dr.image=dr.text=dr.circle=dr.ellipse=dr.line=dr.path=dr.polygon=dr.polyline=dr.rect=[1,'',""];var vr=/<([\w:-]+)/,mr=/&#?\w+?;/,gr=function(){if(Ni){var t=document.createElement("div");return t.innerHTML="",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),_r=function(){if(Ni){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),br=Object.freeze({cloneNode:Xt,parseTemplate:Yt}),yr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=it("v-html"),J(this.el,this.anchor))},update:function(t){t=s(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)z(this.nodes[e]);var i=Yt(t,!0,!0);this.nodes=d(i.childNodes),B(i,this.anchor)}};te.prototype.callHook=function(t){var e,i;for(e=0,i=this.childFrags.length;i>e;e++)this.childFrags[e].callHook(t);for(e=0,i=this.children.length;i>e;e++)t(this.children[e])},te.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;e>t;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;e>t;t++)this.children[t].$destroy(!1,!0);var i=this.unlink.dirs;for(t=0,e=i.length;e>t;t++)i[t]._watcher&&i[t]._watcher.teardown()},te.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var wr=new $(5e3);ae.prototype.create=function(t,e,i){var n=Xt(this.template);return new te(this.linker,this.vm,n,t,e,i)};var Cr=700,$r=800,kr=850,xr=1100,Ar=1500,Or=1500,Tr=1750,Nr=2e3,jr=2e3,Er=2100,Fr=0,Sr={priority:Nr,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(this.alias){this.id="__v-for__"+ ++Fr;var i=this.el.tagName;this.isOption=("OPTION"===i||"OPTGROUP"===i)&&"SELECT"===this.el.parentNode.tagName,this.start=it("v-for-start"),this.end=it("v-for-end"),J(this.el,this.end),B(this.start,this.end),this.cache=Object.create(null),this.factory=new ae(this.vm,this.el)}},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,r,s,o,a,h=t[0],l=this.fromObject=m(h)&&i(h,"$key")&&i(h,"$value"),c=this.params.trackBy,u=this.frags,f=this.frags=new Array(t.length),p=this.alias,d=this.iterator,v=this.start,g=this.end,_=H(v),b=!u;for(e=0,n=t.length;n>e;e++)h=t[e],s=l?h.$key:null,o=l?h.$value:h,a=!m(o),r=!b&&this.getCachedFrag(o,e,s),r?(r.reused=!0,r.scope.$index=e,s&&(r.scope.$key=s),d&&(r.scope[d]=null!==s?s:e),(c||l||a)&&(r.scope[p]=o)):(r=this.create(o,p,e,s),r.fresh=!b),f[e]=r,b&&r.before(g);if(!b){var y=0,w=u.length-f.length;for(this.vm._vForRemoving=!0,e=0,n=u.length;n>e;e++)r=u[e],r.reused||(this.deleteCachedFrag(r),this.remove(r,y++,w,_));this.vm._vForRemoving=!1,y&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var C,$,k,x=0;for(e=0,n=f.length;n>e;e++)r=f[e],C=f[e-1],$=C?C.staggerCb?C.staggerAnchor:C.end||C.node:v,r.reused&&!r.staggerCb?(k=he(r,v,this.id),k===C||k&&he(k,v,this.id)===C||this.move(r,$)):this.insert(r,x++,$,_),r.reused=r.fresh=!1}},create:function(t,e,i,n){var r=this._host,s=this._scope||this.vm,o=Object.create(s);o.$refs=Object.create(s.$refs),o.$els=Object.create(s.$els),o.$parent=s,o.$forContext=this,pt(o,e,t,!0),pt(o,"$index",i),n?pt(o,"$key",n):o.$key&&_(o,"$key",null),this.iterator&&pt(o,this.iterator,null!==n?n:i);var a=this.factory.create(r,o,this._frag);return a.forId=this.id,this.cacheFrag(t,a,i,n),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,i=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=le(t)})):e=this.frags.map(le),i[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,i,n){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(n&&r){var s=t.staggerAnchor;s||(s=t.staggerAnchor=it("stagger-anchor"),s.__v_frag=t),V(s,i);var o=t.staggerCb=w(function(){t.staggerCb=null,t.before(s),z(s)});setTimeout(o,r)}else t.before(i.nextSibling)},remove:function(t,e,i,n){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,i,"leave");if(n&&r){var s=t.staggerCb=w(function(){t.staggerCb=null,t.remove()});setTimeout(s,r)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,n,r){var s,o=this.params.trackBy,a=this.cache,h=!m(t);r||o||h?(s=o?"$index"===o?n:t[o]:r||t,a[s]||(a[s]=e)):(s=this.id,i(t,s)?null===t[s]&&(t[s]=e):_(t,s,e)),e.raw=t},getCachedFrag:function(t,e,i){var n,r=this.params.trackBy,s=!m(t);if(i||r||s){var o=r?"$index"===r?e:t[r]:i||t;n=this.cache[o]}else n=t[this.id];return n&&(n.reused||n.fresh),n},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,r=t.scope,s=r.$index,o=i(r,"$key")&&r.$key,a=!m(e);if(n||o||a){var h=n?"$index"===n?s:e[n]:o||e;this.cache[h]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,i,n){n+="Stagger";var r=t.node.__v_trans,s=r&&r.hooks,o=s&&(s[n]||s.stagger);return o?o.call(t,e,i):e*parseInt(this.params[n]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Oi(t))return t;if(g(t)){for(var e,i=Object.keys(t),n=i.length,r=new Array(n);n--;)e=i[n],r[n]={$key:e,$value:t[e]};return r}return"number"!=typeof t||isNaN(t)||(t=ce(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}},Dr={priority:jr,bind:function(){var t=this.el;if(t.__vue__)this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==M(e,"v-else")&&(z(e),this.elseEl=e),this.anchor=it("v-if"),J(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new ae(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new ae(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},Pr={bind:function(){var t=this.el.nextElementSibling;t&&null!==M(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function i(){t.style.display=e?"":"none"}H(t)?R(t,e?1:-1,i,this.vm):i()}},Rr={bind:function(){var t=this,e=this.el,i="range"===e.type,n=this.params.lazy,r=this.params.number,s=this.params.debounce,a=!1;if(Si||i||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,n||t.listener()})),this.focused=!1,i||n||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!a&&t._bound){var n=r||i?o(e.value):e.value;t.set(n),Wi(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},s&&(this.listener=b(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var h=jQuery.fn.on?"on":"bind";jQuery(e)[h]("change",this.rawListener),n||jQuery(e)[h]("input",this.listener)}else this.on("change",this.rawListener),n||this.on("input",this.listener);!n&&Fi&&(this.on("cut",function(){Wi(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){this.el.value=s(t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},Lr={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var i=e.value;return t.params.number&&(i=o(i)),i},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=C(t,this.getValue())}},Hr={bind:function(){var t=this,e=this.el;this.forceUpdate=function(){t._watcher&&t.update(t._watcher.get())};var i=this.multiple=e.hasAttribute("multiple");this.listener=function(){var n=ue(e,i);n=t.params.number?Oi(n)?n.map(o):o(n):n,t.set(n)},this.on("change",this.listener);var n=ue(e,i,!0);(i&&n.length||!i&&null!==n)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var i,n,r=this.multiple&&Oi(t),s=e.options,o=s.length;o--;)i=s[o],n=i.hasOwnProperty("_value")?i._value:i.value,i.selected=r?fe(t,n)>-1:C(t,n)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},Mr={bind:function(){function t(){var t=i.checked;return t&&i.hasOwnProperty("_trueValue")?i._trueValue:!t&&i.hasOwnProperty("_falseValue")?i._falseValue:t}var e=this,i=this.el;this.getValue=function(){return i.hasOwnProperty("_value")?i._value:e.params.number?o(i.value):i.value},this.listener=function(){var n=e._watcher.value;if(Oi(n)){var r=e.getValue();i.checked?y(n,r)<0&&n.push(r):n.$remove(r)}else e.set(t())},this.on("change",this.listener),i.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Oi(t)?e.checked=y(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=C(t,e._trueValue):e.checked=!!t}},Wr={text:Rr,radio:Lr,select:Hr,checkbox:Mr},Ir={priority:$r,twoWay:!0,handlers:Wr,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,i=e.tagName;if("INPUT"===i)t=Wr[e.type]||Wr.text;else if("SELECT"===i)t=Wr.select;else{if("TEXTAREA"!==i)return;t=Wr.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var i=At(this.vm.$options,"filters",t[e].name);("function"==typeof i||i.read)&&(this.hasRead=!0),i.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},Br={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},Vr={priority:Cr,acceptStatement:!0,keyCodes:Br,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){q(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"==typeof t){this.modifiers.stop&&(t=de(t)),this.modifiers.prevent&&(t=ve(t)),this.modifiers.self&&(t=me(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t});e.length&&(t=pe(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():q(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&Q(t,this.arg,this.handler)},unbind:function(){this.reset()}},zr=["-webkit-","-moz-","-ms-"],Ur=["Webkit","Moz","ms"],Jr=/!important;?$/,qr=Object.create(null),Qr=null,Gr={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Oi(t)?this.handleObject(t.reduce(v,{})):this.handleObject(t||{})},handleObject:function(t){var e,i,n=this.cache||(this.cache={});for(e in n)e in t||(this.handleSingle(e,null),delete n[e]);for(e in t)i=t[e],i!==n[e]&&(n[e]=i,this.handleSingle(e,i))},handleSingle:function(t,e){if(t=ge(t))if(null!=e&&(e+=""),e){var i=Jr.test(e)?"important":"";i&&(e=e.replace(Jr,"").trim()),this.el.style.setProperty(t,e,i)}else this.el.style.removeProperty(t)}},Kr="http://www.w3.org/1999/xlink",Zr=/^xlink:/,Xr=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,Yr=/^(?:value|checked|selected|muted)$/,ts=/^(?:draggable|contenteditable|spellcheck)$/,es={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},is={priority:kr,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var i=this.descriptor,n=i.interp;n&&(i.hasOneTime&&(this.expression=j(n,this._scope||this.vm)),(Xr.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(this.el.removeAttribute(t),this.invalid=!0))},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:Gr.handleObject,handleSingle:function(t,e){var i=this.el,n=this.descriptor.interp;this.modifiers.camel&&(t=l(t)),!n&&Yr.test(t)&&t in i&&(i[t]="value"===t&&null==e?"":e);var r=es[t];if(!n&&r){i[r]=e;var s=i.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===i.tagName?void i.removeAttribute(t):void(ts.test(t)?i.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(i.__v_trans&&(e+=" "+i.__v_trans.id+"-transition"),G(i,e)):Zr.test(t)?i.setAttributeNS(Kr,t,e===!0?"":e):i.setAttribute(t,e===!0?"":e):i.removeAttribute(t))}},ns={priority:Ar,bind:function(){if(this.arg){var t=this.id=l(this.arg),e=(this._scope||this.vm).$els;i(e,t)?e[t]=this.el:pt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},rs={bind:function(){}},ss={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},os={text:ur,html:yr,"for":Sr,"if":Dr,show:Pr,model:Ir,on:Vr,bind:is,el:ns,ref:rs,cloak:ss},as={deep:!0,update:function(t){t&&"string"==typeof t?this.handleObject(be(t)):g(t)?this.handleObject(t):Oi(t)?this.handleArray(t):this.cleanup()},handleObject:function(t){this.cleanup(t);for(var e=this.prevKeys=Object.keys(t),i=0,n=e.length;n>i;i++){var r=e[i];t[r]?K(this.el,r):Z(this.el,r)}},handleArray:function(t){this.cleanup(t);for(var e=0,i=t.length;i>e;e++)t[e]&&K(this.el,t[e]);this.prevKeys=t.slice()},cleanup:function(t){if(this.prevKeys)for(var e=this.prevKeys.length;e--;){var i=this.prevKeys[e];!i||t&&ye(t,i)||Z(this.el,i)}}},hs={priority:Or,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=X(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=it("v-component"),J(this.el,this.anchor),this.el.removeAttribute("is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+u(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var i=this;this.resolveComponent(t,function(){i.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var i=this;this.pendingComponentCb=w(function(n){i.ComponentName=n.options.name||t,i.Component=n,e()}),this.vm._resolveComponent(t,this.pendingComponentCb); -},mountComponent:function(t){this.unbuild(!0);var e=this,i=this.Component.options.activate,n=this.getCached(),r=this.build();i&&!n?(this.waitingFor=r,we(i,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(n&&r._updateRef(),this.transition(r,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var i={name:this.ComponentName,el:Xt(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&v(i,t);var n=new this.Component(i);return this.keepAlive&&(this.cache[this.Component.cid]=n),n}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var i=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var n=this;t.$remove(function(){n.pendingRemovals--,i||t._cleanup(),!n.pendingRemovals&&n.pendingRemovalCb&&(n.pendingRemovalCb(),n.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var i=this,n=this.childVM;switch(n&&(n._inactive=!0),t._inactive=!1,this.childVM=t,i.params.transitionMode){case"in-out":t.$before(i.anchor,function(){i.remove(n,e)});break;case"out-in":i.remove(n,function(){t.$before(i.anchor,e)});break;default:i.remove(n),t.$before(i.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},ls=pn._propBindingModes,cs={bind:function(){var t=this.vm,e=t._context,i=this.descriptor.prop,n=i.path,r=i.parentPath,s=i.mode===ls.TWO_WAY,o=this.parentWatcher=new qt(e,r,function(e){e=bt(i,e),_t(i,e)&&(t[n]=e)},{twoWay:s,filters:i.filters,scope:this._scope});if(mt(t,i,o.value),s){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new qt(t,n,function(t){o.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},us=[],fs=!1,ps="transition",ds="animation",vs=Di+"Duration",ms=Ri+"Duration",gs=ke.prototype;gs.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,K(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Ce(this.enterNextTick))},gs.enterNextTick=function(){this.justEntered=!0;var t=this;setTimeout(function(){t.justEntered=!1},17);var e=this.enterDone,i=this.getCssTransitionType(this.enterClass);this.pendingJsCb?i===ps&&Z(this.el,this.enterClass):i===ps?(Z(this.el,this.enterClass),this.setupCssCb(Pi,e)):i===ds?this.setupCssCb(Li,e):e()},gs.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,Z(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},gs.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,K(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Ce(this.leaveNextTick)))},gs.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===ps?Pi:Li;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},gs.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),Z(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},gs.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,Q(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(Z(this.el,this.enterClass),Z(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},gs.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},gs.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=w(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},gs.getCssTransitionType=function(t){if(!(!Pi||document.hidden||this.hooks&&this.hooks.css===!1||xe(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var i=this.el.style,n=window.getComputedStyle(this.el),r=i[vs]||n[vs];if(r&&"0s"!==r)e=ps;else{var s=i[ms]||n[ms];s&&"0s"!==s&&(e=ds)}return e&&(this.typeCache[t]=e),e}},gs.setupCssCb=function(t,e){this.pendingCssEvent=t;var i=this,n=this.el,r=this.pendingCssCb=function(s){s.target===n&&(Q(n,t,r),i.pendingCssEvent=i.pendingCssCb=null,!i.pendingJsCb&&e&&e())};q(n,t,r)};var _s={priority:xr,update:function(t,e){var i=this.el,n=At(this.vm.$options,"transitions",t);t=t||"v",i.__v_trans=new ke(i,t,n,this.vm),e&&Z(i,e+"-transition"),K(i,t+"-transition")}},bs={style:Gr,"class":as,component:hs,prop:cs,transition:_s},ys=pn._propBindingModes,ws={},Cs=/^[$_a-zA-Z]+[\w$]*$/,$s=/^v-bind:|^:/,ks=/^v-on:|^@/,xs=/^v-([^:]+)(?:$|:(.*)$)/,As=/\.[^\.]+/g,Os=/^(v-bind:|:)?transition$/,Ts=["for","if"],Ns=1e3;Je.terminal=!0;var js=/[^\w\-:\.]/,Es=Object.freeze({compile:Te,compileAndLinkProps:Se,compileRoot:De,terminalDirectives:Ts,transclude:Xe,resolveSlots:ii}),Fs=/^v-on:|^@/;ai.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var i=e.attr||"v-"+t;this.el.removeAttribute(i)}var n=e.def;if("function"==typeof n?this.update=n:v(this,n),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(t,e){r._locked||r.update(t,e)}:this._update=oi;var s=this._preProcess?p(this._preProcess,this):null,o=this._postProcess?p(this._postProcess,this):null,a=this._watcher=new qt(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:s,postProcess:o,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},ai.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,i,n,r=t.length;r--;)e=t[r],n=l(e),i=W(this.el,e),null!=i?this._setupParamWatcher(n,i):(i=M(this.el,e),null!=i&&(this.params[n]=""===i?!0:i))}},ai.prototype._setupParamWatcher=function(t,e){var i=this,n=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(i.params[t]=e,n){var s=i.paramWatchers&&i.paramWatchers[t];s&&s.call(i,e,r)}else n=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},ai.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!Bt(t)){var e=It(t).get,i=this._scope||this.vm,n=function(t){i.$event=t,e.call(i,i),i.$event=null};return this.filters&&(n=i._applyFilters(n,null,this.filters)),this.update(n),!0}},ai.prototype.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},ai.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),Wi(function(){e._locked=!1})},ai.prototype.on=function(t,e,i){q(this.el,t,e,i),(this._listeners||(this._listeners=[])).push([t,e])},ai.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)Q(this.el,e[t][0],e[t][1]);var i=this._paramUnwatchFns;if(i)for(t=i.length;t--;)i[t]();this.vm=this.el=this._watcher=this._listeners=null}};var Ss=/[^|]\|[^|]/;Tt(di),ri(di),si(di),hi(di),li(di),ci(di),ui(di),fi(di),pi(di);var Ds={priority:Er,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,i){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var n=document.createElement("template");n.setAttribute("v-else",""),n.innerHTML=this.el.innerHTML,n._context=this.vm,t.appendChild(n)}var r=i?i._scope:this._scope;this.unlink=e.$compile(t,i,r,this._frag)}t?J(this.el,t):z(this.el)},fallback:function(){this.compile(X(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},Ps={priority:Tr,params:["name"],paramWatchers:{name:function(t){Dr.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=it("v-partial"),J(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=At(this.vm.$options,"partials",t);e&&(this.factory=new ae(this.vm,e),Dr.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},Rs={slot:Ds,partial:Ps},Ls=Sr._postProcess,Hs=/(\d{3})(?=\d)/g,Ms={orderBy:gi,filterBy:mi,limitBy:vi,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,Number(e)||2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$";var i=Math.abs(t).toFixed(2),n=i.slice(0,-3),r=n.length%3,s=r>0?n.slice(0,r)+(n.length>3?",":""):"",o=i.slice(-3),a=0>t?"-":"";return a+e+s+n.slice(r).replace(Hs,"$1,")+o},pluralize:function(t){var e=d(arguments,1);return e.length>1?e[t%10-1]||e[e.length-1]:e[0]+(1===t?"":"s")},debounce:function(t,e){return t?(e||(e=300),b(t,e)):void 0}};return bi(di),di.version="1.0.18",pn.devtools&&ji&&ji.emit("init",di),di}); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(e,n,r){if(i(e,n))return void(e[n]=r);if(e._isVue)return void t(e._data,n,r);var s=e.__ob__;if(!s)return void(e[n]=r);if(s.convert(n,r),s.dep.notify(),s.vms)for(var o=s.vms.length;o--;){var a=s.vms[o];a._proxy(n),a._digest()}return r}function e(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._unproxy(e),s._digest()}}}function i(t,e){return Mi.call(t,e)}function n(t){return Wi.test(t)}function r(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function s(t){return null==t?"":t.toString()}function o(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function a(t){return"true"===t||"false"!==t&&t}function h(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function l(t){return t.replace(Vi,c)}function c(t,e){return e?e.toUpperCase():""}function u(t){return t.replace(Bi,"$1-$2").replace(Bi,"$1-$2").toLowerCase()}function f(t){return t.replace(zi,c)}function p(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function d(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function v(t,e){for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t}function m(t){return null!==t&&"object"==typeof t}function g(t){return Ui.call(t)===Ji}function _(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function y(t,e){var i,n,r,s,o,a=function a(){var h=Date.now()-s;h=0?i=setTimeout(a,e-h):(i=null,o=t.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,s=Date.now(),i||(i=setTimeout(a,e)),o}}function b(t,e){for(var i=t.length;i--;)if(t[i]===e)return i;return-1}function w(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function C(t,e){return t==e||!(!m(t)||!m(e))&&JSON.stringify(t)===JSON.stringify(e)}function $(t){return/native code/.test(t.toString())}function k(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function x(){return fn.charCodeAt(vn+1)}function A(){return fn.charCodeAt(++vn)}function O(){return vn>=dn}function T(){for(;x()===Tn;)A()}function N(t){return t===kn||t===xn}function j(t){return Nn[t]}function E(t,e){return jn[t]===e}function S(){for(var t,e=A();!O();)if(t=A(),t===On)A();else if(t===e)break}function F(t){for(var e=0,i=t;!O();)if(t=x(),N(t))S();else if(i===t&&e++,E(i,t)&&e--,A(),0===e)break}function D(){for(var t=vn;!O();)if(mn=x(),N(mn))S();else if(j(mn))F(mn);else if(mn===An){if(A(),mn=x(),mn!==An){gn!==bn&&gn!==$n||(gn=wn);break}A()}else{if(mn===Tn&&(gn===Cn||gn===$n)){T();break}gn===wn&&(gn=Cn),A()}return fn.slice(t+1,vn)||null}function P(){for(var t=[];!O();)t.push(R());return t}function R(){var t,e={};return gn=wn,e.name=D().trim(),gn=$n,t=L(),t.length&&(e.args=t),e}function L(){for(var t=[];!O()&&gn!==wn;){var e=D();if(!e)break;t.push(H(e))}return t}function H(t){if(yn.test(t))return{value:o(t),dynamic:!1};var e=h(t),i=e===t;return{value:i?t:e,dynamic:i}}function I(t){var e=_n.get(t);if(e)return e;fn=t,pn={},dn=fn.length,vn=-1,mn="",gn=bn;var i;return fn.indexOf("|")<0?pn.expression=fn.trim():(pn.expression=D().trim(),i=P(),i.length&&(pn.filters=i)),_n.put(t,pn),pn}function M(t){return t.replace(Sn,"\\$&")}function W(){var t=M(Mn.delimiters[0]),e=M(Mn.delimiters[1]),i=M(Mn.unsafeDelimiters[0]),n=M(Mn.unsafeDelimiters[1]);Dn=new RegExp(i+"((?:.|\\n)+?)"+n+"|"+t+"((?:.|\\n)+?)"+e,"g"),Pn=new RegExp("^"+i+"((?:.|\\n)+?)"+n+"$"),Fn=new k(1e3)}function V(t){Fn||W();var e=Fn.get(t);if(e)return e;if(!Dn.test(t))return null;for(var i,n,r,s,o,a,h=[],l=Dn.lastIndex=0;i=Dn.exec(t);)n=i.index,n>l&&h.push({value:t.slice(l,n)}),r=Pn.test(i[0]),s=r?i[1]:i[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,h.push({tag:!0,value:s.trim(),html:r,oneTime:a}),l=n+i[0].length;return l1?t.map(function(t){return z(t,e)}).join("+"):z(t[0],e,!0)}function z(t,e,i){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':U(t.value,i):'"'+t.value+'"'}function U(t,e){if(Rn.test(t)){var i=I(t);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function J(t,e,i,n){G(t,1,function(){e.appendChild(t)},i,n)}function q(t,e,i,n){G(t,1,function(){et(t,e)},i,n)}function Q(t,e,i){G(t,-1,function(){nt(t)},e,i)}function G(t,e,i,n,r){var s=t.__v_trans;if(!s||!s.hooks&&!rn||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var o=e>0?"enter":"leave";s[o](i,r)}function Z(t){if("string"==typeof t){t=document.querySelector(t)}return t}function X(t){if(!t)return!1;var e=t.ownerDocument.documentElement,i=t.parentNode;return e===t||e===i||!(!i||1!==i.nodeType||!e.contains(i))}function Y(t,e){var i=t.getAttribute(e);return null!==i&&t.removeAttribute(e),i}function K(t,e){var i=Y(t,":"+e);return null===i&&(i=Y(t,"v-bind:"+e)),i}function tt(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function et(t,e){e.parentNode.insertBefore(t,e)}function it(t,e){e.nextSibling?et(t,e.nextSibling):e.parentNode.appendChild(t)}function nt(t){t.parentNode.removeChild(t)}function rt(t,e){e.firstChild?et(t,e.firstChild):e.appendChild(t)}function st(t,e){var i=t.parentNode;i&&i.replaceChild(e,t)}function ot(t,e,i,n){t.addEventListener(e,i,n)}function at(t,e,i){t.removeEventListener(e,i)}function ht(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function lt(t,e){Ki&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function ct(t,e){if(t.classList)t.classList.add(e);else{var i=" "+ht(t)+" ";i.indexOf(" "+e+" ")<0&<(t,(i+e).trim())}}function ut(t,e){if(t.classList)t.classList.remove(e);else{for(var i=" "+ht(t)+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");lt(t,i.trim())}t.className||t.removeAttribute("class")}function ft(t,e){var i,n;if(vt(t)&&bt(t.content)&&(t=t.content),t.hasChildNodes())for(pt(t),n=e?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)n.appendChild(i);return n}function pt(t){for(var e;e=t.firstChild,dt(e);)t.removeChild(e);for(;e=t.lastChild,dt(e);)t.removeChild(e)}function dt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function vt(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function mt(t,e){var i=Mn.debug?document.createComment(t):document.createTextNode(e?" ":"");return i.__v_anchor=!0,i}function gt(t){if(t.hasAttributes())for(var e=t.attributes,i=0,n=e.length;i=h.length){for(var t=0;t=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Mt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(n(e)?h(e):"*"+e)}function Wt(t){function e(){var e=t[c+1];if(u===ur&&"'"===e||u===fr&&'"'===e)return c++,n="\\"+e,p[ir](),!0}var i,n,r,s,o,a,h,l=[],c=-1,u=or,f=0,p=[];for(p[nr]=function(){void 0!==r&&(l.push(r),r=void 0)},p[ir]=function(){void 0===r?r=n:r+=n},p[rr]=function(){p[ir](),f++},p[sr]=function(){if(f>0)f--,u=cr,p[ir]();else{if(f=0,r=Mt(r),r===!1)return!1;p[nr]()}};null!=u;)if(c++,i=t[c],"\\"!==i||!e()){if(s=It(i),h=vr[u],o=h[s]||h.else||dr,o===dr)return;if(u=o[0],a=p[o[1]],a&&(n=o[2],n=void 0===n?i:n,a()===!1))return;if(u===pr)return l.raw=t,l}}function Vt(t){var e=er.get(t);return e||(e=Wt(t),e&&er.put(t,e)),e}function Bt(t,e){return Yt(e).get(t)}function zt(e,i,n){var r=e;if("string"==typeof i&&(i=Wt(i)),!i||!m(e))return!1;for(var s,o,a=0,h=i.length;a-1?i.replace(xr,Qt):i,e+"scope."+i)}function Qt(t,e){return Nr[e]}function Gt(t){wr.test(t),Nr.length=0;var e=t.replace(kr,Jt).replace(Cr,"");return e=(" "+e).replace(Or,qt).replace(xr,Qt),Zt(e)}function Zt(t){try{return new Function("scope","return "+t+";")}catch(t){return Ut}}function Xt(t){var e=Vt(t);if(e)return function(t,i){zt(t,e,i)}}function Yt(t,e){t=t.trim();var i=gr.get(t);if(i)return e&&!i.set&&(i.set=Xt(i.exp)),i;var n={exp:t};return n.get=Kt(t)&&t.indexOf("[")<0?Zt("scope."+t):Gt(t),e&&(n.set=Xt(t)),gr.put(t,n),n}function Kt(t){return Ar.test(t)&&!Tr.test(t)&&"Math."!==t.slice(0,5)}function te(){Er.length=0,Sr.length=0,Fr={},Dr={},Pr=!1}function ee(){for(var t=!0;t;)t=!1,ie(Er),ie(Sr),Er.length?t=!0:(Zi&&Mn.devtools&&Zi.emit("flush"),te())}function ie(t){for(var e=0;e0){var o=s+(n?e:wt(e));r=Gr.get(o),r||(r=qe(i,t.$options,!0),Gr.put(o,r))}else r=qe(i,t.$options,!0);this.linker=r}function ye(t,e,i){var n=t.node.previousSibling;if(n){for(t=n.__v_frag;!(t&&t.forId===i&&t.inserted||n===e);){if(n=n.previousSibling,!n)return;t=n.__v_frag}return t}}function be(t){for(var e=-1,i=new Array(Math.floor(t));++e47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:ms[t]});return i=[].concat.apply([],i),function(e){if(i.indexOf(e.keyCode)>-1)return t.call(this,e)}}function Ae(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Oe(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Te(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Ne(t){if(ws[t])return ws[t];var e=je(t);return ws[t]=ws[e]=e,e}function je(t){t=u(t);var e=l(t),i=e.charAt(0).toUpperCase()+e.slice(1);Cs||(Cs=document.createElement("div"));var n,r=_s.length;if("filter"!==e&&e in Cs.style)return{kebab:t,camel:e};for(;r--;)if(n=ys[r]+i,n in Cs.style)return{kebab:_s[r]+t,camel:n}}function Ee(t){var e=[];if(qi(t))for(var i=0,n=t.length;i=r?i():t[s].call(e,n)}var r=t.length,s=0;t[0].call(e,n)}function De(t,e,i){for(var r,s,o,a,h,c,f,p=[],d=i.$options.propsData,v=Object.keys(e),m=v.length;m--;)s=v[m],r=e[s]||Hs,h=l(s),Is.test(h)&&(f={name:s,path:h,options:r,mode:Ls.ONE_WAY,raw:null},o=u(s),null===(a=K(t,o))&&(null!==(a=K(t,o+".sync"))?f.mode=Ls.TWO_WAY:null!==(a=K(t,o+".once"))&&(f.mode=Ls.ONE_TIME)),null!==a?(f.raw=a,c=I(a),a=c.expression,f.filters=c.filters,n(a)&&!c.filters?f.optimizedLiteral=!0:f.dynamic=!0,f.parentPath=a):null!==(a=Y(t,o))?f.raw=a:d&&null!==(a=d[s]||d[h])&&(f.raw=a),p.push(f));return Pe(p)}function Pe(t){return function(e,n){e._props={};for(var r,s,l,c,f,p=e.$options.propsData,d=t.length;d--;)if(r=t[d],f=r.raw,s=r.path,l=r.options,e._props[s]=r,p&&i(p,s)&&Le(e,r,p[s]),null===f)Le(e,r,void 0);else if(r.dynamic)r.mode===Ls.ONE_TIME?(c=(n||e._context||e).$get(r.parentPath),Le(e,r,c)):e._context?e._bindDir({name:"prop",def:Ws,prop:r},null,null,n):Le(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var v=h(f);c=v===f?a(o(f)):v,Le(e,r,c)}else c=l.type===Boolean&&(""===f||f===u(r.name))||f,Le(e,r,c)}}function Re(t,e,i,n){var r=e.dynamic&&Kt(e.parentPath),s=i;void 0===s&&(s=Ie(t,e)),s=We(e,s,t);var o=s!==i;Me(e,s,t)||(s=void 0),r&&!o?St(function(){n(s)}):n(s)}function Le(t,e,i){Re(t,e,i,function(i){Lt(t,e.path,i)})}function He(t,e,i){Re(t,e,i,function(i){t[e.path]=i})}function Ie(t,e){var n=e.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n.default;return m(r),"function"==typeof r&&n.type!==Function?r.call(t):r}function Me(t,e,i){if(!t.options.required&&(null===t.raw||null==e))return!0;var n=t.options,r=n.type,s=!r,o=[];if(r){qi(r)||(r=[r]);for(var a=0;ae?-1:t===e?0:1}),e=0,i=a.length;ep.priority)&&(p=f,c=r.name,a=di(r.name),o=r.value,l=h[1],u=h[2]));return p?fi(t,l,o,i,p,c,u,a):void 0}function ui(){}function fi(t,e,i,n,r,s,o,a){var h=I(i),l={name:e,arg:o,expression:h.expression,filters:h.filters,raw:i,attr:s,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(l.ref=gt(t));var c=function(t,e,i,n,r){l.ref&&Lt((n||t).$refs,l.ref,null),t._bindDir(l,e,i,n,r)};return c.terminal=!0,c}function pi(t,e){function i(t,e,i){var n=i&&mi(i),r=!n&&I(s);v.push({name:t,attr:o,raw:a,def:e,arg:l,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var n,r,s,o,a,h,l,c,u,f,p,d=t.length,v=[];d--;)if(n=t[d],r=o=n.name,s=a=n.value,f=V(s),l=null,c=di(r),r=r.replace(io,""),f)s=B(f),l=r,i("bind",Ds.bind,f);else if(no.test(r))c.literal=!Ks.test(r),i("transition",Ys.transition);else if(to.test(r))l=r.replace(to,""),i("on",Ds.on);else if(Ks.test(r))h=r.replace(Ks,""),"style"===h||"class"===h?i(h,Ys[h]):(l=h,i("bind",Ds.bind));else if(p=r.match(eo)){if(h=p[1],l=p[2],"else"===h)continue;u=jt(e,"directives",h,!0),u&&i(h,u)}if(v.length)return vi(v)}function di(t){var e=Object.create(null),i=t.match(io);if(i)for(var n=i.length;n--;)e[i[n].slice(1)]=!0;return e}function vi(t){return function(e,i,n,r,s){for(var o=t.length;o--;)e._bindDir(t[o],i,n,r,s)}}function mi(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function gi(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function _i(t,e){return e&&(e._containerAttrs=bi(t)),vt(t)&&(t=ce(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=ft(t),t=yi(t,e))),bt(t)&&(rt(mt("v-start",!0),t),t.appendChild(mt("v-end",!0))),t}function yi(t,e){var i=e.template,n=ce(i,!0);if(n){var r=n.firstChild;if(!r)return n;var s=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body,n.childNodes.length>1||1!==r.nodeType||"component"===s||jt(e,"components",s)||tt(r,"is")||jt(e,"elementDirectives",s)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?n:(e._replacerAttrs=bi(r),wi(t,r),r)):(t.appendChild(n),t)}}function bi(t){if(1===t.nodeType&&t.hasAttributes())return d(t.attributes)}function wi(t,e){for(var i,n,r=t.attributes,s=r.length;s--;)i=r[s].name,n=r[s].value,e.hasAttribute(i)||oo.test(i)?"class"===i&&!V(n)&&(n=n.trim())&&n.split(/\s+/).forEach(function(t){ct(e,t)}):e.setAttribute(i,n)}function Ci(t,e){if(e){for(var i,n,r=t._slotContents=Object.create(null),s=0,o=e.children.length;s1?d(i):i;var r=e&&i.some(function(t){return t._fromParent});r&&(n=!1);for(var s=d(arguments,1),o=0,a=i.length;oe?s:-s}var i=null,n=void 0;t=po(t);var r=d(arguments,1),s=r[r.length-1];"number"==typeof s?(s=s<0?-1:1,r=r.length>1?r.slice(0,-1):r):s=1;var o=r[0];return o?("function"==typeof o?i=function(t,e){return o(t,e)*s}:(n=Array.prototype.concat.apply([],r),i=function(t,r,s){return s=s||0,s>=n.length-1?e(t,r,s):e(t,r,s)||i(t,r,s+1)}),t.slice().sort(i)):t}function Hi(t,e){var i;if(g(t)){var n=Object.keys(t);for(i=n.length;i--;)if(Hi(t[n[i]],e))return!0}else if(qi(t)){for(i=t.length;i--;)if(Hi(t[i],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Ii(i){function n(t){return new Function("return function "+f(t)+" (options) { this._init(options) }")()}i.options={directives:Ds,elementDirectives:fo,filters:mo,transitions:{},components:{},partials:{},replace:!0},i.util=Kn,i.config=Mn,i.set=t,i.delete=e,i.nextTick=ln,i.compiler=ao,i.FragmentFactory=_e,i.internalDirectives=Ys,i.parsers={path:mr,text:Ln,template:qr,directive:En,expression:jr},i.cid=0;var r=1;i.extend=function(t){t=t||{};var e=this,i=0===e.cid;if(i&&t._Ctor)return t._Ctor;var s=t.name||e.options.name,o=n(s||"VueComponent");return o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.cid=r++,o.options=Nt(e.options,t),o.super=e,o.extend=e.extend,Mn._assetTypes.forEach(function(t){o[t]=e[t]}),s&&(o.options.components[s]=o),i&&(t._Ctor=o),o},i.use=function(t){if(!t.installed){var e=d(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},i.mixin=function(t){i.options=Nt(i.options,t)},Mn._assetTypes.forEach(function(t){i[t]=function(e,n){return n?("component"===t&&g(n)&&(n.name||(n.name=e),n=i.extend(n)),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}),v(i.transition,Vn)}var Mi=Object.prototype.hasOwnProperty,Wi=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Vi=/-(\w)/g,Bi=/([^-])([A-Z])/g,zi=/(?:^|[-_\/])(\w)/g,Ui=Object.prototype.toString,Ji="[object Object]",qi=Array.isArray,Qi="__proto__"in{},Gi="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Zi=Gi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Xi=Gi&&window.navigator.userAgent.toLowerCase(),Yi=Xi&&Xi.indexOf("trident")>0,Ki=Xi&&Xi.indexOf("msie 9.0")>0,tn=Xi&&Xi.indexOf("android")>0,en=Xi&&/iphone|ipad|ipod|ios/.test(Xi),nn=void 0,rn=void 0,sn=void 0,on=void 0;if(Gi&&!Ki){var an=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,hn=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;nn=an?"WebkitTransition":"transition",rn=an?"webkitTransitionEnd":"transitionend",sn=hn?"WebkitAnimation":"animation",on=hn?"webkitAnimationEnd":"animationend"}var ln=function(){function t(){i=!1;var t=e.slice(0);e.length=0;for(var n=0;n=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),_(Gn,"$remove",function(t){if(this.length){var e=b(this,t);return e>-1?this.splice(e,1):void 0}});var Xn=Object.getOwnPropertyNames(Zn),Yn=!0;Ft.prototype.walk=function(t){for(var e=Object.keys(t),i=0,n=e.length;i",""],tr:[2,"","
"],col:[2,"","
"]};Wr.td=Wr.th=[3,"","
"],Wr.option=Wr.optgroup=[1,'"],Wr.thead=Wr.tbody=Wr.colgroup=Wr.caption=Wr.tfoot=[1,"","
"],Wr.g=Wr.defs=Wr.symbol=Wr.use=Wr.image=Wr.text=Wr.circle=Wr.ellipse=Wr.line=Wr.path=Wr.polygon=Wr.polyline=Wr.rect=[1,'',""];var Vr=/<([\w:-]+)/,Br=/&#?\w+?;/,zr=//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});f+=e.length-h.length,e=h,o(p,f-v,f)}else{var m=e.indexOf("<");if(0===m){if(Oa.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(Sa.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var _=e.match(Aa);if(_){n(_[0].length);continue}var b=e.match(ka);if(b){var $=f;n(b[0].length),o(b[1],$,f);continue}var w=r();if(w){i(w);continue}}var C=void 0,x=void 0,k=void 0;if(m>0){for(x=e.slice(m);!(ka.test(x)||Ca.test(x)||Oa.test(x)||Sa.test(x)||(k=x.indexOf("<",1),k<0));)m+=k,x=e.slice(m);C=e.substring(0,m),n(m)}m<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===a&&t.chars){t.chars(e);break}}o()}function wn(e){function t(){(a||(a=[])).push(e.slice(v,i).trim()),v=i+1}var n,r,i,o,a,s=!1,c=!1,u=!1,l=!1,f=0,p=0,d=0,v=0;for(i=0;i=0&&(m=e.charAt(h)," "===m);h--);m&&/[\w$]/.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==v&&t(),a)for(i=0;ia&&o.push(JSON.stringify(e.slice(a,i)));var s=wn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=Ea}function Dn(e){return 34===e||39===e}function Pn(e){var t=1;for(La=Na;!Mn();)if(e=Ln(),Dn(e))Rn(e);else if(91===e&&t++,93===e&&t--,0===t){Ma=Na;break}}function Rn(e){for(var t=e;!Mn()&&(e=Ln(),e!==t););}function Fn(e,t){Da=t.warn||kn,Pa=t.getTagNamespace||pi,Ra=t.mustUseProp||pi,Fa=t.isPreTag||pi,Ha=An(t.modules,"preTransformNode"),Ua=An(t.modules,"transformNode"),Ba=An(t.modules,"postTransformNode"),za=t.delimiters;var n,r,i=[],o=t.preserveWhitespace!==!1,a=!1,s=!1;return $n(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,o,c){function u(e){}var l=r&&r.ns||Pa(e);_i&&"svg"===l&&(o=rr(o));var f={type:1,tag:e,attrsList:o,attrsMap:tr(o),parent:r,children:[]};l&&(f.ns=l),nr(f)&&!xi()&&(f.forbidden=!0);for(var p=0;p-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"click","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function Jr(e,t,n){var r=n&&n.number,i=In(e,"value")||"null";i=r?"_n("+i+")":i,On(e,"checked","_q("+t+","+i+")"),En(e,"click",Wr(t,i),null,!0)}function Kr(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=o||_i&&"range"===r?"change":"input",u=!o&&"range"!==r,l="input"===e.tag||"textarea"===e.tag,f=l?"$event.target.value"+(s?".trim()":""):s?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";f=a||"number"===r?"_n("+f+")":f;var p=Wr(t,f);l&&u&&(p="if($event.target.composing)return;"+p),On(e,"value",l?"_s("+t+")":"("+t+")"),En(e,c,p,null,!0),(s||a||"number"===r)&&En(e,"blur","$forceUpdate()")}function qr(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==e.attrsMap.multiple?"[0]":""),o=Wr(t,i);En(e,"change",o,null,!0)}function Wr(e,t){var n=Nn(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function Zr(e,t){t.value&&On(e,"textContent","_s("+t.value+")")}function Gr(e,t){t.value&&On(e,"innerHTML","_s("+t.value+")")}function Yr(e,t){return t=t?u(u({},js),t):js,Rr(e,t)}function Qr(e,t,n){var r=(t&&t.warn||Si,t&&t.delimiters?String(t.delimiters)+e:e);if(Is[r])return Is[r];var i={},o=Yr(e,t);i.render=Xr(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var s=0;s0,$i=yi&&yi.indexOf("edge/")>0,wi=yi&&yi.indexOf("android")>0,Ci=yi&&/iphone|ipad|ipod|ios/.test(yi),xi=function(){return void 0===ti&&(ti=!gi&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),ti},ki=gi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ai=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1&&(t[n[0].trim()]=n[1].trim())}}),t}),Ro=/^--/,Fo=/\s*!important$/,Ho=function(e,t,n){Ro.test(t)?e.style.setProperty(t,n):Fo.test(n)?e.style.setProperty(t,n.replace(Fo,""),"important"):e.style[Bo(t)]=n},Uo=["Webkit","Moz","ms"],Bo=a(function(e){if(lo=lo||document.createElement("div"),e=ai(e),"filter"!==e&&e in lo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,ya=/(?:=)/,_a=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ba=new RegExp("^\\s*"+ga.source+"(?:\\s*("+ya.source+")\\s*(?:"+_a.join("|")+"))?"),$a="[a-zA-Z_][\\w\\-\\.]*",wa="((?:"+$a+"\\:)?"+$a+")",Ca=new RegExp("^<"+wa),xa=/^\s*(\/?)>/,ka=new RegExp("^<\\/"+wa+"[^>]*>"),Aa=/^]+>/i,Oa=/^/g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); \ No newline at end of file diff --git a/lib/vue3.min.js b/lib/vue3.min.js new file mode 100644 index 00000000..e802b685 --- /dev/null +++ b/lib/vue3.min.js @@ -0,0 +1,6 @@ +/*! + * Vue.js v3.0.2 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),r=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){if(N(e)){const t={};for(let n=0;n{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function a(e){let t="";if(M(e))t=e;else if(N(e))for(let n=0;nd(e,t))}const m=(e,t)=>E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:F(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||N(t)||L(t)?t:String(t),g={},v=[],y=()=>{},b=()=>!1,_=/^on[^a-z]/,x=e=>_.test(e),S=e=>e.startsWith("onUpdate:"),C=Object.assign,k=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,T=(e,t)=>w.call(e,t),N=Array.isArray,E=e=>"[object Map]"===I(e),F=e=>"[object Set]"===I(e),$=e=>e instanceof Date,A=e=>"function"==typeof e,M=e=>"string"==typeof e,O=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,B=e=>R(e)&&A(e.then)&&A(e.catch),P=Object.prototype.toString,I=e=>P.call(e),L=e=>"[object Object]"===I(e),V=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},D=/-(\w)/g,H=j(e=>e.replace(D,(e,t)=>t?t.toUpperCase():"")),z=/\B([A-Z])/g,K=j(e=>e.replace(z,"-$1").toLowerCase()),W=j(e=>e.charAt(0).toUpperCase()+e.slice(1)),G=j(e=>e?"on"+W(e):""),q=(e,t)=>e!==t&&(e==e||t==t),J=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let ee;const te=Symbol(""),ne=Symbol("");function oe(e,t=g){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){ie(n);try{return ce.push(le),le=!0,X.push(n),ee=n,e()}finally{X.pop(),ue(),ee=X[X.length-1]}}};return n.id=se++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function re(e){e.active&&(ie(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let se=0;function ie(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach(e=>{(e!==ee||e.allowRecurse)&&l.add(e)})};if("clear"===t)i.forEach(c);else if("length"===n&&N(e))i.forEach((e,t)=>{("length"===t||t>=o)&&c(e)});else switch(void 0!==n&&c(i.get(n)),t){case"add":N(e)?V(n)&&c(i.get("length")):(c(i.get(te)),E(e)&&c(i.get(ne)));break;case"delete":N(e)||(c(i.get(te)),E(e)&&c(i.get(ne)));break;case"set":E(e)&&c(i.get(te))}l.forEach(e=>{e.options.scheduler?e.options.scheduler(e):e()})}const de=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(O)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?Ge:We).get(n))return n;const s=N(n);if(s&&T(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(O(o)?de.has(o):"__proto__"===o||"__v_isRef"===o)return i;if(e||pe(n,0,o),t)return i;if(rt(i)){return!s||!V(o)?i.value:i}return R(i)?e?Ze(i):Je(i):i}}["includes","indexOf","lastIndexOf"].forEach(e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=nt(this);for(let e=0,t=this.length;e{const t=Array.prototype[e];ye[e]=function(...e){ae();const n=t.apply(this,e);return ue(),n}});function _e(e=!1){return function(t,n,o,r){const s=t[n];if(!e&&(o=nt(o),!N(t)&&rt(s)&&!rt(o)))return s.value=o,!0;const i=N(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=C({},xe,{get:me,set:_e(!0)}),ke=C({},Se,{get:ve}),we=e=>R(e)?Je(e):e,Te=e=>R(e)?Ze(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function Fe(e,t,n=!1,o=!1){const r=nt(e=e.__v_raw),s=nt(t);t!==s&&!n&&pe(r,0,t),!n&&pe(r,0,s);const{has:i}=Ee(r),l=n?Te:o?Ne:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function $e(e,t=!1){const n=this.__v_raw,o=nt(n),r=nt(e);return e!==r&&!t&&pe(o,0,e),!t&&pe(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&pe(nt(e),0,te),Reflect.get(e,"size",e)}function Me(e){e=nt(e);const t=nt(this),n=Ee(t).has.call(t,e),o=t.add(e);return n||fe(t,"add",e,e),o}function Oe(e,t){t=nt(t);const n=nt(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=nt(e),s=o.call(n,e));const i=r.call(n,e),l=n.set(e,t);return s?q(t,i)&&fe(n,"set",e,t):fe(n,"add",e,t),l}function Re(e){const t=nt(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=nt(e),r=n.call(t,e));o&&o.call(t,e);const s=t.delete(e);return r&&fe(t,"delete",e,void 0),s}function Be(){const e=nt(this),t=0!==e.size,n=e.clear();return t&&fe(e,"clear",void 0,void 0),n}function Pe(e,t){return function(n,o){const r=this,s=r.__v_raw,i=nt(s),l=e?Te:t?Ne:we;return!e&&pe(i,0,te),s.forEach((e,t)=>n.call(o,l(e),l(t),r))}}function Ie(e,t,n){return function(...o){const r=this.__v_raw,s=nt(r),i=E(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=t?Te:n?Ne:we;return!t&&pe(s,0,c?ne:te),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return"delete"!==e&&this}}const Ve={get(e){return Fe(this,e)},get size(){return Ae(this)},has:$e,add:Me,set:Oe,delete:Re,clear:Be,forEach:Pe(!1,!1)},Ue={get(e){return Fe(this,e,!1,!0)},get size(){return Ae(this)},has:$e,add:Me,set:Oe,delete:Re,clear:Be,forEach:Pe(!1,!0)},je={get(e){return Fe(this,e,!0)},get size(){return Ae(this,!0)},has(e){return $e.call(this,e,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Pe(!0,!1)};function De(e,t){const n=t?Ue:e?je:Ve;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(T(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach(e=>{Ve[e]=Ie(e,!1,!1),je[e]=Ie(e,!0,!1),Ue[e]=Ie(e,!1,!0)});const He={get:De(!1,!1)},ze={get:De(!1,!0)},Ke={get:De(!0,!1)},We=new WeakMap,Ge=new WeakMap;function qe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>I(e).slice(8,-1))(e))}function Je(e){return e&&e.__v_isReadonly?e:Qe(e,!1,xe,He)}function Ye(e){return Qe(e,!1,Ce,ze)}function Ze(e){return Qe(e,!0,Se,Ke)}function Qe(e,t,n,o){if(!R(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?Ge:We,s=r.get(e);if(s)return s;const i=qe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function Xe(e){return et(e)?Xe(e.__v_raw):!(!e||!e.__v_isReactive)}function et(e){return!(!e||!e.__v_isReadonly)}function tt(e){return Xe(e)||et(e)}function nt(e){return e&&nt(e.__v_raw)||e}const ot=e=>R(e)?Je(e):e;function rt(e){return Boolean(e&&!0===e.__v_isRef)}function st(e){return lt(e)}class it{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:ot(e)}get value(){return pe(nt(this),0,"value"),this._value}set value(e){q(nt(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:ot(e),fe(nt(this),"set","value",e))}}function lt(e,t=!1){return rt(e)?e:new it(e,t)}function ct(e){return rt(e)?e.value:e}const at={get:(e,t,n)=>ct(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return rt(r)&&!rt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ut(e){return Xe(e)?e:new Proxy(e,at)}class pt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e(()=>pe(this,0,"value"),()=>fe(this,"set","value"));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ft{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function dt(e,t){return rt(e[t])?e[t]:new ft(e,t)}class ht{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=oe(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(nt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),pe(nt(this),0,"value"),this._value}set value(e){this._setter(e)}}const mt=[];function gt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...vt(n,e[n]))}),n.length>3&&t.push(" ..."),t}function vt(e,t,n){return M(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:rt(t)?(t=vt(e,nt(t.value),!0),n?t:[e+"=Ref<",t,">"]):A(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=nt(t),n?t:[e+"=",t])}function yt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){_t(e,t,n)}return r}function bt(e,t,n,o){if(A(e)){const r=yt(e,t,n,o);return r&&B(r)&&r.catch(e=>{_t(e,t,n)}),r}const r=[];for(let s=0;sjt(e)-jt(t)),$t=0;$tnull==e.id?1/0:e.id;function Dt(e){St=!1,xt=!0,Vt(e),Ct.sort((e,t)=>jt(e)-jt(t));try{for(kt=0;kte.trim()):t&&(r=n.map(Z))}let l=G(H(t)),c=o[l];!c&&s&&(l=G(K(t)),c=o[l]),c&&bt(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;bt(a,e,6,r)}}function zt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!A(e)){const o=e=>{s=!0,C(r,zt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(N(o)?o.forEach(e=>r[e]=null):C(r,o),e.__emits=r):e.__emits=null}function Kt(e,t){return!(!e||!x(t))&&(t=t.replace(/Once$/,""),T(e,t[2].toLowerCase()+t.slice(3))||T(e,t.slice(2)))}let Wt=null;function Gt(e){Wt=e}function qt(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;Wt=e;try{let e;if(4&n.shapeFlag){const t=r||o;m=Yo(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=Yo(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:Yt(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(S)&&(e=Zt(e,i)),g=qo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(t){_t(t,e,1),m=Go(Ro)}return Wt=null,m}function Jt(e){const t=e.filter(e=>!(Do(e)&&e.type===Ro&&"v-if"!==e.children));return 1===t.length&&Do(t[0])?t[0]:null}const Yt=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},Zt=(e,t)=>{const n={};for(const o in e)S(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Qt(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(c(null,e.ssFallback,t,n,o,null,s),rn(p,e.ssFallback)):p.resolve()}(t,n,o,r,s,i,l,c):function(e,t,n,o,r,s,{p:i,um:l,o:{createElement:c}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const u=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:d,isInFallback:h,isHydrating:m}=a;if(d)a.pendingBranch=u,Ho(u,d)?(i(d,u,a.hiddenContainer,null,r,a,s),a.deps<=0?a.resolve():h&&(i(f,p,n,o,r,null,s),rn(a,p))):(a.pendingId++,m?(a.isHydrating=!1,a.activeBranch=d):l(d,r,a),a.deps=0,a.effects.length=0,a.hiddenContainer=c("div"),h?(i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0?a.resolve():(i(f,p,n,o,r,null,s),rn(a,p))):f&&Ho(u,f)?(i(f,u,n,o,r,a,s),a.resolve(!0)):(i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0&&a.resolve()));else if(f&&Ho(u,f))i(f,u,n,o,r,a,s),rn(a,u);else{const e=t.props&&t.props.onPending;if(A(e)&&e(),a.pendingBranch=u,a.pendingId++,i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0)a.resolve();else{const{timeout:e,pendingId:t}=a;e>0?setTimeout(()=>{a.pendingId===t&&a.fallback(p)},e):0===e&&a.fallback(p)}}}(e,t,n,o,r,i,c)},hydrate:function(e,t,n,o,r,s,i,l){const c=t.suspense=tn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,!0),a=l(e,c.pendingBranch=t.ssContent,n,c,s);0===c.deps&&c.resolve();return a},create:tn};function tn(e,t,n,o,r,s,i,l,c,a=!1){const{p:u,m:p,um:f,n:d,o:{parentNode:h,remove:m}}=c,g=Z(e.props&&e.props.timeout),v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:a,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=v;if(v.isHydrating)v.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===v.pendingId&&p(o,l,t,0)});let{anchor:t}=v;n&&(t=d(n),f(n,i,v,!0)),e||p(o,l,t,0)}rn(v,o),v.pendingBranch=null,v.isInFallback=!1;let c=v.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Lt(s),v.effects=[];const u=t.props&&t.props.onResolve;A(u)&&u()},fallback(e){if(!v.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=v,i=t.props&&t.props.onFallback;A(i)&&i();const l=d(n),c=()=>{v.isInFallback&&(u(null,e,r,l,o,null,s),rn(v,e))},a=e.transition&&"out-in"===e.transition.mode;a&&(n.transition.afterLeave=c),f(n,o,null,!0),v.isInFallback=!0,a||c()},move(e,t,n){v.activeBranch&&p(v.activeBranch,e,t,n),v.container=e},next:()=>v.activeBranch&&d(v.activeBranch),registerDep(e,t){if(!v.pendingBranch)return;const n=e.vnode.el;v.deps++,e.asyncDep.catch(t=>{_t(t,e,0)}).then(o=>{if(e.isUnmounted||v.isUnmounted||v.pendingId!==e.suspenseId)return;v.deps--,e.asyncResolved=!0;const{vnode:r}=e;xr(e,o),n&&(r.el=n);const s=!n&&e.subTree.el;t(e,r,h(n||e.subTree.el),n?null:d(e.subTree),v,i,l),s&&m(s),Xt(e,r.el),0===v.deps&&v.resolve()})},unmount(e,t){v.isUnmounted=!0,v.activeBranch&&f(v.activeBranch,n,e,t),v.pendingBranch&&f(v.pendingBranch,n,e,t)}};return v}function nn(e){if(A(e)&&(e=e()),N(e)){e=Jt(e)}return Yo(e)}function on(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):Lt(e)}function rn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Xt(o,r))}let sn=0;const ln=e=>sn+=e;function cn(e,t=Wt){if(!t)return e;const n=(...n)=>{sn||Lo(!0);const o=Wt;Gt(t);const r=e(...n);return Gt(o),sn||Vo(),r};return n._c=!0,n}let an=null;const un=[];function pn(e){un.push(an=e)}function fn(){un.pop(),an=un[un.length-1]||null}function dn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const s in t){const i=t[s];if(U(s))continue;let l;r&&T(r,l=H(s))?n[l]=i:Kt(e.emitsOptions,s)||(o[s]=i)}if(s){const t=nt(n);for(let o=0;o{i=!0;const[n,o]=mn(e,t,!0);C(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=v;if(N(o))for(let e=0;e-1,i[1]=n<0||e-1||T(i,"default"))&&s.push(t)}}}return e.__props=[r,s]}function gn(e){return"$"!==e[0]}function vn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function yn(e,t){return vn(e)===vn(t)}function bn(e,t){if(N(t)){for(let n=0,o=t.length;n{if(n.isUnmounted)return;ae(),yr(n);const r=bt(t,n,e,o);return yr(null),ue(),r});return o?r.unshift(s):r.push(s),s}}const xn=e=>(t,n=gr)=>!_r&&_n(e,t,n),Sn=xn("bm"),Cn=xn("m"),kn=xn("bu"),wn=xn("u"),Tn=xn("bum"),Nn=xn("um"),En=xn("rtg"),Fn=xn("rtc"),$n=(e,t=gr)=>{_n("ec",e,t)};function An(e,t){return Rn(e,null,t)}const Mn={};function On(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=g,l=gr){let c,a,u=!1;if(rt(e)?(c=()=>e.value,u=!!e._shallow):Xe(e)?(c=()=>e,o=!0):c=N(e)?()=>e.map(e=>rt(e)?e.value:Xe(e)?Pn(e):A(e)?yt(e,l,2):void 0):A(e)?t?()=>yt(e,l,2):()=>{if(!l||!l.isUnmounted)return a&&a(),yt(e,l,3,[p])}:y,t&&o){const e=c;c=()=>Pn(e())}const p=e=>{a=m.options.onStop=()=>{yt(e,l,4)}};let f=N(e)?[]:Mn;const d=()=>{if(m.active)if(t){const e=m();(o||u||q(e,f))&&(a&&a(),bt(t,l,3,[e,f===Mn?void 0:f,p]),f=e)}else m()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>vo(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){It(e,Tt,wt,Nt)}(d):d()};const m=oe(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return kr(m),t?n?d():f=m():"post"===r?vo(m,l&&l.suspense):m(),()=>{re(m),l&&k(l.effects,m)}}function Bn(e,t,n){const o=this.proxy;return Rn(M(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Pn(e,t=new Set){if(!R(e)||t.has(e))return e;if(t.add(e),rt(e))Pn(e.value,t);else if(N(e))for(let n=0;n{Pn(e,t)});else for(const n in e)Pn(e[n],t);return e}function In(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cn(()=>{e.isMounted=!0}),Tn(()=>{e.isUnmounting=!0}),e}const Ln=[Function,Array],Vn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ln,onEnter:Ln,onAfterEnter:Ln,onEnterCancelled:Ln,onBeforeLeave:Ln,onLeave:Ln,onAfterLeave:Ln,onLeaveCancelled:Ln,onBeforeAppear:Ln,onAppear:Ln,onAfterAppear:Ln,onAppearCancelled:Ln},setup(e,{slots:t}){const n=vr(),o=In();let r;return()=>{const s=t.default&&Kn(t.default(),!0);if(!s||!s.length)return;const i=nt(e),{mode:l}=i,c=s[0];if(o.isLeaving)return Dn(c);const a=Hn(c);if(!a)return Dn(c);const u=jn(a,i,o,n);zn(a,u);const p=n.subTree,f=p&&Hn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Ro&&(!Ho(a,f)||d)){const e=jn(f,i,o,n);if(zn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Dn(c);"in-out"===l&&(e.delayLeave=(e,t,n)=>{Un(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Un(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function jn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Un(n,e),x=(e,t)=>{e&&bt(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Ho(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>jn(e,t,n,o)};return S}function Dn(e){if(Wn(e))return(e=qo(e)).children=null,e}function Hn(e){return Wn(e)?e.children?e.children[0]:void 0:e}function zn(e,t){6&e.shapeFlag&&e.component?zn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let e=0;ee.type.__isKeepAlive,Gn={name:"KeepAlive",__isKeepAlive:!0,inheritRef:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=new Map,o=new Set;let r=null;const s=vr(),i=s.suspense,l=s.ctx,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=l,f=p("div");function d(e){eo(e),u(e,s,i)}function h(e){n.forEach((t,n)=>{const o=qn(t.type);!o||e&&e(o)||m(n)})}function m(e){const t=n.get(e);r&&t.type===r.type?r&&eo(r):d(t),n.delete(e),o.delete(e)}l.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,i),c(s.vnode,e,t,n,s,i,o,r),vo(()=>{s.isDeactivated=!1,s.a&&J(s.a);const t=e.props&&e.props.onVnodeMounted;t&&So(t,s.parent,e)},i)},l.deactivate=e=>{const t=e.component;a(e,f,null,1,i),vo(()=>{t.da&&J(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&So(n,t.parent,e),t.isDeactivated=!0},i)},On(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>Jn(e,t)),t&&h(e=>!Jn(t,e))},{flush:"post"});let g=null;const v=()=>{null!=g&&n.set(g,to(s.subTree))};return Cn(v),wn(v),Tn(()=>{n.forEach(e=>{const{subTree:t,suspense:n}=s,o=to(t);if(e.type!==o.type)d(e);else{eo(o);const e=o.component.da;e&&vo(e,n)}})}),()=>{if(g=null,!t.default)return null;const s=t.default(),i=s[0];if(s.length>1)return r=null,s;if(!(Do(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return r=null,i;let l=to(i);const c=l.type,a=qn(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Jn(u,a))||p&&a&&Jn(p,a))return r=l,i;const d=null==l.key?c:l.key,h=n.get(d);return l.el&&(l=qo(l),128&i.shapeFlag&&(i.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&zn(l,l.transition),l.shapeFlag|=512,o.delete(d),o.add(d)):(o.add(d),f&&o.size>parseInt(f,10)&&m(o.values().next().value)),l.shapeFlag|=256,r=l,i}}};function qn(e){return e.displayName||e.name}function Jn(e,t){return N(e)?e.some(e=>Jn(e,t)):M(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Yn(e,t){Qn(e,"a",t)}function Zn(e,t){Qn(e,"da",t)}function Qn(e,t,n=gr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(_n(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Wn(e.parent.vnode)&&Xn(o,t,n,e),e=e.parent}}function Xn(e,t,n,o){const r=_n(t,e,o,!0);Nn(()=>{k(o[t],r)},n)}function eo(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function to(e){return 128&e.shapeFlag?e.ssContent:e}const no=e=>"_"===e[0]||"$stable"===e,oo=e=>N(e)?e.map(Yo):[Yo(e)],ro=(e,t,n)=>cn(e=>oo(t(e)),n),so=(e,t)=>{const n=e._ctx;for(const o in e){if(no(o))continue;const r=e[o];if(A(r))t[o]=ro(0,r,n);else if(null!=r){const e=oo(r);t[o]=()=>e}}},io=(e,t)=>{const n=oo(t);e.slots.default=()=>n};function lo(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&A(e.install)?(s.add(e),e.install(l,...t)):A(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c){if(!i){const a=Go(n,o);return a.appContext=r,c&&t?t(a,s):e(a,s),i=!0,l._container=s,s.__vue_app__=l,a.component.proxy}},unmount(){i&&e(null,l._container)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let po=!1;const fo=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,ho=e=>8===e.nodeType;function mo(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c=!1)=>{const m=ho(n)&&"["===n.data,g=()=>d(n,o,i,l,m),{type:v,ref:y,shapeFlag:b}=o,_=n.nodeType;o.el=n;let x=null;switch(v){case Oo:3!==_?x=g():(n.data!==o.children&&(po=!0,n.data=o.children),x=r(n));break;case Ro:x=8!==_||m?g():r(n);break;case Bo:if(1===_){x=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,fo(e),c)},u=o.type.__asyncLoader;u?u().then(a):a(),x=m?h(n):r(n)}else 64&b?x=8!==_?g():o.type.hydrate(n,o,i,l,c,e,p):128&b&&(x=o.type.hydrate(n,o,i,l,fo(s(n)),c,e,a))}return null!=y&&i&&yo(y,null,i,l,o),x},u=(e,t,n,r,s)=>{s=s||!!t.dynamicChildren;const{props:l,patchFlag:c,shapeFlag:a,dirs:u}=t;if(-1!==c){if(u&&lo(t,null,n,"created"),l)if(!s||16&c||32&c)for(const t in l)!U(t)&&x(t)&&o(e,t,null,l[t]);else l.onClick&&o(e,"onClick",null,l.onClick);let f;if((f=l&&l.onVnodeBeforeMount)&&So(f,n,t),u&&lo(t,null,n,"beforeMount"),((f=l&&l.onVnodeMounted)||u)&&on(()=>{f&&So(f,n,t),u&&lo(t,null,n,"mounted")},r),16&a&&(!l||!l.innerHTML&&!l.textContent)){let o=p(e.firstChild,t,e,n,r,s);for(;o;){po=!0;const e=o;o=o.nextSibling,i(e)}}else 8&a&&e.textContent!==t.children&&(po=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i)=>{i=i||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t{const a=s(e),u=p(r(e),t,a,n,o,i);return u&&ho(u)&&"]"===u.data?r(t.anchor=u):(po=!0,l(t.anchor=c("]"),a,u),u)},d=(e,t,o,l,c)=>{if(po=!0,t.el=null,c){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const a=r(e),u=s(e);return i(e),n(null,t,u,a,o,l,fo(u)),a},h=e=>{let t=0;for(;e;)if((e=r(e))&&ho(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{po=!1,a(t.firstChild,e,null,null),Ut(),po&&console.error("Hydration completed but contains mismatches.")},a]}const go={scheduler:Bt,allowRecurse:!0},vo=on,yo=(e,t,n,o,r)=>{if(N(e))return void e.forEach((e,s)=>yo(e,t&&(N(t)?t[s]:t),n,o,r));let s;s=r?4&r.shapeFlag?r.component.proxy:r.el:null;const{i:i,r:l}=e,c=t&&t.r,a=i.refs===g?i.refs={}:i.refs,u=i.setupState;if(null!=c&&c!==l&&(M(c)?(a[c]=null,T(u,c)&&(u[c]=null)):rt(c)&&(c.value=null)),M(l)){const e=()=>{a[l]=s,T(u,l)&&(u[l]=s)};s?(e.id=-1,vo(e,o)):e()}else if(rt(l)){const e=()=>{l.value=s};s?(e.id=-1,vo(e,o)):e()}else A(l)&&yt(l,n,12,[s,a])};function bo(e){return xo(e)}function _o(e){return xo(e,mo)}function xo(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=y,cloneNode:h,insertStaticContent:m}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=!1)=>{e&&!Ho(e,t)&&(o=X(e),W(e,r,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:a,shapeFlag:u}=t;switch(c){case Oo:_(e,t,n,o);break;case Ro:x(e,t,n,o);break;case Bo:null==e&&S(t,n,o,i);break;case Mo:M(e,t,n,o,r,s,i,l);break;default:1&u?k(e,t,n,o,r,s,i,l):6&u?O(e,t,n,o,r,s,i,l):(64&u||128&u)&&c.process(e,t,n,o,r,s,i,l,te)}null!=a&&r&&yo(a,e&&e.ref,r,s,t)},_=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=m(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l)=>{i=i||"svg"===t.type,null==e?w(t,n,o,r,s,i,l):F(e,t,r,s,i,l)},w=(e,t,o,s,l,c,a)=>{let p,f;const{type:d,props:m,shapeFlag:g,transition:v,scopeId:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)p=e.el=h(e.el);else{if(p=e.el=i(e.type,c,m&&m.is),8&g?u(p,e.children):16&g&&E(e.children,p,null,s,l,c&&"foreignObject"!==d,a||!!e.dynamicChildren),_&&lo(e,null,s,"created"),m){for(const t in m)U(t)||r(p,t,null,m[t],c,e.children,s,l,Q);(f=m.onVnodeBeforeMount)&&So(f,s,e)}N(p,y,e,s)}_&&lo(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&v&&!v.persisted;x&&v.beforeEnter(p),n(p,t,o),((f=m&&m.onVnodeMounted)||x||_)&&vo(()=>{f&&So(f,s,e),x&&v.enter(p),_&&lo(e,null,s,"mounted")},l)},N=(e,t,n,o)=>{if(t&&d(e,t),o){const r=o.type.__scopeId;r&&r!==t&&d(e,r+"-s"),n===o.subTree&&N(e,o.vnode.scopeId,o.vnode,o.parent)}},E=(e,t,n,o,r,s,i,l=0)=>{for(let c=l;c{const c=t.el=e.el;let{patchFlag:a,dynamicChildren:p,dirs:f}=t;a|=16&e.patchFlag;const d=e.props||g,h=t.props||g;let m;if((m=h.onVnodeBeforeUpdate)&&So(m,n,t,e),f&&lo(t,e,n,"beforeUpdate"),a>0){if(16&a)A(c,t,d,h,n,o,i);else if(2&a&&d.class!==h.class&&r(c,"class",null,h.class,i),4&a&&r(c,"style",d.style,h.style,i),8&a){const l=t.dynamicProps;for(let t=0;t{m&&So(m,n,t,e),f&&lo(t,e,n,"updated")},o)},$=(e,t,n,o,r,s)=>{for(let i=0;i{if(n!==o){for(const a in o){if(U(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,Q)}if(n!==g)for(const s in n)U(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,Q)}},M=(e,t,o,r,s,i,c,a)=>{const u=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:d}=t;f>0&&(a=!0),null==e?(n(u,o,r),n(p,o,r),E(t.children,o,p,s,i,c,a)):f>0&&64&f&&d?($(e.dynamicChildren,d,o,s,i,c),(null!=t.key||s&&t===s.subTree)&&Co(e,t,!0)):V(e,t,o,p,s,i,c,a)},O=(e,t,n,o,r,s,i,l)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,l):R(t,n,o,r,s,i,l):P(e,t,l)},R=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||hr,s={uid:mr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mn(o,r),emitsOptions:zt(o,r),emit:null,emitted:null,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Ht.bind(null,s),s}(e,o,r);if(Wn(e)&&(l.ctx.renderer=te),function(e,t=!1){_r=t;const{props:n,children:o,shapeFlag:r}=e.vnode,s=4&r;(function(e,t,n,o=!1){const r={},s={};Y(s,zo,1),dn(e,t,r,s),e.props=n?o?r:Ye(r):e.type.props?r:s,e.attrs=s})(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Y(t,"_",n)):so(t,e.slots={})}else e.slots={},t&&io(e,t);Y(e.slots,zo,1)})(e,o);const i=s?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit}}(e):null;gr=e,ae();const r=yt(o,e,0,[e.props,n]);if(ue(),gr=null,B(r)){if(t)return r.then(t=>{xr(e,t)});e.asyncDep=r}else xr(e,r)}else Cr(e)}(e,t):void 0;_r=!1}(l),l.asyncDep){if(r&&r.registerDep(l,I),!e.el){const e=l.subTree=Go(Ro);x(null,e,t,n)}}else I(l,e,t,n,r,s,i)},P=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||Qt(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?Qt(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t-1&&(Ct[t]=null)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},I=(e,t,n,o,r,s,i)=>{e.update=oe((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,L(e,n,i)):n=a,o&&J(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&So(t,c,n,a);const f=qt(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),X(d),e,r,s),n.el=f.el,null===u&&Xt(e,f.el),l&&vo(l,r),(t=n.props&&n.props.onVnodeUpdated)&&vo(()=>{So(t,c,n,a)},r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&J(a),(i=c&&c.onVnodeBeforeMount)&&So(i,p,t);const f=e.subTree=qt(e);l&&se?se(t.el,f,e,r):(b(null,f,n,o,e,r,s),t.el=f.el),u&&vo(u,r),(i=c&&c.onVnodeMounted)&&vo(()=>{So(i,p,t)},r);const{a:d}=e;d&&256&t.shapeFlag&&vo(d,r),e.isMounted=!0}}),go)},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=nt(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;dn(e,t,r,s);for(const s in l)t&&(T(t,s)||(o=K(s))!==s&&T(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=hn(c,t||g,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&T(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:n,slots:o}=e;let r=!0,s=g;if(32&n.shapeFlag){const e=t._;e?1===e?r=!1:C(o,t):(r=!t.$stable,so(t,o)),s=t}else t&&(io(e,t),s={default:1});if(r)for(const e in o)no(e)||e in s||delete o[e]})(e,t.children),Vt(void 0,e.update)},V=(e,t,n,o,r,s,i,l=!1)=>{const c=e&&e.children,a=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:d}=t;if(f>0){if(128&f)return void D(c,p,n,o,r,s,i,l);if(256&f)return void j(c,p,n,o,r,s,i,l)}8&d?(16&a&&Q(c,r,s),p!==c&&u(n,p)):16&a?16&d?D(c,p,n,o,r,s,i,l):Q(c,r,s,!0):(8&a&&u(n,""),16&d&&E(p,n,o,r,s,i,l))},j=(e,t,n,o,r,s,i,l)=>{const c=(e=e||v).length,a=(t=t||v).length,u=Math.min(c,a);let p;for(p=0;pa?Q(e,r,s,!0,!1,u):E(t,n,o,r,s,i,l,u)},D=(e,t,n,o,r,s,i,l)=>{let c=0;const a=t.length;let u=e.length-1,p=a-1;for(;c<=u&&c<=p;){const o=e[c],a=t[c]=l?Zo(t[c]):Yo(t[c]);if(!Ho(o,a))break;b(o,a,n,null,r,s,i,l),c++}for(;c<=u&&c<=p;){const o=e[u],c=t[p]=l?Zo(t[p]):Yo(t[p]);if(!Ho(o,c))break;b(o,c,n,null,r,s,i,l),u--,p--}if(c>u){if(c<=p){const e=p+1,u=ep)for(;c<=u;)W(e[c],r,s,!0),c++;else{const f=c,d=c,h=new Map;for(c=d;c<=p;c++){const e=t[c]=l?Zo(t[c]):Yo(t[c]);null!=e.key&&h.set(e.key,c)}let m,g=0;const y=p-d+1;let _=!1,x=0;const S=new Array(y);for(c=0;c=y){W(o,r,s,!0);continue}let a;if(null!=o.key)a=h.get(o.key);else for(m=d;m<=p;m++)if(0===S[m-d]&&Ho(o,t[m])){a=m;break}void 0===a?W(o,r,s,!0):(S[a-d]=c+1,a>=x?x=a:_=!0,b(o,t[a],n,null,r,s,i,l),g++)}const C=_?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(S):v;for(m=C.length-1,c=y-1;c>=0;c--){const e=d+c,l=t[e],u=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Mo){n(i,t,o);for(let e=0;ec.enter(i),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,()=>{l(),s&&s()})};r?r(i,l,a):a()}else n(i,t,o)},W=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&t&&yo(l,null,t,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&So(h,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&lo(e,null,t,"beforeUnmount"),a&&(s!==Mo||p>0&&64&p)?Q(a,t,n,!1,!0):(s===Mo&&(128&p||256&p)||!r&&16&u)&&Q(c,t,n),64&u&&(o||!ko(e.props))&&e.type.remove(e,te),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&vo(()=>{h&&So(h,t,e),d&&lo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Mo)return void q(n,r);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&J(o),r)for(let e=0;e{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):b(t._vnode||null,e,t),Ut(),t._vnode=e},te={p:b,um:W,m:z,r:G,mt:R,mc:E,pc:V,pbc:$,n:X,o:e};let ne,se;return t&&([ne,se]=t(te)),{render:ee,hydrate:ne,createApp:uo(ee,ne)}}function So(e,t,n,o=null){bt(e,t,7,[n,o])}function Co(e,t,n=!1){const o=e.children,r=t.children;if(N(o)&&N(r))for(let e=0;ee&&(e.disabled||""===e.disabled),wo=(e,t)=>{const n=e&&e.to;if(M(n)){if(t){return t(n)}return null}return n};function To(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||ko(u))&&16&c)for(let e=0;e{16&g&&a(v,e,t,r,s,i,l)};m?y(n,c):u&&y(u,p)}else{t.el=e.el;const o=t.anchor=e.anchor,a=t.target=e.target,f=t.targetAnchor=e.targetAnchor,h=ko(e.props),g=h?n:a,v=h?o:f;if(t.dynamicChildren?(p(e.dynamicChildren,t.dynamicChildren,g,r,s,i),Co(e,t,!0)):l||u(e,t,g,v,r,s,i),m)h||To(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=wo(t.props,d);e&&To(t,e,null,c,0)}else h&&To(t,a,f,c,1)}},remove(e,{r:t,o:{remove:n}}){const{shapeFlag:o,children:r,anchor:s}=e;if(n(s),16&o)for(let e=0;e0&&Io&&Io.push(s),s}function Do(e){return!!e&&!0===e.__v_isVNode}function Ho(e,t){return e.type===t.type&&e.key===t.key}const zo="__vInternal",Ko=({key:e})=>null!=e?e:null,Wo=({ref:e})=>null!=e?N(e)?e:{i:Wt,r:e}:null,Go=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Fo||(e=Ro);if(Do(e)){const o=qo(e,t,!0);return n&&Qo(o,n),o}l=e,A(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(tt(t)||zo in t)&&(t=C({},t));let{class:e,style:n}=t;e&&!M(e)&&(t.class=a(e)),R(n)&&(tt(n)&&!N(n)&&(n=C({},n)),t.style=s(n))}const c=M(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:R(e)?4:A(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ko(t),ref:t&&Wo(t),scopeId:an,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};if(Qo(u,n),128&c){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=nn(n.default),r=nn(n.fallback)):(o=nn(n),r=Yo(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}Uo>0&&!i&&Io&&(o>0||6&c)&&32!==o&&Io.push(u);return u};function qo(e,t,n=!1){const{props:o,ref:r,patchFlag:s}=e,i=t?Xo(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ko(i),ref:t&&t.ref?n&&r?N(r)?r.concat(Wo(t)):[r,Wo(t)]:Wo(t):r,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Mo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qo(e.ssContent),ssFallback:e.ssFallback&&qo(e.ssFallback),el:e.el,anchor:e.anchor}}function Jo(e=" ",t=0){return Go(Oo,null,e,t)}function Yo(e){return null==e||"boolean"==typeof e?Go(Ro):N(e)?Go(Mo,null,e):"object"==typeof e?null===e.el?e:qo(e):Go(Oo,null,String(e))}function Zo(e){return null===e.el?e:qo(e)}function Qo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(N(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&ln(1),Qo(e,n()),n._c&&ln(-1)))}{n=32;const o=t._;o||zo in t?3===o&&Wt&&(1024&Wt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Wt}}else A(t)?(t={default:t,_ctx:Wt},n=32):(t=String(t),64&o?(n=16,t=[Jo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xo(...e){const t=C({},e[0]);for(let n=1;n1)return n&&A(t)?t():t}}let nr=!1;function or(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:m,beforeMount:g,mounted:v,beforeUpdate:b,updated:_,activated:x,deactivated:S,beforeUnmount:k,unmounted:w,render:T,renderTracked:E,renderTriggered:F,errorCaptured:$}=t,M=e.proxy,O=e.ctx,B=e.appContext.mixins;if(s&&T&&e.render===y&&(e.render=T),s||(nr=!0,rr("beforeCreate","bc",t,e,B),nr=!1,lr(e,B,n,o,r)),l&&or(e,l,n,o,r,!0),i&&lr(e,i,n,o,r),d)if(N(d))for(let e=0;ecr(e,t,M)),c&&cr(e,c,M)),a)for(const e in a){const t=a[e],n=Nr({get:A(t)?t.bind(M,M):A(t.get)?t.get.bind(M,M):y,set:!A(t)&&A(t.set)?t.set.bind(M):y});Object.defineProperty(O,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}p&&o.push(p),!s&&o.length&&o.forEach(e=>{for(const t in e)ar(e[t],O,M,t)}),f&&r.push(f),!s&&r.length&&r.forEach(e=>{const t=A(e)?e.call(M):e;for(const e in t)er(e,t[e])}),s&&(h&&C(e.components||(e.components=C({},e.type.components)),h),m&&C(e.directives||(e.directives=C({},e.type.directives)),m)),s||rr("created","c",t,e,B),g&&Sn(g.bind(M)),v&&Cn(v.bind(M)),b&&kn(b.bind(M)),_&&wn(_.bind(M)),x&&Yn(x.bind(M)),S&&Zn(S.bind(M)),$&&$n($.bind(M)),E&&Fn(E.bind(M)),F&&En(F.bind(M)),k&&Tn(k.bind(M)),w&&Nn(w.bind(M))}function rr(e,t,n,o,r){ir(e,t,r,o);const{extends:s,mixins:i}=n;s&&sr(e,t,s,o),i&&ir(e,t,i,o);const l=n[e];l&&bt(l.bind(o.proxy),o,t)}function sr(e,t,n,o){n.extends&&sr(e,t,n.extends,o);const r=n[e];r&&bt(r.bind(o.proxy),o,t)}function ir(e,t,n,o){for(let r=0;r{let t=e;for(let e=0;en[o];if(M(e)){const n=t[e];A(n)&&On(r,n)}else if(A(e))On(r,e.bind(n));else if(R(e))if(N(e))e.forEach(e=>ar(e,t,n,o));else{const o=A(e.handler)?e.handler.bind(n):t[e.handler];A(o)&&On(r,o,e)}}function ur(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&ur(e,s,n),r&&r.forEach(t=>ur(e,t,n));for(const r in t)e[r]=o&&T(o,r)?o[r](e[r],t[r],n.proxy,r):t[r]}const pr=C(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e.parent&&e.parent.proxy,$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach(t=>ur(i,t,e)),ur(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Bt(e.update),$nextTick:e=>Rt.bind(e.proxy),$watch:e=>Bn.bind(e)}),fr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=e;if("__v_skip"===t)return!0;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==g&&T(o,t))return i[t]=0,o[t];if(r!==g&&T(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&T(a,t))return i[t]=2,s[t];if(n!==g&&T(n,t))return i[t]=3,n[t];nr||(i[t]=4)}}const u=pr[t];let p,f;return u?("$attrs"===t&&pe(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==g&&T(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,T(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==g&&T(r,t))r[t]=n;else if(o!==g&&T(o,t))o[t]=n;else if(t in e.props)return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==g&&T(e,i)||t!==g&&T(t,i)||(l=s[0])&&T(l,i)||T(o,i)||T(pr,i)||T(r.config.globalProperties,i)}},dr=C({},fr,{get(e,t){if(t!==Symbol.unscopables)return fr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!o(t)}),hr=co();let mr=0;let gr=null;const vr=()=>gr||Wt,yr=e=>{gr=e};let br,_r=!1;function xr(e,t,n){A(t)?e.render=t:R(t)&&(e.setupState=ut(t)),Cr(e)}function Sr(e){br=e}function Cr(e,t){const n=e.type;e.render||(br&&n.template&&!n.render&&(n.render=br(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||y,e.render._rc&&(e.withProxy=new Proxy(e.ctx,dr))),gr=e,or(e,n),gr=null}function kr(e){gr&&(gr.effects||(gr.effects=[])).push(e)}const wr=/(?:^|[-_])(\w)/g;function Tr(e,t,n=!1){let o=A(t)&&t.displayName||t.name;if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.vue$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(wr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Nr(e){const t=function(e){let t,n;return A(e)?(t=e,n=y):(t=e.get,n=e.set),new ht(t,n,A(e)||!e.set)}(e);return kr(t.effect),t}function Er(e){return A(e)?{setup:e,name:e.name}:e}function Fr(e,{vnode:{props:t,children:n}}){return Go(e,t,n)}function $r(e,t,n){const o=arguments.length;return 2===o?R(t)&&!N(t)?Do(t)?Go(e,null,[t]):Go(e,t):Go(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Do(n)&&(n=[n]),Go(e,t,n))}const Ar=Symbol("");const Mr="3.0.2",Or="http://www.w3.org/2000/svg",Rr="undefined"!=typeof document?document:null;let Br,Pr;const Ir={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Rr.createElementNS(Or,e):Rr.createElement(e,n?{is:n}:void 0),createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?Pr||(Pr=Rr.createElementNS(Or,"svg")):Br||(Br=Rr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Ir.insert(i,t,n),i=r.firstChild;return[s,l]}};const Lr=/\s*!important$/;function Vr(e,t,n){if(N(n))n.forEach(n=>Vr(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=jr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return jr[t]=o;o=W(o);for(let n=0;ndocument.createEvent("Event").timeStamp&&(Hr=()=>performance.now());let zr=0;const Kr=Promise.resolve(),Wr=()=>{zr=0};function Gr(e,t,n,o){e.addEventListener(t,n,o)}function qr(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(Jr.test(e)){let n;for(t={};n=e.match(Jr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){Gr(e,n,s[t]=function(e,t){const n=e=>{(e.timeStamp||Hr())>=n.attached-1&&bt(function(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>zr||(Kr.then(Wr),zr=Hr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const Jr=/(?:Once|Passive|Capture)$/;const Yr=/^on[a-z]/;function Zr(e,t,n){if(128&e.shapeFlag){const o=e.suspense;e=o.activeBranch,o.pendingBranch&&!o.isHydrating&&o.effects.push(()=>{Zr(o.activeBranch,t,n)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const o=e.el.style;for(const e in t)o.setProperty(`--${n}${e}`,ct(t[e]))}else e.type===Mo&&e.children.forEach(e=>Zr(e,t,n))}const Qr="transition",Xr="animation",es=(e,{slots:t})=>$r(Vn,os(e),t);es.displayName="Transition";const ts={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ns=es.props=C({},Vn.props,ts);function os(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=t+"-enter-from",enterActiveClass:i=t+"-enter-active",enterToClass:l=t+"-enter-to",appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=t+"-leave-from",leaveActiveClass:f=t+"-leave-active",leaveToClass:d=t+"-leave-to"}=e;const h={};for(const t in e)t in ts||(h[t]=e[t]);if(!o)return h;const m=function(e){if(null==e)return null;if(R(e))return[rs(e.enter),rs(e.leave)];{const t=rs(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{is(e,t?u:l),is(e,t?a:i),n&&n()},E=(e,t)=>{is(e,d),is(e,f),t&&t()},F=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ls(()=>{is(t,e?c:s),ss(t,e?u:l),r&&r.length>1||(g?setTimeout(i,g):cs(t,n,i))})};return C(h,{onBeforeEnter(e){y&&y(e),ss(e,i),ss(e,s)},onBeforeAppear(e){k&&k(e),ss(e,a),ss(e,c)},onEnter:F(!1),onAppear:F(!0),onLeave(e,t){const o=()=>E(e,t);ss(e,f),ss(e,p),ls(()=>{is(e,p),ss(e,d),x&&x.length>1||(v?setTimeout(o,v):cs(e,n,o))}),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),S&&S(e)}})}function rs(e){return Z(e)}function ss(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function is(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ls(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function cs(e,t,n){const{type:o,timeout:r,propCount:s}=as(e,t);if(!o)return n();const i=o+"end";let l=0;const c=()=>{e.removeEventListener(i,a),n()},a=t=>{t.target===e&&++l>=s&&c()};setTimeout(()=>{l(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=us(r,s),l=o("animationDelay"),c=o("animationDuration"),a=us(l,c);let u=null,p=0,f=0;t===Qr?i>0&&(u=Qr,p=i,f=s.length):t===Xr?a>0&&(u=Xr,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?Qr:Xr:null,f=u?u===Qr?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===Qr&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function us(e,t){for(;e.lengthps(t)+ps(e[n])))}function ps(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const fs=new WeakMap,ds=new WeakMap,hs={name:"TransitionGroup",props:C({},ns,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vr(),o=In();let r,s;return wn(()=>{if(!r.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach(e=>{e.split(/\s+/).forEach(e=>e&&o.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&o.classList.add(e)),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=as(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(ms),r.forEach(gs);const o=r.filter(vs);document,o.forEach(e=>{const n=e.el,o=n.style;ss(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,is(n,t))};n.addEventListener("transitionend",r)})}),()=>{const i=nt(e),l=os(i),c=i.tag||Mo;r=s,s=t.default?Kn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return N(t)?e=>J(t,e):t};function bs(e){e.target.composing=!0}function _s(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const xs={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=ys(r);const s=o||"number"===e.type;Gr(e,t?"change":"input",t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)}),n&&Gr(e,"change",()=>{e.value=e.value.trim()}),t||(Gr(e,"compositionstart",bs),Gr(e,"compositionend",_s),Gr(e,"change",_s))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=ys(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Ss={created(e,t,n){Cs(e,t,n),e._assign=ys(n),Gr(e,"change",()=>{const t=e._modelValue,n=Ns(e),o=e.checked,r=e._assign;if(N(t)){const e=h(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else F(t)?o?t.add(n):t.delete(n):r(Es(e,o))})},beforeUpdate(e,t,n){e._assign=ys(n),Cs(e,t,n)}};function Cs(e,{value:t,oldValue:n},o){e._modelValue=t,N(t)?e.checked=h(t,o.props.value)>-1:F(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=d(t,Es(e,!0)))}const ks={created(e,{value:t},n){e.checked=d(t,n.props.value),e._assign=ys(n),Gr(e,"change",()=>{e._assign(Ns(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=ys(o),t!==n&&(e.checked=d(t,o.props.value))}},ws={created(e,{modifiers:{number:t}},n){Gr(e,"change",()=>{const n=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>t?Z(Ns(e)):Ns(e));e._assign(e.multiple?n:n[0])}),e._assign=ys(n)},mounted(e,{value:t}){Ts(e,t)},beforeUpdate(e,t,n){e._assign=ys(n)},updated(e,{value:t}){Ts(e,t)}};function Ts(e,t){const n=e.multiple;if(!n||N(t)||F(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(d(Ns(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Ns(e){return"_value"in e?e._value:e.value}function Es(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fs={created(e,t,n){$s(e,t,n,null,"created")},mounted(e,t,n){$s(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){$s(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){$s(e,t,n,o,"updated")}};function $s(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=ws;break;case"TEXTAREA":s=xs;break;default:switch(n.props&&n.props.type){case"checkbox":s=Ss;break;case"radio":s=ks;break;default:s=xs}}const i=s[r];i&&i(e,t,n,o)}const As=["ctrl","shift","alt","meta"],Ms={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>As.some(n=>e[n+"Key"]&&!t.includes(n))},Os={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Bs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Bs(e,!0),o.enter(e)):o.leave(e,()=>{Bs(e,!1)}):Bs(e,t))},beforeUnmount(e,{value:t}){Bs(e,t)}};function Bs(e,t){e.style.display=t?e._vod:"none"}const Ps=C({patchProp:(e,t,n,o,s=!1,i,l,c,a)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(M(n))t!==n&&(o.cssText=n);else{for(const e in n)Vr(o,e,n[e]);if(t&&!M(t))for(const e in t)null==n[e]&&Vr(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:x(t)?S(t)||qr(e,t,0,o,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&Yr.test(t)&&A(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(Yr.test(t)&&M(n))return!1;return t in e}(e,t,o,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName)if(""===n&&"boolean"==typeof e[t])e[t]=!0;else if(null==n&&"string"==typeof e[t])e[t]="",e.removeAttribute(t);else try{e[t]=n}catch(e){}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,o,i,l,c,a):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Dr,t.slice(6,t.length)):e.setAttributeNS(Dr,t,n);else{const o=r(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,s))}},forcePatchProp:(e,t)=>"value"===t},Ir);let Is,Ls=!1;function Vs(){return Is||(Is=bo(Ps))}function Us(){return Is=Ls?Is:_o(Ps),Ls=!0,Is}function js(e){if(M(e)){return document.querySelector(e)}return e}function Ds(e){throw e}function Hs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const zs=Symbol(""),Ks=Symbol(""),Ws=Symbol(""),Gs=Symbol(""),qs=Symbol(""),Js=Symbol(""),Ys=Symbol(""),Zs=Symbol(""),Qs=Symbol(""),Xs=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi={[zs]:"Fragment",[Ks]:"Teleport",[Ws]:"Suspense",[Gs]:"KeepAlive",[qs]:"BaseTransition",[Js]:"openBlock",[Ys]:"createBlock",[Zs]:"createVNode",[Qs]:"createCommentVNode",[Xs]:"createTextVNode",[ei]:"createStaticVNode",[ti]:"resolveComponent",[ni]:"resolveDynamicComponent",[oi]:"resolveDirective",[ri]:"withDirectives",[si]:"renderList",[ii]:"renderSlot",[li]:"createSlots",[ci]:"toDisplayString",[ai]:"mergeProps",[ui]:"toHandlers",[pi]:"camelize",[fi]:"capitalize",[di]:"toHandlerKey",[hi]:"setBlockTracking",[mi]:"pushScopeId",[gi]:"popScopeId",[vi]:"withScopeId",[yi]:"withCtx"};const _i={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function xi(e,t,n,o,r,s,i,l=!1,c=!1,a=_i){return e&&(l?(e.helper(Js),e.helper(Ys)):e.helper(Zs),i&&e.helper(ri)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Si(e,t=_i){return{type:17,loc:t,elements:e}}function Ci(e,t=_i){return{type:15,loc:t,properties:e}}function ki(e,t){return{type:16,loc:_i,key:M(e)?wi(e,!0):e,value:t}}function wi(e,t,n=_i,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function Ti(e,t=_i){return{type:8,loc:t,children:e}}function Ni(e,t=[],n=_i){return{type:14,loc:n,callee:e,arguments:t}}function Ei(e,t,n=!1,o=!1,r=_i){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Fi(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:_i}}const $i=e=>4===e.type&&e.isStatic,Ai=(e,t)=>e===t||e===K(t);function Mi(e){return Ai(e,"Teleport")?Ks:Ai(e,"Suspense")?Ws:Ai(e,"KeepAlive")?Gs:Ai(e,"BaseTransition")?qs:void 0}const Oi=/^\d|[^\$\w]/,Ri=e=>!Oi.test(e),Bi=/^[A-Za-z_$][\w$]*(?:\s*\.\s*[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Pi=e=>!!e&&Bi.test(e.trim());function Ii(e,t,n){const o={source:e.source.substr(t,n),start:Li(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Li(e.start,e.source,t+n)),o}function Li(e,t,n=t.length){return Vi(C({},e),t,n)}function Vi(e,t,n=t.length){let o=0,r=-1;for(let e=0;e4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=Ni(n.helper(ai),[Ci([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function qi(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Ji=/&(gt|lt|amp|apos|quot);/g,Yi={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Zi={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:b,isPreTag:b,isCustomElement:b,decodeEntities:e=>e.replace(Ji,(e,t)=>Yi[t]),onError:Ds,comments:!1};function Qi(e,t={}){const n=function(e,t){const n=C({},Zi);for(const e in t)n[e]=t[e]||Zi[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=fl(n);return function(e,t=_i){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(Xi(n,0,[]),dl(n,o))}function Xi(e,t,n){const o=hl(n),r=o?o.ns:0,s=[];for(;!bl(e,t,n);){const i=e.source;let l=void 0;if(0===t||1===t)if(!e.inVPre&&ml(i,e.options.delimiters[0]))l=al(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=ml(i,"\x3c!--")?nl(e):ml(i,""===i[2]){gl(e,3);continue}if(/[a-z]/i.test(i[2])){il(e,1,o);continue}l=ol(e)}else/[a-z]/i.test(i[1])?l=rl(e,n):"?"===i[1]&&(l=ol(e));if(l||(l=ul(e,t)),N(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)gl(e,s-r+1),r=s+1;gl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),gl(e,e.source.length);return{type:3,content:n,loc:dl(e,t)}}function ol(e){const t=fl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),gl(e,e.source.length)):(o=e.source.slice(n,r),gl(e,r+1)),{type:3,content:o,loc:dl(e,t)}}function rl(e,t){const n=e.inPre,o=e.inVPre,r=hl(t),s=il(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=Xi(e,c,t);if(t.pop(),s.children=a,_l(e.source,s.tag))il(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&ml(e.loc.source,"\x3c!--")}return s.loc=dl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const sl=t("if,else,else-if,for,slot");function il(e,t,n){const o=fl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);gl(e,r[0].length),vl(e);const l=fl(e),c=e.source;let a=ll(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,C(e,l),e.source=c,a=ll(e,t).filter(e=>"v-pre"!==e.name));let u=!1;0===e.source.length||(u=ml(e.source,"/>"),gl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Mi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some(e=>7===e.type&&sl(e.name))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:dl(e,o),codegenNode:void 0}}function ll(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ml(e.source,">")&&!ml(e.source,"/>");){if(ml(e.source,"/")){gl(e,1),vl(e);continue}const r=cl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),vl(e)}return n}function cl(e,t){const n=fl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}gl(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(vl(e),gl(e,1),vl(e),r=function(e){const t=fl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){gl(e,1);const t=e.source.indexOf(o);-1===t?n=pl(e,e.source.length,4):(n=pl(e,t,4),gl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=pl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:dl(e,t)}}(e));const s=dl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(ml(o,":")?"bind":ml(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),c=dl(e,yl(e,n,s),yl(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,isConstant:u,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Li(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function al(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=fl(e);gl(e,n.length);const i=fl(e),l=fl(e),c=r-n.length,a=e.source.slice(0,c),u=pl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Vi(i,a,f);return Vi(l,a,c-(u.length-p.length-f)),gl(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:p,loc:dl(e,i,l)},loc:dl(e,s)}}function ul(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;tr&&(o=r)}const r=fl(e);return{type:2,content:pl(e,o,t),loc:dl(e,r)}}function pl(e,t,n){const o=e.source.slice(0,t);return gl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function fl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function dl(e,t,n){return{start:t,end:n=n||fl(e),source:e.originalSource.slice(t.offset,n.offset)}}function hl(e){return e[e.length-1]}function ml(e,t){return e.startsWith(t)}function gl(e,t){const{source:n}=e;Vi(e,n,t),e.source=n.slice(t)}function vl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&gl(e,t[0].length)}function yl(e,t,n){return Li(t,e.originalSource.slice(t.offset,n),n)}function bl(e,t,n){const o=e.source;switch(t){case 0:if(ml(o,"=0;--e)if(_l(o,n[e].tag))return!0;break;case 1:case 2:{const e=hl(n);if(e&&_l(o,e.tag))return!0;break}case 3:if(ml(o,"]]>"))return!0}return!o}function _l(e,t){return ml(e,"]/.test(e[2+t.length]||">")}function xl(e,t){Cl(e,t,new Map,Sl(e,e.children[0]))}function Sl(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Wi(t)}function Cl(e,t,n,o=!1){let r=!1,s=!1;const{children:i}=e;for(let e=0;e0){2===e&&(s=!0),l.codegenNode.patchFlag="-1",l.codegenNode=t.hoist(l.codegenNode),r=!0;continue}{const e=l.codegenNode;if(13===e.type){const n=Nl(e);if(!(n&&512!==n&&1!==n||wl(l))){const n=Tl(l);n&&(e.props=t.hoist(n))}}}}else if(12===l.type){const e=kl(l.content,n);e>0&&(2===e&&(s=!0),l.codegenNode=t.hoist(l.codegenNode),r=!0)}if(1===l.type)Cl(l,t,n);else if(11===l.type)Cl(l,t,n,1===l.children.length);else if(9===l.type)for(let e=0;e(m.helpers.add(e),e),helperString:e=>"_"+bi[m.helper(e)],replaceNode(e){m.parent.children[m.childIndex]=m.currentNode=e},removeNode(e){const t=e?m.parent.children.indexOf(e):m.currentNode?m.childIndex:-1;e&&e!==m.currentNode?m.childIndex>t&&(m.childIndex--,m.onNodeRemoved()):(m.currentNode=null,m.onNodeRemoved()),m.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m.hoists.push(e);const t=wi("_hoisted_"+m.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:_i}}(++m.cached,e,t)};return m}function Fl(e,t){const o=El(e,t);$l(e,o),t.hoistStatic&&xl(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Sl(e,t)&&t.codegenNode){const n=t.codegenNode;13===n.type&&(n.isBlock=!0,o(Js),o(Ys)),e.codegenNode=n}else e.codegenNode=t}else r.length>1&&(e.codegenNode=xi(t,o(zs),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function $l(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(zi))return;const s=[];for(let i=0;i"_"+bi[e],push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+" ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${bi[e]}: _${bi[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[Zs,Qs,Xs,ei].filter(t=>e.helpers.includes(t)).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Il(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(a?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map(e=>`${bi[e]}: _${bi[e]}`).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(Rl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Rl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Il(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Rl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ti:oi);for(let n=0;n3||!1;t.push("["),n&&t.indent(),Pl(e,t,n),n&&t.deindent(),t.push("]")}function Pl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null")}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Il(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=M(e.callee)?e.callee:o(e.callee);r&&n(Ml);n(s+"(",e),Pl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let e=0;e "),(c||l)&&(n("{"),o());i?(c&&n("return "),N(i)?Bl(i,t):Il(i,t)):l&&Il(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!Ri(n.content);e&&i("("),Ll(n,t),e&&i(")")}else i("("),Il(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Il(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Il(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(o(hi)+"(-1),"),i());n(`_cache[${e.index}] = `),Il(e.value,t),e.isVNode&&(n(","),i(),n(o(hi)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ll(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Vl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=wi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Dl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Dl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);$l(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,(e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Hl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Hl(t,i+e.branches.length-1,n)}}}));function Dl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ui(e,"for")?[e]:e.children,userKey:ji(e,"key")}}function Hl(e,t,n){return e.condition?Fi(e.condition,zl(e,t,n),Ni(n.helper(Qs),['""',"true"])):zl(e,t,n)}function zl(e,t,o){const{helper:r}=o,s=ki("key",wi(""+t,!1,_i,!0)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return Gi(e,s,o),e}return xi(o,r(zs),Ci([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=l.codegenNode;return 13===e.type&&(e.isBlock=!0,r(Js),r(Ys)),Gi(e,s,o),e}}const Kl=Al("for",(e,t,o)=>{const{helper:r}=o;return function(e,t,n,o){if(!t.exp)return;const r=Jl(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:Ki(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,o,t=>{const s=Ni(r(si),[t.source]),i=ji(e,"key"),l=i?ki("key",6===i.type?wi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.isConstant,a=c?64:i?128:256;return t.codegenNode=xi(o,r(zs),void 0,s,`${a} /* ${n[a]} */`,void 0,void 0,!0,!c,e.loc),()=>{let i;const a=Ki(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=Wi(e)?e:a&&1===e.children.length&&Wi(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&Gi(i,l,o)):p?i=xi(o,r(zs),l?Ci([l]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&Gi(i,l,o),i.isBlock=!c,i.isBlock&&(r(Js),r(Ys))),s.arguments.push(Ei(Zl(t.parseResult),i,!0))}})});const Wl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Gl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ql=/^\(|\)$/g;function Jl(e,t){const n=e.loc,o=e.content,r=o.match(Wl);if(!r)return;const[,s,i]=r,l={source:Yl(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(ql,"").trim();const a=s.indexOf(c),u=c.match(Gl);if(u){c=c.replace(Gl,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=Yl(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=Yl(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=Yl(n,c,a)),l}function Yl(e,t,n){return wi(t,!1,Ii(e,n,t.length))}function Zl({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(wi("_",!1)),o.push(t)),n&&(t||(e||o.push(wi("_",!1)),o.push(wi("__",!1))),o.push(n)),o}const Ql=wi("undefined",!1),Xl=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ui(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},ec=(e,t,n)=>Ei(e,t,!1,!0,t.length?t[0].loc:n);function tc(e,t,n=ec){t.helper(yi);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>ki("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Ui(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!$i(e)&&(c=!0),s.push(ki(e||wi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let e=0;e{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?ji(e,"is"):Ui(e,"is");if(r){const e=6===r.type?r.value&&wi(r.value.content,!0):r.exp;if(e)return Ni(t.helper(ni),[e])}const s=Mi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;if("setup"===t.bindingMetadata[o])return`$setup[${JSON.stringify(o)}]`;return t.helper(ti),t.components.add(o),qi(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=R(s)&&s.callee===ni||s===Ks||s===Ws||!r&&("svg"===n||"foreignObject"===n||ji(e,"key",!0));if(o.length>0){const n=ic(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Si(o.map(e=>function(e,t){const n=[],o=rc.get(e);o?n.push(t.helperString(o)):(t.helper(oi),t.directives.add(e.name),n.push(qi(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=wi("true",!1,r);n.push(Ci(e.modifiers.map(e=>ki(e,t)),r))}return Si(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===Gs&&(d=!0,f|=1024);if(r&&s!==Ks&&s!==Gs){const{slots:n,hasDynamicSlots:o}=tc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ks){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!kl(t)&&(f|=1),l=o||2===n?t:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if($i(e)){const n=e.content,o=x(n);if(i||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||U(n)||(h=!0),o&&U(n)&&(g=!0),20===t.type||(4===t.type||8===t.type)&&kl(t)>0)return;"ref"===n?p=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):d=!0:f=!0}else m=!0};for(let i=0;i1?Ni(t.helper(ai),c,s):c[0]):l.length&&(b=Ci(lc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function lc(e){const t=new Map,n=[];for(let o=0;o{if(Wi(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n='"default"',o=void 0;const r=ji(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=ic(e,t,s);o=n}return{slotName:n,slotProps:o}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Ei([],n,!1,!1,o))),e.codegenNode=Ni(t.helper(ii),i,o)}};const uc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,pc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=wi(G(H(i.content)),!0,i.loc)}else l=Ti([n.helperString(di)+"(",i,")"]);else l=i,l.children.unshift(n.helperString(di)+"("),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Pi(c.content),t=!(e||uc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ti([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[ki(l,c||wi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},fc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content+' || ""'),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(pi)}(${i.content})`:(i.children.unshift(n.helperString(pi)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[ki(i,wi("",!0,s))]}:{props:[ki(i,o)]}},dc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e{if(1===e.type&&Ui(e,"once",!0)){if(hc.has(e))return;return hc.add(e),t.helper(hi),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},gc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vc();if(!Pi(4===o.type?o.content:o.loc.source))return vc();const s=r||wi("modelValue",!0),i=r?$i(r)?"onUpdate:"+r.content:Ti(['"onUpdate:" + ',r]):"onUpdate:modelValue",l=[ki(s,e.exp),ki(i,Ti(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ri(e)?e:JSON.stringify(e))+": true").join(", "),n=r?$i(r)?r.content+"Modifiers":Ti([r,' + "Modifiers"']):"modelModifiers";l.push(ki(n,wi(`{ ${t} }`,!1,e.loc,!0)))}return vc(l)};function vc(e=[]){return{props:e}}function yc(e,t={}){const n=t.onError||Ds,o="module"===t.mode;!0===t.prefixIdentifiers?n(Hs(45)):o&&n(Hs(46));t.cacheHandlers&&n(Hs(47)),t.scopeId&&!o&&n(Hs(48));const r=M(e)?Qi(e,t):e,[s,i]=[[mc,jl,Kl,ac,sc,Xl,dc],{on:pc,bind:fc,model:gc}];return Fl(r,C({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:C({},i,t.directiveTransforms||{})})),Ol(r,C({},t,{prefixIdentifiers:false}))}const bc=Symbol(""),_c=Symbol(""),xc=Symbol(""),Sc=Symbol(""),Cc=Symbol(""),kc=Symbol(""),wc=Symbol(""),Tc=Symbol(""),Nc=Symbol(""),Ec=Symbol("");var Fc;let $c;Fc={[bc]:"vModelRadio",[_c]:"vModelCheckbox",[xc]:"vModelText",[Sc]:"vModelSelect",[Cc]:"vModelDynamic",[kc]:"withModifiers",[wc]:"withKeys",[Tc]:"vShow",[Nc]:"Transition",[Ec]:"TransitionGroup"},Object.getOwnPropertySymbols(Fc).forEach(e=>{bi[e]=Fc[e]});const Ac=t("style,iframe,script,noscript",!0),Mc={isVoidTag:f,isNativeTag:e=>u(e)||p(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return($c||($c=document.createElement("div"))).innerHTML=e,$c.textContent},isBuiltInComponent:e=>Ai(e,"Transition")?Nc:Ai(e,"TransitionGroup")?Ec:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Ac(e))return 2}return 0}},Oc=(e,t)=>{const n=c(e);return wi(JSON.stringify(n),!1,t,!0)};const Rc=t("passive,once,capture"),Bc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Pc=t("left,right"),Ic=t("onkeyup,onkeydown,onkeypress",!0),Lc=(e,t)=>$i(e)&&"onclick"===e.content.toLowerCase()?wi(t,!0):4!==e.type?Ti(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Vc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Uc=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:wi("style",!0,t.loc),exp:Oc(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],jc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ki(wi("innerHTML",!0,r),o||wi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ki(wi("textContent",!0),o?Ni(n.helperString(ci),[o],r):wi("",!0))]}},model:(e,t,n)=>{const o=gc(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=xc,i=!1;if("input"===r||s){const n=ji(t,"type");if(n){if(7===n.type)e=Cc;else if(n.value)switch(n.value.content){case"radio":e=bc;break;case"checkbox":e=_c;break;case"file":i=!0}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(e=Cc)}else"select"===r&&(e=Sc);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),o},on:(e,t,n)=>pc(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Tc)})};const Dc=Object.create(null);function Hc(e,t){if(!M(e)){if(!e.nodeType)return y;e=e.innerHTML}const n=e,o=Dc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return yc(e,C({},Mc,t,{nodeTransforms:[Vc,...Uc,...t.nodeTransforms||[]],directiveTransforms:C({},jc,t.directiveTransforms||{}),transformHoist:null}))}(e,C({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Dc[n]=s}return Sr(Hc),e.BaseTransition=Vn,e.Comment=Ro,e.Fragment=Mo,e.KeepAlive=Gn,e.Static=Bo,e.Suspense=en,e.Teleport=No,e.Text=Oo,e.Transition=es,e.TransitionGroup=hs,e.callWithAsyncErrorHandling=bt,e.callWithErrorHandling=yt,e.camelize=H,e.capitalize=W,e.cloneVNode=qo,e.compile=Hc,e.computed=Nr,e.createApp=(...e)=>{const t=Vs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=js(e);if(!o)return;const r=t._component;A(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o);return o.removeAttribute("v-cloak"),o.setAttribute("data-v-app",""),s},t},e.createBlock=jo,e.createCommentVNode=function(e="",t=!1){return t?(Lo(),jo(Ro,null,e)):Go(Ro,null,e)},e.createHydrationRenderer=_o,e.createRenderer=bo,e.createSSRApp=(...e)=>{const t=Us().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=js(e);if(t)return n(t,!0)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((u++,a=null,p())),()=>n(e),u+1)});throw e}).then(t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Er({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=gr;if(c)return()=>Fr(c,e);const t=t=>{a=null,_t(t,e,13,!o)};if(i&&e.suspense)return p().then(t=>()=>Fr(t,e)).catch(e=>(t(e),()=>o?Go(o,{error:e}):null));const l=st(!1),u=st(),f=st(!!r);return r&&setTimeout(()=>{f.value=!1},r),null!=s&&setTimeout(()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}},s),p().then(()=>{l.value=!0}).catch(e=>{t(e),u.value=e}),()=>l.value&&c?Fr(c,e):u.value&&o?Go(o,{error:u.value}):n&&!f.value?Go(n):void 0}})},e.defineComponent=Er,e.getCurrentInstance=vr,e.getTransitionRawChildren=Kn,e.h=$r,e.handleError=_t,e.hydrate=(...e)=>{Us().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=tr,e.isProxy=tt,e.isReactive=Xe,e.isReadonly=et,e.isRef=rt,e.isVNode=Do,e.markRaw=function(e){return Y(e,"__v_skip",!0),e},e.mergeProps=Xo,e.nextTick=Rt,e.onActivated=Yn,e.onBeforeMount=Sn,e.onBeforeUnmount=Tn,e.onBeforeUpdate=kn,e.onDeactivated=Zn,e.onErrorCaptured=$n,e.onMounted=Cn,e.onRenderTracked=Fn,e.onRenderTriggered=En,e.onUnmounted=Nn,e.onUpdated=wn,e.openBlock=Lo,e.popScopeId=fn,e.provide=er,e.proxyRefs=ut,e.pushScopeId=pn,e.queuePostFlushCb=Lt,e.reactive=Je,e.readonly=Ze,e.ref=st,e.registerRuntimeCompiler=Sr,e.render=(...e)=>{Vs().render(...e)},e.renderList=function(e,t){let n;if(N(e)||M(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":R(e)?JSON.stringify(e,m,2):String(e),e.toHandlerKey=G,e.toHandlers=function(e){const t={};for(const n in e)t[G(n)]=e[n];return t},e.toRaw=nt,e.toRef=dt,e.toRefs=function(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=dt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){fe(nt(e),"set","value",void 0)},e.unref=ct,e.useCssModule=function(e="$style"){return g},e.useCssVars=function(e,t=!1){const n=vr();if(!n)return;const o=t&&n.type.__scopeId?n.type.__scopeId.replace(/^data-v-/,"")+"-":"",r=()=>Zr(n.subTree,e(n.proxy),o);Cn(()=>An(r)),wn(r)},e.useSSRContext=()=>{},e.useTransitionState=In,e.vModelCheckbox=Ss,e.vModelDynamic=Fs,e.vModelRadio=ks,e.vModelSelect=ws,e.vModelText=xs,e.vShow=Rs,e.version=Mr,e.warn=function(e,...t){ae();const n=mt.length?mt[mt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=mt[mt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)yt(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:e})=>`at <${Tr(n,e.type)}>`).join("\n"),r]);else{const n=["[Vue warn]: "+e,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=" at <"+Tr(e.component,e.type,!!e.component&&null==e.component.parent),r=">"+n;return e.props?[o,...gt(e.props),r]:[o+r]}(e))}),t}(r)),console.warn(...n)}ue()},e.watch=On,e.watchEffect=An,e.withCtx=cn,e.withDirectives=function(e,t){if(null===Wt)return e;const n=Wt.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;en=>{if(!("key"in n))return;const o=K(n.key);return t.some(e=>e===o||Os[e]===o)?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;ecn((function(){pn(e);const n=t.apply(this,arguments);return fn(),n}))},e}({}); diff --git a/lib/workerdom-worker.min.js b/lib/workerdom-worker.min.js new file mode 100644 index 00000000..0ef4a07e --- /dev/null +++ b/lib/workerdom-worker.min.js @@ -0,0 +1,2 @@ +/* WorkerDOM 0.27.3, Apache License 2.0 */ +"use strict";var WorkerThread=function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n]*?)(\/?)>/gi,ue=/(^|\s)([^\s"'>\/=]+)\s*=\s*("([^"]+)"|'([^']+)'|(\S+))/gi,ce={AREA:!0,BASE:!0,BR:!0,COL:!0,HR:!0,IMG:!0,INPUT:!0,LINK:!0,META:!0,PARAM:!0,SOURCE:!0,TRACK:!0,WBR:!0},he={LI:{LI:!0},DT:{DT:!0,DD:!0},DD:{DD:!0,DT:!0},P:{ADDRESS:!0,ARTICLE:!0,ASIDE:!0,BLOCKQUOTE:!0,DETAILS:!0,DIV:!0,DL:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HR:!0,MAIN:!0,NAV:!0,OL:!0,P:!0,PRE:!0,SECTION:!0,TABLE:!0,UL:!0},RT:{RT:!0,RP:!0},RP:{RT:!0,RP:!0},OPTGROUP:{OPTGROUP:!0},OPTION:{OPTION:!0,OPTGROUP:!0},THEAD:{TBODY:!0,TFOOT:!0},TBODY:{TBODY:!0,TFOOT:!0},TR:{TR:!0},TD:{TD:!0,TH:!0},TH:{TD:!0,TH:!0}},fe={LI:{UL:!0,OL:!0},A:{DIV:!0},B:{DIV:!0},I:{DIV:!0},P:{DIV:!0},TD:{TR:!0,TABLE:!0},TH:{TR:!0,TABLE:!0}},de={SCRIPT:!0,NOSCRIPT:!0,STYLE:!0,PRE:!0},pe={__proto__:null,amp:"&",lt:"<",gt:">",quot:'"'},ye=function(){function e(t,r){n(this,e),this[ve]=!1,this[me]=!1,this.type=t,this.bubbles=!!r.bubbles,this.cancelable=!!r.cancelable}return i(e,[{key:"stopPropagation",value:function(){this[50]=!0}},{key:"stopImmediatePropagation",value:function(){this[51]=this[50]=!0}},{key:"preventDefault",value:function(){this.defaultPrevented=!0}},{key:"initEvent",value:function(e,t,n){this.type=e,this.bubbles=t,this.cancelable=n}}]),e}(),ve=50,me=51,ge=function(e,t){return null!==t[13]?v(0!==(t=t[13][0])?t:e[7]):null},ke=function(e,t,n){if(void 0!==t[n]){var r=Object.keys(t[n]),i={length:r.length,item:function(e){return this[e]||null}};return r.forEach((function(r){r=Number(r);var o=t[n][r];i[r]={identifier:o[0],screenX:o[1],screenY:o[2],clientX:o[3],clientY:o[4],pageX:o[5],pageY:o[6],target:v(0!==o[7]?o[7]:e[7])}})),i}},be={},we=function(e,t){return be["".concat(2"),n=this.innerHTML;return n||this.kind!==S.VOID?t+n+""):t}},{key:"innerHTML",get:function(){var e=this.childNodes;return e.length?e.map((function(e){switch(e.nodeType){case 3:return e.textContent;case 8:return"\x3c!--".concat(e.textContent,"--\x3e");default:return e.outerHTML}})).join(""):""},set:function(e){var t=this;e=function(e,t){var n,r=t.ownerDocument,i=t=r.createElementNS(t.namespaceURI,t.localName),o=t.namespaceURI,a=[t],s=0;e=""+e+"";var l=[];if("http://www.w3.org/2000/svg"!==o&&"http://www.w3.org/1999/xhtml"!==o)throw Error("Namespace not supported: "+o);for(;n=le.exec(e);){var u=n[1],c=n[2],h=n[3],f=n[4],d=n[5];if(s",-1==(f=e.indexOf(f,le.lastIndex)))throw Error("Close markup not found.");le.lastIndex=f}}if("foreignObject"===h&&(o=c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml"),c||d||ce[u])for(;!(1>=a.length);){if(i.nodeName.toUpperCase()==u)a.pop(),i=a[a.length-1];else if(fe[i.tagName]&&fe[i.tagName][u]){a.pop(),i=a[a.length-1];continue}break}}}for(e=0;e=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}(this.queue);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.isSetter?this[n.fnName]=n.args[0]:this[n.fnName].apply(this,d(n.args))}}catch(e){t.e(e)}finally{t.f()}this.queue.length=0}},{key:"delegateFunc",value:function(e,t){var n,r=(n=this.implementation)[e].apply(n,d(t));return this.upgraded||this.queue.push({fnName:e,args:t,isSetter:!1}),r}},{key:"delegateSetter",value:function(e,t){this.implementation[e]=t[0],this.upgraded||this.queue.push({fnName:e,args:t,isSetter:!0})}},{key:"delegateGetter",value:function(e){return this.implementation[e]}},{key:"clearRect",value:function(e,t,n,r){this.delegateFunc("clearRect",Array.prototype.slice.call(arguments))}},{key:"fillRect",value:function(e,t,n,r){this.delegateFunc("fillRect",Array.prototype.slice.call(arguments))}},{key:"strokeRect",value:function(e,t,n,r){this.delegateFunc("strokeRect",Array.prototype.slice.call(arguments))}},{key:"fillText",value:function(e,t,n,r){this.delegateFunc("fillText",Array.prototype.slice.call(arguments))}},{key:"strokeText",value:function(e,t,n,r){this.delegateFunc("strokeText",Array.prototype.slice.call(arguments))}},{key:"measureText",value:function(e){return this.delegateFunc("measureText",Array.prototype.slice.call(arguments))}},{key:"getLineDash",value:function(){return this.delegateFunc("getLineDash",Array.prototype.slice.call(arguments))}},{key:"setLineDash",value:function(e){this.delegateFunc("setLineDash",Array.prototype.slice.call(arguments))}},{key:"createLinearGradient",value:function(e,t,n,r){return this.delegateFunc("createLinearGradient",Array.prototype.slice.call(arguments))}},{key:"createRadialGradient",value:function(e,t,n,r,i,o){return this.delegateFunc("createRadialGradient",Array.prototype.slice.call(arguments))}},{key:"createPattern",value:function(e,t){var n=this,r=this.canvasElement.ownerDocument.defaultView.ImageBitmap;return this.polyfillUsed||e instanceof r?this.delegateFunc("createPattern",Array.prototype.slice.call(arguments)):(this.degradeImplementation(),(r=new Ge)[69](this.canvas,e,t).then((function(){n.maybeUpgradeImplementation()})),r)}},{key:"drawImage",value:function(e,t,n){var r=this,i=this.canvasElement.ownerDocument.defaultView.ImageBitmap;if(this.polyfillUsed||e instanceof i)this.delegateFunc("drawImage",Array.prototype.slice.call(arguments));else{var o=[];this.queue.push({fnName:"drawImage",args:o,isSetter:!1}),this.degradeImplementation(),N(e,this.canvas).then((function(e){o.push(e,t,n),r.maybeUpgradeImplementation()}))}}},{key:"beginPath",value:function(){this.delegateFunc("beginPath",Array.prototype.slice.call(arguments))}},{key:"closePath",value:function(){this.delegateFunc("closePath",Array.prototype.slice.call(arguments))}},{key:"moveTo",value:function(e,t){this.delegateFunc("moveTo",Array.prototype.slice.call(arguments))}},{key:"lineTo",value:function(e,t){this.delegateFunc("lineTo",Array.prototype.slice.call(arguments))}},{key:"bezierCurveTo",value:function(e,t,n,r,i,o){this.delegateFunc("bezierCurveTo",Array.prototype.slice.call(arguments))}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.delegateFunc("quadraticCurveTo",Array.prototype.slice.call(arguments))}},{key:"arc",value:function(e,t,n,r,i,o){this.delegateFunc("arc",Array.prototype.slice.call(arguments))}},{key:"arcTo",value:function(e,t,n,r,i){this.delegateFunc("arcTo",Array.prototype.slice.call(arguments))}},{key:"ellipse",value:function(e,t,n,r,i,o,a,s){this.delegateFunc("ellipse",Array.prototype.slice.call(arguments))}},{key:"rect",value:function(e,t,n,r){this.delegateFunc("rect",Array.prototype.slice.call(arguments))}},{key:"fill",value:function(e,t){var n=Array.prototype.slice.call(arguments);this.delegateFunc("fill",n)}},{key:"stroke",value:function(e){var t=Array.prototype.slice.call(arguments);this.delegateFunc("stroke",t)}},{key:"clip",value:function(e,t){var n=Array.prototype.slice.call(arguments);this.delegateFunc("clip",n)}},{key:"isPointInPath",value:function(e,t,n,r){var i=Array.prototype.slice.call(arguments);return this.delegateFunc("isPointInPath",i)}},{key:"isPointInStroke",value:function(e,t,n){var r=Array.prototype.slice.call(arguments);return this.delegateFunc("isPointInStroke",r)}},{key:"rotate",value:function(e){this.delegateFunc("rotate",Array.prototype.slice.call(arguments))}},{key:"scale",value:function(e,t){this.delegateFunc("scale",Array.prototype.slice.call(arguments))}},{key:"translate",value:function(e,t){this.delegateFunc("translate",Array.prototype.slice.call(arguments))}},{key:"transform",value:function(e,t,n,r,i,o){this.delegateFunc("transform",Array.prototype.slice.call(arguments))}},{key:"setTransform",value:function(e,t,n,r,i,o){var a=Array.prototype.slice.call(arguments);this.delegateFunc("setTransform",a)}},{key:"resetTransform",value:function(){this.delegateFunc("resetTransform",Array.prototype.slice.call(arguments))}},{key:"createImageData",value:function(e,t){var n=Array.prototype.slice.call(arguments);return this.delegateFunc("createImageData",n)}},{key:"getImageData",value:function(e,t,n,r){return this.delegateFunc("getImageData",Array.prototype.slice.call(arguments))}},{key:"putImageData",value:function(e,t,n,r,i,o,a){this.delegateFunc("putImageData",Array.prototype.slice.call(arguments))}},{key:"save",value:function(){this.delegateFunc("save",Array.prototype.slice.call(arguments))}},{key:"restore",value:function(){this.delegateFunc("restore",Array.prototype.slice.call(arguments))}},{key:"lineWidth",set:function(e){this.delegateSetter("lineWidth",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("lineWidth")}},{key:"lineCap",set:function(e){this.delegateSetter("lineCap",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("lineCap")}},{key:"lineJoin",set:function(e){this.delegateSetter("lineJoin",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("lineJoin")}},{key:"miterLimit",set:function(e){this.delegateSetter("miterLimit",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("miterLimit")}},{key:"lineDashOffset",set:function(e){this.delegateSetter("lineDashOffset",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("lineDashOffset")}},{key:"font",set:function(e){this.delegateSetter("font",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("font")}},{key:"textAlign",set:function(e){this.delegateSetter("textAlign",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("textAlign")}},{key:"textBaseline",set:function(e){this.delegateSetter("textBaseline",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("textBaseline")}},{key:"direction",set:function(e){this.delegateSetter("direction",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("direction")}},{key:"fillStyle",set:function(e){var t=this;e instanceof Ge&&this.upgraded?e[71]?this.delegateSetter("fillStyle",[e[70]]):(this.queue.push({fnName:"fillStyle",args:[e],isSetter:!0}),this.degradeImplementation(),e[72].then((function(){t.maybeUpgradeImplementation()}))):this.delegateSetter("fillStyle",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("fillStyle")}},{key:"strokeStyle",set:function(e){var t=this;e instanceof Ge&&this.upgraded?e[71]?this.delegateSetter("strokeStyle",[e[70]]):(this.queue.push({fnName:"strokeStyle",args:[e],isSetter:!0}),this.degradeImplementation(),e[72].then((function(){t.maybeUpgradeImplementation()}))):this.delegateSetter("strokeStyle",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("strokeStyle")}},{key:"shadowBlur",set:function(e){this.delegateSetter("shadowBlur",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("shadowBlur")}},{key:"shadowColor",set:function(e){this.delegateSetter("shadowColor",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("shadowColor")}},{key:"shadowOffsetX",set:function(e){this.delegateSetter("shadowOffsetX",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("shadowOffsetX")}},{key:"shadowOffsetY",set:function(e){this.delegateSetter("shadowOffsetY",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("shadowOffsetY")}},{key:"globalAlpha",set:function(e){this.delegateSetter("globalAlpha",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("globalAlpha")}},{key:"globalCompositeOperation",set:function(e){this.delegateSetter("globalCompositeOperation",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("globalCompositeOperation")}},{key:"imageSmoothingEnabled",set:function(e){this.delegateSetter("imageSmoothingEnabled",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("imageSmoothingEnabled")}},{key:"imageSmoothingQuality",set:function(e){this.delegateSetter("imageSmoothingQuality",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("imageSmoothingQuality")}},{key:"canvas",get:function(){return this.canvasElement}},{key:"filter",set:function(e){this.delegateSetter("filter",Array.prototype.slice.call(arguments))},get:function(){return this.delegateGetter("filter")}}]),e}(),Ue=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"getContext",value:function(e){if(!this.context){if("2D"!==e&&"2d"!==e)throw Error("Context type not supported.");this.context=new Be(this)}return this.context}}]),t}(Ne);we("canvas",Ue),se([{height:[0]},{width:[0]}],Ue);var Ve=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return t}(Ne);we("data",Ve),se([{value:[""]}],Ve);var _e=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return t}(Ne);we("embed",_e),se([{height:[""]},{src:[""]},{type:[""]},{width:[""]}],_e);var qe="BUTTON FIELDSET INPUT OBJECT OUTPUT SELECT TEXTAREA".split(" "),Ye=function(e){Object.defineProperty(e.prototype,"elements",{get:function(){return R(this,I(qe))}})},ze=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"type",get:function(){return this.tagName.toLowerCase()}}]),t}(Ne);we("fieldset",ze),Ye(ze),se([{name:[""]},{disabled:[!1]}],ze);var We=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"length",get:function(){return this.elements.length}}]),t}(Ne);we("form",We),Ye(We),se([{name:[""]},{method:["get"]},{target:[""]},{action:[""]},{enctype:["application/x-www-form-urlencoded"]},{acceptCharset:["","accept-charset"]},{autocomplete:["on"]},{autocapitalize:["sentences"]}],We);var Xe=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"sandbox",get:function(){return this._sandbox||(this._sandbox=new ne(this,"sandbox"))}}]),t}(Ne);we("iframe",Xe),T(Xe,{sandbox:[function(e){return e.sandbox.value},function(e,t){return e.sandbox.value=t}]}),se([{allow:[""]},{allowFullscreen:[!1]},{csp:[""]},{height:[""]},{name:[""]},{referrerPolicy:[""]},{src:[""]},{srcdoc:[""]},{width:[""]}],Xe);var Qe=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return t}(Ne);we("img",Qe),se([{alt:[""]},{crossOrigin:[""]},{height:[0]},{isMap:[!1]},{referrerPolicy:[""]},{src:[""]},{sizes:[""]},{srcset:[""]},{useMap:[""]},{width:[0]}],Qe);var Je=function(e){Object.defineProperty(e.prototype,"labels",{get:function(){var e=this;return R(this.ownerDocument||this,(function(t){return"LABEL"===t.tagName&&t.for&&t.for===e.id}))}})},Ke=function(e){function t(){n(this,t);var e=r.apply(this,arguments);return e[$e]="",e.dirtyValue=!1,e[Ze]=!1,e}a(t,e);var r=c(t);return i(t,[{key:"dateToString",value:function(e){var t=e.getFullYear(),n=e.getMonth()+1;return e=e.getDate(),"".concat(t,"-").concat(9e||e>=t.length?this.appendChild(n):this.insertBefore(n,this.children[e]),n}},{key:"cells",get:function(){return R(this,I(["TD","TH"]))}},{key:"rowIndex",get:function(){return Nt(this,I(["TABLE"]))}},{key:"sectionRowIndex",get:function(){return Nt(this,I(Et))}}]),t}(Ne);we("tr",Ot);var Lt=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"deleteRow",value:function(e){var t=this.rows;(0<=e||e<=t.length)&&t[e].remove()}},{key:"insertRow",value:function(e){var t=this.rows,n=this.ownerDocument.createElement("tr");return 0>e||e>=t.length?this.appendChild(n):this.insertBefore(n,this.children[e]),n}},{key:"rows",get:function(){return R(this,I(["TR"]))}}]),t}(Ne);we("thead",Lt),we("tfoot",Lt),we("tbody",Lt);var Ct=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return t}(Ne);we("time",Ct),se([{dateTime:[""]}],Ct);var xt=function(e){function t(){return n(this,t),r.apply(this,arguments)}a(t,e);var r=c(t);return i(t,[{key:"options",get:function(){return this.childNodes.filter((function(e){return"OPTION"===e.nodeName}))}}]),t}(Ne);we("datalist",xt);var St,Dt=function(e){function t(e,i,o,a,s){return n(this,t),(a=r.call(this,i,o,a,s))[38]=e,a[8]=[a[7],i,m(o),m(e),0],a}a(t,e);var r=c(t);return i(t,[{key:"data",get:function(){return this[38]},set:function(e){var t=this.data;this[38]=e,k(this.ownerDocument,{target:this,type:1,value:e,oldValue:t},[1,this[7],m(e)])}},{key:"length",get:function(){return this[38].length}},{key:"nodeValue",get:function(){return this[38]},set:function(e){this.data=e}}]),t}(Z),It=function(e){function t(e,i,o){return n(this,t),r.call(this,e,3,"#text",i,o)}a(t,e);var r=c(t);return i(t,[{key:"cloneNode",value:function(){return this.ownerDocument.createTextNode(this.data)}},{key:"splitText",value:function(e){var n=new t(this.data.slice(e,this.data.length),this.ownerDocument),r=this.parentNode;if(this.nodeValue=this.data.slice(0,e),null!==r){var i=(e=r.childNodes).indexOf(this)+1;return r.insertBefore(n,e.length>=i?e[i]:null)}return n}},{key:"textContent",get:function(){return this.data},set:function(e){this.nodeValue=e}}]),t}(Dt),Pt=function(e){function t(e,i,o){return n(this,t),r.call(this,e,8,"#comment",i,o)}a(t,e);var r=c(t);return i(t,[{key:"cloneNode",value:function(){return this.ownerDocument.createComment(this.data)}},{key:"textContent",get:function(){return this.data},set:function(e){this.nodeValue=e}}]),t}(Dt),Rt=function(e){function t(e,i){return n(this,t),(e=r.call(this,11,"#document-fragment",e,i))[8]=[e[7],11,m(e.nodeName),0,0],e}a(t,e);var r=c(t);return i(t,[{key:"cloneNode",value:function(){var e=0=(e=e.filter((function(e){return isNaN(e)&&!oe.prototype.hasOwnProperty(e)}))).length)){var t=oe.prototype.length||0;0!==t?oe.prototype.length=t+e.length:Object.defineProperty(oe.prototype,"length",{configurable:!0,writable:!0,value:e.length}),e.forEach((function(e,n){var r=e.replace(/(webkit|ms|moz|khtml)/g,"-$1").replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase();oe.prototype[n+t]=r,Object.defineProperties(oe.prototype,o({},e,{get:function(){return this.getPropertyValue(r)},set:function(e){this.setProperty(r,e)}}))}))}}(r),function(e){0>=(e=e.filter((function(e){return!Ne.prototype.hasOwnProperty(e)}))).length||e.forEach((function(e){var t=e.replace(/on/,"");Object.defineProperty(Ne.prototype,e,{enumerable:!0,get:function(){return this[76][t]||null},set:function(e){var n=this[76][t];n&&this.removeEventListener(t,n),this.addEventListener(t,e),this[76][t]=e}})}))}(i),t.forEach(m),(n[4]||[]).forEach((function(n){return e.body.appendChild(e[64](t,n))})),(n=e.defaultView).innerWidth=a,n.innerHeight=u,n.localStorage=O(e,0,s),n.sessionStorage=O(e,1,l)},e.workerDOM=Vt,e}({}); \ No newline at end of file diff --git a/lib/workerdom.min.js b/lib/workerdom.min.js new file mode 100644 index 00000000..4238d80e --- /dev/null +++ b/lib/workerdom.min.js @@ -0,0 +1,2 @@ +/* WorkerDOM 0.27.3, Apache License 2.0 */ +"use strict";var MainThread=function(e){function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=Number.MAX_VALUE&&(L=0);var r=L++;return P[r]={promise:n,resolve:e,reject:t},{promise:n,index:r}}function f(e,t,n,r){var i,u=[].slice.call(e.childNodes).filter(n);return o(i={},7,e._index_),o(i,11,0),o(i,0,e.nodeType),o(i,1,t(e.localName||e.nodeName)),o(i,4,u.map((function(e){return f(e,t,n,r)}))),o(i,2,[].map.call(e.attributes||[],(function(e){return[t(e.namespaceURI||"null"),t(e.name),t(e.value)]}))),u=i,null!=e.namespaceURI&&(u[6]=t(e.namespaceURI)),F.includes(e.nodeType)&&null!==e.textContent&&(u[5]=t(e.textContent)),y(r,e),x(r,e),u}function d(e,t){return function(e,t,n){var r=new D,o=new J,i=new p(r,t),a=function(e){return Object.assign({},{mutationPump:requestAnimationFrame.bind(null),executorsAllowed:g},e)}(n);return e.then((function(e){var s=function(e,t){var n=Array.isArray(e)?e:void 0;if(!n)if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){n=[];var r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}else n=void 0;if(!(e=n||u(e,t)))throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return e}(e,2);if(e=s[0],s=s[1],e&&s&&n.authorURL){e=new Y(t,i,e,s,a);var c=new I(r,i,e,a,o);return e.worker.onmessage=function(e){var t=e.data;B.includes(t[12])&&(c.mutate(t[54],t[37],t[41],new Uint16Array(t[36])),n.onReceiveMessage)&&n.onReceiveMessage(e)},new X(e,a)}return null}))}(Promise.all([fetch(t.domURL).then((function(e){return e.text()})),fetch(t.authorURL).then((function(e){return e.text()}))]),e,t)}var h=function(e,t,n,r,i){var u=i.executorsAllowed.includes(8);return{execute:function(e,r,i){var a;u&&i&&(e=t.getNode(e[r+1]))&&(i=e.transferControlToOffscreen(),n.messageToWorker((o(a={},12,9),o(a,13,[e._index_]),o(a,38,i),a),[i]));return r+2}}},g=[0,1,2,3,4,5,6,7,8,9,10,11,12,13],v=function(e,t){return Array.prototype.forEach.call(e,t)},p=function(){function e(n,r){var o=this;t(this,e),this.createNodes=function(e,t){for(var n=(e=new Uint16Array(e)).length,r=0;r=a&&(i(),i=null,a=0))),t+2},get active(){return null!==i}}},_=new Float32Array(1),M=new Uint16Array(_.buffer),j=function(e,t,n,r,o){var u=o.executorsAllowed.includes(9);return{execute:function(n,o,a){var l=e.get(n[o+1]),f=n[o+2],d=s(n,o+3,1,e,t,r);return o=d.args[0],n=(f=s(n,d.offset,f,e,t,r)).offset,f=f.args,u&&a&&(c(o,l)?o[l]=f[0]:o[l].apply(o,i(f))),n}}},U=function(e,t,n,r,o){var u=o.executorsAllowed.includes(10);if(!r)throw Error("objectContext is not defined.");return{execute:function(n,o,a){var c=e.get(n[o+1]),l=n[o+2],f=n[o+3],d=s(n,o+4,1,e,t,r);return o=d.args[0],n=(f=s(n,d.offset,f,e,t,r)).offset,f=f.args,u&&a&&"new"!==c&&r.store(l,o[c].apply(o,i(f))),n}}},W=function(e,t,n,r,i){var u=i.executorsAllowed.includes(11);return{execute:function(e,r,i){return u&&i&&(i=t.getNode(e[r+1]))&&self.createImageBitmap(i).then((function(t){var i;n.messageToWorker((o(i={},12,10),o(i,73,e[r+2]),o(i,38,t),i),[t])})),r+3}}},z=function(e,t,n,r,i){var u=i.executorsAllowed.includes(12),a=function(e,t){i.sanitizer&&2===e&&i.sanitizer.getStorage(e,t).then((function(r){var i;o(i={},12,11),o(i,74,t||""),o(i,75,e),o(i,21,r),r=i,n.messageToWorker(r)}))};return{execute:function(t,n,r){if(u&&r){r=t[n+1];var o=t[n+2],s=t[n+3];if(t=t[n+4],s=0 + + + + +dbmon (Vue 2 in WorkerDOM) + + +
+
+ + + + + + + + +
{{db.dbname}} + {{db.lastSample.nbQueries}} + + {{q.formatElapsed}} +
+
{{q.query}}
+
+
+
+
+
+ + + + + + + diff --git a/vue2/workerdom.js b/vue2/workerdom.js new file mode 100644 index 00000000..2902cddf --- /dev/null +++ b/vue2/workerdom.js @@ -0,0 +1,232 @@ +/*! + * Vue.js v2.6.12 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(z)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Pe(String,i.type);(c<0||s0&&(st((u=e(u,(a||"")+"_"+c))[0])&&st(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?st(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):st(u)&&st(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function st(e){return n(e)&&n(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=pt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=dt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:at(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function vt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return cn.now()})}function un(){var e,t;for(an=sn(),rn=!0,Qt.sort(function(e,t){return e.id-t.id}),on=0;onon&&Qt[n].id>e.id;)n--;Qt.splice(n+1,0,e)}else Qt.push(e);nn||(nn=!0,Ye(un))}}(this)},fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:S,set:S};function dn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Me(o,t,n,e);xe(r,o,a),o in e||dn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&dn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new fn(e,a||S,S,hn)),i in e||mn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function An(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=xn(a.componentOptions);s&&!t(s)&&On(n,o,r,i)}}}function On(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=bn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De($n(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&qt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=ut(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Yt(n,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),vn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Yt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return _n(this,e,t,n);(n=n||{}).user=!0;var r=new fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Re(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Ye,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),Cn(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:te}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Tt}),wn.version="2.6.12";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},In=p("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"),Fn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Pn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function Bn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Un(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Un(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Vn(t));return""}(t.staticClass,t.class)}function Un(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?hr(e,t,n):In(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,Mn(t,n)):Pn(t)?Hn(n)?e.removeAttributeNS(Fn,Rn(t)):e.setAttributeNS(Fn,t,n):hr(e,t,n)}function hr(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var mr={create:dr,update:dr};function yr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Bn(r),c=i._transitionClasses;n(c)&&(s=zn(s,Vn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var gr,_r,br,$r,wr,Cr,xr={create:yr,update:yr},kr=/[\w).+\-_$\]]/;function Ar(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&kr.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};_r=e,$r=wr=Cr=0;for(;!zr();)Vr(br=Ur())?Jr(br):91===br&&Kr(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,Cr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return _r.charCodeAt(++$r)}function zr(){return $r>=gr}function Vr(e){return 34===e||39===e}function Kr(e){var t=1;for(wr=$r;!zr();)if(Vr(e=Ur()))Jr(e);else if(91===e&&t++,93===e&&t--,0===t){Cr=$r;break}}function Jr(e){for(var t=e;!zr()&&(e=Ur())!==t;);}var qr,Wr="__r",Zr="__c";function Gr(e,t,n){var r=qr;return function i(){null!==t.apply(null,arguments)&&Qr(e,i,n,r)}}var Xr=Ve&&!(X&&Number(X[1])<=53);function Yr(e,t,n,r){if(Xr){var i=an,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function ei(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};qr=r.elm,function(e){if(n(e[Wr])){var t=q?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}n(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(i),rt(i,o,Yr,Qr,Gr,r.context),qr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);ii(a,u)&&(a.value=u)}else if("innerHTML"===i&&qn(a.tagName)&&t(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+o+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var oi={create:ri,update:ri},ai=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function si(e){var t=ci(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?O(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,pi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(C(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,$i(e.name||"v")),A(t,e),t}return"string"==typeof e?$i(e):void 0}}var $i=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=z&&!W,Ci="transition",xi="animation",ki="transition",Ai="transitionend",Oi="animation",Si="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ki="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Si="webkitAnimationEnd"));var Ti=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ti(function(){Ti(e)})}function Ni(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&h(e._transitionClasses,t),_i(e,t)}function Di(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ci?Ai:Si,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ci,l=a,f=o.length):t===xi?u>0&&(n=xi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ci:xi:null)?n===Ci?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ci&&Li.test(r[ki+"Property"])}}function Ii(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Pi(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every(function(t){return!N(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yi(e){return!e.componentInstance||e.data&&e.data.transition?e:Yi(e.componentInstance._vnode)}var Qi={model:Vi,show:{bind:function(e,t,n){var r=t.value,i=(n=Yi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Yi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,function(){e.style.display=e.__vOriginalDisplay}):Ri(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},eo={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 to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(zt(t.children)):e}function no(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var io=function(e){return e.tag||Ut(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(io)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=to(o);if(!a)return o;if(this._leaving)return ro(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=no(this),u=this._vnode,l=to(u);if(a.data.directives&&a.data.directives.some(oo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Ut(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,it(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,o);if("in-out"===r){if(Ut(a))return u;var p,d=function(){p()};it(c,"afterEnter",d),it(c,"enterCancelled",d),it(f,"delayLeave",function(e){p=e})}}return o}}},so=A({tag:String,moveClass:String},eo);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete so.mode;var fo={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s-1?Gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Gn[e]=/HTMLUnknownElement/.test(t.toString())},A(wn.options.directives,Qi),A(wn.options.components,fo),wn.prototype.__patch__=z?zi:S,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Yt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new fn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Yt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yt(e,"mounted")),e}(this,e=e&&z?Yn(e):void 0,t)},z&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",wn)},0);var po=/\{\{((?:.|\r?\n)+?)\}\}/g,vo=/[-.*+?^${}()|[\]\/\\]/g,ho=g(function(e){var t=e[0].replace(vo,"\\$&"),n=e[1].replace(vo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var yo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},_o=function(e){return(yo=yo||document.createElement("div")).innerHTML=e,yo.textContent},bo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),$o=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Ao="((?:"+ko+"\\:)?"+ko+")",Oo=new RegExp("^<"+Ao),So=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Eo=/^]+>/i,No=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Io=/&(?:lt|gt|quot|amp|#39);/g,Fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=p("pre,textarea",!0),Ro=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Ho(e,t){var n=t?Fo:Io;return e.replace(n,function(e){return Mo[e]})}var Bo,Uo,zo,Vo,Ko,Jo,qo,Wo,Zo=/^@|^v-on:/,Go=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qo=/^\(|\)$/g,ea=/^\[.*\]$/,ta=/:(.*)$/,na=/^:|^\.|^v-bind:/,ra=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,aa=/\s+/g,sa=g(_o),ca="_empty_";function ua(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ma(t),rawAttrsMap:{},parent:n,children:[]}}function la(e,t){Bo=t.warn||Sr,Jo=t.isPreTag||T,qo=t.mustUseProp||T,Wo=t.getTagNamespace||T;t.isReservedTag;zo=Tr(t.modules,"transformNode"),Vo=Tr(t.modules,"preTransformNode"),Ko=Tr(t.modules,"postTransformNode"),Uo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=fa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&da(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); + +var ENV = ENV || (function() { + var first = true; + var counter = 0; + var data; + var _base; + (_base = String.prototype).lpad || (_base.lpad = function(padding, toLength) { + return padding.repeat((toLength - this.length) / padding.length).concat(this); + }); + + function formatElapsed(value) { + var str = parseFloat(value).toFixed(2); + if (value > 60) { + minutes = Math.floor(value / 60); + comps = (value % 60).toFixed(2).split('.'); + seconds = comps[0].lpad('0', 2); + ms = comps[1]; + str = minutes + ":" + seconds + "." + ms; + } + return str; + } + + function getElapsedClassName(elapsed) { + var className = 'Query elapsed'; + if (elapsed >= 10.0) { + className += ' warn_long'; + } + else if (elapsed >= 1.0) { + className += ' warn'; + } + else { + className += ' short'; + } + return className; + } + + function countClassName(queries) { + var countClassName = "label"; + if (queries >= 20) { + countClassName += " label-important"; + } + else if (queries >= 10) { + countClassName += " label-warning"; + } + else { + countClassName += " label-success"; + } + return countClassName; + } + + function updateQuery(object) { + if (!object) { + object = {}; + } + var elapsed = Math.random() * 15; + object.elapsed = elapsed; + object.formatElapsed = formatElapsed(elapsed); + object.elapsedClassName = getElapsedClassName(elapsed); + object.query = "SELECT blah FROM something"; + object.waiting = Math.random() < 0.5; + if (Math.random() < 0.2) { + object.query = " in transaction"; + } + if (Math.random() < 0.1) { + object.query = "vacuum"; + } + return object; + } + + function cleanQuery(value) { + if (value) { + value.formatElapsed = ""; + value.elapsedClassName = ""; + value.query = ""; + value.elapsed = null; + value.waiting = null; + } else { + return { + query: "***", + formatElapsed: "", + elapsedClassName: "" + }; + } + } + + function generateRow(object, keepIdentity, counter) { + var nbQueries = Math.floor((Math.random() * 10) + 1); + if (!object) { + object = {}; + } + object.lastMutationId = counter; + object.nbQueries = nbQueries; + if (!object.lastSample) { + object.lastSample = {}; + } + if (!object.lastSample.topFiveQueries) { + object.lastSample.topFiveQueries = []; + } + if (keepIdentity) { + // for Angular optimization + if (!object.lastSample.queries) { + object.lastSample.queries = []; + for (var l = 0; l < 12; l++) { + object.lastSample.queries[l] = cleanQuery(); + } + } + for (var j in object.lastSample.queries) { + var value = object.lastSample.queries[j]; + if (j <= nbQueries) { + updateQuery(value); + } else { + cleanQuery(value); + } + } + } else { + object.lastSample.queries = []; + for (var j = 0; j < 12; j++) { + if (j < nbQueries) { + var value = updateQuery(cleanQuery()); + object.lastSample.queries.push(value); + } else { + object.lastSample.queries.push(cleanQuery()); + } + } + } + for (var i = 0; i < 5; i++) { + var source = object.lastSample.queries[i]; + object.lastSample.topFiveQueries[i] = source; + } + object.lastSample.nbQueries = nbQueries; + object.lastSample.countClassName = countClassName(nbQueries); + return object; + } + + function getData(keepIdentity) { + var oldData = data; + if (!keepIdentity) { // reset for each tick when !keepIdentity + data = []; + for (var i = 1; i <= ENV.rows; i++) { + data.push({ dbname: 'cluster' + i, query: "", formatElapsed: "", elapsedClassName: "" }); + data.push({ dbname: 'cluster' + i + ' slave', query: "", formatElapsed: "", elapsedClassName: "" }); + } + } + if (!data) { // first init when keepIdentity + data = []; + for (var i = 1; i <= ENV.rows; i++) { + data.push({ dbname: 'cluster' + i }); + data.push({ dbname: 'cluster' + i + ' slave' }); + } + oldData = data; + } + for (var i in data) { + var row = data[i]; + if (!keepIdentity && oldData && oldData[i]) { + row.lastSample = oldData[i].lastSample; + } + if (!row.lastSample || Math.random() < ENV.mutations()) { + counter = counter + 1; + if (!keepIdentity) { + row.lastSample = null; + } + generateRow(row, keepIdentity, counter); + } else { + data[i] = oldData[i]; + } + } + first = false; + return { + toArray: function() { + return data; + } + }; + } + + var mutationsValue = 0.5; + + function mutations(value) { + if (value) { + mutationsValue = value; + document.querySelector('#ratioval').innerHTML = 'mutations : ' + (mutationsValue * 100).toFixed(0) + '%'; + return mutationsValue; + } else { + return mutationsValue; + } + } + + var body = document.querySelector('body'); + var theFirstChild = body.firstChild; + + var sliderContainer = document.createElement('div'); + sliderContainer.style.cssText = "display: flex"; + var slider = document.createElement('input'); + var text = document.createElement('label'); + text.innerHTML = 'mutations : ' + (mutationsValue * 100).toFixed(0) + '%'; + text.id = "ratioval"; + slider.setAttribute("type", "range"); + slider.style.cssText = 'margin-bottom: 10px; margin-top: 5px'; + slider.addEventListener('change', function(e) { + ENV.mutations(e.target.value / 100); + }); + sliderContainer.appendChild(text); + sliderContainer.appendChild(slider); + body.insertBefore(sliderContainer, theFirstChild); + + return { + generateData: getData, + rows: 50, + timeout: 0, + mutations: mutations + }; +})(); + +var app = new Vue({ + el: '#app', + data: { + databases: [] + } +}) + +function loadSamples() { + app.databases = ENV.generateData(true).toArray() + postMessage('ping') + setTimeout(loadSamples, ENV.timeout) +} + +loadSamples() \ No newline at end of file diff --git a/vue3/app.js b/vue3/app.js new file mode 100644 index 00000000..7e4a37ac --- /dev/null +++ b/vue3/app.js @@ -0,0 +1,15 @@ +var app = Vue.createApp({ + data() { + return { + databases: [] + } + } +}).mount('#app') + +function loadSamples() { + app.databases = ENV.generateData().toArray() + Monitoring.renderRate.ping() + setTimeout(loadSamples, ENV.timeout) +} + +loadSamples() \ No newline at end of file diff --git a/vue3/index.html b/vue3/index.html new file mode 100644 index 00000000..0271db00 --- /dev/null +++ b/vue3/index.html @@ -0,0 +1,36 @@ + + + + + +dbmon (Vue 3) + + +
+ + + + + + + + +
{{db.dbname}} + {{db.lastSample.nbQueries}} + + {{q.formatElapsed}} +
+
{{q.query}}
+
+
+
+
+ + + + + + + + + diff --git a/vue3/workerdom.html b/vue3/workerdom.html new file mode 100644 index 00000000..bdc3d15e --- /dev/null +++ b/vue3/workerdom.html @@ -0,0 +1,42 @@ + + + + + +dbmon (Vue 3 in WorkerDOM) + + +
+
+ + + + + + + + +
{{db.dbname}} + {{db.lastSample.nbQueries}} + + {{q.formatElapsed}} +
+
{{q.query}}
+
+
+
+
+
+ + + + + + + diff --git a/vue3/workerdom.js b/vue3/workerdom.js new file mode 100644 index 00000000..fecbfad3 --- /dev/null +++ b/vue3/workerdom.js @@ -0,0 +1,233 @@ +/*! + * Vue.js v3.0.2 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),r=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){if(N(e)){const t={};for(let n=0;n{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function a(e){let t="";if(M(e))t=e;else if(N(e))for(let n=0;nd(e,t))}const m=(e,t)=>E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:F(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||N(t)||L(t)?t:String(t),g={},v=[],y=()=>{},b=()=>!1,_=/^on[^a-z]/,x=e=>_.test(e),S=e=>e.startsWith("onUpdate:"),C=Object.assign,k=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,T=(e,t)=>w.call(e,t),N=Array.isArray,E=e=>"[object Map]"===I(e),F=e=>"[object Set]"===I(e),$=e=>e instanceof Date,A=e=>"function"==typeof e,M=e=>"string"==typeof e,O=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,B=e=>R(e)&&A(e.then)&&A(e.catch),P=Object.prototype.toString,I=e=>P.call(e),L=e=>"[object Object]"===I(e),V=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},D=/-(\w)/g,H=j(e=>e.replace(D,(e,t)=>t?t.toUpperCase():"")),z=/\B([A-Z])/g,K=j(e=>e.replace(z,"-$1").toLowerCase()),W=j(e=>e.charAt(0).toUpperCase()+e.slice(1)),G=j(e=>e?"on"+W(e):""),q=(e,t)=>e!==t&&(e==e||t==t),J=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Q=new WeakMap,X=[];let ee;const te=Symbol(""),ne=Symbol("");function oe(e,t=g){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){ie(n);try{return ce.push(le),le=!0,X.push(n),ee=n,e()}finally{X.pop(),ue(),ee=X[X.length-1]}}};return n.id=se++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function re(e){e.active&&(ie(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let se=0;function ie(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach(e=>{(e!==ee||e.allowRecurse)&&l.add(e)})};if("clear"===t)i.forEach(c);else if("length"===n&&N(e))i.forEach((e,t)=>{("length"===t||t>=o)&&c(e)});else switch(void 0!==n&&c(i.get(n)),t){case"add":N(e)?V(n)&&c(i.get("length")):(c(i.get(te)),E(e)&&c(i.get(ne)));break;case"delete":N(e)||(c(i.get(te)),E(e)&&c(i.get(ne)));break;case"set":E(e)&&c(i.get(te))}l.forEach(e=>{e.options.scheduler?e.options.scheduler(e):e()})}const de=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(O)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?Ge:We).get(n))return n;const s=N(n);if(s&&T(ye,o))return Reflect.get(ye,o,r);const i=Reflect.get(n,o,r);if(O(o)?de.has(o):"__proto__"===o||"__v_isRef"===o)return i;if(e||pe(n,0,o),t)return i;if(rt(i)){return!s||!V(o)?i.value:i}return R(i)?e?Ze(i):Je(i):i}}["includes","indexOf","lastIndexOf"].forEach(e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=nt(this);for(let e=0,t=this.length;e{const t=Array.prototype[e];ye[e]=function(...e){ae();const n=t.apply(this,e);return ue(),n}});function _e(e=!1){return function(t,n,o,r){const s=t[n];if(!e&&(o=nt(o),!N(t)&&rt(s)&&!rt(o)))return s.value=o,!0;const i=N(t)&&V(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Ce=C({},xe,{get:me,set:_e(!0)}),ke=C({},Se,{get:ve}),we=e=>R(e)?Je(e):e,Te=e=>R(e)?Ze(e):e,Ne=e=>e,Ee=e=>Reflect.getPrototypeOf(e);function Fe(e,t,n=!1,o=!1){const r=nt(e=e.__v_raw),s=nt(t);t!==s&&!n&&pe(r,0,t),!n&&pe(r,0,s);const{has:i}=Ee(r),l=n?Te:o?Ne:we;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void 0}function $e(e,t=!1){const n=this.__v_raw,o=nt(n),r=nt(e);return e!==r&&!t&&pe(o,0,e),!t&&pe(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&pe(nt(e),0,te),Reflect.get(e,"size",e)}function Me(e){e=nt(e);const t=nt(this),n=Ee(t).has.call(t,e),o=t.add(e);return n||fe(t,"add",e,e),o}function Oe(e,t){t=nt(t);const n=nt(this),{has:o,get:r}=Ee(n);let s=o.call(n,e);s||(e=nt(e),s=o.call(n,e));const i=r.call(n,e),l=n.set(e,t);return s?q(t,i)&&fe(n,"set",e,t):fe(n,"add",e,t),l}function Re(e){const t=nt(this),{has:n,get:o}=Ee(t);let r=n.call(t,e);r||(e=nt(e),r=n.call(t,e));o&&o.call(t,e);const s=t.delete(e);return r&&fe(t,"delete",e,void 0),s}function Be(){const e=nt(this),t=0!==e.size,n=e.clear();return t&&fe(e,"clear",void 0,void 0),n}function Pe(e,t){return function(n,o){const r=this,s=r.__v_raw,i=nt(s),l=e?Te:t?Ne:we;return!e&&pe(i,0,te),s.forEach((e,t)=>n.call(o,l(e),l(t),r))}}function Ie(e,t,n){return function(...o){const r=this.__v_raw,s=nt(r),i=E(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=t?Te:n?Ne:we;return!t&&pe(s,0,c?ne:te),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return"delete"!==e&&this}}const Ve={get(e){return Fe(this,e)},get size(){return Ae(this)},has:$e,add:Me,set:Oe,delete:Re,clear:Be,forEach:Pe(!1,!1)},Ue={get(e){return Fe(this,e,!1,!0)},get size(){return Ae(this)},has:$e,add:Me,set:Oe,delete:Re,clear:Be,forEach:Pe(!1,!0)},je={get(e){return Fe(this,e,!0)},get size(){return Ae(this,!0)},has(e){return $e.call(this,e,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Pe(!0,!1)};function De(e,t){const n=t?Ue:e?je:Ve;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(T(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach(e=>{Ve[e]=Ie(e,!1,!1),je[e]=Ie(e,!0,!1),Ue[e]=Ie(e,!1,!0)});const He={get:De(!1,!1)},ze={get:De(!1,!0)},Ke={get:De(!0,!1)},We=new WeakMap,Ge=new WeakMap;function qe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>I(e).slice(8,-1))(e))}function Je(e){return e&&e.__v_isReadonly?e:Qe(e,!1,xe,He)}function Ye(e){return Qe(e,!1,Ce,ze)}function Ze(e){return Qe(e,!0,Se,Ke)}function Qe(e,t,n,o){if(!R(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?Ge:We,s=r.get(e);if(s)return s;const i=qe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function Xe(e){return et(e)?Xe(e.__v_raw):!(!e||!e.__v_isReactive)}function et(e){return!(!e||!e.__v_isReadonly)}function tt(e){return Xe(e)||et(e)}function nt(e){return e&&nt(e.__v_raw)||e}const ot=e=>R(e)?Je(e):e;function rt(e){return Boolean(e&&!0===e.__v_isRef)}function st(e){return lt(e)}class it{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:ot(e)}get value(){return pe(nt(this),0,"value"),this._value}set value(e){q(nt(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:ot(e),fe(nt(this),"set","value",e))}}function lt(e,t=!1){return rt(e)?e:new it(e,t)}function ct(e){return rt(e)?e.value:e}const at={get:(e,t,n)=>ct(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return rt(r)&&!rt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ut(e){return Xe(e)?e:new Proxy(e,at)}class pt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e(()=>pe(this,0,"value"),()=>fe(this,"set","value"));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ft{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function dt(e,t){return rt(e[t])?e[t]:new ft(e,t)}class ht{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=oe(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(nt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),pe(nt(this),0,"value"),this._value}set value(e){this._setter(e)}}const mt=[];function gt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...vt(n,e[n]))}),n.length>3&&t.push(" ..."),t}function vt(e,t,n){return M(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:rt(t)?(t=vt(e,nt(t.value),!0),n?t:[e+"=Ref<",t,">"]):A(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=nt(t),n?t:[e+"=",t])}function yt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){_t(e,t,n)}return r}function bt(e,t,n,o){if(A(e)){const r=yt(e,t,n,o);return r&&B(r)&&r.catch(e=>{_t(e,t,n)}),r}const r=[];for(let s=0;sjt(e)-jt(t)),$t=0;$tnull==e.id?1/0:e.id;function Dt(e){St=!1,xt=!0,Vt(e),Ct.sort((e,t)=>jt(e)-jt(t));try{for(kt=0;kte.trim()):t&&(r=n.map(Z))}let l=G(H(t)),c=o[l];!c&&s&&(l=G(K(t)),c=o[l]),c&&bt(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;bt(a,e,6,r)}}function zt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},s=!1;if(!A(e)){const o=e=>{s=!0,C(r,zt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||s?(N(o)?o.forEach(e=>r[e]=null):C(r,o),e.__emits=r):e.__emits=null}function Kt(e,t){return!(!e||!x(t))&&(t=t.replace(/Once$/,""),T(e,t[2].toLowerCase()+t.slice(3))||T(e,t.slice(2)))}let Wt=null;function Gt(e){Wt=e}function qt(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h}=e;let m;Wt=e;try{let e;if(4&n.shapeFlag){const t=r||o;m=Yo(u.call(t,t,p,s,d,f,h)),e=c}else{const n=t;0,m=Yo(n(s,n.length>1?{attrs:c,slots:l,emit:a}:null)),e=t.props?c:Yt(c)}let g=m;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(i&&t.some(S)&&(e=Zt(e,i)),g=qo(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),m=g}catch(t){_t(t,e,1),m=Go(Ro)}return Wt=null,m}function Jt(e){const t=e.filter(e=>!(Do(e)&&e.type===Ro&&"v-if"!==e.children));return 1===t.length&&Do(t[0])?t[0]:null}const Yt=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},Zt=(e,t)=>{const n={};for(const o in e)S(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Qt(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r0?(c(null,e.ssFallback,t,n,o,null,s),rn(p,e.ssFallback)):p.resolve()}(t,n,o,r,s,i,l,c):function(e,t,n,o,r,s,{p:i,um:l,o:{createElement:c}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const u=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:d,isInFallback:h,isHydrating:m}=a;if(d)a.pendingBranch=u,Ho(u,d)?(i(d,u,a.hiddenContainer,null,r,a,s),a.deps<=0?a.resolve():h&&(i(f,p,n,o,r,null,s),rn(a,p))):(a.pendingId++,m?(a.isHydrating=!1,a.activeBranch=d):l(d,r,a),a.deps=0,a.effects.length=0,a.hiddenContainer=c("div"),h?(i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0?a.resolve():(i(f,p,n,o,r,null,s),rn(a,p))):f&&Ho(u,f)?(i(f,u,n,o,r,a,s),a.resolve(!0)):(i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0&&a.resolve()));else if(f&&Ho(u,f))i(f,u,n,o,r,a,s),rn(a,u);else{const e=t.props&&t.props.onPending;if(A(e)&&e(),a.pendingBranch=u,a.pendingId++,i(null,u,a.hiddenContainer,null,r,a,s),a.deps<=0)a.resolve();else{const{timeout:e,pendingId:t}=a;e>0?setTimeout(()=>{a.pendingId===t&&a.fallback(p)},e):0===e&&a.fallback(p)}}}(e,t,n,o,r,i,c)},hydrate:function(e,t,n,o,r,s,i,l){const c=t.suspense=tn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,!0),a=l(e,c.pendingBranch=t.ssContent,n,c,s);0===c.deps&&c.resolve();return a},create:tn};function tn(e,t,n,o,r,s,i,l,c,a=!1){const{p:u,m:p,um:f,n:d,o:{parentNode:h,remove:m}}=c,g=Z(e.props&&e.props.timeout),v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:a,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=v;if(v.isHydrating)v.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===v.pendingId&&p(o,l,t,0)});let{anchor:t}=v;n&&(t=d(n),f(n,i,v,!0)),e||p(o,l,t,0)}rn(v,o),v.pendingBranch=null,v.isInFallback=!1;let c=v.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Lt(s),v.effects=[];const u=t.props&&t.props.onResolve;A(u)&&u()},fallback(e){if(!v.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=v,i=t.props&&t.props.onFallback;A(i)&&i();const l=d(n),c=()=>{v.isInFallback&&(u(null,e,r,l,o,null,s),rn(v,e))},a=e.transition&&"out-in"===e.transition.mode;a&&(n.transition.afterLeave=c),f(n,o,null,!0),v.isInFallback=!0,a||c()},move(e,t,n){v.activeBranch&&p(v.activeBranch,e,t,n),v.container=e},next:()=>v.activeBranch&&d(v.activeBranch),registerDep(e,t){if(!v.pendingBranch)return;const n=e.vnode.el;v.deps++,e.asyncDep.catch(t=>{_t(t,e,0)}).then(o=>{if(e.isUnmounted||v.isUnmounted||v.pendingId!==e.suspenseId)return;v.deps--,e.asyncResolved=!0;const{vnode:r}=e;xr(e,o),n&&(r.el=n);const s=!n&&e.subTree.el;t(e,r,h(n||e.subTree.el),n?null:d(e.subTree),v,i,l),s&&m(s),Xt(e,r.el),0===v.deps&&v.resolve()})},unmount(e,t){v.isUnmounted=!0,v.activeBranch&&f(v.activeBranch,n,e,t),v.pendingBranch&&f(v.pendingBranch,n,e,t)}};return v}function nn(e){if(A(e)&&(e=e()),N(e)){e=Jt(e)}return Yo(e)}function on(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):Lt(e)}function rn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Xt(o,r))}let sn=0;const ln=e=>sn+=e;function cn(e,t=Wt){if(!t)return e;const n=(...n)=>{sn||Lo(!0);const o=Wt;Gt(t);const r=e(...n);return Gt(o),sn||Vo(),r};return n._c=!0,n}let an=null;const un=[];function pn(e){un.push(an=e)}function fn(){un.pop(),an=un[un.length-1]||null}function dn(e,t,n,o){const[r,s]=e.propsOptions;if(t)for(const s in t){const i=t[s];if(U(s))continue;let l;r&&T(r,l=H(s))?n[l]=i:Kt(e.emitsOptions,s)||(o[s]=i)}if(s){const t=nt(n);for(let o=0;o{i=!0;const[n,o]=mn(e,t,!0);C(r,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!i)return e.__props=v;if(N(o))for(let e=0;e-1,i[1]=n<0||e-1||T(i,"default"))&&s.push(t)}}}return e.__props=[r,s]}function gn(e){return"$"!==e[0]}function vn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function yn(e,t){return vn(e)===vn(t)}function bn(e,t){if(N(t)){for(let n=0,o=t.length;n{if(n.isUnmounted)return;ae(),yr(n);const r=bt(t,n,e,o);return yr(null),ue(),r});return o?r.unshift(s):r.push(s),s}}const xn=e=>(t,n=gr)=>!_r&&_n(e,t,n),Sn=xn("bm"),Cn=xn("m"),kn=xn("bu"),wn=xn("u"),Tn=xn("bum"),Nn=xn("um"),En=xn("rtg"),Fn=xn("rtc"),$n=(e,t=gr)=>{_n("ec",e,t)};function An(e,t){return Rn(e,null,t)}const Mn={};function On(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=g,l=gr){let c,a,u=!1;if(rt(e)?(c=()=>e.value,u=!!e._shallow):Xe(e)?(c=()=>e,o=!0):c=N(e)?()=>e.map(e=>rt(e)?e.value:Xe(e)?Pn(e):A(e)?yt(e,l,2):void 0):A(e)?t?()=>yt(e,l,2):()=>{if(!l||!l.isUnmounted)return a&&a(),yt(e,l,3,[p])}:y,t&&o){const e=c;c=()=>Pn(e())}const p=e=>{a=m.options.onStop=()=>{yt(e,l,4)}};let f=N(e)?[]:Mn;const d=()=>{if(m.active)if(t){const e=m();(o||u||q(e,f))&&(a&&a(),bt(t,l,3,[e,f===Mn?void 0:f,p]),f=e)}else m()};let h;d.allowRecurse=!!t,h="sync"===r?d:"post"===r?()=>vo(d,l&&l.suspense):()=>{!l||l.isMounted?function(e){It(e,Tt,wt,Nt)}(d):d()};const m=oe(c,{lazy:!0,onTrack:s,onTrigger:i,scheduler:h});return kr(m),t?n?d():f=m():"post"===r?vo(m,l&&l.suspense):m(),()=>{re(m),l&&k(l.effects,m)}}function Bn(e,t,n){const o=this.proxy;return Rn(M(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Pn(e,t=new Set){if(!R(e)||t.has(e))return e;if(t.add(e),rt(e))Pn(e.value,t);else if(N(e))for(let n=0;n{Pn(e,t)});else for(const n in e)Pn(e[n],t);return e}function In(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cn(()=>{e.isMounted=!0}),Tn(()=>{e.isUnmounting=!0}),e}const Ln=[Function,Array],Vn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ln,onEnter:Ln,onAfterEnter:Ln,onEnterCancelled:Ln,onBeforeLeave:Ln,onLeave:Ln,onAfterLeave:Ln,onLeaveCancelled:Ln,onBeforeAppear:Ln,onAppear:Ln,onAfterAppear:Ln,onAppearCancelled:Ln},setup(e,{slots:t}){const n=vr(),o=In();let r;return()=>{const s=t.default&&Kn(t.default(),!0);if(!s||!s.length)return;const i=nt(e),{mode:l}=i,c=s[0];if(o.isLeaving)return Dn(c);const a=Hn(c);if(!a)return Dn(c);const u=jn(a,i,o,n);zn(a,u);const p=n.subTree,f=p&&Hn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==Ro&&(!Ho(a,f)||d)){const e=jn(f,i,o,n);if(zn(f,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Dn(c);"in-out"===l&&(e.delayLeave=(e,t,n)=>{Un(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Un(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function jn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=Un(n,e),x=(e,t)=>{e&&bt(e,o,9,t)},S={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Ho(e,s)&&s.el._leaveCb&&s.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?s:o,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>jn(e,t,n,o)};return S}function Dn(e){if(Wn(e))return(e=qo(e)).children=null,e}function Hn(e){return Wn(e)?e.children?e.children[0]:void 0:e}function zn(e,t){6&e.shapeFlag&&e.component?zn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Kn(e,t=!1){let n=[],o=0;for(let r=0;r1)for(let e=0;ee.type.__isKeepAlive,Gn={name:"KeepAlive",__isKeepAlive:!0,inheritRef:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=new Map,o=new Set;let r=null;const s=vr(),i=s.suspense,l=s.ctx,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=l,f=p("div");function d(e){eo(e),u(e,s,i)}function h(e){n.forEach((t,n)=>{const o=qn(t.type);!o||e&&e(o)||m(n)})}function m(e){const t=n.get(e);r&&t.type===r.type?r&&eo(r):d(t),n.delete(e),o.delete(e)}l.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,i),c(s.vnode,e,t,n,s,i,o,r),vo(()=>{s.isDeactivated=!1,s.a&&J(s.a);const t=e.props&&e.props.onVnodeMounted;t&&So(t,s.parent,e)},i)},l.deactivate=e=>{const t=e.component;a(e,f,null,1,i),vo(()=>{t.da&&J(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&So(n,t.parent,e),t.isDeactivated=!0},i)},On(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>Jn(e,t)),t&&h(e=>!Jn(t,e))},{flush:"post"});let g=null;const v=()=>{null!=g&&n.set(g,to(s.subTree))};return Cn(v),wn(v),Tn(()=>{n.forEach(e=>{const{subTree:t,suspense:n}=s,o=to(t);if(e.type!==o.type)d(e);else{eo(o);const e=o.component.da;e&&vo(e,n)}})}),()=>{if(g=null,!t.default)return null;const s=t.default(),i=s[0];if(s.length>1)return r=null,s;if(!(Do(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return r=null,i;let l=to(i);const c=l.type,a=qn(c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!Jn(u,a))||p&&a&&Jn(p,a))return r=l,i;const d=null==l.key?c:l.key,h=n.get(d);return l.el&&(l=qo(l),128&i.shapeFlag&&(i.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&zn(l,l.transition),l.shapeFlag|=512,o.delete(d),o.add(d)):(o.add(d),f&&o.size>parseInt(f,10)&&m(o.values().next().value)),l.shapeFlag|=256,r=l,i}}};function qn(e){return e.displayName||e.name}function Jn(e,t){return N(e)?e.some(e=>Jn(e,t)):M(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Yn(e,t){Qn(e,"a",t)}function Zn(e,t){Qn(e,"da",t)}function Qn(e,t,n=gr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(_n(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Wn(e.parent.vnode)&&Xn(o,t,n,e),e=e.parent}}function Xn(e,t,n,o){const r=_n(t,e,o,!0);Nn(()=>{k(o[t],r)},n)}function eo(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function to(e){return 128&e.shapeFlag?e.ssContent:e}const no=e=>"_"===e[0]||"$stable"===e,oo=e=>N(e)?e.map(Yo):[Yo(e)],ro=(e,t,n)=>cn(e=>oo(t(e)),n),so=(e,t)=>{const n=e._ctx;for(const o in e){if(no(o))continue;const r=e[o];if(A(r))t[o]=ro(0,r,n);else if(null!=r){const e=oo(r);t[o]=()=>e}}},io=(e,t)=>{const n=oo(t);e.slots.default=()=>n};function lo(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i(s.has(e)||(e&&A(e.install)?(s.add(e),e.install(l,...t)):A(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c){if(!i){const a=Go(n,o);return a.appContext=r,c&&t?t(a,s):e(a,s),i=!0,l._container=s,s.__vue_app__=l,a.component.proxy}},unmount(){i&&e(null,l._container)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}let po=!1;const fo=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,ho=e=>8===e.nodeType;function mo(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:c}}=e,a=(n,o,i,l,c=!1)=>{const m=ho(n)&&"["===n.data,g=()=>d(n,o,i,l,m),{type:v,ref:y,shapeFlag:b}=o,_=n.nodeType;o.el=n;let x=null;switch(v){case Oo:3!==_?x=g():(n.data!==o.children&&(po=!0,n.data=o.children),x=r(n));break;case Ro:x=8!==_||m?g():r(n);break;case Bo:if(1===_){x=n;const e=!o.children.length;for(let t=0;t{t(o,e,null,i,l,fo(e),c)},u=o.type.__asyncLoader;u?u().then(a):a(),x=m?h(n):r(n)}else 64&b?x=8!==_?g():o.type.hydrate(n,o,i,l,c,e,p):128&b&&(x=o.type.hydrate(n,o,i,l,fo(s(n)),c,e,a))}return null!=y&&i&&yo(y,null,i,l,o),x},u=(e,t,n,r,s)=>{s=s||!!t.dynamicChildren;const{props:l,patchFlag:c,shapeFlag:a,dirs:u}=t;if(-1!==c){if(u&&lo(t,null,n,"created"),l)if(!s||16&c||32&c)for(const t in l)!U(t)&&x(t)&&o(e,t,null,l[t]);else l.onClick&&o(e,"onClick",null,l.onClick);let f;if((f=l&&l.onVnodeBeforeMount)&&So(f,n,t),u&&lo(t,null,n,"beforeMount"),((f=l&&l.onVnodeMounted)||u)&&on(()=>{f&&So(f,n,t),u&&lo(t,null,n,"mounted")},r),16&a&&(!l||!l.innerHTML&&!l.textContent)){let o=p(e.firstChild,t,e,n,r,s);for(;o;){po=!0;const e=o;o=o.nextSibling,i(e)}}else 8&a&&e.textContent!==t.children&&(po=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,s,i)=>{i=i||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t{const a=s(e),u=p(r(e),t,a,n,o,i);return u&&ho(u)&&"]"===u.data?r(t.anchor=u):(po=!0,l(t.anchor=c("]"),a,u),u)},d=(e,t,o,l,c)=>{if(po=!0,t.el=null,c){const t=h(e);for(;;){const n=r(e);if(!n||n===t)break;i(n)}}const a=r(e),u=s(e);return i(e),n(null,t,u,a,o,l,fo(u)),a},h=e=>{let t=0;for(;e;)if((e=r(e))&&ho(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return r(e);t--}return e};return[(e,t)=>{po=!1,a(t.firstChild,e,null,null),Ut(),po&&console.error("Hydration completed but contains mismatches.")},a]}const go={scheduler:Bt,allowRecurse:!0},vo=on,yo=(e,t,n,o,r)=>{if(N(e))return void e.forEach((e,s)=>yo(e,t&&(N(t)?t[s]:t),n,o,r));let s;s=r?4&r.shapeFlag?r.component.proxy:r.el:null;const{i:i,r:l}=e,c=t&&t.r,a=i.refs===g?i.refs={}:i.refs,u=i.setupState;if(null!=c&&c!==l&&(M(c)?(a[c]=null,T(u,c)&&(u[c]=null)):rt(c)&&(c.value=null)),M(l)){const e=()=>{a[l]=s,T(u,l)&&(u[l]=s)};s?(e.id=-1,vo(e,o)):e()}else if(rt(l)){const e=()=>{l.value=s};s?(e.id=-1,vo(e,o)):e()}else A(l)&&yt(l,n,12,[s,a])};function bo(e){return xo(e)}function _o(e){return xo(e,mo)}function xo(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=y,cloneNode:h,insertStaticContent:m}=e,b=(e,t,n,o=null,r=null,s=null,i=!1,l=!1)=>{e&&!Ho(e,t)&&(o=X(e),W(e,r,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:a,shapeFlag:u}=t;switch(c){case Oo:_(e,t,n,o);break;case Ro:x(e,t,n,o);break;case Bo:null==e&&S(t,n,o,i);break;case Mo:M(e,t,n,o,r,s,i,l);break;default:1&u?k(e,t,n,o,r,s,i,l):6&u?O(e,t,n,o,r,s,i,l):(64&u||128&u)&&c.process(e,t,n,o,r,s,i,l,te)}null!=a&&r&&yo(a,e&&e.ref,r,s,t)},_=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&a(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=m(e.children,t,n,o)},k=(e,t,n,o,r,s,i,l)=>{i=i||"svg"===t.type,null==e?w(t,n,o,r,s,i,l):F(e,t,r,s,i,l)},w=(e,t,o,s,l,c,a)=>{let p,f;const{type:d,props:m,shapeFlag:g,transition:v,scopeId:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)p=e.el=h(e.el);else{if(p=e.el=i(e.type,c,m&&m.is),8&g?u(p,e.children):16&g&&E(e.children,p,null,s,l,c&&"foreignObject"!==d,a||!!e.dynamicChildren),_&&lo(e,null,s,"created"),m){for(const t in m)U(t)||r(p,t,null,m[t],c,e.children,s,l,Q);(f=m.onVnodeBeforeMount)&&So(f,s,e)}N(p,y,e,s)}_&&lo(e,null,s,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&v&&!v.persisted;x&&v.beforeEnter(p),n(p,t,o),((f=m&&m.onVnodeMounted)||x||_)&&vo(()=>{f&&So(f,s,e),x&&v.enter(p),_&&lo(e,null,s,"mounted")},l)},N=(e,t,n,o)=>{if(t&&d(e,t),o){const r=o.type.__scopeId;r&&r!==t&&d(e,r+"-s"),n===o.subTree&&N(e,o.vnode.scopeId,o.vnode,o.parent)}},E=(e,t,n,o,r,s,i,l=0)=>{for(let c=l;c{const c=t.el=e.el;let{patchFlag:a,dynamicChildren:p,dirs:f}=t;a|=16&e.patchFlag;const d=e.props||g,h=t.props||g;let m;if((m=h.onVnodeBeforeUpdate)&&So(m,n,t,e),f&&lo(t,e,n,"beforeUpdate"),a>0){if(16&a)A(c,t,d,h,n,o,i);else if(2&a&&d.class!==h.class&&r(c,"class",null,h.class,i),4&a&&r(c,"style",d.style,h.style,i),8&a){const l=t.dynamicProps;for(let t=0;t{m&&So(m,n,t,e),f&&lo(t,e,n,"updated")},o)},$=(e,t,n,o,r,s)=>{for(let i=0;i{if(n!==o){for(const a in o){if(U(a))continue;const u=o[a],p=n[a];(u!==p||s&&s(e,a))&&r(e,a,p,u,c,t.children,i,l,Q)}if(n!==g)for(const s in n)U(s)||s in o||r(e,s,n[s],null,c,t.children,i,l,Q)}},M=(e,t,o,r,s,i,c,a)=>{const u=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:d}=t;f>0&&(a=!0),null==e?(n(u,o,r),n(p,o,r),E(t.children,o,p,s,i,c,a)):f>0&&64&f&&d?($(e.dynamicChildren,d,o,s,i,c),(null!=t.key||s&&t===s.subTree)&&Co(e,t,!0)):V(e,t,o,p,s,i,c,a)},O=(e,t,n,o,r,s,i,l)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,l):R(t,n,o,r,s,i,l):P(e,t,l)},R=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||hr,s={uid:mr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mn(o,r),emitsOptions:zt(o,r),emit:null,emitted:null,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Ht.bind(null,s),s}(e,o,r);if(Wn(e)&&(l.ctx.renderer=te),function(e,t=!1){_r=t;const{props:n,children:o,shapeFlag:r}=e.vnode,s=4&r;(function(e,t,n,o=!1){const r={},s={};Y(s,zo,1),dn(e,t,r,s),e.props=n?o?r:Ye(r):e.type.props?r:s,e.attrs=s})(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Y(t,"_",n)):so(t,e.slots={})}else e.slots={},t&&io(e,t);Y(e.slots,zo,1)})(e,o);const i=s?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fr);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit}}(e):null;gr=e,ae();const r=yt(o,e,0,[e.props,n]);if(ue(),gr=null,B(r)){if(t)return r.then(t=>{xr(e,t)});e.asyncDep=r}else xr(e,r)}else Cr(e)}(e,t):void 0;_r=!1}(l),l.asyncDep){if(r&&r.registerDep(l,I),!e.el){const e=l.subTree=Go(Ro);x(null,e,t,n)}}else I(l,e,t,n,r,s,i)},P=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||Qt(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?Qt(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t-1&&(Ct[t]=null)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},I=(e,t,n,o,r,s,i)=>{e.update=oe((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,u=n;n?(n.el=a.el,L(e,n,i)):n=a,o&&J(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&So(t,c,n,a);const f=qt(e),d=e.subTree;e.subTree=f,b(d,f,p(d.el),X(d),e,r,s),n.el=f.el,null===u&&Xt(e,f.el),l&&vo(l,r),(t=n.props&&n.props.onVnodeUpdated)&&vo(()=>{So(t,c,n,a)},r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e;a&&J(a),(i=c&&c.onVnodeBeforeMount)&&So(i,p,t);const f=e.subTree=qt(e);l&&se?se(t.el,f,e,r):(b(null,f,n,o,e,r,s),t.el=f.el),u&&vo(u,r),(i=c&&c.onVnodeMounted)&&vo(()=>{So(i,p,t)},r);const{a:d}=e;d&&256&t.shapeFlag&&vo(d,r),e.isMounted=!0}}),go)},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=nt(r),[c]=e.propsOptions;if(!(o||i>0)||16&i){let o;dn(e,t,r,s);for(const s in l)t&&(T(t,s)||(o=K(s))!==s&&T(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=hn(c,t||g,s,void 0,e)):delete r[s]);if(s!==l)for(const e in s)t&&T(t,e)||delete s[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:n,slots:o}=e;let r=!0,s=g;if(32&n.shapeFlag){const e=t._;e?1===e?r=!1:C(o,t):(r=!t.$stable,so(t,o)),s=t}else t&&(io(e,t),s={default:1});if(r)for(const e in o)no(e)||e in s||delete o[e]})(e,t.children),Vt(void 0,e.update)},V=(e,t,n,o,r,s,i,l=!1)=>{const c=e&&e.children,a=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:d}=t;if(f>0){if(128&f)return void D(c,p,n,o,r,s,i,l);if(256&f)return void j(c,p,n,o,r,s,i,l)}8&d?(16&a&&Q(c,r,s),p!==c&&u(n,p)):16&a?16&d?D(c,p,n,o,r,s,i,l):Q(c,r,s,!0):(8&a&&u(n,""),16&d&&E(p,n,o,r,s,i,l))},j=(e,t,n,o,r,s,i,l)=>{const c=(e=e||v).length,a=(t=t||v).length,u=Math.min(c,a);let p;for(p=0;pa?Q(e,r,s,!0,!1,u):E(t,n,o,r,s,i,l,u)},D=(e,t,n,o,r,s,i,l)=>{let c=0;const a=t.length;let u=e.length-1,p=a-1;for(;c<=u&&c<=p;){const o=e[c],a=t[c]=l?Zo(t[c]):Yo(t[c]);if(!Ho(o,a))break;b(o,a,n,null,r,s,i,l),c++}for(;c<=u&&c<=p;){const o=e[u],c=t[p]=l?Zo(t[p]):Yo(t[p]);if(!Ho(o,c))break;b(o,c,n,null,r,s,i,l),u--,p--}if(c>u){if(c<=p){const e=p+1,u=ep)for(;c<=u;)W(e[c],r,s,!0),c++;else{const f=c,d=c,h=new Map;for(c=d;c<=p;c++){const e=t[c]=l?Zo(t[c]):Yo(t[c]);null!=e.key&&h.set(e.key,c)}let m,g=0;const y=p-d+1;let _=!1,x=0;const S=new Array(y);for(c=0;c=y){W(o,r,s,!0);continue}let a;if(null!=o.key)a=h.get(o.key);else for(m=d;m<=p;m++)if(0===S[m-d]&&Ho(o,t[m])){a=m;break}void 0===a?W(o,r,s,!0):(S[a-d]=c+1,a>=x?x=a:_=!0,b(o,t[a],n,null,r,s,i,l),g++)}const C=_?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(S):v;for(m=C.length-1,c=y-1;c>=0;c--){const e=d+c,l=t[e],u=e+1{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,te);if(l===Mo){n(i,t,o);for(let e=0;ec.enter(i),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,()=>{l(),s&&s()})};r?r(i,l,a):a()}else n(i,t,o)},W=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&t&&yo(l,null,t,n,null),256&u)return void t.ctx.deactivate(e);const d=1&u&&f;let h;if((h=i&&i.onVnodeBeforeUnmount)&&So(h,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&lo(e,null,t,"beforeUnmount"),a&&(s!==Mo||p>0&&64&p)?Q(a,t,n,!1,!0):(s===Mo&&(128&p||256&p)||!r&&16&u)&&Q(c,t,n),64&u&&(o||!ko(e.props))&&e.type.remove(e,te),o&&G(e)}((h=i&&i.onVnodeUnmounted)||d)&&vo(()=>{h&&So(h,t,e),d&&lo(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Mo)return void q(n,r);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,effects:r,update:s,subTree:i,um:l}=e;if(o&&J(o),r)for(let e=0;e{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ee=(e,t)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):b(t._vnode||null,e,t),Ut(),t._vnode=e},te={p:b,um:W,m:z,r:G,mt:R,mc:E,pc:V,pbc:$,n:X,o:e};let ne,se;return t&&([ne,se]=t(te)),{render:ee,hydrate:ne,createApp:uo(ee,ne)}}function So(e,t,n,o=null){bt(e,t,7,[n,o])}function Co(e,t,n=!1){const o=e.children,r=t.children;if(N(o)&&N(r))for(let e=0;ee&&(e.disabled||""===e.disabled),wo=(e,t)=>{const n=e&&e.to;if(M(n)){if(t){return t(n)}return null}return n};function To(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||ko(u))&&16&c)for(let e=0;e{16&g&&a(v,e,t,r,s,i,l)};m?y(n,c):u&&y(u,p)}else{t.el=e.el;const o=t.anchor=e.anchor,a=t.target=e.target,f=t.targetAnchor=e.targetAnchor,h=ko(e.props),g=h?n:a,v=h?o:f;if(t.dynamicChildren?(p(e.dynamicChildren,t.dynamicChildren,g,r,s,i),Co(e,t,!0)):l||u(e,t,g,v,r,s,i),m)h||To(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=wo(t.props,d);e&&To(t,e,null,c,0)}else h&&To(t,a,f,c,1)}},remove(e,{r:t,o:{remove:n}}){const{shapeFlag:o,children:r,anchor:s}=e;if(n(s),16&o)for(let e=0;e0&&Io&&Io.push(s),s}function Do(e){return!!e&&!0===e.__v_isVNode}function Ho(e,t){return e.type===t.type&&e.key===t.key}const zo="__vInternal",Ko=({key:e})=>null!=e?e:null,Wo=({ref:e})=>null!=e?N(e)?e:{i:Wt,r:e}:null,Go=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Fo||(e=Ro);if(Do(e)){const o=qo(e,t,!0);return n&&Qo(o,n),o}l=e,A(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){(tt(t)||zo in t)&&(t=C({},t));let{class:e,style:n}=t;e&&!M(e)&&(t.class=a(e)),R(n)&&(tt(n)&&!N(n)&&(n=C({},n)),t.style=s(n))}const c=M(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:R(e)?4:A(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ko(t),ref:t&&Wo(t),scopeId:an,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};if(Qo(u,n),128&c){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=nn(n.default),r=nn(n.fallback)):(o=nn(n),r=Yo(null)),{content:o,fallback:r}}(u);u.ssContent=e,u.ssFallback=t}Uo>0&&!i&&Io&&(o>0||6&c)&&32!==o&&Io.push(u);return u};function qo(e,t,n=!1){const{props:o,ref:r,patchFlag:s}=e,i=t?Xo(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ko(i),ref:t&&t.ref?n&&r?N(r)?r.concat(Wo(t)):[r,Wo(t)]:Wo(t):r,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Mo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qo(e.ssContent),ssFallback:e.ssFallback&&qo(e.ssFallback),el:e.el,anchor:e.anchor}}function Jo(e=" ",t=0){return Go(Oo,null,e,t)}function Yo(e){return null==e||"boolean"==typeof e?Go(Ro):N(e)?Go(Mo,null,e):"object"==typeof e?null===e.el?e:qo(e):Go(Oo,null,String(e))}function Zo(e){return null===e.el?e:qo(e)}function Qo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(N(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&ln(1),Qo(e,n()),n._c&&ln(-1)))}{n=32;const o=t._;o||zo in t?3===o&&Wt&&(1024&Wt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Wt}}else A(t)?(t={default:t,_ctx:Wt},n=32):(t=String(t),64&o?(n=16,t=[Jo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xo(...e){const t=C({},e[0]);for(let n=1;n1)return n&&A(t)?t():t}}let nr=!1;function or(e,t,n=[],o=[],r=[],s=!1){const{mixins:i,extends:l,data:c,computed:a,methods:u,watch:p,provide:f,inject:d,components:h,directives:m,beforeMount:g,mounted:v,beforeUpdate:b,updated:_,activated:x,deactivated:S,beforeUnmount:k,unmounted:w,render:T,renderTracked:E,renderTriggered:F,errorCaptured:$}=t,M=e.proxy,O=e.ctx,B=e.appContext.mixins;if(s&&T&&e.render===y&&(e.render=T),s||(nr=!0,rr("beforeCreate","bc",t,e,B),nr=!1,lr(e,B,n,o,r)),l&&or(e,l,n,o,r,!0),i&&lr(e,i,n,o,r),d)if(N(d))for(let e=0;ecr(e,t,M)),c&&cr(e,c,M)),a)for(const e in a){const t=a[e],n=Nr({get:A(t)?t.bind(M,M):A(t.get)?t.get.bind(M,M):y,set:!A(t)&&A(t.set)?t.set.bind(M):y});Object.defineProperty(O,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}p&&o.push(p),!s&&o.length&&o.forEach(e=>{for(const t in e)ar(e[t],O,M,t)}),f&&r.push(f),!s&&r.length&&r.forEach(e=>{const t=A(e)?e.call(M):e;for(const e in t)er(e,t[e])}),s&&(h&&C(e.components||(e.components=C({},e.type.components)),h),m&&C(e.directives||(e.directives=C({},e.type.directives)),m)),s||rr("created","c",t,e,B),g&&Sn(g.bind(M)),v&&Cn(v.bind(M)),b&&kn(b.bind(M)),_&&wn(_.bind(M)),x&&Yn(x.bind(M)),S&&Zn(S.bind(M)),$&&$n($.bind(M)),E&&Fn(E.bind(M)),F&&En(F.bind(M)),k&&Tn(k.bind(M)),w&&Nn(w.bind(M))}function rr(e,t,n,o,r){ir(e,t,r,o);const{extends:s,mixins:i}=n;s&&sr(e,t,s,o),i&&ir(e,t,i,o);const l=n[e];l&&bt(l.bind(o.proxy),o,t)}function sr(e,t,n,o){n.extends&&sr(e,t,n.extends,o);const r=n[e];r&&bt(r.bind(o.proxy),o,t)}function ir(e,t,n,o){for(let r=0;r{let t=e;for(let e=0;en[o];if(M(e)){const n=t[e];A(n)&&On(r,n)}else if(A(e))On(r,e.bind(n));else if(R(e))if(N(e))e.forEach(e=>ar(e,t,n,o));else{const o=A(e.handler)?e.handler.bind(n):t[e.handler];A(o)&&On(r,o,e)}}function ur(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:s}=t;s&&ur(e,s,n),r&&r.forEach(t=>ur(e,t,n));for(const r in t)e[r]=o&&T(o,r)?o[r](e[r],t[r],n.proxy,r):t[r]}const pr=C(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e.parent&&e.parent.proxy,$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const s=e.appContext.mixins;if(!s.length&&!o&&!r)return t;const i={};return s.forEach(t=>ur(i,t,e)),ur(i,t,e),t.__merged=i}(e),$forceUpdate:e=>()=>Bt(e.update),$nextTick:e=>Rt.bind(e.proxy),$watch:e=>Bn.bind(e)}),fr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=e;if("__v_skip"===t)return!0;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return s[t]}else{if(o!==g&&T(o,t))return i[t]=0,o[t];if(r!==g&&T(r,t))return i[t]=1,r[t];if((a=e.propsOptions[0])&&T(a,t))return i[t]=2,s[t];if(n!==g&&T(n,t))return i[t]=3,n[t];nr||(i[t]=4)}}const u=pr[t];let p,f;return u?("$attrs"===t&&pe(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==g&&T(n,t)?(i[t]=3,n[t]):(f=c.config.globalProperties,T(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;if(r!==g&&T(r,t))r[t]=n;else if(o!==g&&T(o,t))o[t]=n;else if(t in e.props)return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return void 0!==n[i]||e!==g&&T(e,i)||t!==g&&T(t,i)||(l=s[0])&&T(l,i)||T(o,i)||T(pr,i)||T(r.config.globalProperties,i)}},dr=C({},fr,{get(e,t){if(t!==Symbol.unscopables)return fr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!o(t)}),hr=co();let mr=0;let gr=null;const vr=()=>gr||Wt,yr=e=>{gr=e};let br,_r=!1;function xr(e,t,n){A(t)?e.render=t:R(t)&&(e.setupState=ut(t)),Cr(e)}function Sr(e){br=e}function Cr(e,t){const n=e.type;e.render||(br&&n.template&&!n.render&&(n.render=br(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||y,e.render._rc&&(e.withProxy=new Proxy(e.ctx,dr))),gr=e,or(e,n),gr=null}function kr(e){gr&&(gr.effects||(gr.effects=[])).push(e)}const wr=/(?:^|[-_])(\w)/g;function Tr(e,t,n=!1){let o=A(t)&&t.displayName||t.name;if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.vue$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(wr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Nr(e){const t=function(e){let t,n;return A(e)?(t=e,n=y):(t=e.get,n=e.set),new ht(t,n,A(e)||!e.set)}(e);return kr(t.effect),t}function Er(e){return A(e)?{setup:e,name:e.name}:e}function Fr(e,{vnode:{props:t,children:n}}){return Go(e,t,n)}function $r(e,t,n){const o=arguments.length;return 2===o?R(t)&&!N(t)?Do(t)?Go(e,null,[t]):Go(e,t):Go(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Do(n)&&(n=[n]),Go(e,t,n))}const Ar=Symbol("");const Mr="3.0.2",Or="http://www.w3.org/2000/svg",Rr="undefined"!=typeof document?document:null;let Br,Pr;const Ir={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Rr.createElementNS(Or,e):Rr.createElement(e,n?{is:n}:void 0),createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?Pr||(Pr=Rr.createElementNS(Or,"svg")):Br||(Br=Rr.createElement("div"));r.innerHTML=e;const s=r.firstChild;let i=s,l=i;for(;i;)l=i,Ir.insert(i,t,n),i=r.firstChild;return[s,l]}};const Lr=/\s*!important$/;function Vr(e,t,n){if(N(n))n.forEach(n=>Vr(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=jr[t];if(n)return n;let o=H(t);if("filter"!==o&&o in e)return jr[t]=o;o=W(o);for(let n=0;ndocument.createEvent("Event").timeStamp&&(Hr=()=>performance.now());let zr=0;const Kr=Promise.resolve(),Wr=()=>{zr=0};function Gr(e,t,n,o){e.addEventListener(t,n,o)}function qr(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(Jr.test(e)){let n;for(t={};n=e.match(Jr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){Gr(e,n,s[t]=function(e,t){const n=e=>{(e.timeStamp||Hr())>=n.attached-1&&bt(function(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>zr||(Kr.then(Wr),zr=Hr()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const Jr=/(?:Once|Passive|Capture)$/;const Yr=/^on[a-z]/;function Zr(e,t,n){if(128&e.shapeFlag){const o=e.suspense;e=o.activeBranch,o.pendingBranch&&!o.isHydrating&&o.effects.push(()=>{Zr(o.activeBranch,t,n)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const o=e.el.style;for(const e in t)o.setProperty(`--${n}${e}`,ct(t[e]))}else e.type===Mo&&e.children.forEach(e=>Zr(e,t,n))}const Qr="transition",Xr="animation",es=(e,{slots:t})=>$r(Vn,os(e),t);es.displayName="Transition";const ts={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ns=es.props=C({},Vn.props,ts);function os(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:s=t+"-enter-from",enterActiveClass:i=t+"-enter-active",enterToClass:l=t+"-enter-to",appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=t+"-leave-from",leaveActiveClass:f=t+"-leave-active",leaveToClass:d=t+"-leave-to"}=e;const h={};for(const t in e)t in ts||(h[t]=e[t]);if(!o)return h;const m=function(e){if(null==e)return null;if(R(e))return[rs(e.enter),rs(e.leave)];{const t=rs(e);return[t,t]}}(r),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:w=b,onAppearCancelled:T=_}=h,N=(e,t,n)=>{is(e,t?u:l),is(e,t?a:i),n&&n()},E=(e,t)=>{is(e,d),is(e,f),t&&t()},F=e=>(t,o)=>{const r=e?w:b,i=()=>N(t,e,o);r&&r(t,i),ls(()=>{is(t,e?c:s),ss(t,e?u:l),r&&r.length>1||(g?setTimeout(i,g):cs(t,n,i))})};return C(h,{onBeforeEnter(e){y&&y(e),ss(e,i),ss(e,s)},onBeforeAppear(e){k&&k(e),ss(e,a),ss(e,c)},onEnter:F(!1),onAppear:F(!0),onLeave(e,t){const o=()=>E(e,t);ss(e,f),ss(e,p),ls(()=>{is(e,p),ss(e,d),x&&x.length>1||(v?setTimeout(o,v):cs(e,n,o))}),x&&x(e,o)},onEnterCancelled(e){N(e,!1),_&&_(e)},onAppearCancelled(e){N(e,!0),T&&T(e)},onLeaveCancelled(e){E(e),S&&S(e)}})}function rs(e){return Z(e)}function ss(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function is(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ls(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function cs(e,t,n){const{type:o,timeout:r,propCount:s}=as(e,t);if(!o)return n();const i=o+"end";let l=0;const c=()=>{e.removeEventListener(i,a),n()},a=t=>{t.target===e&&++l>=s&&c()};setTimeout(()=>{l(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=us(r,s),l=o("animationDelay"),c=o("animationDuration"),a=us(l,c);let u=null,p=0,f=0;t===Qr?i>0&&(u=Qr,p=i,f=s.length):t===Xr?a>0&&(u=Xr,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?Qr:Xr:null,f=u?u===Qr?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===Qr&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function us(e,t){for(;e.lengthps(t)+ps(e[n])))}function ps(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const fs=new WeakMap,ds=new WeakMap,hs={name:"TransitionGroup",props:C({},ns,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vr(),o=In();let r,s;return wn(()=>{if(!r.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach(e=>{e.split(/\s+/).forEach(e=>e&&o.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&o.classList.add(e)),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=as(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(ms),r.forEach(gs);const o=r.filter(vs);document,o.forEach(e=>{const n=e.el,o=n.style;ss(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,is(n,t))};n.addEventListener("transitionend",r)})}),()=>{const i=nt(e),l=os(i),c=i.tag||Mo;r=s,s=t.default?Kn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return N(t)?e=>J(t,e):t};function bs(e){e.target.composing=!0}function _s(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const xs={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=ys(r);const s=o||"number"===e.type;Gr(e,t?"change":"input",t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=Z(o)),e._assign(o)}),n&&Gr(e,"change",()=>{e.value=e.value.trim()}),t||(Gr(e,"compositionstart",bs),Gr(e,"compositionend",_s),Gr(e,"change",_s))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=ys(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&Z(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Ss={created(e,t,n){Cs(e,t,n),e._assign=ys(n),Gr(e,"change",()=>{const t=e._modelValue,n=Ns(e),o=e.checked,r=e._assign;if(N(t)){const e=h(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else F(t)?o?t.add(n):t.delete(n):r(Es(e,o))})},beforeUpdate(e,t,n){e._assign=ys(n),Cs(e,t,n)}};function Cs(e,{value:t,oldValue:n},o){e._modelValue=t,N(t)?e.checked=h(t,o.props.value)>-1:F(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=d(t,Es(e,!0)))}const ks={created(e,{value:t},n){e.checked=d(t,n.props.value),e._assign=ys(n),Gr(e,"change",()=>{e._assign(Ns(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=ys(o),t!==n&&(e.checked=d(t,o.props.value))}},ws={created(e,{modifiers:{number:t}},n){Gr(e,"change",()=>{const n=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>t?Z(Ns(e)):Ns(e));e._assign(e.multiple?n:n[0])}),e._assign=ys(n)},mounted(e,{value:t}){Ts(e,t)},beforeUpdate(e,t,n){e._assign=ys(n)},updated(e,{value:t}){Ts(e,t)}};function Ts(e,t){const n=e.multiple;if(!n||N(t)||F(t)){for(let o=0,r=e.options.length;o-1:t.has(s);else if(d(Ns(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}}function Ns(e){return"_value"in e?e._value:e.value}function Es(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fs={created(e,t,n){$s(e,t,n,null,"created")},mounted(e,t,n){$s(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){$s(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){$s(e,t,n,o,"updated")}};function $s(e,t,n,o,r){let s;switch(e.tagName){case"SELECT":s=ws;break;case"TEXTAREA":s=xs;break;default:switch(n.props&&n.props.type){case"checkbox":s=Ss;break;case"radio":s=ks;break;default:s=xs}}const i=s[r];i&&i(e,t,n,o)}const As=["ctrl","shift","alt","meta"],Ms={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>As.some(n=>e[n+"Key"]&&!t.includes(n))},Os={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rs={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Bs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Bs(e,!0),o.enter(e)):o.leave(e,()=>{Bs(e,!1)}):Bs(e,t))},beforeUnmount(e,{value:t}){Bs(e,t)}};function Bs(e,t){e.style.display=t?e._vod:"none"}const Ps=C({patchProp:(e,t,n,o,s=!1,i,l,c,a)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,s);break;case"style":!function(e,t,n){const o=e.style;if(n)if(M(n))t!==n&&(o.cssText=n);else{for(const e in n)Vr(o,e,n[e]);if(t&&!M(t))for(const e in t)null==n[e]&&Vr(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:x(t)?S(t)||qr(e,t,0,o,l):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&Yr.test(t)&&A(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(Yr.test(t)&&M(n))return!1;return t in e}(e,t,o,s)?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName)if(""===n&&"boolean"==typeof e[t])e[t]=!0;else if(null==n&&"string"==typeof e[t])e[t]="",e.removeAttribute(t);else try{e[t]=n}catch(e){}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,o,i,l,c,a):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Dr,t.slice(6,t.length)):e.setAttributeNS(Dr,t,n);else{const o=r(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,s))}},forcePatchProp:(e,t)=>"value"===t},Ir);let Is,Ls=!1;function Vs(){return Is||(Is=bo(Ps))}function Us(){return Is=Ls?Is:_o(Ps),Ls=!0,Is}function js(e){if(M(e)){return document.querySelector(e)}return e}function Ds(e){throw e}function Hs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const zs=Symbol(""),Ks=Symbol(""),Ws=Symbol(""),Gs=Symbol(""),qs=Symbol(""),Js=Symbol(""),Ys=Symbol(""),Zs=Symbol(""),Qs=Symbol(""),Xs=Symbol(""),ei=Symbol(""),ti=Symbol(""),ni=Symbol(""),oi=Symbol(""),ri=Symbol(""),si=Symbol(""),ii=Symbol(""),li=Symbol(""),ci=Symbol(""),ai=Symbol(""),ui=Symbol(""),pi=Symbol(""),fi=Symbol(""),di=Symbol(""),hi=Symbol(""),mi=Symbol(""),gi=Symbol(""),vi=Symbol(""),yi=Symbol(""),bi={[zs]:"Fragment",[Ks]:"Teleport",[Ws]:"Suspense",[Gs]:"KeepAlive",[qs]:"BaseTransition",[Js]:"openBlock",[Ys]:"createBlock",[Zs]:"createVNode",[Qs]:"createCommentVNode",[Xs]:"createTextVNode",[ei]:"createStaticVNode",[ti]:"resolveComponent",[ni]:"resolveDynamicComponent",[oi]:"resolveDirective",[ri]:"withDirectives",[si]:"renderList",[ii]:"renderSlot",[li]:"createSlots",[ci]:"toDisplayString",[ai]:"mergeProps",[ui]:"toHandlers",[pi]:"camelize",[fi]:"capitalize",[di]:"toHandlerKey",[hi]:"setBlockTracking",[mi]:"pushScopeId",[gi]:"popScopeId",[vi]:"withScopeId",[yi]:"withCtx"};const _i={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function xi(e,t,n,o,r,s,i,l=!1,c=!1,a=_i){return e&&(l?(e.helper(Js),e.helper(Ys)):e.helper(Zs),i&&e.helper(ri)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,loc:a}}function Si(e,t=_i){return{type:17,loc:t,elements:e}}function Ci(e,t=_i){return{type:15,loc:t,properties:e}}function ki(e,t){return{type:16,loc:_i,key:M(e)?wi(e,!0):e,value:t}}function wi(e,t,n=_i,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function Ti(e,t=_i){return{type:8,loc:t,children:e}}function Ni(e,t=[],n=_i){return{type:14,loc:n,callee:e,arguments:t}}function Ei(e,t,n=!1,o=!1,r=_i){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Fi(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:_i}}const $i=e=>4===e.type&&e.isStatic,Ai=(e,t)=>e===t||e===K(t);function Mi(e){return Ai(e,"Teleport")?Ks:Ai(e,"Suspense")?Ws:Ai(e,"KeepAlive")?Gs:Ai(e,"BaseTransition")?qs:void 0}const Oi=/^\d|[^\$\w]/,Ri=e=>!Oi.test(e),Bi=/^[A-Za-z_$][\w$]*(?:\s*\.\s*[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Pi=e=>!!e&&Bi.test(e.trim());function Ii(e,t,n){const o={source:e.source.substr(t,n),start:Li(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Li(e.start,e.source,t+n)),o}function Li(e,t,n=t.length){return Vi(C({},e),t,n)}function Vi(e,t,n=t.length){let o=0,r=-1;for(let e=0;e4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=Ni(n.helper(ai),[Ci([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function qi(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Ji=/&(gt|lt|amp|apos|quot);/g,Yi={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Zi={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:b,isPreTag:b,isCustomElement:b,decodeEntities:e=>e.replace(Ji,(e,t)=>Yi[t]),onError:Ds,comments:!1};function Qi(e,t={}){const n=function(e,t){const n=C({},Zi);for(const e in t)n[e]=t[e]||Zi[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=fl(n);return function(e,t=_i){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(Xi(n,0,[]),dl(n,o))}function Xi(e,t,n){const o=hl(n),r=o?o.ns:0,s=[];for(;!bl(e,t,n);){const i=e.source;let l=void 0;if(0===t||1===t)if(!e.inVPre&&ml(i,e.options.delimiters[0]))l=al(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=ml(i,"\x3c!--")?nl(e):ml(i,""===i[2]){gl(e,3);continue}if(/[a-z]/i.test(i[2])){il(e,1,o);continue}l=ol(e)}else/[a-z]/i.test(i[1])?l=rl(e,n):"?"===i[1]&&(l=ol(e));if(l||(l=ul(e,t)),N(l))for(let e=0;e/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)gl(e,s-r+1),r=s+1;gl(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),gl(e,e.source.length);return{type:3,content:n,loc:dl(e,t)}}function ol(e){const t=fl(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),gl(e,e.source.length)):(o=e.source.slice(n,r),gl(e,r+1)),{type:3,content:o,loc:dl(e,t)}}function rl(e,t){const n=e.inPre,o=e.inVPre,r=hl(t),s=il(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const c=e.options.getTextMode(s,r),a=Xi(e,c,t);if(t.pop(),s.children=a,_l(e.source,s.tag))il(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&ml(e.loc.source,"\x3c!--")}return s.loc=dl(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const sl=t("if,else,else-if,for,slot");function il(e,t,n){const o=fl(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);gl(e,r[0].length),vl(e);const l=fl(e),c=e.source;let a=ll(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,C(e,l),e.source=c,a=ll(e,t).filter(e=>"v-pre"!==e.name));let u=!1;0===e.source.length||(u=ml(e.source,"/>"),gl(e,u?2:1));let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(p=1):(e||Mi(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&a.some(e=>7===e.type&&sl(e.name))&&(p=3)}return{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:dl(e,o),codegenNode:void 0}}function ll(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ml(e.source,">")&&!ml(e.source,"/>");){if(ml(e.source,"/")){gl(e,1),vl(e);continue}const r=cl(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),vl(e)}return n}function cl(e,t){const n=fl(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}gl(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(vl(e),gl(e,1),vl(e),r=function(e){const t=fl(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){gl(e,1);const t=e.source.indexOf(o);-1===t?n=pl(e,e.source.length,4):(n=pl(e,t,4),gl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=pl(e,t[0].length,4)}return{content:n,isQuoted:r,loc:dl(e,t)}}(e));const s=dl(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(ml(o,":")?"bind":ml(o,"@")?"on":"slot");let l;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),c=dl(e,yl(e,n,s),yl(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),l={type:4,content:a,isStatic:u,isConstant:u,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Li(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:l,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function al(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=fl(e);gl(e,n.length);const i=fl(e),l=fl(e),c=r-n.length,a=e.source.slice(0,c),u=pl(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Vi(i,a,f);return Vi(l,a,c-(u.length-p.length-f)),gl(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:p,loc:dl(e,i,l)},loc:dl(e,s)}}function ul(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;tr&&(o=r)}const r=fl(e);return{type:2,content:pl(e,o,t),loc:dl(e,r)}}function pl(e,t,n){const o=e.source.slice(0,t);return gl(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function fl(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function dl(e,t,n){return{start:t,end:n=n||fl(e),source:e.originalSource.slice(t.offset,n.offset)}}function hl(e){return e[e.length-1]}function ml(e,t){return e.startsWith(t)}function gl(e,t){const{source:n}=e;Vi(e,n,t),e.source=n.slice(t)}function vl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&gl(e,t[0].length)}function yl(e,t,n){return Li(t,e.originalSource.slice(t.offset,n),n)}function bl(e,t,n){const o=e.source;switch(t){case 0:if(ml(o,"=0;--e)if(_l(o,n[e].tag))return!0;break;case 1:case 2:{const e=hl(n);if(e&&_l(o,e.tag))return!0;break}case 3:if(ml(o,"]]>"))return!0}return!o}function _l(e,t){return ml(e,"]/.test(e[2+t.length]||">")}function xl(e,t){Cl(e,t,new Map,Sl(e,e.children[0]))}function Sl(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Wi(t)}function Cl(e,t,n,o=!1){let r=!1,s=!1;const{children:i}=e;for(let e=0;e0){2===e&&(s=!0),l.codegenNode.patchFlag="-1",l.codegenNode=t.hoist(l.codegenNode),r=!0;continue}{const e=l.codegenNode;if(13===e.type){const n=Nl(e);if(!(n&&512!==n&&1!==n||wl(l))){const n=Tl(l);n&&(e.props=t.hoist(n))}}}}else if(12===l.type){const e=kl(l.content,n);e>0&&(2===e&&(s=!0),l.codegenNode=t.hoist(l.codegenNode),r=!0)}if(1===l.type)Cl(l,t,n);else if(11===l.type)Cl(l,t,n,1===l.children.length);else if(9===l.type)for(let e=0;e(m.helpers.add(e),e),helperString:e=>"_"+bi[m.helper(e)],replaceNode(e){m.parent.children[m.childIndex]=m.currentNode=e},removeNode(e){const t=e?m.parent.children.indexOf(e):m.currentNode?m.childIndex:-1;e&&e!==m.currentNode?m.childIndex>t&&(m.childIndex--,m.onNodeRemoved()):(m.currentNode=null,m.onNodeRemoved()),m.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m.hoists.push(e);const t=wi("_hoisted_"+m.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:_i}}(++m.cached,e,t)};return m}function Fl(e,t){const o=El(e,t);$l(e,o),t.hoistStatic&&xl(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Sl(e,t)&&t.codegenNode){const n=t.codegenNode;13===n.type&&(n.isBlock=!0,o(Js),o(Ys)),e.codegenNode=n}else e.codegenNode=t}else r.length>1&&(e.codegenNode=xi(t,o(zs),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function $l(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r{n--};for(;nt===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(zi))return;const s=[];for(let i=0;i"_"+bi[e],push(e,t){u.code+=e},indent(){p(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:p(--u.indentLevel)},newline(){p(u.indentLevel)}};function p(e){u.push("\n"+" ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${bi[e]}: _${bi[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[Zs,Qs,Xs,ei].filter(t=>e.helpers.includes(t)).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Il(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(a?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map(e=>`${bi[e]}: _${bi[e]}`).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(Rl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Rl(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Il(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Rl(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?ti:oi);for(let n=0;n3||!1;t.push("["),n&&t.indent(),Pl(e,t,n),n&&t.deindent(),t.push("]")}function Pl(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;ie||"null")}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Il(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=M(e.callee)?e.callee:o(e.callee);r&&n(Ml);n(s+"(",e),Pl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let e=0;e "),(c||l)&&(n("{"),o());i?(c&&n("return "),N(i)?Bl(i,t):Il(i,t)):l&&Il(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!Ri(n.content);e&&i("("),Ll(n,t),e&&i(")")}else i("("),Il(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Il(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Il(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(o(hi)+"(-1),"),i());n(`_cache[${e.index}] = `),Il(e.value,t),e.isVNode&&(n(","),i(),n(o(hi)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ll(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Vl(e,t){for(let n=0;nfunction(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=wi("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Dl(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Dl(e,t);i.branches.push(r);const s=o&&o(i,r,!1);$l(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}(e,t,n,(e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Hl(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Hl(t,i+e.branches.length-1,n)}}}));function Dl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ui(e,"for")?[e]:e.children,userKey:ji(e,"key")}}function Hl(e,t,n){return e.condition?Fi(e.condition,zl(e,t,n),Ni(n.helper(Qs),['""',"true"])):zl(e,t,n)}function zl(e,t,o){const{helper:r}=o,s=ki("key",wi(""+t,!1,_i,!0)),{children:i}=e,l=i[0];if(1!==i.length||1!==l.type){if(1===i.length&&11===l.type){const e=l.codegenNode;return Gi(e,s,o),e}return xi(o,r(zs),Ci([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=l.codegenNode;return 13===e.type&&(e.isBlock=!0,r(Js),r(Ys)),Gi(e,s,o),e}}const Kl=Al("for",(e,t,o)=>{const{helper:r}=o;return function(e,t,n,o){if(!t.exp)return;const r=Jl(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:Ki(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,o,t=>{const s=Ni(r(si),[t.source]),i=ji(e,"key"),l=i?ki("key",6===i.type?wi(i.value.content,!0):i.exp):null,c=4===t.source.type&&t.source.isConstant,a=c?64:i?128:256;return t.codegenNode=xi(o,r(zs),void 0,s,`${a} /* ${n[a]} */`,void 0,void 0,!0,!c,e.loc),()=>{let i;const a=Ki(e),{children:u}=t,p=1!==u.length||1!==u[0].type,f=Wi(e)?e:a&&1===e.children.length&&Wi(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&l&&Gi(i,l,o)):p?i=xi(o,r(zs),l?Ci([l]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(i=u[0].codegenNode,a&&l&&Gi(i,l,o),i.isBlock=!c,i.isBlock&&(r(Js),r(Ys))),s.arguments.push(Ei(Zl(t.parseResult),i,!0))}})});const Wl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Gl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ql=/^\(|\)$/g;function Jl(e,t){const n=e.loc,o=e.content,r=o.match(Wl);if(!r)return;const[,s,i]=r,l={source:Yl(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(ql,"").trim();const a=s.indexOf(c),u=c.match(Gl);if(u){c=c.replace(Gl,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=Yl(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=Yl(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=Yl(n,c,a)),l}function Yl(e,t,n){return wi(t,!1,Ii(e,n,t.length))}function Zl({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(wi("_",!1)),o.push(t)),n&&(t||(e||o.push(wi("_",!1)),o.push(wi("__",!1))),o.push(n)),o}const Ql=wi("undefined",!1),Xl=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ui(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},ec=(e,t,n)=>Ei(e,t,!1,!0,t.length?t[0].loc:n);function tc(e,t,n=ec){t.helper(yi);const{children:o,loc:r}=e,s=[],i=[],l=(e,t)=>ki("default",n(e,t,r));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Ui(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!$i(e)&&(c=!0),s.push(ki(e||wi("default",!0),n(t,o,r)))}let u=!1,p=!1;const f=[],d=new Set;for(let e=0;e{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?function(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?ji(e,"is"):Ui(e,"is");if(r){const e=6===r.type?r.value&&wi(r.value.content,!0):r.exp;if(e)return Ni(t.helper(ni),[e])}const s=Mi(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;if("setup"===t.bindingMetadata[o])return`$setup[${JSON.stringify(o)}]`;return t.helper(ti),t.components.add(o),qi(o,"component")}(e,t):`"${n}"`;let i,l,c,a,u,p,f=0,d=R(s)&&s.callee===ni||s===Ks||s===Ws||!r&&("svg"===n||"foreignObject"===n||ji(e,"key",!0));if(o.length>0){const n=ic(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;p=o&&o.length?Si(o.map(e=>function(e,t){const n=[],o=rc.get(e);o?n.push(t.helperString(o)):(t.helper(oi),t.directives.add(e.name),n.push(qi(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=wi("true",!1,r);n.push(Ci(e.modifiers.map(e=>ki(e,t)),r))}return Si(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===Gs&&(d=!0,f|=1024);if(r&&s!==Ks&&s!==Gs){const{slots:n,hasDynamicSlots:o}=tc(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==Ks){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!kl(t)&&(f|=1),l=o||2===n?t:e.children}else l=e.children}0!==f&&(c=String(f),u&&u.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n{if($i(e)){const n=e.content,o=x(n);if(i||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||U(n)||(h=!0),o&&U(n)&&(g=!0),20===t.type||(4===t.type||8===t.type)&&kl(t)>0)return;"ref"===n?p=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):d=!0:f=!0}else m=!0};for(let i=0;i1?Ni(t.helper(ai),c,s):c[0]):l.length&&(b=Ci(lc(l),s)),m?u|=16:(f&&(u|=2),d&&(u|=4),v.length&&(u|=8),h&&(u|=32)),0!==u&&32!==u||!(p||g||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function lc(e){const t=new Map,n=[];for(let o=0;o{if(Wi(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n='"default"',o=void 0;const r=ji(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=ic(e,t,s);o=n}return{slotName:n,slotProps:o}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Ei([],n,!1,!1,o))),e.codegenNode=Ni(t.helper(ii),i,o)}};const uc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,pc=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){l=wi(G(H(i.content)),!0,i.loc)}else l=Ti([n.helperString(di)+"(",i,")"]);else l=i,l.children.unshift(n.helperString(di)+"("),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c;if(c){const e=Pi(c.content),t=!(e||uc.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=Ti([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[ki(l,c||wi("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u},fc=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content+' || ""'),r.includes("camel")&&(4===i.type?i.content=i.isStatic?H(i.content):`${n.helperString(pi)}(${i.content})`:(i.children.unshift(n.helperString(pi)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[ki(i,wi("",!0,s))]}:{props:[ki(i,o)]}},dc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e{if(1===e.type&&Ui(e,"once",!0)){if(hc.has(e))return;return hc.add(e),t.helper(hi),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},gc=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vc();if(!Pi(4===o.type?o.content:o.loc.source))return vc();const s=r||wi("modelValue",!0),i=r?$i(r)?"onUpdate:"+r.content:Ti(['"onUpdate:" + ',r]):"onUpdate:modelValue",l=[ki(s,e.exp),ki(i,Ti(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ri(e)?e:JSON.stringify(e))+": true").join(", "),n=r?$i(r)?r.content+"Modifiers":Ti([r,' + "Modifiers"']):"modelModifiers";l.push(ki(n,wi(`{ ${t} }`,!1,e.loc,!0)))}return vc(l)};function vc(e=[]){return{props:e}}function yc(e,t={}){const n=t.onError||Ds,o="module"===t.mode;!0===t.prefixIdentifiers?n(Hs(45)):o&&n(Hs(46));t.cacheHandlers&&n(Hs(47)),t.scopeId&&!o&&n(Hs(48));const r=M(e)?Qi(e,t):e,[s,i]=[[mc,jl,Kl,ac,sc,Xl,dc],{on:pc,bind:fc,model:gc}];return Fl(r,C({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:C({},i,t.directiveTransforms||{})})),Ol(r,C({},t,{prefixIdentifiers:false}))}const bc=Symbol(""),_c=Symbol(""),xc=Symbol(""),Sc=Symbol(""),Cc=Symbol(""),kc=Symbol(""),wc=Symbol(""),Tc=Symbol(""),Nc=Symbol(""),Ec=Symbol("");var Fc;let $c;Fc={[bc]:"vModelRadio",[_c]:"vModelCheckbox",[xc]:"vModelText",[Sc]:"vModelSelect",[Cc]:"vModelDynamic",[kc]:"withModifiers",[wc]:"withKeys",[Tc]:"vShow",[Nc]:"Transition",[Ec]:"TransitionGroup"},Object.getOwnPropertySymbols(Fc).forEach(e=>{bi[e]=Fc[e]});const Ac=t("style,iframe,script,noscript",!0),Mc={isVoidTag:f,isNativeTag:e=>u(e)||p(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return($c||($c=document.createElement("div"))).innerHTML=e,$c.textContent},isBuiltInComponent:e=>Ai(e,"Transition")?Nc:Ai(e,"TransitionGroup")?Ec:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Ac(e))return 2}return 0}},Oc=(e,t)=>{const n=c(e);return wi(JSON.stringify(n),!1,t,!0)};const Rc=t("passive,once,capture"),Bc=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Pc=t("left,right"),Ic=t("onkeyup,onkeydown,onkeypress",!0),Lc=(e,t)=>$i(e)&&"onclick"===e.content.toLowerCase()?wi(t,!0):4!==e.type?Ti(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Vc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Uc=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:wi("style",!0,t.loc),exp:Oc(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],jc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ki(wi("innerHTML",!0,r),o||wi("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ki(wi("textContent",!0),o?Ni(n.helperString(ci),[o],r):wi("",!0))]}},model:(e,t,n)=>{const o=gc(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=xc,i=!1;if("input"===r||s){const n=ji(t,"type");if(n){if(7===n.type)e=Cc;else if(n.value)switch(n.value.content){case"radio":e=bc;break;case"checkbox":e=_c;break;case"file":i=!0}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(e=Cc)}else"select"===r&&(e=Sc);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),o},on:(e,t,n)=>pc(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s({props:[],needRuntime:n.helper(Tc)})};const Dc=Object.create(null);function Hc(e,t){if(!M(e)){if(!e.nodeType)return y;e=e.innerHTML}const n=e,o=Dc[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:r}=function(e,t={}){return yc(e,C({},Mc,t,{nodeTransforms:[Vc,...Uc,...t.nodeTransforms||[]],directiveTransforms:C({},jc,t.directiveTransforms||{}),transformHoist:null}))}(e,C({hoistStatic:!0,onError(e){throw e}},t)),s=new Function(r)();return s._rc=!0,Dc[n]=s}return Sr(Hc),e.BaseTransition=Vn,e.Comment=Ro,e.Fragment=Mo,e.KeepAlive=Gn,e.Static=Bo,e.Suspense=en,e.Teleport=No,e.Text=Oo,e.Transition=es,e.TransitionGroup=hs,e.callWithAsyncErrorHandling=bt,e.callWithErrorHandling=yt,e.camelize=H,e.capitalize=W,e.cloneVNode=qo,e.compile=Hc,e.computed=Nr,e.createApp=(...e)=>{const t=Vs().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=js(e);if(!o)return;const r=t._component;A(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o);return o.removeAttribute("v-cloak"),o.setAttribute("data-v-app",""),s},t},e.createBlock=jo,e.createCommentVNode=function(e="",t=!1){return t?(Lo(),jo(Ro,null,e)):Go(Ro,null,e)},e.createHydrationRenderer=_o,e.createRenderer=bo,e.createSSRApp=(...e)=>{const t=Us().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=js(e);if(t)return n(t,!0)},t},e.createSlots=function(e,t){for(let n=0;n{let e;return a||(e=a=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((u++,a=null,p())),()=>n(e),u+1)});throw e}).then(t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Er({__asyncLoader:p,name:"AsyncComponentWrapper",setup(){const e=gr;if(c)return()=>Fr(c,e);const t=t=>{a=null,_t(t,e,13,!o)};if(i&&e.suspense)return p().then(t=>()=>Fr(t,e)).catch(e=>(t(e),()=>o?Go(o,{error:e}):null));const l=st(!1),u=st(),f=st(!!r);return r&&setTimeout(()=>{f.value=!1},r),null!=s&&setTimeout(()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}},s),p().then(()=>{l.value=!0}).catch(e=>{t(e),u.value=e}),()=>l.value&&c?Fr(c,e):u.value&&o?Go(o,{error:u.value}):n&&!f.value?Go(n):void 0}})},e.defineComponent=Er,e.getCurrentInstance=vr,e.getTransitionRawChildren=Kn,e.h=$r,e.handleError=_t,e.hydrate=(...e)=>{Us().hydrate(...e)},e.initCustomFormatter=function(){},e.inject=tr,e.isProxy=tt,e.isReactive=Xe,e.isReadonly=et,e.isRef=rt,e.isVNode=Do,e.markRaw=function(e){return Y(e,"__v_skip",!0),e},e.mergeProps=Xo,e.nextTick=Rt,e.onActivated=Yn,e.onBeforeMount=Sn,e.onBeforeUnmount=Tn,e.onBeforeUpdate=kn,e.onDeactivated=Zn,e.onErrorCaptured=$n,e.onMounted=Cn,e.onRenderTracked=Fn,e.onRenderTriggered=En,e.onUnmounted=Nn,e.onUpdated=wn,e.openBlock=Lo,e.popScopeId=fn,e.provide=er,e.proxyRefs=ut,e.pushScopeId=pn,e.queuePostFlushCb=Lt,e.reactive=Je,e.readonly=Ze,e.ref=st,e.registerRuntimeCompiler=Sr,e.render=(...e)=>{Vs().render(...e)},e.renderList=function(e,t){let n;if(N(e)||M(e)){n=new Array(e.length);for(let o=0,r=e.length;onull==e?"":R(e)?JSON.stringify(e,m,2):String(e),e.toHandlerKey=G,e.toHandlers=function(e){const t={};for(const n in e)t[G(n)]=e[n];return t},e.toRaw=nt,e.toRef=dt,e.toRefs=function(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=dt(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){fe(nt(e),"set","value",void 0)},e.unref=ct,e.useCssModule=function(e="$style"){return g},e.useCssVars=function(e,t=!1){const n=vr();if(!n)return;const o=t&&n.type.__scopeId?n.type.__scopeId.replace(/^data-v-/,"")+"-":"",r=()=>Zr(n.subTree,e(n.proxy),o);Cn(()=>An(r)),wn(r)},e.useSSRContext=()=>{},e.useTransitionState=In,e.vModelCheckbox=Ss,e.vModelDynamic=Fs,e.vModelRadio=ks,e.vModelSelect=ws,e.vModelText=xs,e.vShow=Rs,e.version=Mr,e.warn=function(e,...t){ae();const n=mt.length?mt[mt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=mt[mt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)yt(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:e})=>`at <${Tr(n,e.type)}>`).join("\n"),r]);else{const n=["[Vue warn]: "+e,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=" at <"+Tr(e.component,e.type,!!e.component&&null==e.component.parent),r=">"+n;return e.props?[o,...gt(e.props),r]:[o+r]}(e))}),t}(r)),console.warn(...n)}ue()},e.watch=On,e.watchEffect=An,e.withCtx=cn,e.withDirectives=function(e,t){if(null===Wt)return e;const n=Wt.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;en=>{if(!("key"in n))return;const o=K(n.key);return t.some(e=>e===o||Os[e]===o)?e(n):void 0},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;ecn((function(){pn(e);const n=t.apply(this,arguments);return fn(),n}))},e}({}); + +var ENV = ENV || (function() { + var first = true; + var counter = 0; + var data; + var _base; + (_base = String.prototype).lpad || (_base.lpad = function(padding, toLength) { + return padding.repeat((toLength - this.length) / padding.length).concat(this); + }); + + function formatElapsed(value) { + var str = parseFloat(value).toFixed(2); + if (value > 60) { + minutes = Math.floor(value / 60); + comps = (value % 60).toFixed(2).split('.'); + seconds = comps[0].lpad('0', 2); + ms = comps[1]; + str = minutes + ":" + seconds + "." + ms; + } + return str; + } + + function getElapsedClassName(elapsed) { + var className = 'Query elapsed'; + if (elapsed >= 10.0) { + className += ' warn_long'; + } + else if (elapsed >= 1.0) { + className += ' warn'; + } + else { + className += ' short'; + } + return className; + } + + function countClassName(queries) { + var countClassName = "label"; + if (queries >= 20) { + countClassName += " label-important"; + } + else if (queries >= 10) { + countClassName += " label-warning"; + } + else { + countClassName += " label-success"; + } + return countClassName; + } + + function updateQuery(object) { + if (!object) { + object = {}; + } + var elapsed = Math.random() * 15; + object.elapsed = elapsed; + object.formatElapsed = formatElapsed(elapsed); + object.elapsedClassName = getElapsedClassName(elapsed); + object.query = "SELECT blah FROM something"; + object.waiting = Math.random() < 0.5; + if (Math.random() < 0.2) { + object.query = " in transaction"; + } + if (Math.random() < 0.1) { + object.query = "vacuum"; + } + return object; + } + + function cleanQuery(value) { + if (value) { + value.formatElapsed = ""; + value.elapsedClassName = ""; + value.query = ""; + value.elapsed = null; + value.waiting = null; + } else { + return { + query: "***", + formatElapsed: "", + elapsedClassName: "" + }; + } + } + + function generateRow(object, keepIdentity, counter) { + var nbQueries = Math.floor((Math.random() * 10) + 1); + if (!object) { + object = {}; + } + object.lastMutationId = counter; + object.nbQueries = nbQueries; + if (!object.lastSample) { + object.lastSample = {}; + } + if (!object.lastSample.topFiveQueries) { + object.lastSample.topFiveQueries = []; + } + if (keepIdentity) { + // for Angular optimization + if (!object.lastSample.queries) { + object.lastSample.queries = []; + for (var l = 0; l < 12; l++) { + object.lastSample.queries[l] = cleanQuery(); + } + } + for (var j in object.lastSample.queries) { + var value = object.lastSample.queries[j]; + if (j <= nbQueries) { + updateQuery(value); + } else { + cleanQuery(value); + } + } + } else { + object.lastSample.queries = []; + for (var j = 0; j < 12; j++) { + if (j < nbQueries) { + var value = updateQuery(cleanQuery()); + object.lastSample.queries.push(value); + } else { + object.lastSample.queries.push(cleanQuery()); + } + } + } + for (var i = 0; i < 5; i++) { + var source = object.lastSample.queries[i]; + object.lastSample.topFiveQueries[i] = source; + } + object.lastSample.nbQueries = nbQueries; + object.lastSample.countClassName = countClassName(nbQueries); + return object; + } + + function getData(keepIdentity) { + var oldData = data; + if (!keepIdentity) { // reset for each tick when !keepIdentity + data = []; + for (var i = 1; i <= ENV.rows; i++) { + data.push({ dbname: 'cluster' + i, query: "", formatElapsed: "", elapsedClassName: "" }); + data.push({ dbname: 'cluster' + i + ' slave', query: "", formatElapsed: "", elapsedClassName: "" }); + } + } + if (!data) { // first init when keepIdentity + data = []; + for (var i = 1; i <= ENV.rows; i++) { + data.push({ dbname: 'cluster' + i }); + data.push({ dbname: 'cluster' + i + ' slave' }); + } + oldData = data; + } + for (var i in data) { + var row = data[i]; + if (!keepIdentity && oldData && oldData[i]) { + row.lastSample = oldData[i].lastSample; + } + if (!row.lastSample || Math.random() < ENV.mutations()) { + counter = counter + 1; + if (!keepIdentity) { + row.lastSample = null; + } + generateRow(row, keepIdentity, counter); + } else { + data[i] = oldData[i]; + } + } + first = false; + return { + toArray: function() { + return data; + } + }; + } + + var mutationsValue = 0.5; + + function mutations(value) { + if (value) { + mutationsValue = value; + document.querySelector('#ratioval').innerHTML = 'mutations : ' + (mutationsValue * 100).toFixed(0) + '%'; + return mutationsValue; + } else { + return mutationsValue; + } + } + + var body = document.querySelector('body'); + var theFirstChild = body.firstChild; + + var sliderContainer = document.createElement('div'); + sliderContainer.style.cssText = "display: flex"; + var slider = document.createElement('input'); + var text = document.createElement('label'); + text.innerHTML = 'mutations : ' + (mutationsValue * 100).toFixed(0) + '%'; + text.id = "ratioval"; + slider.setAttribute("type", "range"); + slider.style.cssText = 'margin-bottom: 10px; margin-top: 5px'; + slider.addEventListener('change', function(e) { + ENV.mutations(e.target.value / 100); + }); + sliderContainer.appendChild(text); + sliderContainer.appendChild(slider); + body.insertBefore(sliderContainer, theFirstChild); + + return { + generateData: getData, + rows: 50, + timeout: 0, + mutations: mutations + }; +})(); + +var app = Vue.createApp({ + data () { + return { + databases: [] + } + } +}).mount('#app') + +function loadSamples() { + app.databases = ENV.generateData().toArray() + postMessage('ping') + setTimeout(loadSamples, ENV.timeout) +} + +loadSamples() \ No newline at end of file