@sudobility/subscription-components 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,18 +1,18 @@
1
- import { jsxs as I, jsx as b, Fragment as $e } from "react/jsx-runtime";
1
+ import { jsxs as D, jsx as g, Fragment as $e } from "react/jsx-runtime";
2
2
  import { textVariants as be } from "@sudobility/design";
3
3
  import { Card as We, CardContent as Ue, Button as ve } from "@sudobility/components";
4
4
  import { createContext as Be, useState as B, useCallback as W, useEffect as Ye, useContext as Ke } from "react";
5
- function Ae(e) {
5
+ function Se(e) {
6
6
  var o, r, t = "";
7
7
  if (typeof e == "string" || typeof e == "number") t += e;
8
8
  else if (typeof e == "object") if (Array.isArray(e)) {
9
- var s = e.length;
10
- for (o = 0; o < s; o++) e[o] && (r = Ae(e[o])) && (t && (t += " "), t += r);
9
+ var n = e.length;
10
+ for (o = 0; o < n; o++) e[o] && (r = Se(e[o])) && (t && (t += " "), t += r);
11
11
  } else for (r in e) e[r] && (t && (t += " "), t += r);
12
12
  return t;
13
13
  }
14
14
  function qe() {
15
- for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Ae(e)) && (t && (t += " "), t += o);
15
+ for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = Se(e)) && (t && (t += " "), t += o);
16
16
  return t;
17
17
  }
