@versini/sassysaint 8.9.4 → 8.10.1

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,12 +4,12 @@ var En = (e) => {
4
4
  var qr = (e, t, r) => t.has(e) || En("Cannot " + r);
5
5
  var O = (e, t, r) => (qr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), fe = (e, t, r) => t.has(e) ? En("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), re = (e, t, r, a) => (qr(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), ce = (e, t, r) => (qr(e, t, "access private method"), r);
6
6
  import { jsx as c, jsxs as R, Fragment as oe } from "react/jsx-runtime";
7
- import { Subscribable as Bi, pendingThenable as In, resolveEnabled as Ve, shallowEqualObjects as fa, resolveStaleTime as _r, noop as Pi, isServer as ha, isValidTimeout as Cn, focusManager as zi, fetchState as Vi, replaceData as Sn, notifyManager as Po, timeUntilStale as Fi, useQueryClient as Ui, I as ne, ACTION_SORT as ma, ACTION_SEARCH as zo, ACTION_RESET_PROMPT as Vo, ACTION_TOGGLE_PROMPT as Fo, DEFAULT_AI_PROVIDER as Hi, isElectron as pa, isProbablyiPhone as ga, re as Se, DEFAULT_ICON_ACTION_SIZE as je, L as Ar, j as at, C as Ht, LOCAL_STORAGE_PREFIX as ht, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Gi, un as Ne, LOCAL_STORAGE_REASONING_DISCLOSURE as ji, TOAST_CHAT_SAVED as Wi, toastOptions as Tr, PROVIDER_ANTHROPIC as wr, PROVIDER_OPENAI as ya, TOAST_PROVIDER_CHANGED as Uo, PROMPT_CLASSNAME as qi, PROMPT_EDITABLE_AREA_CLASSNAME as Yi, ROLE_INTERNAL as Ho, ERROR_MESSAGE as Ji, CLIPBOARD_PROMPT as Nn, isProbablyMobile as Ke, sn as Go, GRANTS as jo, INPUT_PLACEHOLDER_TEXT as Rn, FOOTER_DISCLAIMER as Ki, S as Oe, CARDS as se, renderDataAsList as Er, pluralize as Gt, ABOUT_TITLE as Qi, INFINITE_SCROLL_LIMIT as An, INFINITE_SCROLL_THRESHOLD as On, LOCAL_STORAGE_SORT as Wo, APP_CLASSNAME as qo, findProvider as $n, TOAST_CHAT_DELETED as Xi, LOCAL_STORAGE_SEARCH as Yo, HISTORY_TITLE as Zi, fe as el, debounce as tl, M as rl, l as Ln, PROFILE_TITLE as al, LOCAL_STORAGE_CHAT_DETAILS as nl, SETTINGS_TITLE as ol, APP_NAME as sl, PROMPTS_DESCRIPTION as il, getCurrentGeoLocation as ll, USAGE_TITLE as cl, LOG_OUT as Mn, ROLE_USER as dl, ROLE_ASSISTANT as Dn, getMessageContaintWrapperClass as ul, UI_FOOTER_BUFFER as Jo, UI_BUTTON_SCROLL_BUFFER as fl, Logo as hl, UI_DEFAULT_MAIN_HEIGHT as Bn, getMainPaddingClass as Pn, I$1 as ml } from "./index.BwyiXARe.js";
7
+ import { Subscribable as Bi, pendingThenable as In, resolveEnabled as Ve, shallowEqualObjects as fa, resolveStaleTime as _r, noop as Pi, isServer as ha, isValidTimeout as Cn, focusManager as zi, fetchState as Vi, replaceData as Sn, notifyManager as Po, timeUntilStale as Fi, useQueryClient as Ui, I as ne, ACTION_SORT as ma, ACTION_SEARCH as zo, ACTION_RESET_PROMPT as Vo, ACTION_TOGGLE_PROMPT as Fo, DEFAULT_AI_PROVIDER as Hi, isElectron as pa, isProbablyiPhone as ga, re as Se, DEFAULT_ICON_ACTION_SIZE as je, L as Ar, j as Ke, C as Ht, LOCAL_STORAGE_PREFIX as ht, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Gi, un as Ne, LOCAL_STORAGE_REASONING_DISCLOSURE as ji, TOAST_CHAT_SAVED as Wi, toastOptions as Tr, PROVIDER_ANTHROPIC as wr, PROVIDER_OPENAI as ya, TOAST_PROVIDER_CHANGED as Uo, PROMPT_CLASSNAME as qi, PROMPT_EDITABLE_AREA_CLASSNAME as Yi, ROLE_INTERNAL as Ho, ERROR_MESSAGE as Ji, CLIPBOARD_PROMPT as Nn, isProbablyMobile as Qe, sn as Go, GRANTS as jo, INPUT_PLACEHOLDER_TEXT as Rn, FOOTER_DISCLAIMER as Ki, S as Oe, CARDS as se, renderDataAsList as Er, pluralize as Gt, ABOUT_TITLE as Qi, INFINITE_SCROLL_LIMIT as An, INFINITE_SCROLL_THRESHOLD as On, LOCAL_STORAGE_SORT as Wo, APP_CLASSNAME as qo, findProvider as $n, TOAST_CHAT_DELETED as Xi, LOCAL_STORAGE_SEARCH as Yo, HISTORY_TITLE as Zi, fe as el, debounce as tl, M as rl, l as Ln, PROFILE_TITLE as al, LOCAL_STORAGE_CHAT_DETAILS as nl, SETTINGS_TITLE as ol, APP_NAME as sl, PROMPTS_DESCRIPTION as il, getCurrentGeoLocation as ll, USAGE_TITLE as cl, LOG_OUT as Mn, ROLE_USER as dl, ROLE_ASSISTANT as Dn, getMessageContaintWrapperClass as ul, UI_FOOTER_BUFFER as Jo, UI_BUTTON_SCROLL_BUFFER as fl, Logo as hl, UI_DEFAULT_MAIN_HEIGHT as Bn, getMainPaddingClass as Pn, I$1 as ml } from "./index.CC6_Z3I8.js";
8
8
  import p from "clsx";
9
9
  import * as te from "react";
10
10
  import U, { useEffect as D, useRef as L, useState as V, useCallback as Y, useSyncExternalStore as Ko, useMemo as Ee, useId as Or, useLayoutEffect as ge, useContext as X, isValidElement as $r, cloneElement as en, createContext as Qo, useDebugValue as pl, forwardRef as Xo, Fragment as gl, useReducer as Vt, lazy as Zo, Suspense as es } from "react";
11
11
  import { useMergeRefs as tn, FloatingPortal as ts, FloatingOverlay as yl, FloatingFocusManager as rs, useFloating as as, useClick as ns, useDismiss as os, useRole as ss, useInteractions as is, useFloatingTree as ls, useFloatingNodeId as bl, useListItem as cs, offset as vl, flip as _l, shift as wl, autoUpdate as kl, useListNavigation as xl, useTypeahead as Tl, FloatingNode as El, FloatingList as Il, FloatingTree as Cl } from "@floating-ui/react";
12
- var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a, wa, ka, xa, Ta, ds, Bo, Sl = (Bo = class extends Bi {
12
+ var xe, j, Qt, be, dt, It, tt, ze, Xt, Ct, St, ut, ft, rt, Nt, Z, Ft, ba, va, _a, wa, ka, xa, Ta, ds, Bo, Sl = (Bo = class extends Bi {
13
13
  constructor(t, r) {
14
14
  super();
15
15
  fe(this, Z);
@@ -19,7 +19,7 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
19
19
  fe(this, be);
20
20
  fe(this, dt);
21
21
  fe(this, It);
22
- fe(this, et);
22
+ fe(this, tt);
23
23
  fe(this, ze);
24
24
  fe(this, Xt);
25
25
  fe(this, Ct);
@@ -28,9 +28,9 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
28
28
  fe(this, St);
29
29
  fe(this, ut);
30
30
  fe(this, ft);
31
- fe(this, tt);
31
+ fe(this, rt);
32
32
  fe(this, Nt, /* @__PURE__ */ new Set());
33
- this.options = r, re(this, xe, t), re(this, ze, null), re(this, et, In()), this.options.experimental_prefetchInRender || O(this, et).reject(
33
+ this.options = r, re(this, xe, t), re(this, ze, null), re(this, tt, In()), this.options.experimental_prefetchInRender || O(this, tt).reject(
34
34
  new Error("experimental_prefetchInRender feature flag is not enabled")
35
35
  ), this.bindMethods(), this.setOptions(r);
36
36
  }
@@ -79,7 +79,7 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
79
79
  a
80
80
  ) && ce(this, Z, Ft).call(this), this.updateResult(r), o && (O(this, j) !== n || Ve(this.options.enabled, O(this, j)) !== Ve(a.enabled, O(this, j)) || _r(this.options.staleTime, O(this, j)) !== _r(a.staleTime, O(this, j))) && ce(this, Z, ba).call(this);
81
81
  const s = ce(this, Z, va).call(this);
82
- o && (O(this, j) !== n || Ve(this.options.enabled, O(this, j)) !== Ve(a.enabled, O(this, j)) || s !== O(this, tt)) && ce(this, Z, _a).call(this, s);
82
+ o && (O(this, j) !== n || Ve(this.options.enabled, O(this, j)) !== Ve(a.enabled, O(this, j)) || s !== O(this, rt)) && ce(this, Z, _a).call(this, s);
83
83
  }
84
84
  getOptimisticResult(t) {
85
85
  const r = O(this, xe).getQueryCache().build(O(this, xe), t), a = this.createResult(r, t);
@@ -187,15 +187,15 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
187
187
  isRefetchError: k && I,
188
188
  isStale: rn(t, r),
189
189
  refetch: this.refetch,
190
- promise: O(this, et)
190
+ promise: O(this, tt)
191
191
  };
192
192
  if (this.options.experimental_prefetchInRender) {
193
193
  const T = (A) => {
194
194
  x.status === "error" ? A.reject(x.error) : x.data !== void 0 && A.resolve(x.data);
195
195
  }, C = () => {
196
- const A = re(this, et, x.promise = In());
196
+ const A = re(this, tt, x.promise = In());
197
197
  T(A);
198
- }, S = O(this, et);
198
+ }, S = O(this, tt);
199
199
  switch (S.status) {
200
200
  case "pending":
201
201
  t.queryHash === a.queryHash && T(S);
@@ -234,7 +234,7 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
234
234
  onQueryUpdate() {
235
235
  this.updateResult(), this.hasListeners() && ce(this, Z, wa).call(this);
236
236
  }
237
- }, xe = new WeakMap(), j = new WeakMap(), Qt = new WeakMap(), be = new WeakMap(), dt = new WeakMap(), It = new WeakMap(), et = new WeakMap(), ze = new WeakMap(), Xt = new WeakMap(), Ct = new WeakMap(), St = new WeakMap(), ut = new WeakMap(), ft = new WeakMap(), tt = new WeakMap(), Nt = new WeakMap(), Z = new WeakSet(), Ft = function(t) {
237
+ }, xe = new WeakMap(), j = new WeakMap(), Qt = new WeakMap(), be = new WeakMap(), dt = new WeakMap(), It = new WeakMap(), tt = new WeakMap(), ze = new WeakMap(), Xt = new WeakMap(), Ct = new WeakMap(), St = new WeakMap(), ut = new WeakMap(), ft = new WeakMap(), rt = new WeakMap(), Nt = new WeakMap(), Z = new WeakSet(), Ft = function(t) {
238
238
  ce(this, Z, Ta).call(this);
239
239
  let r = O(this, j).fetch(
240
240
  this.options,
@@ -256,9 +256,9 @@ var xe, j, Qt, be, dt, It, et, ze, Xt, Ct, St, ut, ft, tt, Nt, Z, Ft, ba, va, _a
256
256
  }, va = function() {
257
257
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(O(this, j)) : this.options.refetchInterval) ?? !1;
258
258
  }, _a = function(t) {
259
- ce(this, Z, xa).call(this), re(this, tt, t), !(ha || Ve(this.options.enabled, O(this, j)) === !1 || !Cn(O(this, tt)) || O(this, tt) === 0) && re(this, ft, setInterval(() => {
259
+ ce(this, Z, xa).call(this), re(this, rt, t), !(ha || Ve(this.options.enabled, O(this, j)) === !1 || !Cn(O(this, rt)) || O(this, rt) === 0) && re(this, ft, setInterval(() => {
260
260
  (this.options.refetchIntervalInBackground || zi.isFocused()) && ce(this, Z, Ft).call(this);
261
- }, O(this, tt)));
261
+ }, O(this, rt)));
262
262
  }, wa = function() {
263
263
  ce(this, Z, ba).call(this), ce(this, Z, _a).call(this, ce(this, Z, va).call(this));
264
264
  }, ka = function() {
@@ -2125,7 +2125,7 @@ function sd(e) {
2125
2125
  }
2126
2126
  sd(`: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)}}
2127
2127
  `);
2128
- var er = (e) => typeof e == "number" && !isNaN(e), pt = (e) => typeof e == "string", Qe = (e) => typeof e == "function", id = (e) => pt(e) || er(e), Na = (e) => pt(e) || Qe(e) ? e : null, ld = (e, t) => e === !1 || er(e) && e > 0 ? e : t, Ra = (e) => $r(e) || pt(e) || Qe(e) || er(e);
2128
+ var er = (e) => typeof e == "number" && !isNaN(e), pt = (e) => typeof e == "string", Xe = (e) => typeof e == "function", id = (e) => pt(e) || er(e), Na = (e) => pt(e) || Xe(e) ? e : null, ld = (e, t) => e === !1 || er(e) && e > 0 ? e : t, Ra = (e) => $r(e) || pt(e) || Xe(e) || er(e);
2129
2129
  function cd(e, t, r = 300) {
2130
2130
  let { scrollHeight: a, style: n } = e;
2131
2131
  requestAnimationFrame(() => {
@@ -2154,7 +2154,7 @@ function Jn(e, t) {
2154
2154
  return { content: ws(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 };
2155
2155
  }
2156
2156
  function ws(e, t, r = !1) {
2157
- return $r(e) && !pt(e.type) ? en(e, { closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : Qe(e) ? e({ closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : e;
2157
+ return $r(e) && !pt(e.type) ? en(e, { closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : Xe(e) ? e({ closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : e;
2158
2158
  }
2159
2159
  function dd({ closeToast: e, theme: t, ariaLabel: r = "close" }) {
2160
2160
  return U.createElement("button", { className: `Toastify__close-button Toastify__close-button--${t}`, type: "button", onClick: (a) => {
@@ -2164,7 +2164,7 @@ function dd({ closeToast: e, theme: t, ariaLabel: r = "close" }) {
2164
2164
  function ud({ delay: e, isRunning: t, closeToast: r, type: a = "default", hide: n, className: o, controlledProgress: s, progress: l, rtl: i, isIn: d, theme: f }) {
2165
2165
  let u = n || s && l === 0, m = { animationDuration: `${e}ms`, animationPlayState: t ? "running" : "paused" };
2166
2166
  s && (m.transform = `scaleX(${l})`);
2167
- let h = p("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": i }), g = Qe(o) ? o({ rtl: i, type: a, defaultClassName: h }) : p(h, o), y = { [s && l >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && l < 1 ? null : () => {
2167
+ let h = p("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": i }), g = Xe(o) ? o({ rtl: i, type: a, defaultClassName: h }) : p(h, o), y = { [s && l >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && l < 1 ? null : () => {
2168
2168
  d && r();
2169
2169
  } };
2170
2170
  return U.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": u }, U.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${f} Toastify__progress-bar--${a}` }), U.createElement("div", { role: "progressbar", "aria-hidden": u ? "true" : "false", "aria-label": "notification timer", className: g, style: m, ...y }));
@@ -2327,7 +2327,7 @@ function xd(e, { pending: t, error: r, success: a }, n) {
2327
2327
  }
2328
2328
  let m = { type: d, ...s, ...n, data: u }, h = pt(f) ? { render: f } : f;
2329
2329
  return o ? Q.update(o, { ...m, ...h }) : Q(h.render, { ...m, ...h }), u;
2330
- }, i = Qe(e) ? e() : e;
2330
+ }, i = Xe(e) ? e() : e;
2331
2331
  return i.then((d) => l("success", a, d)).catch((d) => l("error", r, d)), i;
2332
2332
  }
2333
2333
  Q.promise = xd;
@@ -2452,17 +2452,17 @@ function Od() {
2452
2452
  var Oa = { info: Nd, warning: Sd, success: Rd, error: Ad, spinner: Od }, $d = (e) => e in Oa;
2453
2453
  function Ld({ theme: e, type: t, isLoading: r, icon: a }) {
2454
2454
  let n = null, o = { theme: e, type: t };
2455
- return a === !1 || (Qe(a) ? n = a({ ...o, isLoading: r }) : $r(a) ? n = en(a, o) : r ? n = Oa.spinner() : $d(t) && (n = Oa[t](o))), n;
2455
+ return a === !1 || (Xe(a) ? n = a({ ...o, isLoading: r }) : $r(a) ? n = en(a, o) : r ? n = Oa.spinner() : $d(t) && (n = Oa[t](o))), n;
2456
2456
  }
2457
2457
  var Md = (e) => {
2458
- let { isRunning: t, preventExitTransition: r, toastRef: a, eventHandlers: n, playToast: o } = Id(e), { closeButton: s, children: l, autoClose: i, onClick: d, type: f, hideProgressBar: u, closeToast: m, transition: h, position: g, className: y, style: b, progressClassName: v, updateId: w, role: k, progress: N, rtl: I, toastId: _, deleteToast: x, isIn: E, isLoading: T, closeOnClick: C, theme: S, ariaLabel: A } = e, $ = p("Toastify__toast", `Toastify__toast-theme--${S}`, `Toastify__toast--${f}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": C }), B = Qe(y) ? y({ rtl: I, position: g, type: f, defaultClassName: $ }) : p($, y), F = Ld(e), M = !!N || !i, W = { closeToast: m, type: f, theme: S }, G = null;
2459
- return s === !1 || (Qe(s) ? G = s(W) : $r(s) ? G = en(s, W) : G = dd(W)), U.createElement(h, { isIn: E, done: x, position: g, preventExitTransition: r, nodeRef: a, playToast: o }, U.createElement("div", { id: _, tabIndex: 0, onClick: d, "data-in": E, className: B, ...n, style: b, ref: a, ...E && { role: k, "aria-label": A } }, F != null && U.createElement("div", { className: p("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !T }) }, F), ws(l, e, !t), G, !e.customProgressBar && U.createElement(ud, { ...w && !M ? { key: `p-${w}` } : {}, rtl: I, theme: S, delay: i, isRunning: t, isIn: E, closeToast: m, hide: u, type: f, className: v, controlledProgress: M, progress: N || 0 })));
2458
+ let { isRunning: t, preventExitTransition: r, toastRef: a, eventHandlers: n, playToast: o } = Id(e), { closeButton: s, children: l, autoClose: i, onClick: d, type: f, hideProgressBar: u, closeToast: m, transition: h, position: g, className: y, style: b, progressClassName: v, updateId: w, role: k, progress: N, rtl: I, toastId: _, deleteToast: x, isIn: E, isLoading: T, closeOnClick: C, theme: S, ariaLabel: A } = e, $ = p("Toastify__toast", `Toastify__toast-theme--${S}`, `Toastify__toast--${f}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": C }), B = Xe(y) ? y({ rtl: I, position: g, type: f, defaultClassName: $ }) : p($, y), F = Ld(e), M = !!N || !i, W = { closeToast: m, type: f, theme: S }, G = null;
2459
+ return s === !1 || (Xe(s) ? G = s(W) : $r(s) ? G = en(s, W) : G = dd(W)), U.createElement(h, { isIn: E, done: x, position: g, preventExitTransition: r, nodeRef: a, playToast: o }, U.createElement("div", { id: _, tabIndex: 0, onClick: d, "data-in": E, className: B, ...n, style: b, ref: a, ...E && { role: k, "aria-label": A } }, F != null && U.createElement("div", { className: p("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !T }) }, F), ws(l, e, !t), G, !e.customProgressBar && U.createElement(ud, { ...w && !M ? { key: `p-${w}` } : {}, rtl: I, theme: S, delay: i, isRunning: t, isIn: E, closeToast: m, hide: u, type: f, className: v, controlledProgress: M, progress: N || 0 })));
2460
2460
  }, Cs = (e, t = !1) => ({ enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t }), Dd = _s(Cs("bounce", !0)), Ir = _s(Cs("slide", !0)), Bd = { position: "top-right", transition: Dd, 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" };
2461
2461
  function $a(e) {
2462
2462
  let t = { ...Bd, ...e }, r = e.stacked, [a, n] = V(!0), o = L(null), { getToastToRender: s, isToastActive: l, count: i } = Ed(t), { className: d, style: f, rtl: u, containerId: m, hotKeys: h } = t;
2463
2463
  function g(b) {
2464
2464
  let v = p("Toastify__toast-container", `Toastify__toast-container--${b}`, { "Toastify__toast-container--rtl": u });
2465
- return Qe(d) ? d({ position: b, rtl: u, defaultClassName: v }) : p(v, Na(d));
2465
+ return Xe(d) ? d({ position: b, rtl: u, defaultClassName: v }) : p(v, Na(d));
2466
2466
  }
2467
2467
  function y() {
2468
2468
  r && (n(!0), Q.play());
@@ -4317,10 +4317,10 @@ function za(e, t) {
4317
4317
  }
4318
4318
  return e !== e && t !== t;
4319
4319
  }
4320
- const Je = /* @__PURE__ */ new WeakMap(), rt = () => {
4320
+ const Je = /* @__PURE__ */ new WeakMap(), at = () => {
4321
4321
  }, ve = (
4322
4322
  /*#__NOINLINE__*/
4323
- rt()
4323
+ at()
4324
4324
  ), Va = Object, q = (e) => e === ve, He = (e) => typeof e == "function", ot = (e, t) => ({
4325
4325
  ...e,
4326
4326
  ...t
@@ -4347,8 +4347,8 @@ const Wu = () => Ua, [Ha, Ga] = nr && window.addEventListener ? [
4347
4347
  window.addEventListener.bind(window),
4348
4348
  window.removeEventListener.bind(window)
4349
4349
  ] : [
4350
- rt,
4351
- rt
4350
+ at,
4351
+ at
4352
4352
  ], qu = () => {
4353
4353
  const e = Fa && document.visibilityState;
4354
4354
  return q(e) || e !== "hidden";
@@ -4494,7 +4494,7 @@ const lo = (e, t) => {
4494
4494
  }, tf = (e, t) => {
4495
4495
  if (!Je.has(e)) {
4496
4496
  const r = ot(Qu, t), a = {}, n = ei.bind(ve, e);
4497
- let o = rt;
4497
+ let o = at;
4498
4498
  const s = {}, l = (f, u) => {
4499
4499
  const m = s[f] || [];
4500
4500
  return s[f] = m, m.push(u), () => m.splice(m.indexOf(u), 1);
@@ -4537,11 +4537,11 @@ const lo = (e, t) => {
4537
4537
  }, af = za, [ti, nf] = tf(/* @__PURE__ */ new Map()), of = ot(
4538
4538
  {
4539
4539
  // events
4540
- onLoadingSlow: rt,
4541
- onSuccess: rt,
4542
- onError: rt,
4540
+ onLoadingSlow: at,
4541
+ onSuccess: at,
4542
+ onError: at,
4543
4543
  onErrorRetry: rf,
4544
- onDiscarded: rt,
4544
+ onDiscarded: at,
4545
4545
  // switches
4546
4546
  revalidateOnFocus: !0,
4547
4547
  revalidateOnReconnect: !0,
@@ -4660,7 +4660,7 @@ const na = U.use || // This extra generic is to avoid TypeScript mixing up the g
4660
4660
  a,
4661
4661
  v
4662
4662
  ]
4663
- ), W[0], W[1]), J = !k.current, me = h[v] && h[v].length > 0, De = G.data, Ie = q(De) ? F && Xs(F) ? na(F) : F : De, Ze = G.error, lt = L(Ie), qe = m ? q(De) ? q(lt.current) ? Ie : lt.current : De : Ie, Be = me && !q(Ze) ? !1 : J && !q(l) ? l : E().isPaused() ? !1 : o ? q(Ie) ? !1 : i : q(Ie) || i, we = !!(v && t && J && Be), Ce = q(G.isValidating) ? we : G.isValidating, Pt = q(G.isLoading) ? we : G.isLoading, Ye = Y(
4663
+ ), W[0], W[1]), J = !k.current, me = h[v] && h[v].length > 0, De = G.data, Ie = q(De) ? F && Xs(F) ? na(F) : F : De, et = G.error, lt = L(Ie), qe = m ? q(De) ? q(lt.current) ? Ie : lt.current : De : Ie, Be = me && !q(et) ? !1 : J && !q(l) ? l : E().isPaused() ? !1 : o ? q(Ie) ? !1 : i : q(Ie) || i, we = !!(v && t && J && Be), Ce = q(G.isValidating) ? we : G.isValidating, Pt = q(G.isLoading) ? we : G.isLoading, Ye = Y(
4664
4664
  async (P) => {
4665
4665
  const z = _.current;
4666
4666
  if (!v || !z || N.current || E().isPaused())
@@ -4781,11 +4781,11 @@ const na = U.use || // This extra generic is to avoid TypeScript mixing up the g
4781
4781
  const z = H(P);
4782
4782
  na(z);
4783
4783
  }
4784
- if (q(Ze)) {
4784
+ if (q(et)) {
4785
4785
  const z = Ye(oa);
4786
4786
  q(qe) || (z.status = "fulfilled", z.value = !0), na(z);
4787
4787
  } else
4788
- throw Ze;
4788
+ throw et;
4789
4789
  }
4790
4790
  return {
4791
4791
  mutate: H,
@@ -4793,7 +4793,7 @@ const na = U.use || // This extra generic is to avoid TypeScript mixing up the g
4793
4793
  return B.data = !0, qe;
4794
4794
  },
4795
4795
  get error() {
4796
- return B.error = !0, Ze;
4796
+ return B.error = !0, et;
4797
4797
  },
4798
4798
  get isValidating() {
4799
4799
  return B.isValidating = !0, Ce;
@@ -5030,7 +5030,7 @@ function xf({
5030
5030
  });
5031
5031
  },
5032
5032
  [me]
5033
- ), Ze = Y(() => {
5033
+ ), et = Y(() => {
5034
5034
  G.current && (G.current.abort(), G.current = null);
5035
5035
  }, []), lt = Y(
5036
5036
  (H) => {
@@ -5095,7 +5095,7 @@ function xf({
5095
5095
  error: M,
5096
5096
  append: De,
5097
5097
  reload: Ie,
5098
- stop: Ze,
5098
+ stop: et,
5099
5099
  input: Be,
5100
5100
  setInput: we,
5101
5101
  handleInputChange: Pt,
@@ -5715,7 +5715,7 @@ function Te(e) {
5715
5715
  var t;
5716
5716
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
5717
5717
  }
5718
- function Xe(e) {
5718
+ function Ze(e) {
5719
5719
  var t;
5720
5720
  return (t = (ii(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5721
5721
  }
@@ -5793,7 +5793,7 @@ function st(e) {
5793
5793
  e.assignedSlot || // DOM Element detected.
5794
5794
  e.parentNode || // ShadowRoot detected.
5795
5795
  mo(e) && e.host || // Fallback.
5796
- Xe(e)
5796
+ Ze(e)
5797
5797
  );
5798
5798
  return mo(t) ? t.host : t;
5799
5799
  }
@@ -5873,7 +5873,7 @@ function Kt(e, t, r, a) {
5873
5873
  }
5874
5874
  function bn(e, t) {
5875
5875
  const r = Fr(e).scrollLeft;
5876
- return t ? t.left + r : Kt(Xe(e)).left + r;
5876
+ return t ? t.left + r : Kt(Ze(e)).left + r;
5877
5877
  }
5878
5878
  function hi(e, t, r) {
5879
5879
  r === void 0 && (r = !1);
@@ -5893,7 +5893,7 @@ function Wf(e) {
5893
5893
  offsetParent: a,
5894
5894
  strategy: n
5895
5895
  } = e;
5896
- const o = n === "fixed", s = Xe(a), l = t ? Vr(t.floating) : !1;
5896
+ const o = n === "fixed", s = Ze(a), l = t ? Vr(t.floating) : !1;
5897
5897
  if (a === s || l && o)
5898
5898
  return r;
5899
5899
  let i = {
@@ -5917,7 +5917,7 @@ function qf(e) {
5917
5917
  return Array.from(e.getClientRects());
5918
5918
  }
5919
5919
  function Yf(e) {
5920
- const t = Xe(e), r = Fr(e), a = e.ownerDocument.body, n = Tt(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Tt(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
5920
+ const t = Ze(e), r = Fr(e), a = e.ownerDocument.body, n = Tt(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Tt(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
5921
5921
  let s = -r.scrollLeft + bn(e);
5922
5922
  const l = -r.scrollTop;
5923
5923
  return Me(a).direction === "rtl" && (s += Tt(t.clientWidth, a.clientWidth) - n), {
@@ -5928,7 +5928,7 @@ function Yf(e) {
5928
5928
  };
5929
5929
  }
5930
5930
  function Jf(e, t) {
5931
- const r = Te(e), a = Xe(e), n = r.visualViewport;
5931
+ const r = Te(e), a = Ze(e), n = r.visualViewport;
5932
5932
  let o = a.clientWidth, s = a.clientHeight, l = 0, i = 0;
5933
5933
  if (n) {
5934
5934
  o = n.width, s = n.height;
@@ -5956,7 +5956,7 @@ function go(e, t, r) {
5956
5956
  if (t === "viewport")
5957
5957
  a = Jf(e, r);
5958
5958
  else if (t === "document")
5959
- a = Yf(Xe(e));
5959
+ a = Yf(Ze(e));
5960
5960
  else if (Le(t))
5961
5961
  a = Kf(t, r);
5962
5962
  else {
@@ -6016,7 +6016,7 @@ function Zf(e) {
6016
6016
  };
6017
6017
  }
6018
6018
  function eh(e, t, r) {
6019
- const a = We(t), n = Xe(t), o = r === "fixed", s = Kt(e, !0, o, t);
6019
+ const a = We(t), n = Ze(t), o = r === "fixed", s = Kt(e, !0, o, t);
6020
6020
  let l = {
6021
6021
  scrollLeft: 0,
6022
6022
  scrollTop: 0
@@ -6044,7 +6044,7 @@ function yo(e, t) {
6044
6044
  if (t)
6045
6045
  return t(e);
6046
6046
  let r = e.offsetParent;
6047
- return Xe(e) === r && (r = r.ownerDocument.body), r;
6047
+ return Ze(e) === r && (r = r.ownerDocument.body), r;
6048
6048
  }
6049
6049
  function pi(e, t) {
6050
6050
  const r = Te(e);
@@ -6081,7 +6081,7 @@ function rh(e) {
6081
6081
  }
6082
6082
  const ah = {
6083
6083
  convertOffsetParentRelativeRectToViewportRelativeRect: Wf,
6084
- getDocumentElement: Xe,
6084
+ getDocumentElement: Ze,
6085
6085
  getClippingRect: Xf,
6086
6086
  getOffsetParent: pi,
6087
6087
  getElementRects: th,
@@ -7114,7 +7114,7 @@ const Ut = "panel", gr = "messagebox", Wh = ({
7114
7114
  onOpenChange: t,
7115
7115
  title: n.title,
7116
7116
  footer: /* @__PURE__ */ R(Ar, { columnGap: 2, alignHorizontal: "flex-end", children: [
7117
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(
7117
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(
7118
7118
  Ht,
7119
7119
  {
7120
7120
  mode: "dark",
@@ -7126,7 +7126,7 @@ const Ut = "panel", gr = "messagebox", Wh = ({
7126
7126
  children: n.cancelAction
7127
7127
  }
7128
7128
  ) }),
7129
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(
7129
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(
7130
7130
  Ht,
7131
7131
  {
7132
7132
  mode: "dark",
@@ -8047,7 +8047,7 @@ const Qh = (e) => {
8047
8047
  }, 100);
8048
8048
  }, [s.lastTriggeredTimestamp, E]), D(() => {
8049
8049
  (async () => {
8050
- if (Ke())
8050
+ if (Qe())
8051
8051
  return;
8052
8052
  const S = await t(), A = await Go(S, [jo.REASONING]);
8053
8053
  a(A);
@@ -8073,7 +8073,7 @@ const Qh = (e) => {
8073
8073
  /* @__PURE__ */ c(em, { className: "order-6 ml-auto" }),
8074
8074
  /* @__PURE__ */ c(yh, { className: "order-1 mr-4 sm:mr-2" }),
8075
8075
  /* @__PURE__ */ c(Xh, { className: "order-2 mr-4 sm:mr-2" }),
8076
- !Ke() && /* @__PURE__ */ R(oe, { children: [
8076
+ !Qe() && /* @__PURE__ */ R(oe, { children: [
8077
8077
  r && /* @__PURE__ */ c(ki, { className: "order-3 mr-4 sm:mr-2" }),
8078
8078
  /* @__PURE__ */ c(vi, { className: "order-4 mr-4 sm:mr-2" }),
8079
8079
  /* @__PURE__ */ c(xi, { className: "order-5" })
@@ -8170,8 +8170,8 @@ const Qh = (e) => {
8170
8170
  header: se.ABOUT.TITLE_CLIENT,
8171
8171
  className: "prose-dark dark:prose-lighter",
8172
8172
  children: Er(e, {
8173
- [se.ABOUT.VERSION]: "8.9.4",
8174
- [se.ABOUT.BUILD_TIMESTAMP]: "03/29/2025 02:19 PM EDT"
8173
+ [se.ABOUT.VERSION]: "8.10.1",
8174
+ [se.ABOUT.BUILD_TIMESTAMP]: "03/31/2025 07:59 PM EDT"
8175
8175
  })
8176
8176
  }
8177
8177
  ) }),
@@ -8193,7 +8193,7 @@ const Qh = (e) => {
8193
8193
  }) => /* @__PURE__ */ c(
8194
8194
  Bt,
8195
8195
  {
8196
- animation: !Ke(),
8196
+ animation: !Qe(),
8197
8197
  open: e,
8198
8198
  onOpenChange: t,
8199
8199
  title: Qi,
@@ -8483,7 +8483,7 @@ const Qh = (e) => {
8483
8483
  return /* @__PURE__ */ c(
8484
8484
  Bt,
8485
8485
  {
8486
- animation: !Ke(),
8486
+ animation: !Qe(),
8487
8487
  open: e,
8488
8488
  onOpenChange: t,
8489
8489
  title: Zi,
@@ -8553,8 +8553,8 @@ const Qh = (e) => {
8553
8553
  {
8554
8554
  className: "prose-dark dark:prose-lighter mt-4",
8555
8555
  header: /* @__PURE__ */ c("h2", { className: "m-0", children: /* @__PURE__ */ R(Ar, { columnGap: 3, alignVertical: "center", children: [
8556
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(Ln, { size: "size-8" }) }),
8557
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c("div", { children: se.PREFERENCES.PASSKEY_TITLE }) })
8556
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(Ln, { size: "size-8" }) }),
8557
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c("div", { children: se.PREFERENCES.PASSKEY_TITLE }) })
8558
8558
  ] }) }),
8559
8559
  children: [
8560
8560
  /* @__PURE__ */ c("p", { children: se.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -8578,7 +8578,7 @@ const Qh = (e) => {
8578
8578
  }) => /* @__PURE__ */ c(
8579
8579
  Bt,
8580
8580
  {
8581
- animation: !Ke(),
8581
+ animation: !Qe(),
8582
8582
  open: e,
8583
8583
  onOpenChange: t,
8584
8584
  title: al,
@@ -8971,7 +8971,7 @@ const Am = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8971
8971
  ...I
8972
8972
  }, _) => {
8973
8973
  var x;
8974
- const E = L(null), T = km([_, E]), [C, S] = Ro(), [A, $] = Ro(), B = L(80), F = L(-25), M = L(null), W = L(30), G = L(null), J = Em({ id: e, prefix: `${Ii}-` }), [me, De] = V(0), [Ie, Ze] = V(0), [lt, qe] = V(
8974
+ const E = L(null), T = km([_, E]), [C, S] = Ro(), [A, $] = Ro(), B = L(80), F = L(-25), M = L(null), W = L(30), G = L(null), J = Em({ id: e, prefix: `${Ii}-` }), [me, De] = V(0), [Ie, et] = V(0), [lt, qe] = V(
8975
8975
  !!(!y && g)
8976
8976
  ), Be = `${t} error, ${g}`, we = Bm({
8977
8977
  className: o,
@@ -9005,7 +9005,7 @@ const Am = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
9005
9005
  return ge(() => {
9006
9006
  S && S.width && De(S.width + 18 + 10);
9007
9007
  }, [S]), ge(() => {
9008
- $ && $.width && Ze($.width + 18 + 10);
9008
+ $ && $.width && et($.width + 18 + 10);
9009
9009
  }, [$]), ge(() => {
9010
9010
  n || E && E.current && Ce !== void 0 && (E.current.style.height = "inherit", E.current.style.height = E.current.scrollHeight + "px");
9011
9011
  }, [Ce, n]), ge(() => {
@@ -9322,7 +9322,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9322
9322
  }, [n]), o ? /* @__PURE__ */ c(
9323
9323
  Bt,
9324
9324
  {
9325
- animation: !Ke(),
9325
+ animation: !Qe(),
9326
9326
  open: e,
9327
9327
  onOpenChange: N,
9328
9328
  title: ol,
@@ -9333,7 +9333,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9333
9333
  alignHorizontal: "flex-end",
9334
9334
  className: "pb-8 sm:pb-0",
9335
9335
  children: [
9336
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(
9336
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(
9337
9337
  Ht,
9338
9338
  {
9339
9339
  mode: "dark",
@@ -9343,7 +9343,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9343
9343
  children: "Cancel"
9344
9344
  }
9345
9345
  ) }),
9346
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(
9346
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(
9347
9347
  Ht,
9348
9348
  {
9349
9349
  mode: "dark",
@@ -9523,7 +9523,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9523
9523
  ) : null;
9524
9524
  }, Jm = Zo(() => import(
9525
9525
  /* webpackChunkName: "LazyChart" */
9526
- "./Chart.BJNElYmc.js"
9526
+ "./Chart.D8bJogho.js"
9527
9527
  )), Km = ({
9528
9528
  open: e,
9529
9529
  onOpenChange: t
@@ -9538,7 +9538,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9538
9538
  return /* @__PURE__ */ c(
9539
9539
  Bt,
9540
9540
  {
9541
- animation: !Ke(),
9541
+ animation: !Qe(),
9542
9542
  open: e,
9543
9543
  onOpenChange: t,
9544
9544
  title: cl,
@@ -9593,7 +9593,7 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9593
9593
  };
9594
9594
  return D(() => {
9595
9595
  (async () => {
9596
- if (!Ke())
9596
+ if (!Qe())
9597
9597
  return;
9598
9598
  const x = await r(), E = await Go(x, [jo.REASONING]);
9599
9599
  g(E);
@@ -9618,86 +9618,93 @@ const zm = "av-toggle", Vm = () => p("peer", "h-6", "w-11", "rounded-full"), Fm
9618
9618
  l && /* @__PURE__ */ c(pm, { open: l, onOpenChange: i }),
9619
9619
  d && /* @__PURE__ */ c(hm, { open: d, onOpenChange: f }),
9620
9620
  u && /* @__PURE__ */ c(Km, { open: u, onOpenChange: m }),
9621
- /* @__PURE__ */ c("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ R(Ar, { alignHorizontal: "space-between", alignVertical: "center", children: [
9622
- /* @__PURE__ */ R(at, { children: [
9623
- /* @__PURE__ */ c(tm, { className: " mr-4 sm:mr-2" }),
9624
- Ke() && /* @__PURE__ */ R(oe, { children: [
9625
- h && /* @__PURE__ */ c(ki, { className: "mr-4 sm:mr-2" }),
9626
- /* @__PURE__ */ c(vi, { className: "mr-4 sm:mr-2" }),
9627
- /* @__PURE__ */ c(xi, {})
9628
- ] })
9629
- ] }),
9630
- /* @__PURE__ */ c(at, { children: /* @__PURE__ */ c(
9631
- it,
9632
- {
9633
- label: "Profile, Settings, etc.",
9634
- mode: "light",
9635
- placement: "left",
9636
- trigger: /* @__PURE__ */ R(
9637
- Gr,
9621
+ /* @__PURE__ */ c("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ R(
9622
+ Ar,
9623
+ {
9624
+ alignHorizontal: "space-between",
9625
+ alignVertical: "center",
9626
+ rowGap: 0,
9627
+ columnGap: 0,
9628
+ children: [
9629
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(tm, { className: " mr-4 sm:mr-2" }) }),
9630
+ /* @__PURE__ */ c(Ke, { children: Qe() && /* @__PURE__ */ R(oe, { children: [
9631
+ h && /* @__PURE__ */ c(ki, { className: "mr-4 sm:mr-2" }),
9632
+ /* @__PURE__ */ c(vi, { className: "mr-4 sm:mr-2" }),
9633
+ /* @__PURE__ */ c(xi, {})
9634
+ ] }) }),
9635
+ /* @__PURE__ */ c(Ke, { children: /* @__PURE__ */ c(
9636
+ it,
9638
9637
  {
9639
- mode: "dark",
9640
- focusMode: "light",
9641
- trigger: /* @__PURE__ */ c(Se, { label: "Settings", children: /* @__PURE__ */ c(ic, {}) }),
9642
- defaultPlacement: "bottom-end",
9643
- children: [
9644
- /* @__PURE__ */ c(
9645
- Fe,
9646
- {
9647
- label: "Profile",
9648
- onClick: v,
9649
- icon: /* @__PURE__ */ c(tc, {})
9650
- }
9651
- ),
9652
- /* @__PURE__ */ c(
9653
- Fe,
9654
- {
9655
- label: "Settings",
9656
- onClick: w,
9657
- icon: /* @__PURE__ */ c(lc, {})
9658
- }
9659
- ),
9660
- /* @__PURE__ */ c(
9661
- Fe,
9662
- {
9663
- label: "History",
9664
- onClick: k,
9665
- icon: /* @__PURE__ */ c(Kl, {})
9666
- }
9667
- ),
9668
- /* @__PURE__ */ c(
9669
- Fe,
9670
- {
9671
- label: "Usage",
9672
- onClick: I,
9673
- icon: /* @__PURE__ */ c(Wl, {})
9674
- }
9675
- ),
9676
- /* @__PURE__ */ c(
9677
- Fe,
9678
- {
9679
- label: "About",
9680
- onClick: N,
9681
- icon: /* @__PURE__ */ c(Ql, {})
9682
- }
9683
- ),
9684
- !e && /* @__PURE__ */ R(oe, { children: [
9685
- /* @__PURE__ */ c(Kh, {}),
9686
- /* @__PURE__ */ c(
9687
- Fe,
9688
- {
9689
- label: "Log out",
9690
- onClick: _,
9691
- icon: /* @__PURE__ */ c("div", { className: "text-red-700", children: /* @__PURE__ */ c(Gl, { monotone: !0 }) })
9692
- }
9693
- )
9694
- ] })
9695
- ]
9638
+ label: "Profile, Settings, etc.",
9639
+ mode: "light",
9640
+ placement: "left",
9641
+ trigger: /* @__PURE__ */ R(
9642
+ Gr,
9643
+ {
9644
+ mode: "dark",
9645
+ focusMode: "light",
9646
+ trigger: /* @__PURE__ */ c(Se, { label: "Settings", children: /* @__PURE__ */ c(ic, {}) }),
9647
+ defaultPlacement: "bottom-end",
9648
+ children: [
9649
+ /* @__PURE__ */ c(
9650
+ Fe,
9651
+ {
9652
+ label: "Profile",
9653
+ onClick: v,
9654
+ icon: /* @__PURE__ */ c(tc, {})
9655
+ }
9656
+ ),
9657
+ /* @__PURE__ */ c(
9658
+ Fe,
9659
+ {
9660
+ label: "Settings",
9661
+ onClick: w,
9662
+ icon: /* @__PURE__ */ c(lc, {})
9663
+ }
9664
+ ),
9665
+ /* @__PURE__ */ c(
9666
+ Fe,
9667
+ {
9668
+ label: "History",
9669
+ onClick: k,
9670
+ icon: /* @__PURE__ */ c(Kl, {})
9671
+ }
9672
+ ),
9673
+ /* @__PURE__ */ c(
9674
+ Fe,
9675
+ {
9676
+ label: "Usage",
9677
+ onClick: I,
9678
+ icon: /* @__PURE__ */ c(Wl, {})
9679
+ }
9680
+ ),
9681
+ /* @__PURE__ */ c(
9682
+ Fe,
9683
+ {
9684
+ label: "About",
9685
+ onClick: N,
9686
+ icon: /* @__PURE__ */ c(Ql, {})
9687
+ }
9688
+ ),
9689
+ !e && /* @__PURE__ */ R(oe, { children: [
9690
+ /* @__PURE__ */ c(Kh, {}),
9691
+ /* @__PURE__ */ c(
9692
+ Fe,
9693
+ {
9694
+ label: "Log out",
9695
+ onClick: _,
9696
+ icon: /* @__PURE__ */ c("div", { className: "text-red-700", children: /* @__PURE__ */ c(Gl, { monotone: !0 }) })
9697
+ }
9698
+ )
9699
+ ] })
9700
+ ]
9701
+ }
9702
+ )
9696
9703
  }
9697
- )
9698
- }
9699
- ) })
9700
- ] }) })
9704
+ ) })
9705
+ ]
9706
+ }
9707
+ ) })
9701
9708
  ] });
9702
9709
  };
9703
9710
  /*!
@@ -11107,7 +11114,7 @@ const qp = ({ content: e }) => /* @__PURE__ */ c(
11107
11114
  ), Yp = Zo(
11108
11115
  () => import(
11109
11116
  /* webpackChunkName: "LazyMessageAssistant" */
11110
- "./ChatBubbleAssistant.DmEWiOdU.js"
11117
+ "./ChatBubbleAssistant.wNhYQtEd.js"
11111
11118
  ).then((e) => e.ChatBubbleAssistant)
11112
11119
  ), Jp = U.memo(
11113
11120
  ({
@@ -11138,12 +11145,13 @@ const qp = ({ content: e }) => /* @__PURE__ */ c(
11138
11145
  t == null ? void 0 : t.map((r, a) => {
11139
11146
  let n;
11140
11147
  const o = `${a}-${r.role}`, s = r.parts.map((i) => {
11148
+ var d;
11141
11149
  switch (i.type) {
11142
11150
  case "text":
11143
11151
  return i.text;
11144
11152
  case "tool-invocation":
11145
- if (i.toolInvocation.state === "result")
11146
- return n = i.toolInvocation.toolName, `
11153
+ if (i.toolInvocation.state === "result" || i.toolInvocation.state === "partial-call" || i.toolInvocation.state === "call")
11154
+ return n = ((d = i == null ? void 0 : i.toolInvocation) == null ? void 0 : d.toolName) || "", `
11147
11155
  `;
11148
11156
  }
11149
11157
  }), l = s && s.length > 0 ? s.filter(Boolean).join(`