@getmicdrop/venue-calendar 4.2.3 → 4.2.5

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.
Files changed (102) hide show
  1. package/dist/{ArrowLeftIcon-CxZXP_IT.js → ArrowLeftIcon-BxKUPFOE.js} +1 -1
  2. package/dist/{Badge-Bv_MT-Vt.js → Badge-M6qZyfTF.js} +9 -10
  3. package/dist/BlockPlaceholder-CLdS2Y-c.js +62 -0
  4. package/dist/{Calendar-BKefLfIt.js → Calendar-DwNhbEQY.js} +290 -292
  5. package/dist/CalendarFoundryView-BX5mT6NY.js +23561 -0
  6. package/dist/{CalendarIcon-CLGR_zlO.js → CalendarIcon-jLckZ_4N.js} +1 -1
  7. package/dist/{CartView-CHFlfWS9.js → CartView-B61KRyFq.js} +644 -651
  8. package/dist/Checkout-CoExiUba.js +1809 -0
  9. package/dist/{Checkout-C-A4t1eE.js → Checkout-DlQ2x3L6.js} +97 -97
  10. package/dist/{CheckoutTimer-d3KUbevy.js → CheckoutTimer-Cv9iQj2d.js} +5 -5
  11. package/dist/{ChevronDownIcon-YtBeSqjf.js → ChevronDownIcon-DiZxxS3e.js} +1 -1
  12. package/dist/{ClockIcon-a9tJQ5El.js → ClockIcon-BrWavNGl.js} +1 -1
  13. package/dist/{CloseIcon-DSURK5co.js → CloseIcon-Cmddp2PA.js} +1 -1
  14. package/dist/{CollectionView-BiBMllyw.js → CollectionView-DpkF55yD.js} +12 -13
  15. package/dist/Event-CzNN2jRR.js +3040 -0
  16. package/dist/{EventPage-C7K2yA4v.js → EventPage-DnKNNWk8.js} +167 -168
  17. package/dist/{Heading-Dfo3bjyn.js → Heading-B7VYbbfJ.js} +3 -4
  18. package/dist/Image-DBJAfLYe.js +81 -0
  19. package/dist/{phoneUtils-FnBDCqO0.js → Input-DsWjpYtc.js} +1132 -694
  20. package/dist/{MailIcon-DIrQpcGo.js → MailIcon-gpZMGdBK.js} +1 -1
  21. package/dist/{Modal-DrA1swbF.js → Modal-D4AUdrz8.js} +2 -2
  22. package/dist/{ModalFooter-r1NQNG9P.js → ModalFooter-8Di4-qKC.js} +57 -59
  23. package/dist/{PasswordInput-DB4qa7kS.js → PasswordInput-Buk60yEf.js} +4 -4
  24. package/dist/{ScarcityBadge-BJOm7_Ho.js → ScarcityBadge-DgrS89hq.js} +4 -4
  25. package/dist/{SeriesPage-JVmqUSax.js → SeriesPage-BCovOJ6a.js} +5 -5
  26. package/dist/{Spinner-BwiDys7C.js → Spinner-ChTN7t75.js} +3 -3
  27. package/dist/{Success-DAE6gPZM.js → Success-BRufJqwQ.js} +80 -81
  28. package/dist/{TagIcon-CrTNd8qE.js → TagIcon-C0uTQgU8.js} +1 -1
  29. package/dist/{ViewTicketsEmbed-Zx-mvP2p.js → ViewTicketsEmbed-CfagtvVL.js} +66 -67
  30. package/dist/{WarningCircleIcon-C5-op3Cy.js → WarningCircleIcon-B2hkUrvV.js} +1 -1
  31. package/dist/{WarningTriIcon-BxIQn7c2.js → WarningTriIcon-Boy4IW6-.js} +1 -1
  32. package/dist/{__SKIP_PATHS__-DyyiXBgB.js → __SKIP_PATHS__-DPK-YB-V.js} +1 -1
  33. package/dist/{href-C8WGnROy.js → allowlist-Cu2kP6jt.js} +4 -21
  34. package/dist/api/api.cjs +1 -1
  35. package/dist/api/api.mjs +182 -165
  36. package/dist/api/client.d.ts +16 -0
  37. package/dist/api/events.d.ts +21 -2
  38. package/dist/api/types.d.ts +17 -0
  39. package/dist/{browser-Um8Y6K99.js → browser-25hnscei.js} +7 -7
  40. package/dist/cancel-gqtaw6SK.js +59 -0
  41. package/dist/{colors-MuuDk6KF.js → colors-B9hMXv8l.js} +118 -108
  42. package/dist/{constants-CqrJv6nM.js → constants-DBwdjnEU.js} +77 -74
  43. package/dist/{copyToClipboard-CTS9Wtmo.js → copyToClipboard-BDa2_uNf.js} +1 -1
  44. package/dist/{createI18n-DBUVdZra.js → createI18n-08XGDh1_.js} +1 -1
  45. package/dist/{event-BrptLro8.js → event-Cp5D4ctZ.js} +1 -1
  46. package/dist/{event-transform-jFmHl0Qp.js → event-transform-BFJTgtU9.js} +4 -4
  47. package/dist/{eventStatusStream-D04pcbuu.js → eventStatusStream-SyvhRCtk.js} +6 -6
  48. package/dist/{i18n-CcJmTGJP.js → i18n-4ZGOM8hY.js} +11 -11
  49. package/dist/{labels-Q4CaHsVM.js → labels-99RC9gAv.js} +1 -1
  50. package/dist/{modalManager.svelte-qcVxl7C5.js → modalManager.svelte-BdNsCq6n.js} +2 -2
  51. package/dist/{order-totals-BImtvmoh.js → order-totals-CQ0V7Fdc.js} +13 -15
  52. package/dist/{orders-C8kt6c-E.js → orders-oRqSQXSf.js} +209 -199
  53. package/dist/{pixels-MEc7WYiV.js → pixels-DycN_8bu.js} +7 -8
  54. package/dist/{promo-DtLZRskK.js → promo-BrMcoTYh.js} +3 -3
  55. package/dist/{serverTotals-BO126TTd.js → serverTotals-CpRaEe9K.js} +1 -1
  56. package/dist/{shareCopyFeedback.svelte-Dko8NIbm.js → shareCopyFeedback.svelte-D314p5oA.js} +25 -25
  57. package/dist/{showcase-state-options-BoJxiEsg.js → showcase-state-options-B2XfybZq.js} +1 -1
  58. package/dist/timezones-Cq1mLtfM.js +4170 -0
  59. package/dist/{to-event-card-props-BAHzloEA.js → to-event-card-props-BNBWYYPo.js} +23 -24
  60. package/dist/{utils-Ts4-U13Y.js → utils-CrlClQxc.js} +30 -30
  61. package/dist/venue-calendar.css +1 -1
  62. package/dist/venue-calendar.es.js +1292 -1154
  63. package/dist/venue-calendar.iife.js +63 -64
  64. package/dist/venue-calendar.umd.js +59 -60
  65. package/package.json +220 -220
  66. package/dist/BlockPlaceholder-HZ6Coko5.js +0 -52
  67. package/dist/Button-C4uFgl7L.js +0 -2141
  68. package/dist/CalendarFoundryView-tDmFCrJ3.js +0 -22292
  69. package/dist/Checkout-CRX7dcRr.js +0 -1807
  70. package/dist/CloseOutline-qpVa62mu.js +0 -13
  71. package/dist/CropImage-B0tj2_uN.js +0 -404
  72. package/dist/Event-1ZJVzqFN.js +0 -3034
  73. package/dist/Image-B3cEndLZ.js +0 -87
  74. package/dist/Input-DkYIFK4J.js +0 -487
  75. package/dist/imageOptimizer-CB3wKJU8.js +0 -47
  76. package/dist/sortable.esm--ZtTTTPp.js +0 -1451
  77. package/dist/timezones-C5l0SSHK.js +0 -2030
  78. package/dist/z-index-B0Vk_Mp1.js +0 -27
  79. /package/dist/locales/{4.2.3 → 4.2.5}/flow/de.js +0 -0
  80. /package/dist/locales/{4.2.3 → 4.2.5}/flow/es.js +0 -0
  81. /package/dist/locales/{4.2.3 → 4.2.5}/flow/fr.js +0 -0
  82. /package/dist/locales/{4.2.3 → 4.2.5}/flow/id.js +0 -0
  83. /package/dist/locales/{4.2.3 → 4.2.5}/flow/it.js +0 -0
  84. /package/dist/locales/{4.2.3 → 4.2.5}/flow/ja.js +0 -0
  85. /package/dist/locales/{4.2.3 → 4.2.5}/flow/ko.js +0 -0
  86. /package/dist/locales/{4.2.3 → 4.2.5}/flow/nl.js +0 -0
  87. /package/dist/locales/{4.2.3 → 4.2.5}/flow/pl.js +0 -0
  88. /package/dist/locales/{4.2.3 → 4.2.5}/flow/pt-br.js +0 -0
  89. /package/dist/locales/{4.2.3 → 4.2.5}/flow/tr.js +0 -0
  90. /package/dist/locales/{4.2.3 → 4.2.5}/flow/zh.js +0 -0
  91. /package/dist/locales/{4.2.3 → 4.2.5}/main/de.js +0 -0
  92. /package/dist/locales/{4.2.3 → 4.2.5}/main/es.js +0 -0
  93. /package/dist/locales/{4.2.3 → 4.2.5}/main/fr.js +0 -0
  94. /package/dist/locales/{4.2.3 → 4.2.5}/main/id.js +0 -0
  95. /package/dist/locales/{4.2.3 → 4.2.5}/main/it.js +0 -0
  96. /package/dist/locales/{4.2.3 → 4.2.5}/main/ja.js +0 -0
  97. /package/dist/locales/{4.2.3 → 4.2.5}/main/ko.js +0 -0
  98. /package/dist/locales/{4.2.3 → 4.2.5}/main/nl.js +0 -0
  99. /package/dist/locales/{4.2.3 → 4.2.5}/main/pl.js +0 -0
  100. /package/dist/locales/{4.2.3 → 4.2.5}/main/pt-br.js +0 -0
  101. /package/dist/locales/{4.2.3 → 4.2.5}/main/tr.js +0 -0
  102. /package/dist/locales/{4.2.3 → 4.2.5}/main/zh.js +0 -0
