@photonhealth/elements 0.0.88 → 0.0.89

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
@@ -13,19 +13,19 @@ const Vr = 1, bs = 2, Fg = {
13
13
  owner: null
14
14
  };
15
15
  var it = null;
16
- let Cn = null, Ge = null, yt = null, Ar = null, th = 0;
16
+ let Cn = null, et = null, mt = null, Ar = null, th = 0;
17
17
  function $a(e, t) {
18
- const r = Ge, n = it, i = e.length === 0, o = i ? Fg : {
18
+ const r = et, n = it, i = e.length === 0, o = i ? Fg : {
19
19
  owned: null,
20
20
  cleanups: null,
21
21
  context: null,
22
- owner: t === void 0 ? n : t
22
+ owner: t || n
23
23
  }, a = i ? e : () => e(() => V(() => Dl(o)));
24
- it = o, Ge = null;
24
+ it = o, et = null;
25
25
  try {
26
26
  return Ti(a, !0);
27
27
  } finally {
28
- Ge = r, it = n;
28
+ et = r, it = n;
29
29
  }
30
30
  }
31
31
  function F(e, t) {
@@ -60,14 +60,12 @@ function v$(e) {
60
60
  return Ti(e, !1);
61
61
  }
62
62
  function V(e) {
63
- if (Ge === null)
64
- return e();
65
- const t = Ge;
66
- Ge = null;
63
+ const t = et;
64
+ et = null;
67
65
  try {
68
66
  return e();
69
67
  } finally {
70
- Ge = t;
68
+ et = t;
71
69
  }
72
70
  }
73
71
  function Tt(e) {
@@ -77,7 +75,7 @@ function Il(e) {
77
75
  return it === null || (it.cleanups === null ? it.cleanups = [e] : it.cleanups.push(e)), e;
78
76
  }
79
77
  function Lg() {
80
- return Ge;
78
+ return et;
81
79
  }
82
80
  function P() {
83
81
  return it;
@@ -107,12 +105,12 @@ function Mg() {
107
105
  if (this.state === Vr || e)
108
106
  Pi(this);
109
107
  else {
110
- const t = yt;
111
- yt = null, Ti(() => ws(this), !1), yt = t;
108
+ const t = mt;
109
+ mt = null, Ti(() => ws(this), !1), mt = t;
112
110
  }
113
- if (Ge) {
111
+ if (et) {
114
112
  const t = this.observers ? this.observers.length : 0;
115
- Ge.sources ? (Ge.sources.push(this), Ge.sourceSlots.push(t)) : (Ge.sources = [this], Ge.sourceSlots = [t]), this.observers ? (this.observers.push(Ge), this.observerSlots.push(Ge.sources.length - 1)) : (this.observers = [Ge], this.observerSlots = [Ge.sources.length - 1]);
113
+ et.sources ? (et.sources.push(this), et.sourceSlots.push(t)) : (et.sources = [this], et.sourceSlots = [t]), this.observers ? (this.observers.push(et), this.observerSlots.push(et.sources.length - 1)) : (this.observers = [et], this.observerSlots = [et.sources.length - 1]);
116
114
  }
117
115
  return this.value;
118
116
  }
@@ -121,18 +119,18 @@ function jg(e, t, r) {
121
119
  return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && Ti(() => {
122
120
  for (let i = 0; i < e.observers.length; i += 1) {
123
121
  const o = e.observers[i], a = Cn && Cn.running;
124
- a && Cn.disposed.has(o), (a && !o.tState || !a && !o.state) && (o.pure ? yt.push(o) : Ar.push(o), o.observers && Ug(o)), a || (o.state = Vr);
122
+ a && Cn.disposed.has(o), (a && !o.tState || !a && !o.state) && (o.pure ? mt.push(o) : Ar.push(o), o.observers && Ug(o)), a || (o.state = Vr);
125
123
  }
126
- if (yt.length > 1e6)
127
- throw yt = [], new Error();
124
+ if (mt.length > 1e6)
125
+ throw mt = [], new Error();
128
126
  }, !1)), t;
129
127
  }
130
128
  function Pi(e) {
131
129
  if (!e.fn)
132
130
  return;
133
131
  Dl(e);
134
- const t = it, r = Ge, n = th;
135
- Ge = it = e, $$(e, e.value, n), Ge = r, it = t;
132
+ const t = it, r = et, n = th;
133
+ et = it = e, $$(e, e.value, n), et = r, it = t;
136
134
  }
137
135
  function $$(e, t, r) {
138
136
  let n;
@@ -174,24 +172,24 @@ function $s(e) {
174
172
  if (e = r[n], e.state === Vr || t)
175
173
  Pi(e);
176
174
  else if (e.state === bs || t) {
177
- const i = yt;
178
- yt = null, Ti(() => ws(e, r[0]), !1), yt = i;
175
+ const i = mt;
176
+ mt = null, Ti(() => ws(e, r[0]), !1), mt = i;
179
177
  }
180
178
  }
181
179
  function Ti(e, t) {
182
- if (yt)
180
+ if (mt)
183
181
  return e();
184
182
  let r = !1;
185
- t || (yt = []), Ar ? r = !0 : Ar = [], th++;
183
+ t || (mt = []), Ar ? r = !0 : Ar = [], th++;
186
184
  try {
187
185
  const n = e();
188
186
  return w$(r), n;
189
187
  } catch (n) {
190
- r || (Ar = null), yt = null, Vg(n);
188
+ mt || (Ar = null), mt = null, Vg(n);
191
189
  }
192
190
  }
193
191
  function w$(e) {
194
- if (yt && (zg(yt), yt = null), e)
192
+ if (mt && (zg(mt), mt = null), e)
195
193
  return;
196
194
  const t = Ar;
197
195
  Ar = null, t.length && Ti(() => Rg(t), !1);
@@ -221,7 +219,7 @@ function Ug(e) {
221
219
  const t = Cn;
222
220
  for (let r = 0; r < e.observers.length; r += 1) {
223
221
  const n = e.observers[r];
224
- (!n.state || t) && (n.state = bs, n.pure ? yt.push(n) : Ar.push(n), n.observers && Ug(n));
222
+ (!n.state || t) && (n.state = bs, n.pure ? mt.push(n) : Ar.push(n), n.observers && Ug(n));
225
223
  }
226
224
  }
227
225
  function Dl(e) {
@@ -1213,13 +1211,13 @@ var Ss = wa, qt = !!Object.getOwnPropertySymbols && !Ae(function() {
1213
1211
  return hw(Ri(e), t);
1214
1212
  }, pw = 0, mw = Math.random(), vw = fe(1 .toString), gi = function(e) {
1215
1213
  return "Symbol(" + (e === void 0 ? "" : e) + ")_" + vw(++pw + mw, 36);
1216
- }, Hi = yn("wks"), Pn = le.Symbol, Ap = Pn && Pn.for, yw = ih ? Pn : Pn && Pn.withoutSetter || gi, Xe = function(e) {
1214
+ }, Hi = yn("wks"), Pn = le.Symbol, Ap = Pn && Pn.for, yw = ih ? Pn : Pn && Pn.withoutSetter || gi, Ye = function(e) {
1217
1215
  if (!J(Hi, e) || !qt && typeof Hi[e] != "string") {
1218
1216
  var t = "Symbol." + e;
1219
1217
  qt && J(Pn, e) ? Hi[e] = Pn[e] : Hi[e] = ih && Ap ? Ap(t) : yw(t);
1220
1218
  }
1221
1219
  return Hi[e];
1222
- }, gw = TypeError, bw = Xe("toPrimitive"), $w = function(e, t) {
1220
+ }, gw = TypeError, bw = Ye("toPrimitive"), $w = function(e, t) {
1223
1221
  if (!Le(e) || yi(e))
1224
1222
  return e;
1225
1223
  var r, n = ks(e, bw);
@@ -1406,8 +1404,8 @@ var Yt = { set: Es, get: ho, has: Os, enforce: function(e) {
1406
1404
  (e.sham || i && i.sham) && Ll(o, "sham", !0), Ot(r, n, o, e);
1407
1405
  }
1408
1406
  }, ob = {};
1409
- ob[Xe("toStringTag")] = "z";
1410
- var yc, ch = String(ob) === "[object z]", Kw = Xe("toStringTag"), Yw = Object, Xw = Dr(function() {
1407
+ ob[Ye("toStringTag")] = "z";
1408
+ var yc, ch = String(ob) === "[object z]", Kw = Ye("toStringTag"), Yw = Object, Xw = Dr(function() {
1411
1409
  return arguments;
1412
1410
  }()) == "Arguments", Un = ch ? Dr : function(e) {
1413
1411
  var t, r, n;
@@ -1421,14 +1419,14 @@ var yc, ch = String(ob) === "[object z]", Kw = Xe("toStringTag"), Yw = Object, X
1421
1419
  if (Un(e) === "Symbol")
1422
1420
  throw TypeError("Cannot convert a Symbol value to a string");
1423
1421
  return Zw(e);
1424
- }, Jw = Xe("match"), e_ = TypeError, ab = function(e) {
1422
+ }, Jw = Ye("match"), e_ = TypeError, ab = function(e) {
1425
1423
  if (function(t) {
1426
1424
  var r;
1427
1425
  return Le(t) && ((r = t[Jw]) !== void 0 ? !!r : Dr(t) == "RegExp");
1428
1426
  }(e))
1429
1427
  throw e_("The method doesn't accept regular expressions");
1430
1428
  return e;
1431
- }, t_ = Xe("match"), sb = function(e) {
1429
+ }, t_ = Ye("match"), sb = function(e) {
1432
1430
  var t = /./;
1433
1431
  try {
1434
1432
  "/./"[e](t);
@@ -1489,12 +1487,12 @@ var Vp, fh = !ub || Ae(function() {
1489
1487
  return Gi(Gi.call) || !Gi(Object) || !Gi(function() {
1490
1488
  e = !0;
1491
1489
  }) || e;
1492
- }) ? db : Gi, u_ = Xe("species"), Bp = Array, fb = function(e, t) {
1490
+ }) ? db : Gi, u_ = Ye("species"), Bp = Array, fb = function(e, t) {
1493
1491
  return new (function(r) {
1494
1492
  var n;
1495
1493
  return Ps(r) && (n = r.constructor, (fh(n) && (n === Bp || Ps(n.prototype)) || Le(n) && (n = n[u_]) === null) && (n = void 0)), n === void 0 ? Bp : n;
1496
1494
  }(e))(t === 0 ? 0 : t);
1497
- }, d_ = Xe("species"), hb = Xe("isConcatSpreadable"), f_ = Ss >= 51 || !Ae(function() {
1495
+ }, d_ = Ye("species"), hb = Ye("isConcatSpreadable"), f_ = Ss >= 51 || !Ae(function() {
1498
1496
  var e = [];
1499
1497
  return e[hb] = !1, e.concat()[0] !== e;
1500
1498
  }), h_ = (Vp = "concat", Ss >= 51 || !Ae(function() {
@@ -1563,15 +1561,15 @@ var ln = Object.create || function(e, t) {
1563
1561
  }
1564
1562
  }, ph = { f: function(e) {
1565
1563
  return gb && Dr(e) == "Window" ? $_(e) : yb(Er(e));
1566
- } }, bb = { f: Xe }, xo = le, w_ = $t.f, Dt = function(e) {
1564
+ } }, bb = { f: Ye }, xo = le, w_ = $t.f, Dt = function(e) {
1567
1565
  var t = xo.Symbol || (xo.Symbol = {});
1568
1566
  J(t, e) || w_(t, e, { value: bb.f(e) });
1569
1567
  }, $b = function() {
1570
- var e = ur("Symbol"), t = e && e.prototype, r = t && t.valueOf, n = Xe("toPrimitive");
1568
+ var e = ur("Symbol"), t = e && e.prototype, r = t && t.valueOf, n = Ye("toPrimitive");
1571
1569
  t && !t[n] && Ot(t, n, function(i) {
1572
1570
  return kt(r, this);
1573
1571
  }, { arity: 1 });
1574
- }, __ = $t.f, qp = Xe("toStringTag"), tn = function(e, t, r) {
1572
+ }, __ = $t.f, qp = Ye("toStringTag"), tn = function(e, t, r) {
1575
1573
  e && !r && (e = e.prototype), e && !J(e, qp) && __(e, qp, { configurable: !0, value: t });
1576
1574
  }, x_ = fe(fe.bind), zl = function(e, t) {
1577
1575
  return oh(e), t === void 0 ? e : Lo ? x_(e, t) : function() {
@@ -1656,7 +1654,7 @@ qt || (lo = (ni = function() {
1656
1654
  }), Ot(ni, "withoutSetter", function(e) {
1657
1655
  return wc(gi(e), e);
1658
1656
  }), nh.f = Ru, $t.f = Ts, pb.f = _c, jo.f = Qp, wo.f = ph.f = Kp, jl.f = Sb, bb.f = function(e) {
1659
- return wc(Xe(e), e);
1657
+ return wc(Ye(e), e);
1660
1658
  }, Ee && (Jr(lo, "description", { configurable: !0, get: function() {
1661
1659
  return Gp(this).description;
1662
1660
  } }), Ot(Gt, "propertyIsEnumerable", Ru, { unsafe: !0 }))), dt({ global: !0, constructor: !0, wrap: !0, forced: !qt, sham: !qt }, { Symbol: ni }), Ul(hh(O_), function(e) {
@@ -1744,7 +1742,7 @@ var Tn, o0, a0, B_ = fe("".charAt), s0 = fe("".charCodeAt), W_ = fe("".slice), l
1744
1742
  return t[c0];
1745
1743
  var r = t.constructor;
1746
1744
  return Te(r) && t instanceof r ? r.prototype : t instanceof Fu ? G_ : null;
1747
- }, Lu = Xe("iterator"), Cb = !1;
1745
+ }, Lu = Ye("iterator"), Cb = !1;
1748
1746
  [].keys && ("next" in (a0 = [].keys()) ? (o0 = cn(cn(a0))) !== Object.prototype && (Tn = o0) : Cb = !0);
1749
1747
  var Q_ = !Le(Tn) || Ae(function() {
1750
1748
  var e = {};
@@ -1768,7 +1766,7 @@ var vh = { IteratorPrototype: Tn, BUGGY_SAFARI_ITERATORS: Cb }, bi = {}, K_ = vh
1768
1766
  throw Z_("Can't set " + X_(o) + " as a prototype");
1769
1767
  }(i), t ? e(n, i) : n.__proto__ = i, n;
1770
1768
  };
1771
- }() : void 0), J_ = sh.PROPER, e3 = sh.CONFIGURABLE, u0 = vh.IteratorPrototype, ra = vh.BUGGY_SAFARI_ITERATORS, Qi = Xe("iterator"), t3 = function() {
1769
+ }() : void 0), J_ = sh.PROPER, e3 = sh.CONFIGURABLE, u0 = vh.IteratorPrototype, ra = vh.BUGGY_SAFARI_ITERATORS, Qi = Ye("iterator"), t3 = function() {
1772
1770
  return this;
1773
1771
  }, yh = function(e, t, r, n, i, o, a) {
1774
1772
  (function(y, b, g, w) {
@@ -1834,9 +1832,9 @@ var Mu = function(e, t, r) {
1834
1832
  } catch (i) {
1835
1833
  Mu(e, "throw", i);
1836
1834
  }
1837
- }, a3 = Xe("iterator"), s3 = Array.prototype, Pb = function(e) {
1835
+ }, a3 = Ye("iterator"), s3 = Array.prototype, Pb = function(e) {
1838
1836
  return e !== void 0 && (bi.Array === e || s3[a3] === e);
1839
- }, l3 = Xe("iterator"), gh = function(e) {
1837
+ }, l3 = Ye("iterator"), gh = function(e) {
1840
1838
  if (!Ai(e))
1841
1839
  return ks(e, l3) || ks(e, "@@iterator") || bi[Un(e)];
1842
1840
  }, c3 = TypeError, Tb = function(e, t) {
@@ -1844,7 +1842,7 @@ var Mu = function(e, t, r) {
1844
1842
  if (oh(r))
1845
1843
  return ut(kt(r, e));
1846
1844
  throw c3(Di(e) + " is not iterable");
1847
- }, d0 = Array, Nb = Xe("iterator"), Ib = !1;
1845
+ }, d0 = Array, Nb = Ye("iterator"), Ib = !1;
1848
1846
  try {
1849
1847
  var u3 = 0, f0 = { next: function() {
1850
1848
  return { done: !!u3++ };
@@ -1887,7 +1885,7 @@ dt({ target: "Array", stat: !0, forced: d3 }, { from: function(e) {
1887
1885
  d = o ? o3(l, i, [c.value, h], !0) : c.value, _o(s, h, d);
1888
1886
  return s.length = h, s;
1889
1887
  } }), xo.Array.from;
1890
- var Ft, ci, Ns, f3 = typeof ArrayBuffer < "u" && typeof DataView < "u", h3 = $t.f, Db = Yt.enforce, p3 = Yt.get, Is = le.Int8Array, ju = Is && Is.prototype, h0 = le.Uint8ClampedArray, p0 = h0 && h0.prototype, pr = Is && cn(Is), ir = ju && cn(ju), m3 = Object.prototype, zu = le.TypeError, m0 = Xe("toStringTag"), Uu = gi("TYPED_ARRAY_TAG"), Rr = f3 && !!wr && Un(le.opera) !== "Opera", Rb = !1, Nr = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, bh = { BigInt64Array: 8, BigUint64Array: 8 }, Fb = function(e) {
1888
+ var Ft, ci, Ns, f3 = typeof ArrayBuffer < "u" && typeof DataView < "u", h3 = $t.f, Db = Yt.enforce, p3 = Yt.get, Is = le.Int8Array, ju = Is && Is.prototype, h0 = le.Uint8ClampedArray, p0 = h0 && h0.prototype, pr = Is && cn(Is), ir = ju && cn(ju), m3 = Object.prototype, zu = le.TypeError, m0 = Ye("toStringTag"), Uu = gi("TYPED_ARRAY_TAG"), Rr = f3 && !!wr && Un(le.opera) !== "Opera", Rb = !1, Nr = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, bh = { BigInt64Array: 8, BigUint64Array: 8 }, Fb = function(e) {
1891
1889
  var t = cn(e);
1892
1890
  if (Le(t)) {
1893
1891
  var r = p3(t);
@@ -1968,7 +1966,7 @@ var Vl = { NATIVE_ARRAY_BUFFER_VIEWS: Rr, TYPED_ARRAY_TAG: Rb && Uu, aTypedArray
1968
1966
  return !1;
1969
1967
  var t = Un(e);
1970
1968
  return t === "DataView" || J(Nr, t) || J(bh, t);
1971
- }, isTypedArray: v0, TypedArray: pr, TypedArrayPrototype: ir }, v3 = TypeError, y3 = Xe("species"), g3 = function(e, t) {
1969
+ }, isTypedArray: v0, TypedArray: pr, TypedArrayPrototype: ir }, v3 = TypeError, y3 = Ye("species"), g3 = function(e, t) {
1972
1970
  var r, n = ut(e).constructor;
1973
1971
  return n === void 0 || Ai(r = ut(n)[y3]) ? t : function(i) {
1974
1972
  if (fh(i))
@@ -1983,7 +1981,7 @@ var Vl = { NATIVE_ARRAY_BUFFER_VIEWS: Rr, TYPED_ARRAY_TAG: Rb && Uu, aTypedArray
1983
1981
  }, Ae(function() {
1984
1982
  new Int8Array(1).slice();
1985
1983
  }));
1986
- var _3 = $t.f, Vu = Xe("unscopables"), Bu = Array.prototype;
1984
+ var _3 = $t.f, Vu = Ye("unscopables"), Bu = Array.prototype;
1987
1985
  Bu[Vu] == null && _3(Bu, Vu, { configurable: !0, value: ln(null) });
1988
1986
  var xa = function(e) {
1989
1987
  Bu[Vu][e] = !0;
@@ -2103,7 +2101,7 @@ var T3 = TypeError, Sa = function(e, t) {
2103
2101
  for (var n in t)
2104
2102
  Ot(e, n, t[n], r);
2105
2103
  return e;
2106
- }, w0 = Xe("species"), I3 = $t.f, _0 = ii.fastKey, x0 = Yt.set, kc = Yt.getterFor, A3 = { getConstructor: function(e, t, r, n) {
2104
+ }, w0 = Ye("species"), I3 = $t.f, _0 = ii.fastKey, x0 = Yt.set, kc = Yt.getterFor, A3 = { getConstructor: function(e, t, r, n) {
2107
2105
  var i = e(function(l, u) {
2108
2106
  Mb(l, o), x0(l, { type: t, index: ln(null), first: void 0, last: void 0, size: 0 }), Ee || (l.size = 0), Ai(u) || Lb(u, l[n], { that: l, AS_ENTRIES: r });
2109
2107
  }), o = i.prototype, a = kc(t), s = function(l, u, d) {
@@ -4370,7 +4368,7 @@ function Fn(e, t) {
4370
4368
  }
4371
4369
  return "U+" + r.toString(16).toUpperCase().padStart(4, "0");
4372
4370
  }
4373
- function et(e, t, r, n, i) {
4371
+ function Je(e, t, r, n, i) {
4374
4372
  const o = e.line, a = 1 + r - e.lineStart;
4375
4373
  return new Yb(t, r, n, o, a, i);
4376
4374
  }
@@ -4395,35 +4393,35 @@ function N4(e, t) {
4395
4393
  case 35:
4396
4394
  return I4(e, i);
4397
4395
  case 33:
4398
- return et(e, I.BANG, i, i + 1);
4396
+ return Je(e, I.BANG, i, i + 1);
4399
4397
  case 36:
4400
- return et(e, I.DOLLAR, i, i + 1);
4398
+ return Je(e, I.DOLLAR, i, i + 1);
4401
4399
  case 38:
4402
- return et(e, I.AMP, i, i + 1);
4400
+ return Je(e, I.AMP, i, i + 1);
4403
4401
  case 40:
4404
- return et(e, I.PAREN_L, i, i + 1);
4402
+ return Je(e, I.PAREN_L, i, i + 1);
4405
4403
  case 41:
4406
- return et(e, I.PAREN_R, i, i + 1);
4404
+ return Je(e, I.PAREN_R, i, i + 1);
4407
4405
  case 46:
4408
4406
  if (r.charCodeAt(i + 1) === 46 && r.charCodeAt(i + 2) === 46)
4409
- return et(e, I.SPREAD, i, i + 3);
4407
+ return Je(e, I.SPREAD, i, i + 3);
4410
4408
  break;
4411
4409
  case 58:
4412
- return et(e, I.COLON, i, i + 1);
4410
+ return Je(e, I.COLON, i, i + 1);
4413
4411
  case 61:
4414
- return et(e, I.EQUALS, i, i + 1);
4412
+ return Je(e, I.EQUALS, i, i + 1);
4415
4413
  case 64:
4416
- return et(e, I.AT, i, i + 1);
4414
+ return Je(e, I.AT, i, i + 1);
4417
4415
  case 91:
4418
- return et(e, I.BRACKET_L, i, i + 1);
4416
+ return Je(e, I.BRACKET_L, i, i + 1);
4419
4417
  case 93:
4420
- return et(e, I.BRACKET_R, i, i + 1);
4418
+ return Je(e, I.BRACKET_R, i, i + 1);
4421
4419
  case 123:
4422
- return et(e, I.BRACE_L, i, i + 1);
4420
+ return Je(e, I.BRACE_L, i, i + 1);
4423
4421
  case 124:
4424
- return et(e, I.PIPE, i, i + 1);
4422
+ return Je(e, I.PIPE, i, i + 1);
4425
4423
  case 125:
4426
- return et(e, I.BRACE_R, i, i + 1);
4424
+ return Je(e, I.BRACE_R, i, i + 1);
4427
4425
  case 34:
4428
4426
  return r.charCodeAt(i + 1) === 34 && r.charCodeAt(i + 2) === 34 ? M4(e, i) : D4(e, i);
4429
4427
  }
@@ -4437,7 +4435,7 @@ function N4(e, t) {
4437
4435
  o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Mi(o) || Bl(r, i) ? `Unexpected character: ${Fn(e, i)}.` : `Invalid character: ${Fn(e, i)}.`
4438
4436
  );
4439
4437
  }
4440
- return et(e, I.EOF, n, n);
4438
+ return Je(e, I.EOF, n, n);
4441
4439
  }
4442
4440
  function I4(e, t) {
4443
4441
  const r = e.source.body, n = r.length;
@@ -4453,7 +4451,7 @@ function I4(e, t) {
4453
4451
  else
4454
4452
  break;
4455
4453
  }
4456
- return et(
4454
+ return Je(
4457
4455
  e,
4458
4456
  I.COMMENT,
4459
4457
  t,
@@ -4485,7 +4483,7 @@ function A4(e, t, r) {
4485
4483
  i
4486
4484
  )}.`
4487
4485
  );
4488
- return et(
4486
+ return Je(
4489
4487
  e,
4490
4488
  a ? I.FLOAT : I.INT,
4491
4489
  t,
@@ -4515,7 +4513,7 @@ function D4(e, t) {
4515
4513
  for (; i < n; ) {
4516
4514
  const s = r.charCodeAt(i);
4517
4515
  if (s === 34)
4518
- return a += r.slice(o, i), et(e, I.STRING, t, i + 1, a);
4516
+ return a += r.slice(o, i), Je(e, I.STRING, t, i + 1, a);
4519
4517
  if (s === 92) {
4520
4518
  a += r.slice(o, i);
4521
4519
  const c = r.charCodeAt(i + 1) === 117 ? r.charCodeAt(i + 2) === 123 ? R4(e, i) : F4(e, i) : L4(e, i);
@@ -4654,7 +4652,7 @@ function M4(e, t) {
4654
4652
  const l = r.charCodeAt(o);
4655
4653
  if (l === 34 && r.charCodeAt(o + 1) === 34 && r.charCodeAt(o + 2) === 34) {
4656
4654
  s += r.slice(a, o), c.push(s);
4657
- const u = et(
4655
+ const u = Je(
4658
4656
  e,
4659
4657
  I.BLOCK_STRING,
4660
4658
  t,
@@ -4698,7 +4696,7 @@ function j4(e, t) {
4698
4696
  else
4699
4697
  break;
4700
4698
  }
4701
- return et(
4699
+ return Je(
4702
4700
  e,
4703
4701
  I.NAME,
4704
4702
  t,
@@ -8302,7 +8300,7 @@ var Qx = function() {
8302
8300
  function Ji(e) {
8303
8301
  return e == null;
8304
8302
  }
8305
- var Qe = Array.isArray;
8303
+ var Ge = Array.isArray;
8306
8304
  function I1(e, t) {
8307
8305
  var r = e.__typename, n = e.id, i = e._id;
8308
8306
  if (typeof r == "string" && (t && (t.keyObject = Ji(n) ? Ji(i) ? void 0 : { _id: i } : { id: n }), Ji(n) && !Ji(i) && (n = i), !Ji(n)))
@@ -8330,7 +8328,7 @@ function fn(e) {
8330
8328
  return t ? t[0] : e;
8331
8329
  }
8332
8330
  function fd(e, t, r) {
8333
- return We(t) ? Qe(t) ? t.every(function(n) {
8331
+ return We(t) ? Ge(t) ? t.every(function(n) {
8334
8332
  return fd(e, n, r);
8335
8333
  }) : e.selections.every(function(n) {
8336
8334
  if (jr(n) && ql(n, r)) {
@@ -8341,7 +8339,7 @@ function fd(e, t, r) {
8341
8339
  }) : !1;
8342
8340
  }
8343
8341
  function ai(e) {
8344
- return We(e) && !ke(e) && !Qe(e);
8342
+ return We(e) && !ke(e) && !Ge(e);
8345
8343
  }
8346
8344
  function Xx() {
8347
8345
  return new un();
@@ -8603,7 +8601,7 @@ function mo(e) {
8603
8601
  return !!(e instanceof Oo && e.group.caching);
8604
8602
  }
8605
8603
  function e9(e) {
8606
- return We(e) ? Qe(e) ? e.slice(0) : C({ __proto__: Object.getPrototypeOf(e) }, e) : e;
8604
+ return We(e) ? Ge(e) ? e.slice(0) : C({ __proto__: Object.getPrototypeOf(e) }, e) : e;
8607
8605
  }
8608
8606
  var hd = function() {
8609
8607
  function e() {
@@ -8761,7 +8759,7 @@ var t9 = function() {
8761
8759
  variables: a.variables,
8762
8760
  from: i
8763
8761
  }, a), S = Ln(g);
8764
- E === void 0 ? Ih.added(g) || (f = h.merge(f, (w = {}, w[S] = "Can't find field '".concat(g.name.value, "' on ").concat(ke(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), w))) : Qe(E) ? E = p(r.executeSubSelectedArray({
8762
+ E === void 0 ? Ih.added(g) || (f = h.merge(f, (w = {}, w[S] = "Can't find field '".concat(g.name.value, "' on ").concat(ke(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), w))) : Ge(E) ? E = p(r.executeSubSelectedArray({
8765
8763
  field: g,
8766
8764
  array: E,
8767
8765
  enclosingRef: o,
@@ -8788,7 +8786,7 @@ var t9 = function() {
8788
8786
  return u.missing && (s = c.merge(s, (f = {}, f[d] = u.missing, f))), u.result;
8789
8787
  }
8790
8788
  return n.selectionSet && (i = i.filter(a.store.canRead)), i = i.map(function(u, d) {
8791
- return u === null ? null : Qe(u) ? l(r.executeSubSelectedArray({
8789
+ return u === null ? null : Ge(u) ? l(r.executeSubSelectedArray({
8792
8790
  field: n,
8793
8791
  array: u,
8794
8792
  enclosingRef: o,
@@ -8937,9 +8935,9 @@ function M1(e) {
8937
8935
  if (!t.paths) {
8938
8936
  var r = t.paths = [], n = [];
8939
8937
  e.forEach(function(i, o) {
8940
- Qe(i) ? (M1(i).forEach(function(a) {
8938
+ Ge(i) ? (M1(i).forEach(function(a) {
8941
8939
  return r.push(n.concat(a));
8942
- }), n.length = 0) : (n.push(i), Qe(e[o + 1]) || (r.push(n.slice(0)), n.length = 0));
8940
+ }), n.length = 0) : (n.push(i), Ge(e[o + 1]) || (r.push(n.slice(0)), n.length = 0));
8943
8941
  });
8944
8942
  }
8945
8943
  return t.paths;
@@ -8949,13 +8947,13 @@ function j1(e, t) {
8949
8947
  }
8950
8948
  function fi(e, t, r) {
8951
8949
  return r = r || j1, z1(t.reduce(function n(i, o) {
8952
- return Qe(i) ? i.map(function(a) {
8950
+ return Ge(i) ? i.map(function(a) {
8953
8951
  return n(a, o);
8954
8952
  }) : i && r(i, o);
8955
8953
  }, e));
8956
8954
  }
8957
8955
  function z1(e) {
8958
- return We(e) ? Qe(e) ? e.map(z1) : Bh(Object.keys(e).sort(), function(t) {
8956
+ return We(e) ? Ge(e) ? e.map(z1) : Bh(Object.keys(e).sort(), function(t) {
8959
8957
  return fi(e, t);
8960
8958
  }) : e;
8961
8959
  }
@@ -8987,7 +8985,7 @@ var s9 = function() {
8987
8985
  });
8988
8986
  } }), c, l = o && this.getTypePolicy(o), u = l && l.keyFn || this.config.dataIdFromObject; u; ) {
8989
8987
  var d = u(t, s);
8990
- if (Qe(d))
8988
+ if (Ge(d))
8991
8989
  u = gm(d);
8992
8990
  else {
8993
8991
  c = d;
@@ -9006,13 +9004,13 @@ var s9 = function() {
9006
9004
  function s(c, l) {
9007
9005
  c.merge = typeof l == "function" ? l : l === !0 ? wm : l === !1 ? _m : c.merge;
9008
9006
  }
9009
- s(i, r.merge), i.keyFn = o === !1 ? s9 : Qe(o) ? gm(o) : typeof o == "function" ? o : i.keyFn, a && Object.keys(a).forEach(function(c) {
9007
+ s(i, r.merge), i.keyFn = o === !1 ? s9 : Ge(o) ? gm(o) : typeof o == "function" ? o : i.keyFn, a && Object.keys(a).forEach(function(c) {
9010
9008
  var l = n.getFieldPolicy(t, c, !0), u = a[c];
9011
9009
  if (typeof u == "function")
9012
9010
  l.read = u;
9013
9011
  else {
9014
9012
  var d = u.keyArgs, f = u.read, h = u.merge;
9015
- l.keyFn = d === !1 ? $m : Qe(d) ? bm(d) : typeof d == "function" ? d : l.keyFn, typeof f == "function" && (l.read = f), s(l, h);
9013
+ l.keyFn = d === !1 ? $m : Ge(d) ? bm(d) : typeof d == "function" ? d : l.keyFn, typeof f == "function" && (l.read = f), s(l, h);
9016
9014
  }
9017
9015
  l.read && l.merge && (l.keyFn = l.keyFn || $m);
9018
9016
  });
@@ -9088,7 +9086,7 @@ var s9 = function() {
9088
9086
  variables: t.variables
9089
9087
  }, c = vd(t); a; ) {
9090
9088
  var l = a(c, s);
9091
- if (Qe(l))
9089
+ if (Ge(l))
9092
9090
  a = bm(l);
9093
9091
  else {
9094
9092
  o = l || n;
@@ -9152,7 +9150,7 @@ function Wh(e, t, r) {
9152
9150
  }
9153
9151
  function U1(e) {
9154
9152
  return function(r, n) {
9155
- if (Qe(r) || Qe(n))
9153
+ if (Ge(r) || Ge(n))
9156
9154
  throw __DEV__ ? new be("Cannot automatically merge arrays") : new be(4);
9157
9155
  if (We(r) && We(n)) {
9158
9156
  var i = e.getFieldValue(r, "__typename"), o = e.getFieldValue(n, "__typename"), a = i && o && i !== o;
@@ -9278,7 +9276,7 @@ var c9 = function() {
9278
9276
  return l;
9279
9277
  }, e.prototype.processFieldValue = function(t, r, n, i) {
9280
9278
  var o = this;
9281
- return !r.selectionSet || t === null ? __DEV__ ? h1(t) : t : Qe(t) ? t.map(function(a, s) {
9279
+ return !r.selectionSet || t === null ? __DEV__ ? h1(t) : t : Ge(t) ? t.map(function(a, s) {
9282
9280
  var c = o.processFieldValue(a, r, n, Sm(i, s));
9283
9281
  return km(i, s), c;
9284
9282
  }) : this.processSelectionSet({
@@ -9316,10 +9314,10 @@ var c9 = function() {
9316
9314
  }, e.prototype.applyMerges = function(t, r, n, i, o) {
9317
9315
  var a, s = this;
9318
9316
  if (t.map.size && !ke(n)) {
9319
- var c = !Qe(n) && (ke(r) || ai(r)) ? r : void 0, l = n;
9317
+ var c = !Ge(n) && (ke(r) || ai(r)) ? r : void 0, l = n;
9320
9318
  c && !o && (o = [ke(c) ? c.__ref : c]);
9321
9319
  var u, d = function(f, h) {
9322
- return Qe(f) ? typeof h == "number" ? f[h] : void 0 : i.store.getFieldValue(f, String(h));
9320
+ return Ge(f) ? typeof h == "number" ? f[h] : void 0 : i.store.getFieldValue(f, String(h));
9323
9321
  };
9324
9322
  t.map.forEach(function(f, h) {
9325
9323
  var p = d(c, h), m = d(l, h);
@@ -9328,7 +9326,7 @@ var c9 = function() {
9328
9326
  var v = s.applyMerges(f, p, m, i, o);
9329
9327
  v !== m && (u = u || /* @__PURE__ */ new Map(), u.set(h, v)), o && B(o.pop() === h);
9330
9328
  }
9331
- }), u && (n = Qe(l) ? l.slice(0) : C({}, l), u.forEach(function(f, h) {
9329
+ }), u && (n = Ge(l) ? l.slice(0) : C({}, l), u.forEach(function(f, h) {
9332
9330
  n[h] = f;
9333
9331
  }));
9334
9332
  }
@@ -9377,7 +9375,7 @@ function u9(e, t, r, n) {
9377
9375
  if (!Em.has(l)) {
9378
9376
  Em.add(l);
9379
9377
  var u = [];
9380
- !Qe(o) && !Qe(a) && [o, a].forEach(function(d) {
9378
+ !Ge(o) && !Ge(a) && [o, a].forEach(function(d) {
9381
9379
  var f = n.getFieldValue(d, "__typename");
9382
9380
  typeof f == "string" && !u.includes(f) && u.push(f);
9383
9381
  }), __DEV__ && B.warn("Cache data may be lost when replacing the ".concat(c, " field of a ").concat(s, ` object.
@@ -10912,7 +10910,7 @@ class Pm {
10912
10910
  let i = { redirectMethod: "assign" };
10913
10911
  return (t || this.organization) && (i = Object.assign(i, {
10914
10912
  organization: t || this.organization
10915
- })), r && (i = Object.assign(i, { invitation: r })), n && (i = Object.assign(i, { appState: n })), this.authentication.loginWithPopup(i);
10913
+ })), r && (i = Object.assign(i, { invitation: r })), n && (i = Object.assign(i, { appState: n })), this.authentication.loginWithRedirect(i);
10916
10914
  });
10917
10915
  }
10918
10916
  logout({ returnTo: t }) {
@@ -11634,14 +11632,7 @@ class j9 {
11634
11632
  }
11635
11633
  }
11636
11634
  `;
11637
- return Fe(this.apollo, u, {
11638
- patientId: t,
11639
- patientName: r,
11640
- prescriberId: n,
11641
- state: i,
11642
- after: o,
11643
- first: a
11644
- });
11635
+ return Fe(this.apollo, u, { patientId: t, patientName: r, prescriberId: n, state: i, after: o, first: a });
11645
11636
  });
11646
11637
  }
11647
11638
  getPrescription({ id: t, fragment: r } = {
@@ -12079,8 +12070,7 @@ class H9 {
12079
12070
  const t = G`
12080
12071
  mutation deleteWebhookConfig($id: String!) {
12081
12072
  deleteWebhookConfig(id: $id)
12082
- }
12083
- `;
12073
+ }`;
12084
12074
  return Et(this.apollo, t);
12085
12075
  }
12086
12076
  }
@@ -12585,13 +12575,20 @@ class i8 {
12585
12575
  ...this.store.authentication,
12586
12576
  isAuthenticated: t
12587
12577
  });
12588
- const r = await this.sdk.authentication.getUser(), n = !!this.sdk?.organization && !!r?.org_id, i = await this.sdk.authentication.getAccessToken(), { permissions: o } = Z1(i);
12578
+ const r = await this.sdk.authentication.getUser(), n = !!this.sdk?.organization && !!r?.org_id;
12579
+ let i;
12580
+ try {
12581
+ const o = await this.sdk.authentication.getAccessToken();
12582
+ i = Z1(o)?.permissions || [];
12583
+ } catch {
12584
+ i = [];
12585
+ }
12589
12586
  this.setStore("authentication", {
12590
12587
  ...this.store.authentication,
12591
12588
  user: r,
12592
12589
  isLoading: !1,
12593
12590
  isInOrg: t && n && this.sdk.organization === r.org_id,
12594
- permissions: o || []
12591
+ permissions: i || []
12595
12592
  });
12596
12593
  }
12597
12594
  async login(t = {}) {
@@ -12840,7 +12837,7 @@ $e("photon-client", {
12840
12837
  })), p;
12841
12838
  })();
12842
12839
  });
12843
- const ze = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-\\[21px\\]{height:21px}.h-\\[28px\\]{height:28px}.h-full{height:100%}.h-screen{height:100vh}.w-\\[16px\\]{width:16px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-\\[125px\\]{min-width:125px}.min-w-\\[40\\%\\]{min-width:40%}.min-w-\\[48\\%\\]{min-width:48%}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[180px\\]{max-width:180px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.basis-36{flex-basis:9rem}.basis-56{flex-basis:14rem}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.bg-\\[\\#f7f4f4\\]{--tw-bg-opacity: 1;background-color:rgb(247 244 244/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-photon-blue{--tw-bg-opacity: 1;background-color:rgb(49 130 206/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-52{padding-bottom:13rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-\\[19\\.75px\\]{padding-left:19.75px}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-28{padding-top:7rem}.pt-4{padding-top:1rem}.pt-\\[3px\\]{padding-top:3px}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-7xl{font-size:4.5rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.italic{font-style:italic}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-card{--tw-shadow: 0px 0px 1px rgba(48, 49, 51, .05),0px 2px 4px rgba(48, 49, 51, .1);--tw-shadow-colored: 0px 0px 1px var(--tw-shadow-color), 0px 2px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.hover\\:bg-photon-blue-dark:hover{--tw-bg-opacity: 1;background-color:rgb(43 108 176/var(--tw-bg-opacity))}.hover\\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.disabled\\:bg-gray-500:disabled{--tw-bg-opacity: 1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}@media (min-width: 475px){.xs\\:mx-auto{margin-left:auto;margin-right:auto}.xs\\:w-fit{width:-moz-fit-content;width:fit-content}.xs\\:min-w-\\[40\\%\\]{min-width:40%}.xs\\:min-w-\\[48\\%\\]{min-width:48%}.xs\\:basis-60{flex-basis:15rem}.xs\\:basis-\\[10\\.5rem\\]{flex-basis:10.5rem}.xs\\:flex-row{flex-direction:row}.xs\\:items-center{align-items:center}.xs\\:gap-4{gap:1rem}.xs\\:self-end{align-self:flex-end}.xs\\:pb-2{padding-bottom:.5rem}.xs\\:pl-4{padding-left:1rem}.xs\\:pt-28{padding-top:7rem}.xs\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 640px){.sm\\:grid{display:grid}.sm\\:w-\\[600px\\]{width:600px}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:flex-col{flex-direction:column}.sm\\:flex-wrap{flex-wrap:wrap}.sm\\:items-center{align-items:center}.sm\\:gap-4{gap:1rem}.sm\\:gap-x-4{-moz-column-gap:1rem;column-gap:1rem}}@media (min-width: 768px){.md\\:mb-0{margin-bottom:0}.md\\:w-1\\/3{width:33.333333%}.md\\:w-2\\/3{width:66.666667%}.md\\:max-w-\\[50\\%\\]{max-width:50%}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:justify-center{justify-content:center}.md\\:px-8{padding-left:2rem;padding-right:2rem}.md\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:pr-2{padding-right:.5rem}}@media (min-width: 1024px){.lg\\:flex-row{flex-direction:row}.lg\\:pt-20{padding-top:5rem}}
12840
+ const ze = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.left-0{left:0}.z-10{z-index:10}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-7{margin-bottom:1.75rem}.mb-1\\.5{margin-bottom:.375rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-1{margin-left:.25rem}.mt-6{margin-top:1.5rem}.mb-3{margin-bottom:.75rem}.mb-8{margin-bottom:2rem}.mt-8{margin-top:2rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-\\[28px\\]{height:28px}.h-full{height:100%}.h-\\[21px\\]{height:21px}.h-screen{height:100vh}.w-full{width:100%}.w-fit{width:-moz-fit-content;width:fit-content}.w-\\[16px\\]{width:16px}.w-screen{width:100vw}.min-w-\\[40\\%\\]{min-width:40%}.min-w-\\[48\\%\\]{min-width:48%}.min-w-\\[125px\\]{min-width:125px}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[180px\\]{max-width:180px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.basis-56{flex-basis:14rem}.basis-36{flex-basis:9rem}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-1{gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.bg-photon-blue{--tw-bg-opacity: 1;background-color:rgb(49 130 206/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-\\[\\#f7f4f4\\]{--tw-bg-opacity: 1;background-color:rgb(247 244 244/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.p-4{padding:1rem}.p-2{padding:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pt-\\[3px\\]{padding-top:3px}.pt-1{padding-top:.25rem}.pl-2{padding-left:.5rem}.pb-2{padding-bottom:.5rem}.pl-1{padding-left:.25rem}.pb-1{padding-bottom:.25rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-2{padding-top:.5rem}.pb-4{padding-bottom:1rem}.pt-28{padding-top:7rem}.pt-4{padding-top:1rem}.pb-52{padding-bottom:13rem}.pl-\\[19\\.75px\\]{padding-left:19.75px}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pl-4{padding-left:1rem}.pt-1\\.5{padding-top:.375rem}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-7xl{font-size:4.5rem;line-height:1}.font-medium{font-weight:500}.font-light{font-weight:300}.font-normal{font-weight:400}.italic{font-style:italic}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.shadow-card{--tw-shadow: 0px 0px 1px rgba(48, 49, 51, .05),0px 2px 4px rgba(48, 49, 51, .1);--tw-shadow-colored: 0px 0px 1px var(--tw-shadow-color), 0px 2px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.hover\\:bg-photon-blue-dark:hover{--tw-bg-opacity: 1;background-color:rgb(43 108 176/var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0/var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}.disabled\\:bg-gray-500:disabled{--tw-bg-opacity: 1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}@media (min-width: 475px){.xs\\:mx-auto{margin-left:auto;margin-right:auto}.xs\\:w-fit{width:-moz-fit-content;width:fit-content}.xs\\:min-w-\\[40\\%\\]{min-width:40%}.xs\\:min-w-\\[48\\%\\]{min-width:48%}.xs\\:basis-60{flex-basis:15rem}.xs\\:basis-\\[10\\.5rem\\]{flex-basis:10.5rem}.xs\\:flex-row{flex-direction:row}.xs\\:items-center{align-items:center}.xs\\:gap-4{gap:1rem}.xs\\:self-end{align-self:flex-end}.xs\\:pl-4{padding-left:1rem}.xs\\:pt-28{padding-top:7rem}.xs\\:pb-2{padding-bottom:.5rem}.xs\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 640px){.sm\\:grid{display:grid}.sm\\:w-\\[600px\\]{width:600px}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:flex-col{flex-direction:column}.sm\\:flex-wrap{flex-wrap:wrap}.sm\\:items-center{align-items:center}.sm\\:gap-4{gap:1rem}.sm\\:gap-x-4{-moz-column-gap:1rem;column-gap:1rem}}@media (min-width: 768px){.md\\:mb-0{margin-bottom:0}.md\\:w-1\\/3{width:33.333333%}.md\\:w-2\\/3{width:66.666667%}.md\\:max-w-\\[50\\%\\]{max-width:50%}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:justify-center{justify-content:center}.md\\:px-8{padding-left:2rem;padding-right:2rem}.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\\:pr-2{padding-right:.5rem}}@media (min-width: 1024px){.lg\\:flex-row{flex-direction:row}.lg\\:pt-20{padding-top:5rem}}
12844
12841
  `, l8 = /* @__PURE__ */ O("<style></style>"), c8 = /* @__PURE__ */ O('<button class="w-full disabled:bg-gray-500 bg-photon-blue hover:bg-blue-700 text-white h-10 px-4 rounded-lg font-sans hover:bg-photon-blue-dark transition ease-in-out delay-50"></button>');
12845
12842
  $e("photon-auth-button", {
12846
12843
  redirectPath: {
@@ -13821,7 +13818,7 @@ var U8 = ({ finisher: e, descriptor: t }) => (r, n) => {
13821
13818
  t !== void 0 && Object.defineProperty(r, n, t(n)), e?.(o, n);
13822
13819
  }
13823
13820
  };
13824
- function Ze(e, t) {
13821
+ function Xe(e, t) {
13825
13822
  return U8({ descriptor: (r) => {
13826
13823
  const n = { get() {
13827
13824
  var i, o;
@@ -14091,13 +14088,13 @@ var Pt = class extends ht {
14091
14088
  };
14092
14089
  Pt.styles = E8;
14093
14090
  $([
14094
- Ze(".dropdown")
14091
+ Xe(".dropdown")
14095
14092
  ], Pt.prototype, "popup", 2);
14096
14093
  $([
14097
- Ze(".dropdown__trigger")
14094
+ Xe(".dropdown__trigger")
14098
14095
  ], Pt.prototype, "trigger", 2);
14099
14096
  $([
14100
- Ze(".dropdown__panel")
14097
+ Xe(".dropdown__panel")
14101
14098
  ], Pt.prototype, "panel", 2);
14102
14099
  $([
14103
14100
  k({ type: Boolean, reflect: !0 })
@@ -14722,10 +14719,10 @@ var i6 = (e, t, r) => {
14722
14719
  };
14723
14720
  Ne.styles = V8;
14724
14721
  $([
14725
- Ze(".popup")
14722
+ Xe(".popup")
14726
14723
  ], Ne.prototype, "popup", 2);
14727
14724
  $([
14728
- Ze(".popup__arrow")
14725
+ Xe(".popup__arrow")
14729
14726
  ], Ne.prototype, "arrowEl", 2);
14730
14727
  $([
14731
14728
  k()
@@ -15573,7 +15570,7 @@ var gv, u6 = (gv = navigator.userAgentData) == null ? void 0 : gv.brands.some((e
15573
15570
  };
15574
15571
  ce.styles = o6;
15575
15572
  $([
15576
- Ze(".input__control")
15573
+ Xe(".input__control")
15577
15574
  ], ce.prototype, "input", 2);
15578
15575
  $([
15579
15576
  Or()
@@ -16053,7 +16050,7 @@ var S6 = ft`
16053
16050
  };
16054
16051
  Hs.styles = S6;
16055
16052
  $([
16056
- Ze("slot")
16053
+ Xe("slot")
16057
16054
  ], Hs.prototype, "defaultSlot", 2);
16058
16055
  Hs = $([
16059
16056
  _t("sl-menu")
@@ -16213,10 +16210,10 @@ var k6 = ft`
16213
16210
  };
16214
16211
  Zt.styles = k6;
16215
16212
  $([
16216
- Ze("slot:not([name])")
16213
+ Xe("slot:not([name])")
16217
16214
  ], Zt.prototype, "defaultSlot", 2);
16218
16215
  $([
16219
- Ze(".menu-item")
16216
+ Xe(".menu-item")
16220
16217
  ], Zt.prototype, "menuItem", 2);
16221
16218
  $([
16222
16219
  k()
@@ -17272,7 +17269,7 @@ var Ut = class extends ht {
17272
17269
  };
17273
17270
  Ut.styles = r7;
17274
17271
  $([
17275
- Ze(".icon-button")
17272
+ Xe(".icon-button")
17276
17273
  ], Ut.prototype, "button", 2);
17277
17274
  $([
17278
17275
  Or()
@@ -17488,7 +17485,7 @@ var o7 = ft`
17488
17485
  };
17489
17486
  xr.styles = o7;
17490
17487
  $([
17491
- Ze('[part~="base"]')
17488
+ Xe('[part~="base"]')
17492
17489
  ], xr.prototype, "base", 2);
17493
17490
  $([
17494
17491
  k({ type: Boolean, reflect: !0 })
@@ -17770,7 +17767,7 @@ var a7 = ft`
17770
17767
  };
17771
17768
  gt.styles = a7;
17772
17769
  $([
17773
- Ze('input[type="checkbox"]')
17770
+ Xe('input[type="checkbox"]')
17774
17771
  ], gt.prototype, "input", 2);
17775
17772
  $([
17776
17773
  Or()
@@ -19702,7 +19699,7 @@ var qS = /* @__PURE__ */ function(e) {
19702
19699
  return o.era = a, i.setUTCFullYear(a, 0, 1), i.setUTCHours(0, 0, 0, 0), i;
19703
19700
  }
19704
19701
  }]), r;
19705
- }(we), Ke = {
19702
+ }(we), Qe = {
19706
19703
  month: /^(1[0-2]|0?\d)/,
19707
19704
  date: /^(3[0-1]|[0-2]?\d)/,
19708
19705
  dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
@@ -19729,7 +19726,7 @@ var qS = /* @__PURE__ */ function(e) {
19729
19726
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
19730
19727
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
19731
19728
  };
19732
- function Ye(e, t) {
19729
+ function Ke(e, t) {
19733
19730
  return e && {
19734
19731
  value: t(e.value),
19735
19732
  rest: e.rest
@@ -19758,18 +19755,18 @@ function vr(e, t) {
19758
19755
  };
19759
19756
  }
19760
19757
  function U2(e) {
19761
- return je(Ke.anyDigitsSigned, e);
19758
+ return je(Qe.anyDigitsSigned, e);
19762
19759
  }
19763
19760
  function He(e, t) {
19764
19761
  switch (e) {
19765
19762
  case 1:
19766
- return je(Ke.singleDigit, t);
19763
+ return je(Qe.singleDigit, t);
19767
19764
  case 2:
19768
- return je(Ke.twoDigits, t);
19765
+ return je(Qe.twoDigits, t);
19769
19766
  case 3:
19770
- return je(Ke.threeDigits, t);
19767
+ return je(Qe.threeDigits, t);
19771
19768
  case 4:
19772
- return je(Ke.fourDigits, t);
19769
+ return je(Qe.fourDigits, t);
19773
19770
  default:
19774
19771
  return je(new RegExp("^\\d{1," + e + "}"), t);
19775
19772
  }
@@ -19777,13 +19774,13 @@ function He(e, t) {
19777
19774
  function Xs(e, t) {
19778
19775
  switch (e) {
19779
19776
  case 1:
19780
- return je(Ke.singleDigitSigned, t);
19777
+ return je(Qe.singleDigitSigned, t);
19781
19778
  case 2:
19782
- return je(Ke.twoDigitsSigned, t);
19779
+ return je(Qe.twoDigitsSigned, t);
19783
19780
  case 3:
19784
- return je(Ke.threeDigitsSigned, t);
19781
+ return je(Qe.threeDigitsSigned, t);
19785
19782
  case 4:
19786
- return je(Ke.fourDigitsSigned, t);
19783
+ return je(Qe.fourDigitsSigned, t);
19787
19784
  default:
19788
19785
  return je(new RegExp("^-?\\d{1," + e + "}"), t);
19789
19786
  }
@@ -19909,13 +19906,13 @@ var ZS = /* @__PURE__ */ function(e) {
19909
19906
  };
19910
19907
  switch (o) {
19911
19908
  case "y":
19912
- return Ye(He(4, i), s);
19909
+ return Ke(He(4, i), s);
19913
19910
  case "yo":
19914
- return Ye(a.ordinalNumber(i, {
19911
+ return Ke(a.ordinalNumber(i, {
19915
19912
  unit: "year"
19916
19913
  }), s);
19917
19914
  default:
19918
- return Ye(He(o.length, i), s);
19915
+ return Ke(He(o.length, i), s);
19919
19916
  }
19920
19917
  }
19921
19918
  }, {
@@ -20027,13 +20024,13 @@ var ok = /* @__PURE__ */ function(e) {
20027
20024
  };
20028
20025
  switch (o) {
20029
20026
  case "Y":
20030
- return Ye(He(4, i), s);
20027
+ return Ke(He(4, i), s);
20031
20028
  case "Yo":
20032
- return Ye(a.ordinalNumber(i, {
20029
+ return Ke(a.ordinalNumber(i, {
20033
20030
  unit: "year"
20034
20031
  }), s);
20035
20032
  default:
20036
- return Ye(He(o.length, i), s);
20033
+ return Ke(He(o.length, i), s);
20037
20034
  }
20038
20035
  }
20039
20036
  }, {
@@ -20587,11 +20584,11 @@ var zk = /* @__PURE__ */ function(e) {
20587
20584
  };
20588
20585
  switch (o) {
20589
20586
  case "M":
20590
- return Ye(je(Ke.month, i), s);
20587
+ return Ke(je(Qe.month, i), s);
20591
20588
  case "MM":
20592
- return Ye(He(2, i), s);
20589
+ return Ke(He(2, i), s);
20593
20590
  case "Mo":
20594
- return Ye(a.ordinalNumber(i, {
20591
+ return Ke(a.ordinalNumber(i, {
20595
20592
  unit: "month"
20596
20593
  }), s);
20597
20594
  case "MMM":
@@ -20721,11 +20718,11 @@ var Gk = /* @__PURE__ */ function(e) {
20721
20718
  };
20722
20719
  switch (o) {
20723
20720
  case "L":
20724
- return Ye(je(Ke.month, i), s);
20721
+ return Ke(je(Qe.month, i), s);
20725
20722
  case "LL":
20726
- return Ye(He(2, i), s);
20723
+ return Ke(He(2, i), s);
20727
20724
  case "Lo":
20728
- return Ye(a.ordinalNumber(i, {
20725
+ return Ke(a.ordinalNumber(i, {
20729
20726
  unit: "month"
20730
20727
  }), s);
20731
20728
  case "LLL":
@@ -20857,7 +20854,7 @@ var tE = /* @__PURE__ */ function(e) {
20857
20854
  value: function(i, o, a) {
20858
20855
  switch (o) {
20859
20856
  case "w":
20860
- return je(Ke.week, i);
20857
+ return je(Qe.week, i);
20861
20858
  case "wo":
20862
20859
  return a.ordinalNumber(i, {
20863
20860
  unit: "week"
@@ -20968,7 +20965,7 @@ var cE = /* @__PURE__ */ function(e) {
20968
20965
  value: function(i, o, a) {
20969
20966
  switch (o) {
20970
20967
  case "I":
20971
- return je(Ke.week, i);
20968
+ return je(Qe.week, i);
20972
20969
  case "Io":
20973
20970
  return a.ordinalNumber(i, {
20974
20971
  unit: "week"
@@ -21074,7 +21071,7 @@ var vE = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], yE = [31, 29, 31, 30,
21074
21071
  value: function(i, o, a) {
21075
21072
  switch (o) {
21076
21073
  case "d":
21077
- return je(Ke.date, i);
21074
+ return je(Qe.date, i);
21078
21075
  case "do":
21079
21076
  return a.ordinalNumber(i, {
21080
21077
  unit: "date"
@@ -21182,7 +21179,7 @@ var kE = /* @__PURE__ */ function(e) {
21182
21179
  switch (o) {
21183
21180
  case "D":
21184
21181
  case "DD":
21185
- return je(Ke.dayOfYear, i);
21182
+ return je(Qe.dayOfYear, i);
21186
21183
  case "Do":
21187
21184
  return a.ordinalNumber(i, {
21188
21185
  unit: "date"
@@ -21442,9 +21439,9 @@ var jE = /* @__PURE__ */ function(e) {
21442
21439
  switch (o) {
21443
21440
  case "e":
21444
21441
  case "ee":
21445
- return Ye(He(o.length, i), c);
21442
+ return Ke(He(o.length, i), c);
21446
21443
  case "eo":
21447
- return Ye(a.ordinalNumber(i, {
21444
+ return Ke(a.ordinalNumber(i, {
21448
21445
  unit: "day"
21449
21446
  }), c);
21450
21447
  case "eee":
@@ -21590,9 +21587,9 @@ var HE = /* @__PURE__ */ function(e) {
21590
21587
  switch (o) {
21591
21588
  case "c":
21592
21589
  case "cc":
21593
- return Ye(He(o.length, i), c);
21590
+ return Ke(He(o.length, i), c);
21594
21591
  case "co":
21595
- return Ye(a.ordinalNumber(i, {
21592
+ return Ke(a.ordinalNumber(i, {
21596
21593
  unit: "day"
21597
21594
  }), c);
21598
21595
  case "ccc":
@@ -21750,7 +21747,7 @@ var eO = /* @__PURE__ */ function(e) {
21750
21747
  unit: "day"
21751
21748
  });
21752
21749
  case "iii":
21753
- return Ye(a.day(i, {
21750
+ return Ke(a.day(i, {
21754
21751
  width: "abbreviated",
21755
21752
  context: "formatting"
21756
21753
  }) || a.day(i, {
@@ -21761,12 +21758,12 @@ var eO = /* @__PURE__ */ function(e) {
21761
21758
  context: "formatting"
21762
21759
  }), s);
21763
21760
  case "iiiii":
21764
- return Ye(a.day(i, {
21761
+ return Ke(a.day(i, {
21765
21762
  width: "narrow",
21766
21763
  context: "formatting"
21767
21764
  }), s);
21768
21765
  case "iiiiii":
21769
- return Ye(a.day(i, {
21766
+ return Ke(a.day(i, {
21770
21767
  width: "short",
21771
21768
  context: "formatting"
21772
21769
  }) || a.day(i, {
@@ -21775,7 +21772,7 @@ var eO = /* @__PURE__ */ function(e) {
21775
21772
  }), s);
21776
21773
  case "iiii":
21777
21774
  default:
21778
- return Ye(a.day(i, {
21775
+ return Ke(a.day(i, {
21779
21776
  width: "wide",
21780
21777
  context: "formatting"
21781
21778
  }) || a.day(i, {
@@ -22247,7 +22244,7 @@ var CO = /* @__PURE__ */ function(e) {
22247
22244
  value: function(i, o, a) {
22248
22245
  switch (o) {
22249
22246
  case "h":
22250
- return je(Ke.hour12h, i);
22247
+ return je(Qe.hour12h, i);
22251
22248
  case "ho":
22252
22249
  return a.ordinalNumber(i, {
22253
22250
  unit: "hour"
@@ -22354,7 +22351,7 @@ var RO = /* @__PURE__ */ function(e) {
22354
22351
  value: function(i, o, a) {
22355
22352
  switch (o) {
22356
22353
  case "H":
22357
- return je(Ke.hour23h, i);
22354
+ return je(Qe.hour23h, i);
22358
22355
  case "Ho":
22359
22356
  return a.ordinalNumber(i, {
22360
22357
  unit: "hour"
@@ -22460,7 +22457,7 @@ var VO = /* @__PURE__ */ function(e) {
22460
22457
  value: function(i, o, a) {
22461
22458
  switch (o) {
22462
22459
  case "K":
22463
- return je(Ke.hour11h, i);
22460
+ return je(Qe.hour11h, i);
22464
22461
  case "Ko":
22465
22462
  return a.ordinalNumber(i, {
22466
22463
  unit: "hour"
@@ -22567,7 +22564,7 @@ var KO = /* @__PURE__ */ function(e) {
22567
22564
  value: function(i, o, a) {
22568
22565
  switch (o) {
22569
22566
  case "k":
22570
- return je(Ke.hour24h, i);
22567
+ return je(Qe.hour24h, i);
22571
22568
  case "ko":
22572
22569
  return a.ordinalNumber(i, {
22573
22570
  unit: "hour"
@@ -22674,7 +22671,7 @@ var rC = /* @__PURE__ */ function(e) {
22674
22671
  value: function(i, o, a) {
22675
22672
  switch (o) {
22676
22673
  case "m":
22677
- return je(Ke.minute, i);
22674
+ return je(Qe.minute, i);
22678
22675
  case "mo":
22679
22676
  return a.ordinalNumber(i, {
22680
22677
  unit: "minute"
@@ -22780,7 +22777,7 @@ var cC = /* @__PURE__ */ function(e) {
22780
22777
  value: function(i, o, a) {
22781
22778
  switch (o) {
22782
22779
  case "s":
22783
- return je(Ke.second, i);
22780
+ return je(Qe.second, i);
22784
22781
  case "so":
22785
22782
  return a.ordinalNumber(i, {
22786
22783
  unit: "second"
@@ -22887,7 +22884,7 @@ var vC = /* @__PURE__ */ function(e) {
22887
22884
  var a = function(c) {
22888
22885
  return Math.floor(c * Math.pow(10, -o.length + 3));
22889
22886
  };
22890
- return Ye(He(o.length, i), a);
22887
+ return Ke(He(o.length, i), a);
22891
22888
  }
22892
22889
  }, {
22893
22890
  key: "set",
@@ -24198,7 +24195,7 @@ var oP = ft`
24198
24195
  };
24199
24196
  Ce.styles = oP;
24200
24197
  $([
24201
- Ze(".button")
24198
+ Xe(".button")
24202
24199
  ], Ce.prototype, "button", 2);
24203
24200
  $([
24204
24201
  Or()
@@ -24958,13 +24955,13 @@ var so = [], MP = class {
24958
24955
  };
24959
24956
  Sr.styles = jP;
24960
24957
  $([
24961
- Ze(".dialog")
24958
+ Xe(".dialog")
24962
24959
  ], Sr.prototype, "dialog", 2);
24963
24960
  $([
24964
- Ze(".dialog__panel")
24961
+ Xe(".dialog__panel")
24965
24962
  ], Sr.prototype, "panel", 2);
24966
24963
  $([
24967
- Ze(".dialog__overlay")
24964
+ Xe(".dialog__overlay")
24968
24965
  ], Sr.prototype, "overlay", 2);
24969
24966
  $([
24970
24967
  k({ type: Boolean, reflect: !0 })
@@ -25664,7 +25661,7 @@ var oT = ft`
25664
25661
  content: var(--sl-input-required-content);
25665
25662
  margin-inline-start: var(--sl-input-required-content-offset);
25666
25663
  }
25667
- `, mt = class extends ht {
25664
+ `, vt = class extends ht {
25668
25665
  constructor() {
25669
25666
  super(...arguments), this.formControlController = new Ho(this, {
25670
25667
  value: (e) => e.checked ? e.value || "on" : void 0,
@@ -25765,52 +25762,52 @@ var oT = ft`
25765
25762
  `;
25766
25763
  }
25767
25764
  };
25768
- mt.styles = oT;
25765
+ vt.styles = oT;
25769
25766
  $([
25770
- Ze('input[type="checkbox"]')
25771
- ], mt.prototype, "input", 2);
25767
+ Xe('input[type="checkbox"]')
25768
+ ], vt.prototype, "input", 2);
25772
25769
  $([
25773
25770
  Or()
25774
- ], mt.prototype, "hasFocus", 2);
25771
+ ], vt.prototype, "hasFocus", 2);
25775
25772
  $([
25776
25773
  k()
25777
- ], mt.prototype, "title", 2);
25774
+ ], vt.prototype, "title", 2);
25778
25775
  $([
25779
25776
  k()
25780
- ], mt.prototype, "name", 2);
25777
+ ], vt.prototype, "name", 2);
25781
25778
  $([
25782
25779
  k()
25783
- ], mt.prototype, "value", 2);
25780
+ ], vt.prototype, "value", 2);
25784
25781
  $([
25785
25782
  k({ reflect: !0 })
25786
- ], mt.prototype, "size", 2);
25783
+ ], vt.prototype, "size", 2);
25787
25784
  $([
25788
25785
  k({ type: Boolean, reflect: !0 })
25789
- ], mt.prototype, "disabled", 2);
25786
+ ], vt.prototype, "disabled", 2);
25790
25787
  $([
25791
25788
  k({ type: Boolean, reflect: !0 })
25792
- ], mt.prototype, "checked", 2);
25789
+ ], vt.prototype, "checked", 2);
25793
25790
  $([
25794
25791
  k({ type: Boolean, reflect: !0 })
25795
- ], mt.prototype, "indeterminate", 2);
25792
+ ], vt.prototype, "indeterminate", 2);
25796
25793
  $([
25797
25794
  rc("checked")
25798
- ], mt.prototype, "defaultChecked", 2);
25795
+ ], vt.prototype, "defaultChecked", 2);
25799
25796
  $([
25800
25797
  k({ reflect: !0 })
25801
- ], mt.prototype, "form", 2);
25798
+ ], vt.prototype, "form", 2);
25802
25799
  $([
25803
25800
  k({ type: Boolean, reflect: !0 })
25804
- ], mt.prototype, "required", 2);
25801
+ ], vt.prototype, "required", 2);
25805
25802
  $([
25806
25803
  De("disabled", { waitUntilFirstUpdate: !0 })
25807
- ], mt.prototype, "handleDisabledChange", 1);
25804
+ ], vt.prototype, "handleDisabledChange", 1);
25808
25805
  $([
25809
25806
  De(["checked", "indeterminate"], { waitUntilFirstUpdate: !0 })
25810
- ], mt.prototype, "handleStateChange", 1);
25811
- mt = $([
25807
+ ], vt.prototype, "handleStateChange", 1);
25808
+ vt = $([
25812
25809
  _t("sl-checkbox")
25813
- ], mt);
25810
+ ], vt);
25814
25811
  var aT = ft`
25815
25812
  ${wt}
25816
25813
 
@@ -25862,7 +25859,7 @@ var aT = ft`
25862
25859
  padding: var(--sl-tooltip-padding);
25863
25860
  pointer-events: none;
25864
25861
  }
25865
- `, vt = class extends ht {
25862
+ `, yt = class extends ht {
25866
25863
  constructor() {
25867
25864
  super(...arguments), this.localize = new Bn(this), this.content = "", this.placement = "top", this.disabled = !1, this.distance = 8, this.open = !1, this.skidding = 0, this.trigger = "hover focus", this.hoist = !1;
25868
25865
  }
@@ -25967,52 +25964,52 @@ var aT = ft`
25967
25964
  `;
25968
25965
  }
25969
25966
  };
25970
- vt.styles = aT;
25967
+ yt.styles = aT;
25971
25968
  $([
25972
- Ze("slot:not([name])")
25973
- ], vt.prototype, "defaultSlot", 2);
25969
+ Xe("slot:not([name])")
25970
+ ], yt.prototype, "defaultSlot", 2);
25974
25971
  $([
25975
- Ze(".tooltip__body")
25976
- ], vt.prototype, "body", 2);
25972
+ Xe(".tooltip__body")
25973
+ ], yt.prototype, "body", 2);
25977
25974
  $([
25978
- Ze("sl-popup")
25979
- ], vt.prototype, "popup", 2);
25975
+ Xe("sl-popup")
25976
+ ], yt.prototype, "popup", 2);
25980
25977
  $([
25981
25978
  k()
25982
- ], vt.prototype, "content", 2);
25979
+ ], yt.prototype, "content", 2);
25983
25980
  $([
25984
25981
  k()
25985
- ], vt.prototype, "placement", 2);
25982
+ ], yt.prototype, "placement", 2);
25986
25983
  $([
25987
25984
  k({ type: Boolean, reflect: !0 })
25988
- ], vt.prototype, "disabled", 2);
25985
+ ], yt.prototype, "disabled", 2);
25989
25986
  $([
25990
25987
  k({ type: Number })
25991
- ], vt.prototype, "distance", 2);
25988
+ ], yt.prototype, "distance", 2);
25992
25989
  $([
25993
25990
  k({ type: Boolean, reflect: !0 })
25994
- ], vt.prototype, "open", 2);
25991
+ ], yt.prototype, "open", 2);
25995
25992
  $([
25996
25993
  k({ type: Number })
25997
- ], vt.prototype, "skidding", 2);
25994
+ ], yt.prototype, "skidding", 2);
25998
25995
  $([
25999
25996
  k()
26000
- ], vt.prototype, "trigger", 2);
25997
+ ], yt.prototype, "trigger", 2);
26001
25998
  $([
26002
25999
  k({ type: Boolean })
26003
- ], vt.prototype, "hoist", 2);
26000
+ ], yt.prototype, "hoist", 2);
26004
26001
  $([
26005
26002
  De("open", { waitUntilFirstUpdate: !0 })
26006
- ], vt.prototype, "handleOpenChange", 1);
26003
+ ], yt.prototype, "handleOpenChange", 1);
26007
26004
  $([
26008
26005
  De(["content", "distance", "hoist", "placement", "skidding"])
26009
- ], vt.prototype, "handleOptionsChange", 1);
26006
+ ], yt.prototype, "handleOptionsChange", 1);
26010
26007
  $([
26011
26008
  De("disabled")
26012
- ], vt.prototype, "handleDisabledChange", 1);
26013
- vt = $([
26009
+ ], yt.prototype, "handleDisabledChange", 1);
26010
+ yt = $([
26014
26011
  _t("sl-tooltip")
26015
- ], vt);
26012
+ ], yt);
26016
26013
  dr("tooltip.show", {
26017
26014
  keyframes: [
26018
26015
  { opacity: 0, scale: 0.8 },
@@ -26666,7 +26663,7 @@ var xT = ft`
26666
26663
  };
26667
26664
  ge.styles = xT;
26668
26665
  $([
26669
- Ze(".textarea__control")
26666
+ Xe(".textarea__control")
26670
26667
  ], ge.prototype, "input", 2);
26671
26668
  $([
26672
26669
  Or()
@@ -30565,8 +30562,8 @@ $e("photon-patient-form", {
30565
30562
  value: N.detail.pharmacy.id
30566
30563
  });
30567
30564
  }), A.patientId = e, A._$owner = P(), W((N) => {
30568
- const xt = a.firstName?.error, St = a.firstName?.error, Mt = a.lastName?.error, It = a.lastName?.error, H = a.dateOfBirth?.error, Q = a.dateOfBirth?.error, X = a.phone?.error, ne = a.phone?.error, ue = a.gender?.error, de = a.gender?.error !== void 0, Ue = n.selectedPatient.data?.gender, Me = a.sex?.error, st = a.sex?.error !== void 0, jt = n.selectedPatient.data?.sex, fr = a.email?.error, Br = a.email?.error, Je = a.address_street1?.error, qi = a.address_street1?.error, cp = a.address_street2?.error, up = a.address_street2?.error, dp = a.address_city?.error, fp = a.address_city?.error, hp = a.address_state?.error, pp = a.address_state?.error !== void 0, mp = a.state?.value ?? n.selectedPatient.data?.address?.state, vp = a.address_zip?.error, yp = a.address_zip?.error, gp = BA(n, a), bp = n.selectedPatient.data?.preferredPharmacies?.[0]?.id;
30569
- return xt !== N._v$ && (v.invalid = N._v$ = xt), St !== N._v$2 && (v.helpText = N._v$2 = St), Mt !== N._v$3 && (y.invalid = N._v$3 = Mt), It !== N._v$4 && (y.helpText = N._v$4 = It), H !== N._v$5 && (g.invalid = N._v$5 = H), Q !== N._v$6 && (g.helpText = N._v$6 = Q), X !== N._v$7 && (w.invalid = N._v$7 = X), ne !== N._v$8 && (w.helpText = N._v$8 = ne), ue !== N._v$9 && (S.helpText = N._v$9 = ue), de !== N._v$10 && (S.invalid = N._v$10 = de), Ue !== N._v$11 && (S.selected = N._v$11 = Ue), Me !== N._v$12 && (M.helpText = N._v$12 = Me), st !== N._v$13 && (M.invalid = N._v$13 = st), jt !== N._v$14 && (M.selected = N._v$14 = jt), fr !== N._v$15 && (L.invalid = N._v$15 = fr), Br !== N._v$16 && (L.helpText = N._v$16 = Br), Je !== N._v$17 && (R.invalid = N._v$17 = Je), qi !== N._v$18 && (R.helpText = N._v$18 = qi), cp !== N._v$19 && (U.invalid = N._v$19 = cp), up !== N._v$20 && (U.helpText = N._v$20 = up), dp !== N._v$21 && (j.invalid = N._v$21 = dp), fp !== N._v$22 && (j.helpText = N._v$22 = fp), hp !== N._v$23 && (oe.helpText = N._v$23 = hp), pp !== N._v$24 && (oe.invalid = N._v$24 = pp), mp !== N._v$25 && (oe.selected = N._v$25 = mp), vp !== N._v$26 && (ae.invalid = N._v$26 = vp), yp !== N._v$27 && (ae.helpText = N._v$27 = yp), gp !== N._v$28 && (A.address = N._v$28 = gp), bp !== N._v$29 && (A.selected = N._v$29 = bp), N;
30565
+ const xt = a.firstName?.error, St = a.firstName?.error, Mt = a.lastName?.error, It = a.lastName?.error, H = a.dateOfBirth?.error, Q = a.dateOfBirth?.error, X = a.phone?.error, ne = a.phone?.error, ue = a.gender?.error, de = a.gender?.error !== void 0, Ue = n.selectedPatient.data?.gender, Me = a.sex?.error, st = a.sex?.error !== void 0, jt = n.selectedPatient.data?.sex, fr = a.email?.error, Br = a.email?.error, Ze = a.address_street1?.error, qi = a.address_street1?.error, cp = a.address_street2?.error, up = a.address_street2?.error, dp = a.address_city?.error, fp = a.address_city?.error, hp = a.address_state?.error, pp = a.address_state?.error !== void 0, mp = a.state?.value ?? n.selectedPatient.data?.address?.state, vp = a.address_zip?.error, yp = a.address_zip?.error, gp = BA(n, a), bp = n.selectedPatient.data?.preferredPharmacies?.[0]?.id;
30566
+ return xt !== N._v$ && (v.invalid = N._v$ = xt), St !== N._v$2 && (v.helpText = N._v$2 = St), Mt !== N._v$3 && (y.invalid = N._v$3 = Mt), It !== N._v$4 && (y.helpText = N._v$4 = It), H !== N._v$5 && (g.invalid = N._v$5 = H), Q !== N._v$6 && (g.helpText = N._v$6 = Q), X !== N._v$7 && (w.invalid = N._v$7 = X), ne !== N._v$8 && (w.helpText = N._v$8 = ne), ue !== N._v$9 && (S.helpText = N._v$9 = ue), de !== N._v$10 && (S.invalid = N._v$10 = de), Ue !== N._v$11 && (S.selected = N._v$11 = Ue), Me !== N._v$12 && (M.helpText = N._v$12 = Me), st !== N._v$13 && (M.invalid = N._v$13 = st), jt !== N._v$14 && (M.selected = N._v$14 = jt), fr !== N._v$15 && (L.invalid = N._v$15 = fr), Br !== N._v$16 && (L.helpText = N._v$16 = Br), Ze !== N._v$17 && (R.invalid = N._v$17 = Ze), qi !== N._v$18 && (R.helpText = N._v$18 = qi), cp !== N._v$19 && (U.invalid = N._v$19 = cp), up !== N._v$20 && (U.helpText = N._v$20 = up), dp !== N._v$21 && (j.invalid = N._v$21 = dp), fp !== N._v$22 && (j.helpText = N._v$22 = fp), hp !== N._v$23 && (oe.helpText = N._v$23 = hp), pp !== N._v$24 && (oe.invalid = N._v$24 = pp), mp !== N._v$25 && (oe.selected = N._v$25 = mp), vp !== N._v$26 && (ae.invalid = N._v$26 = vp), yp !== N._v$27 && (ae.helpText = N._v$27 = yp), gp !== N._v$28 && (A.address = N._v$28 = gp), bp !== N._v$29 && (A.selected = N._v$29 = bp), N;
30570
30567
  }, {
30571
30568
  _v$: void 0,
30572
30569
  _v$2: void 0,
@@ -31852,27 +31849,27 @@ $e("photon-dosage-calculator", {
31852
31849
  M.firstChild;
31853
31850
  const L = M.nextSibling, K = L.firstChild, D = K.nextSibling, R = D.firstChild, U = R.nextSibling, j = D.nextSibling, Y = j.firstChild, oe = Y.nextSibling, ae = j.nextSibling, xe = ae.nextSibling, _e = xe.firstChild, A = _e.nextSibling, N = xe.nextSibling, xt = N.firstChild, St = xt.nextSibling, Mt = N.nextSibling, It = Mt.nextSibling, H = It.firstChild, Q = H.nextSibling, X = Q.nextSibling, ne = X.firstChild, ue = ne.nextSibling, de = It.nextSibling, Ue = de.firstChild, Me = Ue.nextSibling, st = Me.nextSibling, jt = st.firstChild, fr = jt.nextSibling, Br = t;
31854
31851
  return typeof Br == "function" ? ee(Br, S) : t = S, _(T, ze), _(M, (() => {
31855
- const Je = pe(() => !!e.medication);
31856
- return () => Je() ? (() => {
31852
+ const Ze = pe(() => !!e.medication);
31853
+ return () => Ze() ? (() => {
31857
31854
  const qi = SD.cloneNode(!0);
31858
31855
  return _(qi, () => e.medication.name), qi;
31859
31856
  })() : kD.cloneNode(!0);
31860
- })(), null), D.addEventListener("photon-input-changed", (Je) => {
31861
- n(Je.detail.input);
31862
- }), D.addEventListener("photon-unit-selected", (Je) => {
31863
- d(Je.detail.unit);
31864
- }), U._$owner = P(), _(D, z(vD, {}), null), j.addEventListener("photon-input-changed", (Je) => {
31865
- s(Je.detail.input);
31866
- }), j.addEventListener("photon-unit-selected", (Je) => {
31867
- h(Je.detail.unit);
31868
- }), oe._$owner = P(), _(j, z(_D, {}), null), xe.addEventListener("photon-input-changed", (Je) => {
31869
- o(Je.detail.input);
31870
- }), xe.addEventListener("photon-unit-selected", (Je) => {
31871
- m(Je.detail.unit);
31872
- }), A._$owner = P(), _(xe, z(gD, {}), null), N.addEventListener("photon-input-changed", (Je) => {
31873
- l(Je.detail.input);
31874
- }), N.addEventListener("photon-unit-selected", (Je) => {
31875
- y(Je.detail.unit);
31857
+ })(), null), D.addEventListener("photon-input-changed", (Ze) => {
31858
+ n(Ze.detail.input);
31859
+ }), D.addEventListener("photon-unit-selected", (Ze) => {
31860
+ d(Ze.detail.unit);
31861
+ }), U._$owner = P(), _(D, z(vD, {}), null), j.addEventListener("photon-input-changed", (Ze) => {
31862
+ s(Ze.detail.input);
31863
+ }), j.addEventListener("photon-unit-selected", (Ze) => {
31864
+ h(Ze.detail.unit);
31865
+ }), oe._$owner = P(), _(j, z(_D, {}), null), xe.addEventListener("photon-input-changed", (Ze) => {
31866
+ o(Ze.detail.input);
31867
+ }), xe.addEventListener("photon-unit-selected", (Ze) => {
31868
+ m(Ze.detail.unit);
31869
+ }), A._$owner = P(), _(xe, z(gD, {}), null), N.addEventListener("photon-input-changed", (Ze) => {
31870
+ l(Ze.detail.input);
31871
+ }), N.addEventListener("photon-unit-selected", (Ze) => {
31872
+ y(Ze.detail.unit);
31876
31873
  }), St._$owner = P(), _(N, z($D, {}), null), Q.disabled = !0, Q._$owner = P(), X.addEventListener("photon-clicked", () => E(!1)), X._$owner = P(), ue._$owner = P(), Me.disabled = !0, Me._$owner = P(), st.addEventListener("photon-clicked", () => E(!0)), st._$owner = P(), fr._$owner = P(), W(() => Q.value = b() ?? "0"), W(() => Me.value = w() ?? "0"), S;
31877
31874
  })();
31878
31875
  });