@coreui/coreui-pro
Version:
UI Kit built on top of Bootstrap 4
6 lines • 18.4 kB
JavaScript
/*!
* CoreUI Pro v2.1.14 (https://coreui.io/pro/)
* Copyright 2019 Łukasz Holeczek
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t=t||self).utilities={})}(this,function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}function r(t){return t&&t.Math==Math&&t}function f(t){try{return!!t()}catch(t){return!0}}function g(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}function p(t){return j.call(t).slice(8,-1)}function d(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function h(t){return T(d(t))}function m(t){return"object"==typeof t?null!==t:"function"==typeof t}function v(t,n){if(!m(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!m(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function l(t,n){return L.call(t,n)}function O(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t}function s(n,e){try{N(b,n,e)}catch(t){b[n]=e}return e}function o(t){return"Symbol(".concat(void 0===t?"":t,")_",(++_+F).toString(36))}var i,u,a,c,y="object",b=r(typeof globalThis==y&&globalThis)||r(typeof window==y&&window)||r(typeof self==y&&self)||r(typeof n==y&&n)||Function("return this")(),x=!f(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),S={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,E={f:w&&!S.call({1:2},1)?function(t){var n=w(this,t);return!!n&&n.enumerable}:S},j={}.toString,I="".split,T=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==p(t)?I.call(t,""):Object(t)}:Object,L={}.hasOwnProperty,M=b.document,R=m(M)&&m(M.createElement),k=!x&&!f(function(){return 7!=Object.defineProperty(function(t){return R?M.createElement(t):{}}("div"),"a",{get:function(){return 7}}).a}),A=Object.getOwnPropertyDescriptor,C={f:x?A:function(t,n){if(t=h(t),n=v(n,!0),k)try{return A(t,n)}catch(t){}if(l(t,n))return g(!E.f.call(t,n),t[n])}},P=Object.defineProperty,$={f:x?P:function(t,n,e){if(O(t),n=v(n,!0),O(e),k)try{return P(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},N=x?function(t,n,e){return $.f(t,n,g(1,e))}:function(t,n,e){return t[n]=e,t},V=e(function(t){var n="__core-js_shared__",e=b[n]||s(n,{});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),D=V("native-function-to-string",Function.toString),G=b.WeakMap,H="function"==typeof G&&/native code/.test(D.call(G)),_=0,F=Math.random(),z=V("keys"),B={},q=b.WeakMap;if(H){var W=new q,K=W.get,U=W.has,Y=W.set;i=function(t,n){return Y.call(W,t,n),n},u=function(t){return K.call(W,t)||{}},a=function(t){return U.call(W,t)}}else{var J=z[c="state"]||(z[c]=o(c));B[J]=!0,i=function(t,n){return N(t,J,n),n},u=function(t){return l(t,J)?t[J]:{}},a=function(t){return l(t,J)}}function Q(t){return isNaN(t=+t)?0:(0<t?lt:ct)(t)}function X(t){return 0<t?st(Q(t),9007199254740991):0}function Z(t,n){var e=Q(t);return e<0?ft(e+n,0):pt(e,n)}function tt(t,n){var e,r=h(t),o=0,i=[];for(e in r)!l(B,e)&&l(r,e)&&i.push(e);for(;n.length>o;)l(r,e=n[o++])&&(~gt(i,e)||i.push(e));return i}function nt(t,n){for(var e=mt(n),r=$.f,o=C.f,i=0;i<e.length;i++){var u=e[i];l(t,u)||r(t,u,o(n,u))}}function et(t,n){var e=wt[St(t)];return e==Ot||e!=Et&&("function"==typeof n?f(n):!!n)}function rt(t,n){var e,r,o,i,u,a=t.target,c=t.global,l=t.stat;if(e=c?b:l?b[a]||s(a,{}):(b[a]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=It(e,r))&&u.value:e[r],!jt(c?r:a+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;nt(i,o)}(t.sham||o&&o.sham)&&N(i,"sham",!0),at(e,r,i,t)}}function ot(t){return Object(d(t))}var it,ut={set:i,get:u,has:a,enforce:function(t){return a(t)?u(t):i(t,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=u(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},at=e(function(t){var n=ut.get,a=ut.enforce,c=String(D).split("toString");V("inspectSource",function(t){return D.call(t)}),(t.exports=function(t,n,e,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof e&&("string"!=typeof n||l(e,"name")||N(e,"name",n),a(e).source=c.join("string"==typeof n?n:"")),t!==b?(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=e:N(t,n,e)):i?t[n]=e:s(n,e)})(Function.prototype,"toString",function(){return"function"==typeof this&&n(this).source||D.call(this)})}),ct=Math.ceil,lt=Math.floor,st=Math.min,ft=Math.max,pt=Math.min,gt=(it=!1,function(t,n,e){var r,o=h(t),i=X(o.length),u=Z(e,i);if(it&&n!=n){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((it||u in o)&&o[u]===n)return it||u||0;return!it&&-1}),dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=dt.concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return tt(t,ht)}},yt={f:Object.getOwnPropertySymbols},bt=b.Reflect,mt=bt&&bt.ownKeys||function(t){var n=vt.f(O(t)),e=yt.f;return e?n.concat(e(t)):n},xt=/#|\.prototype\./,St=et.normalize=function(t){return String(t).replace(xt,".").toLowerCase()},wt=et.data={},Et=et.NATIVE="N",Ot=et.POLYFILL="P",jt=et,It=C.f,Tt=Object.keys||function(t){return tt(t,dt)},Lt=Object.assign,Mt=!Lt||f(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=Lt({},t)[e]||Tt(Lt({},n)).join("")!=r})?function(t,n){for(var e=ot(t),r=arguments.length,o=1,i=yt.f,u=E.f;o<r;)for(var a,c=T(arguments[o++]),l=i?Tt(c).concat(i(c)):Tt(c),s=l.length,f=0;f<s;)a=l[f++],x&&!u.call(c,a)||(e[a]=c[a]);return e}:Lt;rt({target:"Object",stat:!0,forced:Object.assign!==Mt},{assign:Mt}),rt({target:"Object",stat:!0,forced:f(function(){Tt(1)})},{keys:function(t){return Tt(ot(t))}});function Rt(t){return Nt[t]||(Nt[t]=Pt&&$t[t]||(Pt?$t:o)("Symbol."+t))}function kt(){var t=O(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}var At,Ct,Pt=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())}),$t=b.Symbol,Nt=V("wks"),Vt=RegExp.prototype.exec,Dt=String.prototype.replace,Gt=Vt,Ht=(At=/a/,Ct=/b*/g,Vt.call(At,"a"),Vt.call(Ct,"a"),0!==At.lastIndex||0!==Ct.lastIndex),_t=void 0!==/()??/.exec("")[1];(Ht||_t)&&(Gt=function(t){var n,e,r,o,i=this;return _t&&(e=new RegExp("^"+i.source+"$(?!\\s)",kt.call(i))),Ht&&(n=i.lastIndex),r=Vt.call(i,t),Ht&&r&&(i.lastIndex=i.global?r.index+r[0].length:n),_t&&r&&1<r.length&&Dt.call(r[0],e,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r});function Ft(e,t,n,r){var o=Rt(e),i=!f(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),u=i&&!f(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[Wt]=function(){return n}),n[o](""),!t});if(!i||!u||"replace"===e&&!Kt||"split"===e&&!Ut){var a=/./[o],c=n(o,""[e],function(t,n,e,r,o){return n.exec===qt?i&&!o?{done:!0,value:a.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),l=c[0],s=c[1];at(String.prototype,e,l),at(RegExp.prototype,o,2==t?function(t,n){return s.call(t,this,n)}:function(t){return s.call(t,this)}),r&&N(RegExp.prototype[o],"sham",!0)}}function zt(t,n,e){return n+(e?function(t,n,e){var r,o,i=String(d(t)),u=Q(n),a=i.length;return u<0||a<=u?e?"":void 0:(r=i.charCodeAt(u))<55296||56319<r||u+1===a||(o=i.charCodeAt(u+1))<56320||57343<o?e?i.charAt(u):r:e?i.slice(u,u+2):o-56320+(r-55296<<10)+65536}(t,n,!0).length:1)}function Bt(t,n){var e=t.exec;if("function"==typeof e){var r=e.call(t,n);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==p(t))throw TypeError("RegExp#exec called on incompatible receiver");return qt.call(t,n)}var qt=Gt,Wt=Rt("species"),Kt=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Ut=!f(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]});Ft("match",1,function(r,l,s){return[function(t){var n=d(this),e=null==t?void 0:t[r];return void 0!==e?e.call(t,n):new RegExp(t)[r](String(n))},function(t){var n=s(l,t,this);if(n.done)return n.value;var e=O(t),r=String(this);if(!e.global)return Bt(e,r);for(var o,i=e.unicode,u=[],a=e.lastIndex=0;null!==(o=Bt(e,r));){var c=String(o[0]);""===(u[a]=c)&&(e.lastIndex=zt(r,X(e.lastIndex),i)),a++}return 0===a?null:u}]});var Yt=Math.max,Jt=Math.min,Qt=Math.floor,Xt=/\$([$&'`]|\d\d?|<[^>]*>)/g,Zt=/\$([$&'`]|\d\d?)/g;Ft("replace",2,function(o,S,w){return[function(t,n){var e=d(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):S.call(String(e),t,n)},function(t,n){var e=w(S,t,this,n);if(e.done)return e.value;var r=O(t),o=String(this),i="function"==typeof n;i||(n=String(n));var u=r.global;if(u){var a=r.unicode;r.lastIndex=0}for(var c=[];;){var l=Bt(r,o);if(null===l)break;if(c.push(l),!u)break;""===String(l[0])&&(r.lastIndex=zt(o,X(r.lastIndex),a))}for(var s,f="",p=0,g=0;g<c.length;g++){l=c[g];for(var d=String(l[0]),h=Yt(Jt(Q(l.index),o.length),0),v=[],y=1;y<l.length;y++)v.push(void 0===(s=l[y])?s:String(s));var b=l.groups;if(i){var m=[d].concat(v,h,o);void 0!==b&&m.push(b);var x=String(n.apply(void 0,m))}else x=E(d,o,h,v,b,n);p<=h&&(f+=o.slice(p,h)+x,p=h+d.length)}return f+o.slice(p)}];function E(i,u,a,c,l,t){var s=a+i.length,f=c.length,n=Zt;return void 0!==l&&(l=ot(l),n=Xt),S.call(t,n,function(t,n){var e;switch(n.charAt(0)){case"$":return"$";case"&":return i;case"`":return u.slice(0,a);case"'":return u.slice(s);case"<":e=l[n.slice(1,-1)];break;default:var r=+n;if(0==r)return t;if(f<r){var o=Qt(r/10);return 0===o?t:o<=f?void 0===c[o-1]?n.charAt(1):c[o-1]+n.charAt(1):t}e=c[r-1]}return void 0===e?"":e})}});function tn(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}var nn=Rt("match"),en=Rt("species"),rn=[].push,on=Math.min,un=4294967295,an=!f(function(){return!RegExp(un,"y")});Ft("split",2,function(o,v,y){var b;return b="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,n){var e=String(d(this)),r=void 0===n?un:n>>>0;if(0==r)return[];if(void 0===t)return[e];if(!function(t){var n;return m(t)&&(void 0!==(n=t[nn])?!!n:"RegExp"==p(t))}(t))return v.call(e,t,r);for(var o,i,u,a=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,s=new RegExp(t.source,c+"g");(o=qt.call(s,e))&&!(l<(i=s.lastIndex)&&(a.push(e.slice(l,o.index)),1<o.length&&o.index<e.length&&rn.apply(a,o.slice(1)),u=o[0].length,l=i,a.length>=r));)s.lastIndex===o.index&&s.lastIndex++;return l===e.length?!u&&s.test("")||a.push(""):a.push(e.slice(l)),a.length>r?a.slice(0,r):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:v.call(this,t,n)}:v,[function(t,n){var e=d(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):b.call(String(e),t,n)},function(t,n){var e=y(b,t,this,n,b!==v);if(e.done)return e.value;var r=O(t),o=String(this),i=function(t,n){var e,r=O(t).constructor;return void 0===r||null==(e=O(r)[en])?n:tn(e)}(r,RegExp),u=r.unicode,a=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(an?"y":"g"),c=new i(an?r:"^(?:"+r.source+")",a),l=void 0===n?un:n>>>0;if(0==l)return[];if(0===o.length)return null===Bt(c,o)?[o]:[];for(var s=0,f=0,p=[];f<o.length;){c.lastIndex=an?f:0;var g,d=Bt(c,an?o:o.slice(f));if(null===d||(g=on(X(c.lastIndex+(an?0:f)),o.length))===s)f=zt(o,f,u);else{if(p.push(o.slice(s,f)),p.length===l)return p;for(var h=1;h<=d.length-1;h++)if(p.push(d[h]),p.length===l)return p;f=s=g}}return p.push(o.slice(s)),p}]},!an);var cn,ln="\t\n\v\f\r \u2028\u2029\ufeff",sn="["+ln+"]",fn=RegExp("^"+sn+sn+"*"),pn=RegExp(sn+sn+"*$");rt({target:"String",proto:!0,forced:(cn="trim",f(function(){return!!ln[cn]()||"
"!="
"[cn]()||ln[cn].name!==cn}))},{trim:function(){return function(t,n){return t=String(d(t)),1&n&&(t=t.replace(fn,"")),2&n&&(t=t.replace(pn,"")),t}(this,3)}});var gn,dn,hn,vn,yn,bn,mn,xn,Sn,wn,En,On=Array.isArray||function(t){return"Array"==p(t)},jn=Rt("species"),In=(hn=1==(gn=0),vn=2==gn,yn=3==gn,bn=4==gn,mn=6==gn,xn=5==gn||mn,Sn=dn||function(t,n){var e;return On(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!On(e.prototype)?m(e)&&null===(e=e[jn])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},function(t,n,e){for(var r,o,i=ot(t),u=T(i),a=function(r,o,t){if(tn(r),void 0===o)return r;switch(t){case 0:return function(){return r.call(o)};case 1:return function(t){return r.call(o,t)};case 2:return function(t,n){return r.call(o,t,n)};case 3:return function(t,n,e){return r.call(o,t,n,e)}}return function(){return r.apply(o,arguments)}}(n,e,3),c=X(u.length),l=0,s=hn?Sn(t,c):vn?Sn(t,0):void 0;l<c;l++)if((xn||l in u)&&(o=a(r=u[l],l,i),gn))if(hn)s[l]=o;else if(o)switch(gn){case 3:return!0;case 5:return r;case 6:return l;case 2:s.push(r)}else if(bn)return!1;return mn?-1:yn||bn?bn:s}),Tn=!(En=[]["forEach"])||!f(function(){En.call(null,wn||function(){throw 1},1)})?function(t,n){return In(this,t,n)}:[].forEach;for(var Ln in{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}){var Mn=b[Ln],Rn=Mn&&Mn.prototype;if(Rn&&Rn.forEach!==Tn)try{N(Rn,"forEach",Tn)}catch(t){Rn.forEach=Tn}}function kn(t,n){return void 0===n&&(n=document.body),function(t){return t.match(/^--.*/i)}(t)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var r={},t=document.styleSheets,n="",e=t.length-1;-1<e;e--){for(var o=t[e].cssRules,i=o.length-1;-1<i;i--)if(".ie-custom-properties"===o[i].selectorText){n=o[i].cssText;break}if(n)break}return(n=n.substring(n.lastIndexOf("{")+1,n.lastIndexOf("}"))).split(";").forEach(function(t){if(t){var n=t.split(": ")[0],e=t.split(": ")[1];n&&e&&(r["--"+n.trim()]=e.trim())}}),r}()[t]:window.getComputedStyle(n,null).getPropertyValue(t).replace(/^\s/,"")}var An,Cn=Rt("species"),Pn=Rt("species"),$n=[].slice,Nn=Math.max;rt({target:"Array",proto:!0,forced:!(An="slice",!f(function(){var t=[];return(t.constructor={})[Cn]=function(){return{foo:1}},1!==t[An](Boolean).foo}))},{slice:function(t,n){var e,r,o,i,u,a,c,l=h(this),s=X(l.length),f=Z(t,s),p=Z(void 0===n?s:n,s);if(On(l)&&("function"!=typeof(e=l.constructor)||e!==Array&&!On(e.prototype)?m(e)&&null===(e=e[Pn])&&(e=void 0):e=void 0,e===Array||void 0===e))return $n.call(l,f,p);for(r=new(void 0===e?Array:e)(Nn(p-f,0)),o=0;f<p;f++,o++)f in l&&(i=r,u=o,a=l[f],void 0,(c=v(u))in i?$.f(i,c,g(0,a)):i[c]=a);return r.length=o,r}});var Vn=Rt("toStringTag"),Dn="Arguments"==p(function(){return arguments}()),Gn={};Gn[Rt("toStringTag")]="z";var Hn="[object z]"!==String(Gn)?function(){return"[object "+function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),Vn))?e:Dn?p(n):"Object"==(r=p(n))&&"function"==typeof n.callee?"Arguments":r}(this)+"]"}:Gn.toString,_n=Object.prototype;Hn!==_n.toString&&at(_n,"toString",Hn,{unsafe:!0});var Fn="toString",zn=/./[Fn],Bn=RegExp.prototype,qn=f(function(){return"/a/b"!=zn.call({source:"a",flags:"b"})}),Wn=zn.name!=Fn;(qn||Wn)&&at(RegExp.prototype,Fn,function(){var t=O(this),n=String(t.source),e=t.flags;return"/"+n+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in Bn)?kt.call(t):e)},{unsafe:!0});t.asideMenuCssClasses=["aside-menu-show","aside-menu-sm-show","aside-menu-md-show","aside-menu-lg-show","aside-menu-xl-show"],t.checkBreakpoint=function(t,n){return-1<n.indexOf(t)},t.deepObjectsMerge=function t(n,e){for(var r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];e[i]instanceof Object&&Object.assign(e[i],t(n[i],e[i]))}return Object.assign(n||{},e),n},t.getColor=function(t,n){void 0===n&&(n=document.body);var e=kn("--"+t,n);return e||t},t.getStyle=kn,t.hexToRgb=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");var n,e,r;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return r=7===t.length?(n=parseInt(t.substring(1,3),16),e=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(n=parseInt(t.substring(1,2),16),e=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+n+", "+e+", "+r+")"},t.hexToRgba=function(t,n){if(void 0===n&&(n=100),"undefined"==typeof t)throw new Error("Hex color is not defined");var e,r,o;if(!t.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(t+" is not a valid hex color");return o=7===t.length?(e=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)):(e=parseInt(t.substring(1,2),16),r=parseInt(t.substring(2,3),16),parseInt(t.substring(3,5),16)),"rgba("+e+", "+r+", "+o+", "+n/100+")"},t.rgbToHex=function(t){if("undefined"==typeof t)throw new Error("Hex color is not defined");if("transparent"===t)return"#00000000";var n=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!n)throw new Error(t+" is not a valid rgb color");var e="0"+parseInt(n[1],10).toString(16),r="0"+parseInt(n[2],10).toString(16),o="0"+parseInt(n[3],10).toString(16);return"#"+e.slice(-2)+r.slice(-2)+o.slice(-2)},t.sidebarCssClasses=["sidebar-show","sidebar-sm-show","sidebar-md-show","sidebar-lg-show","sidebar-xl-show"],t.validBreakpoints=["sm","md","lg","xl"],Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=coreui-utilities.min.js.map