!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}({0:function(e,t,n){e.exports=n(28)},1:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=r(i);t.default={props:{mdTheme:String},data:function(){return{closestThemedParent:!1}},methods:{getClosestThemedParent:function(e){return!(!e||!e.$el||0===e._uid)&&(e.mdTheme||e.mdName?e:this.getClosestThemedParent(e.$parent))}},computed:{themeClass:function(){if(this.mdTheme)return"md-theme-"+this.mdTheme;var e=this.closestThemedParent.mdTheme;return e||(e=this.closestThemedParent.mdName),"md-theme-"+(e||o.default.material.currentTheme)}},mounted:function(){this.closestThemedParent=this.getClosestThemedParent(this.$parent),o.default.material.currentTheme||o.default.material.setCurrentTheme("default")}},e.exports=t.default},2:function(e,t,n){(function(t){/*! * Vue.js v2.1.6 * (c) 2014-2016 Evan You * Released under the MIT License. */ "use strict";function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e,10);return t||0===t?t:e}function i(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function a(e,t){return yn.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function c(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function l(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function p(e){return Cn.call(e)===Sn}function h(e){for(var t={},n=0;nOn._maxUpdateCount)){Un("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}}Ln&&On.devtools&&Ln.emit("flush"),K()}function W(e){var t=e.id;if(null==lr[t]){if(lr[t]=!0,fr){for(var n=cr.length-1;n>=0&&cr[n].id>e.id;)n--;cr.splice(Math.max(n,pr)+1,0,e)}else cr.push(e);dr||(dr=!0,Fn(G))}}function J(e){mr.clear(),Z(e,mr)}function Z(e,t){var n,r,i=Array.isArray(e);if((i||f(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)Z(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)Z(e[r[n]],t)}}function Y(e){e._watchers=[],X(e),ne(e),Q(e),ee(e),re(e)}function X(e){var t=e.$options.props;if(t){var n=e.$options.propsData||{},r=e.$options._propKeys=Object.keys(t),i=!e.$parent;Zn.shouldConvert=i;for(var o=function(i){var o=r[i];yr[o]&&Un('"'+o+'" is a reserved attribute and cannot be used as component prop.',e),A(e,o,B(o,t,n,e),function(){e.$parent&&!Zn.isSettingProps&&Un("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+o+'"',e)})},a=0;a1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i-1:e.test(t)}function Je(e){var t={};t.get=function(){return On},t.set=function(){Un("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(e,"config",t),e.util=tr,e.set=T,e.delete=E,e.nextTick=Fn,e.options=Object.create(null),On._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,d(e.options.components,Or),He(e),qe(e),Ke(e),Ge(e)}function Ze(e){for(var t=e.data,n=e,r=e;r.child;)r=r.child._vnode,r.data&&(t=Ye(r.data,t));for(;n=n.parent;)n.data&&(t=Ye(t,n.data));return Xe(t)}function Ye(e,t){return{staticClass:Qe(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function Xe(e){var t=e.class,n=e.staticClass;return n||t?Qe(n,et(t)):""}function Qe(e,t){return e?t?e+" "+t:e:t||""}function et(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?zr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zr[e]=/HTMLUnknownElement/.test(t.toString())}function rt(e){if("string"==typeof e){var t=e;if(e=document.querySelector(e),!e)return Un("Cannot find element: "+t),document.createElement("div")}return e}function it(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function ot(e,t){return document.createElementNS(Lr[e],t)}function at(e){return document.createTextNode(e)}function st(e){return document.createComment(e)}function ct(e,t,n){e.insertBefore(t,n)}function lt(e,t){e.removeChild(t)}function ut(e,t){e.appendChild(t)}function dt(e){return e.parentNode}function ft(e){return e.nextSibling}function pt(e){return e.tagName}function ht(e,t){e.textContent=t}function vt(e,t,n){e.setAttribute(t,n)}function mt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.child||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function yt(e){return null==e}function gt(e){return null!=e}function _t(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function bt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,gt(i)&&(o[i]=r);return o}function xt(e){function t(e){return new _r(T.tagName(e).toLowerCase(),{},[],void 0,e)}function r(e,t){function n(){0===--n.listeners&&o(e)}return n.listeners=t,n}function o(e){var t=T.parentNode(e);t&&T.removeChild(t,e)}function a(e,t,n,r,i){if(e.isRootInsert=!i,!c(e,t,n,r)){var o=e.data,a=e.children,s=e.tag;gt(s)?(o&&o.pre&&E++,E||e.ns||On.ignoredElements&&On.ignoredElements.indexOf(s)>-1||!On.isUnknownElement(s)||Un("Unknown custom element: <"+s+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?T.createElementNS(e.ns,s):T.createElement(s,e),v(e),d(e,a,t),gt(o)&&p(e,t),u(n,e.elm,r),o&&o.pre&&E--):e.isComment?(e.elm=T.createComment(e.text),u(n,e.elm,r)):(e.elm=T.createTextNode(e.text),u(n,e.elm,r))}}function c(e,t,n,r){var i=e.data;if(gt(i)){var o=gt(e.child)&&i.keepAlive;if(gt(i=i.hook)&>(i=i.init)&&i(e,!1,n,r),gt(e.child))return h(e,t),o&&l(e,t,n,r),!0}}function l(e,t,n,r){for(var i,o=e;o.child;)if(o=o.child._vnode,gt(i=o.data)&>(i=i.transition)){for(i=0;if?(l=yt(n[v+1])?null:n[v+1].elm,m(e,l,n,d,v,r)):d>v&&g(e,t,u,f)}function x(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return t.elm=e.elm,void(t.child=e.child);var i,o=t.data,a=gt(o);a&>(i=o.hook)&>(i=i.prepatch)&&i(e,t);var s=t.elm=e.elm,c=e.children,l=t.children;if(a&&f(t)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}e=t(e)}if(c=e.elm,l=T.parentNode(c),a(n,d,l,T.nextSibling(c)),n.parent){for(var h=n.parent;h;)h.elm=n.elm,h=h.parent;if(f(n))for(var v=0;v-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Bt(e,t){if(t&&t.trim())if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Ut(e){hi(function(){hi(e)})}function zt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ft(e,t)}function Vt(e,t){e._transitionClasses&&o(e._transitionClasses,t),Bt(e,t)}function Ht(e,t,n){var r=qt(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ci?di:pi,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=a&&l()};setTimeout(function(){c0&&(n=ci,u=a,d=o.length):t===li?l>0&&(n=li,u=l,d=c.length):(u=Math.max(a,l),n=u>0?a>l?ci:li:null,d=n?n===ci?o.length:c.length:0);var f=n===ci&&vi.test(r[ui+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:f}}function Kt(e,t){for(;e.length1,T=n._enterCb=Yt(function(){O&&Vt(n,w),T.cancelled?(O&&Vt(n,x),k&&k(n)):$&&$(n),n._enterCb=null});e.data.show||$e(e.data.hook||(e.data.hook={}),"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.context===e.context&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),S&&S(n,T)},"transition-insert"),C&&C(n),O&&(zt(n,x),zt(n,w),Ut(function(){Vt(n,x),T.cancelled||A||Ht(n,o,T)})),e.data.show&&(t&&t(),S&&S(n,T)),O||A||T()}}}function Jt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),l&&l(r),h&&(zt(r,s),zt(r,c),Ut(function(){Vt(r,s),m.cancelled||v||Ht(r,a,m)})),u&&u(r,m),h||v||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Zt(e.data.transition);if(!i)return t();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,c=i.leaveActiveClass,l=i.beforeLeave,u=i.leave,d=i.afterLeave,f=i.leaveCancelled,p=i.delayLeave,h=o!==!1&&!Mn,v=u&&(u._length||u.length)>1,m=r._leaveCb=Yt(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),h&&Vt(r,c),m.cancelled?(h&&Vt(r,s),f&&f(r)):(t(),d&&d(r)),r._leaveCb=null});p?p(n):n()}}function Zt(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&d(t,mi(e.name||"v")),d(t,e),t}return"string"==typeof e?mi(e):void 0}}function Yt(e){var t=!1;return function(){t||(t=!0,e())}}function Xt(e,t){t.data.show||Wt(t)}function Qt(e,t,n){var r=t.value,i=e.multiple;if(i&&!Array.isArray(r))return void Un('