@versini/sassysaint 8.19.0 → 8.20.0

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.
@@ -4,7 +4,7 @@ var ln = (e) => {
4
4
  var ha = (e, t, r) => t.has(e) || ln("Cannot " + r);
5
5
  var O = (e, t, r) => (ha(e, t, "read from private field"), r ? r.call(e) : t.get(e)), ye = (e, t, r) => t.has(e) ? ln("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), ce = (e, t, r, a) => (ha(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), he = (e, t, r) => (ha(e, t, "access private method"), r);
6
6
  import { jsx as c, jsxs as A, Fragment as fe } from "react/jsx-runtime";
7
- import { Subscribable as Nl, pendingThenable as cn, resolveEnabled as je, shallowEqualObjects as La, resolveStaleTime as Br, noop as Pa, isServer as Da, isValidTimeout as dn, focusManager as Al, fetchState as Rl, replaceData as un, notifyManager as ks, timeUntilStale as $l, shouldThrowError as Ol, useQueryClient as Ll, I as ne, ACTION_SORT as Ma, ACTION_SEARCH as Es, ACTION_RESET_PROMPT as Ts, ACTION_TOGGLE_PROMPT as xs, le as Ne, DEFAULT_ICON_ACTION_SIZE as Ye, n as Pe, isElectron as Ba, isProbablyiPhone as za, L as fr, j as Je, C as xt, LOCAL_STORAGE_PREFIX as Ct, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Pl, LOCAL_STORAGE_REASONING_DISCLOSURE as Dl, TOAST_CHAT_SAVED as Ml, toastOptions as Wr, TOAST_PROVIDER_CHANGED as Ss, PROMPT_CLASSNAME as Bl, PROMPT_EDITABLE_AREA_CLASSNAME as zl, ERROR_MESSAGE as Hl, ROLE_INTERNAL as Ha, CLIPBOARD_PROMPT as fn, isProbablyMobile as at, INPUT_PLACEHOLDER_TEXT as hn, FOOTER_DISCLAIMER as Vl, S as Me, renderDataAsList as jr, CARDS as de, pluralize as rr, ABOUT_TITLE as Ul, INFINITE_SCROLL_LIMIT as mn, INFINITE_SCROLL_THRESHOLD as pn, LOCAL_STORAGE_SORT as Cs, APP_CLASSNAME as Is, TOAST_CHAT_DELETED as Fl, LOCAL_STORAGE_SEARCH as Ns, HISTORY_TITLE as Wl, fe as jl, debounce as Gl, l as gn, PROFILE_TITLE as Kl, LOCAL_STORAGE_CHAT_DETAILS as Jl, SETTINGS_TITLE as ql, APP_NAME as Yl, PROMPTS_DESCRIPTION as Ql, getCurrentGeoLocation as Xl, USAGE_TITLE as Zl, LOG_OUT as yn, getMessageContaintWrapperClass as ec, UI_FOOTER_BUFFER as As, UI_BUTTON_SCROLL_BUFFER as tc, Logo as rc, UI_DEFAULT_MAIN_HEIGHT as bn, getMainPaddingClass as vn, r as ac } from "./index.ClNdn3VB.js";
7
+ import { Subscribable as Nl, pendingThenable as cn, resolveEnabled as Ge, shallowEqualObjects as La, resolveStaleTime as Br, noop as Pa, isServer as Da, isValidTimeout as dn, focusManager as Al, fetchState as Rl, replaceData as un, notifyManager as ks, timeUntilStale as $l, shouldThrowError as Ol, useQueryClient as Ll, I as ne, ACTION_SORT as Ma, ACTION_SEARCH as Es, ACTION_RESET_PROMPT as Ts, ACTION_TOGGLE_PROMPT as xs, le as Ne, DEFAULT_ICON_ACTION_SIZE as Qe, n as Pe, isElectron as Ba, isProbablyiPhone as za, L as fr, j as qe, C as xt, LOCAL_STORAGE_PREFIX as Ct, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Pl, LOCAL_STORAGE_REASONING_DISCLOSURE as Dl, TOAST_CHAT_SAVED as Ml, toastOptions as Wr, TOAST_PROVIDER_CHANGED as Ss, PROMPT_CLASSNAME as Bl, PROMPT_EDITABLE_AREA_CLASSNAME as zl, ERROR_MESSAGE as Hl, ROLE_INTERNAL as Ha, CLIPBOARD_PROMPT as fn, isProbablyMobile as ot, INPUT_PLACEHOLDER_TEXT as hn, FOOTER_DISCLAIMER as Vl, S as Me, renderDataAsList as jr, CARDS as de, pluralize as rr, ABOUT_TITLE as Ul, INFINITE_SCROLL_LIMIT as mn, INFINITE_SCROLL_THRESHOLD as pn, LOCAL_STORAGE_SORT as Cs, APP_CLASSNAME as Is, TOAST_CHAT_DELETED as Fl, LOCAL_STORAGE_SEARCH as Ns, HISTORY_TITLE as Wl, fe as jl, debounce as Gl, l as gn, PROFILE_TITLE as Kl, LOCAL_STORAGE_CHAT_DETAILS as Jl, SETTINGS_TITLE as ql, APP_NAME as Yl, PROMPTS_DESCRIPTION as Ql, getCurrentGeoLocation as Xl, USAGE_TITLE as Zl, LOG_OUT as yn, getMessageContaintWrapperClass as ec, UI_FOOTER_BUFFER as As, UI_BUTTON_SCROLL_BUFFER as tc, Logo as rc, UI_DEFAULT_MAIN_HEIGHT as bn, getMainPaddingClass as vn, r as ac } from "./index.7gXorH-1.js";
8
8
  import * as oe from "react";
9
9
  import W, { useEffect as B, useRef as R, useState as H, useCallback as Q, useSyncExternalStore as Rs, useMemo as De, useId as ea, useContext as re, useLayoutEffect as we, isValidElement as ta, cloneElement as xo, createContext as $s, useDebugValue as oc, forwardRef as Os, Suspense as So, lazy as Co, Fragment as nc, useReducer as Zt } from "react";
10
10
  import g from "clsx";
@@ -62,7 +62,7 @@ var Ie, X, dr, ke, kt, zt, it, lt, ur, Ht, Vt, Et, Tt, ct, Ut, te, er, Va, Ua, F
62
62
  }
63
63
  setOptions(t) {
64
64
  const r = this.options, a = O(this, X);
65
- if (this.options = O(this, Ie).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof je(this.options.enabled, O(this, X)) != "boolean")
65
+ if (this.options = O(this, Ie).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof Ge(this.options.enabled, O(this, X)) != "boolean")
66
66
  throw new Error(
67
67
  "Expected enabled to be a boolean or a callback that returns a boolean"
68
68
  );
@@ -77,9 +77,9 @@ var Ie, X, dr, ke, kt, zt, it, lt, ur, Ht, Vt, Et, Tt, ct, Ut, te, er, Va, Ua, F
77
77
  a,
78
78
  this.options,
79
79
  r
80
- ) && he(this, te, er).call(this), this.updateResult(), o && (O(this, X) !== a || je(this.options.enabled, O(this, X)) !== je(r.enabled, O(this, X)) || Br(this.options.staleTime, O(this, X)) !== Br(r.staleTime, O(this, X))) && he(this, te, Va).call(this);
80
+ ) && he(this, te, er).call(this), this.updateResult(), o && (O(this, X) !== a || Ge(this.options.enabled, O(this, X)) !== Ge(r.enabled, O(this, X)) || Br(this.options.staleTime, O(this, X)) !== Br(r.staleTime, O(this, X))) && he(this, te, Va).call(this);
81
81
  const n = he(this, te, Ua).call(this);
82
- o && (O(this, X) !== a || je(this.options.enabled, O(this, X)) !== je(r.enabled, O(this, X)) || n !== O(this, ct)) && he(this, te, Fa).call(this, n);
82
+ o && (O(this, X) !== a || Ge(this.options.enabled, O(this, X)) !== Ge(r.enabled, O(this, X)) || n !== O(this, ct)) && he(this, te, Fa).call(this, n);
83
83
  }
84
84
  getOptimisticResult(t) {
85
85
  const r = O(this, Ie).getQueryCache().build(O(this, Ie), t), a = this.createResult(r, t);
@@ -243,7 +243,7 @@ var Ie, X, dr, ke, kt, zt, it, lt, ur, Ht, Vt, Et, Tt, ct, Ut, te, er, Va, Ua, F
243
243
  }, Ua = function() {
244
244
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(O(this, X)) : this.options.refetchInterval) ?? !1;
245
245
  }, Fa = function(t) {
246
- he(this, te, Ga).call(this), ce(this, ct, t), !(Da || je(this.options.enabled, O(this, X)) === !1 || !dn(O(this, ct)) || O(this, ct) === 0) && ce(this, Tt, setInterval(() => {
246
+ he(this, te, Ga).call(this), ce(this, ct, t), !(Da || Ge(this.options.enabled, O(this, X)) === !1 || !dn(O(this, ct)) || O(this, ct) === 0) && ce(this, Tt, setInterval(() => {
247
247
  (this.options.refetchIntervalInBackground || Al.isFocused()) && he(this, te, er).call(this);
248
248
  }, O(this, ct)));
249
249
  }, Wa = function() {
@@ -269,23 +269,23 @@ var Ie, X, dr, ke, kt, zt, it, lt, ur, Ht, Vt, Et, Tt, ct, Ut, te, er, Va, Ua, F
269
269
  });
270
270
  }, _s);
