@epam/ai-dial-catalog 1.1.0-dev.293 → 1.1.0-dev.296

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/index.js CHANGED
@@ -1,30 +1,32 @@
1
1
  import * as e from "react";
2
2
  import t, { Fragment as n, createContext as r, createElement as i, forwardRef as a, memo as o, useCallback as s, useContext as c, useEffect as l, useId as u, useImperativeHandle as d, useLayoutEffect as f, useMemo as p, useRef as m, useState as h } from "react";
3
- import { BASE_ICON_PROPS as g, BASE_ICON_SIZE as _, ButtonAppearance as v, ButtonDropdown as y, ButtonVariant as b, CardShell as x, Checkbox as S, CheckboxBox as C, CloseButton as w, CollapsibleSidebar as T, ConditionalResizableContainer as E, ConfirmationPopup as ee, ConfirmationPopupVariant as D, DEFAULT_DATE_FORMAT_OPTIONS as O, DEFAULT_DATE_LOCALE as te, DIAL_ICON_SIZE as k, DangerButton as A, DateCellRenderer as j, DialBreadcrumb as ne, DialFileIcon as re, DialFileName as M, DialFileNodeType as ie, DialFolderName as ae, DialIcon as oe, DialItemType as se, DialNoDataContent as ce, DialSharedEntityIndicator as le, Dropdown as ue, DropdownItemType as de, DropdownTrigger as fe, ElementSize as pe, EllipsisTooltip as me, FlexibleActionsDirection as he, FolderPath as ge, FolderPath as _e, GhostButton as ve, GhostIconButton as ye, Grid as N, Highlight as be, InlineSelect as xe, InlineSelectTrigger as Se, Input as Ce, LinkButton as we, NOT_ALLOWED_SYMBOLS_REGEXP as Te, NeutralButton as Ee, NeutralIconButton as De, NoDataContent as Oe, Notification as ke, NotificationType as Ae, NotificationVariant as je, Popup as Me, PopupSize as Ne, PrimaryButton as Pe, ProgressBar as Fe, RadioGroup as Ie, Search as Le, SegmentedControl as Re, Select as ze, Skeleton as Be, SkeletonAvatarShape as Ve, SkeletonVariant as He, Spinner as Ue, Switch as We, Tabs as Ge, TagInput as Ke, ToggleIconButton as qe, Tooltip as Je, TooltipContainer as Ye, TooltipContent as Xe, TooltipPlacement as Ze, TooltipTrigger as Qe, convertToDate as $e, editableContainerProps as et, mergeClasses as tt, useEditableItem as nt } from "@epam/ai-dial-ui-kit";
4
- import { Fragment as rt, jsx as P, jsxs as F } from "react/jsx-runtime";
5
- import { IconAlertCircleFilled as it, IconAlertTriangleFilled as at, IconArrowLeft as ot, IconArrowRight as st, IconBuildingCommunity as ct, IconCaretRightFilled as lt, IconCheck as ut, IconChevronDown as dt, IconChevronLeft as ft, IconChevronRight as pt, IconCircleCheckFilled as mt, IconCircleFilled as ht, IconCopy as gt, IconCopyMinus as _t, IconDots as vt, IconDotsVertical as yt, IconDownload as bt, IconExternalLink as xt, IconEye as St, IconEyeOff as Ct, IconFile as wt, IconFileDescription as Tt, IconFileZip as Et, IconFilter as Dt, IconFolder as Ot, IconFolderPlus as kt, IconInfoCircle as At, IconKey as jt, IconLayoutGrid as Mt, IconLayoutList as Nt, IconLogin as Pt, IconLogout as Ft, IconPencil as It, IconPencilMinus as Lt, IconPlayerPlayFilled as Rt, IconPlus as zt, IconShare as Bt, IconStar as Vt, IconStarFilled as Ht, IconTrash as Ut, IconTrashX as Wt, IconUser as Gt, IconUserOff as Kt, IconUserX as qt, IconWorldOff as Jt, IconWorldShare as Yt, IconX as Xt } from "@tabler/icons-react";
6
- import { createPortal as Zt } from "react-dom";
3
+ import { BASE_ICON_PROPS as g, BASE_ICON_SIZE as _, ButtonAppearance as v, ButtonDropdown as y, ButtonVariant as b, CardShell as x, Checkbox as S, CheckboxBox as C, CloseButton as w, CollapsibleSidebar as T, ConditionalResizableContainer as E, ConfirmationPopup as ee, ConfirmationPopupVariant as D, DEFAULT_DATE_FORMAT_OPTIONS as O, DEFAULT_DATE_LOCALE as te, DIAL_ICON_SIZE as k, DangerButton as A, DateCellRenderer as j, DialBreadcrumb as ne, DialFileIcon as re, DialFileName as M, DialFileNodeType as ie, DialFolderName as ae, DialIcon as oe, DialItemType as se, DialNoDataContent as ce, DialSharedEntityIndicator as le, Dropdown as ue, DropdownItemType as de, DropdownTrigger as fe, ElementSize as pe, EllipsisTooltip as me, FlexibleActionsDirection as he, FolderPath as ge, GhostButton as _e, GhostIconButton as ve, Grid as ye, Highlight as N, InlineSelect as be, InlineSelectTrigger as xe, Input as Se, LinkButton as Ce, NOT_ALLOWED_SYMBOLS_REGEXP as we, NeutralButton as Te, NeutralIconButton as Ee, NoDataContent as De, Notification as Oe, NotificationType as ke, NotificationVariant as Ae, Popup as je, PopupSize as Me, PrimaryButton as Ne, ProgressBar as Pe, RadioGroup as Fe, Search as Ie, SegmentedControl as Le, Select as Re, Skeleton as ze, SkeletonAvatarShape as Be, SkeletonVariant as Ve, Spinner as He, Switch as Ue, Tabs as We, TagInput as Ge, ToggleIconButton as Ke, Tooltip as qe, TooltipContainer as Je, TooltipContent as Ye, TooltipPlacement as Xe, TooltipTrigger as Ze, convertToDate as Qe, editableContainerProps as $e, mergeClasses as et, useEditableItem as tt } from "@epam/ai-dial-ui-kit";
4
+ import { Fragment as nt, jsx as P, jsxs as F } from "react/jsx-runtime";
5
+ import { IconAlertCircleFilled as rt, IconAlertTriangleFilled as it, IconArrowLeft as at, IconArrowRight as ot, IconBuildingCommunity as st, IconCaretRightFilled as ct, IconCheck as lt, IconChevronDown as ut, IconChevronLeft as dt, IconChevronRight as ft, IconCircleCheckFilled as pt, IconCircleFilled as mt, IconCopy as ht, IconCopyMinus as gt, IconDots as _t, IconDotsVertical as vt, IconDownload as yt, IconExternalLink as bt, IconEye as xt, IconEyeOff as St, IconFile as Ct, IconFileDescription as wt, IconFileZip as Tt, IconFilter as Et, IconFolder as Dt, IconFolderPlus as Ot, IconInfoCircle as kt, IconKey as At, IconLayoutGrid as jt, IconLayoutList as Mt, IconLogin as Nt, IconLogout as Pt, IconPencil as Ft, IconPencilMinus as It, IconPlayerPlayFilled as Lt, IconPlus as Rt, IconShare as zt, IconStar as Bt, IconStarFilled as Vt, IconTrash as Ht, IconTrashX as Ut, IconUser as Wt, IconUserOff as Gt, IconUserX as Kt, IconWorldOff as qt, IconWorldShare as Jt, IconX as Yt } from "@tabler/icons-react";
6
+ import { createPortal as Xt } from "react-dom";
7
7
  //#region \0rolldown/runtime.js
