UNPKG

@vectrejs/vectre

Version:

Complete implementation of Spectre.css on Vue 2.x

1 lines 96.9 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).Vectre=e(t.Vue)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var a=function(t){return t&&t.Math==Math&&t},c=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r&&r)||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,p={f:f&&!u.call({1:2},1)?function(t){var e=f(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v={}.toString,m=function(t){return v.call(t).slice(8,-1)},h="".split,y=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==m(t)?h.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return y(g(t))},S=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,e){if(!S(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!S(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!S(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!S(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},O={}.hasOwnProperty,w=function(t,e){return O.call(t,e)},C=c.document,k=S(C)&&S(C.createElement),A=function(t){return k?C.createElement(t):{}},E=!l&&!s((function(){return 7!=Object.defineProperty(A("div"),"a",{get:function(){return 7}}).a})),j=Object.getOwnPropertyDescriptor,T={f:l?j:function(t,e){if(t=b(t),e=x(e,!0),E)try{return j(t,e)}catch(t){}if(w(t,e))return d(!p.f.call(t,e),t[e])}},P=function(t){if(!S(t))throw TypeError(String(t)+" is not an object");return t},I=Object.defineProperty,_={f:l?I:function(t,e,n){if(P(t),e=x(e,!0),P(n),E)try{return I(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},F=l?function(t,e,n){return _.f(t,e,d(1,n))}:function(t,e,n){return t[e]=n,t},B=function(t,e){try{F(c,t,e)}catch(n){c[t]=e}return e},N=c["__core-js_shared__"]||B("__core-js_shared__",{}),z=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return z.call(t)});var M,$,R,L=N.inspectSource,D=c.WeakMap,G="function"==typeof D&&/native code/.test(L(D)),V=i((function(t){(t.exports=function(t,e){return N[t]||(N[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),H=0,U=Math.random(),K=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+U).toString(36)},q=V("keys"),W=function(t){return q[t]||(q[t]=K(t))},Y={},X=c.WeakMap;if(G){var Q=new X,J=Q.get,Z=Q.has,tt=Q.set;M=function(t,e){return tt.call(Q,t,e),e},$=function(t){return J.call(Q,t)||{}},R=function(t){return Z.call(Q,t)}}else{var et=W("state");Y[et]=!0,M=function(t,e){return F(t,et,e),e},$=function(t){return w(t,et)?t[et]:{}},R=function(t){return w(t,et)}}var nt={set:M,get:$,has:R,enforce:function(t){return R(t)?$(t):M(t,{})},getterFor:function(t){return function(e){var n;if(!S(e)||(n=$(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=i((function(t){var e=nt.get,n=nt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,i){var a=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||w(o,"name")||F(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==c?(a?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=o:F(t,e,o)):s?t[e]=o:B(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||L(this)}))})),ot=c,it=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?it(ot[t])||it(c[t]):ot[t]&&ot[t][e]||c[t]&&c[t][e]},ct=Math.ceil,st=Math.floor,lt=function(t){return isNaN(t=+t)?0:(t>0?st:ct)(t)},ut=Math.min,ft=function(t){return t>0?ut(lt(t),9007199254740991):0},pt=Math.max,dt=Math.min,vt=function(t,e){var n=lt(t);return n<0?pt(n+e,0):dt(n,e)},mt=function(t){return function(e,n,r){var o,i=b(e),a=ft(i.length),c=vt(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},ht={includes:mt(!0),indexOf:mt(!1)},yt=ht.indexOf,gt=function(t,e){var n,r=b(t),o=0,i=[];for(n in r)!w(Y,n)&&w(r,n)&&i.push(n);for(;e.length>o;)w(r,n=e[o++])&&(~yt(i,n)||i.push(n));return i},bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],St=bt.concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(t){return gt(t,St)}},Ot={f:Object.getOwnPropertySymbols},wt=at("Reflect","ownKeys")||function(t){var e=xt.f(P(t)),n=Ot.f;return n?e.concat(n(t)):e},Ct=function(t,e){for(var n=wt(e),r=_.f,o=T.f,i=0;i<n.length;i++){var a=n[i];w(t,a)||r(t,a,o(e,a))}},kt=/#|\.prototype\./,At=function(t,e){var n=jt[Et(t)];return n==Pt||n!=Tt&&("function"==typeof e?s(e):!!e)},Et=At.normalize=function(t){return String(t).replace(kt,".").toLowerCase()},jt=At.data={},Tt=At.NATIVE="N",Pt=At.POLYFILL="P",It=At,_t=T.f,Ft=function(t,e){var n,r,o,i,a,s=t.target,l=t.global,u=t.stat;if(n=l?c:u?c[s]||B(s,{}):(c[s]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=_t(n,r))&&a.value:n[r],!It(l?r:s+(u?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ct(i,o)}(t.sham||o&&o.sham)&&F(i,"sham",!0),rt(n,r,i,t)}},Bt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Nt=function(t,e,n){if(Bt(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}},zt=function(t){return Object(g(t))},Mt=Array.isArray||function(t){return"Array"==m(t)},$t=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),Rt=$t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Lt=V("wks"),Dt=c.Symbol,Gt=Rt?Dt:Dt&&Dt.withoutSetter||K,Vt=function(t){return w(Lt,t)||($t&&w(Dt,t)?Lt[t]=Dt[t]:Lt[t]=Gt("Symbol."+t)),Lt[t]},Ht=Vt("species"),Ut=function(t,e){var n;return Mt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Mt(n.prototype)?S(n)&&null===(n=n[Ht])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Kt=[].push,qt=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=5==t||i;return function(c,s,l,u){for(var f,p,d=zt(c),v=y(d),m=Nt(s,l,3),h=ft(v.length),g=0,b=u||Ut,S=e?b(c,h):n?b(c,0):void 0;h>g;g++)if((a||g in v)&&(p=m(f=v[g],g,d),t))if(e)S[g]=p;else if(p)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:Kt.call(S,f)}else if(o)return!1;return i?-1:r||o?o:S}},Wt={forEach:qt(0),map:qt(1),filter:qt(2),some:qt(3),every:qt(4),find:qt(5),findIndex:qt(6)},Yt=function(t,e){var n=[][t];return!!n&&s((function(){n.call(null,e||function(){throw 1},1)}))},Xt=Object.defineProperty,Qt={},Jt=function(t){throw t},Zt=function(t,e){if(w(Qt,t))return Qt[t];e||(e={});var n=[][t],r=!!w(e,"ACCESSORS")&&e.ACCESSORS,o=w(e,0)?e[0]:Jt,i=w(e,1)?e[1]:void 0;return Qt[t]=!!n&&!s((function(){if(r&&!l)return!0;var t={length:-1};r?Xt(t,1,{enumerable:!0,get:Jt}):t[1]=1,n.call(t,o,i)}))},te=Wt.forEach,ee=Yt("forEach"),ne=Zt("forEach"),re=ee&&ne?[].forEach:function(t){return te(this,t,arguments.length>1?arguments[1]:void 0)};Ft({target:"Array",proto:!0,forced:[].forEach!=re},{forEach:re});var oe=Object.keys||function(t){return gt(t,bt)},ie=p.f,ae=function(t){return function(e){for(var n,r=b(e),o=oe(r),i=o.length,a=0,c=[];i>a;)n=o[a++],l&&!ie.call(r,n)||c.push(t?[n,r[n]]:r[n]);return c}},ce={entries:ae(!0),values:ae(!1)}.values;Ft({target:"Object",stat:!0},{values:function(t){return ce(t)}});var se={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var le in se){var ue=c[le],fe=ue&&ue.prototype;if(fe&&fe.forEach!==re)try{F(fe,"forEach",re)}catch(t){fe.forEach=re}}var pe="\t\n\v\f\r                 \u2028\u2029\ufeff",de="["+pe+"]",ve=RegExp("^"+de+de+"*"),me=RegExp(de+de+"*$"),he=function(t){return function(e){var n=String(g(e));return 1&t&&(n=n.replace(ve,"")),2&t&&(n=n.replace(me,"")),n}},ye={start:he(1),end:he(2),trim:he(3)},ge=ye.trim;function be(){return(be=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}Ft({target:"String",proto:!0,forced:function(t){return s((function(){return!!pe[t]()||"​…᠎"!="​…᠎"[t]()||pe[t].name!==t}))}("trim")},{trim:function(){return ge(this)}});var Se,xe=["attrs","props","domProps"],Oe=["class","style","directives"],we=["on","nativeOn"],Ce=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}},ke=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==xe.indexOf(n))t[n]=be({},t[n],e[n]);else if(-1!==Oe.indexOf(n)){var r=t[n]instanceof Array?t[n]:[t[n]],o=e[n]instanceof Array?e[n]:[e[n]];t[n]=r.concat(o)}else if(-1!==we.indexOf(n))for(var i in e[n])if(t[n][i]){var a=t[n][i]instanceof Array?t[n][i]:[t[n][i]],c=e[n][i]instanceof Array?e[n][i]:[e[n][i]];t[n][i]=a.concat(c)}else t[n][i]=e[n][i];else if("hook"==n)for(var s in e[n])t[n][s]=t[n][s]?Ce(t[n][s],e[n][s]):e[n][s];else t[n]=e[n];else t[n]=e[n];return t}),{})},Ae=i((function(t,e){var o,i=r&&r.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=r&&r.__assign||function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},c=r&&r.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=c(n.default),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s.default);e.Component=l,e.createComponent=function(t){return s.default.extend(t)};var u={convert:function(t){return t},extendFrom:function(t){return t}};function f(t,e){return{create:function(n){var r=n.mixins?n.mixins.concat(e):e;return t.extend(a({},n,{mixins:r}))},mixin:function(n){return f(t,e.concat([n]))}}}e.ofType=function(){return u},e.withNativeOn=function(t){return t},e.withHtmlAttrs=function(t){return t},e.withUnknownProps=function(t){return t},e.componentFactory={create:function(t){return s.default.extend(t)},extendFrom:function(t){return f(t,[])},mixin:function(t){return f(s.default,[t])}},e.componentFactoryOf=function(){return e.componentFactory},e.component=e.componentFactory.create,e.extendFrom=e.componentFactory.extendFrom})),Ee=i((function(t,e){var n=r&&r.__assign||function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e,n){for(var r=0,o=e;r<o.length;r++){if(!(0,o[r])(t))return}n&&n(t)}Object.defineProperty(e,"__esModule",{value:!0});var i={esc:27,tab:9,enter:13,space:32,up:38,down:40,del:[8,46],left:37,right:39};function a(t){for(var e=[],n=0,r=t;n<r.length;n++){var o=r[n];if("number"==typeof o)e.push(o);else{var a=i[o];"number"==typeof a?e.push(a):e.push.apply(e,a)}}switch(e.length){case 0:return function(t){return!1};case 1:var c=e[0];return function(t){return t.keyCode===c};default:return function(t){return e.indexOf(t.keyCode)>=0}}}function c(t,e,n,r,o){Object.defineProperty(t,n,{get:function(){var i=s(e.concat([r]),o);return Object.defineProperty(t,n,{value:i,enumerable:!0}),i},enumerable:!0,configurable:!0})}function s(t,e){function r(e){return e instanceof Function?function(n){return o(n,t,e)}:void o(e,t)}if(e.keyboard||e.mouse){var s=n({},e,{keyboard:!1,mouse:!1});e.keyboard&&(function(t,e,n){var r=function(r){var o=r;if("left"===o||"right"===o)return"continue";var a=i[o];if("number"==typeof a)c(t,e,o,(function(t){return t.keyCode===a}),n);else{var s=a[0],l=a[1];c(t,e,o,(function(t){return t.keyCode===s||t.keyCode===l}),n)}};for(var o in i)r(o)}(r,t,s),function(t,e,n){Object.defineProperty(t,"keys",{get:function(){var t=this,r=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i="keys:"+r.toString(),s=t[i];if(void 0!==s)return s;var l=a(r);return c(t,e,i,l,n),t[i]};return Object.defineProperty(this,"keys",{value:r,enumerable:!0}),r},enumerable:!0,configurable:!0})}(r,t,s)),e.mouse&&c(r,t,"middle",(function(t){return 1===t.button}),s),c(r,t,"left",(function(t){return 37===t.keyCode||0===t.button}),s),c(r,t,"right",(function(t){return 39===t.keyCode||2===t.button}),s)}if(e.exact){s=n({},e,{exact:!1,modkey:!1});!function(t,e,n){Object.defineProperty(t,"exact",{get:function(){var t=this,r=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i="exact:"+r.toString(),a=t[i];if(void 0!==a)return a;var s={ctrl:!1,shift:!1,alt:!1,meta:!1};r.forEach((function(t){return s[t]=!0}));var l=function(t){return!!t.ctrlKey===s.ctrl&&!!t.shiftKey===s.shift&&!!t.altKey===s.alt&&!!t.metaKey===s.meta};return c(t,e,i,l,n),t[i]};return Object.defineProperty(this,"exact",{value:r,enumerable:!0}),r},enumerable:!0,configurable:!0})}(r,t,s)}if(e.modkey){s=n({},e,{exact:!1});c(r,t,"ctrl",(function(t){return t.ctrlKey}),s),c(r,t,"shift",(function(t){return t.shiftKey}),s),c(r,t,"alt",(function(t){return t.altKey}),s),c(r,t,"meta",(function(t){return t.metaKey}),s),c(r,t,"noctrl",(function(t){return!t.ctrlKey}),s),c(r,t,"noshift",(function(t){return!t.shiftKey}),s),c(r,t,"noalt",(function(t){return!t.altKey}),s),c(r,t,"nometa",(function(t){return!t.metaKey}),s)}return c(r,t,"stop",(function(t){return t.stopPropagation(),!0}),e),c(r,t,"prevent",(function(t){return t.preventDefault(),!0}),e),c(r,t,"self",(function(t){return t.target===t.currentTarget}),e),r}e.modifiers=s([],{keyboard:!0,mouse:!0,modkey:!0,exact:!0})})),je=o(i((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(Ae),e.modifiers=Ee.modifiers})));function Te(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}!function(t){t.xl="avatar-xl",t.lg="avatar-lg",t.sm="avatar-sm",t.xs="avatar-xs"}(Se||(Se={}));Te("figure.avatar + figure.avatar {\n margin-left: 0.4rem; }\n");var Pe=je.component({name:"Avatar",functional:!0,props:{size:{type:String,default:void 0},src:{type:String,default:void 0},initials:{type:String,default:void 0},background:{type:String,default:void 0},color:{type:String,default:void 0},alt:{type:String,default:void 0},presence:{type:String,default:void 0},icon:{type:String,default:void 0}},render:function(t,e){var n=e.props,r=e.data,o=["avatar",Se[n.size]||n.size],i={color:n.color,background:n.background},a=n.initials&&n.initials.trim().substring(0,2);return t("figure",ke([{},r,{class:o,style:i,attrs:{"data-initial":a}}]),[n.src&&t("img",{attrs:{src:n.src,alt:n.alt}}),n.icon&&t("img",{attrs:{src:n.icon},staticClass:"avatar-icon"}),n.presence&&!n.icon&&t("i",{class:n.presence,staticClass:"avatar-presence"})])}}),Ie=s((function(){oe(1)}));Ft({target:"Object",stat:!0,forced:Ie},{keys:function(t){return oe(zt(t))}});var _e,Fe,Be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e?e+n:e;return r+t},Ne=function(t,e,n){var r=x(e);r in t?_.f(t,r,d(0,n)):t[r]=n},ze=at("navigator","userAgent")||"",Me=c.process,$e=Me&&Me.versions,Re=$e&&$e.v8;Re?Fe=(_e=Re.split("."))[0]+_e[1]:ze&&(!(_e=ze.match(/Edge\/(\d+)/))||_e[1]>=74)&&(_e=ze.match(/Chrome\/(\d+)/))&&(Fe=_e[1]);var Le=Fe&&+Fe,De=Vt("species"),Ge=function(t){return Le>=51||!s((function(){var e=[];return(e.constructor={})[De]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ve=Ge("slice"),He=Zt("slice",{ACCESSORS:!0,0:0,1:2}),Ue=Vt("species"),Ke=[].slice,qe=Math.max;function We(t){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){Ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Je(t){return function(t){if(Array.isArray(t))return Ze(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ze(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Ft({target:"Array",proto:!0,forced:!Ve||!He},{slice:function(t,e){var n,r,o,i=b(this),a=ft(i.length),c=vt(t,a),s=vt(void 0===e?a:e,a);if(Mt(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!Mt(n.prototype)?S(n)&&null===(n=n[Ue])&&(n=void 0):n=void 0,n===Array||void 0===n))return Ke.call(i,c,s);for(r=new(void 0===n?Array:n)(qe(s-c,0)),o=0;c<s;c++,o++)c in i&&Ne(r,o,i[c]);return r.length=o,r}});var tn,en=function(t){if("string"!=typeof t)throw new TypeError("Argument should be a string. Given: ".concat(We(t)));return t.charAt(0).toUpperCase()+t.slice(1)},nn=function(t){if("string"!=typeof t)throw new TypeError("Argument should be a string. Given: ".concat(We(t)));return t.charAt(0).toLowerCase()+t.slice(1)},rn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{prefix:""};Object.keys(t).forEach((function(r){return e.component(Be(en(r),n.prefix),t[r])}))}},on=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{prefix:""};Object.keys(t).forEach((function(r){return e.directive(Be(nn(r),n.prefix,"-"),t[r])}))}};!function(t){t.online="online",t.busy="busy",t.away="away",t.offline="offline"}(tn||(tn={}));var an=rn({Avatar:Pe}),cn=Vt("isConcatSpreadable"),sn=Le>=51||!s((function(){var t=[];return t[cn]=!1,t.concat()[0]!==t})),ln=Ge("concat"),un=function(t){if(!S(t))return!1;var e=t[cn];return void 0!==e?!!e:Mt(t)};Ft({target:"Array",proto:!0,forced:!sn||!ln},{concat:function(t){var e,n,r,o,i,a=zt(this),c=Ut(a,0),s=0;for(e=-1,r=arguments.length;e<r;e++)if(un(i=-1===e?a:arguments[e])){if(s+(o=ft(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&Ne(c,s,i[n])}else{if(s>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ne(c,s++,i)}return c.length=s,c}});var fn=Wt.filter,pn=Ge("filter"),dn=Zt("filter");Ft({target:"Array",proto:!0,forced:!pn||!dn},{filter:function(t){return fn(this,t,arguments.length>1?arguments[1]:void 0)}});var vn=ht.indexOf,mn=[].indexOf,hn=!!mn&&1/[1].indexOf(1,-0)<0,yn=Yt("indexOf"),gn=Zt("indexOf",{ACCESSORS:!0,1:0});Ft({target:"Array",proto:!0,forced:hn||!yn||!gn},{indexOf:function(t){return hn?mn.apply(this,arguments)||0:vn(this,t,arguments.length>1?arguments[1]:void 0)}});var bn=Wt.map,Sn=Ge("map"),xn=Zt("map");Ft({target:"Array",proto:!0,forced:!Sn||!xn},{map:function(t){return bn(this,t,arguments.length>1?arguments[1]:void 0)}});var On=_.f,wn=Function.prototype,Cn=wn.toString,kn=/^\s*function ([^ (]*)/;l&&!("name"in wn)&&On(wn,"name",{configurable:!0,get:function(){try{return Cn.call(this).match(kn)[1]}catch(t){return""}}});var An,En=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return P(n),function(t){if(!S(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),jn=function(t,e,n){var r,o;return En&&"function"==typeof(r=e.constructor)&&r!==n&&S(o=r.prototype)&&o!==n.prototype&&En(t,o),t},Tn=l?Object.defineProperties:function(t,e){P(t);for(var n,r=oe(e),o=r.length,i=0;o>i;)_.f(t,n=r[i++],e[n]);return t},Pn=at("document","documentElement"),In=W("IE_PROTO"),_n=function(){},Fn=function(t){return"<script>"+t+"<\/script>"},Bn=function(){try{An=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Bn=An?function(t){t.write(Fn("")),t.close();var e=t.parentWindow.Object;return t=null,e}(An):((e=A("iframe")).style.display="none",Pn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Fn("document.F=Object")),t.close(),t.F);for(var n=bt.length;n--;)delete Bn.prototype[bt[n]];return Bn()};Y[In]=!0;var Nn=Object.create||function(t,e){var n;return null!==t?(_n.prototype=P(t),n=new _n,_n.prototype=null,n[In]=t):n=Bn(),void 0===e?n:Tn(n,e)},zn=xt.f,Mn=T.f,$n=_.f,Rn=ye.trim,Ln=c.Number,Dn=Ln.prototype,Gn="Number"==m(Nn(Dn)),Vn=function(t){var e,n,r,o,i,a,c,s,l=x(t,!1);if("string"==typeof l&&l.length>2)if(43===(e=(l=Rn(l)).charCodeAt(0))||45===e){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+l}for(a=(i=l.slice(2)).length,c=0;c<a;c++)if((s=i.charCodeAt(c))<48||s>o)return NaN;return parseInt(i,r)}return+l};if(It("Number",!Ln(" 0o1")||!Ln("0b1")||Ln("+0x1"))){for(var Hn,Un=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof Un&&(Gn?s((function(){Dn.valueOf.call(n)})):"Number"!=m(n))?jn(new Ln(Vn(e)),n,Un):Vn(e)},Kn=l?zn(Ln):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),qn=0;Kn.length>qn;qn++)w(Ln,Hn=Kn[qn])&&!w(Un,Hn)&&$n(Un,Hn,Mn(Ln,Hn));Un.prototype=Dn,Dn.constructor=Un,rt(c,"Number",Un)}var Wn={};Wn[Vt("toStringTag")]="z";var Yn="[object z]"===String(Wn),Xn=Vt("toStringTag"),Qn="Arguments"==m(function(){return arguments}()),Jn=Yn?m:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Xn))?n:Qn?m(e):"Object"==(r=m(e))&&"function"==typeof e.callee?"Arguments":r},Zn=Yn?{}.toString:function(){return"[object "+Jn(this)+"]"};Yn||rt(Object.prototype,"toString",Zn,{unsafe:!0});var tr=function(){var t=P(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},er=RegExp.prototype,nr=er.toString,rr=s((function(){return"/a/b"!=nr.call({source:"a",flags:"b"})})),or="toString"!=nr.name;(rr||or)&&rt(RegExp.prototype,"toString",(function(){var t=P(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in er)?tr.call(t):n)}),{unsafe:!0});var ir=Vt("unscopables"),ar=Array.prototype;null==ar[ir]&&_.f(ar,ir,{configurable:!0,value:Nn(null)});var cr,sr,lr,ur=function(t){ar[ir][t]=!0},fr={},pr=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),dr=W("IE_PROTO"),vr=Object.prototype,mr=pr?Object.getPrototypeOf:function(t){return t=zt(t),w(t,dr)?t[dr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?vr:null},hr=Vt("iterator"),yr=!1;[].keys&&("next"in(lr=[].keys())?(sr=mr(mr(lr)))!==Object.prototype&&(cr=sr):yr=!0),null==cr&&(cr={}),w(cr,hr)||F(cr,hr,(function(){return this}));var gr={IteratorPrototype:cr,BUGGY_SAFARI_ITERATORS:yr},br=_.f,Sr=Vt("toStringTag"),xr=function(t,e,n){t&&!w(t=n?t:t.prototype,Sr)&&br(t,Sr,{configurable:!0,value:e})},Or=gr.IteratorPrototype,wr=function(){return this},Cr=gr.IteratorPrototype,kr=gr.BUGGY_SAFARI_ITERATORS,Ar=Vt("iterator"),Er=function(){return this},jr=function(t,e,n,r,o,i,a){!function(t,e,n){var r=e+" Iterator";t.prototype=Nn(Or,{next:d(1,n)}),xr(t,r,!1),fr[r]=wr}(n,e,r);var c,s,l,u=function(t){if(t===o&&h)return h;if(!kr&&t in v)return v[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,v=t.prototype,m=v[Ar]||v["@@iterator"]||o&&v[o],h=!kr&&m||u(o),y="Array"==e&&v.entries||m;if(y&&(c=mr(y.call(new t)),Cr!==Object.prototype&&c.next&&(mr(c)!==Cr&&(En?En(c,Cr):"function"!=typeof c[Ar]&&F(c,Ar,Er)),xr(c,f,!0))),"values"==o&&m&&"values"!==m.name&&(p=!0,h=function(){return m.call(this)}),v[Ar]!==h&&F(v,Ar,h),fr[e]=h,o)if(s={values:u("values"),keys:i?h:u("keys"),entries:u("entries")},a)for(l in s)(kr||p||!(l in v))&&rt(v,l,s[l]);else Ft({target:e,proto:!0,forced:kr||p},s);return s},Tr=nt.set,Pr=nt.getterFor("Array Iterator"),Ir=jr(Array,"Array",(function(t,e){Tr(this,{type:"Array Iterator",target:b(t),index:0,kind:e})}),(function(){var t=Pr(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");fr.Arguments=fr.Array,ur("keys"),ur("values"),ur("entries");var _r=function(t){return function(e,n){var r,o,i=String(g(e)),a=lt(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Fr={codeAt:_r(!1),charAt:_r(!0)},Br=Fr.charAt,Nr=nt.set,zr=nt.getterFor("String Iterator");jr(String,"String",(function(t){Nr(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=zr(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Br(n,r),e.index+=t.length,{value:t,done:!1})}));var Mr=function(t,e,n){for(var r in e)rt(t,r,e[r],n);return t},$r=!s((function(){return Object.isExtensible(Object.preventExtensions({}))})),Rr=i((function(t){var e=_.f,n=K("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!S(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,n)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!w(t,n)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return $r&&a.REQUIRED&&o(t)&&!w(t,n)&&i(t),t}};Y[n]=!0})),Lr=Vt("iterator"),Dr=Array.prototype,Gr=function(t){return void 0!==t&&(fr.Array===t||Dr[Lr]===t)},Vr=Vt("iterator"),Hr=function(t){if(null!=t)return t[Vr]||t["@@iterator"]||fr[Jn(t)]},Ur=function(t,e,n,r){try{return r?e(P(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&P(o.call(t)),e}},Kr=i((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,o,i){var a,c,s,l,u,f,p,d=Nt(n,r,o?2:1);if(i)a=t;else{if("function"!=typeof(c=Hr(t)))throw TypeError("Target is not iterable");if(Gr(c)){for(s=0,l=ft(t.length);l>s;s++)if((u=o?d(P(p=t[s])[0],p[1]):d(t[s]))&&u instanceof e)return u;return new e(!1)}a=c.call(t)}for(f=a.next;!(p=f.call(a)).done;)if("object"==typeof(u=Ur(a,d,p.value,o))&&u&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}})),qr=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Wr=Vt("iterator"),Yr=!1;try{var Xr=0,Qr={next:function(){return{done:!!Xr++}},return:function(){Yr=!0}};Qr[Wr]=function(){return this},Array.from(Qr,(function(){throw 2}))}catch(t){}var Jr=function(t,e){if(!e&&!Yr)return!1;var n=!1;try{var r={};r[Wr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Zr=Rr.getWeakData,to=nt.set,eo=nt.getterFor,no=Wt.find,ro=Wt.findIndex,oo=0,io=function(t){return t.frozen||(t.frozen=new ao)},ao=function(){this.entries=[]},co=function(t,e){return no(t.entries,(function(t){return t[0]===e}))};ao.prototype={get:function(t){var e=co(this,t);if(e)return e[1]},has:function(t){return!!co(this,t)},set:function(t,e){var n=co(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=ro(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var so={getConstructor:function(t,e,n,r){var o=t((function(t,i){qr(t,o,e),to(t,{type:e,id:oo++,frozen:void 0}),null!=i&&Kr(i,t[r],t,n)})),i=eo(e),a=function(t,e,n){var r=i(t),o=Zr(P(e),!0);return!0===o?io(r).set(e,n):o[r.id]=n,t};return Mr(o.prototype,{delete:function(t){var e=i(this);if(!S(t))return!1;var n=Zr(t);return!0===n?io(e).delete(t):n&&w(n,e.id)&&delete n[e.id]},has:function(t){var e=i(this);if(!S(t))return!1;var n=Zr(t);return!0===n?io(e).has(t):n&&w(n,e.id)}}),Mr(o.prototype,n?{get:function(t){var e=i(this);if(S(t)){var n=Zr(t);return!0===n?io(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},lo=(i((function(t){var e,n=nt.enforce,r=!c.ActiveXObject&&"ActiveXObject"in c,o=Object.isExtensible,i=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",a=c[t],l=a&&a.prototype,u=a,f={},p=function(t){var e=l[t];rt(l,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!S(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!S(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!S(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(It(t,"function"!=typeof a||!(o||l.forEach&&!s((function(){(new a).entries().next()})))))u=n.getConstructor(e,t,r,i),Rr.REQUIRED=!0;else if(It(t,!0)){var d=new u,v=d[i](o?{}:-0,1)!=d,m=s((function(){d.has(1)})),h=Jr((function(t){new a(t)})),y=!o&&s((function(){for(var t=new a,e=5;e--;)t[i](e,e);return!t.has(-0)}));h||((u=e((function(e,n){qr(e,u,t);var o=jn(new a,e,u);return null!=n&&Kr(n,o[i],o,r),o}))).prototype=l,l.constructor=u),(m||y)&&(p("delete"),p("has"),r&&p("get")),(y||v)&&p(i),o&&l.clear&&delete l.clear}return f[t]=u,Ft({global:!0,forced:u!=a},f),xr(u,t),o||n.setStrong(u,t,r),u}("WeakMap",i,so);if(G&&r){e=so.getConstructor(i,"WeakMap",!0),Rr.REQUIRED=!0;var l=a.prototype,u=l.delete,f=l.has,p=l.get,d=l.set;Mr(l,{delete:function(t){if(S(t)&&!o(t)){var r=n(this);return r.frozen||(r.frozen=new e),u.call(this,t)||r.frozen.delete(t)}return u.call(this,t)},has:function(t){if(S(t)&&!o(t)){var r=n(this);return r.frozen||(r.frozen=new e),f.call(this,t)||r.frozen.has(t)}return f.call(this,t)},get:function(t){if(S(t)&&!o(t)){var r=n(this);return r.frozen||(r.frozen=new e),f.call(this,t)?p.call(this,t):r.frozen.get(t)}return p.call(this,t)},set:function(t,r){if(S(t)&&!o(t)){var i=n(this);i.frozen||(i.frozen=new e),f.call(this,t)?d.call(this,t,r):i.frozen.set(t,r)}else d.call(this,t,r);return this}})}})),Vt("iterator")),uo=Vt("toStringTag"),fo=Ir.values;for(var po in se){var vo=c[po],mo=vo&&vo.prototype;if(mo){if(mo[lo]!==fo)try{F(mo,lo,fo)}catch(t){mo[lo]=fo}if(mo[uo]||F(mo,uo,po),se[po])for(var ho in Ir)if(mo[ho]!==Ir[ho])try{F(mo,ho,Ir[ho])}catch(t){mo[ho]=Ir[ho]}}}var yo,go=new WeakMap,bo=function t(e){return go.has(e)?go.get(e):(go.set(e,String(~~(1e9*Math.random()))),t(e))};function So(t,e){return RegExp(t,e)}!function(t){t.x2="icon-2x",t.x3="icon-3x",t.x4="icon-4x"}(yo||(yo={}));var xo,Oo,wo={UNSUPPORTED_Y:s((function(){var t=So("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:s((function(){var t=So("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Co=RegExp.prototype.exec,ko=String.prototype.replace,Ao=Co,Eo=(xo=/a/,Oo=/b*/g,Co.call(xo,"a"),Co.call(Oo,"a"),0!==xo.lastIndex||0!==Oo.lastIndex),jo=wo.UNSUPPORTED_Y||wo.BROKEN_CARET,To=void 0!==/()??/.exec("")[1];(Eo||To||jo)&&(Ao=function(t){var e,n,r,o,i=this,a=jo&&i.sticky,c=tr.call(i),s=i.source,l=0,u=t;return a&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),u=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(s="(?: "+s+")",u=" "+u,l++),n=new RegExp("^(?:"+s+")",c)),To&&(n=new RegExp("^"+s+"$(?!\\s)",c)),Eo&&(e=i.lastIndex),r=Co.call(a?n:i,u),a?r?(r.input=r.input.slice(l),r[0]=r[0].slice(l),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Eo&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),To&&r&&r.length>1&&ko.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Po=Ao;Ft({target:"RegExp",proto:!0,forced:/./.exec!==Po},{exec:Po});var Io=Vt("species"),_o=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Fo="$0"==="a".replace(/./,"$0"),Bo=Vt("replace"),No=!!/./[Bo]&&""===/./[Bo]("a","$0"),zo=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Mo=function(t,e,n,r){var o=Vt(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Io]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||"replace"===t&&(!_o||!Fo||No)||"split"===t&&!zo){var c=/./[o],l=n(o,""[t],(function(t,e,n,r,o){return e.exec===Po?i&&!o?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Fo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:No}),u=l[0],f=l[1];rt(String.prototype,t,u),rt(RegExp.prototype,o,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}r&&F(RegExp.prototype[o],"sham",!0)},$o=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e},Ro=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==m(t))throw TypeError("RegExp#exec called on incompatible receiver");return Po.call(t,e)};Mo("search",1,(function(t,e,n){return[function(e){var n=g(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=P(t),i=String(this),a=o.lastIndex;$o(a,0)||(o.lastIndex=0);var c=Ro(o,i);return $o(o.lastIndex,a)||(o.lastIndex=a),null===c?-1:c.index}]}));var Lo,Do,Go,Vo=/"/g,Ho=function(t,e,n,r){var o=String(g(t)),i="<"+e;return""!==n&&(i+=" "+n+'="'+String(r).replace(Vo,"&quot;")+'"'),i+">"+o+"</"+e+">"},Uo=function(t){return s((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))};Ft({target:"String",proto:!0,forced:Uo("link")},{link:function(t){return Ho(this,"a","href",t)}}),function(t){t.up="icon-arrow-up",t.down="icon-arrow-down",t.right="icon-arrow-right",t.left="icon-arrow-left",t.upward="icon-upward",t.forward="icon-forward",t.downward="icon-downward",t.back="icon-back",t.caret="icon-caret",t.menu="icon-menu",t.apps="icon-apps",t.hMore="icon-more-horiz",t.vMore="icon-more-vert"}(Lo||(Lo={})),function(t){t.hResize="icon-resize-horiz",t.vResize="icon-resize-vert",t.plus="icon-plus",t.minus="icon-minus",t.cross="icon-cross",t.check="icon-check",t.stop="icon-stop",t.shutdown="icon-shutdown",t.refresh="icon-refresh",t.search="icon-search",t.flag="icon-flag",t.bookmark="icon-bookmark",t.edit="icon-edit",t.delete="icon-delete",t.share="icon-share",t.download="icon-download",t.upload="icon-upload"}(Do||(Do={})),function(t){t.mail="icon-mail",t.people="icon-people",t.message="icon-message",t.photo="icon-photo",t.time="icon-time",t.location="icon-location",t.link="icon-link",t.emoji="icon-emoji"}(Go||(Go={}));var Ko,qo,Wo=Qe(Qe(Qe({},Lo),Go),Do),Yo=je.component({name:"Icon",functional:!0,props:{name:{type:String,required:!0},size:{type:String,default:void 0}},render:function(t,e){var n=e.props,r=e.data,o={"font-size":yo[n.size]||n.size},i=["icon",yo[n.size],Wo[n.name]||n.name];return t("i",ke([{class:i,style:o},r]))}}),Xo=rn({Icon:Yo}),Qo=rn({Accordion:je.componentFactoryOf().create({name:"Accordion",props:{items:{required:!0,type:[Object,Array]},checked:{type:[String,Number,Array],default:void 0},name:{type:String,default:void 0},multiple:{type:Boolean},icon:{type:String,default:void 0}},computed:{$_name:function(){return this.name||"accordion-"+bo(this)}},methods:{isChecked:function(t,e){return Array.isArray(this.checked)?-1!==this.checked.indexOf(e)||-1!==this.checked.indexOf(t):!!this.checked&&(this.checked===t||this.checked.toString()===e.toString())},toggle:function(t,e,n){if(this.$listeners.check)if(this.multiple){var r=Array.isArray(this.checked)?Je(this.checked):void 0!==this.checked?[this.checked]:[];t.target.checked?r.push(e||n||0):r=r.filter((function(t){return t!==n&&t!==e})),this.$emit("check",r)}else this.$emit("check",e||n||0)}},render:function(t){var e=this,n=Array.isArray(this.items)?Qe({},this.items):this.items,r=Object.keys(n).map((function(r,o){var i="".concat(e.$_name,"-").concat(r),a=e.multiple?"checkbox":"radio",c=e.$scopedSlots.header,s=e.$scopedSlots.body||e.$scopedSlots.default;return t("div",{staticClass:"accordion"},[t("input",{attrs:{id:i,name:e.$_name,type:a,hidden:!0},domProps:{checked:e.isChecked(r,o)},on:{input:function(t){return e.toggle(t,r,o)}}}),t("label",{staticClass:"accordion-header c-hand",attrs:{for:i}},[e.icon&&t(Yo,{attrs:{name:e.icon}}),c&&c({header:r,item:n[r]}),!c&&r]),!s&&t("div",{staticClass:"accordion-body",domProps:{innerHTML:n[r]}}),s&&t("div",{staticClass:"accordion-body"},[s({header:r,item:n[r]})])])}));return t("div",{staticClass:"accordion-container"},[r])}})}),Jo=function(t,e,n){return[t.class,t.staticClass,n,e]},Zo=je.component({name:"Card",functional:!0,render:function(t,e){var n=e.children,r=e.data,o=Jo(r,"card");return t("div",ke([{},r,{class:o}]),[n])}}),ti=je.component({name:"CardBody",functional:!0,render:function(t,e){var n=e.children,r=e.data,o=Jo(r,"card-body");return t("div",ke([{},r,{class:o}]),[n])}}),ei=je.component({name:"CardFooter",functional:!0,render:function(t,e){var n=e.children,r=e.data,o=Jo(r,"card-footer");return t("div",ke([{},r,{class:o}]),[n])}}),ni=je.component({name:"CardHeader",functional:!0,render:function(t,e){var n=e.children,r=e.data,o=Jo(r,"card-header");return t("div",ke([{},r,{class:o}]),[n])}}),ri=je.component({name:"CardImage",functional:!0,props:{img:{type:String,required:!0}},render:function(t,e){var n=e.props,r=e.data,o=Jo(r,"card-image");return t("div",ke([{},r,{class:o}]),[t("img",{attrs:{src:n.img},staticClass:"img-responsive"})])}});!function(t){t.before="before",t.after="after"}(Ko||(Ko={})),function(t){t.header="header",t.body="body",t.footer="footer"}(qo||(qo={}));var oi,ii=rn({Card:Zo,CardBody:ti,CardFooter:ei,CardHeader:ni,CardImage:ri}),ai=function(t){return t%1==0&&t>0&&t<=12},ci=function(t){return["column",t.mr?"col-mr-auto":"",t.ml?"col-ml-auto":"",t.mx?"col-mx-auto":"",t.xs?"col-xs-".concat(t.xs):"",t.sm?"col-sm-".concat(t.sm):"",t.md?"col-md-".concat(t.md):"",t.lg?"col-lg-".concat(t.lg):"",t.xl?"col-xl-".concat(t.xl):"",t.col?"col-".concat(t.col):"",t.hide?"hide-".concat(t.hide):"",t.show?"show-".concat(t.show):""]},si=rn({Column:je.createComponent({name:"Column",functional:!0,props:{ml:{type:Boolean},mx:{type:Boolean},mr:{type:Boolean},xs:{type:[Number,String],validator:ai},sm:{type:[Number,String],validator:ai},md:{type:[Number,String],validator:ai},lg:{type:[Number,String],validator:ai},xl:{type:[Number,String],validator:ai},col:{type:[Number,String],validator:ai},hide:{type:[Number,String]},show:{type:[Number,String]}},render:function(t,e){var n=e.props,r=e.children,o=e.data;return t("div",ke([{class:ci(n)},o]),[r])}})}),li=rn({Columns:je.createComponent({name:"Columns",functional:!0,props:{gapless:Boolean,oneline:Boolean},render:function(t,e){var n=e.props,r=e.children,o=e.data,i=["columns",n.gapless&&"col-gapless",n.oneline&&"col-oneline"];return t("div",ke([{class:i},o]),[r])}})});!function(t){t.xs="grid-xs",t.sm="grid-sm",t.md="grid-md",t.lg="grid-lg",t.xl="grid-xl"}(oi||(oi={}));var ui=rn({Container:je.createComponent({name:"Container",functional:!0,props:{grid:{type:String}},render:function(t,e){var n=e.props,r=e.children,o=e.data,i=["container",oi[n.grid]];return t("div",ke([{class:i},o]),[r])}})}),fi=rn({Bar:je.component({name:"Bar",functional:!0,props:{sm:{type:Boolean},min:{type:Number,default:0},max:{type:Number,default:100},value:{type:Number,default:0},tooltip:{type:[String,Function],default:void 0}},render:function(t,e){var n=e.props;return t("div",{class:["bar",n.sm&&"bar-sm"]},[t("div",{class:["bar-item",n.tooltip&&"tooltip"],style:{width:n.value/n.max*100+"%"},attrs:{"data-tooltip":n.tooltip,"aria-valuenow":n.value,"aria-valuemin":n.min,"aria-valuemax":n.max,role:"progressbar"}})])}})}),pi=rn({Breadcrumb:je.component({name:"Breadcrumb",functional:!0,props:{crumbs:{type:Array,required:!0}},render:function(t,e){var n=e.props,r=e.scopedSlots,o=n.crumbs.map((function(e){var n=r.default&&r.default({crumb:e}),o=t("a",{attrs:{href:e.path}},[e.title]);return t("li",{staticClass:"breadcrumb-item"},[n||o])}));return t("ul",{staticClass:"breadcrumb"},[o])}})}),di=ht.includes,vi=Zt("indexOf",{ACCESSORS:!0,1:0});Ft({target:"Array",proto:!0,forced:!vi},{includes:function(t){return di(this,t,arguments.length>1?arguments[1]:void 0)}}),ur("includes");var mi,hi,yi;Te(".btn + .btn {\n margin-left: 0.4rem; }\n\n.btn:not(.btn-action) .icon {\n margin: 0 0 0 0.2rem; }\n .btn:not(.btn-action) .icon.left {\n margin: 0 0.2rem 0 0; }\n"),function(t){t.primary="btn-primary",t.link="btn-link",t.success="btn-success",t.error="btn-error",t.clear="btn-clear"}(mi||(mi={})),function(t){t.sm="btn-sm",t.lg="btn-lg",t.block="btn-block"}(hi||(hi={})),function(t){t.active="active",t.disabled="disabled",t.loading="loading"}(yi||(yi={}));var gi=je.componentFactoryOf().create({name:"Btn",functional:!0,props:{type:{type:String},size:{type:String},icon:{type:String},state:{type:String},tabindex:{type:[Number,String],default:void 0},left:{type:Boolean},circle:{type:Boolean},action:{type:Boolean},htmlTag:{type:String,validator:function(t){return["a","button"].includes(t)}}},render:function(t,e){var n=e.props,r=e.data,o=e.slots,i=Jo(r,"btn",[mi[n.type]||n.type,hi[n.size]||n.size,yi[n.state]||n.state,n.action&&n.circle&&"s-circle",n.action&&"btn-action"]),a=n.icon&&n.left?t(Yo,{attrs:{name:n.icon},class:"left"}):"",c=n.icon&&!n.left?t(Yo,{attrs:{name:n.icon}}):"",s=!n.action&&o().default;return t(["a","button"].includes(n.htmlTag)?n.htmlTag:"button",Qe(Qe({},r),{},{class:i,attrs:Qe({tabindex:n.tabindex},r.attrs)}),[a,s,c])}}),bi=je.component({name:"BtnGroup",functional:!0,props:{block:{type:Boolean}},render:function(t,e){var n=e.props,r=e.data,o=e.slots,i=["btn-group",n.block&&"btn-group-block"];return t("div",ke([{class:i},r]),[o().default])}}),Si=rn({Btn:gi,BtnGroup:bi});Ft({target:"String",proto:!0,forced:Uo("small")},{small:function(){return Ho(this,"small","","")}});var xi,Oi=function(t){var e;return e=t?Array.isArray(t)?t:[t]:[function(){}],function(t){return e.forEach((function(e){return e(t)}))}},wi=rn({Chip:je.componentFactoryOf().create({name:"Chip",functional:!0,props:{active:{type:Boolean},text:{type:String,required:!0},avatar:{type:String,default:void 0},initials:{type:String,default:void 0},small:{type:Boolean}},render:function(t,e){var n=e.props,r=e.listeners,o=["chip",n.active&&"active"],i=(n.avatar||n.initials)&&t(Pe,{attrs:{src:n.avatar,size:n.small?"sm":void 0,initials:n.initials}}),a=r.close&&t("a",{staticClass:"btn btn-clear",attrs:{"aria-label":"Close",role:"button"},on:{click:Oi(r.close)}});return t("span",{class:o},[i,n.text,a])}})}),Ci=rn({Divider:je.component({name:"Divider",functional:!0,props:{vert:{type:Boolean},content:{type:String,default:void 0}},render:function(t,e){var n=e.props,r=e.slots,o=e.data,i=["text-center",n.vert&&"divider-vert",!n.vert&&"divider"],a=n.content||r().default&&r().default[0].text;return t("div",ke([{class:i,attrs:{"data-content":a}},o]))}})});!function(t){t.primary="label-primary",t.secondary="label-secondary",t.success="label-success",t.warning="label-warning",t.error="label-error"}(xi||(xi={}));Te(".label + .label {\n margin-left: 0.3rem; }\n");var ki=je.component({name:"Tag",functional:!0,props:{type:{type:String,default:void 0},rounded:{type:Boolean}},render:function(t,e){var n=e.slots,r=e.props,o=e.data,i=["label",xi[r.type],r.rounded&&"label-rounded"];return t("span",ke([{class:i},o]),[n().default])}}),Ai=rn({Tag:ki}),Ei=je.component({name:"VerticalMenuItemBadge",functional:!0,props:{type:{type:String,default:void 0}},render:function(t,e){var n=e.props,r=e.children;return t("div",{class:"menu-badge"},[t(ki,{attrs:{type:n.type}},[r])])}}),ji=je.component({name:"VerticalMenuItem",functional:!0,props:{active:{type:Boolean},badge:{type:[String,Number],default:void 0},text:{type:String,default:void 0},path:{type:String,default:void 0}},render:function(t,e){var n=e.props,r=e.children;if(r&&r.length)return t("li",{staticClass:"menu-item"},[r]);var o=n.badge&&t(Ei,{attrs:{type:"primary"}},[n.badge]),i=t("a",{attrs:{href:n.path},class:n.active&&"active"},[n.text]);return t("li",{staticClass:"menu-item"},[o," ",i])}}),Ti=je.component({name:"VerticalMenuDivider",functional:!0,props:{text:{type:[String,Boolean],default:void 0}},render:function(t,e){var n,r=e.props;return t("li",{staticClass:"divider",attrs:{"data-content":(n=r.text,"string"==typeof n?n:"")}})}}),Pi=je.component({name:"VerticalMenu",functional:!0,props:{items:{type:[Array,Object],default:function(){return[]}},active:{type:[Number,String],default:""}},render:function(t,e){var n=e.props,r=e.slots,o=e.scopedSlots,i=e.data;if(!n.items)throw new TypeError("Items cannot be empty");var a=Array.isArray(n.items)?Qe({},n.items):n.items,c=Object.keys(a).map((function(e){return a[e].divider?t(Ti,{attrs:{text:a[e].divider}}):t(ji,{attrs:{active:e.toString()===n.active.toString(),badge:a[e].badge,path:a[e].path,text:a[e].text}},[o.default&&o.default({item:a[e],index:e})])}));return t("ul",ke([{},i,{class:["menu",i.class]}]),[r().default,c])}}),Ii=rn({VerticalMenu:Pi,VerticalMenuDivider:Ti,VerticalMenuItem:ji,VerticalMenuItemBadge:Ei}),_i=new WeakMap,Fi=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&("ontouchstart"in window||navigator.msMaxTouchPoints)?"touchstart":"click"},Bi=function(t,e){return _i.has(t)||_i.set(t,(function(n){t.contains(n.target)||e(n,t)})),_i.get(t)},Ni={bind:function(t,e){var n=e.value,r=e.modifiers;document.addEventListener(Fi(r.touch),Bi(t,n))},unbind:function(t){document.removeEventListener(Fi(),Bi(t))}},zi=on({ClickOutside:Ni}),Mi=rn({DropdownMenu:je.component({name:"DropdownMenu",directives:{ClickOutside:Ni},props:{items:{type:[Object,Array],default:void 0},right:{type:Boolean},btnType:{type:String,default:void 0},btnText:{type:String,default:void 0},btnIcon:{type:String,default:void 0},state:{type:String,default:void 0}},render:function(t){var e=Oi(this.$listeners.opened),n=Oi(this.$listeners.closed),r=[mi[this.btnType],"dropdown-toggle"],o=t(gi,{class:r,attrs:{icon:this.btnIcon||"caret",state:this.state,htmlTag:"a",tabindex:"0"},on:{focus:e,blur:n}},[this.btnText]);return t("div",ke([{},{directives:[{name:"click-outside",value:function(){return o.elm.blur()},modifiers:{touch:!1}}]},{staticClass:"dropdown",class:this.right&&"dropdown-right"}]),[o,t(Pi,{attrs:{items:this.items},scopedSlots:{default:this.$scopedSlots.default}})])}})});Ft({target:"String",proto:!0,forced:Uo("sub")},{sub:function(){return Ho(this,"sub","","")}});var $i,Ri=je.component({name:"EmptyTitle