@templatical/editor 0.16.4 → 0.17.0

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 (120) hide show
  1. package/dist/{AiChatSidebar-CYAbVB2G.js → AiChatSidebar-LxCHMdcj.js} +1 -1
  2. package/dist/{AiFeatureMenu-BPCkrHAS.js → AiFeatureMenu-zwSmx9ZW.js} +3 -3
  3. package/dist/{BlockIssueBadge-BLytBabN.js → BlockIssueBadge-BQ1yB1me.js} +2 -2
  4. package/dist/{CloudEditor-v8ARYaFW.js → CloudEditor-5ahgKRX8.js} +11 -10
  5. package/dist/{CollaboratorBar-BQzKZ2zo.js → CollaboratorBar-6PtX-1AS.js} +2 -2
  6. package/dist/{ColorPicker-Cab6U2sH.js → ColorPicker-DfzDyNKe.js} +57 -58
  7. package/dist/{CommentsSidebar-C_XLBbo3.js → CommentsSidebar-Cl93TN96.js} +3 -3
  8. package/dist/{CountdownBlock-173fiO5Z.js → CountdownBlock-DbXfzwae.js} +1 -1
  9. package/dist/{CountdownToolbar-q3umZ7TZ.js → CountdownToolbar-BqaMWRyB.js} +3 -3
  10. package/dist/{DesignReferenceSidebar-Bh9uAZ4B.js → DesignReferenceSidebar-jVrdS8wW.js} +2 -2
  11. package/dist/{IssuesPanel-DltSuU6H.js → IssuesPanel-Bq3yXg6M.js} +2 -2
  12. package/dist/{MergeTagSuggestion-DrT3LiZ4.js → MergeTagSuggestion-jIpT_jmz.js} +7 -5
  13. package/dist/{ModuleBrowserModal-CzzChPmN.js → ModuleBrowserModal-B5IH3-1I.js} +7 -7
  14. package/dist/{ModulePreviewCanvas-C0Q2n3FL.js → ModulePreviewCanvas-CYOLWoZ9.js} +2 -2
  15. package/dist/{NumberWithSuffix-Bhm2ByHs.js → NumberWithSuffix-9FG7mNnn.js} +1 -1
  16. package/dist/{ParagraphEditor-BhsBi8p8.js → ParagraphEditor-duWYA6Vv.js} +38 -39
  17. package/dist/{RichTextEditorContent-ef0fdj6e.js → RichTextEditorContent-DCzmVeyb.js} +13 -13
  18. package/dist/{SaveModuleDialog-BNN3dcxD.js → SaveModuleDialog-BPUly5h3.js} +6 -6
  19. package/dist/{SnapshotHistory-tWvgMCe6.js → SnapshotHistory-CmwU3nlN.js} +4 -4
  20. package/dist/{TemplateScoringPanel-ZhObHWeb.js → TemplateScoringPanel-CMrfa9Rd.js} +3 -3
  21. package/dist/{TestEmailModal-EdwEcsrD.js → TestEmailModal-zfomMz9i.js} +3 -3
  22. package/dist/{TitleEditor-DdvRepBq.js → TitleEditor-v0gtezZE.js} +18 -18
  23. package/dist/{TplModal-Niu4Y96-.js → TplModal-eGFG7k-y.js} +4 -4
  24. package/dist/{blockTypeIcons-DHcYPMB8.js → blockTypeIcons-Dd0w4T0I.js} +1 -1
  25. package/dist/bundle-stats.json +7 -7
  26. package/dist/{ca-DI1ViqMa.js → ca-CSl--oWR.js} +1 -1
  27. package/dist/cdn/chunks/{AiFeatureMenu-AoUwsqor.js → AiFeatureMenu-CtXsam7G.js} +6 -6
  28. package/dist/cdn/chunks/{AiFeatureMenu-AoUwsqor.js.map → AiFeatureMenu-CtXsam7G.js.map} +1 -1
  29. package/dist/cdn/chunks/{BlockIssueBadge-DZU3CfEN.js → BlockIssueBadge-DR7cpDfQ.js} +4 -4
  30. package/dist/cdn/chunks/{BlockIssueBadge-DZU3CfEN.js.map → BlockIssueBadge-DR7cpDfQ.js.map} +1 -1
  31. package/dist/cdn/chunks/{CloudEditor-BrZLF_m1.js → CloudEditor-YC5y3AwC.js} +131 -130
  32. package/dist/cdn/chunks/CloudEditor-YC5y3AwC.js.map +1 -0
  33. package/dist/cdn/chunks/{CollaboratorBar-BAC56ez6.js → CollaboratorBar-BOD2j8Kl.js} +3 -3
  34. package/dist/cdn/chunks/{CollaboratorBar-BAC56ez6.js.map → CollaboratorBar-BOD2j8Kl.js.map} +1 -1
  35. package/dist/cdn/chunks/{ColorPicker-DLEoT419.js → ColorPicker-CPMWLHpa.js} +144 -144
  36. package/dist/cdn/chunks/ColorPicker-CPMWLHpa.js.map +1 -0
  37. package/dist/cdn/chunks/{CountdownBlock-BOF9aTXF.js → CountdownBlock-BmGqb7Zi.js} +4 -4
  38. package/dist/cdn/chunks/{CountdownBlock-BOF9aTXF.js.map → CountdownBlock-BmGqb7Zi.js.map} +1 -1
  39. package/dist/cdn/chunks/{CountdownToolbar-C9bQ5k4E.js → CountdownToolbar-BBwsdGbV.js} +4 -4
  40. package/dist/cdn/chunks/{CountdownToolbar-C9bQ5k4E.js.map → CountdownToolbar-BBwsdGbV.js.map} +1 -1
  41. package/dist/cdn/chunks/{IssuesPanel-CHwYahKK.js → IssuesPanel-G0z-j3JS.js} +7 -7
  42. package/dist/cdn/chunks/{IssuesPanel-CHwYahKK.js.map → IssuesPanel-G0z-j3JS.js.map} +1 -1
  43. package/dist/cdn/chunks/{MergeTagSuggestion-jesxS7An.js → MergeTagSuggestion-rpZ6Ol-i.js} +8 -6
  44. package/dist/cdn/chunks/MergeTagSuggestion-rpZ6Ol-i.js.map +1 -0
  45. package/dist/cdn/chunks/{ModuleBrowserModal-iSXXpAUk.js → ModuleBrowserModal-DiLTY0ec.js} +8 -8
  46. package/dist/cdn/chunks/{ModuleBrowserModal-iSXXpAUk.js.map → ModuleBrowserModal-DiLTY0ec.js.map} +1 -1
  47. package/dist/cdn/chunks/{ModulePreviewCanvas-DIy0MZj2.js → ModulePreviewCanvas-CdV5mEQ6.js} +32 -32
  48. package/dist/cdn/chunks/{ModulePreviewCanvas-DIy0MZj2.js.map → ModulePreviewCanvas-CdV5mEQ6.js.map} +1 -1
  49. package/dist/cdn/chunks/{NumberWithSuffix-vPdOG2lO.js → NumberWithSuffix-lqQlf0Uk.js} +2 -2
  50. package/dist/cdn/chunks/{NumberWithSuffix-vPdOG2lO.js.map → NumberWithSuffix-lqQlf0Uk.js.map} +1 -1
  51. package/dist/cdn/chunks/{ParagraphEditor-D7znI_X1.js → ParagraphEditor-BYoZfURd.js} +75 -75
  52. package/dist/cdn/chunks/ParagraphEditor-BYoZfURd.js.map +1 -0
  53. package/dist/cdn/chunks/{RichTextEditorContent-DVwGHbO6.js → RichTextEditorContent-BnPRnXxy.js} +6 -6
  54. package/dist/cdn/chunks/{RichTextEditorContent-DVwGHbO6.js.map → RichTextEditorContent-BnPRnXxy.js.map} +1 -1
  55. package/dist/cdn/chunks/{SaveModuleDialog-D2_qPtE9.js → SaveModuleDialog-C9hUeWyG.js} +20 -20
  56. package/dist/cdn/chunks/{SaveModuleDialog-D2_qPtE9.js.map → SaveModuleDialog-C9hUeWyG.js.map} +1 -1
  57. package/dist/cdn/chunks/{TitleEditor-CKjZ6Cgp.js → TitleEditor-wFvnU3Jr.js} +9 -9
  58. package/dist/cdn/chunks/TitleEditor-wFvnU3Jr.js.map +1 -0
  59. package/dist/cdn/chunks/{blockTypeIcons-BKecgdgr.js → blockTypeIcons-DNMvDz5B.js} +7 -7
  60. package/dist/cdn/chunks/{blockTypeIcons-BKecgdgr.js.map → blockTypeIcons-DNMvDz5B.js.map} +1 -1
  61. package/dist/cdn/chunks/{ca-DI1ViqMa.js → ca-CSl--oWR.js} +2 -2
  62. package/dist/cdn/chunks/ca-CSl--oWR.js.map +1 -0
  63. package/dist/cdn/chunks/{de-q9lTCMre.js → de-ZaffrKDP.js} +2 -2
  64. package/dist/cdn/chunks/de-ZaffrKDP.js.map +1 -0
  65. package/dist/cdn/chunks/{en-CR4LItrX.js → en-CHuXeJDt.js} +2 -2
  66. package/dist/cdn/chunks/en-CHuXeJDt.js.map +1 -0
  67. package/dist/cdn/chunks/{es-CEt-lrGd.js → es-CaC8VQjO.js} +2 -2
  68. package/dist/cdn/chunks/es-CaC8VQjO.js.map +1 -0
  69. package/dist/cdn/chunks/{extensions-OZTN_skA.js → extensions-DxcxIlwT.js} +29 -29
  70. package/dist/cdn/chunks/{extensions-OZTN_skA.js.map → extensions-DxcxIlwT.js.map} +1 -1
  71. package/dist/cdn/chunks/{features-Bo7H8WNI.js → features-B3qgDBHf.js} +727 -677
  72. package/dist/cdn/chunks/features-B3qgDBHf.js.map +1 -0
  73. package/dist/cdn/chunks/{icons-BrNSrnyT.js → icons-kiMqh99T.js} +2 -2
  74. package/dist/cdn/chunks/{icons-BrNSrnyT.js.map → icons-kiMqh99T.js.map} +1 -1
  75. package/dist/cdn/chunks/{media-library-Cec5DMR3.js → media-library-C5ogiZ4f.js} +451 -451
  76. package/dist/cdn/chunks/{media-library-Cec5DMR3.js.map → media-library-C5ogiZ4f.js.map} +1 -1
  77. package/dist/cdn/chunks/{pt-BR-DvBHY0AA.js → pt-BR-C74zfEWH.js} +2 -2
  78. package/dist/cdn/chunks/pt-BR-C74zfEWH.js.map +1 -0
  79. package/dist/cdn/chunks/{quality-Dd2iYgRf.js → quality-BftAn_AJ.js} +512 -512
  80. package/dist/cdn/chunks/{quality-Dd2iYgRf.js.map → quality-BftAn_AJ.js.map} +1 -1
  81. package/dist/cdn/chunks/{renderer-Br-qXdnQ.js → renderer-Cdlo4MVX.js} +16 -16
  82. package/dist/cdn/chunks/{renderer-Br-qXdnQ.js.map → renderer-Cdlo4MVX.js.map} +1 -1
  83. package/dist/cdn/chunks/{src-BH8PABpF.js → src-GBA8oUL2.js} +6 -6
  84. package/dist/cdn/chunks/{src-BH8PABpF.js.map → src-GBA8oUL2.js.map} +1 -1
  85. package/dist/cdn/chunks/{styles-nqo5BynI.js → styles-B6rdq9JB.js} +219 -219
  86. package/dist/cdn/chunks/styles-B6rdq9JB.js.map +1 -0
  87. package/dist/cdn/editor.css +1 -1
  88. package/dist/cdn/editor.js +53 -52
  89. package/dist/cdn/editor.js.map +1 -1
  90. package/dist/{de-q9lTCMre.js → de-ZaffrKDP.js} +1 -1
  91. package/dist/{en-CR4LItrX.js → en-CHuXeJDt.js} +1 -1
  92. package/dist/{es-CEt-lrGd.js → es-CaC8VQjO.js} +1 -1
  93. package/dist/{extensions-B2poxDIo.js → extensions-B4lu0KkE.js} +3 -3
  94. package/dist/index.d.ts +56 -0
  95. package/dist/keys-WVNarXg8.js +10 -0
  96. package/dist/{pt-BR-DvBHY0AA.js → pt-BR-C74zfEWH.js} +1 -1
  97. package/dist/style.css +1 -1
  98. package/dist/{styles-DN4J7w-C.js → styles-mBSbDYeX.js} +98 -98
  99. package/dist/templatical-editor.js +11 -10
  100. package/dist/{useCloudI18n-WbfVWq5k.js → useCloudI18n-CIKI0hCd.js} +1 -1
  101. package/dist/{useEditorCore-DBq2689h.js → useEditorCore-CaaHPKjm.js} +715 -684
  102. package/dist/{useI18n-eR1yVW0v.js → useI18n-0EU_JVe7.js} +1 -1
  103. package/dist/{useMergeTag-C3GfSktg.js → useMergeTag-C7v6MVah.js} +2 -2
  104. package/dist/usePopoverPosition-BDqqnMeo.js +281 -0
  105. package/package.json +7 -7
  106. package/dist/cdn/chunks/CloudEditor-BrZLF_m1.js.map +0 -1
  107. package/dist/cdn/chunks/ColorPicker-DLEoT419.js.map +0 -1
  108. package/dist/cdn/chunks/MergeTagSuggestion-jesxS7An.js.map +0 -1
  109. package/dist/cdn/chunks/ParagraphEditor-D7znI_X1.js.map +0 -1
  110. package/dist/cdn/chunks/TitleEditor-CKjZ6Cgp.js.map +0 -1
  111. package/dist/cdn/chunks/ca-DI1ViqMa.js.map +0 -1
  112. package/dist/cdn/chunks/de-q9lTCMre.js.map +0 -1
  113. package/dist/cdn/chunks/en-CR4LItrX.js.map +0 -1
  114. package/dist/cdn/chunks/es-CEt-lrGd.js.map +0 -1
  115. package/dist/cdn/chunks/features-Bo7H8WNI.js.map +0 -1
  116. package/dist/cdn/chunks/pt-BR-DvBHY0AA.js.map +0 -1
  117. package/dist/cdn/chunks/styles-nqo5BynI.js.map +0 -1
  118. package/dist/color-DhoxCSMv.js +0 -259
  119. package/dist/keys-BbDgCU6K.js +0 -10
  120. package/dist/usePopoverRoot-C1j0D7cc.js +0 -8
@@ -1,37 +1,37 @@
1
1
  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 c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, l as v, m as y, nt as b, q as x, r as S, s as C, u as w, w as T, x as E, y as D, z as O } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
2
  import { a as k, c as A, o as j, s as M, t as N } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
3
  import { C as P, D as F, E as I, O as L, k as R, o as z, r as B, s as V, u as ee, w as te } from "./dist-DoRIUsfz.js";
4
- import { C as ne, F as H, I as re, L as ie, M as ae, N as oe, O as se, P as ce, R as le, _ as ue, a as de, c as fe, f as pe, g as me, h as he, i as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, s as Ce, u as we, v as Te, y as Ee, z as De } from "./useEditorCore-DBq2689h.js";
4
+ import { C as ne, F as H, I as re, L as ie, M as ae, N as oe, O as se, P as ce, R as le, _ as ue, a as de, c as fe, f as pe, g as me, h as he, i as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, s as Ce, u as we, v as Te, y as Ee, z as De } from "./useEditorCore-CaaHPKjm.js";
5
5
  import { c as Oe, m as ke } from "./dist-DYv_Pttj.js";
6
- import { D as Ae, F as je, I as Me, L as Ne, N as Pe, P as Fe, T as Ie, a as Le, d as Re, f as ze, g as Be, k as Ve, m as He, n as Ue, o as We, p as Ge, s as Ke, u as qe, w as Je, x as Ye } from "./keys-BbDgCU6K.js";
7
- import { t as U } from "./useI18n-eR1yVW0v.js";
6
+ import { n as Ae } from "./usePopoverPosition-BDqqnMeo.js";
7
+ import { A as je, E as Me, F as Ne, I as Pe, L as Fe, O as Ie, P as Le, R as Re, S as ze, T as Be, a as Ve, d as He, f as Ue, g as We, m as Ge, n as Ke, o as qe, p as Je, s as Ye, u as Xe } from "./keys-WVNarXg8.js";
8
+ import { t as U } from "./useI18n-0EU_JVe7.js";
8
9
  import { t as W } from "./createLucideIcon-FSF4peHQ.js";
