agentation 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +577 -578
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +560 -561
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -84,14 +84,14 @@ __export(index_exports, {
|
|
|
84
84
|
module.exports = __toCommonJS(index_exports);
|
|
85
85
|
|
|
86
86
|
// src/components/page-toolbar-css/index.tsx
|
|
87
|
-
var
|
|
88
|
-
var
|
|
87
|
+
var import_react4 = require("react");
|
|
88
|
+
var import_react_dom2 = require("react-dom");
|
|
89
89
|
|
|
90
90
|
// src/components/annotation-popup-css/index.tsx
|
|
91
91
|
var import_react = require("react");
|
|
92
92
|
|
|
93
93
|
// src/components/annotation-popup-css/styles.module.scss
|
|
94
|
-
var css = 'svg[fill=none] {\n fill: none !important;\n}\n\n@keyframes styles-module__popupEnter___AuQDN {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n}\n@keyframes styles-module__popupExit___JJKQX {\n from {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n}\n@keyframes styles-module__shake___jdbWe {\n 0%, 100% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(0);\n }\n 20% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-3px);\n }\n 40% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(3px);\n }\n 60% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-2px);\n }\n 80% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(2px);\n }\n}\n.styles-module__popup___IhzrD {\n position: fixed;\n transform: translateX(-50%);\n width: 280px;\n padding: 0.75rem 1rem 14px;\n background: #1a1a1a;\n border-radius: 16px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n cursor: default;\n z-index: 100001;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n will-change: transform, opacity;\n opacity: 0;\n}\n.styles-module__popup___IhzrD.styles-module__enter___L7U7N {\n animation: styles-module__popupEnter___AuQDN 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n}\n.styles-module__popup___IhzrD.styles-module__exit___5eGjE {\n animation: styles-module__popupExit___JJKQX 0.15s ease-in forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w.styles-module__shake___jdbWe {\n animation: styles-module__shake___jdbWe 0.25s ease-out;\n}\n\n.styles-module__header___wWsSi {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0.5625rem;\n}\n\n.styles-module__element___fTV2z {\n font-size: 0.75rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.styles-module__headerToggle___WpW0b {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n flex: 1;\n min-width: 0;\n text-align: left;\n}\n.styles-module__headerToggle___WpW0b .styles-module__element___fTV2z {\n flex: 1;\n}\n\n.styles-module__chevron___ZZJlR {\n color: rgba(255, 255, 255, 0.5);\n transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n flex-shrink: 0;\n}\n.styles-module__chevron___ZZJlR.styles-module__expanded___2Hxgv {\n transform: rotate(90deg);\n}\n\n.styles-module__stylesWrapper___pnHgy {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n}\n.styles-module__stylesWrapper___pnHgy.styles-module__expanded___2Hxgv {\n grid-template-rows: 1fr;\n}\n\n.styles-module__stylesInner___YYZe2 {\n overflow: hidden;\n}\n\n.styles-module__stylesBlock___VfQKn {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.375rem;\n padding: 0.5rem 0.625rem;\n margin-bottom: 0.5rem;\n font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n font-size: 0.6875rem;\n line-height: 1.5;\n}\n\n.styles-module__styleLine___1YQiD {\n color: rgba(255, 255, 255, 0.85);\n word-break: break-word;\n}\n\n.styles-module__styleProperty___84L1i {\n color: #c792ea;\n}\n\n.styles-module__styleValue___q51-h {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__timestamp___Dtpsv {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.35);\n font-variant-numeric: tabular-nums;\n margin-left: 0.5rem;\n flex-shrink: 0;\n}\n\n.styles-module__quote___mcMmQ {\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.5rem;\n padding: 0.4rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.25rem;\n line-height: 1.45;\n}\n\n.styles-module__textarea___jrSae {\n width: 100%;\n padding: 0.5rem 0.625rem;\n font-size: 0.8125rem;\n font-family: inherit;\n background: rgba(255, 255, 255, 0.05);\n color: #fff;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 8px;\n resize: none;\n outline: none;\n transition: border-color 0.15s ease;\n}\n.styles-module__textarea___jrSae:focus {\n border-color:
|
|
94
|
+
var css = '.styles-module__popup___IhzrD svg[fill=none] {\n fill: none !important;\n}\n.styles-module__popup___IhzrD svg[fill=none] :not([fill]) {\n fill: none !important;\n}\n\n@keyframes styles-module__popupEnter___AuQDN {\n from {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n}\n@keyframes styles-module__popupExit___JJKQX {\n from {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: translateX(-50%) scale(0.95) translateY(4px);\n }\n}\n@keyframes styles-module__shake___jdbWe {\n 0%, 100% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(0);\n }\n 20% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-3px);\n }\n 40% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(3px);\n }\n 60% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(-2px);\n }\n 80% {\n transform: translateX(-50%) scale(1) translateY(0) translateX(2px);\n }\n}\n.styles-module__popup___IhzrD {\n position: fixed;\n transform: translateX(-50%);\n width: 280px;\n padding: 0.75rem 1rem 14px;\n background: #1a1a1a;\n border-radius: 16px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n cursor: default;\n z-index: 100001;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n will-change: transform, opacity;\n opacity: 0;\n}\n.styles-module__popup___IhzrD.styles-module__enter___L7U7N {\n animation: styles-module__popupEnter___AuQDN 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w {\n opacity: 1;\n transform: translateX(-50%) scale(1) translateY(0);\n}\n.styles-module__popup___IhzrD.styles-module__exit___5eGjE {\n animation: styles-module__popupExit___JJKQX 0.15s ease-in forwards;\n}\n.styles-module__popup___IhzrD.styles-module__entered___COX-w.styles-module__shake___jdbWe {\n animation: styles-module__shake___jdbWe 0.25s ease-out;\n}\n\n.styles-module__header___wWsSi {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 0.5625rem;\n}\n\n.styles-module__element___fTV2z {\n font-size: 0.75rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n}\n\n.styles-module__headerToggle___WpW0b {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n flex: 1;\n min-width: 0;\n text-align: left;\n}\n.styles-module__headerToggle___WpW0b .styles-module__element___fTV2z {\n flex: 1;\n}\n\n.styles-module__chevron___ZZJlR {\n color: rgba(255, 255, 255, 0.5);\n transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);\n flex-shrink: 0;\n}\n.styles-module__chevron___ZZJlR.styles-module__expanded___2Hxgv {\n transform: rotate(90deg);\n}\n\n.styles-module__stylesWrapper___pnHgy {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);\n}\n.styles-module__stylesWrapper___pnHgy.styles-module__expanded___2Hxgv {\n grid-template-rows: 1fr;\n}\n\n.styles-module__stylesInner___YYZe2 {\n overflow: hidden;\n}\n\n.styles-module__stylesBlock___VfQKn {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.375rem;\n padding: 0.5rem 0.625rem;\n margin-bottom: 0.5rem;\n font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;\n font-size: 0.6875rem;\n line-height: 1.5;\n}\n\n.styles-module__styleLine___1YQiD {\n color: rgba(255, 255, 255, 0.85);\n word-break: break-word;\n}\n\n.styles-module__styleProperty___84L1i {\n color: #c792ea;\n}\n\n.styles-module__styleValue___q51-h {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__timestamp___Dtpsv {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.35);\n font-variant-numeric: tabular-nums;\n margin-left: 0.5rem;\n flex-shrink: 0;\n}\n\n.styles-module__quote___mcMmQ {\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.5rem;\n padding: 0.4rem 0.5rem;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 0.25rem;\n line-height: 1.45;\n}\n\n.styles-module__textarea___jrSae {\n width: 100%;\n padding: 0.5rem 0.625rem;\n font-size: 0.8125rem;\n font-family: inherit;\n background: rgba(255, 255, 255, 0.05);\n color: #fff;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 8px;\n resize: none;\n outline: none;\n transition: border-color 0.15s ease;\n}\n.styles-module__textarea___jrSae:focus {\n border-color: var(--agentation-color-blue);\n}\n.styles-module__textarea___jrSae.styles-module__green___99l3h:focus {\n border-color: var(--agentation-color-green);\n}\n.styles-module__textarea___jrSae::placeholder {\n color: rgba(255, 255, 255, 0.35);\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar {\n width: 6px;\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar-track {\n background: transparent;\n}\n.styles-module__textarea___jrSae::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n}\n\n.styles-module__actions___D6x3f {\n display: flex;\n justify-content: flex-end;\n gap: 0.375rem;\n margin-top: 0.5rem;\n}\n\n.styles-module__cancel___hRjnL,\n.styles-module__submit___K-mIR {\n padding: 0.4rem 0.875rem;\n font-size: 0.75rem;\n font-weight: 500;\n border-radius: 1rem;\n border: none;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;\n}\n\n.styles-module__cancel___hRjnL {\n background: transparent;\n color: rgba(255, 255, 255, 0.5);\n}\n.styles-module__cancel___hRjnL:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n\n.styles-module__submit___K-mIR {\n color: white;\n}\n.styles-module__submit___K-mIR:hover:not(:disabled) {\n filter: brightness(0.9);\n}\n.styles-module__submit___K-mIR:disabled {\n cursor: not-allowed;\n}\n\n.styles-module__deleteWrapper___oSjdo {\n margin-right: auto;\n}\n\n.styles-module__deleteButton___4VuAE {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__deleteButton___4VuAE:hover {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}\n.styles-module__deleteButton___4VuAE:active {\n transform: scale(0.92);\n}\n\n.styles-module__light___6AaSQ.styles-module__popup___IhzrD {\n background: #fff;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n.styles-module__light___6AaSQ .styles-module__element___fTV2z {\n color: rgba(0, 0, 0, 0.6);\n}\n.styles-module__light___6AaSQ .styles-module__timestamp___Dtpsv {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__chevron___ZZJlR {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__stylesBlock___VfQKn {\n background: rgba(0, 0, 0, 0.03);\n}\n.styles-module__light___6AaSQ .styles-module__styleLine___1YQiD {\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__styleProperty___84L1i {\n color: #7c3aed;\n}\n.styles-module__light___6AaSQ .styles-module__styleValue___q51-h {\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__quote___mcMmQ {\n color: rgba(0, 0, 0, 0.55);\n background: rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae {\n background: rgba(0, 0, 0, 0.03);\n color: #1a1a1a;\n border-color: rgba(0, 0, 0, 0.12);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae::placeholder {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__textarea___jrSae::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.15);\n}\n.styles-module__light___6AaSQ .styles-module__cancel___hRjnL {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___6AaSQ .styles-module__cancel___hRjnL:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.75);\n}\n.styles-module__light___6AaSQ .styles-module__deleteButton___4VuAE {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___6AaSQ .styles-module__deleteButton___4VuAE:hover {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}';
|
|
95
95
|
var classNames = { "popup": "styles-module__popup___IhzrD", "enter": "styles-module__enter___L7U7N", "popupEnter": "styles-module__popupEnter___AuQDN", "entered": "styles-module__entered___COX-w", "exit": "styles-module__exit___5eGjE", "popupExit": "styles-module__popupExit___JJKQX", "shake": "styles-module__shake___jdbWe", "header": "styles-module__header___wWsSi", "element": "styles-module__element___fTV2z", "headerToggle": "styles-module__headerToggle___WpW0b", "chevron": "styles-module__chevron___ZZJlR", "expanded": "styles-module__expanded___2Hxgv", "stylesWrapper": "styles-module__stylesWrapper___pnHgy", "stylesInner": "styles-module__stylesInner___YYZe2", "stylesBlock": "styles-module__stylesBlock___VfQKn", "styleLine": "styles-module__styleLine___1YQiD", "styleProperty": "styles-module__styleProperty___84L1i", "styleValue": "styles-module__styleValue___q51-h", "timestamp": "styles-module__timestamp___Dtpsv", "quote": "styles-module__quote___mcMmQ", "textarea": "styles-module__textarea___jrSae", "green": "styles-module__green___99l3h", "actions": "styles-module__actions___D6x3f", "cancel": "styles-module__cancel___hRjnL", "submit": "styles-module__submit___K-mIR", "deleteWrapper": "styles-module__deleteWrapper___oSjdo", "deleteButton": "styles-module__deleteButton___4VuAE", "light": "styles-module__light___6AaSQ" };
|
|
96
96
|
if (typeof document !== "undefined") {
|
|
97
97
|
let style = document.getElementById("feedback-tool-styles-annotation-popup-css-styles");
|
|
@@ -104,6 +104,20 @@ if (typeof document !== "undefined") {
|
|
|
104
104
|
}
|
|
105
105
|
var styles_module_default = classNames;
|
|
106
106
|
|
|
107
|
+
// src/components/icon-transitions.module.scss
|
|
108
|
+
var css2 = ".icon-transitions-module__iconState___uqK9J {\n transition: opacity 0.2s ease, transform 0.2s ease;\n transform-origin: center;\n}\n\n.icon-transitions-module__iconStateFast___HxlMm {\n transition: opacity 0.15s ease, transform 0.15s ease;\n transform-origin: center;\n}\n\n.icon-transitions-module__iconFade___nPwXg {\n transition: opacity 0.2s ease;\n}\n\n.icon-transitions-module__iconFadeFast___Ofb2t {\n transition: opacity 0.15s ease;\n}\n\n.icon-transitions-module__visible___PlHsU {\n opacity: 1 !important;\n}\n\n.icon-transitions-module__visibleScaled___8Qog- {\n opacity: 1 !important;\n transform: scale(1);\n}\n\n.icon-transitions-module__hidden___ETykt {\n opacity: 0 !important;\n}\n\n.icon-transitions-module__hiddenScaled___JXn-m {\n opacity: 0 !important;\n transform: scale(0.8);\n}\n\n.icon-transitions-module__sending___uaLN- {\n opacity: 0.5 !important;\n transform: scale(0.8);\n}";
|
|
109
|
+
var classNames2 = { "iconState": "icon-transitions-module__iconState___uqK9J", "iconStateFast": "icon-transitions-module__iconStateFast___HxlMm", "iconFade": "icon-transitions-module__iconFade___nPwXg", "iconFadeFast": "icon-transitions-module__iconFadeFast___Ofb2t", "visible": "icon-transitions-module__visible___PlHsU", "visibleScaled": "icon-transitions-module__visibleScaled___8Qog-", "hidden": "icon-transitions-module__hidden___ETykt", "hiddenScaled": "icon-transitions-module__hiddenScaled___JXn-m", "sending": "icon-transitions-module__sending___uaLN-" };
|
|
110
|
+
if (typeof document !== "undefined") {
|
|
111
|
+
let style = document.getElementById("feedback-tool-styles-components-icon-transitions");
|
|
112
|
+
if (!style) {
|
|
113
|
+
style = document.createElement("style");
|
|
114
|
+
style.id = "feedback-tool-styles-components-icon-transitions";
|
|
115
|
+
style.textContent = css2;
|
|
116
|
+
document.head.appendChild(style);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
var icon_transitions_module_default = classNames2;
|
|
120
|
+
|
|
107
121
|
// src/components/icons.tsx
|
|
108
122
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
109
123
|
var IconClose = ({ size = 16 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -191,28 +205,10 @@ var IconListSparkle = ({
|
|
|
191
205
|
] }),
|
|
192
206
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "clip0_list_sparkle", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
193
207
|
] });
|
|
194
|
-
var IconHelp = ({ size = 20 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
195
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
cx: "10",
|
|
199
|
-
cy: "10.5",
|
|
200
|
-
r: "5.25",
|
|
201
|
-
stroke: "currentColor",
|
|
202
|
-
strokeWidth: "1.25"
|
|
203
|
-
}
|
|
204
|
-
),
|
|
205
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
206
|
-
"path",
|
|
207
|
-
{
|
|
208
|
-
d: "M8.5 8.75C8.5 7.92 9.17 7.25 10 7.25C10.83 7.25 11.5 7.92 11.5 8.75C11.5 9.58 10.83 10.25 10 10.25V11",
|
|
209
|
-
stroke: "currentColor",
|
|
210
|
-
strokeWidth: "1.25",
|
|
211
|
-
strokeLinecap: "round",
|
|
212
|
-
strokeLinejoin: "round"
|
|
213
|
-
}
|
|
214
|
-
),
|
|
215
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "13", r: "0.75", fill: "currentColor" })
|
|
208
|
+
var IconHelp = ({ size = 20, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", ...props, children: [
|
|
209
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "10", r: "6", stroke: "currentColor", strokeWidth: "1.25" }),
|
|
210
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M8.24 8.19C8.38 7.78 8.66 7.44 9.03 7.23C9.4 7.01 9.84 6.93 10.26 7C10.68 7.07 11.06 7.29 11.34 7.62C11.61 7.95 11.76 8.36 11.76 8.79152C11.76 10 10 10.6 10 10.6V10.83", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
211
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "13", r: "0.625", fill: "currentColor" })
|
|
216
212
|
] });
|
|
217
213
|
var IconCheckSmallAnimated = ({ size = 14 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", children: [
|
|
218
214
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
|
|
@@ -279,12 +275,7 @@ var IconCopyAlt = ({ size = 16 }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs
|
|
|
279
275
|
)
|
|
280
276
|
] });
|
|
281
277
|
var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
282
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
283
|
-
.copy-icon, .check-icon {
|
|
284
|
-
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
285
|
-
}
|
|
286
|
-
` }),
|
|
287
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: "copy-icon", style: { opacity: copied ? 0 : 1, transform: copied ? "scale(0.8)" : "scale(1)", transformOrigin: "center" }, children: [
|
|
278
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconState} ${copied ? icon_transitions_module_default.hiddenScaled : icon_transitions_module_default.visibleScaled}`, children: [
|
|
288
279
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
289
280
|
"path",
|
|
290
281
|
{
|
|
@@ -303,12 +294,12 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ (0, im
|
|
|
303
294
|
}
|
|
304
295
|
)
|
|
305
296
|
] }),
|
|
306
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className:
|
|
297
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconState} ${copied ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
307
298
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
308
299
|
"path",
|
|
309
300
|
{
|
|
310
301
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
311
|
-
stroke: "
|
|
302
|
+
stroke: "var(--agentation-color-green)",
|
|
312
303
|
strokeWidth: "1.5",
|
|
313
304
|
strokeLinecap: "round",
|
|
314
305
|
strokeLinejoin: "round"
|
|
@@ -318,7 +309,7 @@ var IconCopyAnimated = ({ size = 24, copied = false }) => /* @__PURE__ */ (0, im
|
|
|
318
309
|
"path",
|
|
319
310
|
{
|
|
320
311
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
321
|
-
stroke: "
|
|
312
|
+
stroke: "var(--agentation-color-green)",
|
|
322
313
|
strokeWidth: "1.5",
|
|
323
314
|
strokeLinecap: "round",
|
|
324
315
|
strokeLinejoin: "round"
|
|
@@ -335,16 +326,7 @@ var IconSendArrow = ({
|
|
|
335
326
|
const showError = state === "failed";
|
|
336
327
|
const isSending = state === "sending";
|
|
337
328
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
338
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
339
|
-
.send-arrow-icon, .send-check-icon, .send-error-icon {
|
|
340
|
-
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
341
|
-
}
|
|
342
|
-
` }),
|
|
343
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { className: "send-arrow-icon", style: {
|
|
344
|
-
opacity: showArrow ? 1 : isSending ? 0.5 : 0,
|
|
345
|
-
transform: showArrow ? "scale(1)" : "scale(0.8)",
|
|
346
|
-
transformOrigin: "center"
|
|
347
|
-
}, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
329
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { className: `${icon_transitions_module_default.iconStateFast} ${showArrow ? icon_transitions_module_default.visibleScaled : isSending ? icon_transitions_module_default.sending : icon_transitions_module_default.hiddenScaled}`, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
348
330
|
"path",
|
|
349
331
|
{
|
|
350
332
|
d: "M9.875 14.125L12.3506 19.6951C12.7184 20.5227 13.9091 20.4741 14.2083 19.6193L18.8139 6.46032C19.0907 5.6695 18.3305 4.90933 17.5397 5.18611L4.38072 9.79174C3.52589 10.0909 3.47731 11.2816 4.30494 11.6494L9.875 14.125ZM9.875 14.125L13.375 10.625",
|
|
@@ -354,16 +336,12 @@ var IconSendArrow = ({
|
|
|
354
336
|
strokeLinejoin: "round"
|
|
355
337
|
}
|
|
356
338
|
) }),
|
|
357
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className:
|
|
358
|
-
opacity: showCheck ? 1 : 0,
|
|
359
|
-
transform: showCheck ? "scale(1)" : "scale(0.8)",
|
|
360
|
-
transformOrigin: "center"
|
|
361
|
-
}, children: [
|
|
339
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconStateFast} ${showCheck ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
362
340
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
363
341
|
"path",
|
|
364
342
|
{
|
|
365
343
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
366
|
-
stroke: "
|
|
344
|
+
stroke: "var(--agentation-color-green)",
|
|
367
345
|
strokeWidth: "1.5",
|
|
368
346
|
strokeLinecap: "round",
|
|
369
347
|
strokeLinejoin: "round"
|
|
@@ -373,23 +351,19 @@ var IconSendArrow = ({
|
|
|
373
351
|
"path",
|
|
374
352
|
{
|
|
375
353
|
d: "M15 10L11 14.25L9.25 12.25",
|
|
376
|
-
stroke: "
|
|
354
|
+
stroke: "var(--agentation-color-green)",
|
|
377
355
|
strokeWidth: "1.5",
|
|
378
356
|
strokeLinecap: "round",
|
|
379
357
|
strokeLinejoin: "round"
|
|
380
358
|
}
|
|
381
359
|
)
|
|
382
360
|
] }),
|
|
383
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className:
|
|
384
|
-
opacity: showError ? 1 : 0,
|
|
385
|
-
transform: showError ? "scale(1)" : "scale(0.8)",
|
|
386
|
-
transformOrigin: "center"
|
|
387
|
-
}, children: [
|
|
361
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconStateFast} ${showError ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
388
362
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
389
363
|
"path",
|
|
390
364
|
{
|
|
391
365
|
d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z",
|
|
392
|
-
stroke: "
|
|
366
|
+
stroke: "var(--agentation-color-red)",
|
|
393
367
|
strokeWidth: "1.5",
|
|
394
368
|
strokeLinecap: "round",
|
|
395
369
|
strokeLinejoin: "round"
|
|
@@ -399,22 +373,17 @@ var IconSendArrow = ({
|
|
|
399
373
|
"path",
|
|
400
374
|
{
|
|
401
375
|
d: "M12 8V12",
|
|
402
|
-
stroke: "
|
|
376
|
+
stroke: "var(--agentation-color-red)",
|
|
403
377
|
strokeWidth: "1.5",
|
|
404
378
|
strokeLinecap: "round"
|
|
405
379
|
}
|
|
406
380
|
),
|
|
407
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "15", r: "0.5", fill: "
|
|
381
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "15", r: "0.5", fill: "var(--agentation-color-red)", stroke: "var(--agentation-color-red)", strokeWidth: "1" })
|
|
408
382
|
] })
|
|
409
383
|
] });
|
|
410
384
|
};
|
|
411
385
|
var IconSendAnimated = ({ size = 24, sent = false }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 22 21", fill: "none", children: [
|
|
412
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
413
|
-
.send-icon, .sent-icon {
|
|
414
|
-
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
415
|
-
}
|
|
416
|
-
` }),
|
|
417
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: "send-icon", style: { opacity: sent ? 0 : 1, transform: sent ? "scale(0.8)" : "scale(1)", transformOrigin: "center" }, children: [
|
|
386
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconState} ${sent ? icon_transitions_module_default.hiddenScaled : icon_transitions_module_default.visibleScaled}`, children: [
|
|
418
387
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
419
388
|
"path",
|
|
420
389
|
{
|
|
@@ -453,7 +422,7 @@ var IconSendAnimated = ({ size = 24, sent = false }) => /* @__PURE__ */ (0, impo
|
|
|
453
422
|
}
|
|
454
423
|
)
|
|
455
424
|
] }),
|
|
456
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className:
|
|
425
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconState} ${sent ? icon_transitions_module_default.visibleScaled : icon_transitions_module_default.hiddenScaled}`, children: [
|
|
457
426
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
458
427
|
"path",
|
|
459
428
|
{
|
|
@@ -539,12 +508,7 @@ var IconEyeClosed = ({ size = 24 }) => /* @__PURE__ */ (0, import_jsx_runtime.js
|
|
|
539
508
|
)
|
|
540
509
|
] });
|
|
541
510
|
var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
542
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
543
|
-
.eye-open, .eye-closed {
|
|
544
|
-
transition: opacity 0.2s ease;
|
|
545
|
-
}
|
|
546
|
-
` }),
|
|
547
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: "eye-open", style: { opacity: isOpen ? 1 : 0 }, children: [
|
|
511
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconFade} ${isOpen ? icon_transitions_module_default.visible : icon_transitions_module_default.hidden}`, children: [
|
|
548
512
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
549
513
|
"path",
|
|
550
514
|
{
|
|
@@ -566,7 +530,7 @@ var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ (0, impo
|
|
|
566
530
|
}
|
|
567
531
|
)
|
|
568
532
|
] }),
|
|
569
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className:
|
|
533
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconFade} ${isOpen ? icon_transitions_module_default.hidden : icon_transitions_module_default.visible}`, children: [
|
|
570
534
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
571
535
|
"path",
|
|
572
536
|
{
|
|
@@ -586,41 +550,33 @@ var IconEyeAnimated = ({ size = 24, isOpen = true }) => /* @__PURE__ */ (0, impo
|
|
|
586
550
|
] })
|
|
587
551
|
] });
|
|
588
552
|
var IconPausePlayAnimated = ({ size = 24, isPaused = false }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
589
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
590
|
-
|
|
591
|
-
|
|
553
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { className: `${icon_transitions_module_default.iconFadeFast} ${isPaused ? icon_transitions_module_default.hidden : icon_transitions_module_default.visible}`, children: [
|
|
554
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
555
|
+
"path",
|
|
556
|
+
{
|
|
557
|
+
d: "M8 6L8 18",
|
|
558
|
+
stroke: "currentColor",
|
|
559
|
+
strokeWidth: "1.5",
|
|
560
|
+
strokeLinecap: "round"
|
|
592
561
|
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
),
|
|
605
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
606
|
-
"path",
|
|
607
|
-
{
|
|
608
|
-
className: "pause-bar",
|
|
609
|
-
d: "M16 18L16 6",
|
|
610
|
-
stroke: "currentColor",
|
|
611
|
-
strokeWidth: "1.5",
|
|
612
|
-
strokeLinecap: "round",
|
|
613
|
-
style: { opacity: isPaused ? 0 : 1 }
|
|
614
|
-
}
|
|
615
|
-
),
|
|
562
|
+
),
|
|
563
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
564
|
+
"path",
|
|
565
|
+
{
|
|
566
|
+
d: "M16 18L16 6",
|
|
567
|
+
stroke: "currentColor",
|
|
568
|
+
strokeWidth: "1.5",
|
|
569
|
+
strokeLinecap: "round"
|
|
570
|
+
}
|
|
571
|
+
)
|
|
572
|
+
] }),
|
|
616
573
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
617
574
|
"path",
|
|
618
575
|
{
|
|
619
|
-
className:
|
|
576
|
+
className: `${icon_transitions_module_default.iconFadeFast} ${isPaused ? icon_transitions_module_default.visible : icon_transitions_module_default.hidden}`,
|
|
620
577
|
d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z",
|
|
621
578
|
stroke: "currentColor",
|
|
622
|
-
strokeWidth: "1.5"
|
|
623
|
-
style: { opacity: isPaused ? 1 : 0 }
|
|
579
|
+
strokeWidth: "1.5"
|
|
624
580
|
}
|
|
625
581
|
)
|
|
626
582
|
] });
|
|
@@ -1226,6 +1182,18 @@ function unfreeze() {
|
|
|
1226
1182
|
|
|
1227
1183
|
// src/components/annotation-popup-css/index.tsx
|
|
1228
1184
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
1185
|
+
function focusBypassingTraps(el) {
|
|
1186
|
+
if (!el) return;
|
|
1187
|
+
const trap = (e) => e.stopImmediatePropagation();
|
|
1188
|
+
document.addEventListener("focusin", trap, true);
|
|
1189
|
+
document.addEventListener("focusout", trap, true);
|
|
1190
|
+
try {
|
|
1191
|
+
el.focus();
|
|
1192
|
+
} finally {
|
|
1193
|
+
document.removeEventListener("focusin", trap, true);
|
|
1194
|
+
document.removeEventListener("focusout", trap, true);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1229
1197
|
var AnnotationPopupCSS = (0, import_react.forwardRef)(
|
|
1230
1198
|
function AnnotationPopupCSS2({
|
|
1231
1199
|
element,
|
|
@@ -1267,7 +1235,7 @@ var AnnotationPopupCSS = (0, import_react.forwardRef)(
|
|
|
1267
1235
|
const focusTimer = originalSetTimeout(() => {
|
|
1268
1236
|
const textarea = textareaRef.current;
|
|
1269
1237
|
if (textarea) {
|
|
1270
|
-
textarea
|
|
1238
|
+
focusBypassingTraps(textarea);
|
|
1271
1239
|
textarea.selectionStart = textarea.selectionEnd = textarea.value.length;
|
|
1272
1240
|
textarea.scrollTop = textarea.scrollHeight;
|
|
1273
1241
|
}
|
|
@@ -1284,7 +1252,7 @@ var AnnotationPopupCSS = (0, import_react.forwardRef)(
|
|
|
1284
1252
|
setIsShaking(true);
|
|
1285
1253
|
shakeTimerRef.current = originalSetTimeout(() => {
|
|
1286
1254
|
setIsShaking(false);
|
|
1287
|
-
textareaRef.current
|
|
1255
|
+
focusBypassingTraps(textareaRef.current);
|
|
1288
1256
|
}, 250);
|
|
1289
1257
|
}, []);
|
|
1290
1258
|
(0, import_react.useImperativeHandle)(ref, () => ({
|
|
@@ -1340,7 +1308,7 @@ var AnnotationPopupCSS = (0, import_react.forwardRef)(
|
|
|
1340
1308
|
const wasExpanded = isStylesExpanded;
|
|
1341
1309
|
setIsStylesExpanded(!isStylesExpanded);
|
|
1342
1310
|
if (wasExpanded) {
|
|
1343
|
-
originalSetTimeout(() => textareaRef.current
|
|
1311
|
+
originalSetTimeout(() => focusBypassingTraps(textareaRef.current), 0);
|
|
1344
1312
|
}
|
|
1345
1313
|
},
|
|
1346
1314
|
type: "button",
|
|
@@ -2080,6 +2048,10 @@ var DEFAULT_SKIP_PATTERNS = [
|
|
|
2080
2048
|
// AppRouter, BrowserRouter
|
|
2081
2049
|
/^Client(Page|Segment|Root)/,
|
|
2082
2050
|
// ClientPageRoot, ClientSegmentRoot
|
|
2051
|
+
/^Segment(ViewNode|Node)$/,
|
|
2052
|
+
// Next.js App Router internals
|
|
2053
|
+
/^LayoutSegment/,
|
|
2054
|
+
// Next.js layout segment wrappers
|
|
2083
2055
|
/^Server(Root|Component|Render)/,
|
|
2084
2056
|
// ServerRoot (not ServerStatus)
|
|
2085
2057
|
/^RSC/,
|
|
@@ -2743,21 +2715,136 @@ function findNearestComponentSource(element, maxAncestors = 10) {
|
|
|
2743
2715
|
}
|
|
2744
2716
|
|
|
2745
2717
|
// src/components/page-toolbar-css/styles.module.scss
|
|
2746
|
-
var css2 = 'svg[fill=none] {\n fill: none !important;\n}\n\n.styles-module__toolbar___wNsdK :where(button, input, select, textarea, label) {\n background: unset;\n border: unset;\n border-radius: unset;\n padding: unset;\n margin: unset;\n color: unset;\n font: unset;\n letter-spacing: unset;\n text-transform: unset;\n text-decoration: unset;\n box-shadow: unset;\n outline: unset;\n}\n\n@keyframes styles-module__toolbarEnter___u8RRu {\n from {\n opacity: 0;\n transform: scale(0.5) rotate(90deg);\n }\n to {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}\n@keyframes styles-module__toolbarHide___y8kaT {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n@keyframes styles-module__badgeEnter___mVQLj {\n from {\n opacity: 0;\n transform: scale(0);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleIn___c-r1K {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleOut___Wctwz {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.85);\n }\n}\n@keyframes styles-module__slideUp___kgD36 {\n from {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__slideDown___zcdje {\n from {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n}\n@keyframes styles-module__markerIn___5FaAP {\n 0% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n@keyframes styles-module__markerOut___GU5jX {\n 0% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 100% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n}\n@keyframes styles-module__fadeIn___b9qmf {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes styles-module__fadeOut___6Ut6- {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes styles-module__tooltipIn___0N31w {\n from {\n opacity: 0;\n transform: translateX(-50%) translateY(2px) scale(0.891);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) translateY(0) scale(0.909);\n }\n}\n@keyframes styles-module__hoverHighlightIn___6WYHY {\n from {\n opacity: 0;\n transform: scale(0.98);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__hoverTooltipIn___FYGQx {\n from {\n opacity: 0;\n transform: scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__settingsPanelIn___MGfO8 {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n filter: blur(5px);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n}\n@keyframes styles-module__settingsPanelOut___Zfymi {\n from {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n to {\n opacity: 0;\n transform: translateY(20px) scale(0.95);\n filter: blur(5px);\n }\n}\n.styles-module__toolbar___wNsdK {\n position: fixed;\n bottom: 1.25rem;\n right: 1.25rem;\n width: 297px;\n z-index: 100000;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n pointer-events: none;\n transition: left 0s, top 0s, right 0s, bottom 0s;\n}\n\n.styles-module__toolbarContainer___dIhma {\n user-select: none;\n margin-left: auto;\n align-self: flex-end;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #1a1a1a;\n color: #fff;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);\n pointer-events: auto;\n cursor: grab;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__dragging___xrolZ {\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n cursor: grabbing;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__entrance___sgHd8 {\n animation: styles-module__toolbarEnter___u8RRu 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__hiding___1td44 {\n animation: styles-module__toolbarHide___y8kaT 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;\n pointer-events: none;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn {\n width: 44px;\n height: 44px;\n border-radius: 22px;\n padding: 0;\n cursor: pointer;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn svg {\n margin-top: -1px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #2a2a2a;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:active {\n transform: scale(0.95);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx {\n height: 44px;\n border-radius: 1.5rem;\n padding: 0.375rem;\n width: 257px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx.styles-module__serverConnected___Gfbou {\n width: 297px;\n}\n\n.styles-module__toggleContent___0yfyP {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toggleContent___0yfyP.styles-module__visible___KHwEW {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__toggleContent___0yfyP.styles-module__hidden___Ae8H4 {\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__controlsContent___9GJWU {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__controlsContent___9GJWU.styles-module__visible___KHwEW {\n opacity: 1;\n filter: blur(0px);\n transform: scale(1);\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__controlsContent___9GJWU.styles-module__hidden___Ae8H4 {\n pointer-events: none;\n opacity: 0;\n filter: blur(10px);\n transform: scale(0.4);\n}\n\n.styles-module__badge___2XsgF {\n position: absolute;\n top: -13px;\n right: -13px;\n user-select: none;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: 9px;\n background: #3c82f7;\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);\n opacity: 1;\n transition: transform 0.3s ease, opacity 0.2s ease;\n transform: scale(1);\n}\n.styles-module__badge___2XsgF.styles-module__fadeOut___6Ut6- {\n opacity: 0;\n transform: scale(0);\n pointer-events: none;\n}\n.styles-module__badge___2XsgF.styles-module__entrance___sgHd8 {\n animation: styles-module__badgeEnter___mVQLj 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both;\n}\n\n.styles-module__controlButton___8Q0jc {\n position: relative;\n cursor: pointer !important;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.85);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, opacity 0.2s ease;\n}\n.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n}\n.styles-module__controlButton___8Q0jc:active:not(:disabled) {\n transform: scale(0.92);\n}\n.styles-module__controlButton___8Q0jc:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n.styles-module__controlButton___8Q0jc[data-active=true] {\n color: #3c82f7;\n background: rgba(60, 130, 247, 0.25);\n}\n.styles-module__controlButton___8Q0jc[data-error=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.25);\n}\n.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background: rgba(255, 59, 48, 0.25);\n color: #ff3b30;\n}\n.styles-module__controlButton___8Q0jc[data-no-hover=true], .styles-module__controlButton___8Q0jc.styles-module__statusShowing___te6iu {\n cursor: default !important;\n pointer-events: none;\n background: transparent !important;\n}\n.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: #34c759;\n background: transparent;\n cursor: default;\n}\n.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.25);\n}\n\n.styles-module__buttonBadge___NeFWb {\n position: absolute;\n top: 0px;\n right: 0px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n border-radius: 8px;\n background: #3c82f7;\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 0 0 2px #1a1a1a, 0 1px 3px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n}\n.styles-module__buttonBadge___NeFWb.styles-module__light___r6n4Y {\n box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpIndicatorPulseConnected___EDodZ {\n 0%, 100% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);\n }\n 50% {\n box-shadow: 0 0 0 5px rgba(52, 199, 89, 0);\n }\n}\n@keyframes styles-module__mcpIndicatorPulseConnecting___cCYte {\n 0%, 100% {\n box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5);\n }\n 50% {\n box-shadow: 0 0 0 5px rgba(245, 166, 35, 0);\n }\n}\n.styles-module__mcpIndicator___zGJeL {\n position: absolute;\n top: 3px;\n right: 3px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n pointer-events: none;\n transition: background 0.3s ease, opacity 0.15s ease, transform 0.15s ease;\n opacity: 1;\n transform: scale(1);\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpIndicatorPulseConnected___EDodZ 2.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpIndicatorPulseConnecting___cCYte 1.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__hidden___Ae8H4 {\n opacity: 0;\n transform: scale(0);\n animation: none;\n}\n\n@keyframes styles-module__connectionPulse___-Zycw {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.6;\n transform: scale(0.9);\n }\n}\n.styles-module__connectionIndicatorWrapper___L-e-3 {\n width: 8px;\n height: 34px;\n margin-left: 6px;\n margin-right: 6px;\n}\n\n.styles-module__connectionIndicator___afk9p {\n position: relative;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.3s ease, background 0.3s ease;\n cursor: default;\n}\n\n.styles-module__connectionIndicatorVisible___C-i5B {\n opacity: 1;\n}\n\n.styles-module__connectionIndicatorConnected___IY8pR {\n background: #34c759;\n animation: styles-module__connectionPulse___-Zycw 2.5s ease-in-out infinite;\n}\n\n.styles-module__connectionIndicatorDisconnected___kmpaZ {\n background: #ff3b30;\n animation: none;\n}\n\n.styles-module__connectionIndicatorConnecting___QmSLH {\n background: #f59e0b;\n animation: styles-module__connectionPulse___-Zycw 1s ease-in-out infinite;\n}\n\n.styles-module__buttonWrapper___rBcdv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) scale(1);\n transition-delay: 0.85s;\n}\n.styles-module__buttonWrapper___rBcdv:has(.styles-module__controlButton___8Q0jc:disabled):hover .styles-module__buttonTooltip___Burd9 {\n opacity: 0;\n visibility: hidden;\n}\n\n.styles-module__tooltipsInSession___-0lHH .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transition-delay: 0s;\n}\n\n.styles-module__sendButtonWrapper___UUxG6 {\n width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n margin-left: -0.375rem;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1), margin 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6 .styles-module__controlButton___8Q0jc {\n transform: scale(0.8);\n transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU {\n width: 34px;\n opacity: 1;\n overflow: visible;\n pointer-events: auto;\n margin-left: 0;\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU .styles-module__controlButton___8Q0jc {\n transform: scale(1);\n}\n\n.styles-module__buttonTooltip___Burd9 {\n position: absolute;\n bottom: calc(100% + 14px);\n left: 50%;\n transform: translateX(-50%) scale(0.95);\n padding: 6px 10px;\n background: #1a1a1a;\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n font-weight: 500;\n border-radius: 8px;\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n z-index: 100001;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\n transition: opacity 0.135s ease, transform 0.135s ease, visibility 0.135s ease;\n}\n.styles-module__buttonTooltip___Burd9::after {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 50%;\n transform: translateX(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n background: #1a1a1a;\n border-radius: 0 0 2px 0;\n}\n\n.styles-module__shortcut___lEAQk {\n margin-left: 4px;\n opacity: 0.5;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9 {\n bottom: auto;\n top: calc(100% + 14px);\n transform: translateX(-50%) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9::after {\n top: -4px;\n bottom: auto;\n border-radius: 2px 0 0 0;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-50%) scale(1);\n}\n\n.styles-module__tooltipsHidden___VtLJG .styles-module__buttonTooltip___Burd9 {\n opacity: 0 !important;\n visibility: hidden !important;\n transition: none !important;\n}\n\n.styles-module__tooltipVisible___0jcCv,\n.styles-module__tooltipsHidden___VtLJG .styles-module__tooltipVisible___0jcCv {\n opacity: 1 !important;\n visibility: visible !important;\n transform: translateX(-50%) scale(1) !important;\n transition-delay: 0s !important;\n}\n\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9::after {\n left: 16px;\n}\n.styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9::after {\n left: auto;\n right: 8px;\n}\n.styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__divider___c--s1 {\n width: 1px;\n height: 12px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 0.125rem;\n}\n\n.styles-module__overlay___Q1O9y {\n position: fixed;\n inset: 0;\n z-index: 99997;\n pointer-events: none;\n}\n.styles-module__overlay___Q1O9y > * {\n pointer-events: auto;\n}\n\n.styles-module__hoverHighlight___ogakW {\n position: fixed;\n border: 2px solid rgba(60, 130, 247, 0.5);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(60, 130, 247, 0.04);\n box-sizing: border-box;\n will-change: opacity;\n contain: layout style;\n}\n.styles-module__hoverHighlight___ogakW.styles-module__enter___WFIki {\n animation: styles-module__hoverHighlightIn___6WYHY 0.12s ease-out forwards;\n}\n\n.styles-module__multiSelectOutline___cSJ-m {\n position: fixed;\n border: 2px dashed rgba(52, 199, 89, 0.6);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(52, 199, 89, 0.05);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__singleSelectOutline___QhX-O {\n position: fixed;\n border: 2px solid rgba(60, 130, 247, 0.6);\n border-radius: 4px;\n pointer-events: none !important;\n background: rgba(60, 130, 247, 0.05);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__hoverTooltip___bvLk7 {\n position: fixed;\n font-size: 0.6875rem;\n font-weight: 500;\n color: #fff;\n background: rgba(0, 0, 0, 0.85);\n padding: 0.35rem 0.6rem;\n border-radius: 0.375rem;\n pointer-events: none !important;\n white-space: nowrap;\n max-width: 280px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.styles-module__hoverTooltip___bvLk7.styles-module__enter___WFIki {\n animation: styles-module__hoverTooltipIn___FYGQx 0.1s ease-out forwards;\n}\n\n.styles-module__hoverReactPath___gx1IJ {\n font-size: 0.625rem;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.15rem;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__hoverElementName___QMLMl {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markersLayer___-25j1 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__markersLayer___-25j1 > * {\n pointer-events: auto;\n}\n\n.styles-module__fixedMarkersLayer___ffyX6 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__fixedMarkersLayer___ffyX6 > * {\n pointer-events: auto;\n}\n\n.styles-module__marker___6sQrs {\n position: absolute;\n width: 22px;\n height: 22px;\n background: #3c82f7;\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.6875rem;\n font-weight: 600;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n cursor: pointer;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.04);\n user-select: none;\n will-change: transform, opacity;\n contain: layout style;\n z-index: 1;\n}\n.styles-module__marker___6sQrs:hover {\n z-index: 2;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7) {\n transition: background-color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__marker___6sQrs.styles-module__enter___WFIki {\n animation: styles-module__markerIn___5FaAP 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;\n}\n.styles-module__marker___6sQrs.styles-module__exit___fyOJ0 {\n animation: styles-module__markerOut___GU5jX 0.2s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs.styles-module__clearing___FQ--7 {\n animation: styles-module__markerOut___GU5jX 0.15s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7):hover {\n transform: translate(-50%, -50%) scale(1.1);\n}\n.styles-module__marker___6sQrs.styles-module__pending___2IHLC {\n position: fixed;\n background: #3c82f7;\n}\n.styles-module__marker___6sQrs.styles-module__fixed___dBMHC {\n position: fixed;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz {\n background: #34c759;\n width: 26px;\n height: 26px;\n border-radius: 6px;\n font-size: 0.75rem;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz.styles-module__pending___2IHLC {\n background: #34c759;\n}\n.styles-module__marker___6sQrs.styles-module__hovered___ZgXIy {\n background: #ff3b30;\n}\n\n.styles-module__renumber___nCTxD {\n display: block;\n animation: styles-module__renumberRoll___Wgbq3 0.2s ease-out;\n}\n\n@keyframes styles-module__renumberRoll___Wgbq3 {\n 0% {\n transform: translateX(-40%);\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}\n.styles-module__markerTooltip___aLJID {\n position: absolute;\n top: calc(100% + 10px);\n left: 50%;\n transform: translateX(-50%) scale(0.909);\n z-index: 100002;\n background: #1a1a1a;\n padding: 8px 0.75rem;\n border-radius: 0.75rem;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n font-weight: 400;\n color: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n min-width: 120px;\n max-width: 200px;\n pointer-events: none;\n cursor: default;\n}\n.styles-module__markerTooltip___aLJID.styles-module__enter___WFIki {\n animation: styles-module__tooltipIn___0N31w 0.1s ease-out forwards;\n}\n\n.styles-module__markerQuote___FHmrz {\n display: block;\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.3125rem;\n line-height: 1.4;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markerNote___QkrrS {\n display: block;\n font-size: 13px;\n font-weight: 400;\n line-height: 1.4;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 2px;\n}\n\n.styles-module__markerHint___2iF-6 {\n display: block;\n font-size: 0.625rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.6);\n margin-top: 0.375rem;\n white-space: nowrap;\n}\n\n.styles-module__settingsPanel___OxX3Y {\n position: absolute;\n right: 5px;\n bottom: calc(100% + 0.5rem);\n z-index: 1;\n overflow: hidden;\n background: #1c1c1c;\n border-radius: 1rem;\n padding: 13px 0 16px;\n min-width: 205px;\n cursor: default;\n opacity: 1;\n box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);\n transition: background 0.25s ease, box-shadow 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y::before, .styles-module__settingsPanel___OxX3Y::after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 16px;\n z-index: 2;\n pointer-events: none;\n}\n.styles-module__settingsPanel___OxX3Y::before {\n left: 0;\n background: linear-gradient(to right, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y::after {\n right: 0;\n background: linear-gradient(to left, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY,\n.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz,\n.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa,\n.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax,\n.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr,\n.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp,\n.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56,\n.styles-module__settingsPanel___OxX3Y .styles-module__themeToggle___2rUjA {\n transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__enter___WFIki {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__exit___fyOJ0 {\n opacity: 0;\n transform: translateY(8px) scale(0.95);\n filter: blur(5px);\n pointer-events: none;\n transition: opacity 0.1s ease, transform 0.1s ease, filter 0.1s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf {\n background: #1a1a1a;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.6);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12 {\n color: rgba(255, 255, 255, 0.85);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.15);\n color: #fff;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__dark___ILIQf .styles-module__toggleLabel___Xm8Aa {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__settingsPanelContainer___Xksv8 {\n overflow: visible;\n position: relative;\n display: flex;\n padding: 0 1rem;\n}\n.styles-module__settingsPanelContainer___Xksv8.styles-module__transitioning___qxzCk {\n overflow-x: clip;\n overflow-y: visible;\n}\n\n.styles-module__settingsPage___6YfHH {\n min-width: 100%;\n flex-shrink: 0;\n transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease-out;\n opacity: 1;\n}\n\n.styles-module__settingsPage___6YfHH.styles-module__slideLeft___Ps01J {\n transform: translateX(-100%);\n opacity: 0;\n}\n\n.styles-module__automationsPage___uvCq6 {\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n padding: 3px 1rem 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease-out 0.1s;\n opacity: 0;\n}\n\n.styles-module__automationsPage___uvCq6.styles-module__slideIn___4-qXe {\n transform: translateX(-100%);\n opacity: 1;\n}\n\n.styles-module__settingsNavLink___wCzJt {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 0;\n border: none;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(255, 255, 255, 0.9);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y:hover {\n color: rgba(0, 0, 0, 0.8);\n}\n.styles-module__settingsNavLink___wCzJt svg {\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover svg {\n color: #fff;\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y svg {\n color: rgba(0, 0, 0, 0.25);\n}\n.styles-module__settingsNavLink___wCzJt.styles-module__light___r6n4Y:hover svg {\n color: rgba(0, 0, 0, 0.8);\n}\n\n.styles-module__settingsNavLinkRight___ZWwhj {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.styles-module__mcpNavIndicator___cl9pO {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpPulse___uNggr 1.5s ease-in-out infinite;\n}\n\n.styles-module__settingsBackButton___bIe2j {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 0 12px 0;\n margin: -6px 0 0.5rem 0;\n border: none;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n border-radius: 0;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 500;\n letter-spacing: -0.15px;\n color: #fff;\n cursor: pointer;\n transition: transform 0.12s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j svg {\n opacity: 0.4;\n flex-shrink: 0;\n transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsBackButton___bIe2j:hover svg {\n opacity: 1;\n}\n.styles-module__settingsBackButton___bIe2j.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__settingsBackButton___bIe2j.styles-module__light___r6n4Y:hover {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n\n.styles-module__automationHeader___InP0r {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n font-size: 0.8125rem;\n font-weight: 400;\n color: #fff;\n}\n.styles-module__automationHeader___InP0r .styles-module__helpIcon___xQg56 svg {\n transform: none;\n}\n.styles-module__automationHeader___InP0r.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__automationDescription___NKlmo {\n font-size: 0.6875rem;\n font-weight: 300;\n color: rgba(255, 255, 255, 0.5);\n margin-top: 2px;\n line-height: 14px;\n}\n.styles-module__automationDescription___NKlmo.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__learnMoreLink___8xv-x {\n color: rgba(255, 255, 255, 0.8);\n text-decoration: underline dotted;\n text-decoration-color: rgba(255, 255, 255, 0.2);\n text-underline-offset: 2px;\n transition: color 0.15s ease;\n}\n.styles-module__learnMoreLink___8xv-x:hover {\n color: #fff;\n}\n.styles-module__learnMoreLink___8xv-x.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.6);\n text-decoration-color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__learnMoreLink___8xv-x.styles-module__light___r6n4Y:hover {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__autoSendRow___UblX5 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.styles-module__autoSendLabel___icDc2 {\n font-size: 0.6875rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: #66b8ff;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__autoSendLabel___icDc2.styles-module__light___r6n4Y.styles-module__active___-zoN6 {\n color: #3c82f7;\n}\n\n.styles-module__webhookUrlInput___2375C {\n display: block;\n width: 100%;\n flex: 1;\n min-height: 60px;\n box-sizing: border-box;\n margin-top: 11px;\n padding: 8px 10px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.03);\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 400;\n color: #fff;\n outline: none;\n resize: none;\n cursor: text !important;\n user-select: text;\n transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;\n}\n.styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(255, 255, 255, 0.3);\n}\n.styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y {\n border-color: rgba(0, 0, 0, 0.1);\n background: rgba(0, 0, 0, 0.03);\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y::placeholder {\n color: rgba(0, 0, 0, 0.3);\n}\n.styles-module__webhookUrlInput___2375C.styles-module__light___r6n4Y:focus {\n border-color: rgba(0, 0, 0, 0.25);\n background: rgba(0, 0, 0, 0.05);\n}\n\n.styles-module__settingsHeader___pwDY9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n margin-bottom: 0.5rem;\n padding-bottom: 9px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n}\n\n.styles-module__settingsBrand___0gJeM {\n font-size: 0.8125rem;\n font-weight: 600;\n letter-spacing: -0.0094em;\n color: #fff;\n}\n\n.styles-module__settingsBrandSlash___uTG18 {\n color: rgba(255, 255, 255, 0.5);\n}\n\n.styles-module__settingsVersion___TUcFq {\n font-size: 11px;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n margin-left: auto;\n letter-spacing: -0.0094em;\n}\n\n.styles-module__settingsSection___m-YM2 + .styles-module__settingsSection___m-YM2 {\n margin-top: 0.5rem;\n padding-top: 0.5rem;\n border-top: 1px solid rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsSection___m-YM2.styles-module__settingsSectionExtraPadding___jdhFV {\n padding-top: calc(0.5rem + 4px);\n}\n\n.styles-module__settingsSectionGrow___h-5HZ {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n.styles-module__settingsRow___3sdhc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n}\n.styles-module__settingsRow___3sdhc.styles-module__settingsRowMarginTop___zA0Sp {\n margin-top: 8px;\n}\n\n.styles-module__dropdownContainer___BVnxe {\n position: relative;\n}\n\n.styles-module__dropdownButton___16NPz {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.25rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 600;\n color: #fff;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownButton___16NPz:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownButton___16NPz svg {\n opacity: 0.6;\n}\n\n.styles-module__cycleButton___FMKfw {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: none;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: #fff;\n cursor: pointer;\n letter-spacing: -0.0094em;\n}\n.styles-module__cycleButton___FMKfw.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__cycleButton___FMKfw:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__toggleSwitch___l4Ygm {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n@keyframes styles-module__cycleTextIn___Q6zJf {\n 0% {\n opacity: 0;\n transform: translateY(-6px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n.styles-module__cycleButtonText___fD1LR {\n display: inline-block;\n animation: styles-module__cycleTextIn___Q6zJf 0.2s ease-out;\n}\n\n.styles-module__cycleDots___LWuoQ {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.styles-module__cycleDot___nPgLY {\n width: 3px;\n height: 3px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.3);\n transform: scale(0.667);\n transition: background-color 0.25s ease-out, transform 0.25s ease-out;\n}\n.styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: #fff;\n transform: scale(1);\n}\n.styles-module__cycleDot___nPgLY.styles-module__light___r6n4Y {\n background: rgba(0, 0, 0, 0.2);\n}\n.styles-module__cycleDot___nPgLY.styles-module__light___r6n4Y.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__dropdownMenu___k73ER {\n position: absolute;\n right: 0;\n top: calc(100% + 0.25rem);\n background: #1a1a1a;\n border-radius: 0.5rem;\n padding: 0.25rem;\n min-width: 120px;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);\n z-index: 10;\n animation: styles-module__scaleIn___c-r1K 0.15s ease-out;\n}\n\n.styles-module__dropdownItem___ylsLj {\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0.5rem 0.625rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.85);\n cursor: pointer;\n text-align: left;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownItem___ylsLj:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownItem___ylsLj.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n font-weight: 600;\n}\n\n.styles-module__settingsLabel___8UjfX {\n font-size: 0.8125rem;\n font-weight: 400;\n letter-spacing: -0.0094em;\n color: rgba(255, 255, 255, 0.5);\n display: flex;\n align-items: center;\n gap: 0.125rem;\n}\n.styles-module__settingsLabel___8UjfX.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__settingsLabelMarker___ewdtV {\n padding-top: 3px;\n margin-bottom: 10px;\n}\n\n.styles-module__settingsOptions___LyrBA {\n display: flex;\n gap: 0.25rem;\n}\n\n.styles-module__settingsOption___UNa12 {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.25rem;\n padding: 0.375rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.6875rem;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__settingsOption___UNa12:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(60, 130, 247, 0.15);\n color: #3c82f7;\n}\n\n.styles-module__sliderContainer___ducXj {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.styles-module__slider___GLdxp {\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n height: 4px;\n background: rgba(255, 255, 255, 0.15);\n border-radius: 2px;\n outline: none;\n cursor: pointer;\n}\n.styles-module__slider___GLdxp::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 14px;\n height: 14px;\n background: white;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp::-moz-range-thumb {\n width: 14px;\n height: 14px;\n background: white;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp:hover::-webkit-slider-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n.styles-module__slider___GLdxp:hover::-moz-range-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n\n.styles-module__sliderLabels___FhLDB {\n display: flex;\n justify-content: space-between;\n}\n\n.styles-module__sliderLabel___U8sPr {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__sliderLabel___U8sPr:hover {\n color: rgba(255, 255, 255, 0.7);\n}\n.styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(255, 255, 255, 0.9);\n}\n\n.styles-module__colorOptions___iHCNX {\n display: flex;\n gap: 0.5rem;\n margin-top: 0.375rem;\n margin-bottom: 1px;\n}\n\n.styles-module__colorOption___IodiY {\n display: block;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid transparent;\n cursor: pointer;\n transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);\n}\n.styles-module__colorOption___IodiY:hover {\n transform: scale(1.15);\n}\n.styles-module__colorOption___IodiY.styles-module__selected___OwRqP {\n transform: scale(0.83);\n}\n\n.styles-module__colorOptionRing___U2xpo {\n display: flex;\n width: 24px;\n height: 24px;\n border: 2px solid transparent;\n border-radius: 50%;\n transition: border-color 0.3s ease;\n}\n.styles-module__settingsToggle___fBrFn {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n}\n.styles-module__settingsToggle___fBrFn + .styles-module__settingsToggle___fBrFn {\n margin-top: calc(0.5rem + 6px);\n}\n.styles-module__settingsToggle___fBrFn input[type=checkbox] {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__settingsToggle___fBrFn.styles-module__settingsToggleMarginBottom___MZUyF {\n margin-bottom: calc(0.5rem + 6px);\n}\n\n.styles-module__customCheckbox___U39ax {\n position: relative;\n width: 14px;\n height: 14px;\n border: 1px solid rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: background 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__customCheckbox___U39ax svg {\n color: #1a1a1a;\n opacity: 1;\n transition: opacity 0.15s ease;\n}\ninput[type=checkbox]:checked + .styles-module__customCheckbox___U39ax {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgb(255, 255, 255);\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n.styles-module__customCheckbox___U39ax.styles-module__light___r6n4Y.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n\n.styles-module__toggleLabel___Xm8Aa {\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n letter-spacing: -0.0094em;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n.styles-module__toggleLabel___Xm8Aa.styles-module__light___r6n4Y {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__toggleSwitch___l4Ygm {\n position: relative;\n display: inline-block;\n width: 24px;\n height: 16px;\n flex-shrink: 0;\n cursor: pointer;\n transition: opacity 0.15s ease;\n}\n.styles-module__toggleSwitch___l4Ygm input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn {\n background: #3c82f7;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn::before {\n transform: translateX(8px);\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw {\n opacity: 0.4;\n pointer-events: none;\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw .styles-module__toggleSlider___wprIn {\n cursor: not-allowed;\n}\n\n.styles-module__toggleSlider___wprIn {\n position: absolute;\n cursor: pointer;\n inset: 0;\n border-radius: 16px;\n background: #484848;\n}\n.styles-module__light___r6n4Y .styles-module__toggleSlider___wprIn {\n background: #dddddd;\n}\n.styles-module__toggleSlider___wprIn::before {\n content: "";\n position: absolute;\n height: 12px;\n width: 12px;\n left: 2px;\n bottom: 2px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpPulse___uNggr {\n 0% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);\n }\n 70% {\n box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);\n }\n 100% {\n box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);\n }\n}\n@keyframes styles-module__mcpPulseError___fov9B {\n 0% {\n box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5);\n }\n 70% {\n box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);\n }\n 100% {\n box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);\n }\n}\n.styles-module__mcpStatusDot___ibgkc {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connecting___uo-CW {\n background: #f5a623;\n animation: styles-module__mcpPulse___uNggr 1.5s infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connected___7c28g {\n background: #34c759;\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__disconnected___cHPxR {\n background: #ff3b30;\n animation: styles-module__mcpPulseError___fov9B 2s infinite;\n}\n\n.styles-module__helpIcon___xQg56 {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: help;\n margin-left: 0;\n}\n.styles-module__helpIcon___xQg56 svg {\n display: block;\n transform: translateY(1px);\n color: rgba(255, 255, 255, 0.2);\n transition: color 0.15s ease;\n}\n.styles-module__helpIcon___xQg56:hover svg {\n color: rgba(255, 255, 255, 0.5);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudgeDown___0cqpM svg {\n transform: translateY(1px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNoNudge___abogC svg {\n transform: translateY(0.5px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudge1-5___DM2TQ svg {\n transform: translateY(1.5px);\n}\n.styles-module__helpIcon___xQg56.styles-module__helpIconNudge2___TfWgC svg {\n transform: translateY(2px);\n}\n\n.styles-module__dragSelection___kZLq2 {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid rgba(52, 199, 89, 0.6);\n border-radius: 4px;\n background: rgba(52, 199, 89, 0.08);\n pointer-events: none;\n z-index: 99997;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__dragCount___KM90j {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: #34c759;\n color: white;\n font-size: 0.875rem;\n font-weight: 600;\n padding: 0.25rem 0.5rem;\n border-radius: 1rem;\n min-width: 1.5rem;\n text-align: center;\n}\n\n.styles-module__highlightsContainer___-0xzG {\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n z-index: 99996;\n}\n\n.styles-module__selectedElementHighlight___fyVlI {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid rgba(52, 199, 89, 0.5);\n border-radius: 4px;\n background: rgba(52, 199, 89, 0.06);\n pointer-events: none;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__light___r6n4Y.styles-module__toolbarContainer___dIhma {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #f5f5f5;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-active=true] {\n color: #3c82f7;\n background: rgba(60, 130, 247, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-error=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background: rgba(255, 59, 48, 0.15);\n color: #ff3b30;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: #34c759;\n background: transparent;\n}\n.styles-module__light___r6n4Y.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: #ff3b30;\n background: rgba(255, 59, 48, 0.15);\n}\n.styles-module__light___r6n4Y.styles-module__buttonTooltip___Burd9 {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__buttonTooltip___Burd9::after {\n background: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__divider___c--s1 {\n background: rgba(0, 0, 0, 0.1);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID {\n background: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerQuote___FHmrz {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerNote___QkrrS {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__markerTooltip___aLJID .styles-module__markerHint___2iF-6 {\n color: rgba(0, 0, 0, 0.35);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y::before {\n background: linear-gradient(to right, #fff 0%, transparent 100%);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y::after {\n background: linear-gradient(to left, #fff 0%, transparent 100%);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9 {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18 {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2 {\n border-top-color: rgba(0, 0, 0, 0.08);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr:hover {\n color: rgba(0, 0, 0, 0.7);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(0, 0, 0, 0.9);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp {\n background: rgba(0, 0, 0, 0.1);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-webkit-slider-thumb {\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-moz-range-thumb {\n background: #1a1a1a;\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56 svg {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__light___r6n4Y.styles-module__settingsPanel___OxX3Y .styles-module__helpIcon___xQg56:hover svg {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__themeToggle___2rUjA {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n margin-left: 0.5rem;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__themeToggle___2rUjA:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n.styles-module__light___r6n4Y .styles-module__themeToggle___2rUjA {\n color: rgba(0, 0, 0, 0.4);\n}\n.styles-module__light___r6n4Y .styles-module__themeToggle___2rUjA:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__themeIconWrapper___LsJIM {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n.styles-module__themeIcon___lCCmo {\n display: flex;\n align-items: center;\n justify-content: center;\n animation: styles-module__themeIconIn___TU6ML 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n\n@keyframes styles-module__themeIconIn___TU6ML {\n 0% {\n opacity: 0;\n transform: scale(0.8) rotate(-30deg);\n }\n 100% {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}';
|
|
2747
|
-
var
|
|
2718
|
+
var css3 = '.styles-module__toolbar___wNsdK svg[fill=none],\n.styles-module__markersLayer___-25j1 svg[fill=none],\n.styles-module__fixedMarkersLayer___ffyX6 svg[fill=none] {\n fill: none !important;\n}\n.styles-module__toolbar___wNsdK svg[fill=none] :not([fill]),\n.styles-module__markersLayer___-25j1 svg[fill=none] :not([fill]),\n.styles-module__fixedMarkersLayer___ffyX6 svg[fill=none] :not([fill]) {\n fill: none !important;\n}\n\n.styles-module__toolbar___wNsdK :where(button, input, select, textarea, label) {\n background: unset;\n border: unset;\n border-radius: unset;\n padding: unset;\n margin: unset;\n color: unset;\n font: unset;\n letter-spacing: unset;\n text-transform: unset;\n text-decoration: unset;\n box-shadow: unset;\n outline: unset;\n}\n\n@keyframes styles-module__toolbarEnter___u8RRu {\n from {\n opacity: 0;\n transform: scale(0.5) rotate(90deg);\n }\n to {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}\n@keyframes styles-module__toolbarHide___y8kaT {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n@keyframes styles-module__badgeEnter___mVQLj {\n from {\n opacity: 0;\n transform: scale(0);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleIn___c-r1K {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__scaleOut___Wctwz {\n from {\n opacity: 1;\n transform: scale(1);\n }\n to {\n opacity: 0;\n transform: scale(0.85);\n }\n}\n@keyframes styles-module__slideUp___kgD36 {\n from {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__slideDown___zcdje {\n from {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n to {\n opacity: 0;\n transform: scale(0.85) translateY(8px);\n }\n}\n@keyframes styles-module__markerIn___5FaAP {\n 0% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n 100% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n}\n@keyframes styles-module__markerOut___GU5jX {\n 0% {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n 100% {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.3);\n }\n}\n@keyframes styles-module__fadeIn___b9qmf {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes styles-module__fadeOut___6Ut6- {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes styles-module__tooltipIn___0N31w {\n from {\n opacity: 0;\n transform: translateX(-50%) translateY(2px) scale(0.891);\n }\n to {\n opacity: 1;\n transform: translateX(-50%) translateY(0) scale(0.909);\n }\n}\n@keyframes styles-module__hoverHighlightIn___6WYHY {\n from {\n opacity: 0;\n transform: scale(0.98);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes styles-module__hoverTooltipIn___FYGQx {\n from {\n opacity: 0;\n transform: scale(0.95) translateY(4px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n@keyframes styles-module__settingsPanelIn___MGfO8 {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n filter: blur(5px);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n}\n@keyframes styles-module__settingsPanelOut___Zfymi {\n from {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n }\n to {\n opacity: 0;\n transform: translateY(20px) scale(0.95);\n filter: blur(5px);\n }\n}\n.styles-module__disableTransitions___EopxO :is(*, *::before, *::after) {\n transition: none !important;\n}\n\n.styles-module__toolbar___wNsdK {\n position: fixed;\n width: 297px;\n z-index: 100000;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n pointer-events: none;\n transition: left 0s, top 0s, right 0s, bottom 0s;\n}\n\n:where(.styles-module__toolbar___wNsdK) {\n bottom: 1.25rem;\n right: 1.25rem;\n}\n\n.styles-module__toolbarContainer___dIhma {\n user-select: none;\n margin-left: auto;\n align-self: flex-end;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #1a1a1a;\n color: #fff;\n border: none;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);\n pointer-events: auto;\n cursor: grab;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__dragging___xrolZ {\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n cursor: grabbing;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__entrance___sgHd8 {\n animation: styles-module__toolbarEnter___u8RRu 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__hiding___1td44 {\n animation: styles-module__toolbarHide___y8kaT 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;\n pointer-events: none;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn {\n width: 44px;\n height: 44px;\n border-radius: 22px;\n padding: 0;\n cursor: pointer;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn svg {\n margin-top: -1px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #2a2a2a;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:active {\n transform: scale(0.95);\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx {\n height: 44px;\n border-radius: 1.5rem;\n padding: 0.375rem;\n width: 257px;\n}\n.styles-module__toolbarContainer___dIhma.styles-module__expanded___ofKPx.styles-module__serverConnected___Gfbou {\n width: 297px;\n}\n\n.styles-module__toggleContent___0yfyP {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__toggleContent___0yfyP.styles-module__visible___KHwEW {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__toggleContent___0yfyP.styles-module__hidden___Ae8H4 {\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__controlsContent___9GJWU {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__controlsContent___9GJWU.styles-module__visible___KHwEW {\n opacity: 1;\n filter: blur(0px);\n transform: scale(1);\n visibility: visible;\n pointer-events: auto;\n}\n.styles-module__controlsContent___9GJWU.styles-module__hidden___Ae8H4 {\n pointer-events: none;\n opacity: 0;\n filter: blur(10px);\n transform: scale(0.4);\n}\n\n.styles-module__badge___2XsgF {\n position: absolute;\n top: -13px;\n right: -13px;\n user-select: none;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: 9px;\n background-color: var(--agentation-color-accent);\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);\n opacity: 1;\n transition: transform 0.3s ease, opacity 0.2s ease;\n transform: scale(1);\n}\n.styles-module__badge___2XsgF.styles-module__fadeOut___6Ut6- {\n opacity: 0;\n transform: scale(0);\n pointer-events: none;\n}\n.styles-module__badge___2XsgF.styles-module__entrance___sgHd8 {\n animation: styles-module__badgeEnter___mVQLj 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both;\n}\n\n.styles-module__controlButton___8Q0jc {\n position: relative;\n cursor: pointer !important;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n border: none;\n background: transparent;\n color: rgba(255, 255, 255, 0.85);\n transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, opacity 0.2s ease;\n}\n.styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n}\n.styles-module__controlButton___8Q0jc:active:not(:disabled) {\n transform: scale(0.92);\n}\n.styles-module__controlButton___8Q0jc:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n.styles-module__controlButton___8Q0jc[data-active=true] {\n color: var(--agentation-color-blue);\n background-color: color-mix(in srgb, var(--agentation-color-blue) 25%, transparent);\n}\n.styles-module__controlButton___8Q0jc[data-error=true] {\n color: var(--agentation-color-red);\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n}\n.styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n color: var(--agentation-color-red);\n}\n.styles-module__controlButton___8Q0jc[data-no-hover=true], .styles-module__controlButton___8Q0jc.styles-module__statusShowing___te6iu {\n cursor: default !important;\n pointer-events: none;\n background: transparent !important;\n}\n.styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: var(--agentation-color-green);\n background: transparent;\n cursor: default;\n}\n.styles-module__controlButton___8Q0jc[data-failed=true] {\n color: var(--agentation-color-red);\n background-color: color-mix(in srgb, var(--agentation-color-red) 25%, transparent);\n}\n\n.styles-module__buttonBadge___NeFWb {\n position: absolute;\n top: 0px;\n right: 0px;\n min-width: 16px;\n height: 16px;\n padding: 0 4px;\n border-radius: 8px;\n background-color: var(--agentation-color-accent);\n color: white;\n font-size: 0.625rem;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 0 0 2px #1a1a1a, 0 1px 3px rgba(0, 0, 0, 0.2);\n pointer-events: none;\n}\n[data-agentation-theme=light] .styles-module__buttonBadge___NeFWb {\n box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.2);\n}\n\n@keyframes styles-module__mcpIndicatorPulseConnected___EDodZ {\n 0%, 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n }\n 50% {\n box-shadow: 0 0 0 5px color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n}\n@keyframes styles-module__mcpIndicatorPulseConnecting___cCYte {\n 0%, 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-yellow) 50%, transparent);\n }\n 50% {\n box-shadow: 0 0 0 5px color-mix(in srgb, var(--agentation-color-yellow) 0%, transparent);\n }\n}\n.styles-module__mcpIndicator___zGJeL {\n position: absolute;\n top: 3px;\n right: 3px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n pointer-events: none;\n transition: background-color 0.3s ease, opacity 0.15s ease, transform 0.15s ease;\n opacity: 1;\n transform: scale(1);\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpIndicatorPulseConnected___EDodZ 2.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpIndicatorPulseConnecting___cCYte 1.5s ease-in-out infinite;\n}\n.styles-module__mcpIndicator___zGJeL.styles-module__hidden___Ae8H4 {\n opacity: 0;\n transform: scale(0);\n animation: none;\n}\n\n@keyframes styles-module__connectionPulse___-Zycw {\n 0%, 100% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.6;\n transform: scale(0.9);\n }\n}\n.styles-module__connectionIndicatorWrapper___L-e-3 {\n width: 8px;\n height: 34px;\n margin-left: 6px;\n margin-right: 6px;\n}\n\n.styles-module__connectionIndicator___afk9p {\n position: relative;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 0.3s ease, background-color 0.3s ease;\n cursor: default;\n}\n\n.styles-module__connectionIndicatorVisible___C-i5B {\n opacity: 1;\n}\n\n.styles-module__connectionIndicatorConnected___IY8pR {\n background-color: var(--agentation-color-green);\n animation: styles-module__connectionPulse___-Zycw 2.5s ease-in-out infinite;\n}\n\n.styles-module__connectionIndicatorDisconnected___kmpaZ {\n background-color: var(--agentation-color-red);\n animation: none;\n}\n\n.styles-module__connectionIndicatorConnecting___QmSLH {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__connectionPulse___-Zycw 1s ease-in-out infinite;\n}\n\n.styles-module__buttonWrapper___rBcdv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) scale(1);\n transition-delay: 0.85s;\n}\n.styles-module__buttonWrapper___rBcdv:has(.styles-module__controlButton___8Q0jc:disabled):hover .styles-module__buttonTooltip___Burd9 {\n opacity: 0;\n visibility: hidden;\n}\n\n.styles-module__tooltipsInSession___-0lHH .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transition-delay: 0s;\n}\n\n.styles-module__sendButtonWrapper___UUxG6 {\n width: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n margin-left: -0.375rem;\n transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1), margin 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6 .styles-module__controlButton___8Q0jc {\n transform: scale(0.8);\n transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU {\n width: 34px;\n opacity: 1;\n overflow: visible;\n pointer-events: auto;\n margin-left: 0;\n}\n.styles-module__sendButtonWrapper___UUxG6.styles-module__sendButtonVisible___WPSQU .styles-module__controlButton___8Q0jc {\n transform: scale(1);\n}\n\n.styles-module__buttonTooltip___Burd9 {\n position: absolute;\n bottom: calc(100% + 14px);\n left: 50%;\n transform: translateX(-50%) scale(0.95);\n padding: 6px 10px;\n background: #1a1a1a;\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n font-weight: 500;\n border-radius: 8px;\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n z-index: 100001;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\n transition: opacity 0.135s ease, transform 0.135s ease, visibility 0.135s ease;\n}\n.styles-module__buttonTooltip___Burd9::after {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 50%;\n transform: translateX(-50%) rotate(45deg);\n width: 8px;\n height: 8px;\n background: #1a1a1a;\n border-radius: 0 0 2px 0;\n}\n\n.styles-module__shortcut___lEAQk {\n margin-left: 4px;\n opacity: 0.5;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9 {\n bottom: auto;\n top: calc(100% + 14px);\n transform: translateX(-50%) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonTooltip___Burd9::after {\n top: -4px;\n bottom: auto;\n border-radius: 2px 0 0 0;\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapper___rBcdv:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-50%) scale(1);\n}\n\n.styles-module__tooltipsHidden___VtLJG .styles-module__buttonTooltip___Burd9 {\n opacity: 0 !important;\n visibility: hidden !important;\n transition: none !important;\n}\n\n.styles-module__tooltipVisible___0jcCv,\n.styles-module__tooltipsHidden___VtLJG .styles-module__tooltipVisible___0jcCv {\n opacity: 1 !important;\n visibility: visible !important;\n transform: translateX(-50%) scale(1) !important;\n transition-delay: 0s !important;\n}\n\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9::after {\n left: 16px;\n}\n.styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignLeft___myzIp:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(-12px) scale(1);\n}\n\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n left: 50%;\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9::after {\n left: auto;\n right: 8px;\n}\n.styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(0.95);\n}\n.styles-module__tooltipBelow___m6ats .styles-module__buttonWrapperAlignRight___HCQFR:hover .styles-module__buttonTooltip___Burd9 {\n transform: translateX(calc(-100% + 12px)) scale(1);\n}\n\n.styles-module__divider___c--s1 {\n width: 1px;\n height: 12px;\n background: rgba(255, 255, 255, 0.15);\n margin: 0 0.125rem;\n}\n\n.styles-module__overlay___Q1O9y {\n position: fixed;\n inset: 0;\n z-index: 99997;\n pointer-events: none;\n}\n.styles-module__overlay___Q1O9y > * {\n pointer-events: auto;\n}\n\n.styles-module__hoverHighlight___ogakW {\n position: fixed;\n border: 2px solid color-mix(in srgb, var(--agentation-color-accent) 50%, transparent);\n border-radius: 4px;\n background-color: color-mix(in srgb, var(--agentation-color-accent) 4%, transparent);\n pointer-events: none !important;\n box-sizing: border-box;\n will-change: opacity;\n contain: layout style;\n}\n.styles-module__hoverHighlight___ogakW.styles-module__enter___WFIki {\n animation: styles-module__hoverHighlightIn___6WYHY 0.12s ease-out forwards;\n}\n\n.styles-module__multiSelectOutline___cSJ-m {\n position: fixed;\n border: 2px dashed color-mix(in srgb, var(--agentation-color-green) 60%, transparent);\n border-radius: 4px;\n pointer-events: none !important;\n background-color: color-mix(in srgb, var(--agentation-color-green) 5%, transparent);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__multiSelectOutline___cSJ-m.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__singleSelectOutline___QhX-O {\n position: fixed;\n border: 2px solid color-mix(in srgb, var(--agentation-color-blue) 60%, transparent);\n border-radius: 4px;\n pointer-events: none !important;\n background-color: color-mix(in srgb, var(--agentation-color-blue) 5%, transparent);\n box-sizing: border-box;\n will-change: opacity;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__enter___WFIki {\n animation: styles-module__fadeIn___b9qmf 0.15s ease-out forwards;\n}\n.styles-module__singleSelectOutline___QhX-O.styles-module__exit___fyOJ0 {\n animation: styles-module__fadeOut___6Ut6- 0.15s ease-out forwards;\n}\n\n.styles-module__hoverTooltip___bvLk7 {\n position: fixed;\n font-size: 0.6875rem;\n font-weight: 500;\n color: #fff;\n background: rgba(0, 0, 0, 0.85);\n padding: 0.35rem 0.6rem;\n border-radius: 0.375rem;\n pointer-events: none !important;\n white-space: nowrap;\n max-width: 280px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.styles-module__hoverTooltip___bvLk7.styles-module__enter___WFIki {\n animation: styles-module__hoverTooltipIn___FYGQx 0.1s ease-out forwards;\n}\n\n.styles-module__hoverReactPath___gx1IJ {\n font-size: 0.625rem;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.15rem;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__hoverElementName___QMLMl {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markersLayer___-25j1 {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__markersLayer___-25j1 > * {\n pointer-events: auto;\n}\n\n.styles-module__fixedMarkersLayer___ffyX6 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99998;\n pointer-events: none;\n}\n.styles-module__fixedMarkersLayer___ffyX6 > * {\n pointer-events: auto;\n}\n\n.styles-module__marker___6sQrs {\n position: absolute;\n width: 22px;\n height: 22px;\n background: var(--agentation-color-blue);\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.6875rem;\n font-weight: 600;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n cursor: pointer;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.04);\n user-select: none;\n will-change: transform, opacity;\n contain: layout style;\n z-index: 1;\n}\n.styles-module__marker___6sQrs:hover {\n z-index: 2;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7) {\n transition: background-color 0.15s ease, transform 0.1s ease;\n}\n.styles-module__marker___6sQrs.styles-module__enter___WFIki {\n animation: styles-module__markerIn___5FaAP 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;\n}\n.styles-module__marker___6sQrs.styles-module__exit___fyOJ0 {\n animation: styles-module__markerOut___GU5jX 0.2s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs.styles-module__clearing___FQ--7 {\n animation: styles-module__markerOut___GU5jX 0.15s ease-out both;\n pointer-events: none;\n}\n.styles-module__marker___6sQrs:not(.styles-module__enter___WFIki):not(.styles-module__exit___fyOJ0):not(.styles-module__clearing___FQ--7):hover {\n transform: translate(-50%, -50%) scale(1.1);\n}\n.styles-module__marker___6sQrs.styles-module__pending___2IHLC {\n position: fixed;\n background-color: var(--agentation-color-blue);\n}\n.styles-module__marker___6sQrs.styles-module__fixed___dBMHC {\n position: fixed;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz {\n background-color: var(--agentation-color-green);\n width: 26px;\n height: 26px;\n border-radius: 6px;\n font-size: 0.75rem;\n}\n.styles-module__marker___6sQrs.styles-module__multiSelect___YWiuz.styles-module__pending___2IHLC {\n background-color: var(--agentation-color-green);\n}\n.styles-module__marker___6sQrs.styles-module__hovered___ZgXIy {\n background-color: var(--agentation-color-red);\n}\n\n.styles-module__renumber___nCTxD {\n display: block;\n animation: styles-module__renumberRoll___Wgbq3 0.2s ease-out;\n}\n\n@keyframes styles-module__renumberRoll___Wgbq3 {\n 0% {\n transform: translateX(-40%);\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n}\n.styles-module__markerTooltip___aLJID {\n position: absolute;\n top: calc(100% + 10px);\n left: 50%;\n transform: translateX(-50%) scale(0.909);\n z-index: 100002;\n background: #1a1a1a;\n padding: 8px 0.75rem;\n border-radius: 0.75rem;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n font-weight: 400;\n color: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n min-width: 120px;\n max-width: 200px;\n pointer-events: none;\n cursor: default;\n}\n.styles-module__markerTooltip___aLJID.styles-module__enter___WFIki {\n animation: styles-module__tooltipIn___0N31w 0.1s ease-out forwards;\n}\n\n.styles-module__markerQuote___FHmrz {\n display: block;\n font-size: 12px;\n font-style: italic;\n color: rgba(255, 255, 255, 0.6);\n margin-bottom: 0.3125rem;\n line-height: 1.4;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.styles-module__markerNote___QkrrS {\n display: block;\n font-size: 13px;\n font-weight: 400;\n line-height: 1.4;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 2px;\n}\n\n.styles-module__markerHint___2iF-6 {\n display: block;\n font-size: 0.625rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.6);\n margin-top: 0.375rem;\n white-space: nowrap;\n}\n\n.styles-module__settingsPanel___OxX3Y {\n position: absolute;\n right: 5px;\n bottom: calc(100% + 0.5rem);\n z-index: 1;\n overflow: hidden;\n background: #1c1c1c;\n border-radius: 1rem;\n padding: 13px 0 16px;\n min-width: 205px;\n cursor: default;\n opacity: 1;\n box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);\n transition: background-color 0.25s ease, box-shadow 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y::before, .styles-module__settingsPanel___OxX3Y::after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 16px;\n z-index: 2;\n pointer-events: none;\n}\n.styles-module__settingsPanel___OxX3Y::before {\n left: 0;\n background: linear-gradient(to right, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y::after {\n right: 0;\n background: linear-gradient(to left, #1c1c1c 0%, transparent 100%);\n}\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsBrandSlash___uTG18,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2,\n.styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw,\n.styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY,\n.styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz,\n.styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa,\n.styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax,\n.styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr,\n.styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp,\n.styles-module__settingsPanel___OxX3Y .styles-module__themeToggle___2rUjA {\n transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__enter___WFIki {\n opacity: 1;\n transform: translateY(0) scale(1);\n filter: blur(0px);\n transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;\n}\n.styles-module__settingsPanel___OxX3Y.styles-module__exit___fyOJ0 {\n opacity: 0;\n transform: translateY(8px) scale(0.95);\n filter: blur(5px);\n pointer-events: none;\n transition: opacity 0.1s ease, transform 0.1s ease, filter 0.1s ease;\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y {\n background: #1a1a1a;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.6);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12 {\n color: rgba(255, 255, 255, 0.85);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.15);\n color: #fff;\n}\n[data-agentation-theme=dark] .styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(255, 255, 255, 0.85);\n}\n\n.styles-module__settingsPanelContainer___Xksv8 {\n overflow: visible;\n position: relative;\n display: flex;\n padding: 0 1rem;\n}\n\n.styles-module__settingsPage___6YfHH {\n min-width: 100%;\n flex-shrink: 0;\n transition: transform 0.2s ease, opacity 0.2s ease;\n transition-delay: 0s;\n opacity: 1;\n}\n\n.styles-module__settingsPage___6YfHH.styles-module__slideLeft___Ps01J {\n transform: translateX(-24px);\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__automationsPage___uvCq6 {\n position: absolute;\n top: 0;\n left: 24px;\n width: 100%;\n height: 100%;\n padding: 3px 1rem 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n transition: transform 0.2s ease, opacity 0.2s ease;\n opacity: 0;\n pointer-events: none;\n}\n\n.styles-module__automationsPage___uvCq6.styles-module__slideIn___4-qXe {\n transform: translateX(-24px);\n opacity: 1;\n pointer-events: auto;\n}\n\n.styles-module__settingsNavLink___wCzJt {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 0;\n border: none;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(255, 255, 255, 0.9);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt:hover {\n color: rgba(0, 0, 0, 0.8);\n}\n.styles-module__settingsNavLink___wCzJt svg {\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__settingsNavLink___wCzJt:hover svg {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt svg {\n color: rgba(0, 0, 0, 0.25);\n}\n[data-agentation-theme=light] .styles-module__settingsNavLink___wCzJt:hover svg {\n color: rgba(0, 0, 0, 0.8);\n}\n\n.styles-module__settingsNavLinkRight___ZWwhj {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.styles-module__mcpNavIndicator___cl9pO {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpNavIndicator___cl9pO.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpPulse___uNggr 1.5s ease-in-out infinite;\n}\n\n.styles-module__settingsBackButton___bIe2j {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 6px 0 12px 0;\n margin: -6px 0 0.5rem 0;\n border: none;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n border-radius: 0;\n background: transparent;\n font-family: inherit;\n font-size: 0.8125rem;\n font-weight: 500;\n letter-spacing: -0.15px;\n color: #fff;\n cursor: pointer;\n transition: transform 0.12s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j svg {\n opacity: 0.4;\n flex-shrink: 0;\n transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);\n}\n.styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsBackButton___bIe2j:hover svg {\n opacity: 1;\n}\n[data-agentation-theme=light] .styles-module__settingsBackButton___bIe2j {\n color: rgba(0, 0, 0, 0.85);\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsBackButton___bIe2j:hover {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n\n.styles-module__automationHeader___InP0r {\n display: flex;\n align-items: center;\n gap: 0.125rem;\n font-size: 0.8125rem;\n font-weight: 400;\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__automationHeader___InP0r {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__automationDescription___NKlmo {\n font-size: 0.6875rem;\n font-weight: 300;\n color: rgba(255, 255, 255, 0.5);\n margin-top: 2px;\n line-height: 14px;\n}\n[data-agentation-theme=light] .styles-module__automationDescription___NKlmo {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__learnMoreLink___8xv-x {\n color: rgba(255, 255, 255, 0.8);\n text-decoration: underline dotted;\n text-decoration-color: rgba(255, 255, 255, 0.2);\n text-underline-offset: 2px;\n transition: color 0.15s ease;\n}\n.styles-module__learnMoreLink___8xv-x:hover {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__learnMoreLink___8xv-x {\n color: rgba(0, 0, 0, 0.6);\n text-decoration-color: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__learnMoreLink___8xv-x:hover {\n color: rgba(0, 0, 0, 0.85);\n}\n\n.styles-module__autoSendRow___UblX5 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.styles-module__autoSendLabel___icDc2 {\n font-size: 0.6875rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n transition: color 0.15s ease;\n}\n.styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: #66b8ff;\n color: color(display-p3 0.4 0.72 1);\n}\n[data-agentation-theme=light] .styles-module__autoSendLabel___icDc2 {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__autoSendLabel___icDc2.styles-module__active___-zoN6 {\n color: var(--agentation-color-blue);\n}\n\n.styles-module__webhookUrlInput___2375C {\n display: block;\n width: 100%;\n flex: 1;\n min-height: 60px;\n box-sizing: border-box;\n margin-top: 11px;\n padding: 8px 10px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 6px;\n background: rgba(255, 255, 255, 0.03);\n font-family: inherit;\n font-size: 0.75rem;\n font-weight: 400;\n color: #fff;\n outline: none;\n resize: none;\n cursor: text !important;\n user-select: text;\n transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;\n}\n.styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(255, 255, 255, 0.3);\n}\n.styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgba(255, 255, 255, 0.08);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C {\n border-color: rgba(0, 0, 0, 0.1);\n background: rgba(0, 0, 0, 0.03);\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C::placeholder {\n color: rgba(0, 0, 0, 0.3);\n}\n[data-agentation-theme=light] .styles-module__webhookUrlInput___2375C:focus {\n border-color: rgba(0, 0, 0, 0.25);\n background: rgba(0, 0, 0, 0.05);\n}\n\n.styles-module__settingsHeader___pwDY9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n margin-bottom: 0.5rem;\n padding-bottom: 9px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n}\n\n.styles-module__settingsBrand___0gJeM {\n font-size: 0.8125rem;\n font-weight: 600;\n letter-spacing: -0.0094em;\n color: #fff;\n}\n\n.styles-module__settingsBrandSlash___uTG18 {\n color: var(--agentation-color-accent);\n transition: color 0.2s ease;\n}\n\n.styles-module__settingsVersion___TUcFq {\n font-size: 11px;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.4);\n margin-left: auto;\n letter-spacing: -0.0094em;\n}\n\n.styles-module__settingsSection___m-YM2 + .styles-module__settingsSection___m-YM2 {\n margin-top: 0.5rem;\n padding-top: 0.5rem;\n border-top: 1px solid rgba(255, 255, 255, 0.07);\n}\n.styles-module__settingsSection___m-YM2.styles-module__settingsSectionExtraPadding___jdhFV {\n padding-top: calc(0.5rem + 4px);\n}\n\n.styles-module__settingsSectionGrow___h-5HZ {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n.styles-module__settingsRow___3sdhc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 24px;\n}\n.styles-module__settingsRow___3sdhc.styles-module__settingsRowMarginTop___zA0Sp {\n margin-top: 8px;\n}\n\n.styles-module__dropdownContainer___BVnxe {\n position: relative;\n}\n\n.styles-module__dropdownButton___16NPz {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.25rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 600;\n color: #fff;\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownButton___16NPz:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownButton___16NPz svg {\n opacity: 0.6;\n}\n\n.styles-module__cycleButton___FMKfw {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0;\n border: none;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: #fff;\n cursor: pointer;\n letter-spacing: -0.0094em;\n}\n[data-agentation-theme=light] .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n.styles-module__cycleButton___FMKfw:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n}\n\n.styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(255, 255, 255, 0.2);\n}\n[data-agentation-theme=light] .styles-module__settingsRowDisabled___EgS0V .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.2);\n}\n.styles-module__settingsRowDisabled___EgS0V .styles-module__toggleSwitch___l4Ygm {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n@keyframes styles-module__cycleTextIn___Q6zJf {\n 0% {\n opacity: 0;\n transform: translateY(-6px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n.styles-module__cycleButtonText___fD1LR {\n display: inline-block;\n animation: styles-module__cycleTextIn___Q6zJf 0.2s ease-out;\n}\n\n.styles-module__cycleDots___LWuoQ {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.styles-module__cycleDot___nPgLY {\n width: 3px;\n height: 3px;\n border-radius: 50%;\n background: rgba(255, 255, 255, 0.3);\n transform: scale(0.667);\n transition: background-color 0.25s ease-out, transform 0.25s ease-out;\n}\n.styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: #fff;\n transform: scale(1);\n}\n[data-agentation-theme=light] .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__dropdownMenu___k73ER {\n position: absolute;\n right: 0;\n top: calc(100% + 0.25rem);\n background: #1a1a1a;\n border-radius: 0.5rem;\n padding: 0.25rem;\n min-width: 120px;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);\n z-index: 10;\n animation: styles-module__scaleIn___c-r1K 0.15s ease-out;\n}\n\n.styles-module__dropdownItem___ylsLj {\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0.5rem 0.625rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.8125rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.85);\n cursor: pointer;\n text-align: left;\n transition: background-color 0.15s ease, color 0.15s ease;\n letter-spacing: -0.0094em;\n}\n.styles-module__dropdownItem___ylsLj:hover {\n background: rgba(255, 255, 255, 0.08);\n}\n.styles-module__dropdownItem___ylsLj.styles-module__selected___OwRqP {\n background: rgba(255, 255, 255, 0.12);\n color: #fff;\n font-weight: 600;\n}\n\n.styles-module__settingsLabel___8UjfX {\n font-size: 0.8125rem;\n font-weight: 400;\n letter-spacing: -0.0094em;\n color: rgba(255, 255, 255, 0.5);\n display: flex;\n align-items: center;\n gap: 0.125rem;\n}\n[data-agentation-theme=light] .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__settingsLabelMarker___ewdtV {\n padding-top: 3px;\n margin-bottom: 10px;\n}\n\n.styles-module__settingsOptions___LyrBA {\n display: flex;\n gap: 0.25rem;\n}\n\n.styles-module__settingsOption___UNa12 {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.25rem;\n padding: 0.375rem 0.5rem;\n border: none;\n border-radius: 0.375rem;\n background: transparent;\n font-size: 0.6875rem;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.7);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__settingsOption___UNa12:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n.styles-module__settingsOption___UNa12.styles-module__selected___OwRqP {\n background: color-mix(in srgb, var(--agentation-color-blue) 15%, transparent);\n color: var(--agentation-color-blue);\n}\n\n.styles-module__sliderContainer___ducXj {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.styles-module__slider___GLdxp {\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n height: 4px;\n background: rgba(255, 255, 255, 0.15);\n border-radius: 2px;\n outline: none;\n cursor: pointer;\n}\n.styles-module__slider___GLdxp::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 14px;\n height: 14px;\n background: white;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp::-moz-range-thumb {\n width: 14px;\n height: 14px;\n background: white;\n border: none;\n border-radius: 50%;\n cursor: pointer;\n transition: transform 0.15s ease, box-shadow 0.15s ease;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.styles-module__slider___GLdxp:hover::-webkit-slider-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n.styles-module__slider___GLdxp:hover::-moz-range-thumb {\n transform: scale(1.15);\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n}\n\n.styles-module__sliderLabels___FhLDB {\n display: flex;\n justify-content: space-between;\n}\n\n.styles-module__sliderLabel___U8sPr {\n font-size: 0.625rem;\n font-weight: 500;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: color 0.15s ease;\n}\n.styles-module__sliderLabel___U8sPr:hover {\n color: rgba(255, 255, 255, 0.7);\n}\n.styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(255, 255, 255, 0.9);\n}\n\n.styles-module__colorOptions___iHCNX {\n display: flex;\n gap: 0.5rem;\n margin-top: 0.375rem;\n margin-bottom: 1px;\n}\n\n.styles-module__colorOption___IodiY {\n display: block;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 2px solid transparent;\n background-color: var(--swatch);\n cursor: pointer;\n transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);\n}\n@supports (color: color(display-p3 0 0 0)) {\n .styles-module__colorOption___IodiY {\n background-color: var(--swatch-p3);\n }\n}\n.styles-module__colorOption___IodiY:hover {\n transform: scale(1.15);\n}\n.styles-module__colorOption___IodiY.styles-module__selected___OwRqP {\n transform: scale(0.83);\n}\n\n.styles-module__colorOptionRing___U2xpo {\n display: flex;\n width: 24px;\n height: 24px;\n border: 2px solid transparent;\n border-radius: 50%;\n transition: border-color 0.3s ease;\n}\n.styles-module__colorOptionRing___U2xpo.styles-module__selected___OwRqP {\n border-color: var(--swatch);\n}\n@supports (color: color(display-p3 0 0 0)) {\n .styles-module__colorOptionRing___U2xpo.styles-module__selected___OwRqP {\n border-color: var(--swatch-p3);\n }\n}\n\n.styles-module__settingsToggle___fBrFn {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n}\n.styles-module__settingsToggle___fBrFn + .styles-module__settingsToggle___fBrFn {\n margin-top: calc(0.5rem + 6px);\n}\n.styles-module__settingsToggle___fBrFn input[type=checkbox] {\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__settingsToggle___fBrFn.styles-module__settingsToggleMarginBottom___MZUyF {\n margin-bottom: calc(0.5rem + 6px);\n}\n\n.styles-module__customCheckbox___U39ax {\n position: relative;\n width: 14px;\n height: 14px;\n border: 1px solid rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: background-color 0.25s ease, border-color 0.25s ease;\n}\n.styles-module__customCheckbox___U39ax svg {\n color: #1a1a1a;\n opacity: 1;\n transition: opacity 0.15s ease;\n}\ninput[type=checkbox]:checked + .styles-module__customCheckbox___U39ax {\n border-color: rgba(255, 255, 255, 0.3);\n background: rgb(255, 255, 255);\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n\n.styles-module__toggleLabel___Xm8Aa {\n font-size: 0.8125rem;\n font-weight: 400;\n color: rgba(255, 255, 255, 0.5);\n letter-spacing: -0.0094em;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n}\n[data-agentation-theme=light] .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n\n.styles-module__toggleSwitch___l4Ygm {\n position: relative;\n display: inline-block;\n width: 24px;\n height: 16px;\n flex-shrink: 0;\n cursor: pointer;\n transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n}\n.styles-module__toggleSwitch___l4Ygm input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn {\n background-color: var(--agentation-color-blue);\n}\n.styles-module__toggleSwitch___l4Ygm input:checked + .styles-module__toggleSlider___wprIn::before {\n transform: translateX(8px);\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw {\n opacity: 0.4;\n pointer-events: none;\n}\n.styles-module__toggleSwitch___l4Ygm.styles-module__disabled___332Jw .styles-module__toggleSlider___wprIn {\n cursor: not-allowed;\n}\n\n.styles-module__toggleSlider___wprIn {\n position: absolute;\n cursor: pointer;\n inset: 0;\n border-radius: 16px;\n background: #484848;\n}\n[data-agentation-theme=light] .styles-module__toggleSlider___wprIn {\n background: #dddddd;\n}\n.styles-module__toggleSlider___wprIn::before {\n content: "";\n position: absolute;\n height: 12px;\n width: 12px;\n left: 2px;\n bottom: 2px;\n background: white;\n border-radius: 50%;\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n@keyframes styles-module__mcpPulse___uNggr {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-green) 0%, transparent);\n }\n}\n@keyframes styles-module__mcpPulseError___fov9B {\n 0% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-red) 50%, transparent);\n }\n 70% {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--agentation-color-red) 0%, transparent);\n }\n 100% {\n box-shadow: 0 0 0 0 color-mix(in srgb, var(--agentation-color-red) 0%, transparent);\n }\n}\n.styles-module__mcpStatusDot___ibgkc {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connecting___uo-CW {\n background-color: var(--agentation-color-yellow);\n animation: styles-module__mcpPulse___uNggr 1.5s infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__connected___7c28g {\n background-color: var(--agentation-color-green);\n animation: styles-module__mcpPulse___uNggr 2.5s ease-in-out infinite;\n}\n.styles-module__mcpStatusDot___ibgkc.styles-module__disconnected___cHPxR {\n background-color: var(--agentation-color-red);\n animation: styles-module__mcpPulseError___fov9B 2s infinite;\n}\n\n.styles-module__dragSelection___kZLq2 {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid color-mix(in srgb, var(--agentation-color-green) 60%, transparent);\n border-radius: 4px;\n background-color: color-mix(in srgb, var(--agentation-color-green) 8%, transparent);\n pointer-events: none;\n z-index: 99997;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n.styles-module__dragCount___KM90j {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--agentation-color-green);\n color: white;\n font-size: 0.875rem;\n font-weight: 600;\n padding: 0.25rem 0.5rem;\n border-radius: 1rem;\n min-width: 1.5rem;\n text-align: center;\n}\n\n.styles-module__highlightsContainer___-0xzG {\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n z-index: 99996;\n}\n\n.styles-module__selectedElementHighlight___fyVlI {\n position: fixed;\n top: 0;\n left: 0;\n border: 2px solid color-mix(in srgb, var(--agentation-color-green) 50%, transparent);\n border-radius: 4px;\n background: color-mix(in srgb, var(--agentation-color-green) 6%, transparent);\n pointer-events: none;\n will-change: transform, width, height;\n contain: layout style;\n}\n\n[data-agentation-theme=light] .styles-module__toolbarContainer___dIhma {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__toolbarContainer___dIhma.styles-module__collapsed___Rydsn:hover {\n background: #f5f5f5;\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc:hover:not(:disabled):not([data-active=true]):not([data-failed=true]):not([data-auto-sync=true]):not([data-error=true]):not([data-no-hover=true]) {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-active=true] {\n color: var(--agentation-color-blue);\n background: color-mix(in srgb, var(--agentation-color-blue) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-error=true] {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-danger]:hover:not(:disabled):not([data-active=true]):not([data-failed=true]) {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-auto-sync=true] {\n color: var(--agentation-color-green);\n background: transparent;\n}\n[data-agentation-theme=light] .styles-module__controlButton___8Q0jc[data-failed=true] {\n color: var(--agentation-color-red);\n background: color-mix(in srgb, var(--agentation-color-red) 15%, transparent);\n}\n[data-agentation-theme=light] .styles-module__buttonTooltip___Burd9 {\n background: #fff;\n color: rgba(0, 0, 0, 0.85);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__buttonTooltip___Burd9::after {\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__divider___c--s1 {\n background: rgba(0, 0, 0, 0.1);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID {\n background: #fff;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerQuote___FHmrz {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerNote___QkrrS {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__markerTooltip___aLJID .styles-module__markerHint___2iF-6 {\n color: rgba(0, 0, 0, 0.35);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y {\n background: #fff;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y::before {\n background: linear-gradient(to right, #fff 0%, transparent 100%);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y::after {\n background: linear-gradient(to left, #fff 0%, transparent 100%);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsHeader___pwDY9 {\n border-bottom-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsBrand___0gJeM {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsVersion___TUcFq {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsSection___m-YM2 {\n border-top-color: rgba(0, 0, 0, 0.08);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__settingsLabel___8UjfX {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleButton___FMKfw {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY {\n background: rgba(0, 0, 0, 0.2);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__cycleDot___nPgLY.styles-module__active___-zoN6 {\n background: rgba(0, 0, 0, 0.7);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz {\n color: rgba(0, 0, 0, 0.85);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__dropdownButton___16NPz:hover {\n background: rgba(0, 0, 0, 0.05);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__toggleLabel___Xm8Aa {\n color: rgba(0, 0, 0, 0.5);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax {\n border: 1px solid rgba(0, 0, 0, 0.15);\n background: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo {\n border-color: #1a1a1a;\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__customCheckbox___U39ax.styles-module__checked___mnZLo svg {\n color: #fff;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr:hover {\n color: rgba(0, 0, 0, 0.7);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__sliderLabel___U8sPr.styles-module__active___-zoN6 {\n color: rgba(0, 0, 0, 0.9);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp {\n background: rgba(0, 0, 0, 0.1);\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-webkit-slider-thumb {\n background: #1a1a1a;\n}\n[data-agentation-theme=light] .styles-module__settingsPanel___OxX3Y .styles-module__slider___GLdxp::-moz-range-thumb {\n background: #1a1a1a;\n}\n\n.styles-module__themeToggle___2rUjA {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n margin-left: 0.5rem;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: rgba(255, 255, 255, 0.4);\n cursor: pointer;\n transition: background-color 0.15s ease, color 0.15s ease;\n}\n.styles-module__themeToggle___2rUjA:hover {\n background: rgba(255, 255, 255, 0.1);\n color: rgba(255, 255, 255, 0.8);\n}\n[data-agentation-theme=light] .styles-module__themeToggle___2rUjA {\n color: rgba(0, 0, 0, 0.4);\n}\n[data-agentation-theme=light] .styles-module__themeToggle___2rUjA:hover {\n background: rgba(0, 0, 0, 0.06);\n color: rgba(0, 0, 0, 0.7);\n}\n\n.styles-module__themeIconWrapper___LsJIM {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n.styles-module__themeIcon___lCCmo {\n display: flex;\n align-items: center;\n justify-content: center;\n animation: styles-module__themeIconIn___TU6ML 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;\n}\n\n@keyframes styles-module__themeIconIn___TU6ML {\n 0% {\n opacity: 0;\n transform: scale(0.8) rotate(-30deg);\n }\n 100% {\n opacity: 1;\n transform: scale(1) rotate(0deg);\n }\n}';
|
|
2719
|
+
var classNames3 = { "toolbar": "styles-module__toolbar___wNsdK", "markersLayer": "styles-module__markersLayer___-25j1", "fixedMarkersLayer": "styles-module__fixedMarkersLayer___ffyX6", "disableTransitions": "styles-module__disableTransitions___EopxO", "toolbarContainer": "styles-module__toolbarContainer___dIhma", "dragging": "styles-module__dragging___xrolZ", "entrance": "styles-module__entrance___sgHd8", "toolbarEnter": "styles-module__toolbarEnter___u8RRu", "hiding": "styles-module__hiding___1td44", "toolbarHide": "styles-module__toolbarHide___y8kaT", "collapsed": "styles-module__collapsed___Rydsn", "expanded": "styles-module__expanded___ofKPx", "serverConnected": "styles-module__serverConnected___Gfbou", "toggleContent": "styles-module__toggleContent___0yfyP", "visible": "styles-module__visible___KHwEW", "hidden": "styles-module__hidden___Ae8H4", "controlsContent": "styles-module__controlsContent___9GJWU", "badge": "styles-module__badge___2XsgF", "fadeOut": "styles-module__fadeOut___6Ut6-", "badgeEnter": "styles-module__badgeEnter___mVQLj", "controlButton": "styles-module__controlButton___8Q0jc", "statusShowing": "styles-module__statusShowing___te6iu", "buttonBadge": "styles-module__buttonBadge___NeFWb", "mcpIndicator": "styles-module__mcpIndicator___zGJeL", "connected": "styles-module__connected___7c28g", "mcpIndicatorPulseConnected": "styles-module__mcpIndicatorPulseConnected___EDodZ", "connecting": "styles-module__connecting___uo-CW", "mcpIndicatorPulseConnecting": "styles-module__mcpIndicatorPulseConnecting___cCYte", "connectionIndicatorWrapper": "styles-module__connectionIndicatorWrapper___L-e-3", "connectionIndicator": "styles-module__connectionIndicator___afk9p", "connectionIndicatorVisible": "styles-module__connectionIndicatorVisible___C-i5B", "connectionIndicatorConnected": "styles-module__connectionIndicatorConnected___IY8pR", "connectionPulse": "styles-module__connectionPulse___-Zycw", "connectionIndicatorDisconnected": "styles-module__connectionIndicatorDisconnected___kmpaZ", "connectionIndicatorConnecting": "styles-module__connectionIndicatorConnecting___QmSLH", "buttonWrapper": "styles-module__buttonWrapper___rBcdv", "buttonTooltip": "styles-module__buttonTooltip___Burd9", "tooltipsInSession": "styles-module__tooltipsInSession___-0lHH", "sendButtonWrapper": "styles-module__sendButtonWrapper___UUxG6", "sendButtonVisible": "styles-module__sendButtonVisible___WPSQU", "shortcut": "styles-module__shortcut___lEAQk", "tooltipBelow": "styles-module__tooltipBelow___m6ats", "tooltipsHidden": "styles-module__tooltipsHidden___VtLJG", "tooltipVisible": "styles-module__tooltipVisible___0jcCv", "buttonWrapperAlignLeft": "styles-module__buttonWrapperAlignLeft___myzIp", "buttonWrapperAlignRight": "styles-module__buttonWrapperAlignRight___HCQFR", "divider": "styles-module__divider___c--s1", "overlay": "styles-module__overlay___Q1O9y", "hoverHighlight": "styles-module__hoverHighlight___ogakW", "enter": "styles-module__enter___WFIki", "hoverHighlightIn": "styles-module__hoverHighlightIn___6WYHY", "multiSelectOutline": "styles-module__multiSelectOutline___cSJ-m", "fadeIn": "styles-module__fadeIn___b9qmf", "exit": "styles-module__exit___fyOJ0", "singleSelectOutline": "styles-module__singleSelectOutline___QhX-O", "hoverTooltip": "styles-module__hoverTooltip___bvLk7", "hoverTooltipIn": "styles-module__hoverTooltipIn___FYGQx", "hoverReactPath": "styles-module__hoverReactPath___gx1IJ", "hoverElementName": "styles-module__hoverElementName___QMLMl", "marker": "styles-module__marker___6sQrs", "clearing": "styles-module__clearing___FQ--7", "markerIn": "styles-module__markerIn___5FaAP", "markerOut": "styles-module__markerOut___GU5jX", "pending": "styles-module__pending___2IHLC", "fixed": "styles-module__fixed___dBMHC", "multiSelect": "styles-module__multiSelect___YWiuz", "hovered": "styles-module__hovered___ZgXIy", "renumber": "styles-module__renumber___nCTxD", "renumberRoll": "styles-module__renumberRoll___Wgbq3", "markerTooltip": "styles-module__markerTooltip___aLJID", "tooltipIn": "styles-module__tooltipIn___0N31w", "markerQuote": "styles-module__markerQuote___FHmrz", "markerNote": "styles-module__markerNote___QkrrS", "markerHint": "styles-module__markerHint___2iF-6", "settingsPanel": "styles-module__settingsPanel___OxX3Y", "settingsHeader": "styles-module__settingsHeader___pwDY9", "settingsBrand": "styles-module__settingsBrand___0gJeM", "settingsBrandSlash": "styles-module__settingsBrandSlash___uTG18", "settingsVersion": "styles-module__settingsVersion___TUcFq", "settingsSection": "styles-module__settingsSection___m-YM2", "settingsLabel": "styles-module__settingsLabel___8UjfX", "cycleButton": "styles-module__cycleButton___FMKfw", "cycleDot": "styles-module__cycleDot___nPgLY", "dropdownButton": "styles-module__dropdownButton___16NPz", "toggleLabel": "styles-module__toggleLabel___Xm8Aa", "customCheckbox": "styles-module__customCheckbox___U39ax", "sliderLabel": "styles-module__sliderLabel___U8sPr", "slider": "styles-module__slider___GLdxp", "themeToggle": "styles-module__themeToggle___2rUjA", "settingsOption": "styles-module__settingsOption___UNa12", "selected": "styles-module__selected___OwRqP", "settingsPanelContainer": "styles-module__settingsPanelContainer___Xksv8", "settingsPage": "styles-module__settingsPage___6YfHH", "slideLeft": "styles-module__slideLeft___Ps01J", "automationsPage": "styles-module__automationsPage___uvCq6", "slideIn": "styles-module__slideIn___4-qXe", "settingsNavLink": "styles-module__settingsNavLink___wCzJt", "settingsNavLinkRight": "styles-module__settingsNavLinkRight___ZWwhj", "mcpNavIndicator": "styles-module__mcpNavIndicator___cl9pO", "mcpPulse": "styles-module__mcpPulse___uNggr", "settingsBackButton": "styles-module__settingsBackButton___bIe2j", "automationHeader": "styles-module__automationHeader___InP0r", "automationDescription": "styles-module__automationDescription___NKlmo", "learnMoreLink": "styles-module__learnMoreLink___8xv-x", "autoSendRow": "styles-module__autoSendRow___UblX5", "autoSendLabel": "styles-module__autoSendLabel___icDc2", "active": "styles-module__active___-zoN6", "webhookUrlInput": "styles-module__webhookUrlInput___2375C", "settingsSectionExtraPadding": "styles-module__settingsSectionExtraPadding___jdhFV", "settingsSectionGrow": "styles-module__settingsSectionGrow___h-5HZ", "settingsRow": "styles-module__settingsRow___3sdhc", "settingsRowMarginTop": "styles-module__settingsRowMarginTop___zA0Sp", "dropdownContainer": "styles-module__dropdownContainer___BVnxe", "settingsRowDisabled": "styles-module__settingsRowDisabled___EgS0V", "toggleSwitch": "styles-module__toggleSwitch___l4Ygm", "cycleButtonText": "styles-module__cycleButtonText___fD1LR", "cycleTextIn": "styles-module__cycleTextIn___Q6zJf", "cycleDots": "styles-module__cycleDots___LWuoQ", "dropdownMenu": "styles-module__dropdownMenu___k73ER", "scaleIn": "styles-module__scaleIn___c-r1K", "dropdownItem": "styles-module__dropdownItem___ylsLj", "settingsLabelMarker": "styles-module__settingsLabelMarker___ewdtV", "settingsOptions": "styles-module__settingsOptions___LyrBA", "sliderContainer": "styles-module__sliderContainer___ducXj", "sliderLabels": "styles-module__sliderLabels___FhLDB", "colorOptions": "styles-module__colorOptions___iHCNX", "colorOption": "styles-module__colorOption___IodiY", "colorOptionRing": "styles-module__colorOptionRing___U2xpo", "settingsToggle": "styles-module__settingsToggle___fBrFn", "settingsToggleMarginBottom": "styles-module__settingsToggleMarginBottom___MZUyF", "checked": "styles-module__checked___mnZLo", "toggleSlider": "styles-module__toggleSlider___wprIn", "disabled": "styles-module__disabled___332Jw", "mcpStatusDot": "styles-module__mcpStatusDot___ibgkc", "disconnected": "styles-module__disconnected___cHPxR", "mcpPulseError": "styles-module__mcpPulseError___fov9B", "dragSelection": "styles-module__dragSelection___kZLq2", "dragCount": "styles-module__dragCount___KM90j", "highlightsContainer": "styles-module__highlightsContainer___-0xzG", "selectedElementHighlight": "styles-module__selectedElementHighlight___fyVlI", "themeIconWrapper": "styles-module__themeIconWrapper___LsJIM", "themeIcon": "styles-module__themeIcon___lCCmo", "themeIconIn": "styles-module__themeIconIn___TU6ML", "scaleOut": "styles-module__scaleOut___Wctwz", "slideUp": "styles-module__slideUp___kgD36", "slideDown": "styles-module__slideDown___zcdje", "settingsPanelIn": "styles-module__settingsPanelIn___MGfO8", "settingsPanelOut": "styles-module__settingsPanelOut___Zfymi" };
|
|
2748
2720
|
if (typeof document !== "undefined") {
|
|
2749
2721
|
let style = document.getElementById("feedback-tool-styles-page-toolbar-css-styles");
|
|
2750
2722
|
if (!style) {
|
|
2751
2723
|
style = document.createElement("style");
|
|
2752
2724
|
style.id = "feedback-tool-styles-page-toolbar-css-styles";
|
|
2753
|
-
style.textContent =
|
|
2725
|
+
style.textContent = css3;
|
|
2754
2726
|
document.head.appendChild(style);
|
|
2755
2727
|
}
|
|
2756
2728
|
}
|
|
2757
|
-
var styles_module_default2 =
|
|
2729
|
+
var styles_module_default2 = classNames3;
|
|
2758
2730
|
|
|
2759
|
-
// src/components/
|
|
2731
|
+
// src/components/tooltip/index.tsx
|
|
2732
|
+
var import_react3 = require("react");
|
|
2733
|
+
var import_react_dom = require("react-dom");
|
|
2760
2734
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
2735
|
+
var Tooltip = ({
|
|
2736
|
+
content,
|
|
2737
|
+
children,
|
|
2738
|
+
...props
|
|
2739
|
+
}) => {
|
|
2740
|
+
const [visible, setVisible] = (0, import_react3.useState)(false);
|
|
2741
|
+
const [shouldRender, setShouldRender] = (0, import_react3.useState)(false);
|
|
2742
|
+
const [position, setPosition] = (0, import_react3.useState)({ top: 0, right: 0 });
|
|
2743
|
+
const triggerRef = (0, import_react3.useRef)(null);
|
|
2744
|
+
const timeoutRef = (0, import_react3.useRef)(null);
|
|
2745
|
+
const exitTimeoutRef = (0, import_react3.useRef)(null);
|
|
2746
|
+
const updatePosition = () => {
|
|
2747
|
+
if (triggerRef.current) {
|
|
2748
|
+
const rect = triggerRef.current.getBoundingClientRect();
|
|
2749
|
+
setPosition({
|
|
2750
|
+
top: rect.top + rect.height / 2,
|
|
2751
|
+
right: window.innerWidth - rect.left + 8
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
2754
|
+
};
|
|
2755
|
+
const handleMouseEnter = () => {
|
|
2756
|
+
setShouldRender(true);
|
|
2757
|
+
if (exitTimeoutRef.current) {
|
|
2758
|
+
clearTimeout(exitTimeoutRef.current);
|
|
2759
|
+
exitTimeoutRef.current = null;
|
|
2760
|
+
}
|
|
2761
|
+
updatePosition();
|
|
2762
|
+
timeoutRef.current = originalSetTimeout(() => {
|
|
2763
|
+
setVisible(true);
|
|
2764
|
+
}, 500);
|
|
2765
|
+
};
|
|
2766
|
+
const handleMouseLeave = () => {
|
|
2767
|
+
if (timeoutRef.current) {
|
|
2768
|
+
clearTimeout(timeoutRef.current);
|
|
2769
|
+
timeoutRef.current = null;
|
|
2770
|
+
}
|
|
2771
|
+
setVisible(false);
|
|
2772
|
+
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
2773
|
+
setShouldRender(false);
|
|
2774
|
+
}, 150);
|
|
2775
|
+
};
|
|
2776
|
+
(0, import_react3.useEffect)(() => {
|
|
2777
|
+
return () => {
|
|
2778
|
+
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
2779
|
+
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
2780
|
+
};
|
|
2781
|
+
}, []);
|
|
2782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2784
|
+
"span",
|
|
2785
|
+
{
|
|
2786
|
+
ref: triggerRef,
|
|
2787
|
+
onMouseEnter: handleMouseEnter,
|
|
2788
|
+
onMouseLeave: handleMouseLeave,
|
|
2789
|
+
...props,
|
|
2790
|
+
children
|
|
2791
|
+
}
|
|
2792
|
+
),
|
|
2793
|
+
shouldRender && (0, import_react_dom.createPortal)(
|
|
2794
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2795
|
+
"div",
|
|
2796
|
+
{
|
|
2797
|
+
"data-feedback-toolbar": true,
|
|
2798
|
+
style: {
|
|
2799
|
+
position: "fixed",
|
|
2800
|
+
top: position.top,
|
|
2801
|
+
right: position.right,
|
|
2802
|
+
transform: "translateY(-50%)",
|
|
2803
|
+
padding: "6px 10px",
|
|
2804
|
+
background: "#383838",
|
|
2805
|
+
color: "rgba(255, 255, 255, 0.7)",
|
|
2806
|
+
fontSize: "11px",
|
|
2807
|
+
fontWeight: 400,
|
|
2808
|
+
lineHeight: "14px",
|
|
2809
|
+
borderRadius: "10px",
|
|
2810
|
+
width: "180px",
|
|
2811
|
+
textAlign: "left",
|
|
2812
|
+
zIndex: 100020,
|
|
2813
|
+
pointerEvents: "none",
|
|
2814
|
+
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
2815
|
+
opacity: visible ? 1 : 0,
|
|
2816
|
+
transition: "opacity 0.15s ease"
|
|
2817
|
+
},
|
|
2818
|
+
children: content
|
|
2819
|
+
}
|
|
2820
|
+
),
|
|
2821
|
+
document.body
|
|
2822
|
+
)
|
|
2823
|
+
] });
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
// src/components/help-tooltip/styles.module.scss
|
|
2827
|
+
var css4 = ".styles-module__tooltip___mcXL2 {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: help;\n}\n\n.styles-module__tooltipIcon___Nq2nD {\n transform: translateY(0.5px);\n color: #fff;\n opacity: 0.2;\n transition: opacity 0.15s ease;\n will-change: transform;\n}\n.styles-module__tooltip___mcXL2:hover .styles-module__tooltipIcon___Nq2nD {\n opacity: 0.5;\n}\n[data-agentation-theme=light] .styles-module__tooltipIcon___Nq2nD {\n color: #000;\n}";
|
|
2828
|
+
var classNames4 = { "tooltip": "styles-module__tooltip___mcXL2", "tooltipIcon": "styles-module__tooltipIcon___Nq2nD" };
|
|
2829
|
+
if (typeof document !== "undefined") {
|
|
2830
|
+
let style = document.getElementById("feedback-tool-styles-help-tooltip-styles");
|
|
2831
|
+
if (!style) {
|
|
2832
|
+
style = document.createElement("style");
|
|
2833
|
+
style.id = "feedback-tool-styles-help-tooltip-styles";
|
|
2834
|
+
style.textContent = css4;
|
|
2835
|
+
document.head.appendChild(style);
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
var styles_module_default3 = classNames4;
|
|
2839
|
+
|
|
2840
|
+
// src/components/help-tooltip/index.tsx
|
|
2841
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
2842
|
+
var HelpTooltip = ({ content }) => {
|
|
2843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Tooltip, { className: styles_module_default3.tooltip, content, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IconHelp, { className: styles_module_default3.tooltipIcon }) });
|
|
2844
|
+
};
|
|
2845
|
+
|
|
2846
|
+
// src/components/page-toolbar-css/index.tsx
|
|
2847
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
2761
2848
|
function identifyElementWithReact(element, reactMode = "filtered") {
|
|
2762
2849
|
const { name: elementName, path } = identifyElement(element);
|
|
2763
2850
|
if (reactMode === "off") {
|
|
@@ -2775,7 +2862,7 @@ var hasPlayedEntranceAnimation = false;
|
|
|
2775
2862
|
var DEFAULT_SETTINGS = {
|
|
2776
2863
|
outputDetail: "standard",
|
|
2777
2864
|
autoClearAfterCopy: false,
|
|
2778
|
-
|
|
2865
|
+
annotationColorId: "blue",
|
|
2779
2866
|
blockInteractions: true,
|
|
2780
2867
|
reactEnabled: true,
|
|
2781
2868
|
markerClickBehavior: "edit",
|
|
@@ -2804,14 +2891,43 @@ var OUTPUT_DETAIL_OPTIONS = [
|
|
|
2804
2891
|
{ value: "forensic", label: "Forensic" }
|
|
2805
2892
|
];
|
|
2806
2893
|
var COLOR_OPTIONS = [
|
|
2807
|
-
{
|
|
2808
|
-
{
|
|
2809
|
-
{
|
|
2810
|
-
{
|
|
2811
|
-
{
|
|
2812
|
-
{
|
|
2813
|
-
{
|
|
2894
|
+
{ id: "indigo", label: "Indigo", srgb: "#6155F5", p3: "color(display-p3 0.38 0.33 0.96)" },
|
|
2895
|
+
{ id: "blue", label: "Blue", srgb: "#0088FF", p3: "color(display-p3 0.00 0.53 1.00)" },
|
|
2896
|
+
{ id: "cyan", label: "Cyan", srgb: "#00C3D0", p3: "color(display-p3 0.00 0.76 0.82)" },
|
|
2897
|
+
{ id: "green", label: "Green", srgb: "#34C759", p3: "color(display-p3 0.20 0.78 0.35)" },
|
|
2898
|
+
{ id: "yellow", label: "Yellow", srgb: "#FFCC00", p3: "color(display-p3 1.00 0.80 0.00)" },
|
|
2899
|
+
{ id: "orange", label: "Orange", srgb: "#FF8D28", p3: "color(display-p3 1.00 0.55 0.16)" },
|
|
2900
|
+
{ id: "red", label: "Red", srgb: "#FF383C", p3: "color(display-p3 1.00 0.22 0.24)" }
|
|
2814
2901
|
];
|
|
2902
|
+
var injectAgentationColorTokens = () => {
|
|
2903
|
+
if (typeof document === "undefined") return;
|
|
2904
|
+
if (document.getElementById("agentation-color-tokens")) return;
|
|
2905
|
+
const style = document.createElement("style");
|
|
2906
|
+
style.id = "agentation-color-tokens";
|
|
2907
|
+
style.textContent = [
|
|
2908
|
+
...COLOR_OPTIONS.map((c) => `
|
|
2909
|
+
[data-agentation-accent="${c.id}"] {
|
|
2910
|
+
--agentation-color-accent: ${c.srgb};
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
@supports (color: color(display-p3 0 0 0)) {
|
|
2914
|
+
[data-agentation-accent="${c.id}"] {
|
|
2915
|
+
--agentation-color-accent: ${c.p3};
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
`),
|
|
2919
|
+
`:root {
|
|
2920
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.srgb};`).join("\n")}
|
|
2921
|
+
}`,
|
|
2922
|
+
`@supports (color: color(display-p3 0 0 0)) {
|
|
2923
|
+
:root {
|
|
2924
|
+
${COLOR_OPTIONS.map((c) => `--agentation-color-${c.id}: ${c.p3};`).join("\n")}
|
|
2925
|
+
}
|
|
2926
|
+
}`
|
|
2927
|
+
].join("");
|
|
2928
|
+
document.head.appendChild(style);
|
|
2929
|
+
};
|
|
2930
|
+
injectAgentationColorTokens();
|
|
2815
2931
|
function deepElementFromPoint(x, y) {
|
|
2816
2932
|
let element = document.elementFromPoint(x, y);
|
|
2817
2933
|
if (!element) return null;
|
|
@@ -2988,13 +3104,13 @@ function PageFeedbackToolbarCSS({
|
|
|
2988
3104
|
webhookUrl,
|
|
2989
3105
|
className: userClassName
|
|
2990
3106
|
} = {}) {
|
|
2991
|
-
const [isActive, setIsActive] = (0,
|
|
2992
|
-
const [annotations, setAnnotations] = (0,
|
|
2993
|
-
const [showMarkers, setShowMarkers] = (0,
|
|
2994
|
-
const [isToolbarHidden, setIsToolbarHidden] = (0,
|
|
2995
|
-
const [isToolbarHiding, setIsToolbarHiding] = (0,
|
|
2996
|
-
const portalWrapperRef = (0,
|
|
2997
|
-
(0,
|
|
3107
|
+
const [isActive, setIsActive] = (0, import_react4.useState)(false);
|
|
3108
|
+
const [annotations, setAnnotations] = (0, import_react4.useState)([]);
|
|
3109
|
+
const [showMarkers, setShowMarkers] = (0, import_react4.useState)(true);
|
|
3110
|
+
const [isToolbarHidden, setIsToolbarHidden] = (0, import_react4.useState)(() => loadToolbarHidden());
|
|
3111
|
+
const [isToolbarHiding, setIsToolbarHiding] = (0, import_react4.useState)(false);
|
|
3112
|
+
const portalWrapperRef = (0, import_react4.useRef)(null);
|
|
3113
|
+
(0, import_react4.useEffect)(() => {
|
|
2998
3114
|
const stop = (e) => {
|
|
2999
3115
|
const wrapper = portalWrapperRef.current;
|
|
3000
3116
|
if (wrapper && wrapper.contains(e.target)) {
|
|
@@ -3007,42 +3123,41 @@ function PageFeedbackToolbarCSS({
|
|
|
3007
3123
|
events.forEach((evt) => document.body.removeEventListener(evt, stop));
|
|
3008
3124
|
};
|
|
3009
3125
|
}, []);
|
|
3010
|
-
const [markersVisible, setMarkersVisible] = (0,
|
|
3011
|
-
const [markersExiting, setMarkersExiting] = (0,
|
|
3012
|
-
const [hoverInfo, setHoverInfo] = (0,
|
|
3013
|
-
const [hoverPosition, setHoverPosition] = (0,
|
|
3014
|
-
const [pendingAnnotation, setPendingAnnotation] = (0,
|
|
3015
|
-
const [copied, setCopied] = (0,
|
|
3016
|
-
const [sendState, setSendState] = (0,
|
|
3017
|
-
const [cleared, setCleared] = (0,
|
|
3018
|
-
const [isClearing, setIsClearing] = (0,
|
|
3019
|
-
const [hoveredMarkerId, setHoveredMarkerId] = (0,
|
|
3020
|
-
const [hoveredTargetElement, setHoveredTargetElement] = (0,
|
|
3021
|
-
const [hoveredTargetElements, setHoveredTargetElements] = (0,
|
|
3022
|
-
const [deletingMarkerId, setDeletingMarkerId] = (0,
|
|
3023
|
-
const [renumberFrom, setRenumberFrom] = (0,
|
|
3024
|
-
const [editingAnnotation, setEditingAnnotation] = (0,
|
|
3126
|
+
const [markersVisible, setMarkersVisible] = (0, import_react4.useState)(false);
|
|
3127
|
+
const [markersExiting, setMarkersExiting] = (0, import_react4.useState)(false);
|
|
3128
|
+
const [hoverInfo, setHoverInfo] = (0, import_react4.useState)(null);
|
|
3129
|
+
const [hoverPosition, setHoverPosition] = (0, import_react4.useState)({ x: 0, y: 0 });
|
|
3130
|
+
const [pendingAnnotation, setPendingAnnotation] = (0, import_react4.useState)(null);
|
|
3131
|
+
const [copied, setCopied] = (0, import_react4.useState)(false);
|
|
3132
|
+
const [sendState, setSendState] = (0, import_react4.useState)("idle");
|
|
3133
|
+
const [cleared, setCleared] = (0, import_react4.useState)(false);
|
|
3134
|
+
const [isClearing, setIsClearing] = (0, import_react4.useState)(false);
|
|
3135
|
+
const [hoveredMarkerId, setHoveredMarkerId] = (0, import_react4.useState)(null);
|
|
3136
|
+
const [hoveredTargetElement, setHoveredTargetElement] = (0, import_react4.useState)(null);
|
|
3137
|
+
const [hoveredTargetElements, setHoveredTargetElements] = (0, import_react4.useState)([]);
|
|
3138
|
+
const [deletingMarkerId, setDeletingMarkerId] = (0, import_react4.useState)(null);
|
|
3139
|
+
const [renumberFrom, setRenumberFrom] = (0, import_react4.useState)(null);
|
|
3140
|
+
const [editingAnnotation, setEditingAnnotation] = (0, import_react4.useState)(
|
|
3025
3141
|
null
|
|
3026
3142
|
);
|
|
3027
|
-
const [editingTargetElement, setEditingTargetElement] = (0,
|
|
3028
|
-
const [editingTargetElements, setEditingTargetElements] = (0,
|
|
3029
|
-
const [scrollY, setScrollY] = (0,
|
|
3030
|
-
const [isScrolling, setIsScrolling] = (0,
|
|
3031
|
-
const [mounted, setMounted] = (0,
|
|
3032
|
-
const [isFrozen, setIsFrozen] = (0,
|
|
3033
|
-
const [showSettings, setShowSettings] = (0,
|
|
3034
|
-
const [showSettingsVisible, setShowSettingsVisible] = (0,
|
|
3035
|
-
const [settingsPage, setSettingsPage] = (0,
|
|
3143
|
+
const [editingTargetElement, setEditingTargetElement] = (0, import_react4.useState)(null);
|
|
3144
|
+
const [editingTargetElements, setEditingTargetElements] = (0, import_react4.useState)([]);
|
|
3145
|
+
const [scrollY, setScrollY] = (0, import_react4.useState)(0);
|
|
3146
|
+
const [isScrolling, setIsScrolling] = (0, import_react4.useState)(false);
|
|
3147
|
+
const [mounted, setMounted] = (0, import_react4.useState)(false);
|
|
3148
|
+
const [isFrozen, setIsFrozen] = (0, import_react4.useState)(false);
|
|
3149
|
+
const [showSettings, setShowSettings] = (0, import_react4.useState)(false);
|
|
3150
|
+
const [showSettingsVisible, setShowSettingsVisible] = (0, import_react4.useState)(false);
|
|
3151
|
+
const [settingsPage, setSettingsPage] = (0, import_react4.useState)(
|
|
3036
3152
|
"main"
|
|
3037
3153
|
);
|
|
3038
|
-
const [
|
|
3039
|
-
const [
|
|
3040
|
-
const
|
|
3041
|
-
const tooltipSessionTimerRef = (0, import_react3.useRef)(
|
|
3154
|
+
const [tooltipsHidden, setTooltipsHidden] = (0, import_react4.useState)(false);
|
|
3155
|
+
const [tooltipSessionActive, setTooltipSessionActive] = (0, import_react4.useState)(false);
|
|
3156
|
+
const tooltipSessionTimerRef = (0, import_react4.useRef)(
|
|
3042
3157
|
null
|
|
3043
3158
|
);
|
|
3044
|
-
const [pendingMultiSelectElements, setPendingMultiSelectElements] = (0,
|
|
3045
|
-
const modifiersHeldRef = (0,
|
|
3159
|
+
const [pendingMultiSelectElements, setPendingMultiSelectElements] = (0, import_react4.useState)([]);
|
|
3160
|
+
const modifiersHeldRef = (0, import_react4.useRef)({ cmd: false, shift: false });
|
|
3046
3161
|
const hideTooltipsUntilMouseLeave = () => {
|
|
3047
3162
|
setTooltipsHidden(true);
|
|
3048
3163
|
};
|
|
@@ -3065,140 +3180,67 @@ function PageFeedbackToolbarCSS({
|
|
|
3065
3180
|
setTooltipSessionActive(false);
|
|
3066
3181
|
showTooltipsAgain();
|
|
3067
3182
|
};
|
|
3068
|
-
(0,
|
|
3183
|
+
(0, import_react4.useEffect)(() => {
|
|
3069
3184
|
return () => {
|
|
3070
3185
|
if (tooltipSessionTimerRef.current)
|
|
3071
3186
|
clearTimeout(tooltipSessionTimerRef.current);
|
|
3072
3187
|
};
|
|
3073
3188
|
}, []);
|
|
3074
|
-
const
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
const [position, setPosition] = (0, import_react3.useState)({ top: 0, right: 0 });
|
|
3082
|
-
const triggerRef = (0, import_react3.useRef)(null);
|
|
3083
|
-
const timeoutRef = (0, import_react3.useRef)(null);
|
|
3084
|
-
const exitTimeoutRef = (0, import_react3.useRef)(null);
|
|
3085
|
-
const updatePosition = () => {
|
|
3086
|
-
if (triggerRef.current) {
|
|
3087
|
-
const rect = triggerRef.current.getBoundingClientRect();
|
|
3088
|
-
setPosition({
|
|
3089
|
-
top: rect.top + rect.height / 2,
|
|
3090
|
-
right: window.innerWidth - rect.left + 8
|
|
3091
|
-
});
|
|
3092
|
-
}
|
|
3093
|
-
};
|
|
3094
|
-
const handleMouseEnter = () => {
|
|
3095
|
-
setIsHovering(true);
|
|
3096
|
-
setShouldRender(true);
|
|
3097
|
-
if (exitTimeoutRef.current) {
|
|
3098
|
-
clearTimeout(exitTimeoutRef.current);
|
|
3099
|
-
exitTimeoutRef.current = null;
|
|
3100
|
-
}
|
|
3101
|
-
updatePosition();
|
|
3102
|
-
timeoutRef.current = originalSetTimeout(() => {
|
|
3103
|
-
setVisible(true);
|
|
3104
|
-
}, 500);
|
|
3105
|
-
};
|
|
3106
|
-
const handleMouseLeave = () => {
|
|
3107
|
-
setIsHovering(false);
|
|
3108
|
-
if (timeoutRef.current) {
|
|
3109
|
-
clearTimeout(timeoutRef.current);
|
|
3110
|
-
timeoutRef.current = null;
|
|
3111
|
-
}
|
|
3112
|
-
setVisible(false);
|
|
3113
|
-
exitTimeoutRef.current = originalSetTimeout(() => {
|
|
3114
|
-
setShouldRender(false);
|
|
3115
|
-
}, 150);
|
|
3116
|
-
};
|
|
3117
|
-
(0, import_react3.useEffect)(() => {
|
|
3118
|
-
return () => {
|
|
3119
|
-
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
3120
|
-
if (exitTimeoutRef.current) clearTimeout(exitTimeoutRef.current);
|
|
3189
|
+
const [settings, setSettings] = (0, import_react4.useState)(() => {
|
|
3190
|
+
try {
|
|
3191
|
+
const saved = JSON.parse(localStorage.getItem("feedback-toolbar-settings") ?? "");
|
|
3192
|
+
return {
|
|
3193
|
+
...DEFAULT_SETTINGS,
|
|
3194
|
+
...saved,
|
|
3195
|
+
annotationColorId: COLOR_OPTIONS.find((c) => c.id === saved.annotationColorId) ? saved.annotationColorId : DEFAULT_SETTINGS.annotationColorId
|
|
3121
3196
|
};
|
|
3122
|
-
}
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
)
|
|
3133
|
-
|
|
3134
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
3135
|
-
"div",
|
|
3136
|
-
{
|
|
3137
|
-
"data-feedback-toolbar": true,
|
|
3138
|
-
style: {
|
|
3139
|
-
position: "fixed",
|
|
3140
|
-
top: position.top,
|
|
3141
|
-
right: position.right,
|
|
3142
|
-
transform: "translateY(-50%)",
|
|
3143
|
-
padding: "6px 10px",
|
|
3144
|
-
background: "#383838",
|
|
3145
|
-
color: "rgba(255, 255, 255, 0.7)",
|
|
3146
|
-
fontSize: "11px",
|
|
3147
|
-
fontWeight: 400,
|
|
3148
|
-
lineHeight: "14px",
|
|
3149
|
-
borderRadius: "10px",
|
|
3150
|
-
width: "180px",
|
|
3151
|
-
textAlign: "left",
|
|
3152
|
-
zIndex: 100020,
|
|
3153
|
-
pointerEvents: "none",
|
|
3154
|
-
boxShadow: "0px 1px 8px rgba(0, 0, 0, 0.28)",
|
|
3155
|
-
opacity: visible && !isTransitioning ? 1 : 0,
|
|
3156
|
-
transition: "opacity 0.15s ease"
|
|
3157
|
-
},
|
|
3158
|
-
children: content
|
|
3159
|
-
}
|
|
3160
|
-
),
|
|
3161
|
-
document.body
|
|
3162
|
-
)
|
|
3163
|
-
] });
|
|
3197
|
+
} catch {
|
|
3198
|
+
return DEFAULT_SETTINGS;
|
|
3199
|
+
}
|
|
3200
|
+
});
|
|
3201
|
+
const [isDarkMode, setIsDarkMode] = (0, import_react4.useState)(true);
|
|
3202
|
+
const [showEntranceAnimation, setShowEntranceAnimation] = (0, import_react4.useState)(false);
|
|
3203
|
+
const toggleTheme = () => {
|
|
3204
|
+
portalWrapperRef.current?.classList.add(styles_module_default2.disableTransitions);
|
|
3205
|
+
setIsDarkMode((previous) => !previous);
|
|
3206
|
+
requestAnimationFrame(() => {
|
|
3207
|
+
portalWrapperRef.current?.classList.remove(styles_module_default2.disableTransitions);
|
|
3208
|
+
});
|
|
3164
3209
|
};
|
|
3165
|
-
const [settings, setSettings] = (0, import_react3.useState)(DEFAULT_SETTINGS);
|
|
3166
|
-
const [isDarkMode, setIsDarkMode] = (0, import_react3.useState)(true);
|
|
3167
|
-
const [showEntranceAnimation, setShowEntranceAnimation] = (0, import_react3.useState)(false);
|
|
3168
3210
|
const isDevMode = process.env.NODE_ENV === "development";
|
|
3169
3211
|
const effectiveReactMode = isDevMode && settings.reactEnabled ? OUTPUT_TO_REACT_MODE[settings.outputDetail] : "off";
|
|
3170
|
-
const [currentSessionId, setCurrentSessionId] = (0,
|
|
3212
|
+
const [currentSessionId, setCurrentSessionId] = (0, import_react4.useState)(
|
|
3171
3213
|
initialSessionId ?? null
|
|
3172
3214
|
);
|
|
3173
|
-
const sessionInitializedRef = (0,
|
|
3174
|
-
const [connectionStatus, setConnectionStatus] = (0,
|
|
3175
|
-
const [toolbarPosition, setToolbarPosition] = (0,
|
|
3176
|
-
const [isDraggingToolbar, setIsDraggingToolbar] = (0,
|
|
3177
|
-
const [dragStartPos, setDragStartPos] = (0,
|
|
3178
|
-
const [dragRotation, setDragRotation] = (0,
|
|
3179
|
-
const justFinishedToolbarDragRef = (0,
|
|
3180
|
-
const [animatedMarkers, setAnimatedMarkers] = (0,
|
|
3215
|
+
const sessionInitializedRef = (0, import_react4.useRef)(false);
|
|
3216
|
+
const [connectionStatus, setConnectionStatus] = (0, import_react4.useState)(endpoint ? "connecting" : "disconnected");
|
|
3217
|
+
const [toolbarPosition, setToolbarPosition] = (0, import_react4.useState)(null);
|
|
3218
|
+
const [isDraggingToolbar, setIsDraggingToolbar] = (0, import_react4.useState)(false);
|
|
3219
|
+
const [dragStartPos, setDragStartPos] = (0, import_react4.useState)(null);
|
|
3220
|
+
const [dragRotation, setDragRotation] = (0, import_react4.useState)(0);
|
|
3221
|
+
const justFinishedToolbarDragRef = (0, import_react4.useRef)(false);
|
|
3222
|
+
const [animatedMarkers, setAnimatedMarkers] = (0, import_react4.useState)(
|
|
3181
3223
|
/* @__PURE__ */ new Set()
|
|
3182
3224
|
);
|
|
3183
|
-
const [exitingMarkers, setExitingMarkers] = (0,
|
|
3184
|
-
const [pendingExiting, setPendingExiting] = (0,
|
|
3185
|
-
const [editExiting, setEditExiting] = (0,
|
|
3186
|
-
const [isDragging, setIsDragging] = (0,
|
|
3187
|
-
const mouseDownPosRef = (0,
|
|
3188
|
-
const dragStartRef = (0,
|
|
3189
|
-
const dragRectRef = (0,
|
|
3190
|
-
const highlightsContainerRef = (0,
|
|
3191
|
-
const justFinishedDragRef = (0,
|
|
3192
|
-
const lastElementUpdateRef = (0,
|
|
3193
|
-
const recentlyAddedIdRef = (0,
|
|
3194
|
-
const prevConnectionStatusRef = (0,
|
|
3225
|
+
const [exitingMarkers, setExitingMarkers] = (0, import_react4.useState)(/* @__PURE__ */ new Set());
|
|
3226
|
+
const [pendingExiting, setPendingExiting] = (0, import_react4.useState)(false);
|
|
3227
|
+
const [editExiting, setEditExiting] = (0, import_react4.useState)(false);
|
|
3228
|
+
const [isDragging, setIsDragging] = (0, import_react4.useState)(false);
|
|
3229
|
+
const mouseDownPosRef = (0, import_react4.useRef)(null);
|
|
3230
|
+
const dragStartRef = (0, import_react4.useRef)(null);
|
|
3231
|
+
const dragRectRef = (0, import_react4.useRef)(null);
|
|
3232
|
+
const highlightsContainerRef = (0, import_react4.useRef)(null);
|
|
3233
|
+
const justFinishedDragRef = (0, import_react4.useRef)(false);
|
|
3234
|
+
const lastElementUpdateRef = (0, import_react4.useRef)(0);
|
|
3235
|
+
const recentlyAddedIdRef = (0, import_react4.useRef)(null);
|
|
3236
|
+
const prevConnectionStatusRef = (0, import_react4.useRef)(null);
|
|
3195
3237
|
const DRAG_THRESHOLD = 8;
|
|
3196
3238
|
const ELEMENT_UPDATE_THROTTLE = 50;
|
|
3197
|
-
const popupRef = (0,
|
|
3198
|
-
const editPopupRef = (0,
|
|
3199
|
-
const scrollTimeoutRef = (0,
|
|
3239
|
+
const popupRef = (0, import_react4.useRef)(null);
|
|
3240
|
+
const editPopupRef = (0, import_react4.useRef)(null);
|
|
3241
|
+
const scrollTimeoutRef = (0, import_react4.useRef)(null);
|
|
3200
3242
|
const pathname = typeof window !== "undefined" ? window.location.pathname : "/";
|
|
3201
|
-
(0,
|
|
3243
|
+
(0, import_react4.useEffect)(() => {
|
|
3202
3244
|
if (showSettings) {
|
|
3203
3245
|
setShowSettingsVisible(true);
|
|
3204
3246
|
} else {
|
|
@@ -3208,13 +3250,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3208
3250
|
return () => clearTimeout(timer);
|
|
3209
3251
|
}
|
|
3210
3252
|
}, [showSettings]);
|
|
3211
|
-
(0, import_react3.useEffect)(() => {
|
|
3212
|
-
setIsTransitioning(true);
|
|
3213
|
-
const timer = originalSetTimeout(() => setIsTransitioning(false), 350);
|
|
3214
|
-
return () => clearTimeout(timer);
|
|
3215
|
-
}, [settingsPage]);
|
|
3216
3253
|
const shouldShowMarkers = isActive && showMarkers;
|
|
3217
|
-
(0,
|
|
3254
|
+
(0, import_react4.useEffect)(() => {
|
|
3218
3255
|
if (shouldShowMarkers) {
|
|
3219
3256
|
setMarkersExiting(false);
|
|
3220
3257
|
setMarkersVisible(true);
|
|
@@ -3236,7 +3273,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3236
3273
|
return () => clearTimeout(timer);
|
|
3237
3274
|
}
|
|
3238
3275
|
}, [shouldShowMarkers]);
|
|
3239
|
-
(0,
|
|
3276
|
+
(0, import_react4.useEffect)(() => {
|
|
3240
3277
|
setMounted(true);
|
|
3241
3278
|
setScrollY(window.scrollY);
|
|
3242
3279
|
const stored = loadAnnotations(pathname);
|
|
@@ -3246,13 +3283,6 @@ function PageFeedbackToolbarCSS({
|
|
|
3246
3283
|
hasPlayedEntranceAnimation = true;
|
|
3247
3284
|
originalSetTimeout(() => setShowEntranceAnimation(false), 750);
|
|
3248
3285
|
}
|
|
3249
|
-
try {
|
|
3250
|
-
const storedSettings = localStorage.getItem("feedback-toolbar-settings");
|
|
3251
|
-
if (storedSettings) {
|
|
3252
|
-
setSettings({ ...DEFAULT_SETTINGS, ...JSON.parse(storedSettings) });
|
|
3253
|
-
}
|
|
3254
|
-
} catch (e) {
|
|
3255
|
-
}
|
|
3256
3286
|
try {
|
|
3257
3287
|
const savedTheme = localStorage.getItem("feedback-toolbar-theme");
|
|
3258
3288
|
if (savedTheme !== null) {
|
|
@@ -3271,7 +3301,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3271
3301
|
} catch (e) {
|
|
3272
3302
|
}
|
|
3273
3303
|
}, [pathname]);
|
|
3274
|
-
(0,
|
|
3304
|
+
(0, import_react4.useEffect)(() => {
|
|
3275
3305
|
if (mounted) {
|
|
3276
3306
|
localStorage.setItem(
|
|
3277
3307
|
"feedback-toolbar-settings",
|
|
@@ -3279,7 +3309,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3279
3309
|
);
|
|
3280
3310
|
}
|
|
3281
3311
|
}, [settings, mounted]);
|
|
3282
|
-
(0,
|
|
3312
|
+
(0, import_react4.useEffect)(() => {
|
|
3283
3313
|
if (mounted) {
|
|
3284
3314
|
localStorage.setItem(
|
|
3285
3315
|
"feedback-toolbar-theme",
|
|
@@ -3287,8 +3317,8 @@ function PageFeedbackToolbarCSS({
|
|
|
3287
3317
|
);
|
|
3288
3318
|
}
|
|
3289
3319
|
}, [isDarkMode, mounted]);
|
|
3290
|
-
const prevDraggingRef = (0,
|
|
3291
|
-
(0,
|
|
3320
|
+
const prevDraggingRef = (0, import_react4.useRef)(false);
|
|
3321
|
+
(0, import_react4.useEffect)(() => {
|
|
3292
3322
|
const wasDragging = prevDraggingRef.current;
|
|
3293
3323
|
prevDraggingRef.current = isDraggingToolbar;
|
|
3294
3324
|
if (wasDragging && !isDraggingToolbar && toolbarPosition && mounted) {
|
|
@@ -3298,7 +3328,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3298
3328
|
);
|
|
3299
3329
|
}
|
|
3300
3330
|
}, [isDraggingToolbar, toolbarPosition, mounted]);
|
|
3301
|
-
(0,
|
|
3331
|
+
(0, import_react4.useEffect)(() => {
|
|
3302
3332
|
if (!endpoint || !mounted || sessionInitializedRef.current) return;
|
|
3303
3333
|
sessionInitializedRef.current = true;
|
|
3304
3334
|
setConnectionStatus("connecting");
|
|
@@ -3450,7 +3480,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3450
3480
|
};
|
|
3451
3481
|
initSession();
|
|
3452
3482
|
}, [endpoint, initialSessionId, mounted, onSessionCreated, pathname]);
|
|
3453
|
-
(0,
|
|
3483
|
+
(0, import_react4.useEffect)(() => {
|
|
3454
3484
|
if (!endpoint || !mounted) return;
|
|
3455
3485
|
const checkHealth = async () => {
|
|
3456
3486
|
try {
|
|
@@ -3468,7 +3498,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3468
3498
|
const interval = originalSetInterval(checkHealth, 1e4);
|
|
3469
3499
|
return () => clearInterval(interval);
|
|
3470
3500
|
}, [endpoint, mounted]);
|
|
3471
|
-
(0,
|
|
3501
|
+
(0, import_react4.useEffect)(() => {
|
|
3472
3502
|
if (!endpoint || !mounted || !currentSessionId) return;
|
|
3473
3503
|
const eventSource = new EventSource(
|
|
3474
3504
|
`${endpoint}/sessions/${currentSessionId}/events`
|
|
@@ -3498,7 +3528,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3498
3528
|
eventSource.close();
|
|
3499
3529
|
};
|
|
3500
3530
|
}, [endpoint, mounted, currentSessionId]);
|
|
3501
|
-
(0,
|
|
3531
|
+
(0, import_react4.useEffect)(() => {
|
|
3502
3532
|
if (!endpoint || !mounted) return;
|
|
3503
3533
|
const wasDisconnected = prevConnectionStatusRef.current === "disconnected";
|
|
3504
3534
|
const isNowConnected = connectionStatus === "connected";
|
|
@@ -3563,7 +3593,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3563
3593
|
syncLocalAnnotations();
|
|
3564
3594
|
}
|
|
3565
3595
|
}, [connectionStatus, endpoint, mounted, currentSessionId, pathname]);
|
|
3566
|
-
const hideToolbarTemporarily = (0,
|
|
3596
|
+
const hideToolbarTemporarily = (0, import_react4.useCallback)(() => {
|
|
3567
3597
|
if (isToolbarHiding) return;
|
|
3568
3598
|
setIsToolbarHiding(true);
|
|
3569
3599
|
setShowSettings(false);
|
|
@@ -3574,7 +3604,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3574
3604
|
setIsToolbarHiding(false);
|
|
3575
3605
|
}, 400);
|
|
3576
3606
|
}, [isToolbarHiding]);
|
|
3577
|
-
(0,
|
|
3607
|
+
(0, import_react4.useEffect)(() => {
|
|
3578
3608
|
if (!enableDemoMode) return;
|
|
3579
3609
|
if (!mounted || !demoAnnotations || demoAnnotations.length === 0) return;
|
|
3580
3610
|
if (annotations.length > 0) return;
|
|
@@ -3618,7 +3648,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3618
3648
|
timeoutIds.forEach(clearTimeout);
|
|
3619
3649
|
};
|
|
3620
3650
|
}, [enableDemoMode, mounted, demoAnnotations, demoDelay]);
|
|
3621
|
-
(0,
|
|
3651
|
+
(0, import_react4.useEffect)(() => {
|
|
3622
3652
|
const handleScroll = () => {
|
|
3623
3653
|
setScrollY(window.scrollY);
|
|
3624
3654
|
setIsScrolling(true);
|
|
@@ -3637,7 +3667,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3637
3667
|
}
|
|
3638
3668
|
};
|
|
3639
3669
|
}, []);
|
|
3640
|
-
(0,
|
|
3670
|
+
(0, import_react4.useEffect)(() => {
|
|
3641
3671
|
if (mounted && annotations.length > 0) {
|
|
3642
3672
|
if (currentSessionId) {
|
|
3643
3673
|
saveAnnotationsWithSyncMarker(pathname, annotations, currentSessionId);
|
|
@@ -3648,24 +3678,24 @@ function PageFeedbackToolbarCSS({
|
|
|
3648
3678
|
localStorage.removeItem(getStorageKey(pathname));
|
|
3649
3679
|
}
|
|
3650
3680
|
}, [annotations, pathname, mounted, currentSessionId]);
|
|
3651
|
-
const freezeAnimations = (0,
|
|
3681
|
+
const freezeAnimations = (0, import_react4.useCallback)(() => {
|
|
3652
3682
|
if (isFrozen) return;
|
|
3653
3683
|
freeze();
|
|
3654
3684
|
setIsFrozen(true);
|
|
3655
3685
|
}, [isFrozen]);
|
|
3656
|
-
const unfreezeAnimations = (0,
|
|
3686
|
+
const unfreezeAnimations = (0, import_react4.useCallback)(() => {
|
|
3657
3687
|
if (!isFrozen) return;
|
|
3658
3688
|
unfreeze();
|
|
3659
3689
|
setIsFrozen(false);
|
|
3660
3690
|
}, [isFrozen]);
|
|
3661
|
-
const toggleFreeze = (0,
|
|
3691
|
+
const toggleFreeze = (0, import_react4.useCallback)(() => {
|
|
3662
3692
|
if (isFrozen) {
|
|
3663
3693
|
unfreezeAnimations();
|
|
3664
3694
|
} else {
|
|
3665
3695
|
freezeAnimations();
|
|
3666
3696
|
}
|
|
3667
3697
|
}, [isFrozen, freezeAnimations, unfreezeAnimations]);
|
|
3668
|
-
const createMultiSelectPendingAnnotation = (0,
|
|
3698
|
+
const createMultiSelectPendingAnnotation = (0, import_react4.useCallback)(() => {
|
|
3669
3699
|
if (pendingMultiSelectElements.length === 0) return;
|
|
3670
3700
|
const firstItem = pendingMultiSelectElements[0];
|
|
3671
3701
|
const firstEl = firstItem.element;
|
|
@@ -3751,7 +3781,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3751
3781
|
setPendingMultiSelectElements([]);
|
|
3752
3782
|
setHoverInfo(null);
|
|
3753
3783
|
}, [pendingMultiSelectElements]);
|
|
3754
|
-
(0,
|
|
3784
|
+
(0, import_react4.useEffect)(() => {
|
|
3755
3785
|
if (!isActive) {
|
|
3756
3786
|
setPendingAnnotation(null);
|
|
3757
3787
|
setEditingAnnotation(null);
|
|
@@ -3766,12 +3796,12 @@ function PageFeedbackToolbarCSS({
|
|
|
3766
3796
|
}
|
|
3767
3797
|
}
|
|
3768
3798
|
}, [isActive, isFrozen, unfreezeAnimations]);
|
|
3769
|
-
(0,
|
|
3799
|
+
(0, import_react4.useEffect)(() => {
|
|
3770
3800
|
return () => {
|
|
3771
3801
|
unfreeze();
|
|
3772
3802
|
};
|
|
3773
3803
|
}, []);
|
|
3774
|
-
(0,
|
|
3804
|
+
(0, import_react4.useEffect)(() => {
|
|
3775
3805
|
if (!isActive) return;
|
|
3776
3806
|
const style = document.createElement("style");
|
|
3777
3807
|
style.id = "feedback-cursor-styles";
|
|
@@ -3791,7 +3821,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3791
3821
|
cursor: text !important;
|
|
3792
3822
|
}
|
|
3793
3823
|
[data-feedback-toolbar], [data-feedback-toolbar] * {
|
|
3794
|
-
cursor:
|
|
3824
|
+
cursor: auto !important;
|
|
3795
3825
|
}
|
|
3796
3826
|
[data-feedback-toolbar] textarea,
|
|
3797
3827
|
[data-feedback-toolbar] input[type="text"],
|
|
@@ -3818,7 +3848,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3818
3848
|
if (existingStyle) existingStyle.remove();
|
|
3819
3849
|
};
|
|
3820
3850
|
}, [isActive]);
|
|
3821
|
-
(0,
|
|
3851
|
+
(0, import_react4.useEffect)(() => {
|
|
3822
3852
|
if (!isActive || pendingAnnotation) return;
|
|
3823
3853
|
const handleMouseMove = (e) => {
|
|
3824
3854
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -3845,7 +3875,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3845
3875
|
document.addEventListener("mousemove", handleMouseMove);
|
|
3846
3876
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
3847
3877
|
}, [isActive, pendingAnnotation, effectiveReactMode]);
|
|
3848
|
-
(0,
|
|
3878
|
+
(0, import_react4.useEffect)(() => {
|
|
3849
3879
|
if (!isActive) return;
|
|
3850
3880
|
const handleClick = (e) => {
|
|
3851
3881
|
if (justFinishedDragRef.current) {
|
|
@@ -3967,7 +3997,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3967
3997
|
effectiveReactMode,
|
|
3968
3998
|
pendingMultiSelectElements
|
|
3969
3999
|
]);
|
|
3970
|
-
(0,
|
|
4000
|
+
(0, import_react4.useEffect)(() => {
|
|
3971
4001
|
if (!isActive) return;
|
|
3972
4002
|
const handleKeyDown = (e) => {
|
|
3973
4003
|
if (e.key === "Meta") modifiersHeldRef.current.cmd = true;
|
|
@@ -3995,7 +4025,7 @@ function PageFeedbackToolbarCSS({
|
|
|
3995
4025
|
window.removeEventListener("blur", handleBlur);
|
|
3996
4026
|
};
|
|
3997
4027
|
}, [isActive, pendingMultiSelectElements, createMultiSelectPendingAnnotation]);
|
|
3998
|
-
(0,
|
|
4028
|
+
(0, import_react4.useEffect)(() => {
|
|
3999
4029
|
if (!isActive || pendingAnnotation) return;
|
|
4000
4030
|
const handleMouseDown = (e) => {
|
|
4001
4031
|
const target = e.composedPath()[0] || e.target;
|
|
@@ -4049,7 +4079,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4049
4079
|
document.addEventListener("mousedown", handleMouseDown);
|
|
4050
4080
|
return () => document.removeEventListener("mousedown", handleMouseDown);
|
|
4051
4081
|
}, [isActive, pendingAnnotation]);
|
|
4052
|
-
(0,
|
|
4082
|
+
(0, import_react4.useEffect)(() => {
|
|
4053
4083
|
if (!isActive || pendingAnnotation) return;
|
|
4054
4084
|
const handleMouseMove = (e) => {
|
|
4055
4085
|
if (!mouseDownPosRef.current) return;
|
|
@@ -4194,7 +4224,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4194
4224
|
document.addEventListener("mousemove", handleMouseMove, { passive: true });
|
|
4195
4225
|
return () => document.removeEventListener("mousemove", handleMouseMove);
|
|
4196
4226
|
}, [isActive, pendingAnnotation, isDragging, DRAG_THRESHOLD]);
|
|
4197
|
-
(0,
|
|
4227
|
+
(0, import_react4.useEffect)(() => {
|
|
4198
4228
|
if (!isActive) return;
|
|
4199
4229
|
const handleMouseUp = (e) => {
|
|
4200
4230
|
const wasDragging = isDragging;
|
|
@@ -4303,7 +4333,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4303
4333
|
document.addEventListener("mouseup", handleMouseUp);
|
|
4304
4334
|
return () => document.removeEventListener("mouseup", handleMouseUp);
|
|
4305
4335
|
}, [isActive, isDragging]);
|
|
4306
|
-
const fireWebhook = (0,
|
|
4336
|
+
const fireWebhook = (0, import_react4.useCallback)(
|
|
4307
4337
|
async (event, payload, force) => {
|
|
4308
4338
|
const targetUrl = settings.webhookUrl || webhookUrl;
|
|
4309
4339
|
if (!targetUrl || !settings.webhooksEnabled && !force) return false;
|
|
@@ -4326,7 +4356,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4326
4356
|
},
|
|
4327
4357
|
[webhookUrl, settings.webhookUrl, settings.webhooksEnabled]
|
|
4328
4358
|
);
|
|
4329
|
-
const addAnnotation = (0,
|
|
4359
|
+
const addAnnotation = (0, import_react4.useCallback)(
|
|
4330
4360
|
(comment) => {
|
|
4331
4361
|
if (!pendingAnnotation) return;
|
|
4332
4362
|
const newAnnotation = {
|
|
@@ -4401,14 +4431,14 @@ function PageFeedbackToolbarCSS({
|
|
|
4401
4431
|
currentSessionId
|
|
4402
4432
|
]
|
|
4403
4433
|
);
|
|
4404
|
-
const cancelAnnotation = (0,
|
|
4434
|
+
const cancelAnnotation = (0, import_react4.useCallback)(() => {
|
|
4405
4435
|
setPendingExiting(true);
|
|
4406
4436
|
originalSetTimeout(() => {
|
|
4407
4437
|
setPendingAnnotation(null);
|
|
4408
4438
|
setPendingExiting(false);
|
|
4409
4439
|
}, 150);
|
|
4410
4440
|
}, []);
|
|
4411
|
-
const deleteAnnotation2 = (0,
|
|
4441
|
+
const deleteAnnotation2 = (0, import_react4.useCallback)(
|
|
4412
4442
|
(id) => {
|
|
4413
4443
|
const deletedIndex = annotations.findIndex((a) => a.id === id);
|
|
4414
4444
|
const deletedAnnotation = annotations[deletedIndex];
|
|
@@ -4451,7 +4481,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4451
4481
|
},
|
|
4452
4482
|
[annotations, editingAnnotation, onAnnotationDelete, fireWebhook, endpoint]
|
|
4453
4483
|
);
|
|
4454
|
-
const startEditAnnotation = (0,
|
|
4484
|
+
const startEditAnnotation = (0, import_react4.useCallback)((annotation) => {
|
|
4455
4485
|
setEditingAnnotation(annotation);
|
|
4456
4486
|
setHoveredMarkerId(null);
|
|
4457
4487
|
setHoveredTargetElement(null);
|
|
@@ -4489,7 +4519,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4489
4519
|
setEditingTargetElements([]);
|
|
4490
4520
|
}
|
|
4491
4521
|
}, []);
|
|
4492
|
-
const handleMarkerHover = (0,
|
|
4522
|
+
const handleMarkerHover = (0, import_react4.useCallback)(
|
|
4493
4523
|
(annotation) => {
|
|
4494
4524
|
if (!annotation) {
|
|
4495
4525
|
setHoveredMarkerId(null);
|
|
@@ -4536,7 +4566,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4536
4566
|
},
|
|
4537
4567
|
[]
|
|
4538
4568
|
);
|
|
4539
|
-
const updateAnnotation2 = (0,
|
|
4569
|
+
const updateAnnotation2 = (0, import_react4.useCallback)(
|
|
4540
4570
|
(newComment) => {
|
|
4541
4571
|
if (!editingAnnotation) return;
|
|
4542
4572
|
const updatedAnnotation = { ...editingAnnotation, comment: newComment };
|
|
@@ -4567,7 +4597,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4567
4597
|
},
|
|
4568
4598
|
[editingAnnotation, onAnnotationUpdate, fireWebhook, endpoint]
|
|
4569
4599
|
);
|
|
4570
|
-
const cancelEditAnnotation = (0,
|
|
4600
|
+
const cancelEditAnnotation = (0, import_react4.useCallback)(() => {
|
|
4571
4601
|
setEditExiting(true);
|
|
4572
4602
|
originalSetTimeout(() => {
|
|
4573
4603
|
setEditingAnnotation(null);
|
|
@@ -4576,7 +4606,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4576
4606
|
setEditExiting(false);
|
|
4577
4607
|
}, 150);
|
|
4578
4608
|
}, []);
|
|
4579
|
-
const clearAll = (0,
|
|
4609
|
+
const clearAll = (0, import_react4.useCallback)(() => {
|
|
4580
4610
|
const count = annotations.length;
|
|
4581
4611
|
if (count === 0) return;
|
|
4582
4612
|
onAnnotationsClear?.(annotations);
|
|
@@ -4604,7 +4634,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4604
4634
|
}, totalAnimationTime);
|
|
4605
4635
|
originalSetTimeout(() => setCleared(false), 1500);
|
|
4606
4636
|
}, [pathname, annotations, onAnnotationsClear, fireWebhook, endpoint]);
|
|
4607
|
-
const copyOutput = (0,
|
|
4637
|
+
const copyOutput = (0, import_react4.useCallback)(async () => {
|
|
4608
4638
|
const displayUrl = typeof window !== "undefined" ? window.location.pathname + window.location.search + window.location.hash : pathname;
|
|
4609
4639
|
const output = generateOutput(
|
|
4610
4640
|
annotations,
|
|
@@ -4635,7 +4665,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4635
4665
|
copyToClipboard,
|
|
4636
4666
|
onCopy
|
|
4637
4667
|
]);
|
|
4638
|
-
const sendToWebhook = (0,
|
|
4668
|
+
const sendToWebhook = (0, import_react4.useCallback)(async () => {
|
|
4639
4669
|
const displayUrl = typeof window !== "undefined" ? window.location.pathname + window.location.search + window.location.hash : pathname;
|
|
4640
4670
|
const output = generateOutput(
|
|
4641
4671
|
annotations,
|
|
@@ -4665,7 +4695,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4665
4695
|
settings.autoClearAfterCopy,
|
|
4666
4696
|
clearAll
|
|
4667
4697
|
]);
|
|
4668
|
-
(0,
|
|
4698
|
+
(0, import_react4.useEffect)(() => {
|
|
4669
4699
|
if (!dragStartPos) return;
|
|
4670
4700
|
const DRAG_THRESHOLD2 = 10;
|
|
4671
4701
|
const handleMouseMove = (e) => {
|
|
@@ -4707,7 +4737,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4707
4737
|
document.removeEventListener("mouseup", handleMouseUp);
|
|
4708
4738
|
};
|
|
4709
4739
|
}, [dragStartPos, isDraggingToolbar, isActive, connectionStatus]);
|
|
4710
|
-
const handleToolbarMouseDown = (0,
|
|
4740
|
+
const handleToolbarMouseDown = (0, import_react4.useCallback)(
|
|
4711
4741
|
(e) => {
|
|
4712
4742
|
if (e.target.closest("button") || e.target.closest(`.${styles_module_default2.settingsPanel}`)) {
|
|
4713
4743
|
return;
|
|
@@ -4728,7 +4758,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4728
4758
|
},
|
|
4729
4759
|
[toolbarPosition]
|
|
4730
4760
|
);
|
|
4731
|
-
(0,
|
|
4761
|
+
(0, import_react4.useEffect)(() => {
|
|
4732
4762
|
if (!toolbarPosition) return;
|
|
4733
4763
|
const constrainPosition = () => {
|
|
4734
4764
|
const padding = 20;
|
|
@@ -4753,7 +4783,7 @@ function PageFeedbackToolbarCSS({
|
|
|
4753
4783
|
window.addEventListener("resize", constrainPosition);
|
|
4754
4784
|
return () => window.removeEventListener("resize", constrainPosition);
|
|
4755
4785
|
}, [toolbarPosition, isActive, connectionStatus]);
|
|
4756
|
-
(0,
|
|
4786
|
+
(0, import_react4.useEffect)(() => {
|
|
4757
4787
|
const handleKeyDown = (e) => {
|
|
4758
4788
|
const target = e.target;
|
|
4759
4789
|
const isTyping = target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.isContentEditable;
|
|
@@ -4858,9 +4888,9 @@ function PageFeedbackToolbarCSS({
|
|
|
4858
4888
|
}
|
|
4859
4889
|
return styles;
|
|
4860
4890
|
};
|
|
4861
|
-
return (0,
|
|
4862
|
-
/* @__PURE__ */ (0,
|
|
4863
|
-
/* @__PURE__ */ (0,
|
|
4891
|
+
return (0, import_react_dom2.createPortal)(
|
|
4892
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { ref: portalWrapperRef, style: { display: "contents" }, "data-agentation-theme": isDarkMode ? "dark" : "light", "data-agentation-accent": settings.annotationColorId, children: [
|
|
4893
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4864
4894
|
"div",
|
|
4865
4895
|
{
|
|
4866
4896
|
className: `${styles_module_default2.toolbar}${userClassName ? ` ${userClassName}` : ""}`,
|
|
@@ -4871,10 +4901,10 @@ function PageFeedbackToolbarCSS({
|
|
|
4871
4901
|
right: "auto",
|
|
4872
4902
|
bottom: "auto"
|
|
4873
4903
|
} : void 0,
|
|
4874
|
-
children: /* @__PURE__ */ (0,
|
|
4904
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4875
4905
|
"div",
|
|
4876
4906
|
{
|
|
4877
|
-
className: `${styles_module_default2.toolbarContainer} ${
|
|
4907
|
+
className: `${styles_module_default2.toolbarContainer} ${isActive ? styles_module_default2.expanded : styles_module_default2.collapsed} ${showEntranceAnimation ? styles_module_default2.entrance : ""} ${isToolbarHiding ? styles_module_default2.hiding : ""} ${isDraggingToolbar ? styles_module_default2.dragging : ""} ${!settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.serverConnected : ""}`,
|
|
4878
4908
|
onClick: !isActive ? (e) => {
|
|
4879
4909
|
if (justFinishedToolbarDragRef.current) {
|
|
4880
4910
|
justFinishedToolbarDragRef.current = false;
|
|
@@ -4894,79 +4924,78 @@ function PageFeedbackToolbarCSS({
|
|
|
4894
4924
|
}
|
|
4895
4925
|
},
|
|
4896
4926
|
children: [
|
|
4897
|
-
/* @__PURE__ */ (0,
|
|
4927
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4898
4928
|
"div",
|
|
4899
4929
|
{
|
|
4900
4930
|
className: `${styles_module_default2.toggleContent} ${!isActive ? styles_module_default2.visible : styles_module_default2.hidden}`,
|
|
4901
4931
|
children: [
|
|
4902
|
-
/* @__PURE__ */ (0,
|
|
4903
|
-
hasAnnotations && /* @__PURE__ */ (0,
|
|
4932
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconListSparkle, { size: 24 }),
|
|
4933
|
+
hasAnnotations && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4904
4934
|
"span",
|
|
4905
4935
|
{
|
|
4906
4936
|
className: `${styles_module_default2.badge} ${isActive ? styles_module_default2.fadeOut : ""} ${showEntranceAnimation ? styles_module_default2.entrance : ""}`,
|
|
4907
|
-
style: { backgroundColor: settings.annotationColor },
|
|
4908
4937
|
children: annotations.length
|
|
4909
4938
|
}
|
|
4910
4939
|
)
|
|
4911
4940
|
]
|
|
4912
4941
|
}
|
|
4913
4942
|
),
|
|
4914
|
-
/* @__PURE__ */ (0,
|
|
4943
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4915
4944
|
"div",
|
|
4916
4945
|
{
|
|
4917
4946
|
className: `${styles_module_default2.controlsContent} ${isActive ? styles_module_default2.visible : styles_module_default2.hidden} ${toolbarPosition && toolbarPosition.y < 100 ? styles_module_default2.tooltipBelow : ""} ${tooltipsHidden || showSettings ? styles_module_default2.tooltipsHidden : ""} ${tooltipSessionActive ? styles_module_default2.tooltipsInSession : ""}`,
|
|
4918
4947
|
onMouseEnter: handleControlsMouseEnter,
|
|
4919
4948
|
onMouseLeave: handleControlsMouseLeave,
|
|
4920
4949
|
children: [
|
|
4921
|
-
/* @__PURE__ */ (0,
|
|
4950
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4922
4951
|
"div",
|
|
4923
4952
|
{
|
|
4924
4953
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && toolbarPosition.x < 120 ? styles_module_default2.buttonWrapperAlignLeft : ""}`,
|
|
4925
4954
|
children: [
|
|
4926
|
-
/* @__PURE__ */ (0,
|
|
4955
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4927
4956
|
"button",
|
|
4928
4957
|
{
|
|
4929
|
-
className:
|
|
4958
|
+
className: styles_module_default2.controlButton,
|
|
4930
4959
|
onClick: (e) => {
|
|
4931
4960
|
e.stopPropagation();
|
|
4932
4961
|
hideTooltipsUntilMouseLeave();
|
|
4933
4962
|
toggleFreeze();
|
|
4934
4963
|
},
|
|
4935
4964
|
"data-active": isFrozen,
|
|
4936
|
-
children: /* @__PURE__ */ (0,
|
|
4965
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconPausePlayAnimated, { size: 24, isPaused: isFrozen })
|
|
4937
4966
|
}
|
|
4938
4967
|
),
|
|
4939
|
-
/* @__PURE__ */ (0,
|
|
4968
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4940
4969
|
isFrozen ? "Resume animations" : "Pause animations",
|
|
4941
|
-
/* @__PURE__ */ (0,
|
|
4970
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "P" })
|
|
4942
4971
|
] })
|
|
4943
4972
|
]
|
|
4944
4973
|
}
|
|
4945
4974
|
),
|
|
4946
|
-
/* @__PURE__ */ (0,
|
|
4947
|
-
/* @__PURE__ */ (0,
|
|
4975
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4976
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4948
4977
|
"button",
|
|
4949
4978
|
{
|
|
4950
|
-
className:
|
|
4979
|
+
className: styles_module_default2.controlButton,
|
|
4951
4980
|
onClick: (e) => {
|
|
4952
4981
|
e.stopPropagation();
|
|
4953
4982
|
hideTooltipsUntilMouseLeave();
|
|
4954
4983
|
setShowMarkers(!showMarkers);
|
|
4955
4984
|
},
|
|
4956
4985
|
disabled: !hasAnnotations,
|
|
4957
|
-
children: /* @__PURE__ */ (0,
|
|
4986
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEyeAnimated, { size: 24, isOpen: showMarkers })
|
|
4958
4987
|
}
|
|
4959
4988
|
),
|
|
4960
|
-
/* @__PURE__ */ (0,
|
|
4989
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4961
4990
|
showMarkers ? "Hide markers" : "Show markers",
|
|
4962
|
-
/* @__PURE__ */ (0,
|
|
4991
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "H" })
|
|
4963
4992
|
] })
|
|
4964
4993
|
] }),
|
|
4965
|
-
/* @__PURE__ */ (0,
|
|
4966
|
-
/* @__PURE__ */ (0,
|
|
4994
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
4995
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
4967
4996
|
"button",
|
|
4968
4997
|
{
|
|
4969
|
-
className: `${styles_module_default2.controlButton} ${
|
|
4998
|
+
className: `${styles_module_default2.controlButton} ${copied ? styles_module_default2.statusShowing : ""}`,
|
|
4970
4999
|
onClick: (e) => {
|
|
4971
5000
|
e.stopPropagation();
|
|
4972
5001
|
hideTooltipsUntilMouseLeave();
|
|
@@ -4974,23 +5003,23 @@ function PageFeedbackToolbarCSS({
|
|
|
4974
5003
|
},
|
|
4975
5004
|
disabled: !hasAnnotations,
|
|
4976
5005
|
"data-active": copied,
|
|
4977
|
-
children: /* @__PURE__ */ (0,
|
|
5006
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCopyAnimated, { size: 24, copied })
|
|
4978
5007
|
}
|
|
4979
5008
|
),
|
|
4980
|
-
/* @__PURE__ */ (0,
|
|
5009
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
4981
5010
|
"Copy feedback",
|
|
4982
|
-
/* @__PURE__ */ (0,
|
|
5011
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "C" })
|
|
4983
5012
|
] })
|
|
4984
5013
|
] }),
|
|
4985
|
-
/* @__PURE__ */ (0,
|
|
5014
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4986
5015
|
"div",
|
|
4987
5016
|
{
|
|
4988
5017
|
className: `${styles_module_default2.buttonWrapper} ${styles_module_default2.sendButtonWrapper} ${isActive && !settings.webhooksEnabled && (isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "")) ? styles_module_default2.sendButtonVisible : ""}`,
|
|
4989
5018
|
children: [
|
|
4990
|
-
/* @__PURE__ */ (0,
|
|
5019
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
4991
5020
|
"button",
|
|
4992
5021
|
{
|
|
4993
|
-
className: `${styles_module_default2.controlButton} ${
|
|
5022
|
+
className: `${styles_module_default2.controlButton} ${sendState === "sent" || sendState === "failed" ? styles_module_default2.statusShowing : ""}`,
|
|
4994
5023
|
onClick: (e) => {
|
|
4995
5024
|
e.stopPropagation();
|
|
4996
5025
|
hideTooltipsUntilMouseLeave();
|
|
@@ -5000,30 +5029,29 @@ function PageFeedbackToolbarCSS({
|
|
|
5000
5029
|
"data-no-hover": sendState === "sent" || sendState === "failed",
|
|
5001
5030
|
tabIndex: isValidUrl(settings.webhookUrl) || isValidUrl(webhookUrl || "") ? 0 : -1,
|
|
5002
5031
|
children: [
|
|
5003
|
-
/* @__PURE__ */ (0,
|
|
5004
|
-
hasAnnotations && sendState === "idle" && /* @__PURE__ */ (0,
|
|
5032
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconSendArrow, { size: 24, state: sendState }),
|
|
5033
|
+
hasAnnotations && sendState === "idle" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5005
5034
|
"span",
|
|
5006
5035
|
{
|
|
5007
|
-
className:
|
|
5008
|
-
style: { backgroundColor: settings.annotationColor },
|
|
5036
|
+
className: styles_module_default2.buttonBadge,
|
|
5009
5037
|
children: annotations.length
|
|
5010
5038
|
}
|
|
5011
5039
|
)
|
|
5012
5040
|
]
|
|
5013
5041
|
}
|
|
5014
5042
|
),
|
|
5015
|
-
/* @__PURE__ */ (0,
|
|
5043
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5016
5044
|
"Send Annotations",
|
|
5017
|
-
/* @__PURE__ */ (0,
|
|
5045
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "S" })
|
|
5018
5046
|
] })
|
|
5019
5047
|
]
|
|
5020
5048
|
}
|
|
5021
5049
|
),
|
|
5022
|
-
/* @__PURE__ */ (0,
|
|
5023
|
-
/* @__PURE__ */ (0,
|
|
5050
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
5051
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5024
5052
|
"button",
|
|
5025
5053
|
{
|
|
5026
|
-
className:
|
|
5054
|
+
className: styles_module_default2.controlButton,
|
|
5027
5055
|
onClick: (e) => {
|
|
5028
5056
|
e.stopPropagation();
|
|
5029
5057
|
hideTooltipsUntilMouseLeave();
|
|
@@ -5031,62 +5059,62 @@ function PageFeedbackToolbarCSS({
|
|
|
5031
5059
|
},
|
|
5032
5060
|
disabled: !hasAnnotations,
|
|
5033
5061
|
"data-danger": true,
|
|
5034
|
-
children: /* @__PURE__ */ (0,
|
|
5062
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconTrashAlt, { size: 24 })
|
|
5035
5063
|
}
|
|
5036
5064
|
),
|
|
5037
|
-
/* @__PURE__ */ (0,
|
|
5065
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5038
5066
|
"Clear all",
|
|
5039
|
-
/* @__PURE__ */ (0,
|
|
5067
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "X" })
|
|
5040
5068
|
] })
|
|
5041
5069
|
] }),
|
|
5042
|
-
/* @__PURE__ */ (0,
|
|
5043
|
-
/* @__PURE__ */ (0,
|
|
5070
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.buttonWrapper, children: [
|
|
5071
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5044
5072
|
"button",
|
|
5045
5073
|
{
|
|
5046
|
-
className:
|
|
5074
|
+
className: styles_module_default2.controlButton,
|
|
5047
5075
|
onClick: (e) => {
|
|
5048
5076
|
e.stopPropagation();
|
|
5049
5077
|
hideTooltipsUntilMouseLeave();
|
|
5050
5078
|
setShowSettings(!showSettings);
|
|
5051
5079
|
},
|
|
5052
|
-
children: /* @__PURE__ */ (0,
|
|
5080
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconGear, { size: 24 })
|
|
5053
5081
|
}
|
|
5054
5082
|
),
|
|
5055
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0,
|
|
5083
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5056
5084
|
"span",
|
|
5057
5085
|
{
|
|
5058
|
-
className: `${styles_module_default2.mcpIndicator} ${
|
|
5086
|
+
className: `${styles_module_default2.mcpIndicator} ${styles_module_default2[connectionStatus]} ${showSettings ? styles_module_default2.hidden : ""}`,
|
|
5059
5087
|
title: connectionStatus === "connected" ? "MCP Connected" : "MCP Connecting..."
|
|
5060
5088
|
}
|
|
5061
5089
|
),
|
|
5062
|
-
/* @__PURE__ */ (0,
|
|
5090
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.buttonTooltip, children: "Settings" })
|
|
5063
5091
|
] }),
|
|
5064
|
-
/* @__PURE__ */ (0,
|
|
5092
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5065
5093
|
"div",
|
|
5066
5094
|
{
|
|
5067
|
-
className:
|
|
5095
|
+
className: styles_module_default2.divider
|
|
5068
5096
|
}
|
|
5069
5097
|
),
|
|
5070
|
-
/* @__PURE__ */ (0,
|
|
5098
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5071
5099
|
"div",
|
|
5072
5100
|
{
|
|
5073
5101
|
className: `${styles_module_default2.buttonWrapper} ${toolbarPosition && typeof window !== "undefined" && toolbarPosition.x > window.innerWidth - 120 ? styles_module_default2.buttonWrapperAlignRight : ""}`,
|
|
5074
5102
|
children: [
|
|
5075
|
-
/* @__PURE__ */ (0,
|
|
5103
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5076
5104
|
"button",
|
|
5077
5105
|
{
|
|
5078
|
-
className:
|
|
5106
|
+
className: styles_module_default2.controlButton,
|
|
5079
5107
|
onClick: (e) => {
|
|
5080
5108
|
e.stopPropagation();
|
|
5081
5109
|
hideTooltipsUntilMouseLeave();
|
|
5082
5110
|
setIsActive(false);
|
|
5083
5111
|
},
|
|
5084
|
-
children: /* @__PURE__ */ (0,
|
|
5112
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmarkLarge, { size: 24 })
|
|
5085
5113
|
}
|
|
5086
5114
|
),
|
|
5087
|
-
/* @__PURE__ */ (0,
|
|
5115
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.buttonTooltip, children: [
|
|
5088
5116
|
"Exit",
|
|
5089
|
-
/* @__PURE__ */ (0,
|
|
5117
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.shortcut, children: "Esc" })
|
|
5090
5118
|
] })
|
|
5091
5119
|
]
|
|
5092
5120
|
}
|
|
@@ -5094,77 +5122,73 @@ function PageFeedbackToolbarCSS({
|
|
|
5094
5122
|
]
|
|
5095
5123
|
}
|
|
5096
5124
|
),
|
|
5097
|
-
/* @__PURE__ */ (0,
|
|
5125
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5098
5126
|
"div",
|
|
5099
5127
|
{
|
|
5100
|
-
className: `${styles_module_default2.settingsPanel} ${
|
|
5128
|
+
className: `${styles_module_default2.settingsPanel} ${showSettingsVisible ? styles_module_default2.enter : styles_module_default2.exit}`,
|
|
5101
5129
|
onClick: (e) => e.stopPropagation(),
|
|
5102
5130
|
style: toolbarPosition && toolbarPosition.y < 230 ? {
|
|
5103
5131
|
bottom: "auto",
|
|
5104
5132
|
top: "calc(100% + 0.5rem)"
|
|
5105
5133
|
} : void 0,
|
|
5106
|
-
children: /* @__PURE__ */ (0,
|
|
5134
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5107
5135
|
"div",
|
|
5108
5136
|
{
|
|
5109
|
-
className:
|
|
5137
|
+
className: styles_module_default2.settingsPanelContainer,
|
|
5110
5138
|
children: [
|
|
5111
|
-
/* @__PURE__ */ (0,
|
|
5139
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5112
5140
|
"div",
|
|
5113
5141
|
{
|
|
5114
5142
|
className: `${styles_module_default2.settingsPage} ${settingsPage === "automations" ? styles_module_default2.slideLeft : ""}`,
|
|
5115
5143
|
children: [
|
|
5116
|
-
/* @__PURE__ */ (0,
|
|
5117
|
-
/* @__PURE__ */ (0,
|
|
5118
|
-
/* @__PURE__ */ (0,
|
|
5144
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsHeader, children: [
|
|
5145
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsBrand, children: [
|
|
5146
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5119
5147
|
"span",
|
|
5120
5148
|
{
|
|
5121
5149
|
className: styles_module_default2.settingsBrandSlash,
|
|
5122
|
-
style: {
|
|
5123
|
-
color: settings.annotationColor,
|
|
5124
|
-
transition: "color 0.2s ease"
|
|
5125
|
-
},
|
|
5126
5150
|
children: "/"
|
|
5127
5151
|
}
|
|
5128
5152
|
),
|
|
5129
5153
|
"agentation"
|
|
5130
5154
|
] }),
|
|
5131
|
-
/* @__PURE__ */ (0,
|
|
5155
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsVersion, children: [
|
|
5132
5156
|
"v",
|
|
5133
|
-
"2.3.
|
|
5157
|
+
"2.3.3"
|
|
5134
5158
|
] }),
|
|
5135
|
-
/* @__PURE__ */ (0,
|
|
5159
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5136
5160
|
"button",
|
|
5137
5161
|
{
|
|
5138
5162
|
className: styles_module_default2.themeToggle,
|
|
5139
|
-
onClick:
|
|
5163
|
+
onClick: toggleTheme,
|
|
5140
5164
|
title: isDarkMode ? "Switch to light mode" : "Switch to dark mode",
|
|
5141
|
-
children: /* @__PURE__ */ (0,
|
|
5165
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.themeIconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5142
5166
|
"span",
|
|
5143
5167
|
{
|
|
5144
5168
|
className: styles_module_default2.themeIcon,
|
|
5145
|
-
children: isDarkMode ? /* @__PURE__ */ (0,
|
|
5169
|
+
children: isDarkMode ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconSun, { size: 20 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconMoon, { size: 20 })
|
|
5146
5170
|
},
|
|
5147
5171
|
isDarkMode ? "sun" : "moon"
|
|
5148
5172
|
) })
|
|
5149
5173
|
}
|
|
5150
5174
|
)
|
|
5151
5175
|
] }),
|
|
5152
|
-
/* @__PURE__ */ (0,
|
|
5153
|
-
/* @__PURE__ */ (0,
|
|
5154
|
-
/* @__PURE__ */ (0,
|
|
5176
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5177
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5178
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5155
5179
|
"div",
|
|
5156
5180
|
{
|
|
5157
|
-
className:
|
|
5181
|
+
className: styles_module_default2.settingsLabel,
|
|
5158
5182
|
children: [
|
|
5159
5183
|
"Output Detail",
|
|
5160
|
-
/* @__PURE__ */ (0,
|
|
5184
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Controls how much detail is included in the copied output" })
|
|
5161
5185
|
]
|
|
5162
5186
|
}
|
|
5163
5187
|
),
|
|
5164
|
-
/* @__PURE__ */ (0,
|
|
5188
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5165
5189
|
"button",
|
|
5166
5190
|
{
|
|
5167
|
-
className:
|
|
5191
|
+
className: styles_module_default2.cycleButton,
|
|
5168
5192
|
onClick: () => {
|
|
5169
5193
|
const currentIndex = OUTPUT_DETAIL_OPTIONS.findIndex(
|
|
5170
5194
|
(opt) => opt.value === settings.outputDetail
|
|
@@ -5176,7 +5200,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5176
5200
|
}));
|
|
5177
5201
|
},
|
|
5178
5202
|
children: [
|
|
5179
|
-
/* @__PURE__ */ (0,
|
|
5203
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5180
5204
|
"span",
|
|
5181
5205
|
{
|
|
5182
5206
|
className: styles_module_default2.cycleButtonText,
|
|
@@ -5186,10 +5210,10 @@ function PageFeedbackToolbarCSS({
|
|
|
5186
5210
|
},
|
|
5187
5211
|
settings.outputDetail
|
|
5188
5212
|
),
|
|
5189
|
-
/* @__PURE__ */ (0,
|
|
5213
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.cycleDots, children: OUTPUT_DETAIL_OPTIONS.map((option, i) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5190
5214
|
"span",
|
|
5191
5215
|
{
|
|
5192
|
-
className: `${styles_module_default2.cycleDot} ${
|
|
5216
|
+
className: `${styles_module_default2.cycleDot} ${settings.outputDetail === option.value ? styles_module_default2.active : ""}`
|
|
5193
5217
|
},
|
|
5194
5218
|
option.value
|
|
5195
5219
|
)) })
|
|
@@ -5197,33 +5221,32 @@ function PageFeedbackToolbarCSS({
|
|
|
5197
5221
|
}
|
|
5198
5222
|
)
|
|
5199
5223
|
] }),
|
|
5200
|
-
/* @__PURE__ */ (0,
|
|
5224
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5201
5225
|
"div",
|
|
5202
5226
|
{
|
|
5203
5227
|
className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop} ${!isDevMode ? styles_module_default2.settingsRowDisabled : ""}`,
|
|
5204
5228
|
children: [
|
|
5205
|
-
/* @__PURE__ */ (0,
|
|
5229
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5206
5230
|
"div",
|
|
5207
5231
|
{
|
|
5208
|
-
className:
|
|
5232
|
+
className: styles_module_default2.settingsLabel,
|
|
5209
5233
|
children: [
|
|
5210
5234
|
"React Components",
|
|
5211
|
-
/* @__PURE__ */ (0,
|
|
5212
|
-
|
|
5235
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5236
|
+
HelpTooltip,
|
|
5213
5237
|
{
|
|
5214
|
-
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5215
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: styles_module_default2.helpIcon, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 }) })
|
|
5238
|
+
content: !isDevMode ? "Disabled \u2014 production builds minify component names, making detection unreliable. Use in development mode." : "Include React component names in annotations"
|
|
5216
5239
|
}
|
|
5217
5240
|
)
|
|
5218
5241
|
]
|
|
5219
5242
|
}
|
|
5220
5243
|
),
|
|
5221
|
-
/* @__PURE__ */ (0,
|
|
5244
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5222
5245
|
"label",
|
|
5223
5246
|
{
|
|
5224
5247
|
className: `${styles_module_default2.toggleSwitch} ${!isDevMode ? styles_module_default2.disabled : ""}`,
|
|
5225
5248
|
children: [
|
|
5226
|
-
/* @__PURE__ */ (0,
|
|
5249
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5227
5250
|
"input",
|
|
5228
5251
|
{
|
|
5229
5252
|
type: "checkbox",
|
|
@@ -5235,26 +5258,26 @@ function PageFeedbackToolbarCSS({
|
|
|
5235
5258
|
}))
|
|
5236
5259
|
}
|
|
5237
5260
|
),
|
|
5238
|
-
/* @__PURE__ */ (0,
|
|
5261
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5239
5262
|
]
|
|
5240
5263
|
}
|
|
5241
5264
|
)
|
|
5242
5265
|
]
|
|
5243
5266
|
}
|
|
5244
5267
|
),
|
|
5245
|
-
/* @__PURE__ */ (0,
|
|
5246
|
-
/* @__PURE__ */ (0,
|
|
5268
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: `${styles_module_default2.settingsRow} ${styles_module_default2.settingsRowMarginTop}`, children: [
|
|
5269
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5247
5270
|
"div",
|
|
5248
5271
|
{
|
|
5249
|
-
className:
|
|
5272
|
+
className: styles_module_default2.settingsLabel,
|
|
5250
5273
|
children: [
|
|
5251
5274
|
"Hide Until Restart",
|
|
5252
|
-
/* @__PURE__ */ (0,
|
|
5275
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Hides the toolbar until you open a new tab" })
|
|
5253
5276
|
]
|
|
5254
5277
|
}
|
|
5255
5278
|
),
|
|
5256
|
-
/* @__PURE__ */ (0,
|
|
5257
|
-
/* @__PURE__ */ (0,
|
|
5279
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { className: styles_module_default2.toggleSwitch, children: [
|
|
5280
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5258
5281
|
"input",
|
|
5259
5282
|
{
|
|
5260
5283
|
type: "checkbox",
|
|
@@ -5266,45 +5289,42 @@ function PageFeedbackToolbarCSS({
|
|
|
5266
5289
|
}
|
|
5267
5290
|
}
|
|
5268
5291
|
),
|
|
5269
|
-
/* @__PURE__ */ (0,
|
|
5292
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5270
5293
|
] })
|
|
5271
5294
|
] })
|
|
5272
5295
|
] }),
|
|
5273
|
-
/* @__PURE__ */ (0,
|
|
5274
|
-
/* @__PURE__ */ (0,
|
|
5296
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5297
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5275
5298
|
"div",
|
|
5276
5299
|
{
|
|
5277
|
-
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}
|
|
5278
|
-
children: "Marker
|
|
5300
|
+
className: `${styles_module_default2.settingsLabel} ${styles_module_default2.settingsLabelMarker}`,
|
|
5301
|
+
children: "Marker Color"
|
|
5279
5302
|
}
|
|
5280
5303
|
),
|
|
5281
|
-
/* @__PURE__ */ (0,
|
|
5304
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.colorOptions, children: COLOR_OPTIONS.map((color) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5282
5305
|
"div",
|
|
5283
5306
|
{
|
|
5284
5307
|
role: "button",
|
|
5285
|
-
onClick: () => setSettings((s) => ({
|
|
5286
|
-
...s,
|
|
5287
|
-
annotationColor: color.value
|
|
5288
|
-
})),
|
|
5308
|
+
onClick: () => setSettings((s) => ({ ...s, annotationColorId: color.id })),
|
|
5289
5309
|
style: {
|
|
5290
|
-
|
|
5310
|
+
"--swatch": color.srgb,
|
|
5311
|
+
"--swatch-p3": color.p3
|
|
5291
5312
|
},
|
|
5292
|
-
className: `${styles_module_default2.colorOptionRing} ${settings.
|
|
5293
|
-
children: /* @__PURE__ */ (0,
|
|
5313
|
+
className: `${styles_module_default2.colorOptionRing} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5314
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5294
5315
|
"div",
|
|
5295
5316
|
{
|
|
5296
|
-
className: `${styles_module_default2.colorOption} ${settings.
|
|
5297
|
-
style: { backgroundColor: color.value },
|
|
5317
|
+
className: `${styles_module_default2.colorOption} ${settings.annotationColorId === color.id ? styles_module_default2.selected : ""}`,
|
|
5298
5318
|
title: color.label
|
|
5299
5319
|
}
|
|
5300
5320
|
)
|
|
5301
5321
|
},
|
|
5302
|
-
color.
|
|
5322
|
+
color.id
|
|
5303
5323
|
)) })
|
|
5304
5324
|
] }),
|
|
5305
|
-
/* @__PURE__ */ (0,
|
|
5306
|
-
/* @__PURE__ */ (0,
|
|
5307
|
-
/* @__PURE__ */ (0,
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { className: styles_module_default2.settingsToggle, children: [
|
|
5327
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5308
5328
|
"input",
|
|
5309
5329
|
{
|
|
5310
5330
|
type: "checkbox",
|
|
@@ -5316,37 +5336,31 @@ function PageFeedbackToolbarCSS({
|
|
|
5316
5336
|
}))
|
|
5317
5337
|
}
|
|
5318
5338
|
),
|
|
5319
|
-
/* @__PURE__ */ (0,
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5320
5340
|
"label",
|
|
5321
5341
|
{
|
|
5322
5342
|
className: `${styles_module_default2.customCheckbox} ${settings.autoClearAfterCopy ? styles_module_default2.checked : ""}`,
|
|
5323
5343
|
htmlFor: "autoClearAfterCopy",
|
|
5324
|
-
children: settings.autoClearAfterCopy && /* @__PURE__ */ (0,
|
|
5344
|
+
children: settings.autoClearAfterCopy && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCheckSmallAnimated, { size: 14 })
|
|
5325
5345
|
}
|
|
5326
5346
|
),
|
|
5327
|
-
/* @__PURE__ */ (0,
|
|
5347
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5328
5348
|
"span",
|
|
5329
5349
|
{
|
|
5330
|
-
className:
|
|
5350
|
+
className: styles_module_default2.toggleLabel,
|
|
5331
5351
|
children: [
|
|
5332
5352
|
"Clear on copy/send",
|
|
5333
|
-
/* @__PURE__ */ (0,
|
|
5334
|
-
"span",
|
|
5335
|
-
{
|
|
5336
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudge2}`,
|
|
5337
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5338
|
-
}
|
|
5339
|
-
) })
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Automatically clear annotations after copying" })
|
|
5340
5354
|
]
|
|
5341
5355
|
}
|
|
5342
5356
|
)
|
|
5343
5357
|
] }),
|
|
5344
|
-
/* @__PURE__ */ (0,
|
|
5358
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5345
5359
|
"label",
|
|
5346
5360
|
{
|
|
5347
5361
|
className: `${styles_module_default2.settingsToggle} ${styles_module_default2.settingsToggleMarginBottom}`,
|
|
5348
5362
|
children: [
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5350
5364
|
"input",
|
|
5351
5365
|
{
|
|
5352
5366
|
type: "checkbox",
|
|
@@ -5358,18 +5372,18 @@ function PageFeedbackToolbarCSS({
|
|
|
5358
5372
|
}))
|
|
5359
5373
|
}
|
|
5360
5374
|
),
|
|
5361
|
-
/* @__PURE__ */ (0,
|
|
5375
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5362
5376
|
"label",
|
|
5363
5377
|
{
|
|
5364
5378
|
className: `${styles_module_default2.customCheckbox} ${settings.blockInteractions ? styles_module_default2.checked : ""}`,
|
|
5365
5379
|
htmlFor: "blockInteractions",
|
|
5366
|
-
children: settings.blockInteractions && /* @__PURE__ */ (0,
|
|
5380
|
+
children: settings.blockInteractions && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconCheckSmallAnimated, { size: 14 })
|
|
5367
5381
|
}
|
|
5368
5382
|
),
|
|
5369
|
-
/* @__PURE__ */ (0,
|
|
5383
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5370
5384
|
"span",
|
|
5371
5385
|
{
|
|
5372
|
-
className:
|
|
5386
|
+
className: styles_module_default2.toggleLabel,
|
|
5373
5387
|
children: "Block page interactions"
|
|
5374
5388
|
}
|
|
5375
5389
|
)
|
|
@@ -5377,25 +5391,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5377
5391
|
}
|
|
5378
5392
|
)
|
|
5379
5393
|
] }),
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5394
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5381
5395
|
"div",
|
|
5382
5396
|
{
|
|
5383
5397
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionExtraPadding}`,
|
|
5384
|
-
children: /* @__PURE__ */ (0,
|
|
5398
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5385
5399
|
"button",
|
|
5386
5400
|
{
|
|
5387
|
-
className:
|
|
5401
|
+
className: styles_module_default2.settingsNavLink,
|
|
5388
5402
|
onClick: () => setSettingsPage("automations"),
|
|
5389
5403
|
children: [
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5391
|
-
/* @__PURE__ */ (0,
|
|
5392
|
-
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0,
|
|
5404
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: "Manage MCP & Webhooks" }),
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.settingsNavLinkRight, children: [
|
|
5406
|
+
endpoint && connectionStatus !== "disconnected" && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5393
5407
|
"span",
|
|
5394
5408
|
{
|
|
5395
5409
|
className: `${styles_module_default2.mcpNavIndicator} ${styles_module_default2[connectionStatus]}`
|
|
5396
5410
|
}
|
|
5397
5411
|
),
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7.5 12.5L12 8L7.5 3.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
5399
5413
|
] })
|
|
5400
5414
|
]
|
|
5401
5415
|
}
|
|
@@ -5405,41 +5419,35 @@ function PageFeedbackToolbarCSS({
|
|
|
5405
5419
|
]
|
|
5406
5420
|
}
|
|
5407
5421
|
),
|
|
5408
|
-
/* @__PURE__ */ (0,
|
|
5422
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5409
5423
|
"div",
|
|
5410
5424
|
{
|
|
5411
5425
|
className: `${styles_module_default2.settingsPage} ${styles_module_default2.automationsPage} ${settingsPage === "automations" ? styles_module_default2.slideIn : ""}`,
|
|
5412
5426
|
children: [
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5427
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5414
5428
|
"button",
|
|
5415
5429
|
{
|
|
5416
|
-
className:
|
|
5430
|
+
className: styles_module_default2.settingsBackButton,
|
|
5417
5431
|
onClick: () => setSettingsPage("main"),
|
|
5418
5432
|
children: [
|
|
5419
|
-
/* @__PURE__ */ (0,
|
|
5420
|
-
/* @__PURE__ */ (0,
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconChevronLeft, { size: 16 }),
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: "Manage MCP & Webhooks" })
|
|
5421
5435
|
]
|
|
5422
5436
|
}
|
|
5423
5437
|
),
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsSection, children: [
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5427
5441
|
"span",
|
|
5428
5442
|
{
|
|
5429
|
-
className:
|
|
5443
|
+
className: styles_module_default2.automationHeader,
|
|
5430
5444
|
children: [
|
|
5431
5445
|
"MCP Connection",
|
|
5432
|
-
/* @__PURE__ */ (0,
|
|
5433
|
-
"span",
|
|
5434
|
-
{
|
|
5435
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNudgeDown}`,
|
|
5436
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5437
|
-
}
|
|
5438
|
-
) })
|
|
5446
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Connect via Model Context Protocol to let AI agents like Claude Code receive annotations in real-time." })
|
|
5439
5447
|
]
|
|
5440
5448
|
}
|
|
5441
5449
|
),
|
|
5442
|
-
endpoint && /* @__PURE__ */ (0,
|
|
5450
|
+
endpoint && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5443
5451
|
"div",
|
|
5444
5452
|
{
|
|
5445
5453
|
className: `${styles_module_default2.mcpStatusDot} ${styles_module_default2[connectionStatus]}`,
|
|
@@ -5447,21 +5455,21 @@ function PageFeedbackToolbarCSS({
|
|
|
5447
5455
|
}
|
|
5448
5456
|
)
|
|
5449
5457
|
] }),
|
|
5450
|
-
/* @__PURE__ */ (0,
|
|
5458
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5451
5459
|
"p",
|
|
5452
5460
|
{
|
|
5453
|
-
className:
|
|
5461
|
+
className: styles_module_default2.automationDescription,
|
|
5454
5462
|
style: { paddingBottom: 6 },
|
|
5455
5463
|
children: [
|
|
5456
5464
|
"MCP connection allows agents to receive and act on annotations.",
|
|
5457
5465
|
" ",
|
|
5458
|
-
/* @__PURE__ */ (0,
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5459
5467
|
"a",
|
|
5460
5468
|
{
|
|
5461
5469
|
href: "https://agentation.dev/mcp",
|
|
5462
5470
|
target: "_blank",
|
|
5463
5471
|
rel: "noopener noreferrer",
|
|
5464
|
-
className:
|
|
5472
|
+
className: styles_module_default2.learnMoreLink,
|
|
5465
5473
|
children: "Learn more"
|
|
5466
5474
|
}
|
|
5467
5475
|
)
|
|
@@ -5469,42 +5477,36 @@ function PageFeedbackToolbarCSS({
|
|
|
5469
5477
|
}
|
|
5470
5478
|
)
|
|
5471
5479
|
] }),
|
|
5472
|
-
/* @__PURE__ */ (0,
|
|
5480
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5473
5481
|
"div",
|
|
5474
5482
|
{
|
|
5475
5483
|
className: `${styles_module_default2.settingsSection} ${styles_module_default2.settingsSectionGrow}`,
|
|
5476
5484
|
children: [
|
|
5477
|
-
/* @__PURE__ */ (0,
|
|
5478
|
-
/* @__PURE__ */ (0,
|
|
5485
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.settingsRow, children: [
|
|
5486
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5479
5487
|
"span",
|
|
5480
5488
|
{
|
|
5481
|
-
className:
|
|
5489
|
+
className: styles_module_default2.automationHeader,
|
|
5482
5490
|
children: [
|
|
5483
5491
|
"Webhooks",
|
|
5484
|
-
/* @__PURE__ */ (0,
|
|
5485
|
-
"span",
|
|
5486
|
-
{
|
|
5487
|
-
className: `${styles_module_default2.helpIcon} ${styles_module_default2.helpIconNoNudge}`,
|
|
5488
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconHelp, { size: 20 })
|
|
5489
|
-
}
|
|
5490
|
-
) })
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(HelpTooltip, { content: "Send annotation data to any URL endpoint when annotations change. Useful for custom integrations." })
|
|
5491
5493
|
]
|
|
5492
5494
|
}
|
|
5493
5495
|
),
|
|
5494
|
-
/* @__PURE__ */ (0,
|
|
5495
|
-
/* @__PURE__ */ (0,
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.autoSendRow, children: [
|
|
5497
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5496
5498
|
"span",
|
|
5497
5499
|
{
|
|
5498
|
-
className: `${styles_module_default2.autoSendLabel} ${
|
|
5500
|
+
className: `${styles_module_default2.autoSendLabel} ${settings.webhooksEnabled ? styles_module_default2.active : ""}`,
|
|
5499
5501
|
children: "Auto-Send"
|
|
5500
5502
|
}
|
|
5501
5503
|
),
|
|
5502
|
-
/* @__PURE__ */ (0,
|
|
5504
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5503
5505
|
"label",
|
|
5504
5506
|
{
|
|
5505
5507
|
className: `${styles_module_default2.toggleSwitch} ${!settings.webhookUrl ? styles_module_default2.disabled : ""}`,
|
|
5506
5508
|
children: [
|
|
5507
|
-
/* @__PURE__ */ (0,
|
|
5509
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5508
5510
|
"input",
|
|
5509
5511
|
{
|
|
5510
5512
|
type: "checkbox",
|
|
@@ -5516,28 +5518,25 @@ function PageFeedbackToolbarCSS({
|
|
|
5516
5518
|
}))
|
|
5517
5519
|
}
|
|
5518
5520
|
),
|
|
5519
|
-
/* @__PURE__ */ (0,
|
|
5521
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.toggleSlider })
|
|
5520
5522
|
]
|
|
5521
5523
|
}
|
|
5522
5524
|
)
|
|
5523
5525
|
] })
|
|
5524
5526
|
] }),
|
|
5525
|
-
/* @__PURE__ */ (0,
|
|
5527
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5526
5528
|
"p",
|
|
5527
5529
|
{
|
|
5528
|
-
className:
|
|
5530
|
+
className: styles_module_default2.automationDescription,
|
|
5529
5531
|
children: "The webhook URL will receive live annotation changes and annotation data."
|
|
5530
5532
|
}
|
|
5531
5533
|
),
|
|
5532
|
-
/* @__PURE__ */ (0,
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5533
5535
|
"textarea",
|
|
5534
5536
|
{
|
|
5535
|
-
className:
|
|
5537
|
+
className: styles_module_default2.webhookUrlInput,
|
|
5536
5538
|
placeholder: "Webhook URL",
|
|
5537
5539
|
value: settings.webhookUrl,
|
|
5538
|
-
style: {
|
|
5539
|
-
"--marker-color": settings.annotationColor
|
|
5540
|
-
},
|
|
5541
5540
|
onKeyDown: (e) => e.stopPropagation(),
|
|
5542
5541
|
onChange: (e) => setSettings((s) => ({
|
|
5543
5542
|
...s,
|
|
@@ -5561,20 +5560,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5561
5560
|
)
|
|
5562
5561
|
}
|
|
5563
5562
|
),
|
|
5564
|
-
/* @__PURE__ */ (0,
|
|
5563
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.markersLayer, "data-feedback-toolbar": true, children: [
|
|
5565
5564
|
markersVisible && visibleAnnotations.filter((a) => !a.isFixed).map((annotation, index) => {
|
|
5566
5565
|
const isHovered = !markersExiting && hoveredMarkerId === annotation.id;
|
|
5567
5566
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5568
5567
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5569
5568
|
const isMulti = annotation.isMultiSelect;
|
|
5570
|
-
const markerColor = isMulti ? "
|
|
5569
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5571
5570
|
const globalIndex = annotations.findIndex(
|
|
5572
5571
|
(a) => a.id === annotation.id
|
|
5573
5572
|
);
|
|
5574
5573
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5575
5574
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5576
5575
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5577
|
-
return /* @__PURE__ */ (0,
|
|
5576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5578
5577
|
"div",
|
|
5579
5578
|
{
|
|
5580
5579
|
className: `${styles_module_default2.marker} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5605,24 +5604,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5605
5604
|
}
|
|
5606
5605
|
},
|
|
5607
5606
|
children: [
|
|
5608
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0,
|
|
5607
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEdit, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5609
5608
|
"span",
|
|
5610
5609
|
{
|
|
5611
5610
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5612
5611
|
children: globalIndex + 1
|
|
5613
5612
|
}
|
|
5614
5613
|
),
|
|
5615
|
-
isHovered && !editingAnnotation && /* @__PURE__ */ (0,
|
|
5614
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5616
5615
|
"div",
|
|
5617
5616
|
{
|
|
5618
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5617
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5619
5618
|
style: getTooltipPosition(annotation),
|
|
5620
5619
|
children: [
|
|
5621
|
-
/* @__PURE__ */ (0,
|
|
5620
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.markerQuote, children: [
|
|
5622
5621
|
annotation.element,
|
|
5623
5622
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5624
5623
|
] }),
|
|
5625
|
-
/* @__PURE__ */ (0,
|
|
5624
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5626
5625
|
]
|
|
5627
5626
|
}
|
|
5628
5627
|
)
|
|
@@ -5633,7 +5632,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5633
5632
|
}),
|
|
5634
5633
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => !a.isFixed).map((annotation) => {
|
|
5635
5634
|
const isMulti = annotation.isMultiSelect;
|
|
5636
|
-
return /* @__PURE__ */ (0,
|
|
5635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5637
5636
|
"div",
|
|
5638
5637
|
{
|
|
5639
5638
|
className: `${styles_module_default2.marker} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5642,13 +5641,13 @@ function PageFeedbackToolbarCSS({
|
|
|
5642
5641
|
left: `${annotation.x}%`,
|
|
5643
5642
|
top: annotation.y
|
|
5644
5643
|
},
|
|
5645
|
-
children: /* @__PURE__ */ (0,
|
|
5644
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 12 : 10 })
|
|
5646
5645
|
},
|
|
5647
5646
|
annotation.id
|
|
5648
5647
|
);
|
|
5649
5648
|
})
|
|
5650
5649
|
] }),
|
|
5651
|
-
/* @__PURE__ */ (0,
|
|
5650
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: styles_module_default2.fixedMarkersLayer, "data-feedback-toolbar": true, children: [
|
|
5652
5651
|
markersVisible && visibleAnnotations.filter((a) => a.isFixed).map((annotation, index) => {
|
|
5653
5652
|
const fixedAnnotations = visibleAnnotations.filter(
|
|
5654
5653
|
(a) => a.isFixed
|
|
@@ -5657,14 +5656,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5657
5656
|
const isDeleting = deletingMarkerId === annotation.id;
|
|
5658
5657
|
const showDeleteState = (isHovered || isDeleting) && !editingAnnotation;
|
|
5659
5658
|
const isMulti = annotation.isMultiSelect;
|
|
5660
|
-
const markerColor = isMulti ? "
|
|
5659
|
+
const markerColor = isMulti ? "var(--agentation-color-green)" : "var(--agentation-color-accent)";
|
|
5661
5660
|
const globalIndex = annotations.findIndex(
|
|
5662
5661
|
(a) => a.id === annotation.id
|
|
5663
5662
|
);
|
|
5664
5663
|
const needsEnterAnimation = !animatedMarkers.has(annotation.id);
|
|
5665
5664
|
const animClass = markersExiting ? styles_module_default2.exit : isClearing ? styles_module_default2.clearing : needsEnterAnimation ? styles_module_default2.enter : "";
|
|
5666
5665
|
const showDeleteHover = showDeleteState && settings.markerClickBehavior === "delete";
|
|
5667
|
-
return /* @__PURE__ */ (0,
|
|
5666
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5668
5667
|
"div",
|
|
5669
5668
|
{
|
|
5670
5669
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${isMulti ? styles_module_default2.multiSelect : ""} ${animClass} ${showDeleteHover ? styles_module_default2.hovered : ""}`,
|
|
@@ -5695,24 +5694,24 @@ function PageFeedbackToolbarCSS({
|
|
|
5695
5694
|
}
|
|
5696
5695
|
},
|
|
5697
5696
|
children: [
|
|
5698
|
-
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0,
|
|
5697
|
+
showDeleteState ? showDeleteHover ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconXmark, { size: isMulti ? 18 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconEdit, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5699
5698
|
"span",
|
|
5700
5699
|
{
|
|
5701
5700
|
className: renumberFrom !== null && globalIndex >= renumberFrom ? styles_module_default2.renumber : void 0,
|
|
5702
5701
|
children: globalIndex + 1
|
|
5703
5702
|
}
|
|
5704
5703
|
),
|
|
5705
|
-
isHovered && !editingAnnotation && /* @__PURE__ */ (0,
|
|
5704
|
+
isHovered && !editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5706
5705
|
"div",
|
|
5707
5706
|
{
|
|
5708
|
-
className: `${styles_module_default2.markerTooltip} ${
|
|
5707
|
+
className: `${styles_module_default2.markerTooltip} ${styles_module_default2.enter}`,
|
|
5709
5708
|
style: getTooltipPosition(annotation),
|
|
5710
5709
|
children: [
|
|
5711
|
-
/* @__PURE__ */ (0,
|
|
5710
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: styles_module_default2.markerQuote, children: [
|
|
5712
5711
|
annotation.element,
|
|
5713
5712
|
annotation.selectedText && ` "${annotation.selectedText.slice(0, 30)}${annotation.selectedText.length > 30 ? "..." : ""}"`
|
|
5714
5713
|
] }),
|
|
5715
|
-
/* @__PURE__ */ (0,
|
|
5714
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: styles_module_default2.markerNote, children: annotation.comment })
|
|
5716
5715
|
]
|
|
5717
5716
|
}
|
|
5718
5717
|
)
|
|
@@ -5723,7 +5722,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5723
5722
|
}),
|
|
5724
5723
|
markersVisible && !markersExiting && exitingAnnotationsList.filter((a) => a.isFixed).map((annotation) => {
|
|
5725
5724
|
const isMulti = annotation.isMultiSelect;
|
|
5726
|
-
return /* @__PURE__ */ (0,
|
|
5725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5727
5726
|
"div",
|
|
5728
5727
|
{
|
|
5729
5728
|
className: `${styles_module_default2.marker} ${styles_module_default2.fixed} ${styles_module_default2.hovered} ${isMulti ? styles_module_default2.multiSelect : ""} ${styles_module_default2.exit}`,
|
|
@@ -5732,20 +5731,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5732
5731
|
left: `${annotation.x}%`,
|
|
5733
5732
|
top: annotation.y
|
|
5734
5733
|
},
|
|
5735
|
-
children: /* @__PURE__ */ (0,
|
|
5734
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconClose, { size: isMulti ? 12 : 10 })
|
|
5736
5735
|
},
|
|
5737
5736
|
annotation.id
|
|
5738
5737
|
);
|
|
5739
5738
|
})
|
|
5740
5739
|
] }),
|
|
5741
|
-
isActive && /* @__PURE__ */ (0,
|
|
5740
|
+
isActive && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5742
5741
|
"div",
|
|
5743
5742
|
{
|
|
5744
5743
|
className: styles_module_default2.overlay,
|
|
5745
5744
|
"data-feedback-toolbar": true,
|
|
5746
5745
|
style: pendingAnnotation || editingAnnotation ? { zIndex: 99999 } : void 0,
|
|
5747
5746
|
children: [
|
|
5748
|
-
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0,
|
|
5747
|
+
hoverInfo?.rect && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5749
5748
|
"div",
|
|
5750
5749
|
{
|
|
5751
5750
|
className: `${styles_module_default2.hoverHighlight} ${styles_module_default2.enter}`,
|
|
@@ -5754,15 +5753,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5754
5753
|
top: hoverInfo.rect.top,
|
|
5755
5754
|
width: hoverInfo.rect.width,
|
|
5756
5755
|
height: hoverInfo.rect.height,
|
|
5757
|
-
borderColor:
|
|
5758
|
-
backgroundColor:
|
|
5756
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 50%, transparent)",
|
|
5757
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 4%, transparent)"
|
|
5759
5758
|
}
|
|
5760
5759
|
}
|
|
5761
5760
|
),
|
|
5762
5761
|
pendingMultiSelectElements.filter((item) => document.contains(item.element)).map((item, index) => {
|
|
5763
5762
|
const rect = item.element.getBoundingClientRect();
|
|
5764
5763
|
const isMulti = pendingMultiSelectElements.length > 1;
|
|
5765
|
-
return /* @__PURE__ */ (0,
|
|
5764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5766
5765
|
"div",
|
|
5767
5766
|
{
|
|
5768
5767
|
className: isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline,
|
|
@@ -5773,8 +5772,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5773
5772
|
width: rect.width,
|
|
5774
5773
|
height: rect.height,
|
|
5775
5774
|
...isMulti ? {} : {
|
|
5776
|
-
borderColor:
|
|
5777
|
-
backgroundColor:
|
|
5775
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5776
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5778
5777
|
}
|
|
5779
5778
|
}
|
|
5780
5779
|
},
|
|
@@ -5790,7 +5789,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5790
5789
|
if (hoveredTargetElements.length > 0) {
|
|
5791
5790
|
return hoveredTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5792
5791
|
const rect2 = el.getBoundingClientRect();
|
|
5793
|
-
return /* @__PURE__ */ (0,
|
|
5792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5794
5793
|
"div",
|
|
5795
5794
|
{
|
|
5796
5795
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5806,7 +5805,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5806
5805
|
});
|
|
5807
5806
|
}
|
|
5808
5807
|
return hoveredAnnotation.elementBoundingBoxes.map(
|
|
5809
|
-
(bb2, index) => /* @__PURE__ */ (0,
|
|
5808
|
+
(bb2, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5810
5809
|
"div",
|
|
5811
5810
|
{
|
|
5812
5811
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5829,7 +5828,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5829
5828
|
height: hoveredAnnotation.boundingBox.height
|
|
5830
5829
|
};
|
|
5831
5830
|
const isMulti = hoveredAnnotation.isMultiSelect;
|
|
5832
|
-
return /* @__PURE__ */ (0,
|
|
5831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5833
5832
|
"div",
|
|
5834
5833
|
{
|
|
5835
5834
|
className: `${isMulti ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5839,14 +5838,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5839
5838
|
width: bb.width,
|
|
5840
5839
|
height: bb.height,
|
|
5841
5840
|
...isMulti ? {} : {
|
|
5842
|
-
borderColor:
|
|
5843
|
-
backgroundColor:
|
|
5841
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5842
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5844
5843
|
}
|
|
5845
5844
|
}
|
|
5846
5845
|
}
|
|
5847
5846
|
);
|
|
5848
5847
|
})(),
|
|
5849
|
-
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0,
|
|
5848
|
+
hoverInfo && !pendingAnnotation && !isScrolling && !isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
5850
5849
|
"div",
|
|
5851
5850
|
{
|
|
5852
5851
|
className: `${styles_module_default2.hoverTooltip} ${styles_module_default2.enter}`,
|
|
@@ -5861,17 +5860,17 @@ function PageFeedbackToolbarCSS({
|
|
|
5861
5860
|
)
|
|
5862
5861
|
},
|
|
5863
5862
|
children: [
|
|
5864
|
-
hoverInfo.reactComponents && /* @__PURE__ */ (0,
|
|
5865
|
-
/* @__PURE__ */ (0,
|
|
5863
|
+
hoverInfo.reactComponents && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.hoverReactPath, children: hoverInfo.reactComponents }),
|
|
5864
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: styles_module_default2.hoverElementName, children: hoverInfo.elementName })
|
|
5866
5865
|
]
|
|
5867
5866
|
}
|
|
5868
5867
|
),
|
|
5869
|
-
pendingAnnotation && /* @__PURE__ */ (0,
|
|
5868
|
+
pendingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5870
5869
|
pendingAnnotation.multiSelectElements?.length ? (
|
|
5871
5870
|
// Cmd+shift+click multi-select: show individual boxes with live positions
|
|
5872
5871
|
pendingAnnotation.multiSelectElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5873
5872
|
const rect = el.getBoundingClientRect();
|
|
5874
|
-
return /* @__PURE__ */ (0,
|
|
5873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5875
5874
|
"div",
|
|
5876
5875
|
{
|
|
5877
5876
|
className: `${styles_module_default2.multiSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5891,7 +5890,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5891
5890
|
// Single-click: use live getBoundingClientRect for consistent positioning
|
|
5892
5891
|
(() => {
|
|
5893
5892
|
const rect = pendingAnnotation.targetElement.getBoundingClientRect();
|
|
5894
|
-
return /* @__PURE__ */ (0,
|
|
5893
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5895
5894
|
"div",
|
|
5896
5895
|
{
|
|
5897
5896
|
className: `${styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5900,15 +5899,15 @@ function PageFeedbackToolbarCSS({
|
|
|
5900
5899
|
top: rect.top,
|
|
5901
5900
|
width: rect.width,
|
|
5902
5901
|
height: rect.height,
|
|
5903
|
-
borderColor:
|
|
5904
|
-
backgroundColor:
|
|
5902
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5903
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5905
5904
|
}
|
|
5906
5905
|
}
|
|
5907
5906
|
);
|
|
5908
5907
|
})()
|
|
5909
5908
|
) : (
|
|
5910
5909
|
// Drag selection or fallback: use stored boundingBox
|
|
5911
|
-
pendingAnnotation.boundingBox && /* @__PURE__ */ (0,
|
|
5910
|
+
pendingAnnotation.boundingBox && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5912
5911
|
"div",
|
|
5913
5912
|
{
|
|
5914
5913
|
className: `${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
@@ -5918,8 +5917,8 @@ function PageFeedbackToolbarCSS({
|
|
|
5918
5917
|
width: pendingAnnotation.boundingBox.width,
|
|
5919
5918
|
height: pendingAnnotation.boundingBox.height,
|
|
5920
5919
|
...pendingAnnotation.isMultiSelect ? {} : {
|
|
5921
|
-
borderColor:
|
|
5922
|
-
backgroundColor:
|
|
5920
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
5921
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
5923
5922
|
}
|
|
5924
5923
|
}
|
|
5925
5924
|
}
|
|
@@ -5929,20 +5928,20 @@ function PageFeedbackToolbarCSS({
|
|
|
5929
5928
|
(() => {
|
|
5930
5929
|
const markerX = pendingAnnotation.x;
|
|
5931
5930
|
const markerY = pendingAnnotation.isFixed ? pendingAnnotation.y : pendingAnnotation.y - scrollY;
|
|
5932
|
-
return /* @__PURE__ */ (0,
|
|
5933
|
-
/* @__PURE__ */ (0,
|
|
5931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5932
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5934
5933
|
"div",
|
|
5935
5934
|
{
|
|
5936
5935
|
className: `${styles_module_default2.marker} ${styles_module_default2.pending} ${pendingAnnotation.isMultiSelect ? styles_module_default2.multiSelect : ""} ${pendingExiting ? styles_module_default2.exit : styles_module_default2.enter}`,
|
|
5937
5936
|
style: {
|
|
5938
5937
|
left: `${markerX}%`,
|
|
5939
5938
|
top: markerY,
|
|
5940
|
-
backgroundColor: pendingAnnotation.isMultiSelect ? "
|
|
5939
|
+
backgroundColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)"
|
|
5941
5940
|
},
|
|
5942
|
-
children: /* @__PURE__ */ (0,
|
|
5941
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconPlus, { size: 12 })
|
|
5943
5942
|
}
|
|
5944
5943
|
),
|
|
5945
|
-
/* @__PURE__ */ (0,
|
|
5944
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5946
5945
|
AnnotationPopupCSS,
|
|
5947
5946
|
{
|
|
5948
5947
|
ref: popupRef,
|
|
@@ -5954,7 +5953,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5954
5953
|
onCancel: cancelAnnotation,
|
|
5955
5954
|
isExiting: pendingExiting,
|
|
5956
5955
|
lightMode: !isDarkMode,
|
|
5957
|
-
accentColor: pendingAnnotation.isMultiSelect ? "
|
|
5956
|
+
accentColor: pendingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
5958
5957
|
style: {
|
|
5959
5958
|
// Popup is 280px wide, centered with translateX(-50%), so 140px each side
|
|
5960
5959
|
// Clamp so popup stays 20px from viewport edges
|
|
@@ -5973,14 +5972,14 @@ function PageFeedbackToolbarCSS({
|
|
|
5973
5972
|
] });
|
|
5974
5973
|
})()
|
|
5975
5974
|
] }),
|
|
5976
|
-
editingAnnotation && /* @__PURE__ */ (0,
|
|
5975
|
+
editingAnnotation && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
5977
5976
|
editingAnnotation.elementBoundingBoxes?.length ? (
|
|
5978
5977
|
// Cmd+shift+click: show individual element boxes (use live rects when available)
|
|
5979
5978
|
(() => {
|
|
5980
5979
|
if (editingTargetElements.length > 0) {
|
|
5981
5980
|
return editingTargetElements.filter((el) => document.contains(el)).map((el, index) => {
|
|
5982
5981
|
const rect = el.getBoundingClientRect();
|
|
5983
|
-
return /* @__PURE__ */ (0,
|
|
5982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
5984
5983
|
"div",
|
|
5985
5984
|
{
|
|
5986
5985
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -5996,7 +5995,7 @@ function PageFeedbackToolbarCSS({
|
|
|
5996
5995
|
});
|
|
5997
5996
|
}
|
|
5998
5997
|
return editingAnnotation.elementBoundingBoxes.map(
|
|
5999
|
-
(bb, index) => /* @__PURE__ */ (0,
|
|
5998
|
+
(bb, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6000
5999
|
"div",
|
|
6001
6000
|
{
|
|
6002
6001
|
className: `${styles_module_default2.multiSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -6022,7 +6021,7 @@ function PageFeedbackToolbarCSS({
|
|
|
6022
6021
|
height: editingAnnotation.boundingBox.height
|
|
6023
6022
|
} : null;
|
|
6024
6023
|
if (!bb) return null;
|
|
6025
|
-
return /* @__PURE__ */ (0,
|
|
6024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6026
6025
|
"div",
|
|
6027
6026
|
{
|
|
6028
6027
|
className: `${editingAnnotation.isMultiSelect ? styles_module_default2.multiSelectOutline : styles_module_default2.singleSelectOutline} ${styles_module_default2.enter}`,
|
|
@@ -6032,15 +6031,15 @@ function PageFeedbackToolbarCSS({
|
|
|
6032
6031
|
width: bb.width,
|
|
6033
6032
|
height: bb.height,
|
|
6034
6033
|
...editingAnnotation.isMultiSelect ? {} : {
|
|
6035
|
-
borderColor:
|
|
6036
|
-
backgroundColor:
|
|
6034
|
+
borderColor: "color-mix(in srgb, var(--agentation-color-accent) 60%, transparent)",
|
|
6035
|
+
backgroundColor: "color-mix(in srgb, var(--agentation-color-accent) 5%, transparent)"
|
|
6037
6036
|
}
|
|
6038
6037
|
}
|
|
6039
6038
|
}
|
|
6040
6039
|
);
|
|
6041
6040
|
})()
|
|
6042
6041
|
),
|
|
6043
|
-
/* @__PURE__ */ (0,
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6044
6043
|
AnnotationPopupCSS,
|
|
6045
6044
|
{
|
|
6046
6045
|
ref: editPopupRef,
|
|
@@ -6057,7 +6056,7 @@ function PageFeedbackToolbarCSS({
|
|
|
6057
6056
|
onDelete: () => deleteAnnotation2(editingAnnotation.id),
|
|
6058
6057
|
isExiting: editExiting,
|
|
6059
6058
|
lightMode: !isDarkMode,
|
|
6060
|
-
accentColor: editingAnnotation.isMultiSelect ? "
|
|
6059
|
+
accentColor: editingAnnotation.isMultiSelect ? "var(--agentation-color-green)" : "var(--agentation-color-accent)",
|
|
6061
6060
|
style: (() => {
|
|
6062
6061
|
const markerY = editingAnnotation.isFixed ? editingAnnotation.y : editingAnnotation.y - scrollY;
|
|
6063
6062
|
return {
|
|
@@ -6077,9 +6076,9 @@ function PageFeedbackToolbarCSS({
|
|
|
6077
6076
|
}
|
|
6078
6077
|
)
|
|
6079
6078
|
] }),
|
|
6080
|
-
isDragging && /* @__PURE__ */ (0,
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6082
|
-
/* @__PURE__ */ (0,
|
|
6079
|
+
isDragging && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
6080
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ref: dragRectRef, className: styles_module_default2.dragSelection }),
|
|
6081
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6083
6082
|
"div",
|
|
6084
6083
|
{
|
|
6085
6084
|
ref: highlightsContainerRef,
|