@payai/x402-solana-react 2.0.2 → 2.0.3

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
@@ -1,141 +1,141 @@
1
- import { jsx as a, jsxs as m, Fragment as ve } from "react/jsx-runtime";
2
- import * as A from "react";
3
- import { useState as Y, useCallback as Se, useMemo as Ce, useRef as dt, useEffect as re } from "react";
4
- import { ConnectionProvider as mt, WalletProvider as ut, useWallet as gt } from "@solana/wallet-adapter-react";
5
- import { WalletModalProvider as ht, WalletMultiButton as bt } from "@solana/wallet-adapter-react-ui";
6
- import { WalletAdapterNetwork as Pe } from "@solana/wallet-adapter-base";
7
- import { PhantomWalletAdapter as pt, SolflareWalletAdapter as ft } from "@solana/wallet-adapter-wallets";
8
- import { Connection as Ge, PublicKey as Z, ComputeBudgetProgram as Be, TransactionMessage as xt, VersionedTransaction as kt, clusterApiUrl as wt } from "@solana/web3.js";
9
- import { getAssociatedTokenAddress as Ne, getAccount as vt, TOKEN_2022_PROGRAM_ID as Re, TOKEN_PROGRAM_ID as yt, getMint as Ft, createTransferCheckedInstruction as Ct } from "@solana/spl-token";
10
- function Nt(t) {
1
+ import { jsx as a, jsxs as m, Fragment as ye } from "react/jsx-runtime";
2
+ import * as T from "react";
3
+ import { useState as q, useCallback as Me, useMemo as Fe, useRef as gt, useEffect as re } from "react";
4
+ import { ConnectionProvider as ht, WalletProvider as bt, useWallet as pt } from "@solana/wallet-adapter-react";
5
+ import { WalletModalProvider as ft, WalletMultiButton as xt } from "@solana/wallet-adapter-react-ui";
6
+ import { WalletAdapterNetwork as Se } from "@solana/wallet-adapter-base";
7
+ import { PhantomWalletAdapter as kt, SolflareWalletAdapter as wt } from "@solana/wallet-adapter-wallets";
8
+ import { Connection as Ge, PublicKey as ee, ComputeBudgetProgram as Re, TransactionMessage as yt, VersionedTransaction as vt, clusterApiUrl as Ft } from "@solana/web3.js";
9
+ import { getAssociatedTokenAddress as Ce, getAccount as Ct, TOKEN_2022_PROGRAM_ID as Be, TOKEN_PROGRAM_ID as Nt, getMint as Et, createTransferCheckedInstruction as At } from "@solana/spl-token";
10
+ function Tt(t) {
11
11
  return t === "solana" ? "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" : "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
12
12
  }
13
- function Et(t) {
13
+ function Dt(t) {
14
14
  return t === "solana" ? `https://mainnet.helius-rpc.com/?api-key=${process.env.VITE_HELIUS_API_KEY}` : "https://api.devnet.solana.com";
15
15
  }
16
- async function At(t, o, r) {
16
+ async function Pt(t, o, r) {
17
17
  try {
18
- const n = r || Et(o), s = new Ge(n, "confirmed"), l = new Z(t), i = new Z(Nt(o)), u = await Ne(
18
+ const n = r || Dt(o), s = new Ge(n, "confirmed"), l = new ee(t), i = new ee(Tt(o)), u = await Ce(
19
19
  i,
20
20
  l
21
- ), g = await vt(s, u);
21
+ ), g = await Ct(s, u);
22
22
  return (Number(g.amount) / 1e6).toFixed(2);
23
23
  } catch (n) {
24
24
  return console.error("Error fetching USDC balance:", n), "0.00";
25
25
  }
26
26
  }
27
- function Ve(t) {
27
+ function Ke(t) {
28
28
  var o, r, n = "";
29
29
  if (typeof t == "string" || typeof t == "number") n += t;
30
30
  else if (typeof t == "object") if (Array.isArray(t)) {
31
31
  var s = t.length;
32
- for (o = 0; o < s; o++) t[o] && (r = Ve(t[o])) && (n && (n += " "), n += r);
32
+ for (o = 0; o < s; o++) t[o] && (r = Ke(t[o])) && (n && (n += " "), n += r);
33
33
  } else for (r in t) t[r] && (n && (n += " "), n += r);
34
34
  return n;
35
35
  }
36
- function Ke() {
37
- for (var t, o, r = 0, n = "", s = arguments.length; r < s; r++) (t = arguments[r]) && (o = Ve(t)) && (n && (n += " "), n += o);
36
+ function Ye() {
37
+ for (var t, o, r = 0, n = "", s = arguments.length; r < s; r++) (t = arguments[r]) && (o = Ke(t)) && (n && (n += " "), n += o);
38
38
  return n;
39
39
  }
40
- const Tt = (t, o) => {
40
+ const Mt = (t, o) => {
41
41
  const r = new Array(t.length + o.length);
42
42
  for (let n = 0; n < t.length; n++)
43
43
  r[n] = t[n];
44
44
  for (let n = 0; n < o.length; n++)
45
45
  r[t.length + n] = o[n];
46
46
  return r;
47
- }, Dt = (t, o) => ({
47
+ }, St = (t, o) => ({
48
48
  classGroupId: t,
49
49
  validator: o
50
50
  }), qe = (t = /* @__PURE__ */ new Map(), o = null, r) => ({
51
51
  nextPart: t,
52
52
  validators: o,
53
53
  classGroupId: r
54
- }), he = "-", Ie = [], Mt = "arbitrary..", St = (t) => {
55
- const o = Bt(t), {
54
+ }), he = "-", Ie = [], Rt = "arbitrary..", Bt = (t) => {
55
+ const o = zt(t), {
56
56
  conflictingClassGroups: r,
57
57
  conflictingClassGroupModifiers: n
58
58
  } = t;
59
59
  return {
60
60
  getClassGroupId: (i) => {
61
61
  if (i.startsWith("[") && i.endsWith("]"))
62
- return Pt(i);
62
+ return It(i);
63
63
  const u = i.split(he), g = u[0] === "" && u.length > 1 ? 1 : 0;
64
- return Ye(u, g, o);
64
+ return He(u, g, o);
65
65
  },
66
66
  getConflictingClassGroupIds: (i, u) => {
67
67
  if (u) {
68
- const g = n[i], p = r[i];
69
- return g ? p ? Tt(p, g) : g : p || Ie;
68
+ const g = n[i], h = r[i];
69
+ return g ? h ? Mt(h, g) : g : h || Ie;
70
70
  }
71
71
  return r[i] || Ie;
72
72
  }
73
73
  };
74
- }, Ye = (t, o, r) => {
74
+ }, He = (t, o, r) => {
75
75
  if (t.length - o === 0)
76
76
  return r.classGroupId;
77
77
  const s = t[o], l = r.nextPart.get(s);
78
78
  if (l) {
79
- const p = Ye(t, o + 1, l);
80
- if (p) return p;
79
+ const h = He(t, o + 1, l);
80
+ if (h) return h;
81
81
  }
82
82
  const i = r.validators;
83
83
  if (i === null)
84
84
  return;
85
85
  const u = o === 0 ? t.join(he) : t.slice(o).join(he), g = i.length;
86
- for (let p = 0; p < g; p++) {
87
- const k = i[p];
88
- if (k.validator(u))
89
- return k.classGroupId;
86
+ for (let h = 0; h < g; h++) {
87
+ const x = i[h];
88
+ if (x.validator(u))
89
+ return x.classGroupId;
90
90
  }
91
- }, Pt = (t) => t.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
91
+ }, It = (t) => t.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
92
92
  const o = t.slice(1, -1), r = o.indexOf(":"), n = o.slice(0, r);
93
- return n ? Mt + n : void 0;
94
- })(), Bt = (t) => {
93
+ return n ? Rt + n : void 0;
94
+ })(), zt = (t) => {
95
95
  const {
96
96
  theme: o,
97
97
  classGroups: r
98
98
  } = t;
99
- return Rt(r, o);
100
- }, Rt = (t, o) => {
99
+ return Lt(r, o);
100
+ }, Lt = (t, o) => {
101
101
  const r = qe();
102
102
  for (const n in t) {
103
103
  const s = t[n];
104
- Me(s, r, n, o);
104
+ De(s, r, n, o);
105
105
  }
106
106
  return r;
107
- }, Me = (t, o, r, n) => {
107
+ }, De = (t, o, r, n) => {
108
108
  const s = t.length;
109
109
  for (let l = 0; l < s; l++) {
110
110
  const i = t[l];
111
- It(i, o, r, n);
111
+ jt(i, o, r, n);
112
112
  }
113
- }, It = (t, o, r, n) => {
113
+ }, jt = (t, o, r, n) => {
114
114
  if (typeof t == "string") {
115
- zt(t, o, r);
115
+ Ut(t, o, r);
116
116
  return;
117
117
  }
118
118
  if (typeof t == "function") {
119
- Lt(t, o, r, n);
119
+ Ot(t, o, r, n);
120
120
  return;
121
121
  }
122
- jt(t, o, r, n);
123
- }, zt = (t, o, r) => {
124
- const n = t === "" ? o : He(o, t);
122
+ Wt(t, o, r, n);
123
+ }, Ut = (t, o, r) => {
124
+ const n = t === "" ? o : Xe(o, t);
125
125
  n.classGroupId = r;
126
- }, Lt = (t, o, r, n) => {
127
- if (Ut(t)) {
128
- Me(t(n), o, r, n);
126
+ }, Ot = (t, o, r, n) => {
127
+ if (_t(t)) {
128
+ De(t(n), o, r, n);
129
129
  return;
130
130
  }
131
- o.validators === null && (o.validators = []), o.validators.push(Dt(r, t));
132
- }, jt = (t, o, r, n) => {
131
+ o.validators === null && (o.validators = []), o.validators.push(St(r, t));
132
+ }, Wt = (t, o, r, n) => {
133
133
  const s = Object.entries(t), l = s.length;
134
134
  for (let i = 0; i < l; i++) {
135
135
  const [u, g] = s[i];
136
- Me(g, He(o, u), r, n);
136
+ De(g, Xe(o, u), r, n);
137
137
  }
138
- }, He = (t, o) => {
138
+ }, Xe = (t, o) => {
139
139
  let r = t;
140
140
  const n = o.split(he), s = n.length;
141
141
  for (let l = 0; l < s; l++) {
@@ -144,7 +144,7 @@ const Tt = (t, o) => {
144
144
  u || (u = qe(), r.nextPart.set(i, u)), r = u;
145
145
  }
146
146
  return r;
147
- }, Ut = (t) => "isThemeGetter" in t && t.isThemeGetter === !0, _t = (t) => {
147
+ }, _t = (t) => "isThemeGetter" in t && t.isThemeGetter === !0, $t = (t) => {
148
148
  if (t < 1)
149
149
  return {
150
150
  get: () => {
@@ -168,22 +168,22 @@ const Tt = (t, o) => {
168
168
  l in r ? r[l] = i : s(l, i);
169
169
  }
170
170
  };
171
- }, Ee = "!", ze = ":", $t = [], Le = (t, o, r, n, s) => ({
171
+ }, Ne = "!", ze = ":", Vt = [], Le = (t, o, r, n, s) => ({
172
172
  modifiers: t,
173
173
  hasImportantModifier: o,
174
174
  baseClassName: r,
175
175
  maybePostfixModifierPosition: n,
176
176
  isExternal: s
177
- }), Ot = (t) => {
177
+ }), Gt = (t) => {
178
178
  const {
179
179
  prefix: o,
180
180
  experimentalParseClassName: r
181
181
  } = t;
182
182
  let n = (s) => {
183
183
  const l = [];
184
- let i = 0, u = 0, g = 0, p;
185
- const k = s.length;
186
- for (let N = 0; N < k; N++) {
184
+ let i = 0, u = 0, g = 0, h;
185
+ const x = s.length;
186
+ for (let N = 0; N < x; N++) {
187
187
  const E = s[N];
188
188
  if (i === 0 && u === 0) {
189
189
  if (E === ze) {
@@ -191,27 +191,27 @@ const Tt = (t, o) => {
191
191
  continue;
192
192
  }
193
193
  if (E === "/") {
194
- p = N;
194
+ h = N;
195
195
  continue;
196
196
  }
197
197
  }
198
198
  E === "[" ? i++ : E === "]" ? i-- : E === "(" ? u++ : E === ")" && u--;
199
199
  }
200
200
  const w = l.length === 0 ? s : s.slice(g);
201
- let d = w, T = !1;
202
- w.endsWith(Ee) ? (d = w.slice(0, -1), T = !0) : (
201
+ let d = w, D = !1;
202
+ w.endsWith(Ne) ? (d = w.slice(0, -1), D = !0) : (
203
203
  /**
204
204
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
205
205
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
206
206
  */
207
- w.startsWith(Ee) && (d = w.slice(1), T = !0)
207
+ w.startsWith(Ne) && (d = w.slice(1), D = !0)
208
208
  );
209
- const M = p && p > g ? p - g : void 0;
210
- return Le(l, T, d, M);
209
+ const A = h && h > g ? h - g : void 0;
210
+ return Le(l, D, d, A);
211
211
  };
212
212
  if (o) {
213
213
  const s = o + ze, l = n;
214
- n = (i) => i.startsWith(s) ? l(i.slice(s.length)) : Le($t, !1, i, void 0, !0);
214
+ n = (i) => i.startsWith(s) ? l(i.slice(s.length)) : Le(Vt, !1, i, void 0, !0);
215
215
  }
216
216
  if (r) {
217
217
  const s = n;
@@ -221,7 +221,7 @@ const Tt = (t, o) => {
221
221
  });
222
222
  }
223
223
  return n;
224
- }, Wt = (t) => {
224
+ }, Kt = (t) => {
225
225
  const o = /* @__PURE__ */ new Map();
226
226
  return t.orderSensitiveModifiers.forEach((r, n) => {
227
227
  o.set(r, 1e6 + n);
@@ -234,96 +234,96 @@ const Tt = (t, o) => {
234
234
  }
235
235
  return s.length > 0 && (s.sort(), n.push(...s)), n;
236
236
  };
237
- }, Gt = (t) => ({
238
- cache: _t(t.cacheSize),
239
- parseClassName: Ot(t),
240
- sortModifiers: Wt(t),
241
- ...St(t)
242
- }), Vt = /\s+/, Kt = (t, o) => {
237
+ }, Yt = (t) => ({
238
+ cache: $t(t.cacheSize),
239
+ parseClassName: Gt(t),
240
+ sortModifiers: Kt(t),
241
+ ...Bt(t)
242
+ }), qt = /\s+/, Ht = (t, o) => {
243
243
  const {
244
244
  parseClassName: r,
245
245
  getClassGroupId: n,
246
246
  getConflictingClassGroupIds: s,
247
247
  sortModifiers: l
248
- } = o, i = [], u = t.trim().split(Vt);
248
+ } = o, i = [], u = t.trim().split(qt);
249
249
  let g = "";
250
- for (let p = u.length - 1; p >= 0; p -= 1) {
251
- const k = u[p], {
250
+ for (let h = u.length - 1; h >= 0; h -= 1) {
251
+ const x = u[h], {
252
252
  isExternal: w,
253
253
  modifiers: d,
254
- hasImportantModifier: T,
255
- baseClassName: M,
254
+ hasImportantModifier: D,
255
+ baseClassName: A,
256
256
  maybePostfixModifierPosition: N
257
- } = r(k);
257
+ } = r(x);
258
258
  if (w) {
259
- g = k + (g.length > 0 ? " " + g : g);
259
+ g = x + (g.length > 0 ? " " + g : g);
260
260
  continue;
261
261
  }
262
- let E = !!N, P = n(E ? M.substring(0, N) : M);
263
- if (!P) {
262
+ let E = !!N, S = n(E ? A.substring(0, N) : A);
263
+ if (!S) {
264
264
  if (!E) {
265
- g = k + (g.length > 0 ? " " + g : g);
265
+ g = x + (g.length > 0 ? " " + g : g);
266
266
  continue;
267
267
  }
268
- if (P = n(M), !P) {
269
- g = k + (g.length > 0 ? " " + g : g);
268
+ if (S = n(A), !S) {
269
+ g = x + (g.length > 0 ? " " + g : g);
270
270
  continue;
271
271
  }
272
272
  E = !1;
273
273
  }
274
- const I = d.length === 0 ? "" : d.length === 1 ? d[0] : l(d).join(":"), C = T ? I + Ee : I, y = C + P;
274
+ const B = d.length === 0 ? "" : d.length === 1 ? d[0] : l(d).join(":"), C = D ? B + Ne : B, y = C + S;
275
275
  if (i.indexOf(y) > -1)
276
276
  continue;
277
277
  i.push(y);
278
- const z = s(P, E);
279
- for (let L = 0; L < z.length; ++L) {
280
- const $ = z[L];
281
- i.push(C + $);
278
+ const I = s(S, E);
279
+ for (let P = 0; P < I.length; ++P) {
280
+ const W = I[P];
281
+ i.push(C + W);
282
282
  }
283
- g = k + (g.length > 0 ? " " + g : g);
283
+ g = x + (g.length > 0 ? " " + g : g);
284
284
  }
285
285
  return g;
286
- }, qt = (...t) => {
286
+ }, Xt = (...t) => {
287
287
  let o = 0, r, n, s = "";
288
288
  for (; o < t.length; )
289
- (r = t[o++]) && (n = Xe(r)) && (s && (s += " "), s += n);
289
+ (r = t[o++]) && (n = Je(r)) && (s && (s += " "), s += n);
290
290
  return s;
291
- }, Xe = (t) => {
291
+ }, Je = (t) => {
292
292
  if (typeof t == "string")
293
293
  return t;
294
294
  let o, r = "";
295
295
  for (let n = 0; n < t.length; n++)
296
- t[n] && (o = Xe(t[n])) && (r && (r += " "), r += o);
296
+ t[n] && (o = Je(t[n])) && (r && (r += " "), r += o);
297
297
  return r;
298
- }, Yt = (t, ...o) => {
298
+ }, Jt = (t, ...o) => {
299
299
  let r, n, s, l;
300
300
  const i = (g) => {
301
- const p = o.reduce((k, w) => w(k), t());
302
- return r = Gt(p), n = r.cache.get, s = r.cache.set, l = u, u(g);
301
+ const h = o.reduce((x, w) => w(x), t());
302
+ return r = Yt(h), n = r.cache.get, s = r.cache.set, l = u, u(g);
303
303
  }, u = (g) => {
304
- const p = n(g);
305
- if (p)
306
- return p;
307
- const k = Kt(g, r);
308
- return s(g, k), k;
304
+ const h = n(g);
305
+ if (h)
306
+ return h;
307
+ const x = Ht(g, r);
308
+ return s(g, x), x;
309
309
  };
310
- return l = i, (...g) => l(qt(...g));
311
- }, Ht = [], S = (t) => {
312
- const o = (r) => r[t] || Ht;
310
+ return l = i, (...g) => l(Xt(...g));
311
+ }, Zt = [], R = (t) => {
312
+ const o = (r) => r[t] || Zt;
313
313
  return o.isThemeGetter = !0, o;
314
- }, Je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ze = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xt = /^\d+\/\d+$/, Jt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zt = /\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$/, Qt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, J = (t) => Xt.test(t), v = (t) => !!t && !Number.isNaN(Number(t)), q = (t) => !!t && Number.isInteger(Number(t)), ye = (t) => t.endsWith("%") && v(t.slice(0, -1)), V = (t) => Jt.test(t), rr = () => !0, or = (t) => (
314
+ }, Ze = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Qe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qt = /^\d+\/\d+$/, er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tr = /\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$/, rr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, or = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (t) => Qt.test(t), v = (t) => !!t && !Number.isNaN(Number(t)), Y = (t) => !!t && Number.isInteger(Number(t)), ve = (t) => t.endsWith("%") && v(t.slice(0, -1)), G = (t) => er.test(t), et = () => !0, ar = (t) => (
315
315
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
316
316
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
317
317
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
318
- Zt.test(t) && !Qt.test(t)
319
- ), Qe = () => !1, nr = (t) => er.test(t), ar = (t) => tr.test(t), lr = (t) => !h(t) && !b(t), sr = (t) => Q(t, rt, Qe), h = (t) => Je.test(t), H = (t) => Q(t, ot, or), Fe = (t) => Q(t, ur, v), je = (t) => Q(t, et, Qe), ir = (t) => Q(t, tt, ar), me = (t) => Q(t, nt, nr), b = (t) => Ze.test(t), oe = (t) => ee(t, ot), cr = (t) => ee(t, gr), Ue = (t) => ee(t, et), dr = (t) => ee(t, rt), mr = (t) => ee(t, tt), ue = (t) => ee(t, nt, !0), Q = (t, o, r) => {
320
- const n = Je.exec(t);
321
- return n ? n[1] ? o(n[1]) : r(n[2]) : !1;
322
- }, ee = (t, o, r = !1) => {
318
+ tr.test(t) && !rr.test(t)
319
+ ), Pe = () => !1, lr = (t) => or.test(t), sr = (t) => nr.test(t), ir = (t) => !b(t) && !p(t), cr = (t) => H(t, ot, Pe), b = (t) => Ze.test(t), X = (t) => H(t, nt, ar), je = (t) => H(t, fr, v), dr = (t) => H(t, lt, et), mr = (t) => H(t, at, Pe), Ue = (t) => H(t, tt, Pe), ur = (t) => H(t, rt, sr), me = (t) => H(t, st, lr), p = (t) => Qe.test(t), oe = (t) => J(t, nt), gr = (t) => J(t, at), Oe = (t) => J(t, tt), hr = (t) => J(t, ot), br = (t) => J(t, rt), ue = (t) => J(t, st, !0), pr = (t) => J(t, lt, !0), H = (t, o, r) => {
323
320
  const n = Ze.exec(t);
321
+ return n ? n[1] ? o(n[1]) : r(n[2]) : !1;
322
+ }, J = (t, o, r = !1) => {
323
+ const n = Qe.exec(t);
324
324
  return n ? n[1] ? o(n[1]) : r : !1;
325
- }, et = (t) => t === "position" || t === "percentage", tt = (t) => t === "image" || t === "url", rt = (t) => t === "length" || t === "size" || t === "bg-size", ot = (t) => t === "length", ur = (t) => t === "number", gr = (t) => t === "family-name", nt = (t) => t === "shadow", hr = () => {
326
- const t = S("color"), o = S("font"), r = S("text"), n = S("font-weight"), s = S("tracking"), l = S("leading"), i = S("breakpoint"), u = S("container"), g = S("spacing"), p = S("radius"), k = S("shadow"), w = S("inset-shadow"), d = S("text-shadow"), T = S("drop-shadow"), M = S("blur"), N = S("perspective"), E = S("aspect"), P = S("ease"), I = S("animate"), C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [
325
+ }, tt = (t) => t === "position" || t === "percentage", rt = (t) => t === "image" || t === "url", ot = (t) => t === "length" || t === "size" || t === "bg-size", nt = (t) => t === "length", fr = (t) => t === "number", at = (t) => t === "family-name", lt = (t) => t === "number" || t === "weight", st = (t) => t === "shadow", xr = () => {
326
+ const t = R("color"), o = R("font"), r = R("text"), n = R("font-weight"), s = R("tracking"), l = R("leading"), i = R("breakpoint"), u = R("container"), g = R("spacing"), h = R("radius"), x = R("shadow"), w = R("inset-shadow"), d = R("text-shadow"), D = R("drop-shadow"), A = R("blur"), N = R("perspective"), E = R("aspect"), S = R("ease"), B = R("animate"), C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [
327
327
  "center",
328
328
  "top",
329
329
  "bottom",
@@ -341,51 +341,51 @@ const Tt = (t, o) => {
341
341
  "bottom-left",
342
342
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
343
343
  "left-bottom"
344
- ], z = () => [...y(), b, h], L = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], x = () => [b, h, g], e = () => [J, "full", "auto", ...x()], j = () => [q, "none", "subgrid", b, h], te = () => ["auto", {
345
- span: ["full", q, b, h]
346
- }, q, b, h], W = () => [q, "auto", b, h], ne = () => ["auto", "min", "max", "fr", b, h], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...x()], O = () => [J, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...x()], f = () => [t, b, h], ae = () => [...y(), Ue, je, {
347
- position: [b, h]
344
+ ], I = () => [...y(), p, b], P = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], k = () => [p, b, g], e = () => [Q, "full", "auto", ...k()], j = () => [Y, "none", "subgrid", p, b], te = () => ["auto", {
345
+ span: ["full", Y, p, b]
346
+ }, Y, p, b], $ = () => [Y, "auto", p, b], ne = () => ["auto", "min", "max", "fr", p, b], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...k()], _ = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], f = () => [t, p, b], ae = () => [...y(), Oe, Ue, {
347
+ position: [p, b]
348
348
  }], le = () => ["no-repeat", {
349
349
  repeat: ["", "x", "y", "space", "round"]
350
- }], se = () => ["auto", "cover", "contain", dr, sr, {
351
- size: [b, h]
352
- }], X = () => [ye, oe, H], B = () => [
350
+ }], se = () => ["auto", "cover", "contain", hr, cr, {
351
+ size: [p, b]
352
+ }], Z = () => [ve, oe, X], z = () => [
353
353
  // Deprecated since Tailwind CSS v4.0.0
354
354
  "",
355
355
  "none",
356
356
  "full",
357
+ h,
357
358
  p,
358
- b,
359
- h
360
- ], U = () => ["", v, oe, H], _ = () => ["solid", "dashed", "dotted", "double"], D = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [v, ye, Ue, je], ke = () => [
359
+ b
360
+ ], U = () => ["", v, oe, X], O = () => ["solid", "dashed", "dotted", "double"], M = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [v, ve, Oe, Ue], ke = () => [
361
361
  // Deprecated since Tailwind CSS v4.0.0
362
362
  "",
363
363
  "none",
364
- M,
365
- b,
366
- h
367
- ], ie = () => ["none", v, b, h], ce = () => ["none", v, b, h], we = () => [v, b, h], de = () => [J, "full", ...x()];
364
+ A,
365
+ p,
366
+ b
367
+ ], ie = () => ["none", v, p, b], ce = () => ["none", v, p, b], we = () => [v, p, b], de = () => [Q, "full", ...k()];
368
368
  return {
369
369
  cacheSize: 500,
370
370
  theme: {
371
371
  animate: ["spin", "ping", "pulse", "bounce"],
372
372
  aspect: ["video"],
373
- blur: [V],
374
- breakpoint: [V],
375
- color: [rr],
376
- container: [V],
377
- "drop-shadow": [V],
373
+ blur: [G],
374
+ breakpoint: [G],
375
+ color: [et],
376
+ container: [G],
377
+ "drop-shadow": [G],
378
378
  ease: ["in", "out", "in-out"],
379
- font: [lr],
379
+ font: [ir],
380
380
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
381
- "inset-shadow": [V],
381
+ "inset-shadow": [G],
382
382
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
383
383
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
384
- radius: [V],
385
- shadow: [V],
384
+ radius: [G],
385
+ shadow: [G],
386
386
  spacing: ["px", v],
387
- text: [V],
388
- "text-shadow": [V],
387
+ text: [G],
388
+ "text-shadow": [G],
389
389
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
390
390
  },
391
391
  classGroups: {
@@ -397,7 +397,7 @@ const Tt = (t, o) => {
397
397
  * @see https://tailwindcss.com/docs/aspect-ratio
398
398
  */
399
399
  aspect: [{
400
- aspect: ["auto", "square", J, h, b, E]
400
+ aspect: ["auto", "square", Q, b, p, E]
401
401
  }],
402
402
  /**
403
403
  * Container
@@ -410,7 +410,7 @@ const Tt = (t, o) => {
410
410
  * @see https://tailwindcss.com/docs/columns
411
411
  */
412
412
  columns: [{
413
- columns: [v, h, b, u]
413
+ columns: [v, b, p, u]
414
414
  }],
415
415
  /**
416
416
  * Break After
@@ -488,49 +488,49 @@ const Tt = (t, o) => {
488
488
  * @see https://tailwindcss.com/docs/object-position
489
489
  */
490
490
  "object-position": [{
491
- object: z()
491
+ object: I()
492
492
  }],
493
493
  /**
494
494
  * Overflow
495
495
  * @see https://tailwindcss.com/docs/overflow
496
496
  */
497
497
  overflow: [{
498
- overflow: L()
498
+ overflow: P()
499
499
  }],
500
500
  /**
501
501
  * Overflow X
502
502
  * @see https://tailwindcss.com/docs/overflow
503
503
  */
504
504
  "overflow-x": [{
505
- "overflow-x": L()
505
+ "overflow-x": P()
506
506
  }],
507
507
  /**
508
508
  * Overflow Y
509
509
  * @see https://tailwindcss.com/docs/overflow
510
510
  */
511
511
  "overflow-y": [{
512
- "overflow-y": L()
512
+ "overflow-y": P()
513
513
  }],
514
514
  /**
515
515
  * Overscroll Behavior
516
516
  * @see https://tailwindcss.com/docs/overscroll-behavior
517
517
  */
518
518
  overscroll: [{
519
- overscroll: $()
519
+ overscroll: W()
520
520
  }],
521
521
  /**
522
522
  * Overscroll Behavior X
523
523
  * @see https://tailwindcss.com/docs/overscroll-behavior
524
524
  */
525
525
  "overscroll-x": [{
526
- "overscroll-x": $()
526
+ "overscroll-x": W()
527
527
  }],
528
528
  /**
529
529
  * Overscroll Behavior Y
530
530
  * @see https://tailwindcss.com/docs/overscroll-behavior
531
531
  */
532
532
  "overscroll-y": [{
533
- "overscroll-y": $()
533
+ "overscroll-y": W()
534
534
  }],
535
535
  /**
536
536
  * Position
@@ -610,7 +610,7 @@ const Tt = (t, o) => {
610
610
  * @see https://tailwindcss.com/docs/z-index
611
611
  */
612
612
  z: [{
613
- z: [q, "auto", b, h]
613
+ z: [Y, "auto", p, b]
614
614
  }],
615
615
  // ------------------------
616
616
  // --- Flexbox and Grid ---
@@ -620,7 +620,7 @@ const Tt = (t, o) => {
620
620
  * @see https://tailwindcss.com/docs/flex-basis
621
621
  */
622
622
  basis: [{
623
- basis: [J, "full", "auto", u, ...x()]
623
+ basis: [Q, "full", "auto", u, ...k()]
624
624
  }],
625
625
  /**
626
626
  * Flex Direction
@@ -641,28 +641,28 @@ const Tt = (t, o) => {
641
641
  * @see https://tailwindcss.com/docs/flex
642
642
  */
643
643
  flex: [{
644
- flex: [v, J, "auto", "initial", "none", h]
644
+ flex: [v, Q, "auto", "initial", "none", b]
645
645
  }],
646
646
  /**
647
647
  * Flex Grow
648
648
  * @see https://tailwindcss.com/docs/flex-grow
649
649
  */
650
650
  grow: [{
651
- grow: ["", v, b, h]
651
+ grow: ["", v, p, b]
652
652
  }],
653
653
  /**
654
654
  * Flex Shrink
655
655
  * @see https://tailwindcss.com/docs/flex-shrink
656
656
  */
657
657
  shrink: [{
658
- shrink: ["", v, b, h]
658
+ shrink: ["", v, p, b]
659
659
  }],
660
660
  /**
661
661
  * Order
662
662
  * @see https://tailwindcss.com/docs/order
663
663
  */
664
664
  order: [{
665
- order: [q, "first", "last", "none", b, h]
665
+ order: [Y, "first", "last", "none", p, b]
666
666
  }],
667
667
  /**
668
668
  * Grid Template Columns
@@ -683,14 +683,14 @@ const Tt = (t, o) => {
683
683
  * @see https://tailwindcss.com/docs/grid-column
684
684
  */
685
685
  "col-start": [{
686
- "col-start": W()
686
+ "col-start": $()
687
687
  }],
688
688
  /**
689
689
  * Grid Column End
690
690
  * @see https://tailwindcss.com/docs/grid-column
691
691
  */
692
692
  "col-end": [{
693
- "col-end": W()
693
+ "col-end": $()
694
694
  }],
695
695
  /**
696
696
  * Grid Template Rows
@@ -711,14 +711,14 @@ const Tt = (t, o) => {
711
711
  * @see https://tailwindcss.com/docs/grid-row
712
712
  */
713
713
  "row-start": [{
714
- "row-start": W()
714
+ "row-start": $()
715
715
  }],
716
716
  /**
717
717
  * Grid Row End
718
718
  * @see https://tailwindcss.com/docs/grid-row
719
719
  */
720
720
  "row-end": [{
721
- "row-end": W()
721
+ "row-end": $()
722
722
  }],
723
723
  /**
724
724
  * Grid Auto Flow
@@ -746,21 +746,21 @@ const Tt = (t, o) => {
746
746
  * @see https://tailwindcss.com/docs/gap
747
747
  */
748
748
  gap: [{
749
- gap: x()
749
+ gap: k()
750
750
  }],
751
751
  /**
752
752
  * Gap X
753
753
  * @see https://tailwindcss.com/docs/gap
754
754
  */
755
755
  "gap-x": [{
756
- "gap-x": x()
756
+ "gap-x": k()
757
757
  }],
758
758
  /**
759
759
  * Gap Y
760
760
  * @see https://tailwindcss.com/docs/gap
761
761
  */
762
762
  "gap-y": [{
763
- "gap-y": x()
763
+ "gap-y": k()
764
764
  }],
765
765
  /**
766
766
  * Justify Content
@@ -774,14 +774,14 @@ const Tt = (t, o) => {
774
774
  * @see https://tailwindcss.com/docs/justify-items
775
775
  */
776
776
  "justify-items": [{
777
- "justify-items": [...G(), "normal"]
777
+ "justify-items": [...V(), "normal"]
778
778
  }],
779
779
  /**
780
780
  * Justify Self
781
781
  * @see https://tailwindcss.com/docs/justify-self
782
782
  */
783
783
  "justify-self": [{
784
- "justify-self": ["auto", ...G()]
784
+ "justify-self": ["auto", ...V()]
785
785
  }],
786
786
  /**
787
787
  * Align Content
@@ -795,7 +795,7 @@ const Tt = (t, o) => {
795
795
  * @see https://tailwindcss.com/docs/align-items
796
796
  */
797
797
  "align-items": [{
798
- items: [...G(), {
798
+ items: [...V(), {
799
799
  baseline: ["", "last"]
800
800
  }]
801
801
  }],
@@ -804,7 +804,7 @@ const Tt = (t, o) => {
804
804
  * @see https://tailwindcss.com/docs/align-self
805
805
  */
806
806
  "align-self": [{
807
- self: ["auto", ...G(), {
807
+ self: ["auto", ...V(), {
808
808
  baseline: ["", "last"]
809
809
  }]
810
810
  }],
@@ -820,14 +820,14 @@ const Tt = (t, o) => {
820
820
  * @see https://tailwindcss.com/docs/place-items
821
821
  */
822
822
  "place-items": [{
823
- "place-items": [...G(), "baseline"]
823
+ "place-items": [...V(), "baseline"]
824
824
  }],
825
825
  /**
826
826
  * Place Self
827
827
  * @see https://tailwindcss.com/docs/place-self
828
828
  */
829
829
  "place-self": [{
830
- "place-self": ["auto", ...G()]
830
+ "place-self": ["auto", ...V()]
831
831
  }],
832
832
  // Spacing
833
833
  /**
@@ -835,133 +835,133 @@ const Tt = (t, o) => {
835
835
  * @see https://tailwindcss.com/docs/padding
836
836
  */
837
837
  p: [{
838
- p: x()
838
+ p: k()
839
839
  }],
840
840
  /**
841
841
  * Padding X
842
842
  * @see https://tailwindcss.com/docs/padding
843
843
  */
844
844
  px: [{
845
- px: x()
845
+ px: k()
846
846
  }],
847
847
  /**
848
848
  * Padding Y
849
849
  * @see https://tailwindcss.com/docs/padding
850
850
  */
851
851
  py: [{
852
- py: x()
852
+ py: k()
853
853
  }],
854
854
  /**
855
855
  * Padding Start
856
856
  * @see https://tailwindcss.com/docs/padding
857
857
  */
858
858
  ps: [{
859
- ps: x()
859
+ ps: k()
860
860
  }],
861
861
  /**
862
862
  * Padding End
863
863
  * @see https://tailwindcss.com/docs/padding
864
864
  */
865
865
  pe: [{
866
- pe: x()
866
+ pe: k()
867
867
  }],
868
868
  /**
869
869
  * Padding Top
870
870
  * @see https://tailwindcss.com/docs/padding
871
871
  */
872
872
  pt: [{
873
- pt: x()
873
+ pt: k()
874
874
  }],
875
875
  /**
876
876
  * Padding Right
877
877
  * @see https://tailwindcss.com/docs/padding
878
878
  */
879
879
  pr: [{
880
- pr: x()
880
+ pr: k()
881
881
  }],
882
882
  /**
883
883
  * Padding Bottom
884
884
  * @see https://tailwindcss.com/docs/padding
885
885
  */
886
886
  pb: [{
887
- pb: x()
887
+ pb: k()
888
888
  }],
889
889
  /**
890
890
  * Padding Left
891
891
  * @see https://tailwindcss.com/docs/padding
892
892
  */
893
893
  pl: [{
894
- pl: x()
894
+ pl: k()
895
895
  }],
896
896
  /**
897
897
  * Margin
898
898
  * @see https://tailwindcss.com/docs/margin
899
899
  */
900
900
  m: [{
901
- m: R()
901
+ m: L()
902
902
  }],
903
903
  /**
904
904
  * Margin X
905
905
  * @see https://tailwindcss.com/docs/margin
906
906
  */
907
907
  mx: [{
908
- mx: R()
908
+ mx: L()
909
909
  }],
910
910
  /**
911
911
  * Margin Y
912
912
  * @see https://tailwindcss.com/docs/margin
913
913
  */
914
914
  my: [{
915
- my: R()
915
+ my: L()
916
916
  }],
917
917
  /**
918
918
  * Margin Start
919
919
  * @see https://tailwindcss.com/docs/margin
920
920
  */
921
921
  ms: [{
922
- ms: R()
922
+ ms: L()
923
923
  }],
924
924
  /**
925
925
  * Margin End
926
926
  * @see https://tailwindcss.com/docs/margin
927
927
  */
928
928
  me: [{
929
- me: R()
929
+ me: L()
930
930
  }],
931
931
  /**
932
932
  * Margin Top
933
933
  * @see https://tailwindcss.com/docs/margin
934
934
  */
935
935
  mt: [{
936
- mt: R()
936
+ mt: L()
937
937
  }],
938
938
  /**
939
939
  * Margin Right
940
940
  * @see https://tailwindcss.com/docs/margin
941
941
  */
942
942
  mr: [{
943
- mr: R()
943
+ mr: L()
944
944
  }],
945
945
  /**
946
946
  * Margin Bottom
947
947
  * @see https://tailwindcss.com/docs/margin
948
948
  */
949
949
  mb: [{
950
- mb: R()
950
+ mb: L()
951
951
  }],
952
952
  /**
953
953
  * Margin Left
954
954
  * @see https://tailwindcss.com/docs/margin
955
955
  */
956
956
  ml: [{
957
- ml: R()
957
+ ml: L()
958
958
  }],
959
959
  /**
960
960
  * Space Between X
961
961
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
962
962
  */
963
963
  "space-x": [{
964
- "space-x": x()
964
+ "space-x": k()
965
965
  }],
966
966
  /**
967
967
  * Space Between X Reverse
@@ -973,7 +973,7 @@ const Tt = (t, o) => {
973
973
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
974
974
  */
975
975
  "space-y": [{
976
- "space-y": x()
976
+ "space-y": k()
977
977
  }],
978
978
  /**
979
979
  * Space Between Y Reverse
@@ -988,14 +988,14 @@ const Tt = (t, o) => {
988
988
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
989
989
  */
990
990
  size: [{
991
- size: O()
991
+ size: _()
992
992
  }],
993
993
  /**
994
994
  * Width
995
995
  * @see https://tailwindcss.com/docs/width
996
996
  */
997
997
  w: [{
998
- w: [u, "screen", ...O()]
998
+ w: [u, "screen", ..._()]
999
999
  }],
1000
1000
  /**
1001
1001
  * Min-Width
@@ -1007,7 +1007,7 @@ const Tt = (t, o) => {
1007
1007
  "screen",
1008
1008
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1009
1009
  "none",
1010
- ...O()
1010
+ ..._()
1011
1011
  ]
1012
1012
  }],
1013
1013
  /**
@@ -1025,7 +1025,7 @@ const Tt = (t, o) => {
1025
1025
  {
1026
1026
  screen: [i]
1027
1027
  },
1028
- ...O()
1028
+ ..._()
1029
1029
  ]
1030
1030
  }],
1031
1031
  /**
@@ -1033,21 +1033,21 @@ const Tt = (t, o) => {
1033
1033
  * @see https://tailwindcss.com/docs/height
1034
1034
  */
1035
1035
  h: [{
1036
- h: ["screen", "lh", ...O()]
1036
+ h: ["screen", "lh", ..._()]
1037
1037
  }],
1038
1038
  /**
1039
1039
  * Min-Height
1040
1040
  * @see https://tailwindcss.com/docs/min-height
1041
1041
  */
1042
1042
  "min-h": [{
1043
- "min-h": ["screen", "lh", "none", ...O()]
1043
+ "min-h": ["screen", "lh", "none", ..._()]
1044
1044
  }],
1045
1045
  /**
1046
1046
  * Max-Height
1047
1047
  * @see https://tailwindcss.com/docs/max-height
1048
1048
  */
1049
1049
  "max-h": [{
1050
- "max-h": ["screen", "lh", ...O()]
1050
+ "max-h": ["screen", "lh", ..._()]
1051
1051
  }],
1052
1052
  // ------------------
1053
1053
  // --- Typography ---
@@ -1057,7 +1057,7 @@ const Tt = (t, o) => {
1057
1057
  * @see https://tailwindcss.com/docs/font-size
1058
1058
  */
1059
1059
  "font-size": [{
1060
- text: ["base", r, oe, H]
1060
+ text: ["base", r, oe, X]
1061
1061
  }],
1062
1062
  /**
1063
1063
  * Font Smoothing
@@ -1074,21 +1074,21 @@ const Tt = (t, o) => {
1074
1074
  * @see https://tailwindcss.com/docs/font-weight
1075
1075
  */
1076
1076
  "font-weight": [{
1077
- font: [n, b, Fe]
1077
+ font: [n, pr, dr]
1078
1078
  }],
1079
1079
  /**
1080
1080
  * Font Stretch
1081
1081
  * @see https://tailwindcss.com/docs/font-stretch
1082
1082
  */
1083
1083
  "font-stretch": [{
1084
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ye, h]
1084
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ve, b]
1085
1085
  }],
1086
1086
  /**
1087
1087
  * Font Family
1088
1088
  * @see https://tailwindcss.com/docs/font-family
1089
1089
  */
1090
1090
  "font-family": [{
1091
- font: [cr, h, o]
1091
+ font: [gr, mr, o]
1092
1092
  }],
1093
1093
  /**
1094
1094
  * Font Variant Numeric
@@ -1125,14 +1125,14 @@ const Tt = (t, o) => {
1125
1125
  * @see https://tailwindcss.com/docs/letter-spacing
1126
1126
  */
1127
1127
  tracking: [{
1128
- tracking: [s, b, h]
1128
+ tracking: [s, p, b]
1129
1129
  }],
1130
1130
  /**
1131
1131
  * Line Clamp
1132
1132
  * @see https://tailwindcss.com/docs/line-clamp
1133
1133
  */
1134
1134
  "line-clamp": [{
1135
- "line-clamp": [v, "none", b, Fe]
1135
+ "line-clamp": [v, "none", p, je]
1136
1136
  }],
1137
1137
  /**
1138
1138
  * Line Height
@@ -1142,7 +1142,7 @@ const Tt = (t, o) => {
1142
1142
  leading: [
1143
1143
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1144
1144
  l,
1145
- ...x()
1145
+ ...k()
1146
1146
  ]
1147
1147
  }],
1148
1148
  /**
@@ -1150,7 +1150,7 @@ const Tt = (t, o) => {
1150
1150
  * @see https://tailwindcss.com/docs/list-style-image
1151
1151
  */
1152
1152
  "list-image": [{
1153
- "list-image": ["none", b, h]
1153
+ "list-image": ["none", p, b]
1154
1154
  }],
1155
1155
  /**
1156
1156
  * List Style Position
@@ -1164,7 +1164,7 @@ const Tt = (t, o) => {
1164
1164
  * @see https://tailwindcss.com/docs/list-style-type
1165
1165
  */
1166
1166
  "list-style-type": [{
1167
- list: ["disc", "decimal", "none", b, h]
1167
+ list: ["disc", "decimal", "none", p, b]
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Text Alignment
@@ -1198,14 +1198,14 @@ const Tt = (t, o) => {
1198
1198
  * @see https://tailwindcss.com/docs/text-decoration-style
1199
1199
  */
1200
1200
  "text-decoration-style": [{
1201
- decoration: [..._(), "wavy"]
1201
+ decoration: [...O(), "wavy"]
1202
1202
  }],
1203
1203
  /**
1204
1204
  * Text Decoration Thickness
1205
1205
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1206
1206
  */
1207
1207
  "text-decoration-thickness": [{
1208
- decoration: [v, "from-font", "auto", b, H]
1208
+ decoration: [v, "from-font", "auto", p, X]
1209
1209
  }],
1210
1210
  /**
1211
1211
  * Text Decoration Color
@@ -1219,7 +1219,7 @@ const Tt = (t, o) => {
1219
1219
  * @see https://tailwindcss.com/docs/text-underline-offset
1220
1220
  */
1221
1221
  "underline-offset": [{
1222
- "underline-offset": [v, "auto", b, h]
1222
+ "underline-offset": [v, "auto", p, b]
1223
1223
  }],
1224
1224
  /**
1225
1225
  * Text Transform
@@ -1243,14 +1243,14 @@ const Tt = (t, o) => {
1243
1243
  * @see https://tailwindcss.com/docs/text-indent
1244
1244
  */
1245
1245
  indent: [{
1246
- indent: x()
1246
+ indent: k()
1247
1247
  }],
1248
1248
  /**
1249
1249
  * Vertical Alignment
1250
1250
  * @see https://tailwindcss.com/docs/vertical-align
1251
1251
  */
1252
1252
  "vertical-align": [{
1253
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, h]
1253
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", p, b]
1254
1254
  }],
1255
1255
  /**
1256
1256
  * Whitespace
@@ -1285,7 +1285,7 @@ const Tt = (t, o) => {
1285
1285
  * @see https://tailwindcss.com/docs/content
1286
1286
  */
1287
1287
  content: [{
1288
- content: ["none", b, h]
1288
+ content: ["none", p, b]
1289
1289
  }],
1290
1290
  // -------------------
1291
1291
  // --- Backgrounds ---
@@ -1340,10 +1340,10 @@ const Tt = (t, o) => {
1340
1340
  bg: ["none", {
1341
1341
  linear: [{
1342
1342
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1343
- }, q, b, h],
1344
- radial: ["", b, h],
1345
- conic: [q, b, h]
1346
- }, mr, ir]
1343
+ }, Y, p, b],
1344
+ radial: ["", p, b],
1345
+ conic: [Y, p, b]
1346
+ }, br, ur]
1347
1347
  }],
1348
1348
  /**
1349
1349
  * Background Color
@@ -1357,21 +1357,21 @@ const Tt = (t, o) => {
1357
1357
  * @see https://tailwindcss.com/docs/gradient-color-stops
1358
1358
  */
1359
1359
  "gradient-from-pos": [{
1360
- from: X()
1360
+ from: Z()
1361
1361
  }],
1362
1362
  /**
1363
1363
  * Gradient Color Stops Via Position
1364
1364
  * @see https://tailwindcss.com/docs/gradient-color-stops
1365
1365
  */
1366
1366
  "gradient-via-pos": [{
1367
- via: X()
1367
+ via: Z()
1368
1368
  }],
1369
1369
  /**
1370
1370
  * Gradient Color Stops To Position
1371
1371
  * @see https://tailwindcss.com/docs/gradient-color-stops
1372
1372
  */
1373
1373
  "gradient-to-pos": [{
1374
- to: X()
1374
+ to: Z()
1375
1375
  }],
1376
1376
  /**
1377
1377
  * Gradient Color Stops From
@@ -1402,105 +1402,105 @@ const Tt = (t, o) => {
1402
1402
  * @see https://tailwindcss.com/docs/border-radius
1403
1403
  */
1404
1404
  rounded: [{
1405
- rounded: B()
1405
+ rounded: z()
1406
1406
  }],
1407
1407
  /**
1408
1408
  * Border Radius Start
1409
1409
  * @see https://tailwindcss.com/docs/border-radius
1410
1410
  */
1411
1411
  "rounded-s": [{
1412
- "rounded-s": B()
1412
+ "rounded-s": z()
1413
1413
  }],
1414
1414
  /**
1415
1415
  * Border Radius End
1416
1416
  * @see https://tailwindcss.com/docs/border-radius
1417
1417
  */
1418
1418
  "rounded-e": [{
1419
- "rounded-e": B()
1419
+ "rounded-e": z()
1420
1420
  }],
1421
1421
  /**
1422
1422
  * Border Radius Top
1423
1423
  * @see https://tailwindcss.com/docs/border-radius
1424
1424
  */
1425
1425
  "rounded-t": [{
1426
- "rounded-t": B()
1426
+ "rounded-t": z()
1427
1427
  }],
1428
1428
  /**
1429
1429
  * Border Radius Right
1430
1430
  * @see https://tailwindcss.com/docs/border-radius
1431
1431
  */
1432
1432
  "rounded-r": [{
1433
- "rounded-r": B()
1433
+ "rounded-r": z()
1434
1434
  }],
1435
1435
  /**
1436
1436
  * Border Radius Bottom
1437
1437
  * @see https://tailwindcss.com/docs/border-radius
1438
1438
  */
1439
1439
  "rounded-b": [{
1440
- "rounded-b": B()
1440
+ "rounded-b": z()
1441
1441
  }],
1442
1442
  /**
1443
1443
  * Border Radius Left
1444
1444
  * @see https://tailwindcss.com/docs/border-radius
1445
1445
  */
1446
1446
  "rounded-l": [{
1447
- "rounded-l": B()
1447
+ "rounded-l": z()
1448
1448
  }],
1449
1449
  /**
1450
1450
  * Border Radius Start Start
1451
1451
  * @see https://tailwindcss.com/docs/border-radius
1452
1452
  */
1453
1453
  "rounded-ss": [{
1454
- "rounded-ss": B()
1454
+ "rounded-ss": z()
1455
1455
  }],
1456
1456
  /**
1457
1457
  * Border Radius Start End
1458
1458
  * @see https://tailwindcss.com/docs/border-radius
1459
1459
  */
1460
1460
  "rounded-se": [{
1461
- "rounded-se": B()
1461
+ "rounded-se": z()
1462
1462
  }],
1463
1463
  /**
1464
1464
  * Border Radius End End
1465
1465
  * @see https://tailwindcss.com/docs/border-radius
1466
1466
  */
1467
1467
  "rounded-ee": [{
1468
- "rounded-ee": B()
1468
+ "rounded-ee": z()
1469
1469
  }],
1470
1470
  /**
1471
1471
  * Border Radius End Start
1472
1472
  * @see https://tailwindcss.com/docs/border-radius
1473
1473
  */
1474
1474
  "rounded-es": [{
1475
- "rounded-es": B()
1475
+ "rounded-es": z()
1476
1476
  }],
1477
1477
  /**
1478
1478
  * Border Radius Top Left
1479
1479
  * @see https://tailwindcss.com/docs/border-radius
1480
1480
  */
1481
1481
  "rounded-tl": [{
1482
- "rounded-tl": B()
1482
+ "rounded-tl": z()
1483
1483
  }],
1484
1484
  /**
1485
1485
  * Border Radius Top Right
1486
1486
  * @see https://tailwindcss.com/docs/border-radius
1487
1487
  */
1488
1488
  "rounded-tr": [{
1489
- "rounded-tr": B()
1489
+ "rounded-tr": z()
1490
1490
  }],
1491
1491
  /**
1492
1492
  * Border Radius Bottom Right
1493
1493
  * @see https://tailwindcss.com/docs/border-radius
1494
1494
  */
1495
1495
  "rounded-br": [{
1496
- "rounded-br": B()
1496
+ "rounded-br": z()
1497
1497
  }],
1498
1498
  /**
1499
1499
  * Border Radius Bottom Left
1500
1500
  * @see https://tailwindcss.com/docs/border-radius
1501
1501
  */
1502
1502
  "rounded-bl": [{
1503
- "rounded-bl": B()
1503
+ "rounded-bl": z()
1504
1504
  }],
1505
1505
  /**
1506
1506
  * Border Width
@@ -1594,14 +1594,14 @@ const Tt = (t, o) => {
1594
1594
  * @see https://tailwindcss.com/docs/border-style
1595
1595
  */
1596
1596
  "border-style": [{
1597
- border: [..._(), "hidden", "none"]
1597
+ border: [...O(), "hidden", "none"]
1598
1598
  }],
1599
1599
  /**
1600
1600
  * Divide Style
1601
1601
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1602
1602
  */
1603
1603
  "divide-style": [{
1604
- divide: [..._(), "hidden", "none"]
1604
+ divide: [...O(), "hidden", "none"]
1605
1605
  }],
1606
1606
  /**
1607
1607
  * Border Color
@@ -1678,21 +1678,21 @@ const Tt = (t, o) => {
1678
1678
  * @see https://tailwindcss.com/docs/outline-style
1679
1679
  */
1680
1680
  "outline-style": [{
1681
- outline: [..._(), "none", "hidden"]
1681
+ outline: [...O(), "none", "hidden"]
1682
1682
  }],
1683
1683
  /**
1684
1684
  * Outline Offset
1685
1685
  * @see https://tailwindcss.com/docs/outline-offset
1686
1686
  */
1687
1687
  "outline-offset": [{
1688
- "outline-offset": [v, b, h]
1688
+ "outline-offset": [v, p, b]
1689
1689
  }],
1690
1690
  /**
1691
1691
  * Outline Width
1692
1692
  * @see https://tailwindcss.com/docs/outline-width
1693
1693
  */
1694
1694
  "outline-w": [{
1695
- outline: ["", v, oe, H]
1695
+ outline: ["", v, oe, X]
1696
1696
  }],
1697
1697
  /**
1698
1698
  * Outline Color
@@ -1713,7 +1713,7 @@ const Tt = (t, o) => {
1713
1713
  // Deprecated since Tailwind CSS v4.0.0
1714
1714
  "",
1715
1715
  "none",
1716
- k,
1716
+ x,
1717
1717
  ue,
1718
1718
  me
1719
1719
  ]
@@ -1767,7 +1767,7 @@ const Tt = (t, o) => {
1767
1767
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1768
1768
  */
1769
1769
  "ring-offset-w": [{
1770
- "ring-offset": [v, H]
1770
+ "ring-offset": [v, X]
1771
1771
  }],
1772
1772
  /**
1773
1773
  * Ring Offset Color
@@ -1811,21 +1811,21 @@ const Tt = (t, o) => {
1811
1811
  * @see https://tailwindcss.com/docs/opacity
1812
1812
  */
1813
1813
  opacity: [{
1814
- opacity: [v, b, h]
1814
+ opacity: [v, p, b]
1815
1815
  }],
1816
1816
  /**
1817
1817
  * Mix Blend Mode
1818
1818
  * @see https://tailwindcss.com/docs/mix-blend-mode
1819
1819
  */
1820
1820
  "mix-blend": [{
1821
- "mix-blend": [...D(), "plus-darker", "plus-lighter"]
1821
+ "mix-blend": [...M(), "plus-darker", "plus-lighter"]
1822
1822
  }],
1823
1823
  /**
1824
1824
  * Background Blend Mode
1825
1825
  * @see https://tailwindcss.com/docs/background-blend-mode
1826
1826
  */
1827
1827
  "bg-blend": [{
1828
- "bg-blend": D()
1828
+ "bg-blend": M()
1829
1829
  }],
1830
1830
  /**
1831
1831
  * Mask Clip
@@ -1933,7 +1933,7 @@ const Tt = (t, o) => {
1933
1933
  "mask-y-to": f()
1934
1934
  }],
1935
1935
  "mask-image-radial": [{
1936
- "mask-radial": [b, h]
1936
+ "mask-radial": [p, b]
1937
1937
  }],
1938
1938
  "mask-image-radial-from-pos": [{
1939
1939
  "mask-radial-from": F()
@@ -2021,7 +2021,7 @@ const Tt = (t, o) => {
2021
2021
  * @see https://tailwindcss.com/docs/mask-image
2022
2022
  */
2023
2023
  "mask-image": [{
2024
- mask: ["none", b, h]
2024
+ mask: ["none", p, b]
2025
2025
  }],
2026
2026
  // ---------------
2027
2027
  // --- Filters ---
@@ -2035,8 +2035,8 @@ const Tt = (t, o) => {
2035
2035
  // Deprecated since Tailwind CSS v3.0.0
2036
2036
  "",
2037
2037
  "none",
2038
- b,
2039
- h
2038
+ p,
2039
+ b
2040
2040
  ]
2041
2041
  }],
2042
2042
  /**
@@ -2051,14 +2051,14 @@ const Tt = (t, o) => {
2051
2051
  * @see https://tailwindcss.com/docs/brightness
2052
2052
  */
2053
2053
  brightness: [{
2054
- brightness: [v, b, h]
2054
+ brightness: [v, p, b]
2055
2055
  }],
2056
2056
  /**
2057
2057
  * Contrast
2058
2058
  * @see https://tailwindcss.com/docs/contrast
2059
2059
  */
2060
2060
  contrast: [{
2061
- contrast: [v, b, h]
2061
+ contrast: [v, p, b]
2062
2062
  }],
2063
2063
  /**
2064
2064
  * Drop Shadow
@@ -2069,7 +2069,7 @@ const Tt = (t, o) => {
2069
2069
  // Deprecated since Tailwind CSS v4.0.0
2070
2070
  "",
2071
2071
  "none",
2072
- T,
2072
+ D,
2073
2073
  ue,
2074
2074
  me
2075
2075
  ]
@@ -2086,35 +2086,35 @@ const Tt = (t, o) => {
2086
2086
  * @see https://tailwindcss.com/docs/grayscale
2087
2087
  */
2088
2088
  grayscale: [{
2089
- grayscale: ["", v, b, h]
2089
+ grayscale: ["", v, p, b]
2090
2090
  }],
2091
2091
  /**
2092
2092
  * Hue Rotate
2093
2093
  * @see https://tailwindcss.com/docs/hue-rotate
2094
2094
  */
2095
2095
  "hue-rotate": [{
2096
- "hue-rotate": [v, b, h]
2096
+ "hue-rotate": [v, p, b]
2097
2097
  }],
2098
2098
  /**
2099
2099
  * Invert
2100
2100
  * @see https://tailwindcss.com/docs/invert
2101
2101
  */
2102
2102
  invert: [{
2103
- invert: ["", v, b, h]
2103
+ invert: ["", v, p, b]
2104
2104
  }],
2105
2105
  /**
2106
2106
  * Saturate
2107
2107
  * @see https://tailwindcss.com/docs/saturate
2108
2108
  */
2109
2109
  saturate: [{
2110
- saturate: [v, b, h]
2110
+ saturate: [v, p, b]
2111
2111
  }],
2112
2112
  /**
2113
2113
  * Sepia
2114
2114
  * @see https://tailwindcss.com/docs/sepia
2115
2115
  */
2116
2116
  sepia: [{
2117
- sepia: ["", v, b, h]
2117
+ sepia: ["", v, p, b]
2118
2118
  }],
2119
2119
  /**
2120
2120
  * Backdrop Filter
@@ -2125,8 +2125,8 @@ const Tt = (t, o) => {
2125
2125
  // Deprecated since Tailwind CSS v3.0.0
2126
2126
  "",
2127
2127
  "none",
2128
- b,
2129
- h
2128
+ p,
2129
+ b
2130
2130
  ]
2131
2131
  }],
2132
2132
  /**
@@ -2141,56 +2141,56 @@ const Tt = (t, o) => {
2141
2141
  * @see https://tailwindcss.com/docs/backdrop-brightness
2142
2142
  */
2143
2143
  "backdrop-brightness": [{
2144
- "backdrop-brightness": [v, b, h]
2144
+ "backdrop-brightness": [v, p, b]
2145
2145
  }],
2146
2146
  /**
2147
2147
  * Backdrop Contrast
2148
2148
  * @see https://tailwindcss.com/docs/backdrop-contrast
2149
2149
  */
2150
2150
  "backdrop-contrast": [{
2151
- "backdrop-contrast": [v, b, h]
2151
+ "backdrop-contrast": [v, p, b]
2152
2152
  }],
2153
2153
  /**
2154
2154
  * Backdrop Grayscale
2155
2155
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2156
2156
  */
2157
2157
  "backdrop-grayscale": [{
2158
- "backdrop-grayscale": ["", v, b, h]
2158
+ "backdrop-grayscale": ["", v, p, b]
2159
2159
  }],
2160
2160
  /**
2161
2161
  * Backdrop Hue Rotate
2162
2162
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2163
2163
  */
2164
2164
  "backdrop-hue-rotate": [{
2165
- "backdrop-hue-rotate": [v, b, h]
2165
+ "backdrop-hue-rotate": [v, p, b]
2166
2166
  }],
2167
2167
  /**
2168
2168
  * Backdrop Invert
2169
2169
  * @see https://tailwindcss.com/docs/backdrop-invert
2170
2170
  */
2171
2171
  "backdrop-invert": [{
2172
- "backdrop-invert": ["", v, b, h]
2172
+ "backdrop-invert": ["", v, p, b]
2173
2173
  }],
2174
2174
  /**
2175
2175
  * Backdrop Opacity
2176
2176
  * @see https://tailwindcss.com/docs/backdrop-opacity
2177
2177
  */
2178
2178
  "backdrop-opacity": [{
2179
- "backdrop-opacity": [v, b, h]
2179
+ "backdrop-opacity": [v, p, b]
2180
2180
  }],
2181
2181
  /**
2182
2182
  * Backdrop Saturate
2183
2183
  * @see https://tailwindcss.com/docs/backdrop-saturate
2184
2184
  */
2185
2185
  "backdrop-saturate": [{
2186
- "backdrop-saturate": [v, b, h]
2186
+ "backdrop-saturate": [v, p, b]
2187
2187
  }],
2188
2188
  /**
2189
2189
  * Backdrop Sepia
2190
2190
  * @see https://tailwindcss.com/docs/backdrop-sepia
2191
2191
  */
2192
2192
  "backdrop-sepia": [{
2193
- "backdrop-sepia": ["", v, b, h]
2193
+ "backdrop-sepia": ["", v, p, b]
2194
2194
  }],
2195
2195
  // --------------
2196
2196
  // --- Tables ---
@@ -2207,21 +2207,21 @@ const Tt = (t, o) => {
2207
2207
  * @see https://tailwindcss.com/docs/border-spacing
2208
2208
  */
2209
2209
  "border-spacing": [{
2210
- "border-spacing": x()
2210
+ "border-spacing": k()
2211
2211
  }],
2212
2212
  /**
2213
2213
  * Border Spacing X
2214
2214
  * @see https://tailwindcss.com/docs/border-spacing
2215
2215
  */
2216
2216
  "border-spacing-x": [{
2217
- "border-spacing-x": x()
2217
+ "border-spacing-x": k()
2218
2218
  }],
2219
2219
  /**
2220
2220
  * Border Spacing Y
2221
2221
  * @see https://tailwindcss.com/docs/border-spacing
2222
2222
  */
2223
2223
  "border-spacing-y": [{
2224
- "border-spacing-y": x()
2224
+ "border-spacing-y": k()
2225
2225
  }],
2226
2226
  /**
2227
2227
  * Table Layout
@@ -2245,7 +2245,7 @@ const Tt = (t, o) => {
2245
2245
  * @see https://tailwindcss.com/docs/transition-property
2246
2246
  */
2247
2247
  transition: [{
2248
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, h]
2248
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", p, b]
2249
2249
  }],
2250
2250
  /**
2251
2251
  * Transition Behavior
@@ -2259,28 +2259,28 @@ const Tt = (t, o) => {
2259
2259
  * @see https://tailwindcss.com/docs/transition-duration
2260
2260
  */
2261
2261
  duration: [{
2262
- duration: [v, "initial", b, h]
2262
+ duration: [v, "initial", p, b]
2263
2263
  }],
2264
2264
  /**
2265
2265
  * Transition Timing Function
2266
2266
  * @see https://tailwindcss.com/docs/transition-timing-function
2267
2267
  */
2268
2268
  ease: [{
2269
- ease: ["linear", "initial", P, b, h]
2269
+ ease: ["linear", "initial", S, p, b]
2270
2270
  }],
2271
2271
  /**
2272
2272
  * Transition Delay
2273
2273
  * @see https://tailwindcss.com/docs/transition-delay
2274
2274
  */
2275
2275
  delay: [{
2276
- delay: [v, b, h]
2276
+ delay: [v, p, b]
2277
2277
  }],
2278
2278
  /**
2279
2279
  * Animation
2280
2280
  * @see https://tailwindcss.com/docs/animation
2281
2281
  */
2282
2282
  animate: [{
2283
- animate: ["none", I, b, h]
2283
+ animate: ["none", B, p, b]
2284
2284
  }],
2285
2285
  // ------------------
2286
2286
  // --- Transforms ---
@@ -2297,14 +2297,14 @@ const Tt = (t, o) => {
2297
2297
  * @see https://tailwindcss.com/docs/perspective
2298
2298
  */
2299
2299
  perspective: [{
2300
- perspective: [N, b, h]
2300
+ perspective: [N, p, b]
2301
2301
  }],
2302
2302
  /**
2303
2303
  * Perspective Origin
2304
2304
  * @see https://tailwindcss.com/docs/perspective-origin
2305
2305
  */
2306
2306
  "perspective-origin": [{
2307
- "perspective-origin": z()
2307
+ "perspective-origin": I()
2308
2308
  }],
2309
2309
  /**
2310
2310
  * Rotate
@@ -2393,14 +2393,14 @@ const Tt = (t, o) => {
2393
2393
  * @see https://tailwindcss.com/docs/transform
2394
2394
  */
2395
2395
  transform: [{
2396
- transform: [b, h, "", "none", "gpu", "cpu"]
2396
+ transform: [p, b, "", "none", "gpu", "cpu"]
2397
2397
  }],
2398
2398
  /**
2399
2399
  * Transform Origin
2400
2400
  * @see https://tailwindcss.com/docs/transform-origin
2401
2401
  */
2402
2402
  "transform-origin": [{
2403
- origin: z()
2403
+ origin: I()
2404
2404
  }],
2405
2405
  /**
2406
2406
  * Transform Style
@@ -2478,7 +2478,7 @@ const Tt = (t, o) => {
2478
2478
  * @see https://tailwindcss.com/docs/cursor
2479
2479
  */
2480
2480
  cursor: [{
2481
- 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", b, h]
2481
+ 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", p, b]
2482
2482
  }],
2483
2483
  /**
2484
2484
  * Field Sizing
@@ -2513,126 +2513,126 @@ const Tt = (t, o) => {
2513
2513
  * @see https://tailwindcss.com/docs/scroll-margin
2514
2514
  */
2515
2515
  "scroll-m": [{
2516
- "scroll-m": x()
2516
+ "scroll-m": k()
2517
2517
  }],
2518
2518
  /**
2519
2519
  * Scroll Margin X
2520
2520
  * @see https://tailwindcss.com/docs/scroll-margin
2521
2521
  */
2522
2522
  "scroll-mx": [{
2523
- "scroll-mx": x()
2523
+ "scroll-mx": k()
2524
2524
  }],
2525
2525
  /**
2526
2526
  * Scroll Margin Y
2527
2527
  * @see https://tailwindcss.com/docs/scroll-margin
2528
2528
  */
2529
2529
  "scroll-my": [{
2530
- "scroll-my": x()
2530
+ "scroll-my": k()
2531
2531
  }],
2532
2532
  /**
2533
2533
  * Scroll Margin Start
2534
2534
  * @see https://tailwindcss.com/docs/scroll-margin
2535
2535
  */
2536
2536
  "scroll-ms": [{
2537
- "scroll-ms": x()
2537
+ "scroll-ms": k()
2538
2538
  }],
2539
2539
  /**
2540
2540
  * Scroll Margin End
2541
2541
  * @see https://tailwindcss.com/docs/scroll-margin
2542
2542
  */
2543
2543
  "scroll-me": [{
2544
- "scroll-me": x()
2544
+ "scroll-me": k()
2545
2545
  }],
2546
2546
  /**
2547
2547
  * Scroll Margin Top
2548
2548
  * @see https://tailwindcss.com/docs/scroll-margin
2549
2549
  */
2550
2550
  "scroll-mt": [{
2551
- "scroll-mt": x()
2551
+ "scroll-mt": k()
2552
2552
  }],
2553
2553
  /**
2554
2554
  * Scroll Margin Right
2555
2555
  * @see https://tailwindcss.com/docs/scroll-margin
2556
2556
  */
2557
2557
  "scroll-mr": [{
2558
- "scroll-mr": x()
2558
+ "scroll-mr": k()
2559
2559
  }],
2560
2560
  /**
2561
2561
  * Scroll Margin Bottom
2562
2562
  * @see https://tailwindcss.com/docs/scroll-margin
2563
2563
  */
2564
2564
  "scroll-mb": [{
2565
- "scroll-mb": x()
2565
+ "scroll-mb": k()
2566
2566
  }],
2567
2567
  /**
2568
2568
  * Scroll Margin Left
2569
2569
  * @see https://tailwindcss.com/docs/scroll-margin
2570
2570
  */
2571
2571
  "scroll-ml": [{
2572
- "scroll-ml": x()
2572
+ "scroll-ml": k()
2573
2573
  }],
2574
2574
  /**
2575
2575
  * Scroll Padding
2576
2576
  * @see https://tailwindcss.com/docs/scroll-padding
2577
2577
  */
2578
2578
  "scroll-p": [{
2579
- "scroll-p": x()
2579
+ "scroll-p": k()
2580
2580
  }],
2581
2581
  /**
2582
2582
  * Scroll Padding X
2583
2583
  * @see https://tailwindcss.com/docs/scroll-padding
2584
2584
  */
2585
2585
  "scroll-px": [{
2586
- "scroll-px": x()
2586
+ "scroll-px": k()
2587
2587
  }],
2588
2588
  /**
2589
2589
  * Scroll Padding Y
2590
2590
  * @see https://tailwindcss.com/docs/scroll-padding
2591
2591
  */
2592
2592
  "scroll-py": [{
2593
- "scroll-py": x()
2593
+ "scroll-py": k()
2594
2594
  }],
2595
2595
  /**
2596
2596
  * Scroll Padding Start
2597
2597
  * @see https://tailwindcss.com/docs/scroll-padding
2598
2598
  */
2599
2599
  "scroll-ps": [{
2600
- "scroll-ps": x()
2600
+ "scroll-ps": k()
2601
2601
  }],
2602
2602
  /**
2603
2603
  * Scroll Padding End
2604
2604
  * @see https://tailwindcss.com/docs/scroll-padding
2605
2605
  */
2606
2606
  "scroll-pe": [{
2607
- "scroll-pe": x()
2607
+ "scroll-pe": k()
2608
2608
  }],
2609
2609
  /**
2610
2610
  * Scroll Padding Top
2611
2611
  * @see https://tailwindcss.com/docs/scroll-padding
2612
2612
  */
2613
2613
  "scroll-pt": [{
2614
- "scroll-pt": x()
2614
+ "scroll-pt": k()
2615
2615
  }],
2616
2616
  /**
2617
2617
  * Scroll Padding Right
2618
2618
  * @see https://tailwindcss.com/docs/scroll-padding
2619
2619
  */
2620
2620
  "scroll-pr": [{
2621
- "scroll-pr": x()
2621
+ "scroll-pr": k()
2622
2622
  }],
2623
2623
  /**
2624
2624
  * Scroll Padding Bottom
2625
2625
  * @see https://tailwindcss.com/docs/scroll-padding
2626
2626
  */
2627
2627
  "scroll-pb": [{
2628
- "scroll-pb": x()
2628
+ "scroll-pb": k()
2629
2629
  }],
2630
2630
  /**
2631
2631
  * Scroll Padding Left
2632
2632
  * @see https://tailwindcss.com/docs/scroll-padding
2633
2633
  */
2634
2634
  "scroll-pl": [{
2635
- "scroll-pl": x()
2635
+ "scroll-pl": k()
2636
2636
  }],
2637
2637
  /**
2638
2638
  * Scroll Snap Align
@@ -2700,7 +2700,7 @@ const Tt = (t, o) => {
2700
2700
  * @see https://tailwindcss.com/docs/will-change
2701
2701
  */
2702
2702
  "will-change": [{
2703
- "will-change": ["auto", "scroll", "contents", "transform", b, h]
2703
+ "will-change": ["auto", "scroll", "contents", "transform", p, b]
2704
2704
  }],
2705
2705
  // -----------
2706
2706
  // --- SVG ---
@@ -2717,7 +2717,7 @@ const Tt = (t, o) => {
2717
2717
  * @see https://tailwindcss.com/docs/stroke-width
2718
2718
  */
2719
2719
  "stroke-w": [{
2720
- stroke: [v, oe, H, Fe]
2720
+ stroke: [v, oe, X, je]
2721
2721
  }],
2722
2722
  /**
2723
2723
  * Stroke
@@ -2792,11 +2792,11 @@ const Tt = (t, o) => {
2792
2792
  },
2793
2793
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2794
2794
  };
2795
- }, br = /* @__PURE__ */ Yt(hr);
2795
+ }, kr = /* @__PURE__ */ Jt(xr);
2796
2796
  function c(...t) {
2797
- return br(Ke(t));
2797
+ return kr(Ye(t));
2798
2798
  }
2799
- const be = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2799
+ const be = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2800
2800
  "div",
2801
2801
  {
2802
2802
  ref: r,
@@ -2808,7 +2808,7 @@ const be = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2808
2808
  }
2809
2809
  ));
2810
2810
  be.displayName = "Card";
2811
- const Ae = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2811
+ const Ee = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2812
2812
  "div",
2813
2813
  {
2814
2814
  ref: r,
@@ -2816,8 +2816,8 @@ const Ae = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2816
2816
  ...o
2817
2817
  }
2818
2818
  ));
2819
- Ae.displayName = "CardHeader";
2820
- const Te = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2819
+ Ee.displayName = "CardHeader";
2820
+ const Ae = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2821
2821
  "div",
2822
2822
  {
2823
2823
  ref: r,
@@ -2825,8 +2825,8 @@ const Te = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2825
2825
  ...o
2826
2826
  }
2827
2827
  ));
2828
- Te.displayName = "CardTitle";
2829
- const De = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2828
+ Ae.displayName = "CardTitle";
2829
+ const Te = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2830
2830
  "div",
2831
2831
  {
2832
2832
  ref: r,
@@ -2834,10 +2834,10 @@ const De = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2834
2834
  ...o
2835
2835
  }
2836
2836
  ));
2837
- De.displayName = "CardDescription";
2838
- const pe = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a("div", { ref: r, className: c("p-6 pt-0", t), ...o }));
2837
+ Te.displayName = "CardDescription";
2838
+ const pe = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a("div", { ref: r, className: c("p-6 pt-0", t), ...o }));
2839
2839
  pe.displayName = "CardContent";
2840
- const pr = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2840
+ const wr = T.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2841
2841
  "div",
2842
2842
  {
2843
2843
  ref: r,
@@ -2845,67 +2845,67 @@ const pr = A.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ a(
2845
2845
  ...o
2846
2846
  }
2847
2847
  ));
2848
- pr.displayName = "CardFooter";
2849
- function _e(t, o) {
2848
+ wr.displayName = "CardFooter";
2849
+ function We(t, o) {
2850
2850
  if (typeof t == "function")
2851
2851
  return t(o);
2852
2852
  t != null && (t.current = o);
2853
2853
  }
2854
- function fr(...t) {
2854
+ function yr(...t) {
2855
2855
  return (o) => {
2856
2856
  let r = !1;
2857
2857
  const n = t.map((s) => {
2858
- const l = _e(s, o);
2858
+ const l = We(s, o);
2859
2859
  return !r && typeof l == "function" && (r = !0), l;
2860
2860
  });
2861
2861
  if (r)
2862
2862
  return () => {
2863
2863
  for (let s = 0; s < n.length; s++) {
2864
2864
  const l = n[s];
2865
- typeof l == "function" ? l() : _e(t[s], null);
2865
+ typeof l == "function" ? l() : We(t[s], null);
2866
2866
  }
2867
2867
  };
2868
2868
  };
2869
2869
  }
2870
- var xr = /* @__PURE__ */ Symbol.for("react.lazy"), fe = A[" use ".trim().toString()];
2871
- function kr(t) {
2870
+ var vr = /* @__PURE__ */ Symbol.for("react.lazy"), fe = T[" use ".trim().toString()];
2871
+ function Fr(t) {
2872
2872
  return typeof t == "object" && t !== null && "then" in t;
2873
2873
  }
2874
- function at(t) {
2875
- return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === xr && "_payload" in t && kr(t._payload);
2874
+ function it(t) {
2875
+ return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === vr && "_payload" in t && Fr(t._payload);
2876
2876
  }
2877
2877
  // @__NO_SIDE_EFFECTS__
2878
- function wr(t) {
2879
- const o = /* @__PURE__ */ yr(t), r = A.forwardRef((n, s) => {
2878
+ function Cr(t) {
2879
+ const o = /* @__PURE__ */ Er(t), r = T.forwardRef((n, s) => {
2880
2880
  let { children: l, ...i } = n;
2881
- at(l) && typeof fe == "function" && (l = fe(l._payload));
2882
- const u = A.Children.toArray(l), g = u.find(Cr);
2881
+ it(l) && typeof fe == "function" && (l = fe(l._payload));
2882
+ const u = T.Children.toArray(l), g = u.find(Tr);
2883
2883
  if (g) {
2884
- const p = g.props.children, k = u.map((w) => w === g ? A.Children.count(p) > 1 ? A.Children.only(null) : A.isValidElement(p) ? p.props.children : null : w);
2885
- return /* @__PURE__ */ a(o, { ...i, ref: s, children: A.isValidElement(p) ? A.cloneElement(p, void 0, k) : null });
2884
+ const h = g.props.children, x = u.map((w) => w === g ? T.Children.count(h) > 1 ? T.Children.only(null) : T.isValidElement(h) ? h.props.children : null : w);
2885
+ return /* @__PURE__ */ a(o, { ...i, ref: s, children: T.isValidElement(h) ? T.cloneElement(h, void 0, x) : null });
2886
2886
  }
2887
2887
  return /* @__PURE__ */ a(o, { ...i, ref: s, children: l });
2888
2888
  });
2889
2889
  return r.displayName = `${t}.Slot`, r;
2890
2890
  }
2891
- var vr = /* @__PURE__ */ wr("Slot");
2891
+ var Nr = /* @__PURE__ */ Cr("Slot");
2892
2892
  // @__NO_SIDE_EFFECTS__
2893
- function yr(t) {
2894
- const o = A.forwardRef((r, n) => {
2893
+ function Er(t) {
2894
+ const o = T.forwardRef((r, n) => {
2895
2895
  let { children: s, ...l } = r;
2896
- if (at(s) && typeof fe == "function" && (s = fe(s._payload)), A.isValidElement(s)) {
2897
- const i = Er(s), u = Nr(l, s.props);
2898
- return s.type !== A.Fragment && (u.ref = n ? fr(n, i) : i), A.cloneElement(s, u);
2896
+ if (it(s) && typeof fe == "function" && (s = fe(s._payload)), T.isValidElement(s)) {
2897
+ const i = Pr(s), u = Dr(l, s.props);
2898
+ return s.type !== T.Fragment && (u.ref = n ? yr(n, i) : i), T.cloneElement(s, u);
2899
2899
  }
2900
- return A.Children.count(s) > 1 ? A.Children.only(null) : null;
2900
+ return T.Children.count(s) > 1 ? T.Children.only(null) : null;
2901
2901
  });
2902
2902
  return o.displayName = `${t}.SlotClone`, o;
2903
2903
  }
2904
- var Fr = /* @__PURE__ */ Symbol("radix.slottable");
2905
- function Cr(t) {
2906
- return A.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Fr;
2904
+ var Ar = /* @__PURE__ */ Symbol("radix.slottable");
2905
+ function Tr(t) {
2906
+ return T.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Ar;
2907
2907
  }
2908
- function Nr(t, o) {
2908
+ function Dr(t, o) {
2909
2909
  const r = { ...o };
2910
2910
  for (const n in o) {
2911
2911
  const s = t[n], l = o[n];
@@ -2916,25 +2916,25 @@ function Nr(t, o) {
2916
2916
  }
2917
2917
  return { ...t, ...r };
2918
2918
  }
2919
- function Er(t) {
2919
+ function Pr(t) {
2920
2920
  let o = Object.getOwnPropertyDescriptor(t.props, "ref")?.get, r = o && "isReactWarning" in o && o.isReactWarning;
2921
2921
  return r ? t.ref : (o = Object.getOwnPropertyDescriptor(t, "ref")?.get, r = o && "isReactWarning" in o && o.isReactWarning, r ? t.props.ref : t.props.ref || t.ref);
2922
2922
  }
2923
- const $e = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Oe = Ke, lt = (t, o) => (r) => {
2923
+ const _e = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, $e = Ye, ct = (t, o) => (r) => {
2924
2924
  var n;
2925
- if (o?.variants == null) return Oe(t, r?.class, r?.className);
2926
- const { variants: s, defaultVariants: l } = o, i = Object.keys(s).map((p) => {
2927
- const k = r?.[p], w = l?.[p];
2928
- if (k === null) return null;
2929
- const d = $e(k) || $e(w);
2930
- return s[p][d];
2931
- }), u = r && Object.entries(r).reduce((p, k) => {
2932
- let [w, d] = k;
2933
- return d === void 0 || (p[w] = d), p;
2934
- }, {}), g = o == null || (n = o.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((p, k) => {
2935
- let { class: w, className: d, ...T } = k;
2936
- return Object.entries(T).every((M) => {
2937
- let [N, E] = M;
2925
+ if (o?.variants == null) return $e(t, r?.class, r?.className);
2926
+ const { variants: s, defaultVariants: l } = o, i = Object.keys(s).map((h) => {
2927
+ const x = r?.[h], w = l?.[h];
2928
+ if (x === null) return null;
2929
+ const d = _e(x) || _e(w);
2930
+ return s[h][d];
2931
+ }), u = r && Object.entries(r).reduce((h, x) => {
2932
+ let [w, d] = x;
2933
+ return d === void 0 || (h[w] = d), h;
2934
+ }, {}), g = o == null || (n = o.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((h, x) => {
2935
+ let { class: w, className: d, ...D } = x;
2936
+ return Object.entries(D).every((A) => {
2937
+ let [N, E] = A;
2938
2938
  return Array.isArray(E) ? E.includes({
2939
2939
  ...l,
2940
2940
  ...u
@@ -2943,13 +2943,13 @@ const $e = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Oe = Ke, l
2943
2943
  ...u
2944
2944
  }[N] === E;
2945
2945
  }) ? [
2946
- ...p,
2946
+ ...h,
2947
2947
  w,
2948
2948
  d
2949
- ] : p;
2949
+ ] : h;
2950
2950
  }, []);
2951
- return Oe(t, i, g, r?.class, r?.className);
2952
- }, Ar = lt(
2951
+ return $e(t, i, g, r?.class, r?.className);
2952
+ }, Mr = ct(
2953
2953
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2954
2954
  {
2955
2955
  variants: {
@@ -2973,18 +2973,18 @@ const $e = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Oe = Ke, l
2973
2973
  size: "default"
2974
2974
  }
2975
2975
  }
2976
- ), st = A.forwardRef(
2976
+ ), dt = T.forwardRef(
2977
2977
  ({ className: t, variant: o, size: r, asChild: n = !1, ...s }, l) => /* @__PURE__ */ a(
2978
- n ? vr : "button",
2978
+ n ? Nr : "button",
2979
2979
  {
2980
- className: c(Ar({ variant: o, size: r, className: t })),
2980
+ className: c(Mr({ variant: o, size: r, className: t })),
2981
2981
  ref: l,
2982
2982
  ...s
2983
2983
  }
2984
2984
  )
2985
2985
  );
2986
- st.displayName = "Button";
2987
- const xe = A.forwardRef(
2986
+ dt.displayName = "Button";
2987
+ const xe = T.forwardRef(
2988
2988
  ({ className: t, size: o = "md", variant: r = "default", ...n }, s) => {
2989
2989
  const l = {
2990
2990
  sm: "h-4 w-4",
@@ -3013,7 +3013,7 @@ const xe = A.forwardRef(
3013
3013
  }
3014
3014
  );
3015
3015
  xe.displayName = "Spinner";
3016
- const ge = A.forwardRef(
3016
+ const ge = T.forwardRef(
3017
3017
  ({
3018
3018
  amount: t,
3019
3019
  description: o,
@@ -3024,16 +3024,16 @@ const ge = A.forwardRef(
3024
3024
  style: i,
3025
3025
  customText: u,
3026
3026
  ...g
3027
- }, p) => {
3028
- const k = (w) => new Intl.NumberFormat("en-US", {
3027
+ }, h) => {
3028
+ const x = (w) => new Intl.NumberFormat("en-US", {
3029
3029
  style: "currency",
3030
3030
  currency: "USD",
3031
3031
  minimumFractionDigits: 2
3032
3032
  }).format(w);
3033
3033
  return /* @__PURE__ */ a(
3034
- st,
3034
+ dt,
3035
3035
  {
3036
- ref: p,
3036
+ ref: h,
3037
3037
  onClick: r,
3038
3038
  disabled: n || s,
3039
3039
  className: c(
@@ -3055,13 +3055,13 @@ const ge = A.forwardRef(
3055
3055
  }
3056
3056
  ),
3057
3057
  /* @__PURE__ */ a("span", { children: "Processing Payment..." })
3058
- ] }) : /* @__PURE__ */ a("span", { children: u || `Pay ${k(t)} USDC` })
3058
+ ] }) : /* @__PURE__ */ a("span", { children: u || `Pay ${x(t)} USDC` })
3059
3059
  }
3060
3060
  );
3061
3061
  }
3062
3062
  );
3063
3063
  ge.displayName = "PaymentButton";
3064
- const Tr = lt(
3064
+ const Sr = ct(
3065
3065
  "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
3066
3066
  {
3067
3067
  variants: {
@@ -3077,10 +3077,10 @@ const Tr = lt(
3077
3077
  }
3078
3078
  }
3079
3079
  );
3080
- function it({ className: t, variant: o, ...r }) {
3081
- return /* @__PURE__ */ a("div", { className: c(Tr({ variant: o }), t), ...r });
3080
+ function mt({ className: t, variant: o, ...r }) {
3081
+ return /* @__PURE__ */ a("div", { className: c(Sr({ variant: o }), t), ...r });
3082
3082
  }
3083
- const ct = ({
3083
+ const ut = ({
3084
3084
  wallet: t,
3085
3085
  balance: o,
3086
3086
  network: r,
@@ -3090,7 +3090,7 @@ const ct = ({
3090
3090
  className: i,
3091
3091
  style: u
3092
3092
  }) => {
3093
- const g = t?.publicKey?.toString() || t?.address, p = (w) => `${w.slice(0, 4)}...${w.slice(-4)}`, k = () => r === "solana" ? "Mainnet" : "Devnet";
3093
+ const g = t?.publicKey?.toString() || t?.address, h = (w) => `${w.slice(0, 4)}...${w.slice(-4)}`, x = () => r === "solana" ? "Mainnet" : "Devnet";
3094
3094
  return !t || !g ? /* @__PURE__ */ a(be, { className: c("border-dashed", i), style: u, children: /* @__PURE__ */ a(pe, { className: "p-4 text-center text-muted-foreground", children: /* @__PURE__ */ a("p", { className: "text-sm", children: "No wallet connected" }) }) }) : /* @__PURE__ */ a(
3095
3095
  "div",
3096
3096
  {
@@ -3141,7 +3141,7 @@ const ct = ({
3141
3141
  "text-sm",
3142
3142
  l === "light" || l === "solana-light" ? "text-black" : l === "terminal" ? "text-white font-vt323" : l === "terminal-light" ? "text-black font-vt323" : l === "seeker-light" ? "text-black" : "text-white font-mono"
3143
3143
  ),
3144
- children: p(g)
3144
+ children: h(g)
3145
3145
  }
3146
3146
  )
3147
3147
  ] })
@@ -3205,14 +3205,14 @@ const ct = ({
3205
3205
  }
3206
3206
  ),
3207
3207
  /* @__PURE__ */ a(
3208
- it,
3208
+ mt,
3209
3209
  {
3210
3210
  variant: "outline",
3211
3211
  className: c(
3212
3212
  "text-xs",
3213
3213
  l === "terminal" ? "border-green-400/30 text-white font-vt323" : "border-slate-300 text-slate-700"
3214
3214
  ),
3215
- children: k()
3215
+ children: x()
3216
3216
  }
3217
3217
  )
3218
3218
  ] })
@@ -3220,15 +3220,24 @@ const ct = ({
3220
3220
  }
3221
3221
  );
3222
3222
  };
3223
- ct.displayName = "WalletSection";
3224
- var Dr = "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
3225
- function Mr(t) {
3223
+ ut.displayName = "WalletSection";
3224
+ function Rr(t) {
3225
+ if (typeof globalThis < "u" && typeof globalThis.atob == "function") {
3226
+ const o = globalThis.atob(t), r = new Uint8Array(o.length);
3227
+ for (let s = 0; s < o.length; s++)
3228
+ r[s] = o.charCodeAt(s);
3229
+ return new TextDecoder("utf-8").decode(r);
3230
+ }
3231
+ return Buffer.from(t, "base64").toString("utf-8");
3232
+ }
3233
+ var Br = "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
3234
+ function Ir(t) {
3226
3235
  return t === "solana" || t === "solana-devnet" || t.startsWith("solana:");
3227
3236
  }
3228
- function Sr(t) {
3229
- return t === "solana" || t === Dr;
3237
+ function zr(t) {
3238
+ return t === "solana" || t === Br;
3230
3239
  }
3231
- function Pr(t, o, r) {
3240
+ function Lr(t, o, r) {
3232
3241
  const n = Buffer.from(t.serialize()).toString(
3233
3242
  "base64"
3234
3243
  ), s = {
@@ -3243,51 +3252,62 @@ function Pr(t, o, r) {
3243
3252
  transaction: n
3244
3253
  }
3245
3254
  };
3246
- return Buffer.from(JSON.stringify(s)).toString(
3255
+ return Buffer.from(JSON.stringify(s)).toString("base64");
3256
+ }
3257
+ function jr(t, o) {
3258
+ const r = Buffer.from(t.serialize()).toString("base64"), n = {
3259
+ x402Version: 1,
3260
+ scheme: o.scheme,
3261
+ network: o.network,
3262
+ payload: {
3263
+ transaction: r
3264
+ }
3265
+ };
3266
+ return Buffer.from(JSON.stringify(n)).toString(
3247
3267
  "base64"
3248
3268
  );
3249
3269
  }
3250
- function Br(t) {
3251
- return Sr(t) ? "https://api.mainnet-beta.solana.com" : "https://api.devnet.solana.com";
3270
+ function Ur(t) {
3271
+ return zr(t) ? "https://api.mainnet-beta.solana.com" : "https://api.devnet.solana.com";
3252
3272
  }
3253
- var Rr = 7e3, Ir = 1;
3254
- async function zr(t, o, r) {
3273
+ var Or = 2e4, Wr = 1;
3274
+ async function _r(t, o, r) {
3255
3275
  const n = new Ge(r, "confirmed"), s = o.extra?.feePayer;
3256
3276
  if (!s)
3257
3277
  throw new Error(
3258
3278
  "Missing facilitator feePayer in payment requirements (extra.feePayer)."
3259
3279
  );
3260
- const l = new Z(s), i = t?.publicKey?.toString() || t?.address;
3280
+ const l = new ee(s), i = t?.publicKey?.toString() || t?.address;
3261
3281
  if (!i)
3262
3282
  throw new Error("Missing connected Solana wallet address or publicKey");
3263
- const u = new Z(i);
3283
+ const u = new ee(i);
3264
3284
  if (!o.payTo)
3265
3285
  throw new Error("Missing payTo in payment requirements");
3266
- const g = new Z(o.payTo);
3286
+ const g = new ee(o.payTo);
3267
3287
  if (!o.asset)
3268
3288
  throw new Error("Missing token mint for SPL transfer");
3269
- const p = new Z(o.asset), k = [];
3270
- k.push(
3271
- Be.setComputeUnitLimit({
3272
- units: Rr
3289
+ const h = new ee(o.asset), x = [];
3290
+ x.push(
3291
+ Re.setComputeUnitLimit({
3292
+ units: Or
3273
3293
  })
3274
- ), k.push(
3275
- Be.setComputeUnitPrice({
3276
- microLamports: Ir
3294
+ ), x.push(
3295
+ Re.setComputeUnitPrice({
3296
+ microLamports: Wr
3277
3297
  })
3278
3298
  );
3279
- const d = (await n.getAccountInfo(p, "confirmed"))?.owner?.toBase58() === Re.toBase58() ? Re : yt, T = await Ft(n, p, void 0, d), M = await Ne(
3280
- p,
3299
+ const d = (await n.getAccountInfo(h, "confirmed"))?.owner?.toBase58() === Be.toBase58() ? Be : Nt, D = await Et(n, h, void 0, d), A = await Ce(
3300
+ h,
3281
3301
  u,
3282
3302
  !1,
3283
3303
  d
3284
- ), N = await Ne(
3285
- p,
3304
+ ), N = await Ce(
3305
+ h,
3286
3306
  g,
3287
3307
  !1,
3288
3308
  d
3289
3309
  );
3290
- if (!await n.getAccountInfo(M, "confirmed"))
3310
+ if (!await n.getAccountInfo(A, "confirmed"))
3291
3311
  throw new Error(
3292
3312
  `User does not have an Associated Token Account for ${o.asset}. Please create one first or ensure you have the required token.`
3293
3313
  );
@@ -3298,88 +3318,96 @@ async function zr(t, o, r) {
3298
3318
  throw new Error(
3299
3319
  `Destination does not have an Associated Token Account for ${o.asset}. The receiver must create their token account before receiving payments.`
3300
3320
  );
3301
- const I = o.amount || o.maxAmountRequired;
3302
- if (!I)
3321
+ const B = o.amount || o.maxAmountRequired;
3322
+ if (!B)
3303
3323
  throw new Error("Missing amount in payment requirements");
3304
- const C = BigInt(I);
3305
- k.push(
3306
- Ct(
3307
- M,
3308
- p,
3324
+ const C = BigInt(B);
3325
+ x.push(
3326
+ At(
3327
+ A,
3328
+ h,
3309
3329
  N,
3310
3330
  u,
3311
3331
  C,
3312
- T.decimals,
3332
+ D.decimals,
3313
3333
  [],
3314
3334
  d
3315
3335
  )
3316
3336
  );
3317
- const { blockhash: y } = await n.getLatestBlockhash("confirmed"), z = new xt({
3337
+ const { blockhash: y } = await n.getLatestBlockhash("confirmed"), I = new yt({
3318
3338
  payerKey: l,
3319
3339
  recentBlockhash: y,
3320
- instructions: k
3321
- }).compileToV0Message(), L = new kt(z);
3340
+ instructions: x
3341
+ }).compileToV0Message(), P = new vt(I);
3322
3342
  if (typeof t?.signTransaction != "function")
3323
3343
  throw new Error("Connected wallet does not support signTransaction");
3324
- return await t.signTransaction(L);
3344
+ return await t.signTransaction(P);
3345
+ }
3346
+ function $r(t) {
3347
+ const o = Rr(t);
3348
+ return JSON.parse(o);
3325
3349
  }
3326
- function Lr(t, o, r, n = BigInt(0), s = !1) {
3350
+ function Vr(t, o, r, n = BigInt(0), s = !1) {
3327
3351
  const l = (...i) => {
3328
3352
  s && console.log("[x402-solana]", ...i);
3329
3353
  };
3330
3354
  return async (i, u) => {
3331
3355
  const g = typeof i == "string" ? i : i.url;
3332
3356
  l("Making initial request to:", g);
3333
- const p = await t(i, u);
3334
- if (l("Initial response status:", p.status), p.status !== 402)
3335
- return p;
3357
+ const h = await t(i, u);
3358
+ if (l("Initial response status:", h.status), h.status !== 402)
3359
+ return h;
3336
3360
  l("Got 402, parsing payment requirements...");
3337
- const k = await p.json();
3338
- l("Payment requirements:", JSON.stringify(k, null, 2));
3339
- const w = k.accepts || [], d = w.find(
3340
- (C) => C.scheme === "exact" && Mr(C.network)
3361
+ let x, w;
3362
+ const d = h.headers.get("PAYMENT-REQUIRED");
3363
+ d ? (l("Found PAYMENT-REQUIRED header (v2 protocol)"), x = $r(d), w = 2) : (l("No PAYMENT-REQUIRED header, falling back to body (v1 protocol)"), x = await h.json(), w = 1), l("Payment requirements:", JSON.stringify(x, null, 2)), l("Protocol version:", w);
3364
+ const D = x.accepts || [], A = D.find(
3365
+ (P) => P.scheme === "exact" && Ir(P.network)
3341
3366
  );
3342
- if (!d)
3367
+ if (!A)
3343
3368
  throw console.error(
3344
3369
  "❌ No suitable Solana payment requirements found. Available networks:",
3345
- w.map((C) => C.network)
3370
+ D.map((P) => P.network)
3346
3371
  ), new Error("No suitable Solana payment requirements found");
3347
- const T = BigInt(
3348
- d.amount || d.maxAmountRequired || "0"
3372
+ const N = BigInt(
3373
+ A.amount || A.maxAmountRequired || "0"
3349
3374
  );
3350
- if (n > BigInt(0) && T > n)
3375
+ if (n > BigInt(0) && N > n)
3351
3376
  throw new Error("Payment amount exceeds maximum allowed");
3352
- const M = typeof i == "string" ? i : i.url;
3377
+ const E = typeof i == "string" ? i : i.url;
3353
3378
  l("Creating signed transaction...");
3354
- const N = await zr(
3379
+ const S = await _r(
3355
3380
  o,
3356
- d,
3381
+ A,
3357
3382
  r
3358
3383
  );
3359
3384
  l("Transaction signed successfully");
3360
- const E = Pr(
3361
- N,
3362
- d,
3363
- M
3364
- );
3365
- l("Payment header created, length:", E.length);
3366
- const P = {
3385
+ let B, C;
3386
+ w === 2 ? (B = Lr(
3387
+ S,
3388
+ A,
3389
+ E
3390
+ ), C = "PAYMENT-SIGNATURE") : (B = jr(
3391
+ S,
3392
+ A
3393
+ ), C = "X-PAYMENT"), l("Payment header created, length:", B.length), l("Using header:", C);
3394
+ const y = {
3367
3395
  ...u,
3368
3396
  headers: {
3369
3397
  ...u?.headers || {},
3370
- "PAYMENT-SIGNATURE": E
3398
+ [C]: B
3371
3399
  }
3372
3400
  };
3373
- l("Retrying request with PAYMENT-SIGNATURE header...");
3374
- const I = await t(i, P);
3401
+ l(`Retrying request with ${C} header...`);
3402
+ const I = await t(i, y);
3375
3403
  return l("Retry response status:", I.status), I;
3376
3404
  };
3377
3405
  }
3378
- var jr = class {
3406
+ var Gr = class {
3379
3407
  paymentFetch;
3380
3408
  constructor(t) {
3381
- const o = t.rpcUrl || Br(t.network), r = t.customFetch || globalThis.fetch.bind(globalThis);
3382
- this.paymentFetch = Lr(
3409
+ const o = t.rpcUrl || Ur(t.network), r = t.customFetch || globalThis.fetch.bind(globalThis);
3410
+ this.paymentFetch = Vr(
3383
3411
  r,
3384
3412
  t.wallet,
3385
3413
  o,
@@ -3395,79 +3423,79 @@ var jr = class {
3395
3423
  return this.paymentFetch(t, o);
3396
3424
  }
3397
3425
  };
3398
- function Ur(t) {
3399
- return new jr(t);
3426
+ function Kr(t) {
3427
+ return new Gr(t);
3400
3428
  }
3401
- function _r(t) {
3402
- const [o, r] = Y("idle"), [n, s] = Y(null), [l, i] = Y(null), [u, g] = Y(null), [p, k] = Y(!1), w = Se(() => {
3403
- r("idle"), s(null), i(null), g(null), k(!1);
3429
+ function Yr(t) {
3430
+ const [o, r] = q("idle"), [n, s] = q(null), [l, i] = q(null), [u, g] = q(null), [h, x] = q(!1), w = Me(() => {
3431
+ r("idle"), s(null), i(null), g(null), x(!1);
3404
3432
  }, []);
3405
3433
  return {
3406
- pay: Se(
3407
- async (T, M) => {
3434
+ pay: Me(
3435
+ async (D, A) => {
3408
3436
  try {
3409
- if (k(!0), r("pending"), s(null), t.amount && T > t.amount)
3410
- throw new Error(`Payment amount ${T} exceeds maximum allowed ${t.amount}`);
3437
+ if (x(!0), r("pending"), s(null), t.amount && D > t.amount)
3438
+ throw new Error(`Payment amount ${D} exceeds maximum allowed ${t.amount}`);
3411
3439
  const N = t.wallet.publicKey?.toString() || t.wallet.address;
3412
3440
  if (!N)
3413
3441
  throw new Error("Wallet not connected");
3414
- const E = Ur({
3442
+ const E = Kr({
3415
3443
  wallet: t.wallet,
3416
3444
  network: t.network,
3417
3445
  rpcUrl: t.rpcUrl,
3418
3446
  amount: t.amount ? BigInt(Math.floor(t.amount * 1e6)) : void 0,
3419
3447
  verbose: t.verbose
3420
3448
  });
3421
- let P;
3422
- t.network === "solana" ? P = "https://x402.payai.network/api/solana/paid-content" : P = "https://x402.payai.network/api/solana-devnet/paid-content";
3423
- const I = t.apiEndpoint || P, C = I === P;
3449
+ let S;
3450
+ t.network === "solana" ? S = "https://x402.payai.network/api/solana/paid-content" : S = "https://x402.payai.network/api/solana-devnet/paid-content";
3451
+ const B = t.apiEndpoint || S, C = B === S;
3424
3452
  t.verbose && console.log("Initiating x402 payment:", {
3425
- endpoint: I,
3453
+ endpoint: B,
3426
3454
  isDemo: C,
3427
- amount: T,
3428
- description: M,
3455
+ amount: D,
3456
+ description: A,
3429
3457
  wallet: N,
3430
3458
  network: t.network
3431
3459
  });
3432
- const y = await E.fetch(I, {
3460
+ const y = await E.fetch(B, {
3433
3461
  method: "POST",
3434
3462
  headers: {
3435
3463
  "Content-Type": "application/json"
3436
3464
  },
3437
3465
  body: JSON.stringify({
3438
- message: M,
3439
- amount: T
3466
+ message: A,
3467
+ amount: D
3440
3468
  })
3441
3469
  });
3442
3470
  if (!y.ok)
3443
3471
  throw new Error(`Payment request failed: ${y.statusText}`);
3444
- let z, L = null;
3445
- const $ = y.headers.get("content-type");
3446
- if ($ && $.includes("application/json"))
3447
- z = await y.json(), L = JSON.stringify(z);
3472
+ let I, P = null;
3473
+ const W = y.headers.get("content-type");
3474
+ if (W && W.includes("application/json"))
3475
+ I = await y.json(), P = JSON.stringify(I);
3448
3476
  else {
3449
3477
  const j = await y.text();
3450
- z = { content: j }, L = j;
3478
+ I = { content: j }, P = j;
3451
3479
  }
3452
- g(L), t.verbose && console.log("Payment successful:", z);
3453
- const x = y.headers.get("PAYMENT-RESPONSE");
3480
+ g(P), t.verbose && console.log("Payment successful:", I);
3481
+ const k = y.headers.get("PAYMENT-RESPONSE");
3454
3482
  let e = `tx_${Date.now()}`;
3455
- if (x)
3483
+ if (k)
3456
3484
  try {
3457
- const j = JSON.parse(atob(x));
3485
+ const j = JSON.parse(atob(k));
3458
3486
  e = j.transactionId || j.signature || e, t.verbose && console.log("Payment details:", j);
3459
3487
  } catch (j) {
3460
3488
  t.verbose && console.warn("Could not decode payment response:", j);
3461
3489
  }
3462
- return i(e), r("success"), k(!1), e;
3490
+ return i(e), r("success"), x(!1), e;
3463
3491
  } catch (N) {
3464
3492
  const E = N instanceof Error ? N : new Error("Payment failed");
3465
- return s(E), r("error"), k(!1), null;
3493
+ return s(E), r("error"), x(!1), null;
3466
3494
  }
3467
3495
  },
3468
3496
  [t]
3469
3497
  ),
3470
- isLoading: p,
3498
+ isLoading: h,
3471
3499
  status: o,
3472
3500
  error: n,
3473
3501
  transactionId: l,
@@ -3475,7 +3503,7 @@ function _r(t) {
3475
3503
  reset: w
3476
3504
  };
3477
3505
  }
3478
- const We = ({
3506
+ const Ve = ({
3479
3507
  amount: t,
3480
3508
  description: o,
3481
3509
  wallet: r,
@@ -3485,42 +3513,42 @@ const We = ({
3485
3513
  facilitatorUrl: i,
3486
3514
  theme: u = "solana-light",
3487
3515
  logoUrl: g = "https://raw.githubusercontent.com/PayAINetwork/x402-solana-react/main/src/components/ui/SolanaLogo.svg",
3488
- showPaymentDetails: p = !0,
3489
- onDisconnect: k,
3516
+ showPaymentDetails: h = !0,
3517
+ onDisconnect: x,
3490
3518
  classNames: w,
3491
3519
  customStyles: d,
3492
- maxPaymentAmount: T,
3520
+ maxPaymentAmount: D,
3493
3521
  // enablePaymentCaching = false, // TODO: Implement in future
3494
3522
  // autoRetry = false, // TODO: Implement in future
3495
- onPaymentStart: M,
3523
+ onPaymentStart: A,
3496
3524
  onPaymentSuccess: N,
3497
3525
  onPaymentError: E,
3498
- onWalletConnect: P,
3499
- children: I
3526
+ onWalletConnect: S,
3527
+ children: B
3500
3528
  }) => {
3501
- const C = gt(), y = Ce(() => r || {
3529
+ const C = pt(), y = Fe(() => r || {
3502
3530
  publicKey: C.publicKey ? { toString: () => C.publicKey.toString() } : void 0,
3503
3531
  signTransaction: C.signTransaction
3504
- }, [r, C.publicKey, C.signTransaction]), [z, L] = Y(!1), [$, x] = Y("0.00"), [e, j] = Y(() => u === "system" ? typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : "dark" : u), te = dt(null), W = n === "solana" ? "Mainnet" : "Devnet", { pay: ne, isLoading: K, status: G, error: R, transactionId: O, responseContent: f, reset: ae } = _r({
3532
+ }, [r, C.publicKey, C.signTransaction]), [I, P] = q(!1), [W, k] = q("0.00"), [e, j] = q(() => u === "system" ? typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : "dark" : u), te = gt(null), $ = n === "solana" ? "Mainnet" : "Devnet", { pay: ne, isLoading: K, status: V, error: L, transactionId: _, responseContent: f, reset: ae } = Yr({
3505
3533
  wallet: y,
3506
3534
  network: n,
3507
3535
  rpcUrl: s,
3508
3536
  apiEndpoint: l,
3509
3537
  facilitatorUrl: i,
3510
- amount: T
3538
+ amount: D
3511
3539
  }), le = () => {
3512
- k ? k() : !r && C.disconnect && C.disconnect();
3540
+ x ? x() : !r && C.disconnect && C.disconnect();
3513
3541
  }, se = r ? !!(r.publicKey || r.address) : !!(C.connected || C.publicKey);
3514
3542
  re(() => {
3515
3543
  if (u === "system")
3516
3544
  if (typeof window < "u" && window.matchMedia) {
3517
- const D = window.matchMedia("(prefers-color-scheme: dark)"), F = () => {
3518
- j(D.matches ? "dark" : "light");
3545
+ const M = window.matchMedia("(prefers-color-scheme: dark)"), F = () => {
3546
+ j(M.matches ? "dark" : "light");
3519
3547
  };
3520
- if (D.addEventListener)
3521
- return D.addEventListener("change", F), F(), () => D.removeEventListener("change", F);
3522
- if (D.addListener)
3523
- return D.addListener(F), F(), () => D.removeListener(F);
3548
+ if (M.addEventListener)
3549
+ return M.addEventListener("change", F), F(), () => M.removeEventListener("change", F);
3550
+ if (M.addListener)
3551
+ return M.addListener(F), F(), () => M.removeListener(F);
3524
3552
  F();
3525
3553
  } else
3526
3554
  j("dark");
@@ -3528,13 +3556,13 @@ const We = ({
3528
3556
  j(u);
3529
3557
  }, [u]), re(() => {
3530
3558
  document.body.className = document.body.className.replace(/wallet-modal-theme-\w+/g, "").replace(/\s+/g, " ").trim();
3531
- const D = u === "system" ? e : u;
3532
- return D && (document.body.className += ` wallet-modal-theme-${D}`), () => {
3559
+ const M = u === "system" ? e : u;
3560
+ return M && (document.body.className += ` wallet-modal-theme-${M}`), () => {
3533
3561
  document.body.className = document.body.className.replace(/wallet-modal-theme-\w+/g, "").replace(/\s+/g, " ").trim();
3534
3562
  };
3535
3563
  }, [u, e]), re(() => {
3536
- const D = C.publicKey?.toString() || r?.publicKey?.toString() || r?.address;
3537
- D && C.connected && (console.log("Wallet connected:", D), P?.(D), At(D, n, s).then(x)), !C.connected && !r && x("0.00");
3564
+ const M = C.publicKey?.toString() || r?.publicKey?.toString() || r?.address;
3565
+ M && C.connected && (console.log("Wallet connected:", M), S?.(M), Pt(M, n, s).then(k)), !C.connected && !r && k("0.00");
3538
3566
  }, [
3539
3567
  C.publicKey,
3540
3568
  C.connected,
@@ -3542,18 +3570,18 @@ const We = ({
3542
3570
  r,
3543
3571
  n,
3544
3572
  s,
3545
- P
3573
+ S
3546
3574
  ]), re(() => {
3547
- G === "success" && O && (L(!0), N?.(O, f));
3548
- }, [G, O, f, N]), re(() => {
3549
- R && E?.(R);
3550
- }, [R, E]);
3551
- const X = async () => {
3552
- M?.(), await ne(t, o);
3575
+ V === "success" && _ && (P(!0), N?.(_, f));
3576
+ }, [V, _, f, N]), re(() => {
3577
+ L && E?.(L);
3578
+ }, [L, E]);
3579
+ const Z = async () => {
3580
+ A?.(), await ne(t, o);
3553
3581
  };
3554
- if (z)
3555
- return /* @__PURE__ */ a(ve, { children: I });
3556
- const B = R && (e === "dark" || e === "solana-dark" || e === "light" || e === "solana-light" || e === "seeker" || e === "seeker-2" || e === "seeker-light" || e === "terminal" || e === "terminal-light"), _ = (() => {
3582
+ if (I)
3583
+ return /* @__PURE__ */ a(ye, { children: B });
3584
+ const z = L && (e === "dark" || e === "solana-dark" || e === "light" || e === "solana-light" || e === "seeker" || e === "seeker-2" || e === "seeker-light" || e === "terminal" || e === "terminal-light"), O = (() => {
3557
3585
  switch (e) {
3558
3586
  case "solana-dark":
3559
3587
  return {
@@ -3856,7 +3884,7 @@ const We = ({
3856
3884
  ...d?.card
3857
3885
  } : d?.card,
3858
3886
  children: [
3859
- /* @__PURE__ */ m(Ae, { className: "pb-6", children: [
3887
+ /* @__PURE__ */ m(Ee, { className: "pb-6", children: [
3860
3888
  /* @__PURE__ */ m(
3861
3889
  "div",
3862
3890
  {
@@ -3885,7 +3913,7 @@ const We = ({
3885
3913
  ),
3886
3914
  /* @__PURE__ */ m("div", { children: [
3887
3915
  /* @__PURE__ */ a(
3888
- Te,
3916
+ Ae,
3889
3917
  {
3890
3918
  className: c(
3891
3919
  "text-l fw-bold pb-1",
@@ -3896,7 +3924,7 @@ const We = ({
3896
3924
  }
3897
3925
  ),
3898
3926
  /* @__PURE__ */ a(
3899
- De,
3927
+ Te,
3900
3928
  {
3901
3929
  className: c(
3902
3930
  "text-sm font-light",
@@ -4094,7 +4122,7 @@ const We = ({
4094
4122
  )
4095
4123
  ] }),
4096
4124
  /* @__PURE__ */ m("div", { className: "relative", children: [
4097
- /* @__PURE__ */ a("div", { ref: te, className: "absolute opacity-0 pointer-events-none -z-10", children: /* @__PURE__ */ a(bt, {}) }),
4125
+ /* @__PURE__ */ a("div", { ref: te, className: "absolute opacity-0 pointer-events-none -z-10", children: /* @__PURE__ */ a(xt, {}) }),
4098
4126
  /* @__PURE__ */ a(
4099
4127
  ge,
4100
4128
  {
@@ -4182,7 +4210,7 @@ const We = ({
4182
4210
  {
4183
4211
  className: c(
4184
4212
  "flex items-center justify-center min-h-screen p-4",
4185
- _.container,
4213
+ O.container,
4186
4214
  w?.container
4187
4215
  ),
4188
4216
  style: e === "dark" ? {
@@ -4235,7 +4263,7 @@ const We = ({
4235
4263
  /* @__PURE__ */ m(
4236
4264
  be,
4237
4265
  {
4238
- className: c("w-full max-w-lg shadow-2xl border-0", _.card, w?.card),
4266
+ className: c("w-full max-w-lg shadow-2xl border-0", O.card, w?.card),
4239
4267
  style: e === "seeker" ? {
4240
4268
  backgroundColor: "#171719",
4241
4269
  ...d?.card
@@ -4258,7 +4286,7 @@ const We = ({
4258
4286
  ...d?.card
4259
4287
  } : d?.card,
4260
4288
  children: [
4261
- /* @__PURE__ */ m(Ae, { className: "pb-6", children: [
4289
+ /* @__PURE__ */ m(Ee, { className: "pb-6", children: [
4262
4290
  /* @__PURE__ */ m(
4263
4291
  "div",
4264
4292
  {
@@ -4287,15 +4315,15 @@ const We = ({
4287
4315
  ),
4288
4316
  /* @__PURE__ */ m("div", { children: [
4289
4317
  /* @__PURE__ */ a(
4290
- Te,
4318
+ Ae,
4291
4319
  {
4292
- className: c("text-l fw-bold pb-1", _.title, w?.text),
4320
+ className: c("text-l fw-bold pb-1", O.title, w?.text),
4293
4321
  style: d?.text,
4294
4322
  children: "Premium Content XYZ"
4295
4323
  }
4296
4324
  ),
4297
4325
  /* @__PURE__ */ a(
4298
- De,
4326
+ Te,
4299
4327
  {
4300
4328
  className: c(
4301
4329
  "text-sm font-light",
@@ -4323,7 +4351,7 @@ const We = ({
4323
4351
  } : e === "seeker-light" ? { marginBottom: "1rem" } : e === "light" || e === "solana-light" ? { marginBottom: "1rem" } : e === "dark" || e === "solana-dark" ? { marginBottom: "1rem" } : void 0
4324
4352
  }
4325
4353
  ),
4326
- !B && /* @__PURE__ */ m("div", { className: "text-center", children: [
4354
+ !z && /* @__PURE__ */ m("div", { className: "text-center", children: [
4327
4355
  /* @__PURE__ */ a(
4328
4356
  "h2",
4329
4357
  {
@@ -4344,7 +4372,7 @@ const We = ({
4344
4372
  style: e === "terminal" ? { color: "#FFFFFF99" } : e === "terminal-light" ? { color: "#71717A" } : e === "seeker-light" ? { color: "#71717A" } : void 0,
4345
4373
  children: [
4346
4374
  "Access to protected content on Solana ",
4347
- W,
4375
+ $,
4348
4376
  ". To access this content, please pay $",
4349
4377
  t.toFixed(2),
4350
4378
  " USDC"
@@ -4353,7 +4381,7 @@ const We = ({
4353
4381
  )
4354
4382
  ] })
4355
4383
  ] }),
4356
- /* @__PURE__ */ a(pe, { className: "space-y-6", children: B ? /* @__PURE__ */ m(ve, { children: [
4384
+ /* @__PURE__ */ a(pe, { className: "space-y-6", children: z ? /* @__PURE__ */ m(ye, { children: [
4357
4385
  /* @__PURE__ */ a("div", { className: "flex justify-center mb-4", children: /* @__PURE__ */ a("div", { className: "w-16 h-16 rounded-full bg-red-500 flex items-center justify-center", children: /* @__PURE__ */ a(
4358
4386
  "svg",
4359
4387
  {
@@ -4382,7 +4410,7 @@ const We = ({
4382
4410
  "text-center text-sm mb-6",
4383
4411
  e === "dark" || e === "solana-dark" || e === "seeker" || e === "seeker-2" ? "text-gray-400" : "text-slate-600"
4384
4412
  ),
4385
- children: R?.message || "It looks like your wallet doesn't have enough funds or the transaction was declined. Please review the details and try again."
4413
+ children: L?.message || "It looks like your wallet doesn't have enough funds or the transaction was declined. Please review the details and try again."
4386
4414
  }
4387
4415
  ),
4388
4416
  /* @__PURE__ */ a(
@@ -4459,7 +4487,7 @@ const We = ({
4459
4487
  ),
4460
4488
  children: [
4461
4489
  "$",
4462
- $
4490
+ W
4463
4491
  ]
4464
4492
  }
4465
4493
  )
@@ -4506,7 +4534,7 @@ const We = ({
4506
4534
  "text-sm",
4507
4535
  e === "dark" || e === "solana-dark" || e === "seeker" || e === "seeker-2" ? "text-white" : "text-slate-900"
4508
4536
  ),
4509
- children: W
4537
+ children: $
4510
4538
  }
4511
4539
  )
4512
4540
  ] })
@@ -4559,7 +4587,7 @@ const We = ({
4559
4587
  amount: t,
4560
4588
  description: o,
4561
4589
  onClick: () => {
4562
- ae(), X();
4590
+ ae(), Z();
4563
4591
  },
4564
4592
  loading: K,
4565
4593
  disabled: K || !y?.publicKey,
@@ -4651,9 +4679,9 @@ const We = ({
4651
4679
  ]
4652
4680
  }
4653
4681
  ) })
4654
- ] }) : /* @__PURE__ */ m(ve, { children: [
4682
+ ] }) : /* @__PURE__ */ m(ye, { children: [
4655
4683
  /* @__PURE__ */ a(
4656
- ct,
4684
+ ut,
4657
4685
  {
4658
4686
  wallet: y,
4659
4687
  onDisconnect: le,
@@ -4675,10 +4703,10 @@ const We = ({
4675
4703
  } : e === "light" || e === "solana-light" ? { backgroundColor: "#F4F4F5", border: "none" } : void 0
4676
4704
  }
4677
4705
  ),
4678
- p && (e === "seeker" || e === "seeker-2" ? /* @__PURE__ */ m(
4706
+ h && (e === "seeker" || e === "seeker-2" ? /* @__PURE__ */ m(
4679
4707
  "div",
4680
4708
  {
4681
- className: c("p-6", _.paymentDetails),
4709
+ className: c("p-6", O.paymentDetails),
4682
4710
  style: e === "seeker" ? {
4683
4711
  backgroundColor: "rgba(0, 0, 0, 0.12)"
4684
4712
  } : e === "seeker-2" ? { backgroundColor: "#171A1A" } : void 0,
@@ -4706,7 +4734,7 @@ const We = ({
4706
4734
  /* @__PURE__ */ a("span", { className: "text-sm text-white", children: "Available Balance" }),
4707
4735
  /* @__PURE__ */ m("div", { className: "text-sm text-white", children: [
4708
4736
  "$",
4709
- $
4737
+ W
4710
4738
  ] })
4711
4739
  ] }),
4712
4740
  /* @__PURE__ */ m("div", { className: "flex items-center justify-between", children: [
@@ -4723,7 +4751,7 @@ const We = ({
4723
4751
  style: { backgroundColor: "#95D2E6" }
4724
4752
  }
4725
4753
  ),
4726
- /* @__PURE__ */ a("span", { className: "text-sm text-white", children: W })
4754
+ /* @__PURE__ */ a("span", { className: "text-sm text-white", children: $ })
4727
4755
  ] })
4728
4756
  ] })
4729
4757
  ] })
@@ -4734,7 +4762,7 @@ const We = ({
4734
4762
  {
4735
4763
  className: c(
4736
4764
  "p-6",
4737
- e === "light" || e === "solana-light" ? "bg-[#F4F4F5] border-none rounded-xl" : _.paymentDetails
4765
+ e === "light" || e === "solana-light" ? "bg-[#F4F4F5] border-none rounded-xl" : O.paymentDetails
4738
4766
  ),
4739
4767
  style: e === "terminal" ? {
4740
4768
  backgroundColor: "#0B2D2D",
@@ -4826,7 +4854,7 @@ const We = ({
4826
4854
  ),
4827
4855
  children: [
4828
4856
  "$",
4829
- $
4857
+ W
4830
4858
  ]
4831
4859
  }
4832
4860
  )
@@ -4882,7 +4910,7 @@ const We = ({
4882
4910
  "text-sm",
4883
4911
  e === "dark" || e === "solana-dark" ? "text-white" : e === "terminal-light" ? "text-black font-vt323" : e === "seeker-light" ? "text-black" : e === "terminal" ? "text-white font-vt323" : "text-slate-900"
4884
4912
  ),
4885
- children: W
4913
+ children: $
4886
4914
  }
4887
4915
  )
4888
4916
  ] })
@@ -4913,7 +4941,7 @@ const We = ({
4913
4941
  /* @__PURE__ */ a(
4914
4942
  "span",
4915
4943
  {
4916
- className: c("text-sm", _.securityMessage),
4944
+ className: c("text-sm", O.securityMessage),
4917
4945
  style: e === "terminal" ? { color: "#FFFFFF99" } : e === "seeker" ? { color: "#FFFFFF66" } : e === "seeker-2" ? { color: "#FFFFFF66" } : e === "terminal-light" ? { color: "#71717A" } : e === "seeker-light" ? { color: "#000000" } : void 0,
4918
4946
  children: "Secure payment powered by Solana"
4919
4947
  }
@@ -4924,12 +4952,12 @@ const We = ({
4924
4952
  {
4925
4953
  amount: t,
4926
4954
  description: o,
4927
- onClick: X,
4955
+ onClick: Z,
4928
4956
  loading: K,
4929
4957
  disabled: K || !y?.publicKey,
4930
4958
  className: c(
4931
4959
  "w-full h-12",
4932
- e === "dark" || e === "solana-dark" ? e === "dark" ? "bg-[#FFFFFF1F] rounded-full" : "bg-solana-gradient rounded-full" : _.button,
4960
+ e === "dark" || e === "solana-dark" ? e === "dark" ? "bg-[#FFFFFF1F] rounded-full" : "bg-solana-gradient rounded-full" : O.button,
4933
4961
  w?.button
4934
4962
  ),
4935
4963
  style: e === "terminal" ? {
@@ -4959,12 +4987,12 @@ const We = ({
4959
4987
  } : d?.button
4960
4988
  }
4961
4989
  ),
4962
- R && /* @__PURE__ */ a("div", { className: "bg-red-50 border border-red-200 rounded-lg p-4", children: /* @__PURE__ */ m("p", { className: "text-sm text-red-800 text-center", children: [
4990
+ L && /* @__PURE__ */ a("div", { className: "bg-red-50 border border-red-200 rounded-lg p-4", children: /* @__PURE__ */ m("p", { className: "text-sm text-red-800 text-center", children: [
4963
4991
  /* @__PURE__ */ a("span", { className: "font-semibold", children: "Payment Error:" }),
4964
4992
  " ",
4965
- R.message
4993
+ L.message
4966
4994
  ] }) }),
4967
- /* @__PURE__ */ a("div", { className: "text-center", children: /* @__PURE__ */ m("p", { className: c("text-sm", _.helperText), children: [
4995
+ /* @__PURE__ */ a("div", { className: "text-center", children: /* @__PURE__ */ m("p", { className: c("text-sm", O.helperText), children: [
4968
4996
  /* @__PURE__ */ m(
4969
4997
  "span",
4970
4998
  {
@@ -4981,7 +5009,7 @@ const We = ({
4981
5009
  href: "#",
4982
5010
  className: c(
4983
5011
  "font-medium",
4984
- e === "seeker" || e === "seeker-2" ? "text-[#95D2E6]" : e === "seeker-light" ? "hover:opacity-90" : e === "light" || e === "solana-light" ? "text-purple-600" : e === "terminal" || e === "terminal-light" ? "hover:opacity-90" : _.helperLink || "text-[#4ADE80]"
5012
+ e === "seeker" || e === "seeker-2" ? "text-[#95D2E6]" : e === "seeker-light" ? "hover:opacity-90" : e === "light" || e === "solana-light" ? "text-purple-600" : e === "terminal" || e === "terminal-light" ? "hover:opacity-90" : O.helperLink || "text-[#4ADE80]"
4985
5013
  ),
4986
5014
  style: e === "terminal" ? { color: "#32FEFF" } : e === "terminal-light" ? { color: "#000000" } : e === "seeker" ? { color: "#95D2E6" } : e === "seeker-2" ? { color: "#95D2E6" } : e === "seeker-light" ? { color: "#00BECC" } : void 0,
4987
5015
  children: [
@@ -5017,20 +5045,20 @@ const We = ({
5017
5045
  ]
5018
5046
  }
5019
5047
  );
5020
- }, $r = ({
5048
+ }, qr = ({
5021
5049
  autoSetupProviders: t = !0,
5022
5050
  providerNetwork: o,
5023
5051
  providerEndpoint: r,
5024
5052
  ...n
5025
5053
  }) => {
5026
- const s = o ?? (n.network === "solana" ? Pe.Mainnet : Pe.Devnet), l = Ce(
5027
- () => r || n.rpcUrl || wt(s),
5054
+ const s = o ?? (n.network === "solana" ? Se.Mainnet : Se.Devnet), l = Fe(
5055
+ () => r || n.rpcUrl || Ft(s),
5028
5056
  [r, n.rpcUrl, s]
5029
- ), i = Ce(() => [new pt(), new ft()], []);
5030
- return t ? /* @__PURE__ */ a(mt, { endpoint: l, children: /* @__PURE__ */ a(ut, { wallets: i, autoConnect: !0, children: /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(We, { ...n }) }) }) }) : /* @__PURE__ */ a(We, { ...n });
5057
+ ), i = Fe(() => [new kt(), new wt()], []);
5058
+ return t ? /* @__PURE__ */ a(ht, { endpoint: l, children: /* @__PURE__ */ a(bt, { wallets: i, autoConnect: !0, children: /* @__PURE__ */ a(ft, { children: /* @__PURE__ */ a(Ve, { ...n }) }) }) }) : /* @__PURE__ */ a(Ve, { ...n });
5031
5059
  };
5032
- $r.displayName = "X402Paywall";
5033
- const Or = ({
5060
+ qr.displayName = "X402Paywall";
5061
+ const Hr = ({
5034
5062
  status: t,
5035
5063
  message: o,
5036
5064
  progress: r,
@@ -5113,7 +5141,7 @@ const Or = ({
5113
5141
  })();
5114
5142
  return /* @__PURE__ */ m("div", { className: c("flex flex-col gap-2", n), style: s, children: [
5115
5143
  /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: [
5116
- /* @__PURE__ */ m(it, { className: c("flex items-center gap-1.5", i.color), children: [
5144
+ /* @__PURE__ */ m(mt, { className: c("flex items-center gap-1.5", i.color), children: [
5117
5145
  i.icon,
5118
5146
  /* @__PURE__ */ a("span", { children: i.label })
5119
5147
  ] }),
@@ -5128,21 +5156,21 @@ const Or = ({
5128
5156
  ) })
5129
5157
  ] });
5130
5158
  };
5131
- Or.displayName = "PaymentStatus";
5159
+ Hr.displayName = "PaymentStatus";
5132
5160
  export {
5133
- it as Badge,
5134
- st as Button,
5161
+ mt as Badge,
5162
+ dt as Button,
5135
5163
  be as Card,
5136
5164
  pe as CardContent,
5137
- De as CardDescription,
5138
- Ae as CardHeader,
5139
- Te as CardTitle,
5165
+ Te as CardDescription,
5166
+ Ee as CardHeader,
5167
+ Ae as CardTitle,
5140
5168
  ge as PaymentButton,
5141
- Or as PaymentStatus,
5169
+ Hr as PaymentStatus,
5142
5170
  xe as Spinner,
5143
- ct as WalletSection,
5144
- $r as X402Paywall,
5171
+ ut as WalletSection,
5172
+ qr as X402Paywall,
5145
5173
  c as cn,
5146
- _r as useX402Payment
5174
+ Yr as useX402Payment
5147
5175
  };
5148
5176
  //# sourceMappingURL=index.mjs.map