"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../../../services/theme/utils.js"),n=require("../../../../services/color/contrast.js"),l=require("../../../../services/color/manipulation.js");function m(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),e.push.apply(e,a)}return e}function s(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?m(Object(e),!0).forEach(function(a){C(r,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):m(Object(e)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(e,a))})}return r}function C(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function c(r,t){return D(r)||w(r,t)||O(r,t)||F()}function F(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(r,t){if(!!r){if(typeof r=="string")return p(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if(e==="Object"&&r.constructor&&(e=r.constructor.name),e==="Map"||e==="Set")return Array.from(r);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return p(r,t)}}function p(r,t){(t==null||t>r.length)&&(t=r.length);for(var e=0,a=new Array(t);e<t;e++)a[e]=r[e];return a}function w(r,t){var e=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(e!=null){var a=[],i=!0,d=!1,h,f;try{for(e=e.call(r);!(i=(h=e.next()).done)&&(a.push(h.value),!(t&&a.length===t));i=!0);}catch(x){d=!0,f=x}finally{try{!i&&e.return!=null&&e.return()}finally{if(d)throw f}}return a}}function D(r){if(Array.isArray(r))return r}var g={primary:"#07C",accent:"#F04E98",success:"#00BFB3",warning:"#FEC514",danger:"#BD271E"},u={primaryText:o.computed(n.makeHighContrastColor("colors.primary")),accentText:o.computed(n.makeHighContrastColor("colors.accent")),successText:o.computed(n.makeHighContrastColor("colors.success")),warningText:o.computed(n.makeHighContrastColor("colors.warning")),dangerText:o.computed(n.makeHighContrastColor("colors.danger"))},y={emptyShade:"#FFF",lightestShade:"#F1F4FA",lightShade:"#D3DAE6",mediumShade:"#98A2B3",darkShade:"#69707D",darkestShade:"#343741",fullShade:"#000"},_={body:o.computed(function(r){var t=c(r,1),e=t[0];return l.tint(e,.4)},["colors.lightestShade"]),highlight:o.computed(function(r){var t=c(r,1),e=t[0];return l.tint(e,.9)},["colors.warning"]),disabled:"#ABB4C4",disabledText:o.computed(n.makeDisabledContrastColor("colors.disabled")),shadow:o.computed(function(r){var t=r.colors;return t.ink})},b={text:o.computed(function(r){var t=c(r,1),e=t[0];return e},["colors.darkestShade"]),title:o.computed(function(r){var t=c(r,1),e=t[0];return l.shade(e,.5)},["colors.text"]),subduedText:o.computed(n.makeHighContrastColor("colors.darkShade")),link:o.computed(function(r){var t=c(r,1),e=t[0];return e},["colors.primaryText"])},v=s(s(s(s(s({},g),y),_),u),b),S={emptyShade:"#1D1E24",lightestShade:"#25262E",lightShade:"#343741",mediumShade:"#535966",darkShade:"#98A2B3",darkestShade:"#D4DAE5",fullShade:"#FFF"},k=s(s(s({primary:"#36A2EF",accent:"#F68FBE",success:"#7DDED8",warning:"#F3D371",danger:"#F86B63"},S),{},{body:o.computed(function(r){var t=c(r,1),e=t[0];return l.shade(e,.45)},["colors.lightestShade"]),highlight:"#2E2D25",disabled:"#515761",disabledText:o.computed(n.makeDisabledContrastColor("colors.disabled")),shadow:o.computed(function(r){var t=r.colors;return t.ink})},u),{},{text:"#DFE5EF",title:o.computed(function(r){var t=c(r,1),e=t[0];return e},["colors.text"]),subduedText:o.computed(n.makeHighContrastColor("colors.mediumShade")),link:o.computed(function(r){var t=c(r,1),e=t[0];return e},["colors.primaryText"])}),T={ghost:"#FFF",ink:"#000",LIGHT:v,DARK:k};exports.brand_colors=g;exports.brand_text_colors=u;exports.colors=T;exports.dark_colors_ams=k;exports.dark_shades=S;exports.light_colors=v;exports.shade_colors=y;exports.special_colors=_;exports.text_colors=b;
//# sourceMappingURL=_colors.js.map
