@pontive/pontkit-core 1.7.4 → 1.7.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
@@ -1031,7 +1031,7 @@ const gt = (t) => {
1031
1031
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1032
1032
  Bg.test(t) && !Fg.test(t)
1033
1033
  ), xh = () => !1, Xg = (t) => zg.test(t), tm = (t) => Vg.test(t), em = () => {
1034
- const t = gt("colors"), e = gt("spacing"), n = gt("blur"), o = gt("brightness"), r = gt("borderColor"), i = gt("borderRadius"), s = gt("borderSpacing"), c = gt("borderWidth"), d = gt("contrast"), g = gt("grayscale"), v = gt("hueRotate"), y = gt("invert"), w = gt("gap"), _ = gt("gradientColorStops"), S = gt("gradientColorStopPositions"), E = gt("inset"), k = gt("margin"), I = gt("opacity"), q = gt("padding"), B = gt("saturate"), N = gt("scale"), ut = gt("sepia"), M = gt("skew"), U = gt("space"), j = gt("translate"), T = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", W, e], C = () => [W, e], z = () => ["", _r, Mr], K = () => ["auto", Qn, W], Se = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ve = () => ["solid", "dashed", "dotted", "double", "none"], Oi = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], qn = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], an = () => ["", "0", W], Bn = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Xt = () => [Qn, W];
1034
+ const t = gt("colors"), e = gt("spacing"), n = gt("blur"), o = gt("brightness"), r = gt("borderColor"), i = gt("borderRadius"), s = gt("borderSpacing"), c = gt("borderWidth"), d = gt("contrast"), g = gt("grayscale"), v = gt("hueRotate"), y = gt("invert"), w = gt("gap"), _ = gt("gradientColorStops"), S = gt("gradientColorStopPositions"), E = gt("inset"), k = gt("margin"), I = gt("opacity"), q = gt("padding"), B = gt("saturate"), N = gt("scale"), ut = gt("sepia"), M = gt("skew"), U = gt("space"), j = gt("translate"), T = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", W, e], C = () => [W, e], z = () => ["", _r, Mr], K = () => ["auto", Qn, W], Ee = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ve = () => ["solid", "dashed", "dotted", "double", "none"], Oi = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], qn = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], an = () => ["", "0", W], Bn = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Xt = () => [Qn, W];
1035
1035
  return {
1036
1036
  cacheSize: 500,
1037
1037
  separator: ":",
@@ -1154,7 +1154,7 @@ const gt = (t) => {
1154
1154
  * @see https://tailwindcss.com/docs/object-position
1155
1155
  */
1156
1156
  "object-position": [{
1157
- object: [...Se(), W]
1157
+ object: [...Ee(), W]
1158
1158
  }],
1159
1159
  /**
1160
1160
  * Overflow
@@ -1963,7 +1963,7 @@ const gt = (t) => {
1963
1963
  * @see https://tailwindcss.com/docs/background-position
1964
1964
  */
1965
1965
  "bg-position": [{
1966
- bg: [...Se(), Wg]
1966
+ bg: [...Ee(), Wg]
1967
1967
  }],
1968
1968
  /**
1969
1969
  * Background Repeat
@@ -5621,7 +5621,7 @@ var Mf = Object.defineProperty, Nf = Object.getOwnPropertyDescriptor, ar = (t, e
5621
5621
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
5622
5622
  return o && r && Mf(e, n, r), r;
5623
5623
  };
5624
- let Re = class extends f {
5624
+ let Pe = class extends f {
5625
5625
  constructor() {
5626
5626
  super(...arguments), this.value = "on";
5627
5627
  }
@@ -5729,34 +5729,34 @@ let Re = class extends f {
5729
5729
  };
5730
5730
  ar([
5731
5731
  a({ attribute: "default-checked", type: Boolean })
5732
- ], Re.prototype, "defaultChecked", 2);
5732
+ ], Pe.prototype, "defaultChecked", 2);
5733
5733
  ar([
5734
5734
  a({ attribute: !0, type: Boolean })
5735
- ], Re.prototype, "checked", 2);
5735
+ ], Pe.prototype, "checked", 2);
5736
5736
  ar([
5737
5737
  a({ attribute: !1, type: Function })
5738
- ], Re.prototype, "onCheckedChange", 2);
5738
+ ], Pe.prototype, "onCheckedChange", 2);
5739
5739
  ar([
5740
5740
  a({ type: Boolean })
5741
- ], Re.prototype, "disabled", 2);
5741
+ ], Pe.prototype, "disabled", 2);
5742
5742
  ar([
5743
5743
  a({ type: Boolean })
5744
- ], Re.prototype, "required", 2);
5744
+ ], Pe.prototype, "required", 2);
5745
5745
  ar([
5746
5746
  a({ type: Boolean })
5747
- ], Re.prototype, "invalid", 2);
5747
+ ], Pe.prototype, "invalid", 2);
5748
5748
  ar([
5749
5749
  a({ type: String })
5750
- ], Re.prototype, "name", 2);
5750
+ ], Pe.prototype, "name", 2);
5751
5751
  ar([
5752
5752
  a({ type: String })
5753
- ], Re.prototype, "value", 2);
5753
+ ], Pe.prototype, "value", 2);
5754
5754
  ar([
5755
5755
  m()
5756
- ], Re.prototype, "_checked", 2);
5757
- Re = ar([
5756
+ ], Pe.prototype, "_checked", 2);
5757
+ Pe = ar([
5758
5758
  p("pont-checkbox")
5759
- ], Re);
5759
+ ], Pe);
5760
5760
  var Uf = Object.getOwnPropertyDescriptor, jf = (t, e, n, o) => {
5761
5761
  for (var r = o > 1 ? void 0 : o ? Uf(e, n) : e, i = t.length - 1, s; i >= 0; i--)
5762
5762
  (s = t[i]) && (r = s(r) || r);
@@ -6330,12 +6330,12 @@ hi([
6330
6330
  vn = hi([
6331
6331
  p("pont-combo-box-group")
6332
6332
  ], vn);
6333
- var Qf = Object.defineProperty, Xf = Object.getOwnPropertyDescriptor, Ne = (t, e, n, o) => {
6333
+ var Qf = Object.defineProperty, Xf = Object.getOwnPropertyDescriptor, Me = (t, e, n, o) => {
6334
6334
  for (var r = o > 1 ? void 0 : o ? Xf(e, n) : e, i = t.length - 1, s; i >= 0; i--)
6335
6335
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
6336
6336
  return o && r && Qf(e, n, r), r;
6337
6337
  };
6338
- let me = class extends b {
6338
+ let ge = class extends b {
6339
6339
  constructor() {
6340
6340
  super(...arguments), this.value = "", this.key = "", this.tabindex = 0, this.isSelected = !1, this.isFocus = !1, this.class = "", this.selectItemIndex = -1, this.onSelect = (t, e) => {
6341
6341
  }, this.onMouseOver = (t, e) => {
@@ -6384,39 +6384,39 @@ let me = class extends b {
6384
6384
  `;
6385
6385
  }
6386
6386
  };
6387
- Ne([
6387
+ Me([
6388
6388
  a({ type: String })
6389
- ], me.prototype, "value", 2);
6390
- Ne([
6389
+ ], ge.prototype, "value", 2);
6390
+ Me([
6391
6391
  a({ type: String })
6392
- ], me.prototype, "key", 2);
6393
- Ne([
6392
+ ], ge.prototype, "key", 2);
6393
+ Me([
6394
6394
  a({ type: Number })
6395
- ], me.prototype, "tabindex", 2);
6396
- Ne([
6395
+ ], ge.prototype, "tabindex", 2);
6396
+ Me([
6397
6397
  a({ type: Boolean })
6398
- ], me.prototype, "isSelected", 2);
6399
- Ne([
6398
+ ], ge.prototype, "isSelected", 2);
6399
+ Me([
6400
6400
  a({ type: Boolean })
6401
- ], me.prototype, "isFocus", 2);
6402
- Ne([
6401
+ ], ge.prototype, "isFocus", 2);
6402
+ Me([
6403
6403
  a({ type: String })
6404
- ], me.prototype, "class", 2);
6405
- Ne([
6404
+ ], ge.prototype, "class", 2);
6405
+ Me([
6406
6406
  a({ type: Number })
6407
- ], me.prototype, "selectItemIndex", 2);
6408
- Ne([
6407
+ ], ge.prototype, "selectItemIndex", 2);
6408
+ Me([
6409
6409
  a({ type: Function })
6410
- ], me.prototype, "onSelect", 2);
6411
- Ne([
6410
+ ], ge.prototype, "onSelect", 2);
6411
+ Me([
6412
6412
  a({ type: Function })
6413
- ], me.prototype, "onMouseOver", 2);
6414
- Ne([
6413
+ ], ge.prototype, "onMouseOver", 2);
6414
+ Me([
6415
6415
  ci("#pont-combo-box-item")
6416
- ], me.prototype, "itemDivContainer", 2);
6417
- me = Ne([
6416
+ ], ge.prototype, "itemDivContainer", 2);
6417
+ ge = Me([
6418
6418
  p("pont-combo-box-item")
6419
- ], me);
6419
+ ], ge);
6420
6420
  var tv = Object.defineProperty, ev = Object.getOwnPropertyDescriptor, Fl = (t, e, n, o) => {
6421
6421
  for (var r = o > 1 ? void 0 : o ? ev(e, n) : e, i = t.length - 1, s; i >= 0; i--)
6422
6422
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -7943,7 +7943,7 @@ Gh([
7943
7943
  Ha = Gh([
7944
7944
  p("pont-date-picker")
7945
7945
  ], Ha);
7946
- const xe = {
7946
+ const Se = {
7947
7947
  root: [""],
7948
7948
  trigger: [""],
7949
7949
  // TODO: `pont-dialog-portal` does not exist
@@ -8035,7 +8035,7 @@ let gd = class extends b {
8035
8035
  return l`
8036
8036
  <div
8037
8037
  part="dialog-close"
8038
- class=${u(xe.close, this.className)}
8038
+ class=${u(Se.close, this.className)}
8039
8039
  ></div>
8040
8040
  `;
8041
8041
  }
@@ -8090,7 +8090,7 @@ let Yi = class extends b {
8090
8090
  <div
8091
8091
  rtgdlg-content
8092
8092
  part="dialog-content"
8093
- class=${u(xe.content.base, this.className)}
8093
+ class=${u(Se.content.base, this.className)}
8094
8094
  >
8095
8095
  <div part="dialog-content-slot"></div>
8096
8096
 
@@ -8099,7 +8099,7 @@ let Yi = class extends b {
8099
8099
  data-slot="dialog-content-close"
8100
8100
  type="button"
8101
8101
  @click=${this.handleCloseButtonClick}
8102
- class=${u(xe.content.close.base)}
8102
+ class=${u(Se.content.close.base)}
8103
8103
  >
8104
8104
  <svg
8105
8105
  xmlns="http://www.w3.org/2000/svg"
@@ -8112,7 +8112,7 @@ let Yi = class extends b {
8112
8112
  stroke-linecap="round"
8113
8113
  stroke-linejoin="round"
8114
8114
  class=${u(
8115
- xe.content.close.icon,
8115
+ Se.content.close.icon,
8116
8116
  "lucide lucide-x-icon lucide-x"
8117
8117
  )}
8118
8118
  >
@@ -8158,7 +8158,7 @@ let md = class extends b {
8158
8158
  return l`
8159
8159
  <div
8160
8160
  part="dialog-footer"
8161
- class=${u(xe.footer, this.className)}
8161
+ class=${u(Se.footer, this.className)}
8162
8162
  ></div>
8163
8163
  `;
8164
8164
  }
@@ -8182,11 +8182,11 @@ let Zi = class extends f {
8182
8182
  return l`
8183
8183
  <div
8184
8184
  part="dialog-header"
8185
- class=${u(xe.header, this.className)}
8185
+ class=${u(Se.header, this.className)}
8186
8186
  >
8187
- <h2 class=${u(xe.title, this.className)}>${this._title}</h2>
8187
+ <h2 class=${u(Se.title, this.className)}>${this._title}</h2>
8188
8188
 
8189
- <p class=${u(xe.description, this.className)}>
8189
+ <p class=${u(Se.description, this.className)}>
8190
8190
  ${this.description}
8191
8191
  </p>
8192
8192
  </div>
@@ -8215,7 +8215,7 @@ let fd = class extends f {
8215
8215
  return l`
8216
8216
  <div
8217
8217
  part="dialog-overly"
8218
- class=${u(xe.overlay, this.className)}
8218
+ class=${u(Se.overlay, this.className)}
8219
8219
  ></div>
8220
8220
  `;
8221
8221
  }
@@ -8263,7 +8263,7 @@ let vd = class extends b {
8263
8263
  return l`
8264
8264
  <div
8265
8265
  part="dialog-trigger"
8266
- class=${u(xe.trigger, this.className)}
8266
+ class=${u(Se.trigger, this.className)}
8267
8267
  ></div>
8268
8268
  `;
8269
8269
  }
@@ -8307,7 +8307,7 @@ let oo = class extends b {
8307
8307
  <div
8308
8308
  rtgdlg-root
8309
8309
  part="dialog"
8310
- class=${u(xe.root, this.className)}
8310
+ class=${u(Se.root, this.className)}
8311
8311
  >
8312
8312
  ${this.state === lb ? l` <pont-dialog-overlay></pont-dialog-overlay>` : h}
8313
8313
  </div>
@@ -12501,7 +12501,7 @@ var J_ = Object.defineProperty, Q_ = Object.getOwnPropertyDescriptor, In = (t, e
12501
12501
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
12502
12502
  return o && r && J_(e, n, r), r;
12503
12503
  };
12504
- let Ie = class extends b {
12504
+ let Re = class extends b {
12505
12505
  constructor() {
12506
12506
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
12507
12507
  }
@@ -12524,7 +12524,7 @@ let Ie = class extends b {
12524
12524
  const t = (n = (e = this.parentElement) == null ? void 0 : e.shadowRoot) == null ? void 0 : n.querySelector("div[rtgcmd-group]");
12525
12525
  return t ? this._id = `${t.getAttribute(
12526
12526
  "id"
12527
- )}li${Ie._counter++}` : this._id = `rtgcmdrxgxli${Ie._counter++}`, this._id;
12527
+ )}li${Re._counter++}` : this._id = `rtgcmdrxgxli${Re._counter++}`, this._id;
12528
12528
  }
12529
12529
  get value() {
12530
12530
  var t;
@@ -12583,28 +12583,28 @@ let Ie = class extends b {
12583
12583
  `;
12584
12584
  }
12585
12585
  };
12586
- Ie._counter = 0;
12586
+ Re._counter = 0;
12587
12587
  In([
12588
12588
  a({ type: String })
12589
- ], Ie.prototype, "_id", 2);
12589
+ ], Re.prototype, "_id", 2);
12590
12590
  In([
12591
12591
  a({ attribute: "aria-hidden", type: String })
12592
- ], Ie.prototype, "_hidden", 2);
12592
+ ], Re.prototype, "_hidden", 2);
12593
12593
  In([
12594
12594
  a({ attribute: "data-value", type: String })
12595
- ], Ie.prototype, "value", 1);
12595
+ ], Re.prototype, "value", 1);
12596
12596
  In([
12597
12597
  a({ type: Boolean })
12598
- ], Ie.prototype, "selected", 2);
12598
+ ], Re.prototype, "selected", 2);
12599
12599
  In([
12600
12600
  a({ type: Boolean })
12601
- ], Ie.prototype, "checked", 2);
12601
+ ], Re.prototype, "checked", 2);
12602
12602
  In([
12603
12603
  a({ type: Boolean })
12604
- ], Ie.prototype, "disabled", 2);
12605
- Ie = In([
12604
+ ], Re.prototype, "disabled", 2);
12605
+ Re = In([
12606
12606
  p("pont-menubar-checkbox-item")
12607
- ], Ie);
12607
+ ], Re);
12608
12608
  var X_ = Object.defineProperty, tw = Object.getOwnPropertyDescriptor, Co = (t, e, n, o) => {
12609
12609
  for (var r = o > 1 ? void 0 : o ? tw(e, n) : e, i = t.length - 1, s; i >= 0; i--)
12610
12610
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -12966,7 +12966,7 @@ var aw = Object.defineProperty, lw = Object.getOwnPropertyDescriptor, Tn = (t, e
12966
12966
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
12967
12967
  return o && r && aw(e, n, r), r;
12968
12968
  };
12969
- let Te = class extends b {
12969
+ let Ie = class extends b {
12970
12970
  constructor() {
12971
12971
  super(...arguments), this._id = "", this._hidden = "", this.selected = !1, this.checked = !1, this.disabled = !1;
12972
12972
  }
@@ -12987,7 +12987,7 @@ let Te = class extends b {
12987
12987
  if (this._id !== "")
12988
12988
  return this._id;
12989
12989
  const t = (n = (e = this.parentElement) == null ? void 0 : e.shadowRoot) == null ? void 0 : n.querySelector("div[rtgcmd-group]");
12990
- return t ? this._id = `${t.getAttribute("id")}li${Te._counter++}` : this._id = `rtgcmdrxgxli${Te._counter++}`, this._id;
12990
+ return t ? this._id = `${t.getAttribute("id")}li${Ie._counter++}` : this._id = `rtgcmdrxgxli${Ie._counter++}`, this._id;
12991
12991
  }
12992
12992
  get value() {
12993
12993
  var t;
@@ -13046,28 +13046,28 @@ let Te = class extends b {
13046
13046
  `;
13047
13047
  }
13048
13048
  };
13049
- Te._counter = 0;
13049
+ Ie._counter = 0;
13050
13050
  Tn([
13051
13051
  a({ type: String })
13052
- ], Te.prototype, "_id", 2);
13052
+ ], Ie.prototype, "_id", 2);
13053
13053
  Tn([
13054
13054
  a({ attribute: "aria-hidden", type: String })
13055
- ], Te.prototype, "_hidden", 2);
13055
+ ], Ie.prototype, "_hidden", 2);
13056
13056
  Tn([
13057
13057
  a({ attribute: "data-value", type: String })
13058
- ], Te.prototype, "value", 1);
13058
+ ], Ie.prototype, "value", 1);
13059
13059
  Tn([
13060
13060
  a({ type: Boolean })
13061
- ], Te.prototype, "selected", 2);
13061
+ ], Ie.prototype, "selected", 2);
13062
13062
  Tn([
13063
13063
  a({ type: Boolean })
13064
- ], Te.prototype, "checked", 2);
13064
+ ], Ie.prototype, "checked", 2);
13065
13065
  Tn([
13066
13066
  a({ type: Boolean })
13067
- ], Te.prototype, "disabled", 2);
13068
- Te = Tn([
13067
+ ], Ie.prototype, "disabled", 2);
13068
+ Ie = Tn([
13069
13069
  p("pont-menubar-radio-item")
13070
- ], Te);
13070
+ ], Ie);
13071
13071
  var cw = Object.defineProperty, dw = Object.getOwnPropertyDescriptor, ic = (t, e, n, o) => {
13072
13072
  for (var r = o > 1 ? void 0 : o ? dw(e, n) : e, i = t.length - 1, s; i >= 0; i--)
13073
13073
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -13618,7 +13618,7 @@ let op = class extends b {
13618
13618
  op = Pw([
13619
13619
  p("pont-navigation-menu")
13620
13620
  ], op);
13621
- const Oe = {
13621
+ const xe = {
13622
13622
  root: ["pont-flex", "pont-justify-center", "pont-mx-auto", "pont-w-full"],
13623
13623
  content: [
13624
13624
  "pont-flex",
@@ -13669,7 +13669,7 @@ let ip = class extends b {
13669
13669
  <ul
13670
13670
  data-slot="pagination-content"
13671
13671
  part="pagination-content"
13672
- class=${u(Oe.content, this.className)}
13672
+ class=${u(xe.content, this.className)}
13673
13673
  ></ul>
13674
13674
  `;
13675
13675
  }
@@ -13698,7 +13698,7 @@ let sp = class extends b {
13698
13698
  aria-hidden
13699
13699
  data-slot="pagination-ellipsis"
13700
13700
  part="pagination-ellipsis"
13701
- class=${u(Oe.ellipsis.base, this.className)}
13701
+ class=${u(xe.ellipsis.base, this.className)}
13702
13702
  >
13703
13703
  <svg
13704
13704
  xmlns="http://www.w3.org/2000/svg"
@@ -13711,7 +13711,7 @@ let sp = class extends b {
13711
13711
  stroke-linecap="round"
13712
13712
  stroke-linejoin="round"
13713
13713
  class=${u(
13714
- Oe.ellipsis.icon,
13714
+ xe.ellipsis.icon,
13715
13715
  "lucide lucide-ellipsis-icon lucide-ellipsis"
13716
13716
  )}
13717
13717
  >
@@ -13720,7 +13720,7 @@ let sp = class extends b {
13720
13720
  <circle cx="5" cy="12" r="1" />
13721
13721
  </svg>
13722
13722
 
13723
- <span class=${u(Oe.ellipsis.span)}>More pages</span>
13723
+ <span class=${u(xe.ellipsis.span)}>More pages</span>
13724
13724
  </span>
13725
13725
  `;
13726
13726
  }
@@ -13759,7 +13759,7 @@ let xn = class extends b {
13759
13759
  id="${this.id}"
13760
13760
  href="${this.href}"
13761
13761
  class=${u(
13762
- Oe.link({
13762
+ xe.link({
13763
13763
  variant: this.isActive ? "outline" : "ghost",
13764
13764
  size: this.size
13765
13765
  }),
@@ -13845,7 +13845,7 @@ let is = class extends b {
13845
13845
  <li
13846
13846
  data-slot="pagination-item"
13847
13847
  part="pagination-item"
13848
- class=${u(Oe.item, this.className)}
13848
+ class=${u(xe.item, this.className)}
13849
13849
  @click="${this.handleClick}"
13850
13850
  ></li>
13851
13851
  `;
@@ -13884,9 +13884,9 @@ let sl = class extends b {
13884
13884
  aria-label="Go to next page"
13885
13885
  size="default"
13886
13886
  href=${this.href}
13887
- class=${u(Oe.next.base, this.className)}
13887
+ class=${u(xe.next.base, this.className)}
13888
13888
  >
13889
- <span class=${u(Oe.next.span)}>Next</span>
13889
+ <span class=${u(xe.next.span)}>Next</span>
13890
13890
 
13891
13891
  <svg
13892
13892
  xmlns="http://www.w3.org/2000/svg"
@@ -13938,7 +13938,7 @@ let al = class extends b {
13938
13938
  aria-label="Go to previous page"
13939
13939
  size="default"
13940
13940
  href=${this.href}
13941
- class=${u(Oe.previous.base, this.className)}
13941
+ class=${u(xe.previous.base, this.className)}
13942
13942
  >
13943
13943
  <svg
13944
13944
  xmlns="http://www.w3.org/2000/svg"
@@ -13955,7 +13955,7 @@ let al = class extends b {
13955
13955
  <path d="m15 18-6-6 6-6" />
13956
13956
  </svg>
13957
13957
 
13958
- <span class=${u(Oe.previous.span)}>Previous</span>
13958
+ <span class=${u(xe.previous.span)}>Previous</span>
13959
13959
 
13960
13960
  <div part="pagination-previous"></div>
13961
13961
  </pont-pagination-link>
@@ -13990,7 +13990,7 @@ let ap = class extends b {
13990
13990
  aria-label="pagination"
13991
13991
  data-slot="pagination"
13992
13992
  part="pagination"
13993
- class=${u(Oe.root, this.className)}
13993
+ class=${u(xe.root, this.className)}
13994
13994
  ></nav>
13995
13995
  `;
13996
13996
  }
@@ -14503,7 +14503,7 @@ class e$ {
14503
14503
  this.state.selectedValue = e, this.state.selectedText = n, this.state.isOpen = !1, this.notify();
14504
14504
  }
14505
14505
  }
14506
- const Pe = {
14506
+ const Oe = {
14507
14507
  root: ["pont-font-select-font-family"],
14508
14508
  value: [
14509
14509
  "pont-flex",
@@ -14655,7 +14655,7 @@ let Zr = class extends b {
14655
14655
  <div
14656
14656
  part="select"
14657
14657
  data-select-uuid=${this.uuid}
14658
- class=${u(Pe.root, this.className)}
14658
+ class=${u(Oe.root, this.className)}
14659
14659
  ></div>
14660
14660
  `;
14661
14661
  }
@@ -14800,12 +14800,12 @@ let ss = class extends b {
14800
14800
  <div
14801
14801
  part="select-group"
14802
14802
  data-slot="select-content"
14803
- class="${u(Pe.content.content, this.className)}"
14803
+ class="${u(Oe.content.content, this.className)}"
14804
14804
  style="${i$(this._dropdownStyle)}"
14805
14805
  >
14806
14806
  <div
14807
14807
  part="select-viewport"
14808
- class="${u(Pe.content.viewport)}"
14808
+ class="${u(Oe.content.viewport)}"
14809
14809
  ></div>
14810
14810
  </div>
14811
14811
  `;
@@ -14885,7 +14885,7 @@ let Jr = class extends b {
14885
14885
  ${Yt(t)}
14886
14886
  part="select-item"
14887
14887
  @click=${this.handleClick}
14888
- class=${u(Pe.item.item, this.className)}
14888
+ class=${u(Oe.item.item, this.className)}
14889
14889
  data-hs-select-value=${this.value}
14890
14890
  aria-selected="${this.isSelected}"
14891
14891
  data-selected="${this.isSelected}"
@@ -14893,7 +14893,7 @@ let Jr = class extends b {
14893
14893
  ${this.isSelected ? l`
14894
14894
  <span
14895
14895
  part="select-item-indicator"
14896
- class=${u(Pe.item.indicator)}
14896
+ class=${u(Oe.item.indicator)}
14897
14897
  >
14898
14898
  <svg
14899
14899
  xmlns="http://www.w3.org/2000/svg"
@@ -14906,7 +14906,7 @@ let Jr = class extends b {
14906
14906
  stroke-linecap="round"
14907
14907
  stroke-linejoin="round"
14908
14908
  class=${u(
14909
- Pe.item.icon,
14909
+ Oe.item.icon,
14910
14910
  "lucide lucide-check-icon lucide-check"
14911
14911
  )}
14912
14912
  >
@@ -14960,7 +14960,7 @@ let cp = class extends b {
14960
14960
  return l`
14961
14961
  <div
14962
14962
  part="select-label"
14963
- class=${u(Pe.label, this.className)}
14963
+ class=${u(Oe.label, this.className)}
14964
14964
  ></div>
14965
14965
  `;
14966
14966
  }
@@ -15028,7 +15028,7 @@ let ls = class extends f {
15028
15028
  rtgcmd-separator
15029
15029
  part="select-separator"
15030
15030
  role="separator"
15031
- class=${u(Pe.separator, this.className)}
15031
+ class=${u(Oe.separator, this.className)}
15032
15032
  ></div>
15033
15033
  `;
15034
15034
  }
@@ -15111,7 +15111,7 @@ let pl = class extends b {
15111
15111
  render() {
15112
15112
  var o;
15113
15113
  const t = this.getClassAttribute(), e = this.filterConflictingWidthClasses(
15114
- Pe.trigger.trigger,
15114
+ Oe.trigger.trigger,
15115
15115
  t
15116
15116
  ), n = ((o = this._select) == null ? void 0 : o.disabled) || !1;
15117
15117
  return l`
@@ -15145,7 +15145,7 @@ let pl = class extends b {
15145
15145
  stroke-linecap="round"
15146
15146
  stroke-linejoin="round"
15147
15147
  class=${u(
15148
- Pe.trigger.icon,
15148
+ Oe.trigger.icon,
15149
15149
  "lucide lucide-chevron-down-icon lucide-chevron-down"
15150
15150
  )}
15151
15151
  >
@@ -15195,7 +15195,7 @@ let hl = class extends b {
15195
15195
  }
15196
15196
  render() {
15197
15197
  return l`
15198
- <span part="select-value" class=${u(Pe.value, this.className)}>
15198
+ <span part="select-value" class=${u(Oe.value, this.className)}>
15199
15199
  ${this.renderLabel()}
15200
15200
  </span>
15201
15201
  `;
@@ -17322,14 +17322,14 @@ var Ye, M1 = (Ye = class {
17322
17322
  clear() {
17323
17323
  this.data.clear();
17324
17324
  }
17325
- }, R(Ye, "instance"), Ye), lt = M1.Instance, Ze, Vo = (Ze = class {
17325
+ }, R(Ye, "instance"), Ye), ct = M1.Instance, Ze, Vo = (Ze = class {
17326
17326
  constructor() {
17327
17327
  }
17328
17328
  static get Instance() {
17329
17329
  return Ze.instance || (Ze.instance = new Ze()), Ze.instance;
17330
17330
  }
17331
17331
  async request(e, n = {}) {
17332
- const o = lt.getConfig(), r = `${lt.getApiBaseUrl()}${e}`, i = 5e4, s = new AbortController(), c = setTimeout(() => s.abort(), i);
17332
+ const o = ct.getConfig(), r = `${ct.getApiBaseUrl()}${e}`, i = 5e4, s = new AbortController(), c = setTimeout(() => s.abort(), i);
17333
17333
  try {
17334
17334
  const d = await fetch(r, {
17335
17335
  ...n,
@@ -17376,7 +17376,7 @@ var Ye, M1 = (Ye = class {
17376
17376
  * as get() does.
17377
17377
  */
17378
17378
  async getOptional(e) {
17379
- const n = lt.getConfig(), o = await fetch(`${lt.getApiBaseUrl()}${e}`, {
17379
+ const n = ct.getConfig(), o = await fetch(`${ct.getApiBaseUrl()}${e}`, {
17380
17380
  credentials: "include",
17381
17381
  method: "GET",
17382
17382
  headers: { ...n.headers }
@@ -17438,12 +17438,12 @@ function U1() {
17438
17438
  }
17439
17439
  }
17440
17440
  function j1(t) {
17441
- return t !== "" || lt.apiIsSameOrigin();
17441
+ return t !== "" || ct.apiIsSameOrigin();
17442
17442
  }
17443
17443
  function q1() {
17444
17444
  let t;
17445
17445
  try {
17446
- t = new URL(lt.getApiBaseUrl()).hostname;
17446
+ t = new URL(ct.getApiBaseUrl()).hostname;
17447
17447
  } catch {
17448
17448
  return "";
17449
17449
  }
@@ -17545,7 +17545,7 @@ var Ht, Zt = (Ht = class {
17545
17545
  }
17546
17546
  /** Channel and lock names are per app, so unrelated apps on one origin do not queue behind each other. */
17547
17547
  channelKey(e) {
17548
- const n = lt.getConfig();
17548
+ const n = ct.getConfig();
17549
17549
  return `pontive-${e}:${(n == null ? void 0 : n.domain) ?? ""}:${(n == null ? void 0 : n.appId) ?? ""}`;
17550
17550
  }
17551
17551
  ensureChannel() {
@@ -17790,7 +17790,7 @@ var Ht, Zt = (Ht = class {
17790
17790
  const o = {
17791
17791
  ...n,
17792
17792
  grant_type: "refresh_token",
17793
- client_id: (i = lt.getConfig()) == null ? void 0 : i.appId
17793
+ client_id: (i = ct.getConfig()) == null ? void 0 : i.appId
17794
17794
  };
17795
17795
  e != null && e.refresh_token && (o.refresh_token = e.refresh_token);
17796
17796
  const r = await Vo.Instance.postForm("/oauth2/token", o);
@@ -17826,7 +17826,7 @@ var Ht, Zt = (Ht = class {
17826
17826
  */
17827
17827
  async readCurrentToken() {
17828
17828
  var n;
17829
- const e = (n = lt.getConfig()) == null ? void 0 : n.appId;
17829
+ const e = (n = ct.getConfig()) == null ? void 0 : n.appId;
17830
17830
  if (!e)
17831
17831
  return null;
17832
17832
  try {
@@ -18058,7 +18058,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18058
18058
  }
18059
18059
  return "navigate";
18060
18060
  }
18061
- }, ue, K1 = (ue = class {
18061
+ }, he, K1 = (he = class {
18062
18062
  constructor(e, n, o = window.location, r, i) {
18063
18063
  R(this, "httpClient", Vo.Instance);
18064
18064
  R(this, "flowId");
@@ -18083,7 +18083,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18083
18083
  R(this, "linkWatchGeneration", 0);
18084
18084
  /** The flow's last answer said it waits on an emailed link. */
18085
18085
  R(this, "waitingForLink", !1);
18086
- const s = lt.getConfig();
18086
+ const s = ct.getConfig();
18087
18087
  if (!s.domain)
18088
18088
  throw new st("CONFIG_ERROR", "Domain is required");
18089
18089
  if (!s.appId)
@@ -18091,7 +18091,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18091
18091
  this.flowId = e, this.location = o, this.flowStateManager = r || new Iu(), this.flowEventBus = n || new Tu(), this.navigationTypeDetector = i || new G1(), Zt.Instance.cleanExpiredSession(), Zt.Instance.scheduleTokenRefresh();
18092
18092
  }
18093
18093
  static async init(e, n, o, r, i) {
18094
- const s = new ue(
18094
+ const s = new he(
18095
18095
  e,
18096
18096
  n,
18097
18097
  o,
@@ -18178,7 +18178,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18178
18178
  n
18179
18179
  );
18180
18180
  } catch (d) {
18181
- if (s && ue.flowIsGone(d))
18181
+ if (s && he.flowIsGone(d))
18182
18182
  return this.announceContinuedElsewhere(o.flowType, ""), { state: "" };
18183
18183
  throw d;
18184
18184
  }
@@ -18212,7 +18212,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18212
18212
  expires_at: Date.now() + e.expires_in * 1e3
18213
18213
  };
18214
18214
  Zt.Instance.setCurrentSession(n), Zt.Instance.scheduleTokenRefresh(), this.flowStateManager.clearFlowState();
18215
- const { onAuthenticated: o } = lt.getConfig();
18215
+ const { onAuthenticated: o } = ct.getConfig();
18216
18216
  if (o) {
18217
18217
  o(n);
18218
18218
  return;
@@ -18226,7 +18226,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18226
18226
  * Initialize or resume the flow.
18227
18227
  */
18228
18228
  async initializeFlowInternal() {
18229
- const e = lt.getConfig(), n = ms.detect(e, this.location);
18229
+ const e = ct.getConfig(), n = ms.detect(e, this.location);
18230
18230
  this.validateFlowType(n);
18231
18231
  const o = this.flowStateManager.getFlowState();
18232
18232
  return this.shouldResumeFlow(o, n) ? await this.resumeExistingFlow(o, n) : await this.startNewFlow(n);
@@ -18294,7 +18294,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18294
18294
  * Start a new flow.
18295
18295
  */
18296
18296
  async startNewFlow(e) {
18297
- const n = lt.getConfig(), o = new URLSearchParams(this.location.search), r = {};
18297
+ const n = ct.getConfig(), o = new URLSearchParams(this.location.search), r = {};
18298
18298
  o.forEach((d, g) => {
18299
18299
  r[g] = d;
18300
18300
  }), n.organizationId && !r.organization_id && (r.organization_id = n.organizationId), console.log("metadata", r);
@@ -18362,8 +18362,8 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18362
18362
  watchForLink(e, n) {
18363
18363
  if (this.stopWatchingForLink(), this.waitingForLink = n.waiting_for_link === !0, !this.waitingForLink)
18364
18364
  return;
18365
- const o = this.linkWatchGeneration, r = Date.now() + ue.LINK_POLL_LIMIT_MS, i = () => {
18366
- this.linkWatchTimer = setTimeout(s, ue.LINK_POLL_INTERVAL_MS);
18365
+ const o = this.linkWatchGeneration, r = Date.now() + he.LINK_POLL_LIMIT_MS, i = () => {
18366
+ this.linkWatchTimer = setTimeout(s, he.LINK_POLL_INTERVAL_MS);
18367
18367
  }, s = async () => {
18368
18368
  if (o !== this.linkWatchGeneration || Date.now() > r)
18369
18369
  return;
@@ -18377,7 +18377,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18377
18377
  `/auth/v1/authflows/${e}/resume`
18378
18378
  );
18379
18379
  } catch (d) {
18380
- o === this.linkWatchGeneration && ue.flowIsGone(d) && this.announceContinuedElsewhere(e, "");
18380
+ o === this.linkWatchGeneration && he.flowIsGone(d) && this.announceContinuedElsewhere(e, "");
18381
18381
  return;
18382
18382
  }
18383
18383
  if (o === this.linkWatchGeneration) {
@@ -18393,7 +18393,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18393
18393
  /** Another tab continued this flow; this one has nothing left to show but that. */
18394
18394
  announceContinuedElsewhere(e, n) {
18395
18395
  var o, r;
18396
- this.stopWatchingForLink(), this.flowStateManager.clearFlowState(), (r = (o = lt.getConfig()).onFlowStateChange) == null || r.call(o, {
18396
+ this.stopWatchingForLink(), this.flowStateManager.clearFlowState(), (r = (o = ct.getConfig()).onFlowStateChange) == null || r.call(o, {
18397
18397
  eventType: "flow_continued_elsewhere",
18398
18398
  flowType: e,
18399
18399
  state: n
@@ -18415,7 +18415,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18415
18415
  * without the resume that brought it here.
18416
18416
  */
18417
18417
  async handleContinueHere() {
18418
- const { continueHereUrl: e } = lt.getConfig();
18418
+ const { continueHereUrl: e } = ct.getConfig();
18419
18419
  this.flowStateManager.clearFlowState();
18420
18420
  let n = e;
18421
18421
  if (!n) {
@@ -18428,14 +18428,14 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18428
18428
  * Handle switch to signin event.
18429
18429
  */
18430
18430
  async handleSwitchToSignin() {
18431
- const e = lt.getConfig();
18431
+ const e = ct.getConfig();
18432
18432
  return this.redirect({ url: this.withCurrentQuery(e.signinUrl), redirect_delay: 0 }), { state: "End" };
18433
18433
  }
18434
18434
  /**
18435
18435
  * Handle switch to signup event.
18436
18436
  */
18437
18437
  async handleSwitchToSignup() {
18438
- const e = lt.getConfig();
18438
+ const e = ct.getConfig();
18439
18439
  return this.redirect({ url: this.withCurrentQuery(e.signupUrl), redirect_delay: 0 }), { state: "End" };
18440
18440
  }
18441
18441
  /**
@@ -18489,7 +18489,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18489
18489
  cleanup() {
18490
18490
  this.stopWatchingForLink(), this.redirectTimeoutId && (clearTimeout(this.redirectTimeoutId), this.redirectTimeoutId = null), this.flowEventBus.clear();
18491
18491
  }
18492
- }, R(ue, "LINK_POLL_INTERVAL_MS", 3e3), R(ue, "LINK_POLL_LIMIT_MS", 900 * 1e3), ue), W1 = class {
18492
+ }, R(he, "LINK_POLL_INTERVAL_MS", 3e3), R(he, "LINK_POLL_LIMIT_MS", 900 * 1e3), he), W1 = class {
18493
18493
  constructor(t) {
18494
18494
  R(this, "delayMs");
18495
18495
  R(this, "timerId", null);
@@ -18570,7 +18570,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18570
18570
  }
18571
18571
  console.log("[NavigationManager] Starting popstate processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
18572
18572
  try {
18573
- const e = t.state, n = this.flowStateManager.getFlowState(), o = lt.getConfig(), r = ms.detect(o, this.location);
18573
+ const e = t.state, n = this.flowStateManager.getFlowState(), o = ct.getConfig(), r = ms.detect(o, this.location);
18574
18574
  if (e && this.restoreHistoryStateToSession(e), this.shouldRestartFlow(e, n, r)) {
18575
18575
  await this.triggerFlowRestart();
18576
18576
  return;
@@ -18592,7 +18592,7 @@ R(Br, "INVITE_TOKEN_PARAM", "invite_token"), Br), Tu = class {
18592
18592
  }
18593
18593
  console.log("[NavigationManager] Starting bfcache restoration processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
18594
18594
  try {
18595
- const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n = lt.getConfig(), o = ms.detect(n, this.location);
18595
+ const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n = ct.getConfig(), o = ms.detect(n, this.location);
18596
18596
  if (t && this.restoreHistoryStateToSession(t), this.shouldRestartFlow(t, e, o)) {
18597
18597
  await this.triggerFlowRestart();
18598
18598
  return;
@@ -19104,7 +19104,7 @@ var Je, X1 = (Je = class {
19104
19104
  },
19105
19105
  n
19106
19106
  );
19107
- const o = await K1.init(e, this.flowEventBus), r = lt.getConfig();
19107
+ const o = await K1.init(e, this.flowEventBus), r = ct.getConfig();
19108
19108
  this.startPasskeyAuthentication(o.flowType, !0), this.loginflow = o.sdk;
19109
19109
  const i = {
19110
19110
  flowType: o.flowType,
@@ -19128,7 +19128,7 @@ var Je, X1 = (Je = class {
19128
19128
  "CONFIG_ERROR",
19129
19129
  "domain and appId are required"
19130
19130
  );
19131
- lt.setConfig(e), this.configured = !0, this.configuredResolve();
19131
+ ct.setConfig(e), this.configured = !0, this.configuredResolve();
19132
19132
  }
19133
19133
  /**
19134
19134
  * Resolves once configure() has been called, immediately if it already has.
@@ -19190,7 +19190,7 @@ var Je, X1 = (Je = class {
19190
19190
  async processLoginflowEvent(e) {
19191
19191
  var i, s;
19192
19192
  this.ensureConfigured(), this.ensureLoginflowInitialized();
19193
- const n = lt.getConfig(), o = ms.detect(n, location);
19193
+ const n = ct.getConfig(), o = ms.detect(n, location);
19194
19194
  if (e.event === "signin_with_passkey" && !((i = e.data) != null && i.credential_request)) {
19195
19195
  const c = await this.getPasskeyCredential(o, !1);
19196
19196
  if (!c || !c.cred)
@@ -19360,8 +19360,8 @@ var Je, X1 = (Je = class {
19360
19360
  async signOut(e) {
19361
19361
  var r;
19362
19362
  this.ensureConfigured();
19363
- const n = t0(Zt.Instance.peekSession()), o = ((r = lt.getConfig()) == null ? void 0 : r.appId) ?? "";
19364
- if (vl(), Zt.Instance.clearSession(), Zt.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), !lt.apiIsSameOrigin()) {
19363
+ const n = t0(Zt.Instance.peekSession()), o = ((r = ct.getConfig()) == null ? void 0 : r.appId) ?? "";
19364
+ if (vl(), Zt.Instance.clearSession(), Zt.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), !ct.apiIsSameOrigin()) {
19365
19365
  window.location.assign(this.logoutUrl(n, o, e == null ? void 0 : e.returnTo));
19366
19366
  return;
19367
19367
  }
@@ -19377,7 +19377,7 @@ var Je, X1 = (Je = class {
19377
19377
  */
19378
19378
  async endServerSession(e, n) {
19379
19379
  try {
19380
- await fetch(`${lt.getApiBaseUrl()}/oauth2/logout`, {
19380
+ await fetch(`${ct.getApiBaseUrl()}/oauth2/logout`, {
19381
19381
  method: "POST",
19382
19382
  credentials: "include",
19383
19383
  headers: { "Content-Type": "application/x-www-form-urlencoded" },
@@ -19404,7 +19404,7 @@ var Je, X1 = (Je = class {
19404
19404
  post_logout_redirect_uri: o ?? `${window.location.origin}${window.location.pathname}`,
19405
19405
  client_id: n
19406
19406
  });
19407
- return e && r.set("logout_hint", e), `${lt.getApiBaseUrl()}/oauth2/logout?${r.toString()}`;
19407
+ return e && r.set("logout_hint", e), `${ct.getApiBaseUrl()}/oauth2/logout?${r.toString()}`;
19408
19408
  }
19409
19409
  }, R(Je, "instance"), Je);
19410
19410
  function t0(t) {
@@ -19415,7 +19415,7 @@ function t0(t) {
19415
19415
  return n.sid;
19416
19416
  }
19417
19417
  }
19418
- var dt = X1.Instance, e0 = Object.defineProperty, r0 = (t, e, n, o) => {
19418
+ var lt = X1.Instance, e0 = Object.defineProperty, r0 = (t, e, n, o) => {
19419
19419
  for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
19420
19420
  (s = t[i]) && (r = s(e, n, r) || r);
19421
19421
  return r && e0(e, n, r), r;
@@ -19557,7 +19557,7 @@ class wi {
19557
19557
  }
19558
19558
  }
19559
19559
  const Du = "pont:env", Lu = Symbol("renderSpecContext"), $i = "pont-user-context", ku = "";
19560
- function ge(...t) {
19560
+ function ue(...t) {
19561
19561
  return Oh(kl(t));
19562
19562
  }
19563
19563
  function o0(t) {
@@ -19629,9 +19629,9 @@ function p0(t) {
19629
19629
  function h0(t) {
19630
19630
  return /^https?:\/\//.test(t) || t != null && t.startsWith("data:image/svg+xml;base64,") ? t : `data:image/svg+xml;base64,${t}`;
19631
19631
  }
19632
- function Ue() {
19632
+ function Ne() {
19633
19633
  var t;
19634
- return (t = dt.getCurrentSession()) == null ? void 0 : t.access_token;
19634
+ return (t = lt.getCurrentSession()) == null ? void 0 : t.access_token;
19635
19635
  }
19636
19636
  function _l(t, e = !1) {
19637
19637
  if (!t && t !== 0) return "N/A";
@@ -19728,7 +19728,7 @@ let J = class extends f {
19728
19728
  );
19729
19729
  try {
19730
19730
  if (this.event) {
19731
- const t = await dt.processLoginflowEvent({
19731
+ const t = await lt.processLoginflowEvent({
19732
19732
  event: this.event
19733
19733
  });
19734
19734
  this.dispatchEvent(
@@ -19900,7 +19900,7 @@ let Z = class extends f {
19900
19900
  );
19901
19901
  try {
19902
19902
  if (this.event) {
19903
- const t = await dt.processLoginflowEvent({
19903
+ const t = await lt.processLoginflowEvent({
19904
19904
  event: this.event
19905
19905
  });
19906
19906
  this.dispatchEvent(
@@ -20076,7 +20076,7 @@ ne([
20076
20076
  Z = ne([
20077
20077
  p("pont-provider-button")
20078
20078
  ], Z);
20079
- var _0 = Object.defineProperty, w0 = Object.getOwnPropertyDescriptor, je = (t, e, n, o) => {
20079
+ var _0 = Object.defineProperty, w0 = Object.getOwnPropertyDescriptor, Ue = (t, e, n, o) => {
20080
20080
  for (var r = o > 1 ? void 0 : o ? w0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
20081
20081
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
20082
20082
  return o && r && _0(e, n, r), r;
@@ -20179,37 +20179,37 @@ et.PARTS = {
20179
20179
  root: et.ROOT,
20180
20180
  icon: `${et.ROOT}-${et.ICON}`
20181
20181
  };
20182
- je([
20182
+ Ue([
20183
20183
  a({ type: String })
20184
20184
  ], et.prototype, "seed", 2);
20185
- je([
20185
+ Ue([
20186
20186
  a({ type: String, attribute: "custom-id" })
20187
20187
  ], et.prototype, "customId", 2);
20188
- je([
20188
+ Ue([
20189
20189
  a({ type: String })
20190
20190
  ], et.prototype, "variant", 2);
20191
- je([
20191
+ Ue([
20192
20192
  a({ type: String })
20193
20193
  ], et.prototype, "size", 2);
20194
- je([
20194
+ Ue([
20195
20195
  a({ type: String })
20196
20196
  ], et.prototype, "content", 2);
20197
- je([
20197
+ Ue([
20198
20198
  a({ type: String, attribute: "icon-align" })
20199
20199
  ], et.prototype, "iconAlign", 2);
20200
- je([
20200
+ Ue([
20201
20201
  a({ type: String })
20202
20202
  ], et.prototype, "label", 1);
20203
- je([
20203
+ Ue([
20204
20204
  a({ type: String })
20205
20205
  ], et.prototype, "event", 2);
20206
- je([
20206
+ Ue([
20207
20207
  a({ type: Boolean })
20208
20208
  ], et.prototype, "disabled", 2);
20209
- je([
20209
+ Ue([
20210
20210
  a({ type: Boolean })
20211
20211
  ], et.prototype, "loading", 2);
20212
- et = je([
20212
+ et = Ue([
20213
20213
  p("pont-submit-button")
20214
20214
  ], et);
20215
20215
  var $0 = Object.defineProperty, C0 = Object.getOwnPropertyDescriptor, nt = (t, e, n, o) => {
@@ -20240,7 +20240,7 @@ let $ = class extends f {
20240
20240
  );
20241
20241
  try {
20242
20242
  if (n) {
20243
- const o = await dt.processLoginflowEvent({
20243
+ const o = await lt.processLoginflowEvent({
20244
20244
  event: n
20245
20245
  });
20246
20246
  this.dispatchEvent(
@@ -22571,7 +22571,7 @@ let Y = class extends f {
22571
22571
  );
22572
22572
  try {
22573
22573
  if (o && n === "auth") {
22574
- const r = await dt.processLoginflowEvent({
22574
+ const r = await lt.processLoginflowEvent({
22575
22575
  event: o
22576
22576
  });
22577
22577
  this.dispatchEvent(
@@ -22888,7 +22888,7 @@ function Pp() {
22888
22888
  </svg>
22889
22889
  `;
22890
22890
  }
22891
- function Nu() {
22891
+ function V0() {
22892
22892
  return Q`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22893
22893
  <g clip-path="url(#clip0_549_23445)">
22894
22894
  <path d="M7.99992 4.00004V8.00004L10.6666 9.33337M14.6666 8.00004C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00004C1.33325 4.31814 4.31802 1.33337 7.99992 1.33337C11.6818 1.33337 14.6666 4.31814 14.6666 8.00004Z" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
@@ -22901,13 +22901,13 @@ function Nu() {
22901
22901
  </svg>
22902
22902
  `;
22903
22903
  }
22904
- function V0() {
22904
+ function H0() {
22905
22905
  return Q`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22906
22906
  <path d="M1.33325 14C1.3332 12.9735 1.62934 11.9689 2.18615 11.1066C2.74296 10.2443 3.53677 9.56095 4.47232 9.13865C5.40787 8.71634 6.44541 8.57297 7.46042 8.72575C8.47544 8.87854 9.4248 9.32097 10.1946 9.99997M10.6666 12.6667L11.9999 14L14.6666 11.3333M9.99992 5.33333C9.99992 7.17428 8.50753 8.66667 6.66658 8.66667C4.82564 8.66667 3.33325 7.17428 3.33325 5.33333C3.33325 3.49238 4.82564 2 6.66658 2C8.50753 2 9.99992 3.49238 9.99992 5.33333Z" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
22907
22907
  </svg>
22908
22908
  `;
22909
22909
  }
22910
- function H0() {
22910
+ function G0() {
22911
22911
  return Q`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22912
22912
  <g clip-path="url(#clip0_549_23453)">
22913
22913
  <path d="M5.99992 7.99996L7.33325 9.33329L9.99992 6.66663M2.56655 5.74669C2.46925 5.30838 2.48419 4.85259 2.60999 4.42158C2.73579 3.99058 2.96838 3.59832 3.2862 3.28117C3.60401 2.96402 3.99676 2.73225 4.42802 2.60735C4.85929 2.48245 5.31511 2.46847 5.75322 2.56669C5.99436 2.18956 6.32655 1.8792 6.71919 1.66421C7.11182 1.44923 7.55225 1.33655 7.99988 1.33655C8.44752 1.33655 8.88795 1.44923 9.28058 1.66421C9.67322 1.8792 10.0054 2.18956 10.2466 2.56669C10.6853 2.46804 11.1419 2.48196 11.5739 2.60717C12.0058 2.73237 12.3991 2.96478 12.7171 3.28279C13.0351 3.6008 13.2675 3.99407 13.3927 4.42603C13.5179 4.85798 13.5319 5.31458 13.4332 5.75336C13.8104 5.9945 14.1207 6.32669 14.3357 6.71932C14.5507 7.11196 14.6634 7.55239 14.6634 8.00002C14.6634 8.44766 14.5507 8.88809 14.3357 9.28072C14.1207 9.67336 13.8104 10.0056 13.4332 10.2467C13.5314 10.6848 13.5175 11.1406 13.3926 11.5719C13.2677 12.0032 13.0359 12.3959 12.7187 12.7137C12.4016 13.0315 12.0093 13.2641 11.5783 13.3899C11.1473 13.5157 10.6915 13.5307 10.2532 13.4334C10.0124 13.8119 9.67994 14.1236 9.28663 14.3396C8.89333 14.5555 8.4519 14.6687 8.00322 14.6687C7.55453 14.6687 7.1131 14.5555 6.7198 14.3396C6.3265 14.1236 5.99404 13.8119 5.75322 13.4334C5.31511 13.5316 4.85929 13.5176 4.42802 13.3927C3.99676 13.2678 3.60401 13.036 3.2862 12.7189C2.96838 12.4017 2.73579 12.0095 2.60999 11.5785C2.48419 11.1475 2.46925 10.6917 2.56655 10.2534C2.18652 10.0129 1.87349 9.68014 1.65658 9.28617C1.43967 8.8922 1.32593 8.44976 1.32593 8.00002C1.32593 7.55029 1.43967 7.10785 1.65658 6.71388C1.87349 6.31991 2.18652 5.9872 2.56655 5.74669Z" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
@@ -22920,7 +22920,7 @@ function H0() {
22920
22920
  </svg>
22921
22921
  `;
22922
22922
  }
22923
- function G0() {
22923
+ function K0() {
22924
22924
  return Q`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22925
22925
  <path d="M3.33337 8.00004H12.6667M8.00004 3.33337V12.6667" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
22926
22926
  </svg>
@@ -22931,24 +22931,11 @@ function $l() {
22931
22931
  <path d="M14.0001 14L11.1335 11.1333M12.6667 7.33333C12.6667 10.2789 10.2789 12.6667 7.33333 12.6667C4.38781 12.6667 2 10.2789 2 7.33333C2 4.38781 4.38781 2 7.33333 2C10.2789 2 12.6667 4.38781 12.6667 7.33333Z" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
22932
22932
  </svg>`;
22933
22933
  }
22934
- function Uu() {
22934
+ function Nu() {
22935
22935
  return Q`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22936
22936
  <path d="M2 8C2 6.4087 2.63214 4.88258 3.75736 3.75736C4.88258 2.63214 6.4087 2 8 2C9.67737 2.00631 11.2874 2.66082 12.4933 3.82667L14 5.33333M10.6667 5.33333H14V2M14 8C14 9.5913 13.3679 11.1174 12.2426 12.2426C11.1174 13.3679 9.5913 14 8 14C6.32263 13.9937 4.71265 13.3392 3.50667 12.1733L2 10.6667M2 14V10.6667H5.33333" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
22937
22937
  </svg>`;
22938
22938
  }
22939
- function K0() {
22940
- return Q`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
22941
- <g clip-path="url(#clip0_758_15757)">
22942
- <path d="M11 5.53993V5.99993C10.9994 7.07814 10.6503 8.12727 10.0047 8.99084C9.35908 9.85442 8.45164 10.4862 7.41768 10.7919C6.38372 11.0976 5.27863 11.0609 4.26724 10.6872C3.25584 10.3136 2.39233 9.62298 1.80548 8.71847C1.21863 7.81395 0.939896 6.74396 1.01084 5.66809C1.08178 4.59221 1.4986 3.5681 2.19914 2.74847C2.89968 1.92884 3.84639 1.35762 4.89809 1.12001C5.9498 0.882387 7.05013 0.991101 8.035 1.42993M4.5 5.49988L6 6.99988L11 1.99988" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
22943
- </g>
22944
- <defs>
22945
- <clipPath id="clip0_758_15757">
22946
- <rect width="12" height="12" fill="white"/>
22947
- </clipPath>
22948
- </defs>
22949
- </svg>
22950
- `;
22951
- }
22952
22939
  function W0() {
22953
22940
  return Q`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
22954
22941
  <path d="M9.99976 7.49988V10.8332M9.99976 14.1665H10.0081M18.108 14.9999L11.4414 3.33319C11.296 3.0767 11.0852 2.86335 10.8305 2.71492C10.5757 2.56649 10.2862 2.48828 9.99136 2.48828C9.69654 2.48828 9.40699 2.56649 9.15226 2.71492C8.89753 2.86335 8.68673 3.0767 8.54136 3.33319L1.8747 14.9999C1.72777 15.2543 1.65072 15.5431 1.65137 15.837C1.65202 16.1308 1.73035 16.4192 1.8784 16.673C2.02646 16.9269 2.23899 17.137 2.49444 17.2822C2.7499 17.4274 3.0392 17.5025 3.33303 17.4999H16.6664C16.9588 17.4996 17.246 17.4223 17.4991 17.2759C17.7522 17.1295 17.9624 16.9191 18.1085 16.6658C18.2545 16.4125 18.3314 16.1252 18.3313 15.8328C18.3312 15.5404 18.2542 15.2531 18.108 14.9999Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
@@ -22966,7 +22953,7 @@ var Z0 = Object.defineProperty, J0 = Object.getOwnPropertyDescriptor, Ci = (t, e
22966
22953
  let Ft = class extends f {
22967
22954
  constructor() {
22968
22955
  super(...arguments), this.seed = Bt(), this.identifier = B0.identifier, this.event = "", this._handleClick = () => {
22969
- dt.processLoginflowEvent({ event: this.event });
22956
+ lt.processLoginflowEvent({ event: this.event });
22970
22957
  };
22971
22958
  }
22972
22959
  /* ---------------------------------------- */
@@ -23323,7 +23310,7 @@ function o2() {
23323
23310
  })(ca)), ca;
23324
23311
  }
23325
23312
  var Ri = {}, Np;
23326
- function ju() {
23313
+ function Uu() {
23327
23314
  if (Np) return Ri;
23328
23315
  Np = 1;
23329
23316
  const t = gc(), e = [
@@ -23752,13 +23739,13 @@ function a2() {
23752
23739
  }, pa = e, pa;
23753
23740
  }
23754
23741
  var ha = {}, ua = {}, ga = {}, Bp;
23755
- function qu() {
23742
+ function ju() {
23756
23743
  return Bp || (Bp = 1, ga.isValid = function(e) {
23757
23744
  return !isNaN(e) && e >= 1 && e <= 40;
23758
23745
  }), ga;
23759
23746
  }
23760
23747
  var He = {}, Fp;
23761
- function Bu() {
23748
+ function qu() {
23762
23749
  if (Fp) return He;
23763
23750
  Fp = 1;
23764
23751
  const t = "[0-9]+", e = "[A-Z $%*+\\-./:]+";
@@ -23779,7 +23766,7 @@ function Bu() {
23779
23766
  var zp;
23780
23767
  function Mn() {
23781
23768
  return zp || (zp = 1, (function(t) {
23782
- const e = qu(), n = Bu();
23769
+ const e = ju(), n = qu();
23783
23770
  t.NUMERIC = {
23784
23771
  id: "Numeric",
23785
23772
  bit: 1,
@@ -23841,7 +23828,7 @@ function Mn() {
23841
23828
  var Vp;
23842
23829
  function l2() {
23843
23830
  return Vp || (Vp = 1, (function(t) {
23844
- const e = kn(), n = ju(), o = gc(), r = Mn(), i = qu(), s = 7973, c = e.getBCHDigit(s);
23831
+ const e = kn(), n = Uu(), o = gc(), r = Mn(), i = ju(), s = 7973, c = e.getBCHDigit(s);
23845
23832
  function d(w, _, S) {
23846
23833
  for (let E = 1; E <= 40; E++)
23847
23834
  if (_ <= t.getCapacity(E, S, w))
@@ -24129,7 +24116,7 @@ function g2() {
24129
24116
  var Jp;
24130
24117
  function m2() {
24131
24118
  return Jp || (Jp = 1, (function(t) {
24132
- const e = Mn(), n = d2(), o = p2(), r = h2(), i = u2(), s = Bu(), c = kn(), d = g2();
24119
+ const e = Mn(), n = d2(), o = p2(), r = h2(), i = u2(), s = qu(), c = kn(), d = g2();
24133
24120
  function g(I) {
24134
24121
  return unescape(encodeURIComponent(I)).length;
24135
24122
  }
@@ -24264,7 +24251,7 @@ var Qp;
24264
24251
  function f2() {
24265
24252
  if (Qp) return na;
24266
24253
  Qp = 1;
24267
- const t = kn(), e = gc(), n = t2(), o = e2(), r = r2(), i = n2(), s = o2(), c = ju(), d = a2(), g = l2(), v = c2(), y = Mn(), w = m2();
24254
+ const t = kn(), e = gc(), n = t2(), o = e2(), r = r2(), i = n2(), s = o2(), c = Uu(), d = a2(), g = l2(), v = c2(), y = Mn(), w = m2();
24268
24255
  function _(M, U) {
24269
24256
  const j = M.size, T = i.getPositions(U);
24270
24257
  for (let V = 0; V < T.length; V++) {
@@ -24311,8 +24298,8 @@ function f2() {
24311
24298
  for (z === 6 && z--; ; ) {
24312
24299
  for (let K = 0; K < 2; K++)
24313
24300
  if (!M.isReserved(V, z - K)) {
24314
- let Se = !1;
24315
- C < U.length && (Se = (U[C] >>> F & 1) === 1), M.set(V, z - K, Se), F--, F === -1 && (C++, F = 7);
24301
+ let Ee = !1;
24302
+ C < U.length && (Ee = (U[C] >>> F & 1) === 1), M.set(V, z - K, Ee), F--, F === -1 && (C++, F = 7);
24316
24303
  }
24317
24304
  if (V += T, V < 0 || j <= V) {
24318
24305
  V -= T, T = -T;
@@ -24334,7 +24321,7 @@ function f2() {
24334
24321
  return N(T, M, U);
24335
24322
  }
24336
24323
  function N(M, U, j) {
24337
- const T = t.getSymbolTotalCodewords(U), V = c.getTotalCodewordsCount(U, j), F = T - V, C = c.getBlocksCount(U, j), z = T % C, K = C - z, Se = Math.floor(T / C), Ve = Math.floor(F / C), Oi = Ve + 1, qn = Se - Ve, an = new d(qn);
24324
+ const T = t.getSymbolTotalCodewords(U), V = c.getTotalCodewordsCount(U, j), F = T - V, C = c.getBlocksCount(U, j), z = T % C, K = C - z, Ee = Math.floor(T / C), Ve = Math.floor(F / C), Oi = Ve + 1, qn = Ee - Ve, an = new d(qn);
24338
24325
  let Bn = 0;
24339
24326
  const Xt = new Array(C), Ec = new Array(C);
24340
24327
  let zs = 0;
@@ -24358,12 +24345,12 @@ function f2() {
24358
24345
  if (Array.isArray(M))
24359
24346
  V = w.fromArray(M);
24360
24347
  else if (typeof M == "string") {
24361
- let Se = U;
24362
- if (!Se) {
24348
+ let Ee = U;
24349
+ if (!Ee) {
24363
24350
  const Ve = w.rawSplit(M);
24364
- Se = g.getBestVersionForData(Ve, j);
24351
+ Ee = g.getBestVersionForData(Ve, j);
24365
24352
  }
24366
- V = w.fromString(M, Se || 40);
24353
+ V = w.fromString(M, Ee || 40);
24367
24354
  } else
24368
24355
  throw new Error("Invalid data");
24369
24356
  const F = g.getBestVersionForData(V, j);
@@ -24398,7 +24385,7 @@ Minimum version required to store current data is: ` + F + `.
24398
24385
  }, na;
24399
24386
  }
24400
24387
  var $a = {}, Ca = {}, Xp;
24401
- function Fu() {
24388
+ function Bu() {
24402
24389
  return Xp || (Xp = 1, (function(t) {
24403
24390
  function e(n) {
24404
24391
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
@@ -24454,7 +24441,7 @@ function Fu() {
24454
24441
  var th;
24455
24442
  function v2() {
24456
24443
  return th || (th = 1, (function(t) {
24457
- const e = Fu();
24444
+ const e = Bu();
24458
24445
  function n(r, i, s) {
24459
24446
  r.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = s, i.width = s, i.style.height = s + "px", i.style.width = s + "px";
24460
24447
  }
@@ -24482,7 +24469,7 @@ var Ea = {}, eh;
24482
24469
  function b2() {
24483
24470
  if (eh) return Ea;
24484
24471
  eh = 1;
24485
- const t = Fu();
24472
+ const t = Bu();
24486
24473
  function e(r, i) {
24487
24474
  const s = r.a / 255, c = i + '="' + r.hex + '"';
24488
24475
  return s < 1 ? c + " " + i + '-opacity="' + s.toFixed(2).slice(1) + '"' : c;
@@ -25362,7 +25349,7 @@ var q2 = Object.defineProperty, B2 = Object.getOwnPropertyDescriptor, Ls = (t, e
25362
25349
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
25363
25350
  return o && r && q2(e, n, r), r;
25364
25351
  };
25365
- let fe = class extends f {
25352
+ let me = class extends f {
25366
25353
  constructor() {
25367
25354
  super(...arguments), this.seed = Bt();
25368
25355
  }
@@ -25372,32 +25359,32 @@ let fe = class extends f {
25372
25359
  }
25373
25360
  /* ------------------------------------------------------------ */
25374
25361
  get rootId() {
25375
- return this.customId ?? `${fe.TAG}-${this.seed}`;
25362
+ return this.customId ?? `${me.TAG}-${this.seed}`;
25376
25363
  }
25377
25364
  /* ------------------------------------------------------------ */
25378
25365
  render() {
25379
25366
  return l`
25380
- <pont-field-separator id="${this.rootId}" part="${fe.PARTS.root}">
25367
+ <pont-field-separator id="${this.rootId}" part="${me.PARTS.root}">
25381
25368
  ${this.label ?? h}
25382
25369
  </pont-field-separator>
25383
25370
  `;
25384
25371
  }
25385
25372
  };
25386
- fe.ROOT = "divider";
25387
- fe.TAG = `${Ct}-${fe.ROOT}`;
25388
- fe.PARTS = { root: fe.ROOT };
25373
+ me.ROOT = "divider";
25374
+ me.TAG = `${Ct}-${me.ROOT}`;
25375
+ me.PARTS = { root: me.ROOT };
25389
25376
  Ls([
25390
25377
  a({ type: String })
25391
- ], fe.prototype, "seed", 2);
25378
+ ], me.prototype, "seed", 2);
25392
25379
  Ls([
25393
25380
  a({ type: String, attribute: "custom-id" })
25394
- ], fe.prototype, "customId", 2);
25381
+ ], me.prototype, "customId", 2);
25395
25382
  Ls([
25396
25383
  a({ type: String })
25397
- ], fe.prototype, "label", 2);
25398
- fe = Ls([
25384
+ ], me.prototype, "label", 2);
25385
+ me = Ls([
25399
25386
  p("pont-divider")
25400
- ], fe);
25387
+ ], me);
25401
25388
  var F2 = Object.defineProperty, z2 = Object.getOwnPropertyDescriptor, ks = (t, e, n, o) => {
25402
25389
  for (var r = o > 1 ? void 0 : o ? z2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
25403
25390
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -25810,7 +25797,7 @@ To([
25810
25797
  _t = To([
25811
25798
  p("pont-watermark")
25812
25799
  ], _t);
25813
- var rC = Object.defineProperty, nC = Object.getOwnPropertyDescriptor, zu = (t, e, n, o) => {
25800
+ var rC = Object.defineProperty, nC = Object.getOwnPropertyDescriptor, Fu = (t, e, n, o) => {
25814
25801
  for (var r = o > 1 ? void 0 : o ? nC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
25815
25802
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
25816
25803
  return o && r && rC(e, n, r), r;
@@ -25827,10 +25814,10 @@ let El = class extends f {
25827
25814
  return l`<p class="pont-mt-2">${this.content}</p>`;
25828
25815
  }
25829
25816
  };
25830
- zu([
25817
+ Fu([
25831
25818
  a({ type: String })
25832
25819
  ], El.prototype, "content", 2);
25833
- El = zu([
25820
+ El = Fu([
25834
25821
  p("pont-hint")
25835
25822
  ], El);
25836
25823
  var oC = Object.defineProperty, iC = Object.getOwnPropertyDescriptor, Ms = (t, e, n, o) => {
@@ -26046,7 +26033,7 @@ var aC = Object.defineProperty, lC = Object.getOwnPropertyDescriptor, pr = (t, e
26046
26033
  return o && r && aC(e, n, r), r;
26047
26034
  };
26048
26035
  const cC = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
26049
- let Ae = class extends f {
26036
+ let Te = class extends f {
26050
26037
  constructor() {
26051
26038
  super(...arguments), this.label = "", this.value = [], this.placeholder = "Enter email addresses", this.disabled = !1, this.maxEmails = 50, this.className = "", this.inputValue = "", this.error = null;
26052
26039
  }
@@ -26174,34 +26161,34 @@ let Ae = class extends f {
26174
26161
  };
26175
26162
  pr([
26176
26163
  a({ type: String })
26177
- ], Ae.prototype, "label", 2);
26164
+ ], Te.prototype, "label", 2);
26178
26165
  pr([
26179
26166
  a({ type: Array })
26180
- ], Ae.prototype, "value", 2);
26167
+ ], Te.prototype, "value", 2);
26181
26168
  pr([
26182
26169
  a({ attribute: !1 })
26183
- ], Ae.prototype, "onChange", 2);
26170
+ ], Te.prototype, "onChange", 2);
26184
26171
  pr([
26185
26172
  a({ type: String })
26186
- ], Ae.prototype, "placeholder", 2);
26173
+ ], Te.prototype, "placeholder", 2);
26187
26174
  pr([
26188
26175
  a({ type: Boolean })
26189
- ], Ae.prototype, "disabled", 2);
26176
+ ], Te.prototype, "disabled", 2);
26190
26177
  pr([
26191
26178
  a({ type: Number })
26192
- ], Ae.prototype, "maxEmails", 2);
26179
+ ], Te.prototype, "maxEmails", 2);
26193
26180
  pr([
26194
26181
  a({ type: String })
26195
- ], Ae.prototype, "className", 2);
26182
+ ], Te.prototype, "className", 2);
26196
26183
  pr([
26197
26184
  m()
26198
- ], Ae.prototype, "inputValue", 2);
26185
+ ], Te.prototype, "inputValue", 2);
26199
26186
  pr([
26200
26187
  m()
26201
- ], Ae.prototype, "error", 2);
26202
- Ae = pr([
26188
+ ], Te.prototype, "error", 2);
26189
+ Te = pr([
26203
26190
  p("pont-multi-email-input")
26204
- ], Ae);
26191
+ ], Te);
26205
26192
  var dC = Object.defineProperty, pC = Object.getOwnPropertyDescriptor, $e = (t, e, n, o) => {
26206
26193
  for (var r = o > 1 ? void 0 : o ? pC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
26207
26194
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -26605,7 +26592,7 @@ class bC extends Error {
26605
26592
  }
26606
26593
  }
26607
26594
  const yC = "/mgmt/v1";
26608
- async function qe(t, e = {}) {
26595
+ async function je(t, e = {}) {
26609
26596
  var v, y;
26610
26597
  const { token: n, headers: o, ...r } = e, i = vC(), s = ((v = i == null ? void 0 : i.apiBaseUrl) == null ? void 0 : v.replace(/\/+$/, "")) ?? "", c = {
26611
26598
  "Content-Type": "application/json",
@@ -26641,25 +26628,25 @@ async function $C() {
26641
26628
  var e, n;
26642
26629
  const t = [];
26643
26630
  for (let o = 1; o <= wC; o++) {
26644
- const r = await qe(
26631
+ const r = await je(
26645
26632
  `/me/organizations?page=${o}&limit=${_C}`,
26646
- { method: "GET", token: Ue() }
26633
+ { method: "GET", token: Ne() }
26647
26634
  );
26648
26635
  if (t.push(...r.data ?? []), !((e = r.data) != null && e.length) || o >= (((n = r.pagination) == null ? void 0 : n.total_pages) ?? 1)) break;
26649
26636
  }
26650
26637
  return t;
26651
26638
  }
26652
26639
  async function CC() {
26653
- return qe("/me", {
26640
+ return je("/me", {
26654
26641
  method: "GET",
26655
- token: Ue()
26642
+ token: Ne()
26656
26643
  });
26657
26644
  }
26658
26645
  async function js(t) {
26659
- return qe("/me", {
26646
+ return je("/me", {
26660
26647
  method: "PATCH",
26661
26648
  body: JSON.stringify(t),
26662
- token: Ue()
26649
+ token: Ne()
26663
26650
  });
26664
26651
  }
26665
26652
  async function EC(t, e) {
@@ -26667,16 +26654,16 @@ async function EC(t, e) {
26667
26654
  const n = new URLSearchParams();
26668
26655
  e && (e.search && n.append("search", e.search), e.page !== void 0 && n.append("page", e.page.toString()), e.limit !== void 0 && n.append("limit", e.limit.toString()), e.order && n.append("order", e.order), (i = e.user_ids) != null && i.length && e.user_ids.forEach((c) => n.append("user_ids", c)), (s = e.emails) != null && s.length && e.emails.forEach((c) => n.append("emails", c)), e.roles && n.append("roles", e.roles));
26669
26656
  const o = n.toString(), r = `/organizations/${encodeURIComponent(t)}/members${o ? `?${o}` : ""}`;
26670
- return qe(r, {
26657
+ return je(r, {
26671
26658
  method: "GET",
26672
- token: Ue()
26659
+ token: Ne()
26673
26660
  });
26674
26661
  }
26675
26662
  async function SC(t, e, n) {
26676
26663
  const o = `/organizations/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}/roles`;
26677
- await qe(o, {
26664
+ await je(o, {
26678
26665
  method: "PUT",
26679
- token: Ue(),
26666
+ token: Ne(),
26680
26667
  headers: {
26681
26668
  "Content-Type": "application/json"
26682
26669
  },
@@ -26685,9 +26672,9 @@ async function SC(t, e, n) {
26685
26672
  }
26686
26673
  async function xC(t, e) {
26687
26674
  const n = `/organizations/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}`;
26688
- await qe(n, {
26675
+ await je(n, {
26689
26676
  method: "DELETE",
26690
- token: Ue(),
26677
+ token: Ne(),
26691
26678
  headers: {
26692
26679
  "Content-Type": "application/json"
26693
26680
  }
@@ -26695,9 +26682,9 @@ async function xC(t, e) {
26695
26682
  }
26696
26683
  async function OC(t, e) {
26697
26684
  const n = `/organizations/${encodeURIComponent(t)}/invitations`;
26698
- return qe(n, {
26685
+ return je(n, {
26699
26686
  method: "POST",
26700
- token: Ue(),
26687
+ token: Ne(),
26701
26688
  headers: {
26702
26689
  "Content-Type": "application/json"
26703
26690
  },
@@ -26706,34 +26693,31 @@ async function OC(t, e) {
26706
26693
  }
26707
26694
  async function PC(t, e) {
26708
26695
  const n = `/organizations/${encodeURIComponent(t)}/invitations/${encodeURIComponent(e)}/resend`;
26709
- return qe(n, {
26696
+ return je(n, {
26710
26697
  method: "POST",
26711
- token: Ue(),
26698
+ token: Ne(),
26712
26699
  headers: {
26713
26700
  "Content-Type": "application/json"
26714
26701
  }
26715
26702
  });
26716
26703
  }
26717
- async function RC(t, e) {
26718
- const n = `/organizations/${encodeURIComponent(t)}/invitations/${encodeURIComponent(e)}/cancel`;
26719
- return qe(n, {
26720
- method: "POST",
26721
- token: Ue(),
26722
- headers: {
26723
- "Content-Type": "application/json"
26724
- }
26704
+ async function RC(t, e, n) {
26705
+ const o = `/organizations/${encodeURIComponent(t)}/invitations/${encodeURIComponent(e)}`;
26706
+ await je(o, {
26707
+ method: "DELETE",
26708
+ token: Ne()
26725
26709
  });
26726
26710
  }
26727
26711
  async function IC(t, e) {
26728
26712
  var i;
26729
26713
  const n = new URLSearchParams();
26730
- e && (e.search && n.append("search", e.search), e.status && n.append("status", e.status), e.expired !== void 0 && n.append("expired", e.expired.toString()), e.invited_by && n.append("invited_by", e.invited_by), e.page !== void 0 && n.append("page", e.page.toString()), e.limit !== void 0 && n.append("limit", e.limit.toString()), e.order && n.append("order", e.order), (i = e.invitee_emails) != null && i.length && e.invitee_emails.forEach(
26714
+ e && (e.search && n.append("search", e.search), e.invited_by && n.append("invited_by", e.invited_by), e.page !== void 0 && n.append("page", e.page.toString()), e.limit !== void 0 && n.append("limit", e.limit.toString()), e.order && n.append("order", e.order), (i = e.invitee_emails) != null && i.length && e.invitee_emails.forEach(
26731
26715
  (s) => n.append("invitee_emails", s)
26732
26716
  ), e.roles && n.append("roles", e.roles));
26733
26717
  const o = n.toString(), r = `/organizations/${encodeURIComponent(t)}/invitations${o ? `?${o}` : ""}`;
26734
- return qe(r, {
26718
+ return je(r, {
26735
26719
  method: "GET",
26736
- token: Ue()
26720
+ token: Ne()
26737
26721
  });
26738
26722
  }
26739
26723
  async function _c(t) {
@@ -26743,9 +26727,9 @@ async function _c(t) {
26743
26727
  t.include_instance_scoped.toString()
26744
26728
  ), t.permission && e.append("permission", t.permission), t.page !== void 0 && e.append("page", t.page.toString()), t.limit !== void 0 && e.append("limit", t.limit.toString()), t.order && e.append("order", t.order));
26745
26729
  const n = e.toString(), o = `/roles${n ? `?${n}` : ""}`;
26746
- return qe(o, {
26730
+ return je(o, {
26747
26731
  method: "GET",
26748
- token: Ue()
26732
+ token: Ne()
26749
26733
  });
26750
26734
  }
26751
26735
  var TC = Object.defineProperty, AC = Object.getOwnPropertyDescriptor, Jt = (t, e, n, o) => {
@@ -26840,7 +26824,7 @@ let Kt = class extends f {
26840
26824
  const n = this.layout === Et.COLUMN;
26841
26825
  return l`
26842
26826
  <div
26843
- class=${ge(
26827
+ class=${ue(
26844
26828
  "pont-account-settings-display-row",
26845
26829
  n ? "" : "pont-account-settings-account-grid"
26846
26830
  )}
@@ -26856,7 +26840,7 @@ let Kt = class extends f {
26856
26840
  >
26857
26841
  <div
26858
26842
  part="label"
26859
- class=${ge(
26843
+ class=${ue(
26860
26844
  Xe,
26861
26845
  "pont-account-settings-field-label"
26862
26846
  )}
@@ -27134,7 +27118,7 @@ var DC = Object.defineProperty, LC = Object.getOwnPropertyDescriptor, hr = (t, e
27134
27118
  return o && r && DC(e, n, r), r;
27135
27119
  };
27136
27120
  const oh = 100;
27137
- let De = class extends f {
27121
+ let Ae = class extends f {
27138
27122
  constructor() {
27139
27123
  super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
27140
27124
  location: "",
@@ -27343,7 +27327,7 @@ let De = class extends f {
27343
27327
  <pont-typography-p
27344
27328
  ><div
27345
27329
  part="label"
27346
- class=${ge(
27330
+ class=${ue(
27347
27331
  Xe,
27348
27332
  "pont-account-settings-field-label"
27349
27333
  )}
@@ -27362,7 +27346,7 @@ let De = class extends f {
27362
27346
  <pont-typography-p
27363
27347
  ><div
27364
27348
  part="label"
27365
- class=${ge(
27349
+ class=${ue(
27366
27350
  Xe,
27367
27351
  "pont-account-settings-field-label"
27368
27352
  )}
@@ -27387,41 +27371,41 @@ let De = class extends f {
27387
27371
  };
27388
27372
  hr([
27389
27373
  a({ type: Object })
27390
- ], De.prototype, "locationInfo", 2);
27374
+ ], Ae.prototype, "locationInfo", 2);
27391
27375
  hr([
27392
27376
  a({ type: Boolean })
27393
- ], De.prototype, "showIcons", 2);
27377
+ ], Ae.prototype, "showIcons", 2);
27394
27378
  hr([
27395
27379
  a({ type: String })
27396
- ], De.prototype, "layout", 2);
27380
+ ], Ae.prototype, "layout", 2);
27397
27381
  hr([
27398
27382
  a({ type: Object })
27399
- ], De.prototype, "content", 2);
27383
+ ], Ae.prototype, "content", 2);
27400
27384
  hr([
27401
27385
  qt({ context: $i, subscribe: !0 })
27402
- ], De.prototype, "userContextValue", 2);
27386
+ ], Ae.prototype, "userContextValue", 2);
27403
27387
  hr([
27404
27388
  m()
27405
- ], De.prototype, "isEditing", 2);
27389
+ ], Ae.prototype, "isEditing", 2);
27406
27390
  hr([
27407
27391
  m()
27408
- ], De.prototype, "isSaving", 2);
27392
+ ], Ae.prototype, "isSaving", 2);
27409
27393
  hr([
27410
27394
  m()
27411
- ], De.prototype, "formData", 2);
27395
+ ], Ae.prototype, "formData", 2);
27412
27396
  hr([
27413
27397
  m()
27414
- ], De.prototype, "errors", 2);
27415
- De = hr([
27398
+ ], Ae.prototype, "errors", 2);
27399
+ Ae = hr([
27416
27400
  p("pont-location-info")
27417
- ], De);
27401
+ ], Ae);
27418
27402
  var kC = Object.defineProperty, MC = Object.getOwnPropertyDescriptor, ur = (t, e, n, o) => {
27419
27403
  for (var r = o > 1 ? void 0 : o ? MC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
27420
27404
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
27421
27405
  return o && r && kC(e, n, r), r;
27422
27406
  };
27423
27407
  const ih = 100, sh = 500;
27424
- let Le = class extends f {
27408
+ let De = class extends f {
27425
27409
  constructor() {
27426
27410
  super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = this.personal, this.errors = {}, this.handleSave = async () => {
27427
27411
  if (!this.isSaving && this.validate()) {
@@ -27669,7 +27653,7 @@ let Le = class extends f {
27669
27653
  <pont-typography-p>
27670
27654
  <div
27671
27655
  part="label"
27672
- class=${ge(
27656
+ class=${ue(
27673
27657
  Xe,
27674
27658
  "pont-account-settings-field-label"
27675
27659
  )}
@@ -27696,40 +27680,40 @@ let Le = class extends f {
27696
27680
  };
27697
27681
  ur([
27698
27682
  a({ type: Object })
27699
- ], Le.prototype, "personal", 2);
27683
+ ], De.prototype, "personal", 2);
27700
27684
  ur([
27701
27685
  a({ type: Boolean })
27702
- ], Le.prototype, "showIcons", 2);
27686
+ ], De.prototype, "showIcons", 2);
27703
27687
  ur([
27704
27688
  a({ type: String })
27705
- ], Le.prototype, "layout", 2);
27689
+ ], De.prototype, "layout", 2);
27706
27690
  ur([
27707
27691
  a({ type: Object })
27708
- ], Le.prototype, "content", 2);
27692
+ ], De.prototype, "content", 2);
27709
27693
  ur([
27710
27694
  qt({ context: $i, subscribe: !0 })
27711
- ], Le.prototype, "userContextValue", 2);
27695
+ ], De.prototype, "userContextValue", 2);
27712
27696
  ur([
27713
27697
  m()
27714
- ], Le.prototype, "isEditing", 2);
27698
+ ], De.prototype, "isEditing", 2);
27715
27699
  ur([
27716
27700
  m()
27717
- ], Le.prototype, "isSaving", 2);
27701
+ ], De.prototype, "isSaving", 2);
27718
27702
  ur([
27719
27703
  m()
27720
- ], Le.prototype, "formData", 2);
27704
+ ], De.prototype, "formData", 2);
27721
27705
  ur([
27722
27706
  m()
27723
- ], Le.prototype, "errors", 2);
27724
- Le = ur([
27707
+ ], De.prototype, "errors", 2);
27708
+ De = ur([
27725
27709
  p("pont-personal-info")
27726
- ], Le);
27710
+ ], De);
27727
27711
  var NC = Object.defineProperty, UC = Object.getOwnPropertyDescriptor, gr = (t, e, n, o) => {
27728
27712
  for (var r = o > 1 ? void 0 : o ? UC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
27729
27713
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
27730
27714
  return o && r && NC(e, n, r), r;
27731
27715
  };
27732
- let ke = class extends f {
27716
+ let Le = class extends f {
27733
27717
  constructor() {
27734
27718
  super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
27735
27719
  website: ""
@@ -27905,7 +27889,7 @@ let ke = class extends f {
27905
27889
  <pont-typography-p
27906
27890
  ><div
27907
27891
  part="label"
27908
- class=${ge(
27892
+ class=${ue(
27909
27893
  Xe,
27910
27894
  "pont-account-settings-field-label"
27911
27895
  )}
@@ -27941,34 +27925,34 @@ let ke = class extends f {
27941
27925
  };
27942
27926
  gr([
27943
27927
  a({ type: Object })
27944
- ], ke.prototype, "URLsInfo", 2);
27928
+ ], Le.prototype, "URLsInfo", 2);
27945
27929
  gr([
27946
27930
  a({ type: Boolean })
27947
- ], ke.prototype, "showIcons", 2);
27931
+ ], Le.prototype, "showIcons", 2);
27948
27932
  gr([
27949
27933
  a({ type: String })
27950
- ], ke.prototype, "layout", 2);
27934
+ ], Le.prototype, "layout", 2);
27951
27935
  gr([
27952
27936
  a({ type: Object })
27953
- ], ke.prototype, "content", 2);
27937
+ ], Le.prototype, "content", 2);
27954
27938
  gr([
27955
27939
  qt({ context: $i, subscribe: !0 })
27956
- ], ke.prototype, "userContextValue", 2);
27940
+ ], Le.prototype, "userContextValue", 2);
27957
27941
  gr([
27958
27942
  m()
27959
- ], ke.prototype, "isEditing", 2);
27943
+ ], Le.prototype, "isEditing", 2);
27960
27944
  gr([
27961
27945
  m()
27962
- ], ke.prototype, "isSaving", 2);
27946
+ ], Le.prototype, "isSaving", 2);
27963
27947
  gr([
27964
27948
  m()
27965
- ], ke.prototype, "formData", 2);
27949
+ ], Le.prototype, "formData", 2);
27966
27950
  gr([
27967
27951
  m()
27968
- ], ke.prototype, "errors", 2);
27969
- ke = gr([
27952
+ ], Le.prototype, "errors", 2);
27953
+ Le = gr([
27970
27954
  p("pont-urls-info")
27971
- ], ke);
27955
+ ], Le);
27972
27956
  var jC = Object.defineProperty, qC = Object.getOwnPropertyDescriptor, Qt = (t, e, n, o) => {
27973
27957
  for (var r = o > 1 ? void 0 : o ? qC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
27974
27958
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
@@ -28068,7 +28052,7 @@ const Ai = {
28068
28052
  * Copyright 2021 Google LLC
28069
28053
  * SPDX-License-Identifier: BSD-3-Clause
28070
28054
  */
28071
- const Vu = uo(class extends ws {
28055
+ const zu = uo(class extends ws {
28072
28056
  constructor() {
28073
28057
  super(...arguments), this.key = h;
28074
28058
  }
@@ -28108,7 +28092,7 @@ let Xr = class extends f {
28108
28092
  t && t.classList.toggle("pont-rotate-0"), this.isMenuOpen = !this.isMenuOpen, this.requestUpdate();
28109
28093
  }
28110
28094
  renderTabs(t) {
28111
- return Vu(
28095
+ return zu(
28112
28096
  this.sidebarKey,
28113
28097
  l`
28114
28098
  <pont-tabs-list
@@ -28161,7 +28145,7 @@ let Xr = class extends f {
28161
28145
  return l`
28162
28146
  <div
28163
28147
  part="mobile-drawer"
28164
- class="${ge(
28148
+ class="${ue(
28165
28149
  FC,
28166
28150
  this.isMenuOpen ? "pont-translate-x-0 pont-opacity-100" : "pont-translate-x-[-100%] pont-opacity-0"
28167
28151
  )}"
@@ -28200,7 +28184,7 @@ let Xr = class extends f {
28200
28184
  return l`
28201
28185
  <div
28202
28186
  burger=${this.isBurger}
28203
- class="${ge(
28187
+ class="${ue(
28204
28188
  "pont-overflow-x-auto pont-flex pont-items-center",
28205
28189
  this.getSidebarContainerClass()
28206
28190
  )}"
@@ -28239,7 +28223,7 @@ Un([
28239
28223
  Xr = Un([
28240
28224
  p("pont-profile-sidebar")
28241
28225
  ], Xr);
28242
- function Hu() {
28226
+ function Vu() {
28243
28227
  document.dispatchEvent(
28244
28228
  new CustomEvent("open-user-profile", {
28245
28229
  bubbles: !0,
@@ -28247,7 +28231,7 @@ function Hu() {
28247
28231
  })
28248
28232
  );
28249
28233
  }
28250
- function Gu() {
28234
+ function Hu() {
28251
28235
  document.dispatchEvent(
28252
28236
  new CustomEvent("close-user-profile", {
28253
28237
  bubbles: !0,
@@ -28280,8 +28264,8 @@ function WC(t) {
28280
28264
  })
28281
28265
  );
28282
28266
  }
28283
- typeof window < "u" && (window.__pontCoreSdk || (window.__pontCoreSdk = {}), window.__pontCoreSdk.openAccountSettingsModal = Hu, window.__pontCoreSdk.closeAccountSettingsModal = Gu, window.__pontCoreSdk.openMemberManagementModal = GC, window.__pontCoreSdk.closeMemberManagementModal = KC, window.__pontCoreSdk.setLocales = WC);
28284
- var YC = Object.defineProperty, he = (t, e, n, o) => {
28267
+ typeof window < "u" && (window.__pontCoreSdk || (window.__pontCoreSdk = {}), window.__pontCoreSdk.openAccountSettingsModal = Vu, window.__pontCoreSdk.closeAccountSettingsModal = Hu, window.__pontCoreSdk.openMemberManagementModal = GC, window.__pontCoreSdk.closeMemberManagementModal = KC, window.__pontCoreSdk.setLocales = WC);
28268
+ var YC = Object.defineProperty, pe = (t, e, n, o) => {
28285
28269
  for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
28286
28270
  (s = t[i]) && (r = s(e, n, r) || r);
28287
28271
  return r && YC(e, n, r), r;
@@ -28354,7 +28338,7 @@ class se extends f {
28354
28338
  }
28355
28339
  get containerClasses() {
28356
28340
  const e = this.isBurger || this.isVerticalOrientation;
28357
- return ge(
28341
+ return ue(
28358
28342
  T$,
28359
28343
  this.isModal ? D$ : A$,
28360
28344
  this.isModal ? I$ : R$,
@@ -28362,7 +28346,7 @@ class se extends f {
28362
28346
  );
28363
28347
  }
28364
28348
  get contentClasses() {
28365
- return ge(
28349
+ return ue(
28366
28350
  "pont-flex-grow",
28367
28351
  this.isModal ? `pont-account-settings-modal-content ${this.isHorizontalOrientation ? "pont-account-settings-modal-content-horizontal" : ""}` : "pont-account-settings-content-md-max-height-full",
28368
28352
  this.isVerticalOrientation ? "pont-account-settings-vertical-margin" : ""
@@ -28409,7 +28393,7 @@ class se extends f {
28409
28393
  }
28410
28394
  async loadUser() {
28411
28395
  var e, n;
28412
- if (!(!((e = this.auth) != null && e.resolved) || !this.auth.isAuthenticated) && !(this._userLoaded || this._userLoading) && (this.userContextValue.identifier = ((n = dt.getAuthenticatedUser()) == null ? void 0 : n.email) ?? "", !!this.userContextValue.identifier)) {
28396
+ if (!(!((e = this.auth) != null && e.resolved) || !this.auth.isAuthenticated) && !(this._userLoaded || this._userLoading) && (this.userContextValue.identifier = ((n = lt.getAuthenticatedUser()) == null ? void 0 : n.email) ?? "", !!this.userContextValue.identifier)) {
28413
28397
  this._userLoading = !0;
28414
28398
  try {
28415
28399
  this.userContextValue.user = await CC(), this.tryRemoveFallback(), this.fillProfileData(this.userContextValue.user), this._userLoaded = !0;
@@ -28440,12 +28424,12 @@ class se extends f {
28440
28424
  }
28441
28425
  renderMainContent() {
28442
28426
  const e = this.isHorizontalOrientation ? "vertical" : "horizontal";
28443
- return Vu(
28427
+ return zu(
28444
28428
  this.layoutKey,
28445
28429
  l`
28446
28430
  <div
28447
28431
  ?hidden=${this.isBurger}
28448
- class=${ge(
28432
+ class=${ue(
28449
28433
  "pont-account-settings-header",
28450
28434
  this.isVerticalOrientation ? "pont-account-settings-header-vertical" : "",
28451
28435
  this.isBurger ? "!pont-hidden" : ""
@@ -28541,7 +28525,7 @@ class se extends f {
28541
28525
  <pont-modal
28542
28526
  .isOpen=${this.isOpen}
28543
28527
  .showClose=${!this.isBurger}
28544
- @close=${() => Gu()}
28528
+ @close=${() => Hu()}
28545
28529
  >
28546
28530
  <div
28547
28531
  part=${this.isBurger ? "burger-modal-container" : "regular-content-modal"}
@@ -28555,49 +28539,49 @@ class se extends f {
28555
28539
  return this;
28556
28540
  }
28557
28541
  }
28558
- he([
28542
+ pe([
28559
28543
  a({ type: Boolean })
28560
28544
  ], se.prototype, "showAvatarMenu");
28561
- he([
28545
+ pe([
28562
28546
  a({ type: String })
28563
28547
  ], se.prototype, "orientation");
28564
- he([
28548
+ pe([
28565
28549
  a({ type: String })
28566
28550
  ], se.prototype, "mobileDisplay");
28567
- he([
28551
+ pe([
28568
28552
  a({ type: String, reflect: !0 })
28569
28553
  ], se.prototype, "mode");
28570
- he([
28554
+ pe([
28571
28555
  a({ type: String })
28572
28556
  ], se.prototype, "widgetsLayout");
28573
- he([
28557
+ pe([
28574
28558
  a({ type: Object })
28575
28559
  ], se.prototype, "content");
28576
- he([
28560
+ pe([
28577
28561
  m()
28578
28562
  ], se.prototype, "isOpen");
28579
- he([
28563
+ pe([
28580
28564
  m()
28581
28565
  ], se.prototype, "currentBreakpoint");
28582
- he([
28566
+ pe([
28583
28567
  m()
28584
28568
  ], se.prototype, "activeTab");
28585
- he([
28569
+ pe([
28586
28570
  qt({ context: rn, subscribe: !0 }),
28587
28571
  a({ attribute: !1 })
28588
28572
  ], se.prototype, "auth");
28589
- he([
28573
+ pe([
28590
28574
  m()
28591
28575
  ], se.prototype, "_userLoaded");
28592
- he([
28576
+ pe([
28593
28577
  m()
28594
28578
  ], se.prototype, "_userLoading");
28595
- he([
28579
+ pe([
28596
28580
  ye({ context: $i }),
28597
28581
  m()
28598
28582
  ], se.prototype, "userContextValue");
28599
28583
  customElements.define("pont-account-settings", se);
28600
- var ZC = Object.defineProperty, JC = Object.getOwnPropertyDescriptor, Ku = (t, e, n, o) => {
28584
+ var ZC = Object.defineProperty, JC = Object.getOwnPropertyDescriptor, Gu = (t, e, n, o) => {
28601
28585
  for (var r = o > 1 ? void 0 : o ? JC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
28602
28586
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
28603
28587
  return o && r && ZC(e, n, r), r;
@@ -28647,10 +28631,10 @@ let xl = class extends f {
28647
28631
  return this;
28648
28632
  }
28649
28633
  };
28650
- Ku([
28634
+ Gu([
28651
28635
  a({ type: Boolean })
28652
28636
  ], xl.prototype, "loading", 2);
28653
- xl = Ku([
28637
+ xl = Gu([
28654
28638
  p("pont-security-settings")
28655
28639
  ], xl);
28656
28640
  class QC extends f {
@@ -28664,15 +28648,15 @@ class QC extends f {
28664
28648
  return {
28665
28649
  title: "Active Members",
28666
28650
  content: "100",
28667
- icon: V0
28651
+ icon: H0
28668
28652
  };
28669
28653
  case "pending-invites":
28670
- return { title: "Pending Invites", content: "8", icon: Nu };
28654
+ return { title: "Pending Invites", content: "8", icon: V0 };
28671
28655
  case "inactive-members":
28672
28656
  return {
28673
28657
  title: "Inactive Members",
28674
28658
  content: "1",
28675
- icon: H0
28659
+ icon: G0
28676
28660
  };
28677
28661
  }
28678
28662
  }
@@ -28784,7 +28768,7 @@ let de = class extends f {
28784
28768
  const e = {
28785
28769
  emails: this.emails,
28786
28770
  roles: this.roles,
28787
- invited_by: (n = dt.getAuthenticatedUser()) == null ? void 0 : n.sub,
28771
+ invited_by: (n = lt.getAuthenticatedUser()) == null ? void 0 : n.sub,
28788
28772
  // invited_by: "usr_06fgveyxgdtff295nb0se579cc",
28789
28773
  message: this.customMessage || void 0
28790
28774
  };
@@ -28989,7 +28973,7 @@ var eE = Object.defineProperty, rE = Object.getOwnPropertyDescriptor, mr = (t, e
28989
28973
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
28990
28974
  return o && r && eE(e, n, r), r;
28991
28975
  };
28992
- let Me = class extends f {
28976
+ let ke = class extends f {
28993
28977
  constructor() {
28994
28978
  super(...arguments), this.drawerId = "pont-manage-roles", this.organizationId = "", this.member = null, this.selectedRoles = [], this.availableRoles = [], this.errors = {}, this.open = !1, this.isLoading = !1, this.isLoadingRoles = !1, this._handleOpenDrawer = (t) => {
28995
28979
  const e = t.detail, n = (e == null ? void 0 : e.id) || (e == null ? void 0 : e.drawer_id);
@@ -29189,40 +29173,40 @@ let Me = class extends f {
29189
29173
  };
29190
29174
  mr([
29191
29175
  a({ type: String })
29192
- ], Me.prototype, "drawerId", 2);
29176
+ ], ke.prototype, "drawerId", 2);
29193
29177
  mr([
29194
29178
  a({ type: String })
29195
- ], Me.prototype, "organizationId", 2);
29179
+ ], ke.prototype, "organizationId", 2);
29196
29180
  mr([
29197
29181
  a({ type: Object })
29198
- ], Me.prototype, "member", 2);
29182
+ ], ke.prototype, "member", 2);
29199
29183
  mr([
29200
29184
  m()
29201
- ], Me.prototype, "selectedRoles", 2);
29185
+ ], ke.prototype, "selectedRoles", 2);
29202
29186
  mr([
29203
29187
  m()
29204
- ], Me.prototype, "availableRoles", 2);
29188
+ ], ke.prototype, "availableRoles", 2);
29205
29189
  mr([
29206
29190
  m()
29207
- ], Me.prototype, "errors", 2);
29191
+ ], ke.prototype, "errors", 2);
29208
29192
  mr([
29209
29193
  m()
29210
- ], Me.prototype, "open", 2);
29194
+ ], ke.prototype, "open", 2);
29211
29195
  mr([
29212
29196
  m()
29213
- ], Me.prototype, "isLoading", 2);
29197
+ ], ke.prototype, "isLoading", 2);
29214
29198
  mr([
29215
29199
  m()
29216
- ], Me.prototype, "isLoadingRoles", 2);
29217
- Me = mr([
29200
+ ], ke.prototype, "isLoadingRoles", 2);
29201
+ ke = mr([
29218
29202
  p("pont-manage-roles-form")
29219
- ], Me);
29220
- var nE = Object.defineProperty, oE = Object.getOwnPropertyDescriptor, Be = (t, e, n, o) => {
29203
+ ], ke);
29204
+ var nE = Object.defineProperty, oE = Object.getOwnPropertyDescriptor, qe = (t, e, n, o) => {
29221
29205
  for (var r = o > 1 ? void 0 : o ? oE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
29222
29206
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
29223
29207
  return o && r && nE(e, n, r), r;
29224
29208
  };
29225
- let ve = class extends f {
29209
+ let fe = class extends f {
29226
29210
  constructor() {
29227
29211
  super(...arguments), this.open = !1, this.title = "", this.warningText = "", this.confirmLabel = "Confirm", this.cancelLabel = "Cancel", this.variant = "default", this.isLoading = !1;
29228
29212
  }
@@ -29307,45 +29291,45 @@ let ve = class extends f {
29307
29291
  `;
29308
29292
  }
29309
29293
  };
29310
- Be([
29294
+ qe([
29311
29295
  a({ type: Boolean })
29312
- ], ve.prototype, "open", 2);
29313
- Be([
29296
+ ], fe.prototype, "open", 2);
29297
+ qe([
29314
29298
  a({ type: String })
29315
- ], ve.prototype, "title", 2);
29316
- Be([
29299
+ ], fe.prototype, "title", 2);
29300
+ qe([
29317
29301
  a({ attribute: !1 })
29318
- ], ve.prototype, "description", 2);
29319
- Be([
29302
+ ], fe.prototype, "description", 2);
29303
+ qe([
29320
29304
  a({ type: String })
29321
- ], ve.prototype, "warningText", 2);
29322
- Be([
29305
+ ], fe.prototype, "warningText", 2);
29306
+ qe([
29323
29307
  a({ type: String })
29324
- ], ve.prototype, "confirmLabel", 2);
29325
- Be([
29308
+ ], fe.prototype, "confirmLabel", 2);
29309
+ qe([
29326
29310
  a({ type: String })
29327
- ], ve.prototype, "cancelLabel", 2);
29328
- Be([
29311
+ ], fe.prototype, "cancelLabel", 2);
29312
+ qe([
29329
29313
  a({ type: String })
29330
- ], ve.prototype, "variant", 2);
29331
- Be([
29314
+ ], fe.prototype, "variant", 2);
29315
+ qe([
29332
29316
  m()
29333
- ], ve.prototype, "isLoading", 2);
29334
- Be([
29317
+ ], fe.prototype, "isLoading", 2);
29318
+ qe([
29335
29319
  a({ attribute: !1 })
29336
- ], ve.prototype, "onConfirm", 2);
29337
- Be([
29320
+ ], fe.prototype, "onConfirm", 2);
29321
+ qe([
29338
29322
  a({ attribute: !1 })
29339
- ], ve.prototype, "onCancel", 2);
29340
- ve = Be([
29323
+ ], fe.prototype, "onCancel", 2);
29324
+ fe = qe([
29341
29325
  p("pont-members-action-modal")
29342
- ], ve);
29343
- var iE = Object.defineProperty, sE = Object.getOwnPropertyDescriptor, Fe = (t, e, n, o) => {
29326
+ ], fe);
29327
+ var iE = Object.defineProperty, sE = Object.getOwnPropertyDescriptor, Be = (t, e, n, o) => {
29344
29328
  for (var r = o > 1 ? void 0 : o ? sE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
29345
29329
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
29346
29330
  return o && r && iE(e, n, r), r;
29347
29331
  };
29348
- let be = class extends f {
29332
+ let ve = class extends f {
29349
29333
  constructor() {
29350
29334
  super(...arguments), this.members = [], this.membersLoading = !1, this.searchTerm = "", this.memberFilters = {
29351
29335
  roles: []
@@ -29669,7 +29653,7 @@ let be = class extends f {
29669
29653
  </div>
29670
29654
  </div>
29671
29655
  <pont-button @click=${this.handleRefresh} variant="outline" size="icon">
29672
- ${Uu()}
29656
+ ${Nu()}
29673
29657
  </pont-button>
29674
29658
  </div>
29675
29659
 
@@ -29732,50 +29716,49 @@ let be = class extends f {
29732
29716
  `;
29733
29717
  }
29734
29718
  };
29735
- Fe([
29719
+ Be([
29736
29720
  a({ attribute: !1 })
29737
- ], be.prototype, "members", 2);
29738
- Fe([
29721
+ ], ve.prototype, "members", 2);
29722
+ Be([
29739
29723
  a({ type: Boolean, attribute: !1 })
29740
- ], be.prototype, "membersLoading", 2);
29741
- Fe([
29724
+ ], ve.prototype, "membersLoading", 2);
29725
+ Be([
29742
29726
  a({ type: String })
29743
- ], be.prototype, "searchTerm", 2);
29744
- Fe([
29727
+ ], ve.prototype, "searchTerm", 2);
29728
+ Be([
29745
29729
  a({ type: Object, attribute: !1 })
29746
- ], be.prototype, "memberFilters", 2);
29747
- Fe([
29730
+ ], ve.prototype, "memberFilters", 2);
29731
+ Be([
29748
29732
  a({ type: Array, attribute: !1 })
29749
- ], be.prototype, "availableRoles", 2);
29750
- Fe([
29733
+ ], ve.prototype, "availableRoles", 2);
29734
+ Be([
29751
29735
  a({ type: Number })
29752
- ], be.prototype, "membersPage", 2);
29753
- Fe([
29736
+ ], ve.prototype, "membersPage", 2);
29737
+ Be([
29754
29738
  a({ type: Number })
29755
- ], be.prototype, "membersTotalPages", 2);
29756
- Fe([
29739
+ ], ve.prototype, "membersTotalPages", 2);
29740
+ Be([
29757
29741
  a({ type: Number })
29758
- ], be.prototype, "membersTotal", 2);
29759
- Fe([
29742
+ ], ve.prototype, "membersTotal", 2);
29743
+ Be([
29760
29744
  a({ type: Number })
29761
- ], be.prototype, "rowsPerPage", 2);
29762
- Fe([
29745
+ ], ve.prototype, "rowsPerPage", 2);
29746
+ Be([
29763
29747
  m()
29764
- ], be.prototype, "_searchDebounceTimer", 2);
29765
- be = Fe([
29748
+ ], ve.prototype, "_searchDebounceTimer", 2);
29749
+ ve = Be([
29766
29750
  p("pont-member-management-members-panel")
29767
- ], be);
29768
- var aE = Object.defineProperty, lE = Object.getOwnPropertyDescriptor, Ee = (t, e, n, o) => {
29751
+ ], ve);
29752
+ var aE = Object.defineProperty, lE = Object.getOwnPropertyDescriptor, Fe = (t, e, n, o) => {
29769
29753
  for (var r = o > 1 ? void 0 : o ? lE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
29770
29754
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
29771
29755
  return o && r && aE(e, n, r), r;
29772
29756
  };
29773
- let pe = class extends f {
29757
+ let be = class extends f {
29774
29758
  constructor() {
29775
29759
  super(...arguments), this.invitations = [], this.invitationsLoading = !1, this.searchTerm = "", this.invitationFilters = {
29776
- roles: [],
29777
- status: []
29778
- }, this.availableRoles = [], this.statusOptions = [], this.invitationsPage = 1, this.invitationsTotalPages = 0, this.invitationsTotal = 0, this.rowsPerPage = 5;
29760
+ roles: []
29761
+ }, this.availableRoles = [], this.invitationsPage = 1, this.invitationsTotalPages = 0, this.invitationsTotal = 0, this.rowsPerPage = 5;
29779
29762
  }
29780
29763
  createRenderRoot() {
29781
29764
  return this;
@@ -29828,19 +29811,7 @@ let pe = class extends f {
29828
29811
  handleRolesChange(t) {
29829
29812
  this.dispatchEvent(
29830
29813
  new CustomEvent("invitations-filter-change", {
29831
- detail: {
29832
- roles: t.detail.selected,
29833
- status: this.invitationFilters.status
29834
- },
29835
- bubbles: !0,
29836
- composed: !0
29837
- })
29838
- );
29839
- }
29840
- handleStatusChange(t) {
29841
- this.dispatchEvent(
29842
- new CustomEvent("invitations-filter-change", {
29843
- detail: { ...this.invitationFilters, status: t.detail.selected },
29814
+ detail: { roles: t.detail.selected },
29844
29815
  bubbles: !0,
29845
29816
  composed: !0
29846
29817
  })
@@ -29873,23 +29844,15 @@ let pe = class extends f {
29873
29844
  );
29874
29845
  }
29875
29846
  getSelectedFiltersDisplay() {
29876
- var e, n;
29847
+ var e;
29877
29848
  const t = [];
29878
- return (e = this.invitationFilters.roles) != null && e.length && this.invitationFilters.roles.forEach((o) => {
29879
- var i;
29880
- const r = ((i = this.availableRoles.find((s) => s.value === o)) == null ? void 0 : i.label) || o;
29849
+ return (e = this.invitationFilters.roles) != null && e.length && this.invitationFilters.roles.forEach((n) => {
29850
+ var r;
29851
+ const o = ((r = this.availableRoles.find((i) => i.value === n)) == null ? void 0 : r.label) || n;
29881
29852
  t.push({
29882
29853
  name: "roles",
29883
- value: o,
29884
- label: r
29885
- });
29886
- }), (n = this.invitationFilters.status) != null && n.length && this.invitationFilters.status.forEach((o) => {
29887
- var i;
29888
- const r = ((i = this.statusOptions.find((s) => s.value === o)) == null ? void 0 : i.label) || o;
29889
- t.push({
29890
- name: "status",
29891
- value: o,
29892
- label: r
29854
+ value: n,
29855
+ label: o
29893
29856
  });
29894
29857
  }), t;
29895
29858
  }
@@ -29983,21 +29946,6 @@ let pe = class extends f {
29983
29946
  >
29984
29947
  </div>
29985
29948
  `;
29986
- },
29987
- status: (r) => {
29988
- if (t)
29989
- return l`
29990
- <pont-skeleton class="pont-h-5 pont-w-14 pont-rounded-full"></pont-skeleton>
29991
- `;
29992
- const i = r === "pending" ? Nu() : r === "accepted" ? K0() : h;
29993
- return l`
29994
- <div part=${"invitation-status"}>
29995
- <pont-badge variant="outline">
29996
- <div part=${r + "-icon"}>${i}</div>
29997
- ${r}
29998
- </pont-badge>
29999
- </div>
30000
- `;
30001
29949
  }
30002
29950
  }, n = Object.fromEntries(
30003
29951
  [
@@ -30005,8 +29953,7 @@ let pe = class extends f {
30005
29953
  "roles",
30006
29954
  "invited_by",
30007
29955
  "created_at",
30008
- "expires_at",
30009
- "status"
29956
+ "expires_at"
30010
29957
  ].map((r) => [
30011
29958
  r,
30012
29959
  () => l` <span>${{
@@ -30014,8 +29961,7 @@ let pe = class extends f {
30014
29961
  roles: "Roles",
30015
29962
  invited_by: "Invited By",
30016
29963
  created_at: "Created At",
30017
- expires_at: "Expires At",
30018
- status: "Status"
29964
+ expires_at: "Expires At"
30019
29965
  }[r] || r}</span> `
30020
29966
  ])
30021
29967
  );
@@ -30023,24 +29969,18 @@ let pe = class extends f {
30023
29969
  cellRenderers: e,
30024
29970
  headerRenderers: n,
30025
29971
  rowActions: t ? [] : [
29972
+ // Only open invitations are listed, so every row can be resent or
29973
+ // withdrawn.
30026
29974
  {
30027
- condition: (r) => {
30028
- var i, s;
30029
- return ((i = r.status) == null ? void 0 : i.toLowerCase()) === "pending" || ((s = r.status) == null ? void 0 : s.toLowerCase()) === "cancelled";
30030
- },
30031
29975
  render: () => l`<span>Resend invitation link</span>`,
30032
29976
  action: (r) => this.dispatchInvitationAction("resend-invitation", r)
30033
29977
  },
30034
29978
  {
30035
- condition: (r) => {
30036
- var i;
30037
- return ((i = r.status) == null ? void 0 : i.toLowerCase()) === "pending";
30038
- },
30039
- render: () => l`<span part="danger-action">Cancel invitation link</span>`,
29979
+ render: () => l`<span part="danger-action">Cancel invitation</span>`,
30040
29980
  action: (r) => this.dispatchInvitationAction("cancel-invitation", r)
30041
29981
  }
30042
29982
  ],
30043
- sortableColumns: t ? [] : ["invitee_email", "created_at", "expires_at", "status"]
29983
+ sortableColumns: t ? [] : ["invitee_email", "created_at", "expires_at"]
30044
29984
  };
30045
29985
  }
30046
29986
  renderPageLengthSelection() {
@@ -30084,19 +30024,18 @@ let pe = class extends f {
30084
30024
  `;
30085
30025
  }
30086
30026
  render() {
30087
- var o, r;
30027
+ var o;
30088
30028
  const t = this.getInvitationTableConfig(
30089
30029
  this.invitationsLoading
30090
30030
  ), e = Array.from(
30091
30031
  { length: this.rowsPerPage },
30092
- (i, s) => ({
30093
- id: `stub-invitation-${s}`,
30032
+ (r, i) => ({
30033
+ id: `stub-invitation-${i}`,
30094
30034
  invitee_email: "",
30095
30035
  roles: [],
30096
30036
  invited_by: { id: "", name: "" },
30097
30037
  created_at: 0,
30098
- expires_at: 0,
30099
- status: ""
30038
+ expires_at: 0
30100
30039
  })
30101
30040
  ), n = this.invitationsLoading ? e : this.invitations;
30102
30041
  return l`
@@ -30118,14 +30057,7 @@ let pe = class extends f {
30118
30057
  .selected=${this.invitationFilters.roles}
30119
30058
  @change=${this.handleRolesChange}
30120
30059
  ></pont-multi-select-filter>
30121
- <pont-multi-select-filter
30122
- label="Status"
30123
- placeholder="All statuses"
30124
- .options=${this.statusOptions}
30125
- .selected=${this.invitationFilters.status}
30126
- @change=${this.handleStatusChange}
30127
- ></pont-multi-select-filter>
30128
- ${(o = this.invitationFilters.roles) != null && o.length || (r = this.invitationFilters.status) != null && r.length ? l`
30060
+ ${(o = this.invitationFilters.roles) != null && o.length ? l`
30129
30061
  <pont-button
30130
30062
  @click=${this.clearFilters}
30131
30063
  variant="ghost"
@@ -30137,19 +30069,19 @@ let pe = class extends f {
30137
30069
  </div>
30138
30070
  </div>
30139
30071
  <pont-button @click=${this.handleRefresh} variant="outline" size="icon">
30140
- ${Uu()}
30072
+ ${Nu()}
30141
30073
  </pont-button>
30142
30074
  </div>
30143
30075
 
30144
30076
  ${this.getSelectedFiltersDisplay().length ? l`
30145
30077
  <div class="pont-flex pont-flex-wrap pont-gap-2 pont-mb-4">
30146
30078
  ${this.getSelectedFiltersDisplay().map(
30147
- (i) => l`
30079
+ (r) => l`
30148
30080
  <pont-badge variant="secondary">
30149
- ${i.label}
30081
+ ${r.label}
30150
30082
  <span
30151
30083
  class="pont-cursor-pointer pont-ml-1"
30152
- @click=${() => this.removeFilter(i.value)}
30084
+ @click=${() => this.removeFilter(r.value)}
30153
30085
  >
30154
30086
  ${le()}
30155
30087
  </span>
@@ -30175,8 +30107,7 @@ let pe = class extends f {
30175
30107
  "roles",
30176
30108
  "invited_by",
30177
30109
  "created_at",
30178
- "expires_at",
30179
- "status"
30110
+ "expires_at"
30180
30111
  ]}
30181
30112
  ></pont-data-table>
30182
30113
 
@@ -30207,42 +30138,39 @@ let pe = class extends f {
30207
30138
  `;
30208
30139
  }
30209
30140
  };
30210
- Ee([
30141
+ Fe([
30211
30142
  a({ attribute: !1 })
30212
- ], pe.prototype, "invitations", 2);
30213
- Ee([
30143
+ ], be.prototype, "invitations", 2);
30144
+ Fe([
30214
30145
  a({ type: Boolean, attribute: !1 })
30215
- ], pe.prototype, "invitationsLoading", 2);
30216
- Ee([
30146
+ ], be.prototype, "invitationsLoading", 2);
30147
+ Fe([
30217
30148
  a({ type: String })
30218
- ], pe.prototype, "searchTerm", 2);
30219
- Ee([
30149
+ ], be.prototype, "searchTerm", 2);
30150
+ Fe([
30220
30151
  a({ type: Object, attribute: !1 })
30221
- ], pe.prototype, "invitationFilters", 2);
30222
- Ee([
30223
- a({ type: Array, attribute: !1 })
30224
- ], pe.prototype, "availableRoles", 2);
30225
- Ee([
30152
+ ], be.prototype, "invitationFilters", 2);
30153
+ Fe([
30226
30154
  a({ type: Array, attribute: !1 })
30227
- ], pe.prototype, "statusOptions", 2);
30228
- Ee([
30155
+ ], be.prototype, "availableRoles", 2);
30156
+ Fe([
30229
30157
  a({ type: Number })
30230
- ], pe.prototype, "invitationsPage", 2);
30231
- Ee([
30158
+ ], be.prototype, "invitationsPage", 2);
30159
+ Fe([
30232
30160
  a({ type: Number })
30233
- ], pe.prototype, "invitationsTotalPages", 2);
30234
- Ee([
30161
+ ], be.prototype, "invitationsTotalPages", 2);
30162
+ Fe([
30235
30163
  a({ type: Number })
30236
- ], pe.prototype, "invitationsTotal", 2);
30237
- Ee([
30164
+ ], be.prototype, "invitationsTotal", 2);
30165
+ Fe([
30238
30166
  a({ type: Number })
30239
- ], pe.prototype, "rowsPerPage", 2);
30240
- Ee([
30167
+ ], be.prototype, "rowsPerPage", 2);
30168
+ Fe([
30241
30169
  m()
30242
- ], pe.prototype, "_searchDebounceTimer", 2);
30243
- pe = Ee([
30170
+ ], be.prototype, "_searchDebounceTimer", 2);
30171
+ be = Fe([
30244
30172
  p("pont-member-management-invitations-panel")
30245
- ], pe);
30173
+ ], be);
30246
30174
  var jr = /* @__PURE__ */ ((t) => (t.MEMBERS = "Members", t.INVITATIONS = "Invitations", t))(jr || {});
30247
30175
  function cE(t) {
30248
30176
  const e = [
@@ -30522,7 +30450,6 @@ const hE = [
30522
30450
  organization_id: "org_123",
30523
30451
  invitee_email: "frank@example.com",
30524
30452
  roles: [{ key: "viewer", name: "Viewer" }],
30525
- status: "pending",
30526
30453
  invited_by: { id: "user_1", name: "Alice Smith" },
30527
30454
  created_at: Date.now() / 1e3 - 86400 * 2,
30528
30455
  updated_at: Date.now() / 1e3 - 86400 * 2,
@@ -30536,7 +30463,6 @@ const hE = [
30536
30463
  organization_id: "org_123",
30537
30464
  invitee_email: "grace@example.com",
30538
30465
  roles: [{ key: "manager", name: "Manager" }],
30539
- status: "pending",
30540
30466
  invited_by: { id: "user_2", name: "Bob Johnson" },
30541
30467
  created_at: Date.now() / 1e3 - 86400 * 10,
30542
30468
  updated_at: Date.now() / 1e3 - 86400 * 10,
@@ -30548,38 +30474,8 @@ const hE = [
30548
30474
  {
30549
30475
  id: "inv_3",
30550
30476
  organization_id: "org_123",
30551
- invitee_email: "henry@example.com",
30552
- roles: [{ key: "developer", name: "Developer" }],
30553
- status: "accepted",
30554
- invited_by: { id: "user_3", name: "Charlie Davis" },
30555
- created_at: Date.now() / 1e3 - 86400 * 30,
30556
- updated_at: Date.now() / 1e3 - 86400 * 28,
30557
- expires_at: Date.now() / 1e3 - 86400 * 10,
30558
- last_sent_at: Date.now() / 1e3 - 86400 * 30,
30559
- resend_count: 0,
30560
- accepted_at: Date.now() / 1e3 - 86400 * 28,
30561
- object: "invitation"
30562
- },
30563
- {
30564
- id: "inv_4",
30565
- organization_id: "org_123",
30566
- invitee_email: "irene@example.com",
30567
- roles: [{ key: "viewer", name: "Viewer" }],
30568
- status: "expired",
30569
- invited_by: { id: "user_4", name: "Diana Evans" },
30570
- created_at: Date.now() / 1e3 - 86400 * 15,
30571
- updated_at: Date.now() / 1e3 - 86400 * 15,
30572
- expires_at: Date.now() / 1e3 - 86400 * 5,
30573
- last_sent_at: Date.now() / 1e3 - 86400 * 15,
30574
- resend_count: 1,
30575
- object: "invitation"
30576
- },
30577
- {
30578
- id: "inv_5",
30579
- organization_id: "org_123",
30580
30477
  invitee_email: "jack@example.com",
30581
30478
  roles: [{ key: "admin", name: "Admin" }],
30582
- status: "pending",
30583
30479
  invited_by: { id: "user_1", name: "Alice Smith" },
30584
30480
  created_at: Date.now() / 1e3 - 86400 * 1,
30585
30481
  updated_at: Date.now() / 1e3 - 86400 * 1,
@@ -30592,28 +30488,26 @@ const hE = [
30592
30488
  function uE(t) {
30593
30489
  let e = [...hE];
30594
30490
  if (t != null && t.search) {
30595
- const d = t.search.toLowerCase();
30491
+ const c = t.search.toLowerCase();
30596
30492
  e = e.filter(
30597
- (g) => g.invitee_email.toLowerCase().includes(d)
30493
+ (d) => d.invitee_email.toLowerCase().includes(c)
30598
30494
  );
30599
30495
  }
30600
30496
  if (t != null && t.roles) {
30601
- const d = t.roles.split(",");
30497
+ const c = t.roles.split(",");
30602
30498
  e = e.filter(
30603
- (g) => g.roles.some((v) => d.includes(v.key))
30499
+ (d) => d.roles.some((g) => c.includes(g.key))
30604
30500
  );
30605
30501
  }
30606
- let n = t != null && t.status ? t.status.split(",") : ["pending"];
30607
- n.length > 0 && n[0] !== "" && (e = e.filter((d) => n.includes(d.status)));
30608
- const o = (t == null ? void 0 : t.page) || 1, r = (t == null ? void 0 : t.limit) || 5, i = (o - 1) * r, s = i + r;
30502
+ const n = (t == null ? void 0 : t.page) || 1, o = (t == null ? void 0 : t.limit) || 5, r = (n - 1) * o, i = r + o;
30609
30503
  return {
30610
- data: e.slice(i, s),
30504
+ data: e.slice(r, i),
30611
30505
  object: "list",
30612
30506
  pagination: {
30613
- page: o,
30614
- limit: r,
30507
+ page: n,
30508
+ limit: o,
30615
30509
  total: e.length,
30616
- total_pages: Math.ceil(e.length / r)
30510
+ total_pages: Math.ceil(e.length / o)
30617
30511
  }
30618
30512
  };
30619
30513
  }
@@ -30627,14 +30521,8 @@ class ot extends f {
30627
30521
  super(...arguments), this.mode = "PAGE", this.title = "Member Management", this.description = "Manage member access, roles, and invitations", this.organizationId = "", this.isOpen = !1, this.monitoringFlag = !1, this.membersSearchTerm = "", this.invitationsSearchTerm = "", this.members = [], this.invitations = [], this.membersLoading = !1, this.invitationsLoading = !1, this.useMockData = !1, this.membersPage = 1, this.membersTotalPages = 0, this.invitationsPage = 1, this.invitationsTotalPages = 0, this.membersTotal = 0, this.invitationsTotal = 0, this.rowsPerPage = 5, this.inviteDrawerId = "pont-member-invite", this.availableRoles = [], this.isLoadingRoles = !1, this._rolesLoaded = !1, this.memberFilters = {
30628
30522
  roles: []
30629
30523
  }, this.invitationFilters = {
30630
- roles: [],
30631
- status: []
30632
- // empty means use default: pending,expired
30633
- }, this.invitationStatusOptions = [
30634
- { value: "pending", label: "Pending" },
30635
- { value: "accepted", label: "Accepted" },
30636
- { value: "expired", label: "Expired" }
30637
- ], this.selectedMember = null, this.actionModalOpen = !1, this.actionModalConfig = {
30524
+ roles: []
30525
+ }, this.selectedMember = null, this.actionModalOpen = !1, this.actionModalConfig = {
30638
30526
  title: "",
30639
30527
  description: "",
30640
30528
  confirmLabel: "Confirm",
@@ -30725,10 +30613,9 @@ class ot extends f {
30725
30613
  const i = { page: e, limit: n };
30726
30614
  o && (i.search = o);
30727
30615
  const s = r || this.invitationFilters;
30728
- let c = "pending";
30729
- s.status && s.status.length > 0 && (c = s.status.join(",")), i.status = c, s.roles && s.roles.length && (i.roles = s.roles.join(","));
30730
- let d;
30731
- this.useMockData ? d = uE(i) : d = await IC(this.organizationId, i), this.invitations = d.data, this.invitationsPage = d.pagination.page, this.invitationsTotalPages = d.pagination.total_pages, this.invitationsTotal = d.pagination.total;
30616
+ s.roles && s.roles.length && (i.roles = s.roles.join(","));
30617
+ let c;
30618
+ this.useMockData ? c = uE(i) : c = await IC(this.organizationId, i), this.invitations = c.data, this.invitationsPage = c.pagination.page, this.invitationsTotalPages = c.pagination.total_pages, this.invitationsTotal = c.pagination.total;
30732
30619
  } catch (i) {
30733
30620
  console.error(
30734
30621
  "[pont-member-management] Failed loading invitations:",
@@ -30784,8 +30671,7 @@ class ot extends f {
30784
30671
  handleInvitationsFilterChange(e) {
30785
30672
  const n = e.detail || {};
30786
30673
  this.invitationFilters = {
30787
- roles: n.roles || [],
30788
- status: n.status || []
30674
+ roles: n.roles || []
30789
30675
  }, this.loadInvitations(
30790
30676
  1,
30791
30677
  this.rowsPerPage,
@@ -30802,7 +30688,7 @@ class ot extends f {
30802
30688
  );
30803
30689
  }
30804
30690
  handleInvitationsClearFilters() {
30805
- this.invitationFilters = { roles: [], status: [] }, this.loadInvitations(
30691
+ this.invitationFilters = { roles: [] }, this.loadInvitations(
30806
30692
  1,
30807
30693
  this.rowsPerPage,
30808
30694
  this.invitationsSearchTerm,
@@ -30827,9 +30713,6 @@ class ot extends f {
30827
30713
  ...this.invitationFilters,
30828
30714
  roles: this.invitationFilters.roles.filter(
30829
30715
  (o) => o !== n
30830
- ),
30831
- status: this.invitationFilters.status.filter(
30832
- (o) => o !== n
30833
30716
  )
30834
30717
  }, this.loadInvitations(
30835
30718
  1,
@@ -30966,7 +30849,7 @@ class ot extends f {
30966
30849
  `,
30967
30850
  confirmLabel: "Cancel Invitation",
30968
30851
  variant: "danger",
30969
- warningText: "This invitation will be permanently revoked and the recipient will lose access to join the organization.",
30852
+ warningText: "This invitation will be permanently deleted and the recipient will lose access to join the organization.",
30970
30853
  onConfirm: async () => {
30971
30854
  await RC(this.organizationId, n.id), this.loadInvitations(
30972
30855
  this.invitationsPage,
@@ -31029,7 +30912,7 @@ class ot extends f {
31029
30912
  );
31030
30913
  }, 50)}
31031
30914
  >
31032
- ${G0()}Invite Members
30915
+ ${K0()}Invite Members
31033
30916
  </pont-button>
31034
30917
  </div>
31035
30918
  <div class="pont-mt-6">
@@ -31065,7 +30948,6 @@ class ot extends f {
31065
30948
  .searchTerm=${this.invitationsSearchTerm}
31066
30949
  .invitationFilters=${this.invitationFilters}
31067
30950
  .availableRoles=${this.availableRoles}
31068
- .statusOptions=${this.invitationStatusOptions}
31069
30951
  .invitationsPage=${this.invitationsPage}
31070
30952
  .invitationsTotalPages=${this.invitationsTotalPages}
31071
30953
  .invitationsTotal=${this.invitationsTotal}
@@ -31265,7 +31147,7 @@ si = qs([
31265
31147
  p("pont-preview")
31266
31148
  ], si);
31267
31149
  const vE = "We couldn't reach the server. Check your connection and try again.", bE = "Too many attempts. Wait a moment and try again.", yE = "Something went wrong on our side. Please try again.", _E = "Something went wrong. Please try again.", wE = "This sign-in could not be completed.", $E = "The passkey request was cancelled or timed out. Please try again.", CE = 409;
31268
- function Wu(t) {
31150
+ function Ku(t) {
31269
31151
  if (t instanceof DOMException && (t.name === "NotAllowedError" || t.name === "AbortError"))
31270
31152
  return { message: $E, restartable: !1 };
31271
31153
  const { status: e, code: n, message: o } = EE(t);
@@ -31319,11 +31201,11 @@ class jn extends f {
31319
31201
  }
31320
31202
  async startAuthFlow() {
31321
31203
  if (!this.__flowStarted) {
31322
- this.__flowStarted = !0, this.startError = void 0, await d0(dt);
31204
+ this.__flowStarted = !0, this.startError = void 0, await d0(lt);
31323
31205
  try {
31324
31206
  await this.startFlow();
31325
31207
  } catch (e) {
31326
- console.error(`[${this.localName}] Starting the flow failed:`, e), this.startError = Wu(e).message, this.__flowStarted = !1;
31208
+ console.error(`[${this.localName}] Starting the flow failed:`, e), this.startError = Ku(e).message, this.__flowStarted = !1;
31327
31209
  }
31328
31210
  this.tryRemoveFallback();
31329
31211
  }
@@ -31365,7 +31247,7 @@ var xE = Object.getOwnPropertyDescriptor, OE = (t, e, n, o) => {
31365
31247
  };
31366
31248
  let lh = class extends jn {
31367
31249
  startFlow() {
31368
- return dt.startLoginflow();
31250
+ return lt.startLoginflow();
31369
31251
  }
31370
31252
  };
31371
31253
  lh = OE([
@@ -31378,7 +31260,7 @@ var PE = Object.getOwnPropertyDescriptor, RE = (t, e, n, o) => {
31378
31260
  };
31379
31261
  let ch = class extends jn {
31380
31262
  startFlow() {
31381
- return dt.startLoginflow("sys_signin-flow-passkey");
31263
+ return lt.startLoginflow("sys_signin-flow-passkey");
31382
31264
  }
31383
31265
  };
31384
31266
  ch = RE([
@@ -31391,7 +31273,7 @@ var IE = Object.getOwnPropertyDescriptor, TE = (t, e, n, o) => {
31391
31273
  };
31392
31274
  let dh = class extends jn {
31393
31275
  startFlow() {
31394
- return dt.startLoginflow("sys_signup-flow");
31276
+ return lt.startLoginflow("sys_signup-flow");
31395
31277
  }
31396
31278
  };
31397
31279
  dh = TE([
@@ -31413,7 +31295,7 @@ class wc extends f {
31413
31295
  const { name: e, email: n, avatar_url: o } = this.user || {};
31414
31296
  return l`
31415
31297
  <div
31416
- class=${ge(
31298
+ class=${ue(
31417
31299
  "pont-flex pont-items-center pont-gap-2 pont-w-full",
31418
31300
  this.isTrigger ? "pont-py-2" : ""
31419
31301
  )}
@@ -31458,14 +31340,14 @@ class kr extends f {
31458
31340
  this._navigate(this.accountSettingsPath);
31459
31341
  return;
31460
31342
  }
31461
- Hu(), document.querySelector('pont-account-settings[mode="MODAL"]') || console.warn(
31343
+ Vu(), document.querySelector('pont-account-settings[mode="MODAL"]') || console.warn(
31462
31344
  `[pont-account-menu] 'Account settings' had nowhere to go: no accountSettingsPath is set, nothing cancelled the account-settings event, and no <pont-account-settings mode="MODAL"> is mounted.`
31463
31345
  );
31464
31346
  }
31465
31347
  }, this._handleLogout = () => {
31466
31348
  this.dispatchEvent(
31467
31349
  new CustomEvent("logout", { bubbles: !0, composed: !0 })
31468
- ), dt.signOut();
31350
+ ), lt.signOut();
31469
31351
  };
31470
31352
  }
31471
31353
  createRenderRoot() {
@@ -31501,7 +31383,7 @@ class kr extends f {
31501
31383
  try {
31502
31384
  const n = this.auth.isAuthenticated;
31503
31385
  if (this.signedIn = n, n) {
31504
- const o = dt.getAuthenticatedUser();
31386
+ const o = lt.getAuthenticatedUser();
31505
31387
  this.user = {
31506
31388
  email: o == null ? void 0 : o.email,
31507
31389
  name: (o == null ? void 0 : o.name) || `${(o == null ? void 0 : o.given_name) || ""} ${(o == null ? void 0 : o.family_name) || ""}`.trim(),
@@ -31752,7 +31634,7 @@ class ze extends f {
31752
31634
  }
31753
31635
  readCurrent() {
31754
31636
  var e;
31755
- this.currentId = ((e = dt.getOrganization()) == null ? void 0 : e.id) ?? null;
31637
+ this.currentId = ((e = lt.getOrganization()) == null ? void 0 : e.id) ?? null;
31756
31638
  }
31757
31639
  async load() {
31758
31640
  var e;
@@ -31774,8 +31656,8 @@ class ze extends f {
31774
31656
  if (!(e === this.currentId || this.switching)) {
31775
31657
  this.switching = e, this.error = null;
31776
31658
  try {
31777
- await dt.switchOrganization(e), this.readCurrent();
31778
- const r = dt.getOrganization(), i = {
31659
+ await lt.switchOrganization(e), this.readCurrent();
31660
+ const r = lt.getOrganization(), i = {
31779
31661
  organizationId: e,
31780
31662
  roles: (r == null ? void 0 : r.roles) ?? [],
31781
31663
  permissions: (r == null ? void 0 : r.permissions) ?? []
@@ -31881,9 +31763,9 @@ customElements.define("pont-organization-switcher", ze);
31881
31763
  * Copyright 2020 Google LLC
31882
31764
  * SPDX-License-Identifier: BSD-3-Clause
31883
31765
  */
31884
- const Yu = Symbol.for(""), kE = (t) => {
31885
- if ((t == null ? void 0 : t.r) === Yu) return t == null ? void 0 : t._$litStatic$;
31886
- }, ME = (t) => ({ _$litStatic$: t, r: Yu }), ph = /* @__PURE__ */ new Map(), NE = (t) => (e, ...n) => {
31766
+ const Wu = Symbol.for(""), kE = (t) => {
31767
+ if ((t == null ? void 0 : t.r) === Wu) return t == null ? void 0 : t._$litStatic$;
31768
+ }, ME = (t) => ({ _$litStatic$: t, r: Wu }), ph = /* @__PURE__ */ new Map(), NE = (t) => (e, ...n) => {
31887
31769
  const o = n.length;
31888
31770
  let r, i;
31889
31771
  const s = [], c = [];
@@ -31910,7 +31792,7 @@ let mt = class extends _e {
31910
31792
  const e = {};
31911
31793
  e[this.dataKey] = t;
31912
31794
  try {
31913
- await dt.processLoginflowEvent({
31795
+ await lt.processLoginflowEvent({
31914
31796
  event: this.event,
31915
31797
  data: e
31916
31798
  });
@@ -31943,7 +31825,7 @@ let mt = class extends _e {
31943
31825
  }, this.handleResend = async () => {
31944
31826
  if (this.resendEvent)
31945
31827
  try {
31946
- await dt.processLoginflowEvent({
31828
+ await lt.processLoginflowEvent({
31947
31829
  event: this.resendEvent
31948
31830
  });
31949
31831
  } finally {
@@ -32139,10 +32021,10 @@ var qE = Object.defineProperty, BE = Object.getOwnPropertyDescriptor, on = (t, e
32139
32021
  (s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
32140
32022
  return o && r && qE(e, n, r), r;
32141
32023
  };
32142
- let ct = class extends f {
32024
+ let dt = class extends f {
32143
32025
  constructor() {
32144
32026
  super(...arguments), this.seed = Bt(), this.duration = ki.duration, this.resend_event = ki.resend_event, this.resend_button_label = ki.resend_button_label, this.count_down_text = ki.count_down_text, this._remaining = 0, this._handleResendClick = () => {
32145
- dt.processLoginflowEvent({ event: this.resend_event }), this._startCountdown();
32027
+ lt.processLoginflowEvent({ event: this.resend_event }), this._startCountdown();
32146
32028
  };
32147
32029
  }
32148
32030
  /* ------------------------------------------------------------ */
@@ -32151,13 +32033,13 @@ let ct = class extends f {
32151
32033
  }
32152
32034
  /* ------------------------------------------------------------ */
32153
32035
  get rootId() {
32154
- return this.customId ?? `${ct.TAG}-${this.seed}`;
32036
+ return this.customId ?? `${dt.TAG}-${this.seed}`;
32155
32037
  }
32156
32038
  get countdownId() {
32157
- return `${this.rootId}-${ct.COUNTDOWN}`;
32039
+ return `${this.rootId}-${dt.COUNTDOWN}`;
32158
32040
  }
32159
32041
  get resendButtonId() {
32160
- return `${this.rootId}-${ct.RESEND_BUTTON}`;
32042
+ return `${this.rootId}-${dt.RESEND_BUTTON}`;
32161
32043
  }
32162
32044
  /* ------------------------------------------------------------ */
32163
32045
  connectedCallback() {
@@ -32188,17 +32070,17 @@ let ct = class extends f {
32188
32070
  render() {
32189
32071
  const t = this._remaining > 0;
32190
32072
  return l`
32191
- <div part=${ct.PARTS.root} id=${this.rootId}>
32073
+ <div part=${dt.PARTS.root} id=${this.rootId}>
32192
32074
  ${t ? l`
32193
32075
  <pont-typography-muted
32194
- part=${ct.PARTS.countdown}
32076
+ part=${dt.PARTS.countdown}
32195
32077
  id=${this.countdownId}
32196
32078
  >
32197
32079
  ${this.count_down_text}${this._remaining}s
32198
32080
  </pont-typography-muted>
32199
32081
  ` : l`
32200
32082
  <pont-button
32201
- part=${ct.PARTS.resendButton}
32083
+ part=${dt.PARTS.resendButton}
32202
32084
  id=${this.resendButtonId}
32203
32085
  variant="link"
32204
32086
  @click=${this._handleResendClick}
@@ -32210,39 +32092,39 @@ let ct = class extends f {
32210
32092
  `;
32211
32093
  }
32212
32094
  };
32213
- ct.ROOT = "otp-resend";
32214
- ct.COUNTDOWN = "countdown";
32215
- ct.RESEND_BUTTON = "resend-button";
32216
- ct.TAG = `${Ct}-${ct.ROOT}`;
32217
- ct.PARTS = {
32218
- root: ct.ROOT,
32219
- countdown: `${ct.ROOT}-${ct.COUNTDOWN}`,
32220
- resendButton: `${ct.ROOT}-${ct.RESEND_BUTTON}`
32095
+ dt.ROOT = "otp-resend";
32096
+ dt.COUNTDOWN = "countdown";
32097
+ dt.RESEND_BUTTON = "resend-button";
32098
+ dt.TAG = `${Ct}-${dt.ROOT}`;
32099
+ dt.PARTS = {
32100
+ root: dt.ROOT,
32101
+ countdown: `${dt.ROOT}-${dt.COUNTDOWN}`,
32102
+ resendButton: `${dt.ROOT}-${dt.RESEND_BUTTON}`
32221
32103
  };
32222
32104
  on([
32223
32105
  a({ type: String })
32224
- ], ct.prototype, "seed", 2);
32106
+ ], dt.prototype, "seed", 2);
32225
32107
  on([
32226
32108
  a({ type: String, attribute: "custom-id" })
32227
- ], ct.prototype, "customId", 2);
32109
+ ], dt.prototype, "customId", 2);
32228
32110
  on([
32229
32111
  a({ type: Number })
32230
- ], ct.prototype, "duration", 2);
32112
+ ], dt.prototype, "duration", 2);
32231
32113
  on([
32232
32114
  a({ type: String, attribute: "resend-event" })
32233
- ], ct.prototype, "resend_event", 2);
32115
+ ], dt.prototype, "resend_event", 2);
32234
32116
  on([
32235
32117
  a({ type: String, attribute: "resend-button-label" })
32236
- ], ct.prototype, "resend_button_label", 2);
32118
+ ], dt.prototype, "resend_button_label", 2);
32237
32119
  on([
32238
32120
  a({ type: String, attribute: "count-down-text" })
32239
- ], ct.prototype, "count_down_text", 2);
32121
+ ], dt.prototype, "count_down_text", 2);
32240
32122
  on([
32241
32123
  m()
32242
- ], ct.prototype, "_remaining", 2);
32243
- ct = on([
32124
+ ], dt.prototype, "_remaining", 2);
32125
+ dt = on([
32244
32126
  p("pont-otp-resend")
32245
- ], ct);
32127
+ ], dt);
32246
32128
  const FE = [
32247
32129
  A,
32248
32130
  D,
@@ -32293,7 +32175,7 @@ let at = class extends f {
32293
32175
  g
32294
32176
  );
32295
32177
  try {
32296
- const v = await dt.processLoginflowEvent({
32178
+ const v = await lt.processLoginflowEvent({
32297
32179
  event: i,
32298
32180
  ...Object.keys(r).length ? { data: r } : {}
32299
32181
  });
@@ -32430,7 +32312,7 @@ let wt = class extends f {
32430
32312
  constructor() {
32431
32313
  super(...arguments), this.spec = "", this.designMode = !1, this.branding = _i, this.handleError = (t) => {
32432
32314
  const e = t.detail ?? {};
32433
- console.error(`${t.type}:`, e.message), this.showError(Wu(e.error ?? e.message));
32315
+ console.error(`${t.type}:`, e.message), this.showError(Ku(e.error ?? e.message));
32434
32316
  };
32435
32317
  }
32436
32318
  set renderSpec(t) {
@@ -32549,10 +32431,13 @@ wt = xi([
32549
32431
  p("pont-layout")
32550
32432
  ], wt);
32551
32433
  function WE({ pathname: t, search: e, env: n }) {
32552
- const o = new URLSearchParams(e), r = o.get("redirect_url") || n.signinRedirectUrl;
32434
+ const r = new URLSearchParams(e).get("redirect_url") || n.signinRedirectUrl;
32553
32435
  return [n.signinUrl, n.signupUrl, n.invitationUrl].filter(
32554
32436
  (s) => !!s
32555
- ).some((s) => t.includes(s)) ? r || "/" : o.has("invite_token") && r ? r : null;
32437
+ ).some((s) => t.includes(s)) ? r || "/" : Yu(e) && r ? r : null;
32438
+ }
32439
+ function Yu(t) {
32440
+ return new URLSearchParams(t).has("invite_token");
32556
32441
  }
32557
32442
  var YE = Object.defineProperty, ZE = Object.getOwnPropertyDescriptor, sn = (t, e, n, o) => {
32558
32443
  for (var r = o > 1 ? void 0 : o ? ZE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
@@ -32631,7 +32516,7 @@ let Rr = class extends f {
32631
32516
  }, document.head.appendChild(n);
32632
32517
  }
32633
32518
  configureAuth(t) {
32634
- dt.configure({
32519
+ lt.configure({
32635
32520
  domain: t.domain,
32636
32521
  appId: t.appId,
32637
32522
  // Two different things that both read as "locale": the first is the
@@ -32687,7 +32572,7 @@ let Rr = class extends f {
32687
32572
  });
32688
32573
  if (t) {
32689
32574
  if (this.wasBouncedBackFrom(t)) {
32690
- this.clearRedirectAttempt(), dt.invalidateSession(), this.refreshAuthState();
32575
+ this.clearRedirectAttempt(), lt.invalidateSession(), this.refreshAuthState();
32691
32576
  return;
32692
32577
  }
32693
32578
  this.recordRedirectAttempt(t), window.location.href = t;
@@ -32759,7 +32644,7 @@ let Rr = class extends f {
32759
32644
  }
32760
32645
  }
32761
32646
  refreshAuthState() {
32762
- this.auth = { isAuthenticated: dt.isAuthenticated(), resolved: !0 }, this.dispatchAuthChangedEvent(this.auth);
32647
+ this.auth = { isAuthenticated: lt.isAuthenticated(), resolved: !0 }, this.dispatchAuthChangedEvent(this.auth);
32763
32648
  }
32764
32649
  /**
32765
32650
  * Publishes the auth state to anything that is not a Lit context consumer.
@@ -32805,8 +32690,12 @@ let Rr = class extends f {
32805
32690
  * <pont-authenticated> redirecting to the sign-in page in between.
32806
32691
  */
32807
32692
  async restoreThenRefreshAuthState() {
32693
+ if (Yu(window.location.search)) {
32694
+ lt.invalidateSession(), this.refreshAuthState();
32695
+ return;
32696
+ }
32808
32697
  try {
32809
- await dt.restoreSession();
32698
+ await lt.restoreSession();
32810
32699
  } catch {
32811
32700
  }
32812
32701
  this.refreshAuthState();
@@ -32993,13 +32882,13 @@ Rl = Qu([
32993
32882
  p("pont-auth-state")
32994
32883
  ], Rl);
32995
32884
  function yS() {
32996
- return dt;
32885
+ return lt;
32997
32886
  }
32998
32887
  export {
32999
32888
  Rl as AuthStateElement,
33000
32889
  ce as BadgeSelector,
33001
32890
  _e as BaseElement,
33002
- Ae as MultiEmailInput,
32891
+ Te as MultiEmailInput,
33003
32892
  Oa as ORGANIZATION_CHANGED_EVENT,
33004
32893
  LE as ORGANIZATION_SWITCH_FAILED_EVENT,
33005
32894
  Kt as PontAccountInfo,
@@ -33011,7 +32900,7 @@ export {
33011
32900
  P as PontConfirmField,
33012
32901
  fs as PontContainer,
33013
32902
  Pn as PontCountdown,
33014
- fe as PontDivider,
32903
+ me as PontDivider,
33015
32904
  Ft as PontEditIdentifier,
33016
32905
  A as PontEmailField,
33017
32906
  at as PontForm,
@@ -33022,7 +32911,7 @@ export {
33022
32911
  lh as PontInvitation,
33023
32912
  wt as PontKitLayout,
33024
32913
  Y as PontLink,
33025
- De as PontLocationInfo,
32914
+ Ae as PontLocationInfo,
33026
32915
  sr as PontLogo,
33027
32916
  ot as PontMemberManagement,
33028
32917
  ni as PontModal,
@@ -33030,11 +32919,11 @@ export {
33030
32919
  x as PontNameField,
33031
32920
  ze as PontOrganizationSwitcher,
33032
32921
  mt as PontOtp,
33033
- ct as PontOtpResend,
32922
+ dt as PontOtpResend,
33034
32923
  co as PontPaginator,
33035
32924
  J as PontPasskeyButton,
33036
32925
  $ as PontPasswordField,
33037
- Le as PontPersonalInfo,
32926
+ De as PontPersonalInfo,
33038
32927
  D as PontPhoneField,
33039
32928
  Rr as PontProvider,
33040
32929
  Z as PontProviderButton,
@@ -33049,7 +32938,7 @@ export {
33049
32938
  et as PontSubmitButton,
33050
32939
  bs as PontSubtitle,
33051
32940
  ys as PontTitle,
33052
- ke as PontUrlsInfo,
32941
+ Le as PontUrlsInfo,
33053
32942
  wc as PontUserSnippet,
33054
32943
  O as PontUsernameField,
33055
32944
  _t as PontWatermark,
@@ -33057,9 +32946,9 @@ export {
33057
32946
  Wt as Profile,
33058
32947
  Pl as SignedIn,
33059
32948
  Ol as SignedOut,
33060
- Gu as closeAccountSettingsModal,
32949
+ Hu as closeAccountSettingsModal,
33061
32950
  KC as closeMemberManagementModal,
33062
- Hu as openAccountSettingsModal,
32951
+ Vu as openAccountSettingsModal,
33063
32952
  GC as openMemberManagementModal,
33064
32953
  WC as setLocales,
33065
32954
  yS as useAuthProvider