@saasbase-io/core-elements 1.1.4 → 1.1.6

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/index.mjs CHANGED
@@ -55,7 +55,7 @@ class ar {
55
55
  this.data.clear();
56
56
  }
57
57
  }
58
- const vt = ar.Instance;
58
+ const yt = ar.Instance;
59
59
  class Z extends Error {
60
60
  constructor(t, s, o) {
61
61
  super(s), this.name = "LoginflowError", this.code = t, this.details = o;
@@ -69,7 +69,7 @@ class se {
69
69
  }
70
70
  request(t) {
71
71
  return M(this, arguments, void 0, function* (s, o = {}) {
72
- const r = vt.getConfig(), i = `${vt.getApiBaseUrl()}${s}`, n = 5e4, l = new AbortController(), d = setTimeout(() => l.abort(), n);
72
+ const r = yt.getConfig(), i = `${yt.getApiBaseUrl()}${s}`, n = 5e4, l = new AbortController(), d = setTimeout(() => l.abort(), n);
73
73
  try {
74
74
  const u = yield fetch(i, Object.assign(Object.assign({}, o), { signal: l.signal, headers: Object.assign(Object.assign(Object.assign({ "Content-Type": "application/json" }, r.apiKey && { Authorization: `Bearer ${r.apiKey}` }), r.headers), o.headers) }));
75
75
  if (clearTimeout(d), !u.ok) {
@@ -101,12 +101,12 @@ class se {
101
101
  });
102
102
  }
103
103
  }
104
- class ct {
104
+ class dt {
105
105
  constructor() {
106
106
  this.AUTH_SESSION_STORAGE_KEY = "saasbase_auth_session", this.refreshTimeoutId = null, this.refreshPromise = null;
107
107
  }
108
108
  static get Instance() {
109
- return ct.instance || (ct.instance = new ct()), ct.instance;
109
+ return dt.instance || (dt.instance = new dt()), dt.instance;
110
110
  }
111
111
  setCurrentSession(t) {
112
112
  localStorage.setItem(this.AUTH_SESSION_STORAGE_KEY, JSON.stringify(t));
@@ -341,14 +341,14 @@ class Vi {
341
341
  ["switch_to_signin", this.handleSwitchToSignin.bind(this)],
342
342
  ["switch_to_signup", this.handleSwitchToSignup.bind(this)]
343
343
  ]);
344
- const n = vt.getConfig();
344
+ const n = yt.getConfig();
345
345
  if (!n.domain)
346
346
  throw new Z("CONFIG_ERROR", "Domain is required");
347
347
  if (!n.clientId)
348
348
  throw new Z("CONFIG_ERROR", "Client ID is required");
349
349
  if (!n.clientSecret)
350
350
  throw new Z("CONFIG_ERROR", "Client Secret is required");
351
- this.flowId = t, this.location = o, this.flowStateManager = r || new ll(), this.flowEventBus = s || new cl(), this.navigationTypeDetector = i || new ed(), ct.Instance.cleanExpiredSession(), ct.Instance.scheduleTokenRefresh();
351
+ this.flowId = t, this.location = o, this.flowStateManager = r || new ll(), this.flowEventBus = s || new cl(), this.navigationTypeDetector = i || new ed(), dt.Instance.cleanExpiredSession(), dt.Instance.scheduleTokenRefresh();
352
352
  }
353
353
  static init(t, s, o, r, i) {
354
354
  return M(this, void 0, void 0, function* () {
@@ -442,7 +442,7 @@ class Vi {
442
442
  expires_in: t.expires_in,
443
443
  expires_at: Date.now() + t.expires_in * 1e3
444
444
  };
445
- ct.Instance.setCurrentSession(s), ct.Instance.scheduleTokenRefresh(), this.flowStateManager.clearFlowState(), this.reloadPage();
445
+ dt.Instance.setCurrentSession(s), dt.Instance.scheduleTokenRefresh(), this.flowStateManager.clearFlowState(), this.reloadPage();
446
446
  }
447
447
  }
448
448
  /**
@@ -450,7 +450,7 @@ class Vi {
450
450
  */
451
451
  initializeFlowInternal() {
452
452
  return M(this, void 0, void 0, function* () {
453
- const t = vt.getConfig(), s = Ss.detect(t, this.location);
453
+ const t = yt.getConfig(), s = Ss.detect(t, this.location);
454
454
  this.validateFlowType(s);
455
455
  const o = this.flowStateManager.getFlowState();
456
456
  return this.shouldResumeFlow(o, s) ? yield this.resumeExistingFlow(o, s) : yield this.startNewFlow(s);
@@ -508,7 +508,7 @@ class Vi {
508
508
  */
509
509
  startNewFlow(t) {
510
510
  return M(this, void 0, void 0, function* () {
511
- const s = vt.getConfig(), o = {
511
+ const s = yt.getConfig(), o = {
512
512
  client_id: s.clientId,
513
513
  client_secret: s.clientSecret,
514
514
  origin_url: this.location.href,
@@ -551,7 +551,7 @@ class Vi {
551
551
  */
552
552
  handleSwitchToSignin() {
553
553
  return M(this, void 0, void 0, function* () {
554
- const t = vt.getConfig();
554
+ const t = yt.getConfig();
555
555
  return this.redirect({ url: t.signinUrl, redirect_delay: 0 }), { state: "End" };
556
556
  });
557
557
  }
@@ -560,7 +560,7 @@ class Vi {
560
560
  */
561
561
  handleSwitchToSignup() {
562
562
  return M(this, void 0, void 0, function* () {
563
- const t = vt.getConfig();
563
+ const t = yt.getConfig();
564
564
  return this.redirect({ url: t.signupUrl, redirect_delay: 0 }), { state: "End" };
565
565
  });
566
566
  }
@@ -665,7 +665,7 @@ class od {
665
665
  }
666
666
  console.log("[NavigationManager] Starting popstate processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
667
667
  try {
668
- const s = t.state, o = this.flowStateManager.getFlowState(), r = vt.getConfig(), i = Ss.detect(r, this.location);
668
+ const s = t.state, o = this.flowStateManager.getFlowState(), r = yt.getConfig(), i = Ss.detect(r, this.location);
669
669
  if (s && this.restoreHistoryStateToSession(s), this.shouldRestartFlow(s, o, i)) {
670
670
  yield this.triggerFlowRestart();
671
671
  return;
@@ -689,7 +689,7 @@ class od {
689
689
  }
690
690
  console.log("[NavigationManager] Starting bfcache restoration processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
691
691
  try {
692
- const t = this.historyAdapter.state, s = this.flowStateManager.getFlowState(), o = vt.getConfig(), r = Ss.detect(o, this.location);
692
+ const t = this.historyAdapter.state, s = this.flowStateManager.getFlowState(), o = yt.getConfig(), r = Ss.detect(o, this.location);
693
693
  if (t && this.restoreHistoryStateToSession(t), this.shouldRestartFlow(t, s, r)) {
694
694
  yield this.triggerFlowRestart();
695
695
  return;
@@ -1134,7 +1134,7 @@ class lr {
1134
1134
  this.ensureConfigured(), this.webauthnService && (console.log("[AuthService] Cleaning up and aborting ongoing webauthn flows"), this.webauthnService.destroy(), this.webauthnService = null), this.loginflow && (console.log("[AuthService] Cleaning up old loginflow instance"), this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (console.log("[AuthService] Cleaning up old navigation manager instance"), this.navigationManager.destroy(), this.navigationManager = null), this.webauthnService = new id(), this.webauthnService.detectCapabilities(), this.flowEventBus = new cl(), this.navigationManager = new od(this.flowEventBus, () => M(this, void 0, void 0, function* () {
1135
1135
  console.log("[AuthService] Navigation restart triggered, restarting loginflow"), yield this.startLoginflowInternal(void 0, !1);
1136
1136
  }), o);
1137
- const r = yield Vi.init(s, this.flowEventBus), i = vt.getConfig();
1137
+ const r = yield Vi.init(s, this.flowEventBus), i = yt.getConfig();
1138
1138
  this.startPasskeyAuthentication(r.flowType, !0), this.loginflow = r.sdk;
1139
1139
  const n = {
1140
1140
  flowType: r.flowType,
@@ -1156,16 +1156,16 @@ class lr {
1156
1156
  configure(t) {
1157
1157
  if (!t.domain || !t.clientId || !t.clientSecret)
1158
1158
  throw new Z("CONFIG_ERROR", "domain, clientId, and clientSecret are required");
1159
- vt.setConfig(t), this.configured = !0;
1159
+ yt.setConfig(t), this.configured = !0;
1160
1160
  }
1161
1161
  isAuthenticated() {
1162
- return this.ensureConfigured(), ct.Instance.isAuthenticated();
1162
+ return this.ensureConfigured(), dt.Instance.isAuthenticated();
1163
1163
  }
1164
1164
  getCurrentSession() {
1165
- return this.ensureConfigured(), ct.Instance.getCurrentSession();
1165
+ return this.ensureConfigured(), dt.Instance.getCurrentSession();
1166
1166
  }
1167
1167
  getAuthenticatedUser() {
1168
- return this.ensureConfigured(), ct.Instance.getAuthenticatedUser();
1168
+ return this.ensureConfigured(), dt.Instance.getAuthenticatedUser();
1169
1169
  }
1170
1170
  startLoginflow(t) {
1171
1171
  return M(this, void 0, void 0, function* () {
@@ -1176,7 +1176,7 @@ class lr {
1176
1176
  return M(this, void 0, void 0, function* () {
1177
1177
  var s, o;
1178
1178
  this.ensureConfigured(), this.ensureLoginflowInitialized();
1179
- const r = vt.getConfig(), i = Ss.detect(r, location);
1179
+ const r = yt.getConfig(), i = Ss.detect(r, location);
1180
1180
  if (t.event === "signin_with_passkey" && !(!((s = t.data) === null || s === void 0) && s.credential_request)) {
1181
1181
  const l = yield this.getPasskeyCredential(i, !1);
1182
1182
  if (!l || !l.cred)
@@ -1282,10 +1282,10 @@ class lr {
1282
1282
  });
1283
1283
  }
1284
1284
  signOut() {
1285
- this.ensureConfigured(), ct.Instance.clearSession(), ct.Instance.cleanup(), this.loginflow && (this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (this.navigationManager.destroy(), this.navigationManager = null), this.flowEventBus && (this.flowEventBus.clear(), this.flowEventBus = null), window.location.reload(), console.log("Refreshed the page to clear any in-memory state");
1285
+ this.ensureConfigured(), dt.Instance.clearSession(), dt.Instance.cleanup(), this.loginflow && (this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (this.navigationManager.destroy(), this.navigationManager = null), this.flowEventBus && (this.flowEventBus.clear(), this.flowEventBus = null), window.location.reload(), console.log("Refreshed the page to clear any in-memory state");
1286
1286
  }
1287
1287
  }
1288
- const qt = lr.Instance;
1288
+ const nt = lr.Instance;
1289
1289
  /**
1290
1290
  * @license
1291
1291
  * Copyright 2019 Google LLC
@@ -2255,7 +2255,7 @@ function we({ context: e }) {
2255
2255
  * Copyright 2022 Google LLC
2256
2256
  * SPDX-License-Identifier: BSD-3-Clause
2257
2257
  */
2258
- function gt({ context: e, subscribe: t }) {
2258
+ function mt({ context: e, subscribe: t }) {
2259
2259
  return (s, o) => {
2260
2260
  typeof o == "object" ? o.addInitializer((function() {
2261
2261
  new Qn(this, { context: e, callback: (r) => {
@@ -2528,7 +2528,7 @@ function Xd(e, ...t) {
2528
2528
  const G = (e) => {
2529
2529
  const t = (s) => s[e] || [];
2530
2530
  return t.isThemeGetter = !0, t;
2531
- }, Sl = /^\[(?:([a-z-]+):)?(.+)\]$/i, Jd = /^\d+\/\d+$/, Qd = /* @__PURE__ */ new Set(["px", "full", "screen"]), tu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, eu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ru = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, su = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ou = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ft = (e) => cr(e) || Qd.has(e) || Jd.test(e), Jt = (e) => _r(e, "length", hu), cr = (e) => !!e && !Number.isNaN(Number(e)), Wo = (e) => _r(e, "number", cr), Ur = (e) => !!e && Number.isInteger(Number(e)), iu = (e) => e.endsWith("%") && cr(e.slice(0, -1)), j = (e) => Sl.test(e), Qt = (e) => tu.test(e), nu = /* @__PURE__ */ new Set(["length", "size", "percentage"]), au = (e) => _r(e, nu, kl), lu = (e) => _r(e, "position", kl), cu = /* @__PURE__ */ new Set(["image", "url"]), du = (e) => _r(e, cu, gu), uu = (e) => _r(e, "", pu), Mr = () => !0, _r = (e, t, s) => {
2531
+ }, Sl = /^\[(?:([a-z-]+):)?(.+)\]$/i, Jd = /^\d+\/\d+$/, Qd = /* @__PURE__ */ new Set(["px", "full", "screen"]), tu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, eu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ru = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, su = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ou = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Bt = (e) => cr(e) || Qd.has(e) || Jd.test(e), Jt = (e) => _r(e, "length", hu), cr = (e) => !!e && !Number.isNaN(Number(e)), Wo = (e) => _r(e, "number", cr), Ur = (e) => !!e && Number.isInteger(Number(e)), iu = (e) => e.endsWith("%") && cr(e.slice(0, -1)), j = (e) => Sl.test(e), Qt = (e) => tu.test(e), nu = /* @__PURE__ */ new Set(["length", "size", "percentage"]), au = (e) => _r(e, nu, kl), lu = (e) => _r(e, "position", kl), cu = /* @__PURE__ */ new Set(["image", "url"]), du = (e) => _r(e, cu, gu), uu = (e) => _r(e, "", pu), Mr = () => !0, _r = (e, t, s) => {
2532
2532
  const o = Sl.exec(e);
2533
2533
  return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : s(o[2]) : !1;
2534
2534
  }, hu = (e) => (
@@ -2537,13 +2537,13 @@ const G = (e) => {
2537
2537
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
2538
2538
  eu.test(e) && !ru.test(e)
2539
2539
  ), kl = () => !1, pu = (e) => su.test(e), gu = (e) => ou.test(e), mu = () => {
2540
- const e = G("colors"), t = G("spacing"), s = G("blur"), o = G("brightness"), r = G("borderColor"), i = G("borderRadius"), n = G("borderSpacing"), l = G("borderWidth"), d = G("contrast"), u = G("grayscale"), m = G("hueRotate"), f = G("invert"), y = G("gap"), x = G("gradientColorStops"), w = G("gradientColorStopPositions"), C = G("inset"), _ = G("margin"), k = G("opacity"), P = G("padding"), V = G("saturate"), q = G("scale"), T = G("sepia"), tt = G("skew"), bt = G("space"), It = G("translate"), Et = () => ["auto", "contain", "none"], Mt = () => ["auto", "hidden", "clip", "visible", "scroll"], Tt = () => ["auto", j, t], R = () => [j, t], Zt = () => ["", Ft, Jt], St = () => ["auto", cr, j], ft = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], lt = () => ["solid", "dashed", "dotted", "double", "none"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Lt = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], pt = () => ["", "0", j], p = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], v = () => [cr, j];
2540
+ const e = G("colors"), t = G("spacing"), s = G("blur"), o = G("brightness"), r = G("borderColor"), i = G("borderRadius"), n = G("borderSpacing"), l = G("borderWidth"), d = G("contrast"), u = G("grayscale"), m = G("hueRotate"), f = G("invert"), y = G("gap"), x = G("gradientColorStops"), w = G("gradientColorStopPositions"), C = G("inset"), _ = G("margin"), k = G("opacity"), P = G("padding"), V = G("saturate"), q = G("scale"), T = G("sepia"), tt = G("skew"), ft = G("space"), Tt = G("translate"), St = () => ["auto", "contain", "none"], Ft = () => ["auto", "hidden", "clip", "visible", "scroll"], Lt = () => ["auto", j, t], R = () => [j, t], Zt = () => ["", Bt, Jt], kt = () => ["auto", cr, j], vt = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ct = () => ["solid", "dashed", "dotted", "double", "none"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Dt = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], gt = () => ["", "0", j], p = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], v = () => [cr, j];
2541
2541
  return {
2542
2542
  cacheSize: 500,
2543
2543
  separator: ":",
2544
2544
  theme: {
2545
2545
  colors: [Mr],
2546
- spacing: [Ft, Jt],
2546
+ spacing: [Bt, Jt],
2547
2547
  blur: ["none", "", Qt, j],
2548
2548
  brightness: v(),
2549
2549
  borderColor: [e],
@@ -2551,19 +2551,19 @@ const G = (e) => {
2551
2551
  borderSpacing: R(),
2552
2552
  borderWidth: Zt(),
2553
2553
  contrast: v(),
2554
- grayscale: pt(),
2554
+ grayscale: gt(),
2555
2555
  hueRotate: v(),
2556
- invert: pt(),
2556
+ invert: gt(),
2557
2557
  gap: R(),
2558
2558
  gradientColorStops: [e],
2559
2559
  gradientColorStopPositions: [iu, Jt],
2560
- inset: Tt(),
2561
- margin: Tt(),
2560
+ inset: Lt(),
2561
+ margin: Lt(),
2562
2562
  opacity: v(),
2563
2563
  padding: R(),
2564
2564
  saturate: v(),
2565
2565
  scale: v(),
2566
- sepia: pt(),
2566
+ sepia: gt(),
2567
2567
  skew: v(),
2568
2568
  space: R(),
2569
2569
  translate: R()
@@ -2660,49 +2660,49 @@ const G = (e) => {
2660
2660
  * @see https://tailwindcss.com/docs/object-position
2661
2661
  */
2662
2662
  "object-position": [{
2663
- object: [...ft(), j]
2663
+ object: [...vt(), j]
2664
2664
  }],
2665
2665
  /**
2666
2666
  * Overflow
2667
2667
  * @see https://tailwindcss.com/docs/overflow
2668
2668
  */
2669
2669
  overflow: [{
2670
- overflow: Mt()
2670
+ overflow: Ft()
2671
2671
  }],
2672
2672
  /**
2673
2673
  * Overflow X
2674
2674
  * @see https://tailwindcss.com/docs/overflow
2675
2675
  */
2676
2676
  "overflow-x": [{
2677
- "overflow-x": Mt()
2677
+ "overflow-x": Ft()
2678
2678
  }],
2679
2679
  /**
2680
2680
  * Overflow Y
2681
2681
  * @see https://tailwindcss.com/docs/overflow
2682
2682
  */
2683
2683
  "overflow-y": [{
2684
- "overflow-y": Mt()
2684
+ "overflow-y": Ft()
2685
2685
  }],
2686
2686
  /**
2687
2687
  * Overscroll Behavior
2688
2688
  * @see https://tailwindcss.com/docs/overscroll-behavior
2689
2689
  */
2690
2690
  overscroll: [{
2691
- overscroll: Et()
2691
+ overscroll: St()
2692
2692
  }],
2693
2693
  /**
2694
2694
  * Overscroll Behavior X
2695
2695
  * @see https://tailwindcss.com/docs/overscroll-behavior
2696
2696
  */
2697
2697
  "overscroll-x": [{
2698
- "overscroll-x": Et()
2698
+ "overscroll-x": St()
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Overscroll Behavior Y
2702
2702
  * @see https://tailwindcss.com/docs/overscroll-behavior
2703
2703
  */
2704
2704
  "overscroll-y": [{
2705
- "overscroll-y": Et()
2705
+ "overscroll-y": St()
2706
2706
  }],
2707
2707
  /**
2708
2708
  * Position
@@ -2790,7 +2790,7 @@ const G = (e) => {
2790
2790
  * @see https://tailwindcss.com/docs/flex-basis
2791
2791
  */
2792
2792
  basis: [{
2793
- basis: Tt()
2793
+ basis: Lt()
2794
2794
  }],
2795
2795
  /**
2796
2796
  * Flex Direction
@@ -2818,14 +2818,14 @@ const G = (e) => {
2818
2818
  * @see https://tailwindcss.com/docs/flex-grow
2819
2819
  */
2820
2820
  grow: [{
2821
- grow: pt()
2821
+ grow: gt()
2822
2822
  }],
2823
2823
  /**
2824
2824
  * Flex Shrink
2825
2825
  * @see https://tailwindcss.com/docs/flex-shrink
2826
2826
  */
2827
2827
  shrink: [{
2828
- shrink: pt()
2828
+ shrink: gt()
2829
2829
  }],
2830
2830
  /**
2831
2831
  * Order
@@ -2855,14 +2855,14 @@ const G = (e) => {
2855
2855
  * @see https://tailwindcss.com/docs/grid-column
2856
2856
  */
2857
2857
  "col-start": [{
2858
- "col-start": St()
2858
+ "col-start": kt()
2859
2859
  }],
2860
2860
  /**
2861
2861
  * Grid Column End
2862
2862
  * @see https://tailwindcss.com/docs/grid-column
2863
2863
  */
2864
2864
  "col-end": [{
2865
- "col-end": St()
2865
+ "col-end": kt()
2866
2866
  }],
2867
2867
  /**
2868
2868
  * Grid Template Rows
@@ -2885,14 +2885,14 @@ const G = (e) => {
2885
2885
  * @see https://tailwindcss.com/docs/grid-row
2886
2886
  */
2887
2887
  "row-start": [{
2888
- "row-start": St()
2888
+ "row-start": kt()
2889
2889
  }],
2890
2890
  /**
2891
2891
  * Grid Row End
2892
2892
  * @see https://tailwindcss.com/docs/grid-row
2893
2893
  */
2894
2894
  "row-end": [{
2895
- "row-end": St()
2895
+ "row-end": kt()
2896
2896
  }],
2897
2897
  /**
2898
2898
  * Grid Auto Flow
@@ -2941,7 +2941,7 @@ const G = (e) => {
2941
2941
  * @see https://tailwindcss.com/docs/justify-content
2942
2942
  */
2943
2943
  "justify-content": [{
2944
- justify: ["normal", ...Lt()]
2944
+ justify: ["normal", ...Dt()]
2945
2945
  }],
2946
2946
  /**
2947
2947
  * Justify Items
@@ -2962,7 +2962,7 @@ const G = (e) => {
2962
2962
  * @see https://tailwindcss.com/docs/align-content
2963
2963
  */
2964
2964
  "align-content": [{
2965
- content: ["normal", ...Lt(), "baseline"]
2965
+ content: ["normal", ...Dt(), "baseline"]
2966
2966
  }],
2967
2967
  /**
2968
2968
  * Align Items
@@ -2983,7 +2983,7 @@ const G = (e) => {
2983
2983
  * @see https://tailwindcss.com/docs/place-content
2984
2984
  */
2985
2985
  "place-content": [{
2986
- "place-content": [...Lt(), "baseline"]
2986
+ "place-content": [...Dt(), "baseline"]
2987
2987
  }],
2988
2988
  /**
2989
2989
  * Place Items
@@ -3131,7 +3131,7 @@ const G = (e) => {
3131
3131
  * @see https://tailwindcss.com/docs/space
3132
3132
  */
3133
3133
  "space-x": [{
3134
- "space-x": [bt]
3134
+ "space-x": [ft]
3135
3135
  }],
3136
3136
  /**
3137
3137
  * Space Between X Reverse
@@ -3143,7 +3143,7 @@ const G = (e) => {
3143
3143
  * @see https://tailwindcss.com/docs/space
3144
3144
  */
3145
3145
  "space-y": [{
3146
- "space-y": [bt]
3146
+ "space-y": [ft]
3147
3147
  }],
3148
3148
  /**
3149
3149
  * Space Between Y Reverse
@@ -3283,7 +3283,7 @@ const G = (e) => {
3283
3283
  * @see https://tailwindcss.com/docs/line-height
3284
3284
  */
3285
3285
  leading: [{
3286
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Ft, j]
3286
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Bt, j]
3287
3287
  }],
3288
3288
  /**
3289
3289
  * List Style Image
@@ -3352,21 +3352,21 @@ const G = (e) => {
3352
3352
  * @see https://tailwindcss.com/docs/text-decoration-style
3353
3353
  */
3354
3354
  "text-decoration-style": [{
3355
- decoration: [...lt(), "wavy"]
3355
+ decoration: [...ct(), "wavy"]
3356
3356
  }],
3357
3357
  /**
3358
3358
  * Text Decoration Thickness
3359
3359
  * @see https://tailwindcss.com/docs/text-decoration-thickness
3360
3360
  */
3361
3361
  "text-decoration-thickness": [{
3362
- decoration: ["auto", "from-font", Ft, Jt]
3362
+ decoration: ["auto", "from-font", Bt, Jt]
3363
3363
  }],
3364
3364
  /**
3365
3365
  * Text Underline Offset
3366
3366
  * @see https://tailwindcss.com/docs/text-underline-offset
3367
3367
  */
3368
3368
  "underline-offset": [{
3369
- "underline-offset": ["auto", Ft, j]
3369
+ "underline-offset": ["auto", Bt, j]
3370
3370
  }],
3371
3371
  /**
3372
3372
  * Text Decoration Color
@@ -3469,7 +3469,7 @@ const G = (e) => {
3469
3469
  * @see https://tailwindcss.com/docs/background-position
3470
3470
  */
3471
3471
  "bg-position": [{
3472
- bg: [...ft(), lu]
3472
+ bg: [...vt(), lu]
3473
3473
  }],
3474
3474
  /**
3475
3475
  * Background Repeat
@@ -3726,7 +3726,7 @@ const G = (e) => {
3726
3726
  * @see https://tailwindcss.com/docs/border-style
3727
3727
  */
3728
3728
  "border-style": [{
3729
- border: [...lt(), "hidden"]
3729
+ border: [...ct(), "hidden"]
3730
3730
  }],
3731
3731
  /**
3732
3732
  * Divide Width X
@@ -3764,7 +3764,7 @@ const G = (e) => {
3764
3764
  * @see https://tailwindcss.com/docs/divide-style
3765
3765
  */
3766
3766
  "divide-style": [{
3767
- divide: lt()
3767
+ divide: ct()
3768
3768
  }],
3769
3769
  /**
3770
3770
  * Border Color
@@ -3841,21 +3841,21 @@ const G = (e) => {
3841
3841
  * @see https://tailwindcss.com/docs/outline-style
3842
3842
  */
3843
3843
  "outline-style": [{
3844
- outline: ["", ...lt()]
3844
+ outline: ["", ...ct()]
3845
3845
  }],
3846
3846
  /**
3847
3847
  * Outline Offset
3848
3848
  * @see https://tailwindcss.com/docs/outline-offset
3849
3849
  */
3850
3850
  "outline-offset": [{
3851
- "outline-offset": [Ft, j]
3851
+ "outline-offset": [Bt, j]
3852
3852
  }],
3853
3853
  /**
3854
3854
  * Outline Width
3855
3855
  * @see https://tailwindcss.com/docs/outline-width
3856
3856
  */
3857
3857
  "outline-w": [{
3858
- outline: [Ft, Jt]
3858
+ outline: [Bt, Jt]
3859
3859
  }],
3860
3860
  /**
3861
3861
  * Outline Color
@@ -3895,7 +3895,7 @@ const G = (e) => {
3895
3895
  * @see https://tailwindcss.com/docs/ring-offset-width
3896
3896
  */
3897
3897
  "ring-offset-w": [{
3898
- "ring-offset": [Ft, Jt]
3898
+ "ring-offset": [Bt, Jt]
3899
3899
  }],
3900
3900
  /**
3901
3901
  * Ring Offset Color
@@ -4203,14 +4203,14 @@ const G = (e) => {
4203
4203
  * @see https://tailwindcss.com/docs/translate
4204
4204
  */
4205
4205
  "translate-x": [{
4206
- "translate-x": [It]
4206
+ "translate-x": [Tt]
4207
4207
  }],
4208
4208
  /**
4209
4209
  * Translate Y
4210
4210
  * @see https://tailwindcss.com/docs/translate
4211
4211
  */
4212
4212
  "translate-y": [{
4213
- "translate-y": [It]
4213
+ "translate-y": [Tt]
4214
4214
  }],
4215
4215
  /**
4216
4216
  * Skew X
@@ -4490,7 +4490,7 @@ const G = (e) => {
4490
4490
  * @see https://tailwindcss.com/docs/stroke-width
4491
4491
  */
4492
4492
  "stroke-w": [{
4493
- stroke: [Ft, Jt, Wo]
4493
+ stroke: [Bt, Jt, Wo]
4494
4494
  }],
4495
4495
  /**
4496
4496
  * Stroke
@@ -8406,12 +8406,12 @@ function Au() {
8406
8406
  </svg>
8407
8407
  `;
8408
8408
  }
8409
- var Pu = Object.defineProperty, Iu = Object.getOwnPropertyDescriptor, mt = (e, t, s, o) => {
8409
+ var Pu = Object.defineProperty, Iu = Object.getOwnPropertyDescriptor, bt = (e, t, s, o) => {
8410
8410
  for (var r = o > 1 ? void 0 : o ? Iu(t, s) : t, i = e.length - 1, n; i >= 0; i--)
8411
8411
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
8412
8412
  return o && r && Pu(t, s, r), r;
8413
8413
  };
8414
- let ut = class extends b {
8414
+ let ht = class extends b {
8415
8415
  constructor() {
8416
8416
  super(), this.disabled = !1, this.type = "text", this.placeholder = "", this.defaultValue = "", this.value = "", this.dataKey = "", this.country = "US", this.countryCode = "+1", this.selectedLabel = "US", this.rawTelValue = "", this.showPassword = !1, this.value = this.defaultValue, this.rawTelValue = this.defaultValue;
8417
8417
  }
@@ -8563,46 +8563,46 @@ let ut = class extends b {
8563
8563
  `;
8564
8564
  }
8565
8565
  };
8566
- mt([
8566
+ bt([
8567
8567
  ot("input")
8568
- ], ut.prototype, "inputElement", 2);
8569
- mt([
8568
+ ], ht.prototype, "inputElement", 2);
8569
+ bt([
8570
8570
  a({ type: Boolean })
8571
- ], ut.prototype, "disabled", 2);
8572
- mt([
8571
+ ], ht.prototype, "disabled", 2);
8572
+ bt([
8573
8573
  a({ type: String })
8574
- ], ut.prototype, "type", 2);
8575
- mt([
8574
+ ], ht.prototype, "type", 2);
8575
+ bt([
8576
8576
  a({ type: String })
8577
- ], ut.prototype, "placeholder", 2);
8578
- mt([
8577
+ ], ht.prototype, "placeholder", 2);
8578
+ bt([
8579
8579
  a({ type: String })
8580
- ], ut.prototype, "defaultValue", 2);
8581
- mt([
8580
+ ], ht.prototype, "defaultValue", 2);
8581
+ bt([
8582
8582
  a({ type: String })
8583
- ], ut.prototype, "value", 2);
8584
- mt([
8583
+ ], ht.prototype, "value", 2);
8584
+ bt([
8585
8585
  a({ type: String, attribute: "data-key" })
8586
- ], ut.prototype, "dataKey", 2);
8587
- mt([
8586
+ ], ht.prototype, "dataKey", 2);
8587
+ bt([
8588
8588
  a({ type: String })
8589
- ], ut.prototype, "country", 2);
8590
- mt([
8589
+ ], ht.prototype, "country", 2);
8590
+ bt([
8591
8591
  a({ type: String })
8592
- ], ut.prototype, "countryCode", 2);
8593
- mt([
8592
+ ], ht.prototype, "countryCode", 2);
8593
+ bt([
8594
8594
  a({ type: String })
8595
- ], ut.prototype, "selectedLabel", 2);
8596
- mt([
8595
+ ], ht.prototype, "selectedLabel", 2);
8596
+ bt([
8597
8597
  S()
8598
- ], ut.prototype, "rawTelValue", 2);
8599
- mt([
8598
+ ], ht.prototype, "rawTelValue", 2);
8599
+ bt([
8600
8600
  S()
8601
- ], ut.prototype, "showPassword", 2);
8602
- ut = mt([
8601
+ ], ht.prototype, "showPassword", 2);
8602
+ ht = bt([
8603
8603
  h("rtg-input")
8604
- ], ut);
8605
- const ia = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, na = _l, $t = (e, t) => (s) => {
8604
+ ], ht);
8605
+ const ia = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, na = _l, Et = (e, t) => (s) => {
8606
8606
  var o;
8607
8607
  if ((t == null ? void 0 : t.variants) == null) return na(e, s == null ? void 0 : s.class, s == null ? void 0 : s.className);
8608
8608
  const { variants: r, defaultVariants: i } = t, n = Object.keys(r).map((u) => {
@@ -8631,7 +8631,7 @@ const ia = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, na = _l, $
8631
8631
  ] : u;
8632
8632
  }, []);
8633
8633
  return na(e, n, d, s == null ? void 0 : s.class, s == null ? void 0 : s.className);
8634
- }, Tu = $t(
8634
+ }, Tu = Et(
8635
8635
  "rtg-text-sm rtg-font-medium rtg-leading-none peer-disabled:rtg-cursor-not-allowed peer-disabled:rtg-opacity-70"
8636
8636
  );
8637
8637
  var Lu = Object.defineProperty, Du = Object.getOwnPropertyDescriptor, Tl = (e, t, s, o) => {
@@ -8914,7 +8914,7 @@ jl([
8914
8914
  si = jl([
8915
8915
  h("rtg-aspect-ratio")
8916
8916
  ], si);
8917
- const Ju = $t(
8917
+ const Ju = Et(
8918
8918
  "rtg-inline-flex rtg-items-center rtg-border rtg-px-2.5 rtg-py-0.5 rtg-text-xs rtg-font-semibold rtg-transition-colors focus:rtg-outline-none focus:rtg-ring-2 focus:rtg-ring-ring focus:rtg-ring-offset-2 rtg-border-transparent rtg-rounded-full",
8919
8919
  {
8920
8920
  variants: {
@@ -8980,7 +8980,7 @@ Qi([
8980
8980
  pr = Qi([
8981
8981
  h("rtg-badge")
8982
8982
  ], pr);
8983
- const Nl = $t(
8983
+ const Nl = Et(
8984
8984
  "rtg-p-4 rtg-text-sm rtg-font-medium rtg-rounded-md rtg-border rtg-border-transparent",
8985
8985
  {
8986
8986
  variants: {
@@ -9059,7 +9059,7 @@ gs([
9059
9059
  Ie = gs([
9060
9060
  h("rtg-alert")
9061
9061
  ], Ie);
9062
- const sh = $t(
9062
+ const sh = Et(
9063
9063
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-sm rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",
9064
9064
  {
9065
9065
  variants: {
@@ -9075,7 +9075,7 @@ const sh = $t(
9075
9075
  size: "default"
9076
9076
  }
9077
9077
  }
9078
- ), oh = $t(
9078
+ ), oh = Et(
9079
9079
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-md rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",
9080
9080
  {
9081
9081
  variants: {
@@ -9105,7 +9105,7 @@ var ih = Object.defineProperty, nh = Object.getOwnPropertyDescriptor, We = (e, t
9105
9105
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
9106
9106
  return o && r && ih(t, s, r), r;
9107
9107
  };
9108
- let Ot = class extends b {
9108
+ let Rt = class extends b {
9109
9109
  constructor() {
9110
9110
  super(...arguments), this.click = () => {
9111
9111
  }, this.disabled = !1, this.type = "button", this.variant = "default", this.size = "default";
@@ -9142,7 +9142,7 @@ let Ot = class extends b {
9142
9142
  ${B(e)}
9143
9143
  ?disabled="${this.disabled}"
9144
9144
  class="${g(
9145
- Ot.buttonVariants({
9145
+ Rt.buttonVariants({
9146
9146
  variant: this.variant,
9147
9147
  size: this.size,
9148
9148
  className: s
@@ -9154,34 +9154,34 @@ let Ot = class extends b {
9154
9154
  `;
9155
9155
  }
9156
9156
  };
9157
- Ot.buttonVariants = oh;
9157
+ Rt.buttonVariants = oh;
9158
9158
  We([
9159
9159
  a({ type: Function })
9160
- ], Ot.prototype, "click", 2);
9160
+ ], Rt.prototype, "click", 2);
9161
9161
  We([
9162
9162
  a({ type: Boolean })
9163
- ], Ot.prototype, "disabled", 2);
9163
+ ], Rt.prototype, "disabled", 2);
9164
9164
  We([
9165
9165
  a({ type: String })
9166
- ], Ot.prototype, "type", 2);
9166
+ ], Rt.prototype, "type", 2);
9167
9167
  We([
9168
9168
  a({ type: String })
9169
- ], Ot.prototype, "variant", 2);
9169
+ ], Rt.prototype, "variant", 2);
9170
9170
  We([
9171
9171
  a({ type: String })
9172
- ], Ot.prototype, "size", 2);
9172
+ ], Rt.prototype, "size", 2);
9173
9173
  We([
9174
9174
  ot("button")
9175
- ], Ot.prototype, "buttonElement", 2);
9176
- Ot = We([
9175
+ ], Rt.prototype, "buttonElement", 2);
9176
+ Rt = We([
9177
9177
  h("rtg-button")
9178
- ], Ot);
9178
+ ], Rt);
9179
9179
  var ah = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, xe = (e, t, s, o) => {
9180
9180
  for (var r = o > 1 ? void 0 : o ? lh(t, s) : t, i = e.length - 1, n; i >= 0; i--)
9181
9181
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
9182
9182
  return o && r && ah(t, s, r), r;
9183
9183
  };
9184
- let Rt = class extends E {
9184
+ let At = class extends E {
9185
9185
  constructor() {
9186
9186
  super(...arguments), this.currentDate = /* @__PURE__ */ new Date(), this.selectedStartDate = null, this.selectedEndDate = null, this.variant = "outline", this.size = "default", this.styleCalendar = !1, this.mode = "single";
9187
9187
  }
@@ -9381,7 +9381,7 @@ let Rt = class extends E {
9381
9381
  `;
9382
9382
  }
9383
9383
  };
9384
- Rt.styles = [
9384
+ At.styles = [
9385
9385
  Ge`
9386
9386
  :host {
9387
9387
  display: inline-block;
@@ -9431,32 +9431,32 @@ Rt.styles = [
9431
9431
  }
9432
9432
  `
9433
9433
  ];
9434
- Rt.buttonVariants = sh;
9434
+ At.buttonVariants = sh;
9435
9435
  xe([
9436
9436
  a({ type: Object })
9437
- ], Rt.prototype, "currentDate", 2);
9437
+ ], At.prototype, "currentDate", 2);
9438
9438
  xe([
9439
9439
  a({ type: Object })
9440
- ], Rt.prototype, "selectedStartDate", 2);
9440
+ ], At.prototype, "selectedStartDate", 2);
9441
9441
  xe([
9442
9442
  a({ type: Object })
9443
- ], Rt.prototype, "selectedEndDate", 2);
9443
+ ], At.prototype, "selectedEndDate", 2);
9444
9444
  xe([
9445
9445
  a({ type: String })
9446
- ], Rt.prototype, "variant", 2);
9446
+ ], At.prototype, "variant", 2);
9447
9447
  xe([
9448
9448
  a({ type: String })
9449
- ], Rt.prototype, "size", 2);
9449
+ ], At.prototype, "size", 2);
9450
9450
  xe([
9451
9451
  a({ type: Boolean })
9452
- ], Rt.prototype, "styleCalendar", 2);
9452
+ ], At.prototype, "styleCalendar", 2);
9453
9453
  xe([
9454
9454
  a({ type: String })
9455
- ], Rt.prototype, "mode", 2);
9456
- Rt = xe([
9455
+ ], At.prototype, "mode", 2);
9456
+ At = xe([
9457
9457
  h("rtg-calendar")
9458
- ], Rt);
9459
- const ch = $t(
9458
+ ], At);
9459
+ const ch = Et(
9460
9460
  "rtg-absolute rtg-z-50 rtg-rounded-md rtg-p-4 rtg-text-popover-foreground rtg-outline-none rtg-transition-transform rtg-transition-opacity",
9461
9461
  {
9462
9462
  variants: {
@@ -9482,7 +9482,7 @@ const ch = $t(
9482
9482
  side: "bottom"
9483
9483
  }
9484
9484
  }
9485
- ), dh = $t("absolute", {
9485
+ ), dh = Et("absolute", {
9486
9486
  variants: {
9487
9487
  state: {
9488
9488
  open: "rtg-opacity-100 rtg-scale-100 rtg-duration-500",
@@ -9749,7 +9749,7 @@ var ke = /* @__PURE__ */ ((e) => (e.MULTIPLE = "multiple", e.SINGLE = "single",
9749
9749
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
9750
9750
  return o && r && vh(t, s, r), r;
9751
9751
  };
9752
- let Dt = class extends b {
9752
+ let jt = class extends b {
9753
9753
  constructor() {
9754
9754
  super(...arguments), this.value = "", this.tabindex = 0, this._initialChildren = [], this._onClick = (e) => {
9755
9755
  const t = e.target.closest(
@@ -9810,13 +9810,13 @@ let Dt = class extends b {
9810
9810
  };
9811
9811
  tn([
9812
9812
  a({ type: String })
9813
- ], Dt.prototype, "value", 2);
9813
+ ], jt.prototype, "value", 2);
9814
9814
  tn([
9815
9815
  a({ type: Number })
9816
- ], Dt.prototype, "tabindex", 2);
9817
- Dt = tn([
9816
+ ], jt.prototype, "tabindex", 2);
9817
+ jt = tn([
9818
9818
  h("rtg-accordion-item")
9819
- ], Dt);
9819
+ ], jt);
9820
9820
  var wh = (e, t, s, o) => {
9821
9821
  for (var r = t, i = e.length - 1, n; i >= 0; i--)
9822
9822
  (n = e[i]) && (r = n(r) || r);
@@ -9825,7 +9825,7 @@ var wh = (e, t, s, o) => {
9825
9825
  let ii = class extends b {
9826
9826
  get _item() {
9827
9827
  let e = this.parentElement;
9828
- for (; e && !(e instanceof Dt); )
9828
+ for (; e && !(e instanceof jt); )
9829
9829
  e = e.parentElement;
9830
9830
  return e;
9831
9831
  }
@@ -9895,7 +9895,7 @@ let ni = class extends b {
9895
9895
  }
9896
9896
  get _item() {
9897
9897
  let e = this.parentElement;
9898
- for (; e && !(e instanceof Dt); )
9898
+ for (; e && !(e instanceof jt); )
9899
9899
  e = e.parentElement;
9900
9900
  return e;
9901
9901
  }
@@ -9975,17 +9975,17 @@ let mr = class extends b {
9975
9975
  }
9976
9976
  connectedCallback() {
9977
9977
  super.connectedCallback(), this._initialChildren = Array.from(this.children).filter(
9978
- (e) => e instanceof Dt
9978
+ (e) => e instanceof jt
9979
9979
  );
9980
9980
  }
9981
9981
  willUpdate(e) {
9982
9982
  e.has("type") && (this.type === ke.SINGLE && this.selectedItems.length > 1 && (this.selectedItems = this.selectedItems.slice(0, 1)), this._initialChildren.forEach((t) => {
9983
- t instanceof Dt && t.requestUpdate();
9983
+ t instanceof jt && t.requestUpdate();
9984
9984
  }));
9985
9985
  }
9986
9986
  updated(e) {
9987
9987
  e.has("type") && this._initialChildren.forEach((t) => {
9988
- t instanceof Dt && t.requestUpdate();
9988
+ t instanceof jt && t.requestUpdate();
9989
9989
  });
9990
9990
  }
9991
9991
  setSelectedItems(e) {
@@ -10015,7 +10015,7 @@ let mr = class extends b {
10015
10015
  }
10016
10016
  render() {
10017
10017
  const e = this._initialChildren.length ? this._initialChildren : Array.from(this.children).filter(
10018
- (t) => t instanceof Dt
10018
+ (t) => t instanceof jt
10019
10019
  );
10020
10020
  return c`
10021
10021
  <div
@@ -10433,7 +10433,7 @@ let pi = class extends b {
10433
10433
  }
10434
10434
  get _comboBox() {
10435
10435
  let e = this.parentElement;
10436
- for (; e && !(e instanceof ht); )
10436
+ for (; e && !(e instanceof pt); )
10437
10437
  e = e.parentElement;
10438
10438
  return e;
10439
10439
  }
@@ -10487,7 +10487,7 @@ let gi = class extends E {
10487
10487
  }
10488
10488
  get _comboBox() {
10489
10489
  let e = this.parentElement;
10490
- for (; e && !(e instanceof ht); )
10490
+ for (; e && !(e instanceof pt); )
10491
10491
  e = e.parentElement;
10492
10492
  return e;
10493
10493
  }
@@ -10599,7 +10599,7 @@ let Le = class extends b {
10599
10599
  }
10600
10600
  get _comboBox() {
10601
10601
  let e = this.parentElement;
10602
- for (; e && !(e instanceof ht); )
10602
+ for (; e && !(e instanceof pt); )
10603
10603
  e = e.parentElement;
10604
10604
  return e;
10605
10605
  }
@@ -10721,12 +10721,12 @@ bs([
10721
10721
  Le = bs([
10722
10722
  h("rtg-combo-box-group")
10723
10723
  ], Le);
10724
- var Qh = Object.defineProperty, tp = Object.getOwnPropertyDescriptor, At = (e, t, s, o) => {
10724
+ var Qh = Object.defineProperty, tp = Object.getOwnPropertyDescriptor, Pt = (e, t, s, o) => {
10725
10725
  for (var r = o > 1 ? void 0 : o ? tp(t, s) : t, i = e.length - 1, n; i >= 0; i--)
10726
10726
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
10727
10727
  return o && r && Qh(t, s, r), r;
10728
10728
  };
10729
- let xt = class extends b {
10729
+ let _t = class extends b {
10730
10730
  constructor() {
10731
10731
  super(...arguments), this.value = "", this.key = "", this.tabindex = 0, this.isSelected = !1, this.isFocus = !1, this.class = "", this.selectItemIndex = -1, this.onSelect = (e, t) => {
10732
10732
  }, this.onMouseOver = (e, t) => {
@@ -10779,39 +10779,39 @@ let xt = class extends b {
10779
10779
  `;
10780
10780
  }
10781
10781
  };
10782
- At([
10782
+ Pt([
10783
10783
  a({ type: String })
10784
- ], xt.prototype, "value", 2);
10785
- At([
10784
+ ], _t.prototype, "value", 2);
10785
+ Pt([
10786
10786
  a({ type: String })
10787
- ], xt.prototype, "key", 2);
10788
- At([
10787
+ ], _t.prototype, "key", 2);
10788
+ Pt([
10789
10789
  a({ type: Number })
10790
- ], xt.prototype, "tabindex", 2);
10791
- At([
10790
+ ], _t.prototype, "tabindex", 2);
10791
+ Pt([
10792
10792
  a({ type: Boolean })
10793
- ], xt.prototype, "isSelected", 2);
10794
- At([
10793
+ ], _t.prototype, "isSelected", 2);
10794
+ Pt([
10795
10795
  a({ type: Boolean })
10796
- ], xt.prototype, "isFocus", 2);
10797
- At([
10796
+ ], _t.prototype, "isFocus", 2);
10797
+ Pt([
10798
10798
  a({ type: String })
10799
- ], xt.prototype, "class", 2);
10800
- At([
10799
+ ], _t.prototype, "class", 2);
10800
+ Pt([
10801
10801
  a({ type: Number })
10802
- ], xt.prototype, "selectItemIndex", 2);
10803
- At([
10802
+ ], _t.prototype, "selectItemIndex", 2);
10803
+ Pt([
10804
10804
  a({ type: Function })
10805
- ], xt.prototype, "onSelect", 2);
10806
- At([
10805
+ ], _t.prototype, "onSelect", 2);
10806
+ Pt([
10807
10807
  a({ type: Function })
10808
- ], xt.prototype, "onMouseOver", 2);
10809
- At([
10808
+ ], _t.prototype, "onMouseOver", 2);
10809
+ Pt([
10810
10810
  ot("#rtg-combo-box-item")
10811
- ], xt.prototype, "itemDivContainer", 2);
10812
- xt = At([
10811
+ ], _t.prototype, "itemDivContainer", 2);
10812
+ _t = Pt([
10813
10813
  h("rtg-combo-box-item")
10814
- ], xt);
10814
+ ], _t);
10815
10815
  var ep = Object.defineProperty, rp = Object.getOwnPropertyDescriptor, en = (e, t, s, o) => {
10816
10816
  for (var r = o > 1 ? void 0 : o ? rp(t, s) : t, i = e.length - 1, n; i >= 0; i--)
10817
10817
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -10898,12 +10898,12 @@ let la = class extends b {
10898
10898
  la = sp([
10899
10899
  h("rtg-combo-box-empty")
10900
10900
  ], la);
10901
- var op = Object.defineProperty, ip = Object.getOwnPropertyDescriptor, zt = (e, t, s, o) => {
10901
+ var op = Object.defineProperty, ip = Object.getOwnPropertyDescriptor, Ut = (e, t, s, o) => {
10902
10902
  for (var r = o > 1 ? void 0 : o ? ip(t, s) : t, i = e.length - 1, n; i >= 0; i--)
10903
10903
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
10904
10904
  return o && r && op(t, s, r), r;
10905
10905
  };
10906
- let ht = class extends b {
10906
+ let pt = class extends b {
10907
10907
  constructor() {
10908
10908
  super(), this.isOpen = !1, this.selectedValue = "", this.searchTerm = "", this.focusedIndex = -1, this.filteredItems = [], this.uuid = Xi(), this.label = "Select an item", this.items = [], this.handleClickOutside = (e) => {
10909
10909
  var t;
@@ -10967,36 +10967,36 @@ let ht = class extends b {
10967
10967
  `;
10968
10968
  }
10969
10969
  };
10970
- zt([
10970
+ Ut([
10971
10971
  a({ type: Boolean })
10972
- ], ht.prototype, "isOpen", 2);
10973
- zt([
10972
+ ], pt.prototype, "isOpen", 2);
10973
+ Ut([
10974
10974
  S()
10975
- ], ht.prototype, "selectedValue", 2);
10976
- zt([
10975
+ ], pt.prototype, "selectedValue", 2);
10976
+ Ut([
10977
10977
  S()
10978
- ], ht.prototype, "searchTerm", 2);
10979
- zt([
10978
+ ], pt.prototype, "searchTerm", 2);
10979
+ Ut([
10980
10980
  S()
10981
- ], ht.prototype, "focusedIndex", 2);
10982
- zt([
10981
+ ], pt.prototype, "focusedIndex", 2);
10982
+ Ut([
10983
10983
  S()
10984
- ], ht.prototype, "filteredItems", 2);
10985
- zt([
10984
+ ], pt.prototype, "filteredItems", 2);
10985
+ Ut([
10986
10986
  S()
10987
- ], ht.prototype, "uuid", 2);
10988
- zt([
10987
+ ], pt.prototype, "uuid", 2);
10988
+ Ut([
10989
10989
  a({ type: String })
10990
- ], ht.prototype, "label", 2);
10991
- zt([
10990
+ ], pt.prototype, "label", 2);
10991
+ Ut([
10992
10992
  a({ type: Array })
10993
- ], ht.prototype, "items", 2);
10994
- zt([
10993
+ ], pt.prototype, "items", 2);
10994
+ Ut([
10995
10995
  ot('[part="combo-box"]')
10996
- ], ht.prototype, "parentDiveElement", 2);
10997
- ht = zt([
10996
+ ], pt.prototype, "parentDiveElement", 2);
10997
+ pt = Ut([
10998
10998
  h("rtg-combo-box")
10999
- ], ht);
10999
+ ], pt);
11000
11000
  var Es = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(Es || {}), np = Object.defineProperty, ap = Object.getOwnPropertyDescriptor, Zl = (e, t, s, o) => {
11001
11001
  for (var r = o > 1 ? void 0 : o ? ap(t, s) : t, i = e.length - 1, n; i >= 0; i--)
11002
11002
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -13189,7 +13189,7 @@ let _a = class extends b {
13189
13189
  _a = tm([
13190
13190
  h("rtg-radio-group")
13191
13191
  ], _a);
13192
- const em = $t(
13192
+ const em = Et(
13193
13193
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-sm rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",
13194
13194
  {
13195
13195
  variants: {
@@ -13242,7 +13242,7 @@ var lm = Object.defineProperty, cm = Object.getOwnPropertyDescriptor, Rr = (e, t
13242
13242
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
13243
13243
  return o && r && lm(t, s, r), r;
13244
13244
  };
13245
- let jt = class extends b {
13245
+ let Nt = class extends b {
13246
13246
  constructor() {
13247
13247
  super(...arguments), this.state = "close", this.isActive = !1, this.size = "icon", this.variant = "ghost", this.href = "javascript:void(0)";
13248
13248
  }
@@ -13267,7 +13267,7 @@ let jt = class extends b {
13267
13267
  href="${this.href}"
13268
13268
  aria-current="${this.isActive ? "page" : "false"}"
13269
13269
  class="${g(
13270
- jt.paginationVariants({
13270
+ Nt.paginationVariants({
13271
13271
  variant: this.isActive ? "outline" : "ghost",
13272
13272
  size: this.size,
13273
13273
  className: this.className
@@ -13279,25 +13279,25 @@ let jt = class extends b {
13279
13279
  `;
13280
13280
  }
13281
13281
  };
13282
- jt.paginationVariants = em;
13282
+ Nt.paginationVariants = em;
13283
13283
  Rr([
13284
13284
  a({ attribute: "data-state", type: String })
13285
- ], jt.prototype, "state", 2);
13285
+ ], Nt.prototype, "state", 2);
13286
13286
  Rr([
13287
13287
  a({ type: Boolean })
13288
- ], jt.prototype, "isActive", 2);
13288
+ ], Nt.prototype, "isActive", 2);
13289
13289
  Rr([
13290
13290
  a({ type: String })
13291
- ], jt.prototype, "size", 2);
13291
+ ], Nt.prototype, "size", 2);
13292
13292
  Rr([
13293
13293
  a({ type: String })
13294
- ], jt.prototype, "variant", 2);
13294
+ ], Nt.prototype, "variant", 2);
13295
13295
  Rr([
13296
13296
  a({ type: String })
13297
- ], jt.prototype, "href", 2);
13298
- jt = Rr([
13297
+ ], Nt.prototype, "href", 2);
13298
+ Nt = Rr([
13299
13299
  h("rtg-pagination-link")
13300
- ], jt);
13300
+ ], Nt);
13301
13301
  var dm = Object.defineProperty, um = Object.getOwnPropertyDescriptor, un = (e, t, s, o) => {
13302
13302
  for (var r = o > 1 ? void 0 : o ? um(t, s) : t, i = e.length - 1, n; i >= 0; i--)
13303
13303
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -13315,7 +13315,7 @@ let Us = class extends b {
13315
13315
  const t = (e = this._containerElement) == null ? void 0 : e.children;
13316
13316
  if (t) {
13317
13317
  for (let s = 0; s < t.length; s++)
13318
- if (t[s] instanceof jt)
13318
+ if (t[s] instanceof Nt)
13319
13319
  return t[s];
13320
13320
  }
13321
13321
  return null;
@@ -14385,7 +14385,7 @@ let vr = class extends b {
14385
14385
  vr = ob([
14386
14386
  h("rtg-select")
14387
14387
  ], vr);
14388
- const ib = $t(
14388
+ const ib = Et(
14389
14389
  "group rtg-pointer-events-auto rtg-relative rtg-flex rtg-w-full rtg-items-center rtg-justify-between rtg-space-x-2 rtg-overflow-hidden rtg-rounded-md rtg-border rtg-p-4 rtg-pr-6 rtg-shadow-lg rtg-transition-all data-[swipe=cancel]:rtg-translate-x-0 data-[swipe=end]:rtg-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:rtg-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:rtg-transition-none data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[swipe=end]:rtg-animate-out data-[state=closed]:rtg-fade-out-80 data-[state=closed]:rtg-slide-out-to-right-full data-[state=open]:rtg-slide-in-from-top-full data-[state=open]:sm:rtg-slide-in-from-bottom-full",
14390
14390
  {
14391
14391
  variants: {
@@ -14398,7 +14398,7 @@ const ib = $t(
14398
14398
  variant: "default"
14399
14399
  }
14400
14400
  }
14401
- ), nb = $t(
14401
+ ), nb = Et(
14402
14402
  "rtg-inline-flex rtg-h-8 rtg-shrink-0 rtg-items-center rtg-justify-center rtg-rounded-md rtg-px-3 rtg-text-sm rtg-font-medium rtg-transition-colors focus:rtg-outline-none focus:rtg-ring-1 focus:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",
14403
14403
  {
14404
14404
  variants: {
@@ -15007,7 +15007,7 @@ ue = mo([
15007
15007
  h("rtg-tab")
15008
15008
  ], ue);
15009
15009
  var mc = /* @__PURE__ */ ((e) => (e.SMALL = "sm", e.MEDIUM = "md", e.LARGE = "lg", e))(mc || {}), bc = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.OUTLINE = "outline", e))(bc || {});
15010
- const Pb = $t(
15010
+ const Pb = Et(
15011
15011
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-rounded-md rtg-text-sm rtg-font-medium rtg-ring-offset-background rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-2 focus-visible:rtg-ring-ring focus-visible:rtg-ring-offset-2 disabled:rtg-pointer-events-none disabled:rtg-opacity-50 data-[state=on]:rtg-bg-accent data-[state=on]:rtg-text-accent-foreground rtg-bg-transparent rtg-h-10 rtg-px-3",
15012
15012
  {
15013
15013
  variants: {
@@ -15104,7 +15104,7 @@ Ht = Ar([
15104
15104
  h("rtg-toggle")
15105
15105
  ], Ht);
15106
15106
  var Hs = /* @__PURE__ */ ((e) => (e.MULTIPLE = "multiple", e.SINGLE = "single", e))(Hs || {}), vn = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.OUTLINE = "outline", e))(vn || {}), yn = /* @__PURE__ */ ((e) => (e.SMALL = "sm", e.MEDIUM = "md", e.LARGE = "lg", e))(yn || {});
15107
- const Lb = $t(
15107
+ const Lb = Et(
15108
15108
  "rtg-inline-flex rtg-items-center rtg-justify-center rtg-rounded-md rtg-text-sm rtg-font-medium rtg-ring-offset-background rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-2 focus-visible:rtg-ring-ring focus-visible:rtg-ring-offset-2 disabled:rtg-pointer-events-none disabled:rtg-opacity-50 data-[state=on]:rtg-bg-accent data-[state=on]:rtg-text-accent-foreground rtg-bg-transparent rtg-h-10 rtg-px-3",
15109
15109
  {
15110
15110
  variants: {
@@ -15129,7 +15129,7 @@ var jb = Object.defineProperty, Nb = Object.getOwnPropertyDescriptor, Xe = (e, t
15129
15129
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
15130
15130
  return o && r && jb(t, s, r), r;
15131
15131
  };
15132
- let Nt = class extends b {
15132
+ let zt = class extends b {
15133
15133
  constructor() {
15134
15134
  super(...arguments), this.checked = !1, this.id = Xi(), this.variant = vn.DEFAULT, this.size = yn.SMALL, this.disabled = !1, this.type = Hs.SINGLE;
15135
15135
  }
@@ -15179,7 +15179,7 @@ let Nt = class extends b {
15179
15179
  id=${this.id}
15180
15180
  type="button"
15181
15181
  class="${g(
15182
- Nt.toggleGroupVariants({
15182
+ zt.toggleGroupVariants({
15183
15183
  variant: this.variant,
15184
15184
  size: this.size,
15185
15185
  className: this.className
@@ -15196,28 +15196,28 @@ let Nt = class extends b {
15196
15196
  `;
15197
15197
  }
15198
15198
  };
15199
- Nt.toggleGroupVariants = Lb;
15199
+ zt.toggleGroupVariants = Lb;
15200
15200
  Xe([
15201
15201
  a({ attribute: !0, type: Boolean, reflect: !0 })
15202
- ], Nt.prototype, "checked", 2);
15202
+ ], zt.prototype, "checked", 2);
15203
15203
  Xe([
15204
15204
  a({ attribute: !0, type: String, reflect: !0 })
15205
- ], Nt.prototype, "id", 2);
15205
+ ], zt.prototype, "id", 2);
15206
15206
  Xe([
15207
15207
  a({ attribute: !0, type: String })
15208
- ], Nt.prototype, "variant", 2);
15208
+ ], zt.prototype, "variant", 2);
15209
15209
  Xe([
15210
15210
  a({ attribute: !0, type: String })
15211
- ], Nt.prototype, "size", 2);
15211
+ ], zt.prototype, "size", 2);
15212
15212
  Xe([
15213
15213
  a({ type: Boolean })
15214
- ], Nt.prototype, "disabled", 2);
15214
+ ], zt.prototype, "disabled", 2);
15215
15215
  Xe([
15216
15216
  a({ type: String })
15217
- ], Nt.prototype, "type", 2);
15218
- Nt = Xe([
15217
+ ], zt.prototype, "type", 2);
15218
+ zt = Xe([
15219
15219
  h("rtg-toggle-group-item")
15220
- ], Nt);
15220
+ ], zt);
15221
15221
  var zb = Object.defineProperty, Ub = Object.getOwnPropertyDescriptor, Je = (e, t, s, o) => {
15222
15222
  for (var r = o > 1 ? void 0 : o ? Ub(t, s) : t, i = e.length - 1, n; i >= 0; i--)
15223
15223
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -16560,7 +16560,7 @@ var Nf = Object.defineProperty, zf = Object.getOwnPropertyDescriptor, Qe = (e, t
16560
16560
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
16561
16561
  return o && r && Nf(t, s, r), r;
16562
16562
  };
16563
- let _t = class extends b {
16563
+ let Ct = class extends b {
16564
16564
  constructor() {
16565
16565
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
16566
16566
  }
@@ -16581,7 +16581,7 @@ let _t = class extends b {
16581
16581
  if (this._id !== "")
16582
16582
  return this._id;
16583
16583
  const s = (t = (e = this.parentElement) == null ? void 0 : e.shadowRoot) == null ? void 0 : t.querySelector("div[rtgcmd-group]");
16584
- return s ? this._id = `${s.getAttribute("id")}li${_t._counter++}` : this._id = `rtgcmdrxgxli${_t._counter++}`, this._id;
16584
+ return s ? this._id = `${s.getAttribute("id")}li${Ct._counter++}` : this._id = `rtgcmdrxgxli${Ct._counter++}`, this._id;
16585
16585
  }
16586
16586
  get value() {
16587
16587
  var e;
@@ -16625,8 +16625,8 @@ let _t = class extends b {
16625
16625
  `;
16626
16626
  }
16627
16627
  };
16628
- _t._counter = 0;
16629
- _t.styles = [
16628
+ Ct._counter = 0;
16629
+ Ct.styles = [
16630
16630
  Ge`
16631
16631
  .icon-space {
16632
16632
  width: 16px; /* Fixed width to reserve space for the check icon */
@@ -16637,31 +16637,31 @@ _t.styles = [
16637
16637
  ];
16638
16638
  Qe([
16639
16639
  a({ type: String })
16640
- ], _t.prototype, "_id", 2);
16640
+ ], Ct.prototype, "_id", 2);
16641
16641
  Qe([
16642
16642
  a({ attribute: "aria-hidden", type: String })
16643
- ], _t.prototype, "_hidden", 2);
16643
+ ], Ct.prototype, "_hidden", 2);
16644
16644
  Qe([
16645
16645
  a({ attribute: "data-value", type: String })
16646
- ], _t.prototype, "value", 1);
16646
+ ], Ct.prototype, "value", 1);
16647
16647
  Qe([
16648
16648
  a({ type: Boolean })
16649
- ], _t.prototype, "selected", 2);
16649
+ ], Ct.prototype, "selected", 2);
16650
16650
  Qe([
16651
16651
  a({ type: Boolean })
16652
- ], _t.prototype, "checked", 2);
16652
+ ], Ct.prototype, "checked", 2);
16653
16653
  Qe([
16654
16654
  a({ type: Boolean })
16655
- ], _t.prototype, "disabled", 2);
16656
- _t = Qe([
16655
+ ], Ct.prototype, "disabled", 2);
16656
+ Ct = Qe([
16657
16657
  h("rtg-menubar-radio-item")
16658
- ], _t);
16658
+ ], Ct);
16659
16659
  var Uf = Object.defineProperty, Mf = Object.getOwnPropertyDescriptor, tr = (e, t, s, o) => {
16660
16660
  for (var r = o > 1 ? void 0 : o ? Mf(t, s) : t, i = e.length - 1, n; i >= 0; i--)
16661
16661
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
16662
16662
  return o && r && Uf(t, s, r), r;
16663
16663
  };
16664
- let Ct = class extends b {
16664
+ let $t = class extends b {
16665
16665
  constructor() {
16666
16666
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
16667
16667
  }
@@ -16684,7 +16684,7 @@ let Ct = class extends b {
16684
16684
  const s = (t = (e = this.parentElement) == null ? void 0 : e.shadowRoot) == null ? void 0 : t.querySelector("div[rtgcmd-group]");
16685
16685
  return s ? this._id = `${s.getAttribute(
16686
16686
  "id"
16687
- )}li${Ct._counter++}` : this._id = `rtgcmdrxgxli${Ct._counter++}`, this._id;
16687
+ )}li${$t._counter++}` : this._id = `rtgcmdrxgxli${$t._counter++}`, this._id;
16688
16688
  }
16689
16689
  get value() {
16690
16690
  var e;
@@ -16737,8 +16737,8 @@ let Ct = class extends b {
16737
16737
  `;
16738
16738
  }
16739
16739
  };
16740
- Ct._counter = 0;
16741
- Ct.styles = [
16740
+ $t._counter = 0;
16741
+ $t.styles = [
16742
16742
  Ge`
16743
16743
  .icon-space {
16744
16744
  width: 16px; /* Fixed width to reserve space for the check icon */
@@ -16749,25 +16749,25 @@ Ct.styles = [
16749
16749
  ];
16750
16750
  tr([
16751
16751
  a({ type: String })
16752
- ], Ct.prototype, "_id", 2);
16752
+ ], $t.prototype, "_id", 2);
16753
16753
  tr([
16754
16754
  a({ attribute: "aria-hidden", type: String })
16755
- ], Ct.prototype, "_hidden", 2);
16755
+ ], $t.prototype, "_hidden", 2);
16756
16756
  tr([
16757
16757
  a({ attribute: "data-value", type: String })
16758
- ], Ct.prototype, "value", 1);
16758
+ ], $t.prototype, "value", 1);
16759
16759
  tr([
16760
16760
  a({ type: Boolean })
16761
- ], Ct.prototype, "selected", 2);
16761
+ ], $t.prototype, "selected", 2);
16762
16762
  tr([
16763
16763
  a({ type: Boolean })
16764
- ], Ct.prototype, "checked", 2);
16764
+ ], $t.prototype, "checked", 2);
16765
16765
  tr([
16766
16766
  a({ type: Boolean })
16767
- ], Ct.prototype, "disabled", 2);
16768
- Ct = tr([
16767
+ ], $t.prototype, "disabled", 2);
16768
+ $t = tr([
16769
16769
  h("rtg-menubar-checkbox-item")
16770
- ], Ct);
16770
+ ], $t);
16771
16771
  var Ff = Object.defineProperty, Bf = Object.getOwnPropertyDescriptor, wn = (e, t, s, o) => {
16772
16772
  for (var r = o > 1 ? void 0 : o ? Bf(t, s) : t, i = e.length - 1, n; i >= 0; i--)
16773
16773
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -17133,7 +17133,7 @@ let Ti = class extends b {
17133
17133
  }
17134
17134
  };
17135
17135
  $c([
17136
- gt({ context: Cc })
17136
+ mt({ context: Cc })
17137
17137
  ], Ti.prototype, "itemContext", 2);
17138
17138
  Ti = $c([
17139
17139
  h("rtg-form-description")
@@ -17186,7 +17186,7 @@ let Kt = class extends b {
17186
17186
  }
17187
17187
  };
17188
17188
  Lr([
17189
- gt({ context: Cs })
17189
+ mt({ context: Cs })
17190
17190
  ], Kt.prototype, "form", 2);
17191
17191
  Lr([
17192
17192
  a({ type: String })
@@ -17284,7 +17284,7 @@ let Gs = class extends b {
17284
17284
  }
17285
17285
  };
17286
17286
  xn([
17287
- gt({ context: Cs })
17287
+ mt({ context: Cs })
17288
17288
  ], Gs.prototype, "form", 2);
17289
17289
  xn([
17290
17290
  S()
@@ -17328,7 +17328,7 @@ let Ws = class extends E {
17328
17328
  }
17329
17329
  };
17330
17330
  _n([
17331
- gt({ context: Cs })
17331
+ mt({ context: Cs })
17332
17332
  ], Ws.prototype, "form", 2);
17333
17333
  _n([
17334
17334
  S()
@@ -17811,7 +17811,7 @@ function Sv() {
17811
17811
  var V = P.prototype = new k();
17812
17812
  V.constructor = P, w(V, _.prototype), V.isPureReactComponent = !0;
17813
17813
  var q = Array.isArray, T = { H: null, A: null, T: null, S: null, V: null }, tt = Object.prototype.hasOwnProperty;
17814
- function bt(p, v, L, D, F, K) {
17814
+ function ft(p, v, L, D, F, K) {
17815
17815
  return L = K.ref, {
17816
17816
  $$typeof: e,
17817
17817
  type: p,
@@ -17820,8 +17820,8 @@ function Sv() {
17820
17820
  props: K
17821
17821
  };
17822
17822
  }
17823
- function It(p, v) {
17824
- return bt(
17823
+ function Tt(p, v) {
17824
+ return ft(
17825
17825
  p.type,
17826
17826
  v,
17827
17827
  void 0,
@@ -17830,22 +17830,22 @@ function Sv() {
17830
17830
  p.props
17831
17831
  );
17832
17832
  }
17833
- function Et(p) {
17833
+ function St(p) {
17834
17834
  return typeof p == "object" && p !== null && p.$$typeof === e;
17835
17835
  }
17836
- function Mt(p) {
17836
+ function Ft(p) {
17837
17837
  var v = { "=": "=0", ":": "=2" };
17838
17838
  return "$" + p.replace(/[=:]/g, function(L) {
17839
17839
  return v[L];
17840
17840
  });
17841
17841
  }
17842
- var Tt = /\/+/g;
17842
+ var Lt = /\/+/g;
17843
17843
  function R(p, v) {
17844
- return typeof p == "object" && p !== null && p.key != null ? Mt("" + p.key) : v.toString(36);
17844
+ return typeof p == "object" && p !== null && p.key != null ? Ft("" + p.key) : v.toString(36);
17845
17845
  }
17846
17846
  function Zt() {
17847
17847
  }
17848
- function St(p) {
17848
+ function kt(p) {
17849
17849
  switch (p.status) {
17850
17850
  case "fulfilled":
17851
17851
  return p.value;
@@ -17868,7 +17868,7 @@ function Sv() {
17868
17868
  }
17869
17869
  throw p;
17870
17870
  }
17871
- function ft(p, v, L, D, F) {
17871
+ function vt(p, v, L, D, F) {
17872
17872
  var K = typeof p;
17873
17873
  (K === "undefined" || K === "boolean") && (p = null);
17874
17874
  var U = !1;
@@ -17887,7 +17887,7 @@ function Sv() {
17887
17887
  U = !0;
17888
17888
  break;
17889
17889
  case m:
17890
- return U = p._init, ft(
17890
+ return U = p._init, vt(
17891
17891
  U(p._payload),
17892
17892
  v,
17893
17893
  L,
@@ -17897,12 +17897,12 @@ function Sv() {
17897
17897
  }
17898
17898
  }
17899
17899
  if (U)
17900
- return F = F(p), U = D === "" ? "." + R(p, 0) : D, q(F) ? (L = "", U != null && (L = U.replace(Tt, "$&/") + "/"), ft(F, v, L, "", function(td) {
17900
+ return F = F(p), U = D === "" ? "." + R(p, 0) : D, q(F) ? (L = "", U != null && (L = U.replace(Lt, "$&/") + "/"), vt(F, v, L, "", function(td) {
17901
17901
  return td;
17902
- })) : F != null && (Et(F) && (F = It(
17902
+ })) : F != null && (St(F) && (F = Tt(
17903
17903
  F,
17904
17904
  L + (F.key == null || p && p.key === F.key ? "" : ("" + F.key).replace(
17905
- Tt,
17905
+ Lt,
17906
17906
  "$&/"
17907
17907
  ) + "/") + U
17908
17908
  )), v.push(F)), 1;
@@ -17910,7 +17910,7 @@ function Sv() {
17910
17910
  var Xt = D === "" ? "." : D + ":";
17911
17911
  if (q(p))
17912
17912
  for (var Y = 0; Y < p.length; Y++)
17913
- D = p[Y], K = Xt + R(D, Y), U += ft(
17913
+ D = p[Y], K = Xt + R(D, Y), U += vt(
17914
17914
  D,
17915
17915
  v,
17916
17916
  L,
@@ -17919,7 +17919,7 @@ function Sv() {
17919
17919
  );
17920
17920
  else if (Y = y(p), typeof Y == "function")
17921
17921
  for (p = Y.call(p), Y = 0; !(D = p.next()).done; )
17922
- D = D.value, K = Xt + R(D, Y++), U += ft(
17922
+ D = D.value, K = Xt + R(D, Y++), U += vt(
17923
17923
  D,
17924
17924
  v,
17925
17925
  L,
@@ -17928,8 +17928,8 @@ function Sv() {
17928
17928
  );
17929
17929
  else if (K === "object") {
17930
17930
  if (typeof p.then == "function")
17931
- return ft(
17932
- St(p),
17931
+ return vt(
17932
+ kt(p),
17933
17933
  v,
17934
17934
  L,
17935
17935
  D,
@@ -17941,10 +17941,10 @@ function Sv() {
17941
17941
  }
17942
17942
  return U;
17943
17943
  }
17944
- function lt(p, v, L) {
17944
+ function ct(p, v, L) {
17945
17945
  if (p == null) return p;
17946
17946
  var D = [], F = 0;
17947
- return ft(p, D, "", "", function(K) {
17947
+ return vt(p, D, "", "", function(K) {
17948
17948
  return v.call(L, K, F++);
17949
17949
  }), D;
17950
17950
  }
@@ -17963,7 +17963,7 @@ function Sv() {
17963
17963
  if (p._status === 1) return p._result.default;
17964
17964
  throw p._result;
17965
17965
  }
17966
- var Lt = typeof reportError == "function" ? reportError : function(p) {
17966
+ var Dt = typeof reportError == "function" ? reportError : function(p) {
17967
17967
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
17968
17968
  var v = new window.ErrorEvent("error", {
17969
17969
  bubbles: !0,
@@ -17978,12 +17978,12 @@ function Sv() {
17978
17978
  }
17979
17979
  console.error(p);
17980
17980
  };
17981
- function pt() {
17981
+ function gt() {
17982
17982
  }
17983
17983
  return N.Children = {
17984
- map: lt,
17984
+ map: ct,
17985
17985
  forEach: function(p, v, L) {
17986
- lt(
17986
+ ct(
17987
17987
  p,
17988
17988
  function() {
17989
17989
  v.apply(this, arguments);
@@ -17993,17 +17993,17 @@ function Sv() {
17993
17993
  },
17994
17994
  count: function(p) {
17995
17995
  var v = 0;
17996
- return lt(p, function() {
17996
+ return ct(p, function() {
17997
17997
  v++;
17998
17998
  }), v;
17999
17999
  },
18000
18000
  toArray: function(p) {
18001
- return lt(p, function(v) {
18001
+ return ct(p, function(v) {
18002
18002
  return v;
18003
18003
  }) || [];
18004
18004
  },
18005
18005
  only: function(p) {
18006
- if (!Et(p))
18006
+ if (!St(p))
18007
18007
  throw Error(
18008
18008
  "React.Children.only expected to receive a single React element child."
18009
18009
  );
@@ -18034,7 +18034,7 @@ function Sv() {
18034
18034
  Xt[Y] = arguments[Y + 2];
18035
18035
  D.children = Xt;
18036
18036
  }
18037
- return bt(p.type, F, void 0, void 0, K, D);
18037
+ return ft(p.type, F, void 0, void 0, K, D);
18038
18038
  }, N.createContext = function(p) {
18039
18039
  return p = {
18040
18040
  $$typeof: n,
@@ -18062,12 +18062,12 @@ function Sv() {
18062
18062
  if (p && p.defaultProps)
18063
18063
  for (D in U = p.defaultProps, U)
18064
18064
  F[D] === void 0 && (F[D] = U[D]);
18065
- return bt(p, K, void 0, void 0, null, F);
18065
+ return ft(p, K, void 0, void 0, null, F);
18066
18066
  }, N.createRef = function() {
18067
18067
  return { current: null };
18068
18068
  }, N.forwardRef = function(p) {
18069
18069
  return { $$typeof: l, render: p };
18070
- }, N.isValidElement = Et, N.lazy = function(p) {
18070
+ }, N.isValidElement = St, N.lazy = function(p) {
18071
18071
  return {
18072
18072
  $$typeof: m,
18073
18073
  _payload: { _status: -1, _result: p },
@@ -18084,9 +18084,9 @@ function Sv() {
18084
18084
  T.T = L;
18085
18085
  try {
18086
18086
  var D = p(), F = T.S;
18087
- F !== null && F(L, D), typeof D == "object" && D !== null && typeof D.then == "function" && D.then(pt, Lt);
18087
+ F !== null && F(L, D), typeof D == "object" && D !== null && typeof D.then == "function" && D.then(gt, Dt);
18088
18088
  } catch (K) {
18089
- Lt(K);
18089
+ Dt(K);
18090
18090
  } finally {
18091
18091
  T.T = v;
18092
18092
  }
@@ -18146,7 +18146,7 @@ var Ov = kv();
18146
18146
  const Oc = /* @__PURE__ */ Ev(Ov);
18147
18147
  kc({
18148
18148
  tagName: "rtg-button",
18149
- elementClass: Ot,
18149
+ elementClass: Rt,
18150
18150
  react: Oc
18151
18151
  });
18152
18152
  kc({
@@ -18265,7 +18265,7 @@ function Uc(e) {
18265
18265
  return typeof e == "string" ? Gv.test(e) : !0;
18266
18266
  }
18267
18267
  const Mc = "sb:env", yo = "sb:auth", wo = "customizations", En = Symbol("renderSpecContext");
18268
- var Fc = /* @__PURE__ */ ((e) => (e.PROFILE = "Profile", e.SECURITY = "Security", e.APPEARANCE = "Appearance", e.NOTIFICATION = "Notification", e))(Fc || {}), ji = /* @__PURE__ */ ((e) => (e.PROFILE = "Profile", e.SECURITY = "Security", e.APPEARANCE = "Appearance", e.NOTIFICATION = "Notification", e))(ji || {}), ie = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.PAGE = "PAGE", e))(ie || {}), yt = /* @__PURE__ */ ((e) => (e.BURGER = "BURGER", e.REGULAR = "REGULAR", e))(yt || {}), kt = /* @__PURE__ */ ((e) => (e.VERTICAL = "VERTICAL", e.HORIZONTAL = "HORIZONTAL", e))(kt || {}), dt = /* @__PURE__ */ ((e) => (e.COLUMN = "COLUMN", e.ROW = "ROW", e))(dt || {});
18268
+ var Fc = /* @__PURE__ */ ((e) => (e.PROFILE = "Profile", e.SECURITY = "Security", e.APPEARANCE = "Appearance", e.NOTIFICATION = "Notification", e))(Fc || {}), ji = /* @__PURE__ */ ((e) => (e.PROFILE = "Profile", e.SECURITY = "Security", e.APPEARANCE = "Appearance", e.NOTIFICATION = "Notification", e))(ji || {}), ie = /* @__PURE__ */ ((e) => (e.MODAL = "MODAL", e.PAGE = "PAGE", e))(ie || {}), wt = /* @__PURE__ */ ((e) => (e.BURGER = "BURGER", e.REGULAR = "REGULAR", e))(wt || {}), Ot = /* @__PURE__ */ ((e) => (e.VERTICAL = "VERTICAL", e.HORIZONTAL = "HORIZONTAL", e))(Ot || {}), ut = /* @__PURE__ */ ((e) => (e.COLUMN = "COLUMN", e.ROW = "ROW", e))(ut || {});
18269
18269
  function Bc(e) {
18270
18270
  var t, s, o = "";
18271
18271
  if (typeof e == "string" || typeof e == "number") o += e;
@@ -18499,7 +18499,7 @@ function ny(e, ...t) {
18499
18499
  const W = (e) => {
18500
18500
  const t = (s) => s[e] || [];
18501
18501
  return t.isThemeGetter = !0, t;
18502
- }, Gc = /^\[(?:([a-z-]+):)?(.+)\]$/i, ay = /^\d+\/\d+$/, ly = /* @__PURE__ */ new Set(["px", "full", "screen"]), cy = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dy = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, uy = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, hy = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, py = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Bt = (e) => dr(e) || ly.has(e) || ay.test(e), te = (e) => Dr(e, "length", xy), dr = (e) => !!e && !Number.isNaN(Number(e)), Jo = (e) => Dr(e, "number", dr), Fr = (e) => !!e && Number.isInteger(Number(e)), gy = (e) => e.endsWith("%") && dr(e.slice(0, -1)), z = (e) => Gc.test(e), ee = (e) => cy.test(e), my = /* @__PURE__ */ new Set(["length", "size", "percentage"]), by = (e) => Dr(e, my, Wc), fy = (e) => Dr(e, "position", Wc), vy = /* @__PURE__ */ new Set(["image", "url"]), yy = (e) => Dr(e, vy, Cy), wy = (e) => Dr(e, "", _y), Br = () => !0, Dr = (e, t, s) => {
18502
+ }, Gc = /^\[(?:([a-z-]+):)?(.+)\]$/i, ay = /^\d+\/\d+$/, ly = /* @__PURE__ */ new Set(["px", "full", "screen"]), cy = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dy = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, uy = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, hy = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, py = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, qt = (e) => dr(e) || ly.has(e) || ay.test(e), te = (e) => Dr(e, "length", xy), dr = (e) => !!e && !Number.isNaN(Number(e)), Jo = (e) => Dr(e, "number", dr), Fr = (e) => !!e && Number.isInteger(Number(e)), gy = (e) => e.endsWith("%") && dr(e.slice(0, -1)), z = (e) => Gc.test(e), ee = (e) => cy.test(e), my = /* @__PURE__ */ new Set(["length", "size", "percentage"]), by = (e) => Dr(e, my, Wc), fy = (e) => Dr(e, "position", Wc), vy = /* @__PURE__ */ new Set(["image", "url"]), yy = (e) => Dr(e, vy, Cy), wy = (e) => Dr(e, "", _y), Br = () => !0, Dr = (e, t, s) => {
18503
18503
  const o = Gc.exec(e);
18504
18504
  return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : s(o[2]) : !1;
18505
18505
  }, xy = (e) => (
@@ -18508,13 +18508,13 @@ const W = (e) => {
18508
18508
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
18509
18509
  dy.test(e) && !uy.test(e)
18510
18510
  ), Wc = () => !1, _y = (e) => hy.test(e), Cy = (e) => py.test(e), $y = () => {
18511
- const e = W("colors"), t = W("spacing"), s = W("blur"), o = W("brightness"), r = W("borderColor"), i = W("borderRadius"), n = W("borderSpacing"), l = W("borderWidth"), d = W("contrast"), u = W("grayscale"), m = W("hueRotate"), f = W("invert"), y = W("gap"), x = W("gradientColorStops"), w = W("gradientColorStopPositions"), C = W("inset"), _ = W("margin"), k = W("opacity"), P = W("padding"), V = W("saturate"), q = W("scale"), T = W("sepia"), tt = W("skew"), bt = W("space"), It = W("translate"), Et = () => ["auto", "contain", "none"], Mt = () => ["auto", "hidden", "clip", "visible", "scroll"], Tt = () => ["auto", z, t], R = () => [z, t], Zt = () => ["", Bt, te], St = () => ["auto", dr, z], ft = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], lt = () => ["solid", "dashed", "dotted", "double", "none"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Lt = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], pt = () => ["", "0", z], p = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], v = () => [dr, z];
18511
+ const e = W("colors"), t = W("spacing"), s = W("blur"), o = W("brightness"), r = W("borderColor"), i = W("borderRadius"), n = W("borderSpacing"), l = W("borderWidth"), d = W("contrast"), u = W("grayscale"), m = W("hueRotate"), f = W("invert"), y = W("gap"), x = W("gradientColorStops"), w = W("gradientColorStopPositions"), C = W("inset"), _ = W("margin"), k = W("opacity"), P = W("padding"), V = W("saturate"), q = W("scale"), T = W("sepia"), tt = W("skew"), ft = W("space"), Tt = W("translate"), St = () => ["auto", "contain", "none"], Ft = () => ["auto", "hidden", "clip", "visible", "scroll"], Lt = () => ["auto", z, t], R = () => [z, t], Zt = () => ["", qt, te], kt = () => ["auto", dr, z], vt = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ct = () => ["solid", "dashed", "dotted", "double", "none"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Dt = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], gt = () => ["", "0", z], p = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], v = () => [dr, z];
18512
18512
  return {
18513
18513
  cacheSize: 500,
18514
18514
  separator: ":",
18515
18515
  theme: {
18516
18516
  colors: [Br],
18517
- spacing: [Bt, te],
18517
+ spacing: [qt, te],
18518
18518
  blur: ["none", "", ee, z],
18519
18519
  brightness: v(),
18520
18520
  borderColor: [e],
@@ -18522,19 +18522,19 @@ const W = (e) => {
18522
18522
  borderSpacing: R(),
18523
18523
  borderWidth: Zt(),
18524
18524
  contrast: v(),
18525
- grayscale: pt(),
18525
+ grayscale: gt(),
18526
18526
  hueRotate: v(),
18527
- invert: pt(),
18527
+ invert: gt(),
18528
18528
  gap: R(),
18529
18529
  gradientColorStops: [e],
18530
18530
  gradientColorStopPositions: [gy, te],
18531
- inset: Tt(),
18532
- margin: Tt(),
18531
+ inset: Lt(),
18532
+ margin: Lt(),
18533
18533
  opacity: v(),
18534
18534
  padding: R(),
18535
18535
  saturate: v(),
18536
18536
  scale: v(),
18537
- sepia: pt(),
18537
+ sepia: gt(),
18538
18538
  skew: v(),
18539
18539
  space: R(),
18540
18540
  translate: R()
@@ -18631,49 +18631,49 @@ const W = (e) => {
18631
18631
  * @see https://tailwindcss.com/docs/object-position
18632
18632
  */
18633
18633
  "object-position": [{
18634
- object: [...ft(), z]
18634
+ object: [...vt(), z]
18635
18635
  }],
18636
18636
  /**
18637
18637
  * Overflow
18638
18638
  * @see https://tailwindcss.com/docs/overflow
18639
18639
  */
18640
18640
  overflow: [{
18641
- overflow: Mt()
18641
+ overflow: Ft()
18642
18642
  }],
18643
18643
  /**
18644
18644
  * Overflow X
18645
18645
  * @see https://tailwindcss.com/docs/overflow
18646
18646
  */
18647
18647
  "overflow-x": [{
18648
- "overflow-x": Mt()
18648
+ "overflow-x": Ft()
18649
18649
  }],
18650
18650
  /**
18651
18651
  * Overflow Y
18652
18652
  * @see https://tailwindcss.com/docs/overflow
18653
18653
  */
18654
18654
  "overflow-y": [{
18655
- "overflow-y": Mt()
18655
+ "overflow-y": Ft()
18656
18656
  }],
18657
18657
  /**
18658
18658
  * Overscroll Behavior
18659
18659
  * @see https://tailwindcss.com/docs/overscroll-behavior
18660
18660
  */
18661
18661
  overscroll: [{
18662
- overscroll: Et()
18662
+ overscroll: St()
18663
18663
  }],
18664
18664
  /**
18665
18665
  * Overscroll Behavior X
18666
18666
  * @see https://tailwindcss.com/docs/overscroll-behavior
18667
18667
  */
18668
18668
  "overscroll-x": [{
18669
- "overscroll-x": Et()
18669
+ "overscroll-x": St()
18670
18670
  }],
18671
18671
  /**
18672
18672
  * Overscroll Behavior Y
18673
18673
  * @see https://tailwindcss.com/docs/overscroll-behavior
18674
18674
  */
18675
18675
  "overscroll-y": [{
18676
- "overscroll-y": Et()
18676
+ "overscroll-y": St()
18677
18677
  }],
18678
18678
  /**
18679
18679
  * Position
@@ -18761,7 +18761,7 @@ const W = (e) => {
18761
18761
  * @see https://tailwindcss.com/docs/flex-basis
18762
18762
  */
18763
18763
  basis: [{
18764
- basis: Tt()
18764
+ basis: Lt()
18765
18765
  }],
18766
18766
  /**
18767
18767
  * Flex Direction
@@ -18789,14 +18789,14 @@ const W = (e) => {
18789
18789
  * @see https://tailwindcss.com/docs/flex-grow
18790
18790
  */
18791
18791
  grow: [{
18792
- grow: pt()
18792
+ grow: gt()
18793
18793
  }],
18794
18794
  /**
18795
18795
  * Flex Shrink
18796
18796
  * @see https://tailwindcss.com/docs/flex-shrink
18797
18797
  */
18798
18798
  shrink: [{
18799
- shrink: pt()
18799
+ shrink: gt()
18800
18800
  }],
18801
18801
  /**
18802
18802
  * Order
@@ -18826,14 +18826,14 @@ const W = (e) => {
18826
18826
  * @see https://tailwindcss.com/docs/grid-column
18827
18827
  */
18828
18828
  "col-start": [{
18829
- "col-start": St()
18829
+ "col-start": kt()
18830
18830
  }],
18831
18831
  /**
18832
18832
  * Grid Column End
18833
18833
  * @see https://tailwindcss.com/docs/grid-column
18834
18834
  */
18835
18835
  "col-end": [{
18836
- "col-end": St()
18836
+ "col-end": kt()
18837
18837
  }],
18838
18838
  /**
18839
18839
  * Grid Template Rows
@@ -18856,14 +18856,14 @@ const W = (e) => {
18856
18856
  * @see https://tailwindcss.com/docs/grid-row
18857
18857
  */
18858
18858
  "row-start": [{
18859
- "row-start": St()
18859
+ "row-start": kt()
18860
18860
  }],
18861
18861
  /**
18862
18862
  * Grid Row End
18863
18863
  * @see https://tailwindcss.com/docs/grid-row
18864
18864
  */
18865
18865
  "row-end": [{
18866
- "row-end": St()
18866
+ "row-end": kt()
18867
18867
  }],
18868
18868
  /**
18869
18869
  * Grid Auto Flow
@@ -18912,7 +18912,7 @@ const W = (e) => {
18912
18912
  * @see https://tailwindcss.com/docs/justify-content
18913
18913
  */
18914
18914
  "justify-content": [{
18915
- justify: ["normal", ...Lt()]
18915
+ justify: ["normal", ...Dt()]
18916
18916
  }],
18917
18917
  /**
18918
18918
  * Justify Items
@@ -18933,7 +18933,7 @@ const W = (e) => {
18933
18933
  * @see https://tailwindcss.com/docs/align-content
18934
18934
  */
18935
18935
  "align-content": [{
18936
- content: ["normal", ...Lt(), "baseline"]
18936
+ content: ["normal", ...Dt(), "baseline"]
18937
18937
  }],
18938
18938
  /**
18939
18939
  * Align Items
@@ -18954,7 +18954,7 @@ const W = (e) => {
18954
18954
  * @see https://tailwindcss.com/docs/place-content
18955
18955
  */
18956
18956
  "place-content": [{
18957
- "place-content": [...Lt(), "baseline"]
18957
+ "place-content": [...Dt(), "baseline"]
18958
18958
  }],
18959
18959
  /**
18960
18960
  * Place Items
@@ -19102,7 +19102,7 @@ const W = (e) => {
19102
19102
  * @see https://tailwindcss.com/docs/space
19103
19103
  */
19104
19104
  "space-x": [{
19105
- "space-x": [bt]
19105
+ "space-x": [ft]
19106
19106
  }],
19107
19107
  /**
19108
19108
  * Space Between X Reverse
@@ -19114,7 +19114,7 @@ const W = (e) => {
19114
19114
  * @see https://tailwindcss.com/docs/space
19115
19115
  */
19116
19116
  "space-y": [{
19117
- "space-y": [bt]
19117
+ "space-y": [ft]
19118
19118
  }],
19119
19119
  /**
19120
19120
  * Space Between Y Reverse
@@ -19254,7 +19254,7 @@ const W = (e) => {
19254
19254
  * @see https://tailwindcss.com/docs/line-height
19255
19255
  */
19256
19256
  leading: [{
19257
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Bt, z]
19257
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", qt, z]
19258
19258
  }],
19259
19259
  /**
19260
19260
  * List Style Image
@@ -19323,21 +19323,21 @@ const W = (e) => {
19323
19323
  * @see https://tailwindcss.com/docs/text-decoration-style
19324
19324
  */
19325
19325
  "text-decoration-style": [{
19326
- decoration: [...lt(), "wavy"]
19326
+ decoration: [...ct(), "wavy"]
19327
19327
  }],
19328
19328
  /**
19329
19329
  * Text Decoration Thickness
19330
19330
  * @see https://tailwindcss.com/docs/text-decoration-thickness
19331
19331
  */
19332
19332
  "text-decoration-thickness": [{
19333
- decoration: ["auto", "from-font", Bt, te]
19333
+ decoration: ["auto", "from-font", qt, te]
19334
19334
  }],
19335
19335
  /**
19336
19336
  * Text Underline Offset
19337
19337
  * @see https://tailwindcss.com/docs/text-underline-offset
19338
19338
  */
19339
19339
  "underline-offset": [{
19340
- "underline-offset": ["auto", Bt, z]
19340
+ "underline-offset": ["auto", qt, z]
19341
19341
  }],
19342
19342
  /**
19343
19343
  * Text Decoration Color
@@ -19440,7 +19440,7 @@ const W = (e) => {
19440
19440
  * @see https://tailwindcss.com/docs/background-position
19441
19441
  */
19442
19442
  "bg-position": [{
19443
- bg: [...ft(), fy]
19443
+ bg: [...vt(), fy]
19444
19444
  }],
19445
19445
  /**
19446
19446
  * Background Repeat
@@ -19697,7 +19697,7 @@ const W = (e) => {
19697
19697
  * @see https://tailwindcss.com/docs/border-style
19698
19698
  */
19699
19699
  "border-style": [{
19700
- border: [...lt(), "hidden"]
19700
+ border: [...ct(), "hidden"]
19701
19701
  }],
19702
19702
  /**
19703
19703
  * Divide Width X
@@ -19735,7 +19735,7 @@ const W = (e) => {
19735
19735
  * @see https://tailwindcss.com/docs/divide-style
19736
19736
  */
19737
19737
  "divide-style": [{
19738
- divide: lt()
19738
+ divide: ct()
19739
19739
  }],
19740
19740
  /**
19741
19741
  * Border Color
@@ -19812,21 +19812,21 @@ const W = (e) => {
19812
19812
  * @see https://tailwindcss.com/docs/outline-style
19813
19813
  */
19814
19814
  "outline-style": [{
19815
- outline: ["", ...lt()]
19815
+ outline: ["", ...ct()]
19816
19816
  }],
19817
19817
  /**
19818
19818
  * Outline Offset
19819
19819
  * @see https://tailwindcss.com/docs/outline-offset
19820
19820
  */
19821
19821
  "outline-offset": [{
19822
- "outline-offset": [Bt, z]
19822
+ "outline-offset": [qt, z]
19823
19823
  }],
19824
19824
  /**
19825
19825
  * Outline Width
19826
19826
  * @see https://tailwindcss.com/docs/outline-width
19827
19827
  */
19828
19828
  "outline-w": [{
19829
- outline: [Bt, te]
19829
+ outline: [qt, te]
19830
19830
  }],
19831
19831
  /**
19832
19832
  * Outline Color
@@ -19866,7 +19866,7 @@ const W = (e) => {
19866
19866
  * @see https://tailwindcss.com/docs/ring-offset-width
19867
19867
  */
19868
19868
  "ring-offset-w": [{
19869
- "ring-offset": [Bt, te]
19869
+ "ring-offset": [qt, te]
19870
19870
  }],
19871
19871
  /**
19872
19872
  * Ring Offset Color
@@ -20174,14 +20174,14 @@ const W = (e) => {
20174
20174
  * @see https://tailwindcss.com/docs/translate
20175
20175
  */
20176
20176
  "translate-x": [{
20177
- "translate-x": [It]
20177
+ "translate-x": [Tt]
20178
20178
  }],
20179
20179
  /**
20180
20180
  * Translate Y
20181
20181
  * @see https://tailwindcss.com/docs/translate
20182
20182
  */
20183
20183
  "translate-y": [{
20184
- "translate-y": [It]
20184
+ "translate-y": [Tt]
20185
20185
  }],
20186
20186
  /**
20187
20187
  * Skew X
@@ -20461,7 +20461,7 @@ const W = (e) => {
20461
20461
  * @see https://tailwindcss.com/docs/stroke-width
20462
20462
  */
20463
20463
  "stroke-w": [{
20464
- stroke: [Bt, te, Jo]
20464
+ stroke: [qt, te, Jo]
20465
20465
  }],
20466
20466
  /**
20467
20467
  * Stroke
@@ -20556,7 +20556,7 @@ function ol() {
20556
20556
  function xo(e, t) {
20557
20557
  return e.includes("{{theme}}") ? e.replace("{{theme}}", t) : e;
20558
20558
  }
20559
- function nt(e) {
20559
+ function at(e) {
20560
20560
  const t = {}, s = {};
20561
20561
  for (const o in e) {
20562
20562
  const r = e[o];
@@ -20567,7 +20567,7 @@ function nt(e) {
20567
20567
  function Oy(e) {
20568
20568
  return { ...Q, ...e ?? {} };
20569
20569
  }
20570
- function at(e, t, s) {
20570
+ function lt(e, t, s) {
20571
20571
  const o = Oy(s);
20572
20572
  let r = "";
20573
20573
  for (const n in t) {
@@ -20616,7 +20616,7 @@ function _o(e, t) {
20616
20616
  }
20617
20617
  return s;
20618
20618
  }
20619
- function wt(e, t) {
20619
+ function xt(e, t) {
20620
20620
  var s, o, r, i, n, l, d, u, m, f, y, x;
20621
20621
  return {
20622
20622
  default: (o = (s = t.byType) == null ? void 0 : s.buttons) == null ? void 0 : o.defaultButton,
@@ -20666,7 +20666,7 @@ function os() {
20666
20666
  viewBox="0 0 16 16"
20667
20667
  fill="none"
20668
20668
  xmlns="http://www.w3.org/2000/svg"
20669
- class="sb-text-foreground"
20669
+ class="sb-text-foreground"
20670
20670
 
20671
20671
  >
20672
20672
  <path
@@ -20748,8 +20748,14 @@ function Ly() {
20748
20748
  }
20749
20749
  function Dy() {
20750
20750
  return X`
20751
- <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
20752
- <path d="M9 1L1 9M1 1L9 9" stroke="#0A0A0A" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
20751
+ <svg
20752
+ class="sb-text-foreground"
20753
+ xmlns="http://www.w3.org/2000/svg"]
20754
+ width="10"
20755
+ height="10"
20756
+ viewBox="0 0 10 10"
20757
+ fill="none">
20758
+ <path d="M9 1L1 9M1 1L9 9" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
20753
20759
  </svg>
20754
20760
  `;
20755
20761
  }
@@ -20793,11 +20799,11 @@ const Uy = (e, t) => {
20793
20799
  };
20794
20800
  let rt = class extends E {
20795
20801
  constructor() {
20796
- super(...arguments), this.showAvatarMenu = !1, this.customizations = null, this.showIcons = !0, this.content = null, this.otpVariant = "simple", this.otpLength = 6, this.layout = dt.ROW, this.isEditingEmail = !1, this.isVerifyingEmail = !1, this.isEditingPhone = !1, this.isVerifyingPhone = !1;
20802
+ super(...arguments), this.showAvatarMenu = !1, this.customizations = null, this.showIcons = !0, this.content = null, this.otpVariant = "simple", this.otpLength = 6, this.layout = ut.ROW, this.isEditingEmail = !1, this.isVerifyingEmail = !1, this.isEditingPhone = !1, this.isVerifyingPhone = !1;
20797
20803
  }
20798
20804
  // Helpers to centralize customization mappings
20799
20805
  getButtonStyles() {
20800
- const e = wt("default", this.customizations), t = wt("outline", this.customizations), s = O(
20806
+ const e = xt("default", this.customizations), t = xt("outline", this.customizations), s = O(
20801
20807
  Ao,
20802
20808
  {},
20803
20809
  e,
@@ -20845,7 +20851,7 @@ let rt = class extends E {
20845
20851
  }
20846
20852
  // Generic field display row
20847
20853
  renderDisplayRow(e, t, s) {
20848
- const { class: o, style: r } = this.getLabelStyles(), { class: i, style: n } = this.getInputStyles(), l = this.layout === dt.COLUMN;
20854
+ const { class: o, style: r } = this.getLabelStyles(), { class: i, style: n } = this.getInputStyles(), l = this.layout === ut.COLUMN;
20849
20855
  return c`
20850
20856
  <div
20851
20857
  class=${H(
@@ -21173,7 +21179,7 @@ var My = Object.defineProperty, Fy = Object.getOwnPropertyDescriptor, er = (e, t
21173
21179
  };
21174
21180
  let me = class extends E {
21175
21181
  constructor() {
21176
- super(...arguments), this.customizations = null, this.showIcons = !0, this.layout = dt.ROW, this.content = null, this.isEditing = !1;
21182
+ super(...arguments), this.customizations = null, this.showIcons = !0, this.layout = ut.ROW, this.content = null, this.isEditing = !1;
21177
21183
  }
21178
21184
  handleEdit() {
21179
21185
  this.isEditing = !0;
@@ -21188,7 +21194,7 @@ let me = class extends E {
21188
21194
  return this;
21189
21195
  }
21190
21196
  getButtonStyles() {
21191
- const e = wt("default", this.customizations), t = wt("outline", this.customizations), s = wt("ghost", this.customizations), o = O(
21197
+ const e = xt("default", this.customizations), t = xt("outline", this.customizations), s = xt("ghost", this.customizations), o = O(
21192
21198
  Ao,
21193
21199
  {},
21194
21200
  e,
@@ -21225,7 +21231,7 @@ let me = class extends E {
21225
21231
  return O(
21226
21232
  H(
21227
21233
  Eo,
21228
- this.layout !== dt.ROW ? "sb-basis-auto" : ""
21234
+ this.layout !== ut.ROW ? "sb-basis-auto" : ""
21229
21235
  ),
21230
21236
  {},
21231
21237
  (s = (t = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : t.labels) == null ? void 0 : s.inputLabel,
@@ -21282,7 +21288,7 @@ let me = class extends E {
21282
21288
  `;
21283
21289
  }
21284
21290
  render() {
21285
- var m, f, y, x, w, C, _, k, P, V, q, T, tt, bt;
21291
+ var m, f, y, x, w, C, _, k, P, V, q, T, tt, ft;
21286
21292
  const e = [
21287
21293
  { label: "Username", value: this.personal.username },
21288
21294
  { label: "First name", value: this.personal.first },
@@ -21321,7 +21327,7 @@ let me = class extends E {
21321
21327
  ${(q = this.content) != null && q.icon ? (T = this.content) == null ? void 0 : T.icon : Iy()}
21322
21328
 
21323
21329
  <span>
21324
- ${(tt = this.content) != null && tt.title ? (bt = this.content) == null ? void 0 : bt.title : "Personal Info"}
21330
+ ${(tt = this.content) != null && tt.title ? (ft = this.content) == null ? void 0 : ft.title : "Personal Info"}
21325
21331
  </span>
21326
21332
  </rtg-card-title>
21327
21333
  ${this.isEditing ? null : c`
@@ -21342,15 +21348,15 @@ let me = class extends E {
21342
21348
  <rtg-card-content>
21343
21349
  <div class="sb-flex sb-flex-col sb-gap-3 sb-p-4">
21344
21350
  ${e.map(
21345
- (It) => c`
21351
+ (Tt) => c`
21346
21352
  <div
21347
- class="sb-flex ${this.layout === dt.ROW ? "sb-flex-row sb-items-center sb-gap-2" : "sb-flex-col sb-gap-1"}"
21353
+ class="sb-flex ${this.layout === ut.ROW ? "sb-flex-row sb-items-center sb-gap-2" : "sb-flex-col sb-gap-1"}"
21348
21354
  >
21349
21355
  <div class=${d.class} style=${$(d.style)}>
21350
- ${It.label}
21356
+ ${Tt.label}
21351
21357
  </div>
21352
21358
  <div class="sb-flex-1 sb-min-w-0 sb-mr-4">
21353
- ${this.renderInput(It.value)}
21359
+ ${this.renderInput(Tt.value)}
21354
21360
  </div>
21355
21361
  </div>
21356
21362
  `
@@ -21393,7 +21399,7 @@ var By = Object.defineProperty, qy = Object.getOwnPropertyDescriptor, rr = (e, t
21393
21399
  };
21394
21400
  let be = class extends E {
21395
21401
  constructor() {
21396
- super(...arguments), this.customizations = null, this.showIcons = !0, this.layout = dt.ROW, this.content = null, this.isEditing = !1;
21402
+ super(...arguments), this.customizations = null, this.showIcons = !0, this.layout = ut.ROW, this.content = null, this.isEditing = !1;
21397
21403
  }
21398
21404
  handleEdit() {
21399
21405
  this.isEditing = !0;
@@ -21408,7 +21414,7 @@ let be = class extends E {
21408
21414
  return this;
21409
21415
  }
21410
21416
  getButtonStyles() {
21411
- const e = wt("default", this.customizations), t = wt("outline", this.customizations), s = wt("ghost", this.customizations), o = O(
21417
+ const e = xt("default", this.customizations), t = xt("outline", this.customizations), s = xt("ghost", this.customizations), o = O(
21412
21418
  Ao,
21413
21419
  {},
21414
21420
  e,
@@ -21445,7 +21451,7 @@ let be = class extends E {
21445
21451
  return O(
21446
21452
  H(
21447
21453
  Eo,
21448
- this.layout !== dt.ROW ? "sb-basis-auto" : ""
21454
+ this.layout !== ut.ROW ? "sb-basis-auto" : ""
21449
21455
  ),
21450
21456
  {},
21451
21457
  (s = (t = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : t.labels) == null ? void 0 : s.inputLabel,
@@ -21558,7 +21564,7 @@ let be = class extends E {
21558
21564
  ${e.map(
21559
21565
  (tt) => c`
21560
21566
  <div
21561
- class="sb-flex ${this.layout === dt.ROW ? "sb-flex-row sb-items-center sb-gap-2" : "sb-flex-col sb-gap-1"}"
21567
+ class="sb-flex ${this.layout === ut.ROW ? "sb-flex-row sb-items-center sb-gap-2" : "sb-flex-col sb-gap-1"}"
21562
21568
  >
21563
21569
  <div class=${d.class} style=${$(d.style)}>
21564
21570
  ${tt.label}
@@ -21608,7 +21614,7 @@ var Vy = Object.defineProperty, Hy = Object.getOwnPropertyDescriptor, sr = (e, t
21608
21614
  };
21609
21615
  let fe = class extends E {
21610
21616
  constructor() {
21611
- super(...arguments), this.showIcons = !0, this.customizations = null, this.layout = dt.ROW, this.content = null, this.isEditing = !1;
21617
+ super(...arguments), this.showIcons = !0, this.customizations = null, this.layout = ut.ROW, this.content = null, this.isEditing = !1;
21612
21618
  }
21613
21619
  handleEdit() {
21614
21620
  this.isEditing = !0;
@@ -21623,7 +21629,7 @@ let fe = class extends E {
21623
21629
  return this;
21624
21630
  }
21625
21631
  getButtonStyles() {
21626
- const e = wt("default", this.customizations), t = wt("outline", this.customizations), s = wt("ghost", this.customizations), o = O(
21632
+ const e = xt("default", this.customizations), t = xt("outline", this.customizations), s = xt("ghost", this.customizations), o = O(
21627
21633
  Ao,
21628
21634
  {},
21629
21635
  e,
@@ -21660,7 +21666,7 @@ let fe = class extends E {
21660
21666
  return O(
21661
21667
  H(
21662
21668
  Eo,
21663
- this.layout !== dt.ROW ? "sb-basis-auto" : ""
21669
+ this.layout !== ut.ROW ? "sb-basis-auto" : ""
21664
21670
  ),
21665
21671
  {},
21666
21672
  (s = (t = (e = this.customizations) == null ? void 0 : e.byType) == null ? void 0 : t.labels) == null ? void 0 : s.inputLabel,
@@ -21770,7 +21776,7 @@ let fe = class extends E {
21770
21776
  ${e.map(
21771
21777
  (tt) => c`
21772
21778
  <div
21773
- class="sb-flex ${this.layout === dt.ROW ? "sb-flex-row sb-items-center" : "sb-flex-col sb-gap-1"}"
21779
+ class="sb-flex ${this.layout === ut.ROW ? "sb-flex-row sb-items-center" : "sb-flex-col sb-gap-1"}"
21774
21780
  >
21775
21781
  <div class=${d.class} style=${$(d.style)}>
21776
21782
  ${tt.label}
@@ -21820,7 +21826,7 @@ var Gy = Object.defineProperty, Wy = Object.getOwnPropertyDescriptor, st = (e, t
21820
21826
  };
21821
21827
  let J = class extends E {
21822
21828
  constructor() {
21823
- super(...arguments), this.showAvatarMenu = !1, this.customizations = null, this.showIcons = !0, this.orientation = kt.HORIZONTAL, this.sidebarDisplayType = yt.REGULAR, this.mode = ie == null ? void 0 : ie.PAGE, this.widgetsLayout = dt.ROW, this.content = null;
21829
+ super(...arguments), this.showAvatarMenu = !1, this.customizations = null, this.showIcons = !0, this.orientation = Ot.HORIZONTAL, this.sidebarDisplayType = wt.REGULAR, this.mode = ie == null ? void 0 : ie.PAGE, this.widgetsLayout = ut.ROW, this.content = null;
21824
21830
  }
21825
21831
  createRenderRoot() {
21826
21832
  return this;
@@ -21828,7 +21834,7 @@ let J = class extends E {
21828
21834
  render() {
21829
21835
  var s, o, r, i;
21830
21836
  return c`
21831
- ${this.orientation === kt.VERTICAL || this.sidebarDisplayType === yt.BURGER ? null : c`
21837
+ ${this.orientation === Ot.VERTICAL || this.sidebarDisplayType === wt.BURGER ? null : c`
21832
21838
  <div class=${"sb-flex sb-items-center sb-justify-between sb-mb-4"}>
21833
21839
  <div class=${"sb-font-medium sb-text-[18px] sb-text-foreground"}>Profile</div>
21834
21840
  </div>
@@ -21930,7 +21936,7 @@ const Qo = [
21930
21936
  ];
21931
21937
  let ve = class extends E {
21932
21938
  constructor() {
21933
- super(...arguments), this.orientation = kt.HORIZONTAL, this.displayType = yt.REGULAR, this.mode = ie.PAGE, this.config = { showIcons: !0 }, this.customizations = null, this.isMenuOpen = !1;
21939
+ super(...arguments), this.orientation = Ot.HORIZONTAL, this.displayType = wt.REGULAR, this.mode = ie.PAGE, this.config = { showIcons: !0 }, this.customizations = null, this.isMenuOpen = !1;
21934
21940
  }
21935
21941
  createRenderRoot() {
21936
21942
  return this;
@@ -22036,7 +22042,7 @@ let ve = class extends E {
22036
22042
  }
22037
22043
  render() {
22038
22044
  var r, i, n;
22039
- const e = this.orientation === kt.VERTICAL, t = this.orientation === kt.HORIZONTAL, { class: s, style: o } = O(
22045
+ const e = this.orientation === Ot.VERTICAL, t = this.orientation === Ot.HORIZONTAL, { class: s, style: o } = O(
22040
22046
  "",
22041
22047
  {},
22042
22048
  (n = (i = (r = this.customizations) == null ? void 0 : r.byType) == null ? void 0 : i.userProfile) == null ? void 0 : n.sidebar,
@@ -22052,15 +22058,15 @@ let ve = class extends E {
22052
22058
  s
22053
22059
  )}"
22054
22060
  >
22055
- ${this.displayType === yt.BURGER ? this.renderBurger() : null}
22061
+ ${this.displayType === wt.BURGER ? this.renderBurger() : null}
22056
22062
  ${e ? this.renderTabs() : null}
22057
- ${t && this.displayType !== yt.BURGER ? c`
22063
+ ${t && this.displayType !== wt.BURGER ? c`
22058
22064
  <div class="sb-flex sb-flex-col sb-justify-between sb-flex-1">
22059
22065
  ${this.renderTabs(Qo, !0)} ${this.renderWatermark()}
22060
22066
  </div>
22061
22067
  ` : null}
22062
22068
  </div>
22063
- ${this.displayType === yt.BURGER ? this.renderMobileDrawer() : null}
22069
+ ${this.displayType === wt.BURGER ? this.renderMobileDrawer() : null}
22064
22070
  `;
22065
22071
  }
22066
22072
  };
@@ -22085,7 +22091,7 @@ or([
22085
22091
  ve = or([
22086
22092
  h("sb-profile-sidebar")
22087
22093
  ], ve);
22088
- var ew = Object.defineProperty, Ut = (e, t, s, o) => {
22094
+ var ew = Object.defineProperty, Mt = (e, t, s, o) => {
22089
22095
  for (var r = void 0, i = e.length - 1, n; i >= 0; i--)
22090
22096
  (n = e[i]) && (r = n(t, s, r) || r);
22091
22097
  return r && ew(t, s, r), r;
@@ -22094,9 +22100,9 @@ const nl = {
22094
22100
  xs: 640,
22095
22101
  sm: 768
22096
22102
  };
22097
- class Pt extends E {
22103
+ class It extends E {
22098
22104
  constructor() {
22099
- super(...arguments), this.showAvatarMenu = !1, this.orientation = kt.HORIZONTAL, this.mobileDisplay = yt.REGULAR, this.mode = ie.PAGE, this.widgetsLayout = dt.ROW, this.content = null, this.customizations = null, this.providedCustomizations = null, this.isOpen = !0, this.currentBreakpoint = "md", this.account = {
22105
+ super(...arguments), this.showAvatarMenu = !1, this.orientation = Ot.HORIZONTAL, this.mobileDisplay = wt.REGULAR, this.mode = ie.PAGE, this.widgetsLayout = ut.ROW, this.content = null, this.customizations = null, this.providedCustomizations = null, this.isOpen = !0, this.currentBreakpoint = "md", this.account = {
22100
22106
  email: "J.Doe@gmail.com",
22101
22107
  phone: "+989390717800",
22102
22108
  avatar: "https://github.com/shadcn.png"
@@ -22161,21 +22167,21 @@ class Pt extends E {
22161
22167
  return this.mode === ie.MODAL;
22162
22168
  }
22163
22169
  get sidebarDisplayType() {
22164
- return this.orientation === kt.VERTICAL || this.currentBreakpoint === "md" ? yt.REGULAR : yt.BURGER;
22170
+ return this.orientation === Ot.VERTICAL || this.currentBreakpoint === "md" ? wt.REGULAR : wt.BURGER;
22165
22171
  }
22166
22172
  get containerClasses() {
22167
22173
  return H(
22168
22174
  zv,
22169
22175
  this.isModal ? Mv : Uv,
22170
22176
  this.isModal ? Dv : Lv,
22171
- this.sidebarDisplayType === yt.BURGER || this.orientation === kt.VERTICAL ? "!sb-flex-col" : "!sb-flex-row"
22177
+ this.sidebarDisplayType === wt.BURGER || this.orientation === Ot.VERTICAL ? "!sb-flex-col" : "!sb-flex-row"
22172
22178
  );
22173
22179
  }
22174
22180
  get contentClasses() {
22175
22181
  return H(
22176
22182
  "sb-flex-grow",
22177
22183
  this.isModal ? "sb-max-h-[864px] sb-mx-4 sb-px-2 md:sb-mx-0 md:sb-px-6 md:sb-pl-0 sb-overflow-auto" : "md:sb-max-h-[100%]",
22178
- this.orientation === kt.VERTICAL ? "md:sb-pl-6 sb-mb-16" : ""
22184
+ this.orientation === Ot.VERTICAL ? "md:sb-pl-6 sb-mb-16" : ""
22179
22185
  );
22180
22186
  }
22181
22187
  // === Render Helpers ===
@@ -22195,7 +22201,7 @@ class Pt extends E {
22195
22201
  ` : A;
22196
22202
  }
22197
22203
  renderWatermark() {
22198
- return this.orientation !== kt.VERTICAL ? A : c`
22204
+ return this.orientation !== Ot.VERTICAL ? A : c`
22199
22205
  <div
22200
22206
  class="sb-fixed sb-bottom-0 sb-w-[-webkit-fill-available] sb-py-4 sb-bg-background"
22201
22207
  >
@@ -22284,37 +22290,37 @@ class Pt extends E {
22284
22290
  return this;
22285
22291
  }
22286
22292
  }
22287
- Ut([
22293
+ Mt([
22288
22294
  a({ type: Boolean })
22289
- ], Pt.prototype, "showAvatarMenu");
22290
- Ut([
22295
+ ], It.prototype, "showAvatarMenu");
22296
+ Mt([
22291
22297
  a({ type: String })
22292
- ], Pt.prototype, "orientation");
22293
- Ut([
22298
+ ], It.prototype, "orientation");
22299
+ Mt([
22294
22300
  a({ type: String })
22295
- ], Pt.prototype, "mobileDisplay");
22296
- Ut([
22301
+ ], It.prototype, "mobileDisplay");
22302
+ Mt([
22297
22303
  a({ type: String })
22298
- ], Pt.prototype, "mode");
22299
- Ut([
22304
+ ], It.prototype, "mode");
22305
+ Mt([
22300
22306
  a({ type: String })
22301
- ], Pt.prototype, "widgetsLayout");
22302
- Ut([
22307
+ ], It.prototype, "widgetsLayout");
22308
+ Mt([
22303
22309
  a({ type: Object })
22304
- ], Pt.prototype, "content");
22305
- Ut([
22310
+ ], It.prototype, "content");
22311
+ Mt([
22306
22312
  a({ type: Object })
22307
- ], Pt.prototype, "customizations");
22308
- Ut([
22309
- gt({ context: wo, subscribe: !0 })
22310
- ], Pt.prototype, "providedCustomizations");
22311
- Ut([
22313
+ ], It.prototype, "customizations");
22314
+ Mt([
22315
+ mt({ context: wo, subscribe: !0 })
22316
+ ], It.prototype, "providedCustomizations");
22317
+ Mt([
22312
22318
  S()
22313
- ], Pt.prototype, "isOpen");
22314
- Ut([
22319
+ ], It.prototype, "isOpen");
22320
+ Mt([
22315
22321
  S()
22316
- ], Pt.prototype, "currentBreakpoint");
22317
- customElements.define("sb-user-profile", Pt);
22322
+ ], It.prototype, "currentBreakpoint");
22323
+ customElements.define("sb-user-profile", It);
22318
22324
  var rw = Object.defineProperty, sw = Object.getOwnPropertyDescriptor, Io = (e, t, s, o) => {
22319
22325
  for (var r = o > 1 ? void 0 : o ? sw(t, s) : t, i = e.length - 1, n; i >= 0; i--)
22320
22326
  (n = e[i]) && (r = (o ? n(t, s, r) : n(r)) || r);
@@ -22365,7 +22371,7 @@ var ow = Object.defineProperty, iw = Object.getOwnPropertyDescriptor, To = (e, t
22365
22371
  };
22366
22372
  let ns = class extends E {
22367
22373
  constructor() {
22368
- super(...arguments), this.renderSpec = null, this.customizations = null, this.providedCustomizations = null;
22374
+ super(...arguments), this.renderSpec = null, this.customizations = null, this.providedCustomizations = null, this.__flowStarted = !1, this.__flowInitAttempted = !1;
22369
22375
  }
22370
22376
  get effectiveCustomizations() {
22371
22377
  const e = this.providedCustomizations ?? {}, t = this.customizations ?? {};
@@ -22374,17 +22380,55 @@ let ns = class extends E {
22374
22380
  createRenderRoot() {
22375
22381
  return this;
22376
22382
  }
22383
+ async waitForAuthConfigured(e = 5e3) {
22384
+ var o;
22385
+ const t = nt ?? ((o = window.__saasbaseCoreSdk) == null ? void 0 : o.Auth);
22386
+ if (!t || t.__configured) return;
22387
+ const s = t.__whenConfigured;
22388
+ s && await Promise.race([
22389
+ s,
22390
+ new Promise((r) => setTimeout(r, e))
22391
+ ]);
22392
+ }
22377
22393
  async connectedCallback() {
22378
- super.connectedCallback();
22379
- try {
22380
- const e = await qt.startLoginflow("signin-flow-passkey");
22381
- console.log(
22382
- e.isResumed ? "Resumed login flow" : "Started new login flow"
22383
- );
22384
- } catch (e) {
22385
- console.error("Sign-in flow init failed:", e);
22394
+ var e;
22395
+ if (super.connectedCallback(), !this.__flowInitAttempted && (this.__flowInitAttempted = !0, await this.waitForAuthConfigured(), !this.__flowStarted)) {
22396
+ this.__flowStarted = !0;
22397
+ try {
22398
+ const t = await nt.startLoginflow("signin-flow-passkey");
22399
+ console.log(
22400
+ t.isResumed ? "Resumed login flow" : "Started new login flow"
22401
+ );
22402
+ } catch (t) {
22403
+ if (console.error("Sign-in flow init failed:", t), t && typeof t.message == "string" && t.message.includes("Auth.configure() must be called")) {
22404
+ this.__saasbaseFailedForConfig = !0;
22405
+ try {
22406
+ const s = nt ?? ((e = window.__saasbaseCoreSdk) == null ? void 0 : e.Auth), o = s == null ? void 0 : s.__whenConfigured;
22407
+ if (o) {
22408
+ await Promise.race([
22409
+ o,
22410
+ new Promise((r) => setTimeout(r, 1e4))
22411
+ ]);
22412
+ try {
22413
+ const r = await nt.startLoginflow("signin-flow-passkey");
22414
+ console.log(
22415
+ r.isResumed ? "Resumed login flow" : "Started new login flow"
22416
+ );
22417
+ } catch (r) {
22418
+ console.error("Sign-in retry failed:", r);
22419
+ }
22420
+ }
22421
+ } catch {
22422
+ }
22423
+ } else
22424
+ this.__flowStarted = !1;
22425
+ }
22386
22426
  }
22387
22427
  }
22428
+ // Explicit retry hook used by the loader
22429
+ __saasbaseRetryInit() {
22430
+ this.__flowStarted || (this.__flowInitAttempted = !1, this.connectedCallback());
22431
+ }
22388
22432
  render() {
22389
22433
  var o, r;
22390
22434
  const e = this.effectiveCustomizations, { class: t, style: s } = O(
@@ -22409,13 +22453,13 @@ let ns = class extends E {
22409
22453
  }
22410
22454
  };
22411
22455
  To([
22412
- gt({ context: En, subscribe: !0 })
22456
+ mt({ context: En, subscribe: !0 })
22413
22457
  ], ns.prototype, "renderSpec", 2);
22414
22458
  To([
22415
22459
  a({ type: Object })
22416
22460
  ], ns.prototype, "customizations", 2);
22417
22461
  To([
22418
- gt({ context: wo, subscribe: !0 })
22462
+ mt({ context: wo, subscribe: !0 })
22419
22463
  ], ns.prototype, "providedCustomizations", 2);
22420
22464
  ns = To([
22421
22465
  h("sb-signin")
@@ -22427,7 +22471,7 @@ var nw = Object.defineProperty, aw = Object.getOwnPropertyDescriptor, Lo = (e, t
22427
22471
  };
22428
22472
  let as = class extends E {
22429
22473
  constructor() {
22430
- super(...arguments), this.renderSpec = null, this.customizations = null, this.providedCustomizations = null;
22474
+ super(...arguments), this.renderSpec = null, this.customizations = null, this.providedCustomizations = null, this.__flowStarted = !1, this.__flowInitAttempted = !1;
22431
22475
  }
22432
22476
  get effectiveCustomizations() {
22433
22477
  const e = this.providedCustomizations ?? {}, t = this.customizations ?? {};
@@ -22436,17 +22480,55 @@ let as = class extends E {
22436
22480
  createRenderRoot() {
22437
22481
  return this;
22438
22482
  }
22483
+ async waitForAuthConfigured(e = 5e3) {
22484
+ var o;
22485
+ const t = nt ?? ((o = window.__saasbaseCoreSdk) == null ? void 0 : o.Auth);
22486
+ if (!t || t.__configured) return;
22487
+ const s = t.__whenConfigured;
22488
+ s && await Promise.race([
22489
+ s,
22490
+ new Promise((r) => setTimeout(r, e))
22491
+ ]);
22492
+ }
22439
22493
  async connectedCallback() {
22440
- super.connectedCallback();
22441
- try {
22442
- const e = await qt.startLoginflow("signup-flow");
22443
- console.log(
22444
- e.isResumed ? "Resumed signup flow" : "Started new signup flow"
22445
- );
22446
- } catch (e) {
22447
- console.error("Sign-up flow init failed:", e);
22494
+ var e;
22495
+ if (super.connectedCallback(), !this.__flowInitAttempted && (this.__flowInitAttempted = !0, await this.waitForAuthConfigured(), !this.__flowStarted)) {
22496
+ this.__flowStarted = !0;
22497
+ try {
22498
+ const t = await nt.startLoginflow("signup-flow");
22499
+ console.log(
22500
+ t.isResumed ? "Resumed signup flow" : "Started new signup flow"
22501
+ );
22502
+ } catch (t) {
22503
+ if (console.error("Sign-up flow init failed:", t), t && typeof t.message == "string" && t.message.includes("Auth.configure() must be called")) {
22504
+ this.__saasbaseFailedForConfig = !0;
22505
+ try {
22506
+ const s = nt ?? ((e = window.__saasbaseCoreSdk) == null ? void 0 : e.Auth), o = s == null ? void 0 : s.__whenConfigured;
22507
+ if (o) {
22508
+ await Promise.race([
22509
+ o,
22510
+ new Promise((r) => setTimeout(r, 1e4))
22511
+ ]);
22512
+ try {
22513
+ const r = await nt.startLoginflow("signup-flow");
22514
+ console.log(
22515
+ r.isResumed ? "Resumed signup flow" : "Started new signup flow"
22516
+ );
22517
+ } catch (r) {
22518
+ console.error("Sign-up retry failed:", r);
22519
+ }
22520
+ }
22521
+ } catch {
22522
+ }
22523
+ } else
22524
+ this.__flowStarted = !1;
22525
+ }
22448
22526
  }
22449
22527
  }
22528
+ // explicit retry hook used by the loader
22529
+ __saasbaseRetryInit() {
22530
+ this.__flowStarted || (this.__flowInitAttempted = !1, this.connectedCallback());
22531
+ }
22450
22532
  render() {
22451
22533
  var o, r;
22452
22534
  const e = this.effectiveCustomizations, { class: t, style: s } = O(
@@ -22471,13 +22553,13 @@ let as = class extends E {
22471
22553
  }
22472
22554
  };
22473
22555
  Lo([
22474
- gt({ context: En, subscribe: !0 })
22556
+ mt({ context: En, subscribe: !0 })
22475
22557
  ], as.prototype, "renderSpec", 2);
22476
22558
  Lo([
22477
22559
  a({ type: Object })
22478
22560
  ], as.prototype, "customizations", 2);
22479
22561
  Lo([
22480
- gt({ context: wo, subscribe: !0 })
22562
+ mt({ context: wo, subscribe: !0 })
22481
22563
  ], as.prototype, "providedCustomizations", 2);
22482
22564
  as = Lo([
22483
22565
  h("sb-signup")
@@ -22503,8 +22585,8 @@ let Ys = class extends E {
22503
22585
  void 0,
22504
22586
  this.element.id,
22505
22587
  void 0
22506
- ), { base: s, responsive: o } = nt(t);
22507
- return at(
22588
+ ), { base: s, responsive: o } = at(t);
22589
+ return lt(
22508
22590
  this.element.id,
22509
22591
  o,
22510
22592
  ((i = (r = this.component.customizations) == null ? void 0 : r.config) == null ? void 0 : i.breakpoints) ?? Q
@@ -22609,7 +22691,7 @@ let ls = class extends E {
22609
22691
  render() {
22610
22692
  var y, x;
22611
22693
  if (!this.element) return null;
22612
- const { id: e, class: t, style: s, properties: o } = this.element, { type: r, text: i, event: n } = o, l = wt(
22694
+ const { id: e, class: t, style: s, properties: o } = this.element, { type: r, text: i, event: n } = o, l = xt(
22613
22695
  r,
22614
22696
  this.component.customizations
22615
22697
  ), { class: d, style: u } = O(
@@ -22618,8 +22700,8 @@ let ls = class extends E {
22618
22700
  l,
22619
22701
  e,
22620
22702
  this.component.customizations
22621
- ), { base: m, responsive: f } = nt(u);
22622
- return at(
22703
+ ), { base: m, responsive: f } = at(u);
22704
+ return lt(
22623
22705
  this.element.id,
22624
22706
  f,
22625
22707
  ((x = (y = this.component.customizations) == null ? void 0 : y.config) == null ? void 0 : x.breakpoints) ?? Q
@@ -22679,8 +22761,8 @@ let Zs = class extends E {
22679
22761
  (_ = (C = (w = this.component.customizations) == null ? void 0 : w.byType) == null ? void 0 : C.divider) == null ? void 0 : _.dividerText,
22680
22762
  this.element.id,
22681
22763
  this.component.customizations
22682
- ), { base: n, responsive: l } = nt(t);
22683
- return at(
22764
+ ), { base: n, responsive: l } = at(t);
22765
+ return lt(
22684
22766
  this.element.id,
22685
22767
  l,
22686
22768
  ((P = (k = this.component.customizations) == null ? void 0 : k.config) == null ? void 0 : P.breakpoints) ?? Q
@@ -22802,8 +22884,8 @@ let Xs = class extends E {
22802
22884
  (x = (y = (f = this.component.customizations) == null ? void 0 : f.byType) == null ? void 0 : y.errors) == null ? void 0 : x.inputError,
22803
22885
  "",
22804
22886
  this.component.customizations
22805
- ), { base: n, responsive: l } = nt(t);
22806
- return at(
22887
+ ), { base: n, responsive: l } = at(t);
22888
+ return lt(
22807
22889
  this.element.id,
22808
22890
  l,
22809
22891
  ((C = (w = this.component.customizations) == null ? void 0 : w.config) == null ? void 0 : C.breakpoints) ?? Q
@@ -23140,8 +23222,8 @@ let Qs = class extends E {
23140
23222
  (d = (l = (n = this.component.customizations) == null ? void 0 : n.byType) == null ? void 0 : l.inputs) == null ? void 0 : d.inputField,
23141
23223
  this.element.id,
23142
23224
  this.component.customizations
23143
- ), s = this.element.properties.variant || "digits_only", o = this.element.properties.length || 6, { base: r, responsive: i } = nt(t);
23144
- return at(
23225
+ ), s = this.element.properties.variant || "digits_only", o = this.element.properties.length || 6, { base: r, responsive: i } = at(t);
23226
+ return lt(
23145
23227
  this.element.id,
23146
23228
  i,
23147
23229
  ((m = (u = this.component.customizations) == null ? void 0 : u.config) == null ? void 0 : m.breakpoints) ?? Q
@@ -23198,8 +23280,8 @@ let to = class extends E {
23198
23280
  (n = (i = (r = this.component.customizations) == null ? void 0 : r.byType) == null ? void 0 : i.errors) == null ? void 0 : n.serviceError,
23199
23281
  this.element.id,
23200
23282
  this.component.customizations
23201
- ), { base: s, responsive: o } = nt(t);
23202
- return at(
23283
+ ), { base: s, responsive: o } = at(t);
23284
+ return lt(
23203
23285
  this.element.id,
23204
23286
  o,
23205
23287
  ((d = (l = this.component.customizations) == null ? void 0 : l.config) == null ? void 0 : d.breakpoints) ?? Q
@@ -23256,8 +23338,8 @@ let eo = class extends E {
23256
23338
  void 0,
23257
23339
  this.element.id,
23258
23340
  void 0
23259
- ), { base: s, responsive: o } = nt(t);
23260
- return at(
23341
+ ), { base: s, responsive: o } = at(t);
23342
+ return lt(
23261
23343
  this.element.id,
23262
23344
  o,
23263
23345
  ((i = (r = this.component.customizations) == null ? void 0 : r.config) == null ? void 0 : i.breakpoints) ?? Q
@@ -23302,8 +23384,8 @@ let ro = class extends E {
23302
23384
  );
23303
23385
  let o = { width: "0px", height: "0px" };
23304
23386
  this.element.properties.type === "vertical" ? o = { width: "1px", height: this.element.properties.size } : o = { height: "1px", width: this.element.properties.size };
23305
- const { base: r, responsive: i } = nt(t);
23306
- return at(
23387
+ const { base: r, responsive: i } = at(t);
23388
+ return lt(
23307
23389
  this.element.id,
23308
23390
  i,
23309
23391
  ((l = (n = this.component.customizations) == null ? void 0 : n.config) == null ? void 0 : l.breakpoints) ?? Q
@@ -23373,8 +23455,8 @@ let cs = class extends E {
23373
23455
  (n = (i = (r = this.component.customizations) == null ? void 0 : r.byType) == null ? void 0 : i.timer) == null ? void 0 : n.countdowns,
23374
23456
  this.element.id,
23375
23457
  this.component.customizations
23376
- ), { base: s, responsive: o } = nt(t);
23377
- return at(
23458
+ ), { base: s, responsive: o } = at(t);
23459
+ return lt(
23378
23460
  this.element.id,
23379
23461
  o,
23380
23462
  ((d = (l = this.component.customizations) == null ? void 0 : l.config) == null ? void 0 : d.breakpoints) ?? Q
@@ -23415,8 +23497,8 @@ let so = class extends E {
23415
23497
  (n = (i = (r = this.component.customizations) == null ? void 0 : r.byType) == null ? void 0 : i.loader) == null ? void 0 : n.spinner,
23416
23498
  this.element.id,
23417
23499
  this.component.customizations
23418
- ), { base: s, responsive: o } = nt(t);
23419
- return at(
23500
+ ), { base: s, responsive: o } = at(t);
23501
+ return lt(
23420
23502
  this.element.id,
23421
23503
  o,
23422
23504
  ((d = (l = this.component.customizations) == null ? void 0 : l.config) == null ? void 0 : d.breakpoints) ?? Q
@@ -23597,8 +23679,8 @@ let oo = class extends E {
23597
23679
  this.element.id,
23598
23680
  this.component.customizations,
23599
23681
  !0
23600
- ), { base: s, responsive: o } = nt(t);
23601
- return at(
23682
+ ), { base: s, responsive: o } = at(t);
23683
+ return lt(
23602
23684
  this.element.id,
23603
23685
  o,
23604
23686
  ((d = (l = this.component.customizations) == null ? void 0 : l.config) == null ? void 0 : d.breakpoints) ?? Q
@@ -23657,8 +23739,8 @@ let ds = class extends E {
23657
23739
  ), s = xo(
23658
23740
  this.element.properties.image_url,
23659
23741
  this.theme
23660
- ), { base: o, responsive: r } = nt(t);
23661
- return at(
23742
+ ), { base: o, responsive: r } = at(t);
23743
+ return lt(
23662
23744
  this.element.id,
23663
23745
  r,
23664
23746
  ((n = (i = this.component.customizations) == null ? void 0 : i.config) == null ? void 0 : n.breakpoints) ?? Q
@@ -23773,8 +23855,8 @@ let us = class extends E {
23773
23855
  (l = (n = this.component.customizations) == null ? void 0 : n.byType) == null ? void 0 : l.logo,
23774
23856
  this.element.id,
23775
23857
  this.component.customizations
23776
- ), { base: s, responsive: o } = nt(t);
23777
- at(
23858
+ ), { base: s, responsive: o } = at(t);
23859
+ lt(
23778
23860
  this.element.id,
23779
23861
  o,
23780
23862
  ((u = (d = this.component.customizations) == null ? void 0 : d.config) == null ? void 0 : u.breakpoints) ?? Q
@@ -23880,8 +23962,8 @@ let no = class extends E {
23880
23962
  Rc,
23881
23963
  {},
23882
23964
  "inputError"
23883
- ), { shouldRender: l, animClass: d, errorContent: u } = this.manageErrorAnimation(e), { base: m, responsive: f } = nt(s);
23884
- return at(
23965
+ ), { shouldRender: l, animClass: d, errorContent: u } = this.manageErrorAnimation(e), { base: m, responsive: f } = at(s);
23966
+ return lt(
23885
23967
  this.element.id,
23886
23968
  f,
23887
23969
  ((x = (y = this.component.customizations) == null ? void 0 : y.config) == null ? void 0 : x.breakpoints) ?? Q
@@ -23952,8 +24034,8 @@ let ao = class extends E {
23952
24034
  (n = (i = (r = this.component.customizations) == null ? void 0 : r.byType) == null ? void 0 : i.labels) == null ? void 0 : n.inputLabel,
23953
24035
  this.element.id,
23954
24036
  this.component.customizations
23955
- ), { base: s, responsive: o } = nt(t);
23956
- return at(
24037
+ ), { base: s, responsive: o } = at(t);
24038
+ return lt(
23957
24039
  this.element.id,
23958
24040
  o,
23959
24041
  ((d = (l = this.component.customizations) == null ? void 0 : l.config) == null ? void 0 : d.breakpoints) ?? Q
@@ -24124,13 +24206,13 @@ let Yt = class extends E {
24124
24206
  var s, o;
24125
24207
  if (t.element_type === "html")
24126
24208
  try {
24127
- await qt.processLoginflowEvent({ event: e, data: {} });
24209
+ await nt.processLoginflowEvent({ event: e, data: {} });
24128
24210
  } finally {
24129
24211
  this.eventEmitting = !1;
24130
24212
  }
24131
24213
  else if (t.element_type === "otp")
24132
24214
  try {
24133
- await qt.processLoginflowEvent({
24215
+ await nt.processLoginflowEvent({
24134
24216
  event: e,
24135
24217
  data: this.formData
24136
24218
  });
@@ -24150,7 +24232,7 @@ let Yt = class extends E {
24150
24232
  )) ?? !1)) {
24151
24233
  this.loadingButtons = { ...this.loadingButtons, [t.id]: !0 }, this.eventEmitting = !0;
24152
24234
  try {
24153
- await qt.processLoginflowEvent({
24235
+ await nt.processLoginflowEvent({
24154
24236
  event: e,
24155
24237
  data: this.formData
24156
24238
  });
@@ -24251,7 +24333,7 @@ let ye = class extends E {
24251
24333
  super.connectedCallback(), ky(), (async () => {
24252
24334
  for (; !this.env || !this.env.domain; )
24253
24335
  await new Promise((t) => setTimeout(t, 20));
24254
- qt.configure({
24336
+ nt.configure({
24255
24337
  domain: this.env.domain,
24256
24338
  clientId: this.env.clientId,
24257
24339
  clientSecret: this.env.clientSecret ?? "",
@@ -24268,7 +24350,7 @@ let ye = class extends E {
24268
24350
  }
24269
24351
  updated(e) {
24270
24352
  var t;
24271
- super.updated(e), e.has("customizations") && (this.providedCustomizations = this.customizations), e.has("env") && (t = this.env) != null && t.domain && qt.configure({
24353
+ super.updated(e), e.has("customizations") && (this.providedCustomizations = this.customizations), e.has("env") && (t = this.env) != null && t.domain && nt.configure({
24272
24354
  domain: this.env.domain,
24273
24355
  clientId: this.env.clientId,
24274
24356
  clientSecret: this.env.clientSecret ?? "",
@@ -24291,7 +24373,7 @@ let ye = class extends E {
24291
24373
  }
24292
24374
  }
24293
24375
  refreshAuthState() {
24294
- this.auth = { isAuthenticated: qt.isAuthenticated() };
24376
+ this.auth = { isAuthenticated: nt.isAuthenticated() };
24295
24377
  }
24296
24378
  };
24297
24379
  ir([
@@ -24340,7 +24422,7 @@ let Bi = class extends E {
24340
24422
  }
24341
24423
  };
24342
24424
  Jc([
24343
- gt({ context: yo, subscribe: !0 }),
24425
+ mt({ context: yo, subscribe: !0 }),
24344
24426
  a({ attribute: !1 })
24345
24427
  ], Bi.prototype, "auth", 2);
24346
24428
  Bi = Jc([
@@ -24368,7 +24450,7 @@ let qi = class extends E {
24368
24450
  }
24369
24451
  };
24370
24452
  Qc([
24371
- gt({ context: yo, subscribe: !0 }),
24453
+ mt({ context: yo, subscribe: !0 }),
24372
24454
  a({ attribute: !1 })
24373
24455
  ], qi.prototype, "auth", 2);
24374
24456
  qi = Qc([
@@ -24398,18 +24480,18 @@ Uo([
24398
24480
  a({ type: String })
24399
24481
  ], hs.prototype, "redirectUrl", 2);
24400
24482
  Uo([
24401
- gt({ context: Mc }),
24483
+ mt({ context: Mc }),
24402
24484
  a({ attribute: !1 })
24403
24485
  ], hs.prototype, "env", 2);
24404
24486
  Uo([
24405
- gt({ context: yo, subscribe: !0 }),
24487
+ mt({ context: yo, subscribe: !0 }),
24406
24488
  a({ attribute: !1 })
24407
24489
  ], hs.prototype, "auth", 2);
24408
24490
  hs = Uo([
24409
24491
  h("sb-authenticated")
24410
24492
  ], hs);
24411
24493
  function v0() {
24412
- return qt;
24494
+ return nt;
24413
24495
  }
24414
24496
  export {
24415
24497
  Ad as BaseElement,
@@ -24443,7 +24525,7 @@ export {
24443
24525
  so as SbSpinnerRenderer,
24444
24526
  Ys as SbTextRenderer,
24445
24527
  fe as SbUrlsInfo,
24446
- Pt as SbUserProfile,
24528
+ It as SbUserProfile,
24447
24529
  Ve as SbWatermark,
24448
24530
  io as SbWatermarkRenderer,
24449
24531
  qi as SignedIn,