"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__, {
    SubLabelContainer: ()=>SubLabelContainer,
    InstructionsPreview: ()=>InstructionsPreview,
    SettingsPreviewSubtitle: ()=>SettingsPreviewSubtitle,
    SettingsPreviewHeader: ()=>SettingsPreviewHeader,
    SettingsPreviewContainer: ()=>SettingsPreviewContainer,
    InstructionsLine: ()=>InstructionsLine,
    AddInstructionsButton: ()=>AddInstructionsButton,
    SettingsSectionLabel: ()=>SettingsSectionLabel,
    SettingsSection: ()=>SettingsSection,
    SettingsPromptBox: ()=>SettingsPromptBox,
    InstructionsLabel: ()=>InstructionsLabel,
    SettingsRow: ()=>SettingsRow,
    HealthScoreBadge: ()=>HealthScoreBadge,
    SettingsRowValue: ()=>SettingsRowValue,
    SettingsPreviewTitle: ()=>SettingsPreviewTitle,
    SettingsRowLabel: ()=>SettingsRowLabel,
    SettingsSectionValue: ()=>SettingsSectionValue
});
const styled_namespaceObject = require("@emotion/styled");
var styled_default = /*#__PURE__*/ __webpack_require__.n(styled_namespaceObject);
const AddInstructionsButton = styled_default().button`
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed var(--canvas-border-de-emp);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--canvas-foreground-de-emp);
  line-height: 16px;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;

  &:hover {
    border-color: var(--canvas-selection-indicator);
    color: var(--canvas-selection-indicator);
  }
`;
const InstructionsLabel = styled_default().div`
  font-size: 11px;
  font-weight: 600;
  color: var(--canvas-foreground);
  line-height: 16px;
`;
const InstructionsPreview = styled_default().div`
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  font-size: 9px;
  line-height: 13px;
  color: var(--canvas-foreground-de-emp);
  cursor: pointer;
`;
const InstructionsLine = styled_default().div`
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  > strong {
    font-weight: 600;
  }
`;
const SettingsPreviewContainer = styled_default().div`
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 320px;
`;
const SettingsPreviewHeader = styled_default().div`
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--canvas-border-de-emp);
`;
const SettingsPreviewTitle = styled_default().div`
  font-size: 14px;
  font-weight: 600;
  color: var(--canvas-foreground-emp);
`;
const SettingsPreviewSubtitle = styled_default().div`
  font-size: 12px;
  color: var(--canvas-foreground-de-emp);
`;
const SettingsSection = styled_default().div`
  display: flex;
  flex-direction: column;
  gap: 4px;
`;
const SettingsSectionLabel = styled_default().div`
  font-size: 12px;
  font-weight: 500;
  color: var(--canvas-foreground-de-emp);
`;
const SettingsSectionValue = styled_default().div`
  font-size: 14px;
  color: var(--canvas-foreground-emp);
`;
const SettingsPromptBox = styled_default().div`
  font-size: 13px;
  color: ${({ isEmpty })=>isEmpty ? 'var(--canvas-foreground-de-emp)' : 'var(--canvas-foreground)'};
  font-style: ${({ isEmpty })=>isEmpty ? 'italic' : 'normal'};
  background: var(--canvas-background-hover);
  border: 1px solid var(--canvas-border-de-emp);
  border-radius: 6px;
  padding: 8px 10px;
  max-height: 80px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: var(--canvas-border-de-emp);
    border-radius: 2px;
  }
`;
const SettingsRow = styled_default().div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
`;
const SettingsRowLabel = styled_default().span`
  color: var(--canvas-foreground-de-emp);
`;
const SettingsRowValue = styled_default().span`
  color: var(--canvas-foreground-emp);
  font-weight: 500;
`;
const SubLabelContainer = styled_default().span`
  display: inline-flex;
  align-items: center;
  gap: 6px;
`;
const HealthScoreBadge = styled_default().span`
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background-color: var(--canvas-background-secondary);
  border-radius: 16px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  color: var(--canvas-foreground-de-emp);
  cursor: pointer;
`;
exports.AddInstructionsButton = __webpack_exports__.AddInstructionsButton;
exports.HealthScoreBadge = __webpack_exports__.HealthScoreBadge;
exports.InstructionsLabel = __webpack_exports__.InstructionsLabel;
exports.InstructionsLine = __webpack_exports__.InstructionsLine;
exports.InstructionsPreview = __webpack_exports__.InstructionsPreview;
exports.SettingsPreviewContainer = __webpack_exports__.SettingsPreviewContainer;
exports.SettingsPreviewHeader = __webpack_exports__.SettingsPreviewHeader;
exports.SettingsPreviewSubtitle = __webpack_exports__.SettingsPreviewSubtitle;
exports.SettingsPreviewTitle = __webpack_exports__.SettingsPreviewTitle;
exports.SettingsPromptBox = __webpack_exports__.SettingsPromptBox;
exports.SettingsRow = __webpack_exports__.SettingsRow;
exports.SettingsRowLabel = __webpack_exports__.SettingsRowLabel;
exports.SettingsRowValue = __webpack_exports__.SettingsRowValue;
exports.SettingsSection = __webpack_exports__.SettingsSection;
exports.SettingsSectionLabel = __webpack_exports__.SettingsSectionLabel;
exports.SettingsSectionValue = __webpack_exports__.SettingsSectionValue;
exports.SubLabelContainer = __webpack_exports__.SubLabelContainer;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "AddInstructionsButton",
    "HealthScoreBadge",
    "InstructionsLabel",
    "InstructionsLine",
    "InstructionsPreview",
    "SettingsPreviewContainer",
    "SettingsPreviewHeader",
    "SettingsPreviewSubtitle",
    "SettingsPreviewTitle",
    "SettingsPromptBox",
    "SettingsRow",
    "SettingsRowLabel",
    "SettingsRowValue",
    "SettingsSection",
    "SettingsSectionLabel",
    "SettingsSectionValue",
    "SubLabelContainer"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
