"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    CategoryColor: ()=>TaskIcon_styles_CategoryColor,
    TASK_ICON_GRADIENTS: ()=>TASK_ICON_GRADIENTS,
    TaskIconContainer: ()=>TaskIconContainer
});
const styled_namespaceObject = require("@emotion/styled");
var styled_default = /*#__PURE__*/ __webpack_require__.n(styled_namespaceObject);
const external_TaskIcon_types_cjs_namespaceObject = require("./TaskIcon.types.cjs");
let TaskIcon_styles_CategoryColor = /*#__PURE__*/ function(CategoryColor) {
    CategoryColor["Purple"] = "linear-gradient(135deg, var(--color-gradient-agent-start) 4.81%, var(--color-gradient-agent-end) 97.27%)";
    CategoryColor["Green"] = "linear-gradient(135deg, var(--color-gradient-invoked-start) 0%, var(--color-gradient-invoked-end) 100%)";
    CategoryColor["Blue"] = "linear-gradient(135deg, var(--color-gradient-human-start) 2.77%, var(--color-gradient-human-end) 97.93%)";
    CategoryColor["Grey"] = "linear-gradient(135deg, var(--color-gradient-general-start) 0%, var(--color-gradient-general-end) 100%)";
    return CategoryColor;
}({});
const TASK_ICON_GRADIENTS = {
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Agent]: TaskIcon_styles_CategoryColor.Purple,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Automation]: TaskIcon_styles_CategoryColor.Green,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.ApiAutomation]: TaskIcon_styles_CategoryColor.Green,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.User]: TaskIcon_styles_CategoryColor.Blue,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.AgenticProcess]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Connector]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.ExternalAgent]: TaskIcon_styles_CategoryColor.Purple,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Timer]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.CaseManagement]: TaskIcon_styles_CategoryColor.Purple,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Queues]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.Tools]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.MoreElements]: TaskIcon_styles_CategoryColor.Grey,
    [external_TaskIcon_types_cjs_namespaceObject.TaskItemTypeValues.CreateNew]: TaskIcon_styles_CategoryColor.Grey
};
const TaskIconContainer = styled_default().div`
  display: flex;
  align-items: center;
  justify-content: center;
  width: ${({ $size })=>$size}px;
  height: ${({ $size })=>$size}px;
  border-radius: ${({ $borderRadius })=>$borderRadius}px;
  color: var(--canvas-foreground-emp);
  background: ${({ $taskType })=>TASK_ICON_GRADIENTS[$taskType]};
`;
exports.CategoryColor = __webpack_exports__.CategoryColor;
exports.TASK_ICON_GRADIENTS = __webpack_exports__.TASK_ICON_GRADIENTS;
exports.TaskIconContainer = __webpack_exports__.TaskIconContainer;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "CategoryColor",
    "TASK_ICON_GRADIENTS",
    "TaskIconContainer"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
