vue-material
Version:
Material Design for Vue.js
6 lines • 39.1 kB
JavaScript
/*!
* vue-material v1.0.0-beta-16
* Made with <3 by marcosmoura 2023
* Released under the MIT License.
*/
!(function(e,t){var n,o;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(o in n)("object"==typeof exports?exports:e)[o]=n[o]}})("undefined"!=typeof self?self:this,(function(e){return (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},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=554)})({0:function(e,t){e.exports=function(e,t,n,o,r,i){var a,s,u,l,f,c=e=e||{},d=typeof e.default;return"object"!==d&&"function"!==d||(a=e,c=e.default),s="function"==typeof c?c.options:c,t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns,s._compiled=!0),n&&(s.functional=!0),r&&(s._scopeId=r),i?(u=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},s._ssrRegister=u):o&&(u=o),u&&(l=s.functional,f=l?s.render:s.beforeCreate,l?(s._injectStyles=u,s.render=function(e,t){return u.call(t),f(e,t)}):s.beforeCreate=f?[].concat(f,u):[u]),{esModule:a,exports:c,options:s}}},1:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={props:{mdTheme:null},computed:{$mdActiveTheme:function(){var e=i.default.enabled,t=i.default.getThemeName,n=i.default.getAncestorTheme;return e&&!1!==this.mdTheme?t(this.mdTheme||n(this)):null}}};return(0,s.default)(t,e)},r=n(4),i=o(r),a=n(6),s=o(a)},11:function(e,t,n){(function(t){var o,r,i,a,s,u=n(15),l="undefined"==typeof window?t:window,f=["moz","webkit"],c="AnimationFrame",d=l["request"+c],p=l["cancel"+c]||l["cancelRequest"+c];for(o=0;!d&&o<f.length;o++)d=l[f[o]+"Request"+c],p=l[f[o]+"Cancel"+c]||l[f[o]+"CancelRequest"+c];d&&p||(r=0,i=0,a=[],s=1e3/60,d=function(e){if(0===a.length){var t=u(),n=Math.max(0,s-(t-r));r=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(r)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return a.push({handle:++i,callback:e,cancelled:!1}),i},p=function(e){for(var t=0;t<a.length;t++)a[t].handle===e&&(a[t].cancelled=!0)}),e.exports=function(e){return d.call(l,e)},e.exports.cancel=function(){p.apply(l,arguments)},e.exports.polyfill=function(e){e||(e=l),e.requestAnimationFrame=d,e.cancelAnimationFrame=p}}).call(t,n(13))},13: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},15:function(e,t,n){(function(t){(function(){var n,o,r,i,a,s;"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},o=t.hrtime,n=function(){var e;return e=o(),1e9*e[0]+e[1]},i=n(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(t,n(16))},16:function(e,t){function n(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function r(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(c===clearTimeout)return clearTimeout(e);if((c===o||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{return c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}function a(){p&&h&&(p=!1,h.length?d=h.concat(d):m=-1,d.length&&s())}function s(){var e,t;if(!p){for(e=r(a),p=!0,t=d.length;t;){for(h=d,d=[];++m<t;)h&&h[m].run();m=-1,t=d.length}h=null,p=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var f,c,d,p,h,m,v=e.exports={};!(function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{c="function"==typeof clearTimeout?clearTimeout:o}catch(e){c=o}})(),d=[],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];d.push(new u(e,n)),1!==d.length||p||r(s)},u.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}},2:function(t,n){t.exports=e},238:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s,u,l,f;Object.defineProperty(t,"__esModule",{value:!0}),r=Object.assign||function(e){var t,n,o;for(t=1;t<arguments.length;t++){n=arguments[t];for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=n(1),a=o(i),s=n(9),u=o(s),l=n(60),f=o(l),t.default=new a.default({name:"MdTooltip",components:{MdPopover:f.default},props:{mdActive:Boolean,mdDelay:{type:[String,Number],default:0},mdDirection:r({type:String,default:"bottom"},(0,u.default)("md-direction",["top","right","bottom","left"]))},data:function(){return{shouldRender:!1,targetEl:null}},computed:{tooltipClasses:function(){return"md-tooltip-"+this.mdDirection},tooltipStyles:function(){return"transition-delay: "+this.mdDelay+"ms"},popperSettings:function(){return{placement:this.mdDirection,modifiers:{offset:{offset:"0, 16"}}}}},watch:{mdActive:function(){this.shouldRender=this.mdActive},shouldRender:function(e){this.$emit("update:mdActive",e)}},methods:{show:function(){this.shouldRender=!0},hide:function(){this.shouldRender=!1}},mounted:function(){var e=this;this.$nextTick().then((function(){e.shouldRender=e.mdActive,e.targetEl=e._vnode.componentInstance.originalParentEl,e.targetEl&&(e.targetEl.addEventListener("mouseenter",e.show,!1),e.targetEl.addEventListener("mouseleave",e.hide,!1))}))},beforeDestroy:function(){this.targetEl&&(this.targetEl.removeEventListener("mouseenter",this.show),this.targetEl.removeEventListener("mouseleave",this.hide))}})},3:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s,u;Object.defineProperty(t,"__esModule",{value:!0}),n(8),r=n(5),i=o(r),a=n(4),s=o(a),u=function(){var e=new i.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 s.default.metaColors},set:function(e){s.default.metaColors=e}},theme:{get:function(){return s.default.theme},set:function(e){s.default.theme=e}},enabled:{get:function(){return s.default.enabled},set:function(e){s.default.enabled=e}}}),e},t.default=function(e){e.material||(e.material=u(),e.prototype.$material=e.material)}},30:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=o(r),a=n(11),s=o(a),t.default={name:"MdPortal",abstract:!0,props:{mdAttachToParent:Boolean,mdTarget:{type:null,validator:function(e){return!!(HTMLElement&&e&&e instanceof HTMLElement)||(i.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),o=t.match(/m?s/);return o&&(o=o[0]),"s"===o?1e3*n:"ms"===o?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,s.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]}}},4:function(e,t,n){"use strict";var o,r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),o=n(2),r=(function(e){return e&&e.__esModule?e:{default:e}})(o),i=null,a=null,s=null,t.default=new r.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,o=this.themeTarget;e=n(e),o.classList.remove(n(t)),o.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(o){if(o){var r=o.mdTheme,i=o.$parent;return r&&r!==t?r:e(i)}return n.theme})(e.$parent)):null},getThemeName:function(e){var t=e||this.theme;return this.prefix+t},setMicrosoftColors:function(e){i&&i.setAttribute("content",e)},setThemeColors:function(e){a&&a.setAttribute("content",e)},setMaskColors:function(e){s&&s.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;i=document.querySelector('[name="msapplication-TileColor"]'),a=document.querySelector('[name="theme-color"]'),s=document.querySelector('[rel="mask-icon"]'),this.enabled&&this.metaColors&&window.addEventListener("load",(function(){e.setHtmlMetaColors(e.fullThemeName)}))}})},42:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s,u,l,f;Object.defineProperty(t,"__esModule",{value:!0}),r=Object.assign||function(e){var t,n,o;for(t=1;t<arguments.length;t++){n=arguments[t];for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=n(69),a=o(i),s=n(6),u=o(s),l=n(30),f=o(l),t.default={name:"MdPopover",abstract:!0,components:{MdPortal:f.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,u.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(f.default,{props:r({},this.$attrs),on:r({},this.$listeners,{"md-initial-parent":this.setOriginalParent,"md-destroy":this.killPopper})},this.$slots.default)}}},5:function(e,t,n){"use strict";var o,r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return r.default.util.defineReactive(t,"reactive",e),t.reactive},o=n(2),r=(function(e){return e&&e.__esModule?e:{default:e}})(o)},502:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(3),i=o(r),a=n(503),s=o(a),t.default=function(e){(0,i.default)(e),e.component(s.default.name,s.default)}},503:function(e,t,n){"use strict";function o(e){n(504)}var r,i,a,s,u,l,f,c,d,p;Object.defineProperty(t,"__esModule",{value:!0}),r=n(238),i=n.n(r);for(a in r)"default"!==a&&(function(e){n.d(t,e,(function(){return r[e]}))})(a);s=n(505),u=n(0),l=!1,f=o,c=null,d=null,p=u(i.a,s.a,l,f,c,d),t.default=p.exports},504:function(e,t){},505:function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("md-popover",{attrs:{"md-settings":e.popperSettings,"md-active":e.shouldRender}},[e.shouldRender?n("transition",{attrs:{name:"md-tooltip"}},[n("div",{staticClass:"md-tooltip",class:[e.tooltipClasses,e.$mdActiveTheme],style:e.tooltipStyles},[e._t("default")],2)]):e._e()],1)},r=[],i={render:o,staticRenderFns:r};t.a=i},554:function(e,t,n){e.exports=n(502)},6: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 o(e){return Array.isArray(e)?[]:{}}function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?f(o(e),e,t):e}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function a(e,t){if(!t.customMerge)return f;var n=t.customMerge(e);return"function"==typeof n?n:f}function s(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function u(e){return Object.keys(e).concat(s(e))}function l(e,t,n){var o={};return n.isMergeableObject(e)&&u(e).forEach((function(t){o[t]=r(e[t],n)})),u(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?o[i]=a(i,n)(e[i],t[i],n):o[i]=r(t[i],n)})),o}function f(e,t,n){var o,a,s;return n=n||{},n.arrayMerge=n.arrayMerge||i,n.isMergeableObject=n.isMergeableObject||c,o=Array.isArray(t),a=Array.isArray(e),s=o===a,s?o?n.arrayMerge(e,t,n):l(e,t,n):r(t,n)}var c=function(n){return e(n)&&!t(n)},d="function"==typeof Symbol&&Symbol.for,p=d?Symbol.for("react.element"):60103;return f.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce((function(e,n){return f(e,n,t)}),{})},f}))},60:function(e,t,n){"use strict";function o(e){n(68)}var r,i,a,s,u,l,f,c,d,p;Object.defineProperty(t,"__esModule",{value:!0}),r=n(42),i=n.n(r);for(a in r)"default"!==a&&(function(e){n.d(t,e,(function(){return r[e]}))})(a);s=n(0),u=null,l=!1,f=o,c=null,d=null,p=s(i.a,u,l,f,c,d),t.default=p.exports},68:function(e,t){},69: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 o(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),de))}}function r(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function i(e,t){var n,o;return 1!==e.nodeType?[]:(n=e.ownerDocument.defaultView,o=n.getComputedStyle(e,null),t?o[t]:o)}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=i(e),n=t.overflow,o=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+o)?e:s(a(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}function l(e){return 11===e?me:10===e?ve:me||ve}function f(e){var t,n,o;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 o=n&&n.nodeName,o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function c(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||f(e.firstElementChild)===e)}function d(e){return null!==e.parentNode?d(e.parentNode):e}function p(e,t){var n,o,r,i,a,s;return e&&e.nodeType&&t&&t.nodeType?(n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange(),i.setStart(o,0),i.setEnd(r,0),a=i.commonAncestorContainer,e!==a&&t!==a||o.contains(r)?c(a)?a:f(a):(s=d(e),s.host?p(s.host,t):p(e,d(t).host))):document.documentElement}function h(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===o?"scrollTop":"scrollLeft",i=e.nodeName;return"BODY"===i||"HTML"===i?(t=e.ownerDocument.documentElement,n=e.ownerDocument.scrollingElement||t,n[r]):e[r]}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=h(t,"top"),r=h(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function v(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function g(e,t,n,o){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(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function b(e){var t=e.body,n=e.documentElement,o=l(10)&&getComputedStyle(n);return{height:g("Height",t,n,o),width:g("Width",t,n,o)}}function y(e){return we({},e,{right:e.left+e.width,bottom:e.top+e.height})}function w(e){var t,n,o,r,a,s,u,f,c,d={};try{l(10)?(d=e.getBoundingClientRect(),t=h(e,"top"),n=h(e,"left"),d.top+=t,d.left+=n,d.bottom+=t,d.right+=n):d=e.getBoundingClientRect()}catch(e){}return o={left:d.left,top:d.top,width:d.right-d.left,height:d.bottom-d.top},r="HTML"===e.nodeName?b(e.ownerDocument):{},a=r.width||e.clientWidth||o.width,s=r.height||e.clientHeight||o.height,u=e.offsetWidth-a,f=e.offsetHeight-s,(u||f)&&(c=i(e),u-=v(c,"x"),f-=v(c,"y"),o.width-=u,o.height-=f),y(o)}function E(e,t){var n,o,r,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=l(10),f="HTML"===t.nodeName,c=w(e),d=w(t),p=s(e),h=i(t),v=parseFloat(h.borderTopWidth),g=parseFloat(h.borderLeftWidth);return a&&f&&(d.top=Math.max(d.top,0),d.left=Math.max(d.left,0)),n=y({top:c.top-d.top-v,left:c.left-d.left-g,width:c.width,height:c.height}),n.marginTop=0,n.marginLeft=0,!u&&f&&(o=parseFloat(h.marginTop),r=parseFloat(h.marginLeft),n.top-=v-o,n.bottom-=v-o,n.left-=g-r,n.right-=g-r,n.marginTop=o,n.marginLeft=r),(u&&!a?t.contains(p):t===p&&"BODY"!==p.nodeName)&&(n=m(n,t)),n}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=E(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),s=t?0:h(n,"left");return y({top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i})}function O(e){var t,n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===i(e,"position")||!!(t=a(e))&&O(t))}function M(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===i(t,"transform");)t=t.parentElement;return t||document.documentElement}function x(e,t,n,o){var r,i,l,f,c,d,h=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m={top:0,left:0},v=h?M(e):p(e,u(t));return"viewport"===o?m=T(v,h):(r=void 0,"scrollParent"===o?(r=s(a(t)),"BODY"===r.nodeName&&(r=e.ownerDocument.documentElement)):r="window"===o?e.ownerDocument.documentElement:o,i=E(r,v,h),"HTML"!==r.nodeName||O(v)?m=i:(l=b(e.ownerDocument),f=l.height,c=l.width,m.top+=i.top-i.marginTop,m.bottom=f+i.top,m.left+=i.left-i.marginLeft,m.right=c+i.left)),n=n||0,d="number"==typeof n,m.left+=d?n:n.left||0,m.top+=d?n:n.top||0,m.right-=d?n:n.right||0,m.bottom-=d?n:n.bottom||0,m}function C(e){return e.width*e.height}function P(e,t,n,o,r){var i,a,s,u,l,f,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return-1===e.indexOf("auto")?e:(i=x(n,o,c,r),a={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},s=Object.keys(a).map((function(e){return we({key:e},a[e],{area:C(a[e])})})).sort((function(e,t){return t.area-e.area})),u=s.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),l=u.length>0?u[0].key:s[0].key,f=e.split("-")[1],l+(f?"-"+f:""))}function _(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,o?M(t):p(t,u(n)),o)}function L(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),o=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),r=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+o}}function A(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 N(e,t,n){var o,r,i,a,s,u,l;return n=n.split("-")[0],o=L(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",l=i?"width":"height",r[a]=t[a]+t[u]/2-o[u]/2,r[s]=n===s?t[s]-o[l]:t[A(s)],r}function S(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function D(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=S(e,(function(e){return e[t]===n}));return e.indexOf(o)}function j(e,t,n){return(void 0===n?e:e.slice(0,D(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&&r(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))})),t}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(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=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=j(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function F(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function $(e){var t,n,o,r=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1);for(t=0;t<r.length;t++)if(n=r[t],o=n?""+n+i:e,void 0!==document.body.style[o])return o;return null}function R(){return this.state.isDestroyed=!0,F(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[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,o){var r="BODY"===e.nodeName,i=r?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),r||W(s(i.parentNode),t,n,o),o.push(i)}function I(e,t,n,o){n.updateBound=o,H(e).addEventListener("resize",n.updateBound,{passive:!0});var r=s(e);return W(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function B(){this.state.eventsEnabled||(this.state=I(this.reference,this.options,this.state,this.scheduleUpdate))}function q(e,t){return H(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 U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=q(this.reference,this.state))}function V(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(t[n])&&(o="px"),e.style[n]=t[n]+o}))}function J(e,t){Object.keys(t).forEach((function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)}))}function G(e){return Y(e.instance.popper,e.styles),J(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e}function z(e,t,n,o,r){var i=_(r,t,e,n.positionFixed),a=P(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n}function K(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},u=i(r.width),l=i(o.width),f=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),d=u%2==l%2,p=u%2==1&&l%2==1,h=t?f||c||d?i:a:s,m=t?i:s;return{left:h(p&&!c&&t?o.left-1:o.left),top:m(o.top),bottom:m(o.bottom),right:h(o.right)}}function X(e,t){var n,o,r,i,a,s,u,l,c,d,p,h,m,v=t.x,g=t.y,b=e.offsets.popper,y=S(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;return void 0!==y&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),n=void 0!==y?y:t.gpuAcceleration,o=f(e.instance.popper),r=w(o),i={position:b.position},a=K(e,window.devicePixelRatio<2||!Ee),s="bottom"===v?"top":"bottom",u="right"===g?"left":"right",l=$("transform"),c=void 0,d=void 0,d="bottom"===s?"HTML"===o.nodeName?-o.clientHeight+a.bottom:-r.height+a.bottom:a.top,c="right"===u?"HTML"===o.nodeName?-o.clientWidth+a.right:-r.width+a.right:a.left,n&&l?(i[l]="translate3d("+c+"px, "+d+"px, 0)",i[s]=0,i[u]=0,i.willChange="transform"):(p="bottom"===s?-1:1,h="right"===u?-1:1,i[s]=d*p,i[u]=c*h,i.willChange=s+", "+u),m={"x-placement":e.placement},e.attributes=we({},m,e.attributes),e.styles=we({},i,e.styles),e.arrowStyles=we({},e.offsets.arrow,e.arrowStyles),e}function Q(e,t,n){var o,r,i=S(e,(function(e){return e.name===t})),a=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));return a||(o="`"+t+"`",r="`"+n+"`",console.warn(r+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")),a}function Z(e,t){var n,o,r,a,s,u,l,f,c,d,p,h,m,v,g,b,w,E;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;if("string"==typeof(o=t.element)){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;return r=e.placement.split("-")[0],a=e.offsets,s=a.popper,u=a.reference,l=-1!==["left","right"].indexOf(r),f=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",m=L(o)[f],u[h]-m<s[d]&&(e.offsets.popper[d]-=s[d]-(u[h]-m)),u[d]+m>s[h]&&(e.offsets.popper[d]+=u[d]+m-s[h]),e.offsets.popper=y(e.offsets.popper),v=u[d]+u[f]/2-m/2,g=i(e.instance.popper),b=parseFloat(g["margin"+c]),w=parseFloat(g["border"+c+"Width"]),E=v-e.offsets.popper[d]-b-w,E=Math.max(Math.min(s[f]-m,E),0),e.arrowElement=o,e.offsets.arrow=(n={},ye(n,d,Math.round(E)),ye(n,p,""),n),e}function ee(e){return"end"===e?"start":"start"===e?"end":e}function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Oe.indexOf(e),o=Oe.slice(n+1).concat(Oe.slice(0,n));return t?o.reverse():o}function ne(e,t){var n,o,r,i,a;if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;switch(n=x(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=A(o),i=e.placement.split("-")[1]||"",a=[],t.behavior){case Me.FLIP:a=[o,r];break;case Me.CLOCKWISE:a=te(o);break;case Me.COUNTERCLOCKWISE:a=te(o,!0);break;default:a=t.behavior}return a.forEach((function(s,u){var l,f,c,d,p,h,m,v,g,b,y,w,E;if(o!==s||a.length===u+1)return e;o=e.placement.split("-")[0],r=A(o),l=e.offsets.popper,f=e.offsets.reference,c=Math.floor,d="left"===o&&c(l.right)>c(f.left)||"right"===o&&c(l.left)<c(f.right)||"top"===o&&c(l.bottom)>c(f.top)||"bottom"===o&&c(l.top)<c(f.bottom),p=c(l.left)<c(n.left),h=c(l.right)>c(n.right),m=c(l.top)<c(n.top),v=c(l.bottom)>c(n.bottom),g="left"===o&&p||"right"===o&&h||"top"===o&&m||"bottom"===o&&v,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&p||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&v),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&p||!b&&"start"===i&&v||!b&&"end"===i&&m),E=y||w,(d||g||E)&&(e.flipped=!0,(d||g)&&(o=a[u+1]),E&&(i=ee(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=we({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=j(e.instance.modifiers,e,"flip"))})),e}function oe(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<i(o[u])&&(e.offsets.popper[u]=i(o[u])-n[l]),n[u]>i(o[s])&&(e.offsets.popper[u]=i(o[s])),e}function re(e,t,n,o){var r,i,a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+a[1],u=a[2];if(!s)return e;if(0===u.indexOf("%")){switch(r=void 0,u){case"%p":r=n;break;case"%":case"%r":default:r=o}return i=y(r),i[t]/100*s}return"vh"===u||"vw"===u?(void 0,("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s):s}function ie(e,t,n,o){var r,i,a=[0,0],s=-1!==["right","left"].indexOf(o),u=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=u.indexOf(S(u,(function(e){return-1!==e.search(/,|\s/)})));return u[l]&&-1===u[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),r=/\s*,\s*|\s+/,i=-1!==l?[u.slice(0,l).concat([u[l].split(r)[0]]),[u[l].split(r)[1]].concat(u.slice(l+1))]:[u],i=i.map((function(e,o){var r=(1===o?!s:s)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return re(e,r,t,n)}))})),i.forEach((function(e,t){e.forEach((function(n,o){V(n)&&(a[t]+=n*("-"===e[o-1]?-1:1))}))})),a}function ae(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],u=void 0;return u=V(+n)?[+n,0]:ie(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e}function se(e,t){var n,o,r,i,a,s,u,l,c,d=t.boundariesElement||f(e.instance.popper);return e.instance.reference===d&&(d=f(d)),n=$("transform"),o=e.instance.popper.style,r=o.top,i=o.left,a=o[n],o.top="",o.left="",o[n]="",s=x(e.instance.popper,e.instance.reference,t.padding,d,e.positionFixed),o.top=r,o.left=i,o[n]=a,t.boundaries=s,u=t.priority,l=e.offsets.popper,c={primary:function(e){var n=l[e];return l[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(l[e],s[e])),ye({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=l[n];return l[e]>s[e]&&!t.escapeWithReference&&(o=Math.min(l[n],s[e]-("right"===e?l.width:l.height))),ye({},n,o)}},u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=we({},l,c[t](e))})),e.offsets.popper=l,e}function ue(e){var t,n,o,r,i,a,s,u=e.placement,l=u.split("-")[0],f=u.split("-")[1];return f&&(t=e.offsets,n=t.reference,o=t.popper,r=-1!==["bottom","top"].indexOf(l),i=r?"left":"top",a=r?"width":"height",s={start:ye({},i,n[i]),end:ye({},i,n[i]+n[a]-o[a])},e.offsets.popper=we({},o,s[f])),e}function le(e){var t,n;if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;if(t=e.offsets.reference,n=S(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries,t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function fe(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=y(r),e}var ce="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,de=(function(){var e,t=["Edge","Trident","Firefox"];for(e=0;e<t.length;e+=1)if(ce&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0})(),pe=ce&&window.Promise,he=pe?n:o,me=ce&&!(!window.MSInputMethodContext||!document.documentMode),ve=ce&&/MSIE 10/.test(navigator.userAgent),ge=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},be=(function(){function e(e,t){var n,o;for(n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}})(),ye=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},we=Object.assign||function(e){var t,n,o;for(t=1;t<arguments.length;t++){n=arguments[t];for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ee=ce&&/Firefox/i.test(navigator.userAgent),Te=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Oe=Te.slice(3),Me={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},xe={shift:{order:100,enabled:!0,fn:ue},offset:{order:200,enabled:!0,fn:ae,offset:0},preventOverflow:{order:300,enabled:!0,fn:se,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:oe},arrow:{order:500,enabled:!0,fn:Z,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ne,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:fe},hide:{order:800,enabled:!0,fn:le},computeStyle:{order:850,enabled:!0,fn:X,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:G,onLoad:z,gpuAcceleration:void 0}},Ce={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:xe},Pe=(function(){function e(t,n){var o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ge(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=he(this.update.bind(this)),this.options=we({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(we({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){i.options.modifiers[t]=we({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return we({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&r(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update(),o=this.options.eventsEnabled,o&&this.enableEventListeners(),this.state.eventsEnabled=o}return be(e,[{key:"update",value:function(){return k.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return B.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),e})();Pe.Utils=("undefined"!=typeof window?window:e).PopperUtils,Pe.placements=Te,Pe.Defaults=Ce,t.default=Pe}.call(t,n(13))},8:function(e,t){},9:function(e,t,n){"use strict";var o,r;Object.defineProperty(t,"__esModule",{value:!0}),o=n(2),r=(function(e){return e&&e.__esModule?e:{default:e}})(o),t.default=function(e,t){return{validator:function(n){return!!t.includes(n)||(r.default.util.warn("The "+e+" prop is invalid. Given value: "+n+". Available options: "+t.join(", ")+".",void 0),!1)}}}}})}));