UNPKG

vue-material

Version:
6 lines 404 kB
/*! * vue-material v1.0.0-beta-16 * Made with <3 by marcosmoura 2023 * Released under the MIT License. */ !(function(e,t){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{n=t("object"==typeof exports?require("vue"):e.Vue);for(r in n)("object"==typeof exports?exports:e)[r]=n[r]}})("undefined"!=typeof self?self:this,(function(e){return (function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=509)})([(function(e,t){e.exports=function(e,t,n,r,i,o){var a,u,s,l,c,d=e=e||{},f=typeof e.default;return"object"!==f&&"function"!==f||(a=e,d=e.default),u="function"==typeof d?d.options:d,t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=s):r&&(s=r),s&&(l=u.functional,c=l?u.render:u.beforeCreate,l?(u._injectStyles=s,u.render=function(e,t){return s.call(t),c(e,t)}):u.beforeCreate=c?[].concat(c,s):[s]),{esModule:a,exports:d,options:u}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={props:{mdTheme:null},computed:{$mdActiveTheme:function(){var e=o.default.enabled,t=o.default.getThemeName,n=o.default.getAncestorTheme;return e&&!1!==this.mdTheme?t(this.mdTheme||n(this)):null}}};return(0,u.default)(t,e)},i=n(4),o=r(i),a=n(6),u=r(a)}),(function(t,n){t.exports=e}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s;Object.defineProperty(t,"__esModule",{value:!0}),n(8),i=n(5),o=r(i),a=n(4),u=r(a),s=function(){var e=new o.default({ripple:!0,theming:{},locale:{startYear:1900,endYear:2099,dateFormat:"yyyy-MM-dd",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shorterDays:["S","M","T","W","T","F","S"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],shorterMonths:["J","F","M","A","M","Ju","Ju","A","Se","O","N","D"],firstDayOfAWeek:0,cancel:"Cancel",confirm:"Ok"},router:{linkActiveClass:"router-link-active"}});return Object.defineProperties(e.theming,{metaColors:{get:function(){return u.default.metaColors},set:function(e){u.default.metaColors=e}},theme:{get:function(){return u.default.theme},set:function(e){u.default.theme=e}},enabled:{get:function(){return u.default.enabled},set:function(e){u.default.enabled=e}}}),e},t.default=function(e){e.material||(e.material=s(),e.prototype.$material=e.material)}}),(function(e,t,n){"use strict";var r,i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),o=null,a=null,u=null,t.default=new i.default({data:function(){return{prefix:"md-theme-",theme:"default",enabled:!0,metaColors:!1}},computed:{themeTarget:function(){return!this.$isServer&&document.documentElement},fullThemeName:function(){return this.getThemeName()}},watch:{enabled:{immediate:!0,handler:function(){var e=this.fullThemeName,t=this.themeTarget,n=this.enabled;t&&(n?(t.classList.add(e),this.metaColors&&this.setHtmlMetaColors(e)):(t.classList.remove(e),this.metaColors&&this.setHtmlMetaColors()))}},theme:function(e,t){var n=this.getThemeName,r=this.themeTarget;e=n(e),r.classList.remove(n(t)),r.classList.add(e),this.metaColors&&this.setHtmlMetaColors(e)},metaColors:function(e){e?this.setHtmlMetaColors(this.fullThemeName):this.setHtmlMetaColors()}},methods:{getAncestorTheme:function(e){var t,n=this;return e?(t=e.mdTheme,(function e(r){if(r){var i=r.mdTheme,o=r.$parent;return i&&i!==t?i:e(o)}return n.theme})(e.$parent)):null},getThemeName:function(e){var t=e||this.theme;return this.prefix+t},setMicrosoftColors:function(e){o&&o.setAttribute("content",e)},setThemeColors:function(e){a&&a.setAttribute("content",e)},setMaskColors:function(e){u&&u.setAttribute("color",e)},setHtmlMetaColors:function(e){var t,n="#fff";e&&(t=window.getComputedStyle(document.documentElement),n=t.getPropertyValue("--"+e+"-primary")),n&&(this.setMicrosoftColors(n),this.setThemeColors(n),this.setMaskColors(n))}},mounted:function(){var e=this;o=document.querySelector('[name="msapplication-TileColor"]'),a=document.querySelector('[name="theme-color"]'),u=document.querySelector('[rel="mask-icon"]'),this.enabled&&this.metaColors&&window.addEventListener("load",(function(){e.setHtmlMetaColors(e.fullThemeName)}))}})}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return i.default.util.defineReactive(t,"reactive",e),t.reactive},r=n(2),i=(function(e){return e&&e.__esModule?e:{default:e}})(r)}),(function(e,t,n){!(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){return!!e&&"object"==typeof e}function t(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||n(e)}function n(e){return e.$$typeof===p}function r(e){return Array.isArray(e)?[]:{}}function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(r(e),e,t):e}function o(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function a(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function s(e){return Object.keys(e).concat(u(e))}function l(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=i(e[t],n)})),s(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=a(o,n)(e[o],t[o],n):r[o]=i(t[o],n)})),r}function c(e,t,n){var r,a,u;return n=n||{},n.arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||d,r=Array.isArray(t),a=Array.isArray(e),u=r===a,u?r?n.arrayMerge(e,t,n):l(e,t,n):i(t,n)}var d=function(n){return e(n)&&!t(n)},f="function"==typeof Symbol&&Symbol.for,p=f?Symbol.for("react.element"):60103;return c.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})},c}))}),(function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}t.a=r}),(function(e,t){}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default=function(e,t){return{validator:function(n){return!!t.includes(n)||(i.default.util.warn("The "+e+" prop is invalid. Given value: "+n+". Available options: "+t.join(", ")+".",void 0),!1)}}}}),(function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){Object(o.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===r(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}t.a=i;var o=n(7)}),(function(e,t,n){(function(t){var r,i,o,a,u,s=n(15),l="undefined"==typeof window?t:window,c=["moz","webkit"],d="AnimationFrame",f=l["request"+d],p=l["cancel"+d]||l["cancelRequest"+d];for(r=0;!f&&r<c.length;r++)f=l[c[r]+"Request"+d],p=l[c[r]+"Cancel"+d]||l[c[r]+"CancelRequest"+d];f&&p||(i=0,o=0,a=[],u=1e3/60,f=function(e){if(0===a.length){var t=s(),n=Math.max(0,u-(t-i));i=n+t,setTimeout((function(){var e,t=a.slice(0);for(a.length=0,e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(i)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return a.push({handle:++o,callback:e,cancelled:!1}),o},p=function(e){for(var t=0;t<a.length;t++)a[t].handle===e&&(a[t].cancelled=!0)}),e.exports=function(e){return f.call(l,e)},e.exports.cancel=function(){p.apply(l,arguments)},e.exports.polyfill=function(e){e||(e=l),e.requestAnimationFrame=f,e.cancelAnimationFrame=p}}).call(t,n(13))}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return Math.random().toString(36).slice(4)};t.default=r}),(function(e,t){var n;n=(function(){return this})();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n}),(function(e,t,n){"use strict";function r(e){n(36)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(21),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(40),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t,n){(function(t){(function(){var n,r,i,o,a,u;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n(),u=1e9*t.uptime(),a=o-u):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(t,n(16))}),(function(e,t){function n(){throw Error("setTimeout has not been defined")}function r(){throw Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){p&&h&&(p=!1,h.length?f=h.concat(f):m=-1,f.length&&u())}function u(){var e,t;if(!p){for(e=i(a),p=!0,t=f.length;t;){for(h=f,f=[];++m<t;)h&&h[m].run();m=-1,t=f.length}h=null,p=!1,o(e)}}function s(e,t){this.fun=e,this.array=t}function l(){}var c,d,f,p,h,m,v=e.exports={};!(function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}})(),f=[],p=!1,m=-1,v.nextTick=function(e){var t,n=Array(arguments.length-1);if(arguments.length>1)for(t=1;t<arguments.length;t++)n[t-1]=arguments[t];f.push(new s(e,n)),1!==f.length||p||i(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={},v.on=l,v.addListener=l,v.once=l,v.off=l,v.removeListener=l,v.removeAllListeners=l,v.emit=l,v.prependListener=l,v.prependOnceListener=l,v.listeners=function(e){return[]},v.binding=function(e){throw Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(e){throw Error("process.chdir is not supported")},v.umask=function(){return 0}}),(function(e,t,n){"use strict";function r(e){n(24)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(18),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(27),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s,l,c,d,f;Object.defineProperty(t,"__esModule",{value:!0}),i=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(11),a=r(o),u=n(1),s=r(u),l=n(12),c=r(l),d=n(23),f=r(d),t.default=new s.default({name:"MdRipple",components:{MdWave:f.default},props:{mdActive:null,mdDisabled:Boolean,mdCentered:Boolean,mdEventTrigger:{type:Boolean,default:!0}},data:function(){return{ripples:[],touchTimeout:null,eventType:null}},computed:{isDisabled:function(){return!this.$material.ripple||this.mdDisabled},rippleClasses:function(){return{"md-disabled":this.isDisabled}},waveClasses:function(){return{"md-centered":this.mdCentered}}},watch:{mdActive:function(e){var t="boolean"==typeof e,n=e instanceof MouseEvent;t&&this.mdCentered&&e?this.startRipple({type:"mousedown"}):n&&this.startRipple(e),this.$emit("update:mdActive",!1)}},methods:{touchMoveCheck:function(){window.clearTimeout(this.touchTimeout)},touchStartCheck:function(e){var t=this;this.touchTimeout=window.setTimeout((function(){t.startRipple(e)}),100)},startRipple:function(e){var t=this;(0,a.default)((function(){var n,r,i=t.eventType,o=t.isDisabled,a=t.mdCentered;o||i&&i!==e.type||(n=t.getSize(),r=null,r=a?t.getCenteredPosition(n):t.getHitPosition(e,n),t.eventType=e.type,t.ripples.push({waveStyles:t.applyStyles(r,n),uuid:(0,c.default)()}))}))},applyStyles:function(e,t){return t+="px",i({},e,{width:t,height:t})},clearWave:function(e){this.ripples=e?this.ripples.filter((function(t){return t.uuid!==e})):[]},getSize:function(){var e=this.$el,t=e.offsetWidth,n=e.offsetHeight;return Math.round(Math.max(t,n))},getCenteredPosition:function(e){var t=-e/2+"px";return{"margin-top":t,"margin-left":t}},getHitPosition:function(e,t){var n=this.$el.getBoundingClientRect(),r=e.pageY,i=e.pageX;return"touchstart"===e.type&&(r=e.changedTouches[0].pageY,i=e.changedTouches[0].pageX),{top:r-n.top-t/2-document.documentElement.scrollTop+"px",left:i-n.left-t/2-document.documentElement.scrollLeft+"px"}}}})}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(1),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default=new i.default({name:"MdWave",data:function(){return{animating:!1}},props:{waveClasses:null,waveStyles:null},mounted:function(){this.animating=!0},methods:{end:function(){this.animating=!1,this.$emit("md-end")}}})}),(function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=+e;return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}t.a=r}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),i=n(1),o=r(i),a=n(37),u=r(a),t.default=new o.default({name:"MdIcon",components:{MdSvgLoader:u.default},props:{mdSrc:String}})}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};t.default={name:"MdSVGLoader",props:{mdSrc:{type:String,required:!0}},data:function(){return{html:null,error:null}},watch:{mdSrc:function(){this.html=null,this.loadSVG()}},methods:{isSVG:function(e){return"string"==typeof e&&e.indexOf("svg")>=0},setHtml:function(e){var t=this;r[this.mdSrc].then((function(e){return t.html=e,t.$nextTick()})).then((function(){return t.$emit("md-loaded")}))},unexpectedError:function(e){this.error="Something bad happened trying to fetch "+this.mdSrc+".",e(this.error)},loadSVG:function(){var e=this;r.hasOwnProperty(this.mdSrc)?this.setHtml():r[this.mdSrc]=new Promise(function(t,n){var r=new window.XMLHttpRequest;r.open("GET",e.mdSrc,!0),r.onload=function(){var i=r.getResponseHeader("content-type");200===r.status?e.isSVG(i)?(t(r.response),e.setHtml()):(e.error="The file "+e.mdSrc+" is not a valid SVG.",n(e.error)):r.status>=400&&r.status<500?(e.error="The file "+e.mdSrc+" do not exists.",n(e.error)):e.unexpectedError(n)},r.onerror=function(){return e.unexpectedError(n)},r.onabort=function(){return e.unexpectedError(n)},r.send()})}},mounted:function(){this.loadSVG()}}}),(function(e,t,n){"use strict";function r(e){n(25)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(19),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(26),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t){}),(function(e,t){}),(function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"md-ripple",appear:""},on:{"after-enter":e.end}},[e.animating?n("span"):e._e()])},i=[],o={render:r,staticRenderFns:i};t.a=o}),(function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["md-ripple",e.rippleClasses],on:{"&touchstart":function(t){return function(t){return e.mdEventTrigger&&e.touchStartCheck(t)}.apply(null,arguments)},"&touchmove":function(t){return function(t){return e.mdEventTrigger&&e.touchMoveCheck(t)}.apply(null,arguments)},"&mousedown":function(t){return function(t){return e.mdEventTrigger&&e.startRipple(t)}.apply(null,arguments)}}},[e._t("default"),e._v(" "),e.isDisabled?e._e():n("div",e._l(e.ripples,(function(t){return n("md-wave",{key:t.uuid,class:["md-ripple-wave",e.waveClasses],style:t.waveStyles,on:{"md-end":function(n){return e.clearWave(t.uuid)}}})})),1)],2)},i=[],o={render:r,staticRenderFns:i};t.a=o}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{to:[String,Object],replace:Boolean,append:Boolean,activeClass:String,exact:Boolean,event:[String,Array],exactActiveClass:String}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){var n=e.$options.components.RouterLink||e.$options.components["router-link"];return r({},t,n.options.props)}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),i=n(2),o=r(i),a=n(11),u=r(a),t.default={name:"MdPortal",abstract:!0,props:{mdAttachToParent:Boolean,mdTarget:{type:null,validator:function(e){return!!(HTMLElement&&e&&e instanceof HTMLElement)||(o.default.util.warn("The md-target-el prop is invalid. You should pass a valid HTMLElement.",this),!1)}}},data:function(){return{leaveTimeout:null,originalParentEl:null}},computed:{transitionName:function(){var e,t,n=this._vnode.componentOptions.children[0];if(n){if(e=n.data.transition)return e.name;if(t=n.componentOptions.propsData.name)return t}return"v"},leaveClass:function(){return this.transitionName+"-leave"},leaveActiveClass:function(){return this.transitionName+"-leave-active"},leaveToClass:function(){return this.transitionName+"-leave-to"}},watch:{mdTarget:function(e,t){this.changeParentEl(e),t&&this.$forceUpdate()}},methods:{getTransitionDuration:function(e){var t=window.getComputedStyle(e).transitionDuration,n=parseFloat(t,10),r=t.match(/m?s/);return r&&(r=r[0]),"s"===r?1e3*n:"ms"===r?n:0},killGhostElement:function(e){e.parentNode&&(this.changeParentEl(this.originalParentEl),this.$options._parentElm=this.originalParentEl,e.parentNode.removeChild(e))},initDestroy:function(e){var t=this,n=this.$el;e&&this.$el.nodeType===Node.COMMENT_NODE&&(n=this.$vnode.elm),n.classList.add(this.leaveClass),n.classList.add(this.leaveActiveClass),this.$nextTick().then((function(){n.classList.add(t.leaveToClass),clearTimeout(t.leaveTimeout),t.leaveTimeout=setTimeout((function(){t.destroyElement(n)}),t.getTransitionDuration(n))}))},destroyElement:function(e){var t=this;(0,u.default)((function(){e.classList.remove(t.leaveClass),e.classList.remove(t.leaveActiveClass),e.classList.remove(t.leaveToClass),t.$emit("md-destroy"),t.killGhostElement(e)}))},changeParentEl:function(e){e&&e.appendChild(this.$el)}},mounted:function(){this.originalParentEl||(this.originalParentEl=this.$el.parentNode,this.$emit("md-initial-parent",this.$el.parentNode)),this.mdAttachToParent&&this.$el.parentNode.parentNode?this.changeParentEl(this.$el.parentNode.parentNode):document&&this.changeParentEl(this.mdTarget||document.body)},beforeDestroy:function(){this.$el.classList?this.initDestroy():this.killGhostElement(this.$el)},render:function(e){var t=this.$slots.default;if(t&&t[0])return t[0]}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s,l,c,d,f,p,h,m,v;Object.defineProperty(t,"__esModule",{value:!0}),i=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(1),a=r(o),u=n(41),s=r(u),l=n(34),c=r(l),d=n(28),f=r(d),p=n(29),h=r(p),m=n(44),v=r(m),t.default=new a.default({name:"MdButton",data:function(){return{rippleActive:!1}},components:{MdButtonContent:v.default},mixins:[c.default,s.default,f.default],props:{href:String,type:{type:String,default:"button"},disabled:Boolean},computed:{rippleWorks:function(){return this.mdRipple&&!this.disabled},isRouterLink:function(){return this.$router&&this.to}},render:function(e){var t,n,r=this,o=e("md-button-content",{attrs:{mdRipple:this.mdRipple,disabled:this.disabled},props:{mdRippleActive:this.rippleActive},on:{"update:mdRippleActive":function(e){return r.rippleActive=e}}},this.$slots.default),a={staticClass:"md-button",class:[this.$mdActiveTheme,{"md-ripple-off":!this.mdRipple,"md-focused":this.mdHasFocus}],attrs:i({},this.attrs,{href:this.href,disabled:this.disabled,type:!this.href&&(this.type||"button")}),on:i({},this.$listeners,{touchstart:function(e){r.rippleWorks&&(r.rippleActive=e),r.$listeners.touchstart&&r.$listeners.touchstart(e)},touchmove:function(e){r.rippleWorks&&(r.rippleActive=e),r.$listeners.touchmove&&r.$listeners.touchmove(e)},mousedown:function(e){r.rippleWorks&&(r.rippleActive=e),r.$listeners.mousedown&&r.$listeners.mousedown(e)}})},u="button";return this.href?u="a":this.isRouterLink&&(this.$options.props=(0,h.default)(this,this.$options.props),u="router-link",t=this.$props.exactActiveClass,n=(this.$props.activeClass||this.$material.router.linkActiveClass)+" md-active",a.props=i({},this.$props,{exactActiveClass:t,activeClass:n}),delete a.props.type,delete a.attrs.type,delete a.props.href,delete a.attrs.href),e(u,a,[o])}})}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(17),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdButtonContent",components:{MdRipple:i.default},props:{mdRipple:Boolean,mdRippleActive:null,disabled:Boolean}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),i=n(34),o=r(i),a=n(184),u=r(a),t.default={mixins:[o.default],components:{MdListItemContent:u.default},props:{disabled:Boolean},computed:{isDisabled:function(){return!this.mdRipple||this.disabled}}}}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(17),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={components:{MdRipple:i.default},props:{mdRipple:{type:Boolean,default:!0}}}}),(function(e,t,n){"use strict";function r(e){n(43)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(31),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(0),s=null,l=!1,c=r,d=null,f=null,p=u(o.a,s,l,c,d,f),t.default=p.exports}),(function(e,t){}),(function(e,t,n){"use strict";function r(e){n(38)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(22),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(39),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t){}),(function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{staticClass:"md-svg-loader",domProps:{innerHTML:e._s(e.html)}})},i=[],o={render:r,staticRenderFns:i};t.a=o}),(function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.mdSrc?n("md-svg-loader",{staticClass:"md-icon md-icon-image",class:[e.$mdActiveTheme],attrs:{"md-src":e.mdSrc},on:{"md-loaded":function(t){return e.$emit("md-loaded")}}}):n("i",{staticClass:"md-icon md-icon-font",class:[e.$mdActiveTheme]},[e._t("default")],2)},i=[],o={render:r,staticRenderFns:i};t.a=o}),(function(e,t,n){"use strict";function r(){try{var e=Object.defineProperty({},"passive",{get:function(){v={passive:!0}}});window.addEventListener("ghost",null,e)}catch(e){}}function i(e){var t=(e.keyCode,e.target);b.currentElement=t}function o(e){b.currentElement=null}function a(){m.addEventListener("keyup",i)}function u(){m.addEventListener("pointerup",o)}function s(){m.addEventListener("MSPointerUp",o)}function l(){m.addEventListener("mouseup",o),"ontouchend"in window&&m.addEventListener("touchend",o,v)}function c(){window.PointerEvent?u():window.MSPointerEvent?s():l(),a()}function d(){h||(m=document.body,r(),c(),h=!0)}var f,p,h,m,v,b;Object.defineProperty(t,"__esModule",{value:!0}),f=n(5),p=(function(e){return e&&e.__esModule?e:{default:e}})(f),h=!1,m=null,v=!1,b=new p.default({currentElement:null}),t.default={data:function(){return{mdHasFocus:!1}},computed:{focusedElement:function(){return b.currentElement}},watch:{focusedElement:function(e){this.mdHasFocus=e===this.$el}},mounted:function(){d()}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s,l,c;Object.defineProperty(t,"__esModule",{value:!0}),i=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(69),a=r(o),u=n(6),s=r(u),l=n(30),c=r(l),t.default={name:"MdPopover",abstract:!0,components:{MdPortal:c.default},props:{mdActive:Boolean,mdSettings:{type:Object,default:function(){return{}}}},data:function(){return{popperInstance:null,originalParentEl:null,shouldRender:!1,shouldActivate:!1}},computed:{popoverClasses:function(){return this.shouldActivate?"md-active":this.shouldRender?"md-rendering":""}},watch:{mdActive:{immediate:!0,handler:function(e){this.shouldRender=e,e?this.bindPopper():this.shouldActivate=!1}},mdSettings:function(){this.popperInstance&&this.createPopper()}},methods:{getPopperOptions:function(){var e=this;return{placement:"bottom",modifiers:{preventOverflow:{boundariesElement:"viewport",padding:16},computeStyle:{gpuAcceleration:!1}},onCreate:function(){e.shouldActivate=!0,e.$emit("md-active")}}},setOriginalParent:function(e){this.originalParentEl||(this.originalParentEl=e)},killPopper:function(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)},bindPopper:function(){var e=this;this.$nextTick().then((function(){e.originalParentEl&&e.createPopper()}))},createPopper:function(){if(this.mdSettings){var e=(0,s.default)(this.getPopperOptions(),this.mdSettings);this.$el.nodeType!==Node.COMMENT_NODE&&(this.popperInstance=new a.default(this.originalParentEl,this.$el,e))}},resetPopper:function(){this.popperInstance&&(this.killPopper(),this.createPopper())}},beforeDestroy:function(){this.killPopper()},mounted:function(){this.resetPopper()},render:function(e){return e(c.default,{props:i({},this.$attrs),on:i({},this.$listeners,{"md-initial-parent":this.setOriginalParent,"md-destroy":this.killPopper})},this.$slots.default)}}}),(function(e,t){}),(function(e,t,n){"use strict";function r(e){n(45)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(32),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(46),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t){}),(function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("md-ripple",{attrs:{"md-disabled":!e.mdRipple||e.disabled,"md-event-trigger":!1,"md-active":e.mdRippleActive},on:{"update:mdActive":function(t){return e.$emit("update:mdRippleActive",t)}}},[n("div",{staticClass:"md-button-content"},[e._t("default")],2)])},i=[],o={render:r,staticRenderFns:i};t.a=o}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default={props:{value:{},placeholder:String,name:String,maxlength:[String,Number],readonly:Boolean,required:Boolean,disabled:Boolean,mdCounter:[String,Number]},data:function(){return{localValue:this.value,textareaHeight:!1}},computed:{model:{get:function(){return this.localValue},set:function(e){var t=this;"inputevent"!==(""+e.constructor).match(/function (\w*)/)[1].toLowerCase()&&this.$nextTick((function(){t.localValue=e,t.MdField.hasInvalidValue=t.isInvalidValue()}))}},clear:function(){return this.MdField.clear},attributes:function(){return r({},this.$attrs,{type:this.type,id:this.id,name:this.name,disabled:this.disabled,required:this.required,placeholder:this.placeholder,readonly:this.readonly,maxlength:this.maxlength})}},watch:{model:function(){this.setFieldValue()},clear:function(e){e&&this.clearField()},placeholder:function(){this.setPlaceholder()},disabled:function(){this.setDisabled()},required:function(){this.setRequired()},maxlength:function(){this.setMaxlength()},mdCounter:function(){this.setMaxlength()},localValue:function(e){this.$emit("input",e)},value:function(e){this.localValue=e}},methods:{clearField:function(){this.$el.value="",this.model="",this.setFieldValue()},setLabelFor:function(){var e,t;this.$el.parentNode&&(e=this.$el.parentNode.querySelector("label"))&&(!(t=e.getAttribute("for"))||t.indexOf("md-")>=0)&&e.setAttribute("for",this.id)},setFormResetListener:function(){if(this.$el.form){this.$el.form.addEventListener("reset",this.onParentFormReset)}},removeFormResetListener:function(){if(this.$el.form){this.$el.form.removeEventListener("reset",this.onParentFormReset)}},onParentFormReset:function(){this.clearField()},isInvalidValue:function(){return this.$el.validity?this.$el.validity.badInput:this.$el.querySelector("input").validity.badInput},setFieldValue:function(){this.MdField.value=this.model},setPlaceholder:function(){this.MdField.placeholder=!!this.placeholder},setDisabled:function(){this.MdField.disabled=!!this.disabled},setRequired:function(){this.MdField.required=!!this.required},setMaxlength:function(){this.mdCounter?this.MdField.counter=parseInt(this.mdCounter,10):this.MdField.maxlength=parseInt(this.maxlength,10)},onFocus:function(){this.MdField.focused=!0},onBlur:function(){this.MdField.focused=!1}},created:function(){this.setFieldValue(),this.setPlaceholder(),this.setDisabled(),this.setRequired(),this.setMaxlength()},mounted:function(){this.setLabelFor(),this.setFormResetListener()},beforeDestroy:function(){this.removeFormResetListener()}}}),(function(e,t,n){"use strict";function r(){return i}t.a=r;var i={}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{isAssetIcon:function(e){return/\w+[/\\.]\w+/.test(e)}}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("MutationObserver"in window){var r=new window.MutationObserver(n);return r.observe(e,t),{disconnect:function(){r.disconnect()}}}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s,l,c,d;Object.defineProperty(t,"__esModule",{value:!0}),i=n(1),o=r(i),a=n(67),u=r(a),s=n(89),l=r(s),c=n(91),d=r(c),t.default=new o.default({name:"MdField",components:{MdClearIcon:u.default,MdPasswordOffIcon:l.default,MdPasswordOnIcon:d.default},props:{mdInline:Boolean,mdClearable:Boolean,mdCounter:{type:Boolean,default:!0},mdTogglePassword:{type:Boolean,default:!0}},data:function(){return{showPassword:!1,MdField:{value:null,focused:!1,highlighted:!1,disabled:!1,required:!1,placeholder:!1,textarea:!1,autogrow:!1,maxlength:null,counter:null,password:null,togglePassword:!1,clear:!1,file:!1,hasInvalidValue:!1}}},provide:function(){return{MdField:this.MdField}},computed:{stringValue:function(){return(this.MdField.value||0===this.MdField.value)&&""+this.MdField.value},hasCounter:function(){return this.mdCounter&&(this.MdField.maxlength||this.MdField.counter)},hasPasswordToggle:function(){return this.mdTogglePassword&&this.MdField.password},hasValue:function(){return this.stringValue&&this.stringValue.length>0||this.MdField.hasInvalidValue},valueLength:function(){return this.stringValue?this.stringValue.length:0},fieldClasses:function(){return{"md-inline":this.mdInline,"md-clearable":this.mdClearable,"md-focused":this.MdField.focused,"md-highlight":this.MdField.highlighted,"md-disabled":this.MdField.disabled,"md-required":this.MdField.required,"md-has-value":this.hasValue,"md-has-placeholder":this.MdField.placeholder,"md-has-textarea":this.MdField.textarea,"md-has-password":this.MdField.password,"md-has-file":this.MdField.file,"md-has-select":this.MdField.select,"md-autogrow":this.MdField.autogrow}}},methods:{clearInput:function(){var e=this;this.MdField.clear=!0,this.$emit("md-clear"),this.$nextTick().then((function(){e.MdField.clear=!1}))},togglePassword:function(){this.MdField.togglePassword=!this.MdField.togglePassword},onBlur:function(){this.MdField.highlighted=!1}}})}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(14),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdClearIcon",components:{MdIcon:i.default}}}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(14),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdPasswordOffIcon",components:{MdIcon:i.default}}}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(14),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdPasswordOnIcon",components:{MdIcon:i.default}}}),(function(e,t,n){"use strict";var r,i,o,a,u,s,l,c,d,f;Object.defineProperty(t,"__esModule",{value:!0}),r=n(56),i=n.n(r);for(o in r)"default"!==o&&(function(e){n.d(t,e,(function(){return r[e]}))})(o);a=n(94),u=n(0),s=!1,l=null,c=null,d=null,f=u(i.a,a.a,s,l,c,d),t.default=f.exports}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u,s,l,c;Object.defineProperty(t,"__esModule",{value:!0}),i=Object.assign||function(e){var t,n,r;for(t=1;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(1),a=r(o),u=n(12),s=r(u),l=n(47),c=r(l),t.default=new a.default({name:"MdInput",mixins:[c.default],inject:["MdField"],props:{id:{type:String,default:function(){return"md-input-"+(0,s.default)()}},type:{type:String,default:"text"}},computed:{toggleType:function(){return this.MdField.togglePassword},isPassword:function(){return"password"===this.type},listeners:function(){var e=i({},this.$listeners);return delete e.input,e}},watch:{type:function(e){this.setPassword(this.isPassword)},toggleType:function(e){e?this.setTypeText():this.setTypePassword()}},methods:{setPassword:function(e){this.MdField.password=e,this.MdField.togglePassword=!1},setTypePassword:function(){this.$el.type="password"},setTypeText:function(){this.$el.type="text"}},created:function(){this.setPassword(this.isPassword)},beforeDestroy:function(){this.setPassword(!1)}})}),(function(e,t,n){"use strict";function r(e){var t,n,r,a;return Object(o.a)(1,arguments),t=1,n=Object(i.a)(e),r=n.getUTCDay(),a=(r<t?7:0)+r-t,n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}var i,o;t.a=r,i=n(10),o=n(7)}),(function(e,t,n){"use strict";function r(e,t){var n,r,s,l,c,d,f,p,h,m,v,b,y;if(Object(o.a)(1,arguments),h=Object(u.a)(),!((m=Object(a.a)(null!==(n=null!==(r=null!==(s=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t?void 0:null===(c=t.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==r?r:null===(f=h.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0))>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");return v=Object(i.a)(e),b=v.getUTCDay(),y=(b<m?7:0)+b-m,v.setUTCDate(v.getUTCDate()-y),v.setUTCHours(0,0,0,0),v}var i,o,a,u;t.a=r,i=n(10),o=n(7),a=n(20),u=n(48)}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(30),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdOverlay",components:{MdPortal:i.default},props:{mdActive:Boolean,mdAttachToParent:Boolean,mdFixed:Boolean},computed:{overlayClasses:function(){return{"md-fixed":this.mdFixed}}}}}),(function(e,t,n){"use strict";function r(e){n(68)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(42),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(0),s=null,l=!1,c=r,d=null,f=null,p=u(o.a,s,l,c,d,f),t.default=p.exports}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(1),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default=new i.default({name:"MdList",data:function(){return{MdList:{expandable:[],expandATab:this.expandATab,pushExpandable:this.pushExpandable,removeExpandable:this.removeExpandable}}},provide:function(){return{MdList:this.MdList}},props:{mdExpandSingle:{default:!1}},methods:{expandATab:function(e){if(this.mdExpandSingle&&e){this.MdList.expandable.filter((function(t){return t!==e})).forEach((function(e){return e.close()}))}},pushExpandable:function(e){var t=this.MdList.expandable;t.find((function(t){return t===e}))||(this.MdList.expandable=t.concat([e]))},removeExpandable:function(e){var t=this.MdList.expandable;t.find((function(t){return t===e}))&&(this.MdList.expandable=t.filter((function(t){return t!==e})))}}})}),(function(e,t,n){"use strict";function r(e){n(96)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(59),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(97),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=(function(e){return e&&e.__esModule?e:{default:e}})(r),t.default={name:"MdFocusTrap",abstract:!0,methods:{setFocus:function(){var e=this;window.setTimeout((function(){e.$el.tagName&&(e.$el.setAttribute("tabindex","-1"),e.$el.focus())}),20)}},mounted:function(){this.setFocus()},render:function(){try{var e=this.$slots.default;if(!e)return null;if(e.length>1)throw Error();return e[0]}catch(e){i.default.util.warn("MdFocusTrap can only render one, and exactly one child component.",this)}return null}}}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function i(){e.removeEventListener(t,n)}return t&&t.indexOf("click")>=0&&/iP/i.test(navigator.userAgent)&&(e.style.cursor="pointer"),e.addEventListener(t,n,r||!1),{destroy:i}}}),(function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o,a,u;Object.defineProperty(t,"__esModule",{value:!0}),i=n(11),o=r(i),a=n(64),u=r(a),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=arguments[1];return{destroy:(0,u.default)(e,"resize",(function(){(0,o.default)(t)}),{passive:!0}).destroy}}}),(function(e,t,n){"use strict";function r(e){n(87)}var i,o,a,u,s,l,c,d,f,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(51),o=n.n(i);for(a in i)"default"!==a&&(function(e){n.d(t,e,(function(){return i[e]}))})(a);u=n(93),s=n(0),l=!1,c=r,d=null,f=null,p=s(o.a,u.a,l,c,d,f),t.default=p.exports}),(function(e,t,n){"use strict";var r,i,o,a,u,s,l,c,d,f;Object.defineProperty(t,"__esModule",{value:!0}),r=n(52),i=n.n(r);for(o in r)"default"!==o&&(function(e){n.d(t,e,(function(){return r[e]}))})(o);a=n(88),u=n(0),s=!1,l=null,c=null,d=null,f=u(i.a,a.a,s,l,c,d),t.default=f.exports}),(function(e,t){}),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function n(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}function r(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),fe))}}function i(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function o(e,t){var n,r;return 1!==e.nodeType?[]:(n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null),t?r[t]:r)}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,r=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+r)?e:u(a(e))}function s(e){return e&&e.referenceNode?e.referenceNode:e}function l(e){return 11===e?me:10===e?ve:me||ve}function c(e){var t,n,r;if(!e)return document.documentElement;for(t=l(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;return r=n&&n.nodeName,r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?c(n):n:e?e.ownerDocument.documentElement:document.documentElement}function d(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||c(e.firstElementChild)===e)}function f(e){return null!==e.parentNode?f(e.parentNode):e}function p(e,t){var n,r,i,o,a,u;return e&&e.nodeType&&t&&t.nodeType?(n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange(),o.setStart(r,0),o.setEnd(i,0),a=o.commonAncestorContainer,e!==a&&t!==a||r.contains(i)?d(a)?a:c(a):(u=f(e),u.host?p(u.host,t):p(e,f(t).host))):document.documentElement}function h(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===r?"scrollTop":"scrollLeft",o=e.nodeName;return"BODY"===o||"HTML"===o?(t=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||t,n[i]):e[i]}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(t,"top"),i=h(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function y(e){var t=e.body,n=e.documentElement,r=l(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}function g(e){return _e({},e,{right:e.left+e.width,bottom:e.top+e.height})}function _(e){var t,n,r,i,a,u,s,c,d,f={};try{l(10)?(f=e.getBoundingClientRect(),t=h(e,"top"),n=h(e,"left"),f.top+=t,f.left+=n,f.bottom+=t,f.right+=n):f=e.getBoundingClientRect()}catch(e){}return r={left:f.left,top:f.top,width:f.right-f.left,height:f.bottom-f.top},i="HTML"===e.nodeName?y(e.ownerDocument):{},a=i.width||e.clientWidth||r.width,u=i.height||e.clientHeight||r.height,s=e.offsetWidth-a,c=e.offsetHeight-u,(s||c)&&(d=o(e),s-=v(d,"x"),c-=v(d,"y"),r.width-=s,r.height-=c),g(r)}function w(e,t){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=l(10),c="HTML"===t.nodeName,d=_(e),f=_(t),p=u(e),h=o(t),v=parseFloat(h.borderTopWidth),b=parseFloat(h.borderLeftWidth);return a&&c&&(f.top=Math.max(f.top,0),f.left=Math.max(f.left,0)),n=g({top:d.top-f.top-v,left:d.left-f.left-b,width:d.width,height:d.height}),n.marginTop=0,n.marginLeft=0,!s&&c&&(r=parseFloat(h.marginTop),i=parseFloat(h.marginLeft),n.top-=v-r,n.bottom-=v-r,n.left-=b-i,n.right-=b-i,n.marginTop=r,n.marginLeft=i),(s&&!a?t.contains(p):t===p&&"BODY"!==p.nodeName)&&(n=m(n,t)),n}function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=w(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),u=t?0:h(n,"left");return g({top:a-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:i,height:o})}function O(e){var t,n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===o(e,"position")||!!(t=a(e))&&O(t))}function S(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,n,r){var i,o,l,c,d,f,h=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m={top:0,left:0},v=h?S(e):p(e,s(t));return"viewport"===r?m=M(v,h):(i=void 0,"scrollParent"===r?(i=u(a(t)),"BODY"===i.nodeName&&(i=e.ownerDocument.documentElement)):i="window"===r?e.ownerDocument.documentElement:r,o=w(i,v,h),"HTML"!==i.nodeName||O(v)?m=o:(l=y(e.ownerDocument),c=l.height,d=l.width,m.top+=o.top-o.marginTop,m.bottom=c+o.top,m.left+=o.left-o.marginLeft,m.right=d+o.left)),n=n||0,f="number"==typeof n,m.left+=f?n:n.left||0,m.top+=f?n:n.top||0,m.right-=f?n:n.right||0,m.bottom-=f?n:n.bottom||0,m}function x(e){return e.width*e.height}function P(e,t,n,r,i){var o,a,u,s,l,c,d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return-1===e.indexOf("auto")?e:(o=C(n,r,d,i),a={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},u=Object.keys(a).map((function(e){return _e({key:e},a[e],{area:x(a[e])})})).sort((function(e,t){return t.area-e.area})),s=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=s.length>0?s[0].key:u[0].key,c=e.split("-")[1],l+(c?"-"+c:""))}function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return w(n,r?S(t):p(t,s(n)),r)}function j(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+r}}function k(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function D(e,t,n){var r,i,o,a,u,s,l;return n=n.split("-")[0],r=j(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",u=o?"left":"top",s=o?"height":"width",l=o?"width":"height",i[a]=t[a]+t[s]/2-r[s]/2,i[u]=n===u?t[u]-r[l]:t[k(u)],i}function E(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function $(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=E(e,(function(e){return e[t]===n}));return e.indexOf(r)}function A(e,t,n){return(void 0===n?e:e.slice(0,$(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=g(t.offsets.popper),t.offsets.reference=g(t.offsets.reference),t=n(t,e))})),t}function R(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=T(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=P(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){var t,n,r,i=[!1,"ms","Webkit","Moz","O"],o=e.charAt(0).toUpperCase()+e.slice(1);for(t=0;t<i.length;t++)if(n=i[t],r=n?""+n+o:e,void 0!==document.body.style[r])return r;return null}function F(){return this.state.isDestroyed=!0,I(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function L(e){var t=e.ownerDocument;return t?t.defaultView:window}function N(e,t,n,r){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),i||N(u(o.parentNode),t,n,r),r.push(o)}function H(e,t,n,r){n.updateBound=r,L(e).addEventListener("resize",n.updateBound,{passive:!0});var i=u(e);return N(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function V(){this.state.eventsEnabled||(this.state=H(this.reference,this.options,this.state,this.scheduleUpdate))}function q(e,t){return L(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function z(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdat