@templatical/editor 0.21.0 → 0.21.2

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 (133) hide show
  1. package/dist/{AiFeatureMenu-CPdNpHpZ.js → AiFeatureMenu-CcqQDHzJ.js} +1 -1
  2. package/dist/{CloudEditor-3a7mqMhe.js → CloudEditor-DOjGJwPe.js} +24 -24
  3. package/dist/{CollaboratorBar-Ds0YZWzV.js → CollaboratorBar-Bj4NZiie.js} +1 -1
  4. package/dist/CountdownBlock-J_Q9JRQM.js +91 -0
  5. package/dist/{ParagraphEditor-CkwBirNl.js → ParagraphEditor--_zWfxps.js} +1 -1
  6. package/dist/{SaveBlockDialog-Cc5BSUBx.js → SaveBlockDialog-CYIEHABH.js} +3 -3
  7. package/dist/{SavedBlockPreviewCanvas-ubttfmKr.js → SavedBlockPreviewCanvas-2-mzAnZE.js} +1 -1
  8. package/dist/{SavedBlocksBrowserModal-LkY_U3lY.js → SavedBlocksBrowserModal-D5V5yF_3.js} +4 -4
  9. package/dist/{SavedBlocksPanels-CET0zvH6.js → SavedBlocksPanels-Dff38YXu.js} +1 -1
  10. package/dist/{SavedBlocksPickBar-poGS4PoI.js → SavedBlocksPickBar-rB6iyji6.js} +1 -1
  11. package/dist/{SnapshotHistory-BvF5IXn1.js → SnapshotHistory-FtzDq8f0.js} +1 -1
  12. package/dist/{TestEmailModal-BRaM_eko.js → TestEmailModal-DL2O1H8M.js} +2 -2
  13. package/dist/{TitleEditor-Bhgzh-iQ.js → TitleEditor-CPda5lh-.js} +1 -1
  14. package/dist/{TplModal-BA-Zsg0O.js → TplModal-C7Koj5gM.js} +1 -1
  15. package/dist/{blockTypeIcons-B1-Yzp-a.js → blockTypeIcons-CgwECCut.js} +1 -1
  16. package/dist/bundle-stats.json +8 -8
  17. package/dist/cdn/chunks/AiChatSidebar-A1CuWGY0.js +203 -0
  18. package/dist/cdn/chunks/AiChatSidebar-A1CuWGY0.js.map +1 -0
  19. package/dist/cdn/chunks/{AiFeatureMenu--PdArSnv.js → AiFeatureMenu-Duwg413F.js} +9 -5
  20. package/dist/cdn/chunks/{AiFeatureMenu--PdArSnv.js.map → AiFeatureMenu-Duwg413F.js.map} +1 -1
  21. package/dist/cdn/chunks/{BlockIssueBadge-DMSd0SIl.js → BlockIssueBadge-Da4yR-mh.js} +7 -5
  22. package/dist/cdn/chunks/{BlockIssueBadge-DMSd0SIl.js.map → BlockIssueBadge-Da4yR-mh.js.map} +1 -1
  23. package/dist/cdn/chunks/{CloudEditor-DnTfI5GU.js → CloudEditor-C0Y4RD4c.js} +162 -153
  24. package/dist/cdn/chunks/CloudEditor-C0Y4RD4c.js.map +1 -0
  25. package/dist/cdn/chunks/{CollaboratorBar-CBqd7ldq.js → CollaboratorBar-BS3rJy6-.js} +7 -6
  26. package/dist/cdn/chunks/{CollaboratorBar-CBqd7ldq.js.map → CollaboratorBar-BS3rJy6-.js.map} +1 -1
  27. package/dist/cdn/chunks/{ColorPicker-DCdWP8YB.js → ColorPicker-DZSzZ5ZP.js} +107 -103
  28. package/dist/cdn/chunks/{ColorPicker-DCdWP8YB.js.map → ColorPicker-DZSzZ5ZP.js.map} +1 -1
  29. package/dist/cdn/chunks/CommentsSidebar-DHdRiGPX.js +412 -0
  30. package/dist/cdn/chunks/CommentsSidebar-DHdRiGPX.js.map +1 -0
  31. package/dist/cdn/chunks/CountdownBlock-Bffpoppw.js +93 -0
  32. package/dist/cdn/chunks/{CountdownBlock-BDnWMAME.js.map → CountdownBlock-Bffpoppw.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownToolbar-BbLoo22S.js → CountdownToolbar-DAnmIZjq.js} +4 -4
  34. package/dist/cdn/chunks/{CountdownToolbar-BbLoo22S.js.map → CountdownToolbar-DAnmIZjq.js.map} +1 -1
  35. package/dist/cdn/chunks/DesignReferenceSidebar-Dre99DTH.js +223 -0
  36. package/dist/cdn/chunks/DesignReferenceSidebar-Dre99DTH.js.map +1 -0
  37. package/dist/cdn/chunks/{IssuesPanel-CfudrI3T.js → IssuesPanel-D80JedOj.js} +11 -10
  38. package/dist/cdn/chunks/{IssuesPanel-CfudrI3T.js.map → IssuesPanel-D80JedOj.js.map} +1 -1
  39. package/dist/cdn/chunks/LoadingTrack-D-CW2tUa.js +12 -0
  40. package/dist/cdn/chunks/LoadingTrack-D-CW2tUa.js.map +1 -0
  41. package/dist/cdn/chunks/{NumberWithSuffix-BmMx9_n_.js → NumberWithSuffix-CjlVNIEe.js} +2 -2
  42. package/dist/cdn/chunks/{NumberWithSuffix-BmMx9_n_.js.map → NumberWithSuffix-CjlVNIEe.js.map} +1 -1
  43. package/dist/cdn/chunks/{ParagraphEditor-DPCUSXpx.js → ParagraphEditor-CtaRa1vr.js} +73 -68
  44. package/dist/cdn/chunks/{ParagraphEditor-DPCUSXpx.js.map → ParagraphEditor-CtaRa1vr.js.map} +1 -1
  45. package/dist/cdn/chunks/{RichTextEditorContent-B8dOiv_D.js → RichTextEditorContent-BbdgJqWM.js} +9 -6
  46. package/dist/cdn/chunks/{RichTextEditorContent-B8dOiv_D.js.map → RichTextEditorContent-BbdgJqWM.js.map} +1 -1
  47. package/dist/cdn/chunks/{SaveBlockDialog-BY3SMnNV.js → SaveBlockDialog-Bb3fdUEZ.js} +30 -26
  48. package/dist/cdn/chunks/{SaveBlockDialog-BY3SMnNV.js.map → SaveBlockDialog-Bb3fdUEZ.js.map} +1 -1
  49. package/dist/cdn/chunks/{SavedBlockPreviewCanvas-LpaOcusq.js → SavedBlockPreviewCanvas-DZOMgNsz.js} +33 -32
  50. package/dist/cdn/chunks/{SavedBlockPreviewCanvas-LpaOcusq.js.map → SavedBlockPreviewCanvas-DZOMgNsz.js.map} +1 -1
  51. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CfIcmyzF.js → SavedBlocksBrowserModal-CeUWcPv0.js} +14 -10
  52. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CfIcmyzF.js.map → SavedBlocksBrowserModal-CeUWcPv0.js.map} +1 -1
  53. package/dist/cdn/chunks/{SavedBlocksPanels-kIowCfh_.js → SavedBlocksPanels-D-pA_wfk.js} +2 -2
  54. package/dist/cdn/chunks/{SavedBlocksPanels-kIowCfh_.js.map → SavedBlocksPanels-D-pA_wfk.js.map} +1 -1
  55. package/dist/cdn/chunks/{SavedBlocksPickBar-WSGe1GiZ.js → SavedBlocksPickBar-1rf1KpqS.js} +6 -4
  56. package/dist/cdn/chunks/{SavedBlocksPickBar-WSGe1GiZ.js.map → SavedBlocksPickBar-1rf1KpqS.js.map} +1 -1
  57. package/dist/cdn/chunks/SnapshotHistory-Bf1uovti.js +121 -0
  58. package/dist/cdn/chunks/SnapshotHistory-Bf1uovti.js.map +1 -0
  59. package/dist/cdn/chunks/TemplateScoringPanel-CTk8WwxU.js +231 -0
  60. package/dist/cdn/chunks/TemplateScoringPanel-CTk8WwxU.js.map +1 -0
  61. package/dist/cdn/chunks/TestEmailModal-BJTDxFHh.js +96 -0
  62. package/dist/cdn/chunks/TestEmailModal-BJTDxFHh.js.map +1 -0
  63. package/dist/cdn/chunks/{TitleEditor-iwd-O9sO.js → TitleEditor-BJ7LFykI.js} +15 -12
  64. package/dist/cdn/chunks/{TitleEditor-iwd-O9sO.js.map → TitleEditor-BJ7LFykI.js.map} +1 -1
  65. package/dist/cdn/chunks/TplModal-CH9RzKF7.js +50 -0
  66. package/dist/cdn/chunks/TplModal-CH9RzKF7.js.map +1 -0
  67. package/dist/cdn/chunks/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  68. package/dist/cdn/chunks/blockTypeIcons-etMMQoVv.js +21 -0
  69. package/dist/cdn/chunks/{blockTypeIcons-BYz0fgLz.js.map → blockTypeIcons-etMMQoVv.js.map} +1 -1
  70. package/dist/cdn/chunks/cloud-BJlbXGTJ.js +1787 -0
  71. package/dist/cdn/chunks/cloud-BJlbXGTJ.js.map +1 -0
  72. package/dist/cdn/chunks/dist-CiBEt0VR.js +163 -0
  73. package/dist/cdn/chunks/dist-CiBEt0VR.js.map +1 -0
  74. package/dist/cdn/chunks/dist-CxTt8FRE.js +403 -0
  75. package/dist/cdn/chunks/dist-CxTt8FRE.js.map +1 -0
  76. package/dist/cdn/chunks/{extensions-DeJh3E9b.js → extensions-ZX2oarW6.js} +17 -15
  77. package/dist/cdn/chunks/{extensions-DeJh3E9b.js.map → extensions-ZX2oarW6.js.map} +1 -1
  78. package/dist/cdn/chunks/formatRelativeTime-CtUU-QZ8.js +12 -0
  79. package/dist/cdn/chunks/formatRelativeTime-CtUU-QZ8.js.map +1 -0
  80. package/dist/cdn/chunks/htmlparser-CZa2V5cF.js +1008 -0
  81. package/dist/cdn/chunks/htmlparser-CZa2V5cF.js.map +1 -0
  82. package/dist/cdn/chunks/icons-CYWw8Xfp.js +1190 -0
  83. package/dist/cdn/chunks/icons-CYWw8Xfp.js.map +1 -0
  84. package/dist/cdn/chunks/keys-D7kUmfpE.js +12 -0
  85. package/dist/cdn/chunks/keys-D7kUmfpE.js.map +1 -0
  86. package/dist/cdn/chunks/src-BKI1x1k7.js +546 -0
  87. package/dist/cdn/chunks/src-BKI1x1k7.js.map +1 -0
  88. package/dist/cdn/chunks/{renderer-Yg1XhsBN.js → src-BuC_IHzN.js} +118 -134
  89. package/dist/cdn/chunks/src-BuC_IHzN.js.map +1 -0
  90. package/dist/cdn/chunks/src-CM0gCvAS.js +1176 -0
  91. package/dist/cdn/chunks/src-CM0gCvAS.js.map +1 -0
  92. package/dist/cdn/chunks/{media-library-mCCZieYO.js → src-D6F_3XkE.js} +1782 -1280
  93. package/dist/cdn/chunks/src-D6F_3XkE.js.map +1 -0
  94. package/dist/cdn/chunks/{styles-Bp5Jsu9J.js → styles-DMOEiSX9.js} +867 -859
  95. package/dist/cdn/chunks/styles-DMOEiSX9.js.map +1 -0
  96. package/dist/cdn/chunks/timeouts-Bmi_yePw.js +6 -0
  97. package/dist/cdn/chunks/timeouts-Bmi_yePw.js.map +1 -0
  98. package/dist/cdn/chunks/useAliveFlag-aanU8uqB.js +12 -0
  99. package/dist/cdn/chunks/useAliveFlag-aanU8uqB.js.map +1 -0
  100. package/dist/cdn/chunks/useCloudI18n-BjNENqkM.js +25 -0
  101. package/dist/cdn/chunks/useCloudI18n-BjNENqkM.js.map +1 -0
  102. package/dist/cdn/chunks/useEditorCore-BA6mspzD.js +3019 -0
  103. package/dist/cdn/chunks/useEditorCore-BA6mspzD.js.map +1 -0
  104. package/dist/cdn/chunks/useI18n-8Wd7G-cq.js +19 -0
  105. package/dist/cdn/chunks/useI18n-8Wd7G-cq.js.map +1 -0
  106. package/dist/cdn/chunks/useMergeTag-C7G31KV-.js +46 -0
  107. package/dist/cdn/chunks/useMergeTag-C7G31KV-.js.map +1 -0
  108. package/dist/cdn/chunks/usePopoverPosition-Bx0QewTv.js +61 -0
  109. package/dist/cdn/chunks/usePopoverPosition-Bx0QewTv.js.map +1 -0
  110. package/dist/cdn/editor.css +1 -1
  111. package/dist/cdn/editor.js +72 -69
  112. package/dist/cdn/editor.js.map +1 -1
  113. package/dist/index.d.ts +15 -1
  114. package/dist/style.css +1 -1
  115. package/dist/{styles-DIDAJdkj.js → styles-PcOPXvLO.js} +547 -549
  116. package/dist/templatical-editor.js +5 -5
  117. package/dist/{useEditorCore-Bd9CA4L_.js → useEditorCore-CT1slufs.js} +3 -3
  118. package/package.json +7 -7
  119. package/dist/CountdownBlock-BUHYIAe9.js +0 -92
  120. package/dist/cdn/chunks/CloudEditor-DnTfI5GU.js.map +0 -1
  121. package/dist/cdn/chunks/CountdownBlock-BDnWMAME.js +0 -93
  122. package/dist/cdn/chunks/blockTypeIcons-BYz0fgLz.js +0 -22
  123. package/dist/cdn/chunks/features-pLfGJWIB.js +0 -7813
  124. package/dist/cdn/chunks/features-pLfGJWIB.js.map +0 -1
  125. package/dist/cdn/chunks/icons-FLemooQz.js +0 -690
  126. package/dist/cdn/chunks/icons-FLemooQz.js.map +0 -1
  127. package/dist/cdn/chunks/media-library-mCCZieYO.js.map +0 -1
  128. package/dist/cdn/chunks/quality-BRbHtAk1.js +0 -2180
  129. package/dist/cdn/chunks/quality-BRbHtAk1.js.map +0 -1
  130. package/dist/cdn/chunks/renderer-Yg1XhsBN.js.map +0 -1
  131. package/dist/cdn/chunks/src-BDJeYiVE.js +0 -509
  132. package/dist/cdn/chunks/src-BDJeYiVE.js.map +0 -1
  133. package/dist/cdn/chunks/styles-Bp5Jsu9J.js.map +0 -1
@@ -2,7 +2,7 @@ import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as
2
2
  import { a as A, c as j, o as M, s as N, t as P } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
3
  import { t as F } from "./upload-BwwE0U6G.js";
4
4
  import { A as I, E as L, O as R, T as z, a as B, c as V, f as ee, j as te, k as ne, l as H, s as re } from "./dist-BJbqgyPn.js";
5
- import { B as ie, F as ae, G as oe, I as se, L as ce, N as le, U as ue, V as de, _ as fe, a as pe, b as me, c as he, f as ge, g as _e, h as ve, i as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, q as Ee, r as De, s as Oe, u as ke, v as Ae, w as je, y as Me, z as Ne } from "./useEditorCore-Bd9CA4L_.js";
5
+ import { B as ie, F as ae, G as oe, I as se, L as ce, N as le, U as ue, V as de, _ as fe, a as pe, b as me, c as he, f as ge, g as _e, h as ve, i as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, q as Ee, r as De, s as Oe, u as ke, v as Ae, w as je, y as Me, z as Ne } from "./useEditorCore-CT1slufs.js";
6
6
  import { c as Pe, m as Fe } from "./dist-DYv_Pttj.js";
7
7
  import { a as Ie, n as Le } from "./usePopoverPosition-BO2LNy5n.js";
8
8
  import { A as Re, B as ze, D as Be, I as Ve, L as He, M as Ue, O as We, P as Ge, R as Ke, _ as qe, a as Je, d as Ye, f as Xe, h as Ze, l as Qe, m as $e, n as et, o as tt, p as nt, s as rt, w as it, z as at } from "./keys-CHPcp-Nz.js";
@@ -11,7 +11,7 @@ import { t as W } from "./createLucideIcon-JWHwTI6N.js";
11
11
  import { n as ot, t as st } from "./scan-line-BFgesTOY.js";
12
12
  import { t as ct } from "./chevron-down-j8GrdTyz.js";
13
13
  import { t as lt } from "./circle-alert-CgtE46ND.js";
14
- import { i as ut, n as dt, r as ft, t as pt } from "./blockTypeIcons-B1-Yzp-a.js";
14
+ import { i as ut, n as dt, r as ft, t as pt } from "./blockTypeIcons-CgwECCut.js";
15
15
  import { n as mt, t as ht } from "./refresh-cw-maKlg0dl.js";
16
16
  import { t as gt } from "./image-up-CQdtq8ge.js";
17
17
  import { t as _t } from "./info-BUJBXoE6.js";
@@ -26,17 +26,16 @@ import { t as Dt } from "./useCloudI18n-BmiygEM4.js";
26
26
  import { t as Ot } from "./useMergeTag-BTdDq5DC.js";
27
27
  import { t as kt } from "./useAliveFlag-C43EhZFY.js";
28
28
  import { t as At } from "./readableTextColor-f8Kykfnh.js";
