├── .babelrc ├── LICENSE ├── README.md ├── assets └── img │ └── share.png ├── build └── build.js ├── index.html ├── package.json ├── src ├── js │ ├── components │ │ ├── app.vue │ │ ├── index.js │ │ ├── vue-ripple-button.vue │ │ └── vue-ripple.vue │ └── main.js └── sass │ ├── _Ripple.sass │ └── main.sass └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Naufal Rabbani 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vue Ripple 2 | [Vue](http://vuejs.org/) Component to Make Google Material Design Ripple Effect. It's adopted from [angular-ripple](https://github.com/nelsoncash/angular-ripple) 3 | 4 | [DEMO](https://bosnaufal.github.io/vue-ripple) 5 | 6 | ## Install 7 | You can import [vue-ripple](./src/js/components/index.js) to your vue component file like [this](./src/js/components/app.js) and process it with your preprocessor.; 8 | 9 | 10 | You can install it via NPM 11 | ```bash 12 | npm install vue-ripple 13 | ``` 14 | 15 | 16 | ## Usage 17 | Usage With Predefined Ripple Button 18 | ```html 19 | 20 | 25 | 26 | 35 | ``` 36 | 37 | Usage Standalone Ripple Component 38 | ```html 39 | 48 | 49 | 50 | 77 | ``` 78 | 79 | ## Props 80 | ##### cursorPos (Object) 81 | You need to describe the cursor position ( when parent is clicked ) with the structure like the object bellow 82 | ```javascript 83 | let cursorPos = { 84 | top: e.clientY, 85 | left: e.clientX 86 | } 87 | ``` 88 | 89 | ## Thank You for Making this useful~ 90 | 91 | ## Let's talk about some projects with me 92 | Just Contact Me At: 93 | - Email: [bosnaufalemail@gmail.com](mailto:bosnaufalemail@gmail.com) 94 | - Skype Id: bosnaufal254 95 | - twitter: [@BosNaufal](https://twitter.com/BosNaufal) 96 | 97 | ## License 98 | [MIT](http://opensource.org/licenses/MIT) 99 | Copyright (c) 2016 - forever Naufal Rabbani 100 | -------------------------------------------------------------------------------- /assets/img/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BosNaufal/vue-ripple/bb9df059d4198bb617b0876e9a698ba44b5f3621/assets/img/share.png -------------------------------------------------------------------------------- /build/build.js: -------------------------------------------------------------------------------- 1 | !function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";var i=n(5),r=n(17);i.config.debug=!0,i.config.devTools=!0,new i({el:"body",components:{App:r}})},function(t,e){"use strict";t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e=0&&b.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",s(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",s(t,e),e}function h(t,e){var n,i,r;if(e.singleton){var s=_++;n=g||(g=a(e)),i=u.bind(null,n,s,!1),r=u.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=f.bind(null,n),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),i=c.bind(null,n),r=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function u(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var s=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function c(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function f(t,e){var n=e.css,i=e.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}var p={},d=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},v=d(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=d(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,_=0,b=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=v()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=r(t);return i(n,e),function(t){for(var s=[],o=0;o1)for(var n=1;n1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function g(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function _(t,e){for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}function b(t){return null!==t&&"object"===("undefined"==typeof t?"undefined":Tn(t))}function y(t){return Pn.call(t)===Ln}function w(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function C(t,e){var n,i,r,s,o,a=function l(){var a=Date.now()-s;e>a&&a>=0?n=setTimeout(l,e-a):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}}function N(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function E(t){var e=function n(){return n.cancelled?void 0:t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function $(t,e){return t==e||(b(t)&&b(e)?JSON.stringify(t)===JSON.stringify(e):!1)}function x(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function k(){var t,e=ti.slice(oi,ri).trim();if(e){t={};var n=e.match(pi);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(O))}t&&(ei.filters=ei.filters||[]).push(t),oi=ri+1}function O(t){if(di.test(t))return{value:h(t),dynamic:!1};var e=c(t),n=e===t;return{value:n?t:e,dynamic:n}}function A(t){var e=fi.get(t);if(e)return e;for(ti=t,ai=li=!1,hi=ui=ci=0,oi=0,ei={},ri=0,si=ti.length;si>ri;ri++)if(ii=ni,ni=ti.charCodeAt(ri),ai)39===ni&&92!==ii&&(ai=!ai);else if(li)34===ni&&92!==ii&&(li=!li);else if(124===ni&&124!==ti.charCodeAt(ri+1)&&124!==ti.charCodeAt(ri-1))null==ei.expression?(oi=ri+1,ei.expression=ti.slice(0,ri).trim()):k();else switch(ni){case 34:li=!0;break;case 39:ai=!0;break;case 40:ci++;break;case 41:ci--;break;case 91:ui++;break;case 93:ui--;break;case 123:hi++;break;case 125:hi--}return null==ei.expression?ei.expression=ti.slice(0,ri).trim():0!==oi&&k(),fi.put(t,ei),ei}function D(t){return t.replace(mi,"\\$&")}function T(){var t=D(Ei.delimiters[0]),e=D(Ei.delimiters[1]),n=D(Ei.unsafeDelimiters[0]),i=D(Ei.unsafeDelimiters[1]);_i=new RegExp(n+"((?:.|\\n)+?)"+i+"|"+t+"((?:.|\\n)+?)"+e,"g"),bi=new RegExp("^"+n+".*"+i+"$"),gi=new x(1e3)}function j(t){gi||T();var e=gi.get(t);if(e)return e;if(!_i.test(t))return null;for(var n,i,r,s,o,a,l=[],h=_i.lastIndex=0;n=_i.exec(t);)i=n.index,i>h&&l.push({value:t.slice(h,i)}),r=bi.test(n[0]),s=r?n[1]:n[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,l.push({tag:!0,value:s.trim(),html:r,oneTime:a}),h=i+n[0].length;return h1?t.map(function(t){return S(t,e)}).join("+"):S(t[0],e,!0)}function S(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':F(t.value,n):'"'+t.value+'"'}function F(t,e){if(yi.test(t)){var n=A(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function R(t,e,n,i){M(t,1,function(){e.appendChild(t)},n,i)}function P(t,e,n,i){M(t,1,function(){z(t,e)},n,i)}function L(t,e,n){M(t,-1,function(){J(t)},e,n)}function M(t,e,n,i,r){var s=t.__v_trans;if(!s||!s.hooks&&!Jn||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var o=e>0?"enter":"leave";s[o](n,r)}function I(t){if("string"==typeof t){var e=t;t=document.querySelector(t),t||"production"!==n.env.NODE_ENV&&$i("Cannot find element: "+e)}return t}function H(t){var e=document.documentElement,n=t&&t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function U(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function B(t,e){var n=U(t,":"+e);return null===n&&(n=U(t,"v-bind:"+e)),n}function W(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function z(t,e){e.parentNode.insertBefore(t,e)}function q(t,e){e.nextSibling?z(t,e.nextSibling):e.parentNode.appendChild(t)}function J(t){t.parentNode.removeChild(t)}function Y(t,e){e.firstChild?z(t,e.firstChild):e.appendChild(t)}function Q(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function Z(t,e,n,i){t.addEventListener(e,n,i)}function G(t,e,n){t.removeEventListener(e,n)}function K(t){var e=t.className;return"object"===("undefined"==typeof e?"undefined":Tn(e))&&(e=e.baseVal||""),e}function X(t,e){Wn&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function tt(t,e){if(t.classList)t.classList.add(e);else{var n=" "+K(t)+" ";n.indexOf(" "+e+" ")<0&&X(t,(n+e).trim())}}function et(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+K(t)+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");X(t,n.trim())}t.className||t.removeAttribute("class")}function nt(t,e){var n,i;if(st(t)&&ut(t.content)&&(t=t.content),t.hasChildNodes())for(it(t),i=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)i.appendChild(n);return i}function it(t){for(var e;e=t.firstChild,rt(e);)t.removeChild(e);for(;e=t.lastChild,rt(e);)t.removeChild(e)}function rt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function st(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function ot(t,e){var n=Ei.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function at(t){if(t.hasAttributes())for(var e=t.attributes,n=0,i=e.length;i>n;n++){var r=e[n].name;if(Oi.test(r))return f(r.replace(Oi,""))}}function lt(t,e,n){for(var i;t!==e;)i=t.nextSibling,n(t),t=i;n(e)}function ht(t,e,n,i,r){function s(){if(a++,o&&a>=l.length){for(var t=0;t - did you mean <"+o+">? HTML is case-insensitive, remember to use kebab-case in templates."):Ti(t,i)&&$i("Unknown custom element: <"+i+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function pt(t){var e=U(t,"is");return null!=e?{id:e}:(e=B(t,"is"),null!=e?{id:e,dynamic:!0}:void 0)}function dt(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],s(t,n)?b(r)&&b(o)&&dt(r,o):i(t,n,o);return t}function vt(t,e){var n=Object.create(t);return e?_(n,_t(e)):n}function mt(t){if(t.components){var e,i=t.components=_t(t.components),r=Object.keys(i);if("production"!==n.env.NODE_ENV)var s=t._componentNameMap={};for(var o=0,a=r.length;a>o;o++){var l=r[o];Ai.test(l)||Di.test(l)?"production"!==n.env.NODE_ENV&&$i("Do not use built-in or reserved HTML elements as component id: "+l):("production"!==n.env.NODE_ENV&&(s[l.replace(/-/g,"").toLowerCase()]=d(l)),e=i[l],y(e)&&(i[l]=$n.extend(e)))}}}function gt(t){var e,n,i=t.props;if(Mn(i))for(t.props={},e=i.length;e--;)n=i[e],"string"==typeof n?t.props[n]=null:n.name&&(t.props[n.name]=n);else if(y(i)){var r=Object.keys(i);for(e=r.length;e--;)n=i[r[e]],"function"==typeof n&&(i[r[e]]={type:n})}}function _t(t){if(Mn(t)){for(var e,i={},r=t.length;r--;){e=t[r];var s="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;s?i[s]=e:"production"!==n.env.NODE_ENV&&$i('Array-syntax assets must provide a "name" or "id" field.')}return i}return t}function bt(t,e,n){function i(i){var r=ji[i]||Vi;o[i]=r(t[i],e[i],n,i)}mt(e),gt(e);var r,o={};if(e.mixins)for(var a=0,l=e.mixins.length;l>a;a++)t=bt(t,e.mixins[a],n);for(r in t)i(r);for(r in e)s(t,r)||i(r);return o}function yt(t,e,i,r){if("string"==typeof i){var s,o=t[e],a=o[i]||o[s=f(i)]||o[s.charAt(0).toUpperCase()+s.slice(1)];return"production"!==n.env.NODE_ENV&&r&&!a&&$i("Failed to resolve "+e.slice(0,-1)+": "+i,t),a}}function wt(){this.id=Si++,this.subs=[]}function Ct(t){Li=!1,t(),Li=!0}function Nt(t){if(this.value=t,this.dep=new wt,w(t,"__ob__",this),Mn(t)){var e=In?Et:$t;e(t,Ri,Pi),this.observeArray(t)}else this.walk(t)}function Et(t,e){t.__proto__=e}function $t(t,e,n){for(var i=0,r=n.length;r>i;i++){var s=n[i];w(t,s,e[s])}}function xt(t,e){if(t&&"object"===("undefined"==typeof t?"undefined":Tn(t))){var n;return s(t,"__ob__")&&t.__ob__ instanceof Nt?n=t.__ob__:Li&&(Mn(t)||y(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Nt(t)),n&&e&&n.addVm(e),n}}function kt(t,e,n){var i=new wt,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var s=r&&r.get,o=r&&r.set,a=xt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;if(wt.target&&(i.depend(),a&&a.dep.depend(),Mn(e)))for(var r,o=0,l=e.length;l>o;o++)r=e[o],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=s?s.call(t):n;e!==r&&(o?o.call(t,e):n=e,a=xt(e),i.notify())}})}}function Ot(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=Ii++,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=bt(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 At(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 Dt(t){var e=t.trim();return"0"===t.charAt(0)&&isNaN(t)?!1:o(e)?c(e):"*"+e}function Tt(t){function e(){var e=t[u+1];return c===Gi&&"'"===e||c===Ki&&'"'===e?(u++,i="\\"+e,p[Ui](),!0):void 0}var n,i,r,s,o,a,l,h=[],u=-1,c=qi,f=0,p=[];for(p[Bi]=function(){void 0!==r&&(h.push(r),r=void 0)},p[Ui]=function(){void 0===r?r=i:r+=i},p[Wi]=function(){p[Ui](),f++},p[zi]=function(){if(f>0)f--,c=Zi,p[Ui]();else{if(f=0,r=Dt(r),r===!1)return!1;p[Bi]()}};null!=c;)if(u++,n=t[u],"\\"!==n||!e()){if(s=At(n),l=er[c],o=l[s]||l["else"]||tr,o===tr)return;if(c=o[0],a=p[o[1]],a&&(i=o[2],i=void 0===i?n:i,a()===!1))return;if(c===Xi)return h.raw=t,h}}function jt(t){var e=Hi.get(t);return e||(e=Tt(t),e&&Hi.put(t,e)),e}function Vt(t,e){return Ht(e).get(t)}function St(t,e,r){var s=t;if("string"==typeof e&&(e=Tt(e)),!e||!b(t))return!1;for(var o,a,l=0,h=e.length;h>l;l++)o=t,a=e[l],"*"===a.charAt(0)&&(a=Ht(a.slice(1)).get.call(s,s)),h-1>l?(t=t[a],b(t)||(t={},"production"!==n.env.NODE_ENV&&o._isVue&&nr(e,o),i(o,a,t))):Mn(t)?t.$set(a,r):a in t?t[a]=r:("production"!==n.env.NODE_ENV&&t._isVue&&nr(e,t),i(t,a,r));return!0}function Ft(t,e){var n=gr.length;return gr[n]=e?t.replace(cr,"\\n"):t,'"'+n+'"'}function Rt(t){var e=t.charAt(0),n=t.slice(1);return ar.test(n)?t:(n=n.indexOf('"')>-1?n.replace(pr,Pt):n,e+"scope."+n)}function Pt(t,e){return gr[e]}function Lt(t){hr.test(t)&&"production"!==n.env.NODE_ENV&&$i("Avoid using reserved keywords in expression: "+t),gr.length=0;var e=t.replace(fr,Ft).replace(ur,"");return e=(" "+e).replace(vr,Rt).replace(pr,Pt),Mt(e)}function Mt(t){try{return new Function("scope","return "+t+";")}catch(e){"production"!==n.env.NODE_ENV&&$i("Invalid expression. Generated function body: "+t)}}function It(t){var e=jt(t);return e?function(t,n){St(t,e,n)}:void("production"!==n.env.NODE_ENV&&$i("Invalid setter expression: "+t))}function Ht(t,e){t=t.trim();var n=sr.get(t);if(n)return e&&!n.set&&(n.set=It(n.exp)),n;var i={exp:t};return i.get=Ut(t)&&t.indexOf("[")<0?Mt("scope."+t):Lt(t),e&&(i.set=It(t)),sr.put(t,i),i}function Ut(t){return dr.test(t)&&!mr.test(t)&&"Math."!==t.slice(0,5)}function Bt(){br=[],yr=[],wr={},Cr={},Nr=Er=!1}function Wt(){zt(br),Er=!0,zt(yr),Un&&Ei.devtools&&Un.emit("flush"),Bt()}function zt(t){for(ir=0;irEi._maxUpdateCount)){$i('You may have an infinite update loop for watcher with expression "'+e.expression+'"',e.vm);break}}}function qt(t){var e=t.id;if(null==wr[e])if(Er&&!t.user)yr.splice(ir+1,0,t);else{var n=t.user?yr:br;wr[e]=n.length,n.push(t),Nr||(Nr=!0,Kn(Wt))}}function Jt(t,e,n,i){i&&_(this,i);var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=n,this.id=++$r,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=Object.create(null),this.newDepIds=null,this.prevError=null,r)this.getter=e,this.setter=void 0;else{var s=Ht(e,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Yt(t){var e,n;if(Mn(t))for(e=t.length;e--;)Yt(t[e]);else if(b(t))for(n=Object.keys(t),e=n.length;e--;)Yt(t[n[e]])}function Qt(t){return st(t)&&ut(t.content)}function Zt(t,e){var n=e?t:t.trim(),i=kr.get(n);if(i)return i;var r=document.createDocumentFragment(),s=t.match(Dr),o=Tr.test(t);if(s||o){var a=s&&s[1],l=Ar[a]||Ar.efault,h=l[0],u=l[1],c=l[2],f=document.createElement("div");for(f.innerHTML=u+t+c;h--;)f=f.lastChild;for(var p;p=f.firstChild;)r.appendChild(p)}else r.appendChild(document.createTextNode(t));return e||it(r),kr.put(n,r),r}function Gt(t){if(Qt(t))return it(t.content),t.content;if("SCRIPT"===t.tagName)return Zt(t.textContent);for(var e,n=Kt(t),i=document.createDocumentFragment();e=n.firstChild;)i.appendChild(e);return it(i),i}function Kt(t){if(!t.querySelectorAll)return t.cloneNode();var e,n,i,r=t.cloneNode(!0);if(jr){var s=r;if(Qt(t)&&(t=t.content,s=r.content),n=t.querySelectorAll("template"),n.length)for(i=s.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(Kt(n[e]),i[e])}if(Vr)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r}function Xt(t,e,n){var i,r;return ut(t)?(it(t),e?Kt(t):t):("string"==typeof t?n||"#"!==t.charAt(0)?r=Zt(t,n):(r=Or.get(t),r||(i=document.getElementById(t.slice(1)),i&&(r=Gt(i),Or.put(t,r)))):t.nodeType&&(r=Gt(t)),r&&e?Kt(r):r)}function te(t,e,n,i,r,s){this.children=[],this.childFrags=[],this.vm=e,this.scope=r,this.inserted=!1,this.parentFrag=s,s&&s.childFrags.push(this),this.unlink=t(e,n,i,r,this);var o=this.single=1===n.childNodes.length&&!n.childNodes[0].__v_anchor;o?(this.node=n.childNodes[0],this.before=ee,this.remove=ne):(this.node=ot("fragment-start"),this.end=ot("fragment-end"),this.frag=n,Y(this.node,n),n.appendChild(this.end),this.before=ie,this.remove=re),this.node.__v_frag=this}function ee(t,e){this.inserted=!0;var n=e!==!1?P:z;n(this.node,t,this.vm),H(this.node)&&this.callHook(se)}function ne(){this.inserted=!1;var t=H(this.node),e=this;this.beforeRemove(),L(this.node,this.vm,function(){t&&e.callHook(oe),e.destroy()})}function ie(t,e){this.inserted=!0;var n=this.vm,i=e!==!1?P:z;lt(this.node,this.end,function(e){i(e,t,n)}),H(this.node)&&this.callHook(se)}function re(){this.inserted=!1;var t=this,e=H(this.node);this.beforeRemove(),ht(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(oe),t.destroy()})}function se(t){!t._isAttached&&H(t.$el)&&t._callHook("attached")}function oe(t){t._isAttached&&!H(t.$el)&&t._callHook("detached")}function ae(t,e){this.vm=t;var n,i="string"==typeof e;i||st(e)?n=Xt(e,!0):(n=document.createDocumentFragment(),n.appendChild(e)),this.template=n;var r,s=t.constructor.cid;if(s>0){var o=s+(i?e:ct(e));r=Rr.get(o),r||(r=Le(n,t.$options,!0),Rr.put(o,r))}else r=Le(n,t.$options,!0);this.linker=r}function le(t,e,n){var i=t.node.previousSibling;if(i){for(t=i.__v_frag;!(t&&t.forId===n&&t.inserted||i===e);){if(i=i.previousSibling,!i)return;t=i.__v_frag}return t}}function he(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ue(t){for(var e=-1,n=new Array(Math.floor(t));++ea;a++)if(i=t.options[a],s=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!e)return r;o.push(r)}return o}function fe(t,e){for(var n=t.length;n--;)if($(t[n],e))return n;return-1}function pe(t,e){var n=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:is[t]});return n=[].concat.apply([],n),function(e){return n.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(ls[t])return ls[t];var e=_e(t);return ls[t]=ls[e]=e,e}function _e(t){t=d(t);var e=f(t),n=e.charAt(0).toUpperCase()+e.slice(1);hs||(hs=document.createElement("div"));for(var i,r=ss.length;r--;)if(i=os[r]+n,i in hs.style)return{kebab:ss[r]+t,camel:i};return e in hs.style?{kebab:t,camel:e}:void 0}function be(t,e){for(var n=Object.keys(e),i=0,r=n.length;r>i;i++){var s=n[i];e[s]&&we(t,s,tt)}}function ye(t){for(var e={},n=t.trim().split(/\s+/),i=0,r=n.length;r>i;i++)e[n[i]]=!0;return e}function we(t,e,n){if(e=e.trim(),-1===e.indexOf(" "))return void n(t,e);for(var i=e.split(/\s+/),r=0,s=i.length;s>r;r++)n(t,i[r])}function Ce(t,e,n){function i(){++s>=r?n():t[s].call(e,i)}var r=t.length,s=0;t[0].call(e,i)}function Ne(t,e,i){for(var r,s,a,l,h,u,c,p=[],v=Object.keys(e),m=v.length;m--;)if(s=v[m],r=e[s]||$s,"production"===n.env.NODE_ENV||"$data"!==s)if(h=f(s),xs.test(h)){if(c={name:s,path:h,options:r,mode:Es.ONE_WAY,raw:null},a=d(s),null===(l=B(t,a))&&(null!==(l=B(t,a+".sync"))?c.mode=Es.TWO_WAY:null!==(l=B(t,a+".once"))&&(c.mode=Es.ONE_TIME)),null!==l)c.raw=l,u=A(l),l=u.expression,c.filters=u.filters,o(l)&&!u.filters?c.optimizedLiteral=!0:(c.dynamic=!0,"production"===n.env.NODE_ENV||c.mode!==Es.TWO_WAY||ks.test(l)||(c.mode=Es.ONE_WAY,$i("Cannot bind two-way prop with non-settable parent path: "+l,i))),c.parentPath=l,"production"!==n.env.NODE_ENV&&r.twoWay&&c.mode!==Es.TWO_WAY&&$i('Prop "'+s+'" expects a two-way binding type.',i);else if(null!==(l=U(t,a)))c.raw=l;else if("production"!==n.env.NODE_ENV){var g=h.toLowerCase();l=/[A-Z\-]/.test(s)&&(t.getAttribute(g)||t.getAttribute(":"+g)||t.getAttribute("v-bind:"+g)||t.getAttribute(":"+g+".once")||t.getAttribute("v-bind:"+g+".once")||t.getAttribute(":"+g+".sync")||t.getAttribute("v-bind:"+g+".sync")),l?$i("Possible usage error for prop `"+g+"` - did you mean `"+a+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",i):r.required&&$i("Missing required prop: "+s,i)}p.push(c)}else"production"!==n.env.NODE_ENV&&$i('Invalid prop key: "'+s+'". Prop keys must be valid identifiers.',i);else $i("Do not use $data as prop.",i);return Ee(p)}function Ee(t){return function(e,n){e._props={};for(var i,r,s,o,a,l=t.length;l--;)if(i=t[l],a=i.raw,r=i.path,s=i.options,e._props[r]=i,null===a)xe(e,i,void 0);else if(i.dynamic)i.mode===Es.ONE_TIME?(o=(n||e._context||e).$get(i.parentPath),xe(e,i,o)):e._context?e._bindDir({name:"prop",def:As,prop:i},null,null,n):xe(e,i,e.$get(i.parentPath));else if(i.optimizedLiteral){var f=c(a);o=f===a?u(h(a)):f,xe(e,i,o)}else o=s.type!==Boolean||""!==a&&a!==d(i.name)?a:!0,xe(e,i,o)}}function $e(t,e,n,i){var r=e.dynamic&&Ut(e.parentPath),s=n;void 0===s&&(s=Oe(t,e)),s=De(e,s);var o=s!==n;Ae(e,s,t)||(s=void 0),r&&!o?Ct(function(){i(s)}):i(s)}function xe(t,e,n){$e(t,e,n,function(n){kt(t,e.path,n)})}function ke(t,e,n){$e(t,e,n,function(n){t[e.path]=n})}function Oe(t,e){var i=e.options;if(!s(i,"default"))return i.type===Boolean?!1:void 0;var r=i["default"];return b(r)&&"production"!==n.env.NODE_ENV&&$i('Invalid default value for prop "'+e.name+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof r&&i.type!==Function?r.call(t):r}function Ae(t,e,i){if(!t.options.required&&(null===t.raw||null==e))return!0;var r=t.options,s=r.type,o=!s,a=[];if(s){Mn(s)||(s=[s]);for(var l=0;ls;s++)r[s]._bind();return r}function Ie(t,e){return t=t.descriptor.def.priority||qs,e=e.descriptor.def.priority||qs,t>e?-1:t===e?0:1}function He(t,e,n,i){function r(r){Ue(t,e,r),n&&i&&Ue(n,i)}return r.dirs=e,r}function Ue(t,e,i){for(var r=e.length;r--;)e[r]._teardown(),"production"===n.env.NODE_ENV||i||t._directives.$remove(e[r])}function Be(t,e,n,i){var r=Ne(e,n,t),s=Me(function(){r(t,i)},t);return He(t,s)}function We(t,e,i){var r,s,o=e._containerAttrs,a=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(o&&i&&(r=sn(o,i)),a&&(s=sn(a,e))):s=sn(t.attributes,e);else if("production"!==n.env.NODE_ENV&&o){var l=o.filter(function(t){return t.name.indexOf("_v-")<0&&!Us.test(t.name)&&"slot"!==t.name}).map(function(t){return'"'+t.name+'"'});if(l.length){var h=l.length>1;$i("Attribute"+(h?"s ":" ")+l.join(", ")+(h?" are":" is")+" ignored on component <"+e.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return e._containerAttrs=e._replacerAttrs=null,function(t,e,n){var i,o=t._context;o&&r&&(i=Me(function(){r(o,e,null,n)},o));var a=Me(function(){s&&s(t,e)},t);return He(t,a,o,i)}}function ze(t,e){var n=t.nodeType;return 1===n&&"SCRIPT"!==t.tagName?qe(t,e):3===n&&t.data.trim()?Je(t,e):null}function qe(t,e){if("TEXTAREA"===t.tagName){var n=j(t.value);n&&(t.setAttribute(":value",V(n)),t.value="")}var i,r=t.hasAttributes(),s=r&&g(t.attributes);return r&&(i=en(t,s,e)),i||(i=Xe(t,e)),i||(i=tn(t,e)),!i&&r&&(i=sn(s,e)),i}function Je(t,e){if(t._skip)return Ye;var n=j(t.wholeText);if(!n)return null;for(var i=t.nextSibling;i&&3===i.nodeType;)i._skip=!0,i=i.nextSibling;for(var r,s,o=document.createDocumentFragment(),a=0,l=n.length;l>a;a++)s=n[a],r=s.tag?Qe(s,e):document.createTextNode(s.value),o.appendChild(r);return Ze(n,o,e)}function Ye(t,e){J(e)}function Qe(t,e){function n(e){if(!t.descriptor){var n=A(t.value);t.descriptor={name:e,def:ws[e],expression:n.expression,filters:n.filters}}}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function Ze(t,e){return function(n,i,r,s){for(var o,a,l,h=e.cloneNode(!0),u=g(h.childNodes),c=0,f=t.length;f>c;c++)o=t[c],a=o.value,o.tag&&(l=u[c],o.oneTime?(a=(s||n).$eval(a),o.html?Q(l,Xt(a,!0)):l.data=a):n._bindDir(o.descriptor,l,r,s));Q(i,h)}}function Ge(t,e){for(var n,i,r,s=[],o=0,a=t.length;a>o;o++)r=t[o],n=ze(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:Ge(r.childNodes,e),s.push(n,i);return s.length?Ke(s):null}function Ke(t){return function(e,n,i,r,s){for(var o,a,l,h=0,u=0,c=t.length;c>h;u++){o=n[u],a=t[h++],l=t[h++];var f=g(o.childNodes);a&&a(e,o,i,r,s),l&&l(e,f,i,r,s)}}}function Xe(t,e){var n=t.tagName.toLowerCase();if(!Ai.test(n)){var i=yt(e,"elementDirectives",n);return i?rn(t,n,"",e,i):void 0}}function tn(t,e){var n=ft(t,e);if(n){var i=at(t),r={name:"component",ref:i,expression:n.id,def:Is.component,modifiers:{literal:!n.dynamic}},s=function(t,e,n,s,o){i&&kt((s||t).$refs,i,null),t._bindDir(r,e,n,s,o)};return s.terminal=!0,s}}function en(t,e,n){if(null!==U(t,"v-pre"))return nn;if(t.hasAttribute("v-else")){var i=t.previousElementSibling;if(i&&i.hasAttribute("v-if"))return nn}for(var r,s,o,a,l,h,u,c,f,p,d=0,v=e.length;v>d;d++)r=e[d],a=on(r.name),s=r.name.replace(Ws,""),(l=s.match(Bs))&&(f=yt(n,"directives",l[1]),f&&f.terminal&&(!p||(f.priority||Js)>p.priority)&&(p=f,u=r.name,o=r.value,h=l[1],c=l[2]));return p?rn(t,h,o,n,p,u,c,a):void 0}function nn(){}function rn(t,e,n,i,r,s,o,a){var l=A(n),h={name:e,arg:o,expression:l.expression,filters:l.filters,raw:n,attr:s,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(h.ref=at(t));var u=function(t,e,n,i,r){h.ref&&kt((i||t).$refs,h.ref,null),t._bindDir(h,e,n,i,r)};return u.terminal=!0,u}function sn(t,e){function i(t,e,n){var i=n&&ln(n),r=!i&&A(o);m.push({name:t,attr:a,raw:l,def:e,arg:u,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:n,hasOneTime:i})}for(var r,s,o,a,l,h,u,c,f,p,d,v=t.length,m=[];v--;)if(r=t[v],s=a=r.name,o=l=r.value,p=j(o),u=null,c=on(s),s=s.replace(Ws,""),p)o=V(p),u=s,i("bind",ws.bind,p),"production"!==n.env.NODE_ENV&&"class"===s&&Array.prototype.some.call(t,function(t){return":class"===t.name||"v-bind:class"===t.name})&&$i('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',e);else if(zs.test(s))c.literal=!Hs.test(s),i("transition",Is.transition);else if(Us.test(s))u=s.replace(Us,""),i("on",ws.on);else if(Hs.test(s))h=s.replace(Hs,""),"style"===h||"class"===h?i(h,Is[h]):(u=h,i("bind",ws.bind));else if(d=s.match(Bs)){if(h=d[1],u=d[2],"else"===h)continue;f=yt(e,"directives",h,!0),f&&i(h,f)}return m.length?an(m):void 0}function on(t){var e=Object.create(null),n=t.match(Ws);if(n)for(var i=n.length;i--;)e[n[i].slice(1)]=!0;return e}function an(t){return function(e,n,i,r,s){for(var o=t.length;o--;)e._bindDir(t[o],n,i,r,s)}}function ln(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function hn(t,e){return e&&(e._containerAttrs=cn(t)),st(t)&&(t=Xt(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=nt(t),t=un(t,e))),ut(t)&&(Y(ot("v-start",!0),t),t.appendChild(ot("v-end",!0))),t}function un(t,e){var i=e.template,r=Xt(i,!0);if(r){var s=r.firstChild,o=s.tagName&&s.tagName.toLowerCase();return e.replace?(t===document.body&&"production"!==n.env.NODE_ENV&&$i("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),r.childNodes.length>1||1!==s.nodeType||"component"===o||yt(e,"components",o)||W(s,"is")||yt(e,"elementDirectives",o)||s.hasAttribute("v-for")||s.hasAttribute("v-if")?r:(e._replacerAttrs=cn(s),fn(t,s),s)):(t.appendChild(r),t)}"production"!==n.env.NODE_ENV&&$i("Invalid template option: "+i)}function cn(t){return 1===t.nodeType&&t.hasAttributes()?g(t.attributes):void 0}function fn(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)||Ys.test(n)?"class"!==n||j(i)||i.trim().split(/\s+/).forEach(function(t){tt(e,t)}):e.setAttribute(n,i)}function pn(t,e){if(e){for(var i,r,s=t._slotContents=Object.create(null),o=0,a=e.children.length;a>o;o++)i=e.children[o],(r=i.getAttribute("slot"))&&(s[r]||(s[r]=[])).push(i),"production"!==n.env.NODE_ENV&&B(i,"slot")&&$i('The "slot" attribute must be static.',t.$parent);for(r in s)s[r]=dn(s[r],e);e.hasChildNodes()&&(s["default"]=dn(e.childNodes,e))}}function dn(t,e){var n=document.createDocumentFragment();t=g(t);for(var i=0,r=t.length;r>i;i++){var s=t[i];!st(s)||s.hasAttribute("v-if")||s.hasAttribute("v-for")||(e.removeChild(s),s=Xt(s)),n.appendChild(s)}return n}function vn(t){function e(){}function i(t,e){var n=new Jt(e,t,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),wt.target&&n.depend(),n.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;i&&!e&&"production"!==n.env.NODE_ENV&&$i("Props will not be compiled if no `el` option is provided at instantiation.",this),e=t.el=I(e),this._propsUnlinkFn=e&&1===e.nodeType&&i?Be(this,e,i,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};y(e)||(e={},"production"!==n.env.NODE_ENV&&$i("data functions should return an object.",this));var i,r,o=this._props,a=this._runtimeData?"function"==typeof this._runtimeData?this._runtimeData():this._runtimeData:null,l=Object.keys(e);for(i=l.length;i--;)r=l[i],!o||!s(o,r)||a&&s(a,r)&&null===o[r].raw?this._proxy(r):"production"!==n.env.NODE_ENV&&$i('Data field "'+r+'" is already defined as a prop. Use prop default value instead.',this); 7 | xt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,r;for(n=Object.keys(e),r=n.length;r--;)i=n[r],i in t||this._unproxy(i);for(n=Object.keys(t),r=n.length;r--;)i=n[r],s(this,i)||this._proxy(i);e.__ob__.removeVm(this),xt(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}},t.prototype._unproxy=function(t){a(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 n in t){var r=t[n],s={enumerable:!0,configurable:!0};"function"==typeof r?(s.get=i(r,this),s.set=e):(s.get=r.get?r.cache!==!1?i(r.get,this):m(r.get,this):e,s.set=r.set?m(r.set,this):e),Object.defineProperty(this,n,s)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=m(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)kt(this,e,t[e])}}function mn(t){function e(t,e){for(var i,r,s=e.attributes,o=0,a=s.length;a>o;o++)i=s[o].name,Zs.test(i)&&(i=i.replace(Zs,""),r=(t._scope||t._context).$eval(s[o].value,!0),"function"==typeof r?(r._fromParent=!0,t.$on(i.replace(Zs),r)):"production"!==n.env.NODE_ENV&&$i("v-on:"+i+'="'+s[o].value+'" expects a function value, got '+r,t))}function i(t,e,n){if(n){var i,s,o,a;for(s in n)if(i=n[s],Mn(i))for(o=0,a=i.length;a>o;o++)r(t,e,s,i[o]);else r(t,e,s,i)}}function r(t,e,i,s,o){var a="undefined"==typeof s?"undefined":Tn(s);if("function"===a)t[e](i,s,o);else if("string"===a){var l=t.$options.methods,h=l&&l[s];h?t[e](i,h,o):"production"!==n.env.NODE_ENV&&$i('Unknown method: "'+s+'" when registering callback for '+e+': "'+i+'".',t)}else s&&"object"===a&&r(t,e,i,s.handler,s)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&H(t.$el)&&t._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(l))}function l(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",s),this.$on("hook:detached",a)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var n=0,i=e.length;i>n;n++)e[n].call(this);this.$emit("hook:"+t)}}function gn(){}function _n(t,e,i,r,s,o){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=r,this._scope=s,this._frag=o,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}function bn(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var n=(this._scope||this._context).$refs;t?n[e]===this&&(n[e]=null):n[e]=this}},t.prototype._compile=function(t){var e=this.$options,n=t;if(t=hn(t,e),this._initElement(t),1!==t.nodeType||null===U(t,"v-pre")){var i=this._context&&this._context.$options,r=We(t,e,i);pn(this,e._content);var s,o=this.constructor;e._linkerCachable&&(s=o.linker,s||(s=o.linker=Le(t,e)));var a=r(this,t,this._scope),l=s?s(this,t):Le(t,e)(this,t);this._unlinkFn=function(){a(),l(!0)},e.replace&&Q(n,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){ut(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,n,i,r){this._directives.push(new _n(t,this,e,n,i,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var n,i,r=this,s=function(){!n||i||e||r._cleanup()};t&&this.$el&&(i=!0,this.$remove(function(){i=!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),n=!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 yn(t){t.prototype._applyFilters=function(t,e,n,i){var r,s,o,a,l,h,u,c,f;for(h=0,u=n.length;u>h;h++)if(r=n[i?u-h-1:h],s=yt(this.$options,"filters",r.name,!0),s&&(s=i?s.write:s.read||s,"function"==typeof s)){if(o=i?[t,e]:[t],l=i?2:1,r.args)for(c=0,f=r.args.length;f>c;c++)a=r.args[c],o[c+l]=a.dynamic?this.$get(a.value):a.value;t=s.apply(this,o)}return t},t.prototype._resolveComponent=function(e,i){var r;if(r="function"==typeof e?e:yt(this.$options,"components",e,!0))if(r.options)i(r);else if(r.resolved)i(r.resolved);else if(r.requested)r.pendingCallbacks.push(i);else{r.requested=!0;var s=r.pendingCallbacks=[i];r.call(this,function(e){y(e)&&(e=t.extend(e)),r.resolved=e;for(var n=0,i=s.length;i>n;n++)s[n](e)},function(t){"production"!==n.env.NODE_ENV&&$i("Failed to resolve async component"+("string"==typeof e?": "+e:"")+". "+(t?"\nReason: "+t:""))})}}}function wn(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var n=Ht(t);if(n){if(e&&!Ut(t)){var i=this;return function(){i.$arguments=g(arguments);var t=n.get.call(i,i);return i.$arguments=null,t}}try{return n.get.call(this,this)}catch(r){}}},t.prototype.$set=function(t,e){var n=Ht(t,!0);n&&n.set&&n.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,n){var i,r=this;"string"==typeof t&&(i=A(t),t=i.expression);var s=new Jt(r,t,e,{deep:n&&n.deep,sync:n&&n.sync,filters:i&&i.filters,user:!n||n.user!==!1});return n&&n.immediate&&e.call(r,s.value),function(){s.teardown()}},t.prototype.$eval=function(t,e){if(Gs.test(t)){var n=A(t),i=this.$get(n.expression,e);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=j(t),n=this;return e?1===e.length?n.$eval(e[0].value)+"":e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var n=t?Vt(this._data,t):this._data;if(n&&(n=e(n)),!t){var i;for(i in this.$options.computed)n[i]=e(this[i]);if(this._props)for(i in this._props)n[i]=e(this[i])}console.log(n)}}function Cn(t){function e(t,e,i,r,s,o){e=n(e);var a=!H(e),l=r===!1||a?s:o,h=!a&&!t._isAttached&&!H(t.$el);return t._isFragment?(lt(t._fragmentStart,t._fragmentEnd,function(n){l(n,e,t)}),i&&i()):l(t.$el,e,t,i),h&&t._callHook("attached"),t}function n(t){return"string"==typeof t?document.querySelector(t):t}function i(t,e,n,i){e.appendChild(t),i&&i()}function r(t,e,n,i){z(t,e),i&&i()}function s(t,e,n){J(t),n&&n()}t.prototype.$nextTick=function(t){Kn(t,this)},t.prototype.$appendTo=function(t,n,r){return e(this,t,n,r,i,R)},t.prototype.$prependTo=function(t,e,i){return t=n(t),t.hasChildNodes()?this.$before(t.firstChild,e,i):this.$appendTo(t,e,i),this},t.prototype.$before=function(t,n,i){return e(this,t,n,i,r,P)},t.prototype.$after=function(t,e,i){return t=n(t),t.nextSibling?this.$before(t.nextSibling,e,i):this.$appendTo(t.parentNode,e,i),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&H(this.$el);n||(e=!1);var i=this,r=function(){n&&i._callHook("detached"),t&&t()};if(this._isFragment)ht(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=e===!1?s:L;o(this.$el,this,r)}return this}}function Nn(t){function e(t,e,i){var r=t.$parent;if(r&&i&&!n.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+i,r=r.$parent}t.prototype.$on=function(t,n){return(this._events[t]||(this._events[t]=[])).push(n),e(this,t,1),this},t.prototype.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,n){var i;if(!arguments.length){if(this.$parent)for(t in this._events)i=this._events[t],i&&e(this,t,-i.length);return this._events={},this}if(i=this._events[t],!i)return this;if(1===arguments.length)return e(this,t,-i.length),this._events[t]=null,this;for(var r,s=i.length;s--;)if(r=i[s],r===n||r.fn===n){e(this,t,-1),i.splice(s,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var n=this._events[t],i=e||!n;if(n){n=n.length>1?g(n):n;var r=e&&n.some(function(t){return t._fromParent});r&&(i=!1);for(var s=g(arguments,1),o=0,a=n.length;a>o;o++){var l=n[o],h=l.apply(this,s);h!==!0||r&&!l._fromParent||(i=!0)}}return i},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var n=this.$children,i=g(arguments);e&&(i[0]={name:t,source:this});for(var r=0,s=n.length;s>r;r++){var o=n[r],a=o.$emit.apply(o,i);a&&o.$broadcast.apply(o,i)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var n=this.$parent,i=g(arguments);for(i[0]={name:t,source:this};n;)e=n.$emit.apply(n,i),n=e?n.$parent:null;return this}};var n=/^hook:/}function En(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){return this._isCompiled?void("production"!==n.env.NODE_ENV&&$i("$mount() should be called only once.",this)):(t=I(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,n,i){return Le(t,this.$options,!0)(this,t,e,n,i)}}function $n(t){this._init(t)}function xn(t,e,n){return n=n?parseInt(n,10):0,e=h(e),"number"==typeof e?t.slice(n,n+e):t}function kn(t,e,n){if(t=eo(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var i,r,s,o,a="in"===n?3:2,l=Array.prototype.concat.apply([],g(arguments,a)),h=[],u=0,c=t.length;c>u;u++)if(i=t[u],s=i&&i.$value||i,o=l.length){for(;o--;)if(r=l[o],"$key"===r&&An(i.$key,e)||An(Vt(s,r),e)){h.push(i);break}}else An(i,e)&&h.push(i);return h}function On(t){function e(t,e,n){var r=i[n];return r&&("$key"!==r&&(b(t)&&"$value"in t&&(t=t.$value),b(e)&&"$value"in e&&(e=e.$value)),t=b(t)?Vt(t,r):t,e=b(e)?Vt(e,r):e),t===e?0:t>e?s:-s}var n=null,i=void 0;t=eo(t);var r=g(arguments,1),s=r[r.length-1];"number"==typeof s?(s=0>s?-1:1,r=r.length>1?r.slice(0,-1):r):s=1;var o=r[0];return o?("function"==typeof o?n=function(t,e){return o(t,e)*s}:(i=Array.prototype.concat.apply([],r),n=function(t,r,s){return s=s||0,s>=i.length-1?e(t,r,s):e(t,r,s)||n(t,r,s+1)}),t.slice().sort(n)):t}function An(t,e){var n;if(y(t)){var i=Object.keys(t);for(n=i.length;n--;)if(An(t[i[n]],e))return!0}else if(Mn(t)){for(n=t.length;n--;)if(An(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Dn(t){function e(t){return new Function("return function "+v(t)+" (options) { this._init(options) }")()}t.options={directives:ws,elementDirectives:to,filters:io,transitions:{},components:{},partials:{},replace:!0},t.util=Mi,t.config=Ei,t.set=i,t["delete"]=r,t.nextTick=Kn,t.compiler=Qs,t.FragmentFactory=ae,t.internalDirectives=Is,t.parsers={path:rr,text:wi,template:Sr,directive:vi,expression:_r},t.cid=0;var s=1;t.extend=function(t){t=t||{};var i=this,r=0===i.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||i.options.name;"production"!==n.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(o)||($i('Invalid component name: "'+o+'". Component names can only contain alphanumeric characaters and the hyphen.'),o=null));var a=e(o||"VueComponent");return a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.cid=s++,a.options=bt(i.options,t),a["super"]=i,a.extend=i.extend,Ei._assetTypes.forEach(function(t){a[t]=i[t]}),o&&(a.options.components[o]=a),r&&(t._Ctor=a),a},t.use=function(t){if(!t.installed){var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=bt(t.options,e)},Ei._assetTypes.forEach(function(e){t[e]=function(i,r){return r?("production"!==n.env.NODE_ENV&&"component"===e&&(Ai.test(i)||Di.test(i))&&$i("Do not use built-in or reserved HTML elements as component id: "+i),"component"===e&&y(r)&&(r.name=i,r=t.extend(r)),this.options[e+"s"][i]=r,r):this.options[e+"s"][i]}}),_(t.transition,ki)}var Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},jn=Object.prototype.hasOwnProperty,Vn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Sn=/-(\w)/g,Fn=/([a-z\d])([A-Z])/g,Rn=/(?:^|[-_\/])(\w)/g,Pn=Object.prototype.toString,Ln="[object Object]",Mn=Array.isArray,In="__proto__"in{},Hn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Un=Hn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Bn=Hn&&window.navigator.userAgent.toLowerCase(),Wn=Bn&&Bn.indexOf("msie 9.0")>0,zn=Bn&&Bn.indexOf("android")>0,qn=void 0,Jn=void 0,Yn=void 0,Qn=void 0;if(Hn&&!Wn){var Zn=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,Gn=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;qn=Zn?"WebkitTransition":"transition",Jn=Zn?"webkitTransitionEnd":"transitionend",Yn=Gn?"WebkitAnimation":"animation",Qn=Gn?"webkitAnimationEnd":"animationend"}var Kn=function(){function t(){r=!1;var t=i.slice(0);i=[];for(var e=0;e)":""}}();var ki=Object.freeze({appendWithTransition:R,beforeWithTransition:P,removeWithTransition:L,applyTransition:M}),Oi=/^v-ref:/,Ai=/^(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,Di=/^(slot|partial|component)$/i,Ti=void 0;"production"!==n.env.NODE_ENV&&(Ti=function(t,e){return e.indexOf("-")>-1?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())&&!/^(data|time|rtc|rb)$/.test(e)});var ji=Ei.optionMergeStrategies=Object.create(null);ji.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?dt(n,r):r}:void 0:e?"function"!=typeof e?("production"!==n.env.NODE_ENV&&$i('The "data" option should be a function that returns a per-instance value in component definitions.',i),t):t?function(){return dt(e.call(this),t.call(this))}:e:t},ji.el=function(t,e,i){if(!i&&e&&"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&$i('The "el" option should be a function that returns a per-instance value in component definitions.',i));var r=e||t;return i&&"function"==typeof r?r.call(i):r},ji.init=ji.created=ji.ready=ji.attached=ji.detached=ji.beforeCompile=ji.compiled=ji.beforeDestroy=ji.destroyed=ji.activate=function(t,e){return e?t?t.concat(e):Mn(e)?e:[e]:t},Ei._assetTypes.forEach(function(t){ji[t+"s"]=vt}),ji.watch=ji.events=function(t,e){if(!e)return t;if(!t)return e;var n={};_(n,t);for(var i in e){var r=n[i],s=e[i];r&&!Mn(r)&&(r=[r]),n[i]=r?r.concat(s):[s]}return n},ji.props=ji.methods=ji.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return _(n,t),_(n,e),n};var Vi=function(t,e){return void 0===e?t:e},Si=0;wt.target=null,wt.prototype.addSub=function(t){this.subs.push(t)},wt.prototype.removeSub=function(t){this.subs.$remove(t)},wt.prototype.depend=function(){wt.target.addDep(this)},wt.prototype.notify=function(){for(var t=g(this.subs),e=0,n=t.length;n>e;e++)t[e].update()};var Fi=Array.prototype,Ri=Object.create(Fi);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Fi[t];w(Ri,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&o.observeArray(r),o.dep.notify(),s})}),w(Fi,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),w(Fi,"$remove",function(t){if(this.length){var e=N(this,t);return e>-1?this.splice(e,1):void 0}});var Pi=Object.getOwnPropertyNames(Ri),Li=!0;Nt.prototype.walk=function(t){for(var e=Object.keys(t),n=0,i=e.length;i>n;n++)this.convert(e[n],t[e[n]])},Nt.prototype.observeArray=function(t){for(var e=0,n=t.length;n>e;e++)xt(t[e])},Nt.prototype.convert=function(t,e){kt(this.value,t,e)},Nt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},Nt.prototype.removeVm=function(t){this.vms.$remove(t)};var Mi=Object.freeze({defineReactive:kt,set:i,del:r,hasOwn:s,isLiteral:o,isReserved:a,_toString:l,toNumber:h,toBoolean:u,stripQuotes:c,camelize:f,hyphenate:d,classify:v,bind:m,toArray:g,extend:_,isObject:b,isPlainObject:y,def:w,debounce:C,indexOf:N,cancellable:E,looseEqual:$,isArray:Mn,hasProto:In,inBrowser:Hn,devtools:Un,isIE9:Wn,isAndroid:zn,get transitionProp(){return qn},get transitionEndEvent(){return Jn},get animationProp(){return Yn},get animationEndEvent(){return Qn},nextTick:Kn,query:I,inDoc:H,getAttr:U,getBindAttr:B,hasBindAttr:W,before:z,after:q,remove:J,prepend:Y,replace:Q,on:Z,off:G,setClass:X,addClass:tt,removeClass:et,extractContent:nt,trimNode:it,isTemplate:st,createAnchor:ot,findRef:at,mapNodeRange:lt,removeNodeRange:ht,isFragment:ut,getOuterHTML:ct,mergeOptions:bt,resolveAsset:yt,checkComponentAttr:ft,commonTagRE:Ai,reservedTagRE:Di,get warn(){return $i}}),Ii=0,Hi=new x(1e3),Ui=0,Bi=1,Wi=2,zi=3,qi=0,Ji=1,Yi=2,Qi=3,Zi=4,Gi=5,Ki=6,Xi=7,tr=8,er=[];er[qi]={ws:[qi],ident:[Qi,Ui],"[":[Zi],eof:[Xi]},er[Ji]={ws:[Ji],".":[Yi],"[":[Zi],eof:[Xi]},er[Yi]={ws:[Yi],ident:[Qi,Ui]},er[Qi]={ident:[Qi,Ui],0:[Qi,Ui],number:[Qi,Ui],ws:[Ji,Bi],".":[Yi,Bi],"[":[Zi,Bi],eof:[Xi,Bi]},er[Zi]={"'":[Gi,Ui],'"':[Ki,Ui],"[":[Zi,Wi],"]":[Ji,zi],eof:tr,"else":[Zi,Ui]},er[Gi]={"'":[Zi,Ui],eof:tr,"else":[Gi,Ui]},er[Ki]={'"':[Zi,Ui],eof:tr,"else":[Ki,Ui]};var nr;"production"!==n.env.NODE_ENV&&(nr=function(t,e){$i('You are setting a non-existent path "'+t.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.',e)});var ir,rr=Object.freeze({parsePath:jt,getPath:Vt,setPath:St}),sr=new x(1e3),or="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",ar=new RegExp("^("+or.replace(/,/g,"\\b|")+"\\b)"),lr="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",hr=new RegExp("^("+lr.replace(/,/g,"\\b|")+"\\b)"),ur=/\s/g,cr=/\n/g,fr=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,pr=/"(\d+)"/g,dr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,vr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,mr=/^(?:true|false)$/,gr=[],_r=Object.freeze({parseExpression:Ht,isSimplePath:Ut}),br=[],yr=[],wr={},Cr={},Nr=!1,Er=!1,$r=0;Jt.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(i){"production"!==n.env.NODE_ENV&&Ei.warnExpressionErrors&&$i('Error when evaluating expression "'+this.expression+'": '+i.toString(),this.vm)}return this.deep&&Yt(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},Jt.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){"production"!==n.env.NODE_ENV&&Ei.warnExpressionErrors&&$i('Error when evaluating setter "'+this.expression+'": '+i.toString(),this.vm)}var r=e.$forContext;if(r&&r.alias===this.expression){if(r.filters)return void("production"!==n.env.NODE_ENV&&$i("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead.",this.vm));r._withLock(function(){e.$key?r.rawValue[e.$key]=t:r.rawValue.$set(e.$index,t)})}},Jt.prototype.beforeGet=function(){wt.target=this,this.newDepIds=Object.create(null),this.newDeps.length=0},Jt.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))},Jt.prototype.afterGet=function(){wt.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 n=this.deps;this.deps=this.newDeps,this.newDeps=n},Jt.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Ei.async?this.run():(this.shallow=this.queued?t?this.shallow:!1:!!t,this.queued=!0,"production"!==n.env.NODE_ENV&&Ei.debug&&(this.prevError=new Error("[vue] async stack trace")),qt(this))},Jt.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(b(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;var i=this.prevError;if("production"!==n.env.NODE_ENV&&Ei.debug&&i){this.prevError=null;try{this.cb.call(this.vm,t,e)}catch(r){throw Kn(function(){throw i},0),r}}else this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},Jt.prototype.evaluate=function(){var t=wt.target;this.value=this.get(),this.dirty=!1,wt.target=t},Jt.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Jt.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 xr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=l(t)}},kr=new x(1e3),Or=new x(1e3),Ar={efault:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};Ar.td=Ar.th=[3,"","
"],Ar.option=Ar.optgroup=[1,'"],Ar.thead=Ar.tbody=Ar.colgroup=Ar.caption=Ar.tfoot=[1,"","
"],Ar.g=Ar.defs=Ar.symbol=Ar.use=Ar.image=Ar.text=Ar.circle=Ar.ellipse=Ar.line=Ar.path=Ar.polygon=Ar.polyline=Ar.rect=[1,'',""];var Dr=/<([\w:-]+)/,Tr=/&#?\w+?;/,jr=function(){if(Hn){var t=document.createElement("div");return t.innerHTML="",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Vr=function(){if(Hn){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Sr=Object.freeze({cloneNode:Kt,parseTemplate:Xt}),Fr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=ot("v-html"),Q(this.el,this.anchor))},update:function(t){t=l(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)J(this.nodes[e]);var n=Xt(t,!0,!0);this.nodes=g(n.childNodes),z(n,this.anchor)}};te.prototype.callHook=function(t){var e,n;for(e=0,n=this.childFrags.length;n>e;e++)this.childFrags[e].callHook(t);for(e=0,n=this.children.length;n>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 n=this.unlink.dirs;for(t=0,e=n.length;e>t;t++)n[t]._watcher&&n[t]._watcher.teardown()},te.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Rr=new x(5e3);ae.prototype.create=function(t,e,n){var i=Kt(this.template);return new te(this.linker,this.vm,i,t,e,n)};var Pr=700,Lr=800,Mr=850,Ir=1100,Hr=1500,Ur=1500,Br=1750,Wr=2100,zr=2200,qr=2300,Jr=0,Yr={priority:zr,terminal:!0,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)return void("production"!==n.env.NODE_ENV&&$i('Invalid v-for expression "'+this.descriptor.raw+'": alias is required.',this.vm));this.id="__v-for__"+ ++Jr;var i=this.el.tagName;this.isOption=("OPTION"===i||"OPTGROUP"===i)&&"SELECT"===this.el.parentNode.tagName,this.start=ot("v-for-start"),this.end=ot("v-for-end"),Q(this.el,this.end),z(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,i,r,o,a,l=t[0],h=this.fromObject=b(l)&&s(l,"$key")&&s(l,"$value"),u=this.params.trackBy,c=this.frags,f=this.frags=new Array(t.length),p=this.alias,d=this.iterator,v=this.start,m=this.end,g=H(v),_=!c;for(e=0,n=t.length;n>e;e++)l=t[e],r=h?l.$key:null,o=h?l.$value:l,a=!b(o),i=!_&&this.getCachedFrag(o,e,r),i?(i.reused=!0,i.scope.$index=e,r&&(i.scope.$key=r),d&&(i.scope[d]=null!==r?r:e),(u||h||a)&&Ct(function(){i.scope[p]=o})):(i=this.create(o,p,e,r),i.fresh=!_),f[e]=i,_&&i.before(m);if(!_){var y=0,w=c.length-f.length;for(this.vm._vForRemoving=!0,e=0,n=c.length;n>e;e++)i=c[e],i.reused||(this.deleteCachedFrag(i),this.remove(i,y++,w,g));this.vm._vForRemoving=!1,y&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var C,N,E,$=0;for(e=0,n=f.length;n>e;e++)i=f[e],C=f[e-1],N=C?C.staggerCb?C.staggerAnchor:C.end||C.node:v,i.reused&&!i.staggerCb?(E=le(i,v,this.id),E===C||E&&le(E,v,this.id)===C||this.move(i,N)):this.insert(i,$++,N,g),i.reused=i.fresh=!1}},create:function(t,e,n,i){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,Ct(function(){kt(o,e,t)}),kt(o,"$index",n),i?kt(o,"$key",i):o.$key&&w(o,"$key",null),this.iterator&&kt(o,this.iterator,null!==i?i:n);var a=this.factory.create(r,o,this._frag);return a.forId=this.id,this.cacheFrag(t,a,n,i),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,n=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=he(t)})):e=this.frags.map(he),n[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,n,i){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(i&&r){var s=t.staggerAnchor;s||(s=t.staggerAnchor=ot("stagger-anchor"),s.__v_frag=t),q(s,n);var o=t.staggerCb=E(function(){t.staggerCb=null,t.before(s),J(s)});setTimeout(o,r)}else t.before(n.nextSibling)},remove:function(t,e,n,i){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,n,"leave");if(i&&r){var s=t.staggerCb=E(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,i,r){var o,a=this.params.trackBy,l=this.cache,h=!b(t);r||a||h?(o=a?"$index"===a?i:Vt(t,a):r||t,l[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(t):l[o]=e):(o=this.id,s(t,o)?null===t[o]?t[o]=e:"production"!==n.env.NODE_ENV&&this.warnDuplicate(t):w(t,o,e)),e.raw=t},getCachedFrag:function(t,e,i){var r,s=this.params.trackBy,o=!b(t);if(i||s||o){var a=s?"$index"===s?e:Vt(t,s):i||t;r=this.cache[a]}else r=t[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(t),r},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,i=t.scope,r=i.$index,o=s(i,"$key")&&i.$key,a=!b(e);if(n||o||a){var l=n?"$index"===n?r:Vt(e,n):o||e;this.cache[l]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,n,i){i+="Stagger";var r=t.node.__v_trans,s=r&&r.hooks,o=s&&(s[i]||s.stagger);return o?o.call(t,e,n):e*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Mn(t))return t;if(y(t)){for(var e,n=Object.keys(t),i=n.length,r=new Array(i);i--;)e=n[i],r[i]={$key:e,$value:t[e]};return r}return"number"!=typeof t||isNaN(t)||(t=ue(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()}};"production"!==n.env.NODE_ENV&&(Yr.warnDuplicate=function(t){$i('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(t)+'. Use track-by="$index" if you are expecting duplicate values.',this.vm)});var Qr={priority:Wr,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)"production"!==n.env.NODE_ENV&&$i('v-if="'+this.expression+'" cannot be used on an instance root element.',this.vm),this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==U(e,"v-else")&&(J(e),this.elseEl=e),this.anchor=ot("v-if"),Q(t,this.anchor)}},update:function(t){ 8 | 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()}},Zr={bind:function(){var t=this.el.nextElementSibling;t&&null!==U(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 n(){t.style.display=e?"":"none"}H(t)?M(t,e?1:-1,n,this.vm):n()}},Gr={bind:function(){var t=this,e=this.el,n="range"===e.type,i=this.params.lazy,r=this.params.number,s=this.params.debounce,o=!1;if(zn||n||(this.on("compositionstart",function(){o=!0}),this.on("compositionend",function(){o=!1,i||t.listener()})),this.focused=!1,n||i||(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(!o&&t._bound){var i=r||n?h(e.value):e.value;t.set(i),Kn(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},s&&(this.listener=C(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(e)[a]("change",this.rawListener),i||jQuery(e)[a]("input",this.listener)}else this.on("change",this.rawListener),i||this.on("input",this.listener);!i&&Wn&&(this.on("cut",function(){Kn(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=l(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)}}},Kr={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var n=e.value;return t.params.number&&(n=h(n)),n},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=$(t,this.getValue())}},Xr={bind:function(){var t=this,e=this.el;this.forceUpdate=function(){t._watcher&&t.update(t._watcher.get())};var n=this.multiple=e.hasAttribute("multiple");this.listener=function(){var i=ce(e,n);i=t.params.number?Mn(i)?i.map(h):h(i):i,t.set(i)},this.on("change",this.listener);var i=ce(e,n,!0);(n&&i.length||!n&&null!==i)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i,r=this.multiple&&Mn(t),s=e.options,o=s.length;o--;)n=s[o],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=r?fe(t,i)>-1:$(t,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},ts={bind:function(){function t(){var t=n.checked;return t&&n.hasOwnProperty("_trueValue")?n._trueValue:!t&&n.hasOwnProperty("_falseValue")?n._falseValue:t}var e=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:e.params.number?h(n.value):n.value},this.listener=function(){var i=e._watcher.value;if(Mn(i)){var r=e.getValue();n.checked?N(i,r)<0&&i.push(r):i.$remove(r)}else e.set(t())},this.on("change",this.listener),n.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Mn(t)?e.checked=N(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=$(t,e._trueValue):e.checked=!!t}},es={text:Gr,radio:Kr,select:Xr,checkbox:ts},ns={priority:Lr,twoWay:!0,handlers:es,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&$i('It seems you are using a read-only filter with v-model="'+this.descriptor.raw+'". You might want to use a two-way filter to ensure correct behavior.',this.vm);var t,e=this.el,i=e.tagName;if("INPUT"===i)t=es[e.type]||es.text;else if("SELECT"===i)t=es.select;else{if("TEXTAREA"!==i)return void("production"!==n.env.NODE_ENV&&$i("v-model does not support element type: "+i,this.vm));t=es.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 n=yt(this.vm.$options,"filters",t[e].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},is={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},rs={priority:Pr,acceptStatement:!0,keyCodes:is,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){Z(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)return void("production"!==n.env.NODE_ENV&&$i("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+t,this.vm));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():Z(this.el,this.arg,this.handler,this.modifiers.capture)},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&G(t,this.arg,this.handler)},unbind:function(){this.reset()}},ss=["-webkit-","-moz-","-ms-"],os=["Webkit","Moz","ms"],as=/!important;?$/,ls=Object.create(null),hs=null,us={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Mn(t)?this.handleObject(t.reduce(_,{})):this.handleObject(t||{})},handleObject:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.handleSingle(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.handleSingle(e,n))},handleSingle:function(t,e){if(t=ge(t))if(null!=e&&(e+=""),e){var i=as.test(e)?"important":"";i?("production"!==n.env.NODE_ENV&&$i("It's probably a bad idea to use !important with inline rules. This feature will be deprecated in a future version of Vue."),e=e.replace(as,"").trim(),this.el.style.setProperty(t.kebab,e,i)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},cs="http://www.w3.org/1999/xlink",fs=/^xlink:/,ps=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,ds=/^(?:value|checked|selected|muted)$/,vs=/^(?:draggable|contenteditable|spellcheck)$/,ms={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},gs={priority:Mr,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var i=this.descriptor,r=i.interp;if(r&&(i.hasOneTime&&(this.expression=V(r,this._scope||this.vm)),(ps.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&("production"!==n.env.NODE_ENV&&$i(t+'="'+i.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.',this.vm),this.el.removeAttribute(t),this.invalid=!0),"production"!==n.env.NODE_ENV)){var s=t+'="'+i.raw+'": ';"src"===t&&$i(s+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.',this.vm),"style"===t&&$i(s+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.',this.vm)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:us.handleObject,handleSingle:function(t,e){var n=this.el,i=this.descriptor.interp;this.modifiers.camel&&(t=f(t)),!i&&ds.test(t)&&t in n&&(n[t]="value"===t&&null==e?"":e);var r=ms[t];if(!i&&r){n[r]=e;var s=n.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===n.tagName?void n.removeAttribute(t):void(vs.test(t)?n.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(n.__v_trans&&(e+=" "+n.__v_trans.id+"-transition"),X(n,e)):fs.test(t)?n.setAttributeNS(cs,t,e===!0?"":e):n.setAttribute(t,e===!0?"":e):n.removeAttribute(t))}},_s={priority:Hr,bind:function(){if(this.arg){var t=this.id=f(this.arg),e=(this._scope||this.vm).$els;s(e,t)?e[t]=this.el:kt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},bs={bind:function(){"production"!==n.env.NODE_ENV&&$i("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.",this.vm)}},ys={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},ws={text:xr,html:Fr,"for":Yr,"if":Qr,show:Zr,model:ns,on:rs,bind:gs,el:_s,ref:bs,cloak:ys},Cs={deep:!0,update:function(t){t&&"string"==typeof t?this.handleObject(ye(t)):y(t)?this.handleObject(t):Mn(t)?this.handleArray(t):this.cleanup()},handleObject:function(t){this.cleanup(t),this.prevKeys=Object.keys(t),be(this.el,t)},handleArray:function(t){this.cleanup(t);for(var e=0,n=t.length;n>e;e++){var i=t[e];i&&y(i)?be(this.el,i):i&&"string"==typeof i&&tt(this.el,i)}this.prevKeys=t.slice()},cleanup:function(t){if(this.prevKeys)for(var e=this.prevKeys.length;e--;){var n=this.prevKeys[e];if(n)for(var i=y(n)?Object.keys(n):[n],r=0,s=i.length;s>r;r++)we(this.el,i[r],et)}}},Ns={priority:Ur,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&$i('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=nt(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=ot("v-component"),Q(this.el,this.anchor),this.el.removeAttribute("is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(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 n=this;this.resolveComponent(t,function(){n.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var n=this;this.pendingComponentCb=E(function(i){n.ComponentName=i.options.name||("string"==typeof t?t:null),n.Component=i,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,Ce(n,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(i&&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:Kt(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&&_(i,t);var r=new this.Component(i);return this.keepAlive&&(this.cache[this.Component.cid]=r),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&r._isFragment&&$i("Transitions will not work on a fragment instance. Template: "+r.$options.template,r),r}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||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 n=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var i=this;t.$remove(function(){i.pendingRemovals--,n||t._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var n=this,i=this.childVM;switch(i&&(i._inactive=!0),t._inactive=!1,this.childVM=t,n.params.transitionMode){case"in-out":t.$before(n.anchor,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t.$before(n.anchor,e)});break;default:n.remove(i),t.$before(n.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Es=Ei._propBindingModes,$s={},xs=/^[$_a-zA-Z]+[\w$]*$/,ks=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,Os=Ei._propBindingModes,As={bind:function(){var t=this.vm,e=t._context,n=this.descriptor.prop,i=n.path,r=n.parentPath,s=n.mode===Os.TWO_WAY,o=this.parentWatcher=new Jt(e,r,function(e){ke(t,n,e)},{twoWay:s,filters:n.filters,scope:this._scope});if(xe(t,n,o.value),s){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new Jt(t,i,function(t){o.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Ds=[],Ts=!1,js="transition",Vs="animation",Ss=qn+"Duration",Fs=Yn+"Duration",Rs=Hn&&window.requestAnimationFrame,Ps=Rs?function(t){Rs(function(){Rs(t)})}:function(t){setTimeout(t,50)},Ls=Re.prototype;Ls.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,tt(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Se(this.enterNextTick))},Ls.enterNextTick=function(){var t=this;this.justEntered=!0,Ps(function(){t.justEntered=!1});var e=this.enterDone,n=this.getCssTransitionType(this.enterClass);this.pendingJsCb?n===js&&et(this.el,this.enterClass):n===js?(et(this.el,this.enterClass),this.setupCssCb(Jn,e)):n===Vs?this.setupCssCb(Qn,e):e()},Ls.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,et(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},Ls.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,tt(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():Se(this.leaveNextTick)))},Ls.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===js?Jn:Qn;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},Ls.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),et(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},Ls.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,G(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(et(this.el,this.enterClass),et(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},Ls.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},Ls.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=E(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},Ls.getCssTransitionType=function(t){if(!(!Jn||document.hidden||this.hooks&&this.hooks.css===!1||Pe(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[Ss]||i[Ss];if(r&&"0s"!==r)e=js;else{var s=n[Fs]||i[Fs];s&&"0s"!==s&&(e=Vs)}return e&&(this.typeCache[t]=e),e}},Ls.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(G(i,t,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};Z(i,t,r)};var Ms={priority:Ir,update:function(t,e){var n=this.el,i=yt(this.vm.$options,"transitions",t);t=t||"v",n.__v_trans=new Re(n,t,i,this.vm),e&&et(n,e+"-transition"),tt(n,t+"-transition")}},Is={style:us,"class":Cs,component:Ns,prop:As,transition:Ms},Hs=/^v-bind:|^:/,Us=/^v-on:|^@/,Bs=/^v-([^:]+)(?:$|:(.*)$)/,Ws=/\.[^\.]+/g,zs=/^(v-bind:|:)?transition$/,qs=1e3,Js=2e3;nn.terminal=!0;var Ys=/[^\w\-:\.]/,Qs=Object.freeze({compile:Le,compileAndLinkProps:Be,compileRoot:We,transclude:hn,resolveSlots:pn}),Zs=/^v-on:|^@/;_n.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=e.attr||"v-"+t;this.el.removeAttribute(n)}var i=e.def;if("function"==typeof i?this.update=i:_(this,i),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=gn;var s=this._preProcess?m(this._preProcess,this):null,o=this._postProcess?m(this._postProcess,this):null,a=this._watcher=new Jt(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)}},_n.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,n,i,r=t.length;r--;)e=d(t[r]),i=f(e),n=B(this.el,e),null!=n?this._setupParamWatcher(i,n):(n=U(this.el,e),null!=n&&(this.params[i]=""===n?!0:n))}},_n.prototype._setupParamWatcher=function(t,e){var n=this,i=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(n.params[t]=e,i){var s=n.paramWatchers&&n.paramWatchers[t];s&&s.call(n,e,r)}else i=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},_n.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!Ut(t)){var e=Ht(t).get,n=this._scope||this.vm,i=function(t){n.$event=t,e.call(n,n),n.$event=null};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},_n.prototype.set=function(t){this.twoWay?this._withLock(function(){this._watcher.set(t)}):"production"!==n.env.NODE_ENV&&$i("Directive.set() can only be used inside twoWaydirectives.")},_n.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),Kn(function(){e._locked=!1})},_n.prototype.on=function(t,e,n){Z(this.el,t,e,n),(this._listeners||(this._listeners=[])).push([t,e])},_n.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--;)G(this.el,e[t][0],e[t][1]);var i=this._paramUnwatchFns;if(i)for(t=i.length;t--;)i[t]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}};var Gs=/[^|]\|[^|]/;Ot($n),vn($n),mn($n),bn($n),yn($n),wn($n),Cn($n),Nn($n),En($n);var Ks={priority:qr,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,n){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var i=document.createElement("template");i.setAttribute("v-else",""),i.innerHTML=this.el.innerHTML,i._context=this.vm,t.appendChild(i)}var r=n?n._scope:this._scope;this.unlink=e.$compile(t,n,r,this._frag)}t?Q(this.el,t):J(this.el)},fallback:function(){this.compile(nt(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},Xs={priority:Br,params:["name"],paramWatchers:{name:function(t){Qr.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=ot("v-partial"),Q(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=yt(this.vm.$options,"partials",t,!0);e&&(this.factory=new ae(this.vm,e),Qr.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},to={slot:Ks,partial:Xs},eo=Yr._postProcess,no=/(\d{3})(?=\d)/g,io={orderBy:On,filterBy:kn,limitBy:xn,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 n=Math.abs(t).toFixed(2),i=n.slice(0,-3),r=i.length%3,s=r>0?i.slice(0,r)+(i.length>3?",":""):"",o=n.slice(-3),a=0>t?"-":"";return a+e+s+i.slice(r).replace(no,"$1,")+o},pluralize:function(t){var e=g(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),C(t,e)):void 0}};Dn($n),$n.version="1.0.21",setTimeout(function(){Ei.devtools&&(Un?Un.emit("init",$n):"production"!==n.env.NODE_ENV&&Hn&&/Chrome\/\d+/.test(window.navigator.userAgent)&&console.log("Download the Vue Devtools for a better development experience:\nhttps://github.com/vuejs/vue-devtools"))},0),t.exports=$n}).call(e,function(){return this}(),n(4))},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.rippleButton=e.ripple=void 0;var r=n(18),s=i(r),o=n(3),a=i(o);e.ripple=a["default"],e.rippleButton=s["default"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6);n(13),e["default"]={components:{rippleButton:i.rippleButton}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),s=i(r);e["default"]={data:function(){return{cursorPos:{}}},components:{ripple:s["default"]},methods:{handleClick:function(t){this.cursorPos={top:t.clientY,left:t.clientX}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(12),e["default"]={props:{cursorPos:{type:Object,"default":{top:0,left:0},required:!0}},data:function(){return{animate:!1,width:0,height:0,top:0,left:0}},watch:{cursorPos:function(t,e){var n=this;this.animate?(this.animate=!1,this.$nextTick(function(){n.reppling(t)})):this.reppling(t)}},methods:{reppling:function(t){var e=this.$el,n=e.parentElement,i=(window.getComputedStyle(n),n.getBoundingClientRect()),r=n.offsetWidth,s=n.offsetHeight,o=Math.max(s,r),a=o/2;this.animate=!0,this.width=o,this.height=o,this.top=t.top-i.top-a,this.left=t.left-i.left-a}}}},function(t,e,n){e=t.exports=n(1)(),e.push([t.id,"/*! Copyright (c) 2016 Naufal Rabbani (http://github.com/BosNaufal)\n * Licensed Under MIT (http://opensource.org/licenses/MIT)\n *\n * Vue Ripple - Version 1.0.0\n *\n * Adopted from : https://github.com/nelsoncash/angular-ripple\n *\n */.Ripple{position:absolute;background:rgba(0,0,0,.1);border-radius:50%;transform:scale(0)}.Ripple.is-reppling{animation:ripple .5s linear}.Ripple-parent{position:relative;overflow:hidden}@keyframes ripple{to{opacity:0;transform:scale(3)}}",""])},function(t,e,n){e=t.exports=n(1)(),e.push([t.id,"body{font-family:sans-serif}h1{margin-top:45px}button{background:#12b791;color:#fff;padding:35px;border:none;margin:35px auto;font-size:30px;display:block}",""])},function(t,e,n){var i=n(10);"string"==typeof i&&(i=[[t.id,i,""]]);n(2)(i,{});i.locals&&(t.exports=i.locals)},function(t,e,n){var i=n(11);"string"==typeof i&&(i=[[t.id,i,""]]);n(2)(i,{});i.locals&&(t.exports=i.locals)},function(t,e){t.exports="

Vue Ripple

Click On Me!

Fork Me On Github!

"},function(t,e){t.exports=""},function(t,e){t.exports="
"},function(t,e,n){var i,r;i=n(7),r=n(14),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},function(t,e,n){var i,r;i=n(8),r=n(15),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)}]); -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Vue Ripple | Vue Component to Make Google Material Design Ripple Effect 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-ripple", 3 | "version": "1.0.1", 4 | "description": "Vue Component to Make Google Material Design Ripple Effect", 5 | "main": "./src/js/components/index.js", 6 | "scripts": { 7 | "dev": "webpack-dev-server --inline --hot", 8 | "build": "webpack -p" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/BosNaufal/vue-ripple.git" 13 | }, 14 | "keywords": [ 15 | "vue", 16 | "component", 17 | "vue js", 18 | "vue mdl", 19 | "google material design", 20 | "material design", 21 | "ripple effect", 22 | "vue-ripple", 23 | "vue ripple", 24 | "ripple effect" 25 | ], 26 | "author": "Naufal Rabbani ", 27 | "license": "MIT", 28 | "bugs": { 29 | "url": "https://github.com/BosNaufal/vue-ripple/issues" 30 | }, 31 | "homepage": "https://github.com/BosNaufal/vue-ripple#readme", 32 | "devDependencies": { 33 | "babel-loader": "^6.2.4", 34 | "babel-preset-es2015": "^6.6.0", 35 | "css-loader": "^0.23.1", 36 | "es6-promise": "^3.1.2", 37 | "jade-loader": "^0.8.0", 38 | "sass-loader": "^3.2.0", 39 | "style-loader": "^0.13.1", 40 | "vue-hot-reload-api": "^1.3.2", 41 | "vue-html-loader": "^1.2.2", 42 | "vue-loader": "^8.2.3", 43 | "webpack": "^1.13.0", 44 | "webpack-dev-server": "^1.14.1" 45 | }, 46 | "dependencies": { 47 | "vue": "^1.0.21" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/js/components/app.vue: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 25 | -------------------------------------------------------------------------------- /src/js/components/index.js: -------------------------------------------------------------------------------- 1 | 2 | import rippleButton from './vue-ripple-button.vue'; 3 | import ripple from './vue-ripple.vue'; 4 | 5 | export { ripple, rippleButton } 6 | -------------------------------------------------------------------------------- /src/js/components/vue-ripple-button.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 52 | -------------------------------------------------------------------------------- /src/js/components/vue-ripple.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 91 | -------------------------------------------------------------------------------- /src/js/main.js: -------------------------------------------------------------------------------- 1 | 2 | var Vue = require('vue'); 3 | var App = require('./components/app.vue'); 4 | 5 | Vue.config.debug = true; 6 | Vue.config.devTools = true; 7 | 8 | new Vue({ 9 | el: 'body', 10 | components: { App: App } 11 | }); 12 | -------------------------------------------------------------------------------- /src/sass/_Ripple.sass: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2016 Naufal Rabbani (http://github.com/BosNaufal) 2 | * Licensed Under MIT (http://opensource.org/licenses/MIT) 3 | * 4 | * Vue Ripple - Version 1.0.0 5 | * 6 | * Adopted from : https://github.com/nelsoncash/angular-ripple 7 | * 8 | */ 9 | 10 | 11 | .Ripple 12 | position: absolute 13 | background: rgba(0,0,0,.1) 14 | border-radius: 50% 15 | transform: scale(0) 16 | 17 | &.is-reppling 18 | animation: ripple 0.5s linear 19 | 20 | &-parent 21 | // Parent Position Should be Relative, Absolute or Fixed Not Static 22 | position: relative 23 | // position: absolute 24 | // position: fixed 25 | overflow: hidden 26 | 27 | @keyframes ripple 28 | 100% 29 | opacity: 0 30 | transform: scale(3) 31 | -------------------------------------------------------------------------------- /src/sass/main.sass: -------------------------------------------------------------------------------- 1 | 2 | body 3 | font-family: sans-serif 4 | 5 | h1 6 | margin-top: 45px 7 | 8 | button 9 | background: #12B791 10 | color: white 11 | padding: 35px 12 | border: none 13 | margin: 35px auto 14 | font-size: 30px 15 | display: block 16 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | 2 | require('es6-promise').polyfill(); 3 | 4 | module.exports = { 5 | 6 | entry: './src/js/main.js', 7 | 8 | output: { 9 | path: './build', 10 | filename: 'build.js' 11 | }, 12 | 13 | module: { 14 | loaders: [ 15 | { 16 | test: /\.vue$/, 17 | loader: 'vue' 18 | }, 19 | { 20 | test: /\.js$/, 21 | loader: 'babel' 22 | }, 23 | { 24 | test: /\.sass$/, 25 | loaders: ['style','css','sass'] 26 | // loaders: ['css','sass'] 27 | } 28 | ] 29 | } 30 | 31 | }; 32 | --------------------------------------------------------------------------------