@aswin.dev/editor 0.7.1 → 0.7.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.
Files changed (116) hide show
  1. package/LICENSE +56 -0
  2. package/dist/{AiChatSidebar-DWGPVtvC.js → AiChatSidebar-Dt5pvG5t.js} +37 -51
  3. package/dist/{AiFeatureMenu-duUFSfDf.js → AiFeatureMenu-BipxcGap.js} +1 -1
  4. package/dist/{CloudEditor-CFldoCOb.js → CloudEditor-CnUX0IOW.js} +283 -239
  5. package/dist/{CollaboratorBar-Bw-lbt61.js → CollaboratorBar-NaaZTjbs.js} +2 -2
  6. package/dist/{CommentsSidebar-BaD5F53-.js → CommentsSidebar-DE6ZsM4D.js} +9 -10
  7. package/dist/CountdownBlock-Ba3T-i2X.js +1536 -0
  8. package/dist/{CountdownToolbar-Dg4F8MTk.js → CountdownToolbar-CbhSp_uq.js} +1 -1
  9. package/dist/{DesignReferenceSidebar-BSH7uNP_.js → DesignReferenceSidebar-CZg97bbj.js} +1 -1
  10. package/dist/{ModuleBrowserModal-6phxZSKI.js → ModuleBrowserModal-D2EVdexc.js} +4 -4
  11. package/dist/{ModulePreviewCanvas-BW8L3eQX.js → ModulePreviewCanvas-P3N-nxkU.js} +52 -47
  12. package/dist/{NumberWithSuffix-BpUzQOJt.js → NumberWithSuffix-CihczoAd.js} +1 -1
  13. package/dist/{ParagraphEditor-DNSzAB-I.js → ParagraphEditor-BbRuKhWv.js} +7 -7
  14. package/dist/{SaveModuleDialog-zMQTpez7.js → SaveModuleDialog-DLZa3m3O.js} +2 -2
  15. package/dist/{SnapshotHistory-Do-A5rYU.js → SnapshotHistory-Csg1_jXi.js} +3 -3
  16. package/dist/{TestEmailModal-DGj_9V1u.js → TestEmailModal-m3okLbJz.js} +2 -2
  17. package/dist/{TitleEditor-C7IDnAoS.js → TitleEditor-CtJIS5ER.js} +2 -2
  18. package/dist/{TplModal-BAsVzcTb.js → TplModal-CQCrKeKP.js} +1 -1
  19. package/dist/{blockTypeIcons-C6LDKvmd.js → blockTypeIcons-Dah0pgt-.js} +50 -19
  20. package/dist/bundle-stats.json +8 -8
  21. package/dist/cdn/chunks/AccessibilityPanel-Bt_fD7QT.js +97 -0
  22. package/dist/cdn/chunks/AccessibilityPanel-Bt_fD7QT.js.map +1 -0
  23. package/dist/cdn/chunks/AiFeatureMenu-Bn-0rgfr.js +59 -0
  24. package/dist/cdn/chunks/AiFeatureMenu-Bn-0rgfr.js.map +1 -0
  25. package/dist/cdn/chunks/BlockA11yBadge-Cj18Iw0p.js +33 -0
  26. package/dist/cdn/chunks/BlockA11yBadge-Cj18Iw0p.js.map +1 -0
  27. package/dist/cdn/chunks/CloudEditor-56lVcdot.js +1220 -0
  28. package/dist/cdn/chunks/CloudEditor-56lVcdot.js.map +1 -0
  29. package/dist/cdn/chunks/CollaboratorBar-B7DCV3xp.js +51 -0
  30. package/dist/cdn/chunks/CollaboratorBar-B7DCV3xp.js.map +1 -0
  31. package/dist/cdn/chunks/CountdownToolbar-BtaD3d3-.js +212 -0
  32. package/dist/cdn/chunks/CountdownToolbar-BtaD3d3-.js.map +1 -0
  33. package/dist/cdn/chunks/ModuleBrowserModal-CiIY7ZGv.js +195 -0
  34. package/dist/cdn/chunks/ModuleBrowserModal-CiIY7ZGv.js.map +1 -0
  35. package/dist/cdn/chunks/ModulePreviewCanvas-M7_OGV2m.js +113 -0
  36. package/dist/cdn/chunks/ModulePreviewCanvas-M7_OGV2m.js.map +1 -0
  37. package/dist/cdn/chunks/NumberWithSuffix-DfVBnsgc.js +423 -0
  38. package/dist/cdn/chunks/NumberWithSuffix-DfVBnsgc.js.map +1 -0
  39. package/dist/cdn/chunks/ParagraphEditor-1XJOpiLX.js +544 -0
  40. package/dist/cdn/chunks/ParagraphEditor-1XJOpiLX.js.map +1 -0
  41. package/dist/cdn/chunks/RichTextEditorContent-C2q8sbp2.js +106 -0
  42. package/dist/cdn/chunks/RichTextEditorContent-C2q8sbp2.js.map +1 -0
  43. package/dist/cdn/chunks/SaveModuleDialog-BNxh1jPT.js +119 -0
  44. package/dist/cdn/chunks/SaveModuleDialog-BNxh1jPT.js.map +1 -0
  45. package/dist/cdn/chunks/TitleEditor-IF7VzLTk.js +171 -0
  46. package/dist/cdn/chunks/TitleEditor-IF7VzLTk.js.map +1 -0
  47. package/dist/cdn/chunks/blockTypeIcons-tPBKQ8WC.js +24 -0
  48. package/dist/cdn/chunks/blockTypeIcons-tPBKQ8WC.js.map +1 -0
  49. package/dist/cdn/chunks/de-B05yW8Gi.js +840 -0
  50. package/dist/cdn/chunks/de-B05yW8Gi.js.map +1 -0
  51. package/dist/cdn/chunks/de-BPHtelu7.js +209 -0
  52. package/dist/cdn/chunks/de-BPHtelu7.js.map +1 -0
  53. package/dist/cdn/chunks/de-BRDqJwJe.js +89 -0
  54. package/dist/cdn/chunks/de-BRDqJwJe.js.map +1 -0
  55. package/dist/cdn/chunks/draggable-C-1_gch3.js +11572 -0
  56. package/dist/cdn/chunks/draggable-C-1_gch3.js.map +1 -0
  57. package/dist/cdn/chunks/emojiData-DUHzsh4j.js +19 -0
  58. package/dist/cdn/chunks/emojiData-DUHzsh4j.js.map +1 -0
  59. package/dist/cdn/chunks/en-BII7695P.js +840 -0
  60. package/dist/cdn/chunks/en-BII7695P.js.map +1 -0
  61. package/dist/cdn/chunks/en-Cdj_Ikl1.js +89 -0
  62. package/dist/cdn/chunks/en-Cdj_Ikl1.js.map +1 -0
  63. package/dist/cdn/chunks/en-DejwuJhw.js +209 -0
  64. package/dist/cdn/chunks/en-DejwuJhw.js.map +1 -0
  65. package/dist/cdn/chunks/extensions-B0eT-yjf.js +598 -0
  66. package/dist/cdn/chunks/extensions-B0eT-yjf.js.map +1 -0
  67. package/dist/cdn/chunks/features-BrvE2Fzv.js +9677 -0
  68. package/dist/cdn/chunks/features-BrvE2Fzv.js.map +1 -0
  69. package/dist/cdn/chunks/icons-C7wtAD8p.js +1043 -0
  70. package/dist/cdn/chunks/icons-C7wtAD8p.js.map +1 -0
  71. package/dist/cdn/chunks/liquid.browser-CllF-us3.js +3279 -0
  72. package/dist/cdn/chunks/liquid.browser-CllF-us3.js.map +1 -0
  73. package/dist/cdn/chunks/media-library-Cl5XuaKy.js +6030 -0
  74. package/dist/cdn/chunks/media-library-Cl5XuaKy.js.map +1 -0
  75. package/dist/cdn/chunks/pusher-i7-OBujc.js +2508 -0
  76. package/dist/cdn/chunks/pusher-i7-OBujc.js.map +1 -0
  77. package/dist/cdn/chunks/quality-Va91a3N8.js +1456 -0
  78. package/dist/cdn/chunks/quality-Va91a3N8.js.map +1 -0
  79. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js +32 -0
  80. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -0
  81. package/dist/cdn/chunks/renderer-si0Zgxeb.js +642 -0
  82. package/dist/cdn/chunks/renderer-si0Zgxeb.js.map +1 -0
  83. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +20 -0
  84. package/dist/cdn/chunks/src-BLyYIbdZ.js +497 -0
  85. package/dist/cdn/chunks/src-BLyYIbdZ.js.map +1 -0
  86. package/dist/cdn/chunks/styleConstants-DfcU8u_r.js +57 -0
  87. package/dist/cdn/chunks/styleConstants-DfcU8u_r.js.map +1 -0
  88. package/dist/cdn/chunks/styles-C6BQLT9F.js +5807 -0
  89. package/dist/cdn/chunks/styles-C6BQLT9F.js.map +1 -0
  90. package/dist/cdn/chunks/tiptap-D8whBv5F.js +14654 -0
  91. package/dist/cdn/chunks/tiptap-D8whBv5F.js.map +1 -0
  92. package/dist/cdn/editor.css +2 -0
  93. package/dist/cdn/editor.js +367 -0
  94. package/dist/cdn/editor.js.map +1 -0
  95. package/dist/{cloud-6ZmAvF0j.js → cloud-BoS0J0vs.js} +1 -1
  96. package/dist/{de-DWcgp-7T.js → de-C74F9xK3.js} +112 -3
  97. package/dist/dist-C2grMquk.js +1261 -0
  98. package/dist/{dist-CivF9P8b.js → dist-Djgi0A6k.js} +92 -77
  99. package/dist/{en-Cxd4fhNm.js → en-B24jVTeO.js} +112 -3
  100. package/dist/{extensions-D__hOlV1.js → extensions-DsmjHqBF.js} +14 -14
  101. package/dist/index.d.ts +21 -10
  102. package/dist/{pencil-BZJPNYWR.js → pencil-Bpimrzzw.js} +5 -2
  103. package/dist/style.css +1 -1
  104. package/dist/styles-BMFMtR9R.js +6341 -0
  105. package/dist/templatical-editor.js +197 -139
  106. package/dist/undo-2-m1EUDbUg.js +16 -0
  107. package/dist/{useEditorCore-wslttMH-.js → useEditorCore-CtNAo0uy.js} +2154 -2025
  108. package/dist/useMergeTag-2vTcVpNo.js +34 -0
  109. package/package.json +12 -12
  110. package/dist/CountdownBlock-DaYGxKqo.js +0 -92
  111. package/dist/check-DJrpDKO_.js +0 -7
  112. package/dist/dist-C04s_fLA.js +0 -563
  113. package/dist/styles-B4tjX5SP.js +0 -5224
  114. package/dist/useMergeTag-DX0XG5V9.js +0 -34
  115. /package/dist/{clock-ik2pRJKG.js → clock-Ba4p3rJM.js} +0 -0
  116. /package/dist/{readableTextColor-DVuzNX1y.js → readableTextColor-C_9OpzBw.js} +0 -0
