text: /*!
    * CoreUI v2.0.6 (https://coreui.io)
    * Copyright 2018 Łukasz Holeczek
    * Licensed under MIT (https://coreui.io)
    */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.utilities={})}(this,function(e){"use strict";e.getStyle=function(e,t){var r;void 0===t&&(t=document.body),r=e.match(/^--.*/i)&&Boolean(document.documentMode)&&10<=document.documentMode?function(){for(var n={},e=document.styleSheets,t="",r=e.length-1;-1<r;r--){for(var s=e[r].cssRules,o=s.length-1;-1<o;o--)if(".ie-custom-properties"===s[o].selectorText){t=s[o].cssText;break}if(t)break}return(t=t.substring(t.lastIndexOf("{")+1,t.lastIndexOf("}"))).split(";").forEach(function(e){if(e){var t=e.split(": ")[0],r=e.split(": ")[1];t&&r&&(n["--"+t.trim()]=r.trim())}}),n}()[e]:window.getComputedStyle(t,null).getPropertyValue(e).replace(/^\s/,"");return r},e.hexToRgb=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t,r,n;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return n=7===e.length?(t=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(t=parseInt(e.substring(1,2),16),r=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+t+", "+r+", "+n+")"},e.hexToRgba=function(e,t){if(void 0===t&&(t=100),"undefined"==typeof e)throw new Error("Hex color is not defined");var r,n,s;if(!e.match(/^#(?:[0-9a-f]{3}){1,2}$/i))throw new Error(e+" is not a valid hex color");return s=7===e.length?(r=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)):(r=parseInt(e.substring(1,2),16),n=parseInt(e.substring(2,3),16),parseInt(e.substring(3,5),16)),"rgba("+r+", "+n+", "+s+", "+t/100+")"},e.rgbToHex=function(e){if("undefined"==typeof e)throw new Error("Hex color is not defined");var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(!t)throw new Error(e+" is not a valid rgb color");var r="0"+parseInt(t[1],10).toString(16),n="0"+parseInt(t[2],10).toString(16),s="0"+parseInt(t[3],10).toString(16);return"#"+r.slice(-2)+n.slice(-2)+s.slice(-2)},Object.defineProperty(e,"__esModule",{value:!0})});
  //# sourceMappingURL=coreui-utilities.min.js.map