@factorialco/f0-react 1.456.0 → 1.456.2

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.
@@ -7852,8 +7852,8 @@ var Xee = {};
7852
7852
  function H(O, j) {
7853
7853
  var B = !O, I = !!g(j || {}, "resize"), q = !1, Y = g(j, "disableForReducedMotion", Boolean), ae = a && !!g(j || {}, "useWorker"), le = ae ? h() : null, ce = B ? _ : M, ie = O && le ? !!O.__confetti_initialized : !1, oe = typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion)").matches, Ce;
7854
7854
  function Q(se, Ae, Ie) {
7855
- for (var Fe = g(se, "particleCount", C), pe = g(se, "angle", Number), ke = g(se, "spread", Number), Se = g(se, "startVelocity", Number), $e = g(se, "decay", Number), Ye = g(se, "gravity", Number), Ke = g(se, "drift", Number), Ze = g(se, "colors", w), Xe = g(se, "ticks", Number), Ee = g(se, "shapes"), De = g(se, "scalar"), tt = !!g(se, "flat"), yt = k(se), We = Fe, dt = [], Zt = O.width * yt.x, Ht = O.height * yt.y; We--; )
7856
- dt.push(
7855
+ for (var Fe = g(se, "particleCount", C), pe = g(se, "angle", Number), ke = g(se, "spread", Number), Se = g(se, "startVelocity", Number), $e = g(se, "decay", Number), Ye = g(se, "gravity", Number), Ke = g(se, "drift", Number), Ze = g(se, "colors", w), Xe = g(se, "ticks", Number), Ee = g(se, "shapes"), De = g(se, "scalar"), tt = !!g(se, "flat"), yt = k(se), We = Fe, ft = [], Zt = O.width * yt.x, Ht = O.height * yt.y; We--; )
7856
+ ft.push(
7857
7857
  P({
7858
7858
  x: Zt,
7859
7859
  y: Ht,
@@ -7870,7 +7870,7 @@ var Xee = {};
7870
7870
  flat: tt
7871
7871
  })
7872
7872
  );
7873
- return Ce ? Ce.addFettis(dt) : (Ce = D(O, dt, ce, Ae, Ie), Ce.promise);
7873
+ return Ce ? Ce.addFettis(ft) : (Ce = D(O, ft, ce, Ae, Ie), Ce.promise);
7874
7874
  }
7875
7875
  function Me(se) {
7876
7876
  var Ae = Y || g(se, "disableForReducedMotion", Boolean), Ie = g(se, "zIndex", Number);
@@ -19508,7 +19508,7 @@ function xgt({
19508
19508
  };
19509
19509
  return /* @__PURE__ */ f(GPe.Provider, { value: { ...t, t: n }, children: e });
19510
19510
  }
19511
- function ft() {
19511
+ function dt() {
19512
19512
  const e = qt(GPe);
19513
19513
  if (e === null)
19514
19514
  throw new Error("useI18n must be used within an I18nProvider");
@@ -19547,7 +19547,7 @@ const ZYr = (e) => e, kgt = xr({
19547
19547
  }
19548
19548
  }, Mgt = (e) => Lgt.has(e);
19549
19549
  function Sgt({ keys: e, variant: t }) {
19550
- const n = G4t(), r = ft();
19550
+ const n = G4t(), r = dt();
19551
19551
  if (n === "unknown" || n === "mobile")
19552
19552
  return null;
19553
19553
  const i = _gt[n];
@@ -20358,7 +20358,7 @@ function tAe() {
20358
20358
  const tt = yr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
20359
20359
  let yt = null;
20360
20360
  const We = yr({}, ["audio", "video", "img", "source", "image", "track"]);
20361
- let dt = null;
20361
+ let ft = null;
20362
20362
  const Zt = yr({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ht = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", gt = "http://www.w3.org/1999/xhtml";
20363
20363
  let Ge = gt, At = !1, Et = null;
20364
20364
  const Lt = yr({}, [Ht, ze, gt], eI);
@@ -20373,7 +20373,7 @@ function tAe() {
20373
20373
  let ye = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
20374
20374
  if (!(ar && ar === ye)) {
20375
20375
  if ((!ye || typeof ye != "object") && (ye = {}), ye = _5(ye), Pn = // eslint-disable-next-line unicorn/prefer-includes
20376
- $r.indexOf(ye.PARSER_MEDIA_TYPE) === -1 ? mn : ye.PARSER_MEDIA_TYPE, Mn = Pn === "application/xhtml+xml" ? eI : $S, j = f3(ye, "ALLOWED_TAGS") ? yr({}, ye.ALLOWED_TAGS, Mn) : B, I = f3(ye, "ALLOWED_ATTR") ? yr({}, ye.ALLOWED_ATTR, Mn) : q, Et = f3(ye, "ALLOWED_NAMESPACES") ? yr({}, ye.ALLOWED_NAMESPACES, eI) : Lt, dt = f3(ye, "ADD_URI_SAFE_ATTR") ? yr(_5(Zt), ye.ADD_URI_SAFE_ATTR, Mn) : Zt, yt = f3(ye, "ADD_DATA_URI_TAGS") ? yr(_5(We), ye.ADD_DATA_URI_TAGS, Mn) : We, De = f3(ye, "FORBID_CONTENTS") ? yr({}, ye.FORBID_CONTENTS, Mn) : tt, ae = f3(ye, "FORBID_TAGS") ? yr({}, ye.FORBID_TAGS, Mn) : _5({}), le = f3(ye, "FORBID_ATTR") ? yr({}, ye.FORBID_ATTR, Mn) : _5({}), Ee = f3(ye, "USE_PROFILES") ? ye.USE_PROFILES : !1, ie = ye.ALLOW_ARIA_ATTR !== !1, oe = ye.ALLOW_DATA_ATTR !== !1, Ce = ye.ALLOW_UNKNOWN_PROTOCOLS || !1, Q = ye.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Me = ye.SAFE_FOR_TEMPLATES || !1, se = ye.SAFE_FOR_XML !== !1, Ae = ye.WHOLE_DOCUMENT || !1, pe = ye.RETURN_DOM || !1, ke = ye.RETURN_DOM_FRAGMENT || !1, Se = ye.RETURN_TRUSTED_TYPE || !1, Fe = ye.FORCE_BODY || !1, $e = ye.SANITIZE_DOM !== !1, Ye = ye.SANITIZE_NAMED_PROPS || !1, Ze = ye.KEEP_CONTENT !== !1, Xe = ye.IN_PLACE || !1, O = ye.ALLOWED_URI_REGEXP || QPe, Ge = ye.NAMESPACE || gt, fn = ye.MATHML_TEXT_INTEGRATION_POINTS || fn, _n = ye.HTML_INTEGRATION_POINTS || _n, Y = ye.CUSTOM_ELEMENT_HANDLING || {}, ye.CUSTOM_ELEMENT_HANDLING && l2(ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ye.CUSTOM_ELEMENT_HANDLING && l2(ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ye.CUSTOM_ELEMENT_HANDLING && typeof ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Me && (oe = !1), ke && (pe = !0), Ee && (j = yr({}, $0e), I = RS(null), Ee.html === !0 && (yr(j, R0e), yr(I, B0e)), Ee.svg === !0 && (yr(j, nI), yr(I, aI), yr(I, qL)), Ee.svgFilters === !0 && (yr(j, rI), yr(I, aI), yr(I, qL)), Ee.mathMl === !0 && (yr(j, iI), yr(I, Z0e), yr(I, qL))), f3(ye, "ADD_TAGS") || (ce.tagCheck = null), f3(ye, "ADD_ATTR") || (ce.attributeCheck = null), ye.ADD_TAGS && (typeof ye.ADD_TAGS == "function" ? ce.tagCheck = ye.ADD_TAGS : (j === B && (j = _5(j)), yr(j, ye.ADD_TAGS, Mn))), ye.ADD_ATTR && (typeof ye.ADD_ATTR == "function" ? ce.attributeCheck = ye.ADD_ATTR : (I === q && (I = _5(I)), yr(I, ye.ADD_ATTR, Mn))), ye.ADD_URI_SAFE_ATTR && yr(dt, ye.ADD_URI_SAFE_ATTR, Mn), ye.FORBID_CONTENTS && (De === tt && (De = _5(De)), yr(De, ye.FORBID_CONTENTS, Mn)), ye.ADD_FORBID_CONTENTS && (De === tt && (De = _5(De)), yr(De, ye.ADD_FORBID_CONTENTS, Mn)), Ze && (j["#text"] = !0), Ae && yr(j, ["html", "head", "body"]), j.table && (yr(j, ["tbody"]), delete ae.tbody), ye.TRUSTED_TYPES_POLICY) {
20376
+ $r.indexOf(ye.PARSER_MEDIA_TYPE) === -1 ? mn : ye.PARSER_MEDIA_TYPE, Mn = Pn === "application/xhtml+xml" ? eI : $S, j = f3(ye, "ALLOWED_TAGS") ? yr({}, ye.ALLOWED_TAGS, Mn) : B, I = f3(ye, "ALLOWED_ATTR") ? yr({}, ye.ALLOWED_ATTR, Mn) : q, Et = f3(ye, "ALLOWED_NAMESPACES") ? yr({}, ye.ALLOWED_NAMESPACES, eI) : Lt, ft = f3(ye, "ADD_URI_SAFE_ATTR") ? yr(_5(Zt), ye.ADD_URI_SAFE_ATTR, Mn) : Zt, yt = f3(ye, "ADD_DATA_URI_TAGS") ? yr(_5(We), ye.ADD_DATA_URI_TAGS, Mn) : We, De = f3(ye, "FORBID_CONTENTS") ? yr({}, ye.FORBID_CONTENTS, Mn) : tt, ae = f3(ye, "FORBID_TAGS") ? yr({}, ye.FORBID_TAGS, Mn) : _5({}), le = f3(ye, "FORBID_ATTR") ? yr({}, ye.FORBID_ATTR, Mn) : _5({}), Ee = f3(ye, "USE_PROFILES") ? ye.USE_PROFILES : !1, ie = ye.ALLOW_ARIA_ATTR !== !1, oe = ye.ALLOW_DATA_ATTR !== !1, Ce = ye.ALLOW_UNKNOWN_PROTOCOLS || !1, Q = ye.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Me = ye.SAFE_FOR_TEMPLATES || !1, se = ye.SAFE_FOR_XML !== !1, Ae = ye.WHOLE_DOCUMENT || !1, pe = ye.RETURN_DOM || !1, ke = ye.RETURN_DOM_FRAGMENT || !1, Se = ye.RETURN_TRUSTED_TYPE || !1, Fe = ye.FORCE_BODY || !1, $e = ye.SANITIZE_DOM !== !1, Ye = ye.SANITIZE_NAMED_PROPS || !1, Ze = ye.KEEP_CONTENT !== !1, Xe = ye.IN_PLACE || !1, O = ye.ALLOWED_URI_REGEXP || QPe, Ge = ye.NAMESPACE || gt, fn = ye.MATHML_TEXT_INTEGRATION_POINTS || fn, _n = ye.HTML_INTEGRATION_POINTS || _n, Y = ye.CUSTOM_ELEMENT_HANDLING || {}, ye.CUSTOM_ELEMENT_HANDLING && l2(ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ye.CUSTOM_ELEMENT_HANDLING && l2(ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ye.CUSTOM_ELEMENT_HANDLING && typeof ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Me && (oe = !1), ke && (pe = !0), Ee && (j = yr({}, $0e), I = RS(null), Ee.html === !0 && (yr(j, R0e), yr(I, B0e)), Ee.svg === !0 && (yr(j, nI), yr(I, aI), yr(I, qL)), Ee.svgFilters === !0 && (yr(j, rI), yr(I, aI), yr(I, qL)), Ee.mathMl === !0 && (yr(j, iI), yr(I, Z0e), yr(I, qL))), f3(ye, "ADD_TAGS") || (ce.tagCheck = null), f3(ye, "ADD_ATTR") || (ce.attributeCheck = null), ye.ADD_TAGS && (typeof ye.ADD_TAGS == "function" ? ce.tagCheck = ye.ADD_TAGS : (j === B && (j = _5(j)), yr(j, ye.ADD_TAGS, Mn))), ye.ADD_ATTR && (typeof ye.ADD_ATTR == "function" ? ce.attributeCheck = ye.ADD_ATTR : (I === q && (I = _5(I)), yr(I, ye.ADD_ATTR, Mn))), ye.ADD_URI_SAFE_ATTR && yr(ft, ye.ADD_URI_SAFE_ATTR, Mn), ye.FORBID_CONTENTS && (De === tt && (De = _5(De)), yr(De, ye.FORBID_CONTENTS, Mn)), ye.ADD_FORBID_CONTENTS && (De === tt && (De = _5(De)), yr(De, ye.ADD_FORBID_CONTENTS, Mn)), Ze && (j["#text"] = !0), Ae && yr(j, ["html", "head", "body"]), j.table && (yr(j, ["tbody"]), delete ae.tbody), ye.TRUSTED_TYPES_POLICY) {
20377
20377
  if (typeof ye.TRUSTED_TYPES_POLICY.createHTML != "function")
20378
20378
  throw og('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
20379
20379
  if (typeof ye.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -20510,7 +20510,7 @@ function tAe() {
20510
20510
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
20511
20511
  Ue === "is" && Y.allowCustomizedBuiltInElements && (Y.tagNameCheck instanceof RegExp && Na(Y.tagNameCheck, ot) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(ot)))
20512
20512
  ) return !1;
20513
- } else if (!dt[Ue]) {
20513
+ } else if (!ft[Ue]) {
20514
20514
  if (!Na(O, ag(ot, Z, ""))) {
20515
20515
  if (!((Ue === "src" || Ue === "xlink:href" || Ue === "href") && ye !== "script" && Zgt(ot, "data:") === 0 && yt[ye])) {
20516
20516
  if (!(Ce && !Na(z, ag(ot, Z, "")))) {
@@ -25049,18 +25049,18 @@ function ywt(e) {
25049
25049
  if (Ee[We][0] === "enter")
25050
25050
  yt.push(We);
25051
25051
  else {
25052
- const dt = yt.pop();
25053
- We = i(Ee, dt, We);
25052
+ const ft = yt.pop();
25053
+ We = i(Ee, ft, We);
25054
25054
  }
25055
25055
  for (We = -1; ++We < Ee.length; ) {
25056
- const dt = t[Ee[We][0]];
25057
- TAe.call(dt, Ee[We][1].type) && dt[Ee[We][1].type].call(Object.assign({
25056
+ const ft = t[Ee[We][0]];
25057
+ TAe.call(ft, Ee[We][1].type) && ft[Ee[We][1].type].call(Object.assign({
25058
25058
  sliceSerialize: Ee[We][2].sliceSerialize
25059
25059
  }, tt), Ee[We][1]);
25060
25060
  }
25061
25061
  if (tt.tokenStack.length > 0) {
25062
- const dt = tt.tokenStack[tt.tokenStack.length - 1];
25063
- (dt[1] || ule).call(tt, void 0, dt[0]);
25062
+ const ft = tt.tokenStack[tt.tokenStack.length - 1];
25063
+ (ft[1] || ule).call(tt, void 0, ft[0]);
25064
25064
  }
25065
25065
  for (De.position = {
25066
25066
  start: q6(Ee.length > 0 ? Ee[0][1].start : {
@@ -25078,7 +25078,7 @@ function ywt(e) {
25078
25078
  return De;
25079
25079
  }
25080
25080
  function i(Ee, De, tt) {
25081
- let yt = De - 1, We = -1, dt = !1, Zt, Ht, ze, gt;
25081
+ let yt = De - 1, We = -1, ft = !1, Zt, Ht, ze, gt;
25082
25082
  for (; ++yt <= tt; ) {
25083
25083
  const Ge = Ee[yt];
25084
25084
  switch (Ge[1].type) {
@@ -25108,7 +25108,7 @@ function ywt(e) {
25108
25108
  const Et = Ee[At];
25109
25109
  if (Et[1].type === "lineEnding" || Et[1].type === "lineEndingBlank") {
25110
25110
  if (Et[0] === "exit") continue;
25111
- Ht && (Ee[Ht][1].type = "lineEndingBlank", dt = !0), Et[1].type = "lineEnding", Ht = At;
25111
+ Ht && (Ee[Ht][1].type = "lineEndingBlank", ft = !0), Et[1].type = "lineEnding", Ht = At;
25112
25112
  } else if (!(Et[1].type === "linePrefix" || Et[1].type === "blockQuotePrefix" || Et[1].type === "blockQuotePrefixWhitespace" || Et[1].type === "blockQuoteMarker" || Et[1].type === "listItemIndent")) break;
25113
25113
  }
25114
25114
  ze && (!Ht || ze < Ht) && (Zt._spread = !0), Zt.end = Object.assign({}, Ht ? Ee[Ht][1].start : Ge[1].end), Ee.splice(Ht || yt, 0, ["exit", Zt, Ge[2]]), yt++, tt++;
@@ -25125,7 +25125,7 @@ function ywt(e) {
25125
25125
  }
25126
25126
  }
25127
25127
  }
25128
- return Ee[De][1]._spread = dt, tt;
25128
+ return Ee[De][1]._spread = ft, tt;
25129
25129
  }
25130
25130
  function a(Ee, De) {
25131
25131
  return tt;
@@ -60261,7 +60261,7 @@ const Fzt = (e) => {
60261
60261
  "aria-labelledby": r,
60262
60262
  badge: i
60263
60263
  }) => {
60264
- const a = Fzt(e), s = ft().countries[e] ?? e;
60264
+ const a = Fzt(e), s = dt().countries[e] ?? e;
60265
60265
  return /* @__PURE__ */ f(
60266
60266
  zx,
60267
60267
  {
@@ -60523,7 +60523,7 @@ function Gm({
60523
60523
  label: s,
60524
60524
  ...l
60525
60525
  }) {
60526
- const c = ft(), [u, d] = de(!1), h = a !== void 0 && o !== void 0, p = h ? a : u;
60526
+ const c = dt(), [u, d] = de(!1), h = a !== void 0 && o !== void 0, p = h ? a : u;
60527
60527
  return /* @__PURE__ */ A(rne, { open: p, onOpenChange: h ? o : d, children: [
60528
60528
  /* @__PURE__ */ f(ine, { asChild: !0, children: i || /* @__PURE__ */ f(
60529
60529
  Ar,
@@ -61789,7 +61789,7 @@ function Njt({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, s
61789
61789
  }
61790
61790
  return !0;
61791
61791
  }
61792
- function dt(Lt) {
61792
+ function ft(Lt) {
61793
61793
  if (se.current && G) {
61794
61794
  const fn = w === "bottom" || w === "right" ? 1 : -1, _n = (oe.current - (X1(w) ? Lt.pageY : Lt.pageX)) * fn, Fn = _n > 0, Pn = a && !u && !Fn;
61795
61795
  if (Pn && Se === 0) return;
@@ -61991,7 +61991,7 @@ function Njt({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, s
61991
61991
  onOpenChange: t,
61992
61992
  onPress: yt,
61993
61993
  onRelease: gt,
61994
- onDrag: dt,
61994
+ onDrag: ft,
61995
61995
  dismissible: u,
61996
61996
  shouldAnimate: Q,
61997
61997
  handleOnly: d,
@@ -65815,7 +65815,7 @@ const TUt = ht.create(Ct), wOe = ({
65815
65815
  totalItemsCount: t,
65816
65816
  isOpen: n
65817
65817
  }) => {
65818
- const r = ft();
65818
+ const r = dt();
65819
65819
  return /* @__PURE__ */ A(
65820
65820
  "div",
65821
65821
  {
@@ -83839,7 +83839,7 @@ function Y3n() {
83839
83839
  ["partial", x],
83840
83840
  ["partialRight", k],
83841
83841
  ["rearg", M]
83842
- ], Y = "[object Arguments]", ae = "[object Array]", le = "[object AsyncFunction]", ce = "[object Boolean]", ie = "[object Date]", oe = "[object DOMException]", Ce = "[object Error]", Q = "[object Function]", Me = "[object GeneratorFunction]", se = "[object Map]", Ae = "[object Number]", Ie = "[object Null]", Fe = "[object Object]", pe = "[object Promise]", ke = "[object Proxy]", Se = "[object RegExp]", $e = "[object Set]", Ye = "[object String]", Ke = "[object Symbol]", Ze = "[object Undefined]", Xe = "[object WeakMap]", Ee = "[object WeakSet]", De = "[object ArrayBuffer]", tt = "[object DataView]", yt = "[object Float32Array]", We = "[object Float64Array]", dt = "[object Int8Array]", Zt = "[object Int16Array]", Ht = "[object Int32Array]", ze = "[object Uint8Array]", gt = "[object Uint8ClampedArray]", Ge = "[object Uint16Array]", At = "[object Uint32Array]", Et = /\b__p \+= '';/g, Lt = /\b(__p \+=) '' \+/g, fn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, _n = /&(?:amp|lt|gt|quot|#39);/g, Fn = /[&<>"']/g, Pn = RegExp(_n.source), $r = RegExp(Fn.source), mn = /<%-([\s\S]+?)%>/g, Mn = /<%([\s\S]+?)%>/g, ar = /<%=([\s\S]+?)%>/g, s2 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, l2 = /^\w*$/, V2 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, o1 = /[\\^$.*+?()[\]{}|]/g, S1 = RegExp(o1.source), Bi = /^\s+/, li = /\s/, Gt = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ee = /\{\n\/\* \[wrapped with (.+)\] \*/, me = /,? & /, ue = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, ge = /[()=,{}\[\]\/\s]/, be = /\\(\\)?/g, we = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, qe = /\w*$/, lt = /^[-+]0x[0-9a-f]+$/i, Je = /^0b[01]+$/i, et = /^\[object .+?Constructor\]$/, Ne = /^0o[0-7]+$/i, ye = /^(?:0|[1-9]\d*)$/, Ue = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ot = /($^)/, mt = /['\n\r\u2028\u2029\\]/g, Ft = "\\ud800-\\udfff", dn = "\\u0300-\\u036f", dr = "\\ufe20-\\ufe2f", Dr = "\\u20d0-\\u20ff", O2 = dn + dr + Dr, G3 = "\\u2700-\\u27bf", H2 = "a-z\\xdf-\\xf6\\xf8-\\xff", d5 = "\\xac\\xb1\\xd7\\xf7", U3 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Rv = "\\u2000-\\u206f", c4 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", L3e = "A-Z\\xc0-\\xd6\\xd8-\\xde", _3e = "\\ufe0e\\ufe0f", M3e = d5 + U3 + Rv + c4, LH = "['’]", A2t = "[" + Ft + "]", S3e = "[" + M3e + "]", Jk = "[" + O2 + "]", E3e = "\\d+", F2t = "[" + G3 + "]", T3e = "[" + H2 + "]", P3e = "[^" + Ft + M3e + E3e + G3 + H2 + L3e + "]", _H = "\\ud83c[\\udffb-\\udfff]", D2t = "(?:" + Jk + "|" + _H + ")", A3e = "[^" + Ft + "]", MH = "(?:\\ud83c[\\udde6-\\uddff]){2}", SH = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zf = "[" + L3e + "]", F3e = "\\u200d", D3e = "(?:" + T3e + "|" + P3e + ")", V2t = "(?:" + Zf + "|" + P3e + ")", V3e = "(?:" + LH + "(?:d|ll|m|re|s|t|ve))?", O3e = "(?:" + LH + "(?:D|LL|M|RE|S|T|VE))?", H3e = D2t + "?", N3e = "[" + _3e + "]?", O2t = "(?:" + F3e + "(?:" + [A3e, MH, SH].join("|") + ")" + N3e + H3e + ")*", H2t = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", N2t = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", I3e = N3e + H3e + O2t, I2t = "(?:" + [F2t, MH, SH].join("|") + ")" + I3e, R2t = "(?:" + [A3e + Jk + "?", Jk, MH, SH, A2t].join("|") + ")", $2t = RegExp(LH, "g"), B2t = RegExp(Jk, "g"), EH = RegExp(_H + "(?=" + _H + ")|" + R2t + I3e, "g"), Z2t = RegExp([
83842
+ ], Y = "[object Arguments]", ae = "[object Array]", le = "[object AsyncFunction]", ce = "[object Boolean]", ie = "[object Date]", oe = "[object DOMException]", Ce = "[object Error]", Q = "[object Function]", Me = "[object GeneratorFunction]", se = "[object Map]", Ae = "[object Number]", Ie = "[object Null]", Fe = "[object Object]", pe = "[object Promise]", ke = "[object Proxy]", Se = "[object RegExp]", $e = "[object Set]", Ye = "[object String]", Ke = "[object Symbol]", Ze = "[object Undefined]", Xe = "[object WeakMap]", Ee = "[object WeakSet]", De = "[object ArrayBuffer]", tt = "[object DataView]", yt = "[object Float32Array]", We = "[object Float64Array]", ft = "[object Int8Array]", Zt = "[object Int16Array]", Ht = "[object Int32Array]", ze = "[object Uint8Array]", gt = "[object Uint8ClampedArray]", Ge = "[object Uint16Array]", At = "[object Uint32Array]", Et = /\b__p \+= '';/g, Lt = /\b(__p \+=) '' \+/g, fn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, _n = /&(?:amp|lt|gt|quot|#39);/g, Fn = /[&<>"']/g, Pn = RegExp(_n.source), $r = RegExp(Fn.source), mn = /<%-([\s\S]+?)%>/g, Mn = /<%([\s\S]+?)%>/g, ar = /<%=([\s\S]+?)%>/g, s2 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, l2 = /^\w*$/, V2 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, o1 = /[\\^$.*+?()[\]{}|]/g, S1 = RegExp(o1.source), Bi = /^\s+/, li = /\s/, Gt = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ee = /\{\n\/\* \[wrapped with (.+)\] \*/, me = /,? & /, ue = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, ge = /[()=,{}\[\]\/\s]/, be = /\\(\\)?/g, we = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, qe = /\w*$/, lt = /^[-+]0x[0-9a-f]+$/i, Je = /^0b[01]+$/i, et = /^\[object .+?Constructor\]$/, Ne = /^0o[0-7]+$/i, ye = /^(?:0|[1-9]\d*)$/, Ue = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ot = /($^)/, mt = /['\n\r\u2028\u2029\\]/g, Ft = "\\ud800-\\udfff", dn = "\\u0300-\\u036f", dr = "\\ufe20-\\ufe2f", Dr = "\\u20d0-\\u20ff", O2 = dn + dr + Dr, G3 = "\\u2700-\\u27bf", H2 = "a-z\\xdf-\\xf6\\xf8-\\xff", d5 = "\\xac\\xb1\\xd7\\xf7", U3 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Rv = "\\u2000-\\u206f", c4 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", L3e = "A-Z\\xc0-\\xd6\\xd8-\\xde", _3e = "\\ufe0e\\ufe0f", M3e = d5 + U3 + Rv + c4, LH = "['’]", A2t = "[" + Ft + "]", S3e = "[" + M3e + "]", Jk = "[" + O2 + "]", E3e = "\\d+", F2t = "[" + G3 + "]", T3e = "[" + H2 + "]", P3e = "[^" + Ft + M3e + E3e + G3 + H2 + L3e + "]", _H = "\\ud83c[\\udffb-\\udfff]", D2t = "(?:" + Jk + "|" + _H + ")", A3e = "[^" + Ft + "]", MH = "(?:\\ud83c[\\udde6-\\uddff]){2}", SH = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zf = "[" + L3e + "]", F3e = "\\u200d", D3e = "(?:" + T3e + "|" + P3e + ")", V2t = "(?:" + Zf + "|" + P3e + ")", V3e = "(?:" + LH + "(?:d|ll|m|re|s|t|ve))?", O3e = "(?:" + LH + "(?:D|LL|M|RE|S|T|VE))?", H3e = D2t + "?", N3e = "[" + _3e + "]?", O2t = "(?:" + F3e + "(?:" + [A3e, MH, SH].join("|") + ")" + N3e + H3e + ")*", H2t = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", N2t = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", I3e = N3e + H3e + O2t, I2t = "(?:" + [F2t, MH, SH].join("|") + ")" + I3e, R2t = "(?:" + [A3e + Jk + "?", Jk, MH, SH, A2t].join("|") + ")", $2t = RegExp(LH, "g"), B2t = RegExp(Jk, "g"), EH = RegExp(_H + "(?=" + _H + ")|" + R2t + I3e, "g"), Z2t = RegExp([
83843
83843
  Zf + "?" + T3e + "+" + V3e + "(?=" + [S3e, Zf, "$"].join("|") + ")",
83844
83844
  V2t + "+" + O3e + "(?=" + [S3e, Zf + D3e, "$"].join("|") + ")",
83845
83845
  Zf + "?" + D3e + "+" + V3e,
@@ -83880,9 +83880,9 @@ function Y3n() {
83880
83880
  "parseInt",
83881
83881
  "setTimeout"
83882
83882
  ], G2t = -1, W2 = {};
83883
- W2[yt] = W2[We] = W2[dt] = W2[Zt] = W2[Ht] = W2[ze] = W2[gt] = W2[Ge] = W2[At] = !0, W2[Y] = W2[ae] = W2[De] = W2[ce] = W2[tt] = W2[ie] = W2[Ce] = W2[Q] = W2[se] = W2[Ae] = W2[Fe] = W2[Se] = W2[$e] = W2[Ye] = W2[Xe] = !1;
83883
+ W2[yt] = W2[We] = W2[ft] = W2[Zt] = W2[Ht] = W2[ze] = W2[gt] = W2[Ge] = W2[At] = !0, W2[Y] = W2[ae] = W2[De] = W2[ce] = W2[tt] = W2[ie] = W2[Ce] = W2[Q] = W2[se] = W2[Ae] = W2[Fe] = W2[Se] = W2[$e] = W2[Ye] = W2[Xe] = !1;
83884
83884
  var N2 = {};
83885
- N2[Y] = N2[ae] = N2[De] = N2[tt] = N2[ce] = N2[ie] = N2[yt] = N2[We] = N2[dt] = N2[Zt] = N2[Ht] = N2[se] = N2[Ae] = N2[Fe] = N2[Se] = N2[$e] = N2[Ye] = N2[Ke] = N2[ze] = N2[gt] = N2[Ge] = N2[At] = !0, N2[Ce] = N2[Q] = N2[Xe] = !1;
83885
+ N2[Y] = N2[ae] = N2[De] = N2[tt] = N2[ce] = N2[ie] = N2[yt] = N2[We] = N2[ft] = N2[Zt] = N2[Ht] = N2[se] = N2[Ae] = N2[Fe] = N2[Se] = N2[$e] = N2[Ye] = N2[Ke] = N2[ze] = N2[gt] = N2[Ge] = N2[At] = !0, N2[Ce] = N2[Q] = N2[Xe] = !1;
83886
83886
  var U2t = {
83887
83887
  // Latin-1 Supplement block.
83888
83888
  À: "A",
@@ -85867,7 +85867,7 @@ function Y3n() {
85867
85867
  return jit(L, V);
85868
85868
  case yt:
85869
85869
  case We:
85870
- case dt:
85870
+ case ft:
85871
85871
  case Zt:
85872
85872
  case Ht:
85873
85873
  case ze:
@@ -137061,7 +137061,7 @@ function PLn(e, {
137061
137061
  ]);
137062
137062
  }
137063
137063
  const ALn = (e) => {
137064
- const t = ft(), n = Le(null), { width: r } = i4(n), i = nv(r), a = PLn(n, e, i), o = Df(n, a), s = I0(n);
137064
+ const t = dt(), n = Le(null), { width: r } = i4(n), i = nv(r), a = PLn(n, e, i), o = Df(n, a), s = I0(n);
137065
137065
  return Xre(o, n, s), /* @__PURE__ */ A("div", { className: "relative h-full w-full", children: [
137066
137066
  /* @__PURE__ */ f(
137067
137067
  "div",
@@ -138049,7 +138049,7 @@ const a_n = ({
138049
138049
  loading: o,
138050
138050
  tooltip: s
138051
138051
  }) => {
138052
- const l = ft(), [c, u] = de(!1), d = _e(
138052
+ const l = dt(), [c, u] = de(!1), d = _e(
138053
138053
  () => DGe(n),
138054
138054
  [n]
138055
138055
  ), h = _e(() => d.flatMap((y) => y.items), [d]), p = _e(
@@ -138563,26 +138563,26 @@ const Th = Hn(VGe), g_n = U(function({
138563
138563
  href: a,
138564
138564
  ...o
138565
138565
  }, s) {
138566
- const l = ft(), { target: c } = o, u = c === "_blank", d = (p) => {
138567
- r && p.stopPropagation(), o.onClick?.(p);
138568
- }, h = a !== void 0 ? {
138566
+ const { target: l } = o, c = l === "_blank", u = (h) => {
138567
+ r && h.stopPropagation(), o.onClick?.(h);
138568
+ }, d = a !== void 0 ? {
138569
138569
  ...o,
138570
138570
  href: a,
138571
- onClick: d,
138572
- rel: u ? "noopener noreferrer" : void 0,
138571
+ onClick: u,
138572
+ rel: c ? "noopener noreferrer" : void 0,
138573
138573
  "aria-label": i,
138574
138574
  className: t
138575
138575
  } : {
138576
138576
  ...o,
138577
- onClick: d,
138577
+ onClick: u,
138578
138578
  "aria-label": i,
138579
138579
  className: t
138580
138580
  };
138581
- return /* @__PURE__ */ A(O3, { ref: s, ...h, children: [
138581
+ return /* @__PURE__ */ A(O3, { ref: s, ...d, children: [
138582
138582
  /* @__PURE__ */ f("span", { children: n }),
138583
- u && /* @__PURE__ */ A(_t, { children: [
138583
+ c && /* @__PURE__ */ A(_t, { children: [
138584
138584
  /* @__PURE__ */ f(Ct, { icon: hD, size: "sm", "aria-hidden": !0 }),
138585
- /* @__PURE__ */ f("span", { className: "sr-only", children: l.link.opensInNewTab })
138585
+ /* @__PURE__ */ f("span", { className: "sr-only", children: " (opens in new tab)" })
138586
138586
  ] })
138587
138587
  ] });
138588
138588
  }), F6 = Hn(g_n);
@@ -138644,7 +138644,7 @@ function x_n({
138644
138644
  isToggle: a,
138645
138645
  grouped: o
138646
138646
  }) {
138647
- const { forms: s } = ft(), l = o5(), c = n || e.disabled, u = () => {
138647
+ const { forms: s } = dt(), l = o5(), c = n || e.disabled, u = () => {
138648
138648
  c || i();
138649
138649
  }, d = a ? "switch" : r ? "checkbox" : "radio", h = () => a ? /* @__PURE__ */ f(w_n, { checked: t }) : r ? /* @__PURE__ */ f(b_n, { checked: t }) : /* @__PURE__ */ f(y_n, { checked: t }), p = !!e.selectedContent;
138650
138650
  return /* @__PURE__ */ A(
@@ -139042,7 +139042,7 @@ const P_n = ["withBorder"], NGe = U(
139042
139042
  );
139043
139043
  NGe.displayName = "F0ButtonToggle";
139044
139044
  const gO = Hn(NGe), D6 = W.forwardRef(({ className: e, href: t, onClick: n, disabled: r, children: i, ...a }, o) => {
139045
- const { actions: s } = ft();
139045
+ const { actions: s } = dt();
139046
139046
  return /* @__PURE__ */ A(
139047
139047
  "div",
139048
139048
  {
@@ -140278,7 +140278,7 @@ function Wbe({
140278
140278
  title: i,
140279
140279
  overlay: a = !1
140280
140280
  }) {
140281
- const o = ft(), s = e && e.length > 0, [l, c] = de(!1);
140281
+ const o = dt(), s = e && e.length > 0, [l, c] = de(!1);
140282
140282
  return !s && !t ? null : /* @__PURE__ */ A(
140283
140283
  "div",
140284
140284
  {
@@ -177128,7 +177128,7 @@ function fhr({
177128
177128
  maxDate: o,
177129
177129
  compact: s = !1
177130
177130
  }) {
177131
- const l = ft(), c = [
177131
+ const l = dt(), c = [
177132
177132
  { name: l.date.month.january, index: 0 },
177133
177133
  { name: l.date.month.february, index: 1 },
177134
177134
  { name: l.date.month.march, index: 2 },
@@ -178588,7 +178588,7 @@ const Dhr = ["compact"], Vhr = (e) => {
178588
178588
  compact: c = !1,
178589
178589
  weekStartsOn: u
178590
178590
  }) => {
178591
- const d = ft(), h = $0(), p = u ?? h.date?.weekStartsOn ?? yi.Monday, [m, v] = de(r), [g, C] = de(
178591
+ const d = dt(), h = $0(), p = u ?? h.date?.weekStartsOn ?? yi.Monday, [m, v] = de(r), [g, C] = de(
178592
178592
  i
178593
178593
  ), [y, b] = de(1), w = _e(() => yA(p)[t], [t, p]), x = Pe(
178594
178594
  (z) => {
@@ -179263,7 +179263,7 @@ const uqe = Tn(null), fqe = "ONE-ai-chat-width", Uhr = () => {
179263
179263
  }) => {
179264
179264
  const [x, k] = de(u), [_, M] = de(t), [S, T] = de(s === "fullscreen"), [P, F] = de("chat"), [D, H] = de(
179265
179265
  s
179266
- ), [N, R] = de(s !== "fullscreen"), [z, Z] = de(n), [G, O] = de(i), j = ft(), [B, I] = de([
179266
+ ), [N, R] = de(s !== "fullscreen"), [z, Z] = de(n), [G, O] = de(i), j = dt(), [B, I] = de([
179267
179267
  j.t("ai.inputPlaceholder")
179268
179268
  ]), [q, Y] = de(r), [ae, le] = de(() => Uhr());
179269
179269
  Ve(() => {
@@ -179285,7 +179285,7 @@ const uqe = Tn(null), fqe = "ONE-ai-chat-width", Uhr = () => {
179285
179285
  null
179286
179286
  ), Xe = Le(null), Ee = Le(null), [De, tt] = de(
179287
179287
  null
179288
- ), [yt, We] = de(!1), dt = (mn) => {
179288
+ ), [yt, We] = de(!1), ft = (mn) => {
179289
179289
  Z(mn);
179290
179290
  }, Zt = (mn) => {
179291
179291
  Ye.current = mn;
@@ -179360,7 +179360,7 @@ const uqe = Tn(null), fqe = "ONE-ai-chat-width", Uhr = () => {
179360
179360
  shouldPlayEntranceAnimation: N,
179361
179361
  setShouldPlayEntranceAnimation: R,
179362
179362
  agent: z,
179363
- tmp_setAgent: dt,
179363
+ tmp_setAgent: ft,
179364
179364
  initialMessage: q,
179365
179365
  setInitialMessage: Y,
179366
179366
  welcomeScreenSuggestions: G,
@@ -179649,7 +179649,7 @@ const Xhr = xr({
179649
179649
  autoOpen: i = !1,
179650
179650
  onToggle: a
179651
179651
  }) => {
179652
- const { enabled: o, setOpen: s, open: l } = Or(), c = ft(), [u, d] = de(!1), [h, p] = de(!1), [m, v] = de(i), g = t && r?.whenDisabled ? r?.whenDisabled : r?.whenEnabled ?? c.ai.welcome, C = i ? m : h;
179652
+ const { enabled: o, setOpen: s, open: l } = Or(), c = dt(), [u, d] = de(!1), [h, p] = de(!1), [m, v] = de(i), g = t && r?.whenDisabled ? r?.whenDisabled : r?.whenEnabled ?? c.ai.welcome, C = i ? m : h;
179653
179653
  return Ve(() => {
179654
179654
  i && v(!0);
179655
179655
  }, [i]), Ve(() => {
@@ -180627,7 +180627,7 @@ const Lpr = xr({
180627
180627
  activeTabId: a,
180628
180628
  setActiveTabId: o
180629
180629
  }) => {
180630
- const s = ft(), { onClose: l } = XUe(), c = !!i, u = () => /* @__PURE__ */ f("div", { className: "h-4 w-px self-center bg-f1-background-secondary" }), d = r?.filter(
180630
+ const s = dt(), { onClose: l } = XUe(), c = !!i, u = () => /* @__PURE__ */ f("div", { className: "h-4 w-px self-center bg-f1-background-secondary" }), d = r?.filter(
180631
180631
  (m) => m.type !== "separator" && m.type !== "label"
180632
180632
  ) ?? [], h = () => !d.length || !r ? null : d.length <= 2 ? /* @__PURE__ */ f("div", { className: "flex flex-row gap-2", children: d.map((m) => /* @__PURE__ */ f(
180633
180633
  Ar,
@@ -181812,10 +181812,10 @@ function Tk({
181812
181812
  let De = 0, tt = 0;
181813
181813
  for (const Zt of Ee)
181814
181814
  m.items?.get(Zt)?.checked ? De++ : tt++;
181815
- const yt = Ee.length, We = De === yt && yt > 0, dt = De > 0 && De < yt;
181815
+ const yt = Ee.length, We = De === yt && yt > 0, ft = De > 0 && De < yt;
181816
181816
  Ze[Xe.key] = {
181817
- checked: We || dt,
181818
- indeterminate: dt,
181817
+ checked: We || ft,
181818
+ indeterminate: ft,
181819
181819
  selectedCount: De,
181820
181820
  unselectedCount: tt
181821
181821
  };
@@ -181898,9 +181898,9 @@ function Tk({
181898
181898
  yt,
181899
181899
  We
181900
181900
  ] of Xe.items?.entries() || []) {
181901
- const dt = De.get(yt), Zt = se(yt);
181902
- dt ? dt.item === void 0 && Zt !== void 0 && De.set(yt, {
181903
- ...dt,
181901
+ const ft = De.get(yt), Zt = se(yt);
181902
+ ft ? ft.item === void 0 && Zt !== void 0 && De.set(yt, {
181903
+ ...ft,
181904
181904
  item: Zt
181905
181905
  }) : De.set(yt, {
181906
181906
  id: yt,
@@ -181940,10 +181940,10 @@ function Tk({
181940
181940
  d ? void 0 : 1
181941
181941
  ), yt = Array.isArray(De) ? De : De !== void 0 ? [De] : [];
181942
181942
  v((We) => {
181943
- const dt = !d && Xe ? /* @__PURE__ */ new Map() : new Map(We.items);
181943
+ const ft = !d && Xe ? /* @__PURE__ */ new Map() : new Map(We.items);
181944
181944
  let Zt = 0;
181945
181945
  for (const Ht of tt) {
181946
- if (Ee && dt.has(Ht))
181946
+ if (Ee && ft.has(Ht))
181947
181947
  continue;
181948
181948
  Zt++;
181949
181949
  const ze = We.items?.get(Ht)?.item, gt = yt.find((At) => {
@@ -181953,11 +181953,11 @@ function Tk({
181953
181953
  const Et = h?.(At);
181954
181954
  return Et !== void 0 && Et === Ht;
181955
181955
  });
181956
- dt.set(Ht, { id: Ht, checked: Xe, item: Ge });
181956
+ ft.set(Ht, { id: Ht, checked: Xe, item: Ge });
181957
181957
  }
181958
181958
  return Zt === 0 ? We : {
181959
181959
  ...We,
181960
- items: dt
181960
+ items: ft
181961
181961
  };
181962
181962
  });
181963
181963
  },
@@ -181972,8 +181972,8 @@ function Tk({
181972
181972
  );
181973
181973
  tt.length > 0 && pe(tt, Xe), C((yt) => {
181974
181974
  const We = new Map(yt);
181975
- for (const dt of De)
181976
- We.set(dt.key, { group: dt, checked: Xe });
181975
+ for (const ft of De)
181976
+ We.set(ft.key, { group: ft, checked: Xe });
181977
181977
  return We;
181978
181978
  });
181979
181979
  },
@@ -182114,14 +182114,14 @@ function Tk({
182114
182114
  v((De) => {
182115
182115
  let tt = !1;
182116
182116
  const yt = new Map(De.items);
182117
- for (const [We, dt] of yt.entries())
182118
- if (dt.item === void 0) {
182117
+ for (const [We, ft] of yt.entries())
182118
+ if (ft.item === void 0) {
182119
182119
  const Zt = Ze.find((Ht) => {
182120
182120
  const ze = h?.(Ht);
182121
182121
  return ze !== void 0 && ze === We;
182122
182122
  });
182123
182123
  Zt && (yt.set(We, {
182124
- ...dt,
182124
+ ...ft,
182125
182125
  item: Zt
182126
182126
  }), tt = !0);
182127
182127
  }
@@ -184146,7 +184146,7 @@ const Umr = ({
184146
184146
  items: a,
184147
184147
  paddingTop: o = !1
184148
184148
  }) => {
184149
- const s = ft(), l = (u) => {
184149
+ const s = dt(), l = (u) => {
184150
184150
  r(t ? !1 : u);
184151
184151
  }, c = (u) => `${u} ${u === 1 ? s.status.selected.singular.toLowerCase() : s.status.selected.plural.toLowerCase()}`;
184152
184152
  return /* @__PURE__ */ A(
@@ -184195,7 +184195,7 @@ const Umr = ({
184195
184195
  showApplyButton: t,
184196
184196
  onApply: n
184197
184197
  }) => {
184198
- const r = ft();
184198
+ const r = dt();
184199
184199
  return !e && !t ? null : /* @__PURE__ */ A("div", { className: "flex w-full flex-row items-center gap-2 border-0 border-t border-solid border-f1-border-secondary p-2", children: [
184200
184200
  e?.map((i) => /* @__PURE__ */ f(
184201
184201
  Ot,
@@ -184251,7 +184251,7 @@ function Ymr(e) {
184251
184251
  }, [i]), { allFit: n, containerRef: t };
184252
184252
  }
184253
184253
  function vXe({ count: e }) {
184254
- const t = ft();
184254
+ const t = dt();
184255
184255
  return /* @__PURE__ */ f("div", { className: "flex w-full items-center gap-1 text-left", children: /* @__PURE__ */ f($n, { className: "min-w-0 flex-1 text-f1-foreground", children: `${e} ${e === 1 ? t.status.selected.singular : t.status.selected.plural}`.toLowerCase() }) });
184256
184256
  }
184257
184257
  function Kmr({
@@ -184270,7 +184270,7 @@ function Kmr({
184270
184270
  }
184271
184271
  const Jmr = U(
184272
184272
  function({ selection: t, multiple: n, totalSelectedCount: r, allSelected: i }, a) {
184273
- const o = ft();
184273
+ const o = dt();
184274
184274
  if (n) {
184275
184275
  const l = r ?? t.length;
184276
184276
  return l === 0 && t.length === 0 ? null : i === !0 ? /* @__PURE__ */ f("div", { className: "flex w-full items-center gap-1 text-left", children: /* @__PURE__ */ f($n, { className: "min-w-0 flex-1 text-f1-foreground", children: `${o.status.selected.all} (${l})` }) }) : t.length === 0 && l > 0 ? /* @__PURE__ */ f(vXe, { count: l }) : /* @__PURE__ */ f(
@@ -184337,7 +184337,7 @@ function tvr({
184337
184337
  onLoadMore: r,
184338
184338
  isLoadingMore: i
184339
184339
  }) {
184340
- const a = ft(), o = Le(null), s = (n === !0 || n === "indeterminate") && !!r, l = e.length === 0, c = () => {
184340
+ const a = dt(), o = Le(null), s = (n === !0 || n === "indeterminate") && !!r, l = e.length === 0, c = () => {
184341
184341
  s && !i && r?.();
184342
184342
  };
184343
184343
  return Ve(() => {
@@ -184847,7 +184847,7 @@ function fvr({
184847
184847
  onFilterChange: i,
184848
184848
  allFiltersValue: a
184849
184849
  }) {
184850
- const o = ft(), [s, l] = de(""), c = Le(!0), { options: u, isLoading: d, error: h, loadOptions: p, loadMore: m } = uvr({
184850
+ const o = dt(), [s, l] = de(""), c = Le(!0), { options: u, isLoading: d, error: h, loadOptions: p, loadMore: m } = uvr({
184851
184851
  schema: {
184852
184852
  ...e,
184853
184853
  type: "in"
@@ -185118,7 +185118,7 @@ const nS = (e, t, n) => new Intl.NumberFormat(t, {
185118
185118
  maximumFractionDigits: n,
185119
185119
  useGrouping: !1
185120
185120
  }).format(e), LA = U(function({ locale: t, value: n, maxDecimals: r, step: i, min: a, max: o, onChange: s, units: l, ...c }, u) {
185121
- const d = ft(), [h, p] = de(
185121
+ const d = dt(), [h, p] = de(
185122
185122
  () => n != null ? nS(n, t, r) : ""
185123
185123
  ), m = _e(() => {
185124
185124
  if (c.hint !== void 0)
@@ -185270,7 +185270,7 @@ function vvr({
185270
185270
  const i = {
185271
185271
  mode: n.options?.modes?.[0] ?? "single",
185272
185272
  ...n.options
185273
- }, a = ft(), o = $0(), s = () => {
185273
+ }, a = dt(), o = $0(), s = () => {
185274
185274
  t(void 0);
185275
185275
  }, l = i.modes === void 0 || i.modes?.length > 1, [c, u] = de(
185276
185276
  e ?? {
@@ -185453,7 +185453,7 @@ const gvr = (e) => !e || e?.mode === "range" && e?.from?.value === e?.to?.value
185453
185453
  type: e,
185454
185454
  ...t
185455
185455
  }) => {
185456
- const [n, r] = de(!1), i = _e(() => e === "password" ? n ? "text" : "password" : e, [n, e]), a = _e(() => e === "password" ? gte : t.icon, [e, t.icon]), o = ft(), s = _e(() => e !== "password" ? t.buttonToggle : {
185456
+ const [n, r] = de(!1), i = _e(() => e === "password" ? n ? "text" : "password" : e, [n, e]), a = _e(() => e === "password" ? gte : t.icon, [e, t.icon]), o = dt(), s = _e(() => e !== "password" ? t.buttonToggle : {
185457
185457
  label: [o.inputs.password.show, o.inputs.password.hide],
185458
185458
  icon: [MPe, SPe],
185459
185459
  selected: n,
@@ -185482,7 +185482,7 @@ function bvr({
185482
185482
  strictToggle: r ? r.strictToggle : !1,
185483
185483
  defaultStrict: r ? i : !1,
185484
185484
  ...e.options
185485
- }, o = ft(), s = (h) => {
185485
+ }, o = dt(), s = (h) => {
185486
185486
  a.strictToggle ? n({
185487
185487
  value: h,
185488
185488
  strict: c
@@ -185545,7 +185545,7 @@ function xvr({
185545
185545
  onSelect: r,
185546
185546
  onRemove: i
185547
185547
  }) {
185548
- const [a, o] = de(!0), s = T7(e.type), l = ft(), [c, u] = de({
185548
+ const [a, o] = de(!0), s = T7(e.type), l = dt(), [c, u] = de({
185549
185549
  label: ""
185550
185550
  });
185551
185551
  return Ve(() => {
@@ -185592,7 +185592,7 @@ function kvr({
185592
185592
  onClearAll: i,
185593
185593
  excludedKeys: a = /* @__PURE__ */ new Set()
185594
185594
  }) {
185595
- const o = ft(), l = DJ(e, t, o).filter(
185595
+ const o = dt(), l = DJ(e, t, o).filter(
185596
185596
  (c) => !a.has(String(c))
185597
185597
  );
185598
185598
  return l.length === 0 ? null : /* @__PURE__ */ A("div", { className: "mt-2 flex items-start justify-between gap-2", children: [
@@ -185671,7 +185671,7 @@ function OJ({
185671
185671
  isCompactMode: i,
185672
185672
  onClickApplyFilters: a
185673
185673
  }) {
185674
- const o = ft(), s = _e(() => {
185674
+ const o = dt(), s = _e(() => {
185675
185675
  const l = /* @__PURE__ */ new Map();
185676
185676
  for (const [c, u] of Object.entries(e))
185677
185677
  if (u.type === "in" && "options" in u) {
@@ -185756,7 +185756,7 @@ function EXe({
185756
185756
  applyButtonLabel: l,
185757
185757
  className: c
185758
185758
  }) {
185759
- const u = ft();
185759
+ const u = dt();
185760
185760
  return /* @__PURE__ */ A(
185761
185761
  "div",
185762
185762
  {
@@ -185813,7 +185813,7 @@ function Lvr({
185813
185813
  mode: o = "default",
185814
185814
  displayCounter: s = !1
185815
185815
  }) {
185816
- const l = Object.keys(e)[0] ?? null, [c, u] = de(o === "compact" ? null : l), d = ft(), h = qt(LO), m = h.portalContainer && (h.position === "center" || h.position === "fullscreen") ? h.portalContainer : void 0, [v, g] = e6({
185816
+ const l = Object.keys(e)[0] ?? null, [c, u] = de(o === "compact" ? null : l), d = dt(), h = qt(LO), m = h.portalContainer && (h.position === "center" || h.position === "fullscreen") ? h.portalContainer : void 0, [v, g] = e6({
185817
185817
  prop: r,
185818
185818
  defaultProp: !1,
185819
185819
  onChange: i
@@ -186410,7 +186410,7 @@ const Cae = DXe, eG = "__no-grouping__", VXe = ({
186410
186410
  onGroupingChange: n,
186411
186411
  hideLabel: r = !1
186412
186412
  }) => {
186413
- const i = ft();
186413
+ const i = dt();
186414
186414
  if (!e || e.mandatory && Object.entries(e.groupBy).length < 2)
186415
186415
  return null;
186416
186416
  const a = [
@@ -186462,7 +186462,7 @@ const Cae = DXe, eG = "__no-grouping__", VXe = ({
186462
186462
  currentFilters: t,
186463
186463
  onFiltersChange: n
186464
186464
  }) => {
186465
- const [r, i] = de([]), a = ft();
186465
+ const [r, i] = de([]), a = dt();
186466
186466
  if (Ve(() => {
186467
186467
  (async () => {
186468
186468
  const l = Object.entries(t).filter(([, u]) => u == null ? !1 : Array.isArray(u) ? u.length > 0 : u !== ""), c = await Promise.all(
@@ -186544,7 +186544,7 @@ const Pvr = ({
186544
186544
  onFiltersOpenChange: d,
186545
186545
  showPreview: h = !1
186546
186546
  }) => {
186547
- const p = ft(), [m, v] = de(!1), g = Pe(
186547
+ const p = dt(), [m, v] = de(!1), g = Pe(
186548
186548
  (C) => {
186549
186549
  v(C), d?.(C);
186550
186550
  },
@@ -186770,7 +186770,7 @@ const Pvr = ({
186770
186770
  isSearchActive: !!$e,
186771
186771
  allPagesSelection: !0,
186772
186772
  resetOnPageChange: !1
186773
- }), dt = _e(() => {
186773
+ }), ft = _e(() => {
186774
186774
  const Gt = [];
186775
186775
  for (const ee of oe) {
186776
186776
  const me = String(ee), ue = Ze[me];
@@ -186903,7 +186903,7 @@ const Pvr = ({
186903
186903
  return ar(Ae.records);
186904
186904
  }, [Ae.records, Ae.type, Ae.groups, ar, mn, Mn]), l2 = () => {
186905
186905
  Fe();
186906
- }, V2 = ft(), o1 = _e(() => Array.from(tt.items.values()).filter((Gt) => Gt.checked).map((Gt) => String(Gt.id)), [tt.items]), S1 = {
186906
+ }, V2 = dt(), o1 = _e(() => Array.from(tt.items.values()).filter((Gt) => Gt.checked).map((Gt) => String(Gt.id)), [tt.items]), S1 = {
186907
186907
  ...Z,
186908
186908
  onItemCheckChange: gt,
186909
186909
  disabled: l,
@@ -186961,7 +186961,7 @@ const Pvr = ({
186961
186961
  value: !!tt.allSelected,
186962
186962
  onChange: Ge,
186963
186963
  hideCheckbox: Y,
186964
- items: dt,
186964
+ items: ft,
186965
186965
  paddingTop: !h && !Me.filters
186966
186966
  }
186967
186967
  )
@@ -186969,7 +186969,7 @@ const Pvr = ({
186969
186969
  right: D && !_n && R ? /* @__PURE__ */ f(
186970
186970
  tvr,
186971
186971
  {
186972
- items: dt,
186972
+ items: ft,
186973
186973
  onDeselect: (Gt) => gt(Gt, !1),
186974
186974
  allSelected: tt.allSelected,
186975
186975
  onLoadMore: Fe,
@@ -187082,7 +187082,7 @@ const Pvr = ({
187082
187082
  We.selectedItemsCount
187083
187083
  ) : oe[0] ? 1 : 0,
187084
187084
  allSelected: tt.allSelected,
187085
- selection: dt
187085
+ selection: ft
187086
187086
  }
187087
187087
  )
187088
187088
  }
@@ -187100,7 +187100,7 @@ function Nvr({
187100
187100
  value: t,
187101
187101
  onChange: n
187102
187102
  }) {
187103
- const r = ft(), i = (a) => {
187103
+ const r = dt(), i = (a) => {
187104
187104
  n(a);
187105
187105
  };
187106
187106
  return /* @__PURE__ */ A("div", { className: "flex flex-col gap-2", children: [
@@ -187144,7 +187144,7 @@ function HXe({
187144
187144
  weekStartsOn: d,
187145
187145
  ...h
187146
187146
  }) {
187147
- const p = ft(), m = $0(), [v, g] = de(
187147
+ const p = dt(), m = $0(), [v, g] = de(
187148
187148
  c || t
187149
187149
  ), C = d ?? m.date?.weekStartsOn ?? yi.Monday;
187150
187150
  Ve(() => {
@@ -187302,7 +187302,7 @@ const NXe = U(
187302
187302
  displayFormat: l,
187303
187303
  ...c
187304
187304
  }, u) => {
187305
- const [d, h] = de(""), [p, m] = de(!1), v = ft();
187305
+ const [d, h] = de(""), [p, m] = de(!1), v = dt();
187306
187306
  Ve(() => {
187307
187307
  h(
187308
187308
  n.toString(e?.value, v, l ?? "long")
@@ -187372,7 +187372,7 @@ function $vr({
187372
187372
  Ve(() => {
187373
187373
  p(o);
187374
187374
  }, [o]);
187375
- const m = ft(), v = _e(() => r[0] ?? "day", [r]), g = Pe(
187375
+ const m = dt(), v = _e(() => r[0] ?? "day", [r]), g = Pe(
187376
187376
  (M) => {
187377
187377
  const S = M || v;
187378
187378
  if (!m6[S])
@@ -187481,7 +187481,7 @@ const yae = Hn($vr), Bvr = xr({
187481
187481
  variant: a = "neutral",
187482
187482
  onClose: o
187483
187483
  }) => {
187484
- const s = Le(null), { actions: l } = ft();
187484
+ const s = Le(null), { actions: l } = dt();
187485
187485
  return /* @__PURE__ */ f("div", { ref: s, className: "@container", children: /* @__PURE__ */ f(
187486
187486
  "div",
187487
187487
  {
@@ -188553,13 +188553,13 @@ function mgr(e = {}) {
188553
188553
  let Xe, Ee;
188554
188554
  const De = Ke(), tt = pe.type === MA.BLUR || pe.type === MA.FOCUS_OUT, yt = !fgr(Ye._f) && !t.resolver && !Ut(n.errors, Se) && !Ye._f.deps || dgr(tt, Ut(n.touchedFields, Se), n.isSubmitted, p, h), We = Qwe(Se, s, tt);
188555
188555
  i2(a, Se, De), tt ? (Ye._f.onBlur && Ye._f.onBlur(pe), l && l(0)) : Ye._f.onChange && Ye._f.onChange(pe);
188556
- const dt = k(Se, De, tt, !1), Zt = !To(dt) || We;
188556
+ const ft = k(Se, De, tt, !1), Zt = !To(ft) || We;
188557
188557
  if (!tt && d.values.next({
188558
188558
  name: Se,
188559
188559
  type: pe.type,
188560
188560
  values: { ...a }
188561
188561
  }), yt)
188562
- return u.isValid && (t.mode === "onBlur" && tt ? g() : tt || g()), Zt && d.state.next({ name: Se, ...We ? {} : dt });
188562
+ return u.isValid && (t.mode === "onBlur" && tt ? g() : tt || g()), Zt && d.state.next({ name: Se, ...We ? {} : ft });
188563
188563
  if (!tt && We && d.state.next({ ...n }), t.resolver) {
188564
188564
  const { errors: Ht } = await M([Se]);
188565
188565
  if (Ze(De), $e) {
@@ -188568,7 +188568,7 @@ function mgr(e = {}) {
188568
188568
  }
188569
188569
  } else
188570
188570
  C([Se], !0), Xe = (await ixe(Ye, s.disabled, a, m, t.shouldUseNativeValidation))[Se], C([Se]), Ze(De), $e && (Xe ? Ee = !1 : u.isValid && (Ee = await T(r, !0)));
188571
- $e && (Ye._f.deps && O(Ye._f.deps), _(Se, Ee, Xe, dt));
188571
+ $e && (Ye._f.deps && O(Ye._f.deps), _(Se, Ee, Xe, ft));
188572
188572
  }
188573
188573
  }, G = (pe, ke) => {
188574
188574
  if (Ut(n.errors, ke) && pe.focus)
@@ -190507,7 +190507,7 @@ function uCr({
190507
190507
  isHovered: u,
190508
190508
  setIsHovered: d
190509
190509
  }) {
190510
- const h = ft(), { label: p, onClick: m, icon: v, disabled: g, otherActions: C } = e, b = C && C.length > 0 && (u || l), w = t && !b, x = r && (u || l);
190510
+ const h = dt(), { label: p, onClick: m, icon: v, disabled: g, otherActions: C } = e, b = C && C.length > 0 && (u || l), w = t && !b, x = r && (u || l);
190511
190511
  return /* @__PURE__ */ A("div", { className: "flex w-full min-w-0 items-center", children: [
190512
190512
  i && /* @__PURE__ */ f(
190513
190513
  Ar,
@@ -191292,7 +191292,7 @@ function wCr({
191292
191292
  hideChildrenCounter: c = !1,
191293
191293
  scrollable: u = !0
191294
191294
  }) {
191295
- const d = ft(), [h, p] = de(""), m = (Q) => {
191295
+ const d = dt(), [h, p] = de(""), m = (Q) => {
191296
191296
  p(Q);
191297
191297
  }, v = _e(() => Lxe(t, h), [t, h]), [g, C] = de(
191298
191298
  CCr(t, r)
@@ -191681,7 +191681,7 @@ const OYe = W.forwardRef(({ className: e, ...t }, n) => {
191681
191681
  OYe.displayName = "FormDescription";
191682
191682
  const Hae = W.forwardRef(
191683
191683
  ({ className: e, children: t, fallback: n, ...r }, i) => {
191684
- const { error: a, formMessageId: o } = NO(), { forms: s } = ft(), l = a ? a.message ?? n ?? s.validation.invalidType : t;
191684
+ const { error: a, formMessageId: o } = NO(), { forms: s } = dt(), l = a ? a.message ?? n ?? s.validation.invalidType : t;
191685
191685
  return l ? /* @__PURE__ */ A(
191686
191686
  "div",
191687
191687
  {
@@ -195150,7 +195150,7 @@ function _yr({
195150
195150
  statusType: r,
195151
195151
  initialFiles: i
195152
195152
  }) {
195153
- const { forms: a } = ft(), o = UYe(), s = o?.useUpload ?? e.useUpload, l = i ?? o?.initialFiles, c = Pa(), u = Le(null), [d, h] = de(!1), p = e.multiple ?? !1, [m, v] = de(
195153
+ const { forms: a } = dt(), o = UYe(), s = o?.useUpload ?? e.useUpload, l = i ?? o?.initialFiles, c = Pa(), u = Le(null), [d, h] = de(!1), p = e.multiple ?? !1, [m, v] = de(
195154
195154
  () => Lyr(l, t.value, p)
195155
195155
  ), [g, C] = de(null), y = a.file, b = m.length > 0, w = p || !b, x = e.accept ? e.accept.map(QJ).join(",") : void 0, k = _e(
195156
195156
  () => xyr(e.accept),
@@ -208968,7 +208968,7 @@ function iMr(e, t) {
208968
208968
  setContent: tt,
208969
208969
  show: yt,
208970
208970
  hide: We,
208971
- hideWithInteractivity: dt,
208971
+ hideWithInteractivity: ft,
208972
208972
  enable: Ze,
208973
208973
  disable: Xe,
208974
208974
  unmount: Zt,
@@ -209328,7 +209328,7 @@ function iMr(e, t) {
209328
209328
  G(), O(), w.props.animation ? F() && le(At, w.unmount) : w.unmount();
209329
209329
  }
209330
209330
  }
209331
- function dt(ze) {
209331
+ function ft(ze) {
209332
209332
  process.env.NODE_ENV !== "production" && wl(w.state.isDestroyed, jd("hideWithInteractivity")), H().addEventListener("mousemove", m), iLe(dS, m), m(ze);
209333
209333
  }
209334
209334
  function Zt() {
@@ -210434,7 +210434,7 @@ const TQ = ({ option: e, onClick: t, isSelected: n = !1 }) => /* @__PURE__ */ f(
210434
210434
  position: o = "bottom",
210435
210435
  setLastIntent: s
210436
210436
  }) => {
210437
- const l = ft(), c = Le(null), [u, d] = de(!1), h = (p) => {
210437
+ const l = dt(), c = Le(null), [u, d] = de(!1), h = (p) => {
210438
210438
  p.preventDefault(), c.current ? d((m) => !m) : d(!1);
210439
210439
  };
210440
210440
  return /* @__PURE__ */ A(
@@ -213524,7 +213524,7 @@ function TSr({
213524
213524
  ] });
213525
213525
  }
213526
213526
  const PSr = ({ editor: e, disabled: t }) => {
213527
- const n = ft(), [r, i] = de(!1), [a, o] = de(e.getAttributes("link").href || ""), s = (p) => {
213527
+ const n = dt(), [r, i] = de(!1), [a, o] = de(e.getAttributes("link").href || ""), s = (p) => {
213528
213528
  t || i(!r);
213529
213529
  }, l = (p) => {
213530
213530
  const m = p.trim();
@@ -213764,7 +213764,7 @@ const PSr = ({ editor: e, disabled: t }) => {
213764
213764
  showEmojiPicker: o = !0,
213765
213765
  plainHtmlMode: s = !1
213766
213766
  }) => {
213767
- const l = ft(), c = [
213767
+ const l = dt(), c = [
213768
213768
  {
213769
213769
  key: "bold",
213770
213770
  icon: hPe,
@@ -219646,7 +219646,7 @@ const wFr = jAe().use(AAe).use(bFr).use(zAe).use(vAe), xFr = U(function({ conten
219646
219646
  editor: r,
219647
219647
  handleEnhanceWithAI: i
219648
219648
  }) => {
219649
- const a = ft();
219649
+ const a = dt();
219650
219650
  return /* @__PURE__ */ A("div", { className: "dark flex items-center gap-2 rounded-md border border-solid border-f1-border bg-f1-background p-1 drop-shadow-sm", children: [
219651
219651
  /* @__PURE__ */ f(
219652
219652
  Ot,
@@ -219728,7 +219728,7 @@ const wFr = jAe().use(AAe).use(bFr).use(zAe).use(vAe), xFr = U(function({ conten
219728
219728
  },
219729
219729
  "full-doc-loading"
219730
219730
  ) }), FFr = ({ error: e, editor: t, setError: n }) => {
219731
- const r = ft();
219731
+ const r = dt();
219732
219732
  return /* @__PURE__ */ A("div", { className: "flex w-max max-w-full items-center gap-10 rounded-md bg-f1-background-critical p-1 drop-shadow-sm", children: [
219733
219733
  /* @__PURE__ */ A("div", { className: "flex w-full flex-row items-center gap-2", children: [
219734
219734
  /* @__PURE__ */ f("div", { className: "flex-shrink-0", children: /* @__PURE__ */ f(Gx, { size: "sm", type: "critical" }) }),
@@ -220462,7 +220462,7 @@ const JFr = ({
220462
220462
  });
220463
220463
  const r = [];
220464
220464
  if (e.state.doc.descendants((a) => {
220465
- a.type.name === "mention" && r.push(Number(a.attrs.id));
220465
+ a.type.name === "mention" && a.attrs.id != null && r.push(String(a.attrs.id));
220466
220466
  }), e.isEmpty)
220467
220467
  t({ value: null });
220468
220468
  else {
@@ -220496,7 +220496,7 @@ const JFr = ({
220496
220496
  onBlur: y,
220497
220497
  dataTestId: b
220498
220498
  }, w) {
220499
- const x = ft(), k = Pa(), _ = Le(null), M = Le(null), S = Le(null), [T, P] = de(!1), [F, D] = de(!0), [H, N] = de(!1), [R, z] = de(!1), [Z, G] = de(!1), [O, j] = de(!1), [B, I] = de(null), [q, Y] = de(!1), [ae, le] = de(null), [ce, ie] = de(s?.files || []), [oe, Ce] = de(
220499
+ const x = dt(), k = Pa(), _ = Le(null), M = Le(null), S = Le(null), [T, P] = de(!1), [F, D] = de(!0), [H, N] = de(!1), [R, z] = de(!1), [Z, G] = de(!1), [O, j] = de(!1), [B, I] = de(null), [q, Y] = de(!1), [ae, le] = de(null), [ce, ie] = de(s?.files || []), [oe, Ce] = de(
220500
220500
  t?.users || []
220501
220501
  ), [Q, Me] = de({
220502
220502
  html: s?.content || "",
@@ -221406,7 +221406,7 @@ function G4({ field: e, sectionId: t }) {
221406
221406
  formName: a,
221407
221407
  isLoading: o,
221408
221408
  renderCustomField: s
221409
- } = Bae(), { forms: l } = ft(), c = Rae(e.disabled, r), u = Le(c);
221409
+ } = Bae(), { forms: l } = dt(), c = Rae(e.disabled, r), u = Le(c);
221410
221410
  Ve(() => {
221411
221411
  const g = u.current;
221412
221412
  if (u.current = c, !g && c && e.resetOnDisable) {
@@ -222159,7 +222159,7 @@ function Ioe({
222159
222159
  k && w.push({ fieldId: x.id, props: k });
222160
222160
  }
222161
222161
  return w;
222162
- }, [u, c]), { forms: C } = ft(), y = u.filter((w) => w.validation && y_e(w.validation)).map((w) => {
222162
+ }, [u, c]), { forms: C } = dt(), y = u.filter((w) => w.validation && y_e(w.validation)).map((w) => {
222163
222163
  const x = i.formState.errors[w.id];
222164
222164
  return x ? { fieldId: w.id, label: w.label, message: x.message } : null;
222165
222165
  }).filter(
@@ -222240,7 +222240,7 @@ function PDr({
222240
222240
  useUpload: h,
222241
222241
  isLoading: p
222242
222242
  }) {
222243
- const m = ft(), v = Let(n), g = o?.label ?? "Submit", C = o?.icon === null ? void 0 : o?.icon ?? Vc, y = o?.showSubmitWhenDirty ?? !1, b = o?.hideSubmitButton ?? !1, w = _e(() => _et(m), [m]), x = EDr[s], k = _e(
222243
+ const m = dt(), v = Let(n), g = o?.label ?? "Submit", C = o?.icon === null ? void 0 : o?.icon ?? Vc, y = o?.showSubmitWhenDirty ?? !1, b = o?.hideSubmitButton ?? !1, w = _e(() => _et(m), [m]), x = EDr[s], k = _e(
222244
222244
  () => jYe(n, { errorMap: w }),
222245
222245
  [n, w]
222246
222246
  ), _ = tYe({
@@ -224061,7 +224061,7 @@ function M_e({
224061
224061
  );
224062
224062
  }
224063
224063
  function Oet(e) {
224064
- const t = ft(), { forms: n } = t, {
224064
+ const t = dt(), { forms: n } = t, {
224065
224065
  name: r,
224066
224066
  schema: i,
224067
224067
  sections: a,
@@ -224187,10 +224187,10 @@ function Oet(e) {
224187
224187
  }
224188
224188
  }),
224189
224189
  [le, Ke]
224190
- ), We = Av(), dt = Le(null), Zt = h ?? dt;
224190
+ ), We = Av(), ft = Le(null), Zt = h ?? ft;
224191
224191
  Ve(() => {
224192
224192
  if (We)
224193
- return h || (dt.current = yt()), We.register(
224193
+ return h || (ft.current = yt()), We.register(
224194
224194
  r,
224195
224195
  Zt,
224196
224196
  i,
@@ -224495,7 +224495,7 @@ const PVr = {
224495
224495
  size: a = "sm",
224496
224496
  ...o
224497
224497
  }, s) => {
224498
- const [l, c] = de(!1), u = ft(), d = n ?? u.actions.copy, p = l ? r ?? "Copied" : d;
224498
+ const [l, c] = de(!1), u = dt(), d = n ?? u.actions.copy, p = l ? r ?? "Copied" : d;
224499
224499
  return Ve(() => {
224500
224500
  let v = null;
224501
224501
  return l && (v = setTimeout(() => c(!1), 1e3)), () => {
@@ -224792,7 +224792,7 @@ const Iet = Hn(RVr), $Vr = ({
224792
224792
  onAction: e,
224793
224793
  actionHref: t
224794
224794
  }) => {
224795
- const r = ft()?.ai?.growth?.bookAMeetingCard, i = r?.title ?? "Talk with an expert", a = r?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", o = r?.actionLabel ?? "Book a meeting";
224795
+ const r = dt()?.ai?.growth?.bookAMeetingCard, i = r?.title ?? "Talk with an expert", a = r?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", o = r?.actionLabel ?? "Book a meeting";
224796
224796
  return /* @__PURE__ */ A(D6, { className: "flex flex-col overflow-hidden", children: [
224797
224797
  /* @__PURE__ */ A(V6, { className: "flex flex-col gap-3 p-0", children: [
224798
224798
  /* @__PURE__ */ f(Ct, { icon: hte, size: "lg" }),
@@ -224874,7 +224874,7 @@ const Iet = Hn(RVr), $Vr = ({
224874
224874
  onAction: r,
224875
224875
  actionHref: i
224876
224876
  }) => {
224877
- const a = ft(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", l = o.replace("{{moduleName}}", t);
224877
+ const a = dt(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", l = o.replace("{{moduleName}}", t);
224878
224878
  return /* @__PURE__ */ A(D6, { className: "flex flex-col overflow-hidden", children: [
224879
224879
  /* @__PURE__ */ A(V6, { className: "flex flex-col gap-4 p-0", children: [
224880
224880
  /* @__PURE__ */ f(
@@ -225033,7 +225033,7 @@ const Iet = Hn(RVr), $Vr = ({
225033
225033
  onExpandedChange: i,
225034
225034
  allowMultiple: a = !1
225035
225035
  }) => {
225036
- const l = ft()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", c = e ?? NPe, [u, d] = de(
225036
+ const l = dt()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", c = e ?? NPe, [u, d] = de(
225037
225037
  () => new Set(n ? [n] : [])
225038
225038
  ), h = r !== void 0, p = Pe(
225039
225039
  (v) => h ? r === v : u.has(v),
@@ -225140,7 +225140,7 @@ const Iet = Hn(RVr), $Vr = ({
225140
225140
  actionHref: r,
225141
225141
  imageSrc: i
225142
225142
  }) => {
225143
- const o = ft()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
225143
+ const o = dt()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
225144
225144
  return /* @__PURE__ */ A(D6, { className: "flex flex-col overflow-hidden", children: [
225145
225145
  /* @__PURE__ */ f(V6, { className: "flex flex-col gap-3 p-0", children: /* @__PURE__ */ A("div", { className: "flex items-start gap-3", children: [
225146
225146
  /* @__PURE__ */ f(
@@ -225232,7 +225232,7 @@ const Iet = Hn(RVr), $Vr = ({
225232
225232
  sendAsMessage: r = !1,
225233
225233
  onSendMessage: i
225234
225234
  }) => {
225235
- const [a, o] = de(0), [s, l] = de({}), c = ft(), u = e.length, d = e[a], h = s[a] ?? [], p = Pe(
225235
+ const [a, o] = de(0), [s, l] = de({}), c = dt(), u = e.length, d = e[a], h = s[a] ?? [], p = Pe(
225236
225236
  (b, w) => {
225237
225237
  l((x) => {
225238
225238
  const k = x[a] ?? [], _ = w ? [...k, b] : k.filter((M) => M !== b);
@@ -225491,7 +225491,7 @@ function wS(e, t) {
225491
225491
  function aOr({
225492
225492
  steps: e
225493
225493
  }) {
225494
- const t = ft(), { sendMessage: n, setClarifyingQuestion: r } = Or(), [i, a] = de(0), [o, s] = de({}), l = Le(!1), c = Le("");
225494
+ const t = dt(), { sendMessage: n, setClarifyingQuestion: r } = Or(), [i, a] = de(0), [o, s] = de({}), l = Le(!1), c = Le("");
225495
225495
  Ve(() => {
225496
225496
  const b = JSON.stringify(e);
225497
225497
  b !== c.current && (c.current = b, l.current = !1, a(0), s({}));
@@ -225649,7 +225649,7 @@ function Ret({
225649
225649
  title: t,
225650
225650
  ...n
225651
225651
  }) {
225652
- const r = ft(), i = Le(null), a = Pe(
225652
+ const r = dt(), i = Le(null), a = Pe(
225653
225653
  (o) => {
225654
225654
  if (!i.current) return;
225655
225655
  const s = t?.replace(/\s+/g, "_").toLowerCase() || "table";
@@ -226011,7 +226011,7 @@ function LOr({
226011
226011
  id: e,
226012
226012
  label: t
226013
226013
  }) {
226014
- const { entityRefs: n } = Or(), r = n?.resolvers?.candidate, i = ft(), a = n?.urls?.candidate?.(e), o = _e(
226014
+ const { entityRefs: n } = Or(), r = n?.resolvers?.candidate, i = dt(), a = n?.urls?.candidate?.(e), o = _e(
226015
226015
  () => (l) => ({
226016
226016
  avatar: {
226017
226017
  type: "person",
@@ -226072,7 +226072,7 @@ function _Or({
226072
226072
  id: e,
226073
226073
  label: t
226074
226074
  }) {
226075
- const { entityRefs: n } = Or(), r = n?.resolvers?.jobPosting, i = ft(), a = n?.urls?.jobPosting?.(e), o = _e(
226075
+ const { entityRefs: n } = Or(), r = n?.resolvers?.jobPosting, i = dt(), a = n?.urls?.jobPosting?.(e), o = _e(
226076
226076
  () => (l) => ({
226077
226077
  title: l.title,
226078
226078
  description: [l.status, l.location].filter(Boolean).join(" · "),
@@ -226127,7 +226127,7 @@ function MOr({
226127
226127
  id: e,
226128
226128
  label: t
226129
226129
  }) {
226130
- const { entityRefs: n } = Or(), r = n?.resolvers?.requisition, i = ft(), a = n?.urls?.requisition?.(e), o = _e(
226130
+ const { entityRefs: n } = Or(), r = n?.resolvers?.requisition, i = dt(), a = n?.urls?.requisition?.(e), o = _e(
226131
226131
  () => (l) => ({
226132
226132
  title: l.title,
226133
226133
  description: [l.status, l.reason].filter(Boolean).join(" · "),
@@ -226182,7 +226182,7 @@ const Wet = U(
226182
226182
  );
226183
226183
  Wet.displayName = "PersonTrigger";
226184
226184
  function SOr({ id: e, label: t }) {
226185
- const { entityRefs: n } = Or(), r = n?.resolvers?.person, i = ft(), a = n?.urls?.person?.(e), o = _e(
226185
+ const { entityRefs: n } = Or(), r = n?.resolvers?.person, i = dt(), a = n?.urls?.person?.(e), o = _e(
226186
226186
  () => (l) => ({
226187
226187
  avatar: {
226188
226188
  type: "person",
@@ -226240,7 +226240,7 @@ const Get = U(
226240
226240
  );
226241
226241
  Get.displayName = "VacancyTrigger";
226242
226242
  function EOr({ id: e, label: t }) {
226243
- const { entityRefs: n } = Or(), r = n?.resolvers?.vacancy, i = ft(), a = n?.urls?.vacancy?.(e), o = _e(
226243
+ const { entityRefs: n } = Or(), r = n?.resolvers?.vacancy, i = dt(), a = n?.urls?.vacancy?.(e), o = _e(
226244
226244
  () => (l) => ({
226245
226245
  title: l.name,
226246
226246
  description: [l.status, l.vacancyType].filter(Boolean).join(" · "),
@@ -226355,7 +226355,7 @@ function lH({
226355
226355
  isActive: o,
226356
226356
  children: s
226357
226357
  }) {
226358
- const l = ft();
226358
+ const l = dt();
226359
226359
  return /* @__PURE__ */ A(
226360
226360
  "div",
226361
226361
  {
@@ -226394,7 +226394,7 @@ function Ket({
226394
226394
  filename: n,
226395
226395
  markdown: r
226396
226396
  }) {
226397
- const { t: i } = ft(), a = Xet(), { canvasContent: o, openCanvas: s, closeCanvas: l } = Or(), c = n?.replaceAll("_", " "), u = e || c || i("ai.dataDownload.title"), h = (t.totalCount == null || t.totalCount <= t.rows.length) && t.rows.length < FOr, p = o?.type === "dataDownload" && o.toolCallId != null && o.toolCallId === a, m = () => s({
226397
+ const { t: i } = dt(), a = Xet(), { canvasContent: o, openCanvas: s, closeCanvas: l } = Or(), c = n?.replaceAll("_", " "), u = e || c || i("ai.dataDownload.title"), h = (t.totalCount == null || t.totalCount <= t.rows.length) && t.rows.length < FOr, p = o?.type === "dataDownload" && o.toolCallId != null && o.toolCallId === a, m = () => s({
226398
226398
  type: "dataDownload",
226399
226399
  title: u,
226400
226400
  dataset: t,
@@ -226553,7 +226553,7 @@ function ett({
226553
226553
  qy.subscribe,
226554
226554
  qy.getSnapshot
226555
226555
  );
226556
- const o = ft(), s = Xet(), { canvasContent: l, openCanvas: c, closeCanvas: u } = Or(), d = (s ? ME.get(s) : void 0) ?? e, h = s ? qy.get(s) : void 0, p = h?.savedDashboardId ?? n, m = h?.savedDashboardCategory ?? r, v = h?.savedDashboardDescription ?? i, g = h?.savedDashboardUnsaved ?? a, C = l?.type === "dashboard" && l.toolCallId != null && l.toolCallId === s, y = () => c({
226556
+ const o = dt(), s = Xet(), { canvasContent: l, openCanvas: c, closeCanvas: u } = Or(), d = (s ? ME.get(s) : void 0) ?? e, h = s ? qy.get(s) : void 0, p = h?.savedDashboardId ?? n, m = h?.savedDashboardCategory ?? r, v = h?.savedDashboardDescription ?? i, g = h?.savedDashboardUnsaved ?? a, C = l?.type === "dashboard" && l.toolCallId != null && l.toolCallId === s, y = () => c({
226557
226557
  type: "dashboard",
226558
226558
  title: d.title,
226559
226559
  config: d,
@@ -226920,7 +226920,7 @@ const IOr = () => {
226920
226920
  }, BOr = ({
226921
226921
  actionHref: e
226922
226922
  }) => {
226923
- const t = ft();
226923
+ const t = dt();
226924
226924
  return /* @__PURE__ */ f(
226925
226925
  bae,
226926
226926
  {
@@ -226998,7 +226998,7 @@ const IOr = () => {
226998
226998
  }
226999
226999
  );
227000
227000
  }, zOr = (e) => bgt[e] || hD, jOr = ({ iconName: e }) => e ? /* @__PURE__ */ f("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ f(Ct, { icon: zOr(e), size: "md", color: "default" }) }) : null, WOr = ({ sources: e }) => {
227001
- const t = ft();
227001
+ const t = dt();
227002
227002
  return !e || e.length === 0 || !Array.isArray(e) ? null : /* @__PURE__ */ f(
227003
227003
  ntt,
227004
227004
  {
@@ -227385,7 +227385,7 @@ const iHr = ({
227385
227385
  onToggleActive: c,
227386
227386
  onConfirm: u
227387
227387
  }) => {
227388
- const h = ft().ai.clarifyingQuestion.typeYourAnswer, p = e === "single" ? /* @__PURE__ */ f(att, { isSelected: n && !t }) : /* @__PURE__ */ f(
227388
+ const h = dt().ai.clarifyingQuestion.typeYourAnswer, p = e === "single" ? /* @__PURE__ */ f(att, { isSelected: n && !t }) : /* @__PURE__ */ f(
227389
227389
  Go,
227390
227390
  {
227391
227391
  checked: i,
@@ -227526,7 +227526,7 @@ const iHr = ({
227526
227526
  onBack: a,
227527
227527
  onNext: o
227528
227528
  }) => {
227529
- const s = ft();
227529
+ const s = dt();
227530
227530
  return /* @__PURE__ */ A("div", { className: "flex items-start gap-2 px-4", children: [
227531
227531
  /* @__PURE__ */ f(
227532
227532
  $n,
@@ -227582,7 +227582,7 @@ const iHr = ({
227582
227582
  }, uHr = ({
227583
227583
  clarifyingQuestion: e
227584
227584
  }) => {
227585
- const t = ft(), {
227585
+ const t = dt(), {
227586
227586
  currentStep: n,
227587
227587
  currentStepIndex: r,
227588
227588
  totalSteps: i,
@@ -227977,7 +227977,7 @@ function CHr({
227977
227977
  activeToolHint: t,
227978
227978
  onChange: n
227979
227979
  }) {
227980
- const [r, i] = de(!1), a = ft(), o = o5(), s = Pe(
227980
+ const [r, i] = de(!1), a = dt(), o = o5(), s = Pe(
227981
227981
  (c) => {
227982
227982
  t?.id === c.id ? n(null) : n(c), i(!1);
227983
227983
  },
@@ -228090,7 +228090,7 @@ const yHr = ({
228090
228090
  isUploading: u,
228091
228091
  submitLabel: d
228092
228092
  }) => {
228093
- const h = ft();
228093
+ const h = dt();
228094
228094
  return /* @__PURE__ */ A("div", { className: "flex shrink-0 items-center justify-between p-3", children: [
228095
228095
  /* @__PURE__ */ A("div", { className: "flex items-center gap-2", children: [
228096
228096
  e && /* @__PURE__ */ A(_t, { children: [
@@ -228223,7 +228223,7 @@ const xHr = {
228223
228223
  creditWarning: e,
228224
228224
  children: t
228225
228225
  }) => {
228226
- const n = ft();
228226
+ const n = dt();
228227
228227
  if (!e) return t;
228228
228228
  const r = {
228229
228229
  ...xHr[e.level],
@@ -228275,7 +228275,7 @@ const xHr = {
228275
228275
  shouldReduceMotion: t,
228276
228276
  onFilesDropped: n
228277
228277
  }) => {
228278
- const r = ft(), [i, a] = de(!1);
228278
+ const r = dt(), [i, a] = de(!1);
228279
228279
  return /* @__PURE__ */ f(Ln, { children: e && /* @__PURE__ */ A(
228280
228280
  ht.div,
228281
228281
  {
@@ -228524,7 +228524,7 @@ function EHr(e, t) {
228524
228524
  );
228525
228525
  }
228526
228526
  function THr(e) {
228527
- const [t, n] = de([]), r = Le(null), i = ft(), a = e?.onUploadFiles, o = e?.allowedMimeTypes, s = e?.maxFiles, l = _e(() => {
228527
+ const [t, n] = de([]), r = Le(null), i = dt(), a = e?.onUploadFiles, o = e?.allowedMimeTypes, s = e?.maxFiles, l = _e(() => {
228528
228528
  if (o)
228529
228529
  return Array.isArray(o) ? o.join(",") : o;
228530
228530
  }, [o]), c = s !== void 0 && t.length >= s, u = Pe(
@@ -228610,7 +228610,7 @@ const ott = ({
228610
228610
  fileDragOver: p,
228611
228611
  pendingContext: m,
228612
228612
  setPendingContext: v
228613
- } = Or(), { messages: g, setMessages: C } = I7(), y = ft(), b = o5(), w = Le(g);
228613
+ } = Or(), { messages: g, setMessages: C } = I7(), y = dt(), b = o5(), w = Le(g);
228614
228614
  w.current = g;
228615
228615
  const [x, k] = de(""), [_, M] = de(0), S = Le(null), T = Le(null), P = Le(null), F = h !== null, {
228616
228616
  attachedFiles: D,
@@ -228905,7 +228905,7 @@ function AHr({
228905
228905
  onUnpin: i,
228906
228906
  onDelete: a
228907
228907
  }) {
228908
- const o = ft(), s = _e(
228908
+ const o = dt(), s = _e(
228909
228909
  () => [
228910
228910
  {
228911
228911
  label: t ? o.ai.unpinChat : o.ai.pinChat,
@@ -229127,7 +229127,7 @@ const NHr = ({
229127
229127
  onSelectThread: t,
229128
229128
  onNewChat: n
229129
229129
  }) => {
229130
- const r = ft(), {
229130
+ const r = dt(), {
229131
229131
  threads: i,
229132
229132
  isLoading: a,
229133
229133
  error: o,
@@ -229282,7 +229282,7 @@ const NHr = ({
229282
229282
  );
229283
229283
  };
229284
229284
  function IHr() {
229285
- const { credits: e } = Or(), t = ft(), [n, r] = de(!1), [i, a] = de(!1), [o, s] = de(!1), [l, c] = de(null), u = Pe(
229285
+ const { credits: e } = Or(), t = dt(), [n, r] = de(!1), [i, a] = de(!1), [o, s] = de(!1), [l, c] = de(null), u = Pe(
229286
229286
  (p) => {
229287
229287
  r(p), p && e?.fetchUsage && (a(!0), s(!1), e.fetchUsage().then((m) => {
229288
229288
  c(m), s(!1);
@@ -229418,7 +229418,7 @@ const RHr = (e) => {
229418
229418
  setVisualizationMode: o,
229419
229419
  lockVisualizationMode: s,
229420
229420
  tracking: l
229421
- } = Or(), c = a === "fullscreen", u = ft(), [d, h] = de(!1), p = Om(`(max-width: ${mie.md}px)`, {
229421
+ } = Or(), c = a === "fullscreen", u = dt(), [d, h] = de(!1), p = Om(`(max-width: ${mie.md}px)`, {
229422
229422
  initializeWithValue: !0
229423
229423
  }), m = Pe(() => {
229424
229424
  c ? (o("sidepanel"), setTimeout(() => t(!1), 200)) : t(!1), l?.onClose?.();
@@ -229496,7 +229496,7 @@ const RHr = (e) => {
229496
229496
  setVisualizationMode: o,
229497
229497
  lockVisualizationMode: s,
229498
229498
  tracking: l
229499
- } = Or(), c = a === "fullscreen", u = ft(), d = t.title === "CopilotKit", p = _e(
229499
+ } = Or(), c = a === "fullscreen", u = dt(), d = t.title === "CopilotKit", p = _e(
229500
229500
  () => $oe(n),
229501
229501
  [n]
229502
229502
  ).length > 0, m = Om(`(max-width: ${mie.md}px)`, {
@@ -229907,7 +229907,7 @@ const JHr = ({
229907
229907
  reactionType: n,
229908
229908
  message: r
229909
229909
  }) => {
229910
- const [i, a] = de(""), o = ft(), { title: s, label: l, placeholder: c } = n === "like" ? o.ai.feedbackModal.positive : o.ai.feedbackModal.negative, u = Pe(() => {
229910
+ const [i, a] = de(""), o = dt(), { title: s, label: l, placeholder: c } = n === "like" ? o.ai.feedbackModal.positive : o.ai.feedbackModal.negative, u = Pe(() => {
229911
229911
  t(r, i);
229912
229912
  }, [i, r, t]), d = () => {
229913
229913
  e(r);
@@ -229982,7 +229982,7 @@ function eNr() {
229982
229982
  } };
229983
229983
  }
229984
229984
  const tNr = ({ messages: e, onCopy: t }) => {
229985
- const n = ft(), { open: r } = utt(), [i, a] = de(null), o = e.filter(
229985
+ const n = dt(), { open: r } = utt(), [i, a] = de(null), o = e.filter(
229986
229986
  (c) => !Array.isArray(c) && c.role === "assistant" && !!c.content
229987
229987
  ).map((c) => c.content).join(`
229988
229988
 
@@ -230768,7 +230768,7 @@ const ONr = Cr("DataList", $tt), b4 = Object.assign(ONr, {
230768
230768
  showSeeMore: a,
230769
230769
  onClickSeeMore: o
230770
230770
  }, s) {
230771
- const l = ft();
230771
+ const l = dt();
230772
230772
  return /* @__PURE__ */ f(ba, { dataTestId: i, children: /* @__PURE__ */ A("div", { ref: s, className: "flex flex-col gap-4", children: [
230773
230773
  !!t && /* @__PURE__ */ f("p", { className: "mb-1 pl-1.5 text-sm font-semibold text-f1-foreground-secondary", children: t.toLocaleUpperCase() }),
230774
230774
  /* @__PURE__ */ f(
@@ -230914,7 +230914,7 @@ function Ztt({
230914
230914
  formValues: o,
230915
230915
  valueFormatter: s
230916
230916
  }) {
230917
- const { canvasContent: l, openCanvas: c, closeCanvas: u } = Or(), d = ft(), h = ZNr(e), p = s ?? h, m = r ?? e, v = i ?? t ?? "", g = l?.type === "form" && l.formName === e, C = () => c({
230917
+ const { canvasContent: l, openCanvas: c, closeCanvas: u } = Or(), d = dt(), h = ZNr(e), p = s ?? h, m = r ?? e, v = i ?? t ?? "", g = l?.type === "form" && l.formName === e, C = () => c({
230918
230918
  type: "form",
230919
230919
  title: m,
230920
230920
  description: v,
@@ -231020,7 +231020,7 @@ function XNr(e) {
231020
231020
  return t;
231021
231021
  }
231022
231022
  const $_e = ({ messages: e, title: t }) => {
231023
- const n = ft(), r = XNr(e);
231023
+ const n = dt(), r = XNr(e);
231024
231024
  return /* @__PURE__ */ f(
231025
231025
  ntt,
231026
231026
  {
@@ -231105,7 +231105,7 @@ function aIr() {
231105
231105
  };
231106
231106
  }
231107
231107
  const oIr = ({ onClose: e }) => {
231108
- const t = ft(), n = o5(), r = Le(null), i = Le(null), a = Le(null), o = Le(null), [s, l] = de(null), c = Le(/* @__PURE__ */ new Set()), u = Le({
231108
+ const t = dt(), n = o5(), r = Le(null), i = Le(null), a = Le(null), o = Le(null), [s, l] = de(null), c = Le(/* @__PURE__ */ new Set()), u = Le({
231109
231109
  x: 0,
231110
231110
  y: 0,
231111
231111
  vx: 0,
@@ -231182,19 +231182,19 @@ const oIr = ({ onClose: e }) => {
231182
231182
  x.current = { width: Ee.width, height: Ee.height };
231183
231183
  const De = Ee.width / 2;
231184
231184
  d.current = De, h.current = De, p.current = De, m.current = { player: 0, ai: 0 }, j({ player: 0, ai: 0 }), _.current = 0, M.current = u3, I(u3), S.current = 0, T.current = 0;
231185
- const tt = Se(), yt = (dt) => {
231185
+ const tt = Se(), yt = (ft) => {
231186
231186
  const Zt = Xe.getBoundingClientRect(), Ht = M.current;
231187
231187
  d.current = cc(
231188
- dt.clientX - Zt.left,
231188
+ ft.clientX - Zt.left,
231189
231189
  Ht / 2 + k5,
231190
231190
  Zt.width - Ht / 2 - k5
231191
231191
  );
231192
231192
  };
231193
231193
  Xe.addEventListener("pointermove", yt);
231194
- const We = (dt) => {
231195
- b.current || (b.current = dt);
231196
- const Zt = (dt - b.current) / 16.667, Ht = Math.min(Zt, 3);
231197
- b.current = dt;
231194
+ const We = (ft) => {
231195
+ b.current || (b.current = ft);
231196
+ const Zt = (ft - b.current) / 16.667, Ht = Math.min(Zt, 3);
231197
+ b.current = ft;
231198
231198
  const { width: ze, height: gt } = x.current, Ge = u.current, At = M.current;
231199
231199
  if (c.current.has("ArrowLeft") && (d.current = cc(
231200
231200
  d.current - Z_e * Ht,
@@ -231576,7 +231576,7 @@ const cIr = ({
231576
231576
  markdownTagRenderers: s,
231577
231577
  noShadows: l = !1
231578
231578
  }) => {
231579
- const { messages: c, interrupt: u, isLoading: d } = I7(), { getOrderedParts: h, version: p } = WHr(), { modal: m, handleSubmit: v, handleClose: g } = eNr(), C = ft(), {
231579
+ const { messages: c, interrupt: u, isLoading: d } = I7(), { getOrderedParts: h, version: p } = WHr(), { modal: m, handleSubmit: v, handleClose: g } = eNr(), C = dt(), {
231580
231580
  greeting: y,
231581
231581
  initialMessage: b,
231582
231582
  welcomeScreenSuggestions: w,
@@ -232018,7 +232018,7 @@ const mIr = () => {
232018
232018
  hideGoToCurrent: u,
232019
232019
  ...d
232020
232020
  }, h) => {
232021
- const p = ft(), m = $0(), v = _e(() => {
232021
+ const p = dt(), m = $0(), v = _e(() => {
232022
232022
  if (!e || !e.value)
232023
232023
  return [p.date.selectDate];
232024
232024
  const M = c || m6[e.granularity];
@@ -232208,7 +232208,7 @@ function CIr({
232208
232208
  value: t,
232209
232209
  onChange: n
232210
232210
  }) {
232211
- const r = ft(), i = {
232211
+ const r = dt(), i = {
232212
232212
  granularity: "day",
232213
232213
  ...e
232214
232214
  }, a = Array.isArray(i.granularity) ? i.granularity : [i.granularity], o = Ohr(
@@ -232317,7 +232317,7 @@ const EIr = (e) => Array.isArray(e) ? e.every((t) => SIr(t)) ? e : [
232317
232317
  totalItems: s,
232318
232318
  ...l
232319
232319
  }) => {
232320
- const { t: c, ...u } = ft(), d = n === 1 ? u.status.selected.singular : u.status.selected.plural, h = a && o && s !== void 0, p = t.slice(0, 2), m = t.slice(2).map((b) => ({
232320
+ const { t: c, ...u } = dt(), d = n === 1 ? u.status.selected.singular : u.status.selected.plural, h = a && o && s !== void 0, p = t.slice(0, 2), m = t.slice(2).map((b) => ({
232321
232321
  ...b,
232322
232322
  critical: b.critical || !1
232323
232323
  })), v = _e(
@@ -232534,7 +232534,7 @@ const EIr = (e) => Array.isArray(e) ? e.every((t) => SIr(t)) ? e : [
232534
232534
  )
232535
232535
  ] });
232536
232536
  }, K_e = ({ loading: e }) => e ? /* @__PURE__ */ f(Ct, { icon: BPe, className: "animate-spin" }) : /* @__PURE__ */ f(Ct, { icon: Ex, className: "text" }), AIr = ({ value: e, onChange: t, loading: n = !1 }) => {
232537
- const [r, i] = de(!1), a = Pa(), o = Le(null), s = Le(null), l = ft(), c = () => {
232537
+ const [r, i] = de(!1), a = Pa(), o = Le(null), s = Le(null), l = dt(), c = () => {
232538
232538
  t(void 0), i(!1), s?.current && (s.current.value = "");
232539
232539
  };
232540
232540
  H7t(o, () => {
@@ -232806,7 +232806,7 @@ const EIr = (e) => Array.isArray(e) ? e.every((t) => SIr(t)) ? e : [
232806
232806
  storageReady: i
232807
232807
  };
232808
232808
  }, IIr = (e = {}, t) => {
232809
- const n = ft(), r = {
232809
+ const n = dt(), r = {
232810
232810
  "no-data": {
232811
232811
  emoji: "📄",
232812
232812
  title: n.collections.emptyStates.noData.title,
@@ -233068,7 +233068,7 @@ const BIr = Hn(
233068
233068
  setPage: t,
233069
233069
  className: n
233070
233070
  }) => {
233071
- const r = ft();
233071
+ const r = dt();
233072
233072
  return !Iqe(e) || e.pagesCount <= 1 ? null : /* @__PURE__ */ A(
233073
233073
  "div",
233074
233074
  {
@@ -233664,7 +233664,7 @@ function v3({
233664
233664
  fromVisualization: u,
233665
233665
  referenceRowType: d = "none"
233666
233666
  }) {
233667
- const { isScrolled: h, isScrolledRight: p } = cnt(), { actions: m } = ft(), v = a?.left !== void 0, g = a?.right !== void 0, C = v || g, y = a?.left, b = a?.right, w = lnt(r), x = Le(null), k = c?.depth ?? 0, _ = c?.nestedVariant === "detailed", M = dnt(
233667
+ const { isScrolled: h, isScrolledRight: p } = cnt(), { actions: m } = dt(), v = a?.left !== void 0, g = a?.right !== void 0, C = v || g, y = a?.left, b = a?.right, w = lnt(r), x = Le(null), k = c?.depth ?? 0, _ = c?.nestedVariant === "detailed", M = dnt(
233668
233668
  i,
233669
233669
  !!c?.tableWithChildren
233670
233670
  ) && {
@@ -234843,7 +234843,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
234843
234843
  fromVisualization: y,
234844
234844
  headerGroups: b
234845
234845
  }, w) => {
234846
- const x = e.itemUrl ? e.itemUrl(t) : void 0, k = e.itemOnClick ? e.itemOnClick(t) : void 0, _ = e.selectable ? e.selectable(t) : void 0, M = !!e.itemsWithChildren?.(t), S = ft(), T = (I, q) => zk(I, q, "table", S, {
234846
+ const x = e.itemUrl ? e.itemUrl(t) : void 0, k = e.itemOnClick ? e.itemOnClick(t) : void 0, _ = e.selectable ? e.selectable(t) : void 0, M = !!e.itemsWithChildren?.(t), S = dt(), T = (I, q) => zk(I, q, "table", S, {
234847
234847
  tableAlign: q.align ?? "left"
234848
234848
  }), P = `table-row-${c}-${l}`, { getStickyPosition: F } = wnt(
234849
234849
  o,
@@ -235180,7 +235180,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235180
235180
  allowHiding: r,
235181
235181
  visualizationKey: i = "table"
235182
235182
  }) => {
235183
- const a = ft(), { settings: o, setVisualizationSettings: s } = Dv(), l = o.visualization[i], { columnsWithStatus: c } = Ent(
235183
+ const a = dt(), { settings: o, setVisualizationSettings: s } = Dv(), l = o.visualization[i], { columnsWithStatus: c } = Ent(
235184
235184
  e,
235185
235185
  t,
235186
235186
  l,
@@ -235283,7 +235283,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235283
235283
  fromVisualization: m = "table",
235284
235284
  summaryPlaceholder: v = "-"
235285
235285
  }) => {
235286
- const { t: g, ...C } = ft(), y = vnt(), [b] = de(
235286
+ const { t: g, ...C } = dt(), y = vnt(), [b] = de(
235287
235287
  () => ht.create(
235288
235288
  Sm
235289
235289
  )
@@ -235327,7 +235327,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235327
235327
  data: k.records
235328
235328
  });
235329
235329
  }, [_?.total, k.records]);
235330
- const j = _e(() => n, [n]), B = (We, dt) => "id" in We && We.id !== void 0 && We.id !== null ? `id:${String(We.id)}` : `index:${String(dt)}`, {
235330
+ const j = _e(() => n, [n]), B = (We, ft) => "id" in We && We.id !== void 0 && We.id !== null ? `id:${String(We.id)}` : `index:${String(ft)}`, {
235331
235331
  selectedItems: I,
235332
235332
  allSelectedStatus: q,
235333
235333
  groupAllSelectedStatus: Y,
@@ -235346,8 +235346,8 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235346
235346
  data: F,
235347
235347
  sticky: !0,
235348
235348
  label: t.summaries?.label
235349
- }, [F, t.summaries]), Ce = (We, dt, Zt) => {
235350
- if (!(!We || !dt))
235349
+ }, [F, t.summaries]), Ce = (We, ft, Zt) => {
235350
+ if (!(!We || !ft))
235351
235351
  return Zt === null ? "none" : Zt.field === We ? Zt.order : "none";
235352
235352
  }, Q = (We) => We == null || We === "", Me = (We) => We ?? v, se = (We) => {
235353
235353
  H(() => !D || D.field !== We ? {
@@ -235442,7 +235442,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235442
235442
  children: /* @__PURE__ */ f("div", { className: "ml-1.5 flex w-full items-center justify-start" })
235443
235443
  }
235444
235444
  ),
235445
- Ye.map((We, dt) => {
235445
+ Ye.map((We, ft) => {
235446
235446
  const Zt = J(
235447
235447
  Ah,
235448
235448
  "hover:after:bg-transparent"
@@ -235455,7 +235455,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235455
235455
  className: Zt,
235456
235456
  children: We.label
235457
235457
  },
235458
- `header-group-${We.id}-${dt}`
235458
+ `header-group-${We.id}-${ft}`
235459
235459
  ) : /* @__PURE__ */ f(
235460
235460
  w4,
235461
235461
  {
@@ -235511,7 +235511,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235511
235511
  ) })
235512
235512
  }
235513
235513
  ),
235514
- x.map(({ sorting: We, label: dt, ...Zt }, Ht) => {
235514
+ x.map(({ sorting: We, label: ft, ...Zt }, Ht) => {
235515
235515
  const ze = Ye?.find(
235516
235516
  (Ge) => Ge.type === "group" && Ge.columnIndices.includes(Ht)
235517
235517
  ), gt = !!Ye && (!ze || ze.columnIndices[ze.columnIndices.length - 1] === Ht);
@@ -235536,7 +235536,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235536
235536
  onSortClick: We ? () => {
235537
235537
  We && se(We);
235538
235538
  } : void 0,
235539
- children: dt
235539
+ children: ft
235540
235540
  },
235541
235541
  `table-head-${Ht}`
235542
235542
  );
@@ -235568,7 +235568,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235568
235568
  ] })
235569
235569
  ] }) }),
235570
235570
  /* @__PURE__ */ A(snt, { children: [
235571
- k?.type === "grouped" && k.groups.map((We, dt) => {
235571
+ k?.type === "grouped" && k.groups.map((We, ft) => {
235572
235572
  const Zt = We.itemCount;
235573
235573
  return /* @__PURE__ */ A(V3, { children: [
235574
235574
  /* @__PURE__ */ A(E4, { sticky: !0, children: [
@@ -235604,7 +235604,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235604
235604
  )
235605
235605
  ] }, `group-header-${We.key}`),
235606
235606
  /* @__PURE__ */ f(Ln, { children: b && (!Ae || Fe[We.key]) && We.records.map((Ht, ze) => {
235607
- const gt = `row-${dt}-${B(Ht, ze)}`, Ge = /* @__PURE__ */ f(
235607
+ const gt = `row-${ft}-${B(Ht, ze)}`, Ge = /* @__PURE__ */ f(
235608
235608
  b,
235609
235609
  {
235610
235610
  variants: Rqe(),
@@ -235616,7 +235616,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235616
235616
  source: G,
235617
235617
  item: Ht,
235618
235618
  index: ze,
235619
- groupIndex: dt,
235619
+ groupIndex: ft,
235620
235620
  onItemCheckedChange: ae,
235621
235621
  onCheckedChange: (At) => ae(Ht, At),
235622
235622
  selectedItems: I,
@@ -235640,17 +235640,17 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235640
235640
  },
235641
235641
  gt
235642
235642
  ) : Ge;
235643
- }) }, `group-animate-${dt}`)
235643
+ }) }, `group-animate-${ft}`)
235644
235644
  ] }, `group-${We.key}`);
235645
235645
  }),
235646
- k?.type === "flat" && k.records.map((We, dt) => {
235647
- const Zt = `row-${B(We, dt)}`, Ht = /* @__PURE__ */ f(
235646
+ k?.type === "flat" && k.records.map((We, ft) => {
235647
+ const Zt = `row-${B(We, ft)}`, Ht = /* @__PURE__ */ f(
235648
235648
  Sm,
235649
235649
  {
235650
235650
  groupIndex: 0,
235651
235651
  source: G,
235652
235652
  item: We,
235653
- index: dt,
235653
+ index: ft,
235654
235654
  onItemCheckedChange: ae,
235655
235655
  onCheckedChange: (ze) => ae(We, ze),
235656
235656
  selectedItems: I,
@@ -235666,11 +235666,11 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235666
235666
  },
235667
235667
  Zt
235668
235668
  );
235669
- return u ? /* @__PURE__ */ f(u, { item: We, index: dt, children: Ht }, Zt) : Ht;
235669
+ return u ? /* @__PURE__ */ f(u, { item: We, index: ft, children: Ht }, Zt) : Ht;
235670
235670
  }),
235671
- _?.type === "infinite-scroll" && T && Array.from({ length: 5 }).map((We, dt) => /* @__PURE__ */ f(E4, { children: Array.from({ length: ke }).map(
235672
- (Zt, Ht) => /* @__PURE__ */ f(v3, { children: /* @__PURE__ */ f(it, { className: "h-4 w-full" }) }, `skeleton-cell-${dt}-${Ht}`)
235673
- ) }, `skeleton-row-${dt}`)),
235671
+ _?.type === "infinite-scroll" && T && Array.from({ length: 5 }).map((We, ft) => /* @__PURE__ */ f(E4, { children: Array.from({ length: ke }).map(
235672
+ (Zt, Ht) => /* @__PURE__ */ f(v3, { children: /* @__PURE__ */ f(it, { className: "h-4 w-full" }) }, `skeleton-cell-${ft}-${Ht}`)
235673
+ ) }, `skeleton-row-${ft}`)),
235674
235674
  Pw(_) && _.hasMore && /* @__PURE__ */ f("tr", { children: /* @__PURE__ */ f(
235675
235675
  "td",
235676
235676
  {
@@ -235693,25 +235693,25 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235693
235693
  ),
235694
235694
  children: [
235695
235695
  t.selectable && /* @__PURE__ */ f(v3, { width: $e, sticky: { left: 0 }, children: oe.label && /* @__PURE__ */ f("div", { className: "font-medium text-f1-foreground-secondary", children: oe.label }) }),
235696
- x.map((dt, Zt) => /* @__PURE__ */ f(
235696
+ x.map((ft, Zt) => /* @__PURE__ */ f(
235697
235697
  v3,
235698
235698
  {
235699
235699
  firstCell: Zt === 0,
235700
- width: dt.width,
235700
+ width: ft.width,
235701
235701
  sticky: Se(Zt),
235702
235702
  children: Zt === 0 && !t.selectable && oe.label ? /* @__PURE__ */ f("div", { className: "font-medium text-f1-foreground-secondary", children: oe.label }) : /* @__PURE__ */ f(
235703
235703
  "div",
235704
235704
  {
235705
235705
  className: J(
235706
- dt.align === "right" ? "justify-end" : "",
235706
+ ft.align === "right" ? "justify-end" : "",
235707
235707
  "flex"
235708
235708
  ),
235709
235709
  children: (() => {
235710
235710
  const Ht = Me(
235711
- dt.summaryPlaceholder
235711
+ ft.summaryPlaceholder
235712
235712
  );
235713
- if (dt.summary && t.summaries && t.summaries[dt.summary]?.type === "sum") {
235714
- const ze = oe.data[dt.summary];
235713
+ if (ft.summary && t.summaries && t.summaries[ft.summary]?.type === "sum") {
235714
+ const ze = oe.data[ft.summary];
235715
235715
  return Q(ze) ? /* @__PURE__ */ f("span", { className: "text-f1-foreground-secondary", children: Ht }) : /* @__PURE__ */ A("div", { className: "flex gap-1", children: [
235716
235716
  /* @__PURE__ */ f("span", { className: "text-f1-foreground-secondary", children: C.collections.summaries.types.sum }),
235717
235717
  `${ze}`
@@ -235722,7 +235722,7 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235722
235722
  }
235723
235723
  )
235724
235724
  },
235725
- `summary-${String(dt.label)}`
235725
+ `summary-${String(ft.label)}`
235726
235726
  )),
235727
235727
  R && (z ? /* @__PURE__ */ f(
235728
235728
  v3,
@@ -235759,8 +235759,8 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235759
235759
  "div",
235760
235760
  {
235761
235761
  className: "pointer-events-auto flex h-full items-center",
235762
- onClick: (dt) => dt.stopPropagation(),
235763
- onMouseDownCapture: (dt) => dt.stopPropagation(),
235762
+ onClick: (ft) => ft.stopPropagation(),
235763
+ onMouseDownCapture: (ft) => ft.stopPropagation(),
235764
235764
  children: We.length === 1 ? /* @__PURE__ */ f(
235765
235765
  Ot,
235766
235766
  {
@@ -235772,23 +235772,23 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235772
235772
  disabled: We[0].disabled,
235773
235773
  size: "sm"
235774
235774
  }
235775
- ) : We.some((dt) => dt.description !== void 0) ? /* @__PURE__ */ f(
235775
+ ) : We.some((ft) => ft.description !== void 0) ? /* @__PURE__ */ f(
235776
235776
  N3,
235777
235777
  {
235778
235778
  mode: "dropdown",
235779
235779
  variant: "outline",
235780
235780
  size: "sm",
235781
235781
  trigger: y?.addRowActionsLabel,
235782
- disabled: We.every((dt) => dt.disabled),
235783
- loading: We.some((dt) => dt.loading),
235784
- items: We.map((dt, Zt) => ({
235782
+ disabled: We.every((ft) => ft.disabled),
235783
+ loading: We.some((ft) => ft.loading),
235784
+ items: We.map((ft, Zt) => ({
235785
235785
  value: Zt.toString(),
235786
- label: dt.label,
235787
- icon: dt.icon,
235788
- description: dt.description
235786
+ label: ft.label,
235787
+ icon: ft.icon,
235788
+ description: ft.description
235789
235789
  })),
235790
- onClick: (dt) => {
235791
- We[Number(dt)]?.onClick?.();
235790
+ onClick: (ft) => {
235791
+ We[Number(ft)]?.onClick?.();
235792
235792
  }
235793
235793
  }
235794
235794
  ) : /* @__PURE__ */ f(
@@ -235796,15 +235796,15 @@ const kRr = (e, t) => /* @__PURE__ */ f(
235796
235796
  {
235797
235797
  variant: "outline",
235798
235798
  size: "sm",
235799
- disabled: We.every((dt) => dt.disabled),
235800
- loading: We.some((dt) => dt.loading),
235801
- items: We.map((dt, Zt) => ({
235799
+ disabled: We.every((ft) => ft.disabled),
235800
+ loading: We.some((ft) => ft.loading),
235801
+ items: We.map((ft, Zt) => ({
235802
235802
  value: Zt.toString(),
235803
- label: dt.label,
235804
- icon: dt.icon
235803
+ label: ft.label,
235804
+ icon: ft.icon
235805
235805
  })),
235806
- onClick: (dt) => {
235807
- We[Number(dt)]?.onClick?.();
235806
+ onClick: (ft) => {
235807
+ We[Number(ft)]?.onClick?.();
235808
235808
  }
235809
235809
  }
235810
235810
  )
@@ -236059,7 +236059,7 @@ function JRr({
236059
236059
  onChange: i,
236060
236060
  item: a
236061
236061
  }) {
236062
- const o = ft(), [s, l] = de(!1), c = e.selectConfig;
236062
+ const o = dt(), [s, l] = de(!1), c = e.selectConfig;
236063
236063
  if (!c)
236064
236064
  return lMe.has(e.label) || (lMe.add(e.label), console.warn(
236065
236065
  `SelectCell: column "${e.label}" has editType "select" but no selectConfig`
@@ -236124,7 +236124,7 @@ function QRr({
236124
236124
  editableColumn: e,
236125
236125
  item: t
236126
236126
  }) {
236127
- const n = ft();
236127
+ const n = dt();
236128
236128
  return /* @__PURE__ */ f(Yu, { borderOnHover: !1, children: /* @__PURE__ */ f(
236129
236129
  "div",
236130
236130
  {
@@ -236143,7 +236143,7 @@ function Ant({
236143
236143
  item: t,
236144
236144
  isLastColumn: n
236145
236145
  }) {
236146
- const r = ft();
236146
+ const r = dt();
236147
236147
  return /* @__PURE__ */ f(Yu, { showRightBorder: !n, borderOnHover: !1, children: /* @__PURE__ */ f(
236148
236148
  "div",
236149
236149
  {
@@ -236201,7 +236201,7 @@ function t$r({
236201
236201
  onCellChange: t,
236202
236202
  children: n
236203
236203
  }) {
236204
- const [r, i] = de(e), [a, o] = de({}), [s, l] = de({}), { t: c } = ft(), u = Le(r);
236204
+ const [r, i] = de(e), [a, o] = de({}), [s, l] = de({}), { t: c } = dt(), u = Le(r);
236205
236205
  u.current = r, Ve(() => {
236206
236206
  i(e);
236207
236207
  }, [e]);
@@ -237582,7 +237582,7 @@ const F$r = ({
237582
237582
  fields: i,
237583
237583
  itemDefinition: a
237584
237584
  }) => {
237585
- const o = ft(), { actions: s } = o, l = (y, b) => zk(y, b, "list", o), c = e.itemUrl ? e.itemUrl(t) : void 0, u = e.itemOnClick ? e.itemOnClick(t) : void 0, d = e.selectable ? e.selectable(t) : void 0, h = a(t), {
237585
+ const o = dt(), { actions: s } = o, l = (y, b) => zk(y, b, "list", o), c = e.itemUrl ? e.itemUrl(t) : void 0, u = e.itemOnClick ? e.itemOnClick(t) : void 0, d = e.selectable ? e.selectable(t) : void 0, h = a(t), {
237586
237586
  primaryItemActions: p,
237587
237587
  dropdownItemActions: m,
237588
237588
  mobileDropdownItemActions: v,
@@ -238297,7 +238297,7 @@ function U$r({
238297
238297
  filename: n,
238298
238298
  enabled: r = !0
238299
238299
  }) {
238300
- const [i, a] = de(!1), o = ft(), { settings: s } = Dv(), l = Pe(async () => {
238300
+ const [i, a] = de(!1), o = dt(), { settings: s } = Dv(), l = Pe(async () => {
238301
238301
  if (r) {
238302
238302
  a(!0);
238303
238303
  try {
@@ -238481,7 +238481,7 @@ const q$r = (e) => e.some(
238481
238481
  sortings: t,
238482
238482
  onChange: n
238483
238483
  }) => {
238484
- const r = ft(), i = [
238484
+ const r = dt(), i = [
238485
238485
  {
238486
238486
  label: r.collections.sorting.noSorting,
238487
238487
  value: LS
@@ -238534,7 +238534,7 @@ const q$r = (e) => e.some(
238534
238534
  currentVisualization: t,
238535
238535
  onVisualizationChange: n
238536
238536
  }) => {
238537
- const r = ft(), i = (o) => {
238537
+ const r = dt(), i = (o) => {
238538
238538
  n(o);
238539
238539
  }, a = (o) => o.type === "custom" ? {
238540
238540
  icon: o.icon,
@@ -238597,7 +238597,7 @@ const q$r = (e) => e.some(
238597
238597
  currentSortings: s,
238598
238598
  onSortingsChange: l
238599
238599
  }) => {
238600
- const c = ft(), u = r ? Object.keys(r.groupBy).length + (r.mandatory ? 1 : 0) : 0, [d, h] = de(!1), p = (M) => {
238600
+ const c = dt(), u = r ? Object.keys(r.groupBy).length + (r.mandatory ? 1 : 0) : 0, [d, h] = de(!1), p = (M) => {
238601
238601
  h(!1), n(M);
238602
238602
  }, m = (M) => {
238603
238603
  a(M);
@@ -238835,7 +238835,7 @@ const q$r = (e) => e.some(
238835
238835
  (ee) => !("type" in ee && ee.type === "separator")
238836
238836
  )
238837
238837
  };
238838
- }, [Se, Ye]), [Ze, Xe] = de(!1), [Ee, De] = de(0), [tt, yt] = de(!1), We = ft(), dt = _e(() => T === !0 ? (ee) => ee !== void 0 ? `${ee} ${We.collections.itemsCount}` : null : T || void 0, [T, We]), Zt = (ee, me, ue) => {
238838
+ }, [Se, Ye]), [Ze, Xe] = de(!1), [Ee, De] = de(0), [tt, yt] = de(!1), We = dt(), ft = _e(() => T === !0 ? (ee) => ee !== void 0 ? `${ee} ${We.collections.itemsCount}` : null : T || void 0, [T, We]), Zt = (ee, me, ue) => {
238839
238839
  n?.(ee, me, ue), Xe(
238840
238840
  !!ee.allSelected || ee.itemsStatus.some((we) => we.checked)
238841
238841
  ), De(ee.selectedCount), pe(() => me), yt(ee.allSelected === !0);
@@ -238888,7 +238888,7 @@ const q$r = (e) => e.some(
238888
238888
  g,
238889
238889
  e.dataAdapter
238890
238890
  ]);
238891
- const $r = _e(() => dt !== void 0, [dt]), mn = dt === void 0 ? null : Ht !== void 0 ? dt(Ht) : null, { settings: Mn, setSettings: ar } = Dv(), { storageReady: s2 } = NIr(
238891
+ const $r = _e(() => ft !== void 0, [ft]), mn = ft === void 0 ? null : Ht !== void 0 ? ft(Ht) : null, { settings: Mn, setSettings: ar } = Dv(), { storageReady: s2 } = NIr(
238892
238892
  l,
238893
238893
  typeof s == "object" ? s?.features ?? ["*"] : ["*"],
238894
238894
  {
@@ -239118,7 +239118,7 @@ const q$r = (e) => e.some(
239118
239118
  }
239119
239119
  );
239120
239120
  }, iBr = (e) => /* @__PURE__ */ f(N$r, { children: /* @__PURE__ */ f(rBr, { ...e }) }), aBr = Hn(iBr), Xoe = aBr, Yoe = (e, t = []) => {
239121
- const n = ft(), {
239121
+ const n = dt(), {
239122
239122
  navigationFilters: r,
239123
239123
  summaries: i,
239124
239124
  currentNavigationFilters: a
@@ -241223,7 +241223,7 @@ var nZr = /* @__PURE__ */ (function() {
241223
241223
  var me = st(50 + Math.floor(ee.length * 1.1)), ue = yt(ee, me);
241224
241224
  return me.slice(0, ue);
241225
241225
  }
241226
- var dt = ie ? new Uint16Array(32768) : Ze(32768), Zt = ie ? new Uint16Array(32768) : Ze(32768), Ht = ie ? new Uint16Array(128) : Ze(128), ze = 1, gt = 1;
241226
+ var ft = ie ? new Uint16Array(32768) : Ze(32768), Zt = ie ? new Uint16Array(32768) : Ze(32768), Ht = ie ? new Uint16Array(128) : Ze(128), ze = 1, gt = 1;
241227
241227
  function Ge(ee, me) {
241228
241228
  var ue = Ie(ee, me) + 257;
241229
241229
  me += 5;
@@ -241261,7 +241261,7 @@ var nZr = /* @__PURE__ */ (function() {
241261
241261
  var dr = dn.slice(0, ue), Dr = dn.slice(ue);
241262
241262
  for (Ue = ue; Ue < 286; ++Ue) dr[Ue] = 0;
241263
241263
  for (Ue = ge; Ue < 30; ++Ue) Dr[Ue] = 0;
241264
- return ze = Xe(dr, dt, 286), gt = Xe(Dr, Zt, 30), me;
241264
+ return ze = Xe(dr, ft, 286), gt = Xe(Dr, Zt, 30), me;
241265
241265
  }
241266
241266
  function At(ee, me) {
241267
241267
  if (ee[0] == 3 && !(ee[1] & 3))
@@ -241279,7 +241279,7 @@ var nZr = /* @__PURE__ */ (function() {
241279
241279
  }
241280
241280
  for (; ; ) {
241281
241281
  !me && qe < we + 32767 && (be = Ke(be, we + 32767), qe = be.length);
241282
- var Ne = pe(ee, ue, lt), ye = ge >>> 1 == 1 ? Ee[Ne] : dt[Ne];
241282
+ var Ne = pe(ee, ue, lt), ye = ge >>> 1 == 1 ? Ee[Ne] : ft[Ne];
241283
241283
  if (ue += ye & 15, ye >>>= 4, (ye >>> 8 & 255) === 0) be[we++] = ye;
241284
241284
  else {
241285
241285
  if (ye == 256) break;
@@ -255061,7 +255061,7 @@ function CXr({
255061
255061
  data: n,
255062
255062
  title: r
255063
255063
  }) {
255064
- const { t: i } = ft(), a = Pe(
255064
+ const { t: i } = dt(), a = Pe(
255065
255065
  (c) => {
255066
255066
  const u = gXr(e);
255067
255067
  if (!u) return;
@@ -255224,7 +255224,7 @@ function kH({
255224
255224
  isFullscreen: p = !1,
255225
255225
  onFullscreenChange: m
255226
255226
  }) {
255227
- const [v, g] = de(!1), [C, y] = de(!1), b = ft(), w = (F) => {
255227
+ const [v, g] = de(!1), [C, y] = de(!1), b = dt(), w = (F) => {
255228
255228
  g(F), F || y(!1);
255229
255229
  }, x = s.filter(
255230
255230
  (F) => !("type" in F) || F.type === "item" || F.type === void 0
@@ -255638,7 +255638,7 @@ function MXr({
255638
255638
  isFullscreen: o,
255639
255639
  onFullscreenChange: s
255640
255640
  }) {
255641
- const l = ft(), [c, u] = de("chart"), d = e.useDashboardFilters !== !1, { data: h, isLoading: p, error: m, retry: v } = C2t(e.fetchData, t, d), g = Le(null), C = _e(
255641
+ const l = dt(), [c, u] = de("chart"), d = e.useDashboardFilters !== !1, { data: h, isLoading: p, error: m, retry: v } = C2t(e.fetchData, t, d), g = Le(null), C = _e(
255642
255642
  () => wXr(l),
255643
255643
  [l]
255644
255644
  ), y = CXr({
@@ -255704,7 +255704,7 @@ function SXr({
255704
255704
  records: e,
255705
255705
  title: t
255706
255706
  }) {
255707
- const { t: n } = ft(), r = Pe(() => {
255707
+ const { t: n } = dt(), r = Pe(() => {
255708
255708
  if (e.length === 0) return;
255709
255709
  const a = cee(e);
255710
255710
  v2t(a, e, t);
@@ -256302,7 +256302,7 @@ function BXr({
256302
256302
  onExportExcel: e,
256303
256303
  isExporting: t
256304
256304
  }) {
256305
- const { t: n } = ft();
256305
+ const { t: n } = dt();
256306
256306
  return /* @__PURE__ */ f(
256307
256307
  U7,
256308
256308
  {
@@ -256444,7 +256444,7 @@ const b2t = ({
256444
256444
  navigationFilters: d,
256445
256445
  filtersLoading: h
256446
256446
  }) => {
256447
- const p = ft(), [m, v] = de(
256447
+ const p = dt(), [m, v] = de(
256448
256448
  () => n ?? {}
256449
256449
  ), g = _e(() => {
256450
256450
  if (!d)
@@ -256739,7 +256739,7 @@ function YXr({
256739
256739
  defaultTitle: r,
256740
256740
  defaultDescription: i = ""
256741
256741
  }) {
256742
- const { t: a } = ft(), [o, s] = de(r), [l, c] = de(i), [u, d] = de(!1);
256742
+ const { t: a } = dt(), [o, s] = de(r), [l, c] = de(i), [u, d] = de(!1);
256743
256743
  Ve(() => {
256744
256744
  e && (s(r), c(i));
256745
256745
  }, [e, r, i]);
@@ -257002,7 +257002,7 @@ function nYr({
257002
257002
  transformItem: l,
257003
257003
  saveConfigToHistory: c,
257004
257004
  registerExport: u
257005
- } = x2t(), { canvasActions: d, openCanvas: h } = Or(), p = ft(), [m, v] = de(!1), g = !!e.savedDashboardId && !!e.savedDashboardCategory, C = !!e.savedDashboardUnsaved, y = !!d?.dashboard, b = _e(() => ({
257005
+ } = x2t(), { canvasActions: d, openCanvas: h } = Or(), p = dt(), [m, v] = de(!1), g = !!e.savedDashboardId && !!e.savedDashboardCategory, C = !!e.savedDashboardUnsaved, y = !!d?.dashboard, b = _e(() => ({
257006
257006
  ...e.config,
257007
257007
  items: e.config.items.map((k) => {
257008
257008
  const _ = i.get(k.id), M = _ ? { ...k, ..._ } : k;
@@ -257243,7 +257243,7 @@ function aYr(e, t) {
257243
257243
  };
257244
257244
  }
257245
257245
  function k3e({ onClick: e }) {
257246
- const t = ft();
257246
+ const t = dt();
257247
257247
  return /* @__PURE__ */ f(
257248
257248
  Ot,
257249
257249
  {
@@ -257260,7 +257260,7 @@ function oYr({
257260
257260
  content: e,
257261
257261
  onClose: t
257262
257262
  }) {
257263
- const { t: n } = ft(), { exportAsExcel: r } = x2t(), [i, a] = de(!1), o = Pe(async () => {
257263
+ const { t: n } = dt(), { exportAsExcel: r } = x2t(), [i, a] = de(!1), o = Pe(async () => {
257264
257264
  if (r) {
257265
257265
  a(!0);
257266
257266
  try {
@@ -257735,7 +257735,7 @@ function xYr({
257735
257735
  content: e,
257736
257736
  onClose: t
257737
257737
  }) {
257738
- const n = ft(), { filename: r = "dataset" } = e, { getFilteredDataset: i } = T2t(), a = [
257738
+ const n = dt(), { filename: r = "dataset" } = e, { getFilteredDataset: i } = T2t(), a = [
257739
257739
  {
257740
257740
  value: "excel",
257741
257741
  label: n.t("ai.dataDownload.download", { format: "Excel" }),
@@ -258530,7 +258530,7 @@ export {
258530
258530
  q6t as r,
258531
258531
  ia as s,
258532
258532
  N0t as t,
258533
- ft as u,
258533
+ dt as u,
258534
258534
  S0t as v,
258535
258535
  H0t as w,
258536
258536
  fEe as x,