@@ -0,0 +1,1536 @@
1
+ import { r as e } from "./rolldown-runtime-BZGGJVDF.js";
2
+ import { C as t, F as n, Ft as r, N as i, R as a, V as o, _ as s, et as c, f as l, g as u, h as d, it as f, jt as p, m, st as h, v as g, y as _ } from "./vue.runtime.esm-bundler-CjauPXjj.js";
3
+ import { l as v } from "./dist-Djgi0A6k.js";
4
+ import { t as y } from "./useI18n-C2xQZ6K9.js";
5
+ import { t as b } from "./_plugin-vue_export-helper-BVAJ4lgT.js";
6
+ //#region src/composables/useCountdownTimer.ts
7
+ var x = {
8
+ days: 0,
9
+ hours: 0,
10
+ minutes: 0,
11
+ seconds: 0
12
+ };
13
+ function ee(e) {
14
+ let t = c(Date.now());
15
+ v(() => {
16
+ t.value = Date.now();
17
+ }, 1e3);
18
+ let n = m(() => {
19
+ let t = e.value.targetDate;
20
+ if (!t) return null;
21
+ let n = new Date(t);
22
+ return Number.isNaN(n.getTime()) ? null : n.getTime();
23
+ }), r = m(() => !!e.value.targetDate), i = m(() => n.value ? t.value >= n.value : !1), a = m(() => {
24
+ if (!n.value || i.value) return x;
25
+ let e = n.value - t.value, r = Math.floor(e / 1e3);
26
+ return {
27
+ days: Math.floor(r / 86400),
28
+ hours: Math.floor(r % 86400 / 3600),
29
+ minutes: Math.floor(r % 3600 / 60),
30
+ seconds: r % 60
31
+ };
32
+ });
33
+ return {
34
+ now: t,
35
+ targetTime: n,
36
+ isExpired: i,
37
+ remaining: a,
38
+ segments: m(() => {
39
+ let t = e.value, n = a.value, r = [];
40
+ return t.showDays && r.push({
41
+ key: "days",
42
+ raw: n.days,
43
+ value: String(n.days).padStart(2, "0"),
44
+ label: t.labelDays
45
+ }), t.showHours && r.push({
46
+ key: "hours",
47
+ raw: n.hours,
48
+ value: String(n.hours).padStart(2, "0"),
49
+ label: t.labelHours
50
+ }), t.showMinutes && r.push({
51
+ key: "minutes",
52
+ raw: n.minutes,
53
+ value: String(n.minutes).padStart(2, "0"),
54
+ label: t.labelMinutes
55
+ }), t.showSeconds && r.push({
56
+ key: "seconds",
57
+ raw: n.seconds,
58
+ value: String(n.seconds).padStart(2, "0"),
59
+ label: t.labelSeconds
60
+ }), r;
61
+ }),
62
+ hasTargetDate: r
63
+ };
64
+ }
65
+ //#endregion
66
+ //#region src/components/blocks/countdown/MinimalStyle.vue?vue&type=script&setup=true&lang.ts
67
+ var te = { class: "tpl:text-center" }, S = /* @__PURE__ */ t({
68
+ __name: "MinimalStyle",
69
+ props: {
70
+ block: {},
71
+ viewport: {},
72
+ segments: {},
73
+ separator: {}
74
+ },
75
+ setup(e) {
76
+ let t = e, a = m(() => ({
77
+ backgroundColor: t.block.backgroundColor,
78
+ fontFamily: t.block.fontFamily || "inherit"
79
+ })), o = m(() => ({
80
+ fontSize: `${t.block.digitFontSize}px`,
81
+ fontWeight: "bold",
82
+ color: t.block.digitColor,
83
+ lineHeight: "1.2"
84
+ })), c = m(() => ({
85
+ fontSize: `${t.block.labelFontSize}px`,
86
+ color: t.block.labelColor,
87
+ marginTop: "4px"
88
+ })), u = m(() => ({
89
+ fontSize: `${t.block.digitFontSize}px`,
90
+ color: t.block.digitColor,
91
+ fontFamily: t.block.fontFamily || "inherit"
92
+ }));
93
+ return (t, f) => (i(), g("div", {
94
+ style: p(a.value),
95
+ class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:py-4"
96
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g(l, { key: t.label }, [n > 0 ? (i(), g("span", {
97
+ key: 0,
98
+ style: p(u.value),
99
+ class: "tpl:self-start"
100
+ }, r(e.separator), 5)) : s("", !0), d("div", te, [d("div", { style: p(o.value) }, r(t.value), 5), d("div", { style: p(c.value) }, r(t.label), 5)])], 64))), 128))], 4));
101
+ }
102
+ });
103
+ //#endregion
104
+ //#region src/components/blocks/countdown/shared.ts
105
+ function C(e, t) {
106
+ let n = e.layout ?? "horizontal", r = t === "mobile", i = e.cardGap ?? 12;
107
+ switch (n) {
108
+ case "vertical": return {
109
+ stack: !0,
110
+ gap: i + 4,
111
+ padding: r ? 16 : 24,
112
+ fullscreen: !1,
113
+ digitScale: 1
114
+ };
115
+ case "compact": return {
116
+ stack: !1,
117
+ gap: Math.max(4, i - 6),
118
+ padding: r ? 8 : 12,
119
+ fullscreen: !1,
120
+ digitScale: .7
121
+ };
122
+ case "fullscreen": return {
123
+ stack: !1,
124
+ gap: r ? i : i + 16,
125
+ padding: r ? 32 : 64,
126
+ fullscreen: !0,
127
+ digitScale: r ? 1.1 : 1.6
128
+ };
129
+ default: return {
130
+ stack: r,
131
+ gap: i,
132
+ padding: r ? 16 : 24,
133
+ fullscreen: !1,
134
+ digitScale: 1
135
+ };
136
+ }
137
+ }
138
+ function w(e, t) {
139
+ switch (e) {
140
+ case "slow": return Math.round(t * 1.6);
141
+ case "fast": return Math.round(t * .65);
142
+ default: return t;
143
+ }
144
+ }
145
+ function T(e, t) {
146
+ if (!e) return `rgba(0,0,0,${t})`;
147
+ if (e.startsWith("#")) {
148
+ let n = e.slice(1), r = n.length === 3 ? n.split("").map((e) => e + e).join("") : n.slice(0, 6), i = parseInt(r.slice(0, 2), 16), a = parseInt(r.slice(2, 4), 16), o = parseInt(r.slice(4, 6), 16);
149
+ return [
150
+ i,
151
+ a,
152
+ o
153
+ ].some(Number.isNaN) ? e : `rgba(${i}, ${a}, ${o}, ${t})`;
154
+ }
155
+ return e;
156
+ }
157
+ //#endregion
158
+ //#region src/components/blocks/countdown/MatrixStyle.vue?vue&type=script&setup=true&lang.ts
159
+ var E = {
160
+ class: "cd-matrix__rain",
161
+ "aria-hidden": "true"
162
+ }, D = "アイウエオカキクケコサシスセソタチツテト01010101", O = /* @__PURE__ */ b(/* @__PURE__ */ t({
163
+ __name: "MatrixStyle",
164
+ props: {
165
+ block: {},
166
+ viewport: {},
167
+ segments: {},
168
+ separator: {}
169
+ },
170
+ setup(e) {
171
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => w(t.block.animationSpeed, 4500)), c = m(() => ({
172
+ backgroundColor: t.block.backgroundColor || "#000000",
173
+ fontFamily: t.block.fontFamily || "'JetBrains Mono', 'Fira Code', 'Courier New', monospace",
174
+ padding: `${a.value.padding}px`,
175
+ gap: `${a.value.gap}px`,
176
+ flexDirection: a.value.stack ? "column" : "row",
177
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
178
+ "--cd-tick": `${o.value}ms`,
179
+ "--cd-flicker": `${s.value}ms`
180
+ })), u = m(() => `${t.block.digitFontSize * a.value.digitScale}px`), f = Array.from({ length: 24 }, (e, t) => t);
181
+ function _(e) {
182
+ return `${e * 137 % 1800}ms`;
183
+ }
184
+ function v(e) {
185
+ return D[e * 7 % 28];
186
+ }
187
+ return (t, a) => (i(), g("div", {
188
+ class: "cd-matrix",
189
+ style: p(c.value)
190
+ }, [
191
+ d("div", E, [(i(!0), g(l, null, n(h(f), (e) => (i(), g("span", {
192
+ key: e,
193
+ class: "cd-matrix__col",
194
+ style: p({
195
+ left: `${e / h(f).length * 100}%`,
196
+ animationDelay: _(e)
197
+ })
198
+ }, [(i(), g(l, null, n(12, (t) => d("span", { key: t }, r(v(e + t)), 1)), 64))], 4))), 128))]),
199
+ a[0] ||= d("div", {
200
+ class: "cd-matrix__scan",
201
+ "aria-hidden": "true"
202
+ }, null, -1),
203
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
204
+ key: t.key,
205
+ class: "cd-matrix__cell",
206
+ style: p({ animationDelay: `${n * 120}ms` })
207
+ }, [d("div", {
208
+ class: "cd-matrix__digit",
209
+ style: p({
210
+ fontSize: u.value,
211
+ color: e.block.digitColor || "#39ff14"
212
+ })
213
+ }, [(i(), g("span", {
214
+ key: t.value,
215
+ class: "cd-matrix__num"
216
+ }, r(t.value), 1))], 4), d("div", {
217
+ class: "cd-matrix__label",
218
+ style: p({
219
+ fontSize: `${e.block.labelFontSize}px`,
220
+ color: e.block.labelColor || "#39ff14aa"
221
+ })
222
+ }, r(t.label), 5)], 4))), 128))
223
+ ], 4));
224
+ }
225
+ }), [["__scopeId", "data-v-4930d014"]]), k = { class: "cd-flip__cards" }, A = { class: "cd-flip__half cd-flip__half--top" }, j = { class: "cd-flip__char" }, M = { class: "cd-flip__half cd-flip__half--bot" }, N = { class: "cd-flip__char" }, P = { class: "cd-flip__char" }, F = { class: "cd-flip__char" }, I = {
226
+ key: 0,
227
+ class: "cd-flip__sep",
228
+ "aria-hidden": "true"
229
+ }, L = /* @__PURE__ */ b(/* @__PURE__ */ t({
230
+ __name: "FlipClockStyle",
231
+ props: {
232
+ block: {},
233
+ viewport: {},
234
+ segments: {},
235
+ separator: {}
236
+ },
237
+ setup(e) {
238
+ let t = e, a = m(() => C(t.block, t.viewport)), u = m(() => w(t.block.animationSpeed, 600)), f = c({});
239
+ o(() => t.segments, (e) => {
240
+ for (let t of e) {
241
+ let e = f.value[t.key];
242
+ if (!e) {
243
+ f.value[t.key] = {
244
+ current: t.value,
245
+ previous: t.value,
246
+ flipping: !1,
247
+ tick: 0
248
+ };
249
+ continue;
250
+ }
251
+ if (e.current !== t.value) {
252
+ f.value[t.key] = {
253
+ previous: e.current,
254
+ current: t.value,
255
+ flipping: !0,
256
+ tick: e.tick + 1
257
+ };
258
+ let n = t.key;
259
+ setTimeout(() => {
260
+ f.value[n] && (f.value[n].flipping = !1);
261
+ }, u.value + 50);
262
+ }
263
+ }
264
+ }, {
265
+ immediate: !0,
266
+ deep: !0
267
+ });
268
+ let h = m(() => ({
269
+ backgroundColor: t.block.backgroundColor || "#0f1115",
270
+ fontFamily: t.block.fontFamily || "'Helvetica Neue', Arial, sans-serif",
271
+ padding: `${a.value.padding}px`,
272
+ gap: `${a.value.gap}px`,
273
+ flexDirection: a.value.stack ? "column" : "row",
274
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
275
+ "--flip-duration": `${u.value}ms`
276
+ })), _ = m(() => {
277
+ let e = t.block.digitFontSize * a.value.digitScale;
278
+ return {
279
+ width: `${Math.round(e * 1.3)}px`,
280
+ height: `${Math.round(e * 1.7)}px`,
281
+ fontSize: `${Math.round(e * 1.25)}px`,
282
+ radius: `${Math.max(4, t.block.cardRadius ?? 8)}px`
283
+ };
284
+ }), v = m(() => t.block.digitColor || "#f9fafb");
285
+ function y(e, t) {
286
+ let n = f.value[e];
287
+ return t.split("").map((e, t) => {
288
+ let r = n?.previous?.[t] ?? e;
289
+ return {
290
+ ci: t,
291
+ current: e,
292
+ previous: r,
293
+ flipping: (n?.flipping ?? !1) && r !== e,
294
+ flipKey: `${n?.tick ?? 0}-${t}-${e}`
295
+ };
296
+ });
297
+ }
298
+ return (t, o) => (i(), g("div", {
299
+ class: "cd-flip",
300
+ style: p(h.value)
301
+ }, [(i(!0), g(l, null, n(e.segments, (t, c) => (i(), g("div", {
302
+ key: t.key,
303
+ class: "cd-flip__group"
304
+ }, [
305
+ d("div", k, [(i(!0), g(l, null, n(y(t.key, t.value), (e) => (i(), g("div", {
306
+ key: e.ci,
307
+ class: "cd-flip__card",
308
+ style: p({
309
+ width: _.value.width,
310
+ height: _.value.height,
311
+ borderRadius: _.value.radius,
312
+ color: v.value,
313
+ fontSize: _.value.fontSize
314
+ })
315
+ }, [
316
+ d("div", A, [d("span", j, r(e.current), 1)]),
317
+ d("div", M, [d("span", N, r(e.flipping ? e.previous : e.current), 1)]),
318
+ e.flipping ? (i(), g("div", {
319
+ key: `top-${e.flipKey}`,
320
+ class: "cd-flip__flap cd-flip__flap--top"
321
+ }, [d("span", P, r(e.previous), 1)])) : s("", !0),
322
+ e.flipping ? (i(), g("div", {
323
+ key: `bot-${e.flipKey}`,
324
+ class: "cd-flip__flap cd-flip__flap--bot"
325
+ }, [d("span", F, r(e.current), 1)])) : s("", !0),
326
+ o[0] ||= d("div", {
327
+ class: "cd-flip__divider",
328
+ "aria-hidden": "true"
329
+ }, null, -1)
330
+ ], 4))), 128))]),
331
+ d("div", {
332
+ class: "cd-flip__label",
333
+ style: p({
334
+ fontSize: `${e.block.labelFontSize}px`,
335
+ color: e.block.labelColor || "#9ca3af"
336
+ })
337
+ }, r(t.label), 5),
338
+ c < e.segments.length - 1 && !a.value.stack ? (i(), g("div", I, r(e.separator), 1)) : s("", !0)
339
+ ]))), 128))], 4));
340
+ }
341
+ }), [["__scopeId", "data-v-d1a2d94a"]]), R = /* @__PURE__ */ b(/* @__PURE__ */ t({
342
+ __name: "GlassmorphismStyle",
343
+ props: {
344
+ block: {},
345
+ viewport: {},
346
+ segments: {},
347
+ separator: {}
348
+ },
349
+ setup(e) {
350
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 500)), s = m(() => t.block.accentColor || "#7dd3fc"), c = m(() => ({
351
+ background: t.block.backgroundColor || "linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%)",
352
+ fontFamily: t.block.fontFamily || "'Inter', system-ui, sans-serif",
353
+ padding: `${a.value.padding}px`,
354
+ gap: `${a.value.gap}px`,
355
+ flexDirection: a.value.stack ? "column" : "row",
356
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
357
+ "--cd-accent": s.value,
358
+ "--cd-glow": T(s.value, .45),
359
+ "--cd-tick": `${o.value}ms`
360
+ })), u = m(() => {
361
+ let e = t.block.digitFontSize * a.value.digitScale;
362
+ return {
363
+ width: `${e * 2.4}px`,
364
+ height: `${e * 2.4}px`,
365
+ fontSize: `${e}px`,
366
+ radius: `${t.block.cardRadius ?? 24}px`
367
+ };
368
+ });
369
+ return (t, a) => (i(), g("div", {
370
+ class: "cd-glass",
371
+ style: p(c.value)
372
+ }, [
373
+ a[1] ||= d("div", { class: "cd-glass__orb cd-glass__orb--a" }, null, -1),
374
+ a[2] ||= d("div", { class: "cd-glass__orb cd-glass__orb--b" }, null, -1),
375
+ a[3] ||= d("div", { class: "cd-glass__orb cd-glass__orb--c" }, null, -1),
376
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
377
+ key: t.key,
378
+ class: "cd-glass__card",
379
+ style: p({
380
+ width: u.value.width,
381
+ height: u.value.height,
382
+ borderRadius: u.value.radius,
383
+ animationDelay: `${n * 110}ms`
384
+ })
385
+ }, [
386
+ a[0] ||= d("div", { class: "cd-glass__shine" }, null, -1),
387
+ d("div", {
388
+ class: "cd-glass__digit",
389
+ style: p({
390
+ fontSize: u.value.fontSize,
391
+ color: e.block.digitColor || "#ffffff"
392
+ })
393
+ }, [(i(), g("span", { key: t.value }, r(t.value), 1))], 4),
394
+ d("div", {
395
+ class: "cd-glass__label",
396
+ style: p({
397
+ fontSize: `${e.block.labelFontSize}px`,
398
+ color: e.block.labelColor || "rgba(255,255,255,0.75)"
399
+ })
400
+ }, r(t.label), 5)
401
+ ], 4))), 128))
402
+ ], 4));
403
+ }
404
+ }), [["__scopeId", "data-v-fc3c7d5b"]]), z = { class: "cd-neon__inner" }, B = /* @__PURE__ */ b(/* @__PURE__ */ t({
405
+ __name: "NeonGamingStyle",
406
+ props: {
407
+ block: {},
408
+ viewport: {},
409
+ segments: {},
410
+ separator: {}
411
+ },
412
+ setup(e) {
413
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 700)), s = m(() => ({
414
+ background: t.block.backgroundColor || "radial-gradient(circle at 30% 20%, #1a0040 0%, #060010 70%)",
415
+ fontFamily: t.block.fontFamily || "'Orbitron', 'Rajdhani', sans-serif",
416
+ padding: `${a.value.padding}px`,
417
+ gap: `${a.value.gap}px`,
418
+ flexDirection: a.value.stack ? "column" : "row",
419
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
420
+ "--cd-tick": `${o.value}ms`
421
+ })), c = m(() => {
422
+ let e = t.block.digitFontSize * a.value.digitScale;
423
+ return {
424
+ width: `${e * 2.2}px`,
425
+ height: `${e * 2.4}px`,
426
+ fontSize: `${e}px`,
427
+ radius: `${t.block.cardRadius ?? 14}px`
428
+ };
429
+ });
430
+ return (t, a) => (i(), g("div", {
431
+ class: "cd-neon",
432
+ style: p(s.value)
433
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
434
+ key: t.key,
435
+ class: "cd-neon__card",
436
+ style: p({
437
+ width: c.value.width,
438
+ height: c.value.height,
439
+ borderRadius: c.value.radius,
440
+ animationDelay: `${n * 200}ms`
441
+ })
442
+ }, [a[0] ||= d("span", { class: "cd-neon__border" }, null, -1), d("span", z, [(i(), g("span", {
443
+ class: "cd-neon__digit",
444
+ key: t.value,
445
+ style: p({
446
+ fontSize: c.value.fontSize,
447
+ color: e.block.digitColor || "#ffffff"
448
+ })
449
+ }, r(t.value), 5)), d("span", {
450
+ class: "cd-neon__label",
451
+ style: p({
452
+ fontSize: `${e.block.labelFontSize}px`,
453
+ color: e.block.labelColor || "rgba(255,255,255,0.7)"
454
+ })
455
+ }, r(t.label), 5)])], 4))), 128))], 4));
456
+ }
457
+ }), [["__scopeId", "data-v-bf76228f"]]), V = { class: "cd-led__cell" }, H = { class: "cd-led__panel" }, U = /* @__PURE__ */ b(/* @__PURE__ */ t({
458
+ __name: "RetroLedStyle",
459
+ props: {
460
+ block: {},
461
+ viewport: {},
462
+ segments: {},
463
+ separator: {}
464
+ },
465
+ setup(e) {
466
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => t.block.digitColor || "#ff3b1d"), c = m(() => ({
467
+ background: t.block.backgroundColor || "#0a0a0a",
468
+ fontFamily: t.block.fontFamily || "'DSEG7 Classic', 'Share Tech Mono', 'Courier New', monospace",
469
+ padding: `${a.value.padding}px`,
470
+ gap: `${a.value.gap}px`,
471
+ flexDirection: a.value.stack ? "column" : "row",
472
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
473
+ "--led-color": o.value
474
+ })), u = m(() => `${t.block.digitFontSize * a.value.digitScale * 1.4}px`);
475
+ return (t, o) => (i(), g("div", {
476
+ class: "cd-led",
477
+ style: p(c.value)
478
+ }, [
479
+ o[0] ||= d("div", {
480
+ class: "cd-led__noise",
481
+ "aria-hidden": "true"
482
+ }, null, -1),
483
+ o[1] ||= d("div", {
484
+ class: "cd-led__reflection",
485
+ "aria-hidden": "true"
486
+ }, null, -1),
487
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g(l, { key: t.key }, [d("div", V, [d("div", H, [d("span", {
488
+ class: "cd-led__ghost",
489
+ style: p({ fontSize: u.value })
490
+ }, "88", 4), d("span", {
491
+ class: "cd-led__digit",
492
+ style: p({ fontSize: u.value })
493
+ }, r(t.value), 5)]), d("div", {
494
+ class: "cd-led__label",
495
+ style: p({
496
+ fontSize: `${e.block.labelFontSize}px`,
497
+ color: e.block.labelColor || "rgba(255, 80, 60, 0.65)"
498
+ })
499
+ }, r(t.label), 5)]), n < e.segments.length - 1 && !a.value.stack ? (i(), g("div", {
500
+ key: 0,
501
+ class: "cd-led__sep",
502
+ style: p({ fontSize: u.value })
503
+ }, r(e.separator), 5)) : s("", !0)], 64))), 128))
504
+ ], 4));
505
+ }
506
+ }), [["__scopeId", "data-v-5b9ba0bc"]]), W = /* @__PURE__ */ b(/* @__PURE__ */ t({
507
+ __name: "SciFiHologramStyle",
508
+ props: {
509
+ block: {},
510
+ viewport: {},
511
+ segments: {},
512
+ separator: {}
513
+ },
514
+ setup(e) {
515
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => t.block.accentColor || "#22d3ee"), c = m(() => ({
516
+ background: t.block.backgroundColor || "radial-gradient(circle at center, #052238 0%, #020a14 75%)",
517
+ fontFamily: t.block.fontFamily || "'Orbitron', 'Exo 2', sans-serif",
518
+ padding: `${a.value.padding}px`,
519
+ gap: `${a.value.gap}px`,
520
+ flexDirection: a.value.stack ? "column" : "row",
521
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
522
+ "--cd-accent": s.value,
523
+ "--cd-glow": T(s.value, .55),
524
+ "--cd-tick": `${o.value}ms`
525
+ })), u = m(() => {
526
+ let e = t.block.digitFontSize * a.value.digitScale;
527
+ return {
528
+ width: `${e * 2.6}px`,
529
+ height: `${e * 2.6}px`,
530
+ fontSize: `${e}px`
531
+ };
532
+ });
533
+ return (t, a) => (i(), g("div", {
534
+ class: "cd-holo",
535
+ style: p(c.value)
536
+ }, [
537
+ a[1] ||= d("div", {
538
+ class: "cd-holo__grid",
539
+ "aria-hidden": "true"
540
+ }, null, -1),
541
+ a[2] ||= d("div", {
542
+ class: "cd-holo__scan",
543
+ "aria-hidden": "true"
544
+ }, null, -1),
545
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
546
+ key: t.key,
547
+ class: "cd-holo__cell",
548
+ style: p({ animationDelay: `${n * 130}ms` })
549
+ }, [d("div", {
550
+ class: "cd-holo__hud",
551
+ style: p({
552
+ width: u.value.width,
553
+ height: u.value.height
554
+ })
555
+ }, [a[0] ||= _("<svg class=\"cd-holo__ring\" viewBox=\"0 0 100 100\" aria-hidden=\"true\" data-v-a6aaf28e><circle cx=\"50\" cy=\"50\" r=\"48\" data-v-a6aaf28e></circle><circle class=\"cd-holo__ring-arc\" cx=\"50\" cy=\"50\" r=\"42\" data-v-a6aaf28e></circle><circle class=\"cd-holo__ring-arc cd-holo__ring-arc--rev\" cx=\"50\" cy=\"50\" r=\"36\" data-v-a6aaf28e></circle></svg><div class=\"cd-holo__cross-h\" data-v-a6aaf28e></div><div class=\"cd-holo__cross-v\" data-v-a6aaf28e></div>", 3), (i(), g("span", {
556
+ class: "cd-holo__digit",
557
+ key: t.value,
558
+ style: p({
559
+ fontSize: u.value.fontSize,
560
+ color: e.block.digitColor || s.value
561
+ })
562
+ }, r(t.value), 5))], 4), d("div", {
563
+ class: "cd-holo__label",
564
+ style: p({
565
+ fontSize: `${e.block.labelFontSize}px`,
566
+ color: e.block.labelColor || h(T)(s.value, .75)
567
+ })
568
+ }, r(t.label), 5)], 4))), 128))
569
+ ], 4));
570
+ }
571
+ }), [["__scopeId", "data-v-a6aaf28e"]]), G = /* @__PURE__ */ b(/* @__PURE__ */ t({
572
+ __name: "LuxuryGoldStyle",
573
+ props: {
574
+ block: {},
575
+ viewport: {},
576
+ segments: {},
577
+ separator: {}
578
+ },
579
+ setup(e) {
580
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 700)), s = m(() => ({
581
+ background: t.block.backgroundColor || "radial-gradient(circle at 30% 20%, #1c1410 0%, #050302 70%)",
582
+ fontFamily: t.block.fontFamily || "'Playfair Display', 'Cormorant Garamond', serif",
583
+ padding: `${a.value.padding}px`,
584
+ gap: `${a.value.gap}px`,
585
+ flexDirection: a.value.stack ? "column" : "row",
586
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
587
+ "--cd-tick": `${o.value}ms`
588
+ })), c = m(() => {
589
+ let e = t.block.digitFontSize * a.value.digitScale;
590
+ return {
591
+ width: `${e * 2.4}px`,
592
+ height: `${e * 2.6}px`,
593
+ fontSize: `${e * 1.2}px`,
594
+ radius: `${t.block.cardRadius ?? 8}px`
595
+ };
596
+ });
597
+ return (t, a) => (i(), g("div", {
598
+ class: "cd-gold",
599
+ style: p(s.value)
600
+ }, [a[2] ||= d("div", {
601
+ class: "cd-gold__marble",
602
+ "aria-hidden": "true"
603
+ }, null, -1), (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
604
+ key: t.key,
605
+ class: "cd-gold__cell",
606
+ style: p({
607
+ width: c.value.width,
608
+ height: c.value.height,
609
+ borderRadius: c.value.radius,
610
+ animationDelay: `${n * 150}ms`
611
+ })
612
+ }, [
613
+ a[0] ||= d("div", { class: "cd-gold__frame" }, null, -1),
614
+ a[1] ||= d("div", { class: "cd-gold__shine" }, null, -1),
615
+ (i(), g("span", {
616
+ class: "cd-gold__digit",
617
+ key: t.value,
618
+ style: p({ fontSize: c.value.fontSize })
619
+ }, r(t.value), 5)),
620
+ d("span", {
621
+ class: "cd-gold__label",
622
+ style: p({ fontSize: `${e.block.labelFontSize}px` })
623
+ }, r(t.label), 5)
624
+ ], 4))), 128))], 4));
625
+ }
626
+ }), [["__scopeId", "data-v-c1fb53c2"]]), K = ["onMousemove", "onMouseleave"], q = /* @__PURE__ */ b(/* @__PURE__ */ t({
627
+ __name: "Floating3dStyle",
628
+ props: {
629
+ block: {},
630
+ viewport: {},
631
+ segments: {},
632
+ separator: {}
633
+ },
634
+ setup(e) {
635
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => ({
636
+ background: t.block.backgroundColor || "linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)",
637
+ fontFamily: t.block.fontFamily || "'Inter', system-ui, sans-serif",
638
+ padding: `${a.value.padding}px`,
639
+ gap: `${a.value.gap}px`,
640
+ flexDirection: a.value.stack ? "column" : "row",
641
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
642
+ perspective: "1200px",
643
+ "--cd-tick": `${o.value}ms`
644
+ })), u = m(() => {
645
+ let e = t.block.digitFontSize * a.value.digitScale;
646
+ return {
647
+ width: `${e * 2.4}px`,
648
+ height: `${e * 2.6}px`,
649
+ fontSize: `${e}px`,
650
+ radius: `${t.block.cardRadius ?? 22}px`
651
+ };
652
+ }), f = c({});
653
+ function h(e, n) {
654
+ if (!t.block.enableHoverFx) return;
655
+ let r = n.currentTarget.getBoundingClientRect(), i = (n.clientX - r.left) / r.width - .5, a = (n.clientY - r.top) / r.height - .5;
656
+ f.value = {
657
+ ...f.value,
658
+ [e]: {
659
+ rx: -a * 18,
660
+ ry: i * 18
661
+ }
662
+ };
663
+ }
664
+ function _(e) {
665
+ f.value = {
666
+ ...f.value,
667
+ [e]: {
668
+ rx: 0,
669
+ ry: 0
670
+ }
671
+ };
672
+ }
673
+ return (t, a) => (i(), g("div", {
674
+ class: "cd-3d",
675
+ style: p(s.value)
676
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
677
+ key: t.key,
678
+ class: "cd-3d__cell",
679
+ style: p({
680
+ width: u.value.width,
681
+ height: u.value.height,
682
+ borderRadius: u.value.radius,
683
+ animationDelay: `${n * 100}ms`,
684
+ transform: `rotateX(${f.value[t.key]?.rx ?? 0}deg) rotateY(${f.value[t.key]?.ry ?? 0}deg)`
685
+ }),
686
+ onMousemove: (e) => h(t.key, e),
687
+ onMouseleave: (e) => _(t.key)
688
+ }, [
689
+ a[0] ||= d("div", { class: "cd-3d__shine" }, null, -1),
690
+ d("div", {
691
+ class: "cd-3d__digit",
692
+ style: p({
693
+ fontSize: u.value.fontSize,
694
+ color: e.block.digitColor || "#1f2937"
695
+ })
696
+ }, [(i(), g("span", { key: t.value }, r(t.value), 1))], 4),
697
+ d("div", {
698
+ class: "cd-3d__label",
699
+ style: p({
700
+ fontSize: `${e.block.labelFontSize}px`,
701
+ color: e.block.labelColor || "#6b7280"
702
+ })
703
+ }, r(t.label), 5)
704
+ ], 44, K))), 128))], 4));
705
+ }
706
+ }), [["__scopeId", "data-v-e9fcb742"]]), J = { class: "cd-liquid__inner" }, ne = /* @__PURE__ */ b(/* @__PURE__ */ t({
707
+ __name: "LiquidMorphStyle",
708
+ props: {
709
+ block: {},
710
+ viewport: {},
711
+ segments: {},
712
+ separator: {}
713
+ },
714
+ setup(e) {
715
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 700)), s = m(() => ({
716
+ background: t.block.backgroundColor || "linear-gradient(120deg, #fb7185, #f97316 30%, #facc15 60%, #34d399 100%)",
717
+ fontFamily: t.block.fontFamily || "'Inter', system-ui, sans-serif",
718
+ padding: `${a.value.padding}px`,
719
+ gap: `${a.value.gap}px`,
720
+ flexDirection: a.value.stack ? "column" : "row",
721
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
722
+ backgroundSize: "300% 300%",
723
+ animation: "cd-liquid-bg 14s ease infinite",
724
+ "--cd-tick": `${o.value}ms`
725
+ })), c = m(() => {
726
+ let e = t.block.digitFontSize * a.value.digitScale;
727
+ return {
728
+ width: `${e * 2.5}px`,
729
+ height: `${e * 2.5}px`,
730
+ fontSize: `${e}px`
731
+ };
732
+ });
733
+ return (t, a) => (i(), g("div", {
734
+ class: "cd-liquid",
735
+ style: p(s.value)
736
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
737
+ key: t.key,
738
+ class: "cd-liquid__cell",
739
+ style: p({
740
+ width: c.value.width,
741
+ height: c.value.height,
742
+ animationDelay: `${n * 800}ms, ${n * 120}ms`
743
+ })
744
+ }, [d("span", J, [(i(), g("span", {
745
+ class: "cd-liquid__digit",
746
+ key: t.value,
747
+ style: p({
748
+ fontSize: c.value.fontSize,
749
+ color: e.block.digitColor || "#ffffff"
750
+ })
751
+ }, r(t.value), 5)), d("span", {
752
+ class: "cd-liquid__label",
753
+ style: p({
754
+ fontSize: `${e.block.labelFontSize}px`,
755
+ color: e.block.labelColor || "rgba(255,255,255,0.92)"
756
+ })
757
+ }, r(t.label), 5)])], 4))), 128))], 4));
758
+ }
759
+ }), [["__scopeId", "data-v-1b7c8eae"]]), Y = /* @__PURE__ */ b(/* @__PURE__ */ t({
760
+ __name: "MinimalDarkSaasStyle",
761
+ props: {
762
+ block: {},
763
+ viewport: {},
764
+ segments: {},
765
+ separator: {}
766
+ },
767
+ setup(e) {
768
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 380)), s = m(() => ({
769
+ background: t.block.backgroundColor || "#0a0a0a",
770
+ fontFamily: t.block.fontFamily || "'Inter', 'SF Pro Display', system-ui, sans-serif",
771
+ padding: `${a.value.padding}px`,
772
+ gap: `${a.value.gap}px`,
773
+ flexDirection: a.value.stack ? "column" : "row",
774
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
775
+ "--cd-tick": `${o.value}ms`
776
+ })), c = m(() => {
777
+ let e = t.block.digitFontSize * a.value.digitScale;
778
+ return {
779
+ width: `${e * 2.4}px`,
780
+ height: `${e * 2.4}px`,
781
+ fontSize: `${e}px`,
782
+ radius: `${t.block.cardRadius ?? 12}px`
783
+ };
784
+ });
785
+ return (t, a) => (i(), g("div", {
786
+ class: "cd-saas",
787
+ style: p(s.value)
788
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
789
+ key: t.key,
790
+ class: "cd-saas__cell",
791
+ style: p({
792
+ width: c.value.width,
793
+ height: c.value.height,
794
+ borderRadius: c.value.radius,
795
+ animationDelay: `${n * 80}ms`
796
+ })
797
+ }, [d("div", {
798
+ class: "cd-saas__digit",
799
+ style: p({
800
+ fontSize: c.value.fontSize,
801
+ color: e.block.digitColor || "#fafafa"
802
+ })
803
+ }, [(i(), g("span", { key: t.value }, r(t.value), 1))], 4), d("div", {
804
+ class: "cd-saas__label",
805
+ style: p({
806
+ fontSize: `${e.block.labelFontSize}px`,
807
+ color: e.block.labelColor || "rgba(250,250,250,0.5)"
808
+ })
809
+ }, r(t.label), 5)], 4))), 128))], 4));
810
+ }
811
+ }), [["__scopeId", "data-v-8c504558"]]), X = { class: "cd-mech__panel" }, Z = /* @__PURE__ */ b(/* @__PURE__ */ t({
812
+ __name: "MechanicalCounterStyle",
813
+ props: {
814
+ block: {},
815
+ viewport: {},
816
+ segments: {},
817
+ separator: {}
818
+ },
819
+ setup(e) {
820
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => ({
821
+ background: t.block.backgroundColor || "linear-gradient(180deg, #2a2a2a 0%, #111 100%)",
822
+ fontFamily: t.block.fontFamily || "'IBM Plex Mono', 'Roboto Mono', monospace",
823
+ padding: `${a.value.padding}px`,
824
+ gap: `${a.value.gap}px`,
825
+ flexDirection: a.value.stack ? "column" : "row",
826
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
827
+ "--cd-tick": `${o.value}ms`
828
+ })), c = m(() => {
829
+ let e = t.block.digitFontSize * a.value.digitScale;
830
+ return {
831
+ width: `${e * .85}px`,
832
+ height: `${e * 1.4}px`,
833
+ fontSize: `${e}px`
834
+ };
835
+ });
836
+ function u(e) {
837
+ let t = parseInt(e, 10);
838
+ return Number.isNaN(t) ? "0%" : `${-t * 10}%`;
839
+ }
840
+ return (t, a) => (i(), g("div", {
841
+ class: "cd-mech",
842
+ style: p(s.value)
843
+ }, [(i(!0), g(l, null, n(e.segments, (t) => (i(), g("div", {
844
+ key: t.key,
845
+ class: "cd-mech__group"
846
+ }, [d("div", X, [(i(!0), g(l, null, n(t.value, (e, o) => (i(), g("div", {
847
+ key: o,
848
+ class: "cd-mech__wheel",
849
+ style: p({
850
+ width: c.value.width,
851
+ height: c.value.height,
852
+ fontSize: c.value.fontSize
853
+ })
854
+ }, [
855
+ a[0] ||= d("div", { class: "cd-mech__shadow cd-mech__shadow--top" }, null, -1),
856
+ a[1] ||= d("div", { class: "cd-mech__shadow cd-mech__shadow--bot" }, null, -1),
857
+ d("div", {
858
+ class: "cd-mech__strip",
859
+ style: p({ transform: `translateY(${u(t.value[o])})` })
860
+ }, [(i(), g(l, null, n(10, (e) => d("span", { key: e }, r(e - 1), 1)), 64))], 4)
861
+ ], 4))), 128))]), d("div", {
862
+ class: "cd-mech__label",
863
+ style: p({
864
+ fontSize: `${e.block.labelFontSize}px`,
865
+ color: e.block.labelColor || "rgba(255, 255, 255, 0.55)"
866
+ })
867
+ }, r(t.label), 5)]))), 128))], 4));
868
+ }
869
+ }), [["__scopeId", "data-v-cc93b20c"]]), re = /* @__PURE__ */ b(/* @__PURE__ */ t({
870
+ __name: "GradientBlobStyle",
871
+ props: {
872
+ block: {},
873
+ viewport: {},
874
+ segments: {},
875
+ separator: {}
876
+ },
877
+ setup(e) {
878
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 500)), s = m(() => ({
879
+ background: t.block.backgroundColor || "linear-gradient(135deg, #fce7f3 0%, #ddd6fe 50%, #cffafe 100%)",
880
+ fontFamily: t.block.fontFamily || "'Plus Jakarta Sans', sans-serif",
881
+ padding: `${a.value.padding}px`,
882
+ gap: `${a.value.gap}px`,
883
+ flexDirection: a.value.stack ? "column" : "row",
884
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
885
+ "--cd-tick": `${o.value}ms`
886
+ })), c = m(() => {
887
+ let e = t.block.digitFontSize * a.value.digitScale;
888
+ return {
889
+ width: `${e * 2.4}px`,
890
+ height: `${e * 2.4}px`,
891
+ fontSize: `${e}px`,
892
+ radius: `${t.block.cardRadius ?? 28}px`
893
+ };
894
+ });
895
+ return (t, a) => (i(), g("div", {
896
+ class: "cd-blob",
897
+ style: p(s.value)
898
+ }, [
899
+ a[0] ||= d("div", { class: "cd-blob__bg cd-blob__bg--a" }, null, -1),
900
+ a[1] ||= d("div", { class: "cd-blob__bg cd-blob__bg--b" }, null, -1),
901
+ a[2] ||= d("div", { class: "cd-blob__bg cd-blob__bg--c" }, null, -1),
902
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
903
+ key: t.key,
904
+ class: "cd-blob__cell",
905
+ style: p({
906
+ width: c.value.width,
907
+ height: c.value.height,
908
+ borderRadius: c.value.radius,
909
+ animationDelay: `${n * 700}ms`
910
+ })
911
+ }, [(i(), g("span", {
912
+ class: "cd-blob__digit",
913
+ key: t.value,
914
+ style: p({
915
+ fontSize: c.value.fontSize,
916
+ color: e.block.digitColor || "#1f2937"
917
+ })
918
+ }, r(t.value), 5)), d("span", {
919
+ class: "cd-blob__label",
920
+ style: p({
921
+ fontSize: `${e.block.labelFontSize}px`,
922
+ color: e.block.labelColor || "#6b7280"
923
+ })
924
+ }, r(t.label), 5)], 4))), 128))
925
+ ], 4));
926
+ }
927
+ }), [["__scopeId", "data-v-cec72f2d"]]), ie = { class: "cd-cli__body" }, ae = { class: "cd-cli__unit" }, oe = {
928
+ class: "cd-cli__hidden",
929
+ "aria-hidden": "true"
930
+ }, se = /* @__PURE__ */ b(/* @__PURE__ */ t({
931
+ __name: "TerminalCliStyle",
932
+ props: {
933
+ block: {},
934
+ viewport: {},
935
+ segments: {},
936
+ separator: {}
937
+ },
938
+ setup(e) {
939
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => ({
940
+ background: t.block.backgroundColor || "#0c0c0c",
941
+ fontFamily: t.block.fontFamily || "'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace",
942
+ padding: `${a.value.padding}px`,
943
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
944
+ "--cd-tick": `${o.value}ms`
945
+ })), c = m(() => `${t.block.digitFontSize * .55 * a.value.digitScale}px`), u = m(() => `${t.block.digitFontSize * a.value.digitScale}px`), f = m(() => t.segments.map((e) => `${e.value}${e.label[0] ?? ""}`).join(" "));
946
+ return (t, a) => (i(), g("div", {
947
+ class: "cd-cli",
948
+ style: p(s.value)
949
+ }, [d("div", {
950
+ class: "cd-cli__chrome",
951
+ style: p({ fontSize: c.value })
952
+ }, [...a[0] ||= [
953
+ d("span", { class: "cd-cli__dot cd-cli__dot--r" }, null, -1),
954
+ d("span", { class: "cd-cli__dot cd-cli__dot--y" }, null, -1),
955
+ d("span", { class: "cd-cli__dot cd-cli__dot--g" }, null, -1),
956
+ d("span", { class: "cd-cli__title" }, "~/countdown — bash", -1)
957
+ ]], 4), d("div", ie, [
958
+ d("div", {
959
+ class: "cd-cli__line",
960
+ style: p({ fontSize: c.value })
961
+ }, [...a[1] ||= [_("<span class=\"cd-cli__user\" data-v-ed661810>user@launch</span><span class=\"cd-cli__sep\" data-v-ed661810>:</span><span class=\"cd-cli__path\" data-v-ed661810>~</span><span class=\"cd-cli__sep\" data-v-ed661810>$</span><span class=\"cd-cli__cmd\" data-v-ed661810>countdown --remaining</span>", 5)]], 4),
962
+ d("div", {
963
+ class: "cd-cli__output",
964
+ style: p({ fontSize: u.value })
965
+ }, [(i(!0), g(l, null, n(e.segments, (e, t) => (i(), g("span", {
966
+ key: e.key,
967
+ class: "cd-cli__seg",
968
+ style: p({ animationDelay: `${t * 60}ms` })
969
+ }, [(i(), g("span", {
970
+ key: e.value,
971
+ class: "cd-cli__num"
972
+ }, r(e.value), 1)), d("span", ae, r((e.label[0] || "").toLowerCase()), 1)], 4))), 128))], 4),
973
+ d("div", {
974
+ class: "cd-cli__line",
975
+ style: p({ fontSize: c.value })
976
+ }, [...a[2] ||= [_("<span class=\"cd-cli__user\" data-v-ed661810>user@launch</span><span class=\"cd-cli__sep\" data-v-ed661810>:</span><span class=\"cd-cli__path\" data-v-ed661810>~</span><span class=\"cd-cli__sep\" data-v-ed661810>$</span><span class=\"cd-cli__caret\" data-v-ed661810>▌</span>", 5)]], 4),
977
+ d("span", oe, r(f.value), 1)
978
+ ])], 4));
979
+ }
980
+ }), [["__scopeId", "data-v-ed661810"]]), ce = {
981
+ class: "cd-galaxy__stars",
982
+ "aria-hidden": "true"
983
+ }, le = /* @__PURE__ */ b(/* @__PURE__ */ t({
984
+ __name: "SpaceGalaxyStyle",
985
+ props: {
986
+ block: {},
987
+ viewport: {},
988
+ segments: {},
989
+ separator: {}
990
+ },
991
+ setup(e) {
992
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 700)), s = m(() => ({
993
+ background: t.block.backgroundColor || "radial-gradient(ellipse at center, #1e1b4b 0%, #050314 80%)",
994
+ fontFamily: t.block.fontFamily || "'Space Grotesk', 'Orbitron', sans-serif",
995
+ padding: `${a.value.padding}px`,
996
+ gap: `${a.value.gap}px`,
997
+ flexDirection: a.value.stack ? "column" : "row",
998
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
999
+ "--cd-tick": `${o.value}ms`
1000
+ })), c = m(() => {
1001
+ let e = t.block.digitFontSize * a.value.digitScale;
1002
+ return {
1003
+ width: `${e * 2.4}px`,
1004
+ height: `${e * 2.4}px`,
1005
+ fontSize: `${e}px`,
1006
+ radius: `${t.block.cardRadius ?? 18}px`
1007
+ };
1008
+ }), u = Array.from({ length: 50 }, (e, t) => t);
1009
+ function f(e) {
1010
+ let t = e * 73 % 100 + e % 7, n = e * 31 % 100 + e % 5, r = 1 + e * 13 % 3, i = e * .18 % 4;
1011
+ return {
1012
+ left: `${t}%`,
1013
+ top: `${n}%`,
1014
+ width: `${r}px`,
1015
+ height: `${r}px`,
1016
+ animationDelay: `${i}s`
1017
+ };
1018
+ }
1019
+ return (t, a) => (i(), g("div", {
1020
+ class: "cd-galaxy",
1021
+ style: p(s.value)
1022
+ }, [
1023
+ a[0] ||= d("div", {
1024
+ class: "cd-galaxy__nebula",
1025
+ "aria-hidden": "true"
1026
+ }, null, -1),
1027
+ d("div", ce, [(i(!0), g(l, null, n(h(u), (e) => (i(), g("span", {
1028
+ key: e,
1029
+ class: "cd-galaxy__star",
1030
+ style: p(f(e))
1031
+ }, null, 4))), 128))]),
1032
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1033
+ key: t.key,
1034
+ class: "cd-galaxy__cell",
1035
+ style: p({
1036
+ width: c.value.width,
1037
+ height: c.value.height,
1038
+ borderRadius: c.value.radius,
1039
+ animationDelay: `${n * 110}ms`
1040
+ })
1041
+ }, [(i(), g("span", {
1042
+ class: "cd-galaxy__digit",
1043
+ key: t.value,
1044
+ style: p({
1045
+ fontSize: c.value.fontSize,
1046
+ color: e.block.digitColor || "#ffffff"
1047
+ })
1048
+ }, r(t.value), 5)), d("span", {
1049
+ class: "cd-galaxy__label",
1050
+ style: p({
1051
+ fontSize: `${e.block.labelFontSize}px`,
1052
+ color: e.block.labelColor || "rgba(196, 181, 253, 0.85)"
1053
+ })
1054
+ }, r(t.label), 5)], 4))), 128))
1055
+ ], 4));
1056
+ }
1057
+ }), [["__scopeId", "data-v-53cd240c"]]), ue = {
1058
+ class: "cd-anime__lines",
1059
+ "aria-hidden": "true"
1060
+ }, de = {
1061
+ class: "cd-anime__kanji",
1062
+ "aria-hidden": "true"
1063
+ }, fe = /* @__PURE__ */ b(/* @__PURE__ */ t({
1064
+ __name: "AnimeCyberpunkStyle",
1065
+ props: {
1066
+ block: {},
1067
+ viewport: {},
1068
+ segments: {},
1069
+ separator: {}
1070
+ },
1071
+ setup(e) {
1072
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => ({
1073
+ background: t.block.backgroundColor || "linear-gradient(135deg, #0f0524 0%, #1a0033 50%, #002a52 100%)",
1074
+ fontFamily: t.block.fontFamily || "'Orbitron', 'Bebas Neue', sans-serif",
1075
+ padding: `${a.value.padding}px`,
1076
+ gap: `${a.value.gap}px`,
1077
+ flexDirection: a.value.stack ? "column" : "row",
1078
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
1079
+ "--cd-tick": `${o.value}ms`
1080
+ })), c = m(() => {
1081
+ let e = t.block.digitFontSize * a.value.digitScale;
1082
+ return {
1083
+ width: `${e * 2.4}px`,
1084
+ height: `${e * 2.6}px`,
1085
+ fontSize: `${e}px`,
1086
+ radius: `${t.block.cardRadius ?? 6}px`
1087
+ };
1088
+ }), u = [
1089
+ "時",
1090
+ "刻",
1091
+ "未",
1092
+ "来",
1093
+ "夢",
1094
+ "光",
1095
+ "影",
1096
+ "霊"
1097
+ ];
1098
+ function f(e) {
1099
+ return u[e % u.length];
1100
+ }
1101
+ return (t, a) => (i(), g("div", {
1102
+ class: "cd-anime",
1103
+ style: p(s.value)
1104
+ }, [d("div", ue, [(i(), g(l, null, n(6, (e) => d("span", {
1105
+ key: e,
1106
+ style: p({ animationDelay: `${e * .4}s` })
1107
+ }, null, 4)), 64))]), (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1108
+ key: t.key,
1109
+ class: "cd-anime__cell",
1110
+ style: p({
1111
+ width: c.value.width,
1112
+ height: c.value.height,
1113
+ borderRadius: c.value.radius,
1114
+ animationDelay: `${n * 130}ms`
1115
+ })
1116
+ }, [
1117
+ a[0] ||= d("span", { class: "cd-anime__corner cd-anime__corner--tl" }, null, -1),
1118
+ a[1] ||= d("span", { class: "cd-anime__corner cd-anime__corner--tr" }, null, -1),
1119
+ a[2] ||= d("span", { class: "cd-anime__corner cd-anime__corner--bl" }, null, -1),
1120
+ a[3] ||= d("span", { class: "cd-anime__corner cd-anime__corner--br" }, null, -1),
1121
+ d("span", de, r(f(n)), 1),
1122
+ (i(), g("span", {
1123
+ class: "cd-anime__digit",
1124
+ key: t.value,
1125
+ style: p({
1126
+ fontSize: c.value.fontSize,
1127
+ color: e.block.digitColor || "#ffffff"
1128
+ })
1129
+ }, r(t.value), 5)),
1130
+ d("span", {
1131
+ class: "cd-anime__label",
1132
+ style: p({
1133
+ fontSize: `${e.block.labelFontSize}px`,
1134
+ color: e.block.labelColor || "#ec4899"
1135
+ })
1136
+ }, r(t.label), 5)
1137
+ ], 4))), 128))], 4));
1138
+ }
1139
+ }), [["__scopeId", "data-v-53d1230f"]]), pe = /* @__PURE__ */ b(/* @__PURE__ */ t({
1140
+ __name: "LuxuryWeddingStyle",
1141
+ props: {
1142
+ block: {},
1143
+ viewport: {},
1144
+ segments: {},
1145
+ separator: {}
1146
+ },
1147
+ setup(e) {
1148
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 700)), s = m(() => ({
1149
+ background: t.block.backgroundColor || "linear-gradient(135deg, #fdf6ec 0%, #f9e3d2 100%)",
1150
+ fontFamily: t.block.fontFamily || "'Cormorant Garamond', 'Playfair Display', serif",
1151
+ padding: `${a.value.padding}px`,
1152
+ gap: `${a.value.gap}px`,
1153
+ flexDirection: a.value.stack ? "column" : "row",
1154
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
1155
+ "--cd-tick": `${o.value}ms`
1156
+ })), c = m(() => {
1157
+ let e = t.block.digitFontSize * a.value.digitScale;
1158
+ return {
1159
+ width: `${e * 2.6}px`,
1160
+ height: `${e * 2.6}px`,
1161
+ fontSize: `${e * 1.1}px`,
1162
+ radius: `${t.block.cardRadius ?? 999}px`
1163
+ };
1164
+ });
1165
+ return (t, a) => (i(), g("div", {
1166
+ class: "cd-wedding",
1167
+ style: p(s.value)
1168
+ }, [a[1] ||= _("<svg class=\"cd-wedding__floral cd-wedding__floral--l\" viewBox=\"0 0 80 200\" aria-hidden=\"true\" data-v-52d00531><path d=\"M40 5 C 60 40, 30 60, 50 90 S 30 140, 40 195\" fill=\"none\" stroke=\"#b08d57\" stroke-width=\"0.8\" data-v-52d00531></path><circle cx=\"58\" cy=\"40\" r=\"6\" fill=\"#fef3c7\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"32\" cy=\"80\" r=\"5\" fill=\"#fcd5ce\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"48\" cy=\"130\" r=\"6\" fill=\"#fef3c7\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"34\" cy=\"170\" r=\"5\" fill=\"#f1c0e8\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle></svg><svg class=\"cd-wedding__floral cd-wedding__floral--r\" viewBox=\"0 0 80 200\" aria-hidden=\"true\" data-v-52d00531><path d=\"M40 5 C 20 40, 50 60, 30 90 S 50 140, 40 195\" fill=\"none\" stroke=\"#b08d57\" stroke-width=\"0.8\" data-v-52d00531></path><circle cx=\"22\" cy=\"40\" r=\"6\" fill=\"#fef3c7\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"48\" cy=\"80\" r=\"5\" fill=\"#fcd5ce\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"32\" cy=\"130\" r=\"6\" fill=\"#fef3c7\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle><circle cx=\"46\" cy=\"170\" r=\"5\" fill=\"#f1c0e8\" stroke=\"#b08d57\" stroke-width=\"0.6\" data-v-52d00531></circle></svg>", 2), (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1169
+ key: t.key,
1170
+ class: "cd-wedding__cell",
1171
+ style: p({
1172
+ width: c.value.width,
1173
+ height: c.value.height,
1174
+ borderRadius: c.value.radius,
1175
+ animationDelay: `${n * 130}ms`
1176
+ })
1177
+ }, [
1178
+ (i(), g("span", {
1179
+ class: "cd-wedding__digit",
1180
+ key: t.value,
1181
+ style: p({
1182
+ fontSize: c.value.fontSize,
1183
+ color: e.block.digitColor || "#704214"
1184
+ })
1185
+ }, r(t.value), 5)),
1186
+ a[0] ||= d("span", {
1187
+ class: "cd-wedding__rule",
1188
+ "aria-hidden": "true"
1189
+ }, null, -1),
1190
+ d("span", {
1191
+ class: "cd-wedding__label",
1192
+ style: p({
1193
+ fontSize: `${e.block.labelFontSize}px`,
1194
+ color: e.block.labelColor || "#a07b3c"
1195
+ })
1196
+ }, r(t.label), 5)
1197
+ ], 4))), 128))], 4));
1198
+ }
1199
+ }), [["__scopeId", "data-v-52d00531"]]), me = /* @__PURE__ */ b(/* @__PURE__ */ t({
1200
+ __name: "KidsCartoonStyle",
1201
+ props: {
1202
+ block: {},
1203
+ viewport: {},
1204
+ segments: {},
1205
+ separator: {}
1206
+ },
1207
+ setup(e) {
1208
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 600)), s = m(() => ({
1209
+ background: t.block.backgroundColor || "linear-gradient(135deg, #fff7c2 0%, #ffd6e0 100%)",
1210
+ fontFamily: t.block.fontFamily || "'Fredoka', 'Baloo 2', 'Comic Sans MS', cursive, sans-serif",
1211
+ padding: `${a.value.padding}px`,
1212
+ gap: `${a.value.gap}px`,
1213
+ flexDirection: a.value.stack ? "column" : "row",
1214
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
1215
+ "--cd-tick": `${o.value}ms`
1216
+ })), c = m(() => {
1217
+ let e = t.block.digitFontSize * a.value.digitScale;
1218
+ return {
1219
+ width: `${e * 2.4}px`,
1220
+ height: `${e * 2.4}px`,
1221
+ fontSize: `${e * 1.1}px`,
1222
+ radius: `${t.block.cardRadius ?? 28}px`
1223
+ };
1224
+ }), u = [
1225
+ "#fb7185",
1226
+ "#fbbf24",
1227
+ "#34d399",
1228
+ "#60a5fa",
1229
+ "#a78bfa",
1230
+ "#f472b6"
1231
+ ];
1232
+ function f(e) {
1233
+ return u[e % u.length];
1234
+ }
1235
+ return (t, a) => (i(), g("div", {
1236
+ class: "cd-kids",
1237
+ style: p(s.value)
1238
+ }, [(i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1239
+ key: t.key,
1240
+ class: "cd-kids__cell",
1241
+ style: p({
1242
+ width: c.value.width,
1243
+ height: c.value.height,
1244
+ borderRadius: c.value.radius,
1245
+ background: f(n),
1246
+ animationDelay: `${n * 220}ms`
1247
+ })
1248
+ }, [(i(), g("span", {
1249
+ class: "cd-kids__digit",
1250
+ key: t.value,
1251
+ style: p({
1252
+ fontSize: c.value.fontSize,
1253
+ color: e.block.digitColor || "#ffffff"
1254
+ })
1255
+ }, r(t.value), 5)), d("span", {
1256
+ class: "cd-kids__label",
1257
+ style: p({
1258
+ fontSize: `${e.block.labelFontSize}px`,
1259
+ color: e.block.labelColor || "rgba(255,255,255,0.95)"
1260
+ })
1261
+ }, r(t.label), 5)], 4))), 128))], 4));
1262
+ }
1263
+ }), [["__scopeId", "data-v-3e9a85b5"]]), Q = { class: "cd-ind__panel" }, he = /* @__PURE__ */ b(/* @__PURE__ */ t({
1264
+ __name: "IndustrialTechStyle",
1265
+ props: {
1266
+ block: {},
1267
+ viewport: {},
1268
+ segments: {},
1269
+ separator: {}
1270
+ },
1271
+ setup(e) {
1272
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 500)), s = m(() => ({
1273
+ background: t.block.backgroundColor || "linear-gradient(180deg, #1f2226 0%, #0e1013 100%)",
1274
+ fontFamily: t.block.fontFamily || "'Bebas Neue', 'IBM Plex Mono', monospace",
1275
+ padding: `${a.value.padding}px`,
1276
+ gap: `${a.value.gap}px`,
1277
+ flexDirection: a.value.stack ? "column" : "row",
1278
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
1279
+ "--cd-tick": `${o.value}ms`
1280
+ })), c = m(() => {
1281
+ let e = t.block.digitFontSize * a.value.digitScale;
1282
+ return {
1283
+ width: `${e * 2.4}px`,
1284
+ height: `${e * 2.4}px`,
1285
+ fontSize: `${e}px`
1286
+ };
1287
+ });
1288
+ return (t, a) => (i(), g("div", {
1289
+ class: "cd-ind",
1290
+ style: p(s.value)
1291
+ }, [a[4] ||= d("div", {
1292
+ class: "cd-ind__stripes",
1293
+ "aria-hidden": "true"
1294
+ }, null, -1), (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1295
+ key: t.key,
1296
+ class: "cd-ind__cell",
1297
+ style: p({
1298
+ width: c.value.width,
1299
+ height: c.value.height,
1300
+ animationDelay: `${n * 90}ms`
1301
+ })
1302
+ }, [
1303
+ a[0] ||= d("div", { class: "cd-ind__rivet cd-ind__rivet--tl" }, null, -1),
1304
+ a[1] ||= d("div", { class: "cd-ind__rivet cd-ind__rivet--tr" }, null, -1),
1305
+ a[2] ||= d("div", { class: "cd-ind__rivet cd-ind__rivet--bl" }, null, -1),
1306
+ a[3] ||= d("div", { class: "cd-ind__rivet cd-ind__rivet--br" }, null, -1),
1307
+ d("div", Q, [(i(), g("span", {
1308
+ class: "cd-ind__digit",
1309
+ key: t.value,
1310
+ style: p({
1311
+ fontSize: c.value.fontSize,
1312
+ color: e.block.digitColor || "#fbbf24"
1313
+ })
1314
+ }, r(t.value), 5))]),
1315
+ d("div", {
1316
+ class: "cd-ind__label",
1317
+ style: p({
1318
+ fontSize: `${e.block.labelFontSize}px`,
1319
+ color: e.block.labelColor || "rgba(255,255,255,0.7)"
1320
+ })
1321
+ }, r(t.label), 5)
1322
+ ], 4))), 128))], 4));
1323
+ }
1324
+ }), [["__scopeId", "data-v-5803219b"]]), ge = {
1325
+ class: "cd-ai__data",
1326
+ "aria-hidden": "true"
1327
+ }, _e = { class: "cd-ai__inner" }, ve = [
1328
+ {
1329
+ id: "minimal",
1330
+ label: "Minimal Modern",
1331
+ component: S
1332
+ },
1333
+ {
1334
+ id: "matrix",
1335
+ label: "Matrix Cyberpunk",
1336
+ component: O
1337
+ },
1338
+ {
1339
+ id: "flip",
1340
+ label: "Flip Clock",
1341
+ component: L
1342
+ },
1343
+ {
1344
+ id: "glassmorphism",
1345
+ label: "Glassmorphism",
1346
+ component: R
1347
+ },
1348
+ {
1349
+ id: "neonGaming",
1350
+ label: "Neon Gaming",
1351
+ component: B
1352
+ },
1353
+ {
1354
+ id: "retroLed",
1355
+ label: "Retro LED",
1356
+ component: U
1357
+ },
1358
+ {
1359
+ id: "scifiHologram",
1360
+ label: "Sci-Fi Hologram",
1361
+ component: W
1362
+ },
1363
+ {
1364
+ id: "luxuryGold",
1365
+ label: "Luxury Gold",
1366
+ component: G
1367
+ },
1368
+ {
1369
+ id: "floating3d",
1370
+ label: "3D Floating",
1371
+ component: q
1372
+ },
1373
+ {
1374
+ id: "liquidMorph",
1375
+ label: "Liquid Morph",
1376
+ component: ne
1377
+ },
1378
+ {
1379
+ id: "minimalDarkSaas",
1380
+ label: "Minimal Dark SaaS",
1381
+ component: Y
1382
+ },
1383
+ {
1384
+ id: "mechanicalCounter",
1385
+ label: "Mechanical Counter",
1386
+ component: Z
1387
+ },
1388
+ {
1389
+ id: "gradientBlob",
1390
+ label: "Gradient Blob",
1391
+ component: re
1392
+ },
1393
+ {
1394
+ id: "terminalCli",
1395
+ label: "Terminal CLI",
1396
+ component: se
1397
+ },
1398
+ {
1399
+ id: "spaceGalaxy",
1400
+ label: "Space Galaxy",
1401
+ component: le
1402
+ },
1403
+ {
1404
+ id: "animeCyberpunk",
1405
+ label: "Anime Cyberpunk",
1406
+ component: fe
1407
+ },
1408
+ {
1409
+ id: "luxuryWedding",
1410
+ label: "Luxury Wedding",
1411
+ component: pe
1412
+ },
1413
+ {
1414
+ id: "kidsCartoon",
1415
+ label: "Kids Cartoon",
1416
+ component: me
1417
+ },
1418
+ {
1419
+ id: "industrialTech",
1420
+ label: "Industrial Tech",
1421
+ component: he
1422
+ },
1423
+ {
1424
+ id: "aiFuturistic",
1425
+ label: "AI Futuristic",
1426
+ component: /* @__PURE__ */ b(/* @__PURE__ */ t({
1427
+ __name: "AiFuturisticStyle",
1428
+ props: {
1429
+ block: {},
1430
+ viewport: {},
1431
+ segments: {},
1432
+ separator: {}
1433
+ },
1434
+ setup(e) {
1435
+ let t = e, a = m(() => C(t.block, t.viewport)), o = m(() => w(t.block.animationSpeed, 500)), s = m(() => t.block.accentColor || "#a78bfa"), c = m(() => ({
1436
+ background: t.block.backgroundColor || "radial-gradient(ellipse at 30% 30%, #0d0a2c 0%, #02010c 80%)",
1437
+ fontFamily: t.block.fontFamily || "'Space Grotesk', 'Inter', sans-serif",
1438
+ padding: `${a.value.padding}px`,
1439
+ gap: `${a.value.gap}px`,
1440
+ flexDirection: a.value.stack ? "column" : "row",
1441
+ minHeight: a.value.fullscreen ? "60vh" : void 0,
1442
+ "--cd-accent": s.value,
1443
+ "--cd-glow": T(s.value, .5),
1444
+ "--cd-tick": `${o.value}ms`
1445
+ })), u = m(() => {
1446
+ let e = t.block.digitFontSize * a.value.digitScale;
1447
+ return {
1448
+ width: `${e * 2.5}px`,
1449
+ height: `${e * 2.5}px`,
1450
+ fontSize: `${e}px`,
1451
+ radius: `${t.block.cardRadius ?? 16}px`
1452
+ };
1453
+ }), f = Array.from({ length: 6 }, (e, t) => t);
1454
+ return (t, a) => (i(), g("div", {
1455
+ class: "cd-ai",
1456
+ style: p(c.value)
1457
+ }, [
1458
+ a[1] ||= _("<svg class=\"cd-ai__neural\" viewBox=\"0 0 400 200\" aria-hidden=\"true\" data-v-7a85152b><g stroke=\"var(--cd-accent)\" stroke-width=\"0.5\" opacity=\"0.55\" fill=\"none\" data-v-7a85152b><line x1=\"40\" y1=\"40\" x2=\"200\" y2=\"100\" data-v-7a85152b></line><line x1=\"40\" y1=\"100\" x2=\"200\" y2=\"40\" data-v-7a85152b></line><line x1=\"40\" y1=\"160\" x2=\"200\" y2=\"100\" data-v-7a85152b></line><line x1=\"200\" y1=\"40\" x2=\"360\" y2=\"100\" data-v-7a85152b></line><line x1=\"200\" y1=\"100\" x2=\"360\" y2=\"40\" data-v-7a85152b></line><line x1=\"200\" y1=\"100\" x2=\"360\" y2=\"160\" data-v-7a85152b></line></g><g fill=\"var(--cd-accent)\" data-v-7a85152b><circle cx=\"40\" cy=\"40\" r=\"3\" data-v-7a85152b></circle><circle cx=\"40\" cy=\"100\" r=\"3\" data-v-7a85152b></circle><circle cx=\"40\" cy=\"160\" r=\"3\" data-v-7a85152b></circle><circle cx=\"200\" cy=\"40\" r=\"3\" data-v-7a85152b></circle><circle cx=\"200\" cy=\"100\" r=\"3\" data-v-7a85152b></circle><circle cx=\"360\" cy=\"40\" r=\"3\" data-v-7a85152b></circle><circle cx=\"360\" cy=\"100\" r=\"3\" data-v-7a85152b></circle><circle cx=\"360\" cy=\"160\" r=\"3\" data-v-7a85152b></circle></g></svg>", 1),
1459
+ d("div", ge, [(i(!0), g(l, null, n(h(f), (e) => (i(), g("span", {
1460
+ key: e,
1461
+ style: p({ animationDelay: `${e * .5}s` })
1462
+ }, null, 4))), 128))]),
1463
+ (i(!0), g(l, null, n(e.segments, (t, n) => (i(), g("div", {
1464
+ key: t.key,
1465
+ class: "cd-ai__cell",
1466
+ style: p({
1467
+ width: u.value.width,
1468
+ height: u.value.height,
1469
+ borderRadius: u.value.radius,
1470
+ animationDelay: `${n * 110}ms`
1471
+ })
1472
+ }, [a[0] ||= d("span", { class: "cd-ai__halo" }, null, -1), d("span", _e, [(i(), g("span", {
1473
+ class: "cd-ai__digit",
1474
+ key: t.value,
1475
+ style: p({
1476
+ fontSize: u.value.fontSize,
1477
+ color: e.block.digitColor || "#ffffff"
1478
+ })
1479
+ }, r(t.value), 5)), d("span", {
1480
+ class: "cd-ai__label",
1481
+ style: p({
1482
+ fontSize: `${e.block.labelFontSize}px`,
1483
+ color: e.block.labelColor || h(T)(s.value, .85)
1484
+ })
1485
+ }, r(t.label), 5)])], 4))), 128))
1486
+ ], 4));
1487
+ }
1488
+ }), [["__scopeId", "data-v-7a85152b"]])
1489
+ }
1490
+ ].reduce((e, t) => (e[t.id] = t.component, e), {});
1491
+ function ye(e) {
1492
+ return ve[e ?? "minimal"] ?? S;
1493
+ }
1494
+ //#endregion
1495
+ //#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
1496
+ var be = {
1497
+ key: 0,
1498
+ class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-8 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
1499
+ }, xe = {
1500
+ key: 1,
1501
+ class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-4 tpl:text-xs tpl:text-[var(--tpl-text-dim)] tpl:opacity-50"
1502
+ }, Se = "minimal", Ce = /* @__PURE__ */ t({
1503
+ __name: "CountdownBlock",
1504
+ props: {
1505
+ block: {},
1506
+ viewport: {}
1507
+ },
1508
+ setup(e) {
1509
+ let t = e, { t: n } = y(), o = ee(f(t, "block")), s = m(() => ye("minimal")), c = m(() => t.block.separator);
1510
+ return (t, l) => e.block.targetDate ? h(o).isExpired.value && e.block.hideOnExpiry ? (i(), g("div", xe, r(h(n).countdown.hidden), 1)) : h(o).isExpired.value ? (i(), g("div", {
1511
+ key: 2,
1512
+ style: p({
1513
+ backgroundColor: e.block.backgroundColor,
1514
+ fontFamily: e.block.fontFamily || "inherit"
1515
+ }),
1516
+ class: "tpl:py-4 tpl:text-center"
1517
+ }, [d("span", { style: p({
1518
+ fontSize: `${e.block.digitFontSize}px`,
1519
+ color: e.block.digitColor
1520
+ }) }, r(e.block.expiredMessage), 5)], 4)) : (i(), u(a(s.value), {
1521
+ key: 3,
1522
+ block: e.block,
1523
+ viewport: e.viewport,
1524
+ segments: h(o).segments.value,
1525
+ separator: c.value,
1526
+ "data-cd-theme": Se
1527
+ }, null, 8, [
1528
+ "block",
1529
+ "viewport",
1530
+ "segments",
1531
+ "separator"
1532
+ ])) : (i(), g("div", be, r(h(n).countdown.setDate), 1));
1533
+ }
1534
+ }), we = /* @__PURE__ */ e({ default: () => $ }), $ = Ce;
1535
+ //#endregion
1536
+ export { we as n, $ as t };