9
- import { n as Xe, t as Ze } from "./scan-line-IAMjPtRw.js";
10
- import { t as Qe } from "./chevron-down-dClfxKrJ.js";
11
- import { t as $e } from "./circle-alert-Bhzm-fNA.js";
12
- import { i as et, n as tt, r as nt, t as rt } from "./blockTypeIcons-DHcYPMB8.js";
13
- import { n as it, t as at } from "./refresh-cw-as5Bmg4X.js";
14
- import { t as ot } from "./image-up-CDEgJqwA.js";
15
- import { t as st } from "./info-BNP8yGsK.js";
16
- import { t as ct } from "./list-checks-jepi4iYr.js";
17
- import { t as lt } from "./loader-circle-BT38qSm3.js";
18
- import { t as ut } from "./sparkles-CCwQMMMZ.js";
19
- import { n as dt, r as ft, t as pt } from "./text-align-start-BwsA6QzC.js";
20
- import { t as mt } from "./trash-2-CRBDolnR.js";
21
- import { t as ht } from "./upload-BKg6hDRW.js";
22
- import { t as gt } from "./x-Ctg_250T.js";
23
- import { t as _t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
24
- import { t as vt } from "./useCloudI18n-WbfVWq5k.js";
25
- import { t as yt } from "./useMergeTag-C3GfSktg.js";
26
- import { t as bt } from "./useAliveFlag-C43EhZFY.js";
27
- import { t as xt } from "./readableTextColor-f8Kykfnh.js";
28
- import { t as St } from "./CountdownBlock-173fiO5Z.js";
29
- import { t as Ct } from "./usePopoverRoot-C1j0D7cc.js";
30
- import { _ as wt, f as G, g as Tt, h as K, i as Et, l as Dt, m as q, n as Ot, p as J, t as Y, u as kt } from "./ColorPicker-Cab6U2sH.js";
31
- import { n as At, r as jt } from "./MergeTagSuggestion-DrT3LiZ4.js";
10
+ import { n as Ze, t as Qe } from "./scan-line-IAMjPtRw.js";
11
+ import { t as $e } from "./chevron-down-dClfxKrJ.js";
12
+ import { t as et } from "./circle-alert-Bhzm-fNA.js";
13
+ import { i as tt, n as nt, r as rt, t as it } from "./blockTypeIcons-Dd0w4T0I.js";
14
+ import { n as at, t as ot } from "./refresh-cw-as5Bmg4X.js";
15
+ import { t as st } from "./image-up-CDEgJqwA.js";
16
+ import { t as ct } from "./info-BNP8yGsK.js";
17
+ import { t as lt } from "./list-checks-jepi4iYr.js";
18
+ import { t as ut } from "./loader-circle-BT38qSm3.js";
19
+ import { t as dt } from "./sparkles-CCwQMMMZ.js";
20
+ import { n as ft, r as pt, t as mt } from "./text-align-start-BwsA6QzC.js";
21
+ import { t as ht } from "./trash-2-CRBDolnR.js";
22
+ import { t as gt } from "./upload-BKg6hDRW.js";
23
+ import { t as _t } from "./x-Ctg_250T.js";
24
+ import { t as vt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
25
+ import { t as yt } from "./useCloudI18n-CIKI0hCd.js";
26
+ import { t as bt } from "./useMergeTag-C7v6MVah.js";
27
+ import { t as xt } from "./useAliveFlag-C43EhZFY.js";
28
+ import { t as St } from "./readableTextColor-f8Kykfnh.js";
29
+ import { t as Ct } from "./CountdownBlock-DbXfzwae.js";
30
+ import { _ as wt, f as G, g as Tt, h as K, i as Et, l as Dt, m as q, n as Ot, p as J, t as Y, u as kt } from "./ColorPicker-DfzDyNKe.js";
31
+ import { n as At, r as jt } from "./MergeTagSuggestion-jIpT_jmz.js";
32
32
  import { t as X } from "./ToggleSwitch-DUNuUPsZ.js";
33
- import { n as Z, r as Mt, t as Nt } from "./NumberWithSuffix-Bhm2ByHs.js";
34
- import { t as Pt } from "./TplModal-Niu4Y96-.js";
33
+ import { n as Z, r as Mt, t as Nt } from "./NumberWithSuffix-9FG7mNnn.js";
34
+ import { t as Pt } from "./TplModal-eGFG7k-y.js";
35
35
  var Ft = W("circle", [["circle", {
36
36
  cx: "12",
37
37
  cy: "12",
@@ -252,7 +252,7 @@ var Xt = ["aria-label"], Zt = {
252
252
  }, rn = { class: "tpl:relative" }, an = {
253
253
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
254
254
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
255
- }, on = 96, sn = /*#__PURE__*/ _t(/* @__PURE__ */ f({
255
+ }, on = 96, sn = /*#__PURE__*/ vt(/* @__PURE__ */ f({
256
256
  __name: "Canvas",
257
257
  props: {
258
258
  viewport: {},
@@ -281,9 +281,9 @@ var Xt = ["aria-label"], Zt = {
281
281
  menu: ve,
282
282
  table: Se,
283
283
  video: ye,
284
- countdown: St,
284
+ countdown: Ct,
285
285
  custom: Ee
286
- }, u = r, f = i, { t: h } = U(), { t: _ } = vt(), x = Ne(He, "Canvas"), T = E(qe, null), D = E(We, null), k = E(Ke, {}), A = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("chat") ?? !1)), M = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = C({
286
+ }, u = r, f = i, { t: h } = U(), { t: _ } = yt(), x = Re(Ge, "Canvas"), T = E(Xe, null), D = E(qe, null), k = E(Ye, {}), A = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("chat") ?? !1)), M = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = C({
287
287
  get: () => u.content.blocks,
288
288
  set: (e) => {
289
289
  x.setContent({
@@ -389,7 +389,7 @@ var Xt = ["aria-label"], Zt = {
389
389
  p("button", {
390
390
  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)]",
391
391
  onClick: a[0] ||= (e) => f("open-ai-chat")
392
- }, [g(b(ut), {
392
+ }, [g(b(dt), {
393
393
  size: 14,
394
394
  "stroke-width": 2
395
395
  }), y(" " + c(b(_).aiMenu.aiAssistant), 1)]),
@@ -400,7 +400,7 @@ var Xt = ["aria-label"], Zt = {
400
400
  p("button", {
401
401
  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)]",
402
402
  onClick: a[1] ||= (e) => f("open-design-reference")
403
- }, [g(b(ot), {
403
+ }, [g(b(st), {
404
404
  size: 14,
405
405
  "stroke-width": 2
406
406
  }), y(" " + c(b(_).aiMenu.designToTemplate), 1)]),
@@ -420,7 +420,7 @@ var Xt = ["aria-label"], Zt = {
420
420
  class: "tpl:absolute tpl:-top-0.5 tpl:left-1/2 tpl:z-[5] tpl:flex tpl:-translate-x-1/2 tpl:-translate-y-full tpl:items-center tpl:gap-1 tpl:rounded-full tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:whitespace-nowrap",
421
421
  style: t({
422
422
  backgroundColor: H(e.id).color,
423
- color: b(xt)(H(e.id).color)
423
+ color: b(St)(H(e.id).color)
424
424
  })
425
425
  }, [p("span", an, c(H(e.id).name.charAt(0)), 1), y(" " + c(H(e.id).name), 1)], 4)], 4)) : w("", !0), g(we, {
426
426
  block: e,
@@ -458,7 +458,7 @@ var Xt = ["aria-label"], Zt = {
458
458
  }), [["__scopeId", "data-v-b440d13f"]]), cn = f({
459
459
  name: "CustomBlockStylesheets",
460
460
  setup() {
461
- let e = E(ze, null);
461
+ let e = E(Ue, null);
462
462
  return () => e ? e.value.map((e, t) => D("style", {
463
463
  key: t,
464
464
  "data-tpl-custom-block-stylesheet": "",
@@ -507,7 +507,7 @@ var un = ["aria-label"], dn = {
507
507
  }, vn = /* @__PURE__ */ f({
508
508
  __name: "Sidebar",
509
509
  setup(n) {
510
- let { t: r, format: a } = U(), { t: u } = vt(), f = E(Re, []), h = E(Ve, void 0), _ = E(Le, void 0), y = E(He, null), x = E(Ke, {}), T = C(() => (x.savedModules?.moduleCount.value ?? 0) > 0), D = d(!1), O = d(!1);
510
+ let { t: r, format: a } = U(), { t: u } = yt(), f = E(He, []), h = E(je, void 0), _ = E(Ve, void 0), y = E(Ge, null), x = E(Ye, {}), T = C(() => (x.savedModules?.moduleCount.value ?? 0) > 0), D = d(!1), O = d(!1);
511
511
  function k() {
512
512
  O.value || (D.value = !1);
513
513
  }
@@ -515,7 +515,7 @@ var un = ["aria-label"], dn = {
515
515
  O.value = !0;
516
516
  }
517
517
  function j() {
518
- O.value = !1;
518
+ O.value = !1, D.value = !1;
519
519
  }
520
520
  let M = [
521
521
  "section",
@@ -584,7 +584,7 @@ var un = ["aria-label"], dn = {
584
584
  style: t({ justifyContent: D.value ? "flex-start" : "center" }),
585
585
  onClick: i[0] ||= (e) => b(x).savedModules?.openBrowser()
586
586
  }, [
587
- g(b(nt), {
587
+ g(b(rt), {
588
588
  size: 20,
589
589
  "stroke-width": 1.5,
590
590
  class: "tpl:shrink-0"
@@ -615,7 +615,7 @@ var un = ["aria-label"], dn = {
615
615
  style: t({ justifyContent: D.value ? "flex-start" : "center" }),
616
616
  onClick: (t) => B(e),
617
617
  onKeydown: (t) => te(t, e)
618
- }, [p("div", gn, [b(rt)[e.type] ? (s(), v(o(b(rt)[e.type]), {
618
+ }, [p("div", gn, [b(it)[e.type] ? (s(), v(o(b(it)[e.type]), {
619
619
  key: 0,
620
620
  size: 20,
621
621
  "stroke-width": 1.5
@@ -687,7 +687,7 @@ var Cn = /* @__PURE__ */ new Set([
687
687
  "End"
688
688
  ]);
689
689
  function wn(e) {
690
- let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = F(s), f = I(s), p = c && d !== null && o.length > 0, m = E(je, null), h = At((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Ct()), g = !1;
690
+ let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = F(s), f = I(s), p = c && d !== null && o.length > 0, m = E(Pe, null), h = At((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Ae()), g = !1;
691
691
  r() && a(() => {
692
692
  g = !0, h.close();
693
693
  });
@@ -741,7 +741,7 @@ function wn(e) {
741
741
  //#endregion
742
742
  //#region src/composables/useMergeTagField.ts
743
743
  function Tn(e) {
744
- let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = yt(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = ne(), v = d(!1), y = !1, b = !1;
744
+ let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = bt(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = ne(), v = d(!1), y = !1, b = !1;
745
745
  r() && a(() => {
746
746
  b = !0;
747
747
  });
@@ -913,7 +913,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
913
913
  "aria-label": b(a).mergeTag.remove,
914
914
  title: b(a).mergeTag.remove,
915
915
  onClick: l[0] ||= A((e) => i("clear"), ["stop"])
916
- }, [g(b(gt), {
916
+ }, [g(b(_t), {
917
917
  size: 12,
918
918
  "stroke-width": 2.5
919
919
  })], 8, An)], 42, En));
@@ -936,7 +936,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
936
936
  disabled: e.disabled,
937
937
  onMousedown: i[0] ||= A(() => {}, ["prevent"]),
938
938
  onClick: i[1] ||= (e) => r.$emit("insert")
939
- }, [g(b(Ze), {
939
+ }, [g(b(Qe), {
940
940
  size: 12,
941
941
  "stroke-width": 2
942
942
  }), y(" " + c(b(t).mergeTag.insertShort), 1)], 42, Mn));
@@ -960,7 +960,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
960
960
  "data-testid": "field-insert-logic-button",
961
961
  onMousedown: i[0] ||= A(() => {}, ["prevent"]),
962
962
  onClick: i[1] ||= (e) => r.$emit("insert")
963
- }, [g(b(Xe), {
963
+ }, [g(b(Ze), {
964
964
  size: 12,
965
965
  "stroke-width": 2
966
966
  }), y(" " + c(b(t).logicTag.insertShort), 1)], 42, Fn));
@@ -1032,7 +1032,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1032
1032
  props: { settings: {} },
1033
1033
  emits: ["update"],
1034
1034
  setup(r, { emit: i }) {
1035
- let a = r, o = i, { t: l } = U(), u = Ne(Be, "TemplateSettings"), d = C(() => u.fonts.value), f = C(() => d.value.some((e) => e.value === a.settings.fontFamily) ? a.settings.fontFamily : u.defaultFont.value), h = [
1035
+ let a = r, o = i, { t: l } = U(), u = Re(We, "TemplateSettings"), d = C(() => u.fonts.value), f = C(() => d.value.some((e) => e.value === a.settings.fontFamily) ? a.settings.fontFamily : u.defaultFont.value), h = [
1036
1036
  {
1037
1037
  value: 480,
1038
1038
  label: "480px"
@@ -1130,7 +1130,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1130
1130
  }, null, 42, cr),
1131
1131
  p("p", lr, c(b(l).templateSettings.contentLocaleHint), 1)
1132
1132
  ])], 2),
1133
- p("div", { class: n(b(kt)) }, [p("div", ur, [g(b(it), {
1133
+ p("div", { class: n(b(kt)) }, [p("div", ur, [g(b(at), {
1134
1134
  class: "tpl:text-[var(--tpl-text-muted)]",
1135
1135
  size: 14,
1136
1136
  "stroke-width": 2
@@ -1140,7 +1140,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1140
1140
  rows: 2,
1141
1141
  "onUpdate:modelValue": a[7] ||= (e) => o("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
1142
1142
  }, null, 8, ["model-value", "placeholder"]), p("div", dr, [p("span", fr, c(b(l).templateSettings.preheaderTextHint), 1), p("span", pr, c((r.settings.preheaderText ?? "").length) + "/" + c(br), 1)])])], 2),
1143
- p("div", mr, [p("div", hr, [g(b(st), {
1143
+ p("div", mr, [p("div", hr, [g(b(ct), {
1144
1144
  size: 14,
1145
1145
  "stroke-width": 2
1146
1146
  }), p("span", null, c(b(l).templateSettings.tips), 1)]), p("ul", gr, [
@@ -1160,7 +1160,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1160
1160
  ], Er = {
1161
1161
  key: 0,
1162
1162
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1163
- }, Dr = "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__*/ _t(/* @__PURE__ */ f({
1163
+ }, Dr = "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__*/ vt(/* @__PURE__ */ f({
1164
1164
  __name: "MergeTagInput",
1165
1165
  props: {
1166
1166
  modelValue: {},
@@ -1322,7 +1322,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1322
1322
  ])
1323
1323
  ], 64));
1324
1324
  }
1325
- }), Qr = { class: "spacing-control" }, $r = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ei = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ti = { class: "tpl:flex tpl:items-center" }, ni = ["aria-label"], ri = ["value", "aria-label"], ii = ["aria-label"], ai = { class: "tpl:flex tpl:items-center tpl:gap-2" }, oi = { class: "tpl:flex tpl:items-center" }, si = ["aria-label"], ci = ["value", "aria-label"], li = ["aria-label"], ui = ["aria-label", "title"], di = { class: "tpl:flex tpl:items-center" }, fi = ["aria-label"], pi = ["value", "aria-label"], mi = ["aria-label"], hi = { class: "tpl:flex tpl:items-center" }, gi = ["aria-label"], _i = ["value", "aria-label"], vi = ["aria-label"], yi = "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)]", bi = "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)]", xi = /*#__PURE__*/ _t(/* @__PURE__ */ f({
1325
+ }), Qr = { class: "spacing-control" }, $r = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ei = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ti = { class: "tpl:flex tpl:items-center" }, ni = ["aria-label"], ri = ["value", "aria-label"], ii = ["aria-label"], ai = { class: "tpl:flex tpl:items-center tpl:gap-2" }, oi = { class: "tpl:flex tpl:items-center" }, si = ["aria-label"], ci = ["value", "aria-label"], li = ["aria-label"], ui = ["aria-label", "title"], di = { class: "tpl:flex tpl:items-center" }, fi = ["aria-label"], pi = ["value", "aria-label"], mi = ["aria-label"], hi = { class: "tpl:flex tpl:items-center" }, gi = ["aria-label"], _i = ["value", "aria-label"], vi = ["aria-label"], yi = "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)]", bi = "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)]", xi = /*#__PURE__*/ vt(/* @__PURE__ */ f({
1326
1326
  __name: "SpacingControl",
1327
1327
  props: {
1328
1328
  modelValue: {},
@@ -1375,7 +1375,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1375
1375
  "aria-label": b(o).spacingControl.decreaseTop,
1376
1376
  class: n([yi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1377
1377
  onClick: r[0] ||= (e) => f("top", -1)
1378
- }, [g(b(et), {
1378
+ }, [g(b(tt), {
1379
1379
  size: 12,
1380
1380
  "stroke-width": 2
1381
1381
  })], 10, ni),
@@ -1402,7 +1402,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1402
1402
  "aria-label": b(o).spacingControl.decreaseLeft,
1403
1403
  class: n([yi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1404
1404
  onClick: r[3] ||= (e) => f("left", -1)
1405
- }, [g(b(et), {
1405
+ }, [g(b(tt), {
1406
1406
  size: 12,
1407
1407
  "stroke-width": 2
1408
1408
  })], 10, si),
@@ -1442,7 +1442,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1442
1442
  "aria-label": b(o).spacingControl.decreaseRight,
1443
1443
  class: n([yi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1444
1444
  onClick: r[6] ||= (e) => f("right", -1)
1445
- }, [g(b(et), {
1445
+ }, [g(b(tt), {
1446
1446
  size: 12,
1447
1447
  "stroke-width": 2
1448
1448
  })], 10, fi),
@@ -1469,7 +1469,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1469
1469
  "aria-label": b(o).spacingControl.decreaseBottom,
1470
1470
  class: n([yi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1471
1471
  onClick: r[9] ||= (e) => f("bottom", -1)
1472
- }, [g(b(et), {
1472
+ }, [g(b(tt), {
1473
1473
  size: 12,
1474
1474
  "stroke-width": 2
1475
1475
  })], 10, gi),
@@ -1505,7 +1505,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1505
1505
  type: "button",
1506
1506
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1507
1507
  onClick: r[0] ||= (e) => t.$emit("toggle")
1508
- }, [g(b(Qe), {
1508
+ }, [g(b($e), {
1509
1509
  class: n(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1510
1510
  size: 12,
1511
1511
  "stroke-width": 2
@@ -1531,7 +1531,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1531
1531
  },
1532
1532
  emits: ["update"],
1533
1533
  setup(t, { emit: r }) {
1534
- let a = t, u = r, { t: f } = U(), h = E(Ge, []), _ = E(Ue, !1), T = x(/* @__PURE__ */ new Set()), D = d(!1), A = d(""), j = d(""), M = [{
1534
+ let a = t, u = r, { t: f } = U(), h = E(Je, []), _ = E(Ke, !1), T = x(/* @__PURE__ */ new Set()), D = d(!1), A = d(""), j = d(""), M = [{
1535
1535
  key: "desktop",
1536
1536
  icon: Bt,
1537
1537
  labelKey: "showOnDesktop"
@@ -1801,7 +1801,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1801
1801
  },
1802
1802
  emits: ["update:modelValue"],
1803
1803
  setup(e, { emit: t }) {
1804
- let r = e, i = t, { t: a } = U(), o = E(Ae, null), u = bt(), f = C(() => !!o);
1804
+ let r = e, i = t, { t: a } = U(), o = E(Ie, null), u = xt(), f = C(() => !!o);
1805
1805
  async function h() {
1806
1806
  let e = await o?.({ accept: ["images"] });
1807
1807
  u.alive && e && i("update:modelValue", e.url);
@@ -1837,11 +1837,11 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1837
1837
  ref: _,
1838
1838
  class: "tpl:relative"
1839
1839
  }, [
1840
- T.value && (b(O) || x.value) ? (s(), m("div", Yi, [x.value ? (s(), m(S, { key: 0 }, [g(b(lt), {
1840
+ T.value && (b(O) || x.value) ? (s(), m("div", Yi, [x.value ? (s(), m(S, { key: 0 }, [g(b(ut), {
1841
1841
  class: "tpl-spinner",
1842
1842
  size: 18,
1843
1843
  "stroke-width": 2
1844
- }), y(" " + c(b(a).image.uploading), 1)], 64)) : (s(), m(S, { key: 1 }, [g(b(ht), {
1844
+ }), y(" " + c(b(a).image.uploading), 1)], 64)) : (s(), m(S, { key: 1 }, [g(b(gt), {
1845
1845
  size: 18,
1846
1846
  "stroke-width": 1.5
1847
1847
  }), y(" " + c(b(a).image.dropToUpload), 1)], 64))])) : w("", !0),
@@ -1965,7 +1965,7 @@ var En = ["aria-label", "onKeydown"], Dn = ["data-tooltip"], On = ["data-tooltip
1965
1965
  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)]",
1966
1966
  title: b(u).customBlocks.fields.removeItem,
1967
1967
  onClick: (e) => x(r)
1968
- }, [g(b(mt), {
1968
+ }, [g(b(ht), {
1969
1969
  size: 12,
1970
1970
  "stroke-width": 2
1971
1971
  })], 8, ia)) : w("", !0)]), (s(!0), m(S, null, e(t.field.fields, (e) => (s(), v(o(b(ha)(e.type)), {
@@ -2152,7 +2152,7 @@ var ga = {
2152
2152
  props: { block: {} },
2153
2153
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2154
2154
  setup(t, { emit: n }) {
2155
- let r = t, i = n, { t: a } = U(), l = E(Re, []), u = C(() => l.find((e) => e.type === r.block.customType)), { isFetching: d, fetchError: f, fetch: h, hasDataSource: _, needsFetch: x } = De({
2155
+ let r = t, i = n, { t: a } = U(), l = E(He, []), u = C(() => l.find((e) => e.type === r.block.customType)), { isFetching: d, fetchError: f, fetch: h, hasDataSource: _, needsFetch: x } = De({
2156
2156
  definition: u,
2157
2157
  block: C(() => r.block),
2158
2158
  onUpdate: (e, t) => {
@@ -2180,7 +2180,7 @@ var ga = {
2180
2180
  type: "button",
2181
2181
  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)]",
2182
2182
  onClick: r[1] ||= (...e) => b(h) && b(h)(...e)
2183
- }, [g(b(at), { size: 12 }), y(" " + c(b(a).customBlocks.dataSource.changeButton), 1)]))])), b(f) ? (s(), m("p", Ca, [g(b($e), {
2183
+ }, [g(b(ot), { size: 12 }), y(" " + c(b(a).customBlocks.dataSource.changeButton), 1)]))])), b(f) ? (s(), m("p", Ca, [g(b(et), {
2184
2184
  size: 14,
2185
2185
  class: "tpl:shrink-0"
2186
2186
  }), y(" " + c(b(a).customBlocks.dataSource.fetchError), 1)])) : w("", !0)])) : w("", !0),
@@ -2255,7 +2255,7 @@ var ga = {
2255
2255
  class: n(b(Tt)),
2256
2256
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
2257
2257
  }, null, 42, Ma),
2258
- p("p", Na, [g(b(st), {
2258
+ p("p", Na, [g(b(ct), {
2259
2259
  size: 12,
2260
2260
  class: "tpl:mt-0.5 tpl:shrink-0"
2261
2261
  }), y(" " + c(b(i).html.sanitizationHint), 1)])
@@ -2276,7 +2276,7 @@ var ga = {
2276
2276
  props: { block: {} },
2277
2277
  emits: ["update"],
2278
2278
  setup(e, { emit: t }) {
2279
- let r = e, i = t, { t: a } = U(), o = E(Ae, null), u = E(Ie, B.liquid), f = bt(), h = C(() => !!o), _ = d(!1), x = d(!1), { start: T } = ke(() => {
2279
+ let r = e, i = t, { t: a } = U(), o = E(Ie, null), u = E(Me, B.liquid), f = xt(), h = C(() => !!o), _ = d(!1), x = d(!1), { start: T } = ke(() => {
2280
2280
  _.value = !1;
2281
2281
  }, 1e3, { immediate: !1 }), D = [
2282
2282
  300,
@@ -2332,11 +2332,11 @@ var ga = {
2332
2332
  ref: N,
2333
2333
  class: "tpl:relative"
2334
2334
  }, [
2335
- I.value && (b(R) || P.value) ? (s(), m("div", Ia, [P.value ? (s(), m(S, { key: 0 }, [g(b(lt), {
2335
+ I.value && (b(R) || P.value) ? (s(), m("div", Ia, [P.value ? (s(), m(S, { key: 0 }, [g(b(ut), {
2336
2336
  class: "tpl-spinner",
2337
2337
  size: 18,
2338
2338
  "stroke-width": 2
2339
- }), y(" " + c(b(a).image.uploading), 1)], 64)) : (s(), m(S, { key: 1 }, [g(b(ht), {
2339
+ }), y(" " + c(b(a).image.uploading), 1)], 64)) : (s(), m(S, { key: 1 }, [g(b(gt), {
2340
2340
  size: 18,
2341
2341
  "stroke-width": 1.5
2342
2342
  }), y(" " + c(b(a).image.dropToUpload), 1)], 64))])) : w("", !0),
@@ -2483,17 +2483,17 @@ var ga = {
2483
2483
  {
2484
2484
  value: "left",
2485
2485
  label: o.title.alignLeft,
2486
- icon: pt
2486
+ icon: mt
2487
2487
  },
2488
2488
  {
2489
2489
  value: "center",
2490
2490
  label: o.title.alignCenter,
2491
- icon: ft
2491
+ icon: pt
2492
2492
  },
2493
2493
  {
2494
2494
  value: "right",
2495
2495
  label: o.title.alignRight,
2496
- icon: dt
2496
+ icon: ft
2497
2497
  }
2498
2498
  ]);
2499
2499
  function f(e, t) {
@@ -2536,7 +2536,7 @@ var ga = {
2536
2536
  class: n(b(wt)),
2537
2537
  title: b(o).menu.removeItem,
2538
2538
  onClick: (e) => x(r.id)
2539
- }, [g(b(gt), {
2539
+ }, [g(b(_t), {
2540
2540
  size: 14,
2541
2541
  "stroke-width": 2
2542
2542
  })], 10, eo)]),
@@ -2827,7 +2827,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
2827
2827
  class: n(b(wt)),
2828
2828
  title: b(o).social.removeIcon,
2829
2829
  onClick: (e) => f(t.id)
2830
- }, [g(b(gt), {
2830
+ }, [g(b(_t), {
2831
2831
  size: 14,
2832
2832
  "stroke-width": 2
2833
2833
  })], 10, Oo)]), g($, {
@@ -2888,17 +2888,17 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
2888
2888
  {
2889
2889
  value: "left",
2890
2890
  label: b(o).title.alignLeft,
2891
- icon: b(pt)
2891
+ icon: b(mt)
2892
2892
  },
2893
2893
  {
2894
2894
  value: "center",
2895
2895
  label: b(o).title.alignCenter,
2896
- icon: b(ft)
2896
+ icon: b(pt)
2897
2897
  },
2898
2898
  {
2899
2899
  value: "right",
2900
2900
  label: b(o).title.alignRight,
2901
- icon: b(dt)
2901
+ icon: b(ft)
2902
2902
  }
2903
2903
  ],
2904
2904
  "model-value": t.block.align,
@@ -2983,7 +2983,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
2983
2983
  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",
2984
2984
  disabled: t.block.rows.length <= 1,
2985
2985
  onClick: i[0] ||= (e) => f(t.block.rows[t.block.rows.length - 1].id)
2986
- }, [g(b(et), {
2986
+ }, [g(b(tt), {
2987
2987
  size: 12,
2988
2988
  "stroke-width": 2
2989
2989
  })], 8, Qo),
@@ -3000,7 +3000,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3000
3000
  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",
3001
3001
  disabled: l.value <= 1,
3002
3002
  onClick: i[1] ||= (e) => _(l.value - 1)
3003
- }, [g(b(et), {
3003
+ }, [g(b(tt), {
3004
3004
  size: 12,
3005
3005
  "stroke-width": 2
3006
3006
  })], 8, rs),
@@ -3074,17 +3074,17 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3074
3074
  {
3075
3075
  value: "left",
3076
3076
  label: b(o).title.alignLeft,
3077
- icon: b(pt)
3077
+ icon: b(mt)
3078
3078
  },
3079
3079
  {
3080
3080
  value: "center",
3081
3081
  label: b(o).title.alignCenter,
3082
- icon: b(ft)
3082
+ icon: b(pt)
3083
3083
  },
3084
3084
  {
3085
3085
  value: "right",
3086
3086
  label: b(o).title.alignRight,
3087
- icon: b(dt)
3087
+ icon: b(ft)
3088
3088
  }
3089
3089
  ],
3090
3090
  "model-value": t.block.textAlign,
@@ -3132,17 +3132,17 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3132
3132
  {
3133
3133
  value: "left",
3134
3134
  label: b(a).title.alignLeft,
3135
- icon: b(pt)
3135
+ icon: b(mt)
3136
3136
  },
3137
3137
  {
3138
3138
  value: "center",
3139
3139
  label: b(a).title.alignCenter,
3140
- icon: b(ft)
3140
+ icon: b(pt)
3141
3141
  },
3142
3142
  {
3143
3143
  value: "right",
3144
3144
  label: b(a).title.alignRight,
3145
- icon: b(dt)
3145
+ icon: b(ft)
3146
3146
  }
3147
3147
  ],
3148
3148
  "model-value": t.block.textAlign,
@@ -3162,7 +3162,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3162
3162
  props: { block: {} },
3163
3163
  emits: ["update"],
3164
3164
  setup(e, { emit: t }) {
3165
- let r = e, i = t, { t: a } = U(), o = E(Ae, null), l = E(Ie, B.liquid), u = bt(), f = C(() => !!o), h = C(() => z(r.block.url, l)), _ = d(!1), { start: x } = ke(() => {
3165
+ let r = e, i = t, { t: a } = U(), o = E(Ie, null), l = E(Me, B.liquid), u = xt(), f = C(() => !!o), h = C(() => z(r.block.url, l)), _ = d(!1), { start: x } = ke(() => {
3166
3166
  _.value = !1;
3167
3167
  }, 1e3, { immediate: !1 });
3168
3168
  function T(e, t) {
@@ -3260,7 +3260,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3260
3260
  }, null, 8, ["options", "model-value"])])
3261
3261
  ], 64));
3262
3262
  }
3263
- }), Ys = ["aria-label"], Xs = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Zs = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Qs = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, $s = { class: "tpl:flex tpl:gap-1" }, ec = ["title"], tc = ["title"], nc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, rc = /*#__PURE__*/ _t(/* @__PURE__ */ f({
3263
+ }), Ys = ["aria-label"], Xs = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Zs = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Qs = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, $s = { class: "tpl:flex tpl:gap-1" }, ec = ["title"], tc = ["title"], nc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, rc = /*#__PURE__*/ vt(/* @__PURE__ */ f({
3264
3264
  __name: "Toolbar",
3265
3265
  props: { block: {} },
3266
3266
  emits: [
@@ -3269,7 +3269,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3269
3269
  "duplicate"
3270
3270
  ],
3271
3271
  setup(e, { emit: t }) {
3272
- let n = h(() => import("./CountdownToolbar-q3umZ7TZ.js")), r = e, i = t, { t: a } = U(), l = Ne(Be, "Toolbar"), u = E(Re, []), d = C(() => r.block.type), f = C(() => L(r.block)), _ = C(() => {
3272
+ let n = h(() => import("./CountdownToolbar-BqaMWRyB.js")), r = e, i = t, { t: a } = U(), l = Re(We, "Toolbar"), u = E(He, []), d = C(() => r.block.type), f = C(() => L(r.block)), _ = C(() => {
3273
3273
  if (f.value) return u.find((e) => e.type === r.block.customType);
3274
3274
  }), y = C(() => f.value ? _.value?.name ?? r.block.customType : le(d.value, a)), x = l.fonts;
3275
3275
  function T(e) {
@@ -3278,7 +3278,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3278
3278
  return (t, r) => (s(), m("aside", {
3279
3279
  "aria-label": b(a).landmarks.blockToolbar,
3280
3280
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3281
- }, [p("div", Xs, [p("div", Zs, [b(rt)[d.value] ? (s(), v(o(b(rt)[d.value]), {
3281
+ }, [p("div", Xs, [p("div", Zs, [b(it)[d.value] ? (s(), v(o(b(it)[d.value]), {
3282
3282
  key: 0,
3283
3283
  size: 16,
3284
3284
  "stroke-width": 1.5
@@ -3297,7 +3297,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3297
3297
  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)]",
3298
3298
  title: b(a).toolbar.delete,
3299
3299
  onClick: r[1] ||= (e) => i("delete")
3300
- }, [g(b(mt), {
3300
+ }, [g(b(ht), {
3301
3301
  size: 14,
3302
3302
  "stroke-width": 2
3303
3303
  })], 8, tc)])]), p("div", nc, [f.value ? (s(), v(wa, {
@@ -3417,7 +3417,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3417
3417
  "update-settings"
3418
3418
  ],
3419
3419
  setup(e, { emit: r }) {
3420
- let a = h(() => import("./IssuesPanel-DltSuU6H.js")), o = e, l = r, { t: u } = U(), f = d("content"), _ = E(Pe, null), y = C(() => _ !== null), x = C(() => _?.issues.value.length ?? 0);
3420
+ let a = h(() => import("./IssuesPanel-Bq3yXg6M.js")), o = e, l = r, { t: u } = U(), f = d("content"), _ = E(Le, null), y = C(() => _ !== null), x = C(() => _?.issues.value.length ?? 0);
3421
3421
  function S(e) {
3422
3422
  return f.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
3423
3423
  }
@@ -3474,7 +3474,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3474
3474
  style: t(T("issues")),
3475
3475
  onClick: i[2] ||= (e) => f.value = "issues"
3476
3476
  }, [
3477
- g(b(ct), {
3477
+ g(b(lt), {
3478
3478
  size: 14,
3479
3479
  "stroke-width": 1.5
3480
3480
  }),
@@ -3582,7 +3582,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3582
3582
  "aria-label",
3583
3583
  "title",
3584
3584
  "aria-pressed"
3585
- ], Ac = /*#__PURE__*/ _t(/* @__PURE__ */ f({
3585
+ ], Ac = /*#__PURE__*/ vt(/* @__PURE__ */ f({
3586
3586
  __name: "PreviewToggle",
3587
3587
  props: { previewMode: { type: Boolean } },
3588
3588
  emits: ["change"],
@@ -3605,7 +3605,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3605
3605
  "leave-to-class": "tpl-icon-leave-to",
3606
3606
  mode: "out-in"
3607
3607
  }, {
3608
- default: l(() => [e.previewMode ? (s(), v(b(it), {
3608
+ default: l(() => [e.previewMode ? (s(), v(b(at), {
3609
3609
  key: "eye",
3610
3610
  size: 18,
3611
3611
  "stroke-width": 1.5
@@ -3621,7 +3621,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3621
3621
  "aria-label",
3622
3622
  "title",
3623
3623
  "aria-pressed"
3624
- ], Mc = /*#__PURE__*/ _t(/* @__PURE__ */ f({
3624
+ ], Mc = /*#__PURE__*/ vt(/* @__PURE__ */ f({
3625
3625
  __name: "DarkModeToggle",
3626
3626
  props: { darkMode: { type: Boolean } },
3627
3627
  emits: ["change"],
@@ -3729,7 +3729,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3729
3729
  }, $c = "tpl-merge-tag-picker-list", el = /* @__PURE__ */ f({
3730
3730
  __name: "MergeTagPickerModal",
3731
3731
  setup(r) {
3732
- let a = Ne(Je, "MergeTagPickerModal"), { t: o, format: u } = U(), f = E(Fe, null), h = E(Me, null), _ = d(""), y = Oe(_, 200), x = d(null), D = C(() => y.value.trim().length > 0), j = d(0), N = C(() => a.tags.value.some((e) => !!e.group)), P = d(/* @__PURE__ */ new Set());
3732
+ let a = Re(Be, "MergeTagPickerModal"), { t: o, format: u } = U(), f = E(Ne, null), h = E(Fe, null), _ = d(""), y = Oe(_, 200), x = d(null), D = C(() => y.value.trim().length > 0), j = d(0), N = C(() => a.tags.value.some((e) => !!e.group)), P = d(/* @__PURE__ */ new Set());
3733
3733
  function F(e) {
3734
3734
  return P.value.has(e);
3735
3735
  }
@@ -3868,11 +3868,11 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3868
3868
  "aria-label": b(o).mergeTag.picker.close,
3869
3869
  "data-testid": "merge-tag-picker-close",
3870
3870
  onClick: ee
3871
- }, [g(b(gt), {
3871
+ }, [g(b(_t), {
3872
3872
  size: 16,
3873
3873
  "stroke-width": 2
3874
3874
  })], 8, zc)]),
3875
- p("div", Bc, [g(b(tt), {
3875
+ p("div", Bc, [g(b(nt), {
3876
3876
  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)]",
3877
3877
  size: 14,
3878
3878
  "stroke-width": 2
@@ -3919,7 +3919,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
3919
3919
  "data-group-collapsed": F(e.group) ? "true" : "false",
3920
3920
  onClick: (t) => I(e.group)
3921
3921
  }, [
3922
- g(b(Qe), {
3922
+ g(b($e), {
3923
3923
  size: 12,
3924
3924
  "stroke-width": 2,
3925
3925
  class: n(["tpl:transition-transform", F(e.group) ? "tpl:-rotate-90" : ""])
@@ -4001,7 +4001,7 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
4001
4001
  }, bl = "tpl-logic-picker-list", xl = /* @__PURE__ */ f({
4002
4002
  __name: "LogicTagPickerModal",
4003
4003
  setup(r) {
4004
- let a = Ne(Ye, "LogicTagPickerModal"), { t: o } = U(), u = E(Ie, B.liquid), f = E(Fe, null), h = E(Me, null), _ = d(""), y = Oe(_, 200), x = d(null), D = C(() => y.value.trim().length > 0), j = d(0);
4004
+ let a = Re(ze, "LogicTagPickerModal"), { t: o } = U(), u = E(Me, B.liquid), f = E(Ne, null), h = E(Fe, null), _ = d(""), y = Oe(_, 200), x = d(null), D = C(() => y.value.trim().length > 0), j = d(0);
4005
4005
  function N(e) {
4006
4006
  let t = y.value.trim().toLowerCase();
4007
4007
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -4112,11 +4112,11 @@ var uo = { class: "tpl:mb-3.5" }, fo = ["value"], po = ["value"], mo = {
4112
4112
  "aria-label": b(o).logicTag.picker.close,
4113
4113
  "data-testid": "logic-picker-close",
4114
4114
  onClick: re
4115
- }, [g(b(gt), {
4115
+ }, [g(b(_t), {
4116
4116
  size: 16,
4117
4117
  "stroke-width": 2
4118
4118
  })], 8, ol)]),
4119
- p("div", sl, [g(b(tt), {
4119
+ p("div", sl, [g(b(nt), {
4120
4120
  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)]",
4121
4121
  size: 14,
4122
4122
  "stroke-width": 2