8
- var Qt = Object.create, $t = Object.defineProperty, en = Object.getOwnPropertyDescriptor, tn = Object.getOwnPropertyNames, nn = Object.getPrototypeOf, rn = Object.prototype.hasOwnProperty, an = (e, t) => () => (e && (t = e(e = 0)), t), on = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), sn = (e, t) => {
8
+ var Zt = Object.create, Qt = Object.defineProperty, $t = Object.getOwnPropertyDescriptor, en = Object.getOwnPropertyNames, tn = Object.getPrototypeOf, nn = Object.prototype.hasOwnProperty, rn = (e, t) => () => (e && (t = e(e = 0)), t), an = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), on = (e, t) => {
9
9
  let n = {};
10
- for (var r in e) $t(n, r, {
10
+ for (var r in e) Qt(n, r, {
11
11
  get: e[r],
12
12
  enumerable: !0
13
13
  });
14
- return t || $t(n, Symbol.toStringTag, { value: "Module" }), n;
15
- }, cn = (e, t, n, r) => {
16
- if (t && typeof t == "object" || typeof t == "function") for (var i = tn(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !rn.call(e, s) && s !== n && $t(e, s, {
14
+ return t || Qt(n, Symbol.toStringTag, { value: "Module" }), n;
15
+ }, sn = (e, t, n, r) => {
16
+ if (t && typeof t == "object" || typeof t == "function") for (var i = en(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !nn.call(e, s) && s !== n && Qt(e, s, {
17
17
  get: ((e) => t[e]).bind(null, s),
18
- enumerable: !(r = en(t, s)) || r.enumerable
18
+ enumerable: !(r = $t(t, s)) || r.enumerable
19
19
  });
20
20
  return e;
21
- }, ln = (e, t, n) => (n = e == null ? {} : Qt(nn(e)), cn(t || !e || !e.__esModule ? $t(n, "default", {
21
+ }, cn = (e, t, n) => (n = e == null ? {} : Zt(tn(e)), sn(t || !e || !e.__esModule ? Qt(n, "default", {
22
22
  value: e,
23
23
  enumerable: !0
24
- }) : n, e)), un = (e) => rn.call(e, "module.exports") ? e["module.exports"] : cn($t({}, "__esModule", { value: !0 }), e), dn = /* @__PURE__ */ function(e) {
24
+ }) : n, e)), ln = (e) => nn.call(e, "module.exports") ? e["module.exports"] : sn(Qt({}, "__esModule", { value: !0 }), e), un = /* @__PURE__ */ function(e) {
25
25
  return e.Python = "python", e.Curl = "curl", e.JavaScript = "javascript", e;
26
- }({}), fn = /* @__PURE__ */ function(e) {
26
+ }({}), dn = /* @__PURE__ */ function(e) {
27
27
  return e.About = "about", e.Content = "content", e.Overview = "overview", e.Pricing = "pricing", e.Limits = "limits", e.Api = "api", e.Tools = "tools", e;
28
+ }({}), fn = /* @__PURE__ */ function(e) {
29
+ return e.RunningLow = "runningLow", e.LimitReached = "limitReached", e;
28
30
  }({}), pn = /* @__PURE__ */ function(e) {
29
31
  return e.Delete = "delete", e.Logout = "logout", e.Unshare = "unshare", e.RevokeAccess = "revokeAccess", e.DeleteApiKey = "deleteApiKey", e.Unpublish = "unpublish", e;
30
32
  }({}), mn = /* @__PURE__ */ function(e) {
@@ -2208,24 +2210,24 @@ function qa() {
2208
2210
  "mn",
2209
2211
  "ms",
2210
2212
  "mtext"
2211
- ]), tt = da({}, et), nt = Li(["annotation-xml"]), rt = da({}, nt), P = da({}, [
2213
+ ]), tt = da({}, et), nt = Li(["annotation-xml"]), P = da({}, nt), F = da({}, [
2212
2214
  "title",
2213
2215
  "style",
2214
2216
  "font",
2215
2217
  "a",
2216
2218
  "script"
2217
- ]), F = null, it = ["application/xhtml+xml", "text/html"], at = null, ot = null, st = n.createElement("form"), ct = function(e) {
2219
+ ]), rt = null, it = ["application/xhtml+xml", "text/html"], at = null, ot = null, st = n.createElement("form"), ct = function(e) {
2218
2220
  return e instanceof RegExp || e instanceof Function;
2219
2221
  }, lt = function() {
2220
2222
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2221
2223
  if (ot && ot === e) return;
2222
- (!e || typeof e != "object") && (e = {}), e = pa(e), F = it.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, at = F === "application/xhtml+xml" ? Xi : Yi, me = Ka(e, "ALLOWED_TAGS", he, { transform: at }), ge = Ka(e, "ALLOWED_ATTR", _e, { transform: at }), Qe = Ka(e, "ALLOWED_NAMESPACES", $e, { transform: Xi }), Ge = Ka(e, "ADD_URI_SAFE_ATTR", Ke, {
2224
+ (!e || typeof e != "object") && (e = {}), e = pa(e), rt = it.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, at = rt === "application/xhtml+xml" ? Xi : Yi, me = Ka(e, "ALLOWED_TAGS", he, { transform: at }), ge = Ka(e, "ALLOWED_ATTR", _e, { transform: at }), Qe = Ka(e, "ALLOWED_NAMESPACES", $e, { transform: Xi }), Ge = Ka(e, "ADD_URI_SAFE_ATTR", Ke, {
2223
2225
  transform: at,
2224
2226
  base: Ke
2225
2227
  }), Ue = Ka(e, "ADD_DATA_URI_TAGS", We, {
2226
2228
  transform: at,
2227
2229
  base: We
2228
- }), Ve = Ka(e, "FORBID_CONTENTS", He, { transform: at }), ye = Ka(e, "FORBID_TAGS", pa({}), { transform: at }), N = Ka(e, "FORBID_ATTR", pa({}), { transform: at }), Be = aa(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? pa(e.USE_PROFILES) : e.USE_PROFILES : !1, xe = e.ALLOW_ARIA_ATTR !== !1, Se = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, we = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ee = e.SAFE_FOR_XML !== !1, De = e.WHOLE_DOCUMENT || !1, Me = e.RETURN_DOM || !1, Ne = e.RETURN_DOM_FRAGMENT || !1, Pe = e.RETURN_TRUSTED_TYPE || !1, je = e.FORCE_BODY || !1, Fe = e.SANITIZE_DOM !== !1, Ie = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, ze = e.IN_PLACE || !1, pe = ga(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Na, Xe = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Ye, tt = aa(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? pa(e.MATHML_TEXT_INTEGRATION_POINTS) : da({}, et), rt = aa(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? pa(e.HTML_INTEGRATION_POINTS) : da({}, nt);
2230
+ }), Ve = Ka(e, "FORBID_CONTENTS", He, { transform: at }), ye = Ka(e, "FORBID_TAGS", pa({}), { transform: at }), N = Ka(e, "FORBID_ATTR", pa({}), { transform: at }), Be = aa(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? pa(e.USE_PROFILES) : e.USE_PROFILES : !1, xe = e.ALLOW_ARIA_ATTR !== !1, Se = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, we = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ee = e.SAFE_FOR_XML !== !1, De = e.WHOLE_DOCUMENT || !1, Me = e.RETURN_DOM || !1, Ne = e.RETURN_DOM_FRAGMENT || !1, Pe = e.RETURN_TRUSTED_TYPE || !1, je = e.FORCE_BODY || !1, Fe = e.SANITIZE_DOM !== !1, Ie = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, ze = e.IN_PLACE || !1, pe = ga(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Na, Xe = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Ye, tt = aa(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? pa(e.MATHML_TEXT_INTEGRATION_POINTS) : da({}, et), P = aa(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? pa(e.HTML_INTEGRATION_POINTS) : da({}, nt);
2229
2231
  let t = aa(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? pa(e.CUSTOM_ELEMENT_HANDLING) : zi(null);
2230
2232
  if (ve = zi(null), aa(t, "tagNameCheck") && ct(t.tagNameCheck) && (ve.tagNameCheck = t.tagNameCheck), aa(t, "attributeNameCheck") && ct(t.attributeNameCheck) && (ve.attributeNameCheck = t.attributeNameCheck), aa(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (ve.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), Ri(ve), Te && (Se = !1), Ne && (Me = !0), Be && (me = da({}, Ca), ge = zi(null), Be.html === !0 && (da(me, _a), da(ge, wa)), Be.svg === !0 && (da(me, va), da(ge, Ta), da(ge, Da)), Be.svgFilters === !0 && (da(me, ya), da(ge, Ta), da(ge, Da)), Be.mathMl === !0 && (da(me, xa), da(ge, Ea), da(ge, Da))), be.tagCheck = null, be.attributeCheck = null, aa(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? be.tagCheck = e.ADD_TAGS : Ji(e.ADD_TAGS) && (me === he && (me = pa(me)), da(me, e.ADD_TAGS, at))), aa(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? be.attributeCheck = e.ADD_ATTR : Ji(e.ADD_ATTR) && (ge === _e && (ge = pa(ge)), da(ge, e.ADD_ATTR, at))), aa(e, "ADD_URI_SAFE_ATTR") && Ji(e.ADD_URI_SAFE_ATTR) && da(Ge, e.ADD_URI_SAFE_ATTR, at), aa(e, "FORBID_CONTENTS") && Ji(e.FORBID_CONTENTS) && (Ve === He && (Ve = pa(Ve)), da(Ve, e.FORBID_CONTENTS, at)), aa(e, "ADD_FORBID_CONTENTS") && Ji(e.ADD_FORBID_CONTENTS) && (Ve === He && (Ve = pa(Ve)), da(Ve, e.ADD_FORBID_CONTENTS, at)), Re && (me["#text"] = !0), De && da(me, [
2231
2233
  "html",
@@ -2250,9 +2252,9 @@ function qa() {
2250
2252
  ]), dt = da({}, [...xa, ...Sa]), ft = function(e, t, n) {
2251
2253
  return t.namespaceURI === Ye ? e === "svg" : t.namespaceURI === qe ? e === "svg" && (n === "annotation-xml" || tt[n]) : !!ut[e];
2252
2254
  }, pt = function(e, t, n) {
2253
- return t.namespaceURI === Ye ? e === "math" : t.namespaceURI === Je ? e === "math" && rt[n] : !!dt[e];
2255
+ return t.namespaceURI === Ye ? e === "math" : t.namespaceURI === Je ? e === "math" && P[n] : !!dt[e];
2254
2256
  }, mt = function(e, t, n) {
2255
- return t.namespaceURI === Je && !rt[n] || t.namespaceURI === qe && !tt[n] ? !1 : !dt[e] && (P[e] || !ut[e]);
2257
+ return t.namespaceURI === Je && !P[n] || t.namespaceURI === qe && !tt[n] ? !1 : !dt[e] && (F[e] || !ut[e]);
2256
2258
  }, ht = function(e) {
2257
2259
  let t = g(e);
2258
2260
  (!t || !t.tagName) && (t = {
@@ -2260,7 +2262,7 @@ function qa() {
2260
2262
  tagName: "template"
2261
2263
  });
2262
2264
  let n = Yi(e.tagName), r = Yi(t.tagName);
2263
- return Qe[e.namespaceURI] ? e.namespaceURI === Je ? ft(n, t, r) : e.namespaceURI === qe ? pt(n, t, r) : e.namespaceURI === Ye ? mt(n, t, r) : !!(F === "application/xhtml+xml" && Qe[e.namespaceURI]) : !1;
2265
+ return Qe[e.namespaceURI] ? e.namespaceURI === Je ? ft(n, t, r) : e.namespaceURI === qe ? pt(n, t, r) : e.namespaceURI === Ye ? mt(n, t, r) : !!(rt === "application/xhtml+xml" && Qe[e.namespaceURI]) : !1;
2264
2266
  }, gt = function(e) {
2265
2267
  Ki(t.removed, { element: e });
2266
2268
  try {
@@ -2349,10 +2351,10 @@ function qa() {
2349
2351
  let t = Zi(e, /^[\r\n\t ]+/);
2350
2352
  r = t && t[0];
2351
2353
  }
2352
- F === "application/xhtml+xml" && Xe === Ye && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
2354
+ rt === "application/xhtml+xml" && Xe === Ye && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
2353
2355
  let i = S ? D(e) : e;
2354
2356
  if (Xe === Ye) try {
2355
- t = new l().parseFromString(i, F);
2357
+ t = new l().parseFromString(i, rt);
2356
2358
  } catch {}
2357
2359
  if (!t || !t.documentElement) {
2358
2360
  t = A.createDocument(Xe, "template", null);
@@ -10092,7 +10094,7 @@ var Dg = [
10092
10094
  })
10093
10095
  })
10094
10096
  });
10095
- return o ? /* @__PURE__ */ P(Je, {
10097
+ return o ? /* @__PURE__ */ P(qe, {
10096
10098
  tooltip: o,
10097
10099
  triggerClassName: "flex shrink-0",
10098
10100
  children: b
@@ -10164,7 +10166,7 @@ var Dg = [
10164
10166
  ]), Bg = {
10165
10167
  icon: "_icon_d05h7_1",
10166
10168
  label: "_label_d05h7_5"
10167
- }, Vg = o(({ icon: e, label: t, colors: n }) => /* @__PURE__ */ P("div", {
10169
+ }, Vg = o(({ icon: e, label: t, colors: n, labelClassName: r = "dial-tiny-text", containerClassName: i }) => /* @__PURE__ */ P("div", {
10168
10170
  style: Ti({
10169
10171
  "--pes-icon-color": n?.icon,
10170
10172
  "--pes-label-color": n?.label
@@ -10175,7 +10177,8 @@ var Dg = [
10175
10177
  className: Bg.icon,
10176
10178
  children: e
10177
10179
  }),
10178
- titleClassName: Bg.label
10180
+ titleClassName: I(Bg.label, r),
10181
+ containerClassName: i
10179
10182
  })
10180
10183
  })), Hg = {
10181
10184
  title: "_title_11w3i_1",
@@ -10191,7 +10194,7 @@ var Dg = [
10191
10194
  children: [
10192
10195
  /* @__PURE__ */ P("h3", {
10193
10196
  className: I(c ? "min-w-0 shrink" : "shrink-0 whitespace-nowrap", n, Hg.title),
10194
- children: a ? /* @__PURE__ */ P(be, {
10197
+ children: a ? /* @__PURE__ */ P(N, {
10195
10198
  text: e,
10196
10199
  query: a
10197
10200
  }) : c ? /* @__PURE__ */ P(me, { text: e }) : e
@@ -10220,7 +10223,7 @@ var Dg = [
10220
10223
  },
10221
10224
  children: e
10222
10225
  });
10223
- }, Kg = ({ item: e, nameClassName: t, versionClassName: n, showVersion: r = !0, typeClassName: i = "dial-caption-lead-semi-text", iconBadgeClassName: a = "rounded-[14px]", featuredChipClassName: o, featuredLabel: s = "Featured", hasFeaturedTag: c = !0, iconSize: l = 48, query: u, footer: d }) => /* @__PURE__ */ F("div", {
10226
+ }, Kg = ({ item: e, nameClassName: t, versionClassName: n, showVersion: r = !0, typeClassName: i = "dial-caption-lead-semi-text", iconBadgeClassName: a = "rounded-[14px]", featuredChipClassName: o, featuredLabel: s = "Featured", hasFeaturedTag: c = !0, iconSize: l = 48, query: u, footer: d, statusBadge: f }) => /* @__PURE__ */ F("div", {
10224
10227
  className: "flex items-start gap-2",
10225
10228
  children: [/* @__PURE__ */ P(Pg, {
10226
10229
  src: e.iconUrl,
@@ -10235,13 +10238,13 @@ var Dg = [
10235
10238
  children: [/* @__PURE__ */ P(Wg, {
10236
10239
  type: e.type,
10237
10240
  className: i
10238
- }), c && e.isFeatured && /* @__PURE__ */ P("div", {
10239
- className: "absolute end-0 top-[-6px]",
10240
- children: /* @__PURE__ */ P(Gg, {
10241
+ }), (f != null || c && e.isFeatured) && /* @__PURE__ */ F("div", {
10242
+ className: "absolute end-0 top-[-6px] flex items-center gap-2",
10243
+ children: [f, c && e.isFeatured && /* @__PURE__ */ P(Gg, {
10241
10244
  type: e.type,
10242
10245
  label: s,
10243
10246
  className: o
10244
- })
10247
+ })]
10245
10248
  })]
10246
10249
  }),
10247
10250
  /* @__PURE__ */ P(Ug, {
@@ -10267,7 +10270,7 @@ var Dg = [
10267
10270
  "--rs-version-tag-border": c?.versionTagBorder,
10268
10271
  "--rs-version-tag-bg": c?.versionTagBackground,
10269
10272
  "--rs-version-tag-text": c?.versionTagText
10270
- }), d = e && /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("div", {
10273
+ }), d = e && /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("div", {
10271
10274
  className: "min-w-0 flex-1",
10272
10275
  children: /* @__PURE__ */ P(Kg, {
10273
10276
  item: e,
@@ -10778,7 +10781,7 @@ function R_(e, t) {
10778
10781
  let n = t.allowedElements, r = t.allowElement, i = t.components, a = t.disallowedElements, o = t.skipHtml, s = t.unwrapDisallowed, c = t.urlTransform || z_;
10779
10782
  for (let e of P_) Object.hasOwn(t, e.from) && "" + e.from + (e.to ? "use `" + e.to + "` instead" : "remove it") + e.id;
10780
10783
  return Ml(e, l), c_(e, {
10781
- Fragment: rt,
10784
+ Fragment: nt,
10782
10785
  components: i,
10783
10786
  ignoreInvalidStyle: !0,
10784
10787
  jsx: P,
@@ -49829,14 +49832,14 @@ var DM = 2e3, OM = (e, t = DM) => {
49829
49832
  children: f ?? e
49830
49833
  }), !n && /* @__PURE__ */ F("div", {
49831
49834
  className: "flex items-center gap-1",
49832
- children: [!s && /* @__PURE__ */ P(ye, {
49835
+ children: [!s && /* @__PURE__ */ P(ve, {
49833
49836
  icon: /* @__PURE__ */ P(zg, { size: k.SM }),
49834
49837
  "aria-label": o,
49835
49838
  size: pe.Small,
49836
49839
  onClick: () => {
49837
49840
  vg(t, `code.${mg(e)}`);
49838
49841
  }
49839
- }), /* @__PURE__ */ P(ye, {
49842
+ }), /* @__PURE__ */ P(ve, {
49840
49843
  icon: h ? /* @__PURE__ */ P(Lg, {
49841
49844
  size: k.SM,
49842
49845
  className: kM.copiedIcon,
@@ -50014,7 +50017,7 @@ var DM = 2e3, OM = (e, t = DM) => {
50014
50017
  className: e.em ?? "italic",
50015
50018
  children: t
50016
50019
  }),
50017
- pre: ({ children: e }) => /* @__PURE__ */ P(rt, { children: e }),
50020
+ pre: ({ children: e }) => /* @__PURE__ */ P(nt, { children: e }),
50018
50021
  code: ({ children: a, className: o }) => {
50019
50022
  let s = /language-(\w+)/.exec(o ?? "")?.[1] ?? "", c = String(a);
50020
50023
  return s || c.includes("\n") ? /* @__PURE__ */ P(IM, {
@@ -50256,7 +50259,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50256
50259
  className: "flex min-w-0 items-start gap-1 overflow-hidden",
50257
50260
  children: [/* @__PURE__ */ P("span", {
50258
50261
  className: I("min-w-0 flex-1 truncate", p?.nameClassName ?? "dial-body-semi-text", cN.name),
50259
- children: o ? /* @__PURE__ */ P(be, {
50262
+ children: o ? /* @__PURE__ */ P(N, {
50260
50263
  text: n,
50261
50264
  query: o
50262
50265
  }) : n
@@ -50274,7 +50277,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50274
50277
  })]
50275
50278
  })]
50276
50279
  });
50277
- }, uN = { icon: "_icon_a0p4u_1" }, dN = ({ credentials: e, loggedOutLabel: t = "Authorize to use this toolset.", className: n, colors: r }) => e == null || Pn(e) == null ? null : /* @__PURE__ */ P(Je, {
50280
+ }, uN = { icon: "_icon_a0p4u_1" }, dN = ({ credentials: e, loggedOutLabel: t = "Authorize to use this toolset.", className: n, colors: r }) => e == null || Pn(e) == null ? null : /* @__PURE__ */ P(qe, {
50278
50281
  tooltip: t,
50279
50282
  asChild: !0,
50280
50283
  children: /* @__PURE__ */ P("span", {
@@ -50285,7 +50288,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50285
50288
  "--cat-cred-badge-icon": r?.icon
50286
50289
  }),
50287
50290
  className: I("absolute -bottom-1 -end-1 shrink-0", n),
50288
- children: /* @__PURE__ */ P(at, {
50291
+ children: /* @__PURE__ */ P(it, {
50289
50292
  size: k.SM,
50290
50293
  className: uN.icon,
50291
50294
  "aria-hidden": !0
@@ -50294,14 +50297,14 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50294
50297
  }), fN = {
50295
50298
  starFilledIcon: "_starFilledIcon_po6zj_1",
50296
50299
  starPop: "_starPop_po6zj_1"
50297
- }, pN = ({ isStarred: e, onClick: t, size: n, ariaLabel: r = "Toggle favorite", className: i, starFilledColor: a }) => /* @__PURE__ */ P(qe, {
50300
+ }, pN = ({ isStarred: e, onClick: t, size: n, ariaLabel: r = "Toggle favorite", className: i, starFilledColor: a }) => /* @__PURE__ */ P(Ke, {
50298
50301
  size: n,
50299
50302
  style: Ti({ "--cat-star-filled": a }),
50300
50303
  className: i,
50301
- icon: e ? /* @__PURE__ */ P(Ht, {
50304
+ icon: e ? /* @__PURE__ */ P(Vt, {
50302
50305
  size: k.SM,
50303
50306
  className: fN.starFilledIcon
50304
- }) : /* @__PURE__ */ P(Vt, { size: k.SM }),
50307
+ }) : /* @__PURE__ */ P(Bt, { size: k.SM }),
50305
50308
  "aria-label": r,
50306
50309
  onClick: t
50307
50310
  }), mN = { tag: "_tag_12518_1" }, hN = ({ label: e, className: t, badgeClassName: n = "dial-tiny-text", colors: r }) => /* @__PURE__ */ P("div", {
@@ -50357,7 +50360,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50357
50360
  },
50358
50361
  children: /* @__PURE__ */ P(gN, { label: e })
50359
50362
  }, e)),
50360
- g > 0 && /* @__PURE__ */ P(Je, {
50363
+ g > 0 && /* @__PURE__ */ P(qe, {
50361
50364
  tooltip: e.slice(c).join(", "),
50362
50365
  children: /* @__PURE__ */ P("span", {
50363
50366
  "aria-label": t?.(g) ?? `and ${g} more topics`,
@@ -50413,7 +50416,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50413
50416
  className: b
50414
50417
  })
50415
50418
  }),
50416
- d && /* @__PURE__ */ P(ut, {
50419
+ d && /* @__PURE__ */ P(lt, {
50417
50420
  size: k.SM,
50418
50421
  className: I("absolute end-3 top-3 shrink-0", sN.checkIcon),
50419
50422
  "aria-hidden": !0
@@ -50445,7 +50448,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50445
50448
  className: "flex items-center gap-2",
50446
50449
  children: [/* @__PURE__ */ P("div", {
50447
50450
  className: "min-w-0 flex-1",
50448
- children: e.folder.length > 0 && /* @__PURE__ */ P(_e, {
50451
+ children: e.folder.length > 0 && /* @__PURE__ */ P(ge, {
50449
50452
  segments: e.folder,
50450
50453
  labelClassName: S,
50451
50454
  leafClassName: C
@@ -50525,10 +50528,10 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50525
50528
  children: Array.from({ length: y * 3 }, (e, t) => /* @__PURE__ */ P("div", {
50526
50529
  className: I("rounded-md border p-4", sN.skeletonCard),
50527
50530
  style: { height: 248 },
50528
- children: /* @__PURE__ */ P(Be, {
50531
+ children: /* @__PURE__ */ P(ze, {
50529
50532
  avatar: {
50530
50533
  size: 48,
50531
- shape: Ve.Square
50534
+ shape: Be.Square
50532
50535
  },
50533
50536
  showTitle: { width: `${60 + t * 17 % 30}%` },
50534
50537
  paragraph: { rows: 3 },
@@ -50746,7 +50749,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50746
50749
  l(() => {
50747
50750
  re.current?.focus();
50748
50751
  }, []);
50749
- let [M, ie] = h(), [ae, oe] = h(), [se, ce] = h([]), [le, ue] = h(""), [de, fe] = h(!1), [pe, me] = h(!1), [he, ge] = h(!1), _e = I(zN.selectField, de && zN.selectFieldOpen), ye = I(zN.selectField, pe && zN.selectFieldOpen), N = p(() => e.map((e) => ({
50752
+ let [M, ie] = h(), [ae, oe] = h(), [se, ce] = h([]), [le, ue] = h(""), [de, fe] = h(!1), [pe, me] = h(!1), [he, ge] = h(!1), ve = I(zN.selectField, de && zN.selectFieldOpen), ye = I(zN.selectField, pe && zN.selectFieldOpen), N = p(() => e.map((e) => ({
50750
50753
  value: e,
50751
50754
  label: e
50752
50755
  })), [e]), be = p(() => [
@@ -50766,7 +50769,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50766
50769
  _,
50767
50770
  v,
50768
50771
  y
50769
- ]), xe = ae === SN.Regex, Se = UN(le), we = M != null && ae != null && (xe ? Se : se.length > 0);
50772
+ ]), xe = ae === SN.Regex, Ce = UN(le), we = M != null && ae != null && (xe ? Ce : se.length > 0);
50770
50773
  return /* @__PURE__ */ F("div", {
50771
50774
  ref: re,
50772
50775
  role: "dialog",
@@ -50779,7 +50782,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50779
50782
  style: c,
50780
50783
  className: I("fixed inset-0 z-[60] flex flex-col gap-3 overflow-y-auto p-4", "desktop:static desktop:z-auto desktop:flex-none desktop:overflow-visible desktop:rounded-lg desktop:p-3", zN.dialog),
50781
50784
  children: [
50782
- /* @__PURE__ */ P(ze, {
50785
+ /* @__PURE__ */ P(Re, {
50783
50786
  id: A,
50784
50787
  labelProps: { label: d },
50785
50788
  options: N,
@@ -50793,11 +50796,11 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50793
50796
  disabled: r,
50794
50797
  open: de,
50795
50798
  onOpenChange: fe,
50796
- fieldClassName: _e,
50799
+ fieldClassName: ve,
50797
50800
  invalid: he && M == null,
50798
50801
  error: he && M == null ? E : void 0
50799
50802
  }),
50800
- /* @__PURE__ */ P(ze, {
50803
+ /* @__PURE__ */ P(Re, {
50801
50804
  labelProps: { label: g },
50802
50805
  id: j,
50803
50806
  options: be,
@@ -50814,21 +50817,21 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50814
50817
  invalid: he && ae == null,
50815
50818
  error: he && ae == null ? E : void 0
50816
50819
  }),
50817
- xe ? /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P(Ce, {
50820
+ xe ? /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P(Se, {
50818
50821
  id: `${k}-input`,
50819
50822
  labelProps: { label: C },
50820
50823
  placeholder: w,
50821
50824
  value: le,
50822
50825
  onChange: (e) => ue(e ?? ""),
50823
- invalid: (le.length > 0 || he) && !Se,
50824
- "aria-describedby": (le.length > 0 || he) && !Se ? k : void 0,
50826
+ invalid: (le.length > 0 || he) && !Ce,
50827
+ "aria-describedby": (le.length > 0 || he) && !Ce ? k : void 0,
50825
50828
  disabled: r
50826
- }), (le.length > 0 || he) && !Se && /* @__PURE__ */ P("span", {
50829
+ }), (le.length > 0 || he) && !Ce && /* @__PURE__ */ P("span", {
50827
50830
  id: k,
50828
50831
  role: "alert",
50829
50832
  className: I("mt-1 block", o, zN.error),
50830
50833
  children: T
50831
- })] }) : /* @__PURE__ */ P(Ke, {
50834
+ })] }) : /* @__PURE__ */ P(Ge, {
50832
50835
  id: ne,
50833
50836
  labelProps: { label: b },
50834
50837
  placeholder: x,
@@ -50848,11 +50851,11 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50848
50851
  }),
50849
50852
  /* @__PURE__ */ F("div", {
50850
50853
  className: "mt-auto flex justify-end gap-2 desktop:mt-2",
50851
- children: [/* @__PURE__ */ P(ve, {
50854
+ children: [/* @__PURE__ */ P(_e, {
50852
50855
  label: O,
50853
50856
  onClick: n,
50854
50857
  disabled: r
50855
- }), /* @__PURE__ */ P(Ee, {
50858
+ }), /* @__PURE__ */ P(Te, {
50856
50859
  label: D,
50857
50860
  onClick: () => {
50858
50861
  if (!we || M == null || ae == null) {
@@ -50896,10 +50899,10 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50896
50899
  ]);
50897
50900
  let ge = () => {
50898
50901
  me.current = document.activeElement, de(!0);
50899
- }, _e = () => {
50902
+ }, ye = () => {
50900
50903
  de(!1), me.current?.focus?.();
50901
50904
  }, N = (n) => {
50902
- t([...e, n]), pe(ie), _e();
50905
+ t([...e, n]), pe(ie), ye();
50903
50906
  }, be = (n) => {
50904
50907
  t(e.filter((e, t) => t !== n)), pe(ae);
50905
50908
  }, xe = () => {
@@ -50927,7 +50930,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50927
50930
  id: le,
50928
50931
  className: I(f, GN.heading),
50929
50932
  children: S
50930
- }), e.length > 0 && /* @__PURE__ */ P(ve, {
50933
+ }), e.length > 0 && /* @__PURE__ */ P(_e, {
50931
50934
  variant: b.Primary,
50932
50935
  label: D,
50933
50936
  onClick: xe,
@@ -50940,24 +50943,24 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50940
50943
  }),
50941
50944
  e.length > 0 && !Te && /* @__PURE__ */ P("div", {
50942
50945
  className: "mb-2",
50943
- children: /* @__PURE__ */ P(ke, {
50944
- type: Ae.SectionMessage,
50945
- variant: je.Warning,
50946
+ children: /* @__PURE__ */ P(Oe, {
50947
+ type: ke.SectionMessage,
50948
+ variant: Ae.Warning,
50946
50949
  message: T
50947
50950
  })
50948
50951
  }),
50949
50952
  a && /* @__PURE__ */ F("div", {
50950
50953
  className: I("mb-2 flex items-center gap-2", g, GN.loading),
50951
- children: [/* @__PURE__ */ P(Ue, {
50954
+ children: [/* @__PURE__ */ P(He, {
50952
50955
  size: 16,
50953
50956
  ariaLabel: re
50954
50957
  }), /* @__PURE__ */ P("span", { children: re })]
50955
50958
  }),
50956
50959
  o && /* @__PURE__ */ P("div", {
50957
50960
  className: "mb-2",
50958
- children: /* @__PURE__ */ P(ke, {
50959
- type: Ae.SectionMessage,
50960
- variant: je.Warning,
50961
+ children: /* @__PURE__ */ P(Oe, {
50962
+ type: ke.SectionMessage,
50963
+ variant: Ae.Warning,
50961
50964
  message: M
50962
50965
  })
50963
50966
  }),
@@ -50979,8 +50982,8 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50979
50982
  ": ",
50980
50983
  n
50981
50984
  ]
50982
- }), /* @__PURE__ */ P(ye, {
50983
- icon: /* @__PURE__ */ P(Wt, {
50985
+ }), /* @__PURE__ */ P(ve, {
50986
+ icon: /* @__PURE__ */ P(Ut, {
50984
50987
  size: k.SM,
50985
50988
  "aria-hidden": !0
50986
50989
  }),
@@ -50994,7 +50997,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
50994
50997
  ue && /* @__PURE__ */ P(WN, {
50995
50998
  sourceOptions: n,
50996
50999
  onSave: N,
50997
- onCancel: _e,
51000
+ onCancel: ye,
50998
51001
  disabled: i,
50999
51002
  maxTargets: c,
51000
51003
  labels: ce,
@@ -51002,9 +51005,9 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
51002
51005
  }),
51003
51006
  /* @__PURE__ */ P("div", {
51004
51007
  className: "flex flex-wrap items-center gap-2",
51005
- children: /* @__PURE__ */ P(ve, {
51008
+ children: /* @__PURE__ */ P(_e, {
51006
51009
  label: ee,
51007
- iconBefore: /* @__PURE__ */ P(zt, {
51010
+ iconBefore: /* @__PURE__ */ P(Rt, {
51008
51011
  size: k.SM,
51009
51012
  "aria-hidden": !0
51010
51013
  }),
@@ -51018,7 +51021,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
51018
51021
  })
51019
51022
  ]
51020
51023
  });
51021
- }, YN = /* @__PURE__ */ on(((e, t) => {
51024
+ }, YN = /* @__PURE__ */ an(((e, t) => {
51022
51025
  (function() {
51023
51026
  var e = {}.hasOwnProperty;
51024
51027
  function n() {
@@ -51044,7 +51047,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
51044
51047
  return n;
51045
51048
  }) : window.classNames = n;
51046
51049
  })();
51047
- })), XN = /* @__PURE__ */ sn({ default: () => ZN }), ZN, QN = an((() => {
51050
+ })), XN = /* @__PURE__ */ on({ default: () => ZN }), ZN, QN = rn((() => {
51048
51051
  ZN = {
51049
51052
  "application/1d-interleaved-parityfec": { source: "iana" },
51050
51053
  "application/3gpdash-qoe-report+xml": {
@@ -58664,11 +58667,11 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58664
58667
  "x-shader/x-fragment": { compressible: !0 },
58665
58668
  "x-shader/x-vertex": { compressible: !0 }
58666
58669
  };
58667
- })), $N = /* @__PURE__ */ on(((e, t) => {
58668
- t.exports = (QN(), un(XN).default);
58669
- })), eP = /* @__PURE__ */ on(((e, t) => {
58670
+ })), $N = /* @__PURE__ */ an(((e, t) => {
58671
+ t.exports = (QN(), ln(XN).default);
58672
+ })), eP = /* @__PURE__ */ an(((e, t) => {
58670
58673
  t.exports = {};
58671
- })), tP = /* @__PURE__ */ on(((e, t) => {
58674
+ })), tP = /* @__PURE__ */ an(((e, t) => {
58672
58675
  var n = {
58673
58676
  "prs.": 100,
58674
58677
  "x-": 200,
@@ -58692,7 +58695,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58692
58695
  let [a, o] = e.split("/"), s = n[o.replace(/(\.|x-).*/, "$1")] || n.default, c = r[t] || r.default, l = i[a] || i.default, u = 1 - e.length / 100;
58693
58696
  return s + c + l + u;
58694
58697
  };
58695
- })), nP = /* @__PURE__ */ on(((e) => {
58698
+ })), nP = /* @__PURE__ */ an(((e) => {
58696
58699
  var t = $N(), n = eP().extname, r = tP(), i = /^\s*([^;\s]*)(?:;|\s|$)/, a = /^text\//i;
58697
58700
  e.charset = o, e.charsets = { lookup: o }, e.contentType = s, e.extension = c, e.extensions = Object.create(null), e.lookup = l, e.types = Object.create(null), e._extensionConflicts = [], u(e.extensions, e.types);
58698
58701
  function o(e) {
@@ -58750,7 +58753,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58750
58753
  ], o = r ? a.indexOf(t[r].source) : 0, s = i ? a.indexOf(t[i].source) : 0;
58751
58754
  return e.types[c] !== "application/octet-stream" && (o > s || o === s && e.types[c]?.slice(0, 12) === "application/") || o > s ? r : i;
58752
58755
  }
58753
- })), rP = /* @__PURE__ */ ln(YN(), 1), iP = nP(), aP = (t) => /* @__PURE__ */ e.createElement("svg", {
58756
+ })), rP = /* @__PURE__ */ cn(YN(), 1), iP = nP(), aP = (t) => /* @__PURE__ */ e.createElement("svg", {
58754
58757
  width: 18,
58755
58758
  height: 18,
58756
58759
  viewBox: "0 0 18 18",
@@ -58818,7 +58821,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58818
58821
  _P.Author,
58819
58822
  _P.Actions
58820
58823
  ], IP = /* @__PURE__ */ ((e) => (e.ITEM = "item", e.FOLDER = "folder", e))(IP || {}), LP = /* @__PURE__ */ ((e) => (e.FILE = "FILE", e.PROMPT = "PROMPT", e.CONVERSATION = "CONVERSATION", e.APPLICATION = "APPLICATION", e.TOOLSET = "TOOL_SET", e))(LP || {}), RP = /* @__PURE__ */ ((e) => (e.READ = "READ", e.WRITE = "WRITE", e.SHARE = "SHARE", e))(RP || {}), zP = ({ open: e, onClose: t, onReplace: n, onDuplicate: r, onDecideForEach: i, conflictingFiles: a, singleFileTitle: o = "Replace Or Duplicate Item", multipleFilesTitle: c = "Replace Or Duplicate Items", message: l, actionLabels: u, strategyLabels: d, confirmLabel: f = "Confirm", cancelLabel: m = "Cancel", nameColumnLabel: g = "Name", actionColumnLabel: _ = "Action" }) => {
58821
- let v = a.length === 1, y = v ? a[0]?.name : "", b = u?.[dP.Replace] ?? "Replace", x = u?.[dP.Duplicate] ?? "Duplicate", S = u?.[dP.Cancel] ?? "Cancel", C = d?.[fP.ReplaceAll] ?? "Replace all", w = d?.[fP.DuplicateAll] ?? "Duplicate all", T = d?.[fP.DecideForEach] ?? "Decide for each", [E, ee] = h(dP.Replace), [D, O] = h(fP.ReplaceAll), [te, A] = h(new Map(a.map((e) => [e.path, dP.Replace]))), [j, ne] = h(void 0), re = v ? o : c, ie = /* @__PURE__ */ F(rt, { children: [
58824
+ let v = a.length === 1, y = v ? a[0]?.name : "", b = u?.[dP.Replace] ?? "Replace", x = u?.[dP.Duplicate] ?? "Duplicate", S = u?.[dP.Cancel] ?? "Cancel", C = d?.[fP.ReplaceAll] ?? "Replace all", w = d?.[fP.DuplicateAll] ?? "Duplicate all", T = d?.[fP.DecideForEach] ?? "Decide for each", [E, ee] = h(dP.Replace), [D, O] = h(fP.ReplaceAll), [te, A] = h(new Map(a.map((e) => [e.path, dP.Replace]))), [j, ne] = h(void 0), re = v ? o : c, ie = /* @__PURE__ */ F(nt, { children: [
58822
58825
  "Item with the name ",
58823
58826
  /* @__PURE__ */ F("span", {
58824
58827
  className: "text-primary",
@@ -58872,7 +58875,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58872
58875
  {
58873
58876
  key: dP.Replace,
58874
58877
  label: b,
58875
- icon: /* @__PURE__ */ P(ht, {
58878
+ icon: /* @__PURE__ */ P(mt, {
58876
58879
  size: 10,
58877
58880
  className: "text-violet-1"
58878
58881
  })
@@ -58880,7 +58883,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58880
58883
  {
58881
58884
  key: dP.Duplicate,
58882
58885
  label: x,
58883
- icon: /* @__PURE__ */ P(ht, {
58886
+ icon: /* @__PURE__ */ P(mt, {
58884
58887
  size: 10,
58885
58888
  className: "text-success"
58886
58889
  })
@@ -58888,7 +58891,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58888
58891
  {
58889
58892
  key: dP.Cancel,
58890
58893
  label: S,
58891
- icon: /* @__PURE__ */ P(ht, {
58894
+ icon: /* @__PURE__ */ P(mt, {
58892
58895
  size: 10,
58893
58896
  className: "text-error"
58894
58897
  })
@@ -58918,7 +58921,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58918
58921
  children: [/* @__PURE__ */ F("span", {
58919
58922
  className: "flex items-center gap-2",
58920
58923
  children: [n?.icon, n?.label ?? b]
58921
- }), /* @__PURE__ */ P(dt, {
58924
+ }), /* @__PURE__ */ P(ut, {
58922
58925
  size: k.SM,
58923
58926
  className: (0, rP.default)("text-secondary transition-transform", r && "rotate-180")
58924
58927
  })]
@@ -58945,7 +58948,7 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58945
58948
  {
58946
58949
  value: fP.DecideForEach,
58947
58950
  label: T,
58948
- content: /* @__PURE__ */ P(N, {
58951
+ content: /* @__PURE__ */ P(ye, {
58949
58952
  columnDefs: de,
58950
58953
  rowData: le,
58951
58954
  getRowId: (e) => e.id,
@@ -58980,19 +58983,19 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
58980
58983
  a,
58981
58984
  te
58982
58985
  ]);
58983
- return /* @__PURE__ */ P(Me, {
58986
+ return /* @__PURE__ */ P(je, {
58984
58987
  open: e,
58985
58988
  onClose: he,
58986
- size: v ? Ne.Sm : Ne.Md,
58989
+ size: v ? Me.Sm : Me.Md,
58987
58990
  className: (0, rP.default)([!v && "w-[600px]"]),
58988
58991
  header: re,
58989
58992
  preventKeyboardOnOpen: !0,
58990
58993
  footer: /* @__PURE__ */ F("div", {
58991
58994
  className: "flex justify-end gap-3 py-4 px-6 border-t border-tertiary",
58992
- children: [/* @__PURE__ */ P(Ee, {
58995
+ children: [/* @__PURE__ */ P(Te, {
58993
58996
  onClick: he,
58994
58997
  label: m
58995
- }), /* @__PURE__ */ P(Pe, {
58998
+ }), /* @__PURE__ */ P(Ne, {
58996
58999
  onClick: ge,
58997
59000
  label: f
58998
59001
  })]
@@ -59002,13 +59005,13 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
59002
59005
  children: [/* @__PURE__ */ P("p", {
59003
59006
  className: "text-secondary mb-4 break-words",
59004
59007
  children: se
59005
- }), v ? /* @__PURE__ */ P(Ie, {
59008
+ }), v ? /* @__PURE__ */ P(Fe, {
59006
59009
  id: "single-file-conflict",
59007
59010
  ariaLabel: re,
59008
59011
  items: ce,
59009
59012
  value: E,
59010
59013
  onChange: (e) => ee(e)
59011
- }) : /* @__PURE__ */ P(Ie, {
59014
+ }) : /* @__PURE__ */ P(Fe, {
59012
59015
  id: "multiple-files-conflict",
59013
59016
  ariaLabel: re,
59014
59017
  items: pe,
@@ -59034,8 +59037,8 @@ var QM = [Eg], $M = ({ content: e, headingClassName: t }) => /* @__PURE__ */ P(X
59034
59037
  "bottom-start"
59035
59038
  ],
59036
59039
  items: o,
59037
- className: tt("sticky right-0", i),
59038
- children: /* @__PURE__ */ P(ye, { icon: /* @__PURE__ */ P(yt, { ...g }) })
59040
+ className: et("sticky right-0", i),
59041
+ children: /* @__PURE__ */ P(ve, { icon: /* @__PURE__ */ P(vt, { ...g }) })
59039
59042
  }) : null;
59040
59043
  }, [
59041
59044
  n,
@@ -59697,7 +59700,7 @@ var nF = (e) => {
59697
59700
  handleUploadConflictCancel: fe,
59698
59701
  handleUploadConflictDecideForEach: pe
59699
59702
  };
59700
- }, bF = r(void 0), xF = { hiddenItemWarning: `${je.Warning}__A dot at the start of the name will make the item hidden` }, SF = { consecutiveDotsError: "Name cannot contain consecutive dots" }, CF = {
59703
+ }, bF = r(void 0), xF = { hiddenItemWarning: `${Ae.Warning}__A dot at the start of the name will make the item hidden` }, SF = { consecutiveDotsError: "Name cannot contain consecutive dots" }, CF = {
59701
59704
  emptyName: "Name cannot be empty",
59702
59705
  duplicateName: "An item with this name already exists",
59703
59706
  hiddenItemWarning: xF.hiddenItemWarning,
@@ -59825,7 +59828,7 @@ var OF = ({ items: e, onRenameValidate: t, validationMessages: n, onMoveToFiles:
59825
59828
  return e && (e.newFolder && t.push({
59826
59829
  key: "new-folder",
59827
59830
  label: e.newFolder.label,
59828
- icon: e?.newFolder?.icon === void 0 ? /* @__PURE__ */ P(Ot, {
59831
+ icon: e?.newFolder?.icon === void 0 ? /* @__PURE__ */ P(Dt, {
59829
59832
  ...g,
59830
59833
  className: "text-secondary"
59831
59834
  }) : e?.newFolder?.icon,
@@ -59835,7 +59838,7 @@ var OF = ({ items: e, onRenameValidate: t, validationMessages: n, onMoveToFiles:
59835
59838
  }), e.newItem && t.push({
59836
59839
  key: "new-item",
59837
59840
  label: e.newItem.label,
59838
- icon: e?.newItem?.icon === void 0 ? /* @__PURE__ */ P(zt, {
59841
+ icon: e?.newItem?.icon === void 0 ? /* @__PURE__ */ P(Rt, {
59839
59842
  ...g,
59840
59843
  className: "text-secondary"
59841
59844
  }) : e?.newItem?.icon,
@@ -59845,7 +59848,7 @@ var OF = ({ items: e, onRenameValidate: t, validationMessages: n, onMoveToFiles:
59845
59848
  }), e.uploadFiles && t.push({
59846
59849
  key: "upload-file",
59847
59850
  label: e.uploadFiles.label,
59848
- icon: e?.uploadFiles?.icon === void 0 ? /* @__PURE__ */ P(wt, {
59851
+ icon: e?.uploadFiles?.icon === void 0 ? /* @__PURE__ */ P(Ct, {
59849
59852
  ...g,
59850
59853
  className: "text-secondary"
59851
59854
  }) : e?.uploadFiles?.icon,
@@ -59855,7 +59858,7 @@ var OF = ({ items: e, onRenameValidate: t, validationMessages: n, onMoveToFiles:
59855
59858
  }), e.uploadArchive && t.push({
59856
59859
  key: "upload-archive",
59857
59860
  label: e.uploadArchive.label,
59858
- icon: e?.uploadArchive?.icon === void 0 ? /* @__PURE__ */ P(Et, {
59861
+ icon: e?.uploadArchive?.icon === void 0 ? /* @__PURE__ */ P(Tt, {
59859
59862
  ...g,
59860
59863
  className: "text-secondary"
59861
59864
  }) : e?.uploadArchive?.icon,
@@ -59973,11 +59976,11 @@ var OF = ({ items: e, onRenameValidate: t, validationMessages: n, onMoveToFiles:
59973
59976
  };
59974
59977
  }, NF = ({ additionalButtons: e, expandedPathsLength: t, collapseAll: n }) => {
59975
59978
  let r = t === 0;
59976
- return { additionalButtons: p(() => /* @__PURE__ */ F(rt, { children: [e, /* @__PURE__ */ P(ye, {
59979
+ return { additionalButtons: p(() => /* @__PURE__ */ F(nt, { children: [e, /* @__PURE__ */ P(ve, {
59977
59980
  disabled: r,
59978
59981
  size: pe.Small,
59979
59982
  onClick: n,
59980
- icon: /* @__PURE__ */ P(_t, {
59983
+ icon: /* @__PURE__ */ P(gt, {
59981
59984
  size: k.LG,
59982
59985
  stroke: 1.5
59983
59986
  }),
@@ -60083,8 +60086,8 @@ function RF({ selectedPaths: e, defaultSelectedPaths: t, onSelectedPathsChange:
60083
60086
  isControlled: r
60084
60087
  };
60085
60088
  }
60086
- var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem: i, path: a, defaultPath: o, filesLoading: c, selectedPaths: u, defaultSelectedPaths: d, onSelectedPathsChange: f, showHiddenFiles: g, onShowHiddenFilesChange: _, treeOptions: v, showNavigationPanel: y = !0, navigationPanelOptions: b, deleteConfirmationOptions: x, gridOptions: S, toolbarOptions: C, bulkActionsToolbarOptions: w, destinationFolderPopupOptions: T, conflictResolutionPopupOptions: E, onPathChange: ee, onTableFileClick: D, handleSelectionClick: O, onGridApiChange: te, onCopyFiles: k, onMoveToFiles: A, onDeleteFiles: j, onDownloadFiles: ne, onRenameValidate: re, renameValidationMessages: M, forbiddenSymbolsRegExp: ie = Te, forbiddenSymbolsTooltip: ae, onUploadFiles: oe, onValidateUpload: se, uploadEnabled: ce, uploadValidationMessages: le, maxFileSize: ue, onUploadArchive: de, prepareUploadFileName: fe, onCreateFolder: pe, onCreateFolderValidate: me, folderCreationValidationMessages: he, fileMetadataPopupOptions: ge, onGetInfo: _e, onUnshareFiles: ve, onRemoveFilesAccess: ye, actionsRef: N, sharedByMePaths: be, onSearchFiles: xe, searchResults: Se, searchInProgress: Ce, clearSearchResults: we, allowedFileTypes: Ee, maxSelectableFileSize: De, getDisabledTooltip: Oe, fileTooLargeTooltip: ke, unsupportedFileTypeTooltip: Ae, emptyStateIcon: je, emptyStateTitle: Me, emptyStateDescription: Ne, sharedWithMeIds: Pe, onFolderPopupPathChange: Fe, onManagePermissions: Ie, onPreview: Le, onOpenInNewTab: Re, previewExtensions: ze, isRenameFileAvailable: Be, isDuplicateFolderAvailable: Ve, customUploadFileAction: He, customCreateNewItemAction: Ue, customDuplicateAction: We, customDeleteItemsAction: Ge, customDownloadItemsAction: Ke, customBreakpointRef: qe, gridClassName: Je, nonClickableTableColumns: Ye, hideSearchPathItemName: Xe, showHiddenFileSwitcherInDestinationPopup: Ze, showCreateFolderButtonInDestinationPopup: Qe, autoSelectUploadedItems: $e = !1, maxNewFolderDepth: et, onNewFolderDepthExceeded: tt, initialUploadFilesOpen: nt }) => {
60087
- let { selectedPaths: rt, clearSelection: F, setSelectedPaths: it } = RF({
60089
+ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem: i, path: a, defaultPath: o, filesLoading: c, selectedPaths: u, defaultSelectedPaths: d, onSelectedPathsChange: f, showHiddenFiles: g, onShowHiddenFilesChange: _, treeOptions: v, showNavigationPanel: y = !0, navigationPanelOptions: b, deleteConfirmationOptions: x, gridOptions: S, toolbarOptions: C, bulkActionsToolbarOptions: w, destinationFolderPopupOptions: T, conflictResolutionPopupOptions: E, onPathChange: ee, onTableFileClick: D, handleSelectionClick: O, onGridApiChange: te, onCopyFiles: k, onMoveToFiles: A, onDeleteFiles: j, onDownloadFiles: ne, onRenameValidate: re, renameValidationMessages: M, forbiddenSymbolsRegExp: ie = we, forbiddenSymbolsTooltip: ae, onUploadFiles: oe, onValidateUpload: se, uploadEnabled: ce, uploadValidationMessages: le, maxFileSize: ue, onUploadArchive: de, prepareUploadFileName: fe, onCreateFolder: pe, onCreateFolderValidate: me, folderCreationValidationMessages: he, fileMetadataPopupOptions: ge, onGetInfo: _e, onUnshareFiles: ve, onRemoveFilesAccess: ye, actionsRef: N, sharedByMePaths: be, onSearchFiles: xe, searchResults: Se, searchInProgress: Ce, clearSearchResults: Te, allowedFileTypes: Ee, maxSelectableFileSize: De, getDisabledTooltip: Oe, fileTooLargeTooltip: ke, unsupportedFileTypeTooltip: Ae, emptyStateIcon: je, emptyStateTitle: Me, emptyStateDescription: Ne, sharedWithMeIds: Pe, onFolderPopupPathChange: Fe, onManagePermissions: Ie, onPreview: Le, onOpenInNewTab: Re, previewExtensions: ze, isRenameFileAvailable: Be, isDuplicateFolderAvailable: Ve, customUploadFileAction: He, customCreateNewItemAction: Ue, customDuplicateAction: We, customDeleteItemsAction: Ge, customDownloadItemsAction: Ke, customBreakpointRef: qe, gridClassName: Je, nonClickableTableColumns: Ye, hideSearchPathItemName: Xe, showHiddenFileSwitcherInDestinationPopup: Ze, showCreateFolderButtonInDestinationPopup: Qe, autoSelectUploadedItems: $e = !1, maxNewFolderDepth: et, onNewFolderDepthExceeded: tt, initialUploadFilesOpen: nt }) => {
60090
+ let { selectedPaths: F, clearSelection: rt, setSelectedPaths: it } = RF({
60088
60091
  selectedPaths: u,
60089
60092
  defaultSelectedPaths: d,
60090
60093
  onSelectedPathsChange: f
@@ -60109,33 +60112,33 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60109
60112
  }), de?.(e, t, n);
60110
60113
  }, [de, $e]), ut = p(() => {
60111
60114
  let e = /* @__PURE__ */ new Map();
60112
- return rt.forEach((t) => {
60115
+ return F.forEach((t) => {
60113
60116
  let n = UP(r, t);
60114
60117
  n && e.set(t, n);
60115
60118
  }), e;
60116
- }, [rt, r]);
60119
+ }, [F, r]);
60117
60120
  l(() => {
60118
- if (rt.size === 0) return;
60121
+ if (F.size === 0) return;
60119
60122
  let e = !1;
60120
- for (let t of rt) if (!UP(r, t)) {
60123
+ for (let t of F) if (!UP(r, t)) {
60121
60124
  e = !0;
60122
60125
  break;
60123
60126
  }
60124
60127
  if (e) {
60125
60128
  let e = /* @__PURE__ */ new Set();
60126
- for (let t of rt) UP(r, t) && e.add(t);
60129
+ for (let t of F) UP(r, t) && e.add(t);
60127
60130
  it(e);
60128
60131
  }
60129
60132
  }, [
60130
60133
  r,
60131
- rt,
60134
+ F,
60132
60135
  it
60133
60136
  ]);
60134
60137
  let { currentPath: dt, setCurrentPath: ft, handlePathChange: pt } = hF({
60135
60138
  path: a,
60136
60139
  defaultPath: o,
60137
60140
  onPathChange: ee,
60138
- onSelectionClear: F
60141
+ onSelectionClear: rt
60139
60142
  }), mt = p(() => {
60140
60143
  let { showFiles: e = !0, showFolders: t = !0, ...n } = S || {};
60141
60144
  return {
@@ -60158,7 +60161,7 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60158
60161
  onMoveToFiles: A
60159
60162
  }), { isSearchMode: Nt, searchValue: Pt, effectiveSearchValue: Ft, setSearchValue: It, handleSearchChange: Lt, handleSearchClear: Rt, searchResultsRows: zt } = LF({
60160
60163
  onSearchFiles: xe,
60161
- clearSearchResults: we,
60164
+ clearSearchResults: Te,
60162
60165
  currentPath: dt,
60163
60166
  searchResults: Se,
60164
60167
  searchInProgress: Ce,
@@ -60172,9 +60175,9 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60172
60175
  getDestinationFiles: (e) => WP(r, e)?.items ?? [],
60173
60176
  onCopyFiles: k,
60174
60177
  onMoveToFiles: A,
60175
- onCopySuccess: F,
60176
- onMoveSuccess: F,
60177
- onDuplicateSuccess: F,
60178
+ onCopySuccess: rt,
60179
+ onMoveSuccess: rt,
60180
+ onDuplicateSuccess: rt,
60178
60181
  getCopyHeader: T?.getCopyHeader,
60179
60182
  getMoveHeader: T?.getMoveHeader
60180
60183
  });
@@ -60183,11 +60186,11 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60183
60186
  }, [Jt, bt]);
60184
60187
  let { deleteConfirmationOpen: cn, itemsToDelete: ln, openDeleteConfirmation: un, closeDeleteConfirmation: dn, confirmDelete: fn } = gF({
60185
60188
  onDeleteFiles: j,
60186
- onDeleteSuccess: F
60189
+ onDeleteSuccess: rt
60187
60190
  }), { handleDownloadFiles: pn } = _F({
60188
60191
  onDownloadFiles: ne,
60189
60192
  customDownloadItemsAction: Ke,
60190
- onDownloadSuccess: F
60193
+ onDownloadSuccess: rt
60191
60194
  }), { isDragging: mn, isDraggingOverWindow: hn, uploadError: gn, handleDragEnter: _n, handleDragLeave: vn, handleDragOver: yn, handleDrop: bn, clearError: xn, openFileDialog: Sn, fileInputRef: Cn, openArchiveDialog: wn, uploadConflictingFiles: Tn, uploadConflictResolutionOpen: En, closeUploadConflictResolution: Dn, handleUploadConflictReplace: On, handleUploadConflictDuplicate: kn, handleUploadConflictCancel: An, handleUploadConflictDecideForEach: jn } = yF({
60192
60195
  onUploadFiles: ct,
60193
60196
  onValidateUpload: se,
@@ -60481,10 +60484,10 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60481
60484
  isTreeCollapsed: Ct,
60482
60485
  toggleTreeCollapse: wt,
60483
60486
  setIsTreeCollapsed: Tt,
60484
- selectedPaths: rt,
60487
+ selectedPaths: F,
60485
60488
  selectedFiles: ut,
60486
60489
  setSelectedPaths: it,
60487
- clearSelection: F,
60490
+ clearSelection: rt,
60488
60491
  currentFolder: Bt,
60489
60492
  gridRows: er,
60490
60493
  handleCopyTo: Ut,
@@ -60575,7 +60578,7 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60575
60578
  onSearchFiles: xe,
60576
60579
  searchInProgress: Ce,
60577
60580
  searchResults: Se,
60578
- clearSearchResults: we,
60581
+ clearSearchResults: Te,
60579
60582
  isSearchMode: Nt,
60580
60583
  emptyStateIcon: je,
60581
60584
  emptyStateTitle: Me,
@@ -60645,10 +60648,10 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60645
60648
  i,
60646
60649
  a
60647
60650
  ]);
60648
- return /* @__PURE__ */ P(rt, { children: f && c && Zt(/* @__PURE__ */ F(Ye, {
60651
+ return /* @__PURE__ */ P(nt, { children: f && c && Xt(/* @__PURE__ */ F(Je, {
60649
60652
  open: !0,
60650
- placement: Ze.Top,
60651
- children: [/* @__PURE__ */ P(Qe, {
60653
+ placement: Xe.Top,
60654
+ children: [/* @__PURE__ */ P(Ze, {
60652
60655
  asChild: !0,
60653
60656
  children: /* @__PURE__ */ P("div", {
60654
60657
  className: (0, rP.default)("fixed z-[-1]", f && "pointer-events-none"),
@@ -60659,7 +60662,7 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60659
60662
  height: c.height
60660
60663
  }
60661
60664
  })
60662
- }), /* @__PURE__ */ P(Xe, {
60665
+ }), /* @__PURE__ */ P(Ye, {
60663
60666
  className: "text-center",
60664
60667
  children: f
60665
60668
  })]
@@ -60678,7 +60681,7 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60678
60681
  return f && e.push({
60679
60682
  key: "add-folder",
60680
60683
  label: c,
60681
- icon: /* @__PURE__ */ P(kt, {
60684
+ icon: /* @__PURE__ */ P(Ot, {
60682
60685
  ...g,
60683
60686
  className: "text-secondary"
60684
60687
  }),
@@ -60688,7 +60691,7 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60688
60691
  }), d && e.push({
60689
60692
  key: "show-hidden-files",
60690
60693
  label: u,
60691
- icon: /* @__PURE__ */ P(St, {
60694
+ icon: /* @__PURE__ */ P(xt, {
60692
60695
  ...g,
60693
60696
  className: "text-secondary"
60694
60697
  }),
@@ -60711,12 +60714,12 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60711
60714
  r,
60712
60715
  ee
60713
60716
  ]), ae = l === pP.Copy ? "Copy to" : "Move to", oe = p(() => !w || !S ? !1 : S === w, [w, S]);
60714
- return /* @__PURE__ */ P(Me, {
60717
+ return /* @__PURE__ */ P(je, {
60715
60718
  open: i,
60716
60719
  onClose: () => {
60717
60720
  e();
60718
60721
  },
60719
- size: Ne.Lg,
60722
+ size: Me.Lg,
60720
60723
  className: "md:!h-[800px] !bg-layer-sunken",
60721
60724
  footer: /* @__PURE__ */ F("div", {
60722
60725
  className: "flex justify-between items-center gap-2 p-4 md:px-6",
@@ -60726,24 +60729,24 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60726
60729
  items: M,
60727
60730
  open: k,
60728
60731
  onOpenChange: A,
60729
- children: /* @__PURE__ */ P(ye, {
60732
+ children: /* @__PURE__ */ P(ve, {
60730
60733
  size: pe.Large,
60731
60734
  "aria-label": "More options",
60732
- icon: /* @__PURE__ */ P(yt, { ...g })
60735
+ icon: /* @__PURE__ */ P(vt, { ...g })
60733
60736
  })
60734
- }) : /* @__PURE__ */ F(rt, { children: [
60735
- f && /* @__PURE__ */ P(Pe, {
60737
+ }) : /* @__PURE__ */ F(nt, { children: [
60738
+ f && /* @__PURE__ */ P(Ne, {
60736
60739
  label: c,
60737
60740
  appearance: v.Ghost,
60738
- iconBefore: /* @__PURE__ */ P(kt, { ...g }),
60741
+ iconBefore: /* @__PURE__ */ P(Ot, { ...g }),
60739
60742
  onClick: () => {
60740
60743
  j.current?.createFolder();
60741
60744
  }
60742
60745
  }),
60743
60746
  f && d && /* @__PURE__ */ P("div", { className: "w-px h-[26px] bg-control-disable-primary my-2" }),
60744
- d && /* @__PURE__ */ P(rt, { children: /* @__PURE__ */ P("div", {
60747
+ d && /* @__PURE__ */ P(nt, { children: /* @__PURE__ */ P("div", {
60745
60748
  className: "inline-flex items-center cursor-pointer",
60746
- children: /* @__PURE__ */ P(We, {
60749
+ children: /* @__PURE__ */ P(Ue, {
60747
60750
  labelProps: { label: u },
60748
60751
  isOn: O,
60749
60752
  onChange: re,
@@ -60753,18 +60756,18 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60753
60756
  ] })
60754
60757
  }), /* @__PURE__ */ F("div", {
60755
60758
  className: "flex space-x-4 items-center",
60756
- children: [/* @__PURE__ */ P(Ee, {
60759
+ children: [/* @__PURE__ */ P(Te, {
60757
60760
  onClick: e,
60758
60761
  label: "Cancel"
60759
- }), oe ? /* @__PURE__ */ P(Je, {
60762
+ }), oe ? /* @__PURE__ */ P(qe, {
60760
60763
  tooltip: C,
60761
- children: /* @__PURE__ */ P(Pe, {
60764
+ children: /* @__PURE__ */ P(Ne, {
60762
60765
  onClick: t,
60763
60766
  label: l === "copy" ? a : o,
60764
60767
  disabled: oe,
60765
60768
  "aria-disabled": oe
60766
60769
  })
60767
- }) : /* @__PURE__ */ P(Pe, {
60770
+ }) : /* @__PURE__ */ P(Ne, {
60768
60771
  onClick: t,
60769
60772
  label: l === "copy" ? a : o
60770
60773
  })]
@@ -60776,13 +60779,13 @@ var zF = ({ managerLabel: e, children: t, className: n, items: r = [], rootItem:
60776
60779
  className: "bg-layer-sunken h-full flex flex-col",
60777
60780
  children: [E && /* @__PURE__ */ P("div", {
60778
60781
  className: "px-6 mb-4 pt-4",
60779
- children: /* @__PURE__ */ P(ke, { ...E })
60782
+ children: /* @__PURE__ */ P(Oe, { ...E })
60780
60783
  }), /* @__PURE__ */ P("div", {
60781
60784
  className: "flex-1 min-h-0",
60782
60785
  children: /* @__PURE__ */ P(TI, {
60783
60786
  ...D,
60784
60787
  gridClassName: "size-full",
60785
- className: tt(D.className, "bg-layer-sunken h-full flex pt-0"),
60788
+ className: et(D.className, "bg-layer-sunken h-full flex pt-0"),
60786
60789
  actionsRef: j,
60787
60790
  path: w,
60788
60791
  showHiddenFiles: O,
@@ -60870,10 +60873,10 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
60870
60873
  actionsGap: GF,
60871
60874
  containerPadding: KF
60872
60875
  }), u = e(r);
60873
- return /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("div", {
60876
+ return /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("div", {
60874
60877
  ref: s,
60875
60878
  className: "absolute top-0 left-0 invisible pointer-events-none overflow-hidden whitespace-nowrap flex gap-3",
60876
- children: n.map(({ key: e, icon: t, title: n }) => /* @__PURE__ */ P(Ee, {
60879
+ children: n.map(({ key: e, icon: t, title: n }) => /* @__PURE__ */ P(Te, {
60877
60880
  iconBefore: t,
60878
60881
  label: n
60879
60882
  }, e))
@@ -60884,23 +60887,23 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
60884
60887
  "aria-label": "File bulk actions",
60885
60888
  children: [/* @__PURE__ */ P("div", {
60886
60889
  ref: o,
60887
- children: /* @__PURE__ */ P(Pe, {
60890
+ children: /* @__PURE__ */ P(Ne, {
60888
60891
  label: u,
60889
60892
  onClick: t,
60890
60893
  textClassName: "text-accent whitespace-nowrap",
60891
60894
  appearance: v.Ghost,
60892
- iconBefore: /* @__PURE__ */ P(Xt, { ...g })
60895
+ iconBefore: /* @__PURE__ */ P(Yt, { ...g })
60893
60896
  })
60894
60897
  }), /* @__PURE__ */ F("div", {
60895
60898
  className: "flex flex-1 w-full gap-3 items-center justify-end",
60896
60899
  children: [l.length > 0 && /* @__PURE__ */ P(ue, {
60897
60900
  items: l,
60898
60901
  allowedPlacements: ["bottom", "bottom-start"],
60899
- children: /* @__PURE__ */ P(ye, {
60902
+ children: /* @__PURE__ */ P(ve, {
60900
60903
  className: "h-[38px]",
60901
- icon: /* @__PURE__ */ P(yt, { ...g })
60904
+ icon: /* @__PURE__ */ P(vt, { ...g })
60902
60905
  })
60903
- }), c.map(({ key: e, icon: t, tooltip: n, title: r, onClick: i, disabled: a }) => /* @__PURE__ */ P(Ee, {
60906
+ }), c.map(({ key: e, icon: t, tooltip: n, title: r, onClick: i, disabled: a }) => /* @__PURE__ */ P(Te, {
60904
60907
  className: "!p-[9px]",
60905
60908
  iconBefore: t,
60906
60909
  label: r,
@@ -60918,7 +60921,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
60918
60921
  className: "px-6 py-3 dial-small-text",
60919
60922
  children: [/* @__PURE__ */ P("p", {
60920
60923
  className: "text-secondary mb-3",
60921
- children: t.length === 1 ? /* @__PURE__ */ F(rt, { children: [
60924
+ children: t.length === 1 ? /* @__PURE__ */ F(nt, { children: [
60922
60925
  "Do you want to delete file or folder",
60923
60926
  " ",
60924
60927
  /* @__PURE__ */ F("span", {
@@ -60930,7 +60933,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
60930
60933
  ]
60931
60934
  }),
60932
60935
  "?"
60933
- ] }) : /* @__PURE__ */ F(rt, { children: [
60936
+ ] }) : /* @__PURE__ */ F(nt, { children: [
60934
60937
  "Do you want to delete the following",
60935
60938
  " ",
60936
60939
  /* @__PURE__ */ P("span", {
@@ -60939,13 +60942,13 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
60939
60942
  }),
60940
60943
  " items?"
60941
60944
  ] })
60942
- }), t.length > 1 && /* @__PURE__ */ P(rt, { children: t.length <= 10 ? /* @__PURE__ */ P("ul", {
60945
+ }), t.length > 1 && /* @__PURE__ */ P(nt, { children: t.length <= 10 ? /* @__PURE__ */ P("ul", {
60943
60946
  className: "space-y-1 text-primary list-none",
60944
60947
  children: t.map((e) => /* @__PURE__ */ P("li", {
60945
60948
  className: "truncate",
60946
60949
  children: e.name
60947
60950
  }, e.path))
60948
- }) : /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("ul", {
60951
+ }) : /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("ul", {
60949
60952
  className: "space-y-1 text-primary list-none mb-2",
60950
60953
  children: t.slice(0, 10).map((e) => /* @__PURE__ */ P("li", {
60951
60954
  className: "truncate",
@@ -61028,10 +61031,10 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61028
61031
  S
61029
61032
  ]), O = s(() => {
61030
61033
  (!f || String(f).trim() === "") && y?.("");
61031
- }, [f, y]), te = s(() => S && T ? /* @__PURE__ */ P(ye, {
61034
+ }, [f, y]), te = s(() => S && T ? /* @__PURE__ */ P(ve, {
61032
61035
  size: pe.Standard,
61033
61036
  "aria-label": C,
61034
- icon: /* @__PURE__ */ P(ot, { ...g }),
61037
+ icon: /* @__PURE__ */ P(at, { ...g }),
61035
61038
  onClick: () => {
61036
61039
  E(!1), y?.("");
61037
61040
  }
@@ -61054,17 +61057,17 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61054
61057
  y
61055
61058
  ]);
61056
61059
  return /* @__PURE__ */ F("div", {
61057
- className: tt(XF, { "gap-3": S }, l),
61060
+ className: et(XF, { "gap-3": S }, l),
61058
61061
  "aria-label": "navigation-panel",
61059
61062
  children: [te(), d && /* @__PURE__ */ P("div", {
61060
- className: tt(QF, {
61063
+ className: et(QF, {
61061
61064
  "w-[40px]": S && !T,
61062
61065
  "w-full": S && T
61063
61066
  }),
61064
61067
  role: "search",
61065
61068
  "aria-label": "Search",
61066
61069
  onClick: D,
61067
- children: /* @__PURE__ */ P(Le, {
61070
+ children: /* @__PURE__ */ P(Ie, {
61068
61071
  id: m,
61069
61072
  value: f ?? "",
61070
61073
  onChange: ee,
@@ -61081,7 +61084,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61081
61084
  let _ = HF(), v = p(() => [{
61082
61085
  key: "hidden-files-switch",
61083
61086
  label: r ? f : d,
61084
- icon: P(r ? Ct : St, {
61087
+ icon: P(r ? St : xt, {
61085
61088
  ...g,
61086
61089
  className: "text-secondary"
61087
61090
  }),
@@ -61096,24 +61099,24 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61096
61099
  className: "flex w-full justify-between gap-4 items-center overflow-x-auto py-[2px] my-[-2px]",
61097
61100
  children: [/* @__PURE__ */ P("div", {
61098
61101
  className: "flex-1 min-w-0",
61099
- children: e && t && n ? /* @__PURE__ */ P(Ge, {
61102
+ children: e && t && n ? /* @__PURE__ */ P(We, {
61100
61103
  tabs: e,
61101
61104
  activeTabId: t,
61102
61105
  onTabChange: (e) => n(e)
61103
61106
  }) : null
61104
61107
  }), /* @__PURE__ */ P("div", {
61105
61108
  className: "flex gap-2 shrink-0 items-center",
61106
- children: _ ? /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P(ue, {
61109
+ children: _ ? /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P(ue, {
61107
61110
  items: v,
61108
61111
  allowedPlacements: ["bottom", "bottom-start"],
61109
- children: /* @__PURE__ */ P(ye, {
61112
+ children: /* @__PURE__ */ P(ve, {
61110
61113
  size: pe.Small,
61111
- icon: /* @__PURE__ */ P(yt, {
61114
+ icon: /* @__PURE__ */ P(vt, {
61112
61115
  stroke: 2,
61113
61116
  size: k.SM
61114
61117
  })
61115
61118
  })
61116
- }), a ? /* @__PURE__ */ P(Je, {
61119
+ }), a ? /* @__PURE__ */ P(qe, {
61117
61120
  tooltip: o && h ? h : void 0,
61118
61121
  children: /* @__PURE__ */ P(y, {
61119
61122
  label: l,
@@ -61121,12 +61124,12 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61121
61124
  items: c,
61122
61125
  disabled: o
61123
61126
  })
61124
- }) : null] }) : /* @__PURE__ */ F(rt, { children: [m && /* @__PURE__ */ P(We, {
61127
+ }) : null] }) : /* @__PURE__ */ F(nt, { children: [m && /* @__PURE__ */ P(Ue, {
61125
61128
  id: "hidden-files-switch",
61126
61129
  labelProps: { label: u },
61127
61130
  isOn: r,
61128
61131
  onChange: i
61129
- }), a && /* @__PURE__ */ P(Je, {
61132
+ }), a && /* @__PURE__ */ P(qe, {
61130
61133
  tooltip: o && h ? h : void 0,
61131
61134
  children: /* @__PURE__ */ P(y, {
61132
61135
  label: l,
@@ -61137,10 +61140,10 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61137
61140
  })] })
61138
61141
  })]
61139
61142
  });
61140
- }, tI = 100, nI = 16, rI = "text-secondary", iI = "text-primary min-w-0", aI = "text-primary break-words min-w-0", oI = "bg-layer-sunken", sI = ({ open: e, onClose: t, fileMetadata: n, loading: r = !1, header: i = "Information", nameLabel: a = "Name:", pathLabel: o = "Path:", modifiedDateLabel: s = "Modified Date:", sizeLabel: c = "Size:", authorLabel: l = "Author:", dateLocale: u = "en-US", dateOptions: d }) => /* @__PURE__ */ P(Me, {
61143
+ }, tI = 100, nI = 16, rI = "text-secondary", iI = "text-primary min-w-0", aI = "text-primary break-words min-w-0", oI = "bg-layer-sunken", sI = ({ open: e, onClose: t, fileMetadata: n, loading: r = !1, header: i = "Information", nameLabel: a = "Name:", pathLabel: o = "Path:", modifiedDateLabel: s = "Modified Date:", sizeLabel: c = "Size:", authorLabel: l = "Author:", dateLocale: u = "en-US", dateOptions: d }) => /* @__PURE__ */ P(je, {
61141
61144
  open: e,
61142
61145
  onClose: t,
61143
- size: Ne.Sm,
61146
+ size: Me.Sm,
61144
61147
  header: i,
61145
61148
  ariaLabel: "File information",
61146
61149
  children: /* @__PURE__ */ P("div", {
@@ -61148,13 +61151,13 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61148
61151
  children: /* @__PURE__ */ P("div", {
61149
61152
  className: "grid gap-4 items-center dial-small-text",
61150
61153
  style: { gridTemplateColumns: `${tI}px 1fr` },
61151
- children: r ? /* @__PURE__ */ F(rt, { children: [
61154
+ children: r ? /* @__PURE__ */ F(nt, { children: [
61152
61155
  /* @__PURE__ */ P("div", {
61153
61156
  className: rI,
61154
61157
  children: a
61155
61158
  }),
61156
- /* @__PURE__ */ P(Be, {
61157
- variant: He.Text,
61159
+ /* @__PURE__ */ P(ze, {
61160
+ variant: Ve.Text,
61158
61161
  width: "100%",
61159
61162
  height: nI,
61160
61163
  className: oI
@@ -61163,8 +61166,8 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61163
61166
  className: rI,
61164
61167
  children: s
61165
61168
  }),
61166
- /* @__PURE__ */ P(Be, {
61167
- variant: He.Text,
61169
+ /* @__PURE__ */ P(ze, {
61170
+ variant: Ve.Text,
61168
61171
  width: "90%",
61169
61172
  height: nI,
61170
61173
  className: oI
@@ -61173,8 +61176,8 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61173
61176
  className: rI,
61174
61177
  children: c
61175
61178
  }),
61176
- /* @__PURE__ */ P(Be, {
61177
- variant: He.Text,
61179
+ /* @__PURE__ */ P(ze, {
61180
+ variant: Ve.Text,
61178
61181
  width: "60%",
61179
61182
  height: nI,
61180
61183
  className: oI
@@ -61183,8 +61186,8 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61183
61186
  className: rI,
61184
61187
  children: l
61185
61188
  }),
61186
- /* @__PURE__ */ P(Be, {
61187
- variant: He.Text,
61189
+ /* @__PURE__ */ P(ze, {
61190
+ variant: Ve.Text,
61188
61191
  width: "80%",
61189
61192
  height: nI,
61190
61193
  className: oI
@@ -61193,13 +61196,13 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61193
61196
  className: rI,
61194
61197
  children: o
61195
61198
  }),
61196
- /* @__PURE__ */ P(Be, {
61197
- variant: He.Text,
61199
+ /* @__PURE__ */ P(ze, {
61200
+ variant: Ve.Text,
61198
61201
  width: "70%",
61199
61202
  height: nI,
61200
61203
  className: oI
61201
61204
  })
61202
- ] }) : n ? /* @__PURE__ */ F(rt, { children: [
61205
+ ] }) : n ? /* @__PURE__ */ F(nt, { children: [
61203
61206
  /* @__PURE__ */ P("div", {
61204
61207
  className: rI,
61205
61208
  children: a
@@ -61258,7 +61261,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61258
61261
  })
61259
61262
  })]
61260
61263
  });
61261
- if (r) return c(/* @__PURE__ */ P(Ue, {}));
61264
+ if (r) return c(/* @__PURE__ */ P(He, {}));
61262
61265
  if (t === se.File) {
61263
61266
  let t = o || (e.includes(".") ? e.split(".").pop() : void 0);
61264
61267
  return /* @__PURE__ */ P(re, {
@@ -61273,7 +61276,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61273
61276
  });
61274
61277
  }
61275
61278
  return t === se.Folder ? c(/* @__PURE__ */ P(oe, {
61276
- icon: /* @__PURE__ */ P(Ot, {
61279
+ icon: /* @__PURE__ */ P(Dt, {
61277
61280
  className: s.className,
61278
61281
  size: s.size ?? g.size,
61279
61282
  stroke: s.stroke ?? g.stroke
@@ -61282,16 +61285,16 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61282
61285
  })) : null;
61283
61286
  }, fI = ({ name: e, type: t, elementId: n, loading: r = !1, shared: i = !1, iconClassName: a, iconIndicator: o, iconLabel: s, iconSize: c, iconStroke: l, inputInvalid: u, inputInvalidMessage: d, inputContainerClassName: f, inputIconAfter: p, inputRef: m, onChange: h, sharedIndicatorClassName: _, sharedIndicatorTooltip: v, fileExtension: y }) => {
61284
61287
  let b = () => {
61285
- let e = d?.startsWith(`${je.Warning}__`);
61288
+ let e = d?.startsWith(`${Ae.Warning}__`);
61286
61289
  if (!u && !e) return null;
61287
- let t = d?.replace(`${je.Warning}__`, "");
61288
- return /* @__PURE__ */ P(Je, {
61290
+ let t = d?.replace(`${Ae.Warning}__`, "");
61291
+ return /* @__PURE__ */ P(qe, {
61289
61292
  tooltip: t,
61290
- children: p || (e ? /* @__PURE__ */ P(at, {
61293
+ children: p || (e ? /* @__PURE__ */ P(it, {
61291
61294
  ...g,
61292
61295
  className: "text-warning-icon",
61293
61296
  "aria-label": "warning"
61294
- }) : /* @__PURE__ */ P(it, {
61297
+ }) : /* @__PURE__ */ P(rt, {
61295
61298
  ...g,
61296
61299
  className: "text-error",
61297
61300
  "aria-label": "alert"
@@ -61300,7 +61303,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61300
61303
  };
61301
61304
  return /* @__PURE__ */ F("div", {
61302
61305
  className: "flex gap-2 items-center",
61303
- ...et,
61306
+ ...$e,
61304
61307
  children: [/* @__PURE__ */ P(dI, {
61305
61308
  name: e,
61306
61309
  type: t,
@@ -61314,8 +61317,8 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61314
61317
  fileExtension: y,
61315
61318
  sharedIndicatorClassName: _,
61316
61319
  sharedIndicatorTooltip: v
61317
- }), /* @__PURE__ */ P(Ce, {
61318
- containerClassName: tt("!h-5 !py-[1px] !pl-[7px] pr-[7px]", f),
61320
+ }), /* @__PURE__ */ P(Se, {
61321
+ containerClassName: et("!h-5 !py-[1px] !pl-[7px] pr-[7px]", f),
61319
61322
  id: n,
61320
61323
  value: e,
61321
61324
  onChange: h,
@@ -61325,7 +61328,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61325
61328
  })]
61326
61329
  });
61327
61330
  }, pI = ({ name: e, type: t, elementId: n, editing: r = !1, loading: i = !1, creating: a = !1, shared: o = !1, iconSize: s = _, validate: c, onSave: l, fileExtension: u, onCancel: d, onCreateFolderCancel: f, onCreateFolderSave: p, inputContainerClassName: m, sharedIndicatorClassName: h, sharedIndicatorTooltip: g, hideTooltip: v = !1, forbiddenSymbolsRegExp: y, forbiddenSymbolsTooltip: b, ...x }) => {
61328
- let { value: S, invalid: C, invalidMessage: w, onChange: T, inputRef: E } = nt({
61331
+ let { value: S, invalid: C, invalidMessage: w, onChange: T, inputRef: E } = tt({
61329
61332
  value: e,
61330
61333
  isEditing: r,
61331
61334
  isCreating: a,
@@ -61413,7 +61416,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61413
61416
  items: oe,
61414
61417
  children: /* @__PURE__ */ F("div", {
61415
61418
  style: { paddingLeft: `${n * lI}px` },
61416
- className: tt("py-1 pr-3 gap-2 dial-small-paragraph-text flex justify-between hover:bg-control-accent-alpha-hover rounded group/item w-full relative", ae),
61419
+ className: et("py-1 pr-3 gap-2 dial-small-paragraph-text flex justify-between hover:bg-control-accent-alpha-hover rounded group/item w-full relative", ae),
61417
61420
  "aria-selected": k,
61418
61421
  children: [
61419
61422
  !j && /* @__PURE__ */ P("div", {
@@ -61423,7 +61426,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61423
61426
  /* @__PURE__ */ P("div", {
61424
61427
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
61425
61428
  onClick: () => !j && O(e),
61426
- children: /* @__PURE__ */ F(rt, { children: [x && /* @__PURE__ */ P(lt, {
61429
+ children: /* @__PURE__ */ F(nt, { children: [x && /* @__PURE__ */ P(ct, {
61427
61430
  ...cI,
61428
61431
  className: (0, rP.default)("flex-shrink-0", D && "rotate-90 transition-all", ne && !E && "text-transparent")
61429
61432
  }), /* @__PURE__ */ P(pI, {
@@ -61432,7 +61435,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61432
61435
  type: x ? se.Folder : se.File,
61433
61436
  loading: A,
61434
61437
  shared: re,
61435
- sharedIndicatorClassName: tt("group-hover/item:bg-control-accent-alpha-hover", k && "bg-control-accent-alpha"),
61438
+ sharedIndicatorClassName: et("group-hover/item:bg-control-accent-alpha-hover", k && "bg-control-accent-alpha"),
61436
61439
  iconSize: DP,
61437
61440
  forbiddenSymbolsRegExp: w,
61438
61441
  forbiddenSymbolsTooltip: ce,
@@ -61454,10 +61457,10 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61454
61457
  allowedPlacements: ["top-start", "top-end"],
61455
61458
  items: oe,
61456
61459
  className: "sticky right-0",
61457
- children: /* @__PURE__ */ P(ye, {
61460
+ children: /* @__PURE__ */ P(ve, {
61458
61461
  size: pe.Small,
61459
61462
  className: "invisible group-hover/item:visible",
61460
- icon: /* @__PURE__ */ P(yt, { ...g })
61463
+ icon: /* @__PURE__ */ P(vt, { ...g })
61461
61464
  })
61462
61465
  })
61463
61466
  })
@@ -61471,7 +61474,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61471
61474
  return /* @__PURE__ */ P("div", {
61472
61475
  className: "flex-1 size-full overflow-y-auto",
61473
61476
  "aria-label": "folders-tree",
61474
- children: e.length > 0 ? te(e, 0) : /* @__PURE__ */ P(Oe, {
61477
+ children: e.length > 0 ? te(e, 0) : /* @__PURE__ */ P(De, {
61475
61478
  title: s,
61476
61479
  description: c,
61477
61480
  icon: l
@@ -61488,7 +61491,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61488
61491
  label: t[$.RemoveAccess],
61489
61492
  title: t[$.RemoveAccess],
61490
61493
  disabled: e,
61491
- icon: /* @__PURE__ */ P(qt, { size: g.size }),
61494
+ icon: /* @__PURE__ */ P(Kt, { size: g.size }),
61492
61495
  onClick: () => {
61493
61496
  s(h), f();
61494
61497
  }
@@ -61516,7 +61519,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61516
61519
  key: $.Duplicate,
61517
61520
  label: t[$.Duplicate],
61518
61521
  title: t[$.Duplicate],
61519
- icon: /* @__PURE__ */ P(gt, { ...g }),
61522
+ icon: /* @__PURE__ */ P(ht, { ...g }),
61520
61523
  onClick: () => n(h)
61521
61524
  }), t[$.Delete]) {
61522
61525
  let e = h.some((e) => e.permissions && !e.permissions.includes(RP.WRITE));
@@ -61524,7 +61527,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61524
61527
  key: $.Delete,
61525
61528
  label: t[$.Delete],
61526
61529
  title: t[$.Delete],
61527
- icon: /* @__PURE__ */ P(Wt, { ...g }),
61530
+ icon: /* @__PURE__ */ P(Ut, { ...g }),
61528
61531
  disabled: e,
61529
61532
  tooltip: e ? "Selected items contain item which can not be deleted" : void 0,
61530
61533
  onClick: () => {
@@ -61536,7 +61539,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61536
61539
  key: $.Download,
61537
61540
  label: t[$.Download],
61538
61541
  title: t[$.Download],
61539
- icon: /* @__PURE__ */ P(bt, { ...g }),
61542
+ icon: /* @__PURE__ */ P(yt, { ...g }),
61540
61543
  onClick: () => a(h)
61541
61544
  }), t[$.Unshare] && o) {
61542
61545
  let e = h.some((e) => !u?.includes(e.path));
@@ -61589,7 +61592,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61589
61592
  className: "flex items-center gap-1 dial-tiny-text text-secondary",
61590
61593
  children: [
61591
61594
  /* @__PURE__ */ P("span", { children: n === IP.ITEM ? YP(r) : "" }),
61592
- i && r && /* @__PURE__ */ P(ht, {
61595
+ i && r && /* @__PURE__ */ P(mt, {
61593
61596
  size: 2,
61594
61597
  className: "text-secondary"
61595
61598
  }),
@@ -61611,7 +61614,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61611
61614
  flex: 1,
61612
61615
  minWidth: 200,
61613
61616
  cellRenderer: (e) => {
61614
- let i = e.data.nodeType, { saveFolderCreation: a, validateFolderName: o, cancelFolderCreation: s, newFolderTempId: c, sharedByMePaths: l, selectedPaths: u, disabledRowIds: d, filesLoading: f } = e.context, p = l?.has(e.data.path), m = u?.has(e.data.path), h = d?.has(e.data.path) ?? !1, g = tt(["group-hover/grid-row:bg-control-accent-alpha-hover", m && "bg-control-accent-alpha"]);
61617
+ let i = e.data.nodeType, { saveFolderCreation: a, validateFolderName: o, cancelFolderCreation: s, newFolderTempId: c, sharedByMePaths: l, selectedPaths: u, disabledRowIds: d, filesLoading: f } = e.context, p = l?.has(e.data.path), m = u?.has(e.data.path), h = d?.has(e.data.path) ?? !1, g = et(["group-hover/grid-row:bg-control-accent-alpha-hover", m && "bg-control-accent-alpha"]);
61615
61618
  if (e.data?.isTemporary && e.data.id === c) return /* @__PURE__ */ P(pI, {
61616
61619
  name: e.data.name,
61617
61620
  type: se.Folder,
@@ -61627,7 +61630,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61627
61630
  onCancel: s,
61628
61631
  onCreateFolderSave: a,
61629
61632
  onCreateFolderCancel: s,
61630
- inputContainerClassName: tt(["!h-9", r && i === IP.ITEM && "!h-10"])
61633
+ inputContainerClassName: et(["!h-9", r && i === IP.ITEM && "!h-10"])
61631
61634
  });
61632
61635
  let { renameTriggerView: _, renamedPath: v, renamedItem: y, getDisplayName: b, onRenameValidate: x, onRenameSave: S, onRenameCancel: C } = e.context;
61633
61636
  if (_ === mP.Grid && v === e.data?.path && y && e.data) return /* @__PURE__ */ P(pI, {
@@ -61642,7 +61645,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61642
61645
  validate: (e) => x(e, y),
61643
61646
  onSave: S,
61644
61647
  onCancel: C,
61645
- inputContainerClassName: tt(["!h-9", r && i === IP.ITEM && "!h-10"]),
61648
+ inputContainerClassName: et(["!h-9", r && i === IP.ITEM && "!h-10"]),
61646
61649
  forbiddenSymbolsRegExp: e.context.forbiddenSymbolsRegExp
61647
61650
  });
61648
61651
  if (r) return /* @__PURE__ */ P(gI, {
@@ -61699,7 +61702,7 @@ var GF = 12, KF = 8, qF = ({ getSelectionLabel: e, onClearSelection: t, actions:
61699
61702
  options: n
61700
61703
  },
61701
61704
  filterValueGetter: (e) => {
61702
- let r = e.data[e.colDef.field || ""], i = $e(r);
61705
+ let r = e.data[e.colDef.field || ""], i = Qe(r);
61703
61706
  return i ? new Intl.DateTimeFormat(t || te, n || O).format(i) : "";
61704
61707
  }
61705
61708
  }), yI = (e) => ({
@@ -61824,7 +61827,7 @@ var SI = () => {
61824
61827
  }), e[$.OpenInNewTab] && typeof h == "function" && p.nodeType === IP.ITEM && !w && C.push({
61825
61828
  key: $.OpenInNewTab,
61826
61829
  label: e[$.OpenInNewTab],
61827
- icon: /* @__PURE__ */ P(xt, {
61830
+ icon: /* @__PURE__ */ P(bt, {
61828
61831
  ...g,
61829
61832
  className: "text-secondary"
61830
61833
  }),
@@ -61834,7 +61837,7 @@ var SI = () => {
61834
61837
  e[$.Duplicate] && T && !w && C.push({
61835
61838
  key: $.Duplicate,
61836
61839
  label: e[$.Duplicate],
61837
- icon: /* @__PURE__ */ P(gt, {
61840
+ icon: /* @__PURE__ */ P(ht, {
61838
61841
  ...g,
61839
61842
  className: "text-secondary"
61840
61843
  }),
@@ -61860,7 +61863,7 @@ var SI = () => {
61860
61863
  }), e[$.Download] && !w && C.push({
61861
61864
  key: $.Download,
61862
61865
  label: e[$.Download],
61863
- icon: /* @__PURE__ */ P(bt, {
61866
+ icon: /* @__PURE__ */ P(yt, {
61864
61867
  ...g,
61865
61868
  className: "text-secondary"
61866
61869
  }),
@@ -61868,7 +61871,7 @@ var SI = () => {
61868
61871
  }), e[$.ManagePermissions] && typeof f == "function" && p.nodeType === IP.FOLDER && !w && C.push({
61869
61872
  key: $.ManagePermissions,
61870
61873
  label: e[$.ManagePermissions],
61871
- icon: /* @__PURE__ */ P(xt, {
61874
+ icon: /* @__PURE__ */ P(bt, {
61872
61875
  ...g,
61873
61876
  className: "text-secondary"
61874
61877
  }),
@@ -61878,7 +61881,7 @@ var SI = () => {
61878
61881
  e[$.Preview] && typeof m == "function" && p.nodeType === IP.ITEM && D && !w && C.push({
61879
61882
  key: $.Preview,
61880
61883
  label: e[$.Preview],
61881
- icon: /* @__PURE__ */ P(St, {
61884
+ icon: /* @__PURE__ */ P(xt, {
61882
61885
  ...g,
61883
61886
  className: "text-secondary"
61884
61887
  }),
@@ -61888,7 +61891,7 @@ var SI = () => {
61888
61891
  e[$.Delete] && O && C.push({
61889
61892
  key: $.Delete,
61890
61893
  label: e[$.Delete],
61891
- icon: /* @__PURE__ */ P(Wt, {
61894
+ icon: /* @__PURE__ */ P(Ut, {
61892
61895
  ...g,
61893
61896
  className: "text-secondary"
61894
61897
  }),
@@ -61898,7 +61901,7 @@ var SI = () => {
61898
61901
  return e[$.Rename] && te && O && C.push({
61899
61902
  key: $.Rename,
61900
61903
  label: e[$.Rename],
61901
- icon: /* @__PURE__ */ P(Lt, {
61904
+ icon: /* @__PURE__ */ P(It, {
61902
61905
  ...g,
61903
61906
  className: "text-secondary"
61904
61907
  }),
@@ -61906,7 +61909,7 @@ var SI = () => {
61906
61909
  }), e[$.Info] && p.nodeType === IP.ITEM && !w && C.push({
61907
61910
  key: $.Info,
61908
61911
  label: e[$.Info],
61909
- icon: /* @__PURE__ */ P(At, {
61912
+ icon: /* @__PURE__ */ P(kt, {
61910
61913
  ...g,
61911
61914
  className: "text-secondary"
61912
61915
  }),
@@ -61923,7 +61926,7 @@ var SI = () => {
61923
61926
  }), e[$.RemoveAccess] && d?.has(p.path) && l && C.push({
61924
61927
  key: $.RemoveAccess,
61925
61928
  label: e[$.RemoveAccess],
61926
- icon: /* @__PURE__ */ P(qt, {
61929
+ icon: /* @__PURE__ */ P(Kt, {
61927
61930
  size: g.size,
61928
61931
  className: "text-secondary"
61929
61932
  }),
@@ -61972,7 +61975,7 @@ var SI = () => {
61972
61975
  ...e,
61973
61976
  children: /* @__PURE__ */ P(EI, {})
61974
61977
  }), EI = () => {
61975
- let { managerLabel: e, className: t, items: n, rootItem: r, filesLoading: i, treeOptions: a, showNavigationPanel: o, navigationPanelOptions: c, gridOptions: l, toolbarOptions: u, bulkActionsToolbarOptions: f, deleteConfirmationOptions: _, destinationFolderPopupOptions: v, conflictResolutionPopupOptions: y, compactViewWidthBreakpoint: b = PP, customBreakpointRef: x, sharedByMePaths: S, allowedFileTypes: C, maxSelectableFileSize: w, areHiddenFilesVisible: ee, toggleHiddenFilesVisibility: D, isTreeCollapsed: O, toggleTreeCollapse: te, currentPath: k, gridRows: A, selectedPaths: j, selectedFiles: ne, clearSelection: re, setSelectedPaths: M, effectiveSearchValue: ie, handleBreadcrumbItemClick: ae, handleSearchChange: oe, handleTreeItemClick: se, handleTableRowClick: ce, handleSelectionClick: le, onGridApiChange: ue, handleOpenDestinationFolderPopup: fe, handleCloseDestinationFolderPopup: pe, openDestinationFolderPopup: me, destinationFolderMode: he, handleSetCopiedFiles: ge, handleSetMovedFiles: _e, handleDuplicate: ve, handleCopyTo: ye, handleMoveTo: be, handleGridAddSibling: xe, handleGridAddChild: Se, handleTreeAddSibling: Ce, handleTreeAddChild: we, handleDownloadFiles: Te, openDeleteConfirmation: Ee, closeDeleteConfirmation: De, confirmDelete: ke, deleteConfirmationOpen: Ae, itemsToDelete: je, renamedPath: Me, renamedItem: Ne, onRename: Pe, onRenameSave: Fe, onRenameCancel: Ie, onRenameValidate: Le, createdFolderPath: Re, forbiddenSymbolsRegExp: ze, forbiddenSymbolsTooltip: Be, getDisplayName: Ve, isDragging: He, isDraggingOverWindow: Ue, handleDragEnter: We, handleDragLeave: Ge, handleDragOver: Ke, handleDrop: qe, onUploadFiles: Je, onValidateUpload: Ye, maxFileSize: Xe, newActions: Ze, isNewButtonVisible: Qe, isNewButtonDisabled: $e, newFolderTempId: et, cancelFolderCreation: nt, saveFolderCreation: rt, validateFolderName: it, startFolderCreation: at, conflictingFiles: ot, conflictResolutionOpen: st, handleConflictReplace: ct, handleConflictDuplicate: lt, handleConflictCancel: ut, handleConflictDecideForEach: dt, uploadConflictingFiles: ft, uploadConflictResolutionOpen: pt, handleUploadConflictReplace: mt, handleUploadConflictDuplicate: ht, handleUploadConflictCancel: _t, handleUploadConflictDecideForEach: vt, openMetadataPopup: yt, fileMetadataPopupOptions: St, isMetadataPopupOpen: Ct, selectedFileForMetadata: wt, closeMetadataPopup: Et, onUnshareFiles: Dt, onRemoveFilesAccess: Ot, actionsRef: kt, searchInProgress: At, isSearchMode: jt, emptyStateIcon: Mt, emptyStateTitle: Nt = "You don't have any files", emptyStateDescription: Pt = "Upload or drag and drop files", sharedWithMeIds: Ft, onFolderPopupPathChange: It, onManagePermissions: Rt, onPreview: zt, onOpenInNewTab: Bt, previewExtensions: Vt, isRenameFileAvailable: Ht, isDuplicateFolderAvailable: Ut, getDisabledTooltip: Gt, fileTooLargeTooltip: Kt, unsupportedFileTypeTooltip: Jt, gridClassName: Yt, nonClickableTableColumns: Xt, hideSearchPathItemName: Zt, showHiddenFileSwitcherInDestinationPopup: Qt, showCreateFolderButtonInDestinationPopup: $t, newFolderDefaultName: en } = SI(), { width: tn = TP, header: nn = EP, containerClassName: rn = SP, additionalButtons: an, ...on } = a ?? {}, [sn, cn] = h(tn), { renameTriggerView: ln, onGridRename: un, onTreeRename: dn } = VP({ onRename: Pe }), { createFolderTriggerView: fn, onGridCreateSiblingFolder: pn, onTreeCreateSiblingFolder: mn, onGridCreateChildFolder: hn, onTreeCreateChildFolder: gn } = wI({
61978
+ let { managerLabel: e, className: t, items: n, rootItem: r, filesLoading: i, treeOptions: a, showNavigationPanel: o, navigationPanelOptions: c, gridOptions: l, toolbarOptions: u, bulkActionsToolbarOptions: f, deleteConfirmationOptions: _, destinationFolderPopupOptions: v, conflictResolutionPopupOptions: y, compactViewWidthBreakpoint: b = PP, customBreakpointRef: x, sharedByMePaths: S, allowedFileTypes: C, maxSelectableFileSize: w, areHiddenFilesVisible: ee, toggleHiddenFilesVisibility: D, isTreeCollapsed: O, toggleTreeCollapse: te, currentPath: k, gridRows: A, selectedPaths: j, selectedFiles: ne, clearSelection: re, setSelectedPaths: M, effectiveSearchValue: ie, handleBreadcrumbItemClick: ae, handleSearchChange: oe, handleTreeItemClick: se, handleTableRowClick: ce, handleSelectionClick: le, onGridApiChange: ue, handleOpenDestinationFolderPopup: fe, handleCloseDestinationFolderPopup: pe, openDestinationFolderPopup: me, destinationFolderMode: he, handleSetCopiedFiles: ge, handleSetMovedFiles: _e, handleDuplicate: ve, handleCopyTo: N, handleMoveTo: be, handleGridAddSibling: xe, handleGridAddChild: Se, handleTreeAddSibling: Ce, handleTreeAddChild: we, handleDownloadFiles: Te, openDeleteConfirmation: Ee, closeDeleteConfirmation: Oe, confirmDelete: ke, deleteConfirmationOpen: Ae, itemsToDelete: je, renamedPath: Me, renamedItem: Ne, onRename: Pe, onRenameSave: Fe, onRenameCancel: Ie, onRenameValidate: Le, createdFolderPath: Re, forbiddenSymbolsRegExp: ze, forbiddenSymbolsTooltip: Be, getDisplayName: Ve, isDragging: He, isDraggingOverWindow: Ue, handleDragEnter: We, handleDragLeave: Ge, handleDragOver: Ke, handleDrop: qe, onUploadFiles: Je, onValidateUpload: Ye, maxFileSize: Xe, newActions: Ze, isNewButtonVisible: Qe, isNewButtonDisabled: $e, newFolderTempId: tt, cancelFolderCreation: nt, saveFolderCreation: rt, validateFolderName: it, startFolderCreation: at, conflictingFiles: ot, conflictResolutionOpen: st, handleConflictReplace: ct, handleConflictDuplicate: lt, handleConflictCancel: ut, handleConflictDecideForEach: dt, uploadConflictingFiles: ft, uploadConflictResolutionOpen: pt, handleUploadConflictReplace: mt, handleUploadConflictDuplicate: gt, handleUploadConflictCancel: _t, handleUploadConflictDecideForEach: vt, openMetadataPopup: xt, fileMetadataPopupOptions: St, isMetadataPopupOpen: Ct, selectedFileForMetadata: Tt, closeMetadataPopup: Et, onUnshareFiles: Dt, onRemoveFilesAccess: Ot, actionsRef: kt, searchInProgress: At, isSearchMode: jt, emptyStateIcon: Mt, emptyStateTitle: Nt = "You don't have any files", emptyStateDescription: Pt = "Upload or drag and drop files", sharedWithMeIds: Ft, onFolderPopupPathChange: Lt, onManagePermissions: Rt, onPreview: zt, onOpenInNewTab: Bt, previewExtensions: Vt, isRenameFileAvailable: Ht, isDuplicateFolderAvailable: Wt, getDisabledTooltip: Gt, fileTooLargeTooltip: qt, unsupportedFileTypeTooltip: Jt, gridClassName: Yt, nonClickableTableColumns: Xt, hideSearchPathItemName: Zt, showHiddenFileSwitcherInDestinationPopup: Qt, showCreateFolderButtonInDestinationPopup: $t, newFolderDefaultName: en } = SI(), { width: tn = TP, header: nn = EP, containerClassName: rn = SP, additionalButtons: an, ...on } = a ?? {}, [sn, cn] = h(tn), { renameTriggerView: ln, onGridRename: un, onTreeRename: dn } = VP({ onRename: Pe }), { createFolderTriggerView: fn, onGridCreateSiblingFolder: pn, onTreeCreateSiblingFolder: mn, onGridCreateChildFolder: hn, onTreeCreateChildFolder: gn } = wI({
61976
61979
  onGridAddSibling: xe,
61977
61980
  onGridAddChild: Se,
61978
61981
  onTreeAddSibling: Ce,
@@ -61985,7 +61988,7 @@ var SI = () => {
61985
61988
  _P.Name,
61986
61989
  _P.Path,
61987
61990
  _P.Actions
61988
- ] : Tn, [jt, Tn]), jn = s((e, t, n) => iF(e, t, n, Jt, Kt), [Kt, Jt]), Mn = s((e, t, n) => !!Gt?.(e) || !!jn(e, t, n), [jn, Gt]), Nn = p(() => {
61991
+ ] : Tn, [jt, Tn]), jn = s((e, t, n) => iF(e, t, n, Jt, qt), [qt, Jt]), Mn = s((e, t, n) => !!Gt?.(e) || !!jn(e, t, n), [jn, Gt]), Nn = p(() => {
61989
61992
  let e = /* @__PURE__ */ new Set();
61990
61993
  for (let t of A) Mn(t, C, w) && e.add(t.path);
61991
61994
  return e;
@@ -62017,7 +62020,7 @@ var SI = () => {
62017
62020
  }), a.actionLabels[$.Duplicate] && !r && !i && n.push({
62018
62021
  key: "duplicate",
62019
62022
  label: a.actionLabels[$.Duplicate],
62020
- icon: /* @__PURE__ */ P(gt, {
62023
+ icon: /* @__PURE__ */ P(ht, {
62021
62024
  ...g,
62022
62025
  className: "text-secondary"
62023
62026
  }),
@@ -62047,7 +62050,7 @@ var SI = () => {
62047
62050
  }), a.actionLabels[$.Download] && !r && !i && n.push({
62048
62051
  key: "download",
62049
62052
  label: a.actionLabels[$.Download],
62050
- icon: /* @__PURE__ */ P(bt, {
62053
+ icon: /* @__PURE__ */ P(yt, {
62051
62054
  ...g,
62052
62055
  className: "text-secondary"
62053
62056
  }),
@@ -62055,7 +62058,7 @@ var SI = () => {
62055
62058
  }), a.actionLabels[$.ManagePermissions] && typeof Rt == "function" && e.nodeType === IP.FOLDER && !r && n.push({
62056
62059
  key: $.ManagePermissions,
62057
62060
  label: a.actionLabels[$.ManagePermissions],
62058
- icon: /* @__PURE__ */ P(xt, {
62061
+ icon: /* @__PURE__ */ P(bt, {
62059
62062
  ...g,
62060
62063
  className: "text-secondary"
62061
62064
  }),
@@ -62063,7 +62066,7 @@ var SI = () => {
62063
62066
  }), a.actionLabels[$.Delete] && e.permissions?.includes(RP.WRITE) && !r && n.push({
62064
62067
  key: "delete",
62065
62068
  label: a.actionLabels[$.Delete],
62066
- icon: /* @__PURE__ */ P(Wt, {
62069
+ icon: /* @__PURE__ */ P(Ut, {
62067
62070
  ...g,
62068
62071
  className: "text-secondary"
62069
62072
  }),
@@ -62071,7 +62074,7 @@ var SI = () => {
62071
62074
  }), a.actionLabels[$.Rename] && !r && n.push({
62072
62075
  key: "rename",
62073
62076
  label: a.actionLabels[$.Rename],
62074
- icon: /* @__PURE__ */ P(Lt, {
62077
+ icon: /* @__PURE__ */ P(It, {
62075
62078
  ...g,
62076
62079
  className: "text-secondary"
62077
62080
  }),
@@ -62088,7 +62091,7 @@ var SI = () => {
62088
62091
  }), a.actionLabels[$.RemoveAccess] && S?.has(e.path) && !r && n.push({
62089
62092
  key: $.RemoveAccess,
62090
62093
  label: a.actionLabels[$.RemoveAccess],
62091
- icon: /* @__PURE__ */ P(qt, {
62094
+ icon: /* @__PURE__ */ P(Kt, {
62092
62095
  size: g.size,
62093
62096
  className: "text-secondary"
62094
62097
  }),
@@ -62265,7 +62268,7 @@ var SI = () => {
62265
62268
  onDownload: (e) => Te([e]),
62266
62269
  onRename: un,
62267
62270
  onDelete: (e, t) => Ee([e], t),
62268
- onInfo: (e) => yt(e),
62271
+ onInfo: (e) => xt(e),
62269
62272
  onUnshare: (e) => Dt?.([e]),
62270
62273
  onRemoveAccess: (e) => Ot?.([e]),
62271
62274
  sharedWithMeIds: Ft,
@@ -62275,7 +62278,7 @@ var SI = () => {
62275
62278
  onOpenInNewTab: (e) => Bt?.(e),
62276
62279
  previewExtensions: Vt,
62277
62280
  isRenameFileAvailable: Ht,
62278
- isDuplicateFolderAvailable: Ut,
62281
+ isDuplicateFolderAvailable: Wt,
62279
62282
  forbiddenSymbolsRegExp: ze,
62280
62283
  onGridCreateSiblingFolder: pn,
62281
62284
  onGridCreateChildFolder: hn
@@ -62304,13 +62307,13 @@ var SI = () => {
62304
62307
  Me,
62305
62308
  ce,
62306
62309
  Xt
62307
- ]), Kn = s(() => /* @__PURE__ */ P(Oe, {
62310
+ ]), Kn = s(() => /* @__PURE__ */ P(De, {
62308
62311
  title: Nt,
62309
62312
  description: Pt,
62310
62313
  descriptionClassName: "text-sm",
62311
62314
  className: "gap-3 size-full bg-layer-sunken border rounded border-primary",
62312
62315
  titleClassName: "mt-2 !text-lg",
62313
- icon: Mt || /* @__PURE__ */ P(Tt, {
62316
+ icon: Mt || /* @__PURE__ */ P(wt, {
62314
62317
  size: 100,
62315
62318
  stroke: .5,
62316
62319
  className: "text-secondary"
@@ -62342,7 +62345,7 @@ var SI = () => {
62342
62345
  renamedItem: Ne,
62343
62346
  renamedPath: Me,
62344
62347
  createdFolderPath: Re,
62345
- newFolderTempId: et,
62348
+ newFolderTempId: tt,
62346
62349
  sharedByMePaths: S,
62347
62350
  selectedPaths: j,
62348
62351
  disabledRowIds: Nn,
@@ -62367,7 +62370,7 @@ var SI = () => {
62367
62370
  Ne,
62368
62371
  Me,
62369
62372
  Re,
62370
- et,
62373
+ tt,
62371
62374
  S,
62372
62375
  j,
62373
62376
  Nn,
@@ -62376,7 +62379,7 @@ var SI = () => {
62376
62379
  Zt,
62377
62380
  en,
62378
62381
  i
62379
- ]), Xn = p(() => A.length === 0 && !jt && !i ? Kn() : /* @__PURE__ */ P(N, {
62382
+ ]), Xn = p(() => A.length === 0 && !jt && !i ? Kn() : /* @__PURE__ */ P(ye, {
62380
62383
  columnDefs: Wn,
62381
62384
  rowData: A,
62382
62385
  getRowId: qn,
@@ -62421,7 +62424,7 @@ var SI = () => {
62421
62424
  ref: On,
62422
62425
  className: "size-full",
62423
62426
  children: /* @__PURE__ */ F("div", {
62424
- className: tt(vP, {
62427
+ className: et(vP, {
62425
62428
  "gap-3 pt-4": f && j.size > 0,
62426
62429
  "gap-4 p-3 pt-4": kn,
62427
62430
  "gap-2 pt-2": kn && f && j.size > 0
@@ -62429,9 +62432,9 @@ var SI = () => {
62429
62432
  children: [
62430
62433
  zn(),
62431
62434
  /* @__PURE__ */ F("div", {
62432
- className: tt(bP, Yt),
62435
+ className: et(bP, Yt),
62433
62436
  children: [Bn(), /* @__PURE__ */ F("div", {
62434
- className: tt(xP, { "gap-3": kn }),
62437
+ className: et(xP, { "gap-3": kn }),
62435
62438
  children: [o && /* @__PURE__ */ P($F, {
62436
62439
  ...c ?? {},
62437
62440
  makeHref: (e) => e.join("/"),
@@ -62446,7 +62449,7 @@ var SI = () => {
62446
62449
  }), /* @__PURE__ */ F("section", {
62447
62450
  role: "region",
62448
62451
  "aria-label": "File Manager Grid View",
62449
- className: tt(CP, "relative"),
62452
+ className: et(CP, "relative"),
62450
62453
  onDragEnter: We,
62451
62454
  onDragLeave: Ge,
62452
62455
  onDragOver: Ke,
@@ -62466,7 +62469,7 @@ var SI = () => {
62466
62469
  ..._,
62467
62470
  open: Ae,
62468
62471
  itemsToDelete: je,
62469
- onClose: De,
62472
+ onClose: Oe,
62470
62473
  onConfirm: ke
62471
62474
  }),
62472
62475
  /* @__PURE__ */ P(UF, {
@@ -62475,7 +62478,7 @@ var SI = () => {
62475
62478
  onClose: pe,
62476
62479
  onConfirm: () => {
62477
62480
  let e = v?.destinationFolderPath ?? "/";
62478
- he === pP.Copy ? ye(e) : be(e), pe();
62481
+ he === pP.Copy ? N(e) : be(e), pe();
62479
62482
  },
62480
62483
  mode: he,
62481
62484
  items: n,
@@ -62497,7 +62500,7 @@ var SI = () => {
62497
62500
  loadedPaths: a?.loadedPaths,
62498
62501
  loadingPaths: a?.loadingPaths
62499
62502
  },
62500
- onFolderPopupPathChange: It,
62503
+ onFolderPopupPathChange: Lt,
62501
62504
  showHiddenFileSwitcher: Qt,
62502
62505
  showCreateFolderButton: $t,
62503
62506
  hideSearchPathItemName: Zt
@@ -62516,14 +62519,14 @@ var SI = () => {
62516
62519
  open: pt,
62517
62520
  onClose: _t,
62518
62521
  onReplace: mt,
62519
- onDuplicate: ht,
62522
+ onDuplicate: gt,
62520
62523
  onDecideForEach: vt,
62521
62524
  conflictingFiles: ft
62522
62525
  }),
62523
62526
  /* @__PURE__ */ P(sI, {
62524
62527
  open: Ct,
62525
62528
  onClose: Et,
62526
- fileMetadata: St?.fileMetadata ?? wt,
62529
+ fileMetadata: St?.fileMetadata ?? Tt,
62527
62530
  loading: St?.loading,
62528
62531
  header: St?.header,
62529
62532
  nameLabel: St?.nameLabel,
@@ -62574,7 +62577,7 @@ var SI = () => {
62574
62577
  let t = NN(e.path), n = [{
62575
62578
  key: "add-child",
62576
62579
  label: l,
62577
- icon: /* @__PURE__ */ P(kt, {
62580
+ icon: /* @__PURE__ */ P(Ot, {
62578
62581
  size: k.SM,
62579
62582
  "aria-hidden": !0
62580
62583
  }),
@@ -62583,20 +62586,20 @@ var SI = () => {
62583
62586
  return e.path !== "" && n.push({
62584
62587
  key: "add-sibling",
62585
62588
  label: c,
62586
- icon: /* @__PURE__ */ P(zt, {
62589
+ icon: /* @__PURE__ */ P(Rt, {
62587
62590
  size: k.SM,
62588
62591
  "aria-hidden": !0
62589
62592
  }),
62590
62593
  onClick: () => me(t.slice(0, -1))
62591
62594
  }), n;
62592
- }, _e = (t) => {
62595
+ }, ve = (t) => {
62593
62596
  if (!D) return null;
62594
62597
  let n = IN(t, RN(e, D), fe);
62595
62598
  return j.current = n, n;
62596
62599
  }, ye = (e) => {
62597
62600
  if (!D) return;
62598
62601
  let t = e.trim(), i = j.current;
62599
- (_e(e) ?? i) || (r(D, t), n([...D, t])), O(null);
62602
+ (ve(e) ?? i) || (r(D, t), n([...D, t])), O(null);
62600
62603
  }, N = () => O(null);
62601
62604
  return /* @__PURE__ */ F("div", {
62602
62605
  style: C,
@@ -62619,7 +62622,7 @@ var SI = () => {
62619
62622
  newFolderDefaultName: te,
62620
62623
  onCreateFolderSave: ye,
62621
62624
  onCreateFolderCancel: N,
62622
- onRenameValidate: (e) => _e(e),
62625
+ onRenameValidate: (e) => ve(e),
62623
62626
  emptyStateTitle: ae ? d.replace("{query}", ne) : void 0
62624
62627
  })
62625
62628
  }),
@@ -62629,15 +62632,15 @@ var SI = () => {
62629
62632
  }),
62630
62633
  /* @__PURE__ */ F("div", {
62631
62634
  className: "mb-4 flex flex-wrap items-center gap-2",
62632
- children: [/* @__PURE__ */ P(ve, {
62635
+ children: [/* @__PURE__ */ P(_e, {
62633
62636
  onClick: he,
62634
62637
  label: o,
62635
- iconBefore: /* @__PURE__ */ P(zt, {
62638
+ iconBefore: /* @__PURE__ */ P(Rt, {
62636
62639
  size: k.SM,
62637
62640
  "aria-hidden": !0
62638
62641
  }),
62639
62642
  disabled: a || re
62640
- }), re && /* @__PURE__ */ P(ve, {
62643
+ }), re && /* @__PURE__ */ P(_e, {
62641
62644
  label: s,
62642
62645
  onClick: N,
62643
62646
  disabled: a
@@ -62704,7 +62707,7 @@ var SI = () => {
62704
62707
  /* @__PURE__ */ P("div", {
62705
62708
  role: "search",
62706
62709
  className: "mb-3",
62707
- children: /* @__PURE__ */ P(Le, {
62710
+ children: /* @__PURE__ */ P(Ie, {
62708
62711
  value: ge,
62709
62712
  onChange: ve,
62710
62713
  placeholder: me,
@@ -62734,8 +62737,8 @@ var SI = () => {
62734
62737
  }),
62735
62738
  N.calloutKind !== CN.None && N.calloutKind !== CN.Info && /* @__PURE__ */ P("div", {
62736
62739
  className: "mt-3",
62737
- children: /* @__PURE__ */ P(ke, {
62738
- type: Ae.SectionMessage,
62740
+ children: /* @__PURE__ */ P(Oe, {
62741
+ type: ke.SectionMessage,
62739
62742
  variant: jI(N.calloutKind),
62740
62743
  message: NI(N.calloutKind, {
62741
62744
  replaceWarning: ne,
@@ -62762,9 +62765,9 @@ var SI = () => {
62762
62765
  })
62763
62766
  ] })]
62764
62767
  });
62765
- }, jI = (e) => e === CN.ReplaceWarning ? je.Warning : je.Error, MI = (e, t) => {
62768
+ }, jI = (e) => e === CN.ReplaceWarning ? Ae.Warning : Ae.Error, MI = (e, t) => {
62766
62769
  let [n, r, ...i] = e.split("{folder}");
62767
- return r === void 0 || i.length > 0 ? e : /* @__PURE__ */ F(rt, { children: [
62770
+ return r === void 0 || i.length > 0 ? e : /* @__PURE__ */ F(nt, { children: [
62768
62771
  n,
62769
62772
  /* @__PURE__ */ P("strong", {
62770
62773
  className: "font-semibold",
@@ -62777,14 +62780,14 @@ var SI = () => {
62777
62780
  return /* @__PURE__ */ F("div", {
62778
62781
  style: c,
62779
62782
  className: I("flex items-center justify-end gap-2 border-t px-3.5 py-4 rtl:flex-row-reverse rtl:justify-start", PI.footer),
62780
- children: [/* @__PURE__ */ P(ve, {
62783
+ children: [/* @__PURE__ */ P(_e, {
62781
62784
  label: l,
62782
62785
  disabled: r,
62783
62786
  onClick: i
62784
- }), /* @__PURE__ */ P(Ee, {
62787
+ }), /* @__PURE__ */ P(Te, {
62785
62788
  label: p,
62786
62789
  disabled: n,
62787
- iconBefore: r ? /* @__PURE__ */ P(Ue, { size: k.SM }) : void 0,
62790
+ iconBefore: r ? /* @__PURE__ */ P(He, { size: k.SM }) : void 0,
62788
62791
  onClick: a
62789
62792
  })]
62790
62793
  });
@@ -62809,7 +62812,7 @@ var SI = () => {
62809
62812
  valueTrue: "_valueTrue_jnq93_17",
62810
62813
  valueFalse: "_valueFalse_jnq93_21",
62811
62814
  valueText: "_valueText_jnq93_25"
62812
- }, BI = ({ value: e, valueClassName: t, valueTrueClassName: n, checkIconClassName: r, yesLabel: i, noLabel: a }) => e === !0 ? /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P(mt, {
62815
+ }, BI = ({ value: e, valueClassName: t, valueTrueClassName: n, checkIconClassName: r, yesLabel: i, noLabel: a }) => e === !0 ? /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P(pt, {
62813
62816
  size: k.MD,
62814
62817
  className: I(r, zI.checkIcon)
62815
62818
  }), /* @__PURE__ */ P("span", {
@@ -62856,17 +62859,17 @@ var SI = () => {
62856
62859
  }, e.label))
62857
62860
  })] })
62858
62861
  }), HI = { sectionHeading: "_sectionHeading_148lj_1" }, UI = {
62859
- [dn.Python]: "Python",
62860
- [dn.Curl]: "cURL",
62861
- [dn.JavaScript]: "JavaScript"
62862
+ [un.Python]: "Python",
62863
+ [un.Curl]: "cURL",
62864
+ [un.JavaScript]: "JavaScript"
62862
62865
  }, WI = {
62863
- [dn.Python]: "python",
62864
- [dn.Curl]: "bash",
62865
- [dn.JavaScript]: "javascript"
62866
+ [un.Python]: "python",
62867
+ [un.Curl]: "bash",
62868
+ [un.JavaScript]: "javascript"
62866
62869
  }, GI = ({ snippets: e, sectionLabel: t, copyAriaLabel: n = "Copy", copiedStatusLabel: r = "Copied!", codeClassName: i = "dial-code-text", codeTitleClassName: a = "dial-tiny-semi-text", sectionClassName: o = "dial-caption-text" }) => {
62867
- let [s, c] = h(e[0]?.language ?? dn.Python);
62870
+ let [s, c] = h(e[0]?.language ?? un.Python);
62868
62871
  l(() => {
62869
- c(e[0]?.language ?? dn.Python);
62872
+ c(e[0]?.language ?? un.Python);
62870
62873
  }, [e]);
62871
62874
  let u = p(() => e.map((e) => ({
62872
62875
  key: e.language,
@@ -62885,7 +62888,7 @@ var SI = () => {
62885
62888
  codeClassName: i,
62886
62889
  languageLabelClassName: a,
62887
62890
  hideDownload: !0,
62888
- titleSlot: f ? /* @__PURE__ */ P(xe, {
62891
+ titleSlot: f ? /* @__PURE__ */ P(be, {
62889
62892
  items: u,
62890
62893
  matchReferenceWidth: !1,
62891
62894
  placement: "bottom-end",
@@ -62936,7 +62939,7 @@ var SI = () => {
62936
62939
  codeClassName: f,
62937
62940
  languageLabelClassName: m,
62938
62941
  hideDownload: !0,
62939
- titleSlot: w ? /* @__PURE__ */ P(xe, {
62942
+ titleSlot: w ? /* @__PURE__ */ P(be, {
62940
62943
  items: S,
62941
62944
  matchReferenceWidth: !1,
62942
62945
  placement: "bottom-end",
@@ -62995,16 +62998,16 @@ var SI = () => {
62995
62998
  footer: "_footer_13mok_9"
62996
62999
  }, JI = ({ confirmLabel: e, cancelLabel: t, variant: n = mn.Info, isLoading: r = !1, isConfirmDisabled: i = !1, loadingStatusLabel: a, onConfirm: o, onCancel: s }) => {
62997
63000
  let c = n === mn.Danger, l = (() => {
62998
- if (r) return /* @__PURE__ */ P(Ue, { size: k.SM });
62999
- if (c) return /* @__PURE__ */ P(Wt, {
63001
+ if (r) return /* @__PURE__ */ P(He, { size: k.SM });
63002
+ if (c) return /* @__PURE__ */ P(Ut, {
63000
63003
  size: k.MD,
63001
63004
  "aria-hidden": !0
63002
63005
  });
63003
- })(), u = c ? A : Ee;
63006
+ })(), u = c ? A : Te;
63004
63007
  return /* @__PURE__ */ F("div", {
63005
63008
  className: I("flex items-center justify-end gap-2 px-6 py-4 rtl:flex-row-reverse rtl:justify-start", qI.footer),
63006
63009
  children: [
63007
- /* @__PURE__ */ P(ve, {
63010
+ /* @__PURE__ */ P(_e, {
63008
63011
  label: t,
63009
63012
  disabled: r,
63010
63013
  onClick: s
@@ -63064,7 +63067,7 @@ var SI = () => {
63064
63067
  className: I("flex size-8 items-center justify-center rounded-lg", eL[n]),
63065
63068
  children: e
63066
63069
  }),
63067
- t && /* @__PURE__ */ P(mt, {
63070
+ t && /* @__PURE__ */ P(pt, {
63068
63071
  size: k.MD,
63069
63072
  "aria-hidden": !0,
63070
63073
  className: I("absolute -end-2 -top-2", QI.activeIcon)
@@ -63103,7 +63106,7 @@ var SI = () => {
63103
63106
  })]
63104
63107
  })]
63105
63108
  }), iL = (e) => e === gn.ApiKey ? "You are currently using organization API key to access this toolset." : "You are currently using organization credentials to access this toolset.", aL = (e) => e === gn.ApiKey ? "Configure your personal API key to have access to your data." : "Login using personal account to have access to your data.", oL = (e) => e === gn.ApiKey ? "Signed in with organization API key." : "Signed in with organization credentials.", sL = (e) => e === gn.ApiKey ? "Signed in with personal API key." : "Signed in with personal credentials.", cL = 20, lL = ({ state: e, authenticationType: t, texts: n }) => {
63106
- let r = /* @__PURE__ */ P(ct, {
63109
+ let r = /* @__PURE__ */ P(st, {
63107
63110
  size: cL,
63108
63111
  "aria-hidden": !0
63109
63112
  });
@@ -63111,7 +63114,7 @@ var SI = () => {
63111
63114
  let e = (n?.personalCredentialsActiveBannerTitle ?? sL)(t);
63112
63115
  return /* @__PURE__ */ P(rL, {
63113
63116
  icon: /* @__PURE__ */ P(tL, {
63114
- icon: /* @__PURE__ */ P(Gt, {
63117
+ icon: /* @__PURE__ */ P(Wt, {
63115
63118
  size: k.SM,
63116
63119
  "aria-hidden": !0
63117
63120
  }),
@@ -63125,7 +63128,7 @@ var SI = () => {
63125
63128
  let e = (n?.orgCredentialsActiveBannerTitle ?? oL)(t);
63126
63129
  return /* @__PURE__ */ P(rL, {
63127
63130
  icon: /* @__PURE__ */ P(tL, {
63128
- icon: /* @__PURE__ */ P(ct, {
63131
+ icon: /* @__PURE__ */ P(st, {
63129
63132
  size: k.SM,
63130
63133
  "aria-hidden": !0
63131
63134
  }),
@@ -63203,7 +63206,7 @@ var SI = () => {
63203
63206
  label: ie,
63204
63207
  className: "min-w-28 shrink-0 justify-center whitespace-nowrap",
63205
63208
  onClick: ne
63206
- }) : /* @__PURE__ */ P(Ee, {
63209
+ }) : /* @__PURE__ */ P(Te, {
63207
63210
  label: M,
63208
63211
  className: "min-w-28 shrink-0 justify-center whitespace-nowrap",
63209
63212
  onClick: O
@@ -63213,7 +63216,7 @@ var SI = () => {
63213
63216
  className: "flex animate-fadeIn flex-col gap-1 pt-1",
63214
63217
  children: [/* @__PURE__ */ F("div", {
63215
63218
  className: "flex items-end gap-2",
63216
- children: [/* @__PURE__ */ P(Ce, {
63219
+ children: [/* @__PURE__ */ P(Se, {
63217
63220
  id: `catalog-item-${e.id}-${t}-api-key`,
63218
63221
  type: "password",
63219
63222
  autoComplete: "current-password",
@@ -63223,10 +63226,10 @@ var SI = () => {
63223
63226
  invalid: w,
63224
63227
  disabled: E,
63225
63228
  containerClassName: "min-w-0 flex-1"
63226
- }), /* @__PURE__ */ P(Ee, {
63229
+ }), /* @__PURE__ */ P(Te, {
63227
63230
  label: E ? void 0 : ae,
63228
63231
  "aria-label": E ? le : void 0,
63229
- iconBefore: E ? /* @__PURE__ */ P(Ue, {
63232
+ iconBefore: E ? /* @__PURE__ */ P(He, {
63230
63233
  size: k.SM,
63231
63234
  ariaLabel: le
63232
63235
  }) : void 0,
@@ -63242,7 +63245,7 @@ var SI = () => {
63242
63245
  c === gn.ApiKey && D && /* @__PURE__ */ P("div", {
63243
63246
  className: "animate-fadeIn pt-1",
63244
63247
  children: /* @__PURE__ */ P(rL, {
63245
- icon: /* @__PURE__ */ P(jt, {
63248
+ icon: /* @__PURE__ */ P(At, {
63246
63249
  size: k.SM,
63247
63250
  "aria-hidden": !0
63248
63251
  }),
@@ -63250,7 +63253,7 @@ var SI = () => {
63250
63253
  description: de,
63251
63254
  titleClassName: y,
63252
63255
  descriptionClassName: b,
63253
- action: /* @__PURE__ */ P(we, {
63256
+ action: /* @__PURE__ */ P(Ce, {
63254
63257
  label: oe,
63255
63258
  className: x,
63256
63259
  onClick: re
@@ -63288,7 +63291,7 @@ var SI = () => {
63288
63291
  level: vn.User,
63289
63292
  label: i?.personalCredentialsLabel ?? "Personal credentials",
63290
63293
  description: i?.personalCredentialsDescription ?? "These credentials apply only to your account.",
63291
- icon: /* @__PURE__ */ P(Gt, {
63294
+ icon: /* @__PURE__ */ P(Wt, {
63292
63295
  size: k.SM,
63293
63296
  "aria-hidden": !0
63294
63297
  }),
@@ -63311,7 +63314,7 @@ var SI = () => {
63311
63314
  level: vn.Global,
63312
63315
  label: i?.organizationCredentialsLabel ?? "Organization credentials",
63313
63316
  description: i?.organizationCredentialsDescription ?? "Once added, these credentials will grant all users in your organization access to this toolset.",
63314
- icon: /* @__PURE__ */ P(ct, {
63317
+ icon: /* @__PURE__ */ P(st, {
63315
63318
  size: k.SM,
63316
63319
  "aria-hidden": !0
63317
63320
  }),
@@ -63393,7 +63396,7 @@ var SI = () => {
63393
63396
  className: "flex animate-fadeIn flex-col gap-1 px-4 py-3.5",
63394
63397
  children: [/* @__PURE__ */ F("div", {
63395
63398
  className: "flex items-end gap-2",
63396
- children: [/* @__PURE__ */ P(Ce, {
63399
+ children: [/* @__PURE__ */ P(Se, {
63397
63400
  id: `catalog-item-${e.id}-${t}-api-key`,
63398
63401
  type: "password",
63399
63402
  autoComplete: "current-password",
@@ -63403,10 +63406,10 @@ var SI = () => {
63403
63406
  invalid: f,
63404
63407
  disabled: m,
63405
63408
  containerClassName: "min-w-0 flex-1"
63406
- }), /* @__PURE__ */ P(Ee, {
63409
+ }), /* @__PURE__ */ P(Te, {
63407
63410
  label: m ? void 0 : w,
63408
63411
  "aria-label": m ? E : void 0,
63409
- iconBefore: m ? /* @__PURE__ */ P(Ue, {
63412
+ iconBefore: m ? /* @__PURE__ */ P(He, {
63410
63413
  size: _L,
63411
63414
  ariaLabel: E
63412
63415
  }) : void 0,
@@ -63421,16 +63424,16 @@ var SI = () => {
63421
63424
  y && /* @__PURE__ */ P("div", {
63422
63425
  className: "animate-fadeIn px-4 py-3.5",
63423
63426
  children: /* @__PURE__ */ P(rL, {
63424
- icon: /* @__PURE__ */ P(jt, {
63427
+ icon: /* @__PURE__ */ P(At, {
63425
63428
  size: 20,
63426
63429
  "aria-hidden": !0
63427
63430
  }),
63428
63431
  title: O,
63429
63432
  description: te,
63430
- action: /* @__PURE__ */ P(we, {
63433
+ action: /* @__PURE__ */ P(Ce, {
63431
63434
  label: _ ? void 0 : T,
63432
63435
  "aria-label": _ ? ee : void 0,
63433
- iconBefore: _ ? /* @__PURE__ */ P(Ue, {
63436
+ iconBefore: _ ? /* @__PURE__ */ P(He, {
63434
63437
  size: _L,
63435
63438
  ariaLabel: ee
63436
63439
  }) : void 0,
@@ -63455,10 +63458,10 @@ var SI = () => {
63455
63458
  n
63456
63459
  ]);
63457
63460
  if (!bL(e) || r && !r(e)) return null;
63458
- let l = /* @__PURE__ */ P(Ee, {
63461
+ let l = /* @__PURE__ */ P(Te, {
63459
63462
  label: i,
63460
- iconBefore: /* @__PURE__ */ P(Bt, { size: k.MD }),
63461
- iconAfter: /* @__PURE__ */ P(dt, { size: k.MD }),
63463
+ iconBefore: /* @__PURE__ */ P(zt, { size: k.MD }),
63464
+ iconAfter: /* @__PURE__ */ P(ut, { size: k.MD }),
63462
63465
  onClick: c,
63463
63466
  "aria-haspopup": n ? "menu" : void 0,
63464
63467
  "aria-expanded": n ? a : void 0
@@ -63473,40 +63476,49 @@ var SI = () => {
63473
63476
  renderOverlay: () => n(e, () => o(!1)),
63474
63477
  children: l
63475
63478
  }) : l;
63476
- }, SL = (e) => e === gn.ApiKey ? "Manage API keys" : "Manage credentials", CL = ({ item: e, onUseInChat: t, isPrimaryActionVisible: n, onShare: r, shareOverlay: i, isShareVisible: a, isSharePrimary: o, onEdit: c, onDownload: u, isDownloadVisible: d, isDownloadPrimary: f, onDelete: g, onUnshare: _, isUnshareVisible: v, onRevokeShare: y, onFetchRecipientsCount: b, isRevokeShareVisible: x, onLogin: S, onLogout: C, onOpenCredentialsManagement: w, onRequestLogout: T, texts: E, detailsStyles: ee, isPublishVisible: D, isPublishPrimary: O, onOpenPublish: te, isUnpublishVisible: A, hasPublishedFolders: j = !1, onRequestPublishHistory: ne, onOpenUnpublish: re }) => {
63477
- let { nameClassName: M = "dial-body-semi-text", folderLabelClassName: ie = "dial-tiny-text", folderLeafClassName: ae = "dial-tiny-semi-text" } = ee?.typography ?? {}, oe = s(() => {
63479
+ }, SL = (e) => e === gn.ApiKey ? "Manage API keys" : "Manage credentials", CL = {
63480
+ [fn.LimitReached]: "bg-error text-error",
63481
+ [fn.RunningLow]: "bg-warning text-warning"
63482
+ }, wL = ({ status: e, label: t }) => /* @__PURE__ */ P("div", {
63483
+ className: I("flex h-[24px] items-center justify-center gap-1 whitespace-nowrap rounded-2xl px-2", "dial-caption-lead-semi-text", CL[e]),
63484
+ children: t
63485
+ }), TL = ({ item: e, onUseInChat: t, isPrimaryActionVisible: n, onShare: r, shareOverlay: i, isShareVisible: a, isSharePrimary: o, onEdit: c, onDownload: u, isDownloadVisible: d, isDownloadPrimary: f, onDelete: g, onUnshare: _, isUnshareVisible: v, onRevokeShare: y, onFetchRecipientsCount: b, isRevokeShareVisible: x, onLogin: S, onLogout: C, onOpenCredentialsManagement: w, onRequestLogout: T, texts: E, detailsStyles: ee, isPublishVisible: D, isPublishPrimary: O, onOpenPublish: te, isUnpublishVisible: A, hasPublishedFolders: j = !1, onRequestPublishHistory: ne, onOpenUnpublish: re }) => {
63486
+ let { nameClassName: M = "dial-body-semi-text", folderLabelClassName: ie = "dial-tiny-text", folderLeafClassName: ae = "dial-tiny-semi-text" } = ee?.typography ?? {}, oe = e.details?.limits?.status, se = oe == null ? void 0 : /* @__PURE__ */ P(wL, {
63487
+ status: oe,
63488
+ label: oe === fn.LimitReached ? E?.limitReachedLabel ?? "Limit reached" : E?.limitRunningLowLabel ?? "Running low"
63489
+ }), ce = s(() => {
63478
63490
  t?.(e);
63479
- }, [e, t]), se = s(() => {
63491
+ }, [e, t]), le = s(() => {
63480
63492
  c?.(e);
63481
- }, [e, c]), ce = s(() => {
63493
+ }, [e, c]), de = s(() => {
63482
63494
  te?.();
63483
- }, [te]), le = s(() => {
63495
+ }, [te]), fe = s(() => {
63484
63496
  re?.();
63485
- }, [re]), de = s(() => {
63497
+ }, [re]), pe = s(() => {
63486
63498
  u?.(e);
63487
- }, [e, u]), [fe, pe] = h(!1);
63499
+ }, [e, u]), [me, he] = h(!1);
63488
63500
  l(() => {
63489
- pe(!1);
63501
+ he(!1);
63490
63502
  }, [e.id]);
63491
- let me = s(() => {
63492
- fe || (pe(!0), (async () => {
63503
+ let _e = s(() => {
63504
+ me || (he(!0), (async () => {
63493
63505
  try {
63494
63506
  await u?.(e);
63495
63507
  } catch {} finally {
63496
- pe(!1);
63508
+ he(!1);
63497
63509
  }
63498
63510
  })());
63499
63511
  }, [
63500
63512
  e,
63501
63513
  u,
63502
- fe
63503
- ]), [he, ge] = h(!1);
63514
+ me
63515
+ ]), [ve, ye] = h(!1);
63504
63516
  l(() => {
63505
- ge(!1);
63517
+ ye(!1);
63506
63518
  }, [e.id]);
63507
- let ve = s(() => {
63519
+ let N = s(() => {
63508
63520
  if (i) {
63509
- ge(!0);
63521
+ ye(!0);
63510
63522
  return;
63511
63523
  }
63512
63524
  r?.(e);
@@ -63514,29 +63526,29 @@ var SI = () => {
63514
63526
  e,
63515
63527
  r,
63516
63528
  i
63517
- ]), ye = s(() => {
63518
- ge(!1);
63519
- }, []), N = s(() => {
63529
+ ]), be = s(() => {
63530
+ ye(!1);
63531
+ }, []), xe = s(() => {
63520
63532
  _?.(e);
63521
- }, [e, _]), be = s(() => {
63533
+ }, [e, _]), Se = s(() => {
63522
63534
  g?.(e);
63523
- }, [e, g]), xe = s(() => {
63535
+ }, [e, g]), Ce = s(() => {
63524
63536
  y?.(e);
63525
- }, [e, y]), [Se, Ce] = h(hL.Idle), [we, Te] = h(void 0), Oe = m(null);
63537
+ }, [e, y]), [we, De] = h(hL.Idle), [Oe, ke] = h(void 0), Ae = m(null);
63526
63538
  l(() => {
63527
- Oe.current = null, Ce(hL.Idle), Te(void 0);
63539
+ Ae.current = null, De(hL.Idle), ke(void 0);
63528
63540
  }, [e.id]);
63529
- let ke = s(() => {
63530
- if (!b || Oe.current === e.id || !y || e.isMyApp !== !0 || x?.(e) === !1) return;
63541
+ let je = s(() => {
63542
+ if (!b || Ae.current === e.id || !y || e.isMyApp !== !0 || x?.(e) === !1) return;
63531
63543
  let t = e.id;
63532
- Oe.current = t, Ce(hL.Loading), (async () => {
63544
+ Ae.current = t, De(hL.Loading), (async () => {
63533
63545
  try {
63534
63546
  let n = await b(e);
63535
- if (Oe.current !== t) return;
63536
- Te(n), Ce(n == null ? hL.Unknown : hL.Resolved);
63547
+ if (Ae.current !== t) return;
63548
+ ke(n), De(n == null ? hL.Unknown : hL.Resolved);
63537
63549
  } catch {
63538
- if (Oe.current !== t) return;
63539
- Te(void 0), Ce(hL.Unknown);
63550
+ if (Ae.current !== t) return;
63551
+ ke(void 0), De(hL.Unknown);
63540
63552
  }
63541
63553
  })();
63542
63554
  }, [
@@ -63544,149 +63556,149 @@ var SI = () => {
63544
63556
  b,
63545
63557
  y,
63546
63558
  x
63547
- ]), Ae = s((e) => {
63548
- e && (ke(), ne?.());
63549
- }, [ke, ne]), je = s(() => {
63550
- ke(), ne?.();
63551
- }, [ke, ne]), Me = s(() => {
63559
+ ]), Me = s((e) => {
63560
+ e && (je(), ne?.());
63561
+ }, [je, ne]), Pe = s(() => {
63562
+ je(), ne?.();
63563
+ }, [je, ne]), Fe = s(() => {
63552
63564
  ne?.();
63553
- }, [ne]), Ne = E?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === qn.Model || e.type === qn.Agent || e.type === qn.Prompt)), Fe = !!re && j && (A?.(e) ?? !0), Ie = !Fe && (D?.(e) ?? (e.type === qn.Model || e.type === qn.Toolset || e.type === qn.Agent)), Le = !!c && !!e.isEditable, Re = e.isMyApp === !0 && (a?.(e) ?? !0), ze = o?.(e) ?? !0, Be = O?.(e) ?? !1, Ve = e.credentials?.authenticationType ?? gn.None, He = e.credentials != null && Ve !== gn.None ? Nn(e.credentials) : void 0, We = He != null && (!!S || !!C), Ge = e.type === qn.Toolset && We, Ke = !!u && (d?.(e) ?? !0), qe = Ke && !Ge && (f?.(e) ?? e.type === qn.Skill), Je = Ke && !qe, Ye = e.isMyApp, Xe = !!_ && e.isMyApp !== !0 && e.sharedWithMe === !0 && (v?.(e) ?? !0), Ze = !!y && e.isMyApp === !0 && (!b || Se === hL.Unknown || Se === hL.Resolved && (we ?? 0) > 0) && (x?.(e) ?? !0), Qe = p(() => {
63565
+ }, [ne]), Ie = E?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === qn.Model || e.type === qn.Agent || e.type === qn.Prompt)), Le = !!re && j && (A?.(e) ?? !0), Re = !Le && (D?.(e) ?? (e.type === qn.Model || e.type === qn.Toolset || e.type === qn.Agent)), ze = !!c && !!e.isEditable, Be = e.isMyApp === !0 && (a?.(e) ?? !0), Ve = o?.(e) ?? !0, Ue = O?.(e) ?? !1, We = e.credentials?.authenticationType ?? gn.None, Ge = e.credentials != null && We !== gn.None ? Nn(e.credentials) : void 0, Ke = Ge != null && (!!S || !!C), qe = e.type === qn.Toolset && Ke, Je = !!u && (d?.(e) ?? !0), Ye = Je && !qe && (f?.(e) ?? e.type === qn.Skill), Xe = Je && !Ye, Ze = e.isMyApp, Qe = !!_ && e.isMyApp !== !0 && e.sharedWithMe === !0 && (v?.(e) ?? !0), $e = !!y && e.isMyApp === !0 && (!b || we === hL.Unknown || we === hL.Resolved && (Oe ?? 0) > 0) && (x?.(e) ?? !0), et = p(() => {
63554
63566
  let e = [];
63555
- if (!ze && Re && e.push({
63567
+ if (!Ve && Be && e.push({
63556
63568
  key: "share",
63557
63569
  label: E?.shareLabel ?? "Share",
63558
- icon: /* @__PURE__ */ P(Bt, {
63570
+ icon: /* @__PURE__ */ P(zt, {
63559
63571
  size: k.SM,
63560
63572
  "aria-hidden": !0,
63561
63573
  className: "text-secondary"
63562
63574
  }),
63563
- onClick: ve
63564
- }), Le && e.push({
63575
+ onClick: N
63576
+ }), ze && e.push({
63565
63577
  key: "edit",
63566
63578
  label: E?.editActionLabel ?? "Edit",
63567
- icon: /* @__PURE__ */ P(It, {
63579
+ icon: /* @__PURE__ */ P(Ft, {
63568
63580
  size: k.SM,
63569
63581
  "aria-hidden": !0,
63570
63582
  className: "text-secondary"
63571
63583
  }),
63572
- onClick: se
63573
- }), Je && e.push({
63584
+ onClick: le
63585
+ }), Xe && e.push({
63574
63586
  key: "download",
63575
63587
  label: E?.downloadActionLabel ?? "Download",
63576
- icon: /* @__PURE__ */ P(bt, {
63588
+ icon: /* @__PURE__ */ P(yt, {
63577
63589
  size: k.SM,
63578
63590
  "aria-hidden": !0,
63579
63591
  className: "text-secondary"
63580
63592
  }),
63581
- onClick: de
63582
- }), !Be && Ie && e.push({
63593
+ onClick: pe
63594
+ }), !Ue && Re && e.push({
63583
63595
  key: "publish",
63584
63596
  label: E?.publishLabel ?? "Publish",
63585
- icon: /* @__PURE__ */ P(Yt, {
63597
+ icon: /* @__PURE__ */ P(Jt, {
63586
63598
  size: k.SM,
63587
63599
  "aria-hidden": !0,
63588
63600
  className: "text-secondary"
63589
63601
  }),
63590
- onClick: ce
63591
- }), !Be && Fe && e.push({
63602
+ onClick: de
63603
+ }), !Ue && Le && e.push({
63592
63604
  key: "unpublish",
63593
63605
  label: E?.unpublishLabel ?? "Unpublish",
63594
- icon: /* @__PURE__ */ P(Jt, {
63606
+ icon: /* @__PURE__ */ P(qt, {
63595
63607
  size: k.SM,
63596
63608
  "aria-hidden": !0,
63597
63609
  className: "text-secondary"
63598
63610
  }),
63599
- onClick: le
63600
- }), Ye && e.push({
63611
+ onClick: fe
63612
+ }), Ze && e.push({
63601
63613
  key: "delete",
63602
63614
  label: E?.deleteActionLabel ?? "Delete",
63603
- icon: /* @__PURE__ */ P(Ut, {
63615
+ icon: /* @__PURE__ */ P(Ht, {
63604
63616
  size: k.SM,
63605
63617
  "aria-hidden": !0
63606
63618
  }),
63607
63619
  danger: !0,
63608
- onClick: be
63609
- }), Ze) {
63620
+ onClick: Se
63621
+ }), $e) {
63610
63622
  let t = E?.revokeShareLabel ?? "Revoke access", n = E?.revokeShareLabelWithCount ?? ((e) => `${t} (${e})`);
63611
63623
  e.push({
63612
63624
  key: "revoke-share",
63613
- label: we == null ? t : n(we),
63614
- icon: /* @__PURE__ */ P(Kt, {
63625
+ label: Oe == null ? t : n(Oe),
63626
+ icon: /* @__PURE__ */ P(Gt, {
63615
63627
  size: k.SM,
63616
63628
  "aria-hidden": !0
63617
63629
  }),
63618
63630
  danger: !0,
63619
- onClick: xe
63631
+ onClick: Ce
63620
63632
  });
63621
63633
  }
63622
- return Xe && e.push({
63634
+ return Qe && e.push({
63623
63635
  key: "unshare",
63624
63636
  label: E?.unshareLabel ?? "Remove from My List",
63625
- icon: /* @__PURE__ */ P(Ut, {
63637
+ icon: /* @__PURE__ */ P(Ht, {
63626
63638
  size: k.SM,
63627
63639
  "aria-hidden": !0
63628
63640
  }),
63629
- onClick: N
63641
+ onClick: xe
63630
63642
  }), e;
63631
63643
  }, [
63644
+ Ve,
63645
+ Be,
63632
63646
  ze,
63647
+ Xe,
63648
+ Ue,
63633
63649
  Re,
63634
63650
  Le,
63635
- Je,
63636
- Be,
63637
- Ie,
63638
- Fe,
63639
- Ye,
63640
63651
  Ze,
63641
- we,
63642
- Xe,
63652
+ $e,
63653
+ Oe,
63654
+ Qe,
63643
63655
  E,
63644
- ve,
63645
- se,
63646
- de,
63647
- ce,
63656
+ N,
63648
63657
  le,
63649
- be,
63650
- xe,
63651
- N
63652
- ]), [$e, et] = h(!1), tt = Ve === gn.ApiKey && He !== yn.ManageCredentials, nt = Ve === gn.ApiKey && He === yn.LogOut, it = Ve !== gn.ApiKey && He !== yn.ManageCredentials && He === yn.LogOut, at = s(() => {
63653
- if (He === yn.ManageCredentials) {
63658
+ pe,
63659
+ de,
63660
+ fe,
63661
+ Se,
63662
+ Ce,
63663
+ xe
63664
+ ]), [tt, rt] = h(!1), it = We === gn.ApiKey && Ge !== yn.ManageCredentials, at = We === gn.ApiKey && Ge === yn.LogOut, st = We !== gn.ApiKey && Ge !== yn.ManageCredentials && Ge === yn.LogOut, ct = s(() => {
63665
+ if (Ge === yn.ManageCredentials) {
63654
63666
  w?.();
63655
63667
  return;
63656
63668
  }
63657
- if (tt) {
63658
- et((e) => !e);
63669
+ if (it) {
63670
+ rt((e) => !e);
63659
63671
  return;
63660
63672
  }
63661
- if (He === yn.LogOut) {
63673
+ if (Ge === yn.LogOut) {
63662
63674
  T?.();
63663
63675
  return;
63664
63676
  }
63665
63677
  S?.(e, { level: vn.User });
63666
63678
  }, [
63667
- He,
63668
- tt,
63679
+ Ge,
63680
+ it,
63669
63681
  e,
63670
63682
  S,
63671
63683
  w,
63672
63684
  T
63673
- ]), ot = He === yn.ManageCredentials ? (E?.manageCredentialsActionLabel ?? SL)(Ve) : Ve === gn.ApiKey ? He === yn.LogOut ? E?.changeApiKeyActionLabel ?? "Change API key" : E?.apiKeyActionLabel ?? "API key" : He === yn.LogOut ? E?.logoutActionLabel ?? "Log out" : E?.loginActionLabel ?? "Log in", ct = He === yn.ManageCredentials || Ve === gn.ApiKey ? /* @__PURE__ */ P(jt, { size: k.MD }) : He === yn.LogOut ? /* @__PURE__ */ P(Ft, { size: k.MD }) : /* @__PURE__ */ P(Pt, { size: k.MD }), lt = He === yn.ManageCredentials ? /* @__PURE__ */ P(st, {
63685
+ ]), lt = Ge === yn.ManageCredentials ? (E?.manageCredentialsActionLabel ?? SL)(We) : We === gn.ApiKey ? Ge === yn.LogOut ? E?.changeApiKeyActionLabel ?? "Change API key" : E?.apiKeyActionLabel ?? "API key" : Ge === yn.LogOut ? E?.logoutActionLabel ?? "Log out" : E?.loginActionLabel ?? "Log in", dt = Ge === yn.ManageCredentials || We === gn.ApiKey ? /* @__PURE__ */ P(At, { size: k.MD }) : Ge === yn.LogOut ? /* @__PURE__ */ P(Pt, { size: k.MD }) : /* @__PURE__ */ P(Nt, { size: k.MD }), ft = Ge === yn.ManageCredentials ? /* @__PURE__ */ P(ot, {
63674
63686
  size: k.MD,
63675
63687
  className: "rtl:scale-x-[-1]"
63676
- }) : tt ? /* @__PURE__ */ P(dt, { size: k.MD }) : void 0, ut = (t) => {
63688
+ }) : it ? /* @__PURE__ */ P(ut, { size: k.MD }) : void 0, pt = (t) => {
63677
63689
  let n = /* @__PURE__ */ P(t, {
63678
- label: ot,
63679
- iconBefore: ct,
63680
- iconAfter: lt,
63681
- onClick: at,
63682
- "aria-haspopup": tt ? "dialog" : void 0,
63683
- "aria-expanded": tt ? $e : void 0
63690
+ label: lt,
63691
+ iconBefore: dt,
63692
+ iconAfter: ft,
63693
+ onClick: ct,
63694
+ "aria-haspopup": it ? "dialog" : void 0,
63695
+ "aria-expanded": it ? tt : void 0
63684
63696
  });
63685
- return !tt || e.credentials == null ? n : /* @__PURE__ */ P(ue, {
63697
+ return !it || e.credentials == null ? n : /* @__PURE__ */ P(ue, {
63686
63698
  placement: "bottom-start",
63687
63699
  matchReferenceWidth: !1,
63688
- open: $e,
63689
- onOpenChange: et,
63700
+ open: tt,
63701
+ onOpenChange: rt,
63690
63702
  trigger: [],
63691
63703
  outsideClosable: !0,
63692
63704
  renderOverlay: () => /* @__PURE__ */ P(vL, {
@@ -63696,7 +63708,7 @@ var SI = () => {
63696
63708
  apiKeyAddedWhen: e.credentials?.userApiKeyAddedWhen,
63697
63709
  onLogin: S,
63698
63710
  onLogout: C,
63699
- onClose: () => et(!1),
63711
+ onClose: () => rt(!1),
63700
63712
  texts: E
63701
63713
  }),
63702
63714
  children: n
@@ -63709,7 +63721,8 @@ var SI = () => {
63709
63721
  iconSize: 52,
63710
63722
  nameClassName: I(M, yL.name),
63711
63723
  featuredLabel: E?.featuredLabel ?? "Featured",
63712
- footer: e.folder.length > 0 ? /* @__PURE__ */ P(_e, {
63724
+ statusBadge: se,
63725
+ footer: e.folder.length > 0 ? /* @__PURE__ */ P(ge, {
63713
63726
  segments: e.folder,
63714
63727
  labelClassName: ie,
63715
63728
  leafClassName: ae
@@ -63717,87 +63730,88 @@ var SI = () => {
63717
63730
  }), /* @__PURE__ */ F("div", {
63718
63731
  className: "flex flex-wrap items-center gap-2 ps-[60px]",
63719
63732
  children: [
63720
- Ge && ut(nt || it ? Ee : Pe),
63721
- Ne && /* @__PURE__ */ P(Pe, {
63733
+ qe && pt(at || st ? Te : Ne),
63734
+ Ie && /* @__PURE__ */ P(Ne, {
63722
63735
  label: E?.primaryActionLabel ?? "Use in chat",
63723
- iconBefore: /* @__PURE__ */ P(Rt, { size: k.MD }),
63724
- onClick: oe
63736
+ iconBefore: /* @__PURE__ */ P(Lt, { size: k.MD }),
63737
+ onClick: ce,
63738
+ disabled: oe === fn.LimitReached
63725
63739
  }),
63726
- qe && /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P(Pe, {
63740
+ Ye && /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P(Ne, {
63727
63741
  label: E?.downloadActionLabel ?? "Download",
63728
- iconBefore: P(fe ? Ue : bt, {
63742
+ iconBefore: P(me ? He : yt, {
63729
63743
  size: k.MD,
63730
63744
  "aria-hidden": !0
63731
63745
  }),
63732
- onClick: me,
63733
- disabled: fe,
63734
- "aria-busy": fe
63735
- }), fe && /* @__PURE__ */ P("span", {
63746
+ onClick: _e,
63747
+ disabled: me,
63748
+ "aria-busy": me
63749
+ }), me && /* @__PURE__ */ P("span", {
63736
63750
  role: "status",
63737
63751
  "aria-live": "polite",
63738
63752
  className: "sr-only",
63739
63753
  children: E?.downloadingStatusLabel ?? "Downloading"
63740
63754
  })] }),
63741
- ze && /* @__PURE__ */ P(xL, {
63755
+ Ve && /* @__PURE__ */ P(xL, {
63742
63756
  item: e,
63743
63757
  onShare: r,
63744
63758
  shareOverlay: i,
63745
63759
  isShareVisible: a,
63746
63760
  label: E?.shareLabel
63747
63761
  }),
63748
- Be && Fe && /* @__PURE__ */ P(Ee, {
63762
+ Ue && Le && /* @__PURE__ */ P(Te, {
63749
63763
  label: E?.unpublishLabel ?? "Unpublish",
63750
- iconBefore: /* @__PURE__ */ P(Jt, {
63764
+ iconBefore: /* @__PURE__ */ P(qt, {
63751
63765
  size: k.MD,
63752
63766
  "aria-hidden": !0
63753
63767
  }),
63754
- onClick: le,
63755
- onMouseEnter: Me,
63756
- onFocus: Me
63768
+ onClick: fe,
63769
+ onMouseEnter: Fe,
63770
+ onFocus: Fe
63757
63771
  }),
63758
- Be && Ie && /* @__PURE__ */ P(Ee, {
63772
+ Ue && Re && /* @__PURE__ */ P(Te, {
63759
63773
  label: E?.publishLabel ?? "Publish",
63760
- iconBefore: /* @__PURE__ */ P(Yt, {
63774
+ iconBefore: /* @__PURE__ */ P(Jt, {
63761
63775
  size: k.MD,
63762
63776
  "aria-hidden": !0
63763
63777
  }),
63764
- onClick: ce,
63765
- onMouseEnter: Me,
63766
- onFocus: Me
63778
+ onClick: de,
63779
+ onMouseEnter: Fe,
63780
+ onFocus: Fe
63767
63781
  }),
63768
- We && !Ge && ut(Ee),
63769
- Qe.length > 0 && (() => {
63782
+ Ke && !qe && pt(Te),
63783
+ et.length > 0 && (() => {
63770
63784
  let t = /* @__PURE__ */ P(ue, {
63771
- items: Qe,
63785
+ items: et,
63772
63786
  placement: "bottom-end",
63773
63787
  matchReferenceWidth: !1,
63774
- onOpenChange: Ae,
63775
- children: /* @__PURE__ */ P(De, {
63776
- icon: /* @__PURE__ */ P(vt, {
63788
+ onOpenChange: Me,
63789
+ children: /* @__PURE__ */ P(Ee, {
63790
+ icon: /* @__PURE__ */ P(_t, {
63777
63791
  size: k.LG,
63778
63792
  "aria-hidden": !0
63779
63793
  }),
63780
63794
  "aria-label": E?.manageActionLabel ?? "Manage",
63781
63795
  "aria-haspopup": "menu",
63782
- onMouseEnter: je,
63783
- onFocus: je
63796
+ onMouseEnter: Pe,
63797
+ onFocus: Pe
63784
63798
  })
63785
63799
  });
63786
- return ze || !i || !Re ? t : /* @__PURE__ */ P(ue, {
63800
+ return Ve || !i || !Be ? t : /* @__PURE__ */ P(ue, {
63787
63801
  placement: "bottom-end",
63788
63802
  matchReferenceWidth: !1,
63789
- open: he,
63790
- onOpenChange: ge,
63803
+ open: ve,
63804
+ onOpenChange: ye,
63791
63805
  trigger: [],
63792
63806
  outsideClosable: !0,
63793
- renderOverlay: () => i(e, ye),
63807
+ renderOverlay: () => i(e, be),
63794
63808
  children: t
63795
63809
  });
63796
63810
  })()
63797
63811
  ]
63798
63812
  })]
63799
63813
  });
63800
- }, wL = ({ topics: e, content: t, detailsStyles: n }) => {
63814
+ }, EL = ({ topics: e, content: t, detailsStyles: n }) => {
63801
63815
  let r = n?.typography?.contentHeadingClassName ?? "dial-small-semi-text", i = n?.typography?.contentClassName ?? "dial-small-text";
63802
63816
  return /* @__PURE__ */ F("div", {
63803
63817
  className: "flex flex-col gap-5",
@@ -63819,18 +63833,18 @@ var SI = () => {
63819
63833
  children: e.map((e) => /* @__PURE__ */ P(gN, { label: e }, e))
63820
63834
  })]
63821
63835
  });
63822
- }, TL = {
63836
+ }, DL = {
63823
63837
  divider: "_divider_1gzl9_1",
63824
63838
  fileCount: "_fileCount_1gzl9_5",
63825
63839
  body: "_body_1gzl9_9"
63826
- }, EL = (e, t, n = void 0) => e.flatMap((e) => {
63840
+ }, OL = (e, t, n = void 0) => e.flatMap((e) => {
63827
63841
  let r = {
63828
63842
  node: e,
63829
63843
  parentId: n
63830
63844
  };
63831
- return e.type === wn.File || !t.has(e.id) ? [r] : [r, ...EL(e.items, t, e.id)];
63832
- }), DL = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o = "Select file", rowNameClassName: s = "dial-small-text" }) => {
63833
- let c = p(() => EL(e, n), [e, n]), u = m({}), [d, f] = h(() => t ?? c[0]?.node.id);
63845
+ return e.type === wn.File || !t.has(e.id) ? [r] : [r, ...OL(e.items, t, e.id)];
63846
+ }), kL = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o = "Select file", rowNameClassName: s = "dial-small-text" }) => {
63847
+ let c = p(() => OL(e, n), [e, n]), u = m({}), [d, f] = h(() => t ?? c[0]?.node.id);
63834
63848
  l(() => {
63835
63849
  d != null && u.current[d]?.focus();
63836
63850
  }, []);
@@ -63900,7 +63914,7 @@ var SI = () => {
63900
63914
  onClick: () => r(e.id),
63901
63915
  onFocus: () => f(e.id),
63902
63916
  children: [
63903
- /* @__PURE__ */ P(Ot, {
63917
+ /* @__PURE__ */ P(Dt, {
63904
63918
  size: k.SM,
63905
63919
  className: "shrink-0",
63906
63920
  "aria-hidden": !0
@@ -63909,7 +63923,7 @@ var SI = () => {
63909
63923
  className: I("min-w-0 flex-1 truncate", s),
63910
63924
  children: e.name
63911
63925
  }),
63912
- /* @__PURE__ */ P(dt, {
63926
+ /* @__PURE__ */ P(ut, {
63913
63927
  size: k.SM,
63914
63928
  className: I("shrink-0 transition-transform", !o && "-rotate-90 rtl:rotate-90"),
63915
63929
  "aria-hidden": !0
@@ -63927,7 +63941,7 @@ var SI = () => {
63927
63941
  onKeyDown: _,
63928
63942
  children: e.map((e) => y(e))
63929
63943
  });
63930
- }, OL = () => void 0, kL = ({ content: e, description: t, files: n, selectedFileId: r, onSelectFile: i, isFileLoading: a = !1, expandedFolderIds: o = /* @__PURE__ */ new Set(), onToggleFolder: s = OL, isFileSelectorOpen: c = !1, onFileSelectorOpenChange: l = OL, fileSelectorAriaLabel: u = "Select file", fileCountLabel: d = (e) => `${e} files`, fileLoadingLabel: f = "Loading file", fileUnsupportedLabel: p = "Preview is not supported for this file", filePreview: m, filePreviewContent: h, detailsStyles: g }) => {
63944
+ }, AL = () => void 0, jL = ({ content: e, description: t, files: n, selectedFileId: r, onSelectFile: i, isFileLoading: a = !1, expandedFolderIds: o = /* @__PURE__ */ new Set(), onToggleFolder: s = AL, isFileSelectorOpen: c = !1, onFileSelectorOpenChange: l = AL, fileSelectorAriaLabel: u = "Select file", fileCountLabel: d = (e) => `${e} files`, fileLoadingLabel: f = "Loading file", fileUnsupportedLabel: p = "Preview is not supported for this file", filePreview: m, filePreviewContent: h, detailsStyles: g }) => {
63931
63945
  let _ = g?.typography?.contentClassName ?? "dial-small-text", v = g?.typography?.contentHeadingClassName ?? "dial-small-semi-text", y = g?.typography?.contentFileCountClassName ?? "dial-tiny-text", b = t != null && t !== "", x = n ?? [], S = II(x) > 1, C = RI(x, r) ?? "", w = (e) => {
63932
63946
  i?.(e), l(!1);
63933
63947
  }, T = a ? {
@@ -63949,7 +63963,7 @@ var SI = () => {
63949
63963
  matchReferenceWidth: !1,
63950
63964
  listClassName: "w-[280px]",
63951
63965
  placement: "bottom-start",
63952
- renderOverlay: () => /* @__PURE__ */ P(DL, {
63966
+ renderOverlay: () => /* @__PURE__ */ P(kL, {
63953
63967
  nodes: x,
63954
63968
  selectedFileId: r,
63955
63969
  expandedFolderIds: o,
@@ -63959,23 +63973,23 @@ var SI = () => {
63959
63973
  ariaLabel: u,
63960
63974
  rowNameClassName: _
63961
63975
  }),
63962
- children: /* @__PURE__ */ P(Se, {
63976
+ children: /* @__PURE__ */ P(xe, {
63963
63977
  label: C,
63964
63978
  size: pe.Small,
63965
63979
  isOpen: c,
63966
63980
  onClick: () => l(!c)
63967
63981
  })
63968
63982
  }), /* @__PURE__ */ P("span", {
63969
- className: I("shrink-0", y, TL.fileCount),
63983
+ className: I("shrink-0", y, DL.fileCount),
63970
63984
  children: d(II(x))
63971
63985
  })]
63972
63986
  }),
63973
- b && /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("p", {
63987
+ b && /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("p", {
63974
63988
  className: I("m-0", _),
63975
63989
  children: t
63976
- }), /* @__PURE__ */ P("div", { className: I("shrink-0", TL.divider) })] }),
63990
+ }), /* @__PURE__ */ P("div", { className: I("shrink-0", DL.divider) })] }),
63977
63991
  /* @__PURE__ */ F("div", {
63978
- className: I("min-h-0 flex-1 text-start", h == null ? "overflow-auto break-words" : "overflow-hidden", h == null && TL.body, h == null && _),
63992
+ className: I("min-h-0 flex-1 text-start", h == null ? "overflow-auto break-words" : "overflow-hidden", h == null && DL.body, h == null && _),
63979
63993
  children: [a && /* @__PURE__ */ P("span", {
63980
63994
  role: "status",
63981
63995
  className: "sr-only",
@@ -64006,84 +64020,107 @@ var SI = () => {
64006
64020
  })
64007
64021
  ]
64008
64022
  });
64009
- }, AL = {
64010
- sectionHeading: "_sectionHeading_32cxv_1",
64011
- label: "_label_32cxv_5",
64012
- value: "_value_32cxv_9",
64013
- progressTrack: "_progressTrack_32cxv_15",
64014
- progressFillDefault: "_progressFillDefault_32cxv_20",
64015
- progressFillWarning: "_progressFillWarning_32cxv_24",
64016
- progressFillDanger: "_progressFillDanger_32cxv_28"
64017
- }, jL = (e) => !Number.isFinite(e.used) || !Number.isFinite(e.total) ? 0 : Math.min(Math.max(e.used, 0), Math.max(e.total, 0)), ML = (e) => Number.isFinite(e) && e > 0 ? e : 1, NL = new Intl.NumberFormat(void 0, { maximumFractionDigits: 2 }), PL = ({ used: e, total: t, valueLabel: n }) => n ?? `${NL.format(e)} / ${NL.format(t)}`, FL = ({ total: e }) => Number.isFinite(e) && e > 0, IL = (e) => e.isUnlimited !== !0 && FL(e), LL = (e) => FL(e) ? Math.max(e.used, 0) / e.total : 0, RL = (e) => {
64018
- let t = LL(e);
64023
+ }, ML = new Intl.NumberFormat(void 0, { maximumFractionDigits: 2 }), NL = /* @__PURE__ */ function(e) {
64024
+ return e.Default = "default", e.Warning = "warning", e.Danger = "danger", e;
64025
+ }({}), PL = (e) => !Number.isFinite(e.used) || !Number.isFinite(e.total) ? 0 : Math.min(Math.max(e.used, 0), Math.max(e.total, 0)), FL = (e) => Number.isFinite(e) && e > 0 ? e : 1, IL = ({ used: e, total: t, valueLabel: n }) => n ?? `${ML.format(e)} / ${ML.format(t)}`, LL = ({ total: e }) => Number.isFinite(e) && e > 0, RL = (e) => e.isUnlimited !== !0 && LL(e), zL = (e) => LL(e) ? Math.max(e.used, 0) / e.total : 0, BL = (e) => {
64026
+ let t = zL(e);
64019
64027
  return t >= 1 ? "danger" : t >= .75 ? "warning" : "default";
64020
- }, zL = ({ limits: e, costCapsSectionLabel: t = "Cost caps", unlimitedSectionLabel: n = "Unlimited", labelClassName: r = "dial-small-semi-text", unlimitedLabelClassName: i = "dial-tiny-text", valueClassName: a = "dial-small-text", unlimitedValueClassName: o = "dial-tiny-text", sectionClassName: s = "dial-caption-text", limitClassName: c = "dial-small-semi-text", colors: l }) => {
64021
- if (e == null || e.rows.length === 0) return null;
64022
- let u = e.rows.filter(IL), d = e.rows.filter((e) => !IL(e));
64023
- return /* @__PURE__ */ F("div", {
64028
+ }, VL = {
64029
+ sectionHeading: "_sectionHeading_ltnqp_1",
64030
+ label: "_label_ltnqp_5",
64031
+ valuePrimary: "_valuePrimary_ltnqp_9",
64032
+ divider: "_divider_ltnqp_13",
64033
+ progressTrack: "_progressTrack_ltnqp_19",
64034
+ progressFillDefault: "_progressFillDefault_ltnqp_24",
64035
+ progressFillWarning: "_progressFillWarning_ltnqp_28",
64036
+ progressFillDanger: "_progressFillDanger_ltnqp_32"
64037
+ }, HL = ({ row: e, labelClassName: t, captionClassName: n, valueClassName: r, noteValueClassName: i, noteClassName: a }) => {
64038
+ let o = IL(e);
64039
+ return /* @__PURE__ */ F("li", {
64040
+ className: I("flex items-center justify-between gap-5 border-b py-4 first:pt-0 last:border-b-0 last:pb-0", VL.divider),
64041
+ children: [/* @__PURE__ */ F("div", {
64042
+ className: "flex min-w-0 flex-1 flex-col",
64043
+ children: [/* @__PURE__ */ P("span", {
64044
+ className: I("break-words", t, VL.label),
64045
+ children: e.label
64046
+ }), e.captionLabel != null && /* @__PURE__ */ P("span", {
64047
+ className: I("break-words", n, VL.label),
64048
+ children: e.captionLabel
64049
+ })]
64050
+ }), RL(e) ? /* @__PURE__ */ F("div", {
64051
+ className: "flex w-32 shrink-0 flex-col items-end gap-2",
64052
+ children: [/* @__PURE__ */ P("div", {
64053
+ className: I("flex gap-1", r),
64054
+ children: e.usedLabel != null && e.totalLabel != null ? /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("span", {
64055
+ className: VL.valuePrimary,
64056
+ children: e.usedLabel
64057
+ }), /* @__PURE__ */ P("span", {
64058
+ className: VL.label,
64059
+ children: ` / ${e.totalLabel}`
64060
+ })] }) : /* @__PURE__ */ P("span", {
64061
+ className: VL.label,
64062
+ children: o
64063
+ })
64064
+ }), /* @__PURE__ */ P(Pe, {
64065
+ value: PL(e),
64066
+ max: FL(e.total),
64067
+ size: pe.Small,
64068
+ className: I("!h-1 w-full", VL.progressTrack, BL(e) === NL.Default && VL.progressFillDefault, BL(e) === NL.Warning && VL.progressFillWarning, BL(e) === NL.Danger && VL.progressFillDanger),
64069
+ "aria-label": e.label,
64070
+ "aria-valuetext": e.ariaLabel ?? o
64071
+ })]
64072
+ }) : /* @__PURE__ */ F("div", {
64073
+ className: "flex shrink-0 flex-col items-end",
64074
+ children: [/* @__PURE__ */ P("span", {
64075
+ className: I(i, VL.valuePrimary),
64076
+ children: o
64077
+ }), e.noteLabel != null && /* @__PURE__ */ P("span", {
64078
+ className: I(a, VL.label),
64079
+ children: e.noteLabel
64080
+ })]
64081
+ })]
64082
+ });
64083
+ }, UL = ({ group: e, sectionClassName: t, labelClassName: n, captionClassName: r, valueClassName: i, noteValueClassName: a, noteClassName: o }) => /* @__PURE__ */ F("section", { children: [/* @__PURE__ */ P("p", {
64084
+ className: I("mb-3 mt-0", t, VL.sectionHeading),
64085
+ children: e.label
64086
+ }), /* @__PURE__ */ P("ul", {
64087
+ className: "m-0 flex list-none flex-col p-0",
64088
+ children: e.rows.map((e) => /* @__PURE__ */ P(HL, {
64089
+ row: e,
64090
+ labelClassName: n,
64091
+ captionClassName: r,
64092
+ valueClassName: i,
64093
+ noteValueClassName: a,
64094
+ noteClassName: o
64095
+ }, e.label))
64096
+ })] }), WL = ({ limits: e, labelClassName: t = "dial-small-semi-text", captionClassName: n = "dial-caption-text", valueClassName: r = "dial-tiny-text", noteValueClassName: i = "dial-tiny-semi-text", noteClassName: a = "dial-caption-text", sectionClassName: o = "dial-caption-text", footerClassName: s = "dial-caption-text", footerNote: c, colors: l }) => {
64097
+ let u = e?.groups.filter((e) => e.rows.length > 0);
64098
+ return u == null || u.length === 0 ? null : /* @__PURE__ */ F("div", {
64024
64099
  className: "flex flex-col gap-6",
64025
64100
  style: Ti({
64026
64101
  "--lt-section-heading": l?.sectionHeading,
64027
64102
  "--lt-label": l?.label,
64028
- "--lt-value": l?.value,
64103
+ "--lt-value-primary": l?.valuePrimary,
64104
+ "--lt-divider": l?.divider,
64029
64105
  "--lt-progress-track": l?.progressTrack,
64030
64106
  "--lt-progress-fill-default": l?.progressFillDefault,
64031
64107
  "--lt-progress-fill-warning": l?.progressFillWarning,
64032
64108
  "--lt-progress-fill-danger": l?.progressFillDanger
64033
64109
  }),
64034
- children: [u.length > 0 && /* @__PURE__ */ F("section", { children: [/* @__PURE__ */ P("p", {
64035
- className: I("mb-3 mt-0", s, AL.sectionHeading),
64036
- children: t
64037
- }), /* @__PURE__ */ P("ul", {
64038
- className: "m-0 flex list-none flex-col gap-4 p-0",
64039
- children: u.map((e) => {
64040
- let t = PL(e), n = RL(e);
64041
- return /* @__PURE__ */ P("li", { children: /* @__PURE__ */ P(Fe, {
64042
- value: jL(e),
64043
- max: ML(e.total),
64044
- size: pe.Small,
64045
- className: I("!h-2 w-full", AL.progressTrack, n === "default" && AL.progressFillDefault, n === "warning" && AL.progressFillWarning, n === "danger" && AL.progressFillDanger),
64046
- labelProps: { label: /* @__PURE__ */ P("span", {
64047
- className: I(r, AL.label),
64048
- children: e.label
64049
- }) },
64050
- valueLabel: e.usedLabel != null && e.totalLabel != null ? /* @__PURE__ */ F(rt, { children: [
64051
- /* @__PURE__ */ P("span", {
64052
- className: I(a, AL.value),
64053
- children: e.usedLabel
64054
- }),
64055
- " ",
64056
- "/",
64057
- " ",
64058
- /* @__PURE__ */ P("span", {
64059
- className: I(c, AL.value),
64060
- children: e.totalLabel
64061
- })
64062
- ] }) : /* @__PURE__ */ P("span", {
64063
- className: I(a, AL.value),
64064
- children: t
64065
- }),
64066
- "aria-valuetext": e.ariaLabel ?? t
64067
- }) }, e.label);
64068
- })
64069
- })] }), d.length > 0 && /* @__PURE__ */ F("section", { children: [/* @__PURE__ */ P("p", {
64070
- className: I("mb-3 mt-0", s, AL.sectionHeading),
64071
- children: n
64072
- }), /* @__PURE__ */ P("ul", {
64073
- className: "m-0 list-none p-0",
64074
- children: d.map((e) => /* @__PURE__ */ F("li", {
64075
- className: "flex items-center justify-between gap-3 py-[4.8px]",
64076
- children: [/* @__PURE__ */ P("span", {
64077
- className: I("min-w-0 break-words", i, AL.label),
64078
- children: e.label
64079
- }), /* @__PURE__ */ P("span", {
64080
- className: I("shrink-0", o, AL.value),
64081
- children: PL(e)
64082
- })]
64083
- }, e.label))
64084
- })] })]
64110
+ children: [u.map((e) => /* @__PURE__ */ P(UL, {
64111
+ group: e,
64112
+ sectionClassName: o,
64113
+ labelClassName: t,
64114
+ captionClassName: n,
64115
+ valueClassName: r,
64116
+ noteValueClassName: i,
64117
+ noteClassName: a
64118
+ }, e.label)), c != null && /* @__PURE__ */ P("p", {
64119
+ className: I("m-0 border-t pt-4", s, VL.divider, VL.label),
64120
+ children: c
64121
+ })]
64085
64122
  });
64086
- }, BL = ({ sections: e, sectionClassName: t, labelClassName: n, valueClassName: r, valueTrueClassName: i, yesLabel: a, noLabel: o }) => e ? /* @__PURE__ */ P("div", {
64123
+ }, GL = ({ sections: e, sectionClassName: t, labelClassName: n, valueClassName: r, valueTrueClassName: i, yesLabel: a, noLabel: o }) => e ? /* @__PURE__ */ P("div", {
64087
64124
  className: "flex flex-col gap-4",
64088
64125
  children: e.map((e, s) => /* @__PURE__ */ F("div", {
64089
64126
  className: "flex flex-col gap-4",
@@ -64101,7 +64138,7 @@ var SI = () => {
64101
64138
  })
64102
64139
  })]
64103
64140
  }, s))
64104
- }) : null, VL = ({ pricing: e, pricesSectionLabel: t = "Token pricing", limitsSectionLabel: n = "Usage limits", labelClassName: r = "dial-small-semi-text", valueClassName: i = "dial-small-text", sectionClassName: a = "dial-caption-text" }) => {
64141
+ }) : null, KL = ({ pricing: e, pricesSectionLabel: t = "Token pricing", limitsSectionLabel: n = "Usage limits", labelClassName: r = "dial-small-semi-text", valueClassName: i = "dial-small-text", sectionClassName: a = "dial-caption-text" }) => {
64105
64142
  if (e == null) return null;
64106
64143
  let o = e.prices?.map((e) => ({
64107
64144
  label: e.label,
@@ -64126,32 +64163,32 @@ var SI = () => {
64126
64163
  sectionClassName: a
64127
64164
  })]
64128
64165
  });
64129
- }, HL = {
64166
+ }, qL = {
64130
64167
  container: "_container_5v6n4_1",
64131
64168
  header: "_header_5v6n4_5",
64132
64169
  cell: "_cell_5v6n4_10",
64133
64170
  evenRow: "_evenRow_5v6n4_15"
64134
- }, UL = ({ columns: e, rows: t, columnsTemplate: r, headingClassName: i = "dial-caption-lead-semi-text", cellClassName: a = "dial-tiny-text" }) => {
64171
+ }, JL = ({ columns: e, rows: t, columnsTemplate: r, headingClassName: i = "dial-caption-lead-semi-text", cellClassName: a = "dial-tiny-text" }) => {
64135
64172
  let o = r ?? `repeat(${e.length}, 1fr)`;
64136
64173
  return /* @__PURE__ */ F("div", {
64137
- className: I(HL.container, "grid overflow-hidden rounded-md"),
64174
+ className: I(qL.container, "grid overflow-hidden rounded-md"),
64138
64175
  style: { gridTemplateColumns: o },
64139
64176
  children: [e.map((e) => /* @__PURE__ */ P("div", {
64140
- className: I("px-2 py-1 text-start", i, HL.header),
64177
+ className: I("px-2 py-1 text-start", i, qL.header),
64141
64178
  children: e
64142
64179
  }, e)), t.map((e, t) => /* @__PURE__ */ P(n, { children: e.map((e, n) => /* @__PURE__ */ P("div", {
64143
- className: I("px-2 py-1.5", a, HL.cell, t % 2 == 1 ? HL.evenRow : void 0),
64180
+ className: I("px-2 py-1.5", a, qL.cell, t % 2 == 1 ? qL.evenRow : void 0),
64144
64181
  children: e
64145
64182
  }, n)) }, t))]
64146
64183
  });
64147
- }, WL = {
64184
+ }, YL = {
64148
64185
  divider: "_divider_1f796_1",
64149
64186
  description: "_description_1f796_5",
64150
64187
  code: "_code_1f796_9"
64151
- }, GL = ({ tools: e, toolNameClassName: t = "dial-small-semi-text", descriptionClassName: n = "dial-small-text", tableHeadingClassName: r = "dial-caption-text", tableCellClassName: i = "dial-tiny-text" }) => e == null ? null : /* @__PURE__ */ P("div", {
64188
+ }, XL = ({ tools: e, toolNameClassName: t = "dial-small-semi-text", descriptionClassName: n = "dial-small-text", tableHeadingClassName: r = "dial-caption-text", tableCellClassName: i = "dial-tiny-text" }) => e == null ? null : /* @__PURE__ */ P("div", {
64152
64189
  className: "flex flex-col",
64153
64190
  children: e.tools.map((e, a) => /* @__PURE__ */ F("div", {
64154
- className: I("flex flex-col gap-3 px-[22px] py-4", a > 0 ? WL.divider : void 0),
64191
+ className: I("flex flex-col gap-3 px-[22px] py-4", a > 0 ? YL.divider : void 0),
64155
64192
  children: [
64156
64193
  /* @__PURE__ */ F("div", {
64157
64194
  className: "flex flex-col gap-1",
@@ -64159,11 +64196,11 @@ var SI = () => {
64159
64196
  className: t,
64160
64197
  children: e.name
64161
64198
  }), e.description != null && /* @__PURE__ */ P("p", {
64162
- className: I("m-0", n, WL.description),
64199
+ className: I("m-0", n, YL.description),
64163
64200
  children: e.description
64164
64201
  })]
64165
64202
  }),
64166
- e.inputParams != null && e.inputParams.length > 0 && /* @__PURE__ */ P(UL, {
64203
+ e.inputParams != null && e.inputParams.length > 0 && /* @__PURE__ */ P(JL, {
64167
64204
  columns: [
64168
64205
  "Name",
64169
64206
  "Type",
@@ -64172,11 +64209,11 @@ var SI = () => {
64172
64209
  columnsTemplate: "1fr 1fr auto",
64173
64210
  rows: e.inputParams.map((e) => [
64174
64211
  /* @__PURE__ */ P("code", {
64175
- className: I("text-inherit border-none bg-transparent p-0", WL.code),
64212
+ className: I("text-inherit border-none bg-transparent p-0", YL.code),
64176
64213
  children: e.name
64177
64214
  }, "name"),
64178
64215
  /* @__PURE__ */ P("code", {
64179
- className: I("text-inherit border-none bg-transparent p-0", WL.code),
64216
+ className: I("text-inherit border-none bg-transparent p-0", YL.code),
64180
64217
  children: e.type
64181
64218
  }, "type"),
64182
64219
  e.isRequired ? "✓" : "—"
@@ -64184,10 +64221,10 @@ var SI = () => {
64184
64221
  headingClassName: r,
64185
64222
  cellClassName: i
64186
64223
  }),
64187
- e.annotations != null && e.annotations.length > 0 && /* @__PURE__ */ P(UL, {
64224
+ e.annotations != null && e.annotations.length > 0 && /* @__PURE__ */ P(JL, {
64188
64225
  columns: ["Key", "Value"],
64189
64226
  rows: e.annotations.map((e) => [/* @__PURE__ */ P("code", {
64190
- className: I("text-inherit border-none bg-transparent p-0", WL.code),
64227
+ className: I("text-inherit border-none bg-transparent p-0", YL.code),
64191
64228
  children: e.key
64192
64229
  }, "key"), e.value]),
64193
64230
  headingClassName: r,
@@ -64195,181 +64232,181 @@ var SI = () => {
64195
64232
  })
64196
64233
  ]
64197
64234
  }, e.name))
64198
- }), KL = new Set([qn.Prompt, qn.Skill]), qL = (e) => e?.resource?.endpointUrl != null || (e?.endpoints?.length ?? 0) > 0, JL = (e, t) => t == null ? e.length === 1 ? e[0] : void 0 : e.find((e) => e.key === t), YL = async () => void 0, XL = [], ZL = [], QL = [
64235
+ }), ZL = new Set([qn.Prompt, qn.Skill]), QL = (e) => e?.resource?.endpointUrl != null || (e?.endpoints?.length ?? 0) > 0, $L = (e, t) => t == null ? e.length === 1 ? e[0] : void 0 : e.find((e) => e.key === t), eR = async () => void 0, tR = [], nR = [], rR = [
64199
64236
  "All shared configurations will be lost",
64200
64237
  "Users who rely on it will lose access",
64201
64238
  "Cannot be undone"
64202
- ], $L = [
64239
+ ], iR = [
64203
64240
  "You will lose access to this item",
64204
64241
  "Other people keep their access",
64205
64242
  "You will need a new invitation to get it back"
64206
- ], eR = [
64243
+ ], aR = [
64207
64244
  "Everyone loses access to the published copy",
64208
64245
  "Your own copy is not deleted",
64209
64246
  "You can publish it again later"
64210
- ], tR = [
64247
+ ], oR = [
64211
64248
  "Everyone you shared it with loses access",
64212
64249
  "Existing share links stop working",
64213
64250
  "You keep full access — nothing is deleted"
64214
- ], nR = (e) => e === gn.ApiKey ? "Toolset API keys" : "Toolset credentials", rR = (e) => e === vn.Global ? "Are you sure you want to delete the organization API key?" : "Are you sure you want to delete your personal API key?", iR = new Set([pn.Delete, pn.Unshare]), aR = ({ item: e, isOpen: t, isStarred: n = !1, isDetailsLoading: r = !1, onClose: i, onToggleFavorite: a, isFavoriteVisible: o, onUseInChat: c, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: g, getPublishHistory: _, publishFolderItems: v = XL, publishExpandedPaths: y, onPublishExpandedPathsChange: b, publishLoadingPaths: x, hasPublishWriteAccess: S, onPublish: C, onPublishSuccess: T, onPublishError: E, onCreatePublishFolder: ee, publishLabels: D, ruleSourceOptions: O = ZL, onFetchExistingRules: te, shareOverlay: k, isShareVisible: A, isSharePrimary: j, onEdit: ne, onDownload: re, isDownloadVisible: M, isDownloadPrimary: ie, onLoadContentFile: ae, onLoadContentFilePreview: oe, renderContentFilePreview: se, onDelete: ce, onUnshare: le, isUnshareVisible: ue, onRevokeShare: de, onFetchRecipientsCount: fe, isRevokeShareVisible: me, onUnpublish: he, isUnpublishVisible: ge, onLogin: _e, onLogout: ve, texts: N, styles: be }) => {
64215
- let { subViewTitleClassName: xe = "dial-body-semi-text", overviewSectionClassName: Se = "dial-caption-text", overviewLabelClassName: Ce = "dial-small-semi-text", overviewValueClassName: we = "dial-small-text", overviewValueTrueClassName: Te = "dial-small-text", confirmMessageClassName: Ee = "dial-small-text" } = be?.typography ?? {}, De = be?.colors, Oe = Ti({
64216
- "--cat-details-backdrop": De?.backdrop,
64217
- "--cat-details-bg": De?.background,
64218
- "--cat-details-border": De?.border,
64219
- "--cat-details-divider": De?.divider,
64220
- "--cat-details-scrollbar": De?.scrollbar,
64221
- "--cat-details-skeleton": De?.skeleton,
64222
- "--cat-details-name-text": De?.nameText,
64223
- "--cat-details-publish-title-text": De?.publishTitleText,
64224
- "--cat-details-content-text": De?.contentText,
64225
- "--cat-details-variable-text": De?.variableText,
64226
- "--cat-details-file-count-text": De?.contentFileCountText,
64227
- "--cat-api-heading-text": De?.apiHeadingText,
64228
- "--cat-tools-divider": De?.toolsDivider,
64229
- "--cat-tools-description-text": De?.toolsDescriptionText,
64230
- "--cat-grid-border": De?.gridBorder,
64231
- "--cat-grid-header-text": De?.gridHeaderText,
64232
- "--cat-grid-header-bg": De?.gridHeaderBackground,
64233
- "--cat-grid-cell-text": De?.gridCellText,
64234
- "--cat-grid-cell-divider": De?.gridCellDivider,
64235
- "--cat-grid-row-even-bg": De?.gridRowEvenBackground,
64236
- "--cat-info-card-bg": De?.infoCardBackground,
64237
- "--cat-info-card-danger-bg": De?.infoCardDangerBackground,
64238
- "--cat-confirm-message-text": De?.confirmMessageText,
64239
- "--cat-confirm-consequence-text": De?.confirmConsequenceText,
64240
- "--cat-confirm-footer-border": De?.confirmFooterBorder,
64241
- "--cat-cred-surface-bg": De?.credentialsSurfaceBackground,
64242
- "--cat-cred-active-icon": De?.credentialsActiveIcon,
64243
- "--cat-cred-banner-icon-bg": De?.credentialsBannerIconBackground,
64244
- "--cat-cred-description-text": De?.credentialsDescriptionText,
64245
- "--cat-cred-row-description-text": De?.credentialsRowDescriptionText,
64246
- "--cat-cred-error-text": De?.credentialsErrorText,
64247
- "--cat-cred-card-bg": De?.credentialsCardBackground,
64248
- "--cat-cred-card-icon": De?.credentialsCardIcon,
64249
- "--cat-cred-card-title-text": De?.credentialsCardTitleText,
64250
- "--cat-cred-card-description-text": De?.credentialsCardDescriptionText
64251
- }), [ke, Ae] = h(n), [je, Me] = h(""), [Ne, Pe] = h(!1), [Fe, Le] = h([]), [Re, ze] = h(!1), [Ve, He] = h(!1), [Ue, We] = h(!1), Ke = m(null), qe = e.details?.promptContent, Je = qe?.selectedFileId, [Ye, Xe] = h(null), [Ze, Qe] = h(!1), [$e, et] = h(/* @__PURE__ */ new Set()), [tt, nt] = h(!1), it = m(null), at = m(0), ot = s((e) => {
64252
- let t = it.current, n = e?.preview?.type === Tn.Image ? e.preview.url : null;
64253
- t != null && t !== n && t.startsWith("blob:") && URL.revokeObjectURL(t), it.current = n, Xe(e);
64251
+ ], sR = (e) => e === gn.ApiKey ? "Toolset API keys" : "Toolset credentials", cR = (e) => e === vn.Global ? "Are you sure you want to delete the organization API key?" : "Are you sure you want to delete your personal API key?", lR = new Set([pn.Delete, pn.Unshare]), uR = ({ item: e, isOpen: t, isStarred: n = !1, isDetailsLoading: r = !1, onClose: i, onToggleFavorite: a, isFavoriteVisible: o, onUseInChat: c, isPrimaryActionVisible: u, onShare: d, isPublishVisible: f, isPublishPrimary: g, getPublishHistory: _, publishFolderItems: v = tR, publishExpandedPaths: y, onPublishExpandedPathsChange: b, publishLoadingPaths: x, hasPublishWriteAccess: S, onPublish: C, onPublishSuccess: T, onPublishError: E, onCreatePublishFolder: ee, publishLabels: D, ruleSourceOptions: O = nR, onFetchExistingRules: te, shareOverlay: k, isShareVisible: A, isSharePrimary: j, onEdit: ne, onDownload: re, isDownloadVisible: M, isDownloadPrimary: ie, onLoadContentFile: ae, onLoadContentFilePreview: oe, renderContentFilePreview: se, onDelete: ce, onUnshare: le, isUnshareVisible: ue, onRevokeShare: de, onFetchRecipientsCount: fe, isRevokeShareVisible: me, onUnpublish: he, isUnpublishVisible: ge, onLogin: _e, onLogout: ye, texts: N, styles: be, limitsFooterNote: xe }) => {
64252
+ let { subViewTitleClassName: Se = "dial-body-semi-text", overviewSectionClassName: Ce = "dial-caption-text", overviewLabelClassName: we = "dial-small-semi-text", overviewValueClassName: Te = "dial-small-text", overviewValueTrueClassName: Ee = "dial-small-text", confirmMessageClassName: De = "dial-small-text" } = be?.typography ?? {}, Oe = be?.colors, ke = Ti({
64253
+ "--cat-details-backdrop": Oe?.backdrop,
64254
+ "--cat-details-bg": Oe?.background,
64255
+ "--cat-details-border": Oe?.border,
64256
+ "--cat-details-divider": Oe?.divider,
64257
+ "--cat-details-scrollbar": Oe?.scrollbar,
64258
+ "--cat-details-skeleton": Oe?.skeleton,
64259
+ "--cat-details-name-text": Oe?.nameText,
64260
+ "--cat-details-publish-title-text": Oe?.publishTitleText,
64261
+ "--cat-details-content-text": Oe?.contentText,
64262
+ "--cat-details-variable-text": Oe?.variableText,
64263
+ "--cat-details-file-count-text": Oe?.contentFileCountText,
64264
+ "--cat-api-heading-text": Oe?.apiHeadingText,
64265
+ "--cat-tools-divider": Oe?.toolsDivider,
64266
+ "--cat-tools-description-text": Oe?.toolsDescriptionText,
64267
+ "--cat-grid-border": Oe?.gridBorder,
64268
+ "--cat-grid-header-text": Oe?.gridHeaderText,
64269
+ "--cat-grid-header-bg": Oe?.gridHeaderBackground,
64270
+ "--cat-grid-cell-text": Oe?.gridCellText,
64271
+ "--cat-grid-cell-divider": Oe?.gridCellDivider,
64272
+ "--cat-grid-row-even-bg": Oe?.gridRowEvenBackground,
64273
+ "--cat-info-card-bg": Oe?.infoCardBackground,
64274
+ "--cat-info-card-danger-bg": Oe?.infoCardDangerBackground,
64275
+ "--cat-confirm-message-text": Oe?.confirmMessageText,
64276
+ "--cat-confirm-consequence-text": Oe?.confirmConsequenceText,
64277
+ "--cat-confirm-footer-border": Oe?.confirmFooterBorder,
64278
+ "--cat-cred-surface-bg": Oe?.credentialsSurfaceBackground,
64279
+ "--cat-cred-active-icon": Oe?.credentialsActiveIcon,
64280
+ "--cat-cred-banner-icon-bg": Oe?.credentialsBannerIconBackground,
64281
+ "--cat-cred-description-text": Oe?.credentialsDescriptionText,
64282
+ "--cat-cred-row-description-text": Oe?.credentialsRowDescriptionText,
64283
+ "--cat-cred-error-text": Oe?.credentialsErrorText,
64284
+ "--cat-cred-card-bg": Oe?.credentialsCardBackground,
64285
+ "--cat-cred-card-icon": Oe?.credentialsCardIcon,
64286
+ "--cat-cred-card-title-text": Oe?.credentialsCardTitleText,
64287
+ "--cat-cred-card-description-text": Oe?.credentialsCardDescriptionText
64288
+ }), [Ae, je] = h(n), [Me, Ne] = h(""), [Pe, Ie] = h(!1), [Le, Re] = h([]), [Be, Ve] = h(!1), [He, Ue] = h(!1), [Ge, Ke] = h(!1), qe = m(null), Je = e.details?.promptContent, Ye = Je?.selectedFileId, [Xe, Ze] = h(null), [Qe, $e] = h(!1), [et, tt] = h(/* @__PURE__ */ new Set()), [rt, it] = h(!1), at = m(null), ot = m(0), st = s((e) => {
64289
+ let t = at.current, n = e?.preview?.type === Tn.Image ? e.preview.url : null;
64290
+ t != null && t !== n && t.startsWith("blob:") && URL.revokeObjectURL(t), at.current = n, Ze(e);
64254
64291
  }, []);
64255
64292
  l(() => {
64256
- at.current += 1, ot(null), Qe(!1), et(LI(qe?.files ?? [])), nt(!1);
64257
- }, [e.id, Je]), l(() => () => {
64258
- let e = it.current;
64293
+ ot.current += 1, st(null), $e(!1), tt(LI(Je?.files ?? [])), it(!1);
64294
+ }, [e.id, Ye]), l(() => () => {
64295
+ let e = at.current;
64259
64296
  e != null && e.startsWith("blob:") && URL.revokeObjectURL(e);
64260
64297
  }, []);
64261
- let st = s((e) => {
64262
- et((t) => {
64298
+ let ct = s((e) => {
64299
+ tt((t) => {
64263
64300
  let n = new Set(t);
64264
64301
  return n.has(e) ? n.delete(e) : n.add(e), n;
64265
64302
  });
64266
- }, []), ct = s(async (e) => {
64267
- if (e === Je) {
64268
- at.current += 1, ot(null), Qe(!1);
64303
+ }, []), lt = s(async (e) => {
64304
+ if (e === Ye) {
64305
+ ot.current += 1, st(null), $e(!1);
64269
64306
  return;
64270
64307
  }
64271
64308
  if (se == null && ae == null && oe == null) return;
64272
64309
  if (se != null) {
64273
- at.current += 1, ot({
64310
+ ot.current += 1, st({
64274
64311
  id: e,
64275
64312
  preview: null
64276
- }), Qe(!1);
64313
+ }), $e(!1);
64277
64314
  return;
64278
64315
  }
64279
- let t = ++at.current;
64280
- ot({
64316
+ let t = ++ot.current;
64317
+ st({
64281
64318
  id: e,
64282
64319
  preview: null
64283
- }), Qe(!0);
64320
+ }), $e(!0);
64284
64321
  try {
64285
64322
  let n = oe == null ? await ae?.(e).then((e) => e == null ? void 0 : {
64286
64323
  type: Tn.Markdown,
64287
64324
  text: e
64288
64325
  }) : await oe(e);
64289
- if (at.current !== t) {
64326
+ if (ot.current !== t) {
64290
64327
  n?.type === Tn.Image && n.url.startsWith("blob:") && URL.revokeObjectURL(n.url);
64291
64328
  return;
64292
64329
  }
64293
- ot({
64330
+ st({
64294
64331
  id: e,
64295
64332
  preview: n ?? null
64296
64333
  });
64297
64334
  } catch {
64298
- if (at.current !== t) return;
64299
- ot({
64335
+ if (ot.current !== t) return;
64336
+ st({
64300
64337
  id: e,
64301
64338
  preview: null
64302
64339
  });
64303
64340
  } finally {
64304
- at.current === t && Qe(!1);
64341
+ ot.current === t && $e(!1);
64305
64342
  }
64306
64343
  }, [
64307
- Je,
64344
+ Ye,
64308
64345
  ae,
64309
64346
  oe,
64310
64347
  se,
64311
- ot
64312
- ]), lt = Ye?.id ?? Je, ut = () => Ye == null ? null : Ye.preview == null ? {
64348
+ st
64349
+ ]), ut = Xe?.id ?? Ye, ft = () => Xe == null ? null : Xe.preview == null ? {
64313
64350
  type: Tn.Text,
64314
64351
  text: N?.contentFileErrorLabel ?? "Failed to load this file."
64315
- } : Ye.preview, dt = Ye != null && se != null ? se(Ye.id, RI(qe?.files ?? [], Ye.id) ?? "") : void 0, pt = s(() => {
64316
- if (!_ || Ke.current === e.id) return;
64352
+ } : Xe.preview, pt = Xe != null && se != null ? se(Xe.id, RI(Je?.files ?? [], Xe.id) ?? "") : void 0, mt = s(() => {
64353
+ if (!_ || qe.current === e.id) return;
64317
64354
  let t = e.id;
64318
- Ke.current = t, ze(!0), He(!1), (async () => {
64355
+ qe.current = t, Ve(!0), Ue(!1), (async () => {
64319
64356
  try {
64320
64357
  let n = await _(e);
64321
- if (Ke.current !== t) return;
64322
- Le(n), We(!0), ze(!1);
64358
+ if (qe.current !== t) return;
64359
+ Re(n), Ke(!0), Ve(!1);
64323
64360
  } catch {
64324
- if (Ke.current !== t) return;
64325
- He(!0), ze(!1), Ke.current = null;
64361
+ if (qe.current !== t) return;
64362
+ Ue(!0), Ve(!1), qe.current = null;
64326
64363
  }
64327
64364
  })();
64328
64365
  }, [_, e]);
64329
64366
  l(() => {
64330
- Ne && pt();
64331
- }, [Ne, pt]);
64332
- let mt = s((e, t) => {
64333
- Ke.current = null, We(!1), pt(), T?.(e, t);
64334
- }, [pt, T]), ht = DN({
64367
+ Pe && mt();
64368
+ }, [Pe, mt]);
64369
+ let ht = s((e, t) => {
64370
+ qe.current = null, Ke(!1), mt(), T?.(e, t);
64371
+ }, [mt, T]), gt = DN({
64335
64372
  item: e,
64336
- history: Fe,
64373
+ history: Le,
64337
64374
  folderItems: v,
64338
64375
  hasWriteAccess: S,
64339
64376
  onCreateFolder: ee,
64340
- onPublish: C ?? YL,
64341
- onPublishSuccess: mt,
64377
+ onPublish: C ?? eR,
64378
+ onPublishSuccess: ht,
64342
64379
  onPublishError: E,
64343
64380
  onFetchExistingRules: te
64344
- }), gt = p(() => wN({
64345
- hasSelectedFolder: ht.selectedFolderPath != null,
64346
- hasExistingPublicationInFolder: ht.hasExistingPublicationInFolder,
64347
- hasWriteAccess: ht.hasWriteAccess,
64348
- isSubmitting: ht.isSubmitting,
64349
- hasSubmitError: ht.hasSubmitError
64381
+ }), _t = p(() => wN({
64382
+ hasSelectedFolder: gt.selectedFolderPath != null,
64383
+ hasExistingPublicationInFolder: gt.hasExistingPublicationInFolder,
64384
+ hasWriteAccess: gt.hasWriteAccess,
64385
+ isSubmitting: gt.isSubmitting,
64386
+ hasSubmitError: gt.hasSubmitError
64350
64387
  }), [
64351
- ht.selectedFolderPath,
64352
- ht.hasExistingPublicationInFolder,
64353
- ht.hasWriteAccess,
64354
- ht.isSubmitting,
64355
- ht.hasSubmitError
64356
- ]), [_t, vt] = h(!1), [yt, bt] = h(null), [xt, St] = h(!1), [Ct, wt] = h(null), [Tt, Et] = h(null), [Dt, Ot] = h(null);
64388
+ gt.selectedFolderPath,
64389
+ gt.hasExistingPublicationInFolder,
64390
+ gt.hasWriteAccess,
64391
+ gt.isSubmitting,
64392
+ gt.hasSubmitError
64393
+ ]), [vt, yt] = h(!1), [bt, xt] = h(null), [St, Ct] = h(!1), [wt, Tt] = h(null), [Et, Dt] = h(null), [Ot, kt] = h(null);
64357
64394
  l(() => {
64358
- Ae(n);
64395
+ je(n);
64359
64396
  }, [e.id, n]), l(() => {
64360
- Me(""), Pe(!1), ht.reset(), Le([]), He(!1), ze(!1), We(!1), Ke.current = null, Ot(null), vt(!1), bt(null), St(!1), wt(null), Et(null);
64397
+ Ne(""), Ie(!1), gt.reset(), Re([]), Ue(!1), Ve(!1), Ke(!1), qe.current = null, kt(null), yt(!1), xt(null), Ct(!1), Tt(null), Dt(null);
64361
64398
  }, [e.id]);
64362
- let kt = s(() => vt(!0), []), At = s(() => vt(!1), []), jt = s(() => {
64363
- bt(pn.Delete);
64364
- }, []), Mt = s((t) => {
64365
- Et(t ?? (e.credentials == null ? null : Fn(e.credentials))), bt(pn.Logout);
64366
- }, [e.credentials]), Nt = s(() => {
64367
- bt(pn.Unshare);
64368
- }, []), Pt = s(() => {
64369
- bt(pn.RevokeAccess);
64370
- }, []), Ft = p(() => {
64399
+ let At = s(() => yt(!0), []), jt = s(() => yt(!1), []), Mt = s(() => {
64400
+ xt(pn.Delete);
64401
+ }, []), Nt = s((t) => {
64402
+ Dt(t ?? (e.credentials == null ? null : Fn(e.credentials))), xt(pn.Logout);
64403
+ }, [e.credentials]), Pt = s(() => {
64404
+ xt(pn.Unshare);
64405
+ }, []), Ft = s(() => {
64406
+ xt(pn.RevokeAccess);
64407
+ }, []), It = p(() => {
64371
64408
  let e = /* @__PURE__ */ new Set(), t = [];
64372
- for (let n of Fe) {
64409
+ for (let n of Le) {
64373
64410
  let r = n.folderPath.join("/");
64374
64411
  e.has(r) || (e.add(r), t.push({
64375
64412
  key: r,
@@ -64377,17 +64414,17 @@ var SI = () => {
64377
64414
  }));
64378
64415
  }
64379
64416
  return t;
64380
- }, [Fe]), It = Ue && Ft.length > 0, Lt = s((e) => e || (D?.rootFolderLabel ?? "Organization"), [D]), Rt = s(() => {
64381
- bt(pn.Unpublish);
64382
- }, []), zt = s((e) => {
64383
- wt(e), bt(pn.DeleteApiKey);
64384
- }, []), Bt = s(() => {
64385
- xt || (bt(null), wt(null), Et(null), Ot(null));
64386
- }, [xt]), Vt = s(async () => {
64387
- if (!(xt || yt == null)) {
64388
- St(!0);
64417
+ }, [Le]), Lt = Ge && It.length > 0, Rt = s((e) => e || (D?.rootFolderLabel ?? "Organization"), [D]), zt = s(() => {
64418
+ xt(pn.Unpublish);
64419
+ }, []), Bt = s((e) => {
64420
+ Tt(e), xt(pn.DeleteApiKey);
64421
+ }, []), Vt = s(() => {
64422
+ St || (xt(null), Tt(null), Dt(null), kt(null));
64423
+ }, [St]), Ht = s(async () => {
64424
+ if (!(St || bt == null)) {
64425
+ Ct(!0);
64389
64426
  try {
64390
- switch (yt) {
64427
+ switch (bt) {
64391
64428
  case pn.Delete:
64392
64429
  await ce?.(e);
64393
64430
  break;
@@ -64398,45 +64435,45 @@ var SI = () => {
64398
64435
  await de?.(e);
64399
64436
  break;
64400
64437
  case pn.Logout:
64401
- Tt != null && await ve?.(e, { level: Tt });
64438
+ Et != null && await ye?.(e, { level: Et });
64402
64439
  break;
64403
64440
  case pn.DeleteApiKey:
64404
- Ct != null && await ve?.(e, { level: Ct });
64441
+ wt != null && await ye?.(e, { level: wt });
64405
64442
  break;
64406
64443
  case pn.Unpublish: {
64407
- let t = JL(Ft, Dt);
64444
+ let t = $L(It, Ot);
64408
64445
  t != null && await he?.(e, t.segments);
64409
64446
  break;
64410
64447
  }
64411
64448
  }
64412
- bt(null), wt(null), Et(null), Ot(null), iR.has(yt) && i();
64449
+ xt(null), Tt(null), Dt(null), kt(null), lR.has(bt) && i();
64413
64450
  } catch {
64414
- bt(null), wt(null), Et(null), Ot(null);
64451
+ xt(null), Tt(null), Dt(null), kt(null);
64415
64452
  } finally {
64416
- St(!1);
64453
+ Ct(!1);
64417
64454
  }
64418
64455
  }
64419
64456
  }, [
64420
- xt,
64421
- yt,
64422
- Ct,
64423
- Tt,
64457
+ St,
64458
+ bt,
64459
+ wt,
64460
+ Et,
64424
64461
  e,
64425
64462
  ce,
64426
64463
  le,
64427
64464
  de,
64428
64465
  he,
64429
- Dt,
64430
- Ft,
64431
- ve,
64466
+ Ot,
64467
+ It,
64468
+ ye,
64432
64469
  i
64433
64470
  ]);
64434
64471
  l(() => {
64435
64472
  if (!t) return;
64436
64473
  let e = (e) => {
64437
64474
  if (e.key === "Escape") {
64438
- if (yt != null) {
64439
- Bt();
64475
+ if (bt != null) {
64476
+ Vt();
64440
64477
  return;
64441
64478
  }
64442
64479
  i();
@@ -64446,65 +64483,65 @@ var SI = () => {
64446
64483
  }, [
64447
64484
  t,
64448
64485
  i,
64449
- yt,
64450
- Bt
64486
+ bt,
64487
+ Vt
64451
64488
  ]);
64452
- let Ht = s(() => Pe(!0), []), Ut = s(() => {
64453
- Pe(!1), ht.reset();
64454
- }, [ht]), Wt = s(async () => {
64455
- await ht.handleSubmit() && Ut();
64456
- }, [ht, Ut]), Gt = s(() => {
64457
- let t = !ke;
64458
- Ae(t), a?.(e.id, t);
64489
+ let Ut = s(() => Ie(!0), []), Wt = s(() => {
64490
+ Ie(!1), gt.reset();
64491
+ }, [gt]), Gt = s(async () => {
64492
+ await gt.handleSubmit() && Wt();
64493
+ }, [gt, Wt]), Kt = s(() => {
64494
+ let t = !Ae;
64495
+ je(t), a?.(e.id, t);
64459
64496
  }, [
64460
- ke,
64497
+ Ae,
64461
64498
  e.id,
64462
64499
  a
64463
- ]), Kt = p(() => {
64464
- let t = [], n = KL.has(e.type);
64500
+ ]), qt = p(() => {
64501
+ let t = [], n = ZL.has(e.type);
64465
64502
  return n || t.push({
64466
- id: fn.About,
64503
+ id: dn.About,
64467
64504
  label: N?.tabAboutLabel ?? "About"
64468
64505
  }), (n || e.details?.promptContent != null) && t.push({
64469
- id: fn.Content,
64506
+ id: dn.Content,
64470
64507
  label: N?.tabContentLabel ?? "Details"
64471
64508
  }), e.details?.overview != null && t.push({
64472
- id: fn.Overview,
64509
+ id: dn.Overview,
64473
64510
  label: N?.tabOverviewLabel ?? "Overview"
64474
64511
  }), e.details?.pricing != null && t.push({
64475
- id: fn.Pricing,
64512
+ id: dn.Pricing,
64476
64513
  label: N?.tabPricingLabel ?? "Pricing"
64477
64514
  }), e.details?.limits != null && t.push({
64478
- id: fn.Limits,
64515
+ id: dn.Limits,
64479
64516
  label: N?.tabLimitsLabel ?? "Limits"
64480
64517
  }), e.details?.tools != null && t.push({
64481
- id: fn.Tools,
64518
+ id: dn.Tools,
64482
64519
  label: N?.tabToolsLabel ?? "Tools"
64483
- }), qL(e.details?.api) && t.push({
64484
- id: fn.Api,
64520
+ }), QL(e.details?.api) && t.push({
64521
+ id: dn.Api,
64485
64522
  label: N?.tabConnectLabel ?? "Connect"
64486
64523
  }), t;
64487
- }, [e, N]), qt = m(null);
64524
+ }, [e, N]), Jt = m(null);
64488
64525
  l(() => {
64489
- let t = qt.current !== e.id;
64490
- qt.current = e.id, (t || !Kt.some((e) => e.id === je)) && Me(Kt[0]?.id ?? "");
64526
+ let t = Jt.current !== e.id;
64527
+ Jt.current = e.id, (t || !qt.some((e) => e.id === Me)) && Ne(qt[0]?.id ?? "");
64491
64528
  }, [
64492
64529
  e.id,
64493
- Kt,
64494
- je
64530
+ qt,
64531
+ Me
64495
64532
  ]);
64496
- let Jt = N?.overviewYesLabel ?? "Yes", Yt = N?.overviewNoLabel ?? "No", Xt = N?.ariaLabel ?? "Item details", Zt = N?.closeAriaLabel ?? "Close", Qt = ke ? N?.removeFromFavoritesAriaLabel ?? "Remove from favorites" : N?.addToFavoritesAriaLabel ?? "Add to favorites", $t = N?.publishTitle ?? "Publish", en = N?.backToDetailsAriaLabel ?? "Back", tn = N?.cancelLabel ?? "Cancel", nn = p(() => {
64497
- switch (yt) {
64533
+ let Yt = N?.overviewYesLabel ?? "Yes", Xt = N?.overviewNoLabel ?? "No", Zt = N?.ariaLabel ?? "Item details", Qt = N?.closeAriaLabel ?? "Close", $t = Ae ? N?.removeFromFavoritesAriaLabel ?? "Remove from favorites" : N?.addToFavoritesAriaLabel ?? "Add to favorites", en = N?.publishTitle ?? "Publish", tn = N?.backToDetailsAriaLabel ?? "Back", nn = N?.cancelLabel ?? "Cancel", rn = p(() => {
64534
+ switch (bt) {
64498
64535
  case pn.Delete: {
64499
64536
  let t = N?.deleteActionLabel ?? "Delete";
64500
64537
  return {
64501
64538
  title: N?.deleteConfirmTitle ?? t,
64502
- message: N?.deleteConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(rt, { children: [
64539
+ message: N?.deleteConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(nt, { children: [
64503
64540
  "Are you sure you want to delete ",
64504
64541
  /* @__PURE__ */ P("strong", { children: e.name }),
64505
64542
  "? This action is permanent and cannot be undone."
64506
64543
  ] }),
64507
- consequences: N?.deleteConfirmConsequences ?? QL,
64544
+ consequences: N?.deleteConfirmConsequences ?? rR,
64508
64545
  confirmLabel: t,
64509
64546
  loadingStatusLabel: N?.deletingStatusLabel ?? "Deleting",
64510
64547
  variant: mn.Danger
@@ -64514,12 +64551,12 @@ var SI = () => {
64514
64551
  let t = N?.unshareLabel ?? "Remove from My List";
64515
64552
  return {
64516
64553
  title: N?.unshareConfirmTitle ?? t,
64517
- message: N?.unshareConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(rt, { children: [
64554
+ message: N?.unshareConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(nt, { children: [
64518
64555
  "Remove ",
64519
64556
  /* @__PURE__ */ P("strong", { children: e.name }),
64520
64557
  " from your list? You'll need a new invitation to access it again."
64521
64558
  ] }),
64522
- consequences: N?.unshareConfirmConsequences ?? $L,
64559
+ consequences: N?.unshareConfirmConsequences ?? iR,
64523
64560
  confirmLabel: t,
64524
64561
  loadingStatusLabel: N?.unsharingStatusLabel ?? "Removing",
64525
64562
  variant: mn.Info
@@ -64529,25 +64566,25 @@ var SI = () => {
64529
64566
  let t = N?.revokeShareLabel ?? "Revoke access";
64530
64567
  return {
64531
64568
  title: N?.revokeShareConfirmTitle ?? t,
64532
- message: N?.revokeShareConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(rt, { children: [
64569
+ message: N?.revokeShareConfirmMessage?.(e.name) ?? /* @__PURE__ */ F(nt, { children: [
64533
64570
  "Revoke shared access to ",
64534
64571
  /* @__PURE__ */ P("strong", { children: e.name }),
64535
64572
  "? Anyone you shared it with will lose access."
64536
64573
  ] }),
64537
- consequences: N?.revokeShareConfirmConsequences ?? tR,
64574
+ consequences: N?.revokeShareConfirmConsequences ?? oR,
64538
64575
  confirmLabel: t,
64539
64576
  loadingStatusLabel: N?.revokingShareStatusLabel ?? "Revoking access",
64540
64577
  variant: mn.Danger
64541
64578
  };
64542
64579
  }
64543
64580
  case pn.Unpublish: {
64544
- let t = N?.unpublishLabel ?? "Unpublish", n = Ft.length === 1, r = n ? Lt(Ft[0].key) : "", i = N?.unpublishConfirmMessage?.(e.name, r) ?? /* @__PURE__ */ F(rt, { children: [
64581
+ let t = N?.unpublishLabel ?? "Unpublish", n = It.length === 1, r = n ? Rt(It[0].key) : "", i = N?.unpublishConfirmMessage?.(e.name, r) ?? /* @__PURE__ */ F(nt, { children: [
64545
64582
  "Unpublish ",
64546
64583
  /* @__PURE__ */ P("strong", { children: e.name }),
64547
64584
  " from \"",
64548
64585
  r,
64549
64586
  "\"? The request is submitted for admin approval."
64550
- ] }), a = N?.unpublishSelectFolderMessage?.(e.name) ?? /* @__PURE__ */ F(rt, { children: [
64587
+ ] }), a = N?.unpublishSelectFolderMessage?.(e.name) ?? /* @__PURE__ */ F(nt, { children: [
64551
64588
  "Choose which folder to unpublish ",
64552
64589
  /* @__PURE__ */ P("strong", { children: e.name }),
64553
64590
  " from. The request is submitted for admin approval."
@@ -64555,7 +64592,7 @@ var SI = () => {
64555
64592
  return {
64556
64593
  title: N?.unpublishConfirmTitle ?? t,
64557
64594
  message: n ? i : a,
64558
- consequences: N?.unpublishConfirmConsequences ?? eR,
64595
+ consequences: N?.unpublishConfirmConsequences ?? aR,
64559
64596
  confirmLabel: t,
64560
64597
  loadingStatusLabel: N?.unpublishingStatusLabel ?? "Requesting unpublish",
64561
64598
  variant: mn.Danger
@@ -64573,10 +64610,10 @@ var SI = () => {
64573
64610
  };
64574
64611
  }
64575
64612
  case pn.DeleteApiKey: {
64576
- let e = N?.deleteActionLabel ?? "Delete", t = Ct ?? vn.User;
64613
+ let e = N?.deleteActionLabel ?? "Delete", t = wt ?? vn.User;
64577
64614
  return {
64578
64615
  title: e,
64579
- message: (N?.deleteApiKeyConfirmMessage ?? rR)(t),
64616
+ message: (N?.deleteApiKeyConfirmMessage ?? cR)(t),
64580
64617
  consequences: void 0,
64581
64618
  confirmLabel: e,
64582
64619
  loadingStatusLabel: N?.deletingStatusLabel ?? "Deleting",
@@ -64587,58 +64624,58 @@ var SI = () => {
64587
64624
  default: return null;
64588
64625
  }
64589
64626
  }, [
64590
- yt,
64627
+ bt,
64591
64628
  e.name,
64592
- Ct,
64629
+ wt,
64593
64630
  N,
64594
- Ft,
64595
- Lt
64596
- ]), rn = nn != null, an = yt === pn.Unpublish && JL(Ft, Dt) == null, on = rn || Ne || _t, sn = e.credentials == null ? "" : (N?.credentialsManagementTitle ?? nR)(e.credentials.authenticationType), cn = rn ? {
64597
- title: nn.title,
64598
- isBackDisabled: xt,
64599
- onBack: Bt
64600
- } : Ne ? {
64601
- title: $t,
64602
- isBackDisabled: ht.isSubmitting,
64603
- onBack: Ut
64604
- } : _t ? {
64605
- title: sn,
64631
+ It,
64632
+ Rt
64633
+ ]), an = rn != null, on = bt === pn.Unpublish && $L(It, Ot) == null, sn = an || Pe || vt, cn = e.credentials == null ? "" : (N?.credentialsManagementTitle ?? sR)(e.credentials.authenticationType), ln = an ? {
64634
+ title: rn.title,
64635
+ isBackDisabled: St,
64636
+ onBack: Vt
64637
+ } : Pe ? {
64638
+ title: en,
64639
+ isBackDisabled: gt.isSubmitting,
64640
+ onBack: Wt
64641
+ } : vt ? {
64642
+ title: cn,
64606
64643
  isBackDisabled: !1,
64607
- onBack: At
64608
- } : null, ln = cn?.title ?? Xt;
64609
- return /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("div", {
64610
- style: Oe,
64644
+ onBack: jt
64645
+ } : null, un = ln?.title ?? Zt;
64646
+ return /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("div", {
64647
+ style: ke,
64611
64648
  className: I("fixed inset-0 z-40 transition-opacity duration-300", mL.backdrop, t ? "opacity-100" : "pointer-events-none opacity-0"),
64612
64649
  onClick: i,
64613
64650
  "aria-hidden": "true"
64614
64651
  }), /* @__PURE__ */ F("div", {
64615
64652
  role: "dialog",
64616
64653
  "aria-modal": "true",
64617
- "aria-label": ln,
64618
- style: Oe,
64654
+ "aria-label": un,
64655
+ style: ke,
64619
64656
  className: I("fixed inset-y-0 end-0 z-50 flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", mL.panel, t ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
64620
64657
  children: [
64621
64658
  /* @__PURE__ */ F("div", {
64622
64659
  className: "flex shrink-0 items-center gap-2 px-6 py-3",
64623
- children: [cn != null && /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P(ye, {
64624
- icon: /* @__PURE__ */ P(ft, { className: "rtl:scale-x-[-1]" }),
64625
- "aria-label": en,
64626
- disabled: cn.isBackDisabled,
64627
- onClick: cn.onBack
64660
+ children: [ln != null && /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P(ve, {
64661
+ icon: /* @__PURE__ */ P(dt, { className: "rtl:scale-x-[-1]" }),
64662
+ "aria-label": tn,
64663
+ disabled: ln.isBackDisabled,
64664
+ onClick: ln.onBack
64628
64665
  }), /* @__PURE__ */ P("span", {
64629
- className: I("flex-1", xe, mL.publishTitle),
64630
- children: cn.title
64631
- })] }), cn == null && /* @__PURE__ */ F(rt, { children: [
64666
+ className: I("flex-1", Se, mL.publishTitle),
64667
+ children: ln.title
64668
+ })] }), ln == null && /* @__PURE__ */ F(nt, { children: [
64632
64669
  /* @__PURE__ */ P("div", { className: "flex-1" }),
64633
64670
  o?.(e) !== !1 && /* @__PURE__ */ P(pN, {
64634
- isStarred: ke,
64635
- ariaLabel: Qt,
64636
- onClick: Gt
64671
+ isStarred: Ae,
64672
+ ariaLabel: $t,
64673
+ onClick: Kt
64637
64674
  }),
64638
64675
  /* @__PURE__ */ P(w, {
64639
64676
  onClose: i,
64640
64677
  size: pe.Standard,
64641
- ariaLabel: Zt
64678
+ ariaLabel: Qt
64642
64679
  })
64643
64680
  ] })]
64644
64681
  }),
@@ -64646,33 +64683,33 @@ var SI = () => {
64646
64683
  /* @__PURE__ */ F("div", {
64647
64684
  className: I("flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto", mL.content),
64648
64685
  children: [
64649
- rn && /* @__PURE__ */ P(ZI, {
64686
+ an && /* @__PURE__ */ P(ZI, {
64650
64687
  item: e,
64651
- message: nn.message,
64652
- consequences: nn.consequences,
64653
- variant: nn.cardVariant ?? nn.variant,
64654
- messageClassName: Ee,
64655
- children: yt === pn.Unpublish && Ft.length > 1 && /* @__PURE__ */ P(Ie, {
64688
+ message: rn.message,
64689
+ consequences: rn.consequences,
64690
+ variant: rn.cardVariant ?? rn.variant,
64691
+ messageClassName: De,
64692
+ children: bt === pn.Unpublish && It.length > 1 && /* @__PURE__ */ P(Fe, {
64656
64693
  ariaLabel: N?.unpublishFolderGroupAriaLabel ?? "Published folders",
64657
- value: Dt ?? void 0,
64658
- onChange: Ot,
64659
- disabled: xt,
64660
- items: Ft.map((e) => ({
64694
+ value: Ot ?? void 0,
64695
+ onChange: kt,
64696
+ disabled: St,
64697
+ items: It.map((e) => ({
64661
64698
  value: e.key,
64662
- label: Lt(e.key)
64699
+ label: Rt(e.key)
64663
64700
  })),
64664
- radioClassName: Ee
64701
+ radioClassName: De
64665
64702
  })
64666
64703
  }),
64667
- !rn && !Ne && _t && /* @__PURE__ */ P(pL, {
64704
+ !an && !Pe && vt && /* @__PURE__ */ P(pL, {
64668
64705
  item: e,
64669
64706
  onLogin: _e,
64670
- onRequestLogout: Mt,
64671
- onRequestDeleteApiKey: zt,
64707
+ onRequestLogout: Nt,
64708
+ onRequestDeleteApiKey: Bt,
64672
64709
  texts: N,
64673
64710
  detailsStyles: be
64674
64711
  }),
64675
- !rn && Ne && /* @__PURE__ */ P("div", {
64712
+ !an && Pe && /* @__PURE__ */ P("div", {
64676
64713
  className: "p-[22px]",
64677
64714
  children: /* @__PURE__ */ P(AI, {
64678
64715
  resource: {
@@ -64681,35 +64718,35 @@ var SI = () => {
64681
64718
  type: e.type,
64682
64719
  iconUrl: e.iconUrl
64683
64720
  },
64684
- history: Fe,
64685
- isHistoryLoading: Re,
64686
- hasHistoryError: Ve,
64687
- folderItems: ht.folderItems,
64688
- selectedFolderPath: ht.selectedFolderPath,
64689
- onSelectedFolderPathChange: ht.setSelectedFolderPath,
64690
- onCreateFolder: ht.handleCreateFolder,
64721
+ history: Le,
64722
+ isHistoryLoading: Be,
64723
+ hasHistoryError: He,
64724
+ folderItems: gt.folderItems,
64725
+ selectedFolderPath: gt.selectedFolderPath,
64726
+ onSelectedFolderPathChange: gt.setSelectedFolderPath,
64727
+ onCreateFolder: gt.handleCreateFolder,
64691
64728
  expandedPaths: y,
64692
64729
  onExpandedPathsChange: b,
64693
64730
  loadingPaths: x,
64694
- hasExistingPublicationInFolder: ht.hasExistingPublicationInFolder,
64695
- hasWriteAccess: ht.hasWriteAccess,
64696
- isSubmitting: ht.isSubmitting,
64697
- hasSubmitError: ht.hasSubmitError,
64698
- rules: ht.rules,
64699
- onRulesChange: ht.setRules,
64731
+ hasExistingPublicationInFolder: gt.hasExistingPublicationInFolder,
64732
+ hasWriteAccess: gt.hasWriteAccess,
64733
+ isSubmitting: gt.isSubmitting,
64734
+ hasSubmitError: gt.hasSubmitError,
64735
+ rules: gt.rules,
64736
+ onRulesChange: gt.setRules,
64700
64737
  ruleSourceOptions: O,
64701
- isRulesLoading: ht.isRulesLoading,
64702
- hasRulesLoadError: ht.hasRulesLoadError,
64738
+ isRulesLoading: gt.isRulesLoading,
64739
+ hasRulesLoadError: gt.hasRulesLoadError,
64703
64740
  labels: D,
64704
64741
  styles: { colors: {
64705
- summaryVersionTagBorder: De?.versionTagBorder,
64706
- summaryVersionTagBackground: De?.versionTagBackground,
64707
- summaryVersionTagText: De?.versionTagText
64742
+ summaryVersionTagBorder: Oe?.versionTagBorder,
64743
+ summaryVersionTagBackground: Oe?.versionTagBackground,
64744
+ summaryVersionTagText: Oe?.versionTagText
64708
64745
  } }
64709
64746
  })
64710
64747
  }),
64711
- !on && /* @__PURE__ */ F(rt, { children: [
64712
- /* @__PURE__ */ P(CL, {
64748
+ !sn && /* @__PURE__ */ F(nt, { children: [
64749
+ /* @__PURE__ */ P(TL, {
64713
64750
  item: e,
64714
64751
  onUseInChat: c,
64715
64752
  isPrimaryActionVisible: u,
@@ -64719,25 +64756,25 @@ var SI = () => {
64719
64756
  isSharePrimary: j,
64720
64757
  isPublishVisible: f,
64721
64758
  isPublishPrimary: g,
64722
- onOpenPublish: Ht,
64759
+ onOpenPublish: Ut,
64723
64760
  isUnpublishVisible: ge,
64724
- hasPublishedFolders: It,
64725
- onRequestPublishHistory: pt,
64726
- onOpenUnpublish: he ? Rt : void 0,
64761
+ hasPublishedFolders: Lt,
64762
+ onRequestPublishHistory: mt,
64763
+ onOpenUnpublish: he ? zt : void 0,
64727
64764
  onEdit: ne,
64728
64765
  onDownload: re,
64729
64766
  isDownloadVisible: M,
64730
64767
  isDownloadPrimary: ie,
64731
- onDelete: ce ? jt : void 0,
64732
- onUnshare: le ? Nt : void 0,
64768
+ onDelete: ce ? Mt : void 0,
64769
+ onUnshare: le ? Pt : void 0,
64733
64770
  isUnshareVisible: ue,
64734
- onRevokeShare: de ? Pt : void 0,
64771
+ onRevokeShare: de ? Ft : void 0,
64735
64772
  onFetchRecipientsCount: fe,
64736
64773
  isRevokeShareVisible: me,
64737
64774
  onLogin: _e,
64738
- onLogout: ve,
64739
- onOpenCredentialsManagement: kt,
64740
- onRequestLogout: Mt,
64775
+ onLogout: ye,
64776
+ onOpenCredentialsManagement: At,
64777
+ onRequestLogout: Nt,
64741
64778
  texts: N,
64742
64779
  detailsStyles: be
64743
64780
  }),
@@ -64754,15 +64791,15 @@ var SI = () => {
64754
64791
  })(),
64755
64792
  /* @__PURE__ */ F("div", {
64756
64793
  className: "flex items-center px-6",
64757
- children: [/* @__PURE__ */ P(Ge, {
64758
- tabs: Kt,
64759
- activeTabId: je,
64760
- onTabChange: Me
64794
+ children: [/* @__PURE__ */ P(We, {
64795
+ tabs: qt,
64796
+ activeTabId: Me,
64797
+ onTabChange: Ne
64761
64798
  }), r && /* @__PURE__ */ P("div", {
64762
64799
  role: "status",
64763
64800
  "aria-label": N?.detailsLoadingAriaLabel ?? "Loading details",
64764
64801
  className: "shrink-0",
64765
- children: /* @__PURE__ */ P(Be, {
64802
+ children: /* @__PURE__ */ P(ze, {
64766
64803
  showTitle: !1,
64767
64804
  paragraph: {
64768
64805
  rows: 1,
@@ -64774,52 +64811,51 @@ var SI = () => {
64774
64811
  })]
64775
64812
  }),
64776
64813
  /* @__PURE__ */ F("div", {
64777
- className: I("min-h-0 flex-1 overflow-y-auto", je !== fn.Overview && "px-6"),
64814
+ className: I("min-h-0 flex-1 overflow-y-auto", Me !== dn.Overview && "px-6"),
64778
64815
  children: [
64779
- je === fn.About && /* @__PURE__ */ P(wL, {
64816
+ Me === dn.About && /* @__PURE__ */ P(EL, {
64780
64817
  content: e.description,
64781
64818
  topics: e.topics,
64782
64819
  detailsStyles: be
64783
64820
  }),
64784
- je === fn.Content && /* @__PURE__ */ P(kL, {
64785
- content: qe?.content ?? "",
64786
- filePreview: ut(),
64787
- filePreviewContent: dt,
64788
- description: qe?.description ?? e.description,
64789
- files: qe?.files,
64790
- selectedFileId: lt,
64791
- onSelectFile: (e) => void ct(e),
64792
- isFileLoading: Ze,
64793
- expandedFolderIds: $e,
64794
- onToggleFolder: st,
64795
- isFileSelectorOpen: tt,
64796
- onFileSelectorOpenChange: nt,
64821
+ Me === dn.Content && /* @__PURE__ */ P(jL, {
64822
+ content: Je?.content ?? "",
64823
+ filePreview: ft(),
64824
+ filePreviewContent: pt,
64825
+ description: Je?.description ?? e.description,
64826
+ files: Je?.files,
64827
+ selectedFileId: ut,
64828
+ onSelectFile: (e) => void lt(e),
64829
+ isFileLoading: Qe,
64830
+ expandedFolderIds: et,
64831
+ onToggleFolder: ct,
64832
+ isFileSelectorOpen: rt,
64833
+ onFileSelectorOpenChange: it,
64797
64834
  fileSelectorAriaLabel: N?.contentFileSelectorAriaLabel,
64798
64835
  fileCountLabel: N?.contentFileCountLabel,
64799
64836
  fileLoadingLabel: N?.contentFileLoadingLabel,
64800
64837
  fileUnsupportedLabel: N?.contentFileUnsupportedLabel,
64801
64838
  detailsStyles: be
64802
64839
  }),
64803
- je === fn.Overview && /* @__PURE__ */ P(BL, {
64840
+ Me === dn.Overview && /* @__PURE__ */ P(GL, {
64804
64841
  sections: e.details?.overview?.sections,
64805
- sectionClassName: Se,
64806
- labelClassName: Ce,
64807
- valueClassName: we,
64808
- valueTrueClassName: Te,
64809
- yesLabel: Jt,
64810
- noLabel: Yt
64842
+ sectionClassName: Ce,
64843
+ labelClassName: we,
64844
+ valueClassName: Te,
64845
+ valueTrueClassName: Ee,
64846
+ yesLabel: Yt,
64847
+ noLabel: Xt
64811
64848
  }),
64812
- je === fn.Pricing && /* @__PURE__ */ P(VL, {
64849
+ Me === dn.Pricing && /* @__PURE__ */ P(KL, {
64813
64850
  pricing: e.details?.pricing,
64814
64851
  pricesSectionLabel: N?.pricingPricesSectionLabel,
64815
64852
  limitsSectionLabel: N?.pricingLimitsSectionLabel
64816
64853
  }),
64817
- je === fn.Limits && /* @__PURE__ */ P(zL, {
64854
+ Me === dn.Limits && /* @__PURE__ */ P(WL, {
64818
64855
  limits: e.details?.limits,
64819
- costCapsSectionLabel: N?.limitsCostCapsSectionLabel,
64820
- unlimitedSectionLabel: N?.limitsUnlimitedSectionLabel
64856
+ footerNote: xe
64821
64857
  }),
64822
- je === fn.Api && qL(e.details?.api) && /* @__PURE__ */ P(KI, {
64858
+ Me === dn.Api && QL(e.details?.api) && /* @__PURE__ */ P(KI, {
64823
64859
  api: e.details?.api,
64824
64860
  resourceSectionLabel: N?.apiResourceSectionLabel,
64825
64861
  snippetSectionLabel: N?.apiSnippetSectionLabel,
@@ -64831,34 +64867,34 @@ var SI = () => {
64831
64867
  copyAriaLabel: N?.copyCodeAriaLabel,
64832
64868
  copiedStatusLabel: N?.copiedCodeStatusLabel
64833
64869
  }),
64834
- je === fn.Tools && /* @__PURE__ */ P(GL, { tools: e.details?.tools })
64870
+ Me === dn.Tools && /* @__PURE__ */ P(XL, { tools: e.details?.tools })
64835
64871
  ]
64836
64872
  })
64837
64873
  ] })
64838
64874
  ]
64839
64875
  }),
64840
- rn && /* @__PURE__ */ P(JI, {
64841
- confirmLabel: nn.confirmLabel,
64842
- cancelLabel: tn,
64843
- variant: nn.variant,
64844
- isLoading: xt,
64845
- isConfirmDisabled: an,
64846
- loadingStatusLabel: nn.loadingStatusLabel,
64847
- onConfirm: Vt,
64848
- onCancel: Bt
64876
+ an && /* @__PURE__ */ P(JI, {
64877
+ confirmLabel: rn.confirmLabel,
64878
+ cancelLabel: nn,
64879
+ variant: rn.variant,
64880
+ isLoading: St,
64881
+ isConfirmDisabled: on,
64882
+ loadingStatusLabel: rn.loadingStatusLabel,
64883
+ onConfirm: Ht,
64884
+ onCancel: Vt
64849
64885
  }),
64850
- !rn && Ne && /* @__PURE__ */ P(FI, {
64886
+ !an && Pe && /* @__PURE__ */ P(FI, {
64851
64887
  version: e.version,
64852
- hasExistingPublicationInFolder: ht.hasExistingPublicationInFolder,
64853
- isSubmitDisabled: gt.isSubmitDisabled,
64854
- isSubmitLoading: gt.isSubmitLoading,
64855
- onCancel: Ut,
64856
- onSubmit: Wt,
64888
+ hasExistingPublicationInFolder: gt.hasExistingPublicationInFolder,
64889
+ isSubmitDisabled: _t.isSubmitDisabled,
64890
+ isSubmitLoading: _t.isSubmitLoading,
64891
+ onCancel: Wt,
64892
+ onSubmit: Gt,
64857
64893
  labels: D
64858
64894
  })
64859
64895
  ]
64860
64896
  })] });
64861
- }, oR = {
64897
+ }, dR = {
64862
64898
  pageNav: "_pageNav_14qfn_1",
64863
64899
  navBtn: "_navBtn_14qfn_6",
64864
64900
  titleText: "_titleText_14qfn_23",
@@ -64873,7 +64909,7 @@ var SI = () => {
64873
64909
  favFadeIn: "_favFadeIn_14qfn_1",
64874
64910
  cardLeaving: "_cardLeaving_14qfn_54",
64875
64911
  cardFadeOut: "_cardFadeOut_14qfn_1"
64876
- }, sR = ({ item: e, initialIsStarred: t = !0, onToggle: n, isFavoriteVisible: r, onClick: i, nameClassName: a, colors: o, versionClassName: c, lastUsedClassName: l, query: u, addToFavoritesAriaLabel: d = "Add to favorites", removeFromFavoritesAriaLabel: f = "Remove from favorites", isSelected: p = !1, credentialsBadgeLoggedOutLabel: m }) => {
64912
+ }, fR = ({ item: e, initialIsStarred: t = !0, onToggle: n, isFavoriteVisible: r, onClick: i, nameClassName: a, colors: o, versionClassName: c, lastUsedClassName: l, query: u, addToFavoritesAriaLabel: d = "Add to favorites", removeFromFavoritesAriaLabel: f = "Remove from favorites", isSelected: p = !1, credentialsBadgeLoggedOutLabel: m }) => {
64877
64913
  let [g, _] = h(t), [v, y] = h(!1), b = (t) => {
64878
64914
  t.stopPropagation();
64879
64915
  let r = !g;
@@ -64890,16 +64926,16 @@ var SI = () => {
64890
64926
  role: S == null ? void 0 : "button",
64891
64927
  tabIndex: S == null ? void 0 : 0,
64892
64928
  "aria-label": e.name,
64893
- className: I("box-border min-w-0 cursor-pointer flex-row items-start gap-1 text-start", v && oR.cardLeaving, p && oR.selectedCard),
64929
+ className: I("box-border min-w-0 cursor-pointer flex-row items-start gap-1 text-start", v && dR.cardLeaving, p && dR.selectedCard),
64894
64930
  onClick: S,
64895
64931
  onKeyDown: C,
64896
64932
  onAnimationEnd: v ? (t) => {
64897
64933
  t.currentTarget === t.target && n?.(e.id, !1);
64898
64934
  } : void 0,
64899
64935
  children: [
64900
- p && /* @__PURE__ */ P(ut, {
64936
+ p && /* @__PURE__ */ P(lt, {
64901
64937
  size: k.SM,
64902
- className: I("absolute end-3 top-3 shrink-0", oR.selectedCheck),
64938
+ className: I("absolute end-3 top-3 shrink-0", dR.selectedCheck),
64903
64939
  "aria-hidden": !0
64904
64940
  }),
64905
64941
  /* @__PURE__ */ P("div", {
@@ -64936,7 +64972,7 @@ var SI = () => {
64936
64972
  })
64937
64973
  ]
64938
64974
  });
64939
- }, cR = 2, lR = (e) => {
64975
+ }, pR = 2, mR = (e) => {
64940
64976
  let t = e.getBoundingClientRect(), n = window.scrollX, r = window.scrollY, i = window.getComputedStyle(e).transform;
64941
64977
  if (!i || i === "none") return new DOMRect(t.x + n, t.y + r, t.width, t.height);
64942
64978
  try {
@@ -64945,7 +64981,7 @@ var SI = () => {
64945
64981
  } catch {
64946
64982
  return new DOMRect(t.x + n, t.y + r, t.width, t.height);
64947
64983
  }
64948
- }, uR = ({ items: e, totalCount: t, title: n = "Your Favorites", onToggleFavorite: r, isFavoriteVisible: i, onItemClick: a, styles: o, isLeaving: s, onExitComplete: c, prevPageAriaLabel: u = "Previous page", nextPageAriaLabel: d = "Next page", addToFavoritesAriaLabel: g, removeFromFavoritesAriaLabel: _, selectedItemId: v, credentialsBadgeLoggedOutLabel: y }) => {
64984
+ }, hR = ({ items: e, totalCount: t, title: n = "Your Favorites", onToggleFavorite: r, isFavoriteVisible: i, onItemClick: a, styles: o, isLeaving: s, onExitComplete: c, prevPageAriaLabel: u = "Previous page", nextPageAriaLabel: d = "Next page", addToFavoritesAriaLabel: g, removeFromFavoritesAriaLabel: _, selectedItemId: v, credentialsBadgeLoggedOutLabel: y }) => {
64949
64985
  let b = o?.typography?.titleClassName ?? "dial-body-semi-text", x = o?.typography?.countClassName ?? "dial-tiny-semi-text", S = Ti({
64950
64986
  "--cat-fav-title-text": o?.colors?.titleText,
64951
64987
  "--cat-fav-count-text": o?.colors?.countText,
@@ -64958,7 +64994,7 @@ var SI = () => {
64958
64994
  "--cat-fav-nav-btn-active-bg": o?.colors?.navButtonActiveBackground,
64959
64995
  "--cat-fav-page-nav-border": o?.colors?.pageNavBorder,
64960
64996
  "--cat-fav-page-nav-bg": o?.colors?.pageNavBackground
64961
- }), C = p(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [w, T] = h(1), E = jn(), ee = E * cR, D = (w - 1) * ee, O = p(() => C.slice(D, D + ee), [
64997
+ }), C = p(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [w, T] = h(1), E = jn(), ee = E * pR, D = (w - 1) * ee, O = p(() => C.slice(D, D + ee), [
64962
64998
  C,
64963
64999
  D,
64964
65000
  ee
@@ -64991,7 +65027,7 @@ var SI = () => {
64991
65027
  ce.current = w, le.current = E;
64992
65028
  let n = ne.current.querySelectorAll("[data-card-id]"), r = /* @__PURE__ */ new Map();
64993
65029
  if (n.forEach((e) => {
64994
- r.set(e.dataset.cardId, lR(e));
65030
+ r.set(e.dataset.cardId, mR(e));
64995
65031
  }), !e && !t) {
64996
65032
  let e = j.current, t = ue.current, i = 0;
64997
65033
  if (e) {
@@ -65047,7 +65083,7 @@ var SI = () => {
65047
65083
  ref: A,
65048
65084
  children: /* @__PURE__ */ F("section", {
65049
65085
  ref: j,
65050
- className: I("flex flex-shrink-0 flex-col gap-4 pb-2 pt-2", oR.section, s && oR.sectionLeaving),
65086
+ className: I("flex flex-shrink-0 flex-col gap-4 pb-2 pt-2", dR.section, s && dR.sectionLeaving),
65051
65087
  style: {
65052
65088
  ...S,
65053
65089
  minHeight: ie
@@ -65058,23 +65094,23 @@ var SI = () => {
65058
65094
  children: [/* @__PURE__ */ P(Ug, {
65059
65095
  title: n,
65060
65096
  postfix: k,
65061
- titleClassName: I(b, oR.titleText),
65062
- postfixClassName: I(x, oR.countText),
65097
+ titleClassName: I(b, dR.titleText),
65098
+ postfixClassName: I(x, dR.countText),
65063
65099
  trailing: te > 1 ? /* @__PURE__ */ F("div", {
65064
- className: I("inline-flex items-center gap-[2px] rounded-full px-[6px] py-[3px]", oR.pageNav),
65100
+ className: I("inline-flex items-center gap-[2px] rounded-full px-[6px] py-[3px]", dR.pageNav),
65065
65101
  children: [
65066
65102
  /* @__PURE__ */ P("button", {
65067
65103
  "aria-label": u,
65068
65104
  disabled: w === 1,
65069
65105
  onClick: () => T((e) => e - 1),
65070
- className: I("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", oR.navBtn),
65071
- children: /* @__PURE__ */ P(ft, {
65106
+ className: I("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", dR.navBtn),
65107
+ children: /* @__PURE__ */ P(dt, {
65072
65108
  size: 14,
65073
65109
  className: "rtl:scale-x-[-1]"
65074
65110
  })
65075
65111
  }),
65076
65112
  /* @__PURE__ */ F("span", {
65077
- className: I("min-w-[32px] select-none px-1 text-center", x, oR.countText),
65113
+ className: I("min-w-[32px] select-none px-1 text-center", x, dR.countText),
65078
65114
  children: [
65079
65115
  w,
65080
65116
  " / ",
@@ -65085,8 +65121,8 @@ var SI = () => {
65085
65121
  "aria-label": d,
65086
65122
  disabled: w === te,
65087
65123
  onClick: () => T((e) => e + 1),
65088
- className: I("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", oR.navBtn),
65089
- children: /* @__PURE__ */ P(pt, {
65124
+ className: I("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", dR.navBtn),
65125
+ children: /* @__PURE__ */ P(ft, {
65090
65126
  size: 14,
65091
65127
  className: "rtl:scale-x-[-1]"
65092
65128
  })
@@ -65095,12 +65131,12 @@ var SI = () => {
65095
65131
  }) : void 0
65096
65132
  }), /* @__PURE__ */ P("div", {
65097
65133
  ref: ne,
65098
- className: I("grid content-start gap-5", oR.gridPage),
65134
+ className: I("grid content-start gap-5", dR.gridPage),
65099
65135
  style: {
65100
65136
  gridTemplateColumns: `repeat(${E}, minmax(0, 1fr))`,
65101
65137
  minHeight: re
65102
65138
  },
65103
- children: O.map((e) => /* @__PURE__ */ P(sR, {
65139
+ children: O.map((e) => /* @__PURE__ */ P(fR, {
65104
65140
  item: e,
65105
65141
  onToggle: r,
65106
65142
  isFavoriteVisible: i,
@@ -65113,7 +65149,7 @@ var SI = () => {
65113
65149
  })]
65114
65150
  })
65115
65151
  });
65116
- }, dR = {
65152
+ }, gR = {
65117
65153
  listContainer: "_listContainer_15cmz_1",
65118
65154
  gridClip: "_gridClip_15cmz_6",
65119
65155
  favHeader: "_favHeader_15cmz_43",
@@ -65121,14 +65157,14 @@ var SI = () => {
65121
65157
  selectedCheck: "_selectedCheck_15cmz_51",
65122
65158
  starToggleOff: "_starToggleOff_15cmz_55",
65123
65159
  selectedRow: "_selectedRow_15cmz_68"
65124
- }, fR = ({ data: e }) => e ? /* @__PURE__ */ P("div", {
65160
+ }, _R = ({ data: e }) => e ? /* @__PURE__ */ P("div", {
65125
65161
  className: "flex h-full items-center",
65126
65162
  children: /* @__PURE__ */ P(Wg, { type: e.type })
65127
- }) : null, pR = ({ data: e, context: t }) => !e || e.folder.length === 0 ? null : /* @__PURE__ */ P(_e, {
65163
+ }) : null, vR = ({ data: e, context: t }) => !e || e.folder.length === 0 ? null : /* @__PURE__ */ P(ge, {
65128
65164
  segments: e.folder,
65129
65165
  labelClassName: t?.typography?.folderClassName,
65130
65166
  leafClassName: t?.typography?.folderLastSegmentClassName
65131
- }), mR = ({ data: e, context: t }) => {
65167
+ }), yR = ({ data: e, context: t }) => {
65132
65168
  let n = t?.searchQuery ?? "", r = t?.typography, i = r?.nameClassName ?? "dial-small-semi-text", a = r?.versionClassName ?? "dial-tiny-text", o = e != null && e.id === t?.selectedItemId;
65133
65169
  return e ? /* @__PURE__ */ F("div", {
65134
65170
  className: "flex h-full min-w-0 items-center gap-2.5",
@@ -65150,14 +65186,14 @@ var SI = () => {
65150
65186
  query: n,
65151
65187
  titleClassName: i,
65152
65188
  className: "min-w-0 items-baseline gap-1.5",
65153
- trailing: o ? /* @__PURE__ */ P(ut, {
65189
+ trailing: o ? /* @__PURE__ */ P(lt, {
65154
65190
  size: k.SM,
65155
- className: I("shrink-0", dR.selectedCheck),
65191
+ className: I("shrink-0", gR.selectedCheck),
65156
65192
  "aria-hidden": !0
65157
65193
  }) : void 0
65158
65194
  })]
65159
65195
  }) : null;
65160
- }, hR = ({ data: e, context: t }) => {
65196
+ }, bR = ({ data: e, context: t }) => {
65161
65197
  let [n, r] = h(e?.isStarred ?? !1);
65162
65198
  return l(() => {
65163
65199
  r(e?.isStarred ?? !1);
@@ -65170,20 +65206,20 @@ var SI = () => {
65170
65206
  let a = !n;
65171
65207
  r(a), t?.onToggleFavorite?.(e.id, a);
65172
65208
  },
65173
- className: n ? void 0 : dR.starToggleOff
65209
+ className: n ? void 0 : gR.starToggleOff
65174
65210
  })
65175
65211
  });
65176
- }, gR = ({ data: e }) => !e || e.topics.length === 0 ? null : /* @__PURE__ */ P("div", {
65212
+ }, xR = ({ data: e }) => !e || e.topics.length === 0 ? null : /* @__PURE__ */ P("div", {
65177
65213
  className: "flex h-full items-center",
65178
65214
  children: /* @__PURE__ */ P(vN, { topics: e.topics })
65179
- }), _R = (e) => [
65215
+ }), SR = (e) => [
65180
65216
  {
65181
65217
  headerName: "Name",
65182
65218
  flex: 1,
65183
65219
  minWidth: 220,
65184
65220
  field: "name",
65185
65221
  filter: !1,
65186
- cellRenderer: mR,
65222
+ cellRenderer: yR,
65187
65223
  valueGetter: (e) => e.data?.name
65188
65224
  },
65189
65225
  {
@@ -65193,7 +65229,7 @@ var SI = () => {
65193
65229
  field: "type",
65194
65230
  filter: !1,
65195
65231
  sortable: !1,
65196
- cellRenderer: fR,
65232
+ cellRenderer: _R,
65197
65233
  valueGetter: (e) => e.data?.type
65198
65234
  },
65199
65235
  {
@@ -65203,7 +65239,7 @@ var SI = () => {
65203
65239
  minWidth: 170,
65204
65240
  filter: !1,
65205
65241
  hide: e === qn.Model,
65206
- cellRenderer: pR,
65242
+ cellRenderer: vR,
65207
65243
  valueGetter: (e) => e.data?.folder
65208
65244
  },
65209
65245
  {
@@ -65213,7 +65249,7 @@ var SI = () => {
65213
65249
  minWidth: 230,
65214
65250
  filter: !1,
65215
65251
  sortable: !1,
65216
- cellRenderer: gR,
65252
+ cellRenderer: xR,
65217
65253
  valueGetter: (e) => e.data?.topics
65218
65254
  },
65219
65255
  {
@@ -65224,14 +65260,14 @@ var SI = () => {
65224
65260
  filter: !1,
65225
65261
  sortable: !1,
65226
65262
  resizable: !1,
65227
- headerClass: dR.favHeader,
65228
- cellRenderer: hR
65263
+ headerClass: gR.favHeader,
65264
+ cellRenderer: bR
65229
65265
  }
65230
- ], vR = 50, yR = (e) => {
65266
+ ], CR = 50, wR = (e) => {
65231
65267
  if (!e || e === document.body) return null;
65232
65268
  let { overflow: t, overflowY: n } = getComputedStyle(e);
65233
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : yR(e.parentElement);
65234
- }, bR = ({ items: e, type: t, query: n = "", ariaLabel: r = "Catalog", emptyStateTitle: i, styles: a, onToggleFavorite: o, isFavoriteVisible: s, onItemClick: c, stickyHeaderTop: u, selectedItemId: d, credentialsBadgeLoggedOutLabel: f }) => {
65269
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : wR(e.parentElement);
65270
+ }, TR = ({ items: e, type: t, query: n = "", ariaLabel: r = "Catalog", emptyStateTitle: i, styles: a, onToggleFavorite: o, isFavoriteVisible: s, onItemClick: c, stickyHeaderTop: u, selectedItemId: d, credentialsBadgeLoggedOutLabel: f }) => {
65235
65271
  if (e.length === 0) return /* @__PURE__ */ P("div", {
65236
65272
  className: "flex size-full flex-col items-center justify-center",
65237
65273
  children: /* @__PURE__ */ P(Vg, { label: i ?? "No results" })
@@ -65247,17 +65283,17 @@ var SI = () => {
65247
65283
  "--cat-list-selected-bg": _?.selectedRowBackground,
65248
65284
  "--cat-list-selected-check": _?.selectedRowCheckIcon,
65249
65285
  ...u == null ? {} : { "--list-header-sticky-top": `${u}px` }
65250
- }, y = m(null), b = m(null), [x, S] = h(() => Math.min(e.length, vR)), C = m(e);
65286
+ }, y = m(null), b = m(null), [x, S] = h(() => Math.min(e.length, CR)), C = m(e);
65251
65287
  l(() => {
65252
- C.current !== e && (C.current = e, S(Math.min(e.length, vR)));
65288
+ C.current !== e && (C.current = e, S(Math.min(e.length, CR)));
65253
65289
  }, [e]), l(() => {
65254
65290
  let t = b.current;
65255
65291
  if (!t) return;
65256
- let n = yR(t.parentElement);
65292
+ let n = wR(t.parentElement);
65257
65293
  if (!n) return;
65258
65294
  let r = () => {
65259
65295
  let r = n.getBoundingClientRect(), i = t.getBoundingClientRect();
65260
- i.top < r.bottom && i.bottom > r.top && S((t) => Math.min(e.length, t + vR));
65296
+ i.top < r.bottom && i.bottom > r.top && S((t) => Math.min(e.length, t + CR));
65261
65297
  };
65262
65298
  return n.addEventListener("scroll", r, { passive: !0 }), r(), () => n.removeEventListener("scroll", r);
65263
65299
  }, [e.length]);
@@ -65270,11 +65306,11 @@ var SI = () => {
65270
65306
  y.current?.setGridOption("domLayout", e.length > 0 ? "autoHeight" : "normal");
65271
65307
  }, [e]), /* @__PURE__ */ P("div", {
65272
65308
  style: v,
65273
- className: tt("w-full rounded-xl border", dR.listContainer),
65309
+ className: et("w-full rounded-xl border", gR.listContainer),
65274
65310
  children: /* @__PURE__ */ F("div", {
65275
- className: tt("rounded-xl", dR.gridClip),
65276
- children: [/* @__PURE__ */ P(N, {
65277
- columnDefs: _R(t),
65311
+ className: et("rounded-xl", gR.gridClip),
65312
+ children: [/* @__PURE__ */ P(ye, {
65313
+ columnDefs: SR(t),
65278
65314
  rowData: w,
65279
65315
  getRowId: (e) => e.id,
65280
65316
  withoutHeaderBorders: !0,
@@ -65300,7 +65336,7 @@ var SI = () => {
65300
65336
  e.column.getColDef().field !== "isStarred" && e.data && c(e.data);
65301
65337
  } : void 0,
65302
65338
  rowClass: c ? "cursor-pointer" : void 0,
65303
- getRowClass: (e) => e.data?.id === d ? dR.selectedRow : void 0
65339
+ getRowClass: (e) => e.data?.id === d ? gR.selectedRow : void 0
65304
65340
  },
65305
65341
  ariaLabel: r
65306
65342
  }), x < e.length && /* @__PURE__ */ P("div", {
@@ -65310,7 +65346,7 @@ var SI = () => {
65310
65346
  })]
65311
65347
  })
65312
65348
  });
65313
- }, xR = {
65349
+ }, ER = {
65314
65350
  filterBtn: "_filterBtn_ehf8i_1",
65315
65351
  filterBtnActive: "_filterBtnActive_ehf8i_18",
65316
65352
  filterBtnOpen: "_filterBtnOpen_ehf8i_22",
@@ -65324,13 +65360,13 @@ var SI = () => {
65324
65360
  divider: "_divider_ehf8i_74",
65325
65361
  sectionLabel: "_sectionLabel_ehf8i_78",
65326
65362
  footer: "_footer_ehf8i_82"
65327
- }, SR = (e, t, n, r, i) => {
65363
+ }, DR = (e, t, n, r, i) => {
65328
65364
  let a = e.size > 0;
65329
65365
  return n && a ? `${r} · ${e.size}` : n ? r : a ? En(e, t, i) : i;
65330
- }, CR = (e, t) => {
65366
+ }, OR = (e, t) => {
65331
65367
  let n = new Set(t);
65332
65368
  return n.has(e) ? n.delete(e) : n.add(e), n;
65333
- }, wR = ({ checked: e, onChange: t, values: n, isMyAppsActive: r, onMyAppsChange: i, myAppsLabel: a = "My", topicsLabel: o = "Topics", defaultLabel: c = "From", clearLabel: u = "Clear", applyLabel: d = "Apply", typography: f, colors: g }) => {
65369
+ }, kR = ({ checked: e, onChange: t, values: n, isMyAppsActive: r, onMyAppsChange: i, myAppsLabel: a = "My", topicsLabel: o = "Topics", defaultLabel: c = "From", clearLabel: u = "Clear", applyLabel: d = "Apply", typography: f, colors: g }) => {
65334
65370
  let _ = (r ?? !1) || e.size > 0, [v, y] = h(!1), b = Ti({
65335
65371
  "--cat-filter-btn-bg": g?.buttonBackground,
65336
65372
  "--cat-filter-btn-border": g?.buttonBorder,
@@ -65350,7 +65386,7 @@ var SI = () => {
65350
65386
  "--cat-filter-section-label": g?.sectionLabel,
65351
65387
  "--cat-filter-divider": g?.divider,
65352
65388
  "--cat-filter-footer-border": g?.footerBorder
65353
- }), x = p(() => n == null ? [] : [...n].sort(), [n]), S = SR(e, n, r, a, c), [w, T] = h(() => new Set(e)), [E, ee] = h(r ?? !1);
65389
+ }), x = p(() => n == null ? [] : [...n].sort(), [n]), S = DR(e, n, r, a, c), [w, T] = h(() => new Set(e)), [E, ee] = h(r ?? !1);
65354
65390
  l(() => {
65355
65391
  v && (T(new Set(e)), ee(r ?? !1));
65356
65392
  }, [
@@ -65394,7 +65430,7 @@ var SI = () => {
65394
65430
  "aria-label": c,
65395
65431
  tabIndex: -1,
65396
65432
  style: b,
65397
- className: I("min-w-[360px] rounded-xl p-[6px]", xR.overlay),
65433
+ className: I("min-w-[360px] rounded-xl p-[6px]", ER.overlay),
65398
65434
  onKeyDown: ie,
65399
65435
  children: [
65400
65436
  /* @__PURE__ */ F("div", {
@@ -65404,32 +65440,32 @@ var SI = () => {
65404
65440
  ref: (e) => {
65405
65441
  A.current[0] = e;
65406
65442
  },
65407
- className: I("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", xR.row, E && xR.rowChecked),
65443
+ className: I("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", ER.row, E && ER.rowChecked),
65408
65444
  onClick: () => ee(!E),
65409
65445
  onKeyDown: ae(() => ee(!E)),
65410
65446
  children: [/* @__PURE__ */ P(C, {
65411
65447
  isSelected: E,
65412
65448
  className: "shrink-0"
65413
65449
  }), /* @__PURE__ */ P("span", {
65414
- className: I(xR.rowLabel, f?.filterButtonClassName ?? "dial-small-semi-text"),
65450
+ className: I(ER.rowLabel, f?.filterButtonClassName ?? "dial-small-semi-text"),
65415
65451
  children: a
65416
65452
  })]
65417
65453
  }),
65418
- x.length > 0 && /* @__PURE__ */ F(rt, { children: [
65454
+ x.length > 0 && /* @__PURE__ */ F(nt, { children: [
65419
65455
  /* @__PURE__ */ P("div", {
65420
65456
  role: "separator",
65421
- className: I("my-1 h-px", xR.divider),
65457
+ className: I("my-1 h-px", ER.divider),
65422
65458
  "aria-hidden": !0
65423
65459
  }),
65424
65460
  /* @__PURE__ */ P("div", {
65425
- className: I("px-[10px] pb-1 pt-[10px]", f?.filterSectionLabelClassName ?? "dial-tiny-lead-semi-text", xR.sectionLabel),
65461
+ className: I("px-[10px] pb-1 pt-[10px]", f?.filterSectionLabelClassName ?? "dial-tiny-lead-semi-text", ER.sectionLabel),
65426
65462
  "aria-hidden": !0,
65427
65463
  children: o
65428
65464
  }),
65429
65465
  /* @__PURE__ */ P("div", {
65430
65466
  className: "flex max-h-[220px] flex-col gap-1 overflow-y-auto",
65431
65467
  children: x.map((e, t) => {
65432
- let n = w.has(e), r = t + 1, i = () => T(CR(e, w));
65468
+ let n = w.has(e), r = t + 1, i = () => T(OR(e, w));
65433
65469
  return /* @__PURE__ */ F("div", {
65434
65470
  role: "menuitemcheckbox",
65435
65471
  "aria-checked": n,
@@ -65437,14 +65473,14 @@ var SI = () => {
65437
65473
  ref: (e) => {
65438
65474
  A.current[r] = e;
65439
65475
  },
65440
- className: I("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", xR.row, n && xR.rowChecked),
65476
+ className: I("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", ER.row, n && ER.rowChecked),
65441
65477
  onClick: i,
65442
65478
  onKeyDown: ae(i),
65443
65479
  children: [/* @__PURE__ */ P(C, {
65444
65480
  isSelected: n,
65445
65481
  className: "shrink-0"
65446
65482
  }), /* @__PURE__ */ P("span", {
65447
- className: xR.rowLabel,
65483
+ className: ER.rowLabel,
65448
65484
  children: e
65449
65485
  })]
65450
65486
  }, e);
@@ -65452,14 +65488,14 @@ var SI = () => {
65452
65488
  })
65453
65489
  ] }),
65454
65490
  /* @__PURE__ */ F("div", {
65455
- className: I("mt-1 flex items-center px-1 py-3", xR.footer),
65491
+ className: I("mt-1 flex items-center px-1 py-3", ER.footer),
65456
65492
  onKeyDown: (e) => {
65457
65493
  (e.key === "ArrowUp" || e.key === "ArrowDown") && e.stopPropagation();
65458
65494
  },
65459
- children: [/* @__PURE__ */ P(ve, {
65495
+ children: [/* @__PURE__ */ P(_e, {
65460
65496
  label: u,
65461
65497
  onClick: se
65462
- }), /* @__PURE__ */ P(Pe, {
65498
+ }), /* @__PURE__ */ P(Ne, {
65463
65499
  label: d,
65464
65500
  className: "ms-auto",
65465
65501
  onClick: oe
@@ -65474,41 +65510,41 @@ var SI = () => {
65474
65510
  "aria-expanded": v,
65475
65511
  onKeyDown: M,
65476
65512
  style: b,
65477
- className: I("flex h-[50px] shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-xl px-[18px]", xR.filterBtn, _ && xR.filterBtnActive, v && xR.filterBtnOpen),
65513
+ className: I("flex h-[50px] shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-xl px-[18px]", ER.filterBtn, _ && ER.filterBtnActive, v && ER.filterBtnOpen),
65478
65514
  children: [
65479
- /* @__PURE__ */ P(Dt, {
65515
+ /* @__PURE__ */ P(Et, {
65480
65516
  size: k.SM,
65481
65517
  strokeWidth: 1.8,
65482
- className: I("shrink-0", xR.filterBtnFunnel),
65518
+ className: I("shrink-0", ER.filterBtnFunnel),
65483
65519
  "aria-hidden": !0
65484
65520
  }),
65485
65521
  /* @__PURE__ */ P("span", {
65486
- className: I(xR.filterBtnLabel, f?.filterButtonClassName ?? "dial-small-semi-text"),
65522
+ className: I(ER.filterBtnLabel, f?.filterButtonClassName ?? "dial-small-semi-text"),
65487
65523
  children: S
65488
65524
  }),
65489
- /* @__PURE__ */ P(dt, {
65525
+ /* @__PURE__ */ P(ut, {
65490
65526
  size: 14,
65491
65527
  strokeWidth: 2.2,
65492
- className: I("shrink-0 transition-transform duration-150", xR.filterBtnChevron, v && "rotate-180"),
65528
+ className: I("shrink-0 transition-transform duration-150", ER.filterBtnChevron, v && "rotate-180"),
65493
65529
  "aria-hidden": !0
65494
65530
  })
65495
65531
  ]
65496
65532
  })
65497
65533
  });
65498
- }, TR = {
65534
+ }, AR = {
65499
65535
  section: "_section_mh952_1",
65500
65536
  divider: "_divider_mh952_5"
65501
- }, ER = ({ totalCount: e, viewMode: t, onViewModeChange: n, title: r = "Browse", styles: i, query: a, onQueryChange: o, searchPlaceholder: s, gridViewLabel: c = "Grid view", listViewLabel: l = "List view", viewToggleLabel: u = "View mode", sortKey: d, sortOptions: f, filters: m, onFiltersChange: h, filterValues: g, isMyAppsActive: _, onMyAppsChange: x, filterFromLabel: S, filterMyAppsLabel: C, filterTopicsLabel: w }) => {
65537
+ }, jR = ({ totalCount: e, viewMode: t, onViewModeChange: n, title: r = "Browse", styles: i, query: a, onQueryChange: o, searchPlaceholder: s, gridViewLabel: c = "Grid view", listViewLabel: l = "List view", viewToggleLabel: u = "View mode", sortKey: d, sortOptions: f, filters: m, onFiltersChange: h, filterValues: g, isMyAppsActive: _, onMyAppsChange: x, filterFromLabel: S, filterMyAppsLabel: C, filterTopicsLabel: w }) => {
65502
65538
  let T = i?.typography?.titleClassName ?? "dial-body-semi-text", E = i?.typography?.countClassName ?? "dial-tiny-semi-text", ee = p(() => [{
65503
65539
  value: Sn.Grid,
65504
- icon: /* @__PURE__ */ P(Mt, {
65540
+ icon: /* @__PURE__ */ P(jt, {
65505
65541
  size: k.SM,
65506
65542
  "aria-hidden": !0
65507
65543
  }),
65508
65544
  "aria-label": c
65509
65545
  }, {
65510
65546
  value: Sn.List,
65511
- icon: /* @__PURE__ */ P(Nt, {
65547
+ icon: /* @__PURE__ */ P(Mt, {
65512
65548
  size: k.SM,
65513
65549
  "aria-hidden": !0
65514
65550
  }),
@@ -65531,12 +65567,12 @@ var SI = () => {
65531
65567
  }
65532
65568
  }), /* @__PURE__ */ F("div", {
65533
65569
  className: "ms-auto flex items-center gap-2",
65534
- children: [/* @__PURE__ */ P(Re, {
65570
+ children: [/* @__PURE__ */ P(Le, {
65535
65571
  "aria-label": u,
65536
65572
  value: t,
65537
65573
  onChange: n,
65538
65574
  items: ee
65539
- }), f != null && f.length > 0 && /* @__PURE__ */ F(rt, { children: [/* @__PURE__ */ P("div", { className: I("h-4 w-px shrink-0", TR.divider) }), /* @__PURE__ */ P(y, {
65575
+ }), f != null && f.length > 0 && /* @__PURE__ */ F(nt, { children: [/* @__PURE__ */ P("div", { className: I("h-4 w-px shrink-0", AR.divider) }), /* @__PURE__ */ P(y, {
65540
65576
  label: D,
65541
65577
  variant: b.Primary,
65542
65578
  appearance: v.Ghost,
@@ -65548,7 +65584,7 @@ var SI = () => {
65548
65584
  children: [/* @__PURE__ */ P("div", {
65549
65585
  role: "search",
65550
65586
  className: "flex-1",
65551
- children: /* @__PURE__ */ P(Le, {
65587
+ children: /* @__PURE__ */ P(Ie, {
65552
65588
  value: a,
65553
65589
  onChange: (e) => {
65554
65590
  o(e ?? "");
@@ -65557,7 +65593,7 @@ var SI = () => {
65557
65593
  placeholder: s,
65558
65594
  "aria-label": s
65559
65595
  })
65560
- }), /* @__PURE__ */ P(wR, {
65596
+ }), /* @__PURE__ */ P(kR, {
65561
65597
  checked: m ?? /* @__PURE__ */ new Set(),
65562
65598
  onChange: h ?? (() => void 0),
65563
65599
  values: g,
@@ -65570,12 +65606,12 @@ var SI = () => {
65570
65606
  })]
65571
65607
  })]
65572
65608
  });
65573
- }, DR = ({ query: e, onQueryChange: t, searchPlaceholder: n = "Search models, tools, agents…", styles: r, filters: i, onFiltersChange: a, filterValues: o, isMyAppsActive: s, onMyAppsChange: c, filterFromLabel: l, filterMyAppsLabel: u, filterTopicsLabel: d, gridViewLabel: f, listViewLabel: p, viewToggleLabel: m, sortKey: h, sortOptions: g, ..._ }) => {
65609
+ }, MR = ({ query: e, onQueryChange: t, searchPlaceholder: n = "Search models, tools, agents…", styles: r, filters: i, onFiltersChange: a, filterValues: o, isMyAppsActive: s, onMyAppsChange: c, filterFromLabel: l, filterMyAppsLabel: u, filterTopicsLabel: d, gridViewLabel: f, listViewLabel: p, viewToggleLabel: m, sortKey: h, sortOptions: g, ..._ }) => {
65574
65610
  let v = { "--cat-browse-divider": r?.colors?.divider };
65575
65611
  return /* @__PURE__ */ P("section", {
65576
- className: I("flex-shrink-0 px-4", TR.section),
65612
+ className: I("flex-shrink-0 px-4", AR.section),
65577
65613
  style: v,
65578
- children: /* @__PURE__ */ P(ER, {
65614
+ children: /* @__PURE__ */ P(jR, {
65579
65615
  styles: r,
65580
65616
  query: e,
65581
65617
  onQueryChange: t,
@@ -65596,142 +65632,142 @@ var SI = () => {
65596
65632
  ..._
65597
65633
  })
65598
65634
  });
65599
- }, OR = {
65635
+ }, NR = {
65600
65636
  root: "_root_1h83l_1",
65601
65637
  heading: "_heading_1h83l_5",
65602
65638
  headingTitle: "_headingTitle_1h83l_9"
65603
- }, kR = ({ label: e, options: t, onClick: n }) => {
65639
+ }, PR = ({ label: e, options: t, onClick: n }) => {
65604
65640
  let r = m(null);
65605
65641
  return t?.length ? /* @__PURE__ */ P("div", {
65606
65642
  ref: r,
65607
65643
  children: /* @__PURE__ */ P(y, {
65608
65644
  appearance: v.Solid,
65609
65645
  label: e,
65610
- iconBefore: /* @__PURE__ */ P(zt, { size: k.SM }),
65646
+ iconBefore: /* @__PURE__ */ P(Rt, { size: k.SM }),
65611
65647
  variant: b.Primary,
65612
65648
  items: t
65613
65649
  })
65614
- }) : /* @__PURE__ */ P(Pe, {
65650
+ }) : /* @__PURE__ */ P(Ne, {
65615
65651
  label: e,
65616
- iconBefore: /* @__PURE__ */ P(zt, { size: k.SM }),
65652
+ iconBefore: /* @__PURE__ */ P(Rt, { size: k.SM }),
65617
65653
  onClick: n
65618
65654
  });
65619
- }, AR = ({ items: e, favorites: t, titles: n, onToggleFavorite: r, isFavoriteVisible: i, onUseInChat: a, isPrimaryActionVisible: o, onShare: c, isPublishVisible: u, isPublishPrimary: d, getPublishHistory: f, publishFolderItems: g, publishExpandedPaths: _, onPublishExpandedPathsChange: v, publishLoadingPaths: y, hasPublishWriteAccess: b, onPublish: x, onPublishSuccess: S, onPublishError: C, onCreatePublishFolder: w, publishLabels: T, ruleSourceOptions: E, onFetchExistingRules: ee, shareOverlay: D, isShareVisible: O, isSharePrimary: te, onFetchDetails: k, onEdit: A, onDownload: j, isDownloadVisible: ne, isDownloadPrimary: re, onLoadContentFile: M, onLoadContentFilePreview: ie, renderContentFilePreview: ae, onDelete: oe, onUnshare: se, isUnshareVisible: ce, onRevokeShare: le, onFetchRecipientsCount: ue, isRevokeShareVisible: de, onUnpublish: fe, isUnpublishVisible: pe, onLogin: me, onLogout: he, onCreateClick: ge, createOptions: _e, hideCreateButton: ve = !1, hidePageTitle: ye = !1, initialViewMode: N = Sn.Grid, selectedItemId: be, onCardClick: xe, isLoading: Se, styles: Ce, detailsTexts: we, initialDetailsItemId: Te, sortKey: Ee, onSortChange: De, filterTopics: Oe, onFilterTopicsChange: ke, isMyAppsActive: Ae, onMyAppsActiveChange: je, activeTab: Me, onActiveTabChange: Ne }) => {
65620
- let { typography: Pe } = Ce ?? {}, Fe = rN(Ce), Ie = n?.pageTitle ?? "Catalog", Le = n?.createLabel ?? "Create", Re = n?.favoritesTitle ?? "Your favorites", ze = n?.browseTitle ?? "Browse", Be = n?.searchPlaceholder ?? "Search models, tools, agents…", Ve = n?.noResultsTitle ?? ((e) => `No results for "${e}"`), He = n?.featuredLabel ?? "Featured", We = n?.gridViewLabel ?? "Grid view", Ke = n?.listViewLabel ?? "List view", qe = n?.viewToggleLabel ?? "View mode", Je = n?.ariaLabel ?? "Catalog", Ye = [
65655
+ }, FR = ({ items: e, favorites: t, titles: n, onToggleFavorite: r, isFavoriteVisible: i, onUseInChat: a, isPrimaryActionVisible: o, onShare: c, isPublishVisible: u, isPublishPrimary: d, getPublishHistory: f, publishFolderItems: g, publishExpandedPaths: _, onPublishExpandedPathsChange: v, publishLoadingPaths: y, hasPublishWriteAccess: b, onPublish: x, onPublishSuccess: S, onPublishError: C, onCreatePublishFolder: w, publishLabels: T, ruleSourceOptions: E, onFetchExistingRules: ee, shareOverlay: D, isShareVisible: O, isSharePrimary: te, onFetchDetails: k, onEdit: A, onDownload: j, isDownloadVisible: ne, isDownloadPrimary: re, onLoadContentFile: M, onLoadContentFilePreview: ie, renderContentFilePreview: ae, onDelete: oe, onUnshare: se, isUnshareVisible: ce, onRevokeShare: le, onFetchRecipientsCount: ue, isRevokeShareVisible: de, onUnpublish: fe, isUnpublishVisible: pe, onLogin: me, onLogout: he, onCreateClick: ge, createOptions: _e, hideCreateButton: ve = !1, hidePageTitle: ye = !1, initialViewMode: N = Sn.Grid, selectedItemId: be, onCardClick: xe, isLoading: Se, styles: Ce, detailsTexts: we, detailsLimitsFooterNote: Te, initialDetailsItemId: Ee, sortKey: De, onSortChange: Oe, filterTopics: ke, onFilterTopicsChange: Ae, isMyAppsActive: je, onMyAppsActiveChange: Me, activeTab: Ne, onActiveTabChange: Pe }) => {
65656
+ let { typography: Fe } = Ce ?? {}, Ie = rN(Ce), Le = n?.pageTitle ?? "Catalog", Re = n?.createLabel ?? "Create", ze = n?.favoritesTitle ?? "Your favorites", Be = n?.browseTitle ?? "Browse", Ve = n?.searchPlaceholder ?? "Search models, tools, agents…", Ue = n?.noResultsTitle ?? ((e) => `No results for "${e}"`), Ge = n?.featuredLabel ?? "Featured", Ke = n?.gridViewLabel ?? "Grid view", qe = n?.listViewLabel ?? "List view", Je = n?.viewToggleLabel ?? "View mode", Ye = n?.ariaLabel ?? "Catalog", Xe = [
65621
65657
  {
65622
65658
  key: Cn.RecentlyUpdated,
65623
65659
  label: n?.sortRecentlyUpdatedLabel ?? "Recently Updated",
65624
- onClick: () => dt?.(Cn.RecentlyUpdated)
65660
+ onClick: () => ft?.(Cn.RecentlyUpdated)
65625
65661
  },
65626
65662
  {
65627
65663
  key: Cn.Newest,
65628
65664
  label: n?.sortNewestLabel ?? "Newest",
65629
- onClick: () => dt?.(Cn.Newest)
65665
+ onClick: () => ft?.(Cn.Newest)
65630
65666
  },
65631
65667
  {
65632
65668
  key: Cn.NameAZ,
65633
65669
  label: n?.sortNameAZLabel ?? "Name A-Z",
65634
- onClick: () => dt?.(Cn.NameAZ)
65670
+ onClick: () => ft?.(Cn.NameAZ)
65635
65671
  }
65636
- ], [Xe, Ze] = h(""), [Qe, $e] = h(N), [et, tt] = h(N === Sn.List), [nt, rt] = h(Cn.RecentlyUpdated), [it, at] = h(/* @__PURE__ */ new Set()), [ot, st] = h(!1), ct = Ee ?? nt, lt = Oe ?? it, ut = Ae ?? ot, dt = s((e) => {
65672
+ ], [Ze, Qe] = h(""), [$e, et] = h(N), [tt, nt] = h(N === Sn.List), [rt, it] = h(Cn.RecentlyUpdated), [at, ot] = h(/* @__PURE__ */ new Set()), [st, ct] = h(!1), lt = De ?? rt, ut = ke ?? at, dt = je ?? st, ft = s((e) => {
65637
65673
  let t = e;
65638
- rt(t), De?.(t);
65639
- }, [De]), ft = s((e) => {
65640
- at(e), ke?.(e);
65641
- }, [ke]), pt = s((e) => {
65642
- st(e), je?.(e);
65643
- }, [je]), mt = p(() => e.filter((e) => !e.isHidden), [e]), ht = p(() => new Set(mt.flatMap((e) => e.topics)), [mt]), gt = p(() => nN(mt, n?.tabLabels), [mt, n?.tabLabels]), _t = gt[0]?.id ?? "", [vt, yt] = h(_t);
65674
+ it(t), Oe?.(t);
65675
+ }, [Oe]), pt = s((e) => {
65676
+ ot(e), Ae?.(e);
65677
+ }, [Ae]), mt = s((e) => {
65678
+ ct(e), Me?.(e);
65679
+ }, [Me]), ht = p(() => e.filter((e) => !e.isHidden), [e]), gt = p(() => new Set(ht.flatMap((e) => e.topics)), [ht]), _t = p(() => nN(ht, n?.tabLabels), [ht, n?.tabLabels]), vt = _t[0]?.id ?? "", [yt, bt] = h(vt);
65644
65680
  l(() => {
65645
- yt((e) => e || _t);
65646
- }, [_t]);
65647
- let bt = Me ?? vt, xt = s((e) => {
65648
- yt(e), Ne?.(e);
65649
- }, [Ne]), [St, Ct] = h(t.length > 0);
65681
+ bt((e) => e || vt);
65682
+ }, [vt]);
65683
+ let xt = Ne ?? yt, St = s((e) => {
65684
+ bt(e), Pe?.(e);
65685
+ }, [Pe]), [Ct, wt] = h(t.length > 0);
65650
65686
  l(() => {
65651
- t.length > 0 && !St && Ct(!0);
65652
- }, [t.length, St]);
65653
- let wt = s(() => {
65654
- Ct(!1);
65655
- }, []), Tt = St && t.length === 0, [Et, Dt] = h(null), [Ot, kt] = h(!1), [At, jt] = h(void 0), [Mt, Nt] = h(!1), Pt = m(null), Ft = s(async (e) => {
65656
- Dt(e), jt(void 0), Pt.current = e.id;
65687
+ t.length > 0 && !Ct && wt(!0);
65688
+ }, [t.length, Ct]);
65689
+ let Tt = s(() => {
65690
+ wt(!1);
65691
+ }, []), Et = Ct && t.length === 0, [Dt, Ot] = h(null), [kt, At] = h(!1), [jt, Mt] = h(void 0), [Nt, Pt] = h(!1), Ft = m(null), It = s(async (e) => {
65692
+ Ot(e), Mt(void 0), Ft.current = e.id;
65657
65693
  let t = [];
65658
- k && (Nt(!0), t.push((async () => {
65694
+ k && (Pt(!0), t.push((async () => {
65659
65695
  try {
65660
65696
  let t = await k(e);
65661
- Pt.current === e.id && jt(t);
65697
+ Ft.current === e.id && Mt(t);
65662
65698
  } finally {
65663
- Pt.current === e.id && Nt(!1);
65699
+ Ft.current === e.id && Pt(!1);
65664
65700
  }
65665
65701
  })())), await Promise.all(t);
65666
- }, [k]), It = m(null);
65702
+ }, [k]), Lt = m(null);
65667
65703
  l(() => {
65668
- if (!Te) {
65669
- It.current = null;
65704
+ if (!Ee) {
65705
+ Lt.current = null;
65670
65706
  return;
65671
65707
  }
65672
- if (It.current === Te) return;
65673
- let t = e.find((e) => e.id === Te);
65674
- t && (It.current = Te, Ft(t));
65708
+ if (Lt.current === Ee) return;
65709
+ let t = e.find((e) => e.id === Ee);
65710
+ t && (Lt.current = Ee, It(t));
65675
65711
  }, [
65676
- Te,
65712
+ Ee,
65677
65713
  e,
65678
- Ft
65714
+ It
65679
65715
  ]), l(() => {
65680
- if (Et == null) return;
65681
- let t = e.find((e) => e.id === Et.id);
65682
- t && t !== Et && Dt(t);
65683
- }, [e, Et]);
65684
- let Lt = s(async (e, t) => {
65685
- await me?.(e, t), await Ft(e);
65686
- }, [me, Ft]), Rt = s(async (e, t) => {
65687
- await he?.(e, t), await Ft(e);
65688
- }, [he, Ft]), zt = s(() => {
65689
- kt(!1), Pt.current = null, setTimeout(() => {
65690
- Dt(null), jt(void 0), Nt(!1);
65716
+ if (Dt == null) return;
65717
+ let t = e.find((e) => e.id === Dt.id);
65718
+ t && t !== Dt && Ot(t);
65719
+ }, [e, Dt]);
65720
+ let Rt = s(async (e, t) => {
65721
+ await me?.(e, t), await It(e);
65722
+ }, [me, It]), zt = s(async (e, t) => {
65723
+ await he?.(e, t), await It(e);
65724
+ }, [he, It]), Bt = s(() => {
65725
+ At(!1), Ft.current = null, setTimeout(() => {
65726
+ Ot(null), Mt(void 0), Pt(!1);
65691
65727
  }, 300);
65692
- }, []), Bt = p(() => {
65693
- if (Et == null) return null;
65694
- if (At == null) return Et;
65695
- let { credentials: e, ...t } = At;
65728
+ }, []), Vt = p(() => {
65729
+ if (Dt == null) return null;
65730
+ if (jt == null) return Dt;
65731
+ let { credentials: e, ...t } = jt;
65696
65732
  return {
65697
- ...Et,
65733
+ ...Dt,
65698
65734
  details: t,
65699
- credentials: e ?? Et.credentials
65735
+ credentials: e ?? Dt.credentials
65700
65736
  };
65701
- }, [Et, At]), Vt = p(() => An(mt, ct), [mt, ct]), Ht = p(() => kn(Vt, Xe), [Vt, Xe]), Ut = p(() => lt.size > 0 ? Dn(Ht, lt) : Ht, [Ht, lt]), Wt = p(() => ut ? On(Ut) : Ut, [Ut, ut]), Gt = p(() => bt ? Wt.filter((e) => e.type === bt) : Wt, [Wt, bt]), Kt = Et != null && t.some((e) => e.id === Et.id);
65737
+ }, [Dt, jt]), Ht = p(() => An(ht, lt), [ht, lt]), Ut = p(() => kn(Ht, Ze), [Ht, Ze]), Wt = p(() => ut.size > 0 ? Dn(Ut, ut) : Ut, [Ut, ut]), Gt = p(() => dt ? On(Wt) : Wt, [Wt, dt]), Kt = p(() => xt ? Gt.filter((e) => e.type === xt) : Gt, [Gt, xt]), qt = Dt != null && t.some((e) => e.id === Dt.id);
65702
65738
  l(() => {
65703
- if (Et == null) return;
65704
- let e = requestAnimationFrame(() => kt(!0));
65739
+ if (Dt == null) return;
65740
+ let e = requestAnimationFrame(() => At(!0));
65705
65741
  return () => cancelAnimationFrame(e);
65706
- }, [Et]);
65707
- let qt = s((e) => {
65708
- e === Sn.List && tt(!0), $e(e);
65709
- }, []), Jt = Xe ? Ve(Xe) : "No items", Yt = p(() => ({
65710
- noResultsTitle: Jt,
65711
- featuredLabel: He,
65742
+ }, [Dt]);
65743
+ let Jt = s((e) => {
65744
+ e === Sn.List && nt(!0), et(e);
65745
+ }, []), Yt = Ze ? Ue(Ze) : "No items", Xt = p(() => ({
65746
+ noResultsTitle: Yt,
65747
+ featuredLabel: Ge,
65712
65748
  credentialsBadgeLoggedOutLabel: we?.credentialsBadgeLoggedOutLabel
65713
65749
  }), [
65714
- Jt,
65715
- He,
65750
+ Yt,
65751
+ Ge,
65716
65752
  we?.credentialsBadgeLoggedOutLabel
65717
65753
  ]);
65718
65754
  return Se ? /* @__PURE__ */ P("div", {
65719
65755
  className: "flex size-full min-h-0 flex-1 items-center justify-center",
65720
- children: /* @__PURE__ */ P(Ue, {})
65756
+ children: /* @__PURE__ */ P(He, {})
65721
65757
  }) : /* @__PURE__ */ F("section", {
65722
- "aria-label": Je,
65723
- className: I("flex size-full min-h-0 flex-1 flex-col", OR.root),
65724
- style: Fe,
65758
+ "aria-label": Ye,
65759
+ className: I("flex size-full min-h-0 flex-1 flex-col", NR.root),
65760
+ style: Ie,
65725
65761
  children: [
65726
65762
  (!ye || !ve) && /* @__PURE__ */ P("div", {
65727
- className: I("shrink-0", OR.heading),
65763
+ className: I("shrink-0", NR.heading),
65728
65764
  children: /* @__PURE__ */ F("div", {
65729
65765
  className: "flex h-[64px] w-full items-center justify-between px-8",
65730
65766
  children: [!ye && /* @__PURE__ */ P("h1", {
65731
- className: I(Pe?.pageHeadingFontClassName ?? "dial-display2-text", OR.headingTitle),
65732
- children: Ie
65733
- }), !ve && /* @__PURE__ */ P(kR, {
65734
- label: Le,
65767
+ className: I(Fe?.pageHeadingFontClassName ?? "dial-display2-text", NR.headingTitle),
65768
+ children: Le
65769
+ }), !ve && /* @__PURE__ */ P(PR, {
65770
+ label: Re,
65735
65771
  options: _e,
65736
65772
  onClick: ge
65737
65773
  })]
@@ -65740,82 +65776,82 @@ var SI = () => {
65740
65776
  /* @__PURE__ */ F("div", {
65741
65777
  className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto overflow-x-hidden",
65742
65778
  children: [
65743
- St && /* @__PURE__ */ P("div", {
65779
+ Ct && /* @__PURE__ */ P("div", {
65744
65780
  className: "w-full px-8",
65745
- children: /* @__PURE__ */ P(uR, {
65781
+ children: /* @__PURE__ */ P(hR, {
65746
65782
  items: t,
65747
65783
  totalCount: t.length,
65748
- title: Re,
65784
+ title: ze,
65749
65785
  onToggleFavorite: r,
65750
65786
  isFavoriteVisible: i,
65751
- onItemClick: xe ?? Ft,
65752
- isLeaving: Tt,
65753
- onExitComplete: wt,
65787
+ onItemClick: xe ?? It,
65788
+ isLeaving: Et,
65789
+ onExitComplete: Tt,
65754
65790
  selectedItemId: be,
65755
65791
  credentialsBadgeLoggedOutLabel: we?.credentialsBadgeLoggedOutLabel
65756
65792
  })
65757
65793
  }),
65758
65794
  /* @__PURE__ */ P("div", {
65759
65795
  className: "w-full px-4 pt-6",
65760
- children: /* @__PURE__ */ P(DR, {
65761
- totalCount: Wt.length,
65762
- viewMode: Qe,
65763
- onViewModeChange: qt,
65764
- sortKey: ct,
65765
- query: Xe,
65766
- onQueryChange: Ze,
65767
- title: ze,
65768
- searchPlaceholder: Be,
65769
- gridViewLabel: We,
65770
- listViewLabel: Ke,
65771
- viewToggleLabel: qe,
65772
- sortOptions: Ye,
65773
- filters: lt,
65774
- onFiltersChange: ft,
65775
- filterValues: ht,
65776
- isMyAppsActive: ut,
65777
- onMyAppsChange: pt,
65796
+ children: /* @__PURE__ */ P(MR, {
65797
+ totalCount: Gt.length,
65798
+ viewMode: $e,
65799
+ onViewModeChange: Jt,
65800
+ sortKey: lt,
65801
+ query: Ze,
65802
+ onQueryChange: Qe,
65803
+ title: Be,
65804
+ searchPlaceholder: Ve,
65805
+ gridViewLabel: Ke,
65806
+ listViewLabel: qe,
65807
+ viewToggleLabel: Je,
65808
+ sortOptions: Xe,
65809
+ filters: ut,
65810
+ onFiltersChange: pt,
65811
+ filterValues: gt,
65812
+ isMyAppsActive: dt,
65813
+ onMyAppsChange: mt,
65778
65814
  filterFromLabel: n?.filterFromLabel,
65779
65815
  filterMyAppsLabel: n?.filterMyAppsLabel,
65780
65816
  filterTopicsLabel: n?.filterTopicsLabel
65781
65817
  })
65782
65818
  }),
65783
- gt.length > 0 && /* @__PURE__ */ P("div", {
65819
+ _t.length > 0 && /* @__PURE__ */ P("div", {
65784
65820
  className: "min-w-0 shrink-0 overflow-x-auto px-8",
65785
- children: /* @__PURE__ */ P(Ge, {
65786
- tabs: gt.map((e) => ({
65821
+ children: /* @__PURE__ */ P(We, {
65822
+ tabs: _t.map((e) => ({
65787
65823
  id: e.id,
65788
65824
  label: typeof e.label == "string" ? e.label : String(e.label),
65789
- count: Wt.filter((t) => t.type === e.id).length
65825
+ count: Gt.filter((t) => t.type === e.id).length
65790
65826
  })),
65791
- activeTabId: bt,
65792
- onTabChange: xt
65827
+ activeTabId: xt,
65828
+ onTabChange: St
65793
65829
  })
65794
65830
  }),
65795
65831
  /* @__PURE__ */ F("div", {
65796
- className: I(Gt.length > 0 ? "mx-auto min-h-full w-full max-w-[1180px] px-8 py-6" : "min-h-[180px] flex-1", Gt.length === 0 && "px-8 py-6"),
65832
+ className: I(Kt.length > 0 ? "mx-auto min-h-full w-full max-w-[1180px] px-8 py-6" : "min-h-[180px] flex-1", Kt.length === 0 && "px-8 py-6"),
65797
65833
  children: [/* @__PURE__ */ P("div", {
65798
- className: I(Gt.length > 0 ? "pb-8" : "size-full flex-1", Qe !== Sn.Grid && "hidden"),
65834
+ className: I(Kt.length > 0 ? "pb-8" : "size-full flex-1", $e !== Sn.Grid && "hidden"),
65799
65835
  children: /* @__PURE__ */ P(xN, {
65800
- items: Gt,
65801
- query: Xe,
65836
+ items: Kt,
65837
+ query: Ze,
65802
65838
  onToggleFavorite: r,
65803
65839
  isFavoriteVisible: i,
65804
- onItemClick: xe ?? Ft,
65805
- titles: Yt,
65840
+ onItemClick: xe ?? It,
65841
+ titles: Xt,
65806
65842
  selectedItemId: be
65807
65843
  })
65808
- }), et && /* @__PURE__ */ P("div", {
65809
- className: I("pb-8", Qe !== Sn.List && "hidden", Gt.length === 0 && "h-full"),
65810
- children: /* @__PURE__ */ P(bR, {
65811
- type: bt,
65812
- items: Gt,
65813
- query: Xe,
65814
- ariaLabel: Je,
65815
- emptyStateTitle: Jt,
65844
+ }), tt && /* @__PURE__ */ P("div", {
65845
+ className: I("pb-8", $e !== Sn.List && "hidden", Kt.length === 0 && "h-full"),
65846
+ children: /* @__PURE__ */ P(TR, {
65847
+ type: xt,
65848
+ items: Kt,
65849
+ query: Ze,
65850
+ ariaLabel: Ye,
65851
+ emptyStateTitle: Yt,
65816
65852
  onToggleFavorite: r,
65817
65853
  isFavoriteVisible: i,
65818
- onItemClick: xe ?? Ft,
65854
+ onItemClick: xe ?? It,
65819
65855
  stickyHeaderTop: 0,
65820
65856
  selectedItemId: be,
65821
65857
  credentialsBadgeLoggedOutLabel: we?.credentialsBadgeLoggedOutLabel
@@ -65824,12 +65860,12 @@ var SI = () => {
65824
65860
  })
65825
65861
  ]
65826
65862
  }),
65827
- Bt != null && /* @__PURE__ */ P(aR, {
65828
- item: Bt,
65829
- isOpen: Ot,
65830
- isStarred: Kt,
65831
- isDetailsLoading: Mt,
65832
- onClose: zt,
65863
+ Vt != null && /* @__PURE__ */ P(uR, {
65864
+ item: Vt,
65865
+ isOpen: kt,
65866
+ isStarred: qt,
65867
+ isDetailsLoading: Nt,
65868
+ onClose: Bt,
65833
65869
  onToggleFavorite: r,
65834
65870
  isFavoriteVisible: i,
65835
65871
  onUseInChat: a,
@@ -65868,12 +65904,13 @@ var SI = () => {
65868
65904
  isRevokeShareVisible: de,
65869
65905
  onUnpublish: fe,
65870
65906
  isUnpublishVisible: pe,
65871
- onLogin: Lt,
65872
- onLogout: Rt,
65873
- texts: we
65907
+ onLogin: Rt,
65908
+ onLogout: zt,
65909
+ texts: we,
65910
+ limitsFooterNote: Te
65874
65911
  })
65875
65912
  ]
65876
65913
  });
65877
65914
  };
65878
65915
  //#endregion
65879
- export { lN as AppIdentity, yN as Card, xN as CardGrid, bN as CardRowRenderer, AR as Catalog, wn as CatalogContentNodeType, Tn as CatalogContentPreviewType, fn as CatalogDetailsTab, Cn as CatalogSortKey, Sn as CatalogViewMode, dn as CodeLanguage, kL as ContentTab, _n as CredentialStatus, dN as CredentialsBadge, bn as CredentialsBadgeState, vn as CredentialsLevel, yn as CredentialsUiState, hn as DeploymentSize, pn as DetailsConfirmationKind, mn as DetailsConfirmationVariant, sR as FavoriteCard, uR as Favorites, wR as Filter, ge as FolderPath, XI as InfoCard, bR as ListView, DR as Toolbar, gn as ToolsetAuthenticationType, gN as TopicTag, kn as filterCatalogItems, Pn as getCredentialsBadgeState, Nn as getCredentialsUiState, Fn as getSignedInLevel, An as sortCatalogItems, jn as useFavColumns, oN as useScrollVirtualizer };
65916
+ export { lN as AppIdentity, yN as Card, xN as CardGrid, bN as CardRowRenderer, FR as Catalog, wn as CatalogContentNodeType, Tn as CatalogContentPreviewType, dn as CatalogDetailsTab, fn as CatalogLimitStatus, Cn as CatalogSortKey, Sn as CatalogViewMode, un as CodeLanguage, jL as ContentTab, _n as CredentialStatus, dN as CredentialsBadge, bn as CredentialsBadgeState, vn as CredentialsLevel, yn as CredentialsUiState, hn as DeploymentSize, pn as DetailsConfirmationKind, mn as DetailsConfirmationVariant, fR as FavoriteCard, hR as Favorites, kR as Filter, XI as InfoCard, TR as ListView, MR as Toolbar, gn as ToolsetAuthenticationType, gN as TopicTag, kn as filterCatalogItems, Pn as getCredentialsBadgeState, Nn as getCredentialsUiState, Fn as getSignedInLevel, An as sortCatalogItems, jn as useFavColumns, oN as useScrollVirtualizer };