29
- import { t as jt } from "./CountdownBlock-BUHYIAe9.js";
30
- import { _ as Mt, f as G, g as Nt, h as K, i as Pt, l as Ft, m as q, n as It, p as J, t as Y, u as Lt } from "./ColorPicker-s9GHXjZs.js";
31
- import { n as Rt, r as zt } from "./MergeTagSuggestion-DMe4rqn0.js";
32
- import { i as X, n as Z, r as Bt, t as Vt } from "./NumberWithSuffix-CCPN_oCh.js";
33
- import { t as Ht } from "./TplModal-BA-Zsg0O.js";
34
- var Ut = W("circle", [["circle", {
29
+ import { _ as jt, f as G, g as Mt, h as K, i as Nt, l as Pt, m as q, n as Ft, p as J, t as Y, u as It } from "./ColorPicker-s9GHXjZs.js";
30
+ import { n as Lt, r as Rt } from "./MergeTagSuggestion-DMe4rqn0.js";
31
+ import { i as X, n as Z, r as zt, t as Bt } from "./NumberWithSuffix-CCPN_oCh.js";
32
+ import { t as Vt } from "./TplModal-C7Koj5gM.js";
33
+ var Ht = W("circle", [["circle", {
35
34
  cx: "12",
36
35
  cy: "12",
37
36
  r: "10",
38
37
  key: "1mglay"
39
- }]]), Wt = W("globe", [
38
+ }]]), Ut = W("globe", [
40
39
  ["circle", {
41
40
  cx: "12",
42
41
  cy: "12",
@@ -51,7 +50,7 @@ var Ut = W("circle", [["circle", {
51
50
  d: "M2 12h20",
52
51
  key: "9i4pu4"
53
52
  }]
54
- ]), Gt = W("layout-template", [
53
+ ]), Wt = W("layout-template", [
55
54
  ["rect", {
56
55
  width: "18",
57
56
  height: "7",
@@ -76,7 +75,7 @@ var Ut = W("circle", [["circle", {
76
75
  rx: "1",
77
76
  key: "q5h2i8"
78
77
  }]
79
- ]), Kt = W("lock-open", [["rect", {
78
+ ]), Gt = W("lock-open", [["rect", {
80
79
  width: "18",
81
80
  height: "11",
82
81
  x: "3",
@@ -87,7 +86,7 @@ var Ut = W("circle", [["circle", {
87
86
  }], ["path", {
88
87
  d: "M7 11V7a5 5 0 0 1 9.9-1",
89
88
  key: "1mm8w8"
90
- }]]), qt = W("lock", [["rect", {
89
+ }]]), Kt = W("lock", [["rect", {
91
90
  width: "18",
92
91
  height: "11",
93
92
  x: "3",
@@ -98,7 +97,7 @@ var Ut = W("circle", [["circle", {
98
97
  }], ["path", {
99
98
  d: "M7 11V7a5 5 0 0 1 10 0v4",
100
99
  key: "fwvmzm"
101
- }]]), Jt = W("monitor", [
100
+ }]]), qt = W("monitor", [
102
101
  ["rect", {
103
102
  width: "20",
104
103
  height: "14",
@@ -121,10 +120,10 @@ var Ut = W("circle", [["circle", {
121
120
  y2: "21",
122
121
  key: "vw1qmm"
123
122
  }]
124
- ]), Yt = W("moon", [["path", {
123
+ ]), Jt = W("moon", [["path", {
125
124
  d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
126
125
  key: "kfwtm"
127
- }]]), Xt = W("panel-top", [["rect", {
126
+ }]]), Yt = W("panel-top", [["rect", {
128
127
  width: "18",
129
128
  height: "18",
130
129
  x: "3",
@@ -140,13 +139,13 @@ var Ut = W("circle", [["circle", {
140
139
  }], ["path", {
141
140
  d: "M12 5v14",
142
141
  key: "s699le"
143
- }]]), Zt = W("rotate-ccw", [["path", {
142
+ }]]), Xt = W("rotate-ccw", [["path", {
144
143
  d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
145
144
  key: "1357e3"
146
145
  }], ["path", {
147
146
  d: "M3 3v5h5",
148
147
  key: "1xhq8a"
149
- }]]), Qt = W("settings", [["path", {
148
+ }]]), Zt = W("settings", [["path", {
150
149
  d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
151
150
  key: "1i5ecw"
152
151
  }], ["circle", {
@@ -154,7 +153,7 @@ var Ut = W("circle", [["circle", {
154
153
  cy: "12",
155
154
  r: "3",
156
155
  key: "1v7zrd"
157
- }]]), $t = W("smartphone", [["rect", {
156
+ }]]), Qt = W("smartphone", [["rect", {
158
157
  width: "14",
159
158
  height: "20",
160
159
  x: "5",
@@ -165,7 +164,7 @@ var Ut = W("circle", [["circle", {
165
164
  }], ["path", {
166
165
  d: "M12 18h.01",
167
166
  key: "mhygvu"
168
- }]]), en = W("square-plus", [
167
+ }]]), $t = W("square-plus", [
169
168
  ["rect", {
170
169
  width: "18",
171
170
  height: "18",
@@ -182,14 +181,14 @@ var Ut = W("circle", [["circle", {
182
181
  d: "M12 8v8",
183
182
  key: "napkw2"
184
183
  }]
185
- ]), tn = W("square", [["rect", {
184
+ ]), en = W("square", [["rect", {
186
185
  width: "18",
187
186
  height: "18",
188
187
  x: "3",
189
188
  y: "3",
190
189
  rx: "2",
191
190
  key: "afitv7"
192
- }]]), nn = W("sun", [
191
+ }]]), tn = W("sun", [
193
192
  ["circle", {
194
193
  cx: "12",
195
194
  cy: "12",
@@ -231,7 +230,7 @@ var Ut = W("circle", [["circle", {
231
230
  ]);
232
231
  //#endregion
233
232
  //#region src/composables/useSavedBlocksFeature.ts
234
- function rn(e) {
233
+ function nn(e) {
235
234
  let { provider: t, editor: n } = e, r = Ee({
236
235
  provider: t,
237
236
  onError: e.onError
@@ -313,7 +312,7 @@ function rn(e) {
313
312
  }
314
313
  //#endregion
315
314
  //#region src/utils/resolveLintOptions.ts
316
- function an(e) {
315
+ function rn(e) {
317
316
  return {
318
317
  ...e.lint,
319
318
  locale: e.locale
@@ -321,19 +320,19 @@ function an(e) {
321
320
  }
322
321
  //#endregion
323
322
  //#region src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
324
- var on = ["aria-label"], sn = {
323
+ var an = ["aria-label"], on = {
325
324
  key: 0,
326
325
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
327
- }, cn = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, ln = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, un = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, dn = {
326
+ }, sn = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, cn = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, ln = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, un = {
328
327
  key: 0,
329
328
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
330
- }, fn = {
329
+ }, dn = {
331
330
  key: 1,
332
331
  class: "tpl:m-0 tpl:mt-4 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
333
- }, pn = { class: "tpl:relative" }, mn = {
332
+ }, fn = { class: "tpl:relative" }, pn = {
334
333
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
335
334
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
336
- }, hn = 96, gn = /*#__PURE__*/ Et(/* @__PURE__ */ f({
335
+ }, mn = 96, hn = /*#__PURE__*/ Et(/* @__PURE__ */ f({
337
336
  __name: "Canvas",
338
337
  props: {
339
338
  viewport: {},
@@ -362,7 +361,6 @@ var on = ["aria-label"], sn = {
362
361
  menu: ve,
363
362
  table: De,
364
363
  video: Ce,
365
- countdown: jt,
366
364
  custom: me
367
365
  }, u = r, f = i, { t: h } = U(), { t: _ } = Dt(), v = ze(Ze, "Canvas"), S = D(Ye, null), E = D(tt, null), O = D(rt, {}), A = w(() => (O.plan?.hasFeature("ai_generation") ?? !1) && (O.ai?.isFeatureEnabled("chat") ?? !1)), j = w(() => (O.plan?.hasFeature("ai_generation") ?? !1) && (O.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = w({
368
366
  get: () => u.content.blocks,
@@ -377,7 +375,7 @@ var on = ["aria-label"], sn = {
377
375
  case "mobile": return 375;
378
376
  default: return u.content.settings.width;
379
377
  }
380
- }), F = w(() => P.value + hn * 2), I = w(() => ge(u.content.settings)), L = w(() => N.value.length === 0 && !u.previewMode), R = d(0), z = w(() => L.value && R.value > 0);
378
+ }), F = w(() => P.value + mn * 2), I = w(() => ge(u.content.settings)), L = w(() => N.value.length === 0 && !u.previewMode), R = d(0), z = w(() => L.value && R.value > 0);
381
379
  function B() {
382
380
  L.value && (R.value += 1);
383
381
  }
@@ -468,14 +466,14 @@ var on = ["aria-label"], sn = {
468
466
  onDragleave: V,
469
467
  onDrop: ee
470
468
  }, {
471
- default: l(() => [L.value ? (s(), m("div", sn, [
472
- p("div", cn, [g(x(en), {
469
+ default: l(() => [L.value ? (s(), m("div", on, [
470
+ p("div", sn, [g(x($t), {
473
471
  size: 48,
474
472
  "stroke-width": 1
475
473
  })]),
476
- p("p", ln, c(x(h).canvas.noBlocks), 1),
477
- p("p", un, c(x(h).canvas.dragHint), 1),
478
- A.value && x(_) ? (s(), m("p", dn, [
474
+ p("p", cn, c(x(h).canvas.noBlocks), 1),
475
+ p("p", ln, c(x(h).canvas.dragHint), 1),
476
+ A.value && x(_) ? (s(), m("p", un, [
479
477
  b(c(x(h).canvas.aiHintChat) + " ", 1),
480
478
  p("button", {
481
479
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
@@ -486,7 +484,7 @@ var on = ["aria-label"], sn = {
486
484
  }), b(" " + c(x(_).aiMenu.aiAssistant), 1)]),
487
485
  b(" " + c(x(h).canvas.aiHintChatSuffix), 1)
488
486
  ])) : T("", !0),
489
- j.value && x(_) ? (s(), m("p", fn, [
487
+ j.value && x(_) ? (s(), m("p", dn, [
490
488
  b(c(x(h).canvas.aiHintDesign) + " ", 1),
491
489
  p("button", {
492
490
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
@@ -500,7 +498,7 @@ var on = ["aria-label"], sn = {
500
498
  ])) : T("", !0), (s(!0), m(C, null, e(N.value, (e) => k((s(), m("div", {
501
499
  key: e.id,
502
500
  class: "tpl-block-item"
503
- }, [p("div", pn, [H(e.id) ? (s(), m("div", {
501
+ }, [p("div", fn, [H(e.id) ? (s(), m("div", {
504
502
  key: 0,
505
503
  class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
506
504
  style: t({
@@ -513,7 +511,7 @@ var on = ["aria-label"], sn = {
513
511
  backgroundColor: H(e.id).color,
514
512
  color: x(At)(H(e.id).color)
515
513
  })
516
- }, [p("span", mn, c(H(e.id).name.charAt(0)), 1), b(" " + c(H(e.id).name), 1)], 4)], 4)) : T("", !0), g(ke, {
514
+ }, [p("span", pn, c(H(e.id).name.charAt(0)), 1), b(" " + c(H(e.id).name), 1)], 4)], 4)) : T("", !0), g(ke, {
517
515
  block: e,
518
516
  "is-selected": !r.previewMode && !ae.value && r.selectedBlockId === e.id && !H(e.id),
519
517
  picked: ie(e.id),
@@ -546,9 +544,9 @@ var on = ["aria-label"], sn = {
546
544
  "modelValue",
547
545
  "disabled",
548
546
  "class"
549
- ])], 6)], 12, on)], 4));
547
+ ])], 6)], 12, an)], 4));
550
548
  }
551
- }), [["__scopeId", "data-v-32524265"]]), _n = f({
549
+ }), [["__scopeId", "data-v-68d53416"]]), gn = f({
552
550
  name: "CustomBlockStylesheets",
553
551
  setup() {
554
552
  let e = D(nt, null);
@@ -561,7 +559,7 @@ var on = ["aria-label"], sn = {
561
559
  });
562
560
  //#endregion
563
561
  //#region src/utils/resolvePaletteBlocks.ts
564
- function vn(e, t) {
562
+ function _n(e, t) {
565
563
  if (!t || t.length === 0) return {
566
564
  items: e,
567
565
  unknown: []
@@ -580,21 +578,21 @@ function vn(e, t) {
580
578
  }
581
579
  //#endregion
582
580
  //#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
583
- var yn = ["aria-label"], bn = {
581
+ var vn = ["aria-label"], yn = {
584
582
  key: 0,
585
583
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
586
- }, xn = ["aria-label"], Sn = {
584
+ }, bn = ["aria-label"], xn = {
587
585
  key: 0,
588
586
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
589
- }, Cn = [
587
+ }, Sn = [
590
588
  "data-palette-type",
591
589
  "aria-label",
592
590
  "onClick",
593
591
  "onKeydown"
594
- ], wn = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, Tn = {
592
+ ], Cn = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, wn = {
595
593
  key: 0,
596
594
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
597
- }, En = /* @__PURE__ */ f({
595
+ }, Tn = /* @__PURE__ */ f({
598
596
  __name: "Sidebar",
599
597
  setup(n) {
600
598
  let { t: r, format: a } = U(), u = D(Xe, []), f = D(Ue, void 0), h = D(Je, void 0), _ = D(Ze, null), v = D(rt, {}), b = w(() => v.savedBlocks?.isAvailable.value === !0), S = d(!1), E = d(!1);
@@ -634,7 +632,7 @@ var yn = ["aria-label"], bn = {
634
632
  label: e.name,
635
633
  isCustom: !0,
636
634
  icon: e.icon
637
- }))), P = w(() => [...M.value, ...N.value]), F = w(() => vn(P.value, f)), I = w(() => F.value.items), L = /* @__PURE__ */ new Set();
635
+ }))), P = w(() => [...M.value, ...N.value]), F = w(() => _n(P.value, f)), I = w(() => F.value.items), L = /* @__PURE__ */ new Set();
638
636
  i(() => F.value.unknown, (e) => {
639
637
  for (let t of e) L.has(t) || (L.add(t), de.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
640
638
  }, { immediate: !0 });
@@ -667,7 +665,7 @@ var yn = ["aria-label"], bn = {
667
665
  onMouseleave: O,
668
666
  onFocusin: i[2] ||= (e) => S.value = !0,
669
667
  onFocusout: i[3] ||= (e) => S.value = !1
670
- }, [b.value ? (s(), m("div", bn, [p("button", {
668
+ }, [b.value ? (s(), m("div", yn, [p("button", {
671
669
  type: "button",
672
670
  "aria-label": x(r).sidebarNav.browseSavedBlocks,
673
671
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)]",
@@ -677,7 +675,7 @@ var yn = ["aria-label"], bn = {
677
675
  size: 20,
678
676
  "stroke-width": 1.5,
679
677
  class: "tpl:shrink-0"
680
- }), S.value ? (s(), m("span", Sn, c(x(r).savedBlocks.title), 1)) : T("", !0)], 12, xn)])) : T("", !0), g(x(he), {
678
+ }), S.value ? (s(), m("span", xn, c(x(r).savedBlocks.title), 1)) : T("", !0)], 12, bn)])) : T("", !0), g(x(he), {
681
679
  "model-value": I.value,
682
680
  group: {
683
681
  name: "blocks",
@@ -701,7 +699,7 @@ var yn = ["aria-label"], bn = {
701
699
  style: t({ justifyContent: S.value ? "flex-start" : "center" }),
702
700
  onClick: (t) => z(e),
703
701
  onKeydown: (t) => B(t, e)
704
- }, [p("div", wn, [x(pt)[e.type] ? (s(), y(o(x(pt)[e.type]), {
702
+ }, [p("div", Cn, [x(pt)[e.type] ? (s(), y(o(x(pt)[e.type]), {
705
703
  key: 0,
706
704
  size: 20,
707
705
  "stroke-width": 1.5
@@ -709,14 +707,14 @@ var yn = ["aria-label"], bn = {
709
707
  key: 1,
710
708
  icon: e.icon,
711
709
  size: 20
712
- }, null, 8, ["icon"])) : T("", !0)]), S.value ? (s(), m("span", Tn, c(e.label), 1)) : T("", !0)], 44, Cn))), 128))]),
710
+ }, null, 8, ["icon"])) : T("", !0)]), S.value ? (s(), m("span", wn, c(e.label), 1)) : T("", !0)], 44, Sn))), 128))]),
713
711
  _: 1
714
- }, 8, ["model-value"])], 44, yn));
712
+ }, 8, ["model-value"])], 44, vn));
715
713
  }
716
714
  });
717
715
  //#endregion
718
716
  //#region src/utils/mergeTagTrigger.ts
719
- function Dn(e, t, n, r) {
717
+ function En(e, t, n, r) {
720
718
  if (!n) return null;
721
719
  let i = e.slice(0, t), a = i.lastIndexOf(n);
722
720
  if (a === -1) return null;
@@ -729,8 +727,8 @@ function Dn(e, t, n, r) {
729
727
  }
730
728
  //#endregion
731
729
  //#region src/utils/textFieldCaret.ts
732
- var On = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
733
- function kn(e, t, n) {
730
+ var Dn = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
731
+ function On(e, t, n) {
734
732
  return {
735
733
  left: e,
736
734
  top: t,
@@ -743,7 +741,7 @@ function kn(e, t, n) {
743
741
  toJSON: () => ({})
744
742
  };
745
743
  }
746
- function An(e, t) {
744
+ function kn(e, t) {
747
745
  let n = e.ownerDocument, r = n.defaultView;
748
746
  if (!r) return null;
749
747
  let i = e.tagName === "INPUT", a = r.getComputedStyle(e), o = n.createElement("div");
@@ -751,7 +749,7 @@ function An(e, t) {
751
749
  let s = o.style;
752
750
  s.position = "absolute", s.visibility = "hidden", s.top = "0", s.left = "0", s.overflow = "hidden", s.whiteSpace = i ? "pre" : "pre-wrap", s.wordWrap = i ? "normal" : "break-word";
753
751
  let c = s, l = a;
754
- for (let e of On) c[e] = l[e];
752
+ for (let e of Dn) c[e] = l[e];
755
753
  i && (s.width = "auto", s.whiteSpace = "pre");
756
754
  let u = e.value, d = u.slice(0, t);
757
755
  i && (d = d.replace(/\s/g, "\xA0")), o.textContent = d;
@@ -760,26 +758,26 @@ function An(e, t) {
760
758
  let p = f.offsetTop, m = f.offsetLeft;
761
759
  n.body.removeChild(o);
762
760
  let h = e.getBoundingClientRect(), g = parseFloat(a.borderTopWidth) || 0, _ = parseFloat(a.borderLeftWidth) || 0, v = parseFloat(a.lineHeight) || parseFloat(a.fontSize) || 0, y = h.left + m + _ - e.scrollLeft;
763
- if (i) return kn(y, h.top, h.bottom);
761
+ if (i) return On(y, h.top, h.bottom);
764
762
  let b = h.top + p + g - e.scrollTop;
765
- return kn(y, b, b + v);
763
+ return On(y, b, b + v);
766
764
  }
767
765
  //#endregion
768
766
  //#region src/composables/useMergeTagAutocomplete.ts
769
- var jn = /* @__PURE__ */ new Set([
767
+ var An = /* @__PURE__ */ new Set([
770
768
  "ArrowLeft",
771
769
  "ArrowRight",
772
770
  "Home",
773
771
  "End"
774
772
  ]);
775
- function Mn(e) {
776
- let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = ne(s), f = R(s), p = c && d !== null && o.length > 0, m = D(Ke, null), h = Rt((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Le()), g = !1;
773
+ function jn(e) {
774
+ let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = ne(s), f = R(s), p = c && d !== null && o.length > 0, m = D(Ke, null), h = Lt((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Le()), g = !1;
777
775
  r() && a(() => {
778
776
  g = !0, h.close();
779
777
  });
780
778
  function _(e) {
781
779
  let t = e.value ?? "";
782
- return Dn(t, e.selectionStart ?? t.length, d, f);
780
+ return En(t, e.selectionStart ?? t.length, d, f);
783
781
  }
784
782
  function v(e, r, a) {
785
783
  let o = e.value ?? n(), s = o.slice(r.caret), c = f && s.startsWith(f) ? f.length : 0, u = o.slice(0, r.triggerStart), d = o.slice(r.caret + c), p = u + a.value + d, m = u.length + a.value.length;
@@ -801,7 +799,7 @@ function Mn(e) {
801
799
  h.close();
802
800
  return;
803
801
  }
804
- let r = zt(o, n.query), i = () => An(e, n.triggerStart), a = (t) => v(e, n, t);
802
+ let r = Rt(o, n.query), i = () => kn(e, n.triggerStart), a = (t) => v(e, n, t);
805
803
  h.isOpen() ? h.update({
806
804
  items: r,
807
805
  getRect: i,
@@ -814,7 +812,7 @@ function Mn(e) {
814
812
  });
815
813
  }
816
814
  function b(e) {
817
- return h.isOpen() ? e.key === "Escape" ? (h.close(), !0) : jn.has(e.key) ? (h.close(), !1) : h.handleKeyDown(e) : !1;
815
+ return h.isOpen() ? e.key === "Escape" ? (h.close(), !0) : An.has(e.key) ? (h.close(), !1) : h.handleKeyDown(e) : !1;
818
816
  }
819
817
  return {
820
818
  available: p,
@@ -826,12 +824,12 @@ function Mn(e) {
826
824
  }
827
825
  //#endregion
828
826
  //#region src/composables/useMergeTagField.ts
829
- function Nn(e) {
827
+ function Mn(e) {
830
828
  let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = Ot(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = je(), v = d(!1), y = !1, b = !1;
831
829
  r() && a(() => {
832
830
  b = !0;
833
831
  });
834
- let x = Mn({
832
+ let x = jn({
835
833
  elementRef: i,
836
834
  modelValue: t,
837
835
  emit: n,
@@ -953,10 +951,10 @@ function Nn(e) {
953
951
  }
954
952
  //#endregion
955
953
  //#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
956
- var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip"], Ln = {
954
+ var Nn = ["aria-label", "onKeydown"], Pn = ["data-tooltip"], Fn = ["data-tooltip"], In = {
957
955
  key: 2,
958
956
  class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
959
- }, Rn = ["aria-label", "title"], zn = /* @__PURE__ */ f({
957
+ }, Ln = ["aria-label", "title"], Rn = /* @__PURE__ */ f({
960
958
  __name: "MergeTagSegments",
961
959
  props: {
962
960
  segments: {},
@@ -984,7 +982,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
984
982
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
985
983
  color: "var(--tpl-primary)"
986
984
  }
987
- }, c(e.label), 9, Fn)) : e.type === "logicMergeTag" ? (s(), m("span", {
985
+ }, c(e.label), 9, Pn)) : e.type === "logicMergeTag" ? (s(), m("span", {
988
986
  key: 1,
989
987
  class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
990
988
  "data-tooltip": e.value,
@@ -993,7 +991,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
993
991
  border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
994
992
  color: "var(--tpl-primary)"
995
993
  }
996
- }, c(e.keyword), 9, In)) : (s(), m("span", Ln, c(e.value), 1))], 64))), 128)), p("button", {
994
+ }, c(e.keyword), 9, Fn)) : (s(), m("span", In, c(e.value), 1))], 64))), 128)), p("button", {
997
995
  type: "button",
998
996
  class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all hover:tpl:text-[var(--tpl-danger)] hover:tpl:opacity-100",
999
997
  "aria-label": x(a).mergeTag.remove,
@@ -1002,13 +1000,13 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1002
1000
  }, [g(x(Tt), {
1003
1001
  size: 12,
1004
1002
  "stroke-width": 2.5
1005
- })], 8, Rn)], 42, Pn));
1003
+ })], 8, Ln)], 42, Nn));
1006
1004
  }
1007
- }), Bn = [
1005
+ }), zn = [
1008
1006
  "aria-label",
1009
1007
  "title",
1010
1008
  "disabled"
1011
- ], Vn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Hn = /* @__PURE__ */ f({
1009
+ ], Bn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Vn = /* @__PURE__ */ f({
1012
1010
  __name: "MergeTagInsertButton",
1013
1011
  props: { disabled: { type: Boolean } },
1014
1012
  emits: ["insert"],
@@ -1016,7 +1014,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1016
1014
  let { t } = U();
1017
1015
  return (r, i) => (s(), m("button", {
1018
1016
  type: "button",
1019
- class: n([Vn, "tpl:mt-1.5"]),
1017
+ class: n([Bn, "tpl:mt-1.5"]),
1020
1018
  "aria-label": x(t).mergeTag.insert,
1021
1019
  title: x(t).mergeTag.insert,
1022
1020
  disabled: e.disabled,
@@ -1025,13 +1023,13 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1025
1023
  }, [g(x(st), {
1026
1024
  size: 12,
1027
1025
  "stroke-width": 2
1028
- }), b(" " + c(x(t).mergeTag.insertShort), 1)], 42, Bn));
1026
+ }), b(" " + c(x(t).mergeTag.insertShort), 1)], 42, zn));
1029
1027
  }
1030
- }), Un = [
1028
+ }), Hn = [
1031
1029
  "aria-label",
1032
1030
  "title",
1033
1031
  "disabled"
1034
- ], Wn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Gn = /* @__PURE__ */ f({
1032
+ ], Un = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Wn = /* @__PURE__ */ f({
1035
1033
  __name: "LogicTagInsertButton",
1036
1034
  props: { disabled: { type: Boolean } },
1037
1035
  emits: ["insert"],
@@ -1039,7 +1037,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1039
1037
  let { t } = U();
1040
1038
  return (r, i) => (s(), m("button", {
1041
1039
  type: "button",
1042
- class: n([Wn, "tpl:mt-1.5"]),
1040
+ class: n([Un, "tpl:mt-1.5"]),
1043
1041
  "aria-label": x(t).logicTag.insert,
1044
1042
  title: x(t).logicTag.insert,
1045
1043
  disabled: e.disabled,
@@ -1049,19 +1047,19 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1049
1047
  }, [g(x(ot), {
1050
1048
  size: 12,
1051
1049
  "stroke-width": 2
1052
- }), b(" " + c(x(t).logicTag.insertShort), 1)], 42, Un));
1050
+ }), b(" " + c(x(t).logicTag.insertShort), 1)], 42, Hn));
1053
1051
  }
1054
- }), Kn = { key: 0 }, qn = {
1052
+ }), Gn = { key: 0 }, Kn = {
1055
1053
  key: 0,
1056
1054
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1057
- }, Jn = { key: 1 }, Yn = [
1055
+ }, qn = { key: 1 }, Jn = [
1058
1056
  "value",
1059
1057
  "placeholder",
1060
1058
  "rows"
1061
- ], Xn = {
1059
+ ], Yn = {
1062
1060
  key: 0,
1063
1061
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1064
- }, Zn = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Qn = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $n = /* @__PURE__ */ f({
1062
+ }, Xn = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Zn = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", Qn = /* @__PURE__ */ f({
1065
1063
  __name: "MergeTagTextarea",
1066
1064
  props: {
1067
1065
  modelValue: {},
@@ -1070,32 +1068,32 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1070
1068
  },
1071
1069
  emits: ["update:modelValue"],
1072
1070
  setup(e, { emit: t }) {
1073
- let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Nn({
1071
+ let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Mn({
1074
1072
  modelValue: () => r.modelValue,
1075
1073
  emit: (e) => i("update:modelValue", e),
1076
1074
  elementRef: a
1077
1075
  });
1078
- return (t, r) => x(c) && !x(_) ? (s(), m("div", Kn, [g(zn, {
1076
+ return (t, r) => x(c) && !x(_) ? (s(), m("div", Gn, [g(Rn, {
1079
1077
  segments: x(o),
1080
- "display-class": Qn,
1078
+ "display-class": Zn,
1081
1079
  onEdit: x(v),
1082
1080
  onClear: x(E)
1083
1081
  }, null, 8, [
1084
1082
  "segments",
1085
1083
  "onEdit",
1086
1084
  "onClear"
1087
- ]), x(l) || x(f) ? (s(), m("div", qn, [x(l) ? (s(), y(Hn, {
1085
+ ]), x(l) || x(f) ? (s(), m("div", Kn, [x(l) ? (s(), y(Vn, {
1088
1086
  key: 0,
1089
1087
  disabled: x(u),
1090
1088
  onInsert: x(D)
1091
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Gn, {
1089
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Wn, {
1092
1090
  key: 1,
1093
1091
  disabled: x(h),
1094
1092
  onInsert: x(O)
1095
- }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", Jn, [p("textarea", {
1093
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", qn, [p("textarea", {
1096
1094
  ref_key: "textareaRef",
1097
1095
  ref: a,
1098
- class: n(Zn),
1096
+ class: n(Xn),
1099
1097
  value: e.modelValue,
1100
1098
  placeholder: e.placeholder,
1101
1099
  rows: e.rows,
@@ -1103,17 +1101,17 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1103
1101
  onKeydown: r[1] ||= (...e) => x(S) && x(S)(...e),
1104
1102
  onClick: r[2] ||= (...e) => x(C) && x(C)(...e),
1105
1103
  onBlur: r[3] ||= (...e) => x(w) && x(w)(...e)
1106
- }, null, 40, Yn), x(l) || x(f) ? (s(), m("div", Xn, [x(l) ? (s(), y(Hn, {
1104
+ }, null, 40, Jn), x(l) || x(f) ? (s(), m("div", Yn, [x(l) ? (s(), y(Vn, {
1107
1105
  key: 0,
1108
1106
  disabled: x(u),
1109
1107
  onInsert: x(D)
1110
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Gn, {
1108
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Wn, {
1111
1109
  key: 1,
1112
1110
  disabled: x(h),
1113
1111
  onInsert: x(O)
1114
1112
  }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)]));
1115
1113
  }
1116
- }), er = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, tr = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, nr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, rr = { class: "tpl:mb-3.5" }, ir = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, ar = ["onClick"], or = { class: "tpl:flex tpl:items-stretch" }, sr = ["value"], cr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, lr = { class: "tpl:mb-3.5" }, ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:mb-3.5" }, fr = { class: "tpl:mb-3.5" }, pr = ["value"], mr = ["value"], hr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, gr = ["value"], _r = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, vr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, yr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, br = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, xr = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Sr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Cr = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, wr = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Tr = { class: "tpl:mb-1 tpl:last:mb-0" }, Er = { class: "tpl:mb-1 tpl:last:mb-0" }, Dr = { class: "tpl:mb-1 tpl:last:mb-0" }, Or = 150, kr = /* @__PURE__ */ f({
1114
+ }), $n = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, er = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, tr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, nr = { class: "tpl:mb-3.5" }, rr = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, ir = ["onClick"], ar = { class: "tpl:flex tpl:items-stretch" }, or = ["value"], sr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, cr = { class: "tpl:mb-3.5" }, lr = { class: "tpl:mb-3.5" }, ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:mb-3.5" }, fr = ["value"], pr = ["value"], mr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, hr = ["value"], gr = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, _r = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, vr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, yr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, br = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, xr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Sr = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Cr = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, wr = { class: "tpl:mb-1 tpl:last:mb-0" }, Tr = { class: "tpl:mb-1 tpl:last:mb-0" }, Er = { class: "tpl:mb-1 tpl:last:mb-0" }, Dr = 150, Or = /* @__PURE__ */ f({
1117
1115
  __name: "TemplateSettings",
1118
1116
  props: { settings: {} },
1119
1117
  emits: ["update"],
@@ -1136,14 +1134,14 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1136
1134
  label: "800px"
1137
1135
  }
1138
1136
  ];
1139
- return (i, a) => (s(), m("aside", er, [p("div", tr, [
1140
- p("div", { class: n(x(Lt)) }, [
1141
- p("div", nr, [g(x(tn), {
1137
+ return (i, a) => (s(), m("aside", $n, [p("div", er, [
1138
+ p("div", { class: n(x(It)) }, [
1139
+ p("div", tr, [g(x(en), {
1142
1140
  class: "tpl:text-[var(--tpl-text-muted)]",
1143
1141
  size: 14,
1144
1142
  "stroke-width": 2
1145
1143
  }), p("span", null, c(x(l).templateSettings.layout), 1)]),
1146
- p("div", rr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.widthPreset), 3), p("div", ir, [(s(), m(C, null, e(h, (e) => p("button", {
1144
+ p("div", nr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.widthPreset), 3), p("div", rr, [(s(), m(C, null, e(h, (e) => p("button", {
1147
1145
  key: e.value,
1148
1146
  class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
1149
1147
  style: t({
@@ -1152,38 +1150,38 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1152
1150
  boxShadow: r.settings.width === e.value ? "var(--tpl-shadow)" : "none"
1153
1151
  }),
1154
1152
  onClick: (t) => o("update", { width: e.value })
1155
- }, c(e.label), 13, ar)), 64))])]),
1156
- p("div", null, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.customWidth), 3), p("div", or, [p("input", {
1153
+ }, c(e.label), 13, ir)), 64))])]),
1154
+ p("div", null, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.customWidth), 3), p("div", ar, [p("input", {
1157
1155
  type: "number",
1158
1156
  class: n(x(J)),
1159
1157
  value: r.settings.width,
1160
1158
  min: "300",
1161
1159
  max: "900",
1162
1160
  onInput: a[0] ||= (e) => o("update", { width: Number(e.target.value) })
1163
- }, null, 42, sr), p("span", { class: n(x(q)) }, "px", 2)])])
1161
+ }, null, 42, or), p("span", { class: n(x(q)) }, "px", 2)])])
1164
1162
  ], 2),
1165
- p("div", { class: n(x(Lt)) }, [
1166
- p("div", cr, [g(x(Ut), {
1163
+ p("div", { class: n(x(It)) }, [
1164
+ p("div", sr, [g(x(Ht), {
1167
1165
  class: "tpl:text-[var(--tpl-text-muted)]",
1168
1166
  size: 14,
1169
1167
  "stroke-width": 2
1170
1168
  }), p("span", null, c(x(l).templateSettings.appearance), 1)]),
1171
- p("div", lr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.backgroundColor), 3), g(Y, {
1169
+ p("div", cr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.backgroundColor), 3), g(Y, {
1172
1170
  "model-value": r.settings.backgroundColor,
1173
- placeholder: x(It),
1171
+ placeholder: x(Ft),
1174
1172
  "onUpdate:modelValue": a[1] ||= (e) => o("update", { backgroundColor: e })
1175
1173
  }, null, 8, ["model-value", "placeholder"])]),
1176
- p("div", ur, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.textColor), 3), g(Y, {
1174
+ p("div", lr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.textColor), 3), g(Y, {
1177
1175
  "model-value": r.settings.textColor ?? "",
1178
1176
  "seed-color": "#1a1a1a",
1179
1177
  "onUpdate:modelValue": a[2] ||= (e) => o("update", { textColor: e })
1180
1178
  }, null, 8, ["model-value"])]),
1181
- p("div", dr, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.linkColor), 3), g(Y, {
1179
+ p("div", ur, [p("label", { class: n(x(K)) }, c(x(l).templateSettings.linkColor), 3), g(Y, {
1182
1180
  "model-value": r.settings.linkColor ?? "",
1183
1181
  "seed-color": "#0066cc",
1184
1182
  "onUpdate:modelValue": a[3] ||= (e) => o("update", { linkColor: e || void 0 })
1185
1183
  }, null, 8, ["model-value"])]),
1186
- p("div", fr, [g(X, {
1184
+ p("div", dr, [g(X, {
1187
1185
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1188
1186
  "model-value": r.settings.linkUnderline,
1189
1187
  label: x(l).templateSettings.linkUnderline,
@@ -1196,9 +1194,9 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1196
1194
  }, [(s(!0), m(C, null, e(d.value, (e) => (s(), m("option", {
1197
1195
  key: e.value,
1198
1196
  value: e.value
1199
- }, c(e.label), 9, mr))), 128))], 42, pr)])
1197
+ }, c(e.label), 9, pr))), 128))], 42, fr)])
1200
1198
  ], 2),
1201
- p("div", { class: n(x(Lt)) }, [p("div", hr, [g(x(Wt), {
1199
+ p("div", { class: n(x(It)) }, [p("div", mr, [g(x(Ut), {
1202
1200
  class: "tpl:text-[var(--tpl-text-muted)]",
1203
1201
  size: 14,
1204
1202
  "stroke-width": 2
@@ -1213,40 +1211,40 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1213
1211
  autocapitalize: "off",
1214
1212
  autocomplete: "off",
1215
1213
  onInput: a[6] ||= (e) => o("update", { locale: e.target.value.trim() || void 0 })
1216
- }, null, 42, gr),
1217
- p("p", _r, c(x(l).templateSettings.contentLocaleHint), 1)
1214
+ }, null, 42, hr),
1215
+ p("p", gr, c(x(l).templateSettings.contentLocaleHint), 1)
1218
1216
  ])], 2),
1219
- p("div", { class: n(x(Lt)) }, [p("div", vr, [g(x(mt), {
1217
+ p("div", { class: n(x(It)) }, [p("div", _r, [g(x(mt), {
1220
1218
  class: "tpl:text-[var(--tpl-text-muted)]",
1221
1219
  size: 14,
1222
1220
  "stroke-width": 2
1223
- }), p("span", null, c(x(l).templateSettings.preheaderText), 1)]), p("div", null, [g($n, {
1221
+ }), p("span", null, c(x(l).templateSettings.preheaderText), 1)]), p("div", null, [g(Qn, {
1224
1222
  "model-value": r.settings.preheaderText ?? "",
1225
1223
  placeholder: x(l).templateSettings.preheaderTextPlaceholder,
1226
1224
  rows: 2,
1227
1225
  "onUpdate:modelValue": a[7] ||= (e) => o("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
1228
- }, null, 8, ["model-value", "placeholder"]), p("div", yr, [p("span", br, c(x(l).templateSettings.preheaderTextHint), 1), p("span", xr, c((r.settings.preheaderText ?? "").length) + "/" + c(Or), 1)])])], 2),
1229
- p("div", Sr, [p("div", Cr, [g(x(_t), {
1226
+ }, null, 8, ["model-value", "placeholder"]), p("div", vr, [p("span", yr, c(x(l).templateSettings.preheaderTextHint), 1), p("span", br, c((r.settings.preheaderText ?? "").length) + "/" + c(Dr), 1)])])], 2),
1227
+ p("div", xr, [p("div", Sr, [g(x(_t), {
1230
1228
  size: 14,
1231
1229
  "stroke-width": 2
1232
- }), p("span", null, c(x(l).templateSettings.tips), 1)]), p("ul", wr, [
1233
- p("li", Tr, c(x(l).templateSettings.tip1), 1),
1234
- p("li", Er, c(x(l).templateSettings.tip2), 1),
1235
- p("li", Dr, c(x(l).templateSettings.tip3), 1)
1230
+ }), p("span", null, c(x(l).templateSettings.tips), 1)]), p("ul", Cr, [
1231
+ p("li", wr, c(x(l).templateSettings.tip1), 1),
1232
+ p("li", Tr, c(x(l).templateSettings.tip2), 1),
1233
+ p("li", Er, c(x(l).templateSettings.tip3), 1)
1236
1234
  ])])
1237
1235
  ])]));
1238
1236
  }
1239
- }), Ar = { key: 0 }, jr = {
1237
+ }), kr = { key: 0 }, Ar = {
1240
1238
  key: 0,
1241
1239
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1242
- }, Mr = { key: 1 }, Nr = [
1240
+ }, jr = { key: 1 }, Mr = [
1243
1241
  "type",
1244
1242
  "value",
1245
1243
  "placeholder"
1246
- ], Pr = {
1244
+ ], Nr = {
1247
1245
  key: 0,
1248
1246
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1249
- }, Fr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ Et(/* @__PURE__ */ f({
1247
+ }, Pr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ Et(/* @__PURE__ */ f({
1250
1248
  __name: "MergeTagInput",
1251
1249
  props: {
1252
1250
  modelValue: {},
@@ -1259,14 +1257,14 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1259
1257
  },
1260
1258
  emits: ["update:modelValue"],
1261
1259
  setup(e, { emit: t }) {
1262
- let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Nn({
1260
+ let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Mn({
1263
1261
  modelValue: () => r.modelValue,
1264
1262
  emit: (e) => i("update:modelValue", e),
1265
1263
  elementRef: a
1266
1264
  });
1267
- return (t, r) => x(c) && !x(_) ? (s(), m("div", Ar, [g(zn, {
1265
+ return (t, r) => x(c) && !x(_) ? (s(), m("div", kr, [g(Rn, {
1268
1266
  segments: x(o),
1269
- "display-class": Fr,
1267
+ "display-class": Pr,
1270
1268
  pulse: e.pulse,
1271
1269
  onEdit: x(v),
1272
1270
  onClear: x(E)
@@ -1275,15 +1273,15 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1275
1273
  "pulse",
1276
1274
  "onEdit",
1277
1275
  "onClear"
1278
- ]), x(l) || x(f) ? (s(), m("div", jr, [x(l) ? (s(), y(Hn, {
1276
+ ]), x(l) || x(f) ? (s(), m("div", Ar, [x(l) ? (s(), y(Vn, {
1279
1277
  key: 0,
1280
1278
  disabled: x(u),
1281
1279
  onInsert: x(D)
1282
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Gn, {
1280
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Wn, {
1283
1281
  key: 1,
1284
1282
  disabled: x(h),
1285
1283
  onInsert: x(O)
1286
- }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", Mr, [p("input", {
1284
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", jr, [p("input", {
1287
1285
  ref_key: "inputRef",
1288
1286
  ref: a,
1289
1287
  type: e.type,
@@ -1294,20 +1292,20 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1294
1292
  onKeydown: r[1] ||= (...e) => x(S) && x(S)(...e),
1295
1293
  onClick: r[2] ||= (...e) => x(C) && x(C)(...e),
1296
1294
  onBlur: r[3] ||= (...e) => x(w) && x(w)(...e)
1297
- }, null, 42, Nr), x(l) || x(f) ? (s(), m("div", Pr, [x(l) ? (s(), y(Hn, {
1295
+ }, null, 42, Mr), x(l) || x(f) ? (s(), m("div", Nr, [x(l) ? (s(), y(Vn, {
1298
1296
  key: 0,
1299
1297
  disabled: x(u),
1300
1298
  onInsert: x(D)
1301
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Gn, {
1299
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Wn, {
1302
1300
  key: 1,
1303
1301
  disabled: x(h),
1304
1302
  onInsert: x(O)
1305
1303
  }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)]));
1306
1304
  }
1307
- }), [["__scopeId", "data-v-d6563be6"]]), Ir = { class: "tpl:mb-3.5" }, Lr = ["value"], Rr = { value: "" }, zr = ["value"], Br = { class: "tpl:mb-3.5" }, Vr = { class: "tpl:mb-3.5" }, Hr = { class: "tpl:mb-3.5" }, Ur = { class: "tpl:mb-3.5" }, Wr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:flex tpl:items-stretch" }, qr = ["value"], Jr = { class: "tpl:mb-3.5" }, Yr = { class: "tpl:flex tpl:items-stretch" }, Xr = ["value"], Zr = { class: "tpl:mb-3.5" }, Qr = ["value"], $r = { value: "auto" }, ei = { value: "full" }, ti = { value: "custom" }, ni = {
1305
+ }), [["__scopeId", "data-v-d6563be6"]]), Fr = { class: "tpl:mb-3.5" }, Ir = ["value"], Lr = { value: "" }, Rr = ["value"], zr = { class: "tpl:mb-3.5" }, Br = { class: "tpl:mb-3.5" }, Vr = { class: "tpl:mb-3.5" }, Hr = { class: "tpl:mb-3.5" }, Ur = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Wr = { class: "tpl:mb-3.5" }, Gr = { class: "tpl:flex tpl:items-stretch" }, Kr = ["value"], qr = { class: "tpl:mb-3.5" }, Jr = { class: "tpl:flex tpl:items-stretch" }, Yr = ["value"], Xr = { class: "tpl:mb-3.5" }, Zr = ["value"], Qr = { value: "auto" }, $r = { value: "full" }, ei = { value: "custom" }, ti = {
1308
1306
  key: 0,
1309
1307
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1310
- }, ri = ["value"], ii = 200, ai = /* @__PURE__ */ f({
1308
+ }, ni = ["value"], ri = 200, ii = /* @__PURE__ */ f({
1311
1309
  __name: "ButtonToolbar",
1312
1310
  props: {
1313
1311
  block: {},
@@ -1325,7 +1323,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1325
1323
  return;
1326
1324
  }
1327
1325
  if (e === "custom") {
1328
- u("width", typeof i.block.width == "number" ? i.block.width : ii);
1326
+ u("width", typeof i.block.width == "number" ? i.block.width : ri);
1329
1327
  return;
1330
1328
  }
1331
1329
  u("width", void 0);
@@ -1335,20 +1333,20 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1335
1333
  !Number.isFinite(t) || t <= 0 || u("width", t);
1336
1334
  }
1337
1335
  return (r, i) => (s(), m(C, null, [
1338
- p("div", Ir, [p("label", { class: n(x(K)) }, c(x(o).button.fontFamily), 3), p("select", {
1336
+ p("div", Fr, [p("label", { class: n(x(K)) }, c(x(o).button.fontFamily), 3), p("select", {
1339
1337
  class: n(x(G)),
1340
1338
  value: t.block.fontFamily || "",
1341
1339
  onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1342
- }, [p("option", Rr, c(x(o).button.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
1340
+ }, [p("option", Lr, c(x(o).button.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
1343
1341
  key: e.value,
1344
1342
  value: e.value
1345
- }, c(e.label), 9, zr))), 128))], 42, Lr)]),
1346
- p("div", Br, [p("label", { class: n(x(K)) }, c(x(o).button.text), 3), g($, {
1343
+ }, c(e.label), 9, Rr))), 128))], 42, Ir)]),
1344
+ p("div", zr, [p("label", { class: n(x(K)) }, c(x(o).button.text), 3), g($, {
1347
1345
  "model-value": t.block.text,
1348
1346
  type: "text",
1349
1347
  "onUpdate:modelValue": i[1] ||= (e) => u("text", e)
1350
1348
  }, null, 8, ["model-value"])]),
1351
- p("div", Vr, [
1349
+ p("div", Br, [
1352
1350
  p("label", { class: n(x(K)) }, c(x(o).button.url), 3),
1353
1351
  g($, {
1354
1352
  "model-value": t.block.url,
@@ -1364,51 +1362,51 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1364
1362
  "onUpdate:modelValue": i[3] ||= (e) => u("openInNewTab", e)
1365
1363
  }, null, 8, ["model-value", "label"])) : T("", !0)
1366
1364
  ]),
1367
- p("div", Hr, [p("label", { class: n(x(K)) }, c(x(o).button.background), 3), g(Y, {
1365
+ p("div", Vr, [p("label", { class: n(x(K)) }, c(x(o).button.background), 3), g(Y, {
1368
1366
  "model-value": t.block.backgroundColor,
1369
1367
  "onUpdate:modelValue": i[4] ||= (e) => u("backgroundColor", e)
1370
1368
  }, null, 8, ["model-value"])]),
1371
- p("div", Ur, [p("label", { class: n(x(K)) }, c(x(o).button.textColor), 3), g(Y, {
1369
+ p("div", Hr, [p("label", { class: n(x(K)) }, c(x(o).button.textColor), 3), g(Y, {
1372
1370
  "model-value": t.block.textColor,
1373
1371
  "onUpdate:modelValue": i[5] ||= (e) => u("textColor", e)
1374
1372
  }, null, 8, ["model-value"])]),
1375
- p("div", Wr, [p("div", Gr, [p("label", { class: n(x(K)) }, c(x(o).button.borderRadius), 3), p("div", Kr, [p("input", {
1373
+ p("div", Ur, [p("div", Wr, [p("label", { class: n(x(K)) }, c(x(o).button.borderRadius), 3), p("div", Gr, [p("input", {
1376
1374
  type: "number",
1377
1375
  class: n(x(J)),
1378
1376
  value: t.block.borderRadius,
1379
1377
  min: "0",
1380
1378
  max: "50",
1381
1379
  onInput: i[6] ||= (e) => u("borderRadius", Number(e.target.value))
1382
- }, null, 42, qr), p("span", { class: n(x(q)) }, "px", 2)])]), p("div", Jr, [p("label", { class: n(x(K)) }, c(x(o).button.fontSize), 3), p("div", Yr, [p("input", {
1380
+ }, null, 42, Kr), p("span", { class: n(x(q)) }, "px", 2)])]), p("div", qr, [p("label", { class: n(x(K)) }, c(x(o).button.fontSize), 3), p("div", Jr, [p("input", {
1383
1381
  type: "number",
1384
1382
  class: n(x(J)),
1385
1383
  value: t.block.fontSize,
1386
1384
  min: "10",
1387
1385
  max: "36",
1388
1386
  onInput: i[7] ||= (e) => u("fontSize", Number(e.target.value))
1389
- }, null, 42, Xr), p("span", { class: n(x(q)) }, "px", 2)])])]),
1390
- p("div", Zr, [
1387
+ }, null, 42, Yr), p("span", { class: n(x(q)) }, "px", 2)])])]),
1388
+ p("div", Xr, [
1391
1389
  p("label", { class: n(x(K)) }, c(x(o).button.width), 3),
1392
1390
  p("select", {
1393
1391
  class: n(x(G)),
1394
1392
  value: l.value,
1395
1393
  onChange: i[8] ||= (e) => d(e.target.value)
1396
1394
  }, [
1397
- p("option", $r, c(x(o).button.widthAuto), 1),
1398
- p("option", ei, c(x(o).button.fullWidth), 1),
1399
- p("option", ti, c(x(o).button.widthCustom), 1)
1400
- ], 42, Qr),
1401
- l.value === "custom" ? (s(), m("div", ni, [p("input", {
1395
+ p("option", Qr, c(x(o).button.widthAuto), 1),
1396
+ p("option", $r, c(x(o).button.fullWidth), 1),
1397
+ p("option", ei, c(x(o).button.widthCustom), 1)
1398
+ ], 42, Zr),
1399
+ l.value === "custom" ? (s(), m("div", ti, [p("input", {
1402
1400
  type: "number",
1403
1401
  class: n(x(J)),
1404
- value: typeof t.block.width == "number" ? t.block.width : ii,
1402
+ value: typeof t.block.width == "number" ? t.block.width : ri,
1405
1403
  min: "20",
1406
1404
  onInput: i[9] ||= (e) => f(e.target.value)
1407
- }, null, 42, ri), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
1405
+ }, null, 42, ni), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
1408
1406
  ])
1409
1407
  ], 64));
1410
1408
  }
1411
- }), oi = { class: "spacing-control" }, si = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ci = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, li = { class: "tpl:flex tpl:items-center" }, ui = ["aria-label"], di = ["value", "aria-label"], fi = ["aria-label"], pi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, mi = { class: "tpl:flex tpl:items-center" }, hi = ["aria-label"], gi = ["value", "aria-label"], _i = ["aria-label"], vi = ["aria-label", "title"], yi = { class: "tpl:flex tpl:items-center" }, bi = ["aria-label"], xi = ["value", "aria-label"], Si = ["aria-label"], Ci = { class: "tpl:flex tpl:items-center" }, wi = ["aria-label"], Ti = ["value", "aria-label"], Ei = ["aria-label"], Di = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Oi = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", ki = /*#__PURE__*/ Et(/* @__PURE__ */ f({
1409
+ }), ai = { class: "spacing-control" }, oi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, si = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ci = { class: "tpl:flex tpl:items-center" }, li = ["aria-label"], ui = ["value", "aria-label"], di = ["aria-label"], fi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, pi = { class: "tpl:flex tpl:items-center" }, mi = ["aria-label"], hi = ["value", "aria-label"], gi = ["aria-label"], _i = ["aria-label", "title"], vi = { class: "tpl:flex tpl:items-center" }, yi = ["aria-label"], bi = ["value", "aria-label"], xi = ["aria-label"], Si = { class: "tpl:flex tpl:items-center" }, Ci = ["aria-label"], wi = ["value", "aria-label"], Ti = ["aria-label"], Ei = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Di = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", Oi = /*#__PURE__*/ Et(/* @__PURE__ */ f({
1412
1410
  __name: "SpacingControl",
1413
1411
  props: {
1414
1412
  modelValue: {},
@@ -1455,130 +1453,130 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1455
1453
  });
1456
1454
  }
1457
1455
  }
1458
- return (t, r) => (s(), m("div", oi, [p("label", si, c(e.label), 1), p("div", ci, [
1459
- p("div", li, [
1456
+ return (t, r) => (s(), m("div", ai, [p("label", oi, c(e.label), 1), p("div", si, [
1457
+ p("div", ci, [
1460
1458
  p("button", {
1461
1459
  "aria-label": x(o).spacingControl.decreaseTop,
1462
- class: n([Di, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1460
+ class: n([Ei, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1463
1461
  onClick: r[0] ||= (e) => f("top", -1)
1464
1462
  }, [g(x(ut), {
1465
1463
  size: 12,
1466
1464
  "stroke-width": 2
1467
- })], 10, ui),
1465
+ })], 10, li),
1468
1466
  p("input", {
1469
1467
  type: "number",
1470
- class: n(Oi),
1468
+ class: n(Di),
1471
1469
  value: e.modelValue.top,
1472
1470
  "aria-label": x(o).spacingControl.top,
1473
1471
  min: "0",
1474
1472
  onInput: r[1] ||= (e) => h("top", Number(e.target.value))
1475
- }, null, 40, di),
1473
+ }, null, 40, ui),
1476
1474
  p("button", {
1477
1475
  "aria-label": x(o).spacingControl.increaseTop,
1478
- class: n([Di, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1476
+ class: n([Ei, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1479
1477
  onClick: r[2] ||= (e) => f("top", 1)
1480
1478
  }, [g(x(Q), {
1481
1479
  size: 12,
1482
1480
  "stroke-width": 2
1483
- })], 10, fi)
1481
+ })], 10, di)
1484
1482
  ]),
1485
- p("div", pi, [
1486
- p("div", mi, [
1483
+ p("div", fi, [
1484
+ p("div", pi, [
1487
1485
  p("button", {
1488
1486
  "aria-label": x(o).spacingControl.decreaseLeft,
1489
- class: n([Di, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1487
+ class: n([Ei, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1490
1488
  onClick: r[3] ||= (e) => f("left", -1)
1491
1489
  }, [g(x(ut), {
1492
1490
  size: 12,
1493
1491
  "stroke-width": 2
1494
- })], 10, hi),
1492
+ })], 10, mi),
1495
1493
  p("input", {
1496
1494
  type: "number",
1497
- class: n(Oi),
1495
+ class: n(Di),
1498
1496
  value: e.modelValue.left,
1499
1497
  "aria-label": x(o).spacingControl.left,
1500
1498
  min: "0",
1501
1499
  onInput: r[4] ||= (e) => h("left", Number(e.target.value))
1502
- }, null, 40, gi),
1500
+ }, null, 40, hi),
1503
1501
  p("button", {
1504
1502
  "aria-label": x(o).spacingControl.increaseLeft,
1505
- class: n([Di, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1503
+ class: n([Ei, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1506
1504
  onClick: r[5] ||= (e) => f("left", 1)
1507
1505
  }, [g(x(Q), {
1508
1506
  size: 12,
1509
1507
  "stroke-width": 2
1510
- })], 10, _i)
1508
+ })], 10, gi)
1511
1509
  ]),
1512
1510
  p("button", {
1513
1511
  class: n(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", u.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
1514
1512
  "aria-label": u.value ? x(o).spacingControl.unlock : x(o).spacingControl.lockAll,
1515
1513
  title: u.value ? x(o).spacingControl.unlock : x(o).spacingControl.lockAll,
1516
1514
  onClick: _
1517
- }, [u.value ? (s(), y(x(qt), {
1515
+ }, [u.value ? (s(), y(x(Kt), {
1518
1516
  key: 0,
1519
1517
  size: 14,
1520
1518
  "stroke-width": 2
1521
- })) : (s(), y(x(Kt), {
1519
+ })) : (s(), y(x(Gt), {
1522
1520
  key: 1,
1523
1521
  size: 14,
1524
1522
  "stroke-width": 2
1525
- }))], 10, vi),
1526
- p("div", yi, [
1523
+ }))], 10, _i),
1524
+ p("div", vi, [
1527
1525
  p("button", {
1528
1526
  "aria-label": x(o).spacingControl.decreaseRight,
1529
- class: n([Di, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1527
+ class: n([Ei, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1530
1528
  onClick: r[6] ||= (e) => f("right", -1)
1531
1529
  }, [g(x(ut), {
1532
1530
  size: 12,
1533
1531
  "stroke-width": 2
1534
- })], 10, bi),
1532
+ })], 10, yi),
1535
1533
  p("input", {
1536
1534
  type: "number",
1537
- class: n(Oi),
1535
+ class: n(Di),
1538
1536
  value: e.modelValue.right,
1539
1537
  "aria-label": x(o).spacingControl.right,
1540
1538
  min: "0",
1541
1539
  onInput: r[7] ||= (e) => h("right", Number(e.target.value))
1542
- }, null, 40, xi),
1540
+ }, null, 40, bi),
1543
1541
  p("button", {
1544
1542
  "aria-label": x(o).spacingControl.increaseRight,
1545
- class: n([Di, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1543
+ class: n([Ei, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1546
1544
  onClick: r[8] ||= (e) => f("right", 1)
1547
1545
  }, [g(x(Q), {
1548
1546
  size: 12,
1549
1547
  "stroke-width": 2
1550
- })], 10, Si)
1548
+ })], 10, xi)
1551
1549
  ])
1552
1550
  ]),
1553
- p("div", Ci, [
1551
+ p("div", Si, [
1554
1552
  p("button", {
1555
1553
  "aria-label": x(o).spacingControl.decreaseBottom,
1556
- class: n([Di, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1554
+ class: n([Ei, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1557
1555
  onClick: r[9] ||= (e) => f("bottom", -1)
1558
1556
  }, [g(x(ut), {
1559
1557
  size: 12,
1560
1558
  "stroke-width": 2
1561
- })], 10, wi),
1559
+ })], 10, Ci),
1562
1560
  p("input", {
1563
1561
  type: "number",
1564
- class: n(Oi),
1562
+ class: n(Di),
1565
1563
  value: e.modelValue.bottom,
1566
1564
  "aria-label": x(o).spacingControl.bottom,
1567
1565
  min: "0",
1568
1566
  onInput: r[10] ||= (e) => h("bottom", Number(e.target.value))
1569
- }, null, 40, Ti),
1567
+ }, null, 40, wi),
1570
1568
  p("button", {
1571
1569
  "aria-label": x(o).spacingControl.increaseBottom,
1572
- class: n([Di, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1570
+ class: n([Ei, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1573
1571
  onClick: r[11] ||= (e) => f("bottom", 1)
1574
1572
  }, [g(x(Q), {
1575
1573
  size: 12,
1576
1574
  "stroke-width": 2
1577
- })], 10, Ei)
1575
+ })], 10, Ti)
1578
1576
  ])
1579
1577
  ])]));
1580
1578
  }
1581
- }), [["__scopeId", "data-v-9a9c8a07"]]), Ai = { class: "tpl:mt-3" }, ji = /* @__PURE__ */ f({
1579
+ }), [["__scopeId", "data-v-9a9c8a07"]]), ki = { class: "tpl:mt-3" }, Ai = /* @__PURE__ */ f({
1582
1580
  __name: "CollapsibleSection",
1583
1581
  props: {
1584
1582
  title: {},
@@ -1595,21 +1593,21 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1595
1593
  class: n(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1596
1594
  size: 12,
1597
1595
  "stroke-width": 2
1598
- }, null, 8, ["class"]), p("span", null, c(e.title), 1)]), k(p("div", Ai, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1596
+ }, null, 8, ["class"]), p("span", null, c(e.title), 1)]), k(p("div", ki, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1599
1597
  }
1600
- }), Mi = { class: "tpl:space-y-2" }, Ni = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Pi = { class: "tpl:space-y-2" }, Fi = ["value"], Ii = { value: "" }, Li = ["label"], Ri = ["value"], zi = ["value"], Bi = {
1598
+ }), ji = { class: "tpl:space-y-2" }, Mi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ni = { class: "tpl:space-y-2" }, Pi = ["value"], Fi = { value: "" }, Ii = ["label"], Li = ["value"], Ri = ["value"], zi = {
1601
1599
  key: 0,
1602
1600
  value: "__custom__"
1603
- }, Vi = {
1601
+ }, Bi = {
1604
1602
  key: 0,
1605
1603
  class: "tpl:space-y-2"
1606
- }, Hi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ui = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Wi = { class: "tpl:flex tpl:justify-end" }, Gi = ["disabled"], Ki = {
1604
+ }, Vi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Hi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ui = { class: "tpl:flex tpl:justify-end" }, Wi = ["disabled"], Gi = {
1607
1605
  key: 0,
1608
1606
  class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
1609
- }, qi = { class: "tpl:space-y-1" }, Ji = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Yi = {
1607
+ }, Ki = { class: "tpl:space-y-1" }, qi = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Ji = {
1610
1608
  key: 0,
1611
1609
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1612
- }, Xi = /* @__PURE__ */ f({
1610
+ }, Yi = /* @__PURE__ */ f({
1613
1611
  __name: "CommonBlockSettings",
1614
1612
  props: {
1615
1613
  block: {},
@@ -1619,11 +1617,11 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1619
1617
  setup(t, { emit: r }) {
1620
1618
  let a = t, u = r, { t: f } = U(), h = D($e, []), _ = D(et, !1), v = S(/* @__PURE__ */ new Set()), E = d(!1), O = d(""), j = d(""), M = [{
1621
1619
  key: "desktop",
1622
- icon: Jt,
1620
+ icon: qt,
1623
1621
  labelKey: "showOnDesktop"
1624
1622
  }, {
1625
1623
  key: "mobile",
1626
- icon: $t,
1624
+ icon: Qt,
1627
1625
  labelKey: "showOnMobile"
1628
1626
  }];
1629
1627
  function N(e) {
@@ -1672,13 +1670,13 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1672
1670
  t[e] = !t[e], u("update", { visibility: t });
1673
1671
  }
1674
1672
  return (r, i) => (s(), m("div", { class: n(["tpl:flex tpl:flex-col", t.isFirstSection ? "" : "tpl:mt-4"]) }, [
1675
- g(ji, {
1673
+ g(Ai, {
1676
1674
  title: x(f).blockSettings.spacing,
1677
1675
  open: v.has("spacing"),
1678
1676
  "no-border": t.isFirstSection,
1679
1677
  onToggle: i[1] ||= (e) => N("spacing")
1680
1678
  }, {
1681
- default: l(() => [g(ki, {
1679
+ default: l(() => [g(Oi, {
1682
1680
  label: x(f).blockSettings.padding,
1683
1681
  "model-value": t.block.styles.padding,
1684
1682
  "onUpdate:modelValue": i[0] ||= (e) => z("padding", e)
@@ -1689,7 +1687,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1689
1687
  "open",
1690
1688
  "no-border"
1691
1689
  ]),
1692
- g(ji, {
1690
+ g(Ai, {
1693
1691
  title: x(f).blockSettings.background,
1694
1692
  open: v.has("bg"),
1695
1693
  onToggle: i[3] ||= (e) => N("bg")
@@ -1700,19 +1698,19 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1700
1698
  }, null, 8, ["model-value"])]),
1701
1699
  _: 1
1702
1700
  }, 8, ["title", "open"]),
1703
- g(ji, {
1701
+ g(Ai, {
1704
1702
  title: x(f).blockSettings.display,
1705
1703
  open: v.has("display"),
1706
1704
  onToggle: i[4] ||= (e) => N("display")
1707
1705
  }, {
1708
- default: l(() => [p("div", Mi, [(s(), m(C, null, e(M, (e) => g(X, {
1706
+ default: l(() => [p("div", ji, [(s(), m(C, null, e(M, (e) => g(X, {
1709
1707
  key: e.key,
1710
1708
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1711
1709
  "model-value": B(e.key),
1712
1710
  label: x(f).blockSettings[e.labelKey],
1713
1711
  "onUpdate:modelValue": (t) => V(e.key)
1714
1712
  }, {
1715
- default: l(() => [p("span", Ni, [(s(), y(o(e.icon), {
1713
+ default: l(() => [p("span", Mi, [(s(), y(o(e.icon), {
1716
1714
  size: 14,
1717
1715
  "stroke-width": 1.5
1718
1716
  })), b(" " + c(x(f).blockSettings[e.labelKey]), 1)])]),
@@ -1724,13 +1722,13 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1724
1722
  ])), 64))])]),
1725
1723
  _: 1
1726
1724
  }, 8, ["title", "open"]),
1727
- P.value ? (s(), y(ji, {
1725
+ P.value ? (s(), y(Ai, {
1728
1726
  key: 0,
1729
1727
  title: x(f).blockSettings.displayCondition,
1730
1728
  open: v.has("condition"),
1731
1729
  onToggle: i[8] ||= (e) => N("condition")
1732
1730
  }, {
1733
- default: l(() => [p("div", Pi, [p("select", {
1731
+ default: l(() => [p("div", Ni, [p("select", {
1734
1732
  class: n(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", t.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1735
1733
  value: E.value || F.value ? "__custom__" : t.block.displayCondition?.label ?? "",
1736
1734
  onChange: i[5] ||= (e) => {
@@ -1747,41 +1745,41 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1747
1745
  n && u("update", { displayCondition: n });
1748
1746
  }
1749
1747
  }, [
1750
- p("option", Ii, c(x(f).blockSettings.noCondition), 1),
1748
+ p("option", Fi, c(x(f).blockSettings.noCondition), 1),
1751
1749
  (s(!0), m(C, null, e(R.value, (t, n) => (s(), m(C, { key: n }, [n ? (s(), m("optgroup", {
1752
1750
  key: 0,
1753
1751
  label: String(n)
1754
1752
  }, [(s(!0), m(C, null, e(t, (e) => (s(), m("option", {
1755
1753
  key: e.label,
1756
1754
  value: e.label
1757
- }, c(e.label), 9, Ri))), 128))], 8, Li)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1755
+ }, c(e.label), 9, Li))), 128))], 8, Ii)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1758
1756
  key: e.label,
1759
1757
  value: e.label
1760
- }, c(e.label), 9, zi))), 128))], 64))), 128)),
1761
- x(_) ? (s(), m("option", Bi, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1762
- ], 42, Fi), E.value || F.value ? (s(), m("div", Vi, [
1763
- p("div", null, [p("label", Hi, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1758
+ }, c(e.label), 9, Ri))), 128))], 64))), 128)),
1759
+ x(_) ? (s(), m("option", zi, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1760
+ ], 42, Pi), E.value || F.value ? (s(), m("div", Bi, [
1761
+ p("div", null, [p("label", Vi, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1764
1762
  "onUpdate:modelValue": i[6] ||= (e) => O.value = e,
1765
1763
  rows: "2",
1766
- class: n(x(Nt))
1764
+ class: n(x(Mt))
1767
1765
  }, null, 2), [[A, O.value]])]),
1768
- p("div", null, [p("label", Ui, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1766
+ p("div", null, [p("label", Hi, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1769
1767
  "onUpdate:modelValue": i[7] ||= (e) => j.value = e,
1770
1768
  rows: "2",
1771
- class: n(x(Nt))
1769
+ class: n(x(Mt))
1772
1770
  }, null, 2), [[A, j.value]])]),
1773
- p("div", Wi, [p("button", {
1771
+ p("div", Ui, [p("button", {
1774
1772
  type: "button",
1775
1773
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:opacity-50",
1776
1774
  disabled: !O.value.trim(),
1777
1775
  onClick: L
1778
- }, c(x(f).blockSettings.applyCondition), 9, Gi)])
1779
- ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", Ki, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", qi, [p("pre", Ji, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", Yi, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1776
+ }, c(x(f).blockSettings.applyCondition), 9, Wi)])
1777
+ ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", Gi, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", Ki, [p("pre", qi, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", Ji, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1780
1778
  _: 1
1781
1779
  }, 8, ["title", "open"])) : T("", !0)
1782
1780
  ], 2));
1783
1781
  }
1784
- }), Zi = ["title"], Qi = /* @__PURE__ */ f({
1782
+ }), Xi = ["title"], Zi = /* @__PURE__ */ f({
1785
1783
  __name: "BooleanField",
1786
1784
  props: {
1787
1785
  field: {},
@@ -1802,7 +1800,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1802
1800
  disabled: e.readOnly,
1803
1801
  "onUpdate:modelValue": i[0] ||= (e) => n("update:modelValue", e)
1804
1802
  }, {
1805
- default: l(() => [b(c(e.field.label) + " ", 1), e.readOnly ? (s(), y(x(qt), {
1803
+ default: l(() => [b(c(e.field.label) + " ", 1), e.readOnly ? (s(), y(x(Kt), {
1806
1804
  key: 0,
1807
1805
  size: 12,
1808
1806
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1813,12 +1811,12 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1813
1811
  "label",
1814
1812
  "required",
1815
1813
  "disabled"
1816
- ])], 8, Zi));
1814
+ ])], 8, Xi));
1817
1815
  }
1818
- }), $i = { class: "tpl:mb-3.5" }, ea = {
1816
+ }), Qi = { class: "tpl:mb-3.5" }, $i = {
1819
1817
  key: 1,
1820
1818
  class: "tpl:text-[var(--tpl-danger)]"
1821
- }, ta = /* @__PURE__ */ f({
1819
+ }, ea = /* @__PURE__ */ f({
1822
1820
  __name: "FieldWrapper",
1823
1821
  props: {
1824
1822
  label: {},
@@ -1826,17 +1824,17 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1826
1824
  readOnly: { type: Boolean }
1827
1825
  },
1828
1826
  setup(e) {
1829
- return (t, r) => (s(), m("div", $i, [p("label", { class: n(x(K)) }, [
1827
+ return (t, r) => (s(), m("div", Qi, [p("label", { class: n(x(K)) }, [
1830
1828
  b(c(e.label) + " ", 1),
1831
- e.readOnly ? (s(), y(x(qt), {
1829
+ e.readOnly ? (s(), y(x(Kt), {
1832
1830
  key: 0,
1833
1831
  size: 12,
1834
1832
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1835
1833
  })) : T("", !0),
1836
- e.required ? (s(), m("span", ea, "*")) : T("", !0)
1834
+ e.required ? (s(), m("span", $i, "*")) : T("", !0)
1837
1835
  ], 2), _(t.$slots, "default")]));
1838
1836
  }
1839
- }), na = /* @__PURE__ */ f({
1837
+ }), ta = /* @__PURE__ */ f({
1840
1838
  __name: "ColorField",
1841
1839
  props: {
1842
1840
  field: {},
@@ -1846,7 +1844,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1846
1844
  emits: ["update:modelValue"],
1847
1845
  setup(e, { emit: t }) {
1848
1846
  let n = e, r = t, { t: i } = U(), a = D(Qe, Ie), o = w(() => ie(n.field, a));
1849
- return (t, n) => (s(), y(ta, {
1847
+ return (t, n) => (s(), y(ea, {
1850
1848
  label: e.field.label,
1851
1849
  required: e.field.required,
1852
1850
  "read-only": e.readOnly
@@ -1874,15 +1872,15 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1874
1872
  "read-only"
1875
1873
  ]));
1876
1874
  }
1877
- }), ra = {
1875
+ }), na = {
1878
1876
  key: 0,
1879
1877
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1880
1878
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1881
- }, ia = [
1879
+ }, ra = [
1882
1880
  "value",
1883
1881
  "placeholder",
1884
1882
  "title"
1885
- ], aa = ["value", "placeholder"], oa = /* @__PURE__ */ f({
1883
+ ], ia = ["value", "placeholder"], aa = /* @__PURE__ */ f({
1886
1884
  __name: "ImageField",
1887
1885
  props: {
1888
1886
  field: {},
@@ -1917,7 +1915,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1917
1915
  enabled: S,
1918
1916
  onFiles: E
1919
1917
  });
1920
- return (t, r) => (s(), y(ta, {
1918
+ return (t, r) => (s(), y(ea, {
1921
1919
  label: e.field.label,
1922
1920
  required: e.field.required,
1923
1921
  "read-only": e.readOnly
@@ -1927,7 +1925,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1927
1925
  ref: _,
1928
1926
  class: "tpl:relative"
1929
1927
  }, [
1930
- S.value && (x(O) || v.value) ? (s(), m("div", ra, [v.value ? (s(), m(C, { key: 0 }, [g(x(yt), {
1928
+ S.value && (x(O) || v.value) ? (s(), m("div", na, [v.value ? (s(), m(C, { key: 0 }, [g(x(yt), {
1931
1929
  class: "tpl-spinner",
1932
1930
  size: 18,
1933
1931
  "stroke-width": 2
@@ -1943,14 +1941,14 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1943
1941
  placeholder: e.field.placeholder || "https://...",
1944
1942
  disabled: "",
1945
1943
  title: x(a).customBlocks.dataSource.readOnlyTooltip
1946
- }, null, 10, ia)) : (s(), m("input", {
1944
+ }, null, 10, ra)) : (s(), m("input", {
1947
1945
  key: 2,
1948
1946
  type: "url",
1949
1947
  class: n(x(G)),
1950
1948
  value: e.modelValue,
1951
1949
  placeholder: e.field.placeholder || "https://...",
1952
1950
  onInput: r[0] ||= (e) => i("update:modelValue", e.target.value)
1953
- }, null, 42, aa)),
1951
+ }, null, 42, ia)),
1954
1952
  f.value && !e.readOnly ? (s(), m("button", {
1955
1953
  key: 3,
1956
1954
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
@@ -1967,7 +1965,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1967
1965
  "read-only"
1968
1966
  ]));
1969
1967
  }
1970
- }), sa = [
1968
+ }), oa = [
1971
1969
  "value",
1972
1970
  "placeholder",
1973
1971
  "min",
@@ -1975,7 +1973,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1975
1973
  "step",
1976
1974
  "disabled",
1977
1975
  "title"
1978
- ], ca = /* @__PURE__ */ f({
1976
+ ], sa = /* @__PURE__ */ f({
1979
1977
  __name: "NumberField",
1980
1978
  props: {
1981
1979
  field: {},
@@ -1985,7 +1983,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
1985
1983
  emits: ["update:modelValue"],
1986
1984
  setup(e, { emit: t }) {
1987
1985
  let r = t, { t: i } = U();
1988
- return (t, a) => (s(), y(ta, {
1986
+ return (t, a) => (s(), y(ea, {
1989
1987
  label: e.field.label,
1990
1988
  required: e.field.required,
1991
1989
  "read-only": e.readOnly
@@ -2001,7 +1999,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2001
1999
  disabled: e.readOnly,
2002
2000
  title: e.readOnly ? x(i).customBlocks.dataSource.readOnlyTooltip : void 0,
2003
2001
  onInput: a[0] ||= (t) => !e.readOnly && r("update:modelValue", Number(t.target.value))
2004
- }, null, 42, sa)]),
2002
+ }, null, 42, oa)]),
2005
2003
  _: 1
2006
2004
  }, 8, [
2007
2005
  "label",
@@ -2009,10 +2007,10 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2009
2007
  "read-only"
2010
2008
  ]));
2011
2009
  }
2012
- }), la = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ua = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, da = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, fa = ["title", "onClick"], pa = {
2010
+ }), ca = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, la = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, ua = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, da = ["title", "onClick"], fa = {
2013
2011
  key: 1,
2014
2012
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2015
- }, ma = /* @__PURE__ */ f({
2013
+ }, pa = /* @__PURE__ */ f({
2016
2014
  __name: "RepeatableField",
2017
2015
  props: {
2018
2016
  field: {},
@@ -2040,16 +2038,16 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2040
2038
  } : r);
2041
2039
  a("update:modelValue", r);
2042
2040
  }
2043
- return (r, i) => (s(), y(ta, {
2041
+ return (r, i) => (s(), y(ea, {
2044
2042
  label: t.field.label,
2045
2043
  required: t.field.required,
2046
2044
  "read-only": t.readOnly
2047
2045
  }, {
2048
- default: l(() => [p("div", la, [
2046
+ default: l(() => [p("div", ca, [
2049
2047
  (s(!0), m(C, null, e(d.value, (n, r) => (s(), m("div", {
2050
2048
  key: `${t.field.key}-${r}`,
2051
2049
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
2052
- }, [p("div", ua, [p("span", da, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2050
+ }, [p("div", la, [p("span", ua, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2053
2051
  key: 0,
2054
2052
  type: "button",
2055
2053
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
@@ -2058,7 +2056,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2058
2056
  }, [g(x(wt), {
2059
2057
  size: 12,
2060
2058
  "stroke-width": 2
2061
- })], 8, fa)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(Ca)(e.type)), {
2059
+ })], 8, da)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(Sa)(e.type)), {
2062
2060
  key: e.key,
2063
2061
  field: e,
2064
2062
  "model-value": n[e.key],
@@ -2073,13 +2071,13 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2073
2071
  f.value && !t.readOnly ? (s(), m("button", {
2074
2072
  key: 0,
2075
2073
  type: "button",
2076
- class: n(x(Ft)),
2074
+ class: n(x(Pt)),
2077
2075
  onClick: _
2078
2076
  }, [g(x(Q), {
2079
2077
  size: 14,
2080
2078
  "stroke-width": 2
2081
2079
  }), b(" " + c(x(u).customBlocks.fields.addItem), 1)], 2)) : T("", !0),
2082
- !f.value && !t.readOnly ? (s(), m("p", pa, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2080
+ !f.value && !t.readOnly ? (s(), m("p", fa, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2083
2081
  ])]),
2084
2082
  _: 1
2085
2083
  }, 8, [
@@ -2088,11 +2086,11 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2088
2086
  "read-only"
2089
2087
  ]));
2090
2088
  }
2091
- }), ha = [
2089
+ }), ma = [
2092
2090
  "value",
2093
2091
  "disabled",
2094
2092
  "title"
2095
- ], ga = ["value"], _a = /* @__PURE__ */ f({
2093
+ ], ha = ["value"], ga = /* @__PURE__ */ f({
2096
2094
  __name: "SelectField",
2097
2095
  props: {
2098
2096
  field: {},
@@ -2102,7 +2100,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2102
2100
  emits: ["update:modelValue"],
2103
2101
  setup(t, { emit: r }) {
2104
2102
  let i = r, { t: a } = U();
2105
- return (r, o) => (s(), y(ta, {
2103
+ return (r, o) => (s(), y(ea, {
2106
2104
  label: t.field.label,
2107
2105
  required: t.field.required,
2108
2106
  "read-only": t.readOnly
@@ -2116,7 +2114,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2116
2114
  }, [(s(!0), m(C, null, e(t.field.options, (e) => (s(), m("option", {
2117
2115
  key: e.value,
2118
2116
  value: e.value
2119
- }, c(e.label), 9, ga))), 128))], 42, ha)]),
2117
+ }, c(e.label), 9, ha))), 128))], 42, ma)]),
2120
2118
  _: 1
2121
2119
  }, 8, [
2122
2120
  "label",
@@ -2124,11 +2122,11 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2124
2122
  "read-only"
2125
2123
  ]));
2126
2124
  }
2127
- }), va = [
2125
+ }), _a = [
2128
2126
  "value",
2129
2127
  "placeholder",
2130
2128
  "title"
2131
- ], ya = /* @__PURE__ */ f({
2129
+ ], va = /* @__PURE__ */ f({
2132
2130
  __name: "TextField",
2133
2131
  props: {
2134
2132
  field: {},
@@ -2138,7 +2136,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2138
2136
  emits: ["update:modelValue"],
2139
2137
  setup(e, { emit: t }) {
2140
2138
  let r = t, { t: i } = U();
2141
- return (t, a) => (s(), y(ta, {
2139
+ return (t, a) => (s(), y(ea, {
2142
2140
  label: e.field.label,
2143
2141
  required: e.field.required,
2144
2142
  "read-only": e.readOnly
@@ -2151,7 +2149,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2151
2149
  placeholder: e.field.placeholder,
2152
2150
  disabled: "",
2153
2151
  title: x(i).customBlocks.dataSource.readOnlyTooltip
2154
- }, null, 10, va)) : (s(), y($, {
2152
+ }, null, 10, _a)) : (s(), y($, {
2155
2153
  key: 1,
2156
2154
  "model-value": e.modelValue,
2157
2155
  placeholder: e.field.placeholder,
@@ -2164,12 +2162,12 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2164
2162
  "read-only"
2165
2163
  ]));
2166
2164
  }
2167
- }), ba = [
2165
+ }), ya = [
2168
2166
  "value",
2169
2167
  "placeholder",
2170
2168
  "title"
2171
- ], xa = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Sa = {
2172
- text: ya,
2169
+ ], ba = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", xa = {
2170
+ text: va,
2173
2171
  textarea: /* @__PURE__ */ f({
2174
2172
  __name: "TextareaField",
2175
2173
  props: {
@@ -2180,7 +2178,7 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2180
2178
  emits: ["update:modelValue"],
2181
2179
  setup(e, { emit: t }) {
2182
2180
  let r = t, { t: i } = U();
2183
- return (t, a) => (s(), y(ta, {
2181
+ return (t, a) => (s(), y(ea, {
2184
2182
  label: e.field.label,
2185
2183
  required: e.field.required,
2186
2184
  "read-only": e.readOnly
@@ -2192,8 +2190,8 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2192
2190
  rows: "3",
2193
2191
  disabled: "",
2194
2192
  title: x(i).customBlocks.dataSource.readOnlyTooltip,
2195
- class: n(xa)
2196
- }, null, 8, ba)) : (s(), y($n, {
2193
+ class: n(ba)
2194
+ }, null, 8, ya)) : (s(), y(Qn, {
2197
2195
  key: 1,
2198
2196
  "model-value": e.modelValue,
2199
2197
  placeholder: e.field.placeholder,
@@ -2207,37 +2205,37 @@ var Pn = ["aria-label", "onKeydown"], Fn = ["data-tooltip"], In = ["data-tooltip
2207
2205
  ]));
2208
2206
  }
2209
2207
  }),
2210
- image: oa,
2211
- color: na,
2212
- number: ca,
2213
- select: _a,
2214
- boolean: Qi,
2215
- repeatable: ma
2208
+ image: aa,
2209
+ color: ta,
2210
+ number: sa,
2211
+ select: ga,
2212
+ boolean: Zi,
2213
+ repeatable: pa
2216
2214
  };
2217
- function Ca(e) {
2218
- return Sa[e] ?? ya;
2215
+ function Sa(e) {
2216
+ return xa[e] ?? va;
2219
2217
  }
2220
2218
  //#endregion
2221
2219
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2222
- var wa = {
2220
+ var Ca = {
2223
2221
  key: 0,
2224
2222
  class: "tpl:p-4"
2225
- }, Ta = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ea = { key: 1 }, Da = {
2223
+ }, wa = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ta = { key: 1 }, Ea = {
2226
2224
  key: 0,
2227
2225
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2228
- }, Oa = {
2226
+ }, Da = {
2229
2227
  key: 1,
2230
2228
  class: "tpl:mb-4"
2231
- }, ka = {
2229
+ }, Oa = {
2232
2230
  key: 1,
2233
2231
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2234
- }, Aa = {
2232
+ }, ka = {
2235
2233
  key: 0,
2236
2234
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2237
- }, ja = {
2235
+ }, Aa = {
2238
2236
  key: 2,
2239
2237
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2240
- }, Ma = /* @__PURE__ */ f({
2238
+ }, ja = /* @__PURE__ */ f({
2241
2239
  __name: "CustomBlockToolbar",
2242
2240
  props: { block: {} },
2243
2241
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -2258,23 +2256,23 @@ var wa = {
2258
2256
  [e]: t
2259
2257
  });
2260
2258
  }
2261
- return (n, r) => u.value ? (s(), m("div", Ea, [
2262
- u.value.description ? (s(), m("p", Da, c(u.value.description), 1)) : T("", !0),
2263
- x(_) ? (s(), m("div", Oa, [x(v) && !x(d) ? (s(), m("button", {
2259
+ return (n, r) => u.value ? (s(), m("div", Ta, [
2260
+ u.value.description ? (s(), m("p", Ea, c(u.value.description), 1)) : T("", !0),
2261
+ x(_) ? (s(), m("div", Da, [x(v) && !x(d) ? (s(), m("button", {
2264
2262
  key: 0,
2265
2263
  type: "button",
2266
2264
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:bg-[var(--tpl-primary)]",
2267
2265
  onClick: r[0] ||= (...e) => x(h) && x(h)(...e)
2268
- }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", ka, [x(d) ? (s(), m("div", Aa, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2266
+ }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", Oa, [x(d) ? (s(), m("div", ka, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2269
2267
  key: 1,
2270
2268
  type: "button",
2271
2269
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
2272
2270
  onClick: r[1] ||= (...e) => x(h) && x(h)(...e)
2273
- }, [g(x(ht), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(f) ? (s(), m("p", ja, [g(x(lt), {
2271
+ }, [g(x(ht), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(f) ? (s(), m("p", Aa, [g(x(lt), {
2274
2272
  size: 14,
2275
2273
  class: "tpl:shrink-0"
2276
2274
  }), b(" " + c(x(a).customBlocks.dataSource.fetchError), 1)])) : T("", !0)])) : T("", !0),
2277
- (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(Ca)(e.type)), {
2275
+ (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(Sa)(e.type)), {
2278
2276
  key: e.key,
2279
2277
  field: e,
2280
2278
  "model-value": t.block.fieldValues[e.key],
@@ -2286,9 +2284,9 @@ var wa = {
2286
2284
  "read-only",
2287
2285
  "onUpdate:modelValue"
2288
2286
  ]))), 128))
2289
- ])) : (s(), m("div", wa, [p("p", Ta, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2287
+ ])) : (s(), m("div", Ca, [p("p", wa, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2290
2288
  }
2291
- }), Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:mb-3.5" }, Fa = { class: "tpl:mb-3.5" }, Ia = { class: "tpl:flex tpl:items-stretch" }, La = ["value"], Ra = /* @__PURE__ */ f({
2289
+ }), Ma = { class: "tpl:mb-3.5" }, Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:mb-3.5" }, Fa = { class: "tpl:flex tpl:items-stretch" }, Ia = ["value"], La = /* @__PURE__ */ f({
2292
2290
  __name: "DividerToolbar",
2293
2291
  props: { block: {} },
2294
2292
  emits: ["update"],
@@ -2298,7 +2296,7 @@ var wa = {
2298
2296
  r("update", { [e]: t });
2299
2297
  }
2300
2298
  return (t, r) => (s(), m(C, null, [
2301
- p("div", Na, [p("label", { class: n(x(K)) }, c(x(i).divider.style), 3), g(Bt, {
2299
+ p("div", Ma, [p("label", { class: n(x(K)) }, c(x(i).divider.style), 3), g(zt, {
2302
2300
  options: [
2303
2301
  {
2304
2302
  value: "solid",
@@ -2316,52 +2314,52 @@ var wa = {
2316
2314
  "model-value": e.block.lineStyle,
2317
2315
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
2318
2316
  }, null, 8, ["options", "model-value"])]),
2319
- p("div", Pa, [p("label", { class: n(x(K)) }, c(x(i).divider.color), 3), g(Y, {
2317
+ p("div", Na, [p("label", { class: n(x(K)) }, c(x(i).divider.color), 3), g(Y, {
2320
2318
  "model-value": e.block.color,
2321
2319
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
2322
2320
  }, null, 8, ["model-value"])]),
2323
- p("div", Fa, [p("label", { class: n(x(K)) }, c(x(i).divider.thickness), 3), p("div", Ia, [p("input", {
2321
+ p("div", Pa, [p("label", { class: n(x(K)) }, c(x(i).divider.thickness), 3), p("div", Fa, [p("input", {
2324
2322
  type: "number",
2325
2323
  class: n(x(J)),
2326
2324
  value: e.block.thickness,
2327
2325
  min: "1",
2328
2326
  max: "10",
2329
2327
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
2330
- }, null, 42, La), p("span", { class: n(x(q)) }, "px", 2)])])
2328
+ }, null, 42, Ia), p("span", { class: n(x(q)) }, "px", 2)])])
2331
2329
  ], 64));
2332
2330
  }
2333
- }), za = { class: "tpl:mb-3.5" }, Ba = ["value"], Va = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Ha = /* @__PURE__ */ f({
2331
+ }), Ra = { class: "tpl:mb-3.5" }, za = ["value"], Ba = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Va = /* @__PURE__ */ f({
2334
2332
  __name: "HtmlToolbar",
2335
2333
  props: { block: {} },
2336
2334
  emits: ["update"],
2337
2335
  setup(e, { emit: t }) {
2338
2336
  let r = t, { t: i } = U();
2339
- return (t, a) => (s(), m("div", za, [
2337
+ return (t, a) => (s(), m("div", Ra, [
2340
2338
  p("label", { class: n(x(K)) }, c(x(i).html.content), 3),
2341
2339
  p("textarea", {
2342
2340
  value: e.block.content,
2343
2341
  placeholder: "<div>...</div>",
2344
2342
  rows: "10",
2345
- class: n(x(Nt)),
2343
+ class: n(x(Mt)),
2346
2344
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
2347
- }, null, 42, Ba),
2348
- p("p", Va, [g(x(_t), {
2345
+ }, null, 42, za),
2346
+ p("p", Ba, [g(x(_t), {
2349
2347
  size: 12,
2350
2348
  class: "tpl:mt-0.5 tpl:shrink-0"
2351
2349
  }), b(" " + c(x(i).html.sanitizationHint), 1)])
2352
2350
  ]));
2353
2351
  }
2354
- }), Ua = { class: "tpl:mb-3.5" }, Wa = {
2352
+ }), Ha = { class: "tpl:mb-3.5" }, Ua = {
2355
2353
  key: 0,
2356
2354
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
2357
2355
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
2358
- }, Ga = {
2356
+ }, Wa = {
2359
2357
  key: 0,
2360
2358
  class: "tpl:mb-3.5"
2361
- }, Ka = ["value", "placeholder"], qa = { class: "tpl:mb-3.5" }, Ja = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Ya = { class: "tpl:mb-3.5" }, Xa = ["value"], Za = { value: "full" }, Qa = { value: "custom" }, $a = {
2359
+ }, Ga = ["value", "placeholder"], Ka = { class: "tpl:mb-3.5" }, qa = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Ja = { class: "tpl:mb-3.5" }, Ya = ["value"], Xa = { value: "full" }, Za = { value: "custom" }, Qa = {
2362
2360
  key: 0,
2363
2361
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2364
- }, eo = ["value"], to = { class: "tpl:mb-3.5" }, no = { class: "tpl:mb-3.5" }, ro = 350, io = /* @__PURE__ */ f({
2362
+ }, $a = ["value"], eo = { class: "tpl:mb-3.5" }, to = { class: "tpl:mb-3.5" }, no = 350, ro = /* @__PURE__ */ f({
2365
2363
  __name: "ImageToolbar",
2366
2364
  props: { block: {} },
2367
2365
  emits: ["update"],
@@ -2382,7 +2380,7 @@ var wa = {
2382
2380
  function A(e) {
2383
2381
  if (e === "custom") {
2384
2382
  let e = r.block.width;
2385
- (typeof e != "number" || E.includes(e)) && k("width", ro);
2383
+ (typeof e != "number" || E.includes(e)) && k("width", no);
2386
2384
  return;
2387
2385
  }
2388
2386
  k("width", e === "full" ? "full" : Number(e));
@@ -2417,12 +2415,12 @@ var wa = {
2417
2415
  onFiles: R
2418
2416
  });
2419
2417
  return (t, r) => (s(), m(C, null, [
2420
- p("div", Ua, [p("label", { class: n(x(K)) }, c(x(a).image.imageUrl), 3), p("div", {
2418
+ p("div", Ha, [p("label", { class: n(x(K)) }, c(x(a).image.imageUrl), 3), p("div", {
2421
2419
  ref_key: "dropZoneRef",
2422
2420
  ref: N,
2423
2421
  class: "tpl:relative"
2424
2422
  }, [
2425
- L.value && (x(z) || P.value) ? (s(), m("div", Wa, [P.value ? (s(), m(C, { key: 0 }, [g(x(yt), {
2423
+ L.value && (x(z) || P.value) ? (s(), m("div", Ua, [P.value ? (s(), m(C, { key: 0 }, [g(x(yt), {
2426
2424
  class: "tpl-spinner",
2427
2425
  size: 18,
2428
2426
  "stroke-width": 2
@@ -2455,14 +2453,14 @@ var wa = {
2455
2453
  "stroke-width": 1.5
2456
2454
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
2457
2455
  ], 512)]),
2458
- x(V)(e.block.src, x(u)) ? (s(), m("div", Ga, [p("label", { class: n(x(K)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2456
+ x(V)(e.block.src, x(u)) ? (s(), m("div", Wa, [p("label", { class: n(x(K)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2459
2457
  type: "url",
2460
2458
  class: n(x(G)),
2461
2459
  value: e.block.placeholderUrl || "",
2462
2460
  placeholder: x(a).image.placeholderUrlPlaceholder,
2463
2461
  onInput: r[1] ||= (e) => k("placeholderUrl", e.target.value)
2464
- }, null, 42, Ka)])) : T("", !0),
2465
- p("div", qa, [
2462
+ }, null, 42, Ga)])) : T("", !0),
2463
+ p("div", Ka, [
2466
2464
  p("label", { class: n(x(K)) }, c(x(a).image.altText), 3),
2467
2465
  g($, {
2468
2466
  "model-value": e.block.alt,
@@ -2483,32 +2481,32 @@ var wa = {
2483
2481
  label: x(a).image.decorative,
2484
2482
  "onUpdate:modelValue": r[3] ||= (e) => k("decorative", e)
2485
2483
  }, {
2486
- default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", Ja, c(x(a).image.decorativeHint), 1)])]),
2484
+ default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", qa, c(x(a).image.decorativeHint), 1)])]),
2487
2485
  _: 1
2488
2486
  }, 8, ["model-value", "label"])
2489
2487
  ]),
2490
- p("div", Ya, [
2488
+ p("div", Ja, [
2491
2489
  p("label", { class: n(x(K)) }, c(x(a).image.width), 3),
2492
2490
  p("select", {
2493
2491
  class: n(x(G)),
2494
2492
  value: O.value,
2495
2493
  onChange: r[4] ||= (e) => A(e.target.value)
2496
2494
  }, [
2497
- p("option", Za, c(x(a).image.fullWidth), 1),
2495
+ p("option", Xa, c(x(a).image.fullWidth), 1),
2498
2496
  r[10] ||= p("option", { value: "300" }, "300px", -1),
2499
2497
  r[11] ||= p("option", { value: "400" }, "400px", -1),
2500
2498
  r[12] ||= p("option", { value: "500" }, "500px", -1),
2501
- p("option", Qa, c(x(a).image.widthCustom), 1)
2502
- ], 42, Xa),
2503
- O.value === "custom" ? (s(), m("div", $a, [p("input", {
2499
+ p("option", Za, c(x(a).image.widthCustom), 1)
2500
+ ], 42, Ya),
2501
+ O.value === "custom" ? (s(), m("div", Qa, [p("input", {
2504
2502
  type: "number",
2505
2503
  class: n(x(J)),
2506
- value: typeof e.block.width == "number" ? e.block.width : ro,
2504
+ value: typeof e.block.width == "number" ? e.block.width : no,
2507
2505
  min: "20",
2508
2506
  onInput: r[5] ||= (e) => j(e.target.value)
2509
- }, null, 42, eo), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
2507
+ }, null, 42, $a), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
2510
2508
  ]),
2511
- p("div", to, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Bt, {
2509
+ p("div", eo, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(zt, {
2512
2510
  options: [
2513
2511
  {
2514
2512
  value: "left",
@@ -2526,7 +2524,7 @@ var wa = {
2526
2524
  "model-value": e.block.align,
2527
2525
  "onUpdate:modelValue": r[6] ||= (e) => k("align", e)
2528
2526
  }, null, 8, ["options", "model-value"])]),
2529
- p("div", no, [
2527
+ p("div", to, [
2530
2528
  p("label", { class: n(x(K)) }, c(x(a).image.linkUrl), 3),
2531
2529
  g($, {
2532
2530
  "model-value": e.block.linkUrl || "",
@@ -2544,11 +2542,11 @@ var wa = {
2544
2542
  ])
2545
2543
  ], 64));
2546
2544
  }
2547
- }), ao = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, oo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, so = [
2545
+ }), io = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ao = { class: "tpl:flex tpl:items-center tpl:gap-2" }, oo = [
2548
2546
  "value",
2549
2547
  "placeholder",
2550
2548
  "onInput"
2551
- ], co = ["title", "onClick"], lo = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, uo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, fo = ["value"], po = { value: "" }, mo = ["value"], ho = ["value"], go = /* @__PURE__ */ f({
2549
+ ], so = ["title", "onClick"], co = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, lo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, uo = ["value"], fo = { value: "" }, po = ["value"], mo = ["value"], ho = /* @__PURE__ */ f({
2552
2550
  __name: "MenuToolbar",
2553
2551
  props: {
2554
2552
  block: {},
@@ -2612,24 +2610,24 @@ var wa = {
2612
2610
  }
2613
2611
  return (r, i) => (s(), m(C, null, [
2614
2612
  g(Z, { label: x(o).menu.items }, {
2615
- default: l(() => [p("div", ao, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2613
+ default: l(() => [p("div", io, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2616
2614
  key: r.id,
2617
2615
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2618
2616
  }, [
2619
- p("div", oo, [p("input", {
2617
+ p("div", ao, [p("input", {
2620
2618
  type: "text",
2621
2619
  class: n([x(G), "tpl:flex-1"]),
2622
2620
  value: r.text,
2623
2621
  placeholder: x(o).menu.text,
2624
2622
  onInput: (e) => _(r.id, "text", e.target.value)
2625
- }, null, 42, so), p("button", {
2626
- class: n(x(Mt)),
2623
+ }, null, 42, oo), p("button", {
2624
+ class: n(x(jt)),
2627
2625
  title: x(o).menu.removeItem,
2628
2626
  onClick: (e) => v(r.id)
2629
2627
  }, [g(x(Tt), {
2630
2628
  size: 14,
2631
2629
  "stroke-width": 2
2632
- })], 10, co)]),
2630
+ })], 10, so)]),
2633
2631
  g($, {
2634
2632
  "model-value": r.url,
2635
2633
  type: "url",
@@ -2640,7 +2638,7 @@ var wa = {
2640
2638
  "placeholder",
2641
2639
  "onUpdate:modelValue"
2642
2640
  ]),
2643
- p("div", lo, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(X, {
2641
+ p("div", co, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(X, {
2644
2642
  key: e.key,
2645
2643
  "model-value": r[e.key],
2646
2644
  label: e.label,
@@ -2650,13 +2648,13 @@ var wa = {
2650
2648
  "label",
2651
2649
  "onUpdate:modelValue"
2652
2650
  ]))), 128))]),
2653
- p("div", uo, [p("label", { class: n([x(K), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(Y, {
2651
+ p("div", lo, [p("label", { class: n([x(K), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(Y, {
2654
2652
  "swatch-only": "",
2655
2653
  "model-value": r.color || t.block.linkColor || t.block.color || "",
2656
2654
  "onUpdate:modelValue": (e) => _(r.id, "color", e)
2657
2655
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
2658
2656
  ]))), 128)), p("button", {
2659
- class: n(x(Ft)),
2657
+ class: n(x(Pt)),
2660
2658
  onClick: h
2661
2659
  }, [g(x(Q), {
2662
2660
  size: 14,
@@ -2669,14 +2667,14 @@ var wa = {
2669
2667
  class: n(x(G)),
2670
2668
  value: t.block.fontFamily || "",
2671
2669
  onChange: i[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2672
- }, [p("option", po, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2670
+ }, [p("option", fo, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2673
2671
  key: e.value,
2674
2672
  value: e.value
2675
- }, c(e.label), 9, mo))), 128))], 42, fo)]),
2673
+ }, c(e.label), 9, po))), 128))], 42, uo)]),
2676
2674
  _: 1
2677
2675
  }, 8, ["label"]),
2678
2676
  g(Z, { label: x(o).menu.fontSize }, {
2679
- default: l(() => [g(Vt, {
2677
+ default: l(() => [g(Bt, {
2680
2678
  "model-value": t.block.fontSize,
2681
2679
  min: 8,
2682
2680
  max: 48,
@@ -2700,7 +2698,7 @@ var wa = {
2700
2698
  _: 1
2701
2699
  }, 8, ["label"]),
2702
2700
  g(Z, { label: x(o).menu.textAlign }, {
2703
- default: l(() => [g(Bt, {
2701
+ default: l(() => [g(zt, {
2704
2702
  options: d.value,
2705
2703
  "model-value": t.block.textAlign,
2706
2704
  "onUpdate:modelValue": i[4] ||= (e) => f("textAlign", e)
@@ -2713,7 +2711,7 @@ var wa = {
2713
2711
  class: n(x(G)),
2714
2712
  value: t.block.separator,
2715
2713
  onInput: i[5] ||= (e) => f("separator", e.target.value)
2716
- }, null, 42, ho)]),
2714
+ }, null, 42, mo)]),
2717
2715
  _: 1
2718
2716
  }, 8, ["label"]),
2719
2717
  g(Z, { label: x(o).menu.separatorColor }, {
@@ -2724,7 +2722,7 @@ var wa = {
2724
2722
  _: 1
2725
2723
  }, 8, ["label"]),
2726
2724
  g(Z, { label: x(o).menu.spacing }, {
2727
- default: l(() => [g(Vt, {
2725
+ default: l(() => [g(Bt, {
2728
2726
  "model-value": t.block.spacing,
2729
2727
  min: 0,
2730
2728
  max: 50,
@@ -2738,11 +2736,11 @@ var wa = {
2738
2736
  });
2739
2737
  //#endregion
2740
2738
  //#region src/utils/rebalanceColumnChildren.ts
2741
- function _o(e) {
2739
+ function go(e) {
2742
2740
  return e === "1" ? 1 : e === "3" ? 3 : 2;
2743
2741
  }
2744
- function vo(e, t) {
2745
- let n = _o(t);
2742
+ function _o(e, t) {
2743
+ let n = go(t);
2746
2744
  if (e.length === n) return e;
2747
2745
  if (e.length < n) {
2748
2746
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2753,13 +2751,13 @@ function vo(e, t) {
2753
2751
  }
2754
2752
  //#endregion
2755
2753
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2756
- var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2754
+ var vo = { class: "tpl:mb-3.5" }, yo = ["value"], bo = ["value"], xo = {
2757
2755
  key: 0,
2758
2756
  class: "tpl:mb-3.5"
2759
- }, Co = { class: "tpl:mb-3.5" }, wo = { class: "tpl:flex tpl:items-stretch" }, To = ["value"], Eo = { class: "tpl:mb-3.5" }, Do = {
2757
+ }, So = { class: "tpl:mb-3.5" }, Co = { class: "tpl:flex tpl:items-stretch" }, wo = ["value"], To = { class: "tpl:mb-3.5" }, Eo = {
2760
2758
  key: 0,
2761
2759
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2762
- }, Oo = { class: "tpl:flex tpl:items-stretch" }, ko = ["value"], Ao = /* @__PURE__ */ f({
2760
+ }, Do = { class: "tpl:flex tpl:items-stretch" }, Oo = ["value"], ko = /* @__PURE__ */ f({
2763
2761
  __name: "SectionToolbar",
2764
2762
  props: { block: {} },
2765
2763
  emits: ["update"],
@@ -2787,7 +2785,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2787
2785
  }
2788
2786
  ]);
2789
2787
  function u(e) {
2790
- let t = e.target.value, n = vo(i.block.children, t);
2788
+ let t = e.target.value, n = _o(i.block.children, t);
2791
2789
  a("update", {
2792
2790
  columns: t,
2793
2791
  children: n
@@ -2821,39 +2819,39 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2821
2819
  _({ borderRadius: Number(e.target.value) });
2822
2820
  }
2823
2821
  return (r, i) => (s(), m(C, null, [
2824
- p("div", yo, [p("label", { class: n(x(K)) }, c(x(o).section.columns), 3), p("select", {
2822
+ p("div", vo, [p("label", { class: n(x(K)) }, c(x(o).section.columns), 3), p("select", {
2825
2823
  class: n(x(G)),
2826
2824
  value: t.block.columns,
2827
2825
  onChange: u
2828
2826
  }, [(s(!0), m(C, null, e(l.value, (e) => (s(), m("option", {
2829
2827
  key: e.value,
2830
2828
  value: e.value
2831
- }, c(e.label), 9, xo))), 128))], 42, bo)]),
2832
- t.block.columns === "1" ? T("", !0) : (s(), m("div", So, [g(X, {
2829
+ }, c(e.label), 9, bo))), 128))], 42, yo)]),
2830
+ t.block.columns === "1" ? T("", !0) : (s(), m("div", xo, [g(X, {
2833
2831
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2834
2832
  "model-value": t.block.stackOnMobile !== !1,
2835
2833
  label: x(o).section.stackOnMobile,
2836
2834
  "onUpdate:modelValue": i[0] ||= (e) => d(e)
2837
2835
  }, null, 8, ["model-value", "label"])])),
2838
- p("div", Co, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", wo, [p("input", {
2836
+ p("div", So, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Co, [p("input", {
2839
2837
  type: "number",
2840
2838
  class: n(x(J)),
2841
2839
  value: t.block.borderRadius ?? 0,
2842
2840
  min: "0",
2843
2841
  max: "50",
2844
2842
  onInput: f
2845
- }, null, 42, To), p("span", { class: n(x(q)) }, "px", 2)])]),
2846
- p("div", Eo, [g(X, {
2843
+ }, null, 42, wo), p("span", { class: n(x(q)) }, "px", 2)])]),
2844
+ p("div", To, [g(X, {
2847
2845
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2848
2846
  "model-value": !!t.block.wrapper,
2849
2847
  label: x(o).section.wrapperEnable,
2850
2848
  "onUpdate:modelValue": i[1] ||= (e) => h(e)
2851
- }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", Do, [
2849
+ }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", Eo, [
2852
2850
  p("div", null, [p("label", { class: n(x(K)) }, c(x(o).blockSettings.color), 3), g(Y, {
2853
2851
  "model-value": t.block.wrapper.backgroundColor ?? "",
2854
2852
  "onUpdate:modelValue": i[2] ||= (e) => _({ backgroundColor: e })
2855
2853
  }, null, 8, ["model-value"])]),
2856
- g(ki, {
2854
+ g(Oi, {
2857
2855
  label: x(o).blockSettings.padding,
2858
2856
  "model-value": t.block.wrapper.padding ?? {
2859
2857
  top: 0,
@@ -2863,18 +2861,18 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2863
2861
  },
2864
2862
  "onUpdate:modelValue": v
2865
2863
  }, null, 8, ["label", "model-value"]),
2866
- p("div", null, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Oo, [p("input", {
2864
+ p("div", null, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Do, [p("input", {
2867
2865
  type: "number",
2868
2866
  class: n(x(J)),
2869
2867
  value: t.block.wrapper.borderRadius ?? 0,
2870
2868
  min: "0",
2871
2869
  max: "50",
2872
2870
  onInput: y
2873
- }, null, 42, ko), p("span", { class: n(x(q)) }, "px", 2)])])
2871
+ }, null, 42, Oo), p("span", { class: n(x(q)) }, "px", 2)])])
2874
2872
  ])) : T("", !0)])
2875
2873
  ], 64));
2876
2874
  }
2877
- }), jo = { class: "tpl:mb-3.5" }, Mo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, No = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Po = ["value", "onChange"], Fo = ["value"], Io = ["title", "onClick"], Lo = { class: "tpl:mb-3.5" }, Ro = ["value"], zo = { value: "solid" }, Bo = { value: "outlined" }, Vo = { value: "rounded" }, Ho = { value: "square" }, Uo = { value: "circle" }, Wo = { class: "tpl:mb-3.5" }, Go = { class: "tpl:mb-3.5" }, Ko = { class: "tpl:flex tpl:items-stretch" }, qo = ["value"], Jo = { class: "tpl:mb-3.5" }, Yo = /* @__PURE__ */ f({
2875
+ }), Ao = { class: "tpl:mb-3.5" }, jo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Mo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, No = ["value", "onChange"], Po = ["value"], Fo = ["title", "onClick"], Io = { class: "tpl:mb-3.5" }, Lo = ["value"], Ro = { value: "solid" }, zo = { value: "outlined" }, Bo = { value: "rounded" }, Vo = { value: "square" }, Ho = { value: "circle" }, Uo = { class: "tpl:mb-3.5" }, Wo = { class: "tpl:mb-3.5" }, Go = { class: "tpl:flex tpl:items-stretch" }, Ko = ["value"], qo = { class: "tpl:mb-3.5" }, Jo = /* @__PURE__ */ f({
2878
2876
  __name: "SocialToolbar",
2879
2877
  props: { block: {} },
2880
2878
  emits: ["update"],
@@ -2902,10 +2900,10 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2902
2900
  a("update", { icons: i.block.icons.filter((t) => t.id !== e) });
2903
2901
  }
2904
2902
  return (r, i) => (s(), m(C, null, [
2905
- p("div", jo, [p("label", { class: n(x(K)) }, c(x(o).social.icons), 3), p("div", Mo, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2903
+ p("div", Ao, [p("label", { class: n(x(K)) }, c(x(o).social.icons), 3), p("div", jo, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2906
2904
  key: t.id,
2907
2905
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2908
- }, [p("div", No, [p("select", {
2906
+ }, [p("div", Mo, [p("select", {
2909
2907
  "data-testid": "social-platform-select",
2910
2908
  class: n([x(G), "tpl:flex-1"]),
2911
2909
  value: t.platform,
@@ -2913,14 +2911,14 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2913
2911
  }, [(s(!0), m(C, null, e(x(we), (e) => (s(), m("option", {
2914
2912
  key: e,
2915
2913
  value: e
2916
- }, c(x(o).social.platforms[e]), 9, Fo))), 128))], 42, Po), p("button", {
2917
- class: n(x(Mt)),
2914
+ }, c(x(o).social.platforms[e]), 9, Po))), 128))], 42, No), p("button", {
2915
+ class: n(x(jt)),
2918
2916
  title: x(o).social.removeIcon,
2919
2917
  onClick: (e) => f(t.id)
2920
2918
  }, [g(x(Tt), {
2921
2919
  size: 14,
2922
2920
  "stroke-width": 2
2923
- })], 10, Io)]), g($, {
2921
+ })], 10, Fo)]), g($, {
2924
2922
  "model-value": t.url,
2925
2923
  type: "url",
2926
2924
  placeholder: x(o).social.urlPlaceholder,
@@ -2930,24 +2928,24 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2930
2928
  "placeholder",
2931
2929
  "onUpdate:modelValue"
2932
2930
  ])]))), 128)), p("button", {
2933
- class: n(x(Ft)),
2931
+ class: n(x(Pt)),
2934
2932
  onClick: u
2935
2933
  }, [g(x(Q), {
2936
2934
  size: 14,
2937
2935
  "stroke-width": 2
2938
2936
  }), b(" " + c(x(o).social.addIcon), 1)], 2)])]),
2939
- p("div", Lo, [p("label", { class: n(x(K)) }, c(x(o).social.style), 3), p("select", {
2937
+ p("div", Io, [p("label", { class: n(x(K)) }, c(x(o).social.style), 3), p("select", {
2940
2938
  class: n(x(G)),
2941
2939
  value: t.block.iconStyle,
2942
2940
  onChange: i[0] ||= (e) => l("iconStyle", e.target.value)
2943
2941
  }, [
2944
- p("option", zo, c(x(o).social.styleSolid), 1),
2945
- p("option", Bo, c(x(o).social.styleOutlined), 1),
2946
- p("option", Vo, c(x(o).social.styleRounded), 1),
2947
- p("option", Ho, c(x(o).social.styleSquare), 1),
2948
- p("option", Uo, c(x(o).social.styleCircle), 1)
2949
- ], 42, Ro)]),
2950
- p("div", Wo, [p("label", { class: n(x(K)) }, c(x(o).social.size), 3), g(Bt, {
2942
+ p("option", Ro, c(x(o).social.styleSolid), 1),
2943
+ p("option", zo, c(x(o).social.styleOutlined), 1),
2944
+ p("option", Bo, c(x(o).social.styleRounded), 1),
2945
+ p("option", Vo, c(x(o).social.styleSquare), 1),
2946
+ p("option", Ho, c(x(o).social.styleCircle), 1)
2947
+ ], 42, Lo)]),
2948
+ p("div", Uo, [p("label", { class: n(x(K)) }, c(x(o).social.size), 3), g(zt, {
2951
2949
  options: [
2952
2950
  {
2953
2951
  value: "small",
@@ -2965,15 +2963,15 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2965
2963
  "model-value": t.block.iconSize,
2966
2964
  "onUpdate:modelValue": i[1] ||= (e) => l("iconSize", e)
2967
2965
  }, null, 8, ["options", "model-value"])]),
2968
- p("div", Go, [p("label", { class: n(x(K)) }, c(x(o).social.spacing), 3), p("div", Ko, [p("input", {
2966
+ p("div", Wo, [p("label", { class: n(x(K)) }, c(x(o).social.spacing), 3), p("div", Go, [p("input", {
2969
2967
  type: "number",
2970
2968
  class: n(x(J)),
2971
2969
  value: t.block.spacing,
2972
2970
  min: "0",
2973
2971
  max: "50",
2974
2972
  onInput: i[2] ||= (e) => l("spacing", Number(e.target.value))
2975
- }, null, 42, qo), p("span", { class: n(x(q)) }, "px", 2)])]),
2976
- p("div", Jo, [p("label", { class: n(x(K)) }, c(x(o).social.align), 3), g(Bt, {
2973
+ }, null, 42, Ko), p("span", { class: n(x(q)) }, "px", 2)])]),
2974
+ p("div", qo, [p("label", { class: n(x(K)) }, c(x(o).social.align), 3), g(zt, {
2977
2975
  options: [
2978
2976
  {
2979
2977
  value: "left",
@@ -2996,22 +2994,22 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
2996
2994
  }, null, 8, ["options", "model-value"])])
2997
2995
  ], 64));
2998
2996
  }
2999
- }), Xo = { class: "tpl:mb-3.5" }, Zo = { class: "tpl:flex tpl:items-stretch" }, Qo = ["value"], $o = ["value"], es = /* @__PURE__ */ f({
2997
+ }), Yo = { class: "tpl:mb-3.5" }, Xo = { class: "tpl:flex tpl:items-stretch" }, Zo = ["value"], Qo = ["value"], $o = /* @__PURE__ */ f({
3000
2998
  __name: "SpacerToolbar",
3001
2999
  props: { block: {} },
3002
3000
  emits: ["update"],
3003
3001
  setup(e, { emit: t }) {
3004
3002
  let r = t, { t: i } = U();
3005
- return (t, a) => (s(), m("div", Xo, [
3003
+ return (t, a) => (s(), m("div", Yo, [
3006
3004
  p("label", { class: n(x(K)) }, c(x(i).spacer.height), 3),
3007
- p("div", Zo, [p("input", {
3005
+ p("div", Xo, [p("input", {
3008
3006
  type: "number",
3009
3007
  class: n(x(J)),
3010
3008
  value: e.block.height,
3011
3009
  min: "10",
3012
3010
  max: "100",
3013
3011
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
3014
- }, null, 42, Qo), p("span", { class: n(x(q)) }, "px", 2)]),
3012
+ }, null, 42, Zo), p("span", { class: n(x(q)) }, "px", 2)]),
3015
3013
  p("input", {
3016
3014
  type: "range",
3017
3015
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -3019,13 +3017,13 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3019
3017
  min: "10",
3020
3018
  max: "100",
3021
3019
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
3022
- }, null, 40, $o)
3020
+ }, null, 40, Qo)
3023
3021
  ]));
3024
3022
  }
3025
- }), ts = { class: "tpl:mb-3.5" }, ns = { class: "tpl:flex tpl:items-center tpl:gap-3" }, rs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, is = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, as = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, os = ["disabled"], ss = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, cs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ls = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, us = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ds = ["disabled"], fs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ps = { class: "tpl:mb-3.5" }, ms = {
3023
+ }), es = { class: "tpl:mb-3.5" }, ts = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ns = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, rs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, is = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, as = ["disabled"], os = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ss = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, cs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ls = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, us = ["disabled"], ds = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, fs = { class: "tpl:mb-3.5" }, ps = {
3026
3024
  key: 0,
3027
3025
  class: "tpl:mb-3.5"
3028
- }, hs = { class: "tpl:mb-3.5" }, gs = { class: "tpl:mb-3.5" }, _s = { class: "tpl:flex tpl:items-stretch" }, vs = ["value"], ys = { class: "tpl:mb-3.5" }, bs = { class: "tpl:flex tpl:items-stretch" }, xs = ["value"], Ss = { class: "tpl:mb-3.5" }, Cs = ["value"], ws = { value: "" }, Ts = ["value"], Es = { class: "tpl:mb-3.5" }, Ds = { class: "tpl:flex tpl:items-stretch" }, Os = ["value"], ks = { class: "tpl:mb-3.5" }, As = { class: "tpl:mb-3.5" }, js = /* @__PURE__ */ f({
3026
+ }, ms = { class: "tpl:mb-3.5" }, hs = { class: "tpl:mb-3.5" }, gs = { class: "tpl:flex tpl:items-stretch" }, _s = ["value"], vs = { class: "tpl:mb-3.5" }, ys = { class: "tpl:flex tpl:items-stretch" }, bs = ["value"], xs = { class: "tpl:mb-3.5" }, Ss = ["value"], Cs = { value: "" }, ws = ["value"], Ts = { class: "tpl:mb-3.5" }, Es = { class: "tpl:flex tpl:items-stretch" }, Ds = ["value"], Os = { class: "tpl:mb-3.5" }, ks = { class: "tpl:mb-3.5" }, As = /* @__PURE__ */ f({
3029
3027
  __name: "TableToolbar",
3030
3028
  props: {
3031
3029
  block: {},
@@ -3068,7 +3066,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3068
3066
  a("update", { rows: t });
3069
3067
  }
3070
3068
  return (r, i) => (s(), m(C, null, [
3071
- p("div", ts, [p("label", { class: n(x(K)) }, c(x(o).table.dimensions), 3), p("div", ns, [p("div", rs, [p("span", is, c(x(o).table.rows), 1), p("div", as, [
3069
+ p("div", es, [p("label", { class: n(x(K)) }, c(x(o).table.dimensions), 3), p("div", ts, [p("div", ns, [p("span", rs, c(x(o).table.rows), 1), p("div", is, [
3072
3070
  p("button", {
3073
3071
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3074
3072
  disabled: t.block.rows.length <= 1,
@@ -3076,8 +3074,8 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3076
3074
  }, [g(x(ut), {
3077
3075
  size: 12,
3078
3076
  "stroke-width": 2
3079
- })], 8, os),
3080
- p("span", ss, c(t.block.rows.length), 1),
3077
+ })], 8, as),
3078
+ p("span", os, c(t.block.rows.length), 1),
3081
3079
  p("button", {
3082
3080
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
3083
3081
  onClick: d
@@ -3085,7 +3083,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3085
3083
  size: 12,
3086
3084
  "stroke-width": 2
3087
3085
  })])
3088
- ])]), p("div", cs, [p("span", ls, c(x(o).table.columns), 1), p("div", us, [
3086
+ ])]), p("div", ss, [p("span", cs, c(x(o).table.columns), 1), p("div", ls, [
3089
3087
  p("button", {
3090
3088
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3091
3089
  disabled: l.value <= 1,
@@ -3093,8 +3091,8 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3093
3091
  }, [g(x(ut), {
3094
3092
  size: 12,
3095
3093
  "stroke-width": 2
3096
- })], 8, ds),
3097
- p("span", fs, c(l.value), 1),
3094
+ })], 8, us),
3095
+ p("span", ds, c(l.value), 1),
3098
3096
  p("button", {
3099
3097
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
3100
3098
  onClick: h
@@ -3103,15 +3101,15 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3103
3101
  "stroke-width": 2
3104
3102
  })])
3105
3103
  ])])])]),
3106
- p("div", ps, [g(X, {
3104
+ p("div", fs, [g(X, {
3107
3105
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
3108
3106
  "model-value": t.block.hasHeaderRow,
3109
3107
  label: x(o).table.hasHeaderRow,
3110
3108
  "onUpdate:modelValue": i[2] ||= (e) => u("hasHeaderRow", e)
3111
3109
  }, null, 8, ["model-value", "label"])]),
3112
- t.block.hasHeaderRow ? (s(), m("div", ms, [p("label", { class: n(x(K)) }, c(x(o).table.headerBackgroundColor), 3), g(Y, {
3110
+ t.block.hasHeaderRow ? (s(), m("div", ps, [p("label", { class: n(x(K)) }, c(x(o).table.headerBackgroundColor), 3), g(Y, {
3113
3111
  "model-value": t.block.headerBackgroundColor ?? "",
3114
- "seed-color": x(Pt),
3112
+ "seed-color": x(Nt),
3115
3113
  placeholder: x(o).table.noHeaderBg,
3116
3114
  "onUpdate:modelValue": i[3] ||= (e) => u("headerBackgroundColor", e || null)
3117
3115
  }, null, 8, [
@@ -3119,47 +3117,47 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3119
3117
  "seed-color",
3120
3118
  "placeholder"
3121
3119
  ])])) : T("", !0),
3122
- p("div", hs, [p("label", { class: n(x(K)) }, c(x(o).table.borderColor), 3), g(Y, {
3120
+ p("div", ms, [p("label", { class: n(x(K)) }, c(x(o).table.borderColor), 3), g(Y, {
3123
3121
  "model-value": t.block.borderColor,
3124
3122
  "onUpdate:modelValue": i[4] ||= (e) => u("borderColor", e)
3125
3123
  }, null, 8, ["model-value"])]),
3126
- p("div", gs, [p("label", { class: n(x(K)) }, c(x(o).table.borderWidth), 3), p("div", _s, [p("input", {
3124
+ p("div", hs, [p("label", { class: n(x(K)) }, c(x(o).table.borderWidth), 3), p("div", gs, [p("input", {
3127
3125
  type: "number",
3128
3126
  class: n(x(J)),
3129
3127
  value: t.block.borderWidth,
3130
3128
  min: "0",
3131
3129
  max: "10",
3132
3130
  onInput: i[5] ||= (e) => u("borderWidth", Number(e.target.value))
3133
- }, null, 42, vs), p("span", { class: n(x(q)) }, "px", 2)])]),
3134
- p("div", ys, [p("label", { class: n(x(K)) }, c(x(o).table.cellPadding), 3), p("div", bs, [p("input", {
3131
+ }, null, 42, _s), p("span", { class: n(x(q)) }, "px", 2)])]),
3132
+ p("div", vs, [p("label", { class: n(x(K)) }, c(x(o).table.cellPadding), 3), p("div", ys, [p("input", {
3135
3133
  type: "number",
3136
3134
  class: n(x(J)),
3137
3135
  value: t.block.cellPadding,
3138
3136
  min: "0",
3139
3137
  max: "30",
3140
3138
  onInput: i[6] ||= (e) => u("cellPadding", Number(e.target.value))
3141
- }, null, 42, xs), p("span", { class: n(x(q)) }, "px", 2)])]),
3142
- p("div", Ss, [p("label", { class: n(x(K)) }, c(x(o).table.fontFamily), 3), p("select", {
3139
+ }, null, 42, bs), p("span", { class: n(x(q)) }, "px", 2)])]),
3140
+ p("div", xs, [p("label", { class: n(x(K)) }, c(x(o).table.fontFamily), 3), p("select", {
3143
3141
  class: n(x(G)),
3144
3142
  value: t.block.fontFamily || "",
3145
3143
  onChange: i[7] ||= (e) => u("fontFamily", e.target.value || void 0)
3146
- }, [p("option", ws, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3144
+ }, [p("option", Cs, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3147
3145
  key: e.value,
3148
3146
  value: e.value
3149
- }, c(e.label), 9, Ts))), 128))], 42, Cs)]),
3150
- p("div", Es, [p("label", { class: n(x(K)) }, c(x(o).table.fontSize), 3), p("div", Ds, [p("input", {
3147
+ }, c(e.label), 9, ws))), 128))], 42, Ss)]),
3148
+ p("div", Ts, [p("label", { class: n(x(K)) }, c(x(o).table.fontSize), 3), p("div", Es, [p("input", {
3151
3149
  type: "number",
3152
3150
  class: n(x(J)),
3153
3151
  value: t.block.fontSize,
3154
3152
  min: "10",
3155
3153
  max: "32",
3156
3154
  onInput: i[8] ||= (e) => u("fontSize", Number(e.target.value))
3157
- }, null, 42, Os), p("span", { class: n(x(q)) }, "px", 2)])]),
3158
- p("div", ks, [p("label", { class: n(x(K)) }, c(x(o).table.color), 3), g(Y, {
3155
+ }, null, 42, Ds), p("span", { class: n(x(q)) }, "px", 2)])]),
3156
+ p("div", Os, [p("label", { class: n(x(K)) }, c(x(o).table.color), 3), g(Y, {
3159
3157
  "model-value": t.block.color ?? "",
3160
3158
  "onUpdate:modelValue": i[9] ||= (e) => u("color", e || void 0)
3161
3159
  }, null, 8, ["model-value"])]),
3162
- p("div", As, [p("label", { class: n(x(K)) }, c(x(o).table.textAlign), 3), g(Bt, {
3160
+ p("div", ks, [p("label", { class: n(x(K)) }, c(x(o).table.textAlign), 3), g(zt, {
3163
3161
  options: [
3164
3162
  {
3165
3163
  value: "left",
@@ -3182,7 +3180,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3182
3180
  }, null, 8, ["options", "model-value"])])
3183
3181
  ], 64));
3184
3182
  }
3185
- }), Ms = { class: "tpl:mb-3.5" }, Ns = ["value"], Ps = { value: 1 }, Fs = { value: 2 }, Is = { value: 3 }, Ls = { value: 4 }, Rs = { class: "tpl:mb-3.5" }, zs = ["value"], Bs = { value: "" }, Vs = ["value"], Hs = { class: "tpl:mb-3.5" }, Us = { class: "tpl:mb-3.5" }, Ws = /* @__PURE__ */ f({
3183
+ }), js = { class: "tpl:mb-3.5" }, Ms = ["value"], Ns = { value: 1 }, Ps = { value: 2 }, Fs = { value: 3 }, Is = { value: 4 }, Ls = { class: "tpl:mb-3.5" }, Rs = ["value"], zs = { value: "" }, Bs = ["value"], Vs = { class: "tpl:mb-3.5" }, Hs = { class: "tpl:mb-3.5" }, Us = /* @__PURE__ */ f({
3186
3184
  __name: "TitleToolbar",
3187
3185
  props: {
3188
3186
  block: {},
@@ -3195,29 +3193,29 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3195
3193
  i("update", { [e]: t });
3196
3194
  }
3197
3195
  return (r, i) => (s(), m(C, null, [
3198
- p("div", Ms, [p("label", { class: n(x(K)) }, c(x(a).title.level), 3), p("select", {
3196
+ p("div", js, [p("label", { class: n(x(K)) }, c(x(a).title.level), 3), p("select", {
3199
3197
  class: n(x(G)),
3200
3198
  value: t.block.level,
3201
3199
  onChange: i[0] ||= (e) => o("level", Number(e.target.value))
3202
3200
  }, [
3203
- p("option", Ps, c(x(a).title.heading1), 1),
3204
- p("option", Fs, c(x(a).title.heading2), 1),
3205
- p("option", Is, c(x(a).title.heading3), 1),
3206
- p("option", Ls, c(x(a).title.heading4), 1)
3207
- ], 42, Ns)]),
3208
- p("div", Rs, [p("label", { class: n(x(K)) }, c(x(a).title.fontFamily), 3), p("select", {
3201
+ p("option", Ns, c(x(a).title.heading1), 1),
3202
+ p("option", Ps, c(x(a).title.heading2), 1),
3203
+ p("option", Fs, c(x(a).title.heading3), 1),
3204
+ p("option", Is, c(x(a).title.heading4), 1)
3205
+ ], 42, Ms)]),
3206
+ p("div", Ls, [p("label", { class: n(x(K)) }, c(x(a).title.fontFamily), 3), p("select", {
3209
3207
  class: n(x(G)),
3210
3208
  value: t.block.fontFamily || "",
3211
3209
  onChange: i[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3212
- }, [p("option", Bs, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3210
+ }, [p("option", zs, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3213
3211
  key: e.value,
3214
3212
  value: e.value
3215
- }, c(e.label), 9, Vs))), 128))], 42, zs)]),
3216
- p("div", Hs, [p("label", { class: n(x(K)) }, c(x(a).title.color), 3), g(Y, {
3213
+ }, c(e.label), 9, Bs))), 128))], 42, Rs)]),
3214
+ p("div", Vs, [p("label", { class: n(x(K)) }, c(x(a).title.color), 3), g(Y, {
3217
3215
  "model-value": t.block.color ?? "",
3218
3216
  "onUpdate:modelValue": i[2] ||= (e) => o("color", e || void 0)
3219
3217
  }, null, 8, ["model-value"])]),
3220
- p("div", Us, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Bt, {
3218
+ p("div", Hs, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(zt, {
3221
3219
  options: [
3222
3220
  {
3223
3221
  value: "left",
@@ -3240,14 +3238,14 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3240
3238
  }, null, 8, ["options", "model-value"])])
3241
3239
  ], 64));
3242
3240
  }
3243
- }), Gs = { class: "tpl:mb-3.5" }, Ks = {
3241
+ }), Ws = { class: "tpl:mb-3.5" }, Gs = {
3244
3242
  key: 0,
3245
3243
  class: "tpl:mb-3.5"
3246
- }, qs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Js = [
3244
+ }, Ks = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, qs = [
3247
3245
  "value",
3248
3246
  "placeholder",
3249
3247
  "title"
3250
- ], Ys = { class: "tpl:mb-3.5" }, Xs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Zs = { class: "tpl:mb-3.5" }, Qs = { class: "tpl:mb-3.5" }, $s = ["value"], ec = { value: "full" }, tc = { class: "tpl:mb-3.5" }, nc = /* @__PURE__ */ f({
3248
+ ], Js = { class: "tpl:mb-3.5" }, Ys = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Xs = { class: "tpl:mb-3.5" }, Zs = { class: "tpl:mb-3.5" }, Qs = ["value"], $s = { value: "full" }, ec = { class: "tpl:mb-3.5" }, tc = /* @__PURE__ */ f({
3251
3249
  __name: "VideoToolbar",
3252
3250
  props: { block: {} },
3253
3251
  emits: ["update"],
@@ -3263,7 +3261,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3263
3261
  u.alive && e && (S("thumbnailUrl", e.url), _.value = !0, v());
3264
3262
  }
3265
3263
  return (t, r) => (s(), m(C, null, [
3266
- p("div", Gs, [
3264
+ p("div", Ws, [
3267
3265
  p("label", { class: n(x(K)) }, c(x(a).video.videoUrl), 3),
3268
3266
  g($, {
3269
3267
  "model-value": e.block.url,
@@ -3279,16 +3277,16 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3279
3277
  "onUpdate:modelValue": r[1] ||= (e) => S("openInNewTab", e)
3280
3278
  }, null, 8, ["model-value", "label"])) : T("", !0)
3281
3279
  ]),
3282
- h.value ? (s(), m("div", Ks, [p("label", { class: n(x(K)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", qs, c(x(a).video.optional), 1)], 2), p("input", {
3280
+ h.value ? (s(), m("div", Gs, [p("label", { class: n(x(K)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", Ks, c(x(a).video.optional), 1)], 2), p("input", {
3283
3281
  type: "url",
3284
3282
  class: n(x(G)),
3285
3283
  value: e.block.placeholderUrl || "",
3286
3284
  placeholder: x(a).video.placeholderUrlPlaceholder,
3287
3285
  title: x(a).video.placeholderUrlTooltip,
3288
3286
  onInput: r[2] ||= (e) => S("placeholderUrl", e.target.value)
3289
- }, null, 42, Js)])) : T("", !0),
3290
- p("div", Ys, [
3291
- p("label", { class: n(x(K)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", Xs, c(x(a).video.optional), 1)], 2),
3287
+ }, null, 42, qs)])) : T("", !0),
3288
+ p("div", Js, [
3289
+ p("label", { class: n(x(K)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", Ys, c(x(a).video.optional), 1)], 2),
3292
3290
  g($, {
3293
3291
  "model-value": e.block.thumbnailUrl,
3294
3292
  type: "url",
@@ -3314,23 +3312,23 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3314
3312
  "stroke-width": 1.5
3315
3313
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
3316
3314
  ]),
3317
- p("div", Zs, [p("label", { class: n(x(K)) }, c(x(a).video.altText), 3), g($, {
3315
+ p("div", Xs, [p("label", { class: n(x(K)) }, c(x(a).video.altText), 3), g($, {
3318
3316
  "model-value": e.block.alt,
3319
3317
  type: "text",
3320
3318
  placeholder: x(a).video.altTextPlaceholder,
3321
3319
  "onUpdate:modelValue": r[4] ||= (e) => S("alt", e)
3322
3320
  }, null, 8, ["model-value", "placeholder"])]),
3323
- p("div", Qs, [p("label", { class: n(x(K)) }, c(x(a).video.width), 3), p("select", {
3321
+ p("div", Zs, [p("label", { class: n(x(K)) }, c(x(a).video.width), 3), p("select", {
3324
3322
  class: n(x(G)),
3325
3323
  value: e.block.width,
3326
3324
  onChange: r[5] ||= (e) => S("width", e.target.value === "full" ? "full" : Number(e.target.value))
3327
3325
  }, [
3328
- p("option", ec, c(x(a).video.fullWidth), 1),
3326
+ p("option", $s, c(x(a).video.fullWidth), 1),
3329
3327
  r[7] ||= p("option", { value: "300" }, "300px", -1),
3330
3328
  r[8] ||= p("option", { value: "400" }, "400px", -1),
3331
3329
  r[9] ||= p("option", { value: "500" }, "500px", -1)
3332
- ], 42, $s)]),
3333
- p("div", tc, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Bt, {
3330
+ ], 42, Qs)]),
3331
+ p("div", ec, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(zt, {
3334
3332
  options: [
3335
3333
  {
3336
3334
  value: "left",
@@ -3350,7 +3348,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3350
3348
  }, null, 8, ["options", "model-value"])])
3351
3349
  ], 64));
3352
3350
  }
3353
- }), rc = ["aria-label"], ic = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ac = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, oc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, sc = { class: "tpl:flex tpl:gap-1" }, cc = ["title"], lc = ["title"], uc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, dc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3351
+ }), nc = ["aria-label"], rc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ic = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, ac = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, oc = { class: "tpl:flex tpl:gap-1" }, sc = ["title"], cc = ["title"], lc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, uc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3354
3352
  __name: "Toolbar",
3355
3353
  props: { block: {} },
3356
3354
  emits: [
@@ -3368,7 +3366,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3368
3366
  return (t, r) => (s(), m("aside", {
3369
3367
  "aria-label": x(a).landmarks.blockToolbar,
3370
3368
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3371
- }, [p("div", ic, [p("div", ac, [x(pt)[d.value] ? (s(), y(o(x(pt)[d.value]), {
3369
+ }, [p("div", rc, [p("div", ic, [x(pt)[d.value] ? (s(), y(o(x(pt)[d.value]), {
3372
3370
  key: 0,
3373
3371
  size: 16,
3374
3372
  "stroke-width": 1.5
@@ -3376,70 +3374,70 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3376
3374
  key: 1,
3377
3375
  size: 16,
3378
3376
  "stroke-width": 1.5
3379
- })) : T("", !0), p("h3", oc, c(v.value), 1)]), p("div", sc, [p("button", {
3377
+ })) : T("", !0), p("h3", ac, c(v.value), 1)]), p("div", oc, [p("button", {
3380
3378
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
3381
3379
  title: x(a).toolbar.duplicate,
3382
3380
  onClick: r[0] ||= (e) => i("duplicate")
3383
3381
  }, [g(x(se), {
3384
3382
  size: 14,
3385
3383
  "stroke-width": 2
3386
- })], 8, cc), p("button", {
3384
+ })], 8, sc), p("button", {
3387
3385
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
3388
3386
  title: x(a).toolbar.delete,
3389
3387
  onClick: r[1] ||= (e) => i("delete")
3390
3388
  }, [g(x(wt), {
3391
3389
  size: 14,
3392
3390
  "stroke-width": 2
3393
- })], 8, lc)])]), p("div", uc, [f.value ? (s(), y(Ma, {
3391
+ })], 8, cc)])]), p("div", lc, [f.value ? (s(), y(ja, {
3394
3392
  key: 0,
3395
3393
  block: e.block,
3396
3394
  onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
3397
3395
  onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
3398
- }, null, 8, ["block"])) : d.value === "section" ? (s(), y(Ao, {
3396
+ }, null, 8, ["block"])) : d.value === "section" ? (s(), y(ko, {
3399
3397
  key: 1,
3400
3398
  block: e.block,
3401
3399
  onUpdate: S
3402
- }, null, 8, ["block"])) : d.value === "title" ? (s(), y(Ws, {
3400
+ }, null, 8, ["block"])) : d.value === "title" ? (s(), y(Us, {
3403
3401
  key: 2,
3404
3402
  block: e.block,
3405
3403
  "font-families": x(b),
3406
3404
  onUpdate: S
3407
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(io, {
3405
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(ro, {
3408
3406
  key: 4,
3409
3407
  block: e.block,
3410
3408
  onUpdate: S
3411
- }, null, 8, ["block"])) : d.value === "video" ? (s(), y(nc, {
3409
+ }, null, 8, ["block"])) : d.value === "video" ? (s(), y(tc, {
3412
3410
  key: 5,
3413
3411
  block: e.block,
3414
3412
  onUpdate: S
3415
- }, null, 8, ["block"])) : d.value === "button" ? (s(), y(ai, {
3413
+ }, null, 8, ["block"])) : d.value === "button" ? (s(), y(ii, {
3416
3414
  key: 6,
3417
3415
  block: e.block,
3418
3416
  "font-families": x(b),
3419
3417
  onUpdate: S
3420
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(Ra, {
3418
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(La, {
3421
3419
  key: 7,
3422
3420
  block: e.block,
3423
3421
  onUpdate: S
3424
- }, null, 8, ["block"])) : d.value === "social" ? (s(), y(Yo, {
3422
+ }, null, 8, ["block"])) : d.value === "social" ? (s(), y(Jo, {
3425
3423
  key: 8,
3426
3424
  block: e.block,
3427
3425
  onUpdate: S
3428
- }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(go, {
3426
+ }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(ho, {
3429
3427
  key: 9,
3430
3428
  block: e.block,
3431
3429
  "font-families": x(b),
3432
3430
  onUpdate: S
3433
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(js, {
3431
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(As, {
3434
3432
  key: 10,
3435
3433
  block: e.block,
3436
3434
  "font-families": x(b),
3437
3435
  onUpdate: S
3438
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y(es, {
3436
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y($o, {
3439
3437
  key: 11,
3440
3438
  block: e.block,
3441
3439
  onUpdate: S
3442
- }, null, 8, ["block"])) : d.value === "html" ? (s(), y(Ha, {
3440
+ }, null, 8, ["block"])) : d.value === "html" ? (s(), y(Va, {
3443
3441
  key: 12,
3444
3442
  block: e.block,
3445
3443
  onUpdate: S
@@ -3448,52 +3446,52 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3448
3446
  block: e.block,
3449
3447
  "font-families": x(b),
3450
3448
  onUpdate: S
3451
- }, null, 8, ["block", "font-families"])) : T("", !0), g(Xi, {
3449
+ }, null, 8, ["block", "font-families"])) : T("", !0), g(Yi, {
3452
3450
  block: e.block,
3453
3451
  "is-first-section": d.value === "paragraph",
3454
3452
  onUpdate: S
3455
- }, null, 8, ["block", "is-first-section"])])], 8, rc));
3453
+ }, null, 8, ["block", "is-first-section"])])], 8, nc));
3456
3454
  }
3457
- }), [["__scopeId", "data-v-2ac88283"]]), fc = ["aria-label"], pc = {
3455
+ }), [["__scopeId", "data-v-2ac88283"]]), dc = ["aria-label"], fc = {
3458
3456
  role: "tablist",
3459
3457
  class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
3460
- }, mc = [
3458
+ }, pc = [
3461
3459
  "aria-selected",
3462
3460
  "aria-label",
3463
3461
  "title"
3464
- ], hc = { key: 0 }, gc = [
3462
+ ], mc = { key: 0 }, hc = [
3465
3463
  "aria-selected",
3466
3464
  "aria-label",
3467
3465
  "title"
3468
- ], _c = { key: 0 }, vc = [
3466
+ ], gc = { key: 0 }, _c = [
3469
3467
  "aria-selected",
3470
3468
  "aria-label",
3471
3469
  "title"
3472
- ], yc = { key: 0 }, bc = {
3470
+ ], vc = { key: 0 }, yc = {
3473
3471
  key: 1,
3474
3472
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
3475
- }, xc = {
3473
+ }, bc = {
3476
3474
  key: 0,
3477
3475
  id: "tpl-tabpanel-content",
3478
3476
  role: "tabpanel",
3479
3477
  "aria-labelledby": "tpl-tab-content",
3480
3478
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3481
- }, Sc = {
3479
+ }, xc = {
3482
3480
  key: 1,
3483
3481
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
3484
- }, Cc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, wc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Tc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Ec = {
3482
+ }, Sc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Cc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, wc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Tc = {
3485
3483
  key: 1,
3486
3484
  id: "tpl-tabpanel-settings",
3487
3485
  role: "tabpanel",
3488
3486
  "aria-labelledby": "tpl-tab-settings",
3489
3487
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3490
- }, Dc = {
3488
+ }, Ec = {
3491
3489
  key: 2,
3492
3490
  id: "tpl-tabpanel-issues",
3493
3491
  role: "tabpanel",
3494
3492
  "aria-labelledby": "tpl-tab-issues",
3495
3493
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3496
- }, Oc = /* @__PURE__ */ f({
3494
+ }, Dc = /* @__PURE__ */ f({
3497
3495
  __name: "RightSidebar",
3498
3496
  props: {
3499
3497
  selectedBlock: {},
@@ -3523,7 +3521,7 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3523
3521
  "aria-label": x(u).landmarks.rightSidebar,
3524
3522
  class: n(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
3525
3523
  }, [
3526
- p("div", pc, [
3524
+ p("div", fc, [
3527
3525
  p("button", {
3528
3526
  id: "tpl-tab-content",
3529
3527
  role: "tab",
@@ -3534,10 +3532,10 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3534
3532
  class: n(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", S("content")]),
3535
3533
  style: t(C("content")),
3536
3534
  onClick: i[0] ||= (e) => f.value = "content"
3537
- }, [g(x(Xt), {
3535
+ }, [g(x(Yt), {
3538
3536
  size: 14,
3539
3537
  "stroke-width": 2
3540
- }), f.value === "content" ? (s(), m("span", hc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, mc),
3538
+ }), f.value === "content" ? (s(), m("span", mc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, pc),
3541
3539
  p("button", {
3542
3540
  id: "tpl-tab-settings",
3543
3541
  role: "tab",
@@ -3548,10 +3546,10 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3548
3546
  class: n(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", S("settings")]),
3549
3547
  style: t(C("settings")),
3550
3548
  onClick: i[1] ||= (e) => f.value = "settings"
3551
- }, [g(x(Qt), {
3549
+ }, [g(x(Zt), {
3552
3550
  size: 14,
3553
3551
  "stroke-width": 1.5
3554
- }), f.value === "settings" ? (s(), m("span", _c, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, gc),
3552
+ }), f.value === "settings" ? (s(), m("span", gc, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, hc),
3555
3553
  v.value ? (s(), m("button", {
3556
3554
  key: 0,
3557
3555
  id: "tpl-tab-issues",
@@ -3568,55 +3566,55 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3568
3566
  size: 14,
3569
3567
  "stroke-width": 1.5
3570
3568
  }),
3571
- f.value === "issues" ? (s(), m("span", yc, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3572
- b.value > 0 ? (s(), m("span", bc, c(b.value), 1)) : T("", !0)
3573
- ], 14, vc)) : T("", !0)
3569
+ f.value === "issues" ? (s(), m("span", vc, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3570
+ b.value > 0 ? (s(), m("span", yc, c(b.value), 1)) : T("", !0)
3571
+ ], 14, _c)) : T("", !0)
3574
3572
  ]),
3575
- f.value === "content" ? (s(), m("div", xc, [e.selectedBlock ? (s(), y(dc, {
3573
+ f.value === "content" ? (s(), m("div", bc, [e.selectedBlock ? (s(), y(uc, {
3576
3574
  key: 0,
3577
3575
  block: e.selectedBlock,
3578
3576
  onUpdate: i[3] ||= (e) => l("update-block", e),
3579
3577
  onDelete: i[4] ||= (e) => l("delete-block"),
3580
3578
  onDuplicate: i[5] ||= (e) => l("duplicate-block")
3581
- }, null, 8, ["block"])) : (s(), m("div", Sc, [
3582
- p("div", Cc, [g(x(Gt), {
3579
+ }, null, 8, ["block"])) : (s(), m("div", xc, [
3580
+ p("div", Sc, [g(x(Wt), {
3583
3581
  size: 40,
3584
3582
  "stroke-width": 1.5
3585
3583
  })]),
3586
- p("h3", wc, c(x(u).sidebar.noSelection), 1),
3587
- p("p", Tc, c(x(u).sidebar.noSelectionHint), 1)
3584
+ p("h3", Cc, c(x(u).sidebar.noSelection), 1),
3585
+ p("p", wc, c(x(u).sidebar.noSelectionHint), 1)
3588
3586
  ]))])) : T("", !0),
3589
- f.value === "settings" ? (s(), m("div", Ec, [g(kr, {
3587
+ f.value === "settings" ? (s(), m("div", Tc, [g(Or, {
3590
3588
  settings: e.settings,
3591
3589
  onUpdate: i[6] ||= (e) => l("update-settings", e)
3592
3590
  }, null, 8, ["settings"])])) : T("", !0),
3593
- f.value === "issues" && v.value ? (s(), m("div", Dc, [g(x(a))])) : T("", !0)
3594
- ], 10, fc));
3591
+ f.value === "issues" && v.value ? (s(), m("div", Ec, [g(x(a))])) : T("", !0)
3592
+ ], 10, dc));
3595
3593
  }
3596
- }), kc = {
3594
+ }), Oc = {
3597
3595
  class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
3598
3596
  style: { "z-index": "10001" },
3599
3597
  role: "status",
3600
3598
  "data-testid": "small-screen-notice"
3601
- }, Ac = { class: "tpl:text-[var(--tpl-text-dim)]" }, jc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Mc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Nc = /* @__PURE__ */ f({
3599
+ }, kc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Ac = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, jc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Mc = /* @__PURE__ */ f({
3602
3600
  __name: "SmallScreenNotice",
3603
3601
  setup(e) {
3604
3602
  let { t } = U();
3605
- return (e, n) => (s(), m("div", kc, [
3606
- p("div", Ac, [g(x(Jt), {
3603
+ return (e, n) => (s(), m("div", Oc, [
3604
+ p("div", kc, [g(x(qt), {
3607
3605
  size: 48,
3608
3606
  "stroke-width": 1.5
3609
3607
  })]),
3610
- p("h2", jc, c(x(t).smallScreen.title), 1),
3611
- p("p", Mc, c(x(t).smallScreen.message), 1)
3608
+ p("h2", Ac, c(x(t).smallScreen.title), 1),
3609
+ p("p", jc, c(x(t).smallScreen.message), 1)
3612
3610
  ]));
3613
3611
  }
3614
- }), Pc = ["aria-label"], Fc = [
3612
+ }), Nc = ["aria-label"], Pc = [
3615
3613
  "aria-checked",
3616
3614
  "aria-label",
3617
3615
  "title",
3618
3616
  "onClick"
3619
- ], Ic = /* @__PURE__ */ f({
3617
+ ], Fc = /* @__PURE__ */ f({
3620
3618
  __name: "ViewportToggle",
3621
3619
  props: { viewport: {} },
3622
3620
  emits: ["change"],
@@ -3658,21 +3656,21 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3658
3656
  }),
3659
3657
  title: e.label,
3660
3658
  onClick: (t) => a("change", e.value)
3661
- }, [e.value === "desktop" ? (s(), y(x(Jt), {
3659
+ }, [e.value === "desktop" ? (s(), y(x(qt), {
3662
3660
  key: 0,
3663
3661
  size: 18,
3664
3662
  "stroke-width": 1.5
3665
- })) : (s(), y(x($t), {
3663
+ })) : (s(), y(x(Qt), {
3666
3664
  key: 1,
3667
3665
  size: 18,
3668
3666
  "stroke-width": 1.5
3669
- })), p("span", null, c(e.label), 1)], 12, Fc))), 128))], 12, Pc));
3667
+ })), p("span", null, c(e.label), 1)], 12, Pc))), 128))], 12, Nc));
3670
3668
  }
3671
- }), Lc = [
3669
+ }), Ic = [
3672
3670
  "aria-label",
3673
3671
  "title",
3674
3672
  "aria-pressed"
3675
- ], Rc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3673
+ ], Lc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3676
3674
  __name: "PreviewToggle",
3677
3675
  props: { previewMode: { type: Boolean } },
3678
3676
  emits: ["change"],
@@ -3705,13 +3703,13 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3705
3703
  "stroke-width": 1.5
3706
3704
  }))]),
3707
3705
  _: 1
3708
- })], 12, Lc));
3706
+ })], 12, Ic));
3709
3707
  }
3710
- }), [["__scopeId", "data-v-af87d02a"]]), zc = [
3708
+ }), [["__scopeId", "data-v-af87d02a"]]), Rc = [
3711
3709
  "aria-label",
3712
3710
  "title",
3713
3711
  "aria-pressed"
3714
- ], Bc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3712
+ ], zc = /*#__PURE__*/ Et(/* @__PURE__ */ f({
3715
3713
  __name: "DarkModeToggle",
3716
3714
  props: { darkMode: { type: Boolean } },
3717
3715
  emits: ["change"],
@@ -3734,37 +3732,37 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3734
3732
  "leave-to-class": "tpl-icon-leave-to",
3735
3733
  mode: "out-in"
3736
3734
  }, {
3737
- default: l(() => [e.darkMode ? (s(), y(x(Yt), {
3735
+ default: l(() => [e.darkMode ? (s(), y(x(Jt), {
3738
3736
  key: "moon",
3739
3737
  size: 18,
3740
3738
  "stroke-width": 1.5
3741
- })) : (s(), y(x(nn), {
3739
+ })) : (s(), y(x(tn), {
3742
3740
  key: "sun",
3743
3741
  size: 18,
3744
3742
  "stroke-width": 1.5
3745
3743
  }))]),
3746
3744
  _: 1
3747
- })], 12, zc));
3745
+ })], 12, Rc));
3748
3746
  }
3749
- }), [["__scopeId", "data-v-f8694f76"]]), Vc = {
3747
+ }), [["__scopeId", "data-v-f8694f76"]]), Bc = {
3750
3748
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
3751
3749
  style: {
3752
3750
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
3753
3751
  "backdrop-filter": "blur(8px)",
3754
3752
  "-webkit-backdrop-filter": "blur(8px)"
3755
3753
  }
3756
- }, Hc = {
3754
+ }, Vc = {
3757
3755
  href: "https://github.com/templatical/sdk",
3758
3756
  target: "_blank",
3759
3757
  rel: "noopener noreferrer",
3760
3758
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
3761
3759
  style: { "text-decoration": "none" }
3762
- }, Uc = /* @__PURE__ */ f({
3760
+ }, Hc = /* @__PURE__ */ f({
3763
3761
  __name: "EditorFooter",
3764
3762
  props: { positionClass: {} },
3765
3763
  setup(e) {
3766
3764
  let { t } = U();
3767
- return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Vc, [
3765
+ return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Bc, [
3768
3766
  p("span", null, c(x(t).footer.poweredBy), 1),
3769
3767
  i[0] ||= p("a", {
3770
3768
  href: "https://templatical.com",
@@ -3779,32 +3777,32 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3779
3777
  alt: ""
3780
3778
  }), b(" Templatical ")], -1),
3781
3779
  i[1] ||= p("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
3782
- p("a", Hc, c(x(t).footer.openSource), 1)
3780
+ p("a", Vc, c(x(t).footer.openSource), 1)
3783
3781
  ])], 2));
3784
3782
  }
3785
- }), Wc = ["aria-labelledby", "data-tpl-theme"], Gc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Kc = ["id"], qc = ["aria-label"], Jc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Yc = [
3783
+ }), Uc = ["aria-labelledby", "data-tpl-theme"], Wc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Gc = ["id"], Kc = ["aria-label"], qc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Jc = [
3786
3784
  "id",
3787
3785
  "placeholder",
3788
3786
  "aria-label",
3789
3787
  "aria-activedescendant"
3790
- ], Xc = {
3788
+ ], Yc = {
3791
3789
  key: 0,
3792
3790
  class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
3793
3791
  "data-testid": "merge-tag-picker-group-pills"
3794
- }, Zc = ["data-group-name", "onClick"], Qc = ["aria-label"], $c = {
3792
+ }, Xc = ["data-group-name", "onClick"], Zc = ["aria-label"], Qc = {
3795
3793
  key: 0,
3796
3794
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3797
3795
  "data-testid": "merge-tag-picker-empty"
3798
- }, el = {
3796
+ }, $c = {
3799
3797
  key: 1,
3800
3798
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3801
3799
  "data-testid": "merge-tag-picker-empty"
3802
- }, tl = [
3800
+ }, el = [
3803
3801
  "aria-expanded",
3804
3802
  "data-group-name",
3805
3803
  "data-group-collapsed",
3806
3804
  "onClick"
3807
- ], nl = { class: "tpl:ml-1 tpl:font-normal" }, rl = [
3805
+ ], tl = { class: "tpl:ml-1 tpl:font-normal" }, nl = [
3808
3806
  "id",
3809
3807
  "aria-selected",
3810
3808
  "data-selected",
@@ -3813,10 +3811,10 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3813
3811
  "title",
3814
3812
  "onMousemove",
3815
3813
  "onClick"
3816
- ], il = { class: "tpl:text-sm tpl:font-medium" }, al = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ol = {
3814
+ ], rl = { class: "tpl:text-sm tpl:font-medium" }, il = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, al = {
3817
3815
  key: 0,
3818
3816
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3819
- }, sl = "tpl-merge-tag-picker-list", cl = /* @__PURE__ */ f({
3817
+ }, ol = "tpl-merge-tag-picker-list", sl = /* @__PURE__ */ f({
3820
3818
  __name: "MergeTagPickerModal",
3821
3819
  setup(r) {
3822
3820
  let a = ze(Be, "MergeTagPickerModal"), { t: o, format: u } = U(), f = D(He, null), h = D(at, null), _ = d(""), v = Pe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0), M = w(() => a.tags.value.some((e) => !!e.group)), P = d(/* @__PURE__ */ new Set());
@@ -3929,13 +3927,13 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3929
3927
  }
3930
3928
  }
3931
3929
  function se() {
3932
- if (B.value.length !== 0) return `${sl}-opt-${O.value}`;
3930
+ if (B.value.length !== 0) return `${ol}-opt-${O.value}`;
3933
3931
  }
3934
3932
  function ce(e) {
3935
- return `${sl}-opt-${e}`;
3933
+ return `${ol}-opt-${e}`;
3936
3934
  }
3937
3935
  let le = w(() => a.tags.value.length === 0), ue = w(() => !le.value && L.value.length === 0), de = w(() => M.value && R.value.length > 1 && !S.value);
3938
- return (r, i) => (s(), y(Ht, {
3936
+ return (r, i) => (s(), y(Vt, {
3939
3937
  visible: x(a).isOpen.value,
3940
3938
  onClose: ee,
3941
3939
  onKeydown: oe
@@ -3943,16 +3941,16 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3943
3941
  default: l(() => [p("div", {
3944
3942
  role: "dialog",
3945
3943
  "aria-modal": "true",
3946
- "aria-labelledby": `${sl}-title`,
3944
+ "aria-labelledby": `${ol}-title`,
3947
3945
  "data-tpl-theme": x(h),
3948
3946
  "data-testid": "merge-tag-picker-modal",
3949
3947
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
3950
3948
  style: t(x(f))
3951
3949
  }, [
3952
- p("header", Gc, [p("h2", {
3953
- id: `${sl}-title`,
3950
+ p("header", Wc, [p("h2", {
3951
+ id: `${ol}-title`,
3954
3952
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3955
- }, c(x(o).mergeTag.picker.title), 9, Kc), p("button", {
3953
+ }, c(x(o).mergeTag.picker.title), 9, Gc), p("button", {
3956
3954
  type: "button",
3957
3955
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3958
3956
  "aria-label": x(o).mergeTag.picker.close,
@@ -3961,13 +3959,13 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3961
3959
  }, [g(x(Tt), {
3962
3960
  size: 16,
3963
3961
  "stroke-width": 2
3964
- })], 8, qc)]),
3965
- p("div", Jc, [g(x(dt), {
3962
+ })], 8, Kc)]),
3963
+ p("div", qc, [g(x(dt), {
3966
3964
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
3967
3965
  size: 14,
3968
3966
  "stroke-width": 2
3969
3967
  }), k(p("input", {
3970
- id: `${sl}-search`,
3968
+ id: `${ol}-search`,
3971
3969
  ref_key: "searchInputRef",
3972
3970
  ref: b,
3973
3971
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -3975,34 +3973,34 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
3975
3973
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
3976
3974
  placeholder: x(o).mergeTag.picker.searchPlaceholder,
3977
3975
  "aria-label": x(o).mergeTag.picker.searchAriaLabel,
3978
- "aria-controls": sl,
3976
+ "aria-controls": ol,
3979
3977
  "aria-activedescendant": se(),
3980
3978
  "data-testid": "merge-tag-picker-search",
3981
3979
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
3982
- }, null, 40, Yc), [[A, _.value]])]),
3983
- de.value ? (s(), m("div", Xc, [(s(!0), m(C, null, e(R.value, (e) => (s(), m("button", {
3980
+ }, null, 40, Jc), [[A, _.value]])]),
3981
+ de.value ? (s(), m("div", Yc, [(s(!0), m(C, null, e(R.value, (e) => (s(), m("button", {
3984
3982
  key: e,
3985
3983
  type: "button",
3986
3984
  class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3987
3985
  "data-testid": "merge-tag-picker-group-pill",
3988
3986
  "data-group-name": e,
3989
3987
  onClick: (t) => ae(e)
3990
- }, c(e), 9, Zc))), 128))])) : T("", !0),
3988
+ }, c(e), 9, Xc))), 128))])) : T("", !0),
3991
3989
  p("div", {
3992
- id: sl,
3990
+ id: ol,
3993
3991
  ref_key: "listRef",
3994
3992
  ref: ne,
3995
3993
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3996
3994
  role: "listbox",
3997
3995
  "aria-label": x(o).mergeTag.picker.title,
3998
3996
  "data-testid": "merge-tag-picker-list"
3999
- }, [le.value ? (s(), m("div", $c, c(x(o).mergeTag.picker.empty), 1)) : ue.value ? (s(), m("div", el, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
3997
+ }, [le.value ? (s(), m("div", Qc, c(x(o).mergeTag.picker.empty), 1)) : ue.value ? (s(), m("div", $c, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
4000
3998
  key: 0,
4001
3999
  ref_for: !0,
4002
4000
  ref: (t) => re(e.group, t),
4003
4001
  type: "button",
4004
4002
  "aria-expanded": !F(e.group),
4005
- "aria-controls": sl,
4003
+ "aria-controls": ol,
4006
4004
  class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
4007
4005
  "data-testid": "merge-tag-picker-group-header",
4008
4006
  "data-group-name": e.group,
@@ -4015,8 +4013,8 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4015
4013
  class: n(["tpl:transition-transform", F(e.group) ? "tpl:-rotate-90" : ""])
4016
4014
  }, null, 8, ["class"]),
4017
4015
  p("span", null, c(e.group), 1),
4018
- p("span", nl, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4019
- ], 8, tl)) : (s(), m("button", {
4016
+ p("span", tl, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4017
+ ], 8, el)) : (s(), m("button", {
4020
4018
  key: 1,
4021
4019
  id: ce(e.index),
4022
4020
  type: "button",
@@ -4031,15 +4029,15 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4031
4029
  onMousemove: (t) => O.value = e.index,
4032
4030
  onClick: (t) => V(e.tag)
4033
4031
  }, [
4034
- p("span", il, c(e.tag.label), 1),
4035
- p("span", al, c(e.tag.value), 1),
4036
- e.tag.description ? (s(), m("span", ol, c(e.tag.description), 1)) : T("", !0)
4037
- ], 42, rl))], 64))), 128))], 8, Qc)
4038
- ], 12, Wc)]),
4032
+ p("span", rl, c(e.tag.label), 1),
4033
+ p("span", il, c(e.tag.value), 1),
4034
+ e.tag.description ? (s(), m("span", al, c(e.tag.description), 1)) : T("", !0)
4035
+ ], 42, nl))], 64))), 128))], 8, Zc)
4036
+ ], 12, Uc)]),
4039
4037
  _: 1
4040
4038
  }, 8, ["visible"]));
4041
4039
  }
4042
- }), ll = ["data-logic-keyword"], ul = /* @__PURE__ */ f({
4040
+ }), cl = ["data-logic-keyword"], ll = /* @__PURE__ */ f({
4043
4041
  __name: "LogicTagBadge",
4044
4042
  props: {
4045
4043
  value: {},
@@ -4056,22 +4054,22 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4056
4054
  },
4057
4055
  "data-testid": "merge-tag-logic-badge",
4058
4056
  "data-logic-keyword": r.value
4059
- }, c(r.value), 9, ll)) : T("", !0);
4057
+ }, c(r.value), 9, cl)) : T("", !0);
4060
4058
  }
4061
- }), dl = ["aria-labelledby", "data-tpl-theme"], fl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, pl = ["id"], ml = ["aria-label"], hl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, gl = [
4059
+ }), ul = ["aria-labelledby", "data-tpl-theme"], dl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, fl = ["id"], pl = ["aria-label"], ml = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, hl = [
4062
4060
  "id",
4063
4061
  "placeholder",
4064
4062
  "aria-label",
4065
4063
  "aria-activedescendant"
4066
- ], _l = ["aria-label"], vl = {
4064
+ ], gl = ["aria-label"], _l = {
4067
4065
  key: 0,
4068
4066
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4069
4067
  "data-testid": "logic-picker-empty"
4070
- }, yl = {
4068
+ }, vl = {
4071
4069
  key: 1,
4072
4070
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4073
4071
  "data-testid": "logic-picker-empty"
4074
- }, bl = ["data-group-name"], xl = [
4072
+ }, yl = ["data-group-name"], bl = [
4075
4073
  "id",
4076
4074
  "aria-selected",
4077
4075
  "data-selected",
@@ -4079,16 +4077,16 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4079
4077
  "data-logic-kind",
4080
4078
  "onMousemove",
4081
4079
  "onClick"
4082
- ], Sl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Cl = { class: "tpl:text-sm tpl:font-medium" }, wl = {
4080
+ ], xl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Sl = { class: "tpl:text-sm tpl:font-medium" }, Cl = {
4083
4081
  key: 0,
4084
4082
  class: "tpl:flex tpl:items-center"
4085
- }, Tl = {
4083
+ }, wl = {
4086
4084
  key: 1,
4087
4085
  class: "tpl:flex tpl:items-center tpl:gap-1"
4088
- }, El = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Dl = {
4086
+ }, Tl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, El = {
4089
4087
  key: 0,
4090
4088
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
4091
- }, Ol = "tpl-logic-picker-list", kl = /* @__PURE__ */ f({
4089
+ }, Dl = "tpl-logic-picker-list", Ol = /* @__PURE__ */ f({
4092
4090
  __name: "LogicTagPickerModal",
4093
4091
  setup(r) {
4094
4092
  let a = ze(it, "LogicTagPickerModal"), { t: o } = U(), u = D(We, B.liquid), f = D(He, null), h = D(at, null), _ = d(""), v = Pe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0);
@@ -4174,12 +4172,12 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4174
4172
  }
4175
4173
  }
4176
4174
  function oe(e) {
4177
- return `${Ol}-opt-${e}`;
4175
+ return `${Dl}-opt-${e}`;
4178
4176
  }
4179
4177
  function se() {
4180
- return V.value.length === 0 ? void 0 : `${Ol}-opt-${O.value}`;
4178
+ return V.value.length === 0 ? void 0 : `${Dl}-opt-${O.value}`;
4181
4179
  }
4182
- return (r, i) => (s(), y(Ht, {
4180
+ return (r, i) => (s(), y(Vt, {
4183
4181
  visible: x(a).isOpen.value,
4184
4182
  onClose: re,
4185
4183
  onKeydown: ae
@@ -4187,16 +4185,16 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4187
4185
  default: l(() => [p("div", {
4188
4186
  role: "dialog",
4189
4187
  "aria-modal": "true",
4190
- "aria-labelledby": `${Ol}-title`,
4188
+ "aria-labelledby": `${Dl}-title`,
4191
4189
  "data-tpl-theme": x(h),
4192
4190
  "data-testid": "logic-picker-modal",
4193
4191
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
4194
4192
  style: t(x(f))
4195
4193
  }, [
4196
- p("header", fl, [p("h2", {
4197
- id: `${Ol}-title`,
4194
+ p("header", dl, [p("h2", {
4195
+ id: `${Dl}-title`,
4198
4196
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
4199
- }, c(x(o).logicTag.picker.title), 9, pl), p("button", {
4197
+ }, c(x(o).logicTag.picker.title), 9, fl), p("button", {
4200
4198
  type: "button",
4201
4199
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
4202
4200
  "aria-label": x(o).logicTag.picker.close,
@@ -4205,13 +4203,13 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4205
4203
  }, [g(x(Tt), {
4206
4204
  size: 16,
4207
4205
  "stroke-width": 2
4208
- })], 8, ml)]),
4209
- p("div", hl, [g(x(dt), {
4206
+ })], 8, pl)]),
4207
+ p("div", ml, [g(x(dt), {
4210
4208
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
4211
4209
  size: 14,
4212
4210
  "stroke-width": 2
4213
4211
  }), k(p("input", {
4214
- id: `${Ol}-search`,
4212
+ id: `${Dl}-search`,
4215
4213
  ref_key: "searchInputRef",
4216
4214
  ref: b,
4217
4215
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -4219,25 +4217,25 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4219
4217
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
4220
4218
  placeholder: x(o).logicTag.picker.searchPlaceholder,
4221
4219
  "aria-label": x(o).logicTag.picker.searchAriaLabel,
4222
- "aria-controls": Ol,
4220
+ "aria-controls": Dl,
4223
4221
  "aria-activedescendant": se(),
4224
4222
  "data-testid": "logic-picker-search",
4225
4223
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
4226
- }, null, 40, gl), [[A, _.value]])]),
4224
+ }, null, 40, hl), [[A, _.value]])]),
4227
4225
  p("div", {
4228
- id: Ol,
4226
+ id: Dl,
4229
4227
  ref_key: "listRef",
4230
4228
  ref: ne,
4231
4229
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4232
4230
  role: "listbox",
4233
4231
  "aria-label": x(o).logicTag.picker.title,
4234
4232
  "data-testid": "logic-picker-list"
4235
- }, [ee.value ? (s(), m("div", vl, c(x(o).logicTag.picker.empty), 1)) : te.value ? (s(), m("div", yl, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4233
+ }, [ee.value ? (s(), m("div", _l, c(x(o).logicTag.picker.empty), 1)) : te.value ? (s(), m("div", vl, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4236
4234
  key: 0,
4237
4235
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
4238
4236
  "data-testid": "logic-picker-header",
4239
4237
  "data-group-name": e.label
4240
- }, c(e.label), 9, bl)) : (s(), m("button", {
4238
+ }, c(e.label), 9, yl)) : (s(), m("button", {
4241
4239
  key: 1,
4242
4240
  id: oe(e.index),
4243
4241
  type: "button",
@@ -4251,27 +4249,27 @@ var yo = { class: "tpl:mb-3.5" }, bo = ["value"], xo = ["value"], So = {
4251
4249
  onMousemove: (t) => O.value = e.index,
4252
4250
  onClick: (t) => H(e.kind === "tag" ? e.tag : e.pair)
4253
4251
  }, [
4254
- p("span", Sl, [p("span", Cl, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", wl, [g(ul, {
4252
+ p("span", xl, [p("span", Sl, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", Cl, [g(ll, {
4255
4253
  value: e.tag.value,
4256
4254
  syntax: x(u)
4257
- }, null, 8, ["value", "syntax"])])) : (s(), m("span", Tl, [
4258
- g(ul, {
4255
+ }, null, 8, ["value", "syntax"])])) : (s(), m("span", wl, [
4256
+ g(ll, {
4259
4257
  value: e.pair.before,
4260
4258
  syntax: x(u)
4261
4259
  }, null, 8, ["value", "syntax"]),
4262
4260
  i[2] ||= p("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
4263
- g(ul, {
4261
+ g(ll, {
4264
4262
  value: e.pair.after,
4265
4263
  syntax: x(u)
4266
4264
  }, null, 8, ["value", "syntax"])
4267
4265
  ]))]),
4268
- p("span", El, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4269
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", Dl, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4270
- ], 42, xl))], 64))), 128))], 8, _l)
4271
- ], 12, dl)]),
4266
+ p("span", Tl, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4267
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", El, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4268
+ ], 42, bl))], 64))), 128))], 8, gl)
4269
+ ], 12, ul)]),
4272
4270
  _: 1
4273
4271
  }, 8, ["visible"]));
4274
4272
  }
4275
4273
  });
4276
4274
  //#endregion
4277
- export { Rc as a, Oc as c, gn as d, an as f, Bc as i, En as l, Zt as m, cl as n, Ic as o, rn as p, Uc as r, Nc as s, kl as t, _n as u };
4275
+ export { Lc as a, Dc as c, hn as d, rn as f, zc as i, Tn as l, Xt as m, sl as n, Fc as o, nn as p, Hc as r, Mc as s, Ol as t, gn as u };