@@ -1,2141 +0,0 @@
1
- import "svelte/internal/disclose-version";
2
- import * as e from "svelte/internal/client";
3
- //#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
4
- var t = (e, t) => {
5
- let n = Array(e.length + t.length);
6
- for (let t = 0; t < e.length; t++) n[t] = e[t];
7
- for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
8
- return n;
9
- }, n = (e, t) => ({
10
- classGroupId: e,
11
- validator: t
12
- }), r = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
13
- nextPart: e,
14
- validators: t,
15
- classGroupId: n
16
- }), i = "-", a = [], o = "arbitrary..", s = (e) => {
17
- let n = u(e), { conflictingClassGroups: r, conflictingClassGroupModifiers: o } = e;
18
- return {
19
- getClassGroupId: (e) => {
20
- if (e.startsWith("[") && e.endsWith("]")) return l(e);
21
- let t = e.split(i);
22
- return c(t, +(t[0] === "" && t.length > 1), n);
23
- },
24
- getConflictingClassGroupIds: (e, n) => {
25
- if (n) {
26
- let n = o[e], i = r[e];
27
- return n ? i ? t(i, n) : n : i || a;
28
- }
29
- return r[e] || a;
30
- }
31
- };
32
- }, c = (e, t, n) => {
33
- if (e.length - t === 0) return n.classGroupId;
34
- let r = e[t], a = n.nextPart.get(r);
35
- if (a) {
36
- let n = c(e, t + 1, a);
37
- if (n) return n;
38
- }
39
- let o = n.validators;
40
- if (o === null) return;
41
- let s = t === 0 ? e.join(i) : e.slice(t).join(i), l = o.length;
42
- for (let e = 0; e < l; e++) {
43
- let t = o[e];
44
- if (t.validator(s)) return t.classGroupId;
45
- }
46
- }, l = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
47
- let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
48
- return r ? o + r : void 0;
49
- })(), u = (e) => {
50
- let { theme: t, classGroups: n } = e;
51
- return d(n, t);
52
- }, d = (e, t) => {
53
- let n = r();
54
- for (let r in e) {
55
- let i = e[r];
56
- f(i, n, r, t);
57
- }
58
- return n;
59
- }, f = (e, t, n, r) => {
60
- let i = e.length;
61
- for (let a = 0; a < i; a++) {
62
- let i = e[a];
63
- p(i, t, n, r);
64
- }
65
- }, p = (e, t, n, r) => {
66
- if (typeof e == "string") {
67
- m(e, t, n);
68
- return;
69
- }
70
- if (typeof e == "function") {
71
- h(e, t, n, r);
72
- return;
73
- }
74
- g(e, t, n, r);
75
- }, m = (e, t, n) => {
76
- let r = e === "" ? t : _(t, e);
77
- r.classGroupId = n;
78
- }, h = (e, t, r, i) => {
79
- if (v(e)) {
80
- f(e(i), t, r, i);
81
- return;
82
- }
83
- t.validators === null && (t.validators = []), t.validators.push(n(r, e));
84
- }, g = (e, t, n, r) => {
85
- let i = Object.entries(e), a = i.length;
86
- for (let e = 0; e < a; e++) {
87
- let [a, o] = i[e];
88
- f(o, _(t, a), n, r);
89
- }
90
- }, _ = (e, t) => {
91
- let n = e, a = t.split(i), o = a.length;
92
- for (let e = 0; e < o; e++) {
93
- let t = a[e], i = n.nextPart.get(t);
94
- i || (i = r(), n.nextPart.set(t, i)), n = i;
95
- }
96
- return n;
97
- }, v = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, y = (e) => {
98
- if (e < 1) return {
99
- get: () => void 0,
100
- set: () => {}
101
- };
102
- let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
103
- n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
104
- };
105
- return {
106
- get(e) {
107
- let t = n[e];
108
- if (t !== void 0) return t;
109
- if ((t = r[e]) !== void 0) return i(e, t), t;
110
- },
111
- set(e, t) {
112
- e in n ? n[e] = t : i(e, t);
113
- }
114
- };
115
- }, b = "!", x = ":", S = [], C = (e, t, n, r, i) => ({
116
- modifiers: e,
117
- hasImportantModifier: t,
118
- baseClassName: n,
119
- maybePostfixModifierPosition: r,
120
- isExternal: i
121
- }), w = (e) => {
122
- let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
123
- let t = [], n = 0, r = 0, i = 0, a, o = e.length;
124
- for (let s = 0; s < o; s++) {
125
- let o = e[s];
126
- if (n === 0 && r === 0) {
127
- if (o === x) {
128
- t.push(e.slice(i, s)), i = s + 1;
129
- continue;
130
- }
131
- if (o === "/") {
132
- a = s;
133
- continue;
134
- }
135
- }
136
- o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
137
- }
138
- let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
139
- s.endsWith(b) ? (c = s.slice(0, -1), l = !0) : s.startsWith(b) && (c = s.slice(1), l = !0);
140
- let u = a && a > i ? a - i : void 0;
141
- return C(t, l, c, u);
142
- };
143
- if (t) {
144
- let e = t + x, n = r;
145
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : C(S, !1, t, void 0, !0);
146
- }
147
- if (n) {
148
- let e = r;
149
- r = (t) => n({
150
- className: t,
151
- parseClassName: e
152
- });
153
- }
154
- return r;
155
- }, T = (e) => {
156
- let t = /* @__PURE__ */ new Map();
157
- return e.orderSensitiveModifiers.forEach((e, n) => {
158
- t.set(e, 1e6 + n);
159
- }), (e) => {
160
- let n = [], r = [];
161
- for (let i = 0; i < e.length; i++) {
162
- let a = e[i], o = a[0] === "[", s = t.has(a);
163
- o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
164
- }
165
- return r.length > 0 && (r.sort(), n.push(...r)), n;
166
- };
167
- }, E = (e) => ({
168
- cache: y(e.cacheSize),
169
- parseClassName: w(e),
170
- sortModifiers: T(e),
171
- postfixLookupClassGroupIds: D(e),
172
- ...s(e)
173
- }), D = (e) => {
174
- let t = Object.create(null), n = e.postfixLookupClassGroups;
175
- if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
176
- return t;
177
- }, O = /\s+/, ee = (e, t) => {
178
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(O), l = "";
179
- for (let e = c.length - 1; e >= 0; --e) {
180
- let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
181
- if (u) {
182
- l = t + (l.length > 0 ? " " + l : l);
183
- continue;
184
- }
185
- let h = !!m, g;
186
- if (h) {
187
- g = r(p.substring(0, m));
188
- let e = g && o[g] ? r(p) : void 0;
189
- e && e !== g && (g = e, h = !1);
190
- } else g = r(p);
191
- if (!g) {
192
- if (!h) {
193
- l = t + (l.length > 0 ? " " + l : l);
194
- continue;
195
- }
196
- if (g = r(p), !g) {
197
- l = t + (l.length > 0 ? " " + l : l);
198
- continue;
199
- }
200
- h = !1;
201
- }
202
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + b : _, y = v + g;
203
- if (s.indexOf(y) > -1) continue;
204
- s.push(y);
205
- let x = i(g, h);
206
- for (let e = 0; e < x.length; ++e) {
207
- let t = x[e];
208
- s.push(v + t);
209
- }
210
- l = t + (l.length > 0 ? " " + l : l);
211
- }
212
- return l;
213
- }, k = (...e) => {
214
- let t = 0, n, r, i = "";
215
- for (; t < e.length;) (n = e[t++]) && (r = A(n)) && (i && (i += " "), i += r);
216
- return i;
217
- }, A = (e) => {
218
- if (typeof e == "string") return e;
219
- let t, n = "";
220
- for (let r = 0; r < e.length; r++) e[r] && (t = A(e[r])) && (n && (n += " "), n += t);
221
- return n;
222
- }, j = (e, ...t) => {
223
- let n, r, i, a, o = (o) => (n = E(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
224
- let t = r(e);
225
- if (t) return t;
226
- let a = ee(e, n);
227
- return i(e, a), a;
228
- };
229
- return a = o, (...e) => a(k(...e));
230
- }, M = [], N = (e) => {
231
- let t = (t) => t[e] || M;
232
- return t.isThemeGetter = !0, t;
233
- }, P = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, F = /^\((?:(\w[\w-]*):)?(.+)\)$/i, I = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, te = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ne = /\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$/, re = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ie = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, L = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => I.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && z(e.slice(0, -1)), V = (e) => te.test(e), oe = () => !0, H = (e) => ne.test(e) && !re.test(e), U = () => !1, se = (e) => ie.test(e), W = (e) => L.test(e), ce = (e) => !G(e) && !q(e), le = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ue = (e) => Y(e, $, U), G = (e) => P.test(e), K = (e) => Y(e, Ce, H), de = (e) => Y(e, we, z), fe = (e) => Y(e, Ee, oe), pe = (e) => Y(e, Te, U), me = (e) => Y(e, Z, U), he = (e) => Y(e, Q, W), ge = (e) => Y(e, De, se), q = (e) => F.test(e), J = (e) => X(e, Ce), _e = (e) => X(e, Te), ve = (e) => X(e, Z), ye = (e) => X(e, $), be = (e) => X(e, Q), xe = (e) => X(e, De, !0), Se = (e) => X(e, Ee, !0), Y = (e, t, n) => {
234
- let r = P.exec(e);
235
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
236
- }, X = (e, t, n = !1) => {
237
- let r = F.exec(e);
238
- return r ? r[1] ? t(r[1]) : n : !1;
239
- }, Z = (e) => e === "position" || e === "percentage", Q = (e) => e === "image" || e === "url", $ = (e) => e === "length" || e === "size" || e === "bg-size", Ce = (e) => e === "length", we = (e) => e === "number", Te = (e) => e === "family-name", Ee = (e) => e === "number" || e === "weight", De = (e) => e === "shadow", Oe = /*#__PURE__*/ j(() => {
240
- let e = N("color"), t = N("font"), n = N("text"), r = N("font-weight"), i = N("tracking"), a = N("leading"), o = N("breakpoint"), s = N("container"), c = N("spacing"), l = N("radius"), u = N("shadow"), d = N("inset-shadow"), f = N("text-shadow"), p = N("drop-shadow"), m = N("blur"), h = N("perspective"), g = N("aspect"), _ = N("ease"), v = N("animate"), y = () => [
241
- "auto",
242
- "avoid",
243
- "all",
244
- "avoid-page",
245
- "page",
246
- "left",
247
- "right",
248
- "column"
249
- ], b = () => [
250
- "center",
251
- "top",
252
- "bottom",
253
- "left",
254
- "right",
255
- "top-left",
256
- "left-top",
257
- "top-right",
258
- "right-top",
259
- "bottom-right",
260
- "right-bottom",
261
- "bottom-left",
262
- "left-bottom"
263
- ], x = () => [
264
- ...b(),
265
- q,
266
- G
267
- ], S = () => [
268
- "auto",
269
- "hidden",
270
- "clip",
271
- "visible",
272
- "scroll"
273
- ], C = () => [
274
- "auto",
275
- "contain",
276
- "none"
277
- ], w = () => [
278
- q,
279
- G,
280
- c
281
- ], T = () => [
282
- R,
283
- "full",
284
- "auto",
285
- ...w()
286
- ], E = () => [
287
- B,
288
- "none",
289
- "subgrid",
290
- q,
291
- G
292
- ], D = () => [
293
- "auto",
294
- { span: [
295
- "full",
296
- B,
297
- q,
298
- G
299
- ] },
300
- B,
301
- q,
302
- G
303
- ], O = () => [
304
- B,
305
- "auto",
306
- q,
307
- G
308
- ], ee = () => [
309
- "auto",
310
- "min",
311
- "max",
312
- "fr",
313
- q,
314
- G
315
- ], k = () => [
316
- "start",
317
- "end",
318
- "center",
319
- "between",
320
- "around",
321
- "evenly",
322
- "stretch",
323
- "baseline",
324
- "center-safe",
325
- "end-safe"
326
- ], A = () => [
327
- "start",
328
- "end",
329
- "center",
330
- "stretch",
331
- "center-safe",
332
- "end-safe"
333
- ], j = () => ["auto", ...w()], M = () => [
334
- R,
335
- "auto",
336
- "full",
337
- "dvw",
338
- "dvh",
339
- "lvw",
340
- "lvh",
341
- "svw",
342
- "svh",
343
- "min",
344
- "max",
345
- "fit",
346
- ...w()
347
- ], P = () => [
348
- R,
349
- "screen",
350
- "full",
351
- "dvw",
352
- "lvw",
353
- "svw",
354
- "min",
355
- "max",
356
- "fit",
357
- ...w()
358
- ], F = () => [
359
- R,
360
- "screen",
361
- "full",
362
- "lh",
363
- "dvh",
364
- "lvh",
365
- "svh",
366
- "min",
367
- "max",
368
- "fit",
369
- ...w()
370
- ], I = () => [
371
- e,
372
- q,
373
- G
374
- ], te = () => [
375
- ...b(),
376
- ve,
377
- me,
378
- { position: [q, G] }
379
- ], ne = () => ["no-repeat", { repeat: [
380
- "",
381
- "x",
382
- "y",
383
- "space",
384
- "round"
385
- ] }], re = () => [
386
- "auto",
387
- "cover",
388
- "contain",
389
- ye,
390
- ue,
391
- { size: [q, G] }
392
- ], ie = () => [
393
- ae,
394
- J,
395
- K
396
- ], L = () => [
397
- "",
398
- "none",
399
- "full",
400
- l,
401
- q,
402
- G
403
- ], H = () => [
404
- "",
405
- z,
406
- J,
407
- K
408
- ], U = () => [
409
- "solid",
410
- "dashed",
411
- "dotted",
412
- "double"
413
- ], se = () => [
414
- "normal",
415
- "multiply",
416
- "screen",
417
- "overlay",
418
- "darken",
419
- "lighten",
420
- "color-dodge",
421
- "color-burn",
422
- "hard-light",
423
- "soft-light",
424
- "difference",
425
- "exclusion",
426
- "hue",
427
- "saturation",
428
- "color",
429
- "luminosity"
430
- ], W = () => [
431
- z,
432
- ae,
433
- ve,
434
- me
435
- ], Y = () => [
436
- "",
437
- "none",
438
- m,
439
- q,
440
- G
441
- ], X = () => [
442
- "none",
443
- z,
444
- q,
445
- G
446
- ], Z = () => [
447
- "none",
448
- z,
449
- q,
450
- G
451
- ], Q = () => [
452
- z,
453
- q,
454
- G
455
- ], $ = () => [
456
- R,
457
- "full",
458
- ...w()
459
- ];
460
- return {
461
- cacheSize: 500,
462
- theme: {
463
- animate: [
464
- "spin",
465
- "ping",
466
- "pulse",
467
- "bounce"
468
- ],
469
- aspect: ["video"],
470
- blur: [V],
471
- breakpoint: [V],
472
- color: [oe],
473
- container: [V],
474
- "drop-shadow": [V],
475
- ease: [
476
- "in",
477
- "out",
478
- "in-out"
479
- ],
480
- font: [ce],
481
- "font-weight": [
482
- "thin",
483
- "extralight",
484
- "light",
485
- "normal",
486
- "medium",
487
- "semibold",
488
- "bold",
489
- "extrabold",
490
- "black"
491
- ],
492
- "inset-shadow": [V],
493
- leading: [
494
- "none",
495
- "tight",
496
- "snug",
497
- "normal",
498
- "relaxed",
499
- "loose"
500
- ],
501
- perspective: [
502
- "dramatic",
503
- "near",
504
- "normal",
505
- "midrange",
506
- "distant",
507
- "none"
508
- ],
509
- radius: [V],
510
- shadow: [V],
511
- spacing: ["px", z],
512
- text: [V],
513
- "text-shadow": [V],
514
- tracking: [
515
- "tighter",
516
- "tight",
517
- "normal",
518
- "wide",
519
- "wider",
520
- "widest"
521
- ]
522
- },
523
- classGroups: {
524
- aspect: [{ aspect: [
525
- "auto",
526
- "square",
527
- R,
528
- G,
529
- q,
530
- g
531
- ] }],
532
- container: ["container"],
533
- "container-type": [{ "@container": [
534
- "",
535
- "normal",
536
- "size",
537
- q,
538
- G
539
- ] }],
540
- "container-named": [le],
541
- columns: [{ columns: [
542
- z,
543
- G,
544
- q,
545
- s
546
- ] }],
547
- "break-after": [{ "break-after": y() }],
548
- "break-before": [{ "break-before": y() }],
549
- "break-inside": [{ "break-inside": [
550
- "auto",
551
- "avoid",
552
- "avoid-page",
553
- "avoid-column"
554
- ] }],
555
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
556
- box: [{ box: ["border", "content"] }],
557
- display: [
558
- "block",
559
- "inline-block",
560
- "inline",
561
- "flex",
562
- "inline-flex",
563
- "table",
564
- "inline-table",
565
- "table-caption",
566
- "table-cell",
567
- "table-column",
568
- "table-column-group",
569
- "table-footer-group",
570
- "table-header-group",
571
- "table-row-group",
572
- "table-row",
573
- "flow-root",
574
- "grid",
575
- "inline-grid",
576
- "contents",
577
- "list-item",
578
- "hidden"
579
- ],
580
- sr: ["sr-only", "not-sr-only"],
581
- float: [{ float: [
582
- "right",
583
- "left",
584
- "none",
585
- "start",
586
- "end"
587
- ] }],
588
- clear: [{ clear: [
589
- "left",
590
- "right",
591
- "both",
592
- "none",
593
- "start",
594
- "end"
595
- ] }],
596
- isolation: ["isolate", "isolation-auto"],
597
- "object-fit": [{ object: [
598
- "contain",
599
- "cover",
600
- "fill",
601
- "none",
602
- "scale-down"
603
- ] }],
604
- "object-position": [{ object: x() }],
605
- overflow: [{ overflow: S() }],
606
- "overflow-x": [{ "overflow-x": S() }],
607
- "overflow-y": [{ "overflow-y": S() }],
608
- overscroll: [{ overscroll: C() }],
609
- "overscroll-x": [{ "overscroll-x": C() }],
610
- "overscroll-y": [{ "overscroll-y": C() }],
611
- position: [
612
- "static",
613
- "fixed",
614
- "absolute",
615
- "relative",
616
- "sticky"
617
- ],
618
- inset: [{ inset: T() }],
619
- "inset-x": [{ "inset-x": T() }],
620
- "inset-y": [{ "inset-y": T() }],
621
- start: [{
622
- "inset-s": T(),
623
- start: T()
624
- }],
625
- end: [{
626
- "inset-e": T(),
627
- end: T()
628
- }],
629
- "inset-bs": [{ "inset-bs": T() }],
630
- "inset-be": [{ "inset-be": T() }],
631
- top: [{ top: T() }],
632
- right: [{ right: T() }],
633
- bottom: [{ bottom: T() }],
634
- left: [{ left: T() }],
635
- visibility: [
636
- "visible",
637
- "invisible",
638
- "collapse"
639
- ],
640
- z: [{ z: [
641
- B,
642
- "auto",
643
- q,
644
- G
645
- ] }],
646
- basis: [{ basis: [
647
- R,
648
- "full",
649
- "auto",
650
- s,
651
- ...w()
652
- ] }],
653
- "flex-direction": [{ flex: [
654
- "row",
655
- "row-reverse",
656
- "col",
657
- "col-reverse"
658
- ] }],
659
- "flex-wrap": [{ flex: [
660
- "nowrap",
661
- "wrap",
662
- "wrap-reverse"
663
- ] }],
664
- flex: [{ flex: [
665
- z,
666
- R,
667
- "auto",
668
- "initial",
669
- "none",
670
- G
671
- ] }],
672
- grow: [{ grow: [
673
- "",
674
- z,
675
- q,
676
- G
677
- ] }],
678
- shrink: [{ shrink: [
679
- "",
680
- z,
681
- q,
682
- G
683
- ] }],
684
- order: [{ order: [
685
- B,
686
- "first",
687
- "last",
688
- "none",
689
- q,
690
- G
691
- ] }],
692
- "grid-cols": [{ "grid-cols": E() }],
693
- "col-start-end": [{ col: D() }],
694
- "col-start": [{ "col-start": O() }],
695
- "col-end": [{ "col-end": O() }],
696
- "grid-rows": [{ "grid-rows": E() }],
697
- "row-start-end": [{ row: D() }],
698
- "row-start": [{ "row-start": O() }],
699
- "row-end": [{ "row-end": O() }],
700
- "grid-flow": [{ "grid-flow": [
701
- "row",
702
- "col",
703
- "dense",
704
- "row-dense",
705
- "col-dense"
706
- ] }],
707
- "auto-cols": [{ "auto-cols": ee() }],
708
- "auto-rows": [{ "auto-rows": ee() }],
709
- gap: [{ gap: w() }],
710
- "gap-x": [{ "gap-x": w() }],
711
- "gap-y": [{ "gap-y": w() }],
712
- "justify-content": [{ justify: [...k(), "normal"] }],
713
- "justify-items": [{ "justify-items": [...A(), "normal"] }],
714
- "justify-self": [{ "justify-self": ["auto", ...A()] }],
715
- "align-content": [{ content: ["normal", ...k()] }],
716
- "align-items": [{ items: [...A(), { baseline: ["", "last"] }] }],
717
- "align-self": [{ self: [
718
- "auto",
719
- ...A(),
720
- { baseline: ["", "last"] }
721
- ] }],
722
- "place-content": [{ "place-content": k() }],
723
- "place-items": [{ "place-items": [...A(), "baseline"] }],
724
- "place-self": [{ "place-self": ["auto", ...A()] }],
725
- p: [{ p: w() }],
726
- px: [{ px: w() }],
727
- py: [{ py: w() }],
728
- ps: [{ ps: w() }],
729
- pe: [{ pe: w() }],
730
- pbs: [{ pbs: w() }],
731
- pbe: [{ pbe: w() }],
732
- pt: [{ pt: w() }],
733
- pr: [{ pr: w() }],
734
- pb: [{ pb: w() }],
735
- pl: [{ pl: w() }],
736
- m: [{ m: j() }],
737
- mx: [{ mx: j() }],
738
- my: [{ my: j() }],
739
- ms: [{ ms: j() }],
740
- me: [{ me: j() }],
741
- mbs: [{ mbs: j() }],
742
- mbe: [{ mbe: j() }],
743
- mt: [{ mt: j() }],
744
- mr: [{ mr: j() }],
745
- mb: [{ mb: j() }],
746
- ml: [{ ml: j() }],
747
- "space-x": [{ "space-x": w() }],
748
- "space-x-reverse": ["space-x-reverse"],
749
- "space-y": [{ "space-y": w() }],
750
- "space-y-reverse": ["space-y-reverse"],
751
- size: [{ size: M() }],
752
- "inline-size": [{ inline: ["auto", ...P()] }],
753
- "min-inline-size": [{ "min-inline": ["auto", ...P()] }],
754
- "max-inline-size": [{ "max-inline": ["none", ...P()] }],
755
- "block-size": [{ block: ["auto", ...F()] }],
756
- "min-block-size": [{ "min-block": ["auto", ...F()] }],
757
- "max-block-size": [{ "max-block": ["none", ...F()] }],
758
- w: [{ w: [
759
- s,
760
- "screen",
761
- ...M()
762
- ] }],
763
- "min-w": [{ "min-w": [
764
- s,
765
- "screen",
766
- "none",
767
- ...M()
768
- ] }],
769
- "max-w": [{ "max-w": [
770
- s,
771
- "screen",
772
- "none",
773
- "prose",
774
- { screen: [o] },
775
- ...M()
776
- ] }],
777
- h: [{ h: [
778
- "screen",
779
- "lh",
780
- ...M()
781
- ] }],
782
- "min-h": [{ "min-h": [
783
- "screen",
784
- "lh",
785
- "none",
786
- ...M()
787
- ] }],
788
- "max-h": [{ "max-h": [
789
- "screen",
790
- "lh",
791
- ...M()
792
- ] }],
793
- "font-size": [{ text: [
794
- "base",
795
- n,
796
- J,
797
- K
798
- ] }],
799
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
800
- "font-style": ["italic", "not-italic"],
801
- "font-weight": [{ font: [
802
- r,
803
- Se,
804
- fe
805
- ] }],
806
- "font-stretch": [{ "font-stretch": [
807
- "ultra-condensed",
808
- "extra-condensed",
809
- "condensed",
810
- "semi-condensed",
811
- "normal",
812
- "semi-expanded",
813
- "expanded",
814
- "extra-expanded",
815
- "ultra-expanded",
816
- ae,
817
- G
818
- ] }],
819
- "font-family": [{ font: [
820
- _e,
821
- pe,
822
- t
823
- ] }],
824
- "font-features": [{ "font-features": [G] }],
825
- "fvn-normal": ["normal-nums"],
826
- "fvn-ordinal": ["ordinal"],
827
- "fvn-slashed-zero": ["slashed-zero"],
828
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
829
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
830
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
831
- tracking: [{ tracking: [
832
- i,
833
- q,
834
- G
835
- ] }],
836
- "line-clamp": [{ "line-clamp": [
837
- z,
838
- "none",
839
- q,
840
- de
841
- ] }],
842
- leading: [{ leading: [a, ...w()] }],
843
- "list-image": [{ "list-image": [
844
- "none",
845
- q,
846
- G
847
- ] }],
848
- "list-style-position": [{ list: ["inside", "outside"] }],
849
- "list-style-type": [{ list: [
850
- "disc",
851
- "decimal",
852
- "none",
853
- q,
854
- G
855
- ] }],
856
- "text-alignment": [{ text: [
857
- "left",
858
- "center",
859
- "right",
860
- "justify",
861
- "start",
862
- "end"
863
- ] }],
864
- "placeholder-color": [{ placeholder: I() }],
865
- "text-color": [{ text: I() }],
866
- "text-decoration": [
867
- "underline",
868
- "overline",
869
- "line-through",
870
- "no-underline"
871
- ],
872
- "text-decoration-style": [{ decoration: [...U(), "wavy"] }],
873
- "text-decoration-thickness": [{ decoration: [
874
- z,
875
- "from-font",
876
- "auto",
877
- q,
878
- K
879
- ] }],
880
- "text-decoration-color": [{ decoration: I() }],
881
- "underline-offset": [{ "underline-offset": [
882
- z,
883
- "auto",
884
- q,
885
- G
886
- ] }],
887
- "text-transform": [
888
- "uppercase",
889
- "lowercase",
890
- "capitalize",
891
- "normal-case"
892
- ],
893
- "text-overflow": [
894
- "truncate",
895
- "text-ellipsis",
896
- "text-clip"
897
- ],
898
- "text-wrap": [{ text: [
899
- "wrap",
900
- "nowrap",
901
- "balance",
902
- "pretty"
903
- ] }],
904
- indent: [{ indent: w() }],
905
- "tab-size": [{ tab: [
906
- B,
907
- q,
908
- G
909
- ] }],
910
- "vertical-align": [{ align: [
911
- "baseline",
912
- "top",
913
- "middle",
914
- "bottom",
915
- "text-top",
916
- "text-bottom",
917
- "sub",
918
- "super",
919
- q,
920
- G
921
- ] }],
922
- whitespace: [{ whitespace: [
923
- "normal",
924
- "nowrap",
925
- "pre",
926
- "pre-line",
927
- "pre-wrap",
928
- "break-spaces"
929
- ] }],
930
- break: [{ break: [
931
- "normal",
932
- "words",
933
- "all",
934
- "keep"
935
- ] }],
936
- wrap: [{ wrap: [
937
- "break-word",
938
- "anywhere",
939
- "normal"
940
- ] }],
941
- hyphens: [{ hyphens: [
942
- "none",
943
- "manual",
944
- "auto"
945
- ] }],
946
- content: [{ content: [
947
- "none",
948
- q,
949
- G
950
- ] }],
951
- "bg-attachment": [{ bg: [
952
- "fixed",
953
- "local",
954
- "scroll"
955
- ] }],
956
- "bg-clip": [{ "bg-clip": [
957
- "border",
958
- "padding",
959
- "content",
960
- "text"
961
- ] }],
962
- "bg-origin": [{ "bg-origin": [
963
- "border",
964
- "padding",
965
- "content"
966
- ] }],
967
- "bg-position": [{ bg: te() }],
968
- "bg-repeat": [{ bg: ne() }],
969
- "bg-size": [{ bg: re() }],
970
- "bg-image": [{ bg: [
971
- "none",
972
- {
973
- linear: [
974
- { to: [
975
- "t",
976
- "tr",
977
- "r",
978
- "br",
979
- "b",
980
- "bl",
981
- "l",
982
- "tl"
983
- ] },
984
- B,
985
- q,
986
- G
987
- ],
988
- radial: [
989
- "",
990
- q,
991
- G
992
- ],
993
- conic: [
994
- B,
995
- q,
996
- G
997
- ]
998
- },
999
- be,
1000
- he
1001
- ] }],
1002
- "bg-color": [{ bg: I() }],
1003
- "gradient-from-pos": [{ from: ie() }],
1004
- "gradient-via-pos": [{ via: ie() }],
1005
- "gradient-to-pos": [{ to: ie() }],
1006
- "gradient-from": [{ from: I() }],
1007
- "gradient-via": [{ via: I() }],
1008
- "gradient-to": [{ to: I() }],
1009
- rounded: [{ rounded: L() }],
1010
- "rounded-s": [{ "rounded-s": L() }],
1011
- "rounded-e": [{ "rounded-e": L() }],
1012
- "rounded-t": [{ "rounded-t": L() }],
1013
- "rounded-r": [{ "rounded-r": L() }],
1014
- "rounded-b": [{ "rounded-b": L() }],
1015
- "rounded-l": [{ "rounded-l": L() }],
1016
- "rounded-ss": [{ "rounded-ss": L() }],
1017
- "rounded-se": [{ "rounded-se": L() }],
1018
- "rounded-ee": [{ "rounded-ee": L() }],
1019
- "rounded-es": [{ "rounded-es": L() }],
1020
- "rounded-tl": [{ "rounded-tl": L() }],
1021
- "rounded-tr": [{ "rounded-tr": L() }],
1022
- "rounded-br": [{ "rounded-br": L() }],
1023
- "rounded-bl": [{ "rounded-bl": L() }],
1024
- "border-w": [{ border: H() }],
1025
- "border-w-x": [{ "border-x": H() }],
1026
- "border-w-y": [{ "border-y": H() }],
1027
- "border-w-s": [{ "border-s": H() }],
1028
- "border-w-e": [{ "border-e": H() }],
1029
- "border-w-bs": [{ "border-bs": H() }],
1030
- "border-w-be": [{ "border-be": H() }],
1031
- "border-w-t": [{ "border-t": H() }],
1032
- "border-w-r": [{ "border-r": H() }],
1033
- "border-w-b": [{ "border-b": H() }],
1034
- "border-w-l": [{ "border-l": H() }],
1035
- "divide-x": [{ "divide-x": H() }],
1036
- "divide-x-reverse": ["divide-x-reverse"],
1037
- "divide-y": [{ "divide-y": H() }],
1038
- "divide-y-reverse": ["divide-y-reverse"],
1039
- "border-style": [{ border: [
1040
- ...U(),
1041
- "hidden",
1042
- "none"
1043
- ] }],
1044
- "divide-style": [{ divide: [
1045
- ...U(),
1046
- "hidden",
1047
- "none"
1048
- ] }],
1049
- "border-color": [{ border: I() }],
1050
- "border-color-x": [{ "border-x": I() }],
1051
- "border-color-y": [{ "border-y": I() }],
1052
- "border-color-s": [{ "border-s": I() }],
1053
- "border-color-e": [{ "border-e": I() }],
1054
- "border-color-bs": [{ "border-bs": I() }],
1055
- "border-color-be": [{ "border-be": I() }],
1056
- "border-color-t": [{ "border-t": I() }],
1057
- "border-color-r": [{ "border-r": I() }],
1058
- "border-color-b": [{ "border-b": I() }],
1059
- "border-color-l": [{ "border-l": I() }],
1060
- "divide-color": [{ divide: I() }],
1061
- "outline-style": [{ outline: [
1062
- ...U(),
1063
- "none",
1064
- "hidden"
1065
- ] }],
1066
- "outline-offset": [{ "outline-offset": [
1067
- z,
1068
- q,
1069
- G
1070
- ] }],
1071
- "outline-w": [{ outline: [
1072
- "",
1073
- z,
1074
- J,
1075
- K
1076
- ] }],
1077
- "outline-color": [{ outline: I() }],
1078
- shadow: [{ shadow: [
1079
- "",
1080
- "none",
1081
- u,
1082
- xe,
1083
- ge
1084
- ] }],
1085
- "shadow-color": [{ shadow: I() }],
1086
- "inset-shadow": [{ "inset-shadow": [
1087
- "none",
1088
- d,
1089
- xe,
1090
- ge
1091
- ] }],
1092
- "inset-shadow-color": [{ "inset-shadow": I() }],
1093
- "ring-w": [{ ring: H() }],
1094
- "ring-w-inset": ["ring-inset"],
1095
- "ring-color": [{ ring: I() }],
1096
- "ring-offset-w": [{ "ring-offset": [z, K] }],
1097
- "ring-offset-color": [{ "ring-offset": I() }],
1098
- "inset-ring-w": [{ "inset-ring": H() }],
1099
- "inset-ring-color": [{ "inset-ring": I() }],
1100
- "text-shadow": [{ "text-shadow": [
1101
- "none",
1102
- f,
1103
- xe,
1104
- ge
1105
- ] }],
1106
- "text-shadow-color": [{ "text-shadow": I() }],
1107
- opacity: [{ opacity: [
1108
- z,
1109
- q,
1110
- G
1111
- ] }],
1112
- "mix-blend": [{ "mix-blend": [
1113
- ...se(),
1114
- "plus-darker",
1115
- "plus-lighter"
1116
- ] }],
1117
- "bg-blend": [{ "bg-blend": se() }],
1118
- "mask-clip": [{ "mask-clip": [
1119
- "border",
1120
- "padding",
1121
- "content",
1122
- "fill",
1123
- "stroke",
1124
- "view"
1125
- ] }, "mask-no-clip"],
1126
- "mask-composite": [{ mask: [
1127
- "add",
1128
- "subtract",
1129
- "intersect",
1130
- "exclude"
1131
- ] }],
1132
- "mask-image-linear-pos": [{ "mask-linear": [z] }],
1133
- "mask-image-linear-from-pos": [{ "mask-linear-from": W() }],
1134
- "mask-image-linear-to-pos": [{ "mask-linear-to": W() }],
1135
- "mask-image-linear-from-color": [{ "mask-linear-from": I() }],
1136
- "mask-image-linear-to-color": [{ "mask-linear-to": I() }],
1137
- "mask-image-t-from-pos": [{ "mask-t-from": W() }],
1138
- "mask-image-t-to-pos": [{ "mask-t-to": W() }],
1139
- "mask-image-t-from-color": [{ "mask-t-from": I() }],
1140
- "mask-image-t-to-color": [{ "mask-t-to": I() }],
1141
- "mask-image-r-from-pos": [{ "mask-r-from": W() }],
1142
- "mask-image-r-to-pos": [{ "mask-r-to": W() }],
1143
- "mask-image-r-from-color": [{ "mask-r-from": I() }],
1144
- "mask-image-r-to-color": [{ "mask-r-to": I() }],
1145
- "mask-image-b-from-pos": [{ "mask-b-from": W() }],
1146
- "mask-image-b-to-pos": [{ "mask-b-to": W() }],
1147
- "mask-image-b-from-color": [{ "mask-b-from": I() }],
1148
- "mask-image-b-to-color": [{ "mask-b-to": I() }],
1149
- "mask-image-l-from-pos": [{ "mask-l-from": W() }],
1150
- "mask-image-l-to-pos": [{ "mask-l-to": W() }],
1151
- "mask-image-l-from-color": [{ "mask-l-from": I() }],
1152
- "mask-image-l-to-color": [{ "mask-l-to": I() }],
1153
- "mask-image-x-from-pos": [{ "mask-x-from": W() }],
1154
- "mask-image-x-to-pos": [{ "mask-x-to": W() }],
1155
- "mask-image-x-from-color": [{ "mask-x-from": I() }],
1156
- "mask-image-x-to-color": [{ "mask-x-to": I() }],
1157
- "mask-image-y-from-pos": [{ "mask-y-from": W() }],
1158
- "mask-image-y-to-pos": [{ "mask-y-to": W() }],
1159
- "mask-image-y-from-color": [{ "mask-y-from": I() }],
1160
- "mask-image-y-to-color": [{ "mask-y-to": I() }],
1161
- "mask-image-radial": [{ "mask-radial": [q, G] }],
1162
- "mask-image-radial-from-pos": [{ "mask-radial-from": W() }],
1163
- "mask-image-radial-to-pos": [{ "mask-radial-to": W() }],
1164
- "mask-image-radial-from-color": [{ "mask-radial-from": I() }],
1165
- "mask-image-radial-to-color": [{ "mask-radial-to": I() }],
1166
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1167
- "mask-image-radial-size": [{ "mask-radial": [{
1168
- closest: ["side", "corner"],
1169
- farthest: ["side", "corner"]
1170
- }] }],
1171
- "mask-image-radial-pos": [{ "mask-radial-at": b() }],
1172
- "mask-image-conic-pos": [{ "mask-conic": [z] }],
1173
- "mask-image-conic-from-pos": [{ "mask-conic-from": W() }],
1174
- "mask-image-conic-to-pos": [{ "mask-conic-to": W() }],
1175
- "mask-image-conic-from-color": [{ "mask-conic-from": I() }],
1176
- "mask-image-conic-to-color": [{ "mask-conic-to": I() }],
1177
- "mask-mode": [{ mask: [
1178
- "alpha",
1179
- "luminance",
1180
- "match"
1181
- ] }],
1182
- "mask-origin": [{ "mask-origin": [
1183
- "border",
1184
- "padding",
1185
- "content",
1186
- "fill",
1187
- "stroke",
1188
- "view"
1189
- ] }],
1190
- "mask-position": [{ mask: te() }],
1191
- "mask-repeat": [{ mask: ne() }],
1192
- "mask-size": [{ mask: re() }],
1193
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1194
- "mask-image": [{ mask: [
1195
- "none",
1196
- q,
1197
- G
1198
- ] }],
1199
- filter: [{ filter: [
1200
- "",
1201
- "none",
1202
- q,
1203
- G
1204
- ] }],
1205
- blur: [{ blur: Y() }],
1206
- brightness: [{ brightness: [
1207
- z,
1208
- q,
1209
- G
1210
- ] }],
1211
- contrast: [{ contrast: [
1212
- z,
1213
- q,
1214
- G
1215
- ] }],
1216
- "drop-shadow": [{ "drop-shadow": [
1217
- "",
1218
- "none",
1219
- p,
1220
- xe,
1221
- ge
1222
- ] }],
1223
- "drop-shadow-color": [{ "drop-shadow": I() }],
1224
- grayscale: [{ grayscale: [
1225
- "",
1226
- z,
1227
- q,
1228
- G
1229
- ] }],
1230
- "hue-rotate": [{ "hue-rotate": [
1231
- z,
1232
- q,
1233
- G
1234
- ] }],
1235
- invert: [{ invert: [
1236
- "",
1237
- z,
1238
- q,
1239
- G
1240
- ] }],
1241
- saturate: [{ saturate: [
1242
- z,
1243
- q,
1244
- G
1245
- ] }],
1246
- sepia: [{ sepia: [
1247
- "",
1248
- z,
1249
- q,
1250
- G
1251
- ] }],
1252
- "backdrop-filter": [{ "backdrop-filter": [
1253
- "",
1254
- "none",
1255
- q,
1256
- G
1257
- ] }],
1258
- "backdrop-blur": [{ "backdrop-blur": Y() }],
1259
- "backdrop-brightness": [{ "backdrop-brightness": [
1260
- z,
1261
- q,
1262
- G
1263
- ] }],
1264
- "backdrop-contrast": [{ "backdrop-contrast": [
1265
- z,
1266
- q,
1267
- G
1268
- ] }],
1269
- "backdrop-grayscale": [{ "backdrop-grayscale": [
1270
- "",
1271
- z,
1272
- q,
1273
- G
1274
- ] }],
1275
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1276
- z,
1277
- q,
1278
- G
1279
- ] }],
1280
- "backdrop-invert": [{ "backdrop-invert": [
1281
- "",
1282
- z,
1283
- q,
1284
- G
1285
- ] }],
1286
- "backdrop-opacity": [{ "backdrop-opacity": [
1287
- z,
1288
- q,
1289
- G
1290
- ] }],
1291
- "backdrop-saturate": [{ "backdrop-saturate": [
1292
- z,
1293
- q,
1294
- G
1295
- ] }],
1296
- "backdrop-sepia": [{ "backdrop-sepia": [
1297
- "",
1298
- z,
1299
- q,
1300
- G
1301
- ] }],
1302
- "border-collapse": [{ border: ["collapse", "separate"] }],
1303
- "border-spacing": [{ "border-spacing": w() }],
1304
- "border-spacing-x": [{ "border-spacing-x": w() }],
1305
- "border-spacing-y": [{ "border-spacing-y": w() }],
1306
- "table-layout": [{ table: ["auto", "fixed"] }],
1307
- caption: [{ caption: ["top", "bottom"] }],
1308
- transition: [{ transition: [
1309
- "",
1310
- "all",
1311
- "colors",
1312
- "opacity",
1313
- "shadow",
1314
- "transform",
1315
- "none",
1316
- q,
1317
- G
1318
- ] }],
1319
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
1320
- duration: [{ duration: [
1321
- z,
1322
- "initial",
1323
- q,
1324
- G
1325
- ] }],
1326
- ease: [{ ease: [
1327
- "linear",
1328
- "initial",
1329
- _,
1330
- q,
1331
- G
1332
- ] }],
1333
- delay: [{ delay: [
1334
- z,
1335
- q,
1336
- G
1337
- ] }],
1338
- animate: [{ animate: [
1339
- "none",
1340
- v,
1341
- q,
1342
- G
1343
- ] }],
1344
- backface: [{ backface: ["hidden", "visible"] }],
1345
- perspective: [{ perspective: [
1346
- h,
1347
- q,
1348
- G
1349
- ] }],
1350
- "perspective-origin": [{ "perspective-origin": x() }],
1351
- rotate: [{ rotate: X() }],
1352
- "rotate-x": [{ "rotate-x": X() }],
1353
- "rotate-y": [{ "rotate-y": X() }],
1354
- "rotate-z": [{ "rotate-z": X() }],
1355
- scale: [{ scale: Z() }],
1356
- "scale-x": [{ "scale-x": Z() }],
1357
- "scale-y": [{ "scale-y": Z() }],
1358
- "scale-z": [{ "scale-z": Z() }],
1359
- "scale-3d": ["scale-3d"],
1360
- skew: [{ skew: Q() }],
1361
- "skew-x": [{ "skew-x": Q() }],
1362
- "skew-y": [{ "skew-y": Q() }],
1363
- transform: [{ transform: [
1364
- q,
1365
- G,
1366
- "",
1367
- "none",
1368
- "gpu",
1369
- "cpu"
1370
- ] }],
1371
- "transform-origin": [{ origin: x() }],
1372
- "transform-style": [{ transform: ["3d", "flat"] }],
1373
- translate: [{ translate: $() }],
1374
- "translate-x": [{ "translate-x": $() }],
1375
- "translate-y": [{ "translate-y": $() }],
1376
- "translate-z": [{ "translate-z": $() }],
1377
- "translate-none": ["translate-none"],
1378
- zoom: [{ zoom: [
1379
- B,
1380
- q,
1381
- G
1382
- ] }],
1383
- accent: [{ accent: I() }],
1384
- appearance: [{ appearance: ["none", "auto"] }],
1385
- "caret-color": [{ caret: I() }],
1386
- "color-scheme": [{ scheme: [
1387
- "normal",
1388
- "dark",
1389
- "light",
1390
- "light-dark",
1391
- "only-dark",
1392
- "only-light"
1393
- ] }],
1394
- cursor: [{ cursor: [
1395
- "auto",
1396
- "default",
1397
- "pointer",
1398
- "wait",
1399
- "text",
1400
- "move",
1401
- "help",
1402
- "not-allowed",
1403
- "none",
1404
- "context-menu",
1405
- "progress",
1406
- "cell",
1407
- "crosshair",
1408
- "vertical-text",
1409
- "alias",
1410
- "copy",
1411
- "no-drop",
1412
- "grab",
1413
- "grabbing",
1414
- "all-scroll",
1415
- "col-resize",
1416
- "row-resize",
1417
- "n-resize",
1418
- "e-resize",
1419
- "s-resize",
1420
- "w-resize",
1421
- "ne-resize",
1422
- "nw-resize",
1423
- "se-resize",
1424
- "sw-resize",
1425
- "ew-resize",
1426
- "ns-resize",
1427
- "nesw-resize",
1428
- "nwse-resize",
1429
- "zoom-in",
1430
- "zoom-out",
1431
- q,
1432
- G
1433
- ] }],
1434
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1435
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1436
- resize: [{ resize: [
1437
- "none",
1438
- "",
1439
- "y",
1440
- "x"
1441
- ] }],
1442
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1443
- "scrollbar-thumb-color": [{ "scrollbar-thumb": I() }],
1444
- "scrollbar-track-color": [{ "scrollbar-track": I() }],
1445
- "scrollbar-gutter": [{ "scrollbar-gutter": [
1446
- "auto",
1447
- "stable",
1448
- "both"
1449
- ] }],
1450
- "scrollbar-w": [{ scrollbar: [
1451
- "auto",
1452
- "thin",
1453
- "none"
1454
- ] }],
1455
- "scroll-m": [{ "scroll-m": w() }],
1456
- "scroll-mx": [{ "scroll-mx": w() }],
1457
- "scroll-my": [{ "scroll-my": w() }],
1458
- "scroll-ms": [{ "scroll-ms": w() }],
1459
- "scroll-me": [{ "scroll-me": w() }],
1460
- "scroll-mbs": [{ "scroll-mbs": w() }],
1461
- "scroll-mbe": [{ "scroll-mbe": w() }],
1462
- "scroll-mt": [{ "scroll-mt": w() }],
1463
- "scroll-mr": [{ "scroll-mr": w() }],
1464
- "scroll-mb": [{ "scroll-mb": w() }],
1465
- "scroll-ml": [{ "scroll-ml": w() }],
1466
- "scroll-p": [{ "scroll-p": w() }],
1467
- "scroll-px": [{ "scroll-px": w() }],
1468
- "scroll-py": [{ "scroll-py": w() }],
1469
- "scroll-ps": [{ "scroll-ps": w() }],
1470
- "scroll-pe": [{ "scroll-pe": w() }],
1471
- "scroll-pbs": [{ "scroll-pbs": w() }],
1472
- "scroll-pbe": [{ "scroll-pbe": w() }],
1473
- "scroll-pt": [{ "scroll-pt": w() }],
1474
- "scroll-pr": [{ "scroll-pr": w() }],
1475
- "scroll-pb": [{ "scroll-pb": w() }],
1476
- "scroll-pl": [{ "scroll-pl": w() }],
1477
- "snap-align": [{ snap: [
1478
- "start",
1479
- "end",
1480
- "center",
1481
- "align-none"
1482
- ] }],
1483
- "snap-stop": [{ snap: ["normal", "always"] }],
1484
- "snap-type": [{ snap: [
1485
- "none",
1486
- "x",
1487
- "y",
1488
- "both"
1489
- ] }],
1490
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1491
- touch: [{ touch: [
1492
- "auto",
1493
- "none",
1494
- "manipulation"
1495
- ] }],
1496
- "touch-x": [{ "touch-pan": [
1497
- "x",
1498
- "left",
1499
- "right"
1500
- ] }],
1501
- "touch-y": [{ "touch-pan": [
1502
- "y",
1503
- "up",
1504
- "down"
1505
- ] }],
1506
- "touch-pz": ["touch-pinch-zoom"],
1507
- select: [{ select: [
1508
- "none",
1509
- "text",
1510
- "all",
1511
- "auto"
1512
- ] }],
1513
- "will-change": [{ "will-change": [
1514
- "auto",
1515
- "scroll",
1516
- "contents",
1517
- "transform",
1518
- q,
1519
- G
1520
- ] }],
1521
- fill: [{ fill: ["none", ...I()] }],
1522
- "stroke-w": [{ stroke: [
1523
- z,
1524
- J,
1525
- K,
1526
- de
1527
- ] }],
1528
- stroke: [{ stroke: ["none", ...I()] }],
1529
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1530
- },
1531
- conflictingClassGroups: {
1532
- "container-named": ["container-type"],
1533
- overflow: ["overflow-x", "overflow-y"],
1534
- overscroll: ["overscroll-x", "overscroll-y"],
1535
- inset: [
1536
- "inset-x",
1537
- "inset-y",
1538
- "inset-bs",
1539
- "inset-be",
1540
- "start",
1541
- "end",
1542
- "top",
1543
- "right",
1544
- "bottom",
1545
- "left"
1546
- ],
1547
- "inset-x": ["right", "left"],
1548
- "inset-y": ["top", "bottom"],
1549
- flex: [
1550
- "basis",
1551
- "grow",
1552
- "shrink"
1553
- ],
1554
- gap: ["gap-x", "gap-y"],
1555
- p: [
1556
- "px",
1557
- "py",
1558
- "ps",
1559
- "pe",
1560
- "pbs",
1561
- "pbe",
1562
- "pt",
1563
- "pr",
1564
- "pb",
1565
- "pl"
1566
- ],
1567
- px: ["pr", "pl"],
1568
- py: ["pt", "pb"],
1569
- m: [
1570
- "mx",
1571
- "my",
1572
- "ms",
1573
- "me",
1574
- "mbs",
1575
- "mbe",
1576
- "mt",
1577
- "mr",
1578
- "mb",
1579
- "ml"
1580
- ],
1581
- mx: ["mr", "ml"],
1582
- my: ["mt", "mb"],
1583
- size: ["w", "h"],
1584
- "font-size": ["leading"],
1585
- "fvn-normal": [
1586
- "fvn-ordinal",
1587
- "fvn-slashed-zero",
1588
- "fvn-figure",
1589
- "fvn-spacing",
1590
- "fvn-fraction"
1591
- ],
1592
- "fvn-ordinal": ["fvn-normal"],
1593
- "fvn-slashed-zero": ["fvn-normal"],
1594
- "fvn-figure": ["fvn-normal"],
1595
- "fvn-spacing": ["fvn-normal"],
1596
- "fvn-fraction": ["fvn-normal"],
1597
- "line-clamp": ["display", "overflow"],
1598
- rounded: [
1599
- "rounded-s",
1600
- "rounded-e",
1601
- "rounded-t",
1602
- "rounded-r",
1603
- "rounded-b",
1604
- "rounded-l",
1605
- "rounded-ss",
1606
- "rounded-se",
1607
- "rounded-ee",
1608
- "rounded-es",
1609
- "rounded-tl",
1610
- "rounded-tr",
1611
- "rounded-br",
1612
- "rounded-bl"
1613
- ],
1614
- "rounded-s": ["rounded-ss", "rounded-es"],
1615
- "rounded-e": ["rounded-se", "rounded-ee"],
1616
- "rounded-t": ["rounded-tl", "rounded-tr"],
1617
- "rounded-r": ["rounded-tr", "rounded-br"],
1618
- "rounded-b": ["rounded-br", "rounded-bl"],
1619
- "rounded-l": ["rounded-tl", "rounded-bl"],
1620
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1621
- "border-w": [
1622
- "border-w-x",
1623
- "border-w-y",
1624
- "border-w-s",
1625
- "border-w-e",
1626
- "border-w-bs",
1627
- "border-w-be",
1628
- "border-w-t",
1629
- "border-w-r",
1630
- "border-w-b",
1631
- "border-w-l"
1632
- ],
1633
- "border-w-x": ["border-w-r", "border-w-l"],
1634
- "border-w-y": ["border-w-t", "border-w-b"],
1635
- "border-color": [
1636
- "border-color-x",
1637
- "border-color-y",
1638
- "border-color-s",
1639
- "border-color-e",
1640
- "border-color-bs",
1641
- "border-color-be",
1642
- "border-color-t",
1643
- "border-color-r",
1644
- "border-color-b",
1645
- "border-color-l"
1646
- ],
1647
- "border-color-x": ["border-color-r", "border-color-l"],
1648
- "border-color-y": ["border-color-t", "border-color-b"],
1649
- translate: [
1650
- "translate-x",
1651
- "translate-y",
1652
- "translate-none"
1653
- ],
1654
- "translate-none": [
1655
- "translate",
1656
- "translate-x",
1657
- "translate-y",
1658
- "translate-z"
1659
- ],
1660
- "scroll-m": [
1661
- "scroll-mx",
1662
- "scroll-my",
1663
- "scroll-ms",
1664
- "scroll-me",
1665
- "scroll-mbs",
1666
- "scroll-mbe",
1667
- "scroll-mt",
1668
- "scroll-mr",
1669
- "scroll-mb",
1670
- "scroll-ml"
1671
- ],
1672
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1673
- "scroll-my": ["scroll-mt", "scroll-mb"],
1674
- "scroll-p": [
1675
- "scroll-px",
1676
- "scroll-py",
1677
- "scroll-ps",
1678
- "scroll-pe",
1679
- "scroll-pbs",
1680
- "scroll-pbe",
1681
- "scroll-pt",
1682
- "scroll-pr",
1683
- "scroll-pb",
1684
- "scroll-pl"
1685
- ],
1686
- "scroll-px": ["scroll-pr", "scroll-pl"],
1687
- "scroll-py": ["scroll-pt", "scroll-pb"],
1688
- touch: [
1689
- "touch-x",
1690
- "touch-y",
1691
- "touch-pz"
1692
- ],
1693
- "touch-x": ["touch"],
1694
- "touch-y": ["touch"],
1695
- "touch-pz": ["touch"]
1696
- },
1697
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
1698
- postfixLookupClassGroups: ["container-type"],
1699
- orderSensitiveModifiers: [
1700
- "*",
1701
- "**",
1702
- "after",
1703
- "backdrop",
1704
- "before",
1705
- "details-content",
1706
- "file",
1707
- "first-letter",
1708
- "first-line",
1709
- "marker",
1710
- "placeholder",
1711
- "selection"
1712
- ]
1713
- };
1714
- });
1715
- //#endregion
1716
- //#region node_modules/@getmicdrop/svelte-components/dist/utils/labels.js
1717
- function ke(e, t = {}) {
1718
- let n = Object.fromEntries(Object.entries(t).filter(([, e]) => e !== void 0));
1719
- return {
1720
- ...e,
1721
- ...n
1722
- };
1723
- }
1724
- //#endregion
1725
- //#region node_modules/@getmicdrop/svelte-components/dist/utils/logger.js
1726
- var Ae = {
1727
- debug: 0,
1728
- info: 1,
1729
- warn: 2,
1730
- error: 3
1731
- }, je = () => typeof window < "u" && (typeof process > "u" || !1);
1732
- function Me(e, t = {}) {
1733
- let n = {
1734
- enabled: t.enabled ?? je(),
1735
- level: t.level ?? "debug",
1736
- prefix: e.startsWith("[") ? e : `[${e}]`
1737
- };
1738
- function r(e) {
1739
- return n.enabled && Ae[e] >= Ae[n.level];
1740
- }
1741
- function i(e, t) {
1742
- return `${n.prefix} [${e.toUpperCase()}] ${t}`;
1743
- }
1744
- return {
1745
- debug(e, ...t) {
1746
- r("debug") && console.log(i("debug", e), ...t);
1747
- },
1748
- info(e, ...t) {
1749
- r("info") && console.info(i("info", e), ...t);
1750
- },
1751
- warn(e, ...t) {
1752
- r("warn") && console.warn(i("warn", e), ...t);
1753
- },
1754
- error(e, ...t) {
1755
- r("error") && console.error(i("error", e), ...t);
1756
- },
1757
- configure(e) {
1758
- n = {
1759
- ...n,
1760
- ...e
1761
- };
1762
- }
1763
- };
1764
- }
1765
- var Ne = {
1766
- enabled: je(),
1767
- level: "debug",
1768
- prefix: "[MicDrop]"
1769
- };
1770
- function Pe(e) {
1771
- return Ne.enabled && Ae[e] >= Ae[Ne.level];
1772
- }
1773
- function Fe(e, t) {
1774
- return `${Ne.prefix} [${e.toUpperCase()}] ${t}`;
1775
- }
1776
- var Ie = {
1777
- debug: (e, ...t) => {
1778
- Pe("debug") && console.log(Fe("debug", e), ...t);
1779
- },
1780
- info: (e, ...t) => {
1781
- Pe("info") && console.info(Fe("info", e), ...t);
1782
- },
1783
- warn: (e, ...t) => {
1784
- Pe("warn") && console.warn(Fe("warn", e), ...t);
1785
- },
1786
- error: (e, ...t) => {
1787
- Pe("error") && console.error(Fe("error", e), ...t);
1788
- }
1789
- };
1790
- Me("deprecation");
1791
- function Le(e) {}
1792
- //#endregion
1793
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/CheckOutline.svelte
1794
- var Re = e.from_svg("<svg aria-hidden=\"true\" fill=\"none\" stroke-width=\"2\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"></path></svg>");
1795
- function ze(t, n) {
1796
- let r = e.prop(n, "size", 3, "24"), i = e.prop(n, "color", 3, "currentColor"), a = e.prop(n, "class", 3, "");
1797
- var o = Re();
1798
- e.template_effect(() => {
1799
- e.set_class(o, 0, e.clsx(a())), e.set_attribute(o, "width", r()), e.set_attribute(o, "height", r()), e.set_attribute(o, "stroke", i());
1800
- }), e.append(t, o);
1801
- }
1802
- //#endregion
1803
- //#region node_modules/@getmicdrop/svelte-components/dist/tokens/typography.js
1804
- var Be = {
1805
- display: "type-display",
1806
- metric: "type-metric",
1807
- title: "type-title",
1808
- heading: "type-heading",
1809
- subheading: "type-subheading",
1810
- bodyLarger: "type-bodyLarger",
1811
- bodyLarge: "type-bodyLarge",
1812
- body: "type-body",
1813
- label: "type-label",
1814
- eyebrow: "type-eyebrow",
1815
- caption: "type-caption",
1816
- micro: "type-micro",
1817
- code: "type-code",
1818
- h1: "type-title",
1819
- h2: "type-heading",
1820
- h3: "type-subheading",
1821
- h4: "type-subheading",
1822
- h5: "type-label",
1823
- h6: "type-eyebrow",
1824
- bodyMuted: "type-bodyLarge tone-muted",
1825
- sm: "type-body",
1826
- smMuted: "type-body tone-muted",
1827
- xs: "type-caption",
1828
- xsMuted: "type-caption tone-muted",
1829
- textMuted: "tone-muted",
1830
- iconMuted: "tone-muted",
1831
- labelSpaced: "type-label mb-2",
1832
- helper: "type-body tone-muted",
1833
- placeholder: "type-body tone-muted",
1834
- error: "type-body tone-danger",
1835
- success: "type-body tone-success",
1836
- warning: "type-body tone-warning",
1837
- info: "type-body tone-brand",
1838
- link: "type-body tone-brand hover:underline",
1839
- linkMuted: "type-body tone-muted hover:underline",
1840
- price: "type-subheading",
1841
- priceLg: "type-title",
1842
- badge: "type-eyebrow",
1843
- tableHeader: "type-label tone-secondary",
1844
- codeMuted: "type-code tone-muted"
1845
- }, Ve = {
1846
- emphasis: "font-medium",
1847
- strong: "font-semibold",
1848
- heavy: "font-bold"
1849
- }, He = {
1850
- none: "leading-none",
1851
- tight: "leading-tight",
1852
- normal: "leading-normal",
1853
- relaxed: "leading-relaxed"
1854
- }, Ue = {
1855
- tight: "tracking-tight",
1856
- wide: "tracking-wide"
1857
- }, We = {
1858
- sm: "h-9 px-3 type-body",
1859
- md: "h-10 px-4 type-body",
1860
- lg: "h-12 px-4 type-bodyLarge"
1861
- }, Ge = {
1862
- sm: "h-9 px-3 type-body",
1863
- md: "h-10 px-4 type-body",
1864
- lg: "h-12 px-4 type-bodyLarge"
1865
- }, Ke = {
1866
- xs: "w-3 h-3",
1867
- sm: "w-4 h-4",
1868
- md: "w-8 h-8",
1869
- lg: "w-12 h-12",
1870
- xl: "w-16 h-16"
1871
- }, qe = {
1872
- xs: "type-caption px-1.5 py-0.5 font-medium",
1873
- sm: "type-caption px-2 py-0.5 font-medium",
1874
- md: "type-caption px-2.5 py-0.5 font-medium",
1875
- lg: "type-body px-3 py-0.5 font-medium"
1876
- }, Je = {
1877
- small: "sm",
1878
- medium: "md",
1879
- large: "lg"
1880
- }, Ye = {
1881
- sm: "h-2",
1882
- md: "h-2.5",
1883
- lg: "h-3",
1884
- xl: "h-3.5",
1885
- "2xl": "h-4"
1886
- }, Xe = {
1887
- chip: "px-2.5 py-1 type-caption",
1888
- xs: "h-8 px-3 type-caption",
1889
- sm: "h-9 px-3 type-body",
1890
- md: "h-10 px-4 type-body",
1891
- lg: "h-11 px-5 type-bodyLarge font-semibold",
1892
- xl: "h-12 px-6 type-bodyLarge font-semibold",
1893
- "xl-medium": "w-full h-12 px-6 type-bodyLarge font-semibold",
1894
- full: "w-full h-11 px-5 type-bodyLarge font-semibold",
1895
- "full-md-auto": "w-full h-11 px-5 type-bodyLarge font-semibold md:w-auto",
1896
- half: "w-1/2 h-10 px-4 type-body",
1897
- "icon-xs": "w-6 h-6 p-0",
1898
- "icon-sm": "w-9 h-9 p-0",
1899
- "icon-md": "w-10 h-10 p-0",
1900
- "icon-lg": "w-11 h-11 p-0"
1901
- }, Ze = {
1902
- xs: "p-1.5",
1903
- sm: "p-2",
1904
- md: "p-2.5",
1905
- lg: "p-3"
1906
- }, Qe = {
1907
- sm: "py-2 px-4 type-body",
1908
- md: "py-3 px-4 type-body",
1909
- lg: "py-4 px-6 type-bodyLarge",
1910
- nav: "py-2 px-3 type-bodyLarge font-normal"
1911
- }, $e = {
1912
- sm: "p-3 type-body",
1913
- md: "p-4 type-body",
1914
- lg: "p-5 type-bodyLarge"
1915
- }, et = {
1916
- light: 10,
1917
- medium: 20,
1918
- heavy: 30,
1919
- success: [
1920
- 10,
1921
- 50,
1922
- 20
1923
- ],
1924
- warning: [
1925
- 20,
1926
- 40,
1927
- 20
1928
- ],
1929
- error: [
1930
- 30,
1931
- 50,
1932
- 30,
1933
- 50,
1934
- 30
1935
- ],
1936
- selection: 8
1937
- };
1938
- function tt(e = "light") {
1939
- if (!(typeof window > "u")) {
1940
- if (window.webkit?.messageHandlers?.haptic) {
1941
- window.webkit.messageHandlers.haptic.postMessage(e);
1942
- return;
1943
- }
1944
- if (window.TapticEngine) {
1945
- let t = e === "success" || e === "warning" || e === "error" || e === "selection" ? "medium" : e;
1946
- window.TapticEngine.impact({ style: t });
1947
- return;
1948
- }
1949
- if (navigator.vibrate) {
1950
- let t = et[e];
1951
- navigator.vibrate(t);
1952
- }
1953
- }
1954
- }
1955
- function nt(e, t) {
1956
- if (t) return "success";
1957
- switch (e) {
1958
- case "red":
1959
- case "red-outline":
1960
- case "ghost-red":
1961
- case "menu-item-danger": return "heavy";
1962
- case "default":
1963
- case "outline":
1964
- case "landing": return "medium";
1965
- case "alternative":
1966
- case "ghost":
1967
- case "landing-secondary": return "light";
1968
- case "toggle":
1969
- case "nav": return "selection";
1970
- case "icon":
1971
- case "menu-item":
1972
- case "search-result":
1973
- case "link": return null;
1974
- default: return "light";
1975
- }
1976
- }
1977
- //#endregion
1978
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Button/button-variant.js
1979
- var rt = {
1980
- "blue-solid": "default",
1981
- "gray-outline": "alternative",
1982
- "blue-outline": "outline",
1983
- "red-solid": "red",
1984
- "red-text": "ghost-red",
1985
- "gray-text": "ghost"
1986
- };
1987
- function it(e, t) {
1988
- return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
1989
- }
1990
- function at(e, t) {
1991
- let n = it(rt, e);
1992
- return n !== void 0 && it(t, n) !== void 0 ? (`${e}${n}${e}${n}`, n) : it(t, e) === void 0 ? (`${e}${Object.keys(t).join(", ")}`, "default") : e;
1993
- }
1994
- //#endregion
1995
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Button/Button.svelte
1996
- var ot = e.from_html("<span class=\"sc-button-shimmer\" aria-hidden=\"true\"></span>"), st = e.from_html("<span class=\"inline-flex shrink-0 items-center\"><!></span>"), ct = e.from_html("<a><!> <span><!> <!></span> <!></a>"), lt = e.from_html("<span> </span>"), ut = e.from_html("<span class=\"absolute inset-0 flex items-center justify-center gap-2\"><!> <!></span>"), dt = e.from_html("<button><!> <span><!> <!></span> <!> <!></button>");
1997
- function ft(t, n) {
1998
- e.push(n, !0);
1999
- let r = e.prop(n, "variant", 3, "default"), i = e.prop(n, "size", 3, "md"), a = e.prop(n, "disabled", 3, !1), o = e.prop(n, "loading", 3, !1), s = e.prop(n, "success", 3, !1), c = e.prop(n, "successText", 3, ""), l = e.prop(n, "active", 3, !1), u = e.prop(n, "href", 3, null), d = e.prop(n, "external", 3, !1), f = e.prop(n, "type", 3, "button"), p = e.prop(n, "haptic", 3, !1), m = e.prop(n, "class", 3, ""), h = e.state(!1);
2000
- e.user_effect(() => {
2001
- s() && !e.get(h) && tt("success"), e.set(h, s());
2002
- });
2003
- let g = {
2004
- default: "text-brand-primary-foreground bg-brand-primary border border-brand-primary hover:bg-brand-primary/90",
2005
- alternative: "tone-primary bg-card border border-border hover:bg-muted hover:text-brand-primary",
2006
- outline: "text-brand-primary bg-transparent border border-brand-primary hover:text-brand-primary-foreground hover:bg-brand-primary",
2007
- red: "text-white bg-accent-danger border border-accent-danger hover:bg-accent-danger/90",
2008
- "red-outline": "text-status-error-text bg-transparent border border-accent-danger hover:text-white hover:bg-accent-danger",
2009
- "green-outline": "text-status-success-text bg-transparent border border-accent-success hover:text-white hover:bg-accent-success",
2010
- orange: "text-white bg-accent-warning border border-accent-warning hover:bg-accent-warning/90",
2011
- "orange-outline": "text-status-warning-text bg-transparent border border-accent-warning hover:text-white hover:bg-accent-warning",
2012
- ghost: "tone-muted bg-transparent border-transparent hover:bg-muted",
2013
- "ghost-red": "text-status-error-text bg-transparent border-transparent hover:bg-status-error-bg hover:text-accent-danger",
2014
- link: "text-brand-primary bg-transparent border-transparent hover:underline",
2015
- icon: "tone-muted bg-transparent border-transparent hover:bg-muted",
2016
- "icon-brand": "text-brand-primary-foreground bg-brand-primary border border-brand-primary hover:bg-brand-primary/90",
2017
- toggle: "tone-primary bg-muted border border-border hover:bg-bg-tertiary",
2018
- success: "text-white bg-accent-success border border-accent-success hover:bg-accent-success/90"
2019
- }, _ = {
2020
- ghost: "text-brand-primary bg-status-info-bg",
2021
- toggle: "text-brand-primary-foreground bg-brand-primary border-brand-primary hover:bg-brand-primary"
2022
- }, v = e.derived(() => at(r(), g)), y = e.derived(() => a() || o() || s()), b = e.derived(() => e.get(v) === "icon" || e.get(v) === "icon-brand" || typeof i() == "string" && i().startsWith("icon-")), x = e.derived(() => e.get(v) === "icon" || e.get(v) === "icon-brand" ? typeof i() == "string" && i().startsWith("icon-") ? Xe[i()] || Ze.sm : Ze[i()] || Ze.sm : e.get(v) === "link" ? i() === "xs" ? "type-caption" : "type-body" : Xe[i()] || Xe.md), S = [
2023
- "link",
2024
- "ghost",
2025
- "ghost-red",
2026
- "icon"
2027
- ], C = e.derived(() => s() ? g.success : a() && !o() && !s() ? S.includes(e.get(v)) ? "tone-muted cursor-not-allowed" : "bg-bg-tertiary border-border tone-muted cursor-not-allowed" : l() && _[e.get(v)] ? _[e.get(v)] : g[e.get(v)]), w = e.derived(() => "rounded-lg");
2028
- function T(t) {
2029
- if (e.get(y)) {
2030
- t.preventDefault();
2031
- return;
2032
- }
2033
- if (p()) {
2034
- let t = nt(e.get(v));
2035
- t && tt(t);
2036
- }
2037
- n.onclick?.(t);
2038
- }
2039
- let E = e.derived(() => Oe("relative", "inline-flex items-center justify-center", e.get(w), `${Ve.emphasis} ${He.none}`, "focus:outline-hidden", "transition-all duration-micro ease-spring", e.get(y) ? "" : "active:scale-press active:opacity-90", "select-none", e.get(x), e.get(C), e.get(y) ? "cursor-not-allowed" : "cursor-pointer", m()));
2040
- var D = e.comment(), O = e.first_child(D), ee = (t) => {
2041
- var r = ct(), i = e.child(r), a = (t) => {
2042
- var n = ot();
2043
- e.append(t, n);
2044
- };
2045
- e.if(i, (e) => {
2046
- o() && e(a);
2047
- });
2048
- var c = e.sibling(i, 2);
2049
- let l;
2050
- var f = e.child(c), p = (t) => {
2051
- var r = st(), i = e.child(r);
2052
- e.snippet(i, () => n.leading), e.reset(r), e.append(t, r);
2053
- };
2054
- e.if(f, (t) => {
2055
- n.leading && !e.get(b) && t(p);
2056
- });
2057
- var m = e.sibling(f, 2), h = (t) => {
2058
- var r = e.comment(), i = e.first_child(r);
2059
- e.snippet(i, () => n.children), e.append(t, r);
2060
- }, g = (t) => {
2061
- var r = e.text();
2062
- e.template_effect(() => e.set_text(r, n.children)), e.append(t, r);
2063
- };
2064
- e.if(m, (e) => {
2065
- typeof n.children == "function" ? e(h) : n.children && e(g, 1);
2066
- }), e.reset(c);
2067
- var _ = e.sibling(c, 2), v = (t) => {
2068
- var r = e.comment(), i = e.first_child(r);
2069
- e.snippet(i, () => n.trailing), e.append(t, r);
2070
- }, x = (t) => {
2071
- var r = e.text();
2072
- e.template_effect(() => e.set_text(r, n.trailing)), e.append(t, r);
2073
- };
2074
- e.if(_, (e) => {
2075
- typeof n.trailing == "function" ? e(v) : n.trailing && e(x, 1);
2076
- }), e.reset(r), e.template_effect(() => {
2077
- e.set_attribute(r, "href", e.get(y) ? void 0 : u()), e.set_attribute(r, "target", d() ? "_blank" : void 0), e.set_attribute(r, "rel", d() ? "noopener noreferrer" : void 0), e.set_attribute(r, "id", n.id), e.set_attribute(r, "title", n.title), e.set_attribute(r, "tabindex", e.get(y) ? -1 : n.tabindex), e.set_class(r, 1, e.clsx(e.get(E))), e.set_attribute(r, "data-testid", n["data-testid"]), e.set_attribute(r, "aria-label", n["aria-label"]), e.set_attribute(r, "aria-disabled", e.get(y) || void 0), e.set_attribute(r, "aria-busy", o() || n["aria-busy"] || void 0), e.set_attribute(r, "aria-expanded", n["aria-expanded"]), e.set_attribute(r, "aria-haspopup", n["aria-haspopup"]), e.set_attribute(r, "aria-controls", n["aria-controls"]), e.set_attribute(r, "aria-describedby", n["aria-describedby"]), l = e.set_class(c, 1, "inline-flex items-center gap-1.5", null, l, { invisible: s() });
2078
- }), e.delegated("click", r, T), e.append(t, r);
2079
- }, k = (t) => {
2080
- var r = dt(), i = e.child(r), a = (t) => {
2081
- var n = ot();
2082
- e.append(t, n);
2083
- };
2084
- e.if(i, (e) => {
2085
- o() && e(a);
2086
- });
2087
- var l = e.sibling(i, 2);
2088
- let u;
2089
- var d = e.child(l), p = (t) => {
2090
- var r = st(), i = e.child(r);
2091
- e.snippet(i, () => n.leading), e.reset(r), e.append(t, r);
2092
- };
2093
- e.if(d, (t) => {
2094
- n.leading && !e.get(b) && t(p);
2095
- });
2096
- var m = e.sibling(d, 2), h = (t) => {
2097
- var r = e.comment(), i = e.first_child(r);
2098
- e.snippet(i, () => n.children), e.append(t, r);
2099
- }, g = (t) => {
2100
- var r = e.text();
2101
- e.template_effect(() => e.set_text(r, n.children)), e.append(t, r);
2102
- };
2103
- e.if(m, (e) => {
2104
- typeof n.children == "function" ? e(h) : n.children && e(g, 1);
2105
- }), e.reset(l);
2106
- var _ = e.sibling(l, 2), v = (t) => {
2107
- var r = e.comment(), i = e.first_child(r);
2108
- e.snippet(i, () => n.trailing), e.append(t, r);
2109
- }, x = (t) => {
2110
- var r = e.text();
2111
- e.template_effect(() => e.set_text(r, n.trailing)), e.append(t, r);
2112
- };
2113
- e.if(_, (e) => {
2114
- typeof n.trailing == "function" ? e(v) : n.trailing && e(x, 1);
2115
- });
2116
- var S = e.sibling(_, 2), C = (t) => {
2117
- var n = ut(), r = e.child(n);
2118
- ze(r, { class: "w-5 h-5" });
2119
- var i = e.sibling(r, 2), a = (t) => {
2120
- var n = lt(), r = e.child(n, !0);
2121
- e.reset(n), e.template_effect(() => {
2122
- e.set_class(n, 1, Ve.emphasis), e.set_text(r, c());
2123
- }), e.append(t, n);
2124
- };
2125
- e.if(i, (e) => {
2126
- c() && e(a);
2127
- }), e.reset(n), e.append(t, n);
2128
- };
2129
- e.if(S, (e) => {
2130
- s() && e(C);
2131
- }), e.reset(r), e.template_effect(() => {
2132
- e.set_attribute(r, "type", f()), e.set_attribute(r, "id", n.id), e.set_attribute(r, "name", n.name), e.set_attribute(r, "title", n.title), e.set_attribute(r, "tabindex", n.tabindex), e.set_class(r, 1, e.clsx(e.get(E))), r.disabled = e.get(y), e.set_attribute(r, "data-testid", n["data-testid"]), e.set_attribute(r, "aria-label", n["aria-label"]), e.set_attribute(r, "aria-busy", o() || n["aria-busy"] || void 0), e.set_attribute(r, "aria-expanded", n["aria-expanded"]), e.set_attribute(r, "aria-haspopup", n["aria-haspopup"]), e.set_attribute(r, "aria-controls", n["aria-controls"]), e.set_attribute(r, "aria-pressed", n["aria-pressed"]), e.set_attribute(r, "aria-describedby", n["aria-describedby"]), u = e.set_class(l, 1, "inline-flex items-center gap-1.5", null, u, { invisible: s() });
2133
- }), e.delegated("click", r, T), e.append(t, r);
2134
- };
2135
- e.if(O, (e) => {
2136
- u() ? e(ee) : e(k, -1);
2137
- }), e.append(t, D), e.pop();
2138
- }
2139
- e.delegate(["click"]);
2140
- //#endregion
2141
- export { ke as C, Ie as S, Ve as _, Je as a, Le as b, Ze as c, Ge as d, We as f, Ue as g, He as h, tt as i, Qe as l, Ye as m, at as n, qe as o, Ke as p, nt as r, $e as s, ft as t, Xe as u, Be as v, Oe as w, Me as x, ze as y };