@slashid/remix 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -18,15 +18,15 @@ const Rl = (e) => e ? e.split(";").filter((n) => n.includes("=")).map((n) => n.s
18
18
  ...n,
19
19
  [s]: l
20
20
  };
21
- }, {})["@slashid/USER_TOKEN"] : void 0, O6 = (e) => {
21
+ }, {})["@slashid/USER_TOKEN"] : void 0, N6 = (e) => {
22
22
  const { user: t } = e.context;
23
23
  return t;
24
24
  }, Uu = (e) => e === null ? !1 : typeof e.body < "u" && typeof e.headers == "object" && typeof e.status == "number" && typeof e.statusText == "string", ju = ({ status: e }) => e >= 300 && e < 400;
25
25
  function Ze(e, t, r, n) {
26
26
  Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 });
27
27
  }
28
- var Il = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}, Xo = {}, Hn = {}, Zr = Il.parcelRequire91fc;
29
- Zr == null && (Zr = function(e) {
28
+ var Il = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}, Xo = {}, Hn = {}, Yr = Il.parcelRequire91fc;
29
+ Yr == null && (Yr = function(e) {
30
30
  if (e in Xo)
31
31
  return Xo[e].exports;
32
32
  if (e in Hn) {
@@ -37,10 +37,10 @@ Zr == null && (Zr = function(e) {
37
37
  }
38
38
  var n = new Error("Cannot find module '" + e + "'");
39
39
  throw n.code = "MODULE_NOT_FOUND", n;
40
- }, Zr.register = function(t, r) {
40
+ }, Yr.register = function(t, r) {
41
41
  Hn[t] = r;
42
- }, Il.parcelRequire91fc = Zr);
43
- var Vu = Zr.register;
42
+ }, Il.parcelRequire91fc = Yr);
43
+ var Vu = Yr.register;
44
44
  Vu("lDZ5d", function(e, t) {
45
45
  (function(r, n) {
46
46
  var o = "1.0.37", a = "", i = "?", s = "function", l = "undefined", f = "object", u = "string", y = "major", m = "model", g = "name", h = "type", p = "vendor", v = "version", b = "architecture", _ = "console", k = "mobile", q = "tablet", C = "smarttv", w = "wearable", $ = "embedded", z = 500, L = "Amazon", K = "Apple", U = "ASUS", G = "BlackBerry", B = "Browser", M = "Chrome", re = "Edge", ee = "Firefox", T = "Google", Z = "Huawei", I = "LG", D = "Microsoft", A = "Motorola", J = "Opera", N = "Samsung", Y = "Sharp", ge = "Sony", _e = "Xiaomi", W = "Zebra", me = "Facebook", Re = "Chromium OS", se = "Mac OS", le = function(be, ze) {
@@ -3245,7 +3245,7 @@ function mh(e) {
3245
3245
  redirect_target: e.redirect_target
3246
3246
  };
3247
3247
  }
3248
- const Yr = {
3248
+ const Xr = {
3249
3249
  AuthenticationSucceededV1: "AuthenticationSucceeded_v1",
3250
3250
  AuthenticationFailedV1: "AuthenticationFailed_v1",
3251
3251
  PersonCreatedV1: "PersonCreated_v1",
@@ -3435,7 +3435,7 @@ function Th(e, t) {
3435
3435
  throw new Error(`No variant of ExportedCredential exists with 'type=${e.type}'`);
3436
3436
  }
3437
3437
  }
3438
- const Xr = {
3438
+ const Qr = {
3439
3439
  Popup: "popup",
3440
3440
  Redirect: "redirect"
3441
3441
  };
@@ -4605,7 +4605,7 @@ function n1(e, t, r) {
4605
4605
  }
4606
4606
  return r1(n);
4607
4607
  }
4608
- var Qr = n1;
4608
+ var en = n1;
4609
4609
  function Tr(e) {
4610
4610
  const t = e.replace(/_/g, "/").replace(/-/g, "+"), r = atob(t);
4611
4611
  return Uint8Array.from(r, (n) => n.charCodeAt(0));
@@ -4771,7 +4771,7 @@ function g1(e) {
4771
4771
  };
4772
4772
  throw new TypeError("'environment' must be either a string or an object");
4773
4773
  }
4774
- function Fr(e) {
4774
+ function Ur(e) {
4775
4775
  const t = m1(e);
4776
4776
  var r, n;
4777
4777
  return {
@@ -4787,7 +4787,7 @@ class jl {
4787
4787
  }
4788
4788
  }
4789
4789
  async function Vl() {
4790
- const e = Qr(), t = Qr() + Qr(), r = new TextEncoder().encode(t), n = await window.crypto.subtle.digest("SHA-256", r), o = ar(new Uint8Array(n));
4790
+ const e = en(), t = en() + en(), r = new TextEncoder().encode(t), n = await window.crypto.subtle.digest("SHA-256", r), o = ar(new Uint8Array(n));
4791
4791
  return window.localStorage.setItem(Ca, e), window.localStorage.setItem(qa, t), {
4792
4792
  csrf_token: e,
4793
4793
  pkce_code_challenge: o
@@ -4799,9 +4799,9 @@ async function Bl(e) {
4799
4799
  let t = {};
4800
4800
  const { client_id: r, provider: n } = e.options;
4801
4801
  let { ux_mode: o, redirect_target: a } = e.options;
4802
- if (o || (o = Xr.Popup), a || (a = window.location.href), o === Xr.Redirect && !Xa(a))
4802
+ if (o || (o = Qr.Popup), a || (a = window.location.href), o === Qr.Redirect && !Xa(a))
4803
4803
  throw new Error(`If OIDC ux_mode was set to "redirect" a "redirect_target" is required, got ${a}`);
4804
- if (o === Xr.Popup) {
4804
+ if (o === Qr.Popup) {
4805
4805
  const [l, f] = Nl();
4806
4806
  t = {
4807
4807
  ...t,
@@ -4873,7 +4873,7 @@ async function _1(e) {
4873
4873
  options: {
4874
4874
  provider: r,
4875
4875
  client_id: n,
4876
- ux_mode: Xr.Redirect,
4876
+ ux_mode: Qr.Redirect,
4877
4877
  redirect_target: w1(window.location)
4878
4878
  }
4879
4879
  });
@@ -5271,7 +5271,7 @@ function dr({ baseDelayMs: e, maxRetries: t }) {
5271
5271
  };
5272
5272
  }
5273
5273
  const ri = async ({ environment: e, oid: t }) => {
5274
- const { baseURL: r } = Fr({
5274
+ const { baseURL: r } = Ur({
5275
5275
  environment: e
5276
5276
  }), n = new Ol(new Ot({
5277
5277
  ...Nt,
@@ -5299,7 +5299,7 @@ function R1(e) {
5299
5299
  }
5300
5300
  const sc = (e) => {
5301
5301
  Qa(e);
5302
- const t = Fr(e);
5302
+ const t = Ur(e);
5303
5303
  R1(t);
5304
5304
  const { baseURL: r, sdkURL: n, oid: o } = t;
5305
5305
  return {
@@ -5313,10 +5313,10 @@ const sc = (e) => {
5313
5313
  function I1(e) {
5314
5314
  return e ? typeof e.user_token == "string" : !1;
5315
5315
  }
5316
- class Ur {
5316
+ class jr {
5317
5317
  static async createAnonymousUser(t) {
5318
5318
  const r = sc(t), n = await ri(r);
5319
- return new Ur(n, t);
5319
+ return new jr(n, t);
5320
5320
  }
5321
5321
  /**
5322
5322
  * Must be called in the constructor, before anything else happens.
@@ -5335,7 +5335,7 @@ class Ur {
5335
5335
  } catch (n) {
5336
5336
  throw new TypeError(n.toString());
5337
5337
  }
5338
- this._clientOptions = Fr(r ?? {}), this.initializeClients();
5338
+ this._clientOptions = Ur(r ?? {}), this.initializeClients();
5339
5339
  }
5340
5340
  /**
5341
5341
  * Use a new token to update the internal state of the user. Same set of options is reused.
@@ -5958,7 +5958,7 @@ class $n extends Po {
5958
5958
  }
5959
5959
  }
5960
5960
  $n.LOCAL_STORAGE_WEBAUTHN_CREDENTIAL_ID_KEY_V2 = "SLASHID_WEBAUTHN_CREDENTIAL_ID_V2";
5961
- class co extends Ur {
5961
+ class co extends jr {
5962
5962
  /**
5963
5963
  * Request the user to authenticate with the given method. This method is essentially equivalent to
5964
5964
  * {@link SlashID.id}, but since the user is already authenticated you can omit the `handle` or
@@ -6075,7 +6075,7 @@ const N1 = /firefox|fxios|deno/i, M1 = (e, t) => ({
6075
6075
  });
6076
6076
  class cc {
6077
6077
  createCorrelationID() {
6078
- return Qr();
6078
+ return en();
6079
6079
  }
6080
6080
  createEventMetadata({ location: t, userAgent: r } = {
6081
6081
  location: "/",
@@ -6094,7 +6094,7 @@ class cc {
6094
6094
  }
6095
6095
  trackPersonIdentified({ user: t }) {
6096
6096
  const r = {
6097
- event_name: Yr.PersonIdentifiedV1,
6097
+ event_name: Xr.PersonIdentifiedV1,
6098
6098
  person_id: t.ID
6099
6099
  }, n = {
6100
6100
  ...this.createEventMetadata(),
@@ -6103,8 +6103,8 @@ class cc {
6103
6103
  this.sendEvent(n);
6104
6104
  }
6105
6105
  trackPersonLoggedOut(t) {
6106
- const r = new Ur(t.token, this.config), n = {
6107
- event_name: Yr.PersonLoggedOutV1,
6106
+ const r = new jr(t.token, this.config), n = {
6107
+ event_name: Xr.PersonLoggedOutV1,
6108
6108
  person_id: r.ID
6109
6109
  }, o = {
6110
6110
  ...this.createEventMetadata(),
@@ -6151,7 +6151,7 @@ class cc {
6151
6151
  */
6152
6152
  trackVirtualPageView(t) {
6153
6153
  const { url: r = "" } = t, n = {
6154
- event_name: Yr.VirtualPageLoadedV1
6154
+ event_name: Xr.VirtualPageLoadedV1
6155
6155
  };
6156
6156
  var o;
6157
6157
  const a = {
@@ -6164,7 +6164,7 @@ class cc {
6164
6164
  this.sendEvent(a);
6165
6165
  }
6166
6166
  constructor({ options: t, user: r, transport: n }) {
6167
- t && Qa(t), this.config = Fr(t ?? {}), this.transport = n ?? M1(fetch, this.config), this.eventsAPI = new Hp(new Ot({
6167
+ t && Qa(t), this.config = Ur(t ?? {}), this.transport = n ?? M1(fetch, this.config), this.eventsAPI = new Hp(new Ot({
6168
6168
  ...Nt,
6169
6169
  basePath: this.config.baseURL
6170
6170
  })), this.user = r, this.correlationId = this.createCorrelationID();
@@ -6179,7 +6179,7 @@ class U1 extends cc {
6179
6179
  return n;
6180
6180
  } catch {
6181
6181
  }
6182
- const r = Qr();
6182
+ const r = en();
6183
6183
  try {
6184
6184
  sessionStorage.setItem(t, r);
6185
6185
  } catch {
@@ -6227,7 +6227,7 @@ class U1 extends cc {
6227
6227
  const n = this.sdk.getUser(t.token);
6228
6228
  this.identify(n);
6229
6229
  const o = {
6230
- event_name: Yr.AuthenticationSucceededV1,
6230
+ event_name: Xr.AuthenticationSucceededV1,
6231
6231
  person_id: n.ID,
6232
6232
  success_authn_method: (r = t.authenticationFactor) === null || r === void 0 ? void 0 : r.method,
6233
6233
  authenticated_methods: n.authentication,
@@ -6243,7 +6243,7 @@ class U1 extends cc {
6243
6243
  trackAuthenticationFailure(t) {
6244
6244
  var r;
6245
6245
  const n = t.previousToken ? this.sdk.getUser(t.previousToken) : void 0, o = {
6246
- event_name: Yr.AuthenticationFailedV1,
6246
+ event_name: Xr.AuthenticationFailedV1,
6247
6247
  failed_authn_method: (r = t.authenticationFactor) === null || r === void 0 ? void 0 : r.method,
6248
6248
  authenticated_methods: n == null ? void 0 : n.authentication,
6249
6249
  failure_reason: t.errorText,
@@ -6266,7 +6266,7 @@ class U1 extends cc {
6266
6266
  const t = {
6267
6267
  ...this.createEventMetadata(),
6268
6268
  event_data: {
6269
- event_name: Yr.SlashIdsdkLoadedV1
6269
+ event_name: Xr.SlashIdsdkLoadedV1
6270
6270
  }
6271
6271
  };
6272
6272
  this.sendEvent(t);
@@ -6298,7 +6298,7 @@ class U1 extends cc {
6298
6298
  baseURL: t.baseURL,
6299
6299
  sdkURL: t.sdkURL,
6300
6300
  analyticsEnabled: !0
6301
- }, o = Fr(n);
6301
+ }, o = Ur(n);
6302
6302
  super({
6303
6303
  options: n,
6304
6304
  user: r,
@@ -6720,7 +6720,7 @@ class xn {
6720
6720
  });
6721
6721
  }
6722
6722
  async processOIDCChallenge(t, r) {
6723
- if (r.options.ux_mode === Xr.Popup) {
6723
+ if (r.options.ux_mode === Qr.Popup) {
6724
6724
  var n;
6725
6725
  const a = r.extras.setPopupUrl(t.options.auth_code_url);
6726
6726
  if (!(!(t == null || (n = t.options) === null || n === void 0) && n.auth_code_url)) {
@@ -6735,7 +6735,7 @@ class xn {
6735
6735
  ...r.options,
6736
6736
  reason: os.PopupBlocked
6737
6737
  }), new Error("OIDC flow unsuccesful!");
6738
- } else if (r.options.ux_mode === Xr.Redirect)
6738
+ } else if (r.options.ux_mode === Qr.Redirect)
6739
6739
  window.location.assign(t.options.auth_code_url);
6740
6740
  else
6741
6741
  throw new Error(`Unsupported OAuth ux_mode - got ${r.options.ux_mode}`);
@@ -7031,7 +7031,7 @@ class cs {
7031
7031
  });
7032
7032
  }
7033
7033
  constructor(t, r) {
7034
- this.slashID = t, this.flowId = Qr(), this.emitter = r;
7034
+ this.slashID = t, this.flowId = en(), this.emitter = r;
7035
7035
  }
7036
7036
  }
7037
7037
  function H1() {
@@ -7065,7 +7065,7 @@ function H1() {
7065
7065
  use: a
7066
7066
  };
7067
7067
  }
7068
- class ni extends Ur {
7068
+ class ni extends jr {
7069
7069
  /**
7070
7070
  * Authenticates the [AnonymousUser], on success the user is now a permanently registered user.
7071
7071
  *
@@ -7262,7 +7262,7 @@ class ko {
7262
7262
  } catch (a) {
7263
7263
  throw await this.processError(a, {}), a;
7264
7264
  }
7265
- if (this.userFromURL = new Ur(o, {
7265
+ if (this.userFromURL = new jr(o, {
7266
7266
  baseURL: this.baseURL,
7267
7267
  sdkURL: this.sdkURL
7268
7268
  }), !((t = this.userFromURL.authentications) === null || t === void 0) && t.length) {
@@ -7775,7 +7775,7 @@ class ko {
7775
7775
  * @throws `TypeError` If the given `options`, if defined, fail validation
7776
7776
  */
7777
7777
  constructor(t) {
7778
- t && Qa(t), this.config = Fr(t ?? {});
7778
+ t && Qa(t), this.config = Ur(t ?? {});
7779
7779
  const { baseURL: r, sdkURL: n, oid: o, analyticsEnabled: a = !0 } = this.config;
7780
7780
  this.baseURL = r, this.sdkURL = n, this.oid = o, this.authFlow = null, this.recoveryFlow = null, this.authnClient = new $r(new Ot({
7781
7781
  ...Nt,
@@ -7802,7 +7802,7 @@ class ko {
7802
7802
  }) : void 0, this.listenForEvents();
7803
7803
  }
7804
7804
  }
7805
- var W1 = Zr("lDZ5d");
7805
+ var W1 = Yr("lDZ5d");
7806
7806
  const K1 = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, us = (e) => {
7807
7807
  if (typeof e != "string")
7808
7808
  throw new TypeError("Invalid argument expected string");
@@ -8055,7 +8055,7 @@ class rm {
8055
8055
  };
8056
8056
  }
8057
8057
  constructor({ origin: t = "http://localhost", environment: r, fetchApi: n } = {}) {
8058
- if (this.config = Fr({
8058
+ if (this.config = Ur({
8059
8059
  environment: r
8060
8060
  }), this.fetchApi = n || fetch, !Xa(t))
8061
8061
  throw new mt({
@@ -8079,7 +8079,7 @@ class rm {
8079
8079
  }
8080
8080
  }
8081
8081
  const oi = {
8082
- User: Ur,
8082
+ User: jr,
8083
8083
  Analytics: cc,
8084
8084
  createAnonymousUserToken: ri,
8085
8085
  ChallengeProcessor: rm
@@ -8087,7 +8087,7 @@ const oi = {
8087
8087
  ({
8088
8088
  ...He
8089
8089
  });
8090
- const an = {
8090
+ const Nr = {
8091
8091
  ...He
8092
8092
  }, nm = {
8093
8093
  runtimeSupportsBestPasskeyUX: Q1,
@@ -8502,7 +8502,7 @@ function lm() {
8502
8502
  });
8503
8503
  }
8504
8504
  }
8505
- function Br(c, x) {
8505
+ function Hr(c, x) {
8506
8506
  {
8507
8507
  var R = function() {
8508
8508
  ct || (ct = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
@@ -8555,7 +8555,7 @@ function lm() {
8555
8555
  }
8556
8556
  if (V || De) {
8557
8557
  var ve = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
8558
- V && Ft(j, ve), De && Br(j, ve);
8558
+ V && Ft(j, ve), De && Hr(j, ve);
8559
8559
  }
8560
8560
  return Dr(c, V, De, X, O, oe.current, j);
8561
8561
  }
@@ -10492,7 +10492,7 @@ const Mn = "Accordion", _g = [
10492
10492
  "ArrowUp",
10493
10493
  "ArrowLeft",
10494
10494
  "ArrowRight"
10495
- ], [Ic, kg, xg] = fi(Mn), [Lo, N6] = gr(Mn, [
10495
+ ], [Ic, kg, xg] = fi(Mn), [Lo, M6] = gr(Mn, [
10496
10496
  xg,
10497
10497
  Rc
10498
10498
  ]);
@@ -10516,7 +10516,7 @@ Cg.propTypes = {
10516
10516
  ].includes(e.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : e.type === "multiple" && typeof t == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : e.type === "single" && Array.isArray(t) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
10517
10517
  }
10518
10518
  };
10519
- const [zc, M6] = Lo(Mn), [Dc, F6] = Lo(Mn, {
10519
+ const [zc, F6] = Lo(Mn), [Dc, U6] = Lo(Mn, {
10520
10520
  collapsible: !1
10521
10521
  }), qg = /* @__PURE__ */ he.forwardRef((e, t) => {
10522
10522
  const { value: r, defaultValue: n, onValueChange: o = () => {
@@ -10581,7 +10581,7 @@ const [zc, M6] = Lo(Mn), [Dc, F6] = Lo(Mn, {
10581
10581
  }, /* @__PURE__ */ he.createElement(Pc, Ee({}, a, {
10582
10582
  ref: t
10583
10583
  }))));
10584
- }), [$g, U6] = Lo(Mn), Pc = /* @__PURE__ */ he.forwardRef((e, t) => {
10584
+ }), [$g, j6] = Lo(Mn), Pc = /* @__PURE__ */ he.forwardRef((e, t) => {
10585
10585
  const { __scopeAccordion: r, disabled: n, dir: o, orientation: a = "vertical", ...i } = e, s = he.useRef(null), l = ut(s, t), f = kg(r), u = To(o) === "ltr", y = je(e.onKeyDown, (m) => {
10586
10586
  var g;
10587
10587
  if (!_g.includes(m.key))
@@ -10946,7 +10946,7 @@ if (typeof window < "u")
10946
10946
  } catch {
10947
10947
  Pa = !1;
10948
10948
  }
10949
- var Hr = Pa ? { passive: !1 } : !1, Qg = function(e) {
10949
+ var Wr = Pa ? { passive: !1 } : !1, Qg = function(e) {
10950
10950
  return e.tagName === "TEXTAREA";
10951
10951
  }, Nc = function(e, t) {
10952
10952
  var r = window.getComputedStyle(e);
@@ -11016,7 +11016,7 @@ var Hr = Pa ? { passive: !1 } : !1, Qg = function(e) {
11016
11016
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
11017
11017
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
11018
11018
  `);
11019
- }, l0 = 0, Wr = [];
11019
+ }, l0 = 0, Kr = [];
11020
11020
  function c0(e) {
11021
11021
  var t = fe.useRef([]), r = fe.useRef([0, 0]), n = fe.useRef(), o = fe.useState(l0++)[0], a = fe.useState(function() {
11022
11022
  return Oc();
@@ -11053,7 +11053,7 @@ function c0(e) {
11053
11053
  return a0(L, v, p, L === "h" ? k : q, !0);
11054
11054
  }, []), l = fe.useCallback(function(p) {
11055
11055
  var v = p;
11056
- if (!(!Wr.length || Wr[Wr.length - 1] !== a)) {
11056
+ if (!(!Kr.length || Kr[Kr.length - 1] !== a)) {
11057
11057
  var b = "deltaY" in v ? Cs(v) : Zn(v), _ = t.current.filter(function(C) {
11058
11058
  return C.name === v.type && C.target === v.target && i0(C.delta, b);
11059
11059
  })[0];
@@ -11083,14 +11083,14 @@ function c0(e) {
11083
11083
  f(p.type, Zn(p), p.target, s(p, e.lockRef.current));
11084
11084
  }, []);
11085
11085
  fe.useEffect(function() {
11086
- return Wr.push(a), e.setCallbacks({
11086
+ return Kr.push(a), e.setCallbacks({
11087
11087
  onScrollCapture: y,
11088
11088
  onWheelCapture: y,
11089
11089
  onTouchMoveCapture: m
11090
- }), document.addEventListener("wheel", l, Hr), document.addEventListener("touchmove", l, Hr), document.addEventListener("touchstart", u, Hr), function() {
11091
- Wr = Wr.filter(function(p) {
11090
+ }), document.addEventListener("wheel", l, Wr), document.addEventListener("touchmove", l, Wr), document.addEventListener("touchstart", u, Wr), function() {
11091
+ Kr = Kr.filter(function(p) {
11092
11092
  return p !== a;
11093
- }), document.removeEventListener("wheel", l, Hr), document.removeEventListener("touchmove", l, Hr), document.removeEventListener("touchstart", u, Hr);
11093
+ }), document.removeEventListener("wheel", l, Wr), document.removeEventListener("touchmove", l, Wr), document.removeEventListener("touchstart", u, Wr);
11094
11094
  };
11095
11095
  }, []);
11096
11096
  var g = e.removeScrollBar, h = e.inert;
@@ -11111,7 +11111,7 @@ var u0 = function(e) {
11111
11111
  return null;
11112
11112
  var t = Array.isArray(e) ? e[0] : e;
11113
11113
  return t.ownerDocument.body;
11114
- }, Kr = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = {}, ua = 0, jc = function(e) {
11114
+ }, Gr = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = {}, ua = 0, jc = function(e) {
11115
11115
  return e && (e.host || jc(e.parentNode));
11116
11116
  }, f0 = function(e, t) {
11117
11117
  return t.map(function(r) {
@@ -11134,16 +11134,16 @@ var u0 = function(e) {
11134
11134
  if (s.has(m))
11135
11135
  u(m);
11136
11136
  else {
11137
- var g = m.getAttribute(n), h = g !== null && g !== "false", p = (Kr.get(m) || 0) + 1, v = (a.get(m) || 0) + 1;
11138
- Kr.set(m, p), a.set(m, v), i.push(m), p === 1 && h && Yn.set(m, !0), v === 1 && m.setAttribute(r, "true"), h || m.setAttribute(n, "true");
11137
+ var g = m.getAttribute(n), h = g !== null && g !== "false", p = (Gr.get(m) || 0) + 1, v = (a.get(m) || 0) + 1;
11138
+ Gr.set(m, p), a.set(m, v), i.push(m), p === 1 && h && Yn.set(m, !0), v === 1 && m.setAttribute(r, "true"), h || m.setAttribute(n, "true");
11139
11139
  }
11140
11140
  });
11141
11141
  };
11142
11142
  return u(t), s.clear(), ua++, function() {
11143
11143
  i.forEach(function(y) {
11144
- var m = Kr.get(y) - 1, g = a.get(y) - 1;
11145
- Kr.set(y, m), a.set(y, g), m || (Yn.has(y) || y.removeAttribute(n), Yn.delete(y)), g || y.removeAttribute(r);
11146
- }), ua--, ua || (Kr = /* @__PURE__ */ new WeakMap(), Kr = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = {});
11144
+ var m = Gr.get(y) - 1, g = a.get(y) - 1;
11145
+ Gr.set(y, m), a.set(y, g), m || (Yn.has(y) || y.removeAttribute(n), Yn.delete(y)), g || y.removeAttribute(r);
11146
+ }), ua--, ua || (Gr = /* @__PURE__ */ new WeakMap(), Gr = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Xn = {});
11147
11147
  };
11148
11148
  }, p0 = function(e, t, r) {
11149
11149
  r === void 0 && (r = "data-aria-hidden");
@@ -11152,7 +11152,7 @@ var u0 = function(e) {
11152
11152
  return null;
11153
11153
  };
11154
11154
  };
11155
- const Vc = "Dialog", [Bc, j6] = gr(Vc);
11155
+ const Vc = "Dialog", [Bc, V6] = gr(Vc);
11156
11156
  Bc(Vc);
11157
11157
  const m0 = "DialogPortal";
11158
11158
  Bc(m0, {
@@ -11199,7 +11199,7 @@ function v0(e) {
11199
11199
  e
11200
11200
  ]), t;
11201
11201
  }
11202
- const Hc = "Switch", [y0, V6] = gr(Hc);
11202
+ const Hc = "Switch", [y0, B6] = gr(Hc);
11203
11203
  y0(Hc);
11204
11204
  var b0 = "q9c0is3", w0 = "q9c0is5", _0 = { blue: "q9c0is6 q9c0is4", red: "q9c0is7 q9c0is4", primary: "q9c0is8 q9c0is4" }, k0 = "q9c0isa", x0 = { blue: "q9c0isb q9c0is9", red: "q9c0isc q9c0is9", primary: "q9c0isd q9c0is9" }, C0 = "q9c0isf", q0 = { blue: "q9c0isg q9c0ise", red: "q9c0ish q9c0ise", primary: "q9c0isi q9c0ise" }, S0 = "q9c0isj";
11205
11205
  const Fn = ({
@@ -12481,7 +12481,7 @@ function Xc(e) {
12481
12481
  function bi(e) {
12482
12482
  return hr(e) ? e : e.contextElement;
12483
12483
  }
12484
- function en(e) {
12484
+ function tn(e) {
12485
12485
  const t = bi(e);
12486
12486
  if (!Yt(t))
12487
12487
  return Rr(1);
@@ -12507,18 +12507,18 @@ function Qc(e) {
12507
12507
  function yv(e, t, r) {
12508
12508
  return t === void 0 && (t = !1), !r || t && r !== Rt(e) ? !1 : t;
12509
12509
  }
12510
- function Nr(e, t, r, n) {
12510
+ function Mr(e, t, r, n) {
12511
12511
  t === void 0 && (t = !1), r === void 0 && (r = !1);
12512
12512
  const o = e.getBoundingClientRect(), a = bi(e);
12513
12513
  let i = Rr(1);
12514
- t && (n ? hr(n) && (i = en(n)) : i = en(e));
12514
+ t && (n ? hr(n) && (i = tn(n)) : i = tn(e));
12515
12515
  const s = yv(a, r, n) ? Qc(a) : Rr(0);
12516
12516
  let l = (o.left + s.x) / i.x, f = (o.top + s.y) / i.y, u = o.width / i.x, y = o.height / i.y;
12517
12517
  if (a) {
12518
12518
  const m = Rt(a), g = n && hr(n) ? Rt(n) : n;
12519
12519
  let h = m.frameElement;
12520
12520
  for (; h && n && g !== m; ) {
12521
- const p = en(h), v = h.getBoundingClientRect(), b = Mt(h), _ = v.left + (h.clientLeft + parseFloat(b.paddingLeft)) * p.x, k = v.top + (h.clientTop + parseFloat(b.paddingTop)) * p.y;
12521
+ const p = tn(h), v = h.getBoundingClientRect(), b = Mt(h), _ = v.left + (h.clientLeft + parseFloat(b.paddingLeft)) * p.x, k = v.top + (h.clientTop + parseFloat(b.paddingTop)) * p.y;
12522
12522
  l *= p.x, f *= p.y, u *= p.x, y *= p.y, l += _, f += k, h = Rt(h).frameElement;
12523
12523
  }
12524
12524
  }
@@ -12544,8 +12544,8 @@ function bv(e) {
12544
12544
  }, s = Rr(1);
12545
12545
  const l = Rr(0);
12546
12546
  if ((o || !o && n !== "fixed") && ((Ir(r) !== "body" || Un(a)) && (i = Mo(r)), Yt(r))) {
12547
- const f = Nr(r);
12548
- s = en(r), l.x = f.x + r.clientLeft, l.y = f.y + r.clientTop;
12547
+ const f = Mr(r);
12548
+ s = tn(r), l.x = f.x + r.clientLeft, l.y = f.y + r.clientTop;
12549
12549
  }
12550
12550
  return {
12551
12551
  width: t.width * s.x,
@@ -12558,7 +12558,7 @@ function wv(e) {
12558
12558
  return Array.from(e.getClientRects());
12559
12559
  }
12560
12560
  function ed(e) {
12561
- return Nr(vr(e)).left + Mo(e).scrollLeft;
12561
+ return Mr(vr(e)).left + Mo(e).scrollLeft;
12562
12562
  }
12563
12563
  function _v(e) {
12564
12564
  const t = vr(e), r = Mo(e), n = e.ownerDocument.body, o = Et(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = Et(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
@@ -12587,7 +12587,7 @@ function kv(e, t) {
12587
12587
  };
12588
12588
  }
12589
12589
  function xv(e, t) {
12590
- const r = Nr(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = Yt(e) ? en(e) : Rr(1), i = e.clientWidth * a.x, s = e.clientHeight * a.y, l = o * a.x, f = n * a.y;
12590
+ const r = Mr(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = Yt(e) ? tn(e) : Rr(1), i = e.clientWidth * a.x, s = e.clientHeight * a.y, l = o * a.x, f = n * a.y;
12591
12591
  return {
12592
12592
  width: i,
12593
12593
  height: s,
@@ -12652,7 +12652,7 @@ function Sv(e) {
12652
12652
  return Xc(e);
12653
12653
  }
12654
12654
  function $v(e, t, r) {
12655
- const n = Yt(t), o = vr(t), a = r === "fixed", i = Nr(e, !0, a, t);
12655
+ const n = Yt(t), o = vr(t), a = r === "fixed", i = Mr(e, !0, a, t);
12656
12656
  let s = {
12657
12657
  scrollLeft: 0,
12658
12658
  scrollTop: 0
@@ -12660,7 +12660,7 @@ function $v(e, t, r) {
12660
12660
  const l = Rr(0);
12661
12661
  if (n || !n && !a)
12662
12662
  if ((Ir(t) !== "body" || Un(o)) && (s = Mo(t)), n) {
12663
- const f = Nr(t, !0, a, t);
12663
+ const f = Mr(t, !0, a, t);
12664
12664
  l.x = f.x + t.clientLeft, l.y = f.y + t.clientTop;
12665
12665
  } else
12666
12666
  o && (l.x = ed(o));
@@ -12710,7 +12710,7 @@ const Iv = {
12710
12710
  getElementRects: Ev,
12711
12711
  getClientRects: wv,
12712
12712
  getDimensions: Sv,
12713
- getScale: en,
12713
+ getScale: tn,
12714
12714
  isElement: hr,
12715
12715
  isRTL: Rv
12716
12716
  };
@@ -12781,10 +12781,10 @@ function Dv(e, t, r, n) {
12781
12781
  g && g.observe(t);
12782
12782
  })), r();
12783
12783
  }), f && !l && g.observe(f), g.observe(t));
12784
- let h, p = l ? Nr(e) : null;
12784
+ let h, p = l ? Mr(e) : null;
12785
12785
  l && v();
12786
12786
  function v() {
12787
- const b = Nr(e);
12787
+ const b = Mr(e);
12788
12788
  p && (b.x !== p.x || b.y !== p.y || b.width !== p.width || b.height !== p.height) && r(), p = b, h = requestAnimationFrame(v);
12789
12789
  }
12790
12790
  return r(), () => {
@@ -12984,7 +12984,7 @@ const od = "Popper", [ad, id] = gr(od), [Lv, sd] = ad(od), Ov = (e) => {
12984
12984
  }), n ? null : /* @__PURE__ */ Q(st.div, Ee({}, o, {
12985
12985
  ref: s
12986
12986
  }));
12987
- }), ld = "PopperContent", [Fv, B6] = ad(ld), Uv = /* @__PURE__ */ Oe((e, t) => {
12987
+ }), ld = "PopperContent", [Fv, H6] = ad(ld), Uv = /* @__PURE__ */ Oe((e, t) => {
12988
12988
  var r, n, o, a, i, s, l, f;
12989
12989
  const { __scopePopper: u, side: y = "bottom", sideOffset: m = 0, align: g = "center", alignOffset: h = 0, arrowPadding: p = 0, collisionBoundary: v = [], collisionPadding: b = 0, sticky: _ = "partial", hideWhenDetached: k = !1, avoidCollisions: q = !0, onPlaced: C, ...w } = e, $ = sd(ld, u), [z, L] = ie(null), K = ut(
12990
12990
  t,
@@ -13145,10 +13145,10 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13145
13145
  ], Jv = [
13146
13146
  " ",
13147
13147
  "Enter"
13148
- ], Fo = "Select", [Uo, jo, Zv] = fi(Fo), [fn, H6] = gr(Fo, [
13148
+ ], Fo = "Select", [Uo, jo, Zv] = fi(Fo), [fn, W6] = gr(Fo, [
13149
13149
  Zv,
13150
13150
  id
13151
- ]), wi = id(), [Yv, jr] = fn(Fo), [Xv, Qv] = fn(Fo), ey = (e) => {
13151
+ ]), wi = id(), [Yv, Vr] = fn(Fo), [Xv, Qv] = fn(Fo), ey = (e) => {
13152
13152
  const { __scopeSelect: t, children: r, open: n, defaultOpen: o, onOpenChange: a, value: i, defaultValue: s, onValueChange: l, dir: f, name: u, autoComplete: y, disabled: m, required: g } = e, h = wi(t), [p, v] = ie(null), [b, _] = ie(null), [k, q] = ie(!1), C = To(f), [w = !1, $] = sn({
13153
13153
  prop: n,
13154
13154
  defaultProp: o,
@@ -13206,7 +13206,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13206
13206
  value: ""
13207
13207
  }) : null, Array.from(G)) : null));
13208
13208
  }, ty = "SelectTrigger", ry = /* @__PURE__ */ Oe((e, t) => {
13209
- const { __scopeSelect: r, disabled: n = !1, ...o } = e, a = wi(r), i = jr(ty, r), s = i.disabled || n, l = ut(t, i.onTriggerChange), f = jo(r), [u, y, m] = pd((h) => {
13209
+ const { __scopeSelect: r, disabled: n = !1, ...o } = e, a = wi(r), i = Vr(ty, r), s = i.disabled || n, l = ut(t, i.onTriggerChange), f = jo(r), [u, y, m] = pd((h) => {
13210
13210
  const p = f().filter(
13211
13211
  (_) => !_.disabled
13212
13212
  ), v = p.find(
@@ -13248,7 +13248,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13248
13248
  })
13249
13249
  })));
13250
13250
  }), ny = "SelectValue", oy = /* @__PURE__ */ Oe((e, t) => {
13251
- const { __scopeSelect: r, className: n, style: o, children: a, placeholder: i, ...s } = e, l = jr(ny, r), { onValueNodeHasChildrenChange: f } = l, u = a !== void 0, y = ut(t, l.onValueNodeChange);
13251
+ const { __scopeSelect: r, className: n, style: o, children: a, placeholder: i, ...s } = e, l = Vr(ny, r), { onValueNodeHasChildrenChange: f } = l, u = a !== void 0, y = ut(t, l.onValueNodeChange);
13252
13252
  return It(() => {
13253
13253
  f(u);
13254
13254
  }, [
@@ -13261,7 +13261,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13261
13261
  }
13262
13262
  }), l.value === void 0 && i !== void 0 ? i : a);
13263
13263
  }), cn = "SelectContent", ay = /* @__PURE__ */ Oe((e, t) => {
13264
- const r = jr(cn, e.__scopeSelect), [n, o] = ie();
13264
+ const r = Vr(cn, e.__scopeSelect), [n, o] = ie();
13265
13265
  if (It(() => {
13266
13266
  o(new DocumentFragment());
13267
13267
  }, []), !r.open) {
@@ -13294,7 +13294,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13294
13294
  avoidCollisions: v,
13295
13295
  //
13296
13296
  ...b
13297
- } = e, _ = jr(cn, r), [k, q] = ie(null), [C, w] = ie(null), $ = ut(
13297
+ } = e, _ = Vr(cn, r), [k, q] = ie(null), [C, w] = ie(null), $ = ut(
13298
13298
  t,
13299
13299
  (W) => q(W)
13300
13300
  ), [z, L] = ie(null), [K, U] = ie(null), G = jo(r), [B, M] = ie(!1), re = Pe(!1);
@@ -13489,7 +13489,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13489
13489
  })
13490
13490
  }))))));
13491
13491
  }), sy = /* @__PURE__ */ Oe((e, t) => {
13492
- const { __scopeSelect: r, onPlaced: n, ...o } = e, a = jr(cn, r), i = hn(cn, r), [s, l] = ie(null), [f, u] = ie(null), y = ut(
13492
+ const { __scopeSelect: r, onPlaced: n, ...o } = e, a = Vr(cn, r), i = hn(cn, r), [s, l] = ie(null), [f, u] = ie(null), y = ut(
13493
13493
  t,
13494
13494
  ($) => u($)
13495
13495
  ), m = jo(r), g = Pe(!1), h = Pe(!0), { viewport: p, selectedItem: v, selectedItemText: b, focusSelectedItem: _ } = i, k = pe(() => {
@@ -13632,7 +13632,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13632
13632
  s.current = f.scrollTop;
13633
13633
  })
13634
13634
  }))));
13635
- }), dy = "SelectGroup", [uy, W6] = fn(dy), fy = /* @__PURE__ */ Oe((e, t) => {
13635
+ }), dy = "SelectGroup", [uy, K6] = fn(dy), fy = /* @__PURE__ */ Oe((e, t) => {
13636
13636
  const { __scopeSelect: r, ...n } = e, o = Nn();
13637
13637
  return /* @__PURE__ */ Q(uy, {
13638
13638
  scope: r,
@@ -13644,7 +13644,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13644
13644
  ref: t
13645
13645
  })));
13646
13646
  }), Na = "SelectItem", [hy, fd] = fn(Na), py = /* @__PURE__ */ Oe((e, t) => {
13647
- const { __scopeSelect: r, value: n, disabled: o = !1, textValue: a, ...i } = e, s = jr(Na, r), l = hn(Na, r), f = s.value === n, [u, y] = ie(a ?? ""), [m, g] = ie(!1), h = ut(t, (b) => {
13647
+ const { __scopeSelect: r, value: n, disabled: o = !1, textValue: a, ...i } = e, s = Vr(Na, r), l = hn(Na, r), f = s.value === n, [u, y] = ie(a ?? ""), [m, g] = ie(!1), h = ut(t, (b) => {
13648
13648
  var _;
13649
13649
  return (_ = l.itemRefCallback) === null || _ === void 0 ? void 0 : _.call(l, b, n, o);
13650
13650
  }), p = Nn(), v = () => {
@@ -13708,7 +13708,7 @@ const Bv = Ov, Hv = Mv, Wv = Uv, Kv = /* @__PURE__ */ Oe((e, t) => /* @__PURE__
13708
13708
  })
13709
13709
  }))));
13710
13710
  }), eo = "SelectItemText", my = /* @__PURE__ */ Oe((e, t) => {
13711
- const { __scopeSelect: r, className: n, style: o, ...a } = e, i = jr(eo, r), s = hn(eo, r), l = fd(eo, r), f = Qv(eo, r), [u, y] = ie(null), m = ut(
13711
+ const { __scopeSelect: r, className: n, style: o, ...a } = e, i = Vr(eo, r), s = hn(eo, r), l = fd(eo, r), f = Qv(eo, r), [u, y] = ie(null), m = ut(
13712
13712
  t,
13713
13713
  (b) => y(b),
13714
13714
  l.onItemTextChange,
@@ -14119,7 +14119,7 @@ function Xy(e, t) {
14119
14119
  (r, n) => e[(t + n) % e.length]
14120
14120
  );
14121
14121
  }
14122
- const Qy = Hy, eb = Gy, bd = "Tabs", [tb, K6] = gr(bd, [
14122
+ const Qy = Hy, eb = Gy, bd = "Tabs", [tb, G6] = gr(bd, [
14123
14123
  vd
14124
14124
  ]), wd = vd(), [rb, ki] = tb(bd), nb = /* @__PURE__ */ Oe((e, t) => {
14125
14125
  const { __scopeTabs: r, value: n, onValueChange: o, defaultValue: a, orientation: i = "horizontal", dir: s, activationMode: l = "automatic", ...f } = e, u = To(s), [y, m] = sn({
@@ -14870,7 +14870,7 @@ const Db = async (e, {
14870
14870
  }
14871
14871
  }, Vo = Sr(Sd);
14872
14872
  Vo.displayName = "SlashIDContext";
14873
- const Gr = "@slashid/USER_TOKEN", Pb = (e) => {
14873
+ const Jr = "@slashid/USER_TOKEN", Pb = (e) => {
14874
14874
  switch (e) {
14875
14875
  case "memory":
14876
14876
  return new Gs();
@@ -14906,35 +14906,33 @@ const Gr = "@slashid/USER_TOKEN", Pb = (e) => {
14906
14906
  ), $ = pe(
14907
14907
  (T) => {
14908
14908
  var Z;
14909
- h !== "initial" && (b(T), (Z = q.current) == null || Z.setItem(Gr, T.token), T.oid !== u && w({ oid: T.oid }));
14909
+ h !== "initial" && (b(T), (Z = q.current) == null || Z.setItem(Jr, T.token), T.oid !== u && w({ oid: T.oid }));
14910
14910
  },
14911
14911
  [h, w, u]
14912
14912
  ), z = pe(
14913
14913
  (T) => {
14914
14914
  var Z, I;
14915
- if (!(!s || h === "initial")) {
14916
- k(T), (Z = q.current) == null || Z.setItem(Gr, T.token);
14915
+ if (!(!s || h === "initial") && (k(T), (Z = q.current) == null || Z.setItem(Jr, T.token), i))
14917
14916
  try {
14918
14917
  (I = C.current) == null || I.getAnalytics().identify(T);
14919
14918
  } catch {
14920
14919
  }
14921
- }
14922
14920
  },
14923
- [s, h]
14921
+ [i, s, h]
14924
14922
  ), L = pe(() => {
14925
14923
  var T;
14926
- !s || h === "initial" || ((T = q.current) == null || T.removeItem(Gr), k(void 0));
14924
+ !s || h === "initial" || ((T = q.current) == null || T.removeItem(Jr), k(void 0));
14927
14925
  }, [s, h]), K = pe(() => {
14928
14926
  var T, Z;
14929
14927
  if (h !== "initial" && !(!v || Ib(v))) {
14930
- (T = q.current) == null || T.removeItem(Gr);
14931
- try {
14932
- (Z = C.current) == null || Z.getAnalytics().logout();
14933
- } catch {
14934
- }
14928
+ if ((T = q.current) == null || T.removeItem(Jr), i)
14929
+ try {
14930
+ (Z = C.current) == null || Z.getAnalytics().logout();
14931
+ } catch {
14932
+ }
14935
14933
  v.logout(), b(void 0), y(e);
14936
14934
  }
14937
- }, [h, v, e]), U = pe(
14935
+ }, [h, v, i, e]), U = pe(
14938
14936
  async ({ factor: T, handle: Z }, { middleware: I } = {}) => {
14939
14937
  if (h === "initial")
14940
14938
  return;
@@ -15006,7 +15004,7 @@ const Gr = "@slashid/USER_TOKEN", Pb = (e) => {
15006
15004
  ...n && { environment: n },
15007
15005
  ...o && { baseURL: o },
15008
15006
  ...a && { sdkURL: a },
15009
- ...i && { analyticsEnabled: i }
15007
+ ...typeof i == "boolean" && { analyticsEnabled: i }
15010
15008
  }), Z = Pb(r);
15011
15009
  q.current = Z, C.current = T, p("loaded");
15012
15010
  }
@@ -15047,11 +15045,11 @@ const Gr = "@slashid/USER_TOKEN", Pb = (e) => {
15047
15045
  }
15048
15046
  }, A = async () => {
15049
15047
  var N;
15050
- const Y = Z.getItem(Gr);
15048
+ const Y = Z.getItem(Jr);
15051
15049
  if (!(Y && await M(Y)))
15052
- return Z.removeItem(Gr), null;
15050
+ return Z.removeItem(Jr), null;
15053
15051
  const ge = re(Y);
15054
- if (ge)
15052
+ if (ge && i)
15055
15053
  try {
15056
15054
  (N = C.current) == null || N.getAnalytics().identify(ge);
15057
15055
  } catch {
@@ -15078,6 +15076,7 @@ const Gr = "@slashid/USER_TOKEN", Pb = (e) => {
15078
15076
  }
15079
15077
  );
15080
15078
  }, [
15079
+ i,
15081
15080
  s,
15082
15081
  re,
15083
15082
  h,
@@ -15151,48 +15150,51 @@ const Ed = {
15151
15150
  recoverNonReachableHandleType: "recoverNonReachableHandleType"
15152
15151
  };
15153
15152
  function Tb(e) {
15154
- return an.isSlashIDError(e) && e.name === Ed.recoverNonReachableHandleType;
15153
+ return Nr.isSlashIDError(e) && e.name === Ed.recoverNonReachableHandleType;
15155
15154
  }
15156
15155
  function Lb(e) {
15157
- return an.isSlashIDError(e) && e.name === an.ERROR_NAMES.noPasswordSet;
15156
+ return Nr.isSlashIDError(e) && e.name === Nr.ERROR_NAMES.noPasswordSet;
15157
+ }
15158
+ function Ob(e) {
15159
+ return Nr.isSlashIDError(e) && e.name == "FlowCancelledError";
15158
15160
  }
15159
15161
  const Rd = [
15160
15162
  "email_address",
15161
15163
  "phone_number",
15162
15164
  "username"
15163
- ], Ob = (e) => {
15165
+ ], Nb = (e) => {
15164
15166
  if (!e || Array.isArray(e) || typeof e != "object")
15165
15167
  return !1;
15166
15168
  const { type: t, value: r } = e;
15167
15169
  return Rd.includes(t) ? typeof r == "string" : !1;
15168
- }, Nb = [
15170
+ }, Mb = [
15169
15171
  "webauthn",
15170
15172
  "otp_via_email",
15171
15173
  "email_link",
15172
15174
  "password",
15173
15175
  "totp"
15174
- ], Mb = ["otp_via_sms", "sms_link", "password"], Fb = ["password"], Ub = ["oidc", "saml"];
15175
- function jb(e) {
15176
+ ], Fb = ["otp_via_sms", "sms_link", "password"], Ub = ["password"], jb = ["oidc", "saml"];
15177
+ function Vb(e) {
15176
15178
  return "allowedHandleTypes" in e ? e.allowedHandleTypes.every(
15177
15179
  (t) => Rd.includes(t)
15178
15180
  ) : !1;
15179
15181
  }
15180
15182
  function ya(e, t) {
15181
- return jb(e) ? e.allowedHandleTypes.includes(t) : t !== "username";
15183
+ return Vb(e) ? e.allowedHandleTypes.includes(t) : t !== "username";
15182
15184
  }
15183
- function Vb(e) {
15185
+ function Bb(e) {
15184
15186
  const t = /* @__PURE__ */ new Set();
15185
- return Nb.includes(e.method) && ya(e, "email_address") && t.add("email_address"), Mb.includes(e.method) && ya(e, "phone_number") && t.add("phone_number"), Fb.includes(e.method) && ya(e, "username") && t.add("username"), t;
15187
+ return Mb.includes(e.method) && ya(e, "email_address") && t.add("email_address"), Fb.includes(e.method) && ya(e, "phone_number") && t.add("phone_number"), Ub.includes(e.method) && ya(e, "username") && t.add("username"), t;
15186
15188
  }
15187
15189
  function xi(e) {
15188
15190
  const t = /* @__PURE__ */ new Set();
15189
15191
  return e.forEach((r) => {
15190
- Vb(r).forEach(
15192
+ Bb(r).forEach(
15191
15193
  (n) => t.add(n)
15192
15194
  );
15193
15195
  }), Array.from(t);
15194
15196
  }
15195
- function Bb(e, t) {
15197
+ function Hb(e, t) {
15196
15198
  return e.filter(
15197
15199
  (r) => xi([r]).includes(t)
15198
15200
  );
@@ -15203,10 +15205,10 @@ function Id(e) {
15203
15205
  function zd(e) {
15204
15206
  return e.method === "otp_via_sms";
15205
15207
  }
15206
- function Hb(e) {
15208
+ function Wb(e) {
15207
15209
  return Id(e) || zd(e);
15208
15210
  }
15209
- function Wb(e) {
15211
+ function Kb(e) {
15210
15212
  return Dd(e);
15211
15213
  }
15212
15214
  function Dd(e) {
@@ -15216,28 +15218,28 @@ function Pd(e) {
15216
15218
  return e.method === "oidc";
15217
15219
  }
15218
15220
  function Fa(e) {
15219
- return Ub.includes(e.method);
15221
+ return jb.includes(e.method);
15220
15222
  }
15221
- function Kb(e) {
15223
+ function Gb(e) {
15222
15224
  return e.method === "email_link";
15223
15225
  }
15224
- function Gb(e) {
15226
+ function Jb(e) {
15225
15227
  return e.method === "sms_link";
15226
15228
  }
15227
15229
  function Ad(e) {
15228
15230
  return e.method !== "oidc";
15229
15231
  }
15230
- function Jb(e) {
15232
+ function Zb(e) {
15231
15233
  return e.method === "totp";
15232
15234
  }
15233
- function Zb(e) {
15235
+ function Yb(e) {
15234
15236
  return e.some(Fa) && e.some((t) => !Fa(t));
15235
15237
  }
15236
15238
  function to(e, t) {
15237
15239
  if (!(!e || e.type !== t))
15238
15240
  return e.value;
15239
15241
  }
15240
- function Yb(e) {
15242
+ function Xb(e) {
15241
15243
  for (const t of ui())
15242
15244
  if (e.startsWith(t.dial_code))
15243
15245
  return {
@@ -15270,7 +15272,7 @@ const ba = (e) => ({
15270
15272
  }
15271
15273
  e({ type: "sid_login.success", user: s });
15272
15274
  }).catch((s) => {
15273
- e({ type: "sid_login.error", error: s });
15275
+ Ob(s) || e({ type: "sid_login.error", error: s });
15274
15276
  });
15275
15277
  }
15276
15278
  async function i() {
@@ -15278,7 +15280,7 @@ const ba = (e) => ({
15278
15280
  if (!((s = t.config.handle) != null && s.type) || !nm.isReachablePersonHandleType(t.config.handle.type)) {
15279
15281
  e({
15280
15282
  type: "sid_login.error",
15281
- error: new an.SlashIDError({
15283
+ error: new Nr.SlashIDError({
15282
15284
  name: Ed.recoverNonReachableHandleType,
15283
15285
  message: "Recovery requires a reachable handle type.",
15284
15286
  context: t
@@ -15286,7 +15288,7 @@ const ba = (e) => ({
15286
15288
  });
15287
15289
  return;
15288
15290
  }
15289
- if (Wb(t.config.factor))
15291
+ if (Kb(t.config.factor))
15290
15292
  try {
15291
15293
  return await n({
15292
15294
  factor: t.config.factor,
@@ -15313,9 +15315,9 @@ const ba = (e) => ({
15313
15315
  logIn: a,
15314
15316
  setRecoveryCodes: o
15315
15317
  };
15316
- }, Xb = () => ({
15318
+ }, Qb = () => ({
15317
15319
  status: "success"
15318
- }), Qb = (e, t) => ({
15320
+ }), ew = (e, t) => ({
15319
15321
  status: "error",
15320
15322
  context: t,
15321
15323
  retry: (r = "retry") => {
@@ -15324,7 +15326,7 @@ const ba = (e) => ({
15324
15326
  cancel: () => {
15325
15327
  e({ type: "sid_cancel" });
15326
15328
  }
15327
- }), ew = (e, t, r) => ({
15329
+ }), tw = (e, t, r) => ({
15328
15330
  status: "storeRecoveryCodes",
15329
15331
  context: {
15330
15332
  recoveryCodes: t
@@ -15333,7 +15335,7 @@ const ba = (e) => ({
15333
15335
  e({ type: "sid_login.success", user: r });
15334
15336
  }
15335
15337
  });
15336
- function tw(e = {}) {
15338
+ function rw(e = {}) {
15337
15339
  let t, r, n, o, a = [];
15338
15340
  const i = (h) => {
15339
15341
  g(h);
@@ -15373,12 +15375,12 @@ function tw(e = {}) {
15373
15375
  break;
15374
15376
  }
15375
15377
  y(
15376
- ew(i, o, h.user),
15378
+ tw(i, o, h.user),
15377
15379
  h
15378
15380
  );
15379
15381
  break;
15380
15382
  case "sid_login.success":
15381
- typeof f == "function" && f(h.user), y(Xb(), h);
15383
+ typeof f == "function" && f(h.user), y(Qb(), h);
15382
15384
  break;
15383
15385
  case "sid_login.error":
15384
15386
  if (s.status !== "authenticating")
@@ -15387,12 +15389,12 @@ function tw(e = {}) {
15387
15389
  ...s.context,
15388
15390
  error: $d(h.error)
15389
15391
  };
15390
- typeof u == "function" && u(h.error, v), y(Qb(i, v), h);
15392
+ typeof u == "function" && u(h.error, v), y(ew(i, v), h);
15391
15393
  break;
15392
15394
  case "sid_retry":
15393
15395
  if (!t || !r)
15394
15396
  break;
15395
- if (h.policy === "reset") {
15397
+ if (typeof n == "function" && n(), h.policy === "reset") {
15396
15398
  y(ba(i), h);
15397
15399
  break;
15398
15400
  }
@@ -15438,8 +15440,8 @@ function tw(e = {}) {
15438
15440
  state: s
15439
15441
  };
15440
15442
  }
15441
- function rw(e = {}) {
15442
- const { logIn: t, mfa: r, recover: n, user: o, sdkState: a, sid: i } = er(), s = Pe(tw(e)), [l, f] = ie(s.current.state);
15443
+ function nw(e = {}) {
15444
+ const { logIn: t, mfa: r, recover: n, user: o, sdkState: a, sid: i } = er(), s = Pe(rw(e)), [l, f] = ie(s.current.state);
15443
15445
  return ye(() => {
15444
15446
  const u = s.current;
15445
15447
  return u.subscribe(f), () => u.unsubscribe(f);
@@ -15589,9 +15591,9 @@ const Ld = {
15589
15591
  "authenticating.downloadCodes": "Download codes",
15590
15592
  "authenticating.message.webauthn": "If you are registering for the first time, you will receive an email at {{EMAIL_ADDRESS}} to verify your email address.",
15591
15593
  "authenticating.title.webauthn": "You'll be prompted to validate your login via your device",
15592
- "authenticating.message.emailLink": "We have sent you a link via email to {{EMAIL_ADDRESS}}. Follow the link provided to complete your registration.",
15594
+ "authenticating.message.emailLink": "We have sent you a link via email to {{EMAIL_ADDRESS}}. Follow the link provided to complete your authentication.",
15593
15595
  "authenticating.title.emailLink": "Check your email",
15594
- "authenticating.message.smsLink": "We have sent you a link via text to {{PHONE_NUMBER}}. Follow the link provided to complete your registration.",
15596
+ "authenticating.message.smsLink": "We have sent you a link via text to {{PHONE_NUMBER}}. Follow the link provided to complete your authentication.",
15595
15597
  "authenticating.title.smsLink": "Check your phone",
15596
15598
  "authenticating.message.emailOtp": "We have sent you a code via email to {{EMAIL_ADDRESS}}. Please insert it here.",
15597
15599
  "authenticating.title.emailOtp": "Check your email",
@@ -15715,7 +15717,7 @@ const Ld = {
15715
15717
  if (t === r || t === `'${r}'` || t === `"${r}"`)
15716
15718
  return !0;
15717
15719
  return !1;
15718
- }), nw = (e) => {
15720
+ }), ow = (e) => {
15719
15721
  const t = e.toString().match(Bo);
15720
15722
  if (!t)
15721
15723
  return null;
@@ -15727,7 +15729,7 @@ const Ld = {
15727
15729
  return !1;
15728
15730
  const [n] = r;
15729
15731
  return !!t.test(n);
15730
- }, ow = (e) => Si(e, Ci), aw = (e) => Si(e, qi), iw = (e) => (t) => !(Array.isArray(t) || !e.some((r) => r === t)), sw = (e) => {
15732
+ }, aw = (e) => Si(e, Ci), iw = (e) => Si(e, qi), sw = (e) => (t) => !(Array.isArray(t) || !e.some((r) => r === t)), lw = (e) => {
15731
15733
  const t = e.toString().match(Bo);
15732
15734
  return !(!t || Fd(t).length !== t.length);
15733
15735
  }, Ud = (e) => {
@@ -15736,15 +15738,15 @@ const Ld = {
15736
15738
  } catch {
15737
15739
  return !1;
15738
15740
  }
15739
- }, lw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15741
+ }, cw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15740
15742
  __proto__: null,
15741
- exactValidator: iw,
15743
+ exactValidator: sw,
15742
15744
  fontFamilyRegExp: Bo,
15743
- fontFamilyValidator: sw,
15744
- hexValidator: aw,
15745
+ fontFamilyValidator: lw,
15746
+ hexValidator: iw,
15745
15747
  hexValueRegExp: qi,
15746
15748
  pixelValueRegExp: Ci,
15747
- pxValidator: ow,
15749
+ pxValidator: aw,
15748
15750
  supportedFonts: Nd,
15749
15751
  urlValidator: Ud,
15750
15752
  validate: Si
@@ -15758,7 +15760,7 @@ const Ld = {
15758
15760
  supportURL: void 0
15759
15761
  }, $i = Sr(po);
15760
15762
  $i.displayName = "SlashIDConfigurationContext";
15761
- const cw = ({
15763
+ const dw = ({
15762
15764
  text: e,
15763
15765
  supportURL: t,
15764
15766
  children: r,
@@ -15775,13 +15777,13 @@ const cw = ({
15775
15777
  function Ke() {
15776
15778
  return he.useContext($i);
15777
15779
  }
15778
- const Vr = () => Io(gc), dw = new RegExp(
15780
+ const Br = () => Io(gc), uw = new RegExp(
15779
15781
  "(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[-\b\v\f-!-ZS-]|\\[- \v\f-])+)\\])"
15780
- ), Ei = 6, uw = (e) => !(typeof e != "string" || e === ""), fw = (e) => typeof e != "string" || e === "" ? !1 : dw.test(e), hw = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128, Eo = (e) => !(Number.isNaN(Number(e)) || e.length !== Ei);
15781
- function pw(e) {
15782
+ ), Ei = 6, fw = (e) => !(typeof e != "string" || e === ""), hw = (e) => typeof e != "string" || e === "" ? !1 : uw.test(e), pw = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128, Eo = (e) => !(Number.isNaN(Number(e)) || e.length !== Ei);
15783
+ function mw(e) {
15782
15784
  return `authenticating.setPassword.validation.${e.failedRules[0].name}`;
15783
15785
  }
15784
- function mw({
15786
+ function gw({
15785
15787
  errorEvent: e,
15786
15788
  password: t
15787
15789
  }) {
@@ -15795,13 +15797,13 @@ function mw({
15795
15797
  ILLEGAL_SEQUENCE: n
15796
15798
  } : {};
15797
15799
  }
15798
- var gw = "_1xl24760";
15800
+ var vw = "_1xl24760";
15799
15801
  const Ho = ({ name: e }) => {
15800
- const { errors: t } = Vr(), r = t[e];
15801
- return r ? /* @__PURE__ */ d.jsx("span", { "data-testid": "sid-form-error-message", className: gw, children: r.message }) : null;
15802
+ const { errors: t } = Br(), r = t[e];
15803
+ return r ? /* @__PURE__ */ d.jsx("span", { "data-testid": "sid-form-error-message", className: vw, children: r.message }) : null;
15802
15804
  };
15803
- var jd = "h1jwma0", vw = "h1jwma1", Vd = "h1jwma2", yw = "h1jwma3", bw = "h1jwma4", Bd = "h1jwma5", Hd = "h1jwma7", ww = "h1jwma8", _w = "h1jwma9", kw = "h1jwmaa";
15804
- const Mr = () => /* @__PURE__ */ d.jsx(
15805
+ var jd = "h1jwma0", yw = "h1jwma1", Vd = "h1jwma2", bw = "h1jwma3", ww = "h1jwma4", Bd = "h1jwma5", Hd = "h1jwma7", _w = "h1jwma8", kw = "h1jwma9", xw = "h1jwmaa";
15806
+ const Fr = () => /* @__PURE__ */ d.jsx(
15805
15807
  Fn,
15806
15808
  {
15807
15809
  variant: "primary",
@@ -15850,8 +15852,8 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15850
15852
  }
15851
15853
  )
15852
15854
  ] });
15853
- }, xw = ({ factor: e }) => Kb(e) ? /* @__PURE__ */ d.jsx(Ri, {}) : Gb(e) ? /* @__PURE__ */ d.jsx(Ii, {}) : /* @__PURE__ */ d.jsx(Mr, {}), Wd = 2e3, tl = ({ factor: e }) => Id(e) ? /* @__PURE__ */ d.jsx(Ri, {}) : zd(e) ? /* @__PURE__ */ d.jsx(Ii, {}) : /* @__PURE__ */ d.jsx(Mr, {}), Cw = ({ flowState: e, performLogin: t }) => {
15854
- const { text: r } = Ke(), { sid: n } = er(), { values: o, registerField: a, registerSubmit: i, setError: s, clearError: l } = Vr(), [f, u] = ie("initial"), y = Pe(null), { factor: m, handle: g } = e.context.config, h = e.context.attempt > 1, { title: p, message: v, tokens: b } = Td(m, g, {
15855
+ }, Cw = ({ factor: e }) => Gb(e) ? /* @__PURE__ */ d.jsx(Ri, {}) : Jb(e) ? /* @__PURE__ */ d.jsx(Ii, {}) : /* @__PURE__ */ d.jsx(Fr, {}), Wd = 2e3, tl = ({ factor: e }) => Id(e) ? /* @__PURE__ */ d.jsx(Ri, {}) : zd(e) ? /* @__PURE__ */ d.jsx(Ii, {}) : /* @__PURE__ */ d.jsx(Fr, {}), qw = ({ flowState: e, performLogin: t }) => {
15856
+ const { text: r } = Ke(), { sid: n } = er(), { values: o, registerField: a, registerSubmit: i, setError: s, clearError: l } = Br(), [f, u] = ie("initial"), y = Pe(null), { factor: m, handle: g } = e.context.config, h = e.context.attempt > 1, { title: p, message: v, tokens: b } = Td(m, g, {
15855
15857
  isSubmitting: f === "submitting",
15856
15858
  hasRetried: h
15857
15859
  });
@@ -15927,7 +15929,7 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15927
15929
  ] })
15928
15930
  }
15929
15931
  ),
15930
- f === "submitting" ? h ? /* @__PURE__ */ d.jsx(tl, { factor: m }) : /* @__PURE__ */ d.jsx(Mr, {}) : null,
15932
+ f === "submitting" ? h ? /* @__PURE__ */ d.jsx(tl, { factor: m }) : /* @__PURE__ */ d.jsx(Fr, {}) : null,
15931
15933
  f === "input" && // fallback to prevent layout shift
15932
15934
  /* @__PURE__ */ d.jsx(
15933
15935
  Cd,
@@ -15945,7 +15947,7 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15945
15947
  }
15946
15948
  )
15947
15949
  ] });
15948
- }, qw = ({
15950
+ }, Sw = ({
15949
15951
  onRecoverClick: e
15950
15952
  }) => {
15951
15953
  const { text: t } = Ke();
@@ -15953,7 +15955,7 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15953
15955
  "div",
15954
15956
  {
15955
15957
  "data-testid": "sid-form-authenticating-recover-prompt",
15956
- className: bw,
15958
+ className: ww,
15957
15959
  children: [
15958
15960
  /* @__PURE__ */ d.jsx(
15959
15961
  gt,
@@ -15975,12 +15977,12 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15975
15977
  ]
15976
15978
  }
15977
15979
  );
15978
- }, Sw = ({
15980
+ }, $w = ({
15979
15981
  formState: e,
15980
15982
  handleType: t
15981
15983
  }) => {
15982
15984
  if (e === "submitting")
15983
- return /* @__PURE__ */ d.jsx(Mr, {});
15985
+ return /* @__PURE__ */ d.jsx(Fr, {});
15984
15986
  if (e === "recoverPassword") {
15985
15987
  if (t === "email_address")
15986
15988
  return /* @__PURE__ */ d.jsx(Ri, {});
@@ -15989,7 +15991,7 @@ const Mr = () => /* @__PURE__ */ d.jsx(
15989
15991
  }
15990
15992
  return null;
15991
15993
  };
15992
- function $w(e, t) {
15994
+ function Ew(e, t) {
15993
15995
  var r, n;
15994
15996
  return {
15995
15997
  initial: {
@@ -16017,7 +16019,7 @@ function $w(e, t) {
16017
16019
  }
16018
16020
  }[e];
16019
16021
  }
16020
- const Ew = ({ flowState: e, performLogin: t }) => {
16022
+ const Rw = ({ flowState: e, performLogin: t }) => {
16021
16023
  var r, n, o, a;
16022
16024
  const { sid: i } = er(), { text: s } = Ke(), {
16023
16025
  values: l,
@@ -16026,7 +16028,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16026
16028
  hasError: y,
16027
16029
  clearError: m,
16028
16030
  registerSubmit: g
16029
- } = Vr(), [h, p] = ie("initial"), { title: v, message: b } = $w(h, e), _ = h === "recoverPassword" ? {
16031
+ } = Br(), [h, p] = ie("initial"), { title: v, message: b } = Ew(h, e), _ = h === "recoverPassword" ? {
16030
16032
  ...((r = e.context.config.handle) == null ? void 0 : r.type) === "email_address" && {
16031
16033
  EMAIL_ADDRESS: e.context.config.handle.value
16032
16034
  },
@@ -16074,8 +16076,8 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16074
16076
  message: s["authenticating.setPassword.validation.incorrect"]
16075
16077
  }), K = (U) => u("password", {
16076
16078
  message: Wc(
16077
- s[pw(U)],
16078
- mw({
16079
+ s[mw(U)],
16080
+ gw({
16079
16081
  errorEvent: U,
16080
16082
  password: l.password
16081
16083
  })
@@ -16095,7 +16097,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16095
16097
  tokens: _
16096
16098
  }
16097
16099
  ),
16098
- h === "initial" && /* @__PURE__ */ d.jsx(Mr, {}),
16100
+ h === "initial" && /* @__PURE__ */ d.jsx(Fr, {}),
16099
16101
  (h === "setPassword" || h === "verifyPassword") && /* @__PURE__ */ d.jsxs("form", { onSubmit: g(k), children: [
16100
16102
  /* @__PURE__ */ d.jsx(
16101
16103
  "input",
@@ -16106,7 +16108,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16106
16108
  autoComplete: "username"
16107
16109
  }
16108
16110
  ),
16109
- /* @__PURE__ */ d.jsxs("div", { className: yw, children: [
16111
+ /* @__PURE__ */ d.jsxs("div", { className: bw, children: [
16110
16112
  /* @__PURE__ */ d.jsx(
16111
16113
  bs,
16112
16114
  {
@@ -16134,7 +16136,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16134
16136
  }
16135
16137
  ),
16136
16138
  /* @__PURE__ */ d.jsx(Ho, { name: "password" }),
16137
- h === "verifyPassword" && /* @__PURE__ */ d.jsx(qw, { onRecoverClick: w })
16139
+ h === "verifyPassword" && /* @__PURE__ */ d.jsx(Sw, { onRecoverClick: w })
16138
16140
  ] }),
16139
16141
  /* @__PURE__ */ d.jsx(
16140
16142
  Qt,
@@ -16147,7 +16149,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16147
16149
  )
16148
16150
  ] }),
16149
16151
  /* @__PURE__ */ d.jsx(
16150
- Sw,
16152
+ $w,
16151
16153
  {
16152
16154
  formState: h,
16153
16155
  handleType: (a = e.context.config.handle) == null ? void 0 : a.type
@@ -16155,7 +16157,7 @@ const Ew = ({ flowState: e, performLogin: t }) => {
16155
16157
  )
16156
16158
  ] });
16157
16159
  };
16158
- function Rw(e) {
16160
+ function Iw(e) {
16159
16161
  return {
16160
16162
  initial: {
16161
16163
  title: "authenticating.initial.totp.title",
@@ -16179,8 +16181,8 @@ function Rw(e) {
16179
16181
  }
16180
16182
  }[e];
16181
16183
  }
16182
- function Iw({ flowState: e, performLogin: t }) {
16183
- const { sid: r } = er(), { text: n } = Ke(), { values: o, registerField: a, registerSubmit: i, setError: s, clearError: l } = Vr(), [f, u] = ie("initial"), { title: y, message: m, submit: g } = Rw(f), [h, p] = ie(!1), [v, b] = ie(!1), [_, k] = ie(!1), q = Pe(null), [C, w] = ie(""), [$, z] = ie("");
16184
+ function zw({ flowState: e, performLogin: t }) {
16185
+ const { sid: r } = er(), { text: n } = Ke(), { values: o, registerField: a, registerSubmit: i, setError: s, clearError: l } = Br(), [f, u] = ie("initial"), { title: y, message: m, submit: g } = Iw(f), [h, p] = ie(!1), [v, b] = ie(!1), [_, k] = ie(!1), q = Pe(null), [C, w] = ie(""), [$, z] = ie("");
16184
16186
  ye(() => {
16185
16187
  const U = () => {
16186
16188
  s("totp", {
@@ -16238,21 +16240,21 @@ function Iw({ flowState: e, performLogin: t }) {
16238
16240
  /* @__PURE__ */ d.jsx(Wo, { onCancel: () => e.cancel() }),
16239
16241
  /* @__PURE__ */ d.jsx(gt, { as: "h1", t: y, variant: { size: "2xl-title", weight: "bold" } }),
16240
16242
  /* @__PURE__ */ d.jsx(gt, { t: m, variant: { color: "contrast", weight: "semibold" } }),
16241
- f === "initial" && /* @__PURE__ */ d.jsx(Mr, {}),
16243
+ f === "initial" && /* @__PURE__ */ d.jsx(Fr, {}),
16242
16244
  f === "registerAuthenticator" && /* @__PURE__ */ d.jsxs(
16243
16245
  "form",
16244
16246
  {
16245
16247
  onSubmit: i((U) => {
16246
16248
  U.preventDefault(), u("input");
16247
16249
  }),
16248
- className: ww,
16250
+ className: _w,
16249
16251
  children: [
16250
16252
  /* @__PURE__ */ d.jsx(
16251
16253
  "img",
16252
16254
  {
16253
16255
  src: `data:image/png;base64, ${C}`,
16254
16256
  alt: "QR Code",
16255
- className: _w
16257
+ className: kw
16256
16258
  }
16257
16259
  ),
16258
16260
  /* @__PURE__ */ d.jsx(
@@ -16270,7 +16272,7 @@ function Iw({ flowState: e, performLogin: t }) {
16270
16272
  value: $,
16271
16273
  label: "Set up URI",
16272
16274
  copy: !0,
16273
- className: kw
16275
+ className: xw
16274
16276
  }
16275
16277
  ),
16276
16278
  /* @__PURE__ */ d.jsx(rl, { textKey: g })
@@ -16333,7 +16335,7 @@ function Iw({ flowState: e, performLogin: t }) {
16333
16335
  ] })
16334
16336
  }
16335
16337
  ),
16336
- f === "submitting" ? /* @__PURE__ */ d.jsx(Mr, {}) : null
16338
+ f === "submitting" ? /* @__PURE__ */ d.jsx(Fr, {}) : null
16337
16339
  ] });
16338
16340
  }
16339
16341
  function rl({ textKey: e, disabled: t }) {
@@ -16352,7 +16354,7 @@ function rl({ textKey: e, disabled: t }) {
16352
16354
  }
16353
16355
  );
16354
16356
  }
16355
- const zw = ({ flowState: e, performLogin: t }) => {
16357
+ const Dw = ({ flowState: e, performLogin: t }) => {
16356
16358
  var r;
16357
16359
  const { factor: n, handle: o } = e.context.config, { title: a, message: i, tokens: s } = Td(n, o), [l, f] = ie(!0);
16358
16360
  return ye(() => {
@@ -16361,7 +16363,7 @@ const zw = ({ flowState: e, performLogin: t }) => {
16361
16363
  t();
16362
16364
  }, [t]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
16363
16365
  /* @__PURE__ */ d.jsx(Wo, { onCancel: () => e.cancel() }),
16364
- /* @__PURE__ */ d.jsx(gt, { as: "h1", t: a, variant: { size: "2xl-title", weight: "bold" }, children: n.method === "oidc" ? /* @__PURE__ */ d.jsx("span", { className: vw, children: (r = n.options) == null ? void 0 : r.provider }) : void 0 }),
16366
+ /* @__PURE__ */ d.jsx(gt, { as: "h1", t: a, variant: { size: "2xl-title", weight: "bold" }, children: n.method === "oidc" ? /* @__PURE__ */ d.jsx("span", { className: yw, children: (r = n.options) == null ? void 0 : r.provider }) : void 0 }),
16365
16367
  /* @__PURE__ */ d.jsx(
16366
16368
  gt,
16367
16369
  {
@@ -16370,7 +16372,7 @@ const zw = ({ flowState: e, performLogin: t }) => {
16370
16372
  tokens: s
16371
16373
  }
16372
16374
  ),
16373
- /* @__PURE__ */ d.jsx(xw, { factor: n }),
16375
+ /* @__PURE__ */ d.jsx(Cw, { factor: n }),
16374
16376
  l && /* @__PURE__ */ d.jsx(
16375
16377
  Cd,
16376
16378
  {
@@ -16393,12 +16395,12 @@ const zw = ({ flowState: e, performLogin: t }) => {
16393
16395
  function oo({ children: e }) {
16394
16396
  return /* @__PURE__ */ d.jsx("article", { "data-testid": "sid-form-authenticating-state", children: e });
16395
16397
  }
16396
- const Dw = ({ flowState: e }) => {
16398
+ const Pw = ({ flowState: e }) => {
16397
16399
  const t = e.context.config.factor, r = Pe(1), n = Pe(!1), o = pe(() => {
16398
16400
  e.context.attempt > r.current && (r.current = e.context.attempt, n.current = !1), !n.current && (e.logIn(), n.current = !0);
16399
16401
  }, [e]);
16400
- return Hb(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(Cw, { flowState: e, performLogin: o }) }) : Dd(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(Ew, { flowState: e, performLogin: o }) }) : Jb(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(Iw, { flowState: e, performLogin: o }) }) : /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(zw, { flowState: e, performLogin: o }) });
16401
- }, Pw = () => /* @__PURE__ */ d.jsx(Fn, { variant: "primary", children: /* @__PURE__ */ d.jsx(
16402
+ return Wb(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(qw, { flowState: e, performLogin: o }) }) : Dd(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(Rw, { flowState: e, performLogin: o }) }) : Zb(t) ? /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(zw, { flowState: e, performLogin: o }) }) : /* @__PURE__ */ d.jsx(oo, { children: /* @__PURE__ */ d.jsx(Dw, { flowState: e, performLogin: o }) });
16403
+ }, Aw = () => /* @__PURE__ */ d.jsx(Fn, { variant: "primary", children: /* @__PURE__ */ d.jsx(
16402
16404
  "svg",
16403
16405
  {
16404
16406
  width: "21",
@@ -16416,7 +16418,7 @@ const Dw = ({ flowState: e }) => {
16416
16418
  }
16417
16419
  )
16418
16420
  }
16419
- ) }), Aw = () => /* @__PURE__ */ d.jsxs("article", { "data-testid": "sid-form-success-state", children: [
16421
+ ) }), Tw = () => /* @__PURE__ */ d.jsxs("article", { "data-testid": "sid-form-success-state", children: [
16420
16422
  /* @__PURE__ */ d.jsx(
16421
16423
  gt,
16422
16424
  {
@@ -16433,7 +16435,7 @@ const Dw = ({ flowState: e }) => {
16433
16435
  variant: { color: "contrast", weight: "semibold" }
16434
16436
  }
16435
16437
  ),
16436
- /* @__PURE__ */ d.jsx(Pw, {})
16438
+ /* @__PURE__ */ d.jsx(Aw, {})
16437
16439
  ] }), Kd = he.createContext(
16438
16440
  {
16439
16441
  flowState: null,
@@ -16444,12 +16446,12 @@ const Dw = ({ flowState: e }) => {
16444
16446
  setSelectedFactor: () => null
16445
16447
  }
16446
16448
  ), pn = () => he.useContext(Kd);
16447
- var Tw = "_4i40i60", Lw = "_4i40i61";
16448
- const Ow = () => /* @__PURE__ */ d.jsx(Fn, { variant: "red", shouldAnimate: !1, className: "sid-form-error-icon", children: /* @__PURE__ */ d.jsx(jm, {}) });
16449
- function Nw(e) {
16450
- return an.isResponseError(e) ? "response" : an.isRateLimitError(e) ? "rateLimit" : Tb(e) ? "recoverNonReachableHandleType" : Lb(e) ? "noPasswordSet" : "unknown";
16451
- }
16449
+ var Lw = "_4i40i60", Ow = "_4i40i61";
16450
+ const Nw = () => /* @__PURE__ */ d.jsx(Fn, { variant: "red", shouldAnimate: !1, className: "sid-form-error-icon", children: /* @__PURE__ */ d.jsx(jm, {}) });
16452
16451
  function Mw(e) {
16452
+ return Nr.isResponseError(e) ? "response" : Nr.isRateLimitError(e) ? "rateLimit" : Tb(e) ? "recoverNonReachableHandleType" : Lb(e) ? "noPasswordSet" : "unknown";
16453
+ }
16454
+ function Fw(e) {
16453
16455
  switch (e) {
16454
16456
  case "rateLimit":
16455
16457
  return {
@@ -16477,7 +16479,7 @@ function Mw(e) {
16477
16479
  };
16478
16480
  }
16479
16481
  }
16480
- function Fw(e) {
16482
+ function Uw(e) {
16481
16483
  switch (e) {
16482
16484
  case "rateLimit":
16483
16485
  return "retry";
@@ -16489,19 +16491,19 @@ function Fw(e) {
16489
16491
  return "retry";
16490
16492
  }
16491
16493
  }
16492
- function Uw() {
16494
+ function jw() {
16493
16495
  const { text: e, supportURL: t } = Ke();
16494
16496
  return t ? /* @__PURE__ */ d.jsxs(
16495
16497
  "div",
16496
16498
  {
16497
- className: $e("sid-form-error-contact-support", Tw),
16499
+ className: $e("sid-form-error-contact-support", Lw),
16498
16500
  "data-testid": "sid-form-error-support-prompt",
16499
16501
  children: [
16500
16502
  /* @__PURE__ */ d.jsx("span", { children: e["error.contactSupport.prompt"] }),
16501
16503
  /* @__PURE__ */ d.jsx(
16502
16504
  "a",
16503
16505
  {
16504
- className: Lw,
16506
+ className: Ow,
16505
16507
  target: "_blank",
16506
16508
  href: t,
16507
16509
  rel: "noreferrer",
@@ -16518,11 +16520,11 @@ const Di = ({ children: e }) => {
16518
16520
  context: t.context,
16519
16521
  retry: t.retry,
16520
16522
  cancel: t.cancel
16521
- }) }) : Jt.count(e) > 0 ? /* @__PURE__ */ d.jsx("div", { "data-testid": "sid-form-error-children", children: e }) : /* @__PURE__ */ d.jsx(jw, { flowState: t });
16523
+ }) }) : Jt.count(e) > 0 ? /* @__PURE__ */ d.jsx("div", { "data-testid": "sid-form-error-children", children: e }) : /* @__PURE__ */ d.jsx(Vw, { flowState: t });
16522
16524
  };
16523
16525
  Di.displayName = "Form.Error";
16524
- const jw = ({ flowState: e }) => {
16525
- const { text: t } = Ke(), r = Nw(e.context.error), { title: n, description: o } = Mw(r), a = Fw(r);
16526
+ const Vw = ({ flowState: e }) => {
16527
+ const { text: t } = Ke(), r = Mw(e.context.error), { title: n, description: o } = Fw(r), a = Uw(r);
16526
16528
  return /* @__PURE__ */ d.jsxs("article", { "data-testid": "sid-form-error-state", children: [
16527
16529
  /* @__PURE__ */ d.jsx(
16528
16530
  On,
@@ -16543,7 +16545,7 @@ const jw = ({ flowState: e }) => {
16543
16545
  variant: { color: "contrast", weight: "semibold" }
16544
16546
  }
16545
16547
  ),
16546
- /* @__PURE__ */ d.jsx(Ow, {}),
16548
+ /* @__PURE__ */ d.jsx(Nw, {}),
16547
16549
  /* @__PURE__ */ d.jsx(
16548
16550
  Qt,
16549
16551
  {
@@ -16554,11 +16556,11 @@ const jw = ({ flowState: e }) => {
16554
16556
  children: t["error.retry"]
16555
16557
  }
16556
16558
  ),
16557
- /* @__PURE__ */ d.jsx(Uw, {})
16559
+ /* @__PURE__ */ d.jsx(jw, {})
16558
16560
  ] });
16559
16561
  };
16560
- var Vw = "_1xoz4760", Bw = "_1xoz4761", Hw = "_1xoz4762", wa = "_1xoz4763", Ww = "_1xoz4764", Kw = "_1xoz4765", nl = "_1xoz4766";
16561
- const Gw = ({ logo: e }) => {
16562
+ var Bw = "_1xoz4760", Hw = "_1xoz4761", Ww = "_1xoz4762", wa = "_1xoz4763", Kw = "_1xoz4764", Gw = "_1xoz4765", nl = "_1xoz4766";
16563
+ const Jw = ({ logo: e }) => {
16562
16564
  if (typeof e == "string" && e)
16563
16565
  return /* @__PURE__ */ d.jsx("div", { className: $e("sid-logo", "sid-logo--image", wa), children: /* @__PURE__ */ d.jsx("div", { children: /* @__PURE__ */ d.jsx("img", { className: wa, src: e, alt: "Company logo" }) }) });
16564
16566
  const t = e || /* @__PURE__ */ d.jsx(kc, {});
@@ -16567,10 +16569,10 @@ const Gw = ({ logo: e }) => {
16567
16569
  children: e
16568
16570
  }) => {
16569
16571
  const { logo: t } = Ke();
16570
- return typeof e != "function" ? /* @__PURE__ */ d.jsx(Gw, { logo: t }) : /* @__PURE__ */ d.jsx(d.Fragment, { children: e({ logo: t }) });
16572
+ return typeof e != "function" ? /* @__PURE__ */ d.jsx(Jw, { logo: t }) : /* @__PURE__ */ d.jsx(d.Fragment, { children: e({ logo: t }) });
16571
16573
  };
16572
16574
  Pi.displayName = "Logo";
16573
- const Jw = {
16575
+ const Zw = {
16574
16576
  email_link: "factor.emailLink",
16575
16577
  otp_via_sms: "factor.otpViaSms",
16576
16578
  otp_via_email: "factor.otpViaEmail",
@@ -16580,16 +16582,16 @@ const Jw = {
16580
16582
  oidc: "",
16581
16583
  saml: "",
16582
16584
  totp: ""
16583
- }, tn = {
16585
+ }, rn = {
16584
16586
  email: "email",
16585
16587
  phone: "phone",
16586
16588
  username: "username"
16587
- }, Zw = {
16588
- phone_number: tn.phone,
16589
- email_address: tn.email,
16590
- username: tn.username
16589
+ }, Yw = {
16590
+ phone_number: rn.phone,
16591
+ email_address: rn.email,
16592
+ username: rn.username
16591
16593
  }, jn = ({ children: e }) => {
16592
- const { factors: t, text: r } = Ke(), { handleSubmit: n, submitPayloadRef: o, selectedFactor: a } = pn(), { registerSubmit: i } = Vr(), s = tt(
16594
+ const { factors: t, text: r } = Ke(), { handleSubmit: n, submitPayloadRef: o, selectedFactor: a } = pn(), { registerSubmit: i } = Br(), s = tt(
16593
16595
  () => t.filter((u) => Ad(u)),
16594
16596
  [t]
16595
16597
  ), l = tt(() => xi(t), [t]);
@@ -16639,11 +16641,11 @@ const Jw = {
16639
16641
  {
16640
16642
  testId: "sid-handle-type-tabs",
16641
16643
  className: dt({ marginY: "6" }),
16642
- defaultValue: Zw[(t == null ? void 0 : t.type) ?? "email_address"],
16644
+ defaultValue: Yw[(t == null ? void 0 : t.type) ?? "email_address"],
16643
16645
  tabs: [
16644
16646
  ...a.includes("email_address") ? [
16645
16647
  {
16646
- id: tn.email,
16648
+ id: rn.email,
16647
16649
  title: n["initial.handle.email"],
16648
16650
  content: /* @__PURE__ */ d.jsx(
16649
16651
  ao,
@@ -16660,7 +16662,7 @@ const Jw = {
16660
16662
  ] : [],
16661
16663
  ...a.includes("phone_number") ? [
16662
16664
  {
16663
- id: tn.phone,
16665
+ id: rn.phone,
16664
16666
  title: n["initial.handle.phone"],
16665
16667
  content: /* @__PURE__ */ d.jsx(
16666
16668
  ao,
@@ -16677,7 +16679,7 @@ const Jw = {
16677
16679
  ] : [],
16678
16680
  ...a.includes("username") ? [
16679
16681
  {
16680
- id: tn.username,
16682
+ id: rn.username,
16681
16683
  title: n["initial.handle.username"],
16682
16684
  content: /* @__PURE__ */ d.jsx(
16683
16685
  ao,
@@ -16698,7 +16700,7 @@ const Jw = {
16698
16700
  };
16699
16701
  Ai.displayName = "Input";
16700
16702
  const Ti = ({ children: e }) => {
16701
- const { text: t } = Ke(), { status: r } = Vr();
16703
+ const { text: t } = Ke(), { status: r } = Br();
16702
16704
  return typeof e == "function" ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e({ text: t, status: r }) }) : Jt.count(e) > 0 ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e }) : /* @__PURE__ */ d.jsx(
16703
16705
  Qt,
16704
16706
  {
@@ -16720,9 +16722,9 @@ const ao = ({
16720
16722
  defaultValue: r
16721
16723
  }) => {
16722
16724
  const { setSelectedFactor: n, submitPayloadRef: o } = pn(), a = tt(
16723
- () => Bb(t, e).filter((v) => !Pd(v)),
16725
+ () => Hb(t, e).filter((v) => !Pd(v)),
16724
16726
  [t, e]
16725
- ), { text: i, defaultCountryCode: s } = Ke(), { registerField: l, values: f, resetForm: u } = Vr(), y = a.length > 1, m = Yb(r ?? ""), [g, h] = ie(
16727
+ ), { text: i, defaultCountryCode: s } = Ke(), { registerField: l, values: f, resetForm: u } = Br(), y = a.length > 1, m = Xb(r ?? ""), [g, h] = ie(
16726
16728
  di((m == null ? void 0 : m.countryCode) ?? s)
16727
16729
  );
16728
16730
  ye(() => {
@@ -16750,7 +16752,7 @@ const ao = ({
16750
16752
  onChange: l(e, {
16751
16753
  defaultValue: m == null ? void 0 : m.number,
16752
16754
  validator: (v) => {
16753
- if (!uw(v))
16755
+ if (!fw(v))
16754
16756
  return { message: i["validationError.phoneNumber"] };
16755
16757
  }
16756
16758
  }),
@@ -16768,7 +16770,7 @@ const ao = ({
16768
16770
  onChange: l(e, {
16769
16771
  defaultValue: r,
16770
16772
  validator: (v) => {
16771
- if (!hw(v))
16773
+ if (!pw(v))
16772
16774
  return { message: i["validationError.username"] };
16773
16775
  }
16774
16776
  })
@@ -16785,7 +16787,7 @@ const ao = ({
16785
16787
  onChange: l(e, {
16786
16788
  defaultValue: r,
16787
16789
  validator: (v) => {
16788
- if (!fw(v))
16790
+ if (!hw(v))
16789
16791
  return { message: i["validationError.email"] };
16790
16792
  }
16791
16793
  })
@@ -16807,7 +16809,7 @@ const ao = ({
16807
16809
  className: dt({ marginBottom: "3", marginTop: "6" }),
16808
16810
  label: i["initial.authenticationMethod"],
16809
16811
  items: a.map((v) => ({
16810
- label: i[Jw[v.method]],
16812
+ label: i[Zw[v.method]],
16811
16813
  value: v.method
16812
16814
  })),
16813
16815
  onChange: (v) => {
@@ -16815,7 +16817,7 @@ const ao = ({
16815
16817
  n(b);
16816
16818
  },
16817
16819
  contentProps: {
16818
- className: Kw,
16820
+ className: Gw,
16819
16821
  position: "popper"
16820
16822
  }
16821
16823
  }
@@ -16830,7 +16832,7 @@ jn.Submit = Ti;
16830
16832
  const Li = ({
16831
16833
  children: e
16832
16834
  }) => {
16833
- const { text: t } = Ke(), r = he.useMemo(() => /* @__PURE__ */ d.jsxs("div", { className: Ww, children: [
16835
+ const { text: t } = Ke(), r = he.useMemo(() => /* @__PURE__ */ d.jsxs("div", { className: Kw, children: [
16834
16836
  /* @__PURE__ */ d.jsx(
16835
16837
  gt,
16836
16838
  {
@@ -16851,7 +16853,7 @@ const Li = ({
16851
16853
  return typeof e == "function" ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e({ text: t }) }) : he.Children.count(e) > 0 ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e }) : r;
16852
16854
  };
16853
16855
  Li.displayName = "Header";
16854
- const Yw = {
16856
+ const Xw = {
16855
16857
  google: /* @__PURE__ */ d.jsx(Om, {}),
16856
16858
  facebook: /* @__PURE__ */ d.jsx(Am, {}),
16857
16859
  github: /* @__PURE__ */ d.jsx(Tm, {}),
@@ -16861,7 +16863,7 @@ const Yw = {
16861
16863
  azuread: /* @__PURE__ */ d.jsx(Dm, {}),
16862
16864
  okta: /* @__PURE__ */ d.jsx(Mm, {}),
16863
16865
  apple: /* @__PURE__ */ d.jsx(zm, {})
16864
- }, Xw = {
16866
+ }, Qw = {
16865
16867
  google: "Google",
16866
16868
  facebook: "Facebook",
16867
16869
  github: "GitHub",
@@ -16872,7 +16874,7 @@ const Yw = {
16872
16874
  okta: "Okta",
16873
16875
  apple: "Apple"
16874
16876
  };
16875
- function Qw({ provider: e, handleClick: t }) {
16877
+ function e2({ provider: e, handleClick: t }) {
16876
16878
  var r;
16877
16879
  const { text: n } = Ke();
16878
16880
  return (r = e.options) != null && r.provider_credentials_id ? /* @__PURE__ */ d.jsxs(
@@ -16880,16 +16882,16 @@ function Qw({ provider: e, handleClick: t }) {
16880
16882
  {
16881
16883
  onClick: () => t({ method: "saml", options: e.options }),
16882
16884
  variant: "secondary",
16883
- icon: /* @__PURE__ */ d.jsx(e2, { logo: e.logo, id: e.options.provider_credentials_id }),
16885
+ icon: /* @__PURE__ */ d.jsx(t2, { logo: e.logo, id: e.options.provider_credentials_id }),
16884
16886
  className: $e("sid-saml--button"),
16885
16887
  children: [
16886
16888
  n["initial.sso"],
16887
- /* @__PURE__ */ d.jsx("span", { className: Bw, children: e.label || "SAML" })
16889
+ /* @__PURE__ */ d.jsx("span", { className: Hw, children: e.label || "SAML" })
16888
16890
  ]
16889
16891
  }
16890
16892
  ) : null;
16891
16893
  }
16892
- function e2({ logo: e, id: t }) {
16894
+ function t2({ logo: e, id: t }) {
16893
16895
  return e ? typeof e == "string" ? /* @__PURE__ */ d.jsx(
16894
16896
  "img",
16895
16897
  {
@@ -16905,7 +16907,7 @@ function e2({ logo: e, id: t }) {
16905
16907
  }
16906
16908
  ) : null;
16907
16909
  }
16908
- function t2({ provider: e, handleClick: t }) {
16910
+ function r2({ provider: e, handleClick: t }) {
16909
16911
  var r, n, o;
16910
16912
  const { text: a } = Ke();
16911
16913
  return (r = e.options) != null && r.provider ? /* @__PURE__ */ d.jsxs(
@@ -16913,11 +16915,11 @@ function t2({ provider: e, handleClick: t }) {
16913
16915
  {
16914
16916
  onClick: () => t({ method: "oidc", options: e.options }),
16915
16917
  variant: "secondary",
16916
- icon: Yw[(n = e.options) == null ? void 0 : n.provider],
16918
+ icon: Xw[(n = e.options) == null ? void 0 : n.provider],
16917
16919
  className: $e("sid-oidc--button"),
16918
16920
  children: [
16919
16921
  a["initial.oidc"],
16920
- /* @__PURE__ */ d.jsx("span", { className: Vw, children: e.label || Xw[(o = e.options) == null ? void 0 : o.provider] })
16922
+ /* @__PURE__ */ d.jsx("span", { className: Bw, children: e.label || Qw[(o = e.options) == null ? void 0 : o.provider] })
16921
16923
  ]
16922
16924
  }
16923
16925
  ) : null;
@@ -16929,14 +16931,14 @@ function Gd({ providers: e, handleClick: t }) {
16929
16931
  className: $e(
16930
16932
  "sid-form-sso",
16931
16933
  dt({ marginTop: "4" }),
16932
- Hw
16934
+ Ww
16933
16935
  ),
16934
16936
  children: e.map((r) => {
16935
16937
  var n, o;
16936
16938
  switch (r.method) {
16937
16939
  case "oidc":
16938
16940
  return /* @__PURE__ */ d.jsx(
16939
- t2,
16941
+ r2,
16940
16942
  {
16941
16943
  provider: r,
16942
16944
  handleClick: t
@@ -16945,7 +16947,7 @@ function Gd({ providers: e, handleClick: t }) {
16945
16947
  );
16946
16948
  case "saml":
16947
16949
  return /* @__PURE__ */ d.jsx(
16948
- Qw,
16950
+ e2,
16949
16951
  {
16950
16952
  provider: r,
16951
16953
  handleClick: t
@@ -16961,7 +16963,7 @@ function Gd({ providers: e, handleClick: t }) {
16961
16963
  }
16962
16964
  const Jd = () => {
16963
16965
  const { factors: e, text: t } = Ke(), r = tt(
16964
- () => Zb(e),
16966
+ () => Yb(e),
16965
16967
  [e]
16966
16968
  );
16967
16969
  return /* @__PURE__ */ d.jsx(d.Fragment, { children: r && /* @__PURE__ */ d.jsx(ig, { children: t["initial.divider"] }) });
@@ -16992,15 +16994,15 @@ zr.Controls = jn;
16992
16994
  zr.Divider = Jd;
16993
16995
  zr.OIDC = Zd;
16994
16996
  zr.SSO = Oi;
16995
- var r2 = "gwp8o20", n2 = "_1iedw350";
16996
- const o2 = () => /* @__PURE__ */ d.jsx(
16997
+ var n2 = "gwp8o20", o2 = "_1iedw350";
16998
+ const a2 = () => /* @__PURE__ */ d.jsx(
16997
16999
  gt,
16998
17000
  {
16999
- className: n2,
17001
+ className: o2,
17000
17002
  t: "footer.branding",
17001
17003
  variant: { size: "xs", weight: "semibold" }
17002
17004
  }
17003
- ), ol = "@slashid/LAST_HANDLE", a2 = () => {
17005
+ ), ol = "@slashid/LAST_HANDLE", i2 = () => {
17004
17006
  const { storeLastHandle: e } = Ke(), { sid: t } = er(), r = tt(() => {
17005
17007
  if (Ia())
17006
17008
  try {
@@ -17010,7 +17012,7 @@ const o2 = () => /* @__PURE__ */ d.jsx(
17010
17012
  return;
17011
17013
  }
17012
17014
  }, [e]), n = pe(({ handle: o }) => {
17013
- if (Ia() && Ob(o))
17015
+ if (Ia() && Nb(o))
17014
17016
  try {
17015
17017
  window.localStorage.setItem(
17016
17018
  ol,
@@ -17023,14 +17025,14 @@ const o2 = () => /* @__PURE__ */ d.jsx(
17023
17025
  e && t && t.unsubscribe("idFlowSucceeded", n);
17024
17026
  }), [e, t, n]), { lastHandle: r };
17025
17027
  };
17026
- function i2({
17028
+ function s2({
17027
17029
  factors: e,
17028
17030
  text: t,
17029
17031
  children: r
17030
17032
  }) {
17031
17033
  const n = Ke();
17032
17034
  return !e && !t ? /* @__PURE__ */ d.jsx(d.Fragment, { children: r }) : /* @__PURE__ */ d.jsx(
17033
- cw,
17035
+ dw,
17034
17036
  {
17035
17037
  ...n,
17036
17038
  text: {
@@ -17042,15 +17044,15 @@ function i2({
17042
17044
  }
17043
17045
  );
17044
17046
  }
17045
- function s2({ children: e, name: t }) {
17047
+ function l2({ children: e, name: t }) {
17046
17048
  return /* @__PURE__ */ d.jsx("div", { className: `sid-slot-${t}`, children: e });
17047
17049
  }
17048
- function l2({ children: e, defaultSlots: t }) {
17050
+ function c2({ children: e, defaultSlots: t }) {
17049
17051
  return he.useMemo(() => {
17050
17052
  const r = { ...t };
17051
17053
  return he.Children.forEach(e, (n) => {
17052
17054
  if (he.isValidElement(n)) {
17053
- if (n.type !== s2) {
17055
+ if (n.type !== l2) {
17054
17056
  console.warn(`Passed a non-<Slot> component to a slot: ${n.type}`);
17055
17057
  return;
17056
17058
  }
@@ -17061,7 +17063,7 @@ function l2({ children: e, defaultSlots: t }) {
17061
17063
  }), r;
17062
17064
  }, [e, t]);
17063
17065
  }
17064
- function c2({ codes: e }) {
17066
+ function d2({ codes: e }) {
17065
17067
  const { text: t } = Ke(), r = () => {
17066
17068
  const n = document.createElement("a");
17067
17069
  n.setAttribute(
@@ -17085,12 +17087,12 @@ function c2({ codes: e }) {
17085
17087
  }
17086
17088
  );
17087
17089
  }
17088
- var d2 = "t5smqu0", u2 = "t5smqu1";
17089
- function f2(e) {
17090
+ var u2 = "t5smqu0", f2 = "t5smqu1";
17091
+ function h2(e) {
17090
17092
  return e.join(`\r
17091
17093
  `);
17092
17094
  }
17093
- function h2({ flowState: e }) {
17095
+ function p2({ flowState: e }) {
17094
17096
  const { text: t } = Ke();
17095
17097
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
17096
17098
  /* @__PURE__ */ d.jsx(
@@ -17120,13 +17122,13 @@ function h2({ flowState: e }) {
17120
17122
  {
17121
17123
  id: "recoveryCodes",
17122
17124
  as: "div",
17123
- value: f2(e.context.recoveryCodes),
17125
+ value: h2(e.context.recoveryCodes),
17124
17126
  copy: !0,
17125
- className: d2,
17126
- fieldClassName: u2
17127
+ className: u2,
17128
+ fieldClassName: f2
17127
17129
  }
17128
17130
  ),
17129
- /* @__PURE__ */ d.jsx(c2, { codes: e.context.recoveryCodes }),
17131
+ /* @__PURE__ */ d.jsx(d2, { codes: e.context.recoveryCodes }),
17130
17132
  /* @__PURE__ */ d.jsx(
17131
17133
  Qt,
17132
17134
  {
@@ -17153,17 +17155,17 @@ const Ni = ({
17153
17155
  middleware: a,
17154
17156
  children: i
17155
17157
  }) => {
17156
- const s = rw({ onSuccess: t, onError: r }), { showBanner: l } = Ke(), { lastHandle: f } = a2(), u = he.useRef({
17158
+ const s = nw({ onSuccess: t, onError: r }), { showBanner: l } = Ke(), { lastHandle: f } = i2(), u = he.useRef({
17157
17159
  handleType: void 0,
17158
17160
  handleValue: void 0,
17159
17161
  flag: void 0
17160
17162
  }), [y, m] = he.useState(), { status: g } = s, h = he.useMemo(() => ({
17161
- footer: l ? /* @__PURE__ */ d.jsx(o2, {}) : null,
17163
+ footer: l ? /* @__PURE__ */ d.jsx(a2, {}) : null,
17162
17164
  initial: g === "initial" ? /* @__PURE__ */ d.jsx(zr, {}) : void 0,
17163
- authenticating: g === "authenticating" ? /* @__PURE__ */ d.jsx(Dw, { flowState: s }) : void 0,
17164
- success: g === "success" ? /* @__PURE__ */ d.jsx(Aw, { flowState: s }) : void 0,
17165
+ authenticating: g === "authenticating" ? /* @__PURE__ */ d.jsx(Pw, { flowState: s }) : void 0,
17166
+ success: g === "success" ? /* @__PURE__ */ d.jsx(Tw, { flowState: s }) : void 0,
17165
17167
  error: g === "error" ? /* @__PURE__ */ d.jsx(Di, {}) : void 0
17166
- }), [g, l, s]), p = l2({ children: i, defaultSlots: h }), v = pe(
17168
+ }), [g, l, s]), p = c2({ children: i, defaultSlots: h }), v = pe(
17167
17169
  (b, _) => {
17168
17170
  s.status === "initial" && s.logIn(
17169
17171
  {
@@ -17186,10 +17188,10 @@ const Ni = ({
17186
17188
  selectedFactor: y,
17187
17189
  setSelectedFactor: m
17188
17190
  },
17189
- children: /* @__PURE__ */ d.jsx("div", { className: $e("sid-form", r2, e), children: /* @__PURE__ */ d.jsxs(i2, { text: o, factors: n, children: [
17191
+ children: /* @__PURE__ */ d.jsx("div", { className: $e("sid-form", n2, e), children: /* @__PURE__ */ d.jsxs(s2, { text: o, factors: n, children: [
17190
17192
  s.status === "initial" && /* @__PURE__ */ d.jsx(vs, { children: p.initial }),
17191
17193
  s.status === "authenticating" && /* @__PURE__ */ d.jsx(vs, { children: p.authenticating }),
17192
- s.status === "storeRecoveryCodes" && /* @__PURE__ */ d.jsx(h2, { flowState: s }),
17194
+ s.status === "storeRecoveryCodes" && /* @__PURE__ */ d.jsx(p2, { flowState: s }),
17193
17195
  s.status === "success" && p.success,
17194
17196
  s.status === "error" && p.error,
17195
17197
  p.footer
@@ -17199,8 +17201,8 @@ const Ni = ({
17199
17201
  };
17200
17202
  Ni.Initial = zr;
17201
17203
  Ni.Error = Di;
17202
- var p2 = "sluhu72";
17203
- const m2 = Oe(
17204
+ var m2 = "sluhu72";
17205
+ const g2 = Oe(
17204
17206
  ({ buttonClassName: e, ...t }, r) => /* @__PURE__ */ d.jsx(yb, { to: "sid-cookie-button", children: /* @__PURE__ */ d.jsx(
17205
17207
  Qt,
17206
17208
  {
@@ -17210,14 +17212,14 @@ const m2 = Oe(
17210
17212
  variant: "neutralMd",
17211
17213
  className: $e(
17212
17214
  "sid-gdpr-consent-dialog-trigger",
17213
- p2,
17215
+ m2,
17214
17216
  e
17215
17217
  ),
17216
17218
  children: /* @__PURE__ */ d.jsx(Hm, {})
17217
17219
  }
17218
17220
  ) })
17219
17221
  );
17220
- m2.displayName = "TriggerButton";
17222
+ g2.displayName = "TriggerButton";
17221
17223
  const Yd = ({ belongsTo: e, children: t }) => {
17222
17224
  const { user: r, anonymousUser: n } = er();
17223
17225
  return tt(() => {
@@ -17230,22 +17232,22 @@ const Yd = ({ belongsTo: e, children: t }) => {
17230
17232
  };
17231
17233
  Yd.some = (...e) => (t) => e.some((r) => t.includes(r));
17232
17234
  Yd.all = (...e) => (t) => e.every((r) => t.includes(r));
17233
- const g2 = (e, t) => {
17235
+ const v2 = (e, t) => {
17234
17236
  for (const r of t)
17235
17237
  if (!e.authentication.includes(r))
17236
17238
  return !1;
17237
17239
  return !0;
17238
- }, G6 = ({ children: e, withFactorMethods: t }) => {
17240
+ }, J6 = ({ children: e, withFactorMethods: t }) => {
17239
17241
  const { user: r, isAuthenticated: n } = er();
17240
- return tt(() => !n || !r ? !1 : t && Array.isArray(t) ? g2(r, t) : t && typeof t == "function" ? t(r.authentication) : !0, [r, t, n]) ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e }) : null;
17241
- }, J6 = ({ children: e }) => {
17242
+ return tt(() => !n || !r ? !1 : t && Array.isArray(t) ? v2(r, t) : t && typeof t == "function" ? t(r.authentication) : !0, [r, t, n]) ? /* @__PURE__ */ d.jsx(d.Fragment, { children: e }) : null;
17243
+ }, Z6 = ({ children: e }) => {
17242
17244
  const { isAuthenticated: t, isLoading: r } = er();
17243
17245
  return t || r ? null : /* @__PURE__ */ d.jsx(d.Fragment, { children: e });
17244
17246
  };
17245
17247
  dt({ marginBottom: "3", marginTop: "5" });
17246
- const v2 = (e) => Object.entries(e), y2 = new Set(Rb), b2 = {
17248
+ const y2 = (e) => Object.entries(e), b2 = new Set(Rb), w2 = {
17247
17249
  "--sid-color-primary": no,
17248
- "--sid-font-family": nw,
17250
+ "--sid-font-family": ow,
17249
17251
  "--sid-form-logo-width": ro,
17250
17252
  "--sid-form-border-radius": ro,
17251
17253
  "--sid-button-border-radius": ro,
@@ -17253,12 +17255,12 @@ const v2 = (e) => Object.entries(e), y2 = new Set(Rb), b2 = {
17253
17255
  "--sid-input-border-radius": ro,
17254
17256
  "--sid-input-border-color": no,
17255
17257
  "--sid-input-label-color": no
17256
- }, w2 = (e) => v2(e).filter((t) => y2.has(t[0])).reduce((t, [r, n]) => {
17258
+ }, _2 = (e) => y2(e).filter((t) => b2.has(t[0])).reduce((t, [r, n]) => {
17257
17259
  if (n === void 0)
17258
17260
  return t;
17259
- const o = b2[r](n);
17261
+ const o = w2[r](n);
17260
17262
  return o === null || (t[r] = o), t;
17261
- }, {}), _2 = (e) => {
17263
+ }, {}), k2 = (e) => {
17262
17264
  const t = e.toString().match(Bo);
17263
17265
  if (!t)
17264
17266
  return [];
@@ -17273,9 +17275,9 @@ const v2 = (e) => Object.entries(e), y2 = new Set(Rb), b2 = {
17273
17275
  ] : [];
17274
17276
  };
17275
17277
  ({
17276
- ...lw
17278
+ ...cw
17277
17279
  });
17278
- function k2(e) {
17280
+ function x2(e) {
17279
17281
  if (e.__esModule)
17280
17282
  return e;
17281
17283
  var t = e.default;
@@ -17307,7 +17309,7 @@ var Ua = { exports: {} }, yn = {};
17307
17309
  * LICENSE file in the root directory of this source tree.
17308
17310
  */
17309
17311
  var al;
17310
- function x2() {
17312
+ function C2() {
17311
17313
  if (al)
17312
17314
  return yn;
17313
17315
  al = 1;
@@ -17335,7 +17337,7 @@ var bn = {};
17335
17337
  * LICENSE file in the root directory of this source tree.
17336
17338
  */
17337
17339
  var il;
17338
- function C2() {
17340
+ function q2() {
17339
17341
  return il || (il = 1, process.env.NODE_ENV !== "production" && function() {
17340
17342
  var e = he, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, p = "@@iterator";
17341
17343
  function v(c) {
@@ -17705,7 +17707,7 @@ function C2() {
17705
17707
  });
17706
17708
  }
17707
17709
  }
17708
- function Br(c, x) {
17710
+ function Hr(c, x) {
17709
17711
  {
17710
17712
  var R = function() {
17711
17713
  ct || (ct = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
@@ -17758,7 +17760,7 @@ function C2() {
17758
17760
  }
17759
17761
  if (V || De) {
17760
17762
  var ve = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
17761
- V && Ft(j, ve), De && Br(j, ve);
17763
+ V && Ft(j, ve), De && Hr(j, ve);
17762
17764
  }
17763
17765
  return Dr(c, V, De, X, O, oe.current, j);
17764
17766
  }
@@ -17913,7 +17915,7 @@ Check the top-level render call using <` + R + ">.");
17913
17915
  bn.Fragment = n, bn.jsx = Ne, bn.jsxs = at;
17914
17916
  }()), bn;
17915
17917
  }
17916
- process.env.NODE_ENV === "production" ? Ua.exports = x2() : Ua.exports = C2();
17918
+ process.env.NODE_ENV === "production" ? Ua.exports = C2() : Ua.exports = q2();
17917
17919
  var kt = Ua.exports;
17918
17920
  function Xd({
17919
17921
  children: e,
@@ -17950,21 +17952,21 @@ function Xd({
17950
17952
  ]);
17951
17953
  return /* @__PURE__ */ kt.jsx(ii, { children: /* @__PURE__ */ kt.jsx(Vo.Provider, { value: r, children: e }) });
17952
17954
  }
17953
- function q2({
17955
+ function S2({
17954
17956
  children: e,
17955
17957
  ...t
17956
17958
  }) {
17957
17959
  const { sdkState: r } = er();
17958
17960
  return r !== "ready" ? /* @__PURE__ */ kt.jsx(Xd, { ...t, children: e }) : /* @__PURE__ */ kt.jsx(kt.Fragment, { children: e });
17959
17961
  }
17960
- const S2 = ({
17962
+ const $2 = ({
17961
17963
  children: e,
17962
17964
  ...t
17963
17965
  }) => {
17964
17966
  const [r, n] = ie(!1);
17965
17967
  return ye(() => {
17966
17968
  n(!0);
17967
- }, [r]), r ? /* @__PURE__ */ kt.jsx(Ab, { ...t, tokenStorage: "cookie", children: /* @__PURE__ */ kt.jsx(q2, { ...t, children: e }) }) : /* @__PURE__ */ kt.jsx(Xd, { ...t, children: e });
17969
+ }, [r]), r ? /* @__PURE__ */ kt.jsx(Ab, { ...t, tokenStorage: "cookie", children: /* @__PURE__ */ kt.jsx(S2, { ...t, children: e }) }) : /* @__PURE__ */ kt.jsx(Xd, { ...t, children: e });
17968
17970
  };
17969
17971
  var tr = {};
17970
17972
  /**
@@ -17992,7 +17994,7 @@ var Je;
17992
17994
  e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
17993
17995
  })(Je || (Je = {}));
17994
17996
  const sl = "popstate";
17995
- function $2(e) {
17997
+ function E2(e) {
17996
17998
  e === void 0 && (e = {});
17997
17999
  let {
17998
18000
  initialEntries: t = ["/"],
@@ -18071,7 +18073,7 @@ function $2(e) {
18071
18073
  }
18072
18074
  };
18073
18075
  }
18074
- function E2(e) {
18076
+ function R2(e) {
18075
18077
  e === void 0 && (e = {});
18076
18078
  function t(n, o) {
18077
18079
  let {
@@ -18096,7 +18098,7 @@ function E2(e) {
18096
18098
  }
18097
18099
  return Qd(t, r, null, e);
18098
18100
  }
18099
- function R2(e) {
18101
+ function I2(e) {
18100
18102
  e === void 0 && (e = {});
18101
18103
  function t(o, a) {
18102
18104
  let {
@@ -18142,7 +18144,7 @@ function jt(e, t) {
18142
18144
  }
18143
18145
  }
18144
18146
  }
18145
- function I2() {
18147
+ function z2() {
18146
18148
  return Math.random().toString(36).substr(2, 8);
18147
18149
  }
18148
18150
  function ll(e, t) {
@@ -18163,7 +18165,7 @@ function pr(e, t, r, n) {
18163
18165
  // full Locations now and avoid the need to run through this flow at all
18164
18166
  // But that's a pretty big refactor to the current test suite so going to
18165
18167
  // keep as is for the time being and just let any incoming keys take precedence
18166
- key: t && t.key || n || I2()
18168
+ key: t && t.key || n || z2()
18167
18169
  });
18168
18170
  }
18169
18171
  function Xt(e) {
@@ -18278,14 +18280,14 @@ var Ve;
18278
18280
  (function(e) {
18279
18281
  e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
18280
18282
  })(Ve || (Ve = {}));
18281
- const z2 = /* @__PURE__ */ new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]);
18282
- function D2(e) {
18283
+ const D2 = /* @__PURE__ */ new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]);
18284
+ function P2(e) {
18283
18285
  return e.index === !0;
18284
18286
  }
18285
18287
  function zn(e, t, r, n) {
18286
18288
  return r === void 0 && (r = []), n === void 0 && (n = {}), e.map((o, a) => {
18287
18289
  let i = [...r, a], s = typeof o.id == "string" ? o.id : i.join("-");
18288
- if (Le(o.index !== !0 || !o.children, "Cannot specify children on an index route"), Le(!n[s], 'Found a route id collision on id "' + s + `". Route id's must be globally unique within Data Router usages`), D2(o)) {
18290
+ if (Le(o.index !== !0 || !o.children, "Cannot specify children on an index route"), Le(!n[s], 'Found a route id collision on id "' + s + `". Route id's must be globally unique within Data Router usages`), P2(o)) {
18289
18291
  let l = Ae({}, o, t(o), {
18290
18292
  id: s
18291
18293
  });
@@ -18305,10 +18307,10 @@ function _r(e, t, r) {
18305
18307
  if (o == null)
18306
18308
  return null;
18307
18309
  let a = tu(e);
18308
- P2(a);
18310
+ A2(a);
18309
18311
  let i = null;
18310
18312
  for (let s = 0; i == null && s < a.length; ++s)
18311
- i = j2(
18313
+ i = V2(
18312
18314
  a[s],
18313
18315
  // Incoming pathnames are generally encoded from either window.location
18314
18316
  // or from router.navigate, but we want to match against the unencoded
@@ -18316,7 +18318,7 @@ function _r(e, t, r) {
18316
18318
  // encoded here but there also shouldn't be anything to decode so this
18317
18319
  // should be a safe operation. This avoids needing matchRoutes to be
18318
18320
  // history-aware.
18319
- H2(o)
18321
+ W2(o)
18320
18322
  );
18321
18323
  return i;
18322
18324
  }
@@ -18344,7 +18346,7 @@ function tu(e, t, r, n) {
18344
18346
  route: a
18345
18347
  };
18346
18348
  l.relativePath.startsWith("/") && (Le(l.relativePath.startsWith(n), 'Absolute route path "' + l.relativePath + '" nested under path ' + ('"' + n + '" is not valid. An absolute child route path ') + "must start with the combined path of all its parent routes."), l.relativePath = l.relativePath.slice(n.length));
18347
- let f = rn([n, l.relativePath]), u = r.concat(l);
18349
+ let f = nn([n, l.relativePath]), u = r.concat(l);
18348
18350
  a.children && a.children.length > 0 && (Le(
18349
18351
  // Our types know better, but runtime JS may not!
18350
18352
  // @ts-expect-error
@@ -18352,7 +18354,7 @@ function tu(e, t, r, n) {
18352
18354
  "Index routes must not have child routes. Please remove " + ('all child routes from route path "' + f + '".')
18353
18355
  ), tu(a.children, t, u, f)), !(a.path == null && !a.index) && t.push({
18354
18356
  path: f,
18355
- score: F2(f, a.index),
18357
+ score: U2(f, a.index),
18356
18358
  routesMeta: u
18357
18359
  });
18358
18360
  };
@@ -18375,15 +18377,15 @@ function ru(e) {
18375
18377
  let i = ru(n.join("/")), s = [];
18376
18378
  return s.push(...i.map((l) => l === "" ? a : [a, l].join("/"))), o && s.push(...i), s.map((l) => e.startsWith("/") && l === "" ? "/" : l);
18377
18379
  }
18378
- function P2(e) {
18379
- e.sort((t, r) => t.score !== r.score ? r.score - t.score : U2(t.routesMeta.map((n) => n.childrenIndex), r.routesMeta.map((n) => n.childrenIndex)));
18380
+ function A2(e) {
18381
+ e.sort((t, r) => t.score !== r.score ? r.score - t.score : j2(t.routesMeta.map((n) => n.childrenIndex), r.routesMeta.map((n) => n.childrenIndex)));
18380
18382
  }
18381
- const A2 = /^:\w+$/, T2 = 3, L2 = 2, O2 = 1, N2 = 10, M2 = -2, cl = (e) => e === "*";
18382
- function F2(e, t) {
18383
+ const T2 = /^:\w+$/, L2 = 3, O2 = 2, N2 = 1, M2 = 10, F2 = -2, cl = (e) => e === "*";
18384
+ function U2(e, t) {
18383
18385
  let r = e.split("/"), n = r.length;
18384
- return r.some(cl) && (n += M2), t && (n += L2), r.filter((o) => !cl(o)).reduce((o, a) => o + (A2.test(a) ? T2 : a === "" ? O2 : N2), n);
18386
+ return r.some(cl) && (n += F2), t && (n += O2), r.filter((o) => !cl(o)).reduce((o, a) => o + (T2.test(a) ? L2 : a === "" ? N2 : M2), n);
18385
18387
  }
18386
- function U2(e, t) {
18388
+ function j2(e, t) {
18387
18389
  return e.length === t.length && e.slice(0, -1).every((n, o) => n === t[o]) ? (
18388
18390
  // If two routes are siblings, we should try to match the earlier sibling
18389
18391
  // first. This allows people to have fine-grained control over the matching
@@ -18396,7 +18398,7 @@ function U2(e, t) {
18396
18398
  0
18397
18399
  );
18398
18400
  }
18399
- function j2(e, t) {
18401
+ function V2(e, t) {
18400
18402
  let {
18401
18403
  routesMeta: r
18402
18404
  } = e, n = {}, o = "/", a = [];
@@ -18413,14 +18415,14 @@ function j2(e, t) {
18413
18415
  a.push({
18414
18416
  // TODO: Can this as be avoided?
18415
18417
  params: n,
18416
- pathname: rn([o, u.pathname]),
18417
- pathnameBase: lu(rn([o, u.pathnameBase])),
18418
+ pathname: nn([o, u.pathname]),
18419
+ pathnameBase: lu(nn([o, u.pathnameBase])),
18418
18420
  route: y
18419
- }), u.pathnameBase !== "/" && (o = rn([o, u.pathnameBase]));
18421
+ }), u.pathnameBase !== "/" && (o = nn([o, u.pathnameBase]));
18420
18422
  }
18421
18423
  return a;
18422
18424
  }
18423
- function V2(e, t) {
18425
+ function B2(e, t) {
18424
18426
  t === void 0 && (t = {});
18425
18427
  let r = e;
18426
18428
  r.endsWith("*") && r !== "*" && !r.endsWith("/*") && (jt(!1, 'Route path "' + r + '" will be treated as if it were ' + ('"' + r.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + r.replace(/\*$/, "/*") + '".')), r = r.replace(/\*$/, "/*"));
@@ -18443,7 +18445,7 @@ function nu(e, t) {
18443
18445
  caseSensitive: !1,
18444
18446
  end: !0
18445
18447
  });
18446
- let [r, n] = B2(e.path, e.caseSensitive, e.end), o = t.match(r);
18448
+ let [r, n] = H2(e.path, e.caseSensitive, e.end), o = t.match(r);
18447
18449
  if (!o)
18448
18450
  return null;
18449
18451
  let a = o[0], i = a.replace(/(.)\/+$/, "$1"), s = o.slice(1);
@@ -18458,14 +18460,14 @@ function nu(e, t) {
18458
18460
  i = a.slice(0, a.length - p.length).replace(/(.)\/+$/, "$1");
18459
18461
  }
18460
18462
  const h = s[y];
18461
- return g && !h ? f[m] = void 0 : f[m] = W2(h || "", m), f;
18463
+ return g && !h ? f[m] = void 0 : f[m] = K2(h || "", m), f;
18462
18464
  }, {}),
18463
18465
  pathname: a,
18464
18466
  pathnameBase: i,
18465
18467
  pattern: e
18466
18468
  };
18467
18469
  }
18468
- function B2(e, t, r) {
18470
+ function H2(e, t, r) {
18469
18471
  t === void 0 && (t = !1), r === void 0 && (r = !0), jt(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
18470
18472
  let n = [], o = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:(\w+)(\?)?/g, (i, s, l) => (n.push({
18471
18473
  paramName: s,
@@ -18475,14 +18477,14 @@ function B2(e, t, r) {
18475
18477
  paramName: "*"
18476
18478
  }), o += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? o += "\\/*$" : e !== "" && e !== "/" && (o += "(?:(?=\\/|$))"), [new RegExp(o, t ? void 0 : "i"), n];
18477
18479
  }
18478
- function H2(e) {
18480
+ function W2(e) {
18479
18481
  try {
18480
18482
  return decodeURI(e);
18481
18483
  } catch (t) {
18482
18484
  return jt(!1, 'The URL path "' + e + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + t + ").")), e;
18483
18485
  }
18484
18486
  }
18485
- function W2(e, t) {
18487
+ function K2(e, t) {
18486
18488
  try {
18487
18489
  return decodeURIComponent(e);
18488
18490
  } catch (r) {
@@ -18505,12 +18507,12 @@ function ou(e, t) {
18505
18507
  hash: o = ""
18506
18508
  } = typeof e == "string" ? Vt(e) : e;
18507
18509
  return {
18508
- pathname: r ? r.startsWith("/") ? r : K2(r, t) : t,
18509
- search: J2(n),
18510
- hash: Z2(o)
18510
+ pathname: r ? r.startsWith("/") ? r : G2(r, t) : t,
18511
+ search: Z2(n),
18512
+ hash: Y2(o)
18511
18513
  };
18512
18514
  }
18513
- function K2(e, t) {
18515
+ function G2(e, t) {
18514
18516
  let r = t.replace(/\/+$/, "").split("/");
18515
18517
  return e.split("/").forEach((o) => {
18516
18518
  o === ".." ? r.length > 1 && r.pop() : o !== "." && r.push(o);
@@ -18546,10 +18548,10 @@ function su(e, t, r, n) {
18546
18548
  let l = ou(o, s), f = i && i !== "/" && i.endsWith("/"), u = (a || i === ".") && r.endsWith("/");
18547
18549
  return !l.pathname.endsWith("/") && (f || u) && (l.pathname += "/"), l;
18548
18550
  }
18549
- function G2(e) {
18551
+ function J2(e) {
18550
18552
  return e === "" || e.pathname === "" ? "/" : typeof e == "string" ? Vt(e).pathname : e.pathname;
18551
18553
  }
18552
- const rn = (e) => e.join("/").replace(/\/\/+/g, "/"), lu = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), J2 = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Z2 = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Y2 = function(t, r) {
18554
+ const nn = (e) => e.join("/").replace(/\/\/+/g, "/"), lu = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Z2 = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Y2 = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, X2 = function(t, r) {
18553
18555
  r === void 0 && (r = {});
18554
18556
  let n = typeof r == "number" ? {
18555
18557
  status: r
@@ -18628,7 +18630,7 @@ class cu {
18628
18630
  return Le(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds"), Object.entries(this.data).reduce((t, r) => {
18629
18631
  let [n, o] = r;
18630
18632
  return Object.assign(t, {
18631
- [n]: Q2(o)
18633
+ [n]: e5(o)
18632
18634
  });
18633
18635
  }, {});
18634
18636
  }
@@ -18636,17 +18638,17 @@ class cu {
18636
18638
  return Array.from(this.pendingKeysSet);
18637
18639
  }
18638
18640
  }
18639
- function X2(e) {
18641
+ function Q2(e) {
18640
18642
  return e instanceof Promise && e._tracked === !0;
18641
18643
  }
18642
- function Q2(e) {
18643
- if (!X2(e))
18644
+ function e5(e) {
18645
+ if (!Q2(e))
18644
18646
  return e;
18645
18647
  if (e._error)
18646
18648
  throw e._error;
18647
18649
  return e._data;
18648
18650
  }
18649
- const e5 = function(t, r) {
18651
+ const t5 = function(t, r) {
18650
18652
  r === void 0 && (r = {});
18651
18653
  let n = typeof r == "number" ? {
18652
18654
  status: r
@@ -18662,7 +18664,7 @@ const e5 = function(t, r) {
18662
18664
  return o.set("Location", t), new Response(null, Ae({}, n, {
18663
18665
  headers: o
18664
18666
  }));
18665
- }, t5 = (e, t) => {
18667
+ }, r5 = (e, t) => {
18666
18668
  let r = du(e, t);
18667
18669
  return r.headers.set("X-Remix-Reload-Document", "true"), r;
18668
18670
  };
@@ -18674,7 +18676,7 @@ class Mi {
18674
18676
  function Fi(e) {
18675
18677
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
18676
18678
  }
18677
- const uu = ["post", "put", "patch", "delete"], r5 = new Set(uu), n5 = ["get", ...uu], o5 = new Set(n5), a5 = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), i5 = /* @__PURE__ */ new Set([307, 308]), mo = {
18679
+ const uu = ["post", "put", "patch", "delete"], n5 = new Set(uu), o5 = ["get", ...uu], a5 = new Set(o5), i5 = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), s5 = /* @__PURE__ */ new Set([307, 308]), mo = {
18678
18680
  state: "idle",
18679
18681
  location: void 0,
18680
18682
  formMethod: void 0,
@@ -18692,7 +18694,7 @@ const uu = ["post", "put", "patch", "delete"], r5 = new Set(uu), n5 = ["get", ..
18692
18694
  formData: void 0,
18693
18695
  json: void 0,
18694
18696
  text: void 0
18695
- }, Jr = {
18697
+ }, Zr = {
18696
18698
  state: "unblocked",
18697
18699
  proceed: void 0,
18698
18700
  reset: void 0,
@@ -18700,7 +18702,7 @@ const uu = ["post", "put", "patch", "delete"], r5 = new Set(uu), n5 = ["get", ..
18700
18702
  }, hu = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, pu = (e) => ({
18701
18703
  hasErrorBoundary: !!e.hasErrorBoundary
18702
18704
  }), mu = "remix-router-transitions";
18703
- function s5(e) {
18705
+ function l5(e) {
18704
18706
  const t = e.window ? e.window : typeof window < "u" ? window : void 0, r = typeof t < "u" && typeof t.document < "u" && typeof t.document.createElement < "u", n = !r;
18705
18707
  Le(e.routes.length > 0, "You must provide a non-empty routes array to createRouter");
18706
18708
  let o;
@@ -18769,7 +18771,7 @@ function s5(e) {
18769
18771
  return;
18770
18772
  }
18771
18773
  jt(_e.size === 0 || F != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
18772
- let ne = Br({
18774
+ let ne = Hr({
18773
18775
  currentLocation: w.location,
18774
18776
  nextLocation: P,
18775
18777
  historyAction: E
@@ -18788,7 +18790,7 @@ function s5(e) {
18788
18790
  },
18789
18791
  reset() {
18790
18792
  let ke = new Map(w.blockers);
18791
- ke.set(ne, Jr), le({
18793
+ ke.set(ne, Zr), le({
18792
18794
  blockers: ke
18793
18795
  });
18794
18796
  }
@@ -18797,8 +18799,8 @@ function s5(e) {
18797
18799
  }
18798
18800
  return We(E, P);
18799
18801
  }), r) {
18800
- v5(t, U);
18801
- let S = () => y5(t, U);
18802
+ y5(t, U);
18803
+ let S = () => b5(t, U);
18802
18804
  t.addEventListener("pagehide", S), G = () => t.removeEventListener("pagehide", S);
18803
18805
  }
18804
18806
  return w.initialized || We(Je.Pop, w.location, {
@@ -18829,7 +18831,7 @@ function s5(e) {
18829
18831
  } = P === void 0 ? {} : P, de = w.actionData != null && w.navigation.formMethod != null && Lt(w.navigation.formMethod) && w.navigation.state === "loading" && ((F = S.state) == null ? void 0 : F._isRedirect) !== !0, ue;
18830
18832
  E.actionData ? Object.keys(E.actionData).length > 0 ? ue = E.actionData : ue = null : de ? ue = w.actionData : ue = null;
18831
18833
  let ae = E.loaderData ? gl(w.loaderData, E.loaderData, E.matches || [], E.errors) : w.loaderData, qe = w.blockers;
18832
- qe.size > 0 && (qe = new Map(qe), qe.forEach((Ne, at) => qe.set(at, Jr)));
18834
+ qe.size > 0 && (qe = new Map(qe), qe.forEach((Ne, at) => qe.set(at, Zr)));
18833
18835
  let rt = z === !0 || w.navigation.formMethod != null && Lt(w.navigation.formMethod) && ((ne = S.state) == null ? void 0 : ne._isRedirect) !== !0;
18834
18836
  s && (i = s, s = void 0), B || $ === Je.Pop || ($ === Je.Push ? e.history.push(S, S.state) : $ === Je.Replace && e.history.replace(S, S.state));
18835
18837
  let xe;
@@ -18878,7 +18880,7 @@ function s5(e) {
18878
18880
  ue = Ae({}, ue, e.history.encodeLocation(ue));
18879
18881
  let ae = E && E.replace != null ? E.replace : void 0, qe = Je.Push;
18880
18882
  ae === !0 ? qe = Je.Replace : ae === !1 || ne != null && Lt(ne.formMethod) && ne.formAction === w.location.pathname + w.location.search && (qe = Je.Replace);
18881
- let rt = E && "preventScrollReset" in E ? E.preventScrollReset === !0 : void 0, xe = (E && E.unstable_flushSync) === !0, Ne = Br({
18883
+ let rt = E && "preventScrollReset" in E ? E.preventScrollReset === !0 : void 0, xe = (E && E.unstable_flushSync) === !0, Ne = Hr({
18882
18884
  currentLocation: de,
18883
18885
  nextLocation: ue,
18884
18886
  historyAction: qe
@@ -18897,7 +18899,7 @@ function s5(e) {
18897
18899
  },
18898
18900
  reset() {
18899
18901
  let at = new Map(w.blockers);
18900
- at.set(Ne, Jr), le({
18902
+ at.set(Ne, Zr), le({
18901
18903
  blockers: at
18902
18904
  });
18903
18905
  }
@@ -18951,7 +18953,7 @@ function s5(e) {
18951
18953
  });
18952
18954
  return;
18953
18955
  }
18954
- if (w.initialized && !M && f5(w.location, E) && !(P && P.submission && Lt(P.submission.formMethod))) {
18956
+ if (w.initialized && !M && h5(w.location, E) && !(P && P.submission && Lt(P.submission.formMethod))) {
18955
18957
  Ie(E, {
18956
18958
  matches: ke
18957
18959
  }, {
@@ -18963,7 +18965,7 @@ function s5(e) {
18963
18965
  let ue = wn(e.history, E, L.signal, P && P.submission), ae, qe;
18964
18966
  if (P && P.pendingError)
18965
18967
  qe = {
18966
- [nn(ke).route.id]: P.pendingError
18968
+ [on(ke).route.id]: P.pendingError
18967
18969
  };
18968
18970
  else if (P && P.submission && Lt(P.submission.formMethod)) {
18969
18971
  let at = await ot(ue, E, P.submission, ke, {
@@ -18992,7 +18994,7 @@ function s5(e) {
18992
18994
  }
18993
18995
  async function ot(S, E, P, F, ne) {
18994
18996
  ne === void 0 && (ne = {}), xt();
18995
- let ke = m5(E, P);
18997
+ let ke = g5(E, P);
18996
18998
  le({
18997
18999
  navigation: ke
18998
19000
  }, {
@@ -19022,7 +19024,7 @@ function s5(e) {
19022
19024
  };
19023
19025
  }
19024
19026
  if (xr(de)) {
19025
- let ae = nn(F, ue.route.id);
19027
+ let ae = on(F, ue.route.id);
19026
19028
  return (ne && ne.replace) !== !0 && ($ = Je.Push), {
19027
19029
  // Send back an empty object we can use to clear out any prior actionData
19028
19030
  pendingActionData: {},
@@ -19169,7 +19171,7 @@ function s5(e) {
19169
19171
  return;
19170
19172
  }
19171
19173
  let ue = w.fetchers.get(S);
19172
- ft(S, g5(de, ue), {
19174
+ ft(S, v5(de, ue), {
19173
19175
  flushSync: ke
19174
19176
  });
19175
19177
  let ae = new AbortController(), qe = wn(e.history, P, ae.signal, de);
@@ -19333,7 +19335,7 @@ function s5(e) {
19333
19335
  } = S.navigation;
19334
19336
  !F && !ne && ae && qe && rt && (F = bl(S.navigation));
19335
19337
  let xe = F || ne;
19336
- if (i5.has(E.status) && xe && Lt(xe.formMethod))
19338
+ if (s5.has(E.status) && xe && Lt(xe.formMethod))
19337
19339
  await We(ue, de, {
19338
19340
  submission: Ae({}, xe, {
19339
19341
  formAction: E.location
@@ -19379,7 +19381,7 @@ function s5(e) {
19379
19381
  }
19380
19382
  function be(S, E, P, F) {
19381
19383
  F === void 0 && (F = {});
19382
- let ne = nn(w.matches, E);
19384
+ let ne = on(w.matches, E);
19383
19385
  oe(S), le({
19384
19386
  errors: {
19385
19387
  [ne.route.id]: P
@@ -19434,21 +19436,21 @@ function s5(e) {
19434
19436
  return ct(E), E.length > 0;
19435
19437
  }
19436
19438
  function vt(S, E) {
19437
- let P = w.blockers.get(S) || Jr;
19439
+ let P = w.blockers.get(S) || Zr;
19438
19440
  return _e.get(S) !== E && _e.set(S, E), P;
19439
19441
  }
19440
19442
  function Bt(S) {
19441
19443
  w.blockers.delete(S), _e.delete(S);
19442
19444
  }
19443
19445
  function Ft(S, E) {
19444
- let P = w.blockers.get(S) || Jr;
19446
+ let P = w.blockers.get(S) || Zr;
19445
19447
  Le(P.state === "unblocked" && E.state === "blocked" || P.state === "blocked" && E.state === "blocked" || P.state === "blocked" && E.state === "proceeding" || P.state === "blocked" && E.state === "unblocked" || P.state === "proceeding" && E.state === "unblocked", "Invalid blocker state transition: " + P.state + " -> " + E.state);
19446
19448
  let F = new Map(w.blockers);
19447
19449
  F.set(S, E), le({
19448
19450
  blockers: F
19449
19451
  });
19450
19452
  }
19451
- function Br(S) {
19453
+ function Hr(S) {
19452
19454
  let {
19453
19455
  currentLocation: E,
19454
19456
  nextLocation: P,
@@ -19542,7 +19544,7 @@ function s5(e) {
19542
19544
  }, C;
19543
19545
  }
19544
19546
  const gu = Symbol("deferred");
19545
- function l5(e, t) {
19547
+ function c5(e, t) {
19546
19548
  Le(e.length > 0, "You must provide a non-empty routes array to createStaticHandler");
19547
19549
  let r = {}, n = (t ? t.basename : null) || "/", o;
19548
19550
  if (t != null && t.mapRouteProperties)
@@ -19605,7 +19607,7 @@ function l5(e, t) {
19605
19607
  };
19606
19608
  }
19607
19609
  let k = await f(m, b, _, h);
19608
- return on(k) ? k : Ae({
19610
+ return an(k) ? k : Ae({
19609
19611
  location: b,
19610
19612
  basename: n
19611
19613
  }, k);
@@ -19634,7 +19636,7 @@ function l5(e, t) {
19634
19636
  pathname: _.pathname
19635
19637
  });
19636
19638
  let C = await f(m, _, k, p, q);
19637
- if (on(C))
19639
+ if (an(C))
19638
19640
  return C;
19639
19641
  let w = C.errors ? Object.values(C.errors)[0] : void 0;
19640
19642
  if (w !== void 0)
@@ -19653,17 +19655,17 @@ function l5(e, t) {
19653
19655
  if (Lt(m.method.toLowerCase()))
19654
19656
  return await u(m, h, v || Dn(h, g), p, v != null);
19655
19657
  let b = await y(m, h, p, v);
19656
- return on(b) ? b : Ae({}, b, {
19658
+ return an(b) ? b : Ae({}, b, {
19657
19659
  actionData: null,
19658
19660
  actionHeaders: {}
19659
19661
  });
19660
19662
  } catch (b) {
19661
- if (p5(b)) {
19663
+ if (m5(b)) {
19662
19664
  if (b.type === Ve.error)
19663
19665
  throw b.response;
19664
19666
  return b.response;
19665
19667
  }
19666
- if (h5(b))
19668
+ if (p5(b))
19667
19669
  return b;
19668
19670
  throw b;
19669
19671
  }
@@ -19727,7 +19729,7 @@ function l5(e, t) {
19727
19729
  };
19728
19730
  }
19729
19731
  if (xr(b)) {
19730
- let q = nn(g, h.route.id), C = await y(m, g, p, void 0, {
19732
+ let q = on(g, h.route.id), C = await y(m, g, p, void 0, {
19731
19733
  [q.route.id]: b.error
19732
19734
  });
19733
19735
  return Ae({}, C, {
@@ -19798,7 +19800,7 @@ function l5(e, t) {
19798
19800
  queryRoute: l
19799
19801
  };
19800
19802
  }
19801
- function c5(e, t, r) {
19803
+ function d5(e, t, r) {
19802
19804
  return Ae({}, t, {
19803
19805
  statusCode: 500,
19804
19806
  errors: {
@@ -19806,7 +19808,7 @@ function c5(e, t, r) {
19806
19808
  }
19807
19809
  });
19808
19810
  }
19809
- function d5(e) {
19811
+ function u5(e) {
19810
19812
  return e != null && ("formData" in e && e.formData != null || "body" in e && e.body !== void 0);
19811
19813
  }
19812
19814
  function Va(e, t, r, n, o, a, i, s) {
@@ -19821,10 +19823,10 @@ function Va(e, t, r, n, o, a, i, s) {
19821
19823
  } else
19822
19824
  l = t, f = t[t.length - 1];
19823
19825
  let u = su(o || ".", iu(l, a), Vn(e.pathname, r) || e.pathname, s === "path");
19824
- return o == null && (u.search = e.search, u.hash = e.hash), (o == null || o === "" || o === ".") && f && f.route.index && !Ui(u.search) && (u.search = u.search ? u.search.replace(/^\?/, "?index&") : "?index"), n && r !== "/" && (u.pathname = u.pathname === "/" ? r : rn([r, u.pathname])), Xt(u);
19826
+ return o == null && (u.search = e.search, u.hash = e.hash), (o == null || o === "" || o === ".") && f && f.route.index && !Ui(u.search) && (u.search = u.search ? u.search.replace(/^\?/, "?index&") : "?index"), n && r !== "/" && (u.pathname = u.pathname === "/" ? r : nn([r, u.pathname])), Xt(u);
19825
19827
  }
19826
19828
  function dl(e, t, r, n) {
19827
- if (!n || !d5(n))
19829
+ if (!n || !u5(n))
19828
19830
  return {
19829
19831
  path: r
19830
19832
  };
@@ -19940,7 +19942,7 @@ function ul(e, t, r, n, o, a, i, s, l, f, u, y, m, g, h, p) {
19940
19942
  if (a)
19941
19943
  return L.loader.hydrate ? !0 : t.loaderData[L.id] === void 0 && // Don't re-run if the loader ran and threw an error
19942
19944
  (!t.errors || t.errors[L.id] === void 0);
19943
- if (u5(t.loaderData, t.matches[z], $) || s.some((G) => G === $.route.id))
19945
+ if (f5(t.loaderData, t.matches[z], $) || s.some((G) => G === $.route.id))
19944
19946
  return !0;
19945
19947
  let K = t.matches[z], U = $;
19946
19948
  return fl($, Ae({
@@ -19992,7 +19994,7 @@ function ul(e, t, r, n, o, a, i, s, l, f, u, y, m, g, h, p) {
19992
19994
  });
19993
19995
  }), [C, w];
19994
19996
  }
19995
- function u5(e, t, r) {
19997
+ function f5(e, t, r) {
19996
19998
  let n = (
19997
19999
  // [a] -> [a, b]
19998
20000
  !t || // [a, b] -> [a, c]
@@ -20030,7 +20032,7 @@ async function hl(e, t, r) {
20030
20032
  let l = o[i] !== void 0 && // This property isn't static since it should always be updated based
20031
20033
  // on the route updates
20032
20034
  i !== "hasErrorBoundary";
20033
- jt(!l, 'Route "' + o.id + '" has a static property "' + i + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + i + '" will be ignored.')), !l && !z2.has(i) && (a[i] = n[i]);
20035
+ jt(!l, 'Route "' + o.id + '" has a static property "' + i + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + i + '" will be ignored.')), !l && !D2.has(i) && (a[i] = n[i]);
20034
20036
  }
20035
20037
  Object.assign(o, a), Object.assign(o, Ae({}, t(o), {
20036
20038
  lazy: void 0
@@ -20090,9 +20092,9 @@ async function Lr(e, t, r, n, o, a, i, s, l) {
20090
20092
  } finally {
20091
20093
  y && t.signal.removeEventListener("abort", y);
20092
20094
  }
20093
- if (on(u)) {
20095
+ if (an(u)) {
20094
20096
  let p = u.status;
20095
- if (a5.has(p)) {
20097
+ if (i5.has(p)) {
20096
20098
  let b = u.headers.get("Location");
20097
20099
  if (Le(b, "Redirects returned/thrown from loaders/actions must have a Location header"), !hu.test(b))
20098
20100
  b = Va(new URL(t.url), n.slice(0, n.indexOf(r) + 1), i, !0, b, s);
@@ -20187,7 +20189,7 @@ function bu(e, t, r, n, o) {
20187
20189
  return r.forEach((u, y) => {
20188
20190
  let m = t[y].route.id;
20189
20191
  if (Le(!Cr(u), "Cannot handle redirect results in processLoaderData"), xr(u)) {
20190
- let g = nn(e, m), h = u.error;
20192
+ let g = on(e, m), h = u.error;
20191
20193
  n && (h = Object.values(n)[0], n = void 0), i = i || {}, i[g.route.id] == null && (i[g.route.id] = h), a[m] = void 0, l || (l = !0, s = Fi(u.error) ? u.error.status : 500), u.headers && (f[m] = u.headers);
20192
20194
  } else
20193
20195
  kr(u) ? (o.set(m, u.deferredData), a[m] = u.deferredData.data) : a[m] = u.data, u.statusCode != null && u.statusCode !== 200 && !l && (s = u.statusCode), u.headers && (f[m] = u.headers);
@@ -20213,7 +20215,7 @@ function ml(e, t, r, n, o, a, i, s) {
20213
20215
  let h = i[u];
20214
20216
  if (!(g && g.signal.aborted))
20215
20217
  if (xr(h)) {
20216
- let p = nn(e.matches, m == null ? void 0 : m.route.id);
20218
+ let p = on(e.matches, m == null ? void 0 : m.route.id);
20217
20219
  f && f[p.route.id] || (f = Ae({}, f, {
20218
20220
  [p.route.id]: h.error
20219
20221
  })), e.fetchers.delete(y);
@@ -20240,7 +20242,7 @@ function gl(e, t, r, n) {
20240
20242
  }
20241
20243
  return o;
20242
20244
  }
20243
- function nn(e, t) {
20245
+ function on(e, t) {
20244
20246
  return (t ? e.slice(0, e.findIndex((n) => n.route.id === t) + 1) : [...e]).reverse().find((n) => n.route.hasErrorBoundary === !0) || e[0];
20245
20247
  }
20246
20248
  function Ro(e) {
@@ -20282,7 +20284,7 @@ function wu(e) {
20282
20284
  hash: ""
20283
20285
  }));
20284
20286
  }
20285
- function f5(e, t) {
20287
+ function h5(e, t) {
20286
20288
  return e.pathname !== t.pathname || e.search !== t.search ? !1 : e.hash === "" ? t.hash !== "" : e.hash === t.hash ? !0 : t.hash !== "";
20287
20289
  }
20288
20290
  function kr(e) {
@@ -20298,23 +20300,23 @@ function _u(e) {
20298
20300
  let t = e;
20299
20301
  return t && typeof t == "object" && typeof t.data == "object" && typeof t.subscribe == "function" && typeof t.cancel == "function" && typeof t.resolveData == "function";
20300
20302
  }
20301
- function on(e) {
20303
+ function an(e) {
20302
20304
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.headers == "object" && typeof e.body < "u";
20303
20305
  }
20304
- function h5(e) {
20305
- if (!on(e))
20306
+ function p5(e) {
20307
+ if (!an(e))
20306
20308
  return !1;
20307
20309
  let t = e.status, r = e.headers.get("Location");
20308
20310
  return t >= 300 && t <= 399 && r != null;
20309
20311
  }
20310
- function p5(e) {
20311
- return e && on(e.response) && (e.type === Ve.data || e.type === Ve.error);
20312
+ function m5(e) {
20313
+ return e && an(e.response) && (e.type === Ve.data || e.type === Ve.error);
20312
20314
  }
20313
20315
  function Ha(e) {
20314
- return o5.has(e.toLowerCase());
20316
+ return a5.has(e.toLowerCase());
20315
20317
  }
20316
20318
  function Lt(e) {
20317
- return r5.has(e.toLowerCase());
20319
+ return n5.has(e.toLowerCase());
20318
20320
  }
20319
20321
  async function yl(e, t, r, n, o, a) {
20320
20322
  for (let i = 0; i < r.length; i++) {
@@ -20420,7 +20422,7 @@ function ka(e, t) {
20420
20422
  text: void 0
20421
20423
  };
20422
20424
  }
20423
- function m5(e, t) {
20425
+ function g5(e, t) {
20424
20426
  return {
20425
20427
  state: "submitting",
20426
20428
  location: e,
@@ -20453,7 +20455,7 @@ function _n(e, t) {
20453
20455
  data: t
20454
20456
  };
20455
20457
  }
20456
- function g5(e, t) {
20458
+ function v5(e, t) {
20457
20459
  return {
20458
20460
  state: "submitting",
20459
20461
  formMethod: e.formMethod,
@@ -20477,7 +20479,7 @@ function br(e) {
20477
20479
  data: e
20478
20480
  };
20479
20481
  }
20480
- function v5(e, t) {
20482
+ function y5(e, t) {
20481
20483
  try {
20482
20484
  let r = e.sessionStorage.getItem(mu);
20483
20485
  if (r) {
@@ -20488,7 +20490,7 @@ function v5(e, t) {
20488
20490
  } catch {
20489
20491
  }
20490
20492
  }
20491
- function y5(e, t) {
20493
+ function b5(e, t) {
20492
20494
  if (t.size > 0) {
20493
20495
  let r = {};
20494
20496
  for (let [n, o] of t)
@@ -20500,13 +20502,13 @@ function y5(e, t) {
20500
20502
  }
20501
20503
  }
20502
20504
  }
20503
- const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20505
+ const w5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20504
20506
  __proto__: null,
20505
20507
  AbortedDeferredError: ja,
20506
20508
  get Action() {
20507
20509
  return Je;
20508
20510
  },
20509
- IDLE_BLOCKER: Jr,
20511
+ IDLE_BLOCKER: Zr,
20510
20512
  IDLE_FETCHER: fu,
20511
20513
  IDLE_NAVIGATION: mo,
20512
20514
  UNSAFE_DEFERRED_SYMBOL: gu,
@@ -20517,30 +20519,30 @@ const b5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20517
20519
  UNSAFE_getResolveToMatches: iu,
20518
20520
  UNSAFE_invariant: Le,
20519
20521
  UNSAFE_warning: jt,
20520
- createBrowserHistory: E2,
20521
- createHashHistory: R2,
20522
- createMemoryHistory: $2,
20522
+ createBrowserHistory: R2,
20523
+ createHashHistory: I2,
20524
+ createMemoryHistory: E2,
20523
20525
  createPath: Xt,
20524
- createRouter: s5,
20525
- createStaticHandler: l5,
20526
- defer: e5,
20527
- generatePath: V2,
20528
- getStaticContextFromError: c5,
20529
- getToPathname: G2,
20526
+ createRouter: l5,
20527
+ createStaticHandler: c5,
20528
+ defer: t5,
20529
+ generatePath: B2,
20530
+ getStaticContextFromError: d5,
20531
+ getToPathname: J2,
20530
20532
  isDeferredData: _u,
20531
20533
  isRouteErrorResponse: Fi,
20532
- joinPaths: rn,
20533
- json: Y2,
20534
+ joinPaths: nn,
20535
+ json: X2,
20534
20536
  matchPath: nu,
20535
20537
  matchRoutes: _r,
20536
20538
  normalizePathname: lu,
20537
20539
  parsePath: Vt,
20538
20540
  redirect: du,
20539
- redirectDocument: t5,
20541
+ redirectDocument: r5,
20540
20542
  resolvePath: ou,
20541
20543
  resolveTo: su,
20542
20544
  stripBasename: Vn
20543
- }, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ k2(b5);
20545
+ }, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ x2(w5);
20544
20546
  var mn = {}, Ko = {};
20545
20547
  /**
20546
20548
  * @remix-run/server-runtime v2.4.1
@@ -20556,11 +20558,11 @@ Object.defineProperty(Ko, "__esModule", { value: !0 });
20556
20558
  let go = /* @__PURE__ */ function(e) {
20557
20559
  return e.Development = "development", e.Production = "production", e.Test = "test", e;
20558
20560
  }({});
20559
- function w5(e) {
20561
+ function _5(e) {
20560
20562
  return e === go.Development || e === go.Production || e === go.Test;
20561
20563
  }
20562
20564
  Ko.ServerMode = go;
20563
- Ko.isServerMode = w5;
20565
+ Ko.isServerMode = _5;
20564
20566
  /**
20565
20567
  * @remix-run/server-runtime v2.4.1
20566
20568
  *
@@ -20572,32 +20574,32 @@ Ko.isServerMode = w5;
20572
20574
  * @license MIT
20573
20575
  */
20574
20576
  Object.defineProperty(mn, "__esModule", { value: !0 });
20575
- var _5 = xu, k5 = Ko;
20577
+ var k5 = xu, x5 = Ko;
20576
20578
  function Go(e, t) {
20577
- if (e instanceof Error && t !== k5.ServerMode.Development) {
20579
+ if (e instanceof Error && t !== x5.ServerMode.Development) {
20578
20580
  let r = new Error("Unexpected Server Error");
20579
20581
  return r.stack = void 0, r;
20580
20582
  }
20581
20583
  return e;
20582
20584
  }
20583
- function x5(e, t) {
20585
+ function C5(e, t) {
20584
20586
  return Object.entries(e).reduce((r, [n, o]) => Object.assign(r, {
20585
20587
  [n]: Go(o, t)
20586
20588
  }), {});
20587
20589
  }
20588
- function C5(e, t) {
20590
+ function q5(e, t) {
20589
20591
  let r = Go(e, t);
20590
20592
  return {
20591
20593
  message: r.message,
20592
20594
  stack: r.stack
20593
20595
  };
20594
20596
  }
20595
- function q5(e, t) {
20597
+ function S5(e, t) {
20596
20598
  if (!e)
20597
20599
  return null;
20598
20600
  let r = Object.entries(e), n = {};
20599
20601
  for (let [o, a] of r)
20600
- if (_5.isRouteErrorResponse(a))
20602
+ if (k5.isRouteErrorResponse(a))
20601
20603
  n[o] = {
20602
20604
  ...a,
20603
20605
  __type: "RouteErrorResponse"
@@ -20621,9 +20623,9 @@ function q5(e, t) {
20621
20623
  return n;
20622
20624
  }
20623
20625
  mn.sanitizeError = Go;
20624
- mn.sanitizeErrors = x5;
20625
- mn.serializeError = C5;
20626
- mn.serializeErrors = q5;
20626
+ mn.sanitizeErrors = C5;
20627
+ mn.serializeError = q5;
20628
+ mn.serializeErrors = S5;
20627
20629
  /**
20628
20630
  * @remix-run/server-runtime v2.4.1
20629
20631
  *
@@ -20635,33 +20637,33 @@ mn.serializeErrors = q5;
20635
20637
  * @license MIT
20636
20638
  */
20637
20639
  Object.defineProperty(tr, "__esModule", { value: !0 });
20638
- var Jo = xu, S5 = mn;
20639
- const $5 = (e, t = {}) => Jo.json(e, t), E5 = (e, t = {}) => Jo.defer(e, t), R5 = (e, t = 302) => Jo.redirect(e, t), I5 = (e, t = 302) => Jo.redirectDocument(e, t);
20640
- function z5(e) {
20640
+ var Jo = xu, $5 = mn;
20641
+ const E5 = (e, t = {}) => Jo.json(e, t), R5 = (e, t = {}) => Jo.defer(e, t), I5 = (e, t = 302) => Jo.redirect(e, t), z5 = (e, t = 302) => Jo.redirectDocument(e, t);
20642
+ function D5(e) {
20641
20643
  let t = e;
20642
20644
  return t && typeof t == "object" && typeof t.data == "object" && typeof t.subscribe == "function" && typeof t.cancel == "function" && typeof t.resolveData == "function";
20643
20645
  }
20644
- function D5(e) {
20646
+ function P5(e) {
20645
20647
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.headers == "object" && typeof e.body < "u";
20646
20648
  }
20647
- const P5 = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
20649
+ const A5 = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
20648
20650
  function Cu(e) {
20649
- return P5.has(e);
20651
+ return A5.has(e);
20650
20652
  }
20651
- function A5(e) {
20653
+ function T5(e) {
20652
20654
  return Cu(e.status);
20653
20655
  }
20654
- function T5(e) {
20656
+ function L5(e) {
20655
20657
  return e != null && typeof e.then == "function" && e._tracked === !0;
20656
20658
  }
20657
- const L5 = "__deferred_promise:";
20658
- function O5(e, t, r) {
20659
+ const O5 = "__deferred_promise:";
20660
+ function N5(e, t, r) {
20659
20661
  let n = new TextEncoder();
20660
20662
  return new ReadableStream({
20661
20663
  async start(a) {
20662
20664
  let i = {}, s = [];
20663
20665
  for (let [f, u] of Object.entries(e.data))
20664
- T5(u) ? (i[f] = `${L5}${f}`, (typeof u._data < "u" || typeof u._error < "u") && s.push(f)) : i[f] = u;
20666
+ L5(u) ? (i[f] = `${O5}${f}`, (typeof u._data < "u" || typeof u._error < "u") && s.push(f)) : i[f] = u;
20665
20667
  a.enqueue(n.encode(JSON.stringify(i) + `
20666
20668
 
20667
20669
  `));
@@ -20676,7 +20678,7 @@ function O5(e, t, r) {
20676
20678
  }
20677
20679
  function wl(e, t, r, n, o) {
20678
20680
  "_error" in n ? e.enqueue(t.encode("error:" + JSON.stringify({
20679
- [r]: n._error instanceof Error ? S5.serializeError(n._error, o) : n._error
20681
+ [r]: n._error instanceof Error ? $5.serializeError(n._error, o) : n._error
20680
20682
  }) + `
20681
20683
 
20682
20684
  `)) : e.enqueue(t.encode("data:" + JSON.stringify({
@@ -20685,17 +20687,17 @@ function wl(e, t, r, n, o) {
20685
20687
 
20686
20688
  `));
20687
20689
  }
20688
- tr.createDeferredReadableStream = O5;
20689
- tr.defer = E5;
20690
- var N5 = tr.isDeferredData = z5;
20691
- tr.isRedirectResponse = A5;
20690
+ tr.createDeferredReadableStream = N5;
20691
+ tr.defer = R5;
20692
+ var M5 = tr.isDeferredData = D5;
20693
+ tr.isRedirectResponse = T5;
20692
20694
  tr.isRedirectStatusCode = Cu;
20693
- tr.isResponse = D5;
20694
- tr.json = $5;
20695
- tr.redirect = R5;
20696
- tr.redirectDocument = I5;
20697
- const M5 = (e) => e !== void 0;
20698
- function F5(e) {
20695
+ tr.isResponse = P5;
20696
+ tr.json = E5;
20697
+ tr.redirect = I5;
20698
+ tr.redirectDocument = z5;
20699
+ const F5 = (e) => e !== void 0;
20700
+ function U5(e) {
20699
20701
  var t = [];
20700
20702
  if (e.length === 0)
20701
20703
  return "";
@@ -20717,19 +20719,19 @@ function F5(e) {
20717
20719
  var i = a.split("?");
20718
20720
  return a = i.shift() + (i.length > 0 ? "?" : "") + i.join("&"), a;
20719
20721
  }
20720
- function U5() {
20722
+ function j5() {
20721
20723
  var e;
20722
- return typeof arguments[0] == "object" ? e = arguments[0] : e = [].slice.call(arguments), F5(e);
20724
+ return typeof arguments[0] == "object" ? e = arguments[0] : e = [].slice.call(arguments), U5(e);
20723
20725
  }
20724
20726
  const ji = crypto, qu = (e) => e instanceof CryptoKey, io = new TextEncoder(), Zo = new TextDecoder();
20725
- function j5(...e) {
20727
+ function V5(...e) {
20726
20728
  const t = e.reduce((o, { length: a }) => o + a, 0), r = new Uint8Array(t);
20727
20729
  let n = 0;
20728
20730
  return e.forEach((o) => {
20729
20731
  r.set(o, n), n += o.length;
20730
20732
  }), r;
20731
20733
  }
20732
- const V5 = (e) => {
20734
+ const B5 = (e) => {
20733
20735
  const t = atob(e), r = new Uint8Array(t.length);
20734
20736
  for (let n = 0; n < t.length; n++)
20735
20737
  r[n] = t.charCodeAt(n);
@@ -20738,7 +20740,7 @@ const V5 = (e) => {
20738
20740
  let t = e;
20739
20741
  t instanceof Uint8Array && (t = Zo.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
20740
20742
  try {
20741
- return V5(t);
20743
+ return B5(t);
20742
20744
  } catch {
20743
20745
  throw new TypeError("The input to be decoded is not correctly encoded.");
20744
20746
  }
@@ -20768,7 +20770,7 @@ class _l extends zt {
20768
20770
  super(t), this.code = "ERR_JWT_EXPIRED", this.claim = r, this.reason = n;
20769
20771
  }
20770
20772
  }
20771
- class B5 extends zt {
20773
+ class H5 extends zt {
20772
20774
  constructor() {
20773
20775
  super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
20774
20776
  }
@@ -20816,7 +20818,7 @@ class $u extends zt {
20816
20818
  return "ERR_JWKS_NO_MATCHING_KEY";
20817
20819
  }
20818
20820
  }
20819
- class H5 extends zt {
20821
+ class W5 extends zt {
20820
20822
  constructor() {
20821
20823
  super(...arguments), this.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS", this.message = "multiple matching keys found in the JSON Web Key Set";
20822
20824
  }
@@ -20824,7 +20826,7 @@ class H5 extends zt {
20824
20826
  return "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
20825
20827
  }
20826
20828
  }
20827
- class W5 extends zt {
20829
+ class K5 extends zt {
20828
20830
  constructor() {
20829
20831
  super(...arguments), this.code = "ERR_JWKS_TIMEOUT", this.message = "request timed out";
20830
20832
  }
@@ -20832,7 +20834,7 @@ class W5 extends zt {
20832
20834
  return "ERR_JWKS_TIMEOUT";
20833
20835
  }
20834
20836
  }
20835
- class K5 extends zt {
20837
+ class G5 extends zt {
20836
20838
  constructor() {
20837
20839
  super(...arguments), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED", this.message = "signature verification failed";
20838
20840
  }
@@ -20849,7 +20851,7 @@ function so(e, t) {
20849
20851
  function xa(e) {
20850
20852
  return parseInt(e.name.slice(4), 10);
20851
20853
  }
20852
- function G5(e) {
20854
+ function J5(e) {
20853
20855
  switch (e) {
20854
20856
  case "ES256":
20855
20857
  return "P-256";
@@ -20861,7 +20863,7 @@ function G5(e) {
20861
20863
  throw new Error("unreachable");
20862
20864
  }
20863
20865
  }
20864
- function J5(e, t) {
20866
+ function Z5(e, t) {
20865
20867
  if (t.length && !t.some((r) => e.usages.includes(r))) {
20866
20868
  let r = "CryptoKey does not support this operation, its usages must include ";
20867
20869
  if (t.length > 2) {
@@ -20872,7 +20874,7 @@ function J5(e, t) {
20872
20874
  throw new TypeError(r);
20873
20875
  }
20874
20876
  }
20875
- function Z5(e, t, ...r) {
20877
+ function Y5(e, t, ...r) {
20876
20878
  switch (t) {
20877
20879
  case "HS256":
20878
20880
  case "HS384":
@@ -20914,7 +20916,7 @@ function Z5(e, t, ...r) {
20914
20916
  case "ES512": {
20915
20917
  if (!so(e.algorithm, "ECDSA"))
20916
20918
  throw or("ECDSA");
20917
- const n = G5(t);
20919
+ const n = J5(t);
20918
20920
  if (e.algorithm.namedCurve !== n)
20919
20921
  throw or(n, "algorithm.namedCurve");
20920
20922
  break;
@@ -20922,7 +20924,7 @@ function Z5(e, t, ...r) {
20922
20924
  default:
20923
20925
  throw new TypeError("CryptoKey does not support this operation");
20924
20926
  }
20925
- J5(e, r);
20927
+ Z5(e, r);
20926
20928
  }
20927
20929
  function Eu(e, t, ...r) {
20928
20930
  if (r.length > 2) {
@@ -20936,7 +20938,7 @@ const kl = (e, ...t) => Eu("Key must be ", e, ...t);
20936
20938
  function Ru(e, t, ...r) {
20937
20939
  return Eu(`Key for the ${e} algorithm must be `, t, ...r);
20938
20940
  }
20939
- const Iu = (e) => qu(e), qr = ["CryptoKey"], Y5 = (...e) => {
20941
+ const Iu = (e) => qu(e), qr = ["CryptoKey"], X5 = (...e) => {
20940
20942
  const t = e.filter(Boolean);
20941
20943
  if (t.length === 0 || t.length === 1)
20942
20944
  return !0;
@@ -20955,11 +20957,11 @@ const Iu = (e) => qu(e), qr = ["CryptoKey"], Y5 = (...e) => {
20955
20957
  }
20956
20958
  return !0;
20957
20959
  };
20958
- function X5(e) {
20960
+ function Q5(e) {
20959
20961
  return typeof e == "object" && e !== null;
20960
20962
  }
20961
20963
  function Pn(e) {
20962
- if (!X5(e) || Object.prototype.toString.call(e) !== "[object Object]")
20964
+ if (!Q5(e) || Object.prototype.toString.call(e) !== "[object Object]")
20963
20965
  return !1;
20964
20966
  if (Object.getPrototypeOf(e) === null)
20965
20967
  return !0;
@@ -20968,14 +20970,14 @@ function Pn(e) {
20968
20970
  t = Object.getPrototypeOf(t);
20969
20971
  return Object.getPrototypeOf(e) === t;
20970
20972
  }
20971
- const Q5 = (e, t) => {
20973
+ const e6 = (e, t) => {
20972
20974
  if (e.startsWith("RS") || e.startsWith("PS")) {
20973
20975
  const { modulusLength: r } = t.algorithm;
20974
20976
  if (typeof r != "number" || r < 2048)
20975
20977
  throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`);
20976
20978
  }
20977
20979
  };
20978
- function e6(e) {
20980
+ function t6(e) {
20979
20981
  let t, r;
20980
20982
  switch (e.kty) {
20981
20983
  case "RSA": {
@@ -21047,17 +21049,17 @@ function e6(e) {
21047
21049
  }
21048
21050
  return { algorithm: t, keyUsages: r };
21049
21051
  }
21050
- const t6 = async (e) => {
21052
+ const r6 = async (e) => {
21051
21053
  if (!e.alg)
21052
21054
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
21053
- const { algorithm: t, keyUsages: r } = e6(e), n = [
21055
+ const { algorithm: t, keyUsages: r } = t6(e), n = [
21054
21056
  t,
21055
21057
  e.ext ?? !1,
21056
21058
  e.key_ops ?? r
21057
21059
  ], o = { ...e };
21058
21060
  return delete o.alg, delete o.use, ji.subtle.importKey("jwk", o, ...n);
21059
21061
  };
21060
- async function r6(e, t) {
21062
+ async function n6(e, t) {
21061
21063
  if (!Pn(e))
21062
21064
  throw new TypeError("JWK must be an object");
21063
21065
  switch (t || (t = e.alg), e.kty) {
@@ -21070,19 +21072,19 @@ async function r6(e, t) {
21070
21072
  throw new lr('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
21071
21073
  case "EC":
21072
21074
  case "OKP":
21073
- return t6({ ...e, alg: t });
21075
+ return r6({ ...e, alg: t });
21074
21076
  default:
21075
21077
  throw new lr('Unsupported "kty" (Key Type) Parameter value');
21076
21078
  }
21077
21079
  }
21078
- const n6 = (e, t) => {
21080
+ const o6 = (e, t) => {
21079
21081
  if (!(t instanceof Uint8Array)) {
21080
21082
  if (!Iu(t))
21081
21083
  throw new TypeError(Ru(e, t, ...qr, "Uint8Array"));
21082
21084
  if (t.type !== "secret")
21083
21085
  throw new TypeError(`${qr.join(" or ")} instances for symmetric algorithms must be of type "secret"`);
21084
21086
  }
21085
- }, o6 = (e, t, r) => {
21087
+ }, a6 = (e, t, r) => {
21086
21088
  if (!Iu(t))
21087
21089
  throw new TypeError(Ru(e, t, ...qr));
21088
21090
  if (t.type === "secret")
@@ -21091,10 +21093,10 @@ const n6 = (e, t) => {
21091
21093
  throw new TypeError(`${qr.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);
21092
21094
  if (t.algorithm && r === "encrypt" && t.type === "private")
21093
21095
  throw new TypeError(`${qr.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`);
21094
- }, a6 = (e, t, r) => {
21095
- e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(e) ? n6(e, t) : o6(e, t, r);
21096
+ }, i6 = (e, t, r) => {
21097
+ e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(e) ? o6(e, t) : a6(e, t, r);
21096
21098
  };
21097
- function i6(e, t, r, n, o) {
21099
+ function s6(e, t, r, n, o) {
21098
21100
  if (o.crit !== void 0 && n.crit === void 0)
21099
21101
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
21100
21102
  if (!n || n.crit === void 0)
@@ -21113,13 +21115,13 @@ function i6(e, t, r, n, o) {
21113
21115
  }
21114
21116
  return new Set(n.crit);
21115
21117
  }
21116
- const s6 = (e, t) => {
21118
+ const l6 = (e, t) => {
21117
21119
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
21118
21120
  throw new TypeError(`"${e}" option must be an array of strings`);
21119
21121
  if (t)
21120
21122
  return new Set(t);
21121
21123
  };
21122
- function l6(e, t) {
21124
+ function c6(e, t) {
21123
21125
  const r = `SHA-${e.slice(-3)}`;
21124
21126
  switch (e) {
21125
21127
  case "HS256":
@@ -21144,9 +21146,9 @@ function l6(e, t) {
21144
21146
  throw new lr(`alg ${e} is not supported either by JOSE or your javascript runtime`);
21145
21147
  }
21146
21148
  }
21147
- function c6(e, t, r) {
21149
+ function d6(e, t, r) {
21148
21150
  if (qu(t))
21149
- return Z5(t, e, r), t;
21151
+ return Y5(t, e, r), t;
21150
21152
  if (t instanceof Uint8Array) {
21151
21153
  if (!e.startsWith("HS"))
21152
21154
  throw new TypeError(kl(t, ...qr));
@@ -21154,17 +21156,17 @@ function c6(e, t, r) {
21154
21156
  }
21155
21157
  throw new TypeError(kl(t, ...qr, "Uint8Array"));
21156
21158
  }
21157
- const d6 = async (e, t, r, n) => {
21158
- const o = await c6(e, t, "verify");
21159
- Q5(e, o);
21160
- const a = l6(e, o.algorithm);
21159
+ const u6 = async (e, t, r, n) => {
21160
+ const o = await d6(e, t, "verify");
21161
+ e6(e, o);
21162
+ const a = c6(e, o.algorithm);
21161
21163
  try {
21162
21164
  return await ji.subtle.verify(a, o, r, n);
21163
21165
  } catch {
21164
21166
  return !1;
21165
21167
  }
21166
21168
  };
21167
- async function u6(e, t, r) {
21169
+ async function f6(e, t, r) {
21168
21170
  if (!Pn(e))
21169
21171
  throw new pt("Flattened JWS must be an object");
21170
21172
  if (e.protected === void 0 && e.header === void 0)
@@ -21185,37 +21187,37 @@ async function u6(e, t, r) {
21185
21187
  } catch {
21186
21188
  throw new pt("JWS Protected Header is invalid");
21187
21189
  }
21188
- if (!Y5(n, e.header))
21190
+ if (!X5(n, e.header))
21189
21191
  throw new pt("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
21190
21192
  const o = {
21191
21193
  ...n,
21192
21194
  ...e.header
21193
- }, a = i6(pt, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, o);
21195
+ }, a = s6(pt, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, o);
21194
21196
  let i = !0;
21195
21197
  if (a.has("b64") && (i = n.b64, typeof i != "boolean"))
21196
21198
  throw new pt('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
21197
21199
  const { alg: s } = o;
21198
21200
  if (typeof s != "string" || !s)
21199
21201
  throw new pt('JWS "alg" (Algorithm) Header Parameter missing or invalid');
21200
- const l = r && s6("algorithms", r.algorithms);
21202
+ const l = r && l6("algorithms", r.algorithms);
21201
21203
  if (l && !l.has(s))
21202
- throw new B5('"alg" (Algorithm) Header Parameter value not allowed');
21204
+ throw new H5('"alg" (Algorithm) Header Parameter value not allowed');
21203
21205
  if (i) {
21204
21206
  if (typeof e.payload != "string")
21205
21207
  throw new pt("JWS Payload must be a string");
21206
21208
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
21207
21209
  throw new pt("JWS Payload must be a string or an Uint8Array instance");
21208
21210
  let f = !1;
21209
- typeof t == "function" && (t = await t(n, e), f = !0), a6(s, t, "verify");
21210
- const u = j5(io.encode(e.protected ?? ""), io.encode("."), typeof e.payload == "string" ? io.encode(e.payload) : e.payload);
21211
+ typeof t == "function" && (t = await t(n, e), f = !0), i6(s, t, "verify");
21212
+ const u = V5(io.encode(e.protected ?? ""), io.encode("."), typeof e.payload == "string" ? io.encode(e.payload) : e.payload);
21211
21213
  let y;
21212
21214
  try {
21213
21215
  y = vo(e.signature);
21214
21216
  } catch {
21215
21217
  throw new pt("Failed to base64url decode the signature");
21216
21218
  }
21217
- if (!await d6(s, t, y, u))
21218
- throw new K5();
21219
+ if (!await u6(s, t, y, u))
21220
+ throw new G5();
21219
21221
  let g;
21220
21222
  if (i)
21221
21223
  try {
@@ -21228,17 +21230,17 @@ async function u6(e, t, r) {
21228
21230
  const h = { payload: g };
21229
21231
  return e.protected !== void 0 && (h.protectedHeader = n), e.header !== void 0 && (h.unprotectedHeader = e.header), f ? { ...h, key: t } : h;
21230
21232
  }
21231
- async function f6(e, t, r) {
21233
+ async function h6(e, t, r) {
21232
21234
  if (e instanceof Uint8Array && (e = Zo.decode(e)), typeof e != "string")
21233
21235
  throw new pt("Compact JWS must be a string or Uint8Array");
21234
21236
  const { 0: n, 1: o, 2: a, length: i } = e.split(".");
21235
21237
  if (i !== 3)
21236
21238
  throw new pt("Invalid Compact JWS");
21237
- const s = await u6({ payload: o, protected: n, signature: a }, t, r), l = { payload: s.payload, protectedHeader: s.protectedHeader };
21239
+ const s = await f6({ payload: o, protected: n, signature: a }, t, r), l = { payload: s.payload, protectedHeader: s.protectedHeader };
21238
21240
  return typeof t == "function" ? { ...l, key: s.key } : l;
21239
21241
  }
21240
- const h6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du * 24, p6 = Bi * 7, m6 = Bi * 365.25, g6 = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, xl = (e) => {
21241
- const t = g6.exec(e);
21242
+ const p6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du * 24, m6 = Bi * 7, g6 = Bi * 365.25, v6 = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, xl = (e) => {
21243
+ const t = v6.exec(e);
21242
21244
  if (!t || t[4] && t[1])
21243
21245
  throw new TypeError("Invalid time period format");
21244
21246
  const r = parseFloat(t[2]), n = t[3].toLowerCase();
@@ -21273,14 +21275,14 @@ const h6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du
21273
21275
  case "week":
21274
21276
  case "weeks":
21275
21277
  case "w":
21276
- o = Math.round(r * p6);
21278
+ o = Math.round(r * m6);
21277
21279
  break;
21278
21280
  default:
21279
- o = Math.round(r * m6);
21281
+ o = Math.round(r * g6);
21280
21282
  break;
21281
21283
  }
21282
21284
  return t[1] === "-" || t[4] === "ago" ? -o : o;
21283
- }, Cl = (e) => e.toLowerCase().replace(/^application\//, ""), v6 = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, y6 = (e, t, r = {}) => {
21285
+ }, Cl = (e) => e.toLowerCase().replace(/^application\//, ""), y6 = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, b6 = (e, t, r = {}) => {
21284
21286
  const { typ: n } = r;
21285
21287
  if (n && (typeof e.typ != "string" || Cl(e.typ) !== Cl(n)))
21286
21288
  throw new Wt('unexpected "typ" JWT header value', "typ", "check_failed");
@@ -21300,7 +21302,7 @@ const h6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du
21300
21302
  throw new Wt('unexpected "iss" claim value', "iss", "check_failed");
21301
21303
  if (s && o.sub !== s)
21302
21304
  throw new Wt('unexpected "sub" claim value', "sub", "check_failed");
21303
- if (l && !v6(o.aud, typeof l == "string" ? [l] : l))
21305
+ if (l && !y6(o.aud, typeof l == "string" ? [l] : l))
21304
21306
  throw new Wt('unexpected "aud" claim value', "aud", "check_failed");
21305
21307
  let y;
21306
21308
  switch (typeof r.clockTolerance) {
@@ -21316,7 +21318,7 @@ const h6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du
21316
21318
  default:
21317
21319
  throw new TypeError("Invalid clockTolerance option type");
21318
21320
  }
21319
- const { currentDate: m } = r, g = h6(m || /* @__PURE__ */ new Date());
21321
+ const { currentDate: m } = r, g = p6(m || /* @__PURE__ */ new Date());
21320
21322
  if ((o.iat !== void 0 || f) && typeof o.iat != "number")
21321
21323
  throw new Wt('"iat" claim must be a number', "iat", "invalid");
21322
21324
  if (o.nbf !== void 0) {
@@ -21340,15 +21342,15 @@ const h6 = (e) => Math.floor(e.getTime() / 1e3), zu = 60, Du = zu * 60, Bi = Du
21340
21342
  }
21341
21343
  return o;
21342
21344
  };
21343
- async function b6(e, t, r) {
21345
+ async function w6(e, t, r) {
21344
21346
  var i;
21345
- const n = await f6(e, t, r);
21347
+ const n = await h6(e, t, r);
21346
21348
  if ((i = n.protectedHeader.crit) != null && i.includes("b64") && n.protectedHeader.b64 === !1)
21347
21349
  throw new Su("JWTs MUST NOT use unencoded payload");
21348
- const a = { payload: y6(n.protectedHeader, n.payload, r), protectedHeader: n.protectedHeader };
21350
+ const a = { payload: b6(n.protectedHeader, n.payload, r), protectedHeader: n.protectedHeader };
21349
21351
  return typeof t == "function" ? { ...a, key: n.key } : a;
21350
21352
  }
21351
- function w6(e) {
21353
+ function _6(e) {
21352
21354
  switch (typeof e == "string" && e.slice(0, 2)) {
21353
21355
  case "RS":
21354
21356
  case "PS":
@@ -21362,22 +21364,22 @@ function w6(e) {
21362
21364
  }
21363
21365
  }
21364
21366
  function Pu(e) {
21365
- return e && typeof e == "object" && Array.isArray(e.keys) && e.keys.every(_6);
21367
+ return e && typeof e == "object" && Array.isArray(e.keys) && e.keys.every(k6);
21366
21368
  }
21367
- function _6(e) {
21369
+ function k6(e) {
21368
21370
  return Pn(e);
21369
21371
  }
21370
- function k6(e) {
21372
+ function x6(e) {
21371
21373
  return typeof structuredClone == "function" ? structuredClone(e) : JSON.parse(JSON.stringify(e));
21372
21374
  }
21373
- class x6 {
21375
+ class C6 {
21374
21376
  constructor(t) {
21375
21377
  if (this._cached = /* @__PURE__ */ new WeakMap(), !Pu(t))
21376
21378
  throw new Vi("JSON Web Key Set malformed");
21377
- this._jwks = k6(t);
21379
+ this._jwks = x6(t);
21378
21380
  }
21379
21381
  async getKey(t, r) {
21380
- const { alg: n, kid: o } = { ...t, ...r == null ? void 0 : r.header }, a = w6(n), i = this._jwks.keys.filter((f) => {
21382
+ const { alg: n, kid: o } = { ...t, ...r == null ? void 0 : r.header }, a = _6(n), i = this._jwks.keys.filter((f) => {
21381
21383
  let u = a === f.kty;
21382
21384
  if (u && typeof o == "string" && (u = o === f.kid), u && typeof f.alg == "string" && (u = n === f.alg), u && typeof f.use == "string" && (u = f.use === "sig"), u && Array.isArray(f.key_ops) && (u = f.key_ops.includes("verify")), u && n === "EdDSA" && (u = f.crv === "Ed25519" || f.crv === "Ed448"), u)
21383
21385
  switch (n) {
@@ -21399,7 +21401,7 @@ class x6 {
21399
21401
  if (l === 0)
21400
21402
  throw new $u();
21401
21403
  if (l !== 1) {
21402
- const f = new H5(), { _cached: u } = this;
21404
+ const f = new W5(), { _cached: u } = this;
21403
21405
  throw f[Symbol.asyncIterator] = async function* () {
21404
21406
  for (const y of i)
21405
21407
  try {
@@ -21415,14 +21417,14 @@ class x6 {
21415
21417
  async function ql(e, t, r) {
21416
21418
  const n = e.get(t) || e.set(t, {}).get(t);
21417
21419
  if (n[r] === void 0) {
21418
- const o = await r6({ ...t, ext: !0 }, r);
21420
+ const o = await n6({ ...t, ext: !0 }, r);
21419
21421
  if (o instanceof Uint8Array || o.type !== "public")
21420
21422
  throw new Vi("JSON Web Key Set members must be public keys");
21421
21423
  n[r] = o;
21422
21424
  }
21423
21425
  return n[r];
21424
21426
  }
21425
- const C6 = async (e, t, r) => {
21427
+ const q6 = async (e, t, r) => {
21426
21428
  let n, o, a = !1;
21427
21429
  typeof AbortController == "function" && (n = new AbortController(), o = setTimeout(() => {
21428
21430
  a = !0, n.abort();
@@ -21432,7 +21434,7 @@ const C6 = async (e, t, r) => {
21432
21434
  redirect: "manual",
21433
21435
  headers: r.headers
21434
21436
  }).catch((s) => {
21435
- throw a ? new W5() : s;
21437
+ throw a ? new K5() : s;
21436
21438
  });
21437
21439
  if (o !== void 0 && clearTimeout(o), i.status !== 200)
21438
21440
  throw new zt("Expected 200 OK from the JSON Web Key Set HTTP response");
@@ -21442,13 +21444,13 @@ const C6 = async (e, t, r) => {
21442
21444
  throw new zt("Failed to parse the JSON Web Key Set HTTP response as JSON");
21443
21445
  }
21444
21446
  };
21445
- function q6() {
21447
+ function S6() {
21446
21448
  return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
21447
21449
  }
21448
21450
  let Wa;
21449
21451
  var lo, Sl;
21450
21452
  (typeof navigator > "u" || !((Sl = (lo = navigator.userAgent) == null ? void 0 : lo.startsWith) != null && Sl.call(lo, "Mozilla/5.0 "))) && (Wa = "jose/v5.2.0");
21451
- class S6 extends x6 {
21453
+ class $6 extends C6 {
21452
21454
  constructor(t, r) {
21453
21455
  if (super({ keys: [] }), this._jwks = void 0, !(t instanceof URL))
21454
21456
  throw new TypeError("url must be an instance of URL");
@@ -21471,9 +21473,9 @@ class S6 extends x6 {
21471
21473
  }
21472
21474
  }
21473
21475
  async reload() {
21474
- this._pendingFetch && q6() && (this._pendingFetch = void 0);
21476
+ this._pendingFetch && S6() && (this._pendingFetch = void 0);
21475
21477
  const t = new Headers(this._options.headers);
21476
- Wa && !t.has("User-Agent") && (t.set("User-Agent", Wa), this._options.headers = Object.fromEntries(t.entries())), this._pendingFetch || (this._pendingFetch = C6(this._url, this._timeoutDuration, this._options).then((r) => {
21478
+ Wa && !t.has("User-Agent") && (t.set("User-Agent", Wa), this._options.headers = Object.fromEntries(t.entries())), this._pendingFetch || (this._pendingFetch = q6(this._url, this._timeoutDuration, this._options).then((r) => {
21477
21479
  if (!Pu(r))
21478
21480
  throw new Vi("JSON Web Key Set malformed");
21479
21481
  this._jwks = { keys: r.keys }, this._jwksTimestamp = Date.now(), this._pendingFetch = void 0;
@@ -21482,21 +21484,21 @@ class S6 extends x6 {
21482
21484
  })), await this._pendingFetch;
21483
21485
  }
21484
21486
  }
21485
- function $6(e, t) {
21486
- const r = new S6(e, t);
21487
+ function E6(e, t) {
21488
+ const r = new $6(e, t);
21487
21489
  return async function(n, o) {
21488
21490
  return r.getKey(n, o);
21489
21491
  };
21490
21492
  }
21491
- const E6 = async ({
21493
+ const R6 = async ({
21492
21494
  token: e,
21493
21495
  baseApiUrl: t,
21494
21496
  oid: r
21495
21497
  }) => {
21496
21498
  if (!e)
21497
21499
  return Promise.reject();
21498
- const n = new URL(U5(t, "/.well-known/jwks.json")), o = $6(n);
21499
- await b6(
21500
+ const n = new URL(j5(t, "/.well-known/jwks.json")), o = E6(n);
21501
+ await w6(
21500
21502
  e,
21501
21503
  o,
21502
21504
  {
@@ -21504,15 +21506,15 @@ const E6 = async ({
21504
21506
  audience: r
21505
21507
  }
21506
21508
  );
21507
- }, R6 = () => ({}), I6 = (e) => (t = R6) => async (r) => {
21508
- const n = Rl(r.request.headers.get("cookie")), o = await E6({
21509
+ }, I6 = () => ({}), z6 = (e) => (t = I6) => async (r) => {
21510
+ const n = Rl(r.request.headers.get("cookie")), o = await R6({
21509
21511
  token: n,
21510
21512
  baseApiUrl: e.baseApiUrl,
21511
21513
  oid: e.oid
21512
21514
  }).then(() => !0).catch(() => !1), a = {
21513
21515
  slashid: o ? n : void 0
21514
21516
  };
21515
- if (!M5(t))
21517
+ if (!F5(t))
21516
21518
  return Yo(new Response(JSON.stringify({})), a);
21517
21519
  const i = o && n ? new oi.User(n, {
21518
21520
  baseURL: e.baseApiUrl,
@@ -21526,7 +21528,7 @@ const E6 = async ({
21526
21528
  user: i
21527
21529
  }
21528
21530
  });
21529
- if (Fu(s), N5(s))
21531
+ if (Fu(s), M5(s))
21530
21532
  return Mu(s, a);
21531
21533
  if (!Uu(s)) {
21532
21534
  const l = s ?? {};
@@ -21538,13 +21540,13 @@ const E6 = async ({
21538
21540
  throw new Error("Bad response format in callback");
21539
21541
  }
21540
21542
  };
21541
- function z6({
21543
+ function D6({
21542
21544
  children: e,
21543
21545
  options: t
21544
21546
  }) {
21545
21547
  const r = Nu(), { slashid: n } = r;
21546
21548
  return /* @__PURE__ */ kt.jsx(
21547
- S2,
21549
+ $2,
21548
21550
  {
21549
21551
  baseApiUrl: "https://api.slashid.com",
21550
21552
  sdkUrl: "https://cdn.slashid.com/sdk.html",
@@ -21554,19 +21556,19 @@ function z6({
21554
21556
  }
21555
21557
  );
21556
21558
  }
21557
- const Z6 = (e) => {
21559
+ const Y6 = (e) => {
21558
21560
  const t = {
21559
21561
  baseApiUrl: "https://api.slashid.com",
21560
21562
  sdkUrl: "https://cdn.slashid.com/sdk.html",
21561
21563
  ...e
21562
- }, r = ({ children: a }) => /* @__PURE__ */ kt.jsx(z6, { options: e, children: a }), n = () => {
21564
+ }, r = ({ children: a }) => /* @__PURE__ */ kt.jsx(D6, { options: e, children: a }), n = () => {
21563
21565
  const a = {
21564
21566
  baseApiUrl: t.baseApiUrl,
21565
21567
  sdkUrl: t.sdkUrl,
21566
21568
  analyticsEnabled: t.analyticsEnabled,
21567
21569
  oid: t.oid
21568
21570
  };
21569
- return I6(a);
21571
+ return z6(a);
21570
21572
  }, o = (a) => (i) => {
21571
21573
  const s = i.request.headers.get("cookie"), l = Rl(s);
21572
21574
  return a(l ? {
@@ -21587,7 +21589,7 @@ const Z6 = (e) => {
21587
21589
  slashIDRootLoader: n(),
21588
21590
  slashIDLoader: o
21589
21591
  };
21590
- }, Y6 = () => {
21592
+ }, X6 = () => {
21591
21593
  const { logOut: e, ...t } = er(), r = El();
21592
21594
  return {
21593
21595
  logOut: () => {
@@ -21595,25 +21597,25 @@ const Z6 = (e) => {
21595
21597
  },
21596
21598
  ...t
21597
21599
  };
21598
- }, D6 = () => /* @__PURE__ */ kt.jsx("style", { children: `._1fuhtfd0{--sid-font-family: Inter, sans-serif;--sid-button-border-radius: 16px;--sid-border-width-panel: 2px;--sid-input-border-radius: 8px;--sid-input-border-color: var(--sid-color-subtle);--sid-input-label-color: var(--sid-color-contrast);--sid-form-border-radius: 16px;--sid-form-logo-width: auto;--sid-color-background: #0F0E1B;--sid-color-mute: #171625;--sid-color-panel: #222131;--sid-color-foreground: #F3F3F5;--sid-color-contrast: rgba(243, 243, 245, .8);--sid-color-secondary: rgba(243, 243, 245, .6);--sid-color-tertiary: rgba(243, 243, 245, .5);--sid-color-placeholder: rgba(243, 243, 245, .3);--sid-color-smooth: rgba(243, 243, 245, .12);--sid-color-subtle: rgba(243, 243, 245, .06);--sid-color-soft: rgba(243, 243, 245, .04);--sid-color-offset: rgba(243, 243, 245, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #171625;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}._1fuhtfd1{--sid-font-family: Inter, sans-serif;--sid-button-border-radius: 16px;--sid-border-width-panel: 2px;--sid-input-border-radius: 8px;--sid-input-border-color: var(--sid-color-subtle);--sid-input-label-color: var(--sid-color-contrast);--sid-form-border-radius: 16px;--sid-form-logo-width: auto;--sid-color-background: #F3F3F5;--sid-color-mute: #F3F3F5;--sid-color-panel: #FFFFFF;--sid-color-foreground: #142049;--sid-color-contrast: rgba(20, 32, 73, .8);--sid-color-secondary: rgba(20, 32, 73, .6);--sid-color-tertiary: rgba(20, 32, 73, .5);--sid-color-placeholder: rgba(20, 32, 73, .3);--sid-color-smooth: rgba(20, 32, 73, .12);--sid-color-subtle: rgba(20, 32, 73, .06);--sid-color-soft: rgba(20, 32, 73, .04);--sid-color-offset: rgba(20, 32, 73, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #FAFAFA;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}._1fuhtfd3{--_1fuhtfd4: 500;--_1fuhtfd5: 600;--_1fuhtfd6: 700;--_1fuhtfd7: 12px;--_1fuhtfd8: 14px;--_1fuhtfd9: 16px;--_1fuhtfda: 20px;--_1fuhtfdb: 24px;--_1fuhtfdc: 0;--_1fuhtfdd: .25rem;--_1fuhtfde: .5rem;--_1fuhtfdf: .75rem;--_1fuhtfdg: 1rem;--_1fuhtfdh: 1.25rem;--_1fuhtfdi: 1.5rem;--_1fuhtfdj: 1.75rem;--_1fuhtfdk: 2rem;--_1fuhtfdl: 2.25rem;--_1fuhtfdm: 2.5rem;--_1fuhtfdn: 2.75rem;--_1fuhtfdo: 3rem;--_1fuhtfdp: 3.25rem;--_1fuhtfdq: 3.5rem;--_1fuhtfdr: 3.75rem;--_1fuhtfds: 4rem;--_1fuhtfdt: 5rem;--_1fuhtfdu: 6rem;--_1fuhtfdv: 7rem;--_1fuhtfdw: 8rem;--_1fuhtfdx: 9rem;--_1fuhtfdy: 10rem;--_1fuhtfdz: 11rem;--_1fuhtfd10: 12rem;--_1fuhtfd11: 13rem;--_1fuhtfd12: 14rem;--_1fuhtfd13: 15rem;--_1fuhtfd14: 16rem;--_1fuhtfd15: 17rem;--_1fuhtfd16: 18rem;--_1fuhtfd17: 19rem;--_1fuhtfd18: 20rem;--_1fuhtfd19: 24rem;--_1fuhtfd1a: 1px;--_1fuhtfd1b: .0625rem;--_1fuhtfd1c: .125rem;--_1fuhtfd1d: .1875rem;--_1fuhtfd1e: .375rem;--_1fuhtfd1f: .625rem;--_1fuhtfd1g: .875rem;--_1fuhtfd1h: 60px;--_1fuhtfd1i: 16px;--_1fuhtfd1j: 12px;--_1fuhtfd1k: 240px;--_1fuhtfd1l: 4px 0px 24px rgba(29, 25, 77, .03), 0px 12px 32px rgba(29, 25, 77, .04);--_1fuhtfd1m: 32px 80px 116px 0px rgba(15, 14, 27, .1), 120px 0px 184px 0px rgba(15, 14, 27, .1);--_1fuhtfd1n: 0px 0px 4px 0px rgba(33, 36, 51, .02), 0px 6px 12px 0px rgba(33, 36, 51, .03)}.sid-theme-root{--_1fuhtfd1o: var(--sid-color-background);--_1fuhtfd1p: var(--sid-color-mute);--_1fuhtfd1q: var(--sid-color-panel);--_1fuhtfd1r: var(--sid-color-foreground);--_1fuhtfd1s: var(--sid-color-contrast);--_1fuhtfd1t: var(--sid-color-secondary);--_1fuhtfd1u: var(--sid-color-tertiary);--_1fuhtfd1v: var(--sid-color-placeholder);--_1fuhtfd1w: var(--sid-color-smooth);--_1fuhtfd1x: var(--sid-color-subtle);--_1fuhtfd1y: var(--sid-color-soft);--_1fuhtfd1z: var(--sid-color-offset);--_1fuhtfd20: var(--sid-color-primary);--_1fuhtfd21: var(--sid-color-primary-hover);--_1fuhtfd22: var(--sid-color-transparent);--_1fuhtfd23: var(--sid-color-error);--_1fuhtfd24: var(--sid-color-auxiliary);--_1fuhtfd25: var(--sid-color-success);--_1fuhtfd26: var(--sid-color-foreground-success);--_1fuhtfd27: var(--sid-color-background-success);--_1fuhtfd28: var(--sid-color-failure);--_1fuhtfd29: var(--sid-color-foreground-failure);--_1fuhtfd2a: var(--sid-color-background-failure);--_1fuhtfd2b: var(--sid-font-family);--_1fuhtfd2c: var(--sid-button-border-radius);--_1fuhtfd2d: var(--sid-border-width-panel);--_1fuhtfd2e: var(--sid-input-border-radius);--_1fuhtfd2f: var(--sid-input-border-color);--_1fuhtfd2g: var(--sid-input-label-color);--_1fuhtfd2h: var(--sid-button-border-radius);--_1fuhtfd2i: var(--sid-form-border-radius);--_1fuhtfd2j: var(--sid-form-logo-width)}@media (prefers-color-scheme: dark){._1fuhtfd2{--sid-color-background: #0F0E1B;--sid-color-mute: #171625;--sid-color-panel: #222131;--sid-color-foreground: #F3F3F5;--sid-color-contrast: rgba(243, 243, 245, .8);--sid-color-secondary: rgba(243, 243, 245, .6);--sid-color-tertiary: rgba(243, 243, 245, .5);--sid-color-placeholder: rgba(243, 243, 245, .3);--sid-color-smooth: rgba(243, 243, 245, .12);--sid-color-subtle: rgba(243, 243, 245, .06);--sid-color-soft: rgba(243, 243, 245, .04);--sid-color-offset: rgba(243, 243, 245, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #171625;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}}@keyframes _1v32gdc0{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._1v32gdc1{border-radius:50%;border:3px solid white;border-bottom-color:transparent;box-sizing:border-box;display:inline-block;animation:_1v32gdc0 1s linear infinite}._1v32gdc2{width:24px;height:24px}._1v32gdc3{width:16px;height:16px}._154fc2o0{font-family:var(--sid-font-family);border-radius:var(--sid-button-border-radius);font-weight:var(--_1fuhtfd4);font-size:var(--_1fuhtfd9);height:var(--_1fuhtfd1h);width:100%;display:flex;align-items:center;justify-content:center;padding:19px 22px;-webkit-user-select:none;user-select:none;line-height:118%}._154fc2o0:hover{cursor:pointer}._154fc2o0:active{transform:scale(.98)}._154fc2o0:focus-visible{outline:4px solid var(--sid-color-smooth)}._154fc2o1{width:auto;height:auto;padding:14px 16px;border-radius:16px}._154fc2o2{background-color:var(--sid-color-primary);color:#fff;border:none}._154fc2o2:hover:not([disabled]){background-color:var(--sid-color-primary-hover)}._154fc2o3{background-color:var(--sid-color-panel);color:var(--sid-color-foreground);border:1px solid var(--sid-color-smooth)}._154fc2o3:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o4{background-color:var(--sid-color-panel);color:var(--sid-color-foreground);border:1px solid var(--sid-color-smooth)}._154fc2o4:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o5{border:none;background-color:var(--sid-color-foreground);color:var(--sid-color-background)}._154fc2o5:hover:not([disabled]){background-color:var(--sid-color-contrast)}._154fc2o6{border:none;background-color:var(--sid-color-foreground);color:var(--sid-color-background)}._154fc2o6:hover:not([disabled]){background-color:var(--sid-color-contrast)}._154fc2o7{border:none;background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._154fc2o7:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o8{border:none;background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._154fc2o8:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o9{opacity:.6}._154fc2o9:hover{cursor:not-allowed}._154fc2oa{margin-right:12px;display:flex;align-items:center}._154fc2ob{border-color:#fff;border-bottom-color:transparent}._154fc2oc,._154fc2od{border-color:var(--sid-color-foreground);border-bottom-color:transparent}._154fc2oe,._154fc2of{border-color:var(--sid-color-background);border-bottom-color:transparent}._154fc2og,._154fc2oh{border-color:var(--sid-color-foreground);border-bottom-color:transparent}.axg5it0{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd5);font-size:var(--_1fuhtfd8);color:var(--sid-color-foreground);display:flex;padding:0;background-color:transparent;-webkit-user-select:none;user-select:none;line-height:118%;border:none}.axg5it0:hover{cursor:pointer}.axg5it0:active{transform:scale(.98)}.axg5it2{color:var(--sid-color-tertiary)}.axg5it2:hover{color:var(--sid-color-foreground)}._1c8zcyc0{all:unset;width:100%;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);line-height:122%}._1c8zcyc0::placeholder{color:var(--sid-color-placeholder)}._1c8zcyc0:-webkit-autofill{font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);-webkit-box-shadow:0 0 0 30px var(--sid-color-panel) inset;-webkit-text-fill-color:var(--sid-color-foreground)}._1c8zcyc1{opacity:0;width:100%;height:100%}._1c8zcyc1:hover{cursor:pointer}._1c8zcyc2{position:relative;height:100%;width:212px;border-right:1px solid var(--sid-color-subtle)}._1c8zcyc2:has(._1c8zcyc1:active){border-right:1px solid var(--sid-color-tertiary)}._1c8zcyc2:has(._1c8zcyc1:focus){border-right:1px solid var(--sid-color-tertiary)}._1c8zcyc2:has(._1c8zcyc1:hover){border-right:1px solid var(--sid-color-placeholder)}._1c8zcyc3{display:flex;align-items:flex-start;border:1px solid var(--sid-input-border-color);width:100%;min-width:var(--_1fuhtfd1k);box-sizing:border-box;font-family:var(--sid-font-family);border-radius:var(--sid-input-border-radius);height:var(--_1fuhtfd1h)}._1c8zcyc3:has(._1c8zcyc0:active){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc0:focus){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc0:hover){border:1px solid var(--sid-color-placeholder)}._1c8zcyc3:has(._1c8zcyc1:active){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc1:focus){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc1:hover){border:1px solid var(--sid-color-placeholder)}._1c8zcyc4{border-color:var(--sid-color-error)}._1c8zcyc5{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;height:100%;width:100%;gap:var(--_1fuhtfd1c);padding:var(--_1fuhtfd1j) var(--_1fuhtfd1i);border-left:1px solid transparent;box-sizing:border-box}._1c8zcyc9:has(._1c8zcyc0:active){border-left:1px solid var(--sid-color-tertiary)}._1c8zcyc9:has(._1c8zcyc0:focus){border-left:1px solid var(--sid-color-tertiary)}._1c8zcyc9:has(._1c8zcyc0:hover){border-left:1px solid var(--sid-color-placeholder)}._1c8zcyca{font-size:var(--_1fuhtfd7);font-weight:var(--_1fuhtfd5);color:var(--sid-input-label-color);line-height:118%}._1c8zcycb{display:flex;align-items:center;justify-content:space-between;width:94px;position:absolute;top:50%;left:var(--_1fuhtfd1i);transform:translateY(-50%);font-size:var(--_1fuhtfd9);color:var(--sid-color-contrast)}._1c8zcycc{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;height:100%;padding-inline:var(--_1fuhtfd1i);cursor:pointer;text-decoration:none;outline:none}._1c8zcycc:hover{cursor:pointer}._1c8zcycc:focus-visible{outline:4px solid var(--sid-color-smooth);outline-offset:-8px;border-radius:var(--sid-input-border-radius)}@keyframes _150oz501{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._150oz500{padding:16px;display:flex;width:fitContent;height:fitContent;border-radius:50%;background:linear-gradient(148.27deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .86) 14.4%,rgb(from var(--sid-color-primary, #2a6aff) r g b / .74) 87.37%)}._150oz502{width:24px;height:24px;border-radius:50%;border:3px solid white;border-bottom-color:transparent;box-sizing:border-box;display:inline-block;animation:_150oz501 1s linear infinite}.dv1j860{display:flex;gap:4px;justify-content:center}.dv1j861{all:unset;max-width:64px;width:100%;height:auto;aspect-ratio:1/1;border-radius:var(--sid-input-border-radius);box-sizing:border-box;border:1px solid var(--sid-input-border-color);background-color:var(--sid-color-offset);font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);font-family:var(--sid-font-family);color:var(--sid-color-foreground);text-align:center}.dv1j861::placeholder{color:var(--sid-color-placeholder)}.dv1j861:active{border:1px solid var(--sid-color-tertiary)}.dv1j861:focus{border:1px solid var(--sid-color-tertiary)}.dv1j861:hover{border:1px solid var(--sid-color-placeholder)}._1dpv0n90{display:flex;align-items:center;margin:var(--_1fuhtfdi) 0;gap:var(--_1fuhtfde)}._1dpv0n91{color:var(--sid-color-placeholder)}._1dpv0n92{all:unset;width:100%;border-top:1px solid var(--sid-color-smooth)}@keyframes pb2eps0{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes pb2eps1{0%{height:var(--radix-accordion-content-height)}to{height:0}}.pb2eps2{display:flex;justify-content:space-between;align-items:center;margin:0}.pb2eps3{all:unset;flex:1;display:flex;gap:12px;align-items:center;cursor:pointer}.pb2eps4{width:20px;height:20px;transform:rotate(180deg)}.pb2eps3[data-state=open]>.pb2eps4{transform:rotate(90deg)}.pb2eps5{overflow:hidden}.pb2eps5[data-state=open]{animation:pb2eps0 .15s cubic-bezier(.16,1,.3,1)}.pb2eps5[data-state=closed]{animation:pb2eps1 .15s cubic-bezier(.16,1,.3,1)}@keyframes _1wok3pl0{0%{opacity:0}to{opacity:1}}._1wok3pl1{background-color:var(--sid-color-placeholder);position:fixed;top:0;right:0;bottom:0;left:0;animation:_1wok3pl0 .15s cubic-bezier(.16,1,.3,1)}._1wok3pl2{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-width:50vw;max-height:80vh;box-sizing:border-box;border-radius:20px;animation:_1wok3pl0 .15s cubic-bezier(.16,1,.3,1);background-color:var(--sid-color-panel);box-shadow:var(--_1fuhtfd1l)}._1wok3pl3{display:flex;justify-content:space-between;padding:16px 16px 0}._1wok3pl4{all:unset;display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%}._1wok3pl4:hover{cursor:pointer;background-color:var(--sid-color-soft)}._1wok3pl4:active{transform:scale(.98)}._1wok3pl4:focus-visible{outline:4px solid var(--sid-color-smooth)}._2ssqit0{all:unset;position:relative;display:block;width:34px;height:24px;border-radius:100px}._2ssqit0[disabled]:not([data-blocked=true]){opacity:.4;cursor:not-allowed}._2ssqit0[data-state=unchecked]{background-color:var(--sid-color-placeholder)}._2ssqit0[data-state=unchecked]:hover{background-color:var(--sid-color-tertiary)}._2ssqit0[data-state=checked]{background-color:var(--sid-color-primary)}._2ssqit0[data-state=checked]:hover{background-color:var(--sid-color-primary-hover)}._2ssqit0[data-blocked=true],._2ssqit0[data-blocked=true]:hover{background-color:var(--sid-color-subtle)}._2ssqit1{display:block;width:20px;height:20px;margin:2px;background-color:#fff;border-radius:100px;transition:transform .1s;will-change:transform}._2ssqit1[data-state=checked]{transform:translate(10px);box-shadow:var(--_1fuhtfd1n)}._2ssqit2{display:block;margin:auto}@keyframes q9c0is0{0%,10%{transform:scale(1)}30%{transform:scale(1.76)}50%,80%{transform:scale(2.56)}90%,to{transform:scale(1)}}@keyframes q9c0is1{0%,10%{transform:scale(1)}30%,80%{transform:scale(1.76)}90%,to{transform:scale(1)}}@keyframes q9c0is2{0%,10%{transform:scale(1)}30%,80%{transform:scale(1.06)}90%,to{transform:scale(1)}}.q9c0is3{position:relative;display:flex;justify-content:center;align-items:center;width:128px;height:128px;margin:16px auto 24px}.q9c0is4{position:absolute;width:128px;height:128px;border-radius:100%;box-sizing:border-box;opacity:.5}.q9c0is4:empty{display:block}.q9c0is5{width:50px;height:50px;animation:q9c0is0 3s cubic-bezier(0,0,0,.63) infinite}.q9c0is6{border:1px solid rgba(42,106,255,.02);background:linear-gradient(311deg,#2a6aff0f -7.54%,#2a6aff00 123.57%)}.q9c0is7{border:1px solid rgba(255,0,68,.02);background:linear-gradient(311deg,#ff00440f -7.54%,#f040 123.57%)}.q9c0is8{border:1px solid rgb(from var(--sid-color-primary, #2a6aff) r g b / .02);background:linear-gradient(311deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .06) -7.54%,rgb(from var(--sid-color-primary, #2a6aff) r g b / 0) 123.57%)}.q9c0is9{position:absolute;width:88px;height:88px;border-radius:100%;box-sizing:border-box}.q9c0is9:empty{display:block}.q9c0isa{width:50px;height:50px;animation:q9c0is1 3s cubic-bezier(0,0,0,.63) infinite}.q9c0isb{border:1px solid rgba(42,106,255,.02);background:linear-gradient(311deg,#2a6aff0f -7.54%,#2a6aff00 123.57%)}.q9c0isc{border:1px solid rgba(255,0,68,.02);background:linear-gradient(311deg,#ff00440f -7.54%,#f040 123.57%)}.q9c0isd{border:1px solid rgb(from var(--sid-color-primary, #2a6aff) r g b / .02);background:linear-gradient(311deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .06) -7.54%,rgb(from var(--sid-color-primary, #2a6aff) r g b / 0) 123.57%)}.q9c0ise{display:block;position:absolute;width:53px;height:53px;border-radius:100%;box-sizing:border-box;box-shadow:32px 80px 116px #5b8cff1a}.q9c0ise:empty{display:block}.q9c0isf{width:50px;height:50px;animation:q9c0is2 3s cubic-bezier(0,0,0,.63) infinite}.q9c0isg{background:linear-gradient(148deg,#2a6affdb 14.4%,#2a6affbd 87.37%)}.q9c0ish{background:linear-gradient(148deg,#ff0044db 14.4%,#ff0044bd 87.37%)}.q9c0isi{background:linear-gradient(148deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .86) 14.4%,rgb(from var(--sid-color-primary, #2a6aff) r g b / .74) 87.37%)}.q9c0isj{position:absolute;display:inline-flex}.e1dz940{display:flex}.e1dz941{flex-direction:column}.e1dz942{flex-direction:row}.e1dz943{justify-content:space-between;flex-grow:1}.e1dz944{justify-content:space-evenly;flex-grow:1}.kqvzqt2k{gap:var(--_1fuhtfdc)}.kqvzqt2l{gap:var(--_1fuhtfdd)}.kqvzqt2m{gap:var(--_1fuhtfde)}.kqvzqt2n{gap:var(--_1fuhtfdf)}.kqvzqt2o{gap:var(--_1fuhtfdg)}.kqvzqt2p{gap:var(--_1fuhtfdh)}.kqvzqt2q{gap:var(--_1fuhtfdi)}.kqvzqt2r{gap:var(--_1fuhtfdj)}.kqvzqt2s{gap:var(--_1fuhtfdk)}.kqvzqt2t{gap:var(--_1fuhtfdl)}.kqvzqt2u{gap:var(--_1fuhtfdm)}.kqvzqt2v{gap:var(--_1fuhtfdn)}.kqvzqt2w{gap:var(--_1fuhtfdo)}.kqvzqt2x{gap:var(--_1fuhtfdp)}.kqvzqt2y{gap:var(--_1fuhtfdq)}.kqvzqt2z{gap:var(--_1fuhtfdr)}.kqvzqt30{gap:var(--_1fuhtfds)}.kqvzqt31{gap:var(--_1fuhtfdt)}.kqvzqt32{gap:var(--_1fuhtfdu)}.kqvzqt33{gap:var(--_1fuhtfdv)}.kqvzqt34{gap:var(--_1fuhtfdw)}.kqvzqt35{gap:var(--_1fuhtfdx)}.kqvzqt36{gap:var(--_1fuhtfdy)}.kqvzqt37{gap:var(--_1fuhtfdz)}.kqvzqt38{gap:var(--_1fuhtfd10)}.kqvzqt39{gap:var(--_1fuhtfd11)}.kqvzqt3a{gap:var(--_1fuhtfd12)}.kqvzqt3b{gap:var(--_1fuhtfd13)}.kqvzqt3c{gap:var(--_1fuhtfd14)}.kqvzqt3d{gap:var(--_1fuhtfd15)}.kqvzqt3e{gap:var(--_1fuhtfd16)}.kqvzqt3f{gap:var(--_1fuhtfd17)}.kqvzqt3g{gap:var(--_1fuhtfd18)}.kqvzqt3h{gap:var(--_1fuhtfd19)}.kqvzqt3i{gap:var(--_1fuhtfd1a)}.kqvzqt3j{gap:var(--_1fuhtfd1b)}.kqvzqt3k{gap:var(--_1fuhtfd1c)}.kqvzqt3l{gap:var(--_1fuhtfd1d)}.kqvzqt3m{gap:var(--_1fuhtfd1e)}.kqvzqt3n{gap:var(--_1fuhtfd1f)}.kqvzqt3o{gap:var(--_1fuhtfd1g)}.kqvzqt3p{margin-top:var(--_1fuhtfdc)}.kqvzqt3q{margin-top:var(--_1fuhtfdd)}.kqvzqt3r{margin-top:var(--_1fuhtfde)}.kqvzqt3s{margin-top:var(--_1fuhtfdf)}.kqvzqt3t{margin-top:var(--_1fuhtfdg)}.kqvzqt3u{margin-top:var(--_1fuhtfdh)}.kqvzqt3v{margin-top:var(--_1fuhtfdi)}.kqvzqt3w{margin-top:var(--_1fuhtfdj)}.kqvzqt3x{margin-top:var(--_1fuhtfdk)}.kqvzqt3y{margin-top:var(--_1fuhtfdl)}.kqvzqt3z{margin-top:var(--_1fuhtfdm)}.kqvzqt40{margin-top:var(--_1fuhtfdn)}.kqvzqt41{margin-top:var(--_1fuhtfdo)}.kqvzqt42{margin-top:var(--_1fuhtfdp)}.kqvzqt43{margin-top:var(--_1fuhtfdq)}.kqvzqt44{margin-top:var(--_1fuhtfdr)}.kqvzqt45{margin-top:var(--_1fuhtfds)}.kqvzqt46{margin-top:var(--_1fuhtfdt)}.kqvzqt47{margin-top:var(--_1fuhtfdu)}.kqvzqt48{margin-top:var(--_1fuhtfdv)}.kqvzqt49{margin-top:var(--_1fuhtfdw)}.kqvzqt4a{margin-top:var(--_1fuhtfdx)}.kqvzqt4b{margin-top:var(--_1fuhtfdy)}.kqvzqt4c{margin-top:var(--_1fuhtfdz)}.kqvzqt4d{margin-top:var(--_1fuhtfd10)}.kqvzqt4e{margin-top:var(--_1fuhtfd11)}.kqvzqt4f{margin-top:var(--_1fuhtfd12)}.kqvzqt4g{margin-top:var(--_1fuhtfd13)}.kqvzqt4h{margin-top:var(--_1fuhtfd14)}.kqvzqt4i{margin-top:var(--_1fuhtfd15)}.kqvzqt4j{margin-top:var(--_1fuhtfd16)}.kqvzqt4k{margin-top:var(--_1fuhtfd17)}.kqvzqt4l{margin-top:var(--_1fuhtfd18)}.kqvzqt4m{margin-top:var(--_1fuhtfd19)}.kqvzqt4n{margin-top:var(--_1fuhtfd1a)}.kqvzqt4o{margin-top:var(--_1fuhtfd1b)}.kqvzqt4p{margin-top:var(--_1fuhtfd1c)}.kqvzqt4q{margin-top:var(--_1fuhtfd1d)}.kqvzqt4r{margin-top:var(--_1fuhtfd1e)}.kqvzqt4s{margin-top:var(--_1fuhtfd1f)}.kqvzqt4t{margin-top:var(--_1fuhtfd1g)}.kqvzqt4u{margin-bottom:var(--_1fuhtfdc)}.kqvzqt4v{margin-bottom:var(--_1fuhtfdd)}.kqvzqt4w{margin-bottom:var(--_1fuhtfde)}.kqvzqt4x{margin-bottom:var(--_1fuhtfdf)}.kqvzqt4y{margin-bottom:var(--_1fuhtfdg)}.kqvzqt4z{margin-bottom:var(--_1fuhtfdh)}.kqvzqt50{margin-bottom:var(--_1fuhtfdi)}.kqvzqt51{margin-bottom:var(--_1fuhtfdj)}.kqvzqt52{margin-bottom:var(--_1fuhtfdk)}.kqvzqt53{margin-bottom:var(--_1fuhtfdl)}.kqvzqt54{margin-bottom:var(--_1fuhtfdm)}.kqvzqt55{margin-bottom:var(--_1fuhtfdn)}.kqvzqt56{margin-bottom:var(--_1fuhtfdo)}.kqvzqt57{margin-bottom:var(--_1fuhtfdp)}.kqvzqt58{margin-bottom:var(--_1fuhtfdq)}.kqvzqt59{margin-bottom:var(--_1fuhtfdr)}.kqvzqt5a{margin-bottom:var(--_1fuhtfds)}.kqvzqt5b{margin-bottom:var(--_1fuhtfdt)}.kqvzqt5c{margin-bottom:var(--_1fuhtfdu)}.kqvzqt5d{margin-bottom:var(--_1fuhtfdv)}.kqvzqt5e{margin-bottom:var(--_1fuhtfdw)}.kqvzqt5f{margin-bottom:var(--_1fuhtfdx)}.kqvzqt5g{margin-bottom:var(--_1fuhtfdy)}.kqvzqt5h{margin-bottom:var(--_1fuhtfdz)}.kqvzqt5i{margin-bottom:var(--_1fuhtfd10)}.kqvzqt5j{margin-bottom:var(--_1fuhtfd11)}.kqvzqt5k{margin-bottom:var(--_1fuhtfd12)}.kqvzqt5l{margin-bottom:var(--_1fuhtfd13)}.kqvzqt5m{margin-bottom:var(--_1fuhtfd14)}.kqvzqt5n{margin-bottom:var(--_1fuhtfd15)}.kqvzqt5o{margin-bottom:var(--_1fuhtfd16)}.kqvzqt5p{margin-bottom:var(--_1fuhtfd17)}.kqvzqt5q{margin-bottom:var(--_1fuhtfd18)}.kqvzqt5r{margin-bottom:var(--_1fuhtfd19)}.kqvzqt5s{margin-bottom:var(--_1fuhtfd1a)}.kqvzqt5t{margin-bottom:var(--_1fuhtfd1b)}.kqvzqt5u{margin-bottom:var(--_1fuhtfd1c)}.kqvzqt5v{margin-bottom:var(--_1fuhtfd1d)}.kqvzqt5w{margin-bottom:var(--_1fuhtfd1e)}.kqvzqt5x{margin-bottom:var(--_1fuhtfd1f)}.kqvzqt5y{margin-bottom:var(--_1fuhtfd1g)}.kqvzqt5z{margin-left:var(--_1fuhtfdc)}.kqvzqt60{margin-left:var(--_1fuhtfdd)}.kqvzqt61{margin-left:var(--_1fuhtfde)}.kqvzqt62{margin-left:var(--_1fuhtfdf)}.kqvzqt63{margin-left:var(--_1fuhtfdg)}.kqvzqt64{margin-left:var(--_1fuhtfdh)}.kqvzqt65{margin-left:var(--_1fuhtfdi)}.kqvzqt66{margin-left:var(--_1fuhtfdj)}.kqvzqt67{margin-left:var(--_1fuhtfdk)}.kqvzqt68{margin-left:var(--_1fuhtfdl)}.kqvzqt69{margin-left:var(--_1fuhtfdm)}.kqvzqt6a{margin-left:var(--_1fuhtfdn)}.kqvzqt6b{margin-left:var(--_1fuhtfdo)}.kqvzqt6c{margin-left:var(--_1fuhtfdp)}.kqvzqt6d{margin-left:var(--_1fuhtfdq)}.kqvzqt6e{margin-left:var(--_1fuhtfdr)}.kqvzqt6f{margin-left:var(--_1fuhtfds)}.kqvzqt6g{margin-left:var(--_1fuhtfdt)}.kqvzqt6h{margin-left:var(--_1fuhtfdu)}.kqvzqt6i{margin-left:var(--_1fuhtfdv)}.kqvzqt6j{margin-left:var(--_1fuhtfdw)}.kqvzqt6k{margin-left:var(--_1fuhtfdx)}.kqvzqt6l{margin-left:var(--_1fuhtfdy)}.kqvzqt6m{margin-left:var(--_1fuhtfdz)}.kqvzqt6n{margin-left:var(--_1fuhtfd10)}.kqvzqt6o{margin-left:var(--_1fuhtfd11)}.kqvzqt6p{margin-left:var(--_1fuhtfd12)}.kqvzqt6q{margin-left:var(--_1fuhtfd13)}.kqvzqt6r{margin-left:var(--_1fuhtfd14)}.kqvzqt6s{margin-left:var(--_1fuhtfd15)}.kqvzqt6t{margin-left:var(--_1fuhtfd16)}.kqvzqt6u{margin-left:var(--_1fuhtfd17)}.kqvzqt6v{margin-left:var(--_1fuhtfd18)}.kqvzqt6w{margin-left:var(--_1fuhtfd19)}.kqvzqt6x{margin-left:var(--_1fuhtfd1a)}.kqvzqt6y{margin-left:var(--_1fuhtfd1b)}.kqvzqt6z{margin-left:var(--_1fuhtfd1c)}.kqvzqt70{margin-left:var(--_1fuhtfd1d)}.kqvzqt71{margin-left:var(--_1fuhtfd1e)}.kqvzqt72{margin-left:var(--_1fuhtfd1f)}.kqvzqt73{margin-left:var(--_1fuhtfd1g)}.kqvzqt74{margin-right:var(--_1fuhtfdc)}.kqvzqt75{margin-right:var(--_1fuhtfdd)}.kqvzqt76{margin-right:var(--_1fuhtfde)}.kqvzqt77{margin-right:var(--_1fuhtfdf)}.kqvzqt78{margin-right:var(--_1fuhtfdg)}.kqvzqt79{margin-right:var(--_1fuhtfdh)}.kqvzqt7a{margin-right:var(--_1fuhtfdi)}.kqvzqt7b{margin-right:var(--_1fuhtfdj)}.kqvzqt7c{margin-right:var(--_1fuhtfdk)}.kqvzqt7d{margin-right:var(--_1fuhtfdl)}.kqvzqt7e{margin-right:var(--_1fuhtfdm)}.kqvzqt7f{margin-right:var(--_1fuhtfdn)}.kqvzqt7g{margin-right:var(--_1fuhtfdo)}.kqvzqt7h{margin-right:var(--_1fuhtfdp)}.kqvzqt7i{margin-right:var(--_1fuhtfdq)}.kqvzqt7j{margin-right:var(--_1fuhtfdr)}.kqvzqt7k{margin-right:var(--_1fuhtfds)}.kqvzqt7l{margin-right:var(--_1fuhtfdt)}.kqvzqt7m{margin-right:var(--_1fuhtfdu)}.kqvzqt7n{margin-right:var(--_1fuhtfdv)}.kqvzqt7o{margin-right:var(--_1fuhtfdw)}.kqvzqt7p{margin-right:var(--_1fuhtfdx)}.kqvzqt7q{margin-right:var(--_1fuhtfdy)}.kqvzqt7r{margin-right:var(--_1fuhtfdz)}.kqvzqt7s{margin-right:var(--_1fuhtfd10)}.kqvzqt7t{margin-right:var(--_1fuhtfd11)}.kqvzqt7u{margin-right:var(--_1fuhtfd12)}.kqvzqt7v{margin-right:var(--_1fuhtfd13)}.kqvzqt7w{margin-right:var(--_1fuhtfd14)}.kqvzqt7x{margin-right:var(--_1fuhtfd15)}.kqvzqt7y{margin-right:var(--_1fuhtfd16)}.kqvzqt7z{margin-right:var(--_1fuhtfd17)}.kqvzqt80{margin-right:var(--_1fuhtfd18)}.kqvzqt81{margin-right:var(--_1fuhtfd19)}.kqvzqt82{margin-right:var(--_1fuhtfd1a)}.kqvzqt83{margin-right:var(--_1fuhtfd1b)}.kqvzqt84{margin-right:var(--_1fuhtfd1c)}.kqvzqt85{margin-right:var(--_1fuhtfd1d)}.kqvzqt86{margin-right:var(--_1fuhtfd1e)}.kqvzqt87{margin-right:var(--_1fuhtfd1f)}.kqvzqt88{margin-right:var(--_1fuhtfd1g)}.kqvzqt89{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}.kqvzqt8a{display:flex;justify-content:center;align-items:center}@media (prefers-color-scheme: light){.kqvzqt0{color:var(--sid-color-background)}.kqvzqt2{color:var(--sid-color-mute)}.kqvzqt4{color:var(--sid-color-panel)}.kqvzqt6{color:var(--sid-color-foreground)}.kqvzqt8{color:var(--sid-color-contrast)}.kqvzqta{color:var(--sid-color-secondary)}.kqvzqtc{color:var(--sid-color-tertiary)}.kqvzqte{color:var(--sid-color-placeholder)}.kqvzqtg{color:var(--sid-color-smooth)}.kqvzqti{color:var(--sid-color-subtle)}.kqvzqtk{color:var(--sid-color-soft)}.kqvzqtm{color:var(--sid-color-offset)}.kqvzqto{color:var(--sid-color-primary)}.kqvzqtq{color:var(--sid-color-primary-hover)}.kqvzqts{color:var(--sid-color-transparent)}.kqvzqtu{color:var(--sid-color-error)}.kqvzqtw{color:var(--sid-color-auxiliary)}.kqvzqty{color:var(--sid-color-success)}.kqvzqt10{color:var(--sid-color-foreground-success)}.kqvzqt12{color:var(--sid-color-background-success)}.kqvzqt14{color:var(--sid-color-failure)}.kqvzqt16{color:var(--sid-color-foreground-failure)}.kqvzqt18{color:var(--sid-color-background-failure)}.kqvzqt1a{background-color:var(--sid-color-background)}.kqvzqt1c{background-color:var(--sid-color-mute)}.kqvzqt1e{background-color:var(--sid-color-panel)}.kqvzqt1g{background-color:var(--sid-color-foreground)}.kqvzqt1i{background-color:var(--sid-color-contrast)}.kqvzqt1k{background-color:var(--sid-color-secondary)}.kqvzqt1m{background-color:var(--sid-color-tertiary)}.kqvzqt1o{background-color:var(--sid-color-placeholder)}.kqvzqt1q{background-color:var(--sid-color-smooth)}.kqvzqt1s{background-color:var(--sid-color-subtle)}.kqvzqt1u{background-color:var(--sid-color-soft)}.kqvzqt1w{background-color:var(--sid-color-offset)}.kqvzqt1y{background-color:var(--sid-color-primary)}.kqvzqt20{background-color:var(--sid-color-primary-hover)}.kqvzqt22{background-color:var(--sid-color-transparent)}.kqvzqt24{background-color:var(--sid-color-error)}.kqvzqt26{background-color:var(--sid-color-auxiliary)}.kqvzqt28{background-color:var(--sid-color-success)}.kqvzqt2a{background-color:var(--sid-color-foreground-success)}.kqvzqt2c{background-color:var(--sid-color-background-success)}.kqvzqt2e{background-color:var(--sid-color-failure)}.kqvzqt2g{background-color:var(--sid-color-foreground-failure)}.kqvzqt2i{background-color:var(--sid-color-background-failure)}}@media (prefers-color-scheme: dark){.kqvzqt1{color:var(--sid-color-background)}.kqvzqt3{color:var(--sid-color-mute)}.kqvzqt5{color:var(--sid-color-panel)}.kqvzqt7{color:var(--sid-color-foreground)}.kqvzqt9{color:var(--sid-color-contrast)}.kqvzqtb{color:var(--sid-color-secondary)}.kqvzqtd{color:var(--sid-color-tertiary)}.kqvzqtf{color:var(--sid-color-placeholder)}.kqvzqth{color:var(--sid-color-smooth)}.kqvzqtj{color:var(--sid-color-subtle)}.kqvzqtl{color:var(--sid-color-soft)}.kqvzqtn{color:var(--sid-color-offset)}.kqvzqtp{color:var(--sid-color-primary)}.kqvzqtr{color:var(--sid-color-primary-hover)}.kqvzqtt{color:var(--sid-color-transparent)}.kqvzqtv{color:var(--sid-color-error)}.kqvzqtx{color:var(--sid-color-auxiliary)}.kqvzqtz{color:var(--sid-color-success)}.kqvzqt11{color:var(--sid-color-foreground-success)}.kqvzqt13{color:var(--sid-color-background-success)}.kqvzqt15{color:var(--sid-color-failure)}.kqvzqt17{color:var(--sid-color-foreground-failure)}.kqvzqt19{color:var(--sid-color-background-failure)}.kqvzqt1b{background-color:var(--sid-color-background)}.kqvzqt1d{background-color:var(--sid-color-mute)}.kqvzqt1f{background-color:var(--sid-color-panel)}.kqvzqt1h{background-color:var(--sid-color-foreground)}.kqvzqt1j{background-color:var(--sid-color-contrast)}.kqvzqt1l{background-color:var(--sid-color-secondary)}.kqvzqt1n{background-color:var(--sid-color-tertiary)}.kqvzqt1p{background-color:var(--sid-color-placeholder)}.kqvzqt1r{background-color:var(--sid-color-smooth)}.kqvzqt1t{background-color:var(--sid-color-subtle)}.kqvzqt1v{background-color:var(--sid-color-soft)}.kqvzqt1x{background-color:var(--sid-color-offset)}.kqvzqt1z{background-color:var(--sid-color-primary)}.kqvzqt21{background-color:var(--sid-color-primary-hover)}.kqvzqt23{background-color:var(--sid-color-transparent)}.kqvzqt25{background-color:var(--sid-color-error)}.kqvzqt27{background-color:var(--sid-color-auxiliary)}.kqvzqt29{background-color:var(--sid-color-success)}.kqvzqt2b{background-color:var(--sid-color-foreground-success)}.kqvzqt2d{background-color:var(--sid-color-background-success)}.kqvzqt2f{background-color:var(--sid-color-failure)}.kqvzqt2h{background-color:var(--sid-color-foreground-failure)}.kqvzqt2j{background-color:var(--sid-color-background-failure)}}._1xf7e4h0{align-items:start;padding:16px;border-radius:var(--sid-button-border-radius)}._1xf7e4h1{background-color:var(--sid-color-background-success)}._1xf7e4h2{background-color:var(--sid-color-background-failure)}._1xf7e4h3{color:#142049}._1qam6z30{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd4);font-size:var(--_1fuhtfd9);color:var(--sid-color-foreground);margin:0;line-height:100%}._1qam6z31{font-size:12px}._1qam6z32{font-size:14px;line-height:112%}._1qam6z33{font-size:16px;line-height:122%}._1qam6z34{font-size:20px}._1qam6z35{font-size:24px;line-height:118%}._1qam6z36{font-weight:500}._1qam6z37{font-weight:600}._1qam6z38{font-weight:700}._1qam6z39{color:var(--sid-color-contrast)}._1qam6z3a{color:var(--sid-color-tertiary)}._1qam6z3b{color:var(--sid-color-placeholder)}._1qam6z3c{color:#fff}._1qam6z3d{color:var(--sid-color-foreground-success)}._1qam6z3e{color:var(--sid-color-foreground-failure)}._1wo163v0{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;width:100%;min-width:var(--_1fuhtfd1k);height:var(--_1fuhtfd1h);gap:var(--_1fuhtfd1c);padding:var(--_1fuhtfd1j) var(--_1fuhtfd1i);box-sizing:border-box;background-color:var(--sid-color-offset);border:1px solid var(--sid-input-border-color);border-radius:var(--sid-input-border-radius);font-family:var(--sid-font-family);position:relative;text-align:left}._1wo163v0:active{border:1px solid var(--sid-color-tertiary);outline:none}._1wo163v0:hover{border:1px solid var(--sid-color-placeholder);cursor:pointer;outline:none}._1wo163v0:focus{border:1px solid var(--sid-color-tertiary);outline:none}._1wo163v1{font-size:var(--_1fuhtfd7);font-weight:var(--_1fuhtfd5);color:var(--sid-input-label-color)}._1wo163v2{width:100%;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);display:grid;grid-template-columns:auto 24px}._1wo163v3{position:relative;background-color:var(--sid-color-panel);border:1px solid var(--sid-color-subtle);box-shadow:var(--_1fuhtfd1l);border-radius:20px;overflow:hidden;z-index:1}._1wo163v4{padding:12px}._1wo163v5{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd6);font-size:var(--_1fuhtfd9);line-height:100%;color:var(--sid-color-foreground);border-radius:12px;padding:16px 12px;display:flex;column-gap:8px;align-items:center}._1wo163v5:hover{background-color:var(--sid-color-soft);cursor:pointer;border:none;outline:none}._1wo163v6{position:absolute;right:16px;z-index:0}._1wo163v0[data-state=open]>._1wo163v6{transform:rotate(180deg)}._1wo163v7{height:16px;margin-left:auto;justify-self:flex-end}@keyframes _1nkzleu0{0%{background-position:0% 0%}to{background-position:-135% 0%}}._1nkzleu1{height:100%;width:100%;background:linear-gradient(-90deg,#29355f1a,#fff,#29355f1a);background-size:400% 400%;animation:_1nkzleu0 1.2s ease-in-out infinite;border-radius:8px;opacity:.48}._1bc2uou0{display:flex;background-color:var(--sid-color-mute);border-radius:var(--sid-button-border-radius);padding:3px;font-family:var(--sid-font-family);font-size:var(--_1fuhtfd9)}._1bc2uou1{all:unset;padding:12px 24px;display:flex;align-items:center;justify-content:center;flex:1;text-align:center}._1bc2uou1[data-state=active]{border-radius:calc(var(--sid-button-border-radius) * .875);background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._1bc2uou1[data-state=inactive]{cursor:pointer;color:var(--sid-color-contrast)}._1f3g3xe0{position:relative;width:100%;display:flex;overflow:hidden}._1f3g3xe1{all:unset;width:100%;padding:12px 16px;border-radius:16px;font-family:inherit;border:none;outline:none;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd4);color:var(--sid-color-foreground);background-color:var(--sid-color-offset);line-height:150%;overflow:hidden;white-space:pre-line;text-overflow:ellipsis;touch-action:none}._1f3g3xe2{padding-top:28px}._1f3g3xe3{padding-right:44px}._1f3g3xe4{position:absolute;left:16px;top:12px;font-family:inherit;font-size:12px;font-weight:600;color:var(--sid-color-contrast)}._1f3g3xe5{all:unset;position:absolute;right:0;top:0;padding:16px}._1f3g3xe5:hover{cursor:pointer}._1f3g3xe6{top:6px}._1xl24760{display:block;margin-top:var(--_1fuhtfde);color:var(--sid-color-error);font-weight:600;line-height:122%}@keyframes h1jwma6{0%{opacity:0}to{opacity:1}}.h1jwma0{display:flex;justify-content:center;align-items:baseline}.h1jwma1{text-transform:capitalize}.h1jwma2{margin:16px 0}.h1jwma3{margin:24px 0}.h1jwma4{display:flex;align-items:baseline;margin-top:8px}.h1jwma5{display:flex;flex-direction:column;gap:8px}.h1jwma7{animation:h1jwma6 .3s}.h1jwma8{display:flex;flex-direction:column;align-items:center}.h1jwma9{margin:24px auto;border-radius:16px}.h1jwmaa{margin-top:12px}._4i40i60{width:100%;margin-block:var(--_1fuhtfdg);font-size:var(--_1fuhtfd8);font-weight:var(--_1fuhtfd5);color:var(--sid-color-tertiary);text-align:center}._4i40i61{color:var(--sid-color-foreground);margin-left:var(--_1fuhtfdd);text-decoration:none}._4i40i61:hover{opacity:.8}.tgnhcw0{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);width:100%;padding:32px;box-sizing:border-box}.tgnhcw1{display:flex;flex-direction:column;gap:var(--_1fuhtfdd)}.tgnhcw2{width:var(--radix-select-trigger-width);margin-top:4px}@media screen and (min-width: 768px){.tgnhcw0{border-radius:calc(2 * var(--sid-button-border-radius))}}._1xoz4760,._1xoz4761{margin-left:var(--_1fuhtfdd)}._1xoz4762{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}._1xoz4763{display:flex;max-height:32px;margin-bottom:var(--_1fuhtfdg);width:var(--sid-form-logo-width)}._1xoz4764{display:flex;flex-direction:column;gap:var(--_1fuhtfdd)}._1xoz4765{width:var(--radix-select-trigger-width);margin-top:4px}._1xoz4766{height:16px}.zrp2ko0{margin-left:var(--_1fuhtfdd)}.zrp2ko1{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}.gwp8o20{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);width:100%;padding:32px 32px 16px;box-sizing:border-box}@media screen and (min-width: 768px){.gwp8o20{border-radius:calc(2 * var(--sid-form-border-radius))}}._1iedw350{width:100%;margin-top:var(--_1fuhtfdk);text-align:center;color:var(--sid-color-placeholder)}.t5smqu0{margin-top:24px}.t5smqu1{display:grid;grid-template-columns:min-content auto;gap:4px 40px;font-family:monospace}.sluhu71{--sluhu70: 12px;transform:unset;top:unset;left:unset;bottom:var(--sluhu70);right:var(--sluhu70);max-height:542px;max-width:400px;display:grid;grid-template-rows:auto auto 1fr auto;background-color:var(--sid-color-panel);z-index:1}.sluhu72{--sluhu70: 12px;position:fixed;bottom:calc(var(--sluhu70) + 2px);right:calc(var(--sluhu70) + 2px);display:grid;place-items:center;padding:12px 16px;border-radius:14px}.sluhu73{margin:12px 0 24px;padding:0 16px}.sluhu74{position:relative;overflow-y:auto;padding:0 16px;border-top:1px solid var(--sid-color-subtle);border-bottom:1px solid var(--sid-color-subtle);background:var(--sid-color-auxiliary)}.sluhu75{overflow-y:hidden;min-height:200px}.sluhu76{position:relative}.sluhu77{position:absolute;left:0;top:0;width:100%;height:100%;display:grid;place-content:center;gap:6px;text-align:center;background:var(--sid-color-auxiliary);z-index:1}.sluhu78{border-bottom:1px solid var(--sid-color-subtle)}.sluhu79{padding:24px 0}.sluhu7a{padding-bottom:24px}.sluhu7b{display:flex;gap:8px;margin-top:24px;padding:0 16px 16px}.sluhu7c{min-width:130px}.sluhu7d{min-width:105px}.sluhu7e{min-width:100px}@media screen and (max-width: 480px){.sluhu71{--sluhu70: 20px;width:calc(100% - (var(--sluhu70) * 2));max-width:unset}.sluhu72{--sluhu70: 20px}.sluhu7b{flex-direction:column}}.ccyrlr0{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);border-radius:var(--sid-input-border-radius)}
21599
- ` }), X6 = ({ children: e, onSuccess: t, ...r }) => {
21600
+ }, P6 = () => /* @__PURE__ */ kt.jsx("style", { children: `._1fuhtfd0{--sid-font-family: Inter, sans-serif;--sid-button-border-radius: 16px;--sid-border-width-panel: 2px;--sid-input-border-radius: 8px;--sid-input-border-color: var(--sid-color-subtle);--sid-input-label-color: var(--sid-color-contrast);--sid-form-border-radius: 16px;--sid-form-logo-width: auto;--sid-color-background: #0F0E1B;--sid-color-mute: #171625;--sid-color-panel: #222131;--sid-color-foreground: #F3F3F5;--sid-color-contrast: rgba(243, 243, 245, .8);--sid-color-secondary: rgba(243, 243, 245, .6);--sid-color-tertiary: rgba(243, 243, 245, .5);--sid-color-placeholder: rgba(243, 243, 245, .3);--sid-color-smooth: rgba(243, 243, 245, .12);--sid-color-subtle: rgba(243, 243, 245, .06);--sid-color-soft: rgba(243, 243, 245, .04);--sid-color-offset: rgba(243, 243, 245, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #171625;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}._1fuhtfd1{--sid-font-family: Inter, sans-serif;--sid-button-border-radius: 16px;--sid-border-width-panel: 2px;--sid-input-border-radius: 8px;--sid-input-border-color: var(--sid-color-subtle);--sid-input-label-color: var(--sid-color-contrast);--sid-form-border-radius: 16px;--sid-form-logo-width: auto;--sid-color-background: #F3F3F5;--sid-color-mute: #F3F3F5;--sid-color-panel: #FFFFFF;--sid-color-foreground: #142049;--sid-color-contrast: rgba(20, 32, 73, .8);--sid-color-secondary: rgba(20, 32, 73, .6);--sid-color-tertiary: rgba(20, 32, 73, .5);--sid-color-placeholder: rgba(20, 32, 73, .3);--sid-color-smooth: rgba(20, 32, 73, .12);--sid-color-subtle: rgba(20, 32, 73, .06);--sid-color-soft: rgba(20, 32, 73, .04);--sid-color-offset: rgba(20, 32, 73, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #FAFAFA;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}._1fuhtfd3{--_1fuhtfd4: 500;--_1fuhtfd5: 600;--_1fuhtfd6: 700;--_1fuhtfd7: 12px;--_1fuhtfd8: 14px;--_1fuhtfd9: 16px;--_1fuhtfda: 20px;--_1fuhtfdb: 24px;--_1fuhtfdc: 0;--_1fuhtfdd: .25rem;--_1fuhtfde: .5rem;--_1fuhtfdf: .75rem;--_1fuhtfdg: 1rem;--_1fuhtfdh: 1.25rem;--_1fuhtfdi: 1.5rem;--_1fuhtfdj: 1.75rem;--_1fuhtfdk: 2rem;--_1fuhtfdl: 2.25rem;--_1fuhtfdm: 2.5rem;--_1fuhtfdn: 2.75rem;--_1fuhtfdo: 3rem;--_1fuhtfdp: 3.25rem;--_1fuhtfdq: 3.5rem;--_1fuhtfdr: 3.75rem;--_1fuhtfds: 4rem;--_1fuhtfdt: 5rem;--_1fuhtfdu: 6rem;--_1fuhtfdv: 7rem;--_1fuhtfdw: 8rem;--_1fuhtfdx: 9rem;--_1fuhtfdy: 10rem;--_1fuhtfdz: 11rem;--_1fuhtfd10: 12rem;--_1fuhtfd11: 13rem;--_1fuhtfd12: 14rem;--_1fuhtfd13: 15rem;--_1fuhtfd14: 16rem;--_1fuhtfd15: 17rem;--_1fuhtfd16: 18rem;--_1fuhtfd17: 19rem;--_1fuhtfd18: 20rem;--_1fuhtfd19: 24rem;--_1fuhtfd1a: 1px;--_1fuhtfd1b: .0625rem;--_1fuhtfd1c: .125rem;--_1fuhtfd1d: .1875rem;--_1fuhtfd1e: .375rem;--_1fuhtfd1f: .625rem;--_1fuhtfd1g: .875rem;--_1fuhtfd1h: 60px;--_1fuhtfd1i: 16px;--_1fuhtfd1j: 12px;--_1fuhtfd1k: 240px;--_1fuhtfd1l: 4px 0px 24px rgba(29, 25, 77, .03), 0px 12px 32px rgba(29, 25, 77, .04);--_1fuhtfd1m: 32px 80px 116px 0px rgba(15, 14, 27, .1), 120px 0px 184px 0px rgba(15, 14, 27, .1);--_1fuhtfd1n: 0px 0px 4px 0px rgba(33, 36, 51, .02), 0px 6px 12px 0px rgba(33, 36, 51, .03)}.sid-theme-root{--_1fuhtfd1o: var(--sid-color-background);--_1fuhtfd1p: var(--sid-color-mute);--_1fuhtfd1q: var(--sid-color-panel);--_1fuhtfd1r: var(--sid-color-foreground);--_1fuhtfd1s: var(--sid-color-contrast);--_1fuhtfd1t: var(--sid-color-secondary);--_1fuhtfd1u: var(--sid-color-tertiary);--_1fuhtfd1v: var(--sid-color-placeholder);--_1fuhtfd1w: var(--sid-color-smooth);--_1fuhtfd1x: var(--sid-color-subtle);--_1fuhtfd1y: var(--sid-color-soft);--_1fuhtfd1z: var(--sid-color-offset);--_1fuhtfd20: var(--sid-color-primary);--_1fuhtfd21: var(--sid-color-primary-hover);--_1fuhtfd22: var(--sid-color-transparent);--_1fuhtfd23: var(--sid-color-error);--_1fuhtfd24: var(--sid-color-auxiliary);--_1fuhtfd25: var(--sid-color-success);--_1fuhtfd26: var(--sid-color-foreground-success);--_1fuhtfd27: var(--sid-color-background-success);--_1fuhtfd28: var(--sid-color-failure);--_1fuhtfd29: var(--sid-color-foreground-failure);--_1fuhtfd2a: var(--sid-color-background-failure);--_1fuhtfd2b: var(--sid-font-family);--_1fuhtfd2c: var(--sid-button-border-radius);--_1fuhtfd2d: var(--sid-border-width-panel);--_1fuhtfd2e: var(--sid-input-border-radius);--_1fuhtfd2f: var(--sid-input-border-color);--_1fuhtfd2g: var(--sid-input-label-color);--_1fuhtfd2h: var(--sid-button-border-radius);--_1fuhtfd2i: var(--sid-form-border-radius);--_1fuhtfd2j: var(--sid-form-logo-width)}@media (prefers-color-scheme: dark){._1fuhtfd2{--sid-color-background: #0F0E1B;--sid-color-mute: #171625;--sid-color-panel: #222131;--sid-color-foreground: #F3F3F5;--sid-color-contrast: rgba(243, 243, 245, .8);--sid-color-secondary: rgba(243, 243, 245, .6);--sid-color-tertiary: rgba(243, 243, 245, .5);--sid-color-placeholder: rgba(243, 243, 245, .3);--sid-color-smooth: rgba(243, 243, 245, .12);--sid-color-subtle: rgba(243, 243, 245, .06);--sid-color-soft: rgba(243, 243, 245, .04);--sid-color-offset: rgba(243, 243, 245, .01);--sid-color-primary: #2A6AFF;--sid-color-primary-hover: #2761E8;--sid-color-transparent: transparent;--sid-color-error: #FF0042;--sid-color-auxiliary: #171625;--sid-color-success: #059E56;--sid-color-foreground-success: #016A1C;--sid-color-background-success: #E6F3ED;--sid-color-failure: #F40B49;--sid-color-foreground-failure: #B1000F;--sid-color-background-failure: #FFF0F4}}@keyframes _1v32gdc0{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._1v32gdc1{border-radius:50%;border:3px solid white;border-bottom-color:transparent;box-sizing:border-box;display:inline-block;animation:_1v32gdc0 1s linear infinite}._1v32gdc2{width:24px;height:24px}._1v32gdc3{width:16px;height:16px}._154fc2o0{font-family:var(--sid-font-family);border-radius:var(--sid-button-border-radius);font-weight:var(--_1fuhtfd4);font-size:var(--_1fuhtfd9);height:var(--_1fuhtfd1h);width:100%;display:flex;align-items:center;justify-content:center;padding:19px 22px;-webkit-user-select:none;user-select:none;line-height:118%}._154fc2o0:hover{cursor:pointer}._154fc2o0:active{transform:scale(.98)}._154fc2o0:focus-visible{outline:4px solid var(--sid-color-smooth)}._154fc2o1{width:auto;height:auto;padding:14px 16px;border-radius:16px}._154fc2o2{background-color:var(--sid-color-primary);color:#fff;border:none}._154fc2o2:hover:not([disabled]){background-color:var(--sid-color-primary-hover)}._154fc2o3{background-color:var(--sid-color-panel);color:var(--sid-color-foreground);border:1px solid var(--sid-color-smooth)}._154fc2o3:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o4{background-color:var(--sid-color-panel);color:var(--sid-color-foreground);border:1px solid var(--sid-color-smooth)}._154fc2o4:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o5{border:none;background-color:var(--sid-color-foreground);color:var(--sid-color-background)}._154fc2o5:hover:not([disabled]){background-color:var(--sid-color-contrast)}._154fc2o6{border:none;background-color:var(--sid-color-foreground);color:var(--sid-color-background)}._154fc2o6:hover:not([disabled]){background-color:var(--sid-color-contrast)}._154fc2o7{border:none;background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._154fc2o7:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o8{border:none;background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._154fc2o8:hover:not([disabled]){background-color:var(--sid-color-soft)}._154fc2o9{opacity:.6}._154fc2o9:hover{cursor:not-allowed}._154fc2oa{margin-right:12px;display:flex;align-items:center}._154fc2ob{border-color:#fff;border-bottom-color:transparent}._154fc2oc,._154fc2od{border-color:var(--sid-color-foreground);border-bottom-color:transparent}._154fc2oe,._154fc2of{border-color:var(--sid-color-background);border-bottom-color:transparent}._154fc2og,._154fc2oh{border-color:var(--sid-color-foreground);border-bottom-color:transparent}.axg5it0{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd5);font-size:var(--_1fuhtfd8);color:var(--sid-color-foreground);display:flex;padding:0;background-color:transparent;-webkit-user-select:none;user-select:none;line-height:118%;border:none}.axg5it0:hover{cursor:pointer}.axg5it0:active{transform:scale(.98)}.axg5it2{color:var(--sid-color-tertiary)}.axg5it2:hover{color:var(--sid-color-foreground)}._1c8zcyc0{all:unset;width:100%;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);line-height:122%}._1c8zcyc0::placeholder{color:var(--sid-color-placeholder)}._1c8zcyc0:-webkit-autofill{font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);-webkit-box-shadow:0 0 0 30px var(--sid-color-panel) inset;-webkit-text-fill-color:var(--sid-color-foreground)}._1c8zcyc1{opacity:0;width:100%;height:100%}._1c8zcyc1:hover{cursor:pointer}._1c8zcyc2{position:relative;height:100%;width:212px;border-right:1px solid var(--sid-color-subtle)}._1c8zcyc2:has(._1c8zcyc1:active){border-right:1px solid var(--sid-color-tertiary)}._1c8zcyc2:has(._1c8zcyc1:focus){border-right:1px solid var(--sid-color-tertiary)}._1c8zcyc2:has(._1c8zcyc1:hover){border-right:1px solid var(--sid-color-placeholder)}._1c8zcyc3{display:flex;align-items:flex-start;border:1px solid var(--sid-input-border-color);width:100%;min-width:var(--_1fuhtfd1k);box-sizing:border-box;font-family:var(--sid-font-family);border-radius:var(--sid-input-border-radius);height:var(--_1fuhtfd1h)}._1c8zcyc3:has(._1c8zcyc0:active){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc0:focus){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc0:hover){border:1px solid var(--sid-color-placeholder)}._1c8zcyc3:has(._1c8zcyc1:active){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc1:focus){border:1px solid var(--sid-color-tertiary)}._1c8zcyc3:has(._1c8zcyc1:hover){border:1px solid var(--sid-color-placeholder)}._1c8zcyc4{border-color:var(--sid-color-error)}._1c8zcyc5{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;height:100%;width:100%;gap:var(--_1fuhtfd1c);padding:var(--_1fuhtfd1j) var(--_1fuhtfd1i);border-left:1px solid transparent;box-sizing:border-box}._1c8zcyc9:has(._1c8zcyc0:active){border-left:1px solid var(--sid-color-tertiary)}._1c8zcyc9:has(._1c8zcyc0:focus){border-left:1px solid var(--sid-color-tertiary)}._1c8zcyc9:has(._1c8zcyc0:hover){border-left:1px solid var(--sid-color-placeholder)}._1c8zcyca{font-size:var(--_1fuhtfd7);font-weight:var(--_1fuhtfd5);color:var(--sid-input-label-color);line-height:118%}._1c8zcycb{display:flex;align-items:center;justify-content:space-between;width:94px;position:absolute;top:50%;left:var(--_1fuhtfd1i);transform:translateY(-50%);font-size:var(--_1fuhtfd9);color:var(--sid-color-contrast)}._1c8zcycc{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;height:100%;padding-inline:var(--_1fuhtfd1i);cursor:pointer;text-decoration:none;outline:none}._1c8zcycc:hover{cursor:pointer}._1c8zcycc:focus-visible{outline:4px solid var(--sid-color-smooth);outline-offset:-8px;border-radius:var(--sid-input-border-radius)}@keyframes _150oz501{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._150oz500{padding:16px;display:flex;width:fitContent;height:fitContent;border-radius:50%;background:linear-gradient(148.27deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .86) 14.4%,rgb(from var(--sid-color-primary, #2a6aff) r g b / .74) 87.37%)}._150oz502{width:24px;height:24px;border-radius:50%;border:3px solid white;border-bottom-color:transparent;box-sizing:border-box;display:inline-block;animation:_150oz501 1s linear infinite}.dv1j860{display:flex;gap:4px;justify-content:center}.dv1j861{all:unset;max-width:64px;width:100%;height:auto;aspect-ratio:1/1;border-radius:var(--sid-input-border-radius);box-sizing:border-box;border:1px solid var(--sid-input-border-color);background-color:var(--sid-color-offset);font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);font-family:var(--sid-font-family);color:var(--sid-color-foreground);text-align:center}.dv1j861::placeholder{color:var(--sid-color-placeholder)}.dv1j861:active{border:1px solid var(--sid-color-tertiary)}.dv1j861:focus{border:1px solid var(--sid-color-tertiary)}.dv1j861:hover{border:1px solid var(--sid-color-placeholder)}._1dpv0n90{display:flex;align-items:center;margin:var(--_1fuhtfdi) 0;gap:var(--_1fuhtfde)}._1dpv0n91{color:var(--sid-color-placeholder)}._1dpv0n92{all:unset;width:100%;border-top:1px solid var(--sid-color-smooth)}@keyframes pb2eps0{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes pb2eps1{0%{height:var(--radix-accordion-content-height)}to{height:0}}.pb2eps2{display:flex;justify-content:space-between;align-items:center;margin:0}.pb2eps3{all:unset;flex:1;display:flex;gap:12px;align-items:center;cursor:pointer}.pb2eps4{width:20px;height:20px;transform:rotate(180deg)}.pb2eps3[data-state=open]>.pb2eps4{transform:rotate(90deg)}.pb2eps5{overflow:hidden}.pb2eps5[data-state=open]{animation:pb2eps0 .15s cubic-bezier(.16,1,.3,1)}.pb2eps5[data-state=closed]{animation:pb2eps1 .15s cubic-bezier(.16,1,.3,1)}@keyframes _1wok3pl0{0%{opacity:0}to{opacity:1}}._1wok3pl1{background-color:var(--sid-color-placeholder);position:fixed;top:0;right:0;bottom:0;left:0;animation:_1wok3pl0 .15s cubic-bezier(.16,1,.3,1)}._1wok3pl2{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-width:50vw;max-height:80vh;box-sizing:border-box;border-radius:20px;animation:_1wok3pl0 .15s cubic-bezier(.16,1,.3,1);background-color:var(--sid-color-panel);box-shadow:var(--_1fuhtfd1l)}._1wok3pl3{display:flex;justify-content:space-between;padding:16px 16px 0}._1wok3pl4{all:unset;display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%}._1wok3pl4:hover{cursor:pointer;background-color:var(--sid-color-soft)}._1wok3pl4:active{transform:scale(.98)}._1wok3pl4:focus-visible{outline:4px solid var(--sid-color-smooth)}._2ssqit0{all:unset;position:relative;display:block;width:34px;height:24px;border-radius:100px}._2ssqit0[disabled]:not([data-blocked=true]){opacity:.4;cursor:not-allowed}._2ssqit0[data-state=unchecked]{background-color:var(--sid-color-placeholder)}._2ssqit0[data-state=unchecked]:hover{background-color:var(--sid-color-tertiary)}._2ssqit0[data-state=checked]{background-color:var(--sid-color-primary)}._2ssqit0[data-state=checked]:hover{background-color:var(--sid-color-primary-hover)}._2ssqit0[data-blocked=true],._2ssqit0[data-blocked=true]:hover{background-color:var(--sid-color-subtle)}._2ssqit1{display:block;width:20px;height:20px;margin:2px;background-color:#fff;border-radius:100px;transition:transform .1s;will-change:transform}._2ssqit1[data-state=checked]{transform:translate(10px);box-shadow:var(--_1fuhtfd1n)}._2ssqit2{display:block;margin:auto}@keyframes q9c0is0{0%,10%{transform:scale(1)}30%{transform:scale(1.76)}50%,80%{transform:scale(2.56)}90%,to{transform:scale(1)}}@keyframes q9c0is1{0%,10%{transform:scale(1)}30%,80%{transform:scale(1.76)}90%,to{transform:scale(1)}}@keyframes q9c0is2{0%,10%{transform:scale(1)}30%,80%{transform:scale(1.06)}90%,to{transform:scale(1)}}.q9c0is3{position:relative;display:flex;justify-content:center;align-items:center;width:128px;height:128px;margin:16px auto 24px}.q9c0is4{position:absolute;width:128px;height:128px;border-radius:100%;box-sizing:border-box;opacity:.5}.q9c0is4:empty{display:block}.q9c0is5{width:50px;height:50px;animation:q9c0is0 3s cubic-bezier(0,0,0,.63) infinite}.q9c0is6{border:1px solid rgba(42,106,255,.02);background:linear-gradient(311deg,#2a6aff0f -7.54%,#2a6aff00 123.57%)}.q9c0is7{border:1px solid rgba(255,0,68,.02);background:linear-gradient(311deg,#ff00440f -7.54%,#f040 123.57%)}.q9c0is8{border:1px solid rgb(from var(--sid-color-primary, #2a6aff) r g b / .02);background:linear-gradient(311deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .06) -7.54%,rgb(from var(--sid-color-primary, #2a6aff) r g b / 0) 123.57%)}.q9c0is9{position:absolute;width:88px;height:88px;border-radius:100%;box-sizing:border-box}.q9c0is9:empty{display:block}.q9c0isa{width:50px;height:50px;animation:q9c0is1 3s cubic-bezier(0,0,0,.63) infinite}.q9c0isb{border:1px solid rgba(42,106,255,.02);background:linear-gradient(311deg,#2a6aff0f -7.54%,#2a6aff00 123.57%)}.q9c0isc{border:1px solid rgba(255,0,68,.02);background:linear-gradient(311deg,#ff00440f -7.54%,#f040 123.57%)}.q9c0isd{border:1px solid rgb(from var(--sid-color-primary, #2a6aff) r g b / .02);background:linear-gradient(311deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .06) -7.54%,rgb(from var(--sid-color-primary, #2a6aff) r g b / 0) 123.57%)}.q9c0ise{display:block;position:absolute;width:53px;height:53px;border-radius:100%;box-sizing:border-box;box-shadow:32px 80px 116px #5b8cff1a}.q9c0ise:empty{display:block}.q9c0isf{width:50px;height:50px;animation:q9c0is2 3s cubic-bezier(0,0,0,.63) infinite}.q9c0isg{background:linear-gradient(148deg,#2a6affdb 14.4%,#2a6affbd 87.37%)}.q9c0ish{background:linear-gradient(148deg,#ff0044db 14.4%,#ff0044bd 87.37%)}.q9c0isi{background:linear-gradient(148deg,rgb(from var(--sid-color-primary, #2a6aff) r g b / .86) 14.4%,rgb(from var(--sid-color-primary, #2a6aff) r g b / .74) 87.37%)}.q9c0isj{position:absolute;display:inline-flex}.e1dz940{display:flex}.e1dz941{flex-direction:column}.e1dz942{flex-direction:row}.e1dz943{justify-content:space-between;flex-grow:1}.e1dz944{justify-content:space-evenly;flex-grow:1}.kqvzqt2k{gap:var(--_1fuhtfdc)}.kqvzqt2l{gap:var(--_1fuhtfdd)}.kqvzqt2m{gap:var(--_1fuhtfde)}.kqvzqt2n{gap:var(--_1fuhtfdf)}.kqvzqt2o{gap:var(--_1fuhtfdg)}.kqvzqt2p{gap:var(--_1fuhtfdh)}.kqvzqt2q{gap:var(--_1fuhtfdi)}.kqvzqt2r{gap:var(--_1fuhtfdj)}.kqvzqt2s{gap:var(--_1fuhtfdk)}.kqvzqt2t{gap:var(--_1fuhtfdl)}.kqvzqt2u{gap:var(--_1fuhtfdm)}.kqvzqt2v{gap:var(--_1fuhtfdn)}.kqvzqt2w{gap:var(--_1fuhtfdo)}.kqvzqt2x{gap:var(--_1fuhtfdp)}.kqvzqt2y{gap:var(--_1fuhtfdq)}.kqvzqt2z{gap:var(--_1fuhtfdr)}.kqvzqt30{gap:var(--_1fuhtfds)}.kqvzqt31{gap:var(--_1fuhtfdt)}.kqvzqt32{gap:var(--_1fuhtfdu)}.kqvzqt33{gap:var(--_1fuhtfdv)}.kqvzqt34{gap:var(--_1fuhtfdw)}.kqvzqt35{gap:var(--_1fuhtfdx)}.kqvzqt36{gap:var(--_1fuhtfdy)}.kqvzqt37{gap:var(--_1fuhtfdz)}.kqvzqt38{gap:var(--_1fuhtfd10)}.kqvzqt39{gap:var(--_1fuhtfd11)}.kqvzqt3a{gap:var(--_1fuhtfd12)}.kqvzqt3b{gap:var(--_1fuhtfd13)}.kqvzqt3c{gap:var(--_1fuhtfd14)}.kqvzqt3d{gap:var(--_1fuhtfd15)}.kqvzqt3e{gap:var(--_1fuhtfd16)}.kqvzqt3f{gap:var(--_1fuhtfd17)}.kqvzqt3g{gap:var(--_1fuhtfd18)}.kqvzqt3h{gap:var(--_1fuhtfd19)}.kqvzqt3i{gap:var(--_1fuhtfd1a)}.kqvzqt3j{gap:var(--_1fuhtfd1b)}.kqvzqt3k{gap:var(--_1fuhtfd1c)}.kqvzqt3l{gap:var(--_1fuhtfd1d)}.kqvzqt3m{gap:var(--_1fuhtfd1e)}.kqvzqt3n{gap:var(--_1fuhtfd1f)}.kqvzqt3o{gap:var(--_1fuhtfd1g)}.kqvzqt3p{margin-top:var(--_1fuhtfdc)}.kqvzqt3q{margin-top:var(--_1fuhtfdd)}.kqvzqt3r{margin-top:var(--_1fuhtfde)}.kqvzqt3s{margin-top:var(--_1fuhtfdf)}.kqvzqt3t{margin-top:var(--_1fuhtfdg)}.kqvzqt3u{margin-top:var(--_1fuhtfdh)}.kqvzqt3v{margin-top:var(--_1fuhtfdi)}.kqvzqt3w{margin-top:var(--_1fuhtfdj)}.kqvzqt3x{margin-top:var(--_1fuhtfdk)}.kqvzqt3y{margin-top:var(--_1fuhtfdl)}.kqvzqt3z{margin-top:var(--_1fuhtfdm)}.kqvzqt40{margin-top:var(--_1fuhtfdn)}.kqvzqt41{margin-top:var(--_1fuhtfdo)}.kqvzqt42{margin-top:var(--_1fuhtfdp)}.kqvzqt43{margin-top:var(--_1fuhtfdq)}.kqvzqt44{margin-top:var(--_1fuhtfdr)}.kqvzqt45{margin-top:var(--_1fuhtfds)}.kqvzqt46{margin-top:var(--_1fuhtfdt)}.kqvzqt47{margin-top:var(--_1fuhtfdu)}.kqvzqt48{margin-top:var(--_1fuhtfdv)}.kqvzqt49{margin-top:var(--_1fuhtfdw)}.kqvzqt4a{margin-top:var(--_1fuhtfdx)}.kqvzqt4b{margin-top:var(--_1fuhtfdy)}.kqvzqt4c{margin-top:var(--_1fuhtfdz)}.kqvzqt4d{margin-top:var(--_1fuhtfd10)}.kqvzqt4e{margin-top:var(--_1fuhtfd11)}.kqvzqt4f{margin-top:var(--_1fuhtfd12)}.kqvzqt4g{margin-top:var(--_1fuhtfd13)}.kqvzqt4h{margin-top:var(--_1fuhtfd14)}.kqvzqt4i{margin-top:var(--_1fuhtfd15)}.kqvzqt4j{margin-top:var(--_1fuhtfd16)}.kqvzqt4k{margin-top:var(--_1fuhtfd17)}.kqvzqt4l{margin-top:var(--_1fuhtfd18)}.kqvzqt4m{margin-top:var(--_1fuhtfd19)}.kqvzqt4n{margin-top:var(--_1fuhtfd1a)}.kqvzqt4o{margin-top:var(--_1fuhtfd1b)}.kqvzqt4p{margin-top:var(--_1fuhtfd1c)}.kqvzqt4q{margin-top:var(--_1fuhtfd1d)}.kqvzqt4r{margin-top:var(--_1fuhtfd1e)}.kqvzqt4s{margin-top:var(--_1fuhtfd1f)}.kqvzqt4t{margin-top:var(--_1fuhtfd1g)}.kqvzqt4u{margin-bottom:var(--_1fuhtfdc)}.kqvzqt4v{margin-bottom:var(--_1fuhtfdd)}.kqvzqt4w{margin-bottom:var(--_1fuhtfde)}.kqvzqt4x{margin-bottom:var(--_1fuhtfdf)}.kqvzqt4y{margin-bottom:var(--_1fuhtfdg)}.kqvzqt4z{margin-bottom:var(--_1fuhtfdh)}.kqvzqt50{margin-bottom:var(--_1fuhtfdi)}.kqvzqt51{margin-bottom:var(--_1fuhtfdj)}.kqvzqt52{margin-bottom:var(--_1fuhtfdk)}.kqvzqt53{margin-bottom:var(--_1fuhtfdl)}.kqvzqt54{margin-bottom:var(--_1fuhtfdm)}.kqvzqt55{margin-bottom:var(--_1fuhtfdn)}.kqvzqt56{margin-bottom:var(--_1fuhtfdo)}.kqvzqt57{margin-bottom:var(--_1fuhtfdp)}.kqvzqt58{margin-bottom:var(--_1fuhtfdq)}.kqvzqt59{margin-bottom:var(--_1fuhtfdr)}.kqvzqt5a{margin-bottom:var(--_1fuhtfds)}.kqvzqt5b{margin-bottom:var(--_1fuhtfdt)}.kqvzqt5c{margin-bottom:var(--_1fuhtfdu)}.kqvzqt5d{margin-bottom:var(--_1fuhtfdv)}.kqvzqt5e{margin-bottom:var(--_1fuhtfdw)}.kqvzqt5f{margin-bottom:var(--_1fuhtfdx)}.kqvzqt5g{margin-bottom:var(--_1fuhtfdy)}.kqvzqt5h{margin-bottom:var(--_1fuhtfdz)}.kqvzqt5i{margin-bottom:var(--_1fuhtfd10)}.kqvzqt5j{margin-bottom:var(--_1fuhtfd11)}.kqvzqt5k{margin-bottom:var(--_1fuhtfd12)}.kqvzqt5l{margin-bottom:var(--_1fuhtfd13)}.kqvzqt5m{margin-bottom:var(--_1fuhtfd14)}.kqvzqt5n{margin-bottom:var(--_1fuhtfd15)}.kqvzqt5o{margin-bottom:var(--_1fuhtfd16)}.kqvzqt5p{margin-bottom:var(--_1fuhtfd17)}.kqvzqt5q{margin-bottom:var(--_1fuhtfd18)}.kqvzqt5r{margin-bottom:var(--_1fuhtfd19)}.kqvzqt5s{margin-bottom:var(--_1fuhtfd1a)}.kqvzqt5t{margin-bottom:var(--_1fuhtfd1b)}.kqvzqt5u{margin-bottom:var(--_1fuhtfd1c)}.kqvzqt5v{margin-bottom:var(--_1fuhtfd1d)}.kqvzqt5w{margin-bottom:var(--_1fuhtfd1e)}.kqvzqt5x{margin-bottom:var(--_1fuhtfd1f)}.kqvzqt5y{margin-bottom:var(--_1fuhtfd1g)}.kqvzqt5z{margin-left:var(--_1fuhtfdc)}.kqvzqt60{margin-left:var(--_1fuhtfdd)}.kqvzqt61{margin-left:var(--_1fuhtfde)}.kqvzqt62{margin-left:var(--_1fuhtfdf)}.kqvzqt63{margin-left:var(--_1fuhtfdg)}.kqvzqt64{margin-left:var(--_1fuhtfdh)}.kqvzqt65{margin-left:var(--_1fuhtfdi)}.kqvzqt66{margin-left:var(--_1fuhtfdj)}.kqvzqt67{margin-left:var(--_1fuhtfdk)}.kqvzqt68{margin-left:var(--_1fuhtfdl)}.kqvzqt69{margin-left:var(--_1fuhtfdm)}.kqvzqt6a{margin-left:var(--_1fuhtfdn)}.kqvzqt6b{margin-left:var(--_1fuhtfdo)}.kqvzqt6c{margin-left:var(--_1fuhtfdp)}.kqvzqt6d{margin-left:var(--_1fuhtfdq)}.kqvzqt6e{margin-left:var(--_1fuhtfdr)}.kqvzqt6f{margin-left:var(--_1fuhtfds)}.kqvzqt6g{margin-left:var(--_1fuhtfdt)}.kqvzqt6h{margin-left:var(--_1fuhtfdu)}.kqvzqt6i{margin-left:var(--_1fuhtfdv)}.kqvzqt6j{margin-left:var(--_1fuhtfdw)}.kqvzqt6k{margin-left:var(--_1fuhtfdx)}.kqvzqt6l{margin-left:var(--_1fuhtfdy)}.kqvzqt6m{margin-left:var(--_1fuhtfdz)}.kqvzqt6n{margin-left:var(--_1fuhtfd10)}.kqvzqt6o{margin-left:var(--_1fuhtfd11)}.kqvzqt6p{margin-left:var(--_1fuhtfd12)}.kqvzqt6q{margin-left:var(--_1fuhtfd13)}.kqvzqt6r{margin-left:var(--_1fuhtfd14)}.kqvzqt6s{margin-left:var(--_1fuhtfd15)}.kqvzqt6t{margin-left:var(--_1fuhtfd16)}.kqvzqt6u{margin-left:var(--_1fuhtfd17)}.kqvzqt6v{margin-left:var(--_1fuhtfd18)}.kqvzqt6w{margin-left:var(--_1fuhtfd19)}.kqvzqt6x{margin-left:var(--_1fuhtfd1a)}.kqvzqt6y{margin-left:var(--_1fuhtfd1b)}.kqvzqt6z{margin-left:var(--_1fuhtfd1c)}.kqvzqt70{margin-left:var(--_1fuhtfd1d)}.kqvzqt71{margin-left:var(--_1fuhtfd1e)}.kqvzqt72{margin-left:var(--_1fuhtfd1f)}.kqvzqt73{margin-left:var(--_1fuhtfd1g)}.kqvzqt74{margin-right:var(--_1fuhtfdc)}.kqvzqt75{margin-right:var(--_1fuhtfdd)}.kqvzqt76{margin-right:var(--_1fuhtfde)}.kqvzqt77{margin-right:var(--_1fuhtfdf)}.kqvzqt78{margin-right:var(--_1fuhtfdg)}.kqvzqt79{margin-right:var(--_1fuhtfdh)}.kqvzqt7a{margin-right:var(--_1fuhtfdi)}.kqvzqt7b{margin-right:var(--_1fuhtfdj)}.kqvzqt7c{margin-right:var(--_1fuhtfdk)}.kqvzqt7d{margin-right:var(--_1fuhtfdl)}.kqvzqt7e{margin-right:var(--_1fuhtfdm)}.kqvzqt7f{margin-right:var(--_1fuhtfdn)}.kqvzqt7g{margin-right:var(--_1fuhtfdo)}.kqvzqt7h{margin-right:var(--_1fuhtfdp)}.kqvzqt7i{margin-right:var(--_1fuhtfdq)}.kqvzqt7j{margin-right:var(--_1fuhtfdr)}.kqvzqt7k{margin-right:var(--_1fuhtfds)}.kqvzqt7l{margin-right:var(--_1fuhtfdt)}.kqvzqt7m{margin-right:var(--_1fuhtfdu)}.kqvzqt7n{margin-right:var(--_1fuhtfdv)}.kqvzqt7o{margin-right:var(--_1fuhtfdw)}.kqvzqt7p{margin-right:var(--_1fuhtfdx)}.kqvzqt7q{margin-right:var(--_1fuhtfdy)}.kqvzqt7r{margin-right:var(--_1fuhtfdz)}.kqvzqt7s{margin-right:var(--_1fuhtfd10)}.kqvzqt7t{margin-right:var(--_1fuhtfd11)}.kqvzqt7u{margin-right:var(--_1fuhtfd12)}.kqvzqt7v{margin-right:var(--_1fuhtfd13)}.kqvzqt7w{margin-right:var(--_1fuhtfd14)}.kqvzqt7x{margin-right:var(--_1fuhtfd15)}.kqvzqt7y{margin-right:var(--_1fuhtfd16)}.kqvzqt7z{margin-right:var(--_1fuhtfd17)}.kqvzqt80{margin-right:var(--_1fuhtfd18)}.kqvzqt81{margin-right:var(--_1fuhtfd19)}.kqvzqt82{margin-right:var(--_1fuhtfd1a)}.kqvzqt83{margin-right:var(--_1fuhtfd1b)}.kqvzqt84{margin-right:var(--_1fuhtfd1c)}.kqvzqt85{margin-right:var(--_1fuhtfd1d)}.kqvzqt86{margin-right:var(--_1fuhtfd1e)}.kqvzqt87{margin-right:var(--_1fuhtfd1f)}.kqvzqt88{margin-right:var(--_1fuhtfd1g)}.kqvzqt89{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}.kqvzqt8a{display:flex;justify-content:center;align-items:center}@media (prefers-color-scheme: light){.kqvzqt0{color:var(--sid-color-background)}.kqvzqt2{color:var(--sid-color-mute)}.kqvzqt4{color:var(--sid-color-panel)}.kqvzqt6{color:var(--sid-color-foreground)}.kqvzqt8{color:var(--sid-color-contrast)}.kqvzqta{color:var(--sid-color-secondary)}.kqvzqtc{color:var(--sid-color-tertiary)}.kqvzqte{color:var(--sid-color-placeholder)}.kqvzqtg{color:var(--sid-color-smooth)}.kqvzqti{color:var(--sid-color-subtle)}.kqvzqtk{color:var(--sid-color-soft)}.kqvzqtm{color:var(--sid-color-offset)}.kqvzqto{color:var(--sid-color-primary)}.kqvzqtq{color:var(--sid-color-primary-hover)}.kqvzqts{color:var(--sid-color-transparent)}.kqvzqtu{color:var(--sid-color-error)}.kqvzqtw{color:var(--sid-color-auxiliary)}.kqvzqty{color:var(--sid-color-success)}.kqvzqt10{color:var(--sid-color-foreground-success)}.kqvzqt12{color:var(--sid-color-background-success)}.kqvzqt14{color:var(--sid-color-failure)}.kqvzqt16{color:var(--sid-color-foreground-failure)}.kqvzqt18{color:var(--sid-color-background-failure)}.kqvzqt1a{background-color:var(--sid-color-background)}.kqvzqt1c{background-color:var(--sid-color-mute)}.kqvzqt1e{background-color:var(--sid-color-panel)}.kqvzqt1g{background-color:var(--sid-color-foreground)}.kqvzqt1i{background-color:var(--sid-color-contrast)}.kqvzqt1k{background-color:var(--sid-color-secondary)}.kqvzqt1m{background-color:var(--sid-color-tertiary)}.kqvzqt1o{background-color:var(--sid-color-placeholder)}.kqvzqt1q{background-color:var(--sid-color-smooth)}.kqvzqt1s{background-color:var(--sid-color-subtle)}.kqvzqt1u{background-color:var(--sid-color-soft)}.kqvzqt1w{background-color:var(--sid-color-offset)}.kqvzqt1y{background-color:var(--sid-color-primary)}.kqvzqt20{background-color:var(--sid-color-primary-hover)}.kqvzqt22{background-color:var(--sid-color-transparent)}.kqvzqt24{background-color:var(--sid-color-error)}.kqvzqt26{background-color:var(--sid-color-auxiliary)}.kqvzqt28{background-color:var(--sid-color-success)}.kqvzqt2a{background-color:var(--sid-color-foreground-success)}.kqvzqt2c{background-color:var(--sid-color-background-success)}.kqvzqt2e{background-color:var(--sid-color-failure)}.kqvzqt2g{background-color:var(--sid-color-foreground-failure)}.kqvzqt2i{background-color:var(--sid-color-background-failure)}}@media (prefers-color-scheme: dark){.kqvzqt1{color:var(--sid-color-background)}.kqvzqt3{color:var(--sid-color-mute)}.kqvzqt5{color:var(--sid-color-panel)}.kqvzqt7{color:var(--sid-color-foreground)}.kqvzqt9{color:var(--sid-color-contrast)}.kqvzqtb{color:var(--sid-color-secondary)}.kqvzqtd{color:var(--sid-color-tertiary)}.kqvzqtf{color:var(--sid-color-placeholder)}.kqvzqth{color:var(--sid-color-smooth)}.kqvzqtj{color:var(--sid-color-subtle)}.kqvzqtl{color:var(--sid-color-soft)}.kqvzqtn{color:var(--sid-color-offset)}.kqvzqtp{color:var(--sid-color-primary)}.kqvzqtr{color:var(--sid-color-primary-hover)}.kqvzqtt{color:var(--sid-color-transparent)}.kqvzqtv{color:var(--sid-color-error)}.kqvzqtx{color:var(--sid-color-auxiliary)}.kqvzqtz{color:var(--sid-color-success)}.kqvzqt11{color:var(--sid-color-foreground-success)}.kqvzqt13{color:var(--sid-color-background-success)}.kqvzqt15{color:var(--sid-color-failure)}.kqvzqt17{color:var(--sid-color-foreground-failure)}.kqvzqt19{color:var(--sid-color-background-failure)}.kqvzqt1b{background-color:var(--sid-color-background)}.kqvzqt1d{background-color:var(--sid-color-mute)}.kqvzqt1f{background-color:var(--sid-color-panel)}.kqvzqt1h{background-color:var(--sid-color-foreground)}.kqvzqt1j{background-color:var(--sid-color-contrast)}.kqvzqt1l{background-color:var(--sid-color-secondary)}.kqvzqt1n{background-color:var(--sid-color-tertiary)}.kqvzqt1p{background-color:var(--sid-color-placeholder)}.kqvzqt1r{background-color:var(--sid-color-smooth)}.kqvzqt1t{background-color:var(--sid-color-subtle)}.kqvzqt1v{background-color:var(--sid-color-soft)}.kqvzqt1x{background-color:var(--sid-color-offset)}.kqvzqt1z{background-color:var(--sid-color-primary)}.kqvzqt21{background-color:var(--sid-color-primary-hover)}.kqvzqt23{background-color:var(--sid-color-transparent)}.kqvzqt25{background-color:var(--sid-color-error)}.kqvzqt27{background-color:var(--sid-color-auxiliary)}.kqvzqt29{background-color:var(--sid-color-success)}.kqvzqt2b{background-color:var(--sid-color-foreground-success)}.kqvzqt2d{background-color:var(--sid-color-background-success)}.kqvzqt2f{background-color:var(--sid-color-failure)}.kqvzqt2h{background-color:var(--sid-color-foreground-failure)}.kqvzqt2j{background-color:var(--sid-color-background-failure)}}._1xf7e4h0{align-items:start;padding:16px;border-radius:var(--sid-button-border-radius)}._1xf7e4h1{background-color:var(--sid-color-background-success)}._1xf7e4h2{background-color:var(--sid-color-background-failure)}._1xf7e4h3{color:#142049}._1qam6z30{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd4);font-size:var(--_1fuhtfd9);color:var(--sid-color-foreground);margin:0;line-height:100%}._1qam6z31{font-size:12px}._1qam6z32{font-size:14px;line-height:112%}._1qam6z33{font-size:16px;line-height:122%}._1qam6z34{font-size:20px}._1qam6z35{font-size:24px;line-height:118%}._1qam6z36{font-weight:500}._1qam6z37{font-weight:600}._1qam6z38{font-weight:700}._1qam6z39{color:var(--sid-color-contrast)}._1qam6z3a{color:var(--sid-color-tertiary)}._1qam6z3b{color:var(--sid-color-placeholder)}._1qam6z3c{color:#fff}._1qam6z3d{color:var(--sid-color-foreground-success)}._1qam6z3e{color:var(--sid-color-foreground-failure)}._1wo163v0{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;width:100%;min-width:var(--_1fuhtfd1k);height:var(--_1fuhtfd1h);gap:var(--_1fuhtfd1c);padding:var(--_1fuhtfd1j) var(--_1fuhtfd1i);box-sizing:border-box;background-color:var(--sid-color-offset);border:1px solid var(--sid-input-border-color);border-radius:var(--sid-input-border-radius);font-family:var(--sid-font-family);position:relative;text-align:left}._1wo163v0:active{border:1px solid var(--sid-color-tertiary);outline:none}._1wo163v0:hover{border:1px solid var(--sid-color-placeholder);cursor:pointer;outline:none}._1wo163v0:focus{border:1px solid var(--sid-color-tertiary);outline:none}._1wo163v1{font-size:var(--_1fuhtfd7);font-weight:var(--_1fuhtfd5);color:var(--sid-input-label-color)}._1wo163v2{width:100%;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd5);color:var(--sid-color-foreground);display:grid;grid-template-columns:auto 24px}._1wo163v3{position:relative;background-color:var(--sid-color-panel);border:1px solid var(--sid-color-subtle);box-shadow:var(--_1fuhtfd1l);border-radius:20px;overflow:hidden;z-index:1}._1wo163v4{padding:12px}._1wo163v5{font-family:var(--sid-font-family);font-weight:var(--_1fuhtfd6);font-size:var(--_1fuhtfd9);line-height:100%;color:var(--sid-color-foreground);border-radius:12px;padding:16px 12px;display:flex;column-gap:8px;align-items:center}._1wo163v5:hover{background-color:var(--sid-color-soft);cursor:pointer;border:none;outline:none}._1wo163v6{position:absolute;right:16px;z-index:0}._1wo163v0[data-state=open]>._1wo163v6{transform:rotate(180deg)}._1wo163v7{height:16px;margin-left:auto;justify-self:flex-end}@keyframes _1nkzleu0{0%{background-position:0% 0%}to{background-position:-135% 0%}}._1nkzleu1{height:100%;width:100%;background:linear-gradient(-90deg,#29355f1a,#fff,#29355f1a);background-size:400% 400%;animation:_1nkzleu0 1.2s ease-in-out infinite;border-radius:8px;opacity:.48}._1bc2uou0{display:flex;background-color:var(--sid-color-mute);border-radius:var(--sid-button-border-radius);padding:3px;font-family:var(--sid-font-family);font-size:var(--_1fuhtfd9)}._1bc2uou1{all:unset;padding:12px 24px;display:flex;align-items:center;justify-content:center;flex:1;text-align:center}._1bc2uou1[data-state=active]{border-radius:calc(var(--sid-button-border-radius) * .875);background-color:var(--sid-color-panel);color:var(--sid-color-foreground)}._1bc2uou1[data-state=inactive]{cursor:pointer;color:var(--sid-color-contrast)}._1f3g3xe0{position:relative;width:100%;display:flex;overflow:hidden}._1f3g3xe1{all:unset;width:100%;padding:12px 16px;border-radius:16px;font-family:inherit;border:none;outline:none;font-size:var(--_1fuhtfd9);font-weight:var(--_1fuhtfd4);color:var(--sid-color-foreground);background-color:var(--sid-color-offset);line-height:150%;overflow:hidden;white-space:pre-line;text-overflow:ellipsis;touch-action:none}._1f3g3xe2{padding-top:28px}._1f3g3xe3{padding-right:44px}._1f3g3xe4{position:absolute;left:16px;top:12px;font-family:inherit;font-size:12px;font-weight:600;color:var(--sid-color-contrast)}._1f3g3xe5{all:unset;position:absolute;right:0;top:0;padding:16px}._1f3g3xe5:hover{cursor:pointer}._1f3g3xe6{top:6px}._1xl24760{display:block;margin-top:var(--_1fuhtfde);color:var(--sid-color-error);font-weight:600;line-height:122%}@keyframes h1jwma6{0%{opacity:0}to{opacity:1}}.h1jwma0{display:flex;justify-content:center;align-items:baseline}.h1jwma1{text-transform:capitalize}.h1jwma2{margin:16px 0}.h1jwma3{margin:24px 0}.h1jwma4{display:flex;align-items:baseline;margin-top:8px}.h1jwma5{display:flex;flex-direction:column;gap:8px}.h1jwma7{animation:h1jwma6 .3s}.h1jwma8{display:flex;flex-direction:column;align-items:center}.h1jwma9{margin:24px auto;border-radius:16px}.h1jwmaa{margin-top:12px}._4i40i60{width:100%;margin-block:var(--_1fuhtfdg);font-size:var(--_1fuhtfd8);font-weight:var(--_1fuhtfd5);color:var(--sid-color-tertiary);text-align:center}._4i40i61{color:var(--sid-color-foreground);margin-left:var(--_1fuhtfdd);text-decoration:none}._4i40i61:hover{opacity:.8}.tgnhcw0{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);width:100%;padding:32px;box-sizing:border-box}.tgnhcw1{display:flex;flex-direction:column;gap:var(--_1fuhtfdd)}.tgnhcw2{width:var(--radix-select-trigger-width);margin-top:4px}@media screen and (min-width: 768px){.tgnhcw0{border-radius:calc(2 * var(--sid-button-border-radius))}}._1xoz4760,._1xoz4761{margin-left:var(--_1fuhtfdd)}._1xoz4762{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}._1xoz4763{display:flex;max-height:32px;margin-bottom:var(--_1fuhtfdg);width:var(--sid-form-logo-width)}._1xoz4764{display:flex;flex-direction:column;gap:var(--_1fuhtfdd)}._1xoz4765{width:var(--radix-select-trigger-width);margin-top:4px}._1xoz4766{height:16px}.zrp2ko0{margin-left:var(--_1fuhtfdd)}.zrp2ko1{display:flex;flex-direction:column;gap:var(--_1fuhtfde)}.gwp8o20{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);width:100%;padding:32px 32px 16px;box-sizing:border-box}@media screen and (min-width: 768px){.gwp8o20{border-radius:calc(2 * var(--sid-form-border-radius))}}._1iedw350{width:100%;margin-top:var(--_1fuhtfdk);text-align:center;color:var(--sid-color-placeholder)}.t5smqu0{margin-top:24px}.t5smqu1{display:grid;grid-template-columns:min-content auto;gap:4px 40px;font-family:monospace}.sluhu71{--sluhu70: 12px;transform:unset;top:unset;left:unset;bottom:var(--sluhu70);right:var(--sluhu70);max-height:542px;max-width:400px;display:grid;grid-template-rows:auto auto 1fr auto;background-color:var(--sid-color-panel);z-index:1}.sluhu72{--sluhu70: 12px;position:fixed;bottom:calc(var(--sluhu70) + 2px);right:calc(var(--sluhu70) + 2px);display:grid;place-items:center;padding:12px 16px;border-radius:14px}.sluhu73{margin:12px 0 24px;padding:0 16px}.sluhu74{position:relative;overflow-y:auto;padding:0 16px;border-top:1px solid var(--sid-color-subtle);border-bottom:1px solid var(--sid-color-subtle);background:var(--sid-color-auxiliary)}.sluhu75{overflow-y:hidden;min-height:200px}.sluhu76{position:relative}.sluhu77{position:absolute;left:0;top:0;width:100%;height:100%;display:grid;place-content:center;gap:6px;text-align:center;background:var(--sid-color-auxiliary);z-index:1}.sluhu78{border-bottom:1px solid var(--sid-color-subtle)}.sluhu79{padding:24px 0}.sluhu7a{padding-bottom:24px}.sluhu7b{display:flex;gap:8px;margin-top:24px;padding:0 16px 16px}.sluhu7c{min-width:130px}.sluhu7d{min-width:105px}.sluhu7e{min-width:100px}@media screen and (max-width: 480px){.sluhu71{--sluhu70: 20px;width:calc(100% - (var(--sluhu70) * 2));max-width:unset}.sluhu72{--sluhu70: 20px}.sluhu7b{flex-direction:column}}.ccyrlr0{font-family:var(--sid-font-family);color:var(--sid-color-foreground);background-color:var(--sid-color-panel);border-radius:var(--sid-input-border-radius)}
21601
+ ` }), Q6 = ({ children: e, onSuccess: t, ...r }) => {
21600
21602
  const n = El(), o = pe(() => {
21601
21603
  n.revalidate(), t();
21602
21604
  }, [t, n]);
21603
21605
  return /* @__PURE__ */ kt.jsxs(kt.Fragment, { children: [
21604
- /* @__PURE__ */ kt.jsx(D6, {}),
21606
+ /* @__PURE__ */ kt.jsx(P6, {}),
21605
21607
  /* @__PURE__ */ kt.jsx(Ni, { ...r, onSuccess: o, children: e })
21606
21608
  ] });
21607
21609
  };
21608
21610
  export {
21609
- cw as ConfigurationProvider,
21610
- X6 as Form,
21611
+ dw as ConfigurationProvider,
21612
+ Q6 as Form,
21611
21613
  Yd as Groups,
21612
- G6 as LoggedIn,
21613
- J6 as LoggedOut,
21614
+ J6 as LoggedIn,
21615
+ Z6 as LoggedOut,
21614
21616
  oi as SSR,
21615
- Z6 as createSlashIDApp,
21616
- O6 as getUser,
21617
- Y6 as useSlashID
21617
+ Y6 as createSlashIDApp,
21618
+ N6 as getUser,
21619
+ X6 as useSlashID
21618
21620
  };
21619
21621
  //# sourceMappingURL=main.js.map