271
271
  function bc(e, t) {
272
- return je(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
272
+ return Ge(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
273
273
  }
274
274
  function wn(e, t) {
275
275
  return bc(e, t) || e.state.data !== void 0 && Ja(e, t, t.refetchOnMount);
276
276
  }
277
277
  function Ja(e, t, r) {
278
- if (je(t.enabled, e) !== !1) {
278
+ if (Ge(t.enabled, e) !== !1) {
279
279
  const a = typeof r == "function" ? r(e) : r;
280
280
  return a === "always" || a !== !1 && No(e, t);
281
281
  }
282
282
  return !1;
283
283
  }
284
284
  function _n(e, t, r, a) {
285
- return (e !== t || je(a.enabled, e) === !1) && (!r.suspense || e.state.status !== "error") && No(e, r);
285
+ return (e !== t || Ge(a.enabled, e) === !1) && (!r.suspense || e.state.status !== "error") && No(e, r);
286
286
  }
287
287
  function No(e, t) {
288
- return je(t.enabled, e) !== !1 && e.isStaleByTime(Br(t.staleTime, e));
288
+ return Ge(t.enabled, e) !== !1 && e.isStaleByTime(Br(t.staleTime, e));
289
289
  }
290
290
  function vc(e, t) {
291
291
  return !La(e.getCurrentResult(), t);
@@ -1213,7 +1213,7 @@ function fd() {
1213
1213
  window.visualViewport && (window.visualViewport.removeEventListener("resize", r), window.visualViewport.removeEventListener("orientationchange", r));
1214
1214
  }), [r]), e;
1215
1215
  }
1216
- const ra = "thead", Ao = "tfoot", Dt = "tbody", Ge = {
1216
+ const ra = "thead", Ao = "tfoot", Dt = "tbody", Ke = {
1217
1217
  ASC: "asc",
1218
1218
  DESC: "desc"
1219
1219
  }, hd = ({
@@ -2108,7 +2108,7 @@ const Jt = W.createContext({
2108
2108
  component: o,
2109
2109
  className: a,
2110
2110
  role: "columnheader",
2111
- "aria-sort": l === Ge.ASC && d === f ? "ascending" : l === Ge.DESC && d === f ? "descending" : "other",
2111
+ "aria-sort": l === Ke.ASC && d === f ? "ascending" : l === Ke.DESC && d === f ? "descending" : "other",
2112
2112
  ...u,
2113
2113
  children: /* @__PURE__ */ c(
2114
2114
  ti,
@@ -2122,7 +2122,7 @@ const Jt = W.createContext({
2122
2122
  mode: s,
2123
2123
  fullWidth: !0,
2124
2124
  labelRight: t,
2125
- children: l === Ge.ASC && d === f ? /* @__PURE__ */ c(Hd, { className: "size-4", monotone: !0 }) : l === Ge.DESC && d === f ? /* @__PURE__ */ c(zd, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ c(Bd, { className: "size-4", monotone: !0 })
2125
+ children: l === Ke.ASC && d === f ? /* @__PURE__ */ c(Hd, { className: "size-4", monotone: !0 }) : l === Ke.DESC && d === f ? /* @__PURE__ */ c(zd, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ c(Bd, { className: "size-4", monotone: !0 })
2126
2126
  }
2127
2127
  )
2128
2128
  }
@@ -2175,7 +2175,7 @@ function Yd(e) {
2175
2175
  }
2176
2176
  Yd(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
2177
2177
  `);
2178
- var hr = (e) => typeof e == "number" && !isNaN(e), Nt = (e) => typeof e == "string", ot = (e) => typeof e == "function", Qd = (e) => Nt(e) || hr(e), Ya = (e) => Nt(e) || ot(e) ? e : null, Xd = (e, t) => e === !1 || hr(e) && e > 0 ? e : t, Qa = (e) => ta(e) || Nt(e) || ot(e) || hr(e);
2178
+ var hr = (e) => typeof e == "number" && !isNaN(e), Nt = (e) => typeof e == "string", nt = (e) => typeof e == "function", Qd = (e) => Nt(e) || hr(e), Ya = (e) => Nt(e) || nt(e) ? e : null, Xd = (e, t) => e === !1 || hr(e) && e > 0 ? e : t, Qa = (e) => ta(e) || Nt(e) || nt(e) || hr(e);
2179
2179
  function Zd(e, t, r = 300) {
2180
2180
  let { scrollHeight: a, style: o } = e;
2181
2181
  requestAnimationFrame(() => {
@@ -2204,7 +2204,7 @@ function Nn(e, t) {
2204
2204
  return { content: ai(e.content, e.props), containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, reason: e.removalReason, status: t };
2205
2205
  }
2206
2206
  function ai(e, t, r = !1) {
2207
- return ta(e) && !Nt(e.type) ? xo(e, { closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : ot(e) ? e({ closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : e;
2207
+ return ta(e) && !Nt(e.type) ? xo(e, { closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : nt(e) ? e({ closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : e;
2208
2208
  }
2209
2209
  function eu({ closeToast: e, theme: t, ariaLabel: r = "close" }) {
2210
2210
  return W.createElement("button", { className: `Toastify__close-button Toastify__close-button--${t}`, type: "button", onClick: (a) => {
@@ -2214,7 +2214,7 @@ function eu({ closeToast: e, theme: t, ariaLabel: r = "close" }) {
2214
2214
  function tu({ delay: e, isRunning: t, closeToast: r, type: a = "default", hide: o, className: n, controlledProgress: s, progress: i, rtl: l, isIn: d, theme: f }) {
2215
2215
  let u = o || s && i === 0, h = { animationDuration: `${e}ms`, animationPlayState: t ? "running" : "paused" };
2216
2216
  s && (h.transform = `scaleX(${i})`);
2217
- let m = g("Toastify__progress-bar", s ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${f}`, `Toastify__progress-bar--${a}`, { "Toastify__progress-bar--rtl": l }), p = ot(n) ? n({ rtl: l, type: a, defaultClassName: m }) : g(m, n), y = { [s && i >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && i < 1 ? null : () => {
2217
+ let m = g("Toastify__progress-bar", s ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${f}`, `Toastify__progress-bar--${a}`, { "Toastify__progress-bar--rtl": l }), p = nt(n) ? n({ rtl: l, type: a, defaultClassName: m }) : g(m, n), y = { [s && i >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && i < 1 ? null : () => {
2218
2218
  d && r();
2219
2219
  } };
2220
2220
  return W.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": u }, W.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${f} Toastify__progress-bar--${a}` }), W.createElement("div", { role: "progressbar", "aria-hidden": u ? "true" : "false", "aria-label": "notification timer", className: p, style: h, ...y }));
@@ -2377,7 +2377,7 @@ function hu(e, { pending: t, error: r, success: a }, o) {
2377
2377
  }
2378
2378
  let h = { type: d, ...s, ...o, data: u }, m = Nt(f) ? { render: f } : f;
2379
2379
  return n ? ee.update(n, { ...h, ...m }) : ee(m.render, { ...h, ...m }), u;
2380
- }, l = ot(e) ? e() : e;
2380
+ }, l = nt(e) ? e() : e;
2381
2381
  return l.then((d) => i("success", a, d)).catch((d) => i("error", r, d)), l;
2382
2382
  }
2383
2383
  ee.promise = hu;
@@ -2502,17 +2502,17 @@ function ku() {
2502
2502
  var Za = { info: vu, warning: bu, success: wu, error: _u, spinner: ku }, Eu = (e) => e in Za;
2503
2503
  function Tu({ theme: e, type: t, isLoading: r, icon: a }) {
2504
2504
  let o = null, n = { theme: e, type: t };
2505
- return a === !1 || (ot(a) ? o = a({ ...n, isLoading: r }) : ta(a) ? o = xo(a, n) : r ? o = Za.spinner() : Eu(t) && (o = Za[t](n))), o;
2505
+ return a === !1 || (nt(a) ? o = a({ ...n, isLoading: r }) : ta(a) ? o = xo(a, n) : r ? o = Za.spinner() : Eu(t) && (o = Za[t](n))), o;
2506
2506
  }
2507
2507
  var xu = (e) => {
2508
- let { isRunning: t, preventExitTransition: r, toastRef: a, eventHandlers: o, playToast: n } = gu(e), { closeButton: s, children: i, autoClose: l, onClick: d, type: f, hideProgressBar: u, closeToast: h, transition: m, position: p, className: y, style: b, progressClassName: w, updateId: _, role: k, progress: C, rtl: I, toastId: v, deleteToast: E, isIn: T, isLoading: S, closeOnClick: x, theme: $, ariaLabel: N } = e, P = g("Toastify__toast", `Toastify__toast-theme--${$}`, `Toastify__toast--${f}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": x }), M = ot(y) ? y({ rtl: I, position: p, type: f, defaultClassName: P }) : g(P, y), V = Tu(e), F = !!C || !l, L = { closeToast: h, type: f, theme: $ }, D = null;
2509
- return s === !1 || (ot(s) ? D = s(L) : ta(s) ? D = xo(s, L) : D = eu(L)), W.createElement(m, { isIn: T, done: E, position: p, preventExitTransition: r, nodeRef: a, playToast: n }, W.createElement("div", { id: v, tabIndex: 0, onClick: d, "data-in": T, className: M, ...o, style: b, ref: a, ...T && { role: k, "aria-label": N } }, V != null && W.createElement("div", { className: g("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !S }) }, V), ai(i, e, !t), D, !e.customProgressBar && W.createElement(tu, { ..._ && !F ? { key: `p-${_}` } : {}, rtl: I, theme: $, delay: l, isRunning: t, isIn: T, closeToast: h, hide: u, type: f, className: w, controlledProgress: F, progress: C || 0 })));
2508
+ let { isRunning: t, preventExitTransition: r, toastRef: a, eventHandlers: o, playToast: n } = gu(e), { closeButton: s, children: i, autoClose: l, onClick: d, type: f, hideProgressBar: u, closeToast: h, transition: m, position: p, className: y, style: b, progressClassName: w, updateId: _, role: k, progress: C, rtl: I, toastId: v, deleteToast: E, isIn: T, isLoading: S, closeOnClick: x, theme: $, ariaLabel: N } = e, P = g("Toastify__toast", `Toastify__toast-theme--${$}`, `Toastify__toast--${f}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": x }), M = nt(y) ? y({ rtl: I, position: p, type: f, defaultClassName: P }) : g(P, y), V = Tu(e), F = !!C || !l, L = { closeToast: h, type: f, theme: $ }, D = null;
2509
+ return s === !1 || (nt(s) ? D = s(L) : ta(s) ? D = xo(s, L) : D = eu(L)), W.createElement(m, { isIn: T, done: E, position: p, preventExitTransition: r, nodeRef: a, playToast: n }, W.createElement("div", { id: v, tabIndex: 0, onClick: d, "data-in": T, className: M, ...o, style: b, ref: a, ...T && { role: k, "aria-label": N } }, V != null && W.createElement("div", { className: g("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !S }) }, V), ai(i, e, !t), D, !e.customProgressBar && W.createElement(tu, { ..._ && !F ? { key: `p-${_}` } : {}, rtl: I, theme: $, delay: l, isRunning: t, isIn: T, closeToast: h, hide: u, type: f, className: w, controlledProgress: F, progress: C || 0 })));
2510
2510
  }, ci = (e, t = !1) => ({ enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t }), Su = ri(ci("bounce", !0)), Gr = ri(ci("slide", !0)), Cu = { position: "top-right", transition: Su, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light", "aria-label": "Notifications Alt+T", hotKeys: (e) => e.altKey && e.code === "KeyT" };
2511
2511
  function eo(e) {
2512
2512
  let t = { ...Cu, ...e }, r = e.stacked, [a, o] = H(!0), n = R(null), { getToastToRender: s, isToastActive: i, count: l } = pu(t), { className: d, style: f, rtl: u, containerId: h, hotKeys: m } = t;
2513
2513
  function p(b) {
2514
2514
  let w = g("Toastify__toast-container", `Toastify__toast-container--${b}`, { "Toastify__toast-container--rtl": u });
2515
- return ot(d) ? d({ position: b, rtl: u, defaultClassName: w }) : g(w, Ya(d));
2515
+ return nt(d) ? d({ position: b, rtl: u, defaultClassName: w }) : g(w, Ya(d));
2516
2516
  }
2517
2517
  function y() {
2518
2518
  r && (o(!0), ee.play());
@@ -4402,15 +4402,15 @@ function so(e, t) {
4402
4402
  }
4403
4403
  return e !== e && t !== t;
4404
4404
  }
4405
- const rt = /* @__PURE__ */ new WeakMap(), dt = () => {
4405
+ const at = /* @__PURE__ */ new WeakMap(), dt = () => {
4406
4406
  }, Ee = (
4407
4407
  /*#__NOINLINE__*/
4408
4408
  dt()
4409
- ), io = Object, Z = (e) => e === Ee, Ke = (e) => typeof e == "function", mt = (e, t) => ({
4409
+ ), io = Object, Z = (e) => e === Ee, Je = (e) => typeof e == "function", mt = (e, t) => ({
4410
4410
  ...e,
4411
4411
  ...t
4412
- }), $i = (e) => Ke(e.then), wa = {}, Sr = {}, Bo = "undefined", gr = typeof window != Bo, lo = typeof document != Bo, Df = gr && "Deno" in window, Mf = () => gr && typeof window.requestAnimationFrame != Bo, Oi = (e, t) => {
4413
- const r = rt.get(e);
4412
+ }), $i = (e) => Je(e.then), wa = {}, Sr = {}, Bo = "undefined", gr = typeof window != Bo, lo = typeof document != Bo, Df = gr && "Deno" in window, Mf = () => gr && typeof window.requestAnimationFrame != Bo, Oi = (e, t) => {
4413
+ const r = at.get(e);
4414
4414
  return [
4415
4415
  // Getter
4416
4416
  () => !Z(t) && e.get(t) || wa,
@@ -4480,7 +4480,7 @@ const ho = (e) => {
4480
4480
  n = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
4481
4481
  return n;
4482
4482
  }, zo = (e) => {
4483
- if (Ke(e))
4483
+ if (Je(e))
4484
4484
  try {
4485
4485
  e = e();
4486
4486
  } catch {
@@ -4505,7 +4505,7 @@ async function Li(...e) {
4505
4505
  const i = n.rollbackOnError;
4506
4506
  let l = n.optimisticData;
4507
4507
  const d = (h) => typeof i == "function" ? i(h) : i !== !1, f = n.throwOnError;
4508
- if (Ke(r)) {
4508
+ if (Je(r)) {
4509
4509
  const h = r, m = [], p = t.keys();
4510
4510
  for (const y of p)
4511
4511
  // Skip the special useSWRInfinite and useSWRSubscription keys.
@@ -4516,9 +4516,9 @@ async function Li(...e) {
4516
4516
  async function u(h) {
4517
4517
  const [m] = zo(h);
4518
4518
  if (!m) return;
4519
- const [p, y] = Oi(t, m), [b, w, _, k] = rt.get(t), C = () => {
4519
+ const [p, y] = Oi(t, m), [b, w, _, k] = at.get(t), C = () => {
4520
4520
  const P = b[m];
4521
- return (Ke(n.revalidate) ? n.revalidate(p().data, h) : n.revalidate !== !1) && (delete _[m], delete k[m], P && P[0]) ? P[0](Ri).then(() => p().data) : p().data;
4521
+ return (Je(n.revalidate) ? n.revalidate(p().data, h) : n.revalidate !== !1) && (delete _[m], delete k[m], P && P[0]) ? P[0](Ri).then(() => p().data) : p().data;
4522
4522
  };
4523
4523
  if (e.length < 3)
4524
4524
  return C();
@@ -4529,10 +4529,10 @@ async function Li(...e) {
4529
4529
  0
4530
4530
  ];
4531
4531
  const T = !Z(l), S = p(), x = S.data, $ = S._c, N = Z($) ? x : $;
4532
- if (T && (l = Ke(l) ? l(N, x) : l, y({
4532
+ if (T && (l = Je(l) ? l(N, x) : l, y({
4533
4533
  data: l,
4534
4534
  _c: N
4535
- })), Ke(I))
4535
+ })), Je(I))
4536
4536
  try {
4537
4537
  I = I(N);
4538
4538
  } catch (P) {
@@ -4549,7 +4549,7 @@ async function Li(...e) {
4549
4549
  _c: Ee
4550
4550
  }));
4551
4551
  if (s && !v)
4552
- if (Ke(s)) {
4552
+ if (Je(s)) {
4553
4553
  const P = s(I, N);
4554
4554
  y({
4555
4555
  data: P,
@@ -4577,7 +4577,7 @@ const Un = (e, t) => {
4577
4577
  for (const r in e)
4578
4578
  e[r][0] && e[r][0](t);
4579
4579
  }, Kf = (e, t) => {
4580
- if (!rt.has(e)) {
4580
+ if (!at.has(e)) {
4581
4581
  const r = mt(Ff, t), a = {}, o = Li.bind(Ee, e);
4582
4582
  let n = dt;
4583
4583
  const s = {}, i = (f, u) => {
@@ -4590,7 +4590,7 @@ const Un = (e, t) => {
4590
4590
  for (const p of m)
4591
4591
  p(u, h);
4592
4592
  }, d = () => {
4593
- if (!rt.has(e) && (rt.set(e, [
4593
+ if (!at.has(e) && (at.set(e, [
4594
4594
  a,
4595
4595
  {},
4596
4596
  {},
@@ -4601,7 +4601,7 @@ const Un = (e, t) => {
4601
4601
  ]), !sr)) {
4602
4602
  const f = r.initFocus(setTimeout.bind(Ee, Un.bind(Ee, a, Ni))), u = r.initReconnect(setTimeout.bind(Ee, Un.bind(Ee, a, Ai)));
4603
4603
  n = () => {
4604
- f && f(), u && u(), rt.delete(e);
4604
+ f && f(), u && u(), at.delete(e);
4605
4605
  };
4606
4606
  }
4607
4607
  };
@@ -4614,7 +4614,7 @@ const Un = (e, t) => {
4614
4614
  }
4615
4615
  return [
4616
4616
  e,
4617
- rt.get(e)[4]
4617
+ at.get(e)[4]
4618
4618
  ];
4619
4619
  }, Jf = (e, t, r, a, o) => {
4620
4620
  const n = r.errorRetryCount, s = o.retryCount, i = ~~((Math.random() + 0.5) * (1 << (s < 8 ? s : 8))) * r.errorRetryInterval;
@@ -4655,7 +4655,7 @@ const Un = (e, t) => {
4655
4655
  return r;
4656
4656
  }, Zf = $s({}), eh = "$inf$", Di = gr && window.__SWR_DEVTOOLS_USE__, th = Di ? window.__SWR_DEVTOOLS_USE__ : [], rh = () => {
4657
4657
  Di && (window.__SWR_DEVTOOLS_REACT__ = W);
4658
- }, ah = (e) => Ke(e[1]) ? [
4658
+ }, ah = (e) => Je(e[1]) ? [
4659
4659
  e[0],
4660
4660
  e[1],
4661
4661
  e[2] || {}
@@ -4664,7 +4664,7 @@ const Un = (e, t) => {
4664
4664
  null,
4665
4665
  (e[1] === null ? e[2] : e[1]) || {}
4666
4666
  ], oh = () => mt(Qf, re(Zf)), nh = (e) => (t, r, a) => e(t, r && ((...n) => {
4667
- const [s] = zo(t), [, , , i] = rt.get(Pi);
4667
+ const [s] = zo(t), [, , , i] = at.get(Pi);
4668
4668
  if (s.startsWith(eh))
4669
4669
  return r(...n);
4670
4670
  const l = i[s];
@@ -4706,7 +4706,7 @@ const Ta = W.use || // This extra generic is to avoid TypeScript mixing up the g
4706
4706
  }), xa = {
4707
4707
  dedupe: !0
4708
4708
  }, ch = (e, t, r) => {
4709
- const { cache: a, compare: o, suspense: n, fallbackData: s, revalidateOnMount: i, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [m, p, y, b] = rt.get(a), [w, _] = zo(e), k = R(!1), C = R(!1), I = R(w), v = R(t), E = R(r), T = () => E.current, S = () => T().isVisible() && T().isOnline(), [x, $, N, P] = Oi(a, w), M = R({}).current, V = Z(s) ? Z(r.fallback) ? Ee : r.fallback[w] : s, F = (z, G) => {
4709
+ const { cache: a, compare: o, suspense: n, fallbackData: s, revalidateOnMount: i, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [m, p, y, b] = at.get(a), [w, _] = zo(e), k = R(!1), C = R(!1), I = R(w), v = R(t), E = R(r), T = () => E.current, S = () => T().isVisible() && T().isOnline(), [x, $, N, P] = Oi(a, w), M = R({}).current, V = Z(s) ? Z(r.fallback) ? Ee : r.fallback[w] : s, F = (z, G) => {
4710
4710
  for (const q in M) {
4711
4711
  const K = q;
4712
4712
  if (K === "data") {
@@ -4745,7 +4745,7 @@ const Ta = W.use || // This extra generic is to avoid TypeScript mixing up the g
4745
4745
  a,
4746
4746
  w
4747
4747
  ]
4748
- ), L[0], L[1]), J = !k.current, U = m[w] && m[w].length > 0, xe = D.data, Se = Z(xe) ? V && $i(V) ? Ta(V) : V : xe, ze = D.error, Xe = R(Se), Y = h ? Z(xe) ? Z(Xe.current) ? Se : Xe.current : xe : Se, ie = U && !Z(ze) ? !1 : J && !Z(i) ? i : T().isPaused() ? !1 : n ? Z(Se) ? !1 : l : Z(Se) || l, ae = !!(w && t && J && ie), me = Z(D.isValidating) ? ae : D.isValidating, Ce = Z(D.isLoading) ? ae : D.isLoading, ve = Q(
4748
+ ), L[0], L[1]), J = !k.current, U = m[w] && m[w].length > 0, xe = D.data, Se = Z(xe) ? V && $i(V) ? Ta(V) : V : xe, ze = D.error, Ze = R(Se), Y = h ? Z(xe) ? Z(Ze.current) ? Se : Ze.current : xe : Se, ie = U && !Z(ze) ? !1 : J && !Z(i) ? i : T().isPaused() ? !1 : n ? Z(Se) ? !1 : l : Z(Se) || l, ae = !!(w && t && J && ie), me = Z(D.isValidating) ? ae : D.isValidating, Ce = Z(D.isLoading) ? ae : D.isLoading, ve = Q(
4749
4749
  async (z) => {
4750
4750
  const G = v.current;
4751
4751
  if (!w || !G || C.current || T().isPaused())
@@ -4782,8 +4782,8 @@ const Ta = W.use || // This extra generic is to avoid TypeScript mixing up the g
4782
4782
  $e.data = o(Oe, q) ? Oe : q, le && se() && T().onSuccess(q, w, r);
4783
4783
  } catch (_e) {
4784
4784
  kr();
4785
- const Oe = T(), { shouldRetryOnError: Ze } = Oe;
4786
- Oe.isPaused() || ($e.error = _e, le && se() && (Oe.onError(_e, w, Oe), (Ze === !0 || Ke(Ze) && Ze(_e)) && (!T().revalidateOnFocus || !T().revalidateOnReconnect || S()) && Oe.onErrorRetry(_e, w, Oe, (Ot) => {
4785
+ const Oe = T(), { shouldRetryOnError: et } = Oe;
4786
+ Oe.isPaused() || ($e.error = _e, le && se() && (Oe.onError(_e, w, Oe), (et === !0 || Je(et) && et(_e)) && (!T().revalidateOnFocus || !T().revalidateOnReconnect || S()) && Oe.onErrorRetry(_e, w, Oe, (Ot) => {
4787
4787
  const Lt = m[w];
4788
4788
  Lt && Lt[0] && Lt[0](Bn, Ot);
4789
4789
  }, {
@@ -4815,7 +4815,7 @@ const Ta = W.use || // This extra generic is to avoid TypeScript mixing up the g
4815
4815
  []
4816
4816
  );
4817
4817
  if (_a(() => {
4818
- v.current = t, E.current = r, Z(xe) || (Xe.current = xe);
4818
+ v.current = t, E.current = r, Z(xe) || (Ze.current = xe);
4819
4819
  }), _a(() => {
4820
4820
  if (!w) return;
4821
4821
  const z = ve.bind(Ee, xa);
@@ -4843,7 +4843,7 @@ const Ta = W.use || // This extra generic is to avoid TypeScript mixing up the g
4843
4843
  ]), _a(() => {
4844
4844
  let z;
4845
4845
  function G() {
4846
- const K = Ke(d) ? d(x().data) : d;
4846
+ const K = Je(d) ? d(x().data) : d;
4847
4847
  K && z !== -1 && (z = setTimeout(q, K));
4848
4848
  }
4849
4849
  function q() {
@@ -4983,7 +4983,7 @@ function mh({
4983
4983
  const Er = o ? K : K.map(
4984
4984
  ({
4985
4985
  role: Oe,
4986
- content: Ze,
4986
+ content: et,
4987
4987
  experimental_attachments: Ot,
4988
4988
  data: Lt,
4989
4989
  annotations: on,
@@ -4991,7 +4991,7 @@ function mh({
4991
4991
  parts: sn
4992
4992
  }) => ({
4993
4993
  role: Oe,
4994
- content: Ze,
4994
+ content: et,
4995
4995
  ...Ot !== void 0 && {
4996
4996
  experimental_attachments: Ot
4997
4997
  },
@@ -5026,15 +5026,15 @@ function mh({
5026
5026
  w || $e(kr, !1);
5027
5027
  },
5028
5028
  onResponse: d,
5029
- onUpdate({ message: Oe, data: Ze, replaceLastMessage: Ot }) {
5029
+ onUpdate({ message: Oe, data: et, replaceLastMessage: Ot }) {
5030
5030
  V("streaming"), $e(
5031
5031
  [
5032
5032
  ...Ot ? K.slice(0, K.length - 1) : K,
5033
5033
  Oe
5034
5034
  ],
5035
5035
  !1
5036
- ), Ze != null && Ze.length && _r(
5037
- [..._e ?? [], ...Ze],
5036
+ ), et != null && et.length && _r(
5037
+ [..._e ?? [], ...et],
5038
5038
  !1
5039
5039
  );
5040
5040
  },
@@ -5118,7 +5118,7 @@ function mh({
5118
5118
  [U]
5119
5119
  ), ze = Q(() => {
5120
5120
  D.current && (D.current.abort(), D.current = null);
5121
- }, []), Xe = Q(async () => {
5121
+ }, []), Ze = Q(async () => {
5122
5122
  const j = x.current;
5123
5123
  U({ messages: j }, "resume");
5124
5124
  }, [U]), Y = Q(
@@ -5192,7 +5192,7 @@ function mh({
5192
5192
  append: xe,
5193
5193
  reload: Se,
5194
5194
  stop: ze,
5195
- experimental_resume: Xe,
5195
+ experimental_resume: Ze,
5196
5196
  input: ae,
5197
5197
  setInput: me,
5198
5198
  handleInputChange: ve,
@@ -5435,7 +5435,7 @@ let Hi = class extends yt {
5435
5435
  }
5436
5436
  };
5437
5437
  ue(Hi, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
5438
- function et(e, t = "algorithm.name") {
5438
+ function tt(e, t = "algorithm.name") {
5439
5439
  return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
5440
5440
  }
5441
5441
  function Xt(e, t) {
@@ -5466,46 +5466,46 @@ function Mh(e, t, r) {
5466
5466
  case "HS384":
5467
5467
  case "HS512": {
5468
5468
  if (!Xt(e.algorithm, "HMAC"))
5469
- throw et("HMAC");
5469
+ throw tt("HMAC");
5470
5470
  const a = parseInt(t.slice(2), 10);
5471
5471
  if (Ca(e.algorithm.hash) !== a)
5472
- throw et(`SHA-${a}`, "algorithm.hash");
5472
+ throw tt(`SHA-${a}`, "algorithm.hash");
5473
5473
  break;
5474
5474
  }
5475
5475
  case "RS256":
5476
5476
  case "RS384":
5477
5477
  case "RS512": {
5478
5478
  if (!Xt(e.algorithm, "RSASSA-PKCS1-v1_5"))
5479
- throw et("RSASSA-PKCS1-v1_5");
5479
+ throw tt("RSASSA-PKCS1-v1_5");
5480
5480
  const a = parseInt(t.slice(2), 10);
5481
5481
  if (Ca(e.algorithm.hash) !== a)
5482
- throw et(`SHA-${a}`, "algorithm.hash");
5482
+ throw tt(`SHA-${a}`, "algorithm.hash");
5483
5483
  break;
5484
5484
  }
5485
5485
  case "PS256":
5486
5486
  case "PS384":
5487
5487
  case "PS512": {
5488
5488
  if (!Xt(e.algorithm, "RSA-PSS"))
5489
- throw et("RSA-PSS");
5489
+ throw tt("RSA-PSS");
5490
5490
  const a = parseInt(t.slice(2), 10);
5491
5491
  if (Ca(e.algorithm.hash) !== a)
5492
- throw et(`SHA-${a}`, "algorithm.hash");
5492
+ throw tt(`SHA-${a}`, "algorithm.hash");
5493
5493
  break;
5494
5494
  }
5495
5495
  case "Ed25519":
5496
5496
  case "EdDSA": {
5497
5497
  if (!Xt(e.algorithm, "Ed25519"))
5498
- throw et("Ed25519");
5498
+ throw tt("Ed25519");
5499
5499
  break;
5500
5500
  }
5501
5501
  case "ES256":
5502
5502
  case "ES384":
5503
5503
  case "ES512": {
5504
5504
  if (!Xt(e.algorithm, "ECDSA"))
5505
- throw et("ECDSA");
5505
+ throw tt("ECDSA");
5506
5506
  const a = Ph(t);
5507
5507
  if (e.algorithm.namedCurve !== a)
5508
- throw et(a, "algorithm.namedCurve");
5508
+ throw tt(a, "algorithm.namedCurve");
5509
5509
  break;
5510
5510
  }
5511
5511
  default:
@@ -6207,7 +6207,7 @@ const Ji = async (e, t) => {
6207
6207
  return Array.isArray(t) ? t.every((n) => o.includes(n)) : Object.keys(t).some(
6208
6208
  (n) => t[n].every((s) => o.includes(s))
6209
6209
  );
6210
- }, bm = "av-tooltip", vm = "av-tooltip-arrow", lr = Math.min, Mt = Math.max, Qr = Math.round, qe = (e) => ({
6210
+ }, bm = "av-tooltip", vm = "av-tooltip-arrow", lr = Math.min, Mt = Math.max, Qr = Math.round, Ye = (e) => ({
6211
6211
  x: e,
6212
6212
  y: e
6213
6213
  }), wm = {
@@ -6703,7 +6703,7 @@ function Le(e) {
6703
6703
  var t;
6704
6704
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
6705
6705
  }
6706
- function nt(e) {
6706
+ function st(e) {
6707
6707
  var t;
6708
6708
  return (t = (Xi(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
6709
6709
  }
@@ -6713,7 +6713,7 @@ function Xi(e) {
6713
6713
  function Fe(e) {
6714
6714
  return ia() ? e instanceof Element || e instanceof Le(e).Element : !1;
6715
6715
  }
6716
- function Qe(e) {
6716
+ function Xe(e) {
6717
6717
  return ia() ? e instanceof HTMLElement || e instanceof Le(e).HTMLElement : !1;
6718
6718
  }
6719
6719
  function Yn(e) {
@@ -6746,7 +6746,7 @@ function qo(e) {
6746
6746
  }
6747
6747
  function Lm(e) {
6748
6748
  let t = pt(e);
6749
- for (; Qe(t) && !Gt(t); ) {
6749
+ for (; Xe(t) && !Gt(t); ) {
6750
6750
  if (qo(t))
6751
6751
  return t;
6752
6752
  if (la(t))
@@ -6781,13 +6781,13 @@ function pt(e) {
6781
6781
  e.assignedSlot || // DOM Element detected.
6782
6782
  e.parentNode || // ShadowRoot detected.
6783
6783
  Yn(e) && e.host || // Fallback.
6784
- nt(e)
6784
+ st(e)
6785
6785
  );
6786
6786
  return Yn(t) ? t.host : t;
6787
6787
  }
6788
6788
  function Zi(e) {
6789
6789
  const t = pt(e);
6790
- return Gt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Qe(t) && wr(t) ? t : Zi(t);
6790
+ return Gt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Xe(t) && wr(t) ? t : Zi(t);
6791
6791
  }
6792
6792
  function el(e, t, r) {
6793
6793
  var a;
@@ -6801,7 +6801,7 @@ function Qn(e) {
6801
6801
  function tl(e) {
6802
6802
  const t = We(e);
6803
6803
  let r = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
6804
- const o = Qe(e), n = o ? e.offsetWidth : r, s = o ? e.offsetHeight : a, i = Qr(r) !== n || Qr(a) !== s;
6804
+ const o = Xe(e), n = o ? e.offsetWidth : r, s = o ? e.offsetHeight : a, i = Qr(r) !== n || Qr(a) !== s;
6805
6805
  return i && (r = n, a = s), {
6806
6806
  width: r,
6807
6807
  height: a,
@@ -6813,8 +6813,8 @@ function rl(e) {
6813
6813
  }
6814
6814
  function Bt(e) {
6815
6815
  const t = rl(e);
6816
- if (!Qe(t))
6817
- return qe(1);
6816
+ if (!Xe(t))
6817
+ return Ye(1);
6818
6818
  const r = t.getBoundingClientRect(), {
6819
6819
  width: a,
6820
6820
  height: o,
@@ -6826,7 +6826,7 @@ function Bt(e) {
6826
6826
  y: i
6827
6827
  };
6828
6828
  }
6829
- const Pm = /* @__PURE__ */ qe(0);
6829
+ const Pm = /* @__PURE__ */ Ye(0);
6830
6830
  function al(e) {
6831
6831
  const t = Le(e);
6832
6832
  return !Yo() || !t.visualViewport ? Pm : {
@@ -6840,9 +6840,9 @@ function Dm(e, t, r) {
6840
6840
  function cr(e, t, r, a) {
6841
6841
  t === void 0 && (t = !1), r === void 0 && (r = !1);
6842
6842
  const o = e.getBoundingClientRect(), n = rl(e);
6843
- let s = qe(1);
6843
+ let s = Ye(1);
6844
6844
  t && (a ? Fe(a) && (s = Bt(a)) : s = Bt(e));
6845
- const i = Dm(n, r, a) ? al(n) : qe(0);
6845
+ const i = Dm(n, r, a) ? al(n) : Ye(0);
6846
6846
  let l = (o.left + i.x) / s.x, d = (o.top + i.y) / s.y, f = o.width / s.x, u = o.height / s.y;
6847
6847
  if (n) {
6848
6848
  const h = Le(n), m = a && Fe(a) ? Le(a) : a;
@@ -6861,7 +6861,7 @@ function cr(e, t, r, a) {
6861
6861
  }
6862
6862
  function Qo(e, t) {
6863
6863
  const r = ca(e).scrollLeft;
6864
- return t ? t.left + r : cr(nt(e)).left + r;
6864
+ return t ? t.left + r : cr(st(e)).left + r;
6865
6865
  }
6866
6866
  function ol(e, t, r) {
6867
6867
  r === void 0 && (r = !1);
@@ -6881,19 +6881,19 @@ function Mm(e) {
6881
6881
  offsetParent: a,
6882
6882
  strategy: o
6883
6883
  } = e;
6884
- const n = o === "fixed", s = nt(a), i = t ? la(t.floating) : !1;
6884
+ const n = o === "fixed", s = st(a), i = t ? la(t.floating) : !1;
6885
6885
  if (a === s || i && n)
6886
6886
  return r;
6887
6887
  let l = {
6888
6888
  scrollLeft: 0,
6889
6889
  scrollTop: 0
6890
- }, d = qe(1);
6891
- const f = qe(0), u = Qe(a);
6892
- if ((u || !u && !n) && ((Yt(a) !== "body" || wr(s)) && (l = ca(a)), Qe(a))) {
6890
+ }, d = Ye(1);
6891
+ const f = Ye(0), u = Xe(a);
6892
+ if ((u || !u && !n) && ((Yt(a) !== "body" || wr(s)) && (l = ca(a)), Xe(a))) {
6893
6893
  const m = cr(a);
6894
6894
  d = Bt(a), f.x = m.x + a.clientLeft, f.y = m.y + a.clientTop;
6895
6895
  }
6896
- const h = s && !u && !n ? ol(s, l, !0) : qe(0);
6896
+ const h = s && !u && !n ? ol(s, l, !0) : Ye(0);
6897
6897
  return {
6898
6898
  width: r.width * d.x,
6899
6899
  height: r.height * d.y,
@@ -6905,7 +6905,7 @@ function Bm(e) {
6905
6905
  return Array.from(e.getClientRects());
6906
6906
  }
6907
6907
  function zm(e) {
6908
- const t = nt(e), r = ca(e), a = e.ownerDocument.body, o = Mt(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), n = Mt(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6908
+ const t = st(e), r = ca(e), a = e.ownerDocument.body, o = Mt(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), n = Mt(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
6909
6909
  let s = -r.scrollLeft + Qo(e);
6910
6910
  const i = -r.scrollTop;
6911
6911
  return We(a).direction === "rtl" && (s += Mt(t.clientWidth, a.clientWidth) - o), {
@@ -6916,7 +6916,7 @@ function zm(e) {
6916
6916
  };
6917
6917
  }
6918
6918
  function Hm(e, t) {
6919
- const r = Le(e), a = nt(e), o = r.visualViewport;
6919
+ const r = Le(e), a = st(e), o = r.visualViewport;
6920
6920
  let n = a.clientWidth, s = a.clientHeight, i = 0, l = 0;
6921
6921
  if (o) {
6922
6922
  n = o.width, s = o.height;
@@ -6931,7 +6931,7 @@ function Hm(e, t) {
6931
6931
  };
6932
6932
  }
6933
6933
  function Vm(e, t) {
6934
- const r = cr(e, !0, t === "fixed"), a = r.top + e.clientTop, o = r.left + e.clientLeft, n = Qe(e) ? Bt(e) : qe(1), s = e.clientWidth * n.x, i = e.clientHeight * n.y, l = o * n.x, d = a * n.y;
6934
+ const r = cr(e, !0, t === "fixed"), a = r.top + e.clientTop, o = r.left + e.clientLeft, n = Xe(e) ? Bt(e) : Ye(1), s = e.clientWidth * n.x, i = e.clientHeight * n.y, l = o * n.x, d = a * n.y;
6935
6935
  return {
6936
6936
  width: s,
6937
6937
  height: i,
@@ -6944,7 +6944,7 @@ function Xn(e, t, r) {
6944
6944
  if (t === "viewport")
6945
6945
  a = Hm(e, r);
6946
6946
  else if (t === "document")
6947
- a = zm(nt(e));
6947
+ a = zm(st(e));
6948
6948
  else if (Fe(t))
6949
6949
  a = Vm(t, r);
6950
6950
  else {
@@ -7004,12 +7004,12 @@ function Wm(e) {
7004
7004
  };
7005
7005
  }
7006
7006
  function jm(e, t, r) {
7007
- const a = Qe(t), o = nt(t), n = r === "fixed", s = cr(e, !0, n, t);
7007
+ const a = Xe(t), o = st(t), n = r === "fixed", s = cr(e, !0, n, t);
7008
7008
  let i = {
7009
7009
  scrollLeft: 0,
7010
7010
  scrollTop: 0
7011
7011
  };
7012
- const l = qe(0);
7012
+ const l = Ye(0);
7013
7013
  function d() {
7014
7014
  l.x = Qo(o);
7015
7015
  }
@@ -7019,7 +7019,7 @@ function jm(e, t, r) {
7019
7019
  l.x = m.x + t.clientLeft, l.y = m.y + t.clientTop;
7020
7020
  } else o && d();
7021
7021
  n && !a && o && d();
7022
- const f = o && !a && !n ? ol(o, i) : qe(0), u = s.left + i.scrollLeft - l.x - f.x, h = s.top + i.scrollTop - l.y - f.y;
7022
+ const f = o && !a && !n ? ol(o, i) : Ye(0), u = s.left + i.scrollLeft - l.x - f.x, h = s.top + i.scrollTop - l.y - f.y;
7023
7023
  return {
7024
7024
  x: u,
7025
7025
  y: h,
@@ -7031,18 +7031,18 @@ function Ia(e) {
7031
7031
  return We(e).position === "static";
7032
7032
  }
7033
7033
  function Zn(e, t) {
7034
- if (!Qe(e) || We(e).position === "fixed")
7034
+ if (!Xe(e) || We(e).position === "fixed")
7035
7035
  return null;
7036
7036
  if (t)
7037
7037
  return t(e);
7038
7038
  let r = e.offsetParent;
7039
- return nt(e) === r && (r = r.ownerDocument.body), r;
7039
+ return st(e) === r && (r = r.ownerDocument.body), r;
7040
7040
  }
7041
7041
  function sl(e, t) {
7042
7042
  const r = Le(e);
7043
7043
  if (la(e))
7044
7044
  return r;
7045
- if (!Qe(e)) {
7045
+ if (!Xe(e)) {
7046
7046
  let o = pt(e);
7047
7047
  for (; o && !Gt(o); ) {
7048
7048
  if (Fe(o) && !Ia(o))
@@ -7073,7 +7073,7 @@ function Km(e) {
7073
7073
  }
7074
7074
  const Jm = {
7075
7075
  convertOffsetParentRelativeRectToViewportRelativeRect: Mm,
7076
- getDocumentElement: nt,
7076
+ getDocumentElement: st,
7077
7077
  getClippingRect: Fm,
7078
7078
  getOffsetParent: sl,
7079
7079
  getElementRects: Gm,
@@ -7159,7 +7159,7 @@ const Ar = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, rp = (
7159
7159
  return { tooltip: n, arrow: s, wrapper: o };
7160
7160
  }, sp = ({ delay: e = 300 }) => ({
7161
7161
  animation: `av-tooltip-fade-in ${e}ms ease-in-out`
7162
- }), ip = 5e3, st = ({
7162
+ }), ip = 5e3, je = ({
7163
7163
  trigger: e,
7164
7164
  label: t,
7165
7165
  placement: r = "top",
@@ -7271,7 +7271,7 @@ const lp = ({
7271
7271
  className: e,
7272
7272
  onClick: t
7273
7273
  }) => /* @__PURE__ */ c(
7274
- st,
7274
+ je,
7275
7275
  {
7276
7276
  label: "Attach files",
7277
7277
  mode: "light",
@@ -7285,7 +7285,7 @@ const lp = ({
7285
7285
  label: "Attach files",
7286
7286
  onClick: t,
7287
7287
  noBorder: !0,
7288
- children: /* @__PURE__ */ c($c, { size: Ye, monotone: !0 })
7288
+ children: /* @__PURE__ */ c($c, { size: Qe, monotone: !0 })
7289
7289
  }
7290
7290
  )
7291
7291
  }
@@ -7361,7 +7361,7 @@ const lp = ({
7361
7361
  return B(() => {
7362
7362
  za() || ((r === !0 || a === !0) && !u.current && f.current && (u.current = !0, f.current.focus()), r === !1 && u.current && (u.current = !1));
7363
7363
  }, [r, a]), /* @__PURE__ */ c(
7364
- st,
7364
+ je,
7365
7365
  {
7366
7366
  label: "New Chat",
7367
7367
  mode: "light",
@@ -7376,7 +7376,7 @@ const lp = ({
7376
7376
  label: "New Chat",
7377
7377
  ref: f,
7378
7378
  onClick: r || a ? m : p,
7379
- children: r || a ? /* @__PURE__ */ c(Dc, { size: Ye, monotone: !0 }) : /* @__PURE__ */ c(zc, { size: Ye })
7379
+ children: r || a ? /* @__PURE__ */ c(Dc, { size: Qe, monotone: !0 }) : /* @__PURE__ */ c(zc, { size: Qe })
7380
7380
  }
7381
7381
  )
7382
7382
  }
@@ -8187,7 +8187,7 @@ const gt = ({
8187
8187
  onOpenChange: t,
8188
8188
  title: o.title,
8189
8189
  footer: /* @__PURE__ */ A(fr, { columnGap: 2, alignHorizontal: "flex-end", children: [
8190
- /* @__PURE__ */ c(Je, { children: !n && /* @__PURE__ */ c(
8190
+ /* @__PURE__ */ c(qe, { children: !n && /* @__PURE__ */ c(
8191
8191
  xt,
8192
8192
  {
8193
8193
  noBorder: !0,
@@ -8200,7 +8200,7 @@ const gt = ({
8200
8200
  children: o.cancelAction
8201
8201
  }
8202
8202
  ) }),
8203
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(
8203
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(
8204
8204
  xt,
8205
8205
  {
8206
8206
  noBorder: !0,
@@ -8273,7 +8273,7 @@ const gt = ({
8273
8273
  }
8274
8274
  ),
8275
8275
  /* @__PURE__ */ c(
8276
- st,
8276
+ je,
8277
8277
  {
8278
8278
  label: "Private Chat",
8279
8279
  mode: "light",
@@ -8293,7 +8293,7 @@ const gt = ({
8293
8293
  p && p.preventDefault(), f ? r > 0 ? d(!l) : h() : (u("true"), i(!s));
8294
8294
  },
8295
8295
  className: "text-sm",
8296
- children: t ? /* @__PURE__ */ c(Fc, { size: Ye }) : /* @__PURE__ */ c(Zc, { size: Ye })
8296
+ children: t ? /* @__PURE__ */ c(Fc, { size: Qe }) : /* @__PURE__ */ c(Zc, { size: Qe })
8297
8297
  }
8298
8298
  )
8299
8299
  }
@@ -8505,7 +8505,7 @@ try {
8505
8505
  });
8506
8506
  } catch {
8507
8507
  }
8508
- const tt = oe.forwardRef(
8508
+ const rt = oe.forwardRef(
8509
8509
  ({
8510
8510
  label: e,
8511
8511
  disabled: t,
@@ -8568,7 +8568,7 @@ const tt = oe.forwardRef(
8568
8568
  );
8569
8569
  }
8570
8570
  );
8571
- tt.displayName = "MenuItem";
8571
+ rt.displayName = "MenuItem";
8572
8572
  const Up = ({ className: e, ...t }) => {
8573
8573
  const r = g(e, "my-1 border-t border-border-medium");
8574
8574
  return /* @__PURE__ */ c("div", { className: r, ...t });
@@ -8621,7 +8621,7 @@ const Fp = (e) => {
8621
8621
  });
8622
8622
  };
8623
8623
  return d && l && l.tags && Fp(l.tags) && /* @__PURE__ */ c(
8624
- st,
8624
+ je,
8625
8625
  {
8626
8626
  label: "Prompts",
8627
8627
  mode: "light",
@@ -8631,7 +8631,7 @@ const Fp = (e) => {
8631
8631
  {
8632
8632
  mode: "dark",
8633
8633
  focusMode: "light",
8634
- trigger: /* @__PURE__ */ c(Ne, { noBorder: !0, label: "Prompts", children: /* @__PURE__ */ c(Lc, { size: Ye }) }),
8634
+ trigger: /* @__PURE__ */ c(Ne, { noBorder: !0, label: "Prompts", children: /* @__PURE__ */ c(Lc, { size: Qe }) }),
8635
8635
  defaultPlacement: t,
8636
8636
  children: [
8637
8637
  /* @__PURE__ */ c(fl, { children: "Prompts" }),
@@ -8652,7 +8652,7 @@ const Fp = (e) => {
8652
8652
  break;
8653
8653
  }
8654
8654
  return u.enabled && u.label && u.content && /* @__PURE__ */ c(
8655
- tt,
8655
+ rt,
8656
8656
  {
8657
8657
  label: u.label,
8658
8658
  icon: h,
@@ -8728,7 +8728,7 @@ const Fp = (e) => {
8728
8728
  }
8729
8729
  ),
8730
8730
  /* @__PURE__ */ c(
8731
- st,
8731
+ je,
8732
8732
  {
8733
8733
  label: "Reasoning Chat",
8734
8734
  mode: "light",
@@ -8747,7 +8747,7 @@ const Fp = (e) => {
8747
8747
  p && p.preventDefault(), f ? r > 0 ? d(!l) : h() : (u("true"), i(!s));
8748
8748
  },
8749
8749
  className: "text-sm",
8750
- children: /* @__PURE__ */ c(Uc, { size: Ye })
8750
+ children: /* @__PURE__ */ c(Uc, { size: Qe })
8751
8751
  }
8752
8752
  )
8753
8753
  }
@@ -8819,7 +8819,7 @@ const Fp = (e) => {
8819
8819
  }
8820
8820
  ),
8821
8821
  u && /* @__PURE__ */ c(
8822
- st,
8822
+ je,
8823
8823
  {
8824
8824
  label: "Save Private Chat",
8825
8825
  mode: "light",
@@ -8833,7 +8833,7 @@ const Fp = (e) => {
8833
8833
  focusMode: "light",
8834
8834
  label: "Save Private Chat",
8835
8835
  onClick: b,
8836
- children: /* @__PURE__ */ c(Bc, { size: Ye, monotone: !0 })
8836
+ children: /* @__PURE__ */ c(Bc, { size: Qe, monotone: !0 })
8837
8837
  }
8838
8838
  )
8839
8839
  }
@@ -8891,7 +8891,7 @@ const Fp = (e) => {
8891
8891
  state: { loading: t, streaming: r }
8892
8892
  } = re(Ae);
8893
8893
  return /* @__PURE__ */ c(
8894
- st,
8894
+ je,
8895
8895
  {
8896
8896
  label: "Send Message",
8897
8897
  mode: "light",
@@ -8907,7 +8907,7 @@ const Fp = (e) => {
8907
8907
  type: "submit",
8908
8908
  mode: "light",
8909
8909
  focusMode: "light",
8910
- children: /* @__PURE__ */ c(Yc, { size: Ye })
8910
+ children: /* @__PURE__ */ c(Yc, { size: Qe })
8911
8911
  }
8912
8912
  )
8913
8913
  }
@@ -8959,7 +8959,7 @@ const Fp = (e) => {
8959
8959
  }
8960
8960
  };
8961
8961
  return f && l ? /* @__PURE__ */ c(fe, { children: /* @__PURE__ */ c(
8962
- st,
8962
+ je,
8963
8963
  {
8964
8964
  label: "Toggle Providers",
8965
8965
  mode: "light",
@@ -8975,7 +8975,7 @@ const Fp = (e) => {
8975
8975
  h.icon,
8976
8976
  {
8977
8977
  className: i === "streaming" ? "av-pulsate-icon" : "",
8978
- size: Ye
8978
+ size: Qe
8979
8979
  },
8980
8980
  h.id
8981
8981
  ) : null
@@ -8984,7 +8984,7 @@ const Fp = (e) => {
8984
8984
  children: [
8985
8985
  /* @__PURE__ */ c(fl, { children: "Providers" }),
8986
8986
  ls.map((h) => /* @__PURE__ */ c(
8987
- tt,
8987
+ rt,
8988
8988
  {
8989
8989
  selected: f.provider === h.id,
8990
8990
  label: h.label,
@@ -9248,7 +9248,7 @@ const Fp = (e) => {
9248
9248
  },
9249
9249
  experimental_attachments: ae
9250
9250
  }), Se();
9251
- }, Xe = (Y) => {
9251
+ }, Ze = (Y) => {
9252
9252
  D(), N(Y);
9253
9253
  };
9254
9254
  return qs([
@@ -9281,7 +9281,7 @@ const Fp = (e) => {
9281
9281
  }, 100);
9282
9282
  }, [p.lastTriggeredTimestamp, D]), B(() => {
9283
9283
  (async () => {
9284
- if (at())
9284
+ if (ot())
9285
9285
  return;
9286
9286
  const Y = await t(), ie = await Ji(Y, [Bi.REASONING]);
9287
9287
  a(ie);
@@ -9316,7 +9316,7 @@ const Fp = (e) => {
9316
9316
  ref: E,
9317
9317
  placeholder: hn,
9318
9318
  translate: "no",
9319
- onChange: Xe,
9319
+ onChange: Ze,
9320
9320
  value: x,
9321
9321
  onKeyDown: od([["mod+Enter", ze]]),
9322
9322
  className: S.textArea,
@@ -9348,7 +9348,7 @@ const Fp = (e) => {
9348
9348
  onClick: U
9349
9349
  }
9350
9350
  ),
9351
- !at() && /* @__PURE__ */ A(fe, { children: [
9351
+ !ot() && /* @__PURE__ */ A(fe, { children: [
9352
9352
  r && /* @__PURE__ */ c(hl, { className: "order-4 mr-4 sm:mr-2" }),
9353
9353
  /* @__PURE__ */ c(dl, { className: "order-5 mr-4 sm:mr-2" }),
9354
9354
  /* @__PURE__ */ c(ml, { className: "order-6" })
@@ -9440,7 +9440,7 @@ const Fp = (e) => {
9440
9440
  }, hg = Co(
9441
9441
  () => import(
9442
9442
  /* webpackChunkName: "LazyAboutChangelog" */
9443
- "./AboutChangelog.CYDx1cBr.js"
9443
+ "./AboutChangelog.0vUNkYPF.js"
9444
9444
  )
9445
9445
  ), mg = () => {
9446
9446
  const e = or(), t = or(), { data: r, isSuccess: a } = $u(), { data: o, isSuccess: n } = Ou(), s = (r == null ? void 0 : r.version) || "", i = (r == null ? void 0 : r.models) || [];
@@ -9451,8 +9451,8 @@ const Fp = (e) => {
9451
9451
  header: de.ABOUT.TITLE_CLIENT,
9452
9452
  className: "prose-dark dark:prose-lighter mb-4",
9453
9453
  children: jr(e, {
9454
- [de.ABOUT.VERSION]: "8.19.0",
9455
- [de.ABOUT.BUILD_TIMESTAMP]: "05/27/2025 09:57 AM EDT"
9454
+ [de.ABOUT.VERSION]: "8.20.0",
9455
+ [de.ABOUT.BUILD_TIMESTAMP]: "05/27/2025 10:27 AM EDT"
9456
9456
  })
9457
9457
  }
9458
9458
  ),
@@ -9474,7 +9474,7 @@ const Fp = (e) => {
9474
9474
  header: de.ABOUT.TITLE_CHANGELOG,
9475
9475
  headerClassName: "av-card__header mt-0 border-b-2 border-border-accent mb-4 leading-10",
9476
9476
  className: g("prose-lighter dark:prose-lighter min-h-[334px]", {
9477
- "mb-5": at()
9477
+ "mb-5": ot()
9478
9478
  }),
9479
9479
  children: n ? /* @__PURE__ */ c(So, { fallback: /* @__PURE__ */ c("div", { children: "Loading..." }), children: /* @__PURE__ */ c(hg, { content: o.client }) }) : null
9480
9480
  }
@@ -9512,21 +9512,21 @@ const Fp = (e) => {
9512
9512
  getAccessToken: n
9513
9513
  }), C = (S) => {
9514
9514
  switch (h.sortDirection) {
9515
- case Ge.ASC:
9516
- _(Ge.DESC), m({
9515
+ case Ke.ASC:
9516
+ _(Ke.DESC), m({
9517
9517
  type: Ma,
9518
9518
  payload: {
9519
9519
  sortedCell: S,
9520
- sortDirection: Ge.DESC
9520
+ sortDirection: Ke.DESC
9521
9521
  }
9522
9522
  });
9523
9523
  break;
9524
9524
  default:
9525
- _(Ge.ASC), m({
9525
+ _(Ke.ASC), m({
9526
9526
  type: Ma,
9527
9527
  payload: {
9528
9528
  sortedCell: S,
9529
- sortDirection: Ge.ASC
9529
+ sortDirection: Ke.ASC
9530
9530
  }
9531
9531
  });
9532
9532
  break;
@@ -9691,41 +9691,57 @@ const Fp = (e) => {
9691
9691
  ),
9692
9692
  /* @__PURE__ */ A(Ve, { align: "right", children: [
9693
9693
  /* @__PURE__ */ c(
9694
- Ne,
9694
+ je,
9695
9695
  {
9696
- className: "mr-2",
9697
- focusMode: "alt-system",
9698
- noBorder: !0,
9699
9696
  label: "Restore chat",
9700
- onClick: async () => {
9701
- const F = await n();
9702
- v(
9703
- S,
9704
- t,
9705
- r,
9706
- F,
9707
- (o == null ? void 0 : o.username) || "",
9708
- p
9709
- );
9710
- },
9711
- children: /* @__PURE__ */ c(Kc, { size: "size-3", monotone: !0 })
9697
+ mode: "alt-system",
9698
+ placement: "top",
9699
+ trigger: /* @__PURE__ */ c(
9700
+ Ne,
9701
+ {
9702
+ className: "mr-2",
9703
+ focusMode: "alt-system",
9704
+ noBorder: !0,
9705
+ label: "Restore chat",
9706
+ onClick: async () => {
9707
+ const F = await n();
9708
+ v(
9709
+ S,
9710
+ t,
9711
+ r,
9712
+ F,
9713
+ (o == null ? void 0 : o.username) || "",
9714
+ p
9715
+ );
9716
+ },
9717
+ children: /* @__PURE__ */ c(Kc, { size: "size-3", monotone: !0 })
9718
+ }
9719
+ )
9712
9720
  }
9713
9721
  ),
9714
9722
  /* @__PURE__ */ c(
9715
- Ne,
9723
+ je,
9716
9724
  {
9717
- focusMode: "alt-system",
9718
- noBorder: !0,
9719
9725
  label: "Delete chat",
9720
- onClick: () => {
9721
- var F;
9722
- i.current = {
9723
- id: S.id,
9724
- timestamp: S.timestamp,
9725
- message: S.messages.length > 0 ? (F = S.messages[0]) == null ? void 0 : F.content : ""
9726
- }, d(!l);
9727
- },
9728
- children: /* @__PURE__ */ c("div", { className: "text-red-400", children: /* @__PURE__ */ c(Mc, { size: "size-3", monotone: !0 }) })
9726
+ mode: "alt-system",
9727
+ placement: "top",
9728
+ trigger: /* @__PURE__ */ c(
9729
+ Ne,
9730
+ {
9731
+ focusMode: "alt-system",
9732
+ noBorder: !0,
9733
+ label: "Delete chat",
9734
+ onClick: () => {
9735
+ var F;
9736
+ i.current = {
9737
+ id: S.id,
9738
+ timestamp: S.timestamp,
9739
+ message: S.messages.length > 0 ? (F = S.messages[0]) == null ? void 0 : F.content : ""
9740
+ }, d(!l);
9741
+ },
9742
+ children: /* @__PURE__ */ c("div", { className: "text-red-400", children: /* @__PURE__ */ c(Mc, { size: "size-3", monotone: !0 }) })
9743
+ }
9744
+ )
9729
9745
  }
9730
9746
  )
9731
9747
  ] })
@@ -9772,7 +9788,7 @@ const Fp = (e) => {
9772
9788
  return /* @__PURE__ */ c(
9773
9789
  Qt,
9774
9790
  {
9775
- animation: !at(),
9791
+ animation: !ot(),
9776
9792
  open: e,
9777
9793
  onOpenChange: t,
9778
9794
  title: Wl,
@@ -9842,8 +9858,8 @@ const Fp = (e) => {
9842
9858
  {
9843
9859
  className: "prose-dark dark:prose-lighter mt-4",
9844
9860
  header: /* @__PURE__ */ c("h2", { className: "m-0", children: /* @__PURE__ */ A(fr, { columnGap: 3, alignVertical: "center", children: [
9845
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(gn, { size: "size-8" }) }),
9846
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c("div", { children: de.PREFERENCES.PASSKEY_TITLE }) })
9861
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(gn, { size: "size-8" }) }),
9862
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c("div", { children: de.PREFERENCES.PASSKEY_TITLE }) })
9847
9863
  ] }) }),
9848
9864
  children: [
9849
9865
  /* @__PURE__ */ c("p", { children: de.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -9867,7 +9883,7 @@ const Fp = (e) => {
9867
9883
  }) => /* @__PURE__ */ c(
9868
9884
  Qt,
9869
9885
  {
9870
- animation: !at(),
9886
+ animation: !ot(),
9871
9887
  open: e,
9872
9888
  onOpenChange: t,
9873
9889
  title: Kl,
@@ -10246,7 +10262,7 @@ const Lg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
10246
10262
  ...I
10247
10263
  }, v) => {
10248
10264
  var E;
10249
- const T = R(null), S = xg([v, T]), [x, $] = hs(), [N, P] = hs(), M = R(80), V = R(-25), F = R(null), L = R(30), D = R(null), J = Ig({ id: e, prefix: `${bl}-` }), [U, xe] = H(0), [Se, ze] = H(0), [Xe, Y] = H(
10265
+ const T = R(null), S = xg([v, T]), [x, $] = hs(), [N, P] = hs(), M = R(80), V = R(-25), F = R(null), L = R(30), D = R(null), J = Ig({ id: e, prefix: `${bl}-` }), [U, xe] = H(0), [Se, ze] = H(0), [Ze, Y] = H(
10250
10266
  !!(!y && p)
10251
10267
  ), ie = `${t} error, ${p}`, ae = Hg({
10252
10268
  className: n,
@@ -10366,7 +10382,7 @@ const Lg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
10366
10382
  children: r
10367
10383
  }
10368
10384
  ),
10369
- Xe && /* @__PURE__ */ c(
10385
+ Ze && /* @__PURE__ */ c(
10370
10386
  "div",
10371
10387
  {
10372
10388
  ref: D,
@@ -10611,7 +10627,7 @@ const Qg = ({
10611
10627
  }, [o]), n ? /* @__PURE__ */ c(
10612
10628
  Qt,
10613
10629
  {
10614
- animation: !at(),
10630
+ animation: !ot(),
10615
10631
  open: e,
10616
10632
  onOpenChange: C,
10617
10633
  title: ql,
@@ -10622,7 +10638,7 @@ const Qg = ({
10622
10638
  alignHorizontal: "flex-end",
10623
10639
  className: "pb-8 sm:pb-0",
10624
10640
  children: [
10625
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(
10641
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(
10626
10642
  xt,
10627
10643
  {
10628
10644
  mode: "dark",
@@ -10632,7 +10648,7 @@ const Qg = ({
10632
10648
  children: "Cancel"
10633
10649
  }
10634
10650
  ) }),
10635
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(
10651
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(
10636
10652
  xt,
10637
10653
  {
10638
10654
  mode: "dark",
@@ -10812,7 +10828,7 @@ const Qg = ({
10812
10828
  ) : null;
10813
10829
  }, wt = [0, 3, 6, 9], Xg = Co(() => import(
10814
10830
  /* webpackChunkName: "LazyChart" */
10815
- "./Chart.CNh_TAwq.js"
10831
+ "./Chart.B1XXC8JD.js"
10816
10832
  )), Zg = ({
10817
10833
  open: e,
10818
10834
  onOpenChange: t
@@ -10835,7 +10851,7 @@ const Qg = ({
10835
10851
  return /* @__PURE__ */ c(
10836
10852
  Qt,
10837
10853
  {
10838
- animation: !at(),
10854
+ animation: !ot(),
10839
10855
  open: e,
10840
10856
  onOpenChange: t,
10841
10857
  title: Zl,
@@ -10870,7 +10886,7 @@ const Qg = ({
10870
10886
  children: l && i && i.usage && i.usage.series && i.usage.series.length ? /* @__PURE__ */ A(So, { fallback: /* @__PURE__ */ c("div", {}), children: [
10871
10887
  /* @__PURE__ */ c("div", { className: "pt-4" }),
10872
10888
  /* @__PURE__ */ c(Xg, { usage: i.usage.series, page: f }),
10873
- /* @__PURE__ */ c(fr, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ A(Je, { children: [
10889
+ /* @__PURE__ */ c(fr, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ A(qe, { children: [
10874
10890
  /* @__PURE__ */ c(
10875
10891
  xt,
10876
10892
  {
@@ -10916,7 +10932,7 @@ const Qg = ({
10916
10932
  };
10917
10933
  return B(() => {
10918
10934
  (async () => {
10919
- if (!at())
10935
+ if (!ot())
10920
10936
  return;
10921
10937
  const E = await r(), T = await Ji(E, [Bi.REASONING]);
10922
10938
  p(T);
@@ -10949,14 +10965,14 @@ const Qg = ({
10949
10965
  rowGap: 0,
10950
10966
  columnGap: 0,
10951
10967
  children: [
10952
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(Kp, { className: " mr-4 sm:mr-2" }) }),
10953
- /* @__PURE__ */ c(Je, { children: at() && /* @__PURE__ */ A(fe, { children: [
10968
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(Kp, { className: " mr-4 sm:mr-2" }) }),
10969
+ /* @__PURE__ */ c(qe, { children: ot() && /* @__PURE__ */ A(fe, { children: [
10954
10970
  m && /* @__PURE__ */ c(hl, { className: "mr-4 sm:mr-2" }),
10955
10971
  /* @__PURE__ */ c(dl, { className: "mr-4 sm:mr-2" }),
10956
10972
  /* @__PURE__ */ c(ml, {})
10957
10973
  ] }) }),
10958
- /* @__PURE__ */ c(Je, { children: /* @__PURE__ */ c(
10959
- st,
10974
+ /* @__PURE__ */ c(qe, { children: /* @__PURE__ */ c(
10975
+ je,
10960
10976
  {
10961
10977
  label: "Profile, Settings, etc.",
10962
10978
  mode: "light",
@@ -10970,7 +10986,7 @@ const Qg = ({
10970
10986
  defaultPlacement: "bottom-end",
10971
10987
  children: [
10972
10988
  /* @__PURE__ */ c(
10973
- tt,
10989
+ rt,
10974
10990
  {
10975
10991
  label: "Profile",
10976
10992
  onClick: w,
@@ -10978,7 +10994,7 @@ const Qg = ({
10978
10994
  }
10979
10995
  ),
10980
10996
  /* @__PURE__ */ c(
10981
- tt,
10997
+ rt,
10982
10998
  {
10983
10999
  label: "Settings",
10984
11000
  onClick: _,
@@ -10986,7 +11002,7 @@ const Qg = ({
10986
11002
  }
10987
11003
  ),
10988
11004
  /* @__PURE__ */ c(
10989
- tt,
11005
+ rt,
10990
11006
  {
10991
11007
  label: "History",
10992
11008
  onClick: k,
@@ -10994,7 +11010,7 @@ const Qg = ({
10994
11010
  }
10995
11011
  ),
10996
11012
  /* @__PURE__ */ c(
10997
- tt,
11013
+ rt,
10998
11014
  {
10999
11015
  label: "Usage",
11000
11016
  onClick: I,
@@ -11002,7 +11018,7 @@ const Qg = ({
11002
11018
  }
11003
11019
  ),
11004
11020
  /* @__PURE__ */ c(
11005
- tt,
11021
+ rt,
11006
11022
  {
11007
11023
  label: "About",
11008
11024
  onClick: C,
@@ -11012,7 +11028,7 @@ const Qg = ({
11012
11028
  !e && /* @__PURE__ */ A(fe, { children: [
11013
11029
  /* @__PURE__ */ c(Up, {}),
11014
11030
  /* @__PURE__ */ c(
11015
- tt,
11031
+ rt,
11016
11032
  {
11017
11033
  label: "Log out",
11018
11034
  onClick: v,
@@ -12476,7 +12492,7 @@ const X1 = ({ content: e }) => /* @__PURE__ */ c(
12476
12492
  ), ws = 2, Z1 = Co(
12477
12493
  () => import(
12478
12494
  /* webpackChunkName: "LazyMessageAssistant" */
12479
- "./ChatBubbleAssistant.Cj_fIOjH.js"
12495
+ "./ChatBubbleAssistant.1R9UIrP8.js"
12480
12496
  )
12481
12497
  ), ey = W.memo(
12482
12498
  ({
@@ -12573,7 +12589,7 @@ function Il({
12573
12589
  initialValue: ""
12574
12590
  }), [m] = It({
12575
12591
  key: Ct + Cs,
12576
- initialValue: Ge.ASC
12592
+ initialValue: Ke.ASC
12577
12593
  }), [p, y] = Zt(Iu, {
12578
12594
  footerPosition: "FOOTER_TOP",
12579
12595
  footerHeight: 0,