18
18
  const Xe = (e, o) => {
@@ -35,36 +35,36 @@ const Xe = (e, o) => {
35
35
  conflictingClassGroupModifiers: t
36
36
  } = e;
37
37
  return {
38
- getClassGroupId: (i) => {
39
- if (i.startsWith("[") && i.endsWith("]"))
40
- return Ze(i);
41
- const m = i.split(ce), c = m[0] === "" && m.length > 1 ? 1 : 0;
38
+ getClassGroupId: (a) => {
39
+ if (a.startsWith("[") && a.endsWith("]"))
40
+ return Ze(a);
41
+ const m = a.split(ce), c = m[0] === "" && m.length > 1 ? 1 : 0;
42
42
  return Ie(m, c, o);
43
43
  },
44
- getConflictingClassGroupIds: (i, m) => {
44
+ getConflictingClassGroupIds: (a, m) => {
45
45
  if (m) {
46
- const c = t[i], f = r[i];
47
- return c ? f ? Xe(f, c) : c : f || Ce;
46
+ const c = t[a], p = r[a];
47
+ return c ? p ? Xe(p, c) : c : p || Ce;
48
48
  }
49
- return r[i] || Ce;
49
+ return r[a] || Ce;
50
50
  }
51
51
  };
52
52
  }, Ie = (e, o, r) => {
53
53
  if (e.length - o === 0)
54
54
  return r.classGroupId;
55
- const s = e[o], l = r.nextPart.get(s);
56
- if (l) {
57
- const f = Ie(e, o + 1, l);
58
- if (f) return f;
55
+ const n = e[o], s = r.nextPart.get(n);
56
+ if (s) {
57
+ const p = Ie(e, o + 1, s);
58
+ if (p) return p;
59
59
  }
60
- const i = r.validators;
61
- if (i === null)
60
+ const a = r.validators;
61
+ if (a === null)
62
62
  return;
63
- const m = o === 0 ? e.join(ce) : e.slice(o).join(ce), c = i.length;
64
- for (let f = 0; f < c; f++) {
65
- const k = i[f];
66
- if (k.validator(m))
67
- return k.classGroupId;
63
+ const m = o === 0 ? e.join(ce) : e.slice(o).join(ce), c = a.length;
64
+ for (let p = 0; p < c; p++) {
65
+ const y = a[p];
66
+ if (y.validator(m))
67
+ return y.classGroupId;
68
68
  }
69
69
  }, Ze = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
70
  const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
@@ -78,15 +78,15 @@ const Xe = (e, o) => {
78
78
  }, rr = (e, o) => {
79
79
  const r = Re();
80
80
  for (const t in e) {
81
- const s = e[t];
82
- xe(s, r, t, o);
81
+ const n = e[t];
82
+ xe(n, r, t, o);
83
83
  }
84
84
  return r;
85
85
  }, xe = (e, o, r, t) => {
86
- const s = e.length;
87
- for (let l = 0; l < s; l++) {
88
- const i = e[l];
89
- tr(i, o, r, t);
86
+ const n = e.length;
87
+ for (let s = 0; s < n; s++) {
88
+ const a = e[s];
89
+ tr(a, o, r, t);
90
90
  }
91
91
  }, tr = (e, o, r, t) => {
92
92
  if (typeof e == "string") {
@@ -94,32 +94,32 @@ const Xe = (e, o) => {
94
94
  return;
95
95
  }
96
96
  if (typeof e == "function") {
97
- sr(e, o, r, t);
97
+ nr(e, o, r, t);
98
98
  return;
99
99
  }
100
- nr(e, o, r, t);
100
+ sr(e, o, r, t);
101
101
  }, or = (e, o, r) => {
102
102
  const t = e === "" ? o : Me(o, e);
103
103
  t.classGroupId = r;
104
- }, sr = (e, o, r, t) => {
104
+ }, nr = (e, o, r, t) => {
105
105
  if (ar(e)) {
106
106
  xe(e(t), o, r, t);
107
107
  return;
108
108
  }
109
109
  o.validators === null && (o.validators = []), o.validators.push(Je(r, e));
110
- }, nr = (e, o, r, t) => {
111
- const s = Object.entries(e), l = s.length;
112
- for (let i = 0; i < l; i++) {
113
- const [m, c] = s[i];
110
+ }, sr = (e, o, r, t) => {
111
+ const n = Object.entries(e), s = n.length;
112
+ for (let a = 0; a < s; a++) {
113
+ const [m, c] = n[a];
114
114
  xe(c, Me(o, m), r, t);
115
115
  }
116
116
  }, Me = (e, o) => {
117
117
  let r = e;
118
- const t = o.split(ce), s = t.length;
119
- for (let l = 0; l < s; l++) {
120
- const i = t[l];
121
- let m = r.nextPart.get(i);
122
- m || (m = Re(), r.nextPart.set(i, m)), r = m;
118
+ const t = o.split(ce), n = t.length;
119
+ for (let s = 0; s < n; s++) {
120
+ const a = t[s];
121
+ let m = r.nextPart.get(a);
122
+ m || (m = Re(), r.nextPart.set(a, m)), r = m;
123
123
  }
124
124
  return r;
125
125
  }, ar = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ir = (e) => {
@@ -131,71 +131,71 @@ const Xe = (e, o) => {
131
131
  }
132
132
  };
133
133
  let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
134
- const s = (l, i) => {
135
- r[l] = i, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
134
+ const n = (s, a) => {
135
+ r[s] = a, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
136
136
  };
137
137
  return {
138
- get(l) {
139
- let i = r[l];
140
- if (i !== void 0)
141
- return i;
142
- if ((i = t[l]) !== void 0)
143
- return s(l, i), i;
138
+ get(s) {
139
+ let a = r[s];
140
+ if (a !== void 0)
141
+ return a;
142
+ if ((a = t[s]) !== void 0)
143
+ return n(s, a), a;
144
144
  },
145
- set(l, i) {
146
- l in r ? r[l] = i : s(l, i);
145
+ set(s, a) {
146
+ s in r ? r[s] = a : n(s, a);
147
147
  }
148
148
  };
149
- }, he = "!", ze = ":", lr = [], Ne = (e, o, r, t, s) => ({
149
+ }, he = "!", Ne = ":", lr = [], Pe = (e, o, r, t, n) => ({
150
150
  modifiers: e,
151
151
  hasImportantModifier: o,
152
152
  baseClassName: r,
153
153
  maybePostfixModifierPosition: t,
154
- isExternal: s
154
+ isExternal: n
155
155
  }), cr = (e) => {
156
156
  const {
157
157
  prefix: o,
158
158
  experimentalParseClassName: r
159
159
  } = e;
160
- let t = (s) => {
161
- const l = [];
162
- let i = 0, m = 0, c = 0, f;
163
- const k = s.length;
164
- for (let z = 0; z < k; z++) {
165
- const N = s[z];
166
- if (i === 0 && m === 0) {
167
- if (N === ze) {
168
- l.push(s.slice(c, z)), c = z + 1;
160
+ let t = (n) => {
161
+ const s = [];
162
+ let a = 0, m = 0, c = 0, p;
163
+ const y = n.length;
164
+ for (let P = 0; P < y; P++) {
165
+ const w = n[P];
166
+ if (a === 0 && m === 0) {
167
+ if (w === Ne) {
168
+ s.push(n.slice(c, P)), c = P + 1;
169
169
  continue;
170
170
  }
171
- if (N === "/") {
172
- f = z;
171
+ if (w === "/") {
172
+ p = P;
173
173
  continue;
174
174
  }
175
175
  }
176
- N === "[" ? i++ : N === "]" ? i-- : N === "(" ? m++ : N === ")" && m--;
176
+ w === "[" ? a++ : w === "]" ? a-- : w === "(" ? m++ : w === ")" && m--;
177
177
  }
178
- const v = l.length === 0 ? s : s.slice(c);
179
- let C = v, x = !1;
180
- v.endsWith(he) ? (C = v.slice(0, -1), x = !0) : (
178
+ const C = s.length === 0 ? n : n.slice(c);
179
+ let T = C, x = !1;
180
+ C.endsWith(he) ? (T = C.slice(0, -1), x = !0) : (
181
181
  /**
182
182
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
183
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
184
  */
185
- v.startsWith(he) && (C = v.slice(1), x = !0)
185
+ C.startsWith(he) && (T = C.slice(1), x = !0)
186
186
  );
187
- const A = f && f > c ? f - c : void 0;
188
- return Ne(l, x, C, A);
187
+ const R = p && p > c ? p - c : void 0;
188
+ return Pe(s, x, T, R);
189
189
  };
190
190
  if (o) {
191
- const s = o + ze, l = t;
192
- t = (i) => i.startsWith(s) ? l(i.slice(s.length)) : Ne(lr, !1, i, void 0, !0);
191
+ const n = o + Ne, s = t;
192
+ t = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Pe(lr, !1, a, void 0, !0);
193
193
  }
194
194
  if (r) {
195
- const s = t;
196
- t = (l) => r({
197
- className: l,
198
- parseClassName: s
195
+ const n = t;
196
+ t = (s) => r({
197
+ className: s,
198
+ parseClassName: n
199
199
  });
200
200
  }
201
201
  return t;
@@ -205,67 +205,67 @@ const Xe = (e, o) => {
205
205
  o.set(r, 1e6 + t);
206
206
  }), (r) => {
207
207
  const t = [];
208
- let s = [];
209
- for (let l = 0; l < r.length; l++) {
210
- const i = r[l], m = i[0] === "[", c = o.has(i);
211
- m || c ? (s.length > 0 && (s.sort(), t.push(...s), s = []), t.push(i)) : s.push(i);
208
+ let n = [];
209
+ for (let s = 0; s < r.length; s++) {
210
+ const a = r[s], m = a[0] === "[", c = o.has(a);
211
+ m || c ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(a)) : n.push(a);
212
212
  }
213
- return s.length > 0 && (s.sort(), t.push(...s)), t;
213
+ return n.length > 0 && (n.sort(), t.push(...n)), t;
214
214
  };
215
215
  }, mr = (e) => ({
216
216
  cache: ir(e.cacheSize),
217
217
  parseClassName: cr(e),
218
218
  sortModifiers: dr(e),
219
219
  ...Qe(e)
220
- }), ur = /\s+/, pr = (e, o) => {
220
+ }), ur = /\s+/, fr = (e, o) => {
221
221
  const {
222
222
  parseClassName: r,
223
223
  getClassGroupId: t,
224
- getConflictingClassGroupIds: s,
225
- sortModifiers: l
226
- } = o, i = [], m = e.trim().split(ur);
224
+ getConflictingClassGroupIds: n,
225
+ sortModifiers: s
226
+ } = o, a = [], m = e.trim().split(ur);
227
227
  let c = "";
228
- for (let f = m.length - 1; f >= 0; f -= 1) {
229
- const k = m[f], {
230
- isExternal: v,
231
- modifiers: C,
228
+ for (let p = m.length - 1; p >= 0; p -= 1) {
229
+ const y = m[p], {
230
+ isExternal: C,
231
+ modifiers: T,
232
232
  hasImportantModifier: x,
233
- baseClassName: A,
234
- maybePostfixModifierPosition: z
235
- } = r(k);
236
- if (v) {
237
- c = k + (c.length > 0 ? " " + c : c);
233
+ baseClassName: R,
234
+ maybePostfixModifierPosition: P
235
+ } = r(y);
236
+ if (C) {
237
+ c = y + (c.length > 0 ? " " + c : c);
238
238
  continue;
239
239
  }
240
- let N = !!z, G = t(N ? A.substring(0, z) : A);
241
- if (!G) {
242
- if (!N) {
243
- c = k + (c.length > 0 ? " " + c : c);
240
+ let w = !!P, L = t(w ? R.substring(0, P) : R);
241
+ if (!L) {
242
+ if (!w) {
243
+ c = y + (c.length > 0 ? " " + c : c);
244
244
  continue;
245
245
  }
246
- if (G = t(A), !G) {
247
- c = k + (c.length > 0 ? " " + c : c);
246
+ if (L = t(R), !L) {
247
+ c = y + (c.length > 0 ? " " + c : c);
248
248
  continue;
249
249
  }
250
- N = !1;
250
+ w = !1;
251
251
  }
252
- const F = C.length === 0 ? "" : C.length === 1 ? C[0] : l(C).join(":"), V = x ? F + he : F, w = V + G;
253
- if (i.indexOf(w) > -1)
252
+ const I = T.length === 0 ? "" : T.length === 1 ? T[0] : s(T).join(":"), V = x ? I + he : I, z = V + L;
253
+ if (a.indexOf(z) > -1)
254
254
  continue;
255
- i.push(w);
256
- const T = s(G, N);
257
- for (let O = 0; O < T.length; ++O) {
258
- const j = T[O];
259
- i.push(V + j);
255
+ a.push(z);
256
+ const _ = n(L, w);
257
+ for (let G = 0; G < _.length; ++G) {
258
+ const k = _[G];
259
+ a.push(V + k);
260
260
  }
261
- c = k + (c.length > 0 ? " " + c : c);
261
+ c = y + (c.length > 0 ? " " + c : c);
262
262
  }
263
263
  return c;
264
- }, fr = (...e) => {
265
- let o = 0, r, t, s = "";
264
+ }, pr = (...e) => {
265
+ let o = 0, r, t, n = "";
266
266
  for (; o < e.length; )
267
- (r = e[o++]) && (t = De(r)) && (s && (s += " "), s += t);
268
- return s;
267
+ (r = e[o++]) && (t = De(r)) && (n && (n += " "), n += t);
268
+ return n;
269
269
  }, De = (e) => {
270
270
  if (typeof e == "string")
271
271
  return e;
@@ -274,34 +274,34 @@ const Xe = (e, o) => {
274
274
  e[t] && (o = De(e[t])) && (r && (r += " "), r += o);
275
275
  return r;
276
276
  }, gr = (e, ...o) => {
277
- let r, t, s, l;
278
- const i = (c) => {
279
- const f = o.reduce((k, v) => v(k), e());
280
- return r = mr(f), t = r.cache.get, s = r.cache.set, l = m, m(c);
277
+ let r, t, n, s;
278
+ const a = (c) => {
279
+ const p = o.reduce((y, C) => C(y), e());
280
+ return r = mr(p), t = r.cache.get, n = r.cache.set, s = m, m(c);
281
281
  }, m = (c) => {
282
- const f = t(c);
283
- if (f)
284
- return f;
285
- const k = pr(c, r);
286
- return s(c, k), k;
282
+ const p = t(c);
283
+ if (p)
284
+ return p;
285
+ const y = fr(c, r);
286
+ return n(c, y), y;
287
287
  };
288
- return l = i, (...c) => l(fr(...c));
289
- }, br = [], P = (e) => {
288
+ return s = a, (...c) => s(pr(...c));
289
+ }, br = [], A = (e) => {
290
290
  const o = (r) => r[e] || br;
291
291
  return o.isThemeGetter = !0, o;
292
- }, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hr = /^\d+\/\d+$/, xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, kr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, yr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => hr.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && g(e.slice(0, -1)), $ = (e) => xr.test(e), Cr = () => !0, zr = (e) => (
292
+ }, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hr = /^\d+\/\d+$/, xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, yr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => hr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && b(e.slice(0, -1)), $ = (e) => xr.test(e), Cr = () => !0, Nr = (e) => (
293
293
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
294
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
295
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
- wr.test(e) && !kr.test(e)
297
- ), Ge = () => !1, Nr = (e) => yr.test(e), Pr = (e) => vr.test(e), Sr = (e) => !n(e) && !a(e), Ar = (e) => J(e, Le, Ge), n = (e) => Te.test(e), Y = (e) => J(e, _e, zr), pe = (e) => J(e, Tr, g), Pe = (e) => J(e, Oe, Ge), Rr = (e) => J(e, je, Pr), ie = (e) => J(e, Fe, Nr), a = (e) => Ee.test(e), Q = (e) => H(e, _e), Ir = (e) => H(e, Er), Se = (e) => H(e, Oe), Mr = (e) => H(e, Le), Dr = (e) => H(e, je), le = (e) => H(e, Fe, !0), J = (e, o, r) => {
296
+ wr.test(e) && !yr.test(e)
297
+ ), Ge = () => !1, Pr = (e) => kr.test(e), zr = (e) => vr.test(e), Ar = (e) => !i(e) && !l(e), Sr = (e) => J(e, Le, Ge), i = (e) => Te.test(e), Y = (e) => J(e, _e, Nr), fe = (e) => J(e, Tr, b), ze = (e) => J(e, Oe, Ge), Rr = (e) => J(e, je, zr), ie = (e) => J(e, Fe, Pr), l = (e) => Ee.test(e), Q = (e) => H(e, _e), Ir = (e) => H(e, Er), Ae = (e) => H(e, Oe), Mr = (e) => H(e, Le), Dr = (e) => H(e, je), le = (e) => H(e, Fe, !0), J = (e, o, r) => {
298
298
  const t = Te.exec(e);
299
299
  return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
300
300
  }, H = (e, o, r = !1) => {
301
301
  const t = Ee.exec(e);
302
302
  return t ? t[1] ? o(t[1]) : r : !1;
303
303
  }, Oe = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", Le = (e) => e === "length" || e === "size" || e === "bg-size", _e = (e) => e === "length", Tr = (e) => e === "number", Er = (e) => e === "family-name", Fe = (e) => e === "shadow", Gr = () => {
304
- const e = P("color"), o = P("font"), r = P("text"), t = P("font-weight"), s = P("tracking"), l = P("leading"), i = P("breakpoint"), m = P("container"), c = P("spacing"), f = P("radius"), k = P("shadow"), v = P("inset-shadow"), C = P("text-shadow"), x = P("drop-shadow"), A = P("blur"), z = P("perspective"), N = P("aspect"), G = P("ease"), F = P("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], w = () => [
304
+ const e = A("color"), o = A("font"), r = A("text"), t = A("font-weight"), n = A("tracking"), s = A("leading"), a = A("breakpoint"), m = A("container"), c = A("spacing"), p = A("radius"), y = A("shadow"), C = A("inset-shadow"), T = A("text-shadow"), x = A("drop-shadow"), R = A("blur"), P = A("perspective"), w = A("aspect"), L = A("ease"), I = A("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
305
305
  "center",
306
306
  "top",
307
307
  "bottom",
@@ -319,30 +319,30 @@ const Xe = (e, o) => {
319
319
  "bottom-left",
320
320
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
321
  "left-bottom"
322
- ], T = () => [...w(), a, n], O = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", "contain", "none"], u = () => [a, n, c], _ = () => [X, "full", "auto", ...u()], Z = () => [U, "none", "subgrid", a, n], ee = () => ["auto", {
323
- span: ["full", U, a, n]
324
- }, U, a, n], K = () => [U, "auto", a, n], re = () => ["auto", "min", "max", "fr", a, n], p = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], y = () => ["auto", ...u()], D = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, a, n], q = () => [...w(), Se, Pe, {
325
- position: [a, n]
322
+ ], _ = () => [...z(), l, i], G = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], u = () => [l, i, c], F = () => [X, "full", "auto", ...u()], Z = () => [U, "none", "subgrid", l, i], ee = () => ["auto", {
323
+ span: ["full", U, l, i]
324
+ }, U, l, i], K = () => [U, "auto", l, i], re = () => ["auto", "min", "max", "fr", l, i], f = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], v = () => ["auto", ...u()], O = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, l, i], q = () => [...z(), Ae, ze, {
325
+ position: [l, i]
326
326
  }], te = () => ["no-repeat", {
327
327
  repeat: ["", "x", "y", "space", "round"]
328
- }], we = () => ["auto", "cover", "contain", Mr, Ar, {
329
- size: [a, n]
330
- }], de = () => [ue, Q, Y], M = () => [
328
+ }], we = () => ["auto", "cover", "contain", Mr, Sr, {
329
+ size: [l, i]
330
+ }], de = () => [ue, Q, Y], E = () => [
331
331
  // Deprecated since Tailwind CSS v4.0.0
332
332
  "",
333
333
  "none",
334
334
  "full",
335
- f,
336
- a,
337
- n
338
- ], E = () => ["", g, Q, Y], oe = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [g, ue, Se, Pe], ye = () => [
335
+ p,
336
+ l,
337
+ i
338
+ ], j = () => ["", b, Q, Y], oe = () => ["solid", "dashed", "dotted", "double"], ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [b, ue, Ae, ze], ke = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
- A,
343
- a,
344
- n
345
- ], se = () => ["none", g, a, n], ne = () => ["none", g, a, n], me = () => [g, a, n], ae = () => [X, "full", ...u()];
342
+ R,
343
+ l,
344
+ i
345
+ ], ne = () => ["none", b, l, i], se = () => ["none", b, l, i], me = () => [b, l, i], ae = () => [X, "full", ...u()];
346
346
  return {
347
347
  cacheSize: 500,
348
348
  theme: {
@@ -354,14 +354,14 @@ const Xe = (e, o) => {
354
354
  container: [$],
355
355
  "drop-shadow": [$],
356
356
  ease: ["in", "out", "in-out"],
357
- font: [Sr],
357
+ font: [Ar],
358
358
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
359
359
  "inset-shadow": [$],
360
360
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
361
361
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
362
  radius: [$],
363
363
  shadow: [$],
364
- spacing: ["px", g],
364
+ spacing: ["px", b],
365
365
  text: [$],
366
366
  "text-shadow": [$],
367
367
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -375,7 +375,7 @@ const Xe = (e, o) => {
375
375
  * @see https://tailwindcss.com/docs/aspect-ratio
376
376
  */
377
377
  aspect: [{
378
- aspect: ["auto", "square", X, n, a, N]
378
+ aspect: ["auto", "square", X, i, l, w]
379
379
  }],
380
380
  /**
381
381
  * Container
@@ -388,7 +388,7 @@ const Xe = (e, o) => {
388
388
  * @see https://tailwindcss.com/docs/columns
389
389
  */
390
390
  columns: [{
391
- columns: [g, n, a, m]
391
+ columns: [b, i, l, m]
392
392
  }],
393
393
  /**
394
394
  * Break After
@@ -466,49 +466,49 @@ const Xe = (e, o) => {
466
466
  * @see https://tailwindcss.com/docs/object-position
467
467
  */
468
468
  "object-position": [{
469
- object: T()
469
+ object: _()
470
470
  }],
471
471
  /**
472
472
  * Overflow
473
473
  * @see https://tailwindcss.com/docs/overflow
474
474
  */
475
475
  overflow: [{
476
- overflow: O()
476
+ overflow: G()
477
477
  }],
478
478
  /**
479
479
  * Overflow X
480
480
  * @see https://tailwindcss.com/docs/overflow
481
481
  */
482
482
  "overflow-x": [{
483
- "overflow-x": O()
483
+ "overflow-x": G()
484
484
  }],
485
485
  /**
486
486
  * Overflow Y
487
487
  * @see https://tailwindcss.com/docs/overflow
488
488
  */
489
489
  "overflow-y": [{
490
- "overflow-y": O()
490
+ "overflow-y": G()
491
491
  }],
492
492
  /**
493
493
  * Overscroll Behavior
494
494
  * @see https://tailwindcss.com/docs/overscroll-behavior
495
495
  */
496
496
  overscroll: [{
497
- overscroll: j()
497
+ overscroll: k()
498
498
  }],
499
499
  /**
500
500
  * Overscroll Behavior X
501
501
  * @see https://tailwindcss.com/docs/overscroll-behavior
502
502
  */
503
503
  "overscroll-x": [{
504
- "overscroll-x": j()
504
+ "overscroll-x": k()
505
505
  }],
506
506
  /**
507
507
  * Overscroll Behavior Y
508
508
  * @see https://tailwindcss.com/docs/overscroll-behavior
509
509
  */
510
510
  "overscroll-y": [{
511
- "overscroll-y": j()
511
+ "overscroll-y": k()
512
512
  }],
513
513
  /**
514
514
  * Position
@@ -520,63 +520,63 @@ const Xe = (e, o) => {
520
520
  * @see https://tailwindcss.com/docs/top-right-bottom-left
521
521
  */
522
522
  inset: [{
523
- inset: _()
523
+ inset: F()
524
524
  }],
525
525
  /**
526
526
  * Right / Left
527
527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
528
  */
529
529
  "inset-x": [{
530
- "inset-x": _()
530
+ "inset-x": F()
531
531
  }],
532
532
  /**
533
533
  * Top / Bottom
534
534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
535
  */
536
536
  "inset-y": [{
537
- "inset-y": _()
537
+ "inset-y": F()
538
538
  }],
539
539
  /**
540
540
  * Start
541
541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
542
  */
543
543
  start: [{
544
- start: _()
544
+ start: F()
545
545
  }],
546
546
  /**
547
547
  * End
548
548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
549
  */
550
550
  end: [{
551
- end: _()
551
+ end: F()
552
552
  }],
553
553
  /**
554
554
  * Top
555
555
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
556
  */
557
557
  top: [{
558
- top: _()
558
+ top: F()
559
559
  }],
560
560
  /**
561
561
  * Right
562
562
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
563
  */
564
564
  right: [{
565
- right: _()
565
+ right: F()
566
566
  }],
567
567
  /**
568
568
  * Bottom
569
569
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
570
  */
571
571
  bottom: [{
572
- bottom: _()
572
+ bottom: F()
573
573
  }],
574
574
  /**
575
575
  * Left
576
576
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
577
  */
578
578
  left: [{
579
- left: _()
579
+ left: F()
580
580
  }],
581
581
  /**
582
582
  * Visibility
@@ -588,7 +588,7 @@ const Xe = (e, o) => {
588
588
  * @see https://tailwindcss.com/docs/z-index
589
589
  */
590
590
  z: [{
591
- z: [U, "auto", a, n]
591
+ z: [U, "auto", l, i]
592
592
  }],
593
593
  // ------------------------
594
594
  // --- Flexbox and Grid ---
@@ -619,28 +619,28 @@ const Xe = (e, o) => {
619
619
  * @see https://tailwindcss.com/docs/flex
620
620
  */
621
621
  flex: [{
622
- flex: [g, X, "auto", "initial", "none", n]
622
+ flex: [b, X, "auto", "initial", "none", i]
623
623
  }],
624
624
  /**
625
625
  * Flex Grow
626
626
  * @see https://tailwindcss.com/docs/flex-grow
627
627
  */
628
628
  grow: [{
629
- grow: ["", g, a, n]
629
+ grow: ["", b, l, i]
630
630
  }],
631
631
  /**
632
632
  * Flex Shrink
633
633
  * @see https://tailwindcss.com/docs/flex-shrink
634
634
  */
635
635
  shrink: [{
636
- shrink: ["", g, a, n]
636
+ shrink: ["", b, l, i]
637
637
  }],
638
638
  /**
639
639
  * Order
640
640
  * @see https://tailwindcss.com/docs/order
641
641
  */
642
642
  order: [{
643
- order: [U, "first", "last", "none", a, n]
643
+ order: [U, "first", "last", "none", l, i]
644
644
  }],
645
645
  /**
646
646
  * Grid Template Columns
@@ -745,7 +745,7 @@ const Xe = (e, o) => {
745
745
  * @see https://tailwindcss.com/docs/justify-content
746
746
  */
747
747
  "justify-content": [{
748
- justify: [...p(), "normal"]
748
+ justify: [...f(), "normal"]
749
749
  }],
750
750
  /**
751
751
  * Justify Items
@@ -766,7 +766,7 @@ const Xe = (e, o) => {
766
766
  * @see https://tailwindcss.com/docs/align-content
767
767
  */
768
768
  "align-content": [{
769
- content: ["normal", ...p()]
769
+ content: ["normal", ...f()]
770
770
  }],
771
771
  /**
772
772
  * Align Items
@@ -791,7 +791,7 @@ const Xe = (e, o) => {
791
791
  * @see https://tailwindcss.com/docs/place-content
792
792
  */
793
793
  "place-content": [{
794
- "place-content": p()
794
+ "place-content": f()
795
795
  }],
796
796
  /**
797
797
  * Place Items
@@ -876,63 +876,63 @@ const Xe = (e, o) => {
876
876
  * @see https://tailwindcss.com/docs/margin
877
877
  */
878
878
  m: [{
879
- m: y()
879
+ m: v()
880
880
  }],
881
881
  /**
882
882
  * Margin X
883
883
  * @see https://tailwindcss.com/docs/margin
884
884
  */
885
885
  mx: [{
886
- mx: y()
886
+ mx: v()
887
887
  }],
888
888
  /**
889
889
  * Margin Y
890
890
  * @see https://tailwindcss.com/docs/margin
891
891
  */
892
892
  my: [{
893
- my: y()
893
+ my: v()
894
894
  }],
895
895
  /**
896
896
  * Margin Start
897
897
  * @see https://tailwindcss.com/docs/margin
898
898
  */
899
899
  ms: [{
900
- ms: y()
900
+ ms: v()
901
901
  }],
902
902
  /**
903
903
  * Margin End
904
904
  * @see https://tailwindcss.com/docs/margin
905
905
  */
906
906
  me: [{
907
- me: y()
907
+ me: v()
908
908
  }],
909
909
  /**
910
910
  * Margin Top
911
911
  * @see https://tailwindcss.com/docs/margin
912
912
  */
913
913
  mt: [{
914
- mt: y()
914
+ mt: v()
915
915
  }],
916
916
  /**
917
917
  * Margin Right
918
918
  * @see https://tailwindcss.com/docs/margin
919
919
  */
920
920
  mr: [{
921
- mr: y()
921
+ mr: v()
922
922
  }],
923
923
  /**
924
924
  * Margin Bottom
925
925
  * @see https://tailwindcss.com/docs/margin
926
926
  */
927
927
  mb: [{
928
- mb: y()
928
+ mb: v()
929
929
  }],
930
930
  /**
931
931
  * Margin Left
932
932
  * @see https://tailwindcss.com/docs/margin
933
933
  */
934
934
  ml: [{
935
- ml: y()
935
+ ml: v()
936
936
  }],
937
937
  /**
938
938
  * Space Between X
@@ -966,14 +966,14 @@ const Xe = (e, o) => {
966
966
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
967
967
  */
968
968
  size: [{
969
- size: D()
969
+ size: O()
970
970
  }],
971
971
  /**
972
972
  * Width
973
973
  * @see https://tailwindcss.com/docs/width
974
974
  */
975
975
  w: [{
976
- w: [m, "screen", ...D()]
976
+ w: [m, "screen", ...O()]
977
977
  }],
978
978
  /**
979
979
  * Min-Width
@@ -985,7 +985,7 @@ const Xe = (e, o) => {
985
985
  "screen",
986
986
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
987
  "none",
988
- ...D()
988
+ ...O()
989
989
  ]
990
990
  }],
991
991
  /**
@@ -1001,9 +1001,9 @@ const Xe = (e, o) => {
1001
1001
  "prose",
1002
1002
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1003
1003
  {
1004
- screen: [i]
1004
+ screen: [a]
1005
1005
  },
1006
- ...D()
1006
+ ...O()
1007
1007
  ]
1008
1008
  }],
1009
1009
  /**
@@ -1011,21 +1011,21 @@ const Xe = (e, o) => {
1011
1011
  * @see https://tailwindcss.com/docs/height
1012
1012
  */
1013
1013
  h: [{
1014
- h: ["screen", "lh", ...D()]
1014
+ h: ["screen", "lh", ...O()]
1015
1015
  }],
1016
1016
  /**
1017
1017
  * Min-Height
1018
1018
  * @see https://tailwindcss.com/docs/min-height
1019
1019
  */
1020
1020
  "min-h": [{
1021
- "min-h": ["screen", "lh", "none", ...D()]
1021
+ "min-h": ["screen", "lh", "none", ...O()]
1022
1022
  }],
1023
1023
  /**
1024
1024
  * Max-Height
1025
1025
  * @see https://tailwindcss.com/docs/max-height
1026
1026
  */
1027
1027
  "max-h": [{
1028
- "max-h": ["screen", "lh", ...D()]
1028
+ "max-h": ["screen", "lh", ...O()]
1029
1029
  }],
1030
1030
  // ------------------
1031
1031
  // --- Typography ---
@@ -1052,21 +1052,21 @@ const Xe = (e, o) => {
1052
1052
  * @see https://tailwindcss.com/docs/font-weight
1053
1053
  */
1054
1054
  "font-weight": [{
1055
- font: [t, a, pe]
1055
+ font: [t, l, fe]
1056
1056
  }],
1057
1057
  /**
1058
1058
  * Font Stretch
1059
1059
  * @see https://tailwindcss.com/docs/font-stretch
1060
1060
  */
1061
1061
  "font-stretch": [{
1062
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue, n]
1062
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue, i]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Font Family
1066
1066
  * @see https://tailwindcss.com/docs/font-family
1067
1067
  */
1068
1068
  "font-family": [{
1069
- font: [Ir, n, o]
1069
+ font: [Ir, i, o]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Font Variant Numeric
@@ -1103,14 +1103,14 @@ const Xe = (e, o) => {
1103
1103
  * @see https://tailwindcss.com/docs/letter-spacing
1104
1104
  */
1105
1105
  tracking: [{
1106
- tracking: [s, a, n]
1106
+ tracking: [n, l, i]
1107
1107
  }],
1108
1108
  /**
1109
1109
  * Line Clamp
1110
1110
  * @see https://tailwindcss.com/docs/line-clamp
1111
1111
  */
1112
1112
  "line-clamp": [{
1113
- "line-clamp": [g, "none", a, pe]
1113
+ "line-clamp": [b, "none", l, fe]
1114
1114
  }],
1115
1115
  /**
1116
1116
  * Line Height
@@ -1119,7 +1119,7 @@ const Xe = (e, o) => {
1119
1119
  leading: [{
1120
1120
  leading: [
1121
1121
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1122
- l,
1122
+ s,
1123
1123
  ...u()
1124
1124
  ]
1125
1125
  }],
@@ -1128,7 +1128,7 @@ const Xe = (e, o) => {
1128
1128
  * @see https://tailwindcss.com/docs/list-style-image
1129
1129
  */
1130
1130
  "list-image": [{
1131
- "list-image": ["none", a, n]
1131
+ "list-image": ["none", l, i]
1132
1132
  }],
1133
1133
  /**
1134
1134
  * List Style Position
@@ -1142,7 +1142,7 @@ const Xe = (e, o) => {
1142
1142
  * @see https://tailwindcss.com/docs/list-style-type
1143
1143
  */
1144
1144
  "list-style-type": [{
1145
- list: ["disc", "decimal", "none", a, n]
1145
+ list: ["disc", "decimal", "none", l, i]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Text Alignment
@@ -1183,7 +1183,7 @@ const Xe = (e, o) => {
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1184
  */
1185
1185
  "text-decoration-thickness": [{
1186
- decoration: [g, "from-font", "auto", a, Y]
1186
+ decoration: [b, "from-font", "auto", l, Y]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Color
@@ -1197,7 +1197,7 @@ const Xe = (e, o) => {
1197
1197
  * @see https://tailwindcss.com/docs/text-underline-offset
1198
1198
  */
1199
1199
  "underline-offset": [{
1200
- "underline-offset": [g, "auto", a, n]
1200
+ "underline-offset": [b, "auto", l, i]
1201
1201
  }],
1202
1202
  /**
1203
1203
  * Text Transform
@@ -1228,7 +1228,7 @@ const Xe = (e, o) => {
1228
1228
  * @see https://tailwindcss.com/docs/vertical-align
1229
1229
  */
1230
1230
  "vertical-align": [{
1231
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a, n]
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, i]
1232
1232
  }],
1233
1233
  /**
1234
1234
  * Whitespace
@@ -1263,7 +1263,7 @@ const Xe = (e, o) => {
1263
1263
  * @see https://tailwindcss.com/docs/content
1264
1264
  */
1265
1265
  content: [{
1266
- content: ["none", a, n]
1266
+ content: ["none", l, i]
1267
1267
  }],
1268
1268
  // -------------------
1269
1269
  // --- Backgrounds ---
@@ -1318,9 +1318,9 @@ const Xe = (e, o) => {
1318
1318
  bg: ["none", {
1319
1319
  linear: [{
1320
1320
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
- }, U, a, n],
1322
- radial: ["", a, n],
1323
- conic: [U, a, n]
1321
+ }, U, l, i],
1322
+ radial: ["", l, i],
1323
+ conic: [U, l, i]
1324
1324
  }, Dr, Rr]
1325
1325
  }],
1326
1326
  /**
@@ -1380,175 +1380,175 @@ const Xe = (e, o) => {
1380
1380
  * @see https://tailwindcss.com/docs/border-radius
1381
1381
  */
1382
1382
  rounded: [{
1383
- rounded: M()
1383
+ rounded: E()
1384
1384
  }],
1385
1385
  /**
1386
1386
  * Border Radius Start
1387
1387
  * @see https://tailwindcss.com/docs/border-radius
1388
1388
  */
1389
1389
  "rounded-s": [{
1390
- "rounded-s": M()
1390
+ "rounded-s": E()
1391
1391
  }],
1392
1392
  /**
1393
1393
  * Border Radius End
1394
1394
  * @see https://tailwindcss.com/docs/border-radius
1395
1395
  */
1396
1396
  "rounded-e": [{
1397
- "rounded-e": M()
1397
+ "rounded-e": E()
1398
1398
  }],
1399
1399
  /**
1400
1400
  * Border Radius Top
1401
1401
  * @see https://tailwindcss.com/docs/border-radius
1402
1402
  */
1403
1403
  "rounded-t": [{
1404
- "rounded-t": M()
1404
+ "rounded-t": E()
1405
1405
  }],
1406
1406
  /**
1407
1407
  * Border Radius Right
1408
1408
  * @see https://tailwindcss.com/docs/border-radius
1409
1409
  */
1410
1410
  "rounded-r": [{
1411
- "rounded-r": M()
1411
+ "rounded-r": E()
1412
1412
  }],
1413
1413
  /**
1414
1414
  * Border Radius Bottom
1415
1415
  * @see https://tailwindcss.com/docs/border-radius
1416
1416
  */
1417
1417
  "rounded-b": [{
1418
- "rounded-b": M()
1418
+ "rounded-b": E()
1419
1419
  }],
1420
1420
  /**
1421
1421
  * Border Radius Left
1422
1422
  * @see https://tailwindcss.com/docs/border-radius
1423
1423
  */
1424
1424
  "rounded-l": [{
1425
- "rounded-l": M()
1425
+ "rounded-l": E()
1426
1426
  }],
1427
1427
  /**
1428
1428
  * Border Radius Start Start
1429
1429
  * @see https://tailwindcss.com/docs/border-radius
1430
1430
  */
1431
1431
  "rounded-ss": [{
1432
- "rounded-ss": M()
1432
+ "rounded-ss": E()
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Border Radius Start End
1436
1436
  * @see https://tailwindcss.com/docs/border-radius
1437
1437
  */
1438
1438
  "rounded-se": [{
1439
- "rounded-se": M()
1439
+ "rounded-se": E()
1440
1440
  }],
1441
1441
  /**
1442
1442
  * Border Radius End End
1443
1443
  * @see https://tailwindcss.com/docs/border-radius
1444
1444
  */
1445
1445
  "rounded-ee": [{
1446
- "rounded-ee": M()
1446
+ "rounded-ee": E()
1447
1447
  }],
1448
1448
  /**
1449
1449
  * Border Radius End Start
1450
1450
  * @see https://tailwindcss.com/docs/border-radius
1451
1451
  */
1452
1452
  "rounded-es": [{
1453
- "rounded-es": M()
1453
+ "rounded-es": E()
1454
1454
  }],
1455
1455
  /**
1456
1456
  * Border Radius Top Left
1457
1457
  * @see https://tailwindcss.com/docs/border-radius
1458
1458
  */
1459
1459
  "rounded-tl": [{
1460
- "rounded-tl": M()
1460
+ "rounded-tl": E()
1461
1461
  }],
1462
1462
  /**
1463
1463
  * Border Radius Top Right
1464
1464
  * @see https://tailwindcss.com/docs/border-radius
1465
1465
  */
1466
1466
  "rounded-tr": [{
1467
- "rounded-tr": M()
1467
+ "rounded-tr": E()
1468
1468
  }],
1469
1469
  /**
1470
1470
  * Border Radius Bottom Right
1471
1471
  * @see https://tailwindcss.com/docs/border-radius
1472
1472
  */
1473
1473
  "rounded-br": [{
1474
- "rounded-br": M()
1474
+ "rounded-br": E()
1475
1475
  }],
1476
1476
  /**
1477
1477
  * Border Radius Bottom Left
1478
1478
  * @see https://tailwindcss.com/docs/border-radius
1479
1479
  */
1480
1480
  "rounded-bl": [{
1481
- "rounded-bl": M()
1481
+ "rounded-bl": E()
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Width
1485
1485
  * @see https://tailwindcss.com/docs/border-width
1486
1486
  */
1487
1487
  "border-w": [{
1488
- border: E()
1488
+ border: j()
1489
1489
  }],
1490
1490
  /**
1491
1491
  * Border Width X
1492
1492
  * @see https://tailwindcss.com/docs/border-width
1493
1493
  */
1494
1494
  "border-w-x": [{
1495
- "border-x": E()
1495
+ "border-x": j()
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Width Y
1499
1499
  * @see https://tailwindcss.com/docs/border-width
1500
1500
  */
1501
1501
  "border-w-y": [{
1502
- "border-y": E()
1502
+ "border-y": j()
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Width Start
1506
1506
  * @see https://tailwindcss.com/docs/border-width
1507
1507
  */
1508
1508
  "border-w-s": [{
1509
- "border-s": E()
1509
+ "border-s": j()
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Width End
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w-e": [{
1516
- "border-e": E()
1516
+ "border-e": j()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width Top
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-t": [{
1523
- "border-t": E()
1523
+ "border-t": j()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Right
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-r": [{
1530
- "border-r": E()
1530
+ "border-r": j()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Bottom
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-b": [{
1537
- "border-b": E()
1537
+ "border-b": j()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width Left
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-l": [{
1544
- "border-l": E()
1544
+ "border-l": j()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Divide Width X
1548
1548
  * @see https://tailwindcss.com/docs/border-width#between-children
1549
1549
  */
1550
1550
  "divide-x": [{
1551
- "divide-x": E()
1551
+ "divide-x": j()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Divide Width X Reverse
@@ -1560,7 +1560,7 @@ const Xe = (e, o) => {
1560
1560
  * @see https://tailwindcss.com/docs/border-width#between-children
1561
1561
  */
1562
1562
  "divide-y": [{
1563
- "divide-y": E()
1563
+ "divide-y": j()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Divide Width Y Reverse
@@ -1663,14 +1663,14 @@ const Xe = (e, o) => {
1663
1663
  * @see https://tailwindcss.com/docs/outline-offset
1664
1664
  */
1665
1665
  "outline-offset": [{
1666
- "outline-offset": [g, a, n]
1666
+ "outline-offset": [b, l, i]
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Outline Width
1670
1670
  * @see https://tailwindcss.com/docs/outline-width
1671
1671
  */
1672
1672
  "outline-w": [{
1673
- outline: ["", g, Q, Y]
1673
+ outline: ["", b, Q, Y]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Outline Color
@@ -1691,7 +1691,7 @@ const Xe = (e, o) => {
1691
1691
  // Deprecated since Tailwind CSS v4.0.0
1692
1692
  "",
1693
1693
  "none",
1694
- k,
1694
+ y,
1695
1695
  le,
1696
1696
  ie
1697
1697
  ]
@@ -1708,7 +1708,7 @@ const Xe = (e, o) => {
1708
1708
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1709
1709
  */
1710
1710
  "inset-shadow": [{
1711
- "inset-shadow": ["none", v, le, ie]
1711
+ "inset-shadow": ["none", C, le, ie]
1712
1712
  }],
1713
1713
  /**
1714
1714
  * Inset Box Shadow Color
@@ -1722,7 +1722,7 @@ const Xe = (e, o) => {
1722
1722
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
1723
  */
1724
1724
  "ring-w": [{
1725
- ring: E()
1725
+ ring: j()
1726
1726
  }],
1727
1727
  /**
1728
1728
  * Ring Width Inset
@@ -1745,7 +1745,7 @@ const Xe = (e, o) => {
1745
1745
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
1746
  */
1747
1747
  "ring-offset-w": [{
1748
- "ring-offset": [g, Y]
1748
+ "ring-offset": [b, Y]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Offset Color
@@ -1761,7 +1761,7 @@ const Xe = (e, o) => {
1761
1761
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
1762
  */
1763
1763
  "inset-ring-w": [{
1764
- "inset-ring": E()
1764
+ "inset-ring": j()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Inset Ring Color
@@ -1775,7 +1775,7 @@ const Xe = (e, o) => {
1775
1775
  * @see https://tailwindcss.com/docs/text-shadow
1776
1776
  */
1777
1777
  "text-shadow": [{
1778
- "text-shadow": ["none", C, le, ie]
1778
+ "text-shadow": ["none", T, le, ie]
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Text Shadow Color
@@ -1789,21 +1789,21 @@ const Xe = (e, o) => {
1789
1789
  * @see https://tailwindcss.com/docs/opacity
1790
1790
  */
1791
1791
  opacity: [{
1792
- opacity: [g, a, n]
1792
+ opacity: [b, l, i]
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Mix Blend Mode
1796
1796
  * @see https://tailwindcss.com/docs/mix-blend-mode
1797
1797
  */
1798
1798
  "mix-blend": [{
1799
- "mix-blend": [...ke(), "plus-darker", "plus-lighter"]
1799
+ "mix-blend": [...ye(), "plus-darker", "plus-lighter"]
1800
1800
  }],
1801
1801
  /**
1802
1802
  * Background Blend Mode
1803
1803
  * @see https://tailwindcss.com/docs/background-blend-mode
1804
1804
  */
1805
1805
  "bg-blend": [{
1806
- "bg-blend": ke()
1806
+ "bg-blend": ye()
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Mask Clip
@@ -1824,7 +1824,7 @@ const Xe = (e, o) => {
1824
1824
  * @see https://tailwindcss.com/docs/mask-image
1825
1825
  */
1826
1826
  "mask-image-linear-pos": [{
1827
- "mask-linear": [g]
1827
+ "mask-linear": [b]
1828
1828
  }],
1829
1829
  "mask-image-linear-from-pos": [{
1830
1830
  "mask-linear-from": S()
@@ -1911,7 +1911,7 @@ const Xe = (e, o) => {
1911
1911
  "mask-y-to": d()
1912
1912
  }],
1913
1913
  "mask-image-radial": [{
1914
- "mask-radial": [a, n]
1914
+ "mask-radial": [l, i]
1915
1915
  }],
1916
1916
  "mask-image-radial-from-pos": [{
1917
1917
  "mask-radial-from": S()
@@ -1935,10 +1935,10 @@ const Xe = (e, o) => {
1935
1935
  }]
1936
1936
  }],
1937
1937
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": w()
1938
+ "mask-radial-at": z()
1939
1939
  }],
1940
1940
  "mask-image-conic-pos": [{
1941
- "mask-conic": [g]
1941
+ "mask-conic": [b]
1942
1942
  }],
1943
1943
  "mask-image-conic-from-pos": [{
1944
1944
  "mask-conic-from": S()
@@ -1999,7 +1999,7 @@ const Xe = (e, o) => {
1999
1999
  * @see https://tailwindcss.com/docs/mask-image
2000
2000
  */
2001
2001
  "mask-image": [{
2002
- mask: ["none", a, n]
2002
+ mask: ["none", l, i]
2003
2003
  }],
2004
2004
  // ---------------
2005
2005
  // --- Filters ---
@@ -2013,8 +2013,8 @@ const Xe = (e, o) => {
2013
2013
  // Deprecated since Tailwind CSS v3.0.0
2014
2014
  "",
2015
2015
  "none",
2016
- a,
2017
- n
2016
+ l,
2017
+ i
2018
2018
  ]
2019
2019
  }],
2020
2020
  /**
@@ -2022,21 +2022,21 @@ const Xe = (e, o) => {
2022
2022
  * @see https://tailwindcss.com/docs/blur
2023
2023
  */
2024
2024
  blur: [{
2025
- blur: ye()
2025
+ blur: ke()
2026
2026
  }],
2027
2027
  /**
2028
2028
  * Brightness
2029
2029
  * @see https://tailwindcss.com/docs/brightness
2030
2030
  */
2031
2031
  brightness: [{
2032
- brightness: [g, a, n]
2032
+ brightness: [b, l, i]
2033
2033
  }],
2034
2034
  /**
2035
2035
  * Contrast
2036
2036
  * @see https://tailwindcss.com/docs/contrast
2037
2037
  */
2038
2038
  contrast: [{
2039
- contrast: [g, a, n]
2039
+ contrast: [b, l, i]
2040
2040
  }],
2041
2041
  /**
2042
2042
  * Drop Shadow
@@ -2064,35 +2064,35 @@ const Xe = (e, o) => {
2064
2064
  * @see https://tailwindcss.com/docs/grayscale
2065
2065
  */
2066
2066
  grayscale: [{
2067
- grayscale: ["", g, a, n]
2067
+ grayscale: ["", b, l, i]
2068
2068
  }],
2069
2069
  /**
2070
2070
  * Hue Rotate
2071
2071
  * @see https://tailwindcss.com/docs/hue-rotate
2072
2072
  */
2073
2073
  "hue-rotate": [{
2074
- "hue-rotate": [g, a, n]
2074
+ "hue-rotate": [b, l, i]
2075
2075
  }],
2076
2076
  /**
2077
2077
  * Invert
2078
2078
  * @see https://tailwindcss.com/docs/invert
2079
2079
  */
2080
2080
  invert: [{
2081
- invert: ["", g, a, n]
2081
+ invert: ["", b, l, i]
2082
2082
  }],
2083
2083
  /**
2084
2084
  * Saturate
2085
2085
  * @see https://tailwindcss.com/docs/saturate
2086
2086
  */
2087
2087
  saturate: [{
2088
- saturate: [g, a, n]
2088
+ saturate: [b, l, i]
2089
2089
  }],
2090
2090
  /**
2091
2091
  * Sepia
2092
2092
  * @see https://tailwindcss.com/docs/sepia
2093
2093
  */
2094
2094
  sepia: [{
2095
- sepia: ["", g, a, n]
2095
+ sepia: ["", b, l, i]
2096
2096
  }],
2097
2097
  /**
2098
2098
  * Backdrop Filter
@@ -2103,8 +2103,8 @@ const Xe = (e, o) => {
2103
2103
  // Deprecated since Tailwind CSS v3.0.0
2104
2104
  "",
2105
2105
  "none",
2106
- a,
2107
- n
2106
+ l,
2107
+ i
2108
2108
  ]
2109
2109
  }],
2110
2110
  /**
@@ -2112,63 +2112,63 @@ const Xe = (e, o) => {
2112
2112
  * @see https://tailwindcss.com/docs/backdrop-blur
2113
2113
  */
2114
2114
  "backdrop-blur": [{
2115
- "backdrop-blur": ye()
2115
+ "backdrop-blur": ke()
2116
2116
  }],
2117
2117
  /**
2118
2118
  * Backdrop Brightness
2119
2119
  * @see https://tailwindcss.com/docs/backdrop-brightness
2120
2120
  */
2121
2121
  "backdrop-brightness": [{
2122
- "backdrop-brightness": [g, a, n]
2122
+ "backdrop-brightness": [b, l, i]
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Backdrop Contrast
2126
2126
  * @see https://tailwindcss.com/docs/backdrop-contrast
2127
2127
  */
2128
2128
  "backdrop-contrast": [{
2129
- "backdrop-contrast": [g, a, n]
2129
+ "backdrop-contrast": [b, l, i]
2130
2130
  }],
2131
2131
  /**
2132
2132
  * Backdrop Grayscale
2133
2133
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2134
2134
  */
2135
2135
  "backdrop-grayscale": [{
2136
- "backdrop-grayscale": ["", g, a, n]
2136
+ "backdrop-grayscale": ["", b, l, i]
2137
2137
  }],
2138
2138
  /**
2139
2139
  * Backdrop Hue Rotate
2140
2140
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2141
2141
  */
2142
2142
  "backdrop-hue-rotate": [{
2143
- "backdrop-hue-rotate": [g, a, n]
2143
+ "backdrop-hue-rotate": [b, l, i]
2144
2144
  }],
2145
2145
  /**
2146
2146
  * Backdrop Invert
2147
2147
  * @see https://tailwindcss.com/docs/backdrop-invert
2148
2148
  */
2149
2149
  "backdrop-invert": [{
2150
- "backdrop-invert": ["", g, a, n]
2150
+ "backdrop-invert": ["", b, l, i]
2151
2151
  }],
2152
2152
  /**
2153
2153
  * Backdrop Opacity
2154
2154
  * @see https://tailwindcss.com/docs/backdrop-opacity
2155
2155
  */
2156
2156
  "backdrop-opacity": [{
2157
- "backdrop-opacity": [g, a, n]
2157
+ "backdrop-opacity": [b, l, i]
2158
2158
  }],
2159
2159
  /**
2160
2160
  * Backdrop Saturate
2161
2161
  * @see https://tailwindcss.com/docs/backdrop-saturate
2162
2162
  */
2163
2163
  "backdrop-saturate": [{
2164
- "backdrop-saturate": [g, a, n]
2164
+ "backdrop-saturate": [b, l, i]
2165
2165
  }],
2166
2166
  /**
2167
2167
  * Backdrop Sepia
2168
2168
  * @see https://tailwindcss.com/docs/backdrop-sepia
2169
2169
  */
2170
2170
  "backdrop-sepia": [{
2171
- "backdrop-sepia": ["", g, a, n]
2171
+ "backdrop-sepia": ["", b, l, i]
2172
2172
  }],
2173
2173
  // --------------
2174
2174
  // --- Tables ---
@@ -2223,7 +2223,7 @@ const Xe = (e, o) => {
2223
2223
  * @see https://tailwindcss.com/docs/transition-property
2224
2224
  */
2225
2225
  transition: [{
2226
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", a, n]
2226
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, i]
2227
2227
  }],
2228
2228
  /**
2229
2229
  * Transition Behavior
@@ -2237,28 +2237,28 @@ const Xe = (e, o) => {
2237
2237
  * @see https://tailwindcss.com/docs/transition-duration
2238
2238
  */
2239
2239
  duration: [{
2240
- duration: [g, "initial", a, n]
2240
+ duration: [b, "initial", l, i]
2241
2241
  }],
2242
2242
  /**
2243
2243
  * Transition Timing Function
2244
2244
  * @see https://tailwindcss.com/docs/transition-timing-function
2245
2245
  */
2246
2246
  ease: [{
2247
- ease: ["linear", "initial", G, a, n]
2247
+ ease: ["linear", "initial", L, l, i]
2248
2248
  }],
2249
2249
  /**
2250
2250
  * Transition Delay
2251
2251
  * @see https://tailwindcss.com/docs/transition-delay
2252
2252
  */
2253
2253
  delay: [{
2254
- delay: [g, a, n]
2254
+ delay: [b, l, i]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Animation
2258
2258
  * @see https://tailwindcss.com/docs/animation
2259
2259
  */
2260
2260
  animate: [{
2261
- animate: ["none", F, a, n]
2261
+ animate: ["none", I, l, i]
2262
2262
  }],
2263
2263
  // ------------------
2264
2264
  // --- Transforms ---
@@ -2275,70 +2275,70 @@ const Xe = (e, o) => {
2275
2275
  * @see https://tailwindcss.com/docs/perspective
2276
2276
  */
2277
2277
  perspective: [{
2278
- perspective: [z, a, n]
2278
+ perspective: [P, l, i]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Perspective Origin
2282
2282
  * @see https://tailwindcss.com/docs/perspective-origin
2283
2283
  */
2284
2284
  "perspective-origin": [{
2285
- "perspective-origin": T()
2285
+ "perspective-origin": _()
2286
2286
  }],
2287
2287
  /**
2288
2288
  * Rotate
2289
2289
  * @see https://tailwindcss.com/docs/rotate
2290
2290
  */
2291
2291
  rotate: [{
2292
- rotate: se()
2292
+ rotate: ne()
2293
2293
  }],
2294
2294
  /**
2295
2295
  * Rotate X
2296
2296
  * @see https://tailwindcss.com/docs/rotate
2297
2297
  */
2298
2298
  "rotate-x": [{
2299
- "rotate-x": se()
2299
+ "rotate-x": ne()
2300
2300
  }],
2301
2301
  /**
2302
2302
  * Rotate Y
2303
2303
  * @see https://tailwindcss.com/docs/rotate
2304
2304
  */
2305
2305
  "rotate-y": [{
2306
- "rotate-y": se()
2306
+ "rotate-y": ne()
2307
2307
  }],
2308
2308
  /**
2309
2309
  * Rotate Z
2310
2310
  * @see https://tailwindcss.com/docs/rotate
2311
2311
  */
2312
2312
  "rotate-z": [{
2313
- "rotate-z": se()
2313
+ "rotate-z": ne()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Scale
2317
2317
  * @see https://tailwindcss.com/docs/scale
2318
2318
  */
2319
2319
  scale: [{
2320
- scale: ne()
2320
+ scale: se()
2321
2321
  }],
2322
2322
  /**
2323
2323
  * Scale X
2324
2324
  * @see https://tailwindcss.com/docs/scale
2325
2325
  */
2326
2326
  "scale-x": [{
2327
- "scale-x": ne()
2327
+ "scale-x": se()
2328
2328
  }],
2329
2329
  /**
2330
2330
  * Scale Y
2331
2331
  * @see https://tailwindcss.com/docs/scale
2332
2332
  */
2333
2333
  "scale-y": [{
2334
- "scale-y": ne()
2334
+ "scale-y": se()
2335
2335
  }],
2336
2336
  /**
2337
2337
  * Scale Z
2338
2338
  * @see https://tailwindcss.com/docs/scale
2339
2339
  */
2340
2340
  "scale-z": [{
2341
- "scale-z": ne()
2341
+ "scale-z": se()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Scale 3D
@@ -2371,14 +2371,14 @@ const Xe = (e, o) => {
2371
2371
  * @see https://tailwindcss.com/docs/transform
2372
2372
  */
2373
2373
  transform: [{
2374
- transform: [a, n, "", "none", "gpu", "cpu"]
2374
+ transform: [l, i, "", "none", "gpu", "cpu"]
2375
2375
  }],
2376
2376
  /**
2377
2377
  * Transform Origin
2378
2378
  * @see https://tailwindcss.com/docs/transform-origin
2379
2379
  */
2380
2380
  "transform-origin": [{
2381
- origin: T()
2381
+ origin: _()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Transform Style
@@ -2456,7 +2456,7 @@ const Xe = (e, o) => {
2456
2456
  * @see https://tailwindcss.com/docs/cursor
2457
2457
  */
2458
2458
  cursor: [{
2459
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", a, n]
2459
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l, i]
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Field Sizing
@@ -2678,7 +2678,7 @@ const Xe = (e, o) => {
2678
2678
  * @see https://tailwindcss.com/docs/will-change
2679
2679
  */
2680
2680
  "will-change": [{
2681
- "will-change": ["auto", "scroll", "contents", "transform", a, n]
2681
+ "will-change": ["auto", "scroll", "contents", "transform", l, i]
2682
2682
  }],
2683
2683
  // -----------
2684
2684
  // --- SVG ---
@@ -2695,7 +2695,7 @@ const Xe = (e, o) => {
2695
2695
  * @see https://tailwindcss.com/docs/stroke-width
2696
2696
  */
2697
2697
  "stroke-w": [{
2698
- stroke: [g, Q, Y, pe]
2698
+ stroke: [b, Q, Y, fe]
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Stroke
@@ -2771,137 +2771,253 @@ const Xe = (e, o) => {
2771
2771
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
2772
  };
2773
2773
  }, Or = /* @__PURE__ */ gr(Gr);
2774
- function L(...e) {
2774
+ function N(...e) {
2775
2775
  return Or(qe(e));
2776
2776
  }
2777
2777
  const jr = {
2778
2778
  purple: "bg-purple-500",
2779
2779
  green: "bg-green-500",
2780
2780
  blue: "bg-blue-500",
2781
- yellow: "bg-yellow-500",
2781
+ yellow: "bg-yellow-400 !text-yellow-900",
2782
2782
  red: "bg-red-500"
2783
2783
  }, Br = ({
2784
2784
  id: e,
2785
2785
  title: o,
2786
2786
  price: r,
2787
2787
  periodLabel: t,
2788
- features: s,
2789
- isSelected: l,
2790
- onSelect: i,
2788
+ features: n,
2789
+ isSelected: s,
2790
+ onSelect: a,
2791
2791
  topBadge: m,
2792
2792
  discountBadge: c,
2793
- premiumCallout: f,
2794
- bottomNote: k,
2795
- introPriceNote: v,
2796
- isBestValue: C = !1,
2797
- className: x,
2798
- children: A,
2799
- disabled: z = !1,
2800
- ariaLabel: N
2793
+ premiumCallout: p,
2794
+ bottomNote: y,
2795
+ introPriceNote: C,
2796
+ isBestValue: T = !1,
2797
+ ctaButton: x,
2798
+ className: R,
2799
+ children: P,
2800
+ disabled: w = !1,
2801
+ ariaLabel: L
2801
2802
  }) => {
2802
- const G = l ? C ? "border-purple-500 bg-purple-50 dark:bg-purple-900/20 shadow-lg" : "border-blue-500 bg-blue-50 dark:bg-blue-900/20 shadow-lg" : "border-gray-200 dark:border-gray-700 hover:border-gray-300 hover:shadow-md", F = () => {
2803
- z || i();
2804
- }, V = (w) => {
2805
- !z && (w.key === "Enter" || w.key === " ") && (w.preventDefault(), i());
2803
+ const I = !!x, V = s ? "bg-blue-600 text-white ring-4 ring-blue-600 ring-offset-4 ring-offset-white dark:ring-offset-gray-900 border-transparent" : "bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600 hover:shadow-md", z = () => {
2804
+ !w && !I && a();
2805
+ }, _ = (k) => {
2806
+ !w && !I && (k.key === "Enter" || k.key === " ") && (k.preventDefault(), a());
2807
+ }, G = (k) => {
2808
+ k.stopPropagation(), x?.onClick && x.onClick();
2806
2809
  };
2807
- return /* @__PURE__ */ I(
2810
+ return /* @__PURE__ */ D(
2808
2811
  "div",
2809
2812
  {
2810
- className: L(
2811
- "relative border-2 rounded-xl p-6 transition-all flex flex-col",
2812
- z ? "opacity-50 cursor-not-allowed" : "cursor-pointer",
2813
- G,
2814
- x
2813
+ className: N(
2814
+ "relative rounded-2xl p-6 transition-all flex flex-col",
2815
+ w ? "opacity-50 cursor-not-allowed" : I ? "cursor-default" : "cursor-pointer",
2816
+ V,
2817
+ R
2815
2818
  ),
2816
- onClick: F,
2817
- onKeyDown: V,
2818
- role: "radio",
2819
- "aria-checked": l,
2820
- "aria-label": N || `${o} - ${r}${t || ""}`,
2821
- "aria-disabled": z,
2822
- tabIndex: z ? -1 : 0,
2819
+ onClick: z,
2820
+ onKeyDown: _,
2821
+ role: I ? "article" : "radio",
2822
+ "aria-checked": I ? void 0 : s,
2823
+ "aria-label": L || `${o} - ${r}${t || ""}`,
2824
+ "aria-disabled": w,
2825
+ tabIndex: I || w ? -1 : 0,
2823
2826
  children: [
2824
- m && /* @__PURE__ */ b("div", { className: "absolute -top-3 left-1/2 transform -translate-x-1/2", children: /* @__PURE__ */ b(
2827
+ m && /* @__PURE__ */ g("div", { className: "absolute -top-3 left-1/2 transform -translate-x-1/2", children: /* @__PURE__ */ g(
2825
2828
  "span",
2826
2829
  {
2827
- className: L(
2830
+ className: N(
2828
2831
  jr[m.color],
2829
2832
  "text-white px-3 py-1 rounded-full text-sm font-semibold shadow-lg whitespace-nowrap"
2830
2833
  ),
2831
2834
  children: m.text
2832
2835
  }
2833
2836
  ) }),
2834
- /* @__PURE__ */ I("div", { className: "flex flex-col flex-grow", children: [
2835
- /* @__PURE__ */ I("div", { className: "text-center mb-6", children: [
2836
- /* @__PURE__ */ b("h3", { className: L(be.heading.h4(), "mb-2"), children: o }),
2837
- /* @__PURE__ */ I("div", { className: "mb-3", children: [
2838
- /* @__PURE__ */ b(
2837
+ /* @__PURE__ */ D("div", { className: "flex flex-col flex-grow", children: [
2838
+ /* @__PURE__ */ D("div", { className: "text-center mb-6", children: [
2839
+ /* @__PURE__ */ g(
2840
+ "h3",
2841
+ {
2842
+ className: N(
2843
+ be.heading.h4(),
2844
+ "mb-2",
2845
+ s ? "text-white" : ""
2846
+ ),
2847
+ children: o
2848
+ }
2849
+ ),
2850
+ /* @__PURE__ */ D("div", { className: "mb-3", children: [
2851
+ /* @__PURE__ */ g(
2839
2852
  "span",
2840
2853
  {
2841
- className: L(
2854
+ className: N(
2842
2855
  "text-4xl font-bold",
2843
- C ? "text-purple-600 dark:text-purple-400" : "text-blue-600 dark:text-blue-400"
2856
+ s ? "text-white" : "text-gray-900 dark:text-gray-100"
2844
2857
  ),
2845
2858
  children: r
2846
2859
  }
2847
2860
  ),
2848
- t && /* @__PURE__ */ b("span", { className: "text-gray-500 dark:text-gray-400 text-lg", children: t })
2861
+ t && /* @__PURE__ */ g(
2862
+ "span",
2863
+ {
2864
+ className: N(
2865
+ "text-lg",
2866
+ s ? "text-blue-100" : "text-gray-500 dark:text-gray-400"
2867
+ ),
2868
+ children: t
2869
+ }
2870
+ )
2849
2871
  ] }),
2850
- c && /* @__PURE__ */ b(
2872
+ c && /* @__PURE__ */ g(
2851
2873
  "div",
2852
2874
  {
2853
- className: L(
2875
+ className: N(
2854
2876
  "inline-flex items-center px-2 py-1 rounded-full text-sm font-semibold",
2855
- c.isBestValue ? "bg-purple-100 text-purple-700 dark:bg-purple-900/50 dark:text-purple-300" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
2877
+ s ? "bg-blue-500 text-white" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
2856
2878
  ),
2857
2879
  children: c.text
2858
2880
  }
2859
2881
  )
2860
2882
  ] }),
2861
- A,
2862
- s.length > 0 && /* @__PURE__ */ b("div", { className: "space-y-3 mb-6 flex-grow", children: s.map((w, T) => /* @__PURE__ */ I("div", { className: "flex items-start", children: [
2863
- /* @__PURE__ */ b(
2864
- "span",
2883
+ P,
2884
+ n.length > 0 && /* @__PURE__ */ g("div", { className: "space-y-3 mb-6 flex-grow", children: n.map((k, u) => /* @__PURE__ */ D("div", { className: "flex items-start", children: [
2885
+ /* @__PURE__ */ g(
2886
+ "svg",
2865
2887
  {
2866
- className: L(
2867
- "text-lg mr-3 flex-shrink-0",
2868
- C ? "text-purple-500" : "text-green-500"
2888
+ className: N(
2889
+ "w-5 h-5 mr-3 flex-shrink-0",
2890
+ s ? "text-blue-200" : "text-green-500"
2869
2891
  ),
2870
- children: ""
2892
+ fill: "none",
2893
+ stroke: "currentColor",
2894
+ viewBox: "0 0 24 24",
2895
+ children: /* @__PURE__ */ g(
2896
+ "path",
2897
+ {
2898
+ strokeLinecap: "round",
2899
+ strokeLinejoin: "round",
2900
+ strokeWidth: 2,
2901
+ d: "M5 13l4 4L19 7"
2902
+ }
2903
+ )
2871
2904
  }
2872
2905
  ),
2873
- /* @__PURE__ */ b("span", { className: "text-sm text-gray-700 dark:text-gray-300 text-left", children: w.replace(/^✓\s*/, "") })
2874
- ] }, T)) }),
2875
- f && /* @__PURE__ */ I("div", { className: "bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20 rounded-lg p-4 mb-4", children: [
2876
- /* @__PURE__ */ b("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ b("span", { className: "text-purple-600 dark:text-purple-400 font-semibold text-sm", children: f.title }) }),
2877
- /* @__PURE__ */ b("ul", { className: "text-xs text-gray-600 dark:text-gray-400 space-y-1", children: f.features.map((w, T) => /* @__PURE__ */ I("li", { children: [
2878
- " ",
2879
- w
2880
- ] }, T)) })
2881
- ] }),
2882
- k && /* @__PURE__ */ b(
2906
+ /* @__PURE__ */ g(
2907
+ "span",
2908
+ {
2909
+ className: N(
2910
+ "text-sm text-left",
2911
+ s ? "text-white" : "text-gray-700 dark:text-gray-300"
2912
+ ),
2913
+ children: k.replace(/^✓\s*/, "")
2914
+ }
2915
+ )
2916
+ ] }, u)) }),
2917
+ p && /* @__PURE__ */ D(
2918
+ "div",
2919
+ {
2920
+ className: N(
2921
+ "rounded-lg p-4 mb-4",
2922
+ s ? "bg-blue-500/30" : "bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20"
2923
+ ),
2924
+ children: [
2925
+ /* @__PURE__ */ g("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ g(
2926
+ "span",
2927
+ {
2928
+ className: N(
2929
+ "font-semibold text-sm",
2930
+ s ? "text-white" : "text-purple-600 dark:text-purple-400"
2931
+ ),
2932
+ children: p.title
2933
+ }
2934
+ ) }),
2935
+ /* @__PURE__ */ g(
2936
+ "ul",
2937
+ {
2938
+ className: N(
2939
+ "text-xs space-y-1",
2940
+ s ? "text-blue-100" : "text-gray-600 dark:text-gray-400"
2941
+ ),
2942
+ children: p.features.map((k, u) => /* @__PURE__ */ D("li", { children: [
2943
+ "• ",
2944
+ k
2945
+ ] }, u))
2946
+ }
2947
+ )
2948
+ ]
2949
+ }
2950
+ ),
2951
+ y && /* @__PURE__ */ g(
2883
2952
  "div",
2884
2953
  {
2885
- className: L(
2954
+ className: N(
2886
2955
  "text-center text-sm font-medium mb-4",
2887
- C ? "text-purple-600 dark:text-purple-400" : "text-blue-600 dark:text-blue-400"
2956
+ s ? "text-blue-100" : "text-blue-600 dark:text-blue-400"
2888
2957
  ),
2889
- children: k
2958
+ children: y
2890
2959
  }
2891
2960
  )
2892
2961
  ] }),
2893
- /* @__PURE__ */ I("div", { className: "mt-auto space-y-4", children: [
2894
- v && /* @__PURE__ */ b("div", { className: "p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg", children: /* @__PURE__ */ b("p", { className: "text-sm text-yellow-700 dark:text-yellow-300 font-semibold text-center", children: v }) }),
2895
- /* @__PURE__ */ b("div", { className: "flex justify-center", children: /* @__PURE__ */ b(
2962
+ /* @__PURE__ */ D("div", { className: "mt-auto space-y-4", children: [
2963
+ C && /* @__PURE__ */ g(
2896
2964
  "div",
2897
2965
  {
2898
- className: L(
2899
- "w-5 h-5 rounded-full border-2 flex items-center justify-center",
2900
- l ? C ? "border-purple-600 bg-purple-600" : "border-blue-600 bg-blue-600" : "border-gray-300 dark:border-gray-600"
2966
+ className: N(
2967
+ "p-3 rounded-lg",
2968
+ s ? "bg-blue-500/30" : "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800"
2901
2969
  ),
2902
- children: l && /* @__PURE__ */ b("div", { className: "w-2 h-2 rounded-full bg-white" })
2970
+ children: /* @__PURE__ */ g(
2971
+ "p",
2972
+ {
2973
+ className: N(
2974
+ "text-sm font-semibold text-center",
2975
+ s ? "text-white" : "text-yellow-700 dark:text-yellow-300"
2976
+ ),
2977
+ children: C
2978
+ }
2979
+ )
2903
2980
  }
2904
- ) })
2981
+ ),
2982
+ I ? (
2983
+ // CTA Button - like pricing page
2984
+ x.href ? /* @__PURE__ */ g(
2985
+ "a",
2986
+ {
2987
+ href: x.href,
2988
+ className: N(
2989
+ "block w-full py-3 font-semibold rounded-lg text-center transition-colors",
2990
+ s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700"
2991
+ ),
2992
+ onClick: (k) => k.stopPropagation(),
2993
+ children: x.label
2994
+ }
2995
+ ) : /* @__PURE__ */ g(
2996
+ "button",
2997
+ {
2998
+ onClick: G,
2999
+ disabled: w,
3000
+ className: N(
3001
+ "w-full py-3 font-semibold rounded-lg transition-colors",
3002
+ s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700",
3003
+ w && "opacity-50 cursor-not-allowed"
3004
+ ),
3005
+ children: x.label
3006
+ }
3007
+ )
3008
+ ) : (
3009
+ // Radio button indicator (Style 1)
3010
+ /* @__PURE__ */ g("div", { className: "flex justify-center", children: /* @__PURE__ */ g(
3011
+ "div",
3012
+ {
3013
+ className: N(
3014
+ "w-5 h-5 rounded-full border-2 flex items-center justify-center",
3015
+ s ? "border-white bg-white" : "border-gray-300 dark:border-gray-600"
3016
+ ),
3017
+ children: s && /* @__PURE__ */ g("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
3018
+ }
3019
+ ) })
3020
+ )
2905
3021
  ] })
2906
3022
  ]
2907
3023
  }
@@ -2910,61 +3026,62 @@ const jr = {
2910
3026
  title: e,
2911
3027
  children: o,
2912
3028
  error: r,
2913
- currentStatus: t,
3029
+ variant: t = "selection",
3030
+ currentStatus: n,
2914
3031
  primaryAction: s,
2915
- secondaryAction: l,
2916
- minTileWidth: i = 240,
2917
- className: m,
2918
- headerContent: c,
2919
- aboveProducts: f,
2920
- footerContent: k,
2921
- currentStatusLabel: v = "Current Status"
3032
+ secondaryAction: a,
3033
+ minTileWidth: m = 240,
3034
+ className: c,
3035
+ headerContent: p,
3036
+ aboveProducts: y,
3037
+ footerContent: C,
3038
+ currentStatusLabel: T = "Current Status"
2922
3039
  }) => {
2923
- const C = {
3040
+ const x = t === "selection" && s, R = {
2924
3041
  display: "grid",
2925
- gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${i}px), 1fr))`,
3042
+ gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${m}px), 1fr))`,
2926
3043
  gap: "1.5rem"
2927
3044
  };
2928
- return /* @__PURE__ */ b(We, { className: m, children: /* @__PURE__ */ I(Ue, { className: "pt-6", children: [
2929
- c,
2930
- t && /* @__PURE__ */ I($e, { children: [
2931
- /* @__PURE__ */ b("h2", { className: L(be.heading.h3(), "mb-4"), children: v }),
2932
- t.isActive ? /* @__PURE__ */ I("div", { className: "bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6", children: [
2933
- /* @__PURE__ */ I("div", { className: "flex items-center mb-2", children: [
2934
- /* @__PURE__ */ b("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
2935
- /* @__PURE__ */ b("span", { className: "font-semibold text-green-800 dark:text-green-300", children: t.activeContent?.title || "Active Subscription" })
3045
+ return /* @__PURE__ */ g(We, { className: c, children: /* @__PURE__ */ D(Ue, { className: "pt-6", children: [
3046
+ p,
3047
+ n && /* @__PURE__ */ D($e, { children: [
3048
+ /* @__PURE__ */ g("h2", { className: N(be.heading.h3(), "mb-4"), children: T }),
3049
+ n.isActive ? /* @__PURE__ */ D("div", { className: "bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6", children: [
3050
+ /* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
3051
+ /* @__PURE__ */ g("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
3052
+ /* @__PURE__ */ g("span", { className: "font-semibold text-green-800 dark:text-green-300", children: n.activeContent?.title || "Active Subscription" })
2936
3053
  ] }),
2937
- t.activeContent?.fields && t.activeContent.fields.length > 0 && /* @__PURE__ */ b("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: t.activeContent.fields.map(
2938
- (x, A) => /* @__PURE__ */ I("div", { children: [
2939
- /* @__PURE__ */ b("p", { className: "text-sm text-green-600 dark:text-green-400", children: x.label }),
2940
- /* @__PURE__ */ b("p", { className: "font-semibold text-green-800 dark:text-green-300", children: x.value })
2941
- ] }, A)
3054
+ n.activeContent?.fields && n.activeContent.fields.length > 0 && /* @__PURE__ */ g("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map(
3055
+ (P, w) => /* @__PURE__ */ D("div", { children: [
3056
+ /* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children: P.label }),
3057
+ /* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children: P.value })
3058
+ ] }, w)
2942
3059
  ) })
2943
- ] }) : /* @__PURE__ */ I("div", { className: "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-6", children: [
2944
- /* @__PURE__ */ I("div", { className: "flex items-center mb-2", children: [
2945
- /* @__PURE__ */ b("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
2946
- /* @__PURE__ */ b("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: t.inactiveContent?.title || "No Active Subscription" })
3060
+ ] }) : /* @__PURE__ */ D("div", { className: "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-6", children: [
3061
+ /* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
3062
+ /* @__PURE__ */ g("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
3063
+ /* @__PURE__ */ g("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: n.inactiveContent?.title || "No Active Subscription" })
2947
3064
  ] }),
2948
- t.inactiveContent?.message && /* @__PURE__ */ b("p", { className: "text-yellow-700 dark:text-yellow-400", children: t.inactiveContent.message })
3065
+ n.inactiveContent?.message && /* @__PURE__ */ g("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
2949
3066
  ] })
2950
3067
  ] }),
2951
- /* @__PURE__ */ b("h2", { className: L(be.heading.h3(), "mb-4"), children: e }),
2952
- f,
2953
- /* @__PURE__ */ b("div", { style: C, children: o }),
2954
- k,
2955
- r && /* @__PURE__ */ b("div", { className: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mt-6", children: /* @__PURE__ */ b("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
2956
- /* @__PURE__ */ I("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
2957
- l && /* @__PURE__ */ b(
3068
+ /* @__PURE__ */ g("h2", { className: N(be.heading.h3(), "mb-4"), children: e }),
3069
+ y,
3070
+ /* @__PURE__ */ g("div", { style: R, children: o }),
3071
+ C,
3072
+ r && /* @__PURE__ */ g("div", { className: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mt-6", children: /* @__PURE__ */ g("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
3073
+ x && /* @__PURE__ */ D("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
3074
+ a && /* @__PURE__ */ g(
2958
3075
  ve,
2959
3076
  {
2960
- onClick: l.onClick,
2961
- disabled: l.disabled || l.loading,
3077
+ onClick: a.onClick,
3078
+ disabled: a.disabled || a.loading,
2962
3079
  variant: "outline",
2963
3080
  className: "sm:flex-shrink-0",
2964
- children: l.label
3081
+ children: a.label
2965
3082
  }
2966
3083
  ),
2967
- /* @__PURE__ */ b(
3084
+ /* @__PURE__ */ g(
2968
3085
  ve,
2969
3086
  {
2970
3087
  onClick: s.onClick,
@@ -2981,38 +3098,38 @@ function Kr({
2981
3098
  value: o,
2982
3099
  onChange: r,
2983
3100
  className: t,
2984
- disabled: s = !1,
2985
- size: l = "md"
3101
+ disabled: n = !1,
3102
+ size: s = "md"
2986
3103
  }) {
2987
- const i = {
3104
+ const a = {
2988
3105
  sm: "px-3 py-1.5 text-xs",
2989
3106
  md: "px-4 py-2 text-sm",
2990
3107
  lg: "px-6 py-3 text-base"
2991
3108
  };
2992
- return /* @__PURE__ */ b(
3109
+ return /* @__PURE__ */ g(
2993
3110
  "div",
2994
3111
  {
2995
- className: L(
3112
+ className: N(
2996
3113
  "inline-flex rounded-lg bg-gray-100 dark:bg-gray-800 p-1",
2997
- s && "opacity-50",
3114
+ n && "opacity-50",
2998
3115
  t
2999
3116
  ),
3000
3117
  role: "radiogroup",
3001
3118
  children: e.map((m) => {
3002
3119
  const c = o === m.value;
3003
- return /* @__PURE__ */ b(
3120
+ return /* @__PURE__ */ g(
3004
3121
  "button",
3005
3122
  {
3006
3123
  type: "button",
3007
3124
  role: "radio",
3008
3125
  "aria-checked": c,
3009
- disabled: s,
3010
- onClick: () => !s && r(m.value),
3011
- className: L(
3012
- i[l],
3126
+ disabled: n,
3127
+ onClick: () => !n && r(m.value),
3128
+ className: N(
3129
+ a[s],
3013
3130
  "font-medium rounded-md transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
3014
3131
  c ? "bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white",
3015
- s && "cursor-not-allowed"
3132
+ n && "cursor-not-allowed"
3016
3133
  ),
3017
3134
  children: m.label
3018
3135
  },
@@ -3022,9 +3139,9 @@ function Kr({
3022
3139
  }
3023
3140
  );
3024
3141
  }
3025
- let fe = null;
3026
- const Lr = async () => (fe || (fe = await import("@revenuecat/purchases-js")), fe);
3027
- let R = null;
3142
+ let pe = null;
3143
+ const Lr = async () => (pe || (pe = await import("@revenuecat/purchases-js")), pe);
3144
+ let M = null;
3028
3145
  const _r = (e) => {
3029
3146
  const o = e.rcBillingProduct, r = o?.defaultSubscriptionOption;
3030
3147
  return {
@@ -3060,165 +3177,165 @@ const _r = (e) => {
3060
3177
  entitlementId: o,
3061
3178
  userEmail: r,
3062
3179
  onError: t,
3063
- onPurchaseSuccess: s,
3064
- children: l
3180
+ onPurchaseSuccess: n,
3181
+ children: s
3065
3182
  }) => {
3066
- const [i, m] = B([]), [c, f] = B(null), [k, v] = B(!1), [C, x] = B(null), [A, z] = B(!1), [N, G] = B(null), [F, V] = B(null), w = !e || e === "your_revenuecat_api_key_here", T = W(() => {
3067
- m([]), f(null), V(null), x(null), z(!1), G(null), R = null;
3068
- }, []), O = W(async () => {
3069
- if (R)
3183
+ const [a, m] = B([]), [c, p] = B(null), [y, C] = B(!1), [T, x] = B(null), [R, P] = B(!1), [w, L] = B(null), [I, V] = B(null), z = !e || e === "your_revenuecat_api_key_here", _ = W(() => {
3184
+ m([]), p(null), V(null), x(null), P(!1), L(null), M = null;
3185
+ }, []), G = W(async () => {
3186
+ if (M)
3070
3187
  try {
3071
- const p = await R.getOfferings();
3072
- if (p.current) {
3073
- V(p.current);
3074
- const h = p.current.availablePackages.map(
3188
+ const f = await M.getOfferings();
3189
+ if (f.current) {
3190
+ V(f.current);
3191
+ const h = f.current.availablePackages.map(
3075
3192
  _r
3076
3193
  );
3077
3194
  m(h);
3078
3195
  }
3079
- } catch (p) {
3080
- const h = p instanceof Error ? p.message : "Failed to load offerings";
3081
- x(h), t?.(p instanceof Error ? p : new Error(h));
3196
+ } catch (f) {
3197
+ const h = f instanceof Error ? f.message : "Failed to load offerings";
3198
+ x(h), t?.(f instanceof Error ? f : new Error(h));
3082
3199
  }
3083
- }, [t]), j = W(async () => {
3084
- if (R)
3200
+ }, [t]), k = W(async () => {
3201
+ if (M)
3085
3202
  try {
3086
- const p = await R.getCustomerInfo(), h = ge(p, o);
3087
- f(h.isActive ? h : null);
3088
- } catch (p) {
3089
- const h = p instanceof Error ? p.message : "Failed to load subscription status";
3090
- x(h), t?.(p instanceof Error ? p : new Error(h));
3203
+ const f = await M.getCustomerInfo(), h = ge(f, o);
3204
+ p(h.isActive ? h : null);
3205
+ } catch (f) {
3206
+ const h = f instanceof Error ? f.message : "Failed to load subscription status";
3207
+ x(h), t?.(f instanceof Error ? f : new Error(h));
3091
3208
  }
3092
3209
  }, [o, t]), u = W(
3093
- async (p, h) => {
3094
- if (N && N !== p && T(), !(A && N === p))
3210
+ async (f, h) => {
3211
+ if (w && w !== f && _(), !(R && w === f))
3095
3212
  try {
3096
- if (v(!0), x(null), w)
3213
+ if (C(!0), x(null), z)
3097
3214
  console.warn(
3098
3215
  "[SubscriptionProvider] RevenueCat API key not configured"
3099
- ), m([]), f(null);
3216
+ ), m([]), p(null);
3100
3217
  else {
3101
- const y = await Lr(), D = {
3218
+ const v = await Lr(), O = {
3102
3219
  apiKey: e,
3103
- appUserId: p
3220
+ appUserId: f
3104
3221
  };
3105
- R = y.Purchases.configure(D);
3222
+ M = v.Purchases.configure(O);
3106
3223
  const d = h || r;
3107
- if (d && R)
3224
+ if (d && M)
3108
3225
  try {
3109
- await R.setAttributes({ email: d });
3226
+ await M.setAttributes({ email: d });
3110
3227
  } catch {
3111
3228
  }
3112
- await Promise.all([O(), j()]);
3229
+ await Promise.all([G(), k()]);
3113
3230
  }
3114
- G(p), z(!0);
3115
- } catch (y) {
3116
- const D = y instanceof Error ? y.message : "Failed to initialize";
3117
- x(D), f(null), m([]), t?.(y instanceof Error ? y : new Error(D));
3231
+ L(f), P(!0);
3232
+ } catch (v) {
3233
+ const O = v instanceof Error ? v.message : "Failed to initialize";
3234
+ x(O), p(null), m([]), t?.(v instanceof Error ? v : new Error(O));
3118
3235
  } finally {
3119
- v(!1);
3236
+ C(!1);
3120
3237
  }
3121
3238
  },
3122
3239
  [
3123
- N,
3124
- A,
3125
3240
  w,
3241
+ R,
3242
+ z,
3126
3243
  e,
3127
3244
  r,
3128
- O,
3129
- j,
3245
+ G,
3246
+ k,
3130
3247
  t,
3131
- T
3248
+ _
3132
3249
  ]
3133
- ), _ = W(
3134
- async (p) => {
3250
+ ), F = W(
3251
+ async (f) => {
3135
3252
  try {
3136
- if (v(!0), x(null), w) {
3253
+ if (C(!0), x(null), z) {
3137
3254
  await new Promise((te) => setTimeout(te, 2e3));
3138
3255
  const q = {
3139
3256
  isActive: !0,
3140
3257
  expirationDate: new Date(Date.now() + 365 * 24 * 60 * 60 * 1e3),
3141
3258
  purchaseDate: /* @__PURE__ */ new Date(),
3142
- productIdentifier: p,
3259
+ productIdentifier: f,
3143
3260
  willRenew: !0
3144
3261
  };
3145
- return f(q), s?.(p), !0;
3262
+ return p(q), n?.(f), !0;
3146
3263
  }
3147
- if (!R || !F)
3264
+ if (!M || !I)
3148
3265
  throw new Error("Subscription service not initialized");
3149
- const y = F.availablePackages.find(
3150
- (q) => q.identifier === p
3266
+ const v = I.availablePackages.find(
3267
+ (q) => q.identifier === f
3151
3268
  );
3152
- if (!y)
3153
- throw new Error(`Package not found: ${p}`);
3154
- const D = await R.purchase({
3155
- rcPackage: y,
3269
+ if (!v)
3270
+ throw new Error(`Package not found: ${f}`);
3271
+ const O = await M.purchase({
3272
+ rcPackage: v,
3156
3273
  ...r ? { customerEmail: r } : {}
3157
- }), d = ge(D.customerInfo, o);
3158
- return f(d.isActive ? d : null), d.isActive && s?.(p), d.isActive;
3274
+ }), d = ge(O.customerInfo, o);
3275
+ return p(d.isActive ? d : null), d.isActive && n?.(f), d.isActive;
3159
3276
  } catch (h) {
3160
- const y = h instanceof Error ? h.message : "Purchase failed";
3161
- return x(y), t?.(h instanceof Error ? h : new Error(y)), !1;
3277
+ const v = h instanceof Error ? h.message : "Purchase failed";
3278
+ return x(v), t?.(h instanceof Error ? h : new Error(v)), !1;
3162
3279
  } finally {
3163
- v(!1);
3280
+ C(!1);
3164
3281
  }
3165
3282
  },
3166
3283
  [
3167
- w,
3168
- F,
3284
+ z,
3285
+ I,
3169
3286
  r,
3170
3287
  o,
3171
- s,
3288
+ n,
3172
3289
  t
3173
3290
  ]
3174
3291
  ), Z = W(async () => {
3175
3292
  try {
3176
- if (v(!0), x(null), w)
3177
- return await new Promise((y) => setTimeout(y, 1e3)), x("No previous purchases found"), !1;
3178
- if (!R)
3293
+ if (C(!0), x(null), z)
3294
+ return await new Promise((v) => setTimeout(v, 1e3)), x("No previous purchases found"), !1;
3295
+ if (!M)
3179
3296
  throw new Error("Subscription service not initialized");
3180
- const p = await R.getCustomerInfo(), h = ge(p, o);
3181
- return f(h.isActive ? h : null), h.isActive || x("No previous purchases found"), h.isActive;
3182
- } catch (p) {
3183
- const h = p instanceof Error ? p.message : "Restore failed";
3184
- return x(h), t?.(p instanceof Error ? p : new Error(h)), !1;
3297
+ const f = await M.getCustomerInfo(), h = ge(f, o);
3298
+ return p(h.isActive ? h : null), h.isActive || x("No previous purchases found"), h.isActive;
3299
+ } catch (f) {
3300
+ const h = f instanceof Error ? f.message : "Restore failed";
3301
+ return x(h), t?.(f instanceof Error ? f : new Error(h)), !1;
3185
3302
  } finally {
3186
- v(!1);
3303
+ C(!1);
3187
3304
  }
3188
- }, [w, o, t]), ee = W(async () => {
3189
- if (!w)
3305
+ }, [z, o, t]), ee = W(async () => {
3306
+ if (!z)
3190
3307
  try {
3191
- x(null), await Promise.all([j(), O()]);
3192
- } catch (p) {
3193
- const h = p instanceof Error ? p.message : "Refresh failed";
3194
- x(h), t?.(p instanceof Error ? p : new Error(h));
3308
+ x(null), await Promise.all([k(), G()]);
3309
+ } catch (f) {
3310
+ const h = f instanceof Error ? f.message : "Refresh failed";
3311
+ x(h), t?.(f instanceof Error ? f : new Error(h));
3195
3312
  }
3196
- }, [w, j, O, t]), K = W(() => {
3313
+ }, [z, k, G, t]), K = W(() => {
3197
3314
  x(null);
3198
3315
  }, []);
3199
3316
  Ye(() => {
3200
- if (!A || w || !R) return;
3201
- const p = setInterval(
3317
+ if (!R || z || !M) return;
3318
+ const f = setInterval(
3202
3319
  () => {
3203
- j().catch(() => {
3320
+ k().catch(() => {
3204
3321
  });
3205
3322
  },
3206
3323
  300 * 1e3
3207
3324
  );
3208
- return () => clearInterval(p);
3209
- }, [A, w, j]);
3325
+ return () => clearInterval(f);
3326
+ }, [R, z, k]);
3210
3327
  const re = {
3211
- products: i,
3328
+ products: a,
3212
3329
  currentSubscription: c,
3213
- isLoading: k,
3214
- error: C,
3330
+ isLoading: y,
3331
+ error: T,
3215
3332
  initialize: u,
3216
- purchase: _,
3333
+ purchase: F,
3217
3334
  restore: Z,
3218
3335
  refresh: ee,
3219
3336
  clearError: K
3220
3337
  };
3221
- return /* @__PURE__ */ b(Ve.Provider, { value: re, children: l });
3338
+ return /* @__PURE__ */ g(Ve.Provider, { value: re, children: s });
3222
3339
  }, Xr = () => {
3223
3340
  const e = Ke(Ve);
3224
3341
  if (!e)
@@ -3244,7 +3361,7 @@ const _r = (e) => {
3244
3361
  }
3245
3362
  }, Jr = () => {
3246
3363
  try {
3247
- R && (R.close(), R = null), Fr();
3364
+ M && (M.close(), M = null), Fr();
3248
3365
  } catch {
3249
3366
  }
3250
3367
  };
@@ -3255,6 +3372,6 @@ export {
3255
3372
  Br as SubscriptionTile,
3256
3373
  Fr as clearRevenueCatCheckoutSessions,
3257
3374
  Jr as closeRevenueCatInstance,
3258
- L as cn,
3375
+ N as cn,
3259
3376
  Xr as useSubscriptionContext
3